allaw-ui 3.4.0 → 3.4.2
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/tsconfig.tsbuildinfo +1 -0
- package/package.json +1 -1
- package/dist/app/[job]/[profile]/common/ProfileClientWrapper.d.ts +0 -0
- package/dist/app/[job]/[profile]/common/ProfileClientWrapper.js +0 -0
- package/dist/app/[job]/[profile]/page.d.ts +0 -0
- package/dist/app/[job]/[profile]/page.js +0 -0
- package/dist/components/atoms/buttons/ActionButton.d.ts +0 -18
- package/dist/components/atoms/buttons/ActionButton.js +0 -116
- package/dist/components/atoms/buttons/ActionButton.stories.d.ts +0 -108
- package/dist/components/atoms/buttons/ActionButton.stories.js +0 -167
- package/dist/components/atoms/buttons/ActionCircleButton.d.ts +0 -9
- package/dist/components/atoms/buttons/ActionCircleButton.js +0 -23
- 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.d.ts +0 -10
- package/dist/components/atoms/buttons/AgendaSlot.js +0 -7
- 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.d.ts +0 -8
- package/dist/components/atoms/buttons/FavoriteToggle.js +0 -11
- 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.d.ts +0 -9
- package/dist/components/atoms/buttons/FilterButton.js +0 -9
- 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.d.ts +0 -9
- package/dist/components/atoms/buttons/FilterButtonPrimary.js +0 -46
- 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.d.ts +0 -14
- package/dist/components/atoms/buttons/GhostButton.js +0 -11
- 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.d.ts +0 -11
- package/dist/components/atoms/buttons/IconButton.js +0 -14
- package/dist/components/atoms/buttons/IconButton.stories.d.ts +0 -49
- package/dist/components/atoms/buttons/IconButton.stories.js +0 -88
- package/dist/components/atoms/buttons/OAuthProviderButton.d.ts +0 -12
- package/dist/components/atoms/buttons/OAuthProviderButton.js +0 -165
- package/dist/components/atoms/buttons/OAuthProviderButton.stories.d.ts +0 -56
- package/dist/components/atoms/buttons/OAuthProviderButton.stories.js +0 -130
- package/dist/components/atoms/buttons/PendingDocuments.d.ts +0 -9
- package/dist/components/atoms/buttons/PendingDocuments.js +0 -15
- 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.d.ts +0 -19
- package/dist/components/atoms/buttons/PrimaryButton.js +0 -117
- package/dist/components/atoms/buttons/PrimaryButton.stories.d.ts +0 -108
- package/dist/components/atoms/buttons/PrimaryButton.stories.js +0 -168
- package/dist/components/atoms/buttons/SecondaryButton.d.ts +0 -22
- package/dist/components/atoms/buttons/SecondaryButton.js +0 -151
- 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.d.ts +0 -17
- package/dist/components/atoms/buttons/TabNavigation.js +0 -68
- 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.d.ts +0 -15
- package/dist/components/atoms/buttons/TertiaryButton.js +0 -23
- 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/buttons/index.d.ts +0 -24
- package/dist/components/atoms/buttons/index.js +0 -12
- package/dist/components/atoms/checkboxes/Checkbox.d.ts +0 -15
- package/dist/components/atoms/checkboxes/Checkbox.js +0 -20
- 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/checkboxes/index.d.ts +0 -2
- package/dist/components/atoms/checkboxes/index.js +0 -1
- package/dist/components/atoms/datepickers/Datepicker.d.ts +0 -15
- package/dist/components/atoms/datepickers/Datepicker.js +0 -151
- package/dist/components/atoms/datepickers/Datepicker.stories.d.ts +0 -90
- package/dist/components/atoms/datepickers/Datepicker.stories.js +0 -67
- package/dist/components/atoms/datepickers/index.d.ts +0 -2
- package/dist/components/atoms/datepickers/index.js +0 -1
- package/dist/components/atoms/featureCard/featureCard.d.ts +0 -15
- package/dist/components/atoms/featureCard/featureCard.js +0 -16
- 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/featureCard/index.d.ts +0 -2
- package/dist/components/atoms/featureCard/index.js +0 -1
- package/dist/components/atoms/filter/Filter.d.ts +0 -17
- package/dist/components/atoms/filter/Filter.js +0 -70
- 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/filter/index.d.ts +0 -2
- package/dist/components/atoms/filter/index.js +0 -1
- package/dist/components/atoms/filters/SingleFilter.d.ts +0 -16
- package/dist/components/atoms/filters/SingleFilter.js +0 -99
- package/dist/components/atoms/filters/SingleFilter.stories.d.ts +0 -7
- package/dist/components/atoms/filters/SingleFilter.stories.js +0 -33
- package/dist/components/atoms/filters/index.d.ts +0 -2
- package/dist/components/atoms/filters/index.js +0 -1
- package/dist/components/atoms/inputs/Input.d.ts +0 -29
- package/dist/components/atoms/inputs/Input.js +0 -94
- package/dist/components/atoms/inputs/Input.stories.d.ts +0 -63
- package/dist/components/atoms/inputs/Input.stories.js +0 -110
- package/dist/components/atoms/inputs/SearchBar.d.ts +0 -12
- package/dist/components/atoms/inputs/SearchBar.js +0 -20
- package/dist/components/atoms/inputs/SearchBar.stories.d.ts +0 -54
- package/dist/components/atoms/inputs/SearchBar.stories.js +0 -67
- package/dist/components/atoms/inputs/TextArea.d.ts +0 -25
- package/dist/components/atoms/inputs/TextArea.js +0 -77
- 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.d.ts +0 -14
- package/dist/components/atoms/inputs/VerificationCodeInput.js +0 -155
- 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/inputs/index.d.ts +0 -8
- package/dist/components/atoms/inputs/index.js +0 -4
- package/dist/components/atoms/progressBars/ProgressBar.d.ts +0 -18
- package/dist/components/atoms/progressBars/ProgressBar.js +0 -26
- 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/progressBars/index.d.ts +0 -2
- package/dist/components/atoms/progressBars/index.js +0 -1
- package/dist/components/atoms/radios/RadioButton.d.ts +0 -12
- package/dist/components/atoms/radios/RadioButton.js +0 -10
- package/dist/components/atoms/radios/RadioButton.stories.d.ts +0 -36
- package/dist/components/atoms/radios/RadioButton.stories.js +0 -75
- package/dist/components/atoms/radios/SelectCard.d.ts +0 -24
- package/dist/components/atoms/radios/SelectCard.js +0 -100
- 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/radios/index.d.ts +0 -4
- package/dist/components/atoms/radios/index.js +0 -2
- package/dist/components/atoms/selects/ComboBox.d.ts +0 -28
- package/dist/components/atoms/selects/ComboBox.js +0 -172
- 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.d.ts +0 -25
- package/dist/components/atoms/selects/Select.js +0 -240
- package/dist/components/atoms/selects/Select.stories.d.ts +0 -95
- package/dist/components/atoms/selects/Select.stories.js +0 -161
- package/dist/components/atoms/selects/SelectableListItem.d.ts +0 -14
- package/dist/components/atoms/selects/SelectableListItem.js +0 -19
- 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/selects/index.d.ts +0 -6
- package/dist/components/atoms/selects/index.js +0 -3
- package/dist/components/atoms/tags/AppointementStatusTag.d.ts +0 -8
- package/dist/components/atoms/tags/AppointementStatusTag.js +0 -42
- 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.d.ts +0 -8
- package/dist/components/atoms/tags/FolderStatusTag.js +0 -25
- 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/OtherStatusTag.d.ts +0 -13
- package/dist/components/atoms/tags/OtherStatusTag.js +0 -15
- package/dist/components/atoms/tags/OtherStatusTag.stories.d.ts +0 -97
- package/dist/components/atoms/tags/OtherStatusTag.stories.js +0 -151
- package/dist/components/atoms/tags/index.d.ts +0 -6
- package/dist/components/atoms/tags/index.js +0 -3
- package/dist/components/atoms/typography/CardDate.d.ts +0 -11
- package/dist/components/atoms/typography/CardDate.js +0 -52
- 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.d.ts +0 -16
- package/dist/components/atoms/typography/Heading.js +0 -39
- 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.d.ts +0 -15
- package/dist/components/atoms/typography/Link.js +0 -35
- 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.d.ts +0 -14
- package/dist/components/atoms/typography/Paragraph.js +0 -33
- 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.d.ts +0 -9
- package/dist/components/atoms/typography/SmallTitle.js +0 -7
- 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.d.ts +0 -9
- package/dist/components/atoms/typography/Subtitle.js +0 -7
- 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.d.ts +0 -14
- package/dist/components/atoms/typography/TinyInfo.js +0 -18
- 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/typography/index.d.ts +0 -12
- package/dist/components/atoms/typography/index.js +0 -6
- package/dist/components/atoms/uiVariables/AnimatedBorder.d.ts +0 -4
- package/dist/components/atoms/uiVariables/AnimatedBorder.js +0 -11
- 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.d.ts +0 -6
- package/dist/components/atoms/uiVariables/BorderRadius.js +0 -12
- 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.d.ts +0 -6
- package/dist/components/atoms/uiVariables/Shadows.js +0 -11
- 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.d.ts +0 -6
- package/dist/components/atoms/uiVariables/Strokes.js +0 -10
- package/dist/components/atoms/uiVariables/Strokes.stories.d.ts +0 -18
- package/dist/components/atoms/uiVariables/Strokes.stories.js +0 -34
- package/dist/components/atoms/uiVariables/index.d.ts +0 -3
- package/dist/components/atoms/uiVariables/index.js +0 -3
- package/dist/components/molecules/appointmentSlot/AppointmentSlot.d.ts +0 -26
- package/dist/components/molecules/appointmentSlot/AppointmentSlot.js +0 -109
- package/dist/components/molecules/appointmentSlot/AppointmentSlot.stories.d.ts +0 -70
- package/dist/components/molecules/appointmentSlot/AppointmentSlot.stories.js +0 -186
- package/dist/components/molecules/appointmentSlot/index.d.ts +0 -2
- package/dist/components/molecules/appointmentSlot/index.js +0 -1
- package/dist/components/molecules/banner/Banner.d.ts +0 -20
- package/dist/components/molecules/banner/Banner.js +0 -28
- 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/banner/index.d.ts +0 -2
- package/dist/components/molecules/banner/index.js +0 -1
- package/dist/components/molecules/billingCount/BillingCount.d.ts +0 -11
- package/dist/components/molecules/billingCount/BillingCount.js +0 -169
- 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/billingCount/index.d.ts +0 -2
- package/dist/components/molecules/billingCount/index.js +0 -1
- package/dist/components/molecules/blogCard/BlogCard.d.ts +0 -13
- package/dist/components/molecules/blogCard/BlogCard.js +0 -32
- 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/blogCard/index.d.ts +0 -2
- package/dist/components/molecules/blogCard/index.js +0 -1
- package/dist/components/molecules/blogFooter/BlogFooter.d.ts +0 -12
- package/dist/components/molecules/blogFooter/BlogFooter.js +0 -14
- 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/blogFooter/index.d.ts +0 -2
- package/dist/components/molecules/blogFooter/index.js +0 -1
- package/dist/components/molecules/blogHeader/BlogHeader.d.ts +0 -11
- package/dist/components/molecules/blogHeader/BlogHeader.js +0 -21
- 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/blogHeader/index.d.ts +0 -2
- package/dist/components/molecules/blogHeader/index.js +0 -1
- package/dist/components/molecules/blogText/BlogText.d.ts +0 -7
- package/dist/components/molecules/blogText/BlogText.js +0 -11
- 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/blogText/index.d.ts +0 -2
- package/dist/components/molecules/blogText/index.js +0 -1
- package/dist/components/molecules/blogTextImageBlock/BlogTextImageBlock.d.ts +0 -8
- package/dist/components/molecules/blogTextImageBlock/BlogTextImageBlock.js +0 -15
- 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/blogTextImageBlock/index.d.ts +0 -2
- package/dist/components/molecules/blogTextImageBlock/index.js +0 -1
- package/dist/components/molecules/brands/Brands.d.ts +0 -9
- package/dist/components/molecules/brands/Brands.js +0 -13
- 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/brands/index.d.ts +0 -2
- package/dist/components/molecules/brands/index.js +0 -1
- package/dist/components/molecules/breadcrumb/Breadcrumb.d.ts +0 -12
- package/dist/components/molecules/breadcrumb/Breadcrumb.js +0 -12
- 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/breadcrumb/index.d.ts +0 -2
- package/dist/components/molecules/breadcrumb/index.js +0 -1
- package/dist/components/molecules/caseCard/CaseCard.d.ts +0 -23
- package/dist/components/molecules/caseCard/CaseCard.js +0 -19
- 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/caseCard/index.d.ts +0 -2
- package/dist/components/molecules/caseCard/index.js +0 -1
- package/dist/components/molecules/caseCardCompact/CaseCardCompact.d.ts +0 -16
- package/dist/components/molecules/caseCardCompact/CaseCardCompact.js +0 -20
- 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/caseCardCompact/index.d.ts +0 -2
- package/dist/components/molecules/caseCardCompact/index.js +0 -1
- 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/caseLinkCard/CaseLinkCard.d.ts +0 -13
- package/dist/components/molecules/caseLinkCard/CaseLinkCard.js +0 -37
- package/dist/components/molecules/caseLinkCard/index.d.ts +0 -2
- package/dist/components/molecules/caseLinkCard/index.js +0 -1
- package/dist/components/molecules/checkboxForm/CheckboxForm.d.ts +0 -20
- package/dist/components/molecules/checkboxForm/CheckboxForm.js +0 -30
- 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.d.ts +0 -20
- package/dist/components/molecules/checkboxForm/ColoredCheckbox.js +0 -81
- 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/checkboxForm/index.d.ts +0 -4
- package/dist/components/molecules/checkboxForm/index.js +0 -2
- package/dist/components/molecules/clientLinkCard/ClientLinkCard.d.ts +0 -15
- package/dist/components/molecules/clientLinkCard/ClientLinkCard.js +0 -18
- 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/clientLinkCard/index.d.ts +0 -2
- package/dist/components/molecules/clientLinkCard/index.js +0 -1
- package/dist/components/molecules/contactCard/ContactCard.d.ts +0 -16
- package/dist/components/molecules/contactCard/ContactCard.js +0 -31
- package/dist/components/molecules/contactCard/ContactCard.stories.d.ts +0 -68
- package/dist/components/molecules/contactCard/ContactCard.stories.js +0 -80
- package/dist/components/molecules/contactCard/DetailedContactCard.d.ts +0 -18
- package/dist/components/molecules/contactCard/DetailedContactCard.js +0 -61
- 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/contactCard/index.d.ts +0 -4
- package/dist/components/molecules/contactCard/index.js +0 -2
- package/dist/components/molecules/datepickerForm/DatepickerForm.d.ts +0 -16
- package/dist/components/molecules/datepickerForm/DatepickerForm.js +0 -13
- package/dist/components/molecules/datepickerForm/DatepickerForm.stories.d.ts +0 -164
- package/dist/components/molecules/datepickerForm/DatepickerForm.stories.js +0 -113
- package/dist/components/molecules/datepickerForm/index.d.ts +0 -2
- package/dist/components/molecules/datepickerForm/index.js +0 -1
- package/dist/components/molecules/documentCard/DocumentCard.d.ts +0 -16
- package/dist/components/molecules/documentCard/DocumentCard.js +0 -124
- package/dist/components/molecules/documentCard/DocumentCard.stories.d.ts +0 -71
- package/dist/components/molecules/documentCard/DocumentCard.stories.js +0 -100
- package/dist/components/molecules/documentCard/index.d.ts +0 -2
- package/dist/components/molecules/documentCard/index.js +0 -1
- package/dist/components/molecules/employeeCard/EmployeeCard.d.ts +0 -15
- package/dist/components/molecules/employeeCard/EmployeeCard.js +0 -34
- 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/employeeCard/index.d.ts +0 -2
- package/dist/components/molecules/employeeCard/index.js +0 -1
- package/dist/components/molecules/entityAdminCard/EntityAdminCard.d.ts +0 -13
- package/dist/components/molecules/entityAdminCard/EntityAdminCard.js +0 -29
- package/dist/components/molecules/entityAdminCard/entityAdminCard.stories.d.ts +0 -8
- package/dist/components/molecules/entityAdminCard/entityAdminCard.stories.js +0 -35
- package/dist/components/molecules/entityCard/EntityCard.d.ts +0 -12
- package/dist/components/molecules/entityCard/EntityCard.js +0 -53
- package/dist/components/molecules/entityCard/EntityCard.stories.d.ts +0 -7
- package/dist/components/molecules/entityCard/EntityCard.stories.js +0 -30
- package/dist/components/molecules/entityCard/index.d.ts +0 -2
- package/dist/components/molecules/entityCard/index.js +0 -1
- package/dist/components/molecules/featureGrid/FeatureGrid.d.ts +0 -8
- package/dist/components/molecules/featureGrid/FeatureGrid.js +0 -27
- 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/featureGrid/index.d.ts +0 -2
- package/dist/components/molecules/featureGrid/index.js +0 -1
- package/dist/components/molecules/fileUploader/FileUploader.d.ts +0 -41
- package/dist/components/molecules/fileUploader/FileUploader.js +0 -346
- package/dist/components/molecules/fileUploader/FileUploader.stories.d.ts +0 -107
- package/dist/components/molecules/fileUploader/FileUploader.stories.js +0 -232
- package/dist/components/molecules/fileUploader/ImageCropperModal.d.ts +0 -15
- package/dist/components/molecules/fileUploader/ImageCropperModal.js +0 -212
- package/dist/components/molecules/fileUploader/index.d.ts +0 -2
- package/dist/components/molecules/fileUploader/index.js +0 -1
- package/dist/components/molecules/flexContent/FlexContent.d.ts +0 -18
- package/dist/components/molecules/flexContent/FlexContent.js +0 -21
- 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/flexContent/index.d.ts +0 -2
- package/dist/components/molecules/flexContent/index.js +0 -1
- package/dist/components/molecules/frameCTA/FrameCTA.d.ts +0 -19
- package/dist/components/molecules/frameCTA/FrameCTA.js +0 -18
- 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/frameCTA/index.d.ts +0 -2
- package/dist/components/molecules/frameCTA/index.js +0 -1
- package/dist/components/molecules/heroSection/HeroSection.d.ts +0 -21
- package/dist/components/molecules/heroSection/HeroSection.js +0 -20
- 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/heroSection/index.d.ts +0 -2
- package/dist/components/molecules/heroSection/index.js +0 -1
- package/dist/components/molecules/loadingBox/LoadingBox.d.ts +0 -12
- package/dist/components/molecules/loadingBox/LoadingBox.js +0 -11
- 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/loadingBox/index.d.ts +0 -2
- package/dist/components/molecules/loadingBox/index.js +0 -1
- package/dist/components/molecules/modal/Modal.d.ts +0 -32
- package/dist/components/molecules/modal/Modal.js +0 -97
- package/dist/components/molecules/modal/Modal.stories.d.ts +0 -87
- package/dist/components/molecules/modal/Modal.stories.js +0 -126
- package/dist/components/molecules/modal/index.d.ts +0 -2
- package/dist/components/molecules/modal/index.js +0 -1
- package/dist/components/molecules/pagination/Pagination.d.ts +0 -10
- package/dist/components/molecules/pagination/Pagination.js +0 -64
- 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/pagination/index.d.ts +0 -2
- package/dist/components/molecules/pagination/index.js +0 -1
- package/dist/components/molecules/proCard/ProCard.d.ts +0 -14
- package/dist/components/molecules/proCard/ProCard.js +0 -30
- 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/proCard/index.d.ts +0 -2
- package/dist/components/molecules/proCard/index.js +0 -1
- package/dist/components/molecules/questionAnswer/QuestionAnswer.d.ts +0 -10
- package/dist/components/molecules/questionAnswer/QuestionAnswer.js +0 -33
- 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/questionAnswer/index.d.ts +0 -2
- package/dist/components/molecules/questionAnswer/index.js +0 -1
- package/dist/components/molecules/radioForm/RadioForm.d.ts +0 -12
- package/dist/components/molecules/radioForm/RadioForm.js +0 -27
- package/dist/components/molecules/radioForm/RadioForm.stories.d.ts +0 -27
- package/dist/components/molecules/radioForm/RadioForm.stories.js +0 -52
- package/dist/components/molecules/radioForm/index.d.ts +0 -2
- package/dist/components/molecules/radioForm/index.js +0 -1
- package/dist/components/molecules/selectForm/SelectForm.d.ts +0 -19
- package/dist/components/molecules/selectForm/SelectForm.js +0 -15
- package/dist/components/molecules/selectForm/SelectForm.stories.d.ts +0 -72
- package/dist/components/molecules/selectForm/SelectForm.stories.js +0 -104
- package/dist/components/molecules/selectForm/index.d.ts +0 -2
- package/dist/components/molecules/selectForm/index.js +0 -1
- package/dist/components/molecules/stepper/ConfirmationModal.d.ts +0 -14
- package/dist/components/molecules/stepper/ConfirmationModal.js +0 -26
- package/dist/components/molecules/stepper/Stepper.d.ts +0 -51
- package/dist/components/molecules/stepper/Stepper.js +0 -156
- package/dist/components/molecules/stepper/Stepper.stories.d.ts +0 -52
- package/dist/components/molecules/stepper/Stepper.stories.js +0 -206
- package/dist/components/molecules/stepper/index.d.ts +0 -2
- package/dist/components/molecules/stepper/index.js +0 -1
- package/dist/index.d.ts +0 -107
- package/dist/index.js +0 -107
- 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
- package/dist/utils/regex.d.ts +0 -5
- package/dist/utils/regex.js +0 -7
- package/dist/utils/utils.d.ts +0 -3
- package/dist/utils/utils.js +0 -58
|
@@ -1,157 +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, { useState } from "react";
|
|
13
|
-
import CheckboxForm from "./CheckboxForm";
|
|
14
|
-
import "./CheckboxForm.css";
|
|
15
|
-
export default {
|
|
16
|
-
title: "Components/Molecules/CheckboxForm",
|
|
17
|
-
component: CheckboxForm,
|
|
18
|
-
tags: ["autodocs"],
|
|
19
|
-
args: {
|
|
20
|
-
label: "Sample label",
|
|
21
|
-
},
|
|
22
|
-
argTypes: {
|
|
23
|
-
checked: {
|
|
24
|
-
control: {
|
|
25
|
-
type: "boolean",
|
|
26
|
-
},
|
|
27
|
-
},
|
|
28
|
-
isRequired: {
|
|
29
|
-
control: {
|
|
30
|
-
type: "boolean",
|
|
31
|
-
},
|
|
32
|
-
},
|
|
33
|
-
onChange: { action: "changed" },
|
|
34
|
-
label: {
|
|
35
|
-
control: "text",
|
|
36
|
-
},
|
|
37
|
-
color: {
|
|
38
|
-
control: {
|
|
39
|
-
type: "select",
|
|
40
|
-
options: [
|
|
41
|
-
"bleu-allaw",
|
|
42
|
-
"mid-grey",
|
|
43
|
-
"dark-grey",
|
|
44
|
-
"noir",
|
|
45
|
-
"pure-white",
|
|
46
|
-
"grey-venom",
|
|
47
|
-
"venom-grey-dark",
|
|
48
|
-
"light",
|
|
49
|
-
],
|
|
50
|
-
},
|
|
51
|
-
},
|
|
52
|
-
size: {
|
|
53
|
-
control: {
|
|
54
|
-
type: "select",
|
|
55
|
-
options: ["default", "small"],
|
|
56
|
-
},
|
|
57
|
-
},
|
|
58
|
-
style: {
|
|
59
|
-
control: {
|
|
60
|
-
type: "select",
|
|
61
|
-
options: ["default", "light", "form"],
|
|
62
|
-
},
|
|
63
|
-
},
|
|
64
|
-
markType: {
|
|
65
|
-
control: {
|
|
66
|
-
type: "select",
|
|
67
|
-
options: ["cross", "check"],
|
|
68
|
-
},
|
|
69
|
-
},
|
|
70
|
-
},
|
|
71
|
-
parameters: {
|
|
72
|
-
backgrounds: {
|
|
73
|
-
default: "light",
|
|
74
|
-
values: [
|
|
75
|
-
{ name: "light", value: "#ffffff" },
|
|
76
|
-
{ name: "grey", value: "#728ea7" },
|
|
77
|
-
{ name: "figma", value: "#404040" },
|
|
78
|
-
{ name: "dark", value: "#171e25" },
|
|
79
|
-
],
|
|
80
|
-
},
|
|
81
|
-
},
|
|
82
|
-
};
|
|
83
|
-
var Template = function (args) {
|
|
84
|
-
var _a = useState(args.checked), checked = _a[0], setChecked = _a[1];
|
|
85
|
-
var handleChange = function (newChecked) {
|
|
86
|
-
setChecked(newChecked);
|
|
87
|
-
};
|
|
88
|
-
return React.createElement(CheckboxForm, __assign({}, args, { checked: checked, onChange: handleChange }));
|
|
89
|
-
};
|
|
90
|
-
export var Default = Template.bind({});
|
|
91
|
-
Default.args = {
|
|
92
|
-
checked: false,
|
|
93
|
-
label: "Default CheckboxForm",
|
|
94
|
-
isRequired: false,
|
|
95
|
-
color: "noir",
|
|
96
|
-
size: "default",
|
|
97
|
-
style: "default",
|
|
98
|
-
markType: "cross",
|
|
99
|
-
};
|
|
100
|
-
export var Checked = Template.bind({});
|
|
101
|
-
Checked.args = __assign(__assign({}, Default.args), { checked: true, label: "Checked CheckboxForm" });
|
|
102
|
-
export var CheckMark = Template.bind({});
|
|
103
|
-
CheckMark.args = __assign(__assign({}, Default.args), { label: "CheckboxForm with check mark", markType: "check" });
|
|
104
|
-
export var CheckedCheckMark = Template.bind({});
|
|
105
|
-
CheckedCheckMark.args = __assign(__assign({}, CheckMark.args), { checked: true, label: "Checked CheckboxForm with check mark" });
|
|
106
|
-
export var White = Template.bind({});
|
|
107
|
-
White.args = {
|
|
108
|
-
checked: false,
|
|
109
|
-
label: "White CheckboxForm",
|
|
110
|
-
isRequired: false,
|
|
111
|
-
color: "pure-white",
|
|
112
|
-
};
|
|
113
|
-
export var WhiteChecked = Template.bind({});
|
|
114
|
-
WhiteChecked.args = {
|
|
115
|
-
checked: true,
|
|
116
|
-
label: "White Checked CheckboxForm",
|
|
117
|
-
isRequired: false,
|
|
118
|
-
color: "pure-white",
|
|
119
|
-
};
|
|
120
|
-
export var Required = Template.bind({});
|
|
121
|
-
Required.args = {
|
|
122
|
-
checked: false,
|
|
123
|
-
label: "Required CheckboxForm",
|
|
124
|
-
isRequired: true,
|
|
125
|
-
color: "noir",
|
|
126
|
-
};
|
|
127
|
-
export var WithoutLabel = Template.bind({});
|
|
128
|
-
WithoutLabel.args = {
|
|
129
|
-
checked: false,
|
|
130
|
-
color: "noir",
|
|
131
|
-
};
|
|
132
|
-
export var WithLink = Template.bind({});
|
|
133
|
-
WithLink.args = {
|
|
134
|
-
checked: false,
|
|
135
|
-
isWhite: false,
|
|
136
|
-
label: "J'ai lu et j'acceptes les",
|
|
137
|
-
linkText: "conditions générales d'utilisation",
|
|
138
|
-
linkUrl: "https://example.com",
|
|
139
|
-
isRequired: false,
|
|
140
|
-
color: "noir",
|
|
141
|
-
};
|
|
142
|
-
export var Light = Template.bind({});
|
|
143
|
-
Light.args = __assign(__assign({}, Default.args), { label: "Light CheckboxForm", style: "light" });
|
|
144
|
-
export var LightChecked = Template.bind({});
|
|
145
|
-
LightChecked.args = __assign(__assign({}, Light.args), { checked: true, label: "Light Checked CheckboxForm" });
|
|
146
|
-
export var LightCheckMark = Template.bind({});
|
|
147
|
-
LightCheckMark.args = __assign(__assign({}, Light.args), { label: "Light CheckboxForm with check mark", markType: "check" });
|
|
148
|
-
export var LightCheckedCheckMark = Template.bind({});
|
|
149
|
-
LightCheckedCheckMark.args = __assign(__assign({}, LightCheckMark.args), { checked: true, label: "Light Checked CheckboxForm with check mark" });
|
|
150
|
-
export var Form = Template.bind({});
|
|
151
|
-
Form.args = __assign(__assign({}, Default.args), { label: "Form CheckboxForm", style: "form" });
|
|
152
|
-
export var FormChecked = Template.bind({});
|
|
153
|
-
FormChecked.args = __assign(__assign({}, Form.args), { checked: true, label: "Form Checked CheckboxForm" });
|
|
154
|
-
export var FormCheckMark = Template.bind({});
|
|
155
|
-
FormCheckMark.args = __assign(__assign({}, Form.args), { label: "Form CheckboxForm with check mark", markType: "check" });
|
|
156
|
-
export var FormCheckedCheckMark = Template.bind({});
|
|
157
|
-
FormCheckedCheckMark.args = __assign(__assign({}, FormCheckMark.args), { checked: true, label: "Form Checked CheckboxForm with check mark" });
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import React from "react";
|
|
2
|
-
import "../../../styles/global.css";
|
|
3
|
-
export interface ColoredCheckboxProps {
|
|
4
|
-
id?: string;
|
|
5
|
-
label?: React.ReactNode;
|
|
6
|
-
checked?: boolean;
|
|
7
|
-
onChange?: (checked: boolean) => void;
|
|
8
|
-
boxColor?: string;
|
|
9
|
-
markColor?: string;
|
|
10
|
-
textColor?: string;
|
|
11
|
-
size?: "default" | "small";
|
|
12
|
-
markType?: "cross" | "check";
|
|
13
|
-
isSignedIn?: boolean;
|
|
14
|
-
unlinkIconPath?: any;
|
|
15
|
-
"data-tooltip-id"?: string;
|
|
16
|
-
"data-tooltip-content"?: string;
|
|
17
|
-
[key: string]: any;
|
|
18
|
-
}
|
|
19
|
-
declare const ColoredCheckbox: React.FC<ColoredCheckboxProps>;
|
|
20
|
-
export default ColoredCheckbox;
|
|
@@ -1,81 +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
|
-
var __rest = (this && this.__rest) || function (s, e) {
|
|
13
|
-
var t = {};
|
|
14
|
-
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
|
|
15
|
-
t[p] = s[p];
|
|
16
|
-
if (s != null && typeof Object.getOwnPropertySymbols === "function")
|
|
17
|
-
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
|
18
|
-
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
|
|
19
|
-
t[p[i]] = s[p[i]];
|
|
20
|
-
}
|
|
21
|
-
return t;
|
|
22
|
-
};
|
|
23
|
-
import React, { useState } from "react";
|
|
24
|
-
import styles from "./ColoredCheckbox.module.css";
|
|
25
|
-
import "../../../styles/global.css"; // Pour importer les icônes allaw
|
|
26
|
-
// Fonction pour formater l'email avec des ellipses intelligentes
|
|
27
|
-
var formatEmail = function (email) {
|
|
28
|
-
if (!email || typeof email !== "string" || !email.includes("@")) {
|
|
29
|
-
return email;
|
|
30
|
-
}
|
|
31
|
-
// Diviser l'email en parties
|
|
32
|
-
var _a = email.split("@"), localPart = _a[0], domainFull = _a[1];
|
|
33
|
-
// Diviser la partie domaine
|
|
34
|
-
var lastDotIndex = domainFull.lastIndexOf(".");
|
|
35
|
-
var domainPart = lastDotIndex > 0 ? domainFull.substring(0, lastDotIndex) : domainFull;
|
|
36
|
-
var tld = lastDotIndex > 0 ? domainFull.substring(lastDotIndex) : "";
|
|
37
|
-
return (React.createElement("div", { className: styles.emailContainer },
|
|
38
|
-
React.createElement("span", { className: "".concat(styles.emailPart, " ").concat(styles.emailLocalPart) }, localPart),
|
|
39
|
-
React.createElement("span", null, "@"),
|
|
40
|
-
React.createElement("span", { className: "".concat(styles.emailPart, " ").concat(styles.emailDomainPart) }, domainPart),
|
|
41
|
-
React.createElement("span", { className: styles.emailTLD }, tld)));
|
|
42
|
-
};
|
|
43
|
-
var ColoredCheckbox = function (_a) {
|
|
44
|
-
var id = _a.id, _b = _a.label, label = _b === void 0 ? "mon-email@provider.com" : _b, _c = _a.checked, checked = _c === void 0 ? false : _c, onChange = _a.onChange, _d = _a.boxColor, boxColor = _d === void 0 ? "#000000" : _d, _e = _a.markColor, markColor = _e === void 0 ? "#FFFFFF" : _e, _f = _a.textColor, textColor = _f === void 0 ? "#000000" : _f, _g = _a.size, size = _g === void 0 ? "default" : _g, _h = _a.markType, markType = _h === void 0 ? "cross" : _h, _j = _a.isSignedIn, isSignedIn = _j === void 0 ? true : _j, _k = _a.unlinkIconPath, unlinkIconPath = _k === void 0 ? "/assets/images/allaw-icon-unlink-red.svg" : _k, tooltipId = _a["data-tooltip-id"], tooltipContent = _a["data-tooltip-content"], rest = __rest(_a, ["id", "label", "checked", "onChange", "boxColor", "markColor", "textColor", "size", "markType", "isSignedIn", "unlinkIconPath", "data-tooltip-id", "data-tooltip-content"]);
|
|
45
|
-
var _l = useState(checked), isChecked = _l[0], setIsChecked = _l[1];
|
|
46
|
-
// Generate a random ID if none is provided
|
|
47
|
-
var checkboxId = id || "checkbox-".concat(Math.random().toString(36).substr(2, 9));
|
|
48
|
-
var handleClick = function (e) {
|
|
49
|
-
e.preventDefault();
|
|
50
|
-
e.stopPropagation();
|
|
51
|
-
var newChecked = !isChecked;
|
|
52
|
-
setIsChecked(newChecked);
|
|
53
|
-
if (onChange) {
|
|
54
|
-
onChange(newChecked);
|
|
55
|
-
}
|
|
56
|
-
};
|
|
57
|
-
// Update internal state when checked prop changes
|
|
58
|
-
React.useEffect(function () {
|
|
59
|
-
setIsChecked(checked);
|
|
60
|
-
}, [checked]);
|
|
61
|
-
// Create custom styles for the checkbox and mark
|
|
62
|
-
var checkboxStyle = {
|
|
63
|
-
backgroundColor: isChecked ? boxColor : "transparent",
|
|
64
|
-
borderColor: boxColor,
|
|
65
|
-
};
|
|
66
|
-
var markStyle = {
|
|
67
|
-
color: markColor,
|
|
68
|
-
};
|
|
69
|
-
var labelStyle = {
|
|
70
|
-
color: textColor,
|
|
71
|
-
};
|
|
72
|
-
// Formater le label s'il s'agit d'une chaîne de caractères qui ressemble à un email
|
|
73
|
-
var formattedLabel = typeof label === "string" && label.includes("@")
|
|
74
|
-
? formatEmail(label)
|
|
75
|
-
: label;
|
|
76
|
-
return (React.createElement("div", __assign({ className: styles.container, "data-tooltip-id": tooltipId, "data-tooltip-content": tooltipContent || (typeof label === "string" ? label : undefined) }, rest),
|
|
77
|
-
React.createElement("button", { id: checkboxId, className: "".concat(styles.checkbox, " ").concat(isChecked ? styles.checked : "", " ").concat(size === "small" ? styles.small : ""), onClick: handleClick, style: checkboxStyle, "aria-checked": isChecked, role: "checkbox", "data-cy": "checkbox-".concat(checkboxId) }, isChecked && (React.createElement("span", { className: "".concat(styles.icon, " ").concat(markType === "cross" ? "allaw-icon-close" : "allaw-icon-check"), style: markStyle }))),
|
|
78
|
-
isSignedIn === false && unlinkIconPath && (React.createElement("img", { src: unlinkIconPath.src || unlinkIconPath, alt: "Non connect\u00E9", className: styles.unlinkIcon, width: "16", height: "16", style: { width: "16px", height: "16px" } })),
|
|
79
|
-
label && (React.createElement("label", { htmlFor: checkboxId, className: styles.label, style: labelStyle, onClick: handleClick }, formattedLabel))));
|
|
80
|
-
};
|
|
81
|
-
export default ColoredCheckbox;
|
|
@@ -1,108 +0,0 @@
|
|
|
1
|
-
declare namespace _default {
|
|
2
|
-
export let title: string;
|
|
3
|
-
export { ColoredCheckbox as component };
|
|
4
|
-
export let tags: string[];
|
|
5
|
-
export namespace args {
|
|
6
|
-
let label: string;
|
|
7
|
-
let checked: boolean;
|
|
8
|
-
let boxColor: string;
|
|
9
|
-
let markType: string;
|
|
10
|
-
}
|
|
11
|
-
export namespace argTypes {
|
|
12
|
-
export namespace checked_1 {
|
|
13
|
-
namespace control {
|
|
14
|
-
let type: string;
|
|
15
|
-
}
|
|
16
|
-
}
|
|
17
|
-
export { checked_1 as checked };
|
|
18
|
-
export namespace onChange {
|
|
19
|
-
let action: string;
|
|
20
|
-
}
|
|
21
|
-
export namespace label_1 {
|
|
22
|
-
let control_1: string;
|
|
23
|
-
export { control_1 as control };
|
|
24
|
-
}
|
|
25
|
-
export { label_1 as label };
|
|
26
|
-
export namespace boxColor_1 {
|
|
27
|
-
let control_2: string;
|
|
28
|
-
export { control_2 as control };
|
|
29
|
-
export let defaultValue: string;
|
|
30
|
-
}
|
|
31
|
-
export { boxColor_1 as boxColor };
|
|
32
|
-
export namespace markColor {
|
|
33
|
-
let control_3: string;
|
|
34
|
-
export { control_3 as control };
|
|
35
|
-
let defaultValue_1: string;
|
|
36
|
-
export { defaultValue_1 as defaultValue };
|
|
37
|
-
}
|
|
38
|
-
export namespace textColor {
|
|
39
|
-
let control_4: string;
|
|
40
|
-
export { control_4 as control };
|
|
41
|
-
let defaultValue_2: string;
|
|
42
|
-
export { defaultValue_2 as defaultValue };
|
|
43
|
-
}
|
|
44
|
-
export namespace size {
|
|
45
|
-
export namespace control_5 {
|
|
46
|
-
let type_1: string;
|
|
47
|
-
export { type_1 as type };
|
|
48
|
-
export let options: string[];
|
|
49
|
-
}
|
|
50
|
-
export { control_5 as control };
|
|
51
|
-
}
|
|
52
|
-
export namespace markType_1 {
|
|
53
|
-
export namespace control_6 {
|
|
54
|
-
let type_2: string;
|
|
55
|
-
export { type_2 as type };
|
|
56
|
-
let options_1: string[];
|
|
57
|
-
export { options_1 as options };
|
|
58
|
-
}
|
|
59
|
-
export { control_6 as control };
|
|
60
|
-
}
|
|
61
|
-
export { markType_1 as markType };
|
|
62
|
-
export namespace isSignedIn {
|
|
63
|
-
export namespace control_7 {
|
|
64
|
-
let type_3: string;
|
|
65
|
-
export { type_3 as type };
|
|
66
|
-
}
|
|
67
|
-
export { control_7 as control };
|
|
68
|
-
let defaultValue_3: boolean;
|
|
69
|
-
export { defaultValue_3 as defaultValue };
|
|
70
|
-
}
|
|
71
|
-
export namespace unlinkIconPath {
|
|
72
|
-
let control_8: string;
|
|
73
|
-
export { control_8 as control };
|
|
74
|
-
export let description: string;
|
|
75
|
-
}
|
|
76
|
-
}
|
|
77
|
-
export namespace parameters {
|
|
78
|
-
namespace backgrounds {
|
|
79
|
-
let _default: string;
|
|
80
|
-
export { _default as default };
|
|
81
|
-
export let values: {
|
|
82
|
-
name: string;
|
|
83
|
-
value: string;
|
|
84
|
-
}[];
|
|
85
|
-
}
|
|
86
|
-
}
|
|
87
|
-
}
|
|
88
|
-
export default _default;
|
|
89
|
-
export const Default: any;
|
|
90
|
-
export const Checked: any;
|
|
91
|
-
export const CheckMark: any;
|
|
92
|
-
export const CheckedCheckMark: any;
|
|
93
|
-
export const Small: any;
|
|
94
|
-
export const SmallChecked: any;
|
|
95
|
-
export const CustomColors: any;
|
|
96
|
-
export const NoLabel: any;
|
|
97
|
-
export const DarkBackground: any;
|
|
98
|
-
export const EmailLabel: any;
|
|
99
|
-
export const EmailLabelSmallContainer: any;
|
|
100
|
-
export const EmailLabelVerySmallContainer: any;
|
|
101
|
-
export const LongEmailLabel: any;
|
|
102
|
-
export const LongEmailLabelSmallContainer: any;
|
|
103
|
-
export const LongEmailLabelVerySmallContainer: any;
|
|
104
|
-
export const NotSignedIn: any;
|
|
105
|
-
export const NotSignedInEmail: any;
|
|
106
|
-
export const NotSignedInChecked: any;
|
|
107
|
-
export const CustomIconPath: any;
|
|
108
|
-
import ColoredCheckbox from "./ColoredCheckbox";
|
|
@@ -1,141 +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, { useState } from "react";
|
|
13
|
-
import ColoredCheckbox from "./ColoredCheckbox";
|
|
14
|
-
export default {
|
|
15
|
-
title: "Components/Molecules/ColoredCheckbox",
|
|
16
|
-
component: ColoredCheckbox,
|
|
17
|
-
tags: ["autodocs"],
|
|
18
|
-
args: {
|
|
19
|
-
label: "my-email-address@provider.com",
|
|
20
|
-
checked: true,
|
|
21
|
-
boxColor: "#25beeb",
|
|
22
|
-
markType: "check",
|
|
23
|
-
},
|
|
24
|
-
argTypes: {
|
|
25
|
-
checked: {
|
|
26
|
-
control: {
|
|
27
|
-
type: "boolean",
|
|
28
|
-
},
|
|
29
|
-
},
|
|
30
|
-
onChange: { action: "changed" },
|
|
31
|
-
label: {
|
|
32
|
-
control: "text",
|
|
33
|
-
},
|
|
34
|
-
boxColor: {
|
|
35
|
-
control: "color",
|
|
36
|
-
defaultValue: "#25beeb",
|
|
37
|
-
},
|
|
38
|
-
markColor: {
|
|
39
|
-
control: "color",
|
|
40
|
-
defaultValue: "#FFFFFF",
|
|
41
|
-
},
|
|
42
|
-
textColor: {
|
|
43
|
-
control: "color",
|
|
44
|
-
defaultValue: "#000000",
|
|
45
|
-
},
|
|
46
|
-
size: {
|
|
47
|
-
control: {
|
|
48
|
-
type: "select",
|
|
49
|
-
options: ["default", "small"],
|
|
50
|
-
},
|
|
51
|
-
},
|
|
52
|
-
markType: {
|
|
53
|
-
control: {
|
|
54
|
-
type: "select",
|
|
55
|
-
options: ["cross", "check"],
|
|
56
|
-
},
|
|
57
|
-
},
|
|
58
|
-
isSignedIn: {
|
|
59
|
-
control: {
|
|
60
|
-
type: "boolean",
|
|
61
|
-
},
|
|
62
|
-
defaultValue: true,
|
|
63
|
-
},
|
|
64
|
-
unlinkIconPath: {
|
|
65
|
-
control: "text",
|
|
66
|
-
description: "Chemin vers l'icône de déconnexion",
|
|
67
|
-
},
|
|
68
|
-
},
|
|
69
|
-
parameters: {
|
|
70
|
-
backgrounds: {
|
|
71
|
-
default: "light",
|
|
72
|
-
values: [
|
|
73
|
-
{ name: "light", value: "#ffffff" },
|
|
74
|
-
{ name: "grey", value: "#728ea7" },
|
|
75
|
-
{ name: "figma", value: "#404040" },
|
|
76
|
-
{ name: "dark", value: "#171e25" },
|
|
77
|
-
],
|
|
78
|
-
},
|
|
79
|
-
},
|
|
80
|
-
};
|
|
81
|
-
var Template = function (args) {
|
|
82
|
-
var _a = useState(args.checked), checked = _a[0], setChecked = _a[1];
|
|
83
|
-
var handleChange = function (newChecked) {
|
|
84
|
-
setChecked(newChecked);
|
|
85
|
-
};
|
|
86
|
-
return (React.createElement("div", { style: { width: args.containerWidth || "100%" } },
|
|
87
|
-
React.createElement(ColoredCheckbox, __assign({}, args, { checked: checked, onChange: handleChange }))));
|
|
88
|
-
};
|
|
89
|
-
export var Default = Template.bind({});
|
|
90
|
-
Default.args = {
|
|
91
|
-
checked: true,
|
|
92
|
-
label: "my-email-address@provider.com",
|
|
93
|
-
boxColor: "#25beeb",
|
|
94
|
-
markColor: "#FFFFFF",
|
|
95
|
-
textColor: "#000000",
|
|
96
|
-
size: "default",
|
|
97
|
-
markType: "check",
|
|
98
|
-
isSignedIn: true,
|
|
99
|
-
};
|
|
100
|
-
export var Checked = Template.bind({});
|
|
101
|
-
Checked.args = __assign(__assign({}, Default.args), { checked: true, label: "Checked Checkbox" });
|
|
102
|
-
export var CheckMark = Template.bind({});
|
|
103
|
-
CheckMark.args = __assign(__assign({}, Default.args), { label: "Checkbox with check mark", markType: "check" });
|
|
104
|
-
export var CheckedCheckMark = Template.bind({});
|
|
105
|
-
CheckedCheckMark.args = __assign(__assign({}, CheckMark.args), { checked: true, label: "Checked Checkbox with check mark" });
|
|
106
|
-
export var Small = Template.bind({});
|
|
107
|
-
Small.args = __assign(__assign({}, Default.args), { label: "Small Checkbox", size: "small" });
|
|
108
|
-
export var SmallChecked = Template.bind({});
|
|
109
|
-
SmallChecked.args = __assign(__assign({}, Small.args), { checked: true, label: "Small Checked Checkbox" });
|
|
110
|
-
export var CustomColors = Template.bind({});
|
|
111
|
-
CustomColors.args = __assign(__assign({}, Default.args), { checked: true, label: "Custom Colors Checkbox", boxColor: "#25beeb", markColor: "#FFFFFF", textColor: "#456073" });
|
|
112
|
-
export var NoLabel = Template.bind({});
|
|
113
|
-
NoLabel.args = __assign(__assign({}, Default.args), { label: undefined });
|
|
114
|
-
export var DarkBackground = Template.bind({});
|
|
115
|
-
DarkBackground.args = __assign(__assign({}, Default.args), { checked: true, boxColor: "#FFFFFF", markColor: "#000000", textColor: "#FFFFFF" });
|
|
116
|
-
DarkBackground.parameters = {
|
|
117
|
-
backgrounds: { default: "dark" },
|
|
118
|
-
};
|
|
119
|
-
// Exemples avec des adresses email
|
|
120
|
-
export var EmailLabel = Template.bind({});
|
|
121
|
-
EmailLabel.args = __assign(__assign({}, Default.args), { checked: true, label: "vincent.desbrosses@hotmail.com", boxColor: "#25beeb" });
|
|
122
|
-
export var EmailLabelSmallContainer = Template.bind({});
|
|
123
|
-
EmailLabelSmallContainer.args = __assign(__assign({}, EmailLabel.args), { containerWidth: "300px" });
|
|
124
|
-
export var EmailLabelVerySmallContainer = Template.bind({});
|
|
125
|
-
EmailLabelVerySmallContainer.args = __assign(__assign({}, EmailLabel.args), { containerWidth: "200px" });
|
|
126
|
-
export var LongEmailLabel = Template.bind({});
|
|
127
|
-
LongEmailLabel.args = __assign(__assign({}, Default.args), { checked: true, label: "very.long.email.address.with.many.parts@some-company-with-long-domain-name.com", boxColor: "#25beeb" });
|
|
128
|
-
export var LongEmailLabelSmallContainer = Template.bind({});
|
|
129
|
-
LongEmailLabelSmallContainer.args = __assign(__assign({}, LongEmailLabel.args), { containerWidth: "300px" });
|
|
130
|
-
export var LongEmailLabelVerySmallContainer = Template.bind({});
|
|
131
|
-
LongEmailLabelVerySmallContainer.args = __assign(__assign({}, LongEmailLabel.args), { containerWidth: "200px" });
|
|
132
|
-
// Exemples avec isSignedIn
|
|
133
|
-
export var NotSignedIn = Template.bind({});
|
|
134
|
-
NotSignedIn.args = __assign(__assign({}, Default.args), { label: "User not signed in", isSignedIn: false });
|
|
135
|
-
export var NotSignedInEmail = Template.bind({});
|
|
136
|
-
NotSignedInEmail.args = __assign(__assign({}, EmailLabel.args), { label: "vincent.desbrosses@hotmail.com", isSignedIn: false });
|
|
137
|
-
export var NotSignedInChecked = Template.bind({});
|
|
138
|
-
NotSignedInChecked.args = __assign(__assign({}, NotSignedIn.args), { checked: true });
|
|
139
|
-
// Exemple avec un chemin d'icône personnalisé
|
|
140
|
-
export var CustomIconPath = Template.bind({});
|
|
141
|
-
CustomIconPath.args = __assign({}, NotSignedIn.args);
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import React from "react";
|
|
2
|
-
import "./ClientLinkCard.css";
|
|
3
|
-
import "../../../styles/icons.css";
|
|
4
|
-
export type ClientLinkCardProps = {
|
|
5
|
-
clientFirstName: string;
|
|
6
|
-
clientName: string;
|
|
7
|
-
clientMail: string;
|
|
8
|
-
isLoading?: boolean;
|
|
9
|
-
company?: string;
|
|
10
|
-
showArrowOnHover?: boolean;
|
|
11
|
-
onClientCardClick?: () => any;
|
|
12
|
-
isSelected?: boolean;
|
|
13
|
-
};
|
|
14
|
-
declare function ClientLinkCard({ clientFirstName, isLoading, clientName, clientMail, company, showArrowOnHover, onClientCardClick, isSelected, }: ClientLinkCardProps): React.JSX.Element;
|
|
15
|
-
export default ClientLinkCard;
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import React from "react";
|
|
2
|
-
import { Paragraph, SmallTitle } from "../../atoms/typography";
|
|
3
|
-
import "./ClientLinkCard.css";
|
|
4
|
-
import "../../../styles/icons.css";
|
|
5
|
-
import LoadingBox from "../loadingBox/LoadingBox";
|
|
6
|
-
function ClientLinkCard(_a) {
|
|
7
|
-
var clientFirstName = _a.clientFirstName, isLoading = _a.isLoading, clientName = _a.clientName, clientMail = _a.clientMail, company = _a.company, _b = _a.showArrowOnHover, showArrowOnHover = _b === void 0 ? false : _b, onClientCardClick = _a.onClientCardClick, _c = _a.isSelected, isSelected = _c === void 0 ? false : _c;
|
|
8
|
-
return !isLoading ? (React.createElement("div", { className: "client-link-card ".concat(showArrowOnHover ? "client-link-card--arrow-on-hover" : "", " ").concat(isSelected ? "client-link-card--selected" : ""), style: {
|
|
9
|
-
cursor: onClientCardClick || isSelected ? "pointer" : "default",
|
|
10
|
-
}, onClick: onClientCardClick || (isSelected ? function () { } : undefined) },
|
|
11
|
-
React.createElement("div", { className: "client-link-card-left" },
|
|
12
|
-
React.createElement(Paragraph, { variant: "semiBold", text: "".concat(clientFirstName, " ").concat(clientName === null || clientName === void 0 ? void 0 : clientName.toUpperCase()), size: "default", maxLines: 1, color: "noir" }),
|
|
13
|
-
React.createElement(SmallTitle, { variant: "medium12", color: "mid-grey", text: clientMail === null || clientMail === void 0 ? void 0 : clientMail.toLowerCase() })),
|
|
14
|
-
React.createElement("div", { className: "client-link-card-right ".concat(!company ? "client-link-card-right--centered" : "") },
|
|
15
|
-
company && (React.createElement("span", { className: "client-link-card-office-tag" }, company)),
|
|
16
|
-
React.createElement("i", { className: "allaw-icon-arrow-right client-link-card-arrow" })))) : (React.createElement(LoadingBox, { boxHeight: "91px", boxRadius: "16px", boxWidth: "100%" }));
|
|
17
|
-
}
|
|
18
|
-
export default ClientLinkCard;
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
declare namespace _default {
|
|
2
|
-
export let title: string;
|
|
3
|
-
export { ClientLinkCard as component };
|
|
4
|
-
}
|
|
5
|
-
export default _default;
|
|
6
|
-
export const Default: any;
|
|
7
|
-
export const WithoutCompany: any;
|
|
8
|
-
export const WithArrowOnHover: any;
|
|
9
|
-
export const WithoutCompanyAndArrowOnHover: any;
|
|
10
|
-
export const Selected: any;
|
|
11
|
-
import ClientLinkCard from "./ClientLinkCard";
|
|
@@ -1,59 +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 ClientLinkCard from "./ClientLinkCard";
|
|
14
|
-
export default {
|
|
15
|
-
title: "Components/Molecules/ClientLinkCard",
|
|
16
|
-
component: ClientLinkCard,
|
|
17
|
-
};
|
|
18
|
-
var Template = function (args) { return React.createElement(ClientLinkCard, __assign({}, args)); };
|
|
19
|
-
export var Default = Template.bind({});
|
|
20
|
-
Default.args = {
|
|
21
|
-
clientFirstName: "John",
|
|
22
|
-
clientName: "Doe",
|
|
23
|
-
clientMail: "john.doe@example.com",
|
|
24
|
-
company: "ACME Corp",
|
|
25
|
-
showArrowOnHover: false,
|
|
26
|
-
onClientCardClick: function () { return alert("Client card clicked!"); },
|
|
27
|
-
};
|
|
28
|
-
export var WithoutCompany = Template.bind({});
|
|
29
|
-
WithoutCompany.args = {
|
|
30
|
-
clientFirstName: "Jane",
|
|
31
|
-
clientName: "Smith",
|
|
32
|
-
clientMail: "jane.smith@example.com",
|
|
33
|
-
showArrowOnHover: false,
|
|
34
|
-
onClientCardClick: function () { return alert("Client card clicked!"); },
|
|
35
|
-
};
|
|
36
|
-
export var WithArrowOnHover = Template.bind({});
|
|
37
|
-
WithArrowOnHover.args = {
|
|
38
|
-
clientFirstName: "Alice",
|
|
39
|
-
clientName: "Johnson",
|
|
40
|
-
clientMail: "alice.johnson@example.com",
|
|
41
|
-
company: "Tech Corp",
|
|
42
|
-
showArrowOnHover: true,
|
|
43
|
-
onClientCardClick: function () { return alert("Client card clicked!"); },
|
|
44
|
-
};
|
|
45
|
-
export var WithoutCompanyAndArrowOnHover = Template.bind({});
|
|
46
|
-
WithoutCompanyAndArrowOnHover.args = {
|
|
47
|
-
clientFirstName: "Bob",
|
|
48
|
-
clientName: "Wilson",
|
|
49
|
-
clientMail: "bob.wilson@example.com",
|
|
50
|
-
showArrowOnHover: true,
|
|
51
|
-
onClientCardClick: function () { return alert("Client card clicked!"); },
|
|
52
|
-
};
|
|
53
|
-
export var Selected = Template.bind({});
|
|
54
|
-
Selected.args = {
|
|
55
|
-
clientFirstName: "Michael",
|
|
56
|
-
clientName: "Brown",
|
|
57
|
-
clientMail: "michael.brown@example.com",
|
|
58
|
-
isSelected: true,
|
|
59
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { default as ClientLinkCard } from "./ClientLinkCard";
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import React, { ReactNode } from "react";
|
|
2
|
-
export interface ContactCardProps {
|
|
3
|
-
name: string;
|
|
4
|
-
status: string;
|
|
5
|
-
phone: string;
|
|
6
|
-
email: string;
|
|
7
|
-
isEditable?: boolean;
|
|
8
|
-
onEdit?: () => void;
|
|
9
|
-
onClick?: () => void;
|
|
10
|
-
gender: "male" | "female";
|
|
11
|
-
actionsButton?: ReactNode;
|
|
12
|
-
actionIconName?: string;
|
|
13
|
-
clientLabel?: string;
|
|
14
|
-
}
|
|
15
|
-
declare const ContactCard: React.FC<ContactCardProps>;
|
|
16
|
-
export default ContactCard;
|