@yamada-ui/react 2.1.7-dev-20260404062241 → 2.1.7

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 (203) hide show
  1. package/dist/types/components/accordion/accordion.d.ts +2 -2
  2. package/dist/types/components/accordion/use-accordion.d.ts +11 -11
  3. package/dist/types/components/airy/airy.d.ts +2 -2
  4. package/dist/types/components/alert/alert.d.ts +2 -2
  5. package/dist/types/components/alert/alert.style.d.ts +1 -1
  6. package/dist/types/components/alpha-slider/alpha-slider.d.ts +2 -2
  7. package/dist/types/components/aspect-ratio/aspect-ratio.d.ts +2 -2
  8. package/dist/types/components/autocomplete/autocomplete.d.ts +2 -2
  9. package/dist/types/components/autocomplete/autocomplete.style.d.ts +1 -1
  10. package/dist/types/components/autocomplete/use-autocomplete.d.ts +5 -5
  11. package/dist/types/components/avatar/avatar.d.ts +5 -5
  12. package/dist/types/components/avatar/use-avatar-group.d.ts +2 -2
  13. package/dist/types/components/badge/badge.d.ts +2 -2
  14. package/dist/types/components/bleed/bleed.d.ts +2 -2
  15. package/dist/types/components/blockquote/blockquote.d.ts +2 -2
  16. package/dist/types/components/breadcrumb/breadcrumb.d.ts +2 -2
  17. package/dist/types/components/breadcrumb/use-breadcrumb.d.ts +2 -2
  18. package/dist/types/components/button/button.d.ts +2 -2
  19. package/dist/types/components/button/icon-button.d.ts +2 -2
  20. package/dist/types/components/calendar/calendar.d.ts +2 -2
  21. package/dist/types/components/calendar/calendar.style.d.ts +2 -2
  22. package/dist/types/components/calendar/use-calendar.d.ts +8 -8
  23. package/dist/types/components/card/card.d.ts +2 -2
  24. package/dist/types/components/carousel/carousel.d.ts +2 -2
  25. package/dist/types/components/carousel/carousel.style.d.ts +2 -2
  26. package/dist/types/components/carousel/use-carousel.d.ts +3 -3
  27. package/dist/types/components/center/center.d.ts +2 -2
  28. package/dist/types/components/chart/area-chart.d.ts +2 -2
  29. package/dist/types/components/chart/chart.d.ts +5 -5
  30. package/dist/types/components/chart/composed-chart.d.ts +2 -2
  31. package/dist/types/components/chart/donut-chart.d.ts +2 -2
  32. package/dist/types/components/chart/line-chart.d.ts +2 -2
  33. package/dist/types/components/chart/pie-chart.d.ts +2 -2
  34. package/dist/types/components/chart/use-chart.d.ts +2 -2
  35. package/dist/types/components/checkbox/checkbox.d.ts +4 -4
  36. package/dist/types/components/checkbox/use-checkbox-group.d.ts +2 -2
  37. package/dist/types/components/checkbox-card/checkbox-card.d.ts +5 -5
  38. package/dist/types/components/checkbox-card/checkbox-card.style.d.ts +1 -1
  39. package/dist/types/components/circle-progress/circle-progress.d.ts +2 -2
  40. package/dist/types/components/close-button/close-button.d.ts +2 -2
  41. package/dist/types/components/code/code.d.ts +2 -2
  42. package/dist/types/components/collapse/collapse.d.ts +2 -2
  43. package/dist/types/components/color-picker/color-picker.d.ts +2 -2
  44. package/dist/types/components/color-picker/color-picker.style.d.ts +1 -1
  45. package/dist/types/components/color-picker/use-color-picker.d.ts +2 -2
  46. package/dist/types/components/color-selector/color-selector.d.ts +2 -2
  47. package/dist/types/components/color-selector/color-selector.style.d.ts +2 -2
  48. package/dist/types/components/color-selector/use-color-selector.d.ts +3 -3
  49. package/dist/types/components/color-swatch/color-swatch.d.ts +2 -2
  50. package/dist/types/components/container/container.d.ts +2 -2
  51. package/dist/types/components/data-list/data-list.d.ts +2 -2
  52. package/dist/types/components/date-picker/date-picker.d.ts +2 -2
  53. package/dist/types/components/date-picker/use-date-picker.d.ts +4 -4
  54. package/dist/types/components/drawer/drawer.d.ts +2 -2
  55. package/dist/types/components/drawer/drawer.style.d.ts +2 -2
  56. package/dist/types/components/dropzone/dropzone.d.ts +5 -5
  57. package/dist/types/components/dropzone/dropzone.style.d.ts +1 -1
  58. package/dist/types/components/editable/editable.d.ts +4 -4
  59. package/dist/types/components/editable/use-editable.d.ts +2 -2
  60. package/dist/types/components/em/em.d.ts +2 -2
  61. package/dist/types/components/empty-state/empty-state.d.ts +2 -2
  62. package/dist/types/components/fade/fade.d.ts +2 -2
  63. package/dist/types/components/field/field.d.ts +3 -3
  64. package/dist/types/components/field/use-field-props.d.ts +3 -3
  65. package/dist/types/components/fieldset/fieldset.d.ts +3 -3
  66. package/dist/types/components/file-button/file-button.d.ts +2 -2
  67. package/dist/types/components/file-button/use-file-button.d.ts +18 -18
  68. package/dist/types/components/file-input/file-input.d.ts +2 -2
  69. package/dist/types/components/file-input/file-input.style.d.ts +1 -1
  70. package/dist/types/components/file-input/use-file-input.d.ts +15 -15
  71. package/dist/types/components/flex/flex.d.ts +2 -2
  72. package/dist/types/components/flip/flip.d.ts +4 -4
  73. package/dist/types/components/float/float.d.ts +2 -2
  74. package/dist/types/components/form/form.d.ts +3 -3
  75. package/dist/types/components/format/format-byte.d.ts +4 -4
  76. package/dist/types/components/format/format-date-time.d.ts +4 -4
  77. package/dist/types/components/format/format-number.d.ts +2 -2
  78. package/dist/types/components/grid/grid-item.d.ts +2 -2
  79. package/dist/types/components/grid/grid.d.ts +2 -2
  80. package/dist/types/components/group/group.d.ts +2 -2
  81. package/dist/types/components/group/use-group.d.ts +2 -2
  82. package/dist/types/components/heading/heading.d.ts +2 -2
  83. package/dist/types/components/hue-slider/hue-slider.d.ts +3 -3
  84. package/dist/types/components/icon/icon.d.ts +5 -5
  85. package/dist/types/components/image/image.d.ts +2 -2
  86. package/dist/types/components/indicator/indicator.d.ts +4 -4
  87. package/dist/types/components/infinite-scroll-area/infinite-scroll-area.d.ts +2 -2
  88. package/dist/types/components/input/input-addon.d.ts +2 -2
  89. package/dist/types/components/input/input-element.d.ts +2 -2
  90. package/dist/types/components/input/input.d.ts +2 -2
  91. package/dist/types/components/kbd/kbd.d.ts +2 -2
  92. package/dist/types/components/link/link.d.ts +2 -2
  93. package/dist/types/components/link-box/link-box.d.ts +2 -2
  94. package/dist/types/components/list/list.d.ts +2 -2
  95. package/dist/types/components/loading/loading-provider.d.ts +2 -2
  96. package/dist/types/components/loading/loading.d.ts +3 -3
  97. package/dist/types/components/mark/mark.d.ts +2 -2
  98. package/dist/types/components/menu/menu.d.ts +2 -2
  99. package/dist/types/components/menu/menu.style.d.ts +2 -2
  100. package/dist/types/components/menu/use-menu.d.ts +11 -11
  101. package/dist/types/components/modal/modal.d.ts +2 -2
  102. package/dist/types/components/modal/modal.style.d.ts +2 -2
  103. package/dist/types/components/native-accordion/native-accordion.d.ts +2 -2
  104. package/dist/types/components/native-accordion/use-native-accordion.d.ts +2 -2
  105. package/dist/types/components/native-popover/native-popover.d.ts +2 -2
  106. package/dist/types/components/native-select/native-select.d.ts +2 -2
  107. package/dist/types/components/native-table/native-table.d.ts +4 -4
  108. package/dist/types/components/notice/notice.style.d.ts +1 -1
  109. package/dist/types/components/number-input/number-input.d.ts +2 -2
  110. package/dist/types/components/pagination/pagination.d.ts +2 -2
  111. package/dist/types/components/pagination/use-pagination.d.ts +2 -2
  112. package/dist/types/components/password-input/password-input.d.ts +2 -2
  113. package/dist/types/components/password-input/strength-meter.d.ts +2 -2
  114. package/dist/types/components/password-input/use-password-input.d.ts +2 -2
  115. package/dist/types/components/pin-input/pin-input.d.ts +2 -2
  116. package/dist/types/components/pin-input/use-pin-input.d.ts +7 -7
  117. package/dist/types/components/popover/popover.d.ts +2 -2
  118. package/dist/types/components/progress/progress.d.ts +4 -4
  119. package/dist/types/components/progress/use-progress.d.ts +706 -706
  120. package/dist/types/components/qr-code/qr-code.d.ts +2 -2
  121. package/dist/types/components/radio/radio.d.ts +4 -4
  122. package/dist/types/components/radio/use-radio-group.d.ts +2 -2
  123. package/dist/types/components/radio-card/radio-card.d.ts +5 -5
  124. package/dist/types/components/radio-card/radio-card.style.d.ts +1 -1
  125. package/dist/types/components/rating/use-rating.d.ts +7 -7
  126. package/dist/types/components/reorder/reorder.d.ts +2 -2
  127. package/dist/types/components/reorder/use-reorder.d.ts +3 -3
  128. package/dist/types/components/resizable/resizable.d.ts +2 -2
  129. package/dist/types/components/resizable/use-resizable.d.ts +2 -2
  130. package/dist/types/components/ripple/ripple.d.ts +2 -2
  131. package/dist/types/components/ripple/use-ripple.d.ts +2 -2
  132. package/dist/types/components/rotate/rotate.d.ts +2 -2
  133. package/dist/types/components/saturation-slider/saturation-slider.d.ts +2 -2
  134. package/dist/types/components/saturation-slider/use-saturation-slider.d.ts +2 -2
  135. package/dist/types/components/scroll-area/scroll-area.d.ts +2 -2
  136. package/dist/types/components/segmented-control/segmented-control.d.ts +2 -2
  137. package/dist/types/components/segmented-control/segmented-control.style.d.ts +2 -2
  138. package/dist/types/components/segmented-control/use-segmented-control.d.ts +9 -9
  139. package/dist/types/components/select/select.d.ts +2 -2
  140. package/dist/types/components/select/select.style.d.ts +1 -1
  141. package/dist/types/components/select/use-select.d.ts +4 -4
  142. package/dist/types/components/separator/separator.d.ts +2 -2
  143. package/dist/types/components/simple-grid/simple-grid.d.ts +2 -2
  144. package/dist/types/components/skeleton/skeleton.d.ts +2 -2
  145. package/dist/types/components/slide/slide.d.ts +2 -2
  146. package/dist/types/components/slide-fade/slide-fade.d.ts +2 -2
  147. package/dist/types/components/slider/slider.d.ts +2 -2
  148. package/dist/types/components/slider/use-slider.d.ts +2 -2
  149. package/dist/types/components/stack/h-stack.d.ts +2 -2
  150. package/dist/types/components/stack/stack.d.ts +2 -2
  151. package/dist/types/components/stack/v-stack.d.ts +2 -2
  152. package/dist/types/components/stack/z-stack.d.ts +2 -2
  153. package/dist/types/components/stat/stat.d.ts +2 -2
  154. package/dist/types/components/status/status.d.ts +2 -2
  155. package/dist/types/components/steps/steps.d.ts +2 -2
  156. package/dist/types/components/steps/steps.style.d.ts +1 -1
  157. package/dist/types/components/steps/use-steps.d.ts +10 -10
  158. package/dist/types/components/switch/switch.d.ts +2 -2
  159. package/dist/types/components/table/table.d.ts +2 -2
  160. package/dist/types/components/tabs/tabs.d.ts +2 -2
  161. package/dist/types/components/tabs/use-tabs.d.ts +16 -16
  162. package/dist/types/components/tag/tag.d.ts +2 -2
  163. package/dist/types/components/tag/tag.style.d.ts +1 -1
  164. package/dist/types/components/text/text.d.ts +2 -2
  165. package/dist/types/components/textarea/textarea.d.ts +2 -2
  166. package/dist/types/components/textarea/use-autosize.d.ts +2 -2
  167. package/dist/types/components/timeline/timeline.d.ts +5 -5
  168. package/dist/types/components/timeline/timeline.style.d.ts +2 -2
  169. package/dist/types/components/toggle/toggle.d.ts +5 -5
  170. package/dist/types/components/toggle/use-toggle-group.d.ts +2 -2
  171. package/dist/types/components/toggle/use-toggle.d.ts +2 -2
  172. package/dist/types/components/tooltip/tooltip.d.ts +2 -2
  173. package/dist/types/components/visually-hidden/visually-hidden.d.ts +2 -2
  174. package/dist/types/components/wrap/wrap.d.ts +2 -2
  175. package/dist/types/core/components/create-component.d.ts +8 -7
  176. package/dist/types/core/components/use-component-style.d.ts +1 -0
  177. package/dist/types/core/components/utils.d.ts +1 -0
  178. package/dist/types/core/constant.d.ts +1 -0
  179. package/dist/types/core/css/calc.d.ts +1 -0
  180. package/dist/types/core/css/config.d.ts +1 -0
  181. package/dist/types/core/css/css.d.ts +1 -0
  182. package/dist/types/core/css/index.types.d.ts +1 -0
  183. package/dist/types/core/css/styles.d.ts +1 -0
  184. package/dist/types/core/css/token.d.ts +1 -0
  185. package/dist/types/core/css/use-css.d.ts +1 -0
  186. package/dist/types/core/css/utils.d.ts +1 -0
  187. package/dist/types/core/generated-theme-tokens.types.d.ts +1 -0
  188. package/dist/types/core/index.d.ts +1 -0
  189. package/dist/types/core/system/color-mode-provider.d.ts +2 -2
  190. package/dist/types/core/system/storage-script.d.ts +3 -3
  191. package/dist/types/core/system/styled.d.ts +2 -2
  192. package/dist/types/core/system/var.d.ts +1 -0
  193. package/dist/types/hooks/use-breakpoint/use-breakpoint-state.d.ts +2 -2
  194. package/dist/types/hooks/use-counter/index.d.ts +2 -2
  195. package/dist/types/hooks/use-descendants/index.d.ts +2 -2
  196. package/dist/types/hooks/use-field-sizing/index.d.ts +2 -2
  197. package/dist/types/hooks/use-hover/index.d.ts +2 -2
  198. package/dist/types/hooks/use-popper/index.d.ts +2 -2
  199. package/dist/types/hooks/use-resize-observer/index.d.ts +3 -3
  200. package/dist/types/providers/i18n-provider/i18n-provider.d.ts +3 -3
  201. package/dist/types/providers/ui-provider/ui-provider.d.ts +2 -2
  202. package/dist/types/utils/children.d.ts +2 -2
  203. package/package.json +1 -1
