@axa-fr/canopee-react 1.8.1-alpha.1 → 2.0.0-RC.1
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 +21 -19
- package/dist/client.js +21 -19
- package/dist/distributeur/Accordion/Accordion.d.ts +1 -3
- package/dist/distributeur/Accordion/Accordion.js +2 -5
- package/dist/distributeur/Accordion/CollapseCard.d.ts +1 -3
- package/dist/distributeur/Accordion/CollapseCard.js +2 -4
- package/dist/distributeur/Accordion/Header.d.ts +1 -3
- package/dist/distributeur/Accordion/Header.js +1 -2
- package/dist/distributeur/Action/Action.d.ts +8 -4
- package/dist/distributeur/Action/Action.js +4 -5
- package/dist/distributeur/Button/Button.d.ts +9 -7
- package/dist/distributeur/Button/Button.js +8 -2
- package/dist/distributeur/ButtonMultiActions/ButtonMultiActions.d.ts +10 -0
- package/dist/distributeur/ButtonMultiActions/ButtonMultiActions.js +51 -0
- package/dist/distributeur/ButtonMultiActions/index.d.ts +2 -0
- package/dist/distributeur/ButtonMultiActions/index.js +1 -0
- package/dist/distributeur/Card/BaseCard.d.ts +14 -0
- package/dist/distributeur/Card/BaseCard.js +23 -0
- package/dist/distributeur/CardButton/CardButton.d.ts +18 -0
- package/dist/distributeur/CardButton/CardButton.js +12 -0
- package/dist/distributeur/ClickableGhost.d.ts +36 -0
- package/dist/distributeur/ClickableGhost.js +26 -0
- package/dist/distributeur/Form/Checkbox/Checkbox.d.ts +6 -3
- package/dist/distributeur/Form/Checkbox/Checkbox.js +11 -6
- package/dist/distributeur/Form/Checkbox/CheckboxInput.d.ts +6 -3
- package/dist/distributeur/Form/Checkbox/CheckboxInput.js +5 -5
- package/dist/distributeur/Form/Checkbox/CheckboxItem.d.ts +7 -5
- package/dist/distributeur/Form/Checkbox/CheckboxItem.js +5 -5
- package/dist/distributeur/Form/Choice/Choice.d.ts +6 -5
- package/dist/distributeur/Form/Choice/Choice.js +4 -4
- package/dist/distributeur/Form/Choice/ChoiceInput.d.ts +6 -3
- package/dist/distributeur/Form/Choice/ChoiceInput.js +2 -4
- package/dist/distributeur/Form/Date/Date.d.ts +5 -3
- package/dist/distributeur/Form/Date/Date.js +5 -5
- package/dist/distributeur/Form/Date/DateInput.d.ts +4 -1
- package/dist/distributeur/Form/Date/DateInput.js +2 -4
- package/dist/distributeur/Form/Experimental/DateInput.d.ts +31 -0
- package/dist/distributeur/Form/Experimental/DateInput.js +27 -0
- package/dist/distributeur/Form/Experimental/Input.d.ts +5 -1
- package/dist/distributeur/Form/Experimental/Input.js +4 -4
- package/dist/distributeur/Form/Experimental/InputContainer.d.ts +4 -1
- package/dist/distributeur/Form/Experimental/InputContainer.js +2 -2
- package/dist/distributeur/Form/Experimental/InputUnit.d.ts +1 -1
- package/dist/distributeur/Form/Experimental/InputUnit.js +1 -1
- package/dist/distributeur/Form/Experimental/ItemMessage.d.ts +1 -1
- package/dist/distributeur/Form/Experimental/ItemMessage.js +1 -1
- package/dist/distributeur/Form/Experimental/Label.d.ts +1 -2
- package/dist/distributeur/Form/Experimental/Legend.d.ts +12 -0
- package/dist/distributeur/Form/Experimental/Legend.js +3 -0
- package/dist/distributeur/Form/Experimental/Radio/AddRadioCard.d.ts +7 -0
- package/dist/distributeur/Form/Experimental/Radio/AddRadioCard.js +14 -0
- package/dist/distributeur/Form/Experimental/Radio/RadioButton.d.ts +13 -0
- package/dist/distributeur/Form/Experimental/Radio/RadioButton.js +3 -0
- package/dist/distributeur/Form/Experimental/Radio/RadioCard.d.ts +10 -0
- package/dist/distributeur/Form/Experimental/Radio/RadioCard.js +13 -0
- package/dist/distributeur/Form/Experimental/Radio/RadioGroup.d.ts +8 -0
- package/dist/distributeur/Form/Experimental/Radio/RadioGroup.js +10 -0
- package/dist/distributeur/Form/Experimental/Radio/RadioInput.d.ts +18 -0
- package/dist/distributeur/Form/Experimental/Radio/RadioInput.js +34 -0
- package/dist/distributeur/Form/Experimental/Radio/RadioItem.d.ts +4 -0
- package/dist/distributeur/Form/Experimental/Radio/RadioItem.js +10 -0
- package/dist/distributeur/Form/Experimental/Radio/RadioText.d.ts +6 -0
- package/dist/distributeur/Form/Experimental/Radio/RadioText.js +3 -0
- package/dist/distributeur/Form/Experimental/Radio/_radioInputOptions.d.ts +8 -0
- package/dist/distributeur/Form/Experimental/Radio/_radioInputOptions.js +7 -0
- package/dist/distributeur/Form/Experimental/Select.d.ts +8 -0
- package/dist/distributeur/Form/Experimental/Select.js +16 -0
- package/dist/distributeur/Form/Experimental/SelectInput.d.ts +36 -0
- package/dist/distributeur/Form/Experimental/SelectInput.js +26 -0
- package/dist/distributeur/Form/Experimental/TextInput.d.ts +4 -1
- package/dist/distributeur/Form/Experimental/TextInput.js +4 -4
- package/dist/distributeur/Form/Experimental/index.d.ts +11 -0
- package/dist/distributeur/Form/Experimental/index.js +9 -0
- package/dist/distributeur/Form/Experimental/types.d.ts +1 -1
- package/dist/distributeur/Form/Experimental/useInput.hook.js +1 -1
- package/dist/distributeur/Form/File/File.d.ts +1 -3
- package/dist/distributeur/Form/File/File.js +1 -2
- package/dist/distributeur/Form/File/FileInput.d.ts +3 -1
- package/dist/distributeur/Form/File/FileInput.js +2 -2
- package/dist/distributeur/Form/File/FileLine.d.ts +1 -2
- package/dist/distributeur/Form/File/FileLine.js +6 -3
- package/dist/distributeur/Form/File/FileTable.d.ts +1 -2
- package/dist/distributeur/Form/File/FileTable.js +6 -3
- package/dist/distributeur/Form/MultiSelect/MultiSelectInput.js +1 -1
- package/dist/distributeur/Form/NestedQuestion/NestedQuestion.js +7 -3
- package/dist/distributeur/Form/Number/Number.d.ts +5 -5
- package/dist/distributeur/Form/Number/Number.js +6 -7
- package/dist/distributeur/Form/Number/NumberInput.js +1 -1
- package/dist/distributeur/Form/Radio/Radio.d.ts +12 -23
- package/dist/distributeur/Form/Radio/Radio.js +4 -4
- package/dist/distributeur/Form/Radio/RadioInput.d.ts +6 -3
- package/dist/distributeur/Form/Radio/RadioInput.js +4 -4
- package/dist/distributeur/Form/Radio/RadioItem.d.ts +4 -3
- package/dist/distributeur/Form/Radio/RadioItem.js +5 -5
- package/dist/distributeur/Form/Select/Select.d.ts +8 -340
- package/dist/distributeur/Form/Select/Select.js +5 -6
- package/dist/distributeur/Form/Select/SelectBase.d.ts +6 -23
- package/dist/distributeur/Form/Select/SelectBase.js +4 -9
- package/dist/distributeur/Form/Select/SelectDefault.d.ts +7 -4
- package/dist/distributeur/Form/Select/SelectDefault.js +4 -4
- package/dist/distributeur/Form/Select/SelectInput.d.ts +9 -376
- package/dist/distributeur/Form/Select/SelectInput.js +2 -4
- package/dist/distributeur/Form/Select/index.d.ts +0 -1
- package/dist/distributeur/Form/Select/index.js +0 -1
- package/dist/distributeur/Form/Text/Text.d.ts +5 -3
- package/dist/distributeur/Form/Text/Text.js +5 -5
- package/dist/distributeur/Form/Text/TextInput.d.ts +4 -1
- package/dist/distributeur/Form/Text/TextInput.js +2 -4
- package/dist/distributeur/Form/Textarea/Textarea.d.ts +8 -4
- package/dist/distributeur/Form/Textarea/Textarea.js +5 -5
- package/dist/distributeur/Form/Textarea/TextareaInput.d.ts +4 -1
- package/dist/distributeur/Form/Textarea/TextareaInput.js +2 -4
- package/dist/distributeur/Form/core/Field.d.ts +4 -23
- package/dist/distributeur/Form/core/Field.js +23 -16
- package/dist/distributeur/Form/core/FieldError.js +5 -2
- package/dist/distributeur/Form/core/getOptionClassName.d.ts +1 -1
- package/dist/distributeur/Form/core/getOptionClassName.js +2 -6
- package/dist/distributeur/Form/core/index.d.ts +0 -8
- package/dist/distributeur/Form/core/index.js +0 -4
- package/dist/distributeur/HelpButton/index.d.ts +1 -1
- package/dist/distributeur/HelpButton/index.js +4 -6
- package/dist/distributeur/ItemFormHelper/ItemFormHelper.d.ts +8 -0
- package/dist/distributeur/ItemFormHelper/ItemFormHelper.js +31 -0
- package/dist/distributeur/Layout/Footer/Footer.d.ts +5 -3
- package/dist/distributeur/Layout/Footer/Footer.js +2 -2
- package/dist/distributeur/Layout/Header/Header.d.ts +1 -3
- package/dist/distributeur/Layout/Header/Header.js +1 -2
- package/dist/distributeur/Layout/Header/HeaderTitle/HeaderTitle.d.ts +1 -2
- package/dist/distributeur/Layout/Header/HeaderTitle/HeaderTitle.js +7 -4
- package/dist/distributeur/Layout/Header/Infos/Infos.d.ts +1 -3
- package/dist/distributeur/Layout/Header/Infos/Infos.js +1 -2
- package/dist/distributeur/Layout/Header/Name/Name.d.ts +1 -3
- package/dist/distributeur/Layout/Header/Name/Name.js +2 -3
- package/dist/distributeur/Layout/Header/NavBar/NavBar.js +1 -6
- package/dist/distributeur/Layout/Header/NavBar/NavBarBase.d.ts +1 -3
- package/dist/distributeur/Layout/Header/NavBar/NavBarBase.js +7 -3
- package/dist/distributeur/Layout/Header/NavBar/NavBarItem/NavBarItem.d.ts +2 -2
- package/dist/distributeur/Layout/Header/NavBar/NavBarItem/NavBarItem.js +10 -3
- package/dist/distributeur/Layout/Header/NavBar/NavBarItem/NavBarItemBase.d.ts +1 -2
- package/dist/distributeur/Layout/Header/NavBar/NavBarItem/NavBarItemBase.js +7 -4
- package/dist/distributeur/Layout/Header/User/User.d.ts +1 -11
- package/dist/distributeur/Layout/Header/User/User.js +1 -2
- package/dist/distributeur/Link/Link.d.ts +4 -1
- package/dist/distributeur/Link/Link.js +3 -4
- package/dist/distributeur/Link/LinkAnchor.d.ts +8 -7
- package/dist/distributeur/Link/LinkAnchor.js +5 -5
- package/dist/distributeur/Loader/ItemLoader.d.ts +4 -0
- package/dist/distributeur/Loader/ItemLoader.js +8 -0
- package/dist/distributeur/Loader/Loader.d.ts +7 -10
- package/dist/distributeur/Loader/Loader.js +12 -27
- package/dist/distributeur/Loader/SquareLoader.d.ts +15 -0
- package/dist/distributeur/Loader/SquareLoader.js +33 -0
- package/dist/distributeur/Messages/Message.d.ts +2 -6
- package/dist/distributeur/Messages/Message.js +3 -14
- package/dist/distributeur/ModalAgent/BooleanModal.d.ts +4 -6
- package/dist/distributeur/ModalAgent/BooleanModal.js +9 -6
- package/dist/distributeur/ModalAgent/Modal.d.ts +5 -7
- package/dist/distributeur/ModalAgent/Modal.js +10 -19
- package/dist/distributeur/ModalAgent/components/Body.d.ts +2 -5
- package/dist/distributeur/ModalAgent/components/Body.js +1 -2
- package/dist/distributeur/ModalAgent/components/Footer.d.ts +2 -5
- package/dist/distributeur/ModalAgent/components/Footer.js +1 -2
- package/dist/distributeur/ModalAgent/components/Header.d.ts +1 -11
- package/dist/distributeur/ModalAgent/components/Header.js +2 -3
- package/dist/distributeur/ModalAgent/components/HeaderBase.d.ts +2 -5
- package/dist/distributeur/ModalAgent/components/HeaderBase.js +1 -2
- package/dist/distributeur/Popover/AnimatedPopover.d.ts +1 -3
- package/dist/distributeur/Popover/AnimatedPopover.js +1 -2
- package/dist/distributeur/Popover/Popover.d.ts +1 -3
- package/dist/distributeur/Popover/Popover.js +2 -2
- package/dist/distributeur/Popover/Popover.types.d.ts +0 -2
- package/dist/distributeur/Popover/PopoverBase.d.ts +1 -3
- package/dist/distributeur/Popover/PopoverBase.js +2 -2
- package/dist/distributeur/Popover/PopoverClick.d.ts +1 -1
- package/dist/distributeur/Popover/PopoverClick.js +2 -2
- package/dist/distributeur/Popover/PopoverOver.d.ts +1 -1
- package/dist/distributeur/Popover/PopoverOver.js +2 -2
- package/dist/distributeur/Restitution/ArticleRestitution.d.ts +2 -5
- package/dist/distributeur/Restitution/ArticleRestitution.js +1 -2
- package/dist/distributeur/Restitution/HeaderRestitution.d.ts +1 -3
- package/dist/distributeur/Restitution/HeaderRestitution.js +1 -2
- package/dist/distributeur/Restitution/Restitution.d.ts +1 -3
- package/dist/distributeur/Restitution/Restitution.js +2 -2
- package/dist/distributeur/Restitution/SectionRestitution.d.ts +1 -3
- package/dist/distributeur/Restitution/SectionRestitution.js +1 -2
- package/dist/distributeur/Restitution/SectionRestitutionColumn.d.ts +1 -3
- package/dist/distributeur/Restitution/SectionRestitutionColumn.js +1 -2
- package/dist/distributeur/Restitution/SectionRestitutionRow.d.ts +1 -3
- package/dist/distributeur/Restitution/SectionRestitutionRow.js +5 -9
- package/dist/distributeur/Restitution/SectionRestitutionTitle.d.ts +1 -3
- package/dist/distributeur/Restitution/SectionRestitutionTitle.js +1 -2
- package/dist/distributeur/Steps/Step.d.ts +1 -1
- package/dist/distributeur/Steps/Step.js +4 -4
- package/dist/distributeur/Steps/StepBase.d.ts +1 -3
- package/dist/distributeur/Steps/StepBase.js +1 -2
- package/dist/distributeur/Steps/Steps.d.ts +1 -3
- package/dist/distributeur/Steps/Steps.js +1 -2
- package/dist/distributeur/Steps/VerticalStep.d.ts +2 -8
- package/dist/distributeur/Summary/index.d.ts +1 -1
- package/dist/distributeur/Summary/index.js +1 -2
- package/dist/distributeur/Svg/svgInjector.js +1 -0
- package/dist/distributeur/Table/Pagination/Items.d.ts +1 -2
- package/dist/distributeur/Table/Pagination/Items.js +8 -8
- package/dist/distributeur/Table/Pagination/Pager.d.ts +1 -2
- package/dist/distributeur/Table/Pagination/Pager.js +6 -3
- package/dist/distributeur/Table/Pagination/Paging.d.ts +1 -1
- package/dist/distributeur/Table/Pagination/Paging.js +6 -3
- package/dist/distributeur/Table/TBody.d.ts +1 -5
- package/dist/distributeur/Table/TBody.js +1 -2
- package/dist/distributeur/Table/THead.d.ts +2 -5
- package/dist/distributeur/Table/THead.js +1 -2
- package/dist/distributeur/Table/Table.d.ts +6 -33
- package/dist/distributeur/Table/Table.js +1 -10
- package/dist/distributeur/Table/Td.d.ts +1 -5
- package/dist/distributeur/Table/Td.js +1 -2
- package/dist/distributeur/Table/Th.d.ts +2 -4
- package/dist/distributeur/Table/Th.js +2 -2
- package/dist/distributeur/Table/Tr.d.ts +2 -5
- package/dist/distributeur/Table/Tr.js +1 -2
- package/dist/distributeur/Table/index.d.ts +1 -1
- package/dist/distributeur/Tabs/components/Tab.d.ts +0 -4
- package/dist/distributeur/Tabs/components/TabsStateless.d.ts +3 -7
- package/dist/distributeur/Tabs/components/TabsStateless.js +2 -2
- package/dist/distributeur/Tag/Tag.d.ts +4 -6
- package/dist/distributeur/Tag/Tag.js +5 -5
- package/dist/distributeur/Title/Title.d.ts +4 -3
- package/dist/distributeur/Title/Title.js +5 -5
- package/dist/distributeur/utilities.d.ts +1 -1
- package/dist/distributeur/utilities.js +1 -1
- package/dist/distributeur-experimental.d.ts +2 -0
- package/dist/distributeur-experimental.js +2 -0
- package/dist/distributeur.d.ts +13 -21
- package/dist/distributeur.js +12 -17
- package/dist/prospect-client/AccordionCore/AccordionCoreCommon.d.ts +3 -5
- package/dist/prospect-client/AccordionCore/AccordionCoreCommon.js +10 -4
- package/dist/prospect-client/AppName/AppName.d.ts +44 -0
- package/dist/prospect-client/AppName/AppName.js +23 -0
- package/dist/prospect-client/Card/CardApollo.d.ts +1 -1
- package/dist/prospect-client/Card/CardApollo.js +1 -1
- package/dist/prospect-client/Card/CardCommon.d.ts +30 -2
- package/dist/prospect-client/Card/CardCommon.js +18 -1
- package/dist/prospect-client/Card/CardLF.d.ts +1 -1
- package/dist/prospect-client/Card/CardLF.js +1 -1
- package/dist/prospect-client/CardMessage/CardMessageCommon.js +6 -4
- package/dist/prospect-client/ContentItemDuoAction/ContentItemDuoActionCommon.d.ts +2 -2
- package/dist/prospect-client/ContentItemDuoAction/ContentItemDuoActionCommon.js +5 -2
- package/dist/prospect-client/ContentItemMono/ContentItemMonoCommon.d.ts +0 -4
- package/dist/prospect-client/ContentItemMono/ContentItemMonoCommon.js +2 -3
- package/dist/prospect-client/DataAgent/DataAgentCommon.js +2 -2
- package/dist/prospect-client/Divider/DividerCommon.d.ts +1 -2
- package/dist/prospect-client/Divider/DividerCommon.js +3 -3
- package/dist/prospect-client/Form/Checkbox/CardCheckbox/CardCheckboxApollo.d.ts +1 -0
- package/dist/prospect-client/Form/Checkbox/CardCheckbox/CardCheckboxApollo.js +1 -1
- package/dist/prospect-client/Form/Checkbox/CardCheckbox/CardCheckboxCommon.d.ts +2 -18
- package/dist/prospect-client/Form/Checkbox/CardCheckbox/CardCheckboxCommon.js +4 -4
- package/dist/prospect-client/Form/Checkbox/CardCheckbox/CardCheckboxLF.d.ts +1 -0
- package/dist/prospect-client/Form/Checkbox/CardCheckbox/CardCheckboxLF.js +1 -1
- package/dist/prospect-client/Form/Checkbox/CardCheckboxOption/CardCheckboxOptionCommon.d.ts +4 -1
- package/dist/prospect-client/Form/Checkbox/CardCheckboxOption/CardCheckboxOptionCommon.js +3 -3
- package/dist/prospect-client/Form/Checkbox/Checkbox/CheckboxCommon.d.ts +2 -3
- package/dist/prospect-client/Form/Checkbox/Checkbox/CheckboxCommon.js +7 -3
- package/dist/prospect-client/Form/Checkbox/CheckboxText/CheckboxTextApollo.d.ts +4 -1
- package/dist/prospect-client/Form/Checkbox/CheckboxText/CheckboxTextApollo.js +2 -3
- package/dist/prospect-client/Form/Checkbox/CheckboxText/CheckboxTextCommon.d.ts +5 -6
- package/dist/prospect-client/Form/Checkbox/CheckboxText/CheckboxTextCommon.js +5 -5
- package/dist/prospect-client/Form/Checkbox/CheckboxText/CheckboxTextLF.d.ts +4 -1
- package/dist/prospect-client/Form/Checkbox/CheckboxText/CheckboxTextLF.js +2 -3
- package/dist/prospect-client/Form/Dropdown/DropdownApollo.js +1 -1
- package/dist/prospect-client/Form/Dropdown/DropdownCommon.d.ts +7 -13
- package/dist/prospect-client/Form/Dropdown/DropdownCommon.js +6 -6
- package/dist/prospect-client/Form/Dropdown/DropdownLF.js +1 -1
- package/dist/prospect-client/Form/FileUpload/FileUpload/FileUploadApollo.d.ts +4 -1
- package/dist/prospect-client/Form/FileUpload/FileUpload/FileUploadApollo.js +1 -2
- package/dist/prospect-client/Form/FileUpload/FileUpload/FileUploadCommon.d.ts +4 -1
- package/dist/prospect-client/Form/FileUpload/FileUpload/FileUploadCommon.js +4 -4
- package/dist/prospect-client/Form/FileUpload/FileUpload/FileUploadLF.d.ts +4 -1
- package/dist/prospect-client/Form/FileUpload/FileUpload/FileUploadLF.js +1 -2
- package/dist/prospect-client/Form/FileUpload/InputFile/InputFileApollo.d.ts +4 -1
- package/dist/prospect-client/Form/FileUpload/InputFile/InputFileApollo.js +4 -5
- package/dist/prospect-client/Form/FileUpload/InputFile/InputFileCommon.d.ts +5 -2
- package/dist/prospect-client/Form/FileUpload/InputFile/InputFileCommon.js +5 -7
- package/dist/prospect-client/Form/FileUpload/InputFile/InputFileLF.d.ts +4 -1
- package/dist/prospect-client/Form/FileUpload/InputFile/InputFileLF.js +2 -3
- package/dist/prospect-client/Form/FileUpload/ItemFile/ItemFileApollo.js +1 -1
- package/dist/prospect-client/Form/FileUpload/ItemFile/ItemFileCommon.d.ts +1 -1
- package/dist/prospect-client/Form/FileUpload/ItemFile/ItemFileLF.js +1 -1
- package/dist/prospect-client/Form/InputDate/InputDateApollo.d.ts +4 -1
- package/dist/prospect-client/Form/InputDate/InputDateApollo.js +2 -3
- package/dist/prospect-client/Form/InputDate/InputDateAtom.d.ts +4 -1
- package/dist/prospect-client/Form/InputDate/InputDateAtom.js +2 -2
- package/dist/prospect-client/Form/InputDate/InputDateCommon.d.ts +7 -13
- package/dist/prospect-client/Form/InputDate/InputDateCommon.js +8 -9
- package/dist/prospect-client/Form/InputDate/InputDateLF.d.ts +4 -1
- package/dist/prospect-client/Form/InputDate/InputDateLF.js +2 -3
- package/dist/prospect-client/Form/InputDate/InputDateTextAtom.d.ts +4 -1
- package/dist/prospect-client/Form/InputDate/InputDateTextAtom.js +4 -4
- package/dist/prospect-client/Form/InputPhone/InputPhoneApollo.js +1 -1
- package/dist/prospect-client/Form/InputPhone/InputPhoneCommon.d.ts +7 -13
- package/dist/prospect-client/Form/InputPhone/InputPhoneCommon.js +12 -8
- package/dist/prospect-client/Form/InputPhone/InputPhoneLF.js +1 -1
- package/dist/prospect-client/Form/InputText/InputTextApollo.d.ts +4 -1
- package/dist/prospect-client/Form/InputText/InputTextApollo.js +2 -3
- package/dist/prospect-client/Form/InputText/InputTextCommon.d.ts +7 -13
- package/dist/prospect-client/Form/InputText/InputTextCommon.js +9 -8
- package/dist/prospect-client/Form/InputText/InputTextLF.d.ts +4 -1
- package/dist/prospect-client/Form/InputText/InputTextLF.js +2 -3
- package/dist/prospect-client/Form/InputTextAtom/InputTextAtomCommon.d.ts +4 -2
- package/dist/prospect-client/Form/InputTextAtom/InputTextAtomCommon.js +4 -5
- package/dist/prospect-client/Form/ItemLabel/ItemLabelCommon.d.ts +2 -22
- package/dist/prospect-client/Form/ItemLabel/ItemLabelCommon.js +4 -5
- package/dist/prospect-client/Form/ItemMessage/{ItemMessageCommon.d.ts → ItemMessage.d.ts} +1 -0
- package/dist/prospect-client/Form/ItemMessage/{ItemMessageCommon.js → ItemMessage.js} +10 -9
- package/dist/prospect-client/Form/ItemMultiSelect/ItemMultiSelectApollo.d.ts +7 -0
- package/dist/prospect-client/Form/ItemMultiSelect/ItemMultiSelectApollo.js +6 -0
- package/dist/prospect-client/Form/ItemMultiSelect/ItemMultiSelectCommon.d.ts +8 -0
- package/dist/prospect-client/Form/ItemMultiSelect/ItemMultiSelectCommon.js +9 -0
- package/dist/prospect-client/Form/ItemMultiSelect/ItemMultiSelectLF.d.ts +7 -0
- package/dist/prospect-client/Form/ItemMultiSelect/ItemMultiSelectLF.js +6 -0
- package/dist/prospect-client/Form/MultiSelectList/MultiSelectListApollo.d.ts +4 -0
- package/dist/prospect-client/Form/MultiSelectList/MultiSelectListApollo.js +5 -0
- package/dist/prospect-client/Form/MultiSelectList/MultiSelectListCommon.d.ts +11 -0
- package/dist/prospect-client/Form/MultiSelectList/MultiSelectListCommon.js +2 -0
- package/dist/prospect-client/Form/MultiSelectList/MultiSelectListLF.d.ts +4 -0
- package/dist/prospect-client/Form/MultiSelectList/MultiSelectListLF.js +5 -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/{CardRadioOption/CardRadioOptionCommon.d.ts → CardRadio/CardRadioCommon.d.ts} +7 -8
- 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/CardRadioGroup/CardRadioGroupApollo.js +3 -3
- package/dist/prospect-client/Form/Radio/CardRadioGroup/CardRadioGroupCommon.d.ts +9 -33
- package/dist/prospect-client/Form/Radio/CardRadioGroup/CardRadioGroupCommon.js +6 -8
- package/dist/prospect-client/Form/Radio/CardRadioGroup/CardRadioGroupLF.js +3 -3
- package/dist/prospect-client/Form/Radio/Radio/RadioCommon.d.ts +2 -2
- package/dist/prospect-client/Form/Radio/Radio/RadioCommon.js +7 -5
- package/dist/prospect-client/Form/TextArea/TextAreaApollo.d.ts +4 -1
- package/dist/prospect-client/Form/TextArea/TextAreaApollo.js +2 -3
- package/dist/prospect-client/Form/TextArea/TextAreaCommon.d.ts +7 -8
- package/dist/prospect-client/Form/TextArea/TextAreaCommon.js +6 -6
- package/dist/prospect-client/Form/TextArea/TextAreaLF.d.ts +4 -1
- package/dist/prospect-client/Form/TextArea/TextAreaLF.js +2 -3
- package/dist/prospect-client/Header/HeaderApollo.d.ts +4 -0
- package/dist/prospect-client/Header/HeaderApollo.js +8 -0
- package/dist/prospect-client/Header/HeaderCommon.d.ts +22 -0
- package/dist/prospect-client/Header/HeaderCommon.js +37 -0
- package/dist/prospect-client/Header/HeaderLF.d.ts +4 -0
- package/dist/prospect-client/Header/HeaderLF.js +8 -0
- package/dist/prospect-client/Icon/IconCommon.d.ts +1 -1
- package/dist/prospect-client/Icon/IconCommon.js +8 -9
- package/dist/prospect-client/ItemMenu/ItemMenuApollo.d.ts +2 -0
- package/dist/prospect-client/ItemMenu/ItemMenuApollo.js +2 -0
- package/dist/prospect-client/ItemMenu/ItemMenuCommon.d.ts +22 -0
- package/dist/prospect-client/ItemMenu/ItemMenuCommon.js +18 -0
- package/dist/prospect-client/ItemMenu/ItemMenuLF.d.ts +2 -0
- package/dist/prospect-client/ItemMenu/ItemMenuLF.js +2 -0
- package/dist/prospect-client/ItemTabBar/ItemTabBarCommon.d.ts +4 -1
- package/dist/prospect-client/ItemTabBar/ItemTabBarCommon.js +9 -6
- package/dist/prospect-client/Layout/ExitLayout/ExitLayoutApollo.d.ts +12 -0
- package/dist/prospect-client/Layout/ExitLayout/ExitLayoutApollo.js +12 -0
- package/dist/prospect-client/Layout/ExitLayout/ExitLayoutLF.d.ts +12 -0
- package/dist/prospect-client/Layout/ExitLayout/ExitLayoutLF.js +12 -0
- package/dist/prospect-client/Layout/ExitLayout/ExitLayoutSkeleton.d.ts +23 -0
- package/dist/prospect-client/Layout/ExitLayout/ExitLayoutSkeleton.js +17 -0
- package/dist/prospect-client/Link/LinkCommon.d.ts +1 -5
- package/dist/prospect-client/Link/LinkCommon.js +2 -2
- package/dist/prospect-client/List/ClickItem/ClickItemCommon.d.ts +1 -0
- package/dist/prospect-client/List/ContentItemDuo/ContentItemDuoApollo.js +1 -1
- package/dist/prospect-client/List/ContentItemDuo/ContentItemDuoCommon.d.ts +3 -7
- package/dist/prospect-client/List/ContentItemDuo/ContentItemDuoCommon.js +3 -7
- package/dist/prospect-client/List/ContentItemDuo/ContentItemDuoLF.js +1 -1
- package/dist/prospect-client/List/List/ListCommon.d.ts +27 -2
- package/dist/prospect-client/List/List/ListCommon.js +12 -0
- package/dist/prospect-client/Loader/LoaderCommon.d.ts +4 -1
- package/dist/prospect-client/Loader/LoaderCommon.js +4 -4
- package/dist/prospect-client/MenuBurger/MenuBurgerApollo.d.ts +4 -0
- package/dist/prospect-client/MenuBurger/MenuBurgerApollo.js +8 -0
- package/dist/prospect-client/MenuBurger/MenuBurgerCommon.d.ts +60 -0
- package/dist/prospect-client/MenuBurger/MenuBurgerCommon.js +34 -0
- package/dist/prospect-client/MenuBurger/MenuBurgerLF.d.ts +4 -0
- package/dist/prospect-client/MenuBurger/MenuBurgerLF.js +8 -0
- package/dist/prospect-client/MessageBar/MessageBarAction.d.ts +8 -0
- package/dist/prospect-client/MessageBar/MessageBarAction.js +11 -0
- package/dist/prospect-client/MessageBar/MessageBarApollo.d.ts +5 -0
- package/dist/prospect-client/MessageBar/MessageBarApollo.js +7 -0
- package/dist/prospect-client/MessageBar/MessageBarCommon.d.ts +26 -0
- package/dist/prospect-client/MessageBar/MessageBarCommon.js +33 -0
- package/dist/prospect-client/MessageBar/MessageBarDescription.d.ts +6 -0
- package/dist/prospect-client/MessageBar/MessageBarDescription.js +8 -0
- package/dist/prospect-client/MessageBar/MessageBarLF.d.ts +5 -0
- package/dist/prospect-client/MessageBar/MessageBarLF.js +7 -0
- package/dist/prospect-client/MessageBar/MessageBarSummary.d.ts +11 -0
- package/dist/prospect-client/MessageBar/MessageBarSummary.js +2 -0
- package/dist/prospect-client/MessageBar/types.d.ts +1 -0
- package/dist/prospect-client/MessageBar/types.js +1 -0
- package/dist/prospect-client/Modal/ModalApollo.d.ts +4 -1
- package/dist/prospect-client/Modal/ModalApollo.js +2 -5
- package/dist/prospect-client/Modal/ModalCommon.d.ts +4 -1
- package/dist/prospect-client/Modal/ModalCommon.js +1 -2
- package/dist/prospect-client/Modal/ModalLF.d.ts +4 -1
- package/dist/prospect-client/Modal/ModalLF.js +2 -5
- package/dist/prospect-client/Modal/components/ModalCore.d.ts +4 -1
- package/dist/prospect-client/Modal/components/ModalCore.js +3 -3
- package/dist/prospect-client/Modal/components/ModalCoreHeaderCommon.d.ts +0 -7
- package/dist/prospect-client/Modal/components/ModalCoreHeaderCommon.js +2 -12
- package/dist/prospect-client/Modal/types.d.ts +0 -15
- package/dist/prospect-client/ProgressBarGroup/ProgressBarGroupCommon.d.ts +1 -5
- package/dist/prospect-client/ProgressBarGroup/ProgressBarGroupCommon.js +1 -1
- package/dist/prospect-client/Skeleton/Skeleton.d.ts +61 -0
- package/dist/prospect-client/Skeleton/Skeleton.js +41 -0
- package/dist/prospect-client/SkeletonGrid/SkeletonGrid.d.ts +51 -0
- package/dist/prospect-client/SkeletonGrid/SkeletonGrid.js +37 -0
- package/dist/prospect-client/SkeletonList/SkeletonListApollo.d.ts +7 -0
- package/dist/prospect-client/SkeletonList/SkeletonListApollo.js +8 -2
- package/dist/prospect-client/SkeletonList/SkeletonListCommon.d.ts +21 -4
- package/dist/prospect-client/SkeletonList/SkeletonListCommon.js +18 -2
- package/dist/prospect-client/SkeletonList/SkeletonListLF.d.ts +7 -0
- package/dist/prospect-client/SkeletonList/SkeletonListLF.js +8 -2
- package/dist/prospect-client/Stepper/StepperApollo.js +3 -1
- package/dist/prospect-client/Stepper/StepperCommon.d.ts +13 -7
- package/dist/prospect-client/Stepper/StepperCommon.js +3 -4
- package/dist/prospect-client/Stepper/StepperLF.js +3 -1
- package/dist/prospect-client/TabBar/TabBarCommon.js +6 -3
- package/dist/prospect-client/TabMenu/TabMenu.d.ts +36 -0
- package/dist/prospect-client/TabMenu/TabMenu.helpers.d.ts +1 -0
- package/dist/prospect-client/TabMenu/TabMenu.helpers.js +12 -0
- package/dist/prospect-client/TabMenu/TabMenu.js +39 -0
- package/dist/prospect-client/Tag/TagCommon.js +6 -2
- package/dist/prospect-client/TagList/TagListApollo.d.ts +4 -0
- package/dist/prospect-client/TagList/TagListApollo.js +5 -0
- package/dist/prospect-client/TagList/TagListCommon.d.ts +10 -0
- package/dist/prospect-client/TagList/TagListCommon.js +16 -0
- package/dist/prospect-client/TagList/TagListLF.d.ts +4 -0
- package/dist/prospect-client/TagList/TagListLF.js +5 -0
- package/dist/prospect-client/Toggle/ToggleApollo.d.ts +4 -1
- package/dist/prospect-client/Toggle/ToggleApollo.js +1 -2
- package/dist/prospect-client/Toggle/ToggleCommon.d.ts +4 -3
- package/dist/prospect-client/Toggle/ToggleCommon.js +5 -5
- package/dist/prospect-client/Toggle/ToggleLF.d.ts +4 -1
- package/dist/prospect-client/Toggle/ToggleLF.js +1 -2
- package/dist/prospect.d.ts +17 -11
- package/dist/prospect.js +17 -11
- package/package.json +3 -3
- package/dist/distributeur/Form/Pass/Pass.d.ts +0 -12
- package/dist/distributeur/Form/Pass/Pass.js +0 -13
- package/dist/distributeur/Form/Pass/PassInput.d.ts +0 -13
- package/dist/distributeur/Form/Pass/PassInput.js +0 -34
- package/dist/distributeur/Form/Pass/index.d.ts +0 -2
- package/dist/distributeur/Form/Pass/index.js +0 -2
- package/dist/distributeur/Form/Select/SelectDefaultWithOptions.d.ts +0 -23
- package/dist/distributeur/Form/Select/SelectDefaultWithOptions.js +0 -39
- package/dist/distributeur/Form/Slider/Slider.d.ts +0 -28
- package/dist/distributeur/Form/Slider/Slider.js +0 -40
- package/dist/distributeur/Form/Slider/SliderInput.d.ts +0 -9
- package/dist/distributeur/Form/Slider/SliderInput.js +0 -11
- package/dist/distributeur/Form/Slider/index.d.ts +0 -3
- package/dist/distributeur/Form/Slider/index.js +0 -3
- package/dist/distributeur/Form/core/Deprecated/Field.d.ts +0 -21
- package/dist/distributeur/Form/core/Deprecated/Field.js +0 -20
- package/dist/distributeur/Form/core/Deprecated/FieldForm.d.ts +0 -103
- package/dist/distributeur/Form/core/Deprecated/FieldForm.js +0 -162
- package/dist/distributeur/Form/core/Deprecated/FieldInput.d.ts +0 -16
- package/dist/distributeur/Form/core/Deprecated/FieldInput.js +0 -14
- package/dist/distributeur/Form/core/useInputClassModifier.d.ts +0 -4
- package/dist/distributeur/Form/core/useInputClassModifier.js +0 -13
- package/dist/distributeur/Layout/Header/HeaderTitle/HeaderTitle.helpers.d.ts +0 -1
- package/dist/distributeur/Layout/Header/HeaderTitle/HeaderTitle.helpers.js +0 -6
- package/dist/distributeur/utilities/helpers/getComponentClassName.d.ts +0 -20
- package/dist/distributeur/utilities/helpers/getComponentClassName.js +0 -54
- package/dist/prospect-client/Form/ItemMessage/ItemMessageApollo.d.ts +0 -2
- package/dist/prospect-client/Form/ItemMessage/ItemMessageApollo.js +0 -2
- package/dist/prospect-client/Form/ItemMessage/ItemMessageLF.d.ts +0 -2
- package/dist/prospect-client/Form/ItemMessage/ItemMessageLF.js +0 -2
- package/dist/prospect-client/Form/Radio/CardRadioOption/CardRadioOptionApollo.d.ts +0 -3
- package/dist/prospect-client/Form/Radio/CardRadioOption/CardRadioOptionApollo.js +0 -6
- package/dist/prospect-client/Form/Radio/CardRadioOption/CardRadioOptionCommon.js +0 -16
- package/dist/prospect-client/Form/Radio/CardRadioOption/CardRadioOptionLF.d.ts +0 -3
- package/dist/prospect-client/Form/Radio/CardRadioOption/CardRadioOptionLF.js +0 -6
- package/dist/prospect-client/Skeleton/SkeletonApollo.d.ts +0 -2
- package/dist/prospect-client/Skeleton/SkeletonApollo.js +0 -2
- package/dist/prospect-client/Skeleton/SkeletonCommon.d.ts +0 -19
- package/dist/prospect-client/Skeleton/SkeletonCommon.js +0 -11
- package/dist/prospect-client/Skeleton/SkeletonLF.d.ts +0 -2
- package/dist/prospect-client/Skeleton/SkeletonLF.js +0 -2
- package/dist/prospect-client/utilities/getComponentClassName.d.ts +0 -4
- package/dist/prospect-client/utilities/getComponentClassName.js +0 -30
|
@@ -1,378 +1,11 @@
|
|
|
1
|
-
import { type OptionHTMLAttributes } from "react";
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
className?: string;
|
|
6
|
-
classModifier?: string;
|
|
7
|
-
classNameContainerLabel?: string;
|
|
8
|
-
classNameContainerInput?: string;
|
|
9
|
-
isVisible?: boolean;
|
|
10
|
-
roleContainer?: string;
|
|
11
|
-
ariaLabelContainer?: string;
|
|
12
|
-
isLabelContainerLinkedToInput?: boolean;
|
|
13
|
-
forceDisplayMessage?: boolean;
|
|
14
|
-
message?: string;
|
|
15
|
-
messageType?: import("../core").MessageTypes;
|
|
16
|
-
required?: boolean;
|
|
17
|
-
disabled?: boolean;
|
|
18
|
-
helpMessage?: import("react").ReactNode;
|
|
19
|
-
labelPosition?: "top" | "center";
|
|
20
|
-
classNameSuffix?: string;
|
|
21
|
-
renderInput: (props: {
|
|
22
|
-
id: string;
|
|
23
|
-
classModifier: string;
|
|
24
|
-
errorId?: string;
|
|
25
|
-
ariaInvalid?: boolean;
|
|
26
|
-
} & Record<string, unknown>) => import("react").ReactNode;
|
|
27
|
-
appendChildren?: import("react").ReactNode;
|
|
28
|
-
}, "children" | "renderInput" | "classNameSuffix"> & {
|
|
29
|
-
children?: import("react").ReactNode;
|
|
30
|
-
} & Omit<Omit<{
|
|
31
|
-
className?: string | undefined | undefined;
|
|
32
|
-
suppressHydrationWarning?: boolean | undefined | undefined;
|
|
33
|
-
color?: string | undefined | undefined;
|
|
34
|
-
id?: string | undefined | undefined;
|
|
35
|
-
lang?: string | undefined | undefined;
|
|
36
|
-
name?: string | undefined | undefined;
|
|
37
|
-
nonce?: string | undefined | undefined;
|
|
38
|
-
part?: string | undefined | undefined;
|
|
39
|
-
slot?: string | undefined | undefined;
|
|
40
|
-
style?: import("react").CSSProperties | undefined;
|
|
41
|
-
role?: import("react").AriaRole | undefined;
|
|
42
|
-
tabIndex?: number | undefined | undefined;
|
|
43
|
-
"aria-activedescendant"?: string | undefined | undefined;
|
|
44
|
-
"aria-atomic"?: (boolean | "true" | "false") | undefined;
|
|
45
|
-
"aria-autocomplete"?: "none" | "inline" | "list" | "both" | undefined | undefined;
|
|
46
|
-
"aria-braillelabel"?: string | undefined | undefined;
|
|
47
|
-
"aria-brailleroledescription"?: string | undefined | undefined;
|
|
48
|
-
"aria-busy"?: (boolean | "true" | "false") | undefined;
|
|
49
|
-
"aria-checked"?: boolean | "false" | "mixed" | "true" | undefined | undefined;
|
|
50
|
-
"aria-colcount"?: number | undefined | undefined;
|
|
51
|
-
"aria-colindex"?: number | undefined | undefined;
|
|
52
|
-
"aria-colindextext"?: string | undefined | undefined;
|
|
53
|
-
"aria-colspan"?: number | undefined | undefined;
|
|
54
|
-
"aria-controls"?: string | undefined | undefined;
|
|
55
|
-
"aria-current"?: boolean | "false" | "true" | "page" | "step" | "location" | "date" | "time" | undefined | undefined;
|
|
56
|
-
"aria-describedby"?: string | undefined | undefined;
|
|
57
|
-
"aria-description"?: string | undefined | undefined;
|
|
58
|
-
"aria-details"?: string | undefined | undefined;
|
|
59
|
-
"aria-disabled"?: (boolean | "true" | "false") | undefined;
|
|
60
|
-
"aria-dropeffect"?: "none" | "copy" | "execute" | "link" | "move" | "popup" | undefined | undefined;
|
|
61
|
-
"aria-errormessage"?: string | undefined | undefined;
|
|
62
|
-
"aria-expanded"?: (boolean | "true" | "false") | undefined;
|
|
63
|
-
"aria-flowto"?: string | undefined | undefined;
|
|
64
|
-
"aria-grabbed"?: (boolean | "true" | "false") | undefined;
|
|
65
|
-
"aria-haspopup"?: boolean | "false" | "true" | "menu" | "listbox" | "tree" | "grid" | "dialog" | undefined | undefined;
|
|
66
|
-
"aria-hidden"?: (boolean | "true" | "false") | undefined;
|
|
67
|
-
"aria-invalid"?: boolean | "false" | "true" | "grammar" | "spelling" | undefined | undefined;
|
|
68
|
-
"aria-keyshortcuts"?: string | undefined | undefined;
|
|
69
|
-
"aria-label"?: string | undefined | undefined;
|
|
70
|
-
"aria-labelledby"?: string | undefined | undefined;
|
|
71
|
-
"aria-level"?: number | undefined | undefined;
|
|
72
|
-
"aria-live"?: "off" | "assertive" | "polite" | undefined | undefined;
|
|
73
|
-
"aria-modal"?: (boolean | "true" | "false") | undefined;
|
|
74
|
-
"aria-multiline"?: (boolean | "true" | "false") | undefined;
|
|
75
|
-
"aria-multiselectable"?: (boolean | "true" | "false") | undefined;
|
|
76
|
-
"aria-orientation"?: "horizontal" | "vertical" | undefined | undefined;
|
|
77
|
-
"aria-owns"?: string | undefined | undefined;
|
|
78
|
-
"aria-placeholder"?: string | undefined | undefined;
|
|
79
|
-
"aria-posinset"?: number | undefined | undefined;
|
|
80
|
-
"aria-pressed"?: boolean | "false" | "mixed" | "true" | undefined | undefined;
|
|
81
|
-
"aria-readonly"?: (boolean | "true" | "false") | undefined;
|
|
82
|
-
"aria-relevant"?: "additions" | "additions removals" | "additions text" | "all" | "removals" | "removals additions" | "removals text" | "text" | "text additions" | "text removals" | undefined | undefined;
|
|
83
|
-
"aria-required"?: (boolean | "true" | "false") | undefined;
|
|
84
|
-
"aria-roledescription"?: string | undefined | undefined;
|
|
85
|
-
"aria-rowcount"?: number | undefined | undefined;
|
|
86
|
-
"aria-rowindex"?: number | undefined | undefined;
|
|
87
|
-
"aria-rowindextext"?: string | undefined | undefined;
|
|
88
|
-
"aria-rowspan"?: number | undefined | undefined;
|
|
89
|
-
"aria-selected"?: (boolean | "true" | "false") | undefined;
|
|
90
|
-
"aria-setsize"?: number | undefined | undefined;
|
|
91
|
-
"aria-sort"?: "none" | "ascending" | "descending" | "other" | undefined | undefined;
|
|
92
|
-
"aria-valuemax"?: number | undefined | undefined;
|
|
93
|
-
"aria-valuemin"?: number | undefined | undefined;
|
|
94
|
-
"aria-valuenow"?: number | undefined | undefined;
|
|
95
|
-
"aria-valuetext"?: string | undefined | undefined;
|
|
96
|
-
children: import("react").ReactNode | undefined;
|
|
97
|
-
dangerouslySetInnerHTML?: {
|
|
98
|
-
__html: string | TrustedHTML;
|
|
99
|
-
} | undefined | undefined;
|
|
100
|
-
onCopy?: import("react").ClipboardEventHandler<HTMLSelectElement> | undefined;
|
|
101
|
-
onCopyCapture?: import("react").ClipboardEventHandler<HTMLSelectElement> | undefined;
|
|
102
|
-
onCut?: import("react").ClipboardEventHandler<HTMLSelectElement> | undefined;
|
|
103
|
-
onCutCapture?: import("react").ClipboardEventHandler<HTMLSelectElement> | undefined;
|
|
104
|
-
onPaste?: import("react").ClipboardEventHandler<HTMLSelectElement> | undefined;
|
|
105
|
-
onPasteCapture?: import("react").ClipboardEventHandler<HTMLSelectElement> | undefined;
|
|
106
|
-
onCompositionEnd?: import("react").CompositionEventHandler<HTMLSelectElement> | undefined;
|
|
107
|
-
onCompositionEndCapture?: import("react").CompositionEventHandler<HTMLSelectElement> | undefined;
|
|
108
|
-
onCompositionStart?: import("react").CompositionEventHandler<HTMLSelectElement> | undefined;
|
|
109
|
-
onCompositionStartCapture?: import("react").CompositionEventHandler<HTMLSelectElement> | undefined;
|
|
110
|
-
onCompositionUpdate?: import("react").CompositionEventHandler<HTMLSelectElement> | undefined;
|
|
111
|
-
onCompositionUpdateCapture?: import("react").CompositionEventHandler<HTMLSelectElement> | undefined;
|
|
112
|
-
onFocus?: import("react").FocusEventHandler<HTMLSelectElement> | undefined;
|
|
113
|
-
onFocusCapture?: import("react").FocusEventHandler<HTMLSelectElement> | undefined;
|
|
114
|
-
onBlur?: import("react").FocusEventHandler<HTMLSelectElement> | undefined;
|
|
115
|
-
onBlurCapture?: import("react").FocusEventHandler<HTMLSelectElement> | undefined;
|
|
116
|
-
onChange?: import("react").ChangeEventHandler<HTMLSelectElement, HTMLSelectElement> | undefined;
|
|
117
|
-
onChangeCapture?: import("react").ChangeEventHandler<HTMLSelectElement, Element> | undefined;
|
|
118
|
-
onBeforeInput?: import("react").InputEventHandler<HTMLSelectElement> | undefined;
|
|
119
|
-
onBeforeInputCapture?: import("react").InputEventHandler<HTMLSelectElement> | undefined;
|
|
120
|
-
onInput?: import("react").InputEventHandler<HTMLSelectElement> | undefined;
|
|
121
|
-
onInputCapture?: import("react").InputEventHandler<HTMLSelectElement> | undefined;
|
|
122
|
-
onReset?: import("react").ReactEventHandler<HTMLSelectElement> | undefined;
|
|
123
|
-
onResetCapture?: import("react").ReactEventHandler<HTMLSelectElement> | undefined;
|
|
124
|
-
onSubmit?: import("react").SubmitEventHandler<HTMLSelectElement> | undefined;
|
|
125
|
-
onSubmitCapture?: import("react").SubmitEventHandler<HTMLSelectElement> | undefined;
|
|
126
|
-
onInvalid?: import("react").ReactEventHandler<HTMLSelectElement> | undefined;
|
|
127
|
-
onInvalidCapture?: import("react").ReactEventHandler<HTMLSelectElement> | undefined;
|
|
128
|
-
onLoad?: import("react").ReactEventHandler<HTMLSelectElement> | undefined;
|
|
129
|
-
onLoadCapture?: import("react").ReactEventHandler<HTMLSelectElement> | undefined;
|
|
130
|
-
onError?: import("react").ReactEventHandler<HTMLSelectElement> | undefined;
|
|
131
|
-
onErrorCapture?: import("react").ReactEventHandler<HTMLSelectElement> | undefined;
|
|
132
|
-
onKeyDown?: import("react").KeyboardEventHandler<HTMLSelectElement> | undefined;
|
|
133
|
-
onKeyDownCapture?: import("react").KeyboardEventHandler<HTMLSelectElement> | undefined;
|
|
134
|
-
onKeyPress?: import("react").KeyboardEventHandler<HTMLSelectElement> | undefined;
|
|
135
|
-
onKeyPressCapture?: import("react").KeyboardEventHandler<HTMLSelectElement> | undefined;
|
|
136
|
-
onKeyUp?: import("react").KeyboardEventHandler<HTMLSelectElement> | undefined;
|
|
137
|
-
onKeyUpCapture?: import("react").KeyboardEventHandler<HTMLSelectElement> | undefined;
|
|
138
|
-
onAbort?: import("react").ReactEventHandler<HTMLSelectElement> | undefined;
|
|
139
|
-
onAbortCapture?: import("react").ReactEventHandler<HTMLSelectElement> | undefined;
|
|
140
|
-
onCanPlay?: import("react").ReactEventHandler<HTMLSelectElement> | undefined;
|
|
141
|
-
onCanPlayCapture?: import("react").ReactEventHandler<HTMLSelectElement> | undefined;
|
|
142
|
-
onCanPlayThrough?: import("react").ReactEventHandler<HTMLSelectElement> | undefined;
|
|
143
|
-
onCanPlayThroughCapture?: import("react").ReactEventHandler<HTMLSelectElement> | undefined;
|
|
144
|
-
onDurationChange?: import("react").ReactEventHandler<HTMLSelectElement> | undefined;
|
|
145
|
-
onDurationChangeCapture?: import("react").ReactEventHandler<HTMLSelectElement> | undefined;
|
|
146
|
-
onEmptied?: import("react").ReactEventHandler<HTMLSelectElement> | undefined;
|
|
147
|
-
onEmptiedCapture?: import("react").ReactEventHandler<HTMLSelectElement> | undefined;
|
|
148
|
-
onEncrypted?: import("react").ReactEventHandler<HTMLSelectElement> | undefined;
|
|
149
|
-
onEncryptedCapture?: import("react").ReactEventHandler<HTMLSelectElement> | undefined;
|
|
150
|
-
onEnded?: import("react").ReactEventHandler<HTMLSelectElement> | undefined;
|
|
151
|
-
onEndedCapture?: import("react").ReactEventHandler<HTMLSelectElement> | undefined;
|
|
152
|
-
onLoadedData?: import("react").ReactEventHandler<HTMLSelectElement> | undefined;
|
|
153
|
-
onLoadedDataCapture?: import("react").ReactEventHandler<HTMLSelectElement> | undefined;
|
|
154
|
-
onLoadedMetadata?: import("react").ReactEventHandler<HTMLSelectElement> | undefined;
|
|
155
|
-
onLoadedMetadataCapture?: import("react").ReactEventHandler<HTMLSelectElement> | undefined;
|
|
156
|
-
onLoadStart?: import("react").ReactEventHandler<HTMLSelectElement> | undefined;
|
|
157
|
-
onLoadStartCapture?: import("react").ReactEventHandler<HTMLSelectElement> | undefined;
|
|
158
|
-
onPause?: import("react").ReactEventHandler<HTMLSelectElement> | undefined;
|
|
159
|
-
onPauseCapture?: import("react").ReactEventHandler<HTMLSelectElement> | undefined;
|
|
160
|
-
onPlay?: import("react").ReactEventHandler<HTMLSelectElement> | undefined;
|
|
161
|
-
onPlayCapture?: import("react").ReactEventHandler<HTMLSelectElement> | undefined;
|
|
162
|
-
onPlaying?: import("react").ReactEventHandler<HTMLSelectElement> | undefined;
|
|
163
|
-
onPlayingCapture?: import("react").ReactEventHandler<HTMLSelectElement> | undefined;
|
|
164
|
-
onProgress?: import("react").ReactEventHandler<HTMLSelectElement> | undefined;
|
|
165
|
-
onProgressCapture?: import("react").ReactEventHandler<HTMLSelectElement> | undefined;
|
|
166
|
-
onRateChange?: import("react").ReactEventHandler<HTMLSelectElement> | undefined;
|
|
167
|
-
onRateChangeCapture?: import("react").ReactEventHandler<HTMLSelectElement> | undefined;
|
|
168
|
-
onSeeked?: import("react").ReactEventHandler<HTMLSelectElement> | undefined;
|
|
169
|
-
onSeekedCapture?: import("react").ReactEventHandler<HTMLSelectElement> | undefined;
|
|
170
|
-
onSeeking?: import("react").ReactEventHandler<HTMLSelectElement> | undefined;
|
|
171
|
-
onSeekingCapture?: import("react").ReactEventHandler<HTMLSelectElement> | undefined;
|
|
172
|
-
onStalled?: import("react").ReactEventHandler<HTMLSelectElement> | undefined;
|
|
173
|
-
onStalledCapture?: import("react").ReactEventHandler<HTMLSelectElement> | undefined;
|
|
174
|
-
onSuspend?: import("react").ReactEventHandler<HTMLSelectElement> | undefined;
|
|
175
|
-
onSuspendCapture?: import("react").ReactEventHandler<HTMLSelectElement> | undefined;
|
|
176
|
-
onTimeUpdate?: import("react").ReactEventHandler<HTMLSelectElement> | undefined;
|
|
177
|
-
onTimeUpdateCapture?: import("react").ReactEventHandler<HTMLSelectElement> | undefined;
|
|
178
|
-
onVolumeChange?: import("react").ReactEventHandler<HTMLSelectElement> | undefined;
|
|
179
|
-
onVolumeChangeCapture?: import("react").ReactEventHandler<HTMLSelectElement> | undefined;
|
|
180
|
-
onWaiting?: import("react").ReactEventHandler<HTMLSelectElement> | undefined;
|
|
181
|
-
onWaitingCapture?: import("react").ReactEventHandler<HTMLSelectElement> | undefined;
|
|
182
|
-
onAuxClick?: import("react").MouseEventHandler<HTMLSelectElement> | undefined;
|
|
183
|
-
onAuxClickCapture?: import("react").MouseEventHandler<HTMLSelectElement> | undefined;
|
|
184
|
-
onClick?: import("react").MouseEventHandler<HTMLSelectElement> | undefined;
|
|
185
|
-
onClickCapture?: import("react").MouseEventHandler<HTMLSelectElement> | undefined;
|
|
186
|
-
onContextMenu?: import("react").MouseEventHandler<HTMLSelectElement> | undefined;
|
|
187
|
-
onContextMenuCapture?: import("react").MouseEventHandler<HTMLSelectElement> | undefined;
|
|
188
|
-
onDoubleClick?: import("react").MouseEventHandler<HTMLSelectElement> | undefined;
|
|
189
|
-
onDoubleClickCapture?: import("react").MouseEventHandler<HTMLSelectElement> | undefined;
|
|
190
|
-
onDrag?: import("react").DragEventHandler<HTMLSelectElement> | undefined;
|
|
191
|
-
onDragCapture?: import("react").DragEventHandler<HTMLSelectElement> | undefined;
|
|
192
|
-
onDragEnd?: import("react").DragEventHandler<HTMLSelectElement> | undefined;
|
|
193
|
-
onDragEndCapture?: import("react").DragEventHandler<HTMLSelectElement> | undefined;
|
|
194
|
-
onDragEnter?: import("react").DragEventHandler<HTMLSelectElement> | undefined;
|
|
195
|
-
onDragEnterCapture?: import("react").DragEventHandler<HTMLSelectElement> | undefined;
|
|
196
|
-
onDragExit?: import("react").DragEventHandler<HTMLSelectElement> | undefined;
|
|
197
|
-
onDragExitCapture?: import("react").DragEventHandler<HTMLSelectElement> | undefined;
|
|
198
|
-
onDragLeave?: import("react").DragEventHandler<HTMLSelectElement> | undefined;
|
|
199
|
-
onDragLeaveCapture?: import("react").DragEventHandler<HTMLSelectElement> | undefined;
|
|
200
|
-
onDragOver?: import("react").DragEventHandler<HTMLSelectElement> | undefined;
|
|
201
|
-
onDragOverCapture?: import("react").DragEventHandler<HTMLSelectElement> | undefined;
|
|
202
|
-
onDragStart?: import("react").DragEventHandler<HTMLSelectElement> | undefined;
|
|
203
|
-
onDragStartCapture?: import("react").DragEventHandler<HTMLSelectElement> | undefined;
|
|
204
|
-
onDrop?: import("react").DragEventHandler<HTMLSelectElement> | undefined;
|
|
205
|
-
onDropCapture?: import("react").DragEventHandler<HTMLSelectElement> | undefined;
|
|
206
|
-
onMouseDown?: import("react").MouseEventHandler<HTMLSelectElement> | undefined;
|
|
207
|
-
onMouseDownCapture?: import("react").MouseEventHandler<HTMLSelectElement> | undefined;
|
|
208
|
-
onMouseEnter?: import("react").MouseEventHandler<HTMLSelectElement> | undefined;
|
|
209
|
-
onMouseLeave?: import("react").MouseEventHandler<HTMLSelectElement> | undefined;
|
|
210
|
-
onMouseMove?: import("react").MouseEventHandler<HTMLSelectElement> | undefined;
|
|
211
|
-
onMouseMoveCapture?: import("react").MouseEventHandler<HTMLSelectElement> | undefined;
|
|
212
|
-
onMouseOut?: import("react").MouseEventHandler<HTMLSelectElement> | undefined;
|
|
213
|
-
onMouseOutCapture?: import("react").MouseEventHandler<HTMLSelectElement> | undefined;
|
|
214
|
-
onMouseOver?: import("react").MouseEventHandler<HTMLSelectElement> | undefined;
|
|
215
|
-
onMouseOverCapture?: import("react").MouseEventHandler<HTMLSelectElement> | undefined;
|
|
216
|
-
onMouseUp?: import("react").MouseEventHandler<HTMLSelectElement> | undefined;
|
|
217
|
-
onMouseUpCapture?: import("react").MouseEventHandler<HTMLSelectElement> | undefined;
|
|
218
|
-
onSelect?: import("react").ReactEventHandler<HTMLSelectElement> | undefined;
|
|
219
|
-
onSelectCapture?: import("react").ReactEventHandler<HTMLSelectElement> | undefined;
|
|
220
|
-
onTouchCancel?: import("react").TouchEventHandler<HTMLSelectElement> | undefined;
|
|
221
|
-
onTouchCancelCapture?: import("react").TouchEventHandler<HTMLSelectElement> | undefined;
|
|
222
|
-
onTouchEnd?: import("react").TouchEventHandler<HTMLSelectElement> | undefined;
|
|
223
|
-
onTouchEndCapture?: import("react").TouchEventHandler<HTMLSelectElement> | undefined;
|
|
224
|
-
onTouchMove?: import("react").TouchEventHandler<HTMLSelectElement> | undefined;
|
|
225
|
-
onTouchMoveCapture?: import("react").TouchEventHandler<HTMLSelectElement> | undefined;
|
|
226
|
-
onTouchStart?: import("react").TouchEventHandler<HTMLSelectElement> | undefined;
|
|
227
|
-
onTouchStartCapture?: import("react").TouchEventHandler<HTMLSelectElement> | undefined;
|
|
228
|
-
onPointerDown?: import("react").PointerEventHandler<HTMLSelectElement> | undefined;
|
|
229
|
-
onPointerDownCapture?: import("react").PointerEventHandler<HTMLSelectElement> | undefined;
|
|
230
|
-
onPointerMove?: import("react").PointerEventHandler<HTMLSelectElement> | undefined;
|
|
231
|
-
onPointerMoveCapture?: import("react").PointerEventHandler<HTMLSelectElement> | undefined;
|
|
232
|
-
onPointerUp?: import("react").PointerEventHandler<HTMLSelectElement> | undefined;
|
|
233
|
-
onPointerUpCapture?: import("react").PointerEventHandler<HTMLSelectElement> | undefined;
|
|
234
|
-
onPointerCancel?: import("react").PointerEventHandler<HTMLSelectElement> | undefined;
|
|
235
|
-
onPointerCancelCapture?: import("react").PointerEventHandler<HTMLSelectElement> | undefined;
|
|
236
|
-
onPointerEnter?: import("react").PointerEventHandler<HTMLSelectElement> | undefined;
|
|
237
|
-
onPointerLeave?: import("react").PointerEventHandler<HTMLSelectElement> | undefined;
|
|
238
|
-
onPointerOver?: import("react").PointerEventHandler<HTMLSelectElement> | undefined;
|
|
239
|
-
onPointerOverCapture?: import("react").PointerEventHandler<HTMLSelectElement> | undefined;
|
|
240
|
-
onPointerOut?: import("react").PointerEventHandler<HTMLSelectElement> | undefined;
|
|
241
|
-
onPointerOutCapture?: import("react").PointerEventHandler<HTMLSelectElement> | undefined;
|
|
242
|
-
onGotPointerCapture?: import("react").PointerEventHandler<HTMLSelectElement> | undefined;
|
|
243
|
-
onGotPointerCaptureCapture?: import("react").PointerEventHandler<HTMLSelectElement> | undefined;
|
|
244
|
-
onLostPointerCapture?: import("react").PointerEventHandler<HTMLSelectElement> | undefined;
|
|
245
|
-
onLostPointerCaptureCapture?: import("react").PointerEventHandler<HTMLSelectElement> | undefined;
|
|
246
|
-
onScroll?: import("react").UIEventHandler<HTMLSelectElement> | undefined;
|
|
247
|
-
onScrollCapture?: import("react").UIEventHandler<HTMLSelectElement> | undefined;
|
|
248
|
-
onScrollEnd?: import("react").UIEventHandler<HTMLSelectElement> | undefined;
|
|
249
|
-
onScrollEndCapture?: import("react").UIEventHandler<HTMLSelectElement> | undefined;
|
|
250
|
-
onWheel?: import("react").WheelEventHandler<HTMLSelectElement> | undefined;
|
|
251
|
-
onWheelCapture?: import("react").WheelEventHandler<HTMLSelectElement> | undefined;
|
|
252
|
-
onAnimationStart?: import("react").AnimationEventHandler<HTMLSelectElement> | undefined;
|
|
253
|
-
onAnimationStartCapture?: import("react").AnimationEventHandler<HTMLSelectElement> | undefined;
|
|
254
|
-
onAnimationEnd?: import("react").AnimationEventHandler<HTMLSelectElement> | undefined;
|
|
255
|
-
onAnimationEndCapture?: import("react").AnimationEventHandler<HTMLSelectElement> | undefined;
|
|
256
|
-
onAnimationIteration?: import("react").AnimationEventHandler<HTMLSelectElement> | undefined;
|
|
257
|
-
onAnimationIterationCapture?: import("react").AnimationEventHandler<HTMLSelectElement> | undefined;
|
|
258
|
-
onToggle?: import("react").ToggleEventHandler<HTMLSelectElement> | undefined;
|
|
259
|
-
onBeforeToggle?: import("react").ToggleEventHandler<HTMLSelectElement> | undefined;
|
|
260
|
-
onTransitionCancel?: import("react").TransitionEventHandler<HTMLSelectElement> | undefined;
|
|
261
|
-
onTransitionCancelCapture?: import("react").TransitionEventHandler<HTMLSelectElement> | undefined;
|
|
262
|
-
onTransitionEnd?: import("react").TransitionEventHandler<HTMLSelectElement> | undefined;
|
|
263
|
-
onTransitionEndCapture?: import("react").TransitionEventHandler<HTMLSelectElement> | undefined;
|
|
264
|
-
onTransitionRun?: import("react").TransitionEventHandler<HTMLSelectElement> | undefined;
|
|
265
|
-
onTransitionRunCapture?: import("react").TransitionEventHandler<HTMLSelectElement> | undefined;
|
|
266
|
-
onTransitionStart?: import("react").TransitionEventHandler<HTMLSelectElement> | undefined;
|
|
267
|
-
onTransitionStartCapture?: import("react").TransitionEventHandler<HTMLSelectElement> | undefined;
|
|
268
|
-
ref?: import("react").Ref<HTMLSelectElement> | undefined;
|
|
269
|
-
form?: string | undefined | undefined;
|
|
270
|
-
title?: string | undefined | undefined;
|
|
271
|
-
dir?: string | undefined | undefined;
|
|
272
|
-
disabled?: boolean | undefined | undefined;
|
|
273
|
-
size?: number | undefined | undefined;
|
|
274
|
-
key?: import("react").Key | null | undefined;
|
|
275
|
-
defaultChecked?: boolean | undefined | undefined;
|
|
276
|
-
defaultValue?: string | number | readonly string[] | undefined;
|
|
277
|
-
suppressContentEditableWarning?: boolean | undefined | undefined;
|
|
278
|
-
accessKey?: string | undefined | undefined;
|
|
279
|
-
autoCapitalize?: "off" | "none" | "on" | "sentences" | "words" | "characters" | undefined | (string & {}) | undefined;
|
|
280
|
-
autoFocus?: boolean | undefined | undefined;
|
|
281
|
-
contentEditable?: (boolean | "true" | "false") | "inherit" | "plaintext-only" | undefined;
|
|
282
|
-
contextMenu?: string | undefined | undefined;
|
|
283
|
-
draggable?: (boolean | "true" | "false") | undefined;
|
|
284
|
-
enterKeyHint?: "enter" | "done" | "go" | "next" | "previous" | "search" | "send" | undefined | undefined;
|
|
285
|
-
hidden?: boolean | undefined | undefined;
|
|
286
|
-
spellCheck?: (boolean | "true" | "false") | undefined;
|
|
287
|
-
translate?: "yes" | "no" | undefined | undefined;
|
|
288
|
-
radioGroup?: string | undefined | undefined;
|
|
289
|
-
about?: string | undefined | undefined;
|
|
290
|
-
content?: string | undefined | undefined;
|
|
291
|
-
datatype?: string | undefined | undefined;
|
|
292
|
-
inlist?: any;
|
|
293
|
-
prefix?: string | undefined | undefined;
|
|
294
|
-
property?: string | undefined | undefined;
|
|
295
|
-
rel?: string | undefined | undefined;
|
|
296
|
-
resource?: string | undefined | undefined;
|
|
297
|
-
rev?: string | undefined | undefined;
|
|
298
|
-
typeof?: string | undefined | undefined;
|
|
299
|
-
vocab?: string | undefined | undefined;
|
|
300
|
-
autoCorrect?: string | undefined | undefined;
|
|
301
|
-
autoSave?: string | undefined | undefined;
|
|
302
|
-
itemProp?: string | undefined | undefined;
|
|
303
|
-
itemScope?: boolean | undefined | undefined;
|
|
304
|
-
itemType?: string | undefined | undefined;
|
|
305
|
-
itemID?: string | undefined | undefined;
|
|
306
|
-
itemRef?: string | undefined | undefined;
|
|
307
|
-
results?: number | undefined | undefined;
|
|
308
|
-
security?: string | undefined | undefined;
|
|
309
|
-
unselectable?: "on" | "off" | undefined | undefined;
|
|
310
|
-
popover?: "" | "auto" | "manual" | "hint" | undefined | undefined;
|
|
311
|
-
popoverTargetAction?: "toggle" | "show" | "hide" | undefined | undefined;
|
|
312
|
-
popoverTarget?: string | undefined | undefined;
|
|
313
|
-
inert?: boolean | undefined | undefined;
|
|
314
|
-
inputMode?: "none" | "text" | "tel" | "url" | "email" | "numeric" | "decimal" | "search" | undefined | undefined;
|
|
315
|
-
is?: string | undefined | undefined;
|
|
316
|
-
exportparts?: string | undefined | undefined;
|
|
317
|
-
value?: string | number | readonly string[] | undefined;
|
|
318
|
-
autoComplete?: string | undefined | undefined;
|
|
319
|
-
multiple?: boolean | undefined | undefined;
|
|
320
|
-
placeholder?: string | undefined;
|
|
321
|
-
required?: boolean | undefined | undefined;
|
|
322
|
-
classModifier?: string | undefined;
|
|
323
|
-
forceDisplayPlaceholder?: boolean | undefined;
|
|
324
|
-
}, "ref"> & import("react").RefAttributes<HTMLSelectElement> & {
|
|
325
|
-
options?: OptionHTMLAttributes<HTMLOptionElement>[];
|
|
326
|
-
mode?: "default" | "base";
|
|
327
|
-
} & {
|
|
328
|
-
children?: import("react").ReactNode | undefined;
|
|
329
|
-
}, "ref"> & import("react").RefAttributes<HTMLSelectElement> & {
|
|
1
|
+
import { type ComponentProps, type OptionHTMLAttributes, type PropsWithChildren } from "react";
|
|
2
|
+
import { type ConsumerFieldProps } from "../core";
|
|
3
|
+
import { Select } from "./Select";
|
|
4
|
+
type Props = ConsumerFieldProps & ComponentProps<typeof Select> & {
|
|
330
5
|
options: OptionHTMLAttributes<HTMLOptionElement>[];
|
|
331
|
-
}
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
className?: string;
|
|
337
|
-
classModifier?: string;
|
|
338
|
-
classNameContainerLabel?: string;
|
|
339
|
-
classNameContainerInput?: string;
|
|
340
|
-
isVisible?: boolean;
|
|
341
|
-
roleContainer?: string;
|
|
342
|
-
ariaLabelContainer?: string;
|
|
343
|
-
isLabelContainerLinkedToInput?: boolean;
|
|
344
|
-
forceDisplayMessage?: boolean;
|
|
345
|
-
message?: string;
|
|
346
|
-
messageType?: import("../core").MessageTypes;
|
|
347
|
-
required?: boolean;
|
|
348
|
-
disabled?: boolean;
|
|
349
|
-
helpMessage?: import("react").ReactNode;
|
|
350
|
-
labelPosition?: "top" | "center";
|
|
351
|
-
classNameSuffix?: string;
|
|
352
|
-
renderInput: (props: {
|
|
353
|
-
id: string;
|
|
354
|
-
classModifier: string;
|
|
355
|
-
errorId?: string;
|
|
356
|
-
ariaInvalid?: boolean;
|
|
357
|
-
} & Record<string, unknown>) => import("react").ReactNode;
|
|
358
|
-
appendChildren?: import("react").ReactNode;
|
|
359
|
-
}, "children" | "renderInput" | "classNameSuffix"> & {
|
|
360
|
-
children?: import("react").ReactNode;
|
|
361
|
-
} & Omit<Omit<Omit<import("react").DetailedHTMLProps<import("react").SelectHTMLAttributes<HTMLSelectElement>, HTMLSelectElement>, "ref"> & {
|
|
362
|
-
options?: OptionHTMLAttributes<HTMLOptionElement>[];
|
|
363
|
-
classModifier?: string;
|
|
364
|
-
} & import("react").RefAttributes<HTMLSelectElement> & {
|
|
365
|
-
options: OptionHTMLAttributes<HTMLOptionElement>[];
|
|
366
|
-
forceDisplayPlaceholder?: boolean;
|
|
367
|
-
placeholder?: string;
|
|
368
|
-
}, "ref"> & import("react").RefAttributes<HTMLSelectElement> & {
|
|
369
|
-
options?: OptionHTMLAttributes<HTMLOptionElement>[];
|
|
370
|
-
mode?: "default" | "base";
|
|
371
|
-
} & {
|
|
372
|
-
children?: import("react").ReactNode | undefined;
|
|
373
|
-
}, "ref"> & import("react").RefAttributes<HTMLSelectElement> & {
|
|
374
|
-
options: OptionHTMLAttributes<HTMLOptionElement>[];
|
|
375
|
-
} & {
|
|
376
|
-
children?: import("react").ReactNode | undefined;
|
|
377
|
-
}, "ref">) & import("react").RefAttributes<HTMLSelectElement>>;
|
|
6
|
+
};
|
|
7
|
+
declare const SelectInput: {
|
|
8
|
+
({ label, options, children, ...props }: PropsWithChildren<Props>): import("react/jsx-runtime").JSX.Element;
|
|
9
|
+
displayName: string;
|
|
10
|
+
};
|
|
378
11
|
export { SelectInput };
|
|
@@ -1,9 +1,7 @@
|
|
|
1
1
|
import { jsx as _jsx, Fragment as _Fragment, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
-
import {
|
|
2
|
+
import {} from "react";
|
|
3
3
|
import { Field } from "../core";
|
|
4
4
|
import { Select } from "./Select";
|
|
5
|
-
const SelectInput =
|
|
6
|
-
return (_jsx(Field, { label: label, classNameSuffix: "select", ...props, renderInput: ({ classModifier, id, ariaInvalid, errorId, ...otherSelectProps }) => (_jsxs(_Fragment, { children: [_jsx(Select, { id: id, ref: inputRef, classModifier: classModifier, "aria-describedby": errorId, "aria-invalid": ariaInvalid, options: options, ...otherSelectProps }), children] })) }));
|
|
7
|
-
});
|
|
5
|
+
const SelectInput = ({ label, options, children, ...props }) => (_jsx(Field, { label: label, fieldClassNameSuffix: "select", ...props, renderInput: ({ inputClassName, id, ariaInvalid, errorId, ...otherSelectProps }) => (_jsxs(_Fragment, { children: [_jsx(Select, { id: id, className: inputClassName, "aria-describedby": errorId, "aria-invalid": ariaInvalid, ...otherSelectProps, children: options.map(({ label: optionLabel, ...option }) => (_jsx("option", { ...option, children: optionLabel }, option.value?.toString()))) }), children] })) }));
|
|
8
6
|
SelectInput.displayName = "SelectInput";
|
|
9
7
|
export { SelectInput };
|
|
@@ -1,8 +1,10 @@
|
|
|
1
1
|
import "@axa-fr/canopee-css/distributeur/Form/Text/Text.css";
|
|
2
2
|
import { type ComponentPropsWithRef } from "react";
|
|
3
3
|
type Props = ComponentPropsWithRef<"input"> & {
|
|
4
|
-
|
|
5
|
-
|
|
4
|
+
hasInfobulle?: boolean;
|
|
5
|
+
};
|
|
6
|
+
declare const Text: {
|
|
7
|
+
({ className, required, hasInfobulle, ...otherProps }: Props): import("react/jsx-runtime").JSX.Element;
|
|
8
|
+
displayName: string;
|
|
6
9
|
};
|
|
7
|
-
declare const Text: import("react").ForwardRefExoticComponent<Omit<Props, "ref"> & import("react").RefAttributes<HTMLInputElement>>;
|
|
8
10
|
export { Text };
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
2
|
import "@axa-fr/canopee-css/distributeur/Form/Text/Text.css";
|
|
3
|
-
import {
|
|
3
|
+
import {} from "react";
|
|
4
4
|
import { getClassName } from "../../utilities/helpers/getClassName";
|
|
5
|
-
const Text =
|
|
5
|
+
const Text = ({ className, required, hasInfobulle, ...otherProps }) => {
|
|
6
6
|
const componentClassName = getClassName({
|
|
7
7
|
baseClassName: "af-form__input-text",
|
|
8
|
-
modifiers:
|
|
8
|
+
modifiers: [hasInfobulle && "hasinfobulle"],
|
|
9
9
|
className,
|
|
10
10
|
});
|
|
11
|
-
return (_jsx("input", { className: componentClassName, type: "text",
|
|
12
|
-
}
|
|
11
|
+
return (_jsx("input", { className: componentClassName, type: "text", required: required, ...otherProps }));
|
|
12
|
+
};
|
|
13
13
|
Text.displayName = "Text";
|
|
14
14
|
export { Text };
|
|
@@ -2,5 +2,8 @@ import { type ComponentProps } from "react";
|
|
|
2
2
|
import { type ConsumerFieldProps } from "../core";
|
|
3
3
|
import { Text } from "./Text";
|
|
4
4
|
export type TextInputProps = ConsumerFieldProps & ComponentProps<typeof Text>;
|
|
5
|
-
declare const TextInput:
|
|
5
|
+
declare const TextInput: {
|
|
6
|
+
({ children, ...props }: TextInputProps): import("react/jsx-runtime").JSX.Element;
|
|
7
|
+
displayName: string;
|
|
8
|
+
};
|
|
6
9
|
export { TextInput };
|
|
@@ -1,9 +1,7 @@
|
|
|
1
1
|
import { jsx as _jsx, Fragment as _Fragment, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
-
import {
|
|
2
|
+
import {} from "react";
|
|
3
3
|
import { Field } from "../core";
|
|
4
4
|
import { Text } from "./Text";
|
|
5
|
-
const TextInput =
|
|
6
|
-
return (_jsx(Field, { ...props, renderInput: ({ id, classModifier, ariaInvalid, errorId, ...textProps }) => (_jsxs(_Fragment, { children: [_jsx(Text, { id: id, classModifier: classModifier, ref: inputRef, "aria-describedby": errorId, "aria-invalid": ariaInvalid, ...textProps }), children] })) }));
|
|
7
|
-
});
|
|
5
|
+
const TextInput = ({ children, ...props }) => (_jsx(Field, { ...props, renderInput: ({ id, inputClassName, ariaInvalid, errorId, ...textProps }) => (_jsxs(_Fragment, { children: [_jsx(Text, { id: id, className: inputClassName, "aria-describedby": errorId, "aria-invalid": ariaInvalid, ...textProps }), children] })) }));
|
|
8
6
|
TextInput.displayName = "TextInput";
|
|
9
7
|
export { TextInput };
|
|
@@ -1,6 +1,10 @@
|
|
|
1
1
|
import "@axa-fr/canopee-css/distributeur/Form/Textarea/Textarea.css";
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
}
|
|
2
|
+
import { type ComponentPropsWithRef } from "react";
|
|
3
|
+
type Props = ComponentPropsWithRef<"textarea"> & {
|
|
4
|
+
hasInfobulle?: boolean;
|
|
5
|
+
};
|
|
6
|
+
declare const Textarea: {
|
|
7
|
+
({ id, className, required, hasInfobulle, ...otherProps }: Props): import("react/jsx-runtime").JSX.Element;
|
|
8
|
+
displayName: string;
|
|
9
|
+
};
|
|
6
10
|
export { Textarea };
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
2
|
import "@axa-fr/canopee-css/distributeur/Form/Textarea/Textarea.css";
|
|
3
|
-
import {
|
|
3
|
+
import { useId } from "react";
|
|
4
4
|
import { getClassName } from "../../utilities/helpers/getClassName";
|
|
5
|
-
const Textarea =
|
|
5
|
+
const Textarea = ({ id, className, required, hasInfobulle, ...otherProps }) => {
|
|
6
6
|
const inputUseId = useId();
|
|
7
7
|
const inputId = id ?? inputUseId;
|
|
8
8
|
const componentClassName = getClassName({
|
|
9
9
|
baseClassName: "af-form__input-textarea",
|
|
10
|
-
modifiers:
|
|
10
|
+
modifiers: [hasInfobulle && "hasinfobulle"],
|
|
11
11
|
className,
|
|
12
12
|
});
|
|
13
|
-
return (_jsx("textarea", { ...otherProps, id: inputId, className: componentClassName,
|
|
14
|
-
}
|
|
13
|
+
return (_jsx("textarea", { ...otherProps, id: inputId, className: componentClassName, required: required }));
|
|
14
|
+
};
|
|
15
15
|
Textarea.displayName = "Textarea";
|
|
16
16
|
export { Textarea };
|
|
@@ -3,5 +3,8 @@ import { type ComponentProps } from "react";
|
|
|
3
3
|
import { type ConsumerFieldProps } from "../core";
|
|
4
4
|
import { Textarea } from "./Textarea";
|
|
5
5
|
type Props = ConsumerFieldProps & ComponentProps<typeof Textarea>;
|
|
6
|
-
declare const TextareaInput:
|
|
6
|
+
declare const TextareaInput: {
|
|
7
|
+
({ label, children, ...props }: Props): import("react/jsx-runtime").JSX.Element;
|
|
8
|
+
displayName: string;
|
|
9
|
+
};
|
|
7
10
|
export { TextareaInput };
|
|
@@ -1,10 +1,8 @@
|
|
|
1
1
|
import { jsx as _jsx, Fragment as _Fragment, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
2
|
import "@axa-fr/canopee-css/distributeur/Form/Textarea/Textarea.css";
|
|
3
|
-
import {
|
|
3
|
+
import {} from "react";
|
|
4
4
|
import { Field } from "../core";
|
|
5
5
|
import { Textarea } from "./Textarea";
|
|
6
|
-
const TextareaInput =
|
|
7
|
-
return (_jsx(Field, { label: label, labelPosition: "top", classNameSuffix: "textarea", ...props, renderInput: ({ id, ariaInvalid, errorId, ...inputProps }) => (_jsxs(_Fragment, { children: [_jsx(Textarea, { id: id, ref: inputRef, "aria-describedby": errorId, "aria-invalid": ariaInvalid, ...inputProps }), children] })) }));
|
|
8
|
-
});
|
|
6
|
+
const TextareaInput = ({ label, children, ...props }) => (_jsx(Field, { label: label, labelPosition: "top", fieldClassNameSuffix: "textarea", ...props, renderInput: ({ id, inputClassName, ariaInvalid, errorId, ...inputProps }) => (_jsxs(_Fragment, { children: [_jsx(Textarea, { id: id, className: inputClassName, "aria-describedby": errorId, "aria-invalid": ariaInvalid, ...inputProps }), children] })) }));
|
|
9
7
|
TextareaInput.displayName = "TextareaInput";
|
|
10
8
|
export { TextareaInput };
|
|
@@ -10,16 +10,8 @@ type InputProps = {
|
|
|
10
10
|
*/
|
|
11
11
|
id?: string;
|
|
12
12
|
className?: string;
|
|
13
|
-
classModifier?: string;
|
|
14
13
|
classNameContainerLabel?: string;
|
|
15
14
|
classNameContainerInput?: string;
|
|
16
|
-
/**
|
|
17
|
-
* Setting this to false will disable the rendering of the component
|
|
18
|
-
* @default true
|
|
19
|
-
* @deprecated You should handle the visibility of the component in your code
|
|
20
|
-
* instead of using this prop. This prop will be removed in a future version.
|
|
21
|
-
*/
|
|
22
|
-
isVisible?: boolean;
|
|
23
15
|
roleContainer?: string;
|
|
24
16
|
ariaLabelContainer?: string;
|
|
25
17
|
isLabelContainerLinkedToInput?: boolean;
|
|
@@ -28,6 +20,7 @@ type InputProps = {
|
|
|
28
20
|
messageType?: MessageTypes;
|
|
29
21
|
required?: boolean;
|
|
30
22
|
disabled?: boolean;
|
|
23
|
+
hasInfobulle?: boolean;
|
|
31
24
|
helpMessage?: ReactNode;
|
|
32
25
|
/**
|
|
33
26
|
* Sets the position of the label relative to the input.
|
|
@@ -37,22 +30,10 @@ type InputProps = {
|
|
|
37
30
|
*
|
|
38
31
|
*/
|
|
39
32
|
labelPosition?: "top" | "center";
|
|
40
|
-
|
|
41
|
-
* suffix appended to the className of the div wrapping the input
|
|
42
|
-
* @deprecated We should rationalize the CSS for the components to avoid having to use different sufixes
|
|
43
|
-
* but it would be a breaking change to do so, so we keep it for now
|
|
44
|
-
* @example "textarea" will result in
|
|
45
|
-
* ```html
|
|
46
|
-
* <div class="af-form__textarea">
|
|
47
|
-
* // ... input
|
|
48
|
-
* </div>
|
|
49
|
-
* ```
|
|
50
|
-
* @default "text"
|
|
51
|
-
*/
|
|
52
|
-
classNameSuffix?: string;
|
|
33
|
+
fieldClassNameSuffix?: string;
|
|
53
34
|
renderInput: (props: {
|
|
54
35
|
id: string;
|
|
55
|
-
|
|
36
|
+
inputClassName: string;
|
|
56
37
|
errorId?: string;
|
|
57
38
|
ariaInvalid?: boolean;
|
|
58
39
|
} & Record<string, unknown>) => ReactNode;
|
|
@@ -76,5 +57,5 @@ export type ConsumerFieldProps = Omit<InputProps, "renderInput" | "classNameSuff
|
|
|
76
57
|
*/
|
|
77
58
|
children?: ReactNode;
|
|
78
59
|
};
|
|
79
|
-
export declare const Field: ({ classNameContainerInput, classNameContainerLabel, className, label, forceDisplayMessage, message, messageType, required,
|
|
60
|
+
export declare const Field: ({ classNameContainerInput, classNameContainerLabel, className, label, forceDisplayMessage, message, messageType, required, disabled, hasInfobulle, helpMessage, id, roleContainer, ariaLabelContainer, isLabelContainerLinkedToInput, labelPosition, fieldClassNameSuffix, renderInput, appendChildren, ...otherProps }: InputProps) => import("react/jsx-runtime").JSX.Element;
|
|
80
61
|
export {};
|