@yhgale/ui 0.0.0-stage → 0.1.1
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/index.d.ts +386 -0
- package/dist/index.js +7251 -0
- package/package.json +40 -3
- package/README.md +0 -3
package/dist/index.d.ts
ADDED
|
@@ -0,0 +1,386 @@
|
|
|
1
|
+
import * as react from 'react';
|
|
2
|
+
import react__default, { HTMLAttributes, ElementType, CSSProperties, ReactNode, InputHTMLAttributes, ComponentType, FunctionComponent, ReactElement } from 'react';
|
|
3
|
+
import * as _emotion_react_jsx_runtime from '@emotion/react/jsx-runtime';
|
|
4
|
+
import { OrganizationListItem } from '@yhgale/gale-js/react';
|
|
5
|
+
|
|
6
|
+
interface BoxProps extends Omit<HTMLAttributes<HTMLDivElement>, 'style'> {
|
|
7
|
+
as?: ElementType;
|
|
8
|
+
sx?: CSSProperties & Record<string, unknown>;
|
|
9
|
+
children?: ReactNode;
|
|
10
|
+
}
|
|
11
|
+
declare const Box: react.ForwardRefExoticComponent<BoxProps & react.RefAttributes<HTMLDivElement>>;
|
|
12
|
+
interface FlexProps extends BoxProps {
|
|
13
|
+
direction?: CSSProperties['flexDirection'];
|
|
14
|
+
align?: CSSProperties['alignItems'];
|
|
15
|
+
justify?: CSSProperties['justifyContent'];
|
|
16
|
+
gap?: CSSProperties['gap'];
|
|
17
|
+
wrap?: CSSProperties['flexWrap'];
|
|
18
|
+
}
|
|
19
|
+
declare const Flex: react.ForwardRefExoticComponent<FlexProps & react.RefAttributes<HTMLDivElement>>;
|
|
20
|
+
|
|
21
|
+
interface Descriptor {
|
|
22
|
+
targettableClassname: string;
|
|
23
|
+
getTargettableIdClassname: (id: string) => string;
|
|
24
|
+
}
|
|
25
|
+
interface CustomizableProps {
|
|
26
|
+
elementDescriptor?: Descriptor;
|
|
27
|
+
elementId?: string;
|
|
28
|
+
isLoading?: boolean;
|
|
29
|
+
hasError?: boolean;
|
|
30
|
+
isOpen?: boolean;
|
|
31
|
+
isActive?: boolean;
|
|
32
|
+
sx?: Record<string, unknown>;
|
|
33
|
+
className?: string;
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
interface SpinnerProps extends CustomizableProps {
|
|
37
|
+
size?: 'xs' | 'sm' | 'md' | 'lg' | 'xl';
|
|
38
|
+
colorScheme?: 'primary' | 'neutral';
|
|
39
|
+
speed?: 'slow' | 'normal';
|
|
40
|
+
thickness?: 'sm' | 'md';
|
|
41
|
+
}
|
|
42
|
+
declare const Spinner: {
|
|
43
|
+
(props: SpinnerProps & react.RefAttributes<HTMLSpanElement>): _emotion_react_jsx_runtime.JSX.Element;
|
|
44
|
+
displayName: string;
|
|
45
|
+
};
|
|
46
|
+
|
|
47
|
+
interface BadgeProps extends CustomizableProps {
|
|
48
|
+
colorScheme?: 'primary' | 'secondary' | 'danger' | 'success' | 'warning';
|
|
49
|
+
children?: ReactNode;
|
|
50
|
+
}
|
|
51
|
+
declare const Badge: {
|
|
52
|
+
(props: BadgeProps & react.RefAttributes<HTMLSpanElement>): _emotion_react_jsx_runtime.JSX.Element;
|
|
53
|
+
displayName: string;
|
|
54
|
+
};
|
|
55
|
+
|
|
56
|
+
interface ButtonProps extends CustomizableProps {
|
|
57
|
+
variant?: 'solid' | 'outline' | 'ghost' | 'link';
|
|
58
|
+
colorScheme?: 'primary' | 'secondary' | 'danger' | 'neutral';
|
|
59
|
+
size?: 'xs' | 'sm' | 'md';
|
|
60
|
+
block?: boolean;
|
|
61
|
+
isLoading?: boolean;
|
|
62
|
+
loadingText?: string;
|
|
63
|
+
isDisabled?: boolean;
|
|
64
|
+
focusRing?: boolean;
|
|
65
|
+
type?: 'submit' | 'button' | 'reset';
|
|
66
|
+
children?: ReactNode;
|
|
67
|
+
onClick?: React.MouseEventHandler<HTMLButtonElement>;
|
|
68
|
+
}
|
|
69
|
+
declare const Button: {
|
|
70
|
+
(props: ButtonProps & react.RefAttributes<HTMLButtonElement>): _emotion_react_jsx_runtime.JSX.Element;
|
|
71
|
+
displayName: string;
|
|
72
|
+
};
|
|
73
|
+
|
|
74
|
+
interface InputProps extends CustomizableProps, Omit<InputHTMLAttributes<HTMLInputElement>, 'size'> {
|
|
75
|
+
variant?: 'default' | 'unstyled';
|
|
76
|
+
hasError?: boolean;
|
|
77
|
+
isDisabled?: boolean;
|
|
78
|
+
focusRing?: boolean;
|
|
79
|
+
isSuccessful?: boolean;
|
|
80
|
+
}
|
|
81
|
+
declare const Input: {
|
|
82
|
+
(props: InputProps & react.RefAttributes<HTMLInputElement>): _emotion_react_jsx_runtime.JSX.Element;
|
|
83
|
+
displayName: string;
|
|
84
|
+
};
|
|
85
|
+
|
|
86
|
+
/**
|
|
87
|
+
* Pagination — ported from clerk-javascript elements/Pagination.tsx.
|
|
88
|
+
*
|
|
89
|
+
* Clerk's Pagination uses PageButton with per-page click handlers + prev/next.
|
|
90
|
+
* We expose the same page/onPageChange/count API but render with Tailwind.
|
|
91
|
+
*/
|
|
92
|
+
interface PaginationProps {
|
|
93
|
+
count: number;
|
|
94
|
+
page: number;
|
|
95
|
+
onChange: (page: number) => void;
|
|
96
|
+
siblingCount?: number;
|
|
97
|
+
rowsPerPage?: number;
|
|
98
|
+
totalCount?: number;
|
|
99
|
+
className?: string;
|
|
100
|
+
}
|
|
101
|
+
declare const Pagination: react.ForwardRefExoticComponent<PaginationProps & react.RefAttributes<HTMLDivElement>>;
|
|
102
|
+
|
|
103
|
+
interface DataTableColumn {
|
|
104
|
+
key: string;
|
|
105
|
+
label: string;
|
|
106
|
+
align?: 'left' | 'right';
|
|
107
|
+
}
|
|
108
|
+
interface DataTableProps {
|
|
109
|
+
columns: DataTableColumn[];
|
|
110
|
+
rows: ReactNode[];
|
|
111
|
+
isLoading?: boolean;
|
|
112
|
+
page: number;
|
|
113
|
+
onPageChange: (page: number) => void;
|
|
114
|
+
itemCount: number;
|
|
115
|
+
pageCount: number;
|
|
116
|
+
itemsPerPage: number;
|
|
117
|
+
/** Empty state heading (shown when no rows) */
|
|
118
|
+
emptyHeading?: string;
|
|
119
|
+
/** Empty state description */
|
|
120
|
+
emptyMessage?: string;
|
|
121
|
+
/** Table aria-label for accessibility */
|
|
122
|
+
ariaLabel?: string;
|
|
123
|
+
className?: string;
|
|
124
|
+
}
|
|
125
|
+
declare const DataTable: react.ForwardRefExoticComponent<DataTableProps & react.RefAttributes<HTMLDivElement>>;
|
|
126
|
+
|
|
127
|
+
type SocialLayout = 'full' | 'icon';
|
|
128
|
+
|
|
129
|
+
type LinkComponent = ComponentType<{
|
|
130
|
+
href: string;
|
|
131
|
+
className?: string;
|
|
132
|
+
children?: ReactNode;
|
|
133
|
+
}>;
|
|
134
|
+
|
|
135
|
+
interface SignInProps {
|
|
136
|
+
signUpUrl?: string;
|
|
137
|
+
afterSignInUrl?: string;
|
|
138
|
+
onComplete?: () => void;
|
|
139
|
+
className?: string;
|
|
140
|
+
linkComponent?: LinkComponent;
|
|
141
|
+
/** 忘记密码页面 URL;不传则不显示链接 */
|
|
142
|
+
forgotPasswordUrl?: string;
|
|
143
|
+
/** 启用的 OAuth provider key 列表(不含 oauth_ 前缀),如 ['github']。不传则自动从 /v1/environment 获取 */
|
|
144
|
+
oauthProviders?: string[];
|
|
145
|
+
/** OAuth callback 页面 URL,默认 '/sso-callback' */
|
|
146
|
+
ssoCallbackUrl?: string;
|
|
147
|
+
/** 社交按钮排列方式:'full' 图标+文字纵向(默认),'icons' 纯图标横向 flex-wrap */
|
|
148
|
+
socialLayout?: SocialLayout;
|
|
149
|
+
/** Captcha site key(从 environment 端点获取);不传则不启用 captcha */
|
|
150
|
+
captchaSiteKey?: string;
|
|
151
|
+
/** Captcha invisible site key(从 environment 端点获取) */
|
|
152
|
+
captchaInvisibleSiteKey?: string;
|
|
153
|
+
/** Captcha widget 类型:smart 可见 / invisible 静默(从 environment 端点获取) */
|
|
154
|
+
captchaWidgetType?: 'smart' | 'invisible';
|
|
155
|
+
/** 是否显示 passkey 登录(Instance authConfig.firstFactor 含 'passkey')。不传则自动从 environment 检测。 */
|
|
156
|
+
passkeyFirstFactorEnabled?: boolean;
|
|
157
|
+
}
|
|
158
|
+
declare function SignIn({ signUpUrl, afterSignInUrl, onComplete, className, linkComponent, forgotPasswordUrl, oauthProviders, ssoCallbackUrl, socialLayout, captchaSiteKey, captchaInvisibleSiteKey, captchaWidgetType, passkeyFirstFactorEnabled, }: SignInProps): _emotion_react_jsx_runtime.JSX.Element;
|
|
159
|
+
|
|
160
|
+
interface SignUpProps {
|
|
161
|
+
signInUrl?: string;
|
|
162
|
+
afterSignUpUrl?: string;
|
|
163
|
+
onComplete?: () => void;
|
|
164
|
+
className?: string;
|
|
165
|
+
linkComponent?: LinkComponent;
|
|
166
|
+
/** 启用的 OAuth provider key 列表(不含 oauth_ 前缀),如 ['github']。不传则自动从 /v1/environment 获取 */
|
|
167
|
+
oauthProviders?: string[];
|
|
168
|
+
/** OAuth callback 页面 URL,默认 '/sso-callback' */
|
|
169
|
+
ssoCallbackUrl?: string;
|
|
170
|
+
/** 社交按钮排列方式:'full' 图标+文字纵向(默认),'icons' 纯图标横向 flex-wrap */
|
|
171
|
+
socialLayout?: SocialLayout;
|
|
172
|
+
/** Captcha site key(从 environment 端点获取);不传则不启用 captcha */
|
|
173
|
+
captchaSiteKey?: string;
|
|
174
|
+
/** Captcha invisible site key(从 environment 端点获取) */
|
|
175
|
+
captchaInvisibleSiteKey?: string;
|
|
176
|
+
/** Captcha widget 类型:smart 可见 / invisible 静默 */
|
|
177
|
+
captchaWidgetType?: 'smart' | 'invisible';
|
|
178
|
+
}
|
|
179
|
+
declare function SignUp({ signInUrl, afterSignUpUrl, onComplete, className, linkComponent, oauthProviders, ssoCallbackUrl, socialLayout, captchaSiteKey, captchaInvisibleSiteKey, captchaWidgetType, }: SignUpProps): _emotion_react_jsx_runtime.JSX.Element;
|
|
180
|
+
|
|
181
|
+
/** @jsxImportSource @emotion/react */
|
|
182
|
+
declare const PHONE_COUNTRY_CODES: readonly ["+86", "+852", "+853", "+886", "+1", "+81", "+82", "+65"];
|
|
183
|
+
type PhoneCountryCode = (typeof PHONE_COUNTRY_CODES)[number];
|
|
184
|
+
interface PhoneInputProps {
|
|
185
|
+
id?: string;
|
|
186
|
+
value: string;
|
|
187
|
+
onChange: (value: string) => void;
|
|
188
|
+
isDisabled?: boolean;
|
|
189
|
+
autoFocus?: boolean;
|
|
190
|
+
autoComplete?: string;
|
|
191
|
+
}
|
|
192
|
+
declare function PhoneInput({ id, value, onChange, isDisabled, autoFocus, autoComplete, }: PhoneInputProps): _emotion_react_jsx_runtime.JSX.Element;
|
|
193
|
+
|
|
194
|
+
/** @jsxImportSource @emotion/react */
|
|
195
|
+
interface UserButtonProps {
|
|
196
|
+
sessionId?: string;
|
|
197
|
+
afterSignOutUrl?: string;
|
|
198
|
+
onManageAccount?: () => void;
|
|
199
|
+
className?: string;
|
|
200
|
+
}
|
|
201
|
+
declare function UserButton({ sessionId, afterSignOutUrl, onManageAccount, className, }: UserButtonProps): _emotion_react_jsx_runtime.JSX.Element | null;
|
|
202
|
+
|
|
203
|
+
/** @jsxImportSource @emotion/react */
|
|
204
|
+
interface OrganizationSwitcherProps {
|
|
205
|
+
/** 隐藏 Personal 选项(强制用户必须在组织上下文中) */
|
|
206
|
+
hidePersonal?: boolean;
|
|
207
|
+
className?: string;
|
|
208
|
+
}
|
|
209
|
+
declare function OrganizationSwitcher({ hidePersonal, className }: OrganizationSwitcherProps): _emotion_react_jsx_runtime.JSX.Element;
|
|
210
|
+
|
|
211
|
+
/**
|
|
212
|
+
* CaptchaElement —— 渲染 Cloudflare Turnstile widget 的 React 组件。
|
|
213
|
+
*
|
|
214
|
+
* 模式:
|
|
215
|
+
* - smart(默认):渲染可见 div,Turnstile 内置自动触发 challenge
|
|
216
|
+
* - invisible:不渲染可见 div,脚本加载后静默获取 token
|
|
217
|
+
*
|
|
218
|
+
* token 单次消费(后端 siteverify 校验后即失效):
|
|
219
|
+
* 消费方每次用掉 token 后递增 `resetKey`,组件据此 turnstile.reset(widget)
|
|
220
|
+
* 重新 challenge 产出新 token(invisible 模式 reset 会自动重新执行);
|
|
221
|
+
* 15s 超时安全随每次 (re)challenge 重新武装,token/error 到达即解除,不误报。
|
|
222
|
+
*
|
|
223
|
+
* 使用(SignIn / SignUp 内):
|
|
224
|
+
* <CaptchaElement
|
|
225
|
+
* siteKey={captchaSiteKey}
|
|
226
|
+
* invisibleSiteKey={captchaInvisibleSiteKey}
|
|
227
|
+
* widgetType="smart"
|
|
228
|
+
* action="signin"
|
|
229
|
+
* resetKey={captchaResetKey}
|
|
230
|
+
* onToken={(token) => setCaptchaToken(token)}
|
|
231
|
+
* onError={(err) => setCaptchaError(err)}
|
|
232
|
+
* />
|
|
233
|
+
*/
|
|
234
|
+
|
|
235
|
+
interface CaptchaElementProps {
|
|
236
|
+
siteKey: string;
|
|
237
|
+
invisibleSiteKey: string;
|
|
238
|
+
widgetType?: 'smart' | 'invisible';
|
|
239
|
+
action?: string;
|
|
240
|
+
nonce?: string;
|
|
241
|
+
/** 递增触发 turnstile.reset:token 被消费后由父组件 +1,widget 重新 challenge 产新 token */
|
|
242
|
+
resetKey?: number;
|
|
243
|
+
onToken?: (token: string, widgetType: string) => void;
|
|
244
|
+
onError?: (error: string) => void;
|
|
245
|
+
}
|
|
246
|
+
/** SignIn / SignUp 顶层统一下发给各 step 的 captcha 状态 + 取字段助手 */
|
|
247
|
+
interface CaptchaControls {
|
|
248
|
+
/** 未启用 captcha 时恒 true;启用后拿到 token 才为 true(出错由顶层错误条提示重试,不放行无 token 提交) */
|
|
249
|
+
ready: boolean;
|
|
250
|
+
/**
|
|
251
|
+
* 取当前 captcha 字段(每次 create 调用都要带上);
|
|
252
|
+
* token 单次消费,取走后自动递增 resetKey 让 widget 产新 token
|
|
253
|
+
*/
|
|
254
|
+
take: () => {
|
|
255
|
+
captchaToken?: string;
|
|
256
|
+
captchaWidgetType?: string;
|
|
257
|
+
captchaError?: string;
|
|
258
|
+
};
|
|
259
|
+
}
|
|
260
|
+
declare const CaptchaElement: FunctionComponent<CaptchaElementProps>;
|
|
261
|
+
|
|
262
|
+
/** @jsxImportSource @emotion/react */
|
|
263
|
+
/**
|
|
264
|
+
* ForgotPassword —— 密码重置组件。
|
|
265
|
+
*
|
|
266
|
+
* 步骤:
|
|
267
|
+
* 1. 输入邮箱 → 发送重置 OTP
|
|
268
|
+
* 2. 输入 OTP + 新密码 → 完成重置
|
|
269
|
+
*
|
|
270
|
+
* 使用方式:
|
|
271
|
+
* ```tsx
|
|
272
|
+
* <ForgotPassword linkComponent={Link} />
|
|
273
|
+
* ```
|
|
274
|
+
*
|
|
275
|
+
* Emotion CSS-in-JS 版本。使用 Flex / Button / Input 原语 + design tokens。
|
|
276
|
+
*/
|
|
277
|
+
|
|
278
|
+
interface ForgotPasswordProps {
|
|
279
|
+
/** 自定义链接渲染(React Router 等框架传入 Link 组件) */
|
|
280
|
+
linkComponent?: ComponentType<{
|
|
281
|
+
to: string;
|
|
282
|
+
children: react__default.ReactNode;
|
|
283
|
+
}>;
|
|
284
|
+
/** 重置成功后的回调 */
|
|
285
|
+
onSuccess?: () => void;
|
|
286
|
+
/** 点击"返回登录"的回调 */
|
|
287
|
+
onBackToSignIn?: () => void;
|
|
288
|
+
}
|
|
289
|
+
declare function ForgotPassword({ linkComponent: _Link, onSuccess, onBackToSignIn, }: ForgotPasswordProps): react__default.ReactElement;
|
|
290
|
+
|
|
291
|
+
/**
|
|
292
|
+
* <PasskeyManager /> —— 用户自助 passkey 列表 / 登记 / 删除 / 重命名。
|
|
293
|
+
*
|
|
294
|
+
* 数据来自 usePasskeys hook(accounts portal 的 Profile 页可用)。
|
|
295
|
+
*
|
|
296
|
+
* Props
|
|
297
|
+
* - className:容器自定义样式
|
|
298
|
+
* - emptyState:可选自定义空状态(默认一行 muted 文案)
|
|
299
|
+
*
|
|
300
|
+
* 不做的事:
|
|
301
|
+
* - 不渲染 passkey 登录入口(那是 <SignIn /> 的 passkeyFirstFactorEnabled)
|
|
302
|
+
* - 不处理 Instance 是否启用 passkey 的开关(由父组件条件渲染)
|
|
303
|
+
*/
|
|
304
|
+
interface PasskeyManagerProps {
|
|
305
|
+
className?: string;
|
|
306
|
+
/** 空状态自定义节点 */
|
|
307
|
+
emptyState?: React.ReactNode;
|
|
308
|
+
/**
|
|
309
|
+
* 嵌入模式:不渲染自带卡片边框与标题(外层容器已提供,如 UserProfile Section),
|
|
310
|
+
* 只输出描述行 + 列表。默认 false(独立卡片,供 accounts portal 等直接引用)。
|
|
311
|
+
*/
|
|
312
|
+
embedded?: boolean;
|
|
313
|
+
}
|
|
314
|
+
declare function PasskeyManager({ className, emptyState, embedded }: PasskeyManagerProps): _emotion_react_jsx_runtime.JSX.Element;
|
|
315
|
+
|
|
316
|
+
interface SignInButtonProps {
|
|
317
|
+
mode?: 'modal' | 'redirect';
|
|
318
|
+
signInUrl?: string;
|
|
319
|
+
afterSignInUrl?: string;
|
|
320
|
+
children?: ReactElement<{
|
|
321
|
+
onClick?: React.MouseEventHandler;
|
|
322
|
+
}>;
|
|
323
|
+
}
|
|
324
|
+
declare function SignInButton({ mode, signInUrl, afterSignInUrl, children, }: SignInButtonProps): _emotion_react_jsx_runtime.JSX.Element;
|
|
325
|
+
|
|
326
|
+
interface SignUpButtonProps {
|
|
327
|
+
signUpUrl?: string;
|
|
328
|
+
afterSignUpUrl?: string;
|
|
329
|
+
children?: ReactElement<{
|
|
330
|
+
onClick?: React.MouseEventHandler;
|
|
331
|
+
}>;
|
|
332
|
+
}
|
|
333
|
+
declare function SignUpButton({ signUpUrl, afterSignUpUrl, children, }: SignUpButtonProps): _emotion_react_jsx_runtime.JSX.Element;
|
|
334
|
+
|
|
335
|
+
interface SignOutButtonProps {
|
|
336
|
+
afterSignOutUrl?: string;
|
|
337
|
+
children?: ReactElement<{
|
|
338
|
+
onClick?: React.MouseEventHandler;
|
|
339
|
+
}>;
|
|
340
|
+
}
|
|
341
|
+
declare function SignOutButton({ afterSignOutUrl, children }: SignOutButtonProps): _emotion_react_jsx_runtime.JSX.Element;
|
|
342
|
+
|
|
343
|
+
/**
|
|
344
|
+
* <UserProfile> — 用户资料管理页。
|
|
345
|
+
* 对标 Clerk UserProfile: Account (Profile + Password + OAuth) / Security (Passkey + MFA + Devices + Delete)。
|
|
346
|
+
* 所有 API 调用通过 useGaleContext().client.request(),复用 GaleProvider 的 FapiClient。
|
|
347
|
+
*/
|
|
348
|
+
interface UserProfileProps {
|
|
349
|
+
className?: string;
|
|
350
|
+
}
|
|
351
|
+
declare function UserProfile({ className }: UserProfileProps): react.JSX.Element | null;
|
|
352
|
+
|
|
353
|
+
/** @jsxImportSource @emotion/react */
|
|
354
|
+
interface OrganizationProfileProps {
|
|
355
|
+
className?: string;
|
|
356
|
+
/** 隐藏 Danger 标签页(用于嵌入场景) */
|
|
357
|
+
hideDanger?: boolean;
|
|
358
|
+
}
|
|
359
|
+
declare function OrganizationProfile({ className, hideDanger }: OrganizationProfileProps): _emotion_react_jsx_runtime.JSX.Element;
|
|
360
|
+
|
|
361
|
+
interface OrganizationListProps {
|
|
362
|
+
/** 选中组织后的回调 */
|
|
363
|
+
onSelect?: (org: OrganizationListItem) => void;
|
|
364
|
+
/** 创建组织后的回调 */
|
|
365
|
+
afterCreateOrganizationUrl?: string;
|
|
366
|
+
className?: string;
|
|
367
|
+
}
|
|
368
|
+
declare function OrganizationList({ onSelect, className }: OrganizationListProps): _emotion_react_jsx_runtime.JSX.Element;
|
|
369
|
+
|
|
370
|
+
/** @jsxImportSource @emotion/react */
|
|
371
|
+
interface CreateOrganizationProps {
|
|
372
|
+
/** 创建完成后跳转的 URL */
|
|
373
|
+
afterCreateOrganizationUrl?: string;
|
|
374
|
+
/** 创建完成后的回调(不跳转时使用) */
|
|
375
|
+
onComplete?: (org: {
|
|
376
|
+
id: string;
|
|
377
|
+
name: string;
|
|
378
|
+
slug: string;
|
|
379
|
+
}) => void;
|
|
380
|
+
/** 是否跳过 slug 输入(自动从 name 生成) */
|
|
381
|
+
skipSlug?: boolean;
|
|
382
|
+
className?: string;
|
|
383
|
+
}
|
|
384
|
+
declare function CreateOrganization({ afterCreateOrganizationUrl, onComplete, skipSlug, className, }: CreateOrganizationProps): _emotion_react_jsx_runtime.JSX.Element;
|
|
385
|
+
|
|
386
|
+
export { Badge, type BadgeProps, Box, type BoxProps, Button, type ButtonProps, type CaptchaControls, CaptchaElement, type CaptchaElementProps, CreateOrganization, type CreateOrganizationProps, DataTable, type DataTableColumn, type DataTableProps, Flex, type FlexProps, ForgotPassword, type ForgotPasswordProps, Input, type InputProps, type LinkComponent, OrganizationList, type OrganizationListProps, OrganizationProfile, type OrganizationProfileProps, OrganizationSwitcher, type OrganizationSwitcherProps, PHONE_COUNTRY_CODES, Pagination, type PaginationProps, PasskeyManager, type PasskeyManagerProps, type PhoneCountryCode, PhoneInput, type PhoneInputProps, SignIn, SignInButton, type SignInButtonProps, type SignInProps, SignOutButton, type SignOutButtonProps, SignUp, SignUpButton, type SignUpButtonProps, type SignUpProps, type SocialLayout, Spinner, type SpinnerProps, UserButton, type UserButtonProps, UserProfile, type UserProfileProps };
|