@@ -3,7 +3,7 @@ import { HTMLProps, HTMLRefAttributes, PropGetter } from "../../core/components/
3
3
  import "../../core/index.js";
4
4
  import { FieldProps } from "../field/field.js";
5
5
  import "../field/index.js";
6
- import * as react242 from "react";
6
+ import * as react82 from "react";
7
7
 
8
8
  //#region src/components/toggle/use-toggle.d.ts
9
9
  interface UseToggleProps<Y extends string = string> extends FieldProps, HTMLRefAttributes<"input">, Omit<HTMLProps<"button">, "onChange" | "ref" | "value"> {
@@ -34,7 +34,7 @@ interface UseToggleProps<Y extends string = string> extends FieldProps, HTMLRefA
34
34
  }
35
35
  declare const useToggle: <Y extends string = string>(props?: UseToggleProps<Y>) => {
36
36
  checked: boolean;
37
- setChecked: react242.Dispatch<react242.SetStateAction<boolean>>;
37
+ setChecked: react82.Dispatch<react82.SetStateAction<boolean>>;
38
38
  getButtonProps: PropGetter<"button", undefined, Merge<HTMLProps<"button">, {
39
39
  "aria-label": string;
40
40
  }>>;
@@ -7,7 +7,7 @@ import { PopupAnimationProps } from "../popover/popover.js";
7
7
  import "../popover/index.js";
8
8
  import { TooltipStyle } from "./tooltip.style.js";
9
9
  import { UseTooltipProps } from "./use-tooltip.js";
10
- import * as react237 from "react";
10
+ import * as react74 from "react";
11
11
  import { FC, PropsWithChildren, ReactNode } from "react";
12
12
 
13
13
  //#region src/components/tooltip/tooltip.d.ts
@@ -31,7 +31,7 @@ interface TooltipProps extends UseTooltipProps, PropsWithChildren, PopupAnimatio
31
31
  */
32
32
  portalProps?: Omit<PortalProps, "children">;
33
33
  }
