@yamada-ui/react 2.3.0-dev-20261026121529 → 2.3.0-dev-20261027031124
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/prose/index.cjs +7 -0
- package/dist/cjs/components/prose/prose.cjs +17 -0
- package/dist/cjs/components/prose/prose.cjs.map +1 -0
- package/dist/cjs/components/prose/prose.style.cjs +205 -0
- package/dist/cjs/components/prose/prose.style.cjs.map +1 -0
- package/dist/cjs/index.cjs +12 -2
- package/dist/cjs/index.cjs.map +1 -1
- package/dist/esm/components/prose/index.js +3 -0
- package/dist/esm/components/prose/prose.js +15 -0
- package/dist/esm/components/prose/prose.js.map +1 -0
- package/dist/esm/components/prose/prose.style.js +205 -0
- package/dist/esm/components/prose/prose.style.js.map +1 -0
- package/dist/esm/index.js +9 -3
- package/dist/esm/index.js.map +1 -1
- package/dist/types/components/chart/polar-chart.style.d.ts +1 -1
- package/dist/types/components/field/use-field-props.d.ts +1 -1
- package/dist/types/components/progress/use-progress.d.ts +6 -6
- package/dist/types/components/prose/index.d.ts +3 -0
- package/dist/types/components/prose/prose.d.ts +17 -0
- package/dist/types/components/prose/prose.style.d.ts +121 -0
- package/dist/types/components/tree/tree.style.d.ts +1 -1
- package/dist/types/components/tree/use-tree.d.ts +2 -2
- package/dist/types/index.d.ts +5 -2
- package/dist/types/providers/i18n-provider/i18n-provider.d.ts +1 -1
- package/package.json +5 -2
|
@@ -0,0 +1,121 @@
|
|
|
1
|
+
import { ComponentStyle } from "../../core/system/index.type.js";
|
|
2
|
+
import { CSSModifierObject, CSSObject } from "../../core/css/index.type.js";
|
|
3
|
+
import "../../core/index.js";
|
|
4
|
+
import "../../index.js";
|
|
5
|
+
//#region src/components/prose/prose.style.d.ts
|
|
6
|
+
export declare const proseStyle: ComponentStyle<{
|
|
7
|
+
blockquote: {
|
|
8
|
+
plain: {
|
|
9
|
+
"& :where(blockquote):not(:where(.not-prose, .not-prose *))": CSSObject;
|
|
10
|
+
};
|
|
11
|
+
solid: {
|
|
12
|
+
"& :where(blockquote):not(:where(.not-prose, .not-prose *))": CSSObject;
|
|
13
|
+
};
|
|
14
|
+
subtle: {
|
|
15
|
+
"& :where(blockquote):not(:where(.not-prose, .not-prose *))": CSSObject;
|
|
16
|
+
};
|
|
17
|
+
};
|
|
18
|
+
code: {
|
|
19
|
+
outline: {
|
|
20
|
+
"& :where(code:not(pre code)):not(:where(.not-prose, .not-prose *))": CSSObject;
|
|
21
|
+
};
|
|
22
|
+
solid: {
|
|
23
|
+
"& :where(code:not(pre code)):not(:where(.not-prose, .not-prose *))": CSSObject;
|
|
24
|
+
};
|
|
25
|
+
subtle: {
|
|
26
|
+
"& :where(code:not(pre code)):not(:where(.not-prose, .not-prose *))": CSSObject;
|
|
27
|
+
};
|
|
28
|
+
surface: {
|
|
29
|
+
"& :where(code:not(pre code)):not(:where(.not-prose, .not-prose *))": CSSObject;
|
|
30
|
+
};
|
|
31
|
+
};
|
|
32
|
+
hr: {
|
|
33
|
+
dashed: {
|
|
34
|
+
"& :where(hr):not(:where(.not-prose, .not-prose *))": CSSObject;
|
|
35
|
+
};
|
|
36
|
+
dotted: {
|
|
37
|
+
"& :where(hr):not(:where(.not-prose, .not-prose *))": CSSObject;
|
|
38
|
+
};
|
|
39
|
+
solid: {
|
|
40
|
+
"& :where(hr):not(:where(.not-prose, .not-prose *))": CSSObject;
|
|
41
|
+
};
|
|
42
|
+
};
|
|
43
|
+
kbd: {
|
|
44
|
+
outline: {
|
|
45
|
+
"& :where(kbd):not(:where(.not-prose, .not-prose *))": CSSObject;
|
|
46
|
+
};
|
|
47
|
+
solid: {
|
|
48
|
+
"& :where(kbd):not(:where(.not-prose, .not-prose *))": CSSObject;
|
|
49
|
+
};
|
|
50
|
+
subtle: {
|
|
51
|
+
"& :where(kbd):not(:where(.not-prose, .not-prose *))": CSSObject;
|
|
52
|
+
};
|
|
53
|
+
surface: {
|
|
54
|
+
"& :where(kbd):not(:where(.not-prose, .not-prose *))": CSSObject;
|
|
55
|
+
};
|
|
56
|
+
};
|
|
57
|
+
link: {
|
|
58
|
+
plain: {
|
|
59
|
+
"& :where(a[href]):not(:where(.not-prose, .not-prose *))": CSSObject;
|
|
60
|
+
};
|
|
61
|
+
underline: {
|
|
62
|
+
"& :where(a[href]):not(:where(.not-prose, .not-prose *))": CSSObject;
|
|
63
|
+
};
|
|
64
|
+
};
|
|
65
|
+
table: {
|
|
66
|
+
line: {
|
|
67
|
+
"& :where(tbody):not(:where(.not-prose, .not-prose *))": CSSObject | undefined;
|
|
68
|
+
"& :where(tfoot):not(:where(.not-prose, .not-prose *))": CSSObject | undefined;
|
|
69
|
+
"& :where(thead):not(:where(.not-prose, .not-prose *))": CSSObject | undefined;
|
|
70
|
+
};
|
|
71
|
+
outline: {
|
|
72
|
+
"& :where(table):not(:where(.not-prose, .not-prose *))": CSSObject | undefined;
|
|
73
|
+
"& :where(tbody):not(:where(.not-prose, .not-prose *))": CSSObject | undefined;
|
|
74
|
+
"& :where(tfoot):not(:where(.not-prose, .not-prose *))": CSSObject | undefined;
|
|
75
|
+
"& :where(thead):not(:where(.not-prose, .not-prose *))": CSSObject | undefined;
|
|
76
|
+
};
|
|
77
|
+
};
|
|
78
|
+
}, {
|
|
79
|
+
sm: {
|
|
80
|
+
"--space": "fontSizes.sm";
|
|
81
|
+
fontSize: "sm";
|
|
82
|
+
"& :where(code:not(pre code), kbd):not(:where(.not-prose, .not-prose *))": {
|
|
83
|
+
fontSize: "xs";
|
|
84
|
+
lineHeight: "{sizes.5}";
|
|
85
|
+
minH: "5";
|
|
86
|
+
px: "1.5";
|
|
87
|
+
} | undefined;
|
|
88
|
+
"& :where(table):not(:where(.not-prose, .not-prose *))": CSSObject | undefined;
|
|
89
|
+
"& :where(td):not(:where(.not-prose, .not-prose *))": CSSObject | undefined;
|
|
90
|
+
"& :where(th):not(:where(.not-prose, .not-prose *))": CSSObject | undefined;
|
|
91
|
+
};
|
|
92
|
+
md: {
|
|
93
|
+
"--space": "fontSizes.md";
|
|
94
|
+
fontSize: "md";
|
|
95
|
+
"& :where(code:not(pre code), kbd):not(:where(.not-prose, .not-prose *))": {
|
|
96
|
+
fontSize: "sm";
|
|
97
|
+
lineHeight: "{sizes.6}";
|
|
98
|
+
minH: "6";
|
|
99
|
+
px: "2";
|
|
100
|
+
} | undefined;
|
|
101
|
+
"& :where(table):not(:where(.not-prose, .not-prose *))": CSSObject | undefined;
|
|
102
|
+
"& :where(td):not(:where(.not-prose, .not-prose *))": CSSObject | undefined;
|
|
103
|
+
"& :where(th):not(:where(.not-prose, .not-prose *))": CSSObject | undefined;
|
|
104
|
+
};
|
|
105
|
+
lg: {
|
|
106
|
+
"--space": "fontSizes.lg";
|
|
107
|
+
fontSize: "lg";
|
|
108
|
+
"& :where(code:not(pre code), kbd):not(:where(.not-prose, .not-prose *))": {
|
|
109
|
+
fontSize: "sm";
|
|
110
|
+
lineHeight: "{sizes.7}";
|
|
111
|
+
minH: "7";
|
|
112
|
+
px: "2.5";
|
|
113
|
+
} | undefined;
|
|
114
|
+
"& :where(table):not(:where(.not-prose, .not-prose *))": CSSObject | undefined;
|
|
115
|
+
"& :where(td):not(:where(.not-prose, .not-prose *))": CSSObject | undefined;
|
|
116
|
+
"& :where(th):not(:where(.not-prose, .not-prose *))": CSSObject | undefined;
|
|
117
|
+
};
|
|
118
|
+
}, CSSModifierObject>;
|
|
119
|
+
export type ProseStyle = typeof proseStyle;
|
|
120
|
+
//#endregion
|
|
121
|
+
//# sourceMappingURL=prose.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/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" | "indicator" | "item", {
|
|
5
5
|
/**
|
|
6
6
|
* The shape of the component
|
|
7
7
|
*
|
|
@@ -219,8 +219,6 @@ export declare const useTreeItem: ({ asyncChildren, children: childrenProp, defa
|
|
|
219
219
|
title?: string | undefined | undefined;
|
|
220
220
|
translate?: "yes" | "no" | undefined | undefined;
|
|
221
221
|
hidden?: boolean | undefined | undefined;
|
|
222
|
-
id?: string | undefined | undefined;
|
|
223
|
-
key?: import("react").Key | null | undefined;
|
|
224
222
|
ref?: import("react").Ref<HTMLDivElement> | undefined;
|
|
225
223
|
defaultChecked?: boolean | undefined | undefined;
|
|
226
224
|
defaultValue?: string | number | readonly string[] | undefined;
|
|
@@ -235,6 +233,7 @@ export declare const useTreeItem: ({ asyncChildren, children: childrenProp, defa
|
|
|
235
233
|
dir?: string | undefined | undefined;
|
|
236
234
|
draggable?: (boolean | "true" | "false") | undefined;
|
|
237
235
|
enterKeyHint?: "enter" | "done" | "go" | "next" | "previous" | "search" | "send" | undefined | undefined;
|
|
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;
|