klun-ui 0.7.1 → 0.7.2
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/CHANGELOG.md +63 -0
- package/README.md +28 -0
- package/dist/antd/index.cjs +249 -0
- package/dist/antd/index.cjs.map +1 -0
- package/dist/antd/index.d.cts +6 -0
- package/dist/antd/index.d.ts +6 -0
- package/dist/antd/index.js +4 -0
- package/dist/antd/index.js.map +1 -0
- package/dist/chunk-2JITKXC5.js +2383 -0
- package/dist/chunk-2JITKXC5.js.map +1 -0
- package/dist/{chunk-DW4IUUWE.cjs → chunk-5ITKXIL4.cjs} +128 -2353
- package/dist/chunk-5ITKXIL4.cjs.map +1 -0
- package/dist/{chunk-2S6ZRGPW.js → chunk-5RABDD4L.js} +14 -2220
- package/dist/chunk-5RABDD4L.js.map +1 -0
- package/dist/chunk-CC4FFCLL.cjs +2434 -0
- package/dist/chunk-CC4FFCLL.cjs.map +1 -0
- package/dist/index-oUPXmhSW.d.cts +877 -0
- package/dist/index-oUPXmhSW.d.ts +877 -0
- package/dist/index.cjs +305 -292
- package/dist/index.d.cts +18 -868
- package/dist/index.d.ts +18 -868
- package/dist/index.js +2 -1
- package/dist/styles.css +19 -7
- package/dist/templates/index.cjs +944 -943
- package/dist/templates/index.cjs.map +1 -1
- package/dist/templates/index.js +2 -1
- package/dist/templates/index.js.map +1 -1
- package/package.json +16 -4
- package/dist/chunk-2S6ZRGPW.js.map +0 -1
- package/dist/chunk-DW4IUUWE.cjs.map +0 -1
package/dist/index.d.ts
CHANGED
|
@@ -1,7 +1,17 @@
|
|
|
1
1
|
import * as react from 'react';
|
|
2
2
|
import { ButtonHTMLAttributes, ReactNode, HTMLAttributes, CSSProperties, TimeHTMLAttributes, InputHTMLAttributes, LabelHTMLAttributes, SelectHTMLAttributes, FormHTMLAttributes, ReactElement, ChangeEvent, TextareaHTMLAttributes, ElementType, MouseEvent as MouseEvent$1 } from 'react';
|
|
3
|
+
export { A as Accent, a as AntdConfig, C as ComponentSize, b as ConfigProvider, c as ConfigProviderProps, d as ContractSize, D as Density, e as Direction, G as GlobalSize, K as KlunConfig, L as Locale, R as Radius, S as SIZE_CONTRACTS, f as SizeContract, g as SizeContractName, h as SizeType, T as Theme, i as arSA, j as deDE, k as enUS, l as esES, m as fmt, n as frFR, o as idID, p as itIT, q as jaJP, r as koKR, s as locales, t as nlNL, u as plPL, v as primaryColorVars, w as ptBR, x as resolveSize, y as ruRU, z as tierOf, B as trTR, E as useConfig, F as useDensity, H as useLocale, I as useMappedSize, J as useScaleSize, M as useSize, N as viVN, O as zhCN, P as zhTW } from './index-oUPXmhSW.js';
|
|
4
|
+
import * as antd from 'antd';
|
|
5
|
+
import { GetRef, TreeSelect } from 'antd';
|
|
6
|
+
export { Mentions, MentionsProps, Segmented, SegmentedProps, TreeSelect as SelectTree, TreeSelectProps as SelectTreeProps } from 'antd';
|
|
3
7
|
import { C as ChipColor } from './Chip-DiCYJmnv.js';
|
|
4
8
|
export { a as Chip, b as ChipProps } from './Chip-DiCYJmnv.js';
|
|
9
|
+
import * as antd_es_input_OTP from 'antd/es/input/OTP';
|
|
10
|
+
import * as antd_es_input_TextArea from 'antd/es/input/TextArea';
|
|
11
|
+
import * as antd_es_input from 'antd/es/input';
|
|
12
|
+
import 'antd/es/checkbox/Group.js';
|
|
13
|
+
import 'antd/es/date-picker/index.js';
|
|
14
|
+
import 'antd/es/input/TextArea.js';
|
|
5
15
|
|
|
6
16
|
type ClassValue = string | number | false | null | undefined;
|
|
7
17
|
/** Tiny classnames joiner — filters falsy values and joins with a space. */
|
|
@@ -228,868 +238,7 @@ interface ToggleProps extends Omit<ButtonHTMLAttributes<HTMLButtonElement>, "onC
|
|
|
228
238
|
*/
|
|
229
239
|
declare const Toggle: react.ForwardRefExoticComponent<ToggleProps & react.RefAttributes<HTMLButtonElement>>;
|
|
230
240
|
|
|
231
|
-
|
|
232
|
-
/** BCP-47 language tag, e.g. `"en-US"`. */
|
|
233
|
-
locale: string;
|
|
234
|
-
datePicker: {
|
|
235
|
-
/** 12 month names (or numeric forms), January-first — as shown in the header. */
|
|
236
|
-
months: string[];
|
|
237
|
-
/** 7 short weekday labels, Monday-first. */
|
|
238
|
-
weekdaysShort: string[];
|
|
239
|
-
/** Calendar header template with `{month}` and `{year}` placeholders. */
|
|
240
|
-
title: string;
|
|
241
|
-
};
|
|
242
|
-
timePicker: {
|
|
243
|
-
am: string;
|
|
244
|
-
pm: string;
|
|
245
|
-
};
|
|
246
|
-
pagination: {
|
|
247
|
-
previous: string;
|
|
248
|
-
next: string;
|
|
249
|
-
};
|
|
250
|
-
modal: {
|
|
251
|
-
close: string;
|
|
252
|
-
maximize?: string;
|
|
253
|
-
restore?: string;
|
|
254
|
-
};
|
|
255
|
-
drawer: {
|
|
256
|
-
close: string;
|
|
257
|
-
};
|
|
258
|
-
alert: {
|
|
259
|
-
dismiss: string;
|
|
260
|
-
};
|
|
261
|
-
banner: {
|
|
262
|
-
dismiss: string;
|
|
263
|
-
};
|
|
264
|
-
toast: {
|
|
265
|
-
dismiss: string;
|
|
266
|
-
};
|
|
267
|
-
fileUpload: {
|
|
268
|
-
clickToUpload: string;
|
|
269
|
-
orDragAndDrop: string;
|
|
270
|
-
};
|
|
271
|
-
imageUpload: {
|
|
272
|
-
label: string;
|
|
273
|
-
remove: string;
|
|
274
|
-
hint: string;
|
|
275
|
-
};
|
|
276
|
-
passwordStrength: {
|
|
277
|
-
weak: string;
|
|
278
|
-
fair: string;
|
|
279
|
-
good: string;
|
|
280
|
-
strong: string;
|
|
281
|
-
};
|
|
282
|
-
/** `noResults` contains a `{query}` placeholder. */
|
|
283
|
-
commandMenu: {
|
|
284
|
-
placeholder: string;
|
|
285
|
-
esc: string;
|
|
286
|
-
noResults: string;
|
|
287
|
-
};
|
|
288
|
-
selectMenu: {
|
|
289
|
-
placeholder: string;
|
|
290
|
-
};
|
|
291
|
-
chip: {
|
|
292
|
-
remove: string;
|
|
293
|
-
};
|
|
294
|
-
tag: {
|
|
295
|
-
remove: string;
|
|
296
|
-
};
|
|
297
|
-
/** `star` contains a `{count}` placeholder. */
|
|
298
|
-
rating: {
|
|
299
|
-
star: string;
|
|
300
|
-
};
|
|
301
|
-
spinner: {
|
|
302
|
-
loading: string;
|
|
303
|
-
};
|
|
304
|
-
richEditorToolbar: {
|
|
305
|
-
bold: string;
|
|
306
|
-
italic: string;
|
|
307
|
-
underline: string;
|
|
308
|
-
strike: string;
|
|
309
|
-
h1: string;
|
|
310
|
-
h2: string;
|
|
311
|
-
quote: string;
|
|
312
|
-
code: string;
|
|
313
|
-
ul: string;
|
|
314
|
-
ol: string;
|
|
315
|
-
link: string;
|
|
316
|
-
image: string;
|
|
317
|
-
};
|
|
318
|
-
list: {
|
|
319
|
-
noData: string;
|
|
320
|
-
loading: string;
|
|
321
|
-
};
|
|
322
|
-
autoComplete: {
|
|
323
|
-
noResults: string;
|
|
324
|
-
};
|
|
325
|
-
cascader: {
|
|
326
|
-
placeholder: string;
|
|
327
|
-
};
|
|
328
|
-
popconfirm: {
|
|
329
|
-
title: string;
|
|
330
|
-
confirm: string;
|
|
331
|
-
cancel: string;
|
|
332
|
-
};
|
|
333
|
-
/** `goToSlide` has an `{n}` placeholder. */
|
|
334
|
-
carousel: {
|
|
335
|
-
previous: string;
|
|
336
|
-
next: string;
|
|
337
|
-
goToSlide: string;
|
|
338
|
-
};
|
|
339
|
-
input: {
|
|
340
|
-
clear: string;
|
|
341
|
-
};
|
|
342
|
-
notification: {
|
|
343
|
-
close: string;
|
|
344
|
-
};
|
|
345
|
-
/** Accessible name for a Select trigger that shows neither a value nor a visible placeholder. */
|
|
346
|
-
select?: {
|
|
347
|
-
placeholder?: string;
|
|
348
|
-
};
|
|
349
|
-
/** Accessible names for the CounterInput stepper buttons. */
|
|
350
|
-
counterInput?: {
|
|
351
|
-
decrease?: string;
|
|
352
|
-
increase?: string;
|
|
353
|
-
};
|
|
354
|
-
/** `minChars`/`maxChars` have `{min}`/`{max}`; `exactChars` has `{len}`; `oneOf` has `{values}`; `min`/`max` have `{min}`/`{max}`. */
|
|
355
|
-
form: {
|
|
356
|
-
required: string;
|
|
357
|
-
empty: string;
|
|
358
|
-
minChars: string;
|
|
359
|
-
maxChars: string;
|
|
360
|
-
exactChars: string;
|
|
361
|
-
oneOf: string;
|
|
362
|
-
invalidFormat: string;
|
|
363
|
-
email: string;
|
|
364
|
-
url: string;
|
|
365
|
-
number: string;
|
|
366
|
-
integer: string;
|
|
367
|
-
min: string;
|
|
368
|
-
max: string;
|
|
369
|
-
};
|
|
370
|
-
/** 多步流程的底栏按钮。此前 Wizard 把这三个词**硬编码成英文**,locale 里也没有对应键。 */
|
|
371
|
-
wizard: {
|
|
372
|
-
back: string;
|
|
373
|
-
next: string;
|
|
374
|
-
finish: string;
|
|
375
|
-
};
|
|
376
|
-
/**
|
|
377
|
-
* 组件内建的**无障碍名称**。
|
|
378
|
-
* 这些此前是硬编码英文 `aria-label`——消费方**无法覆盖**,读屏会直接念英文,
|
|
379
|
-
* 与「可被 props 覆盖的默认值」是两回事。
|
|
380
|
-
*/
|
|
381
|
-
a11y: {
|
|
382
|
-
zoomIn: string;
|
|
383
|
-
zoomOut: string;
|
|
384
|
-
rotate: string;
|
|
385
|
-
collapseStart: string;
|
|
386
|
-
collapseEnd: string;
|
|
387
|
-
bulkActions: string;
|
|
388
|
-
clearSelection: string;
|
|
389
|
-
back: string;
|
|
390
|
-
};
|
|
391
|
-
/** 富文本编辑器的空态占位与编辑区无障碍名(此前是英文默认值)。 */
|
|
392
|
-
richEditor: {
|
|
393
|
-
placeholder: string;
|
|
394
|
-
editorLabel: string;
|
|
395
|
-
};
|
|
396
|
-
/** 复制按钮的默认提示。 */
|
|
397
|
-
copy: {
|
|
398
|
-
label: string;
|
|
399
|
-
};
|
|
400
|
-
/** 表情选择器:搜索占位、空态、以及触发按钮的名称。 */
|
|
401
|
-
emojiPicker: {
|
|
402
|
-
searchPlaceholder: string;
|
|
403
|
-
emptyText: string;
|
|
404
|
-
addReaction: string;
|
|
405
|
-
};
|
|
406
|
-
/** 侧边栏:搜索框占位与导航地标名(此前 `aria-label="Primary"` 是硬编码)。 */
|
|
407
|
-
sidebar: {
|
|
408
|
-
searchPlaceholder: string;
|
|
409
|
-
primary: string;
|
|
410
|
-
};
|
|
411
|
-
/**
|
|
412
|
-
* 图片查看器。仅 `reset`/`download` 需要新键;
|
|
413
|
-
* `previous`/`next` 复用 `pagination`,`close` 复用 `modal`——语义与文案一致,避免重复。
|
|
414
|
-
*/
|
|
415
|
-
imageViewer: {
|
|
416
|
-
reset: string;
|
|
417
|
-
download: string;
|
|
418
|
-
};
|
|
419
|
-
/** `pageRange` has `{from}`/`{to}`/`{total}`; `perPage` has `{size}`. */
|
|
420
|
-
table: {
|
|
421
|
-
noData: string;
|
|
422
|
-
columns: string;
|
|
423
|
-
copy: string;
|
|
424
|
-
copyRow: string;
|
|
425
|
-
exportCsv: string;
|
|
426
|
-
filter: string;
|
|
427
|
-
expand: string;
|
|
428
|
-
collapse: string;
|
|
429
|
-
dragToReorder: string;
|
|
430
|
-
dragToResize: string;
|
|
431
|
-
editHint: string;
|
|
432
|
-
previous: string;
|
|
433
|
-
next: string;
|
|
434
|
-
pageRange: string;
|
|
435
|
-
perPage: string;
|
|
436
|
-
/** Accessible names for the built-in row-selection controls. */
|
|
437
|
-
selectRow?: string;
|
|
438
|
-
selectAll?: string;
|
|
439
|
-
};
|
|
440
|
-
}
|
|
441
|
-
/** Fill a `{placeholder}` template, e.g. `fmt(locale.rating.star, { count: 3 })`. */
|
|
442
|
-
declare function fmt(template: string, vars: Record<string, string | number>): string;
|
|
443
|
-
/** English (US) — the default locale used when no ConfigProvider is present. */
|
|
444
|
-
declare const enUS: Locale;
|
|
445
|
-
/** 简体中文 (Simplified Chinese). */
|
|
446
|
-
declare const zhCN: Locale;
|
|
447
|
-
/** 繁體中文 (Traditional Chinese). */
|
|
448
|
-
declare const zhTW: Locale;
|
|
449
|
-
/** 日本語 (Japanese). */
|
|
450
|
-
declare const jaJP: Locale;
|
|
451
|
-
/** 한국어 (Korean). */
|
|
452
|
-
declare const koKR: Locale;
|
|
453
|
-
/** Français (French). */
|
|
454
|
-
declare const frFR: Locale;
|
|
455
|
-
/** Deutsch (German). */
|
|
456
|
-
declare const deDE: Locale;
|
|
457
|
-
/** Español (Spanish). */
|
|
458
|
-
declare const esES: Locale;
|
|
459
|
-
/** Português (Brasil) (Brazilian Portuguese). */
|
|
460
|
-
declare const ptBR: Locale;
|
|
461
|
-
/** Русский (Russian). */
|
|
462
|
-
declare const ruRU: Locale;
|
|
463
|
-
/** العربية (Arabic). Pairs with `dir="rtl"` on the ConfigProvider. */
|
|
464
|
-
declare const arSA: Locale;
|
|
465
|
-
/** Italiano (Italian). */
|
|
466
|
-
declare const itIT: Locale;
|
|
467
|
-
/** Nederlands (Dutch). */
|
|
468
|
-
declare const nlNL: Locale;
|
|
469
|
-
/** Polski (Polish). */
|
|
470
|
-
declare const plPL: Locale;
|
|
471
|
-
/** Türkçe (Turkish). */
|
|
472
|
-
declare const trTR: Locale;
|
|
473
|
-
/** Tiếng Việt (Vietnamese). */
|
|
474
|
-
declare const viVN: Locale;
|
|
475
|
-
/** Bahasa Indonesia (Indonesian). */
|
|
476
|
-
declare const idID: Locale;
|
|
477
|
-
/** All built-in locales, keyed by their export name. */
|
|
478
|
-
declare const locales: {
|
|
479
|
-
enUS: Locale;
|
|
480
|
-
zhCN: Locale;
|
|
481
|
-
zhTW: Locale;
|
|
482
|
-
jaJP: Locale;
|
|
483
|
-
koKR: Locale;
|
|
484
|
-
frFR: Locale;
|
|
485
|
-
deDE: Locale;
|
|
486
|
-
esES: Locale;
|
|
487
|
-
ptBR: Locale;
|
|
488
|
-
ruRU: Locale;
|
|
489
|
-
arSA: Locale;
|
|
490
|
-
itIT: Locale;
|
|
491
|
-
nlNL: Locale;
|
|
492
|
-
plPL: Locale;
|
|
493
|
-
trTR: Locale;
|
|
494
|
-
viVN: Locale;
|
|
495
|
-
idID: Locale;
|
|
496
|
-
};
|
|
497
|
-
|
|
498
|
-
/**
|
|
499
|
-
* KDS 尺寸契约(size contract)——**每个组件尺寸的唯一来源**。
|
|
500
|
-
*
|
|
501
|
-
* 背景(KDS `01-foundations.md` §1.5 / `02-components.md` §2.2):
|
|
502
|
-
* 库在 0.6.0 之前有 **20 套互不相同的 size 取值集合**,全局 `ConfigProvider size`
|
|
503
|
-
* 只覆盖 25/137 个组件,于是「每个组件每一档多高」既无法一处定义,也无法机器校验。
|
|
504
|
-
* 本文件把这件事收成一张表:
|
|
505
|
-
*
|
|
506
|
-
* - `SIZE_CONTRACTS[组件名]` 声明该组件的自有档位、默认档位、以及
|
|
507
|
-
* **全局档位 → 自有档位**的映射;
|
|
508
|
-
* - 不跟随全局档位的组件必须写 `exempt`(理由),不允许"沉默地不跟随";
|
|
509
|
-
* - `resolveSize()` 是唯一的解析函数:**显式 prop > 全局档位 > 默认值**;
|
|
510
|
-
* - `scripts/kds-size-contract.mjs` 以本表为准做门禁:新增 size prop 而未登记、
|
|
511
|
-
* 登记了却不接解析器、或类型里出现未登记的档位值,都会失败。
|
|
512
|
-
*
|
|
513
|
-
* 规范档位(KDS §1.5 的控件阶梯)是 `SizeType`;全局档位 `GlobalSize` 少一档
|
|
514
|
-
* `xsmall`——`xsmall` 是"附属尺寸"(tiny / compact 动作),不做整库默认。
|
|
515
|
-
*/
|
|
516
|
-
/** KDS §1.5 规范控件档位(由小到大)。 */
|
|
517
|
-
type SizeType = "xsmall" | "small" | "medium" | "large";
|
|
518
|
-
/** `ConfigProvider size` 的取值:全局默认档位(无 xsmall,见文件头说明)。 */
|
|
519
|
-
type GlobalSize = "small" | "medium" | "large";
|
|
520
|
-
/** 一条尺寸契约。 */
|
|
521
|
-
interface SizeContract<S extends string = string> {
|
|
522
|
-
/** 组件自有档位(由小到大),必须与组件 TS 里的 size 取值集合完全一致。 */
|
|
523
|
-
readonly scale: readonly S[];
|
|
524
|
-
/** 没有 prop、也没有全局档位时使用的档位;必须与组件此前的默认值一致。 */
|
|
525
|
-
readonly fallback: S;
|
|
526
|
-
/** 全局档位 → 自有档位。与 `exempt` 二选一。 */
|
|
527
|
-
readonly fromGlobal?: Readonly<Record<GlobalSize, S>>;
|
|
528
|
-
/** 不跟随全局档位时的理由(门禁要求非空)。与 `fromGlobal` 二选一。 */
|
|
529
|
-
readonly exempt?: string;
|
|
530
|
-
/**
|
|
531
|
-
* 本组件把尺寸**原样转发**给另一个已登记组件(如 CheckboxGroup → Checkbox),
|
|
532
|
-
* 由被转发方解析全局档位。门禁接受这种形态,但要求实现里确有该转发。
|
|
533
|
-
* (用 string 而非 SizeContractName,避免与 `keyof typeof SIZE_CONTRACTS` 形成循环。)
|
|
534
|
-
*/
|
|
535
|
-
readonly inherits?: string;
|
|
536
|
-
/** 规范档位视图,供规格文档使用;不填则由 `fromGlobal` 反推。 */
|
|
537
|
-
readonly tiers?: Readonly<Partial<Record<SizeType, S>>>;
|
|
538
|
-
/**
|
|
539
|
-
* 同一个文件里**其它**组件的尺寸刻度(如 `Button.tsx` 的 fancy/compact/link 变体)。
|
|
540
|
-
* 它们不参与全局档位解析,但门禁要求显式登记——避免"文件里还藏着第二套刻度"。
|
|
541
|
-
*/
|
|
542
|
-
readonly extraScales?: ReadonlyArray<readonly S[]>;
|
|
543
|
-
}
|
|
544
|
-
declare const SIZE_CONTRACTS: {
|
|
545
|
-
readonly Button: {
|
|
546
|
-
readonly scale: readonly ["tiny", "xsmall", "small", "medium", "large"];
|
|
547
|
-
readonly fallback: "medium";
|
|
548
|
-
readonly fromGlobal: {
|
|
549
|
-
readonly small: "small";
|
|
550
|
-
readonly medium: "medium";
|
|
551
|
-
readonly large: "large";
|
|
552
|
-
};
|
|
553
|
-
readonly tiers: {
|
|
554
|
-
readonly xsmall: "xsmall";
|
|
555
|
-
readonly small: "small";
|
|
556
|
-
readonly medium: "medium";
|
|
557
|
-
readonly large: "large";
|
|
558
|
-
};
|
|
559
|
-
readonly extraScales: readonly [readonly ["small", "medium", "large"], readonly ["small", "medium"]];
|
|
560
|
-
};
|
|
561
|
-
readonly ButtonGroup: {
|
|
562
|
-
readonly scale: readonly ["small", "medium", "large"];
|
|
563
|
-
readonly fallback: "medium";
|
|
564
|
-
readonly fromGlobal: {
|
|
565
|
-
readonly small: "small";
|
|
566
|
-
readonly medium: "medium";
|
|
567
|
-
readonly large: "large";
|
|
568
|
-
};
|
|
569
|
-
};
|
|
570
|
-
readonly Input: {
|
|
571
|
-
readonly scale: readonly ["xsmall", "small", "medium", "large"];
|
|
572
|
-
readonly fallback: "medium";
|
|
573
|
-
readonly fromGlobal: {
|
|
574
|
-
readonly small: "small";
|
|
575
|
-
readonly medium: "medium";
|
|
576
|
-
readonly large: "large";
|
|
577
|
-
};
|
|
578
|
-
readonly tiers: {
|
|
579
|
-
readonly xsmall: "xsmall";
|
|
580
|
-
readonly small: "small";
|
|
581
|
-
readonly medium: "medium";
|
|
582
|
-
readonly large: "large";
|
|
583
|
-
};
|
|
584
|
-
};
|
|
585
|
-
readonly Select: {
|
|
586
|
-
readonly scale: readonly ["xsmall", "small", "medium", "large"];
|
|
587
|
-
readonly fallback: "medium";
|
|
588
|
-
readonly fromGlobal: {
|
|
589
|
-
readonly small: "small";
|
|
590
|
-
readonly medium: "medium";
|
|
591
|
-
readonly large: "large";
|
|
592
|
-
};
|
|
593
|
-
readonly tiers: {
|
|
594
|
-
readonly xsmall: "xsmall";
|
|
595
|
-
readonly small: "small";
|
|
596
|
-
readonly medium: "medium";
|
|
597
|
-
readonly large: "large";
|
|
598
|
-
};
|
|
599
|
-
};
|
|
600
|
-
readonly Textarea: {
|
|
601
|
-
readonly scale: readonly ["xsmall", "small", "medium", "large"];
|
|
602
|
-
readonly fallback: "medium";
|
|
603
|
-
readonly fromGlobal: {
|
|
604
|
-
readonly small: "small";
|
|
605
|
-
readonly medium: "medium";
|
|
606
|
-
readonly large: "large";
|
|
607
|
-
};
|
|
608
|
-
};
|
|
609
|
-
readonly AutoComplete: {
|
|
610
|
-
readonly scale: readonly ["small", "medium", "large"];
|
|
611
|
-
readonly fallback: "medium";
|
|
612
|
-
readonly fromGlobal: {
|
|
613
|
-
readonly small: "small";
|
|
614
|
-
readonly medium: "medium";
|
|
615
|
-
readonly large: "large";
|
|
616
|
-
};
|
|
617
|
-
};
|
|
618
|
-
readonly Cascader: {
|
|
619
|
-
readonly scale: readonly ["small", "medium", "large"];
|
|
620
|
-
readonly fallback: "medium";
|
|
621
|
-
readonly fromGlobal: {
|
|
622
|
-
readonly small: "small";
|
|
623
|
-
readonly medium: "medium";
|
|
624
|
-
readonly large: "large";
|
|
625
|
-
};
|
|
626
|
-
};
|
|
627
|
-
readonly SelectMenu: {
|
|
628
|
-
readonly scale: readonly ["small", "medium", "large"];
|
|
629
|
-
readonly fallback: "medium";
|
|
630
|
-
readonly fromGlobal: {
|
|
631
|
-
readonly small: "small";
|
|
632
|
-
readonly medium: "medium";
|
|
633
|
-
readonly large: "large";
|
|
634
|
-
};
|
|
635
|
-
};
|
|
636
|
-
readonly CounterInput: {
|
|
637
|
-
readonly scale: readonly ["small", "medium", "large"];
|
|
638
|
-
readonly fallback: "medium";
|
|
639
|
-
readonly fromGlobal: {
|
|
640
|
-
readonly small: "small";
|
|
641
|
-
readonly medium: "medium";
|
|
642
|
-
readonly large: "large";
|
|
643
|
-
};
|
|
644
|
-
};
|
|
645
|
-
readonly DigitInput: {
|
|
646
|
-
readonly scale: readonly ["small", "medium", "large"];
|
|
647
|
-
readonly fallback: "medium";
|
|
648
|
-
readonly fromGlobal: {
|
|
649
|
-
readonly small: "small";
|
|
650
|
-
readonly medium: "medium";
|
|
651
|
-
readonly large: "large";
|
|
652
|
-
};
|
|
653
|
-
};
|
|
654
|
-
readonly CronEditor: {
|
|
655
|
-
readonly scale: readonly ["small", "medium"];
|
|
656
|
-
readonly fallback: "medium";
|
|
657
|
-
readonly fromGlobal: {
|
|
658
|
-
readonly small: "small";
|
|
659
|
-
readonly medium: "medium";
|
|
660
|
-
readonly large: "medium";
|
|
661
|
-
};
|
|
662
|
-
};
|
|
663
|
-
readonly Checkbox: {
|
|
664
|
-
readonly scale: readonly ["small", "medium", "large"];
|
|
665
|
-
readonly fallback: "medium";
|
|
666
|
-
readonly fromGlobal: {
|
|
667
|
-
readonly small: "small";
|
|
668
|
-
readonly medium: "medium";
|
|
669
|
-
readonly large: "large";
|
|
670
|
-
};
|
|
671
|
-
};
|
|
672
|
-
readonly Radio: {
|
|
673
|
-
readonly scale: readonly ["small", "medium", "large"];
|
|
674
|
-
readonly fallback: "medium";
|
|
675
|
-
readonly fromGlobal: {
|
|
676
|
-
readonly small: "small";
|
|
677
|
-
readonly medium: "medium";
|
|
678
|
-
readonly large: "large";
|
|
679
|
-
};
|
|
680
|
-
};
|
|
681
|
-
readonly Switch: {
|
|
682
|
-
readonly scale: readonly ["small", "medium", "large"];
|
|
683
|
-
readonly fallback: "medium";
|
|
684
|
-
readonly fromGlobal: {
|
|
685
|
-
readonly small: "small";
|
|
686
|
-
readonly medium: "medium";
|
|
687
|
-
readonly large: "large";
|
|
688
|
-
};
|
|
689
|
-
};
|
|
690
|
-
readonly Slider: {
|
|
691
|
-
readonly scale: readonly ["small", "medium", "large"];
|
|
692
|
-
readonly fallback: "medium";
|
|
693
|
-
readonly fromGlobal: {
|
|
694
|
-
readonly small: "small";
|
|
695
|
-
readonly medium: "medium";
|
|
696
|
-
readonly large: "large";
|
|
697
|
-
};
|
|
698
|
-
};
|
|
699
|
-
readonly RangeSlider: {
|
|
700
|
-
readonly scale: readonly ["sm", "md", "lg"];
|
|
701
|
-
readonly fallback: "md";
|
|
702
|
-
readonly fromGlobal: {
|
|
703
|
-
readonly small: "sm";
|
|
704
|
-
readonly medium: "md";
|
|
705
|
-
readonly large: "lg";
|
|
706
|
-
};
|
|
707
|
-
readonly tiers: {
|
|
708
|
-
readonly small: "sm";
|
|
709
|
-
readonly medium: "md";
|
|
710
|
-
readonly large: "lg";
|
|
711
|
-
};
|
|
712
|
-
};
|
|
713
|
-
readonly ColorSlider: {
|
|
714
|
-
readonly scale: readonly ["small", "medium", "large"];
|
|
715
|
-
readonly fallback: "medium";
|
|
716
|
-
readonly fromGlobal: {
|
|
717
|
-
readonly small: "small";
|
|
718
|
-
readonly medium: "medium";
|
|
719
|
-
readonly large: "large";
|
|
720
|
-
};
|
|
721
|
-
};
|
|
722
|
-
readonly HorizontalFilter: {
|
|
723
|
-
readonly scale: readonly ["small", "medium"];
|
|
724
|
-
readonly fallback: "medium";
|
|
725
|
-
readonly fromGlobal: {
|
|
726
|
-
readonly small: "small";
|
|
727
|
-
readonly medium: "medium";
|
|
728
|
-
readonly large: "medium";
|
|
729
|
-
};
|
|
730
|
-
};
|
|
731
|
-
readonly CompactSelect: {
|
|
732
|
-
readonly scale: readonly ["xsmall", "small", "medium"];
|
|
733
|
-
readonly fallback: "small";
|
|
734
|
-
readonly fromGlobal: {
|
|
735
|
-
readonly small: "small";
|
|
736
|
-
readonly medium: "medium";
|
|
737
|
-
readonly large: "medium";
|
|
738
|
-
};
|
|
739
|
-
};
|
|
740
|
-
readonly CompactSelectForInput: {
|
|
741
|
-
readonly scale: readonly ["small", "medium", "large"];
|
|
742
|
-
readonly fallback: "small";
|
|
743
|
-
readonly fromGlobal: {
|
|
744
|
-
readonly small: "small";
|
|
745
|
-
readonly medium: "medium";
|
|
746
|
-
readonly large: "large";
|
|
747
|
-
};
|
|
748
|
-
};
|
|
749
|
-
readonly ColorDot: {
|
|
750
|
-
readonly scale: readonly ["sm", "md", "lg"];
|
|
751
|
-
readonly fallback: "md";
|
|
752
|
-
readonly fromGlobal: {
|
|
753
|
-
readonly small: "sm";
|
|
754
|
-
readonly medium: "md";
|
|
755
|
-
readonly large: "lg";
|
|
756
|
-
};
|
|
757
|
-
readonly tiers: {
|
|
758
|
-
readonly small: "sm";
|
|
759
|
-
readonly medium: "md";
|
|
760
|
-
readonly large: "lg";
|
|
761
|
-
};
|
|
762
|
-
};
|
|
763
|
-
readonly Badge: {
|
|
764
|
-
readonly scale: readonly ["small", "medium"];
|
|
765
|
-
readonly fallback: "medium";
|
|
766
|
-
readonly fromGlobal: {
|
|
767
|
-
readonly small: "small";
|
|
768
|
-
readonly medium: "medium";
|
|
769
|
-
readonly large: "medium";
|
|
770
|
-
};
|
|
771
|
-
readonly tiers: {
|
|
772
|
-
readonly xsmall: "small";
|
|
773
|
-
readonly small: "small";
|
|
774
|
-
readonly medium: "medium";
|
|
775
|
-
readonly large: "medium";
|
|
776
|
-
};
|
|
777
|
-
};
|
|
778
|
-
readonly StatusBadge: {
|
|
779
|
-
readonly scale: readonly ["small", "medium"];
|
|
780
|
-
readonly fallback: "medium";
|
|
781
|
-
readonly fromGlobal: {
|
|
782
|
-
readonly small: "small";
|
|
783
|
-
readonly medium: "medium";
|
|
784
|
-
readonly large: "medium";
|
|
785
|
-
};
|
|
786
|
-
};
|
|
787
|
-
readonly ChartLegend: {
|
|
788
|
-
readonly scale: readonly ["sm", "md"];
|
|
789
|
-
readonly fallback: "md";
|
|
790
|
-
readonly fromGlobal: {
|
|
791
|
-
readonly small: "sm";
|
|
792
|
-
readonly medium: "md";
|
|
793
|
-
readonly large: "md";
|
|
794
|
-
};
|
|
795
|
-
};
|
|
796
|
-
readonly ContentLabel: {
|
|
797
|
-
readonly scale: readonly ["sm", "md"];
|
|
798
|
-
readonly fallback: "md";
|
|
799
|
-
readonly fromGlobal: {
|
|
800
|
-
readonly small: "sm";
|
|
801
|
-
readonly medium: "md";
|
|
802
|
-
readonly large: "md";
|
|
803
|
-
};
|
|
804
|
-
};
|
|
805
|
-
readonly GaugeBar: {
|
|
806
|
-
readonly scale: readonly ["sm", "md", "lg"];
|
|
807
|
-
readonly fallback: "md";
|
|
808
|
-
readonly fromGlobal: {
|
|
809
|
-
readonly small: "sm";
|
|
810
|
-
readonly medium: "md";
|
|
811
|
-
readonly large: "lg";
|
|
812
|
-
};
|
|
813
|
-
};
|
|
814
|
-
readonly KeyIcon: {
|
|
815
|
-
readonly scale: readonly ["xs", "sm", "md", "lg", "xl"];
|
|
816
|
-
readonly fallback: "md";
|
|
817
|
-
readonly fromGlobal: {
|
|
818
|
-
readonly small: "sm";
|
|
819
|
-
readonly medium: "md";
|
|
820
|
-
readonly large: "lg";
|
|
821
|
-
};
|
|
822
|
-
};
|
|
823
|
-
readonly Money: {
|
|
824
|
-
readonly scale: readonly ["sm", "md", "lg", "big"];
|
|
825
|
-
readonly fallback: "md";
|
|
826
|
-
readonly fromGlobal: {
|
|
827
|
-
readonly small: "sm";
|
|
828
|
-
readonly medium: "md";
|
|
829
|
-
readonly large: "lg";
|
|
830
|
-
};
|
|
831
|
-
};
|
|
832
|
-
readonly StatusDot: {
|
|
833
|
-
readonly scale: readonly ["xs", "sm", "md", "lg"];
|
|
834
|
-
readonly fallback: "sm";
|
|
835
|
-
readonly fromGlobal: {
|
|
836
|
-
readonly small: "sm";
|
|
837
|
-
readonly medium: "md";
|
|
838
|
-
readonly large: "lg";
|
|
839
|
-
};
|
|
840
|
-
};
|
|
841
|
-
readonly Item: {
|
|
842
|
-
readonly scale: readonly ["default", "small", "xsmall"];
|
|
843
|
-
readonly fallback: "default";
|
|
844
|
-
readonly fromGlobal: {
|
|
845
|
-
readonly small: "small";
|
|
846
|
-
readonly medium: "default";
|
|
847
|
-
readonly large: "default";
|
|
848
|
-
};
|
|
849
|
-
};
|
|
850
|
-
readonly Toggle: {
|
|
851
|
-
readonly scale: readonly ["small", "medium", "large"];
|
|
852
|
-
readonly fallback: "medium";
|
|
853
|
-
readonly fromGlobal: {
|
|
854
|
-
readonly small: "small";
|
|
855
|
-
readonly medium: "medium";
|
|
856
|
-
readonly large: "large";
|
|
857
|
-
};
|
|
858
|
-
};
|
|
859
|
-
readonly CopyButton: {
|
|
860
|
-
readonly scale: readonly ["sm", "md", "lg"];
|
|
861
|
-
readonly fallback: "md";
|
|
862
|
-
readonly fromGlobal: {
|
|
863
|
-
readonly small: "sm";
|
|
864
|
-
readonly medium: "md";
|
|
865
|
-
readonly large: "lg";
|
|
866
|
-
};
|
|
867
|
-
};
|
|
868
|
-
readonly CheckboxGroup: {
|
|
869
|
-
readonly scale: readonly ["small", "medium", "large"];
|
|
870
|
-
readonly fallback: "medium";
|
|
871
|
-
readonly fromGlobal: {
|
|
872
|
-
readonly small: "small";
|
|
873
|
-
readonly medium: "medium";
|
|
874
|
-
readonly large: "large";
|
|
875
|
-
};
|
|
876
|
-
readonly inherits: "Checkbox";
|
|
877
|
-
};
|
|
878
|
-
readonly Statistic: {
|
|
879
|
-
readonly scale: readonly ["small", "medium", "large"];
|
|
880
|
-
readonly fallback: "medium";
|
|
881
|
-
readonly fromGlobal: {
|
|
882
|
-
readonly small: "small";
|
|
883
|
-
readonly medium: "medium";
|
|
884
|
-
readonly large: "large";
|
|
885
|
-
};
|
|
886
|
-
};
|
|
887
|
-
readonly Descriptions: {
|
|
888
|
-
readonly scale: readonly ["small", "medium", "large"];
|
|
889
|
-
readonly fallback: "medium";
|
|
890
|
-
readonly fromGlobal: {
|
|
891
|
-
readonly small: "small";
|
|
892
|
-
readonly medium: "medium";
|
|
893
|
-
readonly large: "large";
|
|
894
|
-
};
|
|
895
|
-
};
|
|
896
|
-
readonly List: {
|
|
897
|
-
readonly scale: readonly ["small", "medium", "large"];
|
|
898
|
-
readonly fallback: "medium";
|
|
899
|
-
readonly fromGlobal: {
|
|
900
|
-
readonly small: "small";
|
|
901
|
-
readonly medium: "medium";
|
|
902
|
-
readonly large: "large";
|
|
903
|
-
};
|
|
904
|
-
};
|
|
905
|
-
readonly Avatar: {
|
|
906
|
-
readonly scale: readonly ["20", "24", "32", "40", "48", "56", "64", "72", "80"];
|
|
907
|
-
readonly fallback: "40";
|
|
908
|
-
readonly exempt: string;
|
|
909
|
-
};
|
|
910
|
-
readonly ActorAvatar: {
|
|
911
|
-
readonly scale: readonly ["20", "24", "32", "40", "56"];
|
|
912
|
-
readonly fallback: "24";
|
|
913
|
-
readonly exempt: "同 Avatar:像素刻度,不是控件档位。";
|
|
914
|
-
};
|
|
915
|
-
readonly AvatarGroup: {
|
|
916
|
-
readonly scale: readonly ["24", "32", "40", "48"];
|
|
917
|
-
readonly fallback: "40";
|
|
918
|
-
readonly exempt: "同 Avatar:像素刻度(决定叠加头像与 +N 徽标的直径)。";
|
|
919
|
-
};
|
|
920
|
-
readonly Space: {
|
|
921
|
-
readonly scale: readonly ["none", "xs", "sm", "md", "lg", "xl", "2xl"];
|
|
922
|
-
readonly fallback: "md";
|
|
923
|
-
readonly exempt: "这是**间距刻度**(gap),不是控件尺寸;KDS §1.4 的空间阶与控件档位是两条轴。";
|
|
924
|
-
};
|
|
925
|
-
readonly InputGroup: {
|
|
926
|
-
readonly scale: readonly ["xsmall", "icon-xsmall", "icon-small"];
|
|
927
|
-
readonly fallback: "xsmall";
|
|
928
|
-
readonly exempt: "该 size 描述的是组内嵌按钮的变体(含 icon-* 形态),不是控件高度档位。";
|
|
929
|
-
};
|
|
930
|
-
readonly Drawer: {
|
|
931
|
-
readonly scale: readonly ["default", "large"];
|
|
932
|
-
readonly fallback: "default";
|
|
933
|
-
readonly exempt: "宽度档位(480/640/800 口径),不是控件尺寸;浮层宽度由任务决定,不随全局 size 漂移。";
|
|
934
|
-
};
|
|
935
|
-
readonly CircularProgress: {
|
|
936
|
-
readonly scale: readonly ["number"];
|
|
937
|
-
readonly fallback: "number";
|
|
938
|
-
readonly exempt: "数值直径(px),由调用方按容器给定。";
|
|
939
|
-
};
|
|
940
|
-
readonly ImageUpload: {
|
|
941
|
-
readonly scale: readonly ["number"];
|
|
942
|
-
readonly fallback: "number";
|
|
943
|
-
readonly exempt: "数值边长(px),由调用方按容器给定。";
|
|
944
|
-
};
|
|
945
|
-
readonly Rating: {
|
|
946
|
-
readonly scale: readonly ["number"];
|
|
947
|
-
readonly fallback: "number";
|
|
948
|
-
readonly exempt: "数值星标字号(px)。";
|
|
949
|
-
};
|
|
950
|
-
readonly Spinner: {
|
|
951
|
-
readonly scale: readonly ["number"];
|
|
952
|
-
readonly fallback: "number";
|
|
953
|
-
readonly exempt: "数值直径(px);命名档位见 SpinnerSize,由调用方按容器选定。";
|
|
954
|
-
};
|
|
955
|
-
readonly Splitter: {
|
|
956
|
-
readonly scale: readonly ["number"];
|
|
957
|
-
readonly fallback: "number";
|
|
958
|
-
readonly exempt: "分割条厚度/尺寸,接受数值或 CSS 长度,属布局量而非控件档位。";
|
|
959
|
-
};
|
|
960
|
-
};
|
|
961
|
-
type SizeContractName = keyof typeof SIZE_CONTRACTS;
|
|
962
|
-
/** 取某个组件契约里的档位联合类型。 */
|
|
963
|
-
type ContractSize<K extends SizeContractName> = (typeof SIZE_CONTRACTS)[K] extends SizeContract<infer S> ? S : never;
|
|
964
|
-
/**
|
|
965
|
-
* 唯一的尺寸解析入口:**显式 prop > 全局档位 > 组件默认值**。
|
|
966
|
-
* 组件实现不应该再自己写 `size ?? "medium"`。
|
|
967
|
-
*/
|
|
968
|
-
declare function resolveSize<K extends SizeContractName>(name: K, explicit: ContractSize<K> | undefined, global: GlobalSize | undefined): ContractSize<K>;
|
|
969
|
-
/** 规格文档用:组件在某规范档位下的自有档位(无对应档位返回 undefined)。 */
|
|
970
|
-
declare function tierOf<K extends SizeContractName>(name: K, tier: SizeType): ContractSize<K> | undefined;
|
|
971
|
-
|
|
972
|
-
/** Global default size for components whose scale includes these values. */
|
|
973
|
-
type ComponentSize = GlobalSize;
|
|
974
|
-
/** Text direction. */
|
|
975
|
-
type Direction = "ltr" | "rtl";
|
|
976
|
-
/** Color scheme. */
|
|
977
|
-
type Theme = "light" | "dark";
|
|
978
|
-
/**
|
|
979
|
-
* Accent / primary color ramp (maps to the design system's `data-mode`).
|
|
980
|
-
* `"metronic"` is a full Metronic 9.0 skin — it re-points the whole semantic
|
|
981
|
-
* palette (surfaces, text, strokes, intents, radii) onto Metronic colors, not
|
|
982
|
-
* just the primary ramp. Orthogonal to `theme`, so it works in light and dark.
|
|
983
|
-
*/
|
|
984
|
-
type Accent = "blue" | "purple" | "orange" | "green" | "slate" | "metronic" | "kk";
|
|
985
|
-
/**
|
|
986
|
-
* Global corner-radius scale (maps to `data-radius`). `"square"` = 0-radius
|
|
987
|
-
* (sharp) corners, `"sharp"` = tight, `"rounded"` = soft. The functional pill
|
|
988
|
-
* radius (round avatars / switches / pill badges) is always preserved.
|
|
989
|
-
*/
|
|
990
|
-
type Radius = "default" | "sharp" | "square" | "rounded";
|
|
991
|
-
/**
|
|
992
|
-
* Global control density (maps to `data-density`).
|
|
993
|
-
*
|
|
994
|
-
* - `"compact"` 把每条控件尺寸 token 下移一档,用于密集后台/工具栏/数据表;
|
|
995
|
-
* - `"kk"` 是 kk 控制台的紧凑尺度(2xs…xl = 18/20/24/28/32/36),第 62 批从
|
|
996
|
-
* `[data-mode="kk"]` 皮肤里搬出来成为**显式密度轴**——皮肤不再顺带改几何,
|
|
997
|
-
* `size` 因此成为跨皮肤稳定的契约。
|
|
998
|
-
*
|
|
999
|
-
* `size` props 在这两条密度上照常生效。
|
|
1000
|
-
*/
|
|
1001
|
-
type Density = "default" | "compact" | "kk";
|
|
1002
|
-
interface KlunConfig {
|
|
1003
|
-
/** Active locale dictionary. */
|
|
1004
|
-
locale: Locale;
|
|
1005
|
-
/** Default size applied to components that receive no explicit `size` prop. */
|
|
1006
|
-
size?: ComponentSize;
|
|
1007
|
-
/** Text direction. */
|
|
1008
|
-
dir: Direction;
|
|
1009
|
-
/** Color scheme. `undefined` inherits the document/default (light) theme. */
|
|
1010
|
-
theme?: Theme;
|
|
1011
|
-
/** Accent (primary) color ramp. `undefined` inherits the default (blue). */
|
|
1012
|
-
accent?: Accent;
|
|
1013
|
-
/** Global corner-radius scale. `undefined` inherits the default. */
|
|
1014
|
-
radius?: Radius;
|
|
1015
|
-
/** Control density. `"compact"` shrinks every control one tier. */
|
|
1016
|
-
density?: Density;
|
|
1017
|
-
/** Custom primary color (e.g. a hex). Overrides `accent`; a shade/tint ramp is derived. */
|
|
1018
|
-
primaryColor?: string;
|
|
1019
|
-
}
|
|
1020
|
-
/**
|
|
1021
|
-
* Derive the `--klun-primary-*` token ramp from a single base color. A hex input
|
|
1022
|
-
* produces the full shade/tint ramp + alpha tints; any other CSS color sets just
|
|
1023
|
-
* the base. Used by ConfigProvider's `primaryColor`, exported for manual use.
|
|
1024
|
-
*/
|
|
1025
|
-
declare function primaryColorVars(color: string): Record<string, string>;
|
|
1026
|
-
interface ConfigProviderProps {
|
|
1027
|
-
/** Locale dictionary. Defaults to `enUS` (or the nearest parent provider's). */
|
|
1028
|
-
locale?: Locale;
|
|
1029
|
-
/** Global default component size. */
|
|
1030
|
-
size?: ComponentSize;
|
|
1031
|
-
/** Text direction. Default `"ltr"`. */
|
|
1032
|
-
dir?: Direction;
|
|
1033
|
-
/** Color scheme applied to the subtree (`light` | `dark`). */
|
|
1034
|
-
theme?: Theme;
|
|
1035
|
-
/** Accent (primary) color ramp applied to the subtree. */
|
|
1036
|
-
accent?: Accent;
|
|
1037
|
-
/** Global corner-radius scale applied to the subtree. */
|
|
1038
|
-
radius?: Radius;
|
|
1039
|
-
/** Control density applied to the subtree (`"compact"` shrinks controls one tier). */
|
|
1040
|
-
density?: Density;
|
|
1041
|
-
/** Custom primary color (e.g. a hex). Overrides `accent`; a ramp is derived. */
|
|
1042
|
-
primaryColor?: string;
|
|
1043
|
-
children?: ReactNode;
|
|
1044
|
-
}
|
|
1045
|
-
/**
|
|
1046
|
-
* ConfigProvider — supplies a global locale, default size, text direction and
|
|
1047
|
-
* theme/accent to the klun-ui components rendered below it. Values are inherited
|
|
1048
|
-
* from a parent provider when present, so providers can be nested to scope
|
|
1049
|
-
* overrides. `theme`/`accent`/`radius`/`density` set
|
|
1050
|
-
* `data-theme`/`data-mode`/`data-radius`/`data-density` on the wrapper, which
|
|
1051
|
-
* re-points the design tokens for the whole subtree; `primaryColor` overrides the
|
|
1052
|
-
* accent with a ramp derived from any hex. Without any provider, components fall
|
|
1053
|
-
* back to en-US / ltr / default theme, so usage is fully optional.
|
|
1054
|
-
*/
|
|
1055
|
-
declare function ConfigProvider({ locale, size, dir, theme, accent, radius, density, primaryColor, children, }: ConfigProviderProps): react.JSX.Element;
|
|
1056
|
-
declare namespace ConfigProvider {
|
|
1057
|
-
var displayName: string;
|
|
1058
|
-
}
|
|
1059
|
-
/** Read the full klun-ui config from the nearest provider (or built-in defaults). */
|
|
1060
|
-
declare function useConfig(): KlunConfig;
|
|
1061
|
-
/** Read the active locale dictionary. */
|
|
1062
|
-
declare function useLocale(): Locale;
|
|
1063
|
-
/**
|
|
1064
|
-
* Resolve a component's size: explicit prop wins, then the provider's global
|
|
1065
|
-
* `size`, then `"medium"`. Returns the explicit prop's own size type.
|
|
1066
|
-
*/
|
|
1067
|
-
declare function useSize<S extends string = ComponentSize>(explicit?: S): S;
|
|
1068
|
-
/**
|
|
1069
|
-
* Resolve a size for a component whose own scale differs from the global one —
|
|
1070
|
-
* it lacks a tier (e.g. no `large`) or uses different names (`sm`/`md`/`lg`).
|
|
1071
|
-
* `explicit` wins; otherwise the provider's global size is translated through
|
|
1072
|
-
* `map` (which clamps/renames each global tier to a value this component
|
|
1073
|
-
* supports); with no provider size it returns `fallback`.
|
|
1074
|
-
*/
|
|
1075
|
-
declare function useMappedSize<S extends string>(explicit: S | undefined, map: Record<ComponentSize, S>, fallback: S): S;
|
|
1076
|
-
/**
|
|
1077
|
-
* 按 **KDS 尺寸契约**解析组件档位(映射表在 `./size.ts` 的 `SIZE_CONTRACTS`)。
|
|
1078
|
-
*
|
|
1079
|
-
* 与 `useSize` / `useMappedSize` 的区别:后两者的映射散落在每个组件里,且只覆盖
|
|
1080
|
-
* 25 个组件;`useScaleSize` 把映射收进一张表,由 `scripts/kds-size-contract.mjs`
|
|
1081
|
-
* 门禁保证「每个 size prop 都被登记、每个登记的组件都真的走这里」。
|
|
1082
|
-
*
|
|
1083
|
-
* 解析顺序:**显式 prop > 全局 `ConfigProvider size` > 组件默认值**。
|
|
1084
|
-
*/
|
|
1085
|
-
declare function useScaleSize<K extends SizeContractName>(name: K, explicit?: ContractSize<K>): ContractSize<K>;
|
|
1086
|
-
/**
|
|
1087
|
-
* 解析当前生效的控件密度:**Provider 优先 > 文档根 `data-density` > `"default"`**。
|
|
1088
|
-
*
|
|
1089
|
-
* JS 侧需要知道密度的组件(目前是 Table 的密度继承)必须用这个 hook,
|
|
1090
|
-
* 不要直接读 `useConfig().density`——那会漏掉 `<html data-density="…">` 这条通道。
|
|
1091
|
-
*/
|
|
1092
|
-
declare function useDensity(): Density;
|
|
241
|
+
type SelectTreeRef = GetRef<typeof TreeSelect>;
|
|
1093
242
|
|
|
1094
243
|
declare function localTodayIso(): string;
|
|
1095
244
|
interface HeatmapCell {
|
|
@@ -3543,11 +2692,12 @@ interface InputProps extends Omit<InputHTMLAttributes<HTMLInputElement>, "size">
|
|
|
3543
2692
|
/** Style applied to the outer field wrapper. */
|
|
3544
2693
|
style?: CSSProperties;
|
|
3545
2694
|
}
|
|
3546
|
-
|
|
3547
|
-
|
|
3548
|
-
|
|
3549
|
-
|
|
3550
|
-
|
|
2695
|
+
declare const Input: react.ForwardRefExoticComponent<InputProps & react.RefAttributes<HTMLInputElement>> & {
|
|
2696
|
+
Search: react.ForwardRefExoticComponent<antd_es_input.SearchProps & react.RefAttributes<antd.InputRef>>;
|
|
2697
|
+
Password: react.ForwardRefExoticComponent<antd_es_input.PasswordProps & react.RefAttributes<antd.InputRef>>;
|
|
2698
|
+
TextArea: react.ForwardRefExoticComponent<antd_es_input.TextAreaProps & react.RefAttributes<antd_es_input_TextArea.TextAreaRef>>;
|
|
2699
|
+
OTP: react.ForwardRefExoticComponent<antd_es_input_OTP.OTPProps & react.RefAttributes<antd_es_input_OTP.OTPRef>>;
|
|
2700
|
+
};
|
|
3551
2701
|
|
|
3552
2702
|
interface InputGroupProps extends HTMLAttributes<HTMLDivElement> {
|
|
3553
2703
|
}
|
|
@@ -4854,4 +4004,4 @@ declare function OverlayLayerProvider({ layerBase, children }: {
|
|
|
4854
4004
|
*/
|
|
4855
4005
|
declare function useOverlayLayer(kind?: "popup" | "tooltip"): number;
|
|
4856
4006
|
|
|
4857
|
-
export { type Accent, Accordion, type AccordionItem, type AccordionProps, ActivityHeatmap, type ActivityHeatmapProps, ActorAvatar, type ActorAvatarProps, type ActorAvatarSize, type ActorKind, Alert, type AlertProps, type AlertStatus, type AlertVariant, AutoComplete, type AutoCompleteOption, type AutoCompleteProps, Avatar, AvatarGroup, type AvatarGroupProps, type AvatarProps, type AvatarSize, type AvatarStatus, Badge, type BadgeColor, type BadgeProps, type BadgeVariant, Banner, type BannerProps, type BannerStatus, type BannerVariant, BorderBeam, type BorderBeamProps, Breadcrumb, type BreadcrumbItem, type BreadcrumbProps, type Breakpoint, BulkAction, BulkActionBar, type BulkActionBarProps, type BulkActionProps, Button, type ButtonAppearance, ButtonGroup, type ButtonGroupItem, type ButtonGroupProps, type ButtonGroupSize, type ButtonKind, type ButtonProps, type ButtonSize, type ButtonVariant, CRON_PRESETS, CapabilityBanner, type CapabilityBannerProps, type CapabilityReason, type CapabilityResource, CappedNumberFlow, type CappedNumberFlowProps, Card, type CardProps, type CardVariant, Carousel, type CarouselProps, Cascader, type CascaderOption, type CascaderProps, CharacterCounter, type CharacterCounterProps, ChartLegend, type ChartLegendItem, type ChartLegendProps, ChartTooltip, type ChartTooltipProps, type ChartTooltipRow, Checkbox, CheckboxCard, type CheckboxCardAlign, type CheckboxCardProps, CheckboxGroup, type CheckboxGroupOption, type CheckboxGroupProps, type CheckboxProps, type CheckboxSize, ChipColor, CircularProgress, type CircularProgressColor, type CircularProgressProps, type ClassValue, CodeViewer, type CodeViewerProps, Col, type ColProps, type ColSize, Collapse, type CollapseProps, ColorDot, type ColorDotProps, type ColorDotSize, ColorPicker, type ColorPickerProps, ColorSlider, type ColorSliderProps, type ColorSliderSize, type CommandGroup, type CommandItem, CommandMenu, type CommandMenuProps, type CompactButtonAppearance, type CompactButtonProps, type CompactButtonSize, CompactNumberFlow, type CompactNumberFlowProps, CompactSelect, type CompactSelectAppearance, CompactSelectForInput, type CompactSelectForInputProps, type CompactSelectForInputSide, type CompactSelectForInputSize, type CompactSelectProps, type CompactSelectSize, type ComponentSize, ConfigProvider, type ConfigProviderProps, Confirm, type ConfirmIntent, type ConfirmOptions, type ConfirmRequireInput, type ConfirmResult, ContentLabel, type ContentLabelColor, type ContentLabelProps, ContextMenu, type ContextMenuItem, type ContextMenuProps, type ContextMenuState, type ContractSize, CopyButton, type CopyButtonProps, type CopyButtonSize, type CopyButtonVariant, type CountdownResult, CounterInput, type CounterInputProps, type CounterInputSize, CronEditor, type CronEditorLabels, type CronEditorProps, type CronPreset, CrossRefBadge, type CrossRefBadgeProps, type CrossRefKind, type CrossRefPreview, CurrencyNumberFlow, type CurrencyNumberFlowProps, DatePicker, type DatePickerProps, type DateRange, DateRangePicker, type DateRangePickerProps, DateTimePicker, type DateTimePickerProps, type DefaultButtonProps, type Density, type DescriptionItem, Descriptions, type DescriptionsLayout, type DescriptionsProps, type DescriptionsSize, type DescriptionsVariant, type DiffHunk, type DiffLine, type DiffLineType, type DiffMode, type DiffSide, DiffViewer, type DiffViewerProps, DigitInput, type DigitInputProps, type DigitInputSize, type Direction, Divider, type DividerProps, type DividerVariant, DotSphere, type DotSphereProps, type DotTone, Drawer, type DrawerPlacement, type DrawerProps, Dropdown, type DropdownItem, type DropdownProps, EmojiPicker, type EmojiPickerProps, EmptyState, type EmptyStateProps, ExpiryCountdown, type ExpiryCountdownProps, type FancyButtonProps, type FancyButtonSize, type FancyButtonVariant, Field, FieldContent, type FieldContentProps, FieldDescription, type FieldDescriptionProps, FieldError, type FieldErrorProps, FieldGroup, type FieldGroupProps, FieldLabel, type FieldLabelProps, type FieldOrientation, type FieldProps, type FieldSize, FieldTitle, type FieldTitleProps, FileUpload, type FileUploadProps, Flex, type FlexGap, type FlexProps, Form, type FormInstance, FormItem, type FormItemProps, FormList, type FormListField, type FormListOperations, type FormListProps, type FormProps, type FormRule, Format, type FormatApi, GaugeBar, type GaugeBarColor, type GaugeBarProps, type GaugeBarSize, type GlobalSize, Grid, type Gutter, type HeatmapCell, type HeatmapGrid, type HeatmapMonthLabel, type HeatmapOptions, type HeatmapSummary, Hint, type HintProps, HorizontalFilter, type HorizontalFilterItem, type HorizontalFilterProps, type HorizontalFilterSize, HoverCard, type HoverCardAlign, HoverCardContent, type HoverCardContentProps, type HoverCardProps, type HoverCardSide, HoverCardTrigger, type HoverCardTriggerProps, ICON_GROUPS, type IconGroup, IconPicker, type IconPickerProps, type ImageItem, ImageUpload, type ImageUploadProps, type ImageUploadShape, ImageViewer, type ImageViewerProps, InlineInput, type InlineInputProps, type InlineInputTone, type InlineInputWeight, InlineSelect, type InlineSelectProps, type InlineSelectTone, type InlineSelectWeight, Input, InputGroup, InputGroupAddon, type InputGroupAddonAlign, type InputGroupAddonProps, InputGroupButton, type InputGroupButtonProps, type InputGroupButtonSize, type InputGroupButtonVariant, InputGroupInput, type InputGroupInputProps, type InputGroupProps, InputGroupText, type InputGroupTextProps, type InputProps, Item, ItemActions, type ItemActionsProps, ItemContent, type ItemContentProps, ItemDescription, type ItemDescriptionProps, ItemFooter, type ItemFooterProps, ItemGroup, type ItemGroupProps, ItemHeader, type ItemHeaderProps, ItemMedia, type ItemMediaProps, type ItemMediaVariant, type ItemProps, ItemSeparator, type ItemSeparatorProps, type ItemSize, ItemTitle, type ItemTitleProps, type ItemVariant, Kanban, type KanbanCard, type KanbanColumn, type KanbanProps, Kbd, type KbdProps, KeyIcon, type KeyIconAppearance, type KeyIconColor, type KeyIconProps, type KeyIconSize, type KlunConfig, LIST_GRID_BOTTOM_CLEARANCE, Label, type LabelProps, Layout, LayoutContent, type LayoutContentProps, LayoutFooter, type LayoutFooterProps, LayoutHeader, type LayoutHeaderProps, type LayoutProps, LayoutSider, type LinkButtonProps, type LinkButtonSize, type LinkButtonVariant, List, ListGrid, ListGridBody, ListGridCell, ListGridHeader, ListGridHeaderCell, type ListGridHeaderCellProps, type ListGridProps, ListGridRow, type ListGridSortDirection, ListItem, type ListItemProps, type ListProps, LiveDot, type LiveDotProps, type Locale, type LogLevel, type LogLine, LogViewer, type LogViewerProps, Markdown, type MarkdownProps, Masonry, type MasonryBreakpoints, type MasonryColumns, type MasonryGutter, type MasonryProps, Menu, type MenuItem, type MenuProps, Message, type MessageApi, type MessageOptions, type MessageProps, type MessageStatus, Modal, type ModalProps, Money, type MoneyOptions, type MoneyPeriod, type MoneyProps, type MoneyResult, type MoneySize, type MoneyTone, type NamePath, NavigationProgress, type NavigationProgressProps, Notification, type NotificationApi, type NotificationOptions, type NotificationPlacement, type NotificationProps, type NotificationStatus, NumberFlow, type NumberFlowFormat, type NumberFlowProps, type OverlayLayerContextValue, OverlayLayerProvider, type OverlayScope, PageHeader, type PageHeaderProps, type PageHeaderTab, Pagination, type PaginationProps, PasswordStrength, type PasswordStrengthLevel, type PasswordStrengthProps, type PctOptions, Popconfirm, type PopconfirmProps, Popover, type PopoverProps, ProgressBar, type ProgressBarProps, type ProgressColor, QUICK_EMOJIS, QuickEmojiPicker, type QuickEmojiPickerProps, Radio, RadioCard, type RadioCardAlign, type RadioCardProps, type RadioProps, type RadioSize, type Radius, RangeSlider, type RangeSliderProps, type RangeSliderSize, Rating, type RatingProps, type Reaction, ReactionBar, type ReactionBarProps, type ReactionItem, type RelTimeOptions, RelativeTime, type RelativeTimeProps, type Responsive, Result, type ResultProps, type ResultStatus, RichEditor, type RichEditorProps, RichEditorToolbar, type RichEditorToolbarProps, Row, type RowAlign, type RowJustify, type RowProps, type Rules, SIZE_CONTRACTS, type ScreenMap, type SegmentItem, SegmentedControl, type SegmentedControlProps, SegmentedProgress, type SegmentedProgressColor, type SegmentedProgressProps, Select, SelectMenu, type SelectMenuOption, type SelectMenuProps, type SelectMenuSize, type SelectProps, ShimmerText, type ShimmerTextProps, Sidebar, type SidebarMenuItem, type SidebarNavItem, type SidebarProps, type SidebarSection, type SiderProps, type SiderTheme, type SizeContract, type SizeContractName, type SizeOptions, type SizeType, Skeleton, type SkeletonProps, Slider, type SliderProps, type SliderSize, type SortDir, Space, type SpaceProps, type SpaceSize, Spinner, type SpinnerProps, type SpinnerSize, Splitter, type SplitterLayout, SplitterPanel, type SplitterPanelProps, type SplitterProps, StatCard, type StatCardProps, type StatCardTint, Statistic, type StatisticProps, StatusBadge, type StatusBadgeProps, StatusDot, type StatusDotProps, type StatusTone, type Step, StepIndicator, type StepIndicatorProps, Stepper, StepperContent, type StepperContentProps, StepperDescription, type StepperDescriptionProps, StepperIndicator, type StepperIndicatorProps, type StepperIndicators, StepperItem, type StepperItemProps, StepperNav, type StepperNavProps, type StepperOrientation, StepperPanel, type StepperPanelProps, type StepperProps, StepperSeparator, type StepperSeparatorProps, type StepperStepState, StepperTitle, type StepperTitleProps, StepperTrigger, type StepperTriggerProps, Switch, type SwitchProps, type SwitchSize, type TabItem, Table, type TableColumn, type TableMenuItem, type TableProps, type TableSort, Tabs, type TabsProps, type TabsVariant, Tag, type TagProps, Textarea, type TextareaProps, type TextareaSize, type Theme, TimePicker, type TimePickerProps, Timeline, type TimelineItem, type TimelineProps, Toast, type ToastAction, type ToastOptions, type ToastPosition, type ToastPromiseMessages, type ToastProps, type ToastStatus, Toaster, type ToasterProps, Toggle, type ToggleProps, type ToggleSize, type ToggleVariant, Tooltip, type TooltipProps, Tree, type TreeNode, type TreeProps, UnicodeSpinner, type UnicodeSpinnerProps, type UseFormOptions, type UseMessageDefaults, type UseNotificationDefaults, type UseOverlayScopeOptions, type VirtualColumn, VirtualTable, type VirtualTableProps, type WikiLinkResolver, Wizard, type WizardProps, type WizardStep, arSA, buildHeatmapGrid, cx, deDE, describeCron, enUS, esES, fmt, formatAvatarEmoji, frFR, groupReactions, idID, itIT, jaJP, koKR, localTodayIso, locales, nlNL, parseAvatarEmoji, parsePatch, plPL, primaryColorVars, ptBR, renderMarkdown, resolveMove, resolveSize, ruRU, summarizeHeatmap, tierOf, toast, trTR, useBreakpoint, useConfig, useContextMenu, useDensity, useForm, useLocale, useMappedSize, useMessage, useNotification, useOverlayLayer, useOverlayScope, useScaleSize, useSize, useStepItem, useStepper, viVN, zhCN, zhTW };
|
|
4007
|
+
export { Accordion, type AccordionItem, type AccordionProps, ActivityHeatmap, type ActivityHeatmapProps, ActorAvatar, type ActorAvatarProps, type ActorAvatarSize, type ActorKind, Alert, type AlertProps, type AlertStatus, type AlertVariant, AutoComplete, type AutoCompleteOption, type AutoCompleteProps, Avatar, AvatarGroup, type AvatarGroupProps, type AvatarProps, type AvatarSize, type AvatarStatus, Badge, type BadgeColor, type BadgeProps, type BadgeVariant, Banner, type BannerProps, type BannerStatus, type BannerVariant, BorderBeam, type BorderBeamProps, Breadcrumb, type BreadcrumbItem, type BreadcrumbProps, type Breakpoint, BulkAction, BulkActionBar, type BulkActionBarProps, type BulkActionProps, Button, type ButtonAppearance, ButtonGroup, type ButtonGroupItem, type ButtonGroupProps, type ButtonGroupSize, type ButtonKind, type ButtonProps, type ButtonSize, type ButtonVariant, CRON_PRESETS, CapabilityBanner, type CapabilityBannerProps, type CapabilityReason, type CapabilityResource, CappedNumberFlow, type CappedNumberFlowProps, Card, type CardProps, type CardVariant, Carousel, type CarouselProps, Cascader, type CascaderOption, type CascaderProps, CharacterCounter, type CharacterCounterProps, ChartLegend, type ChartLegendItem, type ChartLegendProps, ChartTooltip, type ChartTooltipProps, type ChartTooltipRow, Checkbox, CheckboxCard, type CheckboxCardAlign, type CheckboxCardProps, CheckboxGroup, type CheckboxGroupOption, type CheckboxGroupProps, type CheckboxProps, type CheckboxSize, ChipColor, CircularProgress, type CircularProgressColor, type CircularProgressProps, type ClassValue, CodeViewer, type CodeViewerProps, Col, type ColProps, type ColSize, Collapse, type CollapseProps, ColorDot, type ColorDotProps, type ColorDotSize, ColorPicker, type ColorPickerProps, ColorSlider, type ColorSliderProps, type ColorSliderSize, type CommandGroup, type CommandItem, CommandMenu, type CommandMenuProps, type CompactButtonAppearance, type CompactButtonProps, type CompactButtonSize, CompactNumberFlow, type CompactNumberFlowProps, CompactSelect, type CompactSelectAppearance, CompactSelectForInput, type CompactSelectForInputProps, type CompactSelectForInputSide, type CompactSelectForInputSize, type CompactSelectProps, type CompactSelectSize, Confirm, type ConfirmIntent, type ConfirmOptions, type ConfirmRequireInput, type ConfirmResult, ContentLabel, type ContentLabelColor, type ContentLabelProps, ContextMenu, type ContextMenuItem, type ContextMenuProps, type ContextMenuState, CopyButton, type CopyButtonProps, type CopyButtonSize, type CopyButtonVariant, type CountdownResult, CounterInput, type CounterInputProps, type CounterInputSize, CronEditor, type CronEditorLabels, type CronEditorProps, type CronPreset, CrossRefBadge, type CrossRefBadgeProps, type CrossRefKind, type CrossRefPreview, CurrencyNumberFlow, type CurrencyNumberFlowProps, DatePicker, type DatePickerProps, type DateRange, DateRangePicker, type DateRangePickerProps, DateTimePicker, type DateTimePickerProps, type DefaultButtonProps, type DescriptionItem, Descriptions, type DescriptionsLayout, type DescriptionsProps, type DescriptionsSize, type DescriptionsVariant, type DiffHunk, type DiffLine, type DiffLineType, type DiffMode, type DiffSide, DiffViewer, type DiffViewerProps, DigitInput, type DigitInputProps, type DigitInputSize, Divider, type DividerProps, type DividerVariant, DotSphere, type DotSphereProps, type DotTone, Drawer, type DrawerPlacement, type DrawerProps, Dropdown, type DropdownItem, type DropdownProps, EmojiPicker, type EmojiPickerProps, EmptyState, type EmptyStateProps, ExpiryCountdown, type ExpiryCountdownProps, type FancyButtonProps, type FancyButtonSize, type FancyButtonVariant, Field, FieldContent, type FieldContentProps, FieldDescription, type FieldDescriptionProps, FieldError, type FieldErrorProps, FieldGroup, type FieldGroupProps, FieldLabel, type FieldLabelProps, type FieldOrientation, type FieldProps, type FieldSize, FieldTitle, type FieldTitleProps, FileUpload, type FileUploadProps, Flex, type FlexGap, type FlexProps, Form, type FormInstance, FormItem, type FormItemProps, FormList, type FormListField, type FormListOperations, type FormListProps, type FormProps, type FormRule, Format, type FormatApi, GaugeBar, type GaugeBarColor, type GaugeBarProps, type GaugeBarSize, Grid, type Gutter, type HeatmapCell, type HeatmapGrid, type HeatmapMonthLabel, type HeatmapOptions, type HeatmapSummary, Hint, type HintProps, HorizontalFilter, type HorizontalFilterItem, type HorizontalFilterProps, type HorizontalFilterSize, HoverCard, type HoverCardAlign, HoverCardContent, type HoverCardContentProps, type HoverCardProps, type HoverCardSide, HoverCardTrigger, type HoverCardTriggerProps, ICON_GROUPS, type IconGroup, IconPicker, type IconPickerProps, type ImageItem, ImageUpload, type ImageUploadProps, type ImageUploadShape, ImageViewer, type ImageViewerProps, InlineInput, type InlineInputProps, type InlineInputTone, type InlineInputWeight, InlineSelect, type InlineSelectProps, type InlineSelectTone, type InlineSelectWeight, Input, InputGroup, InputGroupAddon, type InputGroupAddonAlign, type InputGroupAddonProps, InputGroupButton, type InputGroupButtonProps, type InputGroupButtonSize, type InputGroupButtonVariant, InputGroupInput, type InputGroupInputProps, type InputGroupProps, InputGroupText, type InputGroupTextProps, type InputProps, Item, ItemActions, type ItemActionsProps, ItemContent, type ItemContentProps, ItemDescription, type ItemDescriptionProps, ItemFooter, type ItemFooterProps, ItemGroup, type ItemGroupProps, ItemHeader, type ItemHeaderProps, ItemMedia, type ItemMediaProps, type ItemMediaVariant, type ItemProps, ItemSeparator, type ItemSeparatorProps, type ItemSize, ItemTitle, type ItemTitleProps, type ItemVariant, Kanban, type KanbanCard, type KanbanColumn, type KanbanProps, Kbd, type KbdProps, KeyIcon, type KeyIconAppearance, type KeyIconColor, type KeyIconProps, type KeyIconSize, LIST_GRID_BOTTOM_CLEARANCE, Label, type LabelProps, Layout, LayoutContent, type LayoutContentProps, LayoutFooter, type LayoutFooterProps, LayoutHeader, type LayoutHeaderProps, type LayoutProps, LayoutSider, type LinkButtonProps, type LinkButtonSize, type LinkButtonVariant, List, ListGrid, ListGridBody, ListGridCell, ListGridHeader, ListGridHeaderCell, type ListGridHeaderCellProps, type ListGridProps, ListGridRow, type ListGridSortDirection, ListItem, type ListItemProps, type ListProps, LiveDot, type LiveDotProps, type LogLevel, type LogLine, LogViewer, type LogViewerProps, Markdown, type MarkdownProps, Masonry, type MasonryBreakpoints, type MasonryColumns, type MasonryGutter, type MasonryProps, Menu, type MenuItem, type MenuProps, Message, type MessageApi, type MessageOptions, type MessageProps, type MessageStatus, Modal, type ModalProps, Money, type MoneyOptions, type MoneyPeriod, type MoneyProps, type MoneyResult, type MoneySize, type MoneyTone, type NamePath, NavigationProgress, type NavigationProgressProps, Notification, type NotificationApi, type NotificationOptions, type NotificationPlacement, type NotificationProps, type NotificationStatus, NumberFlow, type NumberFlowFormat, type NumberFlowProps, type OverlayLayerContextValue, OverlayLayerProvider, type OverlayScope, PageHeader, type PageHeaderProps, type PageHeaderTab, Pagination, type PaginationProps, PasswordStrength, type PasswordStrengthLevel, type PasswordStrengthProps, type PctOptions, Popconfirm, type PopconfirmProps, Popover, type PopoverProps, ProgressBar, type ProgressBarProps, type ProgressColor, QUICK_EMOJIS, QuickEmojiPicker, type QuickEmojiPickerProps, Radio, RadioCard, type RadioCardAlign, type RadioCardProps, type RadioProps, type RadioSize, RangeSlider, type RangeSliderProps, type RangeSliderSize, Rating, type RatingProps, type Reaction, ReactionBar, type ReactionBarProps, type ReactionItem, type RelTimeOptions, RelativeTime, type RelativeTimeProps, type Responsive, Result, type ResultProps, type ResultStatus, RichEditor, type RichEditorProps, RichEditorToolbar, type RichEditorToolbarProps, Row, type RowAlign, type RowJustify, type RowProps, type Rules, type ScreenMap, type SegmentItem, SegmentedControl, type SegmentedControlProps, SegmentedProgress, type SegmentedProgressColor, type SegmentedProgressProps, Select, SelectMenu, type SelectMenuOption, type SelectMenuProps, type SelectMenuSize, type SelectProps, type SelectTreeRef, ShimmerText, type ShimmerTextProps, Sidebar, type SidebarMenuItem, type SidebarNavItem, type SidebarProps, type SidebarSection, type SiderProps, type SiderTheme, type SizeOptions, Skeleton, type SkeletonProps, Slider, type SliderProps, type SliderSize, type SortDir, Space, type SpaceProps, type SpaceSize, Spinner, type SpinnerProps, type SpinnerSize, Splitter, type SplitterLayout, SplitterPanel, type SplitterPanelProps, type SplitterProps, StatCard, type StatCardProps, type StatCardTint, Statistic, type StatisticProps, StatusBadge, type StatusBadgeProps, StatusDot, type StatusDotProps, type StatusTone, type Step, StepIndicator, type StepIndicatorProps, Stepper, StepperContent, type StepperContentProps, StepperDescription, type StepperDescriptionProps, StepperIndicator, type StepperIndicatorProps, type StepperIndicators, StepperItem, type StepperItemProps, StepperNav, type StepperNavProps, type StepperOrientation, StepperPanel, type StepperPanelProps, type StepperProps, StepperSeparator, type StepperSeparatorProps, type StepperStepState, StepperTitle, type StepperTitleProps, StepperTrigger, type StepperTriggerProps, Switch, type SwitchProps, type SwitchSize, type TabItem, Table, type TableColumn, type TableMenuItem, type TableProps, type TableSort, Tabs, type TabsProps, type TabsVariant, Tag, type TagProps, Textarea, type TextareaProps, type TextareaSize, TimePicker, type TimePickerProps, Timeline, type TimelineItem, type TimelineProps, Toast, type ToastAction, type ToastOptions, type ToastPosition, type ToastPromiseMessages, type ToastProps, type ToastStatus, Toaster, type ToasterProps, Toggle, type ToggleProps, type ToggleSize, type ToggleVariant, Tooltip, type TooltipProps, Tree, type TreeNode, type TreeProps, UnicodeSpinner, type UnicodeSpinnerProps, type UseFormOptions, type UseMessageDefaults, type UseNotificationDefaults, type UseOverlayScopeOptions, type VirtualColumn, VirtualTable, type VirtualTableProps, type WikiLinkResolver, Wizard, type WizardProps, type WizardStep, buildHeatmapGrid, cx, describeCron, formatAvatarEmoji, groupReactions, localTodayIso, parseAvatarEmoji, parsePatch, renderMarkdown, resolveMove, summarizeHeatmap, toast, useBreakpoint, useContextMenu, useForm, useMessage, useNotification, useOverlayLayer, useOverlayScope, useStepItem, useStepper };
|