@expcat/tigercat-core 0.3.0 → 0.3.70
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs +1632 -1156
- package/dist/index.d.cts +1570 -811
- package/dist/index.d.ts +1570 -811
- package/dist/index.js +1521 -1122
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -259,10 +259,6 @@ declare function getScrollTop(target: HTMLElement | Window): number;
|
|
|
259
259
|
* Uses easeInOutCubic easing function for natural feel
|
|
260
260
|
*/
|
|
261
261
|
declare function scrollToTop(target: HTMLElement | Window, duration: number, callback?: () => void): void;
|
|
262
|
-
/**
|
|
263
|
-
* Base CSS classes for the BackTop button (without positioning)
|
|
264
|
-
*/
|
|
265
|
-
declare const backTopBaseClasses = "z-50 flex h-10 w-10 cursor-pointer items-center justify-center rounded-full bg-[var(--tiger-primary,#2563eb)] text-white shadow-lg transition-all duration-300 hover:bg-[var(--tiger-primary-hover,#1d4ed8)] focus:outline-none focus-visible:ring-2 focus-visible:ring-[var(--tiger-primary,#2563eb)] focus-visible:ring-offset-2";
|
|
266
262
|
/**
|
|
267
263
|
* Default CSS classes for the BackTop button (fixed positioning for window target)
|
|
268
264
|
*/
|
|
@@ -285,6 +281,17 @@ declare const backTopVisibleClasses = "opacity-100 translate-y-0";
|
|
|
285
281
|
*/
|
|
286
282
|
declare const backTopIconPath = "M12 19V5M12 5l-7 7M12 5l7 7";
|
|
287
283
|
|
|
284
|
+
/**
|
|
285
|
+
* Normalize imperative API options: if a plain string is provided,
|
|
286
|
+
* wrap it into a config object with the given key.
|
|
287
|
+
*
|
|
288
|
+
* Used by Message (key='content') and Notification (key='title').
|
|
289
|
+
*
|
|
290
|
+
* @example
|
|
291
|
+
* normalizeStringOption('hello', 'content') // → { content: 'hello' }
|
|
292
|
+
*/
|
|
293
|
+
declare function normalizeStringOption<T extends object>(options: string | T, key: string): T;
|
|
294
|
+
|
|
288
295
|
/**
|
|
289
296
|
* Common inline SVG icon constants
|
|
290
297
|
*
|
|
@@ -506,12 +513,18 @@ interface TigerLocalePagination {
|
|
|
506
513
|
/** Page button aria-label template: supports {page} */
|
|
507
514
|
pageAriaLabel?: string;
|
|
508
515
|
}
|
|
516
|
+
interface TigerLocaleFormWizard {
|
|
517
|
+
prevText?: string;
|
|
518
|
+
nextText?: string;
|
|
519
|
+
finishText?: string;
|
|
520
|
+
}
|
|
509
521
|
interface TigerLocale {
|
|
510
522
|
common?: TigerLocaleCommon;
|
|
511
523
|
modal?: TigerLocaleModal;
|
|
512
524
|
drawer?: TigerLocaleDrawer;
|
|
513
525
|
upload?: TigerLocaleUpload;
|
|
514
526
|
pagination?: TigerLocalePagination;
|
|
527
|
+
formWizard?: TigerLocaleFormWizard;
|
|
515
528
|
}
|
|
516
529
|
|
|
517
530
|
declare function resolveLocaleText(fallback: string, ...candidates: Array<string | null | undefined>): string;
|
|
@@ -525,6 +538,9 @@ declare const DEFAULT_PAGINATION_LABELS: Required<TigerLocalePagination>;
|
|
|
525
538
|
* Chinese (Simplified) pagination labels
|
|
526
539
|
*/
|
|
527
540
|
declare const ZH_CN_PAGINATION_LABELS: Required<TigerLocalePagination>;
|
|
541
|
+
declare const DEFAULT_FORM_WIZARD_LABELS: Required<TigerLocaleFormWizard>;
|
|
542
|
+
declare const ZH_CN_FORM_WIZARD_LABELS: Required<TigerLocaleFormWizard>;
|
|
543
|
+
declare function getFormWizardLabels(locale?: Partial<TigerLocale>): Required<TigerLocaleFormWizard>;
|
|
528
544
|
/**
|
|
529
545
|
* Get resolved pagination labels with fallback to defaults
|
|
530
546
|
*
|
|
@@ -1245,10 +1261,15 @@ interface GetInputClassesOptions {
|
|
|
1245
1261
|
/**
|
|
1246
1262
|
* Get complete input class string
|
|
1247
1263
|
*/
|
|
1248
|
-
declare function getInputClasses(options?: GetInputClassesOptions
|
|
1264
|
+
declare function getInputClasses(options?: GetInputClassesOptions): string;
|
|
1249
1265
|
declare function getInputWrapperClasses(): string;
|
|
1250
1266
|
declare function getInputAffixClasses(position: 'prefix' | 'suffix', size?: InputSize): string;
|
|
1251
1267
|
declare function getInputErrorClasses(size?: InputSize): string;
|
|
1268
|
+
/**
|
|
1269
|
+
* Extract value from an input element.
|
|
1270
|
+
* Returns the numeric value for number inputs (if valid), otherwise the string value.
|
|
1271
|
+
*/
|
|
1272
|
+
declare function parseInputValue(target: HTMLInputElement, type: string): string | number;
|
|
1252
1273
|
|
|
1253
1274
|
/**
|
|
1254
1275
|
* Form component types and interfaces
|
|
@@ -1464,7 +1485,6 @@ declare function getFormItemContentClasses(labelPosition?: FormLabelPosition): s
|
|
|
1464
1485
|
declare function getFormItemFieldClasses(): string;
|
|
1465
1486
|
declare function getFormItemErrorClasses(size?: FormSize): string;
|
|
1466
1487
|
declare function getFormItemAsteriskClasses(): string;
|
|
1467
|
-
declare function getFormItemAsteriskStyle(): Record<string, string>;
|
|
1468
1488
|
|
|
1469
1489
|
/**
|
|
1470
1490
|
* Select component types and interfaces
|
|
@@ -1617,6 +1637,12 @@ declare function getSelectOptionClasses(isSelected: boolean, isDisabled: boolean
|
|
|
1617
1637
|
* @returns True if option is a SelectOptionGroup
|
|
1618
1638
|
*/
|
|
1619
1639
|
declare function isOptionGroup(option: SelectOption | SelectOptionGroup | null | undefined): option is SelectOptionGroup;
|
|
1640
|
+
/**
|
|
1641
|
+
* Flatten options (including groups) into a flat array of SelectOption
|
|
1642
|
+
* @param options - Array of options or option groups
|
|
1643
|
+
* @returns Flat array of all SelectOption items
|
|
1644
|
+
*/
|
|
1645
|
+
declare function flattenSelectOptions(options: SelectOptions): SelectOption[];
|
|
1620
1646
|
/**
|
|
1621
1647
|
* Filter options based on search query
|
|
1622
1648
|
* @param options - Array of options or option groups to filter
|
|
@@ -1857,11 +1883,9 @@ interface RadioColorScheme {
|
|
|
1857
1883
|
*/
|
|
1858
1884
|
declare const defaultRadioColors: RadioColorScheme;
|
|
1859
1885
|
/**
|
|
1860
|
-
*
|
|
1861
|
-
* @param colors - Radio color scheme (uses default if not provided)
|
|
1862
|
-
* @returns Radio color scheme with all class strings
|
|
1886
|
+
* @deprecated Use `defaultRadioColors` directly. This is an identity function kept for backward compatibility.
|
|
1863
1887
|
*/
|
|
1864
|
-
declare
|
|
1888
|
+
declare const getRadioColorClasses: (colors?: RadioColorScheme) => RadioColorScheme;
|
|
1865
1889
|
/**
|
|
1866
1890
|
* Link color scheme interface
|
|
1867
1891
|
* Defines all color-related classes for link variants
|
|
@@ -1907,6 +1931,12 @@ interface LinkThemeColors {
|
|
|
1907
1931
|
declare const defaultLinkThemeColors: LinkThemeColors;
|
|
1908
1932
|
/**
|
|
1909
1933
|
* Get link variant classes based on theme colors
|
|
1934
|
+
*
|
|
1935
|
+
* Notes:
|
|
1936
|
+
* - `scheme.focus` is not included because `linkBaseClasses` already provides
|
|
1937
|
+
* `focus-visible:ring-*` with proper CSS variable fallback.
|
|
1938
|
+
* - `disabled:` pseudo-class is omitted because it has no effect on `<a>` elements;
|
|
1939
|
+
* disabled styling is applied directly when `options.disabled` is true.
|
|
1910
1940
|
*/
|
|
1911
1941
|
declare function getLinkVariantClasses(variant: keyof LinkThemeColors, colors?: LinkThemeColors, options?: {
|
|
1912
1942
|
disabled?: boolean;
|
|
@@ -2033,49 +2063,22 @@ declare const defaultTagThemeColors: TagThemeColors;
|
|
|
2033
2063
|
declare function getTagVariantClasses(variant: keyof TagThemeColors, colors?: TagThemeColors): string;
|
|
2034
2064
|
/**
|
|
2035
2065
|
* Badge color scheme interface
|
|
2036
|
-
* Defines all color-related classes for badge variants
|
|
2037
2066
|
*/
|
|
2038
2067
|
interface BadgeColorScheme {
|
|
2039
|
-
/**
|
|
2040
|
-
* Background color class
|
|
2041
|
-
*/
|
|
2068
|
+
/** Background color class */
|
|
2042
2069
|
bg: string;
|
|
2043
|
-
/**
|
|
2044
|
-
* Text color class
|
|
2045
|
-
*/
|
|
2070
|
+
/** Text color class */
|
|
2046
2071
|
text: string;
|
|
2047
|
-
/**
|
|
2048
|
-
* Border color class (optional)
|
|
2049
|
-
*/
|
|
2050
|
-
border?: string;
|
|
2051
2072
|
}
|
|
2052
2073
|
/**
|
|
2053
2074
|
* Badge theme colors configuration for all variants
|
|
2054
2075
|
*/
|
|
2055
2076
|
interface BadgeThemeColors {
|
|
2056
|
-
/**
|
|
2057
|
-
* Default badge theme (gray background)
|
|
2058
|
-
*/
|
|
2059
2077
|
default: BadgeColorScheme;
|
|
2060
|
-
/**
|
|
2061
|
-
* Primary badge theme (blue background)
|
|
2062
|
-
*/
|
|
2063
2078
|
primary: BadgeColorScheme;
|
|
2064
|
-
/**
|
|
2065
|
-
* Success badge theme (green background)
|
|
2066
|
-
*/
|
|
2067
2079
|
success: BadgeColorScheme;
|
|
2068
|
-
/**
|
|
2069
|
-
* Warning badge theme (yellow background)
|
|
2070
|
-
*/
|
|
2071
2080
|
warning: BadgeColorScheme;
|
|
2072
|
-
/**
|
|
2073
|
-
* Danger badge theme (red background)
|
|
2074
|
-
*/
|
|
2075
2081
|
danger: BadgeColorScheme;
|
|
2076
|
-
/**
|
|
2077
|
-
* Info badge theme (light blue background)
|
|
2078
|
-
*/
|
|
2079
2082
|
info: BadgeColorScheme;
|
|
2080
2083
|
}
|
|
2081
2084
|
/**
|
|
@@ -2084,9 +2087,6 @@ interface BadgeThemeColors {
|
|
|
2084
2087
|
declare const defaultBadgeThemeColors: BadgeThemeColors;
|
|
2085
2088
|
/**
|
|
2086
2089
|
* Get badge variant classes based on theme colors
|
|
2087
|
-
* @param variant - Badge variant type
|
|
2088
|
-
* @param colors - Badge theme colors configuration (uses default if not provided)
|
|
2089
|
-
* @returns Combined class string for the badge variant
|
|
2090
2090
|
*/
|
|
2091
2091
|
declare function getBadgeVariantClasses(variant: keyof BadgeThemeColors, colors?: BadgeThemeColors): string;
|
|
2092
2092
|
/**
|
|
@@ -2256,9 +2256,8 @@ declare const getRadioLabelClasses: ({ size, disabled, colors }: GetRadioLabelCl
|
|
|
2256
2256
|
declare const radioGroupDefaultClasses = "space-y-2";
|
|
2257
2257
|
interface GetRadioGroupClassesOptions {
|
|
2258
2258
|
className?: ClassValue;
|
|
2259
|
-
hasCustomClass?: boolean;
|
|
2260
2259
|
}
|
|
2261
|
-
declare const getRadioGroupClasses: ({ className
|
|
2260
|
+
declare const getRadioGroupClasses: ({ className }?: GetRadioGroupClassesOptions) => string;
|
|
2262
2261
|
|
|
2263
2262
|
/**
|
|
2264
2263
|
* Date utility functions for DatePicker
|
|
@@ -2385,7 +2384,9 @@ declare const datePickerCalendarGridClasses: string;
|
|
|
2385
2384
|
*/
|
|
2386
2385
|
declare const datePickerDayNameClasses: string;
|
|
2387
2386
|
/**
|
|
2388
|
-
* Get day cell classes
|
|
2387
|
+
* Get day cell classes.
|
|
2388
|
+
* Uses early returns to avoid conflicting Tailwind classes
|
|
2389
|
+
* (e.g. text-gray-900 + text-white, hover:bg-gray-100 + hover:bg-primary).
|
|
2389
2390
|
*/
|
|
2390
2391
|
declare function getDatePickerDayCellClasses(isCurrentMonth: boolean, isSelected: boolean, isToday: boolean, isDisabled: boolean, isInRange?: boolean, isRangeStart?: boolean, isRangeEnd?: boolean): string;
|
|
2391
2392
|
/**
|
|
@@ -2551,11 +2552,10 @@ declare function validateFileSize(file: File, maxSize?: number): boolean;
|
|
|
2551
2552
|
declare function formatFileSize(bytes: number): string;
|
|
2552
2553
|
/**
|
|
2553
2554
|
* Get upload button classes
|
|
2554
|
-
* @param drag - Whether in drag mode
|
|
2555
2555
|
* @param disabled - Whether the button is disabled
|
|
2556
2556
|
* @returns Complete button class string
|
|
2557
2557
|
*/
|
|
2558
|
-
declare function getUploadButtonClasses(
|
|
2558
|
+
declare function getUploadButtonClasses(disabled: boolean): string;
|
|
2559
2559
|
/**
|
|
2560
2560
|
* Get drag area classes
|
|
2561
2561
|
* @param isDragging - Whether currently dragging
|
|
@@ -2656,6 +2656,11 @@ type ColOffset = number | Partial<Record<Breakpoint, number>>;
|
|
|
2656
2656
|
type ColOrder = number | Partial<Record<Breakpoint, number>>;
|
|
2657
2657
|
declare function getColStyleVars(span?: ColSpan, offset?: ColOffset): Record<string, string>;
|
|
2658
2658
|
declare function getColOrderStyleVars(order?: ColOrder): Record<string, string>;
|
|
2659
|
+
/**
|
|
2660
|
+
* Get all Col CSS variable styles in a single pass
|
|
2661
|
+
* Combines span, offset, order and flex vars into one object
|
|
2662
|
+
*/
|
|
2663
|
+
declare function getColMergedStyleVars(span?: ColSpan, offset?: ColOffset, order?: ColOrder, flex?: string | number): Record<string, string>;
|
|
2659
2664
|
/**
|
|
2660
2665
|
* Get align classes for Row component
|
|
2661
2666
|
*/
|
|
@@ -2736,24 +2741,14 @@ interface DividerProps {
|
|
|
2736
2741
|
}
|
|
2737
2742
|
|
|
2738
2743
|
/**
|
|
2739
|
-
* Get
|
|
2740
|
-
* @param spacing - Spacing size
|
|
2741
|
-
* @param orientation - Divider orientation
|
|
2742
|
-
* @returns Spacing class string
|
|
2743
|
-
*/
|
|
2744
|
-
declare function getDividerSpacingClasses(spacing: DividerSpacing, orientation: DividerOrientation): string;
|
|
2745
|
-
/**
|
|
2746
|
-
* Get border style classes based on line style
|
|
2747
|
-
* @param lineStyle - Line style type
|
|
2748
|
-
* @returns Border style class string
|
|
2744
|
+
* Get combined Tailwind classes for a divider
|
|
2749
2745
|
*/
|
|
2750
|
-
declare function
|
|
2746
|
+
declare function getDividerClasses(orientation: DividerOrientation, lineStyle: DividerLineStyle, spacing: DividerSpacing): string;
|
|
2751
2747
|
/**
|
|
2752
|
-
* Get
|
|
2753
|
-
*
|
|
2754
|
-
* @returns Base divider class string
|
|
2748
|
+
* Get inline style object for custom color / thickness
|
|
2749
|
+
* Returns undefined when no custom values are set (avoids empty object allocation)
|
|
2755
2750
|
*/
|
|
2756
|
-
declare function
|
|
2751
|
+
declare function getDividerStyle(orientation: DividerOrientation, color?: string, thickness?: string): Record<string, string> | undefined;
|
|
2757
2752
|
|
|
2758
2753
|
/**
|
|
2759
2754
|
* Layout component shared classes
|
|
@@ -2762,7 +2757,7 @@ declare function getDividerOrientationClasses(orientation: DividerOrientation):
|
|
|
2762
2757
|
*/
|
|
2763
2758
|
declare const layoutRootClasses = "tiger-layout flex flex-col min-h-screen";
|
|
2764
2759
|
declare const layoutHeaderClasses = "tiger-header bg-[var(--tiger-surface,#ffffff)] border-b border-[var(--tiger-border,#e5e7eb)]";
|
|
2765
|
-
declare const layoutSidebarClasses = "tiger-sidebar bg-[var(--tiger-surface,#ffffff)] border-r border-[var(--tiger-border,#e5e7eb)] transition-all duration-300";
|
|
2760
|
+
declare const layoutSidebarClasses = "tiger-sidebar bg-[var(--tiger-surface,#ffffff)] border-r border-[var(--tiger-border,#e5e7eb)] overflow-hidden transition-all duration-300";
|
|
2766
2761
|
declare const layoutContentClasses = "tiger-content flex-1 bg-[var(--tiger-layout-content-bg,#f9fafb)] p-6";
|
|
2767
2762
|
declare const layoutFooterClasses = "tiger-footer bg-[var(--tiger-surface,#ffffff)] border-t border-[var(--tiger-border,#e5e7eb)] p-4";
|
|
2768
2763
|
|
|
@@ -2861,30 +2856,18 @@ interface SpaceProps {
|
|
|
2861
2856
|
*/
|
|
2862
2857
|
|
|
2863
2858
|
/**
|
|
2864
|
-
*
|
|
2865
|
-
|
|
2866
|
-
|
|
2867
|
-
|
|
2868
|
-
* Get gap size class or style based on SpaceSize
|
|
2869
|
-
* @param size - Space size (preset or custom number)
|
|
2870
|
-
* @returns Object with class or style property
|
|
2871
|
-
*/
|
|
2872
|
-
declare function getSpaceGapSize(size?: SpaceSize): {
|
|
2873
|
-
class?: string;
|
|
2874
|
-
style?: string;
|
|
2875
|
-
};
|
|
2876
|
-
/**
|
|
2877
|
-
* Get alignment class based on SpaceAlign
|
|
2878
|
-
* @param align - Alignment option
|
|
2879
|
-
* @returns Tailwind alignment class
|
|
2859
|
+
* Build all Tailwind classes for the Space component
|
|
2860
|
+
* @param props - SpaceProps (direction, size, align, wrap)
|
|
2861
|
+
* @param className - Optional extra class string (e.g. React className)
|
|
2862
|
+
* @returns Combined class string
|
|
2880
2863
|
*/
|
|
2881
|
-
declare function
|
|
2864
|
+
declare function getSpaceClasses({ direction, size, align, wrap }?: SpaceProps, className?: string): string;
|
|
2882
2865
|
/**
|
|
2883
|
-
*
|
|
2884
|
-
* @param
|
|
2885
|
-
* @returns
|
|
2866
|
+
* Build inline style for numeric gap size
|
|
2867
|
+
* @param size - SpaceSize (only numeric values produce a style)
|
|
2868
|
+
* @returns Style object with gap property, or undefined
|
|
2886
2869
|
*/
|
|
2887
|
-
declare function
|
|
2870
|
+
declare function getSpaceStyle(size?: SpaceSize): Record<string, string> | undefined;
|
|
2888
2871
|
|
|
2889
2872
|
/**
|
|
2890
2873
|
* Table component types and interfaces
|
|
@@ -3263,7 +3246,7 @@ declare function getSortIconClasses(active: boolean): string;
|
|
|
3263
3246
|
/**
|
|
3264
3247
|
* Get empty state classes
|
|
3265
3248
|
*/
|
|
3266
|
-
declare const tableEmptyStateClasses = "text-center py-12 text-
|
|
3249
|
+
declare const tableEmptyStateClasses = "text-center py-12 text-[var(--tiger-text-muted,#6b7280)]";
|
|
3267
3250
|
/**
|
|
3268
3251
|
* Get loading overlay classes
|
|
3269
3252
|
*/
|
|
@@ -3335,122 +3318,65 @@ declare const tagCloseButtonBaseClasses = "inline-flex items-center justify-cent
|
|
|
3335
3318
|
declare const tagCloseIconPath = "M6 18L18 6M6 6l12 12";
|
|
3336
3319
|
|
|
3337
3320
|
/**
|
|
3338
|
-
* Badge component types
|
|
3339
|
-
*/
|
|
3340
|
-
/**
|
|
3341
|
-
* Badge variant types
|
|
3321
|
+
* Badge component types
|
|
3342
3322
|
*/
|
|
3323
|
+
/** Badge variant types */
|
|
3343
3324
|
type BadgeVariant = 'default' | 'primary' | 'success' | 'warning' | 'danger' | 'info';
|
|
3344
|
-
/**
|
|
3345
|
-
* Badge size types
|
|
3346
|
-
*/
|
|
3325
|
+
/** Badge size types */
|
|
3347
3326
|
type BadgeSize = 'sm' | 'md' | 'lg';
|
|
3348
|
-
/**
|
|
3349
|
-
* Badge display types
|
|
3350
|
-
*/
|
|
3327
|
+
/** Badge display types */
|
|
3351
3328
|
type BadgeType = 'dot' | 'number' | 'text';
|
|
3352
|
-
/**
|
|
3353
|
-
* Badge position types (for positioning badge on wrapper)
|
|
3354
|
-
*/
|
|
3329
|
+
/** Badge position types (for non-standalone mode) */
|
|
3355
3330
|
type BadgePosition = 'top-right' | 'top-left' | 'bottom-right' | 'bottom-left';
|
|
3356
|
-
/**
|
|
3357
|
-
* Base badge props interface
|
|
3358
|
-
*/
|
|
3331
|
+
/** Base badge props interface */
|
|
3359
3332
|
interface BadgeProps {
|
|
3360
|
-
/**
|
|
3361
|
-
* Badge variant style
|
|
3362
|
-
* @default 'danger'
|
|
3363
|
-
*/
|
|
3333
|
+
/** Badge variant style @default 'danger' */
|
|
3364
3334
|
variant?: BadgeVariant;
|
|
3365
|
-
/**
|
|
3366
|
-
* Badge size
|
|
3367
|
-
* @default 'md'
|
|
3368
|
-
*/
|
|
3335
|
+
/** Badge size @default 'md' */
|
|
3369
3336
|
size?: BadgeSize;
|
|
3370
|
-
/**
|
|
3371
|
-
* Badge display type
|
|
3372
|
-
* @default 'number'
|
|
3373
|
-
*/
|
|
3337
|
+
/** Badge display type @default 'number' */
|
|
3374
3338
|
type?: BadgeType;
|
|
3375
3339
|
/**
|
|
3376
|
-
* Badge content (number or text)
|
|
3377
|
-
*
|
|
3378
|
-
* For type='text', this should be a string
|
|
3379
|
-
* For type='dot', this prop is ignored
|
|
3340
|
+
* Badge content (number or text).
|
|
3341
|
+
* Ignored when type='dot'.
|
|
3380
3342
|
*/
|
|
3381
3343
|
content?: number | string;
|
|
3382
|
-
/**
|
|
3383
|
-
* Maximum count to display (only for type='number')
|
|
3384
|
-
* When content exceeds max, displays 'max+' (e.g., '99+')
|
|
3385
|
-
* @default 99
|
|
3386
|
-
*/
|
|
3344
|
+
/** Maximum count (type='number' only). Exceeds shows 'max+'. @default 99 */
|
|
3387
3345
|
max?: number;
|
|
3388
|
-
/**
|
|
3389
|
-
* Whether to show zero count
|
|
3390
|
-
* @default false
|
|
3391
|
-
*/
|
|
3346
|
+
/** Whether to show zero count @default false */
|
|
3392
3347
|
showZero?: boolean;
|
|
3393
|
-
/**
|
|
3394
|
-
* Badge position when used as wrapper (standalone mode)
|
|
3395
|
-
* @default 'top-right'
|
|
3396
|
-
*/
|
|
3348
|
+
/** Badge position in non-standalone mode @default 'top-right' */
|
|
3397
3349
|
position?: BadgePosition;
|
|
3398
|
-
/**
|
|
3399
|
-
* Whether badge is standalone or wrapping content
|
|
3400
|
-
* When true, badge is displayed inline
|
|
3401
|
-
* When false, badge wraps children and positions badge absolutely
|
|
3402
|
-
* @default true
|
|
3403
|
-
*/
|
|
3350
|
+
/** Standalone (inline) or wrapping children @default true */
|
|
3404
3351
|
standalone?: boolean;
|
|
3405
|
-
/**
|
|
3406
|
-
* Additional CSS classes
|
|
3407
|
-
*/
|
|
3352
|
+
/** Additional CSS classes */
|
|
3408
3353
|
className?: string;
|
|
3409
3354
|
}
|
|
3410
3355
|
|
|
3411
3356
|
/**
|
|
3412
3357
|
* Badge component utilities
|
|
3413
|
-
* Shared styles and helpers for Badge components
|
|
3414
3358
|
*/
|
|
3415
3359
|
|
|
3416
|
-
/**
|
|
3417
|
-
* Base classes for all badge variants
|
|
3418
|
-
*/
|
|
3360
|
+
/** Base classes for all badge variants */
|
|
3419
3361
|
declare const badgeBaseClasses = "inline-flex items-center justify-center font-medium transition-colors";
|
|
3420
|
-
/**
|
|
3421
|
-
* Size classes for badge variants
|
|
3422
|
-
*/
|
|
3362
|
+
/** Size classes for badge content (number/text) */
|
|
3423
3363
|
declare const badgeSizeClasses: Record<BadgeSize, string>;
|
|
3424
|
-
/**
|
|
3425
|
-
* Dot size classes
|
|
3426
|
-
*/
|
|
3364
|
+
/** Size classes for dot badges */
|
|
3427
3365
|
declare const dotSizeClasses: Record<BadgeSize, string>;
|
|
3428
|
-
/**
|
|
3429
|
-
* Badge type specific classes
|
|
3430
|
-
*/
|
|
3366
|
+
/** Shape classes per badge type */
|
|
3431
3367
|
declare const badgeTypeClasses: Record<BadgeType, string>;
|
|
3432
|
-
/**
|
|
3433
|
-
* Wrapper classes when badge is not standalone
|
|
3434
|
-
*/
|
|
3368
|
+
/** Wrapper classes for non-standalone badge */
|
|
3435
3369
|
declare const badgeWrapperClasses = "relative inline-flex";
|
|
3436
|
-
/**
|
|
3437
|
-
* Position classes for badge when used as wrapper
|
|
3438
|
-
*/
|
|
3370
|
+
/** Position classes for non-standalone badge */
|
|
3439
3371
|
declare const badgePositionClasses: Record<BadgePosition, string>;
|
|
3440
3372
|
/**
|
|
3441
|
-
* Format badge content for display
|
|
3442
|
-
*
|
|
3443
|
-
* @param max - Maximum count to display
|
|
3444
|
-
* @param showZero - Whether to show zero count
|
|
3445
|
-
* @returns Formatted content string or null if should not display
|
|
3373
|
+
* Format badge content for display.
|
|
3374
|
+
* Returns null when badge should not display (e.g. zero without showZero).
|
|
3446
3375
|
*/
|
|
3447
3376
|
declare function formatBadgeContent(content: number | string | undefined, max?: number, showZero?: boolean): string | null;
|
|
3448
3377
|
/**
|
|
3449
|
-
* Check if badge should be hidden
|
|
3450
|
-
*
|
|
3451
|
-
* @param type - Badge type
|
|
3452
|
-
* @param showZero - Whether to show zero count
|
|
3453
|
-
* @returns true if badge should be hidden
|
|
3378
|
+
* Check if badge should be hidden.
|
|
3379
|
+
* Dot badges are always visible; number/text badges hide when content is empty or zero.
|
|
3454
3380
|
*/
|
|
3455
3381
|
declare function shouldHideBadge(content: number | string | undefined, type: BadgeType, showZero: boolean): boolean;
|
|
3456
3382
|
|
|
@@ -3495,7 +3421,6 @@ declare const cardSizeClasses: Record<CardSize, string>;
|
|
|
3495
3421
|
declare const cardVariantClasses: Record<CardVariant, string>;
|
|
3496
3422
|
declare const cardHoverClasses = "cursor-pointer hover:shadow-xl hover:scale-[1.02]";
|
|
3497
3423
|
declare const cardHeaderClasses = "border-b border-[var(--tiger-border,#e5e7eb)] pb-3 mb-3";
|
|
3498
|
-
declare const cardBodyClasses = "";
|
|
3499
3424
|
declare const cardFooterClasses = "border-t border-[var(--tiger-border,#e5e7eb)] pt-3 mt-3";
|
|
3500
3425
|
declare const cardCoverClasses = "w-full h-48 object-cover";
|
|
3501
3426
|
declare const cardCoverWrapperClasses = "overflow-hidden";
|
|
@@ -3540,11 +3465,6 @@ interface AvatarProps {
|
|
|
3540
3465
|
* Used when src is not provided or fails to load
|
|
3541
3466
|
*/
|
|
3542
3467
|
text?: string;
|
|
3543
|
-
/**
|
|
3544
|
-
* Icon content (slot/children)
|
|
3545
|
-
* Used when both src and text are not provided
|
|
3546
|
-
*/
|
|
3547
|
-
icon?: boolean;
|
|
3548
3468
|
/**
|
|
3549
3469
|
* Background color for text/icon avatars
|
|
3550
3470
|
* Uses Tailwind color classes or CSS color value
|
|
@@ -3808,12 +3728,6 @@ declare const listEmptyStateClasses = "py-8 text-center text-[var(--tiger-text-m
|
|
|
3808
3728
|
* List loading overlay classes
|
|
3809
3729
|
*/
|
|
3810
3730
|
declare const listLoadingOverlayClasses = "absolute inset-0 bg-[var(--tiger-surface,#ffffff)]/75 flex items-center justify-center z-10";
|
|
3811
|
-
/**
|
|
3812
|
-
* List pagination container classes
|
|
3813
|
-
* @deprecated Use `getSimplePaginationContainerClasses()` from pagination-utils instead.
|
|
3814
|
-
* This constant will be removed in v0.3.0.
|
|
3815
|
-
*/
|
|
3816
|
-
declare const listPaginationContainerClasses = "flex items-center justify-between px-4 py-3 border-t border-[var(--tiger-border,#e5e7eb)]";
|
|
3817
3731
|
/**
|
|
3818
3732
|
* List item meta classes (for avatar + content)
|
|
3819
3733
|
*/
|
|
@@ -3973,10 +3887,6 @@ declare const descriptionsExtraClasses = "text-sm text-[var(--tiger-text-muted,#
|
|
|
3973
3887
|
declare const descriptionsSizeClasses: Record<DescriptionsSize, string>;
|
|
3974
3888
|
declare const descriptionsTableClasses = "w-full border-collapse";
|
|
3975
3889
|
declare const descriptionsTableBorderedClasses = "border border-[var(--tiger-border,#e5e7eb)]";
|
|
3976
|
-
/**
|
|
3977
|
-
* Descriptions row classes
|
|
3978
|
-
*/
|
|
3979
|
-
declare const descriptionsRowClasses = "";
|
|
3980
3890
|
/**
|
|
3981
3891
|
* Size classes for descriptions cells
|
|
3982
3892
|
*/
|
|
@@ -3988,7 +3898,7 @@ declare const descriptionsContentBorderedClasses = "border border-[var(--tiger-b
|
|
|
3988
3898
|
/**
|
|
3989
3899
|
* Vertical layout wrapper classes
|
|
3990
3900
|
*/
|
|
3991
|
-
declare const descriptionsVerticalWrapperClasses = "
|
|
3901
|
+
declare const descriptionsVerticalWrapperClasses = "";
|
|
3992
3902
|
/**
|
|
3993
3903
|
* Vertical layout item classes
|
|
3994
3904
|
*/
|
|
@@ -4003,11 +3913,10 @@ declare const descriptionsVerticalLabelClasses = "font-medium mb-1 text-[var(--t
|
|
|
4003
3913
|
declare const descriptionsVerticalContentClasses = "text-[var(--tiger-text,#111827)]";
|
|
4004
3914
|
/**
|
|
4005
3915
|
* Get descriptions container classes
|
|
4006
|
-
* @param bordered - Whether to show border
|
|
4007
3916
|
* @param size - Descriptions size
|
|
4008
3917
|
* @returns Combined class string
|
|
4009
3918
|
*/
|
|
4010
|
-
declare function getDescriptionsClasses(
|
|
3919
|
+
declare function getDescriptionsClasses(size: DescriptionsSize): string;
|
|
4011
3920
|
/**
|
|
4012
3921
|
* Get descriptions table classes
|
|
4013
3922
|
* @param bordered - Whether to show border
|
|
@@ -4032,11 +3941,10 @@ declare function getDescriptionsLabelClasses(bordered: boolean, size: Descriptio
|
|
|
4032
3941
|
declare function getDescriptionsContentClasses(bordered: boolean, size: DescriptionsSize, layout: DescriptionsLayout): string;
|
|
4033
3942
|
/**
|
|
4034
3943
|
* Get descriptions vertical item classes
|
|
4035
|
-
* @param bordered - Whether to show border
|
|
4036
3944
|
* @param size - Descriptions size
|
|
4037
3945
|
* @returns Combined class string
|
|
4038
3946
|
*/
|
|
4039
|
-
declare function getDescriptionsVerticalItemClasses(
|
|
3947
|
+
declare function getDescriptionsVerticalItemClasses(size: DescriptionsSize): string;
|
|
4040
3948
|
/**
|
|
4041
3949
|
* Group items into rows based on column configuration
|
|
4042
3950
|
* @param items - Array of description items
|
|
@@ -4132,8 +4040,8 @@ declare const timelineDescriptionClasses = "text-[var(--tiger-text,#374151)]";
|
|
|
4132
4040
|
declare const timelineDotClasses = "w-2.5 h-2.5 rounded-full border-2 border-[var(--tiger-surface,#ffffff)] bg-[var(--tiger-timeline-dot,#d1d5db)]";
|
|
4133
4041
|
declare function getTimelineContainerClasses(mode: TimelineMode): string;
|
|
4134
4042
|
declare function getTimelineItemClasses(mode: TimelineMode, position?: TimelineItemPosition, isLast?: boolean): string;
|
|
4135
|
-
declare function getTimelineTailClasses(mode: TimelineMode,
|
|
4136
|
-
declare function getTimelineHeadClasses(mode: TimelineMode
|
|
4043
|
+
declare function getTimelineTailClasses(mode: TimelineMode, isLast?: boolean): string;
|
|
4044
|
+
declare function getTimelineHeadClasses(mode: TimelineMode): string;
|
|
4137
4045
|
declare function getTimelineDotClasses(color?: string, isCustom?: boolean): string;
|
|
4138
4046
|
declare function getTimelineContentClasses(mode: TimelineMode, position?: TimelineItemPosition): string;
|
|
4139
4047
|
declare function getPendingDotClasses(): string;
|
|
@@ -4357,7 +4265,7 @@ declare const treeNodeHoverClasses = "hover:bg-gray-50";
|
|
|
4357
4265
|
/**
|
|
4358
4266
|
* Tree node selected classes
|
|
4359
4267
|
*/
|
|
4360
|
-
declare const treeNodeSelectedClasses = "bg-[var(--tiger-primary,#2563eb)]
|
|
4268
|
+
declare const treeNodeSelectedClasses = "bg-[color-mix(in_srgb,var(--tiger-primary,#2563eb)_10%,transparent)] text-[var(--tiger-primary,#2563eb)]";
|
|
4361
4269
|
/**
|
|
4362
4270
|
* Tree node disabled classes
|
|
4363
4271
|
*/
|
|
@@ -4416,16 +4324,6 @@ declare function getTreeNodeClasses(selected: boolean, disabled: boolean, blockN
|
|
|
4416
4324
|
* @returns Combined class string for expand icon
|
|
4417
4325
|
*/
|
|
4418
4326
|
declare function getTreeNodeExpandIconClasses(expanded: boolean): string;
|
|
4419
|
-
/**
|
|
4420
|
-
* Flatten tree data to a flat array
|
|
4421
|
-
* @param treeData - Tree data
|
|
4422
|
-
* @param expandedKeys - Expanded node keys
|
|
4423
|
-
* @returns Flattened array of nodes with level information
|
|
4424
|
-
*/
|
|
4425
|
-
declare function flattenTree(treeData: TreeNode[], expandedKeys?: Set<string | number>): Array<TreeNode & {
|
|
4426
|
-
level: number;
|
|
4427
|
-
parentKey?: string | number;
|
|
4428
|
-
}>;
|
|
4429
4327
|
/**
|
|
4430
4328
|
* Get all keys from tree data
|
|
4431
4329
|
* @param treeData - Tree data
|
|
@@ -4500,13 +4398,13 @@ declare function filterTreeNodes(treeData: TreeNode[], filterValue: string, filt
|
|
|
4500
4398
|
*/
|
|
4501
4399
|
declare function getAutoExpandKeys(treeData: TreeNode[], matchedKeys: Set<string | number>): Set<string | number>;
|
|
4502
4400
|
/**
|
|
4503
|
-
*
|
|
4504
|
-
|
|
4505
|
-
declare const defaultExpandIcon: (expanded: boolean) => string;
|
|
4506
|
-
/**
|
|
4507
|
-
* Default checkbox icon SVG (indeterminate state)
|
|
4401
|
+
* Create Set-based lookup from TreeCheckedState for O(1) per-node checks.
|
|
4402
|
+
* Use this in render loops instead of Array.includes() for better performance.
|
|
4508
4403
|
*/
|
|
4509
|
-
declare
|
|
4404
|
+
declare function checkedSetsFromState(state: TreeCheckedState): {
|
|
4405
|
+
checkedSet: Set<string | number>;
|
|
4406
|
+
halfCheckedSet: Set<string | number>;
|
|
4407
|
+
};
|
|
4510
4408
|
|
|
4511
4409
|
/**
|
|
4512
4410
|
* Skeleton component types and interfaces
|
|
@@ -4717,7 +4615,7 @@ interface ProgressProps {
|
|
|
4717
4615
|
|
|
4718
4616
|
declare const progressLineBaseClasses = "relative overflow-hidden rounded-full";
|
|
4719
4617
|
declare const progressLineInnerClasses = "h-full rounded-full transition-all duration-300 ease-in-out flex items-center justify-end";
|
|
4720
|
-
declare const progressTextBaseClasses = "font-medium ml-2
|
|
4618
|
+
declare const progressTextBaseClasses = "font-medium ml-2";
|
|
4721
4619
|
declare const progressCircleBaseClasses = "relative inline-flex items-center justify-center";
|
|
4722
4620
|
declare const progressLineSizeClasses: Record<ProgressSize, string>;
|
|
4723
4621
|
declare const progressCircleSizeClasses: Record<ProgressSize, number>;
|
|
@@ -4727,7 +4625,7 @@ declare const progressStripedAnimationClasses = "animate-[progress-stripes_1s_li
|
|
|
4727
4625
|
declare function getStatusVariant(status: ProgressStatus): string;
|
|
4728
4626
|
declare function formatProgressText(percentage: number, customText?: string, formatFn?: (percentage: number) => string): string;
|
|
4729
4627
|
declare function clampPercentage(percentage: number): number;
|
|
4730
|
-
declare function calculateCirclePath(radius: number,
|
|
4628
|
+
declare function calculateCirclePath(radius: number, percentage: number): {
|
|
4731
4629
|
circumference: number;
|
|
4732
4630
|
strokeDasharray: string;
|
|
4733
4631
|
strokeDashoffset: number;
|
|
@@ -4883,10 +4781,6 @@ declare const collapseIconPositionClasses: {
|
|
|
4883
4781
|
* Collapse header text classes
|
|
4884
4782
|
*/
|
|
4885
4783
|
declare const collapseHeaderTextClasses = "flex-1 font-medium text-gray-900";
|
|
4886
|
-
/**
|
|
4887
|
-
* Collapse extra content classes
|
|
4888
|
-
*/
|
|
4889
|
-
declare const collapseExtraClasses = "ml-auto";
|
|
4890
4784
|
/**
|
|
4891
4785
|
* Get collapse container classes
|
|
4892
4786
|
*/
|
|
@@ -4915,10 +4809,6 @@ declare function isPanelActive(panelKey: string | number, activeKeys: (string |
|
|
|
4915
4809
|
* Toggle panel key in active keys array
|
|
4916
4810
|
*/
|
|
4917
4811
|
declare function togglePanelKey(panelKey: string | number, activeKeys: (string | number)[], accordion: boolean): (string | number)[];
|
|
4918
|
-
/**
|
|
4919
|
-
* Right arrow SVG icon for collapse
|
|
4920
|
-
*/
|
|
4921
|
-
declare const collapseRightArrowIcon: string;
|
|
4922
4812
|
|
|
4923
4813
|
/**
|
|
4924
4814
|
* Menu component types and interfaces
|
|
@@ -5206,6 +5096,27 @@ declare function toggleKey(key: string | number, keys: (string | number)[]): (st
|
|
|
5206
5096
|
* Replace keys array with single key (for single selection mode)
|
|
5207
5097
|
*/
|
|
5208
5098
|
declare function replaceKeys(key: string | number, keys: (string | number)[]): (string | number)[];
|
|
5099
|
+
/**
|
|
5100
|
+
* Query all enabled, visible menu-item buttons within a menu container.
|
|
5101
|
+
*/
|
|
5102
|
+
declare function getMenuButtons(container: HTMLElement): HTMLButtonElement[];
|
|
5103
|
+
/**
|
|
5104
|
+
* Move roving-tabindex focus by `delta` steps (±1) within the nearest `ul[role="menu"]`.
|
|
5105
|
+
*/
|
|
5106
|
+
declare function moveFocusInMenu(current: HTMLButtonElement, delta: number): void;
|
|
5107
|
+
/**
|
|
5108
|
+
* Move roving-tabindex focus to the first or last item.
|
|
5109
|
+
*/
|
|
5110
|
+
declare function focusMenuEdge(current: HTMLButtonElement, edge: 'start' | 'end'): void;
|
|
5111
|
+
/**
|
|
5112
|
+
* Initialise roving tabindex on a menu root element.
|
|
5113
|
+
* Sets tabindex=0 on the selected (or first) item, -1 on the rest.
|
|
5114
|
+
*/
|
|
5115
|
+
declare function initRovingTabIndex(root: HTMLElement): void;
|
|
5116
|
+
/**
|
|
5117
|
+
* Focus the first child menu-item inside a submenu (called after expanding).
|
|
5118
|
+
*/
|
|
5119
|
+
declare function focusFirstChildItem(titleEl: HTMLElement): void;
|
|
5209
5120
|
|
|
5210
5121
|
/**
|
|
5211
5122
|
* Tabs component types and interfaces
|
|
@@ -5342,9 +5253,9 @@ declare const tabsBaseClasses = "w-full";
|
|
|
5342
5253
|
/**
|
|
5343
5254
|
* Tab nav base classes
|
|
5344
5255
|
*/
|
|
5345
|
-
declare const tabNavBaseClasses = "flex
|
|
5256
|
+
declare const tabNavBaseClasses = "flex";
|
|
5346
5257
|
/**
|
|
5347
|
-
* Tab nav position classes
|
|
5258
|
+
* Tab nav position classes (direction only)
|
|
5348
5259
|
*/
|
|
5349
5260
|
declare const tabNavPositionClasses: {
|
|
5350
5261
|
top: string;
|
|
@@ -5352,6 +5263,15 @@ declare const tabNavPositionClasses: {
|
|
|
5352
5263
|
left: string;
|
|
5353
5264
|
right: string;
|
|
5354
5265
|
};
|
|
5266
|
+
/**
|
|
5267
|
+
* Tab nav border classes (applied only for line type)
|
|
5268
|
+
*/
|
|
5269
|
+
declare const tabNavLineBorderClasses: {
|
|
5270
|
+
top: string;
|
|
5271
|
+
bottom: string;
|
|
5272
|
+
left: string;
|
|
5273
|
+
right: string;
|
|
5274
|
+
};
|
|
5355
5275
|
/**
|
|
5356
5276
|
* Tab nav list base classes
|
|
5357
5277
|
*/
|
|
@@ -5373,7 +5293,7 @@ declare const tabNavListCenteredClasses = "justify-center";
|
|
|
5373
5293
|
* Tab item base classes
|
|
5374
5294
|
* @since 0.2.0 - Added focus-visible ring for keyboard navigation
|
|
5375
5295
|
*/
|
|
5376
|
-
declare const tabItemBaseClasses = "relative
|
|
5296
|
+
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))] focus-visible:ring-offset-2 active:opacity-90";
|
|
5377
5297
|
/**
|
|
5378
5298
|
* Tab item size classes
|
|
5379
5299
|
*/
|
|
@@ -5546,7 +5466,7 @@ declare const breadcrumbSeparatorBaseClasses = "text-gray-400 select-none";
|
|
|
5546
5466
|
/**
|
|
5547
5467
|
* Get breadcrumb item classes
|
|
5548
5468
|
*/
|
|
5549
|
-
declare function getBreadcrumbItemClasses(
|
|
5469
|
+
declare function getBreadcrumbItemClasses(className?: string): string;
|
|
5550
5470
|
/**
|
|
5551
5471
|
* Get breadcrumb link classes
|
|
5552
5472
|
*/
|
|
@@ -5652,15 +5572,9 @@ interface StepsProps {
|
|
|
5652
5572
|
*/
|
|
5653
5573
|
|
|
5654
5574
|
/**
|
|
5655
|
-
*
|
|
5656
|
-
* (Shared between React/Vue to keep visuals consistent)
|
|
5575
|
+
* Checkmark character used by StepsItem when status is "finish"
|
|
5657
5576
|
*/
|
|
5658
|
-
declare const
|
|
5659
|
-
declare const stepFinishIconViewBox = "0 0 24 24";
|
|
5660
|
-
declare const stepFinishIconPathD = "M5 13l4 4L19 7";
|
|
5661
|
-
declare const stepFinishIconPathStrokeLinecap = "round";
|
|
5662
|
-
declare const stepFinishIconPathStrokeLinejoin = "round";
|
|
5663
|
-
declare const stepFinishIconPathStrokeWidth = 2;
|
|
5577
|
+
declare const stepFinishChar = "\u2713";
|
|
5664
5578
|
/**
|
|
5665
5579
|
* Get Steps container classes
|
|
5666
5580
|
*/
|
|
@@ -5668,7 +5582,7 @@ declare function getStepsContainerClasses(direction: StepsDirection): string;
|
|
|
5668
5582
|
/**
|
|
5669
5583
|
* Get Step item container classes
|
|
5670
5584
|
*/
|
|
5671
|
-
declare function getStepItemClasses(direction: StepsDirection, isLast: boolean
|
|
5585
|
+
declare function getStepItemClasses(direction: StepsDirection, isLast: boolean): string;
|
|
5672
5586
|
/**
|
|
5673
5587
|
* Get Step icon container classes
|
|
5674
5588
|
*/
|
|
@@ -5676,11 +5590,11 @@ declare function getStepIconClasses(status: StepStatus, size: StepSize, simple:
|
|
|
5676
5590
|
/**
|
|
5677
5591
|
* Get Step tail/connector line classes
|
|
5678
5592
|
*/
|
|
5679
|
-
declare function getStepTailClasses(direction: StepsDirection, status: StepStatus, isLast: boolean): string;
|
|
5593
|
+
declare function getStepTailClasses(direction: StepsDirection, status: StepStatus, isLast: boolean, size: StepSize, simple: boolean): string;
|
|
5680
5594
|
/**
|
|
5681
5595
|
* Get Step content container classes
|
|
5682
5596
|
*/
|
|
5683
|
-
declare function getStepContentClasses(direction: StepsDirection
|
|
5597
|
+
declare function getStepContentClasses(direction: StepsDirection): string;
|
|
5684
5598
|
/**
|
|
5685
5599
|
* Get Step title classes
|
|
5686
5600
|
*/
|
|
@@ -5795,8 +5709,8 @@ interface PaginationProps {
|
|
|
5795
5709
|
*/
|
|
5796
5710
|
hideOnSinglePage?: boolean;
|
|
5797
5711
|
/**
|
|
5798
|
-
*
|
|
5799
|
-
* @default
|
|
5712
|
+
* Whether to show fewer page buttons around current page
|
|
5713
|
+
* @default false
|
|
5800
5714
|
*/
|
|
5801
5715
|
showLessItems?: boolean;
|
|
5802
5716
|
/**
|
|
@@ -5883,6 +5797,10 @@ declare function getQuickJumperInputClasses(size?: PaginationSize): string;
|
|
|
5883
5797
|
* Get page size selector classes
|
|
5884
5798
|
*/
|
|
5885
5799
|
declare function getPageSizeSelectorClasses(size?: PaginationSize): string;
|
|
5800
|
+
/**
|
|
5801
|
+
* Get text size class for a given pagination size
|
|
5802
|
+
*/
|
|
5803
|
+
declare function getSizeTextClasses(size?: PaginationSize): string;
|
|
5886
5804
|
/**
|
|
5887
5805
|
* Get total text classes
|
|
5888
5806
|
*/
|
|
@@ -5918,100 +5836,6 @@ declare function getSimplePaginationPageIndicatorClasses(): string;
|
|
|
5918
5836
|
*/
|
|
5919
5837
|
declare function getSimplePaginationButtonsWrapperClasses(): string;
|
|
5920
5838
|
|
|
5921
|
-
/**
|
|
5922
|
-
* Dropdown component types and interfaces
|
|
5923
|
-
*/
|
|
5924
|
-
/**
|
|
5925
|
-
* Dropdown trigger mode - determines how the dropdown is opened
|
|
5926
|
-
*/
|
|
5927
|
-
type DropdownTrigger = 'click' | 'hover';
|
|
5928
|
-
/**
|
|
5929
|
-
* Dropdown placement - position relative to the trigger element
|
|
5930
|
-
*/
|
|
5931
|
-
type DropdownPlacement = 'bottom-start' | 'bottom' | 'bottom-end' | 'top-start' | 'top' | 'top-end' | 'left-start' | 'left' | 'left-end' | 'right-start' | 'right' | 'right-end';
|
|
5932
|
-
/**
|
|
5933
|
-
* Base dropdown props interface
|
|
5934
|
-
*/
|
|
5935
|
-
interface DropdownProps {
|
|
5936
|
-
/**
|
|
5937
|
-
* Trigger mode - click or hover
|
|
5938
|
-
* @default 'hover'
|
|
5939
|
-
*/
|
|
5940
|
-
trigger?: DropdownTrigger;
|
|
5941
|
-
/**
|
|
5942
|
-
* Dropdown placement relative to trigger
|
|
5943
|
-
* @default 'bottom-start'
|
|
5944
|
-
*/
|
|
5945
|
-
placement?: DropdownPlacement;
|
|
5946
|
-
/**
|
|
5947
|
-
* Whether the dropdown is disabled
|
|
5948
|
-
* @default false
|
|
5949
|
-
*/
|
|
5950
|
-
disabled?: boolean;
|
|
5951
|
-
/**
|
|
5952
|
-
* Whether the dropdown is visible (controlled mode)
|
|
5953
|
-
*/
|
|
5954
|
-
visible?: boolean;
|
|
5955
|
-
/**
|
|
5956
|
-
* Default visibility (uncontrolled mode)
|
|
5957
|
-
* @default false
|
|
5958
|
-
*/
|
|
5959
|
-
defaultVisible?: boolean;
|
|
5960
|
-
/**
|
|
5961
|
-
* Whether to close dropdown on menu item click
|
|
5962
|
-
* @default true
|
|
5963
|
-
*/
|
|
5964
|
-
closeOnClick?: boolean;
|
|
5965
|
-
/**
|
|
5966
|
-
* Additional CSS classes
|
|
5967
|
-
*/
|
|
5968
|
-
className?: string;
|
|
5969
|
-
/**
|
|
5970
|
-
* Custom styles
|
|
5971
|
-
*/
|
|
5972
|
-
style?: Record<string, unknown>;
|
|
5973
|
-
}
|
|
5974
|
-
/**
|
|
5975
|
-
* Dropdown menu props interface
|
|
5976
|
-
*/
|
|
5977
|
-
interface DropdownMenuProps {
|
|
5978
|
-
/**
|
|
5979
|
-
* Additional CSS classes
|
|
5980
|
-
*/
|
|
5981
|
-
className?: string;
|
|
5982
|
-
/**
|
|
5983
|
-
* Custom styles
|
|
5984
|
-
*/
|
|
5985
|
-
style?: Record<string, unknown>;
|
|
5986
|
-
}
|
|
5987
|
-
/**
|
|
5988
|
-
* Dropdown item props interface
|
|
5989
|
-
*/
|
|
5990
|
-
interface DropdownItemProps {
|
|
5991
|
-
/**
|
|
5992
|
-
* Unique key for the dropdown item
|
|
5993
|
-
*/
|
|
5994
|
-
key?: string | number;
|
|
5995
|
-
/**
|
|
5996
|
-
* Whether the item is disabled
|
|
5997
|
-
* @default false
|
|
5998
|
-
*/
|
|
5999
|
-
disabled?: boolean;
|
|
6000
|
-
/**
|
|
6001
|
-
* Whether the item is divided from previous item
|
|
6002
|
-
* @default false
|
|
6003
|
-
*/
|
|
6004
|
-
divided?: boolean;
|
|
6005
|
-
/**
|
|
6006
|
-
* Icon for the dropdown item
|
|
6007
|
-
*/
|
|
6008
|
-
icon?: unknown;
|
|
6009
|
-
/**
|
|
6010
|
-
* Additional CSS classes
|
|
6011
|
-
*/
|
|
6012
|
-
className?: string;
|
|
6013
|
-
}
|
|
6014
|
-
|
|
6015
5839
|
/**
|
|
6016
5840
|
* Get base dropdown container classes
|
|
6017
5841
|
*/
|
|
@@ -6021,9 +5845,13 @@ declare function getDropdownContainerClasses(): string;
|
|
|
6021
5845
|
*/
|
|
6022
5846
|
declare function getDropdownTriggerClasses(disabled: boolean): string;
|
|
6023
5847
|
/**
|
|
6024
|
-
* Get dropdown
|
|
5848
|
+
* Get dropdown chevron indicator classes
|
|
5849
|
+
*/
|
|
5850
|
+
declare function getDropdownChevronClasses(visible: boolean): string;
|
|
5851
|
+
/**
|
|
5852
|
+
* SVG path for the dropdown chevron-down icon (viewBox 0 0 24 24)
|
|
6025
5853
|
*/
|
|
6026
|
-
declare
|
|
5854
|
+
declare const DROPDOWN_CHEVRON_PATH = "M6 9l6 6 6-6";
|
|
6027
5855
|
/**
|
|
6028
5856
|
* Get dropdown menu classes
|
|
6029
5857
|
*/
|
|
@@ -6032,6 +5860,15 @@ declare function getDropdownMenuClasses(): string;
|
|
|
6032
5860
|
* Get dropdown item classes
|
|
6033
5861
|
*/
|
|
6034
5862
|
declare function getDropdownItemClasses(disabled: boolean, divided: boolean): string;
|
|
5863
|
+
/**
|
|
5864
|
+
* Inject dropdown animation styles into the document head.
|
|
5865
|
+
* Safe to call multiple times - will only inject once.
|
|
5866
|
+
*/
|
|
5867
|
+
declare function injectDropdownStyles(): void;
|
|
5868
|
+
/**
|
|
5869
|
+
* CSS class for dropdown menu entrance animation
|
|
5870
|
+
*/
|
|
5871
|
+
declare const DROPDOWN_ENTER_CLASS = "tiger-dropdown-enter";
|
|
6035
5872
|
|
|
6036
5873
|
/**
|
|
6037
5874
|
* Drawer component types
|
|
@@ -6118,7 +5955,7 @@ declare function getDrawerMaskClasses(visible: boolean): string;
|
|
|
6118
5955
|
/**
|
|
6119
5956
|
* Get drawer container classes (wrapper positioned over mask)
|
|
6120
5957
|
*/
|
|
6121
|
-
declare function getDrawerContainerClasses(
|
|
5958
|
+
declare function getDrawerContainerClasses(): string;
|
|
6122
5959
|
/**
|
|
6123
5960
|
* Get drawer panel classes based on placement and visibility
|
|
6124
5961
|
*/
|
|
@@ -6350,22 +6187,6 @@ declare const alertIconContainerClasses = "flex-shrink-0";
|
|
|
6350
6187
|
* Alert content container classes
|
|
6351
6188
|
*/
|
|
6352
6189
|
declare const alertContentClasses = "flex-1 ml-3";
|
|
6353
|
-
/**
|
|
6354
|
-
* SVG path for success (check circle) icon
|
|
6355
|
-
*/
|
|
6356
|
-
declare const alertSuccessIconPath = "M9 12l2 2 4-4m6 2a9 9 0 11-18 0 9 9 0 0118 0z";
|
|
6357
|
-
/**
|
|
6358
|
-
* SVG path for warning (exclamation triangle) icon
|
|
6359
|
-
*/
|
|
6360
|
-
declare const alertWarningIconPath = "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";
|
|
6361
|
-
/**
|
|
6362
|
-
* SVG path for error (x circle) icon
|
|
6363
|
-
*/
|
|
6364
|
-
declare const alertErrorIconPath = "M10 14l2-2m0 0l2-2m-2 2l-2-2m2 2l2 2m7-2a9 9 0 11-18 0 9 9 0 0118 0z";
|
|
6365
|
-
/**
|
|
6366
|
-
* SVG path for info (information circle) icon
|
|
6367
|
-
*/
|
|
6368
|
-
declare const alertInfoIconPath = "M13 16h-1v-4h-1m1-4h.01M21 12a9 9 0 11-18 0 9 9 0 0118 0z";
|
|
6369
6190
|
/**
|
|
6370
6191
|
* SVG path for close (x) icon
|
|
6371
6192
|
*/
|
|
@@ -6493,13 +6314,6 @@ declare const messagePositionClasses: Record<MessagePosition, string>;
|
|
|
6493
6314
|
* Base message item classes
|
|
6494
6315
|
*/
|
|
6495
6316
|
declare const messageBaseClasses = "flex items-center gap-3 px-4 py-3 rounded-lg shadow-lg border pointer-events-auto transition-all duration-300 ease-in-out";
|
|
6496
|
-
/**
|
|
6497
|
-
* Message animation classes
|
|
6498
|
-
*/
|
|
6499
|
-
declare const messageEnterClasses = "opacity-0 -translate-y-2";
|
|
6500
|
-
declare const messageEnterActiveClasses = "opacity-100 translate-y-0";
|
|
6501
|
-
declare const messageLeaveClasses = "opacity-100 translate-y-0";
|
|
6502
|
-
declare const messageLeaveActiveClasses = "opacity-0 -translate-y-2";
|
|
6503
6317
|
/**
|
|
6504
6318
|
* Message type color schemes
|
|
6505
6319
|
*/
|
|
@@ -6888,271 +6702,994 @@ declare const animationDelayStyles = "\n@keyframes bounce-dot {\n 0%, 100% { tr
|
|
|
6888
6702
|
declare function injectLoadingAnimationStyles(): void;
|
|
6889
6703
|
|
|
6890
6704
|
/**
|
|
6891
|
-
*
|
|
6705
|
+
* Floating UI wrapper utilities for positioning popups, tooltips, and dropdowns.
|
|
6706
|
+
* Provides edge-aware positioning with automatic collision detection and flipping.
|
|
6892
6707
|
*/
|
|
6893
6708
|
|
|
6894
6709
|
/**
|
|
6895
|
-
*
|
|
6710
|
+
* Placement options supported by the floating system.
|
|
6711
|
+
* These map directly to Floating UI placements.
|
|
6896
6712
|
*/
|
|
6897
|
-
type
|
|
6713
|
+
type FloatingPlacement = 'top' | 'top-start' | 'top-end' | 'bottom' | 'bottom-start' | 'bottom-end' | 'left' | 'left-start' | 'left-end' | 'right' | 'right-start' | 'right-end';
|
|
6898
6714
|
/**
|
|
6899
|
-
*
|
|
6715
|
+
* Options for computing floating element position.
|
|
6900
6716
|
*/
|
|
6901
|
-
interface
|
|
6717
|
+
interface FloatingOptions {
|
|
6902
6718
|
/**
|
|
6903
|
-
*
|
|
6719
|
+
* Preferred placement of the floating element relative to the reference.
|
|
6720
|
+
* @default 'bottom'
|
|
6721
|
+
*/
|
|
6722
|
+
placement?: FloatingPlacement;
|
|
6723
|
+
/**
|
|
6724
|
+
* Distance (in pixels) between reference and floating element.
|
|
6725
|
+
* @default 8
|
|
6726
|
+
*/
|
|
6727
|
+
offset?: number;
|
|
6728
|
+
/**
|
|
6729
|
+
* Whether to flip placement when there's not enough space.
|
|
6730
|
+
* @default true
|
|
6731
|
+
*/
|
|
6732
|
+
flip?: boolean;
|
|
6733
|
+
/**
|
|
6734
|
+
* Whether to shift the floating element to stay within viewport.
|
|
6735
|
+
* @default true
|
|
6736
|
+
*/
|
|
6737
|
+
shift?: boolean;
|
|
6738
|
+
/**
|
|
6739
|
+
* Padding from viewport edges when shifting.
|
|
6740
|
+
* @default 8
|
|
6741
|
+
*/
|
|
6742
|
+
shiftPadding?: number;
|
|
6743
|
+
/**
|
|
6744
|
+
* Arrow element for positioning the arrow indicator.
|
|
6745
|
+
*/
|
|
6746
|
+
arrowElement?: HTMLElement | null;
|
|
6747
|
+
/**
|
|
6748
|
+
* Arrow padding from edges.
|
|
6749
|
+
* @default 8
|
|
6750
|
+
*/
|
|
6751
|
+
arrowPadding?: number;
|
|
6752
|
+
}
|
|
6753
|
+
/**
|
|
6754
|
+
* Result of computing floating position.
|
|
6755
|
+
*/
|
|
6756
|
+
interface FloatingResult {
|
|
6757
|
+
/**
|
|
6758
|
+
* X coordinate to position the floating element.
|
|
6759
|
+
*/
|
|
6760
|
+
x: number;
|
|
6761
|
+
/**
|
|
6762
|
+
* Y coordinate to position the floating element.
|
|
6763
|
+
*/
|
|
6764
|
+
y: number;
|
|
6765
|
+
/**
|
|
6766
|
+
* Final placement after auto-positioning (may differ from requested).
|
|
6767
|
+
*/
|
|
6768
|
+
placement: FloatingPlacement;
|
|
6769
|
+
/**
|
|
6770
|
+
* Arrow position data (if arrow element was provided).
|
|
6771
|
+
*/
|
|
6772
|
+
arrow?: {
|
|
6773
|
+
x?: number;
|
|
6774
|
+
y?: number;
|
|
6775
|
+
};
|
|
6776
|
+
/**
|
|
6777
|
+
* Middleware data from Floating UI.
|
|
6778
|
+
*/
|
|
6779
|
+
middlewareData: MiddlewareData;
|
|
6780
|
+
}
|
|
6781
|
+
/**
|
|
6782
|
+
* Compute the position of a floating element relative to a reference element.
|
|
6783
|
+
* Uses Floating UI for edge-aware positioning with automatic collision detection.
|
|
6784
|
+
*
|
|
6785
|
+
* @param reference - The reference element (trigger)
|
|
6786
|
+
* @param floating - The floating element (popup/tooltip)
|
|
6787
|
+
* @param options - Positioning options
|
|
6788
|
+
* @returns Promise resolving to position data
|
|
6789
|
+
*
|
|
6790
|
+
* @example
|
|
6791
|
+
* ```ts
|
|
6792
|
+
* const { x, y, placement } = await computeFloatingPosition(
|
|
6793
|
+
* triggerEl,
|
|
6794
|
+
* tooltipEl,
|
|
6795
|
+
* { placement: 'top', offset: 8 }
|
|
6796
|
+
* )
|
|
6797
|
+
* tooltipEl.style.left = `${x}px`
|
|
6798
|
+
* tooltipEl.style.top = `${y}px`
|
|
6799
|
+
* ```
|
|
6800
|
+
*/
|
|
6801
|
+
declare function computeFloatingPosition(reference: HTMLElement, floating: HTMLElement, options?: FloatingOptions): Promise<FloatingResult>;
|
|
6802
|
+
/**
|
|
6803
|
+
* Cleanup function type returned by autoUpdateFloating.
|
|
6804
|
+
*/
|
|
6805
|
+
type FloatingCleanup = () => void;
|
|
6806
|
+
/**
|
|
6807
|
+
* Set up automatic position updates for a floating element.
|
|
6808
|
+
* Updates position when reference/floating elements resize, scroll, or when
|
|
6809
|
+
* the reference moves in the viewport.
|
|
6810
|
+
*
|
|
6811
|
+
* @param reference - The reference element (trigger)
|
|
6812
|
+
* @param floating - The floating element (popup/tooltip)
|
|
6813
|
+
* @param update - Callback to run when position should be updated
|
|
6814
|
+
* @returns Cleanup function to stop auto-updates
|
|
6815
|
+
*
|
|
6816
|
+
* @example
|
|
6817
|
+
* ```ts
|
|
6818
|
+
* const cleanup = autoUpdateFloating(triggerEl, tooltipEl, async () => {
|
|
6819
|
+
* const { x, y } = await computeFloatingPosition(triggerEl, tooltipEl)
|
|
6820
|
+
* tooltipEl.style.left = `${x}px`
|
|
6821
|
+
* tooltipEl.style.top = `${y}px`
|
|
6822
|
+
* })
|
|
6823
|
+
*
|
|
6824
|
+
* // Later, when unmounting:
|
|
6825
|
+
* cleanup()
|
|
6826
|
+
* ```
|
|
6827
|
+
*/
|
|
6828
|
+
declare function autoUpdateFloating(reference: HTMLElement, floating: HTMLElement, update: () => void): FloatingCleanup;
|
|
6829
|
+
/**
|
|
6830
|
+
* Get CSS transform origin based on placement.
|
|
6831
|
+
* Useful for scaling/fading animations that should originate from the reference.
|
|
6832
|
+
*
|
|
6833
|
+
* @param placement - Current placement of the floating element
|
|
6834
|
+
* @returns CSS transform-origin value
|
|
6835
|
+
*
|
|
6836
|
+
* @example
|
|
6837
|
+
* ```ts
|
|
6838
|
+
* tooltipEl.style.transformOrigin = getTransformOrigin('top')
|
|
6839
|
+
* // Returns 'bottom center'
|
|
6840
|
+
* ```
|
|
6841
|
+
*/
|
|
6842
|
+
declare function getTransformOrigin(placement: FloatingPlacement): string;
|
|
6843
|
+
/**
|
|
6844
|
+
* Get the side of the reference element where the floating element is placed.
|
|
6845
|
+
*
|
|
6846
|
+
* @param placement - Current placement
|
|
6847
|
+
* @returns The side: 'top', 'bottom', 'left', or 'right'
|
|
6848
|
+
*/
|
|
6849
|
+
declare function getPlacementSide(placement: FloatingPlacement): 'top' | 'bottom' | 'left' | 'right';
|
|
6850
|
+
/**
|
|
6851
|
+
* Get arrow positioning styles based on placement and arrow data.
|
|
6852
|
+
*
|
|
6853
|
+
* @param placement - Current placement of the floating element
|
|
6854
|
+
* @param arrowData - Arrow position data from computeFloatingPosition
|
|
6855
|
+
* @returns CSS styles object for the arrow element
|
|
6856
|
+
*
|
|
6857
|
+
* @example
|
|
6858
|
+
* ```ts
|
|
6859
|
+
* const arrowStyles = getArrowStyles('top', result.arrow)
|
|
6860
|
+
* Object.assign(arrowEl.style, arrowStyles)
|
|
6861
|
+
* ```
|
|
6862
|
+
*/
|
|
6863
|
+
declare function getArrowStyles(placement: FloatingPlacement, arrowData?: {
|
|
6864
|
+
x?: number;
|
|
6865
|
+
y?: number;
|
|
6866
|
+
}): Record<string, string>;
|
|
6867
|
+
/**
|
|
6868
|
+
* Apply floating position to an element's style.
|
|
6869
|
+
* Convenience function that sets left/top CSS properties.
|
|
6870
|
+
*
|
|
6871
|
+
* @param element - The floating element to position
|
|
6872
|
+
* @param result - Position result from computeFloatingPosition
|
|
6873
|
+
*
|
|
6874
|
+
* @example
|
|
6875
|
+
* ```ts
|
|
6876
|
+
* const result = await computeFloatingPosition(trigger, tooltip)
|
|
6877
|
+
* applyFloatingStyles(tooltip, result)
|
|
6878
|
+
* ```
|
|
6879
|
+
*/
|
|
6880
|
+
declare function applyFloatingStyles(element: HTMLElement, result: FloatingResult): void;
|
|
6881
|
+
|
|
6882
|
+
/**
|
|
6883
|
+
* Shared floating-popup types used by Tooltip, Popover, and Popconfirm.
|
|
6884
|
+
*/
|
|
6885
|
+
|
|
6886
|
+
/**
|
|
6887
|
+
* Trigger type shared by floating popup components
|
|
6888
|
+
*/
|
|
6889
|
+
type FloatingTrigger = 'click' | 'hover' | 'focus' | 'manual';
|
|
6890
|
+
/**
|
|
6891
|
+
* Base props shared across all floating-popup components
|
|
6892
|
+
* (Tooltip, Popover, Popconfirm).
|
|
6893
|
+
*/
|
|
6894
|
+
interface BaseFloatingPopupProps {
|
|
6895
|
+
/** Whether the popup is visible (controlled mode) */
|
|
6896
|
+
visible?: boolean;
|
|
6897
|
+
/** Default visibility (uncontrolled mode) @default false */
|
|
6898
|
+
defaultVisible?: boolean;
|
|
6899
|
+
/** Placement relative to trigger @default 'top' */
|
|
6900
|
+
placement?: FloatingPlacement;
|
|
6901
|
+
/** Whether the popup is disabled @default false */
|
|
6902
|
+
disabled?: boolean;
|
|
6903
|
+
/** Offset distance from trigger in pixels @default 8 */
|
|
6904
|
+
offset?: number;
|
|
6905
|
+
/** Additional CSS classes */
|
|
6906
|
+
className?: string;
|
|
6907
|
+
}
|
|
6908
|
+
|
|
6909
|
+
/**
|
|
6910
|
+
* Shared utilities for floating-popup components (Tooltip, Popover, Popconfirm).
|
|
6911
|
+
*
|
|
6912
|
+
* Provides:
|
|
6913
|
+
* - Auto-incrementing ID factory for aria-* attributes
|
|
6914
|
+
* - Trigger-handler builder (maps trigger type → event handler map)
|
|
6915
|
+
*/
|
|
6916
|
+
|
|
6917
|
+
/**
|
|
6918
|
+
* Create an auto-incrementing ID generator for a given component prefix.
|
|
6919
|
+
*
|
|
6920
|
+
* @example
|
|
6921
|
+
* ```ts
|
|
6922
|
+
* const createId = createFloatingIdFactory('tooltip')
|
|
6923
|
+
* createId() // 'tiger-tooltip-1'
|
|
6924
|
+
* createId() // 'tiger-tooltip-2'
|
|
6925
|
+
* ```
|
|
6926
|
+
*/
|
|
6927
|
+
declare function createFloatingIdFactory(prefix: string): () => string;
|
|
6928
|
+
/**
|
|
6929
|
+
* Describes a set of event-handler names produced by `buildTriggerHandlerMap`.
|
|
6930
|
+
* The actual values are determined by the caller (Vue or React).
|
|
6931
|
+
*/
|
|
6932
|
+
interface TriggerHandlerMap<H> {
|
|
6933
|
+
onClick?: H;
|
|
6934
|
+
onMouseenter?: H;
|
|
6935
|
+
onMouseleave?: H;
|
|
6936
|
+
onMouseEnter?: H;
|
|
6937
|
+
onMouseLeave?: H;
|
|
6938
|
+
onFocus?: H;
|
|
6939
|
+
onBlur?: H;
|
|
6940
|
+
onFocusin?: H;
|
|
6941
|
+
onFocusout?: H;
|
|
6942
|
+
}
|
|
6943
|
+
/**
|
|
6944
|
+
* Build a trigger-handler map for a given trigger type.
|
|
6945
|
+
* Returns *only* the keys relevant to `trigger`; the caller supplies the
|
|
6946
|
+
* handler functions so this stays framework-agnostic.
|
|
6947
|
+
*
|
|
6948
|
+
* @param trigger - Current trigger type
|
|
6949
|
+
* @param handlers - Named handler functions keyed by action
|
|
6950
|
+
* @param framework - 'vue' | 'react' (differences: casing & focusin/focusout)
|
|
6951
|
+
*/
|
|
6952
|
+
declare function buildTriggerHandlerMap<H>(trigger: FloatingTrigger, handlers: {
|
|
6953
|
+
toggle: H;
|
|
6954
|
+
show: H;
|
|
6955
|
+
hide: H;
|
|
6956
|
+
}, framework?: 'vue' | 'react'): Record<string, H>;
|
|
6957
|
+
|
|
6958
|
+
/**
|
|
6959
|
+
* Popconfirm component types and interfaces
|
|
6960
|
+
*/
|
|
6961
|
+
|
|
6962
|
+
/**
|
|
6963
|
+
* Popconfirm icon type
|
|
6964
|
+
*/
|
|
6965
|
+
type PopconfirmIconType = 'warning' | 'info' | 'error' | 'success' | 'question';
|
|
6966
|
+
/**
|
|
6967
|
+
* Base popconfirm props interface
|
|
6968
|
+
*/
|
|
6969
|
+
interface PopconfirmProps {
|
|
6970
|
+
/**
|
|
6971
|
+
* Whether the popconfirm is visible (controlled mode)
|
|
6972
|
+
*/
|
|
6973
|
+
visible?: boolean;
|
|
6974
|
+
/**
|
|
6975
|
+
* Default visibility (uncontrolled mode)
|
|
6976
|
+
* @default false
|
|
6977
|
+
*/
|
|
6978
|
+
defaultVisible?: boolean;
|
|
6979
|
+
/**
|
|
6980
|
+
* Popconfirm title/question text
|
|
6981
|
+
*/
|
|
6982
|
+
title?: string;
|
|
6983
|
+
/**
|
|
6984
|
+
* Popconfirm description text (optional, displayed below title)
|
|
6985
|
+
*/
|
|
6986
|
+
description?: string;
|
|
6987
|
+
/**
|
|
6988
|
+
* Icon type to display
|
|
6989
|
+
* @default 'warning'
|
|
6990
|
+
*/
|
|
6991
|
+
icon?: PopconfirmIconType;
|
|
6992
|
+
/**
|
|
6993
|
+
* Whether to show icon
|
|
6994
|
+
* @default true
|
|
6995
|
+
*/
|
|
6996
|
+
showIcon?: boolean;
|
|
6997
|
+
/**
|
|
6998
|
+
* Confirm button text
|
|
6999
|
+
* @default '确定' (Chinese) / 'Confirm' (English)
|
|
7000
|
+
*/
|
|
7001
|
+
okText?: string;
|
|
7002
|
+
/**
|
|
7003
|
+
* Cancel button text
|
|
7004
|
+
* @default '取消' (Chinese) / 'Cancel' (English)
|
|
7005
|
+
*/
|
|
7006
|
+
cancelText?: string;
|
|
7007
|
+
/**
|
|
7008
|
+
* Confirm button type
|
|
7009
|
+
* @default 'primary'
|
|
7010
|
+
*/
|
|
7011
|
+
okType?: 'primary' | 'danger';
|
|
7012
|
+
/**
|
|
7013
|
+
* Popconfirm placement relative to trigger
|
|
7014
|
+
* @default 'top'
|
|
7015
|
+
*/
|
|
7016
|
+
placement?: FloatingPlacement;
|
|
7017
|
+
/**
|
|
7018
|
+
* Whether the popconfirm is disabled
|
|
7019
|
+
* @default false
|
|
7020
|
+
*/
|
|
7021
|
+
disabled?: boolean;
|
|
7022
|
+
/**
|
|
7023
|
+
* Additional CSS classes
|
|
7024
|
+
*/
|
|
7025
|
+
className?: string;
|
|
7026
|
+
/**
|
|
7027
|
+
* Custom styles
|
|
7028
|
+
*/
|
|
7029
|
+
style?: Record<string, string | number>;
|
|
7030
|
+
}
|
|
7031
|
+
|
|
7032
|
+
/**
|
|
7033
|
+
* Get base popconfirm container classes
|
|
7034
|
+
*/
|
|
7035
|
+
declare function getPopconfirmContainerClasses(): string;
|
|
7036
|
+
/**
|
|
7037
|
+
* Get popconfirm trigger classes
|
|
7038
|
+
*/
|
|
7039
|
+
declare function getPopconfirmTriggerClasses(disabled: boolean): string;
|
|
7040
|
+
/**
|
|
7041
|
+
* Get popconfirm content wrapper classes
|
|
7042
|
+
*/
|
|
7043
|
+
declare function getPopconfirmContentClasses(): string;
|
|
7044
|
+
/**
|
|
7045
|
+
* Get popconfirm arrow classes (small pointer to the trigger)
|
|
7046
|
+
*/
|
|
7047
|
+
declare function getPopconfirmArrowClasses(placement: FloatingPlacement): string;
|
|
7048
|
+
/**
|
|
7049
|
+
* Get popconfirm title classes
|
|
7050
|
+
*/
|
|
7051
|
+
declare function getPopconfirmTitleClasses(): string;
|
|
7052
|
+
/**
|
|
7053
|
+
* Get popconfirm description classes
|
|
7054
|
+
*/
|
|
7055
|
+
declare function getPopconfirmDescriptionClasses(): string;
|
|
7056
|
+
/**
|
|
7057
|
+
* Get popconfirm icon color classes based on icon type
|
|
7058
|
+
*/
|
|
7059
|
+
declare function getPopconfirmIconClasses(iconType: PopconfirmIconType): string;
|
|
7060
|
+
/**
|
|
7061
|
+
* Get popconfirm buttons container classes
|
|
7062
|
+
*/
|
|
7063
|
+
declare function getPopconfirmButtonsClasses(): string;
|
|
7064
|
+
/**
|
|
7065
|
+
* Get popconfirm button base classes
|
|
7066
|
+
*/
|
|
7067
|
+
declare function getPopconfirmButtonBaseClasses(): string;
|
|
7068
|
+
/**
|
|
7069
|
+
* Get popconfirm cancel button classes
|
|
7070
|
+
*/
|
|
7071
|
+
declare function getPopconfirmCancelButtonClasses(): string;
|
|
7072
|
+
/**
|
|
7073
|
+
* Get popconfirm confirm button classes
|
|
7074
|
+
*/
|
|
7075
|
+
declare function getPopconfirmOkButtonClasses(okType: 'primary' | 'danger'): string;
|
|
7076
|
+
/**
|
|
7077
|
+
* Popconfirm icon SVG constants
|
|
7078
|
+
*/
|
|
7079
|
+
declare const popconfirmIconViewBox = "0 0 24 24";
|
|
7080
|
+
declare const popconfirmIconStrokeWidth = 1.5;
|
|
7081
|
+
declare const popconfirmIconPathStrokeLinecap = "round";
|
|
7082
|
+
declare const popconfirmIconPathStrokeLinejoin = "round";
|
|
7083
|
+
declare const popconfirmWarningIconPath = "M12 9v3.75m-9.303 3.376c-.866 1.5.217 3.374 1.948 3.374h14.71c1.73 0 2.813-1.874 1.948-3.374L13.949 3.378c-.866-1.5-3.032-1.5-3.898 0L2.697 16.126zM12 15.75h.007v.008H12v-.008z";
|
|
7084
|
+
declare const popconfirmInfoIconPath = "M11.25 11.25l.041-.02a.75.75 0 011.063.852l-.708 2.836a.75.75 0 001.063.853l.041-.021M21 12a9 9 0 11-18 0 9 9 0 0118 0zm-9-3.75h.008v.008H12V8.25z";
|
|
7085
|
+
declare const popconfirmErrorIconPath = "M9.75 9.75l4.5 4.5m0-4.5l-4.5 4.5M21 12a9 9 0 11-18 0 9 9 0 0118 0z";
|
|
7086
|
+
declare const popconfirmSuccessIconPath = "M9 12.75L11.25 15 15 9.75M21 12a9 9 0 11-18 0 9 9 0 0118 0z";
|
|
7087
|
+
declare const popconfirmQuestionIconPath = "M9.879 7.519c1.171-1.025 3.071-1.025 4.242 0 1.172 1.025 1.172 2.687 0 3.712-.203.179-.43.326-.67.442-.745.361-1.45.999-1.45 1.827v.75M21 12a9 9 0 11-18 0 9 9 0 0118 0zm-9 5.25h.008v.008H12v-.008z";
|
|
7088
|
+
/**
|
|
7089
|
+
* Get popconfirm icon path based on icon type
|
|
7090
|
+
*/
|
|
7091
|
+
declare function getPopconfirmIconPath(iconType: PopconfirmIconType): string;
|
|
7092
|
+
|
|
7093
|
+
/** Base popover container classes */
|
|
7094
|
+
declare function getPopoverContainerClasses(): string;
|
|
7095
|
+
/** Popover trigger classes */
|
|
7096
|
+
declare function getPopoverTriggerClasses(disabled: boolean): string;
|
|
7097
|
+
/** Popover content wrapper classes */
|
|
7098
|
+
declare function getPopoverContentClasses(width?: string | number): string;
|
|
7099
|
+
/** Popover title classes (static) */
|
|
7100
|
+
declare const POPOVER_TITLE_CLASSES: string;
|
|
7101
|
+
/** Popover content text classes (static) */
|
|
7102
|
+
declare const POPOVER_TEXT_CLASSES: string;
|
|
7103
|
+
/**
|
|
7104
|
+
* @deprecated Use POPOVER_TITLE_CLASSES instead
|
|
7105
|
+
*/
|
|
7106
|
+
declare function getPopoverTitleClasses(): string;
|
|
7107
|
+
/**
|
|
7108
|
+
* @deprecated Use POPOVER_TEXT_CLASSES instead
|
|
7109
|
+
*/
|
|
7110
|
+
declare function getPopoverContentTextClasses(): string;
|
|
7111
|
+
|
|
7112
|
+
/**
|
|
7113
|
+
* Get base tooltip container classes
|
|
7114
|
+
*/
|
|
7115
|
+
declare function getTooltipContainerClasses(): string;
|
|
7116
|
+
/**
|
|
7117
|
+
* Get tooltip trigger classes
|
|
7118
|
+
*/
|
|
7119
|
+
declare function getTooltipTriggerClasses(disabled: boolean): string;
|
|
7120
|
+
/**
|
|
7121
|
+
* Get tooltip content classes
|
|
7122
|
+
* Tooltips are simpler and smaller than popovers
|
|
7123
|
+
*/
|
|
7124
|
+
declare function getTooltipContentClasses(): string;
|
|
7125
|
+
|
|
7126
|
+
/**
|
|
7127
|
+
* Link component types and interfaces
|
|
7128
|
+
*/
|
|
7129
|
+
/**
|
|
7130
|
+
* Link variant types
|
|
7131
|
+
*/
|
|
7132
|
+
type LinkVariant = 'primary' | 'secondary' | 'default';
|
|
7133
|
+
/**
|
|
7134
|
+
* Link size types
|
|
7135
|
+
*/
|
|
7136
|
+
type LinkSize = 'sm' | 'md' | 'lg';
|
|
7137
|
+
/**
|
|
7138
|
+
* Base link props interface
|
|
7139
|
+
*/
|
|
7140
|
+
interface LinkProps {
|
|
7141
|
+
/**
|
|
7142
|
+
* Link variant style
|
|
7143
|
+
* @default 'primary'
|
|
7144
|
+
*/
|
|
7145
|
+
variant?: LinkVariant;
|
|
7146
|
+
/**
|
|
7147
|
+
* Link size
|
|
7148
|
+
* @default 'md'
|
|
7149
|
+
*/
|
|
7150
|
+
size?: LinkSize;
|
|
7151
|
+
/**
|
|
7152
|
+
* Whether the link is disabled
|
|
7153
|
+
* @default false
|
|
7154
|
+
*/
|
|
7155
|
+
disabled?: boolean;
|
|
7156
|
+
/**
|
|
7157
|
+
* The URL to navigate to
|
|
7158
|
+
*/
|
|
7159
|
+
href?: string;
|
|
7160
|
+
/**
|
|
7161
|
+
* Where to open the linked document
|
|
7162
|
+
* @default undefined
|
|
7163
|
+
*/
|
|
7164
|
+
target?: '_blank' | '_self' | '_parent' | '_top';
|
|
7165
|
+
/**
|
|
7166
|
+
* Relationship between current document and linked document
|
|
7167
|
+
* Automatically set to 'noopener noreferrer' when target="_blank"
|
|
7168
|
+
*/
|
|
7169
|
+
rel?: string;
|
|
7170
|
+
/**
|
|
7171
|
+
* Whether to show underline
|
|
7172
|
+
* @default true
|
|
7173
|
+
*/
|
|
7174
|
+
underline?: boolean;
|
|
7175
|
+
}
|
|
7176
|
+
|
|
7177
|
+
/**
|
|
7178
|
+
* Link base classes with improved interaction feedback
|
|
7179
|
+
* @since 0.2.0 - Changed to focus-visible, added active:opacity
|
|
7180
|
+
*/
|
|
7181
|
+
declare const linkBaseClasses = "inline-flex items-center transition-all duration-150 focus:outline-none focus-visible:ring-2 focus-visible:ring-offset-2 focus-visible:ring-[var(--tiger-focus-ring,var(--tiger-primary,#2563eb))] cursor-pointer no-underline active:opacity-80";
|
|
7182
|
+
declare const linkSizeClasses: Record<LinkSize, string>;
|
|
7183
|
+
declare const linkDisabledClasses = "cursor-not-allowed opacity-60 pointer-events-none";
|
|
7184
|
+
declare function getSecureRel(target: LinkProps['target'] | undefined, rel: string | undefined): string | undefined;
|
|
7185
|
+
|
|
7186
|
+
/**
|
|
7187
|
+
* Icon component types and interfaces
|
|
7188
|
+
*/
|
|
7189
|
+
/**
|
|
7190
|
+
* Icon size types
|
|
7191
|
+
*/
|
|
7192
|
+
type IconSize = 'sm' | 'md' | 'lg' | 'xl';
|
|
7193
|
+
/**
|
|
7194
|
+
* Base icon props interface
|
|
7195
|
+
*/
|
|
7196
|
+
interface IconProps {
|
|
7197
|
+
/**
|
|
7198
|
+
* Icon size
|
|
7199
|
+
* @default 'md'
|
|
7200
|
+
*/
|
|
7201
|
+
size?: IconSize;
|
|
7202
|
+
/**
|
|
7203
|
+
* Icon color
|
|
7204
|
+
* Uses CSS color value
|
|
7205
|
+
* @example '#2563eb' | 'currentColor'
|
|
7206
|
+
*/
|
|
7207
|
+
color?: string;
|
|
7208
|
+
/**
|
|
7209
|
+
* Additional CSS classes
|
|
7210
|
+
*/
|
|
7211
|
+
className?: string;
|
|
7212
|
+
}
|
|
7213
|
+
|
|
7214
|
+
declare const iconWrapperClasses = "inline-flex align-middle";
|
|
7215
|
+
declare const iconSvgBaseClasses = "inline-block";
|
|
7216
|
+
declare const iconSizeClasses: Record<IconSize, string>;
|
|
7217
|
+
declare const iconSvgDefaultStrokeWidth = 2;
|
|
7218
|
+
declare const iconSvgDefaultStrokeLinecap = "round";
|
|
7219
|
+
declare const iconSvgDefaultStrokeLinejoin = "round";
|
|
7220
|
+
|
|
7221
|
+
declare const codeBlockContainerClasses = "relative rounded-lg border border-gray-200 bg-gray-50 text-gray-800 dark:border-gray-800 dark:bg-gray-900/60 dark:text-gray-100";
|
|
7222
|
+
declare const codeBlockPreClasses = "m-0 overflow-auto p-4 text-sm leading-relaxed font-mono whitespace-pre";
|
|
7223
|
+
declare const codeBlockCopyButtonBaseClasses = "absolute right-3 top-0 -translate-y-1/2 inline-flex items-center rounded-md 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";
|
|
7224
|
+
declare const codeBlockCopyButtonCopiedClasses = "border-[var(--tiger-primary,#2563eb)] text-[var(--tiger-primary,#2563eb)]";
|
|
7225
|
+
|
|
7226
|
+
/**
|
|
7227
|
+
* Text component types and interfaces
|
|
7228
|
+
*/
|
|
7229
|
+
/**
|
|
7230
|
+
* Text tag types - semantic HTML elements for text
|
|
7231
|
+
*/
|
|
7232
|
+
type TextTag = 'p' | 'span' | 'div' | 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6' | 'label' | 'strong' | 'em' | 'small';
|
|
7233
|
+
/**
|
|
7234
|
+
* Text size types
|
|
7235
|
+
*/
|
|
7236
|
+
type TextSize = 'xs' | 'sm' | 'base' | 'lg' | 'xl' | '2xl' | '3xl' | '4xl' | '5xl' | '6xl';
|
|
7237
|
+
/**
|
|
7238
|
+
* Text weight types
|
|
7239
|
+
*/
|
|
7240
|
+
type TextWeight = 'thin' | 'light' | 'normal' | 'medium' | 'semibold' | 'bold' | 'extrabold' | 'black';
|
|
7241
|
+
/**
|
|
7242
|
+
* Text alignment types
|
|
7243
|
+
*/
|
|
7244
|
+
type TextAlign = 'left' | 'center' | 'right' | 'justify';
|
|
7245
|
+
/**
|
|
7246
|
+
* Text color types
|
|
7247
|
+
*/
|
|
7248
|
+
type TextColor = 'default' | 'primary' | 'secondary' | 'success' | 'warning' | 'danger' | 'muted';
|
|
7249
|
+
/**
|
|
7250
|
+
* Base text props interface
|
|
7251
|
+
*/
|
|
7252
|
+
interface TextProps {
|
|
7253
|
+
/**
|
|
7254
|
+
* HTML tag to render
|
|
7255
|
+
* @default 'p'
|
|
7256
|
+
*/
|
|
7257
|
+
tag?: TextTag;
|
|
7258
|
+
/**
|
|
7259
|
+
* Text size
|
|
7260
|
+
* @default 'base'
|
|
7261
|
+
*/
|
|
7262
|
+
size?: TextSize;
|
|
7263
|
+
/**
|
|
7264
|
+
* Text weight
|
|
7265
|
+
* @default 'normal'
|
|
7266
|
+
*/
|
|
7267
|
+
weight?: TextWeight;
|
|
7268
|
+
/**
|
|
7269
|
+
* Text alignment
|
|
7270
|
+
*/
|
|
7271
|
+
align?: TextAlign;
|
|
7272
|
+
/**
|
|
7273
|
+
* Text color
|
|
7274
|
+
* @default 'default'
|
|
7275
|
+
*/
|
|
7276
|
+
color?: TextColor;
|
|
7277
|
+
/**
|
|
7278
|
+
* Whether to truncate text with ellipsis
|
|
7279
|
+
* @default false
|
|
7280
|
+
*/
|
|
7281
|
+
truncate?: boolean;
|
|
7282
|
+
/**
|
|
7283
|
+
* Whether text should be italic
|
|
7284
|
+
* @default false
|
|
7285
|
+
*/
|
|
7286
|
+
italic?: boolean;
|
|
7287
|
+
/**
|
|
7288
|
+
* Whether text should have underline
|
|
7289
|
+
* @default false
|
|
7290
|
+
*/
|
|
7291
|
+
underline?: boolean;
|
|
7292
|
+
/**
|
|
7293
|
+
* Whether text should have line-through
|
|
7294
|
+
* @default false
|
|
7295
|
+
*/
|
|
7296
|
+
lineThrough?: boolean;
|
|
7297
|
+
}
|
|
7298
|
+
|
|
7299
|
+
/**
|
|
7300
|
+
* Generate Tailwind class string for the Text component.
|
|
7301
|
+
*
|
|
7302
|
+
* Shared by both Vue and React implementations so the class
|
|
7303
|
+
* computation logic lives in a single place.
|
|
7304
|
+
*/
|
|
7305
|
+
declare function getTextClasses(props: TextProps): string;
|
|
7306
|
+
|
|
7307
|
+
/**
|
|
7308
|
+
* Image component types and interfaces
|
|
7309
|
+
*/
|
|
7310
|
+
/**
|
|
7311
|
+
* Image object-fit types
|
|
7312
|
+
*/
|
|
7313
|
+
type ImageFit = 'contain' | 'cover' | 'fill' | 'none' | 'scale-down';
|
|
7314
|
+
/**
|
|
7315
|
+
* Crop rectangle describing the cropped area
|
|
7316
|
+
*/
|
|
7317
|
+
interface CropRect {
|
|
7318
|
+
/** X offset from left edge */
|
|
7319
|
+
x: number;
|
|
7320
|
+
/** Y offset from top edge */
|
|
7321
|
+
y: number;
|
|
7322
|
+
/** Width of the crop area */
|
|
7323
|
+
width: number;
|
|
7324
|
+
/** Height of the crop area */
|
|
7325
|
+
height: number;
|
|
7326
|
+
}
|
|
7327
|
+
/**
|
|
7328
|
+
* Result returned by the cropper after cropping
|
|
7329
|
+
*/
|
|
7330
|
+
interface CropResult {
|
|
7331
|
+
/** The canvas element with the cropped image */
|
|
7332
|
+
canvas: HTMLCanvasElement;
|
|
7333
|
+
/** Blob of the cropped image */
|
|
7334
|
+
blob: Blob;
|
|
7335
|
+
/** Data URL of the cropped image */
|
|
7336
|
+
dataUrl: string;
|
|
7337
|
+
/** The crop rectangle used */
|
|
7338
|
+
cropRect: CropRect;
|
|
7339
|
+
}
|
|
7340
|
+
/**
|
|
7341
|
+
* Resize handle direction for cropper
|
|
7342
|
+
*/
|
|
7343
|
+
type CropHandle = 'nw' | 'n' | 'ne' | 'e' | 'se' | 's' | 'sw' | 'w';
|
|
7344
|
+
/**
|
|
7345
|
+
* Image preview toolbar action types
|
|
7346
|
+
*/
|
|
7347
|
+
type ImagePreviewToolbarAction = 'zoomIn' | 'zoomOut' | 'reset' | 'prev' | 'next' | 'close';
|
|
7348
|
+
/**
|
|
7349
|
+
* Navigation state for preview with multiple images
|
|
7350
|
+
*/
|
|
7351
|
+
interface PreviewNavState {
|
|
7352
|
+
hasPrev: boolean;
|
|
7353
|
+
hasNext: boolean;
|
|
7354
|
+
counter: string;
|
|
7355
|
+
}
|
|
7356
|
+
/**
|
|
7357
|
+
* Base Image component props
|
|
7358
|
+
*/
|
|
7359
|
+
interface ImageProps {
|
|
7360
|
+
/**
|
|
7361
|
+
* Image source URL
|
|
7362
|
+
*/
|
|
7363
|
+
src?: string;
|
|
7364
|
+
/**
|
|
7365
|
+
* Alternative text for image
|
|
7366
|
+
*/
|
|
7367
|
+
alt?: string;
|
|
7368
|
+
/**
|
|
7369
|
+
* Image width (CSS value)
|
|
7370
|
+
*/
|
|
7371
|
+
width?: number | string;
|
|
7372
|
+
/**
|
|
7373
|
+
* Image height (CSS value)
|
|
7374
|
+
*/
|
|
7375
|
+
height?: number | string;
|
|
7376
|
+
/**
|
|
7377
|
+
* Object-fit behavior for the image
|
|
7378
|
+
* @default 'cover'
|
|
7379
|
+
*/
|
|
7380
|
+
fit?: ImageFit;
|
|
7381
|
+
/**
|
|
7382
|
+
* Fallback image source when loading fails
|
|
7383
|
+
*/
|
|
7384
|
+
fallbackSrc?: string;
|
|
7385
|
+
/**
|
|
7386
|
+
* Whether clicking the image triggers preview
|
|
7387
|
+
* @default true
|
|
7388
|
+
*/
|
|
7389
|
+
preview?: boolean;
|
|
7390
|
+
/**
|
|
7391
|
+
* Whether to lazy load the image using IntersectionObserver
|
|
7392
|
+
* @default false
|
|
7393
|
+
*/
|
|
7394
|
+
lazy?: boolean;
|
|
7395
|
+
/**
|
|
7396
|
+
* Additional CSS classes
|
|
7397
|
+
*/
|
|
7398
|
+
className?: string;
|
|
7399
|
+
}
|
|
7400
|
+
/**
|
|
7401
|
+
* ImagePreview component props
|
|
7402
|
+
*/
|
|
7403
|
+
interface ImagePreviewProps {
|
|
7404
|
+
/**
|
|
7405
|
+
* Whether the preview is visible
|
|
7406
|
+
*/
|
|
7407
|
+
visible: boolean;
|
|
7408
|
+
/**
|
|
7409
|
+
* Array of image URLs to preview
|
|
7410
|
+
*/
|
|
7411
|
+
images: string[];
|
|
7412
|
+
/**
|
|
7413
|
+
* Current image index (for multi-image preview)
|
|
7414
|
+
* @default 0
|
|
7415
|
+
*/
|
|
7416
|
+
currentIndex?: number;
|
|
7417
|
+
/**
|
|
7418
|
+
* Custom z-index for the preview overlay
|
|
7419
|
+
* @default 1050
|
|
7420
|
+
*/
|
|
7421
|
+
zIndex?: number;
|
|
7422
|
+
/**
|
|
7423
|
+
* Whether clicking the mask closes the preview
|
|
7424
|
+
* @default true
|
|
7425
|
+
*/
|
|
7426
|
+
maskClosable?: boolean;
|
|
7427
|
+
/**
|
|
7428
|
+
* Scale step for zoom in/out
|
|
7429
|
+
* @default 0.5
|
|
7430
|
+
*/
|
|
7431
|
+
scaleStep?: number;
|
|
7432
|
+
/**
|
|
7433
|
+
* Minimum scale factor
|
|
7434
|
+
* @default 0.25
|
|
6904
7435
|
*/
|
|
6905
|
-
|
|
7436
|
+
minScale?: number;
|
|
6906
7437
|
/**
|
|
6907
|
-
*
|
|
6908
|
-
* @default
|
|
7438
|
+
* Maximum scale factor
|
|
7439
|
+
* @default 5
|
|
6909
7440
|
*/
|
|
6910
|
-
|
|
7441
|
+
maxScale?: number;
|
|
7442
|
+
}
|
|
7443
|
+
/**
|
|
7444
|
+
* ImageGroup component props
|
|
7445
|
+
*/
|
|
7446
|
+
interface ImageGroupProps {
|
|
6911
7447
|
/**
|
|
6912
|
-
*
|
|
7448
|
+
* Whether to enable preview for all child images
|
|
7449
|
+
* @default true
|
|
6913
7450
|
*/
|
|
6914
|
-
|
|
7451
|
+
preview?: boolean;
|
|
7452
|
+
}
|
|
7453
|
+
/**
|
|
7454
|
+
* ImageCropper component props
|
|
7455
|
+
*/
|
|
7456
|
+
interface ImageCropperProps {
|
|
6915
7457
|
/**
|
|
6916
|
-
*
|
|
7458
|
+
* Image source URL to crop
|
|
6917
7459
|
*/
|
|
6918
|
-
|
|
7460
|
+
src: string;
|
|
6919
7461
|
/**
|
|
6920
|
-
*
|
|
6921
|
-
* @
|
|
7462
|
+
* Fixed aspect ratio (width / height). Leave undefined for free cropping.
|
|
7463
|
+
* @example 1 for square, 16/9 for widescreen
|
|
6922
7464
|
*/
|
|
6923
|
-
|
|
7465
|
+
aspectRatio?: number;
|
|
6924
7466
|
/**
|
|
6925
|
-
*
|
|
6926
|
-
* @default
|
|
7467
|
+
* Minimum crop width in pixels
|
|
7468
|
+
* @default 20
|
|
6927
7469
|
*/
|
|
6928
|
-
|
|
7470
|
+
minWidth?: number;
|
|
6929
7471
|
/**
|
|
6930
|
-
*
|
|
6931
|
-
* @default
|
|
7472
|
+
* Minimum crop height in pixels
|
|
7473
|
+
* @default 20
|
|
6932
7474
|
*/
|
|
6933
|
-
|
|
7475
|
+
minHeight?: number;
|
|
6934
7476
|
/**
|
|
6935
|
-
*
|
|
6936
|
-
* @default '
|
|
7477
|
+
* Output image MIME type
|
|
7478
|
+
* @default 'image/png'
|
|
6937
7479
|
*/
|
|
6938
|
-
|
|
7480
|
+
outputType?: 'image/png' | 'image/jpeg' | 'image/webp';
|
|
6939
7481
|
/**
|
|
6940
|
-
*
|
|
6941
|
-
* @default
|
|
7482
|
+
* Output image quality (0-1, only for jpeg/webp)
|
|
7483
|
+
* @default 0.92
|
|
6942
7484
|
*/
|
|
6943
|
-
|
|
7485
|
+
quality?: number;
|
|
6944
7486
|
/**
|
|
6945
|
-
*
|
|
6946
|
-
* @default
|
|
7487
|
+
* Whether to show crop guide lines (rule of thirds)
|
|
7488
|
+
* @default true
|
|
6947
7489
|
*/
|
|
6948
|
-
|
|
7490
|
+
guides?: boolean;
|
|
6949
7491
|
/**
|
|
6950
|
-
*
|
|
7492
|
+
* Additional CSS classes
|
|
7493
|
+
*/
|
|
7494
|
+
className?: string;
|
|
7495
|
+
}
|
|
7496
|
+
/**
|
|
7497
|
+
* CropUpload component props
|
|
7498
|
+
*/
|
|
7499
|
+
interface CropUploadProps {
|
|
7500
|
+
/**
|
|
7501
|
+
* Accepted file types
|
|
7502
|
+
* @default 'image/*'
|
|
7503
|
+
*/
|
|
7504
|
+
accept?: string;
|
|
7505
|
+
/**
|
|
7506
|
+
* Whether the component is disabled
|
|
6951
7507
|
* @default false
|
|
6952
7508
|
*/
|
|
6953
7509
|
disabled?: boolean;
|
|
6954
7510
|
/**
|
|
6955
|
-
*
|
|
7511
|
+
* Maximum file size in bytes
|
|
6956
7512
|
*/
|
|
6957
|
-
|
|
7513
|
+
maxSize?: number;
|
|
6958
7514
|
/**
|
|
6959
|
-
*
|
|
7515
|
+
* Props to pass to the internal ImageCropper
|
|
6960
7516
|
*/
|
|
6961
|
-
|
|
7517
|
+
cropperProps?: Partial<Omit<ImageCropperProps, 'src'>>;
|
|
7518
|
+
/**
|
|
7519
|
+
* Title for the crop modal
|
|
7520
|
+
* @default '裁剪图片'
|
|
7521
|
+
*/
|
|
7522
|
+
modalTitle?: string;
|
|
7523
|
+
/**
|
|
7524
|
+
* Width of the crop modal
|
|
7525
|
+
* @default 520
|
|
7526
|
+
*/
|
|
7527
|
+
modalWidth?: number;
|
|
7528
|
+
/**
|
|
7529
|
+
* Additional CSS classes
|
|
7530
|
+
*/
|
|
7531
|
+
className?: string;
|
|
6962
7532
|
}
|
|
6963
7533
|
|
|
6964
7534
|
/**
|
|
6965
|
-
*
|
|
7535
|
+
* Image component utilities
|
|
7536
|
+
* Shared styles and helpers for Image, ImagePreview, ImageCropper components
|
|
6966
7537
|
*/
|
|
6967
|
-
|
|
7538
|
+
|
|
6968
7539
|
/**
|
|
6969
|
-
*
|
|
7540
|
+
* Base classes for Image wrapper
|
|
6970
7541
|
*/
|
|
6971
|
-
declare
|
|
7542
|
+
declare const imageBaseClasses = "relative inline-block overflow-hidden";
|
|
6972
7543
|
/**
|
|
6973
|
-
*
|
|
7544
|
+
* Classes for the <img> element based on fit
|
|
6974
7545
|
*/
|
|
6975
|
-
declare function
|
|
7546
|
+
declare function getImageImgClasses(fit: ImageFit): string;
|
|
6976
7547
|
/**
|
|
6977
|
-
*
|
|
7548
|
+
* Classes for the error placeholder
|
|
6978
7549
|
*/
|
|
6979
|
-
declare
|
|
7550
|
+
declare const imageErrorClasses = "flex items-center justify-center w-full h-full bg-[var(--tiger-image-error-bg,#f3f4f6)] text-[var(--tiger-image-error-text,#9ca3af)]";
|
|
6980
7551
|
/**
|
|
6981
|
-
*
|
|
7552
|
+
* Classes for the loading placeholder
|
|
6982
7553
|
*/
|
|
6983
|
-
declare
|
|
7554
|
+
declare const imageLoadingClasses = "flex items-center justify-center w-full h-full bg-[var(--tiger-image-error-bg,#f3f4f6)] text-[var(--tiger-image-error-text,#9ca3af)] animate-pulse";
|
|
6984
7555
|
/**
|
|
6985
|
-
*
|
|
7556
|
+
* Cursor class when preview is enabled
|
|
6986
7557
|
*/
|
|
6987
|
-
declare
|
|
7558
|
+
declare const imagePreviewCursorClass = "cursor-pointer";
|
|
7559
|
+
/** Broken image icon path (used in error state) */
|
|
7560
|
+
declare const imageErrorIconPath = "M4 16l4.586-4.586a2 2 0 012.828 0L16 16m-2-2l1.586-1.586a2 2 0 012.828 0L20 14m-6-6h.01M6 20h12a2 2 0 002-2V6a2 2 0 00-2-2H6a2 2 0 00-2 2v12a2 2 0 002 2z";
|
|
7561
|
+
/** Zoom in icon path */
|
|
7562
|
+
declare const zoomInIconPath = "M21 21l-6-6m2-5a7 7 0 11-14 0 7 7 0 0114 0zM10 7v6m3-3H7";
|
|
7563
|
+
/** Zoom out icon path */
|
|
7564
|
+
declare const zoomOutIconPath = "M21 21l-6-6m2-5a7 7 0 11-14 0 7 7 0 0114 0zM13 10H7";
|
|
7565
|
+
/** Reset icon path (arrows forming a circle) */
|
|
7566
|
+
declare const resetIconPath = "M4 4v5h.582m15.356 2A8.001 8.001 0 004.582 9m0 0H9m11 11v-5h-.581m0 0a8.003 8.003 0 01-15.357-2m15.357 2H15";
|
|
7567
|
+
/** Left arrow icon path */
|
|
7568
|
+
declare const prevIconPath = "M15 19l-7-7 7-7";
|
|
7569
|
+
/** Right arrow icon path */
|
|
7570
|
+
declare const nextIconPath = "M9 5l7 7-7 7";
|
|
7571
|
+
/** Close icon path */
|
|
7572
|
+
declare const previewCloseIconPath = "M6 18L18 6M6 6l12 12";
|
|
6988
7573
|
/**
|
|
6989
|
-
*
|
|
7574
|
+
* Preview mask/backdrop classes
|
|
6990
7575
|
*/
|
|
6991
|
-
declare
|
|
7576
|
+
declare const imagePreviewMaskClasses = "fixed inset-0 bg-[var(--tiger-image-mask,rgba(0,0,0,0.85))] transition-opacity";
|
|
6992
7577
|
/**
|
|
6993
|
-
*
|
|
7578
|
+
* Preview wrapper classes (full screen container)
|
|
6994
7579
|
*/
|
|
6995
|
-
declare
|
|
7580
|
+
declare const imagePreviewWrapperClasses = "fixed inset-0 flex items-center justify-center select-none";
|
|
6996
7581
|
/**
|
|
6997
|
-
*
|
|
7582
|
+
* Preview image classes
|
|
6998
7583
|
*/
|
|
6999
|
-
declare
|
|
7584
|
+
declare const imagePreviewImgClasses = "max-w-none transition-transform duration-150 ease-out cursor-grab active:cursor-grabbing";
|
|
7000
7585
|
/**
|
|
7001
|
-
*
|
|
7586
|
+
* Preview toolbar classes
|
|
7002
7587
|
*/
|
|
7003
|
-
declare
|
|
7588
|
+
declare const imagePreviewToolbarClasses = "absolute bottom-6 left-1/2 -translate-x-1/2 flex items-center gap-2 px-4 py-2 rounded-full bg-[var(--tiger-image-toolbar-bg,rgba(0,0,0,0.6))] text-white";
|
|
7004
7589
|
/**
|
|
7005
|
-
*
|
|
7590
|
+
* Preview toolbar button classes
|
|
7006
7591
|
*/
|
|
7007
|
-
declare
|
|
7592
|
+
declare const imagePreviewToolbarBtnClasses = "flex items-center justify-center w-8 h-8 rounded-full hover:bg-white/20 transition-colors focus:outline-none focus:ring-2 focus:ring-white/50 disabled:opacity-40 disabled:cursor-not-allowed";
|
|
7008
7593
|
/**
|
|
7009
|
-
*
|
|
7594
|
+
* Preview navigation button classes (prev/next)
|
|
7010
7595
|
*/
|
|
7011
|
-
declare const
|
|
7012
|
-
declare const popconfirmIconStrokeWidth = 1.5;
|
|
7013
|
-
declare const popconfirmIconPathStrokeLinecap = "round";
|
|
7014
|
-
declare const popconfirmIconPathStrokeLinejoin = "round";
|
|
7015
|
-
declare const popconfirmWarningIconPath = "M12 9v3.75m-9.303 3.376c-.866 1.5.217 3.374 1.948 3.374h14.71c1.73 0 2.813-1.874 1.948-3.374L13.949 3.378c-.866-1.5-3.032-1.5-3.898 0L2.697 16.126zM12 15.75h.007v.008H12v-.008z";
|
|
7016
|
-
declare const popconfirmInfoIconPath = "M11.25 11.25l.041-.02a.75.75 0 011.063.852l-.708 2.836a.75.75 0 001.063.853l.041-.021M21 12a9 9 0 11-18 0 9 9 0 0118 0zm-9-3.75h.008v.008H12V8.25z";
|
|
7017
|
-
declare const popconfirmErrorIconPath = "M9.75 9.75l4.5 4.5m0-4.5l-4.5 4.5M21 12a9 9 0 11-18 0 9 9 0 0118 0z";
|
|
7018
|
-
declare const popconfirmSuccessIconPath = "M9 12.75L11.25 15 15 9.75M21 12a9 9 0 11-18 0 9 9 0 0118 0z";
|
|
7019
|
-
declare const popconfirmQuestionIconPath = "M9.879 7.519c1.171-1.025 3.071-1.025 4.242 0 1.172 1.025 1.172 2.687 0 3.712-.203.179-.43.326-.67.442-.745.361-1.45.999-1.45 1.827v.75M21 12a9 9 0 11-18 0 9 9 0 0118 0zm-9 5.25h.008v.008H12v-.008z";
|
|
7596
|
+
declare const imagePreviewNavBtnClasses = "absolute top-1/2 -translate-y-1/2 flex items-center justify-center w-10 h-10 rounded-full bg-[var(--tiger-image-toolbar-bg,rgba(0,0,0,0.6))] text-white hover:bg-white/20 transition-colors focus:outline-none focus:ring-2 focus:ring-white/50 disabled:opacity-40 disabled:cursor-not-allowed";
|
|
7020
7597
|
/**
|
|
7021
|
-
*
|
|
7598
|
+
* Preview close button classes
|
|
7022
7599
|
*/
|
|
7023
|
-
declare
|
|
7024
|
-
|
|
7600
|
+
declare const imagePreviewCloseBtnClasses = "absolute top-4 right-4 flex items-center justify-center w-10 h-10 rounded-full bg-[var(--tiger-image-toolbar-bg,rgba(0,0,0,0.6))] text-white hover:bg-white/20 transition-colors focus:outline-none focus:ring-2 focus:ring-white/50";
|
|
7025
7601
|
/**
|
|
7026
|
-
*
|
|
7602
|
+
* Preview counter text classes
|
|
7027
7603
|
*/
|
|
7028
|
-
declare
|
|
7604
|
+
declare const imagePreviewCounterClasses = "text-sm text-white/80 mx-2 tabular-nums";
|
|
7029
7605
|
/**
|
|
7030
|
-
*
|
|
7606
|
+
* Cropper container classes
|
|
7031
7607
|
*/
|
|
7032
|
-
declare
|
|
7608
|
+
declare const imageCropperContainerClasses = "relative overflow-hidden bg-[var(--tiger-image-cropper-bg,#1a1a2e)] select-none touch-none";
|
|
7033
7609
|
/**
|
|
7034
|
-
*
|
|
7610
|
+
* Cropper image classes (the source image)
|
|
7035
7611
|
*/
|
|
7036
|
-
declare
|
|
7612
|
+
declare const imageCropperImgClasses = "absolute top-0 left-0 max-w-none pointer-events-none";
|
|
7037
7613
|
/**
|
|
7038
|
-
*
|
|
7614
|
+
* Cropper mask overlay classes (semi-transparent overlay outside crop area)
|
|
7039
7615
|
*/
|
|
7040
|
-
declare
|
|
7616
|
+
declare const imageCropperMaskClasses = "absolute inset-0 pointer-events-none";
|
|
7041
7617
|
/**
|
|
7042
|
-
*
|
|
7618
|
+
* Cropper selection border classes (the crop box border)
|
|
7043
7619
|
*/
|
|
7044
|
-
declare
|
|
7045
|
-
|
|
7620
|
+
declare const imageCropperSelectionClasses = "absolute border-2 border-[var(--tiger-image-cropper-border,#ffffff)] pointer-events-none";
|
|
7046
7621
|
/**
|
|
7047
|
-
*
|
|
7622
|
+
* Cropper guide line classes
|
|
7048
7623
|
*/
|
|
7049
|
-
declare
|
|
7624
|
+
declare const imageCropperGuideClasses = "absolute border-[var(--tiger-image-cropper-border,rgba(255,255,255,0.4))] pointer-events-none";
|
|
7050
7625
|
/**
|
|
7051
|
-
*
|
|
7626
|
+
* Cropper drag area classes (inside the crop box, handles moving)
|
|
7052
7627
|
*/
|
|
7053
|
-
declare
|
|
7628
|
+
declare const imageCropperDragAreaClasses = "absolute cursor-move";
|
|
7054
7629
|
/**
|
|
7055
|
-
* Get
|
|
7056
|
-
* Tooltips are simpler and smaller than popovers
|
|
7630
|
+
* Get classes for a resize handle
|
|
7057
7631
|
*/
|
|
7058
|
-
declare function
|
|
7059
|
-
|
|
7632
|
+
declare function getCropperHandleClasses(handle: CropHandle): string;
|
|
7060
7633
|
/**
|
|
7061
|
-
*
|
|
7634
|
+
* All 8 crop handles
|
|
7062
7635
|
*/
|
|
7636
|
+
declare const CROP_HANDLES: CropHandle[];
|
|
7063
7637
|
/**
|
|
7064
|
-
*
|
|
7638
|
+
* CropUpload trigger button classes
|
|
7065
7639
|
*/
|
|
7066
|
-
|
|
7640
|
+
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-lg 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";
|
|
7067
7641
|
/**
|
|
7068
|
-
*
|
|
7642
|
+
* CropUpload disabled trigger classes
|
|
7069
7643
|
*/
|
|
7070
|
-
|
|
7644
|
+
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-lg text-[var(--tiger-text-muted,#9ca3af)] cursor-not-allowed opacity-50";
|
|
7071
7645
|
/**
|
|
7072
|
-
*
|
|
7646
|
+
* Upload icon path (plus sign in a frame)
|
|
7073
7647
|
*/
|
|
7074
|
-
|
|
7075
|
-
/**
|
|
7076
|
-
* Link variant style
|
|
7077
|
-
* @default 'primary'
|
|
7078
|
-
*/
|
|
7079
|
-
variant?: LinkVariant;
|
|
7080
|
-
/**
|
|
7081
|
-
* Link size
|
|
7082
|
-
* @default 'md'
|
|
7083
|
-
*/
|
|
7084
|
-
size?: LinkSize;
|
|
7085
|
-
/**
|
|
7086
|
-
* Whether the link is disabled
|
|
7087
|
-
* @default false
|
|
7088
|
-
*/
|
|
7089
|
-
disabled?: boolean;
|
|
7090
|
-
/**
|
|
7091
|
-
* The URL to navigate to
|
|
7092
|
-
*/
|
|
7093
|
-
href?: string;
|
|
7094
|
-
/**
|
|
7095
|
-
* Where to open the linked document
|
|
7096
|
-
* @default undefined
|
|
7097
|
-
*/
|
|
7098
|
-
target?: '_blank' | '_self' | '_parent' | '_top';
|
|
7099
|
-
/**
|
|
7100
|
-
* Relationship between current document and linked document
|
|
7101
|
-
* Automatically set to 'noopener noreferrer' when target="_blank"
|
|
7102
|
-
*/
|
|
7103
|
-
rel?: string;
|
|
7104
|
-
/**
|
|
7105
|
-
* Whether to show underline
|
|
7106
|
-
* @default true
|
|
7107
|
-
*/
|
|
7108
|
-
underline?: boolean;
|
|
7109
|
-
}
|
|
7110
|
-
|
|
7648
|
+
declare const uploadPlusIconPath = "M12 4v16m8-8H4";
|
|
7111
7649
|
/**
|
|
7112
|
-
*
|
|
7113
|
-
* @since 0.2.0 - Changed to focus-visible, added active:opacity
|
|
7650
|
+
* Clamp a scale value between min and max
|
|
7114
7651
|
*/
|
|
7115
|
-
declare
|
|
7116
|
-
declare const linkSizeClasses: Record<LinkSize, string>;
|
|
7117
|
-
declare const linkDisabledClasses = "cursor-not-allowed opacity-60 pointer-events-none";
|
|
7118
|
-
declare function getSecureRel(target: LinkProps['target'] | undefined, rel: string | undefined): string | undefined;
|
|
7119
|
-
|
|
7652
|
+
declare function clampScale(scale: number, min: number, max: number): number;
|
|
7120
7653
|
/**
|
|
7121
|
-
*
|
|
7654
|
+
* Build CSS transform string from scale and offset
|
|
7122
7655
|
*/
|
|
7656
|
+
declare function calculateTransform(scale: number, offsetX: number, offsetY: number): string;
|
|
7123
7657
|
/**
|
|
7124
|
-
*
|
|
7658
|
+
* Get navigation state for multi-image preview
|
|
7125
7659
|
*/
|
|
7126
|
-
|
|
7660
|
+
declare function getPreviewNavState(currentIndex: number, total: number): PreviewNavState;
|
|
7127
7661
|
/**
|
|
7128
|
-
*
|
|
7662
|
+
* Constrain a crop rect to stay within image bounds, optionally enforcing aspect ratio
|
|
7129
7663
|
*/
|
|
7130
|
-
|
|
7131
|
-
|
|
7132
|
-
|
|
7133
|
-
|
|
7134
|
-
|
|
7135
|
-
|
|
7136
|
-
|
|
7137
|
-
|
|
7138
|
-
|
|
7139
|
-
|
|
7140
|
-
|
|
7141
|
-
|
|
7142
|
-
|
|
7143
|
-
|
|
7144
|
-
|
|
7145
|
-
|
|
7146
|
-
|
|
7147
|
-
|
|
7148
|
-
|
|
7149
|
-
|
|
7150
|
-
|
|
7151
|
-
|
|
7152
|
-
|
|
7153
|
-
|
|
7154
|
-
declare
|
|
7155
|
-
|
|
7664
|
+
declare function constrainCropRect(rect: CropRect, imageWidth: number, imageHeight: number, aspectRatio?: number): CropRect;
|
|
7665
|
+
/**
|
|
7666
|
+
* Resize a crop rect by dragging a handle
|
|
7667
|
+
*/
|
|
7668
|
+
declare function resizeCropRect(rect: CropRect, handle: CropHandle, dx: number, dy: number, imageWidth: number, imageHeight: number, aspectRatio?: number, minW?: number, minH?: number): CropRect;
|
|
7669
|
+
/**
|
|
7670
|
+
* Move a crop rect by a delta, clamped within bounds
|
|
7671
|
+
*/
|
|
7672
|
+
declare function moveCropRect(rect: CropRect, dx: number, dy: number, boundW: number, boundH: number): CropRect;
|
|
7673
|
+
/**
|
|
7674
|
+
* Create an initial crop rect centered in the image, optionally with aspect ratio
|
|
7675
|
+
*/
|
|
7676
|
+
declare function getInitialCropRect(imageWidth: number, imageHeight: number, aspectRatio?: number): CropRect;
|
|
7677
|
+
/**
|
|
7678
|
+
* Perform canvas cropping and return the cropped canvas + dataUrl.
|
|
7679
|
+
* Note: Call canvas.toBlob() asynchronously in the component layer for the Blob.
|
|
7680
|
+
*/
|
|
7681
|
+
declare function cropCanvas(image: HTMLImageElement, cropRect: CropRect, displayWidth: number, displayHeight: number, outputType?: string, quality?: number): {
|
|
7682
|
+
canvas: HTMLCanvasElement;
|
|
7683
|
+
dataUrl: string;
|
|
7684
|
+
};
|
|
7685
|
+
/**
|
|
7686
|
+
* Get touch distance for pinch-to-zoom
|
|
7687
|
+
*/
|
|
7688
|
+
declare function getTouchDistance(touch1: Touch, touch2: Touch): number;
|
|
7689
|
+
/**
|
|
7690
|
+
* Convert a dimension value (number or string) to a CSS string
|
|
7691
|
+
*/
|
|
7692
|
+
declare function toCSSSize(value: number | string | undefined): string | undefined;
|
|
7156
7693
|
|
|
7157
7694
|
/**
|
|
7158
7695
|
* Carousel component types and interfaces
|
|
@@ -7299,10 +7836,6 @@ declare const carouselTrackFadeClasses = "relative";
|
|
|
7299
7836
|
* Carousel slide base classes
|
|
7300
7837
|
*/
|
|
7301
7838
|
declare const carouselSlideBaseClasses = "flex-shrink-0 w-full";
|
|
7302
|
-
/**
|
|
7303
|
-
* Carousel slide classes for fade effect
|
|
7304
|
-
*/
|
|
7305
|
-
declare const carouselSlideFadeClasses = "absolute inset-0 transition-opacity ease-in-out";
|
|
7306
7839
|
/**
|
|
7307
7840
|
* Carousel dots container base classes
|
|
7308
7841
|
*/
|
|
@@ -8011,6 +8544,10 @@ interface ChartSeriesProps<T = ChartSeriesPoint> {
|
|
|
8011
8544
|
*/
|
|
8012
8545
|
className?: string;
|
|
8013
8546
|
}
|
|
8547
|
+
/**
|
|
8548
|
+
* Value label position for bar charts
|
|
8549
|
+
*/
|
|
8550
|
+
type BarValueLabelPosition = 'top' | 'inside';
|
|
8014
8551
|
interface BarChartDatum {
|
|
8015
8552
|
x: ChartScaleValue;
|
|
8016
8553
|
y: number;
|
|
@@ -8117,6 +8654,39 @@ interface BarChartProps extends BaseChartProps, ChartInteractionProps, ChartLege
|
|
|
8117
8654
|
* @default 1
|
|
8118
8655
|
*/
|
|
8119
8656
|
gridStrokeWidth?: number;
|
|
8657
|
+
/**
|
|
8658
|
+
* Show value labels above or inside bars
|
|
8659
|
+
* @default false
|
|
8660
|
+
*/
|
|
8661
|
+
showValueLabels?: boolean;
|
|
8662
|
+
/**
|
|
8663
|
+
* Value label position
|
|
8664
|
+
* @default 'top'
|
|
8665
|
+
*/
|
|
8666
|
+
valueLabelPosition?: BarValueLabelPosition;
|
|
8667
|
+
/**
|
|
8668
|
+
* Value label formatter
|
|
8669
|
+
*/
|
|
8670
|
+
valueLabelFormatter?: (datum: BarChartDatum, index: number) => string;
|
|
8671
|
+
/**
|
|
8672
|
+
* Minimum bar height in px (ensures near-zero values remain visible)
|
|
8673
|
+
* @default 0
|
|
8674
|
+
*/
|
|
8675
|
+
barMinHeight?: number;
|
|
8676
|
+
/**
|
|
8677
|
+
* Maximum bar width in px (prevents overly wide bars with few data points)
|
|
8678
|
+
*/
|
|
8679
|
+
barMaxWidth?: number;
|
|
8680
|
+
/**
|
|
8681
|
+
* Enable linear gradient fill on bars (top-to-bottom, lighter to full)
|
|
8682
|
+
* @default false
|
|
8683
|
+
*/
|
|
8684
|
+
gradient?: boolean;
|
|
8685
|
+
/**
|
|
8686
|
+
* Enable CSS transitions for smooth bar updates
|
|
8687
|
+
* @default false
|
|
8688
|
+
*/
|
|
8689
|
+
animated?: boolean;
|
|
8120
8690
|
/**
|
|
8121
8691
|
* Tooltip formatter
|
|
8122
8692
|
*/
|
|
@@ -8139,8 +8709,8 @@ interface ScatterChartProps extends BaseChartProps, ChartInteractionProps, Chart
|
|
|
8139
8709
|
*/
|
|
8140
8710
|
data: ScatterChartDatum[];
|
|
8141
8711
|
/**
|
|
8142
|
-
* Point size
|
|
8143
|
-
* @default
|
|
8712
|
+
* Point size (radius)
|
|
8713
|
+
* @default 6
|
|
8144
8714
|
*/
|
|
8145
8715
|
pointSize?: number;
|
|
8146
8716
|
/**
|
|
@@ -8151,6 +8721,31 @@ interface ScatterChartProps extends BaseChartProps, ChartInteractionProps, Chart
|
|
|
8151
8721
|
* Point opacity
|
|
8152
8722
|
*/
|
|
8153
8723
|
pointOpacity?: number;
|
|
8724
|
+
/**
|
|
8725
|
+
* Point shape
|
|
8726
|
+
* @default 'circle'
|
|
8727
|
+
*/
|
|
8728
|
+
pointStyle?: 'circle' | 'square' | 'triangle' | 'diamond';
|
|
8729
|
+
/**
|
|
8730
|
+
* Enable radial gradient fill for points
|
|
8731
|
+
* @default false
|
|
8732
|
+
*/
|
|
8733
|
+
gradient?: boolean;
|
|
8734
|
+
/**
|
|
8735
|
+
* Enable entrance animation with stagger
|
|
8736
|
+
* @default false
|
|
8737
|
+
*/
|
|
8738
|
+
animated?: boolean;
|
|
8739
|
+
/**
|
|
8740
|
+
* Point border (stroke) width
|
|
8741
|
+
* @default 0
|
|
8742
|
+
*/
|
|
8743
|
+
pointBorderWidth?: number;
|
|
8744
|
+
/**
|
|
8745
|
+
* Point border (stroke) color
|
|
8746
|
+
* @default 'white'
|
|
8747
|
+
*/
|
|
8748
|
+
pointBorderColor?: string;
|
|
8154
8749
|
/**
|
|
8155
8750
|
* Include zero in domain
|
|
8156
8751
|
* @default false
|
|
@@ -8223,7 +8818,32 @@ interface PieChartProps extends BaseChartProps, ChartInteractionProps, ChartLege
|
|
|
8223
8818
|
/**
|
|
8224
8819
|
* Legend formatter
|
|
8225
8820
|
*/
|
|
8226
|
-
legendFormatter?: (datum: PieChartDatum, index: number) => string;
|
|
8821
|
+
legendFormatter?: (datum: PieChartDatum, index: number) => string;
|
|
8822
|
+
/**
|
|
8823
|
+
* Border width between slices
|
|
8824
|
+
* @default 2
|
|
8825
|
+
*/
|
|
8826
|
+
borderWidth?: number;
|
|
8827
|
+
/**
|
|
8828
|
+
* Border color between slices
|
|
8829
|
+
* @default '#ffffff'
|
|
8830
|
+
*/
|
|
8831
|
+
borderColor?: string;
|
|
8832
|
+
/**
|
|
8833
|
+
* Distance slices translate outward on hover (ECharts emphasis style)
|
|
8834
|
+
* @default 8
|
|
8835
|
+
*/
|
|
8836
|
+
hoverOffset?: number;
|
|
8837
|
+
/**
|
|
8838
|
+
* Label position: inside the slice or outside with leader lines
|
|
8839
|
+
* @default 'inside'
|
|
8840
|
+
*/
|
|
8841
|
+
labelPosition?: 'inside' | 'outside';
|
|
8842
|
+
/**
|
|
8843
|
+
* Enable drop shadow on slices
|
|
8844
|
+
* @default false
|
|
8845
|
+
*/
|
|
8846
|
+
shadow?: boolean;
|
|
8227
8847
|
}
|
|
8228
8848
|
interface DonutChartDatum extends PieChartDatum {
|
|
8229
8849
|
}
|
|
@@ -8233,6 +8853,19 @@ interface DonutChartProps extends PieChartProps {
|
|
|
8233
8853
|
* @default 0.6
|
|
8234
8854
|
*/
|
|
8235
8855
|
innerRadiusRatio?: number;
|
|
8856
|
+
/**
|
|
8857
|
+
* Text shown as the main value in the donut center
|
|
8858
|
+
*/
|
|
8859
|
+
centerValue?: string | number;
|
|
8860
|
+
/**
|
|
8861
|
+
* Descriptive label shown below centerValue in the donut center
|
|
8862
|
+
*/
|
|
8863
|
+
centerLabel?: string;
|
|
8864
|
+
/**
|
|
8865
|
+
* Enable entrance animation (fade + scale)
|
|
8866
|
+
* @default false
|
|
8867
|
+
*/
|
|
8868
|
+
animated?: boolean;
|
|
8236
8869
|
}
|
|
8237
8870
|
interface RadarChartDatum extends ChartSeriesPoint {
|
|
8238
8871
|
value: number;
|
|
@@ -8284,6 +8917,14 @@ interface RadarChartSeries {
|
|
|
8284
8917
|
* Point color
|
|
8285
8918
|
*/
|
|
8286
8919
|
pointColor?: string;
|
|
8920
|
+
/**
|
|
8921
|
+
* Point border width (stroke around data points)
|
|
8922
|
+
*/
|
|
8923
|
+
pointBorderWidth?: number;
|
|
8924
|
+
/**
|
|
8925
|
+
* Point border color
|
|
8926
|
+
*/
|
|
8927
|
+
pointBorderColor?: string;
|
|
8287
8928
|
/**
|
|
8288
8929
|
* Additional CSS classes
|
|
8289
8930
|
*/
|
|
@@ -8330,6 +8971,21 @@ interface LineChartSeries {
|
|
|
8330
8971
|
* Point color (defaults to line color)
|
|
8331
8972
|
*/
|
|
8332
8973
|
pointColor?: string;
|
|
8974
|
+
/**
|
|
8975
|
+
* Hollow point style (stroke + white fill, ECharts emptyCircle)
|
|
8976
|
+
* @default false
|
|
8977
|
+
*/
|
|
8978
|
+
pointHollow?: boolean;
|
|
8979
|
+
/**
|
|
8980
|
+
* Show gradient area fill under line
|
|
8981
|
+
* @default false
|
|
8982
|
+
*/
|
|
8983
|
+
showArea?: boolean;
|
|
8984
|
+
/**
|
|
8985
|
+
* Area fill opacity
|
|
8986
|
+
* @default 0.15
|
|
8987
|
+
*/
|
|
8988
|
+
areaOpacity?: number;
|
|
8333
8989
|
/**
|
|
8334
8990
|
* Additional CSS classes for this series
|
|
8335
8991
|
*/
|
|
@@ -8453,6 +9109,26 @@ interface LineChartProps extends BaseChartProps, ChartInteractionProps, ChartLeg
|
|
|
8453
9109
|
* Custom colors for multi-series
|
|
8454
9110
|
*/
|
|
8455
9111
|
colors?: string[];
|
|
9112
|
+
/**
|
|
9113
|
+
* Show gradient area fill under lines
|
|
9114
|
+
* @default false
|
|
9115
|
+
*/
|
|
9116
|
+
showArea?: boolean;
|
|
9117
|
+
/**
|
|
9118
|
+
* Area fill opacity
|
|
9119
|
+
* @default 0.15
|
|
9120
|
+
*/
|
|
9121
|
+
areaOpacity?: number;
|
|
9122
|
+
/**
|
|
9123
|
+
* Hollow point style (stroke + white fill, ECharts emptyCircle)
|
|
9124
|
+
* @default false
|
|
9125
|
+
*/
|
|
9126
|
+
pointHollow?: boolean;
|
|
9127
|
+
/**
|
|
9128
|
+
* Enable line draw entrance animation
|
|
9129
|
+
* @default false
|
|
9130
|
+
*/
|
|
9131
|
+
animated?: boolean;
|
|
8456
9132
|
/**
|
|
8457
9133
|
* Tooltip formatter
|
|
8458
9134
|
*/
|
|
@@ -8603,6 +9279,21 @@ interface AreaChartProps extends BaseChartProps, ChartInteractionProps, ChartLeg
|
|
|
8603
9279
|
* Custom colors for multi-series
|
|
8604
9280
|
*/
|
|
8605
9281
|
colors?: string[];
|
|
9282
|
+
/**
|
|
9283
|
+
* Enable linear gradient fill (top-to-bottom, ECharts style)
|
|
9284
|
+
* @default false
|
|
9285
|
+
*/
|
|
9286
|
+
gradient?: boolean;
|
|
9287
|
+
/**
|
|
9288
|
+
* Hollow point style (stroke + white fill, ECharts emptyCircle)
|
|
9289
|
+
* @default false
|
|
9290
|
+
*/
|
|
9291
|
+
pointHollow?: boolean;
|
|
9292
|
+
/**
|
|
9293
|
+
* Enable line draw entrance animation
|
|
9294
|
+
* @default false
|
|
9295
|
+
*/
|
|
9296
|
+
animated?: boolean;
|
|
8606
9297
|
/**
|
|
8607
9298
|
* Tooltip formatter
|
|
8608
9299
|
*/
|
|
@@ -8755,6 +9446,44 @@ interface RadarChartProps extends BaseChartProps, ChartLegendProps, ChartTooltip
|
|
|
8755
9446
|
* Point color
|
|
8756
9447
|
*/
|
|
8757
9448
|
pointColor?: string;
|
|
9449
|
+
/**
|
|
9450
|
+
* Grid shape: polygon (default) or circle (ECharts style)
|
|
9451
|
+
* @default 'polygon'
|
|
9452
|
+
*/
|
|
9453
|
+
gridShape?: 'polygon' | 'circle';
|
|
9454
|
+
/**
|
|
9455
|
+
* Show alternating split area fills between grid levels
|
|
9456
|
+
* @default false
|
|
9457
|
+
*/
|
|
9458
|
+
showSplitArea?: boolean;
|
|
9459
|
+
/**
|
|
9460
|
+
* Split area fill opacity
|
|
9461
|
+
* @default 0.06
|
|
9462
|
+
*/
|
|
9463
|
+
splitAreaOpacity?: number;
|
|
9464
|
+
/**
|
|
9465
|
+
* Split area colors (alternates between entries)
|
|
9466
|
+
*/
|
|
9467
|
+
splitAreaColors?: string[];
|
|
9468
|
+
/**
|
|
9469
|
+
* Point border width (white ring around data points)
|
|
9470
|
+
* @default 2
|
|
9471
|
+
*/
|
|
9472
|
+
pointBorderWidth?: number;
|
|
9473
|
+
/**
|
|
9474
|
+
* Point border color
|
|
9475
|
+
* @default '#fff'
|
|
9476
|
+
*/
|
|
9477
|
+
pointBorderColor?: string;
|
|
9478
|
+
/**
|
|
9479
|
+
* Point size when hovered (enlargement effect)
|
|
9480
|
+
*/
|
|
9481
|
+
pointHoverSize?: number;
|
|
9482
|
+
/**
|
|
9483
|
+
* Auto-align axis labels based on their angle position
|
|
9484
|
+
* @default true
|
|
9485
|
+
*/
|
|
9486
|
+
labelAutoAlign?: boolean;
|
|
8758
9487
|
}
|
|
8759
9488
|
|
|
8760
9489
|
declare const chartCanvasBaseClasses = "block";
|
|
@@ -8821,6 +9550,39 @@ declare function createPieArcPath(options: {
|
|
|
8821
9550
|
startAngle: number;
|
|
8822
9551
|
endAngle: number;
|
|
8823
9552
|
}): string;
|
|
9553
|
+
/**
|
|
9554
|
+
* Compute translate offset for a pie slice hover emphasis effect.
|
|
9555
|
+
* The slice moves outward along its bisector angle.
|
|
9556
|
+
*/
|
|
9557
|
+
declare function computePieHoverOffset(startAngle: number, endAngle: number, offset: number): {
|
|
9558
|
+
dx: number;
|
|
9559
|
+
dy: number;
|
|
9560
|
+
};
|
|
9561
|
+
/**
|
|
9562
|
+
* Compute positions for an outside label with a leader line.
|
|
9563
|
+
* Returns anchor (on slice edge), elbow (turn point), label (text position), and textAnchor.
|
|
9564
|
+
*/
|
|
9565
|
+
declare function computePieLabelLine(cx: number, cy: number, outerRadius: number, startAngle: number, endAngle: number, offset?: number): {
|
|
9566
|
+
anchor: {
|
|
9567
|
+
x: number;
|
|
9568
|
+
y: number;
|
|
9569
|
+
};
|
|
9570
|
+
elbow: {
|
|
9571
|
+
x: number;
|
|
9572
|
+
y: number;
|
|
9573
|
+
};
|
|
9574
|
+
label: {
|
|
9575
|
+
x: number;
|
|
9576
|
+
y: number;
|
|
9577
|
+
};
|
|
9578
|
+
textAnchor: 'start' | 'end';
|
|
9579
|
+
};
|
|
9580
|
+
/** Drop shadow filter value for emphasized pie slices */
|
|
9581
|
+
declare const PIE_EMPHASIS_SHADOW = "drop-shadow(0 4px 8px rgba(0,0,0,0.2))";
|
|
9582
|
+
declare const PIE_BASE_SHADOW = "drop-shadow(0 1px 2px rgba(0,0,0,0.06))";
|
|
9583
|
+
/** Enhanced donut-specific shadow – deeper & more diffuse for richer emphasis */
|
|
9584
|
+
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))";
|
|
9585
|
+
declare const DONUT_BASE_SHADOW = "drop-shadow(0 2px 8px rgba(0,0,0,0.10))";
|
|
8824
9586
|
declare function getRadarAngles(count: number, startAngle?: number): number[];
|
|
8825
9587
|
interface RadarPoint<T> {
|
|
8826
9588
|
data: T;
|
|
@@ -8844,7 +9606,39 @@ declare function createPolygonPath(points: Array<{
|
|
|
8844
9606
|
x: number;
|
|
8845
9607
|
y: number;
|
|
8846
9608
|
}>): string;
|
|
9609
|
+
/**
|
|
9610
|
+
* Compute text-anchor and dominant-baseline for a radar label based on its angle.
|
|
9611
|
+
* Mimics ECharts indicator name positioning for natural readability.
|
|
9612
|
+
*/
|
|
9613
|
+
declare function getRadarLabelAlign(angle: number): {
|
|
9614
|
+
textAnchor: 'start' | 'middle' | 'end';
|
|
9615
|
+
dominantBaseline: 'auto' | 'middle' | 'hanging';
|
|
9616
|
+
};
|
|
9617
|
+
/**
|
|
9618
|
+
* Default split area colors (subtle alternating fills – ECharts style)
|
|
9619
|
+
*/
|
|
9620
|
+
declare const RADAR_SPLIT_AREA_COLORS: string[];
|
|
8847
9621
|
|
|
9622
|
+
/**
|
|
9623
|
+
* Generate a unique gradient ID prefix for a LineChart instance.
|
|
9624
|
+
*/
|
|
9625
|
+
declare function getLineGradientPrefix(): string;
|
|
9626
|
+
/**
|
|
9627
|
+
* Reset the line gradient counter (for testing only)
|
|
9628
|
+
*/
|
|
9629
|
+
declare function resetLineGradientCounter(): void;
|
|
9630
|
+
/**
|
|
9631
|
+
* Generate a unique gradient ID prefix for an AreaChart instance.
|
|
9632
|
+
*/
|
|
9633
|
+
declare function getAreaGradientPrefix(): string;
|
|
9634
|
+
/**
|
|
9635
|
+
* Reset the area gradient counter (for testing only)
|
|
9636
|
+
*/
|
|
9637
|
+
declare function resetAreaGradientCounter(): void;
|
|
9638
|
+
/**
|
|
9639
|
+
* CSS transition classes for line chart point hover
|
|
9640
|
+
*/
|
|
9641
|
+
declare const linePointTransitionClasses = "transition-all duration-200 ease-out";
|
|
8848
9642
|
/**
|
|
8849
9643
|
* Create a line path from points
|
|
8850
9644
|
*/
|
|
@@ -8870,6 +9664,70 @@ declare function stackSeriesData<T extends {
|
|
|
8870
9664
|
y0: number;
|
|
8871
9665
|
y1: number;
|
|
8872
9666
|
}[][];
|
|
9667
|
+
/**
|
|
9668
|
+
* Generate a unique gradient ID prefix for a BarChart instance.
|
|
9669
|
+
* Each BarChart must have its own prefix to avoid gradient ID collisions.
|
|
9670
|
+
*/
|
|
9671
|
+
declare function getBarGradientPrefix(): string;
|
|
9672
|
+
/**
|
|
9673
|
+
* Reset the gradient counter (for testing only)
|
|
9674
|
+
*/
|
|
9675
|
+
declare function resetBarGradientCounter(): void;
|
|
9676
|
+
/**
|
|
9677
|
+
* Clamp bar width to a maximum value
|
|
9678
|
+
*/
|
|
9679
|
+
declare function clampBarWidth(width: number, maxWidth?: number): number;
|
|
9680
|
+
/**
|
|
9681
|
+
* Ensure bar meets minimum height for near-zero values.
|
|
9682
|
+
* Returns adjusted y and height while keeping the bar anchored at the baseline.
|
|
9683
|
+
*/
|
|
9684
|
+
declare function ensureBarMinHeight(barY: number, barHeight: number, baseline: number, minHeight: number): {
|
|
9685
|
+
y: number;
|
|
9686
|
+
height: number;
|
|
9687
|
+
};
|
|
9688
|
+
/**
|
|
9689
|
+
* Get the Y coordinate for a value label on a bar
|
|
9690
|
+
*/
|
|
9691
|
+
declare function getBarValueLabelY(barY: number, barHeight: number, position: 'top' | 'inside', offset?: number): number;
|
|
9692
|
+
/**
|
|
9693
|
+
* CSS classes for value labels displayed on bars
|
|
9694
|
+
*/
|
|
9695
|
+
declare const barValueLabelClasses = "fill-[color:var(--tiger-text,#374151)] text-[11px] font-medium pointer-events-none select-none";
|
|
9696
|
+
/**
|
|
9697
|
+
* CSS classes for value labels inside bars (needs contrasting color)
|
|
9698
|
+
*/
|
|
9699
|
+
declare const barValueLabelInsideClasses = "fill-white text-[11px] font-medium pointer-events-none select-none";
|
|
9700
|
+
/**
|
|
9701
|
+
* CSS transition string for animated bars
|
|
9702
|
+
*/
|
|
9703
|
+
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";
|
|
9704
|
+
/**
|
|
9705
|
+
* Generate a unique gradient ID prefix for a ScatterChart instance.
|
|
9706
|
+
*/
|
|
9707
|
+
declare function getScatterGradientPrefix(): string;
|
|
9708
|
+
/**
|
|
9709
|
+
* Reset the scatter gradient counter (for testing only)
|
|
9710
|
+
*/
|
|
9711
|
+
declare function resetScatterGradientCounter(): void;
|
|
9712
|
+
/** CSS transition for scatter point hover */
|
|
9713
|
+
declare const scatterPointTransitionClasses = "transition-all duration-200 ease-out";
|
|
9714
|
+
/** Drop shadow filter for hovered scatter points */
|
|
9715
|
+
declare function getScatterHoverShadow(color: string): string;
|
|
9716
|
+
/**
|
|
9717
|
+
* Generate SVG path for different point shapes centered at (0, 0).
|
|
9718
|
+
* Use with transform="translate(cx, cy)".
|
|
9719
|
+
*/
|
|
9720
|
+
declare function getScatterPointPath(style: 'square' | 'triangle' | 'diamond', size: number): string;
|
|
9721
|
+
/**
|
|
9722
|
+
* Compute the hovered size for a scatter point.
|
|
9723
|
+
*/
|
|
9724
|
+
declare function getScatterHoverSize(baseSize: number): number;
|
|
9725
|
+
/**
|
|
9726
|
+
* CSS animation keyframes and class for scatter entrance animation.
|
|
9727
|
+
* Inject once via <style> tag.
|
|
9728
|
+
*/
|
|
9729
|
+
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)}}";
|
|
9730
|
+
declare const SCATTER_ENTRANCE_CLASS = "tiger-scatter-entrance";
|
|
8873
9731
|
|
|
8874
9732
|
/**
|
|
8875
9733
|
* Chart interaction utilities
|
|
@@ -8977,198 +9835,73 @@ interface ChartAnimationConfig {
|
|
|
8977
9835
|
/**
|
|
8978
9836
|
* Stagger delay between elements in ms
|
|
8979
9837
|
* @default 50
|
|
8980
|
-
*/
|
|
8981
|
-
stagger?: number;
|
|
8982
|
-
}
|
|
8983
|
-
/**
|
|
8984
|
-
* Get CSS transition style for chart animation
|
|
8985
|
-
*/
|
|
8986
|
-
declare function getChartAnimationStyle(config: ChartAnimationConfig, index?: number): string;
|
|
8987
|
-
/**
|
|
8988
|
-
* Get SVG transform for entrance animation
|
|
8989
|
-
*/
|
|
8990
|
-
declare function getChartEntranceTransform(type: 'scale' | 'slide-up' | 'slide-left' | 'fade', progress: number, options?: {
|
|
8991
|
-
originX?: number;
|
|
8992
|
-
originY?: number;
|
|
8993
|
-
}): string;
|
|
8994
|
-
|
|
8995
|
-
/**
|
|
8996
|
-
* Floating UI wrapper utilities for positioning popups, tooltips, and dropdowns.
|
|
8997
|
-
* Provides edge-aware positioning with automatic collision detection and flipping.
|
|
8998
|
-
*/
|
|
8999
|
-
|
|
9000
|
-
/**
|
|
9001
|
-
* Placement options supported by the floating system.
|
|
9002
|
-
* These map directly to Floating UI placements.
|
|
9003
|
-
*/
|
|
9004
|
-
type FloatingPlacement = 'top' | 'top-start' | 'top-end' | 'bottom' | 'bottom-start' | 'bottom-end' | 'left' | 'left-start' | 'left-end' | 'right' | 'right-start' | 'right-end';
|
|
9005
|
-
/**
|
|
9006
|
-
* Options for computing floating element position.
|
|
9007
|
-
*/
|
|
9008
|
-
interface FloatingOptions {
|
|
9009
|
-
/**
|
|
9010
|
-
* Preferred placement of the floating element relative to the reference.
|
|
9011
|
-
* @default 'bottom'
|
|
9012
|
-
*/
|
|
9013
|
-
placement?: FloatingPlacement;
|
|
9014
|
-
/**
|
|
9015
|
-
* Distance (in pixels) between reference and floating element.
|
|
9016
|
-
* @default 8
|
|
9017
|
-
*/
|
|
9018
|
-
offset?: number;
|
|
9019
|
-
/**
|
|
9020
|
-
* Whether to flip placement when there's not enough space.
|
|
9021
|
-
* @default true
|
|
9022
|
-
*/
|
|
9023
|
-
flip?: boolean;
|
|
9024
|
-
/**
|
|
9025
|
-
* Whether to shift the floating element to stay within viewport.
|
|
9026
|
-
* @default true
|
|
9027
|
-
*/
|
|
9028
|
-
shift?: boolean;
|
|
9029
|
-
/**
|
|
9030
|
-
* Padding from viewport edges when shifting.
|
|
9031
|
-
* @default 8
|
|
9032
|
-
*/
|
|
9033
|
-
shiftPadding?: number;
|
|
9034
|
-
/**
|
|
9035
|
-
* Arrow element for positioning the arrow indicator.
|
|
9036
|
-
*/
|
|
9037
|
-
arrowElement?: HTMLElement | null;
|
|
9038
|
-
/**
|
|
9039
|
-
* Arrow padding from edges.
|
|
9040
|
-
* @default 8
|
|
9041
|
-
*/
|
|
9042
|
-
arrowPadding?: number;
|
|
9043
|
-
}
|
|
9044
|
-
/**
|
|
9045
|
-
* Result of computing floating position.
|
|
9046
|
-
*/
|
|
9047
|
-
interface FloatingResult {
|
|
9048
|
-
/**
|
|
9049
|
-
* X coordinate to position the floating element.
|
|
9050
|
-
*/
|
|
9051
|
-
x: number;
|
|
9052
|
-
/**
|
|
9053
|
-
* Y coordinate to position the floating element.
|
|
9054
|
-
*/
|
|
9055
|
-
y: number;
|
|
9056
|
-
/**
|
|
9057
|
-
* Final placement after auto-positioning (may differ from requested).
|
|
9058
|
-
*/
|
|
9059
|
-
placement: FloatingPlacement;
|
|
9060
|
-
/**
|
|
9061
|
-
* Arrow position data (if arrow element was provided).
|
|
9062
|
-
*/
|
|
9063
|
-
arrow?: {
|
|
9064
|
-
x?: number;
|
|
9065
|
-
y?: number;
|
|
9066
|
-
};
|
|
9067
|
-
/**
|
|
9068
|
-
* Middleware data from Floating UI.
|
|
9069
|
-
*/
|
|
9070
|
-
middlewareData: MiddlewareData;
|
|
9071
|
-
}
|
|
9072
|
-
/**
|
|
9073
|
-
* Compute the position of a floating element relative to a reference element.
|
|
9074
|
-
* Uses Floating UI for edge-aware positioning with automatic collision detection.
|
|
9075
|
-
*
|
|
9076
|
-
* @param reference - The reference element (trigger)
|
|
9077
|
-
* @param floating - The floating element (popup/tooltip)
|
|
9078
|
-
* @param options - Positioning options
|
|
9079
|
-
* @returns Promise resolving to position data
|
|
9080
|
-
*
|
|
9081
|
-
* @example
|
|
9082
|
-
* ```ts
|
|
9083
|
-
* const { x, y, placement } = await computeFloatingPosition(
|
|
9084
|
-
* triggerEl,
|
|
9085
|
-
* tooltipEl,
|
|
9086
|
-
* { placement: 'top', offset: 8 }
|
|
9087
|
-
* )
|
|
9088
|
-
* tooltipEl.style.left = `${x}px`
|
|
9089
|
-
* tooltipEl.style.top = `${y}px`
|
|
9090
|
-
* ```
|
|
9091
|
-
*/
|
|
9092
|
-
declare function computeFloatingPosition(reference: HTMLElement, floating: HTMLElement, options?: FloatingOptions): Promise<FloatingResult>;
|
|
9093
|
-
/**
|
|
9094
|
-
* Cleanup function type returned by autoUpdateFloating.
|
|
9095
|
-
*/
|
|
9096
|
-
type FloatingCleanup = () => void;
|
|
9097
|
-
/**
|
|
9098
|
-
* Set up automatic position updates for a floating element.
|
|
9099
|
-
* Updates position when reference/floating elements resize, scroll, or when
|
|
9100
|
-
* the reference moves in the viewport.
|
|
9101
|
-
*
|
|
9102
|
-
* @param reference - The reference element (trigger)
|
|
9103
|
-
* @param floating - The floating element (popup/tooltip)
|
|
9104
|
-
* @param update - Callback to run when position should be updated
|
|
9105
|
-
* @returns Cleanup function to stop auto-updates
|
|
9106
|
-
*
|
|
9107
|
-
* @example
|
|
9108
|
-
* ```ts
|
|
9109
|
-
* const cleanup = autoUpdateFloating(triggerEl, tooltipEl, async () => {
|
|
9110
|
-
* const { x, y } = await computeFloatingPosition(triggerEl, tooltipEl)
|
|
9111
|
-
* tooltipEl.style.left = `${x}px`
|
|
9112
|
-
* tooltipEl.style.top = `${y}px`
|
|
9113
|
-
* })
|
|
9114
|
-
*
|
|
9115
|
-
* // Later, when unmounting:
|
|
9116
|
-
* cleanup()
|
|
9117
|
-
* ```
|
|
9118
|
-
*/
|
|
9119
|
-
declare function autoUpdateFloating(reference: HTMLElement, floating: HTMLElement, update: () => void): FloatingCleanup;
|
|
9838
|
+
*/
|
|
9839
|
+
stagger?: number;
|
|
9840
|
+
}
|
|
9120
9841
|
/**
|
|
9121
|
-
* Get CSS
|
|
9122
|
-
* Useful for scaling/fading animations that should originate from the reference.
|
|
9123
|
-
*
|
|
9124
|
-
* @param placement - Current placement of the floating element
|
|
9125
|
-
* @returns CSS transform-origin value
|
|
9126
|
-
*
|
|
9127
|
-
* @example
|
|
9128
|
-
* ```ts
|
|
9129
|
-
* tooltipEl.style.transformOrigin = getTransformOrigin('top')
|
|
9130
|
-
* // Returns 'bottom center'
|
|
9131
|
-
* ```
|
|
9842
|
+
* Get CSS transition style for chart animation
|
|
9132
9843
|
*/
|
|
9133
|
-
declare function
|
|
9844
|
+
declare function getChartAnimationStyle(config: ChartAnimationConfig, index?: number): string;
|
|
9134
9845
|
/**
|
|
9135
|
-
* Get
|
|
9136
|
-
*
|
|
9137
|
-
* @param placement - Current placement
|
|
9138
|
-
* @returns The side: 'top', 'bottom', 'left', or 'right'
|
|
9846
|
+
* Get SVG transform for entrance animation
|
|
9139
9847
|
*/
|
|
9140
|
-
declare function
|
|
9848
|
+
declare function getChartEntranceTransform(type: 'scale' | 'slide-up' | 'slide-left' | 'fade', progress: number, options?: {
|
|
9849
|
+
originX?: number;
|
|
9850
|
+
originY?: number;
|
|
9851
|
+
}): string;
|
|
9852
|
+
|
|
9141
9853
|
/**
|
|
9142
|
-
*
|
|
9143
|
-
*
|
|
9144
|
-
* @param placement - Current placement of the floating element
|
|
9145
|
-
* @param arrowData - Arrow position data from computeFloatingPosition
|
|
9146
|
-
* @returns CSS styles object for the arrow element
|
|
9147
|
-
*
|
|
9148
|
-
* @example
|
|
9149
|
-
* ```ts
|
|
9150
|
-
* const arrowStyles = getArrowStyles('top', result.arrow)
|
|
9151
|
-
* Object.assign(arrowEl.style, arrowStyles)
|
|
9152
|
-
* ```
|
|
9854
|
+
* Shared chart helpers — palette, legend, tooltip, series normalisation.
|
|
9153
9855
|
*/
|
|
9154
|
-
|
|
9155
|
-
|
|
9856
|
+
|
|
9857
|
+
/** Resolve palette: `colors` → `fallbackColor` → DEFAULT_CHART_COLORS. */
|
|
9858
|
+
declare function resolveChartPalette(colors: string[] | undefined, fallbackColor?: string): string[];
|
|
9859
|
+
interface BuildLegendItemsOptions<T> {
|
|
9860
|
+
data: T[];
|
|
9861
|
+
palette: string[];
|
|
9862
|
+
activeIndex: number | null;
|
|
9863
|
+
getLabel: (datum: T, index: number) => string;
|
|
9864
|
+
getColor?: (datum: T, index: number) => string;
|
|
9865
|
+
}
|
|
9866
|
+
/** Build `ChartLegendItem[]` from data/series array. */
|
|
9867
|
+
declare function buildChartLegendItems<T>(options: BuildLegendItemsOptions<T>): ChartLegendItem[];
|
|
9868
|
+
/** Resolve tooltip content for single-series charts (Bar, Scatter, Pie). */
|
|
9869
|
+
declare function resolveChartTooltipContent<T>(hoveredIndex: number | null, data: T[], formatter: ((datum: T, index: number) => string) | undefined, defaultFormatter: (datum: T, index: number) => string): string;
|
|
9870
|
+
/** Resolve tooltip content for multi-series charts (Line, Area, Radar). */
|
|
9871
|
+
declare function resolveMultiSeriesTooltipContent<TDatum, TSeries extends {
|
|
9872
|
+
data: TDatum[];
|
|
9873
|
+
}>(hoveredPoint: {
|
|
9874
|
+
seriesIndex: number;
|
|
9875
|
+
pointIndex: number;
|
|
9876
|
+
} | null, series: TSeries[], formatter: ((datum: TDatum, seriesIndex: number, pointIndex: number, series?: TSeries) => string) | undefined, defaultFormatter: (datum: TDatum, seriesIndex: number, pointIndex: number, series?: TSeries) => string): string;
|
|
9877
|
+
/**
|
|
9878
|
+
* Normalise `series` / `data` props for multi-series charts.
|
|
9879
|
+
* Returns `series` if non-empty, else wraps `data` into a single-series array.
|
|
9880
|
+
*/
|
|
9881
|
+
declare function resolveSeriesData<TDatum, TSeries extends {
|
|
9882
|
+
data: TDatum[];
|
|
9883
|
+
}>(series: TSeries[] | undefined, data: TDatum[] | undefined, defaultSeries?: Partial<Omit<TSeries, 'data'>>): TSeries[];
|
|
9884
|
+
/** Default tooltip for single-datum x/y charts (Bar, Scatter). */
|
|
9885
|
+
declare function defaultXYTooltipFormatter(datum: {
|
|
9886
|
+
x?: ChartScaleValue;
|
|
9156
9887
|
y?: number;
|
|
9157
|
-
|
|
9158
|
-
|
|
9159
|
-
|
|
9160
|
-
|
|
9161
|
-
|
|
9162
|
-
|
|
9163
|
-
|
|
9164
|
-
|
|
9165
|
-
|
|
9166
|
-
|
|
9167
|
-
|
|
9168
|
-
|
|
9169
|
-
|
|
9170
|
-
|
|
9171
|
-
|
|
9888
|
+
label?: string;
|
|
9889
|
+
}, index: number): string;
|
|
9890
|
+
/** Default tooltip for multi-series x/y charts (Line, Area). */
|
|
9891
|
+
declare function defaultSeriesXYTooltipFormatter<TSeries extends {
|
|
9892
|
+
name?: string;
|
|
9893
|
+
}>(datum: {
|
|
9894
|
+
x?: ChartScaleValue;
|
|
9895
|
+
y?: number;
|
|
9896
|
+
label?: string;
|
|
9897
|
+
}, seriesIndex: number, _pointIndex: number, series?: TSeries): string;
|
|
9898
|
+
/** Default tooltip for Radar chart. */
|
|
9899
|
+
declare function defaultRadarTooltipFormatter<TSeries extends {
|
|
9900
|
+
name?: string;
|
|
9901
|
+
}>(datum: {
|
|
9902
|
+
value: number;
|
|
9903
|
+
label?: string;
|
|
9904
|
+
}, seriesIndex: number, _pointIndex: number, series?: TSeries): string;
|
|
9172
9905
|
|
|
9173
9906
|
/**
|
|
9174
9907
|
* Tag component types and interfaces
|
|
@@ -10159,6 +10892,10 @@ interface WizardStep {
|
|
|
10159
10892
|
* Step content (framework-specific)
|
|
10160
10893
|
*/
|
|
10161
10894
|
content?: unknown;
|
|
10895
|
+
/**
|
|
10896
|
+
* Field names for step-scoped validation
|
|
10897
|
+
*/
|
|
10898
|
+
fields?: string[];
|
|
10162
10899
|
/**
|
|
10163
10900
|
* Custom data
|
|
10164
10901
|
*/
|
|
@@ -10231,6 +10968,10 @@ interface FormWizardProps {
|
|
|
10231
10968
|
* Finish button text
|
|
10232
10969
|
*/
|
|
10233
10970
|
finishText?: string;
|
|
10971
|
+
/**
|
|
10972
|
+
* Locale overrides for FormWizard UI text
|
|
10973
|
+
*/
|
|
10974
|
+
locale?: Partial<TigerLocale>;
|
|
10234
10975
|
/**
|
|
10235
10976
|
* Validation hook before moving to next step
|
|
10236
10977
|
*/
|
|
@@ -10590,19 +11331,34 @@ interface FooterProps {
|
|
|
10590
11331
|
}
|
|
10591
11332
|
|
|
10592
11333
|
/**
|
|
10593
|
-
*
|
|
11334
|
+
* Dropdown component types and interfaces
|
|
10594
11335
|
*/
|
|
10595
11336
|
|
|
10596
11337
|
/**
|
|
10597
|
-
*
|
|
11338
|
+
* Dropdown trigger mode - determines how the dropdown is opened
|
|
10598
11339
|
*/
|
|
10599
|
-
type
|
|
11340
|
+
type DropdownTrigger = 'click' | 'hover';
|
|
10600
11341
|
/**
|
|
10601
|
-
*
|
|
11342
|
+
* @deprecated Use `FloatingPlacement` from floating utils instead.
|
|
11343
|
+
* Kept for backward compatibility with popover/tooltip/popconfirm types.
|
|
10602
11344
|
*/
|
|
10603
|
-
|
|
11345
|
+
type DropdownPlacement = FloatingPlacement;
|
|
11346
|
+
/**
|
|
11347
|
+
* Base dropdown props interface
|
|
11348
|
+
*/
|
|
11349
|
+
interface DropdownProps {
|
|
11350
|
+
/**
|
|
11351
|
+
* Trigger mode - click or hover
|
|
11352
|
+
* @default 'hover'
|
|
11353
|
+
*/
|
|
11354
|
+
trigger?: DropdownTrigger;
|
|
11355
|
+
/**
|
|
11356
|
+
* Whether the dropdown is disabled
|
|
11357
|
+
* @default false
|
|
11358
|
+
*/
|
|
11359
|
+
disabled?: boolean;
|
|
10604
11360
|
/**
|
|
10605
|
-
* Whether the
|
|
11361
|
+
* Whether the dropdown is visible (controlled mode)
|
|
10606
11362
|
*/
|
|
10607
11363
|
visible?: boolean;
|
|
10608
11364
|
/**
|
|
@@ -10611,164 +11367,167 @@ interface PopoverProps {
|
|
|
10611
11367
|
*/
|
|
10612
11368
|
defaultVisible?: boolean;
|
|
10613
11369
|
/**
|
|
10614
|
-
*
|
|
11370
|
+
* Whether to close dropdown on menu item click
|
|
11371
|
+
* @default true
|
|
11372
|
+
*/
|
|
11373
|
+
closeOnClick?: boolean;
|
|
11374
|
+
/**
|
|
11375
|
+
* Whether to show the dropdown arrow/chevron indicator
|
|
11376
|
+
* @default true
|
|
10615
11377
|
*/
|
|
10616
|
-
|
|
11378
|
+
showArrow?: boolean;
|
|
10617
11379
|
/**
|
|
10618
|
-
*
|
|
11380
|
+
* Additional CSS classes
|
|
10619
11381
|
*/
|
|
10620
|
-
|
|
11382
|
+
className?: string;
|
|
10621
11383
|
/**
|
|
10622
|
-
*
|
|
10623
|
-
* @default 'click'
|
|
11384
|
+
* Custom styles
|
|
10624
11385
|
*/
|
|
10625
|
-
|
|
11386
|
+
style?: Record<string, unknown>;
|
|
11387
|
+
}
|
|
11388
|
+
/**
|
|
11389
|
+
* Dropdown menu props interface
|
|
11390
|
+
*/
|
|
11391
|
+
interface DropdownMenuProps {
|
|
10626
11392
|
/**
|
|
10627
|
-
*
|
|
10628
|
-
* @default 'top'
|
|
11393
|
+
* Additional CSS classes
|
|
10629
11394
|
*/
|
|
10630
|
-
|
|
11395
|
+
className?: string;
|
|
10631
11396
|
/**
|
|
10632
|
-
*
|
|
11397
|
+
* Custom styles
|
|
11398
|
+
*/
|
|
11399
|
+
style?: Record<string, unknown>;
|
|
11400
|
+
}
|
|
11401
|
+
/**
|
|
11402
|
+
* Dropdown item props interface
|
|
11403
|
+
*/
|
|
11404
|
+
interface DropdownItemProps {
|
|
11405
|
+
/**
|
|
11406
|
+
* Unique key for the dropdown item
|
|
11407
|
+
*/
|
|
11408
|
+
key?: string | number;
|
|
11409
|
+
/**
|
|
11410
|
+
* Whether the item is disabled
|
|
10633
11411
|
* @default false
|
|
10634
11412
|
*/
|
|
10635
11413
|
disabled?: boolean;
|
|
10636
11414
|
/**
|
|
10637
|
-
*
|
|
10638
|
-
* @default
|
|
11415
|
+
* Whether the item is divided from previous item
|
|
11416
|
+
* @default false
|
|
10639
11417
|
*/
|
|
10640
|
-
|
|
11418
|
+
divided?: boolean;
|
|
10641
11419
|
/**
|
|
10642
|
-
*
|
|
11420
|
+
* Icon for the dropdown item
|
|
10643
11421
|
*/
|
|
10644
|
-
|
|
11422
|
+
icon?: unknown;
|
|
10645
11423
|
/**
|
|
10646
|
-
*
|
|
11424
|
+
* Additional CSS classes
|
|
10647
11425
|
*/
|
|
10648
|
-
|
|
11426
|
+
className?: string;
|
|
10649
11427
|
}
|
|
10650
11428
|
|
|
10651
11429
|
/**
|
|
10652
|
-
*
|
|
11430
|
+
* Popover component types and interfaces
|
|
10653
11431
|
*/
|
|
10654
11432
|
|
|
10655
11433
|
/**
|
|
10656
|
-
*
|
|
11434
|
+
* Popover trigger type
|
|
10657
11435
|
*/
|
|
10658
|
-
type
|
|
11436
|
+
type PopoverTrigger = 'click' | 'hover' | 'focus' | 'manual';
|
|
10659
11437
|
/**
|
|
10660
|
-
* Base
|
|
11438
|
+
* Base popover props interface
|
|
10661
11439
|
*/
|
|
10662
|
-
interface
|
|
10663
|
-
/**
|
|
10664
|
-
* Whether the tooltip is visible (controlled mode)
|
|
10665
|
-
*/
|
|
11440
|
+
interface PopoverProps {
|
|
11441
|
+
/** Whether the popover is visible (controlled mode) */
|
|
10666
11442
|
visible?: boolean;
|
|
10667
11443
|
/**
|
|
10668
11444
|
* Default visibility (uncontrolled mode)
|
|
10669
11445
|
* @default false
|
|
10670
11446
|
*/
|
|
10671
11447
|
defaultVisible?: boolean;
|
|
10672
|
-
/**
|
|
10673
|
-
|
|
10674
|
-
|
|
11448
|
+
/** Popover title text */
|
|
11449
|
+
title?: string;
|
|
11450
|
+
/** Popover content text (can be overridden by content slot/prop) */
|
|
10675
11451
|
content?: string;
|
|
10676
11452
|
/**
|
|
10677
|
-
* Trigger type for showing/hiding
|
|
10678
|
-
* @default '
|
|
11453
|
+
* Trigger type for showing/hiding popover
|
|
11454
|
+
* @default 'click'
|
|
10679
11455
|
*/
|
|
10680
|
-
trigger?:
|
|
11456
|
+
trigger?: PopoverTrigger;
|
|
10681
11457
|
/**
|
|
10682
|
-
*
|
|
11458
|
+
* Popover placement relative to trigger
|
|
10683
11459
|
* @default 'top'
|
|
10684
11460
|
*/
|
|
10685
|
-
placement?:
|
|
11461
|
+
placement?: FloatingPlacement;
|
|
10686
11462
|
/**
|
|
10687
|
-
* Whether the
|
|
11463
|
+
* Whether the popover is disabled
|
|
10688
11464
|
* @default false
|
|
10689
11465
|
*/
|
|
10690
11466
|
disabled?: boolean;
|
|
10691
11467
|
/**
|
|
10692
|
-
*
|
|
11468
|
+
* Popover width (pixel number or Tailwind class)
|
|
10693
11469
|
*/
|
|
10694
|
-
|
|
11470
|
+
width?: string | number;
|
|
10695
11471
|
/**
|
|
10696
|
-
*
|
|
11472
|
+
* Offset distance from trigger (in pixels)
|
|
11473
|
+
* @default 8
|
|
10697
11474
|
*/
|
|
11475
|
+
offset?: number;
|
|
11476
|
+
/** Additional CSS classes */
|
|
11477
|
+
className?: string;
|
|
11478
|
+
/** Custom styles */
|
|
10698
11479
|
style?: Record<string, string | number>;
|
|
10699
11480
|
}
|
|
10700
11481
|
|
|
10701
11482
|
/**
|
|
10702
|
-
*
|
|
10703
|
-
*/
|
|
10704
|
-
/**
|
|
10705
|
-
* Text tag types - semantic HTML elements for text
|
|
10706
|
-
*/
|
|
10707
|
-
type TextTag = 'p' | 'span' | 'div' | 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6' | 'label' | 'strong' | 'em' | 'small';
|
|
10708
|
-
/**
|
|
10709
|
-
* Text size types
|
|
10710
|
-
*/
|
|
10711
|
-
type TextSize = 'xs' | 'sm' | 'base' | 'lg' | 'xl' | '2xl' | '3xl' | '4xl' | '5xl' | '6xl';
|
|
10712
|
-
/**
|
|
10713
|
-
* Text weight types
|
|
10714
|
-
*/
|
|
10715
|
-
type TextWeight = 'thin' | 'light' | 'normal' | 'medium' | 'semibold' | 'bold' | 'extrabold' | 'black';
|
|
10716
|
-
/**
|
|
10717
|
-
* Text alignment types
|
|
11483
|
+
* Tooltip component types and interfaces
|
|
10718
11484
|
*/
|
|
10719
|
-
|
|
11485
|
+
|
|
10720
11486
|
/**
|
|
10721
|
-
*
|
|
11487
|
+
* Tooltip trigger type
|
|
10722
11488
|
*/
|
|
10723
|
-
type
|
|
11489
|
+
type TooltipTrigger = 'hover' | 'focus' | 'click' | 'manual';
|
|
10724
11490
|
/**
|
|
10725
|
-
* Base
|
|
11491
|
+
* Base tooltip props interface
|
|
10726
11492
|
*/
|
|
10727
|
-
interface
|
|
10728
|
-
/**
|
|
10729
|
-
* HTML tag to render
|
|
10730
|
-
* @default 'p'
|
|
10731
|
-
*/
|
|
10732
|
-
tag?: TextTag;
|
|
11493
|
+
interface TooltipProps {
|
|
10733
11494
|
/**
|
|
10734
|
-
*
|
|
10735
|
-
* @default 'base'
|
|
11495
|
+
* Whether the tooltip is visible (controlled mode)
|
|
10736
11496
|
*/
|
|
10737
|
-
|
|
11497
|
+
visible?: boolean;
|
|
10738
11498
|
/**
|
|
10739
|
-
*
|
|
10740
|
-
* @default
|
|
11499
|
+
* Default visibility (uncontrolled mode)
|
|
11500
|
+
* @default false
|
|
10741
11501
|
*/
|
|
10742
|
-
|
|
11502
|
+
defaultVisible?: boolean;
|
|
10743
11503
|
/**
|
|
10744
|
-
*
|
|
11504
|
+
* Tooltip content text
|
|
10745
11505
|
*/
|
|
10746
|
-
|
|
11506
|
+
content?: string;
|
|
10747
11507
|
/**
|
|
10748
|
-
*
|
|
10749
|
-
* @default '
|
|
11508
|
+
* Trigger type for showing/hiding tooltip
|
|
11509
|
+
* @default 'hover'
|
|
10750
11510
|
*/
|
|
10751
|
-
|
|
11511
|
+
trigger?: TooltipTrigger;
|
|
10752
11512
|
/**
|
|
10753
|
-
*
|
|
10754
|
-
* @default
|
|
11513
|
+
* Tooltip placement relative to trigger
|
|
11514
|
+
* @default 'top'
|
|
10755
11515
|
*/
|
|
10756
|
-
|
|
11516
|
+
placement?: FloatingPlacement;
|
|
10757
11517
|
/**
|
|
10758
|
-
* Whether
|
|
11518
|
+
* Whether the tooltip is disabled
|
|
10759
11519
|
* @default false
|
|
10760
11520
|
*/
|
|
10761
|
-
|
|
11521
|
+
disabled?: boolean;
|
|
10762
11522
|
/**
|
|
10763
|
-
*
|
|
10764
|
-
* @default
|
|
11523
|
+
* Offset distance from trigger (in pixels)
|
|
11524
|
+
* @default 8
|
|
10765
11525
|
*/
|
|
10766
|
-
|
|
11526
|
+
offset?: number;
|
|
10767
11527
|
/**
|
|
10768
|
-
*
|
|
10769
|
-
* @default false
|
|
11528
|
+
* Additional CSS classes
|
|
10770
11529
|
*/
|
|
10771
|
-
|
|
11530
|
+
className?: string;
|
|
10772
11531
|
}
|
|
10773
11532
|
|
|
10774
11533
|
interface CodeProps {
|
|
@@ -11029,4 +11788,4 @@ declare const tigercatPlugin: {
|
|
|
11029
11788
|
*/
|
|
11030
11789
|
declare const version = "0.2.0";
|
|
11031
11790
|
|
|
11032
|
-
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 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 AutoResizeTextareaOptions, 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 BaseChartProps, type BeforeUploadHandler, type BreadcrumbItemProps, type BreadcrumbProps, type BreadcrumbSeparator, type Breakpoint, type ButtonColorScheme, type ButtonProps, type ButtonSize, type ButtonVariant, CalendarIconPath, type CardProps, type CardSize, type CardVariant, type CarouselBeforeChangeInfo, type CarouselChangeInfo, type CarouselDotPosition, type CarouselEffect, type CarouselMethods, type CarouselProps, 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, CloseIconPath, type CodeProps, type ColProps, type ColSpan, type CollapsePanelProps, type CollapseProps, type ColumnAlign, type ColumnFilter, type CommentAction, type CommentNode, type CommentTag, type CommentThreadProps, type CommentUser, type ContainerMaxWidth, type ContainerProps, type ContentProps, type CreateAriaIdOptions, DEFAULT_CHART_COLORS, DEFAULT_PAGINATION_LABELS, 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 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 DrawerPlacement, type DrawerProps, type DrawerSize, type DropdownItemProps, type DropdownMenuProps, type DropdownPlacement, type DropdownProps, type DropdownTrigger, EASING_DEFAULT, EASING_ENTER, EASING_LEAVE, type ElementLike, type ExpandIconPosition, type FilterOption, type FilterType, type FloatingCleanup, type FloatingOptions, type FloatingPlacement, type FloatingResult, type FocusElementOptions, type FocusTrapNavigation, type FooterProps, type FormError, type FormItemClassOptions, type FormItemLabelClassOptions, type FormItemProps, type FormLabelAlign, type FormLabelPosition, type FormProps, type FormRule, type FormRuleTrigger, type FormRuleType, type FormRules, type FormSize, type FormValidationResult, type FormValues, type FormWizardProps, type FormWizardValidateResult, type FormWizardValidator, type GetContainerClassesOptions, type GetInputClassesOptions, type GetRadioDotClassesOptions, type GetRadioGroupClassesOptions, type GetRadioLabelClassesOptions, type GetRadioVisualClassesOptions, type GutterSize, type HeaderProps, type IconProps, type IconSize, type InputProps, type InputSize, type InputStatus, type InputType, type IsEventOutsideOptions, type Justify, 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 ListPaginationConfig, type ListProps, type ListSize, type LoadingAnimationIndex, type LoadingColor, type LoadingProps, type LoadingSize, type LoadingVariant, type MenuItem, type MenuItemGroupProps, type MenuItemProps, type MenuKey, type MenuMode, type MenuProps, type MenuTheme, type MessageColorScheme, type MessageConfig, type MessageInstance, type MessageOptions, type MessagePosition, type MessageProps, type MessageType, type ModalProps, type ModalSize, type NotificationCenterProps, type NotificationColorScheme, type NotificationConfig, type NotificationGroup, type NotificationInstance, type NotificationItem, type NotificationOptions, type NotificationPosition, type NotificationProps, type NotificationReadFilter, type NotificationType, type PageChangeInfo, type PageSizeChangeInfo, type PaginationAlign, type PaginationConfig, type PaginationPageSizeOption, type PaginationPageSizeOptionItem, type PaginationProps, type PaginationSize, type PieArcDatum, type PieChartDatum, type PieChartProps, type PointScaleOptions, type PopconfirmIconType, type PopconfirmProps, type PopoverProps, type PopoverTrigger, type PrepareUploadFilesOptions, type PrepareUploadFilesResult, type ProgressColorScheme, type ProgressProps, type ProgressSize, type ProgressStatus, type ProgressThemeColors, type ProgressType, type ProgressVariant, type RadarChartDatum, type RadarChartProps, type RadarChartSeries, type RadarPoint, type RadioColorScheme, type RadioGroupProps, type RadioProps, type RadioSize, type RowProps, type RowSelectionConfig, SHAKE_CLASS, SPACE_BASE_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 SelectModelValue, type SelectOption, type SelectOptionGroup, 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 StatusIconType, type StepItem, type StepSize, type StepStatus, type StepsDirection, type StepsProps, type StyleAtom, type StyleObject, type StyleValue, type SubMenuProps, type SwitchProps, type SwitchSize, THEME_CSS_VARS, TRANSITION_BASE, TRANSITION_OPACITY, TRANSITION_TRANSFORM, type TabChangeInfo, type TabEditInfo, type TabPaneProps, type TabPosition, type TabSize, type TabType, type TableColumn, type TableProps, type TableSize, type TableToolbarAction, type TableToolbarFilter, type TableToolbarFilterValue, type TableToolbarProps, type TabsProps, type TagColorScheme, type TagProps, type TagSize, type TagThemeColors, type TagVariant, type TextAlign, type TextColor, type TextProps, type TextSize, type TextTag, type TextWeight, type TextareaProps, type TextareaSize, type ThemeColors, type TigerLocale, type TigerLocaleCommon, type TigerLocaleDrawer, type TigerLocaleModal, type TigerLocalePagination, type TigerLocaleUpload, 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 TooltipProps, type TooltipTrigger, type TreeCheckStrategy, type TreeCheckedState, type TreeExpandedState, type TreeFilterFn, type TreeLoadDataFn, type TreeNode, type TreeProps, type TreeSelectionMode, type UploadFile, type UploadFileStatus, type UploadLabelOverrides, type UploadLabels, type UploadListType, type UploadProps, type UploadRejectReason, type UploadRejectedFile, type UploadRequestOptions, type UploadStatusIconSize, type VisibleTreeItem, type WizardStep, ZH_CN_PAGINATION_LABELS, activeOpacityClasses, activePressClasses, alertBaseClasses, alertCloseButtonBaseClasses, alertCloseIconPath, alertContentClasses, alertDescriptionSizeClasses, alertErrorIconPath, alertIconContainerClasses, alertIconSizeClasses, alertInfoIconPath, alertSizeClasses, alertSuccessIconPath, alertTitleSizeClasses, alertWarningIconPath, anchorAffixClasses, anchorBaseClasses, anchorInkActiveHorizontalClasses, anchorInkActiveVerticalClasses, anchorInkContainerHorizontalClasses, anchorInkContainerVerticalClasses, anchorLinkActiveClasses, anchorLinkBaseClasses, anchorLinkListHorizontalClasses, anchorLinkListVerticalClasses, animationDelayClasses, animationDelayStyles, applyFloatingStyles, autoResizeTextarea, autoUpdateFloating, avatarBaseClasses, avatarDefaultBgColor, avatarDefaultTextColor, avatarImageClasses, avatarShapeClasses, avatarSizeClasses, backTopBaseClasses, backTopButtonClasses, backTopContainerClasses, backTopHiddenClasses, backTopIconPath, backTopVisibleClasses, badgeBaseClasses, badgePositionClasses, badgeSizeClasses, badgeTypeClasses, badgeWrapperClasses, barsVariantConfig, breadcrumbContainerClasses, breadcrumbCurrentClasses, breadcrumbItemBaseClasses, breadcrumbLinkClasses, breadcrumbSeparatorBaseClasses, buildActivityGroups, buildCommentTree, buildNotificationGroups, buttonBaseClasses, buttonDisabledClasses, buttonSizeClasses, calculateCheckedState, calculateCirclePath, calculatePagination, calculateStepStatus, calendarSolidIcon20PathD, captureActiveElement, cardActionsClasses, cardBaseClasses, cardBodyClasses, cardCoverClasses, cardCoverWrapperClasses, cardFooterClasses, cardHeaderClasses, cardHoverClasses, cardSizeClasses, cardVariantClasses, carouselArrowBaseClasses, carouselArrowDisabledClasses, carouselBaseClasses, carouselDotActiveClasses, carouselDotClasses, carouselDotsBaseClasses, carouselDotsPositionClasses, carouselNextArrowClasses, carouselNextArrowPath, carouselPrevArrowClasses, carouselPrevArrowPath, carouselSlideBaseClasses, carouselSlideFadeClasses, carouselTrackFadeClasses, carouselTrackScrollClasses, chartAxisLabelClasses, chartAxisLineClasses, chartAxisTickLineClasses, chartAxisTickTextClasses, chartCanvasBaseClasses, chartGridLineClasses, chartInteractiveClasses, checkSolidIcon20PathD, checkboxLabelSizeClasses, checkboxSizeClasses, chevronDownSolidIcon20PathD, chevronLeftSolidIcon20PathD, chevronRightSolidIcon20PathD, clampPercentage, clampSlideIndex, classNames, clearFieldErrors, clipCommentTreeDepth, clockSolidIcon20PathD, closeIconPathD, closeIconPathStrokeLinecap, closeIconPathStrokeLinejoin, closeIconPathStrokeWidth, closeIconViewBox, closeSolidIcon20PathD, codeBlockContainerClasses, codeBlockCopyButtonBaseClasses, codeBlockCopyButtonCopiedClasses, codeBlockPreClasses, coerceClassValue, coerceStyleValue, collapseBaseClasses, collapseBorderlessClasses, collapseExtraClasses, collapseGhostClasses, collapseHeaderTextClasses, collapseIconBaseClasses, collapseIconExpandedClasses, collapseIconPositionClasses, collapsePanelBaseClasses, collapsePanelContentBaseClasses, collapsePanelContentWrapperClasses, collapsePanelHeaderActiveClasses, collapsePanelHeaderBaseClasses, collapsePanelHeaderDisabledClasses, collapseRightArrowIcon, computeFloatingPosition, containerBaseClasses, containerCenteredClasses, containerMaxWidthClasses, containerPaddingClasses, copyTextToClipboard, createAreaPath, createAriaId, createBandScale, createChartInteractionHandlers, createLinePath, createLinearScale, createPieArcPath, createPointScale, createPolygonPath, datePickerBaseClasses, datePickerCalendarClasses, datePickerCalendarGridClasses, datePickerCalendarHeaderClasses, datePickerClearButtonClasses, datePickerDayNameClasses, datePickerFooterButtonClasses, datePickerFooterClasses, datePickerInputWrapperClasses, datePickerMonthYearClasses, datePickerNavButtonClasses, defaultAlertThemeColors, defaultBadgeThemeColors, defaultChatMessageStatusInfo, defaultExpandIcon, defaultIndeterminateIcon, defaultLinkThemeColors, defaultMessageThemeColors, defaultNotificationThemeColors, defaultProgressThemeColors, defaultRadioColors, defaultSortFn, defaultTagThemeColors, defaultThemeColors, defaultTooltipFormatter, defaultTotalText, descriptionsBaseClasses, descriptionsCellSizeClasses, descriptionsContentBorderedClasses, descriptionsContentClasses, descriptionsExtraClasses, descriptionsHeaderClasses, descriptionsLabelBorderedClasses, descriptionsLabelClasses, descriptionsRowClasses, descriptionsSizeClasses, descriptionsTableBorderedClasses, descriptionsTableClasses, descriptionsTitleClasses, descriptionsVerticalContentClasses, descriptionsVerticalItemClasses, descriptionsVerticalLabelClasses, descriptionsVerticalWrapperClasses, descriptionsWrapperClasses, dotSizeClasses, dotsVariantConfig, errorCircleSolidIcon20PathD, fileToUploadFile, filterData, filterOptions, filterTreeNodes, findActiveAnchor, findNode, flattenTree, focusElement, focusFirst, focusRingClasses, focusRingInsetClasses, formatActivityTime, formatBadgeContent, formatChatTime, formatCommentTime, formatDate, formatFileSize, formatMonthYear, formatPageAriaLabel, formatPaginationTotal, formatProgressText, formatTime, formatTimeDisplay, formatTimeDisplayWithLocale, generateAvatarColor, generateFileId, generateHours, generateMinutes, generateSeconds, getActiveElement, getActiveIndex, getAlertIconPath, getAlertTypeClasses, getAlignClasses, getAllKeys, getAnchorInkActiveClasses, getAnchorInkContainerClasses, getAnchorLinkClasses, getAnchorLinkListClasses, getAnchorTargetElement, getAnchorWrapperClasses, getArrowStyles, getAutoExpandKeys, getBadgeVariantClasses, getBarGrowAnimationStyle, getBreadcrumbItemClasses, getBreadcrumbLinkClasses, getBreadcrumbSeparatorClasses, getButtonVariantClasses, getCalendarDays, getCardClasses, getCarouselArrowClasses, getCarouselContainerClasses, getCarouselDotClasses, getCarouselDotsClasses, getChartAnimationStyle, getChartAxisTicks, getChartElementOpacity, getChartEntranceTransform, getChartGridLineDasharray, getChartInnerRect, getChatMessageStatusInfo, getCheckboxCellClasses, getCheckboxClasses, getCheckboxLabelClasses, getCheckedKeysByStrategy, getCircleSize, getColOrderStyleVars, getColStyleVars, getCollapseContainerClasses, getCollapseIconClasses, getCollapsePanelClasses, getCollapsePanelHeaderClasses, getContainerClasses, getContainerHeight, getContainerScrollTop, getCurrentTime, getDatePickerDayCellClasses, getDatePickerIconButtonClasses, getDatePickerInputClasses, getDatePickerLabels, getDayNames, getDaysInMonth, getDescendantKeys, getDescriptionsClasses, getDescriptionsContentClasses, getDescriptionsLabelClasses, getDescriptionsTableClasses, getDescriptionsVerticalItemClasses, getDividerLineStyleClasses, getDividerOrientationClasses, getDividerSpacingClasses, getDragAreaClasses, getDrawerBodyClasses, getDrawerCloseButtonClasses, getDrawerContainerClasses, getDrawerFooterClasses, getDrawerHeaderClasses, getDrawerMaskClasses, getDrawerPanelClasses, getDrawerTitleClasses, getDropdownContainerClasses, getDropdownItemClasses, getDropdownMenuClasses, getDropdownMenuWrapperClasses, getDropdownTriggerClasses, getElementOffsetTop, getErrorFields, getFieldError, getFileListItemClasses, getFirstDayOfMonth, getFixedColumnOffsets, getFlexClasses, getFocusTrapNavigation, getFocusableElements, getFormItemAsteriskClasses, getFormItemAsteriskStyle, getFormItemClasses, getFormItemContentClasses, getFormItemErrorClasses, getFormItemFieldClasses, getFormItemLabelClasses, getGridColumnClasses, getGutterStyles, getInitials, getInputAffixClasses, getInputClasses, getInputErrorClasses, getInputWrapperClasses, getJustifyClasses, getLeafKeys, getLinkVariantClasses, getListClasses, getListHeaderFooterClasses, getListItemClasses, getLoadingBarClasses, getLoadingBarsWrapperClasses, getLoadingClasses, getLoadingDotClasses, getLoadingDotsWrapperClasses, getLoadingOverlaySpinnerClasses, getLoadingTextClasses, getMenuClasses, getMenuItemClasses, getMenuItemIndent, getMessageIconPath, getMessageTypeClasses, getModalContainerClasses, getModalContentClasses, getMonthNames, getNextActiveKey, getNextSlideIndex, getNotificationIconPath, getNotificationTypeClasses, getNumberExtent, getOffsetClasses, getOrderClasses, getPageNumbers, getPageRange, getPageSizeSelectorClasses, getPaginationButtonActiveClasses, getPaginationButtonBaseClasses, getPaginationContainerClasses, getPaginationEllipsisClasses, getPaginationLabels, getParagraphRowWidth, getParentKeys, getPathDrawAnimationStyle, getPathDrawStyles, getPathLength, getPendingDotClasses, getPictureCardClasses, getPieArcs, getPieDrawAnimationStyle, getPlacementSide, getPopconfirmArrowClasses, getPopconfirmButtonBaseClasses, getPopconfirmButtonsClasses, getPopconfirmCancelButtonClasses, getPopconfirmContainerClasses, getPopconfirmContentClasses, getPopconfirmDescriptionClasses, getPopconfirmIconClasses, getPopconfirmIconPath, getPopconfirmOkButtonClasses, getPopconfirmTitleClasses, getPopconfirmTriggerClasses, getPopoverContainerClasses, getPopoverContentClasses, getPopoverContentTextClasses, getPopoverTitleClasses, getPopoverTriggerClasses, getPrevSlideIndex, getProgressTextColorClasses, getProgressVariantClasses, getQuickJumperInputClasses, getRadarAngles, getRadarPoints, getRadioColorClasses, getRadioDotClasses, getRadioGroupClasses, getRadioLabelClasses, getRadioVisualClasses, getRowKey, getScrollTop, getScrollTransform, getSecureRel, getSelectOptionClasses, getSelectSizeClasses, getSelectTriggerClasses, getSeparatorContent, getShortDayNames, getShortMonthNames, getSimplePaginationButtonClasses, getSimplePaginationButtonsWrapperClasses, getSimplePaginationContainerClasses, getSimplePaginationControlsClasses, getSimplePaginationPageIndicatorClasses, getSimplePaginationSelectClasses, getSimplePaginationTotalClasses, getSkeletonClasses, getSkeletonDimensions, getSliderThumbClasses, getSliderTooltipClasses, getSliderTrackClasses, getSortIconClasses, getSpaceAlignClass, getSpaceDirectionClass, getSpaceGapSize, getSpanClasses, getSpinnerSVG, getStatusVariant, getStepContentClasses, getStepDescriptionClasses, getStepIconClasses, getStepItemClasses, getStepTailClasses, getStepTitleClasses, getStepsContainerClasses, getSubMenuExpandIconClasses, getSubMenuTitleClasses, getSvgDefaultAttrs, getSwitchClasses, getSwitchThumbClasses, getTabItemClasses, getTabNavClasses, getTabNavListClasses, getTabPaneClasses, getTableCellClasses, getTableHeaderCellClasses, getTableHeaderClasses, getTableRowClasses, getTableWrapperClasses, getTabsContainerClasses, getTagVariantClasses, getThemeColor, getTimePeriodLabels, getTimePickerIconButtonClasses, getTimePickerInputClasses, getTimePickerItemClasses, getTimePickerLabels, getTimePickerOptionAriaLabel, getTimePickerPeriodButtonClasses, getTimePickerRangeTabButtonClasses, getTimelineContainerClasses, getTimelineContentClasses, getTimelineDotClasses, getTimelineHeadClasses, getTimelineItemClasses, getTimelineTailClasses, getTooltipContainerClasses, getTooltipContentClasses, getTooltipTriggerClasses, getTotalPages, getTotalTextClasses, getTransformOrigin, getTreeNodeClasses, getTreeNodeExpandIconClasses, getUploadButtonClasses, getUploadLabels, getUploadStatusIconClasses, getValueByPath, getVisibleTreeItems, groupItemsIntoRows, handleNodeCheck, hasErrors, icon16ViewBox, icon20ViewBox, icon24PathStrokeLinecap, icon24PathStrokeLinejoin, icon24StrokeWidth, icon24ViewBox, iconSizeClasses, iconSvgBaseClasses, iconWrapperClasses, injectLoadingAnimationStyles, injectShakeStyle, injectSvgAnimationStyles, inputFocusClasses, interactiveClasses, interpolateUploadLabel, isActivationKey, isBrowser, isDateInRange, isEnterKey, isEscapeKey, isEventOutside, isHTMLElement, isKeyActive, isKeyOpen, isKeySelected, isNextDisabled, isOptionGroup, isPanelActive, isPrevDisabled, isSameDay, isSpaceKey, isTabKey, isTimeInRange, isToday, layoutContentClasses, layoutFooterClasses, layoutHeaderClasses, layoutRootClasses, layoutSidebarClasses, linkBaseClasses, linkDisabledClasses, linkSizeClasses, listBaseClasses, listBorderClasses, listEmptyStateClasses, listFooterClasses, listGridContainerClasses, listHeaderFooterBaseClasses, listItemAvatarClasses, listItemBaseClasses, listItemContentClasses, listItemDescriptionClasses, listItemDividedClasses, listItemExtraClasses, listItemHoverClasses, listItemLayoutClasses, listItemMetaClasses, listItemSizeClasses, listItemTitleClasses, listLoadingOverlayClasses, listPaginationContainerClasses, listSizeClasses, listWrapperClasses, loadingBarBaseClasses, loadingBarsWrapperBaseClasses, loadingColorClasses, loadingContainerBaseClasses, loadingDotBaseClasses, loadingDotsWrapperBaseClasses, loadingFullscreenBaseClasses, loadingOverlaySpinnerBaseClasses, loadingSizeClasses, loadingSpinnerBaseClasses, loadingTextSizeClasses, lockClosedIcon24PathD, lockOpenIcon24PathD, menuBaseClasses, menuCollapsedClasses, menuCollapsedItemClasses, menuDarkThemeClasses, menuItemBaseClasses, menuItemDisabledClasses, menuItemFocusClasses, menuItemGroupTitleClasses, menuItemHoverDarkClasses, menuItemHoverLightClasses, menuItemIconClasses, menuItemSelectedDarkClasses, menuItemSelectedLightClasses, menuLightThemeClasses, menuModeClasses, mergeStyleValues, mergeTigerLocale, messageBaseClasses, messageCloseButtonClasses, messageCloseIconPath, messageContainerBaseClasses, messageContentClasses, messageEnterActiveClasses, messageEnterClasses, messageIconClasses, messageIconPaths, messageLeaveActiveClasses, messageLeaveClasses, messageLoadingSpinnerClasses, messagePositionClasses, modalBodyClasses, modalCloseButtonClasses, modalContentWrapperClasses, modalFooterClasses, modalHeaderClasses, modalMaskClasses, modalSizeClasses, modalTitleClasses, modalWrapperClasses, normalizeActiveKeys, normalizeChartPadding, normalizeDate, normalizeSvgAttrs, notificationBaseClasses, notificationCloseButtonClasses, notificationCloseIconClasses, notificationCloseIconPath, notificationContainerBaseClasses, notificationContentClasses, notificationDescriptionClasses, notificationIconClasses, notificationIconPaths, notificationPositionClasses, notificationTitleClasses, paginateData, parseDate, parseTime, parseWidthToPx, polarToCartesian, popconfirmErrorIconPath, popconfirmIconPathStrokeLinecap, popconfirmIconPathStrokeLinejoin, popconfirmIconStrokeWidth, popconfirmIconViewBox, popconfirmInfoIconPath, popconfirmQuestionIconPath, popconfirmSuccessIconPath, popconfirmWarningIconPath, prepareUploadFiles, progressCircleBaseClasses, progressCircleSizeClasses, progressCircleTextClasses, progressCircleTrackStrokeClasses, progressLineBaseClasses, progressLineInnerClasses, progressLineSizeClasses, progressStripedAnimationClasses, progressStripedClasses, progressTextBaseClasses, progressTextSizeClasses, progressTrackBgClasses, radioDisabledCursorClasses, radioDotBaseClasses, radioFocusVisibleClasses, radioGroupDefaultClasses, radioHoverBorderClasses, radioLabelBaseClasses, radioRootBaseClasses, radioSizeClasses, radioVisualBaseClasses, replaceKeys, resolveLocaleText, restoreFocus, scrollToAnchor, scrollToTop, selectBaseClasses, selectDropdownBaseClasses, selectEmptyStateClasses, selectGroupLabelClasses, selectOptionBaseClasses, selectOptionDisabledClasses, selectOptionSelectedClasses, selectSearchInputClasses, setThemeColors, shouldHideBadge, skeletonAnimationClasses, skeletonBaseClasses, skeletonShapeClasses, skeletonVariantDefaults, sliderBaseClasses, sliderDisabledClasses, sliderGetKeyboardValue, sliderGetPercentage, sliderGetValueFromPosition, sliderNormalizeValue, sliderRangeClasses, sliderSizeClasses, sliderThumbClasses, sliderTooltipClasses, sliderTrackClasses, sortActivityGroups, sortAscIcon16PathD, sortBothIcon16PathD, sortData, sortDescIcon16PathD, sortNotificationGroups, stackSeriesData, statusErrorIconPath, statusIconPaths, statusInfoIconPath, statusSuccessIconPath, statusWarningIconPath, stepFinishIconPathD, stepFinishIconPathStrokeLinecap, stepFinishIconPathStrokeLinejoin, stepFinishIconPathStrokeWidth, stepFinishIconSvgClasses, stepFinishIconViewBox, submenuContentHorizontalClasses, submenuContentInlineClasses, submenuContentPopupClasses, submenuContentVerticalClasses, submenuExpandIconClasses, submenuExpandIconExpandedClasses, submenuTitleClasses, successCircleSolidIcon20PathD, switchBaseClasses, switchSizeClasses, switchThumbSizeClasses, switchThumbTranslateClasses, tabAddButtonClasses, tabCloseButtonClasses, tabContentBaseClasses, tabFocusClasses, tabItemBaseClasses, tabItemCardActiveClasses, tabItemCardClasses, tabItemDisabledClasses, tabItemEditableCardActiveClasses, tabItemEditableCardClasses, tabItemLineActiveClasses, tabItemLineClasses, tabItemSizeClasses, tabNavBaseClasses, tabNavListBaseClasses, tabNavListCenteredClasses, tabNavListPositionClasses, tabNavPositionClasses, tabPaneBaseClasses, tabPaneHiddenClasses, tableBaseClasses, tableContainerClasses, tableEmptyStateClasses, tableLoadingOverlayClasses, tablePaginationContainerClasses, tabsBaseClasses, tagBaseClasses, tagCloseButtonBaseClasses, tagCloseIconPath, tagSizeClasses, textAlignClasses, textColorClasses, textDecorationClasses, textSizeClasses, textWeightClasses, 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, toggleKey, togglePanelKey, treeBaseClasses, treeEmptyStateClasses, treeLineClasses, treeLoadingClasses, treeNodeCheckboxClasses, treeNodeChildrenClasses, treeNodeContentClasses, treeNodeDisabledClasses, treeNodeExpandIconClasses, treeNodeExpandIconExpandedClasses, treeNodeHoverClasses, treeNodeIconClasses, treeNodeIndentClasses, treeNodeLabelClasses, treeNodeSelectedClasses, treeNodeWrapperClasses, uploadStatusIconColorClasses, uploadStatusIconSizeClasses, validateCurrentPage, validateField, validateFileSize, validateFileType, validateForm, validateRule, version };
|
|
11791
|
+
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 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 AutoResizeTextareaOptions, 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 BreadcrumbItemProps, type BreadcrumbProps, type BreadcrumbSeparator, type Breakpoint, type BuildLegendItemsOptions, type ButtonColorScheme, type ButtonProps, type ButtonSize, type ButtonVariant, CROP_HANDLES, CalendarIconPath, type CardProps, type CardSize, type CardVariant, type CarouselBeforeChangeInfo, type CarouselChangeInfo, type CarouselDotPosition, type CarouselEffect, type CarouselMethods, type CarouselProps, 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, CloseIconPath, type CodeProps, type ColProps, type ColSpan, type CollapsePanelProps, type CollapseProps, type ColumnAlign, type ColumnFilter, type CommentAction, type CommentNode, type CommentTag, type CommentThreadProps, type CommentUser, 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, 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 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 DrawerPlacement, type DrawerProps, type DrawerSize, type DropdownItemProps, type DropdownMenuProps, type DropdownPlacement, type DropdownProps, type DropdownTrigger, EASING_DEFAULT, EASING_ENTER, EASING_LEAVE, type ElementLike, type ExpandIconPosition, type FilterOption, type FilterType, type FloatingCleanup, type FloatingOptions, type FloatingPlacement, type FloatingResult, type FloatingTrigger, type FocusElementOptions, type FocusTrapNavigation, type FooterProps, type FormError, type FormItemClassOptions, type FormItemLabelClassOptions, type FormItemProps, type FormLabelAlign, type FormLabelPosition, type FormProps, type FormRule, type FormRuleTrigger, type FormRuleType, type FormRules, type FormSize, type FormValidationResult, type FormValues, type FormWizardProps, type FormWizardValidateResult, type FormWizardValidator, type GetContainerClassesOptions, type GetInputClassesOptions, type GetRadioDotClassesOptions, type GetRadioGroupClassesOptions, type GetRadioLabelClassesOptions, type GetRadioVisualClassesOptions, type GutterSize, type HeaderProps, type IconProps, type IconSize, type ImageCropperProps, type ImageFit, type ImageGroupProps, type ImagePreviewProps, type ImagePreviewToolbarAction, type ImageProps, type InputProps, type InputSize, type InputStatus, type InputType, type IsEventOutsideOptions, type Justify, 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 ListPaginationConfig, type ListProps, type ListSize, type LoadingAnimationIndex, type LoadingColor, type LoadingProps, type LoadingSize, type LoadingVariant, type MenuItem, type MenuItemGroupProps, type MenuItemProps, type MenuKey, type MenuMode, type MenuProps, type MenuTheme, type MessageColorScheme, type MessageConfig, type MessageInstance, type MessageOptions, type MessagePosition, type MessageProps, type MessageType, type ModalProps, type ModalSize, type NotificationCenterProps, type NotificationColorScheme, type NotificationConfig, type NotificationGroup, type NotificationInstance, type NotificationItem, type NotificationOptions, type NotificationPosition, type NotificationProps, type NotificationReadFilter, type NotificationType, PIE_BASE_SHADOW, PIE_EMPHASIS_SHADOW, POPOVER_TEXT_CLASSES, POPOVER_TITLE_CLASSES, type PageChangeInfo, type PageSizeChangeInfo, type PaginationAlign, type PaginationConfig, type PaginationPageSizeOption, type PaginationPageSizeOptionItem, type PaginationProps, type PaginationSize, type PieArcDatum, type PieChartDatum, type PieChartProps, type PointScaleOptions, type PopconfirmIconType, type PopconfirmProps, type PopoverProps, type PopoverTrigger, type PrepareUploadFilesOptions, type PrepareUploadFilesResult, type PreviewNavState, type ProgressColorScheme, type ProgressProps, type ProgressSize, type ProgressStatus, type ProgressThemeColors, type ProgressType, type ProgressVariant, RADAR_SPLIT_AREA_COLORS, type RadarChartDatum, type RadarChartProps, type RadarChartSeries, type RadarPoint, type RadioColorScheme, type RadioGroupProps, type RadioProps, type RadioSize, 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 SelectModelValue, type SelectOption, type SelectOptionGroup, 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 StatusIconType, type StepItem, type StepSize, type StepStatus, type StepsDirection, type StepsProps, type StyleAtom, type StyleObject, type StyleValue, type SubMenuProps, type SwitchProps, type SwitchSize, THEME_CSS_VARS, TRANSITION_BASE, TRANSITION_OPACITY, TRANSITION_TRANSFORM, type TabChangeInfo, type TabEditInfo, type TabPaneProps, type TabPosition, type TabSize, type TabType, type TableColumn, type TableProps, type TableSize, type TableToolbarAction, type TableToolbarFilter, type TableToolbarFilterValue, type TableToolbarProps, type TabsProps, type TagColorScheme, type TagProps, type TagSize, type TagThemeColors, type TagVariant, type TextAlign, type TextColor, type TextProps, type TextSize, type TextTag, type TextWeight, type TextareaProps, type TextareaSize, type ThemeColors, type TigerLocale, type TigerLocaleCommon, type TigerLocaleDrawer, type TigerLocaleFormWizard, type TigerLocaleModal, type TigerLocalePagination, type TigerLocaleUpload, 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 TooltipProps, type TooltipTrigger, type TreeCheckStrategy, type TreeCheckedState, type TreeExpandedState, type TreeFilterFn, type TreeLoadDataFn, type TreeNode, type TreeProps, 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 VisibleTreeItem, type WizardStep, ZH_CN_FORM_WIZARD_LABELS, ZH_CN_PAGINATION_LABELS, activeOpacityClasses, activePressClasses, alertBaseClasses, alertCloseButtonBaseClasses, alertCloseIconPath, alertContentClasses, alertDescriptionSizeClasses, alertIconContainerClasses, alertIconSizeClasses, alertSizeClasses, alertTitleSizeClasses, anchorAffixClasses, anchorBaseClasses, anchorInkActiveHorizontalClasses, anchorInkActiveVerticalClasses, anchorInkContainerHorizontalClasses, anchorInkContainerVerticalClasses, anchorLinkActiveClasses, anchorLinkBaseClasses, anchorLinkListHorizontalClasses, anchorLinkListVerticalClasses, animationDelayClasses, animationDelayStyles, applyFloatingStyles, autoResizeTextarea, autoUpdateFloating, avatarBaseClasses, avatarDefaultBgColor, avatarDefaultTextColor, avatarImageClasses, avatarShapeClasses, avatarSizeClasses, backTopButtonClasses, backTopContainerClasses, backTopHiddenClasses, backTopIconPath, backTopVisibleClasses, badgeBaseClasses, badgePositionClasses, badgeSizeClasses, badgeTypeClasses, badgeWrapperClasses, barAnimatedTransition, barValueLabelClasses, barValueLabelInsideClasses, barsVariantConfig, breadcrumbContainerClasses, breadcrumbCurrentClasses, breadcrumbItemBaseClasses, breadcrumbLinkClasses, breadcrumbSeparatorBaseClasses, buildActivityGroups, buildChartLegendItems, buildCommentTree, buildNotificationGroups, buildTriggerHandlerMap, buttonBaseClasses, buttonDisabledClasses, buttonSizeClasses, calculateCheckedState, calculateCirclePath, calculatePagination, calculateStepStatus, calculateTransform, calendarSolidIcon20PathD, captureActiveElement, cardActionsClasses, cardBaseClasses, cardCoverClasses, cardCoverWrapperClasses, cardFooterClasses, cardHeaderClasses, cardHoverClasses, cardSizeClasses, cardVariantClasses, carouselArrowBaseClasses, carouselArrowDisabledClasses, carouselBaseClasses, carouselDotActiveClasses, carouselDotClasses, carouselDotsBaseClasses, carouselDotsPositionClasses, carouselNextArrowClasses, carouselNextArrowPath, carouselPrevArrowClasses, carouselPrevArrowPath, carouselSlideBaseClasses, carouselTrackFadeClasses, carouselTrackScrollClasses, chartAxisLabelClasses, chartAxisLineClasses, chartAxisTickLineClasses, chartAxisTickTextClasses, chartCanvasBaseClasses, chartGridLineClasses, chartInteractiveClasses, checkSolidIcon20PathD, checkboxLabelSizeClasses, checkboxSizeClasses, checkedSetsFromState, chevronDownSolidIcon20PathD, chevronLeftSolidIcon20PathD, chevronRightSolidIcon20PathD, clampBarWidth, clampPercentage, clampScale, clampSlideIndex, classNames, clearFieldErrors, clipCommentTreeDepth, clockSolidIcon20PathD, closeIconPathD, closeIconPathStrokeLinecap, closeIconPathStrokeLinejoin, closeIconPathStrokeWidth, closeIconViewBox, closeSolidIcon20PathD, codeBlockContainerClasses, codeBlockCopyButtonBaseClasses, codeBlockCopyButtonCopiedClasses, codeBlockPreClasses, coerceClassValue, coerceStyleValue, collapseBaseClasses, collapseBorderlessClasses, collapseGhostClasses, collapseHeaderTextClasses, collapseIconBaseClasses, collapseIconExpandedClasses, collapseIconPositionClasses, collapsePanelBaseClasses, collapsePanelContentBaseClasses, collapsePanelContentWrapperClasses, collapsePanelHeaderActiveClasses, collapsePanelHeaderBaseClasses, collapsePanelHeaderDisabledClasses, computeFloatingPosition, computePieHoverOffset, computePieLabelLine, constrainCropRect, containerBaseClasses, containerCenteredClasses, containerMaxWidthClasses, containerPaddingClasses, copyTextToClipboard, createAreaPath, createAriaId, createBandScale, createChartInteractionHandlers, createFloatingIdFactory, createLinePath, createLinearScale, createPieArcPath, createPointScale, createPolygonPath, cropCanvas, cropUploadTriggerClasses, cropUploadTriggerDisabledClasses, datePickerBaseClasses, datePickerCalendarClasses, datePickerCalendarGridClasses, datePickerCalendarHeaderClasses, datePickerClearButtonClasses, datePickerDayNameClasses, datePickerFooterButtonClasses, datePickerFooterClasses, datePickerInputWrapperClasses, datePickerMonthYearClasses, datePickerNavButtonClasses, defaultAlertThemeColors, defaultBadgeThemeColors, defaultChatMessageStatusInfo, defaultLinkThemeColors, defaultMessageThemeColors, defaultNotificationThemeColors, defaultProgressThemeColors, defaultRadarTooltipFormatter, defaultRadioColors, defaultSeriesXYTooltipFormatter, defaultSortFn, defaultTagThemeColors, defaultThemeColors, defaultTooltipFormatter, defaultTotalText, defaultXYTooltipFormatter, descriptionsBaseClasses, descriptionsCellSizeClasses, descriptionsContentBorderedClasses, descriptionsContentClasses, descriptionsExtraClasses, descriptionsHeaderClasses, descriptionsLabelBorderedClasses, descriptionsLabelClasses, descriptionsSizeClasses, descriptionsTableBorderedClasses, descriptionsTableClasses, descriptionsTitleClasses, descriptionsVerticalContentClasses, descriptionsVerticalItemClasses, descriptionsVerticalLabelClasses, descriptionsVerticalWrapperClasses, descriptionsWrapperClasses, dotSizeClasses, dotsVariantConfig, ensureBarMinHeight, errorCircleSolidIcon20PathD, fileToUploadFile, filterData, filterOptions, filterTreeNodes, findActiveAnchor, findNode, flattenSelectOptions, focusElement, focusFirst, focusFirstChildItem, focusMenuEdge, focusRingClasses, focusRingInsetClasses, formatActivityTime, formatBadgeContent, formatChatTime, formatCommentTime, formatDate, formatFileSize, formatMonthYear, formatPageAriaLabel, formatPaginationTotal, formatProgressText, formatTime, formatTimeDisplay, formatTimeDisplayWithLocale, generateAvatarColor, generateFileId, generateHours, generateMinutes, generateSeconds, getActiveElement, getActiveIndex, getAlertIconPath, getAlertTypeClasses, getAlignClasses, getAllKeys, getAnchorInkActiveClasses, getAnchorInkContainerClasses, getAnchorLinkClasses, getAnchorLinkListClasses, getAnchorTargetElement, getAnchorWrapperClasses, getAreaGradientPrefix, getArrowStyles, getAutoExpandKeys, getBadgeVariantClasses, getBarGradientPrefix, getBarGrowAnimationStyle, getBarValueLabelY, getBreadcrumbItemClasses, getBreadcrumbLinkClasses, getBreadcrumbSeparatorClasses, getButtonVariantClasses, getCalendarDays, getCardClasses, getCarouselArrowClasses, getCarouselContainerClasses, getCarouselDotClasses, getCarouselDotsClasses, getChartAnimationStyle, getChartAxisTicks, getChartElementOpacity, getChartEntranceTransform, getChartGridLineDasharray, getChartInnerRect, getChatMessageStatusInfo, getCheckboxCellClasses, getCheckboxClasses, getCheckboxLabelClasses, getCheckedKeysByStrategy, getCircleSize, getColMergedStyleVars, getColOrderStyleVars, getColStyleVars, getCollapseContainerClasses, getCollapseIconClasses, getCollapsePanelClasses, getCollapsePanelHeaderClasses, getContainerClasses, getContainerHeight, getContainerScrollTop, getCropperHandleClasses, getCurrentTime, getDatePickerDayCellClasses, getDatePickerIconButtonClasses, getDatePickerInputClasses, getDatePickerLabels, getDayNames, getDaysInMonth, getDescendantKeys, getDescriptionsClasses, getDescriptionsContentClasses, getDescriptionsLabelClasses, getDescriptionsTableClasses, getDescriptionsVerticalItemClasses, getDividerClasses, getDividerStyle, getDragAreaClasses, getDrawerBodyClasses, getDrawerCloseButtonClasses, getDrawerContainerClasses, getDrawerFooterClasses, getDrawerHeaderClasses, getDrawerMaskClasses, getDrawerPanelClasses, getDrawerTitleClasses, getDropdownChevronClasses, getDropdownContainerClasses, getDropdownItemClasses, getDropdownMenuClasses, getDropdownTriggerClasses, getElementOffsetTop, getErrorFields, getFieldError, getFileListItemClasses, getFirstDayOfMonth, getFixedColumnOffsets, getFlexClasses, getFocusTrapNavigation, getFocusableElements, getFormItemAsteriskClasses, getFormItemClasses, getFormItemContentClasses, getFormItemErrorClasses, getFormItemFieldClasses, getFormItemLabelClasses, getFormWizardLabels, getGridColumnClasses, getGutterStyles, getImageImgClasses, getInitialCropRect, getInitials, getInputAffixClasses, getInputClasses, getInputErrorClasses, getInputWrapperClasses, getJustifyClasses, getLeafKeys, getLineGradientPrefix, getLinkVariantClasses, getListClasses, getListHeaderFooterClasses, getListItemClasses, getLoadingBarClasses, getLoadingBarsWrapperClasses, getLoadingClasses, getLoadingDotClasses, getLoadingDotsWrapperClasses, getLoadingOverlaySpinnerClasses, getLoadingTextClasses, getMenuButtons, getMenuClasses, getMenuItemClasses, getMenuItemIndent, getMessageIconPath, getMessageTypeClasses, getModalContainerClasses, getModalContentClasses, getMonthNames, getNextActiveKey, getNextSlideIndex, getNotificationIconPath, getNotificationTypeClasses, getNumberExtent, getOffsetClasses, getOrderClasses, getPageNumbers, getPageRange, getPageSizeSelectorClasses, getPaginationButtonActiveClasses, getPaginationButtonBaseClasses, getPaginationContainerClasses, getPaginationEllipsisClasses, getPaginationLabels, getParagraphRowWidth, getParentKeys, getPathDrawAnimationStyle, getPathDrawStyles, getPathLength, getPendingDotClasses, getPictureCardClasses, getPieArcs, getPieDrawAnimationStyle, getPlacementSide, getPopconfirmArrowClasses, getPopconfirmButtonBaseClasses, getPopconfirmButtonsClasses, getPopconfirmCancelButtonClasses, getPopconfirmContainerClasses, getPopconfirmContentClasses, getPopconfirmDescriptionClasses, getPopconfirmIconClasses, getPopconfirmIconPath, getPopconfirmOkButtonClasses, getPopconfirmTitleClasses, getPopconfirmTriggerClasses, getPopoverContainerClasses, getPopoverContentClasses, getPopoverContentTextClasses, getPopoverTitleClasses, getPopoverTriggerClasses, getPrevSlideIndex, getPreviewNavState, getProgressTextColorClasses, getProgressVariantClasses, getQuickJumperInputClasses, getRadarAngles, getRadarLabelAlign, getRadarPoints, getRadioColorClasses, getRadioDotClasses, getRadioGroupClasses, getRadioLabelClasses, getRadioVisualClasses, getRowKey, getScatterGradientPrefix, getScatterHoverShadow, getScatterHoverSize, getScatterPointPath, getScrollTop, getScrollTransform, getSecureRel, getSelectOptionClasses, getSelectSizeClasses, getSelectTriggerClasses, getSeparatorContent, getShortDayNames, getShortMonthNames, getSimplePaginationButtonClasses, getSimplePaginationButtonsWrapperClasses, getSimplePaginationContainerClasses, getSimplePaginationControlsClasses, getSimplePaginationPageIndicatorClasses, getSimplePaginationSelectClasses, getSimplePaginationTotalClasses, getSizeTextClasses, getSkeletonClasses, getSkeletonDimensions, getSliderThumbClasses, getSliderTooltipClasses, getSliderTrackClasses, getSortIconClasses, getSpaceClasses, getSpaceStyle, getSpanClasses, getSpinnerSVG, getStatusVariant, getStepContentClasses, getStepDescriptionClasses, getStepIconClasses, getStepItemClasses, getStepTailClasses, getStepTitleClasses, getStepsContainerClasses, getSubMenuExpandIconClasses, getSubMenuTitleClasses, getSvgDefaultAttrs, getSwitchClasses, getSwitchThumbClasses, getTabItemClasses, getTabNavClasses, getTabNavListClasses, getTabPaneClasses, getTableCellClasses, getTableHeaderCellClasses, getTableHeaderClasses, getTableRowClasses, getTableWrapperClasses, getTabsContainerClasses, getTagVariantClasses, getTextClasses, getThemeColor, getTimePeriodLabels, getTimePickerIconButtonClasses, getTimePickerInputClasses, getTimePickerItemClasses, getTimePickerLabels, getTimePickerOptionAriaLabel, getTimePickerPeriodButtonClasses, getTimePickerRangeTabButtonClasses, getTimelineContainerClasses, getTimelineContentClasses, getTimelineDotClasses, getTimelineHeadClasses, getTimelineItemClasses, getTimelineTailClasses, getTooltipContainerClasses, getTooltipContentClasses, getTooltipTriggerClasses, getTotalPages, getTotalTextClasses, getTouchDistance, getTransformOrigin, getTreeNodeClasses, getTreeNodeExpandIconClasses, getUploadButtonClasses, getUploadLabels, getUploadStatusIconClasses, getValueByPath, getVisibleTreeItems, groupItemsIntoRows, handleNodeCheck, hasErrors, icon16ViewBox, icon20ViewBox, icon24PathStrokeLinecap, icon24PathStrokeLinejoin, icon24StrokeWidth, icon24ViewBox, iconSizeClasses, iconSvgBaseClasses, iconSvgDefaultStrokeLinecap, iconSvgDefaultStrokeLinejoin, iconSvgDefaultStrokeWidth, iconWrapperClasses, imageBaseClasses, imageCropperContainerClasses, imageCropperDragAreaClasses, imageCropperGuideClasses, imageCropperImgClasses, imageCropperMaskClasses, imageCropperSelectionClasses, imageErrorClasses, imageErrorIconPath, imageLoadingClasses, imagePreviewCloseBtnClasses, imagePreviewCounterClasses, imagePreviewCursorClass, imagePreviewImgClasses, imagePreviewMaskClasses, imagePreviewNavBtnClasses, imagePreviewToolbarBtnClasses, imagePreviewToolbarClasses, imagePreviewWrapperClasses, initRovingTabIndex, injectDropdownStyles, injectLoadingAnimationStyles, injectShakeStyle, injectSvgAnimationStyles, inputFocusClasses, interactiveClasses, interpolateUploadLabel, isActivationKey, isBrowser, isDateInRange, isEnterKey, isEscapeKey, isEventOutside, isHTMLElement, isKeyActive, isKeyOpen, isKeySelected, isNextDisabled, isOptionGroup, isPanelActive, isPrevDisabled, isSameDay, isSpaceKey, isTabKey, isTimeInRange, isToday, layoutContentClasses, layoutFooterClasses, layoutHeaderClasses, layoutRootClasses, layoutSidebarClasses, 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, 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, modalBodyClasses, modalCloseButtonClasses, modalContentWrapperClasses, modalFooterClasses, modalHeaderClasses, modalMaskClasses, modalSizeClasses, modalTitleClasses, modalWrapperClasses, moveCropRect, moveFocusInMenu, nextIconPath, normalizeActiveKeys, normalizeChartPadding, normalizeDate, normalizeStringOption, normalizeSvgAttrs, notificationBaseClasses, notificationCloseButtonClasses, notificationCloseIconClasses, notificationCloseIconPath, notificationContainerBaseClasses, notificationContentClasses, notificationDescriptionClasses, notificationIconClasses, notificationIconPaths, notificationPositionClasses, notificationTitleClasses, paginateData, parseDate, parseInputValue, parseTime, parseWidthToPx, polarToCartesian, popconfirmErrorIconPath, popconfirmIconPathStrokeLinecap, popconfirmIconPathStrokeLinejoin, popconfirmIconStrokeWidth, popconfirmIconViewBox, popconfirmInfoIconPath, popconfirmQuestionIconPath, popconfirmSuccessIconPath, popconfirmWarningIconPath, prepareUploadFiles, prevIconPath, previewCloseIconPath, progressCircleBaseClasses, progressCircleSizeClasses, progressCircleTextClasses, progressCircleTrackStrokeClasses, progressLineBaseClasses, progressLineInnerClasses, progressLineSizeClasses, progressStripedAnimationClasses, progressStripedClasses, progressTextBaseClasses, progressTextSizeClasses, progressTrackBgClasses, radioDisabledCursorClasses, radioDotBaseClasses, radioFocusVisibleClasses, radioGroupDefaultClasses, radioHoverBorderClasses, radioLabelBaseClasses, radioRootBaseClasses, radioSizeClasses, radioVisualBaseClasses, replaceKeys, resetAreaGradientCounter, resetBarGradientCounter, resetIconPath, resetLineGradientCounter, resetScatterGradientCounter, resizeCropRect, resolveChartPalette, resolveChartTooltipContent, resolveLocaleText, resolveMultiSeriesTooltipContent, resolveSeriesData, restoreFocus, scatterPointTransitionClasses, scrollToAnchor, scrollToTop, selectBaseClasses, selectDropdownBaseClasses, selectEmptyStateClasses, selectGroupLabelClasses, selectOptionBaseClasses, selectOptionDisabledClasses, selectOptionSelectedClasses, selectSearchInputClasses, setThemeColors, shouldHideBadge, skeletonAnimationClasses, skeletonBaseClasses, skeletonShapeClasses, skeletonVariantDefaults, sliderBaseClasses, sliderDisabledClasses, sliderGetKeyboardValue, sliderGetPercentage, sliderGetValueFromPosition, sliderNormalizeValue, sliderRangeClasses, sliderSizeClasses, sliderThumbClasses, sliderTooltipClasses, sliderTrackClasses, sortActivityGroups, sortAscIcon16PathD, sortBothIcon16PathD, sortData, sortDescIcon16PathD, sortNotificationGroups, stackSeriesData, statusErrorIconPath, statusIconPaths, statusInfoIconPath, statusSuccessIconPath, statusWarningIconPath, stepFinishChar, submenuContentHorizontalClasses, submenuContentInlineClasses, submenuContentPopupClasses, submenuContentVerticalClasses, submenuExpandIconClasses, submenuExpandIconExpandedClasses, submenuTitleClasses, successCircleSolidIcon20PathD, switchBaseClasses, switchSizeClasses, switchThumbSizeClasses, switchThumbTranslateClasses, tabAddButtonClasses, tabCloseButtonClasses, tabContentBaseClasses, tabFocusClasses, tabItemBaseClasses, tabItemCardActiveClasses, tabItemCardClasses, tabItemDisabledClasses, tabItemEditableCardActiveClasses, tabItemEditableCardClasses, tabItemLineActiveClasses, tabItemLineClasses, tabItemSizeClasses, tabNavBaseClasses, tabNavLineBorderClasses, tabNavListBaseClasses, tabNavListCenteredClasses, tabNavListPositionClasses, tabNavPositionClasses, tabPaneBaseClasses, tabPaneHiddenClasses, tableBaseClasses, tableContainerClasses, tableEmptyStateClasses, tableLoadingOverlayClasses, tablePaginationContainerClasses, tabsBaseClasses, tagBaseClasses, tagCloseButtonBaseClasses, tagCloseIconPath, tagSizeClasses, textAlignClasses, textColorClasses, textDecorationClasses, textSizeClasses, textWeightClasses, 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, toggleKey, togglePanelKey, treeBaseClasses, treeEmptyStateClasses, treeLineClasses, treeLoadingClasses, treeNodeCheckboxClasses, treeNodeChildrenClasses, treeNodeContentClasses, treeNodeDisabledClasses, treeNodeExpandIconClasses, treeNodeExpandIconExpandedClasses, treeNodeHoverClasses, treeNodeIconClasses, treeNodeIndentClasses, treeNodeLabelClasses, treeNodeSelectedClasses, treeNodeWrapperClasses, uploadPlusIconPath, uploadStatusIconColorClasses, uploadStatusIconSizeClasses, validateCurrentPage, validateField, validateFileSize, validateFileType, validateForm, validateRule, version, zoomInIconPath, zoomOutIconPath };
|