@mdspl/mds-shared-ui 0.2.7 → 0.2.8
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 +16 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -93,6 +93,20 @@ export declare interface IMainFilterType {
|
|
|
93
93
|
activePresetName?: string | null;
|
|
94
94
|
}
|
|
95
95
|
|
|
96
|
+
declare interface IMDSButtonTypes {
|
|
97
|
+
onClick?: () => void;
|
|
98
|
+
size?: 'sm' | 'md' | 'lg';
|
|
99
|
+
variant?: ConditionalValue<'subtle' | 'solid' | 'outline' | 'ghost' | 'plain'>;
|
|
100
|
+
label?: string;
|
|
101
|
+
leftIcon?: React.ReactNode;
|
|
102
|
+
rightIcon?: React.ReactNode;
|
|
103
|
+
isDisabled?: boolean;
|
|
104
|
+
colorScheme?: 'blue' | 'red' | 'green' | 'yellow' | 'gray' | 'cyan' | 'orange' | 'purple';
|
|
105
|
+
loading?: boolean;
|
|
106
|
+
loadingText?: string;
|
|
107
|
+
rounded?: 'sm' | 'md' | 'lg' | 'xl' | 'full';
|
|
108
|
+
}
|
|
109
|
+
|
|
96
110
|
declare interface IMDSCheckboxTypes {
|
|
97
111
|
value?: boolean;
|
|
98
112
|
onChange?: (value: boolean) => void;
|
|
@@ -145,7 +159,8 @@ export declare namespace MdsSharedUi {
|
|
|
145
159
|
export {
|
|
146
160
|
IMDSCheckboxTypes,
|
|
147
161
|
IMDSInputTypes,
|
|
148
|
-
IMDSSelectBoxTypes
|
|
162
|
+
IMDSSelectBoxTypes,
|
|
163
|
+
IMDSButtonTypes
|
|
149
164
|
}
|
|
150
165
|
}
|
|
151
166
|
|