@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
|
@@ -16,7 +16,7 @@ type Props = {
|
|
|
16
16
|
mode: "cardRadio";
|
|
17
17
|
}));
|
|
18
18
|
declare const Radio: {
|
|
19
|
-
({ options, value, children, disabled, ...otherProps }: Props): import("react
|
|
19
|
+
({ options, value, children, disabled, ...otherProps }: Props): import("react").JSX.Element;
|
|
20
20
|
displayName: string;
|
|
21
21
|
};
|
|
22
22
|
export { Radio };
|
|
@@ -8,5 +8,5 @@ type Props = ComponentProps<"input"> & {
|
|
|
8
8
|
options: RadioOptions[];
|
|
9
9
|
orientation?: "horizontal" | "vertical";
|
|
10
10
|
};
|
|
11
|
-
export declare const RadioCardGroup: ({ children, options, className, value, name, orientation, disabled, "aria-invalid": ariaInvalid, ...otherProps }: Props) => import("react
|
|
11
|
+
export declare const RadioCardGroup: ({ children, options, className, value, name, orientation, disabled, "aria-invalid": ariaInvalid, ...otherProps }: Props) => import("react").JSX.Element;
|
|
12
12
|
export {};
|
|
@@ -3,7 +3,7 @@ import { type ConsumerFieldProps } from "../core";
|
|
|
3
3
|
import { Radio } from "./Radio";
|
|
4
4
|
type RadioInputProps = ConsumerFieldProps & ComponentPropsWithRef<typeof Radio>;
|
|
5
5
|
declare const RadioInput: {
|
|
6
|
-
({ label, mode, options, children, ...props }: RadioInputProps): import("react
|
|
6
|
+
({ label, mode, options, children, ...props }: RadioInputProps): import("react").JSX.Element;
|
|
7
7
|
displayName: string;
|
|
8
8
|
};
|
|
9
9
|
export { RadioInput };
|
|
@@ -6,7 +6,7 @@ type Props = Omit<ComponentPropsWithRef<"input">, "checked" | "type"> & {
|
|
|
6
6
|
isChecked?: boolean;
|
|
7
7
|
};
|
|
8
8
|
declare const RadioItem: {
|
|
9
|
-
({ value, id, isChecked, label, className, disabled, ...otherProps }: Props): import("react
|
|
9
|
+
({ value, id, isChecked, label, className, disabled, ...otherProps }: Props): import("react").JSX.Element;
|
|
10
10
|
displayName: string;
|
|
11
11
|
};
|
|
12
12
|
export { RadioItem };
|
|
@@ -4,7 +4,7 @@ type SelectProps = PropsWithChildren<ComponentProps<typeof SelectDefault> & {
|
|
|
4
4
|
mode?: "default" | "base";
|
|
5
5
|
}>;
|
|
6
6
|
declare const Select: {
|
|
7
|
-
({ mode, children, ...props }: SelectProps): import("react
|
|
7
|
+
({ mode, children, ...props }: SelectProps): import("react").JSX.Element;
|
|
8
8
|
displayName: string;
|
|
9
9
|
};
|
|
10
10
|
export { Select };
|
|
@@ -2,7 +2,7 @@ import "@axa-fr/canopee-css/distributeur/Form/Select/Select.css";
|
|
|
2
2
|
import { type ComponentPropsWithRef } from "react";
|
|
3
3
|
type Props = ComponentPropsWithRef<"select">;
|
|
4
4
|
declare const SelectBase: {
|
|
5
|
-
({ id, className, required, children, ...otherProps }: Props): import("react
|
|
5
|
+
({ id, className, required, children, ...otherProps }: Props): import("react").JSX.Element;
|
|
6
6
|
displayName: string;
|
|
7
7
|
};
|
|
8
8
|
export { SelectBase };
|
|
@@ -6,7 +6,7 @@ type Props = ComponentPropsWithRef<typeof SelectBase> & {
|
|
|
6
6
|
children?: React.ReactNode;
|
|
7
7
|
};
|
|
8
8
|
declare const SelectDefault: {
|
|
9
|
-
({ onChange, forceDisplayPlaceholder, value, defaultValue, required, placeholder, id, children, ...otherProps }: Props): import("react
|
|
9
|
+
({ onChange, forceDisplayPlaceholder, value, defaultValue, required, placeholder, id, children, ...otherProps }: Props): import("react").JSX.Element;
|
|
10
10
|
displayName: string;
|
|
11
11
|
};
|
|
12
12
|
export { SelectDefault };
|
|
@@ -5,7 +5,7 @@ type Props = ConsumerFieldProps & ComponentProps<typeof Select> & {
|
|
|
5
5
|
options: OptionHTMLAttributes<HTMLOptionElement>[];
|
|
6
6
|
};
|
|
7
7
|
declare const SelectInput: {
|
|
8
|
-
({ label, options, children, ...props }: PropsWithChildren<Props>): import("react
|
|
8
|
+
({ label, options, children, ...props }: PropsWithChildren<Props>): import("react").JSX.Element;
|
|
9
9
|
displayName: string;
|
|
10
10
|
};
|
|
11
11
|
export { SelectInput };
|
|
@@ -4,7 +4,7 @@ type Props = ComponentPropsWithRef<"input"> & {
|
|
|
4
4
|
hasInfobulle?: boolean;
|
|
5
5
|
};
|
|
6
6
|
declare const Text: {
|
|
7
|
-
({ className, required, hasInfobulle, ...otherProps }: Props): import("react
|
|
7
|
+
({ className, required, hasInfobulle, ...otherProps }: Props): import("react").JSX.Element;
|
|
8
8
|
displayName: string;
|
|
9
9
|
};
|
|
10
10
|
export { Text };
|
|
@@ -3,7 +3,7 @@ import { type ConsumerFieldProps } from "../core";
|
|
|
3
3
|
import { Text } from "./Text";
|
|
4
4
|
export type TextInputProps = ConsumerFieldProps & ComponentProps<typeof Text>;
|
|
5
5
|
declare const TextInput: {
|
|
6
|
-
({ children, ...props }: TextInputProps): import("react
|
|
6
|
+
({ children, ...props }: TextInputProps): import("react").JSX.Element;
|
|
7
7
|
displayName: string;
|
|
8
8
|
};
|
|
9
9
|
export { TextInput };
|
|
@@ -4,7 +4,7 @@ type Props = ComponentPropsWithRef<"textarea"> & {
|
|
|
4
4
|
hasInfobulle?: boolean;
|
|
5
5
|
};
|
|
6
6
|
declare const Textarea: {
|
|
7
|
-
({ id, className, required, hasInfobulle, ...otherProps }: Props): import("react
|
|
7
|
+
({ id, className, required, hasInfobulle, ...otherProps }: Props): import("react").JSX.Element;
|
|
8
8
|
displayName: string;
|
|
9
9
|
};
|
|
10
10
|
export { Textarea };
|
|
@@ -4,7 +4,7 @@ import { type ConsumerFieldProps } from "../core";
|
|
|
4
4
|
import { Textarea } from "./Textarea";
|
|
5
5
|
type Props = ConsumerFieldProps & ComponentProps<typeof Textarea>;
|
|
6
6
|
declare const TextareaInput: {
|
|
7
|
-
({ label, children, ...props }: Props): import("react
|
|
7
|
+
({ label, children, ...props }: Props): import("react").JSX.Element;
|
|
8
8
|
displayName: string;
|
|
9
9
|
};
|
|
10
10
|
export { TextareaInput };
|
|
@@ -57,5 +57,5 @@ export type ConsumerFieldProps = Omit<InputProps, "renderInput" | "classNameSuff
|
|
|
57
57
|
*/
|
|
58
58
|
children?: ReactNode;
|
|
59
59
|
};
|
|
60
|
-
export declare const Field: ({ classNameContainerInput, classNameContainerLabel, className, label, forceDisplayMessage, message, messageType, required, disabled, hasInfobulle, helpMessage, id, roleContainer, ariaLabelContainer, isLabelContainerLinkedToInput, labelPosition, fieldClassNameSuffix, renderInput, appendChildren, ...otherProps }: InputProps) => import("react
|
|
60
|
+
export declare const Field: ({ classNameContainerInput, classNameContainerLabel, className, label, forceDisplayMessage, message, messageType, required, disabled, hasInfobulle, helpMessage, id, roleContainer, ariaLabelContainer, isLabelContainerLinkedToInput, labelPosition, fieldClassNameSuffix, renderInput, appendChildren, ...otherProps }: InputProps) => import("react").JSX.Element;
|
|
61
61
|
export {};
|
|
@@ -4,5 +4,5 @@ type FieldProps = {
|
|
|
4
4
|
messageType?: MessageTypes;
|
|
5
5
|
errorId?: string;
|
|
6
6
|
};
|
|
7
|
-
export declare const FieldError: ({ message, messageType, errorId, }: FieldProps) => "" | import("react
|
|
7
|
+
export declare const FieldError: ({ message, messageType, errorId, }: FieldProps) => "" | import("react").JSX.Element | null;
|
|
8
8
|
export {};
|
|
@@ -4,5 +4,5 @@ type HelpProps = {
|
|
|
4
4
|
isVisible?: boolean;
|
|
5
5
|
id?: string;
|
|
6
6
|
};
|
|
7
|
-
export declare const HelpMessage: ({ message, isVisible, id }: HelpProps) => false | import("react
|
|
7
|
+
export declare const HelpMessage: ({ message, isVisible, id }: HelpProps) => false | import("react").JSX.Element;
|
|
8
8
|
export {};
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import "@axa-fr/canopee-css/distributeur/FormHelper/FormHelper.css";
|
|
2
|
+
import type { ComponentPropsWithoutRef, ReactNode } from "react";
|
|
3
|
+
import type { FormHelperStateLabels } from "./types";
|
|
4
|
+
export type FormHelperProps = Omit<ComponentPropsWithoutRef<"aside">, "title"> & {
|
|
5
|
+
/** Title shown in the blue header, e.g. "Assistant de création". */
|
|
6
|
+
title: string;
|
|
7
|
+
/**
|
|
8
|
+
* Heading level of the title.
|
|
9
|
+
* @default "h2"
|
|
10
|
+
*/
|
|
11
|
+
heading?: "h2" | "h3" | "h4";
|
|
12
|
+
/** Texts of the legend, e.g. for another language. */
|
|
13
|
+
stateLabels?: FormHelperStateLabels;
|
|
14
|
+
/** Body of the helper, usually a `ListFormHelper`. */
|
|
15
|
+
children: ReactNode;
|
|
16
|
+
};
|
|
17
|
+
export declare const FormHelper: ({ title, heading: Heading, stateLabels, children, className, "aria-label": ariaLabel, ...otherProps }: FormHelperProps) => import("react").JSX.Element;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
+
import "@axa-fr/canopee-css/distributeur/FormHelper/FormHelper.css";
|
|
3
|
+
import { ItemFormHelper, } from "../ItemFormHelper/ItemFormHelper";
|
|
4
|
+
import { getClassName } from "../utilities/helpers/getClassName";
|
|
5
|
+
const legendVariants = [
|
|
6
|
+
"todo",
|
|
7
|
+
"inprogress",
|
|
8
|
+
"validated",
|
|
9
|
+
];
|
|
10
|
+
export const FormHelper = ({ title, heading: Heading = "h2", stateLabels, children, className, "aria-label": ariaLabel = "Progression du formulaire", ...otherProps }) => (_jsxs("aside", { className: getClassName({ baseClassName: "af-form-helper", className }), "aria-label": ariaLabel, ...otherProps, children: [_jsx(Heading, { className: "af-form-helper__title", children: title }), _jsx("ul", { className: "af-form-helper__legend", children: legendVariants.map((variant) => (_jsx("li", { children: _jsx(ItemFormHelper, { variant: variant, stateLabel: stateLabels?.[variant] }) }, variant))) }), _jsx("div", { className: "af-form-helper__body", children: children })] }));
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import "@axa-fr/canopee-css/distributeur/FormHelper/ListFormHelper.css";
|
|
2
|
+
import type { ComponentPropsWithoutRef, MouseEventHandler } from "react";
|
|
3
|
+
import { type ItemFormHelperVariant } from "../ItemFormHelper/ItemFormHelper";
|
|
4
|
+
import type { FormHelperStateLabels } from "./types";
|
|
5
|
+
export type ListFormHelperStep = {
|
|
6
|
+
/** Name of the form section, e.g. "Tarification". */
|
|
7
|
+
label: string;
|
|
8
|
+
/** State of the section. */
|
|
9
|
+
variant: ItemFormHelperVariant;
|
|
10
|
+
/** Link to the section, e.g. "#tarification". Makes the step clickable. */
|
|
11
|
+
href?: string;
|
|
12
|
+
/** Called when the step link is clicked (only with `href`). */
|
|
13
|
+
onClick?: MouseEventHandler<HTMLAnchorElement>;
|
|
14
|
+
};
|
|
15
|
+
export type ListFormHelperProps = Omit<ComponentPropsWithoutRef<"ol">, "children"> & {
|
|
16
|
+
/** Sections of the form, in order. */
|
|
17
|
+
steps: ListFormHelperStep[];
|
|
18
|
+
/**
|
|
19
|
+
* Accessible name of the navigation, used when a step has a link.
|
|
20
|
+
* @default "étapes du formulaire"
|
|
21
|
+
*/
|
|
22
|
+
navAriaLabel?: string;
|
|
23
|
+
/** Texts of the states read after each step name. */
|
|
24
|
+
stateLabels?: FormHelperStateLabels;
|
|
25
|
+
};
|
|
26
|
+
export declare const ListFormHelper: ({ steps, navAriaLabel, stateLabels, className, ...otherProps }: ListFormHelperProps) => import("react").JSX.Element;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
+
import "@axa-fr/canopee-css/distributeur/FormHelper/ListFormHelper.css";
|
|
3
|
+
import { ItemFormHelper, } from "../ItemFormHelper/ItemFormHelper";
|
|
4
|
+
import { getClassName } from "../utilities/helpers/getClassName";
|
|
5
|
+
export const ListFormHelper = ({ steps, navAriaLabel = "étapes du formulaire", stateLabels, className, ...otherProps }) => {
|
|
6
|
+
const currentIndex = steps.findIndex(({ variant }) => variant === "inprogress");
|
|
7
|
+
const hasLinks = steps.some(({ href }) => Boolean(href));
|
|
8
|
+
const list = (_jsx("ol", { className: getClassName({
|
|
9
|
+
baseClassName: "af-list-form-helper",
|
|
10
|
+
className,
|
|
11
|
+
}), ...otherProps, children: steps.map(({ label, variant, href, onClick }, index) => {
|
|
12
|
+
const ariaCurrent = index === currentIndex ? "step" : undefined;
|
|
13
|
+
const item = (_jsx(ItemFormHelper, { variant: variant, label: label, stateLabel: stateLabels?.[variant] }));
|
|
14
|
+
return (_jsx("li", { className: "af-list-form-helper__step", "aria-current": href ? undefined : ariaCurrent, children: href ? (_jsx("a", { className: "af-list-form-helper__link", href: href, onClick: onClick, "aria-current": ariaCurrent, children: item })) : (item) }, href ?? label));
|
|
15
|
+
}) }));
|
|
16
|
+
return hasLinks ? _jsx("nav", { "aria-label": navAriaLabel, children: list }) : list;
|
|
17
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -5,5 +5,5 @@ type HelpProps = Omit<ComponentPropsWithoutRef<typeof Popover>, "popoverElement"
|
|
|
5
5
|
helpButtonContent?: ReactNode;
|
|
6
6
|
variant?: "default" | "inverse";
|
|
7
7
|
};
|
|
8
|
-
export declare const HelpButton: ({ className, children, mode, placement, variant, helpButtonContent, }: HelpProps) => import("react
|
|
8
|
+
export declare const HelpButton: ({ className, children, mode, placement, variant, helpButtonContent, }: HelpProps) => import("react").JSX.Element;
|
|
9
9
|
export {};
|
|
@@ -1,8 +1,22 @@
|
|
|
1
1
|
import "@axa-fr/canopee-css/distributeur/ItemFormHelper/ItemFormHelper.css";
|
|
2
|
+
import type { ComponentPropsWithoutRef } from "react";
|
|
2
3
|
export type ItemFormHelperVariant = "todo" | "inprogress" | "validated";
|
|
3
|
-
export type ItemFormHelperProps = {
|
|
4
|
+
export type ItemFormHelperProps = Omit<ComponentPropsWithoutRef<"span">, "children"> & {
|
|
5
|
+
/**
|
|
6
|
+
* State of the step. Figma "Step state": Todo = `todo`,
|
|
7
|
+
* Active = `inprogress`, Done = `validated`.
|
|
8
|
+
*/
|
|
4
9
|
variant: ItemFormHelperVariant;
|
|
10
|
+
/**
|
|
11
|
+
* Name of the step, e.g. "Informations clients".
|
|
12
|
+
* Without it, the item shows its state (legend usage).
|
|
13
|
+
*/
|
|
5
14
|
label?: string;
|
|
6
|
-
|
|
15
|
+
/**
|
|
16
|
+
* Text of the state. Visible when there is no `label`; otherwise visually
|
|
17
|
+
* hidden and read by screen readers after the label.
|
|
18
|
+
* @default "à compléter" | "en cours" | "validé"
|
|
19
|
+
*/
|
|
20
|
+
stateLabel?: string;
|
|
7
21
|
};
|
|
8
|
-
export declare const ItemFormHelper: ({ variant, label, className, }: ItemFormHelperProps) => import("react
|
|
22
|
+
export declare const ItemFormHelper: ({ variant, label, stateLabel, className, ...otherProps }: ItemFormHelperProps) => import("react").JSX.Element;
|
|
@@ -19,13 +19,13 @@ const variants = {
|
|
|
19
19
|
defaultLabel: "validé",
|
|
20
20
|
},
|
|
21
21
|
};
|
|
22
|
-
export const ItemFormHelper = ({ variant, label, className, }) => {
|
|
22
|
+
export const ItemFormHelper = ({ variant, label, stateLabel, className, ...otherProps }) => {
|
|
23
23
|
const { icon, defaultLabel } = variants[variant];
|
|
24
|
-
const
|
|
24
|
+
const state = stateLabel ?? defaultLabel;
|
|
25
25
|
const componentClassName = getClassName({
|
|
26
26
|
baseClassName: "af-item-form-helper",
|
|
27
27
|
modifiers: [variant],
|
|
28
28
|
className,
|
|
29
29
|
});
|
|
30
|
-
return (_jsxs("
|
|
30
|
+
return (_jsxs("span", { className: componentClassName, ...otherProps, children: [_jsx(Svg, { src: icon, width: 12, height: 12, "aria-hidden": "true" }), _jsx("span", { className: "af-item-form-helper__label", children: label ?? state }), label ? (_jsxs("span", { className: "af-item-form-helper__state", children: [", ", state] })) : null] }));
|
|
31
31
|
};
|
|
@@ -10,7 +10,7 @@ type FooterProps = {
|
|
|
10
10
|
version?: string;
|
|
11
11
|
};
|
|
12
12
|
export declare const Footer: {
|
|
13
|
-
({ className, href, title, icon, alt, version, children, ...props }: PropsWithChildren<FooterProps>): import("react
|
|
13
|
+
({ className, href, title, icon, alt, version, children, ...props }: PropsWithChildren<FooterProps>): import("react").JSX.Element;
|
|
14
14
|
displayName: string;
|
|
15
15
|
};
|
|
16
16
|
export {};
|
|
@@ -36,4 +36,4 @@ export type AnchorNavBarItem = {
|
|
|
36
36
|
export type AnchorNavBarProps = {
|
|
37
37
|
items: AnchorNavBarItem[];
|
|
38
38
|
};
|
|
39
|
-
export declare const AnchorNavBar: ({ items }: AnchorNavBarProps) => import("react
|
|
39
|
+
export declare const AnchorNavBar: ({ items }: AnchorNavBarProps) => import("react").JSX.Element;
|
|
@@ -4,5 +4,5 @@ type Props = {
|
|
|
4
4
|
children: ReactNode;
|
|
5
5
|
className?: string;
|
|
6
6
|
};
|
|
7
|
-
declare const Header: ({ className, children }: Props) => import("react
|
|
7
|
+
declare const Header: ({ className, children }: Props) => import("react").JSX.Element;
|
|
8
8
|
export { Header };
|
|
@@ -12,5 +12,5 @@ type Props = {
|
|
|
12
12
|
toggleMenu?: () => void;
|
|
13
13
|
anchorNavBarItems?: AnchorNavBarItem[];
|
|
14
14
|
};
|
|
15
|
-
declare const HeaderTitle: ({ children, className, isSticky, contentLeft, contentRight, subtitle, title, toggleMenu, anchorNavBarItems, }: Props) => import("react
|
|
15
|
+
declare const HeaderTitle: ({ children, className, isSticky, contentLeft, contentRight, subtitle, title, toggleMenu, anchorNavBarItems, }: Props) => import("react").JSX.Element;
|
|
16
16
|
export { HeaderTitle };
|
|
@@ -9,5 +9,5 @@ type InfosProps = {
|
|
|
9
9
|
className?: string;
|
|
10
10
|
infos: TInfo[];
|
|
11
11
|
};
|
|
12
|
-
declare const Infos: ({ infos, className }: InfosProps) => import("react
|
|
12
|
+
declare const Infos: ({ infos, className }: InfosProps) => import("react").JSX.Element;
|
|
13
13
|
export { Infos };
|
|
@@ -7,5 +7,5 @@ type TMenuTitleWrapperProps = {
|
|
|
7
7
|
title: string;
|
|
8
8
|
navBarProps?: Partial<ComponentProps<typeof NavBar>>;
|
|
9
9
|
};
|
|
10
|
-
declare const MenuTitleWrapper: ({ children, menuVisible, subtitle, title, navBarProps, }: TMenuTitleWrapperProps) => import("react
|
|
10
|
+
declare const MenuTitleWrapper: ({ children, menuVisible, subtitle, title, navBarProps, }: TMenuTitleWrapperProps) => import("react").JSX.Element;
|
|
11
11
|
export { MenuTitleWrapper };
|
|
@@ -11,5 +11,5 @@ type Props = {
|
|
|
11
11
|
subtitle?: string;
|
|
12
12
|
title: string;
|
|
13
13
|
};
|
|
14
|
-
declare const Name: ({ alt, className, img, onClick, subtitle, title, }: Props) => import("react
|
|
14
|
+
declare const Name: ({ alt, className, img, onClick, subtitle, title, }: Props) => import("react").JSX.Element;
|
|
15
15
|
export { Name };
|
|
@@ -8,5 +8,5 @@ type Props = {
|
|
|
8
8
|
children: ReactNode;
|
|
9
9
|
onClick: (event: React.MouseEvent) => void;
|
|
10
10
|
};
|
|
11
|
-
declare const NavBar: ({ positionInit, children, ...otherProps }: Props) =>
|
|
11
|
+
declare const NavBar: ({ positionInit, children, ...otherProps }: Props) => React.JSX.Element;
|
|
12
12
|
export { NavBar };
|
|
@@ -15,5 +15,5 @@ type Props = {
|
|
|
15
15
|
}) => void;
|
|
16
16
|
children?: ReactNode;
|
|
17
17
|
};
|
|
18
|
-
declare const NavBarBase: ({ onClick, id, toggleMenuId, isMenuFocused, className, handleKeys, onFocus, onBlur, children, isVisible, }: Props) => import("react
|
|
18
|
+
declare const NavBarBase: ({ onClick, id, toggleMenuId, isMenuFocused, className, handleKeys, onFocus, onBlur, children, isVisible, }: Props) => import("react").JSX.Element;
|
|
19
19
|
export { NavBarBase };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { type ComponentProps, type ReactElement } from "react";
|
|
1
|
+
import React, { type ComponentProps, type ReactElement } from "react";
|
|
2
2
|
import { NavBarItemBase } from "./NavBarItemBase";
|
|
3
3
|
type ChildrenProps = {
|
|
4
4
|
tabIndex?: number;
|
|
@@ -10,5 +10,5 @@ type Props = Omit<ComponentProps<typeof NavBarItemBase>, "handleKeys" | "isMenuO
|
|
|
10
10
|
children?: ReactElement<ChildrenProps> | ReactElement<ChildrenProps>[];
|
|
11
11
|
active?: boolean;
|
|
12
12
|
};
|
|
13
|
-
declare const NavBarItem: ({ children, hasFocus, actionElt, ariaLabel, tabIndex, role, className, active, ...otherProps }: Props) =>
|
|
13
|
+
declare const NavBarItem: ({ children, hasFocus, actionElt, ariaLabel, tabIndex, role, className, active, ...otherProps }: Props) => React.JSX.Element;
|
|
14
14
|
export { NavBarItem };
|
|
@@ -5,5 +5,5 @@ type Props = HTMLAttributes<HTMLLIElement> & {
|
|
|
5
5
|
hasFocus?: boolean;
|
|
6
6
|
isMenuOpen?: boolean;
|
|
7
7
|
};
|
|
8
|
-
export declare const NavBarItemBase: ({ tabIndex, role, children, hasFocus, handleKeys, isMenuOpen, className, actionElt, ...otherProps }: Props) => import("react
|
|
8
|
+
export declare const NavBarItemBase: ({ tabIndex, role, children, hasFocus, handleKeys, isMenuOpen, className, actionElt, ...otherProps }: Props) => import("react").JSX.Element;
|
|
9
9
|
export {};
|
|
@@ -4,5 +4,5 @@ type Props = AllHTMLAttributes<HTMLAnchorElement> & {
|
|
|
4
4
|
isMenuOpen?: boolean;
|
|
5
5
|
refCallBackFocus: RefObject<HTMLAnchorElement>;
|
|
6
6
|
};
|
|
7
|
-
declare const NavBarItemLink: ({ className, label, href, tabIndex, role, refCallBackFocus, isMenuOpen, ...otherProps }: Props) => import("react
|
|
7
|
+
declare const NavBarItemLink: ({ className, label, href, tabIndex, role, refCallBackFocus, isMenuOpen, ...otherProps }: Props) => import("react").JSX.Element;
|
|
8
8
|
export { NavBarItemLink };
|
|
@@ -47,5 +47,5 @@ type Props = {
|
|
|
47
47
|
*/
|
|
48
48
|
title?: string;
|
|
49
49
|
};
|
|
50
|
-
declare const User: ({ children, className, href, name, path, profile, onClick, title, }: Props) => import("react
|
|
50
|
+
declare const User: ({ children, className, href, name, path, profile, onClick, title, }: Props) => import("react").JSX.Element;
|
|
51
51
|
export { User };
|
|
@@ -2,5 +2,5 @@ import type { ComponentPropsWithoutRef, PropsWithChildren } from "react";
|
|
|
2
2
|
import "@axa-fr/canopee-css/distributeur/common/breakpoints.css";
|
|
3
3
|
import "@axa-fr/canopee-css/distributeur/MainContainer/MainContainer.css";
|
|
4
4
|
type MainContainerProps = ComponentPropsWithoutRef<"main"> & PropsWithChildren;
|
|
5
|
-
export declare const MainContainer: ({ children, ...othersProps }: MainContainerProps) => import("react
|
|
5
|
+
export declare const MainContainer: ({ children, ...othersProps }: MainContainerProps) => import("react").JSX.Element;
|
|
6
6
|
export {};
|
|
@@ -3,6 +3,6 @@ import { type CustomLinkProps } from "./CustomLink";
|
|
|
3
3
|
import { type LinkComponentProps } from "./LinkAnchor";
|
|
4
4
|
export type LinkProps = LinkComponentProps | CustomLinkProps;
|
|
5
5
|
export declare const Link: {
|
|
6
|
-
({ ...props }: LinkProps): import("react
|
|
6
|
+
({ ...props }: LinkProps): import("react").JSX.Element;
|
|
7
7
|
displayName: string;
|
|
8
8
|
};
|
|
@@ -7,7 +7,7 @@ type AnchorLinkProps = ClickableComponentProps & {
|
|
|
7
7
|
};
|
|
8
8
|
type LinkComponentProps = AnchorHTMLAttributes<HTMLAnchorElement> & AnchorLinkProps;
|
|
9
9
|
declare const LinkAnchor: {
|
|
10
|
-
({ className, target, rel, leftIcon, children, rightIcon, disabled, variant, ...restProps }: LinkComponentProps): import("react
|
|
10
|
+
({ className, target, rel, leftIcon, children, rightIcon, disabled, variant, ...restProps }: LinkComponentProps): import("react").JSX.Element;
|
|
11
11
|
displayName: string;
|
|
12
12
|
};
|
|
13
13
|
export { LinkAnchor, type LinkComponentProps };
|
|
@@ -7,4 +7,4 @@ export type LoaderProps = {
|
|
|
7
7
|
variant?: ItemLoaderVariant;
|
|
8
8
|
children?: ReactNode;
|
|
9
9
|
};
|
|
10
|
-
export declare const Loader: ({ className, text, variant, children, }: LoaderProps) => import("react
|
|
10
|
+
export declare const Loader: ({ className, text, variant, children, }: LoaderProps) => import("react").JSX.Element;
|
|
@@ -12,4 +12,4 @@ export type LoaderMode = "none" | "get" | "post" | "delete" | "update" | "error"
|
|
|
12
12
|
/**
|
|
13
13
|
* @deprecated Use `Loader` with `variant="fullscreen"` instead.
|
|
14
14
|
*/
|
|
15
|
-
export declare const SquareLoader: ({ className, text, children, classModifier, mode, }: SquareLoaderProps) => import("react
|
|
15
|
+
export declare const SquareLoader: ({ className, text, children, classModifier, mode, }: SquareLoaderProps) => import("react").JSX.Element;
|
|
@@ -8,5 +8,5 @@ type MandatoryMentionProps = {
|
|
|
8
8
|
variant: MandatoryVariant;
|
|
9
9
|
id?: string;
|
|
10
10
|
};
|
|
11
|
-
export declare const MandatoryMention: ({ variant, id }: MandatoryMentionProps) => import("react
|
|
11
|
+
export declare const MandatoryMention: ({ variant, id }: MandatoryMentionProps) => import("react").JSX.Element;
|
|
12
12
|
export {};
|
|
@@ -40,4 +40,4 @@ export type MessageProps = {
|
|
|
40
40
|
*/
|
|
41
41
|
closeButtonAriaLabel?: string;
|
|
42
42
|
};
|
|
43
|
-
export declare const Message: ({ className, onClose, icon, title, children, variant, closeButtonAriaLabel, }: PropsWithChildren<MessageProps>) => import("react
|
|
43
|
+
export declare const Message: ({ className, onClose, icon, title, children, variant, closeButtonAriaLabel, }: PropsWithChildren<MessageProps>) => import("react").JSX.Element;
|
|
@@ -32,7 +32,7 @@ export type BooleanModalProps = React.DetailedHTMLProps<React.DialogHTMLAttribut
|
|
|
32
32
|
className?: string;
|
|
33
33
|
};
|
|
34
34
|
declare const BooleanModal: {
|
|
35
|
-
({ children, title, submitTitle, cancelTitle, className, onCancel, onSubmit, closeButtonAriaLabel, ...props }: BooleanModalProps):
|
|
35
|
+
({ children, title, submitTitle, cancelTitle, className, onCancel, onSubmit, closeButtonAriaLabel, ...props }: BooleanModalProps): React.JSX.Element;
|
|
36
36
|
displayName: string;
|
|
37
37
|
};
|
|
38
38
|
export { BooleanModal };
|
|
@@ -17,7 +17,7 @@ export type ModalProps = React.DetailedHTMLProps<React.DialogHTMLAttributes<HTML
|
|
|
17
17
|
ref?: React.Ref<HTMLDialogElement>;
|
|
18
18
|
};
|
|
19
19
|
declare const Modal: {
|
|
20
|
-
({ className, title, onOutsideTap, children, size, ...props }: ModalProps): import("react
|
|
20
|
+
({ className, title, onOutsideTap, children, size, ...props }: ModalProps): import("react").JSX.Element;
|
|
21
21
|
displayName: string;
|
|
22
22
|
};
|
|
23
23
|
export { Modal };
|
|
@@ -7,9 +7,7 @@ const Modal = ({ className, title = "", onOutsideTap, children, size, ...props }
|
|
|
7
7
|
modifiers: [size],
|
|
8
8
|
className,
|
|
9
9
|
});
|
|
10
|
-
return (
|
|
11
|
-
// eslint-disable-next-line jsx-a11y/no-noninteractive-element-interactions, jsx-a11y/click-events-have-key-events
|
|
12
|
-
_jsx("dialog", { "aria-label": title, className: componentClassName, onClick: onOutsideTap, ...props, children: _jsx("div", { className: "af-modal__dialog", onClick: (event) => event.stopPropagation(), children: _jsx("div", { className: "af-modal__content", children: children }) }) }));
|
|
10
|
+
return (_jsx("dialog", { "aria-label": title, className: componentClassName, onClick: onOutsideTap, ...props, children: _jsx("div", { className: "af-modal__dialog", onClick: (event) => event.stopPropagation(), children: _jsx("div", { className: "af-modal__content", children: children }) }) }));
|
|
13
11
|
};
|
|
14
12
|
Modal.displayName = "Modal";
|
|
15
13
|
export { Modal };
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
export type BodyProps = React.HTMLAttributes<HTMLDivElement> & {};
|
|
2
|
-
declare const Body: ({ children, className, ...otherProps }: BodyProps) => import("react
|
|
2
|
+
declare const Body: ({ children, className, ...otherProps }: BodyProps) => import("react").JSX.Element;
|
|
3
3
|
export { Body };
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
export type FooterProps = React.HTMLAttributes<HTMLDivElement> & {};
|
|
2
|
-
declare const Footer: ({ className, ...rest }: FooterProps) => import("react
|
|
2
|
+
declare const Footer: ({ className, ...rest }: FooterProps) => import("react").JSX.Element;
|
|
3
3
|
export { Footer };
|
|
@@ -17,5 +17,5 @@ export type HeaderProps = React.HTMLAttributes<HTMLDivElement> & {
|
|
|
17
17
|
*/
|
|
18
18
|
className?: string;
|
|
19
19
|
};
|
|
20
|
-
declare const Header: ({ className, closeButtonAriaLabel, onCancel, children, ...props }: HeaderProps) => import("react
|
|
20
|
+
declare const Header: ({ className, closeButtonAriaLabel, onCancel, children, ...props }: HeaderProps) => import("react").JSX.Element;
|
|
21
21
|
export { Header };
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
export type HeaderBaseProps = React.HTMLAttributes<HTMLDivElement> & {};
|
|
2
|
-
declare const HeaderBase: ({ className, ...rest }: HeaderBaseProps) => import("react
|
|
2
|
+
declare const HeaderBase: ({ className, ...rest }: HeaderBaseProps) => import("react").JSX.Element;
|
|
3
3
|
export { HeaderBase };
|
|
@@ -9,5 +9,5 @@ type PropsAnimatedPopover = {
|
|
|
9
9
|
onMouseEnter?: (event: React.MouseEvent) => void;
|
|
10
10
|
onMouseLeave?: (event: React.MouseEvent) => void;
|
|
11
11
|
};
|
|
12
|
-
export declare const AnimatedPopover: ({ placement, children, isOpen, target, className, onMouseEnter, onMouseLeave, }: PropsAnimatedPopover) =>
|
|
12
|
+
export declare const AnimatedPopover: ({ placement, children, isOpen, target, className, onMouseEnter, onMouseLeave, }: PropsAnimatedPopover) => React.JSX.Element;
|
|
13
13
|
export {};
|
|
@@ -8,5 +8,5 @@ type Props = {
|
|
|
8
8
|
popoverElement: React.ReactNode;
|
|
9
9
|
children: React.ReactNode;
|
|
10
10
|
};
|
|
11
|
-
declare const Popover: ({ children, placement, className, mode, popoverElement: content, }: Props) =>
|
|
11
|
+
declare const Popover: ({ children, placement, className, mode, popoverElement: content, }: Props) => React.JSX.Element;
|
|
12
12
|
export { Popover };
|
|
@@ -10,5 +10,5 @@ type Props = {
|
|
|
10
10
|
onMouseEnter?: (event: React.MouseEvent) => void;
|
|
11
11
|
onMouseLeave?: (event: React.MouseEvent) => void;
|
|
12
12
|
};
|
|
13
|
-
declare const PopoverBase: ({ children, isOpen, placement, className, element, onMouseEnter, onMouseLeave, }: Props) =>
|
|
13
|
+
declare const PopoverBase: ({ children, isOpen, placement, className, element, onMouseEnter, onMouseLeave, }: Props) => React.JSX.Element;
|
|
14
14
|
export { PopoverBase };
|
|
@@ -1,2 +1,3 @@
|
|
|
1
|
+
import React from "react";
|
|
1
2
|
import type { PopoverProps } from "./Popover.types";
|
|
2
|
-
export declare const PopoverClick: ({ children, placement, className, element, }: PopoverProps) =>
|
|
3
|
+
export declare const PopoverClick: ({ children, placement, className, element, }: PopoverProps) => React.JSX.Element;
|
|
@@ -1,2 +1,3 @@
|
|
|
1
|
+
import React from "react";
|
|
1
2
|
import type { PopoverProps } from "./Popover.types";
|
|
2
|
-
export declare const PopoverOver: ({ children, placement, className, element: content, }: PopoverProps) =>
|
|
3
|
+
export declare const PopoverOver: ({ children, placement, className, element: content, }: PopoverProps) => React.JSX.Element;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import type { ComponentPropsWithoutRef, PropsWithChildren } from "react";
|
|
2
2
|
type ArticleRestitutionProps = ComponentPropsWithoutRef<"article"> & {};
|
|
3
|
-
export declare const ArticleRestitution: ({ children, className, ...otherProps }: PropsWithChildren<ArticleRestitutionProps>) => import("react
|
|
3
|
+
export declare const ArticleRestitution: ({ children, className, ...otherProps }: PropsWithChildren<ArticleRestitutionProps>) => import("react").JSX.Element;
|
|
4
4
|
export {};
|
|
@@ -5,4 +5,4 @@ export type HeaderRestitutionProps = {
|
|
|
5
5
|
subtitle?: React.ReactNode;
|
|
6
6
|
rightTitle?: React.ReactNode;
|
|
7
7
|
};
|
|
8
|
-
export declare const HeaderRestitution: ({ title, subtitle, rightTitle, className, }: HeaderRestitutionProps) =>
|
|
8
|
+
export declare const HeaderRestitution: ({ title, subtitle, rightTitle, className, }: HeaderRestitutionProps) => React.JSX.Element;
|
|
@@ -3,4 +3,4 @@ export type RestitutionProps = ComponentPropsWithoutRef<"dl"> & {
|
|
|
3
3
|
label: string;
|
|
4
4
|
variant?: "marge";
|
|
5
5
|
};
|
|
6
|
-
export declare const Restitution: ({ label, children, className, variant, }: PropsWithChildren<RestitutionProps>) => import("react
|
|
6
|
+
export declare const Restitution: ({ label, children, className, variant, }: PropsWithChildren<RestitutionProps>) => import("react").JSX.Element;
|