@axa-fr/canopee-react 2.0.0 → 2.0.1-alpha.11
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/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/HelpButton/index.d.ts +1 -1
- package/dist/distributeur/ItemFormHelper/ItemFormHelper.d.ts +1 -1
- 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/Svg/Svg.helpers.d.ts +27 -0
- package/dist/distributeur/Svg/Svg.helpers.js +20 -0
- package/dist/distributeur/Svg/Svg.js +2 -7
- 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 +7 -0
- package/dist/distributeur/utilities/VisuallyHidden.js +7 -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 +5 -2
- package/dist/prospect-client/Card/CardCommon.js +2 -1
- 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 +1 -1
- 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/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 +1 -1
- package/dist/prospect-client/Form/Dropdown/DropdownLF.d.ts +1 -1
- 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 +1 -1
- 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 +1 -1
- 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 +1 -1
- 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/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 +1 -1
- 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/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/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 +1 -1
- package/dist/prospect-client/Stepper/StepperLF.d.ts +1 -1
- package/dist/prospect-client/Svg/Svg.d.ts +2 -2
- package/dist/prospect-client/Svg/Svg.helpers.d.ts +27 -0
- package/dist/prospect-client/Svg/Svg.helpers.js +20 -0
- package/dist/prospect-client/Svg/Svg.js +2 -7
- 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/TagListCommon.d.ts +1 -1
- package/dist/prospect-client/TagList/TagListLF.d.ts +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 +7 -0
- package/dist/prospect-client/utilities/VisuallyHidden.js +7 -0
- package/dist/prospect-client/utilities/types/Permutations.d.ts +1 -0
- package/dist/prospect-client/utilities/types/Permutations.js +1 -0
- package/package.json +16 -16
|
@@ -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;
|
|
@@ -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 {};
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import type { SVGAttributes } from "react";
|
|
2
|
+
type AccessibilityInput = Pick<SVGAttributes<SVGSVGElement>, "aria-label" | "aria-labelledby"> & {
|
|
3
|
+
alt?: string;
|
|
4
|
+
};
|
|
5
|
+
/**
|
|
6
|
+
* An icon with a non-empty alt is an image named by it; an icon without alt,
|
|
7
|
+
* aria-label or aria-labelledby is decorative and hidden from assistive
|
|
8
|
+
* technologies. Explicit props are spread afterwards and take precedence.
|
|
9
|
+
*/
|
|
10
|
+
export declare const getAccessibilityProps: ({ alt, "aria-label": ariaLabel, "aria-labelledby": ariaLabelledBy, }: AccessibilityInput) => {
|
|
11
|
+
role: string;
|
|
12
|
+
"aria-label": string;
|
|
13
|
+
"aria-hidden"?: undefined;
|
|
14
|
+
focusable?: undefined;
|
|
15
|
+
} | {
|
|
16
|
+
role?: undefined;
|
|
17
|
+
"aria-label"?: undefined;
|
|
18
|
+
"aria-hidden"?: undefined;
|
|
19
|
+
focusable?: undefined;
|
|
20
|
+
} | {
|
|
21
|
+
"aria-hidden": boolean;
|
|
22
|
+
focusable: boolean;
|
|
23
|
+
role?: undefined;
|
|
24
|
+
"aria-label"?: undefined;
|
|
25
|
+
};
|
|
26
|
+
export declare const cloneAttributes: (from: HTMLElement | SVGSVGElement, to: HTMLElement | SVGSVGElement) => void;
|
|
27
|
+
export {};
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* An icon with a non-empty alt is an image named by it; an icon without alt,
|
|
3
|
+
* aria-label or aria-labelledby is decorative and hidden from assistive
|
|
4
|
+
* technologies. Explicit props are spread afterwards and take precedence.
|
|
5
|
+
*/
|
|
6
|
+
export const getAccessibilityProps = ({ alt, "aria-label": ariaLabel, "aria-labelledby": ariaLabelledBy, }) => {
|
|
7
|
+
if (alt) {
|
|
8
|
+
return { role: "img", "aria-label": alt };
|
|
9
|
+
}
|
|
10
|
+
if (ariaLabel || ariaLabelledBy) {
|
|
11
|
+
return {};
|
|
12
|
+
}
|
|
13
|
+
return { "aria-hidden": true, focusable: false };
|
|
14
|
+
};
|
|
15
|
+
export const cloneAttributes = (from, to) => {
|
|
16
|
+
const attributes = from.getAttributeNames();
|
|
17
|
+
attributes.forEach((attribute) => {
|
|
18
|
+
to.setAttribute(attribute, from.getAttribute(attribute));
|
|
19
|
+
});
|
|
20
|
+
};
|
|
@@ -1,13 +1,8 @@
|
|
|
1
1
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
2
|
import "@axa-fr/canopee-css/prospect/Svg/Svg.css";
|
|
3
3
|
import React, {} from "react";
|
|
4
|
+
import { cloneAttributes, getAccessibilityProps } from "./Svg.helpers";
|
|
4
5
|
import { svgInjector } from "./svgInjector";
|
|
5
|
-
const cloneAttributes = (from, to) => {
|
|
6
|
-
const attributes = from.getAttributeNames();
|
|
7
|
-
attributes.forEach((attribute) => {
|
|
8
|
-
to.setAttribute(attribute, from.getAttribute(attribute));
|
|
9
|
-
});
|
|
10
|
-
};
|
|
11
6
|
/**
|
|
12
7
|
* @deprecated Use Icon instead
|
|
13
8
|
*/
|
|
@@ -50,5 +45,5 @@ export const Svg = ({ className, src, alt, width = 24, height = 24, ...props })
|
|
|
50
45
|
if (hasError) {
|
|
51
46
|
return alt ? (_jsx("span", { ...props, children: alt })) : null;
|
|
52
47
|
}
|
|
53
|
-
return (_jsx("svg", { ref: rootRef, className: ["af-svg", className].filter(Boolean).join(" "), "data-src": src, width: width, height: height, ...props }));
|
|
48
|
+
return (_jsx("svg", { ref: rootRef, className: ["af-svg", className].filter(Boolean).join(" "), "data-src": src, width: width, height: height, ...getAccessibilityProps({ alt, ...props }), ...props }));
|
|
54
49
|
};
|
|
@@ -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;
|
|
@@ -7,4 +7,4 @@ export type TagListProps = {
|
|
|
7
7
|
children: ReactNode;
|
|
8
8
|
}>;
|
|
9
9
|
};
|
|
10
|
-
export declare const TagListCommon: ({ children, hideThreshold, className, OverflowTag, }: TagListProps) => import("react
|
|
10
|
+
export declare const TagListCommon: ({ children, hideThreshold, className, OverflowTag, }: TagListProps) => import("react").JSX.Element;
|
|
@@ -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;
|
|
@@ -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
|
};
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { type ErrorPageProps } from "./ErrorPageCommon";
|
|
2
2
|
export { type ErrorPageProps } from "./ErrorPageCommon";
|
|
3
|
-
export declare const ErrorPage: (props: ErrorPageProps) => import("react
|
|
3
|
+
export declare const ErrorPage: (props: ErrorPageProps) => import("react").JSX.Element;
|
|
@@ -8,5 +8,5 @@ type ErrorPageCommonProps = ErrorPageProps & {
|
|
|
8
8
|
LinkComponent: ComponentType<LinkProps>;
|
|
9
9
|
ExitLayoutComponent: ExitLayoutWithSubComponents;
|
|
10
10
|
};
|
|
11
|
-
export declare const ErrorPageCommon: ({ headingProps, children, linkProps, LinkComponent, ExitLayoutComponent, }: ErrorPageCommonProps) => import("react
|
|
11
|
+
export declare const ErrorPageCommon: ({ headingProps, children, linkProps, LinkComponent, ExitLayoutComponent, }: ErrorPageCommonProps) => import("react").JSX.Element;
|
|
12
12
|
export {};
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { type ErrorPageProps } from "./ErrorPageCommon";
|
|
2
2
|
export { type ErrorPageProps } from "./ErrorPageCommon";
|
|
3
|
-
export declare const ErrorPage: (props: ErrorPageProps) => import("react
|
|
3
|
+
export declare const ErrorPage: (props: ErrorPageProps) => import("react").JSX.Element;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { type ValidPageProps } from "./ValidPageCommon";
|
|
2
2
|
export { type ValidPageProps } from "./ValidPageCommon";
|
|
3
|
-
export declare const ValidPage: (props: ValidPageProps) => import("react
|
|
3
|
+
export declare const ValidPage: (props: ValidPageProps) => import("react").JSX.Element;
|
|
@@ -11,5 +11,5 @@ type ValidPageCommonProps = ValidPageProps & {
|
|
|
11
11
|
LinkComponent: ComponentType<LinkProps>;
|
|
12
12
|
ExitLayoutComponent: ExitLayoutWithSubComponents;
|
|
13
13
|
};
|
|
14
|
-
export declare const ValidPageCommon: ({ headingProps, children, dataAgentProps, linkProps, DataAgentComponent, LinkComponent, ExitLayoutComponent, }: ValidPageCommonProps) => import("react
|
|
14
|
+
export declare const ValidPageCommon: ({ headingProps, children, dataAgentProps, linkProps, DataAgentComponent, LinkComponent, ExitLayoutComponent, }: ValidPageCommonProps) => import("react").JSX.Element;
|
|
15
15
|
export {};
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { type ValidPageProps } from "./ValidPageCommon";
|
|
2
2
|
export { type ValidPageProps } from "./ValidPageCommon";
|
|
3
|
-
export declare const ValidPage: (props: ValidPageProps) => import("react
|
|
3
|
+
export declare const ValidPage: (props: ValidPageProps) => import("react").JSX.Element;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import "@axa-fr/canopee-css/client/VisuallyHidden/VisuallyHiddenAll.css";
|
|
2
|
+
import type { ComponentProps } from "react";
|
|
3
|
+
/**
|
|
4
|
+
* Text announced by assistive technologies but not displayed.
|
|
5
|
+
* Internal helper: not exported by the package entry points.
|
|
6
|
+
*/
|
|
7
|
+
export declare const VisuallyHidden: (props: Omit<ComponentProps<"span">, "className" | "style">) => import("react").JSX.Element;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
+
import "@axa-fr/canopee-css/client/VisuallyHidden/VisuallyHiddenAll.css";
|
|
3
|
+
/**
|
|
4
|
+
* Text announced by assistive technologies but not displayed.
|
|
5
|
+
* Internal helper: not exported by the package entry points.
|
|
6
|
+
*/
|
|
7
|
+
export const VisuallyHidden = (props) => _jsx("span", { className: "af-visually-hidden", ...props });
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export type Permutations<T extends string, U extends string = T> = T extends unknown ? T | `${T} ${Permutations<Exclude<U, T>>}` : never;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
package/package.json
CHANGED
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@axa-fr/canopee-react",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.1-alpha.11",
|
|
4
4
|
"description": "Package React - Design System Canopée",
|
|
5
|
+
"type": "module",
|
|
5
6
|
"exports": {
|
|
6
7
|
"./distributeur": {
|
|
7
8
|
"import": "./dist/distributeur.js",
|
|
@@ -53,7 +54,7 @@
|
|
|
53
54
|
},
|
|
54
55
|
"homepage": "https://github.com/AxaFrance/design-system#readme",
|
|
55
56
|
"peerDependencies": {
|
|
56
|
-
"@axa-fr/canopee-css": "2.0.
|
|
57
|
+
"@axa-fr/canopee-css": "2.0.1-alpha.11",
|
|
57
58
|
"@material-symbols/svg-400": ">= 0.19.0",
|
|
58
59
|
"@material-symbols/svg-700": ">= 0.19.0",
|
|
59
60
|
"react": ">= 19"
|
|
@@ -61,32 +62,31 @@
|
|
|
61
62
|
"dependencies": {
|
|
62
63
|
"@floating-ui/react": "^0.27.8",
|
|
63
64
|
"@fontsource/source-sans-pro": "^5.2.5",
|
|
64
|
-
"@tanem/svg-injector": "^
|
|
65
|
+
"@tanem/svg-injector": "^12.2.5",
|
|
65
66
|
"classnames": "^2.5.1",
|
|
66
67
|
"rc-slider": "^11.1.7",
|
|
67
68
|
"react-dropzone": "^11.5.3",
|
|
68
|
-
"dompurify": "^3.4.
|
|
69
|
+
"dompurify": "^3.4.17",
|
|
69
70
|
"react-select": "^5.10.1"
|
|
70
71
|
},
|
|
71
72
|
"devDependencies": {
|
|
72
73
|
"@axa-fr/canopee-css": "*",
|
|
73
74
|
"@axa-fr/eslint-config-design-system": "*",
|
|
74
75
|
"@axa-fr/prettier-config-design-system": "*",
|
|
75
|
-
"@testing-library/dom": "^10.4.
|
|
76
|
-
"@testing-library/jest-dom": "^
|
|
77
|
-
"@testing-library/react": "^16.
|
|
78
|
-
"@testing-library/user-event": "^14.6.
|
|
76
|
+
"@testing-library/dom": "^10.4.2",
|
|
77
|
+
"@testing-library/jest-dom": "^7.0.1",
|
|
78
|
+
"@testing-library/react": "^16.3.3",
|
|
79
|
+
"@testing-library/user-event": "^14.6.8",
|
|
79
80
|
"@types/dompurify": "^3.2.0",
|
|
80
|
-
"@types/jest": "^
|
|
81
|
+
"@types/jest": "^30.0.0",
|
|
81
82
|
"@types/jest-axe": "^3.5.9",
|
|
82
|
-
"@vitest/coverage-v8": "^4.1.
|
|
83
|
-
"@vitest/ui": "^4.1.
|
|
83
|
+
"@vitest/coverage-v8": "^4.1.12",
|
|
84
|
+
"@vitest/ui": "^4.1.12",
|
|
84
85
|
"copyfiles": "^2.4.1",
|
|
85
|
-
"jest-axe": "^
|
|
86
|
-
"jsdom": "^
|
|
87
|
-
"
|
|
88
|
-
"
|
|
89
|
-
"vitest": "^4.1.5"
|
|
86
|
+
"jest-axe": "^11.0.0",
|
|
87
|
+
"jsdom": "^30.1.3",
|
|
88
|
+
"rimraf": "^6.1.3",
|
|
89
|
+
"vitest": "^4.1.12"
|
|
90
90
|
},
|
|
91
91
|
"lint-staged": {
|
|
92
92
|
"*.(js|jsx|ts|tsx)": "eslint --fix",
|