@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
|
@@ -22,7 +22,7 @@ export const PageContent = (props) => {
|
|
|
22
22
|
setIsScrolled(scrolled);
|
|
23
23
|
onScrollChange?.(scrollY);
|
|
24
24
|
}, [onScrollChange]);
|
|
25
|
-
const renderPageWithSidebar = (children) => (_jsxs(Box, { style: styles.sidebarContainer, overflow: mobileOrTablet && sideBarController?.open ? 'hidden' : undefined, children: [sidebar, _jsxs(Box, { flex: 1, children: [mobileOrTablet && (_jsx(Box, { tag: "mobile-menu", style: statusBar?.backgroundColor ? { backgroundColor: statusBar.backgroundColor } : undefined, children: _jsx(Box, {
|
|
25
|
+
const renderPageWithSidebar = (children) => (_jsxs(Box, { style: styles.sidebarContainer, overflow: mobileOrTablet && sideBarController?.open ? 'hidden' : undefined, children: [sidebar, _jsxs(Box, { flex: 1, children: [mobileOrTablet && (_jsx(Box, { tag: "mobile-menu", style: statusBar?.backgroundColor ? { backgroundColor: statusBar.backgroundColor } : undefined, children: _jsx(Box, { style: { paddingTop: Platform.OS === 'android' ? top : undefined }, children: renderToolbar?.({ isScrolled }) }) })), _jsx(Box, { flex: 1, children: children })] })] }));
|
|
26
26
|
const isScrollable = React.useMemo(() => scrollable === true ||
|
|
27
27
|
(scrollable === 'desktop-only' && isVariant('desktop')) ||
|
|
28
28
|
(scrollable === 'mobile-only' && mobileOrTablet), [isVariant, mobileOrTablet, scrollable]);
|
|
@@ -8,24 +8,24 @@ export type PageContentScrollableProps = PageProps & {
|
|
|
8
8
|
onEndReachedThreshold?: number;
|
|
9
9
|
onScrollChange?: (scrollY: number) => void;
|
|
10
10
|
};
|
|
11
|
-
export declare const PageContentScrollable: React.ForwardRefExoticComponent<Omit<import("tamagui").ViewProps, "flex" | "
|
|
11
|
+
export declare const PageContentScrollable: React.ForwardRefExoticComponent<Omit<import("tamagui").ViewProps, "flex" | "display" | "overflow" | "backgroundColor" | "borderColor" | "borderRadius" | "borderWidth" | "opacity" | "flexDirection" | "flexWrap" | "gap" | "style" | "justify" | keyof import("../..").SizeStyle | "p" | "pl" | "pr" | "pt" | "pb" | "m" | "ml" | "mr" | "mt" | "mb" | "tag"> & Omit<import("@tamagui/core").RNTamaguiViewNonStyleProps, "tag"> & Pick<import("tamagui").ViewProps, "flex" | "display" | "overflow" | "opacity" | "flexDirection" | "flexWrap"> & {
|
|
12
12
|
justify?: import("tamagui").ViewProps["justifyContent"];
|
|
13
13
|
} & import("../..").SizeStyle & {
|
|
14
|
-
p?:
|
|
15
|
-
pl?:
|
|
16
|
-
pr?:
|
|
17
|
-
pt?:
|
|
18
|
-
pb?:
|
|
19
|
-
m?:
|
|
20
|
-
ml?:
|
|
21
|
-
mr?:
|
|
22
|
-
mt?:
|
|
23
|
-
mb?:
|
|
24
|
-
backgroundColor?: import("
|
|
14
|
+
p?: "0V" | "0,5V" | "1V" | "1,5V" | "1W" | "3V" | "2W" | "3W" | "4W" | "5W" | "6W" | "8W" | "12W" | "15W";
|
|
15
|
+
pl?: "0V" | "0,5V" | "1V" | "1,5V" | "1W" | "3V" | "2W" | "3W" | "4W" | "5W" | "6W" | "8W" | "12W" | "15W";
|
|
16
|
+
pr?: "0V" | "0,5V" | "1V" | "1,5V" | "1W" | "3V" | "2W" | "3W" | "4W" | "5W" | "6W" | "8W" | "12W" | "15W";
|
|
17
|
+
pt?: "0V" | "0,5V" | "1V" | "1,5V" | "1W" | "3V" | "2W" | "3W" | "4W" | "5W" | "6W" | "8W" | "12W" | "15W";
|
|
18
|
+
pb?: "0V" | "0,5V" | "1V" | "1,5V" | "1W" | "3V" | "2W" | "3W" | "4W" | "5W" | "6W" | "8W" | "12W" | "15W";
|
|
19
|
+
m?: `${string}%` | ("0V" | "0,5V" | "1V" | "1,5V" | "1W" | "3V" | "2W" | "3W" | "4W" | "5W" | "6W" | "8W" | "12W" | "15W") | "auto";
|
|
20
|
+
ml?: `${string}%` | ("0V" | "0,5V" | "1V" | "1,5V" | "1W" | "3V" | "2W" | "3W" | "4W" | "5W" | "6W" | "8W" | "12W" | "15W") | "auto";
|
|
21
|
+
mr?: `${string}%` | ("0V" | "0,5V" | "1V" | "1,5V" | "1W" | "3V" | "2W" | "3W" | "4W" | "5W" | "6W" | "8W" | "12W" | "15W") | "auto";
|
|
22
|
+
mt?: `${string}%` | ("0V" | "0,5V" | "1V" | "1,5V" | "1W" | "3V" | "2W" | "3W" | "4W" | "5W" | "6W" | "8W" | "12W" | "15W") | "auto";
|
|
23
|
+
mb?: `${string}%` | ("0V" | "0,5V" | "1V" | "1,5V" | "1W" | "3V" | "2W" | "3W" | "4W" | "5W" | "6W" | "8W" | "12W" | "15W") | "auto";
|
|
24
|
+
backgroundColor?: (import("@alveole/theme").ThemeColor | "transparent") | Partial<Record<"default" | "hover" | "press" | "focus" | "focusVisible" | "disabled", import("@alveole/theme").ThemeColor | "transparent">>;
|
|
25
25
|
borderWidth?: import("tamagui").ViewProps["borderWidth"];
|
|
26
|
-
borderRadius?:
|
|
27
|
-
borderColor?: import("
|
|
28
|
-
gap?:
|
|
26
|
+
borderRadius?: import("@alveole/theme").RadiusKey;
|
|
27
|
+
borderColor?: (import("@alveole/theme").ThemeColor | "transparent") | Partial<Record<"default" | "hover" | "press" | "focus" | "focusVisible" | "disabled", import("@alveole/theme").ThemeColor | "transparent">>;
|
|
28
|
+
gap?: "0V" | "0,5V" | "1V" | "1,5V" | "1W" | "3V" | "2W" | "3W" | "4W" | "5W" | "6W" | "8W" | "12W" | "15W";
|
|
29
29
|
} & {
|
|
30
30
|
tag?: string;
|
|
31
31
|
} & {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"usePageStatusBar.d.ts","sourceRoot":"","sources":["../../../src/core/Page/usePageStatusBar.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,kBAAkB,EAAE,MAAM,cAAc,CAAC;
|
|
1
|
+
{"version":3,"file":"usePageStatusBar.d.ts","sourceRoot":"","sources":["../../../src/core/Page/usePageStatusBar.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,kBAAkB,EAAE,MAAM,cAAc,CAAC;AASlD,eAAO,MAAM,cAAc,GAAI,WAAW,QAAQ,CAAC,kBAAkB,CAAC,SAGrE,CAAC;AAKF,eAAO,MAAM,gBAAgB,GAAI,YAAY,kBAAkB,SA0B9D,CAAC"}
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import { useFocusEffect } from 'expo-router';
|
|
2
2
|
import * as SystemUI from 'expo-system-ui';
|
|
3
3
|
import React from 'react';
|
|
4
|
-
import { AppState,
|
|
4
|
+
import { AppState, StatusBar } from 'react-native';
|
|
5
5
|
const DEFAULT_STATUS_BAR = {
|
|
6
6
|
barStyle: 'dark-content',
|
|
7
7
|
backgroundColor: 'white',
|
|
8
8
|
};
|
|
9
|
+
// Pas de `StatusBar.setBackgroundColor` : sans effet en edge-to-edge, mode par défaut des apps
|
|
10
|
+
// Expo, et retiré de React Native 0.88. Le fond sous la barre est celui que pose expo-system-ui.
|
|
9
11
|
export const applyStatusBar = (statusBar) => {
|
|
10
12
|
StatusBar.setBarStyle(statusBar.barStyle);
|
|
11
|
-
if (Platform.OS === 'android')
|
|
12
|
-
StatusBar.setBackgroundColor(statusBar.backgroundColor);
|
|
13
13
|
void SystemUI.setBackgroundColorAsync(statusBar.backgroundColor);
|
|
14
14
|
};
|
|
15
15
|
// La barre de statut est un état global de l'OS : la poser au focus de la page et la restaurer à
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Section.stories.d.ts","sourceRoot":"","sources":["../../../src/core/Section/Section.stories.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"Section.stories.d.ts","sourceRoot":"","sources":["../../../src/core/Section/Section.stories.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAOA,wBAQkB;AAMlB,eAAO,MAAM,OAAO,mCAMnB,CAAC;AAEF,eAAO,MAAM,YAAY,mCAMxB,CAAC;AAEF,eAAO,MAAM,WAAW,mCAUvB,CAAC;AAEF,eAAO,MAAM,aAAa,mCAMzB,CAAC;AAEF,eAAO,MAAM,WAAW,mCAUvB,CAAC;AAEF,OAAO,KAAK,OAAO,MAAM,2BAA2B,CAAC"}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
+
import { CustomPalette, enCouleursDuTheme } from '@alveole/theme';
|
|
2
3
|
import { Box } from '../Box';
|
|
3
4
|
import { Typography } from '../Typography';
|
|
4
5
|
import { Section } from './Section';
|
|
@@ -11,17 +12,18 @@ export default {
|
|
|
11
12
|
component: Section,
|
|
12
13
|
styleFn: useStyles,
|
|
13
14
|
};
|
|
14
|
-
const
|
|
15
|
-
const
|
|
15
|
+
const { background } = enCouleursDuTheme(CustomPalette).light;
|
|
16
|
+
const paddingColor = background['contrast-success'];
|
|
17
|
+
const innerBoxColor = background['contrast-info'];
|
|
16
18
|
export const Default = () => (_jsx(Section, { children: _jsx(Box, { children: _jsx(Typography, { children: "Section" }) }) }));
|
|
17
|
-
export const WithPaddingY = () => (_jsx(Section, { backgroundColor: paddingColor, withPaddingY: true, children: _jsx(Box, { backgroundColor: innerBoxColor, p:
|
|
19
|
+
export const WithPaddingY = () => (_jsx(Section, { backgroundColor: paddingColor, withPaddingY: true, children: _jsx(Box, { backgroundColor: innerBoxColor, p: "1W", children: _jsx(Typography, { children: "Section avec background et padding Y" }) }) }));
|
|
18
20
|
export const WidthMdSize = () => {
|
|
19
21
|
const styles = useStyles();
|
|
20
|
-
return (_jsx(Section, { backgroundColor: paddingColor, size: "md", children: _jsx(Box, { backgroundColor: innerBoxColor, p:
|
|
22
|
+
return (_jsx(Section, { backgroundColor: paddingColor, size: "md", children: _jsx(Box, { backgroundColor: innerBoxColor, p: "1W", children: _jsxs(Typography, { children: ["Section avec background et size md (", styles.sectionContainerMD.maxWidth, "px)"] }) }) }));
|
|
21
23
|
};
|
|
22
|
-
export const WidthFullSize = () => (_jsx(Section, { backgroundColor: paddingColor, size: "full", children: _jsx(Box, { backgroundColor: innerBoxColor, p:
|
|
24
|
+
export const WidthFullSize = () => (_jsx(Section, { backgroundColor: paddingColor, size: "full", children: _jsx(Box, { backgroundColor: innerBoxColor, p: "1W", children: _jsx(Typography, { children: "Section avec background et size full (taille par d\u00E9faut)" }) }) }));
|
|
23
25
|
export const WidthSmSize = () => {
|
|
24
26
|
const styles = useStyles();
|
|
25
|
-
return (_jsx(Section, { backgroundColor: paddingColor, size: "sm", children: _jsx(Box, { backgroundColor: innerBoxColor, p:
|
|
27
|
+
return (_jsx(Section, { backgroundColor: paddingColor, size: "sm", children: _jsx(Box, { backgroundColor: innerBoxColor, p: "1W", children: _jsxs(Typography, { children: ["Section avec background et size sm (", styles.sectionContainerSM.maxWidth, "px)"] }) }) }));
|
|
26
28
|
};
|
|
27
29
|
export * as Sources from './Section.stories.sources';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Section.stories.sources.d.ts","sourceRoot":"","sources":["../../../src/core/Section/Section.stories.sources.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,OAAO,cAAuI,CAAC;AAE5J,eAAO,MAAM,YAAY,
|
|
1
|
+
{"version":3,"file":"Section.stories.sources.d.ts","sourceRoot":"","sources":["../../../src/core/Section/Section.stories.sources.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,OAAO,cAAuI,CAAC;AAE5J,eAAO,MAAM,YAAY,cAA8P,CAAC;AAExR,eAAO,MAAM,WAAW,cAAgW,CAAC;AAEzX,eAAO,MAAM,aAAa,cAAoR,CAAC;AAE/S,eAAO,MAAM,WAAW,cAAgW,CAAC;AAEzX,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/core/Section/Section.stories.tsx
|
|
3
3
|
export const Default = () => "export const Default = () => (\n <Section>\n <Box>\n <Typography>Section</Typography>\n </Box>\n </Section>\n);";
|
|
4
|
-
export const WithPaddingY = () => "export const WithPaddingY = () => (\n <Section backgroundColor={paddingColor} withPaddingY>\n <Box backgroundColor={innerBoxColor} p
|
|
5
|
-
export const WidthMdSize = () => "export const WidthMdSize = () => {\n const styles = useStyles();\n\n return (\n <Section backgroundColor={paddingColor} size=\"md\">\n <Box backgroundColor={innerBoxColor} p
|
|
6
|
-
export const WidthFullSize = () => "export const WidthFullSize = () => (\n <Section backgroundColor={paddingColor} size=\"full\">\n <Box backgroundColor={innerBoxColor} p
|
|
7
|
-
export const WidthSmSize = () => "export const WidthSmSize = () => {\n const styles = useStyles();\n\n return (\n <Section backgroundColor={paddingColor} size=\"sm\">\n <Box backgroundColor={innerBoxColor} p
|
|
4
|
+
export const WithPaddingY = () => "export const WithPaddingY = () => (\n <Section backgroundColor={paddingColor} withPaddingY>\n <Box backgroundColor={innerBoxColor} p=\"1W\">\n <Typography>Section avec background et padding Y</Typography>\n </Box>\n </Section>\n);";
|
|
5
|
+
export const WidthMdSize = () => "export const WidthMdSize = () => {\n const styles = useStyles();\n\n return (\n <Section backgroundColor={paddingColor} size=\"md\">\n <Box backgroundColor={innerBoxColor} p=\"1W\">\n <Typography>Section avec background et size md ({styles.sectionContainerMD.maxWidth}px)</Typography>\n </Box>\n </Section>\n );\n};";
|
|
6
|
+
export const WidthFullSize = () => "export const WidthFullSize = () => (\n <Section backgroundColor={paddingColor} size=\"full\">\n <Box backgroundColor={innerBoxColor} p=\"1W\">\n <Typography>Section avec background et size full (taille par défaut)</Typography>\n </Box>\n </Section>\n);";
|
|
7
|
+
export const WidthSmSize = () => "export const WidthSmSize = () => {\n const styles = useStyles();\n\n return (\n <Section backgroundColor={paddingColor} size=\"sm\">\n <Box backgroundColor={innerBoxColor} p=\"1W\">\n <Typography>Section avec background et size sm ({styles.sectionContainerSM.maxWidth}px)</Typography>\n </Box>\n </Section>\n );\n};";
|
|
8
8
|
export const storySources = {
|
|
9
9
|
Default,
|
|
10
10
|
WithPaddingY,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ThemeProvider.stories.d.ts","sourceRoot":"","sources":["../../../src/core/ThemeProvider/ThemeProvider.stories.tsx"],"names":[],"mappings":";;;;;;;;AAOA,wBAQkB;
|
|
1
|
+
{"version":3,"file":"ThemeProvider.stories.d.ts","sourceRoot":"","sources":["../../../src/core/ThemeProvider/ThemeProvider.stories.tsx"],"names":[],"mappings":";;;;;;;;AAOA,wBAQkB;AAkClB;;;;;;;;;;;;;;;GAeG;AACH,eAAO,MAAM,WAAW,mCAevB,CAAC;AAEF;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAkCG;AACH,eAAO,MAAM,gBAAgB,mCA8C5B,CAAC;AAEF,OAAO,KAAK,OAAO,MAAM,iCAAiC,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
-
import { useTheme } from '@alveole/theme';
|
|
2
|
+
import { RadiusList, Spacings, useTheme } from '@alveole/theme';
|
|
3
3
|
import { Box } from '../Box';
|
|
4
4
|
import { Highlight } from '../Highlight';
|
|
5
5
|
import { Typography } from '../Typography';
|
|
@@ -16,13 +16,18 @@ export default {
|
|
|
16
16
|
// démonstration.
|
|
17
17
|
const ModeBadge = ({ children }) => {
|
|
18
18
|
const { color, text } = useTheme();
|
|
19
|
-
return (_jsxs(Box, { display: "flex", flexDirection: "row", gap:
|
|
19
|
+
return (_jsxs(Box, { display: "flex", flexDirection: "row", gap: "1W", style: {
|
|
20
20
|
alignItems: 'center',
|
|
21
|
-
paddingHorizontal:
|
|
22
|
-
paddingVertical:
|
|
23
|
-
borderRadius:
|
|
21
|
+
paddingHorizontal: Spacings['3V'],
|
|
22
|
+
paddingVertical: Spacings['1W'],
|
|
23
|
+
borderRadius: RadiusList.md,
|
|
24
24
|
backgroundColor: color.light.background['default-grey'],
|
|
25
|
-
}, children: [_jsx(Box, { style: {
|
|
25
|
+
}, children: [_jsx(Box, { style: {
|
|
26
|
+
width: 8,
|
|
27
|
+
height: 8,
|
|
28
|
+
borderRadius: RadiusList.full,
|
|
29
|
+
backgroundColor: color.light.background['active-primary'],
|
|
30
|
+
} }), _jsx(Typography, { style: text['Corps de texte'].SM.Regular, children: children })] }));
|
|
26
31
|
};
|
|
27
32
|
/**
|
|
28
33
|
* Mode par défaut : les variables CSS sont injectées au runtime via des balises `<style>`,
|
|
@@ -40,7 +45,7 @@ const ModeBadge = ({ children }) => {
|
|
|
40
45
|
* }
|
|
41
46
|
* ```
|
|
42
47
|
*/
|
|
43
|
-
export const UsageDefaut = () => (_jsxs(Box, { display: "flex", flexDirection: "column", gap:
|
|
48
|
+
export const UsageDefaut = () => (_jsxs(Box, { display: "flex", flexDirection: "column", gap: "3V", children: [_jsx(ModeBadge, { children: "Mode actif : injection dynamique via balises <style>" }), _jsx(Highlight, { language: "tsx", children: `import { ThemeProvider } from '@alveole/theme';
|
|
44
49
|
|
|
45
50
|
export default function RootLayout() {
|
|
46
51
|
return (
|
|
@@ -86,7 +91,7 @@ export default function RootLayout() {
|
|
|
86
91
|
*/
|
|
87
92
|
export const UsageCSSStatique = () => {
|
|
88
93
|
const { color, text } = useTheme();
|
|
89
|
-
return (_jsxs(Box, { display: "flex", flexDirection: "column", gap:
|
|
94
|
+
return (_jsxs(Box, { display: "flex", flexDirection: "column", gap: "3V", children: [_jsx(ModeBadge, { children: "Mode actif : CSS pr\u00E9-compil\u00E9 - aucune balise <style> inject\u00E9e" }), _jsx(Highlight, { language: "tsx", children: `import '@alveole/theme/dist/default.css';
|
|
90
95
|
import { ThemeProvider } from '@alveole/theme';
|
|
91
96
|
|
|
92
97
|
export default function RootLayout() {
|
|
@@ -95,10 +100,10 @@ export default function RootLayout() {
|
|
|
95
100
|
{children}
|
|
96
101
|
</ThemeProvider>
|
|
97
102
|
);
|
|
98
|
-
}` }), _jsxs(Box, { display: "flex", flexDirection: "column", gap:
|
|
99
|
-
paddingHorizontal:
|
|
100
|
-
paddingVertical:
|
|
101
|
-
borderRadius:
|
|
103
|
+
}` }), _jsxs(Box, { display: "flex", flexDirection: "column", gap: "1W", style: {
|
|
104
|
+
paddingHorizontal: Spacings['3V'],
|
|
105
|
+
paddingVertical: Spacings['3V'],
|
|
106
|
+
borderRadius: RadiusList.md,
|
|
102
107
|
backgroundColor: color.light.background['action-high-error'],
|
|
103
108
|
}, children: [_jsx(Typography, { style: { ...text['Corps de texte'].SM.Medium, color: color.light.text['action-high-error'] }, children: "Limitation : incompatible avec color custom" }), _jsx(Typography, { style: { ...text['Corps de texte'].SM.Regular, color: color.light.text['action-high-error'] }, children: "Si l'app passe un prop `color` au ThemeProvider, les variables overrid\u00E9es ne seront pas inject\u00E9es. Dans ce cas, retirer `staticCSS`." })] }), _jsx(Highlight, { language: "tsx", children: `// ❌ Les overrides color sont ignorés avec staticCSS
|
|
104
109
|
<ThemeProvider staticCSS color={{ light: { background: { 'default-grey': '#eee' } } }}>
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ThemeProvider.stories.sources.d.ts","sourceRoot":"","sources":["../../../src/core/ThemeProvider/ThemeProvider.stories.sources.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,WAAW,
|
|
1
|
+
{"version":3,"file":"ThemeProvider.stories.sources.d.ts","sourceRoot":"","sources":["../../../src/core/ThemeProvider/ThemeProvider.stories.sources.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,WAAW,cAA2b,CAAC;AAEpd,eAAO,MAAM,gBAAgB,cAAouD,CAAC;AAElwD,eAAO,MAAM,YAAY;;;CAGf,CAAC;AAEX,MAAM,MAAM,eAAe,GAAG,MAAM,OAAO,YAAY,CAAC;AAExD,eAAO,MAAM,iBAAiB,EAAE,OAAO,CAAC,MAAM,CAAC,eAAe,EAAE,MAAM,CAAC,CAGtE,CAAC"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// This file is generated. Do not edit manually.
|
|
2
2
|
// Source: src/core/ThemeProvider/ThemeProvider.stories.tsx
|
|
3
|
-
export const UsageDefaut = () => "export const UsageDefaut = () => (\n <Box display=\"flex\" flexDirection=\"column\" gap
|
|
4
|
-
export const UsageCSSStatique = () => "export const UsageCSSStatique = () => {\n const { color, text } = useTheme();\n\n return (\n <Box display=\"flex\" flexDirection=\"column\" gap
|
|
3
|
+
export const UsageDefaut = () => "export const UsageDefaut = () => (\n <Box display=\"flex\" flexDirection=\"column\" gap=\"3V\">\n <ModeBadge>Mode actif : injection dynamique via balises <style></ModeBadge>\n <Highlight language=\"tsx\">\n {`import { ThemeProvider } from '@alveole/theme';\n\nexport default function RootLayout() {\n return (\n <ThemeProvider>\n {children}\n </ThemeProvider>\n );\n}`}\n </Highlight>\n </Box>\n);";
|
|
4
|
+
export const UsageCSSStatique = () => "export const UsageCSSStatique = () => {\n const { color, text } = useTheme();\n\n return (\n <Box display=\"flex\" flexDirection=\"column\" gap=\"3V\">\n <ModeBadge>Mode actif : CSS pré-compilé - aucune balise <style> injectée</ModeBadge>\n <Highlight language=\"tsx\">\n {`import '@alveole/theme/dist/default.css';\nimport { ThemeProvider } from '@alveole/theme';\n\nexport default function RootLayout() {\n return (\n <ThemeProvider staticCSS>\n {children}\n </ThemeProvider>\n );\n}`}\n </Highlight>\n <Box\n display=\"flex\"\n flexDirection=\"column\"\n gap=\"1W\"\n style={{\n paddingHorizontal: Spacings['3V'],\n paddingVertical: Spacings['3V'],\n borderRadius: RadiusList.md,\n backgroundColor: color.light.background['action-high-error'],\n }}\n >\n <Typography style={{ ...text['Corps de texte'].SM.Medium, color: color.light.text['action-high-error'] }}>\n Limitation : incompatible avec color custom\n </Typography>\n <Typography style={{ ...text['Corps de texte'].SM.Regular, color: color.light.text['action-high-error'] }}>\n Si l'app passe un prop `color` au ThemeProvider, les variables overridées ne seront pas injectées. Dans\n ce cas, retirer `staticCSS`.\n </Typography>\n </Box>\n <Highlight language=\"tsx\">\n {`// ❌ Les overrides color sont ignorés avec staticCSS\n<ThemeProvider staticCSS color={{ light: { background: { 'default-grey': '#eee' } } }}>\n\n// ✅ Sans staticCSS, les overrides fonctionnent\n<ThemeProvider color={{ light: { background: { 'default-grey': '#eee' } } }}>`}\n </Highlight>\n </Box>\n );\n};";
|
|
5
5
|
export const storySources = {
|
|
6
6
|
UsageDefaut,
|
|
7
7
|
UsageCSSStatique,
|
|
@@ -30,5 +30,6 @@ export declare const TypographyStyleUnderline: () => import("react").JSX.Element
|
|
|
30
30
|
export declare const TypographyStyleLineThrough: () => import("react").JSX.Element;
|
|
31
31
|
export declare const TypographyTransformCapitalize: () => import("react").JSX.Element;
|
|
32
32
|
export declare const TypographyTransformUppercase: () => import("react").JSX.Element;
|
|
33
|
+
export declare const TypographyAligneeADroite: () => import("react").JSX.Element;
|
|
33
34
|
export * as Sources from './Typography.stories.sources';
|
|
34
35
|
//# sourceMappingURL=Typography.stories.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Typography.stories.d.ts","sourceRoot":"","sources":["../../../src/core/Typography/Typography.stories.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;AAGA,wBAOkB;AAElB,eAAO,MAAM,iBAAiB,mCAAoD,CAAC;AAEnF,eAAO,MAAM,yBAAyB,mCAIrC,CAAC;AAEF,eAAO,MAAM,qBAAqB,mCAAsE,CAAC;AAEzG,eAAO,MAAM,wBAAwB,mCAAkF,CAAC;AAExH,eAAO,MAAM,0BAA0B,mCAA+E,CAAC;AAEvH,eAAO,MAAM,6BAA6B,mCAEzC,CAAC;AAEF,eAAO,MAAM,4BAA4B,mCAAwE,CAAC;
|
|
1
|
+
{"version":3,"file":"Typography.stories.d.ts","sourceRoot":"","sources":["../../../src/core/Typography/Typography.stories.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;AAGA,wBAOkB;AAElB,eAAO,MAAM,iBAAiB,mCAAoD,CAAC;AAEnF,eAAO,MAAM,yBAAyB,mCAIrC,CAAC;AAEF,eAAO,MAAM,qBAAqB,mCAAsE,CAAC;AAEzG,eAAO,MAAM,wBAAwB,mCAAkF,CAAC;AAExH,eAAO,MAAM,0BAA0B,mCAA+E,CAAC;AAEvH,eAAO,MAAM,6BAA6B,mCAEzC,CAAC;AAEF,eAAO,MAAM,4BAA4B,mCAAwE,CAAC;AAGlH,eAAO,MAAM,wBAAwB,mCAIpC,CAAC;AAEF,OAAO,KAAK,OAAO,MAAM,8BAA8B,CAAC"}
|
|
@@ -15,4 +15,6 @@ export const TypographyStyleUnderline = () => _jsx(Typography, { textDecorationL
|
|
|
15
15
|
export const TypographyStyleLineThrough = () => _jsx(Typography, { textDecorationLine: "line-through", children: "Texte barr\u00E9" });
|
|
16
16
|
export const TypographyTransformCapitalize = () => (_jsx(Typography, { textTransform: "capitalize", children: "avec une majuscule" }));
|
|
17
17
|
export const TypographyTransformUppercase = () => _jsx(Typography, { textTransform: "uppercase", children: "En majuscule" });
|
|
18
|
+
// Un `textAlign` pose par le style tient face aux props de Typography.
|
|
19
|
+
export const TypographyAligneeADroite = () => (_jsx(Typography, { tag: "typography-alignee-a-droite", style: { textAlign: 'right' }, children: "Texte align\u00E9 \u00E0 droite" }));
|
|
18
20
|
export * as Sources from './Typography.stories.sources';
|
|
@@ -5,6 +5,7 @@ export declare const TypographyStyleUnderline: () => string;
|
|
|
5
5
|
export declare const TypographyStyleLineThrough: () => string;
|
|
6
6
|
export declare const TypographyTransformCapitalize: () => string;
|
|
7
7
|
export declare const TypographyTransformUppercase: () => string;
|
|
8
|
+
export declare const TypographyAligneeADroite: () => string;
|
|
8
9
|
export declare const storySources: {
|
|
9
10
|
readonly TypographyDefault: () => string;
|
|
10
11
|
readonly TypographyPaddedWithColor: () => string;
|
|
@@ -13,6 +14,7 @@ export declare const storySources: {
|
|
|
13
14
|
readonly TypographyStyleLineThrough: () => string;
|
|
14
15
|
readonly TypographyTransformCapitalize: () => string;
|
|
15
16
|
readonly TypographyTransformUppercase: () => string;
|
|
17
|
+
readonly TypographyAligneeADroite: () => string;
|
|
16
18
|
};
|
|
17
19
|
export type StorySourceName = keyof typeof storySources;
|
|
18
20
|
//# sourceMappingURL=Typography.stories.sources.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Typography.stories.sources.d.ts","sourceRoot":"","sources":["../../../src/core/Typography/Typography.stories.sources.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,iBAAiB,cAA8F,CAAC;AAE7H,eAAO,MAAM,yBAAyB,cAAwJ,CAAC;AAE/L,eAAO,MAAM,qBAAqB,cAAsH,CAAC;AAEzJ,eAAO,MAAM,wBAAwB,cAAqI,CAAC;AAE3K,eAAO,MAAM,0BAA0B,cAAoI,CAAC;AAE5K,eAAO,MAAM,6BAA6B,cAA+I,CAAC;AAE1L,eAAO,MAAM,4BAA4B,cAA+H,CAAC;AAEzK,eAAO,MAAM,YAAY
|
|
1
|
+
{"version":3,"file":"Typography.stories.sources.d.ts","sourceRoot":"","sources":["../../../src/core/Typography/Typography.stories.sources.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,iBAAiB,cAA8F,CAAC;AAE7H,eAAO,MAAM,yBAAyB,cAAwJ,CAAC;AAE/L,eAAO,MAAM,qBAAqB,cAAsH,CAAC;AAEzJ,eAAO,MAAM,wBAAwB,cAAqI,CAAC;AAE3K,eAAO,MAAM,0BAA0B,cAAoI,CAAC;AAE5K,eAAO,MAAM,6BAA6B,cAA+I,CAAC;AAE1L,eAAO,MAAM,4BAA4B,cAA+H,CAAC;AAEzK,eAAO,MAAM,wBAAwB,cAA6L,CAAC;AAEnO,eAAO,MAAM,YAAY;;;;;;;;;CASf,CAAC;AAEX,MAAM,MAAM,eAAe,GAAG,MAAM,OAAO,YAAY,CAAC"}
|
|
@@ -7,6 +7,7 @@ export const TypographyStyleUnderline = () => "export const TypographyStyleUnder
|
|
|
7
7
|
export const TypographyStyleLineThrough = () => "export const TypographyStyleLineThrough = () => <Typography textDecorationLine=\"line-through\">Texte barré</Typography>;";
|
|
8
8
|
export const TypographyTransformCapitalize = () => "export const TypographyTransformCapitalize = () => (\n <Typography textTransform=\"capitalize\">avec une majuscule</Typography>\n);";
|
|
9
9
|
export const TypographyTransformUppercase = () => "export const TypographyTransformUppercase = () => <Typography textTransform=\"uppercase\">En majuscule</Typography>;";
|
|
10
|
+
export const TypographyAligneeADroite = () => "export const TypographyAligneeADroite = () => (\n <Typography tag=\"typography-alignee-a-droite\" style={{ textAlign: 'right' }}>\n Texte aligné à droite\n </Typography>\n);";
|
|
10
11
|
export const storySources = {
|
|
11
12
|
TypographyDefault,
|
|
12
13
|
TypographyPaddedWithColor,
|
|
@@ -15,4 +16,5 @@ export const storySources = {
|
|
|
15
16
|
TypographyStyleLineThrough,
|
|
16
17
|
TypographyTransformCapitalize,
|
|
17
18
|
TypographyTransformUppercase,
|
|
19
|
+
TypographyAligneeADroite,
|
|
18
20
|
};
|
|
@@ -6,7 +6,7 @@ declare const _default: {
|
|
|
6
6
|
component: (_props: import("./Version").VersionProps) => import("react").JSX.Element;
|
|
7
7
|
styleFn: () => {
|
|
8
8
|
container: {
|
|
9
|
-
color:
|
|
9
|
+
color: import("@alveole/theme").ThemeColor;
|
|
10
10
|
fontSize: 12;
|
|
11
11
|
lineHeight: 20;
|
|
12
12
|
letterSpacing: 0;
|
package/dist/core/index.d.ts
CHANGED
|
@@ -1,11 +1,13 @@
|
|
|
1
1
|
export * from './A';
|
|
2
2
|
export * from './Alert';
|
|
3
|
+
export * from './AlveoleProvider';
|
|
3
4
|
export * from './AnchorHeading';
|
|
4
5
|
export * from './AppUpdateProvider';
|
|
5
6
|
export * from './Box';
|
|
6
7
|
export * from './Code';
|
|
7
8
|
export * from './Form';
|
|
8
9
|
export * from './Grid';
|
|
10
|
+
export * from './Heading';
|
|
9
11
|
export * from './Highlight';
|
|
10
12
|
export * from './Image';
|
|
11
13
|
export * from './Lottie';
|
package/dist/core/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/core/index.ts"],"names":[],"mappings":"AAAA,cAAc,KAAK,CAAC;AACpB,cAAc,SAAS,CAAC;AACxB,cAAc,iBAAiB,CAAC;AAChC,cAAc,qBAAqB,CAAC;AACpC,cAAc,OAAO,CAAC;AACtB,cAAc,QAAQ,CAAC;AACvB,cAAc,QAAQ,CAAC;AACvB,cAAc,QAAQ,CAAC;AACvB,cAAc,aAAa,CAAC;AAC5B,cAAc,SAAS,CAAC;AACxB,cAAc,UAAU,CAAC;AACzB,cAAc,OAAO,CAAC;AACtB,cAAc,uBAAuB,CAAC;AACtC,cAAc,YAAY,CAAC;AAC3B,cAAc,QAAQ,CAAC;AACvB,cAAc,aAAa,CAAC;AAC5B,cAAc,WAAW,CAAC;AAC1B,cAAc,cAAc,CAAC;AAC7B,cAAc,kBAAkB,CAAC;AACjC,cAAc,WAAW,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/core/index.ts"],"names":[],"mappings":"AAAA,cAAc,KAAK,CAAC;AACpB,cAAc,SAAS,CAAC;AACxB,cAAc,mBAAmB,CAAC;AAClC,cAAc,iBAAiB,CAAC;AAChC,cAAc,qBAAqB,CAAC;AACpC,cAAc,OAAO,CAAC;AACtB,cAAc,QAAQ,CAAC;AACvB,cAAc,QAAQ,CAAC;AACvB,cAAc,QAAQ,CAAC;AACvB,cAAc,WAAW,CAAC;AAC1B,cAAc,aAAa,CAAC;AAC5B,cAAc,SAAS,CAAC;AACxB,cAAc,UAAU,CAAC;AACzB,cAAc,OAAO,CAAC;AACtB,cAAc,uBAAuB,CAAC;AACtC,cAAc,YAAY,CAAC;AAC3B,cAAc,QAAQ,CAAC;AACvB,cAAc,aAAa,CAAC;AAC5B,cAAc,WAAW,CAAC;AAC1B,cAAc,cAAc,CAAC;AAC7B,cAAc,kBAAkB,CAAC;AACjC,cAAc,WAAW,CAAC"}
|
package/dist/core/index.js
CHANGED
|
@@ -1,11 +1,13 @@
|
|
|
1
1
|
export * from './A';
|
|
2
2
|
export * from './Alert';
|
|
3
|
+
export * from './AlveoleProvider';
|
|
3
4
|
export * from './AnchorHeading';
|
|
4
5
|
export * from './AppUpdateProvider';
|
|
5
6
|
export * from './Box';
|
|
6
7
|
export * from './Code';
|
|
7
8
|
export * from './Form';
|
|
8
9
|
export * from './Grid';
|
|
10
|
+
export * from './Heading';
|
|
9
11
|
export * from './Highlight';
|
|
10
12
|
export * from './Image';
|
|
11
13
|
export * from './Lottie';
|
|
@@ -9,7 +9,7 @@ export declare const flexDuWeb: (flex: number) => {
|
|
|
9
9
|
flexShrink?: undefined;
|
|
10
10
|
flexBasis?: undefined;
|
|
11
11
|
};
|
|
12
|
-
export declare const correctionFlexDuWeb: (style: unknown) => {
|
|
12
|
+
export declare const correctionFlexDuWeb: (style: unknown, flexEnProp?: unknown) => {
|
|
13
13
|
flexGrow: number;
|
|
14
14
|
flexShrink: number;
|
|
15
15
|
flexBasis: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"flexDuWeb.d.ts","sourceRoot":"","sources":["../../../src/core/styleTamagui/flexDuWeb.ts"],"names":[],"mappings":"AAKA,eAAO,MAAM,SAAS,GAAI,MAAM,MAAM;;;;;;;;;;CACiD,CAAC;
|
|
1
|
+
{"version":3,"file":"flexDuWeb.d.ts","sourceRoot":"","sources":["../../../src/core/styleTamagui/flexDuWeb.ts"],"names":[],"mappings":"AAKA,eAAO,MAAM,SAAS,GAAI,MAAM,MAAM;;;;;;;;;;CACiD,CAAC;AAWxF,eAAO,MAAM,mBAAmB,GAAI,OAAO,OAAO,EAAE,aAAa,OAAO;;;;;;;;;;aAIvE,CAAC"}
|
|
@@ -10,9 +10,10 @@ const flexDuStyle = (style) => {
|
|
|
10
10
|
return style.flex;
|
|
11
11
|
return undefined;
|
|
12
12
|
};
|
|
13
|
-
//
|
|
14
|
-
|
|
15
|
-
|
|
13
|
+
// Un appelant de Box peut porter `flex: n` en style comme en prop, la prop l'emportant : la
|
|
14
|
+
// correction passe apres les deux.
|
|
15
|
+
export const correctionFlexDuWeb = (style, flexEnProp) => {
|
|
16
|
+
const flex = flexEnProp ?? flexDuStyle(style);
|
|
16
17
|
if (Platform.OS !== 'web' || typeof flex !== 'number' || flex <= 0)
|
|
17
18
|
return undefined;
|
|
18
19
|
return flexDuWeb(flex);
|
|
@@ -1,14 +1,15 @@
|
|
|
1
|
+
import { ThemeColor } from '@alveole/theme';
|
|
1
2
|
/**
|
|
2
3
|
* Separe le fond d'un style d'item du reste de sa forme, et le rend avec celui du survol sur
|
|
3
4
|
* une seule valeur : une clause ne vit que sur la prop qui porte le repos (ADR 0031).
|
|
4
5
|
*/
|
|
5
6
|
export declare const fondAuSurvol: <Style extends {
|
|
6
|
-
backgroundColor?:
|
|
7
|
-
}>(style: Style, survol:
|
|
7
|
+
backgroundColor?: ThemeColor;
|
|
8
|
+
}>(style: Style, survol: ThemeColor) => {
|
|
8
9
|
forme: Omit<Style, "backgroundColor">;
|
|
9
10
|
fond: {
|
|
10
|
-
default:
|
|
11
|
-
hover:
|
|
11
|
+
default: ThemeColor | undefined;
|
|
12
|
+
hover: ThemeColor;
|
|
12
13
|
};
|
|
13
14
|
};
|
|
14
15
|
//# sourceMappingURL=fondAuSurvol.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"fondAuSurvol.d.ts","sourceRoot":"","sources":["../../../src/core/styleTamagui/fondAuSurvol.ts"],"names":[],"mappings":"AAAA;;;GAGG;AACH,eAAO,MAAM,YAAY,GAAI,KAAK,SAAS;IAAE,eAAe,CAAC,EAAE,
|
|
1
|
+
{"version":3,"file":"fondAuSurvol.d.ts","sourceRoot":"","sources":["../../../src/core/styleTamagui/fondAuSurvol.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,gBAAgB,CAAC;AAE5C;;;GAGG;AACH,eAAO,MAAM,YAAY,GAAI,KAAK,SAAS;IAAE,eAAe,CAAC,EAAE,UAAU,CAAA;CAAE,EAAE,OAAO,KAAK,EAAE,QAAQ,UAAU;;;;;;CAG5G,CAAC"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const ALVEOLE_COMPONENTS_VERSION: "2.0.0-alpha.
|
|
1
|
+
export declare const ALVEOLE_COMPONENTS_VERSION: "2.0.0-alpha.17";
|
|
2
2
|
//# sourceMappingURL=version.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export const ALVEOLE_COMPONENTS_VERSION = "2.0.0-alpha.
|
|
1
|
+
export const ALVEOLE_COMPONENTS_VERSION = "2.0.0-alpha.17";
|
package/dist/stories/index.d.ts
CHANGED
|
@@ -4,6 +4,7 @@ export * as AppUpdateProviderStories from '../core/AppUpdateProvider/AppUpdatePr
|
|
|
4
4
|
export * as BoxStory from '../core/Box/Box.stories';
|
|
5
5
|
export * as CodeStory from '../core/Code/Code.stories';
|
|
6
6
|
export * as GridStory from '../core/Grid/Grid.stories';
|
|
7
|
+
export * as HeadingStory from '../core/Heading/Heading.stories';
|
|
7
8
|
export * as Highlight from '../core/Highlight/Highlight.stories';
|
|
8
9
|
export * as ImageStory from '../core/Image/Image.stories';
|
|
9
10
|
export * as LottieStory from '../core/Lottie/Lottie.stories';
|
|
@@ -1 +1 @@
|
|
|
1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yB,CAAC;AACrD,OAAO,KAAK,QAAQ,MAAM,uBAAuB,CAAC;AAClD,OAAO,KAAK,kBAAkB,MAAM,2CAA2C,CAAC;AAChF,OAAO,KAAK,mBAAmB,MAAM,6CAA6C,CAAC;AACnF,OAAO,KAAK,cAAc,MAAM,mCAAmC,CAAC;AACpE,OAAO,KAAK,UAAU,MAAM,2BAA2B,CAAC;AACxD,OAAO,KAAK,qBAAqB,MAAM,iDAAiD,CAAC;AACzF,OAAO,KAAK,eAAe,MAAM,qCAAqC,CAAC"}
|
package/dist/stories/index.js
CHANGED
|
@@ -5,6 +5,7 @@ export * as AppUpdateProviderStories from '../core/AppUpdateProvider/AppUpdatePr
|
|
|
5
5
|
export * as BoxStory from '../core/Box/Box.stories';
|
|
6
6
|
export * as CodeStory from '../core/Code/Code.stories';
|
|
7
7
|
export * as GridStory from '../core/Grid/Grid.stories';
|
|
8
|
+
export * as HeadingStory from '../core/Heading/Heading.stories';
|
|
8
9
|
export * as Highlight from '../core/Highlight/Highlight.stories';
|
|
9
10
|
export * as ImageStory from '../core/Image/Image.stories';
|
|
10
11
|
export * as LottieStory from '../core/Lottie/Lottie.stories';
|
|
@@ -22,14 +22,14 @@ declare const _default: {
|
|
|
22
22
|
accordionAfterLabel: {
|
|
23
23
|
width: "100%";
|
|
24
24
|
borderBottomWidth: number;
|
|
25
|
-
borderColor:
|
|
25
|
+
borderColor: import("@alveole/theme").ThemeColor;
|
|
26
26
|
};
|
|
27
27
|
accordionItemTrigger: {
|
|
28
28
|
borderWidth: number;
|
|
29
29
|
padding: number;
|
|
30
30
|
};
|
|
31
31
|
accordionItemHeader: {
|
|
32
|
-
backgroundColor: "
|
|
32
|
+
backgroundColor: import("@alveole/theme").ThemeColor;
|
|
33
33
|
cursor: "pointer";
|
|
34
34
|
display: "flex";
|
|
35
35
|
flexDirection: "row";
|
|
@@ -44,7 +44,7 @@ declare const _default: {
|
|
|
44
44
|
borderWidth: number;
|
|
45
45
|
};
|
|
46
46
|
accordionItemHeaderAlt: {
|
|
47
|
-
backgroundColor:
|
|
47
|
+
backgroundColor: import("@alveole/theme").ThemeColor;
|
|
48
48
|
cursor: "pointer";
|
|
49
49
|
display: "flex";
|
|
50
50
|
flexDirection: "row";
|
|
@@ -59,9 +59,9 @@ declare const _default: {
|
|
|
59
59
|
borderWidth: number;
|
|
60
60
|
};
|
|
61
61
|
accordionItemHeaderOutline: {
|
|
62
|
-
backgroundColor: "
|
|
62
|
+
backgroundColor: import("@alveole/theme").ThemeColor;
|
|
63
63
|
outlineWidth: number;
|
|
64
|
-
outlineColor:
|
|
64
|
+
outlineColor: import("@alveole/theme").ThemeColor;
|
|
65
65
|
outlineStyle: "solid";
|
|
66
66
|
cursor: "pointer";
|
|
67
67
|
display: "flex";
|
|
@@ -77,7 +77,7 @@ declare const _default: {
|
|
|
77
77
|
borderWidth: number;
|
|
78
78
|
};
|
|
79
79
|
accordionItemHeaderOpen: {
|
|
80
|
-
backgroundColor:
|
|
80
|
+
backgroundColor: import("@alveole/theme").ThemeColor;
|
|
81
81
|
};
|
|
82
82
|
accordion: {
|
|
83
83
|
width: "100%";
|
|
@@ -87,12 +87,12 @@ declare const _default: {
|
|
|
87
87
|
borderColor: "white";
|
|
88
88
|
};
|
|
89
89
|
accordionDefault: {
|
|
90
|
-
borderColor:
|
|
90
|
+
borderColor: import("@alveole/theme").ThemeColor;
|
|
91
91
|
};
|
|
92
92
|
accordionRounded: {
|
|
93
93
|
borderRadius: import("@alveole/theme").Radius;
|
|
94
94
|
borderWidth: number;
|
|
95
|
-
borderColor:
|
|
95
|
+
borderColor: import("@alveole/theme").ThemeColor;
|
|
96
96
|
overflow: "hidden";
|
|
97
97
|
};
|
|
98
98
|
};
|
|
@@ -13,14 +13,14 @@ export declare const useStyles: () => {
|
|
|
13
13
|
accordionAfterLabel: {
|
|
14
14
|
width: "100%";
|
|
15
15
|
borderBottomWidth: number;
|
|
16
|
-
borderColor:
|
|
16
|
+
borderColor: import("@alveole/theme").ThemeColor;
|
|
17
17
|
};
|
|
18
18
|
accordionItemTrigger: {
|
|
19
19
|
borderWidth: number;
|
|
20
20
|
padding: number;
|
|
21
21
|
};
|
|
22
22
|
accordionItemHeader: {
|
|
23
|
-
backgroundColor: "
|
|
23
|
+
backgroundColor: import("@alveole/theme").ThemeColor;
|
|
24
24
|
cursor: "pointer";
|
|
25
25
|
display: "flex";
|
|
26
26
|
flexDirection: "row";
|
|
@@ -35,7 +35,7 @@ export declare const useStyles: () => {
|
|
|
35
35
|
borderWidth: number;
|
|
36
36
|
};
|
|
37
37
|
accordionItemHeaderAlt: {
|
|
38
|
-
backgroundColor:
|
|
38
|
+
backgroundColor: import("@alveole/theme").ThemeColor;
|
|
39
39
|
cursor: "pointer";
|
|
40
40
|
display: "flex";
|
|
41
41
|
flexDirection: "row";
|
|
@@ -50,9 +50,9 @@ export declare const useStyles: () => {
|
|
|
50
50
|
borderWidth: number;
|
|
51
51
|
};
|
|
52
52
|
accordionItemHeaderOutline: {
|
|
53
|
-
backgroundColor: "
|
|
53
|
+
backgroundColor: import("@alveole/theme").ThemeColor;
|
|
54
54
|
outlineWidth: number;
|
|
55
|
-
outlineColor:
|
|
55
|
+
outlineColor: import("@alveole/theme").ThemeColor;
|
|
56
56
|
outlineStyle: "solid";
|
|
57
57
|
cursor: "pointer";
|
|
58
58
|
display: "flex";
|
|
@@ -68,7 +68,7 @@ export declare const useStyles: () => {
|
|
|
68
68
|
borderWidth: number;
|
|
69
69
|
};
|
|
70
70
|
accordionItemHeaderOpen: {
|
|
71
|
-
backgroundColor:
|
|
71
|
+
backgroundColor: import("@alveole/theme").ThemeColor;
|
|
72
72
|
};
|
|
73
73
|
accordion: {
|
|
74
74
|
width: "100%";
|
|
@@ -78,12 +78,12 @@ export declare const useStyles: () => {
|
|
|
78
78
|
borderColor: "white";
|
|
79
79
|
};
|
|
80
80
|
accordionDefault: {
|
|
81
|
-
borderColor:
|
|
81
|
+
borderColor: import("@alveole/theme").ThemeColor;
|
|
82
82
|
};
|
|
83
83
|
accordionRounded: {
|
|
84
84
|
borderRadius: import("@alveole/theme").Radius;
|
|
85
85
|
borderWidth: number;
|
|
86
|
-
borderColor:
|
|
86
|
+
borderColor: import("@alveole/theme").ThemeColor;
|
|
87
87
|
overflow: "hidden";
|
|
88
88
|
};
|
|
89
89
|
};
|