@stackone/malachite 0.6.0 → 0.8.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
@@ -267,6 +267,7 @@ export declare interface DropdownProps {
267
267
  formControl?: Control<FieldValues, unknown>;
268
268
  description?: string;
269
269
  required?: boolean;
270
+ helperText?: string;
270
271
  }
271
272
 
272
273
  declare interface EllipsisTextProps {
@@ -754,6 +755,24 @@ declare interface StatisticValueProps {
754
755
  style?: default_2.CSSProperties;
755
756
  }
756
757
 
758
+ export declare const Tag: default_2.FC<TagProps>;
759
+
760
+ export declare interface TagProps {
761
+ value: string | number | default_2.ReactNode;
762
+ type?: TagType;
763
+ bordered?: boolean;
764
+ shadow?: boolean;
765
+ textTransform?: 'none' | 'uppercase';
766
+ width?: WidthSize;
767
+ icon?: default_2.ReactNode;
768
+ iconPosition?: 'left' | 'right';
769
+ pointerType?: 'pointer' | 'default';
770
+ onClick?: () => void;
771
+ className?: string;
772
+ }
773
+
774
+ export declare type TagType = 'primary' | 'secondary' | 'default' | 'error' | 'warning' | 'success';
775
+
757
776
  declare interface TerminalTextProps {
758
777
  bold?: boolean;
759
778
  size?: FontSize;
@@ -840,4 +859,6 @@ export declare const Typography: {
840
859
  Text: FC<TextProps>;
841
860
  };
842
861
 
862
+ export declare type WidthSize = 'large' | 'medium' | 'small' | 'xsmall';
863
+
843
864
  export { }