allaw-ui 5.4.1 → 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.
Files changed (202) hide show
  1. package/dist/components/atoms/buttons/ActionButton.d.ts +1 -1
  2. package/dist/components/atoms/buttons/ActionButton.js +2 -2
  3. package/dist/components/molecules/proSwitch/ProSwitchModal.js +0 -2
  4. package/package.json +12 -19
  5. package/dist/components/atoms/buttons/ActionButton.stories.d.ts +0 -110
  6. package/dist/components/atoms/buttons/ActionButton.stories.js +0 -171
  7. package/dist/components/atoms/buttons/ActionCircleButton.stories.d.ts +0 -35
  8. package/dist/components/atoms/buttons/ActionCircleButton.stories.js +0 -54
  9. package/dist/components/atoms/buttons/AgendaSlot.stories.d.ts +0 -41
  10. package/dist/components/atoms/buttons/AgendaSlot.stories.js +0 -77
  11. package/dist/components/atoms/buttons/FavoriteToggle.stories.d.ts +0 -23
  12. package/dist/components/atoms/buttons/FavoriteToggle.stories.js +0 -61
  13. package/dist/components/atoms/buttons/FilterButton.stories.d.ts +0 -36
  14. package/dist/components/atoms/buttons/FilterButton.stories.js +0 -56
  15. package/dist/components/atoms/buttons/FilterButtonPrimary.stories.d.ts +0 -7
  16. package/dist/components/atoms/buttons/FilterButtonPrimary.stories.js +0 -26
  17. package/dist/components/atoms/buttons/GhostButton.stories.d.ts +0 -79
  18. package/dist/components/atoms/buttons/GhostButton.stories.js +0 -95
  19. package/dist/components/atoms/buttons/IconButton.stories.d.ts +0 -51
  20. package/dist/components/atoms/buttons/IconButton.stories.js +0 -100
  21. package/dist/components/atoms/buttons/InboxButton.stories.d.ts +0 -68
  22. package/dist/components/atoms/buttons/InboxButton.stories.js +0 -143
  23. package/dist/components/atoms/buttons/OAuthProviderButton.stories.d.ts +0 -67
  24. package/dist/components/atoms/buttons/OAuthProviderButton.stories.js +0 -168
  25. package/dist/components/atoms/buttons/PendingDocuments.stories.d.ts +0 -52
  26. package/dist/components/atoms/buttons/PendingDocuments.stories.js +0 -67
  27. package/dist/components/atoms/buttons/PrimaryButton.stories.d.ts +0 -121
  28. package/dist/components/atoms/buttons/PrimaryButton.stories.js +0 -187
  29. package/dist/components/atoms/buttons/SecondaryButton.stories.d.ts +0 -97
  30. package/dist/components/atoms/buttons/SecondaryButton.stories.js +0 -177
  31. package/dist/components/atoms/buttons/TabNavigation.stories.d.ts +0 -81
  32. package/dist/components/atoms/buttons/TabNavigation.stories.js +0 -178
  33. package/dist/components/atoms/buttons/TertiaryButton.stories.d.ts +0 -70
  34. package/dist/components/atoms/buttons/TertiaryButton.stories.js +0 -128
  35. package/dist/components/atoms/checkboxes/Checkbox.stories.d.ts +0 -77
  36. package/dist/components/atoms/checkboxes/Checkbox.stories.js +0 -123
  37. package/dist/components/atoms/datepickers/Datepicker.stories.d.ts +0 -167
  38. package/dist/components/atoms/datepickers/Datepicker.stories.js +0 -113
  39. package/dist/components/atoms/featureCard/featureCard.stories.d.ts +0 -21
  40. package/dist/components/atoms/featureCard/featureCard.stories.js +0 -101
  41. package/dist/components/atoms/filter/Filter.stories.d.ts +0 -9
  42. package/dist/components/atoms/filter/Filter.stories.js +0 -77
  43. package/dist/components/atoms/filters/SingleFilter.stories.d.ts +0 -10
  44. package/dist/components/atoms/filters/SingleFilter.stories.js +0 -84
  45. package/dist/components/atoms/inputs/Input.stories.d.ts +0 -85
  46. package/dist/components/atoms/inputs/Input.stories.js +0 -169
  47. package/dist/components/atoms/inputs/SearchBar.stories.d.ts +0 -142
  48. package/dist/components/atoms/inputs/SearchBar.stories.js +0 -197
  49. package/dist/components/atoms/inputs/TextArea.stories.d.ts +0 -95
  50. package/dist/components/atoms/inputs/TextArea.stories.js +0 -141
  51. package/dist/components/atoms/inputs/VerificationCodeInput.stories.d.ts +0 -81
  52. package/dist/components/atoms/inputs/VerificationCodeInput.stories.js +0 -89
  53. package/dist/components/atoms/progressBars/ProgressBar.stories.d.ts +0 -83
  54. package/dist/components/atoms/progressBars/ProgressBar.stories.js +0 -88
  55. package/dist/components/atoms/radios/RadioButton.stories.d.ts +0 -38
  56. package/dist/components/atoms/radios/RadioButton.stories.js +0 -87
  57. package/dist/components/atoms/radios/SelectCard.stories.d.ts +0 -92
  58. package/dist/components/atoms/radios/SelectCard.stories.js +0 -192
  59. package/dist/components/atoms/selects/ComboBox.stories.d.ts +0 -116
  60. package/dist/components/atoms/selects/ComboBox.stories.js +0 -136
  61. package/dist/components/atoms/selects/Select.stories.d.ts +0 -133
  62. package/dist/components/atoms/selects/Select.stories.js +0 -299
  63. package/dist/components/atoms/selects/SelectableListItem.stories.d.ts +0 -33
  64. package/dist/components/atoms/selects/SelectableListItem.stories.js +0 -53
  65. package/dist/components/atoms/tags/AppointementStatusTag.stories.d.ts +0 -17
  66. package/dist/components/atoms/tags/AppointementStatusTag.stories.js +0 -70
  67. package/dist/components/atoms/tags/FolderStatusTag.stories.d.ts +0 -28
  68. package/dist/components/atoms/tags/FolderStatusTag.stories.js +0 -51
  69. package/dist/components/atoms/tags/InlineTag.stories.d.ts +0 -109
  70. package/dist/components/atoms/tags/InlineTag.stories.js +0 -159
  71. package/dist/components/atoms/tags/OtherStatusTag.stories.d.ts +0 -99
  72. package/dist/components/atoms/tags/OtherStatusTag.stories.js +0 -160
  73. package/dist/components/atoms/typography/CardDate.stories.d.ts +0 -119
  74. package/dist/components/atoms/typography/CardDate.stories.js +0 -103
  75. package/dist/components/atoms/typography/Heading.stories.d.ts +0 -79
  76. package/dist/components/atoms/typography/Heading.stories.js +0 -150
  77. package/dist/components/atoms/typography/Link.stories.d.ts +0 -72
  78. package/dist/components/atoms/typography/Link.stories.js +0 -164
  79. package/dist/components/atoms/typography/Paragraph.stories.d.ts +0 -56
  80. package/dist/components/atoms/typography/Paragraph.stories.js +0 -97
  81. package/dist/components/atoms/typography/SmallTitle.stories.d.ts +0 -42
  82. package/dist/components/atoms/typography/SmallTitle.stories.js +0 -72
  83. package/dist/components/atoms/typography/Subtitle.stories.d.ts +0 -40
  84. package/dist/components/atoms/typography/Subtitle.stories.js +0 -60
  85. package/dist/components/atoms/typography/TinyInfo.stories.d.ts +0 -58
  86. package/dist/components/atoms/typography/TinyInfo.stories.js +0 -117
  87. package/dist/components/atoms/uiVariables/AnimatedBorder.stories.d.ts +0 -17
  88. package/dist/components/atoms/uiVariables/AnimatedBorder.stories.js +0 -20
  89. package/dist/components/atoms/uiVariables/BorderRadius.stories.d.ts +0 -18
  90. package/dist/components/atoms/uiVariables/BorderRadius.stories.js +0 -34
  91. package/dist/components/atoms/uiVariables/Shadows.stories.d.ts +0 -18
  92. package/dist/components/atoms/uiVariables/Shadows.stories.js +0 -34
  93. package/dist/components/atoms/uiVariables/Strokes.stories.d.ts +0 -18
  94. package/dist/components/atoms/uiVariables/Strokes.stories.js +0 -34
  95. package/dist/components/molecules/AiText/aiText.stories.d.ts +0 -43
  96. package/dist/components/molecules/AiText/aiText.stories.js +0 -216
  97. package/dist/components/molecules/DataStepper/Stepper.stories.d.ts +0 -8
  98. package/dist/components/molecules/DataStepper/Stepper.stories.js +0 -248
  99. package/dist/components/molecules/appointmentCard/AppointmentCard.stories.d.ts +0 -37
  100. package/dist/components/molecules/appointmentCard/AppointmentCard.stories.js +0 -106
  101. package/dist/components/molecules/appointmentSlot/AppointmentSlot.stories.d.ts +0 -95
  102. package/dist/components/molecules/appointmentSlot/AppointmentSlot.stories.js +0 -204
  103. package/dist/components/molecules/banner/Banner.stories.d.ts +0 -31
  104. package/dist/components/molecules/banner/Banner.stories.js +0 -123
  105. package/dist/components/molecules/billingCount/BillingCount.stories.d.ts +0 -22
  106. package/dist/components/molecules/billingCount/BillingCount.stories.js +0 -49
  107. package/dist/components/molecules/blogCard/BlogCard.stories.d.ts +0 -10
  108. package/dist/components/molecules/blogCard/BlogCard.stories.js +0 -33
  109. package/dist/components/molecules/blogFooter/BlogFooter.stories.d.ts +0 -60
  110. package/dist/components/molecules/blogFooter/BlogFooter.stories.js +0 -67
  111. package/dist/components/molecules/blogHeader/BlogHeader.stories.d.ts +0 -49
  112. package/dist/components/molecules/blogHeader/BlogHeader.stories.js +0 -63
  113. package/dist/components/molecules/blogText/BlogText.stories.d.ts +0 -31
  114. package/dist/components/molecules/blogText/BlogText.stories.js +0 -51
  115. package/dist/components/molecules/blogTextImageBlock/BlogTextImageBlock.stories.d.ts +0 -37
  116. package/dist/components/molecules/blogTextImageBlock/BlogTextImageBlock.stories.js +0 -58
  117. package/dist/components/molecules/brands/Brands.stories.d.ts +0 -8
  118. package/dist/components/molecules/brands/Brands.stories.js +0 -66
  119. package/dist/components/molecules/breadcrumb/Breadcrumb.stories.d.ts +0 -24
  120. package/dist/components/molecules/breadcrumb/Breadcrumb.stories.js +0 -54
  121. package/dist/components/molecules/caseCard/CaseCard.stories.d.ts +0 -114
  122. package/dist/components/molecules/caseCard/CaseCard.stories.js +0 -200
  123. package/dist/components/molecules/caseCardCompact/CaseCardCompact.stories.d.ts +0 -11
  124. package/dist/components/molecules/caseCardCompact/CaseCardCompact.stories.js +0 -59
  125. package/dist/components/molecules/caseLinkCard/CaseCardLink.stories.d.ts +0 -9
  126. package/dist/components/molecules/caseLinkCard/CaseCardLink.stories.js +0 -37
  127. package/dist/components/molecules/checkboxForm/CheckboxForm.stories.d.ts +0 -94
  128. package/dist/components/molecules/checkboxForm/CheckboxForm.stories.js +0 -157
  129. package/dist/components/molecules/checkboxForm/ColoredCheckbox.stories.d.ts +0 -108
  130. package/dist/components/molecules/checkboxForm/ColoredCheckbox.stories.js +0 -141
  131. package/dist/components/molecules/clientLinkCard/ClientLinkCard.stories.d.ts +0 -11
  132. package/dist/components/molecules/clientLinkCard/ClientLinkCard.stories.js +0 -59
  133. package/dist/components/molecules/contactCard/ContactCard.stories.d.ts +0 -69
  134. package/dist/components/molecules/contactCard/ContactCard.stories.js +0 -84
  135. package/dist/components/molecules/contactCard/ContactCardEdit.stories.d.ts +0 -88
  136. package/dist/components/molecules/contactCard/ContactCardEdit.stories.js +0 -106
  137. package/dist/components/molecules/contactCard/DetailedContactCard.stories.d.ts +0 -94
  138. package/dist/components/molecules/contactCard/DetailedContactCard.stories.js +0 -83
  139. package/dist/components/molecules/datepickerForm/DatepickerForm.stories.d.ts +0 -291
  140. package/dist/components/molecules/datepickerForm/DatepickerForm.stories.js +0 -185
  141. package/dist/components/molecules/documentCard/DocumentCard.stories.d.ts +0 -72
  142. package/dist/components/molecules/documentCard/DocumentCard.stories.js +0 -108
  143. package/dist/components/molecules/employeeCard/EmployeeCard.stories.d.ts +0 -74
  144. package/dist/components/molecules/employeeCard/EmployeeCard.stories.js +0 -65
  145. package/dist/components/molecules/emptyMessage/EmptyMessage.stories.d.ts +0 -75
  146. package/dist/components/molecules/emptyMessage/EmptyMessage.stories.js +0 -115
  147. package/dist/components/molecules/entityAdminCard/entityAdminCard.stories.d.ts +0 -10
  148. package/dist/components/molecules/entityAdminCard/entityAdminCard.stories.js +0 -50
  149. package/dist/components/molecules/entityCard/EntityCard.stories.d.ts +0 -22
  150. package/dist/components/molecules/entityCard/EntityCard.stories.js +0 -63
  151. package/dist/components/molecules/featureGrid/FeatureGrid.stories.d.ts +0 -7
  152. package/dist/components/molecules/featureGrid/FeatureGrid.stories.js +0 -97
  153. package/dist/components/molecules/fileCard/FileCard.stories.d.ts +0 -42
  154. package/dist/components/molecules/fileCard/FileCard.stories.js +0 -185
  155. package/dist/components/molecules/fileUploader/FileUploader.stories.d.ts +0 -120
  156. package/dist/components/molecules/fileUploader/FileUploader.stories.js +0 -269
  157. package/dist/components/molecules/flexContent/FlexContent.stories.d.ts +0 -9
  158. package/dist/components/molecules/flexContent/FlexContent.stories.js +0 -47
  159. package/dist/components/molecules/frameCTA/FrameCTA.stories.d.ts +0 -8
  160. package/dist/components/molecules/frameCTA/FrameCTA.stories.js +0 -58
  161. package/dist/components/molecules/heroSection/HeroSection.stories.d.ts +0 -46
  162. package/dist/components/molecules/heroSection/HeroSection.stories.js +0 -100
  163. package/dist/components/molecules/loadingBox/LoadingBox.stories.d.ts +0 -54
  164. package/dist/components/molecules/loadingBox/LoadingBox.stories.js +0 -128
  165. package/dist/components/molecules/modal/Modal.stories.d.ts +0 -128
  166. package/dist/components/molecules/modal/Modal.stories.js +0 -373
  167. package/dist/components/molecules/notification/Notification.stories.d.ts +0 -377
  168. package/dist/components/molecules/notification/Notification.stories.js +0 -205
  169. package/dist/components/molecules/pagination/Pagination.stories.d.ts +0 -44
  170. package/dist/components/molecules/pagination/Pagination.stories.js +0 -59
  171. package/dist/components/molecules/proCard/ProCard.stories.d.ts +0 -49
  172. package/dist/components/molecules/proCard/ProCard.stories.js +0 -69
  173. package/dist/components/molecules/proSwitch/AvatarBubble.stories.d.ts +0 -112
  174. package/dist/components/molecules/proSwitch/AvatarBubble.stories.js +0 -255
  175. package/dist/components/molecules/proSwitch/AvatarToggleGroup.stories.d.ts +0 -88
  176. package/dist/components/molecules/proSwitch/AvatarToggleGroup.stories.js +0 -328
  177. package/dist/components/molecules/proSwitch/ProSwitch.stories.d.ts +0 -9
  178. package/dist/components/molecules/proSwitch/ProSwitch.stories.js +0 -152
  179. package/dist/components/molecules/proSwitch/ProSwitchModal.stories.d.ts +0 -62
  180. package/dist/components/molecules/proSwitch/ProSwitchModal.stories.js +0 -269
  181. package/dist/components/molecules/questionAnswer/QuestionAnswer.stories.d.ts +0 -17
  182. package/dist/components/molecules/questionAnswer/QuestionAnswer.stories.js +0 -48
  183. package/dist/components/molecules/radioForm/RadioForm.stories.d.ts +0 -37
  184. package/dist/components/molecules/radioForm/RadioForm.stories.js +0 -75
  185. package/dist/components/molecules/rangeSlider/RangeSlider.stories.d.ts +0 -96
  186. package/dist/components/molecules/rangeSlider/RangeSlider.stories.js +0 -162
  187. package/dist/components/molecules/section/Section.stories.d.ts +0 -42
  188. package/dist/components/molecules/section/Section.stories.js +0 -162
  189. package/dist/components/molecules/segmentedControl/segmentedControl.stories.d.ts +0 -70
  190. package/dist/components/molecules/segmentedControl/segmentedControl.stories.js +0 -185
  191. package/dist/components/molecules/selectForm/SelectForm.stories.d.ts +0 -79
  192. package/dist/components/molecules/selectForm/SelectForm.stories.js +0 -113
  193. package/dist/components/molecules/stepper/Stepper.stories.d.ts +0 -62
  194. package/dist/components/molecules/stepper/Stepper.stories.js +0 -215
  195. package/dist/stories/Header.d.ts +0 -13
  196. package/dist/stories/Header.js +0 -20
  197. package/dist/stories/Header.stories.d.ts +0 -18
  198. package/dist/stories/Header.stories.js +0 -26
  199. package/dist/stories/Page.d.ts +0 -3
  200. package/dist/stories/Page.js +0 -37
  201. package/dist/stories/Page.stories.d.ts +0 -12
  202. package/dist/stories/Page.stories.js +0 -76
