@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
|
@@ -6,6 +6,6 @@ export { ModalCoreFooter } from "./components/ModalCoreFooterApollo";
|
|
|
6
6
|
export { ModalCoreHeader } from "./components/ModalCoreHeaderApollo";
|
|
7
7
|
export type { ModalCoreFooterProps, ModalCoreHeaderProps, ModalProps, } from "./types";
|
|
8
8
|
export declare const Modal: {
|
|
9
|
-
({ headingProps, ...props }: ModalProps): import("react
|
|
9
|
+
({ headingProps, ...props }: ModalProps): import("react").JSX.Element;
|
|
10
10
|
displayName: string;
|
|
11
11
|
};
|
|
@@ -8,6 +8,6 @@ export type ModalCommonProps = ModalCoreProps & Omit<ModalCoreHeaderCommonProps,
|
|
|
8
8
|
modalCoreHeaderProps?: ModalCoreHeaderContainerProps;
|
|
9
9
|
};
|
|
10
10
|
export declare const ModalCommon: {
|
|
11
|
-
({ children, headingComponent, headingProps, closeButtonAriaLabel, onClose, primaryButtonProps, secondaryButtonProps, tertiaryButtonProps, buttonComponent, modalCoreBodyProps, modalCoreFooterProps, modalCoreHeaderProps, ...props }: ModalCommonProps): import("react
|
|
11
|
+
({ children, headingComponent, headingProps, closeButtonAriaLabel, onClose, primaryButtonProps, secondaryButtonProps, tertiaryButtonProps, buttonComponent, modalCoreBodyProps, modalCoreFooterProps, modalCoreHeaderProps, ...props }: ModalCommonProps): import("react").JSX.Element;
|
|
12
12
|
displayName: string;
|
|
13
13
|
};
|
|
@@ -6,6 +6,6 @@ export { ModalCoreFooter } from "./components/ModalCoreFooterLF";
|
|
|
6
6
|
export { ModalCoreHeader } from "./components/ModalCoreHeaderLF";
|
|
7
7
|
export type { ModalCoreFooterProps, ModalCoreHeaderProps, ModalProps, } from "./types";
|
|
8
8
|
export declare const Modal: {
|
|
9
|
-
({ headingProps, ...props }: ModalProps): import("react
|
|
9
|
+
({ headingProps, ...props }: ModalProps): import("react").JSX.Element;
|
|
10
10
|
displayName: string;
|
|
11
11
|
};
|
|
@@ -3,7 +3,7 @@ export type ModalCoreProps = Omit<ComponentPropsWithRef<"dialog">, "title" | "on
|
|
|
3
3
|
onClose?: VoidFunction;
|
|
4
4
|
};
|
|
5
5
|
declare const ModalCore: {
|
|
6
|
-
({ className, children, ...props }: ModalCoreProps): import("react
|
|
6
|
+
({ className, children, ...props }: ModalCoreProps): import("react").JSX.Element;
|
|
7
7
|
displayName: string;
|
|
8
8
|
};
|
|
9
9
|
export { ModalCore };
|
|
@@ -1,7 +1,5 @@
|
|
|
1
1
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
2
|
import {} from "react";
|
|
3
|
-
const ModalCore = ({ className, children, ...props }) => (
|
|
4
|
-
// eslint-disable-next-line jsx-a11y/no-noninteractive-element-interactions, jsx-a11y/click-events-have-key-events
|
|
5
|
-
_jsx("dialog", { "aria-modal": true, "aria-label": props["aria-label"] ?? props.title, className: ["af-modal", className].filter(Boolean).join(" "), onClick: props.onClose, ...props, children: _jsx("section", { className: "af-modal__content", onClick: (e) => e.stopPropagation(), children: children }) }));
|
|
3
|
+
const ModalCore = ({ className, children, ...props }) => (_jsx("dialog", { "aria-modal": true, "aria-label": props["aria-label"] ?? props.title, className: ["af-modal", className].filter(Boolean).join(" "), onClick: props.onClose, ...props, children: _jsx("section", { className: "af-modal__content", onClick: (e) => e.stopPropagation(), children: children }) }));
|
|
6
4
|
ModalCore.displayName = "ModalCore";
|
|
7
5
|
export { ModalCore };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
export type ModalCoreBodyProps = React.ComponentPropsWithoutRef<"main">;
|
|
2
|
-
export declare const ModalCoreBody: ({ children, className, ...otherProps }: ModalCoreBodyProps) => import("react
|
|
2
|
+
export declare const ModalCoreBody: ({ children, className, ...otherProps }: ModalCoreBodyProps) => import("react").JSX.Element;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import type { ModalCoreFooterProps } from "../types";
|
|
2
|
-
export declare const ModalCoreFooter: (args: ModalCoreFooterProps) => import("react
|
|
2
|
+
export declare const ModalCoreFooter: (args: ModalCoreFooterProps) => import("react").JSX.Element;
|
|
@@ -7,4 +7,4 @@ export type ModalCoreFooterCommonProps = ModalCoreFooterContainerProps & {
|
|
|
7
7
|
secondaryButtonProps?: Partial<ButtonProps>;
|
|
8
8
|
tertiaryButtonProps?: Partial<ButtonProps>;
|
|
9
9
|
};
|
|
10
|
-
export declare const ModalCoreFooterCommon: ({ className, buttonComponent: ButtonComponent, primaryButtonProps, secondaryButtonProps, tertiaryButtonProps, ...rest }: ModalCoreFooterCommonProps) => import("react
|
|
10
|
+
export declare const ModalCoreFooterCommon: ({ className, buttonComponent: ButtonComponent, primaryButtonProps, secondaryButtonProps, tertiaryButtonProps, ...rest }: ModalCoreFooterCommonProps) => import("react").JSX.Element | undefined;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import type { ModalCoreFooterProps } from "../types";
|
|
2
|
-
export declare const ModalCoreFooter: (args: ModalCoreFooterProps) => import("react
|
|
2
|
+
export declare const ModalCoreFooter: (args: ModalCoreFooterProps) => import("react").JSX.Element;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import type { ModalCoreHeaderProps } from "../types";
|
|
2
|
-
export declare const ModalCoreHeader: (args: ModalCoreHeaderProps) => import("react
|
|
2
|
+
export declare const ModalCoreHeader: (args: ModalCoreHeaderProps) => import("react").JSX.Element;
|
|
@@ -7,4 +7,4 @@ export type ModalCoreHeaderCommonProps = ModalCoreHeaderContainerProps & {
|
|
|
7
7
|
onClose?: VoidFunction;
|
|
8
8
|
closeButtonAriaLabel?: string;
|
|
9
9
|
};
|
|
10
|
-
export declare const ModalCoreHeaderCommon: (props: ModalCoreHeaderCommonProps) => import("react
|
|
10
|
+
export declare const ModalCoreHeaderCommon: (props: ModalCoreHeaderCommonProps) => import("react").JSX.Element;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import type { ModalCoreHeaderProps } from "../types";
|
|
2
|
-
export declare const ModalCoreHeader: (args: ModalCoreHeaderProps) => import("react
|
|
2
|
+
export declare const ModalCoreHeader: (args: ModalCoreHeaderProps) => import("react").JSX.Element;
|
|
@@ -3,4 +3,4 @@ import { type MultiMessageProps } from "./MultiMessageCommon";
|
|
|
3
3
|
export { messageVariants, type MessageVariants, } from "../Message/MessageApollo";
|
|
4
4
|
export type { MultiMessageProps } from "./MultiMessageCommon";
|
|
5
5
|
export type { MultiMessageItem } from "./types";
|
|
6
|
-
export declare const MultiMessage: (props: MultiMessageProps) => import("react
|
|
6
|
+
export declare const MultiMessage: (props: MultiMessageProps) => import("react").JSX.Element;
|
|
@@ -29,5 +29,5 @@ type MultiMessageCommonProps = MultiMessageProps & {
|
|
|
29
29
|
MessageComponent: ComponentType<MessageProps>;
|
|
30
30
|
PaginationComponent: ComponentType<PaginationProps>;
|
|
31
31
|
};
|
|
32
|
-
export declare const MultiMessageCommon: ({ items, activeIndex, defaultActiveIndex, onChangeActive, iconSize, heading: Heading, prevLabel, nextLabel, prevButtonProps, nextButtonProps, className, MessageComponent, PaginationComponent, ...sectionProps }: MultiMessageCommonProps) => import("react
|
|
32
|
+
export declare const MultiMessageCommon: ({ items, activeIndex, defaultActiveIndex, onChangeActive, iconSize, heading: Heading, prevLabel, nextLabel, prevButtonProps, nextButtonProps, className, MessageComponent, PaginationComponent, ...sectionProps }: MultiMessageCommonProps) => import("react").JSX.Element | null;
|
|
33
33
|
export {};
|
|
@@ -13,5 +13,5 @@ type MultiMessageFooterProps = {
|
|
|
13
13
|
prevLabel: string;
|
|
14
14
|
total: number;
|
|
15
15
|
};
|
|
16
|
-
export declare const MultiMessageFooter: ({ action, currentIndex, hasMultiple, nextButtonProps, nextLabel, onChangePage, PaginationComponent, prevButtonProps, prevLabel, total, }: MultiMessageFooterProps) => import("react
|
|
16
|
+
export declare const MultiMessageFooter: ({ action, currentIndex, hasMultiple, nextButtonProps, nextLabel, onChangePage, PaginationComponent, prevButtonProps, prevLabel, total, }: MultiMessageFooterProps) => import("react").JSX.Element | null;
|
|
17
17
|
export {};
|
|
@@ -3,4 +3,4 @@ import { type MultiMessageProps } from "./MultiMessageCommon";
|
|
|
3
3
|
export { messageVariants, type MessageVariants } from "../Message/MessageLF";
|
|
4
4
|
export type { MultiMessageProps } from "./MultiMessageCommon";
|
|
5
5
|
export type { MultiMessageItem } from "./types";
|
|
6
|
-
export declare const MultiMessage: (props: MultiMessageProps) => import("react
|
|
6
|
+
export declare const MultiMessage: (props: MultiMessageProps) => import("react").JSX.Element;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import "@axa-fr/canopee-css/prospect/Pagination/ItemPagination/ItemPaginationApollo.css";
|
|
2
2
|
export { type ItemPaginationCommonProps as ItemPaginationProps } from "./ItemPaginationCommon";
|
|
3
|
-
export declare const ItemPagination: <T extends import("react").ElementType = "a">({ as, page, isCurrentPage, className, ...props }: import("./ItemPaginationCommon").ItemPaginationCommonProps<T>) => import("react
|
|
3
|
+
export declare const ItemPagination: <T extends import("react").ElementType = "a">({ as, page, isCurrentPage, className, ...props }: import("./ItemPaginationCommon").ItemPaginationCommonProps<T>) => import("react").JSX.Element;
|
|
@@ -6,5 +6,5 @@ type ItemPaginationCustomProps = {
|
|
|
6
6
|
isCurrentPage: boolean;
|
|
7
7
|
};
|
|
8
8
|
export type ItemPaginationCommonProps<T extends ElementType> = PolymorphicComponent<T, ItemPaginationCustomProps>;
|
|
9
|
-
export declare const ItemPaginationCommon: <T extends ElementType = "a">({ as, page, isCurrentPage, className, ...props }: ItemPaginationCommonProps<T>) => import("react
|
|
9
|
+
export declare const ItemPaginationCommon: <T extends ElementType = "a">({ as, page, isCurrentPage, className, ...props }: ItemPaginationCommonProps<T>) => import("react").JSX.Element;
|
|
10
10
|
export {};
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import "@axa-fr/canopee-css/client/Pagination/ItemPagination/ItemPaginationLF.css";
|
|
2
2
|
export { type ItemPaginationCommonProps as ItemPaginationProps } from "./ItemPaginationCommon";
|
|
3
|
-
export declare const ItemPagination: <T extends import("react").ElementType = "a">({ as, page, isCurrentPage, className, ...props }: import("./ItemPaginationCommon").ItemPaginationCommonProps<T>) => import("react
|
|
3
|
+
export declare const ItemPagination: <T extends import("react").ElementType = "a">({ as, page, isCurrentPage, className, ...props }: import("./ItemPaginationCommon").ItemPaginationCommonProps<T>) => import("react").JSX.Element;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import "@axa-fr/canopee-css/prospect/Pagination/PaginationApollo.css";
|
|
2
2
|
import { type PaginationProps } from "./PaginationCommon";
|
|
3
3
|
export { type PaginationProps } from "./PaginationCommon";
|
|
4
|
-
export declare const Pagination: (props: PaginationProps) => import("react
|
|
4
|
+
export declare const Pagination: (props: PaginationProps) => import("react").JSX.Element;
|
|
@@ -10,5 +10,5 @@ export type PaginationProps = getItemsProps & ComponentPropsWithoutRef<"nav"> &
|
|
|
10
10
|
type PaginationCommonProps = PaginationProps & {
|
|
11
11
|
ItemPaginationComponent: ComponentType<ComponentProps<typeof ItemPaginationCommon>>;
|
|
12
12
|
};
|
|
13
|
-
export declare const PaginationCommon: ({ numberPages, onChangePage, className, currentPage, asItem, hidePrevNext, "aria-label": ariaLabel, ItemPaginationComponent, prevButtonProps, nextButtonProps, }: PaginationCommonProps) => import("react
|
|
13
|
+
export declare const PaginationCommon: ({ numberPages, onChangePage, className, currentPage, asItem, hidePrevNext, "aria-label": ariaLabel, ItemPaginationComponent, prevButtonProps, nextButtonProps, }: PaginationCommonProps) => import("react").JSX.Element;
|
|
14
14
|
export {};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import "@axa-fr/canopee-css/client/Pagination/PaginationLF.css";
|
|
2
2
|
import { type PaginationProps } from "./PaginationCommon";
|
|
3
3
|
export { type PaginationProps } from "./PaginationCommon";
|
|
4
|
-
export declare const Pagination: (props: PaginationProps) => import("react
|
|
4
|
+
export declare const Pagination: (props: PaginationProps) => import("react").JSX.Element;
|
|
@@ -4,7 +4,7 @@ type ProgressBarProps = ComponentProps<"progress"> & {
|
|
|
4
4
|
showPercentage?: boolean;
|
|
5
5
|
};
|
|
6
6
|
export declare const ProgressBar: {
|
|
7
|
-
({ id, label, showPercentage, className, ...props }: ProgressBarProps): import("react
|
|
7
|
+
({ id, label, showPercentage, className, ...props }: ProgressBarProps): import("react").JSX.Element;
|
|
8
8
|
displayName: string;
|
|
9
9
|
};
|
|
10
10
|
export {};
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import "@axa-fr/canopee-css/prospect/ProgressBarGroup/ProgressBarGroupApollo.css";
|
|
2
2
|
import { type ProgressBarGroupProps } from "./ProgressBarGroupCommon";
|
|
3
|
-
export declare const ProgressBarGroup: (props: ProgressBarGroupProps) => import("react
|
|
3
|
+
export declare const ProgressBarGroup: (props: ProgressBarGroupProps) => import("react").JSX.Element;
|
|
@@ -10,5 +10,5 @@ export type ProgressBarGroupProps = {
|
|
|
10
10
|
type ProgressBarGroupCommonProps = ProgressBarGroupProps & {
|
|
11
11
|
ProgressBarComponent: ComponentType<ComponentProps<typeof ProgressBar>>;
|
|
12
12
|
};
|
|
13
|
-
export declare const ProgressBarGroupCommon: ({ currentStepProgress, max, stepsCount, currentStep, className, ProgressBarComponent, ...props }: ProgressBarGroupCommonProps) => import("react
|
|
13
|
+
export declare const ProgressBarGroupCommon: ({ currentStepProgress, max, stepsCount, currentStep, className, ProgressBarComponent, ...props }: ProgressBarGroupCommonProps) => import("react").JSX.Element;
|
|
14
14
|
export {};
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import "@axa-fr/canopee-css/client/ProgressBarGroup/ProgressBarGroupLF.css";
|
|
2
2
|
import { type ProgressBarGroupProps } from "./ProgressBarGroupCommon";
|
|
3
|
-
export declare const ProgressBarGroup: (props: ProgressBarGroupProps) => import("react
|
|
3
|
+
export declare const ProgressBarGroup: (props: ProgressBarGroupProps) => import("react").JSX.Element;
|
|
@@ -57,5 +57,5 @@ export type SkeletonProps = SkeletonSharedProps & (SkeletonCircleProps | Skeleto
|
|
|
57
57
|
* @param {string} [props.className] - Additional CSS class applied to the skeleton.
|
|
58
58
|
* @returns {JSX.Element} The rendered Skeleton component.
|
|
59
59
|
*/
|
|
60
|
-
export declare const Skeleton: ({ className, colSize, rowSize, size, variant, style, ...props }: SkeletonProps) => import("react
|
|
60
|
+
export declare const Skeleton: ({ className, colSize, rowSize, size, variant, style, ...props }: SkeletonProps) => import("react").JSX.Element;
|
|
61
61
|
export {};
|
|
@@ -47,5 +47,5 @@ export type SkeletonGridProps = {
|
|
|
47
47
|
* @param {boolean} [props.aria-busy=true] - Announces the loading region as busy to assistive technologies.
|
|
48
48
|
* @returns {JSX.Element | ReactNode} The rendered skeleton grid or the fallback children.
|
|
49
49
|
*/
|
|
50
|
-
export declare const SkeletonGrid: ({ className, grid, "aria-busy": ariaBusy, "aria-label": ariaLabel, maxCols, colGap, rowGap, isLoading, children, }: SkeletonGridProps) => string | number | bigint | boolean | import("react
|
|
50
|
+
export declare const SkeletonGrid: ({ className, grid, "aria-busy": ariaBusy, "aria-label": ariaLabel, maxCols, colGap, rowGap, isLoading, children, }: SkeletonGridProps) => string | number | bigint | boolean | import("react").JSX.Element | Iterable<ReactNode> | Promise<string | number | bigint | boolean | import("react").ReactPortal | import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>> | Iterable<ReactNode> | null | undefined> | null | undefined;
|
|
51
51
|
export {};
|
|
@@ -7,4 +7,4 @@ export { type SkeletonListProps } from "./SkeletonListCommon";
|
|
|
7
7
|
* @param {SkeletonListProps} props - SkeletonList props.
|
|
8
8
|
* @returns {JSX.Element | ReactNode[]} The rendered Apollo-themed SkeletonList.
|
|
9
9
|
*/
|
|
10
|
-
export declare const SkeletonList: (props: SkeletonListProps) => import("react
|
|
10
|
+
export declare const SkeletonList: (props: SkeletonListProps) => import("react").JSX.Element;
|
|
@@ -30,5 +30,5 @@ type SkeletonListPropsCommon = SkeletonListProps & {
|
|
|
30
30
|
* @param {ComponentType<ListProps>} props.ListComponent - Theme-specific list component used to wrap each skeleton block.
|
|
31
31
|
* @returns {JSX.Element | ReactNode[]} The rendered skeleton list or the fallback children.
|
|
32
32
|
*/
|
|
33
|
-
export declare const SkeletonListCommon: ({ children, isLoading, lists, className, ListComponent, }: SkeletonListPropsCommon) => string | number | bigint | boolean | import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>> | 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> | import("react
|
|
33
|
+
export declare const SkeletonListCommon: ({ children, isLoading, lists, className, ListComponent, }: SkeletonListPropsCommon) => string | number | bigint | boolean | import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>> | 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> | import("react").JSX.Element[] | null | undefined;
|
|
34
34
|
export {};
|
|
@@ -7,4 +7,4 @@ export { type SkeletonListProps } from "./SkeletonListCommon";
|
|
|
7
7
|
* @param {SkeletonListProps} props - SkeletonList props.
|
|
8
8
|
* @returns {JSX.Element | ReactNode[]} The rendered Look and Feel SkeletonList.
|
|
9
9
|
*/
|
|
10
|
-
export declare const SkeletonList: (props: SkeletonListProps) => import("react
|
|
10
|
+
export declare const SkeletonList: (props: SkeletonListProps) => import("react").JSX.Element;
|
|
@@ -11,7 +11,7 @@ export type SpinnerProps = {
|
|
|
11
11
|
text?: string;
|
|
12
12
|
} & ComponentPropsWithoutRef<"div">;
|
|
13
13
|
declare const Spinner: {
|
|
14
|
-
({ size, variant, text, className, ...props }: SpinnerProps): import("react
|
|
14
|
+
({ size, variant, text, className, ...props }: SpinnerProps): import("react").JSX.Element;
|
|
15
15
|
displayName: string;
|
|
16
16
|
};
|
|
17
17
|
export { Spinner };
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import "@axa-fr/canopee-css/prospect/Stepper/StepperApollo.css";
|
|
2
2
|
import { type StepperProps } from "./StepperCommon";
|
|
3
|
-
export declare const Stepper: (props: StepperProps) => import("react
|
|
3
|
+
export declare const Stepper: (props: StepperProps) => import("react").JSX.Element;
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import { type ComponentType, type HTMLAttributes, type ReactNode } from "react";
|
|
2
2
|
import { type ItemMessageProps } from "../Form/ItemMessage/ItemMessage";
|
|
3
|
-
import { type ProgressBarGroupProps } from "../ProgressBarGroup/ProgressBarGroupCommon";
|
|
4
3
|
import type { HeadingCommonProps } from "../Heading/HeadingCommon";
|
|
5
4
|
import type { HeadingLevel } from "../Heading/types";
|
|
5
|
+
import { type ProgressBarGroupProps } from "../ProgressBarGroup/ProgressBarGroupCommon";
|
|
6
6
|
export type StepperProps = {
|
|
7
7
|
currentStepProgress?: number;
|
|
8
8
|
currentStep: number;
|
|
9
9
|
currentSubtitle?: ReactNode;
|
|
10
10
|
currentTitle?: ReactNode;
|
|
11
11
|
nbSteps?: 2 | 3 | 4 | 5 | 6 | 7 | 8;
|
|
12
|
-
helper?:
|
|
12
|
+
helper?: ReactNode;
|
|
13
13
|
icon?: string;
|
|
14
14
|
iconProps?: HeadingCommonProps["iconProps"];
|
|
15
15
|
message?: string;
|
|
@@ -21,4 +21,4 @@ export type StepperCommonProps = StepperProps & {
|
|
|
21
21
|
HeadingComponent: ComponentType<HeadingCommonProps>;
|
|
22
22
|
ItemMessageComponent: ComponentType<ItemMessageProps>;
|
|
23
23
|
};
|
|
24
|
-
export declare const StepperCommon: ({ currentStepProgress, currentTitle, nbSteps, currentStep, currentSubtitle, className, ProgressBarGroupComponent, HeadingComponent, ItemMessageComponent, helper, icon, iconProps, message, messageType, titleLevel, ...props }: StepperCommonProps) => import("react
|
|
24
|
+
export declare const StepperCommon: ({ currentStepProgress, currentTitle, nbSteps, currentStep, currentSubtitle, className, ProgressBarGroupComponent, HeadingComponent, ItemMessageComponent, helper, icon, iconProps, message, messageType, titleLevel, ...props }: StepperCommonProps) => import("react").JSX.Element;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import "@axa-fr/canopee-css/client/Stepper/StepperLF.css";
|
|
2
2
|
import { type StepperProps } from "./StepperCommon";
|
|
3
|
-
export declare const Stepper: (props: StepperProps) => import("react
|
|
3
|
+
export declare const Stepper: (props: StepperProps) => import("react").JSX.Element;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import "@axa-fr/canopee-css/prospect/Svg/Svg.css";
|
|
2
|
-
import { type SVGAttributes } from "react";
|
|
2
|
+
import React, { type SVGAttributes } from "react";
|
|
3
3
|
type SvgProps = SVGAttributes<SVGSVGElement> & {
|
|
4
4
|
src: string;
|
|
5
5
|
alt?: string;
|
|
@@ -7,5 +7,5 @@ type SvgProps = SVGAttributes<SVGSVGElement> & {
|
|
|
7
7
|
/**
|
|
8
8
|
* @deprecated Use Icon instead
|
|
9
9
|
*/
|
|
10
|
-
export declare const Svg: ({ className, src, alt, width, height, ...props }: SvgProps) =>
|
|
10
|
+
export declare const Svg: ({ className, src, alt, width, height, ...props }: SvgProps) => React.JSX.Element | null;
|
|
11
11
|
export {};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import "@axa-fr/canopee-css/prospect/TabBar/TabBarApollo.css";
|
|
2
2
|
import { type TabBarProps } from "./TabBarCommon";
|
|
3
3
|
export { tabBarDirection, type TabBarProps, type TabBarDirection, } from "./TabBarCommon";
|
|
4
|
-
export declare const TabBar: (props: TabBarProps) => import("react
|
|
4
|
+
export declare const TabBar: (props: TabBarProps) => import("react").JSX.Element;
|
|
@@ -16,5 +16,5 @@ export type TabBarProps = {
|
|
|
16
16
|
type TabBarPropsCommon = TabBarProps & {
|
|
17
17
|
ItemTabBarComponent: ComponentType<ComponentProps<typeof ItemTabBar>>;
|
|
18
18
|
};
|
|
19
|
-
export declare const TabBarCommon: ({ items, preSelectedTabIndex, direction, ItemTabBarComponent, }: TabBarPropsCommon) => import("react
|
|
19
|
+
export declare const TabBarCommon: ({ items, preSelectedTabIndex, direction, ItemTabBarComponent, }: TabBarPropsCommon) => import("react").JSX.Element;
|
|
20
20
|
export {};
|
|
@@ -50,7 +50,7 @@ export const TabBarCommon = ({ items, preSelectedTabIndex, direction = "left", I
|
|
|
50
50
|
default:
|
|
51
51
|
break;
|
|
52
52
|
}
|
|
53
|
-
}, [selectedTabIndex, totalTabs]);
|
|
53
|
+
}, [selectedTabIndex, totalTabs, items]);
|
|
54
54
|
return (_jsxs("div", { className: classNames(CLASS_NAME, direction === tabBarDirection.center ? `${CLASS_NAME}--center` : ""), children: [_jsx("div", { role: "tablist", ref: tablistRef, children: items.map(({ title }, index) => (_jsx(ItemTabBarComponent, { id: getTabId(index), "aria-selected": isActive(index), "aria-controls": getTabPanelId(index), onKeyDown: onChangeTab, onClick: () => handleClickFn(index), ref: (element) => {
|
|
55
55
|
buttonRefs.current[index] = element;
|
|
56
56
|
}, tabIndex: isActive(index) ? 0 : -1, title: title }, `tab-${title}`))) }), items.map((item, index) => (_jsx("div", { role: "tabpanel", "aria-hidden": !isActive(index), id: getTabPanelId(index), "aria-labelledby": getTabId(index), children: item.content }, `tabpanel-${item.title}`)))] }));
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import "@axa-fr/canopee-css/client/TabBar/TabBarLF.css";
|
|
2
2
|
import { type TabBarProps } from "./TabBarCommon";
|
|
3
3
|
export { tabBarDirection, type TabBarProps, type TabBarDirection, } from "./TabBarCommon";
|
|
4
|
-
export declare const TabBar: (props: TabBarProps) => import("react
|
|
4
|
+
export declare const TabBar: (props: TabBarProps) => import("react").JSX.Element;
|
|
@@ -33,4 +33,4 @@ export type TabMenuProps = {
|
|
|
33
33
|
* @param {number} [props.initialPosition=0] - Initially selected item index.
|
|
34
34
|
* @returns {JSX.Element | null} The rendered TabMenu, or null when no items are provided.
|
|
35
35
|
*/
|
|
36
|
-
export declare const TabMenu: ({ items, className, initialPosition, ...props }: TabMenuProps) => import("react
|
|
36
|
+
export declare const TabMenu: ({ items, className, initialPosition, ...props }: TabMenuProps) => import("react").JSX.Element | null;
|
|
@@ -26,9 +26,7 @@ export const TabMenu = ({ items, className, initialPosition = 0, ...props }) =>
|
|
|
26
26
|
if (!items || items.length === 0) {
|
|
27
27
|
return null;
|
|
28
28
|
}
|
|
29
|
-
return (
|
|
30
|
-
// eslint-disable-next-line jsx-a11y/no-noninteractive-element-interactions
|
|
31
|
-
_jsx("nav", { className: getClassName({
|
|
29
|
+
return (_jsx("nav", { className: getClassName({
|
|
32
30
|
baseClassName: "af-tab-menu",
|
|
33
31
|
className,
|
|
34
32
|
}), ...props,
|
|
@@ -3,4 +3,4 @@ export type BodyColorVariants = "white" | "blue" | "alternate";
|
|
|
3
3
|
export type TBodyProps = ComponentPropsWithRef<"tbody"> & {
|
|
4
4
|
variant?: BodyColorVariants;
|
|
5
5
|
};
|
|
6
|
-
export declare const TBody: ({ variant, className, children, ...tableBodyProps }: TBodyProps) => import("react
|
|
6
|
+
export declare const TBody: ({ variant, className, children, ...tableBodyProps }: TBodyProps) => import("react").JSX.Element;
|
|
@@ -3,4 +3,4 @@ export type HeadColorVariants = "gray" | "blue";
|
|
|
3
3
|
export type THeadProps = ComponentPropsWithRef<"thead"> & {
|
|
4
4
|
variant?: HeadColorVariants;
|
|
5
5
|
};
|
|
6
|
-
export declare const THead: ({ variant, className, children, ...tableHeadProps }: THeadProps) => import("react
|
|
6
|
+
export declare const THead: ({ variant, className, children, ...tableHeadProps }: THeadProps) => import("react").JSX.Element;
|
|
@@ -5,10 +5,10 @@ import { type HeadColorVariants } from "./THead";
|
|
|
5
5
|
export type { HeadColorVariants, BodyColorVariants, RowSizeVariants };
|
|
6
6
|
export type TableProps = ComponentPropsWithRef<"table">;
|
|
7
7
|
export declare const Table: {
|
|
8
|
-
({ className, children, ...tableProps }: TableProps): import("react
|
|
9
|
-
THead: ({ variant, className, children, ...tableHeadProps }: import("./THead").THeadProps) => import("react
|
|
10
|
-
TBody: ({ variant, className, children, ...tableBodyProps }: import("./TBody").TBodyProps) => import("react
|
|
11
|
-
Th: ({ position, onCheck, checkboxPosition, onSort, className, children, ...tableHeaderProps }: import("./Th").ThProps) => import("react
|
|
12
|
-
Tr: ({ size, className, children, ...tableRowProps }: import("./Tr").TrProps) => import("react
|
|
13
|
-
Td: ({ position, verticalAlign, size, variant, className, children, ...tableCellProps }: import("./Td").TdProps) => import("react
|
|
8
|
+
({ className, children, ...tableProps }: TableProps): import("react").JSX.Element;
|
|
9
|
+
THead: ({ variant, className, children, ...tableHeadProps }: import("./THead").THeadProps) => import("react").JSX.Element;
|
|
10
|
+
TBody: ({ variant, className, children, ...tableBodyProps }: import("./TBody").TBodyProps) => import("react").JSX.Element;
|
|
11
|
+
Th: ({ position, onCheck, checkboxPosition, onSort, className, children, ...tableHeaderProps }: import("./Th").ThProps) => import("react").JSX.Element;
|
|
12
|
+
Tr: ({ size, className, children, ...tableRowProps }: import("./Tr").TrProps) => import("react").JSX.Element;
|
|
13
|
+
Td: ({ position, verticalAlign, size, variant, className, children, ...tableCellProps }: import("./Td").TdProps) => import("react").JSX.Element;
|
|
14
14
|
};
|
|
@@ -14,4 +14,4 @@ export type TdProps = ComponentPropsWithRef<"td"> & {
|
|
|
14
14
|
size?: TdSizeVariants;
|
|
15
15
|
variant?: CellColorVariant;
|
|
16
16
|
};
|
|
17
|
-
export declare const Td: ({ position, verticalAlign, size, variant, className, children, ...tableCellProps }: TdProps) => import("react
|
|
17
|
+
export declare const Td: ({ position, verticalAlign, size, variant, className, children, ...tableCellProps }: TdProps) => import("react").JSX.Element;
|
|
@@ -6,4 +6,4 @@ export type ThProps = ComponentPropsWithRef<"th"> & {
|
|
|
6
6
|
onCheck?: () => void;
|
|
7
7
|
onSort?: () => void;
|
|
8
8
|
};
|
|
9
|
-
export declare const Th: ({ position, onCheck, checkboxPosition, onSort, className, children, ...tableHeaderProps }: ThProps) => import("react
|
|
9
|
+
export declare const Th: ({ position, onCheck, checkboxPosition, onSort, className, children, ...tableHeaderProps }: ThProps) => import("react").JSX.Element;
|
|
@@ -8,4 +8,4 @@ export type RowSizeVariants = keyof typeof rowSizeVariants;
|
|
|
8
8
|
export type TrProps = ComponentPropsWithRef<"tr"> & {
|
|
9
9
|
size?: RowSizeVariants;
|
|
10
10
|
};
|
|
11
|
-
export declare const Tr: ({ size, className, children, ...tableRowProps }: TrProps) => import("react
|
|
11
|
+
export declare const Tr: ({ size, className, children, ...tableRowProps }: TrProps) => import("react").JSX.Element;
|
|
@@ -3,4 +3,4 @@ export type DRowDirectionVariants = "row" | "column";
|
|
|
3
3
|
export type TrProps = ComponentPropsWithRef<"div"> & {
|
|
4
4
|
direction?: DRowDirectionVariants;
|
|
5
5
|
};
|
|
6
|
-
export declare const DRow: ({ className, children, direction, ...dRowProps }: TrProps) => import("react
|
|
6
|
+
export declare const DRow: ({ className, children, direction, ...dRowProps }: TrProps) => import("react").JSX.Element;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { type ComponentPropsWithRef } from "react";
|
|
2
2
|
export type TrProps = ComponentPropsWithRef<"dd">;
|
|
3
|
-
export declare const Dd: ({ className, children, ...ddProps }: TrProps) => import("react
|
|
3
|
+
export declare const Dd: ({ className, children, ...ddProps }: TrProps) => import("react").JSX.Element;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { type ComponentPropsWithRef } from "react";
|
|
2
2
|
export type TrProps = ComponentPropsWithRef<"dt">;
|
|
3
|
-
export declare const Dt: ({ className, children, ...dtProps }: TrProps) => import("react
|
|
3
|
+
export declare const Dt: ({ className, children, ...dtProps }: TrProps) => import("react").JSX.Element;
|
|
@@ -5,8 +5,8 @@ export type TableMobileCardProps = ComponentPropsWithRef<"dl"> & {
|
|
|
5
5
|
variant?: TableMobileCardVariants;
|
|
6
6
|
};
|
|
7
7
|
export declare const TableMobileCard: {
|
|
8
|
-
({ className, children, variant, ...tableCardProps }: TableMobileCardProps): import("react
|
|
9
|
-
DRow: ({ className, children, direction, ...dRowProps }: import("./DRow").TrProps) => import("react
|
|
10
|
-
Dt: ({ className, children, ...dtProps }: import("./Dt").TrProps) => import("react
|
|
11
|
-
Dd: ({ className, children, ...ddProps }: import("./Dd").TrProps) => import("react
|
|
8
|
+
({ className, children, variant, ...tableCardProps }: TableMobileCardProps): import("react").JSX.Element;
|
|
9
|
+
DRow: ({ className, children, direction, ...dRowProps }: import("./DRow").TrProps) => import("react").JSX.Element;
|
|
10
|
+
Dt: ({ className, children, ...dtProps }: import("./Dt").TrProps) => import("react").JSX.Element;
|
|
11
|
+
Dd: ({ className, children, ...ddProps }: import("./Dd").TrProps) => import("react").JSX.Element;
|
|
12
12
|
};
|
|
@@ -10,4 +10,4 @@ export type TagVariants = keyof typeof tagVariants;
|
|
|
10
10
|
export type TagProps = ComponentProps<"div"> & {
|
|
11
11
|
variant?: TagVariants;
|
|
12
12
|
};
|
|
13
|
-
export declare const Tag: ({ children, className, variant, ...divProps }: TagProps) => import("react
|
|
13
|
+
export declare const Tag: ({ children, className, variant, ...divProps }: TagProps) => import("react").JSX.Element;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import { type TagListProps as TagListCommonProps } from "./TagListCommon";
|
|
2
2
|
import "@axa-fr/canopee-css/prospect/TagList/TagListAll.css";
|
|
3
3
|
export type TagListProps = Omit<TagListCommonProps, "OverflowTag">;
|
|
4
|
-
export declare const TagList: (props: TagListProps) => import("react
|
|
4
|
+
export declare const TagList: (props: TagListProps) => import("react").JSX.Element;
|
|
@@ -2,4 +2,4 @@ import { jsx as _jsx } from "react/jsx-runtime";
|
|
|
2
2
|
import { Tag } from "../Tag/TagCommon";
|
|
3
3
|
import { TagListCommon, } from "./TagListCommon";
|
|
4
4
|
import "@axa-fr/canopee-css/prospect/TagList/TagListAll.css";
|
|
5
|
-
export const TagList = (props) => (_jsx(TagListCommon, { ...props,
|
|
5
|
+
export const TagList = (props) => (_jsx(TagListCommon, { ...props, OverflowTagComponent: Tag }));
|
|
@@ -1,10 +1,8 @@
|
|
|
1
|
-
import { type ComponentType, type ReactNode } from "react";
|
|
2
|
-
|
|
1
|
+
import { type ComponentProps, type ComponentType, type ReactNode } from "react";
|
|
2
|
+
import type { TagProps } from "../Tag/TagCommon";
|
|
3
|
+
export type TagListProps = ComponentProps<"ul"> & {
|
|
3
4
|
children: ReactNode;
|
|
4
5
|
hideThreshold?: number;
|
|
5
|
-
|
|
6
|
-
OverflowTag: ComponentType<{
|
|
7
|
-
children: ReactNode;
|
|
8
|
-
}>;
|
|
6
|
+
OverflowTagComponent: ComponentType<TagProps>;
|
|
9
7
|
};
|
|
10
|
-
export declare const TagListCommon: ({ children, hideThreshold, className, OverflowTag, }: TagListProps) => import("react
|
|
8
|
+
export declare const TagListCommon: ({ children, hideThreshold, className, OverflowTagComponent: OverflowTag, ...divProps }: TagListProps) => import("react").JSX.Element;
|
|
@@ -1,7 +1,8 @@
|
|
|
1
|
-
import { jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
-
import { Children, isValidElement, } from "react";
|
|
1
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
+
import { Children, isValidElement, useId, } from "react";
|
|
3
3
|
import { getClassName } from "../utilities/getClassName";
|
|
4
|
-
export const TagListCommon = ({ children, hideThreshold = 2, className = "", OverflowTag, }) => {
|
|
4
|
+
export const TagListCommon = ({ children, hideThreshold = 2, className = "", OverflowTagComponent: OverflowTag, ...divProps }) => {
|
|
5
|
+
const id = useId();
|
|
5
6
|
const childArray = Children.toArray(children).filter(isValidElement);
|
|
6
7
|
const total = childArray.length;
|
|
7
8
|
const isOverflowing = total > hideThreshold;
|
|
@@ -9,8 +10,8 @@ export const TagListCommon = ({ children, hideThreshold = 2, className = "", Ove
|
|
|
9
10
|
? childArray.slice(0, hideThreshold)
|
|
10
11
|
: childArray;
|
|
11
12
|
const hiddenCount = total - hideThreshold;
|
|
12
|
-
return (_jsxs("
|
|
13
|
+
return (_jsxs("ul", { className: getClassName({
|
|
13
14
|
baseClassName: "af-tag-list",
|
|
14
15
|
className,
|
|
15
|
-
}), children: [visibleChildren, isOverflowing ? _jsxs(OverflowTag, { children: ["+", hiddenCount] }) : null] }));
|
|
16
|
+
}), ...divProps, children: [visibleChildren.map((child, index) => (_jsx("li", { children: child }, child.props.id ?? `${id}-${index}`))), isOverflowing ? (_jsx("li", { children: _jsxs(OverflowTag, { children: ["+", hiddenCount] }) })) : null] }));
|
|
16
17
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import { type TagListProps as TagListCommonProps } from "./TagListCommon";
|
|
2
2
|
import "@axa-fr/canopee-css/client/TagList/TagListAll.css";
|
|
3
3
|
export type TagListProps = Omit<TagListCommonProps, "OverflowTag">;
|
|
4
|
-
export declare const TagList: (props: TagListProps) => import("react
|
|
4
|
+
export declare const TagList: (props: TagListProps) => import("react").JSX.Element;
|
|
@@ -2,4 +2,4 @@ import { jsx as _jsx } from "react/jsx-runtime";
|
|
|
2
2
|
import { Tag } from "../Tag/TagCommon";
|
|
3
3
|
import { TagListCommon, } from "./TagListCommon";
|
|
4
4
|
import "@axa-fr/canopee-css/client/TagList/TagListAll.css";
|
|
5
|
-
export const TagList = (props) => (_jsx(TagListCommon, { ...props,
|
|
5
|
+
export const TagList = (props) => (_jsx(TagListCommon, { ...props, OverflowTagComponent: Tag }));
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import "@axa-fr/canopee-css/prospect/TimelineVertical/TimelineVerticalApollo.css";
|
|
2
2
|
import type { TimelineVerticalProps } from "./types";
|
|
3
3
|
export type { TimelineVerticalProps } from "./types";
|
|
4
|
-
export declare const TimelineVertical: ({ tag, tagProps, ...props }: TimelineVerticalProps) => import("react
|
|
4
|
+
export declare const TimelineVertical: ({ tag, tagProps, ...props }: TimelineVerticalProps) => import("react").JSX.Element;
|
|
@@ -4,4 +4,4 @@ export type TimelineVerticalProps = PropsWithChildren<{
|
|
|
4
4
|
tag: ReactNode;
|
|
5
5
|
className?: string;
|
|
6
6
|
}>;
|
|
7
|
-
export declare const TimelineVerticalCommon: ({ title, children, tag, className, }: TimelineVerticalProps) => import("react
|
|
7
|
+
export declare const TimelineVerticalCommon: ({ title, children, tag, className, }: TimelineVerticalProps) => import("react").JSX.Element;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import "@axa-fr/canopee-css/client/TimelineVertical/TimelineVerticalLF.css";
|
|
2
2
|
import type { TimelineVerticalProps } from "./types";
|
|
3
3
|
export type { TimelineVerticalProps } from "./types";
|
|
4
|
-
export declare const TimelineVertical: ({ tag, tagProps, ...props }: TimelineVerticalProps) => import("react
|
|
4
|
+
export declare const TimelineVertical: ({ tag, tagProps, ...props }: TimelineVerticalProps) => import("react").JSX.Element;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import "@axa-fr/canopee-css/prospect/Toggle/ToggleApollo.css";
|
|
2
2
|
import { type ToggleProps } from "./ToggleCommon";
|
|
3
3
|
export declare const Toggle: {
|
|
4
|
-
({ ...props }: ToggleProps): import("react
|
|
4
|
+
({ ...props }: ToggleProps): import("react").JSX.Element;
|
|
5
5
|
displayName: string;
|
|
6
6
|
};
|
|
@@ -5,6 +5,6 @@ export type ToggleCommonProps = ToggleProps & {
|
|
|
5
5
|
IconComponent: ComponentType<IconProps>;
|
|
6
6
|
};
|
|
7
7
|
export declare const ToggleCommon: {
|
|
8
|
-
({ className, IconComponent, ...inputProps }: ToggleCommonProps): import("react
|
|
8
|
+
({ className, IconComponent, ...inputProps }: ToggleCommonProps): import("react").JSX.Element;
|
|
9
9
|
displayName: string;
|
|
10
10
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import "@axa-fr/canopee-css/client/Toggle/ToggleLF.css";
|
|
2
2
|
import { type ToggleProps } from "./ToggleCommon";
|
|
3
3
|
export declare const Toggle: {
|
|
4
|
-
({ ...props }: ToggleProps): import("react
|
|
4
|
+
({ ...props }: ToggleProps): import("react").JSX.Element;
|
|
5
5
|
displayName: string;
|
|
6
6
|
};
|