allaw-ui 0.1.71 → 1.0.0
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/assets/allaw-font.eot +0 -0
- package/dist/assets/allaw-font.svg +15 -0
- package/dist/assets/allaw-font.ttf +0 -0
- package/dist/assets/allaw-font.woff +0 -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/ActionCircleButton.stories.d.ts +35 -0
- package/dist/components/atoms/buttons/ActionCircleButton.stories.js +54 -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/AgendaSlot.stories.d.ts +41 -0
- package/dist/components/atoms/buttons/AgendaSlot.stories.js +77 -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/FavoriteToggle.stories.d.ts +23 -0
- package/dist/components/atoms/buttons/FavoriteToggle.stories.js +61 -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/FilterButton.stories.d.ts +36 -0
- package/dist/components/atoms/buttons/FilterButton.stories.js +56 -0
- package/dist/components/atoms/buttons/FilterButtonPrimary.d.ts +9 -0
- package/dist/components/atoms/buttons/FilterButtonPrimary.js +46 -0
- package/dist/components/atoms/buttons/FilterButtonPrimary.stories.d.ts +7 -0
- package/dist/components/atoms/buttons/FilterButtonPrimary.stories.js +26 -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/GhostButton.stories.d.ts +79 -0
- package/dist/components/atoms/buttons/GhostButton.stories.js +95 -0
- package/dist/components/atoms/buttons/IconButton.css +17 -0
- package/dist/components/atoms/buttons/IconButton.d.ts +11 -0
- package/dist/components/atoms/buttons/IconButton.js +19 -0
- package/dist/components/atoms/buttons/IconButton.stories.d.ts +48 -0
- package/dist/components/atoms/buttons/IconButton.stories.js +76 -0
- package/dist/components/atoms/buttons/OAuthProviderButton.css +25 -23
- package/dist/components/atoms/buttons/OAuthProviderButton.d.ts +12 -0
- package/dist/components/atoms/buttons/OAuthProviderButton.js +176 -0
- package/dist/components/atoms/buttons/OAuthProviderButton.stories.d.ts +56 -0
- package/dist/components/atoms/buttons/OAuthProviderButton.stories.js +130 -0
- package/dist/components/atoms/buttons/PendingDocuments.d.ts +9 -0
- package/dist/components/atoms/buttons/PendingDocuments.js +15 -0
- package/dist/components/atoms/buttons/PendingDocuments.stories.d.ts +52 -0
- package/dist/components/atoms/buttons/PendingDocuments.stories.js +67 -0
- package/dist/components/atoms/buttons/PrimaryButton.css +1 -0
- package/dist/components/atoms/buttons/PrimaryButton.d.ts +17 -0
- package/dist/components/atoms/buttons/PrimaryButton.js +117 -0
- package/dist/components/atoms/buttons/PrimaryButton.stories.d.ts +86 -0
- package/dist/components/atoms/buttons/PrimaryButton.stories.js +147 -0
- package/dist/components/atoms/buttons/SecondaryButton.css +66 -0
- package/dist/components/atoms/buttons/SecondaryButton.d.ts +19 -0
- package/dist/components/atoms/buttons/SecondaryButton.js +117 -0
- package/dist/components/atoms/buttons/SecondaryButton.stories.d.ts +72 -0
- package/dist/components/atoms/buttons/SecondaryButton.stories.js +149 -0
- package/dist/components/atoms/buttons/TabNavigation.css +78 -9
- package/dist/components/atoms/buttons/TabNavigation.d.ts +15 -0
- package/dist/components/atoms/buttons/TabNavigation.js +10 -0
- package/dist/components/atoms/buttons/TabNavigation.stories.d.ts +44 -0
- package/dist/components/atoms/buttons/TabNavigation.stories.js +66 -0
- package/dist/components/atoms/buttons/TertiaryButton.css +15 -6
- package/dist/components/atoms/buttons/TertiaryButton.d.ts +11 -0
- package/dist/components/atoms/buttons/TertiaryButton.js +10 -0
- package/dist/components/atoms/buttons/TertiaryButton.stories.d.ts +42 -0
- package/dist/components/atoms/buttons/TertiaryButton.stories.js +60 -0
- package/dist/components/atoms/buttons/index.d.ts +22 -0
- package/dist/components/atoms/buttons/index.js +11 -0
- package/dist/components/atoms/buttons/{PendingDocuments.css → pendingDocuments.module.css} +9 -8
- package/dist/components/atoms/checkboxes/Checkbox.d.ts +14 -0
- package/dist/components/atoms/checkboxes/Checkbox.js +19 -0
- package/dist/components/atoms/checkboxes/Checkbox.stories.d.ts +77 -0
- package/dist/components/atoms/checkboxes/Checkbox.stories.js +123 -0
- package/dist/components/atoms/checkboxes/index.d.ts +2 -0
- package/dist/components/atoms/checkboxes/index.js +1 -0
- package/dist/components/atoms/datepickers/Datepicker.d.ts +14 -0
- package/dist/components/atoms/datepickers/Datepicker.js +151 -0
- package/dist/components/atoms/datepickers/Datepicker.stories.d.ts +90 -0
- package/dist/components/atoms/datepickers/Datepicker.stories.js +67 -0
- package/dist/components/atoms/datepickers/datepicker.css +241 -0
- package/dist/components/atoms/datepickers/index.d.ts +2 -0
- package/dist/components/atoms/datepickers/index.js +1 -0
- package/dist/components/atoms/filter/Basefiler.css +1 -1
- package/dist/components/atoms/filter/Filter.d.ts +17 -0
- package/dist/components/atoms/filter/Filter.js +70 -0
- package/dist/components/atoms/filter/Filter.stories.d.ts +9 -0
- package/dist/components/atoms/filter/Filter.stories.js +77 -0
- package/dist/components/atoms/filter/index.d.ts +2 -0
- package/dist/components/atoms/filter/index.js +1 -0
- package/dist/components/atoms/filters/SingleFilter.d.ts +17 -0
- package/dist/components/atoms/filters/SingleFilter.js +81 -0
- package/dist/components/atoms/filters/SingleFilter.stories.d.ts +7 -0
- package/dist/components/atoms/filters/SingleFilter.stories.js +34 -0
- package/dist/components/atoms/filters/index.d.ts +2 -0
- package/dist/components/atoms/filters/index.js +1 -0
- package/dist/components/atoms/inputs/Input.d.ts +26 -0
- package/dist/components/atoms/inputs/Input.js +86 -0
- package/dist/components/atoms/inputs/Input.stories.d.ts +62 -0
- package/dist/components/atoms/inputs/Input.stories.js +101 -0
- package/dist/components/atoms/inputs/SearchBar.css +1 -1
- package/dist/components/atoms/inputs/SearchBar.d.ts +12 -0
- package/dist/components/atoms/inputs/SearchBar.js +20 -0
- package/dist/components/atoms/inputs/SearchBar.stories.d.ts +54 -0
- package/dist/components/atoms/inputs/SearchBar.stories.js +67 -0
- package/dist/components/atoms/inputs/TextArea.css +1 -1
- package/dist/components/atoms/inputs/TextArea.d.ts +23 -0
- package/dist/components/atoms/inputs/TextArea.js +66 -0
- package/dist/components/atoms/inputs/TextArea.stories.d.ts +70 -0
- package/dist/components/atoms/inputs/TextArea.stories.js +113 -0
- package/dist/components/atoms/inputs/index.d.ts +6 -0
- package/dist/components/atoms/inputs/index.js +3 -0
- package/dist/components/atoms/progressBars/ProgressBar.css +20 -15
- package/dist/components/atoms/progressBars/ProgressBar.d.ts +18 -0
- package/dist/components/atoms/progressBars/ProgressBar.js +25 -0
- package/dist/components/atoms/progressBars/ProgressBar.stories.d.ts +83 -0
- package/dist/components/atoms/progressBars/ProgressBar.stories.js +88 -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.d.ts +11 -0
- package/dist/components/atoms/radios/RadioButton.js +10 -0
- package/dist/components/atoms/radios/RadioButton.stories.d.ts +36 -0
- package/dist/components/atoms/radios/RadioButton.stories.js +75 -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/ComboBox.css +5 -3
- package/dist/components/atoms/selects/ComboBox.d.ts +27 -0
- package/dist/components/atoms/selects/ComboBox.js +172 -0
- package/dist/components/atoms/selects/ComboBox.stories.d.ts +94 -0
- package/dist/components/atoms/selects/ComboBox.stories.js +122 -0
- package/dist/components/atoms/selects/Select.d.ts +24 -0
- package/dist/components/atoms/selects/Select.js +154 -0
- package/dist/components/atoms/selects/{Select.css → Select.module.css} +16 -15
- package/dist/components/atoms/selects/Select.stories.d.ts +86 -0
- package/dist/components/atoms/selects/Select.stories.js +154 -0
- package/dist/components/atoms/selects/SelectableListItem.d.ts +13 -0
- package/dist/components/atoms/selects/SelectableListItem.js +18 -0
- package/dist/components/atoms/selects/SelectableListItem.module.css +157 -0
- package/dist/components/atoms/selects/SelectableListItem.stories.d.ts +33 -0
- package/dist/components/atoms/selects/SelectableListItem.stories.js +53 -0
- package/dist/components/atoms/selects/index.d.ts +6 -0
- package/dist/components/atoms/selects/index.js +3 -0
- package/dist/components/atoms/tags/AppointementStatusTag.d.ts +8 -0
- package/dist/components/atoms/tags/AppointementStatusTag.js +42 -0
- package/dist/components/atoms/tags/AppointementStatusTag.stories.d.ts +17 -0
- package/dist/components/atoms/tags/AppointementStatusTag.stories.js +70 -0
- package/dist/components/atoms/tags/FolderStatusTag.css +10 -8
- package/dist/components/atoms/tags/FolderStatusTag.d.ts +8 -0
- package/dist/components/atoms/tags/FolderStatusTag.js +25 -0
- package/dist/components/atoms/tags/FolderStatusTag.stories.d.ts +28 -0
- package/dist/components/atoms/tags/FolderStatusTag.stories.js +51 -0
- package/dist/components/atoms/tags/OtherStatusTag.css +54 -1
- package/dist/components/atoms/tags/OtherStatusTag.d.ts +13 -0
- package/dist/components/atoms/tags/OtherStatusTag.js +15 -0
- package/dist/components/atoms/tags/OtherStatusTag.stories.d.ts +97 -0
- package/dist/components/atoms/tags/OtherStatusTag.stories.js +151 -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/CardDate.d.ts +11 -0
- package/dist/components/atoms/typography/CardDate.js +52 -0
- package/dist/components/atoms/typography/CardDate.stories.d.ts +119 -0
- package/dist/components/atoms/typography/CardDate.stories.js +103 -0
- package/dist/components/atoms/typography/Heading.d.ts +10 -0
- package/dist/components/atoms/typography/Heading.js +7 -0
- package/dist/components/atoms/typography/Heading.stories.d.ts +45 -0
- package/dist/components/atoms/typography/Heading.stories.js +90 -0
- package/dist/components/atoms/typography/Link.d.ts +13 -0
- package/dist/components/atoms/typography/Link.js +35 -0
- package/dist/components/atoms/typography/Link.module.css +60 -0
- package/dist/components/atoms/typography/Link.stories.d.ts +57 -0
- package/dist/components/atoms/typography/Link.stories.js +105 -0
- package/dist/components/atoms/typography/Paragraph.d.ts +14 -0
- package/dist/components/atoms/typography/Paragraph.js +33 -0
- package/dist/components/atoms/typography/Paragraph.stories.d.ts +56 -0
- package/dist/components/atoms/typography/Paragraph.stories.js +97 -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/SmallTitle.stories.d.ts +42 -0
- package/dist/components/atoms/typography/SmallTitle.stories.js +72 -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/Subtitle.stories.d.ts +40 -0
- package/dist/components/atoms/typography/Subtitle.stories.js +60 -0
- package/dist/components/atoms/typography/TinyInfo.d.ts +13 -0
- package/dist/components/atoms/typography/TinyInfo.js +15 -0
- package/dist/components/atoms/typography/TinyInfo.stories.d.ts +52 -0
- package/dist/components/atoms/typography/TinyInfo.stories.js +97 -0
- package/dist/components/atoms/typography/cardDate.css +135 -0
- package/dist/components/atoms/typography/index.d.ts +12 -0
- package/dist/components/atoms/typography/index.js +6 -0
- package/dist/components/atoms/uiVariables/AnimatedBorder.css +55 -0
- package/dist/components/atoms/uiVariables/AnimatedBorder.d.ts +4 -0
- package/dist/components/atoms/uiVariables/AnimatedBorder.js +11 -0
- package/dist/components/atoms/uiVariables/AnimatedBorder.stories.d.ts +17 -0
- package/dist/components/atoms/uiVariables/AnimatedBorder.stories.js +20 -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/BorderRadius.stories.d.ts +18 -0
- package/dist/components/atoms/uiVariables/BorderRadius.stories.js +34 -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/Shadows.stories.d.ts +18 -0
- package/dist/components/atoms/uiVariables/Shadows.stories.js +34 -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/Strokes.stories.d.ts +18 -0
- package/dist/components/atoms/uiVariables/Strokes.stories.js +34 -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 +46 -3
- package/dist/components/molecules/appointmentSlot/AppointmentSlot.d.ts +26 -0
- package/dist/components/molecules/appointmentSlot/AppointmentSlot.js +109 -0
- package/dist/components/molecules/appointmentSlot/AppointmentSlot.stories.d.ts +70 -0
- package/dist/components/molecules/appointmentSlot/AppointmentSlot.stories.js +186 -0
- package/dist/components/molecules/appointmentSlot/index.d.ts +2 -0
- package/dist/components/molecules/appointmentSlot/index.js +1 -0
- package/dist/components/molecules/billingCount/BillingCount.css +28 -0
- package/dist/components/molecules/billingCount/BillingCount.d.ts +8 -0
- package/dist/components/molecules/billingCount/BillingCount.js +75 -0
- package/dist/components/molecules/billingCount/BillingCount.stories.d.ts +21 -0
- package/dist/components/molecules/billingCount/BillingCount.stories.js +44 -0
- package/dist/components/molecules/billingCount/index.d.ts +2 -0
- package/dist/components/molecules/billingCount/index.js +1 -0
- package/dist/components/molecules/blogCard/BlogCard.d.ts +13 -0
- package/dist/components/molecules/blogCard/BlogCard.js +33 -0
- package/dist/components/molecules/blogCard/BlogCard.module.css +148 -0
- package/dist/components/molecules/blogCard/BlogCard.stories.d.ts +10 -0
- package/dist/components/molecules/blogCard/BlogCard.stories.js +33 -0
- package/dist/components/molecules/blogCard/index.d.ts +2 -0
- package/dist/components/molecules/blogCard/index.js +1 -0
- package/dist/components/molecules/blogFooter/BlogFooter.d.ts +12 -0
- package/dist/components/molecules/blogFooter/BlogFooter.js +14 -0
- package/dist/components/molecules/blogFooter/BlogFooter.module.css +48 -0
- package/dist/components/molecules/blogFooter/BlogFooter.stories.d.ts +60 -0
- package/dist/components/molecules/blogFooter/BlogFooter.stories.js +67 -0
- package/dist/components/molecules/blogFooter/index.d.ts +2 -0
- package/dist/components/molecules/blogFooter/index.js +1 -0
- package/dist/components/molecules/blogHeader/BlogHeader.d.ts +11 -0
- package/dist/components/molecules/blogHeader/BlogHeader.js +21 -0
- package/dist/components/molecules/blogHeader/BlogHeader.module.css +150 -0
- package/dist/components/molecules/blogHeader/BlogHeader.stories.d.ts +49 -0
- package/dist/components/molecules/blogHeader/BlogHeader.stories.js +63 -0
- package/dist/components/molecules/blogHeader/index.d.ts +2 -0
- package/dist/components/molecules/blogHeader/index.js +1 -0
- package/dist/components/molecules/blogText/BlogText.d.ts +7 -0
- package/dist/components/molecules/blogText/BlogText.js +11 -0
- package/dist/components/molecules/blogText/BlogText.module.css +59 -0
- package/dist/components/molecules/blogText/BlogText.stories.d.ts +31 -0
- package/dist/components/molecules/blogText/BlogText.stories.js +51 -0
- package/dist/components/molecules/blogText/index.d.ts +2 -0
- package/dist/components/molecules/blogText/index.js +1 -0
- package/dist/components/molecules/blogTextImageBlock/BlogTextImageBlock.d.ts +8 -0
- package/dist/components/molecules/blogTextImageBlock/BlogTextImageBlock.js +15 -0
- package/dist/components/molecules/blogTextImageBlock/BlogTextImageBlock.module.css +108 -0
- package/dist/components/molecules/blogTextImageBlock/BlogTextImageBlock.stories.d.ts +37 -0
- package/dist/components/molecules/blogTextImageBlock/BlogTextImageBlock.stories.js +58 -0
- package/dist/components/molecules/blogTextImageBlock/index.d.ts +2 -0
- package/dist/components/molecules/blogTextImageBlock/index.js +1 -0
- package/dist/components/molecules/breadcrumb/Breadcrumb.d.ts +12 -0
- package/dist/components/molecules/breadcrumb/Breadcrumb.js +12 -0
- package/dist/components/molecules/breadcrumb/Breadcrumb.stories.d.ts +24 -0
- package/dist/components/molecules/breadcrumb/Breadcrumb.stories.js +54 -0
- package/dist/components/molecules/breadcrumb/index.d.ts +2 -0
- package/dist/components/molecules/breadcrumb/index.js +1 -0
- package/dist/components/molecules/caseCard/CaseCard.css +54 -48
- package/dist/components/molecules/caseCard/CaseCard.d.ts +23 -0
- package/dist/components/molecules/caseCard/CaseCard.js +19 -0
- package/dist/components/molecules/caseCard/CaseCard.stories.d.ts +114 -0
- package/dist/components/molecules/caseCard/CaseCard.stories.js +200 -0
- package/dist/components/molecules/caseCard/index.d.ts +2 -0
- package/dist/components/molecules/caseCard/index.js +1 -0
- package/dist/components/molecules/caseCardCompact/CaseCardCompact.d.ts +16 -0
- package/dist/components/molecules/caseCardCompact/CaseCardCompact.js +20 -0
- package/dist/components/molecules/caseCardCompact/CaseCardCompact.stories.d.ts +11 -0
- package/dist/components/molecules/caseCardCompact/CaseCardCompact.stories.js +59 -0
- package/dist/components/molecules/caseCardCompact/caseCardCompact.css +80 -0
- package/dist/components/molecules/caseCardCompact/index.d.ts +2 -0
- package/dist/components/molecules/caseCardCompact/index.js +1 -0
- package/dist/components/molecules/caseLinkCard/CaseCardLink.stories.d.ts +9 -0
- package/dist/components/molecules/caseLinkCard/CaseCardLink.stories.js +37 -0
- package/dist/components/molecules/caseLinkCard/CaseLinkCard.css +79 -35
- package/dist/components/molecules/caseLinkCard/CaseLinkCard.d.ts +13 -0
- package/dist/components/molecules/caseLinkCard/CaseLinkCard.js +37 -0
- package/dist/components/molecules/caseLinkCard/index.d.ts +2 -0
- package/dist/components/molecules/caseLinkCard/index.js +1 -0
- package/dist/components/molecules/checkboxForm/CheckboxForm.d.ts +18 -0
- package/dist/components/molecules/checkboxForm/CheckboxForm.js +24 -0
- package/dist/components/molecules/checkboxForm/CheckboxForm.stories.d.ts +90 -0
- package/dist/components/molecules/checkboxForm/CheckboxForm.stories.js +149 -0
- package/dist/components/molecules/checkboxForm/index.d.ts +2 -0
- package/dist/components/molecules/checkboxForm/index.js +1 -0
- package/dist/components/molecules/clientLinkCard/ClientLinkCard.css +59 -28
- package/dist/components/molecules/clientLinkCard/ClientLinkCard.d.ts +15 -0
- package/dist/components/molecules/clientLinkCard/ClientLinkCard.js +18 -0
- package/dist/components/molecules/clientLinkCard/ClientLinkCard.stories.d.ts +11 -0
- package/dist/components/molecules/clientLinkCard/ClientLinkCard.stories.js +59 -0
- package/dist/components/molecules/clientLinkCard/index.d.ts +2 -0
- package/dist/components/molecules/clientLinkCard/index.js +1 -0
- package/dist/components/molecules/contactCard/ContactCard.d.ts +16 -0
- package/dist/components/molecules/contactCard/ContactCard.js +34 -0
- package/dist/components/molecules/contactCard/ContactCard.stories.d.ts +83 -0
- package/dist/components/molecules/contactCard/ContactCard.stories.js +86 -0
- package/dist/components/molecules/contactCard/DetailedContactCard.d.ts +18 -0
- package/dist/components/molecules/contactCard/DetailedContactCard.js +61 -0
- package/dist/components/molecules/contactCard/DetailedContactCard.stories.d.ts +94 -0
- package/dist/components/molecules/contactCard/DetailedContactCard.stories.js +83 -0
- package/dist/components/molecules/contactCard/contactCard.module.css +140 -0
- package/dist/components/molecules/contactCard/{ContactCard.css → detailedContactCard.css} +43 -105
- package/dist/components/molecules/contactCard/index.d.ts +4 -0
- package/dist/components/molecules/contactCard/index.js +2 -0
- package/dist/components/molecules/datepickerForm/DatepickerForm.d.ts +16 -0
- package/dist/components/molecules/datepickerForm/DatepickerForm.js +13 -0
- package/dist/components/molecules/datepickerForm/DatepickerForm.stories.d.ts +164 -0
- package/dist/components/molecules/datepickerForm/DatepickerForm.stories.js +113 -0
- package/dist/components/molecules/datepickerForm/datepickerForm.css +6 -0
- package/dist/components/molecules/datepickerForm/index.d.ts +2 -0
- package/dist/components/molecules/datepickerForm/index.js +1 -0
- package/dist/components/molecules/documentCard/DocumentCard.css +8 -1
- package/dist/components/molecules/documentCard/DocumentCard.d.ts +16 -0
- package/dist/components/molecules/documentCard/DocumentCard.js +119 -0
- package/dist/components/molecules/documentCard/DocumentCard.stories.d.ts +71 -0
- package/dist/components/molecules/documentCard/DocumentCard.stories.js +100 -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.d.ts +15 -0
- package/dist/components/molecules/employeeCard/EmployeeCard.js +34 -0
- package/dist/components/molecules/employeeCard/EmployeeCard.stories.d.ts +74 -0
- package/dist/components/molecules/employeeCard/EmployeeCard.stories.js +65 -0
- package/dist/components/molecules/employeeCard/index.d.ts +2 -0
- package/dist/components/molecules/employeeCard/index.js +1 -0
- package/dist/components/molecules/loadingBox/LoadingBox.css +7 -8
- package/dist/components/molecules/loadingBox/LoadingBox.d.ts +12 -0
- package/dist/components/molecules/loadingBox/LoadingBox.js +11 -0
- package/dist/components/molecules/loadingBox/LoadingBox.stories.d.ts +54 -0
- package/dist/components/molecules/loadingBox/LoadingBox.stories.js +128 -0
- package/dist/components/molecules/loadingBox/index.d.ts +2 -0
- package/dist/components/molecules/loadingBox/index.js +1 -0
- package/dist/components/molecules/pagination/Pagination.d.ts +10 -0
- package/dist/components/molecules/pagination/Pagination.js +64 -0
- package/dist/components/molecules/pagination/Pagination.stories.d.ts +44 -0
- package/dist/components/molecules/pagination/Pagination.stories.js +59 -0
- package/dist/components/molecules/pagination/index.d.ts +2 -0
- package/dist/components/molecules/pagination/index.js +1 -0
- package/dist/components/molecules/pagination/pagination.css +120 -0
- package/dist/components/molecules/proCard/ProCard.d.ts +13 -0
- package/dist/components/molecules/proCard/ProCard.js +25 -0
- package/dist/components/molecules/proCard/ProCard.stories.d.ts +49 -0
- package/dist/components/molecules/proCard/ProCard.stories.js +69 -0
- package/dist/components/molecules/proCard/index.d.ts +2 -0
- package/dist/components/molecules/proCard/index.js +1 -0
- package/dist/components/molecules/radioForm/RadioForm.d.ts +12 -0
- package/dist/components/molecules/radioForm/RadioForm.js +27 -0
- package/dist/components/molecules/radioForm/RadioForm.stories.d.ts +27 -0
- package/dist/components/molecules/radioForm/RadioForm.stories.js +52 -0
- package/dist/components/molecules/radioForm/index.d.ts +2 -0
- package/dist/components/molecules/radioForm/index.js +1 -0
- package/dist/components/molecules/selectForm/SelectForm.css +1 -1
- package/dist/components/molecules/selectForm/SelectForm.d.ts +18 -0
- package/dist/components/molecules/selectForm/SelectForm.js +15 -0
- package/dist/components/molecules/selectForm/SelectForm.stories.d.ts +58 -0
- package/dist/components/molecules/selectForm/SelectForm.stories.js +96 -0
- package/dist/components/molecules/selectForm/index.d.ts +2 -0
- package/dist/components/molecules/selectForm/index.js +1 -0
- package/dist/components/molecules/stepper/Stepper.css +17 -4
- package/dist/components/molecules/stepper/Stepper.d.ts +35 -0
- package/dist/components/molecules/stepper/Stepper.js +113 -0
- package/dist/components/molecules/stepper/Stepper.stories.d.ts +42 -0
- package/dist/components/molecules/stepper/Stepper.stories.js +132 -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 +76 -0
- package/dist/index.js +88 -0
- package/dist/stories/Header.d.ts +13 -0
- package/dist/stories/Header.js +20 -0
- package/dist/stories/Header.stories.d.ts +18 -0
- package/dist/stories/Header.stories.js +26 -0
- package/dist/stories/Page.d.ts +3 -0
- package/dist/stories/Page.js +37 -0
- package/dist/stories/Page.stories.d.ts +12 -0
- package/dist/stories/Page.stories.js +76 -0
- package/dist/stories/header.css +32 -0
- package/dist/stories/page.css +69 -0
- package/dist/styles/colors.css +3 -0
- package/dist/styles/colors.module.css +107 -0
- package/dist/styles/global.css +1 -0
- package/dist/styles/icons.css +76 -107
- package/dist/utils/regex.d.ts +5 -0
- package/dist/utils/regex.js +7 -0
- package/dist/utils/utils.d.ts +2 -0
- package/dist/utils/utils.js +48 -0
- package/package.json +18 -14
- package/dist/tsconfig.tsbuildinfo +0 -1
|
@@ -0,0 +1,83 @@
|
|
|
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 DetailedContactCard from "./DetailedContactCard";
|
|
14
|
+
import "../../../styles/global.css";
|
|
15
|
+
var NoPhotoImage = "/assets/NoPhoto.png";
|
|
16
|
+
export default {
|
|
17
|
+
title: "Components/Molecules/DetailedContactCard",
|
|
18
|
+
component: DetailedContactCard,
|
|
19
|
+
tags: ["autodocs"],
|
|
20
|
+
argTypes: {
|
|
21
|
+
size: {
|
|
22
|
+
control: {
|
|
23
|
+
type: "select",
|
|
24
|
+
options: ["small", "medium", "large"],
|
|
25
|
+
},
|
|
26
|
+
},
|
|
27
|
+
name: { control: "text" },
|
|
28
|
+
birthDate: { control: "text" },
|
|
29
|
+
avatarUrl: { control: "text" },
|
|
30
|
+
status: { control: "text" },
|
|
31
|
+
address: { control: "text" },
|
|
32
|
+
phone: { control: "text" },
|
|
33
|
+
email: { control: "text" },
|
|
34
|
+
onEdit: { action: "edited" },
|
|
35
|
+
gender: {
|
|
36
|
+
control: {
|
|
37
|
+
type: "select",
|
|
38
|
+
options: ["male", "female"],
|
|
39
|
+
},
|
|
40
|
+
},
|
|
41
|
+
actionIconName: {
|
|
42
|
+
control: "text",
|
|
43
|
+
description: "Nom de l'icône pour le bouton d'action",
|
|
44
|
+
},
|
|
45
|
+
},
|
|
46
|
+
args: {
|
|
47
|
+
name: "Jane DOE",
|
|
48
|
+
birthDate: "31/12/1985",
|
|
49
|
+
avatarUrl: NoPhotoImage,
|
|
50
|
+
status: "Client actif",
|
|
51
|
+
address: "142 avenue Turbigo, 75016 Paris",
|
|
52
|
+
phone: "06 63 90 59 25",
|
|
53
|
+
email: "enzo@quarantesoixante.com",
|
|
54
|
+
gender: "female",
|
|
55
|
+
actionIconName: "allaw-icon-edit-2",
|
|
56
|
+
},
|
|
57
|
+
parameters: {
|
|
58
|
+
backgrounds: {
|
|
59
|
+
default: "light",
|
|
60
|
+
values: [
|
|
61
|
+
{ name: "light", value: "#ffffff" },
|
|
62
|
+
{ name: "grey", value: "#728ea7" },
|
|
63
|
+
{ name: "figma", value: "#404040" },
|
|
64
|
+
{ name: "dark", value: "#171e25" },
|
|
65
|
+
],
|
|
66
|
+
},
|
|
67
|
+
},
|
|
68
|
+
};
|
|
69
|
+
var Template = function (args) { return React.createElement(DetailedContactCard, __assign({}, args)); };
|
|
70
|
+
export var Small = Template.bind({});
|
|
71
|
+
Small.args = {
|
|
72
|
+
size: "small",
|
|
73
|
+
};
|
|
74
|
+
export var Medium = Template.bind({});
|
|
75
|
+
Medium.args = {
|
|
76
|
+
size: "medium",
|
|
77
|
+
};
|
|
78
|
+
export var Large = Template.bind({});
|
|
79
|
+
Large.args = {
|
|
80
|
+
size: "large",
|
|
81
|
+
};
|
|
82
|
+
export var LargeEmptyFields = Template.bind({});
|
|
83
|
+
LargeEmptyFields.args = __assign(__assign({}, Large.args), { phone: "", email: undefined });
|
|
@@ -0,0 +1,140 @@
|
|
|
1
|
+
@import "../../../styles/colors.module.css";
|
|
2
|
+
|
|
3
|
+
.contactCard {
|
|
4
|
+
font-family: "Open Sans", sans-serif;
|
|
5
|
+
border-radius: 16px;
|
|
6
|
+
border: 1px solid var(--grey-venom, #e6edf5);
|
|
7
|
+
background: var(--pure-white, #fff);
|
|
8
|
+
display: flex;
|
|
9
|
+
padding: 24px;
|
|
10
|
+
width: 100%;
|
|
11
|
+
justify-content: space-between;
|
|
12
|
+
align-items: stretch;
|
|
13
|
+
align-self: stretch;
|
|
14
|
+
border-radius: 16px;
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
.actionsContainer {
|
|
18
|
+
display: flex;
|
|
19
|
+
flex-direction: row;
|
|
20
|
+
gap: 1rem;
|
|
21
|
+
align-items: center;
|
|
22
|
+
justify-content: end;
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
.contentContainer {
|
|
26
|
+
display: flex;
|
|
27
|
+
flex-direction: row;
|
|
28
|
+
align-items: center;
|
|
29
|
+
gap: 24px;
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
.nameTagContainer {
|
|
33
|
+
display: flex;
|
|
34
|
+
flex-direction: column;
|
|
35
|
+
justify-content: center;
|
|
36
|
+
align-items: center;
|
|
37
|
+
gap: 16px;
|
|
38
|
+
padding-left: 2px;
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
.contactName {
|
|
42
|
+
color: var(--noir, #171e25);
|
|
43
|
+
font-family: Poppins;
|
|
44
|
+
font-size: 24px;
|
|
45
|
+
font-style: normal;
|
|
46
|
+
font-weight: 600;
|
|
47
|
+
line-height: 24px;
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
.infoContainer {
|
|
51
|
+
display: flex;
|
|
52
|
+
flex-direction: column;
|
|
53
|
+
align-items: flex-start;
|
|
54
|
+
gap: 10px;
|
|
55
|
+
padding-left: 6px;
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
.infoItem {
|
|
59
|
+
display: flex;
|
|
60
|
+
align-items: center;
|
|
61
|
+
gap: 8px;
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
.infoIcon {
|
|
65
|
+
width: 24px;
|
|
66
|
+
height: 24px;
|
|
67
|
+
color: var(--bleu-allaw, #25beeb);
|
|
68
|
+
font-size: 20px;
|
|
69
|
+
display: flex;
|
|
70
|
+
justify-content: center;
|
|
71
|
+
align-items: center;
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
.infoIconDisabled {
|
|
75
|
+
color: var(--mid-grey, #728ea7);
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
.infoText {
|
|
79
|
+
color: var(--noir, #171e25);
|
|
80
|
+
font-family: "Open Sans";
|
|
81
|
+
font-size: 16px;
|
|
82
|
+
font-style: normal;
|
|
83
|
+
font-weight: 400;
|
|
84
|
+
line-height: normal;
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
.infoText.contact.emptyField {
|
|
88
|
+
color: var(--mid-grey, #728ea7);
|
|
89
|
+
font-style: italic;
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
.telephoneEmailItems {
|
|
93
|
+
display: flex;
|
|
94
|
+
flex-direction: row;
|
|
95
|
+
justify-content: center;
|
|
96
|
+
align-items: center;
|
|
97
|
+
gap: 16px;
|
|
98
|
+
}
|
|
99
|
+
|
|
100
|
+
@media (max-width: 800px) {
|
|
101
|
+
.telephoneEmailItems {
|
|
102
|
+
flex-direction: column;
|
|
103
|
+
align-items: flex-start;
|
|
104
|
+
gap: 10px;
|
|
105
|
+
}
|
|
106
|
+
}
|
|
107
|
+
|
|
108
|
+
@media (max-width: 600px) {
|
|
109
|
+
.contentContainer {
|
|
110
|
+
flex-direction: column;
|
|
111
|
+
}
|
|
112
|
+
.nameTagContainer {
|
|
113
|
+
align-items: flex-start;
|
|
114
|
+
width: 100%;
|
|
115
|
+
}
|
|
116
|
+
}
|
|
117
|
+
|
|
118
|
+
.actionButtonContainer {
|
|
119
|
+
display: flex;
|
|
120
|
+
flex-direction: column;
|
|
121
|
+
justify-content: center;
|
|
122
|
+
align-items: center;
|
|
123
|
+
min-height: 100%;
|
|
124
|
+
align-self: stretch;
|
|
125
|
+
}
|
|
126
|
+
|
|
127
|
+
@media (max-width: 450px) {
|
|
128
|
+
.actionButtonContainer {
|
|
129
|
+
display: block;
|
|
130
|
+
position: absolute;
|
|
131
|
+
top: 24px;
|
|
132
|
+
right: 24px;
|
|
133
|
+
height: 100%;
|
|
134
|
+
}
|
|
135
|
+
}
|
|
136
|
+
|
|
137
|
+
.emptyField {
|
|
138
|
+
color: var(--mid-grey, #728ea7) !important;
|
|
139
|
+
font-style: italic;
|
|
140
|
+
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
@import "../../../styles/colors.css";
|
|
2
2
|
|
|
3
|
-
.contact-card {
|
|
3
|
+
.detailed-contact-card {
|
|
4
4
|
font-family: "Open Sans", sans-serif;
|
|
5
5
|
border-radius: 16px;
|
|
6
6
|
border: 1px solid var(--venom-grey, #e6edf5);
|
|
@@ -14,16 +14,16 @@
|
|
|
14
14
|
border-radius: 50%;
|
|
15
15
|
}
|
|
16
16
|
|
|
17
|
-
.contact-card.small .contact-details,
|
|
18
|
-
.contact-card.medium .contact-details,
|
|
19
|
-
.contact-card.large .contact-details {
|
|
17
|
+
.detailed-contact-card.small .contact-details,
|
|
18
|
+
.detailed-contact-card.medium .contact-details,
|
|
19
|
+
.detailed-contact-card.large .contact-details {
|
|
20
20
|
display: flex;
|
|
21
21
|
align-items: center;
|
|
22
22
|
gap: 8px;
|
|
23
23
|
line-height: normal;
|
|
24
24
|
}
|
|
25
25
|
|
|
26
|
-
.contact-card.small {
|
|
26
|
+
.detailed-contact-card.small {
|
|
27
27
|
display: flex;
|
|
28
28
|
width: 260px;
|
|
29
29
|
padding: 15px 16px 15px 16px;
|
|
@@ -31,7 +31,7 @@
|
|
|
31
31
|
align-items: flex-end;
|
|
32
32
|
}
|
|
33
33
|
|
|
34
|
-
.contact-card.small .contact-card-content {
|
|
34
|
+
.detailed-contact-card.small .detailed-contact-card-content {
|
|
35
35
|
display: flex;
|
|
36
36
|
flex-direction: row;
|
|
37
37
|
align-items: center;
|
|
@@ -40,7 +40,7 @@
|
|
|
40
40
|
align-self: stretch;
|
|
41
41
|
}
|
|
42
42
|
|
|
43
|
-
.contact-card.small .profile-picture-container {
|
|
43
|
+
.detailed-contact-card.small .profile-picture-container {
|
|
44
44
|
border-radius: 64px;
|
|
45
45
|
border: 2px solid var(--venom-grey, #e6edf5);
|
|
46
46
|
background: lightgray 50% / cover no-repeat;
|
|
@@ -51,7 +51,7 @@
|
|
|
51
51
|
padding-bottom: 0px;
|
|
52
52
|
}
|
|
53
53
|
|
|
54
|
-
.contact-card.small .contact-info {
|
|
54
|
+
.detailed-contact-card.small .contact-info {
|
|
55
55
|
display: flex;
|
|
56
56
|
flex-direction: column;
|
|
57
57
|
justify-content: center;
|
|
@@ -62,7 +62,7 @@
|
|
|
62
62
|
padding-left: 1px;
|
|
63
63
|
}
|
|
64
64
|
|
|
65
|
-
.contact-card.small .contact-name {
|
|
65
|
+
.detailed-contact-card.small .contact-name {
|
|
66
66
|
color: var(--Primary-Mid-black, var(--primary-black, #171e25));
|
|
67
67
|
font-family: "Open Sans";
|
|
68
68
|
font-size: 16px;
|
|
@@ -73,7 +73,7 @@
|
|
|
73
73
|
padding-bottom: 0px;
|
|
74
74
|
}
|
|
75
75
|
|
|
76
|
-
.contact-card.small .contact-details {
|
|
76
|
+
.detailed-contact-card.small .contact-details {
|
|
77
77
|
color: var(--Primary-Dark-grey, var(--dark-grey, #456073));
|
|
78
78
|
font-family: "Open Sans";
|
|
79
79
|
font-size: 12px;
|
|
@@ -84,7 +84,7 @@
|
|
|
84
84
|
margin: 0;
|
|
85
85
|
}
|
|
86
86
|
|
|
87
|
-
.contact-card.medium {
|
|
87
|
+
.detailed-contact-card.medium {
|
|
88
88
|
display: flex;
|
|
89
89
|
width: 342px;
|
|
90
90
|
padding: 14px 16px 13px 16px;
|
|
@@ -95,7 +95,7 @@
|
|
|
95
95
|
background: var(--Primary-Blanc, #fff);
|
|
96
96
|
}
|
|
97
97
|
|
|
98
|
-
.contact-card.medium .contact-card-content {
|
|
98
|
+
.detailed-contact-card.medium .detailed-contact-card-content {
|
|
99
99
|
display: flex;
|
|
100
100
|
flex-direction: row;
|
|
101
101
|
justify-content: space-between;
|
|
@@ -105,14 +105,14 @@
|
|
|
105
105
|
gap: 10px;
|
|
106
106
|
}
|
|
107
107
|
|
|
108
|
-
.contact-card.medium .contact-info-group {
|
|
108
|
+
.detailed-contact-card.medium .contact-info-group {
|
|
109
109
|
display: flex;
|
|
110
110
|
flex-direction: row;
|
|
111
111
|
align-items: center;
|
|
112
112
|
gap: 10px;
|
|
113
113
|
}
|
|
114
114
|
|
|
115
|
-
.contact-card.medium .profile-picture-container {
|
|
115
|
+
.detailed-contact-card.medium .profile-picture-container {
|
|
116
116
|
border-radius: 64px;
|
|
117
117
|
border: 3px solid var(--venom-grey, #e6edf5);
|
|
118
118
|
display: flex;
|
|
@@ -120,7 +120,7 @@
|
|
|
120
120
|
justify-content: center;
|
|
121
121
|
align-items: center;
|
|
122
122
|
}
|
|
123
|
-
.contact-card.medium .contact-info {
|
|
123
|
+
.detailed-contact-card.medium .contact-info {
|
|
124
124
|
margin-left: -24px;
|
|
125
125
|
margin-top: -4px;
|
|
126
126
|
display: flex;
|
|
@@ -129,7 +129,7 @@
|
|
|
129
129
|
padding-left: 8px;
|
|
130
130
|
}
|
|
131
131
|
|
|
132
|
-
.contact-card.medium .contact-name {
|
|
132
|
+
.detailed-contact-card.medium .contact-name {
|
|
133
133
|
color: var(--Primary-Mid-black, var(--primary-black, #171e25));
|
|
134
134
|
text-overflow: ellipsis;
|
|
135
135
|
font-family: "Open Sans";
|
|
@@ -139,7 +139,7 @@
|
|
|
139
139
|
line-height: 24px;
|
|
140
140
|
}
|
|
141
141
|
|
|
142
|
-
.contact-card.medium .contact-details {
|
|
142
|
+
.detailed-contact-card.medium .contact-details {
|
|
143
143
|
color: var(--Primary-Dark-grey, var(--dark-grey, #456073));
|
|
144
144
|
font-family: "Open Sans";
|
|
145
145
|
margin-top: 5px;
|
|
@@ -149,7 +149,7 @@
|
|
|
149
149
|
line-height: normal;
|
|
150
150
|
}
|
|
151
151
|
|
|
152
|
-
.contact-card.medium .status-container {
|
|
152
|
+
.detailed-contact-card.medium .status-container {
|
|
153
153
|
display: flex;
|
|
154
154
|
flex-direction: column;
|
|
155
155
|
justify-content: center;
|
|
@@ -158,15 +158,15 @@
|
|
|
158
158
|
align-self: stretch;
|
|
159
159
|
}
|
|
160
160
|
|
|
161
|
-
.contact-card.small .avatar,
|
|
162
|
-
.contact-card.medium .avatar {
|
|
161
|
+
.detailed-contact-card.small .avatar,
|
|
162
|
+
.detailed-contact-card.medium .avatar {
|
|
163
163
|
width: 71px;
|
|
164
164
|
height: 71px;
|
|
165
165
|
border-radius: 50%;
|
|
166
166
|
object-fit: cover;
|
|
167
167
|
}
|
|
168
168
|
|
|
169
|
-
.contact-card.large .avatar {
|
|
169
|
+
.detailed-contact-card.large .avatar {
|
|
170
170
|
width: 90px;
|
|
171
171
|
height: 90px;
|
|
172
172
|
border-radius: 50%;
|
|
@@ -196,7 +196,7 @@
|
|
|
196
196
|
margin-right: 8px;
|
|
197
197
|
}
|
|
198
198
|
|
|
199
|
-
.contact-card.large {
|
|
199
|
+
.detailed-contact-card.large {
|
|
200
200
|
display: flex;
|
|
201
201
|
width: 1141px;
|
|
202
202
|
padding: 24px 24px 17px 24px;
|
|
@@ -207,7 +207,7 @@
|
|
|
207
207
|
background: var(--Primary-Blanc, #fff);
|
|
208
208
|
}
|
|
209
209
|
|
|
210
|
-
.contact-card.large .profile-picture-container {
|
|
210
|
+
.detailed-contact-card.large .profile-picture-container {
|
|
211
211
|
width: 90px;
|
|
212
212
|
height: 90px;
|
|
213
213
|
flex-shrink: 0;
|
|
@@ -220,7 +220,7 @@
|
|
|
220
220
|
box-sizing: content-box;
|
|
221
221
|
}
|
|
222
222
|
|
|
223
|
-
.contact-card.large .content-container {
|
|
223
|
+
.detailed-contact-card.large .content-container {
|
|
224
224
|
display: flex;
|
|
225
225
|
flex-direction: column;
|
|
226
226
|
justify-content: center;
|
|
@@ -230,7 +230,7 @@
|
|
|
230
230
|
align-self: stretch;
|
|
231
231
|
}
|
|
232
232
|
|
|
233
|
-
.contact-card.large .contact-name {
|
|
233
|
+
.detailed-contact-card.large .contact-name {
|
|
234
234
|
color: var(--Primary-Mid-black, var(--primary-black, #171e25));
|
|
235
235
|
font-family: Poppins, sans-serif;
|
|
236
236
|
font-size: 24px;
|
|
@@ -240,7 +240,7 @@
|
|
|
240
240
|
padding-bottom: 20px;
|
|
241
241
|
}
|
|
242
242
|
|
|
243
|
-
.contact-card.large .contact-details {
|
|
243
|
+
.detailed-contact-card.large .contact-details {
|
|
244
244
|
color: var(--Primary-Dark-grey, var(--dark-grey, #456073));
|
|
245
245
|
font-family: "Open Sans", sans-serif;
|
|
246
246
|
font-size: 14px;
|
|
@@ -249,11 +249,11 @@
|
|
|
249
249
|
line-height: 1px;
|
|
250
250
|
}
|
|
251
251
|
|
|
252
|
-
.contact-card.large .contact-additional-info {
|
|
252
|
+
.detailed-contact-card.large .contact-additional-info {
|
|
253
253
|
margin-top: 11px;
|
|
254
254
|
}
|
|
255
255
|
|
|
256
|
-
.contact-card.large .contact-additional-info {
|
|
256
|
+
.detailed-contact-card.large .contact-additional-info {
|
|
257
257
|
display: flex;
|
|
258
258
|
flex-direction: column;
|
|
259
259
|
justify-content: center;
|
|
@@ -261,7 +261,7 @@
|
|
|
261
261
|
gap: 0px;
|
|
262
262
|
}
|
|
263
263
|
|
|
264
|
-
.contact-card.large .contact-address-container {
|
|
264
|
+
.detailed-contact-card.large .contact-address-container {
|
|
265
265
|
display: flex;
|
|
266
266
|
flex-direction: row;
|
|
267
267
|
justify-content: center;
|
|
@@ -270,7 +270,7 @@
|
|
|
270
270
|
line-height: 0px;
|
|
271
271
|
}
|
|
272
272
|
|
|
273
|
-
.contact-card.large .contact-telephone-email-container {
|
|
273
|
+
.detailed-contact-card.large .contact-telephone-email-container {
|
|
274
274
|
display: flex;
|
|
275
275
|
flex-direction: row;
|
|
276
276
|
justify-content: center;
|
|
@@ -279,7 +279,7 @@
|
|
|
279
279
|
margin-top: -3px;
|
|
280
280
|
}
|
|
281
281
|
|
|
282
|
-
.contact-card.large .info-label {
|
|
282
|
+
.detailed-contact-card.large .info-label {
|
|
283
283
|
color: var(--Tags-Mid-grey, var(--light-grey, #728ea7));
|
|
284
284
|
font-family: "Open Sans", sans-serif;
|
|
285
285
|
font-size: 12px;
|
|
@@ -288,7 +288,7 @@
|
|
|
288
288
|
line-height: normal;
|
|
289
289
|
}
|
|
290
290
|
|
|
291
|
-
.contact-card.large .info-value {
|
|
291
|
+
.detailed-contact-card.large .info-value {
|
|
292
292
|
flex: 1 0 0;
|
|
293
293
|
align-self: stretch;
|
|
294
294
|
color: var(--Primary-Dark-grey, var(--dark-grey, #456073));
|
|
@@ -299,88 +299,26 @@
|
|
|
299
299
|
line-height: normal;
|
|
300
300
|
}
|
|
301
301
|
|
|
302
|
-
.contact-card.large .contact-phone {
|
|
302
|
+
.detailed-contact-card.large .contact-phone {
|
|
303
303
|
font-family: Inter, sans-serif;
|
|
304
304
|
font-weight: 500;
|
|
305
305
|
}
|
|
306
306
|
|
|
307
|
-
.
|
|
308
|
-
display: flex;
|
|
309
|
-
padding: 24px;
|
|
310
|
-
width: 1214px;
|
|
311
|
-
justify-content: space-between;
|
|
312
|
-
align-items: flex-start;
|
|
313
|
-
align-self: stretch;
|
|
314
|
-
border-radius: 16px;
|
|
315
|
-
border: 1px solid var(--Primary-Venom-grey, #e6edf5);
|
|
316
|
-
background: var(--Primary-Blanc, #fff);
|
|
317
|
-
}
|
|
318
|
-
|
|
319
|
-
.contact-card.editable .content-container {
|
|
320
|
-
display: flex;
|
|
321
|
-
align-items: center;
|
|
322
|
-
gap: 24px;
|
|
323
|
-
}
|
|
324
|
-
|
|
325
|
-
.contact-card.editable .name-tag-container {
|
|
307
|
+
.action-button-container {
|
|
326
308
|
display: flex;
|
|
327
309
|
flex-direction: column;
|
|
328
310
|
justify-content: center;
|
|
329
|
-
align-items:
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
}
|
|
333
|
-
|
|
334
|
-
.contact-card.editable .contact-name {
|
|
335
|
-
color: var(--Primary-Mid-black, #171e25);
|
|
336
|
-
font-family: Poppins;
|
|
337
|
-
font-size: 24px;
|
|
338
|
-
font-style: normal;
|
|
339
|
-
font-weight: 600;
|
|
340
|
-
line-height: 18px;
|
|
341
|
-
}
|
|
342
|
-
|
|
343
|
-
.contact-card.editable .info-container {
|
|
344
|
-
display: flex;
|
|
345
|
-
flex-direction: column;
|
|
346
|
-
align-items: flex-start;
|
|
347
|
-
gap: 10px;
|
|
348
|
-
padding-left: 6px;
|
|
349
|
-
}
|
|
350
|
-
|
|
351
|
-
.contact-card.editable .info-item {
|
|
352
|
-
display: flex;
|
|
353
|
-
align-items: center;
|
|
354
|
-
gap: 8px;
|
|
355
|
-
}
|
|
356
|
-
|
|
357
|
-
.contact-card.editable .info-icon {
|
|
358
|
-
width: 24px;
|
|
359
|
-
height: 24px;
|
|
360
|
-
color: #25beeb;
|
|
361
|
-
font-size: 20px;
|
|
362
|
-
display: flex;
|
|
363
|
-
justify-content: center;
|
|
364
|
-
align-items: center;
|
|
365
|
-
}
|
|
366
|
-
|
|
367
|
-
.contact-card.editable .info-text {
|
|
368
|
-
color: var(--Primary-Mid-black, #171e25);
|
|
369
|
-
font-family: "Open Sans";
|
|
370
|
-
font-size: 16px;
|
|
371
|
-
font-style: normal;
|
|
372
|
-
font-weight: 400;
|
|
373
|
-
line-height: normal;
|
|
311
|
+
align-items: flex-end;
|
|
312
|
+
height: 100%;
|
|
313
|
+
align-self: stretch;
|
|
374
314
|
}
|
|
375
315
|
|
|
376
|
-
.contact-card
|
|
377
|
-
color: var(--
|
|
316
|
+
.detailed-contact-card .empty-field {
|
|
317
|
+
color: var(--Tags-Mid-grey, #728ea7) !important;
|
|
318
|
+
font-style: italic;
|
|
378
319
|
}
|
|
379
320
|
|
|
380
|
-
.contact-card.
|
|
381
|
-
|
|
382
|
-
|
|
383
|
-
justify-content: center;
|
|
384
|
-
align-items: center;
|
|
385
|
-
gap: 16px;
|
|
321
|
+
.detailed-contact-card.large .empty-field {
|
|
322
|
+
color: var(--Tags-Mid-grey, #728ea7) !important;
|
|
323
|
+
font-style: italic;
|
|
386
324
|
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import "./datepickerForm.css";
|
|
3
|
+
import "../../../styles/global.css";
|
|
4
|
+
export interface DatepickerFormProps {
|
|
5
|
+
value?: Date;
|
|
6
|
+
onChange?: (date: Date) => void;
|
|
7
|
+
placeholder?: string;
|
|
8
|
+
text?: string;
|
|
9
|
+
variant?: "bold" | "semiBold" | "medium";
|
|
10
|
+
color?: "bleu-allaw" | "mid-grey" | "dark-grey" | "noir" | "pure-white" | "grey-venom" | "venom-grey-dark";
|
|
11
|
+
yearDropdownItemNumber?: number;
|
|
12
|
+
maxDaysInPast?: number;
|
|
13
|
+
minDate?: Date;
|
|
14
|
+
}
|
|
15
|
+
declare const DatepickerForm: React.FC<DatepickerFormProps>;
|
|
16
|
+
export default DatepickerForm;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import "./datepickerForm.css";
|
|
3
|
+
import "../../../styles/global.css";
|
|
4
|
+
import Paragraph from "../../atoms/typography/Paragraph";
|
|
5
|
+
import Datepicker from "../../atoms/datepickers/Datepicker";
|
|
6
|
+
var DatepickerForm = function (_a) {
|
|
7
|
+
// console.log("Valeur reçue dans DatepickerForm :", value);
|
|
8
|
+
var value = _a.value, onChange = _a.onChange, _b = _a.placeholder, placeholder = _b === void 0 ? "Sélectionner une date" : _b, text = _a.text, _c = _a.variant, variant = _c === void 0 ? "medium" : _c, _d = _a.color, color = _d === void 0 ? "noir" : _d, _e = _a.yearDropdownItemNumber, yearDropdownItemNumber = _e === void 0 ? 10 : _e, maxDaysInPast = _a.maxDaysInPast, minDate = _a.minDate;
|
|
9
|
+
return (React.createElement("div", { className: "datepicker-form-wrapper" },
|
|
10
|
+
text && React.createElement(Paragraph, { text: text, variant: variant, color: color }),
|
|
11
|
+
React.createElement(Datepicker, { value: value || undefined, onChange: onChange, placeholder: placeholder, yearDropdownItemNumber: yearDropdownItemNumber, maxDaysInPast: maxDaysInPast, minDate: minDate })));
|
|
12
|
+
};
|
|
13
|
+
export default DatepickerForm;
|