@yamada-ui/react 2.2.2-dev-20260517212608 → 2.2.2-dev-20260525083850

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 (58) hide show
  1. package/dist/cjs/core/css/styles.cjs +38 -0
  2. package/dist/cjs/core/css/styles.cjs.map +1 -1
  3. package/dist/esm/core/css/styles.js +38 -0
  4. package/dist/esm/core/css/styles.js.map +1 -1
  5. package/dist/types/components/accordion/accordion.style.d.ts +1 -1
  6. package/dist/types/components/alert/alert.style.d.ts +1 -1
  7. package/dist/types/components/autocomplete/autocomplete.style.d.ts +1 -1
  8. package/dist/types/components/avatar/avatar.d.ts +3 -3
  9. package/dist/types/components/avatar/avatar.style.d.ts +1 -1
  10. package/dist/types/components/breadcrumb/breadcrumb.style.d.ts +1 -1
  11. package/dist/types/components/calendar/calendar.style.d.ts +2 -2
  12. package/dist/types/components/carousel/carousel.style.d.ts +2 -2
  13. package/dist/types/components/chart/cartesian-chart.style.d.ts +1 -1
  14. package/dist/types/components/chart/polar-chart.style.d.ts +1 -1
  15. package/dist/types/components/checkbox/checkbox.d.ts +1 -1
  16. package/dist/types/components/checkbox-card/checkbox-card.d.ts +3 -3
  17. package/dist/types/components/checkbox-card/checkbox-card.style.d.ts +1 -1
  18. package/dist/types/components/color-picker/color-picker.style.d.ts +1 -1
  19. package/dist/types/components/color-selector/color-selector.style.d.ts +2 -2
  20. package/dist/types/components/data-list/data-list.style.d.ts +1 -1
  21. package/dist/types/components/date-picker/date-picker.style.d.ts +1 -1
  22. package/dist/types/components/drawer/drawer.style.d.ts +2 -2
  23. package/dist/types/components/dropzone/dropzone.d.ts +1 -1
  24. package/dist/types/components/dropzone/dropzone.style.d.ts +1 -1
  25. package/dist/types/components/empty-state/empty-state.style.d.ts +2 -2
  26. package/dist/types/components/flip/flip.d.ts +1 -1
  27. package/dist/types/components/flip/flip.style.d.ts +1 -1
  28. package/dist/types/components/form/form.style.d.ts +1 -1
  29. package/dist/types/components/icon/icon.d.ts +2 -2
  30. package/dist/types/components/infinite-scroll-area/infinite-scroll-area.style.d.ts +2 -2
  31. package/dist/types/components/list/list.style.d.ts +2 -2
  32. package/dist/types/components/loading/loading.d.ts +1 -1
  33. package/dist/types/components/menu/menu.style.d.ts +2 -2
  34. package/dist/types/components/modal/modal.style.d.ts +2 -2
  35. package/dist/types/components/native-accordion/native-accordion.style.d.ts +2 -2
  36. package/dist/types/components/native-select/native-select.style.d.ts +1 -1
  37. package/dist/types/components/notice/notice.style.d.ts +1 -1
  38. package/dist/types/components/number-input/number-input.style.d.ts +1 -1
  39. package/dist/types/components/pagination/pagination.style.d.ts +1 -1
  40. package/dist/types/components/password-input/password-input.style.d.ts +1 -1
  41. package/dist/types/components/pin-input/pin-input.style.d.ts +1 -1
  42. package/dist/types/components/radio/radio.d.ts +1 -1
  43. package/dist/types/components/radio-card/radio-card.d.ts +3 -3
  44. package/dist/types/components/radio-card/radio-card.style.d.ts +1 -1
  45. package/dist/types/components/rating/rating.style.d.ts +2 -2
  46. package/dist/types/components/reorder/reorder.style.d.ts +1 -1
  47. package/dist/types/components/resizable/resizable.style.d.ts +2 -2
  48. package/dist/types/components/segmented-control/segmented-control.style.d.ts +2 -2
  49. package/dist/types/components/select/select.style.d.ts +1 -1
  50. package/dist/types/components/steps/steps.style.d.ts +1 -1
  51. package/dist/types/components/tag/tag.style.d.ts +1 -1
  52. package/dist/types/components/timeline/timeline.d.ts +1 -1
  53. package/dist/types/components/timeline/timeline.style.d.ts +1 -1
  54. package/dist/types/components/toggle/toggle.d.ts +1 -1
  55. package/dist/types/components/tree/tree.style.d.ts +1 -1
  56. package/dist/types/core/css/styles.d.ts +459 -1
  57. package/dist/types/providers/i18n-provider/i18n-provider.d.ts +1 -1
  58. package/package.json +3 -3
