@alveole/components 2.0.0-alpha.16 → 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/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/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 +8 -8
- 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 +1 -0
- package/dist/core/index.d.ts.map +1 -1
- package/dist/core/index.js +1 -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/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 +1 -1
- package/dist/ui/PriceInput/PriceInput.stories.d.ts +8 -8
- package/dist/ui/PriceInput/PriceInput.stories.js +2 -2
- package/dist/ui/PriceInput/PriceInput.stories.sources.d.ts.map +1 -1
- package/dist/ui/PriceInput/PriceInput.stories.sources.js +2 -2
- package/dist/ui/PriceInput/PriceInput.styles.d.ts +7 -7
- package/dist/ui/PriceInput/PriceInput.web.d.ts.map +1 -1
- package/dist/ui/PriceInput/PriceInput.web.js +2 -2
- package/dist/ui/PriceInput/cadrePrix.d.ts +26 -0
- package/dist/ui/PriceInput/cadrePrix.d.ts.map +1 -1
- 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/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 +11 -11
- 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/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 +23 -23
|
@@ -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
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TextInputMirror.d.ts","sourceRoot":"","sources":["../../../src/ui/FormControl/TextInputMirror.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"TextInputMirror.d.ts","sourceRoot":"","sources":["../../../src/ui/FormControl/TextInputMirror.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,MAAM,OAAO,CAAC;AAI1B,OAAO,EAAE,gBAAgB,EAAkB,MAAM,mBAAmB,CAAC;AAKrE;;;;GAIG;AACH,eAAO,MAAM,eAAe;;;;;;;;;;;YAP2B,OAAO;YAAU,MAAM,IAAI;0CAsDjF,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 deportee en modale, hors web : le champ du formulaire n'est plus qu'un miroir
|
|
5
5
|
* qu'on presse, et la vraie saisie vit dans la modale. Un champ multiligne tient mal dans
|
|
@@ -16,5 +16,5 @@ export declare const TextInputModal: React.ForwardRefExoticComponent<Omit<import
|
|
|
16
16
|
openModal?: boolean;
|
|
17
17
|
modalSubmitLabel?: string;
|
|
18
18
|
onModalSubmit?: () => void;
|
|
19
|
-
} & React.RefAttributes<
|
|
19
|
+
} & React.RefAttributes<TextInputElement>>;
|
|
20
20
|
//# sourceMappingURL=TextInputModal.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TextInputModal.d.ts","sourceRoot":"","sources":["../../../src/ui/FormControl/TextInputModal.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"TextInputModal.d.ts","sourceRoot":"","sources":["../../../src/ui/FormControl/TextInputModal.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,MAAM,OAAO,CAAC;AAM1B,OAAO,EAAE,gBAAgB,EAAkB,MAAM,mBAAmB,CAAC;AAIrE;;;;;GAKG;AACH,eAAO,MAAM,cAAc;;;;;;;;;;0CAgDzB,CAAC"}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
+
import { TextInputElement } from './TextInput.types';
|
|
2
3
|
/** Le mot de passe : une saisie ordinaire, masquee, qu'un oeil permet de reveler. */
|
|
3
4
|
export declare const TextInputPassword: React.ForwardRefExoticComponent<Omit<import("react-native").TextInputProps, "style"> & {
|
|
4
5
|
type?: "text" | "email" | "tel" | "password";
|
|
@@ -10,5 +11,5 @@ export declare const TextInputPassword: React.ForwardRefExoticComponent<Omit<imp
|
|
|
10
11
|
openModal?: boolean;
|
|
11
12
|
modalSubmitLabel?: string;
|
|
12
13
|
onModalSubmit?: () => void;
|
|
13
|
-
} & React.RefAttributes<
|
|
14
|
+
} & React.RefAttributes<TextInputElement>>;
|
|
14
15
|
//# sourceMappingURL=TextInputPassword.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TextInputPassword.d.ts","sourceRoot":"","sources":["../../../src/ui/FormControl/TextInputPassword.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"TextInputPassword.d.ts","sourceRoot":"","sources":["../../../src/ui/FormControl/TextInputPassword.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,OAAO,EAAE,gBAAgB,EAAkB,MAAM,mBAAmB,CAAC;AAYrE,qFAAqF;AACrF,eAAO,MAAM,iBAAiB;;;;;;;;;;0CAyB7B,CAAC"}
|
|
@@ -20,5 +20,5 @@ export type FieldBorderState = {
|
|
|
20
20
|
* est commune. Sans ce point unique, la famille FormControl et Select divergeraient des la
|
|
21
21
|
* premiere retouche, et c'est exactement la variante locale que l'ADR supprime.
|
|
22
22
|
*/
|
|
23
|
-
export declare const fieldBorderState: <
|
|
23
|
+
export declare const fieldBorderState: <S extends FieldBorderStyles<object>>(styles: S, state: FieldBorderState) => Partial<S[keyof FieldBorderStyles<object>]>;
|
|
24
24
|
//# sourceMappingURL=fieldBorderState.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"fieldBorderState.d.ts","sourceRoot":"","sources":["../../../src/ui/FormControl/fieldBorderState.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,iBAAiB,CAAC,CAAC,IAAI;IACjC,YAAY,EAAE,CAAC,CAAC;IAChB,UAAU,EAAE,CAAC,CAAC;IACd,YAAY,EAAE,CAAC,CAAC;IAChB,aAAa,EAAE,CAAC,CAAC;CAClB,CAAC;AAEF,MAAM,MAAM,gBAAgB,GAAG;IAE7B,QAAQ,CAAC,EAAE,OAAO,GAAG,IAAI,CAAC;IAC1B,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,OAAO,CAAC,EAAE,MAAM,CAAC;CAClB,CAAC;AAEF;;;;;;;;;GASG;AACH,eAAO,MAAM,gBAAgB,GAAI,CAAC,SAAS,
|
|
1
|
+
{"version":3,"file":"fieldBorderState.d.ts","sourceRoot":"","sources":["../../../src/ui/FormControl/fieldBorderState.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,iBAAiB,CAAC,CAAC,IAAI;IACjC,YAAY,EAAE,CAAC,CAAC;IAChB,UAAU,EAAE,CAAC,CAAC;IACd,YAAY,EAAE,CAAC,CAAC;IAChB,aAAa,EAAE,CAAC,CAAC;CAClB,CAAC;AAEF,MAAM,MAAM,gBAAgB,GAAG;IAE7B,QAAQ,CAAC,EAAE,OAAO,GAAG,IAAI,CAAC;IAC1B,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,OAAO,CAAC,EAAE,MAAM,CAAC;CAClB,CAAC;AAEF;;;;;;;;;GASG;AACH,eAAO,MAAM,gBAAgB,GAAI,CAAC,SAAS,iBAAiB,CAAC,MAAM,CAAC,EAClE,QAAQ,CAAC,EACT,OAAO,gBAAgB,KACtB,OAAO,CAAC,CAAC,CAAC,MAAM,iBAAiB,CAAC,MAAM,CAAC,CAAC,CAM5C,CAAC"}
|
|
@@ -27,7 +27,7 @@ export declare const otpTheme: (styles: OtpStyles, state: OtpThemeState) => {
|
|
|
27
27
|
letterSpacing: 0;
|
|
28
28
|
fontFamily: string;
|
|
29
29
|
fontWeight?: import("react-native").TextStyle["fontWeight"];
|
|
30
|
-
color:
|
|
30
|
+
color: import("@alveole/theme").ThemeColor;
|
|
31
31
|
};
|
|
32
32
|
};
|
|
33
33
|
export {};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"otpTheme.d.ts","sourceRoot":"","sources":["../../../src/ui/FormControl/otpTheme.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"otpTheme.d.ts","sourceRoot":"","sources":["../../../src/ui/FormControl/otpTheme.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAGzC,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,mBAAmB,CAAC;AAEnD,KAAK,SAAS,GAAG,UAAU,CAAC,OAAO,SAAS,CAAC,CAAC;AAE9C,MAAM,MAAM,aAAa,GAAG;IAC1B,QAAQ,CAAC,EAAE,OAAO,GAAG,IAAI,CAAC;IAC1B,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,OAAO,CAAC,EAAE,MAAM,CAAC;CAClB,CAAC;AAEF;;;;;;;;;GASG;AACH,eAAO,MAAM,QAAQ,GAAI,QAAQ,SAAS,EAAE,OAAO,aAAa;;;;;;;;;;;;;CAiB9D,CAAC"}
|
|
@@ -14,9 +14,6 @@ export const otpTheme = (styles, state) => ({
|
|
|
14
14
|
containerStyle: versStyleNatif(styles.containerStyle),
|
|
15
15
|
pinCodeContainerStyle: versStyleNatif({
|
|
16
16
|
...styles.pinCodeContainerStyle,
|
|
17
|
-
// Le parametre est explicite : la cellule desactivee ne pose qu'un fond, la cellule en
|
|
18
|
-
// erreur qu'une bordure. Sans lui, l'inference cherche un type commun aux quatre etats
|
|
19
|
-
// et n'en trouve aucun.
|
|
20
17
|
...fieldBorderState({
|
|
21
18
|
inputFocused: styles.focusedPinCodeContainerStyle,
|
|
22
19
|
inputError: styles.pinCodeContainerStyleError,
|
|
@@ -25,7 +25,27 @@ export declare const inputFrameStyle: (styles: Styles, state: InputFrameState) =
|
|
|
25
25
|
paddingTop?: number | undefined;
|
|
26
26
|
paddingLeft?: number | undefined;
|
|
27
27
|
paddingRight?: number | undefined;
|
|
28
|
+
borderWidth: number;
|
|
28
29
|
borderColor: string;
|
|
30
|
+
outlineWidth?: number | undefined;
|
|
31
|
+
outlineStyle?: "solid" | undefined;
|
|
32
|
+
outlineColor?: string | undefined;
|
|
33
|
+
outlineOffset?: number | undefined;
|
|
34
|
+
alignItems?: "center" | undefined;
|
|
35
|
+
display: "flex";
|
|
36
|
+
flexDirection: "row";
|
|
37
|
+
gap: string | number;
|
|
38
|
+
padding: number;
|
|
39
|
+
borderRadius: import("@alveole/theme").Radius;
|
|
40
|
+
backgroundColor: "#FFFFFF";
|
|
41
|
+
overflow: "hidden";
|
|
42
|
+
width: "100%";
|
|
43
|
+
minHeight: number;
|
|
44
|
+
} | {
|
|
45
|
+
paddingTop?: number | undefined;
|
|
46
|
+
paddingLeft?: number | undefined;
|
|
47
|
+
paddingRight?: number | undefined;
|
|
48
|
+
borderColor: import("@alveole/theme").ThemeColor;
|
|
29
49
|
alignItems?: "center" | undefined;
|
|
30
50
|
display: "flex";
|
|
31
51
|
flexDirection: "row";
|
|
@@ -37,6 +57,38 @@ export declare const inputFrameStyle: (styles: Styles, state: InputFrameState) =
|
|
|
37
57
|
overflow: "hidden";
|
|
38
58
|
width: "100%";
|
|
39
59
|
minHeight: number;
|
|
60
|
+
} | {
|
|
61
|
+
paddingTop?: number | undefined;
|
|
62
|
+
paddingLeft?: number | undefined;
|
|
63
|
+
paddingRight?: number | undefined;
|
|
64
|
+
borderColor: import("@alveole/theme").ThemeColor;
|
|
65
|
+
alignItems?: "center" | undefined;
|
|
66
|
+
display: "flex";
|
|
67
|
+
flexDirection: "row";
|
|
68
|
+
gap: string | number;
|
|
69
|
+
padding: number;
|
|
70
|
+
borderRadius: import("@alveole/theme").Radius;
|
|
71
|
+
borderWidth: number;
|
|
72
|
+
backgroundColor: "#FFFFFF";
|
|
73
|
+
overflow: "hidden";
|
|
74
|
+
width: "100%";
|
|
75
|
+
minHeight: number;
|
|
76
|
+
} | {
|
|
77
|
+
paddingTop?: number | undefined;
|
|
78
|
+
paddingLeft?: number | undefined;
|
|
79
|
+
paddingRight?: number | undefined;
|
|
80
|
+
backgroundColor: import("@alveole/theme").ThemeColor | "#FFFFFF";
|
|
81
|
+
borderColor: import("@alveole/theme").ThemeColor;
|
|
82
|
+
alignItems?: "center" | undefined;
|
|
83
|
+
display: "flex";
|
|
84
|
+
flexDirection: "row";
|
|
85
|
+
gap: string | number;
|
|
86
|
+
padding: number;
|
|
87
|
+
borderRadius: import("@alveole/theme").Radius;
|
|
88
|
+
borderWidth: number;
|
|
89
|
+
overflow: "hidden";
|
|
90
|
+
width: "100%";
|
|
91
|
+
minHeight: number;
|
|
40
92
|
};
|
|
41
93
|
/** Centrer le texte n'a de sens qu'encadre des deux cotes, sinon il fuit vers l'ornement. */
|
|
42
94
|
export declare const inputTextStyle: (styles: Styles, { startAdornment, endAdornment }: Pick<InputFrameState, "startAdornment" | "endAdornment">) => StyleProp<TextStyle>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"textInputStyles.d.ts","sourceRoot":"","sources":["../../../src/ui/FormControl/textInputStyles.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,SAAS,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAEpD,OAAO,EAAE,gBAAgB,EAAoB,MAAM,oBAAoB,CAAC;AACxE,OAAO,EAAE,SAAS,EAAE,MAAM,sBAAsB,CAAC;AAEjD,KAAK,MAAM,GAAG,UAAU,CAAC,OAAO,SAAS,CAAC,CAAC;AAE3C,MAAM,MAAM,eAAe,GAAG,gBAAgB,GAAG;IAE/C,KAAK,EAAE,OAAO,CAAC;IACf,cAAc,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IACjC,YAAY,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC/B,SAAS,CAAC,EAAE,OAAO,GAAG,IAAI,CAAC;CAC5B,CAAC;AAEF;;;;;;;;;;;GAWG;AACH,eAAO,MAAM,eAAe,GAAI,QAAQ,MAAM,EAAE,OAAO,eAAe
|
|
1
|
+
{"version":3,"file":"textInputStyles.d.ts","sourceRoot":"","sources":["../../../src/ui/FormControl/textInputStyles.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,SAAS,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAEpD,OAAO,EAAE,gBAAgB,EAAoB,MAAM,oBAAoB,CAAC;AACxE,OAAO,EAAE,SAAS,EAAE,MAAM,sBAAsB,CAAC;AAEjD,KAAK,MAAM,GAAG,UAAU,CAAC,OAAO,SAAS,CAAC,CAAC;AAE3C,MAAM,MAAM,eAAe,GAAG,gBAAgB,GAAG;IAE/C,KAAK,EAAE,OAAO,CAAC;IACf,cAAc,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IACjC,YAAY,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC/B,SAAS,CAAC,EAAE,OAAO,GAAG,IAAI,CAAC;CAC5B,CAAC;AAEF;;;;;;;;;;;GAWG;AACH,eAAO,MAAM,eAAe,GAAI,QAAQ,MAAM,EAAE,OAAO,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAOpE,CAAC;AAEH,6FAA6F;AAC7F,eAAO,MAAM,cAAc,GACzB,QAAQ,MAAM,EACd,kCAAkC,IAAI,CAAC,eAAe,EAAE,gBAAgB,GAAG,cAAc,CAAC,yBAKxF,CAAC"}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import { FocusEvent
|
|
2
|
+
import { FocusEvent } from 'react-native';
|
|
3
|
+
import { TextInputElement } from './TextInput.types';
|
|
3
4
|
type Options = {
|
|
4
5
|
disabled?: boolean | null;
|
|
5
6
|
readOnly?: boolean | null;
|
|
@@ -14,8 +15,8 @@ type Options = {
|
|
|
14
15
|
*/
|
|
15
16
|
export declare const useTextInputModal: ({ disabled, readOnly, onFocus, onModalSubmit }: Options) => {
|
|
16
17
|
isOpen: boolean;
|
|
17
|
-
inputRef: React.RefObject<
|
|
18
|
-
modalInputRef: React.RefObject<
|
|
18
|
+
inputRef: React.RefObject<TextInputElement | null>;
|
|
19
|
+
modalInputRef: React.RefObject<TextInputElement | null>;
|
|
19
20
|
open: () => void;
|
|
20
21
|
close: () => void;
|
|
21
22
|
submit: () => void;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useTextInputModal.d.ts","sourceRoot":"","sources":["../../../src/ui/FormControl/useTextInputModal.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,UAAU,EAAY,
|
|
1
|
+
{"version":3,"file":"useTextInputModal.d.ts","sourceRoot":"","sources":["../../../src/ui/FormControl/useTextInputModal.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,UAAU,EAAY,MAAM,cAAc,CAAC;AACpD,OAAO,EAAE,gBAAgB,EAAE,MAAM,mBAAmB,CAAC;AAErD,KAAK,OAAO,GAAG;IACb,QAAQ,CAAC,EAAE,OAAO,GAAG,IAAI,CAAC;IAC1B,QAAQ,CAAC,EAAE,OAAO,GAAG,IAAI,CAAC;IAC1B,OAAO,CAAC,EAAE,CAAC,CAAC,EAAE,UAAU,KAAK,IAAI,CAAC;IAClC,aAAa,CAAC,EAAE,MAAM,IAAI,CAAC;CAC5B,CAAC;AAEF;;;;;GAKG;AACH,eAAO,MAAM,iBAAiB,GAAI,gDAAgD,OAAO;;;;;;;;;0BA6C1D,UAAU;CASxC,CAAC"}
|
|
@@ -8,9 +8,9 @@ declare const _default: {
|
|
|
8
8
|
component: ({ logo, title, right, homeHref }: import("./Header").HeaderProps) => import("react").JSX.Element;
|
|
9
9
|
styleFn: () => {
|
|
10
10
|
container: {
|
|
11
|
-
backgroundColor:
|
|
11
|
+
backgroundColor: import("@alveole/theme").ThemeColor;
|
|
12
12
|
borderBottomWidth: number;
|
|
13
|
-
borderBottomColor:
|
|
13
|
+
borderBottomColor: import("@alveole/theme").ThemeColor;
|
|
14
14
|
position: "relative" | "sticky";
|
|
15
15
|
top: number;
|
|
16
16
|
zIndex: number;
|
|
@@ -40,10 +40,10 @@ declare const _default: {
|
|
|
40
40
|
borderRadius: import("@alveole/theme").Radius;
|
|
41
41
|
};
|
|
42
42
|
identityLinkHover: {
|
|
43
|
-
backgroundColor:
|
|
43
|
+
backgroundColor: import("@alveole/theme").ThemeColor;
|
|
44
44
|
};
|
|
45
45
|
titleText: {
|
|
46
|
-
color:
|
|
46
|
+
color: import("@alveole/theme").ThemeColor;
|
|
47
47
|
display: "flex" | "none";
|
|
48
48
|
fontSize: 16;
|
|
49
49
|
lineHeight: 24;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
export declare const useStyles: () => {
|
|
2
2
|
container: {
|
|
3
|
-
backgroundColor:
|
|
3
|
+
backgroundColor: import("@alveole/theme").ThemeColor;
|
|
4
4
|
borderBottomWidth: number;
|
|
5
|
-
borderBottomColor:
|
|
5
|
+
borderBottomColor: import("@alveole/theme").ThemeColor;
|
|
6
6
|
position: "relative" | "sticky";
|
|
7
7
|
top: number;
|
|
8
8
|
zIndex: number;
|
|
@@ -32,10 +32,10 @@ export declare const useStyles: () => {
|
|
|
32
32
|
borderRadius: import("@alveole/theme").Radius;
|
|
33
33
|
};
|
|
34
34
|
identityLinkHover: {
|
|
35
|
-
backgroundColor:
|
|
35
|
+
backgroundColor: import("@alveole/theme").ThemeColor;
|
|
36
36
|
};
|
|
37
37
|
titleText: {
|
|
38
|
-
color:
|
|
38
|
+
color: import("@alveole/theme").ThemeColor;
|
|
39
39
|
display: "flex" | "none";
|
|
40
40
|
fontSize: 16;
|
|
41
41
|
lineHeight: 24;
|
|
@@ -8,10 +8,10 @@ declare const _default: {
|
|
|
8
8
|
textInput: {};
|
|
9
9
|
controlStart: {
|
|
10
10
|
borderRightWidth: number;
|
|
11
|
-
borderColor:
|
|
11
|
+
borderColor: import("@alveole/theme").ThemeColor;
|
|
12
12
|
};
|
|
13
13
|
controlEnd: {
|
|
14
|
-
borderColor:
|
|
14
|
+
borderColor: import("@alveole/theme").ThemeColor;
|
|
15
15
|
borderLeftWidth: number;
|
|
16
16
|
};
|
|
17
17
|
};
|
|
@@ -11,6 +11,6 @@ export default {
|
|
|
11
11
|
component: InputButtonAdornment,
|
|
12
12
|
styleFn: useStyles,
|
|
13
13
|
};
|
|
14
|
-
export const End = () => (_jsxs(Box, { display: "flex", flexDirection: "column", gap:
|
|
14
|
+
export const End = () => (_jsxs(Box, { display: "flex", flexDirection: "column", gap: "3W", children: [_jsx(FormControl, { children: _jsx(InputButtonAdornment, { icon: "Eye", position: "end", accessibilityLabel: "Afficher", onPress: () => { } }) }), _jsx(FormControl, { children: _jsx(InputButtonAdornment, { icon: "X", position: "end", accessibilityLabel: "Effacer", onPress: () => { } }) })] }));
|
|
15
15
|
export const Start = () => (_jsx(FormControl, { children: _jsx(InputButtonAdornment, { icon: "Plus", position: "start", accessibilityLabel: "Ajouter", onPress: () => { } }) }));
|
|
16
16
|
export * as Sources from './InputButtonAdornment.stories.sources';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"InputButtonAdornment.stories.sources.d.ts","sourceRoot":"","sources":["../../../src/ui/InputButtonAdornment/InputButtonAdornment.stories.sources.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,GAAG,
|
|
1
|
+
{"version":3,"file":"InputButtonAdornment.stories.sources.d.ts","sourceRoot":"","sources":["../../../src/ui/InputButtonAdornment/InputButtonAdornment.stories.sources.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,GAAG,cAA8Z,CAAC;AAE/a,eAAO,MAAM,KAAK,cAA+L,CAAC;AAElN,eAAO,MAAM,YAAY;;;CAGf,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/InputButtonAdornment/InputButtonAdornment.stories.tsx
|
|
3
|
-
export const End = () => "export const End = () => (\n <Box display=\"flex\" flexDirection=\"column\" gap
|
|
3
|
+
export const End = () => "export const End = () => (\n <Box display=\"flex\" flexDirection=\"column\" gap=\"3W\">\n <FormControl>\n <InputButtonAdornment icon=\"Eye\" position=\"end\" accessibilityLabel=\"Afficher\" onPress={() => {}} />\n </FormControl>\n <FormControl>\n <InputButtonAdornment icon=\"X\" position=\"end\" accessibilityLabel=\"Effacer\" onPress={() => {}} />\n </FormControl>\n </Box>\n);";
|
|
4
4
|
export const Start = () => "export const Start = () => (\n <FormControl>\n <InputButtonAdornment icon=\"Plus\" position=\"start\" accessibilityLabel=\"Ajouter\" onPress={() => {}} />\n </FormControl>\n);";
|
|
5
5
|
export const storySources = {
|
|
6
6
|
End,
|
|
@@ -2,10 +2,10 @@ export declare const useStyles: () => {
|
|
|
2
2
|
textInput: {};
|
|
3
3
|
controlStart: {
|
|
4
4
|
borderRightWidth: number;
|
|
5
|
-
borderColor:
|
|
5
|
+
borderColor: import("@alveole/theme").ThemeColor;
|
|
6
6
|
};
|
|
7
7
|
controlEnd: {
|
|
8
|
-
borderColor:
|
|
8
|
+
borderColor: import("@alveole/theme").ThemeColor;
|
|
9
9
|
borderLeftWidth: number;
|
|
10
10
|
};
|
|
11
11
|
};
|
|
@@ -7,7 +7,7 @@ declare const _default: {
|
|
|
7
7
|
component: ({ href, target, children }: import("./Link").LinkProps) => import("react").JSX.Element;
|
|
8
8
|
styleFn: () => {
|
|
9
9
|
link: {
|
|
10
|
-
color:
|
|
10
|
+
color: import("@alveole/theme").ThemeColor;
|
|
11
11
|
};
|
|
12
12
|
icone: {
|
|
13
13
|
verticalAlign: string;
|
|
@@ -8,7 +8,7 @@ declare const _default: {
|
|
|
8
8
|
component: (props: import("./ListItem.types").ListItemProps) => import("react").JSX.Element;
|
|
9
9
|
styleFn: () => {
|
|
10
10
|
defaultIcon: {
|
|
11
|
-
color:
|
|
11
|
+
color: import("@alveole/theme").ThemeColor;
|
|
12
12
|
};
|
|
13
13
|
previewContainer: {
|
|
14
14
|
display: "flex";
|
|
@@ -39,7 +39,7 @@ declare const _default: {
|
|
|
39
39
|
position: "absolute";
|
|
40
40
|
width: "100%";
|
|
41
41
|
height: number;
|
|
42
|
-
backgroundColor:
|
|
42
|
+
backgroundColor: import("@alveole/theme").ThemeColor;
|
|
43
43
|
};
|
|
44
44
|
principal: {
|
|
45
45
|
display: "flex";
|
|
@@ -54,7 +54,7 @@ declare const _default: {
|
|
|
54
54
|
letterSpacing: 0;
|
|
55
55
|
fontFamily: string;
|
|
56
56
|
fontWeight?: import("react-native").TextStyle["fontWeight"];
|
|
57
|
-
color:
|
|
57
|
+
color: import("@alveole/theme").ThemeColor;
|
|
58
58
|
};
|
|
59
59
|
description: {
|
|
60
60
|
fontSize: 12;
|
|
@@ -62,7 +62,7 @@ declare const _default: {
|
|
|
62
62
|
letterSpacing: 0;
|
|
63
63
|
fontFamily: string;
|
|
64
64
|
fontWeight?: import("react-native").TextStyle["fontWeight"];
|
|
65
|
-
color:
|
|
65
|
+
color: import("@alveole/theme").ThemeColor;
|
|
66
66
|
};
|
|
67
67
|
container: {
|
|
68
68
|
width: "100%";
|
|
@@ -81,13 +81,13 @@ declare const _default: {
|
|
|
81
81
|
cursor: "pointer";
|
|
82
82
|
};
|
|
83
83
|
itemHover: {
|
|
84
|
-
backgroundColor:
|
|
84
|
+
backgroundColor: import("@alveole/theme").ThemeColor;
|
|
85
85
|
};
|
|
86
86
|
loading: {
|
|
87
87
|
display: "flex";
|
|
88
88
|
alignItems: "center";
|
|
89
89
|
justifyContent: "center";
|
|
90
|
-
color:
|
|
90
|
+
color: import("@alveole/theme").ThemeColor;
|
|
91
91
|
};
|
|
92
92
|
};
|
|
93
93
|
};
|