allaw-ui 3.4.3 → 3.4.5
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/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 +18 -0
- package/dist/components/atoms/buttons/ActionButton.js +116 -0
- package/dist/components/atoms/buttons/ActionButton.stories.d.ts +108 -0
- package/dist/components/atoms/buttons/ActionButton.stories.js +167 -0
- package/dist/components/atoms/buttons/ActionCircleButton.d.ts +9 -0
- package/dist/components/atoms/buttons/ActionCircleButton.js +23 -0
- package/dist/components/atoms/buttons/ActionCircleButton.stories.d.ts +35 -0
- package/dist/components/atoms/buttons/ActionCircleButton.stories.js +54 -0
- package/dist/components/atoms/buttons/AgendaSlot.d.ts +10 -0
- package/dist/components/atoms/buttons/AgendaSlot.js +7 -0
- package/dist/components/atoms/buttons/AgendaSlot.stories.d.ts +41 -0
- package/dist/components/atoms/buttons/AgendaSlot.stories.js +77 -0
- package/dist/components/atoms/buttons/FavoriteToggle.d.ts +8 -0
- package/dist/components/atoms/buttons/FavoriteToggle.js +11 -0
- package/dist/components/atoms/buttons/FavoriteToggle.stories.d.ts +23 -0
- package/dist/components/atoms/buttons/FavoriteToggle.stories.js +61 -0
- package/dist/components/atoms/buttons/FilterButton.d.ts +9 -0
- package/dist/components/atoms/buttons/FilterButton.js +9 -0
- package/dist/components/atoms/buttons/FilterButton.stories.d.ts +36 -0
- package/dist/components/atoms/buttons/FilterButton.stories.js +56 -0
- package/dist/components/atoms/buttons/FilterButtonPrimary.d.ts +9 -0
- package/dist/components/atoms/buttons/FilterButtonPrimary.js +46 -0
- package/dist/components/atoms/buttons/FilterButtonPrimary.stories.d.ts +7 -0
- package/dist/components/atoms/buttons/FilterButtonPrimary.stories.js +26 -0
- package/dist/components/atoms/buttons/GhostButton.d.ts +14 -0
- package/dist/components/atoms/buttons/GhostButton.js +11 -0
- package/dist/components/atoms/buttons/GhostButton.stories.d.ts +79 -0
- package/dist/components/atoms/buttons/GhostButton.stories.js +95 -0
- package/dist/components/atoms/buttons/IconButton.d.ts +11 -0
- package/dist/components/atoms/buttons/IconButton.js +14 -0
- package/dist/components/atoms/buttons/IconButton.stories.d.ts +49 -0
- package/dist/components/atoms/buttons/IconButton.stories.js +88 -0
- package/dist/components/atoms/buttons/OAuthProviderButton.d.ts +12 -0
- package/dist/components/atoms/buttons/OAuthProviderButton.js +165 -0
- package/dist/components/atoms/buttons/OAuthProviderButton.stories.d.ts +56 -0
- package/dist/components/atoms/buttons/OAuthProviderButton.stories.js +130 -0
- package/dist/components/atoms/buttons/PendingDocuments.d.ts +9 -0
- package/dist/components/atoms/buttons/PendingDocuments.js +15 -0
- package/dist/components/atoms/buttons/PendingDocuments.stories.d.ts +52 -0
- package/dist/components/atoms/buttons/PendingDocuments.stories.js +67 -0
- package/dist/components/atoms/buttons/PrimaryButton.d.ts +19 -0
- package/dist/components/atoms/buttons/PrimaryButton.js +117 -0
- package/dist/components/atoms/buttons/PrimaryButton.stories.d.ts +108 -0
- package/dist/components/atoms/buttons/PrimaryButton.stories.js +168 -0
- package/dist/components/atoms/buttons/SecondaryButton.d.ts +22 -0
- package/dist/components/atoms/buttons/SecondaryButton.js +151 -0
- package/dist/components/atoms/buttons/SecondaryButton.stories.d.ts +97 -0
- package/dist/components/atoms/buttons/SecondaryButton.stories.js +177 -0
- package/dist/components/atoms/buttons/TabNavigation.d.ts +17 -0
- package/dist/components/atoms/buttons/TabNavigation.js +68 -0
- package/dist/components/atoms/buttons/TabNavigation.stories.d.ts +81 -0
- package/dist/components/atoms/buttons/TabNavigation.stories.js +178 -0
- package/dist/components/atoms/buttons/TertiaryButton.d.ts +15 -0
- package/dist/components/atoms/buttons/TertiaryButton.js +23 -0
- package/dist/components/atoms/buttons/TertiaryButton.stories.d.ts +70 -0
- package/dist/components/atoms/buttons/TertiaryButton.stories.js +128 -0
- package/dist/components/atoms/buttons/index.d.ts +24 -0
- package/dist/components/atoms/buttons/index.js +12 -0
- package/dist/components/atoms/checkboxes/Checkbox.d.ts +15 -0
- package/dist/components/atoms/checkboxes/Checkbox.js +20 -0
- package/dist/components/atoms/checkboxes/Checkbox.stories.d.ts +77 -0
- package/dist/components/atoms/checkboxes/Checkbox.stories.js +123 -0
- package/dist/components/atoms/checkboxes/index.d.ts +2 -0
- package/dist/components/atoms/checkboxes/index.js +1 -0
- package/dist/components/atoms/datepickers/Datepicker.d.ts +15 -0
- package/dist/components/atoms/datepickers/Datepicker.js +151 -0
- package/dist/components/atoms/datepickers/Datepicker.stories.d.ts +90 -0
- package/dist/components/atoms/datepickers/Datepicker.stories.js +67 -0
- package/dist/components/atoms/datepickers/index.d.ts +2 -0
- package/dist/components/atoms/datepickers/index.js +1 -0
- package/dist/components/atoms/featureCard/featureCard.d.ts +15 -0
- package/dist/components/atoms/featureCard/featureCard.js +16 -0
- package/dist/components/atoms/featureCard/featureCard.stories.d.ts +21 -0
- package/dist/components/atoms/featureCard/featureCard.stories.js +101 -0
- package/dist/components/atoms/featureCard/index.d.ts +2 -0
- package/dist/components/atoms/featureCard/index.js +1 -0
- package/dist/components/atoms/filter/Filter.d.ts +17 -0
- package/dist/components/atoms/filter/Filter.js +70 -0
- package/dist/components/atoms/filter/Filter.stories.d.ts +9 -0
- package/dist/components/atoms/filter/Filter.stories.js +77 -0
- package/dist/components/atoms/filter/index.d.ts +2 -0
- package/dist/components/atoms/filter/index.js +1 -0
- package/dist/components/atoms/filters/SingleFilter.d.ts +16 -0
- package/dist/components/atoms/filters/SingleFilter.js +99 -0
- package/dist/components/atoms/filters/SingleFilter.stories.d.ts +7 -0
- package/dist/components/atoms/filters/SingleFilter.stories.js +33 -0
- package/dist/components/atoms/filters/index.d.ts +2 -0
- package/dist/components/atoms/filters/index.js +1 -0
- package/dist/components/atoms/inputs/Input.d.ts +29 -0
- package/dist/components/atoms/inputs/Input.js +94 -0
- package/dist/components/atoms/inputs/Input.stories.d.ts +63 -0
- package/dist/components/atoms/inputs/Input.stories.js +110 -0
- package/dist/components/atoms/inputs/SearchBar.d.ts +12 -0
- package/dist/components/atoms/inputs/SearchBar.js +20 -0
- package/dist/components/atoms/inputs/SearchBar.stories.d.ts +54 -0
- package/dist/components/atoms/inputs/SearchBar.stories.js +67 -0
- package/dist/components/atoms/inputs/TextArea.d.ts +25 -0
- package/dist/components/atoms/inputs/TextArea.js +77 -0
- package/dist/components/atoms/inputs/TextArea.stories.d.ts +95 -0
- package/dist/components/atoms/inputs/TextArea.stories.js +141 -0
- package/dist/components/atoms/inputs/VerificationCodeInput.d.ts +14 -0
- package/dist/components/atoms/inputs/VerificationCodeInput.js +155 -0
- package/dist/components/atoms/inputs/VerificationCodeInput.stories.d.ts +81 -0
- package/dist/components/atoms/inputs/VerificationCodeInput.stories.js +89 -0
- package/dist/components/atoms/inputs/index.d.ts +8 -0
- package/dist/components/atoms/inputs/index.js +4 -0
- package/dist/components/atoms/progressBars/ProgressBar.d.ts +18 -0
- package/dist/components/atoms/progressBars/ProgressBar.js +26 -0
- package/dist/components/atoms/progressBars/ProgressBar.stories.d.ts +83 -0
- package/dist/components/atoms/progressBars/ProgressBar.stories.js +88 -0
- package/dist/components/atoms/progressBars/index.d.ts +2 -0
- package/dist/components/atoms/progressBars/index.js +1 -0
- package/dist/components/atoms/radios/RadioButton.d.ts +12 -0
- package/dist/components/atoms/radios/RadioButton.js +10 -0
- package/dist/components/atoms/radios/RadioButton.stories.d.ts +36 -0
- package/dist/components/atoms/radios/RadioButton.stories.js +75 -0
- package/dist/components/atoms/radios/SelectCard.d.ts +24 -0
- package/dist/components/atoms/radios/SelectCard.js +100 -0
- package/dist/components/atoms/radios/SelectCard.stories.d.ts +92 -0
- package/dist/components/atoms/radios/SelectCard.stories.js +192 -0
- package/dist/components/atoms/radios/index.d.ts +4 -0
- package/dist/components/atoms/radios/index.js +2 -0
- package/dist/components/atoms/selects/ComboBox.d.ts +28 -0
- package/dist/components/atoms/selects/ComboBox.js +172 -0
- package/dist/components/atoms/selects/ComboBox.stories.d.ts +116 -0
- package/dist/components/atoms/selects/ComboBox.stories.js +136 -0
- package/dist/components/atoms/selects/Select.d.ts +25 -0
- package/dist/components/atoms/selects/Select.js +240 -0
- package/dist/components/atoms/selects/Select.stories.d.ts +95 -0
- package/dist/components/atoms/selects/Select.stories.js +161 -0
- package/dist/components/atoms/selects/SelectableListItem.d.ts +14 -0
- package/dist/components/atoms/selects/SelectableListItem.js +19 -0
- package/dist/components/atoms/selects/SelectableListItem.stories.d.ts +33 -0
- package/dist/components/atoms/selects/SelectableListItem.stories.js +53 -0
- package/dist/components/atoms/selects/index.d.ts +6 -0
- package/dist/components/atoms/selects/index.js +3 -0
- package/dist/components/atoms/tags/AppointementStatusTag.d.ts +8 -0
- package/dist/components/atoms/tags/AppointementStatusTag.js +42 -0
- package/dist/components/atoms/tags/AppointementStatusTag.stories.d.ts +17 -0
- package/dist/components/atoms/tags/AppointementStatusTag.stories.js +70 -0
- package/dist/components/atoms/tags/FolderStatusTag.d.ts +8 -0
- package/dist/components/atoms/tags/FolderStatusTag.js +25 -0
- package/dist/components/atoms/tags/FolderStatusTag.stories.d.ts +28 -0
- package/dist/components/atoms/tags/FolderStatusTag.stories.js +51 -0
- package/dist/components/atoms/tags/OtherStatusTag.d.ts +13 -0
- package/dist/components/atoms/tags/OtherStatusTag.js +15 -0
- package/dist/components/atoms/tags/OtherStatusTag.stories.d.ts +97 -0
- package/dist/components/atoms/tags/OtherStatusTag.stories.js +151 -0
- package/dist/components/atoms/tags/index.d.ts +6 -0
- package/dist/components/atoms/tags/index.js +3 -0
- package/dist/components/atoms/typography/CardDate.d.ts +11 -0
- package/dist/components/atoms/typography/CardDate.js +52 -0
- package/dist/components/atoms/typography/CardDate.stories.d.ts +119 -0
- package/dist/components/atoms/typography/CardDate.stories.js +103 -0
- package/dist/components/atoms/typography/Heading.d.ts +16 -0
- package/dist/components/atoms/typography/Heading.js +39 -0
- package/dist/components/atoms/typography/Heading.stories.d.ts +79 -0
- package/dist/components/atoms/typography/Heading.stories.js +150 -0
- package/dist/components/atoms/typography/Link.d.ts +15 -0
- package/dist/components/atoms/typography/Link.js +35 -0
- package/dist/components/atoms/typography/Link.stories.d.ts +72 -0
- package/dist/components/atoms/typography/Link.stories.js +164 -0
- package/dist/components/atoms/typography/Paragraph.d.ts +14 -0
- package/dist/components/atoms/typography/Paragraph.js +33 -0
- package/dist/components/atoms/typography/Paragraph.stories.d.ts +56 -0
- package/dist/components/atoms/typography/Paragraph.stories.js +97 -0
- package/dist/components/atoms/typography/SmallTitle.d.ts +9 -0
- package/dist/components/atoms/typography/SmallTitle.js +7 -0
- package/dist/components/atoms/typography/SmallTitle.stories.d.ts +42 -0
- package/dist/components/atoms/typography/SmallTitle.stories.js +72 -0
- package/dist/components/atoms/typography/Subtitle.d.ts +9 -0
- package/dist/components/atoms/typography/Subtitle.js +7 -0
- package/dist/components/atoms/typography/Subtitle.stories.d.ts +40 -0
- package/dist/components/atoms/typography/Subtitle.stories.js +60 -0
- package/dist/components/atoms/typography/TinyInfo.d.ts +14 -0
- package/dist/components/atoms/typography/TinyInfo.js +18 -0
- package/dist/components/atoms/typography/TinyInfo.stories.d.ts +58 -0
- package/dist/components/atoms/typography/TinyInfo.stories.js +117 -0
- package/dist/components/atoms/typography/index.d.ts +12 -0
- package/dist/components/atoms/typography/index.js +6 -0
- package/dist/components/atoms/uiVariables/AnimatedBorder.d.ts +4 -0
- package/dist/components/atoms/uiVariables/AnimatedBorder.js +11 -0
- package/dist/components/atoms/uiVariables/AnimatedBorder.stories.d.ts +17 -0
- package/dist/components/atoms/uiVariables/AnimatedBorder.stories.js +20 -0
- package/dist/components/atoms/uiVariables/BorderRadius.d.ts +6 -0
- package/dist/components/atoms/uiVariables/BorderRadius.js +12 -0
- package/dist/components/atoms/uiVariables/BorderRadius.stories.d.ts +18 -0
- package/dist/components/atoms/uiVariables/BorderRadius.stories.js +34 -0
- package/dist/components/atoms/uiVariables/Shadows.d.ts +6 -0
- package/dist/components/atoms/uiVariables/Shadows.js +11 -0
- package/dist/components/atoms/uiVariables/Shadows.stories.d.ts +18 -0
- package/dist/components/atoms/uiVariables/Shadows.stories.js +34 -0
- package/dist/components/atoms/uiVariables/Strokes.d.ts +6 -0
- package/dist/components/atoms/uiVariables/Strokes.js +10 -0
- package/dist/components/atoms/uiVariables/Strokes.stories.d.ts +18 -0
- package/dist/components/atoms/uiVariables/Strokes.stories.js +34 -0
- package/dist/components/atoms/uiVariables/index.d.ts +3 -0
- package/dist/components/atoms/uiVariables/index.js +3 -0
- package/dist/components/molecules/appointmentSlot/AppointmentSlot.d.ts +26 -0
- package/dist/components/molecules/appointmentSlot/AppointmentSlot.js +109 -0
- package/dist/components/molecules/appointmentSlot/AppointmentSlot.stories.d.ts +70 -0
- package/dist/components/molecules/appointmentSlot/AppointmentSlot.stories.js +186 -0
- package/dist/components/molecules/appointmentSlot/index.d.ts +2 -0
- package/dist/components/molecules/appointmentSlot/index.js +1 -0
- package/dist/components/molecules/banner/Banner.d.ts +20 -0
- package/dist/components/molecules/banner/Banner.js +28 -0
- package/dist/components/molecules/banner/Banner.stories.d.ts +31 -0
- package/dist/components/molecules/banner/Banner.stories.js +123 -0
- package/dist/components/molecules/banner/index.d.ts +2 -0
- package/dist/components/molecules/banner/index.js +1 -0
- package/dist/components/molecules/billingCount/BillingCount.d.ts +11 -0
- package/dist/components/molecules/billingCount/BillingCount.js +169 -0
- package/dist/components/molecules/billingCount/BillingCount.stories.d.ts +22 -0
- package/dist/components/molecules/billingCount/BillingCount.stories.js +49 -0
- package/dist/components/molecules/billingCount/index.d.ts +2 -0
- package/dist/components/molecules/billingCount/index.js +1 -0
- package/dist/components/molecules/blogCard/BlogCard.d.ts +13 -0
- package/dist/components/molecules/blogCard/BlogCard.js +32 -0
- package/dist/components/molecules/blogCard/BlogCard.stories.d.ts +10 -0
- package/dist/components/molecules/blogCard/BlogCard.stories.js +33 -0
- package/dist/components/molecules/blogCard/index.d.ts +2 -0
- package/dist/components/molecules/blogCard/index.js +1 -0
- package/dist/components/molecules/blogFooter/BlogFooter.d.ts +12 -0
- package/dist/components/molecules/blogFooter/BlogFooter.js +14 -0
- package/dist/components/molecules/blogFooter/BlogFooter.stories.d.ts +60 -0
- package/dist/components/molecules/blogFooter/BlogFooter.stories.js +67 -0
- package/dist/components/molecules/blogFooter/index.d.ts +2 -0
- package/dist/components/molecules/blogFooter/index.js +1 -0
- package/dist/components/molecules/blogHeader/BlogHeader.d.ts +11 -0
- package/dist/components/molecules/blogHeader/BlogHeader.js +21 -0
- package/dist/components/molecules/blogHeader/BlogHeader.stories.d.ts +49 -0
- package/dist/components/molecules/blogHeader/BlogHeader.stories.js +63 -0
- package/dist/components/molecules/blogHeader/index.d.ts +2 -0
- package/dist/components/molecules/blogHeader/index.js +1 -0
- package/dist/components/molecules/blogText/BlogText.d.ts +7 -0
- package/dist/components/molecules/blogText/BlogText.js +11 -0
- package/dist/components/molecules/blogText/BlogText.stories.d.ts +31 -0
- package/dist/components/molecules/blogText/BlogText.stories.js +51 -0
- package/dist/components/molecules/blogText/index.d.ts +2 -0
- package/dist/components/molecules/blogText/index.js +1 -0
- package/dist/components/molecules/blogTextImageBlock/BlogTextImageBlock.d.ts +8 -0
- package/dist/components/molecules/blogTextImageBlock/BlogTextImageBlock.js +15 -0
- package/dist/components/molecules/blogTextImageBlock/BlogTextImageBlock.stories.d.ts +37 -0
- package/dist/components/molecules/blogTextImageBlock/BlogTextImageBlock.stories.js +58 -0
- package/dist/components/molecules/blogTextImageBlock/index.d.ts +2 -0
- package/dist/components/molecules/blogTextImageBlock/index.js +1 -0
- package/dist/components/molecules/brands/Brands.d.ts +9 -0
- package/dist/components/molecules/brands/Brands.js +13 -0
- package/dist/components/molecules/brands/Brands.stories.d.ts +8 -0
- package/dist/components/molecules/brands/Brands.stories.js +66 -0
- package/dist/components/molecules/brands/index.d.ts +2 -0
- package/dist/components/molecules/brands/index.js +1 -0
- package/dist/components/molecules/breadcrumb/Breadcrumb.d.ts +12 -0
- package/dist/components/molecules/breadcrumb/Breadcrumb.js +12 -0
- package/dist/components/molecules/breadcrumb/Breadcrumb.stories.d.ts +24 -0
- package/dist/components/molecules/breadcrumb/Breadcrumb.stories.js +54 -0
- package/dist/components/molecules/breadcrumb/index.d.ts +2 -0
- package/dist/components/molecules/breadcrumb/index.js +1 -0
- package/dist/components/molecules/caseCard/CaseCard.d.ts +23 -0
- package/dist/components/molecules/caseCard/CaseCard.js +19 -0
- package/dist/components/molecules/caseCard/CaseCard.stories.d.ts +114 -0
- package/dist/components/molecules/caseCard/CaseCard.stories.js +200 -0
- package/dist/components/molecules/caseCard/index.d.ts +2 -0
- package/dist/components/molecules/caseCard/index.js +1 -0
- package/dist/components/molecules/caseCardCompact/CaseCardCompact.d.ts +16 -0
- package/dist/components/molecules/caseCardCompact/CaseCardCompact.js +20 -0
- package/dist/components/molecules/caseCardCompact/CaseCardCompact.stories.d.ts +11 -0
- package/dist/components/molecules/caseCardCompact/CaseCardCompact.stories.js +59 -0
- package/dist/components/molecules/caseCardCompact/index.d.ts +2 -0
- package/dist/components/molecules/caseCardCompact/index.js +1 -0
- package/dist/components/molecules/caseLinkCard/CaseCardLink.stories.d.ts +9 -0
- package/dist/components/molecules/caseLinkCard/CaseCardLink.stories.js +37 -0
- package/dist/components/molecules/caseLinkCard/CaseLinkCard.d.ts +13 -0
- package/dist/components/molecules/caseLinkCard/CaseLinkCard.js +37 -0
- package/dist/components/molecules/caseLinkCard/index.d.ts +2 -0
- package/dist/components/molecules/caseLinkCard/index.js +1 -0
- package/dist/components/molecules/checkboxForm/CheckboxForm.d.ts +20 -0
- package/dist/components/molecules/checkboxForm/CheckboxForm.js +30 -0
- package/dist/components/molecules/checkboxForm/CheckboxForm.stories.d.ts +94 -0
- package/dist/components/molecules/checkboxForm/CheckboxForm.stories.js +157 -0
- package/dist/components/molecules/checkboxForm/ColoredCheckbox.d.ts +20 -0
- package/dist/components/molecules/checkboxForm/ColoredCheckbox.js +81 -0
- package/dist/components/molecules/checkboxForm/ColoredCheckbox.stories.d.ts +108 -0
- package/dist/components/molecules/checkboxForm/ColoredCheckbox.stories.js +141 -0
- package/dist/components/molecules/checkboxForm/index.d.ts +4 -0
- package/dist/components/molecules/checkboxForm/index.js +2 -0
- package/dist/components/molecules/clientLinkCard/ClientLinkCard.d.ts +15 -0
- package/dist/components/molecules/clientLinkCard/ClientLinkCard.js +18 -0
- package/dist/components/molecules/clientLinkCard/ClientLinkCard.stories.d.ts +11 -0
- package/dist/components/molecules/clientLinkCard/ClientLinkCard.stories.js +59 -0
- package/dist/components/molecules/clientLinkCard/index.d.ts +2 -0
- package/dist/components/molecules/clientLinkCard/index.js +1 -0
- package/dist/components/molecules/contactCard/ContactCard.d.ts +16 -0
- package/dist/components/molecules/contactCard/ContactCard.js +31 -0
- package/dist/components/molecules/contactCard/ContactCard.stories.d.ts +68 -0
- package/dist/components/molecules/contactCard/ContactCard.stories.js +80 -0
- package/dist/components/molecules/contactCard/DetailedContactCard.d.ts +18 -0
- package/dist/components/molecules/contactCard/DetailedContactCard.js +61 -0
- package/dist/components/molecules/contactCard/DetailedContactCard.stories.d.ts +94 -0
- package/dist/components/molecules/contactCard/DetailedContactCard.stories.js +83 -0
- package/dist/components/molecules/contactCard/index.d.ts +4 -0
- package/dist/components/molecules/contactCard/index.js +2 -0
- package/dist/components/molecules/datepickerForm/DatepickerForm.d.ts +16 -0
- package/dist/components/molecules/datepickerForm/DatepickerForm.js +13 -0
- package/dist/components/molecules/datepickerForm/DatepickerForm.stories.d.ts +164 -0
- package/dist/components/molecules/datepickerForm/DatepickerForm.stories.js +113 -0
- package/dist/components/molecules/datepickerForm/index.d.ts +2 -0
- package/dist/components/molecules/datepickerForm/index.js +1 -0
- package/dist/components/molecules/documentCard/DocumentCard.d.ts +16 -0
- package/dist/components/molecules/documentCard/DocumentCard.js +124 -0
- package/dist/components/molecules/documentCard/DocumentCard.stories.d.ts +71 -0
- package/dist/components/molecules/documentCard/DocumentCard.stories.js +100 -0
- package/dist/components/molecules/documentCard/index.d.ts +2 -0
- package/dist/components/molecules/documentCard/index.js +1 -0
- package/dist/components/molecules/employeeCard/EmployeeCard.d.ts +15 -0
- package/dist/components/molecules/employeeCard/EmployeeCard.js +34 -0
- package/dist/components/molecules/employeeCard/EmployeeCard.stories.d.ts +74 -0
- package/dist/components/molecules/employeeCard/EmployeeCard.stories.js +65 -0
- package/dist/components/molecules/employeeCard/index.d.ts +2 -0
- package/dist/components/molecules/employeeCard/index.js +1 -0
- package/dist/components/molecules/entityAdminCard/EntityAdminCard.d.ts +13 -0
- package/dist/components/molecules/entityAdminCard/EntityAdminCard.js +34 -0
- package/dist/components/molecules/entityAdminCard/entityAdminCard.stories.d.ts +8 -0
- package/dist/components/molecules/entityAdminCard/entityAdminCard.stories.js +34 -0
- package/dist/components/molecules/entityCard/EntityCard.d.ts +12 -0
- package/dist/components/molecules/entityCard/EntityCard.js +53 -0
- package/dist/components/molecules/entityCard/EntityCard.stories.d.ts +7 -0
- package/dist/components/molecules/entityCard/EntityCard.stories.js +30 -0
- package/dist/components/molecules/entityCard/index.d.ts +2 -0
- package/dist/components/molecules/entityCard/index.js +1 -0
- package/dist/components/molecules/featureGrid/FeatureGrid.d.ts +8 -0
- package/dist/components/molecules/featureGrid/FeatureGrid.js +27 -0
- package/dist/components/molecules/featureGrid/FeatureGrid.stories.d.ts +7 -0
- package/dist/components/molecules/featureGrid/FeatureGrid.stories.js +97 -0
- package/dist/components/molecules/featureGrid/index.d.ts +2 -0
- package/dist/components/molecules/featureGrid/index.js +1 -0
- package/dist/components/molecules/fileUploader/FileUploader.d.ts +41 -0
- package/dist/components/molecules/fileUploader/FileUploader.js +346 -0
- package/dist/components/molecules/fileUploader/FileUploader.stories.d.ts +107 -0
- package/dist/components/molecules/fileUploader/FileUploader.stories.js +232 -0
- package/dist/components/molecules/fileUploader/ImageCropperModal.d.ts +15 -0
- package/dist/components/molecules/fileUploader/ImageCropperModal.js +212 -0
- package/dist/components/molecules/fileUploader/index.d.ts +2 -0
- package/dist/components/molecules/fileUploader/index.js +1 -0
- package/dist/components/molecules/flexContent/FlexContent.d.ts +18 -0
- package/dist/components/molecules/flexContent/FlexContent.js +21 -0
- package/dist/components/molecules/flexContent/FlexContent.stories.d.ts +9 -0
- package/dist/components/molecules/flexContent/FlexContent.stories.js +47 -0
- package/dist/components/molecules/flexContent/index.d.ts +2 -0
- package/dist/components/molecules/flexContent/index.js +1 -0
- package/dist/components/molecules/frameCTA/FrameCTA.d.ts +19 -0
- package/dist/components/molecules/frameCTA/FrameCTA.js +18 -0
- package/dist/components/molecules/frameCTA/FrameCTA.stories.d.ts +8 -0
- package/dist/components/molecules/frameCTA/FrameCTA.stories.js +58 -0
- package/dist/components/molecules/frameCTA/index.d.ts +2 -0
- package/dist/components/molecules/frameCTA/index.js +1 -0
- package/dist/components/molecules/heroSection/HeroSection.d.ts +21 -0
- package/dist/components/molecules/heroSection/HeroSection.js +20 -0
- package/dist/components/molecules/heroSection/HeroSection.stories.d.ts +46 -0
- package/dist/components/molecules/heroSection/HeroSection.stories.js +100 -0
- package/dist/components/molecules/heroSection/index.d.ts +2 -0
- package/dist/components/molecules/heroSection/index.js +1 -0
- package/dist/components/molecules/loadingBox/LoadingBox.d.ts +12 -0
- package/dist/components/molecules/loadingBox/LoadingBox.js +11 -0
- package/dist/components/molecules/loadingBox/LoadingBox.stories.d.ts +54 -0
- package/dist/components/molecules/loadingBox/LoadingBox.stories.js +128 -0
- package/dist/components/molecules/loadingBox/index.d.ts +2 -0
- package/dist/components/molecules/loadingBox/index.js +1 -0
- package/dist/components/molecules/modal/Modal.d.ts +32 -0
- package/dist/components/molecules/modal/Modal.js +97 -0
- package/dist/components/molecules/modal/Modal.stories.d.ts +87 -0
- package/dist/components/molecules/modal/Modal.stories.js +126 -0
- package/dist/components/molecules/modal/index.d.ts +2 -0
- package/dist/components/molecules/modal/index.js +1 -0
- package/dist/components/molecules/pagination/Pagination.d.ts +10 -0
- package/dist/components/molecules/pagination/Pagination.js +64 -0
- package/dist/components/molecules/pagination/Pagination.stories.d.ts +44 -0
- package/dist/components/molecules/pagination/Pagination.stories.js +59 -0
- package/dist/components/molecules/pagination/index.d.ts +2 -0
- package/dist/components/molecules/pagination/index.js +1 -0
- package/dist/components/molecules/proCard/ProCard.d.ts +14 -0
- package/dist/components/molecules/proCard/ProCard.js +30 -0
- package/dist/components/molecules/proCard/ProCard.stories.d.ts +49 -0
- package/dist/components/molecules/proCard/ProCard.stories.js +69 -0
- package/dist/components/molecules/proCard/index.d.ts +2 -0
- package/dist/components/molecules/proCard/index.js +1 -0
- package/dist/components/molecules/questionAnswer/QuestionAnswer.d.ts +10 -0
- package/dist/components/molecules/questionAnswer/QuestionAnswer.js +33 -0
- package/dist/components/molecules/questionAnswer/QuestionAnswer.stories.d.ts +17 -0
- package/dist/components/molecules/questionAnswer/QuestionAnswer.stories.js +48 -0
- package/dist/components/molecules/questionAnswer/index.d.ts +2 -0
- package/dist/components/molecules/questionAnswer/index.js +1 -0
- package/dist/components/molecules/radioForm/RadioForm.d.ts +12 -0
- package/dist/components/molecules/radioForm/RadioForm.js +27 -0
- package/dist/components/molecules/radioForm/RadioForm.stories.d.ts +27 -0
- package/dist/components/molecules/radioForm/RadioForm.stories.js +52 -0
- package/dist/components/molecules/radioForm/index.d.ts +2 -0
- package/dist/components/molecules/radioForm/index.js +1 -0
- package/dist/components/molecules/selectForm/SelectForm.d.ts +19 -0
- package/dist/components/molecules/selectForm/SelectForm.js +15 -0
- package/dist/components/molecules/selectForm/SelectForm.stories.d.ts +72 -0
- package/dist/components/molecules/selectForm/SelectForm.stories.js +104 -0
- package/dist/components/molecules/selectForm/index.d.ts +2 -0
- package/dist/components/molecules/selectForm/index.js +1 -0
- package/dist/components/molecules/stepper/ConfirmationModal.d.ts +14 -0
- package/dist/components/molecules/stepper/ConfirmationModal.js +26 -0
- package/dist/components/molecules/stepper/Stepper.d.ts +51 -0
- package/dist/components/molecules/stepper/Stepper.js +156 -0
- package/dist/components/molecules/stepper/Stepper.stories.d.ts +52 -0
- package/dist/components/molecules/stepper/Stepper.stories.js +206 -0
- package/dist/components/molecules/stepper/index.d.ts +2 -0
- package/dist/components/molecules/stepper/index.js +1 -0
- package/dist/index.d.ts +108 -0
- package/dist/index.js +108 -0
- package/dist/stories/Header.d.ts +13 -0
- package/dist/stories/Header.js +20 -0
- package/dist/stories/Header.stories.d.ts +18 -0
- package/dist/stories/Header.stories.js +26 -0
- package/dist/stories/Page.d.ts +3 -0
- package/dist/stories/Page.js +37 -0
- package/dist/stories/Page.stories.d.ts +12 -0
- package/dist/stories/Page.stories.js +76 -0
- package/dist/utils/regex.d.ts +5 -0
- package/dist/utils/regex.js +7 -0
- package/dist/utils/utils.d.ts +3 -0
- package/dist/utils/utils.js +58 -0
- package/package.json +1 -1
- package/dist/tsconfig.tsbuildinfo +0 -1
|
@@ -0,0 +1,77 @@
|
|
|
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 AgendaSlot from "./AgendaSlot";
|
|
14
|
+
import "../../../styles/global.css";
|
|
15
|
+
export default {
|
|
16
|
+
title: "Components/Atoms/Buttons/AgendaSlot",
|
|
17
|
+
component: AgendaSlot,
|
|
18
|
+
tags: ["autodocs"],
|
|
19
|
+
argTypes: {
|
|
20
|
+
appearance: {
|
|
21
|
+
control: {
|
|
22
|
+
type: "select",
|
|
23
|
+
options: ["pro", "hybride", "user"],
|
|
24
|
+
},
|
|
25
|
+
},
|
|
26
|
+
isDisabled: {
|
|
27
|
+
control: {
|
|
28
|
+
type: "boolean",
|
|
29
|
+
},
|
|
30
|
+
},
|
|
31
|
+
onClick: {
|
|
32
|
+
table: {
|
|
33
|
+
disable: true,
|
|
34
|
+
},
|
|
35
|
+
},
|
|
36
|
+
},
|
|
37
|
+
parameters: {
|
|
38
|
+
backgrounds: {
|
|
39
|
+
default: "light",
|
|
40
|
+
values: [
|
|
41
|
+
{ name: "light", value: "#ffffff" },
|
|
42
|
+
{ name: "grey", value: "#728ea7" },
|
|
43
|
+
{ name: "figma", value: "#404040" },
|
|
44
|
+
{ name: "dark", value: "#171e25" },
|
|
45
|
+
],
|
|
46
|
+
},
|
|
47
|
+
},
|
|
48
|
+
};
|
|
49
|
+
var Template = function (args) { return React.createElement(AgendaSlot, __assign({}, args)); };
|
|
50
|
+
export var Default = Template.bind({});
|
|
51
|
+
Default.args = {
|
|
52
|
+
time: "8:00 - 8:45",
|
|
53
|
+
appearance: "pro",
|
|
54
|
+
isDisabled: false,
|
|
55
|
+
onClick: function () { return console.log("Slot clicked"); },
|
|
56
|
+
};
|
|
57
|
+
export var Hybride = Template.bind({});
|
|
58
|
+
Hybride.args = {
|
|
59
|
+
time: "8:00",
|
|
60
|
+
appearance: "hybride",
|
|
61
|
+
isDisabled: false,
|
|
62
|
+
onClick: function () { return console.log("Slot clicked"); },
|
|
63
|
+
};
|
|
64
|
+
export var User = Template.bind({});
|
|
65
|
+
User.args = {
|
|
66
|
+
time: "9:00",
|
|
67
|
+
appearance: "user",
|
|
68
|
+
isDisabled: false,
|
|
69
|
+
onClick: function () { return console.log("Slot clicked"); },
|
|
70
|
+
};
|
|
71
|
+
export var Disabled = Template.bind({});
|
|
72
|
+
Disabled.args = {
|
|
73
|
+
time: "8:00 - 8:45",
|
|
74
|
+
appearance: "pro",
|
|
75
|
+
isDisabled: true,
|
|
76
|
+
onClick: undefined, // Disabled state
|
|
77
|
+
};
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import "./FavoriteToggle.css";
|
|
3
|
+
export interface FavoriteToggleProps {
|
|
4
|
+
isFavorite: boolean;
|
|
5
|
+
onToggle: (isFavorite: boolean) => void;
|
|
6
|
+
}
|
|
7
|
+
declare const FavoriteToggle: React.FC<FavoriteToggleProps>;
|
|
8
|
+
export default FavoriteToggle;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import "./FavoriteToggle.css";
|
|
3
|
+
var FavoriteToggle = function (_a) {
|
|
4
|
+
var isFavorite = _a.isFavorite, onToggle = _a.onToggle;
|
|
5
|
+
var handleToggle = function () {
|
|
6
|
+
onToggle(!isFavorite);
|
|
7
|
+
};
|
|
8
|
+
return (React.createElement("div", { className: "favorite-toggle", onClick: handleToggle },
|
|
9
|
+
React.createElement("i", { className: "icon ".concat(isFavorite ? "favorite allaw-icon-star-fill" : "not-favorite allaw-icon-star-unfill") })));
|
|
10
|
+
};
|
|
11
|
+
export default FavoriteToggle;
|
|
@@ -0,0 +1,23 @@
|
|
|
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";
|
|
@@ -0,0 +1,61 @@
|
|
|
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
|
+
};
|
|
@@ -0,0 +1,9 @@
|
|
|
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;
|
|
@@ -0,0 +1,9 @@
|
|
|
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;
|
|
@@ -0,0 +1,36 @@
|
|
|
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";
|
|
@@ -0,0 +1,56 @@
|
|
|
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
|
+
};
|
|
@@ -0,0 +1,9 @@
|
|
|
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;
|
|
@@ -0,0 +1,46 @@
|
|
|
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;
|
|
@@ -0,0 +1,26 @@
|
|
|
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
|
+
};
|
|
@@ -0,0 +1,14 @@
|
|
|
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;
|
|
@@ -0,0 +1,11 @@
|
|
|
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;
|
|
@@ -0,0 +1,79 @@
|
|
|
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";
|
|
@@ -0,0 +1,95 @@
|
|
|
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
|
+
};
|
|
@@ -0,0 +1,11 @@
|
|
|
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;
|
|
@@ -0,0 +1,14 @@
|
|
|
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;
|
|
@@ -0,0 +1,49 @@
|
|
|
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";
|