@stackone/malachite 0.13.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 CHANGED
@@ -253,11 +253,13 @@ declare interface DividerProps {
253
253
  className?: string;
254
254
  }
255
255
 
256
- export declare const Dropdown: default_2.FC<DropdownProps>;
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;
@@ -683,7 +696,7 @@ declare interface PaddedProps {
683
696
  className?: string;
684
697
  }
685
698
 
686
- declare enum PaddingSize {
699
+ export declare enum PaddingSize {
687
700
  XSmall = "xsmall",
688
701
  Small = "small",
689
702
  Medium = "medium",
@@ -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?: {
@@ -784,7 +798,7 @@ declare interface SpacerProps {
784
798
  className?: string;
785
799
  }
786
800
 
787
- declare enum SpacingSize {
801
+ export declare enum SpacingSize {
788
802
  XSmall = "xsmall",
789
803
  Small = "small",
790
804
  Medium = "medium",