@stackone/malachite 0.55.1 → 0.56.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.ts +5 -1
- package/dist/index.js +1550 -1534
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -456,10 +456,12 @@ export declare interface DropdownItem {
|
|
|
456
456
|
id: string;
|
|
457
457
|
label: string;
|
|
458
458
|
icon?: default_2.ReactNode;
|
|
459
|
-
/** Alternate label shown in the trigger when selected (falls back to `label`). */
|
|
459
|
+
/** Alternate label shown in the closed trigger when selected (falls back to `label`). */
|
|
460
460
|
triggerLabel?: string;
|
|
461
461
|
/** Items sharing a `group` render under a section header, in first-seen order. */
|
|
462
462
|
group?: string;
|
|
463
|
+
/** Descriptive blurb rendered after the label in the open menu only —
|
|
464
|
+
* the closed trigger never shows it. */
|
|
463
465
|
subtitle?: string;
|
|
464
466
|
rightSideText?: string;
|
|
465
467
|
rightSideTextVariant?: 'muted' | 'primary';
|
|
@@ -1484,6 +1486,8 @@ export declare const Table: <T = Record<string, unknown>>({ columns, data, loadi
|
|
|
1484
1486
|
|
|
1485
1487
|
export declare type TableColumnDefinition<T = Record<string, unknown>> = {
|
|
1486
1488
|
title: string | default_2.ReactNode;
|
|
1489
|
+
/** Explanatory text shown in a tooltip behind an info icon next to the title. */
|
|
1490
|
+
info?: string;
|
|
1487
1491
|
dataIndex: keyof T | (string & {});
|
|
1488
1492
|
key: string;
|
|
1489
1493
|
width?: string | number;
|