@@ -55,7 +55,7 @@ interface RadioCardRootProps<Y extends string = string> extends Merge<HTMLStyled
55
55
  */
56
56
  rootProps?: HTMLStyledProps<"label">;
57
57
  }
58
- declare const component: <H extends As | "fragment" = "div", R extends _$_yamada_ui_utils0.Dict = _$_yamada_ui_utils0.Dict<any>>(el: H | _$react.FC<R>, slot?: ComponentSlot<ComponentSlotName<ComponentSlotStyle<"group" | "description" | "root" | "indicator" | "addon", {
58
+ declare const component: <H extends "fragment" | As = "div", R extends _$_yamada_ui_utils0.Dict = _$_yamada_ui_utils0.Dict<any>>(el: H | _$react.FC<R>, slot?: ComponentSlot<ComponentSlotName<ComponentSlotStyle<"group" | "root" | "indicator" | "description" | "addon", {
59
59
  justify: {
60
60
  end: {
61
61
  addon: {
@@ -232,7 +232,7 @@ declare const component: <H extends As | "fragment" = "div", R extends _$_yamada
232
232
  name,
233
233
  className,
234
234
  ...options
235
- }?: ComponentOptions) => (initialProps?: InitialProps<R>, ...superProps: SuperProps<R>[]) => H extends "fragment" ? _$react.FunctionComponent<R> : Component<Exclude<H, "fragment">, R>, RadioCardPropsContext: _$react.Context<Partial<RadioCardRootProps<string>> | undefined>, useRadioCardPropsContext: () => Partial<RadioCardRootProps<string>> | undefined, useRootComponentProps: <Y extends _$_yamada_ui_utils0.Dict = {}, R extends keyof Y = keyof Y>(props: Y, slot?: ComponentSlot<ComponentSlotName<ComponentSlotStyle<"group" | "description" | "root" | "indicator" | "addon", {
235
+ }?: ComponentOptions) => (initialProps?: InitialProps<R>, ...superProps: SuperProps<R>[]) => H extends "fragment" ? _$react.FunctionComponent<R> : Component<Exclude<H, "fragment">, R>, RadioCardPropsContext: _$react.Context<Partial<RadioCardRootProps<string>> | undefined>, useRadioCardPropsContext: () => Partial<RadioCardRootProps<string>> | undefined, useRootComponentProps: <Y extends _$_yamada_ui_utils0.Dict = {}, R extends keyof Y = keyof Y>(props: Y, slot?: ComponentSlot<ComponentSlotName<ComponentSlotStyle<"group" | "root" | "indicator" | "description" | "addon", {
236
236
  justify: {
237
237
  end: {
238
238
  addon: {
@@ -409,7 +409,7 @@ declare const component: <H extends As | "fragment" = "div", R extends _$_yamada
409
409
  className,
410
410
  withContext,
411
411
  transferProps
412
- }?: UseComponentPropsOptions<R>) => [CSSSlotObject, Merge<WithoutThemeProps<Y, ComponentSlotStyle<"group" | "description" | "root" | "indicator" | "addon", {
412
+ }?: UseComponentPropsOptions<R>) => [CSSSlotObject, Merge<WithoutThemeProps<Y, ComponentSlotStyle<"group" | "root" | "indicator" | "description" | "addon", {
413
413
  justify: {
414
414
  end: {
415
415
  addon: {
@@ -1,6 +1,6 @@
1
1
  import { ComponentSlotStyle } from "../../core/system/index.types.js";
2
2
  //#region src/components/radio-card/radio-card.style.d.ts
3
- declare const radioCardStyle: ComponentSlotStyle<"group" | "description" | "root" | "indicator" | "addon", {
3
+ declare const radioCardStyle: ComponentSlotStyle<"group" | "root" | "indicator" | "description" | "addon", {
4
4
  /**
5
5
  * The justify indicator of the component
6
6
  *
@@ -1,7 +1,7 @@
1
1
  import { ComponentSlotStyle } from "../../core/system/index.types.js";
2
2
  import { CSSModifierObject, CSSPropObject, CSSSlotObject } from "../../core/css/index.types.js";
3
3
  //#region src/components/rating/rating.style.d.ts
4
- declare const ratingStyle: ComponentSlotStyle<"group" | "icon" | "root" | "item", CSSPropObject<CSSSlotObject<"group" | "icon" | "root" | "item">>, {
4
+ declare const ratingStyle: ComponentSlotStyle<"group" | "icon" | "item" | "root", CSSPropObject<CSSSlotObject<"group" | "icon" | "item" | "root">>, {
5
5
  xs: {
6
6
  icon: {
7
7
  fontSize: "md";
@@ -27,7 +27,7 @@ declare const ratingStyle: ComponentSlotStyle<"group" | "icon" | "root" | "item"
27
27
  fontSize: "3xl";
28
28
  };
29
29
  };
30
- }, CSSModifierObject<CSSSlotObject<"group" | "icon" | "root" | "item">>>;
30
+ }, CSSModifierObject<CSSSlotObject<"group" | "icon" | "item" | "root">>>;
31
31
  type RatingStyle = typeof ratingStyle;
32
32
  //#endregion
33
33
  export { RatingStyle, ratingStyle };
@@ -1,6 +1,6 @@
1
1
  import { ComponentSlotStyle } from "../../core/system/index.types.js";
2
2
  //#region src/components/reorder/reorder.style.d.ts
3
- declare const reorderStyle: ComponentSlotStyle<"trigger" | "root" | "item", {
3
+ declare const reorderStyle: ComponentSlotStyle<"item" | "root" | "trigger", {
4
4
  /**
5
5
  * The orientation of the reorder.
6
6
  *
@@ -1,7 +1,7 @@
1
1
  import { ComponentSlotStyle } from "../../core/system/index.types.js";
2
2
  import { CSSModifierObject, CSSSlotObject } from "../../core/css/index.types.js";
3
3
  //#region src/components/resizable/resizable.style.d.ts
4
- declare const resizableStyle: ComponentSlotStyle<"icon" | "trigger" | "root" | "item", {
4
+ declare const resizableStyle: ComponentSlotStyle<"icon" | "item" | "root" | "trigger", {
5
5
  /**
6
6
  * The orientation of the resizable.
7
7
  *
@@ -19,7 +19,7 @@ declare const resizableStyle: ComponentSlotStyle<"icon" | "trigger" | "root" | "
19
19
  };
20
20
  };
21
21
  };
22
- }, CSSModifierObject<CSSSlotObject<"icon" | "trigger" | "root" | "item">>, {
22
+ }, CSSModifierObject<CSSSlotObject<"icon" | "item" | "root" | "trigger">>, {
23
23
  border: {
24
24
  icon: {
25
25
  bg: "colorScheme.muted";
@@ -1,7 +1,7 @@
1
1
  import { ComponentSlotStyle } from "../../core/system/index.types.js";
2
2
  import { CSSModifierObject, CSSSlotObject } from "../../core/css/index.types.js";
3
3
  //#region src/components/segmented-control/segmented-control.style.d.ts
4
- declare const segmentedControlStyle: ComponentSlotStyle<"root" | "indicator" | "item", {
4
+ declare const segmentedControlStyle: ComponentSlotStyle<"item" | "root" | "indicator", {
5
5
  /**
6
6
  * If `true`, the segmented control will be full rounded.
7
7
  *
@@ -113,7 +113,7 @@ declare const segmentedControlStyle: ComponentSlotStyle<"root" | "indicator" | "
113
113
  };
114
114
  };
115
115
  };
116
- }, CSSModifierObject<CSSSlotObject<"root" | "indicator" | "item">>>;
116
+ }, CSSModifierObject<CSSSlotObject<"item" | "root" | "indicator">>>;
117
117
  type SegmentedControlStyle = typeof segmentedControlStyle;
118
118
  //#endregion
119
119
  export { SegmentedControlStyle, segmentedControlStyle };
@@ -1,6 +1,6 @@
1
1
  import { ComponentSlotStyle } from "../../core/system/index.types.js";
2
2
  //#region src/components/select/select.style.d.ts
3
- declare const selectStyle: ComponentSlotStyle<"label" | "option" | "content" | "group" | "separator" | "icon" | "field" | "root" | "indicator" | "valueText", {
3
+ declare const selectStyle: ComponentSlotStyle<"label" | "option" | "content" | "group" | "separator" | "icon" | "root" | "indicator" | "field" | "valueText", {
4
4
  /**
5
5
  * If `true`, wrap the value text.
6
6
  *
@@ -1,6 +1,6 @@
1
1
  import { ComponentSlotStyle } from "../../core/system/index.types.js";
2
2
  //#region src/components/steps/steps.style.d.ts
3
- declare const stepsStyle: ComponentSlotStyle<"title" | "list" | "separator" | "description" | "root" | "indicator" | "item", {
3
+ declare const stepsStyle: ComponentSlotStyle<"title" | "list" | "separator" | "item" | "root" | "indicator" | "description", {
4
4
  /**
5
5
  * The orientation of the steps.
6
6
  *
@@ -1,6 +1,6 @@
1
1
  import { ComponentSlotStyle } from "../../core/system/index.types.js";
2
2
  //#region src/components/tag/tag.style.d.ts
3
- declare const tagStyle: ComponentSlotStyle<"content" | "icon" | "root" | "closeButton" | "endIcon" | "startIcon", {
3
+ declare const tagStyle: ComponentSlotStyle<"content" | "icon" | "closeButton" | "root" | "endIcon" | "startIcon", {
4
4
  /**
5
5
  * If `true`, the tag is full rounded. Else, it'll be slightly round.
6
6
  *
@@ -69,7 +69,7 @@ declare const TimelineRoot: Component<({
69
69
  index,
70
70
  items,
71
71
  ...rest
72
- }: WithoutThemeProps<TimelineRootProps, ComponentSlotStyle<"title" | "content" | "description" | "root" | "indicator" | "item" | "connector", {
72
+ }: WithoutThemeProps<TimelineRootProps, ComponentSlotStyle<"title" | "content" | "item" | "root" | "indicator" | "description" | "connector", {
73
73
  align: {
74
74
  center: {
75
75
  content: {
@@ -1,6 +1,6 @@
1
1
  import { ComponentSlotStyle } from "../../core/system/index.types.js";
2
2
  //#region src/components/timeline/timeline.style.d.ts
3
- declare const timelineStyle: ComponentSlotStyle<"title" | "content" | "description" | "root" | "indicator" | "item" | "connector", {
3
+ declare const timelineStyle: ComponentSlotStyle<"title" | "content" | "item" | "root" | "indicator" | "description" | "connector", {
4
4
  /**
5
5
  * The alignment of the timeline.
6
6
  *
@@ -12,7 +12,7 @@ import * as _$_yamada_ui_utils0 from "@yamada-ui/utils";
12
12
 
13
13
  //#region src/components/toggle/toggle.d.ts
14
14
  interface ToggleProps<Y extends string = string> extends Omit<WithoutThemeProps<IconButtonProps, ToggleStyle>, "aria-label" | "onChange" | "ref" | "value">, UseToggleProps<Y>, Pick<UseInputBorderProps, "errorBorderColor">, ThemeProps<ToggleStyle> {}
15
- declare const component: <H extends As | "fragment" = "div", R extends _$_yamada_ui_utils0.Dict = _$_yamada_ui_utils0.Dict<any>>(el: H | _$react.FC<R>, slot?: ComponentSlot<ComponentSlotName<ComponentSlotStyle<"group" | "root", {
15
+ declare const component: <H extends "fragment" | As = "div", R extends _$_yamada_ui_utils0.Dict = _$_yamada_ui_utils0.Dict<any>>(el: H | _$react.FC<R>, slot?: ComponentSlot<ComponentSlotName<ComponentSlotStyle<"group" | "root", {
16
16
  fullRounded: {
17
17
  true: {
18
18
  root: {
@@ -1,6 +1,6 @@
1
1
  import { ComponentSlotStyle } from "../../core/system/index.types.js";
2
2
  //#region src/components/tree/tree.style.d.ts
3
- declare const treeStyle: ComponentSlotStyle<"label" | "checkbox" | "group" | "end" | "start" | "element" | "root" | "indicator" | "item", {
3
+ declare const treeStyle: ComponentSlotStyle<"label" | "checkbox" | "group" | "end" | "start" | "element" | "item" | "root" | "indicator", {
4
4
  /**
5
5
  * The shape of the component
6
6
  *