allaw-ui 0.0.18 → 0.0.293
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/README.md +51 -2
- package/dist/app/globals.css +5 -0
- package/dist/components/atoms/buttons/ActionCircleButton.css +143 -0
- package/dist/components/atoms/buttons/ActionCircleButton.d.ts +9 -0
- package/dist/components/atoms/buttons/ActionCircleButton.js +23 -0
- package/dist/components/atoms/buttons/AgendaSlot.css +116 -0
- package/dist/components/atoms/buttons/AgendaSlot.d.ts +10 -0
- package/dist/components/atoms/buttons/AgendaSlot.js +7 -0
- package/dist/components/atoms/buttons/FavoriteToggle.css +35 -0
- package/dist/components/atoms/buttons/FavoriteToggle.d.ts +8 -0
- package/dist/components/atoms/buttons/FavoriteToggle.js +11 -0
- package/dist/components/atoms/buttons/FilterButton.css +55 -0
- package/dist/components/atoms/buttons/FilterButton.d.ts +9 -0
- package/dist/components/atoms/buttons/FilterButton.js +9 -0
- package/dist/components/atoms/buttons/GhostButton.css +63 -0
- package/dist/components/atoms/buttons/GhostButton.d.ts +14 -0
- package/dist/components/atoms/buttons/GhostButton.js +11 -0
- package/dist/components/atoms/buttons/IconButton.css +111 -0
- package/dist/components/atoms/buttons/IconButton.d.ts +10 -0
- package/dist/components/atoms/buttons/IconButton.js +14 -0
- package/dist/components/atoms/buttons/PendingDocuments.css +53 -0
- package/dist/components/atoms/buttons/PendingDocuments.d.ts +10 -0
- package/dist/components/atoms/buttons/PendingDocuments.js +13 -0
- package/dist/components/{buttons/ButtonPrimary.css → atoms/buttons/PrimaryButton.css} +11 -7
- package/dist/components/atoms/buttons/PrimaryButton.d.ts +15 -0
- package/dist/components/atoms/buttons/PrimaryButton.js +11 -0
- package/dist/components/atoms/buttons/SecondaryButton.css +123 -0
- package/dist/components/atoms/buttons/SecondaryButton.d.ts +14 -0
- package/dist/components/atoms/buttons/SecondaryButton.js +11 -0
- package/dist/components/atoms/buttons/TabNavigation.css +43 -0
- package/dist/components/atoms/buttons/TabNavigation.d.ts +13 -0
- package/dist/components/atoms/buttons/TabNavigation.js +10 -0
- package/dist/components/atoms/buttons/TertiaryButton.css +63 -0
- package/dist/components/atoms/buttons/TertiaryButton.d.ts +10 -0
- package/dist/components/atoms/buttons/TertiaryButton.js +10 -0
- package/dist/components/atoms/buttons/index.d.ts +18 -0
- package/dist/components/atoms/buttons/index.js +9 -0
- package/dist/components/atoms/checkboxes/Checkbox.css +50 -0
- package/dist/components/atoms/checkboxes/Checkbox.d.ts +10 -0
- package/dist/components/atoms/checkboxes/Checkbox.js +19 -0
- package/dist/components/atoms/checkboxes/index.d.ts +2 -0
- package/dist/components/atoms/checkboxes/index.js +1 -0
- package/dist/components/atoms/inputs/Input.css +185 -0
- package/dist/components/atoms/inputs/Input.d.ts +22 -0
- package/dist/components/atoms/inputs/Input.js +86 -0
- package/dist/components/atoms/inputs/SearchBar.css +54 -0
- package/dist/components/atoms/inputs/SearchBar.d.ts +12 -0
- package/dist/components/atoms/inputs/SearchBar.js +20 -0
- package/dist/components/atoms/inputs/index.d.ts +4 -0
- package/dist/components/atoms/inputs/index.js +2 -0
- package/dist/components/atoms/progressBars/ProgressBar.css +108 -0
- package/dist/components/atoms/progressBars/ProgressBar.d.ts +15 -0
- package/dist/components/atoms/progressBars/ProgressBar.js +17 -0
- package/dist/components/atoms/progressBars/index.d.ts +2 -0
- package/dist/components/atoms/progressBars/index.js +1 -0
- package/dist/components/atoms/radios/RadioButton.css +98 -0
- package/dist/components/atoms/radios/RadioButton.d.ts +11 -0
- package/dist/components/atoms/radios/RadioButton.js +10 -0
- package/dist/components/atoms/radios/index.d.ts +2 -0
- package/dist/components/atoms/radios/index.js +1 -0
- package/dist/components/atoms/selects/Select.css +103 -0
- package/dist/components/atoms/selects/Select.d.ts +22 -0
- package/dist/components/atoms/selects/Select.js +86 -0
- package/dist/components/atoms/selects/index.d.ts +2 -0
- package/dist/components/atoms/selects/index.js +1 -0
- package/dist/components/atoms/tags/AppointementStatusTag.css +158 -0
- package/dist/{tags → components/atoms/tags}/AppointementStatusTag.d.ts +1 -1
- package/dist/components/atoms/tags/FolderStatusTag.css +26 -0
- package/dist/components/atoms/tags/FolderStatusTag.d.ts +7 -0
- package/dist/components/atoms/tags/FolderStatusTag.js +8 -0
- package/dist/components/atoms/tags/OtherStatusTag.css +72 -0
- package/dist/components/atoms/tags/OtherStatusTag.d.ts +10 -0
- package/dist/components/atoms/tags/OtherStatusTag.js +10 -0
- package/dist/components/atoms/tags/index.d.ts +6 -0
- package/dist/components/atoms/tags/index.js +3 -0
- package/dist/components/atoms/typography/Heading.css +68 -0
- package/dist/components/atoms/typography/Heading.d.ts +9 -0
- package/dist/components/atoms/typography/Heading.js +7 -0
- package/dist/components/atoms/typography/Paragraph.css +43 -0
- package/dist/components/atoms/typography/Paragraph.d.ts +9 -0
- package/dist/components/atoms/typography/Paragraph.js +7 -0
- package/dist/components/atoms/typography/SmallTitle.css +53 -0
- package/dist/components/atoms/typography/SmallTitle.d.ts +9 -0
- package/dist/components/atoms/typography/SmallTitle.js +7 -0
- package/dist/components/atoms/typography/Subtitle.css +40 -0
- package/dist/components/atoms/typography/Subtitle.d.ts +9 -0
- package/dist/components/atoms/typography/Subtitle.js +7 -0
- package/dist/components/atoms/typography/TinyInfo.css +56 -0
- package/dist/components/atoms/typography/TinyInfo.d.ts +9 -0
- package/dist/components/atoms/typography/TinyInfo.js +8 -0
- package/dist/components/atoms/typography/index.d.ts +10 -0
- package/dist/components/atoms/typography/index.js +5 -0
- package/dist/components/atoms/uiVariables/BorderRadius.d.ts +6 -0
- package/dist/components/atoms/uiVariables/BorderRadius.js +12 -0
- package/dist/components/atoms/uiVariables/BorderRadiusExample.css +31 -0
- package/dist/components/atoms/uiVariables/Shadows.d.ts +6 -0
- package/dist/components/atoms/uiVariables/Shadows.js +11 -0
- package/dist/components/atoms/uiVariables/ShadowsExample.css +27 -0
- package/dist/components/atoms/uiVariables/Strokes.d.ts +6 -0
- package/dist/components/atoms/uiVariables/Strokes.js +10 -0
- package/dist/components/atoms/uiVariables/StrokesExample.css +22 -0
- package/dist/components/atoms/uiVariables/index.d.ts +3 -0
- package/dist/components/atoms/uiVariables/index.js +3 -0
- package/dist/components/molecules/appointmentSlot/AppointmentSlot.css +366 -0
- package/dist/components/molecules/appointmentSlot/AppointmentSlot.d.ts +25 -0
- package/dist/components/molecules/appointmentSlot/AppointmentSlot.js +109 -0
- package/dist/components/molecules/appointmentSlot/TestClic.css +19 -0
- package/dist/components/molecules/appointmentSlot/TestClic.d.ts +4 -0
- package/dist/components/molecules/appointmentSlot/TestClic.js +28 -0
- package/dist/components/molecules/appointmentSlot/index.d.ts +2 -0
- package/dist/components/molecules/appointmentSlot/index.js +1 -0
- package/dist/components/molecules/caseCard/CaseCard.css +119 -0
- package/dist/components/molecules/caseCard/CaseCard.d.ts +14 -0
- package/dist/components/molecules/caseCard/CaseCard.js +20 -0
- package/dist/components/molecules/caseCard/index.d.ts +2 -0
- package/dist/components/molecules/caseCard/index.js +1 -0
- package/dist/components/molecules/checkboxForm/CheckboxForm.css +22 -0
- package/dist/components/molecules/checkboxForm/CheckboxForm.d.ts +11 -0
- package/dist/components/molecules/checkboxForm/CheckboxForm.js +15 -0
- package/dist/components/molecules/checkboxForm/index.d.ts +2 -0
- package/dist/components/molecules/checkboxForm/index.js +1 -0
- package/dist/components/molecules/contactCard/ContactCard.css +386 -0
- package/dist/components/molecules/contactCard/ContactCard.d.ts +17 -0
- package/dist/components/molecules/contactCard/ContactCard.js +80 -0
- package/dist/components/molecules/contactCard/index.d.ts +2 -0
- package/dist/components/molecules/contactCard/index.js +1 -0
- package/dist/components/molecules/documentCard/DocumentCard.css +130 -0
- package/dist/components/molecules/documentCard/DocumentCard.d.ts +14 -0
- package/dist/components/molecules/documentCard/DocumentCard.js +59 -0
- package/dist/components/molecules/documentCard/index.d.ts +2 -0
- package/dist/components/molecules/documentCard/index.js +1 -0
- package/dist/components/molecules/employeeCard/EmployeeCard.css +187 -0
- package/dist/components/molecules/employeeCard/EmployeeCard.d.ts +15 -0
- package/dist/components/molecules/employeeCard/EmployeeCard.js +34 -0
- package/dist/components/molecules/employeeCard/index.d.ts +2 -0
- package/dist/components/molecules/employeeCard/index.js +1 -0
- package/dist/components/molecules/stepper/Stepper.css +80 -0
- package/dist/components/molecules/stepper/Stepper.d.ts +27 -0
- package/dist/components/molecules/stepper/Stepper.js +66 -0
- package/dist/components/molecules/stepper/index.d.ts +2 -0
- package/dist/components/molecules/stepper/index.js +1 -0
- package/dist/index.d.ts +36 -2
- package/dist/index.js +52 -2
- package/dist/styles/colors.css +2 -0
- package/dist/styles/global.css +9 -0
- package/dist/styles/ui-variables/border-radius.css +6 -0
- package/dist/styles/ui-variables/shadows.css +5 -0
- package/dist/styles/ui-variables/stroke.css +4 -0
- package/dist/utils/regex.d.ts +5 -0
- package/dist/utils/regex.js +7 -0
- package/package.json +36 -16
- package/dist/buttons/ButtonPrimary.d.ts +0 -10
- package/dist/buttons/ButtonPrimary.js +0 -10
- package/dist/components/buttons/ButtonPrimary.d.ts +0 -11
- package/dist/components/buttons/ButtonPrimary.js +0 -11
- package/dist/components/tags/AppointementStatusTag.css +0 -58
- package/dist/components/tags/AppointementStatusTag.d.ts +0 -8
- package/dist/stories/button.css +0 -30
- package/dist/stories/header.css +0 -32
- package/dist/stories/page.css +0 -69
- package/dist/tags/AppointementStatusTag.js +0 -41
- /package/dist/components/{tags → atoms/tags}/AppointementStatusTag.js +0 -0
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
@import "../../../styles/colors.css";
|
|
2
|
+
|
|
3
|
+
.heading {
|
|
4
|
+
font-family: Poppins;
|
|
5
|
+
font-style: normal;
|
|
6
|
+
line-height: normal;
|
|
7
|
+
text-align: center;
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
.heading.h1 {
|
|
11
|
+
font-size: 60px;
|
|
12
|
+
font-weight: 600;
|
|
13
|
+
letter-spacing: 0.5px;
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
.heading.h2 {
|
|
17
|
+
font-size: 36px;
|
|
18
|
+
font-weight: 600;
|
|
19
|
+
letter-spacing: 0.38px;
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
.heading.h3 {
|
|
23
|
+
font-size: 28px;
|
|
24
|
+
font-weight: 600;
|
|
25
|
+
letter-spacing: 0.28px;
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
.heading.h4 {
|
|
29
|
+
font-size: 24px;
|
|
30
|
+
font-weight: 600;
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
.heading.h5 {
|
|
34
|
+
font-size: 24px;
|
|
35
|
+
font-weight: 500;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
.heading.h6 {
|
|
39
|
+
font-size: 18px;
|
|
40
|
+
font-weight: 600;
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
.heading.h7 {
|
|
44
|
+
font-size: 14px;
|
|
45
|
+
font-weight: 600;
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
.heading.color-bleu-allaw {
|
|
49
|
+
color: var(--bleu-allaw);
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
.heading.color-mid-grey {
|
|
53
|
+
color: var(--mid-grey);
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
.heading.color-dark-grey {
|
|
57
|
+
color: var(--dark-grey);
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
.heading.color-noir {
|
|
61
|
+
color: var(--noir);
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
.heading.color-pure-white {
|
|
65
|
+
color: var(--pure-white);
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
/* Ajoutez d'autres couleurs si nécessaire */
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import "./Heading.css";
|
|
3
|
+
export interface HeadingProps {
|
|
4
|
+
variant: "h1" | "h2" | "h3" | "h4" | "h5" | "h6" | "h7";
|
|
5
|
+
color?: "bleu-allaw" | "mid-grey" | "dark-grey" | "noir" | "pure-white";
|
|
6
|
+
text: React.ReactNode;
|
|
7
|
+
}
|
|
8
|
+
declare const Heading: React.FC<HeadingProps>;
|
|
9
|
+
export default Heading;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import "./Heading.css";
|
|
3
|
+
var Heading = function (_a) {
|
|
4
|
+
var variant = _a.variant, _b = _a.color, color = _b === void 0 ? "pure-white" : _b, text = _a.text;
|
|
5
|
+
return React.createElement("div", { className: "heading ".concat(variant, " color-").concat(color) }, text);
|
|
6
|
+
};
|
|
7
|
+
export default Heading;
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
@import "../../../styles/colors.css";
|
|
2
|
+
|
|
3
|
+
.paragraph {
|
|
4
|
+
font-family: "Open Sans", sans-serif;
|
|
5
|
+
font-style: normal;
|
|
6
|
+
font-size: 16px;
|
|
7
|
+
line-height: normal;
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
.paragraph.bold {
|
|
11
|
+
font-weight: 700;
|
|
12
|
+
color: #f3f3f3;
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
.paragraph.semiBold {
|
|
16
|
+
font-weight: 600;
|
|
17
|
+
color: #f3f3f3;
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
.paragraph.medium {
|
|
21
|
+
font-weight: 400;
|
|
22
|
+
color: var(--Primary-Blanc, #fff);
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
.paragraph.color-bleu-allaw {
|
|
26
|
+
color: var(--bleu-allaw);
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
.paragraph.color-mid-grey {
|
|
30
|
+
color: var(--mid-grey);
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
.paragraph.color-dark-grey {
|
|
34
|
+
color: var(--dark-grey);
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
.paragraph.color-noir {
|
|
38
|
+
color: var(--noir);
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
.paragraph.color-pure-white {
|
|
42
|
+
color: var(--pure-white);
|
|
43
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import "./Paragraph.css";
|
|
3
|
+
export interface ParagraphProps {
|
|
4
|
+
variant: "bold" | "semiBold" | "medium";
|
|
5
|
+
color?: "bleu-allaw" | "mid-grey" | "dark-grey" | "noir" | "pure-white";
|
|
6
|
+
text: string;
|
|
7
|
+
}
|
|
8
|
+
declare const Paragraph: React.FC<ParagraphProps>;
|
|
9
|
+
export default Paragraph;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import "./Paragraph.css";
|
|
3
|
+
var Paragraph = function (_a) {
|
|
4
|
+
var variant = _a.variant, color = _a.color, text = _a.text;
|
|
5
|
+
return (React.createElement("p", { className: "paragraph ".concat(variant, " ").concat(color ? "color-".concat(color) : ""), dangerouslySetInnerHTML: { __html: text } }));
|
|
6
|
+
};
|
|
7
|
+
export default Paragraph;
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
@import "../../../styles/colors.css";
|
|
2
|
+
|
|
3
|
+
.small-title {
|
|
4
|
+
font-family: "Open Sans", sans-serif;
|
|
5
|
+
font-style: normal;
|
|
6
|
+
line-height: normal;
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
.small-title.bold20 {
|
|
10
|
+
font-size: 20px;
|
|
11
|
+
font-weight: 700;
|
|
12
|
+
color: var(--Primary-Blanc, #fff);
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
.small-title.medium32 {
|
|
16
|
+
font-size: 32px;
|
|
17
|
+
font-weight: 500;
|
|
18
|
+
color: var(--Primary-Bleu-Allaw, var(--primary-blue, #25beeb));
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
.small-title.semiBold12 {
|
|
22
|
+
font-size: 12px;
|
|
23
|
+
font-weight: 600;
|
|
24
|
+
color: var(--Primary-Blanc, #fff);
|
|
25
|
+
line-height: 21px;
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
.small-title.medium12 {
|
|
29
|
+
font-size: 12px;
|
|
30
|
+
font-weight: 500;
|
|
31
|
+
color: var(--Primary-Blanc, #fff);
|
|
32
|
+
line-height: 21px;
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
.small-title.color-bleu-allaw {
|
|
36
|
+
color: var(--bleu-allaw);
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
.small-title.color-mid-grey {
|
|
40
|
+
color: var(--mid-grey);
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
.small-title.color-dark-grey {
|
|
44
|
+
color: var(--dark-grey);
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
.small-title.color-noir {
|
|
48
|
+
color: var(--noir);
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
.small-title.color-pure-white {
|
|
52
|
+
color: var(--pure-white);
|
|
53
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import "./SmallTitle.css";
|
|
3
|
+
export interface SmallTitleProps {
|
|
4
|
+
variant: "bold20" | "medium32" | "semiBold12" | "medium12";
|
|
5
|
+
color?: "bleu-allaw" | "mid-grey" | "dark-grey" | "noir" | "pure-white";
|
|
6
|
+
text: string;
|
|
7
|
+
}
|
|
8
|
+
declare const SmallTitle: React.FC<SmallTitleProps>;
|
|
9
|
+
export default SmallTitle;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import "./SmallTitle.css";
|
|
3
|
+
var SmallTitle = function (_a) {
|
|
4
|
+
var variant = _a.variant, _b = _a.color, color = _b === void 0 ? "noir" : _b, text = _a.text;
|
|
5
|
+
return (React.createElement("p", { className: "small-title ".concat(variant, " ").concat(color ? "color-".concat(color) : ""), dangerouslySetInnerHTML: { __html: text } }));
|
|
6
|
+
};
|
|
7
|
+
export default SmallTitle;
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
@import "../../../styles/colors.css";
|
|
2
|
+
|
|
3
|
+
.subtitle {
|
|
4
|
+
font-family: "Open Sans", sans-serif;
|
|
5
|
+
font-style: normal;
|
|
6
|
+
font-size: 18px;
|
|
7
|
+
line-height: normal;
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
.subtitle.bold {
|
|
11
|
+
font-weight: 700;
|
|
12
|
+
color: var(--Primary-Blanc, #fff);
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
.subtitle.medium {
|
|
16
|
+
font-weight: 500;
|
|
17
|
+
color: var(--Primary-Blanc, #fff);
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
.subtitle.color-bleu-allaw {
|
|
21
|
+
color: var(--bleu-allaw);
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
.subtitle.color-mid-grey {
|
|
25
|
+
color: var(--mid-grey);
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
.subtitle.color-dark-grey {
|
|
29
|
+
color: var(--dark-grey);
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
.subtitle.color-noir {
|
|
33
|
+
color: var(--noir);
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
.subtitle.color-pure-white {
|
|
37
|
+
color: var(--pure-white);
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
/* Ajoutez d'autres couleurs si nécessaire */
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import "./Subtitle.css";
|
|
3
|
+
export interface SubtitleProps {
|
|
4
|
+
variant: "bold" | "medium";
|
|
5
|
+
color?: "bleu-allaw" | "mid-grey" | "dark-grey" | "noir" | "pure-white";
|
|
6
|
+
text: string;
|
|
7
|
+
}
|
|
8
|
+
declare const Subtitle: React.FC<SubtitleProps>;
|
|
9
|
+
export default Subtitle;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import "./Subtitle.css";
|
|
3
|
+
var Subtitle = function (_a) {
|
|
4
|
+
var variant = _a.variant, color = _a.color, text = _a.text;
|
|
5
|
+
return (React.createElement("p", { className: "subtitle ".concat(variant, " ").concat(color ? "color-".concat(color) : ""), dangerouslySetInnerHTML: { __html: text } }));
|
|
6
|
+
};
|
|
7
|
+
export default Subtitle;
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
@import "../../../styles/colors.css";
|
|
2
|
+
|
|
3
|
+
.tiny-info {
|
|
4
|
+
font-family: "Open Sans", sans-serif;
|
|
5
|
+
font-style: normal;
|
|
6
|
+
line-height: normal;
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
.tiny-info.bold14 {
|
|
10
|
+
font-size: 14px;
|
|
11
|
+
font-weight: 700;
|
|
12
|
+
color: var(--Primary-Blanc, #fff);
|
|
13
|
+
letter-spacing: 0.5px;
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
.tiny-info.medium14 {
|
|
17
|
+
font-size: 14px;
|
|
18
|
+
font-weight: 400;
|
|
19
|
+
color: var(--Primary-Blanc, #fff);
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
.tiny-info.semiBold12 {
|
|
23
|
+
font-size: 12px;
|
|
24
|
+
font-weight: 600;
|
|
25
|
+
color: var(--Primary-Blanc, #fff);
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
.tiny-info.medium12 {
|
|
29
|
+
font-size: 12px;
|
|
30
|
+
font-weight: 400;
|
|
31
|
+
color: var(--Primary-Blanc, #fff);
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
.tiny-info.color-bleu-allaw {
|
|
35
|
+
color: var(--bleu-allaw);
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
.tiny-info.color-mid-grey {
|
|
39
|
+
color: var(--mid-grey);
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
.tiny-info.color-dark-grey {
|
|
43
|
+
color: var(--dark-grey);
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
.tiny-info.color-noir {
|
|
47
|
+
color: var(--noir);
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
.tiny-info.color-pure-white {
|
|
51
|
+
color: var(--pure-white);
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
.tiny-info.color-actions-error {
|
|
55
|
+
color: var(--actions-error);
|
|
56
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import "./TinyInfo.css";
|
|
3
|
+
export interface TinyInfoProps {
|
|
4
|
+
variant: "bold14" | "medium14" | "semiBold12" | "medium12";
|
|
5
|
+
color?: "bleu-allaw" | "mid-grey" | "dark-grey" | "noir" | "pure-white" | "actions-error";
|
|
6
|
+
text: string;
|
|
7
|
+
}
|
|
8
|
+
declare const TinyInfo: React.FC<TinyInfoProps>;
|
|
9
|
+
export default TinyInfo;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import "./TinyInfo.css";
|
|
3
|
+
var TinyInfo = function (_a) {
|
|
4
|
+
var variant = _a.variant, _b = _a.color, color = _b === void 0 ? "noir" : _b, text = _a.text;
|
|
5
|
+
return (React.createElement("p", { className: "tiny-info ".concat(variant, " ").concat(color ? "color-".concat(color) : ""), dangerouslySetInnerHTML: { __html: text } }));
|
|
6
|
+
};
|
|
7
|
+
export default TinyInfo;
|
|
8
|
+
TinyInfo.displayName = "TinyInfo";
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
export { default as Heading } from "./Heading";
|
|
2
|
+
export { default as Paragraph } from "./Paragraph";
|
|
3
|
+
export { default as SmallTitle } from "./SmallTitle";
|
|
4
|
+
export { default as Subtitle } from "./Subtitle";
|
|
5
|
+
export { default as TinyInfo } from "./TinyInfo";
|
|
6
|
+
export type { HeadingProps } from "./Heading";
|
|
7
|
+
export type { ParagraphProps } from "./Paragraph";
|
|
8
|
+
export type { SmallTitleProps } from "./SmallTitle";
|
|
9
|
+
export type { SubtitleProps } from "./Subtitle";
|
|
10
|
+
export type { TinyInfoProps } from "./TinyInfo";
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import "../../../styles/ui-variables/border-radius.css";
|
|
3
|
+
import "./BorderRadiusExample.css";
|
|
4
|
+
import "../../../styles/global.css";
|
|
5
|
+
var BorderRadius = function () {
|
|
6
|
+
return (React.createElement("div", null,
|
|
7
|
+
React.createElement("div", { className: "example-card", style: { borderRadius: "var(--border-radius-card)" } }, "Card - 16px"),
|
|
8
|
+
React.createElement("div", { className: "example-button", style: { borderRadius: "var(--border-radius-buttons)" } }, "Button - 100px"),
|
|
9
|
+
React.createElement("div", { className: "example-tag", style: { borderRadius: "var(--border-radius-tags)" } }, "Tag - 8px"),
|
|
10
|
+
React.createElement("div", { className: "example-input", style: { borderRadius: "var(--border-radius-inputs)" } }, "Input - 8px")));
|
|
11
|
+
};
|
|
12
|
+
export default BorderRadius;
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
.example-card,
|
|
2
|
+
.example-button,
|
|
3
|
+
.example-tag,
|
|
4
|
+
.example-input {
|
|
5
|
+
width: 100px;
|
|
6
|
+
height: 100px;
|
|
7
|
+
background-color: #cfd5d8;
|
|
8
|
+
margin: 10px;
|
|
9
|
+
display: flex;
|
|
10
|
+
align-items: center;
|
|
11
|
+
justify-content: center;
|
|
12
|
+
font-family: "Open Sans", sans-serif;
|
|
13
|
+
font-size: 14px;
|
|
14
|
+
color: #333;
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
.example-card {
|
|
18
|
+
border-radius: var(--border-radius-card);
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
.example-button {
|
|
22
|
+
border-radius: var(--border-radius-buttons);
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
.example-tag {
|
|
26
|
+
border-radius: var(--border-radius-tags);
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
.example-input {
|
|
30
|
+
border-radius: var(--border-radius-inputs);
|
|
31
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import "../../../styles/global.css";
|
|
3
|
+
import "../../../styles/ui-variables/shadows.css";
|
|
4
|
+
import "./ShadowsExample.css";
|
|
5
|
+
var Shadows = function () {
|
|
6
|
+
return (React.createElement("div", null,
|
|
7
|
+
React.createElement("div", { className: "example-card", style: { boxShadow: "var(--shadow-cartes-rdv)" } }, "Cartes RDV"),
|
|
8
|
+
React.createElement("div", { className: "example-nav-bar", style: { boxShadow: "var(--shadow-nav-bar)" } }, "Nav_bar_shadow"),
|
|
9
|
+
React.createElement("div", { className: "example-carte-pro", style: { boxShadow: "var(--shadow-carte-pro)" } }, "Carte pro - Blue Shadow")));
|
|
10
|
+
};
|
|
11
|
+
export default Shadows;
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
.example-card,
|
|
2
|
+
.example-nav-bar,
|
|
3
|
+
.example-carte-pro {
|
|
4
|
+
width: 100px;
|
|
5
|
+
height: 100px;
|
|
6
|
+
background-color: #cfd5d8;
|
|
7
|
+
margin: 10px;
|
|
8
|
+
display: flex;
|
|
9
|
+
align-items: center;
|
|
10
|
+
justify-content: center;
|
|
11
|
+
font-family: "Open Sans", sans-serif;
|
|
12
|
+
font-size: 14px;
|
|
13
|
+
color: #333;
|
|
14
|
+
border-radius: 8px;
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
.example-card {
|
|
18
|
+
box-shadow: var(--shadow-cartes-rdv);
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
.example-nav-bar {
|
|
22
|
+
box-shadow: var(--shadow-nav-bar);
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
.example-carte-pro {
|
|
26
|
+
box-shadow: var(--shadow-carte-pro);
|
|
27
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import "../../../styles/global.css";
|
|
3
|
+
import "../../../styles/ui-variables/stroke.css";
|
|
4
|
+
import "./StrokesExample.css";
|
|
5
|
+
var Strokes = function () {
|
|
6
|
+
return (React.createElement("div", null,
|
|
7
|
+
React.createElement("div", { className: "example-stroke-default" }, "#25BEEB, 2px"),
|
|
8
|
+
React.createElement("div", { className: "example-stroke-active" }, "#CFD5D8, 2px")));
|
|
9
|
+
};
|
|
10
|
+
export default Strokes;
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
.example-stroke-default,
|
|
2
|
+
.example-stroke-active {
|
|
3
|
+
width: 100px;
|
|
4
|
+
height: 100px;
|
|
5
|
+
background-color: none;
|
|
6
|
+
margin: 10px;
|
|
7
|
+
display: flex;
|
|
8
|
+
align-items: center;
|
|
9
|
+
justify-content: center;
|
|
10
|
+
font-family: "Open Sans", sans-serif;
|
|
11
|
+
font-size: 14px;
|
|
12
|
+
color: #333;
|
|
13
|
+
border-radius: 8px;
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
.example-stroke-default {
|
|
17
|
+
border: var(--stroke-card-default);
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
.example-stroke-active {
|
|
21
|
+
border: var(--stroke-card-active);
|
|
22
|
+
}
|