@stackone/malachite 0.14.0 → 0.15.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 +15 -1
- package/dist/index.js +1032 -981
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -253,11 +253,13 @@ declare interface DividerProps {
|
|
|
253
253
|
className?: string;
|
|
254
254
|
}
|
|
255
255
|
|
|
256
|
-
export declare const Dropdown:
|
|
256
|
+
export declare const Dropdown: ({ items, onItemSelected, defaultValue, disabled, error, label, hint, tooltip, name, required, loading, formControl, description, helperText, }: DropdownProps) => JSX_2.Element;
|
|
257
257
|
|
|
258
258
|
export declare interface DropdownItem {
|
|
259
259
|
id: string;
|
|
260
260
|
label: string;
|
|
261
|
+
rightSideText?: string;
|
|
262
|
+
rightSideTextVariant?: 'muted' | 'primary';
|
|
261
263
|
}
|
|
262
264
|
|
|
263
265
|
export declare interface DropdownProps {
|
|
@@ -456,6 +458,13 @@ declare interface MalachiteContextProps {
|
|
|
456
458
|
}
|
|
457
459
|
|
|
458
460
|
export declare interface MalachiteTheme {
|
|
461
|
+
fontSizes: {
|
|
462
|
+
xsmall: string;
|
|
463
|
+
small: string;
|
|
464
|
+
medium: string;
|
|
465
|
+
large: string;
|
|
466
|
+
xlarge: string;
|
|
467
|
+
};
|
|
459
468
|
radius: {
|
|
460
469
|
sm: string;
|
|
461
470
|
md: string;
|
|
@@ -651,6 +660,10 @@ export declare interface MalachiteTheme {
|
|
|
651
660
|
error: string;
|
|
652
661
|
linkForeground: string;
|
|
653
662
|
linkForegroundHover: string;
|
|
663
|
+
rightSideText: {
|
|
664
|
+
muted: string;
|
|
665
|
+
primary: string;
|
|
666
|
+
};
|
|
654
667
|
};
|
|
655
668
|
codeBlock: {
|
|
656
669
|
background: string;
|
|
@@ -702,6 +715,7 @@ declare interface PageTitleProps {
|
|
|
702
715
|
}
|
|
703
716
|
|
|
704
717
|
export declare interface PartialMalachiteTheme {
|
|
718
|
+
fontSizes?: Partial<MalachiteTheme['fontSizes']>;
|
|
705
719
|
radius?: Partial<MalachiteTheme['radius']>;
|
|
706
720
|
shadows?: Partial<MalachiteTheme['shadows']>;
|
|
707
721
|
colors?: {
|