@stackone/malachite 0.5.2 → 0.7.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 +41 -0
- package/dist/index.js +1198 -1018
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
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 {
|
|
@@ -404,6 +405,7 @@ declare interface InputProps {
|
|
|
404
405
|
onCopyClick?: () => void;
|
|
405
406
|
onChange?: (value: string) => void;
|
|
406
407
|
onBlur?: () => void;
|
|
408
|
+
helperText?: string;
|
|
407
409
|
}
|
|
408
410
|
|
|
409
411
|
declare type InputSize = 'small' | 'medium' | 'large';
|
|
@@ -559,6 +561,44 @@ export declare interface MalachiteTheme {
|
|
|
559
561
|
activeBackground: string;
|
|
560
562
|
activeForeground: string;
|
|
561
563
|
};
|
|
564
|
+
tag: {
|
|
565
|
+
primary: {
|
|
566
|
+
background: string;
|
|
567
|
+
foreground: string;
|
|
568
|
+
border: string;
|
|
569
|
+
shadow: string;
|
|
570
|
+
};
|
|
571
|
+
secondary: {
|
|
572
|
+
background: string;
|
|
573
|
+
foreground: string;
|
|
574
|
+
border: string;
|
|
575
|
+
shadow: string;
|
|
576
|
+
};
|
|
577
|
+
default: {
|
|
578
|
+
background: string;
|
|
579
|
+
foreground: string;
|
|
580
|
+
border: string;
|
|
581
|
+
shadow: string;
|
|
582
|
+
};
|
|
583
|
+
error: {
|
|
584
|
+
background: string;
|
|
585
|
+
foreground: string;
|
|
586
|
+
border: string;
|
|
587
|
+
shadow: string;
|
|
588
|
+
};
|
|
589
|
+
warning: {
|
|
590
|
+
background: string;
|
|
591
|
+
foreground: string;
|
|
592
|
+
border: string;
|
|
593
|
+
shadow: string;
|
|
594
|
+
};
|
|
595
|
+
success: {
|
|
596
|
+
background: string;
|
|
597
|
+
foreground: string;
|
|
598
|
+
border: string;
|
|
599
|
+
shadow: string;
|
|
600
|
+
};
|
|
601
|
+
};
|
|
562
602
|
text: {
|
|
563
603
|
primary: string;
|
|
564
604
|
secondary: string;
|
|
@@ -628,6 +668,7 @@ export declare interface PartialMalachiteTheme {
|
|
|
628
668
|
error?: Partial<MalachiteTheme['colors']['error']>;
|
|
629
669
|
buttonList?: Partial<MalachiteTheme['colors']['buttonList']>;
|
|
630
670
|
pillButton?: Partial<MalachiteTheme['colors']['pillButton']>;
|
|
671
|
+
tag?: Partial<MalachiteTheme['colors']['tag']>;
|
|
631
672
|
text?: Partial<MalachiteTheme['colors']['text']>;
|
|
632
673
|
codeBlock?: Partial<MalachiteTheme['colors']['codeBlock']>;
|
|
633
674
|
};
|