@alveole/components 2.0.0-alpha.15 → 2.0.0-alpha.17
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/core/AlveoleProvider/AlveoleProvider.d.ts +17 -0
- package/dist/core/AlveoleProvider/AlveoleProvider.d.ts.map +1 -0
- package/dist/core/AlveoleProvider/AlveoleProvider.js +15 -0
- package/dist/core/AlveoleProvider/index.d.ts +2 -0
- package/dist/core/AlveoleProvider/index.d.ts.map +1 -0
- package/dist/core/AlveoleProvider/index.js +1 -0
- package/dist/core/AnchorHeading/AnchorHeading.d.ts +6 -2
- package/dist/core/AnchorHeading/AnchorHeading.d.ts.map +1 -1
- package/dist/core/AnchorHeading/AnchorHeading.js +1 -1
- package/dist/core/AnchorHeading/AnchorHeading.stories.d.ts +2 -1
- package/dist/core/AnchorHeading/AnchorHeading.stories.d.ts.map +1 -1
- package/dist/core/AnchorHeading/AnchorHeading.stories.js +1 -0
- package/dist/core/AnchorHeading/AnchorHeading.stories.sources.d.ts +2 -0
- package/dist/core/AnchorHeading/AnchorHeading.stories.sources.d.ts.map +1 -1
- package/dist/core/AnchorHeading/AnchorHeading.stories.sources.js +2 -0
- package/dist/core/AnchorHeading/AnchorHeading.web.d.ts +1 -1
- package/dist/core/AnchorHeading/AnchorHeading.web.d.ts.map +1 -1
- package/dist/core/AnchorHeading/AnchorHeading.web.js +7 -4
- package/dist/core/AnchorHeading/slug.d.ts +3 -0
- package/dist/core/AnchorHeading/slug.d.ts.map +1 -1
- package/dist/core/AnchorHeading/slug.js +11 -0
- package/dist/core/Box/Box.d.ts +15 -15
- package/dist/core/Box/Box.d.ts.map +1 -1
- package/dist/core/Box/Box.js +9 -6
- package/dist/core/Box/Box.stories.d.ts +19 -15
- package/dist/core/Box/Box.stories.d.ts.map +1 -1
- package/dist/core/Box/Box.stories.js +21 -4
- package/dist/core/Box/Box.stories.sources.d.ts +8 -0
- package/dist/core/Box/Box.stories.sources.d.ts.map +1 -1
- package/dist/core/Box/Box.stories.sources.js +11 -3
- package/dist/core/Box/Box.types.d.ts +21 -15
- package/dist/core/Box/Box.types.d.ts.map +1 -1
- package/dist/core/Box/elementDuTag.d.ts +2 -0
- package/dist/core/Box/elementDuTag.d.ts.map +1 -0
- package/dist/core/Box/elementDuTag.js +12 -0
- package/dist/core/Code/Code.stories.d.ts +2 -2
- package/dist/core/Code/Code.stories.js +1 -1
- package/dist/core/Code/Code.stories.sources.d.ts.map +1 -1
- package/dist/core/Code/Code.stories.sources.js +1 -1
- package/dist/core/Code/Code.styles.d.ts +2 -2
- package/dist/core/Form/Form.stories.js +1 -1
- package/dist/core/Form/Form.stories.sources.d.ts.map +1 -1
- package/dist/core/Form/Form.stories.sources.js +1 -1
- package/dist/core/Grid/Grid.stories.d.ts +15 -14
- package/dist/core/Grid/Grid.stories.d.ts.map +1 -1
- package/dist/core/Grid/Grid.stories.js +14 -12
- package/dist/core/Grid/Grid.stories.sources.d.ts.map +1 -1
- package/dist/core/Grid/Grid.stories.sources.js +9 -9
- package/dist/core/Heading/Heading.d.ts +8 -0
- package/dist/core/Heading/Heading.d.ts.map +1 -0
- package/dist/core/Heading/Heading.js +15 -0
- package/dist/core/Heading/Heading.stories.d.ts +13 -0
- package/dist/core/Heading/Heading.stories.d.ts.map +1 -0
- package/dist/core/Heading/Heading.stories.js +13 -0
- package/dist/core/Heading/Heading.stories.sources.d.ts +8 -0
- package/dist/core/Heading/Heading.stories.sources.d.ts.map +1 -0
- package/dist/core/Heading/Heading.stories.sources.js +8 -0
- package/dist/core/Heading/index.d.ts +2 -0
- package/dist/core/Heading/index.d.ts.map +1 -0
- package/dist/core/Heading/index.js +1 -0
- package/dist/core/Highlight/Highlight.stories.d.ts +4 -4
- package/dist/core/Highlight/Highlight.styles.d.ts +4 -4
- package/dist/core/Highlight/Highlight.theme.d.ts +1 -3
- package/dist/core/Highlight/Highlight.theme.d.ts.map +1 -1
- package/dist/core/Highlight/Highlight.theme.js +9 -16
- package/dist/core/Map/Map.js +1 -1
- package/dist/core/MarkdownDescription/MarkdownDescription.js +1 -1
- package/dist/core/MarkdownDescription/markdownComponents.d.ts +3 -3
- package/dist/core/MarkdownDescription/markdownComponents.d.ts.map +1 -1
- package/dist/core/MarkdownDescription/markdownComponents.js +14 -12
- package/dist/core/MarkdownDescription/markdownNatif.d.ts.map +1 -1
- package/dist/core/MarkdownDescription/markdownNatif.js +5 -4
- package/dist/core/Page/PageContent.d.ts.map +1 -1
- package/dist/core/Page/PageContent.js +1 -1
- package/dist/core/Page/PageContentScrollable.d.ts +15 -15
- package/dist/core/Page/usePageStatusBar.d.ts.map +1 -1
- package/dist/core/Page/usePageStatusBar.js +3 -3
- package/dist/core/Section/Section.stories.d.ts.map +1 -1
- package/dist/core/Section/Section.stories.js +8 -6
- package/dist/core/Section/Section.stories.sources.d.ts.map +1 -1
- package/dist/core/Section/Section.stories.sources.js +4 -4
- package/dist/core/ThemeProvider/ThemeProvider.stories.d.ts.map +1 -1
- package/dist/core/ThemeProvider/ThemeProvider.stories.js +17 -12
- package/dist/core/ThemeProvider/ThemeProvider.stories.sources.d.ts.map +1 -1
- package/dist/core/ThemeProvider/ThemeProvider.stories.sources.js +2 -2
- package/dist/core/Typography/Typography.stories.d.ts +1 -0
- package/dist/core/Typography/Typography.stories.d.ts.map +1 -1
- package/dist/core/Typography/Typography.stories.js +2 -0
- package/dist/core/Typography/Typography.stories.sources.d.ts +2 -0
- package/dist/core/Typography/Typography.stories.sources.d.ts.map +1 -1
- package/dist/core/Typography/Typography.stories.sources.js +2 -0
- package/dist/core/Typography/Typography.styles.d.ts +1 -1
- package/dist/core/Version/Version.stories.d.ts +1 -1
- package/dist/core/Version/Version.styles.d.ts +1 -1
- package/dist/core/index.d.ts +2 -0
- package/dist/core/index.d.ts.map +1 -1
- package/dist/core/index.js +2 -0
- package/dist/core/styleTamagui/flexDuWeb.d.ts +1 -1
- package/dist/core/styleTamagui/flexDuWeb.d.ts.map +1 -1
- package/dist/core/styleTamagui/flexDuWeb.js +4 -3
- package/dist/core/styleTamagui/fondAuSurvol.d.ts +5 -4
- package/dist/core/styleTamagui/fondAuSurvol.d.ts.map +1 -1
- package/dist/generated/version.d.ts +1 -1
- package/dist/generated/version.js +1 -1
- package/dist/stories/index.d.ts +1 -0
- package/dist/stories/index.d.ts.map +1 -1
- package/dist/stories/index.js +1 -0
- package/dist/ui/Accordion/Accordion.stories.d.ts +8 -8
- package/dist/ui/Accordion/Accordion.styles.d.ts +8 -8
- package/dist/ui/Accordion/Accordion.styles.js +2 -2
- package/dist/ui/Avatar/Avatar.stories.d.ts +2 -2
- package/dist/ui/Avatar/Avatar.styles.d.ts +2 -2
- package/dist/ui/Badge/Badge.stories.d.ts +12 -12
- package/dist/ui/Badge/Badge.stories.js +3 -3
- package/dist/ui/Badge/Badge.stories.sources.d.ts.map +1 -1
- package/dist/ui/Badge/Badge.stories.sources.js +3 -3
- package/dist/ui/Badge/Badge.styles.d.ts +12 -12
- package/dist/ui/BottomSheet/BottomSheet.d.ts.map +1 -1
- package/dist/ui/BottomSheet/BottomSheet.js +2 -1
- package/dist/ui/BottomSheet/BottomSheet.stories.d.ts +2 -2
- package/dist/ui/BottomSheet/BottomSheet.styles.d.ts +2 -2
- package/dist/ui/Breadcrumbs/Breadcrumbs.stories.d.ts +3 -3
- package/dist/ui/Breadcrumbs/Breadcrumbs.stories.js +6 -6
- package/dist/ui/Breadcrumbs/Breadcrumbs.stories.sources.d.ts.map +1 -1
- package/dist/ui/Breadcrumbs/Breadcrumbs.stories.sources.js +6 -6
- package/dist/ui/Breadcrumbs/Breadcrumbs.styles.d.ts +3 -3
- package/dist/ui/Button/Button.d.ts +4 -2
- package/dist/ui/Button/Button.d.ts.map +1 -1
- package/dist/ui/Button/Button.stories.d.ts +49 -49
- package/dist/ui/Button/Button.stories.js +8 -8
- package/dist/ui/Button/Button.stories.sources.d.ts.map +1 -1
- package/dist/ui/Button/Button.stories.sources.js +8 -8
- package/dist/ui/Button/Button.styles.d.ts +48 -48
- package/dist/ui/Button/buttonIconStyling.d.ts +4 -20
- package/dist/ui/Button/buttonIconStyling.d.ts.map +1 -1
- package/dist/ui/Card/Card.stories.d.ts +5 -3
- package/dist/ui/Card/Card.stories.d.ts.map +1 -1
- package/dist/ui/Card/Card.stories.js +8 -1
- package/dist/ui/Card/Card.stories.sources.d.ts +4 -0
- package/dist/ui/Card/Card.stories.sources.d.ts.map +1 -1
- package/dist/ui/Card/Card.stories.sources.js +5 -1
- package/dist/ui/Card/Card.styles.d.ts +2 -2
- package/dist/ui/Card/CardHeader.styles.d.ts +3 -3
- package/dist/ui/Card/CardSection.styles.d.ts +3 -3
- package/dist/ui/Checkbox/Checkbox.d.ts.map +1 -1
- package/dist/ui/Checkbox/Checkbox.js +1 -3
- package/dist/ui/Checkbox/Checkbox.stories.d.ts +10 -10
- package/dist/ui/Checkbox/Checkbox.stories.js +2 -2
- package/dist/ui/Checkbox/Checkbox.stories.sources.d.ts.map +1 -1
- package/dist/ui/Checkbox/Checkbox.stories.sources.js +2 -2
- package/dist/ui/Checkbox/Checkbox.styles.d.ts +10 -10
- package/dist/ui/Checkbox/Checkbox.styles.js +6 -6
- package/dist/ui/Counter/Counter.stories.d.ts +3 -3
- package/dist/ui/Counter/Counter.stories.js +1 -1
- package/dist/ui/Counter/Counter.stories.sources.d.ts.map +1 -1
- package/dist/ui/Counter/Counter.stories.sources.js +1 -1
- package/dist/ui/Counter/Counter.styles.d.ts +3 -3
- package/dist/ui/DataTable/DataTable.stories.d.ts +11 -11
- package/dist/ui/DataTable/DataTable.styles.d.ts +11 -11
- package/dist/ui/DateInput/DateInput.d.ts +2 -2
- package/dist/ui/DateInput/DateInput.d.ts.map +1 -1
- package/dist/ui/DateInput/DateInput.ios.d.ts +2 -1
- package/dist/ui/DateInput/DateInput.ios.d.ts.map +1 -1
- package/dist/ui/DateInput/DateInput.stories.d.ts +1 -1
- package/dist/ui/DateInput/DateInput.stories.js +2 -2
- package/dist/ui/DateInput/DateInput.stories.sources.d.ts.map +1 -1
- package/dist/ui/DateInput/DateInput.stories.sources.js +2 -2
- package/dist/ui/Divider/Divider.stories.d.ts +1 -1
- package/dist/ui/Divider/Divider.stories.d.ts.map +1 -1
- package/dist/ui/Divider/Divider.stories.js +1 -1
- package/dist/ui/Divider/Divider.stories.sources.d.ts.map +1 -1
- package/dist/ui/Divider/Divider.stories.sources.js +1 -1
- package/dist/ui/Divider/Divider.styles.d.ts +1 -1
- package/dist/ui/DocumentViewer/DocumentViewer.stories.d.ts +11 -11
- package/dist/ui/DocumentViewer/DocumentViewer.stories.d.ts.map +1 -1
- package/dist/ui/DocumentViewer/DocumentViewer.stories.js +2 -2
- package/dist/ui/DocumentViewer/DocumentViewer.stories.sources.d.ts.map +1 -1
- package/dist/ui/DocumentViewer/DocumentViewer.stories.sources.js +2 -2
- package/dist/ui/DocumentViewer/DocumentViewer.styles.d.ts +11 -11
- package/dist/ui/DocumentViewer/chargementDePdfJs.d.ts.map +1 -1
- package/dist/ui/DocumentViewer/chargementDePdfJs.js +3 -1
- package/dist/ui/DurationInput/DurationInput.d.ts +2 -1
- package/dist/ui/DurationInput/DurationInput.d.ts.map +1 -1
- package/dist/ui/DurationInput/DurationInput.stories.d.ts +1 -1
- package/dist/ui/DurationInput/DurationInput.stories.js +2 -2
- package/dist/ui/DurationInput/DurationInput.stories.sources.d.ts.map +1 -1
- package/dist/ui/DurationInput/DurationInput.stories.sources.js +2 -2
- package/dist/ui/EmptyState/EmptyState.stories.d.ts +4 -4
- package/dist/ui/EmptyState/EmptyState.styles.d.ts +4 -4
- package/dist/ui/FileDropZone/FileDropZone.stories.d.ts +4 -4
- package/dist/ui/FileDropZone/FileDropZone.stories.js +3 -3
- package/dist/ui/FileDropZone/FileDropZone.stories.sources.d.ts.map +1 -1
- package/dist/ui/FileDropZone/FileDropZone.stories.sources.js +3 -3
- package/dist/ui/FileDropZone/FileDropZone.styles.d.ts +4 -4
- package/dist/ui/FilterDate/FilterDate.stories.d.ts +1 -1
- package/dist/ui/FilterDate/FilterDate.styles.d.ts +1 -1
- package/dist/ui/FormControl/ChampHHMM.d.ts +2 -2
- package/dist/ui/FormControl/ChampHHMM.d.ts.map +1 -1
- package/dist/ui/FormControl/FormControl.d.ts +2 -2
- package/dist/ui/FormControl/FormControl.d.ts.map +1 -1
- package/dist/ui/FormControl/FormControl.stories.d.ts +18 -18
- package/dist/ui/FormControl/FormControl.stories.js +4 -4
- package/dist/ui/FormControl/FormControl.stories.sources.d.ts.map +1 -1
- package/dist/ui/FormControl/FormControl.stories.sources.js +4 -4
- package/dist/ui/FormControl/FormControl.styles.d.ts +17 -17
- package/dist/ui/FormControl/NumberInput.d.ts +2 -1
- package/dist/ui/FormControl/NumberInput.d.ts.map +1 -1
- package/dist/ui/FormControl/NumberInput.stories.d.ts +18 -18
- package/dist/ui/FormControl/NumberInput.stories.d.ts.map +1 -1
- package/dist/ui/FormControl/NumberInput.stories.js +2 -1
- package/dist/ui/FormControl/NumberInput.stories.sources.d.ts.map +1 -1
- package/dist/ui/FormControl/NumberInput.stories.sources.js +1 -1
- package/dist/ui/FormControl/OtpInput.stories.d.ts +5 -5
- package/dist/ui/FormControl/OtpInput.stories.js +1 -1
- package/dist/ui/FormControl/OtpInput.stories.sources.d.ts.map +1 -1
- package/dist/ui/FormControl/OtpInput.stories.sources.js +1 -1
- package/dist/ui/FormControl/OtpInput.styles.d.ts +5 -5
- package/dist/ui/FormControl/OtpInput.styles.js +2 -2
- package/dist/ui/FormControl/TextInput.d.ts +1 -1
- package/dist/ui/FormControl/TextInput.d.ts.map +1 -1
- package/dist/ui/FormControl/TextInput.stories.d.ts +18 -18
- package/dist/ui/FormControl/TextInput.types.d.ts +3 -2
- package/dist/ui/FormControl/TextInput.types.d.ts.map +1 -1
- package/dist/ui/FormControl/TextInputInline.d.ts +2 -2
- package/dist/ui/FormControl/TextInputInline.d.ts.map +1 -1
- package/dist/ui/FormControl/TextInputMirror.d.ts +2 -2
- package/dist/ui/FormControl/TextInputMirror.d.ts.map +1 -1
- package/dist/ui/FormControl/TextInputModal.d.ts +2 -2
- package/dist/ui/FormControl/TextInputModal.d.ts.map +1 -1
- package/dist/ui/FormControl/TextInputPassword.d.ts +2 -1
- package/dist/ui/FormControl/TextInputPassword.d.ts.map +1 -1
- package/dist/ui/FormControl/fieldBorderState.d.ts +1 -1
- package/dist/ui/FormControl/fieldBorderState.d.ts.map +1 -1
- package/dist/ui/FormControl/otpTheme.d.ts +1 -1
- package/dist/ui/FormControl/otpTheme.d.ts.map +1 -1
- package/dist/ui/FormControl/otpTheme.js +0 -3
- package/dist/ui/FormControl/textInputStyles.d.ts +52 -0
- package/dist/ui/FormControl/textInputStyles.d.ts.map +1 -1
- package/dist/ui/FormControl/useTextInputModal.d.ts +4 -3
- package/dist/ui/FormControl/useTextInputModal.d.ts.map +1 -1
- package/dist/ui/Header/Header.stories.d.ts +4 -4
- package/dist/ui/Header/Header.styles.d.ts +4 -4
- package/dist/ui/InputButtonAdornment/InputButtonAdornment.stories.d.ts +2 -2
- package/dist/ui/InputButtonAdornment/InputButtonAdornment.stories.js +1 -1
- package/dist/ui/InputButtonAdornment/InputButtonAdornment.stories.sources.d.ts.map +1 -1
- package/dist/ui/InputButtonAdornment/InputButtonAdornment.stories.sources.js +1 -1
- package/dist/ui/InputButtonAdornment/InputButtonAdornment.styles.d.ts +2 -2
- package/dist/ui/Link/Link.stories.d.ts +1 -1
- package/dist/ui/Link/Link.styles.d.ts +1 -1
- package/dist/ui/ListItem/ListItem.stories.d.ts +6 -6
- package/dist/ui/ListItem/ListItem.styles.d.ts +6 -6
- package/dist/ui/LucideIcon/LucideIcon.stories.d.ts.map +1 -1
- package/dist/ui/LucideIcon/LucideIcon.stories.js +2 -1
- package/dist/ui/LucideIcon/LucideIcon.stories.sources.d.ts.map +1 -1
- package/dist/ui/LucideIcon/LucideIcon.stories.sources.js +1 -1
- package/dist/ui/LucideIcon/catalogueLucide.d.ts +36 -0
- package/dist/ui/LucideIcon/catalogueLucide.d.ts.map +1 -1
- package/dist/ui/LucideIcon/vendor/lab.js +1 -1
- package/dist/ui/LucideIcon/vendor/lucide.d.ts +1936 -1780
- package/dist/ui/LucideIcon/vendor/lucide.js +3 -3
- package/dist/ui/PageHeader/PageHeader.stories.d.ts +1 -1
- package/dist/ui/PageHeader/PageHeader.styles.d.ts +1 -1
- package/dist/ui/Popover/Popover.js +1 -1
- package/dist/ui/Popover/Popover.stories.d.ts +6 -6
- package/dist/ui/Popover/Popover.styles.d.ts +6 -6
- package/dist/ui/PriceInput/PriceInput.d.ts +2 -3
- package/dist/ui/PriceInput/PriceInput.d.ts.map +1 -1
- package/dist/ui/PriceInput/PriceInput.js +2 -2
- package/dist/ui/PriceInput/PriceInput.stories.d.ts +22 -6
- package/dist/ui/PriceInput/PriceInput.stories.d.ts.map +1 -1
- package/dist/ui/PriceInput/PriceInput.stories.js +2 -1
- package/dist/ui/PriceInput/PriceInput.stories.sources.d.ts +2 -0
- package/dist/ui/PriceInput/PriceInput.stories.sources.d.ts.map +1 -1
- package/dist/ui/PriceInput/PriceInput.stories.sources.js +3 -1
- package/dist/ui/PriceInput/PriceInput.styles.d.ts +20 -5
- package/dist/ui/PriceInput/PriceInput.styles.d.ts.map +1 -1
- package/dist/ui/PriceInput/PriceInput.styles.js +20 -6
- package/dist/ui/PriceInput/PriceInput.web.d.ts +0 -1
- package/dist/ui/PriceInput/PriceInput.web.d.ts.map +1 -1
- package/dist/ui/PriceInput/PriceInput.web.js +9 -10
- package/dist/ui/PriceInput/cadrePrix.d.ts +43 -0
- package/dist/ui/PriceInput/cadrePrix.d.ts.map +1 -0
- package/dist/ui/PriceInput/cadrePrix.js +9 -0
- package/dist/ui/PriceInput/largeurDuChamp.d.ts +2 -0
- package/dist/ui/PriceInput/largeurDuChamp.d.ts.map +1 -0
- package/dist/ui/PriceInput/largeurDuChamp.js +2 -0
- package/dist/ui/PriceInput/useSaisieMontant.d.ts +5 -0
- package/dist/ui/PriceInput/useSaisieMontant.d.ts.map +1 -0
- package/dist/ui/PriceInput/useSaisieMontant.js +19 -0
- package/dist/ui/ProgressBar/ProgressBar.stories.d.ts +7 -7
- package/dist/ui/ProgressBar/ProgressBar.styles.d.ts +7 -7
- package/dist/ui/RadioGroup/RadioGroup.stories.d.ts +8 -8
- package/dist/ui/RadioGroup/RadioGroup.stories.js +2 -2
- package/dist/ui/RadioGroup/RadioGroup.stories.sources.d.ts.map +1 -1
- package/dist/ui/RadioGroup/RadioGroup.stories.sources.js +2 -2
- package/dist/ui/RadioGroup/RadioGroup.styles.d.ts +8 -8
- package/dist/ui/RadioGroup/RadioGroup.styles.js +4 -4
- package/dist/ui/RadioGroup/RadioGroupCard.js +1 -1
- package/dist/ui/RadioGroup/RadioGroupItem.styles.d.ts +1 -1
- package/dist/ui/ResourceList/ResourceList.stories.d.ts +2 -2
- package/dist/ui/ResourceList/ResourceList.styles.d.ts +2 -2
- package/dist/ui/ResourceList/ResourceListDivider.js +1 -1
- package/dist/ui/Select/Select.stories.d.ts +8 -8
- package/dist/ui/Select/Select.stories.js +12 -12
- package/dist/ui/Select/Select.stories.sources.d.ts.map +1 -1
- package/dist/ui/Select/Select.stories.sources.js +11 -11
- package/dist/ui/Select/Select.styles.d.ts +8 -8
- package/dist/ui/Select/SelectBottomSheet.d.ts.map +1 -1
- package/dist/ui/Select/SelectBottomSheet.js +3 -3
- package/dist/ui/Select/SelectList.styles.d.ts +14 -14
- package/dist/ui/Select/SelectList.styles.js +3 -3
- package/dist/ui/Select/selectControlStyle.d.ts +130 -2
- package/dist/ui/Select/selectControlStyle.d.ts.map +1 -1
- package/dist/ui/Select/selectItemStyle.d.ts +5 -5
- package/dist/ui/Select/selectTriggerStyle.d.ts +53 -1
- package/dist/ui/Select/selectTriggerStyle.d.ts.map +1 -1
- package/dist/ui/Sidebar/Sidebar.stories.d.ts +20 -20
- package/dist/ui/Sidebar/Sidebar.stories.d.ts.map +1 -1
- package/dist/ui/Sidebar/Sidebar.stories.js +1 -1
- package/dist/ui/Sidebar/Sidebar.stories.sources.d.ts.map +1 -1
- package/dist/ui/Sidebar/Sidebar.stories.sources.js +1 -1
- package/dist/ui/Sidebar/Sidebar.styles.d.ts +20 -20
- package/dist/ui/Sidebar/Sidebar.styles.js +3 -3
- package/dist/ui/Sidebar/SidebarHeader.d.ts.map +1 -1
- package/dist/ui/Sidebar/SidebarHeader.js +4 -1
- package/dist/ui/Sidebar/SidebarItem.d.ts +8 -2
- package/dist/ui/Sidebar/SidebarItem.d.ts.map +1 -1
- package/dist/ui/Sidebar/SidebarItem.js +5 -2
- package/dist/ui/Signature/Signature.js +1 -1
- package/dist/ui/Signature/Signature.stories.d.ts +2 -2
- package/dist/ui/Signature/Signature.styles.d.ts +2 -2
- package/dist/ui/Skeleton/Skeleton.js +1 -1
- package/dist/ui/Skeleton/Skeleton.stories.d.ts +1 -1
- package/dist/ui/Skeleton/Skeleton.stories.d.ts.map +1 -1
- package/dist/ui/Skeleton/Skeleton.stories.js +3 -3
- package/dist/ui/Skeleton/Skeleton.stories.sources.d.ts.map +1 -1
- package/dist/ui/Skeleton/Skeleton.stories.sources.js +3 -3
- package/dist/ui/Skeleton/Skeleton.styles.d.ts +1 -1
- package/dist/ui/Spinner/Spinner.stories.d.ts +2 -2
- package/dist/ui/Spinner/Spinner.stories.js +2 -2
- package/dist/ui/Spinner/Spinner.stories.sources.d.ts.map +1 -1
- package/dist/ui/Spinner/Spinner.stories.sources.js +2 -2
- package/dist/ui/Spinner/Spinner.styles.d.ts +2 -2
- package/dist/ui/Spinner/useRotation.d.ts +3 -1
- package/dist/ui/Spinner/useRotation.d.ts.map +1 -1
- package/dist/ui/Spinner/useSpinner.d.ts +3 -3
- package/dist/ui/Switch/Switch.d.ts.map +1 -1
- package/dist/ui/Switch/Switch.js +2 -3
- package/dist/ui/Switch/Switch.stories.d.ts +9 -9
- package/dist/ui/Switch/Switch.stories.js +1 -1
- package/dist/ui/Switch/Switch.stories.sources.d.ts.map +1 -1
- package/dist/ui/Switch/Switch.stories.sources.js +1 -1
- package/dist/ui/Switch/Switch.styles.d.ts +9 -9
- package/dist/ui/Tabs/Tabs.stories.d.ts +6 -5
- package/dist/ui/Tabs/Tabs.stories.d.ts.map +1 -1
- package/dist/ui/Tabs/Tabs.stories.js +3 -1
- package/dist/ui/Tabs/Tabs.stories.sources.d.ts +2 -0
- package/dist/ui/Tabs/Tabs.stories.sources.d.ts.map +1 -1
- package/dist/ui/Tabs/Tabs.stories.sources.js +3 -1
- package/dist/ui/Tabs/Tabs.styles.d.ts +5 -5
- package/dist/ui/Tag/Tag.stories.d.ts +7 -7
- package/dist/ui/Tag/Tag.stories.js +5 -5
- package/dist/ui/Tag/Tag.stories.sources.d.ts.map +1 -1
- package/dist/ui/Tag/Tag.stories.sources.js +5 -5
- package/dist/ui/Tag/Tag.styles.d.ts +7 -7
- package/dist/ui/Tag/tagStyling.d.ts +2 -2
- package/dist/ui/TextInputArray/TextInputArray.js +1 -1
- package/dist/ui/TextareaInput/TextareaInput.d.ts +2 -2
- package/dist/ui/TextareaInput/TextareaInput.d.ts.map +1 -1
- package/dist/ui/TextareaInput/TextareaInput.stories.d.ts +1 -1
- package/dist/ui/TextareaInput/TextareaInput.stories.js +1 -1
- package/dist/ui/TextareaInput/TextareaInput.stories.sources.d.ts.map +1 -1
- package/dist/ui/TextareaInput/TextareaInput.stories.sources.js +1 -1
- package/dist/ui/TimeInput/TimeInput.d.ts +2 -1
- package/dist/ui/TimeInput/TimeInput.d.ts.map +1 -1
- package/dist/ui/TimeInput/TimeInput.stories.d.ts +1 -1
- package/dist/ui/TimeInput/TimeInput.stories.js +2 -2
- package/dist/ui/TimeInput/TimeInput.stories.sources.d.ts.map +1 -1
- package/dist/ui/TimeInput/TimeInput.stories.sources.js +2 -2
- package/dist/ui/Toast/Toast.stories.d.ts +11 -11
- package/dist/ui/Toast/Toast.stories.js +2 -2
- package/dist/ui/Toast/Toast.stories.sources.d.ts.map +1 -1
- package/dist/ui/Toast/Toast.stories.sources.js +2 -2
- package/dist/ui/Toast/Toast.styles.d.ts +11 -11
- package/dist/ui/ToolbarBottomNav/ToolbarBottomNav.stories.d.ts +5 -53
- package/dist/ui/ToolbarBottomNav/ToolbarBottomNav.stories.d.ts.map +1 -1
- package/dist/ui/ToolbarBottomNav/ToolbarBottomNav.styles.d.ts +4 -4
- package/dist/ui/ToolbarTop/ToolbarTop.stories.d.ts +3 -3
- package/dist/ui/ToolbarTop/ToolbarTop.styles.d.ts +3 -3
- package/dist/ui/ToolbarTop/toolbarTopStyling.d.ts +4 -4
- package/package.json +24 -24
- package/dist/ui/PriceInput/PriceInput.css +0 -9
|
@@ -3,11 +3,11 @@
|
|
|
3
3
|
export const WithTextInput = () => "export const WithTextInput = () => (\n <FormControl>\n <InputHeading>\n <FormControlLabel label=\"Adresse email\" />\n <FormControlHint hint=\"Votre email professionnel\" />\n </InputHeading>\n <TextInput placeholder=\"jean@exemple.fr\" />\n </FormControl>\n);";
|
|
4
4
|
export const WithError = () => "export const WithError = () => (\n <FormControl>\n <InputHeading>\n <FormControlLabel label=\"Adresse email\" />\n </InputHeading>\n <TextInput placeholder=\"jean@exemple.fr\" />\n <FormControlCaption error=\"Format invalide\" />\n </FormControl>\n);";
|
|
5
5
|
export const WithSuccess = () => "export const WithSuccess = () => (\n <FormControl>\n <InputHeading>\n <FormControlLabel label=\"Adresse email\" />\n </InputHeading>\n <TextInput placeholder=\"jean@exemple.fr\" />\n <FormControlCaption success=\"Email valide\" />\n </FormControl>\n);";
|
|
6
|
-
export const Label = () => "export const Label = () => (\n <Box display=\"flex\" flexDirection=\"column\" gap
|
|
7
|
-
export const Caption = () => "export const Caption = () => (\n <Box display=\"flex\" flexDirection=\"column\" gap
|
|
8
|
-
export const Hint = () => "export const Hint = () => (\n <Box display=\"flex\" flexDirection=\"column\" gap
|
|
6
|
+
export const Label = () => "export const Label = () => (\n <Box display=\"flex\" flexDirection=\"column\" gap=\"3W\">\n <FormControlLabel label=\"Label par defaut\" />\n <FormControlLabel label=\"Desactive\" disabled />\n <FormControlLabel label=\"Avec badge\" labelRight={<Typography>Optionnel</Typography>} />\n </Box>\n);";
|
|
7
|
+
export const Caption = () => "export const Caption = () => (\n <Box display=\"flex\" flexDirection=\"column\" gap=\"3W\">\n <FormControlCaption error=\"Champ requis\" />\n <FormControlCaption success=\"Valeur correcte\" />\n </Box>\n);";
|
|
8
|
+
export const Hint = () => "export const Hint = () => (\n <Box display=\"flex\" flexDirection=\"column\" gap=\"3W\">\n <FormControlHint hint=\"Texte descriptif du champ\" />\n <FormControlHint hint=\"Texte desactive\" disabled />\n </Box>\n);";
|
|
9
9
|
export const Modal = () => "export const Modal = () => {\n const [open, setOpen] = useState(false);\n return (\n <Box>\n <Button variant=\"secondary\" title=\"Ouvrir la modale\" onPress={() => setOpen(true)} />\n <FormControlModal\n open={open}\n onClose={() => setOpen(false)}\n submitLabel=\"Valider\"\n onSubmit={() => setOpen(false)}\n >\n <TextInput placeholder=\"Saisir un texte...\" multiline numberOfLines={6} />\n </FormControlModal>\n </Box>\n );\n};";
|
|
10
|
-
export const DateInput = () => "export const DateInput = () => {\n const [date, setDate] = useState('');\n const [time, setTime] = useState('');\n const [month, setMonth] = useState('');\n return (\n <Box display=\"flex\" flexDirection=\"column\" gap
|
|
10
|
+
export const DateInput = () => "export const DateInput = () => {\n const [date, setDate] = useState('');\n const [time, setTime] = useState('');\n const [month, setMonth] = useState('');\n return (\n <Box display=\"flex\" flexDirection=\"column\" gap=\"3V\">\n <FormControl>\n <InputHeading>\n <FormControlLabel label=\"Date\" />\n </InputHeading>\n <DateInputControl type=\"date\" value={date} onChange={setDate} />\n </FormControl>\n <FormControl>\n <InputHeading>\n <FormControlLabel label=\"Heure\" />\n </InputHeading>\n <TimeInput value={time} onChange={setTime} />\n </FormControl>\n <FormControl>\n <InputHeading>\n <FormControlLabel label=\"Mois\" />\n </InputHeading>\n <DateInputControl type=\"month\" value={month} onChange={setMonth} />\n </FormControl>\n </Box>\n );\n};";
|
|
11
11
|
export const storySources = {
|
|
12
12
|
WithTextInput,
|
|
13
13
|
WithError,
|
|
@@ -22,14 +22,14 @@ export declare const useStyles: () => {
|
|
|
22
22
|
fontWeight?: import("react-native").TextStyle["fontWeight"];
|
|
23
23
|
};
|
|
24
24
|
errorText: {
|
|
25
|
-
color:
|
|
25
|
+
color: import("@alveole/theme").ThemeColor;
|
|
26
26
|
};
|
|
27
27
|
successText: {
|
|
28
|
-
color:
|
|
28
|
+
color: import("@alveole/theme").ThemeColor;
|
|
29
29
|
};
|
|
30
30
|
modalOverlay: {
|
|
31
31
|
flex: number;
|
|
32
|
-
backgroundColor:
|
|
32
|
+
backgroundColor: import("@alveole/theme").ThemeColor;
|
|
33
33
|
};
|
|
34
34
|
modalSheet: {
|
|
35
35
|
width: "100%";
|
|
@@ -67,12 +67,12 @@ export declare const useStyles: () => {
|
|
|
67
67
|
modalInputContainer: {
|
|
68
68
|
borderRadius: import("@alveole/theme").Radius;
|
|
69
69
|
borderWidth: number;
|
|
70
|
-
borderColor:
|
|
70
|
+
borderColor: import("@alveole/theme").ThemeColor;
|
|
71
71
|
backgroundColor: "#FFFFFF";
|
|
72
72
|
minHeight: number;
|
|
73
73
|
};
|
|
74
74
|
modalInput: {
|
|
75
|
-
color:
|
|
75
|
+
color: import("@alveole/theme").ThemeColor;
|
|
76
76
|
paddingLeft: string | number;
|
|
77
77
|
paddingRight: string | number;
|
|
78
78
|
paddingTop: string | number;
|
|
@@ -87,14 +87,14 @@ export declare const useStyles: () => {
|
|
|
87
87
|
};
|
|
88
88
|
inputFocused: import("@alveole/theme").FocusBorderStyle;
|
|
89
89
|
inputError: {
|
|
90
|
-
borderColor:
|
|
90
|
+
borderColor: import("@alveole/theme").ThemeColor;
|
|
91
91
|
};
|
|
92
92
|
inputSuccess: {
|
|
93
|
-
borderColor:
|
|
93
|
+
borderColor: import("@alveole/theme").ThemeColor;
|
|
94
94
|
};
|
|
95
95
|
inputDisabled: {
|
|
96
|
-
backgroundColor:
|
|
97
|
-
borderColor:
|
|
96
|
+
backgroundColor: import("@alveole/theme").ThemeColor;
|
|
97
|
+
borderColor: import("@alveole/theme").ThemeColor;
|
|
98
98
|
};
|
|
99
99
|
inputContainer: {
|
|
100
100
|
width: "100%";
|
|
@@ -106,7 +106,7 @@ export declare const useStyles: () => {
|
|
|
106
106
|
padding: number;
|
|
107
107
|
borderRadius: import("@alveole/theme").Radius;
|
|
108
108
|
borderWidth: number;
|
|
109
|
-
borderColor:
|
|
109
|
+
borderColor: import("@alveole/theme").ThemeColor;
|
|
110
110
|
backgroundColor: "#FFFFFF";
|
|
111
111
|
overflow: "hidden";
|
|
112
112
|
width: "100%";
|
|
@@ -116,7 +116,7 @@ export declare const useStyles: () => {
|
|
|
116
116
|
display: "flex";
|
|
117
117
|
flexDirection: "row";
|
|
118
118
|
outline: string;
|
|
119
|
-
color:
|
|
119
|
+
color: import("@alveole/theme").ThemeColor;
|
|
120
120
|
fontFamily: string;
|
|
121
121
|
fontSize: 14;
|
|
122
122
|
marginTop: string | number;
|
|
@@ -132,7 +132,7 @@ export declare const useStyles: () => {
|
|
|
132
132
|
letterSpacing: 0;
|
|
133
133
|
fontFamily: string;
|
|
134
134
|
fontWeight?: import("react-native").TextStyle["fontWeight"];
|
|
135
|
-
color:
|
|
135
|
+
color: import("@alveole/theme").ThemeColor;
|
|
136
136
|
};
|
|
137
137
|
inputWeb: {
|
|
138
138
|
borderWidth: number;
|
|
@@ -156,7 +156,7 @@ export declare const useStyles: () => {
|
|
|
156
156
|
justifyContent: "space-between";
|
|
157
157
|
};
|
|
158
158
|
label: {
|
|
159
|
-
color:
|
|
159
|
+
color: import("@alveole/theme").ThemeColor;
|
|
160
160
|
fontSize: 14;
|
|
161
161
|
lineHeight: 20;
|
|
162
162
|
letterSpacing: 0;
|
|
@@ -164,7 +164,7 @@ export declare const useStyles: () => {
|
|
|
164
164
|
fontWeight?: import("react-native").TextStyle["fontWeight"];
|
|
165
165
|
};
|
|
166
166
|
labelDisabled: {
|
|
167
|
-
color:
|
|
167
|
+
color: import("@alveole/theme").ThemeColor;
|
|
168
168
|
};
|
|
169
169
|
hintContainer: {
|
|
170
170
|
display: "flex";
|
|
@@ -172,7 +172,7 @@ export declare const useStyles: () => {
|
|
|
172
172
|
justifyContent: "space-between";
|
|
173
173
|
};
|
|
174
174
|
hint: {
|
|
175
|
-
color:
|
|
175
|
+
color: import("@alveole/theme").ThemeColor;
|
|
176
176
|
fontSize: 12;
|
|
177
177
|
lineHeight: 20;
|
|
178
178
|
letterSpacing: 0;
|
|
@@ -180,10 +180,10 @@ export declare const useStyles: () => {
|
|
|
180
180
|
fontWeight?: import("react-native").TextStyle["fontWeight"];
|
|
181
181
|
};
|
|
182
182
|
hintDisabled: {
|
|
183
|
-
color:
|
|
183
|
+
color: import("@alveole/theme").ThemeColor;
|
|
184
184
|
};
|
|
185
185
|
requiredMarker: {
|
|
186
|
-
color:
|
|
186
|
+
color: import("@alveole/theme").ThemeColor;
|
|
187
187
|
marginLeft: string | number;
|
|
188
188
|
fontSize: 14;
|
|
189
189
|
lineHeight: 20;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
+
import { TextInputElement } from './TextInput';
|
|
2
3
|
export type NumberInputElement = HTMLInputElement;
|
|
3
4
|
export type NumberInputProps = {
|
|
4
5
|
value?: number | null;
|
|
@@ -17,5 +18,5 @@ export type NumberInputProps = {
|
|
|
17
18
|
controlButton?: boolean;
|
|
18
19
|
};
|
|
19
20
|
/** Le natif n'a pas de champ nombre : c'est un champ texte au pave numerique, qui rend un nombre. */
|
|
20
|
-
export declare const NumberInput: React.ForwardRefExoticComponent<NumberInputProps & React.RefAttributes<
|
|
21
|
+
export declare const NumberInput: React.ForwardRefExoticComponent<NumberInputProps & React.RefAttributes<TextInputElement>>;
|
|
21
22
|
//# sourceMappingURL=NumberInput.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"NumberInput.d.ts","sourceRoot":"","sources":["../../../src/ui/FormControl/NumberInput.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"NumberInput.d.ts","sourceRoot":"","sources":["../../../src/ui/FormControl/NumberInput.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAa,gBAAgB,EAAE,MAAM,aAAa,CAAC;AAE1D,MAAM,MAAM,kBAAkB,GAAG,gBAAgB,CAAC;AAElD,MAAM,MAAM,gBAAgB,GAAG;IAC7B,KAAK,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACtB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,cAAc,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IACjC,YAAY,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC/B,SAAS,CAAC,EAAE,KAAK,CAAC,oBAAoB,CAAC,gBAAgB,CAAC,CAAC;IACzD,QAAQ,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,GAAG,IAAI,KAAK,IAAI,CAAC;IAC1C,aAAa,CAAC,EAAE,OAAO,CAAC;CACzB,CAAC;AAEF,qGAAqG;AACrG,eAAO,MAAM,WAAW,2FActB,CAAC"}
|
|
@@ -3,7 +3,7 @@ declare const _default: {
|
|
|
3
3
|
tags: "ui"[];
|
|
4
4
|
experimental: false;
|
|
5
5
|
description: string;
|
|
6
|
-
component: import("react").ForwardRefExoticComponent<import("./NumberInput").NumberInputProps & import("react").RefAttributes<import("
|
|
6
|
+
component: import("react").ForwardRefExoticComponent<import("./NumberInput").NumberInputProps & import("react").RefAttributes<import("./TextInput.types").TextInputElement>>;
|
|
7
7
|
styleFn: () => {
|
|
8
8
|
caption: {
|
|
9
9
|
display: "flex";
|
|
@@ -28,14 +28,14 @@ declare const _default: {
|
|
|
28
28
|
fontWeight?: import("react-native").TextStyle["fontWeight"];
|
|
29
29
|
};
|
|
30
30
|
errorText: {
|
|
31
|
-
color:
|
|
31
|
+
color: import("@alveole/theme").ThemeColor;
|
|
32
32
|
};
|
|
33
33
|
successText: {
|
|
34
|
-
color:
|
|
34
|
+
color: import("@alveole/theme").ThemeColor;
|
|
35
35
|
};
|
|
36
36
|
modalOverlay: {
|
|
37
37
|
flex: number;
|
|
38
|
-
backgroundColor:
|
|
38
|
+
backgroundColor: import("@alveole/theme").ThemeColor;
|
|
39
39
|
};
|
|
40
40
|
modalSheet: {
|
|
41
41
|
width: "100%";
|
|
@@ -73,12 +73,12 @@ declare const _default: {
|
|
|
73
73
|
modalInputContainer: {
|
|
74
74
|
borderRadius: import("@alveole/theme").Radius;
|
|
75
75
|
borderWidth: number;
|
|
76
|
-
borderColor:
|
|
76
|
+
borderColor: import("@alveole/theme").ThemeColor;
|
|
77
77
|
backgroundColor: "#FFFFFF";
|
|
78
78
|
minHeight: number;
|
|
79
79
|
};
|
|
80
80
|
modalInput: {
|
|
81
|
-
color:
|
|
81
|
+
color: import("@alveole/theme").ThemeColor;
|
|
82
82
|
paddingLeft: string | number;
|
|
83
83
|
paddingRight: string | number;
|
|
84
84
|
paddingTop: string | number;
|
|
@@ -93,14 +93,14 @@ declare const _default: {
|
|
|
93
93
|
};
|
|
94
94
|
inputFocused: import("@alveole/theme").FocusBorderStyle;
|
|
95
95
|
inputError: {
|
|
96
|
-
borderColor:
|
|
96
|
+
borderColor: import("@alveole/theme").ThemeColor;
|
|
97
97
|
};
|
|
98
98
|
inputSuccess: {
|
|
99
|
-
borderColor:
|
|
99
|
+
borderColor: import("@alveole/theme").ThemeColor;
|
|
100
100
|
};
|
|
101
101
|
inputDisabled: {
|
|
102
|
-
backgroundColor:
|
|
103
|
-
borderColor:
|
|
102
|
+
backgroundColor: import("@alveole/theme").ThemeColor;
|
|
103
|
+
borderColor: import("@alveole/theme").ThemeColor;
|
|
104
104
|
};
|
|
105
105
|
inputContainer: {
|
|
106
106
|
width: "100%";
|
|
@@ -112,7 +112,7 @@ declare const _default: {
|
|
|
112
112
|
padding: number;
|
|
113
113
|
borderRadius: import("@alveole/theme").Radius;
|
|
114
114
|
borderWidth: number;
|
|
115
|
-
borderColor:
|
|
115
|
+
borderColor: import("@alveole/theme").ThemeColor;
|
|
116
116
|
backgroundColor: "#FFFFFF";
|
|
117
117
|
overflow: "hidden";
|
|
118
118
|
width: "100%";
|
|
@@ -122,7 +122,7 @@ declare const _default: {
|
|
|
122
122
|
display: "flex";
|
|
123
123
|
flexDirection: "row";
|
|
124
124
|
outline: string;
|
|
125
|
-
color:
|
|
125
|
+
color: import("@alveole/theme").ThemeColor;
|
|
126
126
|
fontFamily: string;
|
|
127
127
|
fontSize: 14;
|
|
128
128
|
marginTop: string | number;
|
|
@@ -138,7 +138,7 @@ declare const _default: {
|
|
|
138
138
|
letterSpacing: 0;
|
|
139
139
|
fontFamily: string;
|
|
140
140
|
fontWeight?: import("react-native").TextStyle["fontWeight"];
|
|
141
|
-
color:
|
|
141
|
+
color: import("@alveole/theme").ThemeColor;
|
|
142
142
|
};
|
|
143
143
|
inputWeb: {
|
|
144
144
|
borderWidth: number;
|
|
@@ -162,7 +162,7 @@ declare const _default: {
|
|
|
162
162
|
justifyContent: "space-between";
|
|
163
163
|
};
|
|
164
164
|
label: {
|
|
165
|
-
color:
|
|
165
|
+
color: import("@alveole/theme").ThemeColor;
|
|
166
166
|
fontSize: 14;
|
|
167
167
|
lineHeight: 20;
|
|
168
168
|
letterSpacing: 0;
|
|
@@ -170,7 +170,7 @@ declare const _default: {
|
|
|
170
170
|
fontWeight?: import("react-native").TextStyle["fontWeight"];
|
|
171
171
|
};
|
|
172
172
|
labelDisabled: {
|
|
173
|
-
color:
|
|
173
|
+
color: import("@alveole/theme").ThemeColor;
|
|
174
174
|
};
|
|
175
175
|
hintContainer: {
|
|
176
176
|
display: "flex";
|
|
@@ -178,7 +178,7 @@ declare const _default: {
|
|
|
178
178
|
justifyContent: "space-between";
|
|
179
179
|
};
|
|
180
180
|
hint: {
|
|
181
|
-
color:
|
|
181
|
+
color: import("@alveole/theme").ThemeColor;
|
|
182
182
|
fontSize: 12;
|
|
183
183
|
lineHeight: 20;
|
|
184
184
|
letterSpacing: 0;
|
|
@@ -186,10 +186,10 @@ declare const _default: {
|
|
|
186
186
|
fontWeight?: import("react-native").TextStyle["fontWeight"];
|
|
187
187
|
};
|
|
188
188
|
hintDisabled: {
|
|
189
|
-
color:
|
|
189
|
+
color: import("@alveole/theme").ThemeColor;
|
|
190
190
|
};
|
|
191
191
|
requiredMarker: {
|
|
192
|
-
color:
|
|
192
|
+
color: import("@alveole/theme").ThemeColor;
|
|
193
193
|
marginLeft: string | number;
|
|
194
194
|
fontSize: 14;
|
|
195
195
|
lineHeight: 20;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"NumberInput.stories.d.ts","sourceRoot":"","sources":["../../../src/ui/FormControl/NumberInput.stories.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"NumberInput.stories.d.ts","sourceRoot":"","sources":["../../../src/ui/FormControl/NumberInput.stories.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AASA,wBAQkB;AAElB,eAAO,MAAM,OAAO,mCAOnB,CAAC;AAEF,eAAO,MAAM,UAAU,mCAoBtB,CAAC;AAEF,eAAO,MAAM,SAAS,mCAIrB,CAAC;AAEF,OAAO,KAAK,OAAO,MAAM,+BAA+B,CAAC"}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
+
import { Spacings } from '@alveole/theme';
|
|
2
3
|
import { useState } from 'react';
|
|
3
4
|
import { Box } from '../../core/Box';
|
|
4
5
|
import { Typography } from '../../core/Typography';
|
|
@@ -19,7 +20,7 @@ export const Default = () => {
|
|
|
19
20
|
};
|
|
20
21
|
export const AvecUnites = () => {
|
|
21
22
|
const [value, setValue] = useState(null);
|
|
22
|
-
return (_jsx(FormControl, { label: "Avec unit\u00E9s", children: _jsx(NumberInput, { value: value, onChange: setValue, startAdornment: _jsx(Box, { style: { paddingLeft:
|
|
23
|
+
return (_jsx(FormControl, { label: "Avec unit\u00E9s", children: _jsx(NumberInput, { value: value, onChange: setValue, startAdornment: _jsx(Box, { style: { paddingLeft: Spacings['1W'], paddingRight: Spacings['1V'] }, children: _jsx(Typography, { children: "\u20AC" }) }), endAdornment: _jsx(Box, { style: { paddingLeft: Spacings['1V'], paddingRight: Spacings['1W'] }, children: _jsx(Typography, { children: "TTC" }) }) }) }));
|
|
23
24
|
};
|
|
24
25
|
export const Desactive = () => (_jsx(FormControl, { label: "D\u00E9sactiv\u00E9", children: _jsx(NumberInput, { value: 42, onChange: () => { }, disabled: true }) }));
|
|
25
26
|
export * as Sources from './NumberInput.stories.sources';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"NumberInput.stories.sources.d.ts","sourceRoot":"","sources":["../../../src/ui/FormControl/NumberInput.stories.sources.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,OAAO,cAAsQ,CAAC;AAE3R,eAAO,MAAM,UAAU,
|
|
1
|
+
{"version":3,"file":"NumberInput.stories.sources.d.ts","sourceRoot":"","sources":["../../../src/ui/FormControl/NumberInput.stories.sources.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,OAAO,cAAsQ,CAAC;AAE3R,eAAO,MAAM,UAAU,cAAynB,CAAC;AAEjpB,eAAO,MAAM,SAAS,cAAmK,CAAC;AAE1L,eAAO,MAAM,YAAY;;;;CAIf,CAAC;AAEX,MAAM,MAAM,eAAe,GAAG,MAAM,OAAO,YAAY,CAAC"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// This file is generated. Do not edit manually.
|
|
2
2
|
// Source: src/ui/FormControl/NumberInput.stories.tsx
|
|
3
3
|
export const Default = () => "export const Default = () => {\n const [value, setValue] = useState<number | null>(null);\n return (\n <FormControl label=\"Montant\">\n <NumberInput value={value} onChange={setValue} placeholder=\"Quantité\" />\n </FormControl>\n );\n};";
|
|
4
|
-
export const AvecUnites = () => "export const AvecUnites = () => {\n const [value, setValue] = useState<number | null>(null);\n return (\n <FormControl label=\"Avec unités\">\n <NumberInput\n value={value}\n onChange={setValue}\n startAdornment={\n <Box style={{ paddingLeft:
|
|
4
|
+
export const AvecUnites = () => "export const AvecUnites = () => {\n const [value, setValue] = useState<number | null>(null);\n return (\n <FormControl label=\"Avec unités\">\n <NumberInput\n value={value}\n onChange={setValue}\n startAdornment={\n <Box style={{ paddingLeft: Spacings['1W'], paddingRight: Spacings['1V'] }}>\n <Typography>€</Typography>\n </Box>\n }\n endAdornment={\n <Box style={{ paddingLeft: Spacings['1V'], paddingRight: Spacings['1W'] }}>\n <Typography>TTC</Typography>\n </Box>\n }\n />\n </FormControl>\n );\n};";
|
|
5
5
|
export const Desactive = () => "export const Desactive = () => (\n <FormControl label=\"Désactivé\">\n <NumberInput value={42} onChange={() => {}} disabled />\n </FormControl>\n);";
|
|
6
6
|
export const storySources = {
|
|
7
7
|
Default,
|
|
@@ -18,7 +18,7 @@ declare const _default: {
|
|
|
18
18
|
pinCodeContainerStyle: {
|
|
19
19
|
borderRadius: import("@alveole/theme").Radius;
|
|
20
20
|
borderWidth: number;
|
|
21
|
-
borderColor:
|
|
21
|
+
borderColor: import("@alveole/theme").ThemeColor;
|
|
22
22
|
backgroundColor: "#FFFFFF";
|
|
23
23
|
overflow: "hidden";
|
|
24
24
|
height: import("@alveole/theme").Spacing;
|
|
@@ -27,13 +27,13 @@ declare const _default: {
|
|
|
27
27
|
alignItems: "center";
|
|
28
28
|
};
|
|
29
29
|
pinCodeContainerStyleDisabled: {
|
|
30
|
-
backgroundColor:
|
|
30
|
+
backgroundColor: import("@alveole/theme").ThemeColor;
|
|
31
31
|
};
|
|
32
32
|
pinCodeContainerStyleError: {
|
|
33
|
-
borderColor:
|
|
33
|
+
borderColor: import("@alveole/theme").ThemeColor;
|
|
34
34
|
};
|
|
35
35
|
pinCodeContainerStyleSuccess: {
|
|
36
|
-
borderColor:
|
|
36
|
+
borderColor: import("@alveole/theme").ThemeColor;
|
|
37
37
|
};
|
|
38
38
|
focusedPinCodeContainerStyle: import("@alveole/theme").FocusBorderStyle;
|
|
39
39
|
hiddenInputStyle: {
|
|
@@ -48,7 +48,7 @@ declare const _default: {
|
|
|
48
48
|
letterSpacing: 0;
|
|
49
49
|
fontFamily: string;
|
|
50
50
|
fontWeight?: import("react-native").TextStyle["fontWeight"];
|
|
51
|
-
color:
|
|
51
|
+
color: import("@alveole/theme").ThemeColor;
|
|
52
52
|
};
|
|
53
53
|
};
|
|
54
54
|
};
|
|
@@ -11,5 +11,5 @@ export default {
|
|
|
11
11
|
component: OtpInput,
|
|
12
12
|
styleFn: useStyles,
|
|
13
13
|
};
|
|
14
|
-
export const Default = () => (_jsxs(Box, { display: "flex", flexDirection: "column", gap:
|
|
14
|
+
export const Default = () => (_jsxs(Box, { display: "flex", flexDirection: "column", gap: "3W", children: [_jsx(FormControl, { label: "Code de v\u00E9rification", children: _jsx(OtpInput, { numberOfDigits: 4, onChange: () => { } }) }), _jsx(FormControl, { label: "Avec erreur", error: "Code invalide", children: _jsx(OtpInput, { numberOfDigits: 4, onChange: () => { }, error: "Code invalide" }) }), _jsx(FormControl, { label: "Avec succ\u00E8s", success: "Code v\u00E9rifi\u00E9", children: _jsx(OtpInput, { numberOfDigits: 4, onChange: () => { }, success: "Code v\u00E9rifi\u00E9" }) }), _jsx(FormControl, { label: "D\u00E9sactiv\u00E9", disabled: true, children: _jsx(OtpInput, { numberOfDigits: 4, onChange: () => { }, disabled: true }) })] }));
|
|
15
15
|
export * as Sources from './OtpInput.stories.sources';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"OtpInput.stories.sources.d.ts","sourceRoot":"","sources":["../../../src/ui/FormControl/OtpInput.stories.sources.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,OAAO,
|
|
1
|
+
{"version":3,"file":"OtpInput.stories.sources.d.ts","sourceRoot":"","sources":["../../../src/ui/FormControl/OtpInput.stories.sources.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,OAAO,cAAgtB,CAAC;AAEruB,eAAO,MAAM,YAAY;;CAEf,CAAC;AAEX,MAAM,MAAM,eAAe,GAAG,MAAM,OAAO,YAAY,CAAC"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
// This file is generated. Do not edit manually.
|
|
2
2
|
// Source: src/ui/FormControl/OtpInput.stories.tsx
|
|
3
|
-
export const Default = () => "export const Default = () => (\n <Box display=\"flex\" flexDirection=\"column\" gap
|
|
3
|
+
export const Default = () => "export const Default = () => (\n <Box display=\"flex\" flexDirection=\"column\" gap=\"3W\">\n <FormControl label=\"Code de vérification\">\n <OtpInput numberOfDigits={4} onChange={() => {}} />\n </FormControl>\n <FormControl label=\"Avec erreur\" error=\"Code invalide\">\n <OtpInput numberOfDigits={4} onChange={() => {}} error=\"Code invalide\" />\n </FormControl>\n <FormControl label=\"Avec succès\" success=\"Code vérifié\">\n <OtpInput numberOfDigits={4} onChange={() => {}} success=\"Code vérifié\" />\n </FormControl>\n <FormControl label=\"Désactivé\" disabled>\n <OtpInput numberOfDigits={4} onChange={() => {}} disabled />\n </FormControl>\n </Box>\n);";
|
|
4
4
|
export const storySources = {
|
|
5
5
|
Default,
|
|
6
6
|
};
|
|
@@ -7,7 +7,7 @@ export declare const useStyles: () => {
|
|
|
7
7
|
pinCodeContainerStyle: {
|
|
8
8
|
borderRadius: import("@alveole/theme").Radius;
|
|
9
9
|
borderWidth: number;
|
|
10
|
-
borderColor:
|
|
10
|
+
borderColor: import("@alveole/theme").ThemeColor;
|
|
11
11
|
backgroundColor: "#FFFFFF";
|
|
12
12
|
overflow: "hidden";
|
|
13
13
|
height: import("@alveole/theme").Spacing;
|
|
@@ -16,13 +16,13 @@ export declare const useStyles: () => {
|
|
|
16
16
|
alignItems: "center";
|
|
17
17
|
};
|
|
18
18
|
pinCodeContainerStyleDisabled: {
|
|
19
|
-
backgroundColor:
|
|
19
|
+
backgroundColor: import("@alveole/theme").ThemeColor;
|
|
20
20
|
};
|
|
21
21
|
pinCodeContainerStyleError: {
|
|
22
|
-
borderColor:
|
|
22
|
+
borderColor: import("@alveole/theme").ThemeColor;
|
|
23
23
|
};
|
|
24
24
|
pinCodeContainerStyleSuccess: {
|
|
25
|
-
borderColor:
|
|
25
|
+
borderColor: import("@alveole/theme").ThemeColor;
|
|
26
26
|
};
|
|
27
27
|
/**
|
|
28
28
|
* La cellule active ne recoit pas d'anneau : c'est sa propre bordure qui change de
|
|
@@ -48,7 +48,7 @@ export declare const useStyles: () => {
|
|
|
48
48
|
letterSpacing: 0;
|
|
49
49
|
fontFamily: string;
|
|
50
50
|
fontWeight?: import("react-native").TextStyle["fontWeight"];
|
|
51
|
-
color:
|
|
51
|
+
color: import("@alveole/theme").ThemeColor;
|
|
52
52
|
};
|
|
53
53
|
};
|
|
54
54
|
//# sourceMappingURL=OtpInput.styles.d.ts.map
|
|
@@ -11,8 +11,8 @@ export const useStyles = makeStyles(({ text, color, spacing, spacingValue, radiu
|
|
|
11
11
|
borderColor: color.border['default-grey'],
|
|
12
12
|
backgroundColor: '#FFFFFF',
|
|
13
13
|
overflow: 'hidden',
|
|
14
|
-
height: spacingValue('
|
|
15
|
-
width: spacingValue('
|
|
14
|
+
height: spacingValue('6W'),
|
|
15
|
+
width: spacingValue('6W'),
|
|
16
16
|
justifyContent: 'center',
|
|
17
17
|
alignItems: 'center',
|
|
18
18
|
},
|
|
@@ -15,5 +15,5 @@ export declare const TextInput: React.ForwardRefExoticComponent<Omit<import("rea
|
|
|
15
15
|
openModal?: boolean;
|
|
16
16
|
modalSubmitLabel?: string;
|
|
17
17
|
onModalSubmit?: () => void;
|
|
18
|
-
} & React.RefAttributes<
|
|
18
|
+
} & React.RefAttributes<TextInputElement>>;
|
|
19
19
|
//# sourceMappingURL=TextInput.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TextInput.d.ts","sourceRoot":"","sources":["../../../src/ui/FormControl/TextInput.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAI1B,OAAO,EAAE,gBAAgB,EAAE,cAAc,EAAE,MAAM,mBAAmB,CAAC;AAKrE,YAAY,EAAE,gBAAgB,EAAE,cAAc,EAAE,CAAC;AAEjD;;;GAGG;AACH,eAAO,MAAM,SAAS;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"TextInput.d.ts","sourceRoot":"","sources":["../../../src/ui/FormControl/TextInput.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAI1B,OAAO,EAAE,gBAAgB,EAAE,cAAc,EAAE,MAAM,mBAAmB,CAAC;AAKrE,YAAY,EAAE,gBAAgB,EAAE,cAAc,EAAE,CAAC;AAEjD;;;GAGG;AACH,eAAO,MAAM,SAAS;;;;;;;;;;0CAgBpB,CAAC"}
|
|
@@ -13,7 +13,7 @@ declare const _default: {
|
|
|
13
13
|
openModal?: boolean;
|
|
14
14
|
modalSubmitLabel?: string;
|
|
15
15
|
onModalSubmit?: () => void;
|
|
16
|
-
} & import("react").RefAttributes<import("
|
|
16
|
+
} & import("react").RefAttributes<import("./TextInput.types").TextInputElement>>;
|
|
17
17
|
styleFn: () => {
|
|
18
18
|
caption: {
|
|
19
19
|
display: "flex";
|
|
@@ -38,14 +38,14 @@ declare const _default: {
|
|
|
38
38
|
fontWeight?: import("react-native").TextStyle["fontWeight"];
|
|
39
39
|
};
|
|
40
40
|
errorText: {
|
|
41
|
-
color:
|
|
41
|
+
color: import("@alveole/theme").ThemeColor;
|
|
42
42
|
};
|
|
43
43
|
successText: {
|
|
44
|
-
color:
|
|
44
|
+
color: import("@alveole/theme").ThemeColor;
|
|
45
45
|
};
|
|
46
46
|
modalOverlay: {
|
|
47
47
|
flex: number;
|
|
48
|
-
backgroundColor:
|
|
48
|
+
backgroundColor: import("@alveole/theme").ThemeColor;
|
|
49
49
|
};
|
|
50
50
|
modalSheet: {
|
|
51
51
|
width: "100%";
|
|
@@ -83,12 +83,12 @@ declare const _default: {
|
|
|
83
83
|
modalInputContainer: {
|
|
84
84
|
borderRadius: import("@alveole/theme").Radius;
|
|
85
85
|
borderWidth: number;
|
|
86
|
-
borderColor:
|
|
86
|
+
borderColor: import("@alveole/theme").ThemeColor;
|
|
87
87
|
backgroundColor: "#FFFFFF";
|
|
88
88
|
minHeight: number;
|
|
89
89
|
};
|
|
90
90
|
modalInput: {
|
|
91
|
-
color:
|
|
91
|
+
color: import("@alveole/theme").ThemeColor;
|
|
92
92
|
paddingLeft: string | number;
|
|
93
93
|
paddingRight: string | number;
|
|
94
94
|
paddingTop: string | number;
|
|
@@ -103,14 +103,14 @@ declare const _default: {
|
|
|
103
103
|
};
|
|
104
104
|
inputFocused: import("@alveole/theme").FocusBorderStyle;
|
|
105
105
|
inputError: {
|
|
106
|
-
borderColor:
|
|
106
|
+
borderColor: import("@alveole/theme").ThemeColor;
|
|
107
107
|
};
|
|
108
108
|
inputSuccess: {
|
|
109
|
-
borderColor:
|
|
109
|
+
borderColor: import("@alveole/theme").ThemeColor;
|
|
110
110
|
};
|
|
111
111
|
inputDisabled: {
|
|
112
|
-
backgroundColor:
|
|
113
|
-
borderColor:
|
|
112
|
+
backgroundColor: import("@alveole/theme").ThemeColor;
|
|
113
|
+
borderColor: import("@alveole/theme").ThemeColor;
|
|
114
114
|
};
|
|
115
115
|
inputContainer: {
|
|
116
116
|
width: "100%";
|
|
@@ -122,7 +122,7 @@ declare const _default: {
|
|
|
122
122
|
padding: number;
|
|
123
123
|
borderRadius: import("@alveole/theme").Radius;
|
|
124
124
|
borderWidth: number;
|
|
125
|
-
borderColor:
|
|
125
|
+
borderColor: import("@alveole/theme").ThemeColor;
|
|
126
126
|
backgroundColor: "#FFFFFF";
|
|
127
127
|
overflow: "hidden";
|
|
128
128
|
width: "100%";
|
|
@@ -132,7 +132,7 @@ declare const _default: {
|
|
|
132
132
|
display: "flex";
|
|
133
133
|
flexDirection: "row";
|
|
134
134
|
outline: string;
|
|
135
|
-
color:
|
|
135
|
+
color: import("@alveole/theme").ThemeColor;
|
|
136
136
|
fontFamily: string;
|
|
137
137
|
fontSize: 14;
|
|
138
138
|
marginTop: string | number;
|
|
@@ -148,7 +148,7 @@ declare const _default: {
|
|
|
148
148
|
letterSpacing: 0;
|
|
149
149
|
fontFamily: string;
|
|
150
150
|
fontWeight?: import("react-native").TextStyle["fontWeight"];
|
|
151
|
-
color:
|
|
151
|
+
color: import("@alveole/theme").ThemeColor;
|
|
152
152
|
};
|
|
153
153
|
inputWeb: {
|
|
154
154
|
borderWidth: number;
|
|
@@ -172,7 +172,7 @@ declare const _default: {
|
|
|
172
172
|
justifyContent: "space-between";
|
|
173
173
|
};
|
|
174
174
|
label: {
|
|
175
|
-
color:
|
|
175
|
+
color: import("@alveole/theme").ThemeColor;
|
|
176
176
|
fontSize: 14;
|
|
177
177
|
lineHeight: 20;
|
|
178
178
|
letterSpacing: 0;
|
|
@@ -180,7 +180,7 @@ declare const _default: {
|
|
|
180
180
|
fontWeight?: import("react-native").TextStyle["fontWeight"];
|
|
181
181
|
};
|
|
182
182
|
labelDisabled: {
|
|
183
|
-
color:
|
|
183
|
+
color: import("@alveole/theme").ThemeColor;
|
|
184
184
|
};
|
|
185
185
|
hintContainer: {
|
|
186
186
|
display: "flex";
|
|
@@ -188,7 +188,7 @@ declare const _default: {
|
|
|
188
188
|
justifyContent: "space-between";
|
|
189
189
|
};
|
|
190
190
|
hint: {
|
|
191
|
-
color:
|
|
191
|
+
color: import("@alveole/theme").ThemeColor;
|
|
192
192
|
fontSize: 12;
|
|
193
193
|
lineHeight: 20;
|
|
194
194
|
letterSpacing: 0;
|
|
@@ -196,10 +196,10 @@ declare const _default: {
|
|
|
196
196
|
fontWeight?: import("react-native").TextStyle["fontWeight"];
|
|
197
197
|
};
|
|
198
198
|
hintDisabled: {
|
|
199
|
-
color:
|
|
199
|
+
color: import("@alveole/theme").ThemeColor;
|
|
200
200
|
};
|
|
201
201
|
requiredMarker: {
|
|
202
|
-
color:
|
|
202
|
+
color: import("@alveole/theme").ThemeColor;
|
|
203
203
|
marginLeft: string | number;
|
|
204
204
|
fontSize: 14;
|
|
205
205
|
lineHeight: 20;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import {
|
|
3
|
-
export
|
|
2
|
+
import { TextInputProps as ReactNativeTextInputProps, TextInputInstance } from 'react-native';
|
|
3
|
+
export interface TextInputElement extends TextInputInstance {
|
|
4
|
+
}
|
|
4
5
|
export type TextInputProps = Omit<ReactNativeTextInputProps, 'style'> & {
|
|
5
6
|
type?: 'text' | 'email' | 'tel' | 'password';
|
|
6
7
|
disabled?: boolean;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TextInput.types.d.ts","sourceRoot":"","sources":["../../../src/ui/FormControl/TextInput.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"TextInput.types.d.ts","sourceRoot":"","sources":["../../../src/ui/FormControl/TextInput.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,cAAc,IAAI,yBAAyB,EAAE,iBAAiB,EAAE,MAAM,cAAc,CAAC;AAI9F,MAAM,WAAW,gBAAiB,SAAQ,iBAAiB;CAAG;AAE9D,MAAM,MAAM,cAAc,GAAG,IAAI,CAAC,yBAAyB,EAAE,OAAO,CAAC,GAAG;IAEtE,IAAI,CAAC,EAAE,MAAM,GAAG,OAAO,GAAG,KAAK,GAAG,UAAU,CAAC;IAC7C,QAAQ,CAAC,EAAE,OAAO,CAAC;IAInB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,cAAc,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IACjC,YAAY,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC/B,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,aAAa,CAAC,EAAE,MAAM,IAAI,CAAC;CAC5B,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import {
|
|
2
|
+
import { TextInputElement } from './TextInput.types';
|
|
3
3
|
/**
|
|
4
4
|
* La saisie ordinaire : on ecrit dans le champ la ou il est. Le focus est tenu ici et non
|
|
5
5
|
* laisse a la plateforme, parce que le contour se dessine sur le cadre et non sur le champ.
|
|
@@ -14,5 +14,5 @@ export declare const TextInputInline: React.ForwardRefExoticComponent<Omit<impor
|
|
|
14
14
|
openModal?: boolean;
|
|
15
15
|
modalSubmitLabel?: string;
|
|
16
16
|
onModalSubmit?: () => void;
|
|
17
|
-
} & React.RefAttributes<
|
|
17
|
+
} & React.RefAttributes<TextInputElement>>;
|
|
18
18
|
//# sourceMappingURL=TextInputInline.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TextInputInline.d.ts","sourceRoot":"","sources":["../../../src/ui/FormControl/TextInputInline.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"TextInputInline.d.ts","sourceRoot":"","sources":["../../../src/ui/FormControl/TextInputInline.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,MAAM,OAAO,CAAC;AAK1B,OAAO,EAAE,gBAAgB,EAAkB,MAAM,mBAAmB,CAAC;AAgCrE;;;GAGG;AACH,eAAO,MAAM,eAAe;;;;;;;;;;0CA0D1B,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import {
|
|
2
|
+
import { TextInputElement } from './TextInput.types';
|
|
3
3
|
/**
|
|
4
4
|
* Le champ tel qu'il apparait dans le formulaire quand la saisie vit en modale : il a
|
|
5
5
|
* l'allure d'un champ mais n'en est pas un. Tout ce qui pourrait y installer un curseur
|
|
@@ -18,5 +18,5 @@ export declare const TextInputMirror: React.ForwardRefExoticComponent<Omit<impor
|
|
|
18
18
|
} & {
|
|
19
19
|
isOpen: boolean;
|
|
20
20
|
onOpen: () => void;
|
|
21
|
-
} & React.RefAttributes<
|
|
21
|
+
} & React.RefAttributes<TextInputElement>>;
|
|
22
22
|
//# sourceMappingURL=TextInputMirror.d.ts.map
|