@axa-fr/canopee-react 1.0.0-alpha.1089
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 +60 -0
- package/dist/client.js +59 -0
- package/dist/distributeur/Accordion/Accordion.d.ts +14 -0
- package/dist/distributeur/Accordion/Accordion.js +18 -0
- package/dist/distributeur/Accordion/AccordionContext.d.ts +1 -0
- package/dist/distributeur/Accordion/AccordionContext.js +2 -0
- package/dist/distributeur/Accordion/Body.d.ts +6 -0
- package/dist/distributeur/Accordion/Body.js +5 -0
- package/dist/distributeur/Accordion/CollapseCard.d.ts +15 -0
- package/dist/distributeur/Accordion/CollapseCard.js +11 -0
- package/dist/distributeur/Accordion/Header.d.ts +17 -0
- package/dist/distributeur/Accordion/Header.js +20 -0
- package/dist/distributeur/Accordion/index.d.ts +3 -0
- package/dist/distributeur/Accordion/index.js +2 -0
- package/dist/distributeur/Action/Action.d.ts +5 -0
- package/dist/distributeur/Action/Action.js +9 -0
- package/dist/distributeur/Button/Button.d.ts +11 -0
- package/dist/distributeur/Button/Button.js +7 -0
- package/dist/distributeur/Card/Card.d.ts +14 -0
- package/dist/distributeur/Card/Card.js +6 -0
- package/dist/distributeur/CardData/CardData.d.ts +15 -0
- package/dist/distributeur/CardData/CardData.js +6 -0
- package/dist/distributeur/CardData/CardDataHeader.d.ts +14 -0
- package/dist/distributeur/CardData/CardDataHeader.js +9 -0
- package/dist/distributeur/Divider/Divider.d.ts +7 -0
- package/dist/distributeur/Divider/Divider.js +10 -0
- package/dist/distributeur/Form/Checkbox/Checkbox.d.ts +23 -0
- package/dist/distributeur/Form/Checkbox/Checkbox.js +30 -0
- package/dist/distributeur/Form/Checkbox/CheckboxInput.d.ts +6 -0
- package/dist/distributeur/Form/Checkbox/CheckboxInput.js +13 -0
- package/dist/distributeur/Form/Checkbox/CheckboxItem.d.ts +10 -0
- package/dist/distributeur/Form/Checkbox/CheckboxItem.js +15 -0
- package/dist/distributeur/Form/Checkbox/CheckboxModes.d.ts +7 -0
- package/dist/distributeur/Form/Checkbox/CheckboxModes.js +8 -0
- package/dist/distributeur/Form/Checkbox/index.d.ts +4 -0
- package/dist/distributeur/Form/Checkbox/index.js +4 -0
- package/dist/distributeur/Form/Choice/Choice.d.ts +14 -0
- package/dist/distributeur/Form/Choice/Choice.js +18 -0
- package/dist/distributeur/Form/Choice/ChoiceInput.d.ts +6 -0
- package/dist/distributeur/Form/Choice/ChoiceInput.js +13 -0
- package/dist/distributeur/Form/Choice/index.d.ts +2 -0
- package/dist/distributeur/Form/Choice/index.js +2 -0
- package/dist/distributeur/Form/Date/Date.d.ts +9 -0
- package/dist/distributeur/Form/Date/Date.js +11 -0
- package/dist/distributeur/Form/Date/DateInput.d.ts +8 -0
- package/dist/distributeur/Form/Date/DateInput.js +9 -0
- package/dist/distributeur/Form/Date/index.d.ts +2 -0
- package/dist/distributeur/Form/Date/index.js +2 -0
- package/dist/distributeur/Form/Experimental/index.d.ts +0 -0
- package/dist/distributeur/Form/Experimental/index.js +1 -0
- package/dist/distributeur/Form/File/File.d.ts +25 -0
- package/dist/distributeur/Form/File/File.js +60 -0
- package/dist/distributeur/Form/File/FileErrors.d.ts +6 -0
- package/dist/distributeur/Form/File/FileErrors.js +5 -0
- package/dist/distributeur/Form/File/FileInput.d.ts +13 -0
- package/dist/distributeur/Form/File/FileInput.js +21 -0
- package/dist/distributeur/Form/File/FileLine.d.ts +9 -0
- package/dist/distributeur/Form/File/FileLine.js +7 -0
- package/dist/distributeur/Form/File/FileTable.d.ts +14 -0
- package/dist/distributeur/Form/File/FileTable.js +9 -0
- package/dist/distributeur/Form/File/constants.d.ts +1 -0
- package/dist/distributeur/Form/File/constants.js +1 -0
- package/dist/distributeur/Form/File/index.d.ts +6 -0
- package/dist/distributeur/Form/File/index.js +5 -0
- package/dist/distributeur/Form/MultiSelect/FormatOptionLabel.d.ts +4 -0
- package/dist/distributeur/Form/MultiSelect/FormatOptionLabel.js +12 -0
- package/dist/distributeur/Form/MultiSelect/MultiSelect.d.ts +23 -0
- package/dist/distributeur/Form/MultiSelect/MultiSelect.js +74 -0
- package/dist/distributeur/Form/MultiSelect/MultiSelectInput.d.ts +7 -0
- package/dist/distributeur/Form/MultiSelect/MultiSelectInput.js +10 -0
- package/dist/distributeur/Form/MultiSelect/NoOptionsMessage.d.ts +3 -0
- package/dist/distributeur/Form/MultiSelect/NoOptionsMessage.js +1 -0
- package/dist/distributeur/Form/MultiSelect/ValueContainer.d.ts +4 -0
- package/dist/distributeur/Form/MultiSelect/ValueContainer.js +20 -0
- package/dist/distributeur/Form/MultiSelect/index.d.ts +2 -0
- package/dist/distributeur/Form/MultiSelect/index.js +2 -0
- package/dist/distributeur/Form/MultiSelect/useMultiSelectStyle.d.ts +5 -0
- package/dist/distributeur/Form/MultiSelect/useMultiSelectStyle.js +81 -0
- package/dist/distributeur/Form/NestedQuestion/NestedQuestion.d.ts +5 -0
- package/dist/distributeur/Form/NestedQuestion/NestedQuestion.js +7 -0
- package/dist/distributeur/Form/Number/Number.d.ts +7 -0
- package/dist/distributeur/Form/Number/Number.js +12 -0
- package/dist/distributeur/Form/Number/NumberInput.d.ts +6 -0
- package/dist/distributeur/Form/Number/NumberInput.js +6 -0
- package/dist/distributeur/Form/Number/index.d.ts +2 -0
- package/dist/distributeur/Form/Number/index.js +2 -0
- package/dist/distributeur/Form/Pass/Pass.d.ts +9 -0
- package/dist/distributeur/Form/Pass/Pass.js +10 -0
- package/dist/distributeur/Form/Pass/PassInput.d.ts +10 -0
- package/dist/distributeur/Form/Pass/PassInput.js +31 -0
- package/dist/distributeur/Form/Pass/index.d.ts +2 -0
- package/dist/distributeur/Form/Pass/index.js +2 -0
- package/dist/distributeur/Form/Radio/Radio.d.ts +25 -0
- package/dist/distributeur/Form/Radio/Radio.js +37 -0
- package/dist/distributeur/Form/Radio/RadioCardGroup.d.ts +9 -0
- package/dist/distributeur/Form/Radio/RadioCardGroup.js +25 -0
- package/dist/distributeur/Form/Radio/RadioInput.d.ts +6 -0
- package/dist/distributeur/Form/Radio/RadioInput.js +11 -0
- package/dist/distributeur/Form/Radio/RadioItem.d.ts +10 -0
- package/dist/distributeur/Form/Radio/RadioItem.js +12 -0
- package/dist/distributeur/Form/Radio/index.d.ts +3 -0
- package/dist/distributeur/Form/Radio/index.js +3 -0
- package/dist/distributeur/Form/Select/Select.d.ts +342 -0
- package/dist/distributeur/Form/Select/Select.js +13 -0
- package/dist/distributeur/Form/Select/SelectBase.d.ts +24 -0
- package/dist/distributeur/Form/Select/SelectBase.js +14 -0
- package/dist/distributeur/Form/Select/SelectDefault.d.ts +9 -0
- package/dist/distributeur/Form/Select/SelectDefault.js +17 -0
- package/dist/distributeur/Form/Select/SelectDefaultWithOptions.d.ts +23 -0
- package/dist/distributeur/Form/Select/SelectDefaultWithOptions.js +39 -0
- package/dist/distributeur/Form/Select/SelectInput.d.ts +378 -0
- package/dist/distributeur/Form/Select/SelectInput.js +9 -0
- package/dist/distributeur/Form/Select/index.d.ts +3 -0
- package/dist/distributeur/Form/Select/index.js +3 -0
- package/dist/distributeur/Form/Slider/Slider.d.ts +27 -0
- package/dist/distributeur/Form/Slider/Slider.js +36 -0
- package/dist/distributeur/Form/Slider/SliderInput.d.ts +9 -0
- package/dist/distributeur/Form/Slider/SliderInput.js +10 -0
- package/dist/distributeur/Form/Slider/index.d.ts +3 -0
- package/dist/distributeur/Form/Slider/index.js +3 -0
- package/dist/distributeur/Form/Text/Text.d.ts +7 -0
- package/dist/distributeur/Form/Text/Text.js +10 -0
- package/dist/distributeur/Form/Text/TextInput.d.ts +6 -0
- package/dist/distributeur/Form/Text/TextInput.js +9 -0
- package/dist/distributeur/Form/Text/index.d.ts +2 -0
- package/dist/distributeur/Form/Text/index.js +2 -0
- package/dist/distributeur/Form/Textarea/Textarea.d.ts +5 -0
- package/dist/distributeur/Form/Textarea/Textarea.js +12 -0
- package/dist/distributeur/Form/Textarea/TextareaInput.d.ts +7 -0
- package/dist/distributeur/Form/Textarea/TextareaInput.js +10 -0
- package/dist/distributeur/Form/Textarea/index.d.ts +2 -0
- package/dist/distributeur/Form/Textarea/index.js +2 -0
- package/dist/distributeur/Form/core/Deprecated/Field.d.ts +21 -0
- package/dist/distributeur/Form/core/Deprecated/Field.js +19 -0
- package/dist/distributeur/Form/core/Deprecated/FieldForm.d.ts +103 -0
- package/dist/distributeur/Form/core/Deprecated/FieldForm.js +162 -0
- package/dist/distributeur/Form/core/Deprecated/FieldInput.d.ts +16 -0
- package/dist/distributeur/Form/core/Deprecated/FieldInput.js +14 -0
- package/dist/distributeur/Form/core/Field.d.ts +80 -0
- package/dist/distributeur/Form/core/Field.js +42 -0
- package/dist/distributeur/Form/core/FieldError.d.ts +8 -0
- package/dist/distributeur/Form/core/FieldError.js +8 -0
- package/dist/distributeur/Form/core/FormClassManager.d.ts +7 -0
- package/dist/distributeur/Form/core/FormClassManager.js +36 -0
- package/dist/distributeur/Form/core/HelpMessage.d.ts +8 -0
- package/dist/distributeur/Form/core/HelpMessage.js +2 -0
- package/dist/distributeur/Form/core/InputList.d.ts +8 -0
- package/dist/distributeur/Form/core/InputList.js +4 -0
- package/dist/distributeur/Form/core/MessageTypes.d.ts +5 -0
- package/dist/distributeur/Form/core/MessageTypes.js +6 -0
- package/dist/distributeur/Form/core/getFirstId.d.ts +2 -0
- package/dist/distributeur/Form/core/getFirstId.js +1 -0
- package/dist/distributeur/Form/core/getOptionClassName.d.ts +1 -0
- package/dist/distributeur/Form/core/getOptionClassName.js +10 -0
- package/dist/distributeur/Form/core/index.d.ts +34 -0
- package/dist/distributeur/Form/core/index.js +13 -0
- package/dist/distributeur/Form/core/useAriaInvalid.d.ts +2 -0
- package/dist/distributeur/Form/core/useAriaInvalid.js +2 -0
- package/dist/distributeur/Form/core/useInputClassModifier.d.ts +4 -0
- package/dist/distributeur/Form/core/useInputClassModifier.js +13 -0
- package/dist/distributeur/Form/core/useOptionsWithId.d.ts +2 -0
- package/dist/distributeur/Form/core/useOptionsWithId.js +13 -0
- package/dist/distributeur/HelpButton/index.d.ts +8 -0
- package/dist/distributeur/HelpButton/index.js +8 -0
- package/dist/distributeur/Layout/Footer/Footer.d.ts +14 -0
- package/dist/distributeur/Layout/Footer/Footer.js +8 -0
- package/dist/distributeur/Layout/Footer/index.d.ts +1 -0
- package/dist/distributeur/Layout/Footer/index.js +1 -0
- package/dist/distributeur/Layout/Header/AnchorNavBar/AnchorNavBar.d.ts +39 -0
- package/dist/distributeur/Layout/Header/AnchorNavBar/AnchorNavBar.js +21 -0
- package/dist/distributeur/Layout/Header/Header.d.ts +9 -0
- package/dist/distributeur/Layout/Header/Header.js +10 -0
- package/dist/distributeur/Layout/Header/HeaderTitle/HeaderTitle.d.ts +17 -0
- package/dist/distributeur/Layout/Header/HeaderTitle/HeaderTitle.helpers.d.ts +1 -0
- package/dist/distributeur/Layout/Header/HeaderTitle/HeaderTitle.helpers.js +6 -0
- package/dist/distributeur/Layout/Header/HeaderTitle/HeaderTitle.js +17 -0
- package/dist/distributeur/Layout/Header/Infos/Infos.d.ts +14 -0
- package/dist/distributeur/Layout/Header/Infos/Infos.js +16 -0
- package/dist/distributeur/Layout/Header/MenuTitleWrapper/MenuTitleWrapper.d.ts +11 -0
- package/dist/distributeur/Layout/Header/MenuTitleWrapper/MenuTitleWrapper.js +14 -0
- package/dist/distributeur/Layout/Header/Name/Name.d.ts +16 -0
- package/dist/distributeur/Layout/Header/Name/Name.js +10 -0
- package/dist/distributeur/Layout/Header/NavBar/NavBar.d.ts +12 -0
- package/dist/distributeur/Layout/Header/NavBar/NavBar.helpers.d.ts +1 -0
- package/dist/distributeur/Layout/Header/NavBar/NavBar.helpers.js +12 -0
- package/dist/distributeur/Layout/Header/NavBar/NavBar.js +35 -0
- package/dist/distributeur/Layout/Header/NavBar/NavBarBase.d.ts +20 -0
- package/dist/distributeur/Layout/Header/NavBar/NavBarBase.js +16 -0
- package/dist/distributeur/Layout/Header/NavBar/NavBarItem/NavBarItem.d.ts +14 -0
- package/dist/distributeur/Layout/Header/NavBar/NavBarItem/NavBarItem.js +54 -0
- package/dist/distributeur/Layout/Header/NavBar/NavBarItem/NavBarItemBase.d.ts +10 -0
- package/dist/distributeur/Layout/Header/NavBar/NavBarItem/NavBarItemBase.helpers.d.ts +1 -0
- package/dist/distributeur/Layout/Header/NavBar/NavBarItem/NavBarItemBase.helpers.js +11 -0
- package/dist/distributeur/Layout/Header/NavBar/NavBarItem/NavBarItemBase.js +19 -0
- package/dist/distributeur/Layout/Header/NavBar/NavBarItem/NavBarItemLink.d.ts +8 -0
- package/dist/distributeur/Layout/Header/NavBar/NavBarItem/NavBarItemLink.js +4 -0
- package/dist/distributeur/Layout/Header/NavBar/NavBarItem/index.d.ts +3 -0
- package/dist/distributeur/Layout/Header/NavBar/NavBarItem/index.js +3 -0
- package/dist/distributeur/Layout/Header/NavBar/index.d.ts +5 -0
- package/dist/distributeur/Layout/Header/NavBar/index.js +5 -0
- package/dist/distributeur/Layout/Header/ToggleButton/ToggleButton.d.ts +7 -0
- package/dist/distributeur/Layout/Header/ToggleButton/ToggleButton.js +8 -0
- package/dist/distributeur/Layout/Header/User/InnerUser.d.ts +5 -0
- package/dist/distributeur/Layout/Header/User/InnerUser.js +3 -0
- package/dist/distributeur/Layout/Header/User/User.d.ts +60 -0
- package/dist/distributeur/Layout/Header/User/User.js +10 -0
- package/dist/distributeur/Layout/Header/index.d.ts +9 -0
- package/dist/distributeur/Layout/Header/index.js +8 -0
- package/dist/distributeur/Layout/MainContainer/MainContainer.d.ts +5 -0
- package/dist/distributeur/Layout/MainContainer/MainContainer.js +3 -0
- package/dist/distributeur/Link/CustomLink.d.ts +8 -0
- package/dist/distributeur/Link/CustomLink.js +6 -0
- package/dist/distributeur/Link/Link.d.ts +5 -0
- package/dist/distributeur/Link/Link.js +12 -0
- package/dist/distributeur/Link/LinkAnchor.d.ts +12 -0
- package/dist/distributeur/Link/LinkAnchor.js +12 -0
- package/dist/distributeur/Link/linkClassName.d.ts +1 -0
- package/dist/distributeur/Link/linkClassName.js +1 -0
- package/dist/distributeur/Loader/Loader.d.ts +12 -0
- package/dist/distributeur/Loader/Loader.js +26 -0
- package/dist/distributeur/Messages/Message.d.ts +47 -0
- package/dist/distributeur/Messages/Message.js +43 -0
- package/dist/distributeur/ModalAgent/BooleanModal.d.ts +40 -0
- package/dist/distributeur/ModalAgent/BooleanModal.js +13 -0
- package/dist/distributeur/ModalAgent/Modal.d.ts +25 -0
- package/dist/distributeur/ModalAgent/Modal.js +24 -0
- package/dist/distributeur/ModalAgent/components/Body.d.ts +5 -0
- package/dist/distributeur/ModalAgent/components/Body.js +7 -0
- package/dist/distributeur/ModalAgent/components/Footer.d.ts +5 -0
- package/dist/distributeur/ModalAgent/components/Footer.js +7 -0
- package/dist/distributeur/ModalAgent/components/Header.d.ts +30 -0
- package/dist/distributeur/ModalAgent/components/Header.js +8 -0
- package/dist/distributeur/ModalAgent/components/HeaderBase.d.ts +5 -0
- package/dist/distributeur/ModalAgent/components/HeaderBase.js +7 -0
- package/dist/distributeur/ModalAgent/index.d.ts +7 -0
- package/dist/distributeur/ModalAgent/index.js +7 -0
- package/dist/distributeur/Popover/AnimatedPopover.d.ts +14 -0
- package/dist/distributeur/Popover/AnimatedPopover.js +18 -0
- package/dist/distributeur/Popover/Popover.d.ts +13 -0
- package/dist/distributeur/Popover/Popover.js +8 -0
- package/dist/distributeur/Popover/Popover.types.d.ts +9 -0
- package/dist/distributeur/Popover/Popover.types.js +1 -0
- package/dist/distributeur/Popover/PopoverBase.d.ts +15 -0
- package/dist/distributeur/Popover/PopoverBase.js +8 -0
- package/dist/distributeur/Popover/PopoverClick.d.ts +2 -0
- package/dist/distributeur/Popover/PopoverClick.js +27 -0
- package/dist/distributeur/Popover/PopoverOver.d.ts +2 -0
- package/dist/distributeur/Popover/PopoverOver.js +13 -0
- package/dist/distributeur/Popover/index.d.ts +3 -0
- package/dist/distributeur/Popover/index.js +1 -0
- package/dist/distributeur/Restitution/ArticleRestitution.d.ts +6 -0
- package/dist/distributeur/Restitution/ArticleRestitution.js +6 -0
- package/dist/distributeur/Restitution/HeaderRestitution.d.ts +9 -0
- package/dist/distributeur/Restitution/HeaderRestitution.js +6 -0
- package/dist/distributeur/Restitution/Restitution.d.ts +6 -0
- package/dist/distributeur/Restitution/Restitution.js +6 -0
- package/dist/distributeur/Restitution/RestitutionList.d.ts +6 -0
- package/dist/distributeur/Restitution/RestitutionList.js +4 -0
- package/dist/distributeur/Restitution/SectionRestitution.d.ts +6 -0
- package/dist/distributeur/Restitution/SectionRestitution.js +6 -0
- package/dist/distributeur/Restitution/SectionRestitutionColumn.d.ts +7 -0
- package/dist/distributeur/Restitution/SectionRestitutionColumn.js +7 -0
- package/dist/distributeur/Restitution/SectionRestitutionRow.d.ts +8 -0
- package/dist/distributeur/Restitution/SectionRestitutionRow.js +8 -0
- package/dist/distributeur/Restitution/SectionRestitutionTitle.d.ts +6 -0
- package/dist/distributeur/Restitution/SectionRestitutionTitle.js +6 -0
- package/dist/distributeur/Restitution/index.d.ts +9 -0
- package/dist/distributeur/Restitution/index.js +9 -0
- package/dist/distributeur/Steps/Step.d.ts +8 -0
- package/dist/distributeur/Steps/Step.js +15 -0
- package/dist/distributeur/Steps/StepBase.d.ts +10 -0
- package/dist/distributeur/Steps/StepBase.js +9 -0
- package/dist/distributeur/Steps/StepCurrent.d.ts +5 -0
- package/dist/distributeur/Steps/StepCurrent.js +4 -0
- package/dist/distributeur/Steps/StepDisabled.d.ts +5 -0
- package/dist/distributeur/Steps/StepDisabled.js +4 -0
- package/dist/distributeur/Steps/StepLink.d.ts +10 -0
- package/dist/distributeur/Steps/StepLink.js +7 -0
- package/dist/distributeur/Steps/StepNoLink.d.ts +7 -0
- package/dist/distributeur/Steps/StepNoLink.js +4 -0
- package/dist/distributeur/Steps/Steps.d.ts +8 -0
- package/dist/distributeur/Steps/Steps.js +8 -0
- package/dist/distributeur/Steps/VerticalStep.d.ts +29 -0
- package/dist/distributeur/Steps/VerticalStep.js +22 -0
- package/dist/distributeur/Steps/index.d.ts +5 -0
- package/dist/distributeur/Steps/index.js +5 -0
- package/dist/distributeur/Steps/types.d.ts +8 -0
- package/dist/distributeur/Steps/types.js +1 -0
- package/dist/distributeur/Summary/index.d.ts +9 -0
- package/dist/distributeur/Summary/index.js +11 -0
- package/dist/distributeur/Svg/Svg.d.ts +7 -0
- package/dist/distributeur/Svg/Svg.js +50 -0
- package/dist/distributeur/Svg/index.d.ts +1 -0
- package/dist/distributeur/Svg/index.js +1 -0
- package/dist/distributeur/Svg/svgInjector.d.ts +12 -0
- package/dist/distributeur/Svg/svgInjector.js +28 -0
- package/dist/distributeur/Table/Pagination/Items.d.ts +30 -0
- package/dist/distributeur/Table/Pagination/Items.js +17 -0
- package/dist/distributeur/Table/Pagination/Li.d.ts +11 -0
- package/dist/distributeur/Table/Pagination/Li.js +14 -0
- package/dist/distributeur/Table/Pagination/LiPoint.d.ts +7 -0
- package/dist/distributeur/Table/Pagination/LiPoint.js +8 -0
- package/dist/distributeur/Table/Pagination/Pager.d.ts +41 -0
- package/dist/distributeur/Table/Pagination/Pager.js +16 -0
- package/dist/distributeur/Table/Pagination/PaginationButton.d.ts +13 -0
- package/dist/distributeur/Table/Pagination/PaginationButton.js +14 -0
- package/dist/distributeur/Table/Pagination/Paging.d.ts +15 -0
- package/dist/distributeur/Table/Pagination/Paging.js +21 -0
- package/dist/distributeur/Table/TBody.d.ts +6 -0
- package/dist/distributeur/Table/TBody.js +7 -0
- package/dist/distributeur/Table/THead.d.ts +6 -0
- package/dist/distributeur/Table/THead.js +7 -0
- package/dist/distributeur/Table/Table.d.ts +36 -0
- package/dist/distributeur/Table/Table.js +26 -0
- package/dist/distributeur/Table/Td.d.ts +6 -0
- package/dist/distributeur/Table/Td.js +7 -0
- package/dist/distributeur/Table/Th.d.ts +6 -0
- package/dist/distributeur/Table/Th.js +7 -0
- package/dist/distributeur/Table/Tr.d.ts +6 -0
- package/dist/distributeur/Table/Tr.js +7 -0
- package/dist/distributeur/Table/index.d.ts +9 -0
- package/dist/distributeur/Table/index.js +9 -0
- package/dist/distributeur/Tabs/Tabs.d.ts +8 -0
- package/dist/distributeur/Tabs/Tabs.js +6 -0
- package/dist/distributeur/Tabs/components/Pane.d.ts +8 -0
- package/dist/distributeur/Tabs/components/Pane.js +8 -0
- package/dist/distributeur/Tabs/components/Tab.d.ts +10 -0
- package/dist/distributeur/Tabs/components/Tab.js +4 -0
- package/dist/distributeur/Tabs/components/TabsCore.d.ts +10 -0
- package/dist/distributeur/Tabs/components/TabsCore.js +17 -0
- package/dist/distributeur/Tabs/components/TabsStateless.d.ts +13 -0
- package/dist/distributeur/Tabs/components/TabsStateless.js +11 -0
- package/dist/distributeur/Tabs/components/Title.d.ts +15 -0
- package/dist/distributeur/Tabs/components/Title.js +13 -0
- package/dist/distributeur/Tag/Tag.d.ts +32 -0
- package/dist/distributeur/Tag/Tag.js +32 -0
- package/dist/distributeur/Title/Title.d.ts +11 -0
- package/dist/distributeur/Title/Title.js +10 -0
- package/dist/distributeur/utilities/constants.d.ts +6 -0
- package/dist/distributeur/utilities/constants.js +7 -0
- package/dist/distributeur/utilities/helpers/date.d.ts +1 -0
- package/dist/distributeur/utilities/helpers/date.js +4 -0
- package/dist/distributeur/utilities/helpers/generateId.d.ts +1 -0
- package/dist/distributeur/utilities/helpers/generateId.js +10 -0
- package/dist/distributeur/utilities/helpers/getClassName.d.ts +20 -0
- package/dist/distributeur/utilities/helpers/getClassName.js +24 -0
- package/dist/distributeur/utilities/helpers/getComponentClassName.d.ts +20 -0
- package/dist/distributeur/utilities/helpers/getComponentClassName.js +54 -0
- package/dist/distributeur/utilities/hooks/useIsSmallScreen.d.ts +1 -0
- package/dist/distributeur/utilities/hooks/useIsSmallScreen.js +14 -0
- package/dist/distributeur/utilities.d.ts +3 -0
- package/dist/distributeur/utilities.js +3 -0
- package/dist/distributeur.d.ts +63 -0
- package/dist/distributeur.js +54 -0
- package/dist/prospect-client/Accordion/AccordionApollo.d.ts +4 -0
- package/dist/prospect-client/Accordion/AccordionApollo.js +8 -0
- package/dist/prospect-client/Accordion/AccordionCommon.d.ts +29 -0
- package/dist/prospect-client/Accordion/AccordionCommon.js +17 -0
- package/dist/prospect-client/Accordion/AccordionLF.d.ts +4 -0
- package/dist/prospect-client/Accordion/AccordionLF.js +8 -0
- package/dist/prospect-client/AccordionCore/AccordionCoreApollo.d.ts +3 -0
- package/dist/prospect-client/AccordionCore/AccordionCoreApollo.js +5 -0
- package/dist/prospect-client/AccordionCore/AccordionCoreCommon.d.ts +17 -0
- package/dist/prospect-client/AccordionCore/AccordionCoreCommon.js +22 -0
- package/dist/prospect-client/AccordionCore/AccordionCoreLF.d.ts +3 -0
- package/dist/prospect-client/AccordionCore/AccordionCoreLF.js +5 -0
- package/dist/prospect-client/BasePicture/BasePicture.d.ts +5 -0
- package/dist/prospect-client/BasePicture/BasePicture.js +4 -0
- package/dist/prospect-client/Button/ButtonApollo.d.ts +4 -0
- package/dist/prospect-client/Button/ButtonApollo.js +6 -0
- package/dist/prospect-client/Button/ButtonCommon.d.ts +23 -0
- package/dist/prospect-client/Button/ButtonCommon.js +13 -0
- package/dist/prospect-client/Button/ButtonLF.d.ts +4 -0
- package/dist/prospect-client/Button/ButtonLF.js +6 -0
- package/dist/prospect-client/CardMessage/CardMessageApollo.d.ts +2 -0
- package/dist/prospect-client/CardMessage/CardMessageApollo.js +2 -0
- package/dist/prospect-client/CardMessage/CardMessageCommon.d.ts +14 -0
- package/dist/prospect-client/CardMessage/CardMessageCommon.js +15 -0
- package/dist/prospect-client/CardMessage/CardMessageLF.d.ts +2 -0
- package/dist/prospect-client/CardMessage/CardMessageLF.js +2 -0
- package/dist/prospect-client/ClickIcon/ClickIconApollo.d.ts +2 -0
- package/dist/prospect-client/ClickIcon/ClickIconApollo.js +2 -0
- package/dist/prospect-client/ClickIcon/ClickIconCommon.d.ts +9 -0
- package/dist/prospect-client/ClickIcon/ClickIconCommon.js +3 -0
- package/dist/prospect-client/ClickIcon/ClickIconLF.d.ts +2 -0
- package/dist/prospect-client/ClickIcon/ClickIconLF.js +2 -0
- package/dist/prospect-client/ContentItemDuoAction/ContentItemDuoActionApollo.d.ts +4 -0
- package/dist/prospect-client/ContentItemDuoAction/ContentItemDuoActionApollo.js +6 -0
- package/dist/prospect-client/ContentItemDuoAction/ContentItemDuoActionCommon.d.ts +28 -0
- package/dist/prospect-client/ContentItemDuoAction/ContentItemDuoActionCommon.js +10 -0
- package/dist/prospect-client/ContentItemDuoAction/ContentItemDuoActionLF.d.ts +5 -0
- package/dist/prospect-client/ContentItemDuoAction/ContentItemDuoActionLF.js +7 -0
- package/dist/prospect-client/ContentItemMono/ContentItemMonoApollo.d.ts +3 -0
- package/dist/prospect-client/ContentItemMono/ContentItemMonoApollo.js +5 -0
- package/dist/prospect-client/ContentItemMono/ContentItemMonoCommon.d.ts +33 -0
- package/dist/prospect-client/ContentItemMono/ContentItemMonoCommon.js +28 -0
- package/dist/prospect-client/ContentItemMono/ContentItemMonoCore.d.ts +9 -0
- package/dist/prospect-client/ContentItemMono/ContentItemMonoCore.js +4 -0
- package/dist/prospect-client/ContentItemMono/ContentItemMonoLF.d.ts +3 -0
- package/dist/prospect-client/ContentItemMono/ContentItemMonoLF.js +5 -0
- package/dist/prospect-client/DataAgent/DataAgentApollo.d.ts +3 -0
- package/dist/prospect-client/DataAgent/DataAgentApollo.js +7 -0
- package/dist/prospect-client/DataAgent/DataAgentCommon.d.ts +21 -0
- package/dist/prospect-client/DataAgent/DataAgentCommon.js +17 -0
- package/dist/prospect-client/DataAgent/DataAgentLF.d.ts +3 -0
- package/dist/prospect-client/DataAgent/DataAgentLF.js +7 -0
- package/dist/prospect-client/Divider/DividerApollo.d.ts +2 -0
- package/dist/prospect-client/Divider/DividerApollo.js +2 -0
- package/dist/prospect-client/Divider/DividerCommon.d.ts +6 -0
- package/dist/prospect-client/Divider/DividerCommon.js +7 -0
- package/dist/prospect-client/Divider/DividerLF.d.ts +2 -0
- package/dist/prospect-client/Divider/DividerLF.js +2 -0
- package/dist/prospect-client/Form/Checkbox/CardCheckbox/CardCheckboxApollo.d.ts +6 -0
- package/dist/prospect-client/Form/Checkbox/CardCheckbox/CardCheckboxApollo.js +7 -0
- package/dist/prospect-client/Form/Checkbox/CardCheckbox/CardCheckboxCommon.d.ts +35 -0
- package/dist/prospect-client/Form/Checkbox/CardCheckbox/CardCheckboxCommon.js +31 -0
- package/dist/prospect-client/Form/Checkbox/CardCheckbox/CardCheckboxLF.d.ts +6 -0
- package/dist/prospect-client/Form/Checkbox/CardCheckbox/CardCheckboxLF.js +7 -0
- package/dist/prospect-client/Form/Checkbox/CardCheckboxOption/CardCheckboxOptionApollo.d.ts +3 -0
- package/dist/prospect-client/Form/Checkbox/CardCheckboxOption/CardCheckboxOptionApollo.js +6 -0
- package/dist/prospect-client/Form/Checkbox/CardCheckboxOption/CardCheckboxOptionCommon.d.ts +16 -0
- package/dist/prospect-client/Form/Checkbox/CardCheckboxOption/CardCheckboxOptionCommon.js +11 -0
- package/dist/prospect-client/Form/Checkbox/CardCheckboxOption/CardCheckboxOptionLF.d.ts +3 -0
- package/dist/prospect-client/Form/Checkbox/CardCheckboxOption/CardCheckboxOptionLF.js +6 -0
- package/dist/prospect-client/Form/Checkbox/Checkbox/CheckboxApollo.d.ts +2 -0
- package/dist/prospect-client/Form/Checkbox/Checkbox/CheckboxApollo.js +2 -0
- package/dist/prospect-client/Form/Checkbox/Checkbox/CheckboxCommon.d.ts +8 -0
- package/dist/prospect-client/Form/Checkbox/Checkbox/CheckboxCommon.js +4 -0
- package/dist/prospect-client/Form/Checkbox/Checkbox/CheckboxLF.d.ts +2 -0
- package/dist/prospect-client/Form/Checkbox/Checkbox/CheckboxLF.js +2 -0
- package/dist/prospect-client/Form/Checkbox/CheckboxText/CheckboxTextApollo.d.ts +3 -0
- package/dist/prospect-client/Form/Checkbox/CheckboxText/CheckboxTextApollo.js +8 -0
- package/dist/prospect-client/Form/Checkbox/CheckboxText/CheckboxTextCommon.d.ts +16 -0
- package/dist/prospect-client/Form/Checkbox/CheckboxText/CheckboxTextCommon.js +11 -0
- package/dist/prospect-client/Form/Checkbox/CheckboxText/CheckboxTextLF.d.ts +3 -0
- package/dist/prospect-client/Form/Checkbox/CheckboxText/CheckboxTextLF.js +8 -0
- package/dist/prospect-client/Form/Dropdown/DropdownApollo.d.ts +3 -0
- package/dist/prospect-client/Form/Dropdown/DropdownApollo.js +6 -0
- package/dist/prospect-client/Form/Dropdown/DropdownCommon.d.ts +26 -0
- package/dist/prospect-client/Form/Dropdown/DropdownCommon.js +13 -0
- package/dist/prospect-client/Form/Dropdown/DropdownLF.d.ts +3 -0
- package/dist/prospect-client/Form/Dropdown/DropdownLF.js +6 -0
- package/dist/prospect-client/Form/FileUpload/FileUpload/FileUploadApollo.d.ts +3 -0
- package/dist/prospect-client/Form/FileUpload/FileUpload/FileUploadApollo.js +7 -0
- package/dist/prospect-client/Form/FileUpload/FileUpload/FileUploadCommon.d.ts +18 -0
- package/dist/prospect-client/Form/FileUpload/FileUpload/FileUploadCommon.js +11 -0
- package/dist/prospect-client/Form/FileUpload/FileUpload/FileUploadLF.d.ts +3 -0
- package/dist/prospect-client/Form/FileUpload/FileUpload/FileUploadLF.js +7 -0
- package/dist/prospect-client/Form/FileUpload/InputFile/InputFileApollo.d.ts +4 -0
- package/dist/prospect-client/Form/FileUpload/InputFile/InputFileApollo.js +11 -0
- package/dist/prospect-client/Form/FileUpload/InputFile/InputFileCommon.d.ts +60 -0
- package/dist/prospect-client/Form/FileUpload/InputFile/InputFileCommon.js +39 -0
- package/dist/prospect-client/Form/FileUpload/InputFile/InputFileLF.d.ts +4 -0
- package/dist/prospect-client/Form/FileUpload/InputFile/InputFileLF.js +9 -0
- package/dist/prospect-client/Form/FileUpload/ItemFile/ItemFileApollo.d.ts +3 -0
- package/dist/prospect-client/Form/FileUpload/ItemFile/ItemFileApollo.js +10 -0
- package/dist/prospect-client/Form/FileUpload/ItemFile/ItemFileCommon.d.ts +54 -0
- package/dist/prospect-client/Form/FileUpload/ItemFile/ItemFileCommon.js +26 -0
- package/dist/prospect-client/Form/FileUpload/ItemFile/ItemFileLF.d.ts +3 -0
- package/dist/prospect-client/Form/FileUpload/ItemFile/ItemFileLF.js +10 -0
- package/dist/prospect-client/Form/InputDate/InputDate.helper.d.ts +8 -0
- package/dist/prospect-client/Form/InputDate/InputDate.helper.js +23 -0
- package/dist/prospect-client/Form/InputDate/InputDateApollo.d.ts +3 -0
- package/dist/prospect-client/Form/InputDate/InputDateApollo.js +8 -0
- package/dist/prospect-client/Form/InputDate/InputDateAtom.d.ts +9 -0
- package/dist/prospect-client/Form/InputDate/InputDateAtom.js +6 -0
- package/dist/prospect-client/Form/InputDate/InputDateCommon.d.ts +27 -0
- package/dist/prospect-client/Form/InputDate/InputDateCommon.js +30 -0
- package/dist/prospect-client/Form/InputDate/InputDateLF.d.ts +3 -0
- package/dist/prospect-client/Form/InputDate/InputDateLF.js +8 -0
- package/dist/prospect-client/Form/InputDate/InputDateTextAtom.d.ts +9 -0
- package/dist/prospect-client/Form/InputDate/InputDateTextAtom.js +16 -0
- package/dist/prospect-client/Form/InputPhone/CountryCodeSelect.d.ts +12 -0
- package/dist/prospect-client/Form/InputPhone/CountryCodeSelect.js +33 -0
- package/dist/prospect-client/Form/InputPhone/InputPhone.types.d.ts +4 -0
- package/dist/prospect-client/Form/InputPhone/InputPhone.types.js +1 -0
- package/dist/prospect-client/Form/InputPhone/InputPhoneApollo.d.ts +3 -0
- package/dist/prospect-client/Form/InputPhone/InputPhoneApollo.js +8 -0
- package/dist/prospect-client/Form/InputPhone/InputPhoneCommon.d.ts +35 -0
- package/dist/prospect-client/Form/InputPhone/InputPhoneCommon.js +32 -0
- package/dist/prospect-client/Form/InputPhone/InputPhoneLF.d.ts +3 -0
- package/dist/prospect-client/Form/InputPhone/InputPhoneLF.js +8 -0
- package/dist/prospect-client/Form/InputPhone/maskFrenchPhoneNumber.d.ts +1 -0
- package/dist/prospect-client/Form/InputPhone/maskFrenchPhoneNumber.js +12 -0
- package/dist/prospect-client/Form/InputText/InputTextApollo.d.ts +3 -0
- package/dist/prospect-client/Form/InputText/InputTextApollo.js +9 -0
- package/dist/prospect-client/Form/InputText/InputTextCommon.d.ts +24 -0
- package/dist/prospect-client/Form/InputText/InputTextCommon.js +14 -0
- package/dist/prospect-client/Form/InputText/InputTextLF.d.ts +3 -0
- package/dist/prospect-client/Form/InputText/InputTextLF.js +9 -0
- package/dist/prospect-client/Form/InputTextAtom/InputTextAtomApollo.d.ts +2 -0
- package/dist/prospect-client/Form/InputTextAtom/InputTextAtomApollo.js +2 -0
- package/dist/prospect-client/Form/InputTextAtom/InputTextAtomCommon.d.ts +10 -0
- package/dist/prospect-client/Form/InputTextAtom/InputTextAtomCommon.js +11 -0
- package/dist/prospect-client/Form/InputTextAtom/InputTextAtomLF.d.ts +2 -0
- package/dist/prospect-client/Form/InputTextAtom/InputTextAtomLF.js +2 -0
- package/dist/prospect-client/Form/ItemLabel/ItemLabelApollo.d.ts +3 -0
- package/dist/prospect-client/Form/ItemLabel/ItemLabelApollo.js +5 -0
- package/dist/prospect-client/Form/ItemLabel/ItemLabelCommon.d.ts +103 -0
- package/dist/prospect-client/Form/ItemLabel/ItemLabelCommon.js +55 -0
- package/dist/prospect-client/Form/ItemLabel/ItemLabelLF.d.ts +3 -0
- package/dist/prospect-client/Form/ItemLabel/ItemLabelLF.js +5 -0
- package/dist/prospect-client/Form/ItemMessage/ItemMessageApollo.d.ts +2 -0
- package/dist/prospect-client/Form/ItemMessage/ItemMessageApollo.js +2 -0
- package/dist/prospect-client/Form/ItemMessage/ItemMessageCommon.d.ts +13 -0
- package/dist/prospect-client/Form/ItemMessage/ItemMessageCommon.js +23 -0
- package/dist/prospect-client/Form/ItemMessage/ItemMessageLF.d.ts +2 -0
- package/dist/prospect-client/Form/ItemMessage/ItemMessageLF.js +2 -0
- package/dist/prospect-client/Form/Radio/CardRadio/CardRadioApollo.d.ts +3 -0
- package/dist/prospect-client/Form/Radio/CardRadio/CardRadioApollo.js +6 -0
- package/dist/prospect-client/Form/Radio/CardRadio/CardRadioCommon.d.ts +39 -0
- package/dist/prospect-client/Form/Radio/CardRadio/CardRadioCommon.js +16 -0
- package/dist/prospect-client/Form/Radio/CardRadio/CardRadioLF.d.ts +3 -0
- package/dist/prospect-client/Form/Radio/CardRadio/CardRadioLF.js +6 -0
- package/dist/prospect-client/Form/Radio/CardRadioOption/CardRadioOptionApollo.d.ts +3 -0
- package/dist/prospect-client/Form/Radio/CardRadioOption/CardRadioOptionApollo.js +6 -0
- package/dist/prospect-client/Form/Radio/CardRadioOption/CardRadioOptionCommon.d.ts +50 -0
- package/dist/prospect-client/Form/Radio/CardRadioOption/CardRadioOptionCommon.js +12 -0
- package/dist/prospect-client/Form/Radio/CardRadioOption/CardRadioOptionLF.d.ts +3 -0
- package/dist/prospect-client/Form/Radio/CardRadioOption/CardRadioOptionLF.js +6 -0
- package/dist/prospect-client/Form/Radio/Radio/RadioApollo.d.ts +2 -0
- package/dist/prospect-client/Form/Radio/Radio/RadioApollo.js +2 -0
- package/dist/prospect-client/Form/Radio/Radio/RadioCommon.d.ts +5 -0
- package/dist/prospect-client/Form/Radio/Radio/RadioCommon.js +6 -0
- package/dist/prospect-client/Form/Radio/Radio/RadioLF.d.ts +2 -0
- package/dist/prospect-client/Form/Radio/Radio/RadioLF.js +2 -0
- package/dist/prospect-client/Form/TextArea/TextAreaApollo.d.ts +3 -0
- package/dist/prospect-client/Form/TextArea/TextAreaApollo.js +8 -0
- package/dist/prospect-client/Form/TextArea/TextAreaCommon.d.ts +17 -0
- package/dist/prospect-client/Form/TextArea/TextAreaCommon.js +14 -0
- package/dist/prospect-client/Form/TextArea/TextAreaLF.d.ts +3 -0
- package/dist/prospect-client/Form/TextArea/TextAreaLF.js +8 -0
- package/dist/prospect-client/Grid/DebugGridApollo.d.ts +2 -0
- package/dist/prospect-client/Grid/DebugGridApollo.js +4 -0
- package/dist/prospect-client/Grid/DebugGridCommon.d.ts +11 -0
- package/dist/prospect-client/Grid/DebugGridCommon.js +10 -0
- package/dist/prospect-client/Grid/DebugGridLF.d.ts +2 -0
- package/dist/prospect-client/Grid/DebugGridLF.js +4 -0
- package/dist/prospect-client/Heading/HeadingApollo.d.ts +4 -0
- package/dist/prospect-client/Heading/HeadingApollo.js +5 -0
- package/dist/prospect-client/Heading/HeadingCommon.d.ts +15 -0
- package/dist/prospect-client/Heading/HeadingCommon.js +8 -0
- package/dist/prospect-client/Heading/HeadingLF.d.ts +4 -0
- package/dist/prospect-client/Heading/HeadingLF.js +5 -0
- package/dist/prospect-client/Heading/HeadingWithSubheadings.d.ts +10 -0
- package/dist/prospect-client/Heading/HeadingWithSubheadings.js +2 -0
- package/dist/prospect-client/Heading/types.d.ts +6 -0
- package/dist/prospect-client/Heading/types.js +1 -0
- package/dist/prospect-client/Icon/IconApollo.d.ts +2 -0
- package/dist/prospect-client/Icon/IconApollo.js +2 -0
- package/dist/prospect-client/Icon/IconCommon.d.ts +21 -0
- package/dist/prospect-client/Icon/IconCommon.js +28 -0
- package/dist/prospect-client/Icon/IconLF.d.ts +2 -0
- package/dist/prospect-client/Icon/IconLF.js +2 -0
- package/dist/prospect-client/ItemTabBar/ItemTabBarApollo.d.ts +2 -0
- package/dist/prospect-client/ItemTabBar/ItemTabBarApollo.js +2 -0
- package/dist/prospect-client/ItemTabBar/ItemTabBarCommon.d.ts +6 -0
- package/dist/prospect-client/ItemTabBar/ItemTabBarCommon.js +8 -0
- package/dist/prospect-client/ItemTabBar/ItemTabBarLF.d.ts +2 -0
- package/dist/prospect-client/ItemTabBar/ItemTabBarLF.js +2 -0
- package/dist/prospect-client/Layout/Footer/DynamicIcons.d.ts +4 -0
- package/dist/prospect-client/Layout/Footer/DynamicIcons.js +20 -0
- package/dist/prospect-client/Layout/Footer/FooterApollo.d.ts +2 -0
- package/dist/prospect-client/Layout/Footer/FooterApollo.js +2 -0
- package/dist/prospect-client/Layout/Footer/FooterCommon.d.ts +10 -0
- package/dist/prospect-client/Layout/Footer/FooterCommon.js +14 -0
- package/dist/prospect-client/Layout/Footer/FooterLF.d.ts +2 -0
- package/dist/prospect-client/Layout/Footer/FooterLF.js +2 -0
- package/dist/prospect-client/Layout/Footer/MenuIcons.d.ts +9 -0
- package/dist/prospect-client/Layout/Footer/MenuIcons.js +8 -0
- package/dist/prospect-client/Layout/Footer/MenuLink.d.ts +11 -0
- package/dist/prospect-client/Layout/Footer/MenuLink.js +11 -0
- package/dist/prospect-client/Link/LinkApollo.d.ts +2 -0
- package/dist/prospect-client/Link/LinkApollo.js +2 -0
- package/dist/prospect-client/Link/LinkCommon.d.ts +17 -0
- package/dist/prospect-client/Link/LinkCommon.js +20 -0
- package/dist/prospect-client/Link/LinkLF.d.ts +2 -0
- package/dist/prospect-client/Link/LinkLF.js +2 -0
- package/dist/prospect-client/List/ClickItem/ClickItemApollo.d.ts +4 -0
- package/dist/prospect-client/List/ClickItem/ClickItemApollo.js +8 -0
- package/dist/prospect-client/List/ClickItem/ClickItemCommon.d.ts +15 -0
- package/dist/prospect-client/List/ClickItem/ClickItemCommon.js +31 -0
- package/dist/prospect-client/List/ClickItem/ClickItemLF.d.ts +4 -0
- package/dist/prospect-client/List/ClickItem/ClickItemLF.js +8 -0
- package/dist/prospect-client/List/ClickItem/ClickItemWrapper.d.ts +6 -0
- package/dist/prospect-client/List/ClickItem/ClickItemWrapper.js +7 -0
- package/dist/prospect-client/List/ClickItem/components/ClickItemContentApollo.d.ts +2 -0
- package/dist/prospect-client/List/ClickItem/components/ClickItemContentApollo.js +4 -0
- package/dist/prospect-client/List/ClickItem/components/ClickItemContentCommon.d.ts +14 -0
- package/dist/prospect-client/List/ClickItem/components/ClickItemContentCommon.js +4 -0
- package/dist/prospect-client/List/ClickItem/components/ClickItemContentLF.d.ts +2 -0
- package/dist/prospect-client/List/ClickItem/components/ClickItemContentLF.js +4 -0
- package/dist/prospect-client/List/ClickItem/components/ClickItemPrefixApollo.d.ts +2 -0
- package/dist/prospect-client/List/ClickItem/components/ClickItemPrefixApollo.js +4 -0
- package/dist/prospect-client/List/ClickItem/components/ClickItemPrefixCommon.d.ts +14 -0
- package/dist/prospect-client/List/ClickItem/components/ClickItemPrefixCommon.js +11 -0
- package/dist/prospect-client/List/ClickItem/components/ClickItemPrefixLF.d.ts +2 -0
- package/dist/prospect-client/List/ClickItem/components/ClickItemPrefixLF.js +4 -0
- package/dist/prospect-client/List/ClickItem/components/ClickItemSuffixApollo.d.ts +2 -0
- package/dist/prospect-client/List/ClickItem/components/ClickItemSuffixApollo.js +6 -0
- package/dist/prospect-client/List/ClickItem/components/ClickItemSuffixCommon.d.ts +14 -0
- package/dist/prospect-client/List/ClickItem/components/ClickItemSuffixCommon.js +14 -0
- package/dist/prospect-client/List/ClickItem/components/ClickItemSuffixLF.d.ts +2 -0
- package/dist/prospect-client/List/ClickItem/components/ClickItemSuffixLF.js +6 -0
- package/dist/prospect-client/List/ContentItemDuo/ContentItemDuoApollo.d.ts +3 -0
- package/dist/prospect-client/List/ContentItemDuo/ContentItemDuoApollo.js +5 -0
- package/dist/prospect-client/List/ContentItemDuo/ContentItemDuoCommon.d.ts +16 -0
- package/dist/prospect-client/List/ContentItemDuo/ContentItemDuoCommon.js +13 -0
- package/dist/prospect-client/List/ContentItemDuo/ContentItemDuoLF.d.ts +3 -0
- package/dist/prospect-client/List/ContentItemDuo/ContentItemDuoLF.js +5 -0
- package/dist/prospect-client/Message/Message.helpers.d.ts +5 -0
- package/dist/prospect-client/Message/Message.helpers.js +7 -0
- package/dist/prospect-client/Message/MessageApollo.d.ts +5 -0
- package/dist/prospect-client/Message/MessageApollo.js +6 -0
- package/dist/prospect-client/Message/MessageCommon.d.ts +25 -0
- package/dist/prospect-client/Message/MessageCommon.js +14 -0
- package/dist/prospect-client/Message/MessageLF.d.ts +5 -0
- package/dist/prospect-client/Message/MessageLF.js +6 -0
- package/dist/prospect-client/Message/constants.d.ts +3 -0
- package/dist/prospect-client/Message/constants.js +19 -0
- package/dist/prospect-client/Message/types.d.ts +1 -0
- package/dist/prospect-client/Message/types.js +1 -0
- package/dist/prospect-client/Modal/ModalApollo.d.ts +8 -0
- package/dist/prospect-client/Modal/ModalApollo.js +13 -0
- package/dist/prospect-client/Modal/ModalCommon.d.ts +10 -0
- package/dist/prospect-client/Modal/ModalCommon.js +8 -0
- package/dist/prospect-client/Modal/ModalLF.d.ts +8 -0
- package/dist/prospect-client/Modal/ModalLF.js +13 -0
- package/dist/prospect-client/Modal/components/ModalCore.d.ts +6 -0
- package/dist/prospect-client/Modal/components/ModalCore.js +7 -0
- package/dist/prospect-client/Modal/components/ModalCoreBody.d.ts +2 -0
- package/dist/prospect-client/Modal/components/ModalCoreBody.js +14 -0
- package/dist/prospect-client/Modal/components/ModalCoreFooterApollo.d.ts +2 -0
- package/dist/prospect-client/Modal/components/ModalCoreFooterApollo.js +4 -0
- package/dist/prospect-client/Modal/components/ModalCoreFooterCommon.d.ts +10 -0
- package/dist/prospect-client/Modal/components/ModalCoreFooterCommon.js +10 -0
- package/dist/prospect-client/Modal/components/ModalCoreFooterLF.d.ts +2 -0
- package/dist/prospect-client/Modal/components/ModalCoreFooterLF.js +4 -0
- package/dist/prospect-client/Modal/components/ModalCoreHeaderApollo.d.ts +2 -0
- package/dist/prospect-client/Modal/components/ModalCoreHeaderApollo.js +5 -0
- package/dist/prospect-client/Modal/components/ModalCoreHeaderCommon.d.ts +13 -0
- package/dist/prospect-client/Modal/components/ModalCoreHeaderCommon.js +4 -0
- package/dist/prospect-client/Modal/components/ModalCoreHeaderLF.d.ts +2 -0
- package/dist/prospect-client/Modal/components/ModalCoreHeaderLF.js +5 -0
- package/dist/prospect-client/Modal/types.d.ts +12 -0
- package/dist/prospect-client/Modal/types.js +1 -0
- package/dist/prospect-client/Pagination/ItemPagination/ItemPaginationApollo.d.ts +3 -0
- package/dist/prospect-client/Pagination/ItemPagination/ItemPaginationApollo.js +3 -0
- package/dist/prospect-client/Pagination/ItemPagination/ItemPaginationCommon.d.ts +10 -0
- package/dist/prospect-client/Pagination/ItemPagination/ItemPaginationCommon.js +11 -0
- package/dist/prospect-client/Pagination/ItemPagination/ItemPaginationLF.d.ts +3 -0
- package/dist/prospect-client/Pagination/ItemPagination/ItemPaginationLF.js +3 -0
- package/dist/prospect-client/Pagination/Pagination.helper.d.ts +9 -0
- package/dist/prospect-client/Pagination/Pagination.helper.js +34 -0
- package/dist/prospect-client/Pagination/PaginationApollo.d.ts +4 -0
- package/dist/prospect-client/Pagination/PaginationApollo.js +5 -0
- package/dist/prospect-client/Pagination/PaginationCommon.d.ts +14 -0
- package/dist/prospect-client/Pagination/PaginationCommon.js +20 -0
- package/dist/prospect-client/Pagination/PaginationLF.d.ts +4 -0
- package/dist/prospect-client/Pagination/PaginationLF.js +5 -0
- package/dist/prospect-client/ProgressBar/ProgressBarApollo.d.ts +2 -0
- package/dist/prospect-client/ProgressBar/ProgressBarApollo.js +2 -0
- package/dist/prospect-client/ProgressBar/ProgressBarCommon.d.ts +9 -0
- package/dist/prospect-client/ProgressBar/ProgressBarCommon.js +8 -0
- package/dist/prospect-client/ProgressBar/ProgressBarLF.d.ts +2 -0
- package/dist/prospect-client/ProgressBar/ProgressBarLF.js +2 -0
- package/dist/prospect-client/ProgressBarGroup/ProgressBarGroupApollo.d.ts +3 -0
- package/dist/prospect-client/ProgressBarGroup/ProgressBarGroupApollo.js +5 -0
- package/dist/prospect-client/ProgressBarGroup/ProgressBarGroupCommon.d.ts +18 -0
- package/dist/prospect-client/ProgressBarGroup/ProgressBarGroupCommon.js +9 -0
- package/dist/prospect-client/ProgressBarGroup/ProgressBarGroupLF.d.ts +3 -0
- package/dist/prospect-client/ProgressBarGroup/ProgressBarGroupLF.js +5 -0
- package/dist/prospect-client/ProgressBarGroup/useSequentialProgress.d.ts +20 -0
- package/dist/prospect-client/ProgressBarGroup/useSequentialProgress.js +80 -0
- package/dist/prospect-client/Spinner/SpinnerApollo.d.ts +2 -0
- package/dist/prospect-client/Spinner/SpinnerApollo.js +2 -0
- package/dist/prospect-client/Spinner/SpinnerCommon.d.ts +17 -0
- package/dist/prospect-client/Spinner/SpinnerCommon.js +19 -0
- package/dist/prospect-client/Spinner/SpinnerLF.d.ts +2 -0
- package/dist/prospect-client/Spinner/SpinnerLF.js +2 -0
- package/dist/prospect-client/Stepper/StepperApollo.d.ts +3 -0
- package/dist/prospect-client/Stepper/StepperApollo.js +5 -0
- package/dist/prospect-client/Stepper/StepperCommon.d.ts +18 -0
- package/dist/prospect-client/Stepper/StepperCommon.js +8 -0
- package/dist/prospect-client/Stepper/StepperLF.d.ts +3 -0
- package/dist/prospect-client/Stepper/StepperLF.js +5 -0
- package/dist/prospect-client/Svg/Svg.d.ts +11 -0
- package/dist/prospect-client/Svg/Svg.js +54 -0
- package/dist/prospect-client/Svg/svgInjector.d.ts +12 -0
- package/dist/prospect-client/Svg/svgInjector.js +31 -0
- package/dist/prospect-client/TabBar/TabBarApollo.d.ts +4 -0
- package/dist/prospect-client/TabBar/TabBarApollo.js +6 -0
- package/dist/prospect-client/TabBar/TabBarCommon.d.ts +19 -0
- package/dist/prospect-client/TabBar/TabBarCommon.js +48 -0
- package/dist/prospect-client/TabBar/TabBarLF.d.ts +4 -0
- package/dist/prospect-client/TabBar/TabBarLF.js +6 -0
- package/dist/prospect-client/Tag/TagApollo.d.ts +2 -0
- package/dist/prospect-client/Tag/TagApollo.js +2 -0
- package/dist/prospect-client/Tag/TagCommon.d.ts +13 -0
- package/dist/prospect-client/Tag/TagCommon.js +14 -0
- package/dist/prospect-client/Tag/TagLF.d.ts +2 -0
- package/dist/prospect-client/Tag/TagLF.js +2 -0
- package/dist/prospect-client/TimelineVertical/TimelineVerticalApollo.d.ts +4 -0
- package/dist/prospect-client/TimelineVertical/TimelineVerticalApollo.js +5 -0
- package/dist/prospect-client/TimelineVertical/TimelineVerticalCommon.d.ts +7 -0
- package/dist/prospect-client/TimelineVertical/TimelineVerticalCommon.js +3 -0
- package/dist/prospect-client/TimelineVertical/TimelineVerticalLF.d.ts +4 -0
- package/dist/prospect-client/TimelineVertical/TimelineVerticalLF.js +5 -0
- package/dist/prospect-client/TimelineVertical/types.d.ts +5 -0
- package/dist/prospect-client/TimelineVertical/types.js +1 -0
- package/dist/prospect-client/Toggle/ToggleApollo.d.ts +2 -0
- package/dist/prospect-client/Toggle/ToggleApollo.js +2 -0
- package/dist/prospect-client/Toggle/ToggleCommon.d.ts +3 -0
- package/dist/prospect-client/Toggle/ToggleCommon.js +9 -0
- package/dist/prospect-client/Toggle/ToggleLF.d.ts +2 -0
- package/dist/prospect-client/Toggle/ToggleLF.js +2 -0
- package/dist/prospect-client/utilities/constants.d.ts +6 -0
- package/dist/prospect-client/utilities/constants.js +6 -0
- package/dist/prospect-client/utilities/generateId.d.ts +1 -0
- package/dist/prospect-client/utilities/generateId.js +10 -0
- package/dist/prospect-client/utilities/getClassName.d.ts +20 -0
- package/dist/prospect-client/utilities/getClassName.js +24 -0
- package/dist/prospect-client/utilities/getComponentClassName.d.ts +4 -0
- package/dist/prospect-client/utilities/getComponentClassName.js +30 -0
- package/dist/prospect-client/utilities/hook/useHasScroll.d.ts +6 -0
- package/dist/prospect-client/utilities/hook/useHasScroll.js +30 -0
- package/dist/prospect-client/utilities/hook/useIsSmallScreen.d.ts +1 -0
- package/dist/prospect-client/utilities/hook/useIsSmallScreen.js +14 -0
- package/dist/prospect-client/utilities/types/PolymorphicComponent.d.ts +8 -0
- package/dist/prospect-client/utilities/types/PolymorphicComponent.js +1 -0
- package/dist/prospect.d.ts +56 -0
- package/dist/prospect.js +55 -0
- package/package.json +90 -0
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
import { type ComponentProps, type ComponentType, type ReactNode } from "react";
|
|
2
|
+
import type { Icon as IconCommon } from "../../../Icon/IconCommon";
|
|
3
|
+
import { BasePicture } from "../../../BasePicture/BasePicture";
|
|
4
|
+
import type { Radio } from "../Radio/RadioCommon";
|
|
5
|
+
type BaseCardRadioOptionProps = Omit<ComponentProps<typeof Radio>, "size"> & {
|
|
6
|
+
label: ReactNode;
|
|
7
|
+
description?: ReactNode;
|
|
8
|
+
subtitle?: ReactNode;
|
|
9
|
+
};
|
|
10
|
+
export type CardRadioOptionProps = (BaseCardRadioOptionProps & {
|
|
11
|
+
type?: "vertical" | "horizontal";
|
|
12
|
+
icon?: ComponentProps<typeof IconCommon>["src"];
|
|
13
|
+
src?: undefined;
|
|
14
|
+
basePictureProps?: undefined;
|
|
15
|
+
}) | (BaseCardRadioOptionProps & {
|
|
16
|
+
type: "horizontal";
|
|
17
|
+
src?: ComponentProps<typeof BasePicture>["src"];
|
|
18
|
+
basePictureProps?: Omit<ComponentProps<typeof BasePicture>, "src">;
|
|
19
|
+
icon?: undefined;
|
|
20
|
+
});
|
|
21
|
+
export type CardRadioOptionCommonProps = CardRadioOptionProps & {
|
|
22
|
+
RadioComponent: ComponentType<ComponentProps<typeof Radio>>;
|
|
23
|
+
IconComponent: ComponentType<ComponentProps<typeof IconCommon>>;
|
|
24
|
+
};
|
|
25
|
+
export declare const CardRadioOptionCommon: import("react").ForwardRefExoticComponent<(Omit<Omit<Omit<import("../Radio/RadioCommon").RadioProps, "ref"> & import("react").RefAttributes<HTMLInputElement>, "size"> & {
|
|
26
|
+
label: ReactNode;
|
|
27
|
+
description?: ReactNode;
|
|
28
|
+
subtitle?: ReactNode;
|
|
29
|
+
} & {
|
|
30
|
+
type?: "vertical" | "horizontal";
|
|
31
|
+
icon?: ComponentProps<typeof IconCommon>["src"];
|
|
32
|
+
src?: undefined;
|
|
33
|
+
basePictureProps?: undefined;
|
|
34
|
+
} & {
|
|
35
|
+
RadioComponent: ComponentType<ComponentProps<typeof Radio>>;
|
|
36
|
+
IconComponent: ComponentType<ComponentProps<typeof IconCommon>>;
|
|
37
|
+
}, "ref"> | Omit<Omit<Omit<import("../Radio/RadioCommon").RadioProps, "ref"> & import("react").RefAttributes<HTMLInputElement>, "size"> & {
|
|
38
|
+
label: ReactNode;
|
|
39
|
+
description?: ReactNode;
|
|
40
|
+
subtitle?: ReactNode;
|
|
41
|
+
} & {
|
|
42
|
+
type: "horizontal";
|
|
43
|
+
src?: ComponentProps<typeof BasePicture>["src"];
|
|
44
|
+
basePictureProps?: Omit<ComponentProps<typeof BasePicture>, "src">;
|
|
45
|
+
icon?: undefined;
|
|
46
|
+
} & {
|
|
47
|
+
RadioComponent: ComponentType<ComponentProps<typeof Radio>>;
|
|
48
|
+
IconComponent: ComponentType<ComponentProps<typeof IconCommon>>;
|
|
49
|
+
}, "ref">) & import("react").RefAttributes<HTMLInputElement>>;
|
|
50
|
+
export {};
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
+
import { forwardRef, } from "react";
|
|
3
|
+
import { BasePicture } from "../../../BasePicture/BasePicture";
|
|
4
|
+
export const CardRadioOptionCommon = forwardRef(({ label, type, description, subtitle, icon, src, basePictureProps, isInvalid, className, RadioComponent, IconComponent, ...inputProps }, ref) => (_jsxs("label", { className: [
|
|
5
|
+
"af-card-radio-option",
|
|
6
|
+
isInvalid && "af-card-radio-option--invalid",
|
|
7
|
+
type === "horizontal" && "af-card-radio-option--horizontal",
|
|
8
|
+
className,
|
|
9
|
+
]
|
|
10
|
+
.filter(Boolean)
|
|
11
|
+
.join(" "), children: [icon ? _jsx(IconComponent, { src: icon, role: "presentation" }) : null, type === "horizontal" && src ? (_jsx(BasePicture, { src: src, ...basePictureProps })) : null, _jsxs("div", { className: "af-card-radio-option__content", children: [_jsx("p", { className: "af-card-radio-option__label", children: label }), Boolean(description) && (_jsx("p", { className: "af-card-radio-option__description", children: description })), Boolean(subtitle) && (_jsx("p", { className: "af-card-radio-option__subtitle", children: subtitle }))] }), _jsx(RadioComponent, { ...inputProps, isInvalid: isInvalid, ref: ref })] })));
|
|
12
|
+
CardRadioOptionCommon.displayName = "CardRadioOptionCommon";
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
+
import { Icon } from "../../../Icon/IconLF";
|
|
3
|
+
import { Radio } from "../Radio/RadioLF";
|
|
4
|
+
import { CardRadioOptionCommon, } from "./CardRadioOptionCommon";
|
|
5
|
+
import "@axa-fr/canopee-css/client/Form/Radio/CardRadioOption/CardRadioOptionLF.css";
|
|
6
|
+
export const CardRadioOption = (props) => (_jsx(CardRadioOptionCommon, { ...props, RadioComponent: Radio, IconComponent: Icon }));
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { type ComponentProps } from "react";
|
|
2
|
+
export type RadioProps = Omit<ComponentProps<"input">, "disabled" | "type"> & {
|
|
3
|
+
isInvalid?: boolean;
|
|
4
|
+
};
|
|
5
|
+
export declare const Radio: import("react").ForwardRefExoticComponent<Omit<RadioProps, "ref"> & import("react").RefAttributes<HTMLInputElement>>;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
+
import { forwardRef } from "react";
|
|
3
|
+
export const Radio = forwardRef(({ className, isInvalid, ...props }, ref) => (_jsx("input", { ...props, className: ["af-radio", isInvalid && "af-radio--invalid", className]
|
|
4
|
+
.filter(Boolean)
|
|
5
|
+
.join(" "), type: "radio", ref: ref })));
|
|
6
|
+
Radio.displayName = "Radio";
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import "@axa-fr/canopee-css/prospect/Form/TextArea/TextAreaApollo.css";
|
|
2
|
+
import { type TextAreaProps } from "./TextAreaCommon";
|
|
3
|
+
export declare const TextArea: import("react").ForwardRefExoticComponent<Omit<TextAreaProps, "ref"> & import("react").RefAttributes<HTMLTextAreaElement>>;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
+
import "@axa-fr/canopee-css/prospect/Form/TextArea/TextAreaApollo.css";
|
|
3
|
+
import { forwardRef } from "react";
|
|
4
|
+
import { ItemLabel } from "../ItemLabel/ItemLabelApollo";
|
|
5
|
+
import { ItemMessage } from "../ItemMessage/ItemMessageApollo";
|
|
6
|
+
import { TextAreaCommon } from "./TextAreaCommon";
|
|
7
|
+
export const TextArea = forwardRef((props, ref) => (_jsx(TextAreaCommon, { ...props, ref: ref, ItemLabelComponent: ItemLabel, ItemMessageComponent: ItemMessage })));
|
|
8
|
+
TextArea.displayName = "TextArea";
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { type ComponentProps, ComponentPropsWithRef, type ComponentType, MouseEventHandler } from "react";
|
|
2
|
+
import { ItemLabelCommon, type ItemLabelProps } from "../ItemLabel/ItemLabelCommon";
|
|
3
|
+
import { ItemMessage, type ItemMessageProps } from "../ItemMessage/ItemMessageCommon";
|
|
4
|
+
export type TextAreaProps = ComponentPropsWithRef<"textarea"> & {
|
|
5
|
+
helper?: string;
|
|
6
|
+
/**
|
|
7
|
+
* @deprecated Use `message` and messageType instead.
|
|
8
|
+
*/
|
|
9
|
+
error?: string;
|
|
10
|
+
onButtonClick?: MouseEventHandler<HTMLButtonElement>;
|
|
11
|
+
} & Partial<ItemMessageProps & ItemLabelProps>;
|
|
12
|
+
type TextAreaCommonProps = TextAreaProps & {
|
|
13
|
+
ItemLabelComponent: ComponentType<Omit<ComponentProps<typeof ItemLabelCommon>, "ButtonComponent">>;
|
|
14
|
+
ItemMessageComponent: ComponentType<ComponentProps<typeof ItemMessage>>;
|
|
15
|
+
};
|
|
16
|
+
declare const TextAreaCommon: import("react").ForwardRefExoticComponent<Omit<TextAreaCommonProps, "ref"> & import("react").RefAttributes<HTMLTextAreaElement>>;
|
|
17
|
+
export { TextAreaCommon };
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
+
import { forwardRef, useId, } from "react";
|
|
3
|
+
const TextAreaCommon = forwardRef(({ id, className, label, description, helper, error, message, messageType, buttonLabel, onButtonClick, required, sideButtonLabel, ItemLabelComponent, ItemMessageComponent, onSideButtonClick, placeholder = " ", ...inputProps }, inputRef) => {
|
|
4
|
+
const generatedId = useId();
|
|
5
|
+
const inputId = id ?? generatedId;
|
|
6
|
+
const helperId = `${inputId}-helper`;
|
|
7
|
+
const messageId = `${inputId}-error`;
|
|
8
|
+
const hasError = (Boolean(message) && messageType === "error") || Boolean(error);
|
|
9
|
+
return (_jsxs("div", { className: ["af-form__input-container", className]
|
|
10
|
+
.filter(Boolean)
|
|
11
|
+
.join(" "), children: [_jsx(ItemLabelComponent, { label: label, description: description, buttonLabel: buttonLabel, onButtonClick: onButtonClick, sideButtonLabel: sideButtonLabel, onSideButtonClick: onSideButtonClick, required: required, inputId: inputId }), _jsx("textarea", { id: inputId, className: "af-form__textarea", ref: inputRef, "aria-errormessage": hasError ? messageId : undefined, "aria-describedby": helper ? helperId : undefined, required: required, "aria-invalid": hasError || undefined, placeholder: placeholder, ...inputProps }), helper ? (_jsx("span", { id: helperId, className: "af-form__input-helper", children: helper })) : null, _jsx(ItemMessageComponent, { id: messageId, message: message || error, messageType: messageType })] }));
|
|
12
|
+
});
|
|
13
|
+
TextAreaCommon.displayName = "TextArea";
|
|
14
|
+
export { TextAreaCommon };
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import "@axa-fr/canopee-css/client/Form/TextArea/TextAreaLF.css";
|
|
2
|
+
import { type TextAreaProps } from "./TextAreaCommon";
|
|
3
|
+
export declare const TextArea: import("react").ForwardRefExoticComponent<Omit<TextAreaProps, "ref"> & import("react").RefAttributes<HTMLTextAreaElement>>;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
+
import "@axa-fr/canopee-css/client/Form/TextArea/TextAreaLF.css";
|
|
3
|
+
import { forwardRef } from "react";
|
|
4
|
+
import { ItemLabel } from "../ItemLabel/ItemLabelLF";
|
|
5
|
+
import { ItemMessage } from "../ItemMessage/ItemMessageLF";
|
|
6
|
+
import { TextAreaCommon } from "./TextAreaCommon";
|
|
7
|
+
export const TextArea = forwardRef((props, ref) => (_jsx(TextAreaCommon, { ...props, ref: ref, ItemLabelComponent: ItemLabel, ItemMessageComponent: ItemMessage })));
|
|
8
|
+
TextArea.displayName = "TextArea";
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
+
import { CardCheckboxOption } from "../Form/Checkbox/CardCheckboxOption/CardCheckboxOptionApollo";
|
|
3
|
+
import { DebugGridCommon } from "./DebugGridCommon";
|
|
4
|
+
export const DebugGrid = ({ ...props }) => (_jsx(DebugGridCommon, { ...props, CardCheckboxOption: CardCheckboxOption }));
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import "@axa-fr/canopee-css/prospect/Grid/DebugGrid.css";
|
|
2
|
+
import type { ComponentType } from "react";
|
|
3
|
+
import type { CardCheckboxOptionProps } from "../Form/Checkbox/CardCheckboxOption/CardCheckboxOptionCommon";
|
|
4
|
+
export type DebugGridProps<P = object> = P & {
|
|
5
|
+
cols?: number;
|
|
6
|
+
isCheckedByDefault?: boolean;
|
|
7
|
+
};
|
|
8
|
+
export type DebugGridCommonProps<P = object> = DebugGridProps<P> & {
|
|
9
|
+
CardCheckboxOption: ComponentType<CardCheckboxOptionProps>;
|
|
10
|
+
};
|
|
11
|
+
export declare const DebugGridCommon: <P = object>({ cols, isCheckedByDefault, CardCheckboxOption, ...props }: DebugGridCommonProps<P>) => import("react/jsx-runtime").JSX.Element | null;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { jsx as _jsx, Fragment as _Fragment, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
+
import "@axa-fr/canopee-css/prospect/Grid/DebugGrid.css";
|
|
3
|
+
export const DebugGridCommon = ({ cols = 12, isCheckedByDefault = false, CardCheckboxOption, ...props }) => {
|
|
4
|
+
// The forceVisible prop is a hidden prop to force the component's visibility when building the storybook
|
|
5
|
+
const forceVisible = props?.forceVisible || false;
|
|
6
|
+
if (process.env.NODE_ENV === "production" && !forceVisible) {
|
|
7
|
+
return null;
|
|
8
|
+
}
|
|
9
|
+
return (_jsxs(_Fragment, { children: [_jsx(CardCheckboxOption, { type: "horizontal", name: "debuggrid", label: "Grid", defaultChecked: isCheckedByDefault }), _jsx("div", { className: "debug-grid", role: "presentation", children: _jsx("div", { className: "grid", children: [...Array(cols).keys()].map((col) => (_jsx("div", { className: "cols" }, col))) }) })] }));
|
|
10
|
+
};
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
+
import { CardCheckboxOption } from "../Form/Checkbox/CardCheckboxOption/CardCheckboxOptionLF";
|
|
3
|
+
import { DebugGridCommon } from "./DebugGridCommon";
|
|
4
|
+
export const DebugGrid = ({ ...props }) => (_jsx(DebugGridCommon, { ...props, CardCheckboxOption: CardCheckboxOption }));
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import "@axa-fr/canopee-css/prospect/Heading/HeadingApollo.css";
|
|
2
|
+
import { HeadingProps } from "./types";
|
|
3
|
+
export type { HeadingLevel, HeadingProps } from "./types";
|
|
4
|
+
export declare const Heading: ({ tag, tagProps, ...props }: HeadingProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
+
import "@axa-fr/canopee-css/prospect/Heading/HeadingApollo.css";
|
|
3
|
+
import { DEFAULT_TAG_PROPS, HeadingCommon } from "./HeadingCommon";
|
|
4
|
+
import { Tag } from "../Tag/TagApollo";
|
|
5
|
+
export const Heading = ({ tag, tagProps = {}, ...props }) => (_jsx(HeadingCommon, { ...props, tag: tag ? (_jsx(Tag, { ...DEFAULT_TAG_PROPS, ...tagProps, children: tag })) : null }));
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import type { JSX, PropsWithChildren, ReactNode } from "react";
|
|
2
|
+
import { type IconProps } from "../Icon/IconCommon";
|
|
3
|
+
import { type TagProps } from "../Tag/TagCommon";
|
|
4
|
+
import { type HeadingLevel } from "./types";
|
|
5
|
+
export type HeadingCommonProps = PropsWithChildren<{
|
|
6
|
+
level?: HeadingLevel;
|
|
7
|
+
icon?: string;
|
|
8
|
+
iconProps?: Omit<IconProps, "src">;
|
|
9
|
+
tag?: ReactNode;
|
|
10
|
+
firstSubtitle?: ReactNode;
|
|
11
|
+
secondSubtitle?: ReactNode;
|
|
12
|
+
className?: string;
|
|
13
|
+
}> & JSX.IntrinsicElements["div"];
|
|
14
|
+
export declare const DEFAULT_TAG_PROPS: TagProps;
|
|
15
|
+
export declare const HeadingCommon: ({ children: title, className, firstSubtitle, secondSubtitle, level, icon, iconProps, tag, ...props }: HeadingCommonProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
+
import classNames from "classnames";
|
|
3
|
+
import { Icon } from "../Icon/IconCommon";
|
|
4
|
+
import { HeadingWithSubheadings } from "./HeadingWithSubheadings";
|
|
5
|
+
export const DEFAULT_TAG_PROPS = {
|
|
6
|
+
variant: "neutral",
|
|
7
|
+
};
|
|
8
|
+
export const HeadingCommon = ({ children: title, className, firstSubtitle, secondSubtitle, level = 1, icon, iconProps = {}, tag, ...props }) => (_jsxs("div", { className: classNames("af-heading", className), ...props, children: [tag && level < 3 ? _jsx("div", { className: "af-heading__label", children: tag }) : null, icon && level === 1 ? (_jsx(Icon, { src: icon, size: "L", hasBackground: true, variant: "secondary", ...iconProps, className: classNames("af-heading__icon", iconProps.className) })) : null, _jsx(HeadingWithSubheadings, { title: title, firstSubtitle: firstSubtitle, titleComponent: `h${level}`, secondSubtitle: secondSubtitle })] }));
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import "@axa-fr/canopee-css/client/Heading/HeadingLF.css";
|
|
2
|
+
import { HeadingProps } from "./types";
|
|
3
|
+
export type { HeadingLevel, HeadingProps } from "./types";
|
|
4
|
+
export declare const Heading: ({ tag, tagProps, ...props }: HeadingProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
+
import "@axa-fr/canopee-css/client/Heading/HeadingLF.css";
|
|
3
|
+
import { DEFAULT_TAG_PROPS, HeadingCommon } from "./HeadingCommon";
|
|
4
|
+
import { Tag } from "../Tag/TagLF";
|
|
5
|
+
export const Heading = ({ tag, tagProps = {}, ...props }) => (_jsx(HeadingCommon, { ...props, tag: tag ? (_jsx(Tag, { ...DEFAULT_TAG_PROPS, ...tagProps, children: tag })) : null }));
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import type { ReactNode } from "react";
|
|
2
|
+
import type { HeadingLevel } from "./types";
|
|
3
|
+
type HeadingTextProps = {
|
|
4
|
+
title: ReactNode;
|
|
5
|
+
firstSubtitle?: ReactNode;
|
|
6
|
+
secondSubtitle?: ReactNode;
|
|
7
|
+
titleComponent?: `h${HeadingLevel}`;
|
|
8
|
+
};
|
|
9
|
+
export declare const HeadingWithSubheadings: ({ title, firstSubtitle, secondSubtitle, titleComponent: TitleComponent, }: HeadingTextProps) => import("react/jsx-runtime").JSX.Element;
|
|
10
|
+
export {};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
+
export const HeadingWithSubheadings = ({ title, firstSubtitle, secondSubtitle, titleComponent: TitleComponent = "h1", }) => (_jsxs("hgroup", { className: "af-heading__title-container", children: [_jsx(TitleComponent, { className: "af-heading__title", children: title }), firstSubtitle ? (_jsx("p", { className: "af-heading__subtitle", children: firstSubtitle })) : null, TitleComponent === "h1" && secondSubtitle ? (_jsx("p", { className: "af-heading__subtitle", children: secondSubtitle })) : null] }));
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { ComponentProps } from "react";
|
|
2
|
+
import { Svg } from "../Svg/Svg";
|
|
3
|
+
export declare const iconVariants: {
|
|
4
|
+
readonly primary: "primary";
|
|
5
|
+
readonly secondary: "secondary";
|
|
6
|
+
readonly disabled: "disabled";
|
|
7
|
+
};
|
|
8
|
+
export type IconVariants = keyof typeof iconVariants;
|
|
9
|
+
export declare const iconSizeVariants: {
|
|
10
|
+
readonly L: "large";
|
|
11
|
+
readonly M: "medium";
|
|
12
|
+
readonly S: "small";
|
|
13
|
+
readonly XS: "extra-small";
|
|
14
|
+
};
|
|
15
|
+
export type IconSizeVariants = keyof typeof iconSizeVariants;
|
|
16
|
+
export type IconProps = ComponentProps<typeof Svg> & {
|
|
17
|
+
variant?: IconVariants;
|
|
18
|
+
size?: IconSizeVariants;
|
|
19
|
+
hasBackground?: boolean;
|
|
20
|
+
};
|
|
21
|
+
export declare const Icon: ({ variant, size, hasBackground, ...props }: IconProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
+
import { useMemo } from "react";
|
|
3
|
+
import { getComponentClassName } from "../utilities/getComponentClassName";
|
|
4
|
+
import { Svg } from "../Svg/Svg";
|
|
5
|
+
export const iconVariants = {
|
|
6
|
+
primary: "primary",
|
|
7
|
+
secondary: "secondary",
|
|
8
|
+
disabled: "disabled",
|
|
9
|
+
};
|
|
10
|
+
export const iconSizeVariants = {
|
|
11
|
+
L: "large",
|
|
12
|
+
M: "medium",
|
|
13
|
+
S: "small",
|
|
14
|
+
XS: "extra-small",
|
|
15
|
+
};
|
|
16
|
+
export const Icon = ({ variant = "primary", size = "S", hasBackground = false, ...props }) => {
|
|
17
|
+
const componentClassName = useMemo(() => {
|
|
18
|
+
const newClassModifier = [
|
|
19
|
+
variant,
|
|
20
|
+
iconSizeVariants[size],
|
|
21
|
+
hasBackground && "has-background",
|
|
22
|
+
]
|
|
23
|
+
.filter(Boolean)
|
|
24
|
+
.join(" ");
|
|
25
|
+
return getComponentClassName("af-icon", "", newClassModifier);
|
|
26
|
+
}, [variant, hasBackground, size]);
|
|
27
|
+
return (_jsx("div", { className: componentClassName, children: _jsx(Svg, { ...props }) }));
|
|
28
|
+
};
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { ComponentPropsWithRef } from "react";
|
|
2
|
+
export type ItemTabBarProps = ComponentPropsWithRef<"button"> & {
|
|
3
|
+
isActive?: boolean;
|
|
4
|
+
title: string;
|
|
5
|
+
};
|
|
6
|
+
export declare const ItemTabBar: import("react").ForwardRefExoticComponent<Omit<ItemTabBarProps, "ref"> & import("react").RefAttributes<HTMLButtonElement>>;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
+
import { forwardRef } from "react";
|
|
3
|
+
import { getComponentClassName } from "../utilities/getComponentClassName";
|
|
4
|
+
export const ItemTabBar = forwardRef(({ isActive = false, title, className, ...props }, ref) => {
|
|
5
|
+
const classNames = getComponentClassName("af-item-tab-bar", className);
|
|
6
|
+
return (_jsx("button", { ref: ref, type: "button", role: "tab", "aria-selected": isActive, className: classNames, ...props, children: title }));
|
|
7
|
+
});
|
|
8
|
+
ItemTabBar.displayName = "ItemTabBar";
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
+
import facebook from "@axa-fr/canopee-css/facebook.svg";
|
|
3
|
+
import linkedin from "@axa-fr/canopee-css/linkedin.svg";
|
|
4
|
+
import twitterx from "@axa-fr/canopee-css/twitterx.svg";
|
|
5
|
+
import youtube from "@axa-fr/canopee-css/youtube.svg";
|
|
6
|
+
import { Svg } from "../../Svg/Svg";
|
|
7
|
+
export const DynamicIcon = ({ iconName, className, }) => {
|
|
8
|
+
switch (iconName) {
|
|
9
|
+
case "facebook":
|
|
10
|
+
return _jsx(Svg, { src: facebook, className: className });
|
|
11
|
+
case "twitter":
|
|
12
|
+
return _jsx(Svg, { src: twitterx, className: className });
|
|
13
|
+
case "youtube":
|
|
14
|
+
return _jsx(Svg, { src: youtube, className: className });
|
|
15
|
+
case "linkedin":
|
|
16
|
+
return _jsx(Svg, { src: linkedin, className: className });
|
|
17
|
+
default:
|
|
18
|
+
return iconName;
|
|
19
|
+
}
|
|
20
|
+
};
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { SocialMedia } from "./MenuIcons";
|
|
2
|
+
import { Link } from "./MenuLink";
|
|
3
|
+
export type FooterProps = {
|
|
4
|
+
links: Link[];
|
|
5
|
+
socialMedias?: SocialMedia[];
|
|
6
|
+
copyright: string;
|
|
7
|
+
expandLinkText: string;
|
|
8
|
+
id?: string;
|
|
9
|
+
};
|
|
10
|
+
export declare const Footer: ({ links, socialMedias, copyright, expandLinkText, id, }: FooterProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
+
import expandMore from "@material-symbols/svg-400/outlined/keyboard_arrow_down.svg";
|
|
3
|
+
import classNames from "classnames";
|
|
4
|
+
import { useCallback, useState } from "react";
|
|
5
|
+
import { MenuIcons } from "./MenuIcons";
|
|
6
|
+
import { MenuLink } from "./MenuLink";
|
|
7
|
+
import { Svg } from "../../Svg/Svg";
|
|
8
|
+
export const Footer = ({ links, socialMedias = [], copyright, expandLinkText, id, }) => {
|
|
9
|
+
const [isAboutOpen, setIsAboutOpen] = useState(false);
|
|
10
|
+
const handleClick = useCallback(() => {
|
|
11
|
+
setIsAboutOpen((isOpen) => !isOpen);
|
|
12
|
+
}, []);
|
|
13
|
+
return (_jsxs("footer", { role: "contentinfo", id: id, className: "af-footer", children: [_jsxs("div", { className: "af-footer__footerTop", children: [_jsxs("nav", { role: "navigation", className: "af-footer__menuTop", "aria-label": expandLinkText, children: [_jsxs("button", { type: "button", onClick: handleClick, className: "af-footer__menuAboutTrigger", children: [_jsx("span", { className: "af-footer__menuAboutTriggerText", children: expandLinkText }), _jsx(Svg, { src: expandMore, className: classNames("af-footer__icon", "af-footer__iconTrigger", isAboutOpen && "af-footer__iconTrigger--display") })] }), _jsx(MenuLink, { links: links, isAboutOpen: isAboutOpen })] }), _jsx(MenuIcons, { socialMedias: socialMedias })] }), _jsx("div", { className: "af-footer__footerBottom", children: _jsx("div", { className: "af-footer__footerBottomWidth", children: _jsx("span", { className: "af-footer__textCopyright", children: copyright }) }) })] }));
|
|
14
|
+
};
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
export type SocialMedia = {
|
|
2
|
+
icon: "facebook" | "twitter" | "youtube" | "linkedin";
|
|
3
|
+
link: string;
|
|
4
|
+
};
|
|
5
|
+
type MenuIconsProps = {
|
|
6
|
+
socialMedias: SocialMedia[];
|
|
7
|
+
};
|
|
8
|
+
export declare const MenuIcons: ({ socialMedias }: MenuIconsProps) => import("react/jsx-runtime").JSX.Element | null;
|
|
9
|
+
export {};
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
+
import { DynamicIcon } from "./DynamicIcons";
|
|
3
|
+
export const MenuIcons = ({ socialMedias }) => {
|
|
4
|
+
if (socialMedias.length === 0) {
|
|
5
|
+
return null;
|
|
6
|
+
}
|
|
7
|
+
return (_jsx("nav", { role: "navigation", className: "af-footer__footerMenuIcons", children: _jsx("ul", { children: socialMedias.map((socialItem) => (_jsx("li", { children: _jsx("a", { "aria-label": `social media ${socialItem.icon}`, className: "af-footer__menuIconLinks", href: socialItem.link, target: "_blank", rel: "noopener noreferrer", children: _jsx(DynamicIcon, { iconName: socialItem.icon }) }) }, socialItem.icon))) }) }));
|
|
8
|
+
};
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
export type Link = {
|
|
2
|
+
link: string;
|
|
3
|
+
text: string;
|
|
4
|
+
openInCurrentTab?: boolean;
|
|
5
|
+
};
|
|
6
|
+
type MenuLinkProps = {
|
|
7
|
+
links: Link[];
|
|
8
|
+
isAboutOpen?: boolean;
|
|
9
|
+
};
|
|
10
|
+
export declare const MenuLink: ({ links, isAboutOpen }: MenuLinkProps) => import("react/jsx-runtime").JSX.Element | null;
|
|
11
|
+
export {};
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
+
import classNames from "classnames";
|
|
3
|
+
import { useIsSmallScreen } from "../../utilities/hook/useIsSmallScreen";
|
|
4
|
+
import { BREAKPOINT } from "../../utilities/constants";
|
|
5
|
+
export const MenuLink = ({ links, isAboutOpen = false }) => {
|
|
6
|
+
const isSmallScreen = useIsSmallScreen(BREAKPOINT.MD);
|
|
7
|
+
if (links.length === 0) {
|
|
8
|
+
return null;
|
|
9
|
+
}
|
|
10
|
+
return (_jsx("ul", { className: classNames("af-footer__menuLinks", isAboutOpen && "af-footer__menuLinks--display"), children: links.map((menuItem) => (_jsx("li", { children: _jsx("a", { className: "af-footer__linkItem", href: menuItem.link, target: menuItem.openInCurrentTab ? "_top" : "_blank", rel: "noreferrer", tabIndex: isSmallScreen && !isAboutOpen ? -1 : undefined, children: menuItem.text }) }, menuItem.text))) }));
|
|
11
|
+
};
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { ComponentPropsWithoutRef, PropsWithChildren, type ReactNode } from "react";
|
|
2
|
+
export declare const linkVariants: {
|
|
3
|
+
readonly default: "default";
|
|
4
|
+
readonly underline: "underline";
|
|
5
|
+
readonly inverse: "inverse";
|
|
6
|
+
};
|
|
7
|
+
export type LinkVariants = keyof typeof linkVariants;
|
|
8
|
+
type LinkProps = {
|
|
9
|
+
variant?: LinkVariants;
|
|
10
|
+
openInNewTab?: boolean;
|
|
11
|
+
leftIcon?: ReactNode;
|
|
12
|
+
rightIcon?: ReactNode;
|
|
13
|
+
className?: string;
|
|
14
|
+
classModifier?: string;
|
|
15
|
+
} & ComponentPropsWithoutRef<"a">;
|
|
16
|
+
export declare const Link: ({ href, variant, openInNewTab, leftIcon, rightIcon, children, className, classModifier, ...props }: PropsWithChildren<LinkProps>) => import("react/jsx-runtime").JSX.Element;
|
|
17
|
+
export {};
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
+
import openInNew from "@material-symbols/svg-400/outlined/open_in_new.svg";
|
|
3
|
+
import { useMemo, } from "react";
|
|
4
|
+
import { Svg } from "../Svg/Svg";
|
|
5
|
+
import { getComponentClassName } from "../utilities/getComponentClassName";
|
|
6
|
+
export const linkVariants = {
|
|
7
|
+
default: "default",
|
|
8
|
+
underline: "underline",
|
|
9
|
+
inverse: "inverse",
|
|
10
|
+
};
|
|
11
|
+
export const Link = ({ href, variant = "underline", openInNewTab = false, leftIcon, rightIcon, children, className, classModifier = "", ...props }) => {
|
|
12
|
+
const newTabProps = openInNewTab && {
|
|
13
|
+
target: "_blank",
|
|
14
|
+
rel: "noopener noreferrer",
|
|
15
|
+
};
|
|
16
|
+
const componentClassName = useMemo(() => getComponentClassName("af-link", className, `${classModifier}${!className && openInNewTab ? " openInNewTab" : ""} ${variant}`), [classModifier, className, openInNewTab, variant]);
|
|
17
|
+
return (_jsxs("a", { className: componentClassName, href: href, ...newTabProps, ...props, children: [leftIcon, children, openInNewTab || Boolean(rightIcon)
|
|
18
|
+
? (rightIcon ?? _jsx(Svg, { src: openInNew }))
|
|
19
|
+
: null] }));
|
|
20
|
+
};
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import "@axa-fr/canopee-css/prospect/List/ClickItem/ClickItemApollo.css";
|
|
2
|
+
import type { ClickItemProps } from "./types";
|
|
3
|
+
export declare const ClickItem: (props: ClickItemProps) => import("react/jsx-runtime").JSX.Element;
|
|
4
|
+
export { clickItemStates, type ClickItemStates, clickItemVariants, type ClickItemVariants, } from "./ClickItemCommon";
|