@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
|
@@ -22,5 +22,5 @@ export const Popover = (props) => {
|
|
|
22
22
|
const maxW = popoverStyles.maxW ?? '100%';
|
|
23
23
|
return (_jsxs(TamaguiPopover, { placement: placement, disableFocus: true, open: open, onOpenChange: setOpen, children: [_jsx(TamaguiPopover.Trigger, { asChild: true, children: renderTrigger({ open }) }), _jsx(TamaguiPopover.Content, { trapFocus: false, disableFocusScope: true, ...spacings,
|
|
24
24
|
// {...styles.tamaguiPopoverContent}
|
|
25
|
-
style: [{ maxHeight: scrollable ? maxH : undefined, maxWidth: scrollable ? maxW : undefined }, styles.content], children: scrollable ? (_jsx(YStack, { style: { overflow: 'hidden' }, children: _jsx(ScrollView, { style: { maxHeight: maxH - spacingValue('
|
|
25
|
+
style: [{ maxHeight: scrollable ? maxH : undefined, maxWidth: scrollable ? maxW : undefined }, styles.content], children: scrollable ? (_jsx(YStack, { style: { overflow: 'hidden' }, children: _jsx(ScrollView, { style: { maxHeight: maxH - spacingValue('1V'), flexGrow: 0, flexShrink: 0 }, children: children }) })) : (children) })] }));
|
|
26
26
|
};
|
|
@@ -17,8 +17,8 @@ declare const _default: {
|
|
|
17
17
|
borderRadius: import("@alveole/theme").Radius;
|
|
18
18
|
borderWidth: number;
|
|
19
19
|
borderStyle: "solid";
|
|
20
|
-
borderColor:
|
|
21
|
-
backgroundColor:
|
|
20
|
+
borderColor: import("@alveole/theme").ThemeColor;
|
|
21
|
+
backgroundColor: import("@alveole/theme").ThemeColor;
|
|
22
22
|
} | {
|
|
23
23
|
shadowColor: string;
|
|
24
24
|
shadowOffset: {
|
|
@@ -38,8 +38,8 @@ declare const _default: {
|
|
|
38
38
|
borderRadius: import("@alveole/theme").Radius;
|
|
39
39
|
borderWidth: number;
|
|
40
40
|
borderStyle: "solid";
|
|
41
|
-
borderColor:
|
|
42
|
-
backgroundColor:
|
|
41
|
+
borderColor: import("@alveole/theme").ThemeColor;
|
|
42
|
+
backgroundColor: import("@alveole/theme").ThemeColor;
|
|
43
43
|
} | {
|
|
44
44
|
boxShadow: string;
|
|
45
45
|
display: "flex";
|
|
@@ -52,8 +52,8 @@ declare const _default: {
|
|
|
52
52
|
borderRadius: import("@alveole/theme").Radius;
|
|
53
53
|
borderWidth: number;
|
|
54
54
|
borderStyle: "solid";
|
|
55
|
-
borderColor:
|
|
56
|
-
backgroundColor:
|
|
55
|
+
borderColor: import("@alveole/theme").ThemeColor;
|
|
56
|
+
backgroundColor: import("@alveole/theme").ThemeColor;
|
|
57
57
|
};
|
|
58
58
|
};
|
|
59
59
|
};
|
|
@@ -10,8 +10,8 @@ export declare const useStyles: () => {
|
|
|
10
10
|
borderRadius: import("@alveole/theme").Radius;
|
|
11
11
|
borderWidth: number;
|
|
12
12
|
borderStyle: "solid";
|
|
13
|
-
borderColor:
|
|
14
|
-
backgroundColor:
|
|
13
|
+
borderColor: import("@alveole/theme").ThemeColor;
|
|
14
|
+
backgroundColor: import("@alveole/theme").ThemeColor;
|
|
15
15
|
} | {
|
|
16
16
|
shadowColor: string;
|
|
17
17
|
shadowOffset: {
|
|
@@ -31,8 +31,8 @@ export declare const useStyles: () => {
|
|
|
31
31
|
borderRadius: import("@alveole/theme").Radius;
|
|
32
32
|
borderWidth: number;
|
|
33
33
|
borderStyle: "solid";
|
|
34
|
-
borderColor:
|
|
35
|
-
backgroundColor:
|
|
34
|
+
borderColor: import("@alveole/theme").ThemeColor;
|
|
35
|
+
backgroundColor: import("@alveole/theme").ThemeColor;
|
|
36
36
|
} | {
|
|
37
37
|
boxShadow: string;
|
|
38
38
|
display: "flex";
|
|
@@ -45,8 +45,8 @@ export declare const useStyles: () => {
|
|
|
45
45
|
borderRadius: import("@alveole/theme").Radius;
|
|
46
46
|
borderWidth: number;
|
|
47
47
|
borderStyle: "solid";
|
|
48
|
-
borderColor:
|
|
49
|
-
backgroundColor:
|
|
48
|
+
borderColor: import("@alveole/theme").ThemeColor;
|
|
49
|
+
backgroundColor: import("@alveole/theme").ThemeColor;
|
|
50
50
|
};
|
|
51
51
|
};
|
|
52
52
|
//# sourceMappingURL=Popover.styles.d.ts.map
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import {
|
|
3
|
-
import { NumberInputProps } from '../FormControl';
|
|
2
|
+
import { NumberInputProps, TextInputElement } from '../FormControl';
|
|
4
3
|
export type PriceInputProps = NumberInputProps & {
|
|
5
4
|
autoFocus?: boolean;
|
|
6
5
|
devise?: '€';
|
|
@@ -10,5 +9,5 @@ export declare const PriceInput: React.ForwardRefExoticComponent<NumberInputProp
|
|
|
10
9
|
autoFocus?: boolean;
|
|
11
10
|
devise?: "\u20AC";
|
|
12
11
|
onChange?: NumberInputProps["onChange"];
|
|
13
|
-
} & React.RefAttributes<
|
|
12
|
+
} & React.RefAttributes<TextInputElement>>;
|
|
14
13
|
//# sourceMappingURL=PriceInput.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PriceInput.d.ts","sourceRoot":"","sources":["../../../src/ui/PriceInput/PriceInput.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"PriceInput.d.ts","sourceRoot":"","sources":["../../../src/ui/PriceInput/PriceInput.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAI1B,OAAO,EAAE,gBAAgB,EAAE,gBAAgB,EAAE,MAAM,gBAAgB,CAAC;AAIpE,MAAM,MAAM,eAAe,GAAG,gBAAgB,GAAG;IAC/C,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,MAAM,CAAC,EAAE,GAAG,CAAC;IACb,QAAQ,CAAC,EAAE,gBAAgB,CAAC,UAAU,CAAC,CAAC;CACzC,CAAC;AAEF,eAAO,MAAM,UAAU;gBALT,OAAO;aACV,QAAG;eACD,gBAAgB,CAAC,UAAU,CAAC;0CAuCvC,CAAC"}
|
|
@@ -6,7 +6,7 @@ import { Typography } from '../../core/Typography';
|
|
|
6
6
|
import { useFieldFocus } from '../FormControl/useFieldFocus';
|
|
7
7
|
import { useStyles } from './PriceInput.styles';
|
|
8
8
|
export const PriceInput = React.forwardRef(function PriceInput(props, ref) {
|
|
9
|
-
const { value, devise, onChange, ...inputProps } = props;
|
|
9
|
+
const { value, devise, onChange, onKeyDown: _k, ...inputProps } = props;
|
|
10
10
|
const styles = useStyles();
|
|
11
11
|
const champ = useFieldFocus({ disabled: props.disabled, readOnly: props.readOnly });
|
|
12
12
|
const numberLength = value ? String(value).length : 1;
|
|
@@ -8,14 +8,14 @@ declare const _default: {
|
|
|
8
8
|
autoFocus?: boolean;
|
|
9
9
|
devise?: "\u20AC";
|
|
10
10
|
onChange?: import("..").NumberInputProps["onChange"];
|
|
11
|
-
} & import("react").RefAttributes<import("
|
|
11
|
+
} & import("react").RefAttributes<import("..").TextInputElement>>;
|
|
12
12
|
styleFn: () => {
|
|
13
13
|
container: {
|
|
14
14
|
display: "flex";
|
|
15
15
|
flexDirection: "column";
|
|
16
16
|
width: "100%";
|
|
17
17
|
borderBottomWidth: number;
|
|
18
|
-
borderBottomColor:
|
|
18
|
+
borderBottomColor: import("@alveole/theme").ThemeColor;
|
|
19
19
|
paddingBottom: string | number;
|
|
20
20
|
};
|
|
21
21
|
inputFocused: {
|
|
@@ -28,13 +28,13 @@ declare const _default: {
|
|
|
28
28
|
outlineOffset?: number;
|
|
29
29
|
};
|
|
30
30
|
inputError: {
|
|
31
|
-
borderBottomColor:
|
|
31
|
+
borderBottomColor: import("@alveole/theme").ThemeColor;
|
|
32
32
|
};
|
|
33
33
|
inputSuccess: {
|
|
34
|
-
borderBottomColor:
|
|
34
|
+
borderBottomColor: import("@alveole/theme").ThemeColor;
|
|
35
35
|
};
|
|
36
36
|
inputDisabled: {
|
|
37
|
-
borderBottomColor:
|
|
37
|
+
borderBottomColor: import("@alveole/theme").ThemeColor;
|
|
38
38
|
};
|
|
39
39
|
priceInputContainer: {
|
|
40
40
|
display: "flex";
|
|
@@ -46,12 +46,12 @@ declare const _default: {
|
|
|
46
46
|
borderWidth: number;
|
|
47
47
|
backgroundColor: "transparent";
|
|
48
48
|
textAlign: "center";
|
|
49
|
-
color:
|
|
49
|
+
color: import("@alveole/theme").ThemeColor;
|
|
50
50
|
fontFamily: string;
|
|
51
51
|
fontSize: 64;
|
|
52
52
|
};
|
|
53
53
|
inputPlaceholder: {
|
|
54
|
-
color:
|
|
54
|
+
color: import("@alveole/theme").ThemeColor;
|
|
55
55
|
};
|
|
56
56
|
inputDevise: {
|
|
57
57
|
position: "relative";
|
|
@@ -61,7 +61,7 @@ declare const _default: {
|
|
|
61
61
|
letterSpacing: 0;
|
|
62
62
|
fontFamily: string;
|
|
63
63
|
fontWeight?: import("react-native").TextStyle["fontWeight"];
|
|
64
|
-
color:
|
|
64
|
+
color: import("@alveole/theme").ThemeColor;
|
|
65
65
|
marginTop: string;
|
|
66
66
|
marginBottom: string;
|
|
67
67
|
};
|
|
@@ -15,7 +15,7 @@ export default {
|
|
|
15
15
|
};
|
|
16
16
|
export const Default = () => {
|
|
17
17
|
const [value, setValue] = useState(null);
|
|
18
|
-
return (_jsxs(Box, { display: "flex", flexDirection: "column", gap:
|
|
18
|
+
return (_jsxs(Box, { display: "flex", flexDirection: "column", gap: "3W", children: [_jsx(FormControl, { label: "Montant", children: _jsx(PriceInput, { value: value, onChange: setValue }) }), _jsx(FormControl, { label: "Montant saisi", children: _jsx(PriceInput, { value: 1250, onChange: () => { } }) })] }));
|
|
19
19
|
};
|
|
20
|
-
export const States = () => (_jsxs(Box, { display: "flex", flexDirection: "column", gap:
|
|
20
|
+
export const States = () => (_jsxs(Box, { display: "flex", flexDirection: "column", gap: "3W", children: [_jsx(FormControl, { label: "Erreur", error: "Montant requis", children: _jsx(PriceInput, { value: null, error: "Montant requis", onChange: () => { } }) }), _jsx(FormControl, { label: "Succ\u00E8s", success: "Enregistr\u00E9", children: _jsx(PriceInput, { value: 1250, success: "Enregistr\u00E9", onChange: () => { } }) }), _jsx(FormControl, { label: "D\u00E9sactiv\u00E9", disabled: true, children: _jsx(PriceInput, { value: 1250, disabled: true, onChange: () => { } }) })] }));
|
|
21
21
|
export * as Sources from './PriceInput.stories.sources';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PriceInput.stories.sources.d.ts","sourceRoot":"","sources":["../../../src/ui/PriceInput/PriceInput.stories.sources.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,OAAO,
|
|
1
|
+
{"version":3,"file":"PriceInput.stories.sources.d.ts","sourceRoot":"","sources":["../../../src/ui/PriceInput/PriceInput.stories.sources.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,OAAO,cAA0b,CAAC;AAE/c,eAAO,MAAM,MAAM,cAAsjB,CAAC;AAE1kB,eAAO,MAAM,YAAY;;;CAGf,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/PriceInput/PriceInput.stories.tsx
|
|
3
|
-
export const Default = () => "export const Default = () => {\n const [value, setValue] = useState<number | null>(null);\n return (\n <Box display=\"flex\" flexDirection=\"column\" gap
|
|
4
|
-
export const States = () => "export const States = () => (\n <Box display=\"flex\" flexDirection=\"column\" gap
|
|
3
|
+
export const Default = () => "export const Default = () => {\n const [value, setValue] = useState<number | null>(null);\n return (\n <Box display=\"flex\" flexDirection=\"column\" gap=\"3W\">\n <FormControl label=\"Montant\">\n <PriceInput value={value} onChange={setValue} />\n </FormControl>\n <FormControl label=\"Montant saisi\">\n <PriceInput value={1250} onChange={() => {}} />\n </FormControl>\n </Box>\n );\n};";
|
|
4
|
+
export const States = () => "export const States = () => (\n <Box display=\"flex\" flexDirection=\"column\" gap=\"3W\">\n <FormControl label=\"Erreur\" error=\"Montant requis\">\n <PriceInput value={null} error=\"Montant requis\" onChange={() => {}} />\n </FormControl>\n <FormControl label=\"Succès\" success=\"Enregistré\">\n <PriceInput value={1250} success=\"Enregistré\" onChange={() => {}} />\n </FormControl>\n <FormControl label=\"Désactivé\" disabled>\n <PriceInput value={1250} disabled onChange={() => {}} />\n </FormControl>\n </Box>\n);";
|
|
5
5
|
export const storySources = {
|
|
6
6
|
Default,
|
|
7
7
|
States,
|
|
@@ -4,7 +4,7 @@ export declare const useStyles: () => {
|
|
|
4
4
|
flexDirection: "column";
|
|
5
5
|
width: "100%";
|
|
6
6
|
borderBottomWidth: number;
|
|
7
|
-
borderBottomColor:
|
|
7
|
+
borderBottomColor: import("@alveole/theme").ThemeColor;
|
|
8
8
|
paddingBottom: string | number;
|
|
9
9
|
};
|
|
10
10
|
inputFocused: {
|
|
@@ -17,13 +17,13 @@ export declare const useStyles: () => {
|
|
|
17
17
|
outlineOffset?: number;
|
|
18
18
|
};
|
|
19
19
|
inputError: {
|
|
20
|
-
borderBottomColor:
|
|
20
|
+
borderBottomColor: import("@alveole/theme").ThemeColor;
|
|
21
21
|
};
|
|
22
22
|
inputSuccess: {
|
|
23
|
-
borderBottomColor:
|
|
23
|
+
borderBottomColor: import("@alveole/theme").ThemeColor;
|
|
24
24
|
};
|
|
25
25
|
inputDisabled: {
|
|
26
|
-
borderBottomColor:
|
|
26
|
+
borderBottomColor: import("@alveole/theme").ThemeColor;
|
|
27
27
|
};
|
|
28
28
|
priceInputContainer: {
|
|
29
29
|
display: "flex";
|
|
@@ -35,12 +35,12 @@ export declare const useStyles: () => {
|
|
|
35
35
|
borderWidth: number;
|
|
36
36
|
backgroundColor: "transparent";
|
|
37
37
|
textAlign: "center";
|
|
38
|
-
color:
|
|
38
|
+
color: import("@alveole/theme").ThemeColor;
|
|
39
39
|
fontFamily: string;
|
|
40
40
|
fontSize: 64;
|
|
41
41
|
};
|
|
42
42
|
inputPlaceholder: {
|
|
43
|
-
color:
|
|
43
|
+
color: import("@alveole/theme").ThemeColor;
|
|
44
44
|
};
|
|
45
45
|
inputDevise: {
|
|
46
46
|
position: "relative";
|
|
@@ -50,7 +50,7 @@ export declare const useStyles: () => {
|
|
|
50
50
|
letterSpacing: 0;
|
|
51
51
|
fontFamily: string;
|
|
52
52
|
fontWeight?: import("react-native").TextStyle["fontWeight"];
|
|
53
|
-
color:
|
|
53
|
+
color: import("@alveole/theme").ThemeColor;
|
|
54
54
|
marginTop: string;
|
|
55
55
|
marginBottom: string;
|
|
56
56
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PriceInput.web.d.ts","sourceRoot":"","sources":["../../../src/ui/PriceInput/PriceInput.web.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"PriceInput.web.d.ts","sourceRoot":"","sources":["../../../src/ui/PriceInput/PriceInput.web.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAW1B,eAAO,MAAM,UAAU;;;;0CAuCrB,CAAC"}
|
|
@@ -5,6 +5,7 @@ import { Typography } from '../../core/Typography';
|
|
|
5
5
|
import { useFieldId } from '../FormControl';
|
|
6
6
|
import { useFieldFocus } from '../FormControl/useFieldFocus';
|
|
7
7
|
import { cadrePrix } from './cadrePrix';
|
|
8
|
+
import { largeurDuChamp } from './largeurDuChamp';
|
|
8
9
|
import { useStyles } from './PriceInput.styles';
|
|
9
10
|
import { useSaisieMontant } from './useSaisieMontant';
|
|
10
11
|
export const PriceInput = React.forwardRef(function PriceInput(props, ref) {
|
|
@@ -12,8 +13,7 @@ export const PriceInput = React.forwardRef(function PriceInput(props, ref) {
|
|
|
12
13
|
const styles = useStyles();
|
|
13
14
|
const champ = useFieldFocus({ disabled, readOnly });
|
|
14
15
|
const { affichage, saisir } = useSaisieMontant(value, onChange);
|
|
15
|
-
|
|
16
|
-
const largeur = `${affichage.length || 1}ch`;
|
|
16
|
+
const largeur = largeurDuChamp(affichage);
|
|
17
17
|
return (_jsx(Box, { tag: "price-input", style: cadrePrix(styles, { focus: champ.focus, disabled, error, success }), children: _jsxs(Box, { tag: "price-input-container", style: styles.priceInputContainer, children: [_jsx("input", { ref: ref, id: useFieldId(), autoFocus: autoFocus, disabled: disabled, readOnly: readOnly, className: "alveole-price-input", style: {
|
|
18
18
|
...styles.input,
|
|
19
19
|
fontVariantNumeric: 'tabular-nums',
|
|
@@ -6,7 +6,33 @@ type Styles = ReturnType<typeof useStyles>;
|
|
|
6
6
|
* les champs, dans la priorite commune de l'ADR 0012.
|
|
7
7
|
*/
|
|
8
8
|
export declare const cadrePrix: (styles: Styles, state: FieldBorderState) => {
|
|
9
|
+
borderBottomWidth: number;
|
|
9
10
|
borderBottomColor: string;
|
|
11
|
+
borderRadius?: import("@alveole/theme").Radius | undefined;
|
|
12
|
+
outlineWidth?: number | undefined;
|
|
13
|
+
outlineStyle?: "solid" | undefined;
|
|
14
|
+
outlineColor?: string | undefined;
|
|
15
|
+
outlineOffset?: number | undefined;
|
|
16
|
+
display: "flex";
|
|
17
|
+
flexDirection: "column";
|
|
18
|
+
width: "100%";
|
|
19
|
+
paddingBottom: string | number;
|
|
20
|
+
} | {
|
|
21
|
+
borderBottomColor: import("@alveole/theme").ThemeColor;
|
|
22
|
+
display: "flex";
|
|
23
|
+
flexDirection: "column";
|
|
24
|
+
width: "100%";
|
|
25
|
+
borderBottomWidth: number;
|
|
26
|
+
paddingBottom: string | number;
|
|
27
|
+
} | {
|
|
28
|
+
borderBottomColor: import("@alveole/theme").ThemeColor;
|
|
29
|
+
display: "flex";
|
|
30
|
+
flexDirection: "column";
|
|
31
|
+
width: "100%";
|
|
32
|
+
borderBottomWidth: number;
|
|
33
|
+
paddingBottom: string | number;
|
|
34
|
+
} | {
|
|
35
|
+
borderBottomColor: import("@alveole/theme").ThemeColor;
|
|
10
36
|
display: "flex";
|
|
11
37
|
flexDirection: "column";
|
|
12
38
|
width: "100%";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"cadrePrix.d.ts","sourceRoot":"","sources":["../../../src/ui/PriceInput/cadrePrix.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAoB,MAAM,iCAAiC,CAAC;AACrF,OAAO,EAAE,SAAS,EAAE,MAAM,qBAAqB,CAAC;AAEhD,KAAK,MAAM,GAAG,UAAU,CAAC,OAAO,SAAS,CAAC,CAAC;AAE3C;;;GAGG;AACH,eAAO,MAAM,SAAS,GAAI,QAAQ,MAAM,EAAE,OAAO,gBAAgB
|
|
1
|
+
{"version":3,"file":"cadrePrix.d.ts","sourceRoot":"","sources":["../../../src/ui/PriceInput/cadrePrix.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAoB,MAAM,iCAAiC,CAAC;AACrF,OAAO,EAAE,SAAS,EAAE,MAAM,qBAAqB,CAAC;AAEhD,KAAK,MAAM,GAAG,UAAU,CAAC,OAAO,SAAS,CAAC,CAAC;AAE3C;;;GAGG;AACH,eAAO,MAAM,SAAS,GAAI,QAAQ,MAAM,EAAE,OAAO,gBAAgB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAG/D,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"largeurDuChamp.d.ts","sourceRoot":"","sources":["../../../src/ui/PriceInput/largeurDuChamp.ts"],"names":[],"mappings":"AACA,eAAO,MAAM,cAAc,GAAI,WAAW,MAAM,WAAiC,CAAC"}
|
|
@@ -9,7 +9,7 @@ declare const _default: {
|
|
|
9
9
|
progressed: {
|
|
10
10
|
height: "100%";
|
|
11
11
|
borderRadius: import("@alveole/theme").Radius;
|
|
12
|
-
backgroundColor:
|
|
12
|
+
backgroundColor: import("@alveole/theme").ThemeColor;
|
|
13
13
|
};
|
|
14
14
|
progressedAbsolute: {
|
|
15
15
|
position: "absolute";
|
|
@@ -17,10 +17,10 @@ declare const _default: {
|
|
|
17
17
|
bottom: number;
|
|
18
18
|
left: number;
|
|
19
19
|
borderRadius: import("@alveole/theme").Radius;
|
|
20
|
-
backgroundColor:
|
|
20
|
+
backgroundColor: import("@alveole/theme").ThemeColor;
|
|
21
21
|
};
|
|
22
22
|
progress: {
|
|
23
|
-
backgroundColor:
|
|
23
|
+
backgroundColor: import("@alveole/theme").ThemeColor;
|
|
24
24
|
width: "100%";
|
|
25
25
|
borderRadius: import("@alveole/theme").Radius;
|
|
26
26
|
overflow: "hidden";
|
|
@@ -32,10 +32,10 @@ declare const _default: {
|
|
|
32
32
|
bottom: number;
|
|
33
33
|
width: "100%";
|
|
34
34
|
borderRadius: import("@alveole/theme").Radius;
|
|
35
|
-
backgroundColor:
|
|
35
|
+
backgroundColor: import("@alveole/theme").ThemeColor;
|
|
36
36
|
};
|
|
37
37
|
indicator: {
|
|
38
|
-
color:
|
|
38
|
+
color: import("@alveole/theme").ThemeColor;
|
|
39
39
|
marginTop: string | number;
|
|
40
40
|
marginLeft: string;
|
|
41
41
|
marginRight: string;
|
|
@@ -58,7 +58,7 @@ declare const _default: {
|
|
|
58
58
|
remaining: {
|
|
59
59
|
height: "100%";
|
|
60
60
|
borderRadius: import("@alveole/theme").Radius;
|
|
61
|
-
backgroundColor:
|
|
61
|
+
backgroundColor: import("@alveole/theme").ThemeColor;
|
|
62
62
|
};
|
|
63
63
|
remainingAbsolute: {
|
|
64
64
|
position: "absolute";
|
|
@@ -66,7 +66,7 @@ declare const _default: {
|
|
|
66
66
|
bottom: number;
|
|
67
67
|
right: number;
|
|
68
68
|
borderRadius: import("@alveole/theme").Radius;
|
|
69
|
-
backgroundColor:
|
|
69
|
+
backgroundColor: import("@alveole/theme").ThemeColor;
|
|
70
70
|
};
|
|
71
71
|
noRadius: {
|
|
72
72
|
borderRadius: number;
|
|
@@ -2,7 +2,7 @@ export declare const useStyles: () => {
|
|
|
2
2
|
progressed: {
|
|
3
3
|
height: "100%";
|
|
4
4
|
borderRadius: import("@alveole/theme").Radius;
|
|
5
|
-
backgroundColor:
|
|
5
|
+
backgroundColor: import("@alveole/theme").ThemeColor;
|
|
6
6
|
};
|
|
7
7
|
progressedAbsolute: {
|
|
8
8
|
position: "absolute";
|
|
@@ -10,10 +10,10 @@ export declare const useStyles: () => {
|
|
|
10
10
|
bottom: number;
|
|
11
11
|
left: number;
|
|
12
12
|
borderRadius: import("@alveole/theme").Radius;
|
|
13
|
-
backgroundColor:
|
|
13
|
+
backgroundColor: import("@alveole/theme").ThemeColor;
|
|
14
14
|
};
|
|
15
15
|
progress: {
|
|
16
|
-
backgroundColor:
|
|
16
|
+
backgroundColor: import("@alveole/theme").ThemeColor;
|
|
17
17
|
width: "100%";
|
|
18
18
|
borderRadius: import("@alveole/theme").Radius;
|
|
19
19
|
overflow: "hidden";
|
|
@@ -25,10 +25,10 @@ export declare const useStyles: () => {
|
|
|
25
25
|
bottom: number;
|
|
26
26
|
width: "100%";
|
|
27
27
|
borderRadius: import("@alveole/theme").Radius;
|
|
28
|
-
backgroundColor:
|
|
28
|
+
backgroundColor: import("@alveole/theme").ThemeColor;
|
|
29
29
|
};
|
|
30
30
|
indicator: {
|
|
31
|
-
color:
|
|
31
|
+
color: import("@alveole/theme").ThemeColor;
|
|
32
32
|
marginTop: string | number;
|
|
33
33
|
marginLeft: string;
|
|
34
34
|
marginRight: string;
|
|
@@ -51,7 +51,7 @@ export declare const useStyles: () => {
|
|
|
51
51
|
remaining: {
|
|
52
52
|
height: "100%";
|
|
53
53
|
borderRadius: import("@alveole/theme").Radius;
|
|
54
|
-
backgroundColor:
|
|
54
|
+
backgroundColor: import("@alveole/theme").ThemeColor;
|
|
55
55
|
};
|
|
56
56
|
remainingAbsolute: {
|
|
57
57
|
position: "absolute";
|
|
@@ -59,7 +59,7 @@ export declare const useStyles: () => {
|
|
|
59
59
|
bottom: number;
|
|
60
60
|
right: number;
|
|
61
61
|
borderRadius: import("@alveole/theme").Radius;
|
|
62
|
-
backgroundColor:
|
|
62
|
+
backgroundColor: import("@alveole/theme").ThemeColor;
|
|
63
63
|
};
|
|
64
64
|
noRadius: {
|
|
65
65
|
borderRadius: number;
|
|
@@ -32,17 +32,17 @@ declare const _default: {
|
|
|
32
32
|
transitionTimingFunction: "ease-in-out";
|
|
33
33
|
};
|
|
34
34
|
itemCardHover: {
|
|
35
|
-
backgroundColor:
|
|
35
|
+
backgroundColor: import("@alveole/theme").ThemeColor;
|
|
36
36
|
};
|
|
37
37
|
itemCardIcon: {
|
|
38
38
|
display: "flex";
|
|
39
39
|
justifyContent: "center";
|
|
40
40
|
alignItems: "center";
|
|
41
|
-
color:
|
|
41
|
+
color: import("@alveole/theme").ThemeColor;
|
|
42
42
|
};
|
|
43
43
|
itemCardSeparator: {
|
|
44
44
|
borderTopWidth: number;
|
|
45
|
-
borderTopColor:
|
|
45
|
+
borderTopColor: import("@alveole/theme").ThemeColor;
|
|
46
46
|
};
|
|
47
47
|
radioGroupCardContent: {
|
|
48
48
|
display: "flex";
|
|
@@ -74,7 +74,7 @@ declare const _default: {
|
|
|
74
74
|
};
|
|
75
75
|
itemContainer: {
|
|
76
76
|
backgroundColor: "#FFFFFF";
|
|
77
|
-
borderColor:
|
|
77
|
+
borderColor: import("@alveole/theme").ThemeColor;
|
|
78
78
|
};
|
|
79
79
|
itemContainerSm: {
|
|
80
80
|
height: import("@alveole/theme").Spacing;
|
|
@@ -85,10 +85,10 @@ declare const _default: {
|
|
|
85
85
|
width: import("@alveole/theme").Spacing;
|
|
86
86
|
};
|
|
87
87
|
itemContainerActive: {
|
|
88
|
-
borderColor:
|
|
88
|
+
borderColor: import("@alveole/theme").ThemeColor;
|
|
89
89
|
};
|
|
90
90
|
itemIndicator: {
|
|
91
|
-
backgroundColor:
|
|
91
|
+
backgroundColor: import("@alveole/theme").ThemeColor;
|
|
92
92
|
height: number;
|
|
93
93
|
width: number;
|
|
94
94
|
};
|
|
@@ -106,7 +106,7 @@ declare const _default: {
|
|
|
106
106
|
flexDirection: "column";
|
|
107
107
|
};
|
|
108
108
|
groupCard: {
|
|
109
|
-
borderColor:
|
|
109
|
+
borderColor: import("@alveole/theme").ThemeColor;
|
|
110
110
|
borderRadius: import("@alveole/theme").Radius;
|
|
111
111
|
borderWidth: number;
|
|
112
112
|
overflow: "hidden";
|
|
@@ -120,7 +120,7 @@ declare const _default: {
|
|
|
120
120
|
letterSpacing: 0;
|
|
121
121
|
fontFamily: string;
|
|
122
122
|
fontWeight?: import("react-native").TextStyle["fontWeight"];
|
|
123
|
-
color:
|
|
123
|
+
color: import("@alveole/theme").ThemeColor;
|
|
124
124
|
};
|
|
125
125
|
};
|
|
126
126
|
};
|
|
@@ -19,9 +19,9 @@ export const Cards = () => {
|
|
|
19
19
|
const [value, setValue] = useState('oui');
|
|
20
20
|
return (_jsxs(RadioGroup, { value: value, onChange: setValue, label: "Confirmez-vous ?", children: [_jsx(RadioGroup.Card, { value: "oui", label: "Oui", leading: "Check" }), _jsx(RadioGroup.Card, { value: "non", label: "Non", leading: "X" })] }));
|
|
21
21
|
};
|
|
22
|
-
export const WithError = () => (_jsx(Box, { display: "flex", flexDirection: "column", gap:
|
|
22
|
+
export const WithError = () => (_jsx(Box, { display: "flex", flexDirection: "column", gap: "3W", children: _jsxs(RadioGroup, { value: "a", label: "Avec erreur", error: "Veuillez faire un choix", children: [_jsx(RadioGroup.Item, { value: "a", children: "Option A" }), _jsx(RadioGroup.Item, { value: "b", children: "Option B" })] }) }));
|
|
23
23
|
export const RadioInput = () => {
|
|
24
24
|
const [value, setValue] = useState('tutu');
|
|
25
|
-
return (_jsxs(Box, { display: "flex", flexDirection: "column", gap:
|
|
25
|
+
return (_jsxs(Box, { display: "flex", flexDirection: "column", gap: "3W", children: [_jsx(RadioGroup.Input, { id: "exemple-input", label: "Petit", size: "sm", value: "tutu", checked: value === 'tutu', onChange: setValue }), _jsx(RadioGroup.Input, { id: "exemple-input-md", label: "Moyen", size: "md", value: "toto", checked: value === 'toto', onChange: setValue })] }));
|
|
26
26
|
};
|
|
27
27
|
export * as Sources from './RadioGroup.stories.sources';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"RadioGroup.stories.sources.d.ts","sourceRoot":"","sources":["../../../src/ui/RadioGroup/RadioGroup.stories.sources.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,OAAO,cAA+X,CAAC;AAEpZ,eAAO,MAAM,KAAK,cAA2V,CAAC;AAE9W,eAAO,MAAM,SAAS,
|
|
1
|
+
{"version":3,"file":"RadioGroup.stories.sources.d.ts","sourceRoot":"","sources":["../../../src/ui/RadioGroup/RadioGroup.stories.sources.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,OAAO,cAA+X,CAAC;AAEpZ,eAAO,MAAM,KAAK,cAA2V,CAAC;AAE9W,eAAO,MAAM,SAAS,cAA8V,CAAC;AAErX,eAAO,MAAM,UAAU,cAAklB,CAAC;AAE1mB,eAAO,MAAM,YAAY;;;;;CAKf,CAAC;AAEX,MAAM,MAAM,eAAe,GAAG,MAAM,OAAO,YAAY,CAAC"}
|
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
// Source: src/ui/RadioGroup/RadioGroup.stories.tsx
|
|
3
3
|
export const Default = () => "export const Default = () => {\n const [value, setValue] = useState('a');\n return (\n <RadioGroup value={value} onChange={setValue} label=\"Choix\">\n <RadioGroup.Item value=\"a\">Option A</RadioGroup.Item>\n <RadioGroup.Item value=\"b\">Option B</RadioGroup.Item>\n <RadioGroup.Item value=\"c\">Option C</RadioGroup.Item>\n </RadioGroup>\n );\n};";
|
|
4
4
|
export const Cards = () => "export const Cards = () => {\n const [value, setValue] = useState('oui');\n return (\n <RadioGroup value={value} onChange={setValue} label=\"Confirmez-vous ?\">\n <RadioGroup.Card value=\"oui\" label=\"Oui\" leading=\"Check\" />\n <RadioGroup.Card value=\"non\" label=\"Non\" leading=\"X\" />\n </RadioGroup>\n );\n};";
|
|
5
|
-
export const WithError = () => "export const WithError = () => (\n <Box display=\"flex\" flexDirection=\"column\" gap
|
|
6
|
-
export const RadioInput = () => "export const RadioInput = () => {\n const [value, setValue] = useState('tutu');\n\n return (\n <Box display=\"flex\" flexDirection=\"column\" gap
|
|
5
|
+
export const WithError = () => "export const WithError = () => (\n <Box display=\"flex\" flexDirection=\"column\" gap=\"3W\">\n <RadioGroup value=\"a\" label=\"Avec erreur\" error=\"Veuillez faire un choix\">\n <RadioGroup.Item value=\"a\">Option A</RadioGroup.Item>\n <RadioGroup.Item value=\"b\">Option B</RadioGroup.Item>\n </RadioGroup>\n </Box>\n);";
|
|
6
|
+
export const RadioInput = () => "export const RadioInput = () => {\n const [value, setValue] = useState('tutu');\n\n return (\n <Box display=\"flex\" flexDirection=\"column\" gap=\"3W\">\n <RadioGroup.Input\n id=\"exemple-input\"\n label=\"Petit\"\n size=\"sm\"\n value=\"tutu\"\n checked={value === 'tutu'}\n onChange={setValue}\n />\n <RadioGroup.Input\n id=\"exemple-input-md\"\n label=\"Moyen\"\n size=\"md\"\n value=\"toto\"\n checked={value === 'toto'}\n onChange={setValue}\n />\n </Box>\n );\n};";
|
|
7
7
|
export const storySources = {
|
|
8
8
|
Default,
|
|
9
9
|
Cards,
|
|
@@ -17,17 +17,17 @@ export declare const useStyles: () => {
|
|
|
17
17
|
transitionTimingFunction: "ease-in-out";
|
|
18
18
|
};
|
|
19
19
|
itemCardHover: {
|
|
20
|
-
backgroundColor:
|
|
20
|
+
backgroundColor: import("@alveole/theme").ThemeColor;
|
|
21
21
|
};
|
|
22
22
|
itemCardIcon: {
|
|
23
23
|
display: "flex";
|
|
24
24
|
justifyContent: "center";
|
|
25
25
|
alignItems: "center";
|
|
26
|
-
color:
|
|
26
|
+
color: import("@alveole/theme").ThemeColor;
|
|
27
27
|
};
|
|
28
28
|
itemCardSeparator: {
|
|
29
29
|
borderTopWidth: number;
|
|
30
|
-
borderTopColor:
|
|
30
|
+
borderTopColor: import("@alveole/theme").ThemeColor;
|
|
31
31
|
};
|
|
32
32
|
radioGroupCardContent: {
|
|
33
33
|
display: "flex";
|
|
@@ -59,7 +59,7 @@ export declare const useStyles: () => {
|
|
|
59
59
|
};
|
|
60
60
|
itemContainer: {
|
|
61
61
|
backgroundColor: "#FFFFFF";
|
|
62
|
-
borderColor:
|
|
62
|
+
borderColor: import("@alveole/theme").ThemeColor;
|
|
63
63
|
};
|
|
64
64
|
itemContainerSm: {
|
|
65
65
|
height: import("@alveole/theme").Spacing;
|
|
@@ -70,10 +70,10 @@ export declare const useStyles: () => {
|
|
|
70
70
|
width: import("@alveole/theme").Spacing;
|
|
71
71
|
};
|
|
72
72
|
itemContainerActive: {
|
|
73
|
-
borderColor:
|
|
73
|
+
borderColor: import("@alveole/theme").ThemeColor;
|
|
74
74
|
};
|
|
75
75
|
itemIndicator: {
|
|
76
|
-
backgroundColor:
|
|
76
|
+
backgroundColor: import("@alveole/theme").ThemeColor;
|
|
77
77
|
height: number;
|
|
78
78
|
width: number;
|
|
79
79
|
};
|
|
@@ -91,7 +91,7 @@ export declare const useStyles: () => {
|
|
|
91
91
|
flexDirection: "column";
|
|
92
92
|
};
|
|
93
93
|
groupCard: {
|
|
94
|
-
borderColor:
|
|
94
|
+
borderColor: import("@alveole/theme").ThemeColor;
|
|
95
95
|
borderRadius: import("@alveole/theme").Radius;
|
|
96
96
|
borderWidth: number;
|
|
97
97
|
overflow: "hidden";
|
|
@@ -105,7 +105,7 @@ export declare const useStyles: () => {
|
|
|
105
105
|
letterSpacing: 0;
|
|
106
106
|
fontFamily: string;
|
|
107
107
|
fontWeight?: import("react-native").TextStyle["fontWeight"];
|
|
108
|
-
color:
|
|
108
|
+
color: import("@alveole/theme").ThemeColor;
|
|
109
109
|
};
|
|
110
110
|
};
|
|
111
111
|
//# sourceMappingURL=RadioGroup.styles.d.ts.map
|
|
@@ -34,12 +34,12 @@ const ligne = ({ color, spacingValue }) => ({
|
|
|
34
34
|
borderColor: color.light.border['action-high-primary'],
|
|
35
35
|
},
|
|
36
36
|
itemContainerSm: {
|
|
37
|
-
height: spacingValue('
|
|
38
|
-
width: spacingValue('
|
|
37
|
+
height: spacingValue('2W'),
|
|
38
|
+
width: spacingValue('2W'),
|
|
39
39
|
},
|
|
40
40
|
itemContainerMd: {
|
|
41
|
-
height: spacingValue('
|
|
42
|
-
width: spacingValue('
|
|
41
|
+
height: spacingValue('3W'),
|
|
42
|
+
width: spacingValue('3W'),
|
|
43
43
|
},
|
|
44
44
|
itemContainerActive: {
|
|
45
45
|
borderColor: color.light.border['action-high-primary'],
|