@yamada-ui/react 2.3.0-dev-20261026040027 → 2.3.0-dev-20261026045445
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/alert/alert.style.d.ts +1 -1
- package/dist/types/components/avatar/avatar.d.ts +3 -3
- package/dist/types/components/avatar/avatar.style.d.ts +1 -1
- package/dist/types/components/calendar/calendar.style.d.ts +2 -2
- package/dist/types/components/carousel/carousel.style.d.ts +2 -2
- package/dist/types/components/color-picker/color-picker.style.d.ts +1 -1
- package/dist/types/components/data-list/data-list.style.d.ts +1 -1
- package/dist/types/components/dropzone/dropzone.d.ts +1 -1
- package/dist/types/components/dropzone/dropzone.style.d.ts +1 -1
- package/dist/types/components/field/use-field-props.d.ts +1 -1
- package/dist/types/components/file-button/use-file-button.d.ts +2 -2
- package/dist/types/components/file-input/use-file-input.d.ts +2 -2
- package/dist/types/components/menu/menu.style.d.ts +2 -2
- package/dist/types/components/number-input/number-input.style.d.ts +1 -1
- package/dist/types/components/progress/use-progress.d.ts +3 -3
- 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/tabs/tabs.style.d.ts +1 -1
- package/dist/types/components/timeline/timeline.d.ts +1 -1
- 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/components/tree/use-tree.d.ts +3 -3
- package/dist/types/hooks/use-clickable/index.d.ts +2 -2
- package/package.json +4 -4
|
@@ -2,7 +2,7 @@ import { ComponentSlotStyle } from "../../core/system/index.type.js";
|
|
|
2
2
|
import { CSSModifierObject, CSSPropObject, CSSSlotObject } from "../../core/css/index.type.js";
|
|
3
3
|
import "../../index.js";
|
|
4
4
|
//#region src/components/alert/alert.style.d.ts
|
|
5
|
-
export declare const alertStyle: ComponentSlotStyle<"
|
|
5
|
+
export declare const alertStyle: ComponentSlotStyle<"loading" | "title" | "icon" | "root" | "description", CSSPropObject<CSSSlotObject<"loading" | "title" | "icon" | "root" | "description">>, CSSModifierObject<CSSSlotObject<"loading" | "title" | "icon" | "root" | "description">>, {
|
|
6
6
|
island: {
|
|
7
7
|
description: {
|
|
8
8
|
color: "fg.muted";
|
|
@@ -22,7 +22,7 @@ export interface AvatarProps extends HTMLStyledProps, ThemeProps<AvatarStyle>, U
|
|
|
22
22
|
*/
|
|
23
23
|
imageProps?: AvatarImageProps;
|
|
24
24
|
}
|
|
25
|
-
declare const component: <H extends As | "fragment" = "div", R extends import("@yamada-ui/utils").Dict = import("@yamada-ui/utils").Dict<any>>(el: H | import("react").FC<R>, slot?: ComponentSlot<ComponentSlotName<ComponentSlotStyle<"image" | "group" | "
|
|
25
|
+
declare const component: <H extends As | "fragment" = "div", R extends import("@yamada-ui/utils").Dict = import("@yamada-ui/utils").Dict<any>>(el: H | import("react").FC<R>, slot?: ComponentSlot<ComponentSlotName<ComponentSlotStyle<"image" | "group" | "fallback" | "root", {
|
|
26
26
|
shape: {
|
|
27
27
|
circle: {
|
|
28
28
|
root: {
|
|
@@ -141,7 +141,7 @@ declare const component: <H extends As | "fragment" = "div", R extends import("@
|
|
|
141
141
|
};
|
|
142
142
|
};
|
|
143
143
|
};
|
|
144
|
-
}>>> | undefined, { name, className, ...options }?: ComponentOptions) => (initialProps?: InitialProps<R>, ...superProps: SuperProps<R>[]) => H extends "fragment" ? import("react").FunctionComponent<R> : Component<Exclude<H, "fragment">, R>, AvatarPropsContext: import("react").Context<Partial<AvatarProps> | undefined>, useAvatarPropsContext: () => Partial<AvatarProps> | undefined, useRootComponentProps: <Y extends import("@yamada-ui/utils").Dict = {}, R extends keyof Y = keyof Y>(props: Y, slot?: ComponentSlot<ComponentSlotName<ComponentSlotStyle<"image" | "group" | "
|
|
144
|
+
}>>> | undefined, { name, className, ...options }?: ComponentOptions) => (initialProps?: InitialProps<R>, ...superProps: SuperProps<R>[]) => H extends "fragment" ? import("react").FunctionComponent<R> : Component<Exclude<H, "fragment">, R>, AvatarPropsContext: import("react").Context<Partial<AvatarProps> | undefined>, useAvatarPropsContext: () => Partial<AvatarProps> | undefined, useRootComponentProps: <Y extends import("@yamada-ui/utils").Dict = {}, R extends keyof Y = keyof Y>(props: Y, slot?: ComponentSlot<ComponentSlotName<ComponentSlotStyle<"image" | "group" | "fallback" | "root", {
|
|
145
145
|
shape: {
|
|
146
146
|
circle: {
|
|
147
147
|
root: {
|
|
@@ -260,7 +260,7 @@ declare const component: <H extends As | "fragment" = "div", R extends import("@
|
|
|
260
260
|
};
|
|
261
261
|
};
|
|
262
262
|
};
|
|
263
|
-
}>>> | undefined, { className, withContext, transferProps }?: UseComponentPropsOptions<R>) => [CSSSlotObject, import("@yamada-ui/utils").Merge<WithoutThemeProps<Y, ComponentSlotStyle<"image" | "group" | "
|
|
263
|
+
}>>> | undefined, { className, withContext, transferProps }?: UseComponentPropsOptions<R>) => [CSSSlotObject, import("@yamada-ui/utils").Merge<WithoutThemeProps<Y, ComponentSlotStyle<"image" | "group" | "fallback" | "root", {
|
|
264
264
|
shape: {
|
|
265
265
|
circle: {
|
|
266
266
|
root: {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { ComponentSlotStyle } from "../../core/system/index.type.js";
|
|
2
2
|
import "../../index.js";
|
|
3
3
|
//#region src/components/avatar/avatar.style.d.ts
|
|
4
|
-
export declare const avatarStyle: ComponentSlotStyle<"image" | "group" | "
|
|
4
|
+
export declare const avatarStyle: ComponentSlotStyle<"image" | "group" | "fallback" | "root", {
|
|
5
5
|
/**
|
|
6
6
|
* The shape of the component
|
|
7
7
|
*
|
|
@@ -2,7 +2,7 @@ import { ComponentSlotStyle } from "../../core/system/index.type.js";
|
|
|
2
2
|
import { CSSModifierObject, CSSSlotObject } from "../../core/css/index.type.js";
|
|
3
3
|
import "../../index.js";
|
|
4
4
|
//#region src/components/calendar/calendar.style.d.ts
|
|
5
|
-
export declare const calendarStyle: ComponentSlotStyle<"button" | "select" | "cell" | "navigation" | "row" | "separator" | "next" | "root" | "month" | "week" | "weekday" | "day" | "months" | "years" | "weeks" | "
|
|
5
|
+
export declare const calendarStyle: ComponentSlotStyle<"button" | "select" | "cell" | "navigation" | "row" | "separator" | "next" | "root" | "month" | "week" | "control" | "weekday" | "day" | "months" | "years" | "weeks" | "prev", {
|
|
6
6
|
/**
|
|
7
7
|
* If `true`, the calendar will be fixed rows.
|
|
8
8
|
*
|
|
@@ -74,7 +74,7 @@ export declare const calendarStyle: ComponentSlotStyle<"button" | "select" | "ce
|
|
|
74
74
|
"--font-size": "fontSizes.xl";
|
|
75
75
|
};
|
|
76
76
|
};
|
|
77
|
-
}, CSSModifierObject<CSSSlotObject<"button" | "select" | "cell" | "navigation" | "row" | "separator" | "next" | "root" | "month" | "week" | "weekday" | "day" | "months" | "years" | "weeks" | "
|
|
77
|
+
}, CSSModifierObject<CSSSlotObject<"button" | "select" | "cell" | "navigation" | "row" | "separator" | "next" | "root" | "month" | "week" | "control" | "weekday" | "day" | "months" | "years" | "weeks" | "prev">>>;
|
|
78
78
|
export type CalendarStyle = typeof calendarStyle;
|
|
79
79
|
//#endregion
|
|
80
80
|
//# sourceMappingURL=calendar.style.d.ts.map
|
|
@@ -2,7 +2,7 @@ import { ComponentSlotStyle } from "../../core/system/index.type.js";
|
|
|
2
2
|
import { CSSModifierObject, CSSPropObject, CSSSlotObject } from "../../core/css/index.type.js";
|
|
3
3
|
import "../../index.js";
|
|
4
4
|
//#region src/components/carousel/carousel.style.d.ts
|
|
5
|
-
export declare const carouselStyle: ComponentSlotStyle<"list" | "next" | "root" | "
|
|
5
|
+
export declare const carouselStyle: ComponentSlotStyle<"list" | "next" | "root" | "indicator" | "item" | "trigger" | "indicators" | "prev", CSSPropObject<CSSSlotObject<"list" | "next" | "root" | "indicator" | "item" | "trigger" | "indicators" | "prev">>, {
|
|
6
6
|
sm: {
|
|
7
7
|
root: {
|
|
8
8
|
h: "sm";
|
|
@@ -18,7 +18,7 @@ export declare const carouselStyle: ComponentSlotStyle<"list" | "next" | "root"
|
|
|
18
18
|
h: "lg";
|
|
19
19
|
};
|
|
20
20
|
};
|
|
21
|
-
}, CSSModifierObject<CSSSlotObject<"list" | "next" | "root" | "
|
|
21
|
+
}, CSSModifierObject<CSSSlotObject<"list" | "next" | "root" | "indicator" | "item" | "trigger" | "indicators" | "prev">>>;
|
|
22
22
|
export type CarouselStyle = typeof carouselStyle;
|
|
23
23
|
//#endregion
|
|
24
24
|
//# sourceMappingURL=carousel.style.d.ts.map
|
|
@@ -2,7 +2,7 @@ import { ComponentSlotStyle } from "../../core/system/index.type.js";
|
|
|
2
2
|
import { CSSPropObject, CSSSlotObject } from "../../core/css/index.type.js";
|
|
3
3
|
import "../../index.js";
|
|
4
4
|
//#region src/components/color-picker/color-picker.style.d.ts
|
|
5
|
-
export declare const colorPickerStyle: ComponentSlotStyle<"input" | "content" | "icon" | "root" | "colorSwatch" | "
|
|
5
|
+
export declare const colorPickerStyle: ComponentSlotStyle<"input" | "content" | "icon" | "root" | "colorSwatch" | "field" | "eyeDropper", CSSPropObject<CSSSlotObject<"input" | "content" | "icon" | "root" | "colorSwatch" | "field" | "eyeDropper">>, {
|
|
6
6
|
xs: {
|
|
7
7
|
field: {
|
|
8
8
|
fontSize: "1em";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { ComponentSlotStyle } from "../../core/system/index.type.js";
|
|
2
2
|
import "../../index.js";
|
|
3
3
|
//#region src/components/data-list/data-list.style.d.ts
|
|
4
|
-
export declare const dataListStyle: ComponentSlotStyle<"term" | "root" | "
|
|
4
|
+
export declare const dataListStyle: ComponentSlotStyle<"term" | "root" | "description" | "item", {
|
|
5
5
|
/**
|
|
6
6
|
* The orientation of the data list.
|
|
7
7
|
*
|
|
@@ -34,7 +34,7 @@ declare const DropzonePropsContext: import("react").Context<Partial<DropzoneRoot
|
|
|
34
34
|
*
|
|
35
35
|
* @see https://yamada-ui.com/docs/components/dropzone
|
|
36
36
|
*/
|
|
37
|
-
export declare const DropzoneRoot: Component<({ children, errorBorderColor, focusBorderColor, loadingScheme, inputProps, loadingProps, overlayProps, ...rest }: WithoutThemeProps<DropzoneRootProps, ComponentSlotStyle<"
|
|
37
|
+
export declare const DropzoneRoot: Component<({ children, errorBorderColor, focusBorderColor, loadingScheme, inputProps, loadingProps, overlayProps, ...rest }: WithoutThemeProps<DropzoneRootProps, ComponentSlotStyle<"loading" | "title" | "overlay" | "icon" | "root" | "description", CSSPropObject<CSSSlotObject<"loading" | "title" | "overlay" | "icon" | "root" | "description">>, {
|
|
38
38
|
xs: {
|
|
39
39
|
root: {
|
|
40
40
|
minH: "xs";
|
|
@@ -2,7 +2,7 @@ import { ComponentSlotStyle } from "../../core/system/index.type.js";
|
|
|
2
2
|
import { CSSPropObject, CSSSlotObject } from "../../core/css/index.type.js";
|
|
3
3
|
import "../../index.js";
|
|
4
4
|
//#region src/components/dropzone/dropzone.style.d.ts
|
|
5
|
-
export declare const dropzoneStyle: ComponentSlotStyle<"
|
|
5
|
+
export declare const dropzoneStyle: ComponentSlotStyle<"loading" | "title" | "overlay" | "icon" | "root" | "description", CSSPropObject<CSSSlotObject<"loading" | "title" | "overlay" | "icon" | "root" | "description">>, {
|
|
6
6
|
xs: {
|
|
7
7
|
root: {
|
|
8
8
|
minH: "xs";
|
|
@@ -17,7 +17,7 @@ export declare const useFieldProps: <Y extends HTMLElement, M extends Dict>({ id
|
|
|
17
17
|
disabled: boolean | undefined;
|
|
18
18
|
readOnly: boolean | undefined;
|
|
19
19
|
required: boolean | undefined;
|
|
20
|
-
} & Omit<M & UseFieldProps<Y>, "
|
|
20
|
+
} & Omit<M & UseFieldProps<Y>, "id" | "aria-describedby" | "onFocus" | "onBlur" | "disabled" | "invalid" | "readOnly" | "name" | "required" | "notSupportReadOnly">;
|
|
21
21
|
ariaProps: {
|
|
22
22
|
"aria-describedby": any;
|
|
23
23
|
"aria-disabled": (boolean | "true" | "false") | undefined;
|
|
@@ -9,7 +9,7 @@ import "../../index.js";
|
|
|
9
9
|
//#region src/components/file-button/use-file-button.d.ts
|
|
10
10
|
export interface UseFileButtonProps extends UseFileInputProps<"button">, FieldProps {}
|
|
11
11
|
export declare const useFileButton: (props?: UseFileButtonProps) => {
|
|
12
|
-
clickableProps: (Omit<UseClickableProps<HTMLElement, import("@yamada-ui/utils").Dict<any>>, "
|
|
12
|
+
clickableProps: (Omit<UseClickableProps<HTMLElement, import("@yamada-ui/utils").Dict<any>>, "ref" | "tabIndex" | "onKeyDown" | "onKeyUp" | "onClick" | "onMouseDown" | "onMouseLeave" | "onMouseOver" | "onMouseUp" | "clickOnEnter" | "clickOnSpace" | "disabled" | "disableTouchBehavior" | "focusable" | "focusOnClick"> & {
|
|
13
13
|
ref: (node: any) => void;
|
|
14
14
|
type: "button";
|
|
15
15
|
"aria-disabled": boolean | undefined;
|
|
@@ -21,7 +21,7 @@ export declare const useFileButton: (props?: UseFileButtonProps) => {
|
|
|
21
21
|
onMouseLeave: import("react").MouseEventHandler<HTMLElement> | undefined;
|
|
22
22
|
onMouseOver: import("react").MouseEventHandler<HTMLElement> | undefined;
|
|
23
23
|
onMouseUp: import("react").MouseEventHandler<HTMLElement> | undefined;
|
|
24
|
-
}) | (Omit<UseClickableProps<HTMLElement, import("@yamada-ui/utils").Dict<any>>, "
|
|
24
|
+
}) | (Omit<UseClickableProps<HTMLElement, import("@yamada-ui/utils").Dict<any>>, "ref" | "tabIndex" | "onKeyDown" | "onKeyUp" | "onClick" | "onMouseDown" | "onMouseLeave" | "onMouseOver" | "onMouseUp" | "clickOnEnter" | "clickOnSpace" | "disabled" | "disableTouchBehavior" | "focusable" | "focusOnClick"> & {
|
|
25
25
|
ref: (node: any) => void;
|
|
26
26
|
"aria-disabled": "true" | undefined;
|
|
27
27
|
"data-active": string | undefined;
|
|
@@ -31,7 +31,7 @@ export declare const useFileInput: <Y extends "button" | "input" = "input">(prop
|
|
|
31
31
|
readOnly: boolean | undefined;
|
|
32
32
|
required: boolean | undefined;
|
|
33
33
|
values: File[] | undefined;
|
|
34
|
-
clickableProps: (Omit<UseClickableProps<HTMLElement, Dict<any>>, "
|
|
34
|
+
clickableProps: (Omit<UseClickableProps<HTMLElement, Dict<any>>, "ref" | "tabIndex" | "onKeyDown" | "onKeyUp" | "onClick" | "onMouseDown" | "onMouseLeave" | "onMouseOver" | "onMouseUp" | "clickOnEnter" | "clickOnSpace" | "disabled" | "disableTouchBehavior" | "focusable" | "focusOnClick"> & {
|
|
35
35
|
ref: (node: any) => void;
|
|
36
36
|
type: "button";
|
|
37
37
|
"aria-disabled": boolean | undefined;
|
|
@@ -43,7 +43,7 @@ export declare const useFileInput: <Y extends "button" | "input" = "input">(prop
|
|
|
43
43
|
onMouseLeave: import("react").MouseEventHandler<HTMLElement> | undefined;
|
|
44
44
|
onMouseOver: import("react").MouseEventHandler<HTMLElement> | undefined;
|
|
45
45
|
onMouseUp: import("react").MouseEventHandler<HTMLElement> | undefined;
|
|
46
|
-
}) | (Omit<UseClickableProps<HTMLElement, Dict<any>>, "
|
|
46
|
+
}) | (Omit<UseClickableProps<HTMLElement, Dict<any>>, "ref" | "tabIndex" | "onKeyDown" | "onKeyUp" | "onClick" | "onMouseDown" | "onMouseLeave" | "onMouseOver" | "onMouseUp" | "clickOnEnter" | "clickOnSpace" | "disabled" | "disableTouchBehavior" | "focusable" | "focusOnClick"> & {
|
|
47
47
|
ref: (node: any) => void;
|
|
48
48
|
"aria-disabled": "true" | undefined;
|
|
49
49
|
"data-active": string | undefined;
|
|
@@ -2,7 +2,7 @@ import { ComponentSlotStyle } from "../../core/system/index.type.js";
|
|
|
2
2
|
import { CSSModifierObject, CSSPropObject, CSSSlotObject } from "../../core/css/index.type.js";
|
|
3
3
|
import "../../index.js";
|
|
4
4
|
//#region src/components/menu/menu.style.d.ts
|
|
5
|
-
export declare const menuStyle: ComponentSlotStyle<"footer" | "header" | "label" | "content" | "command" | "group" | "separator" | "
|
|
5
|
+
export declare const menuStyle: ComponentSlotStyle<"footer" | "header" | "label" | "content" | "command" | "group" | "separator" | "indicator" | "item", CSSPropObject<CSSSlotObject<"footer" | "header" | "label" | "content" | "command" | "group" | "separator" | "indicator" | "item">>, {
|
|
6
6
|
sm: {
|
|
7
7
|
command: {
|
|
8
8
|
fontSize: "2xs";
|
|
@@ -87,7 +87,7 @@ export declare const menuStyle: ComponentSlotStyle<"footer" | "header" | "label"
|
|
|
87
87
|
px: "2";
|
|
88
88
|
};
|
|
89
89
|
};
|
|
90
|
-
}, CSSModifierObject<CSSSlotObject<"footer" | "header" | "label" | "content" | "command" | "group" | "separator" | "
|
|
90
|
+
}, CSSModifierObject<CSSSlotObject<"footer" | "header" | "label" | "content" | "command" | "group" | "separator" | "indicator" | "item">>>;
|
|
91
91
|
export type MenuStyle = typeof menuStyle;
|
|
92
92
|
//#endregion
|
|
93
93
|
//# sourceMappingURL=menu.style.d.ts.map
|
|
@@ -2,7 +2,7 @@ import { ComponentSlotStyle } from "../../core/system/index.type.js";
|
|
|
2
2
|
import { CSSPropObject, CSSSlotObject } from "../../core/css/index.type.js";
|
|
3
3
|
import "../../index.js";
|
|
4
4
|
//#region src/components/number-input/number-input.style.d.ts
|
|
5
|
-
export declare const numberInputStyle: ComponentSlotStyle<"button" | "root" | "
|
|
5
|
+
export declare const numberInputStyle: ComponentSlotStyle<"button" | "root" | "decrement" | "increment" | "field" | "control", CSSPropObject<CSSSlotObject<"button" | "root" | "decrement" | "increment" | "field" | "control">>, {
|
|
6
6
|
xs: {
|
|
7
7
|
control: {
|
|
8
8
|
boxSize: "calc({--height} - {spaces.2})";
|
|
@@ -24,9 +24,9 @@ export interface UseProgressProps {
|
|
|
24
24
|
export declare const useProgress: <Y extends "div" | "svg" = "div">({ max, min, value }?: UseProgressProps) => {
|
|
25
25
|
percent: number;
|
|
26
26
|
getRangeProps: (props?: HTMLProps<Y extends "svg" ? "circle" : "div">) => {
|
|
27
|
+
ref?: import("react").JSX.IntrinsicElements[Y extends "svg" ? "circle" : "div"]["ref"] | undefined;
|
|
27
28
|
slot?: import("react").JSX.IntrinsicElements[Y extends "svg" ? "circle" : "div"]["slot"] | undefined;
|
|
28
29
|
style?: import("react").JSX.IntrinsicElements[Y extends "svg" ? "circle" : "div"]["style"] | undefined;
|
|
29
|
-
ref?: import("react").JSX.IntrinsicElements[Y extends "svg" ? "circle" : "div"]["ref"] | undefined;
|
|
30
30
|
suppressHydrationWarning?: import("react").JSX.IntrinsicElements[Y extends "svg" ? "circle" : "div"]["suppressHydrationWarning"] | undefined;
|
|
31
31
|
className?: import("react").JSX.IntrinsicElements[Y extends "svg" ? "circle" : "div"]["className"] | undefined;
|
|
32
32
|
id?: import("react").JSX.IntrinsicElements[Y extends "svg" ? "circle" : "div"]["id"] | undefined;
|
|
@@ -262,9 +262,9 @@ export declare const useProgress: <Y extends "div" | "svg" = "div">({ max, min,
|
|
|
262
262
|
"data-indeterminate": string | undefined;
|
|
263
263
|
};
|
|
264
264
|
getRootProps: (props?: HTMLProps<Y>) => {
|
|
265
|
+
ref?: import("react").JSX.IntrinsicElements[Y]["ref"] | undefined;
|
|
265
266
|
slot?: import("react").JSX.IntrinsicElements[Y]["slot"] | undefined;
|
|
266
267
|
style?: import("react").JSX.IntrinsicElements[Y]["style"] | undefined;
|
|
267
|
-
ref?: import("react").JSX.IntrinsicElements[Y]["ref"] | undefined;
|
|
268
268
|
suppressHydrationWarning?: import("react").JSX.IntrinsicElements[Y]["suppressHydrationWarning"] | undefined;
|
|
269
269
|
className?: import("react").JSX.IntrinsicElements[Y]["className"] | undefined;
|
|
270
270
|
id?: import("react").JSX.IntrinsicElements[Y]["id"] | undefined;
|
|
@@ -500,9 +500,9 @@ export declare const useProgress: <Y extends "div" | "svg" = "div">({ max, min,
|
|
|
500
500
|
"data-indeterminate": string | undefined;
|
|
501
501
|
};
|
|
502
502
|
getTrackProps: (props?: HTMLProps<Y extends "svg" ? "circle" : "div">) => {
|
|
503
|
+
ref?: import("react").JSX.IntrinsicElements[Y extends "svg" ? "circle" : "div"]["ref"] | undefined;
|
|
503
504
|
slot?: import("react").JSX.IntrinsicElements[Y extends "svg" ? "circle" : "div"]["slot"] | undefined;
|
|
504
505
|
style?: import("react").JSX.IntrinsicElements[Y extends "svg" ? "circle" : "div"]["style"] | undefined;
|
|
505
|
-
ref?: import("react").JSX.IntrinsicElements[Y extends "svg" ? "circle" : "div"]["ref"] | undefined;
|
|
506
506
|
suppressHydrationWarning?: import("react").JSX.IntrinsicElements[Y extends "svg" ? "circle" : "div"]["suppressHydrationWarning"] | undefined;
|
|
507
507
|
className?: import("react").JSX.IntrinsicElements[Y extends "svg" ? "circle" : "div"]["className"] | undefined;
|
|
508
508
|
id?: import("react").JSX.IntrinsicElements[Y extends "svg" ? "circle" : "div"]["id"] | undefined;
|
|
@@ -2,7 +2,7 @@ import { ComponentSlotStyle } from "../../core/system/index.type.js";
|
|
|
2
2
|
import { CSSModifierObject, CSSSlotObject } from "../../core/css/index.type.js";
|
|
3
3
|
import "../../index.js";
|
|
4
4
|
//#region src/components/segmented-control/segmented-control.style.d.ts
|
|
5
|
-
export declare const segmentedControlStyle: ComponentSlotStyle<"root" | "
|
|
5
|
+
export declare const segmentedControlStyle: ComponentSlotStyle<"root" | "indicator" | "item", {
|
|
6
6
|
/**
|
|
7
7
|
* If `true`, the segmented control will be full rounded.
|
|
8
8
|
*
|
|
@@ -114,7 +114,7 @@ export declare const segmentedControlStyle: ComponentSlotStyle<"root" | "item" |
|
|
|
114
114
|
};
|
|
115
115
|
};
|
|
116
116
|
};
|
|
117
|
-
}, CSSModifierObject<CSSSlotObject<"root" | "
|
|
117
|
+
}, CSSModifierObject<CSSSlotObject<"root" | "indicator" | "item">>>;
|
|
118
118
|
export type SegmentedControlStyle = typeof segmentedControlStyle;
|
|
119
119
|
//#endregion
|
|
120
120
|
//# sourceMappingURL=segmented-control.style.d.ts.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { ComponentSlotStyle } from "../../core/system/index.type.js";
|
|
2
2
|
import "../../index.js";
|
|
3
3
|
//#region src/components/steps/steps.style.d.ts
|
|
4
|
-
export declare const stepsStyle: ComponentSlotStyle<"title" | "list" | "separator" | "root" | "
|
|
4
|
+
export declare const stepsStyle: ComponentSlotStyle<"title" | "list" | "separator" | "root" | "indicator" | "description" | "item", {
|
|
5
5
|
/**
|
|
6
6
|
* The orientation of the steps.
|
|
7
7
|
*
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { ComponentSlotStyle } from "../../core/system/index.type.js";
|
|
2
2
|
import "../../index.js";
|
|
3
3
|
//#region src/components/tabs/tabs.style.d.ts
|
|
4
|
-
export declare const tabsStyle: ComponentSlotStyle<"
|
|
4
|
+
export declare const tabsStyle: ComponentSlotStyle<"list" | "tab" | "panel" | "root", {
|
|
5
5
|
/**
|
|
6
6
|
* The alignment of the tabs.
|
|
7
7
|
*
|
|
@@ -62,7 +62,7 @@ declare const TimelinePropsContext: import("react").Context<Partial<TimelineRoot
|
|
|
62
62
|
*
|
|
63
63
|
* @see https://yamada-ui.com/docs/components/timeline
|
|
64
64
|
*/
|
|
65
|
-
export declare const TimelineRoot: Component<({ variant: variantProp, children, index, items, ...rest }: WithoutThemeProps<TimelineRootProps, ComponentSlotStyle<"title" | "content" | "root" | "
|
|
65
|
+
export declare const TimelineRoot: Component<({ variant: variantProp, children, index, items, ...rest }: WithoutThemeProps<TimelineRootProps, ComponentSlotStyle<"title" | "content" | "root" | "indicator" | "description" | "item" | "connector", {
|
|
66
66
|
align: {
|
|
67
67
|
center: {
|
|
68
68
|
content: {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { ComponentSlotStyle } from "../../core/system/index.type.js";
|
|
2
2
|
import "../../index.js";
|
|
3
3
|
//#region src/components/timeline/timeline.style.d.ts
|
|
4
|
-
export declare const timelineStyle: ComponentSlotStyle<"title" | "content" | "root" | "
|
|
4
|
+
export declare const timelineStyle: ComponentSlotStyle<"title" | "content" | "root" | "indicator" | "description" | "item" | "connector", {
|
|
5
5
|
/**
|
|
6
6
|
* The alignment of the timeline.
|
|
7
7
|
*
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { ComponentSlotStyle } from "../../core/system/index.type.js";
|
|
2
2
|
import "../../index.js";
|
|
3
3
|
//#region src/components/tree/tree.style.d.ts
|
|
4
|
-
export declare const treeStyle: ComponentSlotStyle<"label" | "checkbox" | "group" | "end" | "start" | "element" | "root" | "
|
|
4
|
+
export declare const treeStyle: ComponentSlotStyle<"label" | "checkbox" | "group" | "end" | "start" | "element" | "root" | "indicator" | "item", {
|
|
5
5
|
/**
|
|
6
6
|
* The shape of the component
|
|
7
7
|
*
|
|
@@ -214,12 +214,11 @@ export declare const useTreeItem: ({ asyncChildren, children: childrenProp, defa
|
|
|
214
214
|
level: number;
|
|
215
215
|
props: {
|
|
216
216
|
[key: `data-${string}`]: string | undefined;
|
|
217
|
+
ref?: import("react").Ref<HTMLDivElement> | undefined;
|
|
217
218
|
slot?: string | undefined | undefined;
|
|
218
219
|
style?: import("react").CSSProperties | undefined;
|
|
219
220
|
title?: string | undefined | undefined;
|
|
220
221
|
translate?: "yes" | "no" | undefined | undefined;
|
|
221
|
-
hidden?: boolean | undefined | undefined;
|
|
222
|
-
ref?: import("react").Ref<HTMLDivElement> | undefined;
|
|
223
222
|
defaultChecked?: boolean | undefined | undefined;
|
|
224
223
|
defaultValue?: string | number | readonly string[] | undefined;
|
|
225
224
|
suppressContentEditableWarning?: boolean | undefined | undefined;
|
|
@@ -228,11 +227,12 @@ export declare const useTreeItem: ({ asyncChildren, children: childrenProp, defa
|
|
|
228
227
|
autoCapitalize?: "off" | "none" | "on" | "sentences" | "words" | "characters" | undefined | (string & {}) | undefined;
|
|
229
228
|
autoFocus?: boolean | undefined | undefined;
|
|
230
229
|
className?: string | undefined | undefined;
|
|
231
|
-
contentEditable?:
|
|
230
|
+
contentEditable?: (boolean | "true" | "false") | "inherit" | "plaintext-only" | undefined;
|
|
232
231
|
contextMenu?: string | undefined | undefined;
|
|
233
232
|
dir?: string | undefined | undefined;
|
|
234
233
|
draggable?: (boolean | "true" | "false") | undefined;
|
|
235
234
|
enterKeyHint?: "enter" | "done" | "go" | "next" | "previous" | "search" | "send" | undefined | undefined;
|
|
235
|
+
hidden?: boolean | undefined | undefined;
|
|
236
236
|
id?: string | undefined | undefined;
|
|
237
237
|
lang?: string | undefined | undefined;
|
|
238
238
|
nonce?: string | undefined | undefined;
|
|
@@ -46,7 +46,7 @@ export type UseClickableProps<Y extends HTMLElement = HTMLElement, M extends Use
|
|
|
46
46
|
*/
|
|
47
47
|
ref?: Ref<Y>;
|
|
48
48
|
};
|
|
49
|
-
export declare const useClickable: <Y extends HTMLElement = HTMLElement, M extends UseClickableElementProps<Y> = UseClickableElementProps<Y>>({ ref, clickOnEnter, clickOnSpace, disabled, disableTouchBehavior, focusable, focusOnClick, tabIndex: tabIndexProp, onClick: onClickProp, onKeyDown: onKeyDownProp, onKeyUp: onKeyUpProp, onMouseDown: onMouseDownProp, onMouseLeave: onMouseLeaveProp, onMouseOver: onMouseOverProp, onMouseUp: onMouseUpProp, ...props }?: UseClickableProps<Y, M>) => (Omit<UseClickableProps<Y, M>, "
|
|
49
|
+
export declare const useClickable: <Y extends HTMLElement = HTMLElement, M extends UseClickableElementProps<Y> = UseClickableElementProps<Y>>({ ref, clickOnEnter, clickOnSpace, disabled, disableTouchBehavior, focusable, focusOnClick, tabIndex: tabIndexProp, onClick: onClickProp, onKeyDown: onKeyDownProp, onKeyUp: onKeyUpProp, onMouseDown: onMouseDownProp, onMouseLeave: onMouseLeaveProp, onMouseOver: onMouseOverProp, onMouseUp: onMouseUpProp, ...props }?: UseClickableProps<Y, M>) => (Omit<UseClickableProps<Y, M>, "ref" | "tabIndex" | "onKeyDown" | "onKeyUp" | "onClick" | "onMouseDown" | "onMouseLeave" | "onMouseOver" | "onMouseUp" | "clickOnEnter" | "clickOnSpace" | "disabled" | "disableTouchBehavior" | "focusable" | "focusOnClick"> & {
|
|
50
50
|
ref: (node: any) => void;
|
|
51
51
|
type: "button";
|
|
52
52
|
"aria-disabled": boolean | undefined;
|
|
@@ -58,7 +58,7 @@ export declare const useClickable: <Y extends HTMLElement = HTMLElement, M exten
|
|
|
58
58
|
onMouseLeave: import("react").MouseEventHandler<Y> | undefined;
|
|
59
59
|
onMouseOver: import("react").MouseEventHandler<Y> | undefined;
|
|
60
60
|
onMouseUp: import("react").MouseEventHandler<Y> | undefined;
|
|
61
|
-
}) | (Omit<UseClickableProps<Y, M>, "
|
|
61
|
+
}) | (Omit<UseClickableProps<Y, M>, "ref" | "tabIndex" | "onKeyDown" | "onKeyUp" | "onClick" | "onMouseDown" | "onMouseLeave" | "onMouseOver" | "onMouseUp" | "clickOnEnter" | "clickOnSpace" | "disabled" | "disableTouchBehavior" | "focusable" | "focusOnClick"> & {
|
|
62
62
|
ref: (node: any) => void;
|
|
63
63
|
"aria-disabled": "true" | undefined;
|
|
64
64
|
"data-active": string | undefined;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@yamada-ui/react",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "2.3.0-dev-
|
|
4
|
+
"version": "2.3.0-dev-20261026045445",
|
|
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",
|
|
@@ -126,7 +126,7 @@
|
|
|
126
126
|
"@emotion/utils": "^1.4.2",
|
|
127
127
|
"@floating-ui/react-dom": "^2.1.9",
|
|
128
128
|
"@tanstack/react-table": "^8.21.3",
|
|
129
|
-
"@yamada-ui/utils": "2.1.8-dev-
|
|
129
|
+
"@yamada-ui/utils": "2.1.8-dev-20261026045445",
|
|
130
130
|
"copy-to-clipboard": "3.3.3",
|
|
131
131
|
"csstype": "^3.2.3",
|
|
132
132
|
"dayjs": "^1.11.23",
|
|
@@ -137,8 +137,8 @@
|
|
|
137
137
|
"intl-messageformat": "^11.2.15",
|
|
138
138
|
"lucide-react": "1.55.0",
|
|
139
139
|
"motion": "^12.43.0",
|
|
140
|
-
"react": "^19.3.
|
|
141
|
-
"react-dom": "^19.3.
|
|
140
|
+
"react": "^19.3.1",
|
|
141
|
+
"react-dom": "^19.3.1",
|
|
142
142
|
"react-dropzone": "^15.0.0",
|
|
143
143
|
"react-fast-compare": "^3.2.2",
|
|
144
144
|
"react-focus-lock": "^2.13.7",
|