@mdspl/mds-shared-ui 1.1.5 → 1.1.7
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 +3 -3
- package/dist/index.d.ts +2 -1
- package/dist/index.js +485 -473
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -96,6 +96,7 @@ export declare type DensityType = 'sm' | 'md' | 'lg';
|
|
|
96
96
|
export declare interface FilterOption<T = unknown> {
|
|
97
97
|
label: ReactNode;
|
|
98
98
|
value: T;
|
|
99
|
+
displayValue?: string | ReactNode;
|
|
99
100
|
}
|
|
100
101
|
|
|
101
102
|
export declare const Filters: ({ title, filters, onVisibilityChange, onReorder, onSizeChange, onClear, maxToolbarUnits, pageKey, onLoadPreset, activePresetName, filterDrawerSize, }: IMainFilterType) => JSX_2.Element;
|
|
@@ -274,7 +275,7 @@ export declare interface IMDSPinInputTypes {
|
|
|
274
275
|
export declare interface IMDSSelectBoxTypes<T = unknown> {
|
|
275
276
|
options: FilterOption<T>[];
|
|
276
277
|
value?: string;
|
|
277
|
-
onChange?: (value:
|
|
278
|
+
onChange?: (value: T | undefined) => void;
|
|
278
279
|
placeholder?: string;
|
|
279
280
|
size?: 'sm' | 'md' | 'lg' | 'xs';
|
|
280
281
|
width?: string;
|