@typeolymp/ui-components 1.2.1 → 1.2.2
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.
|
@@ -2,7 +2,7 @@ import { FC } from "react";
|
|
|
2
2
|
export declare type PropsType = {
|
|
3
3
|
type: "check" | "chevronUp" | "chevronRight" | "chevronDown" | "chevronLeft" | "eye" | "eyeInvisible" | "warning" | "questionCircle" | "play" | "lock" | "cross" | "bulb" | "star" | "setting" | "reload" | "expand";
|
|
4
4
|
size?: "tiny" | "small" | "medium" | "large";
|
|
5
|
-
color?: "blue" | "green" | "orange" | "red" | "gray" | "darkGray" | "lightGray" | "white";
|
|
5
|
+
color?: "blue" | "green" | "orange" | "red" | "purple" | "gray" | "darkGray" | "lightGray" | "white";
|
|
6
6
|
onClick?(e?: MouseEvent): void;
|
|
7
7
|
};
|
|
8
8
|
declare const Icon: FC<PropsType>;
|
package/build/index.es.js
CHANGED
|
@@ -416,6 +416,8 @@ var Wrapper$8 = styled.div(templateObject_1$w || (templateObject_1$w = __makeTem
|
|
|
416
416
|
return theme.colors.orange.base;
|
|
417
417
|
case "red":
|
|
418
418
|
return theme.colors.red.base;
|
|
419
|
+
case "purple":
|
|
420
|
+
return theme.colors.purple.base;
|
|
419
421
|
case "white":
|
|
420
422
|
return theme.colors.lightGray.light;
|
|
421
423
|
}
|