@axa-fr/design-system-apollo-react 3.2.0 → 4.0.0-alpha.1090
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/package.json +9 -56
- package/src/index.ts +2 -0
- package/src/indexLF.ts +2 -0
- package/dist/Accordion/AccordionApollo.d.ts +0 -4
- package/dist/Accordion/AccordionApollo.js +0 -8
- package/dist/Accordion/AccordionCommon.d.ts +0 -29
- package/dist/Accordion/AccordionCommon.js +0 -17
- package/dist/Accordion/AccordionLF.d.ts +0 -4
- package/dist/Accordion/AccordionLF.js +0 -8
- package/dist/AccordionCore/AccordionCoreApollo.d.ts +0 -3
- package/dist/AccordionCore/AccordionCoreApollo.js +0 -5
- package/dist/AccordionCore/AccordionCoreCommon.d.ts +0 -17
- package/dist/AccordionCore/AccordionCoreCommon.js +0 -22
- package/dist/AccordionCore/AccordionCoreLF.d.ts +0 -3
- package/dist/AccordionCore/AccordionCoreLF.js +0 -5
- package/dist/BasePicture/BasePicture.d.ts +0 -5
- package/dist/BasePicture/BasePicture.js +0 -4
- package/dist/Button/ButtonApollo.d.ts +0 -4
- package/dist/Button/ButtonApollo.js +0 -6
- package/dist/Button/ButtonCommon.d.ts +0 -23
- package/dist/Button/ButtonCommon.js +0 -13
- package/dist/Button/ButtonLF.d.ts +0 -4
- package/dist/Button/ButtonLF.js +0 -6
- package/dist/CardMessage/CardMessageApollo.d.ts +0 -2
- package/dist/CardMessage/CardMessageApollo.js +0 -2
- package/dist/CardMessage/CardMessageCommon.d.ts +0 -14
- package/dist/CardMessage/CardMessageCommon.js +0 -15
- package/dist/CardMessage/CardMessageLF.d.ts +0 -2
- package/dist/CardMessage/CardMessageLF.js +0 -2
- package/dist/ClickIcon/ClickIconApollo.d.ts +0 -2
- package/dist/ClickIcon/ClickIconApollo.js +0 -2
- package/dist/ClickIcon/ClickIconCommon.d.ts +0 -9
- package/dist/ClickIcon/ClickIconCommon.js +0 -3
- package/dist/ClickIcon/ClickIconLF.d.ts +0 -2
- package/dist/ClickIcon/ClickIconLF.js +0 -2
- package/dist/ContentItemDuoAction/ContentItemDuoActionApollo.d.ts +0 -4
- package/dist/ContentItemDuoAction/ContentItemDuoActionApollo.js +0 -6
- package/dist/ContentItemDuoAction/ContentItemDuoActionCommon.d.ts +0 -28
- package/dist/ContentItemDuoAction/ContentItemDuoActionCommon.js +0 -10
- package/dist/ContentItemDuoAction/ContentItemDuoActionLF.d.ts +0 -5
- package/dist/ContentItemDuoAction/ContentItemDuoActionLF.js +0 -7
- package/dist/ContentItemMono/ContentItemMonoApollo.d.ts +0 -3
- package/dist/ContentItemMono/ContentItemMonoApollo.js +0 -5
- package/dist/ContentItemMono/ContentItemMonoCommon.d.ts +0 -33
- package/dist/ContentItemMono/ContentItemMonoCommon.js +0 -28
- package/dist/ContentItemMono/ContentItemMonoCore.d.ts +0 -9
- package/dist/ContentItemMono/ContentItemMonoCore.js +0 -4
- package/dist/ContentItemMono/ContentItemMonoLF.d.ts +0 -3
- package/dist/ContentItemMono/ContentItemMonoLF.js +0 -5
- package/dist/DataAgent/DataAgentApollo.d.ts +0 -3
- package/dist/DataAgent/DataAgentApollo.js +0 -7
- package/dist/DataAgent/DataAgentCommon.d.ts +0 -21
- package/dist/DataAgent/DataAgentCommon.js +0 -17
- package/dist/DataAgent/DataAgentLF.d.ts +0 -3
- package/dist/DataAgent/DataAgentLF.js +0 -7
- package/dist/Divider/DividerApollo.d.ts +0 -2
- package/dist/Divider/DividerApollo.js +0 -2
- package/dist/Divider/DividerCommon.d.ts +0 -6
- package/dist/Divider/DividerCommon.js +0 -7
- package/dist/Divider/DividerLF.d.ts +0 -2
- package/dist/Divider/DividerLF.js +0 -2
- package/dist/Form/Checkbox/CardCheckbox/CardCheckboxApollo.d.ts +0 -6
- package/dist/Form/Checkbox/CardCheckbox/CardCheckboxApollo.js +0 -7
- package/dist/Form/Checkbox/CardCheckbox/CardCheckboxCommon.d.ts +0 -35
- package/dist/Form/Checkbox/CardCheckbox/CardCheckboxCommon.js +0 -31
- package/dist/Form/Checkbox/CardCheckbox/CardCheckboxLF.d.ts +0 -6
- package/dist/Form/Checkbox/CardCheckbox/CardCheckboxLF.js +0 -7
- package/dist/Form/Checkbox/CardCheckboxOption/CardCheckboxOptionApollo.d.ts +0 -3
- package/dist/Form/Checkbox/CardCheckboxOption/CardCheckboxOptionApollo.js +0 -6
- package/dist/Form/Checkbox/CardCheckboxOption/CardCheckboxOptionCommon.d.ts +0 -16
- package/dist/Form/Checkbox/CardCheckboxOption/CardCheckboxOptionCommon.js +0 -11
- package/dist/Form/Checkbox/CardCheckboxOption/CardCheckboxOptionLF.d.ts +0 -3
- package/dist/Form/Checkbox/CardCheckboxOption/CardCheckboxOptionLF.js +0 -6
- package/dist/Form/Checkbox/Checkbox/CheckboxApollo.d.ts +0 -2
- package/dist/Form/Checkbox/Checkbox/CheckboxApollo.js +0 -2
- package/dist/Form/Checkbox/Checkbox/CheckboxCommon.d.ts +0 -8
- package/dist/Form/Checkbox/Checkbox/CheckboxCommon.js +0 -4
- package/dist/Form/Checkbox/Checkbox/CheckboxLF.d.ts +0 -2
- package/dist/Form/Checkbox/Checkbox/CheckboxLF.js +0 -2
- package/dist/Form/Checkbox/CheckboxText/CheckboxTextApollo.d.ts +0 -3
- package/dist/Form/Checkbox/CheckboxText/CheckboxTextApollo.js +0 -8
- package/dist/Form/Checkbox/CheckboxText/CheckboxTextCommon.d.ts +0 -16
- package/dist/Form/Checkbox/CheckboxText/CheckboxTextCommon.js +0 -11
- package/dist/Form/Checkbox/CheckboxText/CheckboxTextLF.d.ts +0 -3
- package/dist/Form/Checkbox/CheckboxText/CheckboxTextLF.js +0 -8
- package/dist/Form/Dropdown/DropdownApollo.d.ts +0 -3
- package/dist/Form/Dropdown/DropdownApollo.js +0 -6
- package/dist/Form/Dropdown/DropdownCommon.d.ts +0 -26
- package/dist/Form/Dropdown/DropdownCommon.js +0 -13
- package/dist/Form/Dropdown/DropdownLF.d.ts +0 -3
- package/dist/Form/Dropdown/DropdownLF.js +0 -6
- package/dist/Form/FileUpload/FileUpload/FileUploadApollo.d.ts +0 -3
- package/dist/Form/FileUpload/FileUpload/FileUploadApollo.js +0 -7
- package/dist/Form/FileUpload/FileUpload/FileUploadCommon.d.ts +0 -18
- package/dist/Form/FileUpload/FileUpload/FileUploadCommon.js +0 -11
- package/dist/Form/FileUpload/FileUpload/FileUploadLF.d.ts +0 -3
- package/dist/Form/FileUpload/FileUpload/FileUploadLF.js +0 -7
- package/dist/Form/FileUpload/InputFile/InputFileApollo.d.ts +0 -4
- package/dist/Form/FileUpload/InputFile/InputFileApollo.js +0 -11
- package/dist/Form/FileUpload/InputFile/InputFileCommon.d.ts +0 -60
- package/dist/Form/FileUpload/InputFile/InputFileCommon.js +0 -39
- package/dist/Form/FileUpload/InputFile/InputFileLF.d.ts +0 -4
- package/dist/Form/FileUpload/InputFile/InputFileLF.js +0 -9
- package/dist/Form/FileUpload/ItemFile/ItemFileApollo.d.ts +0 -3
- package/dist/Form/FileUpload/ItemFile/ItemFileApollo.js +0 -10
- package/dist/Form/FileUpload/ItemFile/ItemFileCommon.d.ts +0 -54
- package/dist/Form/FileUpload/ItemFile/ItemFileCommon.js +0 -26
- package/dist/Form/FileUpload/ItemFile/ItemFileLF.d.ts +0 -3
- package/dist/Form/FileUpload/ItemFile/ItemFileLF.js +0 -10
- package/dist/Form/InputDate/InputDate.helper.d.ts +0 -8
- package/dist/Form/InputDate/InputDate.helper.js +0 -23
- package/dist/Form/InputDate/InputDateApollo.d.ts +0 -3
- package/dist/Form/InputDate/InputDateApollo.js +0 -8
- package/dist/Form/InputDate/InputDateAtom.d.ts +0 -9
- package/dist/Form/InputDate/InputDateAtom.js +0 -6
- package/dist/Form/InputDate/InputDateCommon.d.ts +0 -27
- package/dist/Form/InputDate/InputDateCommon.js +0 -30
- package/dist/Form/InputDate/InputDateLF.d.ts +0 -3
- package/dist/Form/InputDate/InputDateLF.js +0 -8
- package/dist/Form/InputDate/InputDateTextAtom.d.ts +0 -9
- package/dist/Form/InputDate/InputDateTextAtom.js +0 -16
- package/dist/Form/InputPhone/CountryCodeSelect.d.ts +0 -12
- package/dist/Form/InputPhone/CountryCodeSelect.js +0 -33
- package/dist/Form/InputPhone/InputPhone.types.d.ts +0 -4
- package/dist/Form/InputPhone/InputPhone.types.js +0 -1
- package/dist/Form/InputPhone/InputPhoneApollo.d.ts +0 -3
- package/dist/Form/InputPhone/InputPhoneApollo.js +0 -8
- package/dist/Form/InputPhone/InputPhoneCommon.d.ts +0 -35
- package/dist/Form/InputPhone/InputPhoneCommon.js +0 -32
- package/dist/Form/InputPhone/InputPhoneLF.d.ts +0 -3
- package/dist/Form/InputPhone/InputPhoneLF.js +0 -8
- package/dist/Form/InputPhone/maskFrenchPhoneNumber.d.ts +0 -1
- package/dist/Form/InputPhone/maskFrenchPhoneNumber.js +0 -12
- package/dist/Form/InputText/InputTextApollo.d.ts +0 -3
- package/dist/Form/InputText/InputTextApollo.js +0 -9
- package/dist/Form/InputText/InputTextCommon.d.ts +0 -24
- package/dist/Form/InputText/InputTextCommon.js +0 -14
- package/dist/Form/InputText/InputTextLF.d.ts +0 -3
- package/dist/Form/InputText/InputTextLF.js +0 -9
- package/dist/Form/InputTextAtom/InputTextAtomApollo.d.ts +0 -2
- package/dist/Form/InputTextAtom/InputTextAtomApollo.js +0 -2
- package/dist/Form/InputTextAtom/InputTextAtomCommon.d.ts +0 -10
- package/dist/Form/InputTextAtom/InputTextAtomCommon.js +0 -11
- package/dist/Form/InputTextAtom/InputTextAtomLF.d.ts +0 -2
- package/dist/Form/InputTextAtom/InputTextAtomLF.js +0 -2
- package/dist/Form/ItemLabel/ItemLabelApollo.d.ts +0 -3
- package/dist/Form/ItemLabel/ItemLabelApollo.js +0 -5
- package/dist/Form/ItemLabel/ItemLabelCommon.d.ts +0 -103
- package/dist/Form/ItemLabel/ItemLabelCommon.js +0 -55
- package/dist/Form/ItemLabel/ItemLabelLF.d.ts +0 -3
- package/dist/Form/ItemLabel/ItemLabelLF.js +0 -5
- package/dist/Form/ItemMessage/ItemMessageApollo.d.ts +0 -2
- package/dist/Form/ItemMessage/ItemMessageApollo.js +0 -2
- package/dist/Form/ItemMessage/ItemMessageCommon.d.ts +0 -13
- package/dist/Form/ItemMessage/ItemMessageCommon.js +0 -23
- package/dist/Form/ItemMessage/ItemMessageLF.d.ts +0 -2
- package/dist/Form/ItemMessage/ItemMessageLF.js +0 -2
- package/dist/Form/Radio/CardRadio/CardRadioApollo.d.ts +0 -3
- package/dist/Form/Radio/CardRadio/CardRadioApollo.js +0 -6
- package/dist/Form/Radio/CardRadio/CardRadioCommon.d.ts +0 -39
- package/dist/Form/Radio/CardRadio/CardRadioCommon.js +0 -16
- package/dist/Form/Radio/CardRadio/CardRadioLF.d.ts +0 -3
- package/dist/Form/Radio/CardRadio/CardRadioLF.js +0 -6
- package/dist/Form/Radio/CardRadioOption/CardRadioOptionApollo.d.ts +0 -3
- package/dist/Form/Radio/CardRadioOption/CardRadioOptionApollo.js +0 -6
- package/dist/Form/Radio/CardRadioOption/CardRadioOptionCommon.d.ts +0 -50
- package/dist/Form/Radio/CardRadioOption/CardRadioOptionCommon.js +0 -12
- package/dist/Form/Radio/CardRadioOption/CardRadioOptionLF.d.ts +0 -3
- package/dist/Form/Radio/CardRadioOption/CardRadioOptionLF.js +0 -6
- package/dist/Form/Radio/Radio/RadioApollo.d.ts +0 -2
- package/dist/Form/Radio/Radio/RadioApollo.js +0 -2
- package/dist/Form/Radio/Radio/RadioCommon.d.ts +0 -5
- package/dist/Form/Radio/Radio/RadioCommon.js +0 -6
- package/dist/Form/Radio/Radio/RadioLF.d.ts +0 -2
- package/dist/Form/Radio/Radio/RadioLF.js +0 -2
- package/dist/Form/TextArea/TextAreaApollo.d.ts +0 -3
- package/dist/Form/TextArea/TextAreaApollo.js +0 -8
- package/dist/Form/TextArea/TextAreaCommon.d.ts +0 -17
- package/dist/Form/TextArea/TextAreaCommon.js +0 -14
- package/dist/Form/TextArea/TextAreaLF.d.ts +0 -3
- package/dist/Form/TextArea/TextAreaLF.js +0 -8
- package/dist/Grid/DebugGridApollo.d.ts +0 -2
- package/dist/Grid/DebugGridApollo.js +0 -4
- package/dist/Grid/DebugGridCommon.d.ts +0 -11
- package/dist/Grid/DebugGridCommon.js +0 -10
- package/dist/Grid/DebugGridLF.d.ts +0 -2
- package/dist/Grid/DebugGridLF.js +0 -4
- package/dist/Heading/HeadingApollo.d.ts +0 -4
- package/dist/Heading/HeadingApollo.js +0 -5
- package/dist/Heading/HeadingCommon.d.ts +0 -15
- package/dist/Heading/HeadingCommon.js +0 -8
- package/dist/Heading/HeadingLF.d.ts +0 -4
- package/dist/Heading/HeadingLF.js +0 -5
- package/dist/Heading/HeadingWithSubheadings.d.ts +0 -10
- package/dist/Heading/HeadingWithSubheadings.js +0 -2
- package/dist/Heading/types.d.ts +0 -6
- package/dist/Heading/types.js +0 -1
- package/dist/Icon/IconApollo.d.ts +0 -2
- package/dist/Icon/IconApollo.js +0 -2
- package/dist/Icon/IconCommon.d.ts +0 -21
- package/dist/Icon/IconCommon.js +0 -28
- package/dist/Icon/IconLF.d.ts +0 -2
- package/dist/Icon/IconLF.js +0 -2
- package/dist/ItemTabBar/ItemTabBarApollo.d.ts +0 -2
- package/dist/ItemTabBar/ItemTabBarApollo.js +0 -2
- package/dist/ItemTabBar/ItemTabBarCommon.d.ts +0 -6
- package/dist/ItemTabBar/ItemTabBarCommon.js +0 -8
- package/dist/ItemTabBar/ItemTabBarLF.d.ts +0 -2
- package/dist/ItemTabBar/ItemTabBarLF.js +0 -2
- package/dist/Layout/Footer/DynamicIcons.d.ts +0 -4
- package/dist/Layout/Footer/DynamicIcons.js +0 -20
- package/dist/Layout/Footer/FooterApollo.d.ts +0 -2
- package/dist/Layout/Footer/FooterApollo.js +0 -2
- package/dist/Layout/Footer/FooterCommon.d.ts +0 -10
- package/dist/Layout/Footer/FooterCommon.js +0 -14
- package/dist/Layout/Footer/FooterLF.d.ts +0 -2
- package/dist/Layout/Footer/FooterLF.js +0 -2
- package/dist/Layout/Footer/MenuIcons.d.ts +0 -9
- package/dist/Layout/Footer/MenuIcons.js +0 -8
- package/dist/Layout/Footer/MenuLink.d.ts +0 -11
- package/dist/Layout/Footer/MenuLink.js +0 -11
- package/dist/Link/LinkApollo.d.ts +0 -2
- package/dist/Link/LinkApollo.js +0 -2
- package/dist/Link/LinkCommon.d.ts +0 -17
- package/dist/Link/LinkCommon.js +0 -20
- package/dist/Link/LinkLF.d.ts +0 -2
- package/dist/Link/LinkLF.js +0 -2
- package/dist/List/ClickItem/ClickItemApollo.d.ts +0 -4
- package/dist/List/ClickItem/ClickItemApollo.js +0 -8
- package/dist/List/ClickItem/ClickItemCommon.d.ts +0 -15
- package/dist/List/ClickItem/ClickItemCommon.js +0 -31
- package/dist/List/ClickItem/ClickItemLF.d.ts +0 -4
- package/dist/List/ClickItem/ClickItemLF.js +0 -8
- package/dist/List/ClickItem/ClickItemWrapper.d.ts +0 -6
- package/dist/List/ClickItem/ClickItemWrapper.js +0 -7
- package/dist/List/ClickItem/components/ClickItemContentApollo.d.ts +0 -2
- package/dist/List/ClickItem/components/ClickItemContentApollo.js +0 -4
- package/dist/List/ClickItem/components/ClickItemContentCommon.d.ts +0 -14
- package/dist/List/ClickItem/components/ClickItemContentCommon.js +0 -4
- package/dist/List/ClickItem/components/ClickItemContentLF.d.ts +0 -2
- package/dist/List/ClickItem/components/ClickItemContentLF.js +0 -4
- package/dist/List/ClickItem/components/ClickItemPrefixApollo.d.ts +0 -2
- package/dist/List/ClickItem/components/ClickItemPrefixApollo.js +0 -4
- package/dist/List/ClickItem/components/ClickItemPrefixCommon.d.ts +0 -14
- package/dist/List/ClickItem/components/ClickItemPrefixCommon.js +0 -11
- package/dist/List/ClickItem/components/ClickItemPrefixLF.d.ts +0 -2
- package/dist/List/ClickItem/components/ClickItemPrefixLF.js +0 -4
- package/dist/List/ClickItem/components/ClickItemSuffixApollo.d.ts +0 -2
- package/dist/List/ClickItem/components/ClickItemSuffixApollo.js +0 -6
- package/dist/List/ClickItem/components/ClickItemSuffixCommon.d.ts +0 -14
- package/dist/List/ClickItem/components/ClickItemSuffixCommon.js +0 -14
- package/dist/List/ClickItem/components/ClickItemSuffixLF.d.ts +0 -2
- package/dist/List/ClickItem/components/ClickItemSuffixLF.js +0 -6
- package/dist/List/ContentItemDuo/ContentItemDuoApollo.d.ts +0 -3
- package/dist/List/ContentItemDuo/ContentItemDuoApollo.js +0 -5
- package/dist/List/ContentItemDuo/ContentItemDuoCommon.d.ts +0 -16
- package/dist/List/ContentItemDuo/ContentItemDuoCommon.js +0 -13
- package/dist/List/ContentItemDuo/ContentItemDuoLF.d.ts +0 -3
- package/dist/List/ContentItemDuo/ContentItemDuoLF.js +0 -5
- package/dist/Message/Message.helpers.d.ts +0 -5
- package/dist/Message/Message.helpers.js +0 -7
- package/dist/Message/MessageApollo.d.ts +0 -5
- package/dist/Message/MessageApollo.js +0 -6
- package/dist/Message/MessageCommon.d.ts +0 -25
- package/dist/Message/MessageCommon.js +0 -14
- package/dist/Message/MessageLF.d.ts +0 -5
- package/dist/Message/MessageLF.js +0 -6
- package/dist/Message/constants.d.ts +0 -3
- package/dist/Message/constants.js +0 -19
- package/dist/Message/types.d.ts +0 -1
- package/dist/Message/types.js +0 -1
- package/dist/Modal/ModalApollo.d.ts +0 -8
- package/dist/Modal/ModalApollo.js +0 -13
- package/dist/Modal/ModalCommon.d.ts +0 -10
- package/dist/Modal/ModalCommon.js +0 -8
- package/dist/Modal/ModalLF.d.ts +0 -8
- package/dist/Modal/ModalLF.js +0 -13
- package/dist/Modal/components/ModalCore.d.ts +0 -6
- package/dist/Modal/components/ModalCore.js +0 -7
- package/dist/Modal/components/ModalCoreBody.d.ts +0 -2
- package/dist/Modal/components/ModalCoreBody.js +0 -14
- package/dist/Modal/components/ModalCoreFooterApollo.d.ts +0 -2
- package/dist/Modal/components/ModalCoreFooterApollo.js +0 -4
- package/dist/Modal/components/ModalCoreFooterCommon.d.ts +0 -10
- package/dist/Modal/components/ModalCoreFooterCommon.js +0 -10
- package/dist/Modal/components/ModalCoreFooterLF.d.ts +0 -2
- package/dist/Modal/components/ModalCoreFooterLF.js +0 -4
- package/dist/Modal/components/ModalCoreHeaderApollo.d.ts +0 -2
- package/dist/Modal/components/ModalCoreHeaderApollo.js +0 -5
- package/dist/Modal/components/ModalCoreHeaderCommon.d.ts +0 -13
- package/dist/Modal/components/ModalCoreHeaderCommon.js +0 -4
- package/dist/Modal/components/ModalCoreHeaderLF.d.ts +0 -2
- package/dist/Modal/components/ModalCoreHeaderLF.js +0 -5
- package/dist/Modal/types.d.ts +0 -12
- package/dist/Modal/types.js +0 -1
- package/dist/Pagination/ItemPagination/ItemPaginationApollo.d.ts +0 -3
- package/dist/Pagination/ItemPagination/ItemPaginationApollo.js +0 -3
- package/dist/Pagination/ItemPagination/ItemPaginationCommon.d.ts +0 -10
- package/dist/Pagination/ItemPagination/ItemPaginationCommon.js +0 -11
- package/dist/Pagination/ItemPagination/ItemPaginationLF.d.ts +0 -3
- package/dist/Pagination/ItemPagination/ItemPaginationLF.js +0 -3
- package/dist/Pagination/Pagination.helper.d.ts +0 -9
- package/dist/Pagination/Pagination.helper.js +0 -34
- package/dist/Pagination/PaginationApollo.d.ts +0 -4
- package/dist/Pagination/PaginationApollo.js +0 -5
- package/dist/Pagination/PaginationCommon.d.ts +0 -14
- package/dist/Pagination/PaginationCommon.js +0 -20
- package/dist/Pagination/PaginationLF.d.ts +0 -4
- package/dist/Pagination/PaginationLF.js +0 -5
- package/dist/ProgressBar/ProgressBarApollo.d.ts +0 -2
- package/dist/ProgressBar/ProgressBarApollo.js +0 -2
- package/dist/ProgressBar/ProgressBarCommon.d.ts +0 -9
- package/dist/ProgressBar/ProgressBarCommon.js +0 -8
- package/dist/ProgressBar/ProgressBarLF.d.ts +0 -2
- package/dist/ProgressBar/ProgressBarLF.js +0 -2
- package/dist/ProgressBarGroup/ProgressBarGroupApollo.d.ts +0 -3
- package/dist/ProgressBarGroup/ProgressBarGroupApollo.js +0 -5
- package/dist/ProgressBarGroup/ProgressBarGroupCommon.d.ts +0 -18
- package/dist/ProgressBarGroup/ProgressBarGroupCommon.js +0 -9
- package/dist/ProgressBarGroup/ProgressBarGroupLF.d.ts +0 -3
- package/dist/ProgressBarGroup/ProgressBarGroupLF.js +0 -5
- package/dist/ProgressBarGroup/useSequentialProgress.d.ts +0 -20
- package/dist/ProgressBarGroup/useSequentialProgress.js +0 -80
- package/dist/Spinner/SpinnerApollo.d.ts +0 -2
- package/dist/Spinner/SpinnerApollo.js +0 -2
- package/dist/Spinner/SpinnerCommon.d.ts +0 -17
- package/dist/Spinner/SpinnerCommon.js +0 -19
- package/dist/Spinner/SpinnerLF.d.ts +0 -2
- package/dist/Spinner/SpinnerLF.js +0 -2
- package/dist/Stepper/StepperApollo.d.ts +0 -3
- package/dist/Stepper/StepperApollo.js +0 -5
- package/dist/Stepper/StepperCommon.d.ts +0 -18
- package/dist/Stepper/StepperCommon.js +0 -8
- package/dist/Stepper/StepperLF.d.ts +0 -3
- package/dist/Stepper/StepperLF.js +0 -5
- package/dist/Svg/Svg.d.ts +0 -11
- package/dist/Svg/Svg.js +0 -54
- package/dist/Svg/svgInjector.d.ts +0 -12
- package/dist/Svg/svgInjector.js +0 -31
- package/dist/TabBar/TabBarApollo.d.ts +0 -4
- package/dist/TabBar/TabBarApollo.js +0 -6
- package/dist/TabBar/TabBarCommon.d.ts +0 -19
- package/dist/TabBar/TabBarCommon.js +0 -48
- package/dist/TabBar/TabBarLF.d.ts +0 -4
- package/dist/TabBar/TabBarLF.js +0 -6
- package/dist/Tag/TagApollo.d.ts +0 -2
- package/dist/Tag/TagApollo.js +0 -2
- package/dist/Tag/TagCommon.d.ts +0 -13
- package/dist/Tag/TagCommon.js +0 -14
- package/dist/Tag/TagLF.d.ts +0 -2
- package/dist/Tag/TagLF.js +0 -2
- package/dist/TimelineVertical/TimelineVerticalApollo.d.ts +0 -4
- package/dist/TimelineVertical/TimelineVerticalApollo.js +0 -5
- package/dist/TimelineVertical/TimelineVerticalCommon.d.ts +0 -7
- package/dist/TimelineVertical/TimelineVerticalCommon.js +0 -3
- package/dist/TimelineVertical/TimelineVerticalLF.d.ts +0 -4
- package/dist/TimelineVertical/TimelineVerticalLF.js +0 -5
- package/dist/TimelineVertical/types.d.ts +0 -5
- package/dist/TimelineVertical/types.js +0 -1
- package/dist/Toggle/ToggleApollo.d.ts +0 -2
- package/dist/Toggle/ToggleApollo.js +0 -2
- package/dist/Toggle/ToggleCommon.d.ts +0 -3
- package/dist/Toggle/ToggleCommon.js +0 -9
- package/dist/Toggle/ToggleLF.d.ts +0 -2
- package/dist/Toggle/ToggleLF.js +0 -2
- package/dist/index.d.ts +0 -56
- package/dist/index.js +0 -55
- package/dist/indexLF.d.ts +0 -60
- package/dist/indexLF.js +0 -59
- package/dist/utilities/constants.d.ts +0 -6
- package/dist/utilities/constants.js +0 -6
- package/dist/utilities/generateId.d.ts +0 -1
- package/dist/utilities/generateId.js +0 -10
- package/dist/utilities/getClassName.d.ts +0 -20
- package/dist/utilities/getClassName.js +0 -24
- package/dist/utilities/getComponentClassName.d.ts +0 -4
- package/dist/utilities/getComponentClassName.js +0 -30
- package/dist/utilities/hook/useHasScroll.d.ts +0 -6
- package/dist/utilities/hook/useHasScroll.js +0 -30
- package/dist/utilities/hook/useIsSmallScreen.d.ts +0 -1
- package/dist/utilities/hook/useIsSmallScreen.js +0 -14
- package/dist/utilities/types/PolymorphicComponent.d.ts +0 -8
- package/dist/utilities/types/PolymorphicComponent.js +0 -1
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import { type ComponentProps, ComponentType } from "react";
|
|
2
|
-
import { Divider } from "../Divider/DividerCommon";
|
|
3
|
-
import type { ContentItemProps, ContentMonoItemIconProps, ContentMonoItemPictureProps, ContentMonoItemStickProps } from "../ContentItemMono/ContentItemMonoCommon";
|
|
4
|
-
import type { ClickItemProps } from "../List/ClickItem/types";
|
|
5
|
-
export type TupleMax3<T> = [T] | [T, T] | [T, T, T];
|
|
6
|
-
export type DataAgentProps = {
|
|
7
|
-
className?: string;
|
|
8
|
-
agentProps: ContentMonoItemPictureProps;
|
|
9
|
-
agentContractProps?: ContentMonoItemStickProps;
|
|
10
|
-
contents?: TupleMax3<ContentMonoItemIconProps>;
|
|
11
|
-
clickContents?: TupleMax3<ClickItemProps>;
|
|
12
|
-
texteOrias?: string;
|
|
13
|
-
isCompact?: boolean;
|
|
14
|
-
};
|
|
15
|
-
type DataAgentCommonProps = DataAgentProps & {
|
|
16
|
-
DividerComponent: ComponentType<ComponentProps<typeof Divider>>;
|
|
17
|
-
ContentItemMonoComponent: ComponentType<ContentItemProps>;
|
|
18
|
-
ClickItemComponent: ComponentType<ClickItemProps>;
|
|
19
|
-
};
|
|
20
|
-
export declare const DataAgentCommon: ({ className, agentProps, agentContractProps, contents, clickContents, texteOrias, DividerComponent, ContentItemMonoComponent, ClickItemComponent, isCompact, }: DataAgentCommonProps) => import("react/jsx-runtime").JSX.Element;
|
|
21
|
-
export {};
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-runtime";
|
|
2
|
-
import { Fragment, useMemo } from "react";
|
|
3
|
-
import { getComponentClassName } from "../utilities/getComponentClassName";
|
|
4
|
-
import { useIsSmallScreen } from "../utilities/hook/useIsSmallScreen";
|
|
5
|
-
import { BREAKPOINT } from "../utilities/constants";
|
|
6
|
-
export const DataAgentCommon = ({ className, agentProps, agentContractProps, contents, clickContents, texteOrias, DividerComponent, ContentItemMonoComponent, ClickItemComponent, isCompact = true, }) => {
|
|
7
|
-
const componentClassName = useMemo(() => getComponentClassName("af-data-agent", className), [className]);
|
|
8
|
-
const isMobile = useIsSmallScreen(BREAKPOINT.SM);
|
|
9
|
-
const renderForDefaultLayout = () => (_jsxs(_Fragment, { children: [_jsxs("section", { className: "af-data-agent__intro", children: [_jsx(ContentItemMonoComponent, { ...agentProps, type: "picture" }), agentContractProps ? (_jsx(ContentItemMonoComponent, { ...agentContractProps, type: "stick" })) : null] }), _jsx(DividerComponent, {}), contents && contents?.length > 0 ? (_jsx("section", { className: "af-data-agent__info-content", children: contents.map((content) => (_jsxs(Fragment, { children: [_jsx(ContentItemMonoComponent, { ...content, type: "icon" }), _jsx(DividerComponent, { className: "af-data-agent__line" })] }, `content--${crypto.randomUUID()}`))) })) : null, clickContents && clickContents?.length > 0 ? (_jsx("section", { className: "af-data-agent__info-click-content", children: clickContents.map((clickContent) => (_jsxs(Fragment, { children: [_jsx(ClickItemComponent, { ...clickContent, variant: "small" }), _jsx(DividerComponent, { className: "af-data-agent__line" })] }, `clickContent--${crypto.randomUUID()}`))) })) : null, Boolean(texteOrias) && (_jsx("p", { className: "af-data-agent__text-orias", children: texteOrias }))] }));
|
|
10
|
-
const renderForMobileLayout = () => (_jsx("section", { className: "af-data-agent__intro", children: _jsx(ClickItemComponent, { ...agentProps, basePictureProps: {
|
|
11
|
-
src: agentProps.picture,
|
|
12
|
-
alt: agentProps.title,
|
|
13
|
-
}, variant: "agent" }) }));
|
|
14
|
-
return (_jsx("section", { className: componentClassName, children: isMobile && isCompact
|
|
15
|
-
? renderForMobileLayout()
|
|
16
|
-
: renderForDefaultLayout() }));
|
|
17
|
-
};
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
-
import { DataAgentCommon } from "./DataAgentCommon";
|
|
3
|
-
import { ClickItem } from "../List/ClickItem/ClickItemLF";
|
|
4
|
-
import { ContentItemMono } from "../ContentItemMono/ContentItemMonoLF";
|
|
5
|
-
import { Divider } from "../Divider/DividerLF";
|
|
6
|
-
import "@axa-fr/design-system-apollo-css/dist/DataAgent/DataAgentLF.css";
|
|
7
|
-
export const DataAgent = (props) => (_jsx(DataAgentCommon, { ...props, DividerComponent: Divider, ClickItemComponent: ClickItem, ContentItemMonoComponent: ContentItemMono }));
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
-
import { useMemo } from "react";
|
|
3
|
-
import { getComponentClassName } from "../utilities/getComponentClassName";
|
|
4
|
-
export const Divider = ({ className, classModifier }) => {
|
|
5
|
-
const componentClassName = useMemo(() => getComponentClassName("af-divider", className, classModifier), [className, classModifier]);
|
|
6
|
-
return _jsx("hr", { className: componentClassName });
|
|
7
|
-
};
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import { type CardCheckboxProps } from "./CardCheckboxCommon";
|
|
2
|
-
import "@axa-fr/design-system-apollo-css/dist/Form/Checkbox/CardCheckbox/CardCheckboxApollo.css";
|
|
3
|
-
export declare const CardCheckbox: {
|
|
4
|
-
(props: CardCheckboxProps): import("react/jsx-runtime").JSX.Element;
|
|
5
|
-
displayName: string;
|
|
6
|
-
};
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
-
import { ItemMessage } from "../../ItemMessage/ItemMessageApollo";
|
|
3
|
-
import { CardCheckboxOption } from "../CardCheckboxOption/CardCheckboxOptionApollo";
|
|
4
|
-
import { CardCheckboxCommon, } from "./CardCheckboxCommon";
|
|
5
|
-
import "@axa-fr/design-system-apollo-css/dist/Form/Checkbox/CardCheckbox/CardCheckboxApollo.css";
|
|
6
|
-
export const CardCheckbox = (props) => (_jsx(CardCheckboxCommon, { ...props, CardCheckboxItemComponent: CardCheckboxOption, ItemMessageComponent: ItemMessage }));
|
|
7
|
-
CardCheckbox.displayName = "CardCheckbox";
|
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
import { type ComponentType, type ReactNode } from "react";
|
|
2
|
-
import type { ItemMessageProps } from "../../ItemMessage/ItemMessageCommon";
|
|
3
|
-
import type { CardCheckboxOptionProps } from "../CardCheckboxOption/CardCheckboxOptionCommon";
|
|
4
|
-
type CheckboxOption = Omit<CardCheckboxOptionProps, "name" | "type">;
|
|
5
|
-
export type CardCheckboxProps = Omit<CardCheckboxOptionProps, "value" | "label" | "type" | "icon" | "description" | "subtitle" | "children"> & {
|
|
6
|
-
type?: "vertical" | "horizontal";
|
|
7
|
-
/**
|
|
8
|
-
* @deprecated Use `label` instead.
|
|
9
|
-
*/
|
|
10
|
-
labelGroup?: string;
|
|
11
|
-
/**
|
|
12
|
-
* @deprecated Use `description` instead.
|
|
13
|
-
*/
|
|
14
|
-
descriptionGroup?: string;
|
|
15
|
-
label: ReactNode;
|
|
16
|
-
description?: ReactNode;
|
|
17
|
-
/**
|
|
18
|
-
* @deprecated Use `required` instead.
|
|
19
|
-
*/
|
|
20
|
-
isRequired?: boolean;
|
|
21
|
-
options: CheckboxOption[];
|
|
22
|
-
/**
|
|
23
|
-
* @deprecated Use `message` and messageType instead.
|
|
24
|
-
*/
|
|
25
|
-
error?: string;
|
|
26
|
-
} & Partial<ItemMessageProps>;
|
|
27
|
-
type CardCheckboxCommonProps = CardCheckboxProps & {
|
|
28
|
-
CardCheckboxItemComponent: ComponentType<CardCheckboxOptionProps>;
|
|
29
|
-
ItemMessageComponent: ComponentType<ItemMessageProps>;
|
|
30
|
-
};
|
|
31
|
-
export declare const CardCheckboxCommon: {
|
|
32
|
-
({ className, labelGroup, descriptionGroup, label, description, isRequired, required, options, type, error, name, id, onChange, CardCheckboxItemComponent, ItemMessageComponent, message, messageType, ...inputProps }: CardCheckboxCommonProps): import("react/jsx-runtime").JSX.Element;
|
|
33
|
-
displayName: string;
|
|
34
|
-
};
|
|
35
|
-
export {};
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
-
import { useId, useRef, } from "react";
|
|
3
|
-
export const CardCheckboxCommon = ({ className, labelGroup, descriptionGroup, label, description, isRequired, required, options, type = "vertical", error, name, id, onChange = () => { }, CardCheckboxItemComponent, ItemMessageComponent, message, messageType = "error", ...inputProps }) => {
|
|
4
|
-
const generatedId = useId();
|
|
5
|
-
const cardCheckboxId = id || generatedId;
|
|
6
|
-
const messageId = `${cardCheckboxId}-error`;
|
|
7
|
-
const cardCheckboxOptionsRef = useRef(null);
|
|
8
|
-
const handleChange = (event) => {
|
|
9
|
-
const cardCheckboxOptionsEl = cardCheckboxOptionsRef.current;
|
|
10
|
-
if (cardCheckboxOptionsEl && required) {
|
|
11
|
-
const nbCheckedElements = cardCheckboxOptionsEl.querySelectorAll("input[type='checkbox']:checked").length;
|
|
12
|
-
cardCheckboxOptionsEl
|
|
13
|
-
.querySelectorAll("input[type='checkbox']")
|
|
14
|
-
.forEach((el) => {
|
|
15
|
-
if (nbCheckedElements < 1 && !event.target.checked) {
|
|
16
|
-
el.setAttribute("required", "true");
|
|
17
|
-
}
|
|
18
|
-
else {
|
|
19
|
-
el.removeAttribute("required");
|
|
20
|
-
}
|
|
21
|
-
});
|
|
22
|
-
}
|
|
23
|
-
onChange(event);
|
|
24
|
-
};
|
|
25
|
-
const hasError = (Boolean(message) && messageType === "error") || Boolean(error);
|
|
26
|
-
return (_jsxs("fieldset", { className: ["af-card-checkbox", className].filter(Boolean).join(" "), id: cardCheckboxId, children: [_jsxs("legend", { className: "af-card-checkbox__legend", children: [_jsxs("p", { className: "af-card-checkbox__label", children: [label, labelGroup, required || isRequired ? _jsx("span", { "aria-hidden": true, children: "*" }) : null] }), description || descriptionGroup ? (_jsxs("p", { className: "af-card-checkbox__description", children: [description, descriptionGroup] })) : null] }), _jsx("div", { className: [
|
|
27
|
-
"af-card-checkbox__options",
|
|
28
|
-
`af-card-checkbox__options--${type}`,
|
|
29
|
-
].join(" "), ref: cardCheckboxOptionsRef, children: options.map((cardCheckboxItemProps) => (_jsx(CardCheckboxItemComponent, { id: `${cardCheckboxId}-${cardCheckboxItemProps.value}`, required: required, onChange: handleChange, ...inputProps, ...cardCheckboxItemProps, type: type, "aria-invalid": hasError || undefined, "aria-errormessage": hasError ? messageId : undefined, name: name }, `${name ?? cardCheckboxId}-${cardCheckboxItemProps.label}`))) }), _jsx(ItemMessageComponent, { id: messageId, message: message || error, messageType: messageType })] }));
|
|
30
|
-
};
|
|
31
|
-
CardCheckboxCommon.displayName = "CardCheckboxCommon";
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import { type CardCheckboxProps } from "./CardCheckboxCommon";
|
|
2
|
-
import "@axa-fr/design-system-apollo-css/dist/Form/Checkbox/CardCheckbox/CardCheckboxLF.css";
|
|
3
|
-
export declare const CardCheckbox: {
|
|
4
|
-
(props: CardCheckboxProps): import("react/jsx-runtime").JSX.Element;
|
|
5
|
-
displayName: string;
|
|
6
|
-
};
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
-
import { ItemMessage } from "../../ItemMessage/ItemMessageLF";
|
|
3
|
-
import { CardCheckboxOption } from "../CardCheckboxOption/CardCheckboxOptionLF";
|
|
4
|
-
import { CardCheckboxCommon, } from "./CardCheckboxCommon";
|
|
5
|
-
import "@axa-fr/design-system-apollo-css/dist/Form/Checkbox/CardCheckbox/CardCheckboxLF.css";
|
|
6
|
-
export const CardCheckbox = (props) => (_jsx(CardCheckboxCommon, { ...props, CardCheckboxItemComponent: CardCheckboxOption, ItemMessageComponent: ItemMessage }));
|
|
7
|
-
CardCheckbox.displayName = "CardCheckbox";
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
import { type CardCheckboxOptionProps } from "./CardCheckboxOptionCommon";
|
|
2
|
-
import "@axa-fr/design-system-apollo-css/dist/Form/Checkbox/CardCheckboxOption/CardCheckboxOptionApollo.css";
|
|
3
|
-
export declare const CardCheckboxOption: (props: CardCheckboxOptionProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
-
import { Icon } from "../../../Icon/IconApollo";
|
|
3
|
-
import { Checkbox } from "../Checkbox/CheckboxApollo";
|
|
4
|
-
import { CardCheckboxOptionCommon, } from "./CardCheckboxOptionCommon";
|
|
5
|
-
import "@axa-fr/design-system-apollo-css/dist/Form/Checkbox/CardCheckboxOption/CardCheckboxOptionApollo.css";
|
|
6
|
-
export const CardCheckboxOption = (props) => (_jsx(CardCheckboxOptionCommon, { ...props, CheckboxComponent: Checkbox, IconComponent: Icon }));
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import { type ComponentType, type ReactNode } from "react";
|
|
2
|
-
import type { IconProps } from "../../../Icon/IconCommon";
|
|
3
|
-
import type { CheckboxProps } from "../Checkbox/CheckboxCommon";
|
|
4
|
-
export type CardCheckboxOptionProps = CheckboxProps & {
|
|
5
|
-
label: ReactNode;
|
|
6
|
-
type?: "vertical" | "horizontal";
|
|
7
|
-
description?: ReactNode;
|
|
8
|
-
subtitle?: ReactNode;
|
|
9
|
-
icon?: IconProps["src"];
|
|
10
|
-
};
|
|
11
|
-
export type CardCheckboxOptionCommonProps = CardCheckboxOptionProps & {
|
|
12
|
-
CheckboxComponent: ComponentType<CheckboxProps>;
|
|
13
|
-
IconComponent: ComponentType<IconProps>;
|
|
14
|
-
};
|
|
15
|
-
declare const CardCheckboxOptionCommon: import("react").ForwardRefExoticComponent<Omit<CardCheckboxOptionCommonProps, "ref"> & import("react").RefAttributes<HTMLInputElement>>;
|
|
16
|
-
export { CardCheckboxOptionCommon };
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
-
import { forwardRef } from "react";
|
|
3
|
-
const CardCheckboxOptionCommon = forwardRef(({ label, type = "vertical", description, subtitle, icon, className, CheckboxComponent, IconComponent, ...inputProps }, ref) => (_jsxs("label", { className: [
|
|
4
|
-
"af-card-checkbox-option",
|
|
5
|
-
type === "horizontal" && "af-card-checkbox-option--horizontal",
|
|
6
|
-
className,
|
|
7
|
-
]
|
|
8
|
-
.filter(Boolean)
|
|
9
|
-
.join(" "), children: [icon ? _jsx(IconComponent, { src: icon, role: "presentation" }) : null, _jsxs("div", { className: "af-card-checkbox-option__content", children: [_jsx("p", { className: "af-card-checkbox-option__label", children: label }), Boolean(description) && (_jsx("p", { className: "af-card-checkbox-option__description", children: description })), Boolean(subtitle) && (_jsx("p", { className: "af-card-checkbox-option__subtitle", children: subtitle }))] }), _jsx(CheckboxComponent, { ...inputProps, ref: ref })] })));
|
|
10
|
-
CardCheckboxOptionCommon.displayName = "CardCheckboxOptionCommon";
|
|
11
|
-
export { CardCheckboxOptionCommon };
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
import { type CardCheckboxOptionProps } from "./CardCheckboxOptionCommon";
|
|
2
|
-
import "@axa-fr/design-system-apollo-css/dist/Form/Checkbox/CardCheckboxOption/CardCheckboxOptionLF.css";
|
|
3
|
-
export declare const CardCheckboxOption: (props: CardCheckboxOptionProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
-
import { Icon } from "../../../Icon/IconLF";
|
|
3
|
-
import { Checkbox } from "../Checkbox/CheckboxLF";
|
|
4
|
-
import { CardCheckboxOptionCommon, } from "./CardCheckboxOptionCommon";
|
|
5
|
-
import "@axa-fr/design-system-apollo-css/dist/Form/Checkbox/CardCheckboxOption/CardCheckboxOptionLF.css";
|
|
6
|
-
export const CardCheckboxOption = (props) => (_jsx(CardCheckboxOptionCommon, { ...props, CheckboxComponent: Checkbox, IconComponent: Icon }));
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { type ComponentProps } from "react";
|
|
2
|
-
export type CheckboxProps = {
|
|
3
|
-
/** @deprecated Use `aria-errormessage` instead */
|
|
4
|
-
errorId?: string;
|
|
5
|
-
/** @deprecated Use `aria-invalid` instead */
|
|
6
|
-
hasError?: boolean;
|
|
7
|
-
} & Omit<ComponentProps<"input">, "disabled" | "type">;
|
|
8
|
-
export declare const Checkbox: import("react").ForwardRefExoticComponent<Omit<CheckboxProps, "ref"> & import("react").RefAttributes<HTMLInputElement>>;
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
-
import { forwardRef } from "react";
|
|
3
|
-
export const Checkbox = forwardRef(({ errorId, hasError, className, ...inputProps }, ref) => (_jsx("input", { "aria-errormessage": errorId, "aria-invalid": hasError, ...inputProps, className: ["af-checkbox", className].filter(Boolean).join(" "), ref: ref, type: "checkbox" })));
|
|
4
|
-
Checkbox.displayName = "Checkbox";
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
import "@axa-fr/design-system-apollo-css/dist/Form/Checkbox/CheckboxText/CheckboxTextApollo.css";
|
|
2
|
-
import { type CheckboxTextProps } from "./CheckboxTextCommon";
|
|
3
|
-
export declare const CheckboxText: import("react").ForwardRefExoticComponent<Omit<CheckboxTextProps, "ref"> & import("react").RefAttributes<HTMLInputElement>>;
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
-
import { forwardRef } from "react";
|
|
3
|
-
import "@axa-fr/design-system-apollo-css/dist/Form/Checkbox/CheckboxText/CheckboxTextApollo.css";
|
|
4
|
-
import { ItemMessage } from "../../ItemMessage/ItemMessageApollo";
|
|
5
|
-
import { Checkbox } from "../Checkbox/CheckboxApollo";
|
|
6
|
-
import { CheckboxTextCommon, } from "./CheckboxTextCommon";
|
|
7
|
-
export const CheckboxText = forwardRef((props, ref) => (_jsx(CheckboxTextCommon, { ...props, ref: ref, CheckboxComponent: Checkbox, ItemMessageComponent: ItemMessage })));
|
|
8
|
-
CheckboxText.displayName = "CheckboxText";
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import { type ReactNode, type ComponentType } from "react";
|
|
2
|
-
import type { ItemMessageProps } from "../../ItemMessage/ItemMessageCommon";
|
|
3
|
-
import type { CheckboxProps } from "../Checkbox/CheckboxCommon";
|
|
4
|
-
export type CheckboxTextProps = {
|
|
5
|
-
label: string | ReactNode;
|
|
6
|
-
/**
|
|
7
|
-
* @deprecated Use `message` and messageType instead.
|
|
8
|
-
*/
|
|
9
|
-
errorMessage?: string;
|
|
10
|
-
} & Omit<CheckboxProps, "aria-errormessage" | "aria-invalid"> & Partial<ItemMessageProps>;
|
|
11
|
-
export type CheckboxTextCommonProps = CheckboxTextProps & {
|
|
12
|
-
CheckboxComponent: ComponentType<Omit<CheckboxProps, "checkBoxIcon">>;
|
|
13
|
-
ItemMessageComponent: ComponentType<ItemMessageProps>;
|
|
14
|
-
};
|
|
15
|
-
declare const CheckboxTextCommon: import("react").ForwardRefExoticComponent<Omit<CheckboxTextCommonProps, "ref"> & import("react").RefAttributes<HTMLInputElement>>;
|
|
16
|
-
export { CheckboxTextCommon };
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
-
import { useId, forwardRef } from "react";
|
|
3
|
-
const CheckboxTextCommon = forwardRef(({ label, errorMessage, id, message, messageType, CheckboxComponent, ItemMessageComponent, ...inputProps }, ref) => {
|
|
4
|
-
const generatedId = useId();
|
|
5
|
-
const inputId = id ?? generatedId;
|
|
6
|
-
const messageId = `${inputId}-error`;
|
|
7
|
-
const hasError = (Boolean(message) && messageType === "error") || Boolean(errorMessage);
|
|
8
|
-
return (_jsxs("div", { className: "af-checkbox-text", children: [_jsxs("label", { htmlFor: inputId, children: [_jsx(CheckboxComponent, { id: inputId, ...inputProps, "aria-errormessage": hasError ? messageId : undefined, "aria-invalid": hasError || undefined, ref: ref }), _jsx("span", { className: "af-checkbox-text__label-content", children: label })] }), _jsx(ItemMessageComponent, { message: message || errorMessage, id: messageId, messageType: messageType })] }));
|
|
9
|
-
});
|
|
10
|
-
CheckboxTextCommon.displayName = "CheckboxTextCommon";
|
|
11
|
-
export { CheckboxTextCommon };
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
import "@axa-fr/design-system-apollo-css/dist/Form/Checkbox/CheckboxText/CheckboxTextLF.css";
|
|
2
|
-
import { type CheckboxTextProps } from "./CheckboxTextCommon";
|
|
3
|
-
export declare const CheckboxText: import("react").ForwardRefExoticComponent<Omit<CheckboxTextProps, "ref"> & import("react").RefAttributes<HTMLInputElement>>;
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
-
import { forwardRef } from "react";
|
|
3
|
-
import "@axa-fr/design-system-apollo-css/dist/Form/Checkbox/CheckboxText/CheckboxTextLF.css";
|
|
4
|
-
import { ItemMessage } from "../../ItemMessage/ItemMessageLF";
|
|
5
|
-
import { Checkbox } from "../Checkbox/CheckboxLF";
|
|
6
|
-
import { CheckboxTextCommon, } from "./CheckboxTextCommon";
|
|
7
|
-
export const CheckboxText = forwardRef((props, ref) => (_jsx(CheckboxTextCommon, { ...props, ref: ref, CheckboxComponent: Checkbox, ItemMessageComponent: ItemMessage })));
|
|
8
|
-
CheckboxText.displayName = "CheckboxText";
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
-
import "@axa-fr/design-system-apollo-css/dist/Form/Dropdown/DropdownApollo.css";
|
|
3
|
-
import { ItemLabel } from "../ItemLabel/ItemLabelApollo";
|
|
4
|
-
import { ItemMessage } from "../ItemMessage/ItemMessageApollo";
|
|
5
|
-
import { DropdownCommon } from "./DropdownCommon";
|
|
6
|
-
export const Dropdown = (props) => (_jsx(DropdownCommon, { ...props, ItemLabelComponent: ItemLabel, ItemMessageComponent: ItemMessage }));
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
import { type ComponentProps, type ComponentPropsWithRef, type ComponentType } from "react";
|
|
2
|
-
import { ItemLabelCommon, type ItemLabelProps } from "../ItemLabel/ItemLabelCommon";
|
|
3
|
-
import { ItemMessage, type ItemMessageProps } from "../ItemMessage/ItemMessageCommon";
|
|
4
|
-
export type DropdownProps = ComponentPropsWithRef<"select"> & {
|
|
5
|
-
id?: string;
|
|
6
|
-
classModifier?: string;
|
|
7
|
-
label?: ItemLabelProps["label"];
|
|
8
|
-
/**
|
|
9
|
-
* @deprecated Use `message` and messageType instead.
|
|
10
|
-
*/
|
|
11
|
-
error?: string;
|
|
12
|
-
/**
|
|
13
|
-
* @deprecated Use `message` and messageType instead.
|
|
14
|
-
*/
|
|
15
|
-
success?: string;
|
|
16
|
-
placeholder?: string;
|
|
17
|
-
buttonLabel?: string;
|
|
18
|
-
description?: string;
|
|
19
|
-
helper?: string;
|
|
20
|
-
} & Partial<ItemLabelProps & ItemMessageProps>;
|
|
21
|
-
type DropdownCommonProps = DropdownProps & {
|
|
22
|
-
ItemLabelComponent: ComponentType<Omit<ComponentProps<typeof ItemLabelCommon>, "ButtonComponent">>;
|
|
23
|
-
ItemMessageComponent: ComponentType<ComponentProps<typeof ItemMessage>>;
|
|
24
|
-
};
|
|
25
|
-
declare const DropdownCommon: import("react").ForwardRefExoticComponent<Omit<DropdownCommonProps, "ref"> & import("react").RefAttributes<HTMLSelectElement>>;
|
|
26
|
-
export { DropdownCommon };
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
-
import { forwardRef, useId, } from "react";
|
|
3
|
-
import classNames from "classnames";
|
|
4
|
-
const DropdownCommon = forwardRef(({ id, required, label, error, placeholder, children, helper, success, message, messageType, description, buttonLabel, onButtonClick, sideButtonLabel, onSideButtonClick, ItemLabelComponent, ItemMessageComponent, ...otherProps }, inputRef) => {
|
|
5
|
-
const idMessage = useId();
|
|
6
|
-
let inputId = useId();
|
|
7
|
-
inputId = id || inputId;
|
|
8
|
-
const hasError = (Boolean(message) && messageType === "error") || Boolean(error);
|
|
9
|
-
const classname = classNames("af-form__dropdown-input", hasError && "af-form__dropdown-input--error");
|
|
10
|
-
return (_jsxs("div", { className: "af-form__dropdown-container", children: [_jsx(ItemLabelComponent, { label: label, description: description, buttonLabel: buttonLabel, onButtonClick: onButtonClick, sideButtonLabel: sideButtonLabel, onSideButtonClick: onSideButtonClick, required: required, inputId: inputId }), _jsxs("select", { className: classname, ...otherProps, ref: inputRef, id: inputId, children: [Boolean(placeholder) && _jsx("option", { value: "", children: placeholder }), children] }), helper ? (_jsx("span", { className: "af-form__input-helper", children: helper })) : null, _jsx(ItemMessageComponent, { id: idMessage, message: message || error || success, messageType: messageType || (error ? "error" : "success") })] }));
|
|
11
|
-
});
|
|
12
|
-
DropdownCommon.displayName = "Dropdown";
|
|
13
|
-
export { DropdownCommon };
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
-
import "@axa-fr/design-system-apollo-css/dist/Form/Dropdown/DropdownLF.css";
|
|
3
|
-
import { ItemLabel } from "../ItemLabel/ItemLabelLF";
|
|
4
|
-
import { ItemMessage } from "../ItemMessage/ItemMessageLF";
|
|
5
|
-
import { DropdownCommon } from "./DropdownCommon";
|
|
6
|
-
export const Dropdown = (props) => (_jsx(DropdownCommon, { ...props, ItemLabelComponent: ItemLabel, ItemMessageComponent: ItemMessage }));
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
import { type FileUploadProps } from "./FileUploadCommon";
|
|
2
|
-
import "@axa-fr/design-system-apollo-css/dist/Form/FileUpload/FileUpload/FileUploadAll.css";
|
|
3
|
-
export declare const FileUpload: import("react").ForwardRefExoticComponent<Omit<FileUploadProps, "ref"> & import("react").RefAttributes<HTMLInputElement>>;
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
-
import { forwardRef } from "react";
|
|
3
|
-
import { InputFile } from "../InputFile/InputFileApollo";
|
|
4
|
-
import { FileUploadCommon } from "./FileUploadCommon";
|
|
5
|
-
import "@axa-fr/design-system-apollo-css/dist/Form/FileUpload/FileUpload/FileUploadAll.css";
|
|
6
|
-
export const FileUpload = forwardRef((props, ref) => (_jsx(FileUploadCommon, { ...props, ref: ref, InputFileComponent: InputFile })));
|
|
7
|
-
FileUpload.displayName = "FileUpload";
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import { type ComponentType, type ReactElement, type ReactNode } from "react";
|
|
2
|
-
import type { InputFileProps } from "../InputFile/InputFileCommon";
|
|
3
|
-
import type { ItemFileProps } from "../ItemFile/ItemFileCommon";
|
|
4
|
-
export type FileUploadProps = Omit<InputFileProps, "children"> & {
|
|
5
|
-
/**
|
|
6
|
-
* List of ItemFile components representing uploaded files.
|
|
7
|
-
*/
|
|
8
|
-
children?: ReactElement<ItemFileProps> | ReactElement<ItemFileProps>[];
|
|
9
|
-
/**
|
|
10
|
-
* Custom label for the uploaded files list. Defaults to "Vos fichiers importés :".
|
|
11
|
-
*/
|
|
12
|
-
fileListLabel?: ReactNode;
|
|
13
|
-
};
|
|
14
|
-
type FileUploadCommonProps = FileUploadProps & {
|
|
15
|
-
InputFileComponent: ComponentType<InputFileProps>;
|
|
16
|
-
};
|
|
17
|
-
export declare const FileUploadCommon: import("react").ForwardRefExoticComponent<Omit<FileUploadCommonProps, "ref"> & import("react").RefAttributes<HTMLInputElement>>;
|
|
18
|
-
export {};
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { jsx as _jsx, Fragment as _Fragment, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
-
import { Children, forwardRef, } from "react";
|
|
3
|
-
import { generateId } from "../../../utilities/generateId";
|
|
4
|
-
import { getClassName } from "../../../utilities/getClassName";
|
|
5
|
-
export const FileUploadCommon = forwardRef(({ InputFileComponent, className, children, fileListLabel = "Vos fichiers importés :", ...props }, ref) => {
|
|
6
|
-
return (_jsx(InputFileComponent, { ...props, className: getClassName({
|
|
7
|
-
baseClassName: "af-file-upload",
|
|
8
|
-
className,
|
|
9
|
-
}), ref: ref, children: children ? (_jsxs(_Fragment, { children: [_jsx("p", { className: "af-file-list__title", children: fileListLabel }), _jsx("ul", { className: "af-file-list", children: Children.map(children, (child) => (_jsx("li", { className: "af-file-list__item", children: child }, generateId(child)))) })] })) : null }));
|
|
10
|
-
});
|
|
11
|
-
FileUploadCommon.displayName = "FileUploadCommon";
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
import { type FileUploadProps } from "./FileUploadCommon";
|
|
2
|
-
import "@axa-fr/design-system-apollo-css/dist/Form/FileUpload/FileUpload/FileUploadAll.css";
|
|
3
|
-
export declare const FileUpload: import("react").ForwardRefExoticComponent<Omit<FileUploadProps, "ref"> & import("react").RefAttributes<HTMLInputElement>>;
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
-
import { forwardRef } from "react";
|
|
3
|
-
import { InputFile } from "../InputFile/InputFileLF";
|
|
4
|
-
import { FileUploadCommon } from "./FileUploadCommon";
|
|
5
|
-
import "@axa-fr/design-system-apollo-css/dist/Form/FileUpload/FileUpload/FileUploadAll.css";
|
|
6
|
-
export const FileUpload = forwardRef((props, ref) => (_jsx(FileUploadCommon, { ...props, ref: ref, InputFileComponent: InputFile })));
|
|
7
|
-
FileUpload.displayName = "FileUpload";
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
import { type InputFileProps } from "./InputFileCommon";
|
|
2
|
-
import "@axa-fr/design-system-apollo-css/dist/Form/FileUpload/InputFile/InputFileApollo.css";
|
|
3
|
-
declare const InputFile: import("react").ForwardRefExoticComponent<Omit<InputFileProps, "ref"> & import("react").RefAttributes<HTMLInputElement>>;
|
|
4
|
-
export { InputFile };
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
-
import { forwardRef } from "react";
|
|
3
|
-
import { ItemLabel } from "../../ItemLabel/ItemLabelApollo";
|
|
4
|
-
import { ItemMessage } from "../../ItemMessage/ItemMessageApollo";
|
|
5
|
-
import { InputFileCommon } from "./InputFileCommon";
|
|
6
|
-
import "@axa-fr/design-system-apollo-css/dist/Form/FileUpload/InputFile/InputFileApollo.css";
|
|
7
|
-
const InputFile = forwardRef((props, ref) => {
|
|
8
|
-
return (_jsx(InputFileCommon, { ...props, ref: ref, ItemLabelComponent: ItemLabel, ItemMessageComponent: ItemMessage }));
|
|
9
|
-
});
|
|
10
|
-
InputFile.displayName = "InputFile";
|
|
11
|
-
export { InputFile };
|
|
@@ -1,60 +0,0 @@
|
|
|
1
|
-
import { type ComponentPropsWithRef, type ComponentType, type MouseEventHandler, type ReactNode } from "react";
|
|
2
|
-
import { type ItemLabelProps } from "../../ItemLabel/ItemLabelCommon";
|
|
3
|
-
import { type ItemMessageProps } from "../../ItemMessage/ItemMessageCommon";
|
|
4
|
-
type LabelProps = Partial<Omit<ItemLabelProps, "children" | "label" | "description" | "sideButtonLabel" | "onSideButtonClick" | "moreButtonLabel" | "onMoreButtonClick">>;
|
|
5
|
-
export type InputFileProps = Omit<ComponentPropsWithRef<"input">, "type"> & {
|
|
6
|
-
/**
|
|
7
|
-
* Label text content
|
|
8
|
-
*/
|
|
9
|
-
label?: ReactNode;
|
|
10
|
-
/**
|
|
11
|
-
* Additional description text that enriches the label.
|
|
12
|
-
* @example "Phone bill, EDF receipt, etc."
|
|
13
|
-
*/
|
|
14
|
-
description?: ReactNode;
|
|
15
|
-
/**
|
|
16
|
-
* Label content for the side action button.
|
|
17
|
-
* When provided, renders a secondary button next to the main label.
|
|
18
|
-
*/
|
|
19
|
-
sideButtonLabel?: ReactNode;
|
|
20
|
-
/**
|
|
21
|
-
* Click handler for the side button
|
|
22
|
-
*/
|
|
23
|
-
onSideButtonClick?: MouseEventHandler<HTMLButtonElement>;
|
|
24
|
-
/**
|
|
25
|
-
* Label content for the more button
|
|
26
|
-
* When provided, renders an more button with an info icon.
|
|
27
|
-
*/
|
|
28
|
-
moreButtonLabel?: ReactNode;
|
|
29
|
-
/**
|
|
30
|
-
* Click handler for the more button
|
|
31
|
-
*/
|
|
32
|
-
onMoreButtonClick?: MouseEventHandler<HTMLButtonElement>;
|
|
33
|
-
/**
|
|
34
|
-
* Props forwarded to the label component to customize its appearance and behavior.
|
|
35
|
-
* Accepts a subset of ItemLabelProps (see LabelProps type). Use this to override
|
|
36
|
-
* visual or behavioral options for the label (e.g., size, tone, visibility of helpers).
|
|
37
|
-
*/
|
|
38
|
-
labelProps?: LabelProps;
|
|
39
|
-
/**
|
|
40
|
-
* Help text displayed below the control. This text is associated with the input via
|
|
41
|
-
* `aria-describedby` when provided. Keep the content concise and actionable; avoid
|
|
42
|
-
* using color alone to convey meaning.
|
|
43
|
-
*/
|
|
44
|
-
helper?: ReactNode;
|
|
45
|
-
/**
|
|
46
|
-
* Labels for the dropzone UI. Each field is optional and will fall back to defaults.
|
|
47
|
-
* Example: { dropzone: 'Glisser...', or: 'ou', button: 'Importer fichier' }
|
|
48
|
-
*/
|
|
49
|
-
dropzoneLabels?: {
|
|
50
|
-
dropzone?: ReactNode;
|
|
51
|
-
or?: ReactNode;
|
|
52
|
-
button?: ReactNode;
|
|
53
|
-
};
|
|
54
|
-
} & Omit<ItemMessageProps, "id">;
|
|
55
|
-
type InputFileCommonProps = InputFileProps & {
|
|
56
|
-
ItemLabelComponent: ComponentType<ItemLabelProps>;
|
|
57
|
-
ItemMessageComponent: ComponentType<ItemMessageProps>;
|
|
58
|
-
};
|
|
59
|
-
export declare const InputFileCommon: import("react").ForwardRefExoticComponent<Omit<InputFileCommonProps, "ref"> & import("react").RefAttributes<HTMLInputElement>>;
|
|
60
|
-
export {};
|
|
@@ -1,39 +0,0 @@
|
|
|
1
|
-
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
-
import { forwardRef, useId, } from "react";
|
|
3
|
-
import addCircleIcon from "@material-symbols/svg-400/rounded/add_circle-fill.svg";
|
|
4
|
-
import { Svg } from "../../../Svg/Svg";
|
|
5
|
-
import { getClassName } from "../../../utilities/getClassName";
|
|
6
|
-
const DEFAULT_DROPZONE_LABELS = {
|
|
7
|
-
dropzone: "Glisser et déposer un fichier",
|
|
8
|
-
or: "ou",
|
|
9
|
-
button: "Importer fichier",
|
|
10
|
-
};
|
|
11
|
-
export const InputFileCommon = forwardRef(({ ItemLabelComponent, ItemMessageComponent, id, label, description, sideButtonLabel, onSideButtonClick, moreButtonLabel, onMoreButtonClick, labelProps, helper, required, message, messageType = "error", className, style, dropzoneLabels = {}, children, ...props }, ref) => {
|
|
12
|
-
const generatedId = useId();
|
|
13
|
-
const inputId = id || generatedId;
|
|
14
|
-
const messageId = `${inputId}-message`;
|
|
15
|
-
const helpId = `${inputId}-help`;
|
|
16
|
-
const ariaDescribedby = [
|
|
17
|
-
helper && helpId,
|
|
18
|
-
message && messageType === "success" && messageId,
|
|
19
|
-
].filter(Boolean);
|
|
20
|
-
const hasError = Boolean(message && messageType === "error");
|
|
21
|
-
const resolvedDropzoneLabels = {
|
|
22
|
-
dropzone: dropzoneLabels.dropzone || DEFAULT_DROPZONE_LABELS.dropzone,
|
|
23
|
-
or: dropzoneLabels.or || DEFAULT_DROPZONE_LABELS.or,
|
|
24
|
-
button: dropzoneLabels.button || DEFAULT_DROPZONE_LABELS.button,
|
|
25
|
-
};
|
|
26
|
-
return (_jsxs("div", { className: getClassName({
|
|
27
|
-
baseClassName: "af-input-file",
|
|
28
|
-
className,
|
|
29
|
-
}), style: style, children: [_jsx(ItemLabelComponent, { htmlFor: inputId, description: description, sideButtonLabel: sideButtonLabel, onSideButtonClick: onSideButtonClick, moreButtonLabel: moreButtonLabel, onMoreButtonClick: onMoreButtonClick, required: required, ...labelProps, children: label }), _jsxs("div", { className: "af-input-file__container", children: [_jsxs("span", { className: getClassName({
|
|
30
|
-
baseClassName: "af-input-file__dropzone",
|
|
31
|
-
modifiers: [hasError && "error"],
|
|
32
|
-
}), children: [_jsx("input", { ref: ref, type: "file", id: inputId, required: required, "aria-invalid": hasError || undefined, "aria-errormessage": hasError ? messageId : undefined, "aria-describedby": ariaDescribedby.length > 0
|
|
33
|
-
? ariaDescribedby.join(" ")
|
|
34
|
-
: undefined, ...props }), _jsx("span", { children: resolvedDropzoneLabels.dropzone }), _jsx("span", { children: resolvedDropzoneLabels.or }), _jsxs("span", { className: getClassName({
|
|
35
|
-
baseClassName: "af-btn-client",
|
|
36
|
-
modifiers: ["tertiary"],
|
|
37
|
-
}), children: [_jsx(Svg, { src: addCircleIcon, role: "presentation" }), resolvedDropzoneLabels.button] })] }), helper ? (_jsx("span", { id: helpId, className: "af-input-file__help", children: helper })) : null, _jsx(ItemMessageComponent, { id: messageId, message: message, messageType: messageType })] }), children] }));
|
|
38
|
-
});
|
|
39
|
-
InputFileCommon.displayName = "InputFileCommon";
|