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,23 +0,0 @@
|
|
|
1
|
-
declare namespace _default {
|
|
2
|
-
export let title: string;
|
|
3
|
-
export { FavoriteToggle as component };
|
|
4
|
-
export let tags: string[];
|
|
5
|
-
export namespace argTypes {
|
|
6
|
-
namespace isFavorite {
|
|
7
|
-
let control: string;
|
|
8
|
-
}
|
|
9
|
-
}
|
|
10
|
-
export namespace parameters {
|
|
11
|
-
namespace backgrounds {
|
|
12
|
-
let _default: string;
|
|
13
|
-
export { _default as default };
|
|
14
|
-
export let values: {
|
|
15
|
-
name: string;
|
|
16
|
-
value: string;
|
|
17
|
-
}[];
|
|
18
|
-
}
|
|
19
|
-
}
|
|
20
|
-
}
|
|
21
|
-
export default _default;
|
|
22
|
-
export const Default: any;
|
|
23
|
-
import FavoriteToggle from "./FavoriteToggle";
|
|
@@ -1,61 +0,0 @@
|
|
|
1
|
-
var __assign = (this && this.__assign) || function () {
|
|
2
|
-
__assign = Object.assign || function(t) {
|
|
3
|
-
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
4
|
-
s = arguments[i];
|
|
5
|
-
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
|
|
6
|
-
t[p] = s[p];
|
|
7
|
-
}
|
|
8
|
-
return t;
|
|
9
|
-
};
|
|
10
|
-
return __assign.apply(this, arguments);
|
|
11
|
-
};
|
|
12
|
-
var __rest = (this && this.__rest) || function (s, e) {
|
|
13
|
-
var t = {};
|
|
14
|
-
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
|
|
15
|
-
t[p] = s[p];
|
|
16
|
-
if (s != null && typeof Object.getOwnPropertySymbols === "function")
|
|
17
|
-
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
|
18
|
-
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
|
|
19
|
-
t[p[i]] = s[p[i]];
|
|
20
|
-
}
|
|
21
|
-
return t;
|
|
22
|
-
};
|
|
23
|
-
import React from "react";
|
|
24
|
-
import { useArgs } from "@storybook/client-api";
|
|
25
|
-
import FavoriteToggle from "./FavoriteToggle";
|
|
26
|
-
import "../../../styles/global.css";
|
|
27
|
-
export default {
|
|
28
|
-
title: "Components/Atoms/Buttons/FavoriteToggle",
|
|
29
|
-
component: FavoriteToggle,
|
|
30
|
-
tags: ["autodocs"],
|
|
31
|
-
argTypes: {
|
|
32
|
-
isFavorite: {
|
|
33
|
-
control: "boolean",
|
|
34
|
-
},
|
|
35
|
-
},
|
|
36
|
-
parameters: {
|
|
37
|
-
backgrounds: {
|
|
38
|
-
default: "light",
|
|
39
|
-
values: [
|
|
40
|
-
{ name: "light", value: "#ffffff" },
|
|
41
|
-
{ name: "grey", value: "#728ea7" },
|
|
42
|
-
{ name: "figma", value: "#404040" },
|
|
43
|
-
{ name: "dark", value: "#171e25" },
|
|
44
|
-
],
|
|
45
|
-
},
|
|
46
|
-
},
|
|
47
|
-
};
|
|
48
|
-
var Template = function (_a) {
|
|
49
|
-
var args = __rest(_a, []);
|
|
50
|
-
var _b = useArgs(), isFavorite = _b[0].isFavorite, updateArgs = _b[1];
|
|
51
|
-
var handleToggle = function (newValue) {
|
|
52
|
-
updateArgs({ isFavorite: newValue });
|
|
53
|
-
args.onToggle(newValue);
|
|
54
|
-
};
|
|
55
|
-
return (React.createElement(FavoriteToggle, __assign({}, args, { isFavorite: isFavorite, onToggle: handleToggle })));
|
|
56
|
-
};
|
|
57
|
-
export var Default = Template.bind({});
|
|
58
|
-
Default.args = {
|
|
59
|
-
isFavorite: false,
|
|
60
|
-
onToggle: function (isFavorite) { return console.log("Toggled to:", isFavorite); },
|
|
61
|
-
};
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import React from "react";
|
|
2
|
-
import "./FilterButton.css";
|
|
3
|
-
import "../../../styles/global.css";
|
|
4
|
-
export interface FilterButtonProps {
|
|
5
|
-
label: string;
|
|
6
|
-
isActive: boolean;
|
|
7
|
-
}
|
|
8
|
-
declare const FilterButton: React.FC<FilterButtonProps>;
|
|
9
|
-
export default FilterButton;
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import React from "react";
|
|
2
|
-
import "./FilterButton.css";
|
|
3
|
-
import "../../../styles/global.css";
|
|
4
|
-
var FilterButton = function (_a) {
|
|
5
|
-
var label = _a.label, isActive = _a.isActive;
|
|
6
|
-
return (React.createElement("button", { className: "filter-button ".concat(isActive ? "filter-button-active" : "filter-button-inactive") },
|
|
7
|
-
React.createElement("span", { className: "filter-button-label" }, label)));
|
|
8
|
-
};
|
|
9
|
-
export default FilterButton;
|
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
export const ActionsData: {};
|
|
2
|
-
declare namespace _default {
|
|
3
|
-
export let title: string;
|
|
4
|
-
export { FilterButton as component };
|
|
5
|
-
export let tags: string[];
|
|
6
|
-
export let excludeStories: RegExp;
|
|
7
|
-
export let args: {};
|
|
8
|
-
export namespace argTypes {
|
|
9
|
-
namespace label {
|
|
10
|
-
namespace control {
|
|
11
|
-
let type: string;
|
|
12
|
-
}
|
|
13
|
-
}
|
|
14
|
-
namespace isActive {
|
|
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
|
-
}
|
|
22
|
-
export namespace parameters {
|
|
23
|
-
namespace backgrounds {
|
|
24
|
-
let _default: string;
|
|
25
|
-
export { _default as default };
|
|
26
|
-
export let values: {
|
|
27
|
-
name: string;
|
|
28
|
-
value: string;
|
|
29
|
-
}[];
|
|
30
|
-
}
|
|
31
|
-
}
|
|
32
|
-
}
|
|
33
|
-
export default _default;
|
|
34
|
-
export const Active: any;
|
|
35
|
-
export const Inactive: any;
|
|
36
|
-
import FilterButton from "./FilterButton";
|
|
@@ -1,56 +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 FilterButton from "./FilterButton";
|
|
14
|
-
import "../../../styles/global.css";
|
|
15
|
-
export var ActionsData = {};
|
|
16
|
-
export default {
|
|
17
|
-
title: "Components/Atoms/Buttons/FilterButton",
|
|
18
|
-
component: FilterButton,
|
|
19
|
-
tags: ["autodocs"],
|
|
20
|
-
excludeStories: /.*Data$/,
|
|
21
|
-
args: __assign({}, ActionsData),
|
|
22
|
-
argTypes: {
|
|
23
|
-
label: {
|
|
24
|
-
control: {
|
|
25
|
-
type: "text",
|
|
26
|
-
},
|
|
27
|
-
},
|
|
28
|
-
isActive: {
|
|
29
|
-
control: {
|
|
30
|
-
type: "boolean",
|
|
31
|
-
},
|
|
32
|
-
},
|
|
33
|
-
},
|
|
34
|
-
parameters: {
|
|
35
|
-
backgrounds: {
|
|
36
|
-
default: "light",
|
|
37
|
-
values: [
|
|
38
|
-
{ name: "light", value: "#ffffff" },
|
|
39
|
-
{ name: "grey", value: "#728ea7" },
|
|
40
|
-
{ name: "figma", value: "#404040" },
|
|
41
|
-
{ name: "dark", value: "#171e25" },
|
|
42
|
-
],
|
|
43
|
-
},
|
|
44
|
-
},
|
|
45
|
-
};
|
|
46
|
-
var Template = function (args) { return React.createElement(FilterButton, __assign({}, args)); };
|
|
47
|
-
export var Active = Template.bind({});
|
|
48
|
-
Active.args = {
|
|
49
|
-
label: "Filtre",
|
|
50
|
-
isActive: true,
|
|
51
|
-
};
|
|
52
|
-
export var Inactive = Template.bind({});
|
|
53
|
-
Inactive.args = {
|
|
54
|
-
label: "Filtre",
|
|
55
|
-
isActive: false,
|
|
56
|
-
};
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import React from "react";
|
|
2
|
-
export type FilterButtonPrimaryProps = {
|
|
3
|
-
onClick: any;
|
|
4
|
-
zIndex?: string;
|
|
5
|
-
children: any;
|
|
6
|
-
props?: any;
|
|
7
|
-
};
|
|
8
|
-
declare function FilterButtonPrimary({ onClick, zIndex, children, ...props }: FilterButtonPrimaryProps | any): React.JSX.Element;
|
|
9
|
-
export default FilterButtonPrimary;
|
|
@@ -1,46 +0,0 @@
|
|
|
1
|
-
var __assign = (this && this.__assign) || function () {
|
|
2
|
-
__assign = Object.assign || function(t) {
|
|
3
|
-
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
4
|
-
s = arguments[i];
|
|
5
|
-
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
|
|
6
|
-
t[p] = s[p];
|
|
7
|
-
}
|
|
8
|
-
return t;
|
|
9
|
-
};
|
|
10
|
-
return __assign.apply(this, arguments);
|
|
11
|
-
};
|
|
12
|
-
var __rest = (this && this.__rest) || function (s, e) {
|
|
13
|
-
var t = {};
|
|
14
|
-
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
|
|
15
|
-
t[p] = s[p];
|
|
16
|
-
if (s != null && typeof Object.getOwnPropertySymbols === "function")
|
|
17
|
-
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
|
18
|
-
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
|
|
19
|
-
t[p[i]] = s[p[i]];
|
|
20
|
-
}
|
|
21
|
-
return t;
|
|
22
|
-
};
|
|
23
|
-
import React from "react";
|
|
24
|
-
function FilterButtonPrimary(_a) {
|
|
25
|
-
var onClick = _a.onClick, _b = _a.zIndex, zIndex = _b === void 0 ? "100" : _b, children = _a.children, props = __rest(_a, ["onClick", "zIndex", "children"]);
|
|
26
|
-
return (React.createElement("button", __assign({ style: {
|
|
27
|
-
fontWeight: "600",
|
|
28
|
-
backgroundColor: "var(--primary-light-grey, #F4F7FB)",
|
|
29
|
-
padding: "10px",
|
|
30
|
-
borderRadius: "5px",
|
|
31
|
-
fontSize: "14px",
|
|
32
|
-
textWrap: "nowrap",
|
|
33
|
-
border: "1px solid var(--primary-venom-grey, #E6EDF5)",
|
|
34
|
-
position: "sticky",
|
|
35
|
-
color: "#000",
|
|
36
|
-
display: "flex",
|
|
37
|
-
cursor: "pointer",
|
|
38
|
-
flexDirection: "row",
|
|
39
|
-
gap: "0.5rem",
|
|
40
|
-
alignItems: "center",
|
|
41
|
-
zIndex: zIndex,
|
|
42
|
-
}, onClick: function () { return onClick && onClick(); } }, props),
|
|
43
|
-
React.createElement("i", { className: "allaw-icon-filter", style: { fontSize: "14px", color: "#25BEEB" } }),
|
|
44
|
-
children));
|
|
45
|
-
}
|
|
46
|
-
export default FilterButtonPrimary;
|
|
@@ -1,26 +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
|
-
// FilterButtonPrimary.stories.js
|
|
13
|
-
import React from 'react';
|
|
14
|
-
import FilterButtonPrimary from './FilterButtonPrimary';
|
|
15
|
-
import "../../../styles/global.css";
|
|
16
|
-
export default {
|
|
17
|
-
title: 'Components/Atoms/Buttons/FilterButtonPrimary',
|
|
18
|
-
component: FilterButtonPrimary,
|
|
19
|
-
};
|
|
20
|
-
var Template = function (args) { return React.createElement(FilterButtonPrimary, __assign({}, args)); };
|
|
21
|
-
export var Default = Template.bind({});
|
|
22
|
-
Default.args = {
|
|
23
|
-
onClick: function () { return alert('Button clicked!'); },
|
|
24
|
-
zIndex: '100',
|
|
25
|
-
children: 'Filter Button',
|
|
26
|
-
};
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import React from "react";
|
|
2
|
-
import "./GhostButton.css";
|
|
3
|
-
import "../../../styles/global.css";
|
|
4
|
-
export interface GhostButtonProps {
|
|
5
|
-
startIcon?: React.ReactNode;
|
|
6
|
-
endIcon?: React.ReactNode;
|
|
7
|
-
label: string;
|
|
8
|
-
variant?: boolean;
|
|
9
|
-
startIconName?: string;
|
|
10
|
-
endIconName?: string;
|
|
11
|
-
onClick?: () => void;
|
|
12
|
-
}
|
|
13
|
-
declare const GhostButton: React.FC<GhostButtonProps>;
|
|
14
|
-
export default GhostButton;
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import React from "react";
|
|
2
|
-
import "./GhostButton.css";
|
|
3
|
-
import "../../../styles/global.css";
|
|
4
|
-
var GhostButton = function (_a) {
|
|
5
|
-
var startIcon = _a.startIcon, endIcon = _a.endIcon, label = _a.label, _b = _a.variant, variant = _b === void 0 ? false : _b, startIconName = _a.startIconName, endIconName = _a.endIconName, onClick = _a.onClick;
|
|
6
|
-
return (React.createElement("button", { className: "ghost-button ".concat(variant ? "ghost-button-variant" : "ghost-button-default"), onClick: onClick },
|
|
7
|
-
startIcon && React.createElement("span", { className: "ghost-button-icon ".concat(startIconName) }),
|
|
8
|
-
React.createElement("span", { className: "ghost-button-label" }, label),
|
|
9
|
-
endIcon && React.createElement("span", { className: "ghost-button-icon ".concat(endIconName) })));
|
|
10
|
-
};
|
|
11
|
-
export default GhostButton;
|
|
@@ -1,79 +0,0 @@
|
|
|
1
|
-
export namespace ActionsData {
|
|
2
|
-
namespace onClick {
|
|
3
|
-
let action: string;
|
|
4
|
-
}
|
|
5
|
-
}
|
|
6
|
-
declare namespace _default {
|
|
7
|
-
export let title: string;
|
|
8
|
-
export { GhostButton as component };
|
|
9
|
-
export let tags: string[];
|
|
10
|
-
export let excludeStories: RegExp;
|
|
11
|
-
export namespace args { }
|
|
12
|
-
export namespace argTypes {
|
|
13
|
-
export namespace startIcon {
|
|
14
|
-
namespace control {
|
|
15
|
-
let type: string;
|
|
16
|
-
}
|
|
17
|
-
namespace mapping {
|
|
18
|
-
let _true: string;
|
|
19
|
-
export { _true as true };
|
|
20
|
-
let _false: null;
|
|
21
|
-
export { _false as false };
|
|
22
|
-
}
|
|
23
|
-
}
|
|
24
|
-
export namespace endIcon {
|
|
25
|
-
export namespace control_1 {
|
|
26
|
-
let type_1: string;
|
|
27
|
-
export { type_1 as type };
|
|
28
|
-
}
|
|
29
|
-
export { control_1 as control };
|
|
30
|
-
export namespace mapping_1 {
|
|
31
|
-
let _true_1: string;
|
|
32
|
-
export { _true_1 as true };
|
|
33
|
-
let _false_1: null;
|
|
34
|
-
export { _false_1 as false };
|
|
35
|
-
}
|
|
36
|
-
export { mapping_1 as mapping };
|
|
37
|
-
}
|
|
38
|
-
export namespace variant {
|
|
39
|
-
export namespace control_2 {
|
|
40
|
-
let type_2: string;
|
|
41
|
-
export { type_2 as type };
|
|
42
|
-
}
|
|
43
|
-
export { control_2 as control };
|
|
44
|
-
}
|
|
45
|
-
export namespace startIconName {
|
|
46
|
-
export namespace control_3 {
|
|
47
|
-
let type_3: string;
|
|
48
|
-
export { type_3 as type };
|
|
49
|
-
}
|
|
50
|
-
export { control_3 as control };
|
|
51
|
-
}
|
|
52
|
-
export namespace endIconName {
|
|
53
|
-
export namespace control_4 {
|
|
54
|
-
let type_4: string;
|
|
55
|
-
export { type_4 as type };
|
|
56
|
-
}
|
|
57
|
-
export { control_4 as control };
|
|
58
|
-
}
|
|
59
|
-
export namespace onClick_1 {
|
|
60
|
-
let action_1: string;
|
|
61
|
-
export { action_1 as action };
|
|
62
|
-
}
|
|
63
|
-
export { onClick_1 as onClick };
|
|
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 Variant: any;
|
|
79
|
-
import GhostButton from "./GhostButton";
|
|
@@ -1,95 +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 GhostButton from "./GhostButton";
|
|
14
|
-
import "../../../styles/global.css";
|
|
15
|
-
export var ActionsData = {
|
|
16
|
-
onClick: { action: "clicked" },
|
|
17
|
-
};
|
|
18
|
-
export default {
|
|
19
|
-
title: "Components/Atoms/Buttons/GhostButton",
|
|
20
|
-
component: GhostButton,
|
|
21
|
-
tags: ["autodocs"],
|
|
22
|
-
excludeStories: /.*Data$/,
|
|
23
|
-
args: __assign({}, ActionsData),
|
|
24
|
-
argTypes: {
|
|
25
|
-
startIcon: {
|
|
26
|
-
control: {
|
|
27
|
-
type: "boolean",
|
|
28
|
-
},
|
|
29
|
-
mapping: {
|
|
30
|
-
true: "allaw-icon-deconnexion",
|
|
31
|
-
false: null,
|
|
32
|
-
},
|
|
33
|
-
},
|
|
34
|
-
endIcon: {
|
|
35
|
-
control: {
|
|
36
|
-
type: "boolean",
|
|
37
|
-
},
|
|
38
|
-
mapping: {
|
|
39
|
-
true: "allaw-icon-deconnexion",
|
|
40
|
-
false: null,
|
|
41
|
-
},
|
|
42
|
-
},
|
|
43
|
-
variant: {
|
|
44
|
-
control: {
|
|
45
|
-
type: "boolean",
|
|
46
|
-
},
|
|
47
|
-
},
|
|
48
|
-
startIconName: {
|
|
49
|
-
control: {
|
|
50
|
-
type: "text",
|
|
51
|
-
},
|
|
52
|
-
},
|
|
53
|
-
endIconName: {
|
|
54
|
-
control: {
|
|
55
|
-
type: "text",
|
|
56
|
-
},
|
|
57
|
-
},
|
|
58
|
-
onClick: {
|
|
59
|
-
// Ajouté
|
|
60
|
-
action: "clicked",
|
|
61
|
-
},
|
|
62
|
-
},
|
|
63
|
-
parameters: {
|
|
64
|
-
backgrounds: {
|
|
65
|
-
default: "dark",
|
|
66
|
-
values: [
|
|
67
|
-
{ name: "light", value: "#ffffff" },
|
|
68
|
-
{ name: "grey", value: "#728ea7" },
|
|
69
|
-
{ name: "figma", value: "#404040" },
|
|
70
|
-
{ name: "dark", value: "#171e25" },
|
|
71
|
-
],
|
|
72
|
-
},
|
|
73
|
-
},
|
|
74
|
-
};
|
|
75
|
-
var Template = function (args) { return React.createElement(GhostButton, __assign({}, args)); };
|
|
76
|
-
export var Default = Template.bind({});
|
|
77
|
-
Default.args = {
|
|
78
|
-
label: "Ghost button",
|
|
79
|
-
startIcon: true,
|
|
80
|
-
endIcon: true,
|
|
81
|
-
variant: false,
|
|
82
|
-
startIconName: "allaw-icon-deconnexion",
|
|
83
|
-
endIconName: "allaw-icon-deconnexion",
|
|
84
|
-
onClick: function () { return console.log("Button clicked!"); },
|
|
85
|
-
};
|
|
86
|
-
export var Variant = Template.bind({});
|
|
87
|
-
Variant.args = {
|
|
88
|
-
label: "Ghost button",
|
|
89
|
-
startIcon: true,
|
|
90
|
-
endIcon: true,
|
|
91
|
-
variant: true,
|
|
92
|
-
startIconName: "allaw-icon-deconnexion",
|
|
93
|
-
endIconName: "allaw-icon-deconnexion",
|
|
94
|
-
onClick: function () { return console.log("Button clicked!"); },
|
|
95
|
-
};
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import React from "react";
|
|
2
|
-
import "./IconButton.css";
|
|
3
|
-
import "../../../styles/global.css";
|
|
4
|
-
export interface IconButtonProps {
|
|
5
|
-
style: "smallFilled" | "largeFilled" | "mediumOutline" | "iconOnly" | "iconCircle";
|
|
6
|
-
iconName: string;
|
|
7
|
-
color?: string;
|
|
8
|
-
onClick?: () => void;
|
|
9
|
-
}
|
|
10
|
-
declare const IconButton: React.FC<IconButtonProps>;
|
|
11
|
-
export default IconButton;
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import React from "react";
|
|
2
|
-
import "./IconButton.css";
|
|
3
|
-
import "../../../styles/global.css";
|
|
4
|
-
var IconButton = function (_a) {
|
|
5
|
-
var _b = _a.style, style = _b === void 0 ? "smallFilled" : _b, _c = _a.iconName, iconName = _c === void 0 ? "allaw-icon-calendar" : _c, color = _a.color, _d = _a.onClick, onClick = _d === void 0 ? function () { } : _d;
|
|
6
|
-
var customStyle = color
|
|
7
|
-
? {
|
|
8
|
-
"--custom-background-color": color,
|
|
9
|
-
}
|
|
10
|
-
: {};
|
|
11
|
-
return (React.createElement("button", { className: "icon-button ".concat(style), onClick: onClick, style: customStyle, "aria-label": iconName.replace("allaw-icon-", "").replace("-", " ") },
|
|
12
|
-
React.createElement("i", { className: "icon ".concat(iconName), style: { color: color ? color : "inherit" } })));
|
|
13
|
-
};
|
|
14
|
-
export default IconButton;
|
|
@@ -1,49 +0,0 @@
|
|
|
1
|
-
export namespace ActionsData {
|
|
2
|
-
namespace onClick {
|
|
3
|
-
let action: string;
|
|
4
|
-
}
|
|
5
|
-
}
|
|
6
|
-
declare namespace _default {
|
|
7
|
-
export let title: string;
|
|
8
|
-
export { IconButton as component };
|
|
9
|
-
export let tags: string[];
|
|
10
|
-
export let excludeStories: RegExp;
|
|
11
|
-
export namespace args { }
|
|
12
|
-
export namespace argTypes {
|
|
13
|
-
export namespace style {
|
|
14
|
-
namespace control {
|
|
15
|
-
let type: string;
|
|
16
|
-
let options: string[];
|
|
17
|
-
}
|
|
18
|
-
}
|
|
19
|
-
export namespace iconName {
|
|
20
|
-
export namespace control_1 {
|
|
21
|
-
let type_1: string;
|
|
22
|
-
export { type_1 as type };
|
|
23
|
-
}
|
|
24
|
-
export { control_1 as control };
|
|
25
|
-
}
|
|
26
|
-
export namespace onClick_1 {
|
|
27
|
-
let action_1: string;
|
|
28
|
-
export { action_1 as action };
|
|
29
|
-
}
|
|
30
|
-
export { onClick_1 as onClick };
|
|
31
|
-
}
|
|
32
|
-
export namespace parameters {
|
|
33
|
-
namespace backgrounds {
|
|
34
|
-
let _default: string;
|
|
35
|
-
export { _default as default };
|
|
36
|
-
export let values: {
|
|
37
|
-
name: string;
|
|
38
|
-
value: string;
|
|
39
|
-
}[];
|
|
40
|
-
}
|
|
41
|
-
}
|
|
42
|
-
}
|
|
43
|
-
export default _default;
|
|
44
|
-
export const SmallFilled: any;
|
|
45
|
-
export const LargeFilled: any;
|
|
46
|
-
export const MediumOutline: any;
|
|
47
|
-
export const IconOnly: any;
|
|
48
|
-
export const IconCircle: any;
|
|
49
|
-
import IconButton from "./IconButton";
|
|
@@ -1,88 +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 IconButton from "./IconButton";
|
|
14
|
-
import "../../../styles/global.css";
|
|
15
|
-
export var ActionsData = {
|
|
16
|
-
onClick: { action: "clicked" },
|
|
17
|
-
};
|
|
18
|
-
export default {
|
|
19
|
-
title: "Components/Atoms/Buttons/IconButton",
|
|
20
|
-
component: IconButton,
|
|
21
|
-
tags: ["autodocs"],
|
|
22
|
-
excludeStories: /.*Data$/,
|
|
23
|
-
args: __assign({}, ActionsData),
|
|
24
|
-
argTypes: {
|
|
25
|
-
style: {
|
|
26
|
-
control: {
|
|
27
|
-
type: "select",
|
|
28
|
-
options: [
|
|
29
|
-
"smallFilled",
|
|
30
|
-
"largeFilled",
|
|
31
|
-
"mediumOutline",
|
|
32
|
-
"iconOnly",
|
|
33
|
-
"iconCircle",
|
|
34
|
-
],
|
|
35
|
-
},
|
|
36
|
-
},
|
|
37
|
-
iconName: {
|
|
38
|
-
control: {
|
|
39
|
-
type: "text",
|
|
40
|
-
},
|
|
41
|
-
},
|
|
42
|
-
onClick: {
|
|
43
|
-
action: "clicked",
|
|
44
|
-
},
|
|
45
|
-
},
|
|
46
|
-
parameters: {
|
|
47
|
-
backgrounds: {
|
|
48
|
-
default: "light",
|
|
49
|
-
values: [
|
|
50
|
-
{ name: "light", value: "#ffffff" },
|
|
51
|
-
{ name: "grey", value: "#728ea7" },
|
|
52
|
-
{ name: "figma", value: "#404040" },
|
|
53
|
-
{ name: "dark", value: "#171e25" },
|
|
54
|
-
],
|
|
55
|
-
},
|
|
56
|
-
},
|
|
57
|
-
};
|
|
58
|
-
var Template = function (args) { return React.createElement(IconButton, __assign({}, args)); };
|
|
59
|
-
export var SmallFilled = Template.bind({});
|
|
60
|
-
SmallFilled.args = {
|
|
61
|
-
style: "smallFilled",
|
|
62
|
-
iconName: "allaw-icon-document",
|
|
63
|
-
onClick: function () { return console.log("SmallFilled button clicked"); },
|
|
64
|
-
};
|
|
65
|
-
export var LargeFilled = Template.bind({});
|
|
66
|
-
LargeFilled.args = {
|
|
67
|
-
style: "largeFilled",
|
|
68
|
-
iconName: "allaw-icon-document",
|
|
69
|
-
onClick: function () { return console.log("LargeFilled button clicked"); },
|
|
70
|
-
};
|
|
71
|
-
export var MediumOutline = Template.bind({});
|
|
72
|
-
MediumOutline.args = {
|
|
73
|
-
style: "mediumOutline",
|
|
74
|
-
iconName: "allaw-icon-calendar",
|
|
75
|
-
onClick: function () { return console.log("MediumOutline button clicked"); },
|
|
76
|
-
};
|
|
77
|
-
export var IconOnly = Template.bind({});
|
|
78
|
-
IconOnly.args = {
|
|
79
|
-
style: "iconOnly",
|
|
80
|
-
iconName: "allaw-icon-user",
|
|
81
|
-
onClick: function () { return console.log("IconOnly button clicked"); },
|
|
82
|
-
};
|
|
83
|
-
export var IconCircle = Template.bind({});
|
|
84
|
-
IconCircle.args = {
|
|
85
|
-
style: "iconCircle",
|
|
86
|
-
iconName: "allaw-icon-arrow-left",
|
|
87
|
-
onClick: function () { return console.log("IconCircle button clicked"); },
|
|
88
|
-
};
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import React from "react";
|
|
2
|
-
import "./OAuthProviderButton.css";
|
|
3
|
-
import "../../../styles/global.css";
|
|
4
|
-
export interface OAuthProviderButtonProps {
|
|
5
|
-
provider: "google" | "apple" | "linkedin" | "microsoft";
|
|
6
|
-
type: "login" | "signup" | "calendar";
|
|
7
|
-
url: string;
|
|
8
|
-
size: 14 | 16 | 18 | 20 | 22 | 24;
|
|
9
|
-
onClick?: () => void;
|
|
10
|
-
}
|
|
11
|
-
declare const OAuthProviderButton: React.FC<OAuthProviderButtonProps>;
|
|
12
|
-
export default OAuthProviderButton;
|