allaw-ui 5.4.2 → 5.4.3
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/molecules/proSwitch/ProSwitchModal.js +0 -2
- package/package.json +12 -19
- package/dist/components/atoms/buttons/ActionButton.stories.d.ts +0 -110
- package/dist/components/atoms/buttons/ActionButton.stories.js +0 -171
- package/dist/components/atoms/buttons/ActionCircleButton.stories.d.ts +0 -35
- package/dist/components/atoms/buttons/ActionCircleButton.stories.js +0 -54
- package/dist/components/atoms/buttons/AgendaSlot.stories.d.ts +0 -41
- package/dist/components/atoms/buttons/AgendaSlot.stories.js +0 -77
- package/dist/components/atoms/buttons/FavoriteToggle.stories.d.ts +0 -23
- package/dist/components/atoms/buttons/FavoriteToggle.stories.js +0 -61
- package/dist/components/atoms/buttons/FilterButton.stories.d.ts +0 -36
- package/dist/components/atoms/buttons/FilterButton.stories.js +0 -56
- package/dist/components/atoms/buttons/FilterButtonPrimary.stories.d.ts +0 -7
- package/dist/components/atoms/buttons/FilterButtonPrimary.stories.js +0 -26
- package/dist/components/atoms/buttons/GhostButton.stories.d.ts +0 -79
- package/dist/components/atoms/buttons/GhostButton.stories.js +0 -95
- package/dist/components/atoms/buttons/IconButton.stories.d.ts +0 -51
- package/dist/components/atoms/buttons/IconButton.stories.js +0 -100
- package/dist/components/atoms/buttons/InboxButton.stories.d.ts +0 -68
- package/dist/components/atoms/buttons/InboxButton.stories.js +0 -143
- package/dist/components/atoms/buttons/OAuthProviderButton.stories.d.ts +0 -67
- package/dist/components/atoms/buttons/OAuthProviderButton.stories.js +0 -168
- package/dist/components/atoms/buttons/PendingDocuments.stories.d.ts +0 -52
- package/dist/components/atoms/buttons/PendingDocuments.stories.js +0 -67
- package/dist/components/atoms/buttons/PrimaryButton.stories.d.ts +0 -121
- package/dist/components/atoms/buttons/PrimaryButton.stories.js +0 -187
- package/dist/components/atoms/buttons/SecondaryButton.stories.d.ts +0 -97
- package/dist/components/atoms/buttons/SecondaryButton.stories.js +0 -177
- package/dist/components/atoms/buttons/TabNavigation.stories.d.ts +0 -81
- package/dist/components/atoms/buttons/TabNavigation.stories.js +0 -178
- package/dist/components/atoms/buttons/TertiaryButton.stories.d.ts +0 -70
- package/dist/components/atoms/buttons/TertiaryButton.stories.js +0 -128
- package/dist/components/atoms/checkboxes/Checkbox.stories.d.ts +0 -77
- package/dist/components/atoms/checkboxes/Checkbox.stories.js +0 -123
- package/dist/components/atoms/datepickers/Datepicker.stories.d.ts +0 -167
- package/dist/components/atoms/datepickers/Datepicker.stories.js +0 -113
- package/dist/components/atoms/featureCard/featureCard.stories.d.ts +0 -21
- package/dist/components/atoms/featureCard/featureCard.stories.js +0 -101
- package/dist/components/atoms/filter/Filter.stories.d.ts +0 -9
- package/dist/components/atoms/filter/Filter.stories.js +0 -77
- package/dist/components/atoms/filters/SingleFilter.stories.d.ts +0 -10
- package/dist/components/atoms/filters/SingleFilter.stories.js +0 -84
- package/dist/components/atoms/inputs/Input.stories.d.ts +0 -85
- package/dist/components/atoms/inputs/Input.stories.js +0 -169
- package/dist/components/atoms/inputs/SearchBar.stories.d.ts +0 -142
- package/dist/components/atoms/inputs/SearchBar.stories.js +0 -197
- package/dist/components/atoms/inputs/TextArea.stories.d.ts +0 -95
- package/dist/components/atoms/inputs/TextArea.stories.js +0 -141
- package/dist/components/atoms/inputs/VerificationCodeInput.stories.d.ts +0 -81
- package/dist/components/atoms/inputs/VerificationCodeInput.stories.js +0 -89
- package/dist/components/atoms/progressBars/ProgressBar.stories.d.ts +0 -83
- package/dist/components/atoms/progressBars/ProgressBar.stories.js +0 -88
- package/dist/components/atoms/radios/RadioButton.stories.d.ts +0 -38
- package/dist/components/atoms/radios/RadioButton.stories.js +0 -87
- package/dist/components/atoms/radios/SelectCard.stories.d.ts +0 -92
- package/dist/components/atoms/radios/SelectCard.stories.js +0 -192
- package/dist/components/atoms/selects/ComboBox.stories.d.ts +0 -116
- package/dist/components/atoms/selects/ComboBox.stories.js +0 -136
- package/dist/components/atoms/selects/Select.stories.d.ts +0 -133
- package/dist/components/atoms/selects/Select.stories.js +0 -299
- package/dist/components/atoms/selects/SelectableListItem.stories.d.ts +0 -33
- package/dist/components/atoms/selects/SelectableListItem.stories.js +0 -53
- package/dist/components/atoms/tags/AppointementStatusTag.stories.d.ts +0 -17
- package/dist/components/atoms/tags/AppointementStatusTag.stories.js +0 -70
- package/dist/components/atoms/tags/FolderStatusTag.stories.d.ts +0 -28
- package/dist/components/atoms/tags/FolderStatusTag.stories.js +0 -51
- package/dist/components/atoms/tags/InlineTag.stories.d.ts +0 -109
- package/dist/components/atoms/tags/InlineTag.stories.js +0 -159
- package/dist/components/atoms/tags/OtherStatusTag.stories.d.ts +0 -99
- package/dist/components/atoms/tags/OtherStatusTag.stories.js +0 -160
- package/dist/components/atoms/typography/CardDate.stories.d.ts +0 -119
- package/dist/components/atoms/typography/CardDate.stories.js +0 -103
- package/dist/components/atoms/typography/Heading.stories.d.ts +0 -79
- package/dist/components/atoms/typography/Heading.stories.js +0 -150
- package/dist/components/atoms/typography/Link.stories.d.ts +0 -72
- package/dist/components/atoms/typography/Link.stories.js +0 -164
- package/dist/components/atoms/typography/Paragraph.stories.d.ts +0 -56
- package/dist/components/atoms/typography/Paragraph.stories.js +0 -97
- package/dist/components/atoms/typography/SmallTitle.stories.d.ts +0 -42
- package/dist/components/atoms/typography/SmallTitle.stories.js +0 -72
- package/dist/components/atoms/typography/Subtitle.stories.d.ts +0 -40
- package/dist/components/atoms/typography/Subtitle.stories.js +0 -60
- package/dist/components/atoms/typography/TinyInfo.stories.d.ts +0 -58
- package/dist/components/atoms/typography/TinyInfo.stories.js +0 -117
- package/dist/components/atoms/uiVariables/AnimatedBorder.stories.d.ts +0 -17
- package/dist/components/atoms/uiVariables/AnimatedBorder.stories.js +0 -20
- package/dist/components/atoms/uiVariables/BorderRadius.stories.d.ts +0 -18
- package/dist/components/atoms/uiVariables/BorderRadius.stories.js +0 -34
- package/dist/components/atoms/uiVariables/Shadows.stories.d.ts +0 -18
- package/dist/components/atoms/uiVariables/Shadows.stories.js +0 -34
- package/dist/components/atoms/uiVariables/Strokes.stories.d.ts +0 -18
- package/dist/components/atoms/uiVariables/Strokes.stories.js +0 -34
- package/dist/components/molecules/AiText/aiText.stories.d.ts +0 -43
- package/dist/components/molecules/AiText/aiText.stories.js +0 -216
- package/dist/components/molecules/DataStepper/Stepper.stories.d.ts +0 -8
- package/dist/components/molecules/DataStepper/Stepper.stories.js +0 -248
- package/dist/components/molecules/appointmentCard/AppointmentCard.stories.d.ts +0 -37
- package/dist/components/molecules/appointmentCard/AppointmentCard.stories.js +0 -106
- package/dist/components/molecules/appointmentSlot/AppointmentSlot.stories.d.ts +0 -95
- package/dist/components/molecules/appointmentSlot/AppointmentSlot.stories.js +0 -204
- package/dist/components/molecules/banner/Banner.stories.d.ts +0 -31
- package/dist/components/molecules/banner/Banner.stories.js +0 -123
- package/dist/components/molecules/billingCount/BillingCount.stories.d.ts +0 -22
- package/dist/components/molecules/billingCount/BillingCount.stories.js +0 -49
- package/dist/components/molecules/blogCard/BlogCard.stories.d.ts +0 -10
- package/dist/components/molecules/blogCard/BlogCard.stories.js +0 -33
- package/dist/components/molecules/blogFooter/BlogFooter.stories.d.ts +0 -60
- package/dist/components/molecules/blogFooter/BlogFooter.stories.js +0 -67
- package/dist/components/molecules/blogHeader/BlogHeader.stories.d.ts +0 -49
- package/dist/components/molecules/blogHeader/BlogHeader.stories.js +0 -63
- package/dist/components/molecules/blogText/BlogText.stories.d.ts +0 -31
- package/dist/components/molecules/blogText/BlogText.stories.js +0 -51
- package/dist/components/molecules/blogTextImageBlock/BlogTextImageBlock.stories.d.ts +0 -37
- package/dist/components/molecules/blogTextImageBlock/BlogTextImageBlock.stories.js +0 -58
- package/dist/components/molecules/brands/Brands.stories.d.ts +0 -8
- package/dist/components/molecules/brands/Brands.stories.js +0 -66
- package/dist/components/molecules/breadcrumb/Breadcrumb.stories.d.ts +0 -24
- package/dist/components/molecules/breadcrumb/Breadcrumb.stories.js +0 -54
- package/dist/components/molecules/caseCard/CaseCard.stories.d.ts +0 -114
- package/dist/components/molecules/caseCard/CaseCard.stories.js +0 -200
- package/dist/components/molecules/caseCardCompact/CaseCardCompact.stories.d.ts +0 -11
- package/dist/components/molecules/caseCardCompact/CaseCardCompact.stories.js +0 -59
- package/dist/components/molecules/caseLinkCard/CaseCardLink.stories.d.ts +0 -9
- package/dist/components/molecules/caseLinkCard/CaseCardLink.stories.js +0 -37
- package/dist/components/molecules/checkboxForm/CheckboxForm.stories.d.ts +0 -94
- package/dist/components/molecules/checkboxForm/CheckboxForm.stories.js +0 -157
- package/dist/components/molecules/checkboxForm/ColoredCheckbox.stories.d.ts +0 -108
- package/dist/components/molecules/checkboxForm/ColoredCheckbox.stories.js +0 -141
- package/dist/components/molecules/clientLinkCard/ClientLinkCard.stories.d.ts +0 -11
- package/dist/components/molecules/clientLinkCard/ClientLinkCard.stories.js +0 -59
- package/dist/components/molecules/contactCard/ContactCard.stories.d.ts +0 -69
- package/dist/components/molecules/contactCard/ContactCard.stories.js +0 -84
- package/dist/components/molecules/contactCard/ContactCardEdit.stories.d.ts +0 -88
- package/dist/components/molecules/contactCard/ContactCardEdit.stories.js +0 -106
- package/dist/components/molecules/contactCard/DetailedContactCard.stories.d.ts +0 -94
- package/dist/components/molecules/contactCard/DetailedContactCard.stories.js +0 -83
- package/dist/components/molecules/datepickerForm/DatepickerForm.stories.d.ts +0 -291
- package/dist/components/molecules/datepickerForm/DatepickerForm.stories.js +0 -185
- package/dist/components/molecules/documentCard/DocumentCard.stories.d.ts +0 -72
- package/dist/components/molecules/documentCard/DocumentCard.stories.js +0 -108
- package/dist/components/molecules/employeeCard/EmployeeCard.stories.d.ts +0 -74
- package/dist/components/molecules/employeeCard/EmployeeCard.stories.js +0 -65
- package/dist/components/molecules/emptyMessage/EmptyMessage.stories.d.ts +0 -75
- package/dist/components/molecules/emptyMessage/EmptyMessage.stories.js +0 -115
- package/dist/components/molecules/entityAdminCard/entityAdminCard.stories.d.ts +0 -10
- package/dist/components/molecules/entityAdminCard/entityAdminCard.stories.js +0 -50
- package/dist/components/molecules/entityCard/EntityCard.stories.d.ts +0 -22
- package/dist/components/molecules/entityCard/EntityCard.stories.js +0 -63
- package/dist/components/molecules/featureGrid/FeatureGrid.stories.d.ts +0 -7
- package/dist/components/molecules/featureGrid/FeatureGrid.stories.js +0 -97
- package/dist/components/molecules/fileCard/FileCard.stories.d.ts +0 -42
- package/dist/components/molecules/fileCard/FileCard.stories.js +0 -185
- package/dist/components/molecules/fileUploader/FileUploader.stories.d.ts +0 -120
- package/dist/components/molecules/fileUploader/FileUploader.stories.js +0 -269
- package/dist/components/molecules/flexContent/FlexContent.stories.d.ts +0 -9
- package/dist/components/molecules/flexContent/FlexContent.stories.js +0 -47
- package/dist/components/molecules/frameCTA/FrameCTA.stories.d.ts +0 -8
- package/dist/components/molecules/frameCTA/FrameCTA.stories.js +0 -58
- package/dist/components/molecules/heroSection/HeroSection.stories.d.ts +0 -46
- package/dist/components/molecules/heroSection/HeroSection.stories.js +0 -100
- package/dist/components/molecules/loadingBox/LoadingBox.stories.d.ts +0 -54
- package/dist/components/molecules/loadingBox/LoadingBox.stories.js +0 -128
- package/dist/components/molecules/modal/Modal.stories.d.ts +0 -128
- package/dist/components/molecules/modal/Modal.stories.js +0 -373
- package/dist/components/molecules/notification/Notification.stories.d.ts +0 -377
- package/dist/components/molecules/notification/Notification.stories.js +0 -205
- package/dist/components/molecules/pagination/Pagination.stories.d.ts +0 -44
- package/dist/components/molecules/pagination/Pagination.stories.js +0 -59
- package/dist/components/molecules/proCard/ProCard.stories.d.ts +0 -49
- package/dist/components/molecules/proCard/ProCard.stories.js +0 -69
- package/dist/components/molecules/proSwitch/AvatarBubble.stories.d.ts +0 -112
- package/dist/components/molecules/proSwitch/AvatarBubble.stories.js +0 -255
- package/dist/components/molecules/proSwitch/AvatarToggleGroup.stories.d.ts +0 -88
- package/dist/components/molecules/proSwitch/AvatarToggleGroup.stories.js +0 -328
- package/dist/components/molecules/proSwitch/ProSwitch.stories.d.ts +0 -9
- package/dist/components/molecules/proSwitch/ProSwitch.stories.js +0 -152
- package/dist/components/molecules/proSwitch/ProSwitchModal.stories.d.ts +0 -62
- package/dist/components/molecules/proSwitch/ProSwitchModal.stories.js +0 -269
- package/dist/components/molecules/questionAnswer/QuestionAnswer.stories.d.ts +0 -17
- package/dist/components/molecules/questionAnswer/QuestionAnswer.stories.js +0 -48
- package/dist/components/molecules/radioForm/RadioForm.stories.d.ts +0 -37
- package/dist/components/molecules/radioForm/RadioForm.stories.js +0 -75
- package/dist/components/molecules/rangeSlider/RangeSlider.stories.d.ts +0 -96
- package/dist/components/molecules/rangeSlider/RangeSlider.stories.js +0 -162
- package/dist/components/molecules/section/Section.stories.d.ts +0 -42
- package/dist/components/molecules/section/Section.stories.js +0 -162
- package/dist/components/molecules/segmentedControl/segmentedControl.stories.d.ts +0 -70
- package/dist/components/molecules/segmentedControl/segmentedControl.stories.js +0 -185
- package/dist/components/molecules/selectForm/SelectForm.stories.d.ts +0 -79
- package/dist/components/molecules/selectForm/SelectForm.stories.js +0 -113
- package/dist/components/molecules/stepper/Stepper.stories.d.ts +0 -62
- package/dist/components/molecules/stepper/Stepper.stories.js +0 -215
- package/dist/stories/Header.d.ts +0 -13
- package/dist/stories/Header.js +0 -20
- package/dist/stories/Header.stories.d.ts +0 -18
- package/dist/stories/Header.stories.js +0 -26
- package/dist/stories/Page.d.ts +0 -3
- package/dist/stories/Page.js +0 -37
- package/dist/stories/Page.stories.d.ts +0 -12
- package/dist/stories/Page.stories.js +0 -76
|
@@ -1,79 +0,0 @@
|
|
|
1
|
-
declare namespace _default {
|
|
2
|
-
export let title: string;
|
|
3
|
-
export { Heading as component };
|
|
4
|
-
export let tags: string[];
|
|
5
|
-
export namespace argTypes {
|
|
6
|
-
namespace variant {
|
|
7
|
-
namespace control {
|
|
8
|
-
let type: string;
|
|
9
|
-
let options: string[];
|
|
10
|
-
}
|
|
11
|
-
}
|
|
12
|
-
namespace color {
|
|
13
|
-
export namespace control_1 {
|
|
14
|
-
let type_1: string;
|
|
15
|
-
export { type_1 as type };
|
|
16
|
-
let options_1: string[];
|
|
17
|
-
export { options_1 as options };
|
|
18
|
-
}
|
|
19
|
-
export { control_1 as control };
|
|
20
|
-
}
|
|
21
|
-
namespace text {
|
|
22
|
-
let control_2: string;
|
|
23
|
-
export { control_2 as control };
|
|
24
|
-
}
|
|
25
|
-
namespace align {
|
|
26
|
-
export namespace control_3 {
|
|
27
|
-
let type_2: string;
|
|
28
|
-
export { type_2 as type };
|
|
29
|
-
let options_2: string[];
|
|
30
|
-
export { options_2 as options };
|
|
31
|
-
}
|
|
32
|
-
export { control_3 as control };
|
|
33
|
-
}
|
|
34
|
-
namespace responsiveSize {
|
|
35
|
-
let control_4: string;
|
|
36
|
-
export { control_4 as control };
|
|
37
|
-
}
|
|
38
|
-
namespace as {
|
|
39
|
-
export namespace control_5 {
|
|
40
|
-
let type_3: string;
|
|
41
|
-
export { type_3 as type };
|
|
42
|
-
let options_3: string[];
|
|
43
|
-
export { options_3 as options };
|
|
44
|
-
}
|
|
45
|
-
export { control_5 as control };
|
|
46
|
-
}
|
|
47
|
-
}
|
|
48
|
-
export namespace args {
|
|
49
|
-
let responsiveSize_1: {
|
|
50
|
-
480: string;
|
|
51
|
-
768: string;
|
|
52
|
-
1024: string;
|
|
53
|
-
1440: string;
|
|
54
|
-
};
|
|
55
|
-
export { responsiveSize_1 as responsiveSize };
|
|
56
|
-
}
|
|
57
|
-
export namespace parameters {
|
|
58
|
-
namespace backgrounds {
|
|
59
|
-
let _default: string;
|
|
60
|
-
export { _default as default };
|
|
61
|
-
export let values: {
|
|
62
|
-
name: string;
|
|
63
|
-
value: string;
|
|
64
|
-
}[];
|
|
65
|
-
}
|
|
66
|
-
}
|
|
67
|
-
}
|
|
68
|
-
export default _default;
|
|
69
|
-
export const H1: any;
|
|
70
|
-
export const H2: any;
|
|
71
|
-
export const H3: any;
|
|
72
|
-
export const H4: any;
|
|
73
|
-
export const H5: any;
|
|
74
|
-
export const H6: any;
|
|
75
|
-
export const H7: any;
|
|
76
|
-
export const ResponsiveHeading: any;
|
|
77
|
-
export const CustomElement: any;
|
|
78
|
-
export const CenteredHeading: any;
|
|
79
|
-
import Heading from "./Heading";
|
|
@@ -1,150 +0,0 @@
|
|
|
1
|
-
var __assign = (this && this.__assign) || function () {
|
|
2
|
-
__assign = Object.assign || function(t) {
|
|
3
|
-
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
4
|
-
s = arguments[i];
|
|
5
|
-
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
|
|
6
|
-
t[p] = s[p];
|
|
7
|
-
}
|
|
8
|
-
return t;
|
|
9
|
-
};
|
|
10
|
-
return __assign.apply(this, arguments);
|
|
11
|
-
};
|
|
12
|
-
import React from "react";
|
|
13
|
-
import "../../../styles/global.css";
|
|
14
|
-
import Heading from "./Heading";
|
|
15
|
-
export default {
|
|
16
|
-
title: "Components/UI-Variables/Typography/Heading",
|
|
17
|
-
component: Heading,
|
|
18
|
-
tags: ["autodocs"],
|
|
19
|
-
argTypes: {
|
|
20
|
-
variant: {
|
|
21
|
-
control: {
|
|
22
|
-
type: "select",
|
|
23
|
-
options: ["h1", "h2", "h3", "h4", "h5", "h6", "h7"],
|
|
24
|
-
},
|
|
25
|
-
},
|
|
26
|
-
color: {
|
|
27
|
-
control: {
|
|
28
|
-
type: "select",
|
|
29
|
-
options: ["bleu-allaw", "mid-grey", "dark-grey", "noir", "pure-white"],
|
|
30
|
-
},
|
|
31
|
-
},
|
|
32
|
-
text: {
|
|
33
|
-
control: "text",
|
|
34
|
-
},
|
|
35
|
-
align: {
|
|
36
|
-
control: {
|
|
37
|
-
type: "select",
|
|
38
|
-
options: ["left", "justify", "center"],
|
|
39
|
-
},
|
|
40
|
-
},
|
|
41
|
-
responsiveSize: {
|
|
42
|
-
control: "object",
|
|
43
|
-
},
|
|
44
|
-
as: {
|
|
45
|
-
control: {
|
|
46
|
-
type: "select",
|
|
47
|
-
options: ["span", "h1", "h2", "h3", "h4", "h5", "h6", "p", "div"],
|
|
48
|
-
},
|
|
49
|
-
},
|
|
50
|
-
},
|
|
51
|
-
args: {
|
|
52
|
-
// Valeurs par défaut pour tous les stories
|
|
53
|
-
responsiveSize: {
|
|
54
|
-
480: "h5",
|
|
55
|
-
768: "h4",
|
|
56
|
-
1024: "h3",
|
|
57
|
-
1440: "h2",
|
|
58
|
-
},
|
|
59
|
-
},
|
|
60
|
-
parameters: {
|
|
61
|
-
backgrounds: {
|
|
62
|
-
default: "light",
|
|
63
|
-
values: [
|
|
64
|
-
{ name: "grey", value: "#728ea7" },
|
|
65
|
-
{ name: "light", value: "#ffffff" },
|
|
66
|
-
{ name: "figma", value: "#404040" },
|
|
67
|
-
{ name: "dark", value: "#171e25" },
|
|
68
|
-
],
|
|
69
|
-
},
|
|
70
|
-
},
|
|
71
|
-
};
|
|
72
|
-
var Template = function (args) { return React.createElement(Heading, __assign({}, args)); };
|
|
73
|
-
export var H1 = Template.bind({});
|
|
74
|
-
H1.args = {
|
|
75
|
-
variant: "h1",
|
|
76
|
-
color: "noir",
|
|
77
|
-
text: "Poppins – SemiBold – 60px",
|
|
78
|
-
as: "h1",
|
|
79
|
-
};
|
|
80
|
-
export var H2 = Template.bind({});
|
|
81
|
-
H2.args = {
|
|
82
|
-
variant: "h2",
|
|
83
|
-
color: "noir",
|
|
84
|
-
text: "Poppins – SemiBold – 36px",
|
|
85
|
-
as: "h2",
|
|
86
|
-
};
|
|
87
|
-
export var H3 = Template.bind({});
|
|
88
|
-
H3.args = {
|
|
89
|
-
variant: "h3",
|
|
90
|
-
color: "noir",
|
|
91
|
-
text: "Poppins – SemiBold – 28px",
|
|
92
|
-
as: "h3",
|
|
93
|
-
};
|
|
94
|
-
export var H4 = Template.bind({});
|
|
95
|
-
H4.args = {
|
|
96
|
-
variant: "h4",
|
|
97
|
-
color: "noir",
|
|
98
|
-
text: "Poppins – SemiBold – 24px",
|
|
99
|
-
as: "h4",
|
|
100
|
-
};
|
|
101
|
-
export var H5 = Template.bind({});
|
|
102
|
-
H5.args = {
|
|
103
|
-
variant: "h5",
|
|
104
|
-
color: "noir",
|
|
105
|
-
text: "Poppins – Medium – 24px",
|
|
106
|
-
as: "h5",
|
|
107
|
-
};
|
|
108
|
-
export var H6 = Template.bind({});
|
|
109
|
-
H6.args = {
|
|
110
|
-
variant: "h6",
|
|
111
|
-
color: "noir",
|
|
112
|
-
text: "Poppins – SemiBold – 18px",
|
|
113
|
-
as: "h6",
|
|
114
|
-
};
|
|
115
|
-
export var H7 = Template.bind({});
|
|
116
|
-
H7.args = {
|
|
117
|
-
variant: "h7",
|
|
118
|
-
color: "noir",
|
|
119
|
-
text: "Poppins – SemiBold – 14px",
|
|
120
|
-
as: "span",
|
|
121
|
-
};
|
|
122
|
-
export var ResponsiveHeading = Template.bind({});
|
|
123
|
-
ResponsiveHeading.args = {
|
|
124
|
-
variant: "h6", // Default variant
|
|
125
|
-
color: "noir",
|
|
126
|
-
text: "This heading changes size based on viewport width",
|
|
127
|
-
align: "left",
|
|
128
|
-
responsiveSize: {
|
|
129
|
-
480: "h5",
|
|
130
|
-
768: "h4",
|
|
131
|
-
1024: "h3",
|
|
132
|
-
1440: "h2",
|
|
133
|
-
},
|
|
134
|
-
as: "h2",
|
|
135
|
-
};
|
|
136
|
-
export var CustomElement = Template.bind({});
|
|
137
|
-
CustomElement.args = {
|
|
138
|
-
variant: "h3",
|
|
139
|
-
color: "bleu-allaw",
|
|
140
|
-
text: "This heading uses a paragraph tag",
|
|
141
|
-
as: "p",
|
|
142
|
-
};
|
|
143
|
-
export var CenteredHeading = Template.bind({});
|
|
144
|
-
CenteredHeading.args = {
|
|
145
|
-
variant: "h3",
|
|
146
|
-
color: "bleu-allaw",
|
|
147
|
-
text: "This heading is centered",
|
|
148
|
-
align: "center",
|
|
149
|
-
as: "h3",
|
|
150
|
-
};
|
|
@@ -1,72 +0,0 @@
|
|
|
1
|
-
declare namespace _default {
|
|
2
|
-
export let title: string;
|
|
3
|
-
export { Link as component };
|
|
4
|
-
export let tags: string[];
|
|
5
|
-
export namespace argTypes {
|
|
6
|
-
namespace variant {
|
|
7
|
-
namespace control {
|
|
8
|
-
let type: string;
|
|
9
|
-
let options: string[];
|
|
10
|
-
}
|
|
11
|
-
}
|
|
12
|
-
namespace color {
|
|
13
|
-
export namespace control_1 {
|
|
14
|
-
let type_1: string;
|
|
15
|
-
export { type_1 as type };
|
|
16
|
-
let options_1: string[];
|
|
17
|
-
export { options_1 as options };
|
|
18
|
-
}
|
|
19
|
-
export { control_1 as control };
|
|
20
|
-
}
|
|
21
|
-
namespace text {
|
|
22
|
-
let control_2: string;
|
|
23
|
-
export { control_2 as control };
|
|
24
|
-
}
|
|
25
|
-
namespace size {
|
|
26
|
-
export namespace control_3 {
|
|
27
|
-
let type_2: string;
|
|
28
|
-
export { type_2 as type };
|
|
29
|
-
let options_2: string[];
|
|
30
|
-
export { options_2 as options };
|
|
31
|
-
}
|
|
32
|
-
export { control_3 as control };
|
|
33
|
-
}
|
|
34
|
-
namespace isUnderline {
|
|
35
|
-
let control_4: string;
|
|
36
|
-
export { control_4 as control };
|
|
37
|
-
export let description: string;
|
|
38
|
-
}
|
|
39
|
-
namespace hasHoverColor {
|
|
40
|
-
let control_5: string;
|
|
41
|
-
export { control_5 as control };
|
|
42
|
-
let description_1: string;
|
|
43
|
-
export { description_1 as description };
|
|
44
|
-
}
|
|
45
|
-
namespace onClick {
|
|
46
|
-
let action: string;
|
|
47
|
-
}
|
|
48
|
-
}
|
|
49
|
-
export namespace parameters {
|
|
50
|
-
namespace backgrounds {
|
|
51
|
-
let _default: string;
|
|
52
|
-
export { _default as default };
|
|
53
|
-
export let values: {
|
|
54
|
-
name: string;
|
|
55
|
-
value: string;
|
|
56
|
-
}[];
|
|
57
|
-
}
|
|
58
|
-
}
|
|
59
|
-
}
|
|
60
|
-
export default _default;
|
|
61
|
-
export const Bold: any;
|
|
62
|
-
export const SemiBold: any;
|
|
63
|
-
export const Medium: any;
|
|
64
|
-
export const BoldSmall: any;
|
|
65
|
-
export const SemiBoldSmall: any;
|
|
66
|
-
export const MediumSmall: any;
|
|
67
|
-
export const ClickableLink: any;
|
|
68
|
-
export const UnderlinedLink: any;
|
|
69
|
-
export const ClickableUnderlinedLink: any;
|
|
70
|
-
export const HoverColorLink: any;
|
|
71
|
-
export const HoverColorUnderlinedLink: any;
|
|
72
|
-
import Link from "./Link";
|
|
@@ -1,164 +0,0 @@
|
|
|
1
|
-
var __assign = (this && this.__assign) || function () {
|
|
2
|
-
__assign = Object.assign || function(t) {
|
|
3
|
-
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
4
|
-
s = arguments[i];
|
|
5
|
-
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
|
|
6
|
-
t[p] = s[p];
|
|
7
|
-
}
|
|
8
|
-
return t;
|
|
9
|
-
};
|
|
10
|
-
return __assign.apply(this, arguments);
|
|
11
|
-
};
|
|
12
|
-
import React from "react";
|
|
13
|
-
import Link from "./Link";
|
|
14
|
-
import "../../../styles/global.css";
|
|
15
|
-
export default {
|
|
16
|
-
title: "Components/UI-Variables/Typography/Link",
|
|
17
|
-
component: Link,
|
|
18
|
-
tags: ["autodocs"],
|
|
19
|
-
argTypes: {
|
|
20
|
-
variant: {
|
|
21
|
-
control: {
|
|
22
|
-
type: "select",
|
|
23
|
-
options: ["bold", "semiBold", "medium"],
|
|
24
|
-
},
|
|
25
|
-
},
|
|
26
|
-
color: {
|
|
27
|
-
control: {
|
|
28
|
-
type: "select",
|
|
29
|
-
options: ["bleu-allaw", "mid-grey", "dark-grey", "noir", "pure-white"],
|
|
30
|
-
},
|
|
31
|
-
},
|
|
32
|
-
text: {
|
|
33
|
-
control: "text",
|
|
34
|
-
},
|
|
35
|
-
size: {
|
|
36
|
-
control: {
|
|
37
|
-
type: "select",
|
|
38
|
-
options: ["default", "small"],
|
|
39
|
-
},
|
|
40
|
-
},
|
|
41
|
-
isUnderline: {
|
|
42
|
-
control: "boolean",
|
|
43
|
-
description: "Ajoute un soulignement au survol",
|
|
44
|
-
},
|
|
45
|
-
hasHoverColor: {
|
|
46
|
-
control: "boolean",
|
|
47
|
-
description: "Change la couleur du texte en bleu au survol",
|
|
48
|
-
},
|
|
49
|
-
onClick: { action: "clicked" },
|
|
50
|
-
},
|
|
51
|
-
parameters: {
|
|
52
|
-
backgrounds: {
|
|
53
|
-
default: "light",
|
|
54
|
-
values: [
|
|
55
|
-
{ name: "light", value: "#ffffff" },
|
|
56
|
-
{ name: "grey", value: "#728ea7" },
|
|
57
|
-
{ name: "figma", value: "#404040" },
|
|
58
|
-
{ name: "dark", value: "#171e25" },
|
|
59
|
-
],
|
|
60
|
-
},
|
|
61
|
-
},
|
|
62
|
-
};
|
|
63
|
-
var Template = function (args) { return React.createElement(Link, __assign({}, args)); };
|
|
64
|
-
export var Bold = Template.bind({});
|
|
65
|
-
Bold.args = {
|
|
66
|
-
variant: "bold",
|
|
67
|
-
color: "noir",
|
|
68
|
-
text: "Open Sans - Bold - 16px",
|
|
69
|
-
size: "default",
|
|
70
|
-
isUnderline: false,
|
|
71
|
-
hasHoverColor: false,
|
|
72
|
-
};
|
|
73
|
-
export var SemiBold = Template.bind({});
|
|
74
|
-
SemiBold.args = {
|
|
75
|
-
variant: "semiBold",
|
|
76
|
-
color: "noir",
|
|
77
|
-
text: "Open Sans - SemiBold - 16px",
|
|
78
|
-
size: "default",
|
|
79
|
-
isUnderline: false,
|
|
80
|
-
hasHoverColor: false,
|
|
81
|
-
};
|
|
82
|
-
export var Medium = Template.bind({});
|
|
83
|
-
Medium.args = {
|
|
84
|
-
variant: "medium",
|
|
85
|
-
color: "noir",
|
|
86
|
-
text: "Open Sans - Medium - 16px",
|
|
87
|
-
size: "default",
|
|
88
|
-
isUnderline: false,
|
|
89
|
-
hasHoverColor: false,
|
|
90
|
-
};
|
|
91
|
-
export var BoldSmall = Template.bind({});
|
|
92
|
-
BoldSmall.args = {
|
|
93
|
-
variant: "bold",
|
|
94
|
-
color: "noir",
|
|
95
|
-
text: "Open Sans - Bold - 12px",
|
|
96
|
-
size: "small",
|
|
97
|
-
isUnderline: false,
|
|
98
|
-
hasHoverColor: false,
|
|
99
|
-
};
|
|
100
|
-
export var SemiBoldSmall = Template.bind({});
|
|
101
|
-
SemiBoldSmall.args = {
|
|
102
|
-
variant: "semiBold",
|
|
103
|
-
color: "noir",
|
|
104
|
-
text: "Open Sans - SemiBold - 12px",
|
|
105
|
-
size: "small",
|
|
106
|
-
isUnderline: false,
|
|
107
|
-
hasHoverColor: false,
|
|
108
|
-
};
|
|
109
|
-
export var MediumSmall = Template.bind({});
|
|
110
|
-
MediumSmall.args = {
|
|
111
|
-
variant: "medium",
|
|
112
|
-
color: "noir",
|
|
113
|
-
text: "Open Sans - Medium - 12px",
|
|
114
|
-
size: "small",
|
|
115
|
-
isUnderline: false,
|
|
116
|
-
hasHoverColor: false,
|
|
117
|
-
};
|
|
118
|
-
export var ClickableLink = Template.bind({});
|
|
119
|
-
ClickableLink.args = {
|
|
120
|
-
variant: "semiBold",
|
|
121
|
-
color: "bleu-allaw",
|
|
122
|
-
text: "Cliquez sur moi",
|
|
123
|
-
size: "small",
|
|
124
|
-
onClick: function () { return console.log("Linke cliqué"); },
|
|
125
|
-
isUnderline: false,
|
|
126
|
-
hasHoverColor: false,
|
|
127
|
-
};
|
|
128
|
-
export var UnderlinedLink = Template.bind({});
|
|
129
|
-
UnderlinedLink.args = {
|
|
130
|
-
variant: "semiBold",
|
|
131
|
-
color: "bleu-allaw",
|
|
132
|
-
text: "Survolez-moi pour voir le soulignement",
|
|
133
|
-
size: "default",
|
|
134
|
-
isUnderline: true,
|
|
135
|
-
hasHoverColor: false,
|
|
136
|
-
};
|
|
137
|
-
export var ClickableUnderlinedLink = Template.bind({});
|
|
138
|
-
ClickableUnderlinedLink.args = {
|
|
139
|
-
variant: "semiBold",
|
|
140
|
-
color: "bleu-allaw",
|
|
141
|
-
text: "Cliquez et survolez-moi",
|
|
142
|
-
size: "small",
|
|
143
|
-
onClick: function () { return console.log("Lien cliqué"); },
|
|
144
|
-
isUnderline: true,
|
|
145
|
-
hasHoverColor: false,
|
|
146
|
-
};
|
|
147
|
-
export var HoverColorLink = Template.bind({});
|
|
148
|
-
HoverColorLink.args = {
|
|
149
|
-
variant: "semiBold",
|
|
150
|
-
color: "mid-grey",
|
|
151
|
-
text: "Survolez-moi pour changer la couleur",
|
|
152
|
-
size: "default",
|
|
153
|
-
isUnderline: false,
|
|
154
|
-
hasHoverColor: true,
|
|
155
|
-
};
|
|
156
|
-
export var HoverColorUnderlinedLink = Template.bind({});
|
|
157
|
-
HoverColorUnderlinedLink.args = {
|
|
158
|
-
variant: "semiBold",
|
|
159
|
-
color: "dark-grey",
|
|
160
|
-
text: "Survolez-moi pour changer la couleur et voir le soulignement",
|
|
161
|
-
size: "default",
|
|
162
|
-
isUnderline: true,
|
|
163
|
-
hasHoverColor: true,
|
|
164
|
-
};
|
|
@@ -1,56 +0,0 @@
|
|
|
1
|
-
declare namespace _default {
|
|
2
|
-
export let title: string;
|
|
3
|
-
export { Paragraph as component };
|
|
4
|
-
export let tags: string[];
|
|
5
|
-
export namespace argTypes {
|
|
6
|
-
namespace variant {
|
|
7
|
-
namespace control {
|
|
8
|
-
let type: string;
|
|
9
|
-
let options: string[];
|
|
10
|
-
}
|
|
11
|
-
}
|
|
12
|
-
namespace color {
|
|
13
|
-
export namespace control_1 {
|
|
14
|
-
let type_1: string;
|
|
15
|
-
export { type_1 as type };
|
|
16
|
-
let options_1: string[];
|
|
17
|
-
export { options_1 as options };
|
|
18
|
-
}
|
|
19
|
-
export { control_1 as control };
|
|
20
|
-
}
|
|
21
|
-
namespace text {
|
|
22
|
-
let control_2: string;
|
|
23
|
-
export { control_2 as control };
|
|
24
|
-
}
|
|
25
|
-
namespace size {
|
|
26
|
-
export namespace control_3 {
|
|
27
|
-
let type_2: string;
|
|
28
|
-
export { type_2 as type };
|
|
29
|
-
let options_2: string[];
|
|
30
|
-
export { options_2 as options };
|
|
31
|
-
}
|
|
32
|
-
export { control_3 as control };
|
|
33
|
-
}
|
|
34
|
-
namespace onClick {
|
|
35
|
-
let action: string;
|
|
36
|
-
}
|
|
37
|
-
}
|
|
38
|
-
export namespace parameters {
|
|
39
|
-
namespace backgrounds {
|
|
40
|
-
let _default: string;
|
|
41
|
-
export { _default as default };
|
|
42
|
-
export let values: {
|
|
43
|
-
name: string;
|
|
44
|
-
value: string;
|
|
45
|
-
}[];
|
|
46
|
-
}
|
|
47
|
-
}
|
|
48
|
-
}
|
|
49
|
-
export default _default;
|
|
50
|
-
export const Bold: any;
|
|
51
|
-
export const SemiBold: any;
|
|
52
|
-
export const Medium: any;
|
|
53
|
-
export const BoldSmall: any;
|
|
54
|
-
export const SemiBoldSmall: any;
|
|
55
|
-
export const MediumSmall: any;
|
|
56
|
-
import Paragraph from "./Paragraph";
|
|
@@ -1,97 +0,0 @@
|
|
|
1
|
-
var __assign = (this && this.__assign) || function () {
|
|
2
|
-
__assign = Object.assign || function(t) {
|
|
3
|
-
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
4
|
-
s = arguments[i];
|
|
5
|
-
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
|
|
6
|
-
t[p] = s[p];
|
|
7
|
-
}
|
|
8
|
-
return t;
|
|
9
|
-
};
|
|
10
|
-
return __assign.apply(this, arguments);
|
|
11
|
-
};
|
|
12
|
-
import React from "react";
|
|
13
|
-
import Paragraph from "./Paragraph";
|
|
14
|
-
import "../../../styles/global.css";
|
|
15
|
-
export default {
|
|
16
|
-
title: "Components/UI-Variables/Typography/Paragraph",
|
|
17
|
-
component: Paragraph,
|
|
18
|
-
tags: ["autodocs"],
|
|
19
|
-
argTypes: {
|
|
20
|
-
variant: {
|
|
21
|
-
control: {
|
|
22
|
-
type: "select",
|
|
23
|
-
options: ["bold", "semiBold", "medium"],
|
|
24
|
-
},
|
|
25
|
-
},
|
|
26
|
-
color: {
|
|
27
|
-
control: {
|
|
28
|
-
type: "select",
|
|
29
|
-
options: ["bleu-allaw", "mid-grey", "dark-grey", "noir", "pure-white"],
|
|
30
|
-
},
|
|
31
|
-
},
|
|
32
|
-
text: {
|
|
33
|
-
control: "text",
|
|
34
|
-
},
|
|
35
|
-
size: {
|
|
36
|
-
control: {
|
|
37
|
-
type: "select",
|
|
38
|
-
options: ["default", "small"],
|
|
39
|
-
},
|
|
40
|
-
},
|
|
41
|
-
onClick: { action: "clicked" },
|
|
42
|
-
},
|
|
43
|
-
parameters: {
|
|
44
|
-
backgrounds: {
|
|
45
|
-
default: "light",
|
|
46
|
-
values: [
|
|
47
|
-
{ name: "light", value: "#ffffff" },
|
|
48
|
-
{ name: "grey", value: "#728ea7" },
|
|
49
|
-
{ name: "figma", value: "#404040" },
|
|
50
|
-
{ name: "dark", value: "#171e25" },
|
|
51
|
-
],
|
|
52
|
-
},
|
|
53
|
-
},
|
|
54
|
-
};
|
|
55
|
-
var Template = function (args) { return React.createElement(Paragraph, __assign({}, args)); };
|
|
56
|
-
export var Bold = Template.bind({});
|
|
57
|
-
Bold.args = {
|
|
58
|
-
variant: "bold",
|
|
59
|
-
color: "noir",
|
|
60
|
-
text: "Open Sans - Bold - 16px",
|
|
61
|
-
size: "default",
|
|
62
|
-
};
|
|
63
|
-
export var SemiBold = Template.bind({});
|
|
64
|
-
SemiBold.args = {
|
|
65
|
-
variant: "semiBold",
|
|
66
|
-
color: "noir",
|
|
67
|
-
text: "Open Sans - SemiBold - 16px",
|
|
68
|
-
size: "default",
|
|
69
|
-
};
|
|
70
|
-
export var Medium = Template.bind({});
|
|
71
|
-
Medium.args = {
|
|
72
|
-
variant: "medium",
|
|
73
|
-
color: "noir",
|
|
74
|
-
text: "Open Sans - Medium - 16px",
|
|
75
|
-
size: "default",
|
|
76
|
-
};
|
|
77
|
-
export var BoldSmall = Template.bind({});
|
|
78
|
-
BoldSmall.args = {
|
|
79
|
-
variant: "bold",
|
|
80
|
-
color: "noir",
|
|
81
|
-
text: "Open Sans - Bold - 12px",
|
|
82
|
-
size: "small",
|
|
83
|
-
};
|
|
84
|
-
export var SemiBoldSmall = Template.bind({});
|
|
85
|
-
SemiBoldSmall.args = {
|
|
86
|
-
variant: "semiBold",
|
|
87
|
-
color: "noir",
|
|
88
|
-
text: "Open Sans - SemiBold - 12px",
|
|
89
|
-
size: "small",
|
|
90
|
-
};
|
|
91
|
-
export var MediumSmall = Template.bind({});
|
|
92
|
-
MediumSmall.args = {
|
|
93
|
-
variant: "medium",
|
|
94
|
-
color: "noir",
|
|
95
|
-
text: "Open Sans - Medium - 12px",
|
|
96
|
-
size: "small",
|
|
97
|
-
};
|
|
@@ -1,42 +0,0 @@
|
|
|
1
|
-
declare namespace _default {
|
|
2
|
-
export let title: string;
|
|
3
|
-
export { SmallTitle as component };
|
|
4
|
-
export let tags: string[];
|
|
5
|
-
export namespace argTypes {
|
|
6
|
-
namespace variant {
|
|
7
|
-
namespace control {
|
|
8
|
-
let type: string;
|
|
9
|
-
let options: string[];
|
|
10
|
-
}
|
|
11
|
-
}
|
|
12
|
-
namespace color {
|
|
13
|
-
export namespace control_1 {
|
|
14
|
-
let type_1: string;
|
|
15
|
-
export { type_1 as type };
|
|
16
|
-
let options_1: string[];
|
|
17
|
-
export { options_1 as options };
|
|
18
|
-
}
|
|
19
|
-
export { control_1 as control };
|
|
20
|
-
}
|
|
21
|
-
namespace text {
|
|
22
|
-
let control_2: string;
|
|
23
|
-
export { control_2 as control };
|
|
24
|
-
}
|
|
25
|
-
}
|
|
26
|
-
export namespace parameters {
|
|
27
|
-
namespace backgrounds {
|
|
28
|
-
let _default: string;
|
|
29
|
-
export { _default as default };
|
|
30
|
-
export let values: {
|
|
31
|
-
name: string;
|
|
32
|
-
value: string;
|
|
33
|
-
}[];
|
|
34
|
-
}
|
|
35
|
-
}
|
|
36
|
-
}
|
|
37
|
-
export default _default;
|
|
38
|
-
export const Bold20: any;
|
|
39
|
-
export const Medium32: any;
|
|
40
|
-
export const SemiBold12: any;
|
|
41
|
-
export const Medium12: any;
|
|
42
|
-
import SmallTitle from "./SmallTitle";
|