@manamerge/mana-atomic-ui 1.0.255 → 1.0.257
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 +4 -4
- package/dist/index.js +10 -5
- package/dist/index.js.map +1 -1
- package/dist/themes/themes/manamerge/molecules/breakerTape.ts +1 -1
- package/dist/themes/themes/manamerge/molecules/header.ts +9 -1
- package/dist/themes/themes/manamerge/molecules/navigation.ts +1 -1
- package/dist/types/components/Atoms/Gradient/Gradient.css.d.ts +1 -1
- package/dist/types/components/Atoms/Text/Text.d.ts +3 -3
- package/dist/types/components/Molecules/Header/Header.d.ts +2 -2
- package/dist/types/themes/ManamergeTheme.d.ts +8 -0
- package/dist/types/themes/manamerge/molecules/header.d.ts +8 -0
- package/package.json +1 -1
|
@@ -25,7 +25,7 @@ const breakerTape = {
|
|
|
25
25
|
tapeContainer: {
|
|
26
26
|
width: "100%",
|
|
27
27
|
transform: "rotate(-3deg)",
|
|
28
|
-
background: `linear-gradient(to right
|
|
28
|
+
background: `linear-gradient(to right, ${colors.two.a}, ${colors.two.c})`,
|
|
29
29
|
padding: "10px 0",
|
|
30
30
|
margin: "45px 0 0 0"
|
|
31
31
|
}
|
|
@@ -50,7 +50,15 @@ const header = {
|
|
|
50
50
|
variant: "sm"
|
|
51
51
|
},
|
|
52
52
|
atomIconRight: {
|
|
53
|
-
variant: "sm"
|
|
53
|
+
variant: "sm",
|
|
54
|
+
fill: colors.one.a,
|
|
55
|
+
stroke: colors.one.a,
|
|
56
|
+
color: colors.one.a,
|
|
57
|
+
hover: {
|
|
58
|
+
fill: colors.one.b,
|
|
59
|
+
stroke: colors.one.b,
|
|
60
|
+
color: colors.one.b
|
|
61
|
+
}
|
|
54
62
|
},
|
|
55
63
|
wrapperTextTitle: {
|
|
56
64
|
alignItems: "center"
|
|
@@ -7,7 +7,7 @@ const navigation = {
|
|
|
7
7
|
// background: `linear-gradient( to right, transparent 30%, ${colors.two.g} 60%, ${colors.two.g} 90%)`,
|
|
8
8
|
padding: "13px 20px 13px 20px",
|
|
9
9
|
atomIcon: {
|
|
10
|
-
variant: "
|
|
10
|
+
variant: "lg",
|
|
11
11
|
color: colors.one.c,
|
|
12
12
|
focus: {
|
|
13
13
|
outline: "0px solid transparent",
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
export declare const GradientContainer: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<
|
|
2
|
+
export declare const GradientContainer: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, {
|
|
3
3
|
variant: string;
|
|
4
4
|
}>> & string;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import React from "react";
|
|
2
|
-
export interface TextTypes {
|
|
1
|
+
import React, { ReactNode } from "react";
|
|
2
|
+
export interface TextTypes extends React.HTMLAttributes<HTMLElement> {
|
|
3
3
|
variant?: "primary-light" | "primary-regular" | "primary-medium" | "primary-bold" | "primary-heavy" | "secondary-regular" | "secondary-italic";
|
|
4
|
-
children?:
|
|
4
|
+
children?: ReactNode;
|
|
5
5
|
htmlFor?: string;
|
|
6
6
|
margin?: string;
|
|
7
7
|
lineHeight?: string;
|
|
@@ -6,8 +6,8 @@ export interface HeaderTypes {
|
|
|
6
6
|
buttonLeftIcon?: FunctionComponent<SVGProps<SVGSVGElement>>;
|
|
7
7
|
buttonRightIcon?: FunctionComponent<SVGProps<SVGSVGElement>>;
|
|
8
8
|
textBanner?: string;
|
|
9
|
-
headingTitle?:
|
|
10
|
-
textTitle?:
|
|
9
|
+
headingTitle?: React.ReactNode[];
|
|
10
|
+
textTitle?: React.ReactNode[];
|
|
11
11
|
buttonLeftText?: string;
|
|
12
12
|
buttonLeftClick?: React.MouseEventHandler<HTMLElement>;
|
|
13
13
|
buttonRightText?: string;
|
|
@@ -1151,6 +1151,14 @@ export declare const ManamergeTheme: {
|
|
|
1151
1151
|
};
|
|
1152
1152
|
atomIconRight: {
|
|
1153
1153
|
variant: string;
|
|
1154
|
+
fill: string;
|
|
1155
|
+
stroke: string;
|
|
1156
|
+
color: string;
|
|
1157
|
+
hover: {
|
|
1158
|
+
fill: string;
|
|
1159
|
+
stroke: string;
|
|
1160
|
+
color: string;
|
|
1161
|
+
};
|
|
1154
1162
|
};
|
|
1155
1163
|
wrapperTextTitle: {
|
|
1156
1164
|
alignItems: string;
|
|
@@ -49,6 +49,14 @@ declare const header: {
|
|
|
49
49
|
};
|
|
50
50
|
atomIconRight: {
|
|
51
51
|
variant: string;
|
|
52
|
+
fill: string;
|
|
53
|
+
stroke: string;
|
|
54
|
+
color: string;
|
|
55
|
+
hover: {
|
|
56
|
+
fill: string;
|
|
57
|
+
stroke: string;
|
|
58
|
+
color: string;
|
|
59
|
+
};
|
|
52
60
|
};
|
|
53
61
|
wrapperTextTitle: {
|
|
54
62
|
alignItems: string;
|