34
- declare const TooltipPropsContext: react237.Context<Partial<TooltipProps> | undefined>, useTooltipPropsContext: () => Partial<TooltipProps> | undefined;
34
+ declare const TooltipPropsContext: react74.Context<Partial<TooltipProps> | undefined>, useTooltipPropsContext: () => Partial<TooltipProps> | undefined;
35
35
  /**
36
36
  * `Tooltip` is a component that displays short information, such as supplementary details for an element.
37
37
  *
@@ -1,11 +1,11 @@
1
1
  import { Component, HTMLStyledProps } from "../../core/components/index.types.js";
2
2
  import "../../core/index.js";
3
3
  import "../../index.js";
4
- import * as react236 from "react";
4
+ import * as react73 from "react";
5
5
 
6
6
  //#region src/components/visually-hidden/visually-hidden.d.ts
7
7
  interface VisuallyHiddenProps extends HTMLStyledProps<"span"> {}
8
- declare const VisuallyHiddenPropsContext: react236.Context<Partial<VisuallyHiddenProps> | undefined>, useVisuallyHiddenPropsContext: () => Partial<VisuallyHiddenProps> | undefined;
8
+ declare const VisuallyHiddenPropsContext: react73.Context<Partial<VisuallyHiddenProps> | undefined>, useVisuallyHiddenPropsContext: () => Partial<VisuallyHiddenProps> | undefined;
9
9
  /**
10
10
  * `VisuallyHidden` is a common technique used in web accessibility to hide content from the visual client, but keep it readable for screen readers.
11
11
  *
@@ -5,11 +5,11 @@ import { FlexProps } from "../flex/flex.js";
5
5
  import "../flex/index.js";
6
6
  import { WrapStyle } from "./wrap.style.js";
7
7
  import "../../index.js";
8
- import * as react223 from "react";
8
+ import * as react72 from "react";
9
9
 
10
10
  //#region src/components/wrap/wrap.d.ts
11
11
  interface WrapProps extends WithoutThemeProps<FlexProps, WrapStyle>, ThemeProps<WrapStyle> {}
12
- declare const WrapPropsContext: react223.Context<Partial<WrapProps> | undefined>, useWrapPropsContext: () => Partial<WrapProps> | undefined;
12
+ declare const WrapPropsContext: react72.Context<Partial<WrapProps> | undefined>, useWrapPropsContext: () => Partial<WrapProps> | undefined;
13
13
  /**
14
14
  * `Wrap` is a component that has `wrap` set on `Flex`. It inherits convenient style shorthand from `Flex`.
15
15
  *
@@ -1,9 +1,10 @@
1
1
  import { AnyString, Dict, Merge } from "../../utils/index.js";
2
2
  import { ComponentSlotStyle, ComponentStyle, System, WithoutThemeProps } from "../system/index.types.js";
3
3
  import { StyledOptions } from "../system/styled.js";
4
+ import "../system/index.js";
4
5
  import { CSSObject, CSSSlotObject } from "../css/index.types.js";
5
6
  import { As, Component as Component$1, HTMLStyledProps } from "./index.types.js";
6
- import * as react29 from "react";
7
+ import * as react26 from "react";
7
8
  import { FC, FunctionComponent } from "react";
8
9
 
9
10
  //#region src/core/components/create-component.d.ts
@@ -34,8 +35,8 @@ declare function createComponent<Y extends object = {}, M extends ComponentStyle
34
35
  className,
35
36
  ...options
36
37
  }?: ComponentOptions) => (initialProps?: InitialProps<H>, ...superProps: SuperProps<H>[]) => Component<D_1, H>;
37
- ComponentContext: react29.Context<D>;
38
- PropsContext: react29.Context<Partial<Y> | undefined>;
38
+ ComponentContext: react26.Context<D>;
39
+ PropsContext: react26.Context<Partial<Y> | undefined>;
39
40
  useComponentContext: () => D;
40
41
  usePropsContext: () => Partial<Y> | undefined;
41
42
  withContext: <D_1 extends AsWithFragment = "div", H extends Y = Y, R extends keyof H = keyof H>(el: D_1 | FC<WithoutThemeProps<H, M, R>>, {
@@ -57,16 +58,16 @@ declare function createSlotComponent<Y extends object = {}, M extends ComponentS
57
58
  className,
58
59
  ...options
59
60
  }?: ComponentOptions) => (initialProps?: InitialProps<R>, ...superProps: SuperProps<R>[]) => Component<H, R>;
60
- ComponentContext: react29.Context<D>;
61
- PropsContext: react29.Context<Partial<Y> | undefined>;
62
- StyleContext: react29.Context<CSSSlotObject<ComponentSlotName<M>>>;
61
+ ComponentContext: react26.Context<D>;
62
+ PropsContext: react26.Context<Partial<Y> | undefined>;
63
+ StyleContext: react26.Context<CSSSlotObject<ComponentSlotName<M>>>;
63
64
  useClassNames: () => {
64
65
  [key: string]: string;
65
66
  };
66
67
  useComponentContext: () => D;
67
68
  usePropsContext: () => Partial<Y> | undefined;
68
69
  useStyleContext: () => CSSSlotObject<ComponentSlotName<M>>;
69
- withContext: <H extends AsWithFragment = "div", R extends Dict = (H extends keyof react29.JSX.IntrinsicElements ? HTMLStyledProps<H> : Dict<any>)>(el: FC<R> | H, slot?: ComponentSlot<ComponentSlotName<M>>, {
70
+ withContext: <H extends AsWithFragment = "div", R extends Dict = (H extends keyof react26.JSX.IntrinsicElements ? HTMLStyledProps<H> : Dict<any>)>(el: FC<R> | H, slot?: ComponentSlot<ComponentSlotName<M>>, {
70
71
  name,
71
72
  className,
72
73
  withContext,
@@ -1,5 +1,6 @@
1
1
  import { Dict } from "../../utils/index.js";
2
2
  import { ComponentSlotStyle, ComponentStyle, WithoutThemeProps } from "../system/index.types.js";
3
+ import "../system/index.js";
3
4
  import { CSSObject, CSSSlotObject } from "../css/index.types.js";
4
5
  import { ComponentSlot, ComponentSlotName } from "./create-component.js";
5
6
 
@@ -1,4 +1,5 @@
1
1
  import { System } from "../system/index.types.js";
2
+ import "../system/index.js";
2
3
 
3
4
  //#region src/core/components/utils.d.ts
4
5
  declare function getDisplayName(name: string, fallback?: string): string;
@@ -1,4 +1,5 @@
1
1
  import { LayersConfig } from "./system/index.types.js";
2
+ import "./system/index.js";
2
3
 
3
4
  //#region src/core/constant.d.ts
4
5
  declare const COLOR_MODE_STORAGE_KEY = "color-mode";
@@ -1,4 +1,5 @@
1
1
  import { ThemeToken } from "../system/create-system.js";
2
+ import "../system/index.js";
2
3
  import { Transform } from "./utils.js";
3
4
 
4
5
  //#region src/core/css/calc.d.ts
@@ -1,4 +1,5 @@
1
1
  import { ThemeToken } from "../system/create-system.js";
2
+ import "../system/index.js";
2
3
  import { display } from "./display.js";
3
4
  import { colorScheme } from "./color-scheme.js";
4
5
  import { CSSProperties } from "./index.types.js";
@@ -1,5 +1,6 @@
1
1
  import { Dict } from "../../utils/index.js";
2
2
  import { System, UsageTheme } from "../system/index.types.js";
3
+ import "../system/index.js";
3
4
  import { CSSObjectOrFunction } from "./index.types.js";
4
5
  import { StyleConfig } from "./config.js";
5
6
 
@@ -1,5 +1,6 @@
1
1
  import { AnyString, Dict } from "../../utils/index.js";
2
2
  import { Breakpoint, KeyframeIdent, System, ThemePath, ThemeTokens, UsageTheme } from "../system/index.types.js";
3
+ import "../system/index.js";
3
4
  import { AnySelector, ConditionProperty, ConditionProps } from "./conditions.js";
4
5
  import { StyleProps } from "./styles.js";
5
6
  import * as CSS from "csstype";
@@ -1,5 +1,6 @@
1
1
  import { AnyString } from "../../utils/index.js";
2
2
  import { ColorScheme } from "../system/index.types.js";
3
+ import "../system/index.js";
3
4
  import { display } from "./display.js";
4
5
  import { colorScheme } from "./color-scheme.js";
5
6
  import { CSSContainerObject, CSSMediaObject, CSSObject, StyleValueWithCondition } from "./index.types.js";
@@ -1,4 +1,5 @@
1
1
  import { ThemeToken } from "../system/create-system.js";
2
+ import "../system/index.js";
2
3
  import { Transform } from "./utils.js";
3
4
 
4
5
  //#region src/core/css/token.d.ts
@@ -1,4 +1,5 @@
1
1
  import { StyledTheme, System, UsageTheme } from "../system/index.types.js";
2
+ import "../system/index.js";
2
3
  import { CSSObject, CSSObjectOrFunction } from "./index.types.js";
3
4
 
4
5
  //#region src/core/css/use-css.d.ts
@@ -1,6 +1,7 @@
1
1
  import { Dict } from "../../utils/index.js";
2
2
  import { System, UsageTheme } from "../system/index.types.js";
3
3
  import { ThemeToken } from "../system/create-system.js";
4
+ import "../system/index.js";
4
5
  import { CSSFunction, CSSProperties } from "./index.types.js";
5
6
 
6
7
  //#region src/core/css/utils.d.ts
@@ -1,4 +1,5 @@
1
1
  import { UsageThemeTokens } from "./system/index.types.js";
2
+ import "./system/index.js";
2
3
 
3
4
  //#region src/core/generated-theme-tokens.types.d.ts
4
5
  interface GeneratedThemeTokens extends UsageThemeTokens {
@@ -15,6 +15,7 @@ import { GlobalStyles, ThemeProvider, ThemeProviderProps, getPreventTransition,
15
15
  import { getColorModeValue, useColorModeValue } from "./system/use-color-mode-value.js";
16
16
  import { UseSystemColorModeProps, useSystemColorMode } from "./system/use-system-color-mode.js";
17
17
  import { CreateVars, createVars, getColorSchemeVar, getVar, getVarName, injectVars, isColorScheme, mergeVars, transformInterpolation, varAttr } from "./system/var.js";
18
+ import "./system/index.js";
18
19
  import { AnySelector, AttributeProperty, AttributeProps, Attributes, ConditionProperty, ConditionProps, ConditionSelector, Conditions, GroupAttributeProperty, GroupAttributeProps, GroupAttributes, PeerAttributeProperty, PeerAttributeProps, PeerAttributes, PseudoClassProperty, PseudoClassProps, PseudoClasses, PseudoElementProperty, PseudoElementProps, PseudoElements, attributeProperties, attributeSelectors, attributes, conditionProperties, conditionSelectors, conditions, getCondition, groupAttributeProperties, groupAttributeSelectors, groupAttributes, peerAttributeProperties, peerAttributeSelectors, peerAttributes, pseudoClassProperties, pseudoClassSelectors, pseudoClasses, pseudoElementProperties, pseudoElementSelectors, pseudoElements } from "./css/conditions.js";
19
20
  import { display } from "./css/display.js";
20
21
  import { AnimationProperty, AspectRatioProperty, AtRuleStyleProperty, BlurProperty, BorderProperty, ColorProperty, DurationProperty, EasingProperty, FontProperty, GradientProperty, KeyframeProperty, PseudoStyleProperty, RadiusProperty, ShadowProperty, ShorthandStyleProperty, SizeProperty, SpaceProperty, StandardStyleProperty, StyleProperty, StyleProps, StyledStyleProperty, Styles, VariableLengthProperty, ZIndexProperty, animationProperties, aspectRatioProperties, atRuleStyles, blurProperties, borderProperties, colorProperties, durationProperties, easingProperties, fontProperties, gradientProperties, keyframeProperties, pseudoStyles, radiusProperties, shadowProperties, shorthandStyles, sizeProperties, spaceProperties, standardStyles, styleProperties, styledStyles, styles, variableLengthProperties, zIndexProperties } from "./css/styles.js";
@@ -1,6 +1,6 @@
1
1
  import { ColorMode, ColorModeWithSystem, ThemeConfig } from "./index.types.js";
2
2
  import { Storage } from "./storage-manager.js";
3
- import * as react35 from "react";
3
+ import * as react34 from "react";
4
4
  import { FC, PropsWithChildren } from "react";
5
5
 
6
6
  //#region src/core/system/color-mode-provider.d.ts
@@ -11,7 +11,7 @@ interface ColorModeContext {
11
11
  toggleColorMode: () => void;
12
12
  forced?: boolean;
13
13
  }
14
- declare const ColorModeContext: react35.Context<ColorModeContext>;
14
+ declare const ColorModeContext: react34.Context<ColorModeContext>;
15
15
  interface ColorModeProviderProps extends PropsWithChildren {
16
16
  /**
17
17
  * The forced color mode.
@@ -1,6 +1,6 @@
1
1
  import { ColorModeWithSystem, ThemeScheme } from "./index.types.js";
2
2
  import { Storage } from "./storage-manager.js";
3
- import * as react_jsx_runtime1 from "react/jsx-runtime";
3
+ import * as react_jsx_runtime2 from "react/jsx-runtime";
4
4
 
5
5
  //#region src/core/system/storage-script.d.ts
6
6
  interface StorageScriptProps<Y extends string> {
@@ -17,11 +17,11 @@ declare function getStorageScript<Y extends string>(type: "colorMode" | "themeSc
17
17
  declare function ColorModeScript({
18
18
  nonce,
19
19
  ...rest
20
- }: StorageScriptProps<ColorModeWithSystem>): react_jsx_runtime1.JSX.Element;
20
+ }: StorageScriptProps<ColorModeWithSystem>): react_jsx_runtime2.JSX.Element;
21
21
  declare function ThemeSchemeScript({
22
22
  nonce,
23
23
  ...rest
24
- }: StorageScriptProps<ThemeScheme>): react_jsx_runtime1.JSX.Element;
24
+ }: StorageScriptProps<ThemeScheme>): react_jsx_runtime2.JSX.Element;
25
25
  //#endregion
26
26
  export { ColorModeScript, StorageScriptProps, ThemeSchemeScript, getStorageScript };
27
27
  //# sourceMappingURL=storage-script.d.ts.map
@@ -3,10 +3,10 @@ import { CSSModifierObject, CSSPropObject } from "../css/index.types.js";
3
3
  import { As, StyledComponent } from "../components/index.types.js";
4
4
  import { ShouldForwardProp } from "../components/props.js";
5
5
  import "../components/index.js";
6
- import * as react37 from "react";
6
+ import * as react35 from "react";
7
7
 
8
8
  //#region src/core/system/styled.d.ts
9
- declare const ColorSchemeContext: react37.Context<ColorScheme | undefined>, useColorSchemeContext: () => ColorScheme | undefined;
9
+ declare const ColorSchemeContext: react35.Context<ColorScheme | undefined>, useColorSchemeContext: () => ColorScheme | undefined;
10
10
  interface StyledOptions<Y extends CSSPropObject = CSSPropObject, M extends CSSModifierObject = CSSModifierObject, D extends CSSModifierObject = CSSModifierObject, H extends number | string | symbol = string> extends Omit<ComponentStyle<Y, M, D>, "className"> {
11
11
  className?: ((system: System) => string) | string;
12
12
  displayName?: string;
@@ -2,6 +2,7 @@ import { Dict } from "../../utils/index.js";
2
2
  import { CSSMap, System, UsageTheme } from "./index.types.js";
3
3
  import { Breakpoints } from "./breakpoint.js";
4
4
  import { ThemeToken, VariableTokens } from "./create-system.js";
5
+ import "./index.js";
5
6
  import { CSSProperties, StyleValueWithCondition } from "../css/index.types.js";
6
7
 
7
8
  //#region src/core/system/var.d.ts
@@ -1,6 +1,6 @@
1
1
  import { ResponsiveObject } from "../../core/css/index.types.js";
2
2
  import "../../core/index.js";
3
- import * as react26 from "react";
3
+ import * as react32 from "react";
4
4
 
5
5
  //#region src/hooks/use-breakpoint/use-breakpoint-state.d.ts
6
6
 
@@ -9,7 +9,7 @@ import * as react26 from "react";
9
9
  *
10
10
  * @see https://yamada-ui.com/docs/hooks/use-breakpoint-state
11
11
  */
