@yamada-ui/react 2.3.0-dev-20261024140900 → 2.3.0-dev-20261024165228
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/cjs/components/accordion/accordion.cjs +4 -3
- package/dist/cjs/components/accordion/accordion.cjs.map +1 -1
- package/dist/cjs/components/aspect-ratio/aspect-ratio.cjs +2 -2
- package/dist/cjs/components/aspect-ratio/aspect-ratio.cjs.map +1 -1
- package/dist/cjs/components/button/button.cjs +11 -8
- package/dist/cjs/components/button/button.cjs.map +1 -1
- package/dist/cjs/components/field/field.cjs +4 -3
- package/dist/cjs/components/field/field.cjs.map +1 -1
- package/dist/cjs/components/list/list.cjs +5 -3
- package/dist/cjs/components/list/list.cjs.map +1 -1
- package/dist/cjs/components/native-accordion/native-accordion.cjs +4 -3
- package/dist/cjs/components/native-accordion/native-accordion.cjs.map +1 -1
- package/dist/cjs/components/sidebar/sidebar.cjs +4 -3
- package/dist/cjs/components/sidebar/sidebar.cjs.map +1 -1
- package/dist/cjs/components/slot/slot.cjs +10 -9
- package/dist/cjs/components/slot/slot.cjs.map +1 -1
- package/dist/cjs/components/tree/tree.cjs +5 -3
- package/dist/cjs/components/tree/tree.cjs.map +1 -1
- package/dist/cjs/index.cjs +4 -0
- package/dist/cjs/utils/children.cjs +22 -9
- package/dist/cjs/utils/children.cjs.map +1 -1
- package/dist/cjs/utils/index.cjs +4 -0
- package/dist/esm/components/accordion/accordion.js +5 -4
- package/dist/esm/components/accordion/accordion.js.map +1 -1
- package/dist/esm/components/aspect-ratio/aspect-ratio.js +2 -2
- package/dist/esm/components/aspect-ratio/aspect-ratio.js.map +1 -1
- package/dist/esm/components/button/button.js +11 -8
- package/dist/esm/components/button/button.js.map +1 -1
- package/dist/esm/components/field/field.js +5 -4
- package/dist/esm/components/field/field.js.map +1 -1
- package/dist/esm/components/list/list.js +5 -3
- package/dist/esm/components/list/list.js.map +1 -1
- package/dist/esm/components/native-accordion/native-accordion.js +5 -4
- package/dist/esm/components/native-accordion/native-accordion.js.map +1 -1
- package/dist/esm/components/sidebar/sidebar.js +5 -4
- package/dist/esm/components/sidebar/sidebar.js.map +1 -1
- package/dist/esm/components/slot/slot.js +11 -10
- package/dist/esm/components/slot/slot.js.map +1 -1
- package/dist/esm/components/tree/tree.js +5 -3
- package/dist/esm/components/tree/tree.js.map +1 -1
- package/dist/esm/index.js +4 -2
- package/dist/esm/utils/children.js +22 -11
- package/dist/esm/utils/children.js.map +1 -1
- package/dist/esm/utils/index.js +4 -2
- package/dist/types/components/accordion/accordion.style.d.ts +1 -1
- package/dist/types/components/alert/alert.style.d.ts +1 -1
- package/dist/types/components/autocomplete/autocomplete.style.d.ts +1 -1
- package/dist/types/components/breadcrumb/breadcrumb.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/chart/cartesian-chart.style.d.ts +1 -1
- package/dist/types/components/chart/polar-chart.style.d.ts +1 -1
- package/dist/types/components/date-picker/date-picker.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/native-accordion/native-accordion.style.d.ts +2 -2
- package/dist/types/components/progress/use-progress.d.ts +6 -6
- package/dist/types/components/rating/rating.style.d.ts +2 -2
- package/dist/types/components/segmented-control/segmented-control.style.d.ts +2 -2
- package/dist/types/components/select/select.style.d.ts +1 -1
- package/dist/types/components/stat/stat.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 +4 -4
- package/dist/types/hooks/use-clickable/index.d.ts +2 -2
- package/dist/types/index.d.ts +3 -3
- package/dist/types/providers/i18n-provider/i18n-provider.d.ts +1 -1
- package/dist/types/utils/children.d.ts +11 -2
- package/dist/types/utils/index.d.ts +3 -3
- package/package.json +2 -2
|
@@ -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;
|
|
@@ -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>>, "disabled" | "ref" | "tabIndex" | "onKeyDown" | "onKeyUp" | "onClick" | "onMouseDown" | "onMouseLeave" | "onMouseOver" | "onMouseUp" | "
|
|
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>>, "disabled" | "ref" | "tabIndex" | "onKeyDown" | "onKeyUp" | "onClick" | "onMouseDown" | "onMouseLeave" | "onMouseOver" | "onMouseUp" | "
|
|
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>>, "disabled" | "ref" | "tabIndex" | "onKeyDown" | "onKeyUp" | "onClick" | "onMouseDown" | "onMouseLeave" | "onMouseOver" | "onMouseUp" | "
|
|
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>>, "disabled" | "ref" | "tabIndex" | "onKeyDown" | "onKeyUp" | "onClick" | "onMouseDown" | "onMouseLeave" | "onMouseOver" | "onMouseUp" | "
|
|
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;
|
|
@@ -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" | "
|
|
5
|
+
export declare const menuStyle: ComponentSlotStyle<"footer" | "header" | "label" | "content" | "command" | "group" | "separator" | "item" | "indicator", CSSPropObject<CSSSlotObject<"footer" | "header" | "label" | "content" | "command" | "group" | "separator" | "item" | "indicator">>, {
|
|
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" | "
|
|
90
|
+
}, CSSModifierObject<CSSSlotObject<"footer" | "header" | "label" | "content" | "command" | "group" | "separator" | "item" | "indicator">>>;
|
|
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 { CSSModifierObject, CSSSlotObject } from "../../core/css/index.type.js";
|
|
3
3
|
import "../../index.js";
|
|
4
4
|
//#region src/components/native-accordion/native-accordion.style.d.ts
|
|
5
|
-
export declare const nativeAccordionStyle: ComponentSlotStyle<"button" | "
|
|
5
|
+
export declare const nativeAccordionStyle: ComponentSlotStyle<"button" | "panel" | "icon" | "root" | "item", {
|
|
6
6
|
/**
|
|
7
7
|
* If `true`, animate the accordion items when they are expanded or collapsed.
|
|
8
8
|
*
|
|
@@ -32,7 +32,7 @@ export declare const nativeAccordionStyle: ComponentSlotStyle<"button" | "icon"
|
|
|
32
32
|
};
|
|
33
33
|
};
|
|
34
34
|
};
|
|
35
|
-
}, CSSModifierObject<CSSSlotObject<"button" | "
|
|
35
|
+
}, CSSModifierObject<CSSSlotObject<"button" | "panel" | "icon" | "root" | "item">>, {
|
|
36
36
|
panel: {
|
|
37
37
|
button: {
|
|
38
38
|
rounded: "l2";
|
|
@@ -24,13 +24,12 @@ 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
|
-
id?: import("react").JSX.IntrinsicElements[Y extends "svg" ? "circle" : "div"]["id"] | undefined;
|
|
28
|
-
key?: import("react").JSX.IntrinsicElements[Y extends "svg" ? "circle" : "div"]["key"] | undefined;
|
|
29
27
|
slot?: import("react").JSX.IntrinsicElements[Y extends "svg" ? "circle" : "div"]["slot"] | undefined;
|
|
30
28
|
style?: import("react").JSX.IntrinsicElements[Y extends "svg" ? "circle" : "div"]["style"] | undefined;
|
|
31
29
|
ref?: import("react").JSX.IntrinsicElements[Y extends "svg" ? "circle" : "div"]["ref"] | undefined;
|
|
32
30
|
suppressHydrationWarning?: import("react").JSX.IntrinsicElements[Y extends "svg" ? "circle" : "div"]["suppressHydrationWarning"] | undefined;
|
|
33
31
|
className?: import("react").JSX.IntrinsicElements[Y extends "svg" ? "circle" : "div"]["className"] | undefined;
|
|
32
|
+
id?: import("react").JSX.IntrinsicElements[Y extends "svg" ? "circle" : "div"]["id"] | undefined;
|
|
34
33
|
lang?: import("react").JSX.IntrinsicElements[Y extends "svg" ? "circle" : "div"]["lang"] | undefined;
|
|
35
34
|
nonce?: import("react").JSX.IntrinsicElements[Y extends "svg" ? "circle" : "div"]["nonce"] | undefined;
|
|
36
35
|
tabIndex?: import("react").JSX.IntrinsicElements[Y extends "svg" ? "circle" : "div"]["tabIndex"] | undefined;
|
|
@@ -259,16 +258,16 @@ export declare const useProgress: <Y extends "div" | "svg" = "div">({ max, min,
|
|
|
259
258
|
onTransitionRunCapture?: import("react").JSX.IntrinsicElements[Y extends "svg" ? "circle" : "div"]["onTransitionRunCapture"] | undefined;
|
|
260
259
|
onTransitionStart?: import("react").JSX.IntrinsicElements[Y extends "svg" ? "circle" : "div"]["onTransitionStart"] | undefined;
|
|
261
260
|
onTransitionStartCapture?: import("react").JSX.IntrinsicElements[Y extends "svg" ? "circle" : "div"]["onTransitionStartCapture"] | undefined;
|
|
261
|
+
key?: import("react").JSX.IntrinsicElements[Y extends "svg" ? "circle" : "div"]["key"] | undefined;
|
|
262
262
|
"data-indeterminate": string | undefined;
|
|
263
263
|
};
|
|
264
264
|
getRootProps: (props?: HTMLProps<Y>) => {
|
|
265
|
-
id?: import("react").JSX.IntrinsicElements[Y]["id"] | undefined;
|
|
266
|
-
key?: import("react").JSX.IntrinsicElements[Y]["key"] | undefined;
|
|
267
265
|
slot?: import("react").JSX.IntrinsicElements[Y]["slot"] | undefined;
|
|
268
266
|
style?: import("react").JSX.IntrinsicElements[Y]["style"] | undefined;
|
|
269
267
|
ref?: import("react").JSX.IntrinsicElements[Y]["ref"] | undefined;
|
|
270
268
|
suppressHydrationWarning?: import("react").JSX.IntrinsicElements[Y]["suppressHydrationWarning"] | undefined;
|
|
271
269
|
className?: import("react").JSX.IntrinsicElements[Y]["className"] | undefined;
|
|
270
|
+
id?: import("react").JSX.IntrinsicElements[Y]["id"] | undefined;
|
|
272
271
|
lang?: import("react").JSX.IntrinsicElements[Y]["lang"] | undefined;
|
|
273
272
|
nonce?: import("react").JSX.IntrinsicElements[Y]["nonce"] | undefined;
|
|
274
273
|
tabIndex?: import("react").JSX.IntrinsicElements[Y]["tabIndex"] | undefined;
|
|
@@ -497,16 +496,16 @@ export declare const useProgress: <Y extends "div" | "svg" = "div">({ max, min,
|
|
|
497
496
|
onTransitionRunCapture?: import("react").JSX.IntrinsicElements[Y]["onTransitionRunCapture"] | undefined;
|
|
498
497
|
onTransitionStart?: import("react").JSX.IntrinsicElements[Y]["onTransitionStart"] | undefined;
|
|
499
498
|
onTransitionStartCapture?: import("react").JSX.IntrinsicElements[Y]["onTransitionStartCapture"] | undefined;
|
|
499
|
+
key?: import("react").JSX.IntrinsicElements[Y]["key"] | undefined;
|
|
500
500
|
"data-indeterminate": string | undefined;
|
|
501
501
|
};
|
|
502
502
|
getTrackProps: (props?: HTMLProps<Y extends "svg" ? "circle" : "div">) => {
|
|
503
|
-
id?: import("react").JSX.IntrinsicElements[Y extends "svg" ? "circle" : "div"]["id"] | undefined;
|
|
504
|
-
key?: import("react").JSX.IntrinsicElements[Y extends "svg" ? "circle" : "div"]["key"] | undefined;
|
|
505
503
|
slot?: import("react").JSX.IntrinsicElements[Y extends "svg" ? "circle" : "div"]["slot"] | undefined;
|
|
506
504
|
style?: import("react").JSX.IntrinsicElements[Y extends "svg" ? "circle" : "div"]["style"] | undefined;
|
|
507
505
|
ref?: import("react").JSX.IntrinsicElements[Y extends "svg" ? "circle" : "div"]["ref"] | undefined;
|
|
508
506
|
suppressHydrationWarning?: import("react").JSX.IntrinsicElements[Y extends "svg" ? "circle" : "div"]["suppressHydrationWarning"] | undefined;
|
|
509
507
|
className?: import("react").JSX.IntrinsicElements[Y extends "svg" ? "circle" : "div"]["className"] | undefined;
|
|
508
|
+
id?: import("react").JSX.IntrinsicElements[Y extends "svg" ? "circle" : "div"]["id"] | undefined;
|
|
510
509
|
lang?: import("react").JSX.IntrinsicElements[Y extends "svg" ? "circle" : "div"]["lang"] | undefined;
|
|
511
510
|
nonce?: import("react").JSX.IntrinsicElements[Y extends "svg" ? "circle" : "div"]["nonce"] | undefined;
|
|
512
511
|
tabIndex?: import("react").JSX.IntrinsicElements[Y extends "svg" ? "circle" : "div"]["tabIndex"] | undefined;
|
|
@@ -735,6 +734,7 @@ export declare const useProgress: <Y extends "div" | "svg" = "div">({ max, min,
|
|
|
735
734
|
onTransitionRunCapture?: import("react").JSX.IntrinsicElements[Y extends "svg" ? "circle" : "div"]["onTransitionRunCapture"] | undefined;
|
|
736
735
|
onTransitionStart?: import("react").JSX.IntrinsicElements[Y extends "svg" ? "circle" : "div"]["onTransitionStart"] | undefined;
|
|
737
736
|
onTransitionStartCapture?: import("react").JSX.IntrinsicElements[Y extends "svg" ? "circle" : "div"]["onTransitionStartCapture"] | undefined;
|
|
737
|
+
key?: import("react").JSX.IntrinsicElements[Y extends "svg" ? "circle" : "div"]["key"] | undefined;
|
|
738
738
|
"data-indeterminate": string | undefined;
|
|
739
739
|
};
|
|
740
740
|
};
|
|
@@ -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/rating/rating.style.d.ts
|
|
5
|
-
export declare const ratingStyle: ComponentSlotStyle<"
|
|
5
|
+
export declare const ratingStyle: ComponentSlotStyle<"group" | "icon" | "root" | "item", CSSPropObject<CSSSlotObject<"group" | "icon" | "root" | "item">>, {
|
|
6
6
|
xs: {
|
|
7
7
|
icon: {
|
|
8
8
|
fontSize: "md";
|
|
@@ -28,7 +28,7 @@ export declare const ratingStyle: ComponentSlotStyle<"icon" | "group" | "root" |
|
|
|
28
28
|
fontSize: "3xl";
|
|
29
29
|
};
|
|
30
30
|
};
|
|
31
|
-
}, CSSModifierObject<CSSSlotObject<"
|
|
31
|
+
}, CSSModifierObject<CSSSlotObject<"group" | "icon" | "root" | "item">>>;
|
|
32
32
|
export type RatingStyle = typeof ratingStyle;
|
|
33
33
|
//#endregion
|
|
34
34
|
//# sourceMappingURL=rating.style.d.ts.map
|
|
@@ -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" | "item" | "indicator", {
|
|
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" | "indicat
|
|
|
114
114
|
};
|
|
115
115
|
};
|
|
116
116
|
};
|
|
117
|
-
}, CSSModifierObject<CSSSlotObject<"root" | "
|
|
117
|
+
}, CSSModifierObject<CSSSlotObject<"root" | "item" | "indicator">>>;
|
|
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/select/select.style.d.ts
|
|
4
|
-
export declare const selectStyle: ComponentSlotStyle<"label" | "option" | "content" | "
|
|
4
|
+
export declare const selectStyle: ComponentSlotStyle<"label" | "option" | "content" | "group" | "separator" | "icon" | "root" | "indicator" | "field" | "valueText", {
|
|
5
5
|
/**
|
|
6
6
|
* If `true`, wrap the value text.
|
|
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/stat/stat.style.d.ts
|
|
5
|
-
export declare const statStyle: ComponentSlotStyle<"
|
|
5
|
+
export declare const statStyle: ComponentSlotStyle<"label" | "value" | "icon" | "root" | "helperMessage" | "unit", {
|
|
6
6
|
/**
|
|
7
7
|
* If `true`, container will center its children regardless of their width.
|
|
8
8
|
*
|
|
@@ -93,7 +93,7 @@ export declare const statStyle: ComponentSlotStyle<"value" | "label" | "icon" |
|
|
|
93
93
|
gap: "2";
|
|
94
94
|
};
|
|
95
95
|
};
|
|
96
|
-
}, CSSModifierObject<CSSSlotObject<"
|
|
96
|
+
}, CSSModifierObject<CSSSlotObject<"label" | "value" | "icon" | "root" | "helperMessage" | "unit">>>;
|
|
97
97
|
export type StatStyle = typeof statStyle;
|
|
98
98
|
//#endregion
|
|
99
99
|
//# sourceMappingURL=stat.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" | "
|
|
4
|
+
export declare const stepsStyle: ComponentSlotStyle<"title" | "list" | "separator" | "root" | "item" | "indicator" | "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" | "
|
|
65
|
+
export declare const TimelineRoot: Component<({ variant: variantProp, children, index, items, ...rest }: WithoutThemeProps<TimelineRootProps, ComponentSlotStyle<"title" | "content" | "root" | "item" | "indicator" | "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" | "
|
|
4
|
+
export declare const timelineStyle: ComponentSlotStyle<"title" | "content" | "root" | "item" | "indicator" | "description" | "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" | "
|
|
4
|
+
export declare const treeStyle: ComponentSlotStyle<"label" | "checkbox" | "group" | "end" | "start" | "element" | "root" | "item" | "indicator", {
|
|
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
|
-
id?: string | undefined | undefined;
|
|
218
|
-
key?: import("react").Key | null | undefined;
|
|
219
217
|
slot?: string | undefined | undefined;
|
|
220
218
|
style?: import("react").CSSProperties | undefined;
|
|
221
219
|
title?: string | undefined | undefined;
|
|
222
220
|
translate?: "yes" | "no" | undefined | undefined;
|
|
221
|
+
hidden?: boolean | undefined | undefined;
|
|
223
222
|
ref?: import("react").Ref<HTMLDivElement> | undefined;
|
|
224
223
|
defaultChecked?: boolean | undefined | undefined;
|
|
225
224
|
defaultValue?: string | number | readonly string[] | undefined;
|
|
@@ -229,12 +228,12 @@ export declare const useTreeItem: ({ asyncChildren, children: childrenProp, defa
|
|
|
229
228
|
autoCapitalize?: "off" | "none" | "on" | "sentences" | "words" | "characters" | undefined | (string & {}) | undefined;
|
|
230
229
|
autoFocus?: boolean | undefined | undefined;
|
|
231
230
|
className?: string | undefined | undefined;
|
|
232
|
-
contentEditable?: (boolean | "true" | "false") | "
|
|
231
|
+
contentEditable?: "inherit" | (boolean | "true" | "false") | "plaintext-only" | undefined;
|
|
233
232
|
contextMenu?: string | undefined | undefined;
|
|
234
233
|
dir?: string | undefined | undefined;
|
|
235
234
|
draggable?: (boolean | "true" | "false") | undefined;
|
|
236
235
|
enterKeyHint?: "enter" | "done" | "go" | "next" | "previous" | "search" | "send" | undefined | undefined;
|
|
237
|
-
|
|
236
|
+
id?: string | undefined | undefined;
|
|
238
237
|
lang?: string | undefined | undefined;
|
|
239
238
|
nonce?: string | undefined | undefined;
|
|
240
239
|
spellCheck?: (boolean | "true" | "false") | undefined;
|
|
@@ -493,6 +492,7 @@ export declare const useTreeItem: ({ asyncChildren, children: childrenProp, defa
|
|
|
493
492
|
onTransitionRunCapture?: import("react").TransitionEventHandler<HTMLDivElement> | undefined;
|
|
494
493
|
onTransitionStart?: import("react").TransitionEventHandler<HTMLDivElement> | undefined;
|
|
495
494
|
onTransitionStartCapture?: import("react").TransitionEventHandler<HTMLDivElement> | undefined;
|
|
495
|
+
key?: import("react").Key | null | undefined;
|
|
496
496
|
};
|
|
497
497
|
selected: boolean;
|
|
498
498
|
value: string;
|
|
@@ -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>, "disabled" | "ref" | "tabIndex" | "onKeyDown" | "onKeyUp" | "onClick" | "onMouseDown" | "onMouseLeave" | "onMouseOver" | "onMouseUp" | "
|
|
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>, "disabled" | "ref" | "tabIndex" | "onKeyDown" | "onKeyUp" | "onClick" | "onMouseDown" | "onMouseLeave" | "onMouseOver" | "onMouseUp" | "
|
|
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;
|