@stackone/malachite 0.14.0 → 0.16.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 +17 -1
- package/dist/index.js +1398 -1336
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -253,11 +253,14 @@ 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';
|
|
263
|
+
rightSideTextAlignment?: 'left' | 'right';
|
|
261
264
|
}
|
|
262
265
|
|
|
263
266
|
export declare interface DropdownProps {
|
|
@@ -456,6 +459,13 @@ declare interface MalachiteContextProps {
|
|
|
456
459
|
}
|
|
457
460
|
|
|
458
461
|
export declare interface MalachiteTheme {
|
|
462
|
+
fontSizes: {
|
|
463
|
+
xsmall: string;
|
|
464
|
+
small: string;
|
|
465
|
+
medium: string;
|
|
466
|
+
large: string;
|
|
467
|
+
xlarge: string;
|
|
468
|
+
};
|
|
459
469
|
radius: {
|
|
460
470
|
sm: string;
|
|
461
471
|
md: string;
|
|
@@ -651,6 +661,11 @@ export declare interface MalachiteTheme {
|
|
|
651
661
|
error: string;
|
|
652
662
|
linkForeground: string;
|
|
653
663
|
linkForegroundHover: string;
|
|
664
|
+
rightSideText: {
|
|
665
|
+
muted: string;
|
|
666
|
+
primary: string;
|
|
667
|
+
alignment: 'left' | 'right';
|
|
668
|
+
};
|
|
654
669
|
};
|
|
655
670
|
codeBlock: {
|
|
656
671
|
background: string;
|
|
@@ -702,6 +717,7 @@ declare interface PageTitleProps {
|
|
|
702
717
|
}
|
|
703
718
|
|
|
704
719
|
export declare interface PartialMalachiteTheme {
|
|
720
|
+
fontSizes?: Partial<MalachiteTheme['fontSizes']>;
|
|
705
721
|
radius?: Partial<MalachiteTheme['radius']>;
|
|
706
722
|
shadows?: Partial<MalachiteTheme['shadows']>;
|
|
707
723
|
colors?: {
|