@stackone/malachite 0.24.2 → 0.26.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 +64 -0
- package/dist/index.js +2301 -1992
- package/dist/index.js.map +1 -1
- package/package.json +3 -3
package/dist/index.d.ts
CHANGED
|
@@ -60,6 +60,11 @@ declare interface BaseFormComponentProps {
|
|
|
60
60
|
children?: default_2.ReactNode;
|
|
61
61
|
}
|
|
62
62
|
|
|
63
|
+
declare interface BaseSkeletonProps {
|
|
64
|
+
active?: boolean;
|
|
65
|
+
className?: string;
|
|
66
|
+
}
|
|
67
|
+
|
|
63
68
|
export declare const Button: default_2.ForwardRefExoticComponent<ButtonProps & default_2.RefAttributes<HTMLButtonElement>>;
|
|
64
69
|
|
|
65
70
|
declare interface ButtonDefinition {
|
|
@@ -617,6 +622,14 @@ export declare interface MalachiteTheme {
|
|
|
617
622
|
pressedOpacity: string;
|
|
618
623
|
activeBackground: string;
|
|
619
624
|
activeForeground: string;
|
|
625
|
+
staticBackground: string;
|
|
626
|
+
staticForeground: string;
|
|
627
|
+
invertedBackground: string;
|
|
628
|
+
invertedForeground: string;
|
|
629
|
+
invertedHoverBackground: string;
|
|
630
|
+
invertedHoverForeground: string;
|
|
631
|
+
invertedPressedBackground: string;
|
|
632
|
+
invertedPressedForeground: string;
|
|
620
633
|
};
|
|
621
634
|
tag: {
|
|
622
635
|
primary: {
|
|
@@ -734,6 +747,16 @@ declare interface MarkdownProps {
|
|
|
734
747
|
omitMargin?: boolean;
|
|
735
748
|
}
|
|
736
749
|
|
|
750
|
+
export declare const OverflowRow: default_2.FC<OverflowRowProps>;
|
|
751
|
+
|
|
752
|
+
declare interface OverflowRowProps {
|
|
753
|
+
children?: default_2.ReactNode;
|
|
754
|
+
gap?: number | string;
|
|
755
|
+
align?: 'start' | 'center' | 'end' | 'stretch' | 'baseline';
|
|
756
|
+
justify?: 'start' | 'center' | 'end' | 'space-between' | 'space-around' | 'space-evenly';
|
|
757
|
+
className?: string;
|
|
758
|
+
}
|
|
759
|
+
|
|
737
760
|
export declare const Padded: default_2.FC<PaddedProps>;
|
|
738
761
|
|
|
739
762
|
declare interface PaddedProps {
|
|
@@ -793,12 +816,20 @@ export declare const PillButton: default_2.FC<PillButtonProps>;
|
|
|
793
816
|
|
|
794
817
|
declare interface PillButtonProps {
|
|
795
818
|
label: string;
|
|
819
|
+
icon?: default_2.ReactNode;
|
|
796
820
|
className?: string;
|
|
797
821
|
selected?: boolean;
|
|
798
822
|
disabled?: boolean;
|
|
823
|
+
interactive?: boolean;
|
|
824
|
+
size?: PillButtonSize;
|
|
825
|
+
variant?: PillButtonVariant;
|
|
799
826
|
onClick?: () => void;
|
|
800
827
|
}
|
|
801
828
|
|
|
829
|
+
declare type PillButtonSize = 'small' | 'medium';
|
|
830
|
+
|
|
831
|
+
declare type PillButtonVariant = 'default' | 'inverted';
|
|
832
|
+
|
|
802
833
|
/**
|
|
803
834
|
* Reset theme to default values
|
|
804
835
|
*/
|
|
@@ -834,6 +865,38 @@ declare interface ShadowEscapeProps {
|
|
|
834
865
|
className?: string;
|
|
835
866
|
}
|
|
836
867
|
|
|
868
|
+
export declare const Skeleton: {
|
|
869
|
+
Button: default_2.FC<SkeletonButtonProps>;
|
|
870
|
+
Input: default_2.FC<SkeletonInputProps>;
|
|
871
|
+
Avatar: default_2.FC<SkeletonAvatarProps>;
|
|
872
|
+
};
|
|
873
|
+
|
|
874
|
+
declare interface SkeletonAvatarProps extends BaseSkeletonProps {
|
|
875
|
+
size?: SkeletonSize | number;
|
|
876
|
+
shape?: 'circle' | 'square';
|
|
877
|
+
}
|
|
878
|
+
|
|
879
|
+
declare interface SkeletonButtonProps extends BaseSkeletonProps {
|
|
880
|
+
size?: SkeletonSize;
|
|
881
|
+
shape?: SkeletonShape;
|
|
882
|
+
block?: boolean;
|
|
883
|
+
width?: number | string;
|
|
884
|
+
height?: number | string;
|
|
885
|
+
minWidth?: number | string;
|
|
886
|
+
}
|
|
887
|
+
|
|
888
|
+
declare interface SkeletonInputProps extends BaseSkeletonProps {
|
|
889
|
+
size?: SkeletonSize;
|
|
890
|
+
block?: boolean;
|
|
891
|
+
width?: number | string;
|
|
892
|
+
height?: number | string;
|
|
893
|
+
minWidth?: number | string;
|
|
894
|
+
}
|
|
895
|
+
|
|
896
|
+
declare type SkeletonShape = 'default' | 'round' | 'circle' | 'square';
|
|
897
|
+
|
|
898
|
+
declare type SkeletonSize = 'small' | 'default' | 'large';
|
|
899
|
+
|
|
837
900
|
export declare const Spacer: default_2.FC<SpacerProps>;
|
|
838
901
|
|
|
839
902
|
declare interface SpacerProps {
|
|
@@ -1055,6 +1118,7 @@ declare interface TooltipProps {
|
|
|
1055
1118
|
delay?: number;
|
|
1056
1119
|
wrapChildren?: boolean;
|
|
1057
1120
|
placement?: 'top' | 'bottom' | 'left' | 'right';
|
|
1121
|
+
isShrinkable?: boolean;
|
|
1058
1122
|
}
|
|
1059
1123
|
|
|
1060
1124
|
export declare const Typography: {
|