@alveole/components 2.0.0-alpha.2 → 2.0.0-alpha.20
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/A/A.d.ts +3 -1
- package/dist/core/A/A.d.ts.map +1 -1
- package/dist/core/A/A.js +6 -3
- 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 +20 -20
- package/dist/core/Box/Box.d.ts.map +1 -1
- package/dist/core/Box/Box.js +13 -7
- package/dist/core/Box/Box.stories.d.ts +21 -17
- 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 +22 -16
- 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.d.ts.map +1 -1
- package/dist/core/Code/Code.js +6 -0
- package/dist/core/Code/Code.stories.d.ts +15 -2
- package/dist/core/Code/Code.stories.d.ts.map +1 -1
- 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 +15 -2
- package/dist/core/Code/Code.styles.d.ts.map +1 -1
- package/dist/core/Code/Code.styles.js +18 -4
- 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/Form/Form.web.d.ts.map +1 -1
- package/dist/core/Form/Form.web.js +4 -1
- package/dist/core/Grid/Grid.stories.d.ts +17 -16
- 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.d.ts.map +1 -1
- package/dist/core/Highlight/Highlight.js +6 -3
- package/dist/core/Highlight/Highlight.stories.d.ts +19 -5
- package/dist/core/Highlight/Highlight.stories.d.ts.map +1 -1
- package/dist/core/Highlight/Highlight.stories.js +1 -1
- package/dist/core/Highlight/Highlight.stories.sources.d.ts.map +1 -1
- package/dist/core/Highlight/Highlight.stories.sources.js +1 -1
- package/dist/core/Highlight/Highlight.styles.d.ts +19 -5
- package/dist/core/Highlight/Highlight.styles.d.ts.map +1 -1
- package/dist/core/Highlight/Highlight.styles.js +15 -2
- 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/Map/useGoogleMap.d.ts +2 -1
- package/dist/core/Map/useGoogleMap.d.ts.map +1 -1
- package/dist/core/Map/useGoogleMap.js +3 -2
- package/dist/core/MarkdownDescription/MarkdownDescription.d.ts.map +1 -1
- package/dist/core/MarkdownDescription/MarkdownDescription.js +5 -11
- package/dist/core/MarkdownDescription/markdownComponents.d.ts +4 -10
- package/dist/core/MarkdownDescription/markdownComponents.d.ts.map +1 -1
- package/dist/core/MarkdownDescription/markdownComponents.js +17 -14
- package/dist/core/MarkdownDescription/markdownNatif.d.ts +13 -0
- package/dist/core/MarkdownDescription/markdownNatif.d.ts.map +1 -0
- package/dist/core/MarkdownDescription/markdownNatif.js +74 -0
- package/dist/core/Metabase/Metabase.stories.d.ts.map +1 -1
- package/dist/core/Metabase/Metabase.stories.js +3 -2
- package/dist/core/Metabase/Metabase.stories.sources.d.ts.map +1 -1
- package/dist/core/Metabase/Metabase.stories.sources.js +1 -1
- package/dist/core/Page/Page.stories.d.ts +5 -0
- package/dist/core/Page/Page.stories.d.ts.map +1 -1
- package/dist/core/Page/Page.stories.js +5 -0
- package/dist/core/Page/Page.stories.sources.d.ts +2 -0
- package/dist/core/Page/Page.stories.sources.d.ts.map +1 -1
- package/dist/core/Page/Page.stories.sources.js +3 -0
- package/dist/core/Page/Page.types.d.ts +1 -0
- package/dist/core/Page/Page.types.d.ts.map +1 -1
- package/dist/core/Page/PageBackground.d.ts +5 -5
- package/dist/core/Page/PageBackground.d.ts.map +1 -1
- package/dist/core/Page/PageBackground.js +8 -5
- package/dist/core/Page/PageBackground.stories.d.ts +25 -0
- package/dist/core/Page/PageBackground.stories.d.ts.map +1 -0
- package/dist/core/Page/PageBackground.stories.js +28 -0
- package/dist/core/Page/PageBackground.stories.sources.d.ts +8 -0
- package/dist/core/Page/PageBackground.stories.sources.d.ts.map +1 -0
- package/dist/core/Page/PageBackground.stories.sources.js +8 -0
- package/dist/core/Page/PageContent.d.ts.map +1 -1
- package/dist/core/Page/PageContent.js +3 -3
- package/dist/core/Page/PageContentDefault.d.ts.map +1 -1
- package/dist/core/Page/PageContentDefault.js +1 -1
- package/dist/core/Page/PageContentScrollable.d.ts +18 -17
- package/dist/core/Page/PageContentScrollable.d.ts.map +1 -1
- package/dist/core/Page/PageContentScrollable.js +1 -1
- package/dist/core/Page/index.d.ts +1 -0
- package/dist/core/Page/index.d.ts.map +1 -1
- package/dist/core/Page/index.js +1 -0
- 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/StorySummary/StorySummary.d.ts +7 -0
- package/dist/core/StorySummary/StorySummary.d.ts.map +1 -0
- package/dist/core/StorySummary/StorySummary.js +9 -0
- package/dist/core/StorySummary/StorySummary.stories.d.ts +13 -0
- package/dist/core/StorySummary/StorySummary.stories.d.ts.map +1 -0
- package/dist/core/StorySummary/StorySummary.stories.js +13 -0
- package/dist/core/StorySummary/StorySummary.stories.sources.d.ts +6 -0
- package/dist/core/StorySummary/StorySummary.stories.sources.d.ts.map +1 -0
- package/dist/core/StorySummary/StorySummary.stories.sources.js +6 -0
- package/dist/core/StorySummary/StorySummary.web.d.ts +4 -0
- package/dist/core/StorySummary/StorySummary.web.d.ts.map +1 -0
- package/dist/core/StorySummary/StorySummary.web.js +11 -0
- package/dist/core/StorySummary/index.d.ts +2 -0
- package/dist/core/StorySummary/index.d.ts.map +1 -0
- package/dist/core/StorySummary/index.js +1 -0
- package/dist/core/StorySummary/styleDuLienBrut.d.ts +9 -0
- package/dist/core/StorySummary/styleDuLienBrut.d.ts.map +1 -0
- package/dist/core/StorySummary/styleDuLienBrut.js +7 -0
- 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.d.ts +5 -5
- package/dist/core/Typography/Typography.d.ts.map +1 -1
- package/dist/core/Typography/Typography.js +16 -4
- package/dist/core/Typography/Typography.stories.d.ts +3 -2
- 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/Typography/couleurDuTexte.d.ts +1 -1
- package/dist/core/Typography/couleurDuTexte.d.ts.map +1 -1
- package/dist/core/UpdateRequired/UpdateRequired.d.ts.map +1 -1
- package/dist/core/UpdateRequired/UpdateRequired.js +4 -1
- package/dist/core/Version/Version.stories.d.ts +1 -1
- package/dist/core/Version/Version.styles.d.ts +1 -1
- package/dist/core/animation/animer.d.ts +9 -0
- package/dist/core/animation/animer.d.ts.map +1 -0
- package/dist/core/animation/animer.js +5 -0
- package/dist/core/index.d.ts +3 -0
- package/dist/core/index.d.ts.map +1 -1
- package/dist/core/index.js +3 -0
- package/dist/core/styleTamagui/aplatirStyle.d.ts +2 -0
- package/dist/core/styleTamagui/aplatirStyle.d.ts.map +1 -0
- package/dist/core/styleTamagui/aplatirStyle.js +9 -0
- package/dist/core/styleTamagui/definis.d.ts +4 -0
- package/dist/core/styleTamagui/definis.d.ts.map +1 -0
- package/dist/core/styleTamagui/definis.js +3 -0
- package/dist/core/styleTamagui/flexDuWeb.d.ts +23 -0
- package/dist/core/styleTamagui/flexDuWeb.d.ts.map +1 -0
- package/dist/core/styleTamagui/flexDuWeb.js +20 -0
- package/dist/core/styleTamagui/fondAuSurvol.d.ts +15 -0
- package/dist/core/styleTamagui/fondAuSurvol.d.ts.map +1 -0
- package/dist/core/styleTamagui/fondAuSurvol.js +8 -0
- package/dist/core/styleTamagui/sansEstompage.d.ts +4 -0
- package/dist/core/styleTamagui/sansEstompage.d.ts.map +1 -0
- package/dist/core/styleTamagui/sansEstompage.js +4 -0
- package/dist/core/styleTamagui/soulignement.d.ts +11 -0
- package/dist/core/styleTamagui/soulignement.d.ts.map +1 -0
- package/dist/core/styleTamagui/soulignement.js +5 -0
- package/dist/generated/version.d.ts +1 -1
- package/dist/generated/version.d.ts.map +1 -1
- package/dist/generated/version.js +1 -1
- package/dist/pdfjs/pdf.min.mjs +4 -5
- package/dist/pdfjs/pdf.worker.min.mjs +4 -5
- package/dist/stories/index.d.ts +3 -0
- package/dist/stories/index.d.ts.map +1 -1
- package/dist/stories/index.js +3 -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/Accordion/AccordionItem.d.ts.map +1 -1
- package/dist/ui/Accordion/AccordionItem.js +2 -1
- package/dist/ui/ActionMenu/ActionMenuItem.d.ts.map +1 -1
- package/dist/ui/ActionMenu/ActionMenuItem.js +9 -6
- package/dist/ui/Avatar/Avatar.d.ts.map +1 -1
- package/dist/ui/Avatar/Avatar.js +6 -1
- 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.d.ts.map +1 -1
- package/dist/ui/Badge/Badge.js +3 -2
- package/dist/ui/Badge/Badge.stories.d.ts +28 -24
- package/dist/ui/Badge/Badge.stories.d.ts.map +1 -1
- 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 +28 -24
- package/dist/ui/Badge/Badge.styles.d.ts.map +1 -1
- package/dist/ui/Badge/Badge.styles.js +4 -2
- package/dist/ui/BottomSheet/BottomSheet.d.ts.map +1 -1
- package/dist/ui/BottomSheet/BottomSheet.js +3 -1
- package/dist/ui/BottomSheet/BottomSheet.stories.d.ts +12 -9
- package/dist/ui/BottomSheet/BottomSheet.stories.d.ts.map +1 -1
- package/dist/ui/BottomSheet/BottomSheet.styles.d.ts +12 -9
- package/dist/ui/BottomSheet/BottomSheet.styles.d.ts.map +1 -1
- package/dist/ui/BottomSheet/BottomSheet.styles.js +10 -7
- package/dist/ui/Breadcrumbs/Breadcrumbs.d.ts.map +1 -1
- package/dist/ui/Breadcrumbs/Breadcrumbs.js +2 -1
- package/dist/ui/Breadcrumbs/Breadcrumbs.stories.d.ts +8 -7
- package/dist/ui/Breadcrumbs/Breadcrumbs.stories.d.ts.map +1 -1
- 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 +8 -7
- package/dist/ui/Breadcrumbs/Breadcrumbs.styles.d.ts.map +1 -1
- package/dist/ui/Breadcrumbs/Breadcrumbs.styles.js +1 -4
- 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 +9 -9
- 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/ButtonContent.d.ts.map +1 -1
- package/dist/ui/Button/ButtonContent.js +7 -3
- package/dist/ui/Button/buttonIconStyling.d.ts +4 -20
- package/dist/ui/Button/buttonIconStyling.d.ts.map +1 -1
- package/dist/ui/Button/buttonStyling.d.ts +9 -3
- package/dist/ui/Button/buttonStyling.d.ts.map +1 -1
- package/dist/ui/Button/buttonStyling.js +7 -3
- 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 +11 -3
- 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 +7 -3
- 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 +6 -6
- 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 +19 -18
- package/dist/ui/Checkbox/Checkbox.stories.d.ts.map +1 -1
- package/dist/ui/Checkbox/Checkbox.stories.js +3 -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 +13 -12
- package/dist/ui/Checkbox/Checkbox.styles.d.ts.map +1 -1
- package/dist/ui/Checkbox/Checkbox.styles.js +12 -11
- package/dist/ui/Checkbox/CheckboxContainer.d.ts +6 -6
- package/dist/ui/Checkbox/CheckboxContainer.d.ts.map +1 -1
- package/dist/ui/Checkbox/CheckboxContainer.js +4 -8
- package/dist/ui/Checkbox/CheckboxLabel.d.ts +1 -1
- package/dist/ui/Checkbox/CheckboxLabel.d.ts.map +1 -1
- package/dist/ui/Checkbox/CheckboxLabel.js +3 -2
- 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.demo.deployments.js +1 -1
- package/dist/ui/DataTable/DataTable.stories.d.ts +13 -11
- package/dist/ui/DataTable/DataTable.stories.d.ts.map +1 -1
- package/dist/ui/DataTable/DataTable.styles.d.ts +13 -11
- package/dist/ui/DataTable/DataTable.styles.d.ts.map +1 -1
- package/dist/ui/DataTable/DataTable.styles.js +5 -1
- package/dist/ui/DataTable/DataTableCell.js +1 -1
- package/dist/ui/DataTable/DataTableRow.d.ts.map +1 -1
- package/dist/ui/DataTable/DataTableRow.js +4 -2
- package/dist/ui/DataTable/dataTableCellStyle.d.ts +2 -2
- package/dist/ui/DataTable/dataTableCellStyle.js +1 -1
- package/dist/ui/DateInput/DateInput.d.ts +4 -4
- package/dist/ui/DateInput/DateInput.d.ts.map +1 -1
- package/dist/ui/DateInput/DateInput.ios.d.ts +4 -3
- package/dist/ui/DateInput/DateInput.ios.d.ts.map +1 -1
- package/dist/ui/DateInput/DateInput.stories.d.ts +3 -3
- 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/DateInput/DateInput.web.d.ts +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.d.ts +2 -1
- package/dist/ui/DocumentViewer/DocumentViewer.d.ts.map +1 -1
- package/dist/ui/DocumentViewer/DocumentViewer.js +13 -5
- package/dist/ui/DocumentViewer/DocumentViewer.stories.d.ts +12 -11
- package/dist/ui/DocumentViewer/DocumentViewer.stories.d.ts.map +1 -1
- package/dist/ui/DocumentViewer/DocumentViewer.stories.js +5 -5
- package/dist/ui/DocumentViewer/DocumentViewer.stories.sources.d.ts.map +1 -1
- package/dist/ui/DocumentViewer/DocumentViewer.stories.sources.js +4 -4
- package/dist/ui/DocumentViewer/DocumentViewer.styles.d.ts +12 -11
- package/dist/ui/DocumentViewer/DocumentViewer.styles.d.ts.map +1 -1
- package/dist/ui/DocumentViewer/DocumentViewer.styles.js +3 -0
- package/dist/ui/DocumentViewer/DocumentViewer.types.d.ts +2 -0
- package/dist/ui/DocumentViewer/DocumentViewer.types.d.ts.map +1 -1
- package/dist/ui/DocumentViewer/DocumentViewerImage.d.ts +1 -2
- package/dist/ui/DocumentViewer/DocumentViewerImage.d.ts.map +1 -1
- package/dist/ui/DocumentViewer/DocumentViewerImage.js +5 -15
- package/dist/ui/DocumentViewer/DocumentViewerPDF.web.d.ts.map +1 -1
- package/dist/ui/DocumentViewer/DocumentViewerPDF.web.js +8 -8
- package/dist/ui/DocumentViewer/DocumentViewerToolbar.d.ts +3 -0
- package/dist/ui/DocumentViewer/DocumentViewerToolbar.d.ts.map +1 -1
- package/dist/ui/DocumentViewer/DocumentViewerToolbar.js +7 -3
- package/dist/ui/DocumentViewer/chargementDePdfJs.d.ts.map +1 -1
- package/dist/ui/DocumentViewer/chargementDePdfJs.js +3 -1
- package/dist/ui/DocumentViewer/pointeurWeb.d.ts +13 -3
- package/dist/ui/DocumentViewer/pointeurWeb.d.ts.map +1 -1
- package/dist/ui/DocumentViewer/pointeurWeb.js +1 -1
- package/dist/ui/DocumentViewer/usePleinEcran.d.ts +13 -0
- package/dist/ui/DocumentViewer/usePleinEcran.d.ts.map +1 -0
- package/dist/ui/DocumentViewer/usePleinEcran.js +27 -0
- package/dist/ui/DocumentViewer/useZoomMolette.d.ts +24 -0
- package/dist/ui/DocumentViewer/useZoomMolette.d.ts.map +1 -0
- package/dist/ui/DocumentViewer/useZoomMolette.js +55 -0
- 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 +5 -6
- package/dist/ui/EmptyState/EmptyState.stories.d.ts.map +1 -1
- package/dist/ui/EmptyState/EmptyState.stories.js +1 -1
- package/dist/ui/EmptyState/EmptyState.stories.sources.d.ts.map +1 -1
- package/dist/ui/EmptyState/EmptyState.stories.sources.js +1 -1
- package/dist/ui/EmptyState/EmptyState.styles.d.ts +5 -6
- package/dist/ui/EmptyState/EmptyState.styles.d.ts.map +1 -1
- package/dist/ui/EmptyState/EmptyState.styles.js +3 -2
- 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.d.ts +1 -1
- package/dist/ui/FilterDate/FilterDate.d.ts.map +1 -1
- package/dist/ui/FilterDate/FilterDate.js +1 -1
- 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.d.ts.map +1 -1
- package/dist/ui/FormControl/FormControl.stories.js +6 -5
- 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 +3 -2
- package/dist/ui/FormControl/NumberInput.stories.sources.d.ts.map +1 -1
- package/dist/ui/FormControl/NumberInput.stories.sources.js +2 -2
- 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/TextInputPassword.js +9 -2
- 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 +53 -0
- package/dist/ui/FormControl/textInputStyles.d.ts.map +1 -1
- package/dist/ui/FormControl/textInputStyles.js +1 -0
- package/dist/ui/FormControl/useChoixDeFichier.d.ts.map +1 -1
- package/dist/ui/FormControl/useChoixDeFichier.js +15 -3
- package/dist/ui/FormControl/useTextInputModal.d.ts +4 -3
- package/dist/ui/FormControl/useTextInputModal.d.ts.map +1 -1
- package/dist/ui/Header/Header.d.ts.map +1 -1
- package/dist/ui/Header/Header.js +1 -1
- package/dist/ui/Header/Header.stories.d.ts +6 -33
- package/dist/ui/Header/Header.stories.d.ts.map +1 -1
- package/dist/ui/Header/Header.styles.d.ts +6 -33
- package/dist/ui/Header/Header.styles.d.ts.map +1 -1
- package/dist/ui/Header/Header.styles.js +5 -5
- 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.d.ts.map +1 -1
- package/dist/ui/Link/Link.js +2 -1
- package/dist/ui/Link/Link.stories.d.ts +1 -5
- package/dist/ui/Link/Link.stories.d.ts.map +1 -1
- package/dist/ui/Link/Link.styles.d.ts +1 -5
- package/dist/ui/Link/Link.styles.d.ts.map +1 -1
- package/dist/ui/Link/Link.styles.js +0 -4
- package/dist/ui/ListItem/ListItem.d.ts.map +1 -1
- package/dist/ui/ListItem/ListItem.js +2 -1
- package/dist/ui/ListItem/ListItem.stories.d.ts +10 -7
- package/dist/ui/ListItem/ListItem.stories.d.ts.map +1 -1
- package/dist/ui/ListItem/ListItem.styles.d.ts +10 -7
- package/dist/ui/ListItem/ListItem.styles.d.ts.map +1 -1
- package/dist/ui/ListItem/ListItem.styles.js +8 -2
- 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 +90 -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 +1983 -1645
- 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.d.ts.map +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 +8 -7
- package/dist/ui/ProgressBar/ProgressBar.stories.d.ts.map +1 -1
- package/dist/ui/ProgressBar/ProgressBar.styles.d.ts +8 -7
- package/dist/ui/ProgressBar/ProgressBar.styles.d.ts.map +1 -1
- package/dist/ui/ProgressBar/ProgressBar.styles.js +2 -0
- package/dist/ui/RadioGroup/RadioGroup.d.ts +2 -2
- package/dist/ui/RadioGroup/RadioGroup.d.ts.map +1 -1
- package/dist/ui/RadioGroup/RadioGroup.js +1 -1
- package/dist/ui/RadioGroup/RadioGroup.stories.d.ts +10 -12
- package/dist/ui/RadioGroup/RadioGroup.stories.d.ts.map +1 -1
- 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 +9 -11
- package/dist/ui/RadioGroup/RadioGroup.styles.d.ts.map +1 -1
- package/dist/ui/RadioGroup/RadioGroup.styles.js +7 -10
- package/dist/ui/RadioGroup/RadioGroupCard.d.ts.map +1 -1
- package/dist/ui/RadioGroup/RadioGroupCard.js +2 -2
- package/dist/ui/RadioGroup/RadioGroupContext.d.ts +1 -0
- package/dist/ui/RadioGroup/RadioGroupContext.d.ts.map +1 -1
- package/dist/ui/RadioGroup/RadioGroupItem.d.ts.map +1 -1
- package/dist/ui/RadioGroup/RadioGroupItem.js +8 -3
- package/dist/ui/RadioGroup/RadioGroupItem.styles.d.ts +1 -1
- package/dist/ui/RadioGroup/RadioInput.d.ts.map +1 -1
- package/dist/ui/RadioGroup/RadioInput.js +5 -7
- package/dist/ui/RadioGroup/index.d.ts +1 -1
- package/dist/ui/ResourceList/ResourceList.stories.d.ts +4 -2
- package/dist/ui/ResourceList/ResourceList.stories.d.ts.map +1 -1
- package/dist/ui/ResourceList/ResourceList.stories.js +3 -1
- package/dist/ui/ResourceList/ResourceList.stories.sources.d.ts +2 -0
- package/dist/ui/ResourceList/ResourceList.stories.sources.d.ts.map +1 -1
- package/dist/ui/ResourceList/ResourceList.stories.sources.js +4 -1
- 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 -9
- package/dist/ui/Select/Select.stories.d.ts.map +1 -1
- 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 +9 -10
- package/dist/ui/Select/Select.styles.d.ts.map +1 -1
- package/dist/ui/Select/Select.styles.js +1 -2
- package/dist/ui/Select/Select.types.d.ts +2 -0
- package/dist/ui/Select/Select.types.d.ts.map +1 -1
- package/dist/ui/Select/SelectBottomSheet.d.ts.map +1 -1
- package/dist/ui/Select/SelectBottomSheet.js +5 -5
- package/dist/ui/Select/SelectItem.js +1 -1
- package/dist/ui/Select/SelectList.styles.d.ts +14 -22
- package/dist/ui/Select/SelectList.styles.d.ts.map +1 -1
- package/dist/ui/Select/SelectList.styles.js +8 -9
- package/dist/ui/Select/SelectOptionsList.d.ts +1 -0
- package/dist/ui/Select/SelectOptionsList.d.ts.map +1 -1
- 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 +7 -7
- package/dist/ui/Select/selectItemStyle.d.ts.map +1 -1
- package/dist/ui/Select/selectItemStyle.js +7 -3
- package/dist/ui/Select/selectTriggerStyle.d.ts +54 -2
- package/dist/ui/Select/selectTriggerStyle.d.ts.map +1 -1
- package/dist/ui/Select/useDefilementVersSelection.d.ts +3 -2
- package/dist/ui/Select/useDefilementVersSelection.d.ts.map +1 -1
- package/dist/ui/Sidebar/Sidebar.stories.d.ts +20 -27
- 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 -27
- package/dist/ui/Sidebar/Sidebar.styles.d.ts.map +1 -1
- package/dist/ui/Sidebar/Sidebar.styles.js +3 -6
- 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 +16 -9
- package/dist/ui/Signature/Signature.d.ts +1 -1
- package/dist/ui/Signature/Signature.d.ts.map +1 -1
- package/dist/ui/Signature/Signature.js +1 -1
- package/dist/ui/Signature/Signature.stories.d.ts +2 -2
- package/dist/ui/Signature/Signature.styles.d.ts +2 -2
- package/dist/ui/Skeleton/Skeleton.js +1 -1
- package/dist/ui/Skeleton/Skeleton.stories.d.ts +2 -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 +2 -1
- package/dist/ui/Skeleton/Skeleton.styles.d.ts.map +1 -1
- package/dist/ui/Skeleton/Skeleton.styles.js +2 -0
- 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 +1 -1
- package/dist/ui/Switch/Switch.d.ts.map +1 -1
- package/dist/ui/Switch/Switch.js +15 -11
- package/dist/ui/Switch/Switch.stories.d.ts +12 -11
- package/dist/ui/Switch/Switch.stories.d.ts.map +1 -1
- 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 +11 -10
- package/dist/ui/Switch/Switch.styles.d.ts.map +1 -1
- package/dist/ui/Switch/Switch.styles.js +5 -4
- package/dist/ui/Tabs/Tabs.d.ts +7 -1
- package/dist/ui/Tabs/Tabs.d.ts.map +1 -1
- package/dist/ui/Tabs/Tabs.js +3 -3
- package/dist/ui/Tabs/Tabs.stories.d.ts +33 -10
- package/dist/ui/Tabs/Tabs.stories.d.ts.map +1 -1
- package/dist/ui/Tabs/Tabs.stories.js +15 -1
- package/dist/ui/Tabs/Tabs.stories.sources.d.ts +4 -0
- package/dist/ui/Tabs/Tabs.stories.sources.d.ts.map +1 -1
- package/dist/ui/Tabs/Tabs.stories.sources.js +4 -0
- package/dist/ui/Tabs/Tabs.styles.d.ts +31 -10
- package/dist/ui/Tabs/Tabs.styles.d.ts.map +1 -1
- package/dist/ui/Tabs/Tabs.styles.js +6 -2
- package/dist/ui/Tabs/TabsTab.js +1 -1
- package/dist/ui/Tabs/useTabsState.d.ts +2 -2
- package/dist/ui/Tabs/useTabsState.d.ts.map +1 -1
- package/dist/ui/Tabs/useTabsState.js +13 -7
- package/dist/ui/Tag/Tag.d.ts.map +1 -1
- package/dist/ui/Tag/Tag.js +14 -2
- package/dist/ui/Tag/Tag.stories.d.ts +15 -7
- package/dist/ui/Tag/Tag.stories.d.ts.map +1 -1
- 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 +15 -7
- package/dist/ui/Tag/Tag.styles.d.ts.map +1 -1
- package/dist/ui/Tag/Tag.styles.js +11 -0
- package/dist/ui/Tag/TagNativeContent.d.ts +11 -0
- package/dist/ui/Tag/TagNativeContent.d.ts.map +1 -0
- package/dist/ui/Tag/TagNativeContent.js +10 -0
- 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.d.ts +3 -3
- package/dist/ui/Toast/Toast.d.ts.map +1 -1
- package/dist/ui/Toast/Toast.js +5 -7
- package/dist/ui/Toast/Toast.stories.d.ts +32 -22
- package/dist/ui/Toast/Toast.stories.d.ts.map +1 -1
- package/dist/ui/Toast/Toast.stories.js +14 -11
- package/dist/ui/Toast/Toast.stories.sources.d.ts.map +1 -1
- package/dist/ui/Toast/Toast.stories.sources.js +3 -3
- package/dist/ui/Toast/Toast.styles.d.ts +22 -15
- package/dist/ui/Toast/Toast.styles.d.ts.map +1 -1
- package/dist/ui/Toast/Toast.styles.js +6 -3
- package/dist/ui/Toast/ToastContext.d.ts +1 -0
- package/dist/ui/Toast/ToastContext.d.ts.map +1 -1
- package/dist/ui/Toast/ToastContext.js +1 -0
- package/dist/ui/Toast/Toasts.d.ts +2 -1
- package/dist/ui/Toast/Toasts.d.ts.map +1 -1
- package/dist/ui/Toast/Toasts.js +9 -5
- 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.d.ts.map +1 -1
- package/dist/ui/ToolbarTop/ToolbarTop.js +1 -2
- package/dist/ui/ToolbarTop/ToolbarTop.stories.d.ts +4 -5
- package/dist/ui/ToolbarTop/ToolbarTop.stories.d.ts.map +1 -1
- package/dist/ui/ToolbarTop/ToolbarTop.styles.d.ts +4 -5
- package/dist/ui/ToolbarTop/ToolbarTop.styles.d.ts.map +1 -1
- package/dist/ui/ToolbarTop/ToolbarTop.styles.js +1 -2
- package/dist/ui/ToolbarTop/ToolbarTop.types.d.ts +2 -3
- package/dist/ui/ToolbarTop/ToolbarTop.types.d.ts.map +1 -1
- package/dist/ui/ToolbarTop/toolbarTopStyling.d.ts +7 -6
- package/dist/ui/ToolbarTop/toolbarTopStyling.d.ts.map +1 -1
- package/package.json +44 -42
- package/dist/core/styleTamagui/versStyleTamagui.d.ts +0 -10
- package/dist/core/styleTamagui/versStyleTamagui.d.ts.map +0 -1
- package/dist/core/styleTamagui/versStyleTamagui.js +0 -8
- package/dist/ui/DocumentViewer/useSurvolAvecZoom.d.ts +0 -15
- package/dist/ui/DocumentViewer/useSurvolAvecZoom.d.ts.map +0 -1
- package/dist/ui/DocumentViewer/useSurvolAvecZoom.js +0 -27
- package/dist/ui/PriceInput/PriceInput.css +0 -9
- package/dist/ui/Toast/ToastBridge.d.ts +0 -11
- package/dist/ui/Toast/ToastBridge.d.ts.map +0 -1
- package/dist/ui/Toast/ToastBridge.js +0 -19
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
// This file is generated. Do not edit manually.
|
|
2
2
|
// Source: src/ui/Button/Button.stories.tsx
|
|
3
|
-
export const Variants = () => "export const Variants = () => (\n <Box display=\"flex\" flexDirection=\"row\"
|
|
4
|
-
export const Sizes = () => "export const Sizes = () => (\n <Box display=\"flex\" flexDirection=\"row\" style={{ alignItems: 'center' }} gap
|
|
5
|
-
export const States = () => "export const States = () => (\n <Box display=\"flex\" flexDirection=\"row\"
|
|
6
|
-
export const Loading = () => "export const Loading = () => {\n const [isLoading, setIsLoading] = React.useState(false);\n\n const handlePress = () => {\n setIsLoading(true);\n setTimeout(() => setIsLoading(false), 3000);\n };\n\n return (\n <Box display=\"flex\" flexDirection=\"row\"
|
|
7
|
-
export const OnPressAsynchrone = () => "export const OnPressAsynchrone = () => {\n const [envois, setEnvois] = React.useState(0);\n\n const envoyer = async () => {\n setEnvois(n => n + 1);\n await new Promise(resolve => setTimeout(resolve, 3000));\n };\n\n return (\n <Box display=\"flex\" flexDirection=\"row\"
|
|
8
|
-
export const Icons = () => "export const Icons = () => (\n <Box display=\"flex\" flexDirection=\"row\"
|
|
9
|
-
export const TertiaireAvecAvatar = () => "export const TertiaireAvecAvatar = () => (\n <Box display=\"flex\" flexDirection=\"row\"
|
|
10
|
-
export const IconOnly = () => "export const IconOnly = () => (\n <Box display=\"flex\" flexDirection=\"row\"
|
|
3
|
+
export const Variants = () => "export const Variants = () => (\n <Box display=\"flex\" flexDirection=\"row\" flexWrap={'wrap'} gap=\"3W\">\n <Button variant=\"primary\" title=\"Primary\" />\n <Button variant=\"secondary\" title=\"Secondary\" />\n <Button variant=\"tertiary\" title=\"Tertiary\" />\n <Button variant=\"danger\" title=\"Danger\" />\n </Box>\n);";
|
|
4
|
+
export const Sizes = () => "export const Sizes = () => (\n <Box display=\"flex\" flexDirection=\"row\" flexWrap={'wrap'} style={{ alignItems: 'center' }} gap=\"3W\">\n <Button variant=\"secondary\" size=\"sm\" title=\"Sm\" />\n <Button variant=\"secondary\" size=\"md\" title=\"Md\" />\n <Button variant=\"secondary\" size=\"lg\" title=\"Lg\" />\n </Box>\n);";
|
|
5
|
+
export const States = () => "export const States = () => (\n <Box display=\"flex\" flexDirection=\"row\" flexWrap={'wrap'} gap=\"3W\">\n <Button variant=\"secondary\" title=\"Default\" />\n <Button variant=\"secondary\" title=\"Disabled\" disabled />\n <Button variant=\"secondary\" title=\"Selected\" selected />\n <Button variant=\"secondary\" title=\"Expanded\" expanded />\n </Box>\n);";
|
|
6
|
+
export const Loading = () => "export const Loading = () => {\n const [isLoading, setIsLoading] = React.useState(false);\n\n const handlePress = () => {\n setIsLoading(true);\n setTimeout(() => setIsLoading(false), 3000);\n };\n\n return (\n <Box display=\"flex\" flexDirection=\"row\" flexWrap={'wrap'} gap=\"3W\">\n <Button variant=\"primary\" title=\"Enregistrer\" isLoading={isLoading} onPress={handlePress} />\n <Button variant=\"secondary\" title=\"Exporter\" leading=\"Download\" isLoading={isLoading} onPress={handlePress} />\n <Button variant=\"primary\" title=\"Délai court\" loadingDelay=\"short\" isLoading={isLoading} onPress={handlePress} />\n </Box>\n );\n};";
|
|
7
|
+
export const OnPressAsynchrone = () => "export const OnPressAsynchrone = () => {\n const [envois, setEnvois] = React.useState(0);\n\n const envoyer = async () => {\n setEnvois(n => n + 1);\n await new Promise(resolve => setTimeout(resolve, 3000));\n };\n\n return (\n <Box display=\"flex\" flexDirection=\"row\" flexWrap={'wrap'} gap=\"3W\" style={{ alignItems: 'center' }}>\n <Button variant=\"primary\" title=\"Envoyer\" loadingDelay=\"short\" onPress={envoyer} />\n <Typography>Envois : {envois}</Typography>\n </Box>\n );\n};";
|
|
8
|
+
export const Icons = () => "export const Icons = () => (\n <Box display=\"flex\" flexDirection=\"row\" flexWrap={'wrap'} gap=\"3W\">\n <Button variant=\"secondary\" title=\"Leading\" leading=\"Plus\" />\n <Button variant=\"secondary\" title=\"Trailing\" trailing=\"Download\" />\n <Button variant=\"secondary\" title=\"Filtres\" leading=\"Plus\" trailing=\"ChevronDown\" />\n </Box>\n);";
|
|
9
|
+
export const TertiaireAvecAvatar = () => "export const TertiaireAvecAvatar = () => (\n <Box display=\"flex\" flexDirection=\"row\" flexWrap={'wrap'} gap=\"3W\" style={{ alignItems: 'center' }}>\n <Button variant=\"tertiary\" title=\"Marie Curie\" leading={<Avatar size=\"xs\" fallbackText=\"Marie Curie\" />} />\n <Button variant=\"tertiary\" title=\"Marie Curie\" leading=\"User\" />\n </Box>\n);";
|
|
10
|
+
export const IconOnly = () => "export const IconOnly = () => (\n <Box display=\"flex\" flexDirection=\"row\" flexWrap={'wrap'} gap=\"3W\" style={{ alignItems: 'center' }}>\n <ButtonIcon variant=\"tertiary\" size=\"sm\" icon=\"MoreHorizontal\" accessibilityLabel=\"Plus d'actions\" />\n <ButtonIcon variant=\"tertiary\" size=\"md\" icon=\"MoreHorizontal\" accessibilityLabel=\"Plus d'actions\" />\n <ButtonIcon variant=\"tertiary\" size=\"lg\" icon=\"MoreHorizontal\" accessibilityLabel=\"Plus d'actions\" />\n <ButtonIcon variant=\"secondary\" size=\"md\" icon=\"Trash\" accessibilityLabel=\"Supprimer\" />\n <ButtonIcon variant=\"primary\" size=\"md\" icon=\"Plus\" accessibilityLabel=\"Ajouter\" />\n <ButtonIcon variant=\"tertiary\" size=\"md\" icon=\"CircleUser\" iconSize=\"xs\" accessibilityLabel=\"Voir le profil\" />\n </Box>\n);";
|
|
11
11
|
export const FullWidth = () => "export const FullWidth = () => <Button variant=\"primary\" title=\"Full Width\" fullWidth />;";
|
|
12
12
|
export const storySources = {
|
|
13
13
|
Variants,
|
|
@@ -1,150 +1,150 @@
|
|
|
1
1
|
export declare const useStyles: () => {
|
|
2
2
|
dangerTitle: {
|
|
3
|
-
color:
|
|
3
|
+
color: import("@alveole/theme").ThemeColor;
|
|
4
4
|
};
|
|
5
5
|
dangerContainer: {
|
|
6
6
|
borderStyle: "solid";
|
|
7
7
|
borderWidth: number;
|
|
8
|
-
borderColor:
|
|
9
|
-
backgroundColor:
|
|
8
|
+
borderColor: import("@alveole/theme").ThemeColor;
|
|
9
|
+
backgroundColor: import("@alveole/theme").ThemeColor;
|
|
10
10
|
};
|
|
11
11
|
dangerTitleHover: {
|
|
12
|
-
color:
|
|
12
|
+
color: import("@alveole/theme").ThemeColor;
|
|
13
13
|
};
|
|
14
14
|
dangerContainerHover: {
|
|
15
|
-
borderColor:
|
|
16
|
-
backgroundColor:
|
|
15
|
+
borderColor: import("@alveole/theme").ThemeColor;
|
|
16
|
+
backgroundColor: import("@alveole/theme").ThemeColor;
|
|
17
17
|
};
|
|
18
18
|
dangerContainerPressed: {
|
|
19
|
-
backgroundColor:
|
|
19
|
+
backgroundColor: import("@alveole/theme").ThemeColor;
|
|
20
20
|
};
|
|
21
21
|
dangerTitleDisabled: {
|
|
22
22
|
cursor: "not-allowed";
|
|
23
|
-
color:
|
|
23
|
+
color: import("@alveole/theme").ThemeColor;
|
|
24
24
|
};
|
|
25
25
|
dangerContainerDisabled: {
|
|
26
26
|
cursor: "not-allowed";
|
|
27
|
-
backgroundColor:
|
|
28
|
-
borderColor:
|
|
27
|
+
backgroundColor: import("@alveole/theme").ThemeColor;
|
|
28
|
+
borderColor: import("@alveole/theme").ThemeColor;
|
|
29
29
|
};
|
|
30
30
|
dangerIcon: {
|
|
31
|
-
color:
|
|
31
|
+
color: import("@alveole/theme").ThemeColor;
|
|
32
32
|
};
|
|
33
33
|
dangerIconHover: {
|
|
34
|
-
color:
|
|
34
|
+
color: import("@alveole/theme").ThemeColor;
|
|
35
35
|
};
|
|
36
36
|
dangerIconDisabled: {
|
|
37
|
-
color:
|
|
37
|
+
color: import("@alveole/theme").ThemeColor;
|
|
38
38
|
};
|
|
39
39
|
tertiaryTitle: {
|
|
40
|
-
color:
|
|
40
|
+
color: import("@alveole/theme").ThemeColor;
|
|
41
41
|
};
|
|
42
42
|
tertiaryContainer: {};
|
|
43
43
|
tertiaryTitleHover: {
|
|
44
|
-
color:
|
|
44
|
+
color: import("@alveole/theme").ThemeColor;
|
|
45
45
|
};
|
|
46
46
|
tertiaryContainerHover: {
|
|
47
|
-
backgroundColor:
|
|
47
|
+
backgroundColor: import("@alveole/theme").ThemeColor;
|
|
48
48
|
};
|
|
49
49
|
tertiaryContainerPressed: {
|
|
50
|
-
backgroundColor:
|
|
50
|
+
backgroundColor: import("@alveole/theme").ThemeColor;
|
|
51
51
|
};
|
|
52
52
|
tertiaryTitleDisabled: {
|
|
53
53
|
cursor: "not-allowed";
|
|
54
|
-
color:
|
|
54
|
+
color: import("@alveole/theme").ThemeColor;
|
|
55
55
|
};
|
|
56
56
|
tertiaryContainerDisabled: {
|
|
57
57
|
cursor: "not-allowed";
|
|
58
58
|
};
|
|
59
59
|
tertiaryIcon: {
|
|
60
|
-
color:
|
|
60
|
+
color: import("@alveole/theme").ThemeColor;
|
|
61
61
|
};
|
|
62
62
|
tertiaryIconHover: {
|
|
63
|
-
color:
|
|
63
|
+
color: import("@alveole/theme").ThemeColor;
|
|
64
64
|
};
|
|
65
65
|
tertiaryIconDisabled: {
|
|
66
|
-
color:
|
|
66
|
+
color: import("@alveole/theme").ThemeColor;
|
|
67
67
|
};
|
|
68
68
|
secondaryTitle: {
|
|
69
|
-
color:
|
|
69
|
+
color: import("@alveole/theme").ThemeColor;
|
|
70
70
|
};
|
|
71
71
|
secondaryContainer: {
|
|
72
72
|
borderStyle: "solid";
|
|
73
73
|
borderWidth: number;
|
|
74
|
-
borderColor:
|
|
75
|
-
backgroundColor:
|
|
74
|
+
borderColor: import("@alveole/theme").ThemeColor;
|
|
75
|
+
backgroundColor: import("@alveole/theme").ThemeColor;
|
|
76
76
|
};
|
|
77
77
|
secondaryTitleHover: {
|
|
78
|
-
color:
|
|
78
|
+
color: import("@alveole/theme").ThemeColor;
|
|
79
79
|
};
|
|
80
80
|
secondaryContainerHover: {
|
|
81
|
-
borderColor:
|
|
82
|
-
backgroundColor:
|
|
81
|
+
borderColor: import("@alveole/theme").ThemeColor;
|
|
82
|
+
backgroundColor: import("@alveole/theme").ThemeColor;
|
|
83
83
|
};
|
|
84
84
|
secondaryContainerPressed: {
|
|
85
|
-
borderColor:
|
|
86
|
-
backgroundColor:
|
|
85
|
+
borderColor: import("@alveole/theme").ThemeColor;
|
|
86
|
+
backgroundColor: import("@alveole/theme").ThemeColor;
|
|
87
87
|
};
|
|
88
88
|
secondaryTitleDisabled: {
|
|
89
89
|
cursor: "not-allowed";
|
|
90
|
-
color:
|
|
90
|
+
color: import("@alveole/theme").ThemeColor;
|
|
91
91
|
};
|
|
92
92
|
secondaryContainerDisabled: {
|
|
93
93
|
cursor: "not-allowed";
|
|
94
|
-
borderColor:
|
|
94
|
+
borderColor: import("@alveole/theme").ThemeColor;
|
|
95
95
|
};
|
|
96
96
|
secondaryIcon: {
|
|
97
|
-
color:
|
|
97
|
+
color: import("@alveole/theme").ThemeColor;
|
|
98
98
|
};
|
|
99
99
|
secondaryIconHover: {
|
|
100
|
-
color:
|
|
100
|
+
color: import("@alveole/theme").ThemeColor;
|
|
101
101
|
};
|
|
102
102
|
secondaryIconDisabled: {
|
|
103
|
-
color:
|
|
103
|
+
color: import("@alveole/theme").ThemeColor;
|
|
104
104
|
};
|
|
105
105
|
primaryTitle: {
|
|
106
|
-
color:
|
|
106
|
+
color: import("@alveole/theme").ThemeColor;
|
|
107
107
|
};
|
|
108
108
|
primaryContainer: {
|
|
109
|
-
backgroundColor:
|
|
109
|
+
backgroundColor: import("@alveole/theme").ThemeColor;
|
|
110
110
|
};
|
|
111
111
|
primaryTitleHover: {
|
|
112
|
-
color:
|
|
112
|
+
color: import("@alveole/theme").ThemeColor;
|
|
113
113
|
};
|
|
114
114
|
primaryContainerHover: {
|
|
115
|
-
backgroundColor:
|
|
115
|
+
backgroundColor: import("@alveole/theme").ThemeColor;
|
|
116
116
|
};
|
|
117
117
|
primaryContainerPressed: {
|
|
118
|
-
backgroundColor:
|
|
118
|
+
backgroundColor: import("@alveole/theme").ThemeColor;
|
|
119
119
|
};
|
|
120
120
|
primaryTitleDisabled: {
|
|
121
121
|
cursor: "not-allowed";
|
|
122
|
-
color:
|
|
122
|
+
color: import("@alveole/theme").ThemeColor;
|
|
123
123
|
};
|
|
124
124
|
primaryContainerDisabled: {
|
|
125
125
|
cursor: "not-allowed";
|
|
126
|
-
backgroundColor:
|
|
126
|
+
backgroundColor: import("@alveole/theme").ThemeColor;
|
|
127
127
|
};
|
|
128
128
|
primaryIcon: {
|
|
129
|
-
color:
|
|
129
|
+
color: import("@alveole/theme").ThemeColor;
|
|
130
130
|
};
|
|
131
131
|
primaryIconHover: {
|
|
132
|
-
color:
|
|
132
|
+
color: import("@alveole/theme").ThemeColor;
|
|
133
133
|
};
|
|
134
134
|
primaryIconDisabled: {
|
|
135
|
-
color:
|
|
135
|
+
color: import("@alveole/theme").ThemeColor;
|
|
136
136
|
};
|
|
137
137
|
selectedContainer: {
|
|
138
|
-
backgroundColor:
|
|
139
|
-
borderColor:
|
|
138
|
+
backgroundColor: import("@alveole/theme").ThemeColor;
|
|
139
|
+
borderColor: import("@alveole/theme").ThemeColor;
|
|
140
140
|
borderWidth: number;
|
|
141
141
|
};
|
|
142
142
|
selectedContainerHover: {};
|
|
143
143
|
selectedTitle: {
|
|
144
|
-
color:
|
|
144
|
+
color: import("@alveole/theme").ThemeColor;
|
|
145
145
|
};
|
|
146
146
|
selectedIcon: {
|
|
147
|
-
color:
|
|
147
|
+
color: import("@alveole/theme").ThemeColor;
|
|
148
148
|
};
|
|
149
149
|
smContainer: {
|
|
150
150
|
height: "100%";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ButtonContent.d.ts","sourceRoot":"","sources":["../../../src/ui/Button/ButtonContent.tsx"],"names":[],"mappings":"AAIA,OAAO,EAAE,cAAc,EAAE,MAAM,aAAa,CAAC;AAG7C,OAAO,EAAE,WAAW,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAE3D,OAAO,EAAE,MAAM,EAAE,MAAM,kBAAkB,CAAC;AAG1C,KAAK,kBAAkB,GAAG;IACxB,MAAM,EAAE,MAAM,CAAC;IACf,IAAI,EAAE,YAAY,CAAC;IACnB,KAAK,EAAE,cAAc,CAAC;IACtB,yEAAyE;IACzE,KAAK,EAAE,OAAO,CAAC;IACf,KAAK,EAAE,WAAW,CAAC;CACpB,CAAC;AAWF;;;GAGG;AACH,eAAO,MAAM,aAAa,GAAI,uCAAuC,kBAAkB,
|
|
1
|
+
{"version":3,"file":"ButtonContent.d.ts","sourceRoot":"","sources":["../../../src/ui/Button/ButtonContent.tsx"],"names":[],"mappings":"AAIA,OAAO,EAAE,cAAc,EAAE,MAAM,aAAa,CAAC;AAG7C,OAAO,EAAE,WAAW,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAE3D,OAAO,EAAE,MAAM,EAAE,MAAM,kBAAkB,CAAC;AAG1C,KAAK,kBAAkB,GAAG;IACxB,MAAM,EAAE,MAAM,CAAC;IACf,IAAI,EAAE,YAAY,CAAC;IACnB,KAAK,EAAE,cAAc,CAAC;IACtB,yEAAyE;IACzE,KAAK,EAAE,OAAO,CAAC;IACf,KAAK,EAAE,WAAW,CAAC;CACpB,CAAC;AAWF;;;GAGG;AACH,eAAO,MAAM,aAAa,GAAI,uCAAuC,kBAAkB,gCA8CtF,CAAC"}
|
|
@@ -4,7 +4,7 @@ import { Typography } from '../../core/Typography';
|
|
|
4
4
|
import { LeadingSlot } from '../Leading';
|
|
5
5
|
import { Spinner } from '../Spinner';
|
|
6
6
|
import { useDelaiDAffichage } from '../Spinner/useDelaiDAffichage';
|
|
7
|
-
import { styleDeLIcone,
|
|
7
|
+
import { styleDeLIcone, styleDuConteneur, styleDuLibelle } from './buttonStyling';
|
|
8
8
|
import { placeDuSpinner } from './placeDuSpinner';
|
|
9
9
|
/** Un cote du libelle : son contenu, ou le spinner venu prendre sa place. */
|
|
10
10
|
const Emplacement = ({ spinner, contenu, apparence }) => {
|
|
@@ -18,13 +18,17 @@ const Emplacement = ({ spinner, contenu, apparence }) => {
|
|
|
18
18
|
*/
|
|
19
19
|
export const ButtonContent = ({ styles, etat, state, actif, props }) => {
|
|
20
20
|
const { title, leading, trailing, contentAlign = 'center', isLoading, loadingDelay = 'long', ContainerProps = {}, } = props;
|
|
21
|
-
const { style,
|
|
21
|
+
const { style, ...containerProps } = ContainerProps;
|
|
22
22
|
const hovered = !!state.hovered;
|
|
23
23
|
const icone = styleDeLIcone(styles, etat, hovered);
|
|
24
24
|
const place = placeDuSpinner(useDelaiDAffichage(isLoading ? loadingDelay : false) && !!isLoading, leading, trailing);
|
|
25
25
|
const recouvreLeLibelle = place === 'libelle';
|
|
26
26
|
const aGauche = contentAlign === 'start';
|
|
27
|
-
return (_jsxs(Box, { style: [
|
|
27
|
+
return (_jsxs(Box, { style: [
|
|
28
|
+
styleDuConteneur(styles, etat, { actif, survole: hovered }),
|
|
29
|
+
aGauche && { justifyContent: 'flex-start' },
|
|
30
|
+
style,
|
|
31
|
+
], ...containerProps, children: [_jsx(Emplacement, { spinner: place === 'tete', contenu: leading, apparence: icone }), _jsx(Typography, { "user-select": "false", style: {
|
|
28
32
|
...styleDuLibelle(styles, etat, hovered),
|
|
29
33
|
...(recouvreLeLibelle ? styles.libelleMasque : {}),
|
|
30
34
|
...(aGauche ? { flexGrow: 1, textAlign: 'left' } : {}),
|
|
@@ -1,30 +1,14 @@
|
|
|
1
1
|
import { CSSProperties } from 'react';
|
|
2
|
+
import { ViewStyle } from 'react-native';
|
|
2
3
|
import { IconProps } from '../LucideIcon';
|
|
3
4
|
import type { ButtonIconProps } from './ButtonIcon';
|
|
4
5
|
import { ButtonTaille, Styles } from './buttonVariants';
|
|
5
6
|
export type EtatDuBoutonIcone = Pick<ButtonIconProps, 'variant' | 'disabled' | 'iconSize' | 'style'> & {
|
|
6
7
|
taille: ButtonTaille;
|
|
7
8
|
};
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
borderBottomLeftRadius: string | number | import("react-native").Animated.AnimatedNode;
|
|
11
|
-
borderBottomRightRadius: string | number | import("react-native").Animated.AnimatedNode;
|
|
12
|
-
borderRadius?: string | import("react-native").AnimatableNumericValue | undefined;
|
|
13
|
-
borderTopLeftRadius: string | number | import("react-native").Animated.AnimatedNode;
|
|
14
|
-
borderTopRightRadius: string | number | import("react-native").Animated.AnimatedNode;
|
|
15
|
-
height: import("react-native").DimensionValue;
|
|
16
|
-
width: import("react-native").DimensionValue;
|
|
17
|
-
overflow: "hidden";
|
|
18
|
-
borderWidth: number;
|
|
19
|
-
borderStyle: "solid";
|
|
20
|
-
borderColor: string;
|
|
21
|
-
boxSizing: "border-box";
|
|
22
|
-
justifyContent: "center";
|
|
23
|
-
alignItems: "center";
|
|
24
|
-
transitionProperty: "all";
|
|
25
|
-
transitionDuration: "150ms";
|
|
26
|
-
transitionTimingFunction: "ease";
|
|
27
|
-
};
|
|
9
|
+
type CadreDIcone = ViewStyle & Pick<CSSProperties, 'transitionProperty' | 'transitionDuration' | 'transitionTimingFunction'>;
|
|
10
|
+
export declare const styleDuCadreDIcone: (styles: Styles, etat: EtatDuBoutonIcone, hovered: boolean) => CadreDIcone;
|
|
28
11
|
export declare const apparenceDeLIcone: (styles: Styles, { variant, taille, disabled, iconSize }: EtatDuBoutonIcone, hovered: boolean) => Omit<IconProps, "name">;
|
|
29
12
|
export declare const styleDuNombre: (styles: Styles, { variant, disabled }: EtatDuBoutonIcone, hovered: boolean) => CSSProperties;
|
|
13
|
+
export {};
|
|
30
14
|
//# sourceMappingURL=buttonIconStyling.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"buttonIconStyling.d.ts","sourceRoot":"","sources":["../../../src/ui/Button/buttonIconStyling.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,OAAO,CAAC;AACtC,OAAO,EAAE,SAAS,EAAE,MAAM,eAAe,CAAC;AAC1C,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,cAAc,CAAC;AAEpD,OAAO,EACL,YAAY,EAOZ,MAAM,EAGP,MAAM,kBAAkB,CAAC;AAE1B,MAAM,MAAM,iBAAiB,GAAG,IAAI,CAAC,eAAe,EAAE,SAAS,GAAG,UAAU,GAAG,UAAU,GAAG,OAAO,CAAC,GAAG;IACrG,MAAM,EAAE,YAAY,CAAC;CACtB,CAAC;
|
|
1
|
+
{"version":3,"file":"buttonIconStyling.d.ts","sourceRoot":"","sources":["../../../src/ui/Button/buttonIconStyling.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,OAAO,CAAC;AACtC,OAAO,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AACzC,OAAO,EAAE,SAAS,EAAE,MAAM,eAAe,CAAC;AAC1C,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,cAAc,CAAC;AAEpD,OAAO,EACL,YAAY,EAOZ,MAAM,EAGP,MAAM,kBAAkB,CAAC;AAE1B,MAAM,MAAM,iBAAiB,GAAG,IAAI,CAAC,eAAe,EAAE,SAAS,GAAG,UAAU,GAAG,UAAU,GAAG,OAAO,CAAC,GAAG;IACrG,MAAM,EAAE,YAAY,CAAC;CACtB,CAAC;AAUF,KAAK,WAAW,GAAG,SAAS,GAC1B,IAAI,CAAC,aAAa,EAAE,oBAAoB,GAAG,oBAAoB,GAAG,0BAA0B,CAAC,CAAC;AAEhG,eAAO,MAAM,kBAAkB,GAAI,QAAQ,MAAM,EAAE,MAAM,iBAAiB,EAAE,SAAS,OAAO,KAAG,WAsB9F,CAAC;AAEF,eAAO,MAAM,iBAAiB,GAC5B,QAAQ,MAAM,EACd,yCAAyC,iBAAiB,EAC1D,SAAS,OAAO,KACf,IAAI,CAAC,SAAS,EAAE,MAAM,CAGvB,CAAC;AAEH,eAAO,MAAM,aAAa,GACxB,QAAQ,MAAM,EACd,uBAAuB,iBAAiB,EACxC,SAAS,OAAO,KACf,aASF,CAAC"}
|
|
@@ -2,9 +2,15 @@ import { StyleValue } from '@alveole/theme';
|
|
|
2
2
|
import { IconProps } from '../LucideIcon';
|
|
3
3
|
import { EtatDuBouton } from './Button.types';
|
|
4
4
|
import { Styles } from './buttonVariants';
|
|
5
|
-
/**
|
|
6
|
-
|
|
7
|
-
|
|
5
|
+
/**
|
|
6
|
+
* Le fond et les rembourrages : tout ce qui se pose sur le Box interieur. Le survol suit l'etat
|
|
7
|
+
* du pointeur, comme le libelle et l'icone : Tamagui v3 a retire `hoverStyle`.
|
|
8
|
+
*/
|
|
9
|
+
export declare const styleDuConteneur: (styles: Styles, etat: EtatDuBouton, { actif, survole }: {
|
|
10
|
+
actif: boolean;
|
|
11
|
+
survole?: boolean;
|
|
12
|
+
}) => StyleValue;
|
|
13
|
+
/** Le fond que prend le conteneur sous le pointeur. */
|
|
8
14
|
export declare const styleDeSurvol: (styles: Styles, { variant, selected, disabled }: EtatDuBouton) => StyleValue;
|
|
9
15
|
export declare const styleDuLibelle: (styles: Styles, etat: EtatDuBouton, hovered: boolean) => StyleValue;
|
|
10
16
|
export declare const styleDeLIcone: (styles: Styles, etat: EtatDuBouton, hovered: boolean) => Omit<IconProps, "name">;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"buttonStyling.d.ts","sourceRoot":"","sources":["../../../src/ui/Button/buttonStyling.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,gBAAgB,CAAC;AAC5C,OAAO,EAAE,SAAS,EAAE,MAAM,eAAe,CAAC;AAC1C,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAC9C,OAAO,EAQL,MAAM,EAIP,MAAM,kBAAkB,CAAC;AAc1B
|
|
1
|
+
{"version":3,"file":"buttonStyling.d.ts","sourceRoot":"","sources":["../../../src/ui/Button/buttonStyling.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,gBAAgB,CAAC;AAC5C,OAAO,EAAE,SAAS,EAAE,MAAM,eAAe,CAAC;AAC1C,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAC9C,OAAO,EAQL,MAAM,EAIP,MAAM,kBAAkB,CAAC;AAc1B;;;GAGG;AACH,eAAO,MAAM,gBAAgB,GAC3B,QAAQ,MAAM,EACd,MAAM,YAAY,EAClB,oBAA4B;IAAE,KAAK,EAAE,OAAO,CAAC;IAAC,OAAO,CAAC,EAAE,OAAO,CAAA;CAAE,KAChE,UAUD,CAAC;AAEH,uDAAuD;AACvD,eAAO,MAAM,aAAa,GAAI,QAAQ,MAAM,EAAE,iCAAiC,YAAY,KAAG,UAK7F,CAAC;AAEF,eAAO,MAAM,cAAc,GAAI,QAAQ,MAAM,EAAE,MAAM,YAAY,EAAE,SAAS,OAAO,KAAG,UAQrF,CAAC;AAEF,eAAO,MAAM,aAAa,GAAI,QAAQ,MAAM,EAAE,MAAM,YAAY,EAAE,SAAS,OAAO,KAAG,IAAI,CAAC,SAAS,EAAE,MAAM,CAO1G,CAAC;AAEF;iEACiE;AACjE,eAAO,MAAM,gBAAgB,GAAI,QAAQ,MAAM,EAAE,MAAM,YAAY,EAAE,OAAO;IAAE,OAAO,EAAE,OAAO,CAAA;CAAE;;;;;;;;;;;;CAgC/F,CAAC"}
|
|
@@ -9,10 +9,14 @@ const styleDeFond = (styles, { variant, selected, disabled }, actif) => {
|
|
|
9
9
|
const etats = CONTENEUR_PAR_VARIANT[variant];
|
|
10
10
|
return { ...styles[etats.repos], ...styleDe(styles, cleDEtat(etats, { disabled, actif })) };
|
|
11
11
|
};
|
|
12
|
-
/**
|
|
13
|
-
|
|
12
|
+
/**
|
|
13
|
+
* Le fond et les rembourrages : tout ce qui se pose sur le Box interieur. Le survol suit l'etat
|
|
14
|
+
* du pointeur, comme le libelle et l'icone : Tamagui v3 a retire `hoverStyle`.
|
|
15
|
+
*/
|
|
16
|
+
export const styleDuConteneur = (styles, etat, { actif, survole = false }) => ({
|
|
14
17
|
...styles.container,
|
|
15
18
|
...styleDeFond(styles, etat, actif),
|
|
19
|
+
...(survole ? styleDeSurvol(styles, etat) : {}),
|
|
16
20
|
...styleDe(styles, CONTENEUR_PAR_TAILLE[etat.taille]),
|
|
17
21
|
// La bordure est posee sur le Pressable, pas ici : le Box doit donc annuler celle que son
|
|
18
22
|
// style de variante lui aurait donnee, sans quoi les deux se superposeraient.
|
|
@@ -20,7 +24,7 @@ export const styleDuConteneur = (styles, etat, actif) => ({
|
|
|
20
24
|
borderColor: undefined,
|
|
21
25
|
borderStyle: undefined,
|
|
22
26
|
});
|
|
23
|
-
/** Le
|
|
27
|
+
/** Le fond que prend le conteneur sous le pointeur. */
|
|
24
28
|
export const styleDeSurvol = (styles, { variant, selected, disabled }) => {
|
|
25
29
|
if (disabled)
|
|
26
30
|
return {};
|
|
@@ -28,7 +28,7 @@ declare const _default: {
|
|
|
28
28
|
alignItems: "center";
|
|
29
29
|
};
|
|
30
30
|
titleText: {
|
|
31
|
-
color:
|
|
31
|
+
color: import("@alveole/theme").ThemeColor;
|
|
32
32
|
fontSize: 14;
|
|
33
33
|
lineHeight: 20;
|
|
34
34
|
letterSpacing: 0;
|
|
@@ -46,7 +46,7 @@ declare const _default: {
|
|
|
46
46
|
alignItems: "center";
|
|
47
47
|
};
|
|
48
48
|
descriptionText: {
|
|
49
|
-
color:
|
|
49
|
+
color: import("@alveole/theme").ThemeColor;
|
|
50
50
|
fontSize: 14;
|
|
51
51
|
lineHeight: 20;
|
|
52
52
|
letterSpacing: 0;
|
|
@@ -57,7 +57,7 @@ declare const _default: {
|
|
|
57
57
|
textDecoration: string;
|
|
58
58
|
};
|
|
59
59
|
disabledText: {
|
|
60
|
-
color:
|
|
60
|
+
color: import("@alveole/theme").ThemeColor;
|
|
61
61
|
};
|
|
62
62
|
};
|
|
63
63
|
};
|
|
@@ -65,6 +65,8 @@ export default _default;
|
|
|
65
65
|
export declare const card: () => import("react").JSX.Element;
|
|
66
66
|
export declare const cardDisabled: () => import("react").JSX.Element;
|
|
67
67
|
export declare const cardWithMedia: () => import("react").JSX.Element;
|
|
68
|
+
export declare const cardFichier: () => import("react").JSX.Element;
|
|
69
|
+
export declare const cardFichierSansApercu: () => import("react").JSX.Element;
|
|
68
70
|
export declare const cardWithMediaDisabled: () => import("react").JSX.Element;
|
|
69
71
|
export declare const cardSection: () => import("react").JSX.Element;
|
|
70
72
|
export declare const cardSectionDisabled: () => import("react").JSX.Element;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Card.stories.d.ts","sourceRoot":"","sources":["../../../src/ui/Card/Card.stories.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"Card.stories.d.ts","sourceRoot":"","sources":["../../../src/ui/Card/Card.stories.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAWA,wBAQkB;AAElB,eAAO,MAAM,IAAI,mCAuBhB,CAAC;AAEF,eAAO,MAAM,YAAY,mCAwBxB,CAAC;AAEF,eAAO,MAAM,aAAa,mCA0BzB,CAAC;AAEF,eAAO,MAAM,WAAW,mCAiBvB,CAAC;AAEF,eAAO,MAAM,qBAAqB,mCAgBjC,CAAC;AAEF,eAAO,MAAM,qBAAqB,mCA2BjC,CAAC;AAEF,eAAO,MAAM,WAAW,mCASvB,CAAC;AAEF,eAAO,MAAM,mBAAmB,mCAU/B,CAAC;AAEF,eAAO,MAAM,mBAAmB,mCAU/B,CAAC;AAEF,eAAO,MAAM,UAAU,mCAiBtB,CAAC;AAEF,eAAO,MAAM,kBAAkB,mCAc9B,CAAC;AAEF,kGAAkG;AAClG,eAAO,MAAM,WAAW,mCAOvB,CAAC;AAEF,OAAO,KAAK,OAAO,MAAM,wBAAwB,CAAC"}
|
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
2
|
import { Box } from '../../core/Box';
|
|
3
|
+
import { Image } from '../../core/Image';
|
|
4
|
+
import { Typography } from '../../core/Typography';
|
|
3
5
|
import { Avatar } from '../Avatar';
|
|
4
6
|
import { Badge } from '../Badge';
|
|
5
7
|
import { Button } from '../Button';
|
|
@@ -22,10 +24,16 @@ export const cardDisabled = () => {
|
|
|
22
24
|
return (_jsx(Box, { style: { width: '100%', maxWidth: 400 }, children: _jsxs(Card, { children: [_jsx(Card.Header, { variant: "disabled", titre: "Titre lorem", sousTitre: "Sous-titre", image: _jsx(Avatar, { size: "md", src: "https://picsum.photos/100/100", fallbackText: "M" }), badge: _jsx(Badge, { variant: "default", size: "sm", children: "PR\u00C9SENT" }) }), _jsx(Card.Section, { variant: "disabled", titre: "Titre section", titreIcone: "Calendar", description: "Description" }), _jsx(Card.Section, { variant: "disabled", titre: "Titre section", titreIcone: "Calendar", description: "Description" }), _jsxs(Card.Actions, { children: [_jsx(Button, { variant: "secondary", title: "Libell\u00E9", size: "sm", disabled: true }), _jsx(Button, { variant: "primary", title: "Libell\u00E9", size: "sm", disabled: true })] })] }) }));
|
|
23
25
|
};
|
|
24
26
|
export const cardWithMedia = () => {
|
|
25
|
-
return (_jsx(Box, { style: { width: '100%', maxWidth: 400 }, children: _jsxs(Card, { children: [_jsx(Card.Media, { children: _jsx(
|
|
27
|
+
return (_jsx(Box, { style: { width: '100%', maxWidth: 400 }, children: _jsxs(Card, { children: [_jsx(Card.Media, { children: _jsx(Image, { source: "https://picsum.photos/400/200", alt: "", width: "100%", height: 200 }) }), _jsx(Card.Header, { titre: "Titre lorem", sousTitre: "Sous-titre", image: _jsx(Avatar, { size: "md", fallbackText: "M" }), badge: _jsx(Badge, { variant: "success", size: "sm", children: "PR\u00C9SENT" }) }), _jsx(Card.Section, { titre: "Titre section", titreIcone: "Calendar", description: "Description" }), _jsx(Card.Section, { titre: "Titre section", titreIcone: "Calendar", description: "Description" }), _jsxs(Card.Actions, { children: [_jsx(Button, { variant: "secondary", title: "Libell\u00E9", size: "sm" }), _jsx(Button, { variant: "primary", title: "Libell\u00E9", size: "sm" })] })] }) }));
|
|
28
|
+
};
|
|
29
|
+
export const cardFichier = () => {
|
|
30
|
+
return (_jsx(Box, { style: { width: 282 }, children: _jsxs(Card, { children: [_jsx(Card.Media, { children: _jsx(Image, { source: "https://alveole.captive.fr/apercu-pdf.png", alt: "", width: "100%", height: 159 }) }), _jsxs(Box, { display: "flex", flexDirection: "row", gap: "1,5V", style: { alignItems: 'center' }, children: [_jsx(Badge, { variant: "error", size: "sm", children: "PDF" }), _jsx(Typography, { numberOfLines: 1, children: "PC-16100_Proposition_commerciale.pdf" })] })] }) }));
|
|
31
|
+
};
|
|
32
|
+
export const cardFichierSansApercu = () => {
|
|
33
|
+
return (_jsx(Box, { style: { width: 282 }, children: _jsxs(Card, { children: [_jsx(Card.Media, { style: { height: 159, alignItems: 'center', justifyContent: 'center' }, children: _jsx(LucideIcon, { name: "File", size: "md" }) }), _jsxs(Box, { display: "flex", flexDirection: "row", gap: "1,5V", style: { alignItems: 'center' }, children: [_jsx(Badge, { variant: "error", size: "sm", children: "PDF" }), _jsx(Typography, { numberOfLines: 1, children: "PC-16100_Proposition_commerciale.pdf" })] })] }) }));
|
|
26
34
|
};
|
|
27
35
|
export const cardWithMediaDisabled = () => {
|
|
28
|
-
return (_jsx(Box, { style: { width: '100%', maxWidth: 400 }, children: _jsxs(Card, { children: [_jsx(Card.Media, { variant: "disabled", children: _jsx(
|
|
36
|
+
return (_jsx(Box, { style: { width: '100%', maxWidth: 400 }, children: _jsxs(Card, { children: [_jsx(Card.Media, { variant: "disabled", children: _jsx(Image, { source: "https://picsum.photos/400/200", alt: "", width: "100%", height: 200 }) }), _jsx(Card.Header, { variant: "disabled", titre: "Titre lorem", sousTitre: "Sous-titre", image: _jsx(Avatar, { size: "md", fallbackText: "M" }), badge: _jsx(Badge, { variant: "default", size: "sm", children: "PR\u00C9SENT" }) }), _jsx(Card.Section, { variant: "disabled", titre: "Titre section", titreIcone: "Calendar", description: "Description" }), _jsx(Card.Section, { variant: "disabled", titre: "Titre section", titreIcone: "Calendar", description: "Description" }), _jsxs(Card.Actions, { children: [_jsx(Button, { variant: "secondary", title: "Libell\u00E9", size: "sm", disabled: true }), _jsx(Button, { variant: "primary", title: "Libell\u00E9", size: "sm", disabled: true })] })] }) }));
|
|
29
37
|
};
|
|
30
38
|
export const cardSection = () => {
|
|
31
39
|
return (_jsx(Card.Section, { titre: "Titre de la carte", description: "Description de la carte", titreIcone: "Image", descriptionIcone: "Image" }));
|
|
@@ -37,7 +45,7 @@ export const cardSectionWithLink = () => {
|
|
|
37
45
|
return (_jsx(Card.Section, { titre: "Titre de la carte", description: "Description de la carte", descriptionLink: "/", titreIcone: "Image", descriptionIcone: "Image" }));
|
|
38
46
|
};
|
|
39
47
|
export const cardHeader = () => {
|
|
40
|
-
return (_jsxs(Box, { display: "flex", flexDirection: "column", gap: "
|
|
48
|
+
return (_jsxs(Box, { display: "flex", flexDirection: "column", gap: "2W", children: [_jsx(Card.Header, { titre: "Titre lorem", sousTitre: "Sous-titre", image: _jsx(Avatar, { size: "md", fallbackText: "M" }), badge: _jsx(Badge, { variant: "success", size: "sm", children: "PR\u00C9SENT" }) }), _jsx(Card.Header, { titre: "Titre lorem", sousTitre: "Sous-titre", image: _jsx(LucideIcon, { name: "Image", size: "md" }) })] }));
|
|
41
49
|
};
|
|
42
50
|
export const cardHeaderDisabled = () => {
|
|
43
51
|
return (_jsx(Card.Header, { variant: "disabled", titre: "Titre lorem", sousTitre: "Sous-titre", image: _jsx(Avatar, { size: "md", fallbackText: "M" }), badge: _jsx(Badge, { variant: "default", size: "sm", children: "PR\u00C9SENT" }) }));
|
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
export declare const card: () => string;
|
|
2
2
|
export declare const cardDisabled: () => string;
|
|
3
3
|
export declare const cardWithMedia: () => string;
|
|
4
|
+
export declare const cardFichier: () => string;
|
|
5
|
+
export declare const cardFichierSansApercu: () => string;
|
|
4
6
|
export declare const cardWithMediaDisabled: () => string;
|
|
5
7
|
export declare const cardSection: () => string;
|
|
6
8
|
export declare const cardSectionDisabled: () => string;
|
|
@@ -12,6 +14,8 @@ export declare const storySources: {
|
|
|
12
14
|
readonly card: () => string;
|
|
13
15
|
readonly cardDisabled: () => string;
|
|
14
16
|
readonly cardWithMedia: () => string;
|
|
17
|
+
readonly cardFichier: () => string;
|
|
18
|
+
readonly cardFichierSansApercu: () => string;
|
|
15
19
|
readonly cardWithMediaDisabled: () => string;
|
|
16
20
|
readonly cardSection: () => string;
|
|
17
21
|
readonly cardSectionDisabled: () => string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Card.stories.sources.d.ts","sourceRoot":"","sources":["../../../src/ui/Card/Card.stories.sources.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,IAAI,cAA80B,CAAC;AAEh2B,eAAO,MAAM,YAAY,cAAw9B,CAAC;AAEl/B,eAAO,MAAM,aAAa,
|
|
1
|
+
{"version":3,"file":"Card.stories.sources.d.ts","sourceRoot":"","sources":["../../../src/ui/Card/Card.stories.sources.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,IAAI,cAA80B,CAAC;AAEh2B,eAAO,MAAM,YAAY,cAAw9B,CAAC;AAEl/B,eAAO,MAAM,aAAa,cAAu+B,CAAC;AAElgC,eAAO,MAAM,WAAW,cAAssB,CAAC;AAE/tB,eAAO,MAAM,qBAAqB,cAAsmB,CAAC;AAEzoB,eAAO,MAAM,qBAAqB,cAAgmC,CAAC;AAEnoC,eAAO,MAAM,WAAW,cAA8O,CAAC;AAEvQ,eAAO,MAAM,mBAAmB,cAAkR,CAAC;AAEnT,eAAO,MAAM,mBAAmB,cAAmR,CAAC;AAEpT,eAAO,MAAM,UAAU,cAA0hB,CAAC;AAEljB,eAAO,MAAM,kBAAkB,cAAoW,CAAC;AAEpY,eAAO,MAAM,WAAW,cAAoP,CAAC;AAE7Q,eAAO,MAAM,YAAY;;;;;;;;;;;;;CAaf,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"}
|
|
@@ -2,18 +2,22 @@
|
|
|
2
2
|
// Source: src/ui/Card/Card.stories.tsx
|
|
3
3
|
export const card = () => "export const card = () => {\n return (\n <Box style={{ width: '100%', maxWidth: 400 }}>\n <Card>\n <Card.Header\n titre=\"Titre lorem\"\n sousTitre=\"Sous-titre\"\n image={<Avatar size=\"md\" fallbackText=\"M\" />}\n badge={\n <Badge variant=\"success\" size=\"sm\">\n PRÉSENT\n </Badge>\n }\n />\n <Card.Section titre=\"Titre section\" titreIcone=\"Calendar\" description=\"Description\" />\n <Card.Section titre=\"Titre section\" titreIcone=\"Calendar\" description=\"Description\" />\n <Card.Actions>\n <Button variant=\"secondary\" title=\"Libellé\" size=\"sm\" />\n <Button variant=\"primary\" title=\"Libellé\" size=\"sm\" />\n </Card.Actions>\n </Card>\n </Box>\n );\n};";
|
|
4
4
|
export const cardDisabled = () => "export const cardDisabled = () => {\n return (\n <Box style={{ width: '100%', maxWidth: 400 }}>\n <Card>\n <Card.Header\n variant=\"disabled\"\n titre=\"Titre lorem\"\n sousTitre=\"Sous-titre\"\n image={<Avatar size=\"md\" src=\"https://picsum.photos/100/100\" fallbackText=\"M\" />}\n badge={\n <Badge variant=\"default\" size=\"sm\">\n PRÉSENT\n </Badge>\n }\n />\n <Card.Section variant=\"disabled\" titre=\"Titre section\" titreIcone=\"Calendar\" description=\"Description\" />\n <Card.Section variant=\"disabled\" titre=\"Titre section\" titreIcone=\"Calendar\" description=\"Description\" />\n <Card.Actions>\n <Button variant=\"secondary\" title=\"Libellé\" size=\"sm\" disabled />\n <Button variant=\"primary\" title=\"Libellé\" size=\"sm\" disabled />\n </Card.Actions>\n </Card>\n </Box>\n );\n};";
|
|
5
|
-
export const cardWithMedia = () => "export const cardWithMedia = () => {\n return (\n <Box style={{ width: '100%', maxWidth: 400 }}>\n <Card>\n <Card.Media>\n <
|
|
6
|
-
export const
|
|
5
|
+
export const cardWithMedia = () => "export const cardWithMedia = () => {\n return (\n <Box style={{ width: '100%', maxWidth: 400 }}>\n <Card>\n <Card.Media>\n <Image source=\"https://picsum.photos/400/200\" alt=\"\" width=\"100%\" height={200} />\n </Card.Media>\n <Card.Header\n titre=\"Titre lorem\"\n sousTitre=\"Sous-titre\"\n image={<Avatar size=\"md\" fallbackText=\"M\" />}\n badge={\n <Badge variant=\"success\" size=\"sm\">\n PRÉSENT\n </Badge>\n }\n />\n <Card.Section titre=\"Titre section\" titreIcone=\"Calendar\" description=\"Description\" />\n <Card.Section titre=\"Titre section\" titreIcone=\"Calendar\" description=\"Description\" />\n <Card.Actions>\n <Button variant=\"secondary\" title=\"Libellé\" size=\"sm\" />\n <Button variant=\"primary\" title=\"Libellé\" size=\"sm\" />\n </Card.Actions>\n </Card>\n </Box>\n );\n};";
|
|
6
|
+
export const cardFichier = () => "export const cardFichier = () => {\n return (\n <Box style={{ width: 282 }}>\n <Card>\n <Card.Media>\n {/* URL absolue de la doc : un require d'asset ne se résout pas dans les apps qui affichent ces stories */}\n <Image source=\"https://alveole.captive.fr/apercu-pdf.png\" alt=\"\" width=\"100%\" height={159} />\n </Card.Media>\n <Box display=\"flex\" flexDirection=\"row\" gap=\"1,5V\" style={{ alignItems: 'center' }}>\n <Badge variant=\"error\" size=\"sm\">\n PDF\n </Badge>\n <Typography numberOfLines={1}>PC-16100_Proposition_commerciale.pdf</Typography>\n </Box>\n </Card>\n </Box>\n );\n};";
|
|
7
|
+
export const cardFichierSansApercu = () => "export const cardFichierSansApercu = () => {\n return (\n <Box style={{ width: 282 }}>\n <Card>\n <Card.Media style={{ height: 159, alignItems: 'center', justifyContent: 'center' }}>\n <LucideIcon name=\"File\" size=\"md\" />\n </Card.Media>\n <Box display=\"flex\" flexDirection=\"row\" gap=\"1,5V\" style={{ alignItems: 'center' }}>\n <Badge variant=\"error\" size=\"sm\">\n PDF\n </Badge>\n <Typography numberOfLines={1}>PC-16100_Proposition_commerciale.pdf</Typography>\n </Box>\n </Card>\n </Box>\n );\n};";
|
|
8
|
+
export const cardWithMediaDisabled = () => "export const cardWithMediaDisabled = () => {\n return (\n <Box style={{ width: '100%', maxWidth: 400 }}>\n <Card>\n <Card.Media variant=\"disabled\">\n <Image source=\"https://picsum.photos/400/200\" alt=\"\" width=\"100%\" height={200} />\n </Card.Media>\n <Card.Header\n variant=\"disabled\"\n titre=\"Titre lorem\"\n sousTitre=\"Sous-titre\"\n image={<Avatar size=\"md\" fallbackText=\"M\" />}\n badge={\n <Badge variant=\"default\" size=\"sm\">\n PRÉSENT\n </Badge>\n }\n />\n <Card.Section variant=\"disabled\" titre=\"Titre section\" titreIcone=\"Calendar\" description=\"Description\" />\n <Card.Section variant=\"disabled\" titre=\"Titre section\" titreIcone=\"Calendar\" description=\"Description\" />\n <Card.Actions>\n <Button variant=\"secondary\" title=\"Libellé\" size=\"sm\" disabled />\n <Button variant=\"primary\" title=\"Libellé\" size=\"sm\" disabled />\n </Card.Actions>\n </Card>\n </Box>\n );\n};";
|
|
7
9
|
export const cardSection = () => "export const cardSection = () => {\n return (\n <Card.Section\n titre=\"Titre de la carte\"\n description=\"Description de la carte\"\n titreIcone=\"Image\"\n descriptionIcone=\"Image\"\n />\n );\n};";
|
|
8
10
|
export const cardSectionDisabled = () => "export const cardSectionDisabled = () => {\n return (\n <Card.Section\n variant=\"disabled\"\n titre=\"Titre de la carte\"\n description=\"Description de la carte\"\n titreIcone=\"Image\"\n descriptionIcone=\"Image\"\n />\n );\n};";
|
|
9
11
|
export const cardSectionWithLink = () => "export const cardSectionWithLink = () => {\n return (\n <Card.Section\n titre=\"Titre de la carte\"\n description=\"Description de la carte\"\n descriptionLink=\"/\"\n titreIcone=\"Image\"\n descriptionIcone=\"Image\"\n />\n );\n};";
|
|
10
|
-
export const cardHeader = () => "export const cardHeader = () => {\n return (\n <Box display=\"flex\" flexDirection=\"column\" gap=\"
|
|
12
|
+
export const cardHeader = () => "export const cardHeader = () => {\n return (\n <Box display=\"flex\" flexDirection=\"column\" gap=\"2W\">\n <Card.Header\n titre=\"Titre lorem\"\n sousTitre=\"Sous-titre\"\n image={<Avatar size=\"md\" fallbackText=\"M\" />}\n badge={\n <Badge variant=\"success\" size=\"sm\">\n PRÉSENT\n </Badge>\n }\n />\n\n <Card.Header titre=\"Titre lorem\" sousTitre=\"Sous-titre\" image={<LucideIcon name=\"Image\" size=\"md\" />} />\n </Box>\n );\n};";
|
|
11
13
|
export const cardHeaderDisabled = () => "export const cardHeaderDisabled = () => {\n return (\n <Card.Header\n variant=\"disabled\"\n titre=\"Titre lorem\"\n sousTitre=\"Sous-titre\"\n image={<Avatar size=\"md\" fallbackText=\"M\" />}\n badge={\n <Badge variant=\"default\" size=\"sm\">\n PRÉSENT\n </Badge>\n }\n />\n );\n};";
|
|
12
14
|
export const cardActions = () => "export const cardActions = () => {\n return (\n <Card.Actions>\n <Button variant=\"secondary\" title=\"Action\" size=\"sm\" />\n <Button variant=\"primary\" title=\"Action\" size=\"sm\" />\n </Card.Actions>\n );\n};";
|
|
13
15
|
export const storySources = {
|
|
14
16
|
card,
|
|
15
17
|
cardDisabled,
|
|
16
18
|
cardWithMedia,
|
|
19
|
+
cardFichier,
|
|
20
|
+
cardFichierSansApercu,
|
|
17
21
|
cardWithMediaDisabled,
|
|
18
22
|
cardSection,
|
|
19
23
|
cardSectionDisabled,
|
|
@@ -3,9 +3,9 @@ export declare const useStyles: () => {
|
|
|
3
3
|
display: "flex";
|
|
4
4
|
flexDirection: "column";
|
|
5
5
|
width: "100%";
|
|
6
|
-
backgroundColor:
|
|
6
|
+
backgroundColor: import("@alveole/theme").ThemeColor;
|
|
7
7
|
borderWidth: number;
|
|
8
|
-
borderColor:
|
|
8
|
+
borderColor: import("@alveole/theme").ThemeColor;
|
|
9
9
|
borderStyle: "solid";
|
|
10
10
|
boxSizing: "border-box";
|
|
11
11
|
borderRadius: import("@alveole/theme").Radius;
|
|
@@ -11,7 +11,7 @@ export declare const useStyles: () => {
|
|
|
11
11
|
flex: number;
|
|
12
12
|
};
|
|
13
13
|
titre: {
|
|
14
|
-
color:
|
|
14
|
+
color: import("@alveole/theme").ThemeColor;
|
|
15
15
|
fontSize: 16;
|
|
16
16
|
lineHeight: 24;
|
|
17
17
|
letterSpacing: 0;
|
|
@@ -19,7 +19,7 @@ export declare const useStyles: () => {
|
|
|
19
19
|
fontWeight?: import("react-native").TextStyle["fontWeight"];
|
|
20
20
|
};
|
|
21
21
|
sousTitre: {
|
|
22
|
-
color:
|
|
22
|
+
color: import("@alveole/theme").ThemeColor;
|
|
23
23
|
fontSize: 14;
|
|
24
24
|
lineHeight: 20;
|
|
25
25
|
letterSpacing: 0;
|
|
@@ -27,7 +27,7 @@ export declare const useStyles: () => {
|
|
|
27
27
|
fontWeight?: import("react-native").TextStyle["fontWeight"];
|
|
28
28
|
};
|
|
29
29
|
disabledText: {
|
|
30
|
-
color:
|
|
30
|
+
color: import("@alveole/theme").ThemeColor;
|
|
31
31
|
};
|
|
32
32
|
trailing: {
|
|
33
33
|
display: "flex";
|
|
@@ -16,7 +16,7 @@ export declare const useStyles: () => {
|
|
|
16
16
|
alignItems: "center";
|
|
17
17
|
};
|
|
18
18
|
titleText: {
|
|
19
|
-
color:
|
|
19
|
+
color: import("@alveole/theme").ThemeColor;
|
|
20
20
|
fontSize: 14;
|
|
21
21
|
lineHeight: 20;
|
|
22
22
|
letterSpacing: 0;
|
|
@@ -34,7 +34,7 @@ export declare const useStyles: () => {
|
|
|
34
34
|
alignItems: "center";
|
|
35
35
|
};
|
|
36
36
|
descriptionText: {
|
|
37
|
-
color:
|
|
37
|
+
color: import("@alveole/theme").ThemeColor;
|
|
38
38
|
fontSize: 14;
|
|
39
39
|
lineHeight: 20;
|
|
40
40
|
letterSpacing: 0;
|
|
@@ -45,7 +45,7 @@ export declare const useStyles: () => {
|
|
|
45
45
|
textDecoration: string;
|
|
46
46
|
};
|
|
47
47
|
disabledText: {
|
|
48
|
-
color:
|
|
48
|
+
color: import("@alveole/theme").ThemeColor;
|
|
49
49
|
};
|
|
50
50
|
};
|
|
51
51
|
//# sourceMappingURL=CardSection.styles.d.ts.map
|