@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
|
@@ -6,6 +6,12 @@ declare const _default: {
|
|
|
6
6
|
component: (props: import("./BottomSheet").BottomSheetProps) => import("react").JSX.Element;
|
|
7
7
|
styleFn: () => {
|
|
8
8
|
container: {};
|
|
9
|
+
sheetContainer: {
|
|
10
|
+
marginBottom: string | number;
|
|
11
|
+
};
|
|
12
|
+
sheetBackground: {
|
|
13
|
+
backgroundColor: "#FFFFFF";
|
|
14
|
+
};
|
|
9
15
|
content: {
|
|
10
16
|
backgroundColor: "#FFFFFF";
|
|
11
17
|
marginTop: string | number;
|
|
@@ -20,20 +26,17 @@ declare const _default: {
|
|
|
20
26
|
flexDirection: "row";
|
|
21
27
|
};
|
|
22
28
|
handle: {
|
|
23
|
-
width: "
|
|
24
|
-
margin:
|
|
29
|
+
width: "100%";
|
|
30
|
+
margin: number;
|
|
25
31
|
height: 16;
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
frame: {
|
|
29
|
-
backgroundColor: "#FFFFFF";
|
|
30
|
-
marginBottom: string | number;
|
|
32
|
+
flexShrink: number;
|
|
33
|
+
backgroundColor: "transparent";
|
|
31
34
|
};
|
|
32
35
|
overlay: {
|
|
33
|
-
backgroundColor:
|
|
36
|
+
backgroundColor: import("@alveole/theme").ThemeColor;
|
|
34
37
|
};
|
|
35
38
|
title: {
|
|
36
|
-
color:
|
|
39
|
+
color: import("@alveole/theme").ThemeColor;
|
|
37
40
|
marginTop: string;
|
|
38
41
|
marginBottom: string;
|
|
39
42
|
fontSize: 18;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"BottomSheet.stories.d.ts","sourceRoot":"","sources":["../../../src/ui/BottomSheet/BottomSheet.stories.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"BottomSheet.stories.d.ts","sourceRoot":"","sources":["../../../src/ui/BottomSheet/BottomSheet.stories.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAQA,wBAOkB;AAElB,eAAO,MAAM,OAAO,mCAcnB,CAAC;AAEF,eAAO,MAAM,UAAU,mCAoBtB,CAAC;AAEF,eAAO,MAAM,UAAU,mCActB,CAAC;AAEF,OAAO,KAAK,OAAO,MAAM,+BAA+B,CAAC"}
|
|
@@ -1,5 +1,11 @@
|
|
|
1
1
|
export declare const useStyles: () => {
|
|
2
2
|
container: {};
|
|
3
|
+
sheetContainer: {
|
|
4
|
+
marginBottom: string | number;
|
|
5
|
+
};
|
|
6
|
+
sheetBackground: {
|
|
7
|
+
backgroundColor: "#FFFFFF";
|
|
8
|
+
};
|
|
3
9
|
content: {
|
|
4
10
|
backgroundColor: "#FFFFFF";
|
|
5
11
|
marginTop: string | number;
|
|
@@ -14,20 +20,17 @@ export declare const useStyles: () => {
|
|
|
14
20
|
flexDirection: "row";
|
|
15
21
|
};
|
|
16
22
|
handle: {
|
|
17
|
-
width: "
|
|
18
|
-
margin:
|
|
23
|
+
width: "100%";
|
|
24
|
+
margin: number;
|
|
19
25
|
height: 16;
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
frame: {
|
|
23
|
-
backgroundColor: "#FFFFFF";
|
|
24
|
-
marginBottom: string | number;
|
|
26
|
+
flexShrink: number;
|
|
27
|
+
backgroundColor: "transparent";
|
|
25
28
|
};
|
|
26
29
|
overlay: {
|
|
27
|
-
backgroundColor:
|
|
30
|
+
backgroundColor: import("@alveole/theme").ThemeColor;
|
|
28
31
|
};
|
|
29
32
|
title: {
|
|
30
|
-
color:
|
|
33
|
+
color: import("@alveole/theme").ThemeColor;
|
|
31
34
|
marginTop: string;
|
|
32
35
|
marginBottom: string;
|
|
33
36
|
fontSize: 18;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"BottomSheet.styles.d.ts","sourceRoot":"","sources":["../../../src/ui/BottomSheet/BottomSheet.styles.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,SAAS
|
|
1
|
+
{"version":3,"file":"BottomSheet.styles.d.ts","sourceRoot":"","sources":["../../../src/ui/BottomSheet/BottomSheet.styles.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAqCnB,CAAC"}
|
|
@@ -1,6 +1,12 @@
|
|
|
1
1
|
import { makeStyles, Spacings } from '@alveole/theme';
|
|
2
2
|
export const useStyles = makeStyles(({ spacing, text, color }) => ({
|
|
3
3
|
container: {},
|
|
4
|
+
sheetContainer: {
|
|
5
|
+
marginBottom: spacing('3W'),
|
|
6
|
+
},
|
|
7
|
+
sheetBackground: {
|
|
8
|
+
backgroundColor: '#FFFFFF',
|
|
9
|
+
},
|
|
4
10
|
content: {
|
|
5
11
|
backgroundColor: '#FFFFFF',
|
|
6
12
|
marginTop: spacing('2W'),
|
|
@@ -15,14 +21,11 @@ export const useStyles = makeStyles(({ spacing, text, color }) => ({
|
|
|
15
21
|
flexDirection: 'row',
|
|
16
22
|
},
|
|
17
23
|
handle: {
|
|
18
|
-
width: '
|
|
19
|
-
margin:
|
|
24
|
+
width: '100%',
|
|
25
|
+
margin: 0,
|
|
20
26
|
height: Spacings['2W'],
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
frame: {
|
|
24
|
-
backgroundColor: '#FFFFFF',
|
|
25
|
-
marginBottom: spacing('3W'),
|
|
27
|
+
flexShrink: 0,
|
|
28
|
+
backgroundColor: 'transparent',
|
|
26
29
|
},
|
|
27
30
|
overlay: {
|
|
28
31
|
backgroundColor: color.alpha(color.background.inverse, 0.5),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Breadcrumbs.d.ts","sourceRoot":"","sources":["../../../src/ui/Breadcrumbs/Breadcrumbs.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"Breadcrumbs.d.ts","sourceRoot":"","sources":["../../../src/ui/Breadcrumbs/Breadcrumbs.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,MAAM,OAAO,CAAC;AAO1B,MAAM,MAAM,cAAc,GAAG;IAC3B,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,EAAE,MAAM,GAAG,IAAI,CAAC;IACpB,SAAS,EAAE,OAAO,CAAC;CACpB,CAAC;AAMF,MAAM,MAAM,gBAAgB,GAAG,KAAK,CAAC,iBAAiB,CAAC;IACrD,yEAAyE;IACzE,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB;;OAEG;IACH,cAAc,CAAC,EAAE,MAAM,EAAE,CAAC;IAC1B;;;OAGG;IACH,QAAQ,CAAC,EAAE,CAAC,OAAO,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,KAAK,MAAM,CAAC;IACpE;;;;OAIG;IACH,OAAO,CAAC,EAAE,CAAC,OAAO,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,KAAK,MAAM,GAAG,IAAI,CAAC;CAC3E,CAAC,CAAC;AAEH;;;;;;GAMG;AACH,eAAO,MAAM,WAAW,GAAI,OAAO,gBAAgB,sBAmDlD,CAAC"}
|
|
@@ -2,6 +2,7 @@ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
|
2
2
|
import { usePathname } from 'expo-router';
|
|
3
3
|
import { A } from '../../core/A';
|
|
4
4
|
import { Box } from '../../core/Box';
|
|
5
|
+
import { soulignementAuSurvol } from '../../core/styleTamagui/soulignement';
|
|
5
6
|
import { Typography } from '../../core/Typography';
|
|
6
7
|
import { useStyles } from './Breadcrumbs.styles';
|
|
7
8
|
function humanizeSegment(segment) {
|
|
@@ -38,5 +39,5 @@ export const Breadcrumbs = (props) => {
|
|
|
38
39
|
isCurrent: index === segments.length - 1,
|
|
39
40
|
})),
|
|
40
41
|
];
|
|
41
|
-
return (_jsx(Box, { tag: "breadcrumbs", style: styles.container, children: items.map((item, index) => (_jsxs(Box, { tag: "breadcrumbs-item", style: { flexDirection: 'row', alignItems: 'center' }, children: [index > 0 && _jsx(Box, { tag: "breadcrumbs-separator", "aria-hidden": true, style: styles.separator }), item.isCurrent || item.href === null ? (_jsx(Typography, { style: styles.current, children: item.label })) : (_jsx(A, { href: item.href, style: styles.link,
|
|
42
|
+
return (_jsx(Box, { tag: "breadcrumbs", style: styles.container, children: items.map((item, index) => (_jsxs(Box, { tag: "breadcrumbs-item", style: { flexDirection: 'row', alignItems: 'center' }, children: [index > 0 && _jsx(Box, { tag: "breadcrumbs-separator", "aria-hidden": true, style: styles.separator }), item.isCurrent || item.href === null ? (_jsx(Typography, { style: styles.current, children: item.label })) : (_jsx(A, { href: item.href, style: styles.link, children: _jsx(Typography, { style: styles.link, textDecorationLine: soulignementAuSurvol, children: item.label }) }))] }, `${item.href}-${index}`))) }));
|
|
42
43
|
};
|
|
@@ -21,11 +21,16 @@ declare const _default: {
|
|
|
21
21
|
height: number;
|
|
22
22
|
marginLeft: string | number;
|
|
23
23
|
marginRight: string | number;
|
|
24
|
-
backgroundColor:
|
|
24
|
+
backgroundColor: import("@alveole/theme").ThemeColor;
|
|
25
25
|
transform: "rotate(15deg)";
|
|
26
26
|
};
|
|
27
27
|
current: {
|
|
28
|
-
|
|
28
|
+
fontSize: 14;
|
|
29
|
+
lineHeight: 20;
|
|
30
|
+
letterSpacing: 0;
|
|
31
|
+
fontFamily: string;
|
|
32
|
+
fontWeight?: import("react-native").TextStyle["fontWeight"];
|
|
33
|
+
color: import("@alveole/theme").ThemeColor;
|
|
29
34
|
};
|
|
30
35
|
link: {
|
|
31
36
|
transitionProperty: "text-decoration";
|
|
@@ -36,11 +41,7 @@ declare const _default: {
|
|
|
36
41
|
letterSpacing: 0;
|
|
37
42
|
fontFamily: string;
|
|
38
43
|
fontWeight?: import("react-native").TextStyle["fontWeight"];
|
|
39
|
-
color:
|
|
40
|
-
textDecoration: string;
|
|
41
|
-
};
|
|
42
|
-
linkHover: {
|
|
43
|
-
textDecoration: string;
|
|
44
|
+
color: import("@alveole/theme").ThemeColor;
|
|
44
45
|
};
|
|
45
46
|
};
|
|
46
47
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Breadcrumbs.stories.d.ts","sourceRoot":"","sources":["../../../src/ui/Breadcrumbs/Breadcrumbs.stories.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"Breadcrumbs.stories.d.ts","sourceRoot":"","sources":["../../../src/ui/Breadcrumbs/Breadcrumbs.stories.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAKA,wBASkB;AAElB,eAAO,MAAM,OAAO,mCAInB,CAAC;AAEF,eAAO,MAAM,mBAAmB,mCAI/B,CAAC;AAEF,eAAO,MAAM,gBAAgB,mCAe5B,CAAC;AAEF,eAAO,MAAM,cAAc,mCAW1B,CAAC;AAEF,eAAO,MAAM,UAAU,mCAStB,CAAC;AAEF,eAAO,MAAM,kBAAkB,mCAgB9B,CAAC;AAEF,OAAO,KAAK,OAAO,MAAM,+BAA+B,CAAC"}
|
|
@@ -11,9 +11,9 @@ export default {
|
|
|
11
11
|
component: Breadcrumbs,
|
|
12
12
|
styleFn: useStyles,
|
|
13
13
|
};
|
|
14
|
-
export const Default = () => (_jsx(Box, { p:
|
|
15
|
-
export const WithCustomRootLabel = () => (_jsx(Box, { p:
|
|
16
|
-
export const WithCustomLabels = () => (_jsx(Box, { p:
|
|
14
|
+
export const Default = () => (_jsx(Box, { p: "1V", children: _jsx(Breadcrumbs, {}) }));
|
|
15
|
+
export const WithCustomRootLabel = () => (_jsx(Box, { p: "1V", children: _jsx(Breadcrumbs, { rootLabel: "Tableau de bord" }) }));
|
|
16
|
+
export const WithCustomLabels = () => (_jsx(Box, { p: "1V", children: _jsx(Breadcrumbs, { getLabel: (segment, _index, _path) => {
|
|
17
17
|
const labels = {
|
|
18
18
|
admin: 'Administration',
|
|
19
19
|
missions: 'Missions',
|
|
@@ -23,17 +23,17 @@ export const WithCustomLabels = () => (_jsx(Box, { p: 4, children: _jsx(Breadcru
|
|
|
23
23
|
};
|
|
24
24
|
return labels[segment] ?? segment;
|
|
25
25
|
} }) }));
|
|
26
|
-
export const WithCustomHref = () => (_jsx(Box, { p:
|
|
26
|
+
export const WithCustomHref = () => (_jsx(Box, { p: "1V", children: _jsx(Breadcrumbs, { getHref: (segment, _index, path) => {
|
|
27
27
|
const hrefs = {
|
|
28
28
|
components: '/ui-kit/components',
|
|
29
29
|
};
|
|
30
30
|
return hrefs[segment] ?? path;
|
|
31
31
|
} }) }));
|
|
32
|
-
export const WithNoLink = () => (_jsx(Box, { p:
|
|
32
|
+
export const WithNoLink = () => (_jsx(Box, { p: "1V", children: _jsx(Breadcrumbs, { getHref: (segment, _index, path) => {
|
|
33
33
|
const noLink = ['components'];
|
|
34
34
|
return noLink.includes(segment) ? null : path;
|
|
35
35
|
} }) }));
|
|
36
|
-
export const WithSegmentsToSkip = () => (_jsx(Box, { p:
|
|
36
|
+
export const WithSegmentsToSkip = () => (_jsx(Box, { p: "1V", children: _jsx(Breadcrumbs, { segmentsToSkip: ['admin', 'ui-kit', 'components'], getLabel: (segment, _index, _path) => {
|
|
37
37
|
const labels = {
|
|
38
38
|
admin: 'Administration',
|
|
39
39
|
missions: 'Missions',
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Breadcrumbs.stories.sources.d.ts","sourceRoot":"","sources":["../../../src/ui/Breadcrumbs/Breadcrumbs.stories.sources.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,OAAO,
|
|
1
|
+
{"version":3,"file":"Breadcrumbs.stories.sources.d.ts","sourceRoot":"","sources":["../../../src/ui/Breadcrumbs/Breadcrumbs.stories.sources.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,OAAO,cAA8F,CAAC;AAEnH,eAAO,MAAM,mBAAmB,cAAwI,CAAC;AAEzK,eAAO,MAAM,gBAAgB,cAAyb,CAAC;AAEvd,eAAO,MAAM,cAAc,cAAmT,CAAC;AAE/U,eAAO,MAAM,UAAU,cAA6P,CAAC;AAErR,eAAO,MAAM,kBAAkB,cAAqf,CAAC;AAErhB,eAAO,MAAM,YAAY;;;;;;;CAOf,CAAC;AAEX,MAAM,MAAM,eAAe,GAAG,MAAM,OAAO,YAAY,CAAC"}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
// This file is generated. Do not edit manually.
|
|
2
2
|
// Source: src/ui/Breadcrumbs/Breadcrumbs.stories.tsx
|
|
3
|
-
export const Default = () => "export const Default = () => (\n <Box p
|
|
4
|
-
export const WithCustomRootLabel = () => "export const WithCustomRootLabel = () => (\n <Box p
|
|
5
|
-
export const WithCustomLabels = () => "export const WithCustomLabels = () => (\n <Box p
|
|
6
|
-
export const WithCustomHref = () => "export const WithCustomHref = () => (\n <Box p
|
|
7
|
-
export const WithNoLink = () => "export const WithNoLink = () => (\n <Box p
|
|
8
|
-
export const WithSegmentsToSkip = () => "export const WithSegmentsToSkip = () => (\n <Box p
|
|
3
|
+
export const Default = () => "export const Default = () => (\n <Box p=\"1V\">\n <Breadcrumbs />\n </Box>\n);";
|
|
4
|
+
export const WithCustomRootLabel = () => "export const WithCustomRootLabel = () => (\n <Box p=\"1V\">\n <Breadcrumbs rootLabel=\"Tableau de bord\" />\n </Box>\n);";
|
|
5
|
+
export const WithCustomLabels = () => "export const WithCustomLabels = () => (\n <Box p=\"1V\">\n <Breadcrumbs\n getLabel={(segment, _index, _path) => {\n const labels: Record<string, string> = {\n admin: 'Administration',\n missions: 'Missions',\n show: 'Détail',\n salarie: 'Espace salarié',\n client: 'Espace client',\n };\n return labels[segment] ?? segment;\n }}\n />\n </Box>\n);";
|
|
6
|
+
export const WithCustomHref = () => "export const WithCustomHref = () => (\n <Box p=\"1V\">\n <Breadcrumbs\n getHref={(segment, _index, path) => {\n const hrefs: Record<string, string> = {\n components: '/ui-kit/components',\n };\n return hrefs[segment] ?? path;\n }}\n />\n </Box>\n);";
|
|
7
|
+
export const WithNoLink = () => "export const WithNoLink = () => (\n <Box p=\"1V\">\n <Breadcrumbs\n getHref={(segment, _index, path) => {\n const noLink = ['components'];\n return noLink.includes(segment) ? null : path;\n }}\n />\n </Box>\n);";
|
|
8
|
+
export const WithSegmentsToSkip = () => "export const WithSegmentsToSkip = () => (\n <Box p=\"1V\">\n <Breadcrumbs\n segmentsToSkip={['admin', 'ui-kit', 'components']}\n getLabel={(segment, _index, _path) => {\n const labels: Record<string, string> = {\n admin: 'Administration',\n missions: 'Missions',\n show: 'Détail',\n salarie: 'Espace salarié',\n client: 'Espace client',\n };\n return labels[segment] ?? segment;\n }}\n />\n </Box>\n);";
|
|
9
9
|
export const storySources = {
|
|
10
10
|
Default,
|
|
11
11
|
WithCustomRootLabel,
|
|
@@ -14,11 +14,16 @@ export declare const useStyles: () => {
|
|
|
14
14
|
height: number;
|
|
15
15
|
marginLeft: string | number;
|
|
16
16
|
marginRight: string | number;
|
|
17
|
-
backgroundColor:
|
|
17
|
+
backgroundColor: import("@alveole/theme").ThemeColor;
|
|
18
18
|
transform: "rotate(15deg)";
|
|
19
19
|
};
|
|
20
20
|
current: {
|
|
21
|
-
|
|
21
|
+
fontSize: 14;
|
|
22
|
+
lineHeight: 20;
|
|
23
|
+
letterSpacing: 0;
|
|
24
|
+
fontFamily: string;
|
|
25
|
+
fontWeight?: import("react-native").TextStyle["fontWeight"];
|
|
26
|
+
color: import("@alveole/theme").ThemeColor;
|
|
22
27
|
};
|
|
23
28
|
link: {
|
|
24
29
|
transitionProperty: "text-decoration";
|
|
@@ -29,11 +34,7 @@ export declare const useStyles: () => {
|
|
|
29
34
|
letterSpacing: 0;
|
|
30
35
|
fontFamily: string;
|
|
31
36
|
fontWeight?: import("react-native").TextStyle["fontWeight"];
|
|
32
|
-
color:
|
|
33
|
-
textDecoration: string;
|
|
34
|
-
};
|
|
35
|
-
linkHover: {
|
|
36
|
-
textDecoration: string;
|
|
37
|
+
color: import("@alveole/theme").ThemeColor;
|
|
37
38
|
};
|
|
38
39
|
};
|
|
39
40
|
//# sourceMappingURL=Breadcrumbs.styles.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Breadcrumbs.styles.d.ts","sourceRoot":"","sources":["../../../src/ui/Breadcrumbs/Breadcrumbs.styles.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,SAAS
|
|
1
|
+
{"version":3,"file":"Breadcrumbs.styles.d.ts","sourceRoot":"","sources":["../../../src/ui/Breadcrumbs/Breadcrumbs.styles.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA0BnB,CAAC"}
|
|
@@ -16,16 +16,13 @@ export const useStyles = makeStyles(({ text, color, spacing }) => ({
|
|
|
16
16
|
},
|
|
17
17
|
current: {
|
|
18
18
|
color: color.light.text['active-grey'],
|
|
19
|
+
...text['Corps de texte'].SM.Regular,
|
|
19
20
|
},
|
|
20
21
|
link: {
|
|
21
22
|
color: color.light.text['default-info'],
|
|
22
|
-
textDecoration: 'none',
|
|
23
23
|
...text['Corps de texte'].SM.Regular,
|
|
24
24
|
transitionProperty: 'text-decoration',
|
|
25
25
|
transitionDuration: '0.1s',
|
|
26
26
|
transitionTimingFunction: 'ease-in-out',
|
|
27
27
|
},
|
|
28
|
-
linkHover: {
|
|
29
|
-
textDecoration: 'underline',
|
|
30
|
-
},
|
|
31
28
|
}));
|
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import {
|
|
2
|
+
import { PressableInstance } from 'react-native';
|
|
3
3
|
export * from './Button.types';
|
|
4
|
+
export interface ButtonElement extends PressableInstance {
|
|
5
|
+
}
|
|
4
6
|
export declare const Button: React.ForwardRefExoticComponent<Omit<import("react-native").PressableProps, "children" | "style"> & {
|
|
5
7
|
title: string;
|
|
6
8
|
size?: import("./buttonVariants").ButtonTaille;
|
|
@@ -16,5 +18,5 @@ export declare const Button: React.ForwardRefExoticComponent<Omit<import("react-
|
|
|
16
18
|
expanded?: boolean;
|
|
17
19
|
isLoading?: boolean;
|
|
18
20
|
loadingDelay?: import("../Spinner/Spinner.shared").SpinnerDelay;
|
|
19
|
-
} & React.RefAttributes<
|
|
21
|
+
} & React.RefAttributes<ButtonElement>>;
|
|
20
22
|
//# sourceMappingURL=Button.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Button.d.ts","sourceRoot":"","sources":["../../../src/ui/Button/Button.tsx"],"names":[],"mappings":"AACA,OAAO,KAA2B,MAAM,OAAO,CAAC;AAChD,OAAO,EAAa,
|
|
1
|
+
{"version":3,"file":"Button.d.ts","sourceRoot":"","sources":["../../../src/ui/Button/Button.tsx"],"names":[],"mappings":"AACA,OAAO,KAA2B,MAAM,OAAO,CAAC;AAChD,OAAO,EAAa,iBAAiB,EAAE,MAAM,cAAc,CAAC;AAO5D,cAAc,gBAAgB,CAAC;AAG/B,MAAM,WAAW,aAAc,SAAQ,iBAAiB;CAAG;AAE3D,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;uCA0EjB,CAAC"}
|
|
@@ -20,154 +20,154 @@ declare const _default: {
|
|
|
20
20
|
expanded?: boolean;
|
|
21
21
|
isLoading?: boolean;
|
|
22
22
|
loadingDelay?: import("../Spinner/Spinner.shared").SpinnerDelay;
|
|
23
|
-
} & React.RefAttributes<import("
|
|
23
|
+
} & React.RefAttributes<import("./Button").ButtonElement>>;
|
|
24
24
|
styleFn: () => {
|
|
25
25
|
dangerTitle: {
|
|
26
|
-
color:
|
|
26
|
+
color: import("@alveole/theme").ThemeColor;
|
|
27
27
|
};
|
|
28
28
|
dangerContainer: {
|
|
29
29
|
borderStyle: "solid";
|
|
30
30
|
borderWidth: number;
|
|
31
|
-
borderColor:
|
|
32
|
-
backgroundColor:
|
|
31
|
+
borderColor: import("@alveole/theme").ThemeColor;
|
|
32
|
+
backgroundColor: import("@alveole/theme").ThemeColor;
|
|
33
33
|
};
|
|
34
34
|
dangerTitleHover: {
|
|
35
|
-
color:
|
|
35
|
+
color: import("@alveole/theme").ThemeColor;
|
|
36
36
|
};
|
|
37
37
|
dangerContainerHover: {
|
|
38
|
-
borderColor:
|
|
39
|
-
backgroundColor:
|
|
38
|
+
borderColor: import("@alveole/theme").ThemeColor;
|
|
39
|
+
backgroundColor: import("@alveole/theme").ThemeColor;
|
|
40
40
|
};
|
|
41
41
|
dangerContainerPressed: {
|
|
42
|
-
backgroundColor:
|
|
42
|
+
backgroundColor: import("@alveole/theme").ThemeColor;
|
|
43
43
|
};
|
|
44
44
|
dangerTitleDisabled: {
|
|
45
45
|
cursor: "not-allowed";
|
|
46
|
-
color:
|
|
46
|
+
color: import("@alveole/theme").ThemeColor;
|
|
47
47
|
};
|
|
48
48
|
dangerContainerDisabled: {
|
|
49
49
|
cursor: "not-allowed";
|
|
50
|
-
backgroundColor:
|
|
51
|
-
borderColor:
|
|
50
|
+
backgroundColor: import("@alveole/theme").ThemeColor;
|
|
51
|
+
borderColor: import("@alveole/theme").ThemeColor;
|
|
52
52
|
};
|
|
53
53
|
dangerIcon: {
|
|
54
|
-
color:
|
|
54
|
+
color: import("@alveole/theme").ThemeColor;
|
|
55
55
|
};
|
|
56
56
|
dangerIconHover: {
|
|
57
|
-
color:
|
|
57
|
+
color: import("@alveole/theme").ThemeColor;
|
|
58
58
|
};
|
|
59
59
|
dangerIconDisabled: {
|
|
60
|
-
color:
|
|
60
|
+
color: import("@alveole/theme").ThemeColor;
|
|
61
61
|
};
|
|
62
62
|
tertiaryTitle: {
|
|
63
|
-
color:
|
|
63
|
+
color: import("@alveole/theme").ThemeColor;
|
|
64
64
|
};
|
|
65
65
|
tertiaryContainer: {};
|
|
66
66
|
tertiaryTitleHover: {
|
|
67
|
-
color:
|
|
67
|
+
color: import("@alveole/theme").ThemeColor;
|
|
68
68
|
};
|
|
69
69
|
tertiaryContainerHover: {
|
|
70
|
-
backgroundColor:
|
|
70
|
+
backgroundColor: import("@alveole/theme").ThemeColor;
|
|
71
71
|
};
|
|
72
72
|
tertiaryContainerPressed: {
|
|
73
|
-
backgroundColor:
|
|
73
|
+
backgroundColor: import("@alveole/theme").ThemeColor;
|
|
74
74
|
};
|
|
75
75
|
tertiaryTitleDisabled: {
|
|
76
76
|
cursor: "not-allowed";
|
|
77
|
-
color:
|
|
77
|
+
color: import("@alveole/theme").ThemeColor;
|
|
78
78
|
};
|
|
79
79
|
tertiaryContainerDisabled: {
|
|
80
80
|
cursor: "not-allowed";
|
|
81
81
|
};
|
|
82
82
|
tertiaryIcon: {
|
|
83
|
-
color:
|
|
83
|
+
color: import("@alveole/theme").ThemeColor;
|
|
84
84
|
};
|
|
85
85
|
tertiaryIconHover: {
|
|
86
|
-
color:
|
|
86
|
+
color: import("@alveole/theme").ThemeColor;
|
|
87
87
|
};
|
|
88
88
|
tertiaryIconDisabled: {
|
|
89
|
-
color:
|
|
89
|
+
color: import("@alveole/theme").ThemeColor;
|
|
90
90
|
};
|
|
91
91
|
secondaryTitle: {
|
|
92
|
-
color:
|
|
92
|
+
color: import("@alveole/theme").ThemeColor;
|
|
93
93
|
};
|
|
94
94
|
secondaryContainer: {
|
|
95
95
|
borderStyle: "solid";
|
|
96
96
|
borderWidth: number;
|
|
97
|
-
borderColor:
|
|
98
|
-
backgroundColor:
|
|
97
|
+
borderColor: import("@alveole/theme").ThemeColor;
|
|
98
|
+
backgroundColor: import("@alveole/theme").ThemeColor;
|
|
99
99
|
};
|
|
100
100
|
secondaryTitleHover: {
|
|
101
|
-
color:
|
|
101
|
+
color: import("@alveole/theme").ThemeColor;
|
|
102
102
|
};
|
|
103
103
|
secondaryContainerHover: {
|
|
104
|
-
borderColor:
|
|
105
|
-
backgroundColor:
|
|
104
|
+
borderColor: import("@alveole/theme").ThemeColor;
|
|
105
|
+
backgroundColor: import("@alveole/theme").ThemeColor;
|
|
106
106
|
};
|
|
107
107
|
secondaryContainerPressed: {
|
|
108
|
-
borderColor:
|
|
109
|
-
backgroundColor:
|
|
108
|
+
borderColor: import("@alveole/theme").ThemeColor;
|
|
109
|
+
backgroundColor: import("@alveole/theme").ThemeColor;
|
|
110
110
|
};
|
|
111
111
|
secondaryTitleDisabled: {
|
|
112
112
|
cursor: "not-allowed";
|
|
113
|
-
color:
|
|
113
|
+
color: import("@alveole/theme").ThemeColor;
|
|
114
114
|
};
|
|
115
115
|
secondaryContainerDisabled: {
|
|
116
116
|
cursor: "not-allowed";
|
|
117
|
-
borderColor:
|
|
117
|
+
borderColor: import("@alveole/theme").ThemeColor;
|
|
118
118
|
};
|
|
119
119
|
secondaryIcon: {
|
|
120
|
-
color:
|
|
120
|
+
color: import("@alveole/theme").ThemeColor;
|
|
121
121
|
};
|
|
122
122
|
secondaryIconHover: {
|
|
123
|
-
color:
|
|
123
|
+
color: import("@alveole/theme").ThemeColor;
|
|
124
124
|
};
|
|
125
125
|
secondaryIconDisabled: {
|
|
126
|
-
color:
|
|
126
|
+
color: import("@alveole/theme").ThemeColor;
|
|
127
127
|
};
|
|
128
128
|
primaryTitle: {
|
|
129
|
-
color:
|
|
129
|
+
color: import("@alveole/theme").ThemeColor;
|
|
130
130
|
};
|
|
131
131
|
primaryContainer: {
|
|
132
|
-
backgroundColor:
|
|
132
|
+
backgroundColor: import("@alveole/theme").ThemeColor;
|
|
133
133
|
};
|
|
134
134
|
primaryTitleHover: {
|
|
135
|
-
color:
|
|
135
|
+
color: import("@alveole/theme").ThemeColor;
|
|
136
136
|
};
|
|
137
137
|
primaryContainerHover: {
|
|
138
|
-
backgroundColor:
|
|
138
|
+
backgroundColor: import("@alveole/theme").ThemeColor;
|
|
139
139
|
};
|
|
140
140
|
primaryContainerPressed: {
|
|
141
|
-
backgroundColor:
|
|
141
|
+
backgroundColor: import("@alveole/theme").ThemeColor;
|
|
142
142
|
};
|
|
143
143
|
primaryTitleDisabled: {
|
|
144
144
|
cursor: "not-allowed";
|
|
145
|
-
color:
|
|
145
|
+
color: import("@alveole/theme").ThemeColor;
|
|
146
146
|
};
|
|
147
147
|
primaryContainerDisabled: {
|
|
148
148
|
cursor: "not-allowed";
|
|
149
|
-
backgroundColor:
|
|
149
|
+
backgroundColor: import("@alveole/theme").ThemeColor;
|
|
150
150
|
};
|
|
151
151
|
primaryIcon: {
|
|
152
|
-
color:
|
|
152
|
+
color: import("@alveole/theme").ThemeColor;
|
|
153
153
|
};
|
|
154
154
|
primaryIconHover: {
|
|
155
|
-
color:
|
|
155
|
+
color: import("@alveole/theme").ThemeColor;
|
|
156
156
|
};
|
|
157
157
|
primaryIconDisabled: {
|
|
158
|
-
color:
|
|
158
|
+
color: import("@alveole/theme").ThemeColor;
|
|
159
159
|
};
|
|
160
160
|
selectedContainer: {
|
|
161
|
-
backgroundColor:
|
|
162
|
-
borderColor:
|
|
161
|
+
backgroundColor: import("@alveole/theme").ThemeColor;
|
|
162
|
+
borderColor: import("@alveole/theme").ThemeColor;
|
|
163
163
|
borderWidth: number;
|
|
164
164
|
};
|
|
165
165
|
selectedContainerHover: {};
|
|
166
166
|
selectedTitle: {
|
|
167
|
-
color:
|
|
167
|
+
color: import("@alveole/theme").ThemeColor;
|
|
168
168
|
};
|
|
169
169
|
selectedIcon: {
|
|
170
|
-
color:
|
|
170
|
+
color: import("@alveole/theme").ThemeColor;
|
|
171
171
|
};
|
|
172
172
|
smContainer: {
|
|
173
173
|
height: "100%";
|
|
@@ -10,7 +10,7 @@ export default {
|
|
|
10
10
|
title: 'Button',
|
|
11
11
|
tags: ['ui'],
|
|
12
12
|
experimental: false,
|
|
13
|
-
figmaURL: 'https://www.figma.com/design/xJz8Z6vfrnZPKTtRbuT2W8/Composants?node-id=
|
|
13
|
+
figmaURL: 'https://www.figma.com/design/xJz8Z6vfrnZPKTtRbuT2W8/Composants?node-id=3993-778',
|
|
14
14
|
description: 'Boutons de type Pressable (React Native) avec différentes tailles et variants.',
|
|
15
15
|
component: Button,
|
|
16
16
|
styleFn: useStyles,
|
|
@@ -33,16 +33,16 @@ export default {
|
|
|
33
33
|
*
|
|
34
34
|
* Pour ce qui navigue, prendre `A`. Pour l'action discrète sans cadre, c'est `tertiary`.
|
|
35
35
|
*/
|
|
36
|
-
export const Variants = () => (_jsxs(Box, { display: "flex", flexDirection: "row", gap:
|
|
36
|
+
export const Variants = () => (_jsxs(Box, { display: "flex", flexDirection: "row", flexWrap: 'wrap', gap: "3W", children: [_jsx(Button, { variant: "primary", title: "Primary" }), _jsx(Button, { variant: "secondary", title: "Secondary" }), _jsx(Button, { variant: "tertiary", title: "Tertiary" }), _jsx(Button, { variant: "danger", title: "Danger" })] }));
|
|
37
37
|
/** `md` par défaut. `sm` pour les zones denses, `lg` pour une action qu'on veut mettre en avant. */
|
|
38
|
-
export const Sizes = () => (_jsxs(Box, { display: "flex", flexDirection: "row", style: { alignItems: 'center' }, gap:
|
|
38
|
+
export const Sizes = () => (_jsxs(Box, { display: "flex", flexDirection: "row", flexWrap: 'wrap', style: { alignItems: 'center' }, gap: "3W", children: [_jsx(Button, { variant: "secondary", size: "sm", title: "Sm" }), _jsx(Button, { variant: "secondary", size: "md", title: "Md" }), _jsx(Button, { variant: "secondary", size: "lg", title: "Lg" })] }));
|
|
39
39
|
/**
|
|
40
40
|
* - `disabled` : l'action n'est pas disponible. Le bouton ne répond plus ni au clic ni au clavier.
|
|
41
41
|
* - `selected` : le bouton fait partie d'un groupe et c'est lui qui est choisi.
|
|
42
42
|
* - `expanded` : le bouton commande un menu ou un panneau actuellement déplié. Il pose aussi
|
|
43
43
|
* l'état accessible correspondant, ce que `selected` ne fait pas.
|
|
44
44
|
*/
|
|
45
|
-
export const States = () => (_jsxs(Box, { display: "flex", flexDirection: "row", gap:
|
|
45
|
+
export const States = () => (_jsxs(Box, { display: "flex", flexDirection: "row", flexWrap: 'wrap', gap: "3W", children: [_jsx(Button, { variant: "secondary", title: "Default" }), _jsx(Button, { variant: "secondary", title: "Disabled", disabled: true }), _jsx(Button, { variant: "secondary", title: "Selected", selected: true }), _jsx(Button, { variant: "secondary", title: "Expanded", expanded: true })] }));
|
|
46
46
|
/**
|
|
47
47
|
* Le spinner n'apparaît qu'après un délai, réglé par `loadingDelay` : mêmes valeurs que la
|
|
48
48
|
* prop `delay` de `Spinner` (`false` / `true` / `'short'` (300 ms) / `'long'` / `number`).
|
|
@@ -71,7 +71,7 @@ export const Loading = () => {
|
|
|
71
71
|
setIsLoading(true);
|
|
72
72
|
setTimeout(() => setIsLoading(false), 3000);
|
|
73
73
|
};
|
|
74
|
-
return (_jsxs(Box, { display: "flex", flexDirection: "row", gap:
|
|
74
|
+
return (_jsxs(Box, { display: "flex", flexDirection: "row", flexWrap: 'wrap', gap: "3W", children: [_jsx(Button, { variant: "primary", title: "Enregistrer", isLoading: isLoading, onPress: handlePress }), _jsx(Button, { variant: "secondary", title: "Exporter", leading: "Download", isLoading: isLoading, onPress: handlePress }), _jsx(Button, { variant: "primary", title: "D\u00E9lai court", loadingDelay: "short", isLoading: isLoading, onPress: handlePress })] }));
|
|
75
75
|
};
|
|
76
76
|
/**
|
|
77
77
|
* Un `onPress` qui rend une promesse verrouille le bouton jusqu'à sa fin, résolue ou rejetée :
|
|
@@ -90,16 +90,16 @@ export const OnPressAsynchrone = () => {
|
|
|
90
90
|
setEnvois(n => n + 1);
|
|
91
91
|
await new Promise(resolve => setTimeout(resolve, 3000));
|
|
92
92
|
};
|
|
93
|
-
return (_jsxs(Box, { display: "flex", flexDirection: "row", gap:
|
|
93
|
+
return (_jsxs(Box, { display: "flex", flexDirection: "row", flexWrap: 'wrap', gap: "3W", style: { alignItems: 'center' }, children: [_jsx(Button, { variant: "primary", title: "Envoyer", loadingDelay: "short", onPress: envoyer }), _jsxs(Typography, { children: ["Envois : ", envois] })] }));
|
|
94
94
|
};
|
|
95
95
|
/** `leading` place l’icône avant le libellé, `trailing` après. Les deux peuvent coexister. */
|
|
96
|
-
export const Icons = () => (_jsxs(Box, { display: "flex", flexDirection: "row", gap:
|
|
96
|
+
export const Icons = () => (_jsxs(Box, { display: "flex", flexDirection: "row", flexWrap: 'wrap', gap: "3W", children: [_jsx(Button, { variant: "secondary", title: "Leading", leading: "Plus" }), _jsx(Button, { variant: "secondary", title: "Trailing", trailing: "Download" }), _jsx(Button, { variant: "secondary", title: "Filtres", leading: "Plus", trailing: "ChevronDown" })] }));
|
|
97
97
|
/**
|
|
98
98
|
* `leading` et `trailing` acceptent aussi un élément : un avatar, un logo de réseau social.
|
|
99
99
|
* Il est posé dans un emplacement de la taille de l'icône, sans recevoir de couleur, si bien
|
|
100
100
|
* que le bouton garde sa hauteur et son alignement.
|
|
101
101
|
*/
|
|
102
|
-
export const TertiaireAvecAvatar = () => (_jsxs(Box, { display: "flex", flexDirection: "row", gap:
|
|
102
|
+
export const TertiaireAvecAvatar = () => (_jsxs(Box, { display: "flex", flexDirection: "row", flexWrap: 'wrap', gap: "3W", style: { alignItems: 'center' }, children: [_jsx(Button, { variant: "tertiary", title: "Marie Curie", leading: _jsx(Avatar, { size: "xs", fallbackText: "Marie Curie" }) }), _jsx(Button, { variant: "tertiary", title: "Marie Curie", leading: "User" })] }));
|
|
103
103
|
/**
|
|
104
104
|
* `ButtonIcon` est la **seule** façon d'obtenir un bouton carré. `Button` exige un `title` :
|
|
105
105
|
* il ne bascule plus en mode icône seule quand on le lui retire.
|
|
@@ -116,7 +116,7 @@ export const TertiaireAvecAvatar = () => (_jsxs(Box, { display: "flex", flexDire
|
|
|
116
116
|
* Il accepte `primary`, `secondary` et `tertiary`, et `iconSize` pour dissocier la taille de
|
|
117
117
|
* l'icône de celle du bouton.
|
|
118
118
|
*/
|
|
119
|
-
export const IconOnly = () => (_jsxs(Box, { display: "flex", flexDirection: "row", gap:
|
|
119
|
+
export const IconOnly = () => (_jsxs(Box, { display: "flex", flexDirection: "row", flexWrap: 'wrap', gap: "3W", style: { alignItems: 'center' }, children: [_jsx(ButtonIcon, { variant: "tertiary", size: "sm", icon: "MoreHorizontal", accessibilityLabel: "Plus d'actions" }), _jsx(ButtonIcon, { variant: "tertiary", size: "md", icon: "MoreHorizontal", accessibilityLabel: "Plus d'actions" }), _jsx(ButtonIcon, { variant: "tertiary", size: "lg", icon: "MoreHorizontal", accessibilityLabel: "Plus d'actions" }), _jsx(ButtonIcon, { variant: "secondary", size: "md", icon: "Trash", accessibilityLabel: "Supprimer" }), _jsx(ButtonIcon, { variant: "primary", size: "md", icon: "Plus", accessibilityLabel: "Ajouter" }), _jsx(ButtonIcon, { variant: "tertiary", size: "md", icon: "CircleUser", iconSize: "xs", accessibilityLabel: "Voir le profil" })] }));
|
|
120
120
|
/** Le bouton remplit la largeur de son parent, au lieu de s'ajuster à son contenu. */
|
|
121
121
|
export const FullWidth = () => _jsx(Button, { variant: "primary", title: "Full Width", fullWidth: true });
|
|
122
122
|
export * as Sources from './Button.stories.sources';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Button.stories.sources.d.ts","sourceRoot":"","sources":["../../../src/ui/Button/Button.stories.sources.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,QAAQ,
|
|
1
|
+
{"version":3,"file":"Button.stories.sources.d.ts","sourceRoot":"","sources":["../../../src/ui/Button/Button.stories.sources.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,QAAQ,cAAiW,CAAC;AAEvX,eAAO,MAAM,KAAK,cAAgW,CAAC;AAEnX,eAAO,MAAM,MAAM,cAAiY,CAAC;AAErZ,eAAO,MAAM,OAAO,cAA6qB,CAAC;AAElsB,eAAO,MAAM,iBAAiB,cAA+gB,CAAC;AAE9iB,eAAO,MAAM,KAAK,cAA4X,CAAC;AAE/Y,eAAO,MAAM,mBAAmB,cAAsX,CAAC;AAEvZ,eAAO,MAAM,QAAQ,cAAq0B,CAAC;AAE31B,eAAO,MAAM,SAAS,cAAwG,CAAC;AAE/H,eAAO,MAAM,YAAY;;;;;;;;;;CAUf,CAAC;AAEX,MAAM,MAAM,eAAe,GAAG,MAAM,OAAO,YAAY,CAAC;AAExD,eAAO,MAAM,iBAAiB,EAAE,OAAO,CAAC,MAAM,CAAC,eAAe,EAAE,MAAM,CAAC,CAUtE,CAAC"}
|