@axa-fr/canopee-react 2.0.1-alpha.6 → 2.0.1-alpha.60
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/client.d.ts +8 -0
- package/dist/client.js +8 -0
- package/dist/distributeur/Accordion/Accordion.d.ts +1 -1
- package/dist/distributeur/Accordion/Body.d.ts +1 -1
- package/dist/distributeur/Accordion/CollapseCard.d.ts +1 -1
- package/dist/distributeur/Accordion/Header.d.ts +1 -1
- package/dist/distributeur/Action/Action.d.ts +1 -1
- package/dist/distributeur/Button/Button.d.ts +1 -1
- package/dist/distributeur/ButtonMultiActions/ButtonMultiActions.d.ts +1 -1
- package/dist/distributeur/Card/BaseCard.d.ts +1 -1
- package/dist/distributeur/Card/Card.d.ts +1 -1
- package/dist/distributeur/CardButton/CardButton.d.ts +1 -1
- package/dist/distributeur/CardData/CardData.d.ts +1 -1
- package/dist/distributeur/CardData/CardDataHeader.d.ts +1 -1
- package/dist/distributeur/ClickableGhost.d.ts +1 -1
- package/dist/distributeur/Divider/Divider.d.ts +1 -1
- package/dist/distributeur/EditorialMessage/EditorialMessage.d.ts +1 -1
- package/dist/distributeur/Experimental/Restitution/ExperimentalRestitution.d.ts +1 -1
- package/dist/distributeur/Experimental/Restitution/ExperimentalRestitutionColumn.d.ts +1 -1
- package/dist/distributeur/Experimental/Restitution/ExperimentalRestitutionHeader.d.ts +1 -1
- package/dist/distributeur/Experimental/Restitution/ExperimentalRestitutionLabel.d.ts +1 -1
- package/dist/distributeur/Experimental/Restitution/ExperimentalRestitutionLabelValue.d.ts +1 -1
- package/dist/distributeur/Experimental/Restitution/ExperimentalRestitutionListDef.d.ts +1 -1
- package/dist/distributeur/Experimental/Restitution/ExperimentalRestitutionRow.d.ts +1 -1
- package/dist/distributeur/Experimental/Restitution/ExperimentalRestitutionSection.d.ts +1 -1
- package/dist/distributeur/Experimental/Restitution/ExperimentalRestitutionValue.d.ts +1 -1
- package/dist/distributeur/Experimental/Restitution/ExperimentalRestitutionValueList.d.ts +1 -1
- package/dist/distributeur/Form/Checkbox/Checkbox.d.ts +2 -2
- package/dist/distributeur/Form/Checkbox/CheckboxInput.d.ts +1 -1
- package/dist/distributeur/Form/Checkbox/CheckboxItem.d.ts +1 -1
- package/dist/distributeur/Form/Choice/Choice.d.ts +1 -1
- package/dist/distributeur/Form/Choice/ChoiceInput.d.ts +1 -1
- package/dist/distributeur/Form/Date/Date.d.ts +1 -1
- package/dist/distributeur/Form/Date/DateInput.d.ts +1 -1
- package/dist/distributeur/Form/Experimental/DateInput.d.ts +1 -1
- package/dist/distributeur/Form/Experimental/Input.d.ts +1 -1
- package/dist/distributeur/Form/Experimental/InputContainer.d.ts +1 -1
- package/dist/distributeur/Form/Experimental/InputUnit.d.ts +1 -1
- package/dist/distributeur/Form/Experimental/ItemMessage.d.ts +1 -1
- package/dist/distributeur/Form/Experimental/Label.d.ts +1 -1
- package/dist/distributeur/Form/Experimental/Legend.d.ts +1 -1
- package/dist/distributeur/Form/Experimental/Radio/AddRadioCard.d.ts +1 -1
- package/dist/distributeur/Form/Experimental/Radio/RadioButton.d.ts +1 -1
- package/dist/distributeur/Form/Experimental/Radio/RadioCard.d.ts +1 -1
- package/dist/distributeur/Form/Experimental/Radio/RadioGroup.d.ts +1 -1
- package/dist/distributeur/Form/Experimental/Radio/RadioInput.d.ts +1 -1
- package/dist/distributeur/Form/Experimental/Radio/RadioItem.d.ts +1 -1
- package/dist/distributeur/Form/Experimental/Radio/RadioText.d.ts +1 -1
- package/dist/distributeur/Form/Experimental/Radio/_radioInputOptions.d.ts +1 -1
- package/dist/distributeur/Form/Experimental/Select.d.ts +1 -1
- package/dist/distributeur/Form/Experimental/SelectInput.d.ts +1 -1
- package/dist/distributeur/Form/Experimental/TextInput.d.ts +1 -1
- package/dist/distributeur/Form/File/File.d.ts +1 -1
- package/dist/distributeur/Form/File/FileErrors.d.ts +1 -1
- package/dist/distributeur/Form/File/FileInput.d.ts +1 -1
- package/dist/distributeur/Form/File/FileLine.d.ts +1 -1
- package/dist/distributeur/Form/File/FileTable.d.ts +1 -1
- package/dist/distributeur/Form/MultiSelect/FormatOptionLabel.d.ts +1 -1
- package/dist/distributeur/Form/MultiSelect/MultiSelect.d.ts +1 -1
- package/dist/distributeur/Form/MultiSelect/MultiSelectInput.d.ts +1 -1
- package/dist/distributeur/Form/MultiSelect/ValueContainer.d.ts +2 -1
- package/dist/distributeur/Form/NestedQuestion/NestedQuestion.d.ts +1 -1
- package/dist/distributeur/Form/Number/Number.d.ts +1 -1
- package/dist/distributeur/Form/Number/NumberInput.d.ts +1 -1
- package/dist/distributeur/Form/Radio/Radio.d.ts +1 -1
- package/dist/distributeur/Form/Radio/RadioCardGroup.d.ts +1 -1
- package/dist/distributeur/Form/Radio/RadioInput.d.ts +1 -1
- package/dist/distributeur/Form/Radio/RadioItem.d.ts +1 -1
- package/dist/distributeur/Form/Select/Select.d.ts +1 -1
- package/dist/distributeur/Form/Select/SelectBase.d.ts +1 -1
- package/dist/distributeur/Form/Select/SelectDefault.d.ts +1 -1
- package/dist/distributeur/Form/Select/SelectInput.d.ts +1 -1
- package/dist/distributeur/Form/Text/Text.d.ts +1 -1
- package/dist/distributeur/Form/Text/TextInput.d.ts +1 -1
- package/dist/distributeur/Form/Textarea/Textarea.d.ts +1 -1
- package/dist/distributeur/Form/Textarea/TextareaInput.d.ts +1 -1
- package/dist/distributeur/Form/core/Field.d.ts +1 -1
- package/dist/distributeur/Form/core/FieldError.d.ts +1 -1
- package/dist/distributeur/Form/core/HelpMessage.d.ts +1 -1
- package/dist/distributeur/FormHelper/FormHelper.d.ts +17 -0
- package/dist/distributeur/FormHelper/FormHelper.js +10 -0
- package/dist/distributeur/FormHelper/ListFormHelper.d.ts +26 -0
- package/dist/distributeur/FormHelper/ListFormHelper.js +17 -0
- package/dist/distributeur/FormHelper/types.d.ts +3 -0
- package/dist/distributeur/FormHelper/types.js +1 -0
- package/dist/distributeur/HelpButton/index.d.ts +1 -1
- package/dist/distributeur/ItemFormHelper/ItemFormHelper.d.ts +17 -3
- package/dist/distributeur/ItemFormHelper/ItemFormHelper.js +3 -3
- package/dist/distributeur/Layout/Footer/Footer.d.ts +1 -1
- package/dist/distributeur/Layout/Header/AnchorNavBar/AnchorNavBar.d.ts +1 -1
- package/dist/distributeur/Layout/Header/Header.d.ts +1 -1
- package/dist/distributeur/Layout/Header/HeaderTitle/HeaderTitle.d.ts +1 -1
- package/dist/distributeur/Layout/Header/Infos/Infos.d.ts +1 -1
- package/dist/distributeur/Layout/Header/MenuTitleWrapper/MenuTitleWrapper.d.ts +1 -1
- package/dist/distributeur/Layout/Header/Name/Name.d.ts +1 -1
- package/dist/distributeur/Layout/Header/NavBar/NavBar.d.ts +1 -1
- package/dist/distributeur/Layout/Header/NavBar/NavBarBase.d.ts +1 -1
- package/dist/distributeur/Layout/Header/NavBar/NavBarItem/NavBarItem.d.ts +2 -2
- package/dist/distributeur/Layout/Header/NavBar/NavBarItem/NavBarItemBase.d.ts +1 -1
- package/dist/distributeur/Layout/Header/NavBar/NavBarItem/NavBarItemLink.d.ts +1 -1
- package/dist/distributeur/Layout/Header/User/InnerUser.d.ts +1 -1
- package/dist/distributeur/Layout/Header/User/User.d.ts +1 -1
- package/dist/distributeur/Layout/MainContainer/MainContainer.d.ts +1 -1
- package/dist/distributeur/Link/Link.d.ts +1 -1
- package/dist/distributeur/Link/LinkAnchor.d.ts +1 -1
- package/dist/distributeur/Loader/ItemLoader.d.ts +1 -1
- package/dist/distributeur/Loader/Loader.d.ts +1 -1
- package/dist/distributeur/Loader/SquareLoader.d.ts +1 -1
- package/dist/distributeur/MandatoryMention/MandatoryMention.d.ts +1 -1
- package/dist/distributeur/Messages/Message.d.ts +1 -1
- package/dist/distributeur/ModalAgent/BooleanModal.d.ts +1 -1
- package/dist/distributeur/ModalAgent/Modal.d.ts +1 -1
- package/dist/distributeur/ModalAgent/Modal.js +1 -3
- package/dist/distributeur/ModalAgent/components/Body.d.ts +1 -1
- package/dist/distributeur/ModalAgent/components/Footer.d.ts +1 -1
- package/dist/distributeur/ModalAgent/components/Header.d.ts +1 -1
- package/dist/distributeur/ModalAgent/components/HeaderBase.d.ts +1 -1
- package/dist/distributeur/Popover/AnimatedPopover.d.ts +1 -1
- package/dist/distributeur/Popover/Popover.d.ts +1 -1
- package/dist/distributeur/Popover/PopoverBase.d.ts +1 -1
- package/dist/distributeur/Popover/PopoverClick.d.ts +2 -1
- package/dist/distributeur/Popover/PopoverOver.d.ts +2 -1
- package/dist/distributeur/Restitution/ArticleRestitution.d.ts +1 -1
- package/dist/distributeur/Restitution/HeaderRestitution.d.ts +1 -1
- package/dist/distributeur/Restitution/Restitution.d.ts +1 -1
- package/dist/distributeur/Restitution/RestitutionList.d.ts +1 -1
- package/dist/distributeur/Restitution/SectionRestitution.d.ts +1 -1
- package/dist/distributeur/Restitution/SectionRestitutionColumn.d.ts +1 -1
- package/dist/distributeur/Restitution/SectionRestitutionRow.d.ts +1 -1
- package/dist/distributeur/Restitution/SectionRestitutionTitle.d.ts +1 -1
- package/dist/distributeur/Steps/Step.d.ts +1 -1
- package/dist/distributeur/Steps/StepBase.d.ts +1 -1
- package/dist/distributeur/Steps/StepCurrent.d.ts +1 -1
- package/dist/distributeur/Steps/StepDisabled.d.ts +1 -1
- package/dist/distributeur/Steps/StepLink.d.ts +1 -1
- package/dist/distributeur/Steps/StepNoLink.d.ts +1 -1
- package/dist/distributeur/Steps/Steps.d.ts +1 -1
- package/dist/distributeur/Steps/VerticalStep.d.ts +1 -1
- package/dist/distributeur/Summary/index.d.ts +1 -1
- package/dist/distributeur/Svg/Svg.d.ts +1 -1
- package/dist/distributeur/Table/Pagination/Items.d.ts +1 -1
- package/dist/distributeur/Table/Pagination/Li.d.ts +1 -1
- package/dist/distributeur/Table/Pagination/LiPoint.d.ts +1 -1
- package/dist/distributeur/Table/Pagination/Pager.d.ts +1 -1
- package/dist/distributeur/Table/Pagination/PaginationButton.d.ts +1 -1
- package/dist/distributeur/Table/Pagination/Paging.d.ts +1 -1
- package/dist/distributeur/Table/TBody.d.ts +1 -1
- package/dist/distributeur/Table/THead.d.ts +1 -1
- package/dist/distributeur/Table/Table.d.ts +6 -6
- package/dist/distributeur/Table/Td.d.ts +1 -1
- package/dist/distributeur/Table/Th.d.ts +1 -1
- package/dist/distributeur/Table/Tr.d.ts +1 -1
- package/dist/distributeur/Tabs/components/Pane.d.ts +1 -1
- package/dist/distributeur/Tabs/components/TabsCore.d.ts +1 -1
- package/dist/distributeur/Tabs/components/TabsStateless.d.ts +1 -1
- package/dist/distributeur/Tag/Tag.d.ts +1 -1
- package/dist/distributeur/Timeline/Timeline.d.ts +1 -1
- package/dist/distributeur/Timeline/TimelineCircle.d.ts +1 -1
- package/dist/distributeur/Timeline/TimelineDetails.d.ts +1 -1
- package/dist/distributeur/Title/Title.d.ts +1 -1
- package/dist/distributeur/utilities/VisuallyHidden.d.ts +1 -1
- package/dist/distributeur.d.ts +3 -0
- package/dist/distributeur.js +2 -0
- package/dist/prospect-client/Accordion/AccordionApollo.d.ts +1 -1
- package/dist/prospect-client/Accordion/AccordionCommon.d.ts +1 -1
- package/dist/prospect-client/Accordion/AccordionLF.d.ts +1 -1
- package/dist/prospect-client/AccordionContextual/AccordionContextualApollo.d.ts +1 -1
- package/dist/prospect-client/AccordionContextual/AccordionContextualCommon.d.ts +1 -1
- package/dist/prospect-client/AccordionContextual/AccordionContextualLF.d.ts +1 -1
- package/dist/prospect-client/AccordionCore/AccordionCoreApollo.d.ts +1 -1
- package/dist/prospect-client/AccordionCore/AccordionCoreCommon.d.ts +1 -1
- package/dist/prospect-client/AccordionCore/AccordionCoreLF.d.ts +1 -1
- package/dist/prospect-client/AppName/AppName.d.ts +1 -1
- package/dist/prospect-client/BasePicture/BasePicture.d.ts +1 -1
- package/dist/prospect-client/Button/ButtonApollo.d.ts +1 -1
- package/dist/prospect-client/Button/ButtonCommon.d.ts +1 -1
- package/dist/prospect-client/Button/ButtonLF.d.ts +1 -1
- package/dist/prospect-client/Card/CardCommon.d.ts +1 -1
- package/dist/prospect-client/CardMarketing/CardMarketingApollo.d.ts +3 -0
- package/dist/prospect-client/CardMarketing/CardMarketingApollo.js +6 -0
- package/dist/prospect-client/CardMarketing/CardMarketingCommon.d.ts +32 -0
- package/dist/prospect-client/CardMarketing/CardMarketingCommon.js +20 -0
- package/dist/prospect-client/CardMarketing/CardMarketingLF.d.ts +3 -0
- package/dist/prospect-client/CardMarketing/CardMarketingLF.js +6 -0
- package/dist/prospect-client/CardMessage/CardMessageCommon.d.ts +1 -1
- package/dist/prospect-client/ClickIcon/ClickIconCommon.d.ts +1 -1
- package/dist/prospect-client/ContentItemDuoAction/ContentItemDuoActionApollo.d.ts +1 -1
- package/dist/prospect-client/ContentItemDuoAction/ContentItemDuoActionCommon.d.ts +1 -1
- package/dist/prospect-client/ContentItemDuoAction/ContentItemDuoActionLF.d.ts +1 -1
- package/dist/prospect-client/ContentItemMono/ContentItemMonoApollo.d.ts +1 -1
- package/dist/prospect-client/ContentItemMono/ContentItemMonoCommon.d.ts +8 -1
- package/dist/prospect-client/ContentItemMono/ContentItemMonoCommon.js +3 -2
- package/dist/prospect-client/ContentItemMono/ContentItemMonoCore.d.ts +1 -1
- package/dist/prospect-client/ContentItemMono/ContentItemMonoLF.d.ts +1 -1
- package/dist/prospect-client/DataAgent/DataAgentApollo.d.ts +1 -1
- package/dist/prospect-client/DataAgent/DataAgentCommon.d.ts +1 -1
- package/dist/prospect-client/DataAgent/DataAgentCommon.js +1 -1
- package/dist/prospect-client/DataAgent/DataAgentLF.d.ts +1 -1
- package/dist/prospect-client/Divider/DividerCommon.d.ts +1 -1
- package/dist/prospect-client/Fieldset/FieldsetApollo.d.ts +1 -1
- package/dist/prospect-client/Fieldset/FieldsetCommon.d.ts +1 -1
- package/dist/prospect-client/Fieldset/FieldsetLF.d.ts +1 -1
- package/dist/prospect-client/Form/Checkbox/CardCheckbox/CardCheckboxApollo.d.ts +1 -1
- package/dist/prospect-client/Form/Checkbox/CardCheckbox/CardCheckboxCommon.d.ts +1 -1
- package/dist/prospect-client/Form/Checkbox/CardCheckbox/CardCheckboxLF.d.ts +1 -1
- package/dist/prospect-client/Form/Checkbox/CardCheckboxOption/CardCheckboxOptionApollo.d.ts +1 -1
- package/dist/prospect-client/Form/Checkbox/CardCheckboxOption/CardCheckboxOptionCommon.d.ts +1 -1
- package/dist/prospect-client/Form/Checkbox/CardCheckboxOption/CardCheckboxOptionLF.d.ts +1 -1
- package/dist/prospect-client/Form/Checkbox/Checkbox/CheckboxCommon.d.ts +1 -1
- package/dist/prospect-client/Form/Checkbox/CheckboxText/CheckboxTextApollo.d.ts +1 -1
- package/dist/prospect-client/Form/Checkbox/CheckboxText/CheckboxTextCommon.d.ts +1 -1
- package/dist/prospect-client/Form/Checkbox/CheckboxText/CheckboxTextLF.d.ts +1 -1
- package/dist/prospect-client/Form/Dropdown/DropdownApollo.d.ts +1 -1
- package/dist/prospect-client/Form/Dropdown/DropdownCommon.d.ts +3 -3
- package/dist/prospect-client/Form/Dropdown/DropdownLF.d.ts +1 -1
- package/dist/prospect-client/Form/DropdownMultiSelect/DropdownMultiSelectApollo.d.ts +4 -0
- package/dist/prospect-client/Form/DropdownMultiSelect/DropdownMultiSelectApollo.js +9 -0
- package/dist/prospect-client/Form/DropdownMultiSelect/DropdownMultiSelectCommon.d.ts +47 -0
- package/dist/prospect-client/Form/DropdownMultiSelect/DropdownMultiSelectCommon.js +39 -0
- package/dist/prospect-client/Form/DropdownMultiSelect/DropdownMultiSelectLF.d.ts +4 -0
- package/dist/prospect-client/Form/DropdownMultiSelect/DropdownMultiSelectLF.js +9 -0
- package/dist/prospect-client/Form/DropdownMultiSelect/useDropdownMultiSelect.hook.d.ts +14 -0
- package/dist/prospect-client/Form/DropdownMultiSelect/useDropdownMultiSelect.hook.js +31 -0
- package/dist/prospect-client/Form/FileUpload/FileUpload/FileUploadApollo.d.ts +1 -1
- package/dist/prospect-client/Form/FileUpload/FileUpload/FileUploadCommon.d.ts +1 -1
- package/dist/prospect-client/Form/FileUpload/FileUpload/FileUploadLF.d.ts +1 -1
- package/dist/prospect-client/Form/FileUpload/InputFile/InputFileApollo.d.ts +1 -1
- package/dist/prospect-client/Form/FileUpload/InputFile/InputFileCommon.d.ts +1 -1
- package/dist/prospect-client/Form/FileUpload/InputFile/InputFileLF.d.ts +1 -1
- package/dist/prospect-client/Form/FileUpload/ItemFile/ItemFileApollo.d.ts +1 -1
- package/dist/prospect-client/Form/FileUpload/ItemFile/ItemFileCommon.d.ts +1 -1
- package/dist/prospect-client/Form/FileUpload/ItemFile/ItemFileLF.d.ts +1 -1
- package/dist/prospect-client/Form/InputDate/InputDateApollo.d.ts +1 -1
- package/dist/prospect-client/Form/InputDate/InputDateAtom.d.ts +1 -1
- package/dist/prospect-client/Form/InputDate/InputDateCommon.d.ts +3 -3
- package/dist/prospect-client/Form/InputDate/InputDateLF.d.ts +1 -1
- package/dist/prospect-client/Form/InputDate/InputDateTextAtom.d.ts +1 -1
- package/dist/prospect-client/Form/InputPhone/CountryCodeSelect.d.ts +1 -1
- package/dist/prospect-client/Form/InputPhone/InputPhoneApollo.d.ts +1 -1
- package/dist/prospect-client/Form/InputPhone/InputPhoneCommon.d.ts +3 -3
- package/dist/prospect-client/Form/InputPhone/InputPhoneLF.d.ts +1 -1
- package/dist/prospect-client/Form/InputText/InputTextApollo.d.ts +1 -1
- package/dist/prospect-client/Form/InputText/InputTextCommon.d.ts +3 -3
- package/dist/prospect-client/Form/InputText/InputTextLF.d.ts +1 -1
- package/dist/prospect-client/Form/InputTextAtom/InputTextAtomCommon.d.ts +1 -1
- package/dist/prospect-client/Form/ItemLabel/ItemLabelApollo.d.ts +1 -1
- package/dist/prospect-client/Form/ItemLabel/ItemLabelCommon.d.ts +1 -1
- package/dist/prospect-client/Form/ItemLabel/ItemLabelLF.d.ts +1 -1
- package/dist/prospect-client/Form/ItemMessage/ItemMessage.d.ts +1 -1
- package/dist/prospect-client/Form/ItemMultiSelect/ItemMultiSelectApollo.d.ts +1 -1
- package/dist/prospect-client/Form/ItemMultiSelect/ItemMultiSelectCommon.d.ts +2 -1
- package/dist/prospect-client/Form/ItemMultiSelect/ItemMultiSelectLF.d.ts +1 -1
- package/dist/prospect-client/Form/MultiSelectList/MultiSelectListApollo.d.ts +1 -1
- package/dist/prospect-client/Form/MultiSelectList/MultiSelectListCommon.d.ts +1 -1
- package/dist/prospect-client/Form/MultiSelectList/MultiSelectListLF.d.ts +1 -1
- package/dist/prospect-client/Form/Radio/CardRadio/CardRadioApollo.d.ts +1 -1
- package/dist/prospect-client/Form/Radio/CardRadio/CardRadioCommon.d.ts +1 -1
- package/dist/prospect-client/Form/Radio/CardRadio/CardRadioLF.d.ts +1 -1
- package/dist/prospect-client/Form/Radio/CardRadioGroup/CardRadioGroupApollo.d.ts +1 -1
- package/dist/prospect-client/Form/Radio/CardRadioGroup/CardRadioGroupCommon.d.ts +1 -1
- package/dist/prospect-client/Form/Radio/CardRadioGroup/CardRadioGroupLF.d.ts +1 -1
- package/dist/prospect-client/Form/Radio/Radio/RadioCommon.d.ts +1 -1
- package/dist/prospect-client/Form/TextArea/TextAreaApollo.d.ts +1 -1
- package/dist/prospect-client/Form/TextArea/TextAreaCommon.d.ts +3 -3
- package/dist/prospect-client/Form/TextArea/TextAreaLF.d.ts +1 -1
- package/dist/prospect-client/Grid/DebugGridApollo.d.ts +1 -1
- package/dist/prospect-client/Grid/DebugGridCommon.d.ts +1 -1
- package/dist/prospect-client/Grid/DebugGridLF.d.ts +1 -1
- package/dist/prospect-client/Header/HeaderApollo.d.ts +1 -1
- package/dist/prospect-client/Header/HeaderCommon.d.ts +1 -1
- package/dist/prospect-client/Header/HeaderLF.d.ts +1 -1
- package/dist/prospect-client/Heading/HeadingApollo.d.ts +1 -1
- package/dist/prospect-client/Heading/HeadingCommon.d.ts +1 -1
- package/dist/prospect-client/Heading/HeadingLF.d.ts +1 -1
- package/dist/prospect-client/Heading/HeadingWithSubheadings.d.ts +1 -1
- package/dist/prospect-client/Icon/IconCommon.d.ts +1 -1
- package/dist/prospect-client/ItemMenu/ItemMenuCommon.d.ts +1 -1
- package/dist/prospect-client/ItemTabBar/ItemTabBarCommon.d.ts +1 -1
- package/dist/prospect-client/Layout/ColumnLayout/ColumnsLayoutApollo.d.ts +8 -0
- package/dist/prospect-client/Layout/ColumnLayout/ColumnsLayoutApollo.js +14 -0
- package/dist/prospect-client/Layout/ColumnLayout/ColumnsLayoutCommon.d.ts +24 -0
- package/dist/prospect-client/Layout/ColumnLayout/ColumnsLayoutCommon.js +29 -0
- package/dist/prospect-client/Layout/ColumnLayout/ColumnsLayoutLF.d.ts +8 -0
- package/dist/prospect-client/Layout/ColumnLayout/ColumnsLayoutLF.js +14 -0
- package/dist/prospect-client/Layout/ExitLayout/ExitLayoutApollo.d.ts +1 -1
- package/dist/prospect-client/Layout/ExitLayout/ExitLayoutCommon.d.ts +1 -1
- package/dist/prospect-client/Layout/ExitLayout/ExitLayoutLF.d.ts +1 -1
- package/dist/prospect-client/Layout/ExitLayout/ExitLayoutSkeleton.d.ts +1 -1
- package/dist/prospect-client/Layout/Footer/DynamicIcons.d.ts +1 -1
- package/dist/prospect-client/Layout/Footer/FooterCommon.d.ts +1 -1
- package/dist/prospect-client/Layout/Footer/MenuIcons.d.ts +1 -1
- package/dist/prospect-client/Layout/Footer/MenuLink.d.ts +1 -1
- package/dist/prospect-client/Layout/FormLayout/FormLayout.d.ts +1 -1
- package/dist/prospect-client/Layout/MainLayout/MainLayoutApollo.d.ts +8 -0
- package/dist/prospect-client/Layout/MainLayout/MainLayoutApollo.js +15 -0
- package/dist/prospect-client/Layout/MainLayout/MainLayoutCommon.d.ts +48 -0
- package/dist/prospect-client/Layout/MainLayout/MainLayoutCommon.js +36 -0
- package/dist/prospect-client/Layout/MainLayout/MainLayoutLF.d.ts +8 -0
- package/dist/prospect-client/Layout/MainLayout/MainLayoutLF.js +15 -0
- package/dist/prospect-client/Layout/PatternCardMarketing/PatternCardMarketing.d.ts +7 -0
- package/dist/prospect-client/Layout/PatternCardMarketing/PatternCardMarketing.js +7 -0
- package/dist/prospect-client/Layout/PatternMozaicFree/PatternMozaicFree.d.ts +9 -0
- package/dist/prospect-client/Layout/PatternMozaicFree/PatternMozaicFree.js +13 -0
- package/dist/prospect-client/Layout/PatternMozaicGrid/PatternMozaicGrid.d.ts +19 -0
- package/dist/prospect-client/Layout/PatternMozaicGrid/PatternMozaicGrid.js +28 -0
- package/dist/prospect-client/Layout/PatternWithAction/PatternWithActionApollo.d.ts +7 -0
- package/dist/prospect-client/Layout/PatternWithAction/PatternWithActionApollo.js +7 -0
- package/dist/prospect-client/Layout/PatternWithAction/PatternWithActionCommon.d.ts +16 -0
- package/dist/prospect-client/Layout/PatternWithAction/PatternWithActionCommon.js +18 -0
- package/dist/prospect-client/Layout/PatternWithAction/PatternWithActionLF.d.ts +7 -0
- package/dist/prospect-client/Layout/PatternWithAction/PatternWithActionLF.js +7 -0
- package/dist/prospect-client/LevelSelector/LevelSelectorApollo.d.ts +1 -1
- package/dist/prospect-client/LevelSelector/LevelSelectorCommon.d.ts +1 -1
- package/dist/prospect-client/LevelSelector/LevelSelectorLF.d.ts +1 -1
- package/dist/prospect-client/Link/LinkApollo.d.ts +1 -0
- package/dist/prospect-client/Link/LinkApollo.js +1 -0
- package/dist/prospect-client/Link/LinkCommon.d.ts +8 -1
- package/dist/prospect-client/Link/LinkCommon.js +17 -2
- package/dist/prospect-client/Link/LinkLF.d.ts +1 -0
- package/dist/prospect-client/Link/LinkLF.js +1 -0
- package/dist/prospect-client/List/ClickItem/ClickItemApollo.d.ts +1 -1
- package/dist/prospect-client/List/ClickItem/ClickItemCommon.d.ts +1 -1
- package/dist/prospect-client/List/ClickItem/ClickItemLF.d.ts +1 -1
- package/dist/prospect-client/List/ClickItem/ClickItemWrapper.d.ts +1 -1
- package/dist/prospect-client/List/ClickItem/components/ClickItemContentApollo.d.ts +1 -1
- package/dist/prospect-client/List/ClickItem/components/ClickItemContentCommon.d.ts +1 -1
- package/dist/prospect-client/List/ClickItem/components/ClickItemContentLF.d.ts +1 -1
- package/dist/prospect-client/List/ClickItem/components/ClickItemPrefixApollo.d.ts +1 -1
- package/dist/prospect-client/List/ClickItem/components/ClickItemPrefixCommon.d.ts +1 -1
- package/dist/prospect-client/List/ClickItem/components/ClickItemPrefixLF.d.ts +1 -1
- package/dist/prospect-client/List/ClickItem/components/ClickItemSuffixApollo.d.ts +1 -1
- package/dist/prospect-client/List/ClickItem/components/ClickItemSuffixCommon.d.ts +1 -1
- package/dist/prospect-client/List/ClickItem/components/ClickItemSuffixLF.d.ts +1 -1
- package/dist/prospect-client/List/ContentItemDuo/ContentItemDuoApollo.d.ts +1 -1
- package/dist/prospect-client/List/ContentItemDuo/ContentItemDuoCommon.d.ts +1 -1
- package/dist/prospect-client/List/ContentItemDuo/ContentItemDuoLF.d.ts +1 -1
- package/dist/prospect-client/List/List/ListApollo.d.ts +1 -1
- package/dist/prospect-client/List/List/ListCommon.d.ts +1 -1
- package/dist/prospect-client/List/List/ListLF.d.ts +1 -1
- package/dist/prospect-client/Loader/LoaderApollo.d.ts +1 -1
- package/dist/prospect-client/Loader/LoaderCommon.d.ts +1 -1
- package/dist/prospect-client/Loader/LoaderLF.d.ts +1 -1
- package/dist/prospect-client/MenuBurger/MenuBurgerApollo.d.ts +1 -1
- package/dist/prospect-client/MenuBurger/MenuBurgerCommon.d.ts +1 -1
- package/dist/prospect-client/MenuBurger/MenuBurgerLF.d.ts +1 -1
- package/dist/prospect-client/Message/MessageApollo.d.ts +1 -1
- package/dist/prospect-client/Message/MessageCommon.d.ts +1 -1
- package/dist/prospect-client/Message/MessageLF.d.ts +1 -1
- package/dist/prospect-client/MessageBar/MessageBarAction.d.ts +1 -1
- package/dist/prospect-client/MessageBar/MessageBarApollo.d.ts +1 -1
- package/dist/prospect-client/MessageBar/MessageBarCommon.d.ts +1 -1
- package/dist/prospect-client/MessageBar/MessageBarDescription.d.ts +1 -1
- package/dist/prospect-client/MessageBar/MessageBarLF.d.ts +1 -1
- package/dist/prospect-client/MessageBar/MessageBarSummary.d.ts +1 -1
- package/dist/prospect-client/Modal/ModalApollo.d.ts +1 -1
- package/dist/prospect-client/Modal/ModalCommon.d.ts +1 -1
- package/dist/prospect-client/Modal/ModalLF.d.ts +1 -1
- package/dist/prospect-client/Modal/components/ModalCore.d.ts +1 -1
- package/dist/prospect-client/Modal/components/ModalCore.js +1 -3
- package/dist/prospect-client/Modal/components/ModalCoreBody.d.ts +1 -1
- package/dist/prospect-client/Modal/components/ModalCoreFooterApollo.d.ts +1 -1
- package/dist/prospect-client/Modal/components/ModalCoreFooterCommon.d.ts +1 -1
- package/dist/prospect-client/Modal/components/ModalCoreFooterLF.d.ts +1 -1
- package/dist/prospect-client/Modal/components/ModalCoreHeaderApollo.d.ts +1 -1
- package/dist/prospect-client/Modal/components/ModalCoreHeaderCommon.d.ts +1 -1
- package/dist/prospect-client/Modal/components/ModalCoreHeaderLF.d.ts +1 -1
- package/dist/prospect-client/MultiMessage/MultiMessageApollo.d.ts +1 -1
- package/dist/prospect-client/MultiMessage/MultiMessageCommon.d.ts +1 -1
- package/dist/prospect-client/MultiMessage/MultiMessageFooter.d.ts +1 -1
- package/dist/prospect-client/MultiMessage/MultiMessageLF.d.ts +1 -1
- package/dist/prospect-client/Pagination/ItemPagination/ItemPaginationApollo.d.ts +1 -1
- package/dist/prospect-client/Pagination/ItemPagination/ItemPaginationCommon.d.ts +1 -1
- package/dist/prospect-client/Pagination/ItemPagination/ItemPaginationLF.d.ts +1 -1
- package/dist/prospect-client/Pagination/PaginationApollo.d.ts +1 -1
- package/dist/prospect-client/Pagination/PaginationCommon.d.ts +1 -1
- package/dist/prospect-client/Pagination/PaginationLF.d.ts +1 -1
- package/dist/prospect-client/ProgressBar/ProgressBarCommon.d.ts +1 -1
- package/dist/prospect-client/ProgressBarGroup/ProgressBarGroupApollo.d.ts +1 -1
- package/dist/prospect-client/ProgressBarGroup/ProgressBarGroupCommon.d.ts +1 -1
- package/dist/prospect-client/ProgressBarGroup/ProgressBarGroupLF.d.ts +1 -1
- package/dist/prospect-client/Skeleton/Skeleton.d.ts +1 -1
- package/dist/prospect-client/SkeletonGrid/SkeletonGrid.d.ts +1 -1
- package/dist/prospect-client/SkeletonList/SkeletonListApollo.d.ts +1 -1
- package/dist/prospect-client/SkeletonList/SkeletonListCommon.d.ts +1 -1
- package/dist/prospect-client/SkeletonList/SkeletonListLF.d.ts +1 -1
- package/dist/prospect-client/Spinner/SpinnerCommon.d.ts +1 -1
- package/dist/prospect-client/Stepper/StepperApollo.d.ts +1 -1
- package/dist/prospect-client/Stepper/StepperCommon.d.ts +3 -3
- package/dist/prospect-client/Stepper/StepperLF.d.ts +1 -1
- package/dist/prospect-client/Svg/Svg.d.ts +2 -2
- package/dist/prospect-client/TabBar/TabBarApollo.d.ts +1 -1
- package/dist/prospect-client/TabBar/TabBarCommon.d.ts +1 -1
- package/dist/prospect-client/TabBar/TabBarCommon.js +1 -1
- package/dist/prospect-client/TabBar/TabBarLF.d.ts +1 -1
- package/dist/prospect-client/TabMenu/TabMenu.d.ts +1 -1
- package/dist/prospect-client/TabMenu/TabMenu.js +1 -3
- package/dist/prospect-client/Table/TBody.d.ts +1 -1
- package/dist/prospect-client/Table/THead.d.ts +1 -1
- package/dist/prospect-client/Table/TableCommon.d.ts +6 -6
- package/dist/prospect-client/Table/Td.d.ts +1 -1
- package/dist/prospect-client/Table/Th.d.ts +1 -1
- package/dist/prospect-client/Table/Tr.d.ts +1 -1
- package/dist/prospect-client/TableMobileCard/DRow.d.ts +1 -1
- package/dist/prospect-client/TableMobileCard/Dd.d.ts +1 -1
- package/dist/prospect-client/TableMobileCard/Dt.d.ts +1 -1
- package/dist/prospect-client/TableMobileCard/TableMobileCard.d.ts +4 -4
- package/dist/prospect-client/Tag/TagCommon.d.ts +1 -1
- package/dist/prospect-client/TagList/TagListApollo.d.ts +1 -1
- package/dist/prospect-client/TagList/TagListApollo.js +1 -1
- package/dist/prospect-client/TagList/TagListCommon.d.ts +5 -7
- package/dist/prospect-client/TagList/TagListCommon.js +6 -5
- package/dist/prospect-client/TagList/TagListLF.d.ts +1 -1
- package/dist/prospect-client/TagList/TagListLF.js +1 -1
- package/dist/prospect-client/TimelineVertical/TimelineVerticalApollo.d.ts +1 -1
- package/dist/prospect-client/TimelineVertical/TimelineVerticalCommon.d.ts +1 -1
- package/dist/prospect-client/TimelineVertical/TimelineVerticalLF.d.ts +1 -1
- package/dist/prospect-client/Toggle/ToggleApollo.d.ts +1 -1
- package/dist/prospect-client/Toggle/ToggleCommon.d.ts +1 -1
- package/dist/prospect-client/Toggle/ToggleLF.d.ts +1 -1
- package/dist/prospect-client/pages/ErrorPage/ErrorPageApollo.d.ts +1 -1
- package/dist/prospect-client/pages/ErrorPage/ErrorPageCommon.d.ts +1 -1
- package/dist/prospect-client/pages/ErrorPage/ErrorPageLF.d.ts +1 -1
- package/dist/prospect-client/pages/ValidPage/ValidPageApollo.d.ts +1 -1
- package/dist/prospect-client/pages/ValidPage/ValidPageCommon.d.ts +1 -1
- package/dist/prospect-client/pages/ValidPage/ValidPageLF.d.ts +1 -1
- package/dist/prospect-client/utilities/VisuallyHidden.d.ts +1 -1
- package/dist/prospect-client/utilities/flattenFragments.d.ts +2 -0
- package/dist/prospect-client/utilities/flattenFragments.js +4 -0
- package/dist/prospect.d.ts +8 -0
- package/dist/prospect.js +8 -0
- package/package.json +16 -16
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-runtime";
|
|
2
|
+
import { isValidElement, } from "react";
|
|
3
|
+
import arrowLeftAlt from "@material-symbols/svg-400/outlined/arrow_left_alt.svg";
|
|
4
|
+
import {} from "../../Header/HeaderCommon";
|
|
5
|
+
import {} from "../Footer/FooterCommon";
|
|
6
|
+
import {} from "../../Link/LinkCommon";
|
|
7
|
+
import {} from "../../Icon/IconCommon";
|
|
8
|
+
import { getClassName } from "../../utilities/getClassName";
|
|
9
|
+
import { flattenFragments } from "../../utilities/flattenFragments";
|
|
10
|
+
/** Content rendered on the grid between the header and the main content. */
|
|
11
|
+
export const Top = ({ children }) => children;
|
|
12
|
+
/** Content rendered on the grid between the main content and the footer. */
|
|
13
|
+
export const Bottom = ({ children }) => children;
|
|
14
|
+
const DEFAULT_CLASS = "af-main-layout";
|
|
15
|
+
const isSlot = (child, slot) => isValidElement(child) && child.type === slot;
|
|
16
|
+
export const MainLayoutCommon = ({ debugGridProps, headerProps, footerProps, backLinkProps, className, mainProps, children, HeaderComponent, FooterComponent, DebugGridComponent, LinkComponent, IconComponent, }) => {
|
|
17
|
+
const childrenArray = flattenFragments(children);
|
|
18
|
+
const top = childrenArray.filter((child) => isSlot(child, Top));
|
|
19
|
+
const bottom = childrenArray.filter((child) => isSlot(child, Bottom));
|
|
20
|
+
const mainChildren = childrenArray.filter((child) => !isSlot(child, Top) && !isSlot(child, Bottom));
|
|
21
|
+
return (_jsxs(_Fragment, { children: [debugGridProps ? _jsx(DebugGridComponent, { ...debugGridProps }) : null, _jsxs("div", { className: getClassName({
|
|
22
|
+
baseClassName: DEFAULT_CLASS,
|
|
23
|
+
className,
|
|
24
|
+
}), children: [headerProps ? _jsx(HeaderComponent, { ...headerProps }) : null, _jsxs("div", { className: `${DEFAULT_CLASS}__content`, children: [backLinkProps ? (_jsx("div", { className: `grid ${DEFAULT_CLASS}__back-link`, children: _jsx(LinkComponent, { leftIcon: _jsx(IconComponent, { src: arrowLeftAlt }), ...backLinkProps }) })) : null, top.map((slot) => (_jsx("div", { className: getClassName({
|
|
25
|
+
baseClassName: `${DEFAULT_CLASS}__top`,
|
|
26
|
+
className: slot.props.className,
|
|
27
|
+
}), children: slot }, slot.key))), mainChildren.length > 0 ? (_jsx("main", { ...mainProps, className: getClassName({
|
|
28
|
+
baseClassName: `${DEFAULT_CLASS}__center`,
|
|
29
|
+
className: `grid ${mainProps?.className ?? ""}`,
|
|
30
|
+
}), children: mainChildren })) : null, bottom.map((slot) => (_jsx("div", { className: getClassName({
|
|
31
|
+
baseClassName: `${DEFAULT_CLASS}__bottom`,
|
|
32
|
+
className: slot.props.className,
|
|
33
|
+
}), children: slot }, slot.key)))] }), footerProps ? _jsx(FooterComponent, { ...footerProps }) : null] })] }));
|
|
34
|
+
};
|
|
35
|
+
MainLayoutCommon.Top = Top;
|
|
36
|
+
MainLayoutCommon.Bottom = Bottom;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { type MainLayoutProps, type MainLayoutSlotProps, type MainLayoutWithSubComponents } from "./MainLayoutCommon";
|
|
2
|
+
import "@axa-fr/canopee-css/client/Layout/MainLayout/MainLayoutLF.css";
|
|
3
|
+
/**
|
|
4
|
+
* Client page skeleton: header, optional `MainLayout.Top` area, main content (children),
|
|
5
|
+
* optional `MainLayout.Bottom` area and footer.
|
|
6
|
+
*/
|
|
7
|
+
export declare const MainLayout: MainLayoutWithSubComponents;
|
|
8
|
+
export type { MainLayoutProps, MainLayoutSlotProps };
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
+
import { DebugGrid } from "../../Grid/DebugGridLF";
|
|
3
|
+
import { Header } from "../../Header/HeaderLF";
|
|
4
|
+
import { Footer } from "../Footer/FooterLF";
|
|
5
|
+
import { Bottom, MainLayoutCommon, Top, } from "./MainLayoutCommon";
|
|
6
|
+
import { Link } from "../../Link/LinkLF";
|
|
7
|
+
import { Icon } from "../../Icon/IconLF";
|
|
8
|
+
import "@axa-fr/canopee-css/client/Layout/MainLayout/MainLayoutLF.css";
|
|
9
|
+
/**
|
|
10
|
+
* Client page skeleton: header, optional `MainLayout.Top` area, main content (children),
|
|
11
|
+
* optional `MainLayout.Bottom` area and footer.
|
|
12
|
+
*/
|
|
13
|
+
export const MainLayout = (props) => (_jsx(MainLayoutCommon, { ...props, HeaderComponent: Header, FooterComponent: Footer, DebugGridComponent: DebugGrid, LinkComponent: Link, IconComponent: Icon }));
|
|
14
|
+
MainLayout.Top = Top;
|
|
15
|
+
MainLayout.Bottom = Bottom;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type { ComponentProps, ReactNode } from "react";
|
|
2
|
+
import "@axa-fr/canopee-css/prospect/Layout/PatternCardMarketing/PatternCardMarketingAll.css";
|
|
3
|
+
export type PatternCardMarketingProps = Omit<ComponentProps<"section">, "children"> & {
|
|
4
|
+
/** Direct cards to arrange. With exactly three cards, the first spans both rows on desktop. */
|
|
5
|
+
children: ReactNode;
|
|
6
|
+
};
|
|
7
|
+
export declare const PatternCardMarketing: ({ children, className, ...sectionProps }: PatternCardMarketingProps) => import("react").JSX.Element;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
+
import "@axa-fr/canopee-css/prospect/Layout/PatternCardMarketing/PatternCardMarketingAll.css";
|
|
3
|
+
import { getClassName } from "../../utilities/getClassName";
|
|
4
|
+
export const PatternCardMarketing = ({ children, className, ...sectionProps }) => (_jsx("section", { ...sectionProps, className: getClassName({
|
|
5
|
+
baseClassName: "af-pattern-card-marketing",
|
|
6
|
+
className,
|
|
7
|
+
}), children: children }));
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import type { ComponentProps, ReactNode } from "react";
|
|
2
|
+
import "@axa-fr/canopee-css/prospect/Layout/PatternMozaicFree/PatternMozaicFreeAll.css";
|
|
3
|
+
export type PatternMozaicFreeProps = Omit<ComponentProps<"section">, "children"> & {
|
|
4
|
+
/** Content arranged in equal-width columns, independently of the application grid. */
|
|
5
|
+
children: ReactNode;
|
|
6
|
+
/** Number of columns above 1023px. Below this breakpoint, uses one column. Defaults to 2. */
|
|
7
|
+
cols?: number;
|
|
8
|
+
};
|
|
9
|
+
export declare const PatternMozaicFree: ({ children, cols, className, style, ...sectionProps }: PatternMozaicFreeProps) => import("react").JSX.Element;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
+
import "@axa-fr/canopee-css/prospect/Layout/PatternMozaicFree/PatternMozaicFreeAll.css";
|
|
3
|
+
import { getClassName } from "../../utilities/getClassName";
|
|
4
|
+
export const PatternMozaicFree = ({ children, cols = 2, className, style, ...sectionProps }) => {
|
|
5
|
+
const gridStyle = {
|
|
6
|
+
...style,
|
|
7
|
+
"--mozaic-free-cols": cols,
|
|
8
|
+
};
|
|
9
|
+
return (_jsx("section", { ...sectionProps, className: getClassName({
|
|
10
|
+
baseClassName: "af-pattern-mozaic-free",
|
|
11
|
+
className,
|
|
12
|
+
}), style: gridStyle, children: children }));
|
|
13
|
+
};
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { type ComponentProps, type ReactNode } from "react";
|
|
2
|
+
import "@axa-fr/canopee-css/prospect/Layout/PatternMozaicGrid/PatternMozaicGridAll.css";
|
|
3
|
+
export type PatternMozaicGridProps = Omit<ComponentProps<"section">, "children"> & {
|
|
4
|
+
/** Direct elements sharing the same responsive column spans. Must forward style to their root. */
|
|
5
|
+
children: ReactNode;
|
|
6
|
+
/** Initial span for every child, used when no mobile span is provided. Defaults to 2. */
|
|
7
|
+
cols?: number;
|
|
8
|
+
/** Columns per child on mobile. Defaults to cols. */
|
|
9
|
+
"data-cols-mobile"?: number;
|
|
10
|
+
/** Columns per child above 667px. Defaults to the mobile span. */
|
|
11
|
+
"data-cols-tablet"?: number;
|
|
12
|
+
/** Columns per child above 1023px. Defaults to the tablet span. */
|
|
13
|
+
"data-cols-desktop-small"?: number;
|
|
14
|
+
/** Columns per child above 1279px. Defaults to the small desktop span. */
|
|
15
|
+
"data-cols-desktop-medium"?: number;
|
|
16
|
+
/** Columns per child above 1599px. Defaults to the medium desktop span. */
|
|
17
|
+
"data-cols-desktop-large"?: number;
|
|
18
|
+
};
|
|
19
|
+
export declare const PatternMozaicGrid: ({ children, cols, "data-cols-mobile": colsMobile, "data-cols-tablet": colsTablet, "data-cols-desktop-small": colsDesktopSmall, "data-cols-desktop-medium": colsDesktopMedium, "data-cols-desktop-large": colsDesktopLarge, className, ...sectionProps }: PatternMozaicGridProps) => import("react").JSX.Element;
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
+
import { Children, cloneElement, isValidElement, } from "react";
|
|
3
|
+
import "@axa-fr/canopee-css/prospect/Layout/PatternMozaicGrid/PatternMozaicGridAll.css";
|
|
4
|
+
import { getClassName } from "../../utilities/getClassName";
|
|
5
|
+
export const PatternMozaicGrid = ({ children, cols = 2, "data-cols-mobile": colsMobile = cols, "data-cols-tablet": colsTablet = colsMobile, "data-cols-desktop-small": colsDesktopSmall = colsTablet, "data-cols-desktop-medium": colsDesktopMedium = colsDesktopSmall, "data-cols-desktop-large": colsDesktopLarge = colsDesktopMedium, className, ...sectionProps }) => {
|
|
6
|
+
const responsiveStyle = {
|
|
7
|
+
"--cols-mobile": colsMobile,
|
|
8
|
+
"--cols-tablet": colsTablet,
|
|
9
|
+
"--cols-desktop-small": colsDesktopSmall,
|
|
10
|
+
"--cols-desktop-medium": colsDesktopMedium,
|
|
11
|
+
"--cols-desktop-large": colsDesktopLarge,
|
|
12
|
+
};
|
|
13
|
+
const childrenWithCols = Children.map(children, (child) => {
|
|
14
|
+
if (!isValidElement(child)) {
|
|
15
|
+
return child;
|
|
16
|
+
}
|
|
17
|
+
return cloneElement(child, {
|
|
18
|
+
style: {
|
|
19
|
+
...child.props.style,
|
|
20
|
+
...responsiveStyle,
|
|
21
|
+
},
|
|
22
|
+
});
|
|
23
|
+
});
|
|
24
|
+
return (_jsx("section", { ...sectionProps, className: getClassName({
|
|
25
|
+
baseClassName: "af-pattern-mozaic-grid",
|
|
26
|
+
className: `subgrid ${className ?? ""}`,
|
|
27
|
+
}), children: childrenWithCols }));
|
|
28
|
+
};
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { type PatternWithActionProps } from "./PatternWithActionCommon";
|
|
2
|
+
export { type PatternWithActionProps } from "./PatternWithActionCommon";
|
|
3
|
+
/** Prospect section with an optional heading, a call to action and content. */
|
|
4
|
+
export declare const PatternWithAction: {
|
|
5
|
+
(props: PatternWithActionProps): import("react").JSX.Element;
|
|
6
|
+
Action: ({ children }: import("react").PropsWithChildren) => import("react").ReactNode;
|
|
7
|
+
};
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
+
import { Heading } from "../../Heading/HeadingApollo";
|
|
3
|
+
import { Action, PatternWithActionCommon, } from "./PatternWithActionCommon";
|
|
4
|
+
export {} from "./PatternWithActionCommon";
|
|
5
|
+
/** Prospect section with an optional heading, a call to action and content. */
|
|
6
|
+
export const PatternWithAction = (props) => (_jsx(PatternWithActionCommon, { ...props, HeadingComponent: Heading }));
|
|
7
|
+
PatternWithAction.Action = Action;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { type ComponentProps, type ComponentType, type PropsWithChildren, type ReactNode } from "react";
|
|
2
|
+
import "@axa-fr/canopee-css/prospect/Layout/PatternWithAction/PatternWithActionAll.css";
|
|
3
|
+
import type { HeadingProps } from "../../Heading/types";
|
|
4
|
+
export type PatternWithActionProps = Omit<ComponentProps<"section">, "children"> & {
|
|
5
|
+
/** Section content. Wrap the call to action in `PatternWithAction.Action`. */
|
|
6
|
+
children?: ReactNode;
|
|
7
|
+
/** Section title. Rendered as a level 2 heading unless `level` is provided. */
|
|
8
|
+
headingProps?: HeadingProps;
|
|
9
|
+
};
|
|
10
|
+
/** Call to action displayed next to the heading on desktop, after the content on mobile and tablet. */
|
|
11
|
+
export declare const Action: ({ children }: PropsWithChildren) => ReactNode;
|
|
12
|
+
type PatternWithActionCommonProps = PatternWithActionProps & {
|
|
13
|
+
HeadingComponent: ComponentType<HeadingProps>;
|
|
14
|
+
};
|
|
15
|
+
export declare const PatternWithActionCommon: ({ children, headingProps, className, HeadingComponent, ...sectionProps }: PatternWithActionCommonProps) => import("react").JSX.Element;
|
|
16
|
+
export {};
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
+
import { isValidElement, } from "react";
|
|
3
|
+
import "@axa-fr/canopee-css/prospect/Layout/PatternWithAction/PatternWithActionAll.css";
|
|
4
|
+
import { getClassName } from "../../utilities/getClassName";
|
|
5
|
+
import { flattenFragments } from "../../utilities/flattenFragments";
|
|
6
|
+
const DEFAULT_CLASS_NAME = "af-pattern-with-action";
|
|
7
|
+
/** Call to action displayed next to the heading on desktop, after the content on mobile and tablet. */
|
|
8
|
+
export const Action = ({ children }) => children;
|
|
9
|
+
export const PatternWithActionCommon = ({ children, headingProps, className, HeadingComponent, ...sectionProps }) => {
|
|
10
|
+
const childrenArray = flattenFragments(children);
|
|
11
|
+
const isAction = (child) => isValidElement(child) && child.type === Action;
|
|
12
|
+
const actions = childrenArray.filter(isAction);
|
|
13
|
+
const content = childrenArray.filter((child) => !isAction(child));
|
|
14
|
+
return (_jsxs("section", { ...sectionProps, className: getClassName({
|
|
15
|
+
baseClassName: DEFAULT_CLASS_NAME,
|
|
16
|
+
className: `subgrid ${className ?? ""}`,
|
|
17
|
+
}), children: [headingProps ? (_jsx("div", { className: `${DEFAULT_CLASS_NAME}__header`, children: _jsx(HeadingComponent, { level: 2, ...headingProps }) })) : null, content.length > 0 ? (_jsx("div", { className: `${DEFAULT_CLASS_NAME}__content subgrid`, children: content })) : null, actions.length > 0 ? (_jsx("div", { className: `${DEFAULT_CLASS_NAME}__action`, children: actions })) : null] }));
|
|
18
|
+
};
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { type PatternWithActionProps } from "./PatternWithActionCommon";
|
|
2
|
+
export { type PatternWithActionProps } from "./PatternWithActionCommon";
|
|
3
|
+
/** Client section with an optional heading, a call to action and content. */
|
|
4
|
+
export declare const PatternWithAction: {
|
|
5
|
+
(props: PatternWithActionProps): import("react").JSX.Element;
|
|
6
|
+
Action: ({ children }: import("react").PropsWithChildren) => import("react").ReactNode;
|
|
7
|
+
};
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
+
import { Heading } from "../../Heading/HeadingLF";
|
|
3
|
+
import { Action, PatternWithActionCommon, } from "./PatternWithActionCommon";
|
|
4
|
+
export {} from "./PatternWithActionCommon";
|
|
5
|
+
/** Client section with an optional heading, a call to action and content. */
|
|
6
|
+
export const PatternWithAction = (props) => (_jsx(PatternWithActionCommon, { ...props, HeadingComponent: Heading }));
|
|
7
|
+
PatternWithAction.Action = Action;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import "@axa-fr/canopee-css/prospect/LevelSelector/LevelSelectorApollo.css";
|
|
2
2
|
import { type LevelSelectorProps } from "./LevelSelectorCommon";
|
|
3
|
-
export declare const LevelSelector: (props: LevelSelectorProps) => import("react
|
|
3
|
+
export declare const LevelSelector: (props: LevelSelectorProps) => import("react").JSX.Element;
|
|
4
4
|
export { type LevelSelectorProps };
|
|
@@ -14,5 +14,5 @@ type LevelSelectorCommonProps = LevelSelectorProps & {
|
|
|
14
14
|
ClickIconComponent: ComponentType<ComponentProps<typeof ClickIcon>>;
|
|
15
15
|
CardComponent: ComponentType<ComponentProps<typeof CardCommon>>;
|
|
16
16
|
};
|
|
17
|
-
export declare const LevelSelectorCommon: ({ title, description, value, stepsCount, ClickIconComponent, CardComponent, minusAriaLabel, plusAriaLabel, onChange, }: LevelSelectorCommonProps) => import("react
|
|
17
|
+
export declare const LevelSelectorCommon: ({ title, description, value, stepsCount, ClickIconComponent, CardComponent, minusAriaLabel, plusAriaLabel, onChange, }: LevelSelectorCommonProps) => import("react").JSX.Element;
|
|
18
18
|
export {};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import "@axa-fr/canopee-css/client/LevelSelector/LevelSelectorLF.css";
|
|
2
2
|
import { type LevelSelectorProps } from "./LevelSelectorCommon";
|
|
3
|
-
export declare const LevelSelector: (props: LevelSelectorProps) => import("react
|
|
3
|
+
export declare const LevelSelector: (props: LevelSelectorProps) => import("react").JSX.Element;
|
|
4
4
|
export { type LevelSelectorProps };
|
|
@@ -2,6 +2,13 @@ import type { ElementType, ReactNode } from "react";
|
|
|
2
2
|
import type { PolymorphicComponent } from "../utilities/types/PolymorphicComponent";
|
|
3
3
|
export declare const linkVariants: {
|
|
4
4
|
readonly inverse: "inverse";
|
|
5
|
+
readonly "button-primary": "button-primary";
|
|
6
|
+
readonly "button-primary-business": "button-primary-business";
|
|
7
|
+
readonly "button-primary-inverse": "button-primary-inverse";
|
|
8
|
+
readonly "button-secondary": "button-secondary";
|
|
9
|
+
readonly "button-secondary-inverse": "button-secondary-inverse";
|
|
10
|
+
readonly "button-tertiary": "button-tertiary";
|
|
11
|
+
readonly "button-ghost": "button-ghost";
|
|
5
12
|
};
|
|
6
13
|
export type LinkVariants = keyof typeof linkVariants;
|
|
7
14
|
export type LinkProps<T extends ElementType = "a"> = PolymorphicComponent<T, {
|
|
@@ -12,4 +19,4 @@ export type LinkProps<T extends ElementType = "a"> = PolymorphicComponent<T, {
|
|
|
12
19
|
className?: string;
|
|
13
20
|
children?: ReactNode;
|
|
14
21
|
}>;
|
|
15
|
-
export declare const Link: <T extends ElementType = "a">({ as, variant, openInNewTab, leftIcon, rightIcon, children, className, ...props }: LinkProps<T>) => import("react
|
|
22
|
+
export declare const Link: <T extends ElementType = "a">({ as, variant, openInNewTab, leftIcon, rightIcon, children, className, ...props }: LinkProps<T>) => import("react").JSX.Element;
|
|
@@ -4,17 +4,32 @@ import { Svg } from "../Svg/Svg";
|
|
|
4
4
|
import { getClassName } from "../utilities/getClassName";
|
|
5
5
|
export const linkVariants = {
|
|
6
6
|
inverse: "inverse",
|
|
7
|
+
"button-primary": "button-primary",
|
|
8
|
+
"button-primary-business": "button-primary-business",
|
|
9
|
+
"button-primary-inverse": "button-primary-inverse",
|
|
10
|
+
"button-secondary": "button-secondary",
|
|
11
|
+
"button-secondary-inverse": "button-secondary-inverse",
|
|
12
|
+
"button-tertiary": "button-tertiary",
|
|
13
|
+
"button-ghost": "button-ghost",
|
|
7
14
|
};
|
|
15
|
+
const BUTTON_VARIANT_PREFIX = "button-";
|
|
16
|
+
const getButtonClassName = (variant) => variant?.startsWith(BUTTON_VARIANT_PREFIX)
|
|
17
|
+
? `af-btn-client af-btn-client--${variant.slice(BUTTON_VARIANT_PREFIX.length)}`
|
|
18
|
+
: undefined;
|
|
8
19
|
export const Link = ({ as, variant, openInNewTab = false, leftIcon, rightIcon, children, className, ...props }) => {
|
|
9
20
|
const Component = as ?? "a";
|
|
10
21
|
const newTabProps = openInNewTab && {
|
|
11
22
|
target: "_blank",
|
|
12
23
|
rel: "noopener noreferrer",
|
|
13
24
|
};
|
|
25
|
+
const buttonClassName = getButtonClassName(variant);
|
|
14
26
|
return (_jsxs(Component, { className: getClassName({
|
|
15
27
|
baseClassName: "af-link",
|
|
16
|
-
modifiers: [
|
|
17
|
-
|
|
28
|
+
modifiers: [
|
|
29
|
+
buttonClassName ? undefined : variant,
|
|
30
|
+
openInNewTab && "openInNewTab",
|
|
31
|
+
],
|
|
32
|
+
className: [buttonClassName, className].filter(Boolean).join(" "),
|
|
18
33
|
}), ...newTabProps, ...props, children: [leftIcon, children, openInNewTab || Boolean(rightIcon)
|
|
19
34
|
? (rightIcon ?? _jsx(Svg, { src: openInNew }))
|
|
20
35
|
: null] }));
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import "@axa-fr/canopee-css/prospect/List/ClickItem/ClickItemApollo.css";
|
|
2
2
|
import type { ClickItemProps } from "./types";
|
|
3
|
-
export declare const ClickItem: (props: ClickItemProps) => import("react
|
|
3
|
+
export declare const ClickItem: (props: ClickItemProps) => import("react").JSX.Element;
|
|
4
4
|
export { clickItemStates, type ClickItemStates, clickItemVariants, type ClickItemVariants, } from "./ClickItemCommon";
|
|
@@ -13,4 +13,4 @@ export declare const clickItemStates: {
|
|
|
13
13
|
readonly loading: "loading";
|
|
14
14
|
};
|
|
15
15
|
export type ClickItemStates = keyof typeof clickItemStates;
|
|
16
|
-
export declare const ClickItemCommon: ({ className, state, variant, icon, title, subtitle, textSecondary, textTertiary, tagLabel, tagProps, basePictureProps, onClick, ariaLabelForActionIcon, ClickItemContentComponent, ClickItemSuffixComponent, ClickItemPrefixComponent, }: ClickItemPropsCommon) => import("react
|
|
16
|
+
export declare const ClickItemCommon: ({ className, state, variant, icon, title, subtitle, textSecondary, textTertiary, tagLabel, tagProps, basePictureProps, onClick, ariaLabelForActionIcon, ClickItemContentComponent, ClickItemSuffixComponent, ClickItemPrefixComponent, }: ClickItemPropsCommon) => import("react").JSX.Element;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import "@axa-fr/canopee-css/client/List/ClickItem/ClickItemLF.css";
|
|
2
2
|
import type { ClickItemProps } from "./types";
|
|
3
|
-
export declare const ClickItem: (props: ClickItemProps) => import("react
|
|
3
|
+
export declare const ClickItem: (props: ClickItemProps) => import("react").JSX.Element;
|
|
4
4
|
export { clickItemStates, type ClickItemStates, clickItemVariants, type ClickItemVariants, } from "./ClickItemCommon";
|
|
@@ -2,5 +2,5 @@ import type { HTMLAttributes } from "react";
|
|
|
2
2
|
type ClickItemWrapperProps = HTMLAttributes<HTMLElement> & {
|
|
3
3
|
isClickable?: boolean;
|
|
4
4
|
};
|
|
5
|
-
export declare const ClickItemWrapper: ({ isClickable, children, ...props }: ClickItemWrapperProps) => import("react
|
|
5
|
+
export declare const ClickItemWrapper: ({ isClickable, children, ...props }: ClickItemWrapperProps) => import("react").JSX.Element;
|
|
6
6
|
export {};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import { type ClickItemContentProps } from "./ClickItemContentCommon";
|
|
2
|
-
export declare const ClickItemContent: (props: ClickItemContentProps) => import("react
|
|
2
|
+
export declare const ClickItemContent: (props: ClickItemContentProps) => import("react").JSX.Element;
|
|
@@ -11,4 +11,4 @@ export type ClickItemContentProps = {
|
|
|
11
11
|
export type ClickItemContentCommonProps = ClickItemContentProps & {
|
|
12
12
|
TagComponent: ComponentType<TagProps>;
|
|
13
13
|
};
|
|
14
|
-
export declare const ClickItemContentCommon: ({ title, subtitle, textSecondary, textTertiary, tagLabel, tagProps, TagComponent, }: ClickItemContentCommonProps) => import("react
|
|
14
|
+
export declare const ClickItemContentCommon: ({ title, subtitle, textSecondary, textTertiary, tagLabel, tagProps, TagComponent, }: ClickItemContentCommonProps) => import("react").JSX.Element;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import { type ClickItemContentProps } from "./ClickItemContentCommon";
|
|
2
|
-
export declare const ClickItemContent: (props: ClickItemContentProps) => import("react
|
|
2
|
+
export declare const ClickItemContent: (props: ClickItemContentProps) => import("react").JSX.Element;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import { type ClickItemPrefixProps } from "./ClickItemPrefixCommon";
|
|
2
|
-
export declare const ClickItemPrefix: (props: ClickItemPrefixProps) => import("react
|
|
2
|
+
export declare const ClickItemPrefix: (props: ClickItemPrefixProps) => import("react").JSX.Element;
|
|
@@ -11,4 +11,4 @@ export type ClickItemPrefixProps = {
|
|
|
11
11
|
export type ClickItemPrefixCommonProps = ClickItemPrefixProps & {
|
|
12
12
|
IconComponent: ComponentType<IconProps>;
|
|
13
13
|
};
|
|
14
|
-
export declare const ClickItemPrefixCommon: ({ state, variant, icon, basePictureProps, IconComponent, }: ClickItemPrefixCommonProps) => import("react
|
|
14
|
+
export declare const ClickItemPrefixCommon: ({ state, variant, icon, basePictureProps, IconComponent, }: ClickItemPrefixCommonProps) => import("react").JSX.Element | null;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import { type ClickItemPrefixProps } from "./ClickItemPrefixCommon";
|
|
2
|
-
export declare const ClickItemPrefix: (props: ClickItemPrefixProps) => import("react
|
|
2
|
+
export declare const ClickItemPrefix: (props: ClickItemPrefixProps) => import("react").JSX.Element;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import { type ClickItemSuffixProps } from "./ClickItemSuffixCommon";
|
|
2
|
-
export declare const ClickItemSuffix: (props: ClickItemSuffixProps) => import("react
|
|
2
|
+
export declare const ClickItemSuffix: (props: ClickItemSuffixProps) => import("react").JSX.Element;
|
|
@@ -11,4 +11,4 @@ export type ClickItemSuffixCommonProps = ClickItemSuffixProps & {
|
|
|
11
11
|
IconComponent: ComponentType<IconProps>;
|
|
12
12
|
SpinnerComponent: ComponentType<ComponentProps<typeof Spinner>>;
|
|
13
13
|
};
|
|
14
|
-
export declare const ClickItemSuffixCommon: ({ state, variant, trailingClickIcon, IconComponent, SpinnerComponent, }: ClickItemSuffixCommonProps) => import("react
|
|
14
|
+
export declare const ClickItemSuffixCommon: ({ state, variant, trailingClickIcon, IconComponent, SpinnerComponent, }: ClickItemSuffixCommonProps) => import("react").JSX.Element;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import { type ClickItemSuffixProps } from "./ClickItemSuffixCommon";
|
|
2
|
-
export declare const ClickItemSuffix: (props: ClickItemSuffixProps) => import("react
|
|
2
|
+
export declare const ClickItemSuffix: (props: ClickItemSuffixProps) => import("react").JSX.Element;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import "@axa-fr/canopee-css/prospect/List/ContentItemDuo/ContentItemDuoApollo.css";
|
|
2
2
|
import { type ContentItemDuoProps } from "./ContentItemDuoCommon";
|
|
3
|
-
export declare const ContentItemDuo: (props: ContentItemDuoProps) => import("react
|
|
3
|
+
export declare const ContentItemDuo: (props: ContentItemDuoProps) => import("react").JSX.Element;
|
|
@@ -18,5 +18,5 @@ type ContentItemDuoCommonProps = ContentItemDuoProps & {
|
|
|
18
18
|
ButtonComponent: ComponentType<ButtonProps>;
|
|
19
19
|
ItemMessageComponent: ComponentType<ItemMessageProps>;
|
|
20
20
|
};
|
|
21
|
-
export declare const ContentItemDuoCommon: ({ label, value, position, size, className, buttonText, onButtonClick, ButtonComponent, message, messageType, ItemMessageComponent, ...containerProps }: ContentItemDuoCommonProps) => import("react
|
|
21
|
+
export declare const ContentItemDuoCommon: ({ label, value, position, size, className, buttonText, onButtonClick, ButtonComponent, message, messageType, ItemMessageComponent, ...containerProps }: ContentItemDuoCommonProps) => import("react").JSX.Element;
|
|
22
22
|
export {};
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import "@axa-fr/canopee-css/client/List/ContentItemDuo/ContentItemDuoLF.css";
|
|
2
2
|
import { type ContentItemDuoProps } from "./ContentItemDuoCommon";
|
|
3
|
-
export declare const ContentItemDuo: (props: ContentItemDuoProps) => import("react
|
|
3
|
+
export declare const ContentItemDuo: (props: ContentItemDuoProps) => import("react").JSX.Element;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import "@axa-fr/canopee-css/prospect/List/List/ListApollo.css";
|
|
2
2
|
import { type ListProps } from "./ListCommon";
|
|
3
3
|
export { type ListProps } from "./ListCommon";
|
|
4
|
-
export declare const List: (props: ListProps) => import("react
|
|
4
|
+
export declare const List: (props: ListProps) => import("react").JSX.Element;
|
|
@@ -29,5 +29,5 @@ type ListPropsCommon = ListProps & {
|
|
|
29
29
|
* @param {ComponentType} props.CardComponent - Injected Card component (theme-specific).
|
|
30
30
|
* @returns {JSX.Element} The rendered List component.
|
|
31
31
|
*/
|
|
32
|
-
export declare const ListCommon: ({ children, CardComponent, as, ...listProps }: ListPropsCommon) => import("react
|
|
32
|
+
export declare const ListCommon: ({ children, CardComponent, as, ...listProps }: ListPropsCommon) => import("react").JSX.Element;
|
|
33
33
|
export {};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import "@axa-fr/canopee-css/client/List/List/ListLF.css";
|
|
2
2
|
import { type ListProps } from "./ListCommon";
|
|
3
3
|
export { type ListProps } from "./ListCommon";
|
|
4
|
-
export declare const List: (props: ListProps) => import("react
|
|
4
|
+
export declare const List: (props: ListProps) => import("react").JSX.Element;
|
|
@@ -2,6 +2,6 @@ import { type LoaderProps } from "./LoaderCommon";
|
|
|
2
2
|
import "@axa-fr/canopee-css/prospect/Loader/LoaderApollo.css";
|
|
3
3
|
export { type LoaderProps } from "./LoaderCommon";
|
|
4
4
|
export declare const Loader: {
|
|
5
|
-
(props: LoaderProps): import("react
|
|
5
|
+
(props: LoaderProps): import("react").JSX.Element;
|
|
6
6
|
displayName: string;
|
|
7
7
|
};
|
|
@@ -11,6 +11,6 @@ export type LoaderCommonProps<T extends ElementType> = PolymorphicComponent<T, L
|
|
|
11
11
|
SpinnerComponent: ComponentType<SpinnerProps>;
|
|
12
12
|
};
|
|
13
13
|
export declare const LoaderCommon: {
|
|
14
|
-
({ title, subtitle, SpinnerComponent, spinnerProps, className, isDialog, ...rest }: LoaderCommonProps<ElementType>): import("react
|
|
14
|
+
({ title, subtitle, SpinnerComponent, spinnerProps, className, isDialog, ...rest }: LoaderCommonProps<ElementType>): import("react").JSX.Element;
|
|
15
15
|
displayName: string;
|
|
16
16
|
};
|
|
@@ -2,6 +2,6 @@ import { type LoaderProps } from "./LoaderCommon";
|
|
|
2
2
|
import "@axa-fr/canopee-css/client/Loader/LoaderLF.css";
|
|
3
3
|
export { type LoaderProps } from "./LoaderCommon";
|
|
4
4
|
export declare const Loader: {
|
|
5
|
-
(props: LoaderProps): import("react
|
|
5
|
+
(props: LoaderProps): import("react").JSX.Element;
|
|
6
6
|
displayName: string;
|
|
7
7
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import "@axa-fr/canopee-css/prospect/MenuBurger/MenuBurgerAll.css";
|
|
2
2
|
import { type MenuBurgerProps } from "./MenuBurgerCommon";
|
|
3
|
-
export declare const MenuBurger: (props: MenuBurgerProps) => import("react
|
|
3
|
+
export declare const MenuBurger: (props: MenuBurgerProps) => import("react").JSX.Element;
|
|
4
4
|
export type { MenuBurgerProps };
|
|
@@ -56,5 +56,5 @@ type MenuBurgerCommonProps = PropsWithChildren<MenuBurgerProps> & {
|
|
|
56
56
|
* @param {React.ReactNode} [props.children] - Extra content rendered below the ClickItem list.
|
|
57
57
|
* @returns {JSX.Element} The rendered MenuBurger component.
|
|
58
58
|
*/
|
|
59
|
-
export declare const MenuBurgerCommon: ({ buttonLabel, icon, variant, clickItems, children, className, ButtonComponent, ClickItemComponent, IconComponent, ListComponent, ...props }: MenuBurgerCommonProps) => import("react
|
|
59
|
+
export declare const MenuBurgerCommon: ({ buttonLabel, icon, variant, clickItems, children, className, ButtonComponent, ClickItemComponent, IconComponent, ListComponent, ...props }: MenuBurgerCommonProps) => import("react").JSX.Element;
|
|
60
60
|
export {};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import "@axa-fr/canopee-css/client/MenuBurger/MenuBurgerAll.css";
|
|
2
2
|
import { type MenuBurgerProps } from "./MenuBurgerCommon";
|
|
3
|
-
export declare const MenuBurger: (props: MenuBurgerProps) => import("react
|
|
3
|
+
export declare const MenuBurger: (props: MenuBurgerProps) => import("react").JSX.Element;
|
|
4
4
|
export type { MenuBurgerProps };
|
|
@@ -2,4 +2,4 @@ import "@axa-fr/canopee-css/prospect/Message/MessageApollo.css";
|
|
|
2
2
|
import { type MessageProps } from "./MessageCommon";
|
|
3
3
|
export { messageVariants } from "./constants";
|
|
4
4
|
export type { MessageVariants } from "./types";
|
|
5
|
-
export declare const Message: (props: MessageProps) => import("react
|
|
5
|
+
export declare const Message: (props: MessageProps) => import("react").JSX.Element;
|
|
@@ -21,5 +21,5 @@ export type MessageProps = {
|
|
|
21
21
|
type MessagePropsWithComponents = MessageProps & {
|
|
22
22
|
IconComponent: typeof Icon;
|
|
23
23
|
};
|
|
24
|
-
export declare const MessageCommon: ({ variant, className, title, children, action, iconSize, heading: Heading, IconComponent, ...sectionProps }: MessagePropsWithComponents) => import("react
|
|
24
|
+
export declare const MessageCommon: ({ variant, className, title, children, action, iconSize, heading: Heading, IconComponent, ...sectionProps }: MessagePropsWithComponents) => import("react").JSX.Element;
|
|
25
25
|
export {};
|
|
@@ -2,4 +2,4 @@ import "@axa-fr/canopee-css/client/Message/MessageLF.css";
|
|
|
2
2
|
import { type MessageProps } from "./MessageCommon";
|
|
3
3
|
export { messageVariants } from "./constants";
|
|
4
4
|
export type { MessageVariants } from "./types";
|
|
5
|
-
export declare const Message: (props: MessageProps) => import("react
|
|
5
|
+
export declare const Message: (props: MessageProps) => import("react").JSX.Element;
|
|
@@ -4,5 +4,5 @@ type MessageBarActionProps = {
|
|
|
4
4
|
buttonProps?: ButtonProps;
|
|
5
5
|
ButtonComponent: ComponentType<ButtonProps>;
|
|
6
6
|
};
|
|
7
|
-
export declare const MessageBarAction: ({ buttonProps, ButtonComponent, }: MessageBarActionProps) => import("react
|
|
7
|
+
export declare const MessageBarAction: ({ buttonProps, ButtonComponent, }: MessageBarActionProps) => import("react").JSX.Element | null;
|
|
8
8
|
export {};
|
|
@@ -2,4 +2,4 @@ import "@axa-fr/canopee-css/prospect/MessageBar/MessageBarAll.css";
|
|
|
2
2
|
import { type MessageBarProps } from "./MessageBarCommon";
|
|
3
3
|
export type { MessageBarProps } from "./MessageBarCommon";
|
|
4
4
|
export type { MessageBarVariant } from "./types";
|
|
5
|
-
export declare const MessageBar: (props: MessageBarProps) => import("react
|
|
5
|
+
export declare const MessageBar: (props: MessageBarProps) => import("react").JSX.Element;
|
|
@@ -22,5 +22,5 @@ type MessageBarCommonProps = MessageBarProps & {
|
|
|
22
22
|
ButtonComponent: ComponentType<ButtonProps>;
|
|
23
23
|
IconComponent: ComponentType<IconProps>;
|
|
24
24
|
};
|
|
25
|
-
export declare const MessageBarCommon: ({ title, description, icon, variant, defaultDescriptionOpen, buttonProps, className, AccordionCoreComponent, ButtonComponent, IconComponent, ...sectionProps }: MessageBarCommonProps) => import("react
|
|
25
|
+
export declare const MessageBarCommon: ({ title, description, icon, variant, defaultDescriptionOpen, buttonProps, className, AccordionCoreComponent, ButtonComponent, IconComponent, ...sectionProps }: MessageBarCommonProps) => import("react").JSX.Element;
|
|
26
26
|
export {};
|
|
@@ -2,5 +2,5 @@ import type { ReactNode } from "react";
|
|
|
2
2
|
type MessageBarDescriptionProps = {
|
|
3
3
|
description?: ReactNode;
|
|
4
4
|
};
|
|
5
|
-
export declare const MessageBarDescription: ({ description, }: MessageBarDescriptionProps) => import("react
|
|
5
|
+
export declare const MessageBarDescription: ({ description, }: MessageBarDescriptionProps) => import("react").JSX.Element | null;
|
|
6
6
|
export {};
|
|
@@ -2,4 +2,4 @@ import "@axa-fr/canopee-css/client/MessageBar/MessageBarAll.css";
|
|
|
2
2
|
import { type MessageBarProps } from "./MessageBarCommon";
|
|
3
3
|
export type { MessageBarProps } from "./MessageBarCommon";
|
|
4
4
|
export type { MessageBarVariant } from "./types";
|
|
5
|
-
export declare const MessageBar: (props: MessageBarProps) => import("react
|
|
5
|
+
export declare const MessageBar: (props: MessageBarProps) => import("react").JSX.Element;
|
|
@@ -7,5 +7,5 @@ type MessageBarSummaryProps = {
|
|
|
7
7
|
iconVariant: IconProps["variant"];
|
|
8
8
|
IconComponent: ComponentType<IconProps>;
|
|
9
9
|
};
|
|
10
|
-
export declare const MessageBarSummary: ({ title, titleId, icon, iconVariant, IconComponent, }: MessageBarSummaryProps) => import("react
|
|
10
|
+
export declare const MessageBarSummary: ({ title, titleId, icon, iconVariant, IconComponent, }: MessageBarSummaryProps) => import("react").JSX.Element;
|
|
11
11
|
export {};
|