@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,10 @@
|
|
|
1
|
+
import { ComponentProps, ReactNode } from "react";
|
|
2
|
+
import { ConsumerFieldProps } from "../core";
|
|
3
|
+
import { Pass } from "./Pass";
|
|
4
|
+
type PassProps = ComponentProps<typeof Pass>;
|
|
5
|
+
type Props = Omit<ConsumerFieldProps & PassProps & {
|
|
6
|
+
helpMessage?: ReactNode;
|
|
7
|
+
score?: string;
|
|
8
|
+
}, "onToggleType" | "type">;
|
|
9
|
+
declare const PassInput: ({ children, score, classModifier, disabled, ...props }: Props) => import("react/jsx-runtime").JSX.Element;
|
|
10
|
+
export { PassInput };
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { jsx as _jsx, Fragment as _Fragment, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
+
import { useState } from "react";
|
|
3
|
+
import { Field } from "../core";
|
|
4
|
+
import { Pass } from "./Pass";
|
|
5
|
+
const strengthList = {
|
|
6
|
+
0: "bad",
|
|
7
|
+
1: "okay",
|
|
8
|
+
2: "good",
|
|
9
|
+
3: "verygood",
|
|
10
|
+
4: "excellent",
|
|
11
|
+
};
|
|
12
|
+
const calculateStrength = (score) => {
|
|
13
|
+
if (score === null || score === undefined) {
|
|
14
|
+
return null;
|
|
15
|
+
}
|
|
16
|
+
const scoreToNumber = Number(score);
|
|
17
|
+
let strength = Number.isNaN(scoreToNumber) ? 0 : scoreToNumber;
|
|
18
|
+
if (strength > 4) {
|
|
19
|
+
strength = 4;
|
|
20
|
+
}
|
|
21
|
+
if (strength < 0) {
|
|
22
|
+
strength = 0;
|
|
23
|
+
}
|
|
24
|
+
return strengthList[strength];
|
|
25
|
+
};
|
|
26
|
+
const PassInput = ({ children, score, classModifier, disabled, ...props }) => {
|
|
27
|
+
const strength = calculateStrength(score);
|
|
28
|
+
const [type, setType] = useState("password");
|
|
29
|
+
return (_jsx(Field, { ...props, classModifier: classModifier, renderInput: ({ id, classModifier: modifier, ariaInvalid, errorId, ...inputProps }) => (_jsxs(_Fragment, { children: [_jsx(Pass, { ...inputProps, type: type, id: id, disabled: disabled, classModifier: `${modifier} ${strength}`, "aria-describedby": errorId, "aria-invalid": ariaInvalid, onToggleType: () => setType(type === "password" ? "text" : "password") }), children] })) }));
|
|
30
|
+
};
|
|
31
|
+
export { PassInput };
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import type { Option } from "../core";
|
|
2
|
+
export declare enum RadioModes {
|
|
3
|
+
classic = "classic",
|
|
4
|
+
default = "default",
|
|
5
|
+
inline = "inline",
|
|
6
|
+
cardRadio = "cardRadio"
|
|
7
|
+
}
|
|
8
|
+
declare const Radio: import("react").ForwardRefExoticComponent<(({
|
|
9
|
+
options: Option[];
|
|
10
|
+
} & Omit<import("react").ClassAttributes<HTMLInputElement> & import("react").InputHTMLAttributes<HTMLInputElement> & {
|
|
11
|
+
options: Option[];
|
|
12
|
+
orientation?: "horizontal" | "vertical";
|
|
13
|
+
}, "ref"> & {
|
|
14
|
+
mode: "cardRadio";
|
|
15
|
+
}) | Omit<{
|
|
16
|
+
options: Option[];
|
|
17
|
+
} & Omit<Omit<Omit<import("react").DetailedHTMLProps<import("react").InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>, "type" | "checked"> & {
|
|
18
|
+
classModifier?: string;
|
|
19
|
+
optionClassName?: string;
|
|
20
|
+
label?: import("react").ReactNode;
|
|
21
|
+
isChecked?: boolean;
|
|
22
|
+
}, "ref"> & import("react").RefAttributes<HTMLInputElement>, "className" | "id" | "label"> & {
|
|
23
|
+
mode?: "classic" | "default" | "inline";
|
|
24
|
+
}, "ref">) & import("react").RefAttributes<HTMLInputElement>>;
|
|
25
|
+
export { Radio };
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import { createElement as _createElement } from "react";
|
|
2
|
+
import { jsx as _jsx, Fragment as _Fragment, jsxs as _jsxs } from "react/jsx-runtime";
|
|
3
|
+
import { forwardRef, } from "react";
|
|
4
|
+
import classNames from "classnames";
|
|
5
|
+
import { RadioCardGroup } from "./RadioCardGroup";
|
|
6
|
+
import { RadioItem } from "./RadioItem";
|
|
7
|
+
export var RadioModes;
|
|
8
|
+
(function (RadioModes) {
|
|
9
|
+
RadioModes["classic"] = "classic";
|
|
10
|
+
RadioModes["default"] = "default";
|
|
11
|
+
RadioModes["inline"] = "inline";
|
|
12
|
+
RadioModes["cardRadio"] = "cardRadio";
|
|
13
|
+
})(RadioModes || (RadioModes = {}));
|
|
14
|
+
const getClassNameMode = (mode) => {
|
|
15
|
+
switch (mode) {
|
|
16
|
+
case RadioModes.classic:
|
|
17
|
+
return "af-form__radio";
|
|
18
|
+
case RadioModes.inline:
|
|
19
|
+
return "af-form__radio-inline";
|
|
20
|
+
case RadioModes.cardRadio:
|
|
21
|
+
return "af-form__radio-card";
|
|
22
|
+
default:
|
|
23
|
+
return "af-form__radio-custom";
|
|
24
|
+
}
|
|
25
|
+
};
|
|
26
|
+
const Radio = forwardRef(({ options, value = "", children, disabled, ...otherProps }, inputRef) => {
|
|
27
|
+
const { mode, ...onlyNecessaryProps } = otherProps;
|
|
28
|
+
const classNameMode = getClassNameMode(mode ?? "default");
|
|
29
|
+
if (mode === "cardRadio") {
|
|
30
|
+
return (_jsx(RadioCardGroup, { ...onlyNecessaryProps, options: options, disabled: disabled, value: value, children: children }));
|
|
31
|
+
}
|
|
32
|
+
return (_jsxs(_Fragment, { children: [_jsx("div", { className: classNames("af-form__radio-group", [
|
|
33
|
+
{ "af-form__radio-group-classic": mode === RadioModes.classic },
|
|
34
|
+
]), children: options.map((option) => (_createElement(RadioItem, { ...onlyNecessaryProps, key: option.value, isChecked: option.value === value, disabled: option.disabled || disabled, className: classNameMode, ref: inputRef, ...option }))) }), children] }));
|
|
35
|
+
});
|
|
36
|
+
Radio.displayName = "EnhancedInputRadio";
|
|
37
|
+
export { Radio };
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import "@axa-fr/canopee-css/distributeur/Form/Radio/RadioCardGroup.css";
|
|
2
|
+
import { ComponentProps } from "react";
|
|
3
|
+
import type { Option } from "../core";
|
|
4
|
+
type Props = ComponentProps<"input"> & {
|
|
5
|
+
options: Option[];
|
|
6
|
+
orientation?: "horizontal" | "vertical";
|
|
7
|
+
};
|
|
8
|
+
export declare const RadioCardGroup: ({ children, options, className, value, name, orientation, disabled, "aria-invalid": ariaInvalid, ...otherProps }: Props) => import("react/jsx-runtime").JSX.Element;
|
|
9
|
+
export {};
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
+
import "@axa-fr/canopee-css/distributeur/Form/Radio/RadioCardGroup.css";
|
|
3
|
+
import { useId } from "react";
|
|
4
|
+
import classNames from "classnames";
|
|
5
|
+
import { Svg } from "../../Svg";
|
|
6
|
+
const DEFAULT_CLASSNAME = "af-card";
|
|
7
|
+
const DEFAULT_CONTAINER_CLASSNAME = "af-form__radio-card-group";
|
|
8
|
+
export const RadioCardGroup = ({ children, options, className, value, name, orientation = "vertical", disabled = false, "aria-invalid": ariaInvalid, ...otherProps }) => {
|
|
9
|
+
const idGenerated = useId();
|
|
10
|
+
return (_jsxs("div", { className: classNames([
|
|
11
|
+
DEFAULT_CONTAINER_CLASSNAME,
|
|
12
|
+
className,
|
|
13
|
+
orientation === "horizontal" &&
|
|
14
|
+
`${DEFAULT_CONTAINER_CLASSNAME}--horizontal`,
|
|
15
|
+
]), children: [options.map(({ name: optionName, icon, label, disabled: optionDisabled, value: optionValue, ...otherOptionProps }) => {
|
|
16
|
+
const newName = name || optionName || idGenerated;
|
|
17
|
+
const allClassNames = classNames([
|
|
18
|
+
DEFAULT_CLASSNAME,
|
|
19
|
+
orientation === "horizontal" && `${DEFAULT_CLASSNAME}--horizontal`,
|
|
20
|
+
ariaInvalid && `${DEFAULT_CLASSNAME}--error`,
|
|
21
|
+
]);
|
|
22
|
+
const isDisabled = disabled || optionDisabled;
|
|
23
|
+
return (_jsxs("label", { className: allClassNames, children: [_jsx("input", { ...otherProps, type: "radio", name: newName, disabled: isDisabled, checked: isDisabled ? false : optionValue === value, value: optionValue, ...otherOptionProps }), typeof icon === "string" ? _jsx(Svg, { src: icon }) : icon, label] }, optionValue));
|
|
24
|
+
}), children] }));
|
|
25
|
+
};
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { ComponentPropsWithoutRef } from "react";
|
|
2
|
+
import { type ConsumerFieldProps } from "../core";
|
|
3
|
+
import { Radio } from "./Radio";
|
|
4
|
+
type RadioInputProps = ConsumerFieldProps & ComponentPropsWithoutRef<typeof Radio>;
|
|
5
|
+
declare const RadioInput: import("react").ForwardRefExoticComponent<RadioInputProps & import("react").RefAttributes<HTMLInputElement>>;
|
|
6
|
+
export { RadioInput };
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
+
import { forwardRef } from "react";
|
|
3
|
+
import { Field, useOptionsWithId } from "../core";
|
|
4
|
+
import { Radio, RadioModes } from "./Radio";
|
|
5
|
+
const RadioInput = forwardRef(({ label, mode = "default", options, children, ...props }, inputRef) => {
|
|
6
|
+
const labelPosition = mode === RadioModes.classic ? "top" : "center";
|
|
7
|
+
const newOptions = useOptionsWithId(options);
|
|
8
|
+
return (_jsx(Field, { label: label, labelPosition: labelPosition, roleContainer: "radiogroup", ...props, renderInput: ({ classModifier, ...radioProps }) => (_jsx(Radio, { options: newOptions, mode: mode, classModifier: classModifier, ref: inputRef, ...radioProps, children: children })) }));
|
|
9
|
+
});
|
|
10
|
+
RadioInput.displayName = "EnhancedInputRadio";
|
|
11
|
+
export { RadioInput };
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import "@axa-fr/canopee-css/distributeur/Form/Radio/Radio.css";
|
|
2
|
+
import { ComponentPropsWithRef, ReactNode } from "react";
|
|
3
|
+
type Props = Omit<ComponentPropsWithRef<"input">, "checked" | "type"> & {
|
|
4
|
+
classModifier?: string;
|
|
5
|
+
optionClassName?: string;
|
|
6
|
+
label?: ReactNode;
|
|
7
|
+
isChecked?: boolean;
|
|
8
|
+
};
|
|
9
|
+
declare const RadioItem: import("react").ForwardRefExoticComponent<Omit<Props, "ref"> & import("react").RefAttributes<HTMLInputElement>>;
|
|
10
|
+
export { RadioItem };
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
+
import "@axa-fr/canopee-css/distributeur/Form/Radio/Radio.css";
|
|
3
|
+
import { forwardRef, useId } from "react";
|
|
4
|
+
import { getOptionClassName } from "../core";
|
|
5
|
+
const RadioItem = forwardRef(({ value = "", id, isChecked, label, classModifier = "", className = "", disabled = false, ...otherProps }, inputRef) => {
|
|
6
|
+
const optionClassName = getOptionClassName(className, classModifier, "af-form__radio", disabled);
|
|
7
|
+
const generatedId = useId();
|
|
8
|
+
const newId = id ?? generatedId;
|
|
9
|
+
return (_jsxs("div", { className: optionClassName, children: [_jsx("input", { ...otherProps, className: "af-form__input-radio", id: newId, type: "radio", value: value, checked: isChecked, ref: inputRef, disabled: disabled }), _jsx("label", { className: "af-form__label", htmlFor: newId, children: _jsx("span", { className: "af-form__description", children: label }) })] }, value));
|
|
10
|
+
});
|
|
11
|
+
RadioItem.displayName = "RadioItem";
|
|
12
|
+
export { RadioItem };
|
|
@@ -0,0 +1,342 @@
|
|
|
1
|
+
import { OptionHTMLAttributes } from "react";
|
|
2
|
+
declare const Select: import("react").ForwardRefExoticComponent<(Omit<Omit<{
|
|
3
|
+
className?: string | undefined | undefined;
|
|
4
|
+
suppressHydrationWarning?: boolean | undefined | undefined;
|
|
5
|
+
color?: string | undefined | undefined;
|
|
6
|
+
id?: string | undefined | undefined;
|
|
7
|
+
lang?: string | undefined | undefined;
|
|
8
|
+
name?: string | undefined | undefined;
|
|
9
|
+
style?: import("react").CSSProperties | undefined;
|
|
10
|
+
role?: import("react").AriaRole | undefined;
|
|
11
|
+
tabIndex?: number | undefined | undefined;
|
|
12
|
+
"aria-activedescendant"?: string | undefined | undefined;
|
|
13
|
+
"aria-atomic"?: (boolean | "true" | "false") | undefined;
|
|
14
|
+
"aria-autocomplete"?: "none" | "inline" | "list" | "both" | undefined | undefined;
|
|
15
|
+
"aria-braillelabel"?: string | undefined | undefined;
|
|
16
|
+
"aria-brailleroledescription"?: string | undefined | undefined;
|
|
17
|
+
"aria-busy"?: (boolean | "true" | "false") | undefined;
|
|
18
|
+
"aria-checked"?: boolean | "false" | "mixed" | "true" | undefined | undefined;
|
|
19
|
+
"aria-colcount"?: number | undefined | undefined;
|
|
20
|
+
"aria-colindex"?: number | undefined | undefined;
|
|
21
|
+
"aria-colindextext"?: string | undefined | undefined;
|
|
22
|
+
"aria-colspan"?: number | undefined | undefined;
|
|
23
|
+
"aria-controls"?: string | undefined | undefined;
|
|
24
|
+
"aria-current"?: boolean | "false" | "true" | "page" | "step" | "location" | "date" | "time" | undefined | undefined;
|
|
25
|
+
"aria-describedby"?: string | undefined | undefined;
|
|
26
|
+
"aria-description"?: string | undefined | undefined;
|
|
27
|
+
"aria-details"?: string | undefined | undefined;
|
|
28
|
+
"aria-disabled"?: (boolean | "true" | "false") | undefined;
|
|
29
|
+
"aria-dropeffect"?: "none" | "copy" | "execute" | "link" | "move" | "popup" | undefined | undefined;
|
|
30
|
+
"aria-errormessage"?: string | undefined | undefined;
|
|
31
|
+
"aria-expanded"?: (boolean | "true" | "false") | undefined;
|
|
32
|
+
"aria-flowto"?: string | undefined | undefined;
|
|
33
|
+
"aria-grabbed"?: (boolean | "true" | "false") | undefined;
|
|
34
|
+
"aria-haspopup"?: boolean | "false" | "true" | "menu" | "listbox" | "tree" | "grid" | "dialog" | undefined | undefined;
|
|
35
|
+
"aria-hidden"?: (boolean | "true" | "false") | undefined;
|
|
36
|
+
"aria-invalid"?: boolean | "false" | "true" | "grammar" | "spelling" | undefined | undefined;
|
|
37
|
+
"aria-keyshortcuts"?: string | undefined | undefined;
|
|
38
|
+
"aria-label"?: string | undefined | undefined;
|
|
39
|
+
"aria-labelledby"?: string | undefined | undefined;
|
|
40
|
+
"aria-level"?: number | undefined | undefined;
|
|
41
|
+
"aria-live"?: "off" | "assertive" | "polite" | undefined | undefined;
|
|
42
|
+
"aria-modal"?: (boolean | "true" | "false") | undefined;
|
|
43
|
+
"aria-multiline"?: (boolean | "true" | "false") | undefined;
|
|
44
|
+
"aria-multiselectable"?: (boolean | "true" | "false") | undefined;
|
|
45
|
+
"aria-orientation"?: "horizontal" | "vertical" | undefined | undefined;
|
|
46
|
+
"aria-owns"?: string | undefined | undefined;
|
|
47
|
+
"aria-placeholder"?: string | undefined | undefined;
|
|
48
|
+
"aria-posinset"?: number | undefined | undefined;
|
|
49
|
+
"aria-pressed"?: boolean | "false" | "mixed" | "true" | undefined | undefined;
|
|
50
|
+
"aria-readonly"?: (boolean | "true" | "false") | undefined;
|
|
51
|
+
"aria-relevant"?: "additions" | "additions removals" | "additions text" | "all" | "removals" | "removals additions" | "removals text" | "text" | "text additions" | "text removals" | undefined | undefined;
|
|
52
|
+
"aria-required"?: (boolean | "true" | "false") | undefined;
|
|
53
|
+
"aria-roledescription"?: string | undefined | undefined;
|
|
54
|
+
"aria-rowcount"?: number | undefined | undefined;
|
|
55
|
+
"aria-rowindex"?: number | undefined | undefined;
|
|
56
|
+
"aria-rowindextext"?: string | undefined | undefined;
|
|
57
|
+
"aria-rowspan"?: number | undefined | undefined;
|
|
58
|
+
"aria-selected"?: (boolean | "true" | "false") | undefined;
|
|
59
|
+
"aria-setsize"?: number | undefined | undefined;
|
|
60
|
+
"aria-sort"?: "none" | "ascending" | "descending" | "other" | undefined | undefined;
|
|
61
|
+
"aria-valuemax"?: number | undefined | undefined;
|
|
62
|
+
"aria-valuemin"?: number | undefined | undefined;
|
|
63
|
+
"aria-valuenow"?: number | undefined | undefined;
|
|
64
|
+
"aria-valuetext"?: string | undefined | undefined;
|
|
65
|
+
children: import("react").ReactNode | undefined;
|
|
66
|
+
dangerouslySetInnerHTML?: {
|
|
67
|
+
__html: string | TrustedHTML;
|
|
68
|
+
} | undefined | undefined;
|
|
69
|
+
onCopy?: import("react").ClipboardEventHandler<HTMLSelectElement> | undefined;
|
|
70
|
+
onCopyCapture?: import("react").ClipboardEventHandler<HTMLSelectElement> | undefined;
|
|
71
|
+
onCut?: import("react").ClipboardEventHandler<HTMLSelectElement> | undefined;
|
|
72
|
+
onCutCapture?: import("react").ClipboardEventHandler<HTMLSelectElement> | undefined;
|
|
73
|
+
onPaste?: import("react").ClipboardEventHandler<HTMLSelectElement> | undefined;
|
|
74
|
+
onPasteCapture?: import("react").ClipboardEventHandler<HTMLSelectElement> | undefined;
|
|
75
|
+
onCompositionEnd?: import("react").CompositionEventHandler<HTMLSelectElement> | undefined;
|
|
76
|
+
onCompositionEndCapture?: import("react").CompositionEventHandler<HTMLSelectElement> | undefined;
|
|
77
|
+
onCompositionStart?: import("react").CompositionEventHandler<HTMLSelectElement> | undefined;
|
|
78
|
+
onCompositionStartCapture?: import("react").CompositionEventHandler<HTMLSelectElement> | undefined;
|
|
79
|
+
onCompositionUpdate?: import("react").CompositionEventHandler<HTMLSelectElement> | undefined;
|
|
80
|
+
onCompositionUpdateCapture?: import("react").CompositionEventHandler<HTMLSelectElement> | undefined;
|
|
81
|
+
onFocus?: import("react").FocusEventHandler<HTMLSelectElement> | undefined;
|
|
82
|
+
onFocusCapture?: import("react").FocusEventHandler<HTMLSelectElement> | undefined;
|
|
83
|
+
onBlur?: import("react").FocusEventHandler<HTMLSelectElement> | undefined;
|
|
84
|
+
onBlurCapture?: import("react").FocusEventHandler<HTMLSelectElement> | undefined;
|
|
85
|
+
onChange?: import("react").ChangeEventHandler<HTMLSelectElement> | undefined;
|
|
86
|
+
onChangeCapture?: import("react").FormEventHandler<HTMLSelectElement> | undefined;
|
|
87
|
+
onBeforeInput?: import("react").InputEventHandler<HTMLSelectElement> | undefined;
|
|
88
|
+
onBeforeInputCapture?: import("react").FormEventHandler<HTMLSelectElement> | undefined;
|
|
89
|
+
onInput?: import("react").FormEventHandler<HTMLSelectElement> | undefined;
|
|
90
|
+
onInputCapture?: import("react").FormEventHandler<HTMLSelectElement> | undefined;
|
|
91
|
+
onReset?: import("react").FormEventHandler<HTMLSelectElement> | undefined;
|
|
92
|
+
onResetCapture?: import("react").FormEventHandler<HTMLSelectElement> | undefined;
|
|
93
|
+
onSubmit?: import("react").FormEventHandler<HTMLSelectElement> | undefined;
|
|
94
|
+
onSubmitCapture?: import("react").FormEventHandler<HTMLSelectElement> | undefined;
|
|
95
|
+
onInvalid?: import("react").FormEventHandler<HTMLSelectElement> | undefined;
|
|
96
|
+
onInvalidCapture?: import("react").FormEventHandler<HTMLSelectElement> | undefined;
|
|
97
|
+
onLoad?: import("react").ReactEventHandler<HTMLSelectElement> | undefined;
|
|
98
|
+
onLoadCapture?: import("react").ReactEventHandler<HTMLSelectElement> | undefined;
|
|
99
|
+
onError?: import("react").ReactEventHandler<HTMLSelectElement> | undefined;
|
|
100
|
+
onErrorCapture?: import("react").ReactEventHandler<HTMLSelectElement> | undefined;
|
|
101
|
+
onKeyDown?: import("react").KeyboardEventHandler<HTMLSelectElement> | undefined;
|
|
102
|
+
onKeyDownCapture?: import("react").KeyboardEventHandler<HTMLSelectElement> | undefined;
|
|
103
|
+
onKeyPress?: import("react").KeyboardEventHandler<HTMLSelectElement> | undefined;
|
|
104
|
+
onKeyPressCapture?: import("react").KeyboardEventHandler<HTMLSelectElement> | undefined;
|
|
105
|
+
onKeyUp?: import("react").KeyboardEventHandler<HTMLSelectElement> | undefined;
|
|
106
|
+
onKeyUpCapture?: import("react").KeyboardEventHandler<HTMLSelectElement> | undefined;
|
|
107
|
+
onAbort?: import("react").ReactEventHandler<HTMLSelectElement> | undefined;
|
|
108
|
+
onAbortCapture?: import("react").ReactEventHandler<HTMLSelectElement> | undefined;
|
|
109
|
+
onCanPlay?: import("react").ReactEventHandler<HTMLSelectElement> | undefined;
|
|
110
|
+
onCanPlayCapture?: import("react").ReactEventHandler<HTMLSelectElement> | undefined;
|
|
111
|
+
onCanPlayThrough?: import("react").ReactEventHandler<HTMLSelectElement> | undefined;
|
|
112
|
+
onCanPlayThroughCapture?: import("react").ReactEventHandler<HTMLSelectElement> | undefined;
|
|
113
|
+
onDurationChange?: import("react").ReactEventHandler<HTMLSelectElement> | undefined;
|
|
114
|
+
onDurationChangeCapture?: import("react").ReactEventHandler<HTMLSelectElement> | undefined;
|
|
115
|
+
onEmptied?: import("react").ReactEventHandler<HTMLSelectElement> | undefined;
|
|
116
|
+
onEmptiedCapture?: import("react").ReactEventHandler<HTMLSelectElement> | undefined;
|
|
117
|
+
onEncrypted?: import("react").ReactEventHandler<HTMLSelectElement> | undefined;
|
|
118
|
+
onEncryptedCapture?: import("react").ReactEventHandler<HTMLSelectElement> | undefined;
|
|
119
|
+
onEnded?: import("react").ReactEventHandler<HTMLSelectElement> | undefined;
|
|
120
|
+
onEndedCapture?: import("react").ReactEventHandler<HTMLSelectElement> | undefined;
|
|
121
|
+
onLoadedData?: import("react").ReactEventHandler<HTMLSelectElement> | undefined;
|
|
122
|
+
onLoadedDataCapture?: import("react").ReactEventHandler<HTMLSelectElement> | undefined;
|
|
123
|
+
onLoadedMetadata?: import("react").ReactEventHandler<HTMLSelectElement> | undefined;
|
|
124
|
+
onLoadedMetadataCapture?: import("react").ReactEventHandler<HTMLSelectElement> | undefined;
|
|
125
|
+
onLoadStart?: import("react").ReactEventHandler<HTMLSelectElement> | undefined;
|
|
126
|
+
onLoadStartCapture?: import("react").ReactEventHandler<HTMLSelectElement> | undefined;
|
|
127
|
+
onPause?: import("react").ReactEventHandler<HTMLSelectElement> | undefined;
|
|
128
|
+
onPauseCapture?: import("react").ReactEventHandler<HTMLSelectElement> | undefined;
|
|
129
|
+
onPlay?: import("react").ReactEventHandler<HTMLSelectElement> | undefined;
|
|
130
|
+
onPlayCapture?: import("react").ReactEventHandler<HTMLSelectElement> | undefined;
|
|
131
|
+
onPlaying?: import("react").ReactEventHandler<HTMLSelectElement> | undefined;
|
|
132
|
+
onPlayingCapture?: import("react").ReactEventHandler<HTMLSelectElement> | undefined;
|
|
133
|
+
onProgress?: import("react").ReactEventHandler<HTMLSelectElement> | undefined;
|
|
134
|
+
onProgressCapture?: import("react").ReactEventHandler<HTMLSelectElement> | undefined;
|
|
135
|
+
onRateChange?: import("react").ReactEventHandler<HTMLSelectElement> | undefined;
|
|
136
|
+
onRateChangeCapture?: import("react").ReactEventHandler<HTMLSelectElement> | undefined;
|
|
137
|
+
onSeeked?: import("react").ReactEventHandler<HTMLSelectElement> | undefined;
|
|
138
|
+
onSeekedCapture?: import("react").ReactEventHandler<HTMLSelectElement> | undefined;
|
|
139
|
+
onSeeking?: import("react").ReactEventHandler<HTMLSelectElement> | undefined;
|
|
140
|
+
onSeekingCapture?: import("react").ReactEventHandler<HTMLSelectElement> | undefined;
|
|
141
|
+
onStalled?: import("react").ReactEventHandler<HTMLSelectElement> | undefined;
|
|
142
|
+
onStalledCapture?: import("react").ReactEventHandler<HTMLSelectElement> | undefined;
|
|
143
|
+
onSuspend?: import("react").ReactEventHandler<HTMLSelectElement> | undefined;
|
|
144
|
+
onSuspendCapture?: import("react").ReactEventHandler<HTMLSelectElement> | undefined;
|
|
145
|
+
onTimeUpdate?: import("react").ReactEventHandler<HTMLSelectElement> | undefined;
|
|
146
|
+
onTimeUpdateCapture?: import("react").ReactEventHandler<HTMLSelectElement> | undefined;
|
|
147
|
+
onVolumeChange?: import("react").ReactEventHandler<HTMLSelectElement> | undefined;
|
|
148
|
+
onVolumeChangeCapture?: import("react").ReactEventHandler<HTMLSelectElement> | undefined;
|
|
149
|
+
onWaiting?: import("react").ReactEventHandler<HTMLSelectElement> | undefined;
|
|
150
|
+
onWaitingCapture?: import("react").ReactEventHandler<HTMLSelectElement> | undefined;
|
|
151
|
+
onAuxClick?: import("react").MouseEventHandler<HTMLSelectElement> | undefined;
|
|
152
|
+
onAuxClickCapture?: import("react").MouseEventHandler<HTMLSelectElement> | undefined;
|
|
153
|
+
onClick?: import("react").MouseEventHandler<HTMLSelectElement> | undefined;
|
|
154
|
+
onClickCapture?: import("react").MouseEventHandler<HTMLSelectElement> | undefined;
|
|
155
|
+
onContextMenu?: import("react").MouseEventHandler<HTMLSelectElement> | undefined;
|
|
156
|
+
onContextMenuCapture?: import("react").MouseEventHandler<HTMLSelectElement> | undefined;
|
|
157
|
+
onDoubleClick?: import("react").MouseEventHandler<HTMLSelectElement> | undefined;
|
|
158
|
+
onDoubleClickCapture?: import("react").MouseEventHandler<HTMLSelectElement> | undefined;
|
|
159
|
+
onDrag?: import("react").DragEventHandler<HTMLSelectElement> | undefined;
|
|
160
|
+
onDragCapture?: import("react").DragEventHandler<HTMLSelectElement> | undefined;
|
|
161
|
+
onDragEnd?: import("react").DragEventHandler<HTMLSelectElement> | undefined;
|
|
162
|
+
onDragEndCapture?: import("react").DragEventHandler<HTMLSelectElement> | undefined;
|
|
163
|
+
onDragEnter?: import("react").DragEventHandler<HTMLSelectElement> | undefined;
|
|
164
|
+
onDragEnterCapture?: import("react").DragEventHandler<HTMLSelectElement> | undefined;
|
|
165
|
+
onDragExit?: import("react").DragEventHandler<HTMLSelectElement> | undefined;
|
|
166
|
+
onDragExitCapture?: import("react").DragEventHandler<HTMLSelectElement> | undefined;
|
|
167
|
+
onDragLeave?: import("react").DragEventHandler<HTMLSelectElement> | undefined;
|
|
168
|
+
onDragLeaveCapture?: import("react").DragEventHandler<HTMLSelectElement> | undefined;
|
|
169
|
+
onDragOver?: import("react").DragEventHandler<HTMLSelectElement> | undefined;
|
|
170
|
+
onDragOverCapture?: import("react").DragEventHandler<HTMLSelectElement> | undefined;
|
|
171
|
+
onDragStart?: import("react").DragEventHandler<HTMLSelectElement> | undefined;
|
|
172
|
+
onDragStartCapture?: import("react").DragEventHandler<HTMLSelectElement> | undefined;
|
|
173
|
+
onDrop?: import("react").DragEventHandler<HTMLSelectElement> | undefined;
|
|
174
|
+
onDropCapture?: import("react").DragEventHandler<HTMLSelectElement> | undefined;
|
|
175
|
+
onMouseDown?: import("react").MouseEventHandler<HTMLSelectElement> | undefined;
|
|
176
|
+
onMouseDownCapture?: import("react").MouseEventHandler<HTMLSelectElement> | undefined;
|
|
177
|
+
onMouseEnter?: import("react").MouseEventHandler<HTMLSelectElement> | undefined;
|
|
178
|
+
onMouseLeave?: import("react").MouseEventHandler<HTMLSelectElement> | undefined;
|
|
179
|
+
onMouseMove?: import("react").MouseEventHandler<HTMLSelectElement> | undefined;
|
|
180
|
+
onMouseMoveCapture?: import("react").MouseEventHandler<HTMLSelectElement> | undefined;
|
|
181
|
+
onMouseOut?: import("react").MouseEventHandler<HTMLSelectElement> | undefined;
|
|
182
|
+
onMouseOutCapture?: import("react").MouseEventHandler<HTMLSelectElement> | undefined;
|
|
183
|
+
onMouseOver?: import("react").MouseEventHandler<HTMLSelectElement> | undefined;
|
|
184
|
+
onMouseOverCapture?: import("react").MouseEventHandler<HTMLSelectElement> | undefined;
|
|
185
|
+
onMouseUp?: import("react").MouseEventHandler<HTMLSelectElement> | undefined;
|
|
186
|
+
onMouseUpCapture?: import("react").MouseEventHandler<HTMLSelectElement> | undefined;
|
|
187
|
+
onSelect?: import("react").ReactEventHandler<HTMLSelectElement> | undefined;
|
|
188
|
+
onSelectCapture?: import("react").ReactEventHandler<HTMLSelectElement> | undefined;
|
|
189
|
+
onTouchCancel?: import("react").TouchEventHandler<HTMLSelectElement> | undefined;
|
|
190
|
+
onTouchCancelCapture?: import("react").TouchEventHandler<HTMLSelectElement> | undefined;
|
|
191
|
+
onTouchEnd?: import("react").TouchEventHandler<HTMLSelectElement> | undefined;
|
|
192
|
+
onTouchEndCapture?: import("react").TouchEventHandler<HTMLSelectElement> | undefined;
|
|
193
|
+
onTouchMove?: import("react").TouchEventHandler<HTMLSelectElement> | undefined;
|
|
194
|
+
onTouchMoveCapture?: import("react").TouchEventHandler<HTMLSelectElement> | undefined;
|
|
195
|
+
onTouchStart?: import("react").TouchEventHandler<HTMLSelectElement> | undefined;
|
|
196
|
+
onTouchStartCapture?: import("react").TouchEventHandler<HTMLSelectElement> | undefined;
|
|
197
|
+
onPointerDown?: import("react").PointerEventHandler<HTMLSelectElement> | undefined;
|
|
198
|
+
onPointerDownCapture?: import("react").PointerEventHandler<HTMLSelectElement> | undefined;
|
|
199
|
+
onPointerMove?: import("react").PointerEventHandler<HTMLSelectElement> | undefined;
|
|
200
|
+
onPointerMoveCapture?: import("react").PointerEventHandler<HTMLSelectElement> | undefined;
|
|
201
|
+
onPointerUp?: import("react").PointerEventHandler<HTMLSelectElement> | undefined;
|
|
202
|
+
onPointerUpCapture?: import("react").PointerEventHandler<HTMLSelectElement> | undefined;
|
|
203
|
+
onPointerCancel?: import("react").PointerEventHandler<HTMLSelectElement> | undefined;
|
|
204
|
+
onPointerCancelCapture?: import("react").PointerEventHandler<HTMLSelectElement> | undefined;
|
|
205
|
+
onPointerEnter?: import("react").PointerEventHandler<HTMLSelectElement> | undefined;
|
|
206
|
+
onPointerLeave?: import("react").PointerEventHandler<HTMLSelectElement> | undefined;
|
|
207
|
+
onPointerOver?: import("react").PointerEventHandler<HTMLSelectElement> | undefined;
|
|
208
|
+
onPointerOverCapture?: import("react").PointerEventHandler<HTMLSelectElement> | undefined;
|
|
209
|
+
onPointerOut?: import("react").PointerEventHandler<HTMLSelectElement> | undefined;
|
|
210
|
+
onPointerOutCapture?: import("react").PointerEventHandler<HTMLSelectElement> | undefined;
|
|
211
|
+
onGotPointerCapture?: import("react").PointerEventHandler<HTMLSelectElement> | undefined;
|
|
212
|
+
onGotPointerCaptureCapture?: import("react").PointerEventHandler<HTMLSelectElement> | undefined;
|
|
213
|
+
onLostPointerCapture?: import("react").PointerEventHandler<HTMLSelectElement> | undefined;
|
|
214
|
+
onLostPointerCaptureCapture?: import("react").PointerEventHandler<HTMLSelectElement> | undefined;
|
|
215
|
+
onScroll?: import("react").UIEventHandler<HTMLSelectElement> | undefined;
|
|
216
|
+
onScrollCapture?: import("react").UIEventHandler<HTMLSelectElement> | undefined;
|
|
217
|
+
onScrollEnd?: import("react").UIEventHandler<HTMLSelectElement> | undefined;
|
|
218
|
+
onScrollEndCapture?: import("react").UIEventHandler<HTMLSelectElement> | undefined;
|
|
219
|
+
onWheel?: import("react").WheelEventHandler<HTMLSelectElement> | undefined;
|
|
220
|
+
onWheelCapture?: import("react").WheelEventHandler<HTMLSelectElement> | undefined;
|
|
221
|
+
onAnimationStart?: import("react").AnimationEventHandler<HTMLSelectElement> | undefined;
|
|
222
|
+
onAnimationStartCapture?: import("react").AnimationEventHandler<HTMLSelectElement> | undefined;
|
|
223
|
+
onAnimationEnd?: import("react").AnimationEventHandler<HTMLSelectElement> | undefined;
|
|
224
|
+
onAnimationEndCapture?: import("react").AnimationEventHandler<HTMLSelectElement> | undefined;
|
|
225
|
+
onAnimationIteration?: import("react").AnimationEventHandler<HTMLSelectElement> | undefined;
|
|
226
|
+
onAnimationIterationCapture?: import("react").AnimationEventHandler<HTMLSelectElement> | undefined;
|
|
227
|
+
onToggle?: import("react").ToggleEventHandler<HTMLSelectElement> | undefined;
|
|
228
|
+
onBeforeToggle?: import("react").ToggleEventHandler<HTMLSelectElement> | undefined;
|
|
229
|
+
onTransitionCancel?: import("react").TransitionEventHandler<HTMLSelectElement> | undefined;
|
|
230
|
+
onTransitionCancelCapture?: import("react").TransitionEventHandler<HTMLSelectElement> | undefined;
|
|
231
|
+
onTransitionEnd?: import("react").TransitionEventHandler<HTMLSelectElement> | undefined;
|
|
232
|
+
onTransitionEndCapture?: import("react").TransitionEventHandler<HTMLSelectElement> | undefined;
|
|
233
|
+
onTransitionRun?: import("react").TransitionEventHandler<HTMLSelectElement> | undefined;
|
|
234
|
+
onTransitionRunCapture?: import("react").TransitionEventHandler<HTMLSelectElement> | undefined;
|
|
235
|
+
onTransitionStart?: import("react").TransitionEventHandler<HTMLSelectElement> | undefined;
|
|
236
|
+
onTransitionStartCapture?: import("react").TransitionEventHandler<HTMLSelectElement> | undefined;
|
|
237
|
+
ref?: import("react").Ref<HTMLSelectElement> | undefined;
|
|
238
|
+
form?: string | undefined | undefined;
|
|
239
|
+
slot?: string | undefined | undefined;
|
|
240
|
+
title?: string | undefined | undefined;
|
|
241
|
+
dir?: string | undefined | undefined;
|
|
242
|
+
disabled?: boolean | undefined | undefined;
|
|
243
|
+
size?: number | undefined | undefined;
|
|
244
|
+
key?: import("react").Key | null | undefined;
|
|
245
|
+
defaultChecked?: boolean | undefined | undefined;
|
|
246
|
+
defaultValue?: string | number | readonly string[] | undefined;
|
|
247
|
+
suppressContentEditableWarning?: boolean | undefined | undefined;
|
|
248
|
+
accessKey?: string | undefined | undefined;
|
|
249
|
+
autoCapitalize?: "off" | "none" | "on" | "sentences" | "words" | "characters" | undefined | (string & {}) | undefined;
|
|
250
|
+
autoFocus?: boolean | undefined | undefined;
|
|
251
|
+
contentEditable?: (boolean | "true" | "false") | "inherit" | "plaintext-only" | undefined;
|
|
252
|
+
contextMenu?: string | undefined | undefined;
|
|
253
|
+
draggable?: (boolean | "true" | "false") | undefined;
|
|
254
|
+
enterKeyHint?: "enter" | "done" | "go" | "next" | "previous" | "search" | "send" | undefined | undefined;
|
|
255
|
+
hidden?: boolean | undefined | undefined;
|
|
256
|
+
nonce?: string | undefined | undefined;
|
|
257
|
+
spellCheck?: (boolean | "true" | "false") | undefined;
|
|
258
|
+
translate?: "yes" | "no" | undefined | undefined;
|
|
259
|
+
radioGroup?: string | undefined | undefined;
|
|
260
|
+
about?: string | undefined | undefined;
|
|
261
|
+
content?: string | undefined | undefined;
|
|
262
|
+
datatype?: string | undefined | undefined;
|
|
263
|
+
inlist?: any;
|
|
264
|
+
prefix?: string | undefined | undefined;
|
|
265
|
+
property?: string | undefined | undefined;
|
|
266
|
+
rel?: string | undefined | undefined;
|
|
267
|
+
resource?: string | undefined | undefined;
|
|
268
|
+
rev?: string | undefined | undefined;
|
|
269
|
+
typeof?: string | undefined | undefined;
|
|
270
|
+
vocab?: string | undefined | undefined;
|
|
271
|
+
autoCorrect?: string | undefined | undefined;
|
|
272
|
+
autoSave?: string | undefined | undefined;
|
|
273
|
+
itemProp?: string | undefined | undefined;
|
|
274
|
+
itemScope?: boolean | undefined | undefined;
|
|
275
|
+
itemType?: string | undefined | undefined;
|
|
276
|
+
itemID?: string | undefined | undefined;
|
|
277
|
+
itemRef?: string | undefined | undefined;
|
|
278
|
+
results?: number | undefined | undefined;
|
|
279
|
+
security?: string | undefined | undefined;
|
|
280
|
+
unselectable?: "on" | "off" | undefined | undefined;
|
|
281
|
+
popover?: "" | "auto" | "manual" | "hint" | undefined | undefined;
|
|
282
|
+
popoverTargetAction?: "toggle" | "show" | "hide" | undefined | undefined;
|
|
283
|
+
popoverTarget?: string | undefined | undefined;
|
|
284
|
+
inert?: boolean | undefined | undefined;
|
|
285
|
+
inputMode?: "none" | "text" | "tel" | "url" | "email" | "numeric" | "decimal" | "search" | undefined | undefined;
|
|
286
|
+
is?: string | undefined | undefined;
|
|
287
|
+
exportparts?: string | undefined | undefined;
|
|
288
|
+
part?: string | undefined | undefined;
|
|
289
|
+
value?: string | number | readonly string[] | undefined;
|
|
290
|
+
autoComplete?: string | undefined | undefined;
|
|
291
|
+
multiple?: boolean | undefined | undefined;
|
|
292
|
+
placeholder?: string | undefined;
|
|
293
|
+
required?: boolean | undefined | undefined;
|
|
294
|
+
classModifier?: string | undefined;
|
|
295
|
+
forceDisplayPlaceholder?: boolean | undefined;
|
|
296
|
+
}, "ref"> & import("react").RefAttributes<HTMLSelectElement> & {
|
|
297
|
+
/**
|
|
298
|
+
* @deprecated Use `children` instead
|
|
299
|
+
* Instead of
|
|
300
|
+
* ```jsx
|
|
301
|
+
* <SelectBase options={[{ value: "1", label: "Option 1" }]} />
|
|
302
|
+
* ```
|
|
303
|
+
* you can now do something like :
|
|
304
|
+
* ```jsx
|
|
305
|
+
* <SelectBase>
|
|
306
|
+
* <option value="1">Option 1</option>
|
|
307
|
+
* </SelectBase>
|
|
308
|
+
* ```
|
|
309
|
+
* It allows you to use the `optgroup` tag for example.
|
|
310
|
+
*/
|
|
311
|
+
options?: OptionHTMLAttributes<HTMLOptionElement>[];
|
|
312
|
+
mode?: "default" | "base";
|
|
313
|
+
} & {
|
|
314
|
+
children?: import("react").ReactNode | undefined;
|
|
315
|
+
}, "ref"> | Omit<Omit<Omit<import("react").DetailedHTMLProps<import("react").SelectHTMLAttributes<HTMLSelectElement>, HTMLSelectElement>, "ref"> & {
|
|
316
|
+
options?: OptionHTMLAttributes<HTMLOptionElement>[];
|
|
317
|
+
classModifier?: string;
|
|
318
|
+
} & import("react").RefAttributes<HTMLSelectElement> & {
|
|
319
|
+
options: OptionHTMLAttributes<HTMLOptionElement>[];
|
|
320
|
+
forceDisplayPlaceholder?: boolean;
|
|
321
|
+
placeholder?: string;
|
|
322
|
+
}, "ref"> & import("react").RefAttributes<HTMLSelectElement> & {
|
|
323
|
+
/**
|
|
324
|
+
* @deprecated Use `children` instead
|
|
325
|
+
* Instead of
|
|
326
|
+
* ```jsx
|
|
327
|
+
* <SelectBase options={[{ value: "1", label: "Option 1" }]} />
|
|
328
|
+
* ```
|
|
329
|
+
* you can now do something like :
|
|
330
|
+
* ```jsx
|
|
331
|
+
* <SelectBase>
|
|
332
|
+
* <option value="1">Option 1</option>
|
|
333
|
+
* </SelectBase>
|
|
334
|
+
* ```
|
|
335
|
+
* It allows you to use the `optgroup` tag for example.
|
|
336
|
+
*/
|
|
337
|
+
options?: OptionHTMLAttributes<HTMLOptionElement>[];
|
|
338
|
+
mode?: "default" | "base";
|
|
339
|
+
} & {
|
|
340
|
+
children?: import("react").ReactNode | undefined;
|
|
341
|
+
}, "ref">) & import("react").RefAttributes<HTMLSelectElement>>;
|
|
342
|
+
export { Select };
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
+
import { forwardRef, } from "react";
|
|
3
|
+
import { SelectBase } from "./SelectBase";
|
|
4
|
+
import { SelectDefault } from "./SelectDefault";
|
|
5
|
+
import { SelectDefaultWithOptions } from "./SelectDefaultWithOptions";
|
|
6
|
+
const Select = forwardRef(({ mode = "default", children, options, ...props }, inputRef) => {
|
|
7
|
+
if (mode === "default") {
|
|
8
|
+
return options ? (_jsx(SelectDefaultWithOptions, { ref: inputRef, ...props, options: options })) : (_jsx(SelectDefault, { ref: inputRef, ...props, children: children }));
|
|
9
|
+
}
|
|
10
|
+
return (_jsx(SelectBase, { ref: inputRef, ...props, options: options, children: children }));
|
|
11
|
+
});
|
|
12
|
+
Select.displayName = "Select";
|
|
13
|
+
export { Select };
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import "@axa-fr/canopee-css/distributeur/Form/Select/Select.css";
|
|
2
|
+
import { OptionHTMLAttributes } from "react";
|
|
3
|
+
/**
|
|
4
|
+
* @deprecated Use Select instead
|
|
5
|
+
*/
|
|
6
|
+
declare const SelectBase: import("react").ForwardRefExoticComponent<Omit<import("react").DetailedHTMLProps<import("react").SelectHTMLAttributes<HTMLSelectElement>, HTMLSelectElement>, "ref"> & {
|
|
7
|
+
/**
|
|
8
|
+
* @deprecated Use `children` instead
|
|
9
|
+
* Instead of
|
|
10
|
+
* ```jsx
|
|
11
|
+
* <SelectBase options={[{ value: "1", label: "Option 1" }]} />
|
|
12
|
+
* ```
|
|
13
|
+
* you can now do something like :
|
|
14
|
+
* ```jsx
|
|
15
|
+
* <SelectBase>
|
|
16
|
+
* <option value="1">Option 1</option>
|
|
17
|
+
* </SelectBase>
|
|
18
|
+
* ```
|
|
19
|
+
* It allows you to use the `optgroup` tag for example.
|
|
20
|
+
*/
|
|
21
|
+
options?: OptionHTMLAttributes<HTMLOptionElement>[];
|
|
22
|
+
classModifier?: string;
|
|
23
|
+
} & import("react").RefAttributes<HTMLSelectElement>>;
|
|
24
|
+
export { SelectBase };
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
+
import "@axa-fr/canopee-css/distributeur/Form/Select/Select.css";
|
|
3
|
+
import { forwardRef, } from "react";
|
|
4
|
+
import { getComponentClassName } from "../../utilities";
|
|
5
|
+
/**
|
|
6
|
+
* @deprecated Use Select instead
|
|
7
|
+
*/
|
|
8
|
+
const SelectBase = forwardRef(({ options, id, className, classModifier, required, children, ...otherProps }, inputRef) => {
|
|
9
|
+
const componentClassName = getComponentClassName(className, classModifier, "af-form__input-select");
|
|
10
|
+
return (_jsxs("div", { className: "af-form__select-container", children: [_jsx("select", { ...otherProps, id: id, className: componentClassName, ref: inputRef, required: classModifier?.includes("required") || required, children: children ??
|
|
11
|
+
options?.map(({ label, ...opt }) => (_jsx("option", { ...opt, children: label }, opt.value?.toString()))) }), _jsx("span", { "aria-controls": id, className: "glyphicon glyphicon-menu-down" })] }));
|
|
12
|
+
});
|
|
13
|
+
SelectBase.displayName = "SelectBase";
|
|
14
|
+
export { SelectBase };
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { ComponentPropsWithRef } from "react";
|
|
2
|
+
import { SelectBase } from "./SelectBase";
|
|
3
|
+
type Props = Omit<ComponentPropsWithRef<typeof SelectBase> & {
|
|
4
|
+
forceDisplayPlaceholder?: boolean;
|
|
5
|
+
placeholder?: string;
|
|
6
|
+
children: React.ReactNode;
|
|
7
|
+
}, "options">;
|
|
8
|
+
declare const SelectDefault: import("react").ForwardRefExoticComponent<Omit<Props, "ref"> & import("react").RefAttributes<HTMLSelectElement>>;
|
|
9
|
+
export { SelectDefault };
|