@yamada-ui/react 2.2.2 → 2.2.3-dev-20260614231227
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.
- package/dist/types/components/carousel/carousel.style.d.ts +2 -2
- package/dist/types/components/chart/chart.d.ts +2 -2
- package/dist/types/components/dropzone/dropzone.d.ts +1 -1
- package/dist/types/components/editable/editable.d.ts +1 -1
- package/dist/types/components/flip/flip.d.ts +1 -1
- package/dist/types/components/format/format-byte.d.ts +1 -1
- package/dist/types/components/format/format-date-time.d.ts +1 -1
- package/dist/types/components/indicator/indicator.d.ts +1 -1
- package/dist/types/components/menu/menu.style.d.ts +2 -2
- package/dist/types/components/native-table/native-table.d.ts +1 -1
- package/dist/types/components/progress/progress.d.ts +1 -1
- package/dist/types/components/segmented-control/segmented-control.style.d.ts +2 -2
- package/dist/types/components/steps/steps.style.d.ts +1 -1
- package/dist/types/components/timeline/timeline.d.ts +2 -2
- package/dist/types/components/timeline/timeline.style.d.ts +1 -1
- package/dist/types/components/tree/tree.style.d.ts +1 -1
- package/dist/types/core/system/storage-script.d.ts +2 -2
- package/dist/types/hooks/use-combobox/index.d.ts +1 -1
- package/dist/types/hooks/use-field-sizing/index.d.ts +1 -1
- package/dist/types/utils/children.d.ts +1 -1
- package/package.json +8 -8
|
@@ -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/carousel/carousel.style.d.ts
|
|
4
|
-
declare const carouselStyle: ComponentSlotStyle<"list" | "next" | "root" | "
|
|
4
|
+
declare const carouselStyle: ComponentSlotStyle<"list" | "next" | "root" | "item" | "indicator" | "trigger" | "prev" | "indicators", CSSPropObject<CSSSlotObject<"list" | "next" | "root" | "item" | "indicator" | "trigger" | "prev" | "indicators">>, {
|
|
5
5
|
sm: {
|
|
6
6
|
root: {
|
|
7
7
|
h: "sm";
|
|
@@ -17,7 +17,7 @@ declare const carouselStyle: ComponentSlotStyle<"list" | "next" | "root" | "indi
|
|
|
17
17
|
h: "lg";
|
|
18
18
|
};
|
|
19
19
|
};
|
|
20
|
-
}, CSSModifierObject<CSSSlotObject<"list" | "next" | "root" | "
|
|
20
|
+
}, CSSModifierObject<CSSSlotObject<"list" | "next" | "root" | "item" | "indicator" | "trigger" | "prev" | "indicators">>>;
|
|
21
21
|
type CarouselStyle = typeof carouselStyle;
|
|
22
22
|
//#endregion
|
|
23
23
|
export { CarouselStyle, carouselStyle };
|
|
@@ -94,7 +94,7 @@ declare const Chart: Component<({
|
|
|
94
94
|
responsiveContainerProps,
|
|
95
95
|
tooltipProps,
|
|
96
96
|
...rest
|
|
97
|
-
}: ChartProps) => import("react
|
|
97
|
+
}: ChartProps) => import("react").JSX.Element, ChartProps>;
|
|
98
98
|
interface ChartLegendProps extends Merge<HTMLStyledProps, UseChartLegendProps> {
|
|
99
99
|
/**
|
|
100
100
|
* Props for the content component.
|
|
@@ -118,7 +118,7 @@ interface ChartTooltipProps<Y extends (number | string)[] | number | string = nu
|
|
|
118
118
|
*/
|
|
119
119
|
contentProps?: Omit<ChartTooltipContentProps, "formatter" | "label" | "labelFormatter" | "payload">;
|
|
120
120
|
}
|
|
121
|
-
declare const ChartTooltip: <Y extends (number | string)[] | number | string, M extends number | string>(props: ChartTooltipProps<Y, M>) => import("react
|
|
121
|
+
declare const ChartTooltip: <Y extends (number | string)[] | number | string, M extends number | string>(props: ChartTooltipProps<Y, M>) => import("react").JSX.Element;
|
|
122
122
|
interface ChartTooltipCursorProps extends Omit<HTMLStyledProps<"path">, "height" | "points" | "width" | "x" | "y"> {
|
|
123
123
|
brushBottom?: number;
|
|
124
124
|
height?: number;
|
|
@@ -159,7 +159,7 @@ declare const DropzoneRoot: Component<({
|
|
|
159
159
|
};
|
|
160
160
|
};
|
|
161
161
|
};
|
|
162
|
-
}>, keyof DropzoneRootProps>) => import("react
|
|
162
|
+
}>, keyof DropzoneRootProps>) => import("react").JSX.Element, DropzoneRootProps>;
|
|
163
163
|
interface DropzoneIconProps extends HTMLStyledProps<"svg"> {}
|
|
164
164
|
declare const DropzoneIcon: Component<"svg", DropzoneIconProps>;
|
|
165
165
|
interface DropzoneTitleProps extends HTMLStyledProps<"p"> {}
|
|
@@ -24,7 +24,7 @@ declare const EditableRoot: Component<({
|
|
|
24
24
|
errorBorderColor,
|
|
25
25
|
focusBorderColor,
|
|
26
26
|
...props
|
|
27
|
-
}: WithoutThemeProps<EditableRootProps, ComponentSlotStyle<"input" | "textarea" | "root" | "control" | "preview", CSSPropObject<CSSSlotObject<"input" | "textarea" | "root" | "control" | "preview">>, CSSModifierObject<CSSSlotObject<"input" | "textarea" | "root" | "control" | "preview">>, CSSModifierObject<CSSSlotObject<"input" | "textarea" | "root" | "control" | "preview">>>, keyof EditableRootProps>) => import("react
|
|
27
|
+
}: WithoutThemeProps<EditableRootProps, ComponentSlotStyle<"input" | "textarea" | "root" | "control" | "preview", CSSPropObject<CSSSlotObject<"input" | "textarea" | "root" | "control" | "preview">>, CSSModifierObject<CSSSlotObject<"input" | "textarea" | "root" | "control" | "preview">>, CSSModifierObject<CSSSlotObject<"input" | "textarea" | "root" | "control" | "preview">>>, keyof EditableRootProps>) => import("react").JSX.Element, EditableRootProps>;
|
|
28
28
|
interface EditablePreviewProps extends HTMLStyledProps<"span"> {}
|
|
29
29
|
declare const EditablePreview: Component<"span", EditablePreviewProps>;
|
|
30
30
|
interface EditableInputProps extends HTMLStyledProps<"input"> {}
|
|
@@ -80,7 +80,7 @@ declare const Flip: Component<({
|
|
|
80
80
|
onChange,
|
|
81
81
|
onClick: onClickProp,
|
|
82
82
|
...rest
|
|
83
|
-
}: WithoutThemeProps<FlipProps, ComponentSlotStyle<"from" | "to" | "root" | "item", CSSPropObject<CSSSlotObject<"from" | "to" | "root" | "item">>, CSSModifierObject<CSSSlotObject<"from" | "to" | "root" | "item">>, CSSModifierObject<CSSSlotObject<"from" | "to" | "root" | "item">>>, keyof FlipProps>) => import("react
|
|
83
|
+
}: WithoutThemeProps<FlipProps, ComponentSlotStyle<"from" | "to" | "root" | "item", CSSPropObject<CSSSlotObject<"from" | "to" | "root" | "item">>, CSSModifierObject<CSSSlotObject<"from" | "to" | "root" | "item">>, CSSModifierObject<CSSSlotObject<"from" | "to" | "root" | "item">>>, keyof FlipProps>) => import("react").JSX.Element, FlipProps>;
|
|
84
84
|
//#endregion
|
|
85
85
|
export { Flip, FlipProps, FlipPropsContext, useFlipPropsContext };
|
|
86
86
|
//# sourceMappingURL=flip.d.ts.map
|
|
@@ -22,7 +22,7 @@ declare const FormatByte: Component<({
|
|
|
22
22
|
unitDisplay,
|
|
23
23
|
value,
|
|
24
24
|
...rest
|
|
25
|
-
}: WithoutThemeProps<FormatByteProps, ComponentStyle<CSSPropObject<CSSObject>, CSSModifierObject, CSSModifierObject>, keyof FormatByteProps>) => import("react
|
|
25
|
+
}: WithoutThemeProps<FormatByteProps, ComponentStyle<CSSPropObject<CSSObject>, CSSModifierObject, CSSModifierObject>, keyof FormatByteProps>) => import("react").JSX.Element, FormatByteProps>;
|
|
26
26
|
//#endregion
|
|
27
27
|
export { FormatByte, FormatByteProps, FormatBytePropsContext, useFormatBytePropsContext };
|
|
28
28
|
//# sourceMappingURL=format-byte.d.ts.map
|
|
@@ -40,7 +40,7 @@ declare const FormatDateTime: Component<({
|
|
|
40
40
|
weekday,
|
|
41
41
|
year,
|
|
42
42
|
...rest
|
|
43
|
-
}: WithoutThemeProps<FormatDateTimeProps, ComponentStyle<CSSPropObject<CSSObject>, CSSModifierObject, CSSModifierObject>, keyof FormatDateTimeProps>) => import("react
|
|
43
|
+
}: WithoutThemeProps<FormatDateTimeProps, ComponentStyle<CSSPropObject<CSSObject>, CSSModifierObject, CSSModifierObject>, keyof FormatDateTimeProps>) => import("react").JSX.Element, FormatDateTimeProps>;
|
|
44
44
|
//#endregion
|
|
45
45
|
export { FormatDateTime, FormatDateTimeProps, FormatDateTimePropsContext, useFormatDateTimePropsContext };
|
|
46
46
|
//# sourceMappingURL=format-date-time.d.ts.map
|
|
@@ -174,7 +174,7 @@ declare const Indicator: Component<({
|
|
|
174
174
|
"--ping-color": "colorScheme.outline";
|
|
175
175
|
};
|
|
176
176
|
};
|
|
177
|
-
}>, keyof IndicatorProps>) => import("react
|
|
177
|
+
}>, keyof IndicatorProps>) => import("react").JSX.Element, IndicatorProps>;
|
|
178
178
|
interface IndicatorFloatProps extends FloatProps {}
|
|
179
179
|
interface IndicatorLabelProps extends HTMLStyledProps<"span"> {}
|
|
180
180
|
//#endregion
|
|
@@ -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/menu/menu.style.d.ts
|
|
4
|
-
declare const menuStyle: ComponentSlotStyle<"footer" | "header" | "label" | "content" | "command" | "group" | "separator" | "
|
|
4
|
+
declare const menuStyle: ComponentSlotStyle<"footer" | "header" | "label" | "content" | "command" | "group" | "separator" | "item" | "indicator", CSSPropObject<CSSSlotObject<"footer" | "header" | "label" | "content" | "command" | "group" | "separator" | "item" | "indicator">>, {
|
|
5
5
|
sm: {
|
|
6
6
|
command: {
|
|
7
7
|
fontSize: "2xs";
|
|
@@ -86,7 +86,7 @@ declare const menuStyle: ComponentSlotStyle<"footer" | "header" | "label" | "con
|
|
|
86
86
|
px: "2";
|
|
87
87
|
};
|
|
88
88
|
};
|
|
89
|
-
}, CSSModifierObject<CSSSlotObject<"footer" | "header" | "label" | "content" | "command" | "group" | "separator" | "
|
|
89
|
+
}, CSSModifierObject<CSSSlotObject<"footer" | "header" | "label" | "content" | "command" | "group" | "separator" | "item" | "indicator">>>;
|
|
90
90
|
type MenuStyle = typeof menuStyle;
|
|
91
91
|
//#endregion
|
|
92
92
|
export { MenuStyle, menuStyle };
|
|
@@ -206,7 +206,7 @@ declare const NativeTableRoot: Component<({
|
|
|
206
206
|
};
|
|
207
207
|
};
|
|
208
208
|
};
|
|
209
|
-
}>, keyof NativeTableRootProps>) => import("react
|
|
209
|
+
}>, keyof NativeTableRootProps>) => import("react").JSX.Element, NativeTableRootProps>;
|
|
210
210
|
interface NativeTableAreaProps extends HTMLStyledProps, ThemeProps<NativeTableStyle> {}
|
|
211
211
|
interface CaptionProps extends HTMLStyledProps<"caption"> {
|
|
212
212
|
/**
|
|
@@ -120,7 +120,7 @@ declare const Progress: Component<({
|
|
|
120
120
|
bg: ["colorScheme.muted", "colorScheme.subtle"];
|
|
121
121
|
};
|
|
122
122
|
};
|
|
123
|
-
}>, keyof ProgressProps>) => import("react
|
|
123
|
+
}>, keyof ProgressProps>) => import("react").JSX.Element, ProgressProps>;
|
|
124
124
|
interface ProgressRangeProps extends HTMLStyledProps {}
|
|
125
125
|
//#endregion
|
|
126
126
|
export { Progress, ProgressProps, ProgressPropsContext, useProgressPropsContext };
|
|
@@ -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" | "
|
|
4
|
+
declare const segmentedControlStyle: ComponentSlotStyle<"root" | "item" | "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" | "
|
|
116
|
+
}, CSSModifierObject<CSSSlotObject<"root" | "item" | "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/steps/steps.style.d.ts
|
|
3
|
-
declare const stepsStyle: ComponentSlotStyle<"title" | "list" | "separator" | "root" | "
|
|
3
|
+
declare const stepsStyle: ComponentSlotStyle<"title" | "list" | "separator" | "root" | "item" | "indicator" | "description", {
|
|
4
4
|
/**
|
|
5
5
|
* The orientation of the steps.
|
|
6
6
|
*
|
|
@@ -67,7 +67,7 @@ declare const TimelineRoot: Component<({
|
|
|
67
67
|
index,
|
|
68
68
|
items,
|
|
69
69
|
...rest
|
|
70
|
-
}: WithoutThemeProps<TimelineRootProps, ComponentSlotStyle<"title" | "content" | "root" | "
|
|
70
|
+
}: WithoutThemeProps<TimelineRootProps, ComponentSlotStyle<"title" | "content" | "root" | "item" | "indicator" | "description" | "connector", {
|
|
71
71
|
align: {
|
|
72
72
|
center: {
|
|
73
73
|
content: {
|
|
@@ -237,7 +237,7 @@ declare const TimelineRoot: Component<({
|
|
|
237
237
|
};
|
|
238
238
|
};
|
|
239
239
|
plain: {};
|
|
240
|
-
}>, "variant">) => import("react
|
|
240
|
+
}>, "variant">) => import("react").JSX.Element, TimelineRootProps>;
|
|
241
241
|
interface TimelineItemProps extends HTMLStyledProps<"li"> {
|
|
242
242
|
/**
|
|
243
243
|
* The index of the timeline item.
|
|
@@ -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" | "root" | "
|
|
3
|
+
declare const timelineStyle: ComponentSlotStyle<"title" | "content" | "root" | "item" | "indicator" | "description" | "connector", {
|
|
4
4
|
/**
|
|
5
5
|
* The alignment of the timeline.
|
|
6
6
|
*
|
|
@@ -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" | "
|
|
3
|
+
declare const treeStyle: ComponentSlotStyle<"label" | "checkbox" | "group" | "end" | "start" | "element" | "root" | "item" | "indicator", {
|
|
4
4
|
/**
|
|
5
5
|
* The shape of the component
|
|
6
6
|
*
|
|
@@ -16,11 +16,11 @@ declare function getStorageScript<Y extends string>(type: "colorMode" | "themeSc
|
|
|
16
16
|
declare function ColorModeScript({
|
|
17
17
|
nonce,
|
|
18
18
|
...rest
|
|
19
|
-
}: StorageScriptProps<ColorModeWithSystem>): import("react
|
|
19
|
+
}: StorageScriptProps<ColorModeWithSystem>): import("react").JSX.Element | null;
|
|
20
20
|
declare function ThemeSchemeScript({
|
|
21
21
|
nonce,
|
|
22
22
|
...rest
|
|
23
|
-
}: StorageScriptProps<ThemeScheme>): import("react
|
|
23
|
+
}: StorageScriptProps<ThemeScheme>): import("react").JSX.Element | null;
|
|
24
24
|
//#endregion
|
|
25
25
|
export { ColorModeScript, StorageScriptProps, ThemeSchemeScript, getStorageScript };
|
|
26
26
|
//# sourceMappingURL=storage-script.d.ts.map
|
|
@@ -36,7 +36,7 @@ declare const createComboboxChildren: (items: ComboboxItem[], {
|
|
|
36
36
|
Empty,
|
|
37
37
|
Group,
|
|
38
38
|
Option
|
|
39
|
-
}: CreateComboboxChildrenOptions) => import("react
|
|
39
|
+
}: CreateComboboxChildrenOptions) => import("react").JSX.Element[];
|
|
40
40
|
interface ComboboxDescendantProps {
|
|
41
41
|
id: string;
|
|
42
42
|
closeOnSelect?: boolean;
|
|
@@ -6,7 +6,7 @@ declare const useFieldSizing: <Y extends HTMLElement>({
|
|
|
6
6
|
value
|
|
7
7
|
}: UseFieldSizingProps) => {
|
|
8
8
|
ref: import("react").RefObject<Y | null>;
|
|
9
|
-
text: import("react
|
|
9
|
+
text: import("react").JSX.Element;
|
|
10
10
|
};
|
|
11
11
|
type UseFieldSizingReturn = ReturnType<typeof useFieldSizing>;
|
|
12
12
|
//#endregion
|
|
@@ -18,7 +18,7 @@ declare function pickChildren<Y = any>(children: React.ReactElement[], ...types:
|
|
|
18
18
|
declare function usePickChildren<Y = any>(children: React.ReactElement<any>[], ...types: (React.JSXElementConstructor<any> | string)[]): React.ReactElement<Y>[];
|
|
19
19
|
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)[]];
|
|
20
20
|
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)[]];
|
|
21
|
-
declare const wrapOrPassProps: <Y extends React.PropsWithChildren>(Component: React.FC<Y>, nodeOrProps: React.ReactNode | Y, additionalProps?: Y) =>
|
|
21
|
+
declare const wrapOrPassProps: <Y extends React.PropsWithChildren>(Component: React.FC<Y>, nodeOrProps: React.ReactNode | Y, additionalProps?: Y) => React.JSX.Element | null;
|
|
22
22
|
//#endregion
|
|
23
23
|
export { findChild, findChildren, getValidChildren, includesChildren, isSomeDisplayName, isSomeElement, isValidElement, omitChildren, pickChildren, splitChildren, useFindChild, useFindChildren, useIncludesChildren, useOmitChildren, usePickChildren, useSplitChildren, useValidChildren, wrapOrPassProps };
|
|
24
24
|
//# 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.2.
|
|
4
|
+
"version": "2.2.3-dev-20260614231227",
|
|
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",
|
|
@@ -133,11 +133,11 @@
|
|
|
133
133
|
"embla-carousel-react": "^8.6.0",
|
|
134
134
|
"file-selector": "^2.1.2",
|
|
135
135
|
"framesync": "6.1.2",
|
|
136
|
-
"intl-messageformat": "^11.2.
|
|
136
|
+
"intl-messageformat": "^11.2.8",
|
|
137
137
|
"lucide-react": "1.17.0",
|
|
138
138
|
"motion": "^12.38.0",
|
|
139
|
-
"react": "^19.2.
|
|
140
|
-
"react-dom": "^19.2.
|
|
139
|
+
"react": "^19.2.7",
|
|
140
|
+
"react-dom": "^19.2.7",
|
|
141
141
|
"react-dropzone": "^15.0.0",
|
|
142
142
|
"react-fast-compare": "^3.2.2",
|
|
143
143
|
"react-focus-lock": "^2.13.7",
|
|
@@ -161,9 +161,9 @@
|
|
|
161
161
|
"@types/jsdom": "^28.0.1",
|
|
162
162
|
"@types/yamljs": "^0.2.34",
|
|
163
163
|
"@vitejs/plugin-react": "^6.0.2",
|
|
164
|
-
"@vitest/browser": "^4.1.
|
|
165
|
-
"@vitest/browser-playwright": "^4.1.
|
|
166
|
-
"axe-core": "^4.
|
|
164
|
+
"@vitest/browser": "^4.1.8",
|
|
165
|
+
"@vitest/browser-playwright": "^4.1.8",
|
|
166
|
+
"axe-core": "^4.12.0",
|
|
167
167
|
"axe-playwright": "^2.2.2",
|
|
168
168
|
"jsdom": "^29.1.1",
|
|
169
169
|
"playwright": "^1.60.0",
|
|
@@ -172,7 +172,7 @@
|
|
|
172
172
|
"use-mask-input": "^3.10.1",
|
|
173
173
|
"vitest-axe": "^0.1.0",
|
|
174
174
|
"vitest-browser-react": "2.2.0",
|
|
175
|
-
"web-features": "3.
|
|
175
|
+
"web-features": "3.30.0",
|
|
176
176
|
"yamljs": "^0.3.0",
|
|
177
177
|
"@yamada-ui/workspace": "1.0.0"
|
|
178
178
|
},
|