12
- declare const useBreakpointState: <Y>(initialState: ResponsiveObject<Y, false>) => [Y, react26.Dispatch<react26.SetStateAction<Y>>];
12
+ declare const useBreakpointState: <Y>(initialState: ResponsiveObject<Y, false>) => [Y, react32.Dispatch<react32.SetStateAction<Y>>];
13
13
  //#endregion
14
14
  export { useBreakpointState };
15
15
  //# sourceMappingURL=use-breakpoint-state.d.ts.map
@@ -1,4 +1,4 @@
1
- import * as react20 from "react";
1
+ import * as react18 from "react";
2
2
 
3
3
  //#region src/hooks/use-counter/index.d.ts
4
4
  interface UseCounterProps {
@@ -71,7 +71,7 @@ declare const useCounter: ({
71
71
  out: boolean;
72
72
  precision: number;
73
73
  reset: () => void;
74
- setValue: react20.Dispatch<react20.SetStateAction<string | number>>;
74
+ setValue: react18.Dispatch<react18.SetStateAction<string | number>>;
75
75
  step: number;
76
76
  update: (next: number | string) => void;
77
77
  value: string | number;
@@ -1,4 +1,4 @@
1
- import * as react25 from "react";
1
+ import * as react21 from "react";
2
2
  import { RefCallback } from "react";
3
3
 
4
4
  //#region src/hooks/use-descendants/index.d.ts
@@ -40,7 +40,7 @@ type CreateDescendantRegister<Y extends HTMLElement, M = {}> = (props?: Descenda
40
40
  * @see https://yamada-ui.com/docs/hooks/use-descendants
41
41
  */
42
42
  declare const createDescendants: <Y extends HTMLElement = HTMLElement, M = {}>() => {
43
- DescendantsContext: react25.Context<{
43
+ DescendantsContext: react21.Context<{
44
44
  active: (target?: Y | Descendant<Y, M> | null | undefined, options?: FocusOptions) => void;
45
45
  count: (props?: Partial<M> | undefined) => number;
46
46
  destroy: () => void;
@@ -1,5 +1,5 @@
1
1
  import * as react_jsx_runtime0 from "react/jsx-runtime";
2
- import * as react18 from "react";
2
+ import * as react20 from "react";
3
3
 
4
4
  //#region src/hooks/use-field-sizing/index.d.ts
5
5
  interface UseFieldSizingProps {
@@ -8,7 +8,7 @@ interface UseFieldSizingProps {
8
8
  declare const useFieldSizing: <Y extends HTMLElement>({
9
9
  value
10
10
  }: UseFieldSizingProps) => {
11
- ref: react18.RefObject<Y | null>;
11
+ ref: react20.RefObject<Y | null>;
12
12
  text: react_jsx_runtime0.JSX.Element;
13
13
  };
14
14
  type UseFieldSizingReturn = ReturnType<typeof useFieldSizing>;
@@ -1,4 +1,4 @@
1
- import * as react19 from "react";
1
+ import * as react22 from "react";
2
2
 
3
3
  //#region src/hooks/use-hover/index.d.ts
4
4
 
@@ -8,7 +8,7 @@ import * as react19 from "react";
8
8
  * @see https://yamada-ui.com/docs/hooks/use-hover
9
9
  */
10
10
  declare const useHover: <Y extends HTMLElement = HTMLDivElement>() => {
11
- ref: react19.RefObject<Y | null>;
11
+ ref: react22.RefObject<Y | null>;
12
12
  hovered: boolean;
13
13
  };
14
14
  //#endregion
@@ -2,7 +2,7 @@ import { Dict } from "../../utils/index.js";
2
2
  import { Direction } from "../../core/system/index.types.js";
3
3
  import { DOMElement, HTMLElementProps, HTMLProps } from "../../core/components/index.types.js";
4
4
  import "../../core/index.js";
5
- import * as react22 from "react";
5
+ import * as react23 from "react";
6
6
  import { ComponentRef } from "react";
7
7
  import * as _floating_ui_react_dom0 from "@floating-ui/react-dom";
8
8
  import { Middleware, Placement, Platform, Strategy, VirtualElement } from "@floating-ui/react-dom";
@@ -111,7 +111,7 @@ declare const usePopper: <Y extends DOMElement | VirtualElement = "div", M exten
111
111
  whileElementsMounted: whileElementsMountedProp
112
112
  }?: UsePopperProps<Y>) => {
113
113
  refs: {
114
- reference: react22.MutableRefObject<Reference<Y> | null>;
114
+ reference: react23.MutableRefObject<Reference<Y> | null>;
115
115
  floating: React.MutableRefObject<HTMLElement | null>;
116
116
  setReference: (node: Reference<Y> | null) => void;
117
117
  setFloating: (node: HTMLElement | null) => void;
@@ -1,4 +1,4 @@
1
- import * as react23 from "react";
1
+ import * as react24 from "react";
2
2
 
3
3
  //#region src/hooks/use-resize-observer/index.d.ts
4
4
  interface ObserverRect extends Omit<DOMRectReadOnly, "toJSON"> {}
@@ -7,9 +7,9 @@ interface ObserverRect extends Omit<DOMRectReadOnly, "toJSON"> {}
7
7
  *
8
8
  * @see https://yamada-ui.com/docs/hooks/use-resize-observer
9
9
  */
10
- declare const useResizeObserver: <Y extends HTMLElement = any>() => readonly [react23.RefObject<Y | null>, ObserverRect];
10
+ declare const useResizeObserver: <Y extends HTMLElement = any>() => readonly [react24.RefObject<Y | null>, ObserverRect];
11
11
  declare const useElementSize: <Y extends HTMLElement = any>() => {
12
- ref: react23.RefObject<Y | null>;
12
+ ref: react24.RefObject<Y | null>;
13
13
  height: number;
14
14
  width: number;
15
15
  };
@@ -3,7 +3,7 @@ import { TextDirection } from "../../core/system/index.types.js";
3
3
  import "../../core/index.js";
4
4
  import { IcuArgs } from "./icu.types.js";
5
5
  import _default, { DefaultIntlData } from "./intl/index.js";
6
- import * as react28 from "react";
6
+ import * as react869 from "react";
7
7
  import { FC, ReactNode } from "react";
8
8
  import { Formats, Options } from "intl-messageformat";
9
9
 
@@ -24,7 +24,7 @@ interface I18nContext<Y extends object = IntlData, M extends string = IntlPath>
24
24
  changeLanguage: (locale?: string, dir?: TextDirection) => void;
25
25
  getTranslation: (key?: IntlKey) => Translation<Y, M>;
26
26
  }
27
- declare const I18nContext: react28.Context<I18nContext<{
27
+ declare const I18nContext: react869.Context<I18nContext<{
28
28
  readonly autocomplete: {
29
29
  readonly "Clear value": "Clear value";
30
30
  readonly "No results found": "No results found";
@@ -127,7 +127,7 @@ declare const I18nContext: react28.Context<I18nContext<{
127
127
  readonly toggle: {
128
128
  readonly "Toggle button": "Toggle button";
129
129
  };
130
- }, "progress.Loading..." | "progress.{value} percent" | "select.Clear value" | "table.Clear sorting" | "table.Page size" | "table.Select all rows" | "table.Select row" | "table.Sort ascending" | "table.Sort descending" | "toggle.Toggle button" | "slider.Slider thumb" | "modal.Close modal" | "modal.Open modal" | "autocomplete.Clear value" | "autocomplete.No results found" | "avatar.Avatar Icon" | "breadcrumb.Breadcrumb" | "breadcrumb.Ellipsis" | "calendar.Choose the month" | "calendar.Choose the year" | "calendar.Go to the next month" | "calendar.Go to the previous month" | "calendar.Today" | "carousel.Go to next slide" | "carousel.Go to previous slide" | "carousel.Go to {page} slide" | "carousel.Slides" | "carousel.{page} of {total}" | "closeButton.Close" | "colorPicker.Pick a color" | "colorSelector.Pick a color" | "colorSwatch.Color swatch group" | "datePicker.Clear value" | "hueSlider.Blue" | "hueSlider.Cyan" | "hueSlider.Green" | "hueSlider.Magenta" | "hueSlider.Red" | "hueSlider.Yellow" | "numberInput.Decrease" | "numberInput.Increase" | "pagination.Go to first page" | "pagination.Go to last page" | "pagination.Go to next page" | "pagination.Go to page {value}" | "pagination.Go to previous page" | "pagination.Pagination" | "pagination.{value} / {total}" | "pagination.{value} of {total}" | "passwordInput.Password strength meter" | "passwordInput.Toggle password visibility" | "saturationSlider.Saturation and brightness thumb" | "saturationSlider.Saturation {saturation}%, Brightness {brightness}%" | "stat.Decreased by" | "stat.Increased by" | "tag.Close tag">>;
130
+ }, "progress.Loading..." | "progress.{value} percent" | "select.Clear value" | "table.Clear sorting" | "table.Page size" | "table.Select all rows" | "table.Select row" | "table.Sort ascending" | "table.Sort descending" | "toggle.Toggle button" | "slider.Slider thumb" | "modal.Close modal" | "modal.Open modal" | "colorSwatch.Color swatch group" | "hueSlider.Blue" | "hueSlider.Cyan" | "hueSlider.Green" | "hueSlider.Magenta" | "hueSlider.Red" | "hueSlider.Yellow" | "saturationSlider.Saturation and brightness thumb" | "saturationSlider.Saturation {saturation}%, Brightness {brightness}%" | "datePicker.Clear value" | "autocomplete.Clear value" | "autocomplete.No results found" | "avatar.Avatar Icon" | "breadcrumb.Breadcrumb" | "breadcrumb.Ellipsis" | "calendar.Choose the month" | "calendar.Choose the year" | "calendar.Go to the next month" | "calendar.Go to the previous month" | "calendar.Today" | "carousel.Go to next slide" | "carousel.Go to previous slide" | "carousel.Go to {page} slide" | "carousel.Slides" | "carousel.{page} of {total}" | "closeButton.Close" | "colorPicker.Pick a color" | "colorSelector.Pick a color" | "numberInput.Decrease" | "numberInput.Increase" | "pagination.Go to first page" | "pagination.Go to last page" | "pagination.Go to next page" | "pagination.Go to page {value}" | "pagination.Go to previous page" | "pagination.Pagination" | "pagination.{value} / {total}" | "pagination.{value} of {total}" | "passwordInput.Password strength meter" | "passwordInput.Toggle password visibility" | "stat.Decreased by" | "stat.Increased by" | "tag.Close tag">>;
131
131
  interface I18nProviderProps {
132
132
  children?: ReactNode;
133
133
  /**
@@ -8,7 +8,7 @@ import { I18nProviderProps } from "../i18n-provider/i18n-provider.js";
8
8
  import "../i18n-provider/index.js";
9
9
  import "../../index.js";
10
10
  import { FC } from "react";
11
- import * as _yamada_ui_utils0 from "@yamada-ui/utils";
11
+ import * as _yamada_ui_utils12 from "@yamada-ui/utils";
12
12
 
13
13
  //#region src/providers/ui-provider/ui-provider.d.ts
14
14
  interface UIProviderProps extends Omit<ThemeProviderProps, "storageKey">, Pick<ColorModeProviderProps, "colorMode">, I18nProviderProps {
@@ -2564,7 +2564,7 @@ declare const extendTheme: <Y extends UsageTheme>(theme: Y) => Y extends object
2564
2564
  };
2565
2565
  };
2566
2566
  }[D] : never } : Y;
2567
- declare const extendConfig: (config: ThemeConfig) => _yamada_ui_utils0.Dict<any>;
2567
+ declare const extendConfig: (config: ThemeConfig) => _yamada_ui_utils12.Dict<any>;
2568
2568
  //#endregion
2569
2569
  export { UIProvider, UIProviderProps, extendConfig, extendTheme };
2570
2570
  //# sourceMappingURL=ui-provider.d.ts.map
@@ -1,4 +1,4 @@
1
- import * as react_jsx_runtime3 from "react/jsx-runtime";
1
+ import * as react_jsx_runtime1 from "react/jsx-runtime";
2
2
  import * as React from "react";
3
3
 
4
4
  //#region src/utils/children.d.ts
@@ -19,7 +19,7 @@ declare function pickChildren<Y = any>(children: React.ReactElement[], ...types:
19
19
  declare function usePickChildren<Y = any>(children: React.ReactElement<any>[], ...types: (React.JSXElementConstructor<any> | string)[]): React.ReactElement<Y>[];
20
20
  declare function splitChildren<Y = any, M = any>(children: React.ReactNode, ...types: ((React.JSXElementConstructor<any> | string)[] | React.JSXElementConstructor<any> | string)[]): [React.ReactElement<M>[] | React.ReactNode, ...(React.ReactElement<Y>[] | undefined)[]];
21
21
  declare function useSplitChildren<Y = any, M = any>(children: React.ReactNode, ...types: ((React.JSXElementConstructor<any> | string)[] | React.JSXElementConstructor<any> | string)[]): [React.ReactElement<M>[] | React.ReactNode, ...(React.ReactElement<Y>[] | undefined)[]];
22
- declare const wrapOrPassProps: <Y extends React.PropsWithChildren>(Component: React.FC<Y>, nodeOrProps: React.ReactNode | Y, additionalProps?: Y) => react_jsx_runtime3.JSX.Element | null;
22
+ declare const wrapOrPassProps: <Y extends React.PropsWithChildren>(Component: React.FC<Y>, nodeOrProps: React.ReactNode | Y, additionalProps?: Y) => react_jsx_runtime1.JSX.Element | null;
23
23
  //#endregion
24
24
  export { findChild, findChildren, getValidChildren, includesChildren, isSomeDisplayName, isSomeElement, isValidElement, omitChildren, pickChildren, splitChildren, useFindChild, useFindChildren, useIncludesChildren, useOmitChildren, usePickChildren, useSplitChildren, useValidChildren, wrapOrPassProps };
25
25
  //# sourceMappingURL=children.d.ts.map
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@yamada-ui/react",
3
3
  "type": "module",
4
- "version": "2.1.7-dev-20260404062241",
4
+ "version": "2.1.7",
5
5
  "description": "React UI components of the Yamada, by the Yamada, for the Yamada built with React and Emotion",
6
6
  "keywords": [
7
7
  "yamada",