@yamada-ui/react 2.3.0-dev-20261026045445 → 2.3.0-dev-20261026051151
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/carousel/carousel.style.d.ts +2 -2
- 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/field.style.d.ts +2 -2
- package/dist/types/components/field/use-field-props.d.ts +1 -1
- package/dist/types/components/fieldset/fieldset.style.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/progress/use-progress.d.ts +3 -3
- 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/use-tree.d.ts +3 -3
- package/dist/types/hooks/use-clickable/index.d.ts +2 -2
- package/package.json +5 -5
|
@@ -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<"title" | "loading" | "icon" | "root" | "description", CSSPropObject<CSSSlotObject<"title" | "loading" | "icon" | "root" | "description">>, CSSModifierObject<CSSSlotObject<"title" | "loading" | "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" | "root" | "fallback", {
|
|
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" | "root" | "fallback", {
|
|
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" | "root" | "fallback", {
|
|
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" | "root" | "fallback", {
|
|
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, 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" | "indicator" | "item" | "trigger" | "
|
|
5
|
+
export declare const carouselStyle: ComponentSlotStyle<"list" | "next" | "root" | "indicator" | "item" | "trigger" | "prev" | "indicators", CSSPropObject<CSSSlotObject<"list" | "next" | "root" | "indicator" | "item" | "trigger" | "prev" | "indicators">>, {
|
|
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" | "indicator" | "item" | "trigger" | "
|
|
21
|
+
}, CSSModifierObject<CSSSlotObject<"list" | "next" | "root" | "indicator" | "item" | "trigger" | "prev" | "indicators">>>;
|
|
22
22
|
export type CarouselStyle = typeof carouselStyle;
|
|
23
23
|
//#endregion
|
|
24
24
|
//# sourceMappingURL=carousel.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/data-list/data-list.style.d.ts
|
|
4
|
-
export declare const dataListStyle: ComponentSlotStyle<"term" | "root" | "
|
|
4
|
+
export declare const dataListStyle: ComponentSlotStyle<"term" | "root" | "item" | "description", {
|
|
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<"title" | "overlay" | "loading" | "icon" | "root" | "description", CSSPropObject<CSSSlotObject<"title" | "overlay" | "loading" | "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<"title" | "overlay" | "loading" | "icon" | "root" | "description", CSSPropObject<CSSSlotObject<"title" | "overlay" | "loading" | "icon" | "root" | "description">>, {
|
|
6
6
|
xs: {
|
|
7
7
|
root: {
|
|
8
8
|
minH: "xs";
|
|
@@ -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/field/field.style.d.ts
|
|
5
|
-
export declare const fieldStyle: ComponentSlotStyle<"label" | "root" | "
|
|
5
|
+
export declare const fieldStyle: ComponentSlotStyle<"label" | "root" | "helperMessage" | "errorMessage" | "requiredIndicator", {
|
|
6
6
|
/**
|
|
7
7
|
* The orientation of the field.
|
|
8
8
|
*/
|
|
@@ -36,7 +36,7 @@ export declare const fieldStyle: ComponentSlotStyle<"label" | "root" | "errorMes
|
|
|
36
36
|
};
|
|
37
37
|
};
|
|
38
38
|
};
|
|
39
|
-
}, CSSModifierObject<CSSSlotObject<"label" | "root" | "
|
|
39
|
+
}, CSSModifierObject<CSSSlotObject<"label" | "root" | "helperMessage" | "errorMessage" | "requiredIndicator">>, CSSModifierObject<CSSSlotObject<"label" | "root" | "helperMessage" | "errorMessage" | "requiredIndicator">>>;
|
|
40
40
|
export type FieldStyle = typeof fieldStyle;
|
|
41
41
|
//#endregion
|
|
42
42
|
//# sourceMappingURL=field.style.d.ts.map
|
|
@@ -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>, "disabled" | "readOnly" | "id" | "aria-describedby" | "onFocus" | "onBlur" | "invalid" | "name" | "required" | "notSupportReadOnly">;
|
|
21
21
|
ariaProps: {
|
|
22
22
|
"aria-describedby": any;
|
|
23
23
|
"aria-disabled": (boolean | "true" | "false") | undefined;
|
|
@@ -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/fieldset/fieldset.style.d.ts
|
|
5
|
-
export declare const fieldsetStyle: ComponentSlotStyle<"header" | "legend" | "content" | "root" | "
|
|
5
|
+
export declare const fieldsetStyle: ComponentSlotStyle<"header" | "legend" | "content" | "root" | "helperMessage" | "errorMessage", CSSPropObject<CSSSlotObject<"header" | "legend" | "content" | "root" | "helperMessage" | "errorMessage">>, {
|
|
6
6
|
sm: {
|
|
7
7
|
content: {
|
|
8
8
|
gap: "3";
|
|
@@ -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>>, "ref" | "tabIndex" | "onKeyDown" | "onKeyUp" | "onClick" | "onMouseDown" | "onMouseLeave" | "onMouseOver" | "onMouseUp" | "clickOnEnter" | "clickOnSpace" | "
|
|
12
|
+
clickableProps: (Omit<UseClickableProps<HTMLElement, import("@yamada-ui/utils").Dict<any>>, "disabled" | "ref" | "tabIndex" | "onKeyDown" | "onKeyUp" | "onClick" | "onMouseDown" | "onMouseLeave" | "onMouseOver" | "onMouseUp" | "clickOnEnter" | "clickOnSpace" | "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>>, "ref" | "tabIndex" | "onKeyDown" | "onKeyUp" | "onClick" | "onMouseDown" | "onMouseLeave" | "onMouseOver" | "onMouseUp" | "clickOnEnter" | "clickOnSpace" | "
|
|
24
|
+
}) | (Omit<UseClickableProps<HTMLElement, import("@yamada-ui/utils").Dict<any>>, "disabled" | "ref" | "tabIndex" | "onKeyDown" | "onKeyUp" | "onClick" | "onMouseDown" | "onMouseLeave" | "onMouseOver" | "onMouseUp" | "clickOnEnter" | "clickOnSpace" | "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>>, "ref" | "tabIndex" | "onKeyDown" | "onKeyUp" | "onClick" | "onMouseDown" | "onMouseLeave" | "onMouseOver" | "onMouseUp" | "clickOnEnter" | "clickOnSpace" | "
|
|
34
|
+
clickableProps: (Omit<UseClickableProps<HTMLElement, Dict<any>>, "disabled" | "ref" | "tabIndex" | "onKeyDown" | "onKeyUp" | "onClick" | "onMouseDown" | "onMouseLeave" | "onMouseOver" | "onMouseUp" | "clickOnEnter" | "clickOnSpace" | "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>>, "ref" | "tabIndex" | "onKeyDown" | "onKeyUp" | "onClick" | "onMouseDown" | "onMouseLeave" | "onMouseOver" | "onMouseUp" | "clickOnEnter" | "clickOnSpace" | "
|
|
46
|
+
}) | (Omit<UseClickableProps<HTMLElement, Dict<any>>, "disabled" | "ref" | "tabIndex" | "onKeyDown" | "onKeyUp" | "onClick" | "onMouseDown" | "onMouseLeave" | "onMouseOver" | "onMouseUp" | "clickOnEnter" | "clickOnSpace" | "disableTouchBehavior" | "focusable" | "focusOnClick"> & {
|
|
47
47
|
ref: (node: any) => void;
|
|
48
48
|
"aria-disabled": "true" | undefined;
|
|
49
49
|
"data-active": string | undefined;
|
|
@@ -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;
|
|
28
27
|
slot?: import("react").JSX.IntrinsicElements[Y extends "svg" ? "circle" : "div"]["slot"] | undefined;
|
|
29
28
|
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;
|
|
266
265
|
slot?: import("react").JSX.IntrinsicElements[Y]["slot"] | undefined;
|
|
267
266
|
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;
|
|
504
503
|
slot?: import("react").JSX.IntrinsicElements[Y extends "svg" ? "circle" : "div"]["slot"] | undefined;
|
|
505
504
|
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;
|
|
@@ -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" | "indicator" | "
|
|
4
|
+
export declare const stepsStyle: ComponentSlotStyle<"title" | "list" | "separator" | "root" | "indicator" | "item" | "description", {
|
|
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<"panel" | "list" | "tab" | "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" | "indicator" | "
|
|
65
|
+
export declare const TimelineRoot: Component<({ variant: variantProp, children, index, items, ...rest }: WithoutThemeProps<TimelineRootProps, ComponentSlotStyle<"title" | "content" | "root" | "indicator" | "item" | "description" | "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" | "indicator" | "
|
|
4
|
+
export declare const timelineStyle: ComponentSlotStyle<"title" | "content" | "root" | "indicator" | "item" | "description" | "connector", {
|
|
5
5
|
/**
|
|
6
6
|
* The alignment of the timeline.
|
|
7
7
|
*
|
|
@@ -214,11 +214,12 @@ 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;
|
|
218
217
|
slot?: string | undefined | undefined;
|
|
219
218
|
style?: import("react").CSSProperties | undefined;
|
|
220
219
|
title?: string | undefined | undefined;
|
|
221
220
|
translate?: "yes" | "no" | undefined | undefined;
|
|
221
|
+
hidden?: boolean | undefined | undefined;
|
|
222
|
+
ref?: import("react").Ref<HTMLDivElement> | undefined;
|
|
222
223
|
defaultChecked?: boolean | undefined | undefined;
|
|
223
224
|
defaultValue?: string | number | readonly string[] | undefined;
|
|
224
225
|
suppressContentEditableWarning?: boolean | undefined | undefined;
|
|
@@ -227,12 +228,11 @@ export declare const useTreeItem: ({ asyncChildren, children: childrenProp, defa
|
|
|
227
228
|
autoCapitalize?: "off" | "none" | "on" | "sentences" | "words" | "characters" | undefined | (string & {}) | undefined;
|
|
228
229
|
autoFocus?: boolean | undefined | undefined;
|
|
229
230
|
className?: string | undefined | undefined;
|
|
230
|
-
contentEditable?: (boolean | "true" | "false") | "
|
|
231
|
+
contentEditable?: "inherit" | (boolean | "true" | "false") | "plaintext-only" | undefined;
|
|
231
232
|
contextMenu?: string | undefined | undefined;
|
|
232
233
|
dir?: string | undefined | undefined;
|
|
233
234
|
draggable?: (boolean | "true" | "false") | undefined;
|
|
234
235
|
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>, "ref" | "tabIndex" | "onKeyDown" | "onKeyUp" | "onClick" | "onMouseDown" | "onMouseLeave" | "onMouseOver" | "onMouseUp" | "clickOnEnter" | "clickOnSpace" | "
|
|
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>, "disabled" | "ref" | "tabIndex" | "onKeyDown" | "onKeyUp" | "onClick" | "onMouseDown" | "onMouseLeave" | "onMouseOver" | "onMouseUp" | "clickOnEnter" | "clickOnSpace" | "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>, "ref" | "tabIndex" | "onKeyDown" | "onKeyUp" | "onClick" | "onMouseDown" | "onMouseLeave" | "onMouseOver" | "onMouseUp" | "clickOnEnter" | "clickOnSpace" | "
|
|
61
|
+
}) | (Omit<UseClickableProps<Y, M>, "disabled" | "ref" | "tabIndex" | "onKeyDown" | "onKeyUp" | "onClick" | "onMouseDown" | "onMouseLeave" | "onMouseOver" | "onMouseUp" | "clickOnEnter" | "clickOnSpace" | "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-20261026051151",
|
|
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-20261026051151",
|
|
130
130
|
"copy-to-clipboard": "3.3.3",
|
|
131
131
|
"csstype": "^3.2.3",
|
|
132
132
|
"dayjs": "^1.11.23",
|
|
@@ -156,13 +156,13 @@
|
|
|
156
156
|
"@lucide/lab": "^0.7.0",
|
|
157
157
|
"@mdn/browser-compat-data": "7.3.17",
|
|
158
158
|
"@testing-library/react": "^16.3.3",
|
|
159
|
-
"@testing-library/user-event": "^14.6.
|
|
159
|
+
"@testing-library/user-event": "^14.6.8",
|
|
160
160
|
"@types/babel__traverse": "^7.28.0",
|
|
161
161
|
"@types/jsdom": "^28.0.1",
|
|
162
162
|
"@types/yamljs": "^0.2.34",
|
|
163
163
|
"@vitejs/plugin-react": "^6.1.2",
|
|
164
|
-
"@vitest/browser": "^4.1.
|
|
165
|
-
"@vitest/browser-playwright": "^4.1.
|
|
164
|
+
"@vitest/browser": "^4.1.12",
|
|
165
|
+
"@vitest/browser-playwright": "^4.1.12",
|
|
166
166
|
"@yamada-ui/workspace": "1.0.0",
|
|
167
167
|
"axe-core": "^4.14.0",
|
|
168
168
|
"axe-playwright": "^2.2.2",
|