@lobehub/ui 6.7.0 → 6.9.0
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/es/AgentAvatar/AgentAvatar.d.mts +4 -0
- package/es/AgentAvatar/AgentAvatar.mjs +213 -0
- package/es/AgentAvatar/AgentAvatar.mjs.map +1 -0
- package/es/AgentAvatar/index.d.mts +4 -0
- package/es/AgentAvatar/index.d.ts +1 -0
- package/es/AgentAvatar/index.js +1 -0
- package/es/AgentAvatar/index.mjs +3 -0
- package/es/AgentAvatar/shapes.mjs +234 -0
- package/es/AgentAvatar/shapes.mjs.map +1 -0
- package/es/AgentAvatar/stable.mjs +20 -0
- package/es/AgentAvatar/stable.mjs.map +1 -0
- package/es/AgentAvatar/style.mjs +188 -0
- package/es/AgentAvatar/style.mjs.map +1 -0
- package/es/AgentAvatar/type.d.mts +75 -0
- package/es/AgentAvatar/useReducedMotion.mjs +16 -0
- package/es/AgentAvatar/useReducedMotion.mjs.map +1 -0
- package/es/AgentAvatar/utils.d.mts +13 -0
- package/es/AgentAvatar/utils.mjs +122 -0
- package/es/AgentAvatar/utils.mjs.map +1 -0
- package/es/CodeDiff/theme.mjs +4 -1
- package/es/CodeDiff/theme.mjs.map +1 -1
- package/es/Highlighter/theme/lobe-highlights-theme.d.mts +4 -0
- package/es/Text/style.d.mts +2 -2
- package/es/index.d.mts +6 -1
- package/es/index.mjs +4 -1
- package/es/style.css +345 -0
- package/package.json +2 -2
|
@@ -0,0 +1,188 @@
|
|
|
1
|
+
// src/AgentAvatar/style.ts
|
|
2
|
+
const styles = {
|
|
3
|
+
badgeDot: {
|
|
4
|
+
kDwRjp: "lb1po41wt",
|
|
5
|
+
$$css: true
|
|
6
|
+
},
|
|
7
|
+
badgeMark: {
|
|
8
|
+
kDwRjp: "lb14ojgjp",
|
|
9
|
+
$$css: true
|
|
10
|
+
},
|
|
11
|
+
badgeMotion: {
|
|
12
|
+
kKxzle: "lb16srqn7",
|
|
13
|
+
k44tkh: "lbmg6eyc",
|
|
14
|
+
ko0y90: "lba4qsjk",
|
|
15
|
+
kKVMdj: "lbk29pd4 lb1aquc0h",
|
|
16
|
+
kyAemX: "lb1v6mnl3",
|
|
17
|
+
$$css: true
|
|
18
|
+
},
|
|
19
|
+
badgeRing: {
|
|
20
|
+
kDwRjp: "lb1tl3i6i",
|
|
21
|
+
$$css: true
|
|
22
|
+
},
|
|
23
|
+
blinkIdle: {
|
|
24
|
+
kKxzle: "lb16srqn7",
|
|
25
|
+
k44tkh: "lbmdyy31",
|
|
26
|
+
ko0y90: "lba4qsjk",
|
|
27
|
+
kKVMdj: "lbiwg49m lb1aquc0h",
|
|
28
|
+
kyAemX: "lb1v6mnl3",
|
|
29
|
+
$$css: true
|
|
30
|
+
},
|
|
31
|
+
blinkThinking: {
|
|
32
|
+
kKxzle: "lb16srqn7",
|
|
33
|
+
k44tkh: "lb7t6ubo",
|
|
34
|
+
ko0y90: "lba4qsjk",
|
|
35
|
+
kKVMdj: "lb194dqoo lb1aquc0h",
|
|
36
|
+
kyAemX: "lb1v6mnl3",
|
|
37
|
+
$$css: true
|
|
38
|
+
},
|
|
39
|
+
blinkWaiting: {
|
|
40
|
+
kKxzle: "lb16srqn7",
|
|
41
|
+
k44tkh: "lb7t6ubo",
|
|
42
|
+
ko0y90: "lba4qsjk",
|
|
43
|
+
kKVMdj: "lb1u0nrk1 lb1aquc0h",
|
|
44
|
+
kyAemX: "lb1v6mnl3",
|
|
45
|
+
$$css: true
|
|
46
|
+
},
|
|
47
|
+
blinkWorking: {
|
|
48
|
+
kKxzle: "lb16srqn7",
|
|
49
|
+
k44tkh: "lb7t6ubo",
|
|
50
|
+
ko0y90: "lba4qsjk",
|
|
51
|
+
kKVMdj: "lbwd2vp0 lb1aquc0h",
|
|
52
|
+
kyAemX: "lb1v6mnl3",
|
|
53
|
+
$$css: true
|
|
54
|
+
},
|
|
55
|
+
body: {
|
|
56
|
+
kDwRjp: "lb1swbzct",
|
|
57
|
+
$$css: true
|
|
58
|
+
},
|
|
59
|
+
bodyBlocked: {
|
|
60
|
+
kKxzle: "lb16srqn7",
|
|
61
|
+
k44tkh: "lbmg6eyc",
|
|
62
|
+
ko0y90: "lba4qsjk",
|
|
63
|
+
kKVMdj: "lb54opvl lb1aquc0h",
|
|
64
|
+
kyAemX: "lb1v6mnl3",
|
|
65
|
+
$$css: true
|
|
66
|
+
},
|
|
67
|
+
bodyDone: {
|
|
68
|
+
kKxzle: "lb16srqn7",
|
|
69
|
+
k44tkh: "lb7t6ubo",
|
|
70
|
+
ko0y90: "lba4qsjk",
|
|
71
|
+
kKVMdj: "lb1mhcmxz lb1aquc0h",
|
|
72
|
+
kyAemX: "lb1v6mnl3",
|
|
73
|
+
$$css: true
|
|
74
|
+
},
|
|
75
|
+
bodyIdle: {
|
|
76
|
+
kKxzle: "lb16srqn7",
|
|
77
|
+
k44tkh: "lb7t6ubo",
|
|
78
|
+
ko0y90: "lba4qsjk",
|
|
79
|
+
kKVMdj: "lb1mbgqnd lb1aquc0h",
|
|
80
|
+
kyAemX: "lb1v6mnl3",
|
|
81
|
+
$$css: true
|
|
82
|
+
},
|
|
83
|
+
bodyMotion: {
|
|
84
|
+
kR8GR0: "lb1xcwlea",
|
|
85
|
+
k3nNDw: "lb11stiqm",
|
|
86
|
+
$$css: true
|
|
87
|
+
},
|
|
88
|
+
bodyThinking: {
|
|
89
|
+
kKxzle: "lb16srqn7",
|
|
90
|
+
k44tkh: "lb7t6ubo",
|
|
91
|
+
ko0y90: "lba4qsjk",
|
|
92
|
+
kKVMdj: "lb1uycf8y lb1aquc0h",
|
|
93
|
+
kyAemX: "lb1v6mnl3",
|
|
94
|
+
$$css: true
|
|
95
|
+
},
|
|
96
|
+
bodyWaiting: {
|
|
97
|
+
kKxzle: "lb16srqn7",
|
|
98
|
+
k44tkh: "lb7t6ubo",
|
|
99
|
+
ko0y90: "lba4qsjk",
|
|
100
|
+
kKVMdj: "lb15zcdrl lb1aquc0h",
|
|
101
|
+
kyAemX: "lb1v6mnl3",
|
|
102
|
+
$$css: true
|
|
103
|
+
},
|
|
104
|
+
bodyWorking: {
|
|
105
|
+
kKxzle: "lb16srqn7",
|
|
106
|
+
k44tkh: "lb7v9bd0",
|
|
107
|
+
ko0y90: "lba4qsjk",
|
|
108
|
+
kKVMdj: "lb1g0kqhz lb1aquc0h",
|
|
109
|
+
kyAemX: "lb1v6mnl3",
|
|
110
|
+
$$css: true
|
|
111
|
+
},
|
|
112
|
+
eyes: {
|
|
113
|
+
kR8GR0: "lb1xcwlea",
|
|
114
|
+
$$css: true
|
|
115
|
+
},
|
|
116
|
+
eyesClosedEarly: {
|
|
117
|
+
kKxzle: "lb16srqn7",
|
|
118
|
+
k44tkh: "lb7t6ubo",
|
|
119
|
+
ko0y90: "lba4qsjk",
|
|
120
|
+
kKVMdj: "lbcjd0cy lb1aquc0h",
|
|
121
|
+
kyAemX: "lb1htlvfj",
|
|
122
|
+
$$css: true
|
|
123
|
+
},
|
|
124
|
+
eyesOpenLate: {
|
|
125
|
+
kKxzle: "lb16srqn7",
|
|
126
|
+
k44tkh: "lb7t6ubo",
|
|
127
|
+
ko0y90: "lba4qsjk",
|
|
128
|
+
kKVMdj: "lbyundts lb1aquc0h",
|
|
129
|
+
kyAemX: "lb1htlvfj",
|
|
130
|
+
$$css: true
|
|
131
|
+
},
|
|
132
|
+
gazeIdle: {
|
|
133
|
+
kKxzle: "lb16srqn7",
|
|
134
|
+
k44tkh: "lbmdyy31",
|
|
135
|
+
ko0y90: "lba4qsjk",
|
|
136
|
+
kKVMdj: "lb148kbc9 lb1aquc0h",
|
|
137
|
+
kyAemX: "lb1v6mnl3",
|
|
138
|
+
$$css: true
|
|
139
|
+
},
|
|
140
|
+
gazeThinking: {
|
|
141
|
+
kKxzle: "lb16srqn7",
|
|
142
|
+
k44tkh: "lb7t6ubo",
|
|
143
|
+
ko0y90: "lba4qsjk",
|
|
144
|
+
kKVMdj: "lbh3s7x lb1aquc0h",
|
|
145
|
+
kyAemX: "lb1v6mnl3",
|
|
146
|
+
$$css: true
|
|
147
|
+
},
|
|
148
|
+
gazeWorking: {
|
|
149
|
+
kKxzle: "lb16srqn7",
|
|
150
|
+
k44tkh: "lbmg6eyc",
|
|
151
|
+
ko0y90: "lba4qsjk",
|
|
152
|
+
kKVMdj: "lb1ic7xlq lb1aquc0h",
|
|
153
|
+
kyAemX: "lb1v6mnl3",
|
|
154
|
+
$$css: true
|
|
155
|
+
},
|
|
156
|
+
pupils: {
|
|
157
|
+
kR8GR0: "lb1xcwlea",
|
|
158
|
+
$$css: true
|
|
159
|
+
},
|
|
160
|
+
root: {
|
|
161
|
+
kUk6DE: "lb1okw0bk",
|
|
162
|
+
kVQacm: "lb1rea2x4",
|
|
163
|
+
k1xSpc: "lb1lliihq",
|
|
164
|
+
kZKoxP: "lb1vqgdyp",
|
|
165
|
+
kzqmXN: "lb100vrsf",
|
|
166
|
+
$$css: true
|
|
167
|
+
},
|
|
168
|
+
thoughtDot: {
|
|
169
|
+
kDwRjp: "lb1swbzct",
|
|
170
|
+
kjVXCG: "lb19ikkms",
|
|
171
|
+
kfJifR: "lb1ip4yf",
|
|
172
|
+
kCrYw0: "lb1x0jnz8",
|
|
173
|
+
kR8GR0: "lb1764fhq",
|
|
174
|
+
k3nNDw: "lb1g0ag68",
|
|
175
|
+
$$css: true
|
|
176
|
+
},
|
|
177
|
+
thoughtRise: {
|
|
178
|
+
kKxzle: "lb16srqn7",
|
|
179
|
+
k44tkh: "lb1xixsfh",
|
|
180
|
+
ko0y90: "lba4qsjk",
|
|
181
|
+
kKVMdj: "lb12jwqpk lb1aquc0h",
|
|
182
|
+
kyAemX: "lb1esw782",
|
|
183
|
+
$$css: true
|
|
184
|
+
}
|
|
185
|
+
};
|
|
186
|
+
export { styles };
|
|
187
|
+
|
|
188
|
+
//# sourceMappingURL=style.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"style.mjs","names":[],"sources":["../../src/AgentAvatar/style.ts"],"sourcesContent":["import * as stylex from '@stylexjs/stylex';\n\nimport { cssVar } from '@/styles/stylex/cssVar.stylex';\n\nconst reducedMotion = '@media (prefers-reduced-motion: reduce)';\n\nconst bodyIdle = stylex.keyframes({\n '0%, 100%': { transform: 'scale(1, 1)' },\n '50%': { transform: 'scale(1.015, 0.982)' },\n});\nconst bodyWorking = stylex.keyframes({\n '0%, 100%': { transform: 'translate(0, 0)' },\n '50%': { transform: 'translate(0, -1.6px)' },\n});\nconst bodyWaiting = stylex.keyframes({\n '0%, 100%': { transform: 'rotate(0deg)' },\n '25%': { transform: 'rotate(-4deg)' },\n '75%': { transform: 'rotate(4deg)' },\n});\nconst bodyBlocked = stylex.keyframes({\n '0%, 24%, 100%': { transform: 'translate(0, 0)' },\n '6%': { transform: 'translate(-1.8px, 0)' },\n '12%': { transform: 'translate(1.8px, 0)' },\n '18%': { transform: 'translate(-1px, 0)' },\n});\nconst bodyThinking = stylex.keyframes({\n '0%, 100%': { transform: 'rotate(-2deg)' },\n '50%': { transform: 'rotate(0deg)' },\n});\nconst bodyDone = stylex.keyframes({\n '0%, 32%, 100%': { transform: 'translate(0, 0) scale(1, 1)' },\n '8%': { transform: 'translate(0, 1px) scale(1.05, 0.93)' },\n '18%': { transform: 'translate(0, -5px) scale(0.97, 1.04)' },\n '26%': { transform: 'translate(0, 0.5px) scale(1.04, 0.95)' },\n});\n\nconst blinkIdle = stylex.keyframes({\n '0%, 30%, 35%, 82%, 87%, 100%': { transform: 'scale(1, 1)' },\n '32.5%, 84.5%': { transform: 'scale(1, 0.08)' },\n});\nconst blinkWorking = stylex.keyframes({\n '0%, 90%, 95%, 100%': { transform: 'scale(1, 1)' },\n '92.5%': { transform: 'scale(1, 0.08)' },\n});\nconst blinkWaiting = stylex.keyframes({\n '0%, 60%, 65%, 100%': { transform: 'scale(1, 1)' },\n '62.5%': { transform: 'scale(1, 0.08)' },\n});\nconst blinkThinking = stylex.keyframes({\n '0%, 45%, 50%, 100%': { transform: 'scale(1, 1)' },\n '47.5%': { transform: 'scale(1, 0.08)' },\n});\n\nconst gazeIdle = stylex.keyframes({\n '0%, 100%': {\n transform:\n 'translate(calc(var(--lobe-agent-avatar-gaze) * 0px), calc(var(--lobe-agent-avatar-gaze) * 1.6px))',\n },\n '18%, 40%': {\n transform:\n 'translate(calc(var(--lobe-agent-avatar-gaze) * -3px), calc(var(--lobe-agent-avatar-gaze) * 1px))',\n },\n '62%, 84%': {\n transform:\n 'translate(calc(var(--lobe-agent-avatar-gaze) * 3px), calc(var(--lobe-agent-avatar-gaze) * 0.6px))',\n },\n});\nconst gazeWorking = stylex.keyframes({\n '0%, 90%, 100%': {\n transform:\n 'translate(calc(var(--lobe-agent-avatar-gaze) * -3.2px), calc(var(--lobe-agent-avatar-gaze) * 3.4px))',\n },\n '40%, 50%': {\n transform:\n 'translate(calc(var(--lobe-agent-avatar-gaze) * 3.2px), calc(var(--lobe-agent-avatar-gaze) * 3.4px))',\n },\n});\n// Kept inside the eye white: the pupil top stays ~15% of the radius below the sclera edge.\nconst gazeThinking = stylex.keyframes({\n '0%, 100%': {\n transform:\n 'translate(calc(var(--lobe-agent-avatar-gaze) * 1.8px), calc(var(--lobe-agent-avatar-gaze) * -3.1px))',\n },\n '50%': {\n transform:\n 'translate(calc(var(--lobe-agent-avatar-gaze) * -1px), calc(var(--lobe-agent-avatar-gaze) * -3.4px))',\n },\n});\n\nconst eyesOpenLate = stylex.keyframes({\n '0%': { opacity: 0 },\n '75%, 100%': { opacity: 1 },\n});\nconst eyesClosedEarly = stylex.keyframes({\n '0%': { opacity: 1 },\n '75%, 100%': { opacity: 0 },\n});\n\nconst thoughtRise = stylex.keyframes({\n '0%': { opacity: 0, transform: 'translate(0, 6px) scale(0)' },\n '20%': { opacity: 0.95 },\n '25%': { transform: 'translate(0, 2.5px) scale(1)' },\n '70%': { opacity: 0.7, transform: 'translate(0, -3.8px) scale(0.9)' },\n '100%': { opacity: 0, transform: 'translate(0, -8px) scale(0)' },\n});\n\nconst badgeBounce = stylex.keyframes({\n '0%, 16%, 100%': { transform: 'translate(0, 0)' },\n '8%': { transform: 'translate(0, -2px)' },\n});\n\nexport const styles = stylex.create({\n badgeDot: {\n fill: cssVar.colorError,\n },\n badgeMark: {\n fill: cssVar.colorTextLightSolid,\n },\n badgeMotion: {\n animationDelay: 'var(--lobe-agent-avatar-delay, 0s)',\n animationDuration: '1.5s',\n animationIterationCount: 'infinite',\n animationName: { default: badgeBounce, [reducedMotion]: 'none' },\n animationTimingFunction: 'cubic-bezier(0.45, 0, 0.55, 1)',\n },\n badgeRing: {\n fill: cssVar.colorBgContainer,\n },\n blinkIdle: {\n animationDelay: 'var(--lobe-agent-avatar-delay, 0s)',\n animationDuration: '6s',\n animationIterationCount: 'infinite',\n animationName: { default: blinkIdle, [reducedMotion]: 'none' },\n animationTimingFunction: 'cubic-bezier(0.45, 0, 0.55, 1)',\n },\n blinkThinking: {\n animationDelay: 'var(--lobe-agent-avatar-delay, 0s)',\n animationDuration: '3s',\n animationIterationCount: 'infinite',\n animationName: { default: blinkThinking, [reducedMotion]: 'none' },\n animationTimingFunction: 'cubic-bezier(0.45, 0, 0.55, 1)',\n },\n blinkWaiting: {\n animationDelay: 'var(--lobe-agent-avatar-delay, 0s)',\n animationDuration: '3s',\n animationIterationCount: 'infinite',\n animationName: { default: blinkWaiting, [reducedMotion]: 'none' },\n animationTimingFunction: 'cubic-bezier(0.45, 0, 0.55, 1)',\n },\n blinkWorking: {\n animationDelay: 'var(--lobe-agent-avatar-delay, 0s)',\n animationDuration: '3s',\n animationIterationCount: 'infinite',\n animationName: { default: blinkWorking, [reducedMotion]: 'none' },\n animationTimingFunction: 'cubic-bezier(0.45, 0, 0.55, 1)',\n },\n body: {\n fill: 'var(--lobe-agent-avatar-color)',\n },\n bodyBlocked: {\n animationDelay: 'var(--lobe-agent-avatar-delay, 0s)',\n animationDuration: '1.5s',\n animationIterationCount: 'infinite',\n animationName: { default: bodyBlocked, [reducedMotion]: 'none' },\n animationTimingFunction: 'cubic-bezier(0.45, 0, 0.55, 1)',\n },\n bodyDone: {\n animationDelay: 'var(--lobe-agent-avatar-delay, 0s)',\n animationDuration: '3s',\n animationIterationCount: 'infinite',\n animationName: { default: bodyDone, [reducedMotion]: 'none' },\n animationTimingFunction: 'cubic-bezier(0.45, 0, 0.55, 1)',\n },\n bodyIdle: {\n animationDelay: 'var(--lobe-agent-avatar-delay, 0s)',\n animationDuration: '3s',\n animationIterationCount: 'infinite',\n animationName: { default: bodyIdle, [reducedMotion]: 'none' },\n animationTimingFunction: 'cubic-bezier(0.45, 0, 0.55, 1)',\n },\n bodyMotion: {\n transformBox: 'view-box',\n transformOrigin: '50px 94px',\n },\n bodyThinking: {\n animationDelay: 'var(--lobe-agent-avatar-delay, 0s)',\n animationDuration: '3s',\n animationIterationCount: 'infinite',\n animationName: { default: bodyThinking, [reducedMotion]: 'none' },\n animationTimingFunction: 'cubic-bezier(0.45, 0, 0.55, 1)',\n },\n bodyWaiting: {\n animationDelay: 'var(--lobe-agent-avatar-delay, 0s)',\n animationDuration: '3s',\n animationIterationCount: 'infinite',\n animationName: { default: bodyWaiting, [reducedMotion]: 'none' },\n animationTimingFunction: 'cubic-bezier(0.45, 0, 0.55, 1)',\n },\n bodyWorking: {\n animationDelay: 'var(--lobe-agent-avatar-delay, 0s)',\n animationDuration: '0.75s',\n animationIterationCount: 'infinite',\n animationName: { default: bodyWorking, [reducedMotion]: 'none' },\n animationTimingFunction: 'cubic-bezier(0.45, 0, 0.55, 1)',\n },\n eyes: {\n transformBox: 'view-box',\n },\n eyesClosedEarly: {\n animationDelay: 'var(--lobe-agent-avatar-delay, 0s)',\n animationDuration: '3s',\n animationIterationCount: 'infinite',\n animationName: { default: eyesClosedEarly, [reducedMotion]: 'none' },\n animationTimingFunction: 'steps(1, end)',\n },\n eyesOpenLate: {\n animationDelay: 'var(--lobe-agent-avatar-delay, 0s)',\n animationDuration: '3s',\n animationIterationCount: 'infinite',\n animationName: { default: eyesOpenLate, [reducedMotion]: 'none' },\n animationTimingFunction: 'steps(1, end)',\n },\n gazeIdle: {\n animationDelay: 'var(--lobe-agent-avatar-delay, 0s)',\n animationDuration: '6s',\n animationIterationCount: 'infinite',\n animationName: { default: gazeIdle, [reducedMotion]: 'none' },\n animationTimingFunction: 'cubic-bezier(0.45, 0, 0.55, 1)',\n },\n gazeThinking: {\n animationDelay: 'var(--lobe-agent-avatar-delay, 0s)',\n animationDuration: '3s',\n animationIterationCount: 'infinite',\n animationName: { default: gazeThinking, [reducedMotion]: 'none' },\n animationTimingFunction: 'cubic-bezier(0.45, 0, 0.55, 1)',\n },\n gazeWorking: {\n animationDelay: 'var(--lobe-agent-avatar-delay, 0s)',\n animationDuration: '1.5s',\n animationIterationCount: 'infinite',\n animationName: { default: gazeWorking, [reducedMotion]: 'none' },\n animationTimingFunction: 'cubic-bezier(0.45, 0, 0.55, 1)',\n },\n pupils: {\n transformBox: 'view-box',\n },\n root: {\n flex: 'none',\n overflow: 'visible',\n display: 'block',\n height: 40,\n width: 40,\n },\n thoughtDot: {\n fill: 'var(--lobe-agent-avatar-color)',\n stroke: cssVar.colorBgContainer,\n strokeWidth: 2.5,\n // A background halo keeps the bubbles readable where they cross ears or corners.\n paintOrder: 'stroke',\n transformBox: 'fill-box',\n transformOrigin: 'center',\n },\n thoughtRise: {\n animationDelay: 'var(--lobe-agent-avatar-delay, 0s)',\n animationDuration: '1.8s',\n animationIterationCount: 'infinite',\n animationName: { default: thoughtRise, [reducedMotion]: 'none' },\n animationTimingFunction: 'linear',\n },\n});\n"],"mappings":";AAsBA,MAAa,SAAS;CACpB,UAAU;EACR,QAAQ;EACR,OAAO;CACT;CACA,WAAW;EACT,QAAQ;EACR,OAAO;CACT;CACA,aAAa;EACX,QAAQ;EACR,QAAQ;EACR,QAAQ;EACR,QAAQ;EACR,QAAQ;EACR,OAAO;CACT;CACA,WAAW;EACT,QAAQ;EACR,OAAO;CACT;CACA,WAAW;EACT,QAAQ;EACR,QAAQ;EACR,QAAQ;EACR,QAAQ;EACR,QAAQ;EACR,OAAO;CACT;CACA,eAAe;EACb,QAAQ;EACR,QAAQ;EACR,QAAQ;EACR,QAAQ;EACR,QAAQ;EACR,OAAO;CACT;CACA,cAAc;EACZ,QAAQ;EACR,QAAQ;EACR,QAAQ;EACR,QAAQ;EACR,QAAQ;EACR,OAAO;CACT;CACA,cAAc;EACZ,QAAQ;EACR,QAAQ;EACR,QAAQ;EACR,QAAQ;EACR,QAAQ;EACR,OAAO;CACT;CACA,MAAM;EACJ,QAAQ;EACR,OAAO;CACT;CACA,aAAa;EACX,QAAQ;EACR,QAAQ;EACR,QAAQ;EACR,QAAQ;EACR,QAAQ;EACR,OAAO;CACT;CACA,UAAU;EACR,QAAQ;EACR,QAAQ;EACR,QAAQ;EACR,QAAQ;EACR,QAAQ;EACR,OAAO;CACT;CACA,UAAU;EACR,QAAQ;EACR,QAAQ;EACR,QAAQ;EACR,QAAQ;EACR,QAAQ;EACR,OAAO;CACT;CACA,YAAY;EACV,QAAQ;EACR,QAAQ;EACR,OAAO;CACT;CACA,cAAc;EACZ,QAAQ;EACR,QAAQ;EACR,QAAQ;EACR,QAAQ;EACR,QAAQ;EACR,OAAO;CACT;CACA,aAAa;EACX,QAAQ;EACR,QAAQ;EACR,QAAQ;EACR,QAAQ;EACR,QAAQ;EACR,OAAO;CACT;CACA,aAAa;EACX,QAAQ;EACR,QAAQ;EACR,QAAQ;EACR,QAAQ;EACR,QAAQ;EACR,OAAO;CACT;CACA,MAAM;EACJ,QAAQ;EACR,OAAO;CACT;CACA,iBAAiB;EACf,QAAQ;EACR,QAAQ;EACR,QAAQ;EACR,QAAQ;EACR,QAAQ;EACR,OAAO;CACT;CACA,cAAc;EACZ,QAAQ;EACR,QAAQ;EACR,QAAQ;EACR,QAAQ;EACR,QAAQ;EACR,OAAO;CACT;CACA,UAAU;EACR,QAAQ;EACR,QAAQ;EACR,QAAQ;EACR,QAAQ;EACR,QAAQ;EACR,OAAO;CACT;CACA,cAAc;EACZ,QAAQ;EACR,QAAQ;EACR,QAAQ;EACR,QAAQ;EACR,QAAQ;EACR,OAAO;CACT;CACA,aAAa;EACX,QAAQ;EACR,QAAQ;EACR,QAAQ;EACR,QAAQ;EACR,QAAQ;EACR,OAAO;CACT;CACA,QAAQ;EACN,QAAQ;EACR,OAAO;CACT;CACA,MAAM;EACJ,QAAQ;EACR,QAAQ;EACR,QAAQ;EACR,QAAQ;EACR,QAAQ;EACR,OAAO;CACT;CACA,YAAY;EACV,QAAQ;EACR,QAAQ;EACR,QAAQ;EACR,QAAQ;EACR,QAAQ;EACR,QAAQ;EACR,OAAO;CACT;CACA,aAAa;EACX,QAAQ;EACR,QAAQ;EACR,QAAQ;EACR,QAAQ;EACR,QAAQ;EACR,OAAO;CACT;AACF"}
|
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
import { CSSProperties, Ref, SVGProps } from "react";
|
|
2
|
+
/** Silhouettes. Every shape shares the same flat body + big-eyes construction. */
|
|
3
|
+
export type AgentAvatarShape = 'face' | 'bowl' | 'cloud' | 'tile' | 'hex' | 'shield' | 'pudding' | 'cookie' | 'star' | 'capsule' | 'ghost' | 'cat';
|
|
4
|
+
/** Body colors, resolved from the theme color scales so they adapt to dark mode. */
|
|
5
|
+
export type AgentAvatarColor = 'purple' | 'orange' | 'geekblue' | 'volcano' | 'magenta' | 'ink' | 'gray';
|
|
6
|
+
/**
|
|
7
|
+
* Activity state, expressed through the eyes and motion only:
|
|
8
|
+
* - `idle`: wandering gaze and blinks
|
|
9
|
+
* - `working`: looking down, scanning
|
|
10
|
+
* - `waiting`: looking at you, slight sway
|
|
11
|
+
* - `blocked`: wide eyes, small pupils and an error badge
|
|
12
|
+
* - `thinking`: looking up with rising thought bubbles
|
|
13
|
+
* - `done`: closed smiling eyes and a small hop
|
|
14
|
+
*/
|
|
15
|
+
export type AgentAvatarState = 'idle' | 'working' | 'waiting' | 'blocked' | 'thinking' | 'done';
|
|
16
|
+
export interface AgentAvatarClassNames {
|
|
17
|
+
/** The `blocked` error badge. */
|
|
18
|
+
badge?: string;
|
|
19
|
+
/** The silhouette path. */
|
|
20
|
+
body?: string;
|
|
21
|
+
/** The eyes group (eye whites and pupils, or the closed eyes of `done`). */
|
|
22
|
+
eyes?: string;
|
|
23
|
+
root?: string;
|
|
24
|
+
/** The `thinking` thought bubbles. */
|
|
25
|
+
thought?: string;
|
|
26
|
+
}
|
|
27
|
+
export interface AgentAvatarStyles {
|
|
28
|
+
badge?: CSSProperties;
|
|
29
|
+
body?: CSSProperties;
|
|
30
|
+
eyes?: CSSProperties;
|
|
31
|
+
root?: CSSProperties;
|
|
32
|
+
thought?: CSSProperties;
|
|
33
|
+
}
|
|
34
|
+
export interface AgentAvatarProps extends Omit<SVGProps<SVGSVGElement>, 'children' | 'color' | 'name' | 'ref' | 'shape'> {
|
|
35
|
+
/**
|
|
36
|
+
* Play the state animation. Motion is always dropped under `prefers-reduced-motion: reduce`,
|
|
37
|
+
* which falls back to the still pose of the state.
|
|
38
|
+
* @default false
|
|
39
|
+
*/
|
|
40
|
+
animated?: boolean;
|
|
41
|
+
/** Class names of the semantic parts. */
|
|
42
|
+
classNames?: AgentAvatarClassNames;
|
|
43
|
+
/**
|
|
44
|
+
* Body color. A palette key resolves to a theme color that adapts to dark mode; any other
|
|
45
|
+
* string is used as a CSS color as is. Derived from the seed when omitted.
|
|
46
|
+
*/
|
|
47
|
+
color?: AgentAvatarColor | (string & {});
|
|
48
|
+
/**
|
|
49
|
+
* Accessible name (`aria-label`); also the seed when `seed` is omitted. Without a name or
|
|
50
|
+
* `aria-label` the avatar is decorative and hidden from assistive technology.
|
|
51
|
+
*/
|
|
52
|
+
name?: string;
|
|
53
|
+
ref?: Ref<SVGSVGElement>;
|
|
54
|
+
/**
|
|
55
|
+
* Stable key the shape and color are derived from: the same seed always gives the same
|
|
56
|
+
* avatar. Falls back to `name`.
|
|
57
|
+
*/
|
|
58
|
+
seed?: string;
|
|
59
|
+
/** Silhouette. Derived from the seed when omitted. */
|
|
60
|
+
shape?: AgentAvatarShape;
|
|
61
|
+
/**
|
|
62
|
+
* Width and height in pixels. At 24px and below the pupils shrink a bit so the eye whites
|
|
63
|
+
* stay visible.
|
|
64
|
+
* @default 40
|
|
65
|
+
*/
|
|
66
|
+
size?: number;
|
|
67
|
+
/**
|
|
68
|
+
* Activity state.
|
|
69
|
+
* @default 'idle'
|
|
70
|
+
*/
|
|
71
|
+
state?: AgentAvatarState;
|
|
72
|
+
/** Inline styles of the semantic parts. */
|
|
73
|
+
styles?: AgentAvatarStyles;
|
|
74
|
+
}
|
|
75
|
+
//# sourceMappingURL=type.d.mts.map
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import { useSyncExternalStore } from "react";
|
|
3
|
+
// src/AgentAvatar/useReducedMotion.ts
|
|
4
|
+
const QUERY = "(prefers-reduced-motion: reduce)";
|
|
5
|
+
const getList = () => typeof window === "undefined" ? void 0 : window.matchMedia?.(QUERY) ?? void 0;
|
|
6
|
+
const subscribe = (listener) => {
|
|
7
|
+
const list = getList();
|
|
8
|
+
if (!list) return () => {};
|
|
9
|
+
list.addEventListener("change", listener);
|
|
10
|
+
return () => list.removeEventListener("change", listener);
|
|
11
|
+
};
|
|
12
|
+
/** `true` when the user asks for reduced motion; `false` on the server. */
|
|
13
|
+
const useReducedMotion = () => useSyncExternalStore(subscribe, () => getList()?.matches ?? false, () => false);
|
|
14
|
+
export { useReducedMotion };
|
|
15
|
+
|
|
16
|
+
//# sourceMappingURL=useReducedMotion.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useReducedMotion.mjs","names":[],"sources":["../../src/AgentAvatar/useReducedMotion.ts"],"sourcesContent":["'use client';\n\nimport { useSyncExternalStore } from 'react';\n\nconst QUERY = '(prefers-reduced-motion: reduce)';\n\nconst getList = () =>\n typeof window === 'undefined' ? undefined : (window.matchMedia?.(QUERY) ?? undefined);\n\nconst subscribe = (listener: () => void) => {\n const list = getList();\n if (!list) return () => {};\n list.addEventListener('change', listener);\n return () => list.removeEventListener('change', listener);\n};\n\n/** `true` when the user asks for reduced motion; `false` on the server. */\nexport const useReducedMotion = () =>\n useSyncExternalStore(\n subscribe,\n () => getList()?.matches ?? false,\n () => false,\n );\n"],"mappings":";;;AAIA,MAAM,QAAQ;AAEd,MAAM,gBACJ,OAAO,WAAW,cAAc,KAAA,IAAa,OAAO,aAAa,KAAK,KAAK,KAAA;AAE7E,MAAM,aAAa,aAAyB;CAC1C,MAAM,OAAO,QAAQ;CACrB,IAAI,CAAC,MAAM,aAAa,CAAC;CACzB,KAAK,iBAAiB,UAAU,QAAQ;CACxC,aAAa,KAAK,oBAAoB,UAAU,QAAQ;AAC1D;;AAGA,MAAa,yBACX,qBACE,iBACM,QAAQ,CAAC,EAAE,WAAW,aACtB,KACR"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { AgentAvatarColor, AgentAvatarShape } from "./type.mjs";
|
|
2
|
+
export declare const AGENT_AVATAR_SHAPES: readonly ["face", "bowl", "cloud", "tile", "hex", "shield", "pudding", "cookie", "star", "capsule", "ghost", "cat"];
|
|
3
|
+
export declare const AGENT_AVATAR_COLORS: readonly ["purple", "orange", "geekblue", "volcano", "magenta", "ink", "gray"];
|
|
4
|
+
export declare const AGENT_AVATAR_STATES: readonly ["idle", "working", "waiting", "blocked", "thinking", "done"];
|
|
5
|
+
export interface AgentAvatarTraits {
|
|
6
|
+
color: AgentAvatarColor;
|
|
7
|
+
/** Animation offset in seconds (negative), so a list of avatars does not blink in sync. */
|
|
8
|
+
phase: number;
|
|
9
|
+
shape: AgentAvatarShape;
|
|
10
|
+
}
|
|
11
|
+
/** Shape, color and animation phase derived from a seed. Pure and deterministic. */
|
|
12
|
+
export declare const getAgentAvatarTraits: (seed: string) => AgentAvatarTraits;
|
|
13
|
+
//# sourceMappingURL=utils.d.mts.map
|
|
@@ -0,0 +1,122 @@
|
|
|
1
|
+
import { cssVar } from "../styles/stylex/cssVar.stylex.mjs";
|
|
2
|
+
import gray from "../color/colors/gray.mjs";
|
|
3
|
+
import orange from "../color/colors/orange.mjs";
|
|
4
|
+
// src/AgentAvatar/utils.ts
|
|
5
|
+
const AGENT_AVATAR_SHAPES = [
|
|
6
|
+
"face",
|
|
7
|
+
"bowl",
|
|
8
|
+
"cloud",
|
|
9
|
+
"tile",
|
|
10
|
+
"hex",
|
|
11
|
+
"shield",
|
|
12
|
+
"pudding",
|
|
13
|
+
"cookie",
|
|
14
|
+
"star",
|
|
15
|
+
"capsule",
|
|
16
|
+
"ghost",
|
|
17
|
+
"cat"
|
|
18
|
+
];
|
|
19
|
+
const AGENT_AVATAR_COLORS = [
|
|
20
|
+
"purple",
|
|
21
|
+
"orange",
|
|
22
|
+
"geekblue",
|
|
23
|
+
"volcano",
|
|
24
|
+
"magenta",
|
|
25
|
+
"ink",
|
|
26
|
+
"gray"
|
|
27
|
+
];
|
|
28
|
+
const AGENT_AVATAR_STATES = [
|
|
29
|
+
"idle",
|
|
30
|
+
"working",
|
|
31
|
+
"waiting",
|
|
32
|
+
"blocked",
|
|
33
|
+
"thinking",
|
|
34
|
+
"done"
|
|
35
|
+
];
|
|
36
|
+
/**
|
|
37
|
+
* Theme color per palette key, one scale step per appearance. The dark steps are lifted so the
|
|
38
|
+
* body keeps at least 3:1 against the dark container background; `ink` and `gray` cannot reuse
|
|
39
|
+
* their light step there because the neutral scale flips to near-white in dark mode.
|
|
40
|
+
*/
|
|
41
|
+
const AGENT_AVATAR_COLOR_TOKENS = {
|
|
42
|
+
geekblue: {
|
|
43
|
+
dark: cssVar.geekblue9,
|
|
44
|
+
light: cssVar.geekblue8
|
|
45
|
+
},
|
|
46
|
+
gray: {
|
|
47
|
+
dark: cssVar.gray10,
|
|
48
|
+
light: cssVar.gray9
|
|
49
|
+
},
|
|
50
|
+
ink: {
|
|
51
|
+
dark: cssVar.gray7,
|
|
52
|
+
light: cssVar.gray11
|
|
53
|
+
},
|
|
54
|
+
magenta: {
|
|
55
|
+
dark: cssVar.magenta9,
|
|
56
|
+
light: cssVar.magenta8
|
|
57
|
+
},
|
|
58
|
+
orange: {
|
|
59
|
+
dark: cssVar.orange9,
|
|
60
|
+
light: cssVar.orange9
|
|
61
|
+
},
|
|
62
|
+
purple: {
|
|
63
|
+
dark: cssVar.purple9,
|
|
64
|
+
light: cssVar.purple8
|
|
65
|
+
},
|
|
66
|
+
volcano: {
|
|
67
|
+
dark: cssVar.volcano9,
|
|
68
|
+
light: cssVar.volcano8
|
|
69
|
+
}
|
|
70
|
+
};
|
|
71
|
+
/** Logo eyes: warm white and near black, identical for every color and appearance. */
|
|
72
|
+
const SCLERA_COLOR = orange.light[2];
|
|
73
|
+
const PUPIL_COLOR = gray.light[12];
|
|
74
|
+
const SEED_SALT = "lh3174:";
|
|
75
|
+
/** FNV-1a followed by the murmur3 finalizer: cheap, deterministic and well spread. */
|
|
76
|
+
const hashSeed = (seed) => {
|
|
77
|
+
let hash = 2166136261;
|
|
78
|
+
for (let index = 0; index < seed.length; index++) {
|
|
79
|
+
hash ^= seed.charCodeAt(index);
|
|
80
|
+
hash = Math.imul(hash, 16777619);
|
|
81
|
+
}
|
|
82
|
+
hash ^= hash >>> 16;
|
|
83
|
+
hash = Math.imul(hash, 2246822507);
|
|
84
|
+
hash ^= hash >>> 13;
|
|
85
|
+
hash = Math.imul(hash, 3266489909);
|
|
86
|
+
hash ^= hash >>> 16;
|
|
87
|
+
return hash >>> 0;
|
|
88
|
+
};
|
|
89
|
+
/** Shape, color and animation phase derived from a seed. Pure and deterministic. */
|
|
90
|
+
const getAgentAvatarTraits = (seed) => {
|
|
91
|
+
const hash = hashSeed(`${SEED_SALT}${seed}`);
|
|
92
|
+
return {
|
|
93
|
+
color: AGENT_AVATAR_COLORS[(hash >>> 3) % AGENT_AVATAR_COLORS.length],
|
|
94
|
+
phase: -((hash >>> 7) % 3e3 / 1e3),
|
|
95
|
+
shape: AGENT_AVATAR_SHAPES[hash % AGENT_AVATAR_SHAPES.length]
|
|
96
|
+
};
|
|
97
|
+
};
|
|
98
|
+
const isAgentAvatarColor = (color) => AGENT_AVATAR_COLORS.includes(color);
|
|
99
|
+
/** Pupil / sclera radius ratio. */
|
|
100
|
+
const PUPIL_RATIO = .6;
|
|
101
|
+
/** Smaller pupils at sidebar sizes keep a visible ring of white. */
|
|
102
|
+
const PUPIL_RATIO_SMALL = .5;
|
|
103
|
+
/** Motion values are authored for a sclera radius of 14.5 and scaled per shape. */
|
|
104
|
+
const GAZE_UNIT_RADIUS = 14.5;
|
|
105
|
+
/**
|
|
106
|
+
* Still pose of the pupils per state, in gaze units. `thinking` looks up but keeps a band of
|
|
107
|
+
* white above the pupil (the keyframes in `style.ts` use the same bound).
|
|
108
|
+
*/
|
|
109
|
+
const STILL_GAZE = {
|
|
110
|
+
blocked: [0, 0],
|
|
111
|
+
done: [0, 0],
|
|
112
|
+
idle: [0, 1.6],
|
|
113
|
+
thinking: [1.8, -3.1],
|
|
114
|
+
waiting: [0, 1.4],
|
|
115
|
+
working: [-2, 3.4]
|
|
116
|
+
};
|
|
117
|
+
/** `blocked` widens the eyes and shrinks the pupils. */
|
|
118
|
+
const BLOCKED_SCLERA_SCALE = 1.1;
|
|
119
|
+
const BLOCKED_PUPIL_RATIO = .36;
|
|
120
|
+
export { AGENT_AVATAR_COLORS, AGENT_AVATAR_COLOR_TOKENS, AGENT_AVATAR_SHAPES, AGENT_AVATAR_STATES, BLOCKED_PUPIL_RATIO, BLOCKED_SCLERA_SCALE, GAZE_UNIT_RADIUS, PUPIL_COLOR, PUPIL_RATIO, PUPIL_RATIO_SMALL, SCLERA_COLOR, STILL_GAZE, getAgentAvatarTraits, hashSeed, isAgentAvatarColor };
|
|
121
|
+
|
|
122
|
+
//# sourceMappingURL=utils.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"utils.mjs","names":[],"sources":["../../src/AgentAvatar/utils.ts"],"sourcesContent":["import gray from '@/color/colors/gray';\nimport orange from '@/color/colors/orange';\nimport { cssVar } from '@/styles/stylex/cssVar.stylex';\n\nimport type { AgentAvatarColor, AgentAvatarShape, AgentAvatarState } from './type';\n\nexport const AGENT_AVATAR_SHAPES = [\n 'face',\n 'bowl',\n 'cloud',\n 'tile',\n 'hex',\n 'shield',\n 'pudding',\n 'cookie',\n 'star',\n 'capsule',\n 'ghost',\n 'cat',\n] as const satisfies readonly AgentAvatarShape[];\n\nexport const AGENT_AVATAR_COLORS = [\n 'purple',\n 'orange',\n 'geekblue',\n 'volcano',\n 'magenta',\n 'ink',\n 'gray',\n] as const satisfies readonly AgentAvatarColor[];\n\nexport const AGENT_AVATAR_STATES = [\n 'idle',\n 'working',\n 'waiting',\n 'blocked',\n 'thinking',\n 'done',\n] as const satisfies readonly AgentAvatarState[];\n\n/**\n * Theme color per palette key, one scale step per appearance. The dark steps are lifted so the\n * body keeps at least 3:1 against the dark container background; `ink` and `gray` cannot reuse\n * their light step there because the neutral scale flips to near-white in dark mode.\n */\nexport const AGENT_AVATAR_COLOR_TOKENS: Record<AgentAvatarColor, { dark: string; light: string }> =\n {\n geekblue: { dark: cssVar.geekblue9, light: cssVar.geekblue8 },\n gray: { dark: cssVar.gray10, light: cssVar.gray9 },\n ink: { dark: cssVar.gray7, light: cssVar.gray11 },\n magenta: { dark: cssVar.magenta9, light: cssVar.magenta8 },\n orange: { dark: cssVar.orange9, light: cssVar.orange9 },\n purple: { dark: cssVar.purple9, light: cssVar.purple8 },\n volcano: { dark: cssVar.volcano9, light: cssVar.volcano8 },\n };\n\n/** Logo eyes: warm white and near black, identical for every color and appearance. */\nexport const SCLERA_COLOR = orange.light[2];\nexport const PUPIL_COLOR = gray.light[12];\n\nconst SEED_SALT = 'lh3174:';\n\n/** FNV-1a followed by the murmur3 finalizer: cheap, deterministic and well spread. */\nexport const hashSeed = (seed: string) => {\n let hash = 2_166_136_261;\n for (let index = 0; index < seed.length; index++) {\n hash ^= seed.charCodeAt(index);\n hash = Math.imul(hash, 16_777_619);\n }\n hash ^= hash >>> 16;\n hash = Math.imul(hash, 0x85_EB_CA_6B);\n hash ^= hash >>> 13;\n hash = Math.imul(hash, 0xC2_B2_AE_35);\n hash ^= hash >>> 16;\n return hash >>> 0;\n};\n\nexport interface AgentAvatarTraits {\n color: AgentAvatarColor;\n /** Animation offset in seconds (negative), so a list of avatars does not blink in sync. */\n phase: number;\n shape: AgentAvatarShape;\n}\n\n/** Shape, color and animation phase derived from a seed. Pure and deterministic. */\nexport const getAgentAvatarTraits = (seed: string): AgentAvatarTraits => {\n const hash = hashSeed(`${SEED_SALT}${seed}`);\n return {\n color: AGENT_AVATAR_COLORS[(hash >>> 3) % AGENT_AVATAR_COLORS.length],\n phase: -(((hash >>> 7) % 3000) / 1000),\n shape: AGENT_AVATAR_SHAPES[hash % AGENT_AVATAR_SHAPES.length],\n };\n};\n\nexport const isAgentAvatarColor = (color: string): color is AgentAvatarColor =>\n (AGENT_AVATAR_COLORS as readonly string[]).includes(color);\n\n/** Pupil / sclera radius ratio. */\nexport const PUPIL_RATIO = 0.6;\n/** Smaller pupils at sidebar sizes keep a visible ring of white. */\nexport const PUPIL_RATIO_SMALL = 0.5;\nexport const SMALL_SIZE = 24;\n\n/** Motion values are authored for a sclera radius of 14.5 and scaled per shape. */\nexport const GAZE_UNIT_RADIUS = 14.5;\n\n/**\n * Still pose of the pupils per state, in gaze units. `thinking` looks up but keeps a band of\n * white above the pupil (the keyframes in `style.ts` use the same bound).\n */\nexport const STILL_GAZE: Record<AgentAvatarState, [number, number]> = {\n blocked: [0, 0],\n done: [0, 0],\n idle: [0, 1.6],\n thinking: [1.8, -3.1],\n waiting: [0, 1.4],\n working: [-2, 3.4],\n};\n\n/** `blocked` widens the eyes and shrinks the pupils. */\nexport const BLOCKED_SCLERA_SCALE = 1.1;\nexport const BLOCKED_PUPIL_RATIO = 0.36;\n"],"mappings":";;;;AAMA,MAAa,sBAAsB;CACjC;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;AACF;AAEA,MAAa,sBAAsB;CACjC;CACA;CACA;CACA;CACA;CACA;CACA;AACF;AAEA,MAAa,sBAAsB;CACjC;CACA;CACA;CACA;CACA;CACA;AACF;;;;;;AAOA,MAAa,4BACX;CACE,UAAU;EAAE,MAAM,OAAO;EAAW,OAAO,OAAO;CAAU;CAC5D,MAAM;EAAE,MAAM,OAAO;EAAQ,OAAO,OAAO;CAAM;CACjD,KAAK;EAAE,MAAM,OAAO;EAAO,OAAO,OAAO;CAAO;CAChD,SAAS;EAAE,MAAM,OAAO;EAAU,OAAO,OAAO;CAAS;CACzD,QAAQ;EAAE,MAAM,OAAO;EAAS,OAAO,OAAO;CAAQ;CACtD,QAAQ;EAAE,MAAM,OAAO;EAAS,OAAO,OAAO;CAAQ;CACtD,SAAS;EAAE,MAAM,OAAO;EAAU,OAAO,OAAO;CAAS;AAC3D;;AAGF,MAAa,eAAe,OAAO,MAAM;AACzC,MAAa,cAAc,KAAK,MAAM;AAEtC,MAAM,YAAY;;AAGlB,MAAa,YAAY,SAAiB;CACxC,IAAI,OAAO;CACX,KAAK,IAAI,QAAQ,GAAG,QAAQ,KAAK,QAAQ,SAAS;EAChD,QAAQ,KAAK,WAAW,KAAK;EAC7B,OAAO,KAAK,KAAK,MAAM,QAAU;CACnC;CACA,QAAQ,SAAS;CACjB,OAAO,KAAK,KAAK,MAAM,UAAa;CACpC,QAAQ,SAAS;CACjB,OAAO,KAAK,KAAK,MAAM,UAAa;CACpC,QAAQ,SAAS;CACjB,OAAO,SAAS;AAClB;;AAUA,MAAa,wBAAwB,SAAoC;CACvE,MAAM,OAAO,SAAS,GAAG,YAAY,MAAM;CAC3C,OAAO;EACL,OAAO,qBAAqB,SAAS,KAAK,oBAAoB;EAC9D,OAAO,GAAI,SAAS,KAAK,MAAQ;EACjC,OAAO,oBAAoB,OAAO,oBAAoB;CACxD;AACF;AAEA,MAAa,sBAAsB,UAChC,oBAA0C,SAAS,KAAK;;AAG3D,MAAa,cAAc;;AAE3B,MAAa,oBAAoB;;AAIjC,MAAa,mBAAmB;;;;;AAMhC,MAAa,aAAyD;CACpE,SAAS,CAAC,GAAG,CAAC;CACd,MAAM,CAAC,GAAG,CAAC;CACX,MAAM,CAAC,GAAG,GAAG;CACb,UAAU,CAAC,KAAK,IAAI;CACpB,SAAS,CAAC,GAAG,GAAG;CAChB,SAAS,CAAC,IAAI,GAAG;AACnB;;AAGA,MAAa,uBAAuB;AACpC,MAAa,sBAAsB"}
|
package/es/CodeDiff/theme.mjs
CHANGED
|
@@ -1,12 +1,14 @@
|
|
|
1
1
|
import { cssVar } from "../styles/stylex/cssVar.stylex.mjs";
|
|
2
|
+
import lobeHighlightsTheme from "../Highlighter/theme/lobe-highlights-theme.mjs";
|
|
2
3
|
import lobe_theme_default from "../Highlighter/theme/lobe-theme.mjs";
|
|
3
4
|
import { registerCustomTheme, resolveTheme } from "@pierre/diffs";
|
|
4
5
|
// src/CodeDiff/theme.ts
|
|
5
6
|
let isLobeDiffThemeRegistered = false;
|
|
6
7
|
const registerLobeDiffThemes = () => {
|
|
7
8
|
if (isLobeDiffThemeRegistered) return;
|
|
9
|
+
registerCustomTheme("lobe-theme", () => Promise.resolve(lobeHighlightsTheme), "zed");
|
|
8
10
|
registerCustomTheme("lobe-theme", () => Promise.resolve(lobe_theme_default));
|
|
9
|
-
resolveTheme("lobe-theme");
|
|
11
|
+
resolveTheme("lobe-theme", "highlights");
|
|
10
12
|
isLobeDiffThemeRegistered = true;
|
|
11
13
|
};
|
|
12
14
|
const customSeparatorCSS = `
|
|
@@ -43,6 +45,7 @@ const getLobeDiffOptions = ({ diffOptions, isDarkMode, viewMode }) => ({
|
|
|
43
45
|
themeType: isDarkMode ? "dark" : "light",
|
|
44
46
|
diffStyle: viewMode,
|
|
45
47
|
disableFileHeader: true,
|
|
48
|
+
preferredHighlighter: "highlights",
|
|
46
49
|
unsafeCSS: customSeparatorCSS,
|
|
47
50
|
...diffOptions
|
|
48
51
|
});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"theme.mjs","names":["lobeTheme"],"sources":["../../src/CodeDiff/theme.ts"],"sourcesContent":["import type { FileDiffOptions } from '@pierre/diffs';\nimport { registerCustomTheme, resolveTheme } from '@pierre/diffs';\n\nimport lobeTheme from '@/Highlighter/theme/lobe-theme';\nimport { cssVar } from '@/styles/stylex/cssVar.stylex';\n\nimport type { DiffViewMode } from './type';\n\nlet isLobeDiffThemeRegistered = false;\n\nexport const registerLobeDiffThemes = () => {\n if (isLobeDiffThemeRegistered) return;\n\n registerCustomTheme('lobe-theme', () => Promise.resolve(lobeTheme as any));\n void resolveTheme('lobe-theme');\n\n isLobeDiffThemeRegistered = true;\n};\n\nconst customSeparatorCSS = `\n :host {\n --diffs-dark-bg: transparent !important;\n --diffs-light-bg: transparent !important;\n --diffs-gap-fallback: 8px;\n --diffs-added-light: ${cssVar.colorSuccessHover};\n --diffs-added-dark: ${cssVar.colorSuccessBorderHover};\n --diffs-modified-light: ${cssVar.colorInfoHover};\n --diffs-modified-dark: ${cssVar.colorInfoBorderHover};\n --diffs-deleted-light: ${cssVar.colorErrorHover};\n --diffs-deleted-dark: ${cssVar.colorErrorBorderHover};\n }\n\n [data-gutter-buffer] {\n opacity: 0.2 !important;\n }\n\n [data-code] {\n padding-top: 0 !important;\n padding-bottom: 0 !important;\n }\n\n [data-gutter] {\n backdrop-filter: blur(16px) !important;\n }\n`;\n\nexport const getLobeDiffOptions = ({\n diffOptions,\n isDarkMode,\n viewMode,\n}: {\n diffOptions?: FileDiffOptions<string, undefined>;\n isDarkMode: boolean;\n viewMode: DiffViewMode;\n}): FileDiffOptions<string, undefined> => ({\n theme: {\n dark: 'lobe-theme',\n light: 'lobe-theme',\n },\n themeType: isDarkMode ? 'dark' : 'light',\n diffStyle: viewMode,\n disableFileHeader: true,\n unsafeCSS: customSeparatorCSS,\n ...diffOptions,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"theme.mjs","names":["lobeTheme"],"sources":["../../src/CodeDiff/theme.ts"],"sourcesContent":["import type { FileDiffOptions } from '@pierre/diffs';\nimport { registerCustomTheme, resolveTheme } from '@pierre/diffs';\n\nimport lobeHighlightsTheme from '@/Highlighter/theme/lobe-highlights-theme';\nimport lobeTheme from '@/Highlighter/theme/lobe-theme';\nimport { cssVar } from '@/styles/stylex/cssVar.stylex';\n\nimport type { DiffViewMode } from './type';\n\nlet isLobeDiffThemeRegistered = false;\n\nexport const registerLobeDiffThemes = () => {\n if (isLobeDiffThemeRegistered) return;\n\n registerCustomTheme('lobe-theme', () => Promise.resolve(lobeHighlightsTheme), 'zed');\n registerCustomTheme('lobe-theme', () => Promise.resolve(lobeTheme as any));\n // Without an explicit backend, resolveTheme falls back to shiki and pulls shiki/core in eagerly.\n void resolveTheme('lobe-theme', 'highlights');\n\n isLobeDiffThemeRegistered = true;\n};\n\nconst customSeparatorCSS = `\n :host {\n --diffs-dark-bg: transparent !important;\n --diffs-light-bg: transparent !important;\n --diffs-gap-fallback: 8px;\n --diffs-added-light: ${cssVar.colorSuccessHover};\n --diffs-added-dark: ${cssVar.colorSuccessBorderHover};\n --diffs-modified-light: ${cssVar.colorInfoHover};\n --diffs-modified-dark: ${cssVar.colorInfoBorderHover};\n --diffs-deleted-light: ${cssVar.colorErrorHover};\n --diffs-deleted-dark: ${cssVar.colorErrorBorderHover};\n }\n\n [data-gutter-buffer] {\n opacity: 0.2 !important;\n }\n\n [data-code] {\n padding-top: 0 !important;\n padding-bottom: 0 !important;\n }\n\n [data-gutter] {\n backdrop-filter: blur(16px) !important;\n }\n`;\n\nexport const getLobeDiffOptions = ({\n diffOptions,\n isDarkMode,\n viewMode,\n}: {\n diffOptions?: FileDiffOptions<string, undefined>;\n isDarkMode: boolean;\n viewMode: DiffViewMode;\n}): FileDiffOptions<string, undefined> => ({\n theme: {\n dark: 'lobe-theme',\n light: 'lobe-theme',\n },\n themeType: isDarkMode ? 'dark' : 'light',\n diffStyle: viewMode,\n disableFileHeader: true,\n preferredHighlighter: 'highlights',\n unsafeCSS: customSeparatorCSS,\n ...diffOptions,\n});\n"],"mappings":";;;;;AASA,IAAI,4BAA4B;AAEhC,MAAa,+BAA+B;CAC1C,IAAI,2BAA2B;CAE/B,oBAAoB,oBAAoB,QAAQ,QAAQ,mBAAmB,GAAG,KAAK;CACnF,oBAAoB,oBAAoB,QAAQ,QAAQA,kBAAgB,CAAC;CAEzE,aAAkB,cAAc,YAAY;CAE5C,4BAA4B;AAC9B;AAEA,MAAM,qBAAqB;;;;;2BAKA,OAAO,kBAAkB;0BAC1B,OAAO,wBAAwB;8BAC3B,OAAO,eAAe;6BACvB,OAAO,qBAAqB;6BAC5B,OAAO,gBAAgB;4BACxB,OAAO,sBAAsB;;;;;;;;;;;;;;;;AAiBzD,MAAa,sBAAsB,EACjC,aACA,YACA,gBAKyC;CACzC,OAAO;EACL,MAAM;EACN,OAAO;CACT;CACA,WAAW,aAAa,SAAS;CACjC,WAAW;CACX,mBAAmB;CACnB,sBAAsB;CACtB,WAAW;CACX,GAAG;AACL"}
|
package/es/Text/style.d.mts
CHANGED
|
@@ -14,12 +14,12 @@ export declare const textStyles: {
|
|
|
14
14
|
disabled: string;
|
|
15
15
|
danger: string;
|
|
16
16
|
success: string;
|
|
17
|
+
warning: string;
|
|
18
|
+
info: string;
|
|
17
19
|
delete: string;
|
|
18
20
|
ellipsis: string;
|
|
19
21
|
italic: string;
|
|
20
22
|
underline: string;
|
|
21
|
-
warning: string;
|
|
22
|
-
info: string;
|
|
23
23
|
ellipsisMulti: string;
|
|
24
24
|
secondary: string;
|
|
25
25
|
};
|
package/es/index.d.mts
CHANGED
|
@@ -47,6 +47,10 @@ import "./DropdownMenu/index.mjs";
|
|
|
47
47
|
import { ActionIconGroupEvent, ActionIconGroupProps } from "./ActionIconGroup/type.mjs";
|
|
48
48
|
import ActionIconGroup from "./ActionIconGroup/ActionIconGroup.mjs";
|
|
49
49
|
import "./ActionIconGroup/index.mjs";
|
|
50
|
+
import { AgentAvatarClassNames, AgentAvatarColor, AgentAvatarProps, AgentAvatarShape, AgentAvatarState, AgentAvatarStyles } from "./AgentAvatar/type.mjs";
|
|
51
|
+
import AgentAvatar from "./AgentAvatar/AgentAvatar.mjs";
|
|
52
|
+
import { AGENT_AVATAR_COLORS, AGENT_AVATAR_SHAPES, AGENT_AVATAR_STATES, getAgentAvatarTraits } from "./AgentAvatar/utils.mjs";
|
|
53
|
+
import "./AgentAvatar/index.mjs";
|
|
50
54
|
import { AlertClassNames, AlertCloseConfig, AlertProps, AlertRef, AlertStyles, AlertType, AlertVariant } from "./Alert/type.mjs";
|
|
51
55
|
import Alert from "./Alert/Alert.mjs";
|
|
52
56
|
import { alertStyles } from "./Alert/style.mjs";
|
|
@@ -409,6 +413,7 @@ import UploadDragger from "./Upload/UploadDragger.mjs";
|
|
|
409
413
|
import "./Upload/index.mjs";
|
|
410
414
|
import { copyToClipboard } from "./utils/copyToClipboard.mjs";
|
|
411
415
|
import { preventDefault, preventDefaultAndStopPropagation, stopPropagation } from "./utils/dom.mjs";
|
|
416
|
+
import lobeHighlightsTheme from "./Highlighter/theme/lobe-highlights-theme.mjs";
|
|
412
417
|
import _default$5 from "./Highlighter/theme/lobe-theme.mjs";
|
|
413
418
|
import FormDivider from "./Form/components/FormDivider.mjs";
|
|
414
419
|
import FormField from "./Form/components/FormField.mjs";
|
|
@@ -421,4 +426,4 @@ import { useFormContext } from "./Form/context.mjs";
|
|
|
421
426
|
import { Form } from "./Form/index.mjs";
|
|
422
427
|
import { rehypeStreamAnimated } from "@lobehub/streamdown";
|
|
423
428
|
import { ErrorBoundary, ErrorBoundaryProps } from "react-error-boundary";
|
|
424
|
-
export { A, type AProps, Accordion, type AccordionClassNames, AccordionHeader, type AccordionHeaderProps, type AccordionIndicatorPlacement, AccordionItem, type AccordionItemProps, type AccordionItemType, AccordionPanel, type AccordionPanelProps, type AccordionProps, AccordionRoot, type AccordionRootProps, type AccordionStyles, AccordionTrigger, type AccordionTriggerProps, type AccordionVariant, ActionIcon, type ActionIconClassNames, ActionIconGroup, type ActionIconGroupEvent, type MenuItemType as ActionIconGroupItemType, type ActionIconGroupProps, type ActionIconOutdent, type ActionIconProps, type ActionIconSize, type ActionIconStyles, type ActionIconVariant, Alert, type AlertClassNames, type AlertCloseConfig, type AlertProps, type AlertRef, type AlertStyles, type AlertType, type AlertVariant, Anchor, type AnchorItem, type AnchorProps, AutoComplete, type AutoCompleteOption, type AutoCompleteProps, Avatar, type AvatarClassNames, type AvatarFallbackVariant, type AvatarGeneratedFallbackVariant, AvatarGroup, type AvatarGroupItemType, type AvatarGroupProps, type AvatarProps, type AvatarStyles, Badge, type BadgeProps, type BadgeSize, type BadgeStatus, type BaseMenuItemGroupType, type BaseMenuItemType, type BaseModalProps, type BaseSubMenuType, Block, type BlockProps, Breadcrumb, type BreadcrumbItem, type BreadcrumbProps, Burger, type BurgerProps, Button, type ButtonIconPosition, type ButtonOutdent, type ButtonProps, type ButtonShape, type ButtonSize, type ButtonType, type CDN, CLASSNAMES, type CalendarMode, Carousel, type CarouselProps, type CarouselRef, type CellRender, type CellRenderInfo, Center, type CenterProps, _default as Checkbox, CheckboxGroup, type CheckboxGroupOption, type CheckboxGroupProps, type CheckboxProps, type CheckboxShape, CodeDiff, type CodeDiffProps, CodeEditor, type CodeEditorProps, Collapsible, type CollapsibleProps, type ColorPalettes, type ColorPalettesAlpha, ColorPicker, type ColorPickerProps, ColorSwatches, type ColorSwatchesProps, type ColorToken, type Config, ConfigProvider, type ConfigProviderProps, type ContextMenuCheckboxItem, ContextMenuHost, type ContextMenuInterceptor, type ContextMenuItem, ContextMenuTrigger, type ControlSize, CopyButton, type CopyButtonProps, type CreateLobeTokenParams, type CustomNeutralColor, type CustomPrimaryColor, DatePicker, type DatePickerBaseProps, type DatePickerProps, type DatePickerSemanticType, type DatePickerType, DateRangePicker, type DateRangePickerProps, type DateRangeValue, DayjsDatePicker, type DayjsDatePickerProps, type DayjsDatePickerType, DayjsDateRangePicker, type DayjsDateRangePickerProps, type DayjsDateRangeValue, Descriptions, type DescriptionsItem, type DescriptionsProps, type DiffViewMode, type Direction, type DistributiveOmit, type DivProps, Divider, type DividerOrientation, type DividerProps, DownloadButton, type DownloadButtonProps, DraggablePanel, DraggablePanelBody, type DraggablePanelBodyProps, DraggablePanelContainer, type DraggablePanelContainerProps, DraggablePanelContent, type DraggablePanelContentProps, DraggablePanelFooter, type DraggablePanelFooterProps, DraggablePanelHandle, type DraggablePanelHandleProps, DraggablePanelHeader, type DraggablePanelHeaderProps, type DraggablePanelPlacement, type DraggablePanelProps, DraggablePanelRoot, type DraggablePanelRootProps, type DraggablePanelSize, DraggablePanelToggle, type DraggablePanelToggleProps, DraggableSideNav, type DraggableSideNavProps, Drawer, DrawerBackdrop, type DrawerBackdropProps, DrawerClose, type DrawerCloseProps, DrawerContent, type DrawerContentProps, DrawerDescription, type DrawerDescriptionProps, DrawerFooter, type DrawerFooterProps, DrawerHeader, type DrawerHeaderProps, type DrawerPlacement, DrawerPopup, type DrawerPopupProps, DrawerPortal, type DrawerPortalProps, type DrawerProps, type DrawerPush, DrawerRoot, type DrawerRootProps, type DrawerSemanticNames, type DrawerSemanticStyles, DrawerTitle, type DrawerTitleProps, DrawerTrigger, type DrawerTriggerProps, type DropdownItem, DropdownMenu, type DropdownMenuCheckboxItem, DropdownMenuCheckboxItemIndicator, DropdownMenuCheckboxItemPrimitive, type DropdownMenuCheckboxItemProps, DropdownMenuFooter, type DropdownMenuFooterProps, DropdownMenuGroup, DropdownMenuGroupLabel, type DropdownMenuGroupLabelProps, DropdownMenuHeader, type DropdownMenuHeaderProps, DropdownMenuItem, DropdownMenuItemContent, type DropdownMenuItemContentProps, DropdownMenuItemDesc, type DropdownMenuItemDescProps, DropdownMenuItemExtra, type DropdownMenuItemExtraProps, DropdownMenuItemIcon, type DropdownMenuItemIconProps, DropdownMenuItemLabel, DropdownMenuItemLabelGroup, type DropdownMenuItemLabelGroupProps, type DropdownMenuItemLabelProps, type DropdownMenuItemProps, type DropdownMenuPlacement, DropdownMenuPopup, type DropdownMenuPopupProps, DropdownMenuPortal, type DropdownMenuPortalProps, DropdownMenuPositioner, type DropdownMenuPositionerProps, type DropdownMenuProps, DropdownMenuRoot, DropdownMenuScrollViewport, type DropdownMenuScrollViewportProps, DropdownMenuSeparator, type DropdownMenuSeparatorProps, DropdownMenuSubmenuArrow, type DropdownMenuSubmenuArrowProps, DropdownMenuSubmenuRoot, DropdownMenuSubmenuTrigger, type DropdownMenuSubmenuTriggerProps, DropdownMenuSwitchItem, type DropdownMenuSwitchItemProps, type DropdownMenuSwitchItem$1 as DropdownMenuSwitchItemType, DropdownMenuTrigger, type DropdownMenuTriggerProps, EditableText, type EditableTextProps, EditorSlashMenu, type EditorSlashMenuGroup, type EditorSlashMenuItems, type EditorSlashMenuOption, EmojiPicker, type EmojiPickerProps, Empty, type EmptyProps, ErrorBoundary, type ErrorBoundaryProps, FileTypeIcon, type FileTypeIconProps, type FilterValue, _default$1 as FlexBasic, type FlexBasicProps, _default$1 as Flexbox, type FlexboxProps, type FloatingCollisionPadding, FloatingPanel, type FloatingPanelOffset, type FloatingPanelPlacement, type FloatingPanelProps, FloatingSheet, type FloatingSheetProps, FluentEmoji, type FluentEmojiProps, FocusScope, type FocusScopeProps, FontLoader, type FontLoaderProps, Form, type FormContextValue, FormDivider, type FormDividerProps, FormField, type FormFieldProps, FormFlatGroup, type FormFlatGroupProps, FormFooter, type FormFooterProps, FormGroup, type FormGroupItemType, type FormGroupProps, type FormLayout, type FormProps, FormSubmitFooter, type FormSubmitFooterProps, FormTitle, type FormTitleProps, type FormValues, type FormVariant, Freeze, type FreezeProps, type GenerateConfig, type GeneratedDatePicker, type GenericItemType, type GenericTimePickerProps, Grid, type GridProps, GroupAvatar, type GroupAvatarProps, GuideCard, type GuideCardProps, DEFAULT_HEIGHT as HTML_PREVIEW_DEFAULT_HEIGHT, DEFAULT_SANDBOX as HTML_PREVIEW_DEFAULT_SANDBOX, AUTO_HEIGHT_MESSAGE_TYPE as HTML_PREVIEW_RESIZE_MESSAGE, Header, type HeaderProps, Highlighter, type HighlighterProps, Hotkey, HotkeyInput, type HotkeyInputProps, type HotkeyProps, HtmlPreview, HtmlPreviewIframe, type HtmlPreviewIframeProps, type HtmlPreviewMode, type HtmlPreviewProps, type HtmlPreviewStreamingMode, I18nProvider, type I18nProviderProps, Icon, type IconAlign, type IconProps, IconProvider, type IconSize, type IconSpaceMode, Image, type ImagePreviewOptions, type ImageProps, ImageSelect, type ImageSelectItem, type ImageSelectProps, type ImgProps, type ImperativeModalProps, _default$2 as Input, type InputClassNames, _default$3 as InputNumber, type InputNumberProps, InputOTP, type InputOTPProps, _default$4 as InputPassword, type InputPasswordProps, type InputPasswordVisibilityToggleLabels, type InputProps, type InputSize, type InputStyles, type InputVariant, type ItemType, type ItemsType, KeyMapEnum, LOBE_THEME_APP_ID, Layout, LayoutFooter, type LayoutFooterProps, LayoutHeader, type LayoutHeaderProps, LayoutMain, type LayoutMainProps, type LayoutProps, LayoutSidebar, LayoutSidebarInner, type LayoutSidebarInnerProps, type LayoutSidebarProps, LayoutToc, type LayoutTocProps, type LegacyDateInput, List, type ListClickInfo, type ListDividerType, type ListItem, type ListItemType, type ListProps, type ListSemanticName, type LobeAppearance, type LobeCssVar, type LobeCustomStylish, type LobeCustomToken, type LobeNeutralColor, type LobeNeutralScale, type LobePrimaryColor, type LobeStatusPalette, type LobeTheme, LobeThemeScript, type LobeThemeScriptProps, type LobeThemeState, type LobeToken, I18nProvider as LobeUIProvider, Markdown, type MarkdownProps, MaskShadow, type MaskShadowProps, MaterialFileTypeIcon, type MaterialFileTypeIconProps, type MenuCheckboxItemType, type MenuDividerType, type MenuInfo, type MenuItemGroupType, type MenuItemType, type MenuSwitchItemType, Mermaid, type MermaidProps, Modal, ModalBackdrop, type ModalBackdropProps, ModalClose, type ModalCloseProps, type ModalComponentProps, type ModalConfirmConfig, ModalContent, type ModalContentProps, ModalContext, type ModalContextValue, ModalDescription, type ModalDescriptionProps, ModalFooter, type ModalFooterProps, ModalHeader, type ModalHeaderProps, ModalHost, type ModalHostProps, type ModalInstance, ModalPopup, type ModalPopupProps, ModalPortal, type ModalPortalProps, ModalRoot, type ModalRootProps, type ModalSystem, ModalTitle, type ModalTitleProps, ModalTrigger, type ModalTriggerProps, ModalViewport, type ModalViewportProps, type MonthPickerProps, MotionComponent, type MotionComponentType, MotionProvider, NeutralColors, NeutralColorsObj, Pagination, type PaginationAlign, type PaginationItemType, type PaginationProps, type PaginationSemanticName, type PaginationSize, type PaginationSizeChangerProps, type PanelMode, PatchDiff, type PatchDiffProps, type PickerClassNames, type PickerComponents, type PickerDateInput, type PickerDateStrings, type PickerLocale, type PickerLocaleInput, type PickerLocaleLang, type PickerMode, type PickerPanelProps, type PickerPlacement, type PickerPopupSemanticName, type PickerProps, type PickerPropsWithMultiple, type PickerRef, type PickerSemanticClassNames, type PickerSemanticName, type PickerSemanticStyles, type PickerSize, type PickerStatus, type PickerStyles, type PickerTagProps, type PickerValueInput, type PickerVariant, type Placement, type PlacementConfig, Popover, PopoverArrow, type PopoverArrowAtomProps, PopoverArrowIcon, PopoverBackdrop, type PopoverBackdropProps, type PopoverContextValue, PopoverGroup, type PopoverGroupHandle, type PopoverGroupItem, type PopoverPlacement, PopoverPopup, type PopoverPopupAtomProps, type PopoverPopupProps, PopoverPortal, type PopoverPortalAtomProps, type PopoverPortalProps, PopoverPositioner, type PopoverPositionerAtomProps, type PopoverPositionerProps, type PopoverProps, PopoverProvider, PopoverRoot, type PopoverTrigger, type PopoverTriggerComponentProps, PopoverTriggerElement, type PopoverTriggerElementProps, PopoverViewport, type PopoverViewportAtomProps, type PresetColorKey, type PresetColorType, type PresetDate, type PresetPickerProps, type PresetSystemColorKey, type PresetSystemColorType, PreviewGroup, type PreviewGroupProps, PrimaryColors, PrimaryColorsObj, Progress, type ProgressProps, type ProgressSize, type ProgressStatus, type ProgressType, type ProgressVariant, ProgressiveBlur, type ProgressiveBlurClassNames, type ProgressiveBlurMode, type ProgressiveBlurPosition, type ProgressiveBlurProps, type ProgressiveBlurStyles, QRCode, type QRCodeErrorLevel, type QRCodeProps, type QRCodeStatus, type QuarterPickerProps, Radio, RadioGroup, type RadioGroupOption, type RadioGroupProps, type RadioProps, type RangeChangeDates, type RangeChangeStrings, type RangeDisabledDate, type RangeInfo, type RangePickerComponent, type RangePickerProps, type RangePickerRef, Rate, type RateProps, type RenderItemContentOptions, type RenderOptions, type ResponsiveState, Result, type ResultProps, type ResultStatus, ScrollArea, ScrollAreaContent, type ScrollAreaContentProps, ScrollAreaCorner, type ScrollAreaCornerProps, type ScrollAreaProps, ScrollAreaRoot, type ScrollAreaRootProps, ScrollAreaScrollbar, type ScrollAreaScrollbarProps, ScrollAreaThumb, type ScrollAreaThumbProps, ScrollAreaViewport, type ScrollAreaViewportProps, ScrollShadow, type ScrollShadowProps, SearchBar, type SearchBarProps, SearchResultCards, type SearchResultCardsProps, Segmented, type SegmentedClassNames, SegmentedIndicator, type SegmentedIndicatorProps, SegmentedItem, SegmentedItemIcon, SegmentedItemLabel, type SegmentedItemProps, type SegmentedOption, type SegmentedOptions, type SegmentedOrientation, type SegmentedProps, SegmentedRoot, type SegmentedRootProps, type SegmentedSize, type SegmentedStyles, type SegmentedVariant, Select, SelectArrow, type SelectArrowProps, SelectBackdrop, type SelectBehaviorVariant, type SelectClassNames, SelectGroup, SelectGroupLabel, type SelectGroupLabelProps, type SelectGroupProps, SelectIcon, type SelectIconProps, type SelectIndicatorVariant, SelectItem, SelectItemIndicator, type SelectItemIndicatorProps, type SelectItemProps, SelectItemText, type SelectItemTextProps, SelectList, type SelectListProps, type SelectOption, type SelectOptionGroup, type SelectOptions, SelectPopup, type SelectPopupProps, SelectPortal, type SelectPortalProps, SelectPositioner, type SelectPositionerProps, type SelectProps, SelectRoot, type SelectRootChangeEventDetails, SelectScrollDownArrow, type SelectScrollDownArrowProps, SelectScrollUpArrow, type SelectScrollUpArrowProps, SelectSeparator, type SelectSize, SelectTrigger, type SelectTriggerProps, SelectValue, type SelectValueProps, type SelectVariant, _default$5 as ShikiLobeTheme, SideNav, type SideNavProps, type SinglePickerComponent, Skeleton, type SkeletonAnimation, SkeletonAvatar, type SkeletonAvatarProps, type SkeletonProps, SkeletonText, type SkeletonTextProps, Slider, type SliderProps, SliderWithInput, type SliderWithInputProps, Snippet, type SnippetProps, type SortOrder, SortableList, type SortableListProps, type SpanProps, Spin, type SpinProps, type SpinSize, type SpinVariant, _default$6 as SplitButton, type SplitButtonMenuProps, type SplitButtonProps, type StaticStyleExtract, type StaticStyleUtils, Statistic, type StatisticProps, type StepItem, type StepStatus, Steps, type StepsProps, type SubMenuType, type SvgProps, Switch, type SwitchChangeEventHandler, type SwitchClassNames, type SwitchClickEventHandler, type SwitchContextType, SwitchIcon, type SwitchIconPosition, type SwitchIconProps, type SwitchProps, SwitchRoot, type SwitchRootProps, type SwitchSize, type SwitchStyles, SwitchThumb, type SwitchThumbProps, SyntaxHighlighter, type SyntaxHighlighterProps, SyntaxMermaid, type SyntaxMermaidProps, type SystemColorToken, Table, TableBody, type TableBreakpoint, TableCell, type TableCellAttributes, type TableCellProps, type TableClassNames, TableColGroup, type TableColGroupColumn, type TableColGroupProps, type TableColumn, type TableColumnAlign, type TableColumnEllipsis, type TableColumnFilterItem, type TableColumnFixed, type TableColumnGroupProps, type TableColumnGroupType, type TableColumnProps, type TableColumnSorter, type TableColumnTitle, type TableColumnTitleProps, type TableColumnType, type TableColumnsType, type TableCompareFn, type TableComponents, type TableComponentsSemanticName, TableContainer, type TableCurrentDataSource, type TableCustomizeComponent, type TableDataIndex, TableElement, type TableElementProps, type TableExpandIconProps, type TableExpandableConfig, TableExpandedRow, type TableExpandedRowProps, type TableExpandedRowRender, type TableFilterDropdownPopupProps, type TableFilterDropdownProps, type TableFilters, TableFooter, TableHeader, TableHeaderCell, type TableHeaderCellAttributes, type TableLoadingConfig, type TableLocale, type TableMultipleSorterResult, type TablePaginationConfig, type TablePaginationPlacement, type TablePartProps, type TableProps, type TableRef, type TableRenderedCell, TableRoot, type TableRootProps, TableRow, type TableRowClassName, type TableRowProps, type TableRowSelectMethod, type TableRowSelection, type TableRowSelectionCheckboxProps, type TableRowSelectionType, TableScroll, type TableScrollProps, type TableScrollToConfig, type TableSectionProps, type TableSelectionItem, type TableSelectionPreset, type TableSemanticInfo, type TableSemanticName, type TableSize, type TableSorterResult, type TableSorterTooltipProps, type TableSticky, type TableStyles, type TableSummaryCellProps, TableSummaryFoot, type TableSummaryProps, type TableSummaryRowProps, TableTitle, type TableVariant, Tabs, type TabsClassNames, TabsIndicator, type TabsIndicatorProps, type TabsItem, TabsList, type TabsListProps, type TabsOrientation, TabsPanel, type TabsPanelProps, type TabsProps, TabsRoot, type TabsRootProps, type TabsSize, type TabsStyles, TabsTab, type TabsTabProps, type TabsVariant, Tag, type TagClassNames, type TagProps, type TagShape, type TagSize, type TagStyles, type TagVariant, Text, _default$7 as TextArea, type TextAreaAutoSize, type TextAreaProps, type TextClassNames, type TextProps, type TextStyles, ThemeScope, type ThemeScopeProps, type TimePickerLocale, type TimePickerProps, type ToastAPI, ToastHost, type ToastHostProps, type ToastInstance, type ToastOptions, type ToastPosition, type ToastPromiseOptions, type ToastProps, type ToastType, ToggleGroup, type ToggleGroupClassNames, ToggleGroupItem, ToggleGroupItemIcon, ToggleGroupItemLabel, type ToggleGroupItemProps, type ToggleGroupOption, type ToggleGroupProps, ToggleGroupRoot, type ToggleGroupRootProps, type ToggleGroupSize, type ToggleGroupStyles, type ToggleGroupVariant, Tooltip, TooltipGroup, type TooltipGroupProps, type TooltipPlacement, type TooltipPopupComponentProps, type TooltipPortalProps, type TooltipPositionerProps, type TooltipProps, type TooltipTriggerComponentProps, Tree, type TreeClassNames, type TreeDataNode, type TreeFlatRow, type TreeProps, type TreeStyles, type Trigger, Typography, type TypographyProps, Upload, type UploadChangeInfo, UploadDragger, type UploadProps, type UseImagePreviewResult, type UseScopeArrowNavOptions, type UseScopeSwitcherOptions, Video, type VideoMarker, type VideoPlayer, type VideoProps, type VideoSection, type VideoState, type VirtualListProps, type WeekPickerProps, type YearPickerProps, accordionStyles, actionIconStyles, alertStyles, styles as autoCompleteStyles, backdropTransition, buttonPaddingInline, buttonStyles, checkboxStyles, closeContextMenu, colorsPreset, colorsPresetSystem, combineKeys, conductCheck, confirmModal, controlHeight, copyToClipboard, createGlobalStyle, createLobeToken, createModal, createModalSystem, createPickerLocale, createStaticStyles, css, cssVar, cx, datePickerLocaleEnUS, datePickerLocaleZhCN, drawerBackdropTransition, extractStaticStyle, findCustomThemeName, flattenVisible, focusScopeItem, styles$1 as focusScopeStyles, formatStatisticValue, genCdnUrl, generateColorNeutralPalette, generateColorPalette, generateNeutralScale, generatePicker, getActiveScopeId, getAllKeys, getCustomNeutralCss, getCustomPaletteCss, getCustomPrimaryCss, getDrawerMotionConfig, getFloatingCollisionPadding, getGlobalCss, getItemKey, getItemLabel, getLastFocusedItem, getThemeCss, hasAnyIcon, hasCheckboxAndIcon, highlighterThemes, containsScript as htmlPreviewContainsScript, injectGlobal, inputClassNames as inputStyles, rootVariants as inputVariants, installGlobalFocusRing, isCustomNeutralColor, isCustomPrimaryColor, isFullHtmlDocument, isHtmlContentClosed, keyframes, staticStylish as lobeStaticStylish, styles$2 as menuSharedStyles, mermaidThemes, modalMotionConfig, neutralColors, neutralColorsSwatches, notifyScopeItemFocus, parseTrigger, placementMap, preprocessMarkdownContent, presetColors, presetSystemColors, preventDefault, preventDefaultAndStopPropagation, primaryColors, primaryColorsSwatches, radioStyles, registerLobeNeutral, registerLobePalette, registerScope, rehypeCustomFootnotes, rehypeKatexDir, rehypeStreamAnimated, remarkBr, remarkColor, remarkCustomFootnotes, remarkGfmPlus, remarkVideo, renderDropdownMenuItems, renderIcon, responsive, setActiveScope, setContextMenuInterceptor, setFloatingCollisionPadding, setLastFocusedItem, setLobeTheme, showContextMenu, sliderStyles, stopPropagation, switchStyles, tabsStyles, groupStyles as textGroupStyles, textStyles, variants as textVariants, toFloatingUIPlacement, toast, toggleGroupStyles, styles$3 as treeStyles, updateContextMenuItems, useAccordionContext, useActiveScopeId, useAppElement, useCdnFn, useDirection, useDraggablePanelContext, useDrawerActions, useDrawerOpen, useFocusScopeActive, useFocusScopeId, useFormContext, useImagePreview, useModalActions, useModalContext, useModalOpen, useMotionComponent, usePopoverContext, usePopoverGroupHandle, usePopoverPortalContainer, useResponsive, useScopeArrowNav, useScopeSwitcher, useSwitchContext, useTabsContext, useTheme, useThemeMode, useToast, useTranslation, useVideo, useVideoPlayer, useVideoState };
|
|
429
|
+
export { A, AGENT_AVATAR_COLORS, AGENT_AVATAR_SHAPES, AGENT_AVATAR_STATES, type AProps, Accordion, type AccordionClassNames, AccordionHeader, type AccordionHeaderProps, type AccordionIndicatorPlacement, AccordionItem, type AccordionItemProps, type AccordionItemType, AccordionPanel, type AccordionPanelProps, type AccordionProps, AccordionRoot, type AccordionRootProps, type AccordionStyles, AccordionTrigger, type AccordionTriggerProps, type AccordionVariant, ActionIcon, type ActionIconClassNames, ActionIconGroup, type ActionIconGroupEvent, type MenuItemType as ActionIconGroupItemType, type ActionIconGroupProps, type ActionIconOutdent, type ActionIconProps, type ActionIconSize, type ActionIconStyles, type ActionIconVariant, AgentAvatar, type AgentAvatarClassNames, type AgentAvatarColor, type AgentAvatarProps, type AgentAvatarShape, type AgentAvatarState, type AgentAvatarStyles, Alert, type AlertClassNames, type AlertCloseConfig, type AlertProps, type AlertRef, type AlertStyles, type AlertType, type AlertVariant, Anchor, type AnchorItem, type AnchorProps, AutoComplete, type AutoCompleteOption, type AutoCompleteProps, Avatar, type AvatarClassNames, type AvatarFallbackVariant, type AvatarGeneratedFallbackVariant, AvatarGroup, type AvatarGroupItemType, type AvatarGroupProps, type AvatarProps, type AvatarStyles, Badge, type BadgeProps, type BadgeSize, type BadgeStatus, type BaseMenuItemGroupType, type BaseMenuItemType, type BaseModalProps, type BaseSubMenuType, Block, type BlockProps, Breadcrumb, type BreadcrumbItem, type BreadcrumbProps, Burger, type BurgerProps, Button, type ButtonIconPosition, type ButtonOutdent, type ButtonProps, type ButtonShape, type ButtonSize, type ButtonType, type CDN, CLASSNAMES, type CalendarMode, Carousel, type CarouselProps, type CarouselRef, type CellRender, type CellRenderInfo, Center, type CenterProps, _default as Checkbox, CheckboxGroup, type CheckboxGroupOption, type CheckboxGroupProps, type CheckboxProps, type CheckboxShape, CodeDiff, type CodeDiffProps, CodeEditor, type CodeEditorProps, Collapsible, type CollapsibleProps, type ColorPalettes, type ColorPalettesAlpha, ColorPicker, type ColorPickerProps, ColorSwatches, type ColorSwatchesProps, type ColorToken, type Config, ConfigProvider, type ConfigProviderProps, type ContextMenuCheckboxItem, ContextMenuHost, type ContextMenuInterceptor, type ContextMenuItem, ContextMenuTrigger, type ControlSize, CopyButton, type CopyButtonProps, type CreateLobeTokenParams, type CustomNeutralColor, type CustomPrimaryColor, DatePicker, type DatePickerBaseProps, type DatePickerProps, type DatePickerSemanticType, type DatePickerType, DateRangePicker, type DateRangePickerProps, type DateRangeValue, DayjsDatePicker, type DayjsDatePickerProps, type DayjsDatePickerType, DayjsDateRangePicker, type DayjsDateRangePickerProps, type DayjsDateRangeValue, Descriptions, type DescriptionsItem, type DescriptionsProps, type DiffViewMode, type Direction, type DistributiveOmit, type DivProps, Divider, type DividerOrientation, type DividerProps, DownloadButton, type DownloadButtonProps, DraggablePanel, DraggablePanelBody, type DraggablePanelBodyProps, DraggablePanelContainer, type DraggablePanelContainerProps, DraggablePanelContent, type DraggablePanelContentProps, DraggablePanelFooter, type DraggablePanelFooterProps, DraggablePanelHandle, type DraggablePanelHandleProps, DraggablePanelHeader, type DraggablePanelHeaderProps, type DraggablePanelPlacement, type DraggablePanelProps, DraggablePanelRoot, type DraggablePanelRootProps, type DraggablePanelSize, DraggablePanelToggle, type DraggablePanelToggleProps, DraggableSideNav, type DraggableSideNavProps, Drawer, DrawerBackdrop, type DrawerBackdropProps, DrawerClose, type DrawerCloseProps, DrawerContent, type DrawerContentProps, DrawerDescription, type DrawerDescriptionProps, DrawerFooter, type DrawerFooterProps, DrawerHeader, type DrawerHeaderProps, type DrawerPlacement, DrawerPopup, type DrawerPopupProps, DrawerPortal, type DrawerPortalProps, type DrawerProps, type DrawerPush, DrawerRoot, type DrawerRootProps, type DrawerSemanticNames, type DrawerSemanticStyles, DrawerTitle, type DrawerTitleProps, DrawerTrigger, type DrawerTriggerProps, type DropdownItem, DropdownMenu, type DropdownMenuCheckboxItem, DropdownMenuCheckboxItemIndicator, DropdownMenuCheckboxItemPrimitive, type DropdownMenuCheckboxItemProps, DropdownMenuFooter, type DropdownMenuFooterProps, DropdownMenuGroup, DropdownMenuGroupLabel, type DropdownMenuGroupLabelProps, DropdownMenuHeader, type DropdownMenuHeaderProps, DropdownMenuItem, DropdownMenuItemContent, type DropdownMenuItemContentProps, DropdownMenuItemDesc, type DropdownMenuItemDescProps, DropdownMenuItemExtra, type DropdownMenuItemExtraProps, DropdownMenuItemIcon, type DropdownMenuItemIconProps, DropdownMenuItemLabel, DropdownMenuItemLabelGroup, type DropdownMenuItemLabelGroupProps, type DropdownMenuItemLabelProps, type DropdownMenuItemProps, type DropdownMenuPlacement, DropdownMenuPopup, type DropdownMenuPopupProps, DropdownMenuPortal, type DropdownMenuPortalProps, DropdownMenuPositioner, type DropdownMenuPositionerProps, type DropdownMenuProps, DropdownMenuRoot, DropdownMenuScrollViewport, type DropdownMenuScrollViewportProps, DropdownMenuSeparator, type DropdownMenuSeparatorProps, DropdownMenuSubmenuArrow, type DropdownMenuSubmenuArrowProps, DropdownMenuSubmenuRoot, DropdownMenuSubmenuTrigger, type DropdownMenuSubmenuTriggerProps, DropdownMenuSwitchItem, type DropdownMenuSwitchItemProps, type DropdownMenuSwitchItem$1 as DropdownMenuSwitchItemType, DropdownMenuTrigger, type DropdownMenuTriggerProps, EditableText, type EditableTextProps, EditorSlashMenu, type EditorSlashMenuGroup, type EditorSlashMenuItems, type EditorSlashMenuOption, EmojiPicker, type EmojiPickerProps, Empty, type EmptyProps, ErrorBoundary, type ErrorBoundaryProps, FileTypeIcon, type FileTypeIconProps, type FilterValue, _default$1 as FlexBasic, type FlexBasicProps, _default$1 as Flexbox, type FlexboxProps, type FloatingCollisionPadding, FloatingPanel, type FloatingPanelOffset, type FloatingPanelPlacement, type FloatingPanelProps, FloatingSheet, type FloatingSheetProps, FluentEmoji, type FluentEmojiProps, FocusScope, type FocusScopeProps, FontLoader, type FontLoaderProps, Form, type FormContextValue, FormDivider, type FormDividerProps, FormField, type FormFieldProps, FormFlatGroup, type FormFlatGroupProps, FormFooter, type FormFooterProps, FormGroup, type FormGroupItemType, type FormGroupProps, type FormLayout, type FormProps, FormSubmitFooter, type FormSubmitFooterProps, FormTitle, type FormTitleProps, type FormValues, type FormVariant, Freeze, type FreezeProps, type GenerateConfig, type GeneratedDatePicker, type GenericItemType, type GenericTimePickerProps, Grid, type GridProps, GroupAvatar, type GroupAvatarProps, GuideCard, type GuideCardProps, DEFAULT_HEIGHT as HTML_PREVIEW_DEFAULT_HEIGHT, DEFAULT_SANDBOX as HTML_PREVIEW_DEFAULT_SANDBOX, AUTO_HEIGHT_MESSAGE_TYPE as HTML_PREVIEW_RESIZE_MESSAGE, Header, type HeaderProps, Highlighter, type HighlighterProps, Hotkey, HotkeyInput, type HotkeyInputProps, type HotkeyProps, HtmlPreview, HtmlPreviewIframe, type HtmlPreviewIframeProps, type HtmlPreviewMode, type HtmlPreviewProps, type HtmlPreviewStreamingMode, I18nProvider, type I18nProviderProps, Icon, type IconAlign, type IconProps, IconProvider, type IconSize, type IconSpaceMode, Image, type ImagePreviewOptions, type ImageProps, ImageSelect, type ImageSelectItem, type ImageSelectProps, type ImgProps, type ImperativeModalProps, _default$2 as Input, type InputClassNames, _default$3 as InputNumber, type InputNumberProps, InputOTP, type InputOTPProps, _default$4 as InputPassword, type InputPasswordProps, type InputPasswordVisibilityToggleLabels, type InputProps, type InputSize, type InputStyles, type InputVariant, type ItemType, type ItemsType, KeyMapEnum, LOBE_THEME_APP_ID, Layout, LayoutFooter, type LayoutFooterProps, LayoutHeader, type LayoutHeaderProps, LayoutMain, type LayoutMainProps, type LayoutProps, LayoutSidebar, LayoutSidebarInner, type LayoutSidebarInnerProps, type LayoutSidebarProps, LayoutToc, type LayoutTocProps, type LegacyDateInput, List, type ListClickInfo, type ListDividerType, type ListItem, type ListItemType, type ListProps, type ListSemanticName, type LobeAppearance, type LobeCssVar, type LobeCustomStylish, type LobeCustomToken, lobeHighlightsTheme as LobeHighlightsTheme, type LobeNeutralColor, type LobeNeutralScale, type LobePrimaryColor, type LobeStatusPalette, type LobeTheme, LobeThemeScript, type LobeThemeScriptProps, type LobeThemeState, type LobeToken, I18nProvider as LobeUIProvider, Markdown, type MarkdownProps, MaskShadow, type MaskShadowProps, MaterialFileTypeIcon, type MaterialFileTypeIconProps, type MenuCheckboxItemType, type MenuDividerType, type MenuInfo, type MenuItemGroupType, type MenuItemType, type MenuSwitchItemType, Mermaid, type MermaidProps, Modal, ModalBackdrop, type ModalBackdropProps, ModalClose, type ModalCloseProps, type ModalComponentProps, type ModalConfirmConfig, ModalContent, type ModalContentProps, ModalContext, type ModalContextValue, ModalDescription, type ModalDescriptionProps, ModalFooter, type ModalFooterProps, ModalHeader, type ModalHeaderProps, ModalHost, type ModalHostProps, type ModalInstance, ModalPopup, type ModalPopupProps, ModalPortal, type ModalPortalProps, ModalRoot, type ModalRootProps, type ModalSystem, ModalTitle, type ModalTitleProps, ModalTrigger, type ModalTriggerProps, ModalViewport, type ModalViewportProps, type MonthPickerProps, MotionComponent, type MotionComponentType, MotionProvider, NeutralColors, NeutralColorsObj, Pagination, type PaginationAlign, type PaginationItemType, type PaginationProps, type PaginationSemanticName, type PaginationSize, type PaginationSizeChangerProps, type PanelMode, PatchDiff, type PatchDiffProps, type PickerClassNames, type PickerComponents, type PickerDateInput, type PickerDateStrings, type PickerLocale, type PickerLocaleInput, type PickerLocaleLang, type PickerMode, type PickerPanelProps, type PickerPlacement, type PickerPopupSemanticName, type PickerProps, type PickerPropsWithMultiple, type PickerRef, type PickerSemanticClassNames, type PickerSemanticName, type PickerSemanticStyles, type PickerSize, type PickerStatus, type PickerStyles, type PickerTagProps, type PickerValueInput, type PickerVariant, type Placement, type PlacementConfig, Popover, PopoverArrow, type PopoverArrowAtomProps, PopoverArrowIcon, PopoverBackdrop, type PopoverBackdropProps, type PopoverContextValue, PopoverGroup, type PopoverGroupHandle, type PopoverGroupItem, type PopoverPlacement, PopoverPopup, type PopoverPopupAtomProps, type PopoverPopupProps, PopoverPortal, type PopoverPortalAtomProps, type PopoverPortalProps, PopoverPositioner, type PopoverPositionerAtomProps, type PopoverPositionerProps, type PopoverProps, PopoverProvider, PopoverRoot, type PopoverTrigger, type PopoverTriggerComponentProps, PopoverTriggerElement, type PopoverTriggerElementProps, PopoverViewport, type PopoverViewportAtomProps, type PresetColorKey, type PresetColorType, type PresetDate, type PresetPickerProps, type PresetSystemColorKey, type PresetSystemColorType, PreviewGroup, type PreviewGroupProps, PrimaryColors, PrimaryColorsObj, Progress, type ProgressProps, type ProgressSize, type ProgressStatus, type ProgressType, type ProgressVariant, ProgressiveBlur, type ProgressiveBlurClassNames, type ProgressiveBlurMode, type ProgressiveBlurPosition, type ProgressiveBlurProps, type ProgressiveBlurStyles, QRCode, type QRCodeErrorLevel, type QRCodeProps, type QRCodeStatus, type QuarterPickerProps, Radio, RadioGroup, type RadioGroupOption, type RadioGroupProps, type RadioProps, type RangeChangeDates, type RangeChangeStrings, type RangeDisabledDate, type RangeInfo, type RangePickerComponent, type RangePickerProps, type RangePickerRef, Rate, type RateProps, type RenderItemContentOptions, type RenderOptions, type ResponsiveState, Result, type ResultProps, type ResultStatus, ScrollArea, ScrollAreaContent, type ScrollAreaContentProps, ScrollAreaCorner, type ScrollAreaCornerProps, type ScrollAreaProps, ScrollAreaRoot, type ScrollAreaRootProps, ScrollAreaScrollbar, type ScrollAreaScrollbarProps, ScrollAreaThumb, type ScrollAreaThumbProps, ScrollAreaViewport, type ScrollAreaViewportProps, ScrollShadow, type ScrollShadowProps, SearchBar, type SearchBarProps, SearchResultCards, type SearchResultCardsProps, Segmented, type SegmentedClassNames, SegmentedIndicator, type SegmentedIndicatorProps, SegmentedItem, SegmentedItemIcon, SegmentedItemLabel, type SegmentedItemProps, type SegmentedOption, type SegmentedOptions, type SegmentedOrientation, type SegmentedProps, SegmentedRoot, type SegmentedRootProps, type SegmentedSize, type SegmentedStyles, type SegmentedVariant, Select, SelectArrow, type SelectArrowProps, SelectBackdrop, type SelectBehaviorVariant, type SelectClassNames, SelectGroup, SelectGroupLabel, type SelectGroupLabelProps, type SelectGroupProps, SelectIcon, type SelectIconProps, type SelectIndicatorVariant, SelectItem, SelectItemIndicator, type SelectItemIndicatorProps, type SelectItemProps, SelectItemText, type SelectItemTextProps, SelectList, type SelectListProps, type SelectOption, type SelectOptionGroup, type SelectOptions, SelectPopup, type SelectPopupProps, SelectPortal, type SelectPortalProps, SelectPositioner, type SelectPositionerProps, type SelectProps, SelectRoot, type SelectRootChangeEventDetails, SelectScrollDownArrow, type SelectScrollDownArrowProps, SelectScrollUpArrow, type SelectScrollUpArrowProps, SelectSeparator, type SelectSize, SelectTrigger, type SelectTriggerProps, SelectValue, type SelectValueProps, type SelectVariant, _default$5 as ShikiLobeTheme, SideNav, type SideNavProps, type SinglePickerComponent, Skeleton, type SkeletonAnimation, SkeletonAvatar, type SkeletonAvatarProps, type SkeletonProps, SkeletonText, type SkeletonTextProps, Slider, type SliderProps, SliderWithInput, type SliderWithInputProps, Snippet, type SnippetProps, type SortOrder, SortableList, type SortableListProps, type SpanProps, Spin, type SpinProps, type SpinSize, type SpinVariant, _default$6 as SplitButton, type SplitButtonMenuProps, type SplitButtonProps, type StaticStyleExtract, type StaticStyleUtils, Statistic, type StatisticProps, type StepItem, type StepStatus, Steps, type StepsProps, type SubMenuType, type SvgProps, Switch, type SwitchChangeEventHandler, type SwitchClassNames, type SwitchClickEventHandler, type SwitchContextType, SwitchIcon, type SwitchIconPosition, type SwitchIconProps, type SwitchProps, SwitchRoot, type SwitchRootProps, type SwitchSize, type SwitchStyles, SwitchThumb, type SwitchThumbProps, SyntaxHighlighter, type SyntaxHighlighterProps, SyntaxMermaid, type SyntaxMermaidProps, type SystemColorToken, Table, TableBody, type TableBreakpoint, TableCell, type TableCellAttributes, type TableCellProps, type TableClassNames, TableColGroup, type TableColGroupColumn, type TableColGroupProps, type TableColumn, type TableColumnAlign, type TableColumnEllipsis, type TableColumnFilterItem, type TableColumnFixed, type TableColumnGroupProps, type TableColumnGroupType, type TableColumnProps, type TableColumnSorter, type TableColumnTitle, type TableColumnTitleProps, type TableColumnType, type TableColumnsType, type TableCompareFn, type TableComponents, type TableComponentsSemanticName, TableContainer, type TableCurrentDataSource, type TableCustomizeComponent, type TableDataIndex, TableElement, type TableElementProps, type TableExpandIconProps, type TableExpandableConfig, TableExpandedRow, type TableExpandedRowProps, type TableExpandedRowRender, type TableFilterDropdownPopupProps, type TableFilterDropdownProps, type TableFilters, TableFooter, TableHeader, TableHeaderCell, type TableHeaderCellAttributes, type TableLoadingConfig, type TableLocale, type TableMultipleSorterResult, type TablePaginationConfig, type TablePaginationPlacement, type TablePartProps, type TableProps, type TableRef, type TableRenderedCell, TableRoot, type TableRootProps, TableRow, type TableRowClassName, type TableRowProps, type TableRowSelectMethod, type TableRowSelection, type TableRowSelectionCheckboxProps, type TableRowSelectionType, TableScroll, type TableScrollProps, type TableScrollToConfig, type TableSectionProps, type TableSelectionItem, type TableSelectionPreset, type TableSemanticInfo, type TableSemanticName, type TableSize, type TableSorterResult, type TableSorterTooltipProps, type TableSticky, type TableStyles, type TableSummaryCellProps, TableSummaryFoot, type TableSummaryProps, type TableSummaryRowProps, TableTitle, type TableVariant, Tabs, type TabsClassNames, TabsIndicator, type TabsIndicatorProps, type TabsItem, TabsList, type TabsListProps, type TabsOrientation, TabsPanel, type TabsPanelProps, type TabsProps, TabsRoot, type TabsRootProps, type TabsSize, type TabsStyles, TabsTab, type TabsTabProps, type TabsVariant, Tag, type TagClassNames, type TagProps, type TagShape, type TagSize, type TagStyles, type TagVariant, Text, _default$7 as TextArea, type TextAreaAutoSize, type TextAreaProps, type TextClassNames, type TextProps, type TextStyles, ThemeScope, type ThemeScopeProps, type TimePickerLocale, type TimePickerProps, type ToastAPI, ToastHost, type ToastHostProps, type ToastInstance, type ToastOptions, type ToastPosition, type ToastPromiseOptions, type ToastProps, type ToastType, ToggleGroup, type ToggleGroupClassNames, ToggleGroupItem, ToggleGroupItemIcon, ToggleGroupItemLabel, type ToggleGroupItemProps, type ToggleGroupOption, type ToggleGroupProps, ToggleGroupRoot, type ToggleGroupRootProps, type ToggleGroupSize, type ToggleGroupStyles, type ToggleGroupVariant, Tooltip, TooltipGroup, type TooltipGroupProps, type TooltipPlacement, type TooltipPopupComponentProps, type TooltipPortalProps, type TooltipPositionerProps, type TooltipProps, type TooltipTriggerComponentProps, Tree, type TreeClassNames, type TreeDataNode, type TreeFlatRow, type TreeProps, type TreeStyles, type Trigger, Typography, type TypographyProps, Upload, type UploadChangeInfo, UploadDragger, type UploadProps, type UseImagePreviewResult, type UseScopeArrowNavOptions, type UseScopeSwitcherOptions, Video, type VideoMarker, type VideoPlayer, type VideoProps, type VideoSection, type VideoState, type VirtualListProps, type WeekPickerProps, type YearPickerProps, accordionStyles, actionIconStyles, alertStyles, styles as autoCompleteStyles, backdropTransition, buttonPaddingInline, buttonStyles, checkboxStyles, closeContextMenu, colorsPreset, colorsPresetSystem, combineKeys, conductCheck, confirmModal, controlHeight, copyToClipboard, createGlobalStyle, createLobeToken, createModal, createModalSystem, createPickerLocale, createStaticStyles, css, cssVar, cx, datePickerLocaleEnUS, datePickerLocaleZhCN, drawerBackdropTransition, extractStaticStyle, findCustomThemeName, flattenVisible, focusScopeItem, styles$1 as focusScopeStyles, formatStatisticValue, genCdnUrl, generateColorNeutralPalette, generateColorPalette, generateNeutralScale, generatePicker, getActiveScopeId, getAgentAvatarTraits, getAllKeys, getCustomNeutralCss, getCustomPaletteCss, getCustomPrimaryCss, getDrawerMotionConfig, getFloatingCollisionPadding, getGlobalCss, getItemKey, getItemLabel, getLastFocusedItem, getThemeCss, hasAnyIcon, hasCheckboxAndIcon, highlighterThemes, containsScript as htmlPreviewContainsScript, injectGlobal, inputClassNames as inputStyles, rootVariants as inputVariants, installGlobalFocusRing, isCustomNeutralColor, isCustomPrimaryColor, isFullHtmlDocument, isHtmlContentClosed, keyframes, staticStylish as lobeStaticStylish, styles$2 as menuSharedStyles, mermaidThemes, modalMotionConfig, neutralColors, neutralColorsSwatches, notifyScopeItemFocus, parseTrigger, placementMap, preprocessMarkdownContent, presetColors, presetSystemColors, preventDefault, preventDefaultAndStopPropagation, primaryColors, primaryColorsSwatches, radioStyles, registerLobeNeutral, registerLobePalette, registerScope, rehypeCustomFootnotes, rehypeKatexDir, rehypeStreamAnimated, remarkBr, remarkColor, remarkCustomFootnotes, remarkGfmPlus, remarkVideo, renderDropdownMenuItems, renderIcon, responsive, setActiveScope, setContextMenuInterceptor, setFloatingCollisionPadding, setLastFocusedItem, setLobeTheme, showContextMenu, sliderStyles, stopPropagation, switchStyles, tabsStyles, groupStyles as textGroupStyles, textStyles, variants as textVariants, toFloatingUIPlacement, toast, toggleGroupStyles, styles$3 as treeStyles, updateContextMenuItems, useAccordionContext, useActiveScopeId, useAppElement, useCdnFn, useDirection, useDraggablePanelContext, useDrawerActions, useDrawerOpen, useFocusScopeActive, useFocusScopeId, useFormContext, useImagePreview, useModalActions, useModalContext, useModalOpen, useMotionComponent, usePopoverContext, usePopoverGroupHandle, usePopoverPortalContainer, useResponsive, useScopeArrowNav, useScopeSwitcher, useSwitchContext, useTabsContext, useTheme, useThemeMode, useToast, useTranslation, useVideo, useVideoPlayer, useVideoState };
|