allaw-ui 1.0.134 → 1.0.135
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/components/atoms/typography/Heading.css +77 -0
- package/dist/components/atoms/typography/Heading.d.ts +1 -0
- package/dist/components/atoms/typography/Heading.js +2 -2
- package/dist/components/atoms/typography/Heading.stories.d.ts +1 -19
- package/dist/components/atoms/typography/Heading.stories.js +9 -40
- package/dist/components/molecules/blogCard/BlogCard.js +2 -2
- package/dist/components/molecules/blogHeader/BlogHeader.js +1 -1
- package/dist/components/molecules/blogText/BlogText.js +1 -1
- package/dist/components/molecules/blogTextImageBlock/BlogTextImageBlock.js +1 -1
- package/dist/components/molecules/caseCardCompact/CaseCardCompact.js +2 -1
- package/package.json +1 -1
- package/dist/components/atoms/typography/Heading.module.css +0 -43
|
@@ -0,0 +1,77 @@
|
|
|
1
|
+
@import "../../../styles/colors.css";
|
|
2
|
+
|
|
3
|
+
.heading {
|
|
4
|
+
font-family: Poppins;
|
|
5
|
+
font-style: normal;
|
|
6
|
+
line-height: normal;
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
.heading.h1 {
|
|
10
|
+
font-size: 60px;
|
|
11
|
+
font-weight: 600;
|
|
12
|
+
letter-spacing: 0.5px;
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
.heading.h2 {
|
|
16
|
+
font-size: 36px;
|
|
17
|
+
font-weight: 600;
|
|
18
|
+
letter-spacing: 0.38px;
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
.heading.h3 {
|
|
22
|
+
font-size: 28px;
|
|
23
|
+
font-weight: 600;
|
|
24
|
+
letter-spacing: 0.28px;
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
.heading.h4 {
|
|
28
|
+
font-size: 24px;
|
|
29
|
+
font-weight: 600;
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
.heading.h5 {
|
|
33
|
+
font-size: 24px;
|
|
34
|
+
font-weight: 500;
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
.heading.h6 {
|
|
38
|
+
font-size: 18px;
|
|
39
|
+
font-weight: 600;
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
.heading.h7 {
|
|
43
|
+
font-size: 14px;
|
|
44
|
+
font-weight: 600;
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
.heading.color-bleu-allaw {
|
|
48
|
+
color: var(--bleu-allaw);
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
.heading.color-mid-grey {
|
|
52
|
+
color: var(--mid-grey);
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
.heading.color-dark-grey {
|
|
56
|
+
color: var(--dark-grey);
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
.heading.color-noir {
|
|
60
|
+
color: var(--noir);
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
.heading.color-pure-white {
|
|
64
|
+
color: var(--pure-white);
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
.heading.align-left {
|
|
68
|
+
text-align: left;
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
.heading.align-justify {
|
|
72
|
+
text-align: justify;
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
.heading.align-center {
|
|
76
|
+
text-align: center;
|
|
77
|
+
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import React from "react";
|
|
2
|
-
import
|
|
2
|
+
import "./Heading.css";
|
|
3
3
|
var Heading = function (_a) {
|
|
4
4
|
var variant = _a.variant, _b = _a.color, color = _b === void 0 ? "pure-white" : _b, text = _a.text, _c = _a.align, align = _c === void 0 ? "center" : _c;
|
|
5
|
-
return (React.createElement("span", { className: "
|
|
5
|
+
return (React.createElement("span", { className: "heading ".concat(variant, " color-").concat(color, " align-").concat(align) }, text));
|
|
6
6
|
};
|
|
7
7
|
export default Heading;
|
|
@@ -22,24 +22,6 @@ declare namespace _default {
|
|
|
22
22
|
let control_2: string;
|
|
23
23
|
export { control_2 as control };
|
|
24
24
|
}
|
|
25
|
-
namespace responsiveSettings {
|
|
26
|
-
export namespace control_3 {
|
|
27
|
-
let type_2: null;
|
|
28
|
-
export { type_2 as type };
|
|
29
|
-
}
|
|
30
|
-
export { control_3 as control };
|
|
31
|
-
export let description: string;
|
|
32
|
-
export namespace table {
|
|
33
|
-
export namespace type_3 {
|
|
34
|
-
let summary: string;
|
|
35
|
-
}
|
|
36
|
-
export { type_3 as type };
|
|
37
|
-
export namespace defaultValue {
|
|
38
|
-
let summary_1: string;
|
|
39
|
-
export { summary_1 as summary };
|
|
40
|
-
}
|
|
41
|
-
}
|
|
42
|
-
}
|
|
43
25
|
}
|
|
44
26
|
export namespace parameters {
|
|
45
27
|
namespace backgrounds {
|
|
@@ -59,5 +41,5 @@ export const H3: any;
|
|
|
59
41
|
export const H4: any;
|
|
60
42
|
export const H5: any;
|
|
61
43
|
export const H6: any;
|
|
62
|
-
export const
|
|
44
|
+
export const H7: any;
|
|
63
45
|
import Heading from "./Heading";
|
|
@@ -20,7 +20,7 @@ export default {
|
|
|
20
20
|
variant: {
|
|
21
21
|
control: {
|
|
22
22
|
type: "select",
|
|
23
|
-
options: ["h1", "h2", "h3", "h4", "h5", "h6"],
|
|
23
|
+
options: ["h1", "h2", "h3", "h4", "h5", "h6", "h7"],
|
|
24
24
|
},
|
|
25
25
|
},
|
|
26
26
|
color: {
|
|
@@ -32,20 +32,6 @@ export default {
|
|
|
32
32
|
text: {
|
|
33
33
|
control: "text",
|
|
34
34
|
},
|
|
35
|
-
responsiveSettings: {
|
|
36
|
-
control: {
|
|
37
|
-
type: null,
|
|
38
|
-
},
|
|
39
|
-
description: "An array of responsive settings. Each object defines the styles for specific min and max widths.",
|
|
40
|
-
table: {
|
|
41
|
-
type: {
|
|
42
|
-
summary: "Array<{ maxWidth: number, minWidth: number, styles: React.CSSProperties }>",
|
|
43
|
-
},
|
|
44
|
-
defaultValue: {
|
|
45
|
-
summary: "[]",
|
|
46
|
-
},
|
|
47
|
-
},
|
|
48
|
-
},
|
|
49
35
|
},
|
|
50
36
|
parameters: {
|
|
51
37
|
backgrounds: {
|
|
@@ -64,13 +50,13 @@ export var H1 = Template.bind({});
|
|
|
64
50
|
H1.args = {
|
|
65
51
|
variant: "h1",
|
|
66
52
|
color: "pure-white",
|
|
67
|
-
text: "Poppins – SemiBold –
|
|
53
|
+
text: "Poppins – SemiBold – 60px",
|
|
68
54
|
};
|
|
69
55
|
export var H2 = Template.bind({});
|
|
70
56
|
H2.args = {
|
|
71
57
|
variant: "h2",
|
|
72
58
|
color: "pure-white",
|
|
73
|
-
text: "Poppins – SemiBold –
|
|
59
|
+
text: "Poppins – SemiBold – 36px",
|
|
74
60
|
};
|
|
75
61
|
export var H3 = Template.bind({});
|
|
76
62
|
H3.args = {
|
|
@@ -88,34 +74,17 @@ export var H5 = Template.bind({});
|
|
|
88
74
|
H5.args = {
|
|
89
75
|
variant: "h5",
|
|
90
76
|
color: "pure-white",
|
|
91
|
-
text: "Poppins – Medium –
|
|
77
|
+
text: "Poppins – Medium – 24px",
|
|
92
78
|
};
|
|
93
79
|
export var H6 = Template.bind({});
|
|
94
80
|
H6.args = {
|
|
95
81
|
variant: "h6",
|
|
96
82
|
color: "pure-white",
|
|
97
|
-
text: "Poppins – SemiBold –
|
|
83
|
+
text: "Poppins – SemiBold – 18px",
|
|
98
84
|
};
|
|
99
|
-
export var
|
|
100
|
-
|
|
101
|
-
variant: "
|
|
85
|
+
export var H7 = Template.bind({});
|
|
86
|
+
H7.args = {
|
|
87
|
+
variant: "h7",
|
|
102
88
|
color: "pure-white",
|
|
103
|
-
text: "
|
|
104
|
-
responsiveSettings: [
|
|
105
|
-
{
|
|
106
|
-
maxWidth: 1000,
|
|
107
|
-
minWidth: 768,
|
|
108
|
-
styles: { fontSize: "36px", lineHeight: "42px", letterSpacing: "0.38px" },
|
|
109
|
-
},
|
|
110
|
-
{
|
|
111
|
-
maxWidth: 767,
|
|
112
|
-
minWidth: 480,
|
|
113
|
-
styles: { fontSize: "28px", lineHeight: "34px", letterSpacing: "0.28px" },
|
|
114
|
-
},
|
|
115
|
-
{
|
|
116
|
-
maxWidth: 479,
|
|
117
|
-
minWidth: 0,
|
|
118
|
-
styles: { fontSize: "16px", lineHeight: "26px", letterSpacing: "0.2px" },
|
|
119
|
-
},
|
|
120
|
-
],
|
|
89
|
+
text: "Poppins – SemiBold – 14px",
|
|
121
90
|
};
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import React from "react";
|
|
2
2
|
import styles from "./BlogCard.module.css";
|
|
3
3
|
import Link from "next/link";
|
|
4
|
-
import
|
|
5
|
-
import
|
|
4
|
+
import OtherStatusTag from "../../atoms/tags/OtherStatusTag";
|
|
5
|
+
import TinyInfo from "../../atoms/typography/TinyInfo";
|
|
6
6
|
import Image from "next/image";
|
|
7
7
|
var BlogTopSection = function (_a) {
|
|
8
8
|
var Image_URL = _a.Image_URL, Title = _a.Title;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import React from "react";
|
|
2
2
|
import styles from "./BlogTextImageBlock.module.css";
|
|
3
3
|
import Image from "next/image";
|
|
4
|
-
import
|
|
4
|
+
import Paragraph from "../../atoms/typography/Paragraph";
|
|
5
5
|
function BlogTextImageBlock(_a) {
|
|
6
6
|
var Title = _a.Title, Article = _a.Article, Image_URL = _a.Image_URL;
|
|
7
7
|
return (React.createElement("section", { className: styles.BlogTextImageBlockWrapper },
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import React from "react";
|
|
2
|
-
import
|
|
2
|
+
import Paragraph from "../../atoms/typography/Paragraph";
|
|
3
|
+
import SmallTitle from "../../atoms/typography/SmallTitle";
|
|
3
4
|
import FolderStatusTag from "../../atoms/tags/FolderStatusTag";
|
|
4
5
|
import "./caseCardCompact.css";
|
|
5
6
|
import "../../../styles/icons.css";
|
package/package.json
CHANGED
|
@@ -1,43 +0,0 @@
|
|
|
1
|
-
.heading {
|
|
2
|
-
font-weight: bold;
|
|
3
|
-
}
|
|
4
|
-
|
|
5
|
-
.h1 {
|
|
6
|
-
font-size: 32px;
|
|
7
|
-
}
|
|
8
|
-
|
|
9
|
-
.h2 {
|
|
10
|
-
font-size: 28px;
|
|
11
|
-
}
|
|
12
|
-
|
|
13
|
-
.color-bleu-allaw {
|
|
14
|
-
color: #25beeb;
|
|
15
|
-
}
|
|
16
|
-
|
|
17
|
-
.color-mid-grey {
|
|
18
|
-
color: #728ea7;
|
|
19
|
-
}
|
|
20
|
-
|
|
21
|
-
.color-dark-grey {
|
|
22
|
-
color: #495867;
|
|
23
|
-
}
|
|
24
|
-
|
|
25
|
-
.color-noir {
|
|
26
|
-
color: #000000;
|
|
27
|
-
}
|
|
28
|
-
|
|
29
|
-
.color-pure-white {
|
|
30
|
-
color: #ffffff;
|
|
31
|
-
}
|
|
32
|
-
|
|
33
|
-
.align-left {
|
|
34
|
-
text-align: left;
|
|
35
|
-
}
|
|
36
|
-
|
|
37
|
-
.align-center {
|
|
38
|
-
text-align: center;
|
|
39
|
-
}
|
|
40
|
-
|
|
41
|
-
.align-justify {
|
|
42
|
-
text-align: justify;
|
|
43
|
-
}
|