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