@@ -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";
@@ -1,72 +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 SmallTitle from "./SmallTitle";
14
- import "../../../styles/global.css";
15
- export default {
16
- title: "Components/UI-Variables/Typography/SmallTitle",
17
- component: SmallTitle,
18
- tags: ["autodocs"],
19
- argTypes: {
20
- variant: {
21
- control: {
22
- type: "select",
23
- options: ["bold20", "medium32", "semiBold12", "medium12"],
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
- },
36
- parameters: {
37
- backgrounds: {
38
- default: "light",
39
- values: [
40
- { name: "light", value: "#ffffff" },
41
- { name: "grey", value: "#728ea7" },
42
- { name: "figma", value: "#404040" },
43
- { name: "dark", value: "#171e25" },
44
- ],
45
- },
46
- },
47
- };
48
- var Template = function (args) { return React.createElement(SmallTitle, __assign({}, args)); };
49
- export var Bold20 = Template.bind({});
50
- Bold20.args = {
51
- variant: "bold20",
52
- color: "noir",
53
- text: "Open Sans - Bold - 20px",
54
- };
55
- export var Medium32 = Template.bind({});
56
- Medium32.args = {
57
- variant: "medium32",
58
- color: "noir",
59
- text: "Open Sans - Medium - 32px",
60
- };
61
- export var SemiBold12 = Template.bind({});
62
- SemiBold12.args = {
63
- variant: "semiBold12",
64
- color: "noir",
65
- text: "Open Sans - SemiBold - 12px",
66
- };
67
- export var Medium12 = Template.bind({});
68
- Medium12.args = {
69
- variant: "medium12",
70
- color: "noir",
71
- text: "Open Sans - Medium - 12px",
72
- };
@@ -1,40 +0,0 @@
1
- declare namespace _default {
2
- export let title: string;
3
- export { Subtitle 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 Bold: any;
39
- export const Medium: any;
40
- import Subtitle from "./Subtitle";
@@ -1,60 +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 Subtitle from "./Subtitle";
14
- import "../../../styles/global.css";
15
- export default {
16
- title: "Components/UI-Variables/Typography/Subtitle",
17
- component: Subtitle,
18
- tags: ["autodocs"],
19
- argTypes: {
20
- variant: {
21
- control: {
22
- type: "select",
23
- options: ["bold", "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
- },
36
- parameters: {
37
- backgrounds: {
38
- default: "light",
39
- values: [
40
- { name: "light", value: "#ffffff" },
41
- { name: "grey", value: "#728ea7" },
42
- { name: "figma", value: "#404040" },
43
- { name: "dark", value: "#171e25" },
44
- ],
45
- },
46
- },
47
- };
48
- var Template = function (args) { return React.createElement(Subtitle, __assign({}, args)); };
49
- export var Bold = Template.bind({});
50
- Bold.args = {
51
- variant: "bold",
52
- color: "noir",
53
- text: "Open Sans - Bold - 18px",
54
- };
55
- export var Medium = Template.bind({});
56
- Medium.args = {
57
- variant: "medium",
58
- color: "noir",
59
- text: "Open Sans - Medium - 18px",
60
- };
@@ -1,58 +0,0 @@
1
- declare namespace _default {
2
- export let title: string;
3
- export { TinyInfo 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 href {
26
- let control_3: string;
27
- export { control_3 as control };
28
- }
29
- namespace uppercase {
30
- let control_4: string;
31
- export { control_4 as control };
32
- }
33
- namespace startIcon {
34
- let control_5: string;
35
- export { control_5 as control };
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 Bold14: any;
51
- export const Medium14: any;
52
- export const SemiBold12: any;
53
- export const Medium12: any;
54
- export const WithLink: any;
55
- export const Uppercase: any;
56
- export const WithStartIcon: any;
57
- export const WithStartIconAndLink: any;
58
- import TinyInfo from "./TinyInfo";
@@ -1,117 +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 TinyInfo from "./TinyInfo";
14
- import "../../../styles/global.css";
15
- export default {
16
- title: "Components/UI-Variables/Typography/TinyInfo",
17
- component: TinyInfo,
18
- tags: ["autodocs"],
19
- argTypes: {
20
- variant: {
21
- control: {
22
- type: "select",
23
- options: ["bold14", "medium14", "semiBold12", "medium12"],
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
- href: {
36
- control: "text",
37
- },
38
- uppercase: {
39
- control: "boolean",
40
- },
41
- startIcon: {
42
- control: "text",
43
- },
44
- },
45
- parameters: {
46
- backgrounds: {
47
- default: "light",
48
- values: [
49
- { name: "light", value: "#ffffff" },
50
- { name: "grey", value: "#728ea7" },
51
- { name: "figma", value: "#404040" },
52
- { name: "dark", value: "#171e25" },
53
- ],
54
- },
55
- },
56
- };
57
- var Template = function (args) { return React.createElement(TinyInfo, __assign({}, args)); };
58
- export var Bold14 = Template.bind({});
59
- Bold14.args = {
60
- variant: "bold14",
61
- color: "noir",
62
- text: "Open Sans - Bold - 14px",
63
- uppercase: false,
64
- };
65
- export var Medium14 = Template.bind({});
66
- Medium14.args = {
67
- variant: "medium14",
68
- color: "noir",
69
- text: "Open Sans - Medium - 14px",
70
- uppercase: false,
71
- };
72
- export var SemiBold12 = Template.bind({});
73
- SemiBold12.args = {
74
- variant: "semiBold12",
75
- color: "noir",
76
- text: "Open Sans - SemiBold - 12px",
77
- uppercase: false,
78
- };
79
- export var Medium12 = Template.bind({});
80
- Medium12.args = {
81
- variant: "medium12",
82
- color: "noir",
83
- text: "Open Sans - Medium - 12px - 1%",
84
- uppercase: false,
85
- };
86
- export var WithLink = Template.bind({});
87
- WithLink.args = {
88
- variant: "medium14",
89
- color: "bleu-allaw",
90
- text: "Cliquez ici pour plus d'informations",
91
- href: "https://example.com",
92
- uppercase: false,
93
- };
94
- export var Uppercase = Template.bind({});
95
- Uppercase.args = {
96
- variant: "medium14",
97
- color: "noir",
98
- text: "Texte avec des accents: éàèùç",
99
- uppercase: true,
100
- };
101
- export var WithStartIcon = Template.bind({});
102
- WithStartIcon.args = {
103
- variant: "medium14",
104
- color: "noir",
105
- text: "Texte avec une icône",
106
- startIcon: "allaw-icon-info",
107
- uppercase: false,
108
- };
109
- export var WithStartIconAndLink = Template.bind({});
110
- WithStartIconAndLink.args = {
111
- variant: "medium14",
112
- color: "bleu-allaw",
113
- text: "Lien avec une icône",
114
- startIcon: "allaw-icon-external-link",
115
- href: "https://example.com",
116
- uppercase: false,
117
- };
@@ -1,17 +0,0 @@
1
- declare namespace _default {
2
- export let title: string;
3
- export { AnimatedBorder as component };
4
- export namespace parameters {
5
- namespace backgrounds {
6
- let _default: string;
7
- export { _default as default };
8
- export let values: {
9
- name: string;
10
- value: string;
11
- }[];
12
- }
13
- }
14
- }
15
- export default _default;
16
- export const Default: any;
17
- import AnimatedBorder from "./AnimatedBorder";
@@ -1,20 +0,0 @@
1
- import React from "react";
2
- import AnimatedBorder from "./AnimatedBorder";
3
- export default {
4
- title: "Components/Molecules/AnimatedBorder",
5
- component: AnimatedBorder,
6
- parameters: {
7
- backgrounds: {
8
- default: "light",
9
- values: [
10
- { name: "light", value: "#ffffff" },
11
- { name: "grey", value: "#728ea7" },
12
- { name: "figma", value: "#404040" },
13
- { name: "dark", value: "#171e25" },
14
- ],
15
- },
16
- },
17
- };
18
- var Template = function () { return (React.createElement("div", null,
19
- React.createElement(AnimatedBorder, null))); };
20
- export var Default = Template.bind({});
@@ -1,18 +0,0 @@
1
- declare namespace _default {
2
- export let title: string;
3
- export { BorderRadius as component };
4
- export let tags: string[];
5
- export namespace parameters {
6
- namespace backgrounds {
7
- let _default: string;
8
- export { _default as default };
9
- export let values: {
10
- name: string;
11
- value: string;
12
- }[];
13
- }
14
- }
15
- }
16
- export default _default;
17
- export const Default: any;
18
- import BorderRadius from "./BorderRadius";
@@ -1,34 +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 BorderRadius from "./BorderRadius";
14
- import "./BorderRadiusExample.css";
15
- import "../../../styles/global.css";
16
- export default {
17
- title: "Components/UI-Variables/BorderRadius",
18
- component: BorderRadius,
19
- tags: ["autodocs"],
20
- parameters: {
21
- backgrounds: {
22
- default: "light",
23
- values: [
24
- { name: "light", value: "#ffffff" },
25
- { name: "grey", value: "#728ea7" },
26
- { name: "figma", value: "#404040" },
27
- { name: "dark", value: "#171e25" },
28
- ],
29
- },
30
- },
31
- };
32
- var Template = function (args) { return React.createElement(BorderRadius, __assign({}, args)); };
33
- export var Default = Template.bind({});
34
- Default.args = {};
@@ -1,18 +0,0 @@
1
- declare namespace _default {
2
- export let title: string;
3
- export { Shadows as component };
4
- export let tags: string[];
5
- export namespace parameters {
6
- namespace backgrounds {
7
- let _default: string;
8
- export { _default as default };
9
- export let values: {
10
- name: string;
11
- value: string;
12
- }[];
13
- }
14
- }
15
- }
16
- export default _default;
17
- export const Default: any;
18
- import Shadows from "./Shadows";
@@ -1,34 +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 Shadows from "./Shadows";
14
- import "./ShadowsExample.css";
15
- import "../../../styles/global.css";
16
- export default {
17
- title: "Components/UI-Variables/Shadows",
18
- component: Shadows,
19
- tags: ["autodocs"],
20
- parameters: {
21
- backgrounds: {
22
- default: "light",
23
- values: [
24
- { name: "light", value: "#ffffff" },
25
- { name: "grey", value: "#728ea7" },
26
- { name: "figma", value: "#404040" },
27
- { name: "dark", value: "#171e25" },
28
- ],
29
- },
30
- },
31
- };
32
- var Template = function (args) { return React.createElement(Shadows, __assign({}, args)); };
33
- export var Default = Template.bind({});
34
- Default.args = {};