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,42 +0,0 @@
|
|
|
1
|
-
import React from "react";
|
|
2
|
-
import "./AppointementStatusTag.css";
|
|
3
|
-
var statusStyles = {
|
|
4
|
-
confirmed: "status-confirmed",
|
|
5
|
-
pending: "status-pending",
|
|
6
|
-
available: "status-available",
|
|
7
|
-
unavailable: "status-unavailable",
|
|
8
|
-
cancelled: "status-cancelled",
|
|
9
|
-
passed: "status-passed",
|
|
10
|
-
refused: "status-refused",
|
|
11
|
-
};
|
|
12
|
-
var statusLabels = {
|
|
13
|
-
confirmed: "CONFIRMÉ",
|
|
14
|
-
pending: "EN ATTENTE",
|
|
15
|
-
available: "DISPONIBLE",
|
|
16
|
-
unavailable: "INDISPONIBLE",
|
|
17
|
-
cancelled: "ANNULÉ",
|
|
18
|
-
passed: "PASSÉ",
|
|
19
|
-
refused: "REFUSÉ",
|
|
20
|
-
};
|
|
21
|
-
var variantLabels = {
|
|
22
|
-
confirmed: "RDV CONFIRMÉ",
|
|
23
|
-
passed: "RDV PASSÉ",
|
|
24
|
-
cancelled: "RDV ANNULÉ",
|
|
25
|
-
};
|
|
26
|
-
var variantStyles = {
|
|
27
|
-
small: "variant-small",
|
|
28
|
-
big: "variant-big",
|
|
29
|
-
default: "variant-default",
|
|
30
|
-
};
|
|
31
|
-
var AppointementStatusTag = function (_a) {
|
|
32
|
-
var status = _a.status, _b = _a.variant, variant = _b === void 0 ? "default" : _b;
|
|
33
|
-
var label = variant === "big" && variantLabels[status]
|
|
34
|
-
? variantLabels[status]
|
|
35
|
-
: statusLabels[status];
|
|
36
|
-
var variantClass = variantStyles[variant];
|
|
37
|
-
var specificStyles = status === "cancelled" && variant === "big"
|
|
38
|
-
? "status-cancelled-big"
|
|
39
|
-
: statusStyles[status];
|
|
40
|
-
return (React.createElement("span", { className: "appointement-status-tag ".concat(variantClass, " ").concat(specificStyles) }, label));
|
|
41
|
-
};
|
|
42
|
-
export default AppointementStatusTag;
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
declare namespace _default {
|
|
2
|
-
export let title: string;
|
|
3
|
-
export { AppointementStatusTag as component };
|
|
4
|
-
export let tags: string[];
|
|
5
|
-
}
|
|
6
|
-
export default _default;
|
|
7
|
-
export const Confirmed: any;
|
|
8
|
-
export const Pending: any;
|
|
9
|
-
export const Available: any;
|
|
10
|
-
export const Unavailable: any;
|
|
11
|
-
export const Cancelled: any;
|
|
12
|
-
export const Passed: any;
|
|
13
|
-
export const RefusedStatus: any;
|
|
14
|
-
export const ConfirmedBig: any;
|
|
15
|
-
export const PassedBig: any;
|
|
16
|
-
export const CancelledBigVariant: any;
|
|
17
|
-
import AppointementStatusTag from "./AppointementStatusTag";
|
|
@@ -1,70 +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 AppointementStatusTag from "./AppointementStatusTag";
|
|
14
|
-
import "../../../styles/global.css";
|
|
15
|
-
export default {
|
|
16
|
-
title: "Components/Atoms/Tags/AppointementStatusTag",
|
|
17
|
-
component: AppointementStatusTag,
|
|
18
|
-
tags: ["autodocs"],
|
|
19
|
-
};
|
|
20
|
-
var Template = function (args) { return React.createElement(AppointementStatusTag, __assign({}, args)); };
|
|
21
|
-
export var Confirmed = Template.bind({});
|
|
22
|
-
Confirmed.args = {
|
|
23
|
-
status: "confirmed",
|
|
24
|
-
variant: "default",
|
|
25
|
-
};
|
|
26
|
-
export var Pending = Template.bind({});
|
|
27
|
-
Pending.args = {
|
|
28
|
-
status: "pending",
|
|
29
|
-
variant: "default",
|
|
30
|
-
};
|
|
31
|
-
export var Available = Template.bind({});
|
|
32
|
-
Available.args = {
|
|
33
|
-
status: "available",
|
|
34
|
-
variant: "default",
|
|
35
|
-
};
|
|
36
|
-
export var Unavailable = Template.bind({});
|
|
37
|
-
Unavailable.args = {
|
|
38
|
-
status: "unavailable",
|
|
39
|
-
variant: "default",
|
|
40
|
-
};
|
|
41
|
-
export var Cancelled = Template.bind({});
|
|
42
|
-
Cancelled.args = {
|
|
43
|
-
status: "cancelled",
|
|
44
|
-
variant: "default",
|
|
45
|
-
};
|
|
46
|
-
export var Passed = Template.bind({});
|
|
47
|
-
Passed.args = {
|
|
48
|
-
status: "passed",
|
|
49
|
-
variant: "default",
|
|
50
|
-
};
|
|
51
|
-
export var RefusedStatus = Template.bind({});
|
|
52
|
-
RefusedStatus.args = {
|
|
53
|
-
status: "refused",
|
|
54
|
-
variant: "default",
|
|
55
|
-
};
|
|
56
|
-
export var ConfirmedBig = Template.bind({});
|
|
57
|
-
ConfirmedBig.args = {
|
|
58
|
-
status: "confirmed",
|
|
59
|
-
variant: "big",
|
|
60
|
-
};
|
|
61
|
-
export var PassedBig = Template.bind({});
|
|
62
|
-
PassedBig.args = {
|
|
63
|
-
status: "passed",
|
|
64
|
-
variant: "big",
|
|
65
|
-
};
|
|
66
|
-
export var CancelledBigVariant = Template.bind({});
|
|
67
|
-
CancelledBigVariant.args = {
|
|
68
|
-
status: "cancelled",
|
|
69
|
-
variant: "big",
|
|
70
|
-
};
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import React from "react";
|
|
2
|
-
import "./FolderStatusTag.css";
|
|
3
|
-
export type FolderStatus = "OPEN" | "CLOSED" | "BLOCKED";
|
|
4
|
-
export interface FolderStatusTagProps {
|
|
5
|
-
status: FolderStatus;
|
|
6
|
-
}
|
|
7
|
-
declare const FolderStatusTag: React.FC<FolderStatusTagProps>;
|
|
8
|
-
export default FolderStatusTag;
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
import React from "react";
|
|
2
|
-
import "./FolderStatusTag.css";
|
|
3
|
-
var FolderStatusTag = function (_a) {
|
|
4
|
-
var status = _a.status;
|
|
5
|
-
var label, color;
|
|
6
|
-
switch (status) {
|
|
7
|
-
case "OPEN":
|
|
8
|
-
label = "DOSSIER OUVERT";
|
|
9
|
-
color = "--Tags-Vert, #29a36a";
|
|
10
|
-
break;
|
|
11
|
-
case "CLOSED":
|
|
12
|
-
label = "DOSSIER CLÔS";
|
|
13
|
-
color = "--dark-grey, #456073";
|
|
14
|
-
break;
|
|
15
|
-
case "BLOCKED":
|
|
16
|
-
label = "DOSSIER BLOQUÉ";
|
|
17
|
-
color = "--actions-error, #e15151";
|
|
18
|
-
break;
|
|
19
|
-
default:
|
|
20
|
-
label = "";
|
|
21
|
-
color = "";
|
|
22
|
-
}
|
|
23
|
-
return (React.createElement("div", { className: "folder-status-tag ".concat(status), style: { color: "var(".concat(color, ")") } }, label));
|
|
24
|
-
};
|
|
25
|
-
export default FolderStatusTag;
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
declare namespace _default {
|
|
2
|
-
export let title: string;
|
|
3
|
-
export { FolderStatusTag as component };
|
|
4
|
-
export let tags: string[];
|
|
5
|
-
export namespace argTypes {
|
|
6
|
-
namespace status {
|
|
7
|
-
namespace control {
|
|
8
|
-
let type: string;
|
|
9
|
-
let options: string[];
|
|
10
|
-
}
|
|
11
|
-
}
|
|
12
|
-
}
|
|
13
|
-
export namespace parameters {
|
|
14
|
-
namespace backgrounds {
|
|
15
|
-
let _default: string;
|
|
16
|
-
export { _default as default };
|
|
17
|
-
export let values: {
|
|
18
|
-
name: string;
|
|
19
|
-
value: string;
|
|
20
|
-
}[];
|
|
21
|
-
}
|
|
22
|
-
}
|
|
23
|
-
}
|
|
24
|
-
export default _default;
|
|
25
|
-
export const Open: any;
|
|
26
|
-
export const Closed: any;
|
|
27
|
-
export const Bloqued: any;
|
|
28
|
-
import FolderStatusTag from "./FolderStatusTag";
|
|
@@ -1,51 +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 FolderStatusTag from "./FolderStatusTag";
|
|
14
|
-
import "../../../styles/global.css";
|
|
15
|
-
export default {
|
|
16
|
-
title: "Components/Atoms/Tags/FolderStatusTag",
|
|
17
|
-
component: FolderStatusTag,
|
|
18
|
-
tags: ["autodocs"],
|
|
19
|
-
argTypes: {
|
|
20
|
-
status: {
|
|
21
|
-
control: {
|
|
22
|
-
type: "select",
|
|
23
|
-
options: ["OPEN", "CLOSED", "BLOCKED"],
|
|
24
|
-
},
|
|
25
|
-
},
|
|
26
|
-
},
|
|
27
|
-
parameters: {
|
|
28
|
-
backgrounds: {
|
|
29
|
-
default: "light",
|
|
30
|
-
values: [
|
|
31
|
-
{ name: "light", value: "#ffffff" },
|
|
32
|
-
{ name: "grey", value: "#728ea7" },
|
|
33
|
-
{ name: "figma", value: "#404040" },
|
|
34
|
-
{ name: "dark", value: "#171e25" },
|
|
35
|
-
],
|
|
36
|
-
},
|
|
37
|
-
},
|
|
38
|
-
};
|
|
39
|
-
var Template = function (args) { return React.createElement(FolderStatusTag, __assign({}, args)); };
|
|
40
|
-
export var Open = Template.bind({});
|
|
41
|
-
Open.args = {
|
|
42
|
-
status: "OPEN",
|
|
43
|
-
};
|
|
44
|
-
export var Closed = Template.bind({});
|
|
45
|
-
Closed.args = {
|
|
46
|
-
status: "CLOSED",
|
|
47
|
-
};
|
|
48
|
-
export var Bloqued = Template.bind({});
|
|
49
|
-
Bloqued.args = {
|
|
50
|
-
status: "BLOCKED",
|
|
51
|
-
};
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import React from "react";
|
|
2
|
-
import "./OtherStatusTag.css";
|
|
3
|
-
export interface OtherStatusTagProps {
|
|
4
|
-
label?: string;
|
|
5
|
-
type?: "readonly" | "editable" | "information";
|
|
6
|
-
startIcon?: boolean;
|
|
7
|
-
startIconName?: string;
|
|
8
|
-
labelLimit?: number;
|
|
9
|
-
style?: "normal" | "compact";
|
|
10
|
-
informationColor?: "blue" | "green" | "red" | "orange";
|
|
11
|
-
}
|
|
12
|
-
declare const OtherStatusTag: React.FC<OtherStatusTagProps>;
|
|
13
|
-
export default OtherStatusTag;
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import React from "react";
|
|
2
|
-
import "./OtherStatusTag.css";
|
|
3
|
-
var OtherStatusTag = function (_a) {
|
|
4
|
-
var _b = _a.label, label = _b === void 0 ? "Tags" : _b, _c = _a.type, type = _c === void 0 ? "readonly" : _c, _d = _a.startIcon, startIcon = _d === void 0 ? false : _d, _e = _a.startIconName, startIconName = _e === void 0 ? "allaw-icon-pmr" : _e, labelLimit = _a.labelLimit, _f = _a.style, style = _f === void 0 ? "normal" : _f, _g = _a.informationColor, informationColor = _g === void 0 ? "blue" : _g;
|
|
5
|
-
var truncateText = function (text, limit) {
|
|
6
|
-
if (!limit || text.length <= limit)
|
|
7
|
-
return text;
|
|
8
|
-
return "".concat(text.slice(0, limit), "...");
|
|
9
|
-
};
|
|
10
|
-
return (React.createElement("div", { className: "other-status-tag ".concat(type, " ").concat(style, " ").concat(type === "information" ? "information-color-".concat(informationColor) : "") },
|
|
11
|
-
type === "information" && startIcon && (React.createElement("span", { className: "icon ".concat(startIconName) })),
|
|
12
|
-
React.createElement("span", { className: "other-status-tag-label", title: label }, truncateText(label, labelLimit)),
|
|
13
|
-
type === "editable" && React.createElement("span", { className: "icon allaw-icon-close" })));
|
|
14
|
-
};
|
|
15
|
-
export default OtherStatusTag;
|
|
@@ -1,97 +0,0 @@
|
|
|
1
|
-
declare namespace _default {
|
|
2
|
-
export let title: string;
|
|
3
|
-
export { OtherStatusTag as component };
|
|
4
|
-
export let tags: string[];
|
|
5
|
-
export namespace argTypes {
|
|
6
|
-
export namespace label {
|
|
7
|
-
namespace control {
|
|
8
|
-
let type: string;
|
|
9
|
-
}
|
|
10
|
-
let description: string;
|
|
11
|
-
}
|
|
12
|
-
export namespace type_1 {
|
|
13
|
-
export namespace control_1 {
|
|
14
|
-
let type_2: string;
|
|
15
|
-
export { type_2 as type };
|
|
16
|
-
export let options: string[];
|
|
17
|
-
}
|
|
18
|
-
export { control_1 as control };
|
|
19
|
-
let description_1: string;
|
|
20
|
-
export { description_1 as description };
|
|
21
|
-
}
|
|
22
|
-
export { type_1 as type };
|
|
23
|
-
export namespace startIcon {
|
|
24
|
-
export namespace control_2 {
|
|
25
|
-
let type_3: string;
|
|
26
|
-
export { type_3 as type };
|
|
27
|
-
}
|
|
28
|
-
export { control_2 as control };
|
|
29
|
-
let description_2: string;
|
|
30
|
-
export { description_2 as description };
|
|
31
|
-
}
|
|
32
|
-
export namespace startIconName {
|
|
33
|
-
export namespace control_3 {
|
|
34
|
-
let type_4: string;
|
|
35
|
-
export { type_4 as type };
|
|
36
|
-
}
|
|
37
|
-
export { control_3 as control };
|
|
38
|
-
let description_3: string;
|
|
39
|
-
export { description_3 as description };
|
|
40
|
-
}
|
|
41
|
-
export namespace labelLimit {
|
|
42
|
-
export namespace control_4 {
|
|
43
|
-
let type_5: string;
|
|
44
|
-
export { type_5 as type };
|
|
45
|
-
}
|
|
46
|
-
export { control_4 as control };
|
|
47
|
-
let description_4: string;
|
|
48
|
-
export { description_4 as description };
|
|
49
|
-
}
|
|
50
|
-
export namespace style {
|
|
51
|
-
export namespace control_5 {
|
|
52
|
-
let type_6: string;
|
|
53
|
-
export { type_6 as type };
|
|
54
|
-
let options_1: string[];
|
|
55
|
-
export { options_1 as options };
|
|
56
|
-
}
|
|
57
|
-
export { control_5 as control };
|
|
58
|
-
let description_5: string;
|
|
59
|
-
export { description_5 as description };
|
|
60
|
-
export let defaultValue: string;
|
|
61
|
-
}
|
|
62
|
-
export namespace informationColor {
|
|
63
|
-
export namespace control_6 {
|
|
64
|
-
let type_7: string;
|
|
65
|
-
export { type_7 as type };
|
|
66
|
-
let options_2: string[];
|
|
67
|
-
export { options_2 as options };
|
|
68
|
-
}
|
|
69
|
-
export { control_6 as control };
|
|
70
|
-
let description_6: string;
|
|
71
|
-
export { description_6 as description };
|
|
72
|
-
let defaultValue_1: string;
|
|
73
|
-
export { defaultValue_1 as defaultValue };
|
|
74
|
-
}
|
|
75
|
-
}
|
|
76
|
-
export namespace parameters {
|
|
77
|
-
namespace backgrounds {
|
|
78
|
-
let _default: string;
|
|
79
|
-
export { _default as default };
|
|
80
|
-
export let values: {
|
|
81
|
-
name: string;
|
|
82
|
-
value: string;
|
|
83
|
-
}[];
|
|
84
|
-
}
|
|
85
|
-
}
|
|
86
|
-
}
|
|
87
|
-
export default _default;
|
|
88
|
-
export const ReadOnly: any;
|
|
89
|
-
export const Editable: any;
|
|
90
|
-
export const Information: any;
|
|
91
|
-
export const LongLabel: any;
|
|
92
|
-
export const LongLabelWithoutLimit: any;
|
|
93
|
-
export const ReadOnlyCompact: any;
|
|
94
|
-
export const EditableCompact: any;
|
|
95
|
-
export const InformationCompact: any;
|
|
96
|
-
export const LongLabelCompact: any;
|
|
97
|
-
import OtherStatusTag from "./OtherStatusTag";
|
|
@@ -1,151 +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 OtherStatusTag from "./OtherStatusTag";
|
|
14
|
-
import "../../../styles/global.css";
|
|
15
|
-
export default {
|
|
16
|
-
title: "Components/Atoms/Tags/OtherStatusTag",
|
|
17
|
-
component: OtherStatusTag,
|
|
18
|
-
tags: ["autodocs"],
|
|
19
|
-
argTypes: {
|
|
20
|
-
label: {
|
|
21
|
-
control: {
|
|
22
|
-
type: "text",
|
|
23
|
-
},
|
|
24
|
-
description: "Texte à afficher dans le tag",
|
|
25
|
-
},
|
|
26
|
-
type: {
|
|
27
|
-
control: {
|
|
28
|
-
type: "select",
|
|
29
|
-
options: ["readonly", "editable", "information"],
|
|
30
|
-
},
|
|
31
|
-
description: "Type de tag à afficher",
|
|
32
|
-
},
|
|
33
|
-
startIcon: {
|
|
34
|
-
control: {
|
|
35
|
-
type: "boolean",
|
|
36
|
-
},
|
|
37
|
-
description: "Afficher une icône au début",
|
|
38
|
-
},
|
|
39
|
-
startIconName: {
|
|
40
|
-
control: {
|
|
41
|
-
type: "text",
|
|
42
|
-
},
|
|
43
|
-
description: "Nom de l'icône à afficher",
|
|
44
|
-
},
|
|
45
|
-
labelLimit: {
|
|
46
|
-
control: {
|
|
47
|
-
type: "number",
|
|
48
|
-
},
|
|
49
|
-
description: "Nombre maximum de caractères avant troncature",
|
|
50
|
-
},
|
|
51
|
-
style: {
|
|
52
|
-
control: {
|
|
53
|
-
type: "select",
|
|
54
|
-
options: ["normal", "compact"],
|
|
55
|
-
},
|
|
56
|
-
description: "Style du tag (normal ou compact)",
|
|
57
|
-
defaultValue: "normal",
|
|
58
|
-
},
|
|
59
|
-
informationColor: {
|
|
60
|
-
control: {
|
|
61
|
-
type: "select",
|
|
62
|
-
options: ["blue", "green", "red", "orange"],
|
|
63
|
-
},
|
|
64
|
-
description: "Couleur du tag d'information",
|
|
65
|
-
defaultValue: "blue",
|
|
66
|
-
},
|
|
67
|
-
},
|
|
68
|
-
parameters: {
|
|
69
|
-
backgrounds: {
|
|
70
|
-
default: "light",
|
|
71
|
-
values: [
|
|
72
|
-
{ name: "light", value: "#ffffff" },
|
|
73
|
-
{ name: "grey", value: "#728ea7" },
|
|
74
|
-
{ name: "figma", value: "#404040" },
|
|
75
|
-
{ name: "dark", value: "#171e25" },
|
|
76
|
-
],
|
|
77
|
-
},
|
|
78
|
-
},
|
|
79
|
-
};
|
|
80
|
-
var Template = function (args) { return React.createElement(OtherStatusTag, __assign({}, args)); };
|
|
81
|
-
export var ReadOnly = Template.bind({});
|
|
82
|
-
ReadOnly.args = {
|
|
83
|
-
label: "Tags",
|
|
84
|
-
type: "readonly",
|
|
85
|
-
startIcon: false,
|
|
86
|
-
startIconName: "allaw-icon-pmr",
|
|
87
|
-
};
|
|
88
|
-
export var Editable = Template.bind({});
|
|
89
|
-
Editable.args = {
|
|
90
|
-
label: "Tags",
|
|
91
|
-
type: "editable",
|
|
92
|
-
startIcon: false,
|
|
93
|
-
startIconName: "allaw-icon-pmr",
|
|
94
|
-
};
|
|
95
|
-
export var Information = Template.bind({});
|
|
96
|
-
Information.args = {
|
|
97
|
-
label: "Informations",
|
|
98
|
-
type: "information",
|
|
99
|
-
startIcon: true,
|
|
100
|
-
startIconName: "allaw-icon-pmr",
|
|
101
|
-
informationColor: "blue",
|
|
102
|
-
};
|
|
103
|
-
export var LongLabel = Template.bind({});
|
|
104
|
-
LongLabel.args = {
|
|
105
|
-
label: "Un très long label qui sera tronqué automatiquement",
|
|
106
|
-
type: "readonly",
|
|
107
|
-
labelLimit: 20,
|
|
108
|
-
};
|
|
109
|
-
export var LongLabelWithoutLimit = Template.bind({});
|
|
110
|
-
LongLabelWithoutLimit.args = {
|
|
111
|
-
label: "Un très long label qui ne sera pas tronqué",
|
|
112
|
-
type: "readonly",
|
|
113
|
-
};
|
|
114
|
-
// Documentation supplémentaire
|
|
115
|
-
LongLabel.parameters = {
|
|
116
|
-
docs: {
|
|
117
|
-
description: {
|
|
118
|
-
story: "Exemple avec un label long et une limite de caractères",
|
|
119
|
-
},
|
|
120
|
-
},
|
|
121
|
-
};
|
|
122
|
-
LongLabelWithoutLimit.parameters = {
|
|
123
|
-
docs: {
|
|
124
|
-
description: {
|
|
125
|
-
story: "Exemple avec un label long sans limite de caractères",
|
|
126
|
-
},
|
|
127
|
-
},
|
|
128
|
-
};
|
|
129
|
-
export var ReadOnlyCompact = Template.bind({});
|
|
130
|
-
ReadOnlyCompact.args = __assign(__assign({}, ReadOnly.args), { style: "compact" });
|
|
131
|
-
export var EditableCompact = Template.bind({});
|
|
132
|
-
EditableCompact.args = __assign(__assign({}, Editable.args), { style: "compact" });
|
|
133
|
-
export var InformationCompact = Template.bind({});
|
|
134
|
-
InformationCompact.args = __assign(__assign({}, Information.args), { style: "compact" });
|
|
135
|
-
export var LongLabelCompact = Template.bind({});
|
|
136
|
-
LongLabelCompact.args = __assign(__assign({}, LongLabel.args), { style: "compact" });
|
|
137
|
-
// Documentation pour les variantes compactes
|
|
138
|
-
ReadOnlyCompact.parameters = {
|
|
139
|
-
docs: {
|
|
140
|
-
description: {
|
|
141
|
-
story: "Version compacte du tag en lecture seule",
|
|
142
|
-
},
|
|
143
|
-
},
|
|
144
|
-
};
|
|
145
|
-
EditableCompact.parameters = {
|
|
146
|
-
docs: {
|
|
147
|
-
description: {
|
|
148
|
-
story: "Version compacte du tag éditable",
|
|
149
|
-
},
|
|
150
|
-
},
|
|
151
|
-
};
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
export { default as AppointementStatusTag } from "./AppointementStatusTag";
|
|
2
|
-
export { default as FolderStatusTag } from "./FolderStatusTag";
|
|
3
|
-
export { default as OtherStatusTag } from "./OtherStatusTag";
|
|
4
|
-
export type { AppointementStatusTagProps } from "./AppointementStatusTag";
|
|
5
|
-
export type { FolderStatusTagProps } from "./FolderStatusTag";
|
|
6
|
-
export type { OtherStatusTagProps } from "./OtherStatusTag";
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import React from "react";
|
|
2
|
-
import "./cardDate.css";
|
|
3
|
-
interface CardDateProps {
|
|
4
|
-
date: string;
|
|
5
|
-
showYear?: boolean;
|
|
6
|
-
variant?: "horizontal" | "hybride" | "vertical";
|
|
7
|
-
label?: string;
|
|
8
|
-
isDisabled?: boolean;
|
|
9
|
-
}
|
|
10
|
-
declare const CardDate: React.FC<CardDateProps>;
|
|
11
|
-
export default CardDate;
|
|
@@ -1,52 +0,0 @@
|
|
|
1
|
-
import React from "react";
|
|
2
|
-
import "./cardDate.css";
|
|
3
|
-
var DAYS_FR = ["dim.", "lun.", "mar.", "mer.", "jeu.", "ven.", "sam."];
|
|
4
|
-
var MONTHS_FR = [
|
|
5
|
-
"jan.",
|
|
6
|
-
"fév.",
|
|
7
|
-
"mar",
|
|
8
|
-
"avr.",
|
|
9
|
-
"mai",
|
|
10
|
-
"juin",
|
|
11
|
-
"juil.",
|
|
12
|
-
"aoû",
|
|
13
|
-
"sep.",
|
|
14
|
-
"oct.",
|
|
15
|
-
"nov.",
|
|
16
|
-
"déc.",
|
|
17
|
-
];
|
|
18
|
-
var CardDate = function (_a) {
|
|
19
|
-
var date = _a.date, _b = _a.showYear, showYear = _b === void 0 ? true : _b, _c = _a.variant, variant = _c === void 0 ? "hybride" : _c, label = _a.label, _d = _a.isDisabled, isDisabled = _d === void 0 ? false : _d;
|
|
20
|
-
var parseDate = function (dateString) {
|
|
21
|
-
var d = new Date(dateString);
|
|
22
|
-
return {
|
|
23
|
-
weekDay: DAYS_FR[d.getDay()],
|
|
24
|
-
day: d.getDate(),
|
|
25
|
-
month: MONTHS_FR[d.getMonth()],
|
|
26
|
-
yearFull: d.getFullYear(),
|
|
27
|
-
yearShort: d.getFullYear().toString().slice(-2),
|
|
28
|
-
};
|
|
29
|
-
};
|
|
30
|
-
var _e = parseDate(date), weekDay = _e.weekDay, day = _e.day, month = _e.month, yearFull = _e.yearFull, yearShort = _e.yearShort;
|
|
31
|
-
return (React.createElement(React.Fragment, null, variant === "horizontal" ? (React.createElement("div", { className: "card-date" },
|
|
32
|
-
label && React.createElement("span", { className: "card-date-horizontal-label" }, label),
|
|
33
|
-
React.createElement("span", { className: "card-date-horizontal ".concat(isDisabled ? "disabled" : "", " ") },
|
|
34
|
-
day,
|
|
35
|
-
" ",
|
|
36
|
-
month,
|
|
37
|
-
" ",
|
|
38
|
-
showYear ? yearShort : ""))) : variant === "vertical" ? (React.createElement("div", { className: "card-date" },
|
|
39
|
-
label && React.createElement("span", { className: "card-date-vertical-label" }, label),
|
|
40
|
-
React.createElement("span", { className: "card-date-vertical-weekday ".concat(isDisabled ? "disabled" : "") }, weekDay),
|
|
41
|
-
React.createElement("span", { className: "card-date-vertical-day ".concat(isDisabled ? "disabled" : "") }, day),
|
|
42
|
-
React.createElement("span", { className: "card-date-vertical-month ".concat(isDisabled ? "disabled" : "") }, month),
|
|
43
|
-
showYear && (React.createElement("span", { className: "card-date-vertical-year" }, yearFull)))) : (React.createElement("div", { className: "card-date" },
|
|
44
|
-
label && React.createElement("span", { className: "card-date-hybride-label" }, label),
|
|
45
|
-
React.createElement("span", { className: "card-date-vertical-day-line" },
|
|
46
|
-
React.createElement("span", { className: "card-date-hybride-day ".concat(isDisabled ? "disabled" : "") },
|
|
47
|
-
day,
|
|
48
|
-
" "),
|
|
49
|
-
React.createElement("span", { className: "card-date-hybride-month ".concat(isDisabled ? "disabled" : "") }, month)),
|
|
50
|
-
showYear && (React.createElement("span", { className: "card-date-hybride-year" }, yearFull))))));
|
|
51
|
-
};
|
|
52
|
-
export default CardDate;
|