@alveole/components 2.0.0-alpha.15 → 2.0.0-alpha.17
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/core/AlveoleProvider/AlveoleProvider.d.ts +17 -0
- package/dist/core/AlveoleProvider/AlveoleProvider.d.ts.map +1 -0
- package/dist/core/AlveoleProvider/AlveoleProvider.js +15 -0
- package/dist/core/AlveoleProvider/index.d.ts +2 -0
- package/dist/core/AlveoleProvider/index.d.ts.map +1 -0
- package/dist/core/AlveoleProvider/index.js +1 -0
- package/dist/core/AnchorHeading/AnchorHeading.d.ts +6 -2
- package/dist/core/AnchorHeading/AnchorHeading.d.ts.map +1 -1
- package/dist/core/AnchorHeading/AnchorHeading.js +1 -1
- package/dist/core/AnchorHeading/AnchorHeading.stories.d.ts +2 -1
- package/dist/core/AnchorHeading/AnchorHeading.stories.d.ts.map +1 -1
- package/dist/core/AnchorHeading/AnchorHeading.stories.js +1 -0
- package/dist/core/AnchorHeading/AnchorHeading.stories.sources.d.ts +2 -0
- package/dist/core/AnchorHeading/AnchorHeading.stories.sources.d.ts.map +1 -1
- package/dist/core/AnchorHeading/AnchorHeading.stories.sources.js +2 -0
- package/dist/core/AnchorHeading/AnchorHeading.web.d.ts +1 -1
- package/dist/core/AnchorHeading/AnchorHeading.web.d.ts.map +1 -1
- package/dist/core/AnchorHeading/AnchorHeading.web.js +7 -4
- package/dist/core/AnchorHeading/slug.d.ts +3 -0
- package/dist/core/AnchorHeading/slug.d.ts.map +1 -1
- package/dist/core/AnchorHeading/slug.js +11 -0
- package/dist/core/Box/Box.d.ts +15 -15
- package/dist/core/Box/Box.d.ts.map +1 -1
- package/dist/core/Box/Box.js +9 -6
- package/dist/core/Box/Box.stories.d.ts +19 -15
- package/dist/core/Box/Box.stories.d.ts.map +1 -1
- package/dist/core/Box/Box.stories.js +21 -4
- package/dist/core/Box/Box.stories.sources.d.ts +8 -0
- package/dist/core/Box/Box.stories.sources.d.ts.map +1 -1
- package/dist/core/Box/Box.stories.sources.js +11 -3
- package/dist/core/Box/Box.types.d.ts +21 -15
- package/dist/core/Box/Box.types.d.ts.map +1 -1
- package/dist/core/Box/elementDuTag.d.ts +2 -0
- package/dist/core/Box/elementDuTag.d.ts.map +1 -0
- package/dist/core/Box/elementDuTag.js +12 -0
- package/dist/core/Code/Code.stories.d.ts +2 -2
- package/dist/core/Code/Code.stories.js +1 -1
- package/dist/core/Code/Code.stories.sources.d.ts.map +1 -1
- package/dist/core/Code/Code.stories.sources.js +1 -1
- package/dist/core/Code/Code.styles.d.ts +2 -2
- package/dist/core/Form/Form.stories.js +1 -1
- package/dist/core/Form/Form.stories.sources.d.ts.map +1 -1
- package/dist/core/Form/Form.stories.sources.js +1 -1
- package/dist/core/Grid/Grid.stories.d.ts +15 -14
- package/dist/core/Grid/Grid.stories.d.ts.map +1 -1
- package/dist/core/Grid/Grid.stories.js +14 -12
- package/dist/core/Grid/Grid.stories.sources.d.ts.map +1 -1
- package/dist/core/Grid/Grid.stories.sources.js +9 -9
- package/dist/core/Heading/Heading.d.ts +8 -0
- package/dist/core/Heading/Heading.d.ts.map +1 -0
- package/dist/core/Heading/Heading.js +15 -0
- package/dist/core/Heading/Heading.stories.d.ts +13 -0
- package/dist/core/Heading/Heading.stories.d.ts.map +1 -0
- package/dist/core/Heading/Heading.stories.js +13 -0
- package/dist/core/Heading/Heading.stories.sources.d.ts +8 -0
- package/dist/core/Heading/Heading.stories.sources.d.ts.map +1 -0
- package/dist/core/Heading/Heading.stories.sources.js +8 -0
- package/dist/core/Heading/index.d.ts +2 -0
- package/dist/core/Heading/index.d.ts.map +1 -0
- package/dist/core/Heading/index.js +1 -0
- package/dist/core/Highlight/Highlight.stories.d.ts +4 -4
- package/dist/core/Highlight/Highlight.styles.d.ts +4 -4
- package/dist/core/Highlight/Highlight.theme.d.ts +1 -3
- package/dist/core/Highlight/Highlight.theme.d.ts.map +1 -1
- package/dist/core/Highlight/Highlight.theme.js +9 -16
- package/dist/core/Map/Map.js +1 -1
- package/dist/core/MarkdownDescription/MarkdownDescription.js +1 -1
- package/dist/core/MarkdownDescription/markdownComponents.d.ts +3 -3
- package/dist/core/MarkdownDescription/markdownComponents.d.ts.map +1 -1
- package/dist/core/MarkdownDescription/markdownComponents.js +14 -12
- package/dist/core/MarkdownDescription/markdownNatif.d.ts.map +1 -1
- package/dist/core/MarkdownDescription/markdownNatif.js +5 -4
- package/dist/core/Page/PageContent.d.ts.map +1 -1
- package/dist/core/Page/PageContent.js +1 -1
- package/dist/core/Page/PageContentScrollable.d.ts +15 -15
- package/dist/core/Page/usePageStatusBar.d.ts.map +1 -1
- package/dist/core/Page/usePageStatusBar.js +3 -3
- package/dist/core/Section/Section.stories.d.ts.map +1 -1
- package/dist/core/Section/Section.stories.js +8 -6
- package/dist/core/Section/Section.stories.sources.d.ts.map +1 -1
- package/dist/core/Section/Section.stories.sources.js +4 -4
- package/dist/core/ThemeProvider/ThemeProvider.stories.d.ts.map +1 -1
- package/dist/core/ThemeProvider/ThemeProvider.stories.js +17 -12
- package/dist/core/ThemeProvider/ThemeProvider.stories.sources.d.ts.map +1 -1
- package/dist/core/ThemeProvider/ThemeProvider.stories.sources.js +2 -2
- package/dist/core/Typography/Typography.stories.d.ts +1 -0
- package/dist/core/Typography/Typography.stories.d.ts.map +1 -1
- package/dist/core/Typography/Typography.stories.js +2 -0
- package/dist/core/Typography/Typography.stories.sources.d.ts +2 -0
- package/dist/core/Typography/Typography.stories.sources.d.ts.map +1 -1
- package/dist/core/Typography/Typography.stories.sources.js +2 -0
- package/dist/core/Typography/Typography.styles.d.ts +1 -1
- package/dist/core/Version/Version.stories.d.ts +1 -1
- package/dist/core/Version/Version.styles.d.ts +1 -1
- package/dist/core/index.d.ts +2 -0
- package/dist/core/index.d.ts.map +1 -1
- package/dist/core/index.js +2 -0
- package/dist/core/styleTamagui/flexDuWeb.d.ts +1 -1
- package/dist/core/styleTamagui/flexDuWeb.d.ts.map +1 -1
- package/dist/core/styleTamagui/flexDuWeb.js +4 -3
- package/dist/core/styleTamagui/fondAuSurvol.d.ts +5 -4
- package/dist/core/styleTamagui/fondAuSurvol.d.ts.map +1 -1
- package/dist/generated/version.d.ts +1 -1
- package/dist/generated/version.js +1 -1
- package/dist/stories/index.d.ts +1 -0
- package/dist/stories/index.d.ts.map +1 -1
- package/dist/stories/index.js +1 -0
- package/dist/ui/Accordion/Accordion.stories.d.ts +8 -8
- package/dist/ui/Accordion/Accordion.styles.d.ts +8 -8
- package/dist/ui/Accordion/Accordion.styles.js +2 -2
- package/dist/ui/Avatar/Avatar.stories.d.ts +2 -2
- package/dist/ui/Avatar/Avatar.styles.d.ts +2 -2
- package/dist/ui/Badge/Badge.stories.d.ts +12 -12
- package/dist/ui/Badge/Badge.stories.js +3 -3
- package/dist/ui/Badge/Badge.stories.sources.d.ts.map +1 -1
- package/dist/ui/Badge/Badge.stories.sources.js +3 -3
- package/dist/ui/Badge/Badge.styles.d.ts +12 -12
- package/dist/ui/BottomSheet/BottomSheet.d.ts.map +1 -1
- package/dist/ui/BottomSheet/BottomSheet.js +2 -1
- package/dist/ui/BottomSheet/BottomSheet.stories.d.ts +2 -2
- package/dist/ui/BottomSheet/BottomSheet.styles.d.ts +2 -2
- package/dist/ui/Breadcrumbs/Breadcrumbs.stories.d.ts +3 -3
- package/dist/ui/Breadcrumbs/Breadcrumbs.stories.js +6 -6
- package/dist/ui/Breadcrumbs/Breadcrumbs.stories.sources.d.ts.map +1 -1
- package/dist/ui/Breadcrumbs/Breadcrumbs.stories.sources.js +6 -6
- package/dist/ui/Breadcrumbs/Breadcrumbs.styles.d.ts +3 -3
- package/dist/ui/Button/Button.d.ts +4 -2
- package/dist/ui/Button/Button.d.ts.map +1 -1
- package/dist/ui/Button/Button.stories.d.ts +49 -49
- package/dist/ui/Button/Button.stories.js +8 -8
- package/dist/ui/Button/Button.stories.sources.d.ts.map +1 -1
- package/dist/ui/Button/Button.stories.sources.js +8 -8
- package/dist/ui/Button/Button.styles.d.ts +48 -48
- package/dist/ui/Button/buttonIconStyling.d.ts +4 -20
- package/dist/ui/Button/buttonIconStyling.d.ts.map +1 -1
- package/dist/ui/Card/Card.stories.d.ts +5 -3
- package/dist/ui/Card/Card.stories.d.ts.map +1 -1
- package/dist/ui/Card/Card.stories.js +8 -1
- package/dist/ui/Card/Card.stories.sources.d.ts +4 -0
- package/dist/ui/Card/Card.stories.sources.d.ts.map +1 -1
- package/dist/ui/Card/Card.stories.sources.js +5 -1
- package/dist/ui/Card/Card.styles.d.ts +2 -2
- package/dist/ui/Card/CardHeader.styles.d.ts +3 -3
- package/dist/ui/Card/CardSection.styles.d.ts +3 -3
- package/dist/ui/Checkbox/Checkbox.d.ts.map +1 -1
- package/dist/ui/Checkbox/Checkbox.js +1 -3
- package/dist/ui/Checkbox/Checkbox.stories.d.ts +10 -10
- package/dist/ui/Checkbox/Checkbox.stories.js +2 -2
- package/dist/ui/Checkbox/Checkbox.stories.sources.d.ts.map +1 -1
- package/dist/ui/Checkbox/Checkbox.stories.sources.js +2 -2
- package/dist/ui/Checkbox/Checkbox.styles.d.ts +10 -10
- package/dist/ui/Checkbox/Checkbox.styles.js +6 -6
- package/dist/ui/Counter/Counter.stories.d.ts +3 -3
- package/dist/ui/Counter/Counter.stories.js +1 -1
- package/dist/ui/Counter/Counter.stories.sources.d.ts.map +1 -1
- package/dist/ui/Counter/Counter.stories.sources.js +1 -1
- package/dist/ui/Counter/Counter.styles.d.ts +3 -3
- package/dist/ui/DataTable/DataTable.stories.d.ts +11 -11
- package/dist/ui/DataTable/DataTable.styles.d.ts +11 -11
- package/dist/ui/DateInput/DateInput.d.ts +2 -2
- package/dist/ui/DateInput/DateInput.d.ts.map +1 -1
- package/dist/ui/DateInput/DateInput.ios.d.ts +2 -1
- package/dist/ui/DateInput/DateInput.ios.d.ts.map +1 -1
- package/dist/ui/DateInput/DateInput.stories.d.ts +1 -1
- package/dist/ui/DateInput/DateInput.stories.js +2 -2
- package/dist/ui/DateInput/DateInput.stories.sources.d.ts.map +1 -1
- package/dist/ui/DateInput/DateInput.stories.sources.js +2 -2
- package/dist/ui/Divider/Divider.stories.d.ts +1 -1
- package/dist/ui/Divider/Divider.stories.d.ts.map +1 -1
- package/dist/ui/Divider/Divider.stories.js +1 -1
- package/dist/ui/Divider/Divider.stories.sources.d.ts.map +1 -1
- package/dist/ui/Divider/Divider.stories.sources.js +1 -1
- package/dist/ui/Divider/Divider.styles.d.ts +1 -1
- package/dist/ui/DocumentViewer/DocumentViewer.stories.d.ts +11 -11
- package/dist/ui/DocumentViewer/DocumentViewer.stories.d.ts.map +1 -1
- package/dist/ui/DocumentViewer/DocumentViewer.stories.js +2 -2
- package/dist/ui/DocumentViewer/DocumentViewer.stories.sources.d.ts.map +1 -1
- package/dist/ui/DocumentViewer/DocumentViewer.stories.sources.js +2 -2
- package/dist/ui/DocumentViewer/DocumentViewer.styles.d.ts +11 -11
- package/dist/ui/DocumentViewer/chargementDePdfJs.d.ts.map +1 -1
- package/dist/ui/DocumentViewer/chargementDePdfJs.js +3 -1
- package/dist/ui/DurationInput/DurationInput.d.ts +2 -1
- package/dist/ui/DurationInput/DurationInput.d.ts.map +1 -1
- package/dist/ui/DurationInput/DurationInput.stories.d.ts +1 -1
- package/dist/ui/DurationInput/DurationInput.stories.js +2 -2
- package/dist/ui/DurationInput/DurationInput.stories.sources.d.ts.map +1 -1
- package/dist/ui/DurationInput/DurationInput.stories.sources.js +2 -2
- package/dist/ui/EmptyState/EmptyState.stories.d.ts +4 -4
- package/dist/ui/EmptyState/EmptyState.styles.d.ts +4 -4
- package/dist/ui/FileDropZone/FileDropZone.stories.d.ts +4 -4
- package/dist/ui/FileDropZone/FileDropZone.stories.js +3 -3
- package/dist/ui/FileDropZone/FileDropZone.stories.sources.d.ts.map +1 -1
- package/dist/ui/FileDropZone/FileDropZone.stories.sources.js +3 -3
- package/dist/ui/FileDropZone/FileDropZone.styles.d.ts +4 -4
- package/dist/ui/FilterDate/FilterDate.stories.d.ts +1 -1
- package/dist/ui/FilterDate/FilterDate.styles.d.ts +1 -1
- package/dist/ui/FormControl/ChampHHMM.d.ts +2 -2
- package/dist/ui/FormControl/ChampHHMM.d.ts.map +1 -1
- package/dist/ui/FormControl/FormControl.d.ts +2 -2
- package/dist/ui/FormControl/FormControl.d.ts.map +1 -1
- package/dist/ui/FormControl/FormControl.stories.d.ts +18 -18
- package/dist/ui/FormControl/FormControl.stories.js +4 -4
- package/dist/ui/FormControl/FormControl.stories.sources.d.ts.map +1 -1
- package/dist/ui/FormControl/FormControl.stories.sources.js +4 -4
- package/dist/ui/FormControl/FormControl.styles.d.ts +17 -17
- package/dist/ui/FormControl/NumberInput.d.ts +2 -1
- package/dist/ui/FormControl/NumberInput.d.ts.map +1 -1
- package/dist/ui/FormControl/NumberInput.stories.d.ts +18 -18
- package/dist/ui/FormControl/NumberInput.stories.d.ts.map +1 -1
- package/dist/ui/FormControl/NumberInput.stories.js +2 -1
- package/dist/ui/FormControl/NumberInput.stories.sources.d.ts.map +1 -1
- package/dist/ui/FormControl/NumberInput.stories.sources.js +1 -1
- package/dist/ui/FormControl/OtpInput.stories.d.ts +5 -5
- package/dist/ui/FormControl/OtpInput.stories.js +1 -1
- package/dist/ui/FormControl/OtpInput.stories.sources.d.ts.map +1 -1
- package/dist/ui/FormControl/OtpInput.stories.sources.js +1 -1
- package/dist/ui/FormControl/OtpInput.styles.d.ts +5 -5
- package/dist/ui/FormControl/OtpInput.styles.js +2 -2
- package/dist/ui/FormControl/TextInput.d.ts +1 -1
- package/dist/ui/FormControl/TextInput.d.ts.map +1 -1
- package/dist/ui/FormControl/TextInput.stories.d.ts +18 -18
- package/dist/ui/FormControl/TextInput.types.d.ts +3 -2
- package/dist/ui/FormControl/TextInput.types.d.ts.map +1 -1
- package/dist/ui/FormControl/TextInputInline.d.ts +2 -2
- package/dist/ui/FormControl/TextInputInline.d.ts.map +1 -1
- package/dist/ui/FormControl/TextInputMirror.d.ts +2 -2
- package/dist/ui/FormControl/TextInputMirror.d.ts.map +1 -1
- package/dist/ui/FormControl/TextInputModal.d.ts +2 -2
- package/dist/ui/FormControl/TextInputModal.d.ts.map +1 -1
- package/dist/ui/FormControl/TextInputPassword.d.ts +2 -1
- package/dist/ui/FormControl/TextInputPassword.d.ts.map +1 -1
- package/dist/ui/FormControl/fieldBorderState.d.ts +1 -1
- package/dist/ui/FormControl/fieldBorderState.d.ts.map +1 -1
- package/dist/ui/FormControl/otpTheme.d.ts +1 -1
- package/dist/ui/FormControl/otpTheme.d.ts.map +1 -1
- package/dist/ui/FormControl/otpTheme.js +0 -3
- package/dist/ui/FormControl/textInputStyles.d.ts +52 -0
- package/dist/ui/FormControl/textInputStyles.d.ts.map +1 -1
- package/dist/ui/FormControl/useTextInputModal.d.ts +4 -3
- package/dist/ui/FormControl/useTextInputModal.d.ts.map +1 -1
- package/dist/ui/Header/Header.stories.d.ts +4 -4
- package/dist/ui/Header/Header.styles.d.ts +4 -4
- package/dist/ui/InputButtonAdornment/InputButtonAdornment.stories.d.ts +2 -2
- package/dist/ui/InputButtonAdornment/InputButtonAdornment.stories.js +1 -1
- package/dist/ui/InputButtonAdornment/InputButtonAdornment.stories.sources.d.ts.map +1 -1
- package/dist/ui/InputButtonAdornment/InputButtonAdornment.stories.sources.js +1 -1
- package/dist/ui/InputButtonAdornment/InputButtonAdornment.styles.d.ts +2 -2
- package/dist/ui/Link/Link.stories.d.ts +1 -1
- package/dist/ui/Link/Link.styles.d.ts +1 -1
- package/dist/ui/ListItem/ListItem.stories.d.ts +6 -6
- package/dist/ui/ListItem/ListItem.styles.d.ts +6 -6
- package/dist/ui/LucideIcon/LucideIcon.stories.d.ts.map +1 -1
- package/dist/ui/LucideIcon/LucideIcon.stories.js +2 -1
- package/dist/ui/LucideIcon/LucideIcon.stories.sources.d.ts.map +1 -1
- package/dist/ui/LucideIcon/LucideIcon.stories.sources.js +1 -1
- package/dist/ui/LucideIcon/catalogueLucide.d.ts +36 -0
- package/dist/ui/LucideIcon/catalogueLucide.d.ts.map +1 -1
- package/dist/ui/LucideIcon/vendor/lab.js +1 -1
- package/dist/ui/LucideIcon/vendor/lucide.d.ts +1936 -1780
- package/dist/ui/LucideIcon/vendor/lucide.js +3 -3
- package/dist/ui/PageHeader/PageHeader.stories.d.ts +1 -1
- package/dist/ui/PageHeader/PageHeader.styles.d.ts +1 -1
- package/dist/ui/Popover/Popover.js +1 -1
- package/dist/ui/Popover/Popover.stories.d.ts +6 -6
- package/dist/ui/Popover/Popover.styles.d.ts +6 -6
- package/dist/ui/PriceInput/PriceInput.d.ts +2 -3
- package/dist/ui/PriceInput/PriceInput.d.ts.map +1 -1
- package/dist/ui/PriceInput/PriceInput.js +2 -2
- package/dist/ui/PriceInput/PriceInput.stories.d.ts +22 -6
- package/dist/ui/PriceInput/PriceInput.stories.d.ts.map +1 -1
- package/dist/ui/PriceInput/PriceInput.stories.js +2 -1
- package/dist/ui/PriceInput/PriceInput.stories.sources.d.ts +2 -0
- package/dist/ui/PriceInput/PriceInput.stories.sources.d.ts.map +1 -1
- package/dist/ui/PriceInput/PriceInput.stories.sources.js +3 -1
- package/dist/ui/PriceInput/PriceInput.styles.d.ts +20 -5
- package/dist/ui/PriceInput/PriceInput.styles.d.ts.map +1 -1
- package/dist/ui/PriceInput/PriceInput.styles.js +20 -6
- package/dist/ui/PriceInput/PriceInput.web.d.ts +0 -1
- package/dist/ui/PriceInput/PriceInput.web.d.ts.map +1 -1
- package/dist/ui/PriceInput/PriceInput.web.js +9 -10
- package/dist/ui/PriceInput/cadrePrix.d.ts +43 -0
- package/dist/ui/PriceInput/cadrePrix.d.ts.map +1 -0
- package/dist/ui/PriceInput/cadrePrix.js +9 -0
- package/dist/ui/PriceInput/largeurDuChamp.d.ts +2 -0
- package/dist/ui/PriceInput/largeurDuChamp.d.ts.map +1 -0
- package/dist/ui/PriceInput/largeurDuChamp.js +2 -0
- package/dist/ui/PriceInput/useSaisieMontant.d.ts +5 -0
- package/dist/ui/PriceInput/useSaisieMontant.d.ts.map +1 -0
- package/dist/ui/PriceInput/useSaisieMontant.js +19 -0
- package/dist/ui/ProgressBar/ProgressBar.stories.d.ts +7 -7
- package/dist/ui/ProgressBar/ProgressBar.styles.d.ts +7 -7
- package/dist/ui/RadioGroup/RadioGroup.stories.d.ts +8 -8
- package/dist/ui/RadioGroup/RadioGroup.stories.js +2 -2
- package/dist/ui/RadioGroup/RadioGroup.stories.sources.d.ts.map +1 -1
- package/dist/ui/RadioGroup/RadioGroup.stories.sources.js +2 -2
- package/dist/ui/RadioGroup/RadioGroup.styles.d.ts +8 -8
- package/dist/ui/RadioGroup/RadioGroup.styles.js +4 -4
- package/dist/ui/RadioGroup/RadioGroupCard.js +1 -1
- package/dist/ui/RadioGroup/RadioGroupItem.styles.d.ts +1 -1
- package/dist/ui/ResourceList/ResourceList.stories.d.ts +2 -2
- package/dist/ui/ResourceList/ResourceList.styles.d.ts +2 -2
- package/dist/ui/ResourceList/ResourceListDivider.js +1 -1
- package/dist/ui/Select/Select.stories.d.ts +8 -8
- package/dist/ui/Select/Select.stories.js +12 -12
- package/dist/ui/Select/Select.stories.sources.d.ts.map +1 -1
- package/dist/ui/Select/Select.stories.sources.js +11 -11
- package/dist/ui/Select/Select.styles.d.ts +8 -8
- package/dist/ui/Select/SelectBottomSheet.d.ts.map +1 -1
- package/dist/ui/Select/SelectBottomSheet.js +3 -3
- package/dist/ui/Select/SelectList.styles.d.ts +14 -14
- package/dist/ui/Select/SelectList.styles.js +3 -3
- package/dist/ui/Select/selectControlStyle.d.ts +130 -2
- package/dist/ui/Select/selectControlStyle.d.ts.map +1 -1
- package/dist/ui/Select/selectItemStyle.d.ts +5 -5
- package/dist/ui/Select/selectTriggerStyle.d.ts +53 -1
- package/dist/ui/Select/selectTriggerStyle.d.ts.map +1 -1
- package/dist/ui/Sidebar/Sidebar.stories.d.ts +20 -20
- package/dist/ui/Sidebar/Sidebar.stories.d.ts.map +1 -1
- package/dist/ui/Sidebar/Sidebar.stories.js +1 -1
- package/dist/ui/Sidebar/Sidebar.stories.sources.d.ts.map +1 -1
- package/dist/ui/Sidebar/Sidebar.stories.sources.js +1 -1
- package/dist/ui/Sidebar/Sidebar.styles.d.ts +20 -20
- package/dist/ui/Sidebar/Sidebar.styles.js +3 -3
- package/dist/ui/Sidebar/SidebarHeader.d.ts.map +1 -1
- package/dist/ui/Sidebar/SidebarHeader.js +4 -1
- package/dist/ui/Sidebar/SidebarItem.d.ts +8 -2
- package/dist/ui/Sidebar/SidebarItem.d.ts.map +1 -1
- package/dist/ui/Sidebar/SidebarItem.js +5 -2
- package/dist/ui/Signature/Signature.js +1 -1
- package/dist/ui/Signature/Signature.stories.d.ts +2 -2
- package/dist/ui/Signature/Signature.styles.d.ts +2 -2
- package/dist/ui/Skeleton/Skeleton.js +1 -1
- package/dist/ui/Skeleton/Skeleton.stories.d.ts +1 -1
- package/dist/ui/Skeleton/Skeleton.stories.d.ts.map +1 -1
- package/dist/ui/Skeleton/Skeleton.stories.js +3 -3
- package/dist/ui/Skeleton/Skeleton.stories.sources.d.ts.map +1 -1
- package/dist/ui/Skeleton/Skeleton.stories.sources.js +3 -3
- package/dist/ui/Skeleton/Skeleton.styles.d.ts +1 -1
- package/dist/ui/Spinner/Spinner.stories.d.ts +2 -2
- package/dist/ui/Spinner/Spinner.stories.js +2 -2
- package/dist/ui/Spinner/Spinner.stories.sources.d.ts.map +1 -1
- package/dist/ui/Spinner/Spinner.stories.sources.js +2 -2
- package/dist/ui/Spinner/Spinner.styles.d.ts +2 -2
- package/dist/ui/Spinner/useRotation.d.ts +3 -1
- package/dist/ui/Spinner/useRotation.d.ts.map +1 -1
- package/dist/ui/Spinner/useSpinner.d.ts +3 -3
- package/dist/ui/Switch/Switch.d.ts.map +1 -1
- package/dist/ui/Switch/Switch.js +2 -3
- package/dist/ui/Switch/Switch.stories.d.ts +9 -9
- package/dist/ui/Switch/Switch.stories.js +1 -1
- package/dist/ui/Switch/Switch.stories.sources.d.ts.map +1 -1
- package/dist/ui/Switch/Switch.stories.sources.js +1 -1
- package/dist/ui/Switch/Switch.styles.d.ts +9 -9
- package/dist/ui/Tabs/Tabs.stories.d.ts +6 -5
- package/dist/ui/Tabs/Tabs.stories.d.ts.map +1 -1
- package/dist/ui/Tabs/Tabs.stories.js +3 -1
- package/dist/ui/Tabs/Tabs.stories.sources.d.ts +2 -0
- package/dist/ui/Tabs/Tabs.stories.sources.d.ts.map +1 -1
- package/dist/ui/Tabs/Tabs.stories.sources.js +3 -1
- package/dist/ui/Tabs/Tabs.styles.d.ts +5 -5
- package/dist/ui/Tag/Tag.stories.d.ts +7 -7
- package/dist/ui/Tag/Tag.stories.js +5 -5
- package/dist/ui/Tag/Tag.stories.sources.d.ts.map +1 -1
- package/dist/ui/Tag/Tag.stories.sources.js +5 -5
- package/dist/ui/Tag/Tag.styles.d.ts +7 -7
- package/dist/ui/Tag/tagStyling.d.ts +2 -2
- package/dist/ui/TextInputArray/TextInputArray.js +1 -1
- package/dist/ui/TextareaInput/TextareaInput.d.ts +2 -2
- package/dist/ui/TextareaInput/TextareaInput.d.ts.map +1 -1
- package/dist/ui/TextareaInput/TextareaInput.stories.d.ts +1 -1
- package/dist/ui/TextareaInput/TextareaInput.stories.js +1 -1
- package/dist/ui/TextareaInput/TextareaInput.stories.sources.d.ts.map +1 -1
- package/dist/ui/TextareaInput/TextareaInput.stories.sources.js +1 -1
- package/dist/ui/TimeInput/TimeInput.d.ts +2 -1
- package/dist/ui/TimeInput/TimeInput.d.ts.map +1 -1
- package/dist/ui/TimeInput/TimeInput.stories.d.ts +1 -1
- package/dist/ui/TimeInput/TimeInput.stories.js +2 -2
- package/dist/ui/TimeInput/TimeInput.stories.sources.d.ts.map +1 -1
- package/dist/ui/TimeInput/TimeInput.stories.sources.js +2 -2
- package/dist/ui/Toast/Toast.stories.d.ts +11 -11
- package/dist/ui/Toast/Toast.stories.js +2 -2
- package/dist/ui/Toast/Toast.stories.sources.d.ts.map +1 -1
- package/dist/ui/Toast/Toast.stories.sources.js +2 -2
- package/dist/ui/Toast/Toast.styles.d.ts +11 -11
- package/dist/ui/ToolbarBottomNav/ToolbarBottomNav.stories.d.ts +5 -53
- package/dist/ui/ToolbarBottomNav/ToolbarBottomNav.stories.d.ts.map +1 -1
- package/dist/ui/ToolbarBottomNav/ToolbarBottomNav.styles.d.ts +4 -4
- package/dist/ui/ToolbarTop/ToolbarTop.stories.d.ts +3 -3
- package/dist/ui/ToolbarTop/ToolbarTop.styles.d.ts +3 -3
- package/dist/ui/ToolbarTop/toolbarTopStyling.d.ts +4 -4
- package/package.json +24 -24
- package/dist/ui/PriceInput/PriceInput.css +0 -9
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Tag.stories.sources.d.ts","sourceRoot":"","sources":["../../../src/ui/Tag/Tag.stories.sources.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,KAAK,
|
|
1
|
+
{"version":3,"file":"Tag.stories.sources.d.ts","sourceRoot":"","sources":["../../../src/ui/Tag/Tag.stories.sources.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,KAAK,cAAwM,CAAC;AAE3N,eAAO,MAAM,SAAS,cAA+mB,CAAC;AAEtoB,eAAO,MAAM,QAAQ,cAAgZ,CAAC;AAEta,eAAO,MAAM,SAAS,cAAme,CAAC;AAE1f,eAAO,MAAM,WAAW,cAA6Q,CAAC;AAEtS,eAAO,MAAM,YAAY;;;;;;CAMf,CAAC;AAEX,MAAM,MAAM,eAAe,GAAG,MAAM,OAAO,YAAY,CAAC"}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
// This file is generated. Do not edit manually.
|
|
2
2
|
// Source: src/ui/Tag/Tag.stories.tsx
|
|
3
|
-
export const Sizes = () => "export const Sizes = () => (\n <Box display=\"flex\" flexDirection=\"row\" gap
|
|
4
|
-
export const Selection = () => "export const Selection = () => (\n <Box display=\"flex\" flexDirection=\"column\" gap
|
|
5
|
-
export const Fermable = () => "export const Fermable = () => (\n <Box display=\"flex\" flexDirection=\"row\" gap
|
|
6
|
-
export const AvecIcone = () => "export const AvecIcone = () => (\n <Box display=\"flex\" flexDirection=\"row\" gap
|
|
7
|
-
export const LibelleLong = () => "export const LibelleLong = () => (\n <Box display=\"flex\" flexDirection=\"row\" gap
|
|
3
|
+
export const Sizes = () => "export const Sizes = () => (\n <Box display=\"flex\" flexDirection=\"row\" gap=\"3W\" flexWrap=\"wrap\">\n <Tag size=\"sm\">Tag sm</Tag>\n <Tag size=\"md\">Tag md</Tag>\n </Box>\n);";
|
|
4
|
+
export const Selection = () => "export const Selection = () => (\n <Box display=\"flex\" flexDirection=\"column\" gap=\"2W\">\n {(['sm', 'md'] as const).map(size => (\n <Box key={size} display=\"flex\" flexDirection=\"row\" gap=\"3W\" flexWrap=\"wrap\">\n <Tag size={size}>Descriptive, inerte</Tag>\n <Tag size={size} interactive>\n Au repos, dans un groupe\n </Tag>\n <Tag size={size} interactive selected>\n Sélectionné\n </Tag>\n <Tag size={size} selected closable onClose={() => {}}>\n Sélectionné et fermable\n </Tag>\n </Box>\n ))}\n </Box>\n);";
|
|
5
|
+
export const Fermable = () => "export const Fermable = () => (\n <Box display=\"flex\" flexDirection=\"row\" gap=\"3W\" flexWrap=\"wrap\">\n <Tag size=\"sm\" closable onClose={() => {}}>\n Fermable sm\n </Tag>\n <Tag size=\"md\" closable onClose={() => {}}>\n Fermable md\n </Tag>\n <Tag size=\"md\" closable selected onClose={() => {}}>\n Fermable et sélectionné\n </Tag>\n </Box>\n);";
|
|
6
|
+
export const AvecIcone = () => "export const AvecIcone = () => (\n <Box display=\"flex\" flexDirection=\"row\" gap=\"3W\" flexWrap=\"wrap\">\n <Tag size=\"sm\" leading=\"Check\">\n Validé\n </Tag>\n <Tag size=\"md\" leading=\"Clock\">\n En attente\n </Tag>\n <Tag size=\"md\" leading=\"Tag\" closable onClose={() => {}}>\n Icône et croix\n </Tag>\n <Tag size=\"md\" leading=\"Tag\" closable selected onClose={() => {}}>\n Tout à la fois\n </Tag>\n </Box>\n);";
|
|
7
|
+
export const LibelleLong = () => "export const LibelleLong = () => (\n <Box display=\"flex\" flexDirection=\"row\" gap=\"3W\" style={{ maxWidth: 260 }}>\n <Tag size=\"md\" closable onClose={() => {}}>\n Un libellé beaucoup trop long pour la place disponible\n </Tag>\n </Box>\n);";
|
|
8
8
|
export const storySources = {
|
|
9
9
|
Sizes,
|
|
10
10
|
Selection,
|
|
@@ -16,20 +16,20 @@ export declare const useStyles: () => {
|
|
|
16
16
|
alignItems: "center";
|
|
17
17
|
borderRadius: Radius;
|
|
18
18
|
borderWidth: number;
|
|
19
|
-
borderColor:
|
|
20
|
-
color:
|
|
21
|
-
backgroundColor:
|
|
19
|
+
borderColor: import("@alveole/theme").ThemeColor;
|
|
20
|
+
color: import("@alveole/theme").ThemeColor;
|
|
21
|
+
backgroundColor: import("@alveole/theme").ThemeColor;
|
|
22
22
|
whiteSpace: "nowrap";
|
|
23
23
|
overflow: "hidden";
|
|
24
24
|
textOverflow: "ellipsis";
|
|
25
25
|
maxWidth: string;
|
|
26
26
|
};
|
|
27
27
|
tagSurvole: {
|
|
28
|
-
color:
|
|
28
|
+
color: import("@alveole/theme").ThemeColor;
|
|
29
29
|
};
|
|
30
30
|
tagSelected: {
|
|
31
|
-
borderColor:
|
|
32
|
-
color:
|
|
31
|
+
borderColor: import("@alveole/theme").ThemeColor;
|
|
32
|
+
color: import("@alveole/theme").ThemeColor;
|
|
33
33
|
};
|
|
34
34
|
tagSm: {
|
|
35
35
|
fontSize: 12;
|
|
@@ -58,7 +58,7 @@ export declare const useStyles: () => {
|
|
|
58
58
|
marginRight: number;
|
|
59
59
|
};
|
|
60
60
|
croixSurvolee: {
|
|
61
|
-
backgroundColor:
|
|
61
|
+
backgroundColor: import("@alveole/theme").ThemeColor;
|
|
62
62
|
};
|
|
63
63
|
croixSm: {
|
|
64
64
|
marginLeft: number;
|
|
@@ -39,7 +39,7 @@ export declare const reponseAuPointeur: ({ manipulable, pastilleSurvolee, croixS
|
|
|
39
39
|
};
|
|
40
40
|
/** Le cercle de la croix : son gabarit suit le cran, seul son fond change au survol. */
|
|
41
41
|
export declare const apparenceDeLaCroix: (styles: Styles, size: TailleDEtiquette, survolee: boolean) => {
|
|
42
|
-
backgroundColor?:
|
|
42
|
+
backgroundColor?: import("@alveole/theme").ThemeColor | undefined;
|
|
43
43
|
marginLeft: number;
|
|
44
44
|
alignItems: "center";
|
|
45
45
|
justifyContent: "center";
|
|
@@ -52,7 +52,7 @@ export declare const apparenceDeLaCroix: (styles: Styles, size: TailleDEtiquette
|
|
|
52
52
|
/** L'icone de la croix grossit avec la pastille et prend la teinte du libelle. */
|
|
53
53
|
export declare const apparenceDeLIconeDeCroix: (styles: Styles, size: TailleDEtiquette, fonce: boolean) => {
|
|
54
54
|
size: "sm" | "xs";
|
|
55
|
-
color:
|
|
55
|
+
color: import("@alveole/theme").ThemeColor;
|
|
56
56
|
};
|
|
57
57
|
export {};
|
|
58
58
|
//# sourceMappingURL=tagStyling.d.ts.map
|
|
@@ -13,5 +13,5 @@ export const TextInputArray = (props) => {
|
|
|
13
13
|
removeEmpty,
|
|
14
14
|
dedupe,
|
|
15
15
|
});
|
|
16
|
-
return (_jsxs(Box, { tag: "text-input-array", gap: "1V", children: [items.map((item, index) => (_jsx(TextInput, { placeholder: placeholder, autoCapitalize: "words", value: item.value, onChangeText: (txt) => updateItem(item.id, txt), endAdornment: item._original != null && disabledDeleteForOriginals.includes(item._original) ? undefined : (_jsx(InputButtonAdornment, { icon: "X", position: "end", accessibilityLabel: `Retirer la ligne ${index + 1}`, onPress: () => removeItem(item.id) })), onBlur: notifier }, item.id))), _jsx(Box, { display: "flex", flexDirection: "row", pt:
|
|
16
|
+
return (_jsxs(Box, { tag: "text-input-array", gap: "1V", children: [items.map((item, index) => (_jsx(TextInput, { placeholder: placeholder, autoCapitalize: "words", value: item.value, onChangeText: (txt) => updateItem(item.id, txt), endAdornment: item._original != null && disabledDeleteForOriginals.includes(item._original) ? undefined : (_jsx(InputButtonAdornment, { icon: "X", position: "end", accessibilityLabel: `Retirer la ligne ${index + 1}`, onPress: () => removeItem(item.id) })), onBlur: notifier }, item.id))), _jsx(Box, { display: "flex", flexDirection: "row", pt: "2W", justify: 'flex-start', children: _jsx(Button, { variant: "tertiary", leading: "Plus", title: addTitle, onPress: () => addItem() }) })] }));
|
|
17
17
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import { TextInputProps } from '../FormControl';
|
|
2
|
+
import { TextInputElement, TextInputProps } from '../FormControl';
|
|
3
3
|
export type TextareaInputProps = TextInputProps & {
|
|
4
4
|
numberOfLines?: number;
|
|
5
5
|
onModalSubmit?: () => void;
|
|
@@ -17,5 +17,5 @@ export declare const TextareaInput: React.ForwardRefExoticComponent<Omit<import(
|
|
|
17
17
|
} & {
|
|
18
18
|
numberOfLines?: number;
|
|
19
19
|
onModalSubmit?: () => void;
|
|
20
|
-
} & React.RefAttributes<
|
|
20
|
+
} & React.RefAttributes<TextInputElement>>;
|
|
21
21
|
//# sourceMappingURL=TextareaInput.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TextareaInput.d.ts","sourceRoot":"","sources":["../../../src/ui/TextareaInput/TextareaInput.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,
|
|
1
|
+
{"version":3,"file":"TextareaInput.d.ts","sourceRoot":"","sources":["../../../src/ui/TextareaInput/TextareaInput.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAa,gBAAgB,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAC;AAK7E,MAAM,MAAM,kBAAkB,GAAG,cAAc,GAAG;IAChD,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,aAAa,CAAC,EAAE,MAAM,IAAI,CAAC;CAC5B,CAAC;AAEF,eAAO,MAAM,aAAa;;;;;;;;;;;oBAJR,MAAM;oBACN,MAAM,IAAI;0CAkB1B,CAAC"}
|
|
@@ -16,7 +16,7 @@ declare const _default: {
|
|
|
16
16
|
} & {
|
|
17
17
|
numberOfLines?: number;
|
|
18
18
|
onModalSubmit?: () => void;
|
|
19
|
-
} & import("react").RefAttributes<import("
|
|
19
|
+
} & import("react").RefAttributes<import("..").TextInputElement>>;
|
|
20
20
|
styleFn: () => {};
|
|
21
21
|
};
|
|
22
22
|
export default _default;
|
|
@@ -13,5 +13,5 @@ export default {
|
|
|
13
13
|
};
|
|
14
14
|
// TextareaInput est le champ nu : c'est FormControl qui porte le libellé et le relie au champ.
|
|
15
15
|
const Champ = ({ label, children }) => (_jsxs(FormControl, { children: [_jsx(InputHeading, { children: _jsx(FormControlLabel, { label: label }) }), children] }));
|
|
16
|
-
export const Default = () => (_jsxs(Box, { display: "flex", flexDirection: "column", gap:
|
|
16
|
+
export const Default = () => (_jsxs(Box, { display: "flex", flexDirection: "column", gap: "3W", children: [_jsx(Champ, { label: "Message", children: _jsx(TextareaInput, { placeholder: "Votre message...", numberOfLines: 4 }) }), _jsx(Champ, { label: "Avec valeur", children: _jsx(TextareaInput, { value: "Contenu du message", numberOfLines: 4 }) }), _jsx(Champ, { label: "D\u00E9sactiv\u00E9", children: _jsx(TextareaInput, { placeholder: "D\u00E9sactiv\u00E9", disabled: true, numberOfLines: 4 }) })] }));
|
|
17
17
|
export * as Sources from './TextareaInput.stories.sources';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TextareaInput.stories.sources.d.ts","sourceRoot":"","sources":["../../../src/ui/TextareaInput/TextareaInput.stories.sources.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,OAAO,
|
|
1
|
+
{"version":3,"file":"TextareaInput.stories.sources.d.ts","sourceRoot":"","sources":["../../../src/ui/TextareaInput/TextareaInput.stories.sources.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,OAAO,cAAoe,CAAC;AAEzf,eAAO,MAAM,YAAY;;CAEf,CAAC;AAEX,MAAM,MAAM,eAAe,GAAG,MAAM,OAAO,YAAY,CAAC"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
// This file is generated. Do not edit manually.
|
|
2
2
|
// Source: src/ui/TextareaInput/TextareaInput.stories.tsx
|
|
3
|
-
export const Default = () => "export const Default = () => (\n <Box display=\"flex\" flexDirection=\"column\" gap
|
|
3
|
+
export const Default = () => "export const Default = () => (\n <Box display=\"flex\" flexDirection=\"column\" gap=\"3W\">\n <Champ label=\"Message\">\n <TextareaInput placeholder=\"Votre message...\" numberOfLines={4} />\n </Champ>\n <Champ label=\"Avec valeur\">\n <TextareaInput value=\"Contenu du message\" numberOfLines={4} />\n </Champ>\n <Champ label=\"Désactivé\">\n <TextareaInput placeholder=\"Désactivé\" disabled numberOfLines={4} />\n </Champ>\n </Box>\n);";
|
|
4
4
|
export const storySources = {
|
|
5
5
|
Default,
|
|
6
6
|
};
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
+
import { TextInputElement } from '../FormControl';
|
|
2
3
|
import { ChampHHMMProps } from '../FormControl/ChampHHMM';
|
|
3
4
|
export type TimeInputProps = ChampHHMMProps;
|
|
4
5
|
export declare const TimeInput: React.ForwardRefExoticComponent<import("..").FormControlCaptionProps & {
|
|
@@ -6,5 +7,5 @@ export declare const TimeInput: React.ForwardRefExoticComponent<import("..").For
|
|
|
6
7
|
onChange?: (value: string) => void;
|
|
7
8
|
onBlur?: () => void;
|
|
8
9
|
disabled?: boolean;
|
|
9
|
-
} & React.RefAttributes<
|
|
10
|
+
} & React.RefAttributes<TextInputElement>>;
|
|
10
11
|
//# sourceMappingURL=TimeInput.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TimeInput.d.ts","sourceRoot":"","sources":["../../../src/ui/TimeInput/TimeInput.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"TimeInput.d.ts","sourceRoot":"","sources":["../../../src/ui/TimeInput/TimeInput.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAgB,gBAAgB,EAAE,MAAM,gBAAgB,CAAC;AAChE,OAAO,EAAa,cAAc,EAAE,MAAM,0BAA0B,CAAC;AAErE,MAAM,MAAM,cAAc,GAAG,cAAc,CAAC;AAQ5C,eAAO,MAAM,SAAS;;;;;0CAEpB,CAAC"}
|
|
@@ -9,7 +9,7 @@ declare const _default: {
|
|
|
9
9
|
onChange?: (value: string) => void;
|
|
10
10
|
onBlur?: () => void;
|
|
11
11
|
disabled?: boolean;
|
|
12
|
-
} & import("react").RefAttributes<import("
|
|
12
|
+
} & import("react").RefAttributes<import("..").TextInputElement>>;
|
|
13
13
|
styleFn: () => string;
|
|
14
14
|
};
|
|
15
15
|
export default _default;
|
|
@@ -23,6 +23,6 @@ Le champ est nu : on le place dans un FormControl pour son libellé, son aide et
|
|
|
23
23
|
component: TimeInput,
|
|
24
24
|
styleFn: () => 'Aucun style appliqué',
|
|
25
25
|
};
|
|
26
|
-
export const Default = () => (_jsx(Box, { width: "100%", p:
|
|
27
|
-
export const States = () => (_jsx(Box, { width: "100%", p:
|
|
26
|
+
export const Default = () => (_jsx(Box, { width: "100%", p: "1W", children: _jsxs(Grid, { gap: "1W", children: [_jsx(Grid.Column, { size: { mobile: 12, desktop: 4 }, children: _jsx(FormControl, { label: "Heure", children: _jsx(TimeInput, {}) }) }), _jsx(Grid.Column, { size: { mobile: 12, desktop: 4 }, children: _jsx(FormControl, { label: "Heure", children: _jsx(TimeInput, { value: "09:30" }) }) }), _jsx(Grid.Column, { size: { mobile: 12, desktop: 4 }, children: _jsx(FormControl, { label: "Heure", hint: "Heure de d\u00E9but de mission", children: _jsx(TimeInput, { value: "14:00" }) }) })] }) }));
|
|
27
|
+
export const States = () => (_jsx(Box, { width: "100%", p: "1W", children: _jsxs(Grid, { gap: "1W", children: [_jsx(Grid.Column, { size: { mobile: 12, desktop: 4 }, children: _jsx(FormControl, { label: "Erreur", error: "Heure invalide (00:00\u201323:59)", children: _jsx(TimeInput, { value: "25:70", error: "Heure invalide (00:00\u201323:59)" }) }) }), _jsx(Grid.Column, { size: { mobile: 12, desktop: 4 }, children: _jsx(FormControl, { label: "Succ\u00E8s", success: "Enregistr\u00E9", children: _jsx(TimeInput, { value: "09:30", success: "Enregistr\u00E9" }) }) }), _jsx(Grid.Column, { size: { mobile: 12, desktop: 4 }, children: _jsx(FormControl, { label: "D\u00E9sactiv\u00E9", disabled: true, children: _jsx(TimeInput, { value: "09:30", disabled: true }) }) })] }) }));
|
|
28
28
|
export * as Sources from './TimeInput.stories.sources';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TimeInput.stories.sources.d.ts","sourceRoot":"","sources":["../../../src/ui/TimeInput/TimeInput.stories.sources.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,OAAO,
|
|
1
|
+
{"version":3,"file":"TimeInput.stories.sources.d.ts","sourceRoot":"","sources":["../../../src/ui/TimeInput/TimeInput.stories.sources.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,OAAO,cAA8qB,CAAC;AAEnsB,eAAO,MAAM,MAAM,cAA8yB,CAAC;AAEl0B,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/TimeInput/TimeInput.stories.tsx
|
|
3
|
-
export const Default = () => "export const Default = () => (\n <Box width=\"100%\" p
|
|
4
|
-
export const States = () => "export const States = () => (\n <Box width=\"100%\" p
|
|
3
|
+
export const Default = () => "export const Default = () => (\n <Box width=\"100%\" p=\"1W\">\n <Grid gap=\"1W\">\n <Grid.Column size={{ mobile: 12, desktop: 4 }}>\n <FormControl label=\"Heure\">\n <TimeInput />\n </FormControl>\n </Grid.Column>\n <Grid.Column size={{ mobile: 12, desktop: 4 }}>\n <FormControl label=\"Heure\">\n <TimeInput value=\"09:30\" />\n </FormControl>\n </Grid.Column>\n <Grid.Column size={{ mobile: 12, desktop: 4 }}>\n <FormControl label=\"Heure\" hint=\"Heure de début de mission\">\n <TimeInput value=\"14:00\" />\n </FormControl>\n </Grid.Column>\n </Grid>\n </Box>\n);";
|
|
4
|
+
export const States = () => "export const States = () => (\n <Box width=\"100%\" p=\"1W\">\n <Grid gap=\"1W\">\n <Grid.Column size={{ mobile: 12, desktop: 4 }}>\n <FormControl label=\"Erreur\" error=\"Heure invalide (00:00–23:59)\">\n <TimeInput value=\"25:70\" error=\"Heure invalide (00:00–23:59)\" />\n </FormControl>\n </Grid.Column>\n <Grid.Column size={{ mobile: 12, desktop: 4 }}>\n <FormControl label=\"Succès\" success=\"Enregistré\">\n <TimeInput value=\"09:30\" success=\"Enregistré\" />\n </FormControl>\n </Grid.Column>\n <Grid.Column size={{ mobile: 12, desktop: 4 }}>\n <FormControl label=\"Désactivé\" disabled>\n <TimeInput value=\"09:30\" disabled />\n </FormControl>\n </Grid.Column>\n </Grid>\n </Box>\n);";
|
|
5
5
|
export const storySources = {
|
|
6
6
|
Default,
|
|
7
7
|
States,
|
|
@@ -19,19 +19,19 @@ declare const _default: {
|
|
|
19
19
|
paddingBottom: string | number;
|
|
20
20
|
};
|
|
21
21
|
iconBlockDefault: {
|
|
22
|
-
backgroundColor:
|
|
22
|
+
backgroundColor: import("@alveole/theme").ThemeColor;
|
|
23
23
|
};
|
|
24
24
|
iconBlockInfo: {
|
|
25
|
-
backgroundColor:
|
|
25
|
+
backgroundColor: import("@alveole/theme").ThemeColor;
|
|
26
26
|
};
|
|
27
27
|
iconBlockSuccess: {
|
|
28
|
-
backgroundColor:
|
|
28
|
+
backgroundColor: import("@alveole/theme").ThemeColor;
|
|
29
29
|
};
|
|
30
30
|
iconBlockError: {
|
|
31
|
-
backgroundColor:
|
|
31
|
+
backgroundColor: import("@alveole/theme").ThemeColor;
|
|
32
32
|
};
|
|
33
33
|
iconBlockWarning: {
|
|
34
|
-
backgroundColor:
|
|
34
|
+
backgroundColor: import("@alveole/theme").ThemeColor;
|
|
35
35
|
};
|
|
36
36
|
titleContainer: {
|
|
37
37
|
display: "flex";
|
|
@@ -40,7 +40,7 @@ declare const _default: {
|
|
|
40
40
|
justifyContent: "space-between";
|
|
41
41
|
};
|
|
42
42
|
title: {
|
|
43
|
-
color:
|
|
43
|
+
color: import("@alveole/theme").ThemeColor;
|
|
44
44
|
fontSize: 14;
|
|
45
45
|
lineHeight: 20;
|
|
46
46
|
letterSpacing: 0;
|
|
@@ -49,7 +49,7 @@ declare const _default: {
|
|
|
49
49
|
flexShrink: number;
|
|
50
50
|
};
|
|
51
51
|
message: {
|
|
52
|
-
color:
|
|
52
|
+
color: import("@alveole/theme").ThemeColor;
|
|
53
53
|
fontSize: 14;
|
|
54
54
|
lineHeight: 20;
|
|
55
55
|
letterSpacing: 0;
|
|
@@ -93,7 +93,7 @@ declare const _default: {
|
|
|
93
93
|
borderRadius: number;
|
|
94
94
|
};
|
|
95
95
|
container: {
|
|
96
|
-
backgroundColor:
|
|
96
|
+
backgroundColor: import("@alveole/theme").ThemeColor;
|
|
97
97
|
borderRadius: import("@alveole/theme").Radius;
|
|
98
98
|
display: "flex";
|
|
99
99
|
flexDirection: "row";
|
|
@@ -111,7 +111,7 @@ declare const _default: {
|
|
|
111
111
|
shadowOpacity: number;
|
|
112
112
|
shadowRadius: number;
|
|
113
113
|
elevation: number;
|
|
114
|
-
backgroundColor:
|
|
114
|
+
backgroundColor: import("@alveole/theme").ThemeColor;
|
|
115
115
|
borderRadius: import("@alveole/theme").Radius;
|
|
116
116
|
display: "flex";
|
|
117
117
|
flexDirection: "row";
|
|
@@ -122,7 +122,7 @@ declare const _default: {
|
|
|
122
122
|
padding: number;
|
|
123
123
|
} | {
|
|
124
124
|
boxShadow: string;
|
|
125
|
-
backgroundColor:
|
|
125
|
+
backgroundColor: import("@alveole/theme").ThemeColor;
|
|
126
126
|
borderRadius: import("@alveole/theme").Radius;
|
|
127
127
|
display: "flex";
|
|
128
128
|
flexDirection: "row";
|
|
@@ -132,7 +132,7 @@ declare const _default: {
|
|
|
132
132
|
maxWidth: number;
|
|
133
133
|
padding: number;
|
|
134
134
|
} | {
|
|
135
|
-
backgroundColor:
|
|
135
|
+
backgroundColor: import("@alveole/theme").ThemeColor;
|
|
136
136
|
borderRadius: import("@alveole/theme").Radius;
|
|
137
137
|
display: "flex";
|
|
138
138
|
flexDirection: "row";
|
|
@@ -55,7 +55,7 @@ export const All = () => {
|
|
|
55
55
|
const withoutMessageToast = () => toast.present('Sans message');
|
|
56
56
|
const withoutMessageToastError = () => toast.present('Sans message', undefined, { variant: 'error' });
|
|
57
57
|
const withCustomIcon = () => toast.present('Avec icon custom', undefined, { leading: 'Worm' });
|
|
58
|
-
return (_jsx(Box, { display: "flex", flexDirection: "column", gap:
|
|
58
|
+
return (_jsx(Box, { display: "flex", flexDirection: "column", gap: "1W", children: _jsxs(Box, { display: "flex", flexDirection: "row", gap: "3W", flexWrap: "wrap", children: [_jsx(Button, { title: "Default toast", variant: "secondary", onPress: defaultToast }), _jsx(Button, { title: "Success toast", variant: "secondary", onPress: successToast }), _jsx(Button, { title: "Error toast", variant: "secondary", onPress: errorToast }), _jsx(Button, { title: "Info toast", variant: "secondary", onPress: infoToast }), _jsx(Button, { title: "Warning toast", variant: "secondary", onPress: warningToast }), _jsx(Button, { title: "Message long", variant: "secondary", onPress: infoToastMultiLine }), _jsx(Button, { title: "Without message toast", variant: "secondary", onPress: withoutMessageToast }), _jsx(Button, { title: "Without message toast error", variant: "secondary", onPress: withoutMessageToastError }), _jsx(Button, { title: "WithCustomIcon", variant: "secondary", onPress: withCustomIcon })] }) }));
|
|
59
59
|
};
|
|
60
60
|
export const PreviewInfo = () => (_jsx(ToastView, { variant: "info", title: "Information", message: "Description additionnelle du toast." }));
|
|
61
61
|
export const PreviewSuccess = () => (_jsx(ToastView, { variant: "success", title: "Succ\u00E8s", message: "Description additionnelle du toast." }));
|
|
@@ -64,5 +64,5 @@ export const PreviewDefault = () => (_jsx(ToastView, { variant: "default", title
|
|
|
64
64
|
export const PreviewWarning = () => (_jsx(ToastView, { variant: "warning", title: "Attention", message: "Description additionnelle du toast." }));
|
|
65
65
|
export const PreviewInfoSansDescription = () => _jsx(ToastView, { variant: "info", title: "Message seul sans description" });
|
|
66
66
|
export const PreviewSuccessSansDescription = () => (_jsx(ToastView, { variant: "success", title: "Message seul sans description" }));
|
|
67
|
-
export const ToastsTypes = () => (_jsxs(Box, { display: "flex", flexDirection: "row", gap:
|
|
67
|
+
export const ToastsTypes = () => (_jsxs(Box, { display: "flex", flexDirection: "row", gap: "1W", children: [_jsx(ToastType, { variant: "info" }), _jsx(ToastType, { variant: "success" }), _jsx(ToastType, { variant: "error" }), _jsx(ToastType, { variant: "warning" })] }));
|
|
68
68
|
export * as Sources from './Toast.stories.sources';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Toast.stories.sources.d.ts","sourceRoot":"","sources":["../../../src/ui/Toast/Toast.stories.sources.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,GAAG,
|
|
1
|
+
{"version":3,"file":"Toast.stories.sources.d.ts","sourceRoot":"","sources":["../../../src/ui/Toast/Toast.stories.sources.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,GAAG,cAA48D,CAAC;AAE79D,eAAO,MAAM,WAAW,cAAyJ,CAAC;AAElL,eAAO,MAAM,cAAc,cAA0J,CAAC;AAEtL,eAAO,MAAM,YAAY,cAAsJ,CAAC;AAEhL,eAAO,MAAM,cAAc,cAA2J,CAAC;AAEvL,eAAO,MAAM,cAAc,cAA6J,CAAC;AAEzL,eAAO,MAAM,0BAA0B,cAAkI,CAAC;AAE1K,eAAO,MAAM,6BAA6B,cAAgJ,CAAC;AAE3L,eAAO,MAAM,WAAW,cAA6Q,CAAC;AAEtS,eAAO,MAAM,YAAY;;;;;;;;;;CAUf,CAAC;AAEX,MAAM,MAAM,eAAe,GAAG,MAAM,OAAO,YAAY,CAAC;AAExD,eAAO,MAAM,iBAAiB,EAAE,OAAO,CAAC,MAAM,CAAC,eAAe,EAAE,MAAM,CAAC,CAEtE,CAAC"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
// This file is generated. Do not edit manually.
|
|
2
2
|
// Source: src/ui/Toast/Toast.stories.tsx
|
|
3
|
-
export const All = () => "export const All = () => {\n const toast = useToast();\n\n const defaultToast = () => toast.present('Default', 'Message');\n const successToast = () => toast.present('Success', 'Message', { variant: 'success' });\n const errorToast = () => toast.present('Error', 'Message beaucoup plus long', { variant: 'error' });\n const infoToast = () => toast.present('Information', 'Message', { variant: 'info' });\n const infoToastMultiLine = () =>\n toast.present('Information', 'Message beaucoup plus long avec retour à la ligne.\\nDeuxième ligne', {\n variant: 'info',\n });\n const warningToast = () => toast.present('Attention', 'Message', { variant: 'warning' });\n const withoutMessageToast = () => toast.present('Sans message');\n const withoutMessageToastError = () => toast.present('Sans message', undefined, { variant: 'error' });\n const withCustomIcon = () => toast.present('Avec icon custom', undefined, { leading: 'Worm' });\n\n return (\n <Box display=\"flex\" flexDirection=\"column\" gap
|
|
3
|
+
export const All = () => "export const All = () => {\n const toast = useToast();\n\n const defaultToast = () => toast.present('Default', 'Message');\n const successToast = () => toast.present('Success', 'Message', { variant: 'success' });\n const errorToast = () => toast.present('Error', 'Message beaucoup plus long', { variant: 'error' });\n const infoToast = () => toast.present('Information', 'Message', { variant: 'info' });\n const infoToastMultiLine = () =>\n toast.present('Information', 'Message beaucoup plus long avec retour à la ligne.\\nDeuxième ligne', {\n variant: 'info',\n });\n const warningToast = () => toast.present('Attention', 'Message', { variant: 'warning' });\n const withoutMessageToast = () => toast.present('Sans message');\n const withoutMessageToastError = () => toast.present('Sans message', undefined, { variant: 'error' });\n const withCustomIcon = () => toast.present('Avec icon custom', undefined, { leading: 'Worm' });\n\n return (\n <Box display=\"flex\" flexDirection=\"column\" gap=\"1W\">\n <Box display=\"flex\" flexDirection=\"row\" gap=\"3W\" flexWrap=\"wrap\">\n <Button title=\"Default toast\" variant=\"secondary\" onPress={defaultToast} />\n <Button title=\"Success toast\" variant=\"secondary\" onPress={successToast} />\n <Button title=\"Error toast\" variant=\"secondary\" onPress={errorToast} />\n <Button title=\"Info toast\" variant=\"secondary\" onPress={infoToast} />\n <Button title=\"Warning toast\" variant=\"secondary\" onPress={warningToast} />\n <Button title=\"Message long\" variant=\"secondary\" onPress={infoToastMultiLine} />\n <Button title=\"Without message toast\" variant=\"secondary\" onPress={withoutMessageToast} />\n <Button title=\"Without message toast error\" variant=\"secondary\" onPress={withoutMessageToastError} />\n <Button title=\"WithCustomIcon\" variant=\"secondary\" onPress={withCustomIcon} />\n </Box>\n </Box>\n );\n};";
|
|
4
4
|
export const PreviewInfo = () => "export const PreviewInfo = () => (\n <ToastView variant=\"info\" title=\"Information\" message=\"Description additionnelle du toast.\" />\n);";
|
|
5
5
|
export const PreviewSuccess = () => "export const PreviewSuccess = () => (\n <ToastView variant=\"success\" title=\"Succès\" message=\"Description additionnelle du toast.\" />\n);";
|
|
6
6
|
export const PreviewError = () => "export const PreviewError = () => (\n <ToastView variant=\"error\" title=\"Erreur\" message=\"Description additionnelle du toast.\" />\n);";
|
|
@@ -8,7 +8,7 @@ export const PreviewDefault = () => "export const PreviewDefault = () => (\n <T
|
|
|
8
8
|
export const PreviewWarning = () => "export const PreviewWarning = () => (\n <ToastView variant=\"warning\" title=\"Attention\" message=\"Description additionnelle du toast.\" />\n);";
|
|
9
9
|
export const PreviewInfoSansDescription = () => "export const PreviewInfoSansDescription = () => <ToastView variant=\"info\" title=\"Message seul sans description\" />;";
|
|
10
10
|
export const PreviewSuccessSansDescription = () => "export const PreviewSuccessSansDescription = () => (\n <ToastView variant=\"success\" title=\"Message seul sans description\" />\n);";
|
|
11
|
-
export const ToastsTypes = () => "export const ToastsTypes = () => (\n <Box display=\"flex\" flexDirection=\"row\" gap
|
|
11
|
+
export const ToastsTypes = () => "export const ToastsTypes = () => (\n <Box display=\"flex\" flexDirection=\"row\" gap=\"1W\">\n <ToastType variant=\"info\" />\n <ToastType variant=\"success\" />\n <ToastType variant=\"error\" />\n <ToastType variant=\"warning\" />\n </Box>\n);";
|
|
12
12
|
export const storySources = {
|
|
13
13
|
All,
|
|
14
14
|
PreviewInfo,
|
|
@@ -10,19 +10,19 @@ export declare const useStyles: () => {
|
|
|
10
10
|
paddingBottom: string | number;
|
|
11
11
|
};
|
|
12
12
|
iconBlockDefault: {
|
|
13
|
-
backgroundColor:
|
|
13
|
+
backgroundColor: import("@alveole/theme").ThemeColor;
|
|
14
14
|
};
|
|
15
15
|
iconBlockInfo: {
|
|
16
|
-
backgroundColor:
|
|
16
|
+
backgroundColor: import("@alveole/theme").ThemeColor;
|
|
17
17
|
};
|
|
18
18
|
iconBlockSuccess: {
|
|
19
|
-
backgroundColor:
|
|
19
|
+
backgroundColor: import("@alveole/theme").ThemeColor;
|
|
20
20
|
};
|
|
21
21
|
iconBlockError: {
|
|
22
|
-
backgroundColor:
|
|
22
|
+
backgroundColor: import("@alveole/theme").ThemeColor;
|
|
23
23
|
};
|
|
24
24
|
iconBlockWarning: {
|
|
25
|
-
backgroundColor:
|
|
25
|
+
backgroundColor: import("@alveole/theme").ThemeColor;
|
|
26
26
|
};
|
|
27
27
|
titleContainer: {
|
|
28
28
|
display: "flex";
|
|
@@ -31,7 +31,7 @@ export declare const useStyles: () => {
|
|
|
31
31
|
justifyContent: "space-between";
|
|
32
32
|
};
|
|
33
33
|
title: {
|
|
34
|
-
color:
|
|
34
|
+
color: import("@alveole/theme").ThemeColor;
|
|
35
35
|
fontSize: 14;
|
|
36
36
|
lineHeight: 20;
|
|
37
37
|
letterSpacing: 0;
|
|
@@ -40,7 +40,7 @@ export declare const useStyles: () => {
|
|
|
40
40
|
flexShrink: number;
|
|
41
41
|
};
|
|
42
42
|
message: {
|
|
43
|
-
color:
|
|
43
|
+
color: import("@alveole/theme").ThemeColor;
|
|
44
44
|
fontSize: 14;
|
|
45
45
|
lineHeight: 20;
|
|
46
46
|
letterSpacing: 0;
|
|
@@ -84,7 +84,7 @@ export declare const useStyles: () => {
|
|
|
84
84
|
borderRadius: number;
|
|
85
85
|
};
|
|
86
86
|
container: {
|
|
87
|
-
backgroundColor:
|
|
87
|
+
backgroundColor: import("@alveole/theme").ThemeColor;
|
|
88
88
|
borderRadius: import("@alveole/theme").Radius;
|
|
89
89
|
display: "flex";
|
|
90
90
|
flexDirection: "row";
|
|
@@ -102,7 +102,7 @@ export declare const useStyles: () => {
|
|
|
102
102
|
shadowOpacity: number;
|
|
103
103
|
shadowRadius: number;
|
|
104
104
|
elevation: number;
|
|
105
|
-
backgroundColor:
|
|
105
|
+
backgroundColor: import("@alveole/theme").ThemeColor;
|
|
106
106
|
borderRadius: import("@alveole/theme").Radius;
|
|
107
107
|
display: "flex";
|
|
108
108
|
flexDirection: "row";
|
|
@@ -113,7 +113,7 @@ export declare const useStyles: () => {
|
|
|
113
113
|
padding: number;
|
|
114
114
|
} | {
|
|
115
115
|
boxShadow: string;
|
|
116
|
-
backgroundColor:
|
|
116
|
+
backgroundColor: import("@alveole/theme").ThemeColor;
|
|
117
117
|
borderRadius: import("@alveole/theme").Radius;
|
|
118
118
|
display: "flex";
|
|
119
119
|
flexDirection: "row";
|
|
@@ -123,7 +123,7 @@ export declare const useStyles: () => {
|
|
|
123
123
|
maxWidth: number;
|
|
124
124
|
padding: number;
|
|
125
125
|
} | {
|
|
126
|
-
backgroundColor:
|
|
126
|
+
backgroundColor: import("@alveole/theme").ThemeColor;
|
|
127
127
|
borderRadius: import("@alveole/theme").Radius;
|
|
128
128
|
display: "flex";
|
|
129
129
|
flexDirection: "row";
|
|
@@ -6,61 +6,13 @@ declare const _default: {
|
|
|
6
6
|
shortDescription: string;
|
|
7
7
|
figmaURL: string;
|
|
8
8
|
component: ((props: import("./ToolbarBottomNav").ToolbarBottomNavProps) => import("react").JSX.Element) & {
|
|
9
|
-
Screen: (props: import("expo-router").ScreenProps<import("expo-router/build/react-navigation").
|
|
10
|
-
title?: string;
|
|
11
|
-
tabBarLabel?: string | ((props: {
|
|
12
|
-
focused: boolean;
|
|
13
|
-
color: import("react-native").ColorValue;
|
|
14
|
-
position: import("expo-router/build/react-navigation/bottom-tabs/types").LabelPosition;
|
|
15
|
-
children: string;
|
|
16
|
-
}) => React.ReactNode);
|
|
17
|
-
tabBarShowLabel?: boolean;
|
|
18
|
-
tabBarLabelPosition?: import("expo-router/build/react-navigation/bottom-tabs/types").LabelPosition;
|
|
19
|
-
tabBarLabelStyle?: import("react-native").StyleProp<import("react-native").TextStyle>;
|
|
20
|
-
tabBarAllowFontScaling?: boolean;
|
|
21
|
-
tabBarIcon?: (props: {
|
|
22
|
-
focused: boolean;
|
|
23
|
-
color: import("react-native").ColorValue;
|
|
24
|
-
size: number;
|
|
25
|
-
}) => React.ReactNode;
|
|
26
|
-
tabBarIconStyle?: import("react-native").StyleProp<import("react-native").ViewStyle>;
|
|
27
|
-
tabBarBadge?: number | string;
|
|
28
|
-
tabBarBadgeStyle?: import("react-native").StyleProp<import("react-native").TextStyle>;
|
|
29
|
-
tabBarAccessibilityLabel?: string;
|
|
30
|
-
tabBarButtonTestID?: string;
|
|
31
|
-
tabBarButton?: (props: import("expo-router/build/react-navigation/bottom-tabs").BottomTabBarButtonProps) => React.ReactNode;
|
|
32
|
-
tabBarActiveTintColor?: import("react-native").ColorValue;
|
|
33
|
-
tabBarInactiveTintColor?: import("react-native").ColorValue;
|
|
34
|
-
tabBarActiveBackgroundColor?: import("react-native").ColorValue;
|
|
35
|
-
tabBarInactiveBackgroundColor?: import("react-native").ColorValue;
|
|
36
|
-
tabBarItemStyle?: import("react-native").StyleProp<import("react-native").ViewStyle>;
|
|
37
|
-
tabBarHideOnKeyboard?: boolean;
|
|
38
|
-
tabBarVisibilityAnimationConfig?: {
|
|
39
|
-
show?: import("expo-router/build/react-navigation/bottom-tabs/types").TabBarVisibilityAnimationConfig;
|
|
40
|
-
hide?: import("expo-router/build/react-navigation/bottom-tabs/types").TabBarVisibilityAnimationConfig;
|
|
41
|
-
};
|
|
42
|
-
tabBarVariant?: import("expo-router/build/react-navigation/bottom-tabs/types").Variant;
|
|
43
|
-
tabBarStyle?: import("react-native").Animated.WithAnimatedValue<import("react-native").StyleProp<import("react-native").ViewStyle>>;
|
|
44
|
-
tabBarBackground?: () => React.ReactNode;
|
|
45
|
-
tabBarPosition?: "bottom" | "left" | "right" | "top";
|
|
46
|
-
lazy?: boolean;
|
|
47
|
-
header?: (props: import("expo-router/build/react-navigation/bottom-tabs").BottomTabHeaderProps) => React.ReactNode;
|
|
48
|
-
headerShown?: boolean;
|
|
49
|
-
popToTopOnBlur?: boolean;
|
|
50
|
-
freezeOnBlur?: boolean;
|
|
51
|
-
sceneStyle?: import("react-native").StyleProp<import("react-native").ViewStyle>;
|
|
52
|
-
animation?: import("expo-router/build/react-navigation/bottom-tabs/types").TabAnimationName;
|
|
53
|
-
sceneStyleInterpolator?: import("expo-router/build/react-navigation/bottom-tabs/types").BottomTabSceneStyleInterpolator;
|
|
54
|
-
transitionSpec?: import("expo-router/build/react-navigation/bottom-tabs/types").TransitionSpec;
|
|
55
|
-
} & {
|
|
56
|
-
href?: import("expo-router").Href | null;
|
|
57
|
-
}, import("expo-router").TabNavigationState<import("expo-router/build/react-navigation").ParamListBase>, import("expo-router/build/react-navigation/bottom-tabs").BottomTabNavigationEventMap>) => null;
|
|
9
|
+
Screen: (props: import("expo-router").ScreenProps<import("expo-router/build/layouts/TabsClient.js").TabsScreenOptions, import("expo-router").TabNavigationState<import("expo-router/build/react-navigation/index.js").ParamListBase>, import("expo-router/build/layouts/TabsClient.js").BottomTabNavigationEventMap>) => null;
|
|
58
10
|
Icon: typeof import("./ToolbarBottomNavIcon").toolbarBottomNavIcon;
|
|
59
11
|
};
|
|
60
12
|
styleFn: () => {
|
|
61
13
|
tabBarStyle: {
|
|
62
|
-
backgroundColor:
|
|
63
|
-
borderColor:
|
|
14
|
+
backgroundColor: import("@alveole/theme").ThemeColor;
|
|
15
|
+
borderColor: import("@alveole/theme").ThemeColor;
|
|
64
16
|
};
|
|
65
17
|
tabBarLabelStyle: {
|
|
66
18
|
readonly fontSize: 12;
|
|
@@ -70,10 +22,10 @@ declare const _default: {
|
|
|
70
22
|
readonly fontWeight?: import("react-native").TextStyle["fontWeight"];
|
|
71
23
|
};
|
|
72
24
|
tabBarActiveTintColor: {
|
|
73
|
-
color:
|
|
25
|
+
color: import("@alveole/theme").ThemeColor;
|
|
74
26
|
};
|
|
75
27
|
tabBarInactiveTintColor: {
|
|
76
|
-
color:
|
|
28
|
+
color: import("@alveole/theme").ThemeColor;
|
|
77
29
|
};
|
|
78
30
|
};
|
|
79
31
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ToolbarBottomNav.stories.d.ts","sourceRoot":"","sources":["../../../src/ui/ToolbarBottomNav/ToolbarBottomNav.stories.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"ToolbarBottomNav.stories.d.ts","sourceRoot":"","sources":["../../../src/ui/ToolbarBottomNav/ToolbarBottomNav.stories.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAIA,wBAUkB;AAElB;;;;;;;;;;;;;;;GAeG;AACH,eAAO,MAAM,YAAY,YAAa,CAAC;AAEvC,OAAO,KAAK,OAAO,MAAM,oCAAoC,CAAC"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
export declare const useStyles: () => {
|
|
2
2
|
tabBarStyle: {
|
|
3
|
-
backgroundColor:
|
|
4
|
-
borderColor:
|
|
3
|
+
backgroundColor: import("@alveole/theme").ThemeColor;
|
|
4
|
+
borderColor: import("@alveole/theme").ThemeColor;
|
|
5
5
|
};
|
|
6
6
|
tabBarLabelStyle: {
|
|
7
7
|
readonly fontSize: 12;
|
|
@@ -11,10 +11,10 @@ export declare const useStyles: () => {
|
|
|
11
11
|
readonly fontWeight?: import("react-native").TextStyle["fontWeight"];
|
|
12
12
|
};
|
|
13
13
|
tabBarActiveTintColor: {
|
|
14
|
-
color:
|
|
14
|
+
color: import("@alveole/theme").ThemeColor;
|
|
15
15
|
};
|
|
16
16
|
tabBarInactiveTintColor: {
|
|
17
|
-
color:
|
|
17
|
+
color: import("@alveole/theme").ThemeColor;
|
|
18
18
|
};
|
|
19
19
|
};
|
|
20
20
|
//# sourceMappingURL=ToolbarBottomNav.styles.d.ts.map
|
|
@@ -32,7 +32,7 @@ declare const _default: {
|
|
|
32
32
|
justifyContent: "center";
|
|
33
33
|
};
|
|
34
34
|
toolbarInformationTitleText: {
|
|
35
|
-
color:
|
|
35
|
+
color: import("@alveole/theme").ThemeColor;
|
|
36
36
|
fontSize: 14;
|
|
37
37
|
lineHeight: 20;
|
|
38
38
|
letterSpacing: 0;
|
|
@@ -47,7 +47,7 @@ declare const _default: {
|
|
|
47
47
|
fontWeight?: import("react-native").TextStyle["fontWeight"];
|
|
48
48
|
};
|
|
49
49
|
toolbarInformationTitleSubText: {
|
|
50
|
-
color:
|
|
50
|
+
color: import("@alveole/theme").ThemeColor;
|
|
51
51
|
fontSize: 12;
|
|
52
52
|
lineHeight: 20;
|
|
53
53
|
letterSpacing: 0;
|
|
@@ -90,7 +90,7 @@ declare const _default: {
|
|
|
90
90
|
borderRightWidth: number;
|
|
91
91
|
borderTopWidth: number;
|
|
92
92
|
borderStyle: "solid";
|
|
93
|
-
borderColor:
|
|
93
|
+
borderColor: import("@alveole/theme").ThemeColor;
|
|
94
94
|
};
|
|
95
95
|
toolbarNavigation: {
|
|
96
96
|
display: "flex";
|
|
@@ -24,7 +24,7 @@ export declare const useStyles: () => {
|
|
|
24
24
|
justifyContent: "center";
|
|
25
25
|
};
|
|
26
26
|
toolbarInformationTitleText: {
|
|
27
|
-
color:
|
|
27
|
+
color: import("@alveole/theme").ThemeColor;
|
|
28
28
|
fontSize: 14;
|
|
29
29
|
lineHeight: 20;
|
|
30
30
|
letterSpacing: 0;
|
|
@@ -39,7 +39,7 @@ export declare const useStyles: () => {
|
|
|
39
39
|
fontWeight?: import("react-native").TextStyle["fontWeight"];
|
|
40
40
|
};
|
|
41
41
|
toolbarInformationTitleSubText: {
|
|
42
|
-
color:
|
|
42
|
+
color: import("@alveole/theme").ThemeColor;
|
|
43
43
|
fontSize: 12;
|
|
44
44
|
lineHeight: 20;
|
|
45
45
|
letterSpacing: 0;
|
|
@@ -82,7 +82,7 @@ export declare const useStyles: () => {
|
|
|
82
82
|
borderRightWidth: number;
|
|
83
83
|
borderTopWidth: number;
|
|
84
84
|
borderStyle: "solid";
|
|
85
|
-
borderColor:
|
|
85
|
+
borderColor: import("@alveole/theme").ThemeColor;
|
|
86
86
|
};
|
|
87
87
|
toolbarNavigation: {
|
|
88
88
|
display: "flex";
|