allaw-ui 3.4.1 → 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 -109
- package/dist/index.js +0 -108
- 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,200 +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 CaseCard from "./CaseCard";
|
|
14
|
-
import "../../../styles/global.css";
|
|
15
|
-
export default {
|
|
16
|
-
title: "Components/Molecules/CaseCard",
|
|
17
|
-
component: CaseCard,
|
|
18
|
-
tags: ["autodocs"],
|
|
19
|
-
argTypes: {
|
|
20
|
-
variant: {
|
|
21
|
-
control: {
|
|
22
|
-
type: "select",
|
|
23
|
-
options: ["desktop", "mobile", "archived"],
|
|
24
|
-
},
|
|
25
|
-
description: "Variante d'affichage de la carte",
|
|
26
|
-
},
|
|
27
|
-
categoryLabelLimit: {
|
|
28
|
-
control: {
|
|
29
|
-
type: "number",
|
|
30
|
-
},
|
|
31
|
-
description: "Nombre maximum de caractères pour les catégories",
|
|
32
|
-
},
|
|
33
|
-
isDisabled: {
|
|
34
|
-
control: {
|
|
35
|
-
type: "boolean",
|
|
36
|
-
},
|
|
37
|
-
description: "Indique si le composant est désactivé ou clôturé",
|
|
38
|
-
},
|
|
39
|
-
dateStyle: {
|
|
40
|
-
control: {
|
|
41
|
-
type: "select",
|
|
42
|
-
options: ["horizontal", "hybride", "vertical"],
|
|
43
|
-
},
|
|
44
|
-
description: "Style de date à utiliser pour le composant CardDate",
|
|
45
|
-
},
|
|
46
|
-
dateLabel: {
|
|
47
|
-
control: {
|
|
48
|
-
type: "text",
|
|
49
|
-
},
|
|
50
|
-
description: "Label à afficher avant la date",
|
|
51
|
-
},
|
|
52
|
-
barColor: {
|
|
53
|
-
control: {
|
|
54
|
-
type: "select",
|
|
55
|
-
options: ["blue", "red", "green", "grey"],
|
|
56
|
-
},
|
|
57
|
-
description: "Couleur de la barre de progression",
|
|
58
|
-
},
|
|
59
|
-
showYear: {
|
|
60
|
-
control: {
|
|
61
|
-
type: "boolean",
|
|
62
|
-
},
|
|
63
|
-
description: "Afficher ou masquer l'année dans la date",
|
|
64
|
-
},
|
|
65
|
-
steps: {
|
|
66
|
-
control: {
|
|
67
|
-
type: "number",
|
|
68
|
-
},
|
|
69
|
-
description: "Nombre total d'étapes de la barre de progression",
|
|
70
|
-
},
|
|
71
|
-
currentStep: {
|
|
72
|
-
control: {
|
|
73
|
-
type: "number",
|
|
74
|
-
},
|
|
75
|
-
description: "Étape actuelle de la barre de progression",
|
|
76
|
-
},
|
|
77
|
-
},
|
|
78
|
-
parameters: {
|
|
79
|
-
backgrounds: {
|
|
80
|
-
default: "light",
|
|
81
|
-
values: [
|
|
82
|
-
{ name: "light", value: "#ffffff" },
|
|
83
|
-
{ name: "grey", value: "#728ea7" },
|
|
84
|
-
{ name: "figma", value: "#404040" },
|
|
85
|
-
{ name: "dark", value: "#171e25" },
|
|
86
|
-
],
|
|
87
|
-
},
|
|
88
|
-
},
|
|
89
|
-
};
|
|
90
|
-
var Template = function (args) { return React.createElement(CaseCard, __assign({}, args)); };
|
|
91
|
-
export var Desktop = Template.bind({});
|
|
92
|
-
Desktop.args = {
|
|
93
|
-
clientName: "MME. JANE DOE",
|
|
94
|
-
title: "Divorce à l'amiable",
|
|
95
|
-
nextAppointment: {
|
|
96
|
-
date: "2024-10-31",
|
|
97
|
-
time: "14:15",
|
|
98
|
-
},
|
|
99
|
-
categories: ["Droit de la famille", "Divorce"],
|
|
100
|
-
variant: "desktop",
|
|
101
|
-
categoryLabelLimit: 20,
|
|
102
|
-
isDisabled: false,
|
|
103
|
-
dateStyle: "hybride",
|
|
104
|
-
dateLabel: "Proch. rdv",
|
|
105
|
-
barColor: "blue",
|
|
106
|
-
showYear: true,
|
|
107
|
-
steps: 100,
|
|
108
|
-
currentStep: 50,
|
|
109
|
-
};
|
|
110
|
-
export var Mobile = Template.bind({});
|
|
111
|
-
Mobile.args = {
|
|
112
|
-
clientName: "MME. JANE DOE",
|
|
113
|
-
title: "Divorce à l'amiable avec une procédure très longue et complexe",
|
|
114
|
-
nextAppointment: {
|
|
115
|
-
date: "2024-10-31",
|
|
116
|
-
},
|
|
117
|
-
categories: ["Droit de la famille", "Divorce"],
|
|
118
|
-
variant: "mobile",
|
|
119
|
-
categoryLabelLimit: 15,
|
|
120
|
-
isDisabled: true,
|
|
121
|
-
dateStyle: "horizontal",
|
|
122
|
-
dateLabel: "Clôturé le :",
|
|
123
|
-
barColor: "grey",
|
|
124
|
-
showYear: false,
|
|
125
|
-
steps: 100,
|
|
126
|
-
currentStep: 100,
|
|
127
|
-
};
|
|
128
|
-
export var LongCategories = Template.bind({});
|
|
129
|
-
LongCategories.args = {
|
|
130
|
-
clientName: "MME. JANE DOE",
|
|
131
|
-
title: "Divorce à l'amiable",
|
|
132
|
-
nextAppointment: {
|
|
133
|
-
date: "2024-10-31",
|
|
134
|
-
},
|
|
135
|
-
categories: [
|
|
136
|
-
"Droit de la famille très long",
|
|
137
|
-
"Divorce avec procédure complexe",
|
|
138
|
-
],
|
|
139
|
-
variant: "desktop",
|
|
140
|
-
categoryLabelLimit: 10,
|
|
141
|
-
isDisabled: false,
|
|
142
|
-
dateStyle: "vertical",
|
|
143
|
-
dateLabel: "Proch rdv",
|
|
144
|
-
barColor: "green",
|
|
145
|
-
showYear: true,
|
|
146
|
-
steps: 100,
|
|
147
|
-
currentStep: 75,
|
|
148
|
-
};
|
|
149
|
-
export var LongTitle = Template.bind({});
|
|
150
|
-
LongTitle.args = {
|
|
151
|
-
clientName: "MME. JANE DOE",
|
|
152
|
-
title: "Ceci est un très long titre qui devrait être tronqué après exactement deux lignes avec des points de suspension à la fin du texte",
|
|
153
|
-
nextAppointment: {
|
|
154
|
-
date: "2024-10-31",
|
|
155
|
-
},
|
|
156
|
-
categories: ["Droit de la famille", "Divorce"],
|
|
157
|
-
variant: "desktop",
|
|
158
|
-
isDisabled: true,
|
|
159
|
-
dateStyle: "hybride",
|
|
160
|
-
dateLabel: "Clôturé le :",
|
|
161
|
-
barColor: "red",
|
|
162
|
-
showYear: false,
|
|
163
|
-
steps: 100,
|
|
164
|
-
currentStep: 100,
|
|
165
|
-
};
|
|
166
|
-
export var Archived = Template.bind({});
|
|
167
|
-
Archived.args = {
|
|
168
|
-
clientName: "MME. JANE DOE",
|
|
169
|
-
title: "Divorce à l'amiable depuis longtemps",
|
|
170
|
-
categories: ["Droit de la famille", "Divorce"],
|
|
171
|
-
variant: "archived",
|
|
172
|
-
isDisabled: false,
|
|
173
|
-
dateStyle: "horizontal",
|
|
174
|
-
dateLabel: "Proch. rdv",
|
|
175
|
-
barColor: "grey",
|
|
176
|
-
showYear: true,
|
|
177
|
-
steps: 100,
|
|
178
|
-
currentStep: 90,
|
|
179
|
-
};
|
|
180
|
-
LongCategories.parameters = {
|
|
181
|
-
docs: {
|
|
182
|
-
description: {
|
|
183
|
-
story: "Exemple avec des catégories longues et une limite de caractères courte",
|
|
184
|
-
},
|
|
185
|
-
},
|
|
186
|
-
};
|
|
187
|
-
export var RedProgressBar = Template.bind({});
|
|
188
|
-
RedProgressBar.args = __assign(__assign({}, Desktop.args), { barColor: "red" });
|
|
189
|
-
export var GreenProgressBar = Template.bind({});
|
|
190
|
-
GreenProgressBar.args = __assign(__assign({}, Desktop.args), { barColor: "green" });
|
|
191
|
-
export var GreyProgressBar = Template.bind({});
|
|
192
|
-
GreyProgressBar.args = __assign(__assign({}, Desktop.args), { barColor: "grey" });
|
|
193
|
-
export var WithYear = Template.bind({});
|
|
194
|
-
WithYear.args = __assign(__assign({}, Desktop.args), { showYear: true });
|
|
195
|
-
export var WithoutYear = Template.bind({});
|
|
196
|
-
WithoutYear.args = __assign(__assign({}, Desktop.args), { showYear: false });
|
|
197
|
-
export var ProgressExample = Template.bind({});
|
|
198
|
-
ProgressExample.args = __assign(__assign({}, Desktop.args), { steps: 100, currentStep: 75, barColor: "blue" });
|
|
199
|
-
export var CompletedProgress = Template.bind({});
|
|
200
|
-
CompletedProgress.args = __assign(__assign({}, Desktop.args), { steps: 100, currentStep: 100, barColor: "green" });
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { default as CaseCard } from "./CaseCard";
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import React from "react";
|
|
2
|
-
import { FolderStatus } from "../../atoms/tags/FolderStatusTag";
|
|
3
|
-
import "./caseCardCompact.css";
|
|
4
|
-
import "../../../styles/icons.css";
|
|
5
|
-
export type CaseCardCompactProps = {
|
|
6
|
-
folderTitle: string;
|
|
7
|
-
folderStatus: FolderStatus;
|
|
8
|
-
clientName: string;
|
|
9
|
-
isLoading?: boolean;
|
|
10
|
-
category?: string;
|
|
11
|
-
showArrowOnHover?: boolean;
|
|
12
|
-
onClientCardClick?: () => any;
|
|
13
|
-
isSelected?: boolean;
|
|
14
|
-
};
|
|
15
|
-
declare function CaseCardCompact({ folderTitle, folderStatus, isLoading, clientName, category, showArrowOnHover, onClientCardClick, isSelected, }: CaseCardCompactProps): React.JSX.Element;
|
|
16
|
-
export default CaseCardCompact;
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import React from "react";
|
|
2
|
-
import Paragraph from "../../atoms/typography/Paragraph";
|
|
3
|
-
import SmallTitle from "../../atoms/typography/SmallTitle";
|
|
4
|
-
import FolderStatusTag from "../../atoms/tags/FolderStatusTag";
|
|
5
|
-
import "./caseCardCompact.css";
|
|
6
|
-
import "../../../styles/icons.css";
|
|
7
|
-
import LoadingBox from "../loadingBox/LoadingBox";
|
|
8
|
-
function CaseCardCompact(_a) {
|
|
9
|
-
var folderTitle = _a.folderTitle, folderStatus = _a.folderStatus, isLoading = _a.isLoading, clientName = _a.clientName, category = _a.category, _b = _a.showArrowOnHover, showArrowOnHover = _b === void 0 ? false : _b, onClientCardClick = _a.onClientCardClick, _c = _a.isSelected, isSelected = _c === void 0 ? false : _c;
|
|
10
|
-
return !isLoading ? (React.createElement("div", { className: "case-card-compact ".concat(showArrowOnHover ? "case-card-compact--arrow-on-hover" : "", " ").concat(isSelected ? "case-card-compact--selected" : ""), style: {
|
|
11
|
-
cursor: onClientCardClick || isSelected ? "pointer" : "default",
|
|
12
|
-
}, onClick: onClientCardClick || (isSelected ? function () { } : undefined) },
|
|
13
|
-
React.createElement("div", { className: "case-card-compact-left" },
|
|
14
|
-
React.createElement("span", { className: "title-tag" },
|
|
15
|
-
React.createElement(Paragraph, { variant: "semiBold", text: folderTitle, size: "default", maxLines: 1, color: "noir" }),
|
|
16
|
-
React.createElement(FolderStatusTag, { status: folderStatus })),
|
|
17
|
-
React.createElement(SmallTitle, { variant: "medium12", color: "mid-grey", text: clientName || "" })),
|
|
18
|
-
React.createElement("div", { className: "case-card-compact-right ".concat(!category ? "case-card-compact-right--centered" : "") }, category && (React.createElement("span", { className: "case-card-compact-office-tag" }, category))))) : (React.createElement(LoadingBox, { boxHeight: "91px", boxRadius: "16px", boxWidth: "100%" }));
|
|
19
|
-
}
|
|
20
|
-
export default CaseCardCompact;
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
declare namespace _default {
|
|
2
|
-
export let title: string;
|
|
3
|
-
export { CaseCardCompact as component };
|
|
4
|
-
}
|
|
5
|
-
export default _default;
|
|
6
|
-
export const Default: any;
|
|
7
|
-
export const WithoutCategory: any;
|
|
8
|
-
export const WithArrowOnHover: any;
|
|
9
|
-
export const WithoutCategoryAndArrowOnHover: any;
|
|
10
|
-
export const Selected: any;
|
|
11
|
-
import CaseCardCompact from "../caseCardCompact/CaseCardCompact";
|
|
@@ -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 CaseCardCompact from "../caseCardCompact/CaseCardCompact";
|
|
14
|
-
export default {
|
|
15
|
-
title: "Components/Molecules/CaseCardCompact",
|
|
16
|
-
component: CaseCardCompact,
|
|
17
|
-
};
|
|
18
|
-
var Template = function (args) { return React.createElement(CaseCardCompact, __assign({}, args)); };
|
|
19
|
-
export var Default = Template.bind({});
|
|
20
|
-
Default.args = {
|
|
21
|
-
folderTitle: "Dossier John Doe",
|
|
22
|
-
folderStatus: "OPEN",
|
|
23
|
-
clientName: "John DOE",
|
|
24
|
-
category: "Droit des personnes",
|
|
25
|
-
showArrowOnHover: false,
|
|
26
|
-
onClientCardClick: function () { return alert("Client card clicked!"); },
|
|
27
|
-
};
|
|
28
|
-
export var WithoutCategory = Template.bind({});
|
|
29
|
-
WithoutCategory.args = {
|
|
30
|
-
folderTitle: "Dossier Jane Smith",
|
|
31
|
-
folderStatus: "CLOSED",
|
|
32
|
-
clientName: "John DOE",
|
|
33
|
-
showArrowOnHover: false,
|
|
34
|
-
onClientCardClick: function () { return alert("Client card clicked!"); },
|
|
35
|
-
};
|
|
36
|
-
export var WithArrowOnHover = Template.bind({});
|
|
37
|
-
WithArrowOnHover.args = {
|
|
38
|
-
folderTitle: "Dossier Alice Johnson",
|
|
39
|
-
folderStatus: "OPEN",
|
|
40
|
-
clientName: "John DOE",
|
|
41
|
-
category: "Droit des personnes",
|
|
42
|
-
showArrowOnHover: true,
|
|
43
|
-
onClientCardClick: function () { return alert("Client card clicked!"); },
|
|
44
|
-
};
|
|
45
|
-
export var WithoutCategoryAndArrowOnHover = Template.bind({});
|
|
46
|
-
WithoutCategoryAndArrowOnHover.args = {
|
|
47
|
-
folderTitle: "Dossier Bob Wilson",
|
|
48
|
-
folderStatus: "BLOCKED",
|
|
49
|
-
clientName: "John DOE",
|
|
50
|
-
showArrowOnHover: true,
|
|
51
|
-
onClientCardClick: function () { return alert("Client card clicked!"); },
|
|
52
|
-
};
|
|
53
|
-
export var Selected = Template.bind({});
|
|
54
|
-
Selected.args = {
|
|
55
|
-
folderTitle: "Dossier Michael Brown",
|
|
56
|
-
folderStatus: "OPEN",
|
|
57
|
-
clientName: "John DOE",
|
|
58
|
-
isSelected: true,
|
|
59
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { default as CaseCardCompact } from "./CaseCardCompact";
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
declare namespace _default {
|
|
2
|
-
export let title: string;
|
|
3
|
-
export { CaseLinkCard as component };
|
|
4
|
-
}
|
|
5
|
-
export default _default;
|
|
6
|
-
export const Default: any;
|
|
7
|
-
export const AddLink: any;
|
|
8
|
-
export const AnotherExample: any;
|
|
9
|
-
import CaseLinkCard from "./CaseLinkCard";
|
|
@@ -1,37 +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 CaseLinkCard from "./CaseLinkCard";
|
|
14
|
-
export default {
|
|
15
|
-
title: "Components/Molecules/CaseLinkCard",
|
|
16
|
-
component: CaseLinkCard,
|
|
17
|
-
};
|
|
18
|
-
var Template = function (args) { return React.createElement(CaseLinkCard, __assign({}, args)); };
|
|
19
|
-
export var Default = Template.bind({});
|
|
20
|
-
Default.args = {
|
|
21
|
-
proName: "John Doe",
|
|
22
|
-
caseName: "Case #12345",
|
|
23
|
-
createdDate: new Date(2024, 9, 21), // Example date: 21st October 2024
|
|
24
|
-
};
|
|
25
|
-
export var AddLink = Template.bind({});
|
|
26
|
-
AddLink.args = {
|
|
27
|
-
proName: "John Doe",
|
|
28
|
-
canLinkCase: true,
|
|
29
|
-
onCaseCardClick: function () { },
|
|
30
|
-
createdDate: new Date(2024, 9, 21), // Example date: 21st October 2024
|
|
31
|
-
};
|
|
32
|
-
export var AnotherExample = Template.bind({});
|
|
33
|
-
AnotherExample.args = {
|
|
34
|
-
proName: "Jane Smith",
|
|
35
|
-
caseName: "Case #98765",
|
|
36
|
-
createdDate: new Date(2023, 5, 10), // Example date: 10th June 2023
|
|
37
|
-
};
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import React from "react";
|
|
2
|
-
import "./CaseLinkCard.css";
|
|
3
|
-
export type CaseLinkCardProps = {
|
|
4
|
-
proName?: string;
|
|
5
|
-
caseName?: string;
|
|
6
|
-
createdDate?: Date;
|
|
7
|
-
isLoading?: boolean;
|
|
8
|
-
canLinkCase?: boolean;
|
|
9
|
-
onCaseCardClick?: () => any;
|
|
10
|
-
onCaseLinkRequest?: () => any;
|
|
11
|
-
};
|
|
12
|
-
declare function CaseLinkCard({ proName, caseName, createdDate, onCaseCardClick, isLoading, canLinkCase, onCaseLinkRequest, }: CaseLinkCardProps): React.JSX.Element;
|
|
13
|
-
export default CaseLinkCard;
|
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
import React from "react";
|
|
2
|
-
import "./CaseLinkCard.css";
|
|
3
|
-
import { Paragraph, SmallTitle } from "../../atoms/typography";
|
|
4
|
-
import LoadingBox from "../loadingBox/LoadingBox";
|
|
5
|
-
function CaseLinkCard(_a) {
|
|
6
|
-
var proName = _a.proName, caseName = _a.caseName, createdDate = _a.createdDate, onCaseCardClick = _a.onCaseCardClick, _b = _a.isLoading, isLoading = _b === void 0 ? false : _b, _c = _a.canLinkCase, canLinkCase = _c === void 0 ? false : _c, onCaseLinkRequest = _a.onCaseLinkRequest;
|
|
7
|
-
var formatDate = function (date) {
|
|
8
|
-
return date.toLocaleDateString("fr-FR", {
|
|
9
|
-
day: "2-digit",
|
|
10
|
-
month: "2-digit",
|
|
11
|
-
year: "2-digit",
|
|
12
|
-
});
|
|
13
|
-
};
|
|
14
|
-
var formatProName = function (name) {
|
|
15
|
-
return "Ma\u00EEtre ".concat(name).toUpperCase();
|
|
16
|
-
};
|
|
17
|
-
return !isLoading ? (React.createElement(React.Fragment, null, caseName || (!onCaseLinkRequest && !canLinkCase) ? (React.createElement(React.Fragment, null,
|
|
18
|
-
React.createElement("div", { className: "case-card-link", onClick: function () { return onCaseCardClick && onCaseCardClick(); }, style: { cursor: onCaseCardClick ? "pointer" : "default" } },
|
|
19
|
-
React.createElement("div", { className: "case-card-link-folder-icon" },
|
|
20
|
-
React.createElement("i", { className: "allaw-icon-folder", style: { fontSize: "20px" } })),
|
|
21
|
-
React.createElement("div", { className: "case-card-link-right" },
|
|
22
|
-
React.createElement("div", { className: "case-card-link-right" },
|
|
23
|
-
React.createElement("div", { className: "case-card-link-info-row" },
|
|
24
|
-
React.createElement(SmallTitle, { text: "DOSSIER", variant: "semiBold12", color: "dark-grey" }),
|
|
25
|
-
createdDate && (React.createElement(SmallTitle, { text: "Cr\u00E9\u00E9 le ".concat(formatDate(createdDate)), variant: "semiBold12", color: "dark-grey" }))),
|
|
26
|
-
React.createElement("div", { className: "case-card-link-info-row-bottom" },
|
|
27
|
-
React.createElement("div", { className: "case-card-link-info-col" },
|
|
28
|
-
React.createElement(Paragraph, { variant: "bold", size: "default", text: caseName, maxLines: 1 }),
|
|
29
|
-
proName && (React.createElement(SmallTitle, { variant: "medium12", color: "mid-grey", text: formatProName(proName) }))),
|
|
30
|
-
React.createElement("i", { className: "allaw-icon-arrow-right" }))))))) : (React.createElement("div", { className: "case-card-no-folder-wrapper", onClick: function () { return onCaseLinkRequest && onCaseLinkRequest(); } },
|
|
31
|
-
React.createElement("div", { className: "case-card-no-folder-right" },
|
|
32
|
-
React.createElement(SmallTitle, { text: "AUNCUN DOSSIER LI\u00C9", variant: "semiBold12", color: "dark-grey" }),
|
|
33
|
-
React.createElement(Paragraph, { variant: "bold", size: "default", text: "Ajouter à un dossier", maxLines: 1 })),
|
|
34
|
-
React.createElement("div", { className: "case-card-link-no-folder-icon" },
|
|
35
|
-
React.createElement("i", { className: "allaw-icon-add", style: { fontSize: "18px" } })))))) : (React.createElement(LoadingBox, { boxHeight: "100px", boxRadius: "8px", boxWidth: "100%" }));
|
|
36
|
-
}
|
|
37
|
-
export default CaseLinkCard;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { default as CaseCardLink } from "./CaseLinkCard";
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import React from "react";
|
|
2
|
-
import { ParagraphProps } from "../../atoms/typography/Paragraph";
|
|
3
|
-
import "./CheckboxForm.css";
|
|
4
|
-
export interface CheckboxFormProps {
|
|
5
|
-
id?: string;
|
|
6
|
-
checked?: boolean;
|
|
7
|
-
onChange?: (checked: boolean) => void;
|
|
8
|
-
color?: ParagraphProps["color"];
|
|
9
|
-
label?: React.ReactNode;
|
|
10
|
-
isRequired?: boolean;
|
|
11
|
-
linkText?: string;
|
|
12
|
-
linkUrl?: string;
|
|
13
|
-
onLinkClick?: (e: React.MouseEvent<HTMLAnchorElement>) => void;
|
|
14
|
-
size?: "default" | "small";
|
|
15
|
-
style?: "default" | "light" | "form";
|
|
16
|
-
markType?: "cross" | "check";
|
|
17
|
-
dataTestId?: string;
|
|
18
|
-
}
|
|
19
|
-
declare const CheckboxForm: React.FC<CheckboxFormProps>;
|
|
20
|
-
export default CheckboxForm;
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
import React from "react";
|
|
2
|
-
import Checkbox from "../../atoms/checkboxes/Checkbox";
|
|
3
|
-
import Paragraph from "../../atoms/typography/Paragraph";
|
|
4
|
-
import "./CheckboxForm.css";
|
|
5
|
-
var CheckboxForm = function (_a) {
|
|
6
|
-
var id = _a.id, _b = _a.checked, checked = _b === void 0 ? false : _b, onChange = _a.onChange, color = _a.color, label = _a.label, _c = _a.isRequired, isRequired = _c === void 0 ? false : _c, linkText = _a.linkText, linkUrl = _a.linkUrl, dataTestId = _a.dataTestId, onLinkClick = _a.onLinkClick, _d = _a.size, size = _d === void 0 ? "default" : _d, _e = _a.style, style = _e === void 0 ? "default" : _e, _f = _a.markType, markType = _f === void 0 ? "cross" : _f;
|
|
7
|
-
var checkboxId = id || "checkbox-".concat(Math.random().toString(36).substr(2, 9));
|
|
8
|
-
var handleCheckboxChange = function (checked) {
|
|
9
|
-
if (onChange) {
|
|
10
|
-
onChange(checked);
|
|
11
|
-
}
|
|
12
|
-
};
|
|
13
|
-
// Déterminer la couleur à utiliser
|
|
14
|
-
var checkboxColor = style === "light"
|
|
15
|
-
? "light"
|
|
16
|
-
: style === "form"
|
|
17
|
-
? undefined
|
|
18
|
-
: color || "noir";
|
|
19
|
-
var colorClass = checkboxColor ? "checkbox-form-".concat(checkboxColor) : "";
|
|
20
|
-
return (React.createElement("div", { className: "checkbox-form ".concat(colorClass, " ").concat(size === "small" ? "checkbox-form-small" : "") },
|
|
21
|
-
React.createElement(Checkbox, { id: checkboxId, checked: checked, onChange: handleCheckboxChange, color: checkboxColor, size: size, style: style, markType: markType, dataTestId: dataTestId }),
|
|
22
|
-
label && (React.createElement("label", { htmlFor: checkboxId, className: "checkbox-form-label-container" },
|
|
23
|
-
React.createElement(Paragraph, { variant: style === "form" ? "medium" : "semiBold", color: color || (style === "form" ? undefined : "noir"), text: React.createElement(React.Fragment, null,
|
|
24
|
-
React.createElement("span", null, label),
|
|
25
|
-
linkText && linkUrl && (React.createElement("a", { href: linkUrl, target: "_blank", rel: "noopener noreferrer", className: "checkbox-form-link", onClick: onLinkClick }, linkText))), size: size }),
|
|
26
|
-
isRequired && (React.createElement("span", { className: "checkbox-form-required" },
|
|
27
|
-
"\u00A0",
|
|
28
|
-
"*"))))));
|
|
29
|
-
};
|
|
30
|
-
export default CheckboxForm;
|
|
@@ -1,94 +0,0 @@
|
|
|
1
|
-
declare namespace _default {
|
|
2
|
-
export let title: string;
|
|
3
|
-
export { CheckboxForm as component };
|
|
4
|
-
export let tags: string[];
|
|
5
|
-
export namespace args {
|
|
6
|
-
let label: string;
|
|
7
|
-
}
|
|
8
|
-
export namespace argTypes {
|
|
9
|
-
export namespace checked {
|
|
10
|
-
namespace control {
|
|
11
|
-
let type: string;
|
|
12
|
-
}
|
|
13
|
-
}
|
|
14
|
-
export namespace isRequired {
|
|
15
|
-
export namespace control_1 {
|
|
16
|
-
let type_1: string;
|
|
17
|
-
export { type_1 as type };
|
|
18
|
-
}
|
|
19
|
-
export { control_1 as control };
|
|
20
|
-
}
|
|
21
|
-
export namespace onChange {
|
|
22
|
-
let action: string;
|
|
23
|
-
}
|
|
24
|
-
export namespace label_1 {
|
|
25
|
-
let control_2: string;
|
|
26
|
-
export { control_2 as control };
|
|
27
|
-
}
|
|
28
|
-
export { label_1 as label };
|
|
29
|
-
export namespace color {
|
|
30
|
-
export namespace control_3 {
|
|
31
|
-
let type_2: string;
|
|
32
|
-
export { type_2 as type };
|
|
33
|
-
export let options: string[];
|
|
34
|
-
}
|
|
35
|
-
export { control_3 as control };
|
|
36
|
-
}
|
|
37
|
-
export namespace size {
|
|
38
|
-
export namespace control_4 {
|
|
39
|
-
let type_3: string;
|
|
40
|
-
export { type_3 as type };
|
|
41
|
-
let options_1: string[];
|
|
42
|
-
export { options_1 as options };
|
|
43
|
-
}
|
|
44
|
-
export { control_4 as control };
|
|
45
|
-
}
|
|
46
|
-
export namespace style {
|
|
47
|
-
export namespace control_5 {
|
|
48
|
-
let type_4: string;
|
|
49
|
-
export { type_4 as type };
|
|
50
|
-
let options_2: string[];
|
|
51
|
-
export { options_2 as options };
|
|
52
|
-
}
|
|
53
|
-
export { control_5 as control };
|
|
54
|
-
}
|
|
55
|
-
export namespace markType {
|
|
56
|
-
export namespace control_6 {
|
|
57
|
-
let type_5: string;
|
|
58
|
-
export { type_5 as type };
|
|
59
|
-
let options_3: string[];
|
|
60
|
-
export { options_3 as options };
|
|
61
|
-
}
|
|
62
|
-
export { control_6 as control };
|
|
63
|
-
}
|
|
64
|
-
}
|
|
65
|
-
export namespace parameters {
|
|
66
|
-
namespace backgrounds {
|
|
67
|
-
let _default: string;
|
|
68
|
-
export { _default as default };
|
|
69
|
-
export let values: {
|
|
70
|
-
name: string;
|
|
71
|
-
value: string;
|
|
72
|
-
}[];
|
|
73
|
-
}
|
|
74
|
-
}
|
|
75
|
-
}
|
|
76
|
-
export default _default;
|
|
77
|
-
export const Default: any;
|
|
78
|
-
export const Checked: any;
|
|
79
|
-
export const CheckMark: any;
|
|
80
|
-
export const CheckedCheckMark: any;
|
|
81
|
-
export const White: any;
|
|
82
|
-
export const WhiteChecked: any;
|
|
83
|
-
export const Required: any;
|
|
84
|
-
export const WithoutLabel: any;
|
|
85
|
-
export const WithLink: any;
|
|
86
|
-
export const Light: any;
|
|
87
|
-
export const LightChecked: any;
|
|
88
|
-
export const LightCheckMark: any;
|
|
89
|
-
export const LightCheckedCheckMark: any;
|
|
90
|
-
export const Form: any;
|
|
91
|
-
export const FormChecked: any;
|
|
92
|
-
export const FormCheckMark: any;
|
|
93
|
-
export const FormCheckedCheckMark: any;
|
|
94
|
-
import CheckboxForm from "./CheckboxForm";
|