@expcat/tigercat-core 1.0.7 → 1.1.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/dist/datepicker-DXzS_8l8.d.cts +130 -0
- package/dist/datepicker-DXzS_8l8.d.ts +130 -0
- package/dist/datepicker-locales/en-US.cjs +23 -0
- package/dist/datepicker-locales/en-US.d.cts +6 -0
- package/dist/datepicker-locales/en-US.d.ts +6 -0
- package/dist/datepicker-locales/en-US.js +17 -0
- package/dist/datepicker-locales/id-ID.cjs +23 -0
- package/dist/datepicker-locales/id-ID.d.cts +6 -0
- package/dist/datepicker-locales/id-ID.d.ts +6 -0
- package/dist/datepicker-locales/id-ID.js +17 -0
- package/dist/datepicker-locales/ja-JP.cjs +23 -0
- package/dist/datepicker-locales/ja-JP.d.cts +6 -0
- package/dist/datepicker-locales/ja-JP.d.ts +6 -0
- package/dist/datepicker-locales/ja-JP.js +17 -0
- package/dist/datepicker-locales/ko-KR.cjs +23 -0
- package/dist/datepicker-locales/ko-KR.d.cts +6 -0
- package/dist/datepicker-locales/ko-KR.d.ts +6 -0
- package/dist/datepicker-locales/ko-KR.js +17 -0
- package/dist/datepicker-locales/th-TH.cjs +23 -0
- package/dist/datepicker-locales/th-TH.d.cts +6 -0
- package/dist/datepicker-locales/th-TH.d.ts +6 -0
- package/dist/datepicker-locales/th-TH.js +17 -0
- package/dist/datepicker-locales/vi-VN.cjs +23 -0
- package/dist/datepicker-locales/vi-VN.d.cts +6 -0
- package/dist/datepicker-locales/vi-VN.d.ts +6 -0
- package/dist/datepicker-locales/vi-VN.js +17 -0
- package/dist/datepicker-locales/zh-CN.cjs +23 -0
- package/dist/datepicker-locales/zh-CN.d.cts +6 -0
- package/dist/datepicker-locales/zh-CN.d.ts +6 -0
- package/dist/datepicker-locales/zh-CN.js +17 -0
- package/dist/datepicker-locales/zh-TW.cjs +23 -0
- package/dist/datepicker-locales/zh-TW.d.cts +6 -0
- package/dist/datepicker-locales/zh-TW.d.ts +6 -0
- package/dist/datepicker-locales/zh-TW.js +17 -0
- package/dist/icons/common.cjs +22 -0
- package/dist/icons/common.d.cts +20 -0
- package/dist/icons/common.d.ts +20 -0
- package/dist/icons/common.js +12 -0
- package/dist/icons/picker.cjs +36 -0
- package/dist/icons/picker.d.cts +53 -0
- package/dist/icons/picker.d.ts +53 -0
- package/dist/icons/picker.js +19 -0
- package/dist/icons/status.cjs +19 -0
- package/dist/icons/status.d.cts +13 -0
- package/dist/icons/status.d.ts +13 -0
- package/dist/icons/status.js +13 -0
- package/dist/icons/table.cjs +18 -0
- package/dist/icons/table.d.cts +25 -0
- package/dist/icons/table.d.ts +25 -0
- package/dist/icons/table.js +10 -0
- package/dist/index.cjs +4730 -3533
- package/dist/index.d.cts +1907 -1201
- package/dist/index.d.ts +1907 -1201
- package/dist/index.js +3231 -2196
- package/dist/locale-CEmE5uq-.d.cts +92 -0
- package/dist/locale-m1sF4KRO.d.ts +92 -0
- package/dist/locales/en-US.cjs +43 -0
- package/dist/locales/en-US.d.cts +10 -0
- package/dist/locales/en-US.d.ts +10 -0
- package/dist/locales/en-US.js +41 -0
- package/dist/locales/id-ID.cjs +43 -0
- package/dist/locales/id-ID.d.cts +10 -0
- package/dist/locales/id-ID.d.ts +10 -0
- package/dist/locales/id-ID.js +41 -0
- package/dist/locales/ja-JP.cjs +43 -0
- package/dist/locales/ja-JP.d.cts +10 -0
- package/dist/locales/ja-JP.d.ts +10 -0
- package/dist/locales/ja-JP.js +41 -0
- package/dist/locales/ko-KR.cjs +43 -0
- package/dist/locales/ko-KR.d.cts +10 -0
- package/dist/locales/ko-KR.d.ts +10 -0
- package/dist/locales/ko-KR.js +41 -0
- package/dist/locales/th-TH.cjs +43 -0
- package/dist/locales/th-TH.d.cts +10 -0
- package/dist/locales/th-TH.d.ts +10 -0
- package/dist/locales/th-TH.js +41 -0
- package/dist/locales/vi-VN.cjs +43 -0
- package/dist/locales/vi-VN.d.cts +10 -0
- package/dist/locales/vi-VN.d.ts +10 -0
- package/dist/locales/vi-VN.js +41 -0
- package/dist/locales/zh-CN.cjs +43 -0
- package/dist/locales/zh-CN.d.cts +10 -0
- package/dist/locales/zh-CN.d.ts +10 -0
- package/dist/locales/zh-CN.js +41 -0
- package/dist/locales/zh-TW.cjs +43 -0
- package/dist/locales/zh-TW.d.cts +10 -0
- package/dist/locales/zh-TW.d.ts +10 -0
- package/dist/locales/zh-TW.js +41 -0
- package/dist/table-export-Cy9DgTiO.d.cts +458 -0
- package/dist/table-export-Cy9DgTiO.d.ts +458 -0
- package/dist/tailwind/modern.cjs +290 -0
- package/dist/tailwind/modern.d.cts +6 -0
- package/dist/tailwind/modern.d.ts +6 -0
- package/dist/tailwind/modern.js +284 -0
- package/dist/tailwind-entry-2KPvkOin.d.ts +218 -0
- package/dist/tailwind-entry-CUaMC8Ma.d.cts +218 -0
- package/dist/tailwind.cjs +141 -0
- package/dist/tailwind.d.cts +3 -0
- package/dist/tailwind.d.ts +3 -0
- package/dist/tailwind.js +135 -0
- package/dist/types-CJYAW1ql.d-DDBFn6KB.d.cts +126 -0
- package/dist/types-CJYAW1ql.d-DDBFn6KB.d.ts +126 -0
- package/dist/utils/table-export.cjs +38 -0
- package/dist/utils/table-export.d.cts +1 -0
- package/dist/utils/table-export.d.ts +1 -0
- package/dist/utils/table-export.js +34 -0
- package/package.json +131 -7
package/dist/index.d.cts
CHANGED
|
@@ -1,5 +1,18 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
export { closeIconPathD, closeIconPathStrokeLinecap, closeIconPathStrokeLinejoin, closeIconPathStrokeWidth, closeIconViewBox, icon24PathStrokeLinecap, icon24PathStrokeLinejoin, icon24StrokeWidth, icon24ViewBox } from './icons/common.cjs';
|
|
2
|
+
export { CalendarIconPath, ChevronLeftIconPath, ChevronRightIconPath, ClockIconPath, CloseIconPath, TimePickerCloseIconPath, calendarSolidIcon20PathD, checkSolidIcon20PathD, chevronDownSolidIcon20PathD, chevronLeftSolidIcon20PathD, chevronRightSolidIcon20PathD, clockSolidIcon20PathD, closeSolidIcon20PathD, errorCircleSolidIcon20PathD, icon20ViewBox, successCircleSolidIcon20PathD } from './icons/picker.cjs';
|
|
3
|
+
export { StatusIconType, statusErrorIconPath, statusIconPaths, statusInfoIconPath, statusSuccessIconPath, statusWarningIconPath } from './icons/status.cjs';
|
|
4
|
+
export { expandChevronIcon16PathD, icon16ViewBox, lockClosedIcon24PathD, lockOpenIcon24PathD, sortAscIcon16PathD, sortBothIcon16PathD, sortDescIcon16PathD } from './icons/table.cjs';
|
|
5
|
+
import { a as TigerLocaleInput, b as TigerLocaleLazyModule, c as TigerLocaleLoader, T as TigerLocale, d as TigerLocalePagination, e as TigerLocaleFormWizard, f as TigerLocaleTaskBoard } from './locale-CEmE5uq-.cjs';
|
|
6
|
+
export { g as TigerLocaleCommon, i as TigerLocaleDrawer, h as TigerLocaleModal, j as TigerLocaleUpload } from './locale-CEmE5uq-.cjs';
|
|
7
|
+
import { D as DatePickerLocalePreset, a as DatePickerLocaleInput, b as DatePickerLabels, c as DateFormat, d as DatePickerSize } from './datepicker-DXzS_8l8.cjs';
|
|
8
|
+
export { e as DatePickerInputDate, k as DatePickerLocaleConfig, h as DatePickerModelValue, l as DatePickerProps, g as DatePickerRangeModelValue, j as DatePickerRangeValue, m as DatePickerShortcut, f as DatePickerSingleModelValue, i as DatePickerSingleValue } from './datepicker-DXzS_8l8.cjs';
|
|
9
|
+
import { T as TableColumn, a as TableSize, C as ColumnAlign, S as SortDirection, F as FilterOption, b as TableProps, P as PaginationConfig, c as FilterRule, d as ColumnFilter, e as SortState } from './table-export-Cy9DgTiO.cjs';
|
|
10
|
+
export { E as ExpandableConfig, h as FilterType, R as RowSelectionConfig, g as downloadCsv, f as exportTableToCsv, t as tableExportButtonClasses } from './table-export-Cy9DgTiO.cjs';
|
|
11
|
+
import { Middleware, MiddlewareData } from '@floating-ui/dom';
|
|
12
|
+
import { T as ThemePreset, C as ColorScheme } from './tailwind-entry-CUaMC8Ma.cjs';
|
|
13
|
+
export { a as ThemeColorScale, h as ThemeConfig, g as ThemeMotion, i as ThemePresetName, d as ThemeRadius, b as ThemeSemanticColors, e as ThemeShadows, f as ThemeSpacing, c as ThemeTypography, l as TigercatPluginOptions, m as createTigercatPlugin, j as tigercatDarkTheme, k as tigercatPlugin, t as tigercatTheme } from './tailwind-entry-CUaMC8Ma.cjs';
|
|
14
|
+
import './types-CJYAW1ql.d-DDBFn6KB.cjs';
|
|
15
|
+
import './resolve-config-QUZ9b-Gn.mjs';
|
|
3
16
|
|
|
4
17
|
/**
|
|
5
18
|
* Type for class name values that can be conditionally applied
|
|
@@ -37,6 +50,42 @@ declare function classNames(...classes: ClassValue[]): string;
|
|
|
37
50
|
|
|
38
51
|
declare function coerceClassValue(input: unknown): ClassValue;
|
|
39
52
|
|
|
53
|
+
/**
|
|
54
|
+
* composeComponentClasses
|
|
55
|
+
*
|
|
56
|
+
* Framework-agnostic class composer that combines:
|
|
57
|
+
* - any number of internal class fragments (string / number / falsy / Vue-style array/object)
|
|
58
|
+
* - the consumer-facing `className` prop
|
|
59
|
+
* - the framework-passed `class` attribute (Vue `attrs.class`)
|
|
60
|
+
*
|
|
61
|
+
* It accepts the same shapes as `classNames()` plus Vue's class object/array shapes
|
|
62
|
+
* (which it normalizes via `coerceClassValue`). Falsy and zero values are filtered out.
|
|
63
|
+
*
|
|
64
|
+
* Designed to remove the repeated `classNames(..., props.className, coerceClassValue(attrs.class))`
|
|
65
|
+
* boilerplate present in every Vue/React component.
|
|
66
|
+
*
|
|
67
|
+
* @example
|
|
68
|
+
* // Vue
|
|
69
|
+
* const classes = composeComponentClasses(
|
|
70
|
+
* buttonBaseClasses,
|
|
71
|
+
* variantClasses,
|
|
72
|
+
* props.disabled && buttonDisabledClasses,
|
|
73
|
+
* props.className,
|
|
74
|
+
* attrs.class
|
|
75
|
+
* )
|
|
76
|
+
*
|
|
77
|
+
* @example
|
|
78
|
+
* // React
|
|
79
|
+
* const classes = composeComponentClasses(
|
|
80
|
+
* inputBaseClasses,
|
|
81
|
+
* sizeClasses[size],
|
|
82
|
+
* className
|
|
83
|
+
* )
|
|
84
|
+
*/
|
|
85
|
+
|
|
86
|
+
type ComposableClassInput = ClassValue | unknown[] | Record<string, unknown> | unknown;
|
|
87
|
+
declare function composeComponentClasses(...inputs: ComposableClassInput[]): string;
|
|
88
|
+
|
|
40
89
|
declare function isBrowser(): boolean;
|
|
41
90
|
|
|
42
91
|
/**
|
|
@@ -258,15 +307,31 @@ declare function sliderGetKeyboardValue(key: string, currentValue: number, min:
|
|
|
258
307
|
/**
|
|
259
308
|
* BackTop component utilities
|
|
260
309
|
*/
|
|
310
|
+
type BackTopFrameCallback = (timestamp: number) => void;
|
|
311
|
+
type BackTopFrameRequest = (callback: BackTopFrameCallback) => number;
|
|
312
|
+
type BackTopFrameCancel = (handle: number) => void;
|
|
313
|
+
interface BackTopVisibilityControllerOptions {
|
|
314
|
+
target: HTMLElement | Window;
|
|
315
|
+
getVisibilityHeight: () => number;
|
|
316
|
+
onChange: (visible: boolean) => void;
|
|
317
|
+
requestFrame?: BackTopFrameRequest;
|
|
318
|
+
cancelFrame?: BackTopFrameCancel;
|
|
319
|
+
}
|
|
320
|
+
interface BackTopVisibilityController {
|
|
321
|
+
schedule: () => void;
|
|
322
|
+
update: () => void;
|
|
323
|
+
cancel: () => void;
|
|
324
|
+
}
|
|
261
325
|
/**
|
|
262
326
|
* Get the current scroll position of an element or window
|
|
263
327
|
*/
|
|
264
328
|
declare function getScrollTop(target: HTMLElement | Window): number;
|
|
329
|
+
declare function shouldShowBackTop(target: HTMLElement | Window, visibilityHeight: number): boolean;
|
|
265
330
|
/**
|
|
266
|
-
*
|
|
267
|
-
* Uses easeInOutCubic easing function for natural feel
|
|
331
|
+
* Scroll to top using native browser smooth scrolling when enabled.
|
|
268
332
|
*/
|
|
269
333
|
declare function scrollToTop(target: HTMLElement | Window, duration: number, callback?: () => void): void;
|
|
334
|
+
declare function createBackTopVisibilityController(options: BackTopVisibilityControllerOptions): BackTopVisibilityController;
|
|
270
335
|
/**
|
|
271
336
|
* Default CSS classes for the BackTop button (fixed positioning for window target)
|
|
272
337
|
*/
|
|
@@ -300,97 +365,6 @@ declare const backTopIconPath = "M12 19V5M12 5l-7 7M12 5l7 7";
|
|
|
300
365
|
*/
|
|
301
366
|
declare function normalizeStringOption<T extends object>(options: string | T, key: string): T;
|
|
302
367
|
|
|
303
|
-
/**
|
|
304
|
-
* Common inline SVG icon constants
|
|
305
|
-
*
|
|
306
|
-
* Purpose: share non-framework-specific icon geometry/attrs (e.g. path d, viewBox)
|
|
307
|
-
* between React/Vue components to keep visuals consistent.
|
|
308
|
-
*/
|
|
309
|
-
declare const closeIconViewBox = "0 0 24 24";
|
|
310
|
-
declare const closeIconPathD = "M6 18L18 6M6 6l12 12";
|
|
311
|
-
declare const closeIconPathStrokeLinecap = "round";
|
|
312
|
-
declare const closeIconPathStrokeLinejoin = "round";
|
|
313
|
-
declare const closeIconPathStrokeWidth = 2;
|
|
314
|
-
/**
|
|
315
|
-
* Common outline icon defaults (24x24)
|
|
316
|
-
*/
|
|
317
|
-
declare const icon24ViewBox = "0 0 24 24";
|
|
318
|
-
declare const icon24PathStrokeLinecap = "round";
|
|
319
|
-
declare const icon24PathStrokeLinejoin = "round";
|
|
320
|
-
declare const icon24StrokeWidth = 2;
|
|
321
|
-
/**
|
|
322
|
-
* Common solid icon defaults (20x20)
|
|
323
|
-
*/
|
|
324
|
-
declare const icon20ViewBox = "0 0 20 20";
|
|
325
|
-
/**
|
|
326
|
-
* Common solid close(X) icon path (20x20)
|
|
327
|
-
* Used by DatePicker/TimePicker clear button.
|
|
328
|
-
*/
|
|
329
|
-
declare const closeSolidIcon20PathD = "M4.293 4.293a1 1 0 011.414 0L10 8.586l4.293-4.293a1 1 0 111.414 1.414L11.414 10l4.293 4.293a1 1 0 01-1.414 1.414L10 11.414l-4.293 4.293a1 1 0 01-1.414-1.414L8.586 10 4.293 5.707a1 1 0 010-1.414z";
|
|
330
|
-
/**
|
|
331
|
-
* Common Date/Time solid icon paths (20x20)
|
|
332
|
-
* Used by DatePicker/TimePicker.
|
|
333
|
-
*/
|
|
334
|
-
declare const calendarSolidIcon20PathD = "M6 2a1 1 0 00-1 1v1H4a2 2 0 00-2 2v10a2 2 0 002 2h12a2 2 0 002-2V6a2 2 0 00-2-2h-1V3a1 1 0 10-2 0v1H7V3a1 1 0 00-1-1zm0 5a1 1 0 000 2h8a1 1 0 100-2H6z";
|
|
335
|
-
declare const clockSolidIcon20PathD = "M10 18a8 8 0 100-16 8 8 0 000 16zm1-12a1 1 0 10-2 0v4a1 1 0 00.293.707l2.828 2.829a1 1 0 101.415-1.415L11 9.586V6z";
|
|
336
|
-
declare const chevronLeftSolidIcon20PathD = "M12.707 5.293a1 1 0 010 1.414L9.414 10l3.293 3.293a1 1 0 01-1.414 1.414l-4-4a1 1 0 010-1.414l4-4a1 1 0 011.414 0z";
|
|
337
|
-
declare const chevronRightSolidIcon20PathD = "M7.293 14.707a1 1 0 010-1.414L10.586 10 7.293 6.707a1 1 0 011.414-1.414l4 4a1 1 0 010 1.414l-4 4a1 1 0 01-1.414 0z";
|
|
338
|
-
/**
|
|
339
|
-
* Chevron down icon path (20x20 solid)
|
|
340
|
-
* Used by Select, Dropdown, etc.
|
|
341
|
-
*/
|
|
342
|
-
declare const chevronDownSolidIcon20PathD = "M5.293 7.293a1 1 0 011.414 0L10 10.586l3.293-3.293a1 1 0 111.414 1.414l-4 4a1 1 0 01-1.414 0l-4-4a1 1 0 010-1.414z";
|
|
343
|
-
/**
|
|
344
|
-
* Check icon path (20x20 solid)
|
|
345
|
-
* Used by Select selected option, Checkbox, etc.
|
|
346
|
-
*/
|
|
347
|
-
declare const checkSolidIcon20PathD = "M16.707 5.293a1 1 0 010 1.414l-8 8a1 1 0 01-1.414 0l-4-4a1 1 0 011.414-1.414L8 12.586l7.293-7.293a1 1 0 011.414 0z";
|
|
348
|
-
/**
|
|
349
|
-
* Common 20x20 solid status icon paths
|
|
350
|
-
* Used by Upload.
|
|
351
|
-
*/
|
|
352
|
-
declare const successCircleSolidIcon20PathD = "M10 18a8 8 0 100-16 8 8 0 000 16zm3.707-9.293a1 1 0 00-1.414-1.414L9 10.586 7.707 9.293a1 1 0 00-1.414 1.414l2 2a1 1 0 001.414 0l4-4z";
|
|
353
|
-
declare const errorCircleSolidIcon20PathD = "M10 18a8 8 0 100-16 8 8 0 000 16zM8.707 7.293a1 1 0 00-1.414 1.414L8.586 10l-1.293 1.293a1 1 0 101.414 1.414L10 11.414l1.293 1.293a1 1 0 001.414-1.414L11.414 10l1.293-1.293a1 1 0 00-1.414-1.414L10 8.586 8.707 7.293z";
|
|
354
|
-
/**
|
|
355
|
-
* Common status icon paths (shared by Alert/Message/Notification)
|
|
356
|
-
*/
|
|
357
|
-
type StatusIconType = 'success' | 'warning' | 'error' | 'info';
|
|
358
|
-
declare const statusSuccessIconPath = "M9 12l2 2 4-4m6 2a9 9 0 11-18 0 9 9 0 0118 0z";
|
|
359
|
-
declare const statusWarningIconPath = "M12 9v2m0 4h.01m-6.938 4h13.856c1.54 0 2.502-1.667 1.732-3L13.732 4c-.77-1.333-2.694-1.333-3.464 0L3.34 16c-.77 1.333.192 3 1.732 3z";
|
|
360
|
-
declare const statusErrorIconPath = "M10 14l2-2m0 0l2-2m-2 2l-2-2m2 2l2 2m7-2a9 9 0 11-18 0 9 9 0 0118 0z";
|
|
361
|
-
declare const statusInfoIconPath = "M13 16h-1v-4h-1m1-4h.01M21 12a9 9 0 11-18 0 9 9 0 0118 0z";
|
|
362
|
-
declare const statusIconPaths: Record<StatusIconType, string>;
|
|
363
|
-
/**
|
|
364
|
-
* Table sort icon paths (16x16)
|
|
365
|
-
*/
|
|
366
|
-
declare const icon16ViewBox = "0 0 16 16";
|
|
367
|
-
declare const sortAscIcon16PathD = "M8 3l4 4H4l4-4z";
|
|
368
|
-
declare const sortDescIcon16PathD = "M8 13l-4-4h8l-4 4z";
|
|
369
|
-
declare const sortBothIcon16PathD = "M8 3l4 4H4l4-4zM8 13l-4-4h8l-4 4z";
|
|
370
|
-
/**
|
|
371
|
-
* Expand/collapse chevron icon path (16x16)
|
|
372
|
-
* Points right when collapsed, rotates 90° when expanded.
|
|
373
|
-
*/
|
|
374
|
-
declare const expandChevronIcon16PathD = "M6 3l5 5-5 5V3z";
|
|
375
|
-
/**
|
|
376
|
-
* Lock icon paths (24x24)
|
|
377
|
-
* Used by Table fixed column indicator.
|
|
378
|
-
*/
|
|
379
|
-
declare const lockClosedIcon24PathD = "M17 8h-1V6a4 4 0 10-8 0v2H7a2 2 0 00-2 2v10a2 2 0 002 2h10a2 2 0 002-2V10a2 2 0 00-2-2zm-7-2a2 2 0 114 0v2h-4V6z";
|
|
380
|
-
declare const lockOpenIcon24PathD = "M17 8h-1V6a4 4 0 00-7.75-1.41 1 1 0 101.9.62A2 2 0 0114 6v2H7a2 2 0 00-2 2v10a2 2 0 002 2h10a2 2 0 002-2V10a2 2 0 00-2-2zm0 12H7V10h10v10z";
|
|
381
|
-
/**
|
|
382
|
-
* DatePicker icon aliases (re-exports for backward compatibility)
|
|
383
|
-
*/
|
|
384
|
-
declare const CalendarIconPath = "M6 2a1 1 0 00-1 1v1H4a2 2 0 00-2 2v10a2 2 0 002 2h12a2 2 0 002-2V6a2 2 0 00-2-2h-1V3a1 1 0 10-2 0v1H7V3a1 1 0 00-1-1zm0 5a1 1 0 000 2h8a1 1 0 100-2H6z";
|
|
385
|
-
declare const CloseIconPath = "M4.293 4.293a1 1 0 011.414 0L10 8.586l4.293-4.293a1 1 0 111.414 1.414L11.414 10l4.293 4.293a1 1 0 01-1.414 1.414L10 11.414l-4.293 4.293a1 1 0 01-1.414-1.414L8.586 10 4.293 5.707a1 1 0 010-1.414z";
|
|
386
|
-
declare const ChevronLeftIconPath = "M12.707 5.293a1 1 0 010 1.414L9.414 10l3.293 3.293a1 1 0 01-1.414 1.414l-4-4a1 1 0 010-1.414l4-4a1 1 0 011.414 0z";
|
|
387
|
-
declare const ChevronRightIconPath = "M7.293 14.707a1 1 0 010-1.414L10.586 10 7.293 6.707a1 1 0 011.414-1.414l4 4a1 1 0 010 1.414l-4 4a1 1 0 01-1.414 0z";
|
|
388
|
-
/**
|
|
389
|
-
* TimePicker icon aliases (re-exports for backward compatibility)
|
|
390
|
-
*/
|
|
391
|
-
declare const ClockIconPath = "M10 18a8 8 0 100-16 8 8 0 000 16zm1-12a1 1 0 10-2 0v4a1 1 0 00.293.707l2.828 2.829a1 1 0 101.415-1.415L11 9.586V6z";
|
|
392
|
-
declare const TimePickerCloseIconPath = "M4.293 4.293a1 1 0 011.414 0L10 8.586l4.293-4.293a1 1 0 111.414 1.414L11.414 10l4.293 4.293a1 1 0 01-1.414 1.414L10 11.414l-4.293 4.293a1 1 0 01-1.414-1.414L8.586 10 4.293 5.707a1 1 0 010-1.414z";
|
|
393
|
-
|
|
394
368
|
/**
|
|
395
369
|
* SVG attribute helpers.
|
|
396
370
|
*
|
|
@@ -492,6 +466,11 @@ type ElementLike = {
|
|
|
492
466
|
interface IsEventOutsideOptions {
|
|
493
467
|
ignore?: Array<ElementLike | null | undefined>;
|
|
494
468
|
}
|
|
469
|
+
type MaskClickLikeEvent = {
|
|
470
|
+
target: EventTarget | null;
|
|
471
|
+
currentTarget: EventTarget | null;
|
|
472
|
+
};
|
|
473
|
+
declare function shouldCloseOnMaskClick(event: MaskClickLikeEvent, maskClosable: boolean): boolean;
|
|
495
474
|
declare function isEventOutside(event: Event, containers: Array<ElementLike | null | undefined>, options?: IsEventOutsideOptions): boolean;
|
|
496
475
|
declare function getFocusableElements(root: ParentNode): HTMLElement[];
|
|
497
476
|
interface FocusTrapNavigation {
|
|
@@ -501,92 +480,14 @@ interface FocusTrapNavigation {
|
|
|
501
480
|
declare function getFocusTrapNavigation(event: KeyLikeEvent & {
|
|
502
481
|
shiftKey?: boolean;
|
|
503
482
|
}, focusables: HTMLElement[], activeElement: Element | null): FocusTrapNavigation;
|
|
504
|
-
|
|
505
|
-
|
|
506
|
-
okText?: string;
|
|
507
|
-
cancelText?: string;
|
|
508
|
-
closeText?: string;
|
|
509
|
-
loadingText?: string;
|
|
510
|
-
emptyText?: string;
|
|
511
|
-
}
|
|
512
|
-
interface TigerLocaleModal {
|
|
513
|
-
closeAriaLabel?: string;
|
|
514
|
-
okText?: string;
|
|
515
|
-
cancelText?: string;
|
|
516
|
-
}
|
|
517
|
-
interface TigerLocaleDrawer {
|
|
518
|
-
closeAriaLabel?: string;
|
|
519
|
-
}
|
|
520
|
-
interface TigerLocaleUpload {
|
|
521
|
-
/** Drag area aria-label */
|
|
522
|
-
dragAreaAriaLabel?: string;
|
|
523
|
-
/** Upload button aria-label (non-drag mode) */
|
|
524
|
-
buttonAriaLabel?: string;
|
|
525
|
-
/** Main drag-area instruction (emphasized part) */
|
|
526
|
-
clickToUploadText?: string;
|
|
527
|
-
/** Secondary drag-area instruction */
|
|
528
|
-
dragAndDropText?: string;
|
|
529
|
-
/** Template: supports {accept} */
|
|
530
|
-
acceptInfoText?: string;
|
|
531
|
-
/** Template: supports {maxSize} */
|
|
532
|
-
maxSizeInfoText?: string;
|
|
533
|
-
/** Default non-drag button text */
|
|
534
|
-
selectFileText?: string;
|
|
535
|
-
/** File list aria-label */
|
|
536
|
-
uploadedFilesAriaLabel?: string;
|
|
537
|
-
/** Status aria-labels */
|
|
538
|
-
successAriaLabel?: string;
|
|
539
|
-
errorAriaLabel?: string;
|
|
540
|
-
uploadingAriaLabel?: string;
|
|
541
|
-
/** Templates: support {fileName} */
|
|
542
|
-
removeFileAriaLabel?: string;
|
|
543
|
-
previewFileAriaLabel?: string;
|
|
544
|
-
}
|
|
545
|
-
interface TigerLocalePagination {
|
|
546
|
-
/** Total text template: supports {total}, {start}, {end} */
|
|
547
|
-
totalText?: string;
|
|
548
|
-
/** Items per page text */
|
|
549
|
-
itemsPerPageText?: string;
|
|
550
|
-
/** Quick jumper label */
|
|
551
|
-
jumpToText?: string;
|
|
552
|
-
/** Page text (after number) */
|
|
553
|
-
pageText?: string;
|
|
554
|
-
/** Previous page button aria-label */
|
|
555
|
-
prevPageAriaLabel?: string;
|
|
556
|
-
/** Next page button aria-label */
|
|
557
|
-
nextPageAriaLabel?: string;
|
|
558
|
-
/** Page button aria-label template: supports {page} */
|
|
559
|
-
pageAriaLabel?: string;
|
|
560
|
-
}
|
|
561
|
-
interface TigerLocaleFormWizard {
|
|
562
|
-
prevText?: string;
|
|
563
|
-
nextText?: string;
|
|
564
|
-
finishText?: string;
|
|
565
|
-
}
|
|
566
|
-
interface TigerLocaleTaskBoard {
|
|
567
|
-
/** Placeholder shown inside an empty column */
|
|
568
|
-
emptyColumnText?: string;
|
|
569
|
-
/** Label for the add-card button */
|
|
570
|
-
addCardText?: string;
|
|
571
|
-
/** Template: supports {limit} */
|
|
572
|
-
wipLimitText?: string;
|
|
573
|
-
/** Aria hint for draggable items */
|
|
574
|
-
dragHintText?: string;
|
|
575
|
-
/** Aria label for the board root region */
|
|
576
|
-
boardAriaLabel?: string;
|
|
577
|
-
}
|
|
578
|
-
interface TigerLocale {
|
|
579
|
-
common?: TigerLocaleCommon;
|
|
580
|
-
modal?: TigerLocaleModal;
|
|
581
|
-
drawer?: TigerLocaleDrawer;
|
|
582
|
-
upload?: TigerLocaleUpload;
|
|
583
|
-
pagination?: TigerLocalePagination;
|
|
584
|
-
formWizard?: TigerLocaleFormWizard;
|
|
585
|
-
taskBoard?: TigerLocaleTaskBoard;
|
|
586
|
-
}
|
|
483
|
+
declare function lockBodyScroll(targetDocument?: Document): () => void;
|
|
484
|
+
declare function getBodyScrollLockCount(): number;
|
|
587
485
|
|
|
588
486
|
declare function resolveLocaleText(fallback: string, ...candidates: Array<string | null | undefined>): string;
|
|
589
487
|
|
|
488
|
+
declare function isLazyTigerLocale(locale?: TigerLocaleInput): locale is PromiseLike<TigerLocaleLazyModule> | TigerLocaleLoader;
|
|
489
|
+
declare function getImmediateTigerLocale(locale?: TigerLocaleInput): Partial<TigerLocale> | undefined;
|
|
490
|
+
declare function resolveTigerLocale(locale?: TigerLocaleInput): Promise<Partial<TigerLocale> | undefined>;
|
|
590
491
|
declare function mergeTigerLocale(base?: Partial<TigerLocale>, override?: Partial<TigerLocale>): Partial<TigerLocale> | undefined;
|
|
591
492
|
/**
|
|
592
493
|
* Default English pagination labels
|
|
@@ -627,128 +528,10 @@ declare const DEFAULT_TASK_BOARD_LABELS: Required<TigerLocaleTaskBoard>;
|
|
|
627
528
|
declare const ZH_CN_TASK_BOARD_LABELS: Required<TigerLocaleTaskBoard>;
|
|
628
529
|
declare function getTaskBoardLabels(locale?: Partial<TigerLocale>): Required<TigerLocaleTaskBoard>;
|
|
629
530
|
|
|
630
|
-
|
|
631
|
-
|
|
632
|
-
|
|
633
|
-
|
|
634
|
-
type DatePickerSingleModelValue = DatePickerInputDate | null;
|
|
635
|
-
type DatePickerRangeModelValue = [DatePickerInputDate | null, DatePickerInputDate | null];
|
|
636
|
-
type DatePickerModelValue = DatePickerSingleModelValue | DatePickerRangeModelValue;
|
|
637
|
-
type DatePickerSingleValue = Date | null;
|
|
638
|
-
type DatePickerRangeValue = [Date | null, Date | null];
|
|
639
|
-
interface DatePickerLabels {
|
|
640
|
-
today: string;
|
|
641
|
-
ok: string;
|
|
642
|
-
calendar: string;
|
|
643
|
-
toggleCalendar: string;
|
|
644
|
-
clearDate: string;
|
|
645
|
-
previousMonth: string;
|
|
646
|
-
nextMonth: string;
|
|
647
|
-
}
|
|
648
|
-
/**
|
|
649
|
-
* DatePicker size types
|
|
650
|
-
*/
|
|
651
|
-
type DatePickerSize = 'sm' | 'md' | 'lg';
|
|
652
|
-
/**
|
|
653
|
-
* Date format types
|
|
654
|
-
*/
|
|
655
|
-
type DateFormat = 'yyyy-MM-dd' | 'MM/dd/yyyy' | 'dd/MM/yyyy' | 'yyyy/MM/dd';
|
|
656
|
-
/**
|
|
657
|
-
* Base DatePicker props interface
|
|
658
|
-
*/
|
|
659
|
-
interface DatePickerProps {
|
|
660
|
-
/**
|
|
661
|
-
* Locale used for month/day names in the calendar UI.
|
|
662
|
-
* Example: 'zh-CN', 'en-US'
|
|
663
|
-
*/
|
|
664
|
-
locale?: string;
|
|
665
|
-
/**
|
|
666
|
-
* UI labels for i18n.
|
|
667
|
-
* When provided, merges with locale-based defaults.
|
|
668
|
-
*/
|
|
669
|
-
labels?: Partial<DatePickerLabels>;
|
|
670
|
-
/**
|
|
671
|
-
* DatePicker size
|
|
672
|
-
* @default 'md'
|
|
673
|
-
*/
|
|
674
|
-
size?: DatePickerSize;
|
|
675
|
-
/**
|
|
676
|
-
* Selected date value (for controlled mode)
|
|
677
|
-
*/
|
|
678
|
-
value?: DatePickerModelValue | null;
|
|
679
|
-
/**
|
|
680
|
-
* Default date value (for uncontrolled mode)
|
|
681
|
-
*/
|
|
682
|
-
defaultValue?: DatePickerModelValue | null;
|
|
683
|
-
/**
|
|
684
|
-
* Enable range selection (start/end).
|
|
685
|
-
* When true, value/defaultValue use a tuple: [start, end].
|
|
686
|
-
* @default false
|
|
687
|
-
*/
|
|
688
|
-
range?: boolean;
|
|
689
|
-
/**
|
|
690
|
-
* Date format string
|
|
691
|
-
* @default 'yyyy-MM-dd'
|
|
692
|
-
*/
|
|
693
|
-
format?: DateFormat;
|
|
694
|
-
/**
|
|
695
|
-
* Placeholder text
|
|
696
|
-
* @default 'Select date'
|
|
697
|
-
*/
|
|
698
|
-
placeholder?: string;
|
|
699
|
-
/**
|
|
700
|
-
* Whether the datepicker is disabled
|
|
701
|
-
* @default false
|
|
702
|
-
*/
|
|
703
|
-
disabled?: boolean;
|
|
704
|
-
/**
|
|
705
|
-
* Whether the datepicker is readonly
|
|
706
|
-
* @default false
|
|
707
|
-
*/
|
|
708
|
-
readonly?: boolean;
|
|
709
|
-
/**
|
|
710
|
-
* Whether the datepicker is required
|
|
711
|
-
* @default false
|
|
712
|
-
*/
|
|
713
|
-
required?: boolean;
|
|
714
|
-
/**
|
|
715
|
-
* Minimum selectable date
|
|
716
|
-
*/
|
|
717
|
-
minDate?: DatePickerInputDate | null;
|
|
718
|
-
/**
|
|
719
|
-
* Maximum selectable date
|
|
720
|
-
*/
|
|
721
|
-
maxDate?: DatePickerInputDate | null;
|
|
722
|
-
/**
|
|
723
|
-
* Whether to show the clear button
|
|
724
|
-
* @default true
|
|
725
|
-
*/
|
|
726
|
-
clearable?: boolean;
|
|
727
|
-
/**
|
|
728
|
-
* Input name attribute
|
|
729
|
-
*/
|
|
730
|
-
name?: string;
|
|
731
|
-
/**
|
|
732
|
-
* Input id attribute
|
|
733
|
-
*/
|
|
734
|
-
id?: string;
|
|
735
|
-
/**
|
|
736
|
-
* Shortcut presets for quick date selection.
|
|
737
|
-
* Each shortcut has a label and a value (or getter function).
|
|
738
|
-
*/
|
|
739
|
-
shortcuts?: DatePickerShortcut[];
|
|
740
|
-
}
|
|
741
|
-
/**
|
|
742
|
-
* DatePicker shortcut preset
|
|
743
|
-
*/
|
|
744
|
-
interface DatePickerShortcut {
|
|
745
|
-
/** Display label */
|
|
746
|
-
label: string;
|
|
747
|
-
/** Date value or getter function returning a date value */
|
|
748
|
-
value: DatePickerModelValue | (() => DatePickerModelValue);
|
|
749
|
-
}
|
|
750
|
-
|
|
751
|
-
declare function getDatePickerLabels(locale?: string, overrides?: Partial<DatePickerLabels>): DatePickerLabels;
|
|
531
|
+
declare const EN_US_DATEPICKER_LOCALE: DatePickerLocalePreset;
|
|
532
|
+
declare const ZH_CN_DATEPICKER_LOCALE: DatePickerLocalePreset;
|
|
533
|
+
declare function getDatePickerLocaleCode(locale?: DatePickerLocaleInput): string | undefined;
|
|
534
|
+
declare function getDatePickerLabels(locale?: DatePickerLocaleInput, overrides?: Partial<DatePickerLabels>): DatePickerLabels;
|
|
752
535
|
|
|
753
536
|
/** TimePicker shared types */
|
|
754
537
|
type TimePickerSize = 'sm' | 'md' | 'lg';
|
|
@@ -1133,43 +916,34 @@ declare function interpolateUploadLabel(template: string, params: Record<string,
|
|
|
1133
916
|
declare function getUploadLabels(locale?: Partial<TigerLocale>, overrides?: UploadLabelOverrides): UploadLabels;
|
|
1134
917
|
|
|
1135
918
|
/**
|
|
1136
|
-
*
|
|
919
|
+
* `defineLocale` — type-safe helper for authoring a custom Tigercat locale.
|
|
920
|
+
*
|
|
921
|
+
* Deep-merges a partial overlay onto the built-in `enUS` baseline so every
|
|
922
|
+
* field that ships with Tigercat resolves to a string, while consumers only
|
|
923
|
+
* need to provide the keys they actually want to translate / override.
|
|
924
|
+
*
|
|
925
|
+
* @example
|
|
926
|
+
* ```ts
|
|
927
|
+
* import { defineLocale } from '@expcat/tigercat-core'
|
|
928
|
+
*
|
|
929
|
+
* export const myLocale = defineLocale({
|
|
930
|
+
* common: { okText: 'はい' },
|
|
931
|
+
* pagination: { totalText: '{total} 件' }
|
|
932
|
+
* })
|
|
933
|
+
* ```
|
|
1137
934
|
*
|
|
1138
|
-
*
|
|
935
|
+
* The result is a fully-populated `TigerLocale` (no optional fields left
|
|
936
|
+
* `undefined`) ready to pass to `<ConfigProvider locale={myLocale} />`.
|
|
1139
937
|
*/
|
|
1140
938
|
|
|
1141
939
|
/**
|
|
1142
|
-
*
|
|
1143
|
-
|
|
1144
|
-
|
|
1145
|
-
|
|
1146
|
-
*
|
|
1147
|
-
*/
|
|
1148
|
-
declare const zhCN: TigerLocale;
|
|
1149
|
-
/**
|
|
1150
|
-
* Traditional Chinese (zh-TW)
|
|
1151
|
-
*/
|
|
1152
|
-
declare const zhTW: TigerLocale;
|
|
1153
|
-
/**
|
|
1154
|
-
* Japanese (ja)
|
|
1155
|
-
*/
|
|
1156
|
-
declare const jaJP: TigerLocale;
|
|
1157
|
-
/**
|
|
1158
|
-
* Korean (ko)
|
|
1159
|
-
*/
|
|
1160
|
-
declare const koKR: TigerLocale;
|
|
1161
|
-
/**
|
|
1162
|
-
* Thai (th)
|
|
1163
|
-
*/
|
|
1164
|
-
declare const thTH: TigerLocale;
|
|
1165
|
-
/**
|
|
1166
|
-
* Vietnamese (vi)
|
|
1167
|
-
*/
|
|
1168
|
-
declare const viVN: TigerLocale;
|
|
1169
|
-
/**
|
|
1170
|
-
* Indonesian (id)
|
|
940
|
+
* Build a complete `TigerLocale` from a partial overlay on the default
|
|
941
|
+
* (`enUS`) baseline.
|
|
942
|
+
*
|
|
943
|
+
* @param overrides Partial locale; nested objects are deep-merged.
|
|
944
|
+
* @returns A fully populated `TigerLocale`.
|
|
1171
945
|
*/
|
|
1172
|
-
declare
|
|
946
|
+
declare function defineLocale(overrides?: Partial<TigerLocale>): TigerLocale;
|
|
1173
947
|
|
|
1174
948
|
/**
|
|
1175
949
|
* Unified interaction style utilities
|
|
@@ -1309,9 +1083,13 @@ interface ButtonGroupProps {
|
|
|
1309
1083
|
* Button base classes with improved interaction feedback
|
|
1310
1084
|
* - Uses focus-visible for keyboard navigation only (no distracting rings on click)
|
|
1311
1085
|
* - Adds active:scale for natural press feedback
|
|
1086
|
+
* - Radius and transition are token-driven (PR-19a) so the modern theme can
|
|
1087
|
+
* override `--tiger-radius-md` / `--tiger-transition-base` / spring easing
|
|
1088
|
+
* without recompiling the component. Fallbacks match the previous
|
|
1089
|
+
* `rounded-lg` + `transition-all duration-200 ease-out` exactly.
|
|
1312
1090
|
* @since 0.2.0 - Improved interaction effects
|
|
1313
1091
|
*/
|
|
1314
|
-
declare const buttonBaseClasses = "inline-flex items-center justify-center font-medium rounded-
|
|
1092
|
+
declare const buttonBaseClasses = "inline-flex items-center justify-center font-medium rounded-[var(--tiger-radius-md,0.5rem)] [transition:var(--tiger-transition-base,all_200ms_cubic-bezier(0.4,0,0.2,1))] focus:outline-none focus-visible:ring-2 focus-visible:ring-offset-2 focus-visible:ring-[var(--tiger-focus-ring,var(--tiger-primary,#2563eb))]/40 active:scale-[0.98]";
|
|
1315
1093
|
declare const buttonSizeClasses: Record<ButtonSize, string>;
|
|
1316
1094
|
declare const buttonDisabledClasses = "cursor-not-allowed opacity-60";
|
|
1317
1095
|
/**
|
|
@@ -1768,6 +1546,61 @@ interface FormItemProps {
|
|
|
1768
1546
|
*/
|
|
1769
1547
|
errorDisplayMode?: FormErrorDisplayMode;
|
|
1770
1548
|
}
|
|
1549
|
+
/**
|
|
1550
|
+
* Options for creating a form controller.
|
|
1551
|
+
*/
|
|
1552
|
+
interface FormControllerOptions {
|
|
1553
|
+
/** Initial form values */
|
|
1554
|
+
initialValues?: FormValues;
|
|
1555
|
+
/** Validation rules */
|
|
1556
|
+
rules?: FormRules;
|
|
1557
|
+
/** Field dependency map for cross-field validation */
|
|
1558
|
+
fieldDependencies?: Map<string, string[]>;
|
|
1559
|
+
/** Enable undo/redo history */
|
|
1560
|
+
undoable?: boolean;
|
|
1561
|
+
/** Maximum undo history size @default 50 */
|
|
1562
|
+
maxHistorySize?: number;
|
|
1563
|
+
}
|
|
1564
|
+
/**
|
|
1565
|
+
* Headless form controller returned by `useFormController`.
|
|
1566
|
+
*
|
|
1567
|
+
* Can be used standalone or passed to `<Form controller={ctrl}>` to bind
|
|
1568
|
+
* the controller to a rendered form.
|
|
1569
|
+
*/
|
|
1570
|
+
interface FormController {
|
|
1571
|
+
/** Current form values (reactive in Vue, state snapshot in React) */
|
|
1572
|
+
readonly values: FormValues;
|
|
1573
|
+
/** Current validation errors */
|
|
1574
|
+
readonly errors: FormError[];
|
|
1575
|
+
/** Error lookup by field name */
|
|
1576
|
+
readonly errorsByField: Record<string, string | undefined>;
|
|
1577
|
+
/** Whether the form has any errors */
|
|
1578
|
+
readonly hasErrors: boolean;
|
|
1579
|
+
/** Set a single field value */
|
|
1580
|
+
setFieldValue: (fieldName: string, value: unknown) => void;
|
|
1581
|
+
/** Set multiple field values at once */
|
|
1582
|
+
setValues: (values: Partial<FormValues>) => void;
|
|
1583
|
+
/** Get a single field value (supports dotted path) */
|
|
1584
|
+
getFieldValue: (fieldName: string) => unknown;
|
|
1585
|
+
/** Validate the entire form */
|
|
1586
|
+
validate: () => Promise<boolean>;
|
|
1587
|
+
/** Validate specific fields */
|
|
1588
|
+
validateFields: (fieldNames: string[]) => Promise<boolean>;
|
|
1589
|
+
/** Validate a single field */
|
|
1590
|
+
validateField: (fieldName: string) => Promise<string | null>;
|
|
1591
|
+
/** Clear validation errors */
|
|
1592
|
+
clearValidate: (fieldNames?: string | string[]) => void;
|
|
1593
|
+
/** Reset all values to initial and clear errors */
|
|
1594
|
+
reset: () => void;
|
|
1595
|
+
/** Undo last change (if undoable) */
|
|
1596
|
+
undo: () => void;
|
|
1597
|
+
/** Redo last undone change (if undoable) */
|
|
1598
|
+
redo: () => void;
|
|
1599
|
+
/** Whether undo is available */
|
|
1600
|
+
readonly canUndo: boolean;
|
|
1601
|
+
/** Whether redo is available */
|
|
1602
|
+
readonly canRedo: boolean;
|
|
1603
|
+
}
|
|
1771
1604
|
|
|
1772
1605
|
interface FormItemClassOptions {
|
|
1773
1606
|
size?: FormSize;
|
|
@@ -1905,7 +1738,7 @@ declare const selectBaseClasses = "relative inline-block w-full";
|
|
|
1905
1738
|
/**
|
|
1906
1739
|
* Select dropdown base classes
|
|
1907
1740
|
*/
|
|
1908
|
-
declare const selectDropdownBaseClasses = "absolute z-50 w-full mt-1 bg-[var(--tiger-select-dropdown-bg,var(--tiger-surface,#ffffff))] border border-[var(--tiger-select-dropdown-border,var(--tiger-border,#e5e7eb))] rounded-
|
|
1741
|
+
declare const selectDropdownBaseClasses = "absolute z-50 w-full mt-1 bg-[var(--tiger-select-dropdown-bg,var(--tiger-surface,#ffffff))] border border-[var(--tiger-select-dropdown-border,var(--tiger-border,#e5e7eb))] rounded-[var(--tiger-radius-lg,0.75rem)] shadow-lg max-h-60 overflow-auto";
|
|
1909
1742
|
/**
|
|
1910
1743
|
* Select option base classes
|
|
1911
1744
|
*/
|
|
@@ -2006,6 +1839,10 @@ declare function validateForm(values: FormValues, rules: FormRules): Promise<For
|
|
|
2006
1839
|
* Get error message for a specific field
|
|
2007
1840
|
*/
|
|
2008
1841
|
declare function getFieldError(fieldName: string, errors: FormError[]): string | undefined;
|
|
1842
|
+
/**
|
|
1843
|
+
* Build an O(1) lookup table for field errors.
|
|
1844
|
+
*/
|
|
1845
|
+
declare function createFormErrorMap(errors: readonly FormError[]): Record<string, string>;
|
|
2009
1846
|
/**
|
|
2010
1847
|
* Clear errors for specific fields
|
|
2011
1848
|
*/
|
|
@@ -2625,6 +2462,8 @@ declare function getDaysInMonth(year: number, month: number): number;
|
|
|
2625
2462
|
* @returns Day of week (0-6)
|
|
2626
2463
|
*/
|
|
2627
2464
|
declare function getFirstDayOfMonth(year: number, month: number): number;
|
|
2465
|
+
declare function clearCalendarMonthDaysCache(): void;
|
|
2466
|
+
declare function getCalendarMonthDaysCacheSize(): number;
|
|
2628
2467
|
/**
|
|
2629
2468
|
* Get calendar days for a given month
|
|
2630
2469
|
* Returns array of dates including padding days from previous/next months
|
|
@@ -2723,6 +2562,11 @@ declare const datePickerFooterButtonClasses: string;
|
|
|
2723
2562
|
* Time utility functions for TimePicker component
|
|
2724
2563
|
*/
|
|
2725
2564
|
|
|
2565
|
+
/**
|
|
2566
|
+
* Pad a non-negative integer to a 2-character zero-prefixed string.
|
|
2567
|
+
* Shared helper for time / date display formatting.
|
|
2568
|
+
*/
|
|
2569
|
+
declare function padTwo(value: number): string;
|
|
2726
2570
|
/**
|
|
2727
2571
|
* Parse time string to hours, minutes, and seconds
|
|
2728
2572
|
* @param timeString - Time string in 'HH:mm' or 'HH:mm:ss' format
|
|
@@ -2838,7 +2682,23 @@ interface PrepareUploadFilesResult {
|
|
|
2838
2682
|
rejectedFiles: UploadRejectedFile[];
|
|
2839
2683
|
rejectedExceedFiles: File[];
|
|
2840
2684
|
}
|
|
2685
|
+
interface UploadDataTransferLike {
|
|
2686
|
+
files?: ArrayLike<File> | null;
|
|
2687
|
+
}
|
|
2688
|
+
interface UploadDragEventLike {
|
|
2689
|
+
preventDefault: () => void;
|
|
2690
|
+
dataTransfer?: UploadDataTransferLike | null;
|
|
2691
|
+
}
|
|
2692
|
+
interface UploadDragResult {
|
|
2693
|
+
handled: boolean;
|
|
2694
|
+
isDragging: boolean;
|
|
2695
|
+
files: File[];
|
|
2696
|
+
}
|
|
2841
2697
|
declare function prepareUploadFiles(options: PrepareUploadFilesOptions): Promise<PrepareUploadFilesResult>;
|
|
2698
|
+
declare function getUploadDataTransferFiles(dataTransfer?: UploadDataTransferLike | null): File[];
|
|
2699
|
+
declare function handleUploadDragOver(event: UploadDragEventLike, disabled?: boolean): UploadDragResult;
|
|
2700
|
+
declare function handleUploadDragLeave(event: UploadDragEventLike, disabled?: boolean): UploadDragResult;
|
|
2701
|
+
declare function handleUploadDrop(event: UploadDragEventLike, disabled?: boolean): UploadDragResult;
|
|
2842
2702
|
/**
|
|
2843
2703
|
* Generate a unique ID for uploaded files
|
|
2844
2704
|
* Uses timestamp and random string for uniqueness
|
|
@@ -2971,6 +2831,8 @@ interface ColProps {
|
|
|
2971
2831
|
|
|
2972
2832
|
type ColOffset = number | Partial<Record<Breakpoint, number>>;
|
|
2973
2833
|
type ColOrder = number | Partial<Record<Breakpoint, number>>;
|
|
2834
|
+
declare const rowGutterClasses = "mx-[calc(var(--tiger-row-gutter-x-half)*-1)] my-[calc(var(--tiger-row-gutter-y-half)*-1)]";
|
|
2835
|
+
declare const colGutterClasses = "px-[var(--tiger-row-gutter-x-half)] py-[var(--tiger-row-gutter-y-half)]";
|
|
2974
2836
|
declare function getColStyleVars(span?: ColSpan, offset?: ColOffset): Record<string, string>;
|
|
2975
2837
|
declare function getColOrderStyleVars(order?: ColOrder): Record<string, string>;
|
|
2976
2838
|
/**
|
|
@@ -2993,6 +2855,10 @@ declare function getGutterStyles(gutter: GutterSize): {
|
|
|
2993
2855
|
rowStyle?: Record<string, string>;
|
|
2994
2856
|
colStyle?: Record<string, string>;
|
|
2995
2857
|
};
|
|
2858
|
+
declare function hasGutter(gutter: GutterSize): boolean;
|
|
2859
|
+
declare function getRowGutterStyleVars(gutter: GutterSize): Record<string, string>;
|
|
2860
|
+
declare function getRowGutterClasses(gutter: GutterSize): string;
|
|
2861
|
+
declare function getColGutterClasses(gutter: GutterSize): string;
|
|
2996
2862
|
/**
|
|
2997
2863
|
* Get span classes for Col component
|
|
2998
2864
|
*/
|
|
@@ -3018,9 +2884,14 @@ declare function getFlexClasses(flex: string | number | undefined): string;
|
|
|
3018
2884
|
*/
|
|
3019
2885
|
type DividerOrientation = 'horizontal' | 'vertical';
|
|
3020
2886
|
/**
|
|
3021
|
-
* Divider line style types
|
|
2887
|
+
* Divider line style types.
|
|
2888
|
+
*
|
|
2889
|
+
* `gradient` (since 1.1.0) renders a soft fade-in/out line using a CSS
|
|
2890
|
+
* background gradient instead of a solid border, ideal for section breaks
|
|
2891
|
+
* on the modern theme. It is opt-in and falls back gracefully on the
|
|
2892
|
+
* default theme.
|
|
3022
2893
|
*/
|
|
3023
|
-
type DividerLineStyle = 'solid' | 'dashed' | 'dotted';
|
|
2894
|
+
type DividerLineStyle = 'solid' | 'dashed' | 'dotted' | 'gradient';
|
|
3024
2895
|
/**
|
|
3025
2896
|
* Divider spacing types (margin around the divider)
|
|
3026
2897
|
*/
|
|
@@ -3195,481 +3066,68 @@ declare function getSpaceClasses({ direction, size, align, wrap }?: SpaceProps,
|
|
|
3195
3066
|
declare function getSpaceStyle(size?: SpaceSize): Record<string, string> | undefined;
|
|
3196
3067
|
|
|
3197
3068
|
/**
|
|
3198
|
-
* Table component
|
|
3069
|
+
* Table component utilities and styling functions
|
|
3199
3070
|
*/
|
|
3071
|
+
|
|
3200
3072
|
/**
|
|
3201
|
-
*
|
|
3073
|
+
* Base table container classes
|
|
3202
3074
|
*/
|
|
3203
|
-
|
|
3075
|
+
declare const tableContainerClasses = "relative w-full overflow-auto";
|
|
3204
3076
|
/**
|
|
3205
|
-
*
|
|
3077
|
+
* Base table classes
|
|
3206
3078
|
*/
|
|
3207
|
-
|
|
3079
|
+
declare const tableBaseClasses = "w-full border-collapse";
|
|
3208
3080
|
/**
|
|
3209
|
-
*
|
|
3081
|
+
* Parse a column width into a pixel number.
|
|
3082
|
+
*
|
|
3083
|
+
* Notes:
|
|
3084
|
+
* - Returns 0 when width is undefined or not a pixel value.
|
|
3085
|
+
* - For sticky/fixed columns, a numeric (or px string) width is recommended.
|
|
3210
3086
|
*/
|
|
3211
|
-
|
|
3212
|
-
|
|
3213
|
-
|
|
3214
|
-
|
|
3215
|
-
|
|
3216
|
-
|
|
3217
|
-
|
|
3218
|
-
|
|
3219
|
-
|
|
3087
|
+
declare function parseWidthToPx(width?: string | number): number;
|
|
3088
|
+
/**
|
|
3089
|
+
* Calculate sticky offsets for fixed columns.
|
|
3090
|
+
*/
|
|
3091
|
+
declare function getFixedColumnOffsets<T = Record<string, unknown>>(columns: TableColumn<T>[], measuredColumnWidths?: Record<string, number>): {
|
|
3092
|
+
leftOffsets: Record<string, number>;
|
|
3093
|
+
rightOffsets: Record<string, number>;
|
|
3094
|
+
minTableWidth: number;
|
|
3095
|
+
hasFixedColumns: boolean;
|
|
3096
|
+
};
|
|
3097
|
+
declare const TABLE_VIRTUAL_RECOMMENDATION_THRESHOLD = 1000;
|
|
3098
|
+
interface TableVirtualRecommendationOptions {
|
|
3099
|
+
virtual?: boolean;
|
|
3100
|
+
dataLength: number;
|
|
3101
|
+
threshold?: number;
|
|
3102
|
+
}
|
|
3103
|
+
interface TableVirtualRecommendation {
|
|
3104
|
+
enabled: boolean;
|
|
3105
|
+
recommended: boolean;
|
|
3106
|
+
threshold: number;
|
|
3107
|
+
dataLength: number;
|
|
3220
3108
|
}
|
|
3221
3109
|
/**
|
|
3222
|
-
*
|
|
3110
|
+
* Resolve the public Table virtual strategy.
|
|
3111
|
+
*
|
|
3112
|
+
* Table stays opt-in for virtualization to avoid surprising layout changes.
|
|
3113
|
+
* Large data sets surface a recommendation that consumers can inspect and use
|
|
3114
|
+
* to switch to `virtual` or the dedicated `VirtualTable` component.
|
|
3223
3115
|
*/
|
|
3224
|
-
|
|
3116
|
+
declare function getTableVirtualRecommendation(options: TableVirtualRecommendationOptions): TableVirtualRecommendation;
|
|
3225
3117
|
/**
|
|
3226
|
-
*
|
|
3118
|
+
* Get table wrapper classes
|
|
3227
3119
|
*/
|
|
3228
|
-
|
|
3120
|
+
declare function getTableWrapperClasses(bordered: boolean, maxHeight?: string | number): string;
|
|
3229
3121
|
/**
|
|
3230
|
-
*
|
|
3122
|
+
* Get table header classes
|
|
3231
3123
|
*/
|
|
3232
|
-
|
|
3233
|
-
/**
|
|
3234
|
-
* Option label
|
|
3235
|
-
*/
|
|
3236
|
-
label: string;
|
|
3237
|
-
/**
|
|
3238
|
-
* Option value
|
|
3239
|
-
*/
|
|
3240
|
-
value: string | number;
|
|
3241
|
-
}
|
|
3124
|
+
declare function getTableHeaderClasses(stickyHeader: boolean): string;
|
|
3242
3125
|
/**
|
|
3243
|
-
*
|
|
3126
|
+
* Get table header cell classes
|
|
3244
3127
|
*/
|
|
3245
|
-
|
|
3246
|
-
/**
|
|
3247
|
-
* Filter type
|
|
3248
|
-
* @default 'text'
|
|
3249
|
-
*/
|
|
3250
|
-
type?: FilterType;
|
|
3251
|
-
/**
|
|
3252
|
-
* Filter options (for select type)
|
|
3253
|
-
*/
|
|
3254
|
-
options?: FilterOption[];
|
|
3255
|
-
/**
|
|
3256
|
-
* Placeholder text
|
|
3257
|
-
*/
|
|
3258
|
-
placeholder?: string;
|
|
3259
|
-
/**
|
|
3260
|
-
* Custom filter function
|
|
3261
|
-
* @param value - Cell value
|
|
3262
|
-
* @param filterValue - Current filter value
|
|
3263
|
-
* @returns Whether the row should be shown
|
|
3264
|
-
*/
|
|
3265
|
-
filterFn?: (value: unknown, filterValue: unknown) => boolean;
|
|
3266
|
-
}
|
|
3128
|
+
declare function getTableHeaderCellClasses(size: TableSize, align: ColumnAlign, sortable: boolean, customClassName?: string): string;
|
|
3267
3129
|
/**
|
|
3268
|
-
*
|
|
3269
|
-
*/
|
|
3270
|
-
interface TableColumn<T = Record<string, unknown>> {
|
|
3271
|
-
/**
|
|
3272
|
-
* Column key (must be unique)
|
|
3273
|
-
*/
|
|
3274
|
-
key: string;
|
|
3275
|
-
/**
|
|
3276
|
-
* Column title/header text
|
|
3277
|
-
*/
|
|
3278
|
-
title: string;
|
|
3279
|
-
/**
|
|
3280
|
-
* Data key to access in row object
|
|
3281
|
-
* If not provided, uses `key`
|
|
3282
|
-
*/
|
|
3283
|
-
dataKey?: string;
|
|
3284
|
-
/**
|
|
3285
|
-
* Column width (CSS value)
|
|
3286
|
-
*/
|
|
3287
|
-
width?: string | number;
|
|
3288
|
-
/**
|
|
3289
|
-
* Column alignment
|
|
3290
|
-
* @default 'left'
|
|
3291
|
-
*/
|
|
3292
|
-
align?: ColumnAlign;
|
|
3293
|
-
/**
|
|
3294
|
-
* Whether column is sortable
|
|
3295
|
-
* @default false
|
|
3296
|
-
*/
|
|
3297
|
-
sortable?: boolean;
|
|
3298
|
-
/**
|
|
3299
|
-
* Custom sort function
|
|
3300
|
-
* @param a - First value
|
|
3301
|
-
* @param b - Second value
|
|
3302
|
-
* @returns Sort comparison result
|
|
3303
|
-
*/
|
|
3304
|
-
sortFn?: (a: unknown, b: unknown) => number;
|
|
3305
|
-
/**
|
|
3306
|
-
* Column filter configuration
|
|
3307
|
-
*/
|
|
3308
|
-
filter?: ColumnFilter;
|
|
3309
|
-
/**
|
|
3310
|
-
* Whether column is fixed
|
|
3311
|
-
* @default false
|
|
3312
|
-
*/
|
|
3313
|
-
fixed?: 'left' | 'right' | false;
|
|
3314
|
-
/**
|
|
3315
|
-
* Custom render function for cell content
|
|
3316
|
-
* Framework-specific implementations will handle this differently
|
|
3317
|
-
*/
|
|
3318
|
-
render?: (record: T, index: number) => unknown;
|
|
3319
|
-
/**
|
|
3320
|
-
* Custom render function for header
|
|
3321
|
-
*/
|
|
3322
|
-
renderHeader?: () => unknown;
|
|
3323
|
-
/**
|
|
3324
|
-
* CSS class for column cells
|
|
3325
|
-
*/
|
|
3326
|
-
className?: string;
|
|
3327
|
-
/**
|
|
3328
|
-
* CSS class for header cell
|
|
3329
|
-
*/
|
|
3330
|
-
headerClassName?: string;
|
|
3331
|
-
}
|
|
3332
|
-
/**
|
|
3333
|
-
* Pagination configuration
|
|
3334
|
-
*/
|
|
3335
|
-
interface PaginationConfig {
|
|
3336
|
-
/**
|
|
3337
|
-
* Current page number (1-indexed)
|
|
3338
|
-
* @default 1
|
|
3339
|
-
*/
|
|
3340
|
-
current?: number;
|
|
3341
|
-
/**
|
|
3342
|
-
* Default current page number (1-indexed) for uncontrolled mode.
|
|
3343
|
-
* Used when `current` is not provided.
|
|
3344
|
-
* @default 1
|
|
3345
|
-
*/
|
|
3346
|
-
defaultCurrent?: number;
|
|
3347
|
-
/**
|
|
3348
|
-
* Number of items per page
|
|
3349
|
-
* @default 10
|
|
3350
|
-
*/
|
|
3351
|
-
pageSize?: number;
|
|
3352
|
-
/**
|
|
3353
|
-
* Default page size for uncontrolled mode.
|
|
3354
|
-
* Used when `pageSize` is not provided.
|
|
3355
|
-
* @default 10
|
|
3356
|
-
*/
|
|
3357
|
-
defaultPageSize?: number;
|
|
3358
|
-
/**
|
|
3359
|
-
* Total number of items
|
|
3360
|
-
*/
|
|
3361
|
-
total?: number;
|
|
3362
|
-
/**
|
|
3363
|
-
* Available page size options
|
|
3364
|
-
* @default [10, 20, 50, 100]
|
|
3365
|
-
*/
|
|
3366
|
-
pageSizeOptions?: number[];
|
|
3367
|
-
/**
|
|
3368
|
-
* Whether to show page size selector
|
|
3369
|
-
* @default true
|
|
3370
|
-
*/
|
|
3371
|
-
showSizeChanger?: boolean;
|
|
3372
|
-
/**
|
|
3373
|
-
* Whether to show total count
|
|
3374
|
-
* @default true
|
|
3375
|
-
*/
|
|
3376
|
-
showTotal?: boolean;
|
|
3377
|
-
/**
|
|
3378
|
-
* Custom total text render function
|
|
3379
|
-
*/
|
|
3380
|
-
totalText?: (total: number, range: [number, number]) => string;
|
|
3381
|
-
}
|
|
3382
|
-
/**
|
|
3383
|
-
* Table row selection configuration
|
|
3384
|
-
*/
|
|
3385
|
-
interface RowSelectionConfig<T = Record<string, unknown>> {
|
|
3386
|
-
/**
|
|
3387
|
-
* Selected row keys
|
|
3388
|
-
*/
|
|
3389
|
-
selectedRowKeys?: (string | number)[];
|
|
3390
|
-
/**
|
|
3391
|
-
* Default selected row keys for uncontrolled mode.
|
|
3392
|
-
* Used when `selectedRowKeys` is not provided.
|
|
3393
|
-
*/
|
|
3394
|
-
defaultSelectedRowKeys?: (string | number)[];
|
|
3395
|
-
/**
|
|
3396
|
-
* Function to get row key
|
|
3397
|
-
* @default (record) => record.id
|
|
3398
|
-
*/
|
|
3399
|
-
getRowKey?: (record: T) => string | number;
|
|
3400
|
-
/**
|
|
3401
|
-
* Whether to show checkbox column
|
|
3402
|
-
* @default true
|
|
3403
|
-
*/
|
|
3404
|
-
showCheckbox?: boolean;
|
|
3405
|
-
/**
|
|
3406
|
-
* Selection type
|
|
3407
|
-
* @default 'checkbox'
|
|
3408
|
-
*/
|
|
3409
|
-
type?: 'checkbox' | 'radio';
|
|
3410
|
-
/**
|
|
3411
|
-
* Function to determine if row can be selected
|
|
3412
|
-
*/
|
|
3413
|
-
getCheckboxProps?: (record: T) => {
|
|
3414
|
-
disabled?: boolean;
|
|
3415
|
-
};
|
|
3416
|
-
}
|
|
3417
|
-
/**
|
|
3418
|
-
* Table row expansion configuration
|
|
3419
|
-
*/
|
|
3420
|
-
interface ExpandableConfig<T = Record<string, unknown>> {
|
|
3421
|
-
/**
|
|
3422
|
-
* Currently expanded row keys (controlled mode).
|
|
3423
|
-
* When provided, internal expand state will not be mutated.
|
|
3424
|
-
*/
|
|
3425
|
-
expandedRowKeys?: (string | number)[];
|
|
3426
|
-
/**
|
|
3427
|
-
* Default expanded row keys for uncontrolled mode.
|
|
3428
|
-
* Used when `expandedRowKeys` is not provided.
|
|
3429
|
-
*/
|
|
3430
|
-
defaultExpandedRowKeys?: (string | number)[];
|
|
3431
|
-
/**
|
|
3432
|
-
* Render function for expanded row content.
|
|
3433
|
-
* Framework-specific implementations may also support slots/children.
|
|
3434
|
-
*/
|
|
3435
|
-
expandedRowRender?: (record: T, index: number) => unknown;
|
|
3436
|
-
/**
|
|
3437
|
-
* Determine whether a row is expandable.
|
|
3438
|
-
* Return false to hide the expand icon for that row.
|
|
3439
|
-
* @default () => true
|
|
3440
|
-
*/
|
|
3441
|
-
rowExpandable?: (record: T) => boolean;
|
|
3442
|
-
/**
|
|
3443
|
-
* Whether clicking the entire row toggles expand state.
|
|
3444
|
-
* When false, only clicking the expand icon triggers expansion.
|
|
3445
|
-
* @default false
|
|
3446
|
-
*/
|
|
3447
|
-
expandRowByClick?: boolean;
|
|
3448
|
-
/**
|
|
3449
|
-
* Position of the expand toggle column.
|
|
3450
|
-
* @default 'start'
|
|
3451
|
-
*/
|
|
3452
|
-
expandIconPosition?: 'start' | 'end';
|
|
3453
|
-
}
|
|
3454
|
-
/**
|
|
3455
|
-
* Base table props interface
|
|
3456
|
-
*/
|
|
3457
|
-
interface TableProps<T = Record<string, unknown>> {
|
|
3458
|
-
/**
|
|
3459
|
-
* Table columns configuration
|
|
3460
|
-
*/
|
|
3461
|
-
columns: TableColumn<T>[];
|
|
3462
|
-
/**
|
|
3463
|
-
* Whether to show a lock button in each column header.
|
|
3464
|
-
* Clicking the lock toggles the column fixed state.
|
|
3465
|
-
* @default false
|
|
3466
|
-
*/
|
|
3467
|
-
columnLockable?: boolean;
|
|
3468
|
-
/**
|
|
3469
|
-
* Table data source
|
|
3470
|
-
* @default []
|
|
3471
|
-
*/
|
|
3472
|
-
dataSource?: T[];
|
|
3473
|
-
/**
|
|
3474
|
-
* Controlled sort state.
|
|
3475
|
-
* When provided, internal sort state will not be mutated.
|
|
3476
|
-
*/
|
|
3477
|
-
sort?: SortState;
|
|
3478
|
-
/**
|
|
3479
|
-
* Default sort state for uncontrolled mode.
|
|
3480
|
-
*/
|
|
3481
|
-
defaultSort?: SortState;
|
|
3482
|
-
/**
|
|
3483
|
-
* Controlled filters.
|
|
3484
|
-
* When provided, internal filter state will not be mutated.
|
|
3485
|
-
*/
|
|
3486
|
-
filters?: Record<string, unknown>;
|
|
3487
|
-
/**
|
|
3488
|
-
* Default filters for uncontrolled mode.
|
|
3489
|
-
*/
|
|
3490
|
-
defaultFilters?: Record<string, unknown>;
|
|
3491
|
-
/**
|
|
3492
|
-
* Table size
|
|
3493
|
-
* @default 'md'
|
|
3494
|
-
*/
|
|
3495
|
-
size?: TableSize;
|
|
3496
|
-
/**
|
|
3497
|
-
* Whether to show border
|
|
3498
|
-
* @default false
|
|
3499
|
-
*/
|
|
3500
|
-
bordered?: boolean;
|
|
3501
|
-
/**
|
|
3502
|
-
* Whether to show striped rows
|
|
3503
|
-
* @default false
|
|
3504
|
-
*/
|
|
3505
|
-
striped?: boolean;
|
|
3506
|
-
/**
|
|
3507
|
-
* Whether to highlight row on hover
|
|
3508
|
-
* @default true
|
|
3509
|
-
*/
|
|
3510
|
-
hoverable?: boolean;
|
|
3511
|
-
/**
|
|
3512
|
-
* Loading state
|
|
3513
|
-
* @default false
|
|
3514
|
-
*/
|
|
3515
|
-
loading?: boolean;
|
|
3516
|
-
/**
|
|
3517
|
-
* Empty state text
|
|
3518
|
-
* @default 'No data'
|
|
3519
|
-
*/
|
|
3520
|
-
emptyText?: string;
|
|
3521
|
-
/**
|
|
3522
|
-
* Pagination configuration
|
|
3523
|
-
* Set to false to disable pagination
|
|
3524
|
-
*/
|
|
3525
|
-
pagination?: PaginationConfig | false;
|
|
3526
|
-
/**
|
|
3527
|
-
* Row selection configuration
|
|
3528
|
-
*/
|
|
3529
|
-
rowSelection?: RowSelectionConfig<T>;
|
|
3530
|
-
/**
|
|
3531
|
-
* Row expansion configuration.
|
|
3532
|
-
* Adds an expand toggle column and renders expanded content below each row.
|
|
3533
|
-
*/
|
|
3534
|
-
expandable?: ExpandableConfig<T>;
|
|
3535
|
-
/**
|
|
3536
|
-
* Function to get row key
|
|
3537
|
-
* @default (record) => record.id
|
|
3538
|
-
*/
|
|
3539
|
-
rowKey?: string | ((record: T) => string | number);
|
|
3540
|
-
/**
|
|
3541
|
-
* Custom row class name
|
|
3542
|
-
*/
|
|
3543
|
-
rowClassName?: string | ((record: T, index: number) => string);
|
|
3544
|
-
/**
|
|
3545
|
-
* Whether table head is sticky
|
|
3546
|
-
* @default false
|
|
3547
|
-
*/
|
|
3548
|
-
stickyHeader?: boolean;
|
|
3549
|
-
/**
|
|
3550
|
-
* Max height for scrollable table
|
|
3551
|
-
*/
|
|
3552
|
-
maxHeight?: string | number;
|
|
3553
|
-
/**
|
|
3554
|
-
* Table layout algorithm
|
|
3555
|
-
* @default 'auto'
|
|
3556
|
-
*/
|
|
3557
|
-
tableLayout?: 'auto' | 'fixed';
|
|
3558
|
-
/**
|
|
3559
|
-
* Enable virtual scrolling for large datasets
|
|
3560
|
-
* @default false
|
|
3561
|
-
*/
|
|
3562
|
-
virtual?: boolean;
|
|
3563
|
-
/**
|
|
3564
|
-
* Virtual scroll viewport height (px)
|
|
3565
|
-
* @default 400
|
|
3566
|
-
*/
|
|
3567
|
-
virtualHeight?: number;
|
|
3568
|
-
/**
|
|
3569
|
-
* Virtual scroll row height (px)
|
|
3570
|
-
* @default 40
|
|
3571
|
-
*/
|
|
3572
|
-
virtualItemHeight?: number;
|
|
3573
|
-
/**
|
|
3574
|
-
* Enable cell editing
|
|
3575
|
-
* @default false
|
|
3576
|
-
*/
|
|
3577
|
-
editable?: boolean;
|
|
3578
|
-
/**
|
|
3579
|
-
* Set of editable cells: Map<columnKey, Set<rowIndex>>
|
|
3580
|
-
* If not provided and editable=true, all cells are editable
|
|
3581
|
-
*/
|
|
3582
|
-
editableCells?: Map<string, Set<number>>;
|
|
3583
|
-
/**
|
|
3584
|
-
* Filter mode
|
|
3585
|
-
* @default 'basic'
|
|
3586
|
-
*/
|
|
3587
|
-
filterMode?: 'basic' | 'advanced';
|
|
3588
|
-
/**
|
|
3589
|
-
* Advanced filter rules (used when filterMode='advanced')
|
|
3590
|
-
*/
|
|
3591
|
-
advancedFilterRules?: FilterRule[];
|
|
3592
|
-
/**
|
|
3593
|
-
* Enable column drag reorder
|
|
3594
|
-
* @default false
|
|
3595
|
-
*/
|
|
3596
|
-
columnDraggable?: boolean;
|
|
3597
|
-
/**
|
|
3598
|
-
* Summary row configuration
|
|
3599
|
-
*/
|
|
3600
|
-
summaryRow?: {
|
|
3601
|
-
show: boolean;
|
|
3602
|
-
data: Record<string, unknown>;
|
|
3603
|
-
};
|
|
3604
|
-
/**
|
|
3605
|
-
* Group rows by column key
|
|
3606
|
-
*/
|
|
3607
|
-
groupBy?: string;
|
|
3608
|
-
/**
|
|
3609
|
-
* Enable CSV export
|
|
3610
|
-
* @default false
|
|
3611
|
-
*/
|
|
3612
|
-
exportable?: boolean;
|
|
3613
|
-
/**
|
|
3614
|
-
* Export filename (without extension)
|
|
3615
|
-
* @default 'export'
|
|
3616
|
-
*/
|
|
3617
|
-
exportFilename?: string;
|
|
3618
|
-
}
|
|
3619
|
-
/**
|
|
3620
|
-
* Filter rule for advanced filtering
|
|
3621
|
-
*/
|
|
3622
|
-
interface FilterRule {
|
|
3623
|
-
column: string;
|
|
3624
|
-
operator: 'equals' | 'contains' | 'gt' | 'lt' | 'between' | 'notEquals';
|
|
3625
|
-
value: unknown;
|
|
3626
|
-
valueTo?: unknown;
|
|
3627
|
-
logic?: 'and' | 'or';
|
|
3628
|
-
}
|
|
3629
|
-
|
|
3630
|
-
/**
|
|
3631
|
-
* Table component utilities and styling functions
|
|
3632
|
-
*/
|
|
3633
|
-
|
|
3634
|
-
/**
|
|
3635
|
-
* Base table container classes
|
|
3636
|
-
*/
|
|
3637
|
-
declare const tableContainerClasses = "relative w-full overflow-auto";
|
|
3638
|
-
/**
|
|
3639
|
-
* Base table classes
|
|
3640
|
-
*/
|
|
3641
|
-
declare const tableBaseClasses = "w-full border-collapse";
|
|
3642
|
-
/**
|
|
3643
|
-
* Parse a column width into a pixel number.
|
|
3644
|
-
*
|
|
3645
|
-
* Notes:
|
|
3646
|
-
* - Returns 0 when width is undefined or not a pixel value.
|
|
3647
|
-
* - For sticky/fixed columns, a numeric (or px string) width is recommended.
|
|
3648
|
-
*/
|
|
3649
|
-
declare function parseWidthToPx(width?: string | number): number;
|
|
3650
|
-
/**
|
|
3651
|
-
* Calculate sticky offsets for fixed columns.
|
|
3652
|
-
*/
|
|
3653
|
-
declare function getFixedColumnOffsets<T = Record<string, unknown>>(columns: TableColumn<T>[]): {
|
|
3654
|
-
leftOffsets: Record<string, number>;
|
|
3655
|
-
rightOffsets: Record<string, number>;
|
|
3656
|
-
minTableWidth: number;
|
|
3657
|
-
hasFixedColumns: boolean;
|
|
3658
|
-
};
|
|
3659
|
-
/**
|
|
3660
|
-
* Get table wrapper classes
|
|
3661
|
-
*/
|
|
3662
|
-
declare function getTableWrapperClasses(bordered: boolean, maxHeight?: string | number): string;
|
|
3663
|
-
/**
|
|
3664
|
-
* Get table header classes
|
|
3665
|
-
*/
|
|
3666
|
-
declare function getTableHeaderClasses(stickyHeader: boolean): string;
|
|
3667
|
-
/**
|
|
3668
|
-
* Get table header cell classes
|
|
3669
|
-
*/
|
|
3670
|
-
declare function getTableHeaderCellClasses(size: TableSize, align: ColumnAlign, sortable: boolean, customClassName?: string): string;
|
|
3671
|
-
/**
|
|
3672
|
-
* Get table body row classes
|
|
3130
|
+
* Get table body row classes
|
|
3673
3131
|
*/
|
|
3674
3132
|
declare function getTableRowClasses(hoverable: boolean, striped: boolean, isEven: boolean, customClassName?: string): string;
|
|
3675
3133
|
/**
|
|
@@ -3739,6 +3197,14 @@ declare function getExpandedRowContentClasses(size: TableSize): string;
|
|
|
3739
3197
|
* Get row key from record
|
|
3740
3198
|
*/
|
|
3741
3199
|
declare function getRowKey<T>(record: T, rowKey: string | ((record: T) => string | number), index: number): string | number;
|
|
3200
|
+
interface TableRowKeyCache<T> {
|
|
3201
|
+
get: (record: T, index: number) => string | number;
|
|
3202
|
+
getMany: (records: T[], indexOffset?: number) => (string | number)[];
|
|
3203
|
+
}
|
|
3204
|
+
/**
|
|
3205
|
+
* Create a scoped row-key resolver for one Table derivation pass.
|
|
3206
|
+
*/
|
|
3207
|
+
declare function createTableRowKeyCache<T>(rowKey: string | ((record: T) => string | number)): TableRowKeyCache<T>;
|
|
3742
3208
|
/**
|
|
3743
3209
|
* Summary row footer classes
|
|
3744
3210
|
*/
|
|
@@ -3766,8 +3232,18 @@ declare const columnDragOverClasses = "border-l-2 border-[var(--tiger-primary,#2
|
|
|
3766
3232
|
*/
|
|
3767
3233
|
/**
|
|
3768
3234
|
* Base classes for all tag variants
|
|
3235
|
+
*
|
|
3236
|
+
* Radius is token-driven (PR-19a). Defaults to `0.375rem` so the visual
|
|
3237
|
+
* matches the previous `rounded-lg`-via-`--tiger-radius-md` look at small
|
|
3238
|
+
* sizes; users on the modern theme inherit the rounder modern radii.
|
|
3239
|
+
*/
|
|
3240
|
+
declare const tagBaseClasses = "inline-flex items-center gap-1 rounded-[var(--tiger-radius-sm,0.375rem)] border font-medium transition-colors";
|
|
3241
|
+
/**
|
|
3242
|
+
* Pill-shape modifier (opt-in). Apply when callers want a fully rounded
|
|
3243
|
+
* tag (e.g. status chips). Composes with {@link tagBaseClasses}.
|
|
3244
|
+
* @since 1.1.0
|
|
3769
3245
|
*/
|
|
3770
|
-
declare const
|
|
3246
|
+
declare const tagPillClasses = "rounded-[var(--tiger-radius-pill,9999px)]";
|
|
3771
3247
|
/**
|
|
3772
3248
|
* Size classes for tag variants
|
|
3773
3249
|
*/
|
|
@@ -3893,7 +3369,7 @@ interface CardProps {
|
|
|
3893
3369
|
className?: string;
|
|
3894
3370
|
}
|
|
3895
3371
|
|
|
3896
|
-
declare const cardBaseClasses = "rounded-
|
|
3372
|
+
declare const cardBaseClasses = "rounded-[var(--tiger-radius-lg,0.75rem)] bg-[var(--tiger-surface,#ffffff)] overflow-hidden transition-all duration-200 ease-out";
|
|
3897
3373
|
declare const cardSizeClasses: Record<CardSize, string>;
|
|
3898
3374
|
declare const cardVariantClasses: Record<CardVariant, string>;
|
|
3899
3375
|
declare const cardHoverClasses = "cursor-pointer hover:shadow-lg hover:-translate-y-1";
|
|
@@ -3916,7 +3392,7 @@ type AvatarSize = 'sm' | 'md' | 'lg' | 'xl';
|
|
|
3916
3392
|
/**
|
|
3917
3393
|
* Avatar shape types
|
|
3918
3394
|
*/
|
|
3919
|
-
type AvatarShape = 'circle' | 'square';
|
|
3395
|
+
type AvatarShape = 'circle' | 'square' | 'squircle';
|
|
3920
3396
|
/**
|
|
3921
3397
|
* Base avatar props interface
|
|
3922
3398
|
*/
|
|
@@ -3996,6 +3472,10 @@ declare const avatarBaseClasses = "inline-flex items-center justify-center overf
|
|
|
3996
3472
|
declare const avatarSizeClasses: Record<AvatarSize, string>;
|
|
3997
3473
|
/**
|
|
3998
3474
|
* Shape classes for avatar
|
|
3475
|
+
*
|
|
3476
|
+
* - `circle` / `square` keep the original visual (token-driven so the modern
|
|
3477
|
+
* theme can soften the square corners).
|
|
3478
|
+
* - `squircle` is a modern iOS-style intermediate shape (PR-19a).
|
|
3999
3479
|
*/
|
|
4000
3480
|
declare const avatarShapeClasses: Record<AvatarShape, string>;
|
|
4001
3481
|
/**
|
|
@@ -4156,6 +3636,27 @@ interface ListProps {
|
|
|
4156
3636
|
* Pagination configuration, set to false to disable
|
|
4157
3637
|
*/
|
|
4158
3638
|
pagination?: ListPaginationConfig | false;
|
|
3639
|
+
/**
|
|
3640
|
+
* Enable fixed-height virtual rendering via VirtualList.
|
|
3641
|
+
* Recommended for large non-grid lists.
|
|
3642
|
+
* @default false
|
|
3643
|
+
*/
|
|
3644
|
+
virtual?: boolean;
|
|
3645
|
+
/**
|
|
3646
|
+
* Virtual viewport height in pixels.
|
|
3647
|
+
* @default 400
|
|
3648
|
+
*/
|
|
3649
|
+
virtualHeight?: number;
|
|
3650
|
+
/**
|
|
3651
|
+
* Fixed virtual item height in pixels.
|
|
3652
|
+
* @default 40
|
|
3653
|
+
*/
|
|
3654
|
+
virtualItemHeight?: number;
|
|
3655
|
+
/**
|
|
3656
|
+
* Number of extra virtual items to render above/below the viewport.
|
|
3657
|
+
* @default 5
|
|
3658
|
+
*/
|
|
3659
|
+
virtualOverscan?: number;
|
|
4159
3660
|
/**
|
|
4160
3661
|
* Grid configuration for grid layout
|
|
4161
3662
|
*/
|
|
@@ -4188,7 +3689,7 @@ interface ListProps {
|
|
|
4188
3689
|
/**
|
|
4189
3690
|
* Base classes for list container
|
|
4190
3691
|
*/
|
|
4191
|
-
declare const listBaseClasses = "bg-[var(--tiger-surface,#ffffff)] rounded-
|
|
3692
|
+
declare const listBaseClasses = "bg-[var(--tiger-surface,#ffffff)] rounded-[var(--tiger-radius-md,0.5rem)] overflow-hidden";
|
|
4192
3693
|
/**
|
|
4193
3694
|
* List wrapper classes
|
|
4194
3695
|
*/
|
|
@@ -4391,7 +3892,7 @@ interface DescriptionsProps {
|
|
|
4391
3892
|
}
|
|
4392
3893
|
|
|
4393
3894
|
declare const descriptionsBaseClasses = "w-full";
|
|
4394
|
-
declare const descriptionsWrapperClasses = "rounded-
|
|
3895
|
+
declare const descriptionsWrapperClasses = "rounded-[var(--tiger-radius-md,0.5rem)] overflow-hidden bg-[var(--tiger-surface,#fff)]";
|
|
4395
3896
|
declare const descriptionsHeaderClasses = "flex items-center justify-between mb-4";
|
|
4396
3897
|
declare const descriptionsTitleClasses = "text-lg font-semibold text-[var(--tiger-text,#111827)]";
|
|
4397
3898
|
declare const descriptionsExtraClasses = "text-sm text-[var(--tiger-text-muted,#6b7280)]";
|
|
@@ -4723,13 +4224,24 @@ interface TreeProps {
|
|
|
4723
4224
|
*/
|
|
4724
4225
|
autoExpandParent?: boolean;
|
|
4725
4226
|
/**
|
|
4726
|
-
*
|
|
4227
|
+
* Enable virtualized rendering. The tree is flattened to its currently
|
|
4228
|
+
* visible items and rendered through `VirtualList` with fixed item height.
|
|
4229
|
+
* Recommended for large trees (> ~200 visible items).
|
|
4230
|
+
* @default false
|
|
4231
|
+
* @since 1.x
|
|
4727
4232
|
*/
|
|
4728
4233
|
virtual?: boolean;
|
|
4729
4234
|
/**
|
|
4730
|
-
*
|
|
4235
|
+
* Pixel height of the virtualized scroll viewport.
|
|
4236
|
+
* @default 400
|
|
4731
4237
|
*/
|
|
4732
4238
|
height?: number | string;
|
|
4239
|
+
/**
|
|
4240
|
+
* Pixel height of each virtualized tree row.
|
|
4241
|
+
* @default 32
|
|
4242
|
+
* @since 1.x
|
|
4243
|
+
*/
|
|
4244
|
+
itemHeight?: number;
|
|
4733
4245
|
/**
|
|
4734
4246
|
* Whether nodes are draggable
|
|
4735
4247
|
* @default false
|
|
@@ -4766,7 +4278,7 @@ declare function getVisibleTreeItems(treeData: TreeNode[], expandedKeys?: Set<st
|
|
|
4766
4278
|
/**
|
|
4767
4279
|
* Base classes for tree container
|
|
4768
4280
|
*/
|
|
4769
|
-
declare const treeBaseClasses = "w-full bg-white rounded-
|
|
4281
|
+
declare const treeBaseClasses = "w-full bg-white rounded-[var(--tiger-radius-md,0.5rem)]";
|
|
4770
4282
|
/**
|
|
4771
4283
|
* Tree node wrapper classes
|
|
4772
4284
|
*/
|
|
@@ -4990,7 +4502,7 @@ interface SkeletonProps {
|
|
|
4990
4502
|
* Shared styles and helpers for Skeleton components
|
|
4991
4503
|
*/
|
|
4992
4504
|
|
|
4993
|
-
declare const skeletonBaseClasses = "bg-[var(--tiger-skeleton-bg,#e5e7eb)] rounded-
|
|
4505
|
+
declare const skeletonBaseClasses = "bg-[var(--tiger-skeleton-bg,#e5e7eb)] rounded-[var(--tiger-radius-sm,0.375rem)]";
|
|
4994
4506
|
/**
|
|
4995
4507
|
* Animation classes for skeleton
|
|
4996
4508
|
*/
|
|
@@ -5274,7 +4786,7 @@ declare const collapsePanelHeaderDisabledClasses = "cursor-not-allowed opacity-5
|
|
|
5274
4786
|
/**
|
|
5275
4787
|
* Collapse panel content wrapper classes
|
|
5276
4788
|
*/
|
|
5277
|
-
declare const collapsePanelContentWrapperClasses = "overflow-hidden transition-
|
|
4789
|
+
declare const collapsePanelContentWrapperClasses = "overflow-hidden transition-[max-height,opacity] duration-300 ease-in-out";
|
|
5278
4790
|
/**
|
|
5279
4791
|
* Collapse panel content base classes
|
|
5280
4792
|
*/
|
|
@@ -5326,6 +4838,23 @@ declare function isPanelActive(panelKey: string | number, activeKeys: (string |
|
|
|
5326
4838
|
* Toggle panel key in active keys array
|
|
5327
4839
|
*/
|
|
5328
4840
|
declare function togglePanelKey(panelKey: string | number, activeKeys: (string | number)[], accordion: boolean): (string | number)[];
|
|
4841
|
+
interface CollapseTransitionElement {
|
|
4842
|
+
scrollHeight: number;
|
|
4843
|
+
style: Pick<CSSStyleDeclaration, 'maxHeight' | 'opacity' | 'overflow'>;
|
|
4844
|
+
addEventListener: HTMLElement['addEventListener'];
|
|
4845
|
+
removeEventListener: HTMLElement['removeEventListener'];
|
|
4846
|
+
}
|
|
4847
|
+
interface CollapseTransitionController {
|
|
4848
|
+
update(expanded: boolean): void;
|
|
4849
|
+
dispose(): void;
|
|
4850
|
+
}
|
|
4851
|
+
interface CollapseTransitionControllerOptions {
|
|
4852
|
+
expanded: boolean;
|
|
4853
|
+
requestAnimationFrame?: typeof globalThis.requestAnimationFrame;
|
|
4854
|
+
cancelAnimationFrame?: typeof globalThis.cancelAnimationFrame;
|
|
4855
|
+
}
|
|
4856
|
+
declare function getInitialCollapseContentStyle(expanded: boolean): Pick<CSSStyleDeclaration, 'maxHeight' | 'opacity'>;
|
|
4857
|
+
declare function createCollapseTransitionController(element: CollapseTransitionElement, options: CollapseTransitionControllerOptions): CollapseTransitionController;
|
|
5329
4858
|
|
|
5330
4859
|
/**
|
|
5331
4860
|
* Menu component types and interfaces
|
|
@@ -5569,6 +5098,10 @@ declare const submenuContentVerticalClasses = "overflow-hidden pl-2";
|
|
|
5569
5098
|
* Submenu content classes - inline mode
|
|
5570
5099
|
*/
|
|
5571
5100
|
declare const submenuContentInlineClasses = "overflow-hidden";
|
|
5101
|
+
/**
|
|
5102
|
+
* Submenu inline/vertical motion wrapper classes.
|
|
5103
|
+
*/
|
|
5104
|
+
declare const submenuHeightTransitionClasses = "overflow-hidden transition-[height,opacity] duration-200 ease-in-out";
|
|
5572
5105
|
/**
|
|
5573
5106
|
* Menu item group title classes
|
|
5574
5107
|
*/
|
|
@@ -5622,6 +5155,23 @@ declare function toggleKey(key: string | number, keys: (string | number)[]): (st
|
|
|
5622
5155
|
* Replace keys array with single key (for single selection mode)
|
|
5623
5156
|
*/
|
|
5624
5157
|
declare function replaceKeys(key: string | number, keys: (string | number)[]): (string | number)[];
|
|
5158
|
+
interface SubmenuHeightTransitionElement {
|
|
5159
|
+
scrollHeight: number;
|
|
5160
|
+
style: Pick<CSSStyleDeclaration, 'height' | 'opacity' | 'overflow'>;
|
|
5161
|
+
addEventListener: HTMLElement['addEventListener'];
|
|
5162
|
+
removeEventListener: HTMLElement['removeEventListener'];
|
|
5163
|
+
}
|
|
5164
|
+
interface SubmenuHeightTransitionController {
|
|
5165
|
+
update(expanded: boolean): void;
|
|
5166
|
+
dispose(): void;
|
|
5167
|
+
}
|
|
5168
|
+
interface SubmenuHeightTransitionControllerOptions {
|
|
5169
|
+
expanded: boolean;
|
|
5170
|
+
requestAnimationFrame?: typeof globalThis.requestAnimationFrame;
|
|
5171
|
+
cancelAnimationFrame?: typeof globalThis.cancelAnimationFrame;
|
|
5172
|
+
}
|
|
5173
|
+
declare function getInitialSubmenuHeightTransitionStyle(expanded: boolean): Pick<CSSStyleDeclaration, 'height' | 'opacity' | 'overflow'>;
|
|
5174
|
+
declare function createSubmenuHeightTransitionController(element: SubmenuHeightTransitionElement, options: SubmenuHeightTransitionControllerOptions): SubmenuHeightTransitionController;
|
|
5625
5175
|
/**
|
|
5626
5176
|
* Query all enabled, visible menu-item buttons that are **direct children**
|
|
5627
5177
|
* of the given menu container (i.e. not inside a nested sub-menu `<ul>`).
|
|
@@ -5779,6 +5329,18 @@ interface TabEditInfo {
|
|
|
5779
5329
|
* Shared styles and helpers for Tabs components
|
|
5780
5330
|
*/
|
|
5781
5331
|
|
|
5332
|
+
interface TabNavListStyle {
|
|
5333
|
+
display?: string;
|
|
5334
|
+
gridTemplateColumns?: string;
|
|
5335
|
+
gridTemplateRows?: string;
|
|
5336
|
+
gap?: string;
|
|
5337
|
+
}
|
|
5338
|
+
interface TabIndicatorStyle {
|
|
5339
|
+
width?: string;
|
|
5340
|
+
height?: string;
|
|
5341
|
+
transform: string;
|
|
5342
|
+
opacity: string;
|
|
5343
|
+
}
|
|
5782
5344
|
/**
|
|
5783
5345
|
* Base tabs container classes
|
|
5784
5346
|
*/
|
|
@@ -5826,7 +5388,7 @@ declare const tabNavListCenteredClasses = "justify-center";
|
|
|
5826
5388
|
* Tab item base classes
|
|
5827
5389
|
* @since 0.2.0 - Added focus-visible ring for keyboard navigation
|
|
5828
5390
|
*/
|
|
5829
|
-
declare const tabItemBaseClasses = "relative cursor-pointer transition-all duration-200 select-none flex items-center gap-2 focus:outline-none focus-visible:ring-2 focus-visible:ring-[var(--tiger-focus-ring,var(--tiger-primary,#2563eb))]/40 focus-visible:ring-offset-2 active:opacity-90";
|
|
5391
|
+
declare const tabItemBaseClasses = "relative z-10 cursor-pointer transition-all duration-200 select-none flex items-center gap-2 focus:outline-none focus-visible:ring-2 focus-visible:ring-[var(--tiger-focus-ring,var(--tiger-primary,#2563eb))]/40 focus-visible:ring-offset-2 active:opacity-90";
|
|
5830
5392
|
/**
|
|
5831
5393
|
* Tab item size classes
|
|
5832
5394
|
*/
|
|
@@ -5842,7 +5404,9 @@ declare const tabItemLineClasses = "border-b-2 border-transparent hover:text-[va
|
|
|
5842
5404
|
/**
|
|
5843
5405
|
* Tab item type classes - line active
|
|
5844
5406
|
*/
|
|
5845
|
-
declare const tabItemLineActiveClasses = "
|
|
5407
|
+
declare const tabItemLineActiveClasses = "text-[var(--tiger-primary,#2563eb)] font-medium";
|
|
5408
|
+
declare const tabIndicatorBaseClasses = "pointer-events-none absolute z-0 rounded-full bg-[var(--tiger-primary,#2563eb)] transition-transform duration-200 ease-out will-change-transform";
|
|
5409
|
+
declare const tabIndicatorPositionClasses: Record<TabPosition, string>;
|
|
5846
5410
|
/**
|
|
5847
5411
|
* Tab item type classes - card
|
|
5848
5412
|
*/
|
|
@@ -5874,7 +5438,7 @@ declare const tabItemDisabledClasses = "opacity-50 cursor-not-allowed pointer-ev
|
|
|
5874
5438
|
/**
|
|
5875
5439
|
* Tab close button classes
|
|
5876
5440
|
*/
|
|
5877
|
-
declare const tabCloseButtonClasses = "ml-2 p-0.5 rounded-
|
|
5441
|
+
declare const tabCloseButtonClasses = "ml-2 p-0.5 rounded-[var(--tiger-radius-sm,0.375rem)] hover:bg-gray-200 transition-colors duration-150";
|
|
5878
5442
|
/**
|
|
5879
5443
|
* Tab content container classes
|
|
5880
5444
|
*/
|
|
@@ -5903,6 +5467,9 @@ declare function getTabNavClasses(position: TabPosition, type: TabType): string;
|
|
|
5903
5467
|
* Get tab nav list classes
|
|
5904
5468
|
*/
|
|
5905
5469
|
declare function getTabNavListClasses(position: TabPosition, centered: boolean): string;
|
|
5470
|
+
declare function getTabNavListStyle(type: TabType, position: TabPosition, tabCount: number): TabNavListStyle;
|
|
5471
|
+
declare function getTabIndicatorClasses(type: TabType, position: TabPosition): string;
|
|
5472
|
+
declare function getTabIndicatorStyle(activeIndex: number, tabCount: number, position: TabPosition): TabIndicatorStyle;
|
|
5906
5473
|
/**
|
|
5907
5474
|
* Get tab item classes based on state, type, and size
|
|
5908
5475
|
*/
|
|
@@ -6179,6 +5746,7 @@ declare function calculateStepStatus(index: number, currentIndex: number, curren
|
|
|
6179
5746
|
/**
|
|
6180
5747
|
* Pagination component types and interfaces
|
|
6181
5748
|
*/
|
|
5749
|
+
|
|
6182
5750
|
/**
|
|
6183
5751
|
* Pagination size type
|
|
6184
5752
|
*/
|
|
@@ -6195,6 +5763,21 @@ interface PaginationPageSizeOption {
|
|
|
6195
5763
|
label?: string;
|
|
6196
5764
|
}
|
|
6197
5765
|
type PaginationPageSizeOptionItem = number | PaginationPageSizeOption;
|
|
5766
|
+
/**
|
|
5767
|
+
* Quick jumper validation scheduling strategy.
|
|
5768
|
+
*/
|
|
5769
|
+
interface PaginationQuickJumperValidationOptions {
|
|
5770
|
+
/**
|
|
5771
|
+
* Debounce delay before validation is scheduled during idle time.
|
|
5772
|
+
* @default 120
|
|
5773
|
+
*/
|
|
5774
|
+
delay?: number;
|
|
5775
|
+
/**
|
|
5776
|
+
* Maximum time to wait for requestIdleCallback before running validation.
|
|
5777
|
+
* @default 250
|
|
5778
|
+
*/
|
|
5779
|
+
timeout?: number;
|
|
5780
|
+
}
|
|
6198
5781
|
/**
|
|
6199
5782
|
* Base pagination props interface
|
|
6200
5783
|
*/
|
|
@@ -6234,6 +5817,10 @@ interface PaginationProps {
|
|
|
6234
5817
|
* @default false
|
|
6235
5818
|
*/
|
|
6236
5819
|
showQuickJumper?: boolean;
|
|
5820
|
+
/**
|
|
5821
|
+
* Quick jumper delayed validation timing.
|
|
5822
|
+
*/
|
|
5823
|
+
quickJumperValidation?: PaginationQuickJumperValidationOptions;
|
|
6237
5824
|
/**
|
|
6238
5825
|
* Whether to show page size selector
|
|
6239
5826
|
* @default false
|
|
@@ -6289,6 +5876,10 @@ interface PaginationProps {
|
|
|
6289
5876
|
* Custom styles
|
|
6290
5877
|
*/
|
|
6291
5878
|
style?: Record<string, string | number>;
|
|
5879
|
+
/**
|
|
5880
|
+
* Locale configuration. Accepts a sync locale, promise, or lazy loader.
|
|
5881
|
+
*/
|
|
5882
|
+
locale?: TigerLocaleInput;
|
|
6292
5883
|
}
|
|
6293
5884
|
/**
|
|
6294
5885
|
* Page change event info
|
|
@@ -6317,6 +5908,28 @@ interface PageSizeChangeInfo {
|
|
|
6317
5908
|
pageSize: number;
|
|
6318
5909
|
}
|
|
6319
5910
|
|
|
5911
|
+
type IdleCallbackHandle = number;
|
|
5912
|
+
type IdleCallbackScheduler = (callback: () => void, options?: {
|
|
5913
|
+
timeout?: number;
|
|
5914
|
+
}) => IdleCallbackHandle;
|
|
5915
|
+
type IdleCallbackCanceller = (handle: IdleCallbackHandle) => void;
|
|
5916
|
+
type TimeoutHandle = ReturnType<typeof setTimeout>;
|
|
5917
|
+
type TimeoutScheduler = (callback: () => void, delay: number) => TimeoutHandle;
|
|
5918
|
+
type TimeoutCanceller = (handle: TimeoutHandle) => void;
|
|
5919
|
+
interface PaginationIdleValidationSchedulerOptions extends PaginationQuickJumperValidationOptions {
|
|
5920
|
+
requestIdleCallback?: IdleCallbackScheduler;
|
|
5921
|
+
cancelIdleCallback?: IdleCallbackCanceller;
|
|
5922
|
+
setTimeout?: TimeoutScheduler;
|
|
5923
|
+
clearTimeout?: TimeoutCanceller;
|
|
5924
|
+
}
|
|
5925
|
+
interface PaginationIdleValidationScheduler {
|
|
5926
|
+
schedule: (callback: () => void) => void;
|
|
5927
|
+
cancel: () => void;
|
|
5928
|
+
flush: () => void;
|
|
5929
|
+
}
|
|
5930
|
+
declare function getPaginationJumperPage(value: string, totalPages: number): number | null;
|
|
5931
|
+
declare function getValidatedPaginationJumperValue(value: string, totalPages: number): string;
|
|
5932
|
+
declare function createPaginationIdleValidationScheduler(options?: PaginationIdleValidationSchedulerOptions): PaginationIdleValidationScheduler;
|
|
6320
5933
|
/**
|
|
6321
5934
|
* Calculate total number of pages
|
|
6322
5935
|
*/
|
|
@@ -6648,7 +6261,7 @@ declare const getModalContainerClasses: (centered: boolean) => string;
|
|
|
6648
6261
|
/**
|
|
6649
6262
|
* Modal content wrapper classes
|
|
6650
6263
|
*/
|
|
6651
|
-
declare const modalContentWrapperClasses = "relative transform overflow-hidden rounded-
|
|
6264
|
+
declare const modalContentWrapperClasses = "relative transform overflow-hidden rounded-[var(--tiger-radius-xl,1rem)] bg-[var(--tiger-surface,#ffffff)] shadow-xl transition-all";
|
|
6652
6265
|
/**
|
|
6653
6266
|
* Modal size classes
|
|
6654
6267
|
*/
|
|
@@ -6664,7 +6277,7 @@ declare const modalTitleClasses = "text-lg font-semibold text-[var(--tiger-text,
|
|
|
6664
6277
|
/**
|
|
6665
6278
|
* Modal close button classes
|
|
6666
6279
|
*/
|
|
6667
|
-
declare const modalCloseButtonClasses = "text-[var(--tiger-text-muted,#9ca3af)] hover:text-[var(--tiger-text-muted,#6b7280)] focus:outline-none focus:ring-2 focus:ring-[var(--tiger-primary,#2563eb)]/40 rounded-
|
|
6280
|
+
declare const modalCloseButtonClasses = "text-[var(--tiger-text-muted,#9ca3af)] hover:text-[var(--tiger-text-muted,#6b7280)] focus:outline-none focus:ring-2 focus:ring-[var(--tiger-primary,#2563eb)]/40 rounded-[var(--tiger-radius-md,0.5rem)] p-1 transition-colors";
|
|
6668
6281
|
/**
|
|
6669
6282
|
* Modal body classes
|
|
6670
6283
|
*/
|
|
@@ -6757,8 +6370,11 @@ interface AlertProps {
|
|
|
6757
6370
|
|
|
6758
6371
|
/**
|
|
6759
6372
|
* Base classes for all alert variants
|
|
6373
|
+
*
|
|
6374
|
+
* Radius and transition are token-driven (PR-19a) so the modern theme can
|
|
6375
|
+
* apply rounder corners and refined easing without component-level changes.
|
|
6760
6376
|
*/
|
|
6761
|
-
declare const alertBaseClasses = "flex items-start rounded-
|
|
6377
|
+
declare const alertBaseClasses = "flex items-start rounded-[var(--tiger-radius-md,0.5rem)] border [transition:var(--tiger-transition-base,all_200ms_cubic-bezier(0.4,0,0.2,1))]";
|
|
6762
6378
|
/**
|
|
6763
6379
|
* Size classes for alert variants
|
|
6764
6380
|
*/
|
|
@@ -6778,7 +6394,7 @@ declare const alertDescriptionSizeClasses: Record<AlertSize, string>;
|
|
|
6778
6394
|
/**
|
|
6779
6395
|
* Close button base classes
|
|
6780
6396
|
*/
|
|
6781
|
-
declare const alertCloseButtonBaseClasses = "ml-auto -mr-1 -mt-0.5 rounded-
|
|
6397
|
+
declare const alertCloseButtonBaseClasses = "ml-auto -mr-1 -mt-0.5 rounded-[var(--tiger-radius-md,0.5rem)] p-1.5 inline-flex focus:outline-none focus:ring-2 focus:ring-offset-2 transition-colors";
|
|
6782
6398
|
/**
|
|
6783
6399
|
* Alert icon container base classes
|
|
6784
6400
|
*/
|
|
@@ -6933,7 +6549,7 @@ declare const messagePositionClasses: Record<MessagePosition, string>;
|
|
|
6933
6549
|
/**
|
|
6934
6550
|
* Base message item classes
|
|
6935
6551
|
*/
|
|
6936
|
-
declare const messageBaseClasses = "flex items-center gap-3 px-4 py-3 rounded-
|
|
6552
|
+
declare const messageBaseClasses = "flex items-center gap-3 px-4 py-3 rounded-[var(--tiger-radius-lg,0.75rem)] shadow-lg border pointer-events-auto transition-all duration-300 ease-in-out";
|
|
6937
6553
|
/**
|
|
6938
6554
|
* Message type color schemes
|
|
6939
6555
|
*/
|
|
@@ -7115,7 +6731,7 @@ declare const notificationPositionClasses: Record<NotificationPosition, string>;
|
|
|
7115
6731
|
/**
|
|
7116
6732
|
* Base notification item classes
|
|
7117
6733
|
*/
|
|
7118
|
-
declare const notificationBaseClasses = "flex gap-3 p-4 rounded-
|
|
6734
|
+
declare const notificationBaseClasses = "flex gap-3 p-4 rounded-[var(--tiger-radius-lg,0.75rem)] shadow-lg border pointer-events-auto transition-all duration-300 ease-in-out";
|
|
7119
6735
|
/**
|
|
7120
6736
|
* Notification type color schemes
|
|
7121
6737
|
*/
|
|
@@ -7149,7 +6765,7 @@ declare const notificationCloseIconPath = "M6 18L18 6M6 6l12 12";
|
|
|
7149
6765
|
/**
|
|
7150
6766
|
* Notification close button classes
|
|
7151
6767
|
*/
|
|
7152
|
-
declare const notificationCloseButtonClasses = "p-1 rounded-
|
|
6768
|
+
declare const notificationCloseButtonClasses = "p-1 rounded-[var(--tiger-radius-md,0.5rem)] hover:bg-[var(--tiger-surface-muted,#e5e7eb)] transition-colors focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-[var(--tiger-primary,#2563eb)]/40 flex-shrink-0";
|
|
7153
6769
|
/**
|
|
7154
6770
|
* Notification close icon classes
|
|
7155
6771
|
*/
|
|
@@ -7170,6 +6786,21 @@ declare const notificationDescriptionClasses = "text-sm mt-1";
|
|
|
7170
6786
|
* Notification content wrapper classes
|
|
7171
6787
|
*/
|
|
7172
6788
|
declare const notificationContentClasses = "flex-1 min-w-0";
|
|
6789
|
+
type NotificationStackFrameCallback = (timestamp: number) => void;
|
|
6790
|
+
type NotificationStackFrameRequest = (callback: NotificationStackFrameCallback) => number;
|
|
6791
|
+
type NotificationStackFrameCancel = (handle: number) => void;
|
|
6792
|
+
type NotificationStackUpdateCallback = () => void;
|
|
6793
|
+
interface NotificationStackUpdateSchedulerOptions {
|
|
6794
|
+
requestFrame?: NotificationStackFrameRequest;
|
|
6795
|
+
cancelFrame?: NotificationStackFrameCancel;
|
|
6796
|
+
}
|
|
6797
|
+
interface NotificationStackUpdateScheduler {
|
|
6798
|
+
schedule: (position: NotificationPosition, callback: NotificationStackUpdateCallback) => void;
|
|
6799
|
+
flush: () => void;
|
|
6800
|
+
cancel: (position?: NotificationPosition) => void;
|
|
6801
|
+
isPending: () => boolean;
|
|
6802
|
+
}
|
|
6803
|
+
declare function createNotificationStackUpdateScheduler(options?: NotificationStackUpdateSchedulerOptions): NotificationStackUpdateScheduler;
|
|
7173
6804
|
|
|
7174
6805
|
/**
|
|
7175
6806
|
* Loading/Spinner component types and interfaces
|
|
@@ -7229,6 +6860,11 @@ interface LoadingProps {
|
|
|
7229
6860
|
* Custom spinner color (overrides color variant)
|
|
7230
6861
|
*/
|
|
7231
6862
|
customColor?: string;
|
|
6863
|
+
/**
|
|
6864
|
+
* Whether fullscreen loading locks document scrolling
|
|
6865
|
+
* @default true
|
|
6866
|
+
*/
|
|
6867
|
+
lockScroll?: boolean;
|
|
7232
6868
|
/**
|
|
7233
6869
|
* Additional CSS classes
|
|
7234
6870
|
*/
|
|
@@ -7370,6 +7006,46 @@ interface FloatingOptions {
|
|
|
7370
7006
|
*/
|
|
7371
7007
|
arrowPadding?: number;
|
|
7372
7008
|
}
|
|
7009
|
+
/**
|
|
7010
|
+
* Options used to build the Floating UI middleware chain.
|
|
7011
|
+
*/
|
|
7012
|
+
interface FloatingMiddlewareOptions {
|
|
7013
|
+
/**
|
|
7014
|
+
* Distance (in pixels) between reference and floating element.
|
|
7015
|
+
* @default 8
|
|
7016
|
+
*/
|
|
7017
|
+
offset?: number;
|
|
7018
|
+
/**
|
|
7019
|
+
* Whether to flip placement when there's not enough space.
|
|
7020
|
+
* @default true
|
|
7021
|
+
*/
|
|
7022
|
+
flip?: boolean;
|
|
7023
|
+
/**
|
|
7024
|
+
* Whether to shift the floating element to stay within viewport.
|
|
7025
|
+
* @default true
|
|
7026
|
+
*/
|
|
7027
|
+
shift?: boolean;
|
|
7028
|
+
/**
|
|
7029
|
+
* Padding from viewport edges when shifting/flipping.
|
|
7030
|
+
* @default 8
|
|
7031
|
+
*/
|
|
7032
|
+
shiftPadding?: number;
|
|
7033
|
+
/**
|
|
7034
|
+
* Arrow element for positioning the arrow indicator.
|
|
7035
|
+
*/
|
|
7036
|
+
arrowElement?: HTMLElement | null;
|
|
7037
|
+
/**
|
|
7038
|
+
* Arrow padding from edges.
|
|
7039
|
+
* @default 8
|
|
7040
|
+
*/
|
|
7041
|
+
arrowPadding?: number;
|
|
7042
|
+
}
|
|
7043
|
+
/**
|
|
7044
|
+
* Get a stable Floating UI middleware chain for matching positioning options.
|
|
7045
|
+
* Middleware with arrows is cached per arrow element so component instances do
|
|
7046
|
+
* not share DOM-bound arrow middleware.
|
|
7047
|
+
*/
|
|
7048
|
+
declare function getFloatingMiddleware(options?: FloatingMiddlewareOptions): Middleware[];
|
|
7373
7049
|
/**
|
|
7374
7050
|
* Result of computing floating position.
|
|
7375
7051
|
*/
|
|
@@ -7830,10 +7506,12 @@ declare const iconSvgDefaultStrokeWidth = 2;
|
|
|
7830
7506
|
declare const iconSvgDefaultStrokeLinecap = "round";
|
|
7831
7507
|
declare const iconSvgDefaultStrokeLinejoin = "round";
|
|
7832
7508
|
|
|
7833
|
-
declare const codeBlockContainerClasses = "relative rounded-
|
|
7509
|
+
declare const codeBlockContainerClasses = "relative rounded-[var(--tiger-radius-md,0.5rem)] border border-gray-200 bg-gray-50 text-gray-800 dark:border-gray-800 dark:bg-gray-900/60 dark:text-gray-100";
|
|
7834
7510
|
declare const codeBlockPreClasses = "m-0 overflow-auto p-4 text-sm leading-relaxed font-mono whitespace-pre";
|
|
7835
|
-
declare const codeBlockCopyButtonBaseClasses = "absolute right-3 top-0 -translate-y-1/2 inline-flex items-center rounded-
|
|
7511
|
+
declare const codeBlockCopyButtonBaseClasses = "absolute right-3 top-0 -translate-y-1/2 inline-flex items-center rounded-[var(--tiger-radius-md,0.5rem)] border border-gray-200 bg-white/90 px-1.5 py-0.5 text-[10px] text-gray-600 shadow-sm transition-colors hover:bg-white hover:text-gray-900 dark:border-gray-700 dark:bg-gray-900/90 dark:text-gray-200 dark:hover:bg-gray-800";
|
|
7836
7512
|
declare const codeBlockCopyButtonCopiedClasses = "border-[var(--tiger-primary,#2563eb)] text-[var(--tiger-primary,#2563eb)]";
|
|
7513
|
+
declare function getCodeBlockContainerClasses(...classes: ClassValue[]): string;
|
|
7514
|
+
declare function getCodeBlockCopyButtonClasses(isCopied: boolean, ...classes: ClassValue[]): string;
|
|
7837
7515
|
|
|
7838
7516
|
/**
|
|
7839
7517
|
* Text component types and interfaces
|
|
@@ -7956,7 +7634,7 @@ type CropHandle = 'nw' | 'n' | 'ne' | 'e' | 'se' | 's' | 'sw' | 'w';
|
|
|
7956
7634
|
/**
|
|
7957
7635
|
* Image preview toolbar action types
|
|
7958
7636
|
*/
|
|
7959
|
-
type ImagePreviewToolbarAction = 'zoomIn' | 'zoomOut' | 'reset' | 'prev' | 'next' | 'close';
|
|
7637
|
+
type ImagePreviewToolbarAction = 'zoomIn' | 'zoomOut' | 'rotateLeft' | 'rotateRight' | 'reset' | 'prev' | 'next' | 'close';
|
|
7960
7638
|
/**
|
|
7961
7639
|
* Navigation state for preview with multiple images
|
|
7962
7640
|
*/
|
|
@@ -8250,11 +7928,11 @@ declare const CROP_HANDLES: CropHandle[];
|
|
|
8250
7928
|
/**
|
|
8251
7929
|
* CropUpload trigger button classes
|
|
8252
7930
|
*/
|
|
8253
|
-
declare const cropUploadTriggerClasses = "inline-flex items-center justify-center gap-2 px-4 py-2 border-2 border-dashed border-[var(--tiger-border,#d1d5db)] rounded-
|
|
7931
|
+
declare const cropUploadTriggerClasses = "inline-flex items-center justify-center gap-2 px-4 py-2 border-2 border-dashed border-[var(--tiger-border,#d1d5db)] rounded-[var(--tiger-radius-md,0.5rem)] text-[var(--tiger-text-muted,#6b7280)] hover:border-[var(--tiger-primary,#2563eb)] hover:text-[var(--tiger-primary,#2563eb)] transition-colors cursor-pointer focus:outline-none focus:ring-2 focus:ring-[var(--tiger-primary,#2563eb)] focus:ring-offset-2";
|
|
8254
7932
|
/**
|
|
8255
7933
|
* CropUpload disabled trigger classes
|
|
8256
7934
|
*/
|
|
8257
|
-
declare const cropUploadTriggerDisabledClasses = "inline-flex items-center justify-center gap-2 px-4 py-2 border-2 border-dashed border-[var(--tiger-border,#d1d5db)] rounded-
|
|
7935
|
+
declare const cropUploadTriggerDisabledClasses = "inline-flex items-center justify-center gap-2 px-4 py-2 border-2 border-dashed border-[var(--tiger-border,#d1d5db)] rounded-[var(--tiger-radius-md,0.5rem)] text-[var(--tiger-text-muted,#9ca3af)] cursor-not-allowed opacity-50";
|
|
8258
7936
|
/**
|
|
8259
7937
|
* Upload icon path (plus sign in a frame)
|
|
8260
7938
|
*/
|
|
@@ -8433,6 +8111,36 @@ interface CarouselMethods {
|
|
|
8433
8111
|
* Shared styles and helpers for Carousel components
|
|
8434
8112
|
*/
|
|
8435
8113
|
|
|
8114
|
+
type CarouselFrameCallback = (timestamp: number) => void;
|
|
8115
|
+
type CarouselFrameRequest = (callback: CarouselFrameCallback) => number;
|
|
8116
|
+
type CarouselFrameCancel = (handle: number) => void;
|
|
8117
|
+
type CarouselSwipeDirection = 'prev' | 'next';
|
|
8118
|
+
interface CarouselTouchPoint {
|
|
8119
|
+
x: number;
|
|
8120
|
+
y: number;
|
|
8121
|
+
}
|
|
8122
|
+
interface CarouselSwipeOptions {
|
|
8123
|
+
minSwipeDistance?: number;
|
|
8124
|
+
}
|
|
8125
|
+
interface CarouselVisibilityDocument {
|
|
8126
|
+
readonly hidden: boolean;
|
|
8127
|
+
addEventListener: Document['addEventListener'];
|
|
8128
|
+
removeEventListener: Document['removeEventListener'];
|
|
8129
|
+
}
|
|
8130
|
+
interface CarouselAutoplayControllerOptions {
|
|
8131
|
+
interval: number;
|
|
8132
|
+
onAdvance: () => void;
|
|
8133
|
+
requestFrame?: CarouselFrameRequest;
|
|
8134
|
+
cancelFrame?: CarouselFrameCancel;
|
|
8135
|
+
getCurrentTime?: () => number;
|
|
8136
|
+
getDocument?: () => CarouselVisibilityDocument | undefined;
|
|
8137
|
+
}
|
|
8138
|
+
interface CarouselAutoplayController {
|
|
8139
|
+
start: () => void;
|
|
8140
|
+
stop: () => void;
|
|
8141
|
+
restart: () => void;
|
|
8142
|
+
isRunning: () => boolean;
|
|
8143
|
+
}
|
|
8436
8144
|
/**
|
|
8437
8145
|
* Base carousel container classes
|
|
8438
8146
|
*/
|
|
@@ -8521,6 +8229,12 @@ declare function clampSlideIndex(index: number, totalSlides: number): number;
|
|
|
8521
8229
|
* Calculate transform offset for scroll effect
|
|
8522
8230
|
*/
|
|
8523
8231
|
declare function getScrollTransform(currentIndex: number): string;
|
|
8232
|
+
declare function getCarouselTouchPoint(touches: ArrayLike<{
|
|
8233
|
+
clientX: number;
|
|
8234
|
+
clientY: number;
|
|
8235
|
+
}> | null | undefined): CarouselTouchPoint | null;
|
|
8236
|
+
declare function resolveCarouselSwipeDirection(startPoint: CarouselTouchPoint | null, endPoint: CarouselTouchPoint | null, options?: CarouselSwipeOptions): CarouselSwipeDirection | null;
|
|
8237
|
+
declare function createCarouselAutoplayController(options: CarouselAutoplayControllerOptions): CarouselAutoplayController;
|
|
8524
8238
|
/**
|
|
8525
8239
|
* Prev arrow SVG path
|
|
8526
8240
|
*/
|
|
@@ -8721,6 +8435,93 @@ declare function scrollToAnchor(href: string, container: HTMLElement | Window, t
|
|
|
8721
8435
|
* Find current active anchor based on scroll position
|
|
8722
8436
|
*/
|
|
8723
8437
|
declare function findActiveAnchor(links: string[], container: HTMLElement | Window, bounds?: number, targetOffset?: number): string;
|
|
8438
|
+
interface AnchorObserverOptions {
|
|
8439
|
+
/** Distance from top of root that defines the "active zone" */
|
|
8440
|
+
offsetTop?: number;
|
|
8441
|
+
/** Scroll root. `null` = viewport. */
|
|
8442
|
+
root?: Element | null;
|
|
8443
|
+
/** Called whenever the active anchor changes. Empty string when none active. */
|
|
8444
|
+
onChange: (activeHref: string) => void;
|
|
8445
|
+
}
|
|
8446
|
+
/**
|
|
8447
|
+
* Create an IntersectionObserver-based active-anchor tracker.
|
|
8448
|
+
*
|
|
8449
|
+
* Observes each link target and tracks which sections currently intersect a
|
|
8450
|
+
* thin band at the top of the scroll root (just below `offsetTop`). The first
|
|
8451
|
+
* intersecting section in document order is reported as active. Falls back to
|
|
8452
|
+
* the last section that has scrolled past `offsetTop` when nothing intersects.
|
|
8453
|
+
*
|
|
8454
|
+
* Returns a teardown function. Safe when `IntersectionObserver` is unavailable
|
|
8455
|
+
* (returns no-op) or no targets resolve.
|
|
8456
|
+
*/
|
|
8457
|
+
declare function createAnchorObserver(links: string[], options: AnchorObserverOptions): () => void;
|
|
8458
|
+
|
|
8459
|
+
/**
|
|
8460
|
+
* Chart color, palette, shadow, and CSS class constants.
|
|
8461
|
+
*
|
|
8462
|
+
* Pure visual tokens — no logic. Split out of `chart-utils.ts` (PR-12).
|
|
8463
|
+
*/
|
|
8464
|
+
declare const chartCanvasBaseClasses = "block";
|
|
8465
|
+
declare const chartAxisLineClasses = "stroke-[color:var(--tiger-border,#e5e7eb)] [stroke-opacity:var(--tiger-chart-axis-line-opacity,1)]";
|
|
8466
|
+
declare const chartAxisTickLineClasses = "stroke-[color:var(--tiger-border,#e5e7eb)] [stroke-opacity:var(--tiger-chart-axis-tick-opacity,1)]";
|
|
8467
|
+
declare const chartAxisTickTextClasses = "fill-[color:var(--tiger-text-secondary,#6b7280)] text-xs tabular-nums";
|
|
8468
|
+
declare const chartAxisLabelClasses = "fill-[color:var(--tiger-text,#374151)] text-xs font-medium tabular-nums";
|
|
8469
|
+
declare const chartGridLineClasses = "stroke-[color:var(--tiger-border,#e5e7eb)] [stroke-opacity:var(--tiger-chart-grid-line-opacity,1)]";
|
|
8470
|
+
/**
|
|
8471
|
+
* Default color palette for chart components.
|
|
8472
|
+
* Uses CSS variables with fallback colors so palette swaps cleanly with themes.
|
|
8473
|
+
*/
|
|
8474
|
+
declare const DEFAULT_CHART_COLORS: readonly ["var(--tiger-chart-1,#2563eb)", "var(--tiger-chart-2,#22c55e)", "var(--tiger-chart-3,#f97316)", "var(--tiger-chart-4,#a855f7)", "var(--tiger-chart-5,#0ea5e9)", "var(--tiger-chart-6,#ef4444)"];
|
|
8475
|
+
/**
|
|
8476
|
+
* Default split area colors for radar / polar grids (subtle alternating fills).
|
|
8477
|
+
*/
|
|
8478
|
+
declare const RADAR_SPLIT_AREA_COLORS: string[];
|
|
8479
|
+
/** Drop shadow filter value for emphasized pie slices */
|
|
8480
|
+
declare const PIE_EMPHASIS_SHADOW = "drop-shadow(0 4px 8px rgba(0,0,0,0.2))";
|
|
8481
|
+
declare const PIE_BASE_SHADOW = "drop-shadow(0 1px 2px rgba(0,0,0,0.06))";
|
|
8482
|
+
/** Enhanced donut-specific shadow – deeper & more diffuse for richer emphasis */
|
|
8483
|
+
declare const DONUT_EMPHASIS_SHADOW = "drop-shadow(0 8px 20px rgba(0,0,0,0.28)) drop-shadow(0 2px 6px rgba(0,0,0,0.12))";
|
|
8484
|
+
declare const DONUT_BASE_SHADOW = "drop-shadow(0 2px 8px rgba(0,0,0,0.10))";
|
|
8485
|
+
/**
|
|
8486
|
+
* CSS transition classes for line/area chart point hover.
|
|
8487
|
+
*
|
|
8488
|
+
* Default fallback `cubic-bezier(0,0,0.2,1)` mirrors Tailwind `ease-out` so
|
|
8489
|
+
* visual is unchanged. With `<html data-tiger-style="modern">` the timing
|
|
8490
|
+
* function switches to `--tiger-motion-ease-spring` for a subtle overshoot
|
|
8491
|
+
* on hover scaling (matches phase2.7 §3 LineChart/AreaChart "spring 缩放",
|
|
8492
|
+
* mirrors `scatterPointTransitionClasses` from PR-19k(f)).
|
|
8493
|
+
*/
|
|
8494
|
+
declare const linePointTransitionClasses = "transition-all duration-200 [transition-timing-function:var(--tiger-motion-ease-spring,cubic-bezier(0,0,0.2,1))]";
|
|
8495
|
+
/** CSS classes for value labels displayed on bars */
|
|
8496
|
+
declare const barValueLabelClasses = "fill-[color:var(--tiger-text,#374151)] text-[11px] font-medium pointer-events-none select-none";
|
|
8497
|
+
/** CSS classes for value labels inside bars (needs contrasting color) */
|
|
8498
|
+
declare const barValueLabelInsideClasses = "fill-white text-[11px] font-medium pointer-events-none select-none";
|
|
8499
|
+
/** CSS transition string for animated bars */
|
|
8500
|
+
declare const barAnimatedTransition = "transition: y var(--tiger-motion-duration-slow,600ms) var(--tiger-motion-ease-emphasized,cubic-bezier(.4,0,.2,1)), height var(--tiger-motion-duration-slow,600ms) var(--tiger-motion-ease-emphasized,cubic-bezier(.4,0,.2,1)), opacity 200ms ease-out, filter 200ms ease-out";
|
|
8501
|
+
/**
|
|
8502
|
+
* CSS transition for scatter point hover.
|
|
8503
|
+
*
|
|
8504
|
+
* Default fallback `cubic-bezier(0,0,0.2,1)` mirrors Tailwind `ease-out` so
|
|
8505
|
+
* visual is unchanged. With `<html data-tiger-style="modern">` the timing
|
|
8506
|
+
* function switches to `--tiger-motion-ease-spring` for a subtle overshoot
|
|
8507
|
+
* on hover scaling (matches phase2.7 §3 ScatterChart "spring 缩放").
|
|
8508
|
+
*/
|
|
8509
|
+
declare const scatterPointTransitionClasses = "transition-all duration-200 [transition-timing-function:var(--tiger-motion-ease-spring,cubic-bezier(0,0,0.2,1))]";
|
|
8510
|
+
/**
|
|
8511
|
+
* Drop shadow filter for hovered scatter points.
|
|
8512
|
+
*
|
|
8513
|
+
* Halo radius is token-driven (`--tiger-chart-scatter-halo-radius`, fallback
|
|
8514
|
+
* `4px`) so modern preset can amplify slightly without changing default visual.
|
|
8515
|
+
*/
|
|
8516
|
+
declare function getScatterHoverShadow(color: string): string;
|
|
8517
|
+
/** Compute the hovered size for a scatter point. */
|
|
8518
|
+
declare function getScatterHoverSize(baseSize: number): number;
|
|
8519
|
+
/**
|
|
8520
|
+
* CSS animation keyframes and class for scatter entrance animation.
|
|
8521
|
+
* Inject once via <style> tag.
|
|
8522
|
+
*/
|
|
8523
|
+
declare const SCATTER_ENTRANCE_KEYFRAMES = "@keyframes tiger-scatter-entrance{from{opacity:0;transform:scale(0)}60%{transform:scale(1.15)}to{opacity:1;transform:scale(1)}}";
|
|
8524
|
+
declare const SCATTER_ENTRANCE_CLASS = "tiger-scatter-entrance";
|
|
8724
8525
|
|
|
8725
8526
|
/**
|
|
8726
8527
|
* Chart primitives types and interfaces
|
|
@@ -8951,6 +8752,11 @@ interface ChartCanvasProps {
|
|
|
8951
8752
|
* @default 200
|
|
8952
8753
|
*/
|
|
8953
8754
|
height?: number;
|
|
8755
|
+
/**
|
|
8756
|
+
* Resize the SVG to its parent container using ResizeObserver
|
|
8757
|
+
* @default false
|
|
8758
|
+
*/
|
|
8759
|
+
responsive?: boolean;
|
|
8954
8760
|
/**
|
|
8955
8761
|
* Inner padding for chart drawing area
|
|
8956
8762
|
* @default 24
|
|
@@ -9457,6 +9263,12 @@ interface PieChartProps extends BaseChartProps, ChartInteractionProps, ChartLege
|
|
|
9457
9263
|
* @default false
|
|
9458
9264
|
*/
|
|
9459
9265
|
shadow?: boolean;
|
|
9266
|
+
/**
|
|
9267
|
+
* Enable per-slice top→bottom alpha gradient fill (1.0 → 0.7).
|
|
9268
|
+
* Opt-in; default `false` keeps the original solid `arc.color` fill.
|
|
9269
|
+
* @default false
|
|
9270
|
+
*/
|
|
9271
|
+
gradient?: boolean;
|
|
9460
9272
|
}
|
|
9461
9273
|
interface DonutChartDatum extends PieChartDatum {
|
|
9462
9274
|
}
|
|
@@ -9742,6 +9554,20 @@ interface LineChartProps extends BaseChartProps, ChartInteractionProps, ChartLeg
|
|
|
9742
9554
|
* @default false
|
|
9743
9555
|
*/
|
|
9744
9556
|
animated?: boolean;
|
|
9557
|
+
/**
|
|
9558
|
+
* Render line stroke as a 3-stop gradient (lighter → base → darker)
|
|
9559
|
+
* derived from each series color via `color-mix(in oklab, …)`. Provides
|
|
9560
|
+
* a subtle modern brightness ramp without requiring palette knowledge.
|
|
9561
|
+
* @default false
|
|
9562
|
+
*/
|
|
9563
|
+
strokeGradient?: boolean;
|
|
9564
|
+
/**
|
|
9565
|
+
* Render data point fill as a per-series `<radialGradient>` (bright center
|
|
9566
|
+
* → series color edge) for a hollow / 3D-sphere look. Has no effect on
|
|
9567
|
+
* points where `pointHollow` is true (those keep the white-fill + colored-stroke style).
|
|
9568
|
+
* @default false
|
|
9569
|
+
*/
|
|
9570
|
+
pointGradient?: boolean;
|
|
9745
9571
|
/**
|
|
9746
9572
|
* Tooltip formatter
|
|
9747
9573
|
*/
|
|
@@ -9907,6 +9733,20 @@ interface AreaChartProps extends BaseChartProps, ChartInteractionProps, ChartLeg
|
|
|
9907
9733
|
* @default false
|
|
9908
9734
|
*/
|
|
9909
9735
|
animated?: boolean;
|
|
9736
|
+
/**
|
|
9737
|
+
* Render line stroke as a 3-stop horizontal gradient (lighter → base → darker)
|
|
9738
|
+
* derived from each series color via `color-mix(in oklab, …)`. Provides a
|
|
9739
|
+
* subtle modern brightness ramp without requiring palette knowledge.
|
|
9740
|
+
* @default false
|
|
9741
|
+
*/
|
|
9742
|
+
strokeGradient?: boolean;
|
|
9743
|
+
/**
|
|
9744
|
+
* Render data point fill as a per-series `<radialGradient>` (bright center
|
|
9745
|
+
* → series color edge) for a hollow / 3D-sphere look. Has no effect on
|
|
9746
|
+
* points where `pointHollow` is true (those keep the white-fill + colored-stroke style).
|
|
9747
|
+
* @default false
|
|
9748
|
+
*/
|
|
9749
|
+
pointGradient?: boolean;
|
|
9910
9750
|
/**
|
|
9911
9751
|
* Tooltip formatter
|
|
9912
9752
|
*/
|
|
@@ -10097,6 +9937,21 @@ interface RadarChartProps extends BaseChartProps, ChartLegendProps, ChartTooltip
|
|
|
10097
9937
|
* @default true
|
|
10098
9938
|
*/
|
|
10099
9939
|
labelAutoAlign?: boolean;
|
|
9940
|
+
/**
|
|
9941
|
+
* Render each series polygon stroke as a 3-stop vertical gradient
|
|
9942
|
+
* (lighter → base → darker) derived from the series color via
|
|
9943
|
+
* `color-mix(in oklab, …)`. Provides a subtle modern brightness ramp
|
|
9944
|
+
* without requiring palette knowledge. Opt-in; defaults to flat stroke.
|
|
9945
|
+
* @default false
|
|
9946
|
+
*/
|
|
9947
|
+
strokeGradient?: boolean;
|
|
9948
|
+
/**
|
|
9949
|
+
* Render data point fill as a per-series `<radialGradient>` (bright center
|
|
9950
|
+
* → series color edge) for a 3D-sphere look. Only applies when `showPoints`
|
|
9951
|
+
* is true (default).
|
|
9952
|
+
* @default false
|
|
9953
|
+
*/
|
|
9954
|
+
pointGradient?: boolean;
|
|
10100
9955
|
}
|
|
10101
9956
|
interface FunnelChartDatum extends ChartSeriesPoint {
|
|
10102
9957
|
/** Stage / step label */
|
|
@@ -10130,6 +9985,12 @@ interface FunnelChartProps extends BaseChartProps, ChartInteractionProps, ChartL
|
|
|
10130
9985
|
* Palette of colors
|
|
10131
9986
|
*/
|
|
10132
9987
|
colors?: string[];
|
|
9988
|
+
/**
|
|
9989
|
+
* Render each segment with a vertical alpha gradient (top opaque → bottom faded).
|
|
9990
|
+
* Opt-in; defaults to flat fill so existing visuals stay 1:1.
|
|
9991
|
+
* @default false
|
|
9992
|
+
*/
|
|
9993
|
+
gradient?: boolean;
|
|
10133
9994
|
}
|
|
10134
9995
|
interface GaugeChartProps extends BaseChartProps, ChartTooltipProps {
|
|
10135
9996
|
/**
|
|
@@ -10200,6 +10061,13 @@ interface GaugeChartProps extends BaseChartProps, ChartTooltipProps {
|
|
|
10200
10061
|
* Palette of colors
|
|
10201
10062
|
*/
|
|
10202
10063
|
colors?: string[];
|
|
10064
|
+
/**
|
|
10065
|
+
* When true, the value arc is rendered with a vertical alpha gradient
|
|
10066
|
+
* (top: full opacity → bottom: low opacity) using a per-instance
|
|
10067
|
+
* `<linearGradient>` definition. Opt-in; default keeps the solid arc fill.
|
|
10068
|
+
* @default false
|
|
10069
|
+
*/
|
|
10070
|
+
gradient?: boolean;
|
|
10203
10071
|
}
|
|
10204
10072
|
interface HeatmapChartDatum {
|
|
10205
10073
|
/** X-axis index or label */
|
|
@@ -10255,6 +10123,29 @@ interface HeatmapChartProps extends BaseChartProps, ChartInteractionProps, Chart
|
|
|
10255
10123
|
* Palette of colors
|
|
10256
10124
|
*/
|
|
10257
10125
|
colors?: string[];
|
|
10126
|
+
/**
|
|
10127
|
+
* Colour interpolation space for cell fills.
|
|
10128
|
+
* - `'rgb'` (default): legacy linear hex interpolation between
|
|
10129
|
+
* `minColor` and `maxColor`.
|
|
10130
|
+
* - `'oklch'`: emit a CSS `color-mix(in oklch, ...)` expression so the
|
|
10131
|
+
* browser performs perceptually-uniform shading. Recommended when
|
|
10132
|
+
* `minColor`/`maxColor` are CSS colour functions or theme tokens.
|
|
10133
|
+
* @default 'rgb'
|
|
10134
|
+
*/
|
|
10135
|
+
colorSpace?: 'rgb' | 'oklch';
|
|
10136
|
+
/**
|
|
10137
|
+
* Rendering backend for heatmap cells.
|
|
10138
|
+
* - `'svg'`: render one `<rect>` per cell.
|
|
10139
|
+
* - `'canvas'`: draw cells into a canvas layer for large matrices.
|
|
10140
|
+
* - `'auto'`: switch to canvas when cell count exceeds `canvasThreshold`.
|
|
10141
|
+
* @default 'auto'
|
|
10142
|
+
*/
|
|
10143
|
+
renderMode?: 'svg' | 'canvas' | 'auto';
|
|
10144
|
+
/**
|
|
10145
|
+
* Cell count threshold used when `renderMode` is `'auto'`.
|
|
10146
|
+
* @default 1000
|
|
10147
|
+
*/
|
|
10148
|
+
canvasThreshold?: number;
|
|
10258
10149
|
}
|
|
10259
10150
|
interface TreeMapChartDatum {
|
|
10260
10151
|
/** Node label */
|
|
@@ -10290,6 +10181,12 @@ interface TreeMapChartProps extends BaseChartProps, ChartInteractionProps, Chart
|
|
|
10290
10181
|
* Palette of colors
|
|
10291
10182
|
*/
|
|
10292
10183
|
colors?: string[];
|
|
10184
|
+
/**
|
|
10185
|
+
* Whether to apply a top-to-bottom alpha gradient to each node fill
|
|
10186
|
+
* for a subtle "lit from above" depth effect (opt-in, default `false`).
|
|
10187
|
+
* @default false
|
|
10188
|
+
*/
|
|
10189
|
+
gradient?: boolean;
|
|
10293
10190
|
}
|
|
10294
10191
|
interface SunburstChartDatum {
|
|
10295
10192
|
/** Arc label */
|
|
@@ -10320,19 +10217,20 @@ interface SunburstChartProps extends BaseChartProps, ChartInteractionProps, Char
|
|
|
10320
10217
|
* Palette of colors
|
|
10321
10218
|
*/
|
|
10322
10219
|
colors?: string[];
|
|
10220
|
+
/**
|
|
10221
|
+
* Whether to apply a top-to-bottom alpha gradient to each arc fill
|
|
10222
|
+
* for a subtle "lit from above" depth effect (opt-in, default `false`).
|
|
10223
|
+
* @default false
|
|
10224
|
+
*/
|
|
10225
|
+
gradient?: boolean;
|
|
10323
10226
|
}
|
|
10324
10227
|
|
|
10325
|
-
declare const chartCanvasBaseClasses = "block";
|
|
10326
|
-
declare const chartAxisLineClasses = "stroke-[color:var(--tiger-border,#e5e7eb)]";
|
|
10327
|
-
declare const chartAxisTickLineClasses = "stroke-[color:var(--tiger-border,#e5e7eb)]";
|
|
10328
|
-
declare const chartAxisTickTextClasses = "fill-[color:var(--tiger-text-secondary,#6b7280)] text-xs";
|
|
10329
|
-
declare const chartAxisLabelClasses = "fill-[color:var(--tiger-text,#374151)] text-xs font-medium";
|
|
10330
|
-
declare const chartGridLineClasses = "stroke-[color:var(--tiger-border,#e5e7eb)]";
|
|
10331
10228
|
/**
|
|
10332
|
-
*
|
|
10333
|
-
*
|
|
10229
|
+
* Chart scales (linear / point / band) + numeric extent + padding helpers.
|
|
10230
|
+
*
|
|
10231
|
+
* Split out of `chart-utils.ts` (PR-12).
|
|
10334
10232
|
*/
|
|
10335
|
-
|
|
10233
|
+
|
|
10336
10234
|
declare function normalizeChartPadding(padding?: ChartPadding): {
|
|
10337
10235
|
top: number;
|
|
10338
10236
|
right: number;
|
|
@@ -10348,17 +10246,40 @@ declare function getChartInnerRect(width: number, height: number, padding: Chart
|
|
|
10348
10246
|
declare function createLinearScale(domain: [number, number], range: [number, number]): ChartScale;
|
|
10349
10247
|
declare function createPointScale(domain: string[], range: [number, number], options?: PointScaleOptions): ChartScale;
|
|
10350
10248
|
declare function createBandScale(domain: string[], range: [number, number], options?: BandScaleOptions): ChartScale;
|
|
10249
|
+
declare function getNumberExtent(values: number[], options?: {
|
|
10250
|
+
includeZero?: boolean;
|
|
10251
|
+
fallback?: [number, number];
|
|
10252
|
+
padding?: number;
|
|
10253
|
+
}): [number, number];
|
|
10254
|
+
|
|
10255
|
+
/**
|
|
10256
|
+
* Chart axis tick generation + grid line dasharray.
|
|
10257
|
+
*
|
|
10258
|
+
* Split out of `chart-utils.ts` (PR-12).
|
|
10259
|
+
*/
|
|
10260
|
+
|
|
10351
10261
|
declare function getChartAxisTicks(scale: ChartScale, options?: {
|
|
10352
10262
|
tickCount?: number;
|
|
10353
10263
|
tickValues?: ChartScaleValue[];
|
|
10354
10264
|
tickFormat?: (value: ChartScaleValue) => string;
|
|
10355
10265
|
}): ChartAxisTick[];
|
|
10266
|
+
declare function clearChartAxisTickCache(): void;
|
|
10267
|
+
declare function getChartAxisTickCacheSize(): number;
|
|
10268
|
+
declare function getLinearChartTickValues(domain: number[], count: number): readonly number[];
|
|
10356
10269
|
declare function getChartGridLineDasharray(lineStyle: ChartGridLineStyle): string | undefined;
|
|
10357
|
-
|
|
10358
|
-
|
|
10359
|
-
|
|
10360
|
-
|
|
10361
|
-
|
|
10270
|
+
|
|
10271
|
+
/**
|
|
10272
|
+
* SVG path geometry for chart shapes:
|
|
10273
|
+
* pie / donut, radar polygon, line / area / step / monotone / natural,
|
|
10274
|
+
* scatter point, bar geometry helpers.
|
|
10275
|
+
*
|
|
10276
|
+
* Split out of `chart-utils.ts` (PR-12).
|
|
10277
|
+
*/
|
|
10278
|
+
|
|
10279
|
+
declare function polarToCartesian(cx: number, cy: number, radius: number, angle: number): {
|
|
10280
|
+
x: number;
|
|
10281
|
+
y: number;
|
|
10282
|
+
};
|
|
10362
10283
|
interface PieArcDatum<T> {
|
|
10363
10284
|
data: T;
|
|
10364
10285
|
value: number;
|
|
@@ -10367,6 +10288,8 @@ interface PieArcDatum<T> {
|
|
|
10367
10288
|
padAngle: number;
|
|
10368
10289
|
index: number;
|
|
10369
10290
|
}
|
|
10291
|
+
declare function clearPieArcCache(): void;
|
|
10292
|
+
declare function getPieArcCacheSize(): number;
|
|
10370
10293
|
declare function getPieArcs<T extends {
|
|
10371
10294
|
value: number;
|
|
10372
10295
|
}>(data: T[], options?: {
|
|
@@ -10374,10 +10297,6 @@ declare function getPieArcs<T extends {
|
|
|
10374
10297
|
endAngle?: number;
|
|
10375
10298
|
padAngle?: number;
|
|
10376
10299
|
}): PieArcDatum<T>[];
|
|
10377
|
-
declare function polarToCartesian(cx: number, cy: number, radius: number, angle: number): {
|
|
10378
|
-
x: number;
|
|
10379
|
-
y: number;
|
|
10380
|
-
};
|
|
10381
10300
|
declare function createPieArcPath(options: {
|
|
10382
10301
|
cx: number;
|
|
10383
10302
|
cy: number;
|
|
@@ -10413,12 +10332,6 @@ declare function computePieLabelLine(cx: number, cy: number, outerRadius: number
|
|
|
10413
10332
|
};
|
|
10414
10333
|
textAnchor: 'start' | 'end';
|
|
10415
10334
|
};
|
|
10416
|
-
/** Drop shadow filter value for emphasized pie slices */
|
|
10417
|
-
declare const PIE_EMPHASIS_SHADOW = "drop-shadow(0 4px 8px rgba(0,0,0,0.2))";
|
|
10418
|
-
declare const PIE_BASE_SHADOW = "drop-shadow(0 1px 2px rgba(0,0,0,0.06))";
|
|
10419
|
-
/** Enhanced donut-specific shadow – deeper & more diffuse for richer emphasis */
|
|
10420
|
-
declare const DONUT_EMPHASIS_SHADOW = "drop-shadow(0 8px 20px rgba(0,0,0,0.28)) drop-shadow(0 2px 6px rgba(0,0,0,0.12))";
|
|
10421
|
-
declare const DONUT_BASE_SHADOW = "drop-shadow(0 2px 8px rgba(0,0,0,0.10))";
|
|
10422
10335
|
declare function getRadarAngles(count: number, startAngle?: number): number[];
|
|
10423
10336
|
interface RadarPoint<T> {
|
|
10424
10337
|
data: T;
|
|
@@ -10450,31 +10363,6 @@ declare function getRadarLabelAlign(angle: number): {
|
|
|
10450
10363
|
textAnchor: 'start' | 'middle' | 'end';
|
|
10451
10364
|
dominantBaseline: 'auto' | 'middle' | 'hanging';
|
|
10452
10365
|
};
|
|
10453
|
-
/**
|
|
10454
|
-
* Default split area colors (subtle alternating fills – ECharts style)
|
|
10455
|
-
*/
|
|
10456
|
-
declare const RADAR_SPLIT_AREA_COLORS: string[];
|
|
10457
|
-
|
|
10458
|
-
/**
|
|
10459
|
-
* Generate a unique gradient ID prefix for a LineChart instance.
|
|
10460
|
-
*/
|
|
10461
|
-
declare function getLineGradientPrefix(): string;
|
|
10462
|
-
/**
|
|
10463
|
-
* Reset the line gradient counter (for testing only)
|
|
10464
|
-
*/
|
|
10465
|
-
declare function resetLineGradientCounter(): void;
|
|
10466
|
-
/**
|
|
10467
|
-
* Generate a unique gradient ID prefix for an AreaChart instance.
|
|
10468
|
-
*/
|
|
10469
|
-
declare function getAreaGradientPrefix(): string;
|
|
10470
|
-
/**
|
|
10471
|
-
* Reset the area gradient counter (for testing only)
|
|
10472
|
-
*/
|
|
10473
|
-
declare function resetAreaGradientCounter(): void;
|
|
10474
|
-
/**
|
|
10475
|
-
* CSS transition classes for line chart point hover
|
|
10476
|
-
*/
|
|
10477
|
-
declare const linePointTransitionClasses = "transition-all duration-200 ease-out";
|
|
10478
10366
|
/**
|
|
10479
10367
|
* Create a line path from points
|
|
10480
10368
|
*/
|
|
@@ -10489,26 +10377,6 @@ declare function createAreaPath(points: Array<{
|
|
|
10489
10377
|
x: number;
|
|
10490
10378
|
y: number;
|
|
10491
10379
|
}>, baseline: number, curve?: ChartCurveType): string;
|
|
10492
|
-
/**
|
|
10493
|
-
* Calculate stacked Y values for area charts
|
|
10494
|
-
*/
|
|
10495
|
-
declare function stackSeriesData<T extends {
|
|
10496
|
-
x: unknown;
|
|
10497
|
-
y: number;
|
|
10498
|
-
}>(seriesData: T[][]): {
|
|
10499
|
-
original: T;
|
|
10500
|
-
y0: number;
|
|
10501
|
-
y1: number;
|
|
10502
|
-
}[][];
|
|
10503
|
-
/**
|
|
10504
|
-
* Generate a unique gradient ID prefix for a BarChart instance.
|
|
10505
|
-
* Each BarChart must have its own prefix to avoid gradient ID collisions.
|
|
10506
|
-
*/
|
|
10507
|
-
declare function getBarGradientPrefix(): string;
|
|
10508
|
-
/**
|
|
10509
|
-
* Reset the gradient counter (for testing only)
|
|
10510
|
-
*/
|
|
10511
|
-
declare function resetBarGradientCounter(): void;
|
|
10512
10380
|
/**
|
|
10513
10381
|
* Clamp bar width to a maximum value
|
|
10514
10382
|
*/
|
|
@@ -10525,45 +10393,77 @@ declare function ensureBarMinHeight(barY: number, barHeight: number, baseline: n
|
|
|
10525
10393
|
* Get the Y coordinate for a value label on a bar
|
|
10526
10394
|
*/
|
|
10527
10395
|
declare function getBarValueLabelY(barY: number, barHeight: number, position: 'top' | 'inside', offset?: number): number;
|
|
10528
|
-
/**
|
|
10529
|
-
* CSS classes for value labels displayed on bars
|
|
10530
|
-
*/
|
|
10531
|
-
declare const barValueLabelClasses = "fill-[color:var(--tiger-text,#374151)] text-[11px] font-medium pointer-events-none select-none";
|
|
10532
|
-
/**
|
|
10533
|
-
* CSS classes for value labels inside bars (needs contrasting color)
|
|
10534
|
-
*/
|
|
10535
|
-
declare const barValueLabelInsideClasses = "fill-white text-[11px] font-medium pointer-events-none select-none";
|
|
10536
|
-
/**
|
|
10537
|
-
* CSS transition string for animated bars
|
|
10538
|
-
*/
|
|
10539
|
-
declare const barAnimatedTransition = "transition: y 600ms cubic-bezier(.4,0,.2,1), height 600ms cubic-bezier(.4,0,.2,1), opacity 200ms ease-out, filter 200ms ease-out";
|
|
10540
|
-
/**
|
|
10541
|
-
* Generate a unique gradient ID prefix for a ScatterChart instance.
|
|
10542
|
-
*/
|
|
10543
|
-
declare function getScatterGradientPrefix(): string;
|
|
10544
|
-
/**
|
|
10545
|
-
* Reset the scatter gradient counter (for testing only)
|
|
10546
|
-
*/
|
|
10547
|
-
declare function resetScatterGradientCounter(): void;
|
|
10548
|
-
/** CSS transition for scatter point hover */
|
|
10549
|
-
declare const scatterPointTransitionClasses = "transition-all duration-200 ease-out";
|
|
10550
|
-
/** Drop shadow filter for hovered scatter points */
|
|
10551
|
-
declare function getScatterHoverShadow(color: string): string;
|
|
10552
10396
|
/**
|
|
10553
10397
|
* Generate SVG path for different point shapes centered at (0, 0).
|
|
10554
10398
|
* Use with transform="translate(cx, cy)".
|
|
10555
10399
|
*/
|
|
10556
10400
|
declare function getScatterPointPath(style: 'square' | 'triangle' | 'diamond', size: number): string;
|
|
10401
|
+
|
|
10557
10402
|
/**
|
|
10558
|
-
*
|
|
10403
|
+
* Gradient ID factories + data formatting (stack) utilities for charts.
|
|
10404
|
+
*
|
|
10405
|
+
* Each chart family (line / area / bar / scatter) gets its own counter so
|
|
10406
|
+
* SVG <linearGradient> IDs never collide across instances.
|
|
10407
|
+
*
|
|
10408
|
+
* Split out of `chart-utils.ts` (PR-12).
|
|
10559
10409
|
*/
|
|
10560
|
-
|
|
10410
|
+
/** Generate a unique gradient ID prefix for a LineChart instance. */
|
|
10411
|
+
declare function getLineGradientPrefix(): string;
|
|
10412
|
+
/** Reset the line gradient counter (for testing only) */
|
|
10413
|
+
declare function resetLineGradientCounter(): void;
|
|
10414
|
+
/** Generate a unique gradient ID prefix for an AreaChart instance. */
|
|
10415
|
+
declare function getAreaGradientPrefix(): string;
|
|
10416
|
+
/** Reset the area gradient counter (for testing only) */
|
|
10417
|
+
declare function resetAreaGradientCounter(): void;
|
|
10561
10418
|
/**
|
|
10562
|
-
*
|
|
10563
|
-
*
|
|
10419
|
+
* Generate a unique gradient ID prefix for a BarChart instance.
|
|
10420
|
+
* Each BarChart must have its own prefix to avoid gradient ID collisions.
|
|
10564
10421
|
*/
|
|
10565
|
-
declare
|
|
10566
|
-
|
|
10422
|
+
declare function getBarGradientPrefix(): string;
|
|
10423
|
+
/** Reset the bar gradient counter (for testing only) */
|
|
10424
|
+
declare function resetBarGradientCounter(): void;
|
|
10425
|
+
/** Generate a unique gradient ID prefix for a ScatterChart instance. */
|
|
10426
|
+
declare function getScatterGradientPrefix(): string;
|
|
10427
|
+
/** Reset the scatter gradient counter (for testing only) */
|
|
10428
|
+
declare function resetScatterGradientCounter(): void;
|
|
10429
|
+
/** Generate a unique gradient ID prefix for a RadarChart instance. */
|
|
10430
|
+
declare function getRadarGradientPrefix(): string;
|
|
10431
|
+
/** Reset the radar gradient counter (for testing only) */
|
|
10432
|
+
declare function resetRadarGradientCounter(): void;
|
|
10433
|
+
/** Generate a unique gradient ID prefix for a GaugeChart instance. */
|
|
10434
|
+
declare function getGaugeGradientPrefix(): string;
|
|
10435
|
+
/** Reset the gauge gradient counter (for testing only) */
|
|
10436
|
+
declare function resetGaugeGradientCounter(): void;
|
|
10437
|
+
/** Generate a unique gradient ID prefix for a FunnelChart instance. */
|
|
10438
|
+
declare function getFunnelGradientPrefix(): string;
|
|
10439
|
+
/** Reset the funnel gradient counter (for testing only) */
|
|
10440
|
+
declare function resetFunnelGradientCounter(): void;
|
|
10441
|
+
/** Generate a unique gradient ID prefix for a TreeMapChart instance. */
|
|
10442
|
+
declare function getTreeMapGradientPrefix(): string;
|
|
10443
|
+
/** Reset the treemap gradient counter (for testing only) */
|
|
10444
|
+
declare function resetTreeMapGradientCounter(): void;
|
|
10445
|
+
/** Generate a unique gradient ID prefix for a SunburstChart instance. */
|
|
10446
|
+
declare function getSunburstGradientPrefix(): string;
|
|
10447
|
+
/** Reset the sunburst gradient counter (for testing only) */
|
|
10448
|
+
declare function resetSunburstGradientCounter(): void;
|
|
10449
|
+
/** Generate a unique gradient ID prefix for a PieChart instance. */
|
|
10450
|
+
declare function getPieGradientPrefix(): string;
|
|
10451
|
+
/** Reset the pie gradient counter (for testing only) */
|
|
10452
|
+
declare function resetPieGradientCounter(): void;
|
|
10453
|
+
/**
|
|
10454
|
+
* Calculate stacked Y values for area / bar charts.
|
|
10455
|
+
*
|
|
10456
|
+
* Returns per-series points with `y0` (base) and `y1` (top) computed from
|
|
10457
|
+
* the previous series at the same `x` value.
|
|
10458
|
+
*/
|
|
10459
|
+
declare function stackSeriesData<T extends {
|
|
10460
|
+
x: unknown;
|
|
10461
|
+
y: number;
|
|
10462
|
+
}>(seriesData: T[][]): {
|
|
10463
|
+
original: T;
|
|
10464
|
+
y0: number;
|
|
10465
|
+
y1: number;
|
|
10466
|
+
}[][];
|
|
10567
10467
|
|
|
10568
10468
|
/**
|
|
10569
10469
|
* Chart interaction utilities
|
|
@@ -10586,6 +10486,24 @@ interface ChartInteractionHandlers<T = unknown> {
|
|
|
10586
10486
|
onClick: (index: number, datum: T) => void;
|
|
10587
10487
|
onKeyDown: (event: KeyboardEvent, index: number, datum: T) => void;
|
|
10588
10488
|
}
|
|
10489
|
+
type ChartFrameCallback = (timestamp: number) => void;
|
|
10490
|
+
type ChartFrameRequest = (callback: ChartFrameCallback) => number;
|
|
10491
|
+
type ChartFrameCancel = (handle: number) => void;
|
|
10492
|
+
interface ChartTooltipPosition {
|
|
10493
|
+
x: number;
|
|
10494
|
+
y: number;
|
|
10495
|
+
}
|
|
10496
|
+
interface ChartPointerMoveSchedulerOptions {
|
|
10497
|
+
onPositionChange: (position: ChartTooltipPosition) => void;
|
|
10498
|
+
requestFrame?: ChartFrameRequest;
|
|
10499
|
+
cancelFrame?: ChartFrameCancel;
|
|
10500
|
+
}
|
|
10501
|
+
interface ChartPointerMoveScheduler {
|
|
10502
|
+
schedule: (position: ChartTooltipPosition) => void;
|
|
10503
|
+
flush: () => void;
|
|
10504
|
+
cancel: () => void;
|
|
10505
|
+
isPending: () => boolean;
|
|
10506
|
+
}
|
|
10589
10507
|
/**
|
|
10590
10508
|
* Options for chart interaction behavior
|
|
10591
10509
|
*/
|
|
@@ -10649,6 +10567,7 @@ declare const chartInteractiveClasses: {
|
|
|
10649
10567
|
selectable: string;
|
|
10650
10568
|
active: string;
|
|
10651
10569
|
};
|
|
10570
|
+
declare function createChartPointerMoveScheduler(options: ChartPointerMoveSchedulerOptions): ChartPointerMoveScheduler;
|
|
10652
10571
|
/**
|
|
10653
10572
|
* Chart animation configuration
|
|
10654
10573
|
*/
|
|
@@ -10690,6 +10609,11 @@ declare function getChartEntranceTransform(type: 'scale' | 'slide-up' | 'slide-l
|
|
|
10690
10609
|
* Shared chart helpers — palette, legend, tooltip, series normalisation.
|
|
10691
10610
|
*/
|
|
10692
10611
|
|
|
10612
|
+
interface BuildChartSeriesKeysOptions<T> {
|
|
10613
|
+
prefix?: string;
|
|
10614
|
+
getIdentity?: (series: T, index: number) => string | number | undefined;
|
|
10615
|
+
}
|
|
10616
|
+
declare function buildChartSeriesKeys<T>(series: readonly T[], options?: BuildChartSeriesKeysOptions<T>): string[];
|
|
10693
10617
|
/** Resolve palette: `colors` → `fallbackColor` → DEFAULT_CHART_COLORS. */
|
|
10694
10618
|
declare function resolveChartPalette(colors: string[] | undefined, fallbackColor?: string): string[];
|
|
10695
10619
|
interface BuildLegendItemsOptions<T> {
|
|
@@ -10703,6 +10627,10 @@ interface BuildLegendItemsOptions<T> {
|
|
|
10703
10627
|
declare function buildChartLegendItems<T>(options: BuildLegendItemsOptions<T>): ChartLegendItem[];
|
|
10704
10628
|
/** Resolve tooltip content for single-series charts (Bar, Scatter, Pie). */
|
|
10705
10629
|
declare function resolveChartTooltipContent<T>(hoveredIndex: number | null, data: T[], formatter: ((datum: T, index: number) => string) | undefined, defaultFormatter: (datum: T, index: number) => string): string;
|
|
10630
|
+
declare function getChartTooltipTransform(position: {
|
|
10631
|
+
x: number;
|
|
10632
|
+
y: number;
|
|
10633
|
+
}): string;
|
|
10706
10634
|
/** Resolve tooltip content for multi-series charts (Line, Area, Radar). */
|
|
10707
10635
|
declare function resolveMultiSeriesTooltipContent<TDatum, TSeries extends {
|
|
10708
10636
|
data: TDatum[];
|
|
@@ -10786,6 +10714,24 @@ interface GaugeArc {
|
|
|
10786
10714
|
/** SVG arc path `d` */
|
|
10787
10715
|
path: string;
|
|
10788
10716
|
}
|
|
10717
|
+
interface GaugeAnimationOptions {
|
|
10718
|
+
from: number;
|
|
10719
|
+
to: number;
|
|
10720
|
+
duration?: number;
|
|
10721
|
+
onUpdate: (angle: number) => void;
|
|
10722
|
+
onComplete?: () => void;
|
|
10723
|
+
requestAnimationFrame?: (cb: FrameRequestCallback) => number;
|
|
10724
|
+
cancelAnimationFrame?: (id: number) => void;
|
|
10725
|
+
}
|
|
10726
|
+
interface GaugeAnimationController {
|
|
10727
|
+
stop: () => void;
|
|
10728
|
+
}
|
|
10729
|
+
declare const GAUGE_ANIMATION_DURATION_MS = 600;
|
|
10730
|
+
/**
|
|
10731
|
+
* Animate a gauge value (angle) from `from` to `to` using rAF + easeOutCubic.
|
|
10732
|
+
* Returns a controller with a `stop()` method to cancel the animation.
|
|
10733
|
+
*/
|
|
10734
|
+
declare function createGaugeAnimation(options: GaugeAnimationOptions): GaugeAnimationController;
|
|
10789
10735
|
/**
|
|
10790
10736
|
* Create an SVG arc path for a gauge segment.
|
|
10791
10737
|
*
|
|
@@ -10841,10 +10787,30 @@ interface HeatmapCell {
|
|
|
10841
10787
|
/** y label */
|
|
10842
10788
|
yLabel: string;
|
|
10843
10789
|
}
|
|
10790
|
+
/**
|
|
10791
|
+
* Colour interpolation space. `'rgb'` (default) keeps backwards compatible
|
|
10792
|
+
* linear hex interpolation; `'oklch'` emits a CSS `color-mix(in oklch, ...)`
|
|
10793
|
+
* expression for perceptually uniform shading (delegated to the browser).
|
|
10794
|
+
*/
|
|
10795
|
+
type HeatmapColorSpace = 'rgb' | 'oklch';
|
|
10796
|
+
type HeatmapRenderMode = 'svg' | 'canvas' | 'auto';
|
|
10797
|
+
declare const DEFAULT_HEATMAP_CANVAS_THRESHOLD = 1000;
|
|
10798
|
+
declare function resolveHeatmapRenderMode(cellCount: number, options?: {
|
|
10799
|
+
renderMode?: HeatmapRenderMode;
|
|
10800
|
+
canvasThreshold?: number;
|
|
10801
|
+
}): Exclude<HeatmapRenderMode, 'auto'>;
|
|
10802
|
+
declare function getHeatmapCellIndexAtPoint(cells: readonly HeatmapCell[], x: number, y: number): number | null;
|
|
10844
10803
|
/**
|
|
10845
10804
|
* Linearly interpolate between two hex colours.
|
|
10846
10805
|
*/
|
|
10847
10806
|
declare function interpolateColor(minColor: string, maxColor: string, t: number): string;
|
|
10807
|
+
/**
|
|
10808
|
+
* Emit a CSS `color-mix(in oklch, ...)` expression that blends `maxColor`
|
|
10809
|
+
* (at `t * 100`%) with `minColor` (at `(1 - t) * 100`%). The browser performs
|
|
10810
|
+
* the actual perceptually-uniform interpolation at paint time. Accepts any
|
|
10811
|
+
* CSS colour string for both endpoints (hex, var(), color-mix(), etc.).
|
|
10812
|
+
*/
|
|
10813
|
+
declare function interpolateColorOklch(minColor: string, maxColor: string, t: number): string;
|
|
10848
10814
|
/**
|
|
10849
10815
|
* Compute heatmap cell rectangles from data.
|
|
10850
10816
|
*/
|
|
@@ -10856,6 +10822,13 @@ declare function computeHeatmapCells(data: HeatmapChartDatum[], opts: {
|
|
|
10856
10822
|
cellGap?: number;
|
|
10857
10823
|
minColor?: string;
|
|
10858
10824
|
maxColor?: string;
|
|
10825
|
+
/**
|
|
10826
|
+
* Colour interpolation space. `'rgb'` (default) keeps the legacy hex
|
|
10827
|
+
* lerp; `'oklch'` emits CSS `color-mix(in oklch, ...)` for perceptually
|
|
10828
|
+
* uniform shading. Opt-in to avoid changing the default visual.
|
|
10829
|
+
* @default 'rgb'
|
|
10830
|
+
*/
|
|
10831
|
+
colorSpace?: HeatmapColorSpace;
|
|
10859
10832
|
}): HeatmapCell[];
|
|
10860
10833
|
|
|
10861
10834
|
/**
|
|
@@ -10884,6 +10857,8 @@ interface TreeMapNode {
|
|
|
10884
10857
|
* Compute squarified treemap layout.
|
|
10885
10858
|
*
|
|
10886
10859
|
* Uses a simplified slice-and-dice approach for reliable results.
|
|
10860
|
+
* Layout is memoized: identical inputs (by reference for data/colors,
|
|
10861
|
+
* by value for scalars) return the cached result.
|
|
10887
10862
|
*/
|
|
10888
10863
|
declare function computeTreeMapNodes(data: TreeMapChartDatum[], opts: {
|
|
10889
10864
|
width: number;
|
|
@@ -10919,6 +10894,7 @@ interface SunburstArc {
|
|
|
10919
10894
|
}
|
|
10920
10895
|
/**
|
|
10921
10896
|
* Flatten hierarchical data into arc descriptors with depth levels.
|
|
10897
|
+
* Layout is memoized: identical inputs return the cached result.
|
|
10922
10898
|
*/
|
|
10923
10899
|
declare function computeSunburstArcs(data: SunburstChartDatum[], opts: {
|
|
10924
10900
|
cx: number;
|
|
@@ -11160,6 +11136,14 @@ declare const watermarkFontDefaults: Required<WatermarkFont>;
|
|
|
11160
11136
|
* Merge user font options with defaults.
|
|
11161
11137
|
*/
|
|
11162
11138
|
declare function resolveWatermarkFont(font?: WatermarkFont): Required<WatermarkFont>;
|
|
11139
|
+
interface WatermarkRenderOptions {
|
|
11140
|
+
content?: string | string[];
|
|
11141
|
+
image?: string;
|
|
11142
|
+
width: number;
|
|
11143
|
+
height: number;
|
|
11144
|
+
rotate: number;
|
|
11145
|
+
font: Required<WatermarkFont>;
|
|
11146
|
+
}
|
|
11163
11147
|
/**
|
|
11164
11148
|
* Render watermark content onto a canvas and return a data-URL.
|
|
11165
11149
|
*
|
|
@@ -11173,6 +11157,31 @@ declare function renderWatermarkCanvas(opts: {
|
|
|
11173
11157
|
rotate: number;
|
|
11174
11158
|
font: Required<WatermarkFont>;
|
|
11175
11159
|
}): string | undefined;
|
|
11160
|
+
declare function renderWatermarkDataUrl(opts: WatermarkRenderOptions): Promise<string | undefined>;
|
|
11161
|
+
type WatermarkFrameCallback = (timestamp: number) => void;
|
|
11162
|
+
type WatermarkFrameRequest = (callback: WatermarkFrameCallback) => number;
|
|
11163
|
+
type WatermarkFrameCancel = (handle: number) => void;
|
|
11164
|
+
interface WatermarkResizeObserverLike {
|
|
11165
|
+
observe: (target: Element) => void;
|
|
11166
|
+
disconnect: () => void;
|
|
11167
|
+
}
|
|
11168
|
+
type WatermarkResizeObserverFactory = (callback: ResizeObserverCallback) => WatermarkResizeObserverLike;
|
|
11169
|
+
interface WatermarkRenderControllerOptions {
|
|
11170
|
+
getRenderOptions: () => WatermarkRenderOptions;
|
|
11171
|
+
onRender: (base64Url: string | undefined) => void;
|
|
11172
|
+
requestFrame?: WatermarkFrameRequest;
|
|
11173
|
+
cancelFrame?: WatermarkFrameCancel;
|
|
11174
|
+
createResizeObserver?: WatermarkResizeObserverFactory;
|
|
11175
|
+
render?: (options: WatermarkRenderOptions) => Promise<string | undefined> | string | undefined;
|
|
11176
|
+
}
|
|
11177
|
+
interface WatermarkRenderController {
|
|
11178
|
+
render: () => void;
|
|
11179
|
+
observe: (target: Element) => void;
|
|
11180
|
+
disconnect: () => void;
|
|
11181
|
+
flush: () => Promise<void>;
|
|
11182
|
+
isPending: () => boolean;
|
|
11183
|
+
}
|
|
11184
|
+
declare function createWatermarkRenderController(options: WatermarkRenderControllerOptions): WatermarkRenderController;
|
|
11176
11185
|
declare const watermarkWrapperClasses = "relative";
|
|
11177
11186
|
/**
|
|
11178
11187
|
* Build the inline `style` object for the watermark overlay <div>.
|
|
@@ -11361,7 +11370,7 @@ interface TourProps {
|
|
|
11361
11370
|
/** Full-screen mask overlay */
|
|
11362
11371
|
declare const tourMaskClasses = "fixed inset-0 z-[1000] bg-black/45 transition-opacity duration-200";
|
|
11363
11372
|
/** Popover card */
|
|
11364
|
-
declare const tourPopoverClasses = "absolute z-[1001] w-80 rounded-
|
|
11373
|
+
declare const tourPopoverClasses = "absolute z-[1001] w-80 rounded-[var(--tiger-radius-md,0.5rem)] bg-[var(--tiger-surface-raised,#ffffff)] shadow-xl border border-[var(--tiger-border,#e5e7eb)] p-4";
|
|
11365
11374
|
/** Title */
|
|
11366
11375
|
declare const tourTitleClasses = "text-base font-semibold text-[var(--tiger-text,#111827)] mb-1";
|
|
11367
11376
|
/** Description */
|
|
@@ -11371,7 +11380,7 @@ declare const tourFooterClasses = "flex items-center justify-between";
|
|
|
11371
11380
|
/** Step indicator text */
|
|
11372
11381
|
declare const tourIndicatorClasses = "text-xs text-[var(--tiger-text-disabled,#9ca3af)]";
|
|
11373
11382
|
/** Close button */
|
|
11374
|
-
declare const tourCloseButtonClasses = "absolute top-2 right-2 p-1 rounded-
|
|
11383
|
+
declare const tourCloseButtonClasses = "absolute top-2 right-2 p-1 rounded-[var(--tiger-radius-md,0.5rem)] text-[var(--tiger-text-secondary,#6b7280)] hover:bg-[var(--tiger-surface-muted,#f9fafb)] transition-colors";
|
|
11375
11384
|
interface TourRect {
|
|
11376
11385
|
top: number;
|
|
11377
11386
|
left: number;
|
|
@@ -11435,6 +11444,28 @@ declare function resolveAffixTarget(selector?: string): {
|
|
|
11435
11444
|
bottom: number;
|
|
11436
11445
|
};
|
|
11437
11446
|
};
|
|
11447
|
+
interface AffixObserverOptions {
|
|
11448
|
+
/** Distance from top of root to start affixing (mutually exclusive with offsetBottom) */
|
|
11449
|
+
offsetTop?: number;
|
|
11450
|
+
/** Distance from bottom of root to start affixing (takes priority over offsetTop) */
|
|
11451
|
+
offsetBottom?: number;
|
|
11452
|
+
/** Scroll root. `null` = viewport. */
|
|
11453
|
+
root?: Element | null;
|
|
11454
|
+
/** Called whenever the affixed state toggles. */
|
|
11455
|
+
onToggle: (affixed: boolean) => void;
|
|
11456
|
+
}
|
|
11457
|
+
/**
|
|
11458
|
+
* Create an IntersectionObserver-based affix detector.
|
|
11459
|
+
*
|
|
11460
|
+
* The `sentinel` should be a zero-height marker placed at the original DOM
|
|
11461
|
+
* position of the affixed content. As the viewport scrolls past the sentinel
|
|
11462
|
+
* (offset by `rootMargin`), `onToggle(true)` fires; when it scrolls back,
|
|
11463
|
+
* `onToggle(false)` fires.
|
|
11464
|
+
*
|
|
11465
|
+
* Returns a teardown function. Safe to call when `IntersectionObserver` is
|
|
11466
|
+
* unavailable (returns a no-op cleanup).
|
|
11467
|
+
*/
|
|
11468
|
+
declare function createAffixObserver(sentinel: Element, options: AffixObserverOptions): () => void;
|
|
11438
11469
|
|
|
11439
11470
|
/**
|
|
11440
11471
|
* Transition system for Tigercat UI components.
|
|
@@ -11715,6 +11746,32 @@ interface ChatWindowProps {
|
|
|
11715
11746
|
* @default true
|
|
11716
11747
|
*/
|
|
11717
11748
|
clearOnSend?: boolean;
|
|
11749
|
+
/**
|
|
11750
|
+
* Enable virtualized rendering for the message list. Recommended when the
|
|
11751
|
+
* conversation has more than ~100 messages. When enabled, message item
|
|
11752
|
+
* heights are fixed (`virtualItemHeight`) and the list scroll height is
|
|
11753
|
+
* fixed (`virtualHeight`).
|
|
11754
|
+
* @default false
|
|
11755
|
+
* @since 1.x
|
|
11756
|
+
*/
|
|
11757
|
+
virtual?: boolean;
|
|
11758
|
+
/**
|
|
11759
|
+
* Pixel height of each virtualized message row.
|
|
11760
|
+
* @default 88
|
|
11761
|
+
*/
|
|
11762
|
+
virtualItemHeight?: number;
|
|
11763
|
+
/**
|
|
11764
|
+
* Pixel height of the virtualized message list viewport.
|
|
11765
|
+
* @default 400
|
|
11766
|
+
*/
|
|
11767
|
+
virtualHeight?: number;
|
|
11768
|
+
/**
|
|
11769
|
+
* Automatically scroll to the latest message when the list updates.
|
|
11770
|
+
* Uses `requestAnimationFrame` so it runs after the DOM has been painted.
|
|
11771
|
+
* @default true
|
|
11772
|
+
* @since 1.x
|
|
11773
|
+
*/
|
|
11774
|
+
autoScrollToBottom?: boolean;
|
|
11718
11775
|
/**
|
|
11719
11776
|
* Input change callback
|
|
11720
11777
|
*/
|
|
@@ -12451,7 +12508,7 @@ interface DataTableWithToolbarProps<T = Record<string, unknown>> extends Omit<Ta
|
|
|
12451
12508
|
* Pagination configuration
|
|
12452
12509
|
* Set to false to disable
|
|
12453
12510
|
*/
|
|
12454
|
-
pagination?:
|
|
12511
|
+
pagination?: PaginationConfig | false;
|
|
12455
12512
|
/**
|
|
12456
12513
|
* Page change callback
|
|
12457
12514
|
*/
|
|
@@ -12793,12 +12850,24 @@ interface ChatMessageStatusInfo {
|
|
|
12793
12850
|
declare const defaultChatMessageStatusInfo: Record<ChatMessageStatus, ChatMessageStatusInfo>;
|
|
12794
12851
|
declare function getChatMessageStatusInfo(status: ChatMessageStatus, statusMap?: Record<ChatMessageStatus, ChatMessageStatusInfo>): ChatMessageStatusInfo;
|
|
12795
12852
|
|
|
12853
|
+
/**
|
|
12854
|
+
* A TimelineItem that carries the source ActivityItem,
|
|
12855
|
+
* eliminating the need for unsafe casts in Vue/React renderers.
|
|
12856
|
+
*/
|
|
12857
|
+
interface ActivityTimelineItem extends TimelineItem {
|
|
12858
|
+
activity: ActivityItem;
|
|
12859
|
+
}
|
|
12860
|
+
declare const activityItemClasses = "tiger-activity-item";
|
|
12861
|
+
declare const activityItemLayoutClasses = "flex gap-3 items-start";
|
|
12862
|
+
declare const activityItemBodyClasses = "flex-1 min-w-0";
|
|
12863
|
+
declare const activityItemHeaderClasses = "flex items-center justify-between gap-2 mb-1";
|
|
12864
|
+
declare const activityItemTitleGroupClasses = "flex items-center gap-2 min-w-0";
|
|
12865
|
+
declare const activityItemDescriptionClasses = "mb-2 break-words";
|
|
12866
|
+
declare const activityItemActionsClasses = "flex flex-wrap gap-2";
|
|
12796
12867
|
declare const formatActivityTime: (value?: string | number | Date) => string;
|
|
12797
12868
|
declare const sortActivityGroups: (groups: ActivityGroup[], groupOrder?: string[]) => ActivityGroup[];
|
|
12798
12869
|
declare const buildActivityGroups: (items?: ActivityItem[], groups?: ActivityGroup[], groupBy?: (item: ActivityItem) => string, groupOrder?: string[]) => ActivityGroup[];
|
|
12799
|
-
declare const toActivityTimelineItems: (items: ActivityItem[]) =>
|
|
12800
|
-
activity: ActivityItem;
|
|
12801
|
-
})[];
|
|
12870
|
+
declare const toActivityTimelineItems: (items: ActivityItem[]) => ActivityTimelineItem[];
|
|
12802
12871
|
|
|
12803
12872
|
/**
|
|
12804
12873
|
* NotificationCenter component utilities
|
|
@@ -12819,13 +12888,13 @@ declare const formatCommentTime: (value?: string | number | Date) => string;
|
|
|
12819
12888
|
/** Root wrapper — horizontal scroll container */
|
|
12820
12889
|
declare const taskBoardBaseClasses = "tiger-task-board flex gap-4 overflow-x-auto p-4 min-h-[400px]";
|
|
12821
12890
|
/** Single column shell */
|
|
12822
|
-
declare const taskBoardColumnClasses = "tiger-task-board-column flex flex-col shrink-0 w-72 rounded-
|
|
12891
|
+
declare const taskBoardColumnClasses = "tiger-task-board-column flex flex-col shrink-0 w-72 rounded-[var(--tiger-radius-md,0.5rem)] border border-[var(--tiger-border,#e5e7eb)] bg-[var(--tiger-surface,#ffffff)] shadow-sm transition-shadow";
|
|
12823
12892
|
/** Column header (sticky, never scrolls) */
|
|
12824
12893
|
declare const taskBoardColumnHeaderClasses = "flex items-center justify-between px-3 py-2 border-b border-[var(--tiger-border,#e5e7eb)] text-sm font-semibold text-[var(--tiger-text,#1f2937)] select-none";
|
|
12825
12894
|
/** Scrollable card area */
|
|
12826
12895
|
declare const taskBoardColumnBodyClasses = "flex-1 overflow-y-auto p-2 space-y-2 min-h-[80px]";
|
|
12827
12896
|
/** Card base styles */
|
|
12828
|
-
declare const taskBoardCardClasses = "tiger-task-board-card rounded-
|
|
12897
|
+
declare const taskBoardCardClasses = "tiger-task-board-card rounded-[var(--tiger-radius-md,0.5rem)] border border-[var(--tiger-border,#e5e7eb)] bg-[var(--tiger-surface,#ffffff)] p-3 shadow-sm cursor-grab select-none transition-opacity";
|
|
12829
12898
|
/** Card while being dragged */
|
|
12830
12899
|
declare const taskBoardCardDraggingClasses = "opacity-50 shadow-lg";
|
|
12831
12900
|
/** Thin line indicating the drop position */
|
|
@@ -12920,6 +12989,73 @@ declare function createTouchDragTracker(): TouchDragTracker;
|
|
|
12920
12989
|
*/
|
|
12921
12990
|
declare function findColumnFromPoint(x: number, y: number, boardEl: HTMLElement | null): HTMLElement | null;
|
|
12922
12991
|
|
|
12992
|
+
/**
|
|
12993
|
+
* TaskBoard Drag Controller — unified HTML5 DnD + touch + keyboard
|
|
12994
|
+
*
|
|
12995
|
+
* Framework-agnostic headless controller that manages all drag state and
|
|
12996
|
+
* interaction logic. Vue / React components create one instance and wire
|
|
12997
|
+
* its methods to DOM events, eliminating ~200 lines of duplicated handler
|
|
12998
|
+
* code per framework.
|
|
12999
|
+
*/
|
|
13000
|
+
|
|
13001
|
+
/** Readonly snapshot of the controller's drag state */
|
|
13002
|
+
interface TaskBoardDragSnapshot {
|
|
13003
|
+
/** Currently active drag (null when idle) */
|
|
13004
|
+
drag: TaskBoardDragState | null;
|
|
13005
|
+
/** Column the pointer is hovering over (card-drag only) */
|
|
13006
|
+
dropTargetColumnId: string | number | null;
|
|
13007
|
+
/** Insertion index within the drop target column */
|
|
13008
|
+
dropIndex: number;
|
|
13009
|
+
/** Keyboard grab state (Enter/Space toggle) — separate from pointer drag */
|
|
13010
|
+
kbDrag: TaskBoardDragState | null;
|
|
13011
|
+
}
|
|
13012
|
+
/** Callbacks the controller invokes to apply moves and notify state changes */
|
|
13013
|
+
interface TaskBoardDragCallbacks {
|
|
13014
|
+
/** Called when state changes — framework should persist in reactive state */
|
|
13015
|
+
onStateChange(snapshot: TaskBoardDragSnapshot): void;
|
|
13016
|
+
/** Apply a card move (may be async for beforeCardMove validation) */
|
|
13017
|
+
applyCardMove(cardId: string | number, fromColumnId: string | number, toColumnId: string | number, toIndex: number): void;
|
|
13018
|
+
/** Apply a column move */
|
|
13019
|
+
applyColumnMove(fromIndex: number, toIndex: number): void;
|
|
13020
|
+
/** Return the board root element (for hit-testing) */
|
|
13021
|
+
getBoardEl(): HTMLElement | null;
|
|
13022
|
+
/** Return current column count (for clamping column drop index) */
|
|
13023
|
+
getColumnCount(): number;
|
|
13024
|
+
}
|
|
13025
|
+
/** Mutable options — updated when draggable / columnDraggable props change */
|
|
13026
|
+
interface TaskBoardDragOptions {
|
|
13027
|
+
draggable: boolean;
|
|
13028
|
+
columnDraggable: boolean;
|
|
13029
|
+
}
|
|
13030
|
+
/** The controller interface returned by createTaskBoardDragController */
|
|
13031
|
+
interface TaskBoardDragController {
|
|
13032
|
+
/** Current snapshot (read-only) */
|
|
13033
|
+
getSnapshot(): TaskBoardDragSnapshot;
|
|
13034
|
+
/** Lifecycle */
|
|
13035
|
+
init(): void;
|
|
13036
|
+
dispose(): void;
|
|
13037
|
+
/** Update options (called when props change) */
|
|
13038
|
+
setOptions(opts: Partial<TaskBoardDragOptions>): void;
|
|
13039
|
+
cardDragStart(dt: DataTransfer, card: TaskBoardCard, column: TaskBoardColumn): void;
|
|
13040
|
+
cardDragOver(clientY: number, bodyEl: HTMLElement, column: TaskBoardColumn): void;
|
|
13041
|
+
cardDrop(dt: DataTransfer, column: TaskBoardColumn): void;
|
|
13042
|
+
columnDragStart(dt: DataTransfer, column: TaskBoardColumn, index: number): void;
|
|
13043
|
+
columnDragOver(): void;
|
|
13044
|
+
columnDrop(dt: DataTransfer, clientX: number): void;
|
|
13045
|
+
dragEnd(): void;
|
|
13046
|
+
dragLeave(currentTarget: HTMLElement, relatedTarget: Element | null): void;
|
|
13047
|
+
cardTouchStart(nativeEvent: TouchEvent, sourceEl: HTMLElement, card: TaskBoardCard, column: TaskBoardColumn): void;
|
|
13048
|
+
cardTouchMove(nativeEvent: TouchEvent): void;
|
|
13049
|
+
cardTouchEnd(): void;
|
|
13050
|
+
columnTouchStart(nativeEvent: TouchEvent, sourceEl: HTMLElement, column: TaskBoardColumn, index: number): void;
|
|
13051
|
+
columnTouchMove(nativeEvent: TouchEvent): void;
|
|
13052
|
+
columnTouchEnd(): void;
|
|
13053
|
+
/** Returns true if the event was handled (caller should preventDefault) */
|
|
13054
|
+
cardKeyDown(key: string, card: TaskBoardCard, column: TaskBoardColumn): boolean;
|
|
13055
|
+
}
|
|
13056
|
+
declare function createDefaultDragSnapshot(): TaskBoardDragSnapshot;
|
|
13057
|
+
declare function createTaskBoardDragController(callbacks: TaskBoardDragCallbacks, initialOptions?: Partial<TaskBoardDragOptions>): TaskBoardDragController;
|
|
13058
|
+
|
|
12923
13059
|
/**
|
|
12924
13060
|
* Cascader component types and interfaces
|
|
12925
13061
|
*/
|
|
@@ -13044,7 +13180,7 @@ declare const cascaderBaseClasses = "relative inline-block w-full";
|
|
|
13044
13180
|
/**
|
|
13045
13181
|
* Cascader dropdown panel classes
|
|
13046
13182
|
*/
|
|
13047
|
-
declare const cascaderDropdownClasses = "absolute z-50 mt-1 flex bg-[var(--tiger-cascader-dropdown-bg,var(--tiger-surface,#ffffff))] border border-[var(--tiger-cascader-dropdown-border,var(--tiger-border,#e5e7eb))] rounded-
|
|
13183
|
+
declare const cascaderDropdownClasses = "absolute z-50 mt-1 flex bg-[var(--tiger-cascader-dropdown-bg,var(--tiger-surface,#ffffff))] border border-[var(--tiger-cascader-dropdown-border,var(--tiger-border,#e5e7eb))] rounded-[var(--tiger-radius-lg,0.75rem)] shadow-lg";
|
|
13048
13184
|
/**
|
|
13049
13185
|
* Cascader column (single level) classes
|
|
13050
13186
|
*/
|
|
@@ -13170,7 +13306,7 @@ declare const autoCompleteBaseClasses = "relative inline-block w-full";
|
|
|
13170
13306
|
/**
|
|
13171
13307
|
* AutoComplete dropdown panel classes
|
|
13172
13308
|
*/
|
|
13173
|
-
declare const autoCompleteDropdownClasses = "absolute z-50 w-full mt-1 bg-[var(--tiger-autocomplete-dropdown-bg,var(--tiger-surface,#ffffff))] border border-[var(--tiger-autocomplete-dropdown-border,var(--tiger-border,#d1d5db))] rounded-
|
|
13309
|
+
declare const autoCompleteDropdownClasses = "absolute z-50 w-full mt-1 bg-[var(--tiger-autocomplete-dropdown-bg,var(--tiger-surface,#ffffff))] border border-[var(--tiger-autocomplete-dropdown-border,var(--tiger-border,#d1d5db))] rounded-[var(--tiger-radius-md,0.5rem)] shadow-lg max-h-60 overflow-auto";
|
|
13174
13310
|
/**
|
|
13175
13311
|
* AutoComplete option base classes
|
|
13176
13312
|
*/
|
|
@@ -13196,6 +13332,71 @@ declare function defaultAutoCompleteFilter(inputValue: string, option: AutoCompl
|
|
|
13196
13332
|
*/
|
|
13197
13333
|
declare function filterAutoCompleteOptions(options: AutoCompleteOption[], inputValue: string, filterOption?: boolean | ((inputValue: string, option: AutoCompleteOption) => boolean)): AutoCompleteOption[];
|
|
13198
13334
|
|
|
13335
|
+
/**
|
|
13336
|
+
* Picker utilities — shared keyboard-navigation helpers for combobox-style
|
|
13337
|
+
* components (Select, AutoComplete, Cascader, TreeSelect, Transfer).
|
|
13338
|
+
*
|
|
13339
|
+
* These helpers operate on a flat array of renderable items and skip items
|
|
13340
|
+
* that report `disabled` via the supplied predicate.
|
|
13341
|
+
*/
|
|
13342
|
+
type IsItemDisabled<T> = (item: T) => boolean;
|
|
13343
|
+
interface PickerComboboxAriaOptions {
|
|
13344
|
+
expanded: boolean;
|
|
13345
|
+
listboxId: string;
|
|
13346
|
+
activeIndex?: number;
|
|
13347
|
+
activeOptionId?: string;
|
|
13348
|
+
}
|
|
13349
|
+
interface PickerListboxAriaOptions {
|
|
13350
|
+
id?: string;
|
|
13351
|
+
label?: string;
|
|
13352
|
+
}
|
|
13353
|
+
interface PickerOptionAriaOptions {
|
|
13354
|
+
selected?: boolean;
|
|
13355
|
+
disabled?: boolean;
|
|
13356
|
+
}
|
|
13357
|
+
type PickerTriggerKeyAction = 'open' | 'close' | 'toggle' | 'none';
|
|
13358
|
+
/**
|
|
13359
|
+
* Find the first index whose item is enabled.
|
|
13360
|
+
* Returns -1 when the list is empty or every item is disabled.
|
|
13361
|
+
*/
|
|
13362
|
+
declare function findFirstEnabledIndex<T>(items: readonly T[], isDisabled?: IsItemDisabled<T>): number;
|
|
13363
|
+
/**
|
|
13364
|
+
* Find the last index whose item is enabled.
|
|
13365
|
+
* Returns -1 when the list is empty or every item is disabled.
|
|
13366
|
+
*/
|
|
13367
|
+
declare function findLastEnabledIndex<T>(items: readonly T[], isDisabled?: IsItemDisabled<T>): number;
|
|
13368
|
+
/**
|
|
13369
|
+
* Find the next enabled index in the given direction.
|
|
13370
|
+
*
|
|
13371
|
+
* - When `current < 0`, navigation starts from the head (direction 1) or
|
|
13372
|
+
* the tail (direction -1).
|
|
13373
|
+
* - When no enabled item exists in the requested direction, returns
|
|
13374
|
+
* `current` unchanged (matches the "stay where you are" UX of Select).
|
|
13375
|
+
* - Returns -1 when the list is empty.
|
|
13376
|
+
*/
|
|
13377
|
+
declare function findNextEnabledIndex<T>(items: readonly T[], current: number, direction: 1 | -1, isDisabled?: IsItemDisabled<T>): number;
|
|
13378
|
+
declare function getInitialPickerActiveIndex<T>(items: readonly T[], activeFirst: boolean, isDisabled?: IsItemDisabled<T>): number;
|
|
13379
|
+
declare function getPickerNavigationIndex<T>(items: readonly T[], current: number, key: string, isDisabled?: IsItemDisabled<T>): number;
|
|
13380
|
+
declare function getPickerOptionId(listboxId: string, index: number): string;
|
|
13381
|
+
declare function getPickerComboboxAria({ expanded, listboxId, activeIndex, activeOptionId }: PickerComboboxAriaOptions): {
|
|
13382
|
+
role: 'combobox';
|
|
13383
|
+
'aria-expanded': boolean;
|
|
13384
|
+
'aria-haspopup': 'listbox';
|
|
13385
|
+
'aria-controls': string | undefined;
|
|
13386
|
+
'aria-activedescendant': string | undefined;
|
|
13387
|
+
};
|
|
13388
|
+
declare function getPickerListboxAria({ id, label }?: PickerListboxAriaOptions): {
|
|
13389
|
+
id: string | undefined;
|
|
13390
|
+
role: 'listbox';
|
|
13391
|
+
'aria-label': string | undefined;
|
|
13392
|
+
};
|
|
13393
|
+
declare function getPickerOptionAria({ selected, disabled }: PickerOptionAriaOptions): {
|
|
13394
|
+
role: 'option';
|
|
13395
|
+
'aria-selected': boolean;
|
|
13396
|
+
'aria-disabled': boolean | undefined;
|
|
13397
|
+
};
|
|
13398
|
+
declare function getPickerTriggerKeyAction(key: string, expanded: boolean): PickerTriggerKeyAction;
|
|
13399
|
+
|
|
13199
13400
|
/**
|
|
13200
13401
|
* Transfer item data
|
|
13201
13402
|
*/
|
|
@@ -13244,7 +13445,7 @@ interface TransferProps {
|
|
|
13244
13445
|
}
|
|
13245
13446
|
|
|
13246
13447
|
declare const transferBaseClasses = "flex items-stretch gap-4";
|
|
13247
|
-
declare const transferPanelClasses = "flex-1 min-w-0 border border-[var(--tiger-transfer-border,var(--tiger-border,#d1d5db))] rounded-
|
|
13448
|
+
declare const transferPanelClasses = "flex-1 min-w-0 border border-[var(--tiger-transfer-border,var(--tiger-border,#d1d5db))] rounded-[var(--tiger-radius-md,0.5rem)] overflow-hidden flex flex-col bg-[var(--tiger-transfer-bg,var(--tiger-surface,#ffffff))]";
|
|
13248
13449
|
declare const transferPanelHeaderClasses = "flex items-center justify-between px-3 py-2 border-b border-[var(--tiger-transfer-border,var(--tiger-border,#d1d5db))] bg-[var(--tiger-transfer-header-bg,var(--tiger-surface-muted,#f9fafb))]";
|
|
13249
13450
|
declare const transferPanelBodyClasses = "flex-1 overflow-auto min-h-[200px]";
|
|
13250
13451
|
declare const transferSearchClasses = "w-full px-3 py-1.5 border-b border-[var(--tiger-transfer-border,var(--tiger-border,#d1d5db))] text-sm bg-[var(--tiger-transfer-bg,var(--tiger-surface,#ffffff))] text-[var(--tiger-transfer-text,var(--tiger-text,#111827))] outline-none placeholder:text-[var(--tiger-transfer-placeholder,var(--tiger-text-muted,#9ca3af))]";
|
|
@@ -13304,7 +13505,7 @@ interface TreeSelectProps {
|
|
|
13304
13505
|
}
|
|
13305
13506
|
|
|
13306
13507
|
declare const treeSelectBaseClasses = "relative inline-block w-full";
|
|
13307
|
-
declare const treeSelectDropdownClasses = "absolute z-50 w-full mt-1 bg-[var(--tiger-treeselect-dropdown-bg,var(--tiger-surface,#ffffff))] border border-[var(--tiger-treeselect-dropdown-border,var(--tiger-border,#d1d5db))] rounded-
|
|
13508
|
+
declare const treeSelectDropdownClasses = "absolute z-50 w-full mt-1 bg-[var(--tiger-treeselect-dropdown-bg,var(--tiger-surface,#ffffff))] border border-[var(--tiger-treeselect-dropdown-border,var(--tiger-border,#d1d5db))] rounded-[var(--tiger-radius-md,0.5rem)] shadow-lg max-h-60 overflow-auto";
|
|
13308
13509
|
declare const treeSelectSearchClasses = "w-full px-3 py-1.5 border-b border-[var(--tiger-treeselect-border,var(--tiger-border,#d1d5db))] text-sm bg-[var(--tiger-treeselect-bg,var(--tiger-surface,#ffffff))] text-[var(--tiger-treeselect-text,var(--tiger-text,#111827))] outline-none placeholder:text-[var(--tiger-treeselect-placeholder,var(--tiger-text-muted,#9ca3af))]";
|
|
13309
13510
|
declare const treeSelectEmptyClasses = "px-3 py-4 text-center text-[var(--tiger-treeselect-empty-text,var(--tiger-text-muted,#9ca3af))]";
|
|
13310
13511
|
declare const treeSelectNodeBaseClasses = "flex items-center px-2 py-1.5 cursor-pointer rounded transition-colors";
|
|
@@ -13402,7 +13603,19 @@ interface SegmentedProps {
|
|
|
13402
13603
|
className?: string;
|
|
13403
13604
|
}
|
|
13404
13605
|
|
|
13606
|
+
interface SegmentedIndicatorStyle {
|
|
13607
|
+
left: string;
|
|
13608
|
+
width: string;
|
|
13609
|
+
transform: string;
|
|
13610
|
+
opacity: string;
|
|
13611
|
+
}
|
|
13612
|
+
interface SegmentedContainerStyle {
|
|
13613
|
+
gridTemplateColumns: string;
|
|
13614
|
+
}
|
|
13405
13615
|
declare function getSegmentedContainerClasses(size: SegmentedSize, block: boolean): string;
|
|
13616
|
+
declare function getSegmentedContainerStyle(optionCount: number): SegmentedContainerStyle;
|
|
13617
|
+
declare function getSegmentedIndicatorClasses(size: SegmentedSize): string;
|
|
13618
|
+
declare function getSegmentedIndicatorStyle(selectedIndex: number, optionCount: number, size: SegmentedSize): SegmentedIndicatorStyle;
|
|
13406
13619
|
declare function getSegmentedOptionClasses(size: SegmentedSize, isSelected: boolean, isDisabled: boolean): string;
|
|
13407
13620
|
|
|
13408
13621
|
/**
|
|
@@ -13425,17 +13638,38 @@ interface StatisticProps {
|
|
|
13425
13638
|
suffix?: string;
|
|
13426
13639
|
/** Whether to show grouping separator (e.g. 1,000) */
|
|
13427
13640
|
groupSeparator?: boolean;
|
|
13641
|
+
/** Whether to animate numeric values */
|
|
13642
|
+
animated?: boolean;
|
|
13643
|
+
/** Numeric animation duration in milliseconds */
|
|
13644
|
+
animationDuration?: number;
|
|
13428
13645
|
/** Component size */
|
|
13429
13646
|
size?: StatisticSize;
|
|
13430
13647
|
/** Custom class name */
|
|
13431
13648
|
className?: string;
|
|
13432
13649
|
}
|
|
13433
13650
|
|
|
13651
|
+
interface StatisticNumberAnimationOptions {
|
|
13652
|
+
from: number;
|
|
13653
|
+
to: number;
|
|
13654
|
+
duration?: number;
|
|
13655
|
+
onUpdate: (value: number) => void;
|
|
13656
|
+
onComplete?: () => void;
|
|
13657
|
+
requestAnimationFrame?: (callback: FrameRequestCallback) => number;
|
|
13658
|
+
cancelAnimationFrame?: (handle: number) => void;
|
|
13659
|
+
}
|
|
13660
|
+
interface StatisticNumberAnimationController {
|
|
13661
|
+
stop: () => void;
|
|
13662
|
+
}
|
|
13434
13663
|
declare const statisticBaseClasses = "inline-block";
|
|
13435
13664
|
declare function getStatisticTitleClasses(size: StatisticSize): string;
|
|
13436
13665
|
declare function getStatisticValueClasses(size: StatisticSize): string;
|
|
13437
13666
|
declare const statisticPrefixClasses = "mr-1 text-[var(--tiger-statistic-prefix,var(--tiger-text,#111827))]";
|
|
13438
13667
|
declare const statisticSuffixClasses = "ml-1 text-[var(--tiger-statistic-suffix,var(--tiger-text-muted,#6b7280))]";
|
|
13668
|
+
declare const STATISTIC_ANIMATION_DURATION_MS = 800;
|
|
13669
|
+
declare function easeOutCubic(progress: number): number;
|
|
13670
|
+
declare function interpolateStatisticValue(from: number, to: number, progress: number): number;
|
|
13671
|
+
declare function canAnimateStatisticValue(value: string | number | undefined): value is number;
|
|
13672
|
+
declare function createStatisticNumberAnimation(options: StatisticNumberAnimationOptions): StatisticNumberAnimationController;
|
|
13439
13673
|
declare function formatStatisticValue(value: string | number | undefined, precision: number | undefined, groupSeparator: boolean): string;
|
|
13440
13674
|
|
|
13441
13675
|
/**
|
|
@@ -13487,18 +13721,84 @@ declare function hsvToRgb(h: number, s: number, v: number): RgbColor;
|
|
|
13487
13721
|
declare function formatColorString(r: number, g: number, b: number, format: 'hex' | 'rgb' | 'hsl', alpha?: number): string;
|
|
13488
13722
|
declare function isValidHex(value: string): boolean;
|
|
13489
13723
|
|
|
13490
|
-
|
|
13491
|
-
|
|
13724
|
+
/**
|
|
13725
|
+
* VirtualList item height mode
|
|
13726
|
+
*/
|
|
13727
|
+
type VirtualListItemSize = 'fixed' | 'variable' | 'dynamic';
|
|
13728
|
+
/**
|
|
13729
|
+
* Virtual range result returned by size strategies
|
|
13730
|
+
*/
|
|
13492
13731
|
interface VirtualRange {
|
|
13493
13732
|
startIndex: number;
|
|
13494
13733
|
endIndex: number;
|
|
13495
13734
|
offsetTop: number;
|
|
13496
13735
|
totalHeight: number;
|
|
13497
13736
|
}
|
|
13737
|
+
/**
|
|
13738
|
+
* Size strategy interface — the single abstraction consumed by
|
|
13739
|
+
* Vue / React VirtualList components.
|
|
13740
|
+
*
|
|
13741
|
+
* Implementations:
|
|
13742
|
+
* - fixedSizeStrategy: all items share the same height
|
|
13743
|
+
* - variableSizeStrategy: height per item is known upfront via a function
|
|
13744
|
+
* - dynamicSizeStrategy: uses estimatedHeight initially, updates after DOM measurement
|
|
13745
|
+
*/
|
|
13746
|
+
interface VirtualListSizeStrategy {
|
|
13747
|
+
/** Compute the visible range given current scroll state */
|
|
13748
|
+
getRange(scrollTop: number, containerHeight: number, itemCount: number, overscan: number): VirtualRange;
|
|
13749
|
+
/** Get height for a specific item index */
|
|
13750
|
+
getItemHeight(index: number): number;
|
|
13751
|
+
/** Get the Y offset for a specific item index */
|
|
13752
|
+
getItemOffset(index: number): number;
|
|
13753
|
+
/** Notify the strategy that an item was measured in the DOM (dynamic mode) */
|
|
13754
|
+
updateItemHeight?(index: number, measuredHeight: number): void;
|
|
13755
|
+
}
|
|
13756
|
+
/**
|
|
13757
|
+
* Shared VirtualList props (framework-agnostic)
|
|
13758
|
+
*/
|
|
13759
|
+
interface VirtualListProps {
|
|
13760
|
+
/** Total number of items */
|
|
13761
|
+
itemCount?: number;
|
|
13762
|
+
/** Fixed item height (px) — used when itemSize is 'fixed' */
|
|
13763
|
+
itemHeight?: number;
|
|
13764
|
+
/** Estimated item height for variable-height mode */
|
|
13765
|
+
estimatedItemHeight?: number;
|
|
13766
|
+
/** Function returning the height for a given index (variable mode) */
|
|
13767
|
+
getItemHeight?: (index: number) => number;
|
|
13768
|
+
/** Custom size strategy — overrides itemSize / itemHeight / getItemHeight */
|
|
13769
|
+
sizeStrategy?: VirtualListSizeStrategy;
|
|
13770
|
+
/** Visible container height (px) */
|
|
13771
|
+
height?: number;
|
|
13772
|
+
/** Overscan count: extra items to render above/below viewport */
|
|
13773
|
+
overscan?: number;
|
|
13774
|
+
/** Custom class name */
|
|
13775
|
+
className?: string;
|
|
13776
|
+
}
|
|
13777
|
+
|
|
13778
|
+
declare const virtualListContainerClasses: string;
|
|
13779
|
+
declare const virtualListInnerClasses = "relative w-full";
|
|
13780
|
+
|
|
13498
13781
|
/**
|
|
13499
13782
|
* Calculate visible range for fixed-height items
|
|
13500
13783
|
*/
|
|
13501
13784
|
declare function getFixedVirtualRange(scrollTop: number, containerHeight: number, itemHeight: number, itemCount: number, overscan: number): VirtualRange;
|
|
13785
|
+
/**
|
|
13786
|
+
* Fixed-size strategy: all items share the same height.
|
|
13787
|
+
*/
|
|
13788
|
+
declare function fixedSizeStrategy(itemHeight: number): VirtualListSizeStrategy;
|
|
13789
|
+
/**
|
|
13790
|
+
* Variable-size strategy: height per item is known upfront via a function.
|
|
13791
|
+
*
|
|
13792
|
+
* Internally builds a prefix-sum offset cache for O(log n) lookups.
|
|
13793
|
+
*/
|
|
13794
|
+
declare function variableSizeStrategy(getHeight: (index: number) => number, itemCount: number): VirtualListSizeStrategy;
|
|
13795
|
+
/**
|
|
13796
|
+
* Dynamic-size strategy: uses estimatedHeight initially, then updates
|
|
13797
|
+
* offsets as items are measured in the DOM.
|
|
13798
|
+
*
|
|
13799
|
+
* Call `updateItemHeight(index, measuredHeight)` after rendering each item.
|
|
13800
|
+
*/
|
|
13801
|
+
declare function dynamicSizeStrategy(estimatedHeight: number, itemCount: number): VirtualListSizeStrategy;
|
|
13502
13802
|
|
|
13503
13803
|
/**
|
|
13504
13804
|
* Stepper size variants
|
|
@@ -13580,6 +13880,10 @@ interface MentionsProps {
|
|
|
13580
13880
|
|
|
13581
13881
|
declare function getMentionsInputClasses(size: MentionsSize, disabled: boolean): string;
|
|
13582
13882
|
declare const mentionsDropdownClasses: string;
|
|
13883
|
+
interface PositionMentionsDropdownOptions extends FloatingOptions {
|
|
13884
|
+
matchReferenceWidth?: boolean;
|
|
13885
|
+
}
|
|
13886
|
+
declare function positionMentionsDropdown(reference: HTMLElement, dropdown: HTMLElement, options?: PositionMentionsDropdownOptions): Promise<FloatingResult>;
|
|
13583
13887
|
declare function getMentionsOptionClasses(isActive: boolean, isDisabled: boolean): string;
|
|
13584
13888
|
/**
|
|
13585
13889
|
* Extract the current mention query from the textarea value and cursor position
|
|
@@ -13623,28 +13927,46 @@ declare function groupDataByColumn<T>(data: T[], groupBy: string): Map<string, T
|
|
|
13623
13927
|
/**
|
|
13624
13928
|
* Get group header row classes
|
|
13625
13929
|
*/
|
|
13626
|
-
declare const tableGroupHeaderClasses = "bg-[var(--tiger-surface-muted,#f3f4f6)] font-semibold text-sm text-[var(--tiger-text,#111827)] border-b border-[var(--tiger-border,#e5e7eb)]";
|
|
13627
|
-
/**
|
|
13628
|
-
* Get group header cell padding classes
|
|
13629
|
-
*/
|
|
13630
|
-
declare function getGroupHeaderCellClasses(size: 'sm' | 'md' | 'lg'): string;
|
|
13631
|
-
|
|
13632
|
-
/**
|
|
13633
|
-
* Table export utilities (CSV)
|
|
13634
|
-
*/
|
|
13635
|
-
|
|
13636
|
-
/**
|
|
13637
|
-
* Export table data to CSV string
|
|
13638
|
-
*/
|
|
13639
|
-
declare function exportTableToCsv<T>(columns: TableColumn<T>[], data: T[], _filename?: string): string;
|
|
13930
|
+
declare const tableGroupHeaderClasses = "bg-[var(--tiger-surface-muted,#f3f4f6)] font-semibold text-sm text-[var(--tiger-text,#111827)] border-b border-[var(--tiger-border,#e5e7eb)]";
|
|
13640
13931
|
/**
|
|
13641
|
-
*
|
|
13932
|
+
* Get group header cell padding classes
|
|
13642
13933
|
*/
|
|
13643
|
-
declare function
|
|
13934
|
+
declare function getGroupHeaderCellClasses(size: 'sm' | 'md' | 'lg'): string;
|
|
13935
|
+
|
|
13644
13936
|
/**
|
|
13645
|
-
*
|
|
13646
|
-
|
|
13647
|
-
|
|
13937
|
+
* Table ResizeObserver utilities.
|
|
13938
|
+
*
|
|
13939
|
+
* Measurements are batched to animation frames so resize bursts do not trigger
|
|
13940
|
+
* repeated synchronous column/row reads.
|
|
13941
|
+
*/
|
|
13942
|
+
type TableResizeFrameCallback = (timestamp: number) => void;
|
|
13943
|
+
type TableResizeFrameRequest = (callback: TableResizeFrameCallback) => number;
|
|
13944
|
+
type TableResizeFrameCancel = (handle: number) => void;
|
|
13945
|
+
interface TableResizeObserverLike {
|
|
13946
|
+
observe: (target: Element) => void;
|
|
13947
|
+
disconnect: () => void;
|
|
13948
|
+
}
|
|
13949
|
+
type TableResizeObserverFactory = (callback: ResizeObserverCallback) => TableResizeObserverLike;
|
|
13950
|
+
interface TableResizeSnapshot {
|
|
13951
|
+
containerWidth: number;
|
|
13952
|
+
containerHeight: number;
|
|
13953
|
+
tableWidth: number;
|
|
13954
|
+
tableHeight: number;
|
|
13955
|
+
columnWidths: Record<string, number>;
|
|
13956
|
+
rowHeights: number[];
|
|
13957
|
+
}
|
|
13958
|
+
interface TableResizeObserverControllerOptions {
|
|
13959
|
+
onResize: (snapshot: TableResizeSnapshot) => void;
|
|
13960
|
+
requestFrame?: TableResizeFrameRequest;
|
|
13961
|
+
cancelFrame?: TableResizeFrameCancel;
|
|
13962
|
+
createResizeObserver?: TableResizeObserverFactory;
|
|
13963
|
+
}
|
|
13964
|
+
interface TableResizeObserverController {
|
|
13965
|
+
observe: (container: HTMLElement, table?: HTMLTableElement | null) => void;
|
|
13966
|
+
disconnect: () => void;
|
|
13967
|
+
}
|
|
13968
|
+
declare function measureTableResizeSnapshot(container: HTMLElement, table?: HTMLTableElement | null): TableResizeSnapshot;
|
|
13969
|
+
declare function createTableResizeObserverController(options: TableResizeObserverControllerOptions): TableResizeObserverController;
|
|
13648
13970
|
|
|
13649
13971
|
/**
|
|
13650
13972
|
* Form field dependency utilities
|
|
@@ -13820,6 +14142,28 @@ interface DragCallbacks {
|
|
|
13820
14142
|
onDrop?: (event: DragDropEvent) => void;
|
|
13821
14143
|
onDragEnd?: (event: DragEndEvent) => void;
|
|
13822
14144
|
}
|
|
14145
|
+
/** Payload emitted by document-level pointer drag sessions */
|
|
14146
|
+
interface DocumentDragSessionEvent {
|
|
14147
|
+
startX: number;
|
|
14148
|
+
startY: number;
|
|
14149
|
+
currentX: number;
|
|
14150
|
+
currentY: number;
|
|
14151
|
+
deltaX: number;
|
|
14152
|
+
deltaY: number;
|
|
14153
|
+
event: MouseEvent;
|
|
14154
|
+
}
|
|
14155
|
+
/** Configuration for a document-level mouse drag session */
|
|
14156
|
+
interface DocumentDragSessionOptions {
|
|
14157
|
+
startX: number;
|
|
14158
|
+
startY: number;
|
|
14159
|
+
ownerDocument?: Document;
|
|
14160
|
+
onMove: (event: DocumentDragSessionEvent) => void;
|
|
14161
|
+
onEnd?: (event: DocumentDragSessionEvent) => void;
|
|
14162
|
+
}
|
|
14163
|
+
/** Handle returned by a document-level drag session */
|
|
14164
|
+
interface DocumentDragSession {
|
|
14165
|
+
dispose: () => void;
|
|
14166
|
+
}
|
|
13823
14167
|
/**
|
|
13824
14168
|
* Result of a reorder operation
|
|
13825
14169
|
*/
|
|
@@ -13914,6 +14258,10 @@ declare function getDefaultDragConfig(): Required<DragConfig>;
|
|
|
13914
14258
|
* Merge user config with defaults
|
|
13915
14259
|
*/
|
|
13916
14260
|
declare function resolveDragConfig(config?: DragConfig): Required<DragConfig>;
|
|
14261
|
+
/**
|
|
14262
|
+
* Create a document-level mouse drag session with shared cleanup semantics.
|
|
14263
|
+
*/
|
|
14264
|
+
declare function createDocumentDragSession(options: DocumentDragSessionOptions): DocumentDragSession;
|
|
13917
14265
|
|
|
13918
14266
|
/**
|
|
13919
14267
|
* Splitter component types and interfaces
|
|
@@ -14329,6 +14677,63 @@ declare function handleTabKey(value: string, selectionStart: number, selectionEn
|
|
|
14329
14677
|
selectionStart: number;
|
|
14330
14678
|
};
|
|
14331
14679
|
|
|
14680
|
+
/**
|
|
14681
|
+
* Code Editor Highlighter Engine (PR-17)
|
|
14682
|
+
*
|
|
14683
|
+
* Opt-in pluggable highlighter API for {@link CodeEditor}. When a
|
|
14684
|
+
* `CodeHighlighter` is supplied to the component the built-in regex
|
|
14685
|
+
* tokenizer is bypassed and the provided engine renders highlighted HTML
|
|
14686
|
+
* instead.
|
|
14687
|
+
*
|
|
14688
|
+
* Two integration shapes are supported:
|
|
14689
|
+
* 1. Per-line: implement {@link CodeHighlighter.highlightLine}. The
|
|
14690
|
+
* component renders one `<div>` per line containing the returned
|
|
14691
|
+
* raw HTML. Suited for line-based engines (Prism, Highlight.js).
|
|
14692
|
+
* 2. Whole-block: implement {@link CodeHighlighter.highlightCode}. The
|
|
14693
|
+
* component injects the returned HTML directly. Suited for engines
|
|
14694
|
+
* that emit a fully wrapped block (Shiki, custom themed renderers).
|
|
14695
|
+
*
|
|
14696
|
+
* The component prefers `highlightLine` when both are present so the
|
|
14697
|
+
* line-number gutter stays aligned. Engine output is treated as TRUSTED
|
|
14698
|
+
* HTML — callers are responsible for sanitisation if the source can be
|
|
14699
|
+
* user-controlled.
|
|
14700
|
+
*
|
|
14701
|
+
* The built-in highlighter (regex tokenizer + Tailwind class spans) is
|
|
14702
|
+
* exposed as {@link builtinCodeHighlighter} so userland code can
|
|
14703
|
+
* compose / fall back to it explicitly.
|
|
14704
|
+
*/
|
|
14705
|
+
|
|
14706
|
+
interface CodeHighlighter {
|
|
14707
|
+
/** Optional identifier used by tests / devtools. */
|
|
14708
|
+
name?: string;
|
|
14709
|
+
/**
|
|
14710
|
+
* Render a single line of source to HTML. Returned string is injected
|
|
14711
|
+
* verbatim — engines must escape any untrusted text themselves.
|
|
14712
|
+
*/
|
|
14713
|
+
highlightLine?(line: string, language: CodeLanguage, theme: CodeEditorTheme): string;
|
|
14714
|
+
/**
|
|
14715
|
+
* Render the whole code block to HTML. Used when `highlightLine` is
|
|
14716
|
+
* not provided. Engines that emit one `<pre><code>` envelope per call
|
|
14717
|
+
* should prefer this hook.
|
|
14718
|
+
*/
|
|
14719
|
+
highlightCode?(code: string, language: CodeLanguage, theme: CodeEditorTheme): string;
|
|
14720
|
+
}
|
|
14721
|
+
/** Escape characters that would otherwise break HTML interpolation. */
|
|
14722
|
+
declare function escapeHighlightHtml(value: string): string;
|
|
14723
|
+
/** Render a single token to a `<span>` element string (or escaped text). */
|
|
14724
|
+
declare function renderTokenHtml(token: Token, theme: CodeEditorTheme): string;
|
|
14725
|
+
/** Render an array of tokens as an HTML fragment string. */
|
|
14726
|
+
declare function renderTokensHtml(tokens: Token[], theme: CodeEditorTheme): string;
|
|
14727
|
+
/**
|
|
14728
|
+
* Default highlighter — wraps the built-in regex tokenizer so that the
|
|
14729
|
+
* engine path can be exercised symmetrically in tests / examples.
|
|
14730
|
+
*
|
|
14731
|
+
* Using the engine path adds a tiny overhead (string concat instead of
|
|
14732
|
+
* VNode array) so the component still uses the tokenizer directly when
|
|
14733
|
+
* no `highlighter` prop is provided.
|
|
14734
|
+
*/
|
|
14735
|
+
declare const builtinCodeHighlighter: CodeHighlighter;
|
|
14736
|
+
|
|
14332
14737
|
/**
|
|
14333
14738
|
* RichTextEditor shared types
|
|
14334
14739
|
*/
|
|
@@ -14341,7 +14746,19 @@ interface ToolbarButton {
|
|
|
14341
14746
|
icon?: string;
|
|
14342
14747
|
tooltip?: string;
|
|
14343
14748
|
hotkey?: string;
|
|
14749
|
+
/**
|
|
14750
|
+
* Custom action handler. When provided, clicking this button calls
|
|
14751
|
+
* `action(element)` instead of the built-in execCommand mapping.
|
|
14752
|
+
* `element` is the contentEditable host element.
|
|
14753
|
+
*/
|
|
14754
|
+
action?: (element: HTMLElement) => void;
|
|
14344
14755
|
}
|
|
14756
|
+
/** Toolbar separator — renders a visual divider between button groups */
|
|
14757
|
+
interface ToolbarSeparator {
|
|
14758
|
+
type: 'separator';
|
|
14759
|
+
}
|
|
14760
|
+
/** Union type for toolbar items: buttons or separators */
|
|
14761
|
+
type ToolbarItem = ToolbarButton | ToolbarSeparator;
|
|
14345
14762
|
/** Built-in toolbar action names */
|
|
14346
14763
|
type ToolbarAction = 'bold' | 'italic' | 'underline' | 'strikethrough' | 'heading1' | 'heading2' | 'heading3' | 'bulletList' | 'orderedList' | 'blockquote' | 'codeBlock' | 'link' | 'image' | 'horizontalRule' | 'undo' | 'redo' | 'clear';
|
|
14347
14764
|
/** Props shared across Vue and React */
|
|
@@ -14354,8 +14771,8 @@ interface RichTextEditorProps {
|
|
|
14354
14771
|
placeholder?: string;
|
|
14355
14772
|
/** Editing mode */
|
|
14356
14773
|
mode?: RichTextEditorMode;
|
|
14357
|
-
/** Toolbar
|
|
14358
|
-
toolbar?:
|
|
14774
|
+
/** Toolbar items configuration (buttons and separators) */
|
|
14775
|
+
toolbar?: ToolbarItem[];
|
|
14359
14776
|
/** Editor height */
|
|
14360
14777
|
height?: number | string;
|
|
14361
14778
|
/** Read-only mode */
|
|
@@ -14373,12 +14790,17 @@ interface RichTextEditorProps {
|
|
|
14373
14790
|
* for basic rich-text editing support.
|
|
14374
14791
|
*/
|
|
14375
14792
|
|
|
14793
|
+
/** Type guard: check if a toolbar item is a separator */
|
|
14794
|
+
declare function isToolbarSeparator(item: ToolbarItem): item is ToolbarSeparator;
|
|
14795
|
+
/** Extract only ToolbarButton items (for hotkey matching, etc.) */
|
|
14796
|
+
declare function getToolbarButtons(items: ToolbarItem[]): ToolbarButton[];
|
|
14376
14797
|
declare const defaultToolbar: ToolbarButton[];
|
|
14377
|
-
declare const richTextContainerBase = "flex flex-col border border-[var(--tiger-border,#d1d5db)] rounded-
|
|
14798
|
+
declare const richTextContainerBase = "flex flex-col border border-[var(--tiger-border,#d1d5db)] rounded-[var(--tiger-radius-md,0.5rem)] overflow-hidden bg-[var(--tiger-bg,#ffffff)]";
|
|
14378
14799
|
declare const richTextContainerDisabled = "opacity-50 cursor-not-allowed pointer-events-none";
|
|
14379
14800
|
declare const richTextToolbarClasses = "flex flex-wrap items-center gap-1 px-2 py-1.5 border-b border-[var(--tiger-border,#d1d5db)] bg-[var(--tiger-bg-secondary,#f9fafb)]";
|
|
14380
14801
|
declare const richTextToolbarButtonBase = "inline-flex items-center justify-center min-w-8 h-8 px-2 rounded text-sm font-medium transition-colors duration-150 text-[var(--tiger-text-secondary,#6b7280)] hover:bg-[var(--tiger-bg-hover,#e5e7eb)] hover:text-[var(--tiger-text,#111827)]";
|
|
14381
14802
|
declare const richTextToolbarButtonActive = "bg-[var(--tiger-primary,#2563eb)]/10 text-[var(--tiger-primary,#2563eb)]";
|
|
14803
|
+
declare const richTextToolbarSeparatorClasses = "w-px h-5 mx-1 bg-[var(--tiger-border,#d1d5db)]";
|
|
14382
14804
|
declare const richTextEditorAreaBase = "flex-1 p-4 outline-none text-[var(--tiger-text,#111827)] text-sm leading-relaxed overflow-y-auto";
|
|
14383
14805
|
declare const richTextEditorAreaReadOnly = "cursor-default";
|
|
14384
14806
|
declare const richTextPlaceholderClasses = "text-[var(--tiger-text-tertiary,#9ca3af)]";
|
|
@@ -14415,15 +14837,16 @@ declare function matchesHotkey(event: {
|
|
|
14415
14837
|
}, parsed: ParsedHotkey): boolean;
|
|
14416
14838
|
/**
|
|
14417
14839
|
* Find a toolbar button whose hotkey matches the keyboard event.
|
|
14418
|
-
* Returns the button
|
|
14840
|
+
* Returns the button (with its action callback if any) or null.
|
|
14841
|
+
* Accepts ToolbarItem[] and skips separators.
|
|
14419
14842
|
*/
|
|
14420
|
-
declare function findHotkeyMatch(toolbar:
|
|
14843
|
+
declare function findHotkeyMatch(toolbar: ToolbarItem[], event: {
|
|
14421
14844
|
ctrlKey: boolean;
|
|
14422
14845
|
shiftKey: boolean;
|
|
14423
14846
|
altKey: boolean;
|
|
14424
14847
|
metaKey: boolean;
|
|
14425
14848
|
key: string;
|
|
14426
|
-
}):
|
|
14849
|
+
}): ToolbarButton | null;
|
|
14427
14850
|
/** Sanitize HTML content — XSS prevention by stripping dangerous elements and attributes */
|
|
14428
14851
|
declare function sanitizeHtml(html: string): string;
|
|
14429
14852
|
/** Validate a URL — only allow http(s) and mailto protocols */
|
|
@@ -14433,6 +14856,77 @@ declare function isContentEmpty(html: string): boolean;
|
|
|
14433
14856
|
/** Parse height prop to CSS value */
|
|
14434
14857
|
declare function parseHeight(height: number | string | undefined): string | undefined;
|
|
14435
14858
|
|
|
14859
|
+
/**
|
|
14860
|
+
* Rich Text Editor Engine (PR-17)
|
|
14861
|
+
*
|
|
14862
|
+
* Opt-in pluggable engine API for {@link RichTextEditor}. Wraps the
|
|
14863
|
+
* lifecycle of the underlying editing surface so userland code can swap
|
|
14864
|
+
* in Quill / TipTap / ProseMirror / contenteditable variants without
|
|
14865
|
+
* modifying the framework component.
|
|
14866
|
+
*
|
|
14867
|
+
* The component owns the host element and the toolbar UI. The engine
|
|
14868
|
+
* receives the host element via {@link RichTextEngineMountContext} and
|
|
14869
|
+
* must return an {@link RichTextEngineInstance} that exposes a small
|
|
14870
|
+
* imperative surface (set value / get value / exec action / report
|
|
14871
|
+
* active formats / destroy).
|
|
14872
|
+
*
|
|
14873
|
+
* Active-format tracking is engine-driven: the engine calls
|
|
14874
|
+
* `ctx.notifyActiveFormats(set)` whenever the selection changes; the
|
|
14875
|
+
* component re-renders the toolbar pressed state from the latest set.
|
|
14876
|
+
*
|
|
14877
|
+
* The default engine ({@link createBuiltinRichTextEngine}) wraps the
|
|
14878
|
+
* existing `contenteditable` + `document.execCommand` implementation so
|
|
14879
|
+
* that the engine path is exercised symmetrically and removing the prop
|
|
14880
|
+
* keeps current behaviour 1:1.
|
|
14881
|
+
*/
|
|
14882
|
+
|
|
14883
|
+
interface RichTextEngineMountContext {
|
|
14884
|
+
/** Host element the engine should mount into. */
|
|
14885
|
+
element: HTMLElement;
|
|
14886
|
+
/** Initial HTML content (already sanitised by the component). */
|
|
14887
|
+
initialValue: string;
|
|
14888
|
+
/** Whether the editor is read-only at mount time. */
|
|
14889
|
+
readOnly: boolean;
|
|
14890
|
+
/** Whether the editor is disabled at mount time. */
|
|
14891
|
+
disabled: boolean;
|
|
14892
|
+
/** Placeholder text the engine may render natively (optional). */
|
|
14893
|
+
placeholder?: string;
|
|
14894
|
+
/** Toolbar definition the component will display. */
|
|
14895
|
+
toolbar: ToolbarItem[];
|
|
14896
|
+
/** Called by the engine whenever content changes. */
|
|
14897
|
+
notifyChange(html: string): void;
|
|
14898
|
+
/** Called by the engine when active inline formats may have changed. */
|
|
14899
|
+
notifyActiveFormats(active: Set<string>): void;
|
|
14900
|
+
}
|
|
14901
|
+
interface RichTextEngineInstance {
|
|
14902
|
+
/** Replace editor content (already sanitised). */
|
|
14903
|
+
setValue(html: string): void;
|
|
14904
|
+
/** Read current sanitised HTML. */
|
|
14905
|
+
getValue(): string;
|
|
14906
|
+
/** Execute a toolbar action by name. */
|
|
14907
|
+
exec(action: string): void;
|
|
14908
|
+
/** Trigger an active-format query (selection change handler hook). */
|
|
14909
|
+
refreshActiveFormats(): void;
|
|
14910
|
+
/** Update read-only state without remount. */
|
|
14911
|
+
setReadOnly(readOnly: boolean, disabled: boolean): void;
|
|
14912
|
+
/** Tear down listeners and detach DOM artefacts. */
|
|
14913
|
+
destroy(): void;
|
|
14914
|
+
}
|
|
14915
|
+
interface RichTextEngine {
|
|
14916
|
+
/** Optional identifier used by tests / devtools. */
|
|
14917
|
+
name?: string;
|
|
14918
|
+
create(ctx: RichTextEngineMountContext): RichTextEngineInstance;
|
|
14919
|
+
}
|
|
14920
|
+
/**
|
|
14921
|
+
* Default engine — preserves the legacy `contenteditable` +
|
|
14922
|
+
* `document.execCommand` behaviour. Extracted so the framework
|
|
14923
|
+
* components can share one implementation and so tests can verify the
|
|
14924
|
+
* engine contract without a real DOM editor library.
|
|
14925
|
+
*/
|
|
14926
|
+
declare function createBuiltinRichTextEngine(): RichTextEngine;
|
|
14927
|
+
/** Singleton instance used as the default factory. */
|
|
14928
|
+
declare const builtinRichTextEngine: RichTextEngine;
|
|
14929
|
+
|
|
14436
14930
|
/**
|
|
14437
14931
|
* Kanban types — extends TaskBoard with kanban-specific features.
|
|
14438
14932
|
*
|
|
@@ -14486,7 +14980,7 @@ declare const kanbanSwimlaneCollapsedClasses = "hidden";
|
|
|
14486
14980
|
/** Filter match highlight on card */
|
|
14487
14981
|
declare const kanbanFilterHighlightClasses = "bg-[var(--tiger-warning,#fbbf24)]/20";
|
|
14488
14982
|
/** Add column button */
|
|
14489
|
-
declare const kanbanAddColumnClasses = "flex items-center justify-center shrink-0 w-72 min-h-[80px] rounded-
|
|
14983
|
+
declare const kanbanAddColumnClasses = "flex items-center justify-center shrink-0 w-72 min-h-[80px] rounded-[var(--tiger-radius-md,0.5rem)] border-2 border-dashed border-[var(--tiger-border,#d1d5db)] text-[var(--tiger-text-muted,#9ca3af)] hover:border-[var(--tiger-primary,#2563eb)] hover:text-[var(--tiger-primary,#2563eb)] cursor-pointer transition-colors";
|
|
14490
14984
|
/** @deprecated Use `taskBoardAddCardClasses` instead */
|
|
14491
14985
|
declare const kanbanAddCardClasses = "flex items-center justify-center gap-1 w-full py-1.5 text-sm text-[var(--tiger-text-muted,#6b7280)] hover:text-[var(--tiger-primary,#2563eb)] hover:bg-[var(--tiger-surface-muted,#f9fafb)] rounded transition-colors cursor-pointer";
|
|
14492
14986
|
/**
|
|
@@ -14580,7 +15074,7 @@ interface VirtualTableRange {
|
|
|
14580
15074
|
* Pure functions for virtual scroll calculation and styling.
|
|
14581
15075
|
*/
|
|
14582
15076
|
|
|
14583
|
-
declare const virtualTableContainerClasses = "tiger-virtual-table relative overflow-auto border border-[var(--tiger-border,#e5e7eb)] rounded-
|
|
15077
|
+
declare const virtualTableContainerClasses = "tiger-virtual-table relative overflow-auto border border-[var(--tiger-border,#e5e7eb)] rounded-[var(--tiger-radius-md,0.5rem)] bg-[var(--tiger-bg,#ffffff)]";
|
|
14584
15078
|
declare const virtualTableHeaderClasses = "sticky top-0 z-10 bg-[var(--tiger-bg-secondary,#f9fafb)] border-b border-[var(--tiger-border,#e5e7eb)]";
|
|
14585
15079
|
declare const virtualTableHeaderCellClasses = "px-4 py-3 text-left text-xs font-semibold uppercase tracking-wider text-[var(--tiger-text-secondary,#6b7280)]";
|
|
14586
15080
|
declare const virtualTableRowClasses = "border-b border-[var(--tiger-border,#f3f4f6)] transition-colors";
|
|
@@ -14601,6 +15095,26 @@ declare function calculateVirtualRange(scrollTop: number, viewportHeight: number
|
|
|
14601
15095
|
declare function getVirtualRowKey<T>(row: T, index: number, rowKey?: keyof T | ((row: T, index: number) => string | number)): string | number;
|
|
14602
15096
|
declare function getVirtualTableContainerClasses(bordered: boolean, className?: string): string;
|
|
14603
15097
|
declare function getVirtualTableRowClasses(index: number, striped: boolean, selected: boolean): string;
|
|
15098
|
+
interface VirtualTableFixedInfo {
|
|
15099
|
+
leftOffsets: Record<string, number>;
|
|
15100
|
+
rightOffsets: Record<string, number>;
|
|
15101
|
+
hasFixedColumns: boolean;
|
|
15102
|
+
}
|
|
15103
|
+
/**
|
|
15104
|
+
* Compute fixed column offsets for VirtualTable.
|
|
15105
|
+
* Thin wrapper around Table's `getFixedColumnOffsets`.
|
|
15106
|
+
*/
|
|
15107
|
+
declare function getVirtualTableFixedInfo<T = Record<string, unknown>>(columns: TableColumn<T>[]): VirtualTableFixedInfo;
|
|
15108
|
+
/**
|
|
15109
|
+
* Get inline style for a fixed column cell (th or td).
|
|
15110
|
+
* Returns `undefined` when the column is not fixed.
|
|
15111
|
+
*/
|
|
15112
|
+
declare function getVirtualTableFixedCellStyle(columnKey: string, fixedInfo: VirtualTableFixedInfo): {
|
|
15113
|
+
position: 'sticky';
|
|
15114
|
+
left?: string;
|
|
15115
|
+
right?: string;
|
|
15116
|
+
zIndex: number;
|
|
15117
|
+
} | undefined;
|
|
14604
15118
|
|
|
14605
15119
|
/**
|
|
14606
15120
|
* InfiniteScroll utility functions
|
|
@@ -14610,12 +15124,12 @@ declare function getVirtualTableRowClasses(index: number, striped: boolean, sele
|
|
|
14610
15124
|
declare const infiniteScrollContainerClasses = "tiger-infinite-scroll relative overflow-auto";
|
|
14611
15125
|
declare const infiniteScrollLoaderClasses = "flex items-center justify-center py-4 text-sm text-[var(--tiger-text-muted,#9ca3af)]";
|
|
14612
15126
|
declare const infiniteScrollEndClasses = "flex items-center justify-center py-4 text-sm text-[var(--tiger-text-muted,#9ca3af)]";
|
|
15127
|
+
declare const infiniteScrollSentinelClasses = "tiger-infinite-scroll-sentinel";
|
|
14613
15128
|
/**
|
|
14614
15129
|
* Check whether the scroll position is within the threshold of the end.
|
|
14615
15130
|
*
|
|
14616
|
-
*
|
|
14617
|
-
*
|
|
14618
|
-
* For inverse: checks distance from the top/left.
|
|
15131
|
+
* @deprecated Prefer `createInfiniteScrollObserver` which uses
|
|
15132
|
+
* IntersectionObserver and avoids scroll event overhead.
|
|
14619
15133
|
*/
|
|
14620
15134
|
declare function shouldLoadMore(el: {
|
|
14621
15135
|
scrollTop: number;
|
|
@@ -14625,6 +15139,29 @@ declare function shouldLoadMore(el: {
|
|
|
14625
15139
|
scrollWidth?: number;
|
|
14626
15140
|
clientWidth?: number;
|
|
14627
15141
|
}, threshold: number, direction?: 'vertical' | 'horizontal', inverse?: boolean): boolean;
|
|
15142
|
+
interface InfiniteScrollObserverOptions {
|
|
15143
|
+
/** Distance (px) before the sentinel enters the viewport to trigger load */
|
|
15144
|
+
threshold?: number;
|
|
15145
|
+
/** Scroll direction */
|
|
15146
|
+
direction?: 'vertical' | 'horizontal';
|
|
15147
|
+
/** Scroll root element. `null` = the sentinel's nearest scrollable ancestor is determined by IO */
|
|
15148
|
+
root?: Element | null;
|
|
15149
|
+
/** Called when the sentinel becomes visible (should load more) */
|
|
15150
|
+
onLoadMore: () => void;
|
|
15151
|
+
}
|
|
15152
|
+
/**
|
|
15153
|
+
* Create an IntersectionObserver that watches a sentinel element and calls
|
|
15154
|
+
* `onLoadMore` when it enters (or is about to enter) the viewport.
|
|
15155
|
+
*
|
|
15156
|
+
* The `sentinel` should be a zero-height element placed at the boundary
|
|
15157
|
+
* where new content would appear (end of list for normal, start for inverse).
|
|
15158
|
+
*
|
|
15159
|
+
* `threshold` controls how early the callback fires via `rootMargin`.
|
|
15160
|
+
*
|
|
15161
|
+
* Returns a teardown function. If `IntersectionObserver` is unavailable,
|
|
15162
|
+
* returns `null` so callers can fall back to scroll events.
|
|
15163
|
+
*/
|
|
15164
|
+
declare function createInfiniteScrollObserver(sentinel: Element, options: InfiniteScrollObserverOptions): (() => void) | null;
|
|
14628
15165
|
declare function getInfiniteScrollContainerClasses(direction: 'vertical' | 'horizontal', className?: string): string;
|
|
14629
15166
|
|
|
14630
15167
|
/**
|
|
@@ -14694,25 +15231,26 @@ interface FileManagerProps {
|
|
|
14694
15231
|
/**
|
|
14695
15232
|
* FileManager utility functions
|
|
14696
15233
|
*
|
|
14697
|
-
* Pure functions for file operations, sorting, filtering,
|
|
15234
|
+
* Pure functions for file operations, sorting, filtering, styling,
|
|
15235
|
+
* shared model derivation, and drag integration.
|
|
14698
15236
|
*/
|
|
14699
15237
|
|
|
14700
|
-
declare const fileManagerContainerClasses = "tiger-file-manager flex flex-col border border-[var(--tiger-border,#e5e7eb)] rounded-
|
|
15238
|
+
declare const fileManagerContainerClasses = "tiger-file-manager flex flex-col border border-[var(--tiger-border,#e5e7eb)] rounded-[var(--tiger-radius-md,0.5rem)] bg-[var(--tiger-bg,#ffffff)] overflow-hidden";
|
|
14701
15239
|
declare const fileManagerToolbarClasses = "flex items-center gap-2 px-3 py-2 border-b border-[var(--tiger-border,#e5e7eb)] bg-[var(--tiger-bg-secondary,#f9fafb)]";
|
|
14702
15240
|
declare const fileManagerBreadcrumbClasses = "flex items-center gap-1 text-sm text-[var(--tiger-text-secondary,#6b7280)]";
|
|
14703
15241
|
declare const fileManagerBreadcrumbItemClasses = "cursor-pointer hover:text-[var(--tiger-primary,#2563eb)] transition-colors";
|
|
14704
15242
|
declare const fileManagerBreadcrumbSeparatorClasses = "text-[var(--tiger-text-muted,#9ca3af)]";
|
|
14705
15243
|
declare const fileManagerContentClasses = "flex-1 overflow-auto p-2";
|
|
14706
|
-
declare const fileManagerListItemClasses = "flex items-center gap-3 px-3 py-2 rounded-
|
|
15244
|
+
declare const fileManagerListItemClasses = "flex items-center gap-3 px-3 py-2 rounded-[var(--tiger-radius-md,0.5rem)] cursor-pointer transition-colors hover:bg-[var(--tiger-bg-hover,#f3f4f6)]";
|
|
14707
15245
|
declare const fileManagerListItemSelectedClasses = "bg-[var(--tiger-primary,#2563eb)]/10 hover:bg-[var(--tiger-primary,#2563eb)]/15";
|
|
14708
|
-
declare const fileManagerGridItemClasses = "flex flex-col items-center gap-2 p-3 rounded-
|
|
15246
|
+
declare const fileManagerGridItemClasses = "flex flex-col items-center gap-2 p-3 rounded-[var(--tiger-radius-md,0.5rem)] cursor-pointer transition-colors hover:bg-[var(--tiger-bg-hover,#f3f4f6)] text-center";
|
|
14709
15247
|
declare const fileManagerGridItemSelectedClasses = "bg-[var(--tiger-primary,#2563eb)]/10 hover:bg-[var(--tiger-primary,#2563eb)]/15";
|
|
14710
15248
|
declare const fileManagerItemIconClasses = "text-[var(--tiger-text-muted,#9ca3af)] flex-shrink-0";
|
|
14711
15249
|
declare const fileManagerItemNameClasses = "text-sm font-medium text-[var(--tiger-text,#1f2937)] truncate";
|
|
14712
15250
|
declare const fileManagerItemMetaClasses = "text-xs text-[var(--tiger-text-muted,#9ca3af)]";
|
|
14713
15251
|
declare const fileManagerEmptyClasses = "flex items-center justify-center py-12 text-sm text-[var(--tiger-text-muted,#9ca3af)]";
|
|
14714
15252
|
declare const fileManagerLoadingClasses = "absolute inset-0 flex items-center justify-center bg-[var(--tiger-bg,#ffffff)]/60 z-10";
|
|
14715
|
-
declare const fileManagerSearchClasses = "px-3 py-1.5 text-sm border border-[var(--tiger-border,#e5e7eb)] rounded-
|
|
15253
|
+
declare const fileManagerSearchClasses = "px-3 py-1.5 text-sm border border-[var(--tiger-border,#e5e7eb)] rounded-[var(--tiger-radius-md,0.5rem)] bg-[var(--tiger-bg,#ffffff)] focus:outline-none focus:ring-2 focus:ring-[var(--tiger-primary,#2563eb)]/30";
|
|
14716
15254
|
/**
|
|
14717
15255
|
* Sort file items. Folders are always placed before files.
|
|
14718
15256
|
*/
|
|
@@ -14740,6 +15278,58 @@ declare function getFileExtension(name: string): string;
|
|
|
14740
15278
|
declare function navigateToFolder(files: FileItem[], path: string[]): FileItem[];
|
|
14741
15279
|
declare function getFileManagerContainerClasses(className?: string): string;
|
|
14742
15280
|
declare function getFileItemClasses(viewMode: FileViewMode, selected: boolean): string;
|
|
15281
|
+
interface FileManagerModelInput {
|
|
15282
|
+
files: FileItem[];
|
|
15283
|
+
currentPath: string[];
|
|
15284
|
+
selectedKeys: (string | number)[];
|
|
15285
|
+
sortField: FileSortField;
|
|
15286
|
+
sortOrder: FileSortOrder;
|
|
15287
|
+
showHidden: boolean;
|
|
15288
|
+
searchText: string;
|
|
15289
|
+
}
|
|
15290
|
+
interface FileManagerModelDerived {
|
|
15291
|
+
/** Items at the current directory level */
|
|
15292
|
+
currentItems: FileItem[];
|
|
15293
|
+
/** Items after filter + sort, ready for rendering */
|
|
15294
|
+
processedItems: FileItem[];
|
|
15295
|
+
/** Fast lookup set for selected keys */
|
|
15296
|
+
selectedSet: Set<string | number>;
|
|
15297
|
+
}
|
|
15298
|
+
/**
|
|
15299
|
+
* Derive the file manager view-model from inputs.
|
|
15300
|
+
* Both Vue and React should call this in a computed / useMemo.
|
|
15301
|
+
*/
|
|
15302
|
+
declare function deriveFileManagerModel(input: FileManagerModelInput): FileManagerModelDerived;
|
|
15303
|
+
/**
|
|
15304
|
+
* Toggle a file's selection state, respecting single / multi mode.
|
|
15305
|
+
* Returns the new selectedKeys array.
|
|
15306
|
+
*/
|
|
15307
|
+
declare function toggleFileSelection(selectedKeys: (string | number)[], key: string | number, multiple: boolean): (string | number)[];
|
|
15308
|
+
interface FileOpenResult {
|
|
15309
|
+
type: 'navigate' | 'open';
|
|
15310
|
+
/** New path (when type === 'navigate') */
|
|
15311
|
+
path?: string[];
|
|
15312
|
+
/** The opened file item (when type === 'open') */
|
|
15313
|
+
item?: FileItem;
|
|
15314
|
+
}
|
|
15315
|
+
/**
|
|
15316
|
+
* Determine the action when a file item is activated (double-click / Enter).
|
|
15317
|
+
* Returns `null` if the item is disabled.
|
|
15318
|
+
*/
|
|
15319
|
+
declare function resolveFileOpen(item: FileItem, currentPath: string[]): FileOpenResult | null;
|
|
15320
|
+
/**
|
|
15321
|
+
* Compute breadcrumb path after clicking an ancestor segment.
|
|
15322
|
+
*/
|
|
15323
|
+
declare function sliceBreadcrumbPath(currentPath: string[], index: number): string[];
|
|
15324
|
+
/**
|
|
15325
|
+
* Convert a FileItem to the generic DragItem interface used by drag utils.
|
|
15326
|
+
*/
|
|
15327
|
+
declare function toFileDragItem(item: FileItem, index: number, containerId?: string): DragItem;
|
|
15328
|
+
/**
|
|
15329
|
+
* Apply a drag-drop reorder to a flat list of file items.
|
|
15330
|
+
* Returns the new array with the moved item in its new position.
|
|
15331
|
+
*/
|
|
15332
|
+
declare function applyFileDragReorder(items: FileItem[], event: DragDropEvent): FileItem[];
|
|
14743
15333
|
|
|
14744
15334
|
/**
|
|
14745
15335
|
* InputGroup component types and interfaces
|
|
@@ -14818,6 +15408,75 @@ declare function getInputGroupClasses(compact: boolean, className?: string): str
|
|
|
14818
15408
|
*/
|
|
14819
15409
|
declare function getInputGroupAddonClasses(size: InputGroupSize, compact: boolean, className?: string): string;
|
|
14820
15410
|
|
|
15411
|
+
type RepeatAction = () => void;
|
|
15412
|
+
type RepeatFrameCallback = (timestamp: number) => void;
|
|
15413
|
+
type RepeatFrameRequest = (callback: RepeatFrameCallback) => number;
|
|
15414
|
+
type RepeatFrameCancel = (handle: number) => void;
|
|
15415
|
+
interface RafRepeatActionOptions {
|
|
15416
|
+
initialDelay?: number;
|
|
15417
|
+
interval?: number;
|
|
15418
|
+
now?: () => number;
|
|
15419
|
+
requestFrame?: RepeatFrameRequest;
|
|
15420
|
+
cancelFrame?: RepeatFrameCancel;
|
|
15421
|
+
}
|
|
15422
|
+
interface RafRepeatActionController {
|
|
15423
|
+
start: (action: RepeatAction) => void;
|
|
15424
|
+
stop: () => void;
|
|
15425
|
+
isRunning: () => boolean;
|
|
15426
|
+
}
|
|
15427
|
+
declare const defaultRepeatInitialDelay = 350;
|
|
15428
|
+
declare const defaultRepeatInterval = 80;
|
|
15429
|
+
declare function createRafRepeatActionController(options?: RafRepeatActionOptions): RafRepeatActionController;
|
|
15430
|
+
|
|
15431
|
+
interface VisibleGroupItems<T> {
|
|
15432
|
+
visibleItems: T[];
|
|
15433
|
+
total: number;
|
|
15434
|
+
visibleCount: number;
|
|
15435
|
+
overflowCount: number;
|
|
15436
|
+
}
|
|
15437
|
+
interface ImageGroupRegistrationResult {
|
|
15438
|
+
items: string[];
|
|
15439
|
+
index: number;
|
|
15440
|
+
}
|
|
15441
|
+
declare const imageGroupBaseClasses = "tiger-image-group";
|
|
15442
|
+
declare function getVisibleGroupItems<T>(items: readonly T[], max?: number): VisibleGroupItems<T>;
|
|
15443
|
+
declare function getAvatarGroupClasses(...classes: ClassValue[]): string;
|
|
15444
|
+
declare function getAvatarGroupItemClasses(...classes: ClassValue[]): string;
|
|
15445
|
+
declare function getAvatarGroupOverflowClasses(size?: AvatarSize, ...classes: ClassValue[]): string;
|
|
15446
|
+
declare function getAvatarGroupOverflowLabel(overflowCount: number): string;
|
|
15447
|
+
declare function getAvatarGroupOverflowText(overflowCount: number): string;
|
|
15448
|
+
declare function getButtonGroupClasses(vertical?: boolean, ...classes: ClassValue[]): string;
|
|
15449
|
+
declare function getImageGroupClasses(className?: string): string;
|
|
15450
|
+
declare function registerImageGroupItem(items: readonly string[], src: string): ImageGroupRegistrationResult;
|
|
15451
|
+
declare function unregisterImageGroupItem(items: readonly string[], src: string): string[];
|
|
15452
|
+
|
|
15453
|
+
interface ChartCanvasSize {
|
|
15454
|
+
width: number;
|
|
15455
|
+
height: number;
|
|
15456
|
+
}
|
|
15457
|
+
type ChartResizeFrameCallback = (timestamp: number) => void;
|
|
15458
|
+
type ChartResizeFrameRequest = (callback: ChartResizeFrameCallback) => number;
|
|
15459
|
+
type ChartResizeFrameCancel = (handle: number) => void;
|
|
15460
|
+
interface ChartResizeObserverLike {
|
|
15461
|
+
observe: (target: Element) => void;
|
|
15462
|
+
disconnect: () => void;
|
|
15463
|
+
}
|
|
15464
|
+
type ChartResizeObserverFactory = (callback: ResizeObserverCallback) => ChartResizeObserverLike;
|
|
15465
|
+
interface ChartResizeObserverControllerOptions {
|
|
15466
|
+
onSizeChange: (size: ChartCanvasSize) => void;
|
|
15467
|
+
requestFrame?: ChartResizeFrameRequest;
|
|
15468
|
+
cancelFrame?: ChartResizeFrameCancel;
|
|
15469
|
+
createResizeObserver?: ChartResizeObserverFactory;
|
|
15470
|
+
}
|
|
15471
|
+
interface ChartResizeObserverController {
|
|
15472
|
+
observe: (target: Element) => void;
|
|
15473
|
+
disconnect: () => void;
|
|
15474
|
+
flush: () => void;
|
|
15475
|
+
isPending: () => boolean;
|
|
15476
|
+
}
|
|
15477
|
+
declare function resolveResponsiveChartSize(fallback: ChartCanvasSize, observedSize: ChartCanvasSize | null | undefined): ChartCanvasSize;
|
|
15478
|
+
declare function createChartResizeObserverController(options: ChartResizeObserverControllerOptions): ChartResizeObserverController;
|
|
15479
|
+
|
|
14821
15480
|
/**
|
|
14822
15481
|
* PrintLayout component types and interfaces
|
|
14823
15482
|
* @since 0.9.0
|
|
@@ -14925,15 +15584,15 @@ declare const imageViewerBackdropClasses = "fixed inset-0 bg-[var(--tiger-image-
|
|
|
14925
15584
|
/**
|
|
14926
15585
|
* ImageViewer image classes
|
|
14927
15586
|
*/
|
|
14928
|
-
declare const imageViewerImgClasses = "max-h-[90vh] max-w-[90vw] select-none transition-transform duration-200 ease-out cursor-grab active:cursor-grabbing";
|
|
15587
|
+
declare const imageViewerImgClasses = "max-h-[90vh] max-w-[90vw] select-none transition-transform duration-200 ease-out cursor-grab active:cursor-grabbing touch-none";
|
|
14929
15588
|
/**
|
|
14930
15589
|
* ImageViewer toolbar classes
|
|
14931
15590
|
*/
|
|
14932
|
-
declare const imageViewerToolbarClasses = "fixed bottom-6 left-1/2 -translate-x-1/2 z-50 flex items-center gap-2 bg-[var(--tiger-surface,rgba(0,0,0,0.6))] backdrop-blur-sm rounded-
|
|
15591
|
+
declare const imageViewerToolbarClasses = "fixed bottom-6 left-1/2 -translate-x-1/2 z-50 flex items-center gap-2 bg-[var(--tiger-surface,rgba(0,0,0,0.6))] backdrop-blur-sm rounded-[var(--tiger-radius-md,0.5rem)] px-4 py-2";
|
|
14933
15592
|
/**
|
|
14934
15593
|
* ImageViewer toolbar button classes
|
|
14935
15594
|
*/
|
|
14936
|
-
declare const imageViewerToolbarBtnClasses = "p-2 text-white hover:bg-white/20 rounded-
|
|
15595
|
+
declare const imageViewerToolbarBtnClasses = "p-2 text-white hover:bg-white/20 rounded-[var(--tiger-radius-md,0.5rem)] transition-colors focus:outline-none focus-visible:ring-2 focus-visible:ring-white";
|
|
14937
15596
|
/**
|
|
14938
15597
|
* ImageViewer navigation button classes
|
|
14939
15598
|
*/
|
|
@@ -14941,7 +15600,7 @@ declare const imageViewerNavBtnClasses = "fixed top-1/2 -translate-y-1/2 z-50 p-
|
|
|
14941
15600
|
/**
|
|
14942
15601
|
* ImageViewer close button classes
|
|
14943
15602
|
*/
|
|
14944
|
-
declare const imageViewerCloseBtnClasses = "fixed top-4 right-4 z-50 p-2 text-white hover:bg-white/20 rounded-
|
|
15603
|
+
declare const imageViewerCloseBtnClasses = "fixed top-4 right-4 z-50 p-2 text-white hover:bg-white/20 rounded-[var(--tiger-radius-md,0.5rem)] transition-colors focus:outline-none focus-visible:ring-2 focus-visible:ring-white";
|
|
14945
15604
|
/**
|
|
14946
15605
|
* ImageViewer counter classes
|
|
14947
15606
|
*/
|
|
@@ -14966,6 +15625,224 @@ declare function clampZoom(zoom: number, min: number, max: number): number;
|
|
|
14966
15625
|
* Normalize rotation to 0-360 range
|
|
14967
15626
|
*/
|
|
14968
15627
|
declare function normalizeRotation(rotation: number): number;
|
|
15628
|
+
interface GestureTransform {
|
|
15629
|
+
scale: number;
|
|
15630
|
+
translateX: number;
|
|
15631
|
+
translateY: number;
|
|
15632
|
+
rotation: number;
|
|
15633
|
+
}
|
|
15634
|
+
/**
|
|
15635
|
+
* Create a default gesture transform (1x scale, centered, no rotation).
|
|
15636
|
+
*/
|
|
15637
|
+
declare function createDefaultTransform(): GestureTransform;
|
|
15638
|
+
/**
|
|
15639
|
+
* Build a CSS transform string from a GestureTransform.
|
|
15640
|
+
*/
|
|
15641
|
+
declare function getImageTransformStyle(t: GestureTransform): string;
|
|
15642
|
+
interface WheelZoomOptions {
|
|
15643
|
+
minZoom: number;
|
|
15644
|
+
maxZoom: number;
|
|
15645
|
+
/** Zoom step per wheel delta (default 0.001) */
|
|
15646
|
+
step?: number;
|
|
15647
|
+
}
|
|
15648
|
+
/**
|
|
15649
|
+
* Compute the new scale after a wheel event.
|
|
15650
|
+
*/
|
|
15651
|
+
declare function applyWheelZoom(currentScale: number, deltaY: number, options: WheelZoomOptions): number;
|
|
15652
|
+
interface PanState {
|
|
15653
|
+
isPanning: boolean;
|
|
15654
|
+
startX: number;
|
|
15655
|
+
startY: number;
|
|
15656
|
+
startTranslateX: number;
|
|
15657
|
+
startTranslateY: number;
|
|
15658
|
+
}
|
|
15659
|
+
/**
|
|
15660
|
+
* Create a fresh pan state.
|
|
15661
|
+
*/
|
|
15662
|
+
declare function createPanState(): PanState;
|
|
15663
|
+
/**
|
|
15664
|
+
* Begin panning. Returns new PanState (isPanning = true).
|
|
15665
|
+
*/
|
|
15666
|
+
declare function startPan(clientX: number, clientY: number, currentTranslateX: number, currentTranslateY: number): PanState;
|
|
15667
|
+
interface PanResult {
|
|
15668
|
+
translateX: number;
|
|
15669
|
+
translateY: number;
|
|
15670
|
+
}
|
|
15671
|
+
/**
|
|
15672
|
+
* Compute translate during a pan move.
|
|
15673
|
+
*/
|
|
15674
|
+
declare function movePan(pan: PanState, clientX: number, clientY: number): PanResult;
|
|
15675
|
+
interface PinchState {
|
|
15676
|
+
isPinching: boolean;
|
|
15677
|
+
initialDistance: number;
|
|
15678
|
+
initialScale: number;
|
|
15679
|
+
}
|
|
15680
|
+
/**
|
|
15681
|
+
* Create a fresh pinch state.
|
|
15682
|
+
*/
|
|
15683
|
+
declare function createPinchState(): PinchState;
|
|
15684
|
+
/**
|
|
15685
|
+
* Begin a pinch gesture.
|
|
15686
|
+
*/
|
|
15687
|
+
declare function startPinch(t1: {
|
|
15688
|
+
clientX: number;
|
|
15689
|
+
clientY: number;
|
|
15690
|
+
}, t2: {
|
|
15691
|
+
clientX: number;
|
|
15692
|
+
clientY: number;
|
|
15693
|
+
}, currentScale: number): PinchState;
|
|
15694
|
+
/**
|
|
15695
|
+
* Compute the new scale during a pinch move.
|
|
15696
|
+
*/
|
|
15697
|
+
declare function movePinch(pinch: PinchState, t1: {
|
|
15698
|
+
clientX: number;
|
|
15699
|
+
clientY: number;
|
|
15700
|
+
}, t2: {
|
|
15701
|
+
clientX: number;
|
|
15702
|
+
clientY: number;
|
|
15703
|
+
}, minZoom: number, maxZoom: number): number;
|
|
15704
|
+
|
|
15705
|
+
/**
|
|
15706
|
+
* FormWizard shared helpers
|
|
15707
|
+
*
|
|
15708
|
+
* Pure logic extracted from Vue / React FormWizard implementations:
|
|
15709
|
+
* - Index clamping
|
|
15710
|
+
* - Skip-aware step navigation
|
|
15711
|
+
* - beforeNext validator runner
|
|
15712
|
+
*
|
|
15713
|
+
* No framework imports. Both `defineComponent` (Vue) and `useCallback` (React)
|
|
15714
|
+
* call sites delegate to these helpers to remove ~120-150 SLOC of duplicated
|
|
15715
|
+
* navigation logic per framework.
|
|
15716
|
+
*/
|
|
15717
|
+
|
|
15718
|
+
/**
|
|
15719
|
+
* Clamp a candidate step index into `[0, totalCount - 1]`.
|
|
15720
|
+
*
|
|
15721
|
+
* Returns `0` when the wizard has no steps.
|
|
15722
|
+
*/
|
|
15723
|
+
declare function clampStepIndex(next: number, totalCount: number): number;
|
|
15724
|
+
/**
|
|
15725
|
+
* Walk `steps` from `from` in `direction` (+1 / -1) skipping items where
|
|
15726
|
+
* `disabled === true` or `skipCondition()` returns `true`.
|
|
15727
|
+
*
|
|
15728
|
+
* If no valid step is found before the bounds are exceeded, returns
|
|
15729
|
+
* `fallbackIndex` (the caller's current index) so the caller can no-op.
|
|
15730
|
+
*/
|
|
15731
|
+
declare function findNextUnskippedStep(from: number, direction: 1 | -1, steps: readonly WizardStep[], fallbackIndex: number): number;
|
|
15732
|
+
/**
|
|
15733
|
+
* Run a `beforeNext` validator (if provided) against the current step.
|
|
15734
|
+
*
|
|
15735
|
+
* Returns `true` when navigation should proceed:
|
|
15736
|
+
* - No validator → always `true`
|
|
15737
|
+
* - No current step → always `true`
|
|
15738
|
+
* - Validator result must be exactly `true` (string error / `false` block)
|
|
15739
|
+
*/
|
|
15740
|
+
declare function runStepValidation(currentIndex: number, currentStep: WizardStep | undefined, steps: readonly WizardStep[], beforeNext: FormWizardValidator | undefined): Promise<boolean>;
|
|
15741
|
+
|
|
15742
|
+
/**
|
|
15743
|
+
* CropUpload shared helpers
|
|
15744
|
+
*
|
|
15745
|
+
* Pure file-handling helpers extracted from Vue / React CropUpload.
|
|
15746
|
+
* No framework imports — both wrappers can delegate input change handling
|
|
15747
|
+
* to the same validation + read pipeline.
|
|
15748
|
+
*/
|
|
15749
|
+
|
|
15750
|
+
/**
|
|
15751
|
+
* Validate an upload candidate against an optional `maxSize` (bytes).
|
|
15752
|
+
*
|
|
15753
|
+
* Returns `null` when the file is missing or `maxSize` is undefined / passed.
|
|
15754
|
+
* Returns an `Error` describing the violation otherwise (caller emits / calls onError).
|
|
15755
|
+
*/
|
|
15756
|
+
declare function validateUploadFile(file: File | null | undefined, maxSize?: number): Error | null;
|
|
15757
|
+
/**
|
|
15758
|
+
* Read a `File` as a `data:` URL using `FileReader`.
|
|
15759
|
+
*
|
|
15760
|
+
* Resolves with the URL string on success, rejects with the underlying
|
|
15761
|
+
* `FileReader` error otherwise.
|
|
15762
|
+
*/
|
|
15763
|
+
declare function readFileAsDataUrl(file: File): Promise<string>;
|
|
15764
|
+
/**
|
|
15765
|
+
* Awaits the cropper's `getCropResult()` with consistent null-handling.
|
|
15766
|
+
*
|
|
15767
|
+
* Returns `null` when no cropper instance is provided so the caller can
|
|
15768
|
+
* short-circuit without a try/catch wrapper around a `?.` chain.
|
|
15769
|
+
*/
|
|
15770
|
+
declare function getCropperResult(cropper: {
|
|
15771
|
+
getCropResult: () => Promise<CropResult>;
|
|
15772
|
+
} | null | undefined): Promise<CropResult | null>;
|
|
15773
|
+
|
|
15774
|
+
/**
|
|
15775
|
+
* Base shared prop interfaces
|
|
15776
|
+
*
|
|
15777
|
+
* These provide common prop shapes for interactive, form-control,
|
|
15778
|
+
* and layout components. Component-specific Props should extend or
|
|
15779
|
+
* pick from these as needed.
|
|
15780
|
+
*
|
|
15781
|
+
* @example
|
|
15782
|
+
* ```ts
|
|
15783
|
+
* import type { BaseInteractiveProps } from '@expcat/tigercat-core'
|
|
15784
|
+
*
|
|
15785
|
+
* export interface MyButtonProps extends BaseInteractiveProps {
|
|
15786
|
+
* variant?: 'primary' | 'secondary'
|
|
15787
|
+
* }
|
|
15788
|
+
* ```
|
|
15789
|
+
*/
|
|
15790
|
+
/**
|
|
15791
|
+
* Standard component size values.
|
|
15792
|
+
* Individual components may extend this union (e.g. add 'xs' | 'xl').
|
|
15793
|
+
*/
|
|
15794
|
+
type ComponentSize = 'sm' | 'md' | 'lg';
|
|
15795
|
+
/**
|
|
15796
|
+
* Base props shared by interactive (clickable / focusable) components.
|
|
15797
|
+
*
|
|
15798
|
+
* Covers: Button, Link, Tag, Card, Badge, etc.
|
|
15799
|
+
*/
|
|
15800
|
+
interface BaseInteractiveProps {
|
|
15801
|
+
/** Whether the component is disabled */
|
|
15802
|
+
disabled?: boolean;
|
|
15803
|
+
/** Component size */
|
|
15804
|
+
size?: ComponentSize;
|
|
15805
|
+
/** Whether the component shows a loading indicator */
|
|
15806
|
+
loading?: boolean;
|
|
15807
|
+
}
|
|
15808
|
+
/**
|
|
15809
|
+
* Base props shared by form-control components.
|
|
15810
|
+
*
|
|
15811
|
+
* Covers: Input, Select, Checkbox, Radio, Switch, DatePicker, etc.
|
|
15812
|
+
*
|
|
15813
|
+
* Uses generics so each component can specify its own value type.
|
|
15814
|
+
*/
|
|
15815
|
+
interface BaseFormControlProps<T = unknown> {
|
|
15816
|
+
/** Controlled value */
|
|
15817
|
+
value?: T;
|
|
15818
|
+
/** Default (uncontrolled) value */
|
|
15819
|
+
defaultValue?: T;
|
|
15820
|
+
/** Form field name attribute */
|
|
15821
|
+
name?: string;
|
|
15822
|
+
/** Whether the field is required */
|
|
15823
|
+
required?: boolean;
|
|
15824
|
+
/** Whether the field is disabled */
|
|
15825
|
+
disabled?: boolean;
|
|
15826
|
+
/** Component size */
|
|
15827
|
+
size?: ComponentSize;
|
|
15828
|
+
/** Placeholder text */
|
|
15829
|
+
placeholder?: string;
|
|
15830
|
+
}
|
|
15831
|
+
/**
|
|
15832
|
+
* Base props shared by layout / spacing components.
|
|
15833
|
+
*
|
|
15834
|
+
* Covers: Space, Row/Col, Container, etc.
|
|
15835
|
+
*/
|
|
15836
|
+
interface BaseLayoutProps {
|
|
15837
|
+
/** Layout direction */
|
|
15838
|
+
direction?: 'horizontal' | 'vertical';
|
|
15839
|
+
/** Cross-axis alignment */
|
|
15840
|
+
align?: 'start' | 'end' | 'center' | 'baseline' | 'stretch';
|
|
15841
|
+
/** Main-axis justification */
|
|
15842
|
+
justify?: 'start' | 'end' | 'center' | 'space-around' | 'space-between' | 'space-evenly';
|
|
15843
|
+
/** Whether children should wrap */
|
|
15844
|
+
wrap?: boolean;
|
|
15845
|
+
}
|
|
14969
15846
|
|
|
14970
15847
|
/**
|
|
14971
15848
|
* InputNumber component types and interfaces
|
|
@@ -15586,34 +16463,12 @@ interface BackTopProps {
|
|
|
15586
16463
|
*/
|
|
15587
16464
|
visibilityHeight?: number;
|
|
15588
16465
|
/**
|
|
15589
|
-
*
|
|
16466
|
+
* Use immediate scroll when set to 0; positive values use native smooth scrolling
|
|
15590
16467
|
* @default 450
|
|
15591
16468
|
*/
|
|
15592
16469
|
duration?: number;
|
|
15593
16470
|
}
|
|
15594
16471
|
|
|
15595
|
-
/**
|
|
15596
|
-
* VirtualList item height mode
|
|
15597
|
-
*/
|
|
15598
|
-
type VirtualListItemSize = 'fixed' | 'variable';
|
|
15599
|
-
/**
|
|
15600
|
-
* Shared VirtualList props (framework-agnostic)
|
|
15601
|
-
*/
|
|
15602
|
-
interface VirtualListProps {
|
|
15603
|
-
/** Total number of items */
|
|
15604
|
-
itemCount?: number;
|
|
15605
|
-
/** Fixed item height (px) — used when itemSize is 'fixed' */
|
|
15606
|
-
itemHeight?: number;
|
|
15607
|
-
/** Estimated item height for variable-height mode */
|
|
15608
|
-
estimatedItemHeight?: number;
|
|
15609
|
-
/** Visible container height (px) */
|
|
15610
|
-
height?: number;
|
|
15611
|
-
/** Overscan count: extra items to render above/below viewport */
|
|
15612
|
-
overscan?: number;
|
|
15613
|
-
/** Custom class name */
|
|
15614
|
-
className?: string;
|
|
15615
|
-
}
|
|
15616
|
-
|
|
15617
16472
|
/**
|
|
15618
16473
|
* Calendar mode
|
|
15619
16474
|
*/
|
|
@@ -16102,142 +16957,6 @@ interface AffixProps {
|
|
|
16102
16957
|
className?: string;
|
|
16103
16958
|
}
|
|
16104
16959
|
|
|
16105
|
-
/**
|
|
16106
|
-
* Theme configuration types for Tigercat Design System
|
|
16107
|
-
*
|
|
16108
|
-
* Three-level structure:
|
|
16109
|
-
* - ThemeColorScale: primitive color palette (50–950 shades)
|
|
16110
|
-
* - ThemeSemanticColors: semantic mappings (primary, surface, text, border, status)
|
|
16111
|
-
* - ThemeConfig: full configuration (colors + typography + radius + shadows + spacing)
|
|
16112
|
-
*
|
|
16113
|
-
* @module types/theme
|
|
16114
|
-
* @since 0.7.0
|
|
16115
|
-
*/
|
|
16116
|
-
/**
|
|
16117
|
-
* A 10-step color shade scale (Tailwind-compatible).
|
|
16118
|
-
* Shade 900 is optional since tokens.json uses 950 only.
|
|
16119
|
-
*/
|
|
16120
|
-
interface ThemeColorScale {
|
|
16121
|
-
50: string;
|
|
16122
|
-
100: string;
|
|
16123
|
-
200: string;
|
|
16124
|
-
300: string;
|
|
16125
|
-
400: string;
|
|
16126
|
-
500: string;
|
|
16127
|
-
600: string;
|
|
16128
|
-
700: string;
|
|
16129
|
-
800: string;
|
|
16130
|
-
900?: string;
|
|
16131
|
-
950: string;
|
|
16132
|
-
}
|
|
16133
|
-
/** Colors for a single interactive/status hue (light **and** dark) */
|
|
16134
|
-
interface ThemeSemanticColors {
|
|
16135
|
-
/** Core interactive colors */
|
|
16136
|
-
primary: string;
|
|
16137
|
-
primaryHover: string;
|
|
16138
|
-
primaryActive: string;
|
|
16139
|
-
primaryDisabled: string;
|
|
16140
|
-
secondary: string;
|
|
16141
|
-
secondaryHover: string;
|
|
16142
|
-
secondaryActive: string;
|
|
16143
|
-
secondaryDisabled: string;
|
|
16144
|
-
/** Button-specific hover backgrounds */
|
|
16145
|
-
outlineBgHover: string;
|
|
16146
|
-
ghostBgHover: string;
|
|
16147
|
-
/** Focus ring color */
|
|
16148
|
-
focusRing: string;
|
|
16149
|
-
/** Surface / background */
|
|
16150
|
-
surface: string;
|
|
16151
|
-
surfaceMuted: string;
|
|
16152
|
-
surfaceRaised: string;
|
|
16153
|
-
/** Text */
|
|
16154
|
-
text: string;
|
|
16155
|
-
textSecondary: string;
|
|
16156
|
-
textDisabled: string;
|
|
16157
|
-
/** Border */
|
|
16158
|
-
border: string;
|
|
16159
|
-
borderStrong: string;
|
|
16160
|
-
/** Status (semantic) */
|
|
16161
|
-
success: string;
|
|
16162
|
-
warning: string;
|
|
16163
|
-
error: string;
|
|
16164
|
-
info: string;
|
|
16165
|
-
/** Chart palette (6 colors) */
|
|
16166
|
-
chart1: string;
|
|
16167
|
-
chart2: string;
|
|
16168
|
-
chart3: string;
|
|
16169
|
-
chart4: string;
|
|
16170
|
-
chart5: string;
|
|
16171
|
-
chart6: string;
|
|
16172
|
-
}
|
|
16173
|
-
interface ThemeTypography {
|
|
16174
|
-
fontFamily: string;
|
|
16175
|
-
fontFamilyMono: string;
|
|
16176
|
-
fontSizeBase: string;
|
|
16177
|
-
fontSizeSm: string;
|
|
16178
|
-
fontSizeLg: string;
|
|
16179
|
-
fontWeightNormal: string;
|
|
16180
|
-
fontWeightMedium: string;
|
|
16181
|
-
fontWeightSemibold: string;
|
|
16182
|
-
fontWeightBold: string;
|
|
16183
|
-
lineHeightNormal: string;
|
|
16184
|
-
lineHeightTight: string;
|
|
16185
|
-
}
|
|
16186
|
-
interface ThemeRadius {
|
|
16187
|
-
none: string;
|
|
16188
|
-
sm: string;
|
|
16189
|
-
md: string;
|
|
16190
|
-
lg: string;
|
|
16191
|
-
xl: string;
|
|
16192
|
-
full: string;
|
|
16193
|
-
}
|
|
16194
|
-
interface ThemeShadows {
|
|
16195
|
-
xs: string;
|
|
16196
|
-
sm: string;
|
|
16197
|
-
md: string;
|
|
16198
|
-
lg: string;
|
|
16199
|
-
xl: string;
|
|
16200
|
-
}
|
|
16201
|
-
interface ThemeSpacing {
|
|
16202
|
-
xs: string;
|
|
16203
|
-
sm: string;
|
|
16204
|
-
md: string;
|
|
16205
|
-
lg: string;
|
|
16206
|
-
xl: string;
|
|
16207
|
-
}
|
|
16208
|
-
interface ThemeMotion {
|
|
16209
|
-
durationFast: string;
|
|
16210
|
-
durationBase: string;
|
|
16211
|
-
durationSlow: string;
|
|
16212
|
-
easing: string;
|
|
16213
|
-
}
|
|
16214
|
-
/**
|
|
16215
|
-
* Complete theme configuration.
|
|
16216
|
-
* All sections are optional — missing values fall back to the default theme.
|
|
16217
|
-
*/
|
|
16218
|
-
interface ThemeConfig {
|
|
16219
|
-
colors?: Partial<ThemeSemanticColors>;
|
|
16220
|
-
typography?: Partial<ThemeTypography>;
|
|
16221
|
-
radius?: Partial<ThemeRadius>;
|
|
16222
|
-
shadows?: Partial<ThemeShadows>;
|
|
16223
|
-
spacing?: Partial<ThemeSpacing>;
|
|
16224
|
-
motion?: Partial<ThemeMotion>;
|
|
16225
|
-
}
|
|
16226
|
-
/** Name of a built-in preset theme */
|
|
16227
|
-
type ThemePresetName = 'default' | 'vibrant' | 'professional' | 'minimal' | 'natural';
|
|
16228
|
-
/**
|
|
16229
|
-
* A fully defined preset theme.
|
|
16230
|
-
* Both `light` and `dark` are required; they will be merged with defaults at runtime.
|
|
16231
|
-
*/
|
|
16232
|
-
interface ThemePreset {
|
|
16233
|
-
name: ThemePresetName | string;
|
|
16234
|
-
label: string;
|
|
16235
|
-
light: ThemeConfig;
|
|
16236
|
-
dark: ThemeConfig;
|
|
16237
|
-
}
|
|
16238
|
-
/** Controls which colour scheme the ThemeManager applies */
|
|
16239
|
-
type ColorScheme = 'light' | 'dark' | 'auto';
|
|
16240
|
-
|
|
16241
16960
|
/**
|
|
16242
16961
|
* InfiniteScroll types
|
|
16243
16962
|
*
|
|
@@ -16373,7 +17092,7 @@ declare const switchThumbTranslateClasses: Record<SwitchSize, string>;
|
|
|
16373
17092
|
/**
|
|
16374
17093
|
* Get switch container classes based on size and state
|
|
16375
17094
|
*/
|
|
16376
|
-
declare function getSwitchClasses(size?: SwitchSize, checked?: boolean, disabled?: boolean): string;
|
|
17095
|
+
declare function getSwitchClasses(size?: SwitchSize, checked?: boolean, disabled?: boolean, ...classes: ComposableClassInput[]): string;
|
|
16377
17096
|
/**
|
|
16378
17097
|
* Get switch thumb classes based on size and checked state
|
|
16379
17098
|
*/
|
|
@@ -16536,75 +17255,6 @@ declare function setThemeColors(colors: Partial<Record<keyof typeof THEME_CSS_VA
|
|
|
16536
17255
|
*/
|
|
16537
17256
|
declare function getThemeColor(colorKey: keyof typeof THEME_CSS_VARS, element?: HTMLElement): string | undefined;
|
|
16538
17257
|
|
|
16539
|
-
/**
|
|
16540
|
-
* Default theme colors for Tigercat
|
|
16541
|
-
*/
|
|
16542
|
-
declare const tigercatTheme: {
|
|
16543
|
-
'--tiger-primary': string;
|
|
16544
|
-
'--tiger-primary-hover': string;
|
|
16545
|
-
'--tiger-primary-active': string;
|
|
16546
|
-
'--tiger-primary-disabled': string;
|
|
16547
|
-
'--tiger-secondary': string;
|
|
16548
|
-
'--tiger-secondary-hover': string;
|
|
16549
|
-
'--tiger-secondary-active': string;
|
|
16550
|
-
'--tiger-secondary-disabled': string;
|
|
16551
|
-
'--tiger-outline-bg-hover': string;
|
|
16552
|
-
'--tiger-ghost-bg-hover': string;
|
|
16553
|
-
'--tiger-focus-ring': string;
|
|
16554
|
-
'--tiger-surface': string;
|
|
16555
|
-
'--tiger-surface-muted': string;
|
|
16556
|
-
'--tiger-surface-raised': string;
|
|
16557
|
-
'--tiger-text': string;
|
|
16558
|
-
'--tiger-text-secondary': string;
|
|
16559
|
-
'--tiger-text-disabled': string;
|
|
16560
|
-
'--tiger-border': string;
|
|
16561
|
-
'--tiger-border-strong': string;
|
|
16562
|
-
'--tiger-success': string;
|
|
16563
|
-
'--tiger-warning': string;
|
|
16564
|
-
'--tiger-error': string;
|
|
16565
|
-
'--tiger-info': string;
|
|
16566
|
-
'--tiger-chart-1': string;
|
|
16567
|
-
'--tiger-chart-2': string;
|
|
16568
|
-
'--tiger-chart-3': string;
|
|
16569
|
-
'--tiger-chart-4': string;
|
|
16570
|
-
'--tiger-chart-5': string;
|
|
16571
|
-
'--tiger-chart-6': string;
|
|
16572
|
-
};
|
|
16573
|
-
/**
|
|
16574
|
-
* Dark mode theme overrides
|
|
16575
|
-
*/
|
|
16576
|
-
declare const tigercatDarkTheme: Record<string, string>;
|
|
16577
|
-
/**
|
|
16578
|
-
* Tailwind CSS plugin for Tigercat
|
|
16579
|
-
* Injects the default CSS variables into the root scope
|
|
16580
|
-
*/
|
|
16581
|
-
declare const tigercatPlugin: {
|
|
16582
|
-
handler: tailwindcss_types_config.PluginCreator;
|
|
16583
|
-
config?: Partial<tailwindcss_types_config.Config>;
|
|
16584
|
-
};
|
|
16585
|
-
interface TigercatPluginOptions {
|
|
16586
|
-
/** A ThemePreset object to use instead of the built-in default */
|
|
16587
|
-
preset?: ThemePreset;
|
|
16588
|
-
}
|
|
16589
|
-
/**
|
|
16590
|
-
* Configurable Tailwind CSS plugin for Tigercat.
|
|
16591
|
-
*
|
|
16592
|
-
* @example
|
|
16593
|
-
* ```ts
|
|
16594
|
-
* import { createTigercatPlugin, vibrantTheme } from '@expcat/tigercat-core'
|
|
16595
|
-
*
|
|
16596
|
-
* export default {
|
|
16597
|
-
* plugins: [
|
|
16598
|
-
* createTigercatPlugin({ preset: vibrantTheme })
|
|
16599
|
-
* ]
|
|
16600
|
-
* }
|
|
16601
|
-
* ```
|
|
16602
|
-
*/
|
|
16603
|
-
declare function createTigercatPlugin(options?: TigercatPluginOptions): {
|
|
16604
|
-
handler: tailwindcss_types_config.PluginCreator;
|
|
16605
|
-
config?: Partial<tailwindcss_types_config.Config>;
|
|
16606
|
-
};
|
|
16607
|
-
|
|
16608
17258
|
/**
|
|
16609
17259
|
* ThemeManager — runtime theme & color-scheme management.
|
|
16610
17260
|
*
|
|
@@ -16713,6 +17363,62 @@ declare const minimalTheme: ThemePreset;
|
|
|
16713
17363
|
*/
|
|
16714
17364
|
declare const naturalTheme: ThemePreset;
|
|
16715
17365
|
|
|
17366
|
+
/**
|
|
17367
|
+
* Modern theme — opt-in visual refresh.
|
|
17368
|
+
*
|
|
17369
|
+
* Pairs the default color palette with rounder corners, layered shadows
|
|
17370
|
+
* and refined motion easings. Activates the "modern" token layer when
|
|
17371
|
+
* combined with `createTigercatPlugin({ modern: true })` or by setting
|
|
17372
|
+
* `data-tiger-style="modern"` on `<html>`.
|
|
17373
|
+
*
|
|
17374
|
+
* @since 1.1.0
|
|
17375
|
+
*/
|
|
17376
|
+
declare const modernTheme: ThemePreset;
|
|
17377
|
+
|
|
17378
|
+
/**
|
|
17379
|
+
* Modern theme tokens — opt-in extended design tokens.
|
|
17380
|
+
*
|
|
17381
|
+
* These tokens add an extra layer of visual polish (rounder radii, layered
|
|
17382
|
+
* shadows, glass surfaces, subtle gradients, motion easings) without
|
|
17383
|
+
* affecting the default Tigercat visual.
|
|
17384
|
+
*
|
|
17385
|
+
* Two layers:
|
|
17386
|
+
* 1. `MODERN_BASE_TOKENS_LIGHT/DARK` — safe fallback values that keep the
|
|
17387
|
+
* current v1.0.x visual exactly. These are always injected at `:root`
|
|
17388
|
+
* so component CSS like `var(--tiger-radius-md, 0.5rem)` resolves.
|
|
17389
|
+
* 2. `MODERN_OVERRIDE_TOKENS_LIGHT/DARK` — the actual "modern" look, only
|
|
17390
|
+
* applied when `data-tiger-style="modern"` is set on a parent.
|
|
17391
|
+
*
|
|
17392
|
+
* @module themes/modern/tokens
|
|
17393
|
+
* @since 1.1.0
|
|
17394
|
+
*/
|
|
17395
|
+
/**
|
|
17396
|
+
* Default (fallback) values that match the current v1.0.x visual.
|
|
17397
|
+
* Always injected at `:root` by the Tailwind plugin so consumers can already
|
|
17398
|
+
* reference the new token names safely.
|
|
17399
|
+
*/
|
|
17400
|
+
declare const MODERN_BASE_TOKENS_LIGHT: Record<string, string>;
|
|
17401
|
+
/**
|
|
17402
|
+
* Dark-mode fallback values (same as light for opt-in tokens — kept for
|
|
17403
|
+
* symmetry with override layer).
|
|
17404
|
+
*/
|
|
17405
|
+
declare const MODERN_BASE_TOKENS_DARK: Record<string, string>;
|
|
17406
|
+
/**
|
|
17407
|
+
* "Modern" overrides — applied only when `data-tiger-style="modern"` is set.
|
|
17408
|
+
* Implements Phase 1C spec: rounder radii, multi-layer shadows, glass,
|
|
17409
|
+
* subtle gradients, refined motion.
|
|
17410
|
+
*/
|
|
17411
|
+
declare const MODERN_OVERRIDE_TOKENS_LIGHT: Record<string, string>;
|
|
17412
|
+
/**
|
|
17413
|
+
* Modern overrides for dark mode — adjusts glass + shadows for dark surfaces.
|
|
17414
|
+
*/
|
|
17415
|
+
declare const MODERN_OVERRIDE_TOKENS_DARK: Record<string, string>;
|
|
17416
|
+
/**
|
|
17417
|
+
* Reduced-motion override — applied via `@media (prefers-reduced-motion: reduce)`.
|
|
17418
|
+
* Collapses all motion durations to ~0ms.
|
|
17419
|
+
*/
|
|
17420
|
+
declare const MODERN_REDUCED_MOTION_TOKENS: Record<string, string>;
|
|
17421
|
+
|
|
16716
17422
|
/** Global color tokens */
|
|
16717
17423
|
declare const globalColors: {
|
|
16718
17424
|
readonly primary: {
|
|
@@ -17137,4 +17843,4 @@ type GlobalEasingKey = keyof typeof globalEasing;
|
|
|
17137
17843
|
*/
|
|
17138
17844
|
declare const version = "0.8.0";
|
|
17139
17845
|
|
|
17140
|
-
export { ANIMATION_DURATION_FAST_MS, ANIMATION_DURATION_MS, ANIMATION_DURATION_SLOW_MS, type ActivityAction, type ActivityFeedProps, type ActivityGroup, type ActivityItem, type ActivityStatusTag, type ActivityUser, type AffixProps, type AffixState, type AlertColorScheme, type AlertProps, type AlertSize, type AlertThemeColors, type AlertType, type Align, type AnchorChangeInfo, type AnchorClickInfo, type AnchorDirection, type AnchorLinkProps, type AnchorProps, type AreaChartDatum, type AreaChartProps, type AreaChartSeries, type AriaLiveLevel, type AutoCompleteOption, type AutoCompleteProps, type AutoCompleteSize, type AutoResizeTextareaOptions, type AvatarGroupProps, type AvatarProps, type AvatarShape, type AvatarSize, type BackTopProps, type BadgeColorScheme, type BadgePosition, type BadgeProps, type BadgeSize, type BadgeThemeColors, type BadgeType, type BadgeVariant, type BandScaleOptions, type BarChartDatum, type BarChartProps, type BarValueLabelPosition, type BaseChartProps, type BaseFloatingPopupProps, type BeforeUploadHandler, type BooleanChangeHandler, type BreadcrumbItemProps, type BreadcrumbProps, type BreadcrumbSeparator, type Breakpoint, type BuildLegendItemsOptions, type ButtonColorScheme, type ButtonGroupProps, type ButtonHtmlType, type ButtonIconPosition, type ButtonProps, type ButtonSize, type ButtonVariant, CROP_HANDLES, CalendarIconPath, type CalendarMode, type CalendarProps, type CancelHandler, type CardDirection, type CardDragData, type CardProps, type CardSize, type CardVariant, type CarouselBeforeChangeInfo, type CarouselChangeInfo, type CarouselDotPosition, type CarouselEffect, type CarouselMethods, type CarouselProps, type CascaderExpandTrigger, type CascaderFilterFn, type CascaderFlattenedOption, type CascaderOption, type CascaderProps, type CascaderShowSearch, type CascaderSize, type CascaderValue, type ChartAnimationConfig, type ChartAxisOrientation, type ChartAxisProps, type ChartAxisTick, type ChartCanvasProps, type ChartCurveType, type ChartGridLine, type ChartGridLineStyle, type ChartGridProps, type ChartInteractionHandlers, type ChartInteractionOptions, type ChartInteractionProps, type ChartInteractionState, type ChartLegendItem, type ChartLegendPosition, type ChartLegendProps, type ChartPadding, type ChartScale, type ChartScaleType, type ChartScaleValue, type ChartSeriesPoint, type ChartSeriesProps, type ChartSeriesType, type ChartTooltipProps, type ChartWithAxesProps, type ChatMessage, type ChatMessageDirection, type ChatMessageStatus, type ChatMessageStatusInfo, type ChatUser, type ChatWindowProps, type CheckboxGroupProps, type CheckboxGroupValue, type CheckboxProps, type CheckboxSize, type CheckboxValue, ChevronLeftIconPath, ChevronRightIconPath, type ClassValue, ClockIconPath, type CloseHandler, CloseIconPath, type CodeEditorProps, type CodeEditorTheme, type CodeLanguage, type CodeProps, type ColProps, type ColSpan, type CollapsePanelProps, type CollapseProps, type ColorFormat, type ColorPickerProps, type ColorPickerSize, type ColorScheme, type ColumnAlign, type ColumnDragData, type ColumnFilter, type CommentAction, type CommentNode, type CommentTag, type CommentThreadProps, type CommentUser, type ConfirmHandler, type ContainerMaxWidth, type ContainerProps, type ContentProps, type CreateAriaIdOptions, type CropHandle, type CropRect, type CropResult, type CropUploadProps, DEFAULT_CHART_COLORS, DEFAULT_FORM_WIZARD_LABELS, DEFAULT_PAGINATION_LABELS, DEFAULT_TASK_BOARD_LABELS, DONUT_BASE_SHADOW, DONUT_EMPHASIS_SHADOW, DROPDOWN_CHEVRON_PATH, DROPDOWN_ENTER_CLASS, DURATION_CLASS, DURATION_FAST_CLASS, DURATION_SLOW_CLASS, type DataTableWithToolbarProps, type DateFormat, type DatePickerInputDate, type DatePickerLabels, type DatePickerModelValue, type DatePickerProps, type DatePickerRangeModelValue, type DatePickerRangeValue, type DatePickerShortcut, type DatePickerSingleModelValue, type DatePickerSingleValue, type DatePickerSize, type DescriptionsItem, type DescriptionsLayout, type DescriptionsProps, type DescriptionsSize, type DividerLineStyle, type DividerOrientation, type DividerProps, type DividerSpacing, type DonutChartDatum, type DonutChartProps, type DragAxis, type DragCallbacks, type DragConfig, type DragDirection, type DragDropEvent, type DragEndEvent, type DragItem, type DragMoveResult, type DragOverEvent, type DragReorderResult, type DragStartEvent, type DragState, type DrawerPlacement, type DrawerProps, type DrawerSize, type DropdownItemProps, type DropdownMenuProps, type DropdownProps, type DropdownTrigger, EASING_DEFAULT, EASING_ENTER, EASING_LEAVE, EASING_SMOOTH, EASING_SPRING, type ElementLike, type EmptyIllustrationPath, type EmptyPreset, type EmptyProps, type EmptySlotContext, type ExecCommandResult, type ExpandIconPosition, type ExpandableConfig, type FileItem, type FileManagerProps, type FileSortField, type FileSortOrder, type FileType, type FileViewMode, type FilterOption, type FilterRule, type FilterType, type FlatTreeSelectNode, type FloatButtonGroupProps, type FloatButtonProps, type FloatButtonShape, type FloatButtonSize, type FloatingCleanup, type FloatingOptions, type FloatingPlacement, type FloatingResult, type FloatingTrigger, type FocusElementOptions, type FocusTrap, type FocusTrapNavigation, type FocusTrapOptions, type FooterProps, type FormError, type FormErrorDisplayMode, type FormFieldChangeHandler, type FormHistoryState, type FormItemClassOptions, type FormItemLabelClassOptions, type FormItemProps, type FormItemSlotContext, type FormLabelAlign, type FormLabelPosition, type FormProps, type FormRule, type FormRuleTrigger, type FormRuleType, type FormRules, type FormSize, type FormSubmitHandler, type FormValidateHandler, type FormValidationResult, type FormValues, type FormWizardProps, type FormWizardValidateResult, type FormWizardValidator, type FunnelChartDatum, type FunnelChartProps, type FunnelSegment, type GaugeArc, type GaugeChartProps, type GenericExpandable, type GenericFormFieldProps, type GenericFormRule, type GenericRowSelection, type GenericSelectOption, type GenericSelectOptionGroup, type GenericSelectProps, type GenericTableColumn, type GenericTableProps, type GetContainerClassesOptions, type GetInputClassesOptions, type GetRadioDotClassesOptions, type GetRadioGroupClassesOptions, type GetRadioLabelClassesOptions, type GetRadioVisualClassesOptions, type GlobalColorHue, type GlobalColorLevel, type GlobalDurationKey, type GlobalEasingKey, type GlobalRadiusKey, type GlobalShadowKey, type GlobalSpaceKey, type GutterSize, type HeaderProps, type HeatmapCell, type HeatmapChartDatum, type HeatmapChartProps, type HsvColor, type IconProps, type IconSize, type ImageCropperProps, type ImageFit, type ImageGroupProps, type ImagePreviewProps, type ImagePreviewToolbarAction, type ImageProps, type ImageViewerProps, type InfiniteScrollProps, type InputGroupAddonProps, type InputGroupProps, type InputGroupSize, type InputNumberProps, type InputProps, type InputSize, type InputStatus, type InputType, type IsEventOutsideOptions, type ItemClickHandler, type Justify, type KanbanCard, type KanbanCardMoveEvent, type KanbanColumn, type KanbanColumnMoveEvent, type KanbanProps, type KanbanSwimlane, type KeyLikeEvent, type LayoutProps, type LineChartDatum, type LineChartProps, type LineChartSeries, type LinkColorScheme, type LinkProps, type LinkSize, type LinkThemeColors, type LinkVariant, type ListBorderStyle, type ListItem, type ListItemLayout, type ListItemSlotContext, type ListPaginationConfig, type ListProps, type ListSize, type LiveRegion, type LoadingAnimationIndex, type LoadingColor, type LoadingProps, type LoadingSize, type LoadingVariant, MONTHS, type MentionOption, type MentionsProps, type MentionsSize, type MenuItem, type MenuItemGroupProps, type MenuItemProps, type MenuItemSlotContext, type MenuKey, type MenuMode, type MenuProps, type MenuSelectHandler, type MenuTheme, type MessageColorScheme, type MessageConfig, type MessageInstance, type MessageOptions, type MessagePosition, type MessageProps, type MessageType, type ModalProps, type ModalSize, type MoveCardOptions, type MultiSelectChangeHandler, type NotificationCenterProps, type NotificationColorScheme, type NotificationConfig, type NotificationGroup, type NotificationInstance, type NotificationItem, type NotificationOptions, type NotificationPosition, type NotificationProps, type NotificationReadFilter, type NotificationType, type NumberChangeHandler, type OpenChangeHandler, type OverlayFooterSlotContext, type OverlayHeaderSlotContext, PIE_BASE_SHADOW, PIE_EMPHASIS_SHADOW, POPOVER_TEXT_CLASSES, POPOVER_TITLE_CLASSES, type PageChangeInfo, type PageSizeChangeInfo, type PaginationAlign, type PaginationChangeHandler, type PaginationConfig, type PaginationPageSizeOption, type PaginationPageSizeOptionItem, type PaginationProps, type PaginationSize, type ParsedHotkey, type PieArcDatum, type PieChartDatum, type PieChartProps, type PointScaleOptions, type PopconfirmIconType, type PopconfirmProps, type PopoverProps, type PopoverTrigger, type PrepareUploadFilesOptions, type PrepareUploadFilesResult, type PreviewNavState, type PrintLayoutProps, type PrintOrientation, type PrintPageSize, type ProgressColorScheme, type ProgressProps, type ProgressSize, type ProgressStatus, type ProgressThemeColors, type ProgressType, type ProgressVariant, type QRCodeLevel, type QRCodeProps, type QRCodeStatus, RADAR_SPLIT_AREA_COLORS, type RadarChartDatum, type RadarChartProps, type RadarChartSeries, type RadarPoint, type RadioColorScheme, type RadioGroupProps, type RadioProps, type RadioSize, type RateProps, type RateSize, type ResizableProps, type ResizeAxis, type ResizeEvent, type ResizeHandlePosition, type ResponsiveBreakpoint, type ResultColorScheme, type ResultProps, type ResultStatus, type RgbColor, type RichTextEditorMode, type RichTextEditorProps, type RowProps, type RowSelectionConfig, SCATTER_ENTRANCE_CLASS, SCATTER_ENTRANCE_KEYFRAMES, SHAKE_CLASS, SVG_ANIMATION_CLASSES, SVG_ANIMATION_VARS, SVG_DEFAULT_FILL, SVG_DEFAULT_STROKE, SVG_DEFAULT_VIEWBOX_20, SVG_DEFAULT_VIEWBOX_24, SVG_DEFAULT_XMLNS, SVG_PATH_ANIMATION_CSS, type ScatterChartDatum, type ScatterChartProps, type SearchHandler, type SegmentedOption, type SegmentedProps, type SegmentedSize, type SelectChangeHandler, type SelectModelValue, type SelectOption, type SelectOptionGroup, type SelectOptionSlotContext, type SelectOptions, type SelectProps, type SelectSize, type SelectValue, type SelectValues, type SidebarProps, type SkeletonAnimation, type SkeletonProps, type SkeletonShape, type SkeletonVariant, type SliderProps, type SliderSize, type SortDirection, type SortState, type SpaceAlign, type SpaceDirection, type SpaceProps, type SpaceSize, type SplitDirection, type SplitterPaneConfig, type SplitterProps, type StatisticProps, type StatisticSize, type StatusIconType, type StepChangeHandler, type StepItem, type StepSize, type StepStatus, type StepperProps, type StepperSize, type StepsDirection, type StepsProps, type StringChangeHandler, type StyleAtom, type StyleObject, type StyleValue, type SubMenuProps, type SunburstArc, type SunburstChartDatum, type SunburstChartProps, type SwimlaneGroup, type SwitchProps, type SwitchSize, THEME_CSS_VARS, TRANSITION_BASE, TRANSITION_DURATIONS, TRANSITION_OPACITY, TRANSITION_TRANSFORM, type TabChangeHandler, type TabChangeInfo, type TabEditInfo, type TabPaneProps, type TabPosition, type TabSize, type TabType, type TableCellSlotContext, type TableColumn, type TableEmptySlotContext, type TableExpandChangeHandler, type TableExpandSlotContext, type TableFilterChangeHandler, type TableProps, type TableRowClickHandler, type TableSelectionChangeHandler, type TableSize, type TableSortChangeHandler, type TableToolbarAction, type TableToolbarFilter, type TableToolbarFilterValue, type TableToolbarProps, type TabsProps, type TagColorScheme, type TagProps, type TagSize, type TagThemeColors, type TagVariant, type TaskBoardCard, type TaskBoardCardMoveEvent, type TaskBoardColumn, type TaskBoardColumnMoveEvent, type TaskBoardDragData, type TaskBoardDragState, type TaskBoardMoveValidator, type TaskBoardProps, type TextAlign, type TextColor, type TextProps, type TextSize, type TextTag, type TextWeight, type TextareaProps, type TextareaSize, type ThemeChangeEvent, type ThemeChangeListener, type ThemeColorScale, type ThemeColors, type ThemeConfig, ThemeManager, type ThemeMotion, type ThemePreset, type ThemePresetName, type ThemeRadius, type ThemeSemanticColors, type ThemeShadows, type ThemeSpacing, type ThemeTypography, type TigerLocale, type TigerLocaleCommon, type TigerLocaleDrawer, type TigerLocaleFormWizard, type TigerLocaleModal, type TigerLocalePagination, type TigerLocaleTaskBoard, type TigerLocaleUpload, type TigercatPluginOptions, type TimeFormat, TimePickerCloseIconPath, type TimePickerLabels, type TimePickerModelValue, type TimePickerOptionUnit, type TimePickerProps, type TimePickerRangeValue, type TimePickerSingleValue, type TimePickerSize, type TimelineItem, type TimelineItemPosition, type TimelineMode, type TimelineProps, type Token, type TokenType, type ToolbarAction, type ToolbarButton, type TooltipProps, type TooltipTrigger, type TouchDragState, type TouchDragTracker, type TourPlacement, type TourProps, type TourRect, type TourStep, type TransferDirection, type TransferItem, type TransferProps, type TransferSize, type TransitionClasses, type TransitionConfig, type TransitionType, type TreeCheckStrategy, type TreeCheckedState, type TreeExpandedState, type TreeFilterFn, type TreeLoadDataFn, type TreeMapChartDatum, type TreeMapChartProps, type TreeMapNode, type TreeNode, type TreeProps, type TreeSelectProps, type TreeSelectSize, type TreeSelectValue, type TreeSelectionMode, type TriggerHandlerMap, type UploadFile, type UploadFileStatus, type UploadLabelOverrides, type UploadLabels, type UploadListType, type UploadProps, type UploadRejectReason, type UploadRejectedFile, type UploadRequestOptions, type UploadStatusIconSize, type VirtualListItemSize, type VirtualListProps, type VirtualRange, type VirtualTableProps, type VirtualTableRange, type VisibleTreeItem, WEEKDAYS, type WatermarkFont, type WatermarkProps, type WizardStep, ZH_CN_FORM_WIZARD_LABELS, ZH_CN_PAGINATION_LABELS, ZH_CN_TASK_BOARD_LABELS, activeOpacityClasses, activePressClasses, affixWrapperClasses, alertBannerClasses, alertBaseClasses, alertCloseButtonBaseClasses, alertCloseIconPath, alertContentClasses, alertCountdownBarClasses, alertCountdownColorClasses, alertCountdownContainerClasses, alertDescriptionSizeClasses, alertIconContainerClasses, alertIconSizeClasses, alertSizeClasses, alertTitleSizeClasses, aliasTokens, anchorAffixClasses, anchorBaseClasses, anchorInkActiveHorizontalClasses, anchorInkActiveVerticalClasses, anchorInkContainerHorizontalClasses, anchorInkContainerVerticalClasses, anchorLinkActiveClasses, anchorLinkBaseClasses, anchorLinkListHorizontalClasses, anchorLinkListVerticalClasses, animationDelayClasses, animationDelayStyles, announceToScreenReader, applyAspectRatio, applyFloatingStyles, autoCompleteBaseClasses, autoCompleteDropdownClasses, autoCompleteEmptyStateClasses, autoCompleteOptionBaseClasses, autoResizeTextarea, autoUpdateFloating, avatarBaseClasses, avatarDefaultBgColor, avatarDefaultTextColor, avatarGroupBaseClasses, avatarGroupItemClasses, avatarGroupOverflowClasses, avatarImageClasses, avatarShapeClasses, avatarSizeClasses, backTopButtonClasses, backTopContainerClasses, backTopHiddenClasses, backTopIconPath, backTopVisibleClasses, badgeBaseClasses, badgePositionClasses, badgeSizeClasses, badgeTypeClasses, badgeWrapperClasses, barAnimatedTransition, barValueLabelClasses, barValueLabelInsideClasses, barsVariantConfig, breadcrumbContainerClasses, breadcrumbCurrentClasses, breadcrumbEllipsisClasses, breadcrumbItemBaseClasses, breadcrumbLinkClasses, breadcrumbSeparatorBaseClasses, buildActivityGroups, buildChartLegendItems, buildCommentTree, buildNotificationGroups, buildTriggerHandlerMap, buttonBaseClasses, buttonDangerClasses, buttonDisabledClasses, buttonGroupBaseClasses, buttonGroupHorizontalClasses, buttonGroupItemClasses, buttonGroupItemVerticalClasses, buttonGroupVerticalClasses, buttonSizeClasses, calculateAffixState, calculateCheckedState, calculateCirclePath, calculateInitialSizes, calculatePagination, calculateResizeDelta, calculateStepStatus, calculateTransform, calculateVirtualRange, calendarHeaderClasses, calendarNavButtonClasses, calendarSolidIcon20PathD, calendarTitleClasses, calendarWeekdayClasses, canRedo, canUndo, captureActiveElement, cardActionsClasses, cardBaseClasses, cardCoverClasses, cardCoverWrapperClasses, cardDirectionClasses, cardFooterClasses, cardHeaderClasses, cardHorizontalBodyClasses, cardHoverClasses, cardSizeClasses, cardVariantClasses, carouselArrowBaseClasses, carouselArrowDisabledClasses, carouselBaseClasses, carouselDotActiveClasses, carouselDotClasses, carouselDotsBaseClasses, carouselDotsPositionClasses, carouselNextArrowClasses, carouselNextArrowPath, carouselPrevArrowClasses, carouselPrevArrowPath, carouselSlideBaseClasses, carouselTrackFadeClasses, carouselTrackScrollClasses, cascaderBaseClasses, cascaderColumnClasses, cascaderDropdownClasses, cascaderEmptyStateClasses, cascaderOptionBaseClasses, cascaderOptionDisabledClasses, cascaderOptionSelectedClasses, cascaderSearchInputClasses, cascaderSearchResultClasses, chartAxisLabelClasses, chartAxisLineClasses, chartAxisTickLineClasses, chartAxisTickTextClasses, chartCanvasBaseClasses, chartGridLineClasses, chartInteractiveClasses, checkSolidIcon20PathD, checkboxLabelSizeClasses, checkboxSizeClasses, checkedSetsFromState, chevronDownSolidIcon20PathD, chevronLeftSolidIcon20PathD, chevronRightSolidIcon20PathD, clampBarWidth, clampDimensions, clampPaneSize, clampPercentage, clampScale, clampSlideIndex, clampStepperValue, clampValue, clampZoom, classNames, clearFieldErrors, clipCommentTreeDepth, clockSolidIcon20PathD, closeIconPathD, closeIconPathStrokeLinecap, closeIconPathStrokeLinejoin, closeIconPathStrokeWidth, closeIconViewBox, closeSolidIcon20PathD, codeBlockContainerClasses, codeBlockCopyButtonBaseClasses, codeBlockCopyButtonCopiedClasses, codeBlockPreClasses, codeEditorBaseClasses, codeEditorDarkClasses, codeEditorDisabledClasses, codeEditorHighlightClasses, codeEditorLightClasses, codeEditorLineNumberClasses, codeEditorLineNumberDarkClasses, codeEditorLineNumberLightClasses, codeEditorTextareaClasses, coerceClassValue, coerceStyleValue, collapseBaseClasses, collapseBorderlessClasses, collapseGhostClasses, collapseHeaderTextClasses, collapseIconBaseClasses, collapseIconExpandedClasses, collapseIconPositionClasses, collapsePanelBaseClasses, collapsePanelContentBaseClasses, collapsePanelContentWrapperClasses, collapsePanelHeaderActiveClasses, collapsePanelHeaderBaseClasses, collapsePanelHeaderDisabledClasses, colorPickerBaseClasses, colorPickerInputClasses, colorPickerPanelClasses, colorPickerPresetClasses, colorPickerSliderTrackClasses, columnDragHandleClasses, columnDragOverClasses, componentTokens, componentTransitionMap, computeFloatingPosition, computeFunnelSegments, computeGaugeTicks, computeHeatmapCells, computePieHoverOffset, computePieLabelLine, computeSunburstArcs, computeTreeMapNodes, constrainCropRect, containerBaseClasses, containerCenteredClasses, containerMaxWidthClasses, containerPaddingClasses, copyTextToClipboard, countLines, createAreaPath, createAriaId, createBandScale, createCardDragData, createChartInteractionHandlers, createColumnDragData, createDragState, createFloatingIdFactory, createFocusTrap, createFormHistory, createGaugeArcPath, createGaugeNeedlePath, createLinePath, createLinearScale, createPieArcPath, createPointScale, createPolygonPath, createTigercatPlugin, createTouchDragTracker, cropCanvas, cropUploadTriggerClasses, cropUploadTriggerDisabledClasses, datePickerBaseClasses, datePickerCalendarClasses, datePickerCalendarGridClasses, datePickerCalendarHeaderClasses, datePickerClearButtonClasses, datePickerDayNameClasses, datePickerFooterButtonClasses, datePickerFooterClasses, datePickerInputWrapperClasses, datePickerMonthYearClasses, datePickerNavButtonClasses, defaultAlertThemeColors, defaultAutoCompleteFilter, defaultBadgeThemeColors, defaultCascaderFilter, defaultChatMessageStatusInfo, defaultLinkThemeColors, defaultMessageThemeColors, defaultNotificationThemeColors, defaultProgressThemeColors, defaultRadarTooltipFormatter, defaultRadioColors, defaultResizeHandles, defaultSeriesXYTooltipFormatter, defaultSortFn, defaultTagThemeColors, defaultTheme, defaultThemeColors, defaultToolbar, defaultTooltipFormatter, defaultTotalText, defaultTransferFilter, defaultXYTooltipFormatter, descriptionsBaseClasses, descriptionsCellSizeClasses, descriptionsContentBorderedClasses, descriptionsContentClasses, descriptionsExtraClasses, descriptionsHeaderClasses, descriptionsLabelBorderedClasses, descriptionsLabelClasses, descriptionsSizeClasses, descriptionsTableBorderedClasses, descriptionsTableClasses, descriptionsTitleClasses, descriptionsVerticalContentClasses, descriptionsVerticalItemClasses, descriptionsVerticalLabelClasses, descriptionsVerticalWrapperClasses, descriptionsWrapperClasses, dotSizeClasses, dotsVariantConfig, downloadCsv, editableCellInputClasses, emptyActionsClasses, emptyBaseClasses, emptyDescriptionClasses, emptyIllustrationPaths, emptyIllustrationViewBox, emptyImageClasses, enUS, ensureBarMinHeight, errorCircleSolidIcon20PathD, expandChevronIcon16PathD, exportTableToCsv, extractMentionQuery, fileManagerBreadcrumbClasses, fileManagerBreadcrumbItemClasses, fileManagerBreadcrumbSeparatorClasses, fileManagerContainerClasses, fileManagerContentClasses, fileManagerEmptyClasses, fileManagerGridItemClasses, fileManagerGridItemSelectedClasses, fileManagerItemIconClasses, fileManagerItemMetaClasses, fileManagerItemNameClasses, fileManagerListItemClasses, fileManagerListItemSelectedClasses, fileManagerLoadingClasses, fileManagerSearchClasses, fileManagerToolbarClasses, fileToUploadFile, filterAutoCompleteOptions, filterCards, filterCascaderOptions, filterColumns, filterData, filterDataAdvanced, filterFileItems, filterHiddenFiles, filterOptions, filterTransferItems, filterTreeNodes, filterTreeSelectNodes, findActiveAnchor, findCascaderOption, findColumnFromPoint, findHotkeyMatch, findNode, findTreeSelectNode, flattenCascaderOptions, flattenSelectOptions, flattenTreeSelectNodes, floatButtonBaseClasses, floatButtonDisabledClasses, floatButtonGroupClasses, floatButtonGroupExpandClasses, floatButtonIconSizeClasses, floatButtonShapeClasses, floatButtonSizeClasses, floatButtonTypeClasses, focusElement, focusFirst, focusFirstChildItem, focusFirstMenuItem, focusMenuEdge, focusRingClasses, focusRingInsetClasses, formatActivityTime, formatBadgeContent, formatChatTime, formatColorString, formatCommentTime, formatDate, formatFileSize, formatFileSizeLabel, formatMonthYear, formatPageAriaLabel, formatPaginationTotal, formatPrecision, formatProgressText, formatStatisticValue, formatTime, formatTimeDisplay, formatTimeDisplayWithLocale, generateAvatarColor, generateFileId, generateHours, generateLineNumbers, generateMinutes, generateQRMatrix, generateSeconds, getAccessibleTransitionClasses, getActiveElement, getActiveIndex, getAlertIconPath, getAlertTypeClasses, getAlignClasses, getAllKeys, getAllTreeSelectKeys, getAnchorInkActiveClasses, getAnchorInkContainerClasses, getAnchorLinkClasses, getAnchorLinkListClasses, getAnchorTargetElement, getAnchorWrapperClasses, getAreaGradientPrefix, getArrowStyles, getAutoCompleteInputClasses, getAutoCompleteOptionClasses, getAutoExpandKeys, getBadgeVariantClasses, getBarGradientPrefix, getBarGrowAnimationStyle, getBarValueLabelY, getBreadcrumbCollapsedItems, getBreadcrumbItemClasses, getBreadcrumbLinkClasses, getBreadcrumbSeparatorClasses, getButtonVariantClasses, getCalendarContainerClasses, getCalendarDayClasses, getCalendarDays, getCalendarMonthClasses, getCardClasses, getCarouselArrowClasses, getCarouselContainerClasses, getCarouselDotClasses, getCarouselDotsClasses, getCascaderColumns, getCascaderDisplayLabel, getCascaderOptionClasses, getCascaderOptionPath, getCascaderOptionsAtLevel, getCascaderTriggerClasses, getChartAnimationStyle, getChartAxisTicks, getChartElementOpacity, getChartEntranceTransform, getChartGridLineDasharray, getChartInnerRect, getChatMessageStatusInfo, getCheckboxCellClasses, getCheckboxClasses, getCheckboxLabelClasses, getCheckedKeysByStrategy, getCircleSize, getCodeEditorContainerClasses, getColMergedStyleVars, getColOrderStyleVars, getColStyleVars, getCollapseContainerClasses, getCollapseIconClasses, getCollapsePanelClasses, getCollapsePanelHeaderClasses, getColorPickerTriggerClasses, getColumnCardCount, getColumnDropIndex, getComponentTransition, getContainerClasses, getContainerHeight, getContainerScrollTop, getCropperHandleClasses, getCurrentTime, getDatePickerDayCellClasses, getDatePickerIconButtonClasses, getDatePickerInputClasses, getDatePickerLabels, getDayNames, getDaysInMonth, getDefaultDragConfig, getDependentFields, getDescendantKeys, getDescriptionsClasses, getDescriptionsContentClasses, getDescriptionsLabelClasses, getDescriptionsTableClasses, getDescriptionsVerticalItemClasses, getDividerClasses, getDividerStyle, getDragAreaClasses, getDrawerBodyClasses, getDrawerCloseButtonClasses, getDrawerContainerClasses, getDrawerFooterClasses, getDrawerHeaderClasses, getDrawerMaskClasses, getDrawerPanelClasses, getDrawerTitleClasses, getDropIndex, getDropdownChevronClasses, getDropdownContainerClasses, getDropdownItemClasses, getDropdownMenuClasses, getDropdownTriggerClasses, getEditableCellClasses, getEditorAreaClasses, getElementOffsetTop, getEmptyDescription, getErrorFields, getExpandIconCellClasses, getExpandIconClasses, getExpandedRowClasses, getExpandedRowContentClasses, getFieldDependencies, getFieldError, getFileExtension, getFileItemClasses, getFileListItemClasses, getFileManagerContainerClasses, getFirstDayOfMonth, getFixedColumnOffsets, getFixedVirtualRange, getFlexClasses, getFocusTrapNavigation, getFocusableElements, getFormItemAsteriskClasses, getFormItemClasses, getFormItemContentClasses, getFormItemErrorClasses, getFormItemFieldClasses, getFormItemLabelClasses, getFormWizardLabels, getGridColumnClasses, getGroupHeaderCellClasses, getGutterStyles, getImageImgClasses, getInfiniteScrollContainerClasses, getInitialCropRect, getInitials, getInputAffixClasses, getInputClasses, getInputClearButtonClasses, getInputCountClasses, getInputErrorClasses, getInputGroupAddonClasses, getInputGroupClasses, getInputNumberFocusRingColor, getInputNumberInputClasses, getInputNumberSideButtonClasses, getInputNumberSizeClasses, getInputNumberStatusClasses, getInputNumberStepButtonClasses, getInputNumberWrapperClasses, getInputPasswordToggleClasses, getInputWrapperClasses, getJustifyClasses, getKanbanContainerClasses, getLeafKeys, getLineGradientPrefix, getLineNumberClasses, getLinkVariantClasses, getListClasses, getListHeaderFooterClasses, getListItemClasses, getLoadingBarClasses, getLoadingBarsWrapperClasses, getLoadingClasses, getLoadingDotClasses, getLoadingDotsWrapperClasses, getLoadingOverlaySpinnerClasses, getLoadingTextClasses, getMentionsInputClasses, getMentionsOptionClasses, getMenuButtons, getMenuClasses, getMenuItemClasses, getMenuItemIndent, getMenuItems, getMessageIconPath, getMessageTypeClasses, getModalContainerClasses, getModalContentClasses, getMonthDays, getMonthNames, getNextActiveKey, getNextSlideIndex, getNotificationIconPath, getNotificationTypeClasses, getNumberExtent, getOffsetClasses, getOrderClasses, getPageNumbers, getPageRange, getPageSizeSelectorClasses, getPaginationButtonActiveClasses, getPaginationButtonBaseClasses, getPaginationContainerClasses, getPaginationEllipsisClasses, getPaginationLabels, getPaneStyle, getParagraphRowWidth, getParentKeys, getPathDrawAnimationStyle, getPathDrawStyles, getPathLength, getPendingDotClasses, getPictureCardClasses, getPieArcs, getPieDrawAnimationStyle, getPlacementSide, getPopconfirmArrowClasses, getPopconfirmButtonBaseClasses, getPopconfirmButtonsClasses, getPopconfirmCancelButtonClasses, getPopconfirmContainerClasses, getPopconfirmContentClasses, getPopconfirmDescriptionClasses, getPopconfirmIconClasses, getPopconfirmIconPath, getPopconfirmOkButtonClasses, getPopconfirmTitleClasses, getPopconfirmTriggerClasses, getPopoverContainerClasses, getPopoverContentClasses, getPopoverTriggerClasses, getPrevSlideIndex, getPreviewNavState, getPrintLayoutClasses, getProgressTextColorClasses, getProgressVariantClasses, getQuickJumperInputClasses, getRadarAngles, getRadarLabelAlign, getRadarPoints, getRadioDotClasses, getRadioGroupClasses, getRadioLabelClasses, getRadioVisualClasses, getRateStarClasses, getResizableHandleClasses, getResultColorScheme, getResultHttpLabel, getResultIconPath, getRichTextContainerClasses, getRowKey, getScatterGradientPrefix, getScatterHoverShadow, getScatterHoverSize, getScatterPointPath, getScrollTop, getScrollTransform, getSecureRel, getSegmentedContainerClasses, getSegmentedOptionClasses, getSelectOptionClasses, getSelectSizeClasses, getSelectTriggerClasses, getSeparatorContent, getShortDayNames, getShortMonthNames, getSidebarStyle, getSimplePaginationButtonClasses, getSimplePaginationButtonsWrapperClasses, getSimplePaginationContainerClasses, getSimplePaginationControlsClasses, getSimplePaginationPageIndicatorClasses, getSimplePaginationSelectClasses, getSimplePaginationTotalClasses, getSizeTextClasses, getSkeletonClasses, getSkeletonDimensions, getSliderThumbClasses, getSliderTooltipClasses, getSliderTrackClasses, getSortIconClasses, getSpaceClasses, getSpaceStyle, getSpanClasses, getSpinnerSVG, getSplitterContainerClasses, getSplitterGutterClasses, getSplitterGutterHandleClasses, getStatisticTitleClasses, getStatisticValueClasses, getStatusVariant, getStepContentClasses, getStepDescriptionClasses, getStepIconClasses, getStepItemClasses, getStepTailClasses, getStepTitleClasses, getStepperButtonClasses, getStepperInputClasses, getStepsContainerClasses, getSubMenuExpandIconClasses, getSubMenuTitleClasses, getSubmenuPopupZIndex, getSvgDefaultAttrs, getSwitchClasses, getSwitchThumbClasses, getTabItemClasses, getTabNavClasses, getTabNavListClasses, getTabPaneClasses, getTableCellClasses, getTableHeaderCellClasses, getTableHeaderClasses, getTableRowClasses, getTableWrapperClasses, getTabsContainerClasses, getTagVariantClasses, getTaskBoardLabels, getTextClasses, getThemeColor, getTimePeriodLabels, getTimePickerIconButtonClasses, getTimePickerInputClasses, getTimePickerItemClasses, getTimePickerLabels, getTimePickerOptionAriaLabel, getTimePickerPeriodButtonClasses, getTimePickerRangeTabButtonClasses, getTimelineContainerClasses, getTimelineContentClasses, getTimelineDotClasses, getTimelineHeadClasses, getTimelineItemClasses, getTimelineTailClasses, getTokenClasses, getToolbarButtonClasses, getTooltipContainerClasses, getTooltipContentClasses, getTooltipTriggerClasses, getTotalPages, getTotalTextClasses, getTouchDistance, getTourPopoverPosition, getTourSpotlightStyle, getTourTargetRect, getTransferButtonClasses, getTransferCheckboxClasses, getTransferItemClasses, getTransformOrigin, getTransitionClasses, getTreeNodeClasses, getTreeNodeExpandIconClasses, getTreeSelectDisplayLabel, getTreeSelectNodeClasses, getTreeSelectTriggerClasses, getUploadButtonClasses, getUploadLabels, getUploadStatusIconClasses, getValidationOrder, getValueByPath, getVirtualRowKey, getVirtualTableContainerClasses, getVirtualTableRowClasses, getVisibleTreeItems, getWatermarkOverlayStyle, globalColors, globalDuration, globalEasing, globalFont, globalRadius, globalShadow, globalSpace, groupBySwimlane, groupDataByColumn, groupItemsIntoRows, handleDragEnd, handleDragOver, handleDragStart, handleDrop, handleMenuNavigation, handleNodeCheck, handleTabKey, hasErrors, hexToRgb, hsvToRgb, icon16ViewBox, icon20ViewBox, icon24PathStrokeLinecap, icon24PathStrokeLinejoin, icon24StrokeWidth, icon24ViewBox, iconSizeClasses, iconSvgBaseClasses, iconSvgDefaultStrokeLinecap, iconSvgDefaultStrokeLinejoin, iconSvgDefaultStrokeWidth, iconWrapperClasses, idID, imageBaseClasses, imageCropperContainerClasses, imageCropperDragAreaClasses, imageCropperGuideClasses, imageCropperImgClasses, imageCropperMaskClasses, imageCropperSelectionClasses, imageErrorClasses, imageErrorIconPath, imageLoadingClasses, imagePreviewCloseBtnClasses, imagePreviewCounterClasses, imagePreviewCursorClass, imagePreviewImgClasses, imagePreviewMaskClasses, imagePreviewNavBtnClasses, imagePreviewToolbarBtnClasses, imagePreviewToolbarClasses, imagePreviewWrapperClasses, imageViewerBackdropClasses, imageViewerCloseBtnClasses, imageViewerCounterClasses, imageViewerIcons, imageViewerImgClasses, imageViewerNavBtnClasses, imageViewerToolbarBtnClasses, imageViewerToolbarClasses, infiniteScrollContainerClasses, infiniteScrollEndClasses, infiniteScrollLoaderClasses, initRovingTabIndex, injectDropdownStyles, injectLoadingAnimationStyles, injectShakeStyle, injectSvgAnimationStyles, inputFocusClasses, inputGroupAddonBaseClasses, inputGroupAddonSizeClasses, inputGroupBaseClasses, inputGroupCompactClasses, inputGroupSpacedClasses, inputNumberControlsRightClasses, inputNumberDownIconPathD, inputNumberMinusIconPathD, inputNumberPlusIconPathD, inputNumberUpIconPathD, interactiveClasses, interpolateColor, interpolateUploadLabel, isActivationKey, isAtMax, isAtMin, isBrowser, isCascaderOptionExpandable, isContentEmpty, isCrossContainerDrag, isDateInRange, isDragEnabled, isEnterKey, isEscapeKey, isEventOutside, isHTMLElement, isInlineFormat, isKeyActive, isKeyOpen, isKeySelected, isNextDisabled, isOptionGroup, isPanelActive, isPrevDisabled, isSameContainerDrag, isSameDay, isSpaceKey, isTabKey, isTimeInRange, isToday, isValidDragHandle, isValidHex, isValidUrl, isWipExceeded, jaJP, kanbanAddCardClasses, kanbanAddColumnClasses, kanbanCardCountClasses, kanbanFilterHighlightClasses, kanbanSwimlaneClasses, kanbanSwimlaneCollapsedClasses, kanbanSwimlaneDotClasses, kanbanSwimlaneHeaderClasses, koKR, layoutContentClasses, layoutFooterClasses, layoutHeaderClasses, layoutRootClasses, layoutSidebarClasses, layoutSidebarCollapsedClasses, linePointTransitionClasses, linkBaseClasses, linkDisabledClasses, linkSizeClasses, listBaseClasses, listBorderClasses, listEmptyStateClasses, listFooterClasses, listGridContainerClasses, listHeaderFooterBaseClasses, listItemAvatarClasses, listItemBaseClasses, listItemContentClasses, listItemDescriptionClasses, listItemDividedClasses, listItemExtraClasses, listItemHoverClasses, listItemLayoutClasses, listItemMetaClasses, listItemSizeClasses, listItemTitleClasses, listLoadingOverlayClasses, listSizeClasses, listWrapperClasses, loadingBarBaseClasses, loadingBarsWrapperBaseClasses, loadingColorClasses, loadingContainerBaseClasses, loadingDotBaseClasses, loadingDotsWrapperBaseClasses, loadingFullscreenBaseClasses, loadingOverlaySpinnerBaseClasses, loadingSizeClasses, loadingSpinnerBaseClasses, loadingTextSizeClasses, lockClosedIcon24PathD, lockOpenIcon24PathD, manageLiveRegion, mapToolbarAction, matchesHotkey, mentionsDropdownClasses, menuBaseClasses, menuCollapsedClasses, menuCollapsedItemClasses, menuDarkThemeClasses, menuItemBaseClasses, menuItemDisabledClasses, menuItemFocusClasses, menuItemGroupTitleClasses, menuItemHoverDarkClasses, menuItemHoverLightClasses, menuItemIconClasses, menuItemSelectedDarkClasses, menuItemSelectedLightClasses, menuLightThemeClasses, menuModeClasses, mergeStyleValues, mergeTigerLocale, messageBaseClasses, messageCloseButtonClasses, messageCloseIconPath, messageContainerBaseClasses, messageContentClasses, messageIconClasses, messageIconPaths, messageLoadingSpinnerClasses, messagePositionClasses, minimalTheme, minusPathD, modalBodyClasses, modalCloseButtonClasses, modalContentWrapperClasses, modalFooterClasses, modalHeaderClasses, modalMaskClasses, modalSizeClasses, modalTitleClasses, modalWrapperClasses, moveCard, moveCropRect, moveFocusInMenu, moveItemBetweenContainers, naturalTheme, navigateToFolder, nextIconPath, normalizeActiveKeys, normalizeChartPadding, normalizeDate, normalizeRotation, normalizeStringOption, normalizeSvgAttrs, notificationBaseClasses, notificationCloseButtonClasses, notificationCloseIconClasses, notificationCloseIconPath, notificationContainerBaseClasses, notificationContentClasses, notificationDescriptionClasses, notificationIconClasses, notificationIconPaths, notificationPositionClasses, notificationTitleClasses, paginateData, parseDate, parseDragData, parseHeight, parseHotkey, parseInputValue, parsePaneSize, parseTime, parseWidthToPx, plusPathD, polarToCartesian, popconfirmErrorIconPath, popconfirmIconPathStrokeLinecap, popconfirmIconPathStrokeLinejoin, popconfirmIconStrokeWidth, popconfirmIconViewBox, popconfirmInfoIconPath, popconfirmQuestionIconPath, popconfirmSuccessIconPath, popconfirmWarningIconPath, prefersReducedMotion, prepareUploadFiles, prevIconPath, previewCloseIconPath, printLayoutBaseClasses, printLayoutFooterClasses, printLayoutHeaderClasses, printLayoutPaddingClasses, printLayoutPageBreakClasses, printLayoutPrintStyles, printPageSizeDimensions, professionalTheme, progressCircleBaseClasses, progressCircleSizeClasses, progressCircleTextClasses, progressCircleTrackStrokeClasses, progressLineBaseClasses, progressLineInnerClasses, progressLineSizeClasses, progressStripedAnimationClasses, progressStripedClasses, progressTextBaseClasses, progressTextSizeClasses, progressTrackBgClasses, pushFormHistory, qrcodeContainerClasses, qrcodeExpiredTextClasses, qrcodeOverlayClasses, qrcodeRefreshClasses, radioDisabledCursorClasses, radioDotBaseClasses, radioFocusVisibleClasses, radioGroupDefaultClasses, radioHoverBorderClasses, radioLabelBaseClasses, radioRootBaseClasses, radioSizeClasses, radioVisualBaseClasses, rateActiveColor, rateBaseClasses, rateHoverColor, rateInactiveColor, redoFormHistory, renderWatermarkCanvas, reorderColumns, reorderItems, replaceKeys, resetAreaGradientCounter, resetBarGradientCounter, resetIconPath, resetLineGradientCounter, resetScatterGradientCounter, resizableBaseClasses, resizableHandleBaseClasses, resizableHandleDisabledClasses, resizableHandleDraggingClasses, resizableHandlePositionStyles, resizeCropRect, resizePanes, resolveAffixTarget, resolveChartPalette, resolveChartTooltipContent, resolveDragConfig, resolveLocaleText, resolveMultiSeriesTooltipContent, resolveResponsiveValue, resolveSeriesData, resolveWatermarkFont, restoreFocus, resultBaseClasses, resultExtraClasses, resultIconClasses, resultIconContainerBaseClasses, resultSubTitleClasses, resultTitleClasses, rgbToHex, rgbToHsv, richTextContainerBase, richTextContainerDisabled, richTextEditorAreaBase, richTextEditorAreaReadOnly, richTextPlaceholderClasses, richTextToolbarButtonActive, richTextToolbarButtonBase, richTextToolbarClasses, sanitizeHtml, scatterPointTransitionClasses, scrollToAnchor, scrollToTop, selectBaseClasses, selectDropdownBaseClasses, selectEmptyStateClasses, selectGroupLabelClasses, selectOptionBaseClasses, selectOptionDisabledClasses, selectOptionSelectedClasses, selectSearchInputClasses, setDragData, setThemeColors, shouldHideBadge, shouldLoadMore, sizesToPercentages, skeletonAnimationClasses, skeletonBaseClasses, skeletonShapeClasses, skeletonVariantDefaults, sliderBaseClasses, sliderDisabledClasses, sliderGetKeyboardValue, sliderGetPercentage, sliderGetValueFromPosition, sliderNormalizeValue, sliderRangeClasses, sliderSizeClasses, sliderThumbClasses, sliderTooltipClasses, sliderTrackClasses, sortActivityGroups, sortAscIcon16PathD, sortBothIcon16PathD, sortData, sortDescIcon16PathD, sortFileItems, sortNotificationGroups, splitTransferData, splitterBaseClasses, splitterGutterBaseClasses, splitterGutterDisabledClasses, splitterGutterDraggingClasses, splitterGutterHandleClasses, splitterGutterHandleHorizontalClasses, splitterGutterHandleVerticalClasses, splitterGutterHorizontalClasses, splitterGutterVerticalClasses, splitterHorizontalClasses, splitterPaneBaseClasses, splitterVerticalClasses, stackSeriesData, starPathD, starViewBox, statisticBaseClasses, statisticPrefixClasses, statisticSuffixClasses, statusErrorIconPath, statusIconPaths, statusInfoIconPath, statusSuccessIconPath, statusWarningIconPath, stepFinishChar, stepValue, stepperBaseClasses, stepperIconViewBox, submenuContentHorizontalClasses, submenuContentHorizontalNestedClasses, submenuContentInlineClasses, submenuContentPopupClasses, submenuContentVerticalClasses, submenuExpandIconClasses, submenuExpandIconExpandedClasses, submenuTitleClasses, successCircleSolidIcon20PathD, switchBaseClasses, switchSizeClasses, switchThumbSizeClasses, switchThumbTranslateClasses, tabAddButtonClasses, tabCloseButtonClasses, tabContentBaseClasses, tabFocusClasses, tabItemBaseClasses, tabItemCardActiveClasses, tabItemCardClasses, tabItemDisabledClasses, tabItemEditableCardActiveClasses, tabItemEditableCardClasses, tabItemLineActiveClasses, tabItemLineClasses, tabItemPillsActiveClasses, tabItemPillsClasses, tabItemSizeClasses, tabNavBaseClasses, tabNavLineBorderClasses, tabNavListBaseClasses, tabNavListCenteredClasses, tabNavListPositionClasses, tabNavPositionClasses, tabPaneBaseClasses, tabPaneHiddenClasses, tableBaseClasses, tableContainerClasses, tableEmptyStateClasses, tableExportButtonClasses, tableGroupHeaderClasses, tableLoadingOverlayClasses, tableSummaryRowClasses, tabsBaseClasses, tagBaseClasses, tagCloseButtonBaseClasses, tagCloseIconPath, tagSizeClasses, taskBoardAddCardClasses, taskBoardBaseClasses, taskBoardCardClasses, taskBoardCardDraggingClasses, taskBoardColumnBodyClasses, taskBoardColumnClasses, taskBoardColumnDraggingClasses, taskBoardColumnDropTargetClasses, taskBoardColumnHeaderClasses, taskBoardDropIndicatorClasses, taskBoardEmptyClasses, taskBoardWipExceededClasses, textAlignClasses, textColorClasses, textDecorationClasses, textSizeClasses, textWeightClasses, thTH, tigercatDarkTheme, tigercatPlugin, tigercatTheme, timePickerBaseClasses, timePickerClearButtonClasses, timePickerColumnClasses, timePickerColumnHeaderClasses, timePickerColumnListClasses, timePickerFooterButtonClasses, timePickerFooterClasses, timePickerInputWrapperClasses, timePickerPanelClasses, timePickerPanelContentClasses, timePickerRangeHeaderClasses, timelineContainerClasses, timelineContentClasses, timelineCustomDotClasses, timelineDescriptionClasses, timelineDotClasses, timelineHeadClasses, timelineItemClasses, timelineLabelClasses, timelineListClasses, timelineTailClasses, to12HourFormat, to24HourFormat, toActivityTimelineItems, toCSSSize, toDragItems, toggleKey, togglePanelKey, tokenClassesDark, tokenClassesLight, tokenizeLine, tourCloseButtonClasses, tourDescriptionClasses, tourFooterClasses, tourIndicatorClasses, tourMaskClasses, tourPopoverClasses, tourTitleClasses, transferBaseClasses, transferEmptyClasses, transferOperationClasses, transferPanelBodyClasses, transferPanelClasses, transferPanelHeaderClasses, transferSearchClasses, transitionPresets, treeBaseClasses, treeEmptyStateClasses, treeLineClasses, treeLoadingClasses, treeNodeCheckboxClasses, treeNodeChildrenClasses, treeNodeContentClasses, treeNodeDisabledClasses, treeNodeExpandIconClasses, treeNodeExpandIconExpandedClasses, treeNodeHoverClasses, treeNodeIconClasses, treeNodeIndentClasses, treeNodeLabelClasses, treeNodeSelectedClasses, treeNodeWrapperClasses, treeSelectBaseClasses, treeSelectDropdownClasses, treeSelectEmptyClasses, treeSelectNodeBaseClasses, treeSelectSearchClasses, undoFormHistory, updateDragOffset, uploadPlusIconPath, uploadStatusIconColorClasses, uploadStatusIconSizeClasses, validateCurrentPage, validateField, validateFileSize, validateFileType, validateForm, validateRule, valueToGaugeAngle, version, viVN, vibrantTheme, virtualListContainerClasses, virtualListInnerClasses, virtualTableBorderedClasses, virtualTableCellClasses, virtualTableContainerClasses, virtualTableEmptyClasses, virtualTableHeaderCellClasses, virtualTableHeaderClasses, virtualTableLoadingClasses, virtualTableRowClasses, virtualTableRowHoverClasses, virtualTableRowSelectedClasses, virtualTableRowStripedClasses, watermarkDefaults, watermarkFontDefaults, watermarkWrapperClasses, zhCN, zhTW, zoomInIconPath, zoomOutIconPath };
|
|
17846
|
+
export { ANIMATION_DURATION_FAST_MS, ANIMATION_DURATION_MS, ANIMATION_DURATION_SLOW_MS, type ActivityAction, type ActivityFeedProps, type ActivityGroup, type ActivityItem, type ActivityStatusTag, type ActivityTimelineItem, type ActivityUser, type AffixObserverOptions, type AffixProps, type AffixState, type AlertColorScheme, type AlertProps, type AlertSize, type AlertThemeColors, type AlertType, type Align, type AnchorChangeInfo, type AnchorClickInfo, type AnchorDirection, type AnchorLinkProps, type AnchorObserverOptions, type AnchorProps, type AreaChartDatum, type AreaChartProps, type AreaChartSeries, type AriaLiveLevel, type AutoCompleteOption, type AutoCompleteProps, type AutoCompleteSize, type AutoResizeTextareaOptions, type AvatarGroupProps, type AvatarProps, type AvatarShape, type AvatarSize, type BackTopFrameCallback, type BackTopFrameCancel, type BackTopFrameRequest, type BackTopProps, type BackTopVisibilityController, type BackTopVisibilityControllerOptions, type BadgeColorScheme, type BadgePosition, type BadgeProps, type BadgeSize, type BadgeThemeColors, type BadgeType, type BadgeVariant, type BandScaleOptions, type BarChartDatum, type BarChartProps, type BarValueLabelPosition, type BaseChartProps, type BaseFloatingPopupProps, type BaseFormControlProps, type BaseInteractiveProps, type BaseLayoutProps, type BeforeUploadHandler, type BooleanChangeHandler, type BreadcrumbItemProps, type BreadcrumbProps, type BreadcrumbSeparator, type Breakpoint, type BuildChartSeriesKeysOptions, type BuildLegendItemsOptions, type ButtonColorScheme, type ButtonGroupProps, type ButtonHtmlType, type ButtonIconPosition, type ButtonProps, type ButtonSize, type ButtonVariant, CROP_HANDLES, type CalendarMode, type CalendarProps, type CancelHandler, type CardDirection, type CardDragData, type CardProps, type CardSize, type CardVariant, type CarouselAutoplayController, type CarouselAutoplayControllerOptions, type CarouselBeforeChangeInfo, type CarouselChangeInfo, type CarouselDotPosition, type CarouselEffect, type CarouselFrameCallback, type CarouselFrameCancel, type CarouselFrameRequest, type CarouselMethods, type CarouselProps, type CarouselSwipeDirection, type CarouselSwipeOptions, type CarouselTouchPoint, type CarouselVisibilityDocument, type CascaderExpandTrigger, type CascaderFilterFn, type CascaderFlattenedOption, type CascaderOption, type CascaderProps, type CascaderShowSearch, type CascaderSize, type CascaderValue, type ChartAnimationConfig, type ChartAxisOrientation, type ChartAxisProps, type ChartAxisTick, type ChartCanvasProps, type ChartCanvasSize, type ChartCurveType, type ChartFrameCallback, type ChartFrameCancel, type ChartFrameRequest, type ChartGridLine, type ChartGridLineStyle, type ChartGridProps, type ChartInteractionHandlers, type ChartInteractionOptions, type ChartInteractionProps, type ChartInteractionState, type ChartLegendItem, type ChartLegendPosition, type ChartLegendProps, type ChartPadding, type ChartPointerMoveScheduler, type ChartPointerMoveSchedulerOptions, type ChartResizeFrameCallback, type ChartResizeFrameCancel, type ChartResizeFrameRequest, type ChartResizeObserverController, type ChartResizeObserverControllerOptions, type ChartResizeObserverFactory, type ChartResizeObserverLike, type ChartScale, type ChartScaleType, type ChartScaleValue, type ChartSeriesPoint, type ChartSeriesProps, type ChartSeriesType, type ChartTooltipPosition, type ChartTooltipProps, type ChartWithAxesProps, type ChatMessage, type ChatMessageDirection, type ChatMessageStatus, type ChatMessageStatusInfo, type ChatUser, type ChatWindowProps, type CheckboxGroupProps, type CheckboxGroupValue, type CheckboxProps, type CheckboxSize, type CheckboxValue, type ClassValue, type CloseHandler, type CodeEditorProps, type CodeEditorTheme, type CodeHighlighter, type CodeLanguage, type CodeProps, type ColProps, type ColSpan, type CollapsePanelProps, type CollapseProps, type CollapseTransitionController, type CollapseTransitionControllerOptions, type CollapseTransitionElement, type ColorFormat, type ColorPickerProps, type ColorPickerSize, ColorScheme, ColumnAlign, type ColumnDragData, ColumnFilter, type CommentAction, type CommentNode, type CommentTag, type CommentThreadProps, type CommentUser, type ComponentSize, type ComposableClassInput, type ConfirmHandler, type ContainerMaxWidth, type ContainerProps, type ContentProps, type CreateAriaIdOptions, type CropHandle, type CropRect, type CropResult, type CropUploadProps, DEFAULT_CHART_COLORS, DEFAULT_FORM_WIZARD_LABELS, DEFAULT_HEATMAP_CANVAS_THRESHOLD, DEFAULT_PAGINATION_LABELS, DEFAULT_TASK_BOARD_LABELS, DONUT_BASE_SHADOW, DONUT_EMPHASIS_SHADOW, DROPDOWN_CHEVRON_PATH, DROPDOWN_ENTER_CLASS, DURATION_CLASS, DURATION_FAST_CLASS, DURATION_SLOW_CLASS, type DataTableWithToolbarProps, DateFormat, DatePickerLabels, DatePickerLocaleInput, DatePickerLocalePreset, DatePickerSize, type DescriptionsItem, type DescriptionsLayout, type DescriptionsProps, type DescriptionsSize, type DividerLineStyle, type DividerOrientation, type DividerProps, type DividerSpacing, type DocumentDragSession, type DocumentDragSessionEvent, type DocumentDragSessionOptions, type DonutChartDatum, type DonutChartProps, type DragAxis, type DragCallbacks, type DragConfig, type DragDirection, type DragDropEvent, type DragEndEvent, type DragItem, type DragMoveResult, type DragOverEvent, type DragReorderResult, type DragStartEvent, type DragState, type DrawerPlacement, type DrawerProps, type DrawerSize, type DropdownItemProps, type DropdownMenuProps, type DropdownProps, type DropdownTrigger, EASING_DEFAULT, EASING_ENTER, EASING_LEAVE, EASING_SMOOTH, EASING_SPRING, EN_US_DATEPICKER_LOCALE, type ElementLike, type EmptyIllustrationPath, type EmptyPreset, type EmptyProps, type EmptySlotContext, type ExecCommandResult, type ExpandIconPosition, type FileItem, type FileManagerModelDerived, type FileManagerModelInput, type FileManagerProps, type FileOpenResult, type FileSortField, type FileSortOrder, type FileType, type FileViewMode, FilterOption, FilterRule, type FlatTreeSelectNode, type FloatButtonGroupProps, type FloatButtonProps, type FloatButtonShape, type FloatButtonSize, type FloatingCleanup, type FloatingMiddlewareOptions, type FloatingOptions, type FloatingPlacement, type FloatingResult, type FloatingTrigger, type FocusElementOptions, type FocusTrap, type FocusTrapNavigation, type FocusTrapOptions, type FooterProps, type FormController, type FormControllerOptions, type FormError, type FormErrorDisplayMode, type FormFieldChangeHandler, type FormHistoryState, type FormItemClassOptions, type FormItemLabelClassOptions, type FormItemProps, type FormItemSlotContext, type FormLabelAlign, type FormLabelPosition, type FormProps, type FormRule, type FormRuleTrigger, type FormRuleType, type FormRules, type FormSize, type FormSubmitHandler, type FormValidateHandler, type FormValidationResult, type FormValues, type FormWizardProps, type FormWizardValidateResult, type FormWizardValidator, type FunnelChartDatum, type FunnelChartProps, type FunnelSegment, GAUGE_ANIMATION_DURATION_MS, type GaugeAnimationController, type GaugeAnimationOptions, type GaugeArc, type GaugeChartProps, type GenericExpandable, type GenericFormFieldProps, type GenericFormRule, type GenericRowSelection, type GenericSelectOption, type GenericSelectOptionGroup, type GenericSelectProps, type GenericTableColumn, type GenericTableProps, type GestureTransform, type GetContainerClassesOptions, type GetInputClassesOptions, type GetRadioDotClassesOptions, type GetRadioGroupClassesOptions, type GetRadioLabelClassesOptions, type GetRadioVisualClassesOptions, type GlobalColorHue, type GlobalColorLevel, type GlobalDurationKey, type GlobalEasingKey, type GlobalRadiusKey, type GlobalShadowKey, type GlobalSpaceKey, type GutterSize, type HeaderProps, type HeatmapCell, type HeatmapChartDatum, type HeatmapChartProps, type HeatmapColorSpace, type HeatmapRenderMode, type HsvColor, type IconProps, type IconSize, type ImageCropperProps, type ImageFit, type ImageGroupProps, type ImageGroupRegistrationResult, type ImagePreviewProps, type ImagePreviewToolbarAction, type ImageProps, type ImageViewerProps, type InfiniteScrollObserverOptions, type InfiniteScrollProps, type InputGroupAddonProps, type InputGroupProps, type InputGroupSize, type InputNumberProps, type InputProps, type InputSize, type InputStatus, type InputType, type IsEventOutsideOptions, type IsItemDisabled, type ItemClickHandler, type Justify, type KanbanCard, type KanbanCardMoveEvent, type KanbanColumn, type KanbanColumnMoveEvent, type KanbanProps, type KanbanSwimlane, type KeyLikeEvent, type LayoutProps, type LineChartDatum, type LineChartProps, type LineChartSeries, type LinkColorScheme, type LinkProps, type LinkSize, type LinkThemeColors, type LinkVariant, type ListBorderStyle, type ListItem, type ListItemLayout, type ListItemSlotContext, type ListPaginationConfig, type ListProps, type ListSize, type LiveRegion, type LoadingAnimationIndex, type LoadingColor, type LoadingProps, type LoadingSize, type LoadingVariant, MODERN_BASE_TOKENS_DARK, MODERN_BASE_TOKENS_LIGHT, MODERN_OVERRIDE_TOKENS_DARK, MODERN_OVERRIDE_TOKENS_LIGHT, MODERN_REDUCED_MOTION_TOKENS, MONTHS, type MaskClickLikeEvent, type MentionOption, type MentionsProps, type MentionsSize, type MenuItem, type MenuItemGroupProps, type MenuItemProps, type MenuItemSlotContext, type MenuKey, type MenuMode, type MenuProps, type MenuSelectHandler, type MenuTheme, type MessageColorScheme, type MessageConfig, type MessageInstance, type MessageOptions, type MessagePosition, type MessageProps, type MessageType, type ModalProps, type ModalSize, type MoveCardOptions, type MultiSelectChangeHandler, type NotificationCenterProps, type NotificationColorScheme, type NotificationConfig, type NotificationGroup, type NotificationInstance, type NotificationItem, type NotificationOptions, type NotificationPosition, type NotificationProps, type NotificationReadFilter, type NotificationStackFrameCallback, type NotificationStackFrameCancel, type NotificationStackFrameRequest, type NotificationStackUpdateCallback, type NotificationStackUpdateScheduler, type NotificationStackUpdateSchedulerOptions, type NotificationType, type NumberChangeHandler, type OpenChangeHandler, type OverlayFooterSlotContext, type OverlayHeaderSlotContext, PIE_BASE_SHADOW, PIE_EMPHASIS_SHADOW, POPOVER_TEXT_CLASSES, POPOVER_TITLE_CLASSES, type PageChangeInfo, type PageSizeChangeInfo, type PaginationAlign, type PaginationChangeHandler, PaginationConfig, type PaginationIdleValidationScheduler, type PaginationIdleValidationSchedulerOptions, type PaginationPageSizeOption, type PaginationPageSizeOptionItem, type PaginationProps, type PaginationQuickJumperValidationOptions, type PaginationSize, type PanResult, type PanState, type ParsedHotkey, type PickerComboboxAriaOptions, type PickerListboxAriaOptions, type PickerOptionAriaOptions, type PickerTriggerKeyAction, type PieArcDatum, type PieChartDatum, type PieChartProps, type PinchState, type PointScaleOptions, type PopconfirmIconType, type PopconfirmProps, type PopoverProps, type PopoverTrigger, type PositionMentionsDropdownOptions, type PrepareUploadFilesOptions, type PrepareUploadFilesResult, type PreviewNavState, type PrintLayoutProps, type PrintOrientation, type PrintPageSize, type ProgressColorScheme, type ProgressProps, type ProgressSize, type ProgressStatus, type ProgressThemeColors, type ProgressType, type ProgressVariant, type QRCodeLevel, type QRCodeProps, type QRCodeStatus, RADAR_SPLIT_AREA_COLORS, type RadarChartDatum, type RadarChartProps, type RadarChartSeries, type RadarPoint, type RadioColorScheme, type RadioGroupProps, type RadioProps, type RadioSize, type RafRepeatActionController, type RafRepeatActionOptions, type RateProps, type RateSize, type RepeatAction, type RepeatFrameCallback, type RepeatFrameCancel, type RepeatFrameRequest, type ResizableProps, type ResizeAxis, type ResizeEvent, type ResizeHandlePosition, type ResponsiveBreakpoint, type ResultColorScheme, type ResultProps, type ResultStatus, type RgbColor, type RichTextEditorMode, type RichTextEditorProps, type RichTextEngine, type RichTextEngineInstance, type RichTextEngineMountContext, type RowProps, SCATTER_ENTRANCE_CLASS, SCATTER_ENTRANCE_KEYFRAMES, SHAKE_CLASS, STATISTIC_ANIMATION_DURATION_MS, SVG_ANIMATION_CLASSES, SVG_ANIMATION_VARS, SVG_DEFAULT_FILL, SVG_DEFAULT_STROKE, SVG_DEFAULT_VIEWBOX_20, SVG_DEFAULT_VIEWBOX_24, SVG_DEFAULT_XMLNS, SVG_PATH_ANIMATION_CSS, type ScatterChartDatum, type ScatterChartProps, type SearchHandler, type SegmentedContainerStyle, type SegmentedIndicatorStyle, type SegmentedOption, type SegmentedProps, type SegmentedSize, type SelectChangeHandler, type SelectModelValue, type SelectOption, type SelectOptionGroup, type SelectOptionSlotContext, type SelectOptions, type SelectProps, type SelectSize, type SelectValue, type SelectValues, type SidebarProps, type SkeletonAnimation, type SkeletonProps, type SkeletonShape, type SkeletonVariant, type SliderProps, type SliderSize, SortDirection, SortState, type SpaceAlign, type SpaceDirection, type SpaceProps, type SpaceSize, type SplitDirection, type SplitterPaneConfig, type SplitterProps, type StatisticNumberAnimationController, type StatisticNumberAnimationOptions, type StatisticProps, type StatisticSize, type StepChangeHandler, type StepItem, type StepSize, type StepStatus, type StepperProps, type StepperSize, type StepsDirection, type StepsProps, type StringChangeHandler, type StyleAtom, type StyleObject, type StyleValue, type SubMenuProps, type SubmenuHeightTransitionController, type SubmenuHeightTransitionControllerOptions, type SubmenuHeightTransitionElement, type SunburstArc, type SunburstChartDatum, type SunburstChartProps, type SwimlaneGroup, type SwitchProps, type SwitchSize, TABLE_VIRTUAL_RECOMMENDATION_THRESHOLD, THEME_CSS_VARS, TRANSITION_BASE, TRANSITION_DURATIONS, TRANSITION_OPACITY, TRANSITION_TRANSFORM, type TabChangeHandler, type TabChangeInfo, type TabEditInfo, type TabIndicatorStyle, type TabNavListStyle, type TabPaneProps, type TabPosition, type TabSize, type TabType, type TableCellSlotContext, TableColumn, type TableEmptySlotContext, type TableExpandChangeHandler, type TableExpandSlotContext, type TableFilterChangeHandler, TableProps, type TableResizeFrameCallback, type TableResizeFrameCancel, type TableResizeFrameRequest, type TableResizeObserverController, type TableResizeObserverControllerOptions, type TableResizeObserverFactory, type TableResizeObserverLike, type TableResizeSnapshot, type TableRowClickHandler, type TableRowKeyCache, type TableSelectionChangeHandler, TableSize, type TableSortChangeHandler, type TableToolbarAction, type TableToolbarFilter, type TableToolbarFilterValue, type TableToolbarProps, type TableVirtualRecommendation, type TableVirtualRecommendationOptions, type TabsProps, type TagColorScheme, type TagProps, type TagSize, type TagThemeColors, type TagVariant, type TaskBoardCard, type TaskBoardCardMoveEvent, type TaskBoardColumn, type TaskBoardColumnMoveEvent, type TaskBoardDragCallbacks, type TaskBoardDragController, type TaskBoardDragData, type TaskBoardDragOptions, type TaskBoardDragSnapshot, type TaskBoardDragState, type TaskBoardMoveValidator, type TaskBoardProps, type TextAlign, type TextColor, type TextProps, type TextSize, type TextTag, type TextWeight, type TextareaProps, type TextareaSize, type ThemeChangeEvent, type ThemeChangeListener, type ThemeColors, ThemeManager, ThemePreset, TigerLocale, TigerLocaleFormWizard, TigerLocaleInput, TigerLocaleLazyModule, TigerLocaleLoader, TigerLocalePagination, TigerLocaleTaskBoard, type TimeFormat, type TimePickerLabels, type TimePickerModelValue, type TimePickerOptionUnit, type TimePickerProps, type TimePickerRangeValue, type TimePickerSingleValue, type TimePickerSize, type TimelineItem, type TimelineItemPosition, type TimelineMode, type TimelineProps, type Token, type TokenType, type ToolbarAction, type ToolbarButton, type ToolbarItem, type ToolbarSeparator, type TooltipProps, type TooltipTrigger, type TouchDragState, type TouchDragTracker, type TourPlacement, type TourProps, type TourRect, type TourStep, type TransferDirection, type TransferItem, type TransferProps, type TransferSize, type TransitionClasses, type TransitionConfig, type TransitionType, type TreeCheckStrategy, type TreeCheckedState, type TreeExpandedState, type TreeFilterFn, type TreeLoadDataFn, type TreeMapChartDatum, type TreeMapChartProps, type TreeMapNode, type TreeNode, type TreeProps, type TreeSelectProps, type TreeSelectSize, type TreeSelectValue, type TreeSelectionMode, type TriggerHandlerMap, type UploadDataTransferLike, type UploadDragEventLike, type UploadDragResult, type UploadFile, type UploadFileStatus, type UploadLabelOverrides, type UploadLabels, type UploadListType, type UploadProps, type UploadRejectReason, type UploadRejectedFile, type UploadRequestOptions, type UploadStatusIconSize, type VirtualListItemSize, type VirtualListProps, type VirtualListSizeStrategy, type VirtualRange, type VirtualTableFixedInfo, type VirtualTableProps, type VirtualTableRange, type VisibleGroupItems, type VisibleTreeItem, WEEKDAYS, type WatermarkFont, type WatermarkFrameCallback, type WatermarkFrameCancel, type WatermarkFrameRequest, type WatermarkProps, type WatermarkRenderController, type WatermarkRenderControllerOptions, type WatermarkRenderOptions, type WatermarkResizeObserverFactory, type WatermarkResizeObserverLike, type WheelZoomOptions, type WizardStep, ZH_CN_DATEPICKER_LOCALE, ZH_CN_FORM_WIZARD_LABELS, ZH_CN_PAGINATION_LABELS, ZH_CN_TASK_BOARD_LABELS, activeOpacityClasses, activePressClasses, activityItemActionsClasses, activityItemBodyClasses, activityItemClasses, activityItemDescriptionClasses, activityItemHeaderClasses, activityItemLayoutClasses, activityItemTitleGroupClasses, affixWrapperClasses, alertBannerClasses, alertBaseClasses, alertCloseButtonBaseClasses, alertCloseIconPath, alertContentClasses, alertCountdownBarClasses, alertCountdownColorClasses, alertCountdownContainerClasses, alertDescriptionSizeClasses, alertIconContainerClasses, alertIconSizeClasses, alertSizeClasses, alertTitleSizeClasses, aliasTokens, anchorAffixClasses, anchorBaseClasses, anchorInkActiveHorizontalClasses, anchorInkActiveVerticalClasses, anchorInkContainerHorizontalClasses, anchorInkContainerVerticalClasses, anchorLinkActiveClasses, anchorLinkBaseClasses, anchorLinkListHorizontalClasses, anchorLinkListVerticalClasses, animationDelayClasses, animationDelayStyles, announceToScreenReader, applyAspectRatio, applyFileDragReorder, applyFloatingStyles, applyWheelZoom, autoCompleteBaseClasses, autoCompleteDropdownClasses, autoCompleteEmptyStateClasses, autoCompleteOptionBaseClasses, autoResizeTextarea, autoUpdateFloating, avatarBaseClasses, avatarDefaultBgColor, avatarDefaultTextColor, avatarGroupBaseClasses, avatarGroupItemClasses, avatarGroupOverflowClasses, avatarImageClasses, avatarShapeClasses, avatarSizeClasses, backTopButtonClasses, backTopContainerClasses, backTopHiddenClasses, backTopIconPath, backTopVisibleClasses, badgeBaseClasses, badgePositionClasses, badgeSizeClasses, badgeTypeClasses, badgeWrapperClasses, barAnimatedTransition, barValueLabelClasses, barValueLabelInsideClasses, barsVariantConfig, breadcrumbContainerClasses, breadcrumbCurrentClasses, breadcrumbEllipsisClasses, breadcrumbItemBaseClasses, breadcrumbLinkClasses, breadcrumbSeparatorBaseClasses, buildActivityGroups, buildChartLegendItems, buildChartSeriesKeys, buildCommentTree, buildNotificationGroups, buildTriggerHandlerMap, builtinCodeHighlighter, builtinRichTextEngine, buttonBaseClasses, buttonDangerClasses, buttonDisabledClasses, buttonGroupBaseClasses, buttonGroupHorizontalClasses, buttonGroupItemClasses, buttonGroupItemVerticalClasses, buttonGroupVerticalClasses, buttonSizeClasses, calculateAffixState, calculateCheckedState, calculateCirclePath, calculateInitialSizes, calculatePagination, calculateResizeDelta, calculateStepStatus, calculateTransform, calculateVirtualRange, calendarHeaderClasses, calendarNavButtonClasses, calendarTitleClasses, calendarWeekdayClasses, canAnimateStatisticValue, canRedo, canUndo, captureActiveElement, cardActionsClasses, cardBaseClasses, cardCoverClasses, cardCoverWrapperClasses, cardDirectionClasses, cardFooterClasses, cardHeaderClasses, cardHorizontalBodyClasses, cardHoverClasses, cardSizeClasses, cardVariantClasses, carouselArrowBaseClasses, carouselArrowDisabledClasses, carouselBaseClasses, carouselDotActiveClasses, carouselDotClasses, carouselDotsBaseClasses, carouselDotsPositionClasses, carouselNextArrowClasses, carouselNextArrowPath, carouselPrevArrowClasses, carouselPrevArrowPath, carouselSlideBaseClasses, carouselTrackFadeClasses, carouselTrackScrollClasses, cascaderBaseClasses, cascaderColumnClasses, cascaderDropdownClasses, cascaderEmptyStateClasses, cascaderOptionBaseClasses, cascaderOptionDisabledClasses, cascaderOptionSelectedClasses, cascaderSearchInputClasses, cascaderSearchResultClasses, chartAxisLabelClasses, chartAxisLineClasses, chartAxisTickLineClasses, chartAxisTickTextClasses, chartCanvasBaseClasses, chartGridLineClasses, chartInteractiveClasses, checkboxLabelSizeClasses, checkboxSizeClasses, checkedSetsFromState, clampBarWidth, clampDimensions, clampPaneSize, clampPercentage, clampScale, clampSlideIndex, clampStepIndex, clampStepperValue, clampValue, clampZoom, classNames, clearCalendarMonthDaysCache, clearChartAxisTickCache, clearFieldErrors, clearPieArcCache, clipCommentTreeDepth, codeBlockContainerClasses, codeBlockCopyButtonBaseClasses, codeBlockCopyButtonCopiedClasses, codeBlockPreClasses, codeEditorBaseClasses, codeEditorDarkClasses, codeEditorDisabledClasses, codeEditorHighlightClasses, codeEditorLightClasses, codeEditorLineNumberClasses, codeEditorLineNumberDarkClasses, codeEditorLineNumberLightClasses, codeEditorTextareaClasses, coerceClassValue, coerceStyleValue, colGutterClasses, collapseBaseClasses, collapseBorderlessClasses, collapseGhostClasses, collapseHeaderTextClasses, collapseIconBaseClasses, collapseIconExpandedClasses, collapseIconPositionClasses, collapsePanelBaseClasses, collapsePanelContentBaseClasses, collapsePanelContentWrapperClasses, collapsePanelHeaderActiveClasses, collapsePanelHeaderBaseClasses, collapsePanelHeaderDisabledClasses, colorPickerBaseClasses, colorPickerInputClasses, colorPickerPanelClasses, colorPickerPresetClasses, colorPickerSliderTrackClasses, columnDragHandleClasses, columnDragOverClasses, componentTokens, componentTransitionMap, composeComponentClasses, computeFloatingPosition, computeFunnelSegments, computeGaugeTicks, computeHeatmapCells, computePieHoverOffset, computePieLabelLine, computeSunburstArcs, computeTreeMapNodes, constrainCropRect, containerBaseClasses, containerCenteredClasses, containerMaxWidthClasses, containerPaddingClasses, copyTextToClipboard, countLines, createAffixObserver, createAnchorObserver, createAreaPath, createAriaId, createBackTopVisibilityController, createBandScale, createBuiltinRichTextEngine, createCardDragData, createCarouselAutoplayController, createChartInteractionHandlers, createChartPointerMoveScheduler, createChartResizeObserverController, createCollapseTransitionController, createColumnDragData, createDefaultDragSnapshot, createDefaultTransform, createDocumentDragSession, createDragState, createFloatingIdFactory, createFocusTrap, createFormErrorMap, createFormHistory, createGaugeAnimation, createGaugeArcPath, createGaugeNeedlePath, createInfiniteScrollObserver, createLinePath, createLinearScale, createNotificationStackUpdateScheduler, createPaginationIdleValidationScheduler, createPanState, createPieArcPath, createPinchState, createPointScale, createPolygonPath, createRafRepeatActionController, createStatisticNumberAnimation, createSubmenuHeightTransitionController, createTableResizeObserverController, createTableRowKeyCache, createTaskBoardDragController, createTouchDragTracker, createWatermarkRenderController, cropCanvas, cropUploadTriggerClasses, cropUploadTriggerDisabledClasses, datePickerBaseClasses, datePickerCalendarClasses, datePickerCalendarGridClasses, datePickerCalendarHeaderClasses, datePickerClearButtonClasses, datePickerDayNameClasses, datePickerFooterButtonClasses, datePickerFooterClasses, datePickerInputWrapperClasses, datePickerMonthYearClasses, datePickerNavButtonClasses, defaultAlertThemeColors, defaultAutoCompleteFilter, defaultBadgeThemeColors, defaultCascaderFilter, defaultChatMessageStatusInfo, defaultLinkThemeColors, defaultMessageThemeColors, defaultNotificationThemeColors, defaultProgressThemeColors, defaultRadarTooltipFormatter, defaultRadioColors, defaultRepeatInitialDelay, defaultRepeatInterval, defaultResizeHandles, defaultSeriesXYTooltipFormatter, defaultSortFn, defaultTagThemeColors, defaultTheme, defaultThemeColors, defaultToolbar, defaultTooltipFormatter, defaultTotalText, defaultTransferFilter, defaultXYTooltipFormatter, defineLocale, deriveFileManagerModel, descriptionsBaseClasses, descriptionsCellSizeClasses, descriptionsContentBorderedClasses, descriptionsContentClasses, descriptionsExtraClasses, descriptionsHeaderClasses, descriptionsLabelBorderedClasses, descriptionsLabelClasses, descriptionsSizeClasses, descriptionsTableBorderedClasses, descriptionsTableClasses, descriptionsTitleClasses, descriptionsVerticalContentClasses, descriptionsVerticalItemClasses, descriptionsVerticalLabelClasses, descriptionsVerticalWrapperClasses, descriptionsWrapperClasses, dotSizeClasses, dotsVariantConfig, dynamicSizeStrategy, easeOutCubic, editableCellInputClasses, emptyActionsClasses, emptyBaseClasses, emptyDescriptionClasses, emptyIllustrationPaths, emptyIllustrationViewBox, emptyImageClasses, ensureBarMinHeight, escapeHighlightHtml, extractMentionQuery, fileManagerBreadcrumbClasses, fileManagerBreadcrumbItemClasses, fileManagerBreadcrumbSeparatorClasses, fileManagerContainerClasses, fileManagerContentClasses, fileManagerEmptyClasses, fileManagerGridItemClasses, fileManagerGridItemSelectedClasses, fileManagerItemIconClasses, fileManagerItemMetaClasses, fileManagerItemNameClasses, fileManagerListItemClasses, fileManagerListItemSelectedClasses, fileManagerLoadingClasses, fileManagerSearchClasses, fileManagerToolbarClasses, fileToUploadFile, filterAutoCompleteOptions, filterCards, filterCascaderOptions, filterColumns, filterData, filterDataAdvanced, filterFileItems, filterHiddenFiles, filterOptions, filterTransferItems, filterTreeNodes, filterTreeSelectNodes, findActiveAnchor, findCascaderOption, findColumnFromPoint, findFirstEnabledIndex, findHotkeyMatch, findLastEnabledIndex, findNextEnabledIndex, findNextUnskippedStep, findNode, findTreeSelectNode, fixedSizeStrategy, flattenCascaderOptions, flattenSelectOptions, flattenTreeSelectNodes, floatButtonBaseClasses, floatButtonDisabledClasses, floatButtonGroupClasses, floatButtonGroupExpandClasses, floatButtonIconSizeClasses, floatButtonShapeClasses, floatButtonSizeClasses, floatButtonTypeClasses, focusElement, focusFirst, focusFirstChildItem, focusFirstMenuItem, focusMenuEdge, focusRingClasses, focusRingInsetClasses, formatActivityTime, formatBadgeContent, formatChatTime, formatColorString, formatCommentTime, formatDate, formatFileSize, formatFileSizeLabel, formatMonthYear, formatPageAriaLabel, formatPaginationTotal, formatPrecision, formatProgressText, formatStatisticValue, formatTime, formatTimeDisplay, formatTimeDisplayWithLocale, generateAvatarColor, generateFileId, generateHours, generateLineNumbers, generateMinutes, generateQRMatrix, generateSeconds, getAccessibleTransitionClasses, getActiveElement, getActiveIndex, getAlertIconPath, getAlertTypeClasses, getAlignClasses, getAllKeys, getAllTreeSelectKeys, getAnchorInkActiveClasses, getAnchorInkContainerClasses, getAnchorLinkClasses, getAnchorLinkListClasses, getAnchorTargetElement, getAnchorWrapperClasses, getAreaGradientPrefix, getArrowStyles, getAutoCompleteInputClasses, getAutoCompleteOptionClasses, getAutoExpandKeys, getAvatarGroupClasses, getAvatarGroupItemClasses, getAvatarGroupOverflowClasses, getAvatarGroupOverflowLabel, getAvatarGroupOverflowText, getBadgeVariantClasses, getBarGradientPrefix, getBarGrowAnimationStyle, getBarValueLabelY, getBodyScrollLockCount, getBreadcrumbCollapsedItems, getBreadcrumbItemClasses, getBreadcrumbLinkClasses, getBreadcrumbSeparatorClasses, getButtonGroupClasses, getButtonVariantClasses, getCalendarContainerClasses, getCalendarDayClasses, getCalendarDays, getCalendarMonthClasses, getCalendarMonthDaysCacheSize, getCardClasses, getCarouselArrowClasses, getCarouselContainerClasses, getCarouselDotClasses, getCarouselDotsClasses, getCarouselTouchPoint, getCascaderColumns, getCascaderDisplayLabel, getCascaderOptionClasses, getCascaderOptionPath, getCascaderOptionsAtLevel, getCascaderTriggerClasses, getChartAnimationStyle, getChartAxisTickCacheSize, getChartAxisTicks, getChartElementOpacity, getChartEntranceTransform, getChartGridLineDasharray, getChartInnerRect, getChartTooltipTransform, getChatMessageStatusInfo, getCheckboxCellClasses, getCheckboxClasses, getCheckboxLabelClasses, getCheckedKeysByStrategy, getCircleSize, getCodeBlockContainerClasses, getCodeBlockCopyButtonClasses, getCodeEditorContainerClasses, getColGutterClasses, getColMergedStyleVars, getColOrderStyleVars, getColStyleVars, getCollapseContainerClasses, getCollapseIconClasses, getCollapsePanelClasses, getCollapsePanelHeaderClasses, getColorPickerTriggerClasses, getColumnCardCount, getColumnDropIndex, getComponentTransition, getContainerClasses, getContainerHeight, getContainerScrollTop, getCropperHandleClasses, getCropperResult, getCurrentTime, getDatePickerDayCellClasses, getDatePickerIconButtonClasses, getDatePickerInputClasses, getDatePickerLabels, getDatePickerLocaleCode, getDayNames, getDaysInMonth, getDefaultDragConfig, getDependentFields, getDescendantKeys, getDescriptionsClasses, getDescriptionsContentClasses, getDescriptionsLabelClasses, getDescriptionsTableClasses, getDescriptionsVerticalItemClasses, getDividerClasses, getDividerStyle, getDragAreaClasses, getDrawerBodyClasses, getDrawerCloseButtonClasses, getDrawerContainerClasses, getDrawerFooterClasses, getDrawerHeaderClasses, getDrawerMaskClasses, getDrawerPanelClasses, getDrawerTitleClasses, getDropIndex, getDropdownChevronClasses, getDropdownContainerClasses, getDropdownItemClasses, getDropdownMenuClasses, getDropdownTriggerClasses, getEditableCellClasses, getEditorAreaClasses, getElementOffsetTop, getEmptyDescription, getErrorFields, getExpandIconCellClasses, getExpandIconClasses, getExpandedRowClasses, getExpandedRowContentClasses, getFieldDependencies, getFieldError, getFileExtension, getFileItemClasses, getFileListItemClasses, getFileManagerContainerClasses, getFirstDayOfMonth, getFixedColumnOffsets, getFixedVirtualRange, getFlexClasses, getFloatingMiddleware, getFocusTrapNavigation, getFocusableElements, getFormItemAsteriskClasses, getFormItemClasses, getFormItemContentClasses, getFormItemErrorClasses, getFormItemFieldClasses, getFormItemLabelClasses, getFormWizardLabels, getFunnelGradientPrefix, getGaugeGradientPrefix, getGridColumnClasses, getGroupHeaderCellClasses, getGutterStyles, getHeatmapCellIndexAtPoint, getImageGroupClasses, getImageImgClasses, getImageTransformStyle, getImmediateTigerLocale, getInfiniteScrollContainerClasses, getInitialCollapseContentStyle, getInitialCropRect, getInitialPickerActiveIndex, getInitialSubmenuHeightTransitionStyle, getInitials, getInputAffixClasses, getInputClasses, getInputClearButtonClasses, getInputCountClasses, getInputErrorClasses, getInputGroupAddonClasses, getInputGroupClasses, getInputNumberFocusRingColor, getInputNumberInputClasses, getInputNumberSideButtonClasses, getInputNumberSizeClasses, getInputNumberStatusClasses, getInputNumberStepButtonClasses, getInputNumberWrapperClasses, getInputPasswordToggleClasses, getInputWrapperClasses, getJustifyClasses, getKanbanContainerClasses, getLeafKeys, getLineGradientPrefix, getLineNumberClasses, getLinearChartTickValues, getLinkVariantClasses, getListClasses, getListHeaderFooterClasses, getListItemClasses, getLoadingBarClasses, getLoadingBarsWrapperClasses, getLoadingClasses, getLoadingDotClasses, getLoadingDotsWrapperClasses, getLoadingOverlaySpinnerClasses, getLoadingTextClasses, getMentionsInputClasses, getMentionsOptionClasses, getMenuButtons, getMenuClasses, getMenuItemClasses, getMenuItemIndent, getMenuItems, getMessageIconPath, getMessageTypeClasses, getModalContainerClasses, getModalContentClasses, getMonthDays, getMonthNames, getNextActiveKey, getNextSlideIndex, getNotificationIconPath, getNotificationTypeClasses, getNumberExtent, getOffsetClasses, getOrderClasses, getPageNumbers, getPageRange, getPageSizeSelectorClasses, getPaginationButtonActiveClasses, getPaginationButtonBaseClasses, getPaginationContainerClasses, getPaginationEllipsisClasses, getPaginationJumperPage, getPaginationLabels, getPaneStyle, getParagraphRowWidth, getParentKeys, getPathDrawAnimationStyle, getPathDrawStyles, getPathLength, getPendingDotClasses, getPickerComboboxAria, getPickerListboxAria, getPickerNavigationIndex, getPickerOptionAria, getPickerOptionId, getPickerTriggerKeyAction, getPictureCardClasses, getPieArcCacheSize, getPieArcs, getPieDrawAnimationStyle, getPieGradientPrefix, getPlacementSide, getPopconfirmArrowClasses, getPopconfirmButtonBaseClasses, getPopconfirmButtonsClasses, getPopconfirmCancelButtonClasses, getPopconfirmContainerClasses, getPopconfirmContentClasses, getPopconfirmDescriptionClasses, getPopconfirmIconClasses, getPopconfirmIconPath, getPopconfirmOkButtonClasses, getPopconfirmTitleClasses, getPopconfirmTriggerClasses, getPopoverContainerClasses, getPopoverContentClasses, getPopoverTriggerClasses, getPrevSlideIndex, getPreviewNavState, getPrintLayoutClasses, getProgressTextColorClasses, getProgressVariantClasses, getQuickJumperInputClasses, getRadarAngles, getRadarGradientPrefix, getRadarLabelAlign, getRadarPoints, getRadioDotClasses, getRadioGroupClasses, getRadioLabelClasses, getRadioVisualClasses, getRateStarClasses, getResizableHandleClasses, getResultColorScheme, getResultHttpLabel, getResultIconPath, getRichTextContainerClasses, getRowGutterClasses, getRowGutterStyleVars, getRowKey, getScatterGradientPrefix, getScatterHoverShadow, getScatterHoverSize, getScatterPointPath, getScrollTop, getScrollTransform, getSecureRel, getSegmentedContainerClasses, getSegmentedContainerStyle, getSegmentedIndicatorClasses, getSegmentedIndicatorStyle, getSegmentedOptionClasses, getSelectOptionClasses, getSelectSizeClasses, getSelectTriggerClasses, getSeparatorContent, getShortDayNames, getShortMonthNames, getSidebarStyle, getSimplePaginationButtonClasses, getSimplePaginationButtonsWrapperClasses, getSimplePaginationContainerClasses, getSimplePaginationControlsClasses, getSimplePaginationPageIndicatorClasses, getSimplePaginationSelectClasses, getSimplePaginationTotalClasses, getSizeTextClasses, getSkeletonClasses, getSkeletonDimensions, getSliderThumbClasses, getSliderTooltipClasses, getSliderTrackClasses, getSortIconClasses, getSpaceClasses, getSpaceStyle, getSpanClasses, getSpinnerSVG, getSplitterContainerClasses, getSplitterGutterClasses, getSplitterGutterHandleClasses, getStatisticTitleClasses, getStatisticValueClasses, getStatusVariant, getStepContentClasses, getStepDescriptionClasses, getStepIconClasses, getStepItemClasses, getStepTailClasses, getStepTitleClasses, getStepperButtonClasses, getStepperInputClasses, getStepsContainerClasses, getSubMenuExpandIconClasses, getSubMenuTitleClasses, getSubmenuPopupZIndex, getSunburstGradientPrefix, getSvgDefaultAttrs, getSwitchClasses, getSwitchThumbClasses, getTabIndicatorClasses, getTabIndicatorStyle, getTabItemClasses, getTabNavClasses, getTabNavListClasses, getTabNavListStyle, getTabPaneClasses, getTableCellClasses, getTableHeaderCellClasses, getTableHeaderClasses, getTableRowClasses, getTableVirtualRecommendation, getTableWrapperClasses, getTabsContainerClasses, getTagVariantClasses, getTaskBoardLabels, getTextClasses, getThemeColor, getTimePeriodLabels, getTimePickerIconButtonClasses, getTimePickerInputClasses, getTimePickerItemClasses, getTimePickerLabels, getTimePickerOptionAriaLabel, getTimePickerPeriodButtonClasses, getTimePickerRangeTabButtonClasses, getTimelineContainerClasses, getTimelineContentClasses, getTimelineDotClasses, getTimelineHeadClasses, getTimelineItemClasses, getTimelineTailClasses, getTokenClasses, getToolbarButtonClasses, getToolbarButtons, getTooltipContainerClasses, getTooltipContentClasses, getTooltipTriggerClasses, getTotalPages, getTotalTextClasses, getTouchDistance, getTourPopoverPosition, getTourSpotlightStyle, getTourTargetRect, getTransferButtonClasses, getTransferCheckboxClasses, getTransferItemClasses, getTransformOrigin, getTransitionClasses, getTreeMapGradientPrefix, getTreeNodeClasses, getTreeNodeExpandIconClasses, getTreeSelectDisplayLabel, getTreeSelectNodeClasses, getTreeSelectTriggerClasses, getUploadButtonClasses, getUploadDataTransferFiles, getUploadLabels, getUploadStatusIconClasses, getValidatedPaginationJumperValue, getValidationOrder, getValueByPath, getVirtualRowKey, getVirtualTableContainerClasses, getVirtualTableFixedCellStyle, getVirtualTableFixedInfo, getVirtualTableRowClasses, getVisibleGroupItems, getVisibleTreeItems, getWatermarkOverlayStyle, globalColors, globalDuration, globalEasing, globalFont, globalRadius, globalShadow, globalSpace, groupBySwimlane, groupDataByColumn, groupItemsIntoRows, handleDragEnd, handleDragOver, handleDragStart, handleDrop, handleMenuNavigation, handleNodeCheck, handleTabKey, handleUploadDragLeave, handleUploadDragOver, handleUploadDrop, hasErrors, hasGutter, hexToRgb, hsvToRgb, iconSizeClasses, iconSvgBaseClasses, iconSvgDefaultStrokeLinecap, iconSvgDefaultStrokeLinejoin, iconSvgDefaultStrokeWidth, iconWrapperClasses, imageBaseClasses, imageCropperContainerClasses, imageCropperDragAreaClasses, imageCropperGuideClasses, imageCropperImgClasses, imageCropperMaskClasses, imageCropperSelectionClasses, imageErrorClasses, imageErrorIconPath, imageGroupBaseClasses, imageLoadingClasses, imagePreviewCloseBtnClasses, imagePreviewCounterClasses, imagePreviewCursorClass, imagePreviewImgClasses, imagePreviewMaskClasses, imagePreviewNavBtnClasses, imagePreviewToolbarBtnClasses, imagePreviewToolbarClasses, imagePreviewWrapperClasses, imageViewerBackdropClasses, imageViewerCloseBtnClasses, imageViewerCounterClasses, imageViewerIcons, imageViewerImgClasses, imageViewerNavBtnClasses, imageViewerToolbarBtnClasses, imageViewerToolbarClasses, infiniteScrollContainerClasses, infiniteScrollEndClasses, infiniteScrollLoaderClasses, infiniteScrollSentinelClasses, initRovingTabIndex, injectDropdownStyles, injectLoadingAnimationStyles, injectShakeStyle, injectSvgAnimationStyles, inputFocusClasses, inputGroupAddonBaseClasses, inputGroupAddonSizeClasses, inputGroupBaseClasses, inputGroupCompactClasses, inputGroupSpacedClasses, inputNumberControlsRightClasses, inputNumberDownIconPathD, inputNumberMinusIconPathD, inputNumberPlusIconPathD, inputNumberUpIconPathD, interactiveClasses, interpolateColor, interpolateColorOklch, interpolateStatisticValue, interpolateUploadLabel, isActivationKey, isAtMax, isAtMin, isBrowser, isCascaderOptionExpandable, isContentEmpty, isCrossContainerDrag, isDateInRange, isDragEnabled, isEnterKey, isEscapeKey, isEventOutside, isHTMLElement, isInlineFormat, isKeyActive, isKeyOpen, isKeySelected, isLazyTigerLocale, isNextDisabled, isOptionGroup, isPanelActive, isPrevDisabled, isSameContainerDrag, isSameDay, isSpaceKey, isTabKey, isTimeInRange, isToday, isToolbarSeparator, isValidDragHandle, isValidHex, isValidUrl, isWipExceeded, kanbanAddCardClasses, kanbanAddColumnClasses, kanbanCardCountClasses, kanbanFilterHighlightClasses, kanbanSwimlaneClasses, kanbanSwimlaneCollapsedClasses, kanbanSwimlaneDotClasses, kanbanSwimlaneHeaderClasses, layoutContentClasses, layoutFooterClasses, layoutHeaderClasses, layoutRootClasses, layoutSidebarClasses, layoutSidebarCollapsedClasses, linePointTransitionClasses, linkBaseClasses, linkDisabledClasses, linkSizeClasses, listBaseClasses, listBorderClasses, listEmptyStateClasses, listFooterClasses, listGridContainerClasses, listHeaderFooterBaseClasses, listItemAvatarClasses, listItemBaseClasses, listItemContentClasses, listItemDescriptionClasses, listItemDividedClasses, listItemExtraClasses, listItemHoverClasses, listItemLayoutClasses, listItemMetaClasses, listItemSizeClasses, listItemTitleClasses, listLoadingOverlayClasses, listSizeClasses, listWrapperClasses, loadingBarBaseClasses, loadingBarsWrapperBaseClasses, loadingColorClasses, loadingContainerBaseClasses, loadingDotBaseClasses, loadingDotsWrapperBaseClasses, loadingFullscreenBaseClasses, loadingOverlaySpinnerBaseClasses, loadingSizeClasses, loadingSpinnerBaseClasses, loadingTextSizeClasses, lockBodyScroll, manageLiveRegion, mapToolbarAction, matchesHotkey, measureTableResizeSnapshot, mentionsDropdownClasses, menuBaseClasses, menuCollapsedClasses, menuCollapsedItemClasses, menuDarkThemeClasses, menuItemBaseClasses, menuItemDisabledClasses, menuItemFocusClasses, menuItemGroupTitleClasses, menuItemHoverDarkClasses, menuItemHoverLightClasses, menuItemIconClasses, menuItemSelectedDarkClasses, menuItemSelectedLightClasses, menuLightThemeClasses, menuModeClasses, mergeStyleValues, mergeTigerLocale, messageBaseClasses, messageCloseButtonClasses, messageCloseIconPath, messageContainerBaseClasses, messageContentClasses, messageIconClasses, messageIconPaths, messageLoadingSpinnerClasses, messagePositionClasses, minimalTheme, minusPathD, modalBodyClasses, modalCloseButtonClasses, modalContentWrapperClasses, modalFooterClasses, modalHeaderClasses, modalMaskClasses, modalSizeClasses, modalTitleClasses, modalWrapperClasses, modernTheme, moveCard, moveCropRect, moveFocusInMenu, moveItemBetweenContainers, movePan, movePinch, naturalTheme, navigateToFolder, nextIconPath, normalizeActiveKeys, normalizeChartPadding, normalizeDate, normalizeRotation, normalizeStringOption, normalizeSvgAttrs, notificationBaseClasses, notificationCloseButtonClasses, notificationCloseIconClasses, notificationCloseIconPath, notificationContainerBaseClasses, notificationContentClasses, notificationDescriptionClasses, notificationIconClasses, notificationIconPaths, notificationPositionClasses, notificationTitleClasses, padTwo, paginateData, parseDate, parseDragData, parseHeight, parseHotkey, parseInputValue, parsePaneSize, parseTime, parseWidthToPx, plusPathD, polarToCartesian, popconfirmErrorIconPath, popconfirmIconPathStrokeLinecap, popconfirmIconPathStrokeLinejoin, popconfirmIconStrokeWidth, popconfirmIconViewBox, popconfirmInfoIconPath, popconfirmQuestionIconPath, popconfirmSuccessIconPath, popconfirmWarningIconPath, positionMentionsDropdown, prefersReducedMotion, prepareUploadFiles, prevIconPath, previewCloseIconPath, printLayoutBaseClasses, printLayoutFooterClasses, printLayoutHeaderClasses, printLayoutPaddingClasses, printLayoutPageBreakClasses, printLayoutPrintStyles, printPageSizeDimensions, professionalTheme, progressCircleBaseClasses, progressCircleSizeClasses, progressCircleTextClasses, progressCircleTrackStrokeClasses, progressLineBaseClasses, progressLineInnerClasses, progressLineSizeClasses, progressStripedAnimationClasses, progressStripedClasses, progressTextBaseClasses, progressTextSizeClasses, progressTrackBgClasses, pushFormHistory, qrcodeContainerClasses, qrcodeExpiredTextClasses, qrcodeOverlayClasses, qrcodeRefreshClasses, radioDisabledCursorClasses, radioDotBaseClasses, radioFocusVisibleClasses, radioGroupDefaultClasses, radioHoverBorderClasses, radioLabelBaseClasses, radioRootBaseClasses, radioSizeClasses, radioVisualBaseClasses, rateActiveColor, rateBaseClasses, rateHoverColor, rateInactiveColor, readFileAsDataUrl, redoFormHistory, registerImageGroupItem, renderTokenHtml, renderTokensHtml, renderWatermarkCanvas, renderWatermarkDataUrl, reorderColumns, reorderItems, replaceKeys, resetAreaGradientCounter, resetBarGradientCounter, resetFunnelGradientCounter, resetGaugeGradientCounter, resetIconPath, resetLineGradientCounter, resetPieGradientCounter, resetRadarGradientCounter, resetScatterGradientCounter, resetSunburstGradientCounter, resetTreeMapGradientCounter, resizableBaseClasses, resizableHandleBaseClasses, resizableHandleDisabledClasses, resizableHandleDraggingClasses, resizableHandlePositionStyles, resizeCropRect, resizePanes, resolveAffixTarget, resolveCarouselSwipeDirection, resolveChartPalette, resolveChartTooltipContent, resolveDragConfig, resolveFileOpen, resolveHeatmapRenderMode, resolveLocaleText, resolveMultiSeriesTooltipContent, resolveResponsiveChartSize, resolveResponsiveValue, resolveSeriesData, resolveTigerLocale, resolveWatermarkFont, restoreFocus, resultBaseClasses, resultExtraClasses, resultIconClasses, resultIconContainerBaseClasses, resultSubTitleClasses, resultTitleClasses, rgbToHex, rgbToHsv, richTextContainerBase, richTextContainerDisabled, richTextEditorAreaBase, richTextEditorAreaReadOnly, richTextPlaceholderClasses, richTextToolbarButtonActive, richTextToolbarButtonBase, richTextToolbarClasses, richTextToolbarSeparatorClasses, rowGutterClasses, runStepValidation, sanitizeHtml, scatterPointTransitionClasses, scrollToAnchor, scrollToTop, selectBaseClasses, selectDropdownBaseClasses, selectEmptyStateClasses, selectGroupLabelClasses, selectOptionBaseClasses, selectOptionDisabledClasses, selectOptionSelectedClasses, selectSearchInputClasses, setDragData, setThemeColors, shouldCloseOnMaskClick, shouldHideBadge, shouldLoadMore, shouldShowBackTop, sizesToPercentages, skeletonAnimationClasses, skeletonBaseClasses, skeletonShapeClasses, skeletonVariantDefaults, sliceBreadcrumbPath, sliderBaseClasses, sliderDisabledClasses, sliderGetKeyboardValue, sliderGetPercentage, sliderGetValueFromPosition, sliderNormalizeValue, sliderRangeClasses, sliderSizeClasses, sliderThumbClasses, sliderTooltipClasses, sliderTrackClasses, sortActivityGroups, sortData, sortFileItems, sortNotificationGroups, splitTransferData, splitterBaseClasses, splitterGutterBaseClasses, splitterGutterDisabledClasses, splitterGutterDraggingClasses, splitterGutterHandleClasses, splitterGutterHandleHorizontalClasses, splitterGutterHandleVerticalClasses, splitterGutterHorizontalClasses, splitterGutterVerticalClasses, splitterHorizontalClasses, splitterPaneBaseClasses, splitterVerticalClasses, stackSeriesData, starPathD, starViewBox, startPan, startPinch, statisticBaseClasses, statisticPrefixClasses, statisticSuffixClasses, stepFinishChar, stepValue, stepperBaseClasses, stepperIconViewBox, submenuContentHorizontalClasses, submenuContentHorizontalNestedClasses, submenuContentInlineClasses, submenuContentPopupClasses, submenuContentVerticalClasses, submenuExpandIconClasses, submenuExpandIconExpandedClasses, submenuHeightTransitionClasses, submenuTitleClasses, switchBaseClasses, switchSizeClasses, switchThumbSizeClasses, switchThumbTranslateClasses, tabAddButtonClasses, tabCloseButtonClasses, tabContentBaseClasses, tabFocusClasses, tabIndicatorBaseClasses, tabIndicatorPositionClasses, tabItemBaseClasses, tabItemCardActiveClasses, tabItemCardClasses, tabItemDisabledClasses, tabItemEditableCardActiveClasses, tabItemEditableCardClasses, tabItemLineActiveClasses, tabItemLineClasses, tabItemPillsActiveClasses, tabItemPillsClasses, tabItemSizeClasses, tabNavBaseClasses, tabNavLineBorderClasses, tabNavListBaseClasses, tabNavListCenteredClasses, tabNavListPositionClasses, tabNavPositionClasses, tabPaneBaseClasses, tabPaneHiddenClasses, tableBaseClasses, tableContainerClasses, tableEmptyStateClasses, tableGroupHeaderClasses, tableLoadingOverlayClasses, tableSummaryRowClasses, tabsBaseClasses, tagBaseClasses, tagCloseButtonBaseClasses, tagCloseIconPath, tagPillClasses, tagSizeClasses, taskBoardAddCardClasses, taskBoardBaseClasses, taskBoardCardClasses, taskBoardCardDraggingClasses, taskBoardColumnBodyClasses, taskBoardColumnClasses, taskBoardColumnDraggingClasses, taskBoardColumnDropTargetClasses, taskBoardColumnHeaderClasses, taskBoardDropIndicatorClasses, taskBoardEmptyClasses, taskBoardWipExceededClasses, textAlignClasses, textColorClasses, textDecorationClasses, textSizeClasses, textWeightClasses, timePickerBaseClasses, timePickerClearButtonClasses, timePickerColumnClasses, timePickerColumnHeaderClasses, timePickerColumnListClasses, timePickerFooterButtonClasses, timePickerFooterClasses, timePickerInputWrapperClasses, timePickerPanelClasses, timePickerPanelContentClasses, timePickerRangeHeaderClasses, timelineContainerClasses, timelineContentClasses, timelineCustomDotClasses, timelineDescriptionClasses, timelineDotClasses, timelineHeadClasses, timelineItemClasses, timelineLabelClasses, timelineListClasses, timelineTailClasses, to12HourFormat, to24HourFormat, toActivityTimelineItems, toCSSSize, toDragItems, toFileDragItem, toggleFileSelection, toggleKey, togglePanelKey, tokenClassesDark, tokenClassesLight, tokenizeLine, tourCloseButtonClasses, tourDescriptionClasses, tourFooterClasses, tourIndicatorClasses, tourMaskClasses, tourPopoverClasses, tourTitleClasses, transferBaseClasses, transferEmptyClasses, transferOperationClasses, transferPanelBodyClasses, transferPanelClasses, transferPanelHeaderClasses, transferSearchClasses, transitionPresets, treeBaseClasses, treeEmptyStateClasses, treeLineClasses, treeLoadingClasses, treeNodeCheckboxClasses, treeNodeChildrenClasses, treeNodeContentClasses, treeNodeDisabledClasses, treeNodeExpandIconClasses, treeNodeExpandIconExpandedClasses, treeNodeHoverClasses, treeNodeIconClasses, treeNodeIndentClasses, treeNodeLabelClasses, treeNodeSelectedClasses, treeNodeWrapperClasses, treeSelectBaseClasses, treeSelectDropdownClasses, treeSelectEmptyClasses, treeSelectNodeBaseClasses, treeSelectSearchClasses, undoFormHistory, unregisterImageGroupItem, updateDragOffset, uploadPlusIconPath, uploadStatusIconColorClasses, uploadStatusIconSizeClasses, validateCurrentPage, validateField, validateFileSize, validateFileType, validateForm, validateRule, validateUploadFile, valueToGaugeAngle, variableSizeStrategy, version, vibrantTheme, virtualListContainerClasses, virtualListInnerClasses, virtualTableBorderedClasses, virtualTableCellClasses, virtualTableContainerClasses, virtualTableEmptyClasses, virtualTableHeaderCellClasses, virtualTableHeaderClasses, virtualTableLoadingClasses, virtualTableRowClasses, virtualTableRowHoverClasses, virtualTableRowSelectedClasses, virtualTableRowStripedClasses, watermarkDefaults, watermarkFontDefaults, watermarkWrapperClasses, zoomInIconPath, zoomOutIconPath };
|