@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
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { type ComponentProps, type ComponentType, type ReactNode } from "react";
|
|
2
|
+
import type { GridContainerProps } from "../../utilities/types/GridContainerProps";
|
|
2
3
|
import { InputTextAtom } from "../InputTextAtom/InputTextAtomCommon";
|
|
3
4
|
import { ItemLabelCommon, type ItemLabelProps } from "../ItemLabel/ItemLabelCommon";
|
|
4
5
|
import { type ItemMessageProps } from "../ItemMessage/ItemMessage";
|
|
5
|
-
import type { GridContainerProps } from "../../utilities/types/GridContainerProps";
|
|
6
6
|
export type InputTextProps = ComponentProps<"input"> & {
|
|
7
7
|
unit?: ReactNode;
|
|
8
8
|
label?: ItemLabelProps["children"];
|
|
9
|
-
helper?:
|
|
9
|
+
helper?: ReactNode;
|
|
10
10
|
containerProps?: GridContainerProps;
|
|
11
11
|
} & Pick<ItemLabelProps, "description" | "moreButtonLabel" | "onMoreButtonClick" | "sideButtonLabel" | "onSideButtonClick"> & Pick<ItemMessageProps, "message" | "messageType">;
|
|
12
12
|
type InputTextCommonProps = InputTextProps & {
|
|
@@ -15,7 +15,7 @@ type InputTextCommonProps = InputTextProps & {
|
|
|
15
15
|
InputTextAtomComponent: ComponentType<ComponentProps<typeof InputTextAtom>>;
|
|
16
16
|
};
|
|
17
17
|
declare const InputTextCommon: {
|
|
18
|
-
({ unit, className, helper, message, messageType, label, description, moreButtonLabel, onMoreButtonClick, required, sideButtonLabel, onSideButtonClick, ItemLabelComponent, ItemMessageComponent, InputTextAtomComponent, containerProps, ...otherProps }: InputTextCommonProps): import("react
|
|
18
|
+
({ unit, className, helper, message, messageType, label, description, moreButtonLabel, onMoreButtonClick, required, sideButtonLabel, onSideButtonClick, ItemLabelComponent, ItemMessageComponent, InputTextAtomComponent, containerProps, ...otherProps }: InputTextCommonProps): import("react").JSX.Element;
|
|
19
19
|
displayName: string;
|
|
20
20
|
};
|
|
21
21
|
export { InputTextCommon };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import "@axa-fr/canopee-css/client/Form/InputText/InputTextLF.css";
|
|
2
2
|
import { type InputTextProps } from "./InputTextCommon";
|
|
3
3
|
export declare const InputText: {
|
|
4
|
-
({ ...props }: InputTextProps): import("react
|
|
4
|
+
({ ...props }: InputTextProps): import("react").JSX.Element;
|
|
5
5
|
displayName: string;
|
|
6
6
|
};
|
|
@@ -7,7 +7,7 @@ type InputTextAtomProps = ComponentPropsWithRef<"input"> & {
|
|
|
7
7
|
idHelp?: string;
|
|
8
8
|
};
|
|
9
9
|
declare const InputTextAtom: {
|
|
10
|
-
({ unit, className, error, warning, required, idMessage, idHelp, "aria-errormessage": ariaErrormessage, "aria-describedby": ariaDescribedby, type, ...otherProps }: InputTextAtomProps): import("react
|
|
10
|
+
({ unit, className, error, warning, required, idMessage, idHelp, "aria-errormessage": ariaErrormessage, "aria-describedby": ariaDescribedby, type, ...otherProps }: InputTextAtomProps): import("react").JSX.Element;
|
|
11
11
|
displayName: string;
|
|
12
12
|
};
|
|
13
13
|
export { InputTextAtom };
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import "@axa-fr/canopee-css/prospect/Form/ItemLabel/ItemLabelApollo.css";
|
|
2
2
|
import { type ItemLabelProps } from "./ItemLabelCommon";
|
|
3
|
-
export declare const ItemLabel: (props: ItemLabelProps) => import("react
|
|
3
|
+
export declare const ItemLabel: (props: ItemLabelProps) => import("react").JSX.Element;
|
|
@@ -80,4 +80,4 @@ export type ItemLabelCommonProps = ItemLabelProps & {
|
|
|
80
80
|
* </ItemLabelCommon>
|
|
81
81
|
* ```
|
|
82
82
|
*/
|
|
83
|
-
export declare const ItemLabelCommon: ({ children, description, required, className, style, "aria-describedby": ariaDescribedby, sideButtonLabel, onSideButtonClick, sideButtonProps, moreButtonLabel, onMoreButtonClick, ButtonComponent, moreButtonProps, ...props }: ItemLabelCommonProps) => import("react
|
|
83
|
+
export declare const ItemLabelCommon: ({ children, description, required, className, style, "aria-describedby": ariaDescribedby, sideButtonLabel, onSideButtonClick, sideButtonProps, moreButtonLabel, onMoreButtonClick, ButtonComponent, moreButtonProps, ...props }: ItemLabelCommonProps) => import("react").JSX.Element | null;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import "@axa-fr/canopee-css/client/Form/ItemLabel/ItemLabelLF.css";
|
|
2
2
|
import { type ItemLabelProps } from "./ItemLabelCommon";
|
|
3
|
-
export declare const ItemLabel: (props: ItemLabelProps) => import("react
|
|
3
|
+
export declare const ItemLabel: (props: ItemLabelProps) => import("react").JSX.Element;
|
|
@@ -11,4 +11,4 @@ export type ItemMessageProps = {
|
|
|
11
11
|
id?: string;
|
|
12
12
|
messageType?: ItemMessageVariants;
|
|
13
13
|
};
|
|
14
|
-
export declare const ItemMessage: ({ message, id, messageType, }: ItemMessageProps) => import("react
|
|
14
|
+
export declare const ItemMessage: ({ message, id, messageType, }: ItemMessageProps) => import("react").JSX.Element | null;
|
|
@@ -2,6 +2,6 @@ import "@axa-fr/canopee-css/prospect/Form/ItemMultiSelect/ItemMultiSelectApollo.
|
|
|
2
2
|
import { type ItemMultiSelectCommonProps } from "./ItemMultiSelectCommon";
|
|
3
3
|
export type ItemMultiSelectProps = Omit<ItemMultiSelectCommonProps, "Checkbox">;
|
|
4
4
|
export declare const ItemMultiSelect: {
|
|
5
|
-
(props: ItemMultiSelectProps): import("react
|
|
5
|
+
(props: ItemMultiSelectProps): import("react").JSX.Element;
|
|
6
6
|
displayName: string;
|
|
7
7
|
};
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { type ComponentProps, type ComponentType, type FC, type ReactNode } from "react";
|
|
2
2
|
export type ItemMultiSelectVariant = "primary" | "secondary";
|
|
3
|
-
export type ItemMultiSelectCommonProps = Omit<ComponentProps<"input">, "type"> & {
|
|
3
|
+
export type ItemMultiSelectCommonProps = Omit<ComponentProps<"input">, "type" | "id"> & {
|
|
4
|
+
id: string;
|
|
4
5
|
label: ReactNode;
|
|
5
6
|
variant?: ItemMultiSelectVariant;
|
|
6
7
|
Checkbox: ComponentType<ComponentProps<"input">>;
|
|
@@ -2,6 +2,6 @@ import "@axa-fr/canopee-css/client/Form/ItemMultiSelect/ItemMultiSelectLF.css";
|
|
|
2
2
|
import { type ItemMultiSelectCommonProps } from "./ItemMultiSelectCommon";
|
|
3
3
|
export type ItemMultiSelectProps = Omit<ItemMultiSelectCommonProps, "Checkbox">;
|
|
4
4
|
export declare const ItemMultiSelect: {
|
|
5
|
-
(props: ItemMultiSelectProps): import("react
|
|
5
|
+
(props: ItemMultiSelectProps): import("react").JSX.Element;
|
|
6
6
|
displayName: string;
|
|
7
7
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import "@axa-fr/canopee-css/prospect/Form/MultiSelectList/MultiSelectListAll.css";
|
|
2
2
|
import { type MultiSelectListProps } from "./MultiSelectListCommon";
|
|
3
3
|
export type { MultiSelectListProps } from "./MultiSelectListCommon";
|
|
4
|
-
export declare const MultiSelectList: (props: MultiSelectListProps) => import("react
|
|
4
|
+
export declare const MultiSelectList: (props: MultiSelectListProps) => import("react").JSX.Element;
|
|
@@ -7,5 +7,5 @@ export type MultiSelectListProps = Omit<ListProps, "children" | "separator" | "o
|
|
|
7
7
|
type MultiSelectListCommonProps = MultiSelectListProps & {
|
|
8
8
|
ItemMultiSelectComponent: ComponentType<Omit<ItemMultiSelectCommonProps, "Checkbox">>;
|
|
9
9
|
};
|
|
10
|
-
export declare const MultiSelectListCommon: ({ items, ItemMultiSelectComponent, }: MultiSelectListCommonProps) => import("react
|
|
10
|
+
export declare const MultiSelectListCommon: ({ items, ItemMultiSelectComponent, }: MultiSelectListCommonProps) => import("react").JSX.Element;
|
|
11
11
|
export {};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import "@axa-fr/canopee-css/client/Form/MultiSelectList/MultiSelectListAll.css";
|
|
2
2
|
import { type MultiSelectListProps } from "./MultiSelectListCommon";
|
|
3
3
|
export type { MultiSelectListProps } from "./MultiSelectListCommon";
|
|
4
|
-
export declare const MultiSelectList: (props: MultiSelectListProps) => import("react
|
|
4
|
+
export declare const MultiSelectList: (props: MultiSelectListProps) => import("react").JSX.Element;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { type CardRadioProps } from "./CardRadioCommon";
|
|
2
2
|
import "@axa-fr/canopee-css/prospect/Form/Radio/CardRadio/CardRadioApollo.css";
|
|
3
|
-
export declare const CardRadio: (props: CardRadioProps) => import("react
|
|
3
|
+
export declare const CardRadio: (props: CardRadioProps) => import("react").JSX.Element;
|
|
@@ -18,7 +18,7 @@ export type CardRadioCommonProps = CardRadioProps & {
|
|
|
18
18
|
IconComponent: ComponentType<ComponentProps<typeof IconCommon>>;
|
|
19
19
|
};
|
|
20
20
|
export declare const CardRadioCommon: {
|
|
21
|
-
({ label, position, description, subtitle, icon, src, basePictureProps, variant, className, RadioComponent, IconComponent, ...inputProps }: CardRadioCommonProps): import("react
|
|
21
|
+
({ label, position, description, subtitle, icon, src, basePictureProps, variant, className, RadioComponent, IconComponent, ...inputProps }: CardRadioCommonProps): import("react").JSX.Element;
|
|
22
22
|
displayName: string;
|
|
23
23
|
};
|
|
24
24
|
export {};
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { type CardRadioProps } from "./CardRadioCommon";
|
|
2
2
|
import "@axa-fr/canopee-css/client/Form/Radio/CardRadio/CardRadioLF.css";
|
|
3
|
-
export declare const CardRadio: (props: CardRadioProps) => import("react
|
|
3
|
+
export declare const CardRadio: (props: CardRadioProps) => import("react").JSX.Element;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { type CardRadioGroupProps } from "./CardRadioGroupCommon";
|
|
2
2
|
import "@axa-fr/canopee-css/prospect/Form/Radio/CardRadioGroup/CardRadioGroupApollo.css";
|
|
3
|
-
export declare const CardRadioGroup: (props: CardRadioGroupProps) => import("react
|
|
3
|
+
export declare const CardRadioGroup: (props: CardRadioGroupProps) => import("react").JSX.Element;
|
|
@@ -16,7 +16,7 @@ export type CardRadioCommonProps = CardRadioGroupProps & {
|
|
|
16
16
|
ItemMessageComponent: ComponentType<ItemMessageProps>;
|
|
17
17
|
};
|
|
18
18
|
declare const CardRadioGroupCommon: {
|
|
19
|
-
({ className, label, description, required, options, cardStyle, position, message, messageType, name, id, CardRadioComponent, ItemMessageComponent, containerProps, ...inputProps }: CardRadioCommonProps): import("react
|
|
19
|
+
({ className, label, description, required, options, cardStyle, position, message, messageType, name, id, CardRadioComponent, ItemMessageComponent, containerProps, ...inputProps }: CardRadioCommonProps): import("react").JSX.Element;
|
|
20
20
|
displayName: string;
|
|
21
21
|
};
|
|
22
22
|
export { CardRadioGroupCommon };
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { type CardRadioGroupProps } from "./CardRadioGroupCommon";
|
|
2
2
|
import "@axa-fr/canopee-css/client/Form/Radio/CardRadioGroup/CardRadioGroupLF.css";
|
|
3
|
-
export declare const CardRadioGroup: (props: CardRadioGroupProps) => import("react
|
|
3
|
+
export declare const CardRadioGroup: (props: CardRadioGroupProps) => import("react").JSX.Element;
|
|
@@ -2,4 +2,4 @@ import { type ComponentProps } from "react";
|
|
|
2
2
|
export type RadioProps = Omit<ComponentProps<"input">, "disabled" | "type"> & {
|
|
3
3
|
variant?: "error" | "warning";
|
|
4
4
|
};
|
|
5
|
-
export declare const Radio: ({ variant, className, ref, ...inputProps }: RadioProps) => import("react
|
|
5
|
+
export declare const Radio: ({ variant, className, ref, ...inputProps }: RadioProps) => import("react").JSX.Element;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import "@axa-fr/canopee-css/prospect/Form/TextArea/TextAreaApollo.css";
|
|
2
2
|
import { type TextAreaProps } from "./TextAreaCommon";
|
|
3
3
|
export declare const TextArea: {
|
|
4
|
-
({ ...props }: TextAreaProps): import("react
|
|
4
|
+
({ ...props }: TextAreaProps): import("react").JSX.Element;
|
|
5
5
|
displayName: string;
|
|
6
6
|
};
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { type ComponentProps, type ComponentPropsWithRef, type ComponentType } from "react";
|
|
1
|
+
import { type ComponentProps, type ComponentPropsWithRef, type ComponentType, type ReactNode } from "react";
|
|
2
2
|
import type { GridContainerProps } from "../../utilities/types/GridContainerProps";
|
|
3
3
|
import { ItemLabelCommon, type ItemLabelProps } from "../ItemLabel/ItemLabelCommon";
|
|
4
4
|
import { type ItemMessageProps } from "../ItemMessage/ItemMessage";
|
|
5
5
|
export type TextAreaProps = ComponentPropsWithRef<"textarea"> & {
|
|
6
6
|
label?: ItemLabelProps["children"];
|
|
7
|
-
helper?:
|
|
7
|
+
helper?: ReactNode;
|
|
8
8
|
containerProps?: GridContainerProps;
|
|
9
9
|
} & Pick<ItemLabelProps, "description" | "moreButtonLabel" | "onMoreButtonClick" | "sideButtonLabel" | "onSideButtonClick"> & Pick<ItemMessageProps, "message" | "messageType">;
|
|
10
10
|
type TextAreaCommonProps = TextAreaProps & {
|
|
@@ -12,7 +12,7 @@ type TextAreaCommonProps = TextAreaProps & {
|
|
|
12
12
|
ItemMessageComponent: ComponentType<ItemMessageProps>;
|
|
13
13
|
};
|
|
14
14
|
declare const TextAreaCommon: {
|
|
15
|
-
({ id, className, label, description, helper, message, messageType, moreButtonLabel, onMoreButtonClick, required, sideButtonLabel, ItemLabelComponent, ItemMessageComponent, onSideButtonClick, placeholder, containerProps, ...inputProps }: TextAreaCommonProps): import("react
|
|
15
|
+
({ id, className, label, description, helper, message, messageType, moreButtonLabel, onMoreButtonClick, required, sideButtonLabel, ItemLabelComponent, ItemMessageComponent, onSideButtonClick, placeholder, containerProps, ...inputProps }: TextAreaCommonProps): import("react").JSX.Element;
|
|
16
16
|
displayName: string;
|
|
17
17
|
};
|
|
18
18
|
export { TextAreaCommon };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import "@axa-fr/canopee-css/client/Form/TextArea/TextAreaLF.css";
|
|
2
2
|
import { type TextAreaProps } from "./TextAreaCommon";
|
|
3
3
|
export declare const TextArea: {
|
|
4
|
-
({ ...props }: TextAreaProps): import("react
|
|
4
|
+
({ ...props }: TextAreaProps): import("react").JSX.Element;
|
|
5
5
|
displayName: string;
|
|
6
6
|
};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import { type DebugGridProps } from "./DebugGridCommon";
|
|
2
|
-
export declare const DebugGrid: <P extends object = object>({ ...props }: DebugGridProps<P>) => import("react
|
|
2
|
+
export declare const DebugGrid: <P extends object = object>({ ...props }: DebugGridProps<P>) => import("react").JSX.Element;
|
|
@@ -8,4 +8,4 @@ export type DebugGridProps<P = object> = P & {
|
|
|
8
8
|
export type DebugGridCommonProps<P = object> = DebugGridProps<P> & {
|
|
9
9
|
CardCheckboxOption: ComponentType<CardCheckboxOptionProps>;
|
|
10
10
|
};
|
|
11
|
-
export declare const DebugGridCommon: <P = object>({ cols, isCheckedByDefault, CardCheckboxOption, ...props }: DebugGridCommonProps<P>) => import("react
|
|
11
|
+
export declare const DebugGridCommon: <P = object>({ cols, isCheckedByDefault, CardCheckboxOption, ...props }: DebugGridCommonProps<P>) => import("react").JSX.Element | null;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import { type DebugGridProps } from "./DebugGridCommon";
|
|
2
|
-
export declare const DebugGrid: <P extends object = object>({ ...props }: DebugGridProps<P>) => import("react
|
|
2
|
+
export declare const DebugGrid: <P extends object = object>({ ...props }: DebugGridProps<P>) => import("react").JSX.Element;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import "@axa-fr/canopee-css/prospect/Header/HeaderApollo.css";
|
|
2
2
|
import { type HeaderProps } from "./HeaderCommon";
|
|
3
|
-
export declare const Header: (props: HeaderProps) => import("react
|
|
3
|
+
export declare const Header: (props: HeaderProps) => import("react").JSX.Element;
|
|
4
4
|
export type { HeaderProps };
|
|
@@ -18,5 +18,5 @@ type HeaderCommonProps = HeaderProps & {
|
|
|
18
18
|
MenuBurgerComponent: ComponentType<MenuBurgerProps>;
|
|
19
19
|
ClickIconComponent: ComponentType<ClickIconProps>;
|
|
20
20
|
};
|
|
21
|
-
export declare const HeaderCommon: ({ appNameProps, menuBurgerProps, tabMenuProps, clickIconProps, title, className, AppNameComponent, HeadingComponent, MenuBurgerComponent, ClickIconComponent, actionChildren, ...props }: HeaderCommonProps) => import("react
|
|
21
|
+
export declare const HeaderCommon: ({ appNameProps, menuBurgerProps, tabMenuProps, clickIconProps, title, className, AppNameComponent, HeadingComponent, MenuBurgerComponent, ClickIconComponent, actionChildren, ...props }: HeaderCommonProps) => import("react").JSX.Element;
|
|
22
22
|
export {};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import "@axa-fr/canopee-css/client/Header/HeaderLF.css";
|
|
2
2
|
import { type HeaderProps } from "./HeaderCommon";
|
|
3
|
-
export declare const Header: (props: HeaderProps) => import("react
|
|
3
|
+
export declare const Header: (props: HeaderProps) => import("react").JSX.Element;
|
|
4
4
|
export type { HeaderProps };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import "@axa-fr/canopee-css/prospect/Heading/HeadingApollo.css";
|
|
2
2
|
import type { HeadingProps } from "./types";
|
|
3
3
|
export type { HeadingLevel, HeadingProps } from "./types";
|
|
4
|
-
export declare const Heading: ({ tag, tagProps, ...props }: HeadingProps) => import("react
|
|
4
|
+
export declare const Heading: ({ tag, tagProps, ...props }: HeadingProps) => import("react").JSX.Element;
|
|
@@ -13,4 +13,4 @@ export type HeadingCommonProps = PropsWithChildren<{
|
|
|
13
13
|
className?: string;
|
|
14
14
|
}> & JSX.IntrinsicElements["div"];
|
|
15
15
|
export declare const DEFAULT_TAG_PROPS: TagProps;
|
|
16
|
-
export declare const HeadingCommon: ({ children: title, className, firstSubtitle, secondSubtitle, level, icon, iconProps, iconPosition, tag, ...props }: HeadingCommonProps) =>
|
|
16
|
+
export declare const HeadingCommon: ({ children: title, className, firstSubtitle, secondSubtitle, level, icon, iconProps, iconPosition, tag, ...props }: HeadingCommonProps) => JSX.Element;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import "@axa-fr/canopee-css/client/Heading/HeadingLF.css";
|
|
2
2
|
import type { HeadingProps } from "./types";
|
|
3
3
|
export type { HeadingLevel, HeadingProps } from "./types";
|
|
4
|
-
export declare const Heading: ({ tag, tagProps, ...props }: HeadingProps) => import("react
|
|
4
|
+
export declare const Heading: ({ tag, tagProps, ...props }: HeadingProps) => import("react").JSX.Element;
|
|
@@ -6,5 +6,5 @@ type HeadingTextProps = {
|
|
|
6
6
|
secondSubtitle?: ReactNode;
|
|
7
7
|
titleComponent?: `h${HeadingLevel}`;
|
|
8
8
|
};
|
|
9
|
-
export declare const HeadingWithSubheadings: ({ title, firstSubtitle, secondSubtitle, titleComponent: TitleComponent, }: HeadingTextProps) => import("react
|
|
9
|
+
export declare const HeadingWithSubheadings: ({ title, firstSubtitle, secondSubtitle, titleComponent: TitleComponent, }: HeadingTextProps) => import("react").JSX.Element;
|
|
10
10
|
export {};
|
|
@@ -21,4 +21,4 @@ export type IconProps = ComponentProps<typeof Svg> & {
|
|
|
21
21
|
size?: IconSizeVariants;
|
|
22
22
|
hasBackground?: boolean;
|
|
23
23
|
};
|
|
24
|
-
export declare const Icon: ({ variant, size, hasBackground, className, ...props }: IconProps) => import("react
|
|
24
|
+
export declare const Icon: ({ variant, size, hasBackground, className, ...props }: IconProps) => import("react").JSX.Element;
|
|
@@ -19,4 +19,4 @@ export type ItemMenuProps = {
|
|
|
19
19
|
* @param {React.Ref<HTMLAnchorElement>} props.ref - Optional ref to the anchor element.
|
|
20
20
|
* @returns {JSX.Element} The rendered ItemMenu component.
|
|
21
21
|
*/
|
|
22
|
-
export declare const ItemMenu: ({ isActive, children, className, ...props }: PropsWithChildren<ItemMenuProps>) => import("react
|
|
22
|
+
export declare const ItemMenu: ({ isActive, children, className, ...props }: PropsWithChildren<ItemMenuProps>) => import("react").JSX.Element;
|
|
@@ -4,6 +4,6 @@ export type ItemTabBarProps = ComponentPropsWithRef<"button"> & {
|
|
|
4
4
|
title: string;
|
|
5
5
|
};
|
|
6
6
|
export declare const ItemTabBar: {
|
|
7
|
-
({ isActive, title, className, ...props }: ItemTabBarProps): import("react
|
|
7
|
+
({ isActive, title, className, ...props }: ItemTabBarProps): import("react").JSX.Element;
|
|
8
8
|
displayName: string;
|
|
9
9
|
};
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { type ColumnsLayoutWithSubComponents } from "./ColumnsLayoutCommon";
|
|
2
|
+
export { type ColumnsLayoutProps } from "./ColumnsLayoutCommon";
|
|
3
|
+
/**
|
|
4
|
+
* Prospect columns layout with its `top`, `Left`, `Content`, and `Right` slots.
|
|
5
|
+
*
|
|
6
|
+
* @param props - Layout options, including the optional heading configuration.
|
|
7
|
+
*/
|
|
8
|
+
export declare const ColumnsLayout: ColumnsLayoutWithSubComponents;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
+
import { Heading } from "../../Heading/HeadingApollo";
|
|
3
|
+
import { Right, Left, Content, Top, ColumnsLayoutCommon, } from "./ColumnsLayoutCommon";
|
|
4
|
+
export {} from "./ColumnsLayoutCommon";
|
|
5
|
+
/**
|
|
6
|
+
* Prospect columns layout with its `top`, `Left`, `Content`, and `Right` slots.
|
|
7
|
+
*
|
|
8
|
+
* @param props - Layout options, including the optional heading configuration.
|
|
9
|
+
*/
|
|
10
|
+
export const ColumnsLayout = (props) => _jsx(ColumnsLayoutCommon, { ...props, HeadingComponent: Heading });
|
|
11
|
+
ColumnsLayout.Right = Right;
|
|
12
|
+
ColumnsLayout.Left = Left;
|
|
13
|
+
ColumnsLayout.Content = Content;
|
|
14
|
+
ColumnsLayout.Top = Top;
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { type ComponentProps, type ComponentType, type PropsWithChildren, type ReactElement, type ReactNode } from "react";
|
|
2
|
+
import { type HeadingProps } from "../../Heading/types";
|
|
3
|
+
import "@axa-fr/canopee-css/prospect/Layout/ColumnLayout/ColumnsLayoutAll.css";
|
|
4
|
+
export type ColumnsLayoutProps = ComponentProps<"section"> & {
|
|
5
|
+
headingProps?: HeadingProps;
|
|
6
|
+
isFit?: boolean;
|
|
7
|
+
};
|
|
8
|
+
export declare const Top: ({ children }: PropsWithChildren) => ReactNode;
|
|
9
|
+
export declare const Left: ({ children }: PropsWithChildren) => ReactNode;
|
|
10
|
+
export declare const Content: ({ children }: PropsWithChildren) => ReactNode;
|
|
11
|
+
export declare const Right: ({ children }: PropsWithChildren) => ReactNode;
|
|
12
|
+
type ColumnsLayoutCommonProps = ColumnsLayoutProps & {
|
|
13
|
+
HeadingComponent: ComponentType<HeadingProps>;
|
|
14
|
+
};
|
|
15
|
+
export declare const ColumnsLayoutCommon: {
|
|
16
|
+
({ children, className, headingProps, HeadingComponent, isFit, ...columnsLayoutProps }: ColumnsLayoutCommonProps): import("react").JSX.Element;
|
|
17
|
+
Top: ({ children }: PropsWithChildren) => ReactNode;
|
|
18
|
+
Left: ({ children }: PropsWithChildren) => ReactNode;
|
|
19
|
+
Content: ({ children }: PropsWithChildren) => ReactNode;
|
|
20
|
+
Right: ({ children }: PropsWithChildren) => ReactNode;
|
|
21
|
+
};
|
|
22
|
+
type ColumnsLayoutSubComponents = Pick<typeof ColumnsLayoutCommon, "Top" | "Left" | "Right" | "Content">;
|
|
23
|
+
export type ColumnsLayoutWithSubComponents = ((props: ColumnsLayoutProps) => ReactElement) & ColumnsLayoutSubComponents;
|
|
24
|
+
export {};
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-runtime";
|
|
2
|
+
import { isValidElement, } from "react";
|
|
3
|
+
import {} from "../../Heading/types";
|
|
4
|
+
import "@axa-fr/canopee-css/prospect/Layout/ColumnLayout/ColumnsLayoutAll.css";
|
|
5
|
+
import { getClassName } from "../../utilities/getClassName";
|
|
6
|
+
import { flattenFragments } from "../../utilities/flattenFragments";
|
|
7
|
+
export const Top = ({ children }) => children;
|
|
8
|
+
export const Left = ({ children }) => children;
|
|
9
|
+
export const Content = ({ children }) => children;
|
|
10
|
+
export const Right = ({ children }) => children;
|
|
11
|
+
const DEFAULT_CLASS_NAME = "af-columns-layout";
|
|
12
|
+
export const ColumnsLayoutCommon = ({ children, className, headingProps, HeadingComponent, isFit, ...columnsLayoutProps }) => {
|
|
13
|
+
const childrenArray = flattenFragments(children);
|
|
14
|
+
const isSlot = (child, slot) => isValidElement(child) && child.type === slot;
|
|
15
|
+
const top = childrenArray.filter((child) => isSlot(child, Top));
|
|
16
|
+
const left = childrenArray.filter((child) => isSlot(child, Left));
|
|
17
|
+
const right = childrenArray.filter((child) => isSlot(child, Right));
|
|
18
|
+
const content = childrenArray.filter((child) => !isSlot(child, Top) && !isSlot(child, Left) && !isSlot(child, Right));
|
|
19
|
+
const invalidFit = Boolean(isFit) && (left.length > 0 || right.length > 0);
|
|
20
|
+
return (_jsxs(_Fragment, { children: [top.length > 0 ? (_jsx("article", { className: `${DEFAULT_CLASS_NAME}__top subgrid`, children: top })) : null, _jsxs("section", { className: getClassName({
|
|
21
|
+
baseClassName: DEFAULT_CLASS_NAME,
|
|
22
|
+
modifiers: [isFit && !invalidFit ? "fit" : ""],
|
|
23
|
+
className: `grid subgrid ${className ?? ""}`,
|
|
24
|
+
}), ...columnsLayoutProps, children: [headingProps ? _jsx(HeadingComponent, { ...headingProps }) : null, left.length > 0 ? (_jsx("section", { className: `${DEFAULT_CLASS_NAME}__left subgrid`, children: left })) : null, content.length > 0 ? (_jsx("section", { className: `${DEFAULT_CLASS_NAME}__content subgrid`, children: content })) : null, right.length > 0 ? (_jsx("section", { className: `${DEFAULT_CLASS_NAME}__right subgrid`, children: right })) : null] })] }));
|
|
25
|
+
};
|
|
26
|
+
ColumnsLayoutCommon.Top = Top;
|
|
27
|
+
ColumnsLayoutCommon.Left = Left;
|
|
28
|
+
ColumnsLayoutCommon.Content = Content;
|
|
29
|
+
ColumnsLayoutCommon.Right = Right;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { type ColumnsLayoutWithSubComponents } from "./ColumnsLayoutCommon";
|
|
2
|
+
export { type ColumnsLayoutProps } from "./ColumnsLayoutCommon";
|
|
3
|
+
/**
|
|
4
|
+
* Client columns layout with its `Top`, `Left`, `Content`, and `Right` slots.
|
|
5
|
+
*
|
|
6
|
+
* @param props - Layout options, including the optional heading configuration.
|
|
7
|
+
*/
|
|
8
|
+
export declare const ColumnsLayout: ColumnsLayoutWithSubComponents;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
+
import { Heading } from "../../Heading/HeadingLF";
|
|
3
|
+
import { Right, Left, Content, Top, ColumnsLayoutCommon, } from "./ColumnsLayoutCommon";
|
|
4
|
+
export {} from "./ColumnsLayoutCommon";
|
|
5
|
+
/**
|
|
6
|
+
* Client columns layout with its `Top`, `Left`, `Content`, and `Right` slots.
|
|
7
|
+
*
|
|
8
|
+
* @param props - Layout options, including the optional heading configuration.
|
|
9
|
+
*/
|
|
10
|
+
export const ColumnsLayout = (props) => _jsx(ColumnsLayoutCommon, { ...props, HeadingComponent: Heading });
|
|
11
|
+
ColumnsLayout.Right = Right;
|
|
12
|
+
ColumnsLayout.Left = Left;
|
|
13
|
+
ColumnsLayout.Content = Content;
|
|
14
|
+
ColumnsLayout.Top = Top;
|
|
@@ -13,7 +13,7 @@ export { ExitLayoutSkeleton, type ExitLayoutSkeletonProps, } from "./ExitLayoutS
|
|
|
13
13
|
* @returns {JSX.Element} The rendered Apollo-themed ExitLayout.
|
|
14
14
|
*/
|
|
15
15
|
export declare const ExitLayout: {
|
|
16
|
-
(props: ExitLayoutProps): import("react
|
|
16
|
+
(props: ExitLayoutProps): import("react").JSX.Element;
|
|
17
17
|
Agent: ({ children }: import("react").PropsWithChildren) => (string | number | bigint | Iterable<import("react").ReactNode> | Promise<string | number | bigint | boolean | import("react").ReactPortal | import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>> | Iterable<import("react").ReactNode> | null | undefined> | {
|
|
18
18
|
props: {
|
|
19
19
|
className: string;
|
|
@@ -27,7 +27,7 @@ export declare const Agent: ({ children }: PropsWithChildren) => (string | numbe
|
|
|
27
27
|
export declare const Action: ({ children }: PropsWithChildren) => import("react").ReactNode;
|
|
28
28
|
export declare const Content: ({ children }: PropsWithChildren) => import("react").ReactNode;
|
|
29
29
|
export declare const ExitLayoutCommon: {
|
|
30
|
-
({ headingProps, iconProps, children, HeadingComponent, IconComponent, }: ExitLayoutCommonProps): import("react
|
|
30
|
+
({ headingProps, iconProps, children, HeadingComponent, IconComponent, }: ExitLayoutCommonProps): import("react").JSX.Element;
|
|
31
31
|
Agent: ({ children }: PropsWithChildren) => (string | number | bigint | Iterable<import("react").ReactNode> | Promise<string | number | bigint | boolean | import("react").ReactPortal | import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>> | Iterable<import("react").ReactNode> | null | undefined> | {
|
|
32
32
|
props: {
|
|
33
33
|
className: string;
|
|
@@ -13,7 +13,7 @@ export { ExitLayoutSkeleton, type ExitLayoutSkeletonProps, } from "./ExitLayoutS
|
|
|
13
13
|
* @returns {JSX.Element} The rendered Look and Feel ExitLayout.
|
|
14
14
|
*/
|
|
15
15
|
export declare const ExitLayout: {
|
|
16
|
-
(props: ExitLayoutProps): import("react
|
|
16
|
+
(props: ExitLayoutProps): import("react").JSX.Element;
|
|
17
17
|
Agent: ({ children }: import("react").PropsWithChildren) => (string | number | bigint | Iterable<import("react").ReactNode> | Promise<string | number | bigint | boolean | import("react").ReactPortal | import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>> | Iterable<import("react").ReactNode> | null | undefined> | {
|
|
18
18
|
props: {
|
|
19
19
|
className: string;
|
|
@@ -20,4 +20,4 @@ export type ExitLayoutSkeletonProps = {
|
|
|
20
20
|
* @param {boolean} [props.hasHeading] - Displays the heading placeholder.
|
|
21
21
|
* @returns {JSX.Element} The rendered ExitLayoutSkeleton component.
|
|
22
22
|
*/
|
|
23
|
-
export declare const ExitLayoutSkeleton: ({ hasAgent, hasIcon, hasAction, hasContent, hasHeading, }: ExitLayoutSkeletonProps) => import("react
|
|
23
|
+
export declare const ExitLayoutSkeleton: ({ hasAgent, hasIcon, hasAction, hasContent, hasHeading, }: ExitLayoutSkeletonProps) => import("react").JSX.Element;
|
|
@@ -7,4 +7,4 @@ export type FooterProps = {
|
|
|
7
7
|
expandLinkText: string;
|
|
8
8
|
id?: string;
|
|
9
9
|
};
|
|
10
|
-
export declare const Footer: ({ links, socialMedias, copyright, expandLinkText, id, }: FooterProps) => import("react
|
|
10
|
+
export declare const Footer: ({ links, socialMedias, copyright, expandLinkText, id, }: FooterProps) => import("react").JSX.Element;
|
|
@@ -5,5 +5,5 @@ export type SocialMedia = {
|
|
|
5
5
|
type MenuIconsProps = {
|
|
6
6
|
socialMedias: SocialMedia[];
|
|
7
7
|
};
|
|
8
|
-
export declare const MenuIcons: ({ socialMedias }: MenuIconsProps) => import("react
|
|
8
|
+
export declare const MenuIcons: ({ socialMedias }: MenuIconsProps) => import("react").JSX.Element | null;
|
|
9
9
|
export {};
|
|
@@ -7,5 +7,5 @@ type MenuLinkProps = {
|
|
|
7
7
|
links: Link[];
|
|
8
8
|
isAboutOpen?: boolean;
|
|
9
9
|
};
|
|
10
|
-
export declare const MenuLink: ({ links, isAboutOpen }: MenuLinkProps) => import("react
|
|
10
|
+
export declare const MenuLink: ({ links, isAboutOpen }: MenuLinkProps) => import("react").JSX.Element | null;
|
|
11
11
|
export {};
|
|
@@ -1762,7 +1762,7 @@ export declare const Body: ({ children }: PropsWithChildren) => (string | number
|
|
|
1762
1762
|
key: string | null;
|
|
1763
1763
|
})[] | null | undefined;
|
|
1764
1764
|
export declare const FormLayout: {
|
|
1765
|
-
({ children, className, "aria-label": ariaLabel, ...formProps }: FormLayoutProps): import("react
|
|
1765
|
+
({ children, className, "aria-label": ariaLabel, ...formProps }: FormLayoutProps): import("react").JSX.Element;
|
|
1766
1766
|
Header: ({ children }: PropsWithChildren) => import("react").ReactNode;
|
|
1767
1767
|
Body: ({ children }: PropsWithChildren) => (string | number | bigint | Iterable<import("react").ReactNode> | Promise<string | number | bigint | boolean | import("react").ReactPortal | import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>> | Iterable<import("react").ReactNode> | null | undefined> | {
|
|
1768
1768
|
props: {
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { type MainLayoutProps, type MainLayoutSlotProps, type MainLayoutWithSubComponents } from "./MainLayoutCommon";
|
|
2
|
+
import "@axa-fr/canopee-css/prospect/Layout/MainLayout/MainLayoutApollo.css";
|
|
3
|
+
/**
|
|
4
|
+
* Prospect 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/DebugGridApollo";
|
|
3
|
+
import { Header } from "../../Header/HeaderApollo";
|
|
4
|
+
import { Footer } from "../Footer/FooterApollo";
|
|
5
|
+
import { Bottom, MainLayoutCommon, Top, } from "./MainLayoutCommon";
|
|
6
|
+
import { Link } from "../../Link/LinkApollo";
|
|
7
|
+
import { Icon } from "../../Icon/IconApollo";
|
|
8
|
+
import "@axa-fr/canopee-css/prospect/Layout/MainLayout/MainLayoutApollo.css";
|
|
9
|
+
/**
|
|
10
|
+
* Prospect 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,48 @@
|
|
|
1
|
+
import { type ComponentProps, type ComponentType, type PropsWithChildren, type ReactElement, type ReactNode } from "react";
|
|
2
|
+
import type { DebugGridProps } from "../../Grid/DebugGridCommon";
|
|
3
|
+
import { type HeaderProps } from "../../Header/HeaderCommon";
|
|
4
|
+
import { type FooterProps } from "../Footer/FooterCommon";
|
|
5
|
+
import { type LinkProps } from "../../Link/LinkCommon";
|
|
6
|
+
import { type IconProps } from "../../Icon/IconCommon";
|
|
7
|
+
export type MainLayoutSlotProps = PropsWithChildren<{
|
|
8
|
+
/** Additional class applied to the element wrapping the slot. */
|
|
9
|
+
className?: string;
|
|
10
|
+
}>;
|
|
11
|
+
/** Content rendered on the grid between the header and the main content. */
|
|
12
|
+
export declare const Top: ({ children }: MainLayoutSlotProps) => ReactNode;
|
|
13
|
+
/** Content rendered on the grid between the main content and the footer. */
|
|
14
|
+
export declare const Bottom: ({ children }: MainLayoutSlotProps) => ReactNode;
|
|
15
|
+
export type MainLayoutProps = {
|
|
16
|
+
/** Props of the back link displayed under the header. Omit it to render no back link. */
|
|
17
|
+
backLinkProps?: LinkProps;
|
|
18
|
+
/** Props passed to `Header`. Omit it to render no header. */
|
|
19
|
+
headerProps?: HeaderProps;
|
|
20
|
+
/** Props passed to `Footer`. Omit it to render no footer. */
|
|
21
|
+
footerProps?: FooterProps;
|
|
22
|
+
/** Props passed to `DebugGrid`. Omit it to render no debug grid. */
|
|
23
|
+
debugGridProps?: DebugGridProps;
|
|
24
|
+
/** Additional class applied to the layout root element. */
|
|
25
|
+
className?: string;
|
|
26
|
+
/** Native props passed to `<main>` when main content is present. */
|
|
27
|
+
mainProps?: Omit<ComponentProps<"main">, "children">;
|
|
28
|
+
/**
|
|
29
|
+
* Main page content, rendered in `<main className="grid">`.
|
|
30
|
+
* Use `MainLayout.Top` and `MainLayout.Bottom` to render content around it.
|
|
31
|
+
*/
|
|
32
|
+
children?: ReactNode;
|
|
33
|
+
};
|
|
34
|
+
type MainLayoutCommonProps = MainLayoutProps & {
|
|
35
|
+
HeaderComponent: ComponentType<HeaderProps>;
|
|
36
|
+
FooterComponent: ComponentType<FooterProps>;
|
|
37
|
+
DebugGridComponent: ComponentType<DebugGridProps>;
|
|
38
|
+
LinkComponent: ComponentType<LinkProps>;
|
|
39
|
+
IconComponent: ComponentType<IconProps>;
|
|
40
|
+
};
|
|
41
|
+
export declare const MainLayoutCommon: {
|
|
42
|
+
({ debugGridProps, headerProps, footerProps, backLinkProps, className, mainProps, children, HeaderComponent, FooterComponent, DebugGridComponent, LinkComponent, IconComponent, }: MainLayoutCommonProps): import("react").JSX.Element;
|
|
43
|
+
Top: ({ children }: MainLayoutSlotProps) => ReactNode;
|
|
44
|
+
Bottom: ({ children }: MainLayoutSlotProps) => ReactNode;
|
|
45
|
+
};
|
|
46
|
+
type MainLayoutSubComponents = Pick<typeof MainLayoutCommon, "Top" | "Bottom">;
|
|
47
|
+
export type MainLayoutWithSubComponents = ((props: MainLayoutProps) => ReactElement) & MainLayoutSubComponents;
|
|
48
|
+
export {};
|