@expcat/tigercat-core 0.2.27 → 0.3.69
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 +1455 -1010
- package/dist/index.d.cts +2349 -945
- package/dist/index.d.ts +2349 -945
- package/dist/index.js +1368 -978
- package/package.json +1 -1
package/dist/index.d.cts
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,178 +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;
|
|
1252
|
-
|
|
1253
|
-
/**
|
|
1254
|
-
* Select component types and interfaces
|
|
1255
|
-
*/
|
|
1256
|
-
type SelectValue = string | number;
|
|
1257
|
-
type SelectValues = SelectValue[];
|
|
1258
|
-
type SelectModelValue = SelectValue | SelectValues | undefined;
|
|
1259
|
-
/**
|
|
1260
|
-
* Single select option
|
|
1261
|
-
*/
|
|
1262
|
-
interface SelectOption {
|
|
1263
|
-
/**
|
|
1264
|
-
* Option value
|
|
1265
|
-
*/
|
|
1266
|
-
value: SelectValue;
|
|
1267
|
-
/**
|
|
1268
|
-
* Option label (displayed text)
|
|
1269
|
-
*/
|
|
1270
|
-
label: string;
|
|
1271
|
-
/**
|
|
1272
|
-
* Whether the option is disabled
|
|
1273
|
-
* @default false
|
|
1274
|
-
*/
|
|
1275
|
-
disabled?: boolean;
|
|
1276
|
-
}
|
|
1277
|
-
/**
|
|
1278
|
-
* Option group
|
|
1279
|
-
*/
|
|
1280
|
-
interface SelectOptionGroup {
|
|
1281
|
-
/**
|
|
1282
|
-
* Group label
|
|
1283
|
-
*/
|
|
1284
|
-
label: string;
|
|
1285
|
-
/**
|
|
1286
|
-
* Options in this group
|
|
1287
|
-
*/
|
|
1288
|
-
options: SelectOption[];
|
|
1289
|
-
}
|
|
1290
|
-
type SelectOptions = Array<SelectOption | SelectOptionGroup>;
|
|
1291
|
-
/**
|
|
1292
|
-
* Select size types
|
|
1293
|
-
*/
|
|
1294
|
-
type SelectSize = 'sm' | 'md' | 'lg';
|
|
1295
|
-
/**
|
|
1296
|
-
* Base select props interface
|
|
1297
|
-
*/
|
|
1298
|
-
interface SelectProps {
|
|
1299
|
-
/**
|
|
1300
|
-
* Select size
|
|
1301
|
-
* @default 'md'
|
|
1302
|
-
*/
|
|
1303
|
-
size?: SelectSize;
|
|
1304
|
-
/**
|
|
1305
|
-
* Whether the select is disabled
|
|
1306
|
-
* @default false
|
|
1307
|
-
*/
|
|
1308
|
-
disabled?: boolean;
|
|
1309
|
-
/**
|
|
1310
|
-
* Placeholder text when no option is selected
|
|
1311
|
-
*/
|
|
1312
|
-
placeholder?: string;
|
|
1313
|
-
/**
|
|
1314
|
-
* Whether to allow search/filter
|
|
1315
|
-
* @default false
|
|
1316
|
-
*/
|
|
1317
|
-
searchable?: boolean;
|
|
1318
|
-
/**
|
|
1319
|
-
* Whether to allow multiple selection
|
|
1320
|
-
* @default false
|
|
1321
|
-
*/
|
|
1322
|
-
multiple?: boolean;
|
|
1323
|
-
/**
|
|
1324
|
-
* Whether to clear the selection
|
|
1325
|
-
* @default true
|
|
1326
|
-
*/
|
|
1327
|
-
clearable?: boolean;
|
|
1328
|
-
/**
|
|
1329
|
-
* Options list (can be flat list or grouped)
|
|
1330
|
-
*/
|
|
1331
|
-
options?: SelectOptions;
|
|
1332
|
-
/**
|
|
1333
|
-
* Text to display when no options match search
|
|
1334
|
-
* @default 'No options found'
|
|
1335
|
-
*/
|
|
1336
|
-
noOptionsText?: string;
|
|
1337
|
-
/**
|
|
1338
|
-
* Text to display when options list is empty
|
|
1339
|
-
* @default 'No options available'
|
|
1340
|
-
*/
|
|
1341
|
-
noDataText?: string;
|
|
1342
|
-
}
|
|
1343
|
-
|
|
1344
|
-
/**
|
|
1345
|
-
* Base select container classes
|
|
1346
|
-
*/
|
|
1347
|
-
declare const selectBaseClasses = "relative inline-block w-full";
|
|
1348
|
-
/**
|
|
1349
|
-
* Select dropdown base classes
|
|
1350
|
-
*/
|
|
1351
|
-
declare const selectDropdownBaseClasses = "absolute z-50 w-full mt-1 bg-[var(--tiger-select-dropdown-bg,var(--tiger-surface,#ffffff))] border border-[var(--tiger-select-dropdown-border,var(--tiger-border,#e5e7eb))] rounded-md shadow-lg max-h-60 overflow-auto";
|
|
1352
|
-
/**
|
|
1353
|
-
* Select option base classes
|
|
1354
|
-
*/
|
|
1355
|
-
declare const selectOptionBaseClasses = "w-full px-3 py-2 text-left cursor-pointer transition-colors text-[var(--tiger-select-option-text,var(--tiger-text,#111827))] hover:bg-[var(--tiger-select-option-bg-hover,var(--tiger-outline-bg-hover,#eff6ff))]";
|
|
1356
|
-
/**
|
|
1357
|
-
* Select option selected classes
|
|
1358
|
-
*/
|
|
1359
|
-
declare const selectOptionSelectedClasses = "bg-[var(--tiger-select-option-bg-selected,var(--tiger-outline-bg-hover,#eff6ff))] text-[var(--tiger-select-option-text-selected,var(--tiger-primary,#2563eb))] font-medium";
|
|
1360
|
-
/**
|
|
1361
|
-
* Select option disabled classes
|
|
1362
|
-
*/
|
|
1363
|
-
declare const selectOptionDisabledClasses = "opacity-50 cursor-not-allowed hover:bg-[var(--tiger-select-dropdown-bg,var(--tiger-surface,#ffffff))]";
|
|
1364
|
-
/**
|
|
1365
|
-
* Select group label classes
|
|
1366
|
-
*/
|
|
1367
|
-
declare const selectGroupLabelClasses = "px-3 py-2 text-xs font-semibold text-[var(--tiger-select-group-label-text,var(--tiger-text-muted,#6b7280))] uppercase bg-[var(--tiger-select-group-label-bg,var(--tiger-surface-muted,#f9fafb))]";
|
|
1368
|
-
/**
|
|
1369
|
-
* Select search input classes
|
|
1370
|
-
*/
|
|
1371
|
-
declare const selectSearchInputClasses = "w-full px-3 py-2 bg-[var(--tiger-select-dropdown-bg,var(--tiger-surface,#ffffff))] text-[var(--tiger-select-search-text,var(--tiger-text,#111827))] placeholder:text-[var(--tiger-select-search-placeholder,var(--tiger-text-muted,#9ca3af))] border-b border-[var(--tiger-select-dropdown-border,var(--tiger-border,#e5e7eb))] focus:outline-none focus:ring-0";
|
|
1372
|
-
/**
|
|
1373
|
-
* Select empty state classes
|
|
1374
|
-
*/
|
|
1375
|
-
declare const selectEmptyStateClasses = "px-3 py-8 text-center text-[var(--tiger-select-empty-text,var(--tiger-text-muted,#6b7280))] text-sm";
|
|
1376
|
-
/**
|
|
1377
|
-
* Get select size classes
|
|
1378
|
-
* @param size - Select size variant
|
|
1379
|
-
* @returns Size-specific class string
|
|
1380
|
-
*/
|
|
1381
|
-
declare function getSelectSizeClasses(size: SelectSize): string;
|
|
1382
|
-
/**
|
|
1383
|
-
* Get select trigger classes
|
|
1384
|
-
* @param size - Select size
|
|
1385
|
-
* @param disabled - Whether the select is disabled
|
|
1386
|
-
* @param isOpen - Whether the dropdown is open
|
|
1387
|
-
* @returns Complete trigger class string
|
|
1388
|
-
*/
|
|
1389
|
-
declare function getSelectTriggerClasses(size: SelectSize, disabled: boolean, isOpen: boolean): string;
|
|
1390
|
-
/**
|
|
1391
|
-
* Get select option classes
|
|
1392
|
-
* @param isSelected - Whether the option is selected
|
|
1393
|
-
* @param isDisabled - Whether the option is disabled
|
|
1394
|
-
* @param size - Select size
|
|
1395
|
-
* @returns Complete option class string
|
|
1396
|
-
*/
|
|
1397
|
-
declare function getSelectOptionClasses(isSelected: boolean, isDisabled: boolean, size: SelectSize): string;
|
|
1398
|
-
/**
|
|
1399
|
-
* Type guard to check if an option is a group
|
|
1400
|
-
* @param option - Option to check
|
|
1401
|
-
* @returns True if option is a SelectOptionGroup
|
|
1402
|
-
*/
|
|
1403
|
-
declare function isOptionGroup(option: SelectOption | SelectOptionGroup | null | undefined): option is SelectOptionGroup;
|
|
1404
|
-
/**
|
|
1405
|
-
* Filter options based on search query
|
|
1406
|
-
* @param options - Array of options or option groups to filter
|
|
1407
|
-
* @param query - Search query string
|
|
1408
|
-
* @returns Filtered options array
|
|
1409
|
-
*/
|
|
1410
|
-
declare function filterOptions(options: SelectOptions, query: string): SelectOptions;
|
|
1411
|
-
|
|
1412
1268
|
/**
|
|
1413
|
-
*
|
|
1269
|
+
* Extract value from an input element.
|
|
1270
|
+
* Returns the numeric value for number inputs (if valid), otherwise the string value.
|
|
1414
1271
|
*/
|
|
1415
|
-
|
|
1416
|
-
minRows?: number;
|
|
1417
|
-
maxRows?: number;
|
|
1418
|
-
}
|
|
1419
|
-
declare function autoResizeTextarea(textarea: HTMLTextAreaElement, { minRows, maxRows }?: AutoResizeTextareaOptions): void;
|
|
1272
|
+
declare function parseInputValue(target: HTMLInputElement, type: string): string | number;
|
|
1420
1273
|
|
|
1421
1274
|
/**
|
|
1422
1275
|
* Form component types and interfaces
|
|
@@ -1614,77 +1467,270 @@ interface FormItemProps {
|
|
|
1614
1467
|
size?: FormSize;
|
|
1615
1468
|
}
|
|
1616
1469
|
|
|
1617
|
-
|
|
1618
|
-
|
|
1619
|
-
|
|
1620
|
-
|
|
1621
|
-
|
|
1622
|
-
|
|
1623
|
-
|
|
1624
|
-
|
|
1625
|
-
|
|
1626
|
-
|
|
1627
|
-
|
|
1628
|
-
|
|
1629
|
-
declare function
|
|
1630
|
-
|
|
1631
|
-
|
|
1632
|
-
|
|
1633
|
-
declare function
|
|
1634
|
-
|
|
1635
|
-
* Validate entire form
|
|
1636
|
-
*/
|
|
1637
|
-
declare function validateForm(values: FormValues, rules: FormRules): Promise<FormValidationResult>;
|
|
1638
|
-
/**
|
|
1639
|
-
* Get error message for a specific field
|
|
1640
|
-
*/
|
|
1641
|
-
declare function getFieldError(fieldName: string, errors: FormError[]): string | undefined;
|
|
1642
|
-
/**
|
|
1643
|
-
* Clear errors for specific fields
|
|
1644
|
-
*/
|
|
1645
|
-
declare function clearFieldErrors(fieldNames: string | string[], errors: FormError[]): FormError[];
|
|
1646
|
-
/**
|
|
1647
|
-
* Check if form has errors
|
|
1648
|
-
*/
|
|
1649
|
-
declare function hasErrors(errors: FormError[]): boolean;
|
|
1650
|
-
/**
|
|
1651
|
-
* Get all field names with errors
|
|
1652
|
-
*/
|
|
1653
|
-
declare function getErrorFields(errors: FormError[]): string[];
|
|
1470
|
+
interface FormItemClassOptions {
|
|
1471
|
+
size?: FormSize;
|
|
1472
|
+
labelPosition?: FormLabelPosition;
|
|
1473
|
+
hasError?: boolean;
|
|
1474
|
+
disabled?: boolean;
|
|
1475
|
+
}
|
|
1476
|
+
interface FormItemLabelClassOptions {
|
|
1477
|
+
size?: FormSize;
|
|
1478
|
+
labelPosition?: FormLabelPosition;
|
|
1479
|
+
labelAlign?: FormLabelAlign;
|
|
1480
|
+
isRequired?: boolean;
|
|
1481
|
+
}
|
|
1482
|
+
declare function getFormItemClasses(options?: FormItemClassOptions): string;
|
|
1483
|
+
declare function getFormItemLabelClasses(options?: FormItemLabelClassOptions): string;
|
|
1484
|
+
declare function getFormItemContentClasses(labelPosition?: FormLabelPosition): string;
|
|
1485
|
+
declare function getFormItemFieldClasses(): string;
|
|
1486
|
+
declare function getFormItemErrorClasses(size?: FormSize): string;
|
|
1487
|
+
declare function getFormItemAsteriskClasses(): string;
|
|
1654
1488
|
|
|
1655
1489
|
/**
|
|
1656
|
-
*
|
|
1657
|
-
*/
|
|
1658
|
-
/**
|
|
1659
|
-
* Radio size types
|
|
1490
|
+
* Select component types and interfaces
|
|
1660
1491
|
*/
|
|
1661
|
-
type
|
|
1492
|
+
type SelectValue = string | number;
|
|
1493
|
+
type SelectValues = SelectValue[];
|
|
1494
|
+
type SelectModelValue = SelectValue | SelectValues | undefined;
|
|
1662
1495
|
/**
|
|
1663
|
-
*
|
|
1496
|
+
* Single select option
|
|
1664
1497
|
*/
|
|
1665
|
-
interface
|
|
1498
|
+
interface SelectOption {
|
|
1666
1499
|
/**
|
|
1667
|
-
*
|
|
1500
|
+
* Option value
|
|
1668
1501
|
*/
|
|
1669
|
-
value:
|
|
1502
|
+
value: SelectValue;
|
|
1670
1503
|
/**
|
|
1671
|
-
*
|
|
1672
|
-
* @default 'md'
|
|
1504
|
+
* Option label (displayed text)
|
|
1673
1505
|
*/
|
|
1674
|
-
|
|
1506
|
+
label: string;
|
|
1675
1507
|
/**
|
|
1676
|
-
* Whether the
|
|
1508
|
+
* Whether the option is disabled
|
|
1677
1509
|
* @default false
|
|
1678
1510
|
*/
|
|
1679
1511
|
disabled?: boolean;
|
|
1512
|
+
}
|
|
1513
|
+
/**
|
|
1514
|
+
* Option group
|
|
1515
|
+
*/
|
|
1516
|
+
interface SelectOptionGroup {
|
|
1680
1517
|
/**
|
|
1681
|
-
*
|
|
1518
|
+
* Group label
|
|
1682
1519
|
*/
|
|
1683
|
-
|
|
1520
|
+
label: string;
|
|
1684
1521
|
/**
|
|
1685
|
-
*
|
|
1522
|
+
* Options in this group
|
|
1686
1523
|
*/
|
|
1687
|
-
|
|
1524
|
+
options: SelectOption[];
|
|
1525
|
+
}
|
|
1526
|
+
type SelectOptions = Array<SelectOption | SelectOptionGroup>;
|
|
1527
|
+
/**
|
|
1528
|
+
* Select size types
|
|
1529
|
+
*/
|
|
1530
|
+
type SelectSize = 'sm' | 'md' | 'lg';
|
|
1531
|
+
/**
|
|
1532
|
+
* Base select props interface
|
|
1533
|
+
*/
|
|
1534
|
+
interface SelectProps {
|
|
1535
|
+
/**
|
|
1536
|
+
* Select size
|
|
1537
|
+
* @default 'md'
|
|
1538
|
+
*/
|
|
1539
|
+
size?: SelectSize;
|
|
1540
|
+
/**
|
|
1541
|
+
* Whether the select is disabled
|
|
1542
|
+
* @default false
|
|
1543
|
+
*/
|
|
1544
|
+
disabled?: boolean;
|
|
1545
|
+
/**
|
|
1546
|
+
* Placeholder text when no option is selected
|
|
1547
|
+
*/
|
|
1548
|
+
placeholder?: string;
|
|
1549
|
+
/**
|
|
1550
|
+
* Whether to allow search/filter
|
|
1551
|
+
* @default false
|
|
1552
|
+
*/
|
|
1553
|
+
searchable?: boolean;
|
|
1554
|
+
/**
|
|
1555
|
+
* Whether to allow multiple selection
|
|
1556
|
+
* @default false
|
|
1557
|
+
*/
|
|
1558
|
+
multiple?: boolean;
|
|
1559
|
+
/**
|
|
1560
|
+
* Whether to clear the selection
|
|
1561
|
+
* @default true
|
|
1562
|
+
*/
|
|
1563
|
+
clearable?: boolean;
|
|
1564
|
+
/**
|
|
1565
|
+
* Options list (can be flat list or grouped)
|
|
1566
|
+
*/
|
|
1567
|
+
options?: SelectOptions;
|
|
1568
|
+
/**
|
|
1569
|
+
* Text to display when no options match search
|
|
1570
|
+
* @default 'No options found'
|
|
1571
|
+
*/
|
|
1572
|
+
noOptionsText?: string;
|
|
1573
|
+
/**
|
|
1574
|
+
* Text to display when options list is empty
|
|
1575
|
+
* @default 'No options available'
|
|
1576
|
+
*/
|
|
1577
|
+
noDataText?: string;
|
|
1578
|
+
}
|
|
1579
|
+
|
|
1580
|
+
/**
|
|
1581
|
+
* Base select container classes
|
|
1582
|
+
*/
|
|
1583
|
+
declare const selectBaseClasses = "relative inline-block w-full";
|
|
1584
|
+
/**
|
|
1585
|
+
* Select dropdown base classes
|
|
1586
|
+
*/
|
|
1587
|
+
declare const selectDropdownBaseClasses = "absolute z-50 w-full mt-1 bg-[var(--tiger-select-dropdown-bg,var(--tiger-surface,#ffffff))] border border-[var(--tiger-select-dropdown-border,var(--tiger-border,#e5e7eb))] rounded-md shadow-lg max-h-60 overflow-auto";
|
|
1588
|
+
/**
|
|
1589
|
+
* Select option base classes
|
|
1590
|
+
*/
|
|
1591
|
+
declare const selectOptionBaseClasses = "w-full px-3 py-2 text-left cursor-pointer transition-colors text-[var(--tiger-select-option-text,var(--tiger-text,#111827))] hover:bg-[var(--tiger-select-option-bg-hover,var(--tiger-outline-bg-hover,#eff6ff))]";
|
|
1592
|
+
/**
|
|
1593
|
+
* Select option selected classes
|
|
1594
|
+
*/
|
|
1595
|
+
declare const selectOptionSelectedClasses = "bg-[var(--tiger-select-option-bg-selected,var(--tiger-outline-bg-hover,#eff6ff))] text-[var(--tiger-select-option-text-selected,var(--tiger-primary,#2563eb))] font-medium";
|
|
1596
|
+
/**
|
|
1597
|
+
* Select option disabled classes
|
|
1598
|
+
*/
|
|
1599
|
+
declare const selectOptionDisabledClasses = "opacity-50 cursor-not-allowed hover:bg-[var(--tiger-select-dropdown-bg,var(--tiger-surface,#ffffff))]";
|
|
1600
|
+
/**
|
|
1601
|
+
* Select group label classes
|
|
1602
|
+
*/
|
|
1603
|
+
declare const selectGroupLabelClasses = "px-3 py-2 text-xs font-semibold text-[var(--tiger-select-group-label-text,var(--tiger-text-muted,#6b7280))] uppercase bg-[var(--tiger-select-group-label-bg,var(--tiger-surface-muted,#f9fafb))]";
|
|
1604
|
+
/**
|
|
1605
|
+
* Select search input classes
|
|
1606
|
+
*/
|
|
1607
|
+
declare const selectSearchInputClasses = "w-full px-3 py-2 bg-[var(--tiger-select-dropdown-bg,var(--tiger-surface,#ffffff))] text-[var(--tiger-select-search-text,var(--tiger-text,#111827))] placeholder:text-[var(--tiger-select-search-placeholder,var(--tiger-text-muted,#9ca3af))] border-b border-[var(--tiger-select-dropdown-border,var(--tiger-border,#e5e7eb))] focus:outline-none focus:ring-0";
|
|
1608
|
+
/**
|
|
1609
|
+
* Select empty state classes
|
|
1610
|
+
*/
|
|
1611
|
+
declare const selectEmptyStateClasses = "px-3 py-8 text-center text-[var(--tiger-select-empty-text,var(--tiger-text-muted,#6b7280))] text-sm";
|
|
1612
|
+
/**
|
|
1613
|
+
* Get select size classes
|
|
1614
|
+
* @param size - Select size variant
|
|
1615
|
+
* @returns Size-specific class string
|
|
1616
|
+
*/
|
|
1617
|
+
declare function getSelectSizeClasses(size: SelectSize): string;
|
|
1618
|
+
/**
|
|
1619
|
+
* Get select trigger classes
|
|
1620
|
+
* @param size - Select size
|
|
1621
|
+
* @param disabled - Whether the select is disabled
|
|
1622
|
+
* @param isOpen - Whether the dropdown is open
|
|
1623
|
+
* @returns Complete trigger class string
|
|
1624
|
+
*/
|
|
1625
|
+
declare function getSelectTriggerClasses(size: SelectSize, disabled: boolean, isOpen: boolean): string;
|
|
1626
|
+
/**
|
|
1627
|
+
* Get select option classes
|
|
1628
|
+
* @param isSelected - Whether the option is selected
|
|
1629
|
+
* @param isDisabled - Whether the option is disabled
|
|
1630
|
+
* @param size - Select size
|
|
1631
|
+
* @returns Complete option class string
|
|
1632
|
+
*/
|
|
1633
|
+
declare function getSelectOptionClasses(isSelected: boolean, isDisabled: boolean, size: SelectSize): string;
|
|
1634
|
+
/**
|
|
1635
|
+
* Type guard to check if an option is a group
|
|
1636
|
+
* @param option - Option to check
|
|
1637
|
+
* @returns True if option is a SelectOptionGroup
|
|
1638
|
+
*/
|
|
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[];
|
|
1646
|
+
/**
|
|
1647
|
+
* Filter options based on search query
|
|
1648
|
+
* @param options - Array of options or option groups to filter
|
|
1649
|
+
* @param query - Search query string
|
|
1650
|
+
* @returns Filtered options array
|
|
1651
|
+
*/
|
|
1652
|
+
declare function filterOptions(options: SelectOptions, query: string): SelectOptions;
|
|
1653
|
+
|
|
1654
|
+
/**
|
|
1655
|
+
* Textarea auto-resize utility
|
|
1656
|
+
*/
|
|
1657
|
+
interface AutoResizeTextareaOptions {
|
|
1658
|
+
minRows?: number;
|
|
1659
|
+
maxRows?: number;
|
|
1660
|
+
}
|
|
1661
|
+
declare function autoResizeTextarea(textarea: HTMLTextAreaElement, { minRows, maxRows }?: AutoResizeTextareaOptions): void;
|
|
1662
|
+
|
|
1663
|
+
/**
|
|
1664
|
+
* Form validation utilities
|
|
1665
|
+
*/
|
|
1666
|
+
|
|
1667
|
+
declare function getValueByPath(values: FormValues | undefined, path: string): unknown;
|
|
1668
|
+
/**
|
|
1669
|
+
* Validate a single value against a rule
|
|
1670
|
+
* @param value - Value to validate
|
|
1671
|
+
* @param rule - Validation rule to apply
|
|
1672
|
+
* @param allValues - All form values for cross-field validation
|
|
1673
|
+
* @returns Error message string if validation fails, null if passes
|
|
1674
|
+
*/
|
|
1675
|
+
declare function validateRule(value: unknown, rule: FormRule, allValues?: FormValues): Promise<string | null>;
|
|
1676
|
+
/**
|
|
1677
|
+
* Validate a field against its rules
|
|
1678
|
+
*/
|
|
1679
|
+
declare function validateField(fieldName: string, value: unknown, rules: FormRule | FormRule[] | undefined, allValues?: FormValues, trigger?: FormRuleTrigger): Promise<string | null>;
|
|
1680
|
+
/**
|
|
1681
|
+
* Validate entire form
|
|
1682
|
+
*/
|
|
1683
|
+
declare function validateForm(values: FormValues, rules: FormRules): Promise<FormValidationResult>;
|
|
1684
|
+
/**
|
|
1685
|
+
* Get error message for a specific field
|
|
1686
|
+
*/
|
|
1687
|
+
declare function getFieldError(fieldName: string, errors: FormError[]): string | undefined;
|
|
1688
|
+
/**
|
|
1689
|
+
* Clear errors for specific fields
|
|
1690
|
+
*/
|
|
1691
|
+
declare function clearFieldErrors(fieldNames: string | string[], errors: FormError[]): FormError[];
|
|
1692
|
+
/**
|
|
1693
|
+
* Check if form has errors
|
|
1694
|
+
*/
|
|
1695
|
+
declare function hasErrors(errors: FormError[]): boolean;
|
|
1696
|
+
/**
|
|
1697
|
+
* Get all field names with errors
|
|
1698
|
+
*/
|
|
1699
|
+
declare function getErrorFields(errors: FormError[]): string[];
|
|
1700
|
+
|
|
1701
|
+
/**
|
|
1702
|
+
* Radio component types and interfaces
|
|
1703
|
+
*/
|
|
1704
|
+
/**
|
|
1705
|
+
* Radio size types
|
|
1706
|
+
*/
|
|
1707
|
+
type RadioSize = 'sm' | 'md' | 'lg';
|
|
1708
|
+
/**
|
|
1709
|
+
* Base radio props interface
|
|
1710
|
+
*/
|
|
1711
|
+
interface RadioProps {
|
|
1712
|
+
/**
|
|
1713
|
+
* The value of the radio
|
|
1714
|
+
*/
|
|
1715
|
+
value: string | number;
|
|
1716
|
+
/**
|
|
1717
|
+
* Radio size
|
|
1718
|
+
* @default 'md'
|
|
1719
|
+
*/
|
|
1720
|
+
size?: RadioSize;
|
|
1721
|
+
/**
|
|
1722
|
+
* Whether the radio is disabled
|
|
1723
|
+
* @default false
|
|
1724
|
+
*/
|
|
1725
|
+
disabled?: boolean;
|
|
1726
|
+
/**
|
|
1727
|
+
* Name attribute for the radio input (for grouping)
|
|
1728
|
+
*/
|
|
1729
|
+
name?: string;
|
|
1730
|
+
/**
|
|
1731
|
+
* Whether the radio is checked (controlled mode)
|
|
1732
|
+
*/
|
|
1733
|
+
checked?: boolean;
|
|
1688
1734
|
/**
|
|
1689
1735
|
* Default checked state (uncontrolled mode)
|
|
1690
1736
|
* @default false
|
|
@@ -1837,11 +1883,9 @@ interface RadioColorScheme {
|
|
|
1837
1883
|
*/
|
|
1838
1884
|
declare const defaultRadioColors: RadioColorScheme;
|
|
1839
1885
|
/**
|
|
1840
|
-
*
|
|
1841
|
-
* @param colors - Radio color scheme (uses default if not provided)
|
|
1842
|
-
* @returns Radio color scheme with all class strings
|
|
1886
|
+
* @deprecated Use `defaultRadioColors` directly. This is an identity function kept for backward compatibility.
|
|
1843
1887
|
*/
|
|
1844
|
-
declare
|
|
1888
|
+
declare const getRadioColorClasses: (colors?: RadioColorScheme) => RadioColorScheme;
|
|
1845
1889
|
/**
|
|
1846
1890
|
* Link color scheme interface
|
|
1847
1891
|
* Defines all color-related classes for link variants
|
|
@@ -1887,6 +1931,12 @@ interface LinkThemeColors {
|
|
|
1887
1931
|
declare const defaultLinkThemeColors: LinkThemeColors;
|
|
1888
1932
|
/**
|
|
1889
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.
|
|
1890
1940
|
*/
|
|
1891
1941
|
declare function getLinkVariantClasses(variant: keyof LinkThemeColors, colors?: LinkThemeColors, options?: {
|
|
1892
1942
|
disabled?: boolean;
|
|
@@ -2013,49 +2063,22 @@ declare const defaultTagThemeColors: TagThemeColors;
|
|
|
2013
2063
|
declare function getTagVariantClasses(variant: keyof TagThemeColors, colors?: TagThemeColors): string;
|
|
2014
2064
|
/**
|
|
2015
2065
|
* Badge color scheme interface
|
|
2016
|
-
* Defines all color-related classes for badge variants
|
|
2017
2066
|
*/
|
|
2018
2067
|
interface BadgeColorScheme {
|
|
2019
|
-
/**
|
|
2020
|
-
* Background color class
|
|
2021
|
-
*/
|
|
2068
|
+
/** Background color class */
|
|
2022
2069
|
bg: string;
|
|
2023
|
-
/**
|
|
2024
|
-
* Text color class
|
|
2025
|
-
*/
|
|
2070
|
+
/** Text color class */
|
|
2026
2071
|
text: string;
|
|
2027
|
-
/**
|
|
2028
|
-
* Border color class (optional)
|
|
2029
|
-
*/
|
|
2030
|
-
border?: string;
|
|
2031
2072
|
}
|
|
2032
2073
|
/**
|
|
2033
2074
|
* Badge theme colors configuration for all variants
|
|
2034
2075
|
*/
|
|
2035
2076
|
interface BadgeThemeColors {
|
|
2036
|
-
/**
|
|
2037
|
-
* Default badge theme (gray background)
|
|
2038
|
-
*/
|
|
2039
2077
|
default: BadgeColorScheme;
|
|
2040
|
-
/**
|
|
2041
|
-
* Primary badge theme (blue background)
|
|
2042
|
-
*/
|
|
2043
2078
|
primary: BadgeColorScheme;
|
|
2044
|
-
/**
|
|
2045
|
-
* Success badge theme (green background)
|
|
2046
|
-
*/
|
|
2047
2079
|
success: BadgeColorScheme;
|
|
2048
|
-
/**
|
|
2049
|
-
* Warning badge theme (yellow background)
|
|
2050
|
-
*/
|
|
2051
2080
|
warning: BadgeColorScheme;
|
|
2052
|
-
/**
|
|
2053
|
-
* Danger badge theme (red background)
|
|
2054
|
-
*/
|
|
2055
2081
|
danger: BadgeColorScheme;
|
|
2056
|
-
/**
|
|
2057
|
-
* Info badge theme (light blue background)
|
|
2058
|
-
*/
|
|
2059
2082
|
info: BadgeColorScheme;
|
|
2060
2083
|
}
|
|
2061
2084
|
/**
|
|
@@ -2064,9 +2087,6 @@ interface BadgeThemeColors {
|
|
|
2064
2087
|
declare const defaultBadgeThemeColors: BadgeThemeColors;
|
|
2065
2088
|
/**
|
|
2066
2089
|
* Get badge variant classes based on theme colors
|
|
2067
|
-
* @param variant - Badge variant type
|
|
2068
|
-
* @param colors - Badge theme colors configuration (uses default if not provided)
|
|
2069
|
-
* @returns Combined class string for the badge variant
|
|
2070
2090
|
*/
|
|
2071
2091
|
declare function getBadgeVariantClasses(variant: keyof BadgeThemeColors, colors?: BadgeThemeColors): string;
|
|
2072
2092
|
/**
|
|
@@ -2236,9 +2256,8 @@ declare const getRadioLabelClasses: ({ size, disabled, colors }: GetRadioLabelCl
|
|
|
2236
2256
|
declare const radioGroupDefaultClasses = "space-y-2";
|
|
2237
2257
|
interface GetRadioGroupClassesOptions {
|
|
2238
2258
|
className?: ClassValue;
|
|
2239
|
-
hasCustomClass?: boolean;
|
|
2240
2259
|
}
|
|
2241
|
-
declare const getRadioGroupClasses: ({ className
|
|
2260
|
+
declare const getRadioGroupClasses: ({ className }?: GetRadioGroupClassesOptions) => string;
|
|
2242
2261
|
|
|
2243
2262
|
/**
|
|
2244
2263
|
* Date utility functions for DatePicker
|
|
@@ -2365,7 +2384,9 @@ declare const datePickerCalendarGridClasses: string;
|
|
|
2365
2384
|
*/
|
|
2366
2385
|
declare const datePickerDayNameClasses: string;
|
|
2367
2386
|
/**
|
|
2368
|
-
* 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).
|
|
2369
2390
|
*/
|
|
2370
2391
|
declare function getDatePickerDayCellClasses(isCurrentMonth: boolean, isSelected: boolean, isToday: boolean, isDisabled: boolean, isInRange?: boolean, isRangeStart?: boolean, isRangeEnd?: boolean): string;
|
|
2371
2392
|
/**
|
|
@@ -2531,11 +2552,10 @@ declare function validateFileSize(file: File, maxSize?: number): boolean;
|
|
|
2531
2552
|
declare function formatFileSize(bytes: number): string;
|
|
2532
2553
|
/**
|
|
2533
2554
|
* Get upload button classes
|
|
2534
|
-
* @param drag - Whether in drag mode
|
|
2535
2555
|
* @param disabled - Whether the button is disabled
|
|
2536
2556
|
* @returns Complete button class string
|
|
2537
2557
|
*/
|
|
2538
|
-
declare function getUploadButtonClasses(
|
|
2558
|
+
declare function getUploadButtonClasses(disabled: boolean): string;
|
|
2539
2559
|
/**
|
|
2540
2560
|
* Get drag area classes
|
|
2541
2561
|
* @param isDragging - Whether currently dragging
|
|
@@ -2636,6 +2656,11 @@ type ColOffset = number | Partial<Record<Breakpoint, number>>;
|
|
|
2636
2656
|
type ColOrder = number | Partial<Record<Breakpoint, number>>;
|
|
2637
2657
|
declare function getColStyleVars(span?: ColSpan, offset?: ColOffset): Record<string, string>;
|
|
2638
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>;
|
|
2639
2664
|
/**
|
|
2640
2665
|
* Get align classes for Row component
|
|
2641
2666
|
*/
|
|
@@ -2716,24 +2741,14 @@ interface DividerProps {
|
|
|
2716
2741
|
}
|
|
2717
2742
|
|
|
2718
2743
|
/**
|
|
2719
|
-
* Get
|
|
2720
|
-
* @param spacing - Spacing size
|
|
2721
|
-
* @param orientation - Divider orientation
|
|
2722
|
-
* @returns Spacing class string
|
|
2744
|
+
* Get combined Tailwind classes for a divider
|
|
2723
2745
|
*/
|
|
2724
|
-
declare function
|
|
2746
|
+
declare function getDividerClasses(orientation: DividerOrientation, lineStyle: DividerLineStyle, spacing: DividerSpacing): string;
|
|
2725
2747
|
/**
|
|
2726
|
-
* Get
|
|
2727
|
-
*
|
|
2728
|
-
* @returns Border style class string
|
|
2748
|
+
* Get inline style object for custom color / thickness
|
|
2749
|
+
* Returns undefined when no custom values are set (avoids empty object allocation)
|
|
2729
2750
|
*/
|
|
2730
|
-
declare function
|
|
2731
|
-
/**
|
|
2732
|
-
* Get base divider classes based on orientation
|
|
2733
|
-
* @param orientation - Divider orientation
|
|
2734
|
-
* @returns Base divider class string
|
|
2735
|
-
*/
|
|
2736
|
-
declare function getDividerOrientationClasses(orientation: DividerOrientation): string;
|
|
2751
|
+
declare function getDividerStyle(orientation: DividerOrientation, color?: string, thickness?: string): Record<string, string> | undefined;
|
|
2737
2752
|
|
|
2738
2753
|
/**
|
|
2739
2754
|
* Layout component shared classes
|
|
@@ -2742,7 +2757,7 @@ declare function getDividerOrientationClasses(orientation: DividerOrientation):
|
|
|
2742
2757
|
*/
|
|
2743
2758
|
declare const layoutRootClasses = "tiger-layout flex flex-col min-h-screen";
|
|
2744
2759
|
declare const layoutHeaderClasses = "tiger-header bg-[var(--tiger-surface,#ffffff)] border-b border-[var(--tiger-border,#e5e7eb)]";
|
|
2745
|
-
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";
|
|
2746
2761
|
declare const layoutContentClasses = "tiger-content flex-1 bg-[var(--tiger-layout-content-bg,#f9fafb)] p-6";
|
|
2747
2762
|
declare const layoutFooterClasses = "tiger-footer bg-[var(--tiger-surface,#ffffff)] border-t border-[var(--tiger-border,#e5e7eb)] p-4";
|
|
2748
2763
|
|
|
@@ -2841,30 +2856,18 @@ interface SpaceProps {
|
|
|
2841
2856
|
*/
|
|
2842
2857
|
|
|
2843
2858
|
/**
|
|
2844
|
-
*
|
|
2845
|
-
|
|
2846
|
-
|
|
2847
|
-
|
|
2848
|
-
* Get gap size class or style based on SpaceSize
|
|
2849
|
-
* @param size - Space size (preset or custom number)
|
|
2850
|
-
* @returns Object with class or style property
|
|
2851
|
-
*/
|
|
2852
|
-
declare function getSpaceGapSize(size?: SpaceSize): {
|
|
2853
|
-
class?: string;
|
|
2854
|
-
style?: string;
|
|
2855
|
-
};
|
|
2856
|
-
/**
|
|
2857
|
-
* Get alignment class based on SpaceAlign
|
|
2858
|
-
* @param align - Alignment option
|
|
2859
|
-
* @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
|
|
2860
2863
|
*/
|
|
2861
|
-
declare function
|
|
2864
|
+
declare function getSpaceClasses({ direction, size, align, wrap }?: SpaceProps, className?: string): string;
|
|
2862
2865
|
/**
|
|
2863
|
-
*
|
|
2864
|
-
* @param
|
|
2865
|
-
* @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
|
|
2866
2869
|
*/
|
|
2867
|
-
declare function
|
|
2870
|
+
declare function getSpaceStyle(size?: SpaceSize): Record<string, string> | undefined;
|
|
2868
2871
|
|
|
2869
2872
|
/**
|
|
2870
2873
|
* Table component types and interfaces
|
|
@@ -3180,6 +3183,11 @@ interface TableProps<T = Record<string, unknown>> {
|
|
|
3180
3183
|
* Max height for scrollable table
|
|
3181
3184
|
*/
|
|
3182
3185
|
maxHeight?: string | number;
|
|
3186
|
+
/**
|
|
3187
|
+
* Table layout algorithm
|
|
3188
|
+
* @default 'auto'
|
|
3189
|
+
*/
|
|
3190
|
+
tableLayout?: 'auto' | 'fixed';
|
|
3183
3191
|
}
|
|
3184
3192
|
|
|
3185
3193
|
/**
|
|
@@ -3238,7 +3246,7 @@ declare function getSortIconClasses(active: boolean): string;
|
|
|
3238
3246
|
/**
|
|
3239
3247
|
* Get empty state classes
|
|
3240
3248
|
*/
|
|
3241
|
-
declare const tableEmptyStateClasses = "text-center py-12 text-
|
|
3249
|
+
declare const tableEmptyStateClasses = "text-center py-12 text-[var(--tiger-text-muted,#6b7280)]";
|
|
3242
3250
|
/**
|
|
3243
3251
|
* Get loading overlay classes
|
|
3244
3252
|
*/
|
|
@@ -3310,122 +3318,65 @@ declare const tagCloseButtonBaseClasses = "inline-flex items-center justify-cent
|
|
|
3310
3318
|
declare const tagCloseIconPath = "M6 18L18 6M6 6l12 12";
|
|
3311
3319
|
|
|
3312
3320
|
/**
|
|
3313
|
-
* Badge component types
|
|
3314
|
-
*/
|
|
3315
|
-
/**
|
|
3316
|
-
* Badge variant types
|
|
3321
|
+
* Badge component types
|
|
3317
3322
|
*/
|
|
3323
|
+
/** Badge variant types */
|
|
3318
3324
|
type BadgeVariant = 'default' | 'primary' | 'success' | 'warning' | 'danger' | 'info';
|
|
3319
|
-
/**
|
|
3320
|
-
* Badge size types
|
|
3321
|
-
*/
|
|
3325
|
+
/** Badge size types */
|
|
3322
3326
|
type BadgeSize = 'sm' | 'md' | 'lg';
|
|
3323
|
-
/**
|
|
3324
|
-
* Badge display types
|
|
3325
|
-
*/
|
|
3327
|
+
/** Badge display types */
|
|
3326
3328
|
type BadgeType = 'dot' | 'number' | 'text';
|
|
3327
|
-
/**
|
|
3328
|
-
* Badge position types (for positioning badge on wrapper)
|
|
3329
|
-
*/
|
|
3329
|
+
/** Badge position types (for non-standalone mode) */
|
|
3330
3330
|
type BadgePosition = 'top-right' | 'top-left' | 'bottom-right' | 'bottom-left';
|
|
3331
|
-
/**
|
|
3332
|
-
* Base badge props interface
|
|
3333
|
-
*/
|
|
3331
|
+
/** Base badge props interface */
|
|
3334
3332
|
interface BadgeProps {
|
|
3333
|
+
/** Badge variant style @default 'danger' */
|
|
3334
|
+
variant?: BadgeVariant;
|
|
3335
|
+
/** Badge size @default 'md' */
|
|
3336
|
+
size?: BadgeSize;
|
|
3337
|
+
/** Badge display type @default 'number' */
|
|
3338
|
+
type?: BadgeType;
|
|
3335
3339
|
/**
|
|
3336
|
-
* Badge
|
|
3337
|
-
*
|
|
3338
|
-
*/
|
|
3339
|
-
variant?: BadgeVariant;
|
|
3340
|
-
/**
|
|
3341
|
-
* Badge size
|
|
3342
|
-
* @default 'md'
|
|
3343
|
-
*/
|
|
3344
|
-
size?: BadgeSize;
|
|
3345
|
-
/**
|
|
3346
|
-
* Badge display type
|
|
3347
|
-
* @default 'number'
|
|
3348
|
-
*/
|
|
3349
|
-
type?: BadgeType;
|
|
3350
|
-
/**
|
|
3351
|
-
* Badge content (number or text)
|
|
3352
|
-
* For type='number', this should be a number or string
|
|
3353
|
-
* For type='text', this should be a string
|
|
3354
|
-
* For type='dot', this prop is ignored
|
|
3340
|
+
* Badge content (number or text).
|
|
3341
|
+
* Ignored when type='dot'.
|
|
3355
3342
|
*/
|
|
3356
3343
|
content?: number | string;
|
|
3357
|
-
/**
|
|
3358
|
-
* Maximum count to display (only for type='number')
|
|
3359
|
-
* When content exceeds max, displays 'max+' (e.g., '99+')
|
|
3360
|
-
* @default 99
|
|
3361
|
-
*/
|
|
3344
|
+
/** Maximum count (type='number' only). Exceeds shows 'max+'. @default 99 */
|
|
3362
3345
|
max?: number;
|
|
3363
|
-
/**
|
|
3364
|
-
* Whether to show zero count
|
|
3365
|
-
* @default false
|
|
3366
|
-
*/
|
|
3346
|
+
/** Whether to show zero count @default false */
|
|
3367
3347
|
showZero?: boolean;
|
|
3368
|
-
/**
|
|
3369
|
-
* Badge position when used as wrapper (standalone mode)
|
|
3370
|
-
* @default 'top-right'
|
|
3371
|
-
*/
|
|
3348
|
+
/** Badge position in non-standalone mode @default 'top-right' */
|
|
3372
3349
|
position?: BadgePosition;
|
|
3373
|
-
/**
|
|
3374
|
-
* Whether badge is standalone or wrapping content
|
|
3375
|
-
* When true, badge is displayed inline
|
|
3376
|
-
* When false, badge wraps children and positions badge absolutely
|
|
3377
|
-
* @default true
|
|
3378
|
-
*/
|
|
3350
|
+
/** Standalone (inline) or wrapping children @default true */
|
|
3379
3351
|
standalone?: boolean;
|
|
3380
|
-
/**
|
|
3381
|
-
* Additional CSS classes
|
|
3382
|
-
*/
|
|
3352
|
+
/** Additional CSS classes */
|
|
3383
3353
|
className?: string;
|
|
3384
3354
|
}
|
|
3385
3355
|
|
|
3386
3356
|
/**
|
|
3387
3357
|
* Badge component utilities
|
|
3388
|
-
* Shared styles and helpers for Badge components
|
|
3389
3358
|
*/
|
|
3390
3359
|
|
|
3391
|
-
/**
|
|
3392
|
-
* Base classes for all badge variants
|
|
3393
|
-
*/
|
|
3360
|
+
/** Base classes for all badge variants */
|
|
3394
3361
|
declare const badgeBaseClasses = "inline-flex items-center justify-center font-medium transition-colors";
|
|
3395
|
-
/**
|
|
3396
|
-
* Size classes for badge variants
|
|
3397
|
-
*/
|
|
3362
|
+
/** Size classes for badge content (number/text) */
|
|
3398
3363
|
declare const badgeSizeClasses: Record<BadgeSize, string>;
|
|
3399
|
-
/**
|
|
3400
|
-
* Dot size classes
|
|
3401
|
-
*/
|
|
3364
|
+
/** Size classes for dot badges */
|
|
3402
3365
|
declare const dotSizeClasses: Record<BadgeSize, string>;
|
|
3403
|
-
/**
|
|
3404
|
-
* Badge type specific classes
|
|
3405
|
-
*/
|
|
3366
|
+
/** Shape classes per badge type */
|
|
3406
3367
|
declare const badgeTypeClasses: Record<BadgeType, string>;
|
|
3407
|
-
/**
|
|
3408
|
-
* Wrapper classes when badge is not standalone
|
|
3409
|
-
*/
|
|
3368
|
+
/** Wrapper classes for non-standalone badge */
|
|
3410
3369
|
declare const badgeWrapperClasses = "relative inline-flex";
|
|
3411
|
-
/**
|
|
3412
|
-
* Position classes for badge when used as wrapper
|
|
3413
|
-
*/
|
|
3370
|
+
/** Position classes for non-standalone badge */
|
|
3414
3371
|
declare const badgePositionClasses: Record<BadgePosition, string>;
|
|
3415
3372
|
/**
|
|
3416
|
-
* Format badge content for display
|
|
3417
|
-
*
|
|
3418
|
-
* @param max - Maximum count to display
|
|
3419
|
-
* @param showZero - Whether to show zero count
|
|
3420
|
-
* @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).
|
|
3421
3375
|
*/
|
|
3422
3376
|
declare function formatBadgeContent(content: number | string | undefined, max?: number, showZero?: boolean): string | null;
|
|
3423
3377
|
/**
|
|
3424
|
-
* Check if badge should be hidden
|
|
3425
|
-
*
|
|
3426
|
-
* @param type - Badge type
|
|
3427
|
-
* @param showZero - Whether to show zero count
|
|
3428
|
-
* @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.
|
|
3429
3380
|
*/
|
|
3430
3381
|
declare function shouldHideBadge(content: number | string | undefined, type: BadgeType, showZero: boolean): boolean;
|
|
3431
3382
|
|
|
@@ -3470,7 +3421,6 @@ declare const cardSizeClasses: Record<CardSize, string>;
|
|
|
3470
3421
|
declare const cardVariantClasses: Record<CardVariant, string>;
|
|
3471
3422
|
declare const cardHoverClasses = "cursor-pointer hover:shadow-xl hover:scale-[1.02]";
|
|
3472
3423
|
declare const cardHeaderClasses = "border-b border-[var(--tiger-border,#e5e7eb)] pb-3 mb-3";
|
|
3473
|
-
declare const cardBodyClasses = "";
|
|
3474
3424
|
declare const cardFooterClasses = "border-t border-[var(--tiger-border,#e5e7eb)] pt-3 mt-3";
|
|
3475
3425
|
declare const cardCoverClasses = "w-full h-48 object-cover";
|
|
3476
3426
|
declare const cardCoverWrapperClasses = "overflow-hidden";
|
|
@@ -3515,11 +3465,6 @@ interface AvatarProps {
|
|
|
3515
3465
|
* Used when src is not provided or fails to load
|
|
3516
3466
|
*/
|
|
3517
3467
|
text?: string;
|
|
3518
|
-
/**
|
|
3519
|
-
* Icon content (slot/children)
|
|
3520
|
-
* Used when both src and text are not provided
|
|
3521
|
-
*/
|
|
3522
|
-
icon?: boolean;
|
|
3523
3468
|
/**
|
|
3524
3469
|
* Background color for text/icon avatars
|
|
3525
3470
|
* Uses Tailwind color classes or CSS color value
|
|
@@ -3783,12 +3728,6 @@ declare const listEmptyStateClasses = "py-8 text-center text-[var(--tiger-text-m
|
|
|
3783
3728
|
* List loading overlay classes
|
|
3784
3729
|
*/
|
|
3785
3730
|
declare const listLoadingOverlayClasses = "absolute inset-0 bg-[var(--tiger-surface,#ffffff)]/75 flex items-center justify-center z-10";
|
|
3786
|
-
/**
|
|
3787
|
-
* List pagination container classes
|
|
3788
|
-
* @deprecated Use `getSimplePaginationContainerClasses()` from pagination-utils instead.
|
|
3789
|
-
* This constant will be removed in v0.3.0.
|
|
3790
|
-
*/
|
|
3791
|
-
declare const listPaginationContainerClasses = "flex items-center justify-between px-4 py-3 border-t border-[var(--tiger-border,#e5e7eb)]";
|
|
3792
3731
|
/**
|
|
3793
3732
|
* List item meta classes (for avatar + content)
|
|
3794
3733
|
*/
|
|
@@ -3948,10 +3887,6 @@ declare const descriptionsExtraClasses = "text-sm text-[var(--tiger-text-muted,#
|
|
|
3948
3887
|
declare const descriptionsSizeClasses: Record<DescriptionsSize, string>;
|
|
3949
3888
|
declare const descriptionsTableClasses = "w-full border-collapse";
|
|
3950
3889
|
declare const descriptionsTableBorderedClasses = "border border-[var(--tiger-border,#e5e7eb)]";
|
|
3951
|
-
/**
|
|
3952
|
-
* Descriptions row classes
|
|
3953
|
-
*/
|
|
3954
|
-
declare const descriptionsRowClasses = "";
|
|
3955
3890
|
/**
|
|
3956
3891
|
* Size classes for descriptions cells
|
|
3957
3892
|
*/
|
|
@@ -3963,7 +3898,7 @@ declare const descriptionsContentBorderedClasses = "border border-[var(--tiger-b
|
|
|
3963
3898
|
/**
|
|
3964
3899
|
* Vertical layout wrapper classes
|
|
3965
3900
|
*/
|
|
3966
|
-
declare const descriptionsVerticalWrapperClasses = "
|
|
3901
|
+
declare const descriptionsVerticalWrapperClasses = "";
|
|
3967
3902
|
/**
|
|
3968
3903
|
* Vertical layout item classes
|
|
3969
3904
|
*/
|
|
@@ -3978,11 +3913,10 @@ declare const descriptionsVerticalLabelClasses = "font-medium mb-1 text-[var(--t
|
|
|
3978
3913
|
declare const descriptionsVerticalContentClasses = "text-[var(--tiger-text,#111827)]";
|
|
3979
3914
|
/**
|
|
3980
3915
|
* Get descriptions container classes
|
|
3981
|
-
* @param bordered - Whether to show border
|
|
3982
3916
|
* @param size - Descriptions size
|
|
3983
3917
|
* @returns Combined class string
|
|
3984
3918
|
*/
|
|
3985
|
-
declare function getDescriptionsClasses(
|
|
3919
|
+
declare function getDescriptionsClasses(size: DescriptionsSize): string;
|
|
3986
3920
|
/**
|
|
3987
3921
|
* Get descriptions table classes
|
|
3988
3922
|
* @param bordered - Whether to show border
|
|
@@ -4007,11 +3941,10 @@ declare function getDescriptionsLabelClasses(bordered: boolean, size: Descriptio
|
|
|
4007
3941
|
declare function getDescriptionsContentClasses(bordered: boolean, size: DescriptionsSize, layout: DescriptionsLayout): string;
|
|
4008
3942
|
/**
|
|
4009
3943
|
* Get descriptions vertical item classes
|
|
4010
|
-
* @param bordered - Whether to show border
|
|
4011
3944
|
* @param size - Descriptions size
|
|
4012
3945
|
* @returns Combined class string
|
|
4013
3946
|
*/
|
|
4014
|
-
declare function getDescriptionsVerticalItemClasses(
|
|
3947
|
+
declare function getDescriptionsVerticalItemClasses(size: DescriptionsSize): string;
|
|
4015
3948
|
/**
|
|
4016
3949
|
* Group items into rows based on column configuration
|
|
4017
3950
|
* @param items - Array of description items
|
|
@@ -4095,95 +4028,22 @@ interface TimelineProps {
|
|
|
4095
4028
|
className?: string;
|
|
4096
4029
|
}
|
|
4097
4030
|
|
|
4098
|
-
/**
|
|
4099
|
-
* Timeline component utilities
|
|
4100
|
-
* Shared styles and helpers for Timeline components
|
|
4101
|
-
*/
|
|
4102
|
-
|
|
4103
|
-
/**
|
|
4104
|
-
* Base timeline container classes
|
|
4105
|
-
*/
|
|
4106
4031
|
declare const timelineContainerClasses = "relative";
|
|
4107
|
-
/**
|
|
4108
|
-
* Timeline list classes
|
|
4109
|
-
*/
|
|
4110
4032
|
declare const timelineListClasses = "list-none m-0 p-0";
|
|
4111
|
-
|
|
4112
|
-
* Timeline item base classes
|
|
4113
|
-
*/
|
|
4114
|
-
declare const timelineItemClasses = "relative pb-8 last:pb-0";
|
|
4115
|
-
/**
|
|
4116
|
-
* Timeline item tail (connector line) classes
|
|
4117
|
-
*/
|
|
4033
|
+
declare const timelineItemClasses = "relative pb-8";
|
|
4118
4034
|
declare const timelineTailClasses = "absolute w-0.5 bg-[var(--tiger-border,#e5e7eb)]";
|
|
4119
|
-
|
|
4120
|
-
* Timeline item head (dot container) classes
|
|
4121
|
-
*/
|
|
4122
|
-
declare const timelineHeadClasses = "absolute flex items-center justify-center";
|
|
4123
|
-
declare const timelineDotClasses = "w-2.5 h-2.5 rounded-full border-2 border-[var(--tiger-surface,#ffffff)] bg-[var(--tiger-timeline-dot,#d1d5db)]";
|
|
4124
|
-
/**
|
|
4125
|
-
* Timeline custom dot classes
|
|
4126
|
-
*/
|
|
4127
|
-
declare const timelineCustomDotClasses = "flex items-center justify-center";
|
|
4128
|
-
/**
|
|
4129
|
-
* Timeline content wrapper classes
|
|
4130
|
-
*/
|
|
4035
|
+
declare const timelineHeadClasses = "absolute z-10 flex items-center justify-center";
|
|
4131
4036
|
declare const timelineContentClasses = "relative";
|
|
4132
|
-
|
|
4133
|
-
* Timeline label classes
|
|
4134
|
-
*/
|
|
4037
|
+
declare const timelineCustomDotClasses = "flex items-center justify-center";
|
|
4135
4038
|
declare const timelineLabelClasses = "text-sm text-[var(--tiger-text-muted,#6b7280)] mb-1";
|
|
4136
|
-
/**
|
|
4137
|
-
* Timeline description classes
|
|
4138
|
-
*/
|
|
4139
4039
|
declare const timelineDescriptionClasses = "text-[var(--tiger-text,#374151)]";
|
|
4140
|
-
|
|
4141
|
-
* Get timeline container classes based on mode
|
|
4142
|
-
* @param mode - Timeline mode (left, right, alternate)
|
|
4143
|
-
* @returns Combined class string for timeline container
|
|
4144
|
-
*/
|
|
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)]";
|
|
4145
4041
|
declare function getTimelineContainerClasses(mode: TimelineMode): string;
|
|
4146
|
-
/**
|
|
4147
|
-
* Get timeline item classes based on mode and position
|
|
4148
|
-
* @param mode - Timeline mode
|
|
4149
|
-
* @param position - Item position (for alternate mode)
|
|
4150
|
-
* @param isLast - Whether this is the last item
|
|
4151
|
-
* @returns Combined class string for timeline item
|
|
4152
|
-
*/
|
|
4153
4042
|
declare function getTimelineItemClasses(mode: TimelineMode, position?: TimelineItemPosition, isLast?: boolean): string;
|
|
4154
|
-
|
|
4155
|
-
|
|
4156
|
-
* @param mode - Timeline mode
|
|
4157
|
-
* @param position - Item position (for alternate mode)
|
|
4158
|
-
* @param isLast - Whether this is the last item
|
|
4159
|
-
* @returns Combined class string for timeline tail
|
|
4160
|
-
*/
|
|
4161
|
-
declare function getTimelineTailClasses(mode: TimelineMode, position?: TimelineItemPosition, isLast?: boolean): string;
|
|
4162
|
-
/**
|
|
4163
|
-
* Get timeline head (dot container) classes
|
|
4164
|
-
* @param mode - Timeline mode
|
|
4165
|
-
* @param _position - Item position (for alternate mode) - not currently used as head is always centered in alternate mode
|
|
4166
|
-
* @returns Combined class string for timeline head
|
|
4167
|
-
*/
|
|
4168
|
-
declare function getTimelineHeadClasses(mode: TimelineMode, _position?: TimelineItemPosition): string;
|
|
4169
|
-
/**
|
|
4170
|
-
* Get timeline dot classes with custom color
|
|
4171
|
-
* @param color - Custom color (CSS color value)
|
|
4172
|
-
* @param isCustom - Whether using custom dot content
|
|
4173
|
-
* @returns Combined class string for timeline dot
|
|
4174
|
-
*/
|
|
4043
|
+
declare function getTimelineTailClasses(mode: TimelineMode, isLast?: boolean): string;
|
|
4044
|
+
declare function getTimelineHeadClasses(mode: TimelineMode): string;
|
|
4175
4045
|
declare function getTimelineDotClasses(color?: string, isCustom?: boolean): string;
|
|
4176
|
-
/**
|
|
4177
|
-
* Get timeline content classes based on mode and position
|
|
4178
|
-
* @param mode - Timeline mode
|
|
4179
|
-
* @param position - Item position (for alternate mode)
|
|
4180
|
-
* @returns Combined class string for timeline content
|
|
4181
|
-
*/
|
|
4182
4046
|
declare function getTimelineContentClasses(mode: TimelineMode, position?: TimelineItemPosition): string;
|
|
4183
|
-
/**
|
|
4184
|
-
* Get pending dot classes
|
|
4185
|
-
* @returns Class string for pending state dot
|
|
4186
|
-
*/
|
|
4187
4047
|
declare function getPendingDotClasses(): string;
|
|
4188
4048
|
|
|
4189
4049
|
/**
|
|
@@ -4405,7 +4265,7 @@ declare const treeNodeHoverClasses = "hover:bg-gray-50";
|
|
|
4405
4265
|
/**
|
|
4406
4266
|
* Tree node selected classes
|
|
4407
4267
|
*/
|
|
4408
|
-
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)]";
|
|
4409
4269
|
/**
|
|
4410
4270
|
* Tree node disabled classes
|
|
4411
4271
|
*/
|
|
@@ -4464,16 +4324,6 @@ declare function getTreeNodeClasses(selected: boolean, disabled: boolean, blockN
|
|
|
4464
4324
|
* @returns Combined class string for expand icon
|
|
4465
4325
|
*/
|
|
4466
4326
|
declare function getTreeNodeExpandIconClasses(expanded: boolean): string;
|
|
4467
|
-
/**
|
|
4468
|
-
* Flatten tree data to a flat array
|
|
4469
|
-
* @param treeData - Tree data
|
|
4470
|
-
* @param expandedKeys - Expanded node keys
|
|
4471
|
-
* @returns Flattened array of nodes with level information
|
|
4472
|
-
*/
|
|
4473
|
-
declare function flattenTree(treeData: TreeNode[], expandedKeys?: Set<string | number>): Array<TreeNode & {
|
|
4474
|
-
level: number;
|
|
4475
|
-
parentKey?: string | number;
|
|
4476
|
-
}>;
|
|
4477
4327
|
/**
|
|
4478
4328
|
* Get all keys from tree data
|
|
4479
4329
|
* @param treeData - Tree data
|
|
@@ -4548,13 +4398,13 @@ declare function filterTreeNodes(treeData: TreeNode[], filterValue: string, filt
|
|
|
4548
4398
|
*/
|
|
4549
4399
|
declare function getAutoExpandKeys(treeData: TreeNode[], matchedKeys: Set<string | number>): Set<string | number>;
|
|
4550
4400
|
/**
|
|
4551
|
-
*
|
|
4552
|
-
|
|
4553
|
-
declare const defaultExpandIcon: (expanded: boolean) => string;
|
|
4554
|
-
/**
|
|
4555
|
-
* 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.
|
|
4556
4403
|
*/
|
|
4557
|
-
declare
|
|
4404
|
+
declare function checkedSetsFromState(state: TreeCheckedState): {
|
|
4405
|
+
checkedSet: Set<string | number>;
|
|
4406
|
+
halfCheckedSet: Set<string | number>;
|
|
4407
|
+
};
|
|
4558
4408
|
|
|
4559
4409
|
/**
|
|
4560
4410
|
* Skeleton component types and interfaces
|
|
@@ -4765,7 +4615,7 @@ interface ProgressProps {
|
|
|
4765
4615
|
|
|
4766
4616
|
declare const progressLineBaseClasses = "relative overflow-hidden rounded-full";
|
|
4767
4617
|
declare const progressLineInnerClasses = "h-full rounded-full transition-all duration-300 ease-in-out flex items-center justify-end";
|
|
4768
|
-
declare const progressTextBaseClasses = "font-medium ml-2
|
|
4618
|
+
declare const progressTextBaseClasses = "font-medium ml-2";
|
|
4769
4619
|
declare const progressCircleBaseClasses = "relative inline-flex items-center justify-center";
|
|
4770
4620
|
declare const progressLineSizeClasses: Record<ProgressSize, string>;
|
|
4771
4621
|
declare const progressCircleSizeClasses: Record<ProgressSize, number>;
|
|
@@ -4775,7 +4625,7 @@ declare const progressStripedAnimationClasses = "animate-[progress-stripes_1s_li
|
|
|
4775
4625
|
declare function getStatusVariant(status: ProgressStatus): string;
|
|
4776
4626
|
declare function formatProgressText(percentage: number, customText?: string, formatFn?: (percentage: number) => string): string;
|
|
4777
4627
|
declare function clampPercentage(percentage: number): number;
|
|
4778
|
-
declare function calculateCirclePath(radius: number,
|
|
4628
|
+
declare function calculateCirclePath(radius: number, percentage: number): {
|
|
4779
4629
|
circumference: number;
|
|
4780
4630
|
strokeDasharray: string;
|
|
4781
4631
|
strokeDashoffset: number;
|
|
@@ -4931,10 +4781,6 @@ declare const collapseIconPositionClasses: {
|
|
|
4931
4781
|
* Collapse header text classes
|
|
4932
4782
|
*/
|
|
4933
4783
|
declare const collapseHeaderTextClasses = "flex-1 font-medium text-gray-900";
|
|
4934
|
-
/**
|
|
4935
|
-
* Collapse extra content classes
|
|
4936
|
-
*/
|
|
4937
|
-
declare const collapseExtraClasses = "ml-auto";
|
|
4938
4784
|
/**
|
|
4939
4785
|
* Get collapse container classes
|
|
4940
4786
|
*/
|
|
@@ -4963,10 +4809,6 @@ declare function isPanelActive(panelKey: string | number, activeKeys: (string |
|
|
|
4963
4809
|
* Toggle panel key in active keys array
|
|
4964
4810
|
*/
|
|
4965
4811
|
declare function togglePanelKey(panelKey: string | number, activeKeys: (string | number)[], accordion: boolean): (string | number)[];
|
|
4966
|
-
/**
|
|
4967
|
-
* Right arrow SVG icon for collapse
|
|
4968
|
-
*/
|
|
4969
|
-
declare const collapseRightArrowIcon: string;
|
|
4970
4812
|
|
|
4971
4813
|
/**
|
|
4972
4814
|
* Menu component types and interfaces
|
|
@@ -5254,6 +5096,27 @@ declare function toggleKey(key: string | number, keys: (string | number)[]): (st
|
|
|
5254
5096
|
* Replace keys array with single key (for single selection mode)
|
|
5255
5097
|
*/
|
|
5256
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;
|
|
5257
5120
|
|
|
5258
5121
|
/**
|
|
5259
5122
|
* Tabs component types and interfaces
|
|
@@ -5390,9 +5253,9 @@ declare const tabsBaseClasses = "w-full";
|
|
|
5390
5253
|
/**
|
|
5391
5254
|
* Tab nav base classes
|
|
5392
5255
|
*/
|
|
5393
|
-
declare const tabNavBaseClasses = "flex
|
|
5256
|
+
declare const tabNavBaseClasses = "flex";
|
|
5394
5257
|
/**
|
|
5395
|
-
* Tab nav position classes
|
|
5258
|
+
* Tab nav position classes (direction only)
|
|
5396
5259
|
*/
|
|
5397
5260
|
declare const tabNavPositionClasses: {
|
|
5398
5261
|
top: string;
|
|
@@ -5400,6 +5263,15 @@ declare const tabNavPositionClasses: {
|
|
|
5400
5263
|
left: string;
|
|
5401
5264
|
right: string;
|
|
5402
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
|
+
};
|
|
5403
5275
|
/**
|
|
5404
5276
|
* Tab nav list base classes
|
|
5405
5277
|
*/
|
|
@@ -5421,7 +5293,7 @@ declare const tabNavListCenteredClasses = "justify-center";
|
|
|
5421
5293
|
* Tab item base classes
|
|
5422
5294
|
* @since 0.2.0 - Added focus-visible ring for keyboard navigation
|
|
5423
5295
|
*/
|
|
5424
|
-
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";
|
|
5425
5297
|
/**
|
|
5426
5298
|
* Tab item size classes
|
|
5427
5299
|
*/
|
|
@@ -5594,7 +5466,7 @@ declare const breadcrumbSeparatorBaseClasses = "text-gray-400 select-none";
|
|
|
5594
5466
|
/**
|
|
5595
5467
|
* Get breadcrumb item classes
|
|
5596
5468
|
*/
|
|
5597
|
-
declare function getBreadcrumbItemClasses(
|
|
5469
|
+
declare function getBreadcrumbItemClasses(className?: string): string;
|
|
5598
5470
|
/**
|
|
5599
5471
|
* Get breadcrumb link classes
|
|
5600
5472
|
*/
|
|
@@ -5700,15 +5572,9 @@ interface StepsProps {
|
|
|
5700
5572
|
*/
|
|
5701
5573
|
|
|
5702
5574
|
/**
|
|
5703
|
-
*
|
|
5704
|
-
* (Shared between React/Vue to keep visuals consistent)
|
|
5575
|
+
* Checkmark character used by StepsItem when status is "finish"
|
|
5705
5576
|
*/
|
|
5706
|
-
declare const
|
|
5707
|
-
declare const stepFinishIconViewBox = "0 0 24 24";
|
|
5708
|
-
declare const stepFinishIconPathD = "M5 13l4 4L19 7";
|
|
5709
|
-
declare const stepFinishIconPathStrokeLinecap = "round";
|
|
5710
|
-
declare const stepFinishIconPathStrokeLinejoin = "round";
|
|
5711
|
-
declare const stepFinishIconPathStrokeWidth = 2;
|
|
5577
|
+
declare const stepFinishChar = "\u2713";
|
|
5712
5578
|
/**
|
|
5713
5579
|
* Get Steps container classes
|
|
5714
5580
|
*/
|
|
@@ -5716,7 +5582,7 @@ declare function getStepsContainerClasses(direction: StepsDirection): string;
|
|
|
5716
5582
|
/**
|
|
5717
5583
|
* Get Step item container classes
|
|
5718
5584
|
*/
|
|
5719
|
-
declare function getStepItemClasses(direction: StepsDirection, isLast: boolean
|
|
5585
|
+
declare function getStepItemClasses(direction: StepsDirection, isLast: boolean): string;
|
|
5720
5586
|
/**
|
|
5721
5587
|
* Get Step icon container classes
|
|
5722
5588
|
*/
|
|
@@ -5724,11 +5590,11 @@ declare function getStepIconClasses(status: StepStatus, size: StepSize, simple:
|
|
|
5724
5590
|
/**
|
|
5725
5591
|
* Get Step tail/connector line classes
|
|
5726
5592
|
*/
|
|
5727
|
-
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;
|
|
5728
5594
|
/**
|
|
5729
5595
|
* Get Step content container classes
|
|
5730
5596
|
*/
|
|
5731
|
-
declare function getStepContentClasses(direction: StepsDirection
|
|
5597
|
+
declare function getStepContentClasses(direction: StepsDirection): string;
|
|
5732
5598
|
/**
|
|
5733
5599
|
* Get Step title classes
|
|
5734
5600
|
*/
|
|
@@ -5843,8 +5709,8 @@ interface PaginationProps {
|
|
|
5843
5709
|
*/
|
|
5844
5710
|
hideOnSinglePage?: boolean;
|
|
5845
5711
|
/**
|
|
5846
|
-
*
|
|
5847
|
-
* @default
|
|
5712
|
+
* Whether to show fewer page buttons around current page
|
|
5713
|
+
* @default false
|
|
5848
5714
|
*/
|
|
5849
5715
|
showLessItems?: boolean;
|
|
5850
5716
|
/**
|
|
@@ -5931,6 +5797,10 @@ declare function getQuickJumperInputClasses(size?: PaginationSize): string;
|
|
|
5931
5797
|
* Get page size selector classes
|
|
5932
5798
|
*/
|
|
5933
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;
|
|
5934
5804
|
/**
|
|
5935
5805
|
* Get total text classes
|
|
5936
5806
|
*/
|
|
@@ -5966,100 +5836,6 @@ declare function getSimplePaginationPageIndicatorClasses(): string;
|
|
|
5966
5836
|
*/
|
|
5967
5837
|
declare function getSimplePaginationButtonsWrapperClasses(): string;
|
|
5968
5838
|
|
|
5969
|
-
/**
|
|
5970
|
-
* Dropdown component types and interfaces
|
|
5971
|
-
*/
|
|
5972
|
-
/**
|
|
5973
|
-
* Dropdown trigger mode - determines how the dropdown is opened
|
|
5974
|
-
*/
|
|
5975
|
-
type DropdownTrigger = 'click' | 'hover';
|
|
5976
|
-
/**
|
|
5977
|
-
* Dropdown placement - position relative to the trigger element
|
|
5978
|
-
*/
|
|
5979
|
-
type DropdownPlacement = 'bottom-start' | 'bottom' | 'bottom-end' | 'top-start' | 'top' | 'top-end' | 'left-start' | 'left' | 'left-end' | 'right-start' | 'right' | 'right-end';
|
|
5980
|
-
/**
|
|
5981
|
-
* Base dropdown props interface
|
|
5982
|
-
*/
|
|
5983
|
-
interface DropdownProps {
|
|
5984
|
-
/**
|
|
5985
|
-
* Trigger mode - click or hover
|
|
5986
|
-
* @default 'hover'
|
|
5987
|
-
*/
|
|
5988
|
-
trigger?: DropdownTrigger;
|
|
5989
|
-
/**
|
|
5990
|
-
* Dropdown placement relative to trigger
|
|
5991
|
-
* @default 'bottom-start'
|
|
5992
|
-
*/
|
|
5993
|
-
placement?: DropdownPlacement;
|
|
5994
|
-
/**
|
|
5995
|
-
* Whether the dropdown is disabled
|
|
5996
|
-
* @default false
|
|
5997
|
-
*/
|
|
5998
|
-
disabled?: boolean;
|
|
5999
|
-
/**
|
|
6000
|
-
* Whether the dropdown is visible (controlled mode)
|
|
6001
|
-
*/
|
|
6002
|
-
visible?: boolean;
|
|
6003
|
-
/**
|
|
6004
|
-
* Default visibility (uncontrolled mode)
|
|
6005
|
-
* @default false
|
|
6006
|
-
*/
|
|
6007
|
-
defaultVisible?: boolean;
|
|
6008
|
-
/**
|
|
6009
|
-
* Whether to close dropdown on menu item click
|
|
6010
|
-
* @default true
|
|
6011
|
-
*/
|
|
6012
|
-
closeOnClick?: boolean;
|
|
6013
|
-
/**
|
|
6014
|
-
* Additional CSS classes
|
|
6015
|
-
*/
|
|
6016
|
-
className?: string;
|
|
6017
|
-
/**
|
|
6018
|
-
* Custom styles
|
|
6019
|
-
*/
|
|
6020
|
-
style?: Record<string, unknown>;
|
|
6021
|
-
}
|
|
6022
|
-
/**
|
|
6023
|
-
* Dropdown menu props interface
|
|
6024
|
-
*/
|
|
6025
|
-
interface DropdownMenuProps {
|
|
6026
|
-
/**
|
|
6027
|
-
* Additional CSS classes
|
|
6028
|
-
*/
|
|
6029
|
-
className?: string;
|
|
6030
|
-
/**
|
|
6031
|
-
* Custom styles
|
|
6032
|
-
*/
|
|
6033
|
-
style?: Record<string, unknown>;
|
|
6034
|
-
}
|
|
6035
|
-
/**
|
|
6036
|
-
* Dropdown item props interface
|
|
6037
|
-
*/
|
|
6038
|
-
interface DropdownItemProps {
|
|
6039
|
-
/**
|
|
6040
|
-
* Unique key for the dropdown item
|
|
6041
|
-
*/
|
|
6042
|
-
key?: string | number;
|
|
6043
|
-
/**
|
|
6044
|
-
* Whether the item is disabled
|
|
6045
|
-
* @default false
|
|
6046
|
-
*/
|
|
6047
|
-
disabled?: boolean;
|
|
6048
|
-
/**
|
|
6049
|
-
* Whether the item is divided from previous item
|
|
6050
|
-
* @default false
|
|
6051
|
-
*/
|
|
6052
|
-
divided?: boolean;
|
|
6053
|
-
/**
|
|
6054
|
-
* Icon for the dropdown item
|
|
6055
|
-
*/
|
|
6056
|
-
icon?: unknown;
|
|
6057
|
-
/**
|
|
6058
|
-
* Additional CSS classes
|
|
6059
|
-
*/
|
|
6060
|
-
className?: string;
|
|
6061
|
-
}
|
|
6062
|
-
|
|
6063
5839
|
/**
|
|
6064
5840
|
* Get base dropdown container classes
|
|
6065
5841
|
*/
|
|
@@ -6069,9 +5845,13 @@ declare function getDropdownContainerClasses(): string;
|
|
|
6069
5845
|
*/
|
|
6070
5846
|
declare function getDropdownTriggerClasses(disabled: boolean): string;
|
|
6071
5847
|
/**
|
|
6072
|
-
* Get dropdown
|
|
5848
|
+
* Get dropdown chevron indicator classes
|
|
6073
5849
|
*/
|
|
6074
|
-
declare function
|
|
5850
|
+
declare function getDropdownChevronClasses(visible: boolean): string;
|
|
5851
|
+
/**
|
|
5852
|
+
* SVG path for the dropdown chevron-down icon (viewBox 0 0 24 24)
|
|
5853
|
+
*/
|
|
5854
|
+
declare const DROPDOWN_CHEVRON_PATH = "M6 9l6 6 6-6";
|
|
6075
5855
|
/**
|
|
6076
5856
|
* Get dropdown menu classes
|
|
6077
5857
|
*/
|
|
@@ -6080,6 +5860,15 @@ declare function getDropdownMenuClasses(): string;
|
|
|
6080
5860
|
* Get dropdown item classes
|
|
6081
5861
|
*/
|
|
6082
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";
|
|
6083
5872
|
|
|
6084
5873
|
/**
|
|
6085
5874
|
* Drawer component types
|
|
@@ -6166,7 +5955,7 @@ declare function getDrawerMaskClasses(visible: boolean): string;
|
|
|
6166
5955
|
/**
|
|
6167
5956
|
* Get drawer container classes (wrapper positioned over mask)
|
|
6168
5957
|
*/
|
|
6169
|
-
declare function getDrawerContainerClasses(
|
|
5958
|
+
declare function getDrawerContainerClasses(): string;
|
|
6170
5959
|
/**
|
|
6171
5960
|
* Get drawer panel classes based on placement and visibility
|
|
6172
5961
|
*/
|
|
@@ -6398,22 +6187,6 @@ declare const alertIconContainerClasses = "flex-shrink-0";
|
|
|
6398
6187
|
* Alert content container classes
|
|
6399
6188
|
*/
|
|
6400
6189
|
declare const alertContentClasses = "flex-1 ml-3";
|
|
6401
|
-
/**
|
|
6402
|
-
* SVG path for success (check circle) icon
|
|
6403
|
-
*/
|
|
6404
|
-
declare const alertSuccessIconPath = "M9 12l2 2 4-4m6 2a9 9 0 11-18 0 9 9 0 0118 0z";
|
|
6405
|
-
/**
|
|
6406
|
-
* SVG path for warning (exclamation triangle) icon
|
|
6407
|
-
*/
|
|
6408
|
-
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";
|
|
6409
|
-
/**
|
|
6410
|
-
* SVG path for error (x circle) icon
|
|
6411
|
-
*/
|
|
6412
|
-
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";
|
|
6413
|
-
/**
|
|
6414
|
-
* SVG path for info (information circle) icon
|
|
6415
|
-
*/
|
|
6416
|
-
declare const alertInfoIconPath = "M13 16h-1v-4h-1m1-4h.01M21 12a9 9 0 11-18 0 9 9 0 0118 0z";
|
|
6417
6190
|
/**
|
|
6418
6191
|
* SVG path for close (x) icon
|
|
6419
6192
|
*/
|
|
@@ -6541,13 +6314,6 @@ declare const messagePositionClasses: Record<MessagePosition, string>;
|
|
|
6541
6314
|
* Base message item classes
|
|
6542
6315
|
*/
|
|
6543
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";
|
|
6544
|
-
/**
|
|
6545
|
-
* Message animation classes
|
|
6546
|
-
*/
|
|
6547
|
-
declare const messageEnterClasses = "opacity-0 -translate-y-2";
|
|
6548
|
-
declare const messageEnterActiveClasses = "opacity-100 translate-y-0";
|
|
6549
|
-
declare const messageLeaveClasses = "opacity-100 translate-y-0";
|
|
6550
|
-
declare const messageLeaveActiveClasses = "opacity-0 -translate-y-2";
|
|
6551
6317
|
/**
|
|
6552
6318
|
* Message type color schemes
|
|
6553
6319
|
*/
|
|
@@ -6936,32 +6702,286 @@ declare const animationDelayStyles = "\n@keyframes bounce-dot {\n 0%, 100% { tr
|
|
|
6936
6702
|
declare function injectLoadingAnimationStyles(): void;
|
|
6937
6703
|
|
|
6938
6704
|
/**
|
|
6939
|
-
*
|
|
6705
|
+
* Floating UI wrapper utilities for positioning popups, tooltips, and dropdowns.
|
|
6706
|
+
* Provides edge-aware positioning with automatic collision detection and flipping.
|
|
6940
6707
|
*/
|
|
6941
6708
|
|
|
6942
6709
|
/**
|
|
6943
|
-
*
|
|
6710
|
+
* Placement options supported by the floating system.
|
|
6711
|
+
* These map directly to Floating UI placements.
|
|
6944
6712
|
*/
|
|
6945
|
-
type
|
|
6713
|
+
type FloatingPlacement = 'top' | 'top-start' | 'top-end' | 'bottom' | 'bottom-start' | 'bottom-end' | 'left' | 'left-start' | 'left-end' | 'right' | 'right-start' | 'right-end';
|
|
6946
6714
|
/**
|
|
6947
|
-
*
|
|
6715
|
+
* Options for computing floating element position.
|
|
6948
6716
|
*/
|
|
6949
|
-
interface
|
|
6717
|
+
interface FloatingOptions {
|
|
6950
6718
|
/**
|
|
6951
|
-
*
|
|
6719
|
+
* Preferred placement of the floating element relative to the reference.
|
|
6720
|
+
* @default 'bottom'
|
|
6952
6721
|
*/
|
|
6953
|
-
|
|
6722
|
+
placement?: FloatingPlacement;
|
|
6954
6723
|
/**
|
|
6955
|
-
*
|
|
6956
|
-
* @default
|
|
6724
|
+
* Distance (in pixels) between reference and floating element.
|
|
6725
|
+
* @default 8
|
|
6957
6726
|
*/
|
|
6958
|
-
|
|
6727
|
+
offset?: number;
|
|
6959
6728
|
/**
|
|
6960
|
-
*
|
|
6729
|
+
* Whether to flip placement when there's not enough space.
|
|
6730
|
+
* @default true
|
|
6961
6731
|
*/
|
|
6962
|
-
|
|
6732
|
+
flip?: boolean;
|
|
6963
6733
|
/**
|
|
6964
|
-
*
|
|
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)
|
|
6965
6985
|
*/
|
|
6966
6986
|
description?: string;
|
|
6967
6987
|
/**
|
|
@@ -6993,7 +7013,7 @@ interface PopconfirmProps {
|
|
|
6993
7013
|
* Popconfirm placement relative to trigger
|
|
6994
7014
|
* @default 'top'
|
|
6995
7015
|
*/
|
|
6996
|
-
placement?:
|
|
7016
|
+
placement?: FloatingPlacement;
|
|
6997
7017
|
/**
|
|
6998
7018
|
* Whether the popconfirm is disabled
|
|
6999
7019
|
* @default false
|
|
@@ -7024,7 +7044,7 @@ declare function getPopconfirmContentClasses(): string;
|
|
|
7024
7044
|
/**
|
|
7025
7045
|
* Get popconfirm arrow classes (small pointer to the trigger)
|
|
7026
7046
|
*/
|
|
7027
|
-
declare function getPopconfirmArrowClasses(placement:
|
|
7047
|
+
declare function getPopconfirmArrowClasses(placement: FloatingPlacement): string;
|
|
7028
7048
|
/**
|
|
7029
7049
|
* Get popconfirm title classes
|
|
7030
7050
|
*/
|
|
@@ -7070,24 +7090,22 @@ declare const popconfirmQuestionIconPath = "M9.879 7.519c1.171-1.025 3.071-1.025
|
|
|
7070
7090
|
*/
|
|
7071
7091
|
declare function getPopconfirmIconPath(iconType: PopconfirmIconType): string;
|
|
7072
7092
|
|
|
7073
|
-
/**
|
|
7074
|
-
* Get base popover container classes
|
|
7075
|
-
*/
|
|
7093
|
+
/** Base popover container classes */
|
|
7076
7094
|
declare function getPopoverContainerClasses(): string;
|
|
7077
|
-
/**
|
|
7078
|
-
* Get popover trigger classes
|
|
7079
|
-
*/
|
|
7095
|
+
/** Popover trigger classes */
|
|
7080
7096
|
declare function getPopoverTriggerClasses(disabled: boolean): string;
|
|
7081
|
-
/**
|
|
7082
|
-
* Get popover content wrapper classes
|
|
7083
|
-
*/
|
|
7097
|
+
/** Popover content wrapper classes */
|
|
7084
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;
|
|
7085
7103
|
/**
|
|
7086
|
-
*
|
|
7104
|
+
* @deprecated Use POPOVER_TITLE_CLASSES instead
|
|
7087
7105
|
*/
|
|
7088
7106
|
declare function getPopoverTitleClasses(): string;
|
|
7089
7107
|
/**
|
|
7090
|
-
*
|
|
7108
|
+
* @deprecated Use POPOVER_TEXT_CLASSES instead
|
|
7091
7109
|
*/
|
|
7092
7110
|
declare function getPopoverContentTextClasses(): string;
|
|
7093
7111
|
|
|
@@ -7183,8 +7201,8 @@ interface IconProps {
|
|
|
7183
7201
|
size?: IconSize;
|
|
7184
7202
|
/**
|
|
7185
7203
|
* Icon color
|
|
7186
|
-
* Uses
|
|
7187
|
-
* @example '
|
|
7204
|
+
* Uses CSS color value
|
|
7205
|
+
* @example '#2563eb' | 'currentColor'
|
|
7188
7206
|
*/
|
|
7189
7207
|
color?: string;
|
|
7190
7208
|
/**
|
|
@@ -7196,6 +7214,9 @@ interface IconProps {
|
|
|
7196
7214
|
declare const iconWrapperClasses = "inline-flex align-middle";
|
|
7197
7215
|
declare const iconSvgBaseClasses = "inline-block";
|
|
7198
7216
|
declare const iconSizeClasses: Record<IconSize, string>;
|
|
7217
|
+
declare const iconSvgDefaultStrokeWidth = 2;
|
|
7218
|
+
declare const iconSvgDefaultStrokeLinecap = "round";
|
|
7219
|
+
declare const iconSvgDefaultStrokeLinejoin = "round";
|
|
7199
7220
|
|
|
7200
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";
|
|
7201
7222
|
declare const codeBlockPreClasses = "m-0 overflow-auto p-4 text-sm leading-relaxed font-mono whitespace-pre";
|
|
@@ -7203,35 +7224,116 @@ declare const codeBlockCopyButtonBaseClasses = "absolute right-3 top-0 -translat
|
|
|
7203
7224
|
declare const codeBlockCopyButtonCopiedClasses = "border-[var(--tiger-primary,#2563eb)] text-[var(--tiger-primary,#2563eb)]";
|
|
7204
7225
|
|
|
7205
7226
|
/**
|
|
7206
|
-
*
|
|
7227
|
+
* Text component types and interfaces
|
|
7207
7228
|
*/
|
|
7208
7229
|
/**
|
|
7209
|
-
*
|
|
7230
|
+
* Text tag types - semantic HTML elements for text
|
|
7210
7231
|
*/
|
|
7211
|
-
type
|
|
7232
|
+
type TextTag = 'p' | 'span' | 'div' | 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6' | 'label' | 'strong' | 'em' | 'small';
|
|
7212
7233
|
/**
|
|
7213
|
-
*
|
|
7234
|
+
* Text size types
|
|
7214
7235
|
*/
|
|
7215
|
-
type
|
|
7236
|
+
type TextSize = 'xs' | 'sm' | 'base' | 'lg' | 'xl' | '2xl' | '3xl' | '4xl' | '5xl' | '6xl';
|
|
7216
7237
|
/**
|
|
7217
|
-
*
|
|
7238
|
+
* Text weight types
|
|
7218
7239
|
*/
|
|
7219
|
-
|
|
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 {
|
|
7220
7253
|
/**
|
|
7221
|
-
*
|
|
7222
|
-
* @default
|
|
7254
|
+
* HTML tag to render
|
|
7255
|
+
* @default 'p'
|
|
7223
7256
|
*/
|
|
7224
|
-
|
|
7257
|
+
tag?: TextTag;
|
|
7225
7258
|
/**
|
|
7226
|
-
*
|
|
7227
|
-
* @default
|
|
7259
|
+
* Text size
|
|
7260
|
+
* @default 'base'
|
|
7228
7261
|
*/
|
|
7229
|
-
|
|
7262
|
+
size?: TextSize;
|
|
7230
7263
|
/**
|
|
7231
|
-
*
|
|
7232
|
-
* @default
|
|
7264
|
+
* Text weight
|
|
7265
|
+
* @default 'normal'
|
|
7233
7266
|
*/
|
|
7234
|
-
|
|
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
|
+
* Carousel component types and interfaces
|
|
7309
|
+
*/
|
|
7310
|
+
/**
|
|
7311
|
+
* Carousel dot position - determines where the navigation dots are positioned
|
|
7312
|
+
*/
|
|
7313
|
+
type CarouselDotPosition = 'top' | 'bottom' | 'left' | 'right';
|
|
7314
|
+
/**
|
|
7315
|
+
* Carousel effect - determines the transition effect
|
|
7316
|
+
*/
|
|
7317
|
+
type CarouselEffect = 'scroll' | 'fade';
|
|
7318
|
+
/**
|
|
7319
|
+
* Base carousel props interface
|
|
7320
|
+
*/
|
|
7321
|
+
interface CarouselProps {
|
|
7322
|
+
/**
|
|
7323
|
+
* Whether to enable automatic slide switching
|
|
7324
|
+
* @default false
|
|
7325
|
+
*/
|
|
7326
|
+
autoplay?: boolean;
|
|
7327
|
+
/**
|
|
7328
|
+
* Time interval for auto-play in milliseconds
|
|
7329
|
+
* @default 3000
|
|
7330
|
+
*/
|
|
7331
|
+
autoplaySpeed?: number;
|
|
7332
|
+
/**
|
|
7333
|
+
* Whether to show navigation dots
|
|
7334
|
+
* @default true
|
|
7335
|
+
*/
|
|
7336
|
+
dots?: boolean;
|
|
7235
7337
|
/**
|
|
7236
7338
|
* Position of navigation dots
|
|
7237
7339
|
* @default 'bottom'
|
|
@@ -7347,10 +7449,6 @@ declare const carouselTrackFadeClasses = "relative";
|
|
|
7347
7449
|
* Carousel slide base classes
|
|
7348
7450
|
*/
|
|
7349
7451
|
declare const carouselSlideBaseClasses = "flex-shrink-0 w-full";
|
|
7350
|
-
/**
|
|
7351
|
-
* Carousel slide classes for fade effect
|
|
7352
|
-
*/
|
|
7353
|
-
declare const carouselSlideFadeClasses = "absolute inset-0 transition-opacity ease-in-out";
|
|
7354
7452
|
/**
|
|
7355
7453
|
* Carousel dots container base classes
|
|
7356
7454
|
*/
|
|
@@ -8059,6 +8157,10 @@ interface ChartSeriesProps<T = ChartSeriesPoint> {
|
|
|
8059
8157
|
*/
|
|
8060
8158
|
className?: string;
|
|
8061
8159
|
}
|
|
8160
|
+
/**
|
|
8161
|
+
* Value label position for bar charts
|
|
8162
|
+
*/
|
|
8163
|
+
type BarValueLabelPosition = 'top' | 'inside';
|
|
8062
8164
|
interface BarChartDatum {
|
|
8063
8165
|
x: ChartScaleValue;
|
|
8064
8166
|
y: number;
|
|
@@ -8165,6 +8267,39 @@ interface BarChartProps extends BaseChartProps, ChartInteractionProps, ChartLege
|
|
|
8165
8267
|
* @default 1
|
|
8166
8268
|
*/
|
|
8167
8269
|
gridStrokeWidth?: number;
|
|
8270
|
+
/**
|
|
8271
|
+
* Show value labels above or inside bars
|
|
8272
|
+
* @default false
|
|
8273
|
+
*/
|
|
8274
|
+
showValueLabels?: boolean;
|
|
8275
|
+
/**
|
|
8276
|
+
* Value label position
|
|
8277
|
+
* @default 'top'
|
|
8278
|
+
*/
|
|
8279
|
+
valueLabelPosition?: BarValueLabelPosition;
|
|
8280
|
+
/**
|
|
8281
|
+
* Value label formatter
|
|
8282
|
+
*/
|
|
8283
|
+
valueLabelFormatter?: (datum: BarChartDatum, index: number) => string;
|
|
8284
|
+
/**
|
|
8285
|
+
* Minimum bar height in px (ensures near-zero values remain visible)
|
|
8286
|
+
* @default 0
|
|
8287
|
+
*/
|
|
8288
|
+
barMinHeight?: number;
|
|
8289
|
+
/**
|
|
8290
|
+
* Maximum bar width in px (prevents overly wide bars with few data points)
|
|
8291
|
+
*/
|
|
8292
|
+
barMaxWidth?: number;
|
|
8293
|
+
/**
|
|
8294
|
+
* Enable linear gradient fill on bars (top-to-bottom, lighter to full)
|
|
8295
|
+
* @default false
|
|
8296
|
+
*/
|
|
8297
|
+
gradient?: boolean;
|
|
8298
|
+
/**
|
|
8299
|
+
* Enable CSS transitions for smooth bar updates
|
|
8300
|
+
* @default false
|
|
8301
|
+
*/
|
|
8302
|
+
animated?: boolean;
|
|
8168
8303
|
/**
|
|
8169
8304
|
* Tooltip formatter
|
|
8170
8305
|
*/
|
|
@@ -8187,8 +8322,8 @@ interface ScatterChartProps extends BaseChartProps, ChartInteractionProps, Chart
|
|
|
8187
8322
|
*/
|
|
8188
8323
|
data: ScatterChartDatum[];
|
|
8189
8324
|
/**
|
|
8190
|
-
* Point size
|
|
8191
|
-
* @default
|
|
8325
|
+
* Point size (radius)
|
|
8326
|
+
* @default 6
|
|
8192
8327
|
*/
|
|
8193
8328
|
pointSize?: number;
|
|
8194
8329
|
/**
|
|
@@ -8199,6 +8334,31 @@ interface ScatterChartProps extends BaseChartProps, ChartInteractionProps, Chart
|
|
|
8199
8334
|
* Point opacity
|
|
8200
8335
|
*/
|
|
8201
8336
|
pointOpacity?: number;
|
|
8337
|
+
/**
|
|
8338
|
+
* Point shape
|
|
8339
|
+
* @default 'circle'
|
|
8340
|
+
*/
|
|
8341
|
+
pointStyle?: 'circle' | 'square' | 'triangle' | 'diamond';
|
|
8342
|
+
/**
|
|
8343
|
+
* Enable radial gradient fill for points
|
|
8344
|
+
* @default false
|
|
8345
|
+
*/
|
|
8346
|
+
gradient?: boolean;
|
|
8347
|
+
/**
|
|
8348
|
+
* Enable entrance animation with stagger
|
|
8349
|
+
* @default false
|
|
8350
|
+
*/
|
|
8351
|
+
animated?: boolean;
|
|
8352
|
+
/**
|
|
8353
|
+
* Point border (stroke) width
|
|
8354
|
+
* @default 0
|
|
8355
|
+
*/
|
|
8356
|
+
pointBorderWidth?: number;
|
|
8357
|
+
/**
|
|
8358
|
+
* Point border (stroke) color
|
|
8359
|
+
* @default 'white'
|
|
8360
|
+
*/
|
|
8361
|
+
pointBorderColor?: string;
|
|
8202
8362
|
/**
|
|
8203
8363
|
* Include zero in domain
|
|
8204
8364
|
* @default false
|
|
@@ -8272,6 +8432,31 @@ interface PieChartProps extends BaseChartProps, ChartInteractionProps, ChartLege
|
|
|
8272
8432
|
* Legend formatter
|
|
8273
8433
|
*/
|
|
8274
8434
|
legendFormatter?: (datum: PieChartDatum, index: number) => string;
|
|
8435
|
+
/**
|
|
8436
|
+
* Border width between slices
|
|
8437
|
+
* @default 2
|
|
8438
|
+
*/
|
|
8439
|
+
borderWidth?: number;
|
|
8440
|
+
/**
|
|
8441
|
+
* Border color between slices
|
|
8442
|
+
* @default '#ffffff'
|
|
8443
|
+
*/
|
|
8444
|
+
borderColor?: string;
|
|
8445
|
+
/**
|
|
8446
|
+
* Distance slices translate outward on hover (ECharts emphasis style)
|
|
8447
|
+
* @default 8
|
|
8448
|
+
*/
|
|
8449
|
+
hoverOffset?: number;
|
|
8450
|
+
/**
|
|
8451
|
+
* Label position: inside the slice or outside with leader lines
|
|
8452
|
+
* @default 'inside'
|
|
8453
|
+
*/
|
|
8454
|
+
labelPosition?: 'inside' | 'outside';
|
|
8455
|
+
/**
|
|
8456
|
+
* Enable drop shadow on slices
|
|
8457
|
+
* @default false
|
|
8458
|
+
*/
|
|
8459
|
+
shadow?: boolean;
|
|
8275
8460
|
}
|
|
8276
8461
|
interface DonutChartDatum extends PieChartDatum {
|
|
8277
8462
|
}
|
|
@@ -8281,6 +8466,19 @@ interface DonutChartProps extends PieChartProps {
|
|
|
8281
8466
|
* @default 0.6
|
|
8282
8467
|
*/
|
|
8283
8468
|
innerRadiusRatio?: number;
|
|
8469
|
+
/**
|
|
8470
|
+
* Text shown as the main value in the donut center
|
|
8471
|
+
*/
|
|
8472
|
+
centerValue?: string | number;
|
|
8473
|
+
/**
|
|
8474
|
+
* Descriptive label shown below centerValue in the donut center
|
|
8475
|
+
*/
|
|
8476
|
+
centerLabel?: string;
|
|
8477
|
+
/**
|
|
8478
|
+
* Enable entrance animation (fade + scale)
|
|
8479
|
+
* @default false
|
|
8480
|
+
*/
|
|
8481
|
+
animated?: boolean;
|
|
8284
8482
|
}
|
|
8285
8483
|
interface RadarChartDatum extends ChartSeriesPoint {
|
|
8286
8484
|
value: number;
|
|
@@ -8332,6 +8530,14 @@ interface RadarChartSeries {
|
|
|
8332
8530
|
* Point color
|
|
8333
8531
|
*/
|
|
8334
8532
|
pointColor?: string;
|
|
8533
|
+
/**
|
|
8534
|
+
* Point border width (stroke around data points)
|
|
8535
|
+
*/
|
|
8536
|
+
pointBorderWidth?: number;
|
|
8537
|
+
/**
|
|
8538
|
+
* Point border color
|
|
8539
|
+
*/
|
|
8540
|
+
pointBorderColor?: string;
|
|
8335
8541
|
/**
|
|
8336
8542
|
* Additional CSS classes
|
|
8337
8543
|
*/
|
|
@@ -8378,6 +8584,21 @@ interface LineChartSeries {
|
|
|
8378
8584
|
* Point color (defaults to line color)
|
|
8379
8585
|
*/
|
|
8380
8586
|
pointColor?: string;
|
|
8587
|
+
/**
|
|
8588
|
+
* Hollow point style (stroke + white fill, ECharts emptyCircle)
|
|
8589
|
+
* @default false
|
|
8590
|
+
*/
|
|
8591
|
+
pointHollow?: boolean;
|
|
8592
|
+
/**
|
|
8593
|
+
* Show gradient area fill under line
|
|
8594
|
+
* @default false
|
|
8595
|
+
*/
|
|
8596
|
+
showArea?: boolean;
|
|
8597
|
+
/**
|
|
8598
|
+
* Area fill opacity
|
|
8599
|
+
* @default 0.15
|
|
8600
|
+
*/
|
|
8601
|
+
areaOpacity?: number;
|
|
8381
8602
|
/**
|
|
8382
8603
|
* Additional CSS classes for this series
|
|
8383
8604
|
*/
|
|
@@ -8501,6 +8722,26 @@ interface LineChartProps extends BaseChartProps, ChartInteractionProps, ChartLeg
|
|
|
8501
8722
|
* Custom colors for multi-series
|
|
8502
8723
|
*/
|
|
8503
8724
|
colors?: string[];
|
|
8725
|
+
/**
|
|
8726
|
+
* Show gradient area fill under lines
|
|
8727
|
+
* @default false
|
|
8728
|
+
*/
|
|
8729
|
+
showArea?: boolean;
|
|
8730
|
+
/**
|
|
8731
|
+
* Area fill opacity
|
|
8732
|
+
* @default 0.15
|
|
8733
|
+
*/
|
|
8734
|
+
areaOpacity?: number;
|
|
8735
|
+
/**
|
|
8736
|
+
* Hollow point style (stroke + white fill, ECharts emptyCircle)
|
|
8737
|
+
* @default false
|
|
8738
|
+
*/
|
|
8739
|
+
pointHollow?: boolean;
|
|
8740
|
+
/**
|
|
8741
|
+
* Enable line draw entrance animation
|
|
8742
|
+
* @default false
|
|
8743
|
+
*/
|
|
8744
|
+
animated?: boolean;
|
|
8504
8745
|
/**
|
|
8505
8746
|
* Tooltip formatter
|
|
8506
8747
|
*/
|
|
@@ -8651,6 +8892,21 @@ interface AreaChartProps extends BaseChartProps, ChartInteractionProps, ChartLeg
|
|
|
8651
8892
|
* Custom colors for multi-series
|
|
8652
8893
|
*/
|
|
8653
8894
|
colors?: string[];
|
|
8895
|
+
/**
|
|
8896
|
+
* Enable linear gradient fill (top-to-bottom, ECharts style)
|
|
8897
|
+
* @default false
|
|
8898
|
+
*/
|
|
8899
|
+
gradient?: boolean;
|
|
8900
|
+
/**
|
|
8901
|
+
* Hollow point style (stroke + white fill, ECharts emptyCircle)
|
|
8902
|
+
* @default false
|
|
8903
|
+
*/
|
|
8904
|
+
pointHollow?: boolean;
|
|
8905
|
+
/**
|
|
8906
|
+
* Enable line draw entrance animation
|
|
8907
|
+
* @default false
|
|
8908
|
+
*/
|
|
8909
|
+
animated?: boolean;
|
|
8654
8910
|
/**
|
|
8655
8911
|
* Tooltip formatter
|
|
8656
8912
|
*/
|
|
@@ -8803,6 +9059,44 @@ interface RadarChartProps extends BaseChartProps, ChartLegendProps, ChartTooltip
|
|
|
8803
9059
|
* Point color
|
|
8804
9060
|
*/
|
|
8805
9061
|
pointColor?: string;
|
|
9062
|
+
/**
|
|
9063
|
+
* Grid shape: polygon (default) or circle (ECharts style)
|
|
9064
|
+
* @default 'polygon'
|
|
9065
|
+
*/
|
|
9066
|
+
gridShape?: 'polygon' | 'circle';
|
|
9067
|
+
/**
|
|
9068
|
+
* Show alternating split area fills between grid levels
|
|
9069
|
+
* @default false
|
|
9070
|
+
*/
|
|
9071
|
+
showSplitArea?: boolean;
|
|
9072
|
+
/**
|
|
9073
|
+
* Split area fill opacity
|
|
9074
|
+
* @default 0.06
|
|
9075
|
+
*/
|
|
9076
|
+
splitAreaOpacity?: number;
|
|
9077
|
+
/**
|
|
9078
|
+
* Split area colors (alternates between entries)
|
|
9079
|
+
*/
|
|
9080
|
+
splitAreaColors?: string[];
|
|
9081
|
+
/**
|
|
9082
|
+
* Point border width (white ring around data points)
|
|
9083
|
+
* @default 2
|
|
9084
|
+
*/
|
|
9085
|
+
pointBorderWidth?: number;
|
|
9086
|
+
/**
|
|
9087
|
+
* Point border color
|
|
9088
|
+
* @default '#fff'
|
|
9089
|
+
*/
|
|
9090
|
+
pointBorderColor?: string;
|
|
9091
|
+
/**
|
|
9092
|
+
* Point size when hovered (enlargement effect)
|
|
9093
|
+
*/
|
|
9094
|
+
pointHoverSize?: number;
|
|
9095
|
+
/**
|
|
9096
|
+
* Auto-align axis labels based on their angle position
|
|
9097
|
+
* @default true
|
|
9098
|
+
*/
|
|
9099
|
+
labelAutoAlign?: boolean;
|
|
8806
9100
|
}
|
|
8807
9101
|
|
|
8808
9102
|
declare const chartCanvasBaseClasses = "block";
|
|
@@ -8869,6 +9163,39 @@ declare function createPieArcPath(options: {
|
|
|
8869
9163
|
startAngle: number;
|
|
8870
9164
|
endAngle: number;
|
|
8871
9165
|
}): string;
|
|
9166
|
+
/**
|
|
9167
|
+
* Compute translate offset for a pie slice hover emphasis effect.
|
|
9168
|
+
* The slice moves outward along its bisector angle.
|
|
9169
|
+
*/
|
|
9170
|
+
declare function computePieHoverOffset(startAngle: number, endAngle: number, offset: number): {
|
|
9171
|
+
dx: number;
|
|
9172
|
+
dy: number;
|
|
9173
|
+
};
|
|
9174
|
+
/**
|
|
9175
|
+
* Compute positions for an outside label with a leader line.
|
|
9176
|
+
* Returns anchor (on slice edge), elbow (turn point), label (text position), and textAnchor.
|
|
9177
|
+
*/
|
|
9178
|
+
declare function computePieLabelLine(cx: number, cy: number, outerRadius: number, startAngle: number, endAngle: number, offset?: number): {
|
|
9179
|
+
anchor: {
|
|
9180
|
+
x: number;
|
|
9181
|
+
y: number;
|
|
9182
|
+
};
|
|
9183
|
+
elbow: {
|
|
9184
|
+
x: number;
|
|
9185
|
+
y: number;
|
|
9186
|
+
};
|
|
9187
|
+
label: {
|
|
9188
|
+
x: number;
|
|
9189
|
+
y: number;
|
|
9190
|
+
};
|
|
9191
|
+
textAnchor: 'start' | 'end';
|
|
9192
|
+
};
|
|
9193
|
+
/** Drop shadow filter value for emphasized pie slices */
|
|
9194
|
+
declare const PIE_EMPHASIS_SHADOW = "drop-shadow(0 4px 8px rgba(0,0,0,0.2))";
|
|
9195
|
+
declare const PIE_BASE_SHADOW = "drop-shadow(0 1px 2px rgba(0,0,0,0.06))";
|
|
9196
|
+
/** Enhanced donut-specific shadow – deeper & more diffuse for richer emphasis */
|
|
9197
|
+
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))";
|
|
9198
|
+
declare const DONUT_BASE_SHADOW = "drop-shadow(0 2px 8px rgba(0,0,0,0.10))";
|
|
8872
9199
|
declare function getRadarAngles(count: number, startAngle?: number): number[];
|
|
8873
9200
|
interface RadarPoint<T> {
|
|
8874
9201
|
data: T;
|
|
@@ -8892,7 +9219,39 @@ declare function createPolygonPath(points: Array<{
|
|
|
8892
9219
|
x: number;
|
|
8893
9220
|
y: number;
|
|
8894
9221
|
}>): string;
|
|
9222
|
+
/**
|
|
9223
|
+
* Compute text-anchor and dominant-baseline for a radar label based on its angle.
|
|
9224
|
+
* Mimics ECharts indicator name positioning for natural readability.
|
|
9225
|
+
*/
|
|
9226
|
+
declare function getRadarLabelAlign(angle: number): {
|
|
9227
|
+
textAnchor: 'start' | 'middle' | 'end';
|
|
9228
|
+
dominantBaseline: 'auto' | 'middle' | 'hanging';
|
|
9229
|
+
};
|
|
9230
|
+
/**
|
|
9231
|
+
* Default split area colors (subtle alternating fills – ECharts style)
|
|
9232
|
+
*/
|
|
9233
|
+
declare const RADAR_SPLIT_AREA_COLORS: string[];
|
|
8895
9234
|
|
|
9235
|
+
/**
|
|
9236
|
+
* Generate a unique gradient ID prefix for a LineChart instance.
|
|
9237
|
+
*/
|
|
9238
|
+
declare function getLineGradientPrefix(): string;
|
|
9239
|
+
/**
|
|
9240
|
+
* Reset the line gradient counter (for testing only)
|
|
9241
|
+
*/
|
|
9242
|
+
declare function resetLineGradientCounter(): void;
|
|
9243
|
+
/**
|
|
9244
|
+
* Generate a unique gradient ID prefix for an AreaChart instance.
|
|
9245
|
+
*/
|
|
9246
|
+
declare function getAreaGradientPrefix(): string;
|
|
9247
|
+
/**
|
|
9248
|
+
* Reset the area gradient counter (for testing only)
|
|
9249
|
+
*/
|
|
9250
|
+
declare function resetAreaGradientCounter(): void;
|
|
9251
|
+
/**
|
|
9252
|
+
* CSS transition classes for line chart point hover
|
|
9253
|
+
*/
|
|
9254
|
+
declare const linePointTransitionClasses = "transition-all duration-200 ease-out";
|
|
8896
9255
|
/**
|
|
8897
9256
|
* Create a line path from points
|
|
8898
9257
|
*/
|
|
@@ -8918,6 +9277,70 @@ declare function stackSeriesData<T extends {
|
|
|
8918
9277
|
y0: number;
|
|
8919
9278
|
y1: number;
|
|
8920
9279
|
}[][];
|
|
9280
|
+
/**
|
|
9281
|
+
* Generate a unique gradient ID prefix for a BarChart instance.
|
|
9282
|
+
* Each BarChart must have its own prefix to avoid gradient ID collisions.
|
|
9283
|
+
*/
|
|
9284
|
+
declare function getBarGradientPrefix(): string;
|
|
9285
|
+
/**
|
|
9286
|
+
* Reset the gradient counter (for testing only)
|
|
9287
|
+
*/
|
|
9288
|
+
declare function resetBarGradientCounter(): void;
|
|
9289
|
+
/**
|
|
9290
|
+
* Clamp bar width to a maximum value
|
|
9291
|
+
*/
|
|
9292
|
+
declare function clampBarWidth(width: number, maxWidth?: number): number;
|
|
9293
|
+
/**
|
|
9294
|
+
* Ensure bar meets minimum height for near-zero values.
|
|
9295
|
+
* Returns adjusted y and height while keeping the bar anchored at the baseline.
|
|
9296
|
+
*/
|
|
9297
|
+
declare function ensureBarMinHeight(barY: number, barHeight: number, baseline: number, minHeight: number): {
|
|
9298
|
+
y: number;
|
|
9299
|
+
height: number;
|
|
9300
|
+
};
|
|
9301
|
+
/**
|
|
9302
|
+
* Get the Y coordinate for a value label on a bar
|
|
9303
|
+
*/
|
|
9304
|
+
declare function getBarValueLabelY(barY: number, barHeight: number, position: 'top' | 'inside', offset?: number): number;
|
|
9305
|
+
/**
|
|
9306
|
+
* CSS classes for value labels displayed on bars
|
|
9307
|
+
*/
|
|
9308
|
+
declare const barValueLabelClasses = "fill-[color:var(--tiger-text,#374151)] text-[11px] font-medium pointer-events-none select-none";
|
|
9309
|
+
/**
|
|
9310
|
+
* CSS classes for value labels inside bars (needs contrasting color)
|
|
9311
|
+
*/
|
|
9312
|
+
declare const barValueLabelInsideClasses = "fill-white text-[11px] font-medium pointer-events-none select-none";
|
|
9313
|
+
/**
|
|
9314
|
+
* CSS transition string for animated bars
|
|
9315
|
+
*/
|
|
9316
|
+
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";
|
|
9317
|
+
/**
|
|
9318
|
+
* Generate a unique gradient ID prefix for a ScatterChart instance.
|
|
9319
|
+
*/
|
|
9320
|
+
declare function getScatterGradientPrefix(): string;
|
|
9321
|
+
/**
|
|
9322
|
+
* Reset the scatter gradient counter (for testing only)
|
|
9323
|
+
*/
|
|
9324
|
+
declare function resetScatterGradientCounter(): void;
|
|
9325
|
+
/** CSS transition for scatter point hover */
|
|
9326
|
+
declare const scatterPointTransitionClasses = "transition-all duration-200 ease-out";
|
|
9327
|
+
/** Drop shadow filter for hovered scatter points */
|
|
9328
|
+
declare function getScatterHoverShadow(color: string): string;
|
|
9329
|
+
/**
|
|
9330
|
+
* Generate SVG path for different point shapes centered at (0, 0).
|
|
9331
|
+
* Use with transform="translate(cx, cy)".
|
|
9332
|
+
*/
|
|
9333
|
+
declare function getScatterPointPath(style: 'square' | 'triangle' | 'diamond', size: number): string;
|
|
9334
|
+
/**
|
|
9335
|
+
* Compute the hovered size for a scatter point.
|
|
9336
|
+
*/
|
|
9337
|
+
declare function getScatterHoverSize(baseSize: number): number;
|
|
9338
|
+
/**
|
|
9339
|
+
* CSS animation keyframes and class for scatter entrance animation.
|
|
9340
|
+
* Inject once via <style> tag.
|
|
9341
|
+
*/
|
|
9342
|
+
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)}}";
|
|
9343
|
+
declare const SCATTER_ENTRANCE_CLASS = "tiger-scatter-entrance";
|
|
8921
9344
|
|
|
8922
9345
|
/**
|
|
8923
9346
|
* Chart interaction utilities
|
|
@@ -9041,182 +9464,1182 @@ declare function getChartEntranceTransform(type: 'scale' | 'slide-up' | 'slide-l
|
|
|
9041
9464
|
}): string;
|
|
9042
9465
|
|
|
9043
9466
|
/**
|
|
9044
|
-
*
|
|
9045
|
-
* Provides edge-aware positioning with automatic collision detection and flipping.
|
|
9467
|
+
* Shared chart helpers — palette, legend, tooltip, series normalisation.
|
|
9046
9468
|
*/
|
|
9047
9469
|
|
|
9470
|
+
/** Resolve palette: `colors` → `fallbackColor` → DEFAULT_CHART_COLORS. */
|
|
9471
|
+
declare function resolveChartPalette(colors: string[] | undefined, fallbackColor?: string): string[];
|
|
9472
|
+
interface BuildLegendItemsOptions<T> {
|
|
9473
|
+
data: T[];
|
|
9474
|
+
palette: string[];
|
|
9475
|
+
activeIndex: number | null;
|
|
9476
|
+
getLabel: (datum: T, index: number) => string;
|
|
9477
|
+
getColor?: (datum: T, index: number) => string;
|
|
9478
|
+
}
|
|
9479
|
+
/** Build `ChartLegendItem[]` from data/series array. */
|
|
9480
|
+
declare function buildChartLegendItems<T>(options: BuildLegendItemsOptions<T>): ChartLegendItem[];
|
|
9481
|
+
/** Resolve tooltip content for single-series charts (Bar, Scatter, Pie). */
|
|
9482
|
+
declare function resolveChartTooltipContent<T>(hoveredIndex: number | null, data: T[], formatter: ((datum: T, index: number) => string) | undefined, defaultFormatter: (datum: T, index: number) => string): string;
|
|
9483
|
+
/** Resolve tooltip content for multi-series charts (Line, Area, Radar). */
|
|
9484
|
+
declare function resolveMultiSeriesTooltipContent<TDatum, TSeries extends {
|
|
9485
|
+
data: TDatum[];
|
|
9486
|
+
}>(hoveredPoint: {
|
|
9487
|
+
seriesIndex: number;
|
|
9488
|
+
pointIndex: number;
|
|
9489
|
+
} | 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;
|
|
9490
|
+
/**
|
|
9491
|
+
* Normalise `series` / `data` props for multi-series charts.
|
|
9492
|
+
* Returns `series` if non-empty, else wraps `data` into a single-series array.
|
|
9493
|
+
*/
|
|
9494
|
+
declare function resolveSeriesData<TDatum, TSeries extends {
|
|
9495
|
+
data: TDatum[];
|
|
9496
|
+
}>(series: TSeries[] | undefined, data: TDatum[] | undefined, defaultSeries?: Partial<Omit<TSeries, 'data'>>): TSeries[];
|
|
9497
|
+
/** Default tooltip for single-datum x/y charts (Bar, Scatter). */
|
|
9498
|
+
declare function defaultXYTooltipFormatter(datum: {
|
|
9499
|
+
x?: ChartScaleValue;
|
|
9500
|
+
y?: number;
|
|
9501
|
+
label?: string;
|
|
9502
|
+
}, index: number): string;
|
|
9503
|
+
/** Default tooltip for multi-series x/y charts (Line, Area). */
|
|
9504
|
+
declare function defaultSeriesXYTooltipFormatter<TSeries extends {
|
|
9505
|
+
name?: string;
|
|
9506
|
+
}>(datum: {
|
|
9507
|
+
x?: ChartScaleValue;
|
|
9508
|
+
y?: number;
|
|
9509
|
+
label?: string;
|
|
9510
|
+
}, seriesIndex: number, _pointIndex: number, series?: TSeries): string;
|
|
9511
|
+
/** Default tooltip for Radar chart. */
|
|
9512
|
+
declare function defaultRadarTooltipFormatter<TSeries extends {
|
|
9513
|
+
name?: string;
|
|
9514
|
+
}>(datum: {
|
|
9515
|
+
value: number;
|
|
9516
|
+
label?: string;
|
|
9517
|
+
}, seriesIndex: number, _pointIndex: number, series?: TSeries): string;
|
|
9518
|
+
|
|
9048
9519
|
/**
|
|
9049
|
-
*
|
|
9050
|
-
* These map directly to Floating UI placements.
|
|
9520
|
+
* Tag component types and interfaces
|
|
9051
9521
|
*/
|
|
9052
|
-
type FloatingPlacement = 'top' | 'top-start' | 'top-end' | 'bottom' | 'bottom-start' | 'bottom-end' | 'left' | 'left-start' | 'left-end' | 'right' | 'right-start' | 'right-end';
|
|
9053
9522
|
/**
|
|
9054
|
-
*
|
|
9523
|
+
* Tag variant types
|
|
9055
9524
|
*/
|
|
9056
|
-
|
|
9057
|
-
|
|
9058
|
-
|
|
9059
|
-
|
|
9525
|
+
type TagVariant = 'default' | 'primary' | 'success' | 'warning' | 'danger' | 'info';
|
|
9526
|
+
/**
|
|
9527
|
+
* Tag size types
|
|
9528
|
+
*/
|
|
9529
|
+
type TagSize = 'sm' | 'md' | 'lg';
|
|
9530
|
+
/**
|
|
9531
|
+
* Base tag props interface
|
|
9532
|
+
*/
|
|
9533
|
+
interface TagProps {
|
|
9534
|
+
/**
|
|
9535
|
+
* Tag variant style
|
|
9536
|
+
* @default 'default'
|
|
9537
|
+
*/
|
|
9538
|
+
variant?: TagVariant;
|
|
9539
|
+
/**
|
|
9540
|
+
* Tag size
|
|
9541
|
+
* @default 'md'
|
|
9542
|
+
*/
|
|
9543
|
+
size?: TagSize;
|
|
9544
|
+
/**
|
|
9545
|
+
* Whether the tag can be closed
|
|
9546
|
+
* @default false
|
|
9547
|
+
*/
|
|
9548
|
+
closable?: boolean;
|
|
9549
|
+
/**
|
|
9550
|
+
* Accessible label for the close button (when `closable` is true)
|
|
9551
|
+
* @default 'Close tag'
|
|
9552
|
+
*/
|
|
9553
|
+
closeAriaLabel?: string;
|
|
9554
|
+
}
|
|
9555
|
+
|
|
9556
|
+
/**
|
|
9557
|
+
* Composite component types and interfaces
|
|
9558
|
+
*/
|
|
9559
|
+
|
|
9560
|
+
/**
|
|
9561
|
+
* Chat message direction
|
|
9562
|
+
*/
|
|
9563
|
+
type ChatMessageDirection = 'self' | 'other';
|
|
9564
|
+
/**
|
|
9565
|
+
* Chat message delivery status
|
|
9566
|
+
*/
|
|
9567
|
+
type ChatMessageStatus = 'sending' | 'sent' | 'failed';
|
|
9568
|
+
/**
|
|
9569
|
+
* Chat user info
|
|
9570
|
+
*/
|
|
9571
|
+
interface ChatUser {
|
|
9572
|
+
/**
|
|
9573
|
+
* User id
|
|
9574
|
+
*/
|
|
9575
|
+
id?: string | number;
|
|
9576
|
+
/**
|
|
9577
|
+
* Display name
|
|
9578
|
+
*/
|
|
9579
|
+
name?: string;
|
|
9580
|
+
/**
|
|
9581
|
+
* Avatar image url
|
|
9582
|
+
*/
|
|
9583
|
+
avatar?: string;
|
|
9584
|
+
}
|
|
9585
|
+
/**
|
|
9586
|
+
* Chat message definition
|
|
9587
|
+
*/
|
|
9588
|
+
interface ChatMessage {
|
|
9589
|
+
/**
|
|
9590
|
+
* Unique message id
|
|
9591
|
+
*/
|
|
9592
|
+
id: string | number;
|
|
9593
|
+
/**
|
|
9594
|
+
* Message content
|
|
9595
|
+
*/
|
|
9596
|
+
content: string | number;
|
|
9597
|
+
/**
|
|
9598
|
+
* Message direction
|
|
9599
|
+
* @default 'other'
|
|
9600
|
+
*/
|
|
9601
|
+
direction?: ChatMessageDirection;
|
|
9602
|
+
/**
|
|
9603
|
+
* Sender user
|
|
9604
|
+
*/
|
|
9605
|
+
user?: ChatUser;
|
|
9606
|
+
/**
|
|
9607
|
+
* Message time
|
|
9608
|
+
*/
|
|
9609
|
+
time?: string | number | Date;
|
|
9610
|
+
/**
|
|
9611
|
+
* Message delivery status
|
|
9612
|
+
*/
|
|
9613
|
+
status?: ChatMessageStatus;
|
|
9614
|
+
/**
|
|
9615
|
+
* Custom status text (overrides default label)
|
|
9616
|
+
*/
|
|
9617
|
+
statusText?: string;
|
|
9618
|
+
/**
|
|
9619
|
+
* Custom metadata
|
|
9620
|
+
*/
|
|
9621
|
+
meta?: Record<string, unknown>;
|
|
9622
|
+
/**
|
|
9623
|
+
* Custom data
|
|
9624
|
+
*/
|
|
9625
|
+
[key: string]: unknown;
|
|
9626
|
+
}
|
|
9627
|
+
/**
|
|
9628
|
+
* Chat window props interface
|
|
9629
|
+
*/
|
|
9630
|
+
interface ChatWindowProps {
|
|
9631
|
+
/**
|
|
9632
|
+
* Message list
|
|
9633
|
+
*/
|
|
9634
|
+
messages?: ChatMessage[];
|
|
9635
|
+
/**
|
|
9636
|
+
* Input value (controlled)
|
|
9637
|
+
*/
|
|
9638
|
+
value?: string;
|
|
9639
|
+
/**
|
|
9640
|
+
* Default input value (uncontrolled)
|
|
9641
|
+
*/
|
|
9642
|
+
defaultValue?: string;
|
|
9643
|
+
/**
|
|
9644
|
+
* Input placeholder
|
|
9645
|
+
*/
|
|
9646
|
+
placeholder?: string;
|
|
9647
|
+
/**
|
|
9648
|
+
* Whether the input is disabled
|
|
9649
|
+
* @default false
|
|
9650
|
+
*/
|
|
9651
|
+
disabled?: boolean;
|
|
9652
|
+
/**
|
|
9653
|
+
* Maximum length of input
|
|
9654
|
+
*/
|
|
9655
|
+
maxLength?: number;
|
|
9656
|
+
/**
|
|
9657
|
+
* Empty state text
|
|
9658
|
+
*/
|
|
9659
|
+
emptyText?: string;
|
|
9660
|
+
/**
|
|
9661
|
+
* Send button text
|
|
9662
|
+
*/
|
|
9663
|
+
sendText?: string;
|
|
9664
|
+
/**
|
|
9665
|
+
* Aria label for message list container
|
|
9666
|
+
*/
|
|
9667
|
+
messageListAriaLabel?: string;
|
|
9668
|
+
/**
|
|
9669
|
+
* Aria label for input
|
|
9670
|
+
*/
|
|
9671
|
+
inputAriaLabel?: string;
|
|
9672
|
+
/**
|
|
9673
|
+
* Aria label for send button
|
|
9674
|
+
*/
|
|
9675
|
+
sendAriaLabel?: string;
|
|
9676
|
+
/**
|
|
9677
|
+
* Status bar text (e.g. typing, delivered)
|
|
9678
|
+
*/
|
|
9679
|
+
statusText?: string;
|
|
9680
|
+
/**
|
|
9681
|
+
* Status bar variant
|
|
9682
|
+
* @default 'info'
|
|
9683
|
+
*/
|
|
9684
|
+
statusVariant?: BadgeVariant;
|
|
9685
|
+
/**
|
|
9686
|
+
* Show avatar in message item
|
|
9687
|
+
* @default true
|
|
9688
|
+
*/
|
|
9689
|
+
showAvatar?: boolean;
|
|
9690
|
+
/**
|
|
9691
|
+
* Show user name in message item
|
|
9692
|
+
* @default true
|
|
9693
|
+
*/
|
|
9694
|
+
showName?: boolean;
|
|
9695
|
+
/**
|
|
9696
|
+
* Show time in message item
|
|
9697
|
+
* @default false
|
|
9698
|
+
*/
|
|
9699
|
+
showTime?: boolean;
|
|
9700
|
+
/**
|
|
9701
|
+
* Input type
|
|
9702
|
+
* @default 'textarea'
|
|
9703
|
+
*/
|
|
9704
|
+
inputType?: 'input' | 'textarea';
|
|
9705
|
+
/**
|
|
9706
|
+
* Textarea rows
|
|
9707
|
+
* @default 3
|
|
9708
|
+
*/
|
|
9709
|
+
inputRows?: number;
|
|
9710
|
+
/**
|
|
9711
|
+
* Send on Enter
|
|
9712
|
+
* @default true
|
|
9713
|
+
*/
|
|
9714
|
+
sendOnEnter?: boolean;
|
|
9715
|
+
/**
|
|
9716
|
+
* Allow Shift+Enter to create new line
|
|
9717
|
+
* @default true
|
|
9718
|
+
*/
|
|
9719
|
+
allowShiftEnter?: boolean;
|
|
9720
|
+
/**
|
|
9721
|
+
* Allow sending empty content
|
|
9722
|
+
* @default false
|
|
9723
|
+
*/
|
|
9724
|
+
allowEmpty?: boolean;
|
|
9725
|
+
/**
|
|
9726
|
+
* Clear input after send
|
|
9727
|
+
* @default true
|
|
9728
|
+
*/
|
|
9729
|
+
clearOnSend?: boolean;
|
|
9730
|
+
/**
|
|
9731
|
+
* Input change callback
|
|
9732
|
+
*/
|
|
9733
|
+
onChange?: (value: string) => void;
|
|
9734
|
+
/**
|
|
9735
|
+
* Send callback
|
|
9736
|
+
*/
|
|
9737
|
+
onSend?: (value: string) => void;
|
|
9738
|
+
}
|
|
9739
|
+
/**
|
|
9740
|
+
* Activity user info
|
|
9741
|
+
*/
|
|
9742
|
+
interface ActivityUser {
|
|
9743
|
+
/**
|
|
9744
|
+
* User id
|
|
9745
|
+
*/
|
|
9746
|
+
id?: string | number;
|
|
9747
|
+
/**
|
|
9748
|
+
* Display name
|
|
9749
|
+
*/
|
|
9750
|
+
name?: string;
|
|
9751
|
+
/**
|
|
9752
|
+
* Avatar image url
|
|
9753
|
+
*/
|
|
9754
|
+
avatar?: string;
|
|
9755
|
+
}
|
|
9756
|
+
/**
|
|
9757
|
+
* Activity status tag
|
|
9758
|
+
*/
|
|
9759
|
+
interface ActivityStatusTag {
|
|
9760
|
+
/**
|
|
9761
|
+
* Status label
|
|
9762
|
+
*/
|
|
9763
|
+
label: string;
|
|
9764
|
+
/**
|
|
9765
|
+
* Tag variant
|
|
9766
|
+
* @default 'default'
|
|
9767
|
+
*/
|
|
9768
|
+
variant?: TagVariant;
|
|
9769
|
+
}
|
|
9770
|
+
/**
|
|
9771
|
+
* Activity action definition
|
|
9772
|
+
*/
|
|
9773
|
+
interface ActivityAction {
|
|
9774
|
+
/**
|
|
9775
|
+
* Action key
|
|
9776
|
+
*/
|
|
9777
|
+
key?: string | number;
|
|
9778
|
+
/**
|
|
9779
|
+
* Action label
|
|
9780
|
+
*/
|
|
9781
|
+
label: string;
|
|
9782
|
+
/**
|
|
9783
|
+
* Action link
|
|
9784
|
+
*/
|
|
9785
|
+
href?: string;
|
|
9786
|
+
/**
|
|
9787
|
+
* Link target
|
|
9788
|
+
*/
|
|
9789
|
+
target?: '_blank' | '_self' | '_parent' | '_top';
|
|
9790
|
+
/**
|
|
9791
|
+
* Whether the action is disabled
|
|
9792
|
+
* @default false
|
|
9793
|
+
*/
|
|
9794
|
+
disabled?: boolean;
|
|
9795
|
+
/**
|
|
9796
|
+
* Click handler
|
|
9797
|
+
*/
|
|
9798
|
+
onClick?: (item: ActivityItem, action: ActivityAction) => void;
|
|
9799
|
+
}
|
|
9800
|
+
/**
|
|
9801
|
+
* Activity item definition
|
|
9802
|
+
*/
|
|
9803
|
+
interface ActivityItem {
|
|
9804
|
+
/**
|
|
9805
|
+
* Unique activity id
|
|
9806
|
+
*/
|
|
9807
|
+
id: string | number;
|
|
9808
|
+
/**
|
|
9809
|
+
* Activity title
|
|
9810
|
+
*/
|
|
9811
|
+
title?: string;
|
|
9812
|
+
/**
|
|
9813
|
+
* Activity description
|
|
9814
|
+
*/
|
|
9815
|
+
description?: string;
|
|
9816
|
+
/**
|
|
9817
|
+
* Activity time
|
|
9818
|
+
*/
|
|
9819
|
+
time?: string | number | Date;
|
|
9820
|
+
/**
|
|
9821
|
+
* Activity user
|
|
9822
|
+
*/
|
|
9823
|
+
user?: ActivityUser;
|
|
9824
|
+
/**
|
|
9825
|
+
* Status tag
|
|
9826
|
+
*/
|
|
9827
|
+
status?: ActivityStatusTag;
|
|
9828
|
+
/**
|
|
9829
|
+
* Actions
|
|
9830
|
+
*/
|
|
9831
|
+
actions?: ActivityAction[];
|
|
9832
|
+
/**
|
|
9833
|
+
* Custom content
|
|
9834
|
+
*/
|
|
9835
|
+
content?: unknown;
|
|
9836
|
+
/**
|
|
9837
|
+
* Custom metadata
|
|
9838
|
+
*/
|
|
9839
|
+
meta?: Record<string, unknown>;
|
|
9840
|
+
/**
|
|
9841
|
+
* Custom data
|
|
9842
|
+
*/
|
|
9843
|
+
[key: string]: unknown;
|
|
9844
|
+
}
|
|
9845
|
+
/**
|
|
9846
|
+
* Activity group definition
|
|
9847
|
+
*/
|
|
9848
|
+
interface ActivityGroup {
|
|
9849
|
+
/**
|
|
9850
|
+
* Unique group key
|
|
9851
|
+
*/
|
|
9852
|
+
key?: string | number;
|
|
9853
|
+
/**
|
|
9854
|
+
* Group title (e.g. date)
|
|
9855
|
+
*/
|
|
9856
|
+
title?: string;
|
|
9857
|
+
/**
|
|
9858
|
+
* Group items
|
|
9859
|
+
*/
|
|
9860
|
+
items: ActivityItem[];
|
|
9861
|
+
}
|
|
9862
|
+
/**
|
|
9863
|
+
* Activity feed props interface
|
|
9864
|
+
*/
|
|
9865
|
+
interface ActivityFeedProps {
|
|
9866
|
+
/**
|
|
9867
|
+
* Activity items (flat list)
|
|
9868
|
+
*/
|
|
9869
|
+
items?: ActivityItem[];
|
|
9870
|
+
/**
|
|
9871
|
+
* Activity groups
|
|
9872
|
+
*/
|
|
9873
|
+
groups?: ActivityGroup[];
|
|
9874
|
+
/**
|
|
9875
|
+
* Group by function (used when `groups` not provided)
|
|
9876
|
+
*/
|
|
9877
|
+
groupBy?: (item: ActivityItem) => string;
|
|
9878
|
+
/**
|
|
9879
|
+
* Optional group order
|
|
9880
|
+
*/
|
|
9881
|
+
groupOrder?: string[];
|
|
9882
|
+
/**
|
|
9883
|
+
* Whether to show loading state
|
|
9884
|
+
* @default false
|
|
9885
|
+
*/
|
|
9886
|
+
loading?: boolean;
|
|
9887
|
+
/**
|
|
9888
|
+
* Loading text
|
|
9889
|
+
*/
|
|
9890
|
+
loadingText?: string;
|
|
9891
|
+
/**
|
|
9892
|
+
* Empty state text
|
|
9893
|
+
*/
|
|
9894
|
+
emptyText?: string;
|
|
9895
|
+
/**
|
|
9896
|
+
* Show avatar
|
|
9897
|
+
* @default true
|
|
9898
|
+
*/
|
|
9899
|
+
showAvatar?: boolean;
|
|
9900
|
+
/**
|
|
9901
|
+
* Show time label
|
|
9902
|
+
* @default true
|
|
9903
|
+
*/
|
|
9904
|
+
showTime?: boolean;
|
|
9905
|
+
/**
|
|
9906
|
+
* Show group title
|
|
9907
|
+
* @default true
|
|
9908
|
+
*/
|
|
9909
|
+
showGroupTitle?: boolean;
|
|
9910
|
+
/**
|
|
9911
|
+
* Custom render for activity item
|
|
9912
|
+
*/
|
|
9913
|
+
renderItem?: (item: ActivityItem, index: number, group?: ActivityGroup) => unknown;
|
|
9914
|
+
/**
|
|
9915
|
+
* Custom render for group header
|
|
9916
|
+
*/
|
|
9917
|
+
renderGroupHeader?: (group: ActivityGroup) => unknown;
|
|
9918
|
+
}
|
|
9919
|
+
/**
|
|
9920
|
+
* Comment user info
|
|
9921
|
+
*/
|
|
9922
|
+
interface CommentUser {
|
|
9923
|
+
/**
|
|
9924
|
+
* User id
|
|
9925
|
+
*/
|
|
9926
|
+
id?: string | number;
|
|
9927
|
+
/**
|
|
9928
|
+
* Display name
|
|
9929
|
+
*/
|
|
9930
|
+
name?: string;
|
|
9931
|
+
/**
|
|
9932
|
+
* Avatar image url
|
|
9933
|
+
*/
|
|
9934
|
+
avatar?: string;
|
|
9935
|
+
/**
|
|
9936
|
+
* Optional title or role
|
|
9937
|
+
*/
|
|
9938
|
+
title?: string;
|
|
9939
|
+
}
|
|
9940
|
+
/**
|
|
9941
|
+
* Comment tag definition
|
|
9942
|
+
*/
|
|
9943
|
+
interface CommentTag {
|
|
9944
|
+
/**
|
|
9945
|
+
* Tag label
|
|
9946
|
+
*/
|
|
9947
|
+
label: string;
|
|
9948
|
+
/**
|
|
9949
|
+
* Tag variant
|
|
9950
|
+
* @default 'default'
|
|
9951
|
+
*/
|
|
9952
|
+
variant?: TagVariant;
|
|
9953
|
+
}
|
|
9954
|
+
/**
|
|
9955
|
+
* Comment action definition
|
|
9956
|
+
*/
|
|
9957
|
+
interface CommentAction {
|
|
9958
|
+
/**
|
|
9959
|
+
* Action key
|
|
9960
|
+
*/
|
|
9961
|
+
key?: string | number;
|
|
9962
|
+
/**
|
|
9963
|
+
* Action label
|
|
9964
|
+
*/
|
|
9965
|
+
label: string;
|
|
9966
|
+
/**
|
|
9967
|
+
* Button variant
|
|
9968
|
+
* @default 'ghost'
|
|
9969
|
+
*/
|
|
9970
|
+
variant?: ButtonVariant;
|
|
9971
|
+
/**
|
|
9972
|
+
* Whether the action is disabled
|
|
9973
|
+
* @default false
|
|
9974
|
+
*/
|
|
9975
|
+
disabled?: boolean;
|
|
9976
|
+
/**
|
|
9977
|
+
* Click handler
|
|
9978
|
+
*/
|
|
9979
|
+
onClick?: (node: CommentNode, action: CommentAction) => void;
|
|
9980
|
+
}
|
|
9981
|
+
/**
|
|
9982
|
+
* Comment node definition
|
|
9983
|
+
*/
|
|
9984
|
+
interface CommentNode {
|
|
9985
|
+
/**
|
|
9986
|
+
* Unique comment id
|
|
9987
|
+
*/
|
|
9988
|
+
id: string | number;
|
|
9989
|
+
/**
|
|
9990
|
+
* Parent id (flat data)
|
|
9991
|
+
*/
|
|
9992
|
+
parentId?: string | number;
|
|
9993
|
+
/**
|
|
9994
|
+
* Comment content
|
|
9995
|
+
*/
|
|
9996
|
+
content: string | number;
|
|
9997
|
+
/**
|
|
9998
|
+
* Comment user
|
|
9999
|
+
*/
|
|
10000
|
+
user?: CommentUser;
|
|
10001
|
+
/**
|
|
10002
|
+
* Comment time
|
|
10003
|
+
*/
|
|
10004
|
+
time?: string | number | Date;
|
|
10005
|
+
/**
|
|
10006
|
+
* Like count
|
|
10007
|
+
*/
|
|
10008
|
+
likes?: number;
|
|
10009
|
+
/**
|
|
10010
|
+
* Whether liked
|
|
10011
|
+
*/
|
|
10012
|
+
liked?: boolean;
|
|
10013
|
+
/**
|
|
10014
|
+
* Single tag
|
|
10015
|
+
*/
|
|
10016
|
+
tag?: CommentTag;
|
|
10017
|
+
/**
|
|
10018
|
+
* Additional tags
|
|
10019
|
+
*/
|
|
10020
|
+
tags?: CommentTag[];
|
|
10021
|
+
/**
|
|
10022
|
+
* Custom actions
|
|
10023
|
+
*/
|
|
10024
|
+
actions?: CommentAction[];
|
|
10025
|
+
/**
|
|
10026
|
+
* Nested replies
|
|
10027
|
+
*/
|
|
10028
|
+
children?: CommentNode[];
|
|
10029
|
+
/**
|
|
10030
|
+
* Custom metadata
|
|
10031
|
+
*/
|
|
10032
|
+
meta?: Record<string, unknown>;
|
|
10033
|
+
/**
|
|
10034
|
+
* Custom data
|
|
10035
|
+
*/
|
|
10036
|
+
[key: string]: unknown;
|
|
10037
|
+
}
|
|
10038
|
+
/**
|
|
10039
|
+
* Comment thread props interface
|
|
10040
|
+
*/
|
|
10041
|
+
interface CommentThreadProps {
|
|
10042
|
+
/**
|
|
10043
|
+
* Comment nodes (tree)
|
|
10044
|
+
*/
|
|
10045
|
+
nodes?: CommentNode[];
|
|
10046
|
+
/**
|
|
10047
|
+
* Comment items (flat list)
|
|
10048
|
+
*/
|
|
10049
|
+
items?: CommentNode[];
|
|
10050
|
+
/**
|
|
10051
|
+
* Maximum nesting depth
|
|
10052
|
+
* @default 3
|
|
10053
|
+
*/
|
|
10054
|
+
maxDepth?: number;
|
|
10055
|
+
/**
|
|
10056
|
+
* Maximum replies to show per node
|
|
10057
|
+
* @default 3
|
|
10058
|
+
*/
|
|
10059
|
+
maxReplies?: number;
|
|
10060
|
+
/**
|
|
10061
|
+
* Default expanded reply keys
|
|
10062
|
+
*/
|
|
10063
|
+
defaultExpandedKeys?: Array<string | number>;
|
|
10064
|
+
/**
|
|
10065
|
+
* Expanded reply keys (controlled)
|
|
10066
|
+
*/
|
|
10067
|
+
expandedKeys?: Array<string | number>;
|
|
10068
|
+
/**
|
|
10069
|
+
* Empty state text
|
|
10070
|
+
*/
|
|
10071
|
+
emptyText?: string;
|
|
10072
|
+
/**
|
|
10073
|
+
* Reply input placeholder
|
|
10074
|
+
*/
|
|
10075
|
+
replyPlaceholder?: string;
|
|
10076
|
+
/**
|
|
10077
|
+
* Reply submit button text
|
|
10078
|
+
*/
|
|
10079
|
+
replyButtonText?: string;
|
|
10080
|
+
/**
|
|
10081
|
+
* Reply cancel button text
|
|
10082
|
+
*/
|
|
10083
|
+
cancelReplyText?: string;
|
|
10084
|
+
/**
|
|
10085
|
+
* Like button text
|
|
10086
|
+
*/
|
|
10087
|
+
likeText?: string;
|
|
10088
|
+
/**
|
|
10089
|
+
* Liked button text
|
|
10090
|
+
*/
|
|
10091
|
+
likedText?: string;
|
|
10092
|
+
/**
|
|
10093
|
+
* Reply action text
|
|
10094
|
+
*/
|
|
10095
|
+
replyText?: string;
|
|
10096
|
+
/**
|
|
10097
|
+
* More action text
|
|
10098
|
+
*/
|
|
10099
|
+
moreText?: string;
|
|
10100
|
+
/**
|
|
10101
|
+
* Load more text
|
|
10102
|
+
*/
|
|
10103
|
+
loadMoreText?: string;
|
|
10104
|
+
/**
|
|
10105
|
+
* Show avatar
|
|
10106
|
+
* @default true
|
|
10107
|
+
*/
|
|
10108
|
+
showAvatar?: boolean;
|
|
10109
|
+
/**
|
|
10110
|
+
* Show divider
|
|
10111
|
+
* @default true
|
|
10112
|
+
*/
|
|
10113
|
+
showDivider?: boolean;
|
|
10114
|
+
/**
|
|
10115
|
+
* Show like action
|
|
10116
|
+
* @default true
|
|
10117
|
+
*/
|
|
10118
|
+
showLike?: boolean;
|
|
10119
|
+
/**
|
|
10120
|
+
* Show reply action
|
|
10121
|
+
* @default true
|
|
10122
|
+
*/
|
|
10123
|
+
showReply?: boolean;
|
|
10124
|
+
/**
|
|
10125
|
+
* Show more action
|
|
10126
|
+
* @default true
|
|
10127
|
+
*/
|
|
10128
|
+
showMore?: boolean;
|
|
10129
|
+
/**
|
|
10130
|
+
* Like callback
|
|
10131
|
+
*/
|
|
10132
|
+
onLike?: (node: CommentNode, liked: boolean) => void;
|
|
10133
|
+
/**
|
|
10134
|
+
* Reply submit callback
|
|
10135
|
+
*/
|
|
10136
|
+
onReply?: (node: CommentNode, value: string) => void;
|
|
10137
|
+
/**
|
|
10138
|
+
* More action callback
|
|
10139
|
+
*/
|
|
10140
|
+
onMore?: (node: CommentNode) => void;
|
|
10141
|
+
/**
|
|
10142
|
+
* Custom action callback
|
|
10143
|
+
*/
|
|
10144
|
+
onAction?: (node: CommentNode, action: CommentAction) => void;
|
|
10145
|
+
/**
|
|
10146
|
+
* Expanded keys change callback
|
|
10147
|
+
*/
|
|
10148
|
+
onExpandedChange?: (keys: Array<string | number>) => void;
|
|
10149
|
+
/**
|
|
10150
|
+
* Load more callback
|
|
10151
|
+
*/
|
|
10152
|
+
onLoadMore?: (node: CommentNode) => void;
|
|
10153
|
+
}
|
|
10154
|
+
/**
|
|
10155
|
+
* Notification read filter
|
|
10156
|
+
*/
|
|
10157
|
+
type NotificationReadFilter = 'all' | 'unread' | 'read';
|
|
10158
|
+
/**
|
|
10159
|
+
* Notification item definition
|
|
10160
|
+
*/
|
|
10161
|
+
interface NotificationItem {
|
|
10162
|
+
/**
|
|
10163
|
+
* Unique notification id
|
|
10164
|
+
*/
|
|
10165
|
+
id: string | number;
|
|
10166
|
+
/**
|
|
10167
|
+
* Notification title
|
|
10168
|
+
*/
|
|
10169
|
+
title: string;
|
|
10170
|
+
/**
|
|
10171
|
+
* Notification description
|
|
10172
|
+
*/
|
|
10173
|
+
description?: string;
|
|
10174
|
+
/**
|
|
10175
|
+
* Notification time
|
|
10176
|
+
*/
|
|
10177
|
+
time?: string | number | Date;
|
|
10178
|
+
/**
|
|
10179
|
+
* Notification type/group key
|
|
10180
|
+
*/
|
|
10181
|
+
type?: string;
|
|
10182
|
+
/**
|
|
10183
|
+
* Whether notification is read
|
|
10184
|
+
*/
|
|
10185
|
+
read?: boolean;
|
|
10186
|
+
/**
|
|
10187
|
+
* Custom metadata
|
|
10188
|
+
*/
|
|
10189
|
+
meta?: Record<string, unknown>;
|
|
10190
|
+
/**
|
|
10191
|
+
* Custom data
|
|
10192
|
+
*/
|
|
10193
|
+
[key: string]: unknown;
|
|
10194
|
+
}
|
|
10195
|
+
/**
|
|
10196
|
+
* Notification group definition
|
|
10197
|
+
*/
|
|
10198
|
+
interface NotificationGroup {
|
|
10199
|
+
/**
|
|
10200
|
+
* Unique group key
|
|
10201
|
+
*/
|
|
10202
|
+
key?: string | number;
|
|
10203
|
+
/**
|
|
10204
|
+
* Group title
|
|
10205
|
+
*/
|
|
10206
|
+
title: string;
|
|
10207
|
+
/**
|
|
10208
|
+
* Group items
|
|
10209
|
+
*/
|
|
10210
|
+
items: NotificationItem[];
|
|
10211
|
+
}
|
|
10212
|
+
/**
|
|
10213
|
+
* Notification center props interface
|
|
10214
|
+
*/
|
|
10215
|
+
interface NotificationCenterProps {
|
|
10216
|
+
/**
|
|
10217
|
+
* Notification items (flat list)
|
|
10218
|
+
*/
|
|
10219
|
+
items?: NotificationItem[];
|
|
10220
|
+
/**
|
|
10221
|
+
* Notification groups
|
|
10222
|
+
*/
|
|
10223
|
+
groups?: NotificationGroup[];
|
|
10224
|
+
/**
|
|
10225
|
+
* Group by function (used when `groups` not provided)
|
|
10226
|
+
*/
|
|
10227
|
+
groupBy?: (item: NotificationItem) => string;
|
|
10228
|
+
/**
|
|
10229
|
+
* Optional group order
|
|
10230
|
+
*/
|
|
10231
|
+
groupOrder?: string[];
|
|
10232
|
+
/**
|
|
10233
|
+
* Active group key (controlled)
|
|
10234
|
+
*/
|
|
10235
|
+
activeGroupKey?: string | number;
|
|
10236
|
+
/**
|
|
10237
|
+
* Default active group key (uncontrolled)
|
|
9060
10238
|
*/
|
|
9061
|
-
|
|
10239
|
+
defaultActiveGroupKey?: string | number;
|
|
9062
10240
|
/**
|
|
9063
|
-
*
|
|
9064
|
-
* @default
|
|
10241
|
+
* Read filter (controlled)
|
|
10242
|
+
* @default 'all'
|
|
9065
10243
|
*/
|
|
9066
|
-
|
|
10244
|
+
readFilter?: NotificationReadFilter;
|
|
9067
10245
|
/**
|
|
9068
|
-
*
|
|
9069
|
-
* @default
|
|
10246
|
+
* Default read filter (uncontrolled)
|
|
10247
|
+
* @default 'all'
|
|
9070
10248
|
*/
|
|
9071
|
-
|
|
10249
|
+
defaultReadFilter?: NotificationReadFilter;
|
|
9072
10250
|
/**
|
|
9073
|
-
*
|
|
10251
|
+
* Loading state
|
|
10252
|
+
* @default false
|
|
10253
|
+
*/
|
|
10254
|
+
loading?: boolean;
|
|
10255
|
+
/**
|
|
10256
|
+
* Loading text
|
|
10257
|
+
*/
|
|
10258
|
+
loadingText?: string;
|
|
10259
|
+
/**
|
|
10260
|
+
* Empty state text
|
|
10261
|
+
*/
|
|
10262
|
+
emptyText?: string;
|
|
10263
|
+
/**
|
|
10264
|
+
* Title text
|
|
10265
|
+
*/
|
|
10266
|
+
title?: string;
|
|
10267
|
+
/**
|
|
10268
|
+
* Label for "all" filter
|
|
10269
|
+
*/
|
|
10270
|
+
allLabel?: string;
|
|
10271
|
+
/**
|
|
10272
|
+
* Label for "unread" filter
|
|
10273
|
+
*/
|
|
10274
|
+
unreadLabel?: string;
|
|
10275
|
+
/**
|
|
10276
|
+
* Label for "read" filter
|
|
10277
|
+
*/
|
|
10278
|
+
readLabel?: string;
|
|
10279
|
+
/**
|
|
10280
|
+
* Mark all as read button text
|
|
10281
|
+
*/
|
|
10282
|
+
markAllReadText?: string;
|
|
10283
|
+
/**
|
|
10284
|
+
* Mark as read button text
|
|
10285
|
+
*/
|
|
10286
|
+
markReadText?: string;
|
|
10287
|
+
/**
|
|
10288
|
+
* Mark as unread button text
|
|
10289
|
+
*/
|
|
10290
|
+
markUnreadText?: string;
|
|
10291
|
+
/**
|
|
10292
|
+
* Group change callback
|
|
10293
|
+
*/
|
|
10294
|
+
onGroupChange?: (key: string | number) => void;
|
|
10295
|
+
/**
|
|
10296
|
+
* Read filter change callback
|
|
10297
|
+
*/
|
|
10298
|
+
onReadFilterChange?: (filter: NotificationReadFilter) => void;
|
|
10299
|
+
/**
|
|
10300
|
+
* Mark all read callback
|
|
10301
|
+
*/
|
|
10302
|
+
onMarkAllRead?: (groupKey: string | number | undefined, items: NotificationItem[]) => void;
|
|
10303
|
+
/**
|
|
10304
|
+
* Item click callback
|
|
10305
|
+
*/
|
|
10306
|
+
onItemClick?: (item: NotificationItem, index: number) => void;
|
|
10307
|
+
/**
|
|
10308
|
+
* Item read change callback
|
|
10309
|
+
*/
|
|
10310
|
+
onItemReadChange?: (item: NotificationItem, read: boolean) => void;
|
|
10311
|
+
/**
|
|
10312
|
+
* Whether to manage read state internally.
|
|
10313
|
+
* When true, the component tracks read/unread state itself,
|
|
10314
|
+
* so you don't need to wire up onItemReadChange / onMarkAllRead handlers.
|
|
10315
|
+
* Callbacks are still fired for external side-effects (e.g. API calls).
|
|
10316
|
+
* @default false
|
|
10317
|
+
*/
|
|
10318
|
+
manageReadState?: boolean;
|
|
10319
|
+
}
|
|
10320
|
+
/**
|
|
10321
|
+
* Toolbar filter value
|
|
10322
|
+
*/
|
|
10323
|
+
type TableToolbarFilterValue = string | number | null;
|
|
10324
|
+
/**
|
|
10325
|
+
* Table toolbar filter definition
|
|
10326
|
+
*/
|
|
10327
|
+
interface TableToolbarFilter {
|
|
10328
|
+
/**
|
|
10329
|
+
* Filter key
|
|
10330
|
+
*/
|
|
10331
|
+
key: string;
|
|
10332
|
+
/**
|
|
10333
|
+
* Filter label
|
|
10334
|
+
*/
|
|
10335
|
+
label: string;
|
|
10336
|
+
/**
|
|
10337
|
+
* Filter options
|
|
10338
|
+
*/
|
|
10339
|
+
options: FilterOption[];
|
|
10340
|
+
/**
|
|
10341
|
+
* Placeholder text for the trigger
|
|
10342
|
+
*/
|
|
10343
|
+
placeholder?: string;
|
|
10344
|
+
/**
|
|
10345
|
+
* Whether the filter can be cleared
|
|
9074
10346
|
* @default true
|
|
9075
10347
|
*/
|
|
9076
|
-
|
|
10348
|
+
clearable?: boolean;
|
|
9077
10349
|
/**
|
|
9078
|
-
*
|
|
9079
|
-
* @default
|
|
10350
|
+
* Label for the clear option
|
|
10351
|
+
* @default '全部'
|
|
9080
10352
|
*/
|
|
9081
|
-
|
|
10353
|
+
clearLabel?: string;
|
|
9082
10354
|
/**
|
|
9083
|
-
*
|
|
10355
|
+
* Controlled filter value
|
|
9084
10356
|
*/
|
|
9085
|
-
|
|
10357
|
+
value?: TableToolbarFilterValue;
|
|
9086
10358
|
/**
|
|
9087
|
-
*
|
|
9088
|
-
* @default 8
|
|
10359
|
+
* Default filter value (uncontrolled)
|
|
9089
10360
|
*/
|
|
9090
|
-
|
|
10361
|
+
defaultValue?: TableToolbarFilterValue;
|
|
9091
10362
|
}
|
|
9092
10363
|
/**
|
|
9093
|
-
*
|
|
10364
|
+
* Table toolbar bulk action
|
|
9094
10365
|
*/
|
|
9095
|
-
interface
|
|
10366
|
+
interface TableToolbarAction {
|
|
9096
10367
|
/**
|
|
9097
|
-
*
|
|
10368
|
+
* Action key
|
|
9098
10369
|
*/
|
|
9099
|
-
|
|
10370
|
+
key: string | number;
|
|
9100
10371
|
/**
|
|
9101
|
-
*
|
|
10372
|
+
* Action label
|
|
9102
10373
|
*/
|
|
9103
|
-
|
|
10374
|
+
label: string;
|
|
9104
10375
|
/**
|
|
9105
|
-
*
|
|
10376
|
+
* Button variant
|
|
10377
|
+
* @default 'outline'
|
|
9106
10378
|
*/
|
|
9107
|
-
|
|
10379
|
+
variant?: ButtonVariant;
|
|
9108
10380
|
/**
|
|
9109
|
-
*
|
|
10381
|
+
* Whether the action is disabled
|
|
10382
|
+
* @default false
|
|
9110
10383
|
*/
|
|
9111
|
-
|
|
9112
|
-
x?: number;
|
|
9113
|
-
y?: number;
|
|
9114
|
-
};
|
|
10384
|
+
disabled?: boolean;
|
|
9115
10385
|
/**
|
|
9116
|
-
*
|
|
10386
|
+
* Click handler
|
|
9117
10387
|
*/
|
|
9118
|
-
|
|
10388
|
+
onClick?: (selectedKeys: (string | number)[]) => void;
|
|
9119
10389
|
}
|
|
9120
10390
|
/**
|
|
9121
|
-
*
|
|
9122
|
-
* Uses Floating UI for edge-aware positioning with automatic collision detection.
|
|
9123
|
-
*
|
|
9124
|
-
* @param reference - The reference element (trigger)
|
|
9125
|
-
* @param floating - The floating element (popup/tooltip)
|
|
9126
|
-
* @param options - Positioning options
|
|
9127
|
-
* @returns Promise resolving to position data
|
|
9128
|
-
*
|
|
9129
|
-
* @example
|
|
9130
|
-
* ```ts
|
|
9131
|
-
* const { x, y, placement } = await computeFloatingPosition(
|
|
9132
|
-
* triggerEl,
|
|
9133
|
-
* tooltipEl,
|
|
9134
|
-
* { placement: 'top', offset: 8 }
|
|
9135
|
-
* )
|
|
9136
|
-
* tooltipEl.style.left = `${x}px`
|
|
9137
|
-
* tooltipEl.style.top = `${y}px`
|
|
9138
|
-
* ```
|
|
10391
|
+
* Table toolbar props
|
|
9139
10392
|
*/
|
|
9140
|
-
|
|
10393
|
+
interface TableToolbarProps {
|
|
10394
|
+
/**
|
|
10395
|
+
* Search value (controlled)
|
|
10396
|
+
*/
|
|
10397
|
+
searchValue?: string;
|
|
10398
|
+
/**
|
|
10399
|
+
* Default search value (uncontrolled)
|
|
10400
|
+
*/
|
|
10401
|
+
defaultSearchValue?: string;
|
|
10402
|
+
/**
|
|
10403
|
+
* Search input placeholder
|
|
10404
|
+
*/
|
|
10405
|
+
searchPlaceholder?: string;
|
|
10406
|
+
/**
|
|
10407
|
+
* Search button text
|
|
10408
|
+
* @default '搜索'
|
|
10409
|
+
*/
|
|
10410
|
+
searchButtonText?: string;
|
|
10411
|
+
/**
|
|
10412
|
+
* Whether to show search button
|
|
10413
|
+
* @default true
|
|
10414
|
+
*/
|
|
10415
|
+
showSearchButton?: boolean;
|
|
10416
|
+
/**
|
|
10417
|
+
* Search value change callback
|
|
10418
|
+
*/
|
|
10419
|
+
onSearchChange?: (value: string) => void;
|
|
10420
|
+
/**
|
|
10421
|
+
* Search submit callback
|
|
10422
|
+
*/
|
|
10423
|
+
onSearch?: (value: string) => void;
|
|
10424
|
+
/**
|
|
10425
|
+
* Filter definitions
|
|
10426
|
+
*/
|
|
10427
|
+
filters?: TableToolbarFilter[];
|
|
10428
|
+
/**
|
|
10429
|
+
* Filters change callback
|
|
10430
|
+
*/
|
|
10431
|
+
onFiltersChange?: (filters: Record<string, TableToolbarFilterValue>) => void;
|
|
10432
|
+
/**
|
|
10433
|
+
* Bulk actions
|
|
10434
|
+
*/
|
|
10435
|
+
bulkActions?: TableToolbarAction[];
|
|
10436
|
+
/**
|
|
10437
|
+
* Selected row keys
|
|
10438
|
+
*/
|
|
10439
|
+
selectedKeys?: (string | number)[];
|
|
10440
|
+
/**
|
|
10441
|
+
* Selected row count
|
|
10442
|
+
*/
|
|
10443
|
+
selectedCount?: number;
|
|
10444
|
+
/**
|
|
10445
|
+
* Bulk actions label prefix
|
|
10446
|
+
* @default '已选择'
|
|
10447
|
+
*/
|
|
10448
|
+
bulkActionsLabel?: string;
|
|
10449
|
+
/**
|
|
10450
|
+
* Bulk action click callback
|
|
10451
|
+
*/
|
|
10452
|
+
onBulkAction?: (action: TableToolbarAction, selectedKeys: (string | number)[]) => void;
|
|
10453
|
+
}
|
|
9141
10454
|
/**
|
|
9142
|
-
*
|
|
10455
|
+
* Data table with toolbar props
|
|
9143
10456
|
*/
|
|
9144
|
-
|
|
10457
|
+
interface DataTableWithToolbarProps<T = Record<string, unknown>> extends Omit<TableProps<T>, 'pagination'> {
|
|
10458
|
+
/**
|
|
10459
|
+
* Toolbar configuration
|
|
10460
|
+
*/
|
|
10461
|
+
toolbar?: TableToolbarProps;
|
|
10462
|
+
/**
|
|
10463
|
+
* Pagination configuration
|
|
10464
|
+
* Set to false to disable
|
|
10465
|
+
*/
|
|
10466
|
+
pagination?: PaginationProps | false;
|
|
10467
|
+
/**
|
|
10468
|
+
* Page change callback
|
|
10469
|
+
*/
|
|
10470
|
+
onPageChange?: (current: number, pageSize: number) => void;
|
|
10471
|
+
/**
|
|
10472
|
+
* Page size change callback
|
|
10473
|
+
*/
|
|
10474
|
+
onPageSizeChange?: (current: number, pageSize: number) => void;
|
|
10475
|
+
}
|
|
9145
10476
|
/**
|
|
9146
|
-
*
|
|
9147
|
-
* Updates position when reference/floating elements resize, scroll, or when
|
|
9148
|
-
* the reference moves in the viewport.
|
|
9149
|
-
*
|
|
9150
|
-
* @param reference - The reference element (trigger)
|
|
9151
|
-
* @param floating - The floating element (popup/tooltip)
|
|
9152
|
-
* @param update - Callback to run when position should be updated
|
|
9153
|
-
* @returns Cleanup function to stop auto-updates
|
|
9154
|
-
*
|
|
9155
|
-
* @example
|
|
9156
|
-
* ```ts
|
|
9157
|
-
* const cleanup = autoUpdateFloating(triggerEl, tooltipEl, async () => {
|
|
9158
|
-
* const { x, y } = await computeFloatingPosition(triggerEl, tooltipEl)
|
|
9159
|
-
* tooltipEl.style.left = `${x}px`
|
|
9160
|
-
* tooltipEl.style.top = `${y}px`
|
|
9161
|
-
* })
|
|
9162
|
-
*
|
|
9163
|
-
* // Later, when unmounting:
|
|
9164
|
-
* cleanup()
|
|
9165
|
-
* ```
|
|
10477
|
+
* Form wizard step definition
|
|
9166
10478
|
*/
|
|
9167
|
-
|
|
10479
|
+
interface WizardStep {
|
|
10480
|
+
/**
|
|
10481
|
+
* Unique step key
|
|
10482
|
+
*/
|
|
10483
|
+
key?: string | number;
|
|
10484
|
+
/**
|
|
10485
|
+
* Step title
|
|
10486
|
+
*/
|
|
10487
|
+
title: string;
|
|
10488
|
+
/**
|
|
10489
|
+
* Step description
|
|
10490
|
+
*/
|
|
10491
|
+
description?: string;
|
|
10492
|
+
/**
|
|
10493
|
+
* Step status (overrides automatic status)
|
|
10494
|
+
*/
|
|
10495
|
+
status?: StepStatus;
|
|
10496
|
+
/**
|
|
10497
|
+
* Step icon (optional)
|
|
10498
|
+
*/
|
|
10499
|
+
icon?: unknown;
|
|
10500
|
+
/**
|
|
10501
|
+
* Whether the step is disabled
|
|
10502
|
+
*/
|
|
10503
|
+
disabled?: boolean;
|
|
10504
|
+
/**
|
|
10505
|
+
* Step content (framework-specific)
|
|
10506
|
+
*/
|
|
10507
|
+
content?: unknown;
|
|
10508
|
+
/**
|
|
10509
|
+
* Field names for step-scoped validation
|
|
10510
|
+
*/
|
|
10511
|
+
fields?: string[];
|
|
10512
|
+
/**
|
|
10513
|
+
* Custom data
|
|
10514
|
+
*/
|
|
10515
|
+
[key: string]: unknown;
|
|
10516
|
+
}
|
|
9168
10517
|
/**
|
|
9169
|
-
*
|
|
9170
|
-
* Useful for scaling/fading animations that should originate from the reference.
|
|
9171
|
-
*
|
|
9172
|
-
* @param placement - Current placement of the floating element
|
|
9173
|
-
* @returns CSS transform-origin value
|
|
9174
|
-
*
|
|
9175
|
-
* @example
|
|
9176
|
-
* ```ts
|
|
9177
|
-
* tooltipEl.style.transformOrigin = getTransformOrigin('top')
|
|
9178
|
-
* // Returns 'bottom center'
|
|
9179
|
-
* ```
|
|
10518
|
+
* Form wizard validation result
|
|
9180
10519
|
*/
|
|
9181
|
-
|
|
10520
|
+
type FormWizardValidateResult = boolean | string;
|
|
10521
|
+
/**
|
|
10522
|
+
* Form wizard validation callback
|
|
10523
|
+
*/
|
|
10524
|
+
type FormWizardValidator = (current: number, step: WizardStep, steps: WizardStep[]) => FormWizardValidateResult | Promise<FormWizardValidateResult>;
|
|
10525
|
+
/**
|
|
10526
|
+
* Form wizard props
|
|
10527
|
+
*/
|
|
10528
|
+
interface FormWizardProps {
|
|
10529
|
+
/**
|
|
10530
|
+
* Steps configuration
|
|
10531
|
+
*/
|
|
10532
|
+
steps: WizardStep[];
|
|
10533
|
+
/**
|
|
10534
|
+
* Current step index (0-based)
|
|
10535
|
+
*/
|
|
10536
|
+
current?: number;
|
|
10537
|
+
/**
|
|
10538
|
+
* Default step index (uncontrolled)
|
|
10539
|
+
* @default 0
|
|
10540
|
+
*/
|
|
10541
|
+
defaultCurrent?: number;
|
|
10542
|
+
/**
|
|
10543
|
+
* Whether steps are clickable
|
|
10544
|
+
* @default false
|
|
10545
|
+
*/
|
|
10546
|
+
clickable?: boolean;
|
|
10547
|
+
/**
|
|
10548
|
+
* Steps direction
|
|
10549
|
+
* @default 'horizontal'
|
|
10550
|
+
*/
|
|
10551
|
+
direction?: StepsDirection;
|
|
10552
|
+
/**
|
|
10553
|
+
* Steps size
|
|
10554
|
+
* @default 'default'
|
|
10555
|
+
*/
|
|
10556
|
+
size?: StepSize;
|
|
10557
|
+
/**
|
|
10558
|
+
* Whether to use simple steps style
|
|
10559
|
+
* @default false
|
|
10560
|
+
*/
|
|
10561
|
+
simple?: boolean;
|
|
10562
|
+
/**
|
|
10563
|
+
* Whether to show steps header
|
|
10564
|
+
* @default true
|
|
10565
|
+
*/
|
|
10566
|
+
showSteps?: boolean;
|
|
10567
|
+
/**
|
|
10568
|
+
* Whether to show action buttons
|
|
10569
|
+
* @default true
|
|
10570
|
+
*/
|
|
10571
|
+
showActions?: boolean;
|
|
10572
|
+
/**
|
|
10573
|
+
* Previous button text
|
|
10574
|
+
*/
|
|
10575
|
+
prevText?: string;
|
|
10576
|
+
/**
|
|
10577
|
+
* Next button text
|
|
10578
|
+
*/
|
|
10579
|
+
nextText?: string;
|
|
10580
|
+
/**
|
|
10581
|
+
* Finish button text
|
|
10582
|
+
*/
|
|
10583
|
+
finishText?: string;
|
|
10584
|
+
/**
|
|
10585
|
+
* Locale overrides for FormWizard UI text
|
|
10586
|
+
*/
|
|
10587
|
+
locale?: Partial<TigerLocale>;
|
|
10588
|
+
/**
|
|
10589
|
+
* Validation hook before moving to next step
|
|
10590
|
+
*/
|
|
10591
|
+
beforeNext?: FormWizardValidator;
|
|
10592
|
+
/**
|
|
10593
|
+
* Step change callback
|
|
10594
|
+
*/
|
|
10595
|
+
onChange?: (current: number, prev: number) => void;
|
|
10596
|
+
/**
|
|
10597
|
+
* Finish callback
|
|
10598
|
+
*/
|
|
10599
|
+
onFinish?: (current: number, steps: WizardStep[]) => void;
|
|
10600
|
+
/**
|
|
10601
|
+
* Additional CSS classes
|
|
10602
|
+
*/
|
|
10603
|
+
className?: string;
|
|
10604
|
+
/**
|
|
10605
|
+
* Custom styles
|
|
10606
|
+
*/
|
|
10607
|
+
style?: Record<string, unknown>;
|
|
10608
|
+
}
|
|
10609
|
+
|
|
9182
10610
|
/**
|
|
9183
|
-
*
|
|
9184
|
-
*
|
|
9185
|
-
* @param placement - Current placement
|
|
9186
|
-
* @returns The side: 'top', 'bottom', 'left', or 'right'
|
|
10611
|
+
* ChatWindow component utilities
|
|
9187
10612
|
*/
|
|
9188
|
-
|
|
10613
|
+
|
|
10614
|
+
interface ChatMessageStatusInfo {
|
|
10615
|
+
text: string;
|
|
10616
|
+
className: string;
|
|
10617
|
+
}
|
|
10618
|
+
declare const defaultChatMessageStatusInfo: Record<ChatMessageStatus, ChatMessageStatusInfo>;
|
|
10619
|
+
declare function getChatMessageStatusInfo(status: ChatMessageStatus, statusMap?: Record<ChatMessageStatus, ChatMessageStatusInfo>): ChatMessageStatusInfo;
|
|
10620
|
+
|
|
10621
|
+
declare const formatActivityTime: (value?: string | number | Date) => string;
|
|
10622
|
+
declare const sortActivityGroups: (groups: ActivityGroup[], groupOrder?: string[]) => ActivityGroup[];
|
|
10623
|
+
declare const buildActivityGroups: (items?: ActivityItem[], groups?: ActivityGroup[], groupBy?: (item: ActivityItem) => string, groupOrder?: string[]) => ActivityGroup[];
|
|
10624
|
+
declare const toActivityTimelineItems: (items: ActivityItem[]) => (TimelineItem & {
|
|
10625
|
+
activity: ActivityItem;
|
|
10626
|
+
})[];
|
|
10627
|
+
|
|
9189
10628
|
/**
|
|
9190
|
-
*
|
|
9191
|
-
*
|
|
9192
|
-
* @param placement - Current placement of the floating element
|
|
9193
|
-
* @param arrowData - Arrow position data from computeFloatingPosition
|
|
9194
|
-
* @returns CSS styles object for the arrow element
|
|
9195
|
-
*
|
|
9196
|
-
* @example
|
|
9197
|
-
* ```ts
|
|
9198
|
-
* const arrowStyles = getArrowStyles('top', result.arrow)
|
|
9199
|
-
* Object.assign(arrowEl.style, arrowStyles)
|
|
9200
|
-
* ```
|
|
10629
|
+
* NotificationCenter component utilities
|
|
9201
10630
|
*/
|
|
9202
|
-
|
|
9203
|
-
|
|
9204
|
-
|
|
9205
|
-
|
|
10631
|
+
|
|
10632
|
+
declare const sortNotificationGroups: (groups: NotificationGroup[], groupOrder?: string[]) => NotificationGroup[];
|
|
10633
|
+
declare const buildNotificationGroups: (items?: NotificationItem[], groups?: NotificationGroup[], groupBy?: (item: NotificationItem) => string, groupOrder?: string[]) => NotificationGroup[];
|
|
10634
|
+
|
|
10635
|
+
declare const buildCommentTree: (items?: CommentNode[]) => CommentNode[];
|
|
10636
|
+
declare const clipCommentTreeDepth: (nodes?: CommentNode[], maxDepth?: number) => CommentNode[];
|
|
10637
|
+
|
|
9206
10638
|
/**
|
|
9207
|
-
*
|
|
9208
|
-
* Convenience function that sets left/top CSS properties.
|
|
9209
|
-
*
|
|
9210
|
-
* @param element - The floating element to position
|
|
9211
|
-
* @param result - Position result from computeFloatingPosition
|
|
9212
|
-
*
|
|
9213
|
-
* @example
|
|
9214
|
-
* ```ts
|
|
9215
|
-
* const result = await computeFloatingPosition(trigger, tooltip)
|
|
9216
|
-
* applyFloatingStyles(tooltip, result)
|
|
9217
|
-
* ```
|
|
10639
|
+
* Time format helpers for composite components
|
|
9218
10640
|
*/
|
|
9219
|
-
declare
|
|
10641
|
+
declare const formatChatTime: (value?: string | number | Date) => string;
|
|
10642
|
+
declare const formatCommentTime: (value?: string | number | Date) => string;
|
|
9220
10643
|
|
|
9221
10644
|
/**
|
|
9222
10645
|
* Textarea component types and interfaces
|
|
@@ -9521,40 +10944,99 @@ interface FooterProps {
|
|
|
9521
10944
|
}
|
|
9522
10945
|
|
|
9523
10946
|
/**
|
|
9524
|
-
*
|
|
10947
|
+
* Dropdown component types and interfaces
|
|
9525
10948
|
*/
|
|
10949
|
+
|
|
9526
10950
|
/**
|
|
9527
|
-
*
|
|
10951
|
+
* Dropdown trigger mode - determines how the dropdown is opened
|
|
9528
10952
|
*/
|
|
9529
|
-
type
|
|
10953
|
+
type DropdownTrigger = 'click' | 'hover';
|
|
9530
10954
|
/**
|
|
9531
|
-
*
|
|
10955
|
+
* @deprecated Use `FloatingPlacement` from floating utils instead.
|
|
10956
|
+
* Kept for backward compatibility with popover/tooltip/popconfirm types.
|
|
9532
10957
|
*/
|
|
9533
|
-
type
|
|
10958
|
+
type DropdownPlacement = FloatingPlacement;
|
|
9534
10959
|
/**
|
|
9535
|
-
* Base
|
|
10960
|
+
* Base dropdown props interface
|
|
9536
10961
|
*/
|
|
9537
|
-
interface
|
|
10962
|
+
interface DropdownProps {
|
|
9538
10963
|
/**
|
|
9539
|
-
*
|
|
9540
|
-
* @default '
|
|
10964
|
+
* Trigger mode - click or hover
|
|
10965
|
+
* @default 'hover'
|
|
9541
10966
|
*/
|
|
9542
|
-
|
|
10967
|
+
trigger?: DropdownTrigger;
|
|
9543
10968
|
/**
|
|
9544
|
-
*
|
|
9545
|
-
* @default
|
|
10969
|
+
* Whether the dropdown is disabled
|
|
10970
|
+
* @default false
|
|
9546
10971
|
*/
|
|
9547
|
-
|
|
10972
|
+
disabled?: boolean;
|
|
9548
10973
|
/**
|
|
9549
|
-
* Whether the
|
|
10974
|
+
* Whether the dropdown is visible (controlled mode)
|
|
10975
|
+
*/
|
|
10976
|
+
visible?: boolean;
|
|
10977
|
+
/**
|
|
10978
|
+
* Default visibility (uncontrolled mode)
|
|
9550
10979
|
* @default false
|
|
9551
10980
|
*/
|
|
9552
|
-
|
|
10981
|
+
defaultVisible?: boolean;
|
|
9553
10982
|
/**
|
|
9554
|
-
*
|
|
9555
|
-
* @default
|
|
10983
|
+
* Whether to close dropdown on menu item click
|
|
10984
|
+
* @default true
|
|
9556
10985
|
*/
|
|
9557
|
-
|
|
10986
|
+
closeOnClick?: boolean;
|
|
10987
|
+
/**
|
|
10988
|
+
* Whether to show the dropdown arrow/chevron indicator
|
|
10989
|
+
* @default true
|
|
10990
|
+
*/
|
|
10991
|
+
showArrow?: boolean;
|
|
10992
|
+
/**
|
|
10993
|
+
* Additional CSS classes
|
|
10994
|
+
*/
|
|
10995
|
+
className?: string;
|
|
10996
|
+
/**
|
|
10997
|
+
* Custom styles
|
|
10998
|
+
*/
|
|
10999
|
+
style?: Record<string, unknown>;
|
|
11000
|
+
}
|
|
11001
|
+
/**
|
|
11002
|
+
* Dropdown menu props interface
|
|
11003
|
+
*/
|
|
11004
|
+
interface DropdownMenuProps {
|
|
11005
|
+
/**
|
|
11006
|
+
* Additional CSS classes
|
|
11007
|
+
*/
|
|
11008
|
+
className?: string;
|
|
11009
|
+
/**
|
|
11010
|
+
* Custom styles
|
|
11011
|
+
*/
|
|
11012
|
+
style?: Record<string, unknown>;
|
|
11013
|
+
}
|
|
11014
|
+
/**
|
|
11015
|
+
* Dropdown item props interface
|
|
11016
|
+
*/
|
|
11017
|
+
interface DropdownItemProps {
|
|
11018
|
+
/**
|
|
11019
|
+
* Unique key for the dropdown item
|
|
11020
|
+
*/
|
|
11021
|
+
key?: string | number;
|
|
11022
|
+
/**
|
|
11023
|
+
* Whether the item is disabled
|
|
11024
|
+
* @default false
|
|
11025
|
+
*/
|
|
11026
|
+
disabled?: boolean;
|
|
11027
|
+
/**
|
|
11028
|
+
* Whether the item is divided from previous item
|
|
11029
|
+
* @default false
|
|
11030
|
+
*/
|
|
11031
|
+
divided?: boolean;
|
|
11032
|
+
/**
|
|
11033
|
+
* Icon for the dropdown item
|
|
11034
|
+
*/
|
|
11035
|
+
icon?: unknown;
|
|
11036
|
+
/**
|
|
11037
|
+
* Additional CSS classes
|
|
11038
|
+
*/
|
|
11039
|
+
className?: string;
|
|
9558
11040
|
}
|
|
9559
11041
|
|
|
9560
11042
|
/**
|
|
@@ -9569,22 +11051,16 @@ type PopoverTrigger = 'click' | 'hover' | 'focus' | 'manual';
|
|
|
9569
11051
|
* Base popover props interface
|
|
9570
11052
|
*/
|
|
9571
11053
|
interface PopoverProps {
|
|
9572
|
-
/**
|
|
9573
|
-
* Whether the popover is visible (controlled mode)
|
|
9574
|
-
*/
|
|
11054
|
+
/** Whether the popover is visible (controlled mode) */
|
|
9575
11055
|
visible?: boolean;
|
|
9576
11056
|
/**
|
|
9577
11057
|
* Default visibility (uncontrolled mode)
|
|
9578
11058
|
* @default false
|
|
9579
11059
|
*/
|
|
9580
11060
|
defaultVisible?: boolean;
|
|
9581
|
-
/**
|
|
9582
|
-
* Popover title text
|
|
9583
|
-
*/
|
|
11061
|
+
/** Popover title text */
|
|
9584
11062
|
title?: string;
|
|
9585
|
-
/**
|
|
9586
|
-
* Popover content text (can be overridden by content slot/prop)
|
|
9587
|
-
*/
|
|
11063
|
+
/** Popover content text (can be overridden by content slot/prop) */
|
|
9588
11064
|
content?: string;
|
|
9589
11065
|
/**
|
|
9590
11066
|
* Trigger type for showing/hiding popover
|
|
@@ -9595,24 +11071,24 @@ interface PopoverProps {
|
|
|
9595
11071
|
* Popover placement relative to trigger
|
|
9596
11072
|
* @default 'top'
|
|
9597
11073
|
*/
|
|
9598
|
-
placement?:
|
|
11074
|
+
placement?: FloatingPlacement;
|
|
9599
11075
|
/**
|
|
9600
11076
|
* Whether the popover is disabled
|
|
9601
11077
|
* @default false
|
|
9602
11078
|
*/
|
|
9603
11079
|
disabled?: boolean;
|
|
9604
11080
|
/**
|
|
9605
|
-
* Popover width (
|
|
9606
|
-
* @default 'auto'
|
|
11081
|
+
* Popover width (pixel number or Tailwind class)
|
|
9607
11082
|
*/
|
|
9608
11083
|
width?: string | number;
|
|
9609
11084
|
/**
|
|
9610
|
-
*
|
|
11085
|
+
* Offset distance from trigger (in pixels)
|
|
11086
|
+
* @default 8
|
|
9611
11087
|
*/
|
|
11088
|
+
offset?: number;
|
|
11089
|
+
/** Additional CSS classes */
|
|
9612
11090
|
className?: string;
|
|
9613
|
-
/**
|
|
9614
|
-
* Custom styles
|
|
9615
|
-
*/
|
|
11091
|
+
/** Custom styles */
|
|
9616
11092
|
style?: Record<string, string | number>;
|
|
9617
11093
|
}
|
|
9618
11094
|
|
|
@@ -9650,93 +11126,21 @@ interface TooltipProps {
|
|
|
9650
11126
|
* Tooltip placement relative to trigger
|
|
9651
11127
|
* @default 'top'
|
|
9652
11128
|
*/
|
|
9653
|
-
placement?:
|
|
11129
|
+
placement?: FloatingPlacement;
|
|
9654
11130
|
/**
|
|
9655
11131
|
* Whether the tooltip is disabled
|
|
9656
11132
|
* @default false
|
|
9657
11133
|
*/
|
|
9658
11134
|
disabled?: boolean;
|
|
9659
11135
|
/**
|
|
9660
|
-
*
|
|
9661
|
-
|
|
9662
|
-
className?: string;
|
|
9663
|
-
/**
|
|
9664
|
-
* Custom styles
|
|
9665
|
-
*/
|
|
9666
|
-
style?: Record<string, string | number>;
|
|
9667
|
-
}
|
|
9668
|
-
|
|
9669
|
-
/**
|
|
9670
|
-
* Text component types and interfaces
|
|
9671
|
-
*/
|
|
9672
|
-
/**
|
|
9673
|
-
* Text tag types - semantic HTML elements for text
|
|
9674
|
-
*/
|
|
9675
|
-
type TextTag = 'p' | 'span' | 'div' | 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6' | 'label' | 'strong' | 'em' | 'small';
|
|
9676
|
-
/**
|
|
9677
|
-
* Text size types
|
|
9678
|
-
*/
|
|
9679
|
-
type TextSize = 'xs' | 'sm' | 'base' | 'lg' | 'xl' | '2xl' | '3xl' | '4xl' | '5xl' | '6xl';
|
|
9680
|
-
/**
|
|
9681
|
-
* Text weight types
|
|
9682
|
-
*/
|
|
9683
|
-
type TextWeight = 'thin' | 'light' | 'normal' | 'medium' | 'semibold' | 'bold' | 'extrabold' | 'black';
|
|
9684
|
-
/**
|
|
9685
|
-
* Text alignment types
|
|
9686
|
-
*/
|
|
9687
|
-
type TextAlign = 'left' | 'center' | 'right' | 'justify';
|
|
9688
|
-
/**
|
|
9689
|
-
* Text color types
|
|
9690
|
-
*/
|
|
9691
|
-
type TextColor = 'default' | 'primary' | 'secondary' | 'success' | 'warning' | 'danger' | 'muted';
|
|
9692
|
-
/**
|
|
9693
|
-
* Base text props interface
|
|
9694
|
-
*/
|
|
9695
|
-
interface TextProps {
|
|
9696
|
-
/**
|
|
9697
|
-
* HTML tag to render
|
|
9698
|
-
* @default 'p'
|
|
9699
|
-
*/
|
|
9700
|
-
tag?: TextTag;
|
|
9701
|
-
/**
|
|
9702
|
-
* Text size
|
|
9703
|
-
* @default 'base'
|
|
9704
|
-
*/
|
|
9705
|
-
size?: TextSize;
|
|
9706
|
-
/**
|
|
9707
|
-
* Text weight
|
|
9708
|
-
* @default 'normal'
|
|
9709
|
-
*/
|
|
9710
|
-
weight?: TextWeight;
|
|
9711
|
-
/**
|
|
9712
|
-
* Text alignment
|
|
9713
|
-
*/
|
|
9714
|
-
align?: TextAlign;
|
|
9715
|
-
/**
|
|
9716
|
-
* Text color
|
|
9717
|
-
* @default 'default'
|
|
9718
|
-
*/
|
|
9719
|
-
color?: TextColor;
|
|
9720
|
-
/**
|
|
9721
|
-
* Whether to truncate text with ellipsis
|
|
9722
|
-
* @default false
|
|
9723
|
-
*/
|
|
9724
|
-
truncate?: boolean;
|
|
9725
|
-
/**
|
|
9726
|
-
* Whether text should be italic
|
|
9727
|
-
* @default false
|
|
9728
|
-
*/
|
|
9729
|
-
italic?: boolean;
|
|
9730
|
-
/**
|
|
9731
|
-
* Whether text should have underline
|
|
9732
|
-
* @default false
|
|
11136
|
+
* Offset distance from trigger (in pixels)
|
|
11137
|
+
* @default 8
|
|
9733
11138
|
*/
|
|
9734
|
-
|
|
11139
|
+
offset?: number;
|
|
9735
11140
|
/**
|
|
9736
|
-
*
|
|
9737
|
-
* @default false
|
|
11141
|
+
* Additional CSS classes
|
|
9738
11142
|
*/
|
|
9739
|
-
|
|
11143
|
+
className?: string;
|
|
9740
11144
|
}
|
|
9741
11145
|
|
|
9742
11146
|
interface CodeProps {
|
|
@@ -9997,4 +11401,4 @@ declare const tigercatPlugin: {
|
|
|
9997
11401
|
*/
|
|
9998
11402
|
declare const version = "0.2.0";
|
|
9999
11403
|
|
|
10000
|
-
export { ANIMATION_DURATION_FAST_MS, ANIMATION_DURATION_MS, ANIMATION_DURATION_SLOW_MS, 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 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 ContainerMaxWidth, type ContainerProps, type ContentProps, type CreateAriaIdOptions, DEFAULT_CHART_COLORS, DEFAULT_PAGINATION_LABELS, DURATION_CLASS, DURATION_FAST_CLASS, DURATION_SLOW_CLASS, 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 FormItemProps, type FormLabelAlign, type FormLabelPosition, type FormProps, type FormRule, type FormRuleTrigger, type FormRuleType, type FormRules, type FormSize, type FormValidationResult, type FormValues, 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 NotificationColorScheme, type NotificationConfig, type NotificationInstance, type NotificationOptions, type NotificationPosition, type NotificationProps, 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 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, 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, 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, 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, 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, formatBadgeContent, 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, 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, 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, sortAscIcon16PathD, sortBothIcon16PathD, sortData, sortDescIcon16PathD, 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, 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 };
|
|
11404
|
+
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, 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_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 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 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, 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, 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, containerBaseClasses, containerCenteredClasses, containerMaxWidthClasses, containerPaddingClasses, copyTextToClipboard, createAreaPath, createAriaId, createBandScale, createChartInteractionHandlers, createFloatingIdFactory, createLinePath, createLinearScale, createPieArcPath, createPointScale, createPolygonPath, 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, 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, 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, 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, getTransformOrigin, getTreeNodeClasses, getTreeNodeExpandIconClasses, getUploadButtonClasses, getUploadLabels, getUploadStatusIconClasses, getValueByPath, getVisibleTreeItems, groupItemsIntoRows, handleNodeCheck, hasErrors, icon16ViewBox, icon20ViewBox, icon24PathStrokeLinecap, icon24PathStrokeLinejoin, icon24StrokeWidth, icon24ViewBox, iconSizeClasses, iconSvgBaseClasses, iconSvgDefaultStrokeLinecap, iconSvgDefaultStrokeLinejoin, iconSvgDefaultStrokeWidth, iconWrapperClasses, 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, moveFocusInMenu, 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, progressCircleBaseClasses, progressCircleSizeClasses, progressCircleTextClasses, progressCircleTrackStrokeClasses, progressLineBaseClasses, progressLineInnerClasses, progressLineSizeClasses, progressStripedAnimationClasses, progressStripedClasses, progressTextBaseClasses, progressTextSizeClasses, progressTrackBgClasses, radioDisabledCursorClasses, radioDotBaseClasses, radioFocusVisibleClasses, radioGroupDefaultClasses, radioHoverBorderClasses, radioLabelBaseClasses, radioRootBaseClasses, radioSizeClasses, radioVisualBaseClasses, replaceKeys, resetAreaGradientCounter, resetBarGradientCounter, resetLineGradientCounter, resetScatterGradientCounter, 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, 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 };
|