@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
|
@@ -3,14 +3,14 @@ import { CheckboxContainerProps } from './CheckboxContainer';
|
|
|
3
3
|
import { CheckboxIndicatorProps } from './CheckboxIndicator';
|
|
4
4
|
import { CheckboxLabelProps } from './CheckboxLabel';
|
|
5
5
|
export type CheckboxProps = CheckboxContainerProps & CheckboxIndicatorProps & CheckboxLabelProps;
|
|
6
|
-
export declare const Checkbox: React.ForwardRefExoticComponent<
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
6
|
+
export declare const Checkbox: React.ForwardRefExoticComponent<Omit<import("@tamagui/core").RNTamaguiViewNonStyleProps, "disabled" | "active"> & Omit<import("@tamagui/web").WithThemeValues<Omit<import("@tamagui/web").StackStyleBase, "disabled" | "active">> & import("@tamagui/web").WithFlatVariantValues<{
|
|
7
|
+
active?: boolean | undefined;
|
|
8
|
+
disabled?: boolean | undefined;
|
|
9
|
+
}> & import("@tamagui/web").WithShorthands<import("@tamagui/web").WithThemeValues<import("@tamagui/web").StackStyleBase>>, "theme" | "debug" | "container" | "target" | "htmlFor" | "asChild" | "dangerouslySetInnerHTML" | "children" | "className" | "themeShallow" | "id" | "render" | "group" | "untilMeasured" | "name" | "tabIndex" | "role" | "disableOptimization" | "disableNativeStyle" | "forceStyle" | "disableClassName" | "hitSlop" | "animatedBy" | "onPress" | "onLongPress" | "onPressIn" | "onPressOut" | "onMouseEnter" | "onMouseLeave" | "onMouseDown" | "onMouseUp" | "onMouseMove" | "onMouseOver" | "onMouseOut" | "onFocus" | "onBlur" | "onClick" | "onDoubleClick" | "onContextMenu" | "onWheel" | "onKeyDown" | "onKeyUp" | "onChange" | "onInput" | "onBeforeInput" | "onScroll" | "onCopy" | "onCut" | "onPaste" | "onDrag" | "onDragStart" | "onDragEnd" | "onDragEnter" | "onDragLeave" | "onDragOver" | "onDrop" | "onPointerDown" | "onPointerMove" | "onPointerUp" | "onPointerCancel" | "onStartShouldSetResponder" | "onScrollShouldSetResponder" | "onScrollShouldSetResponderCapture" | "onSelectionChangeShouldSetResponder" | "onSelectionChangeShouldSetResponderCapture" | "onLayout" | "rel" | "download" | "onMoveShouldSetResponder" | "onResponderEnd" | "onResponderGrant" | "onResponderReject" | "onResponderMove" | "onResponderRelease" | "onResponderStart" | "onResponderTerminationRequest" | "onResponderTerminate" | "onStartShouldSetResponderCapture" | "onMoveShouldSetResponderCapture" | "style" | "onClickCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerMoveCapture" | "onPointerCancelCapture" | "onPointerDownCapture" | "onPointerUpCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onBlurCapture" | "onFocusCapture" | "onKeyDownCapture" | "onKeyUpCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "nativeBackgroundAndroid" | "nativeForegroundAndroid" | "renderToHardwareTextureAndroid" | "hasTVPreferredFocus" | "nextFocusDown" | "nextFocusForward" | "nextFocusLeft" | "nextFocusRight" | "nextFocusUp" | "shouldRasterizeIOS" | "accessibilityIgnoresInvertColors" | "accessibilityViewIsModal" | "accessibilityShowsLargeContentViewer" | "accessibilityLargeContentTitle" | "aria-modal" | "accessibilityElementsHidden" | "accessibilityLanguage" | "accessibilityRespondsToUserInteraction" | "accessible" | "accessibilityLabel" | "accessibilityHint" | "aria-label" | "accessibilityRole" | "accessibilityState" | "accessibilityValue" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "accessibilityActions" | "aria-busy" | "aria-checked" | "aria-disabled" | "aria-expanded" | "aria-selected" | "aria-hidden" | "accessibilityLabelledBy" | "aria-labelledby" | "accessibilityLiveRegion" | "aria-live" | "importantForAccessibility" | "screenReaderFocusable" | "collapsable" | "collapsableChildren" | "testID" | "nativeID" | "needsOffscreenAlphaCompositing" | "removeClippedSubviews" | "experimental_accessibilityOrder" | "onAccessibilityAction" | "onAccessibilityTap" | "onMagicTap" | "onAccessibilityEscape"> & import("@tamagui/checkbox-headless").CheckboxExtraProps & {
|
|
10
10
|
native?: import("tamagui").NativeValue<"web">;
|
|
11
11
|
} & {
|
|
12
|
-
|
|
13
|
-
|
|
12
|
+
activeStyle?: import("tamagui").StylePiece;
|
|
13
|
+
activeTheme?: string | null;
|
|
14
14
|
} & {
|
|
15
15
|
size?: import("./Checkbox.utils").CheckboxSize;
|
|
16
16
|
variant?: import("./Checkbox.utils").CheckboxVariant;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Checkbox.d.ts","sourceRoot":"","sources":["../../../src/ui/Checkbox/Checkbox.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"Checkbox.d.ts","sourceRoot":"","sources":["../../../src/ui/Checkbox/Checkbox.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAgB,MAAM,OAAO,CAAC;AAIrC,OAAO,EAAqB,sBAAsB,EAAmB,MAAM,qBAAqB,CAAC;AACjG,OAAO,EAAqB,sBAAsB,EAAE,MAAM,qBAAqB,CAAC;AAChF,OAAO,EAAiB,kBAAkB,EAAE,MAAM,iBAAiB,CAAC;AAEpE,MAAM,MAAM,aAAa,GAAG,sBAAsB,GAAG,sBAAsB,GAAG,kBAAkB,CAAC;AAEjG,eAAO,MAAM,QAAQ;;;;;;;;;;;;;wGAqBnB,CAAC"}
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
-
import { useTheme } from '@alveole/theme';
|
|
3
2
|
import React, { useId } from 'react';
|
|
4
3
|
import { Box } from '../../core/Box';
|
|
5
4
|
import { FormControlCaption } from '../FormControl';
|
|
@@ -10,8 +9,7 @@ import { CheckboxLabel } from './CheckboxLabel';
|
|
|
10
9
|
export const Checkbox = React.forwardRef(function Checkbox(props, ref) {
|
|
11
10
|
const { size, variant, label, error, success, disabled } = props;
|
|
12
11
|
const baseProps = { size, variant, label, error, success, disabled };
|
|
13
|
-
const { spacingValue } = useTheme();
|
|
14
12
|
const styles = useStyles();
|
|
15
13
|
const id = useId();
|
|
16
|
-
return (_jsxs(Box, { tag: "check-box-container", gap: error || success ?
|
|
14
|
+
return (_jsxs(Box, { tag: "check-box-container", gap: error || success ? '1W' : '0V', style: styles.checkboxContainer, children: [_jsxs(Box, { tag: "check-box", style: styles.container, children: [_jsx(CheckboxContainer, { id: id, ref: ref, ...props, children: _jsx(CheckboxIndicator, { ...baseProps, indeterminate: props.checked === 'indeterminate' }) }), !!label && _jsx(CheckboxLabel, { htmlFor: id, ...baseProps })] }), (error ?? success) && _jsx(FormControlCaption, { error: error, success: success })] }));
|
|
17
15
|
});
|
|
@@ -3,14 +3,14 @@ declare const _default: {
|
|
|
3
3
|
tags: "ui"[];
|
|
4
4
|
experimental: false;
|
|
5
5
|
description: string;
|
|
6
|
-
component: import("react").ForwardRefExoticComponent<
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
6
|
+
component: import("react").ForwardRefExoticComponent<Omit<import("@tamagui/core").RNTamaguiViewNonStyleProps, "disabled" | "active"> & Omit<import("@tamagui/web").WithThemeValues<Omit<import("@tamagui/web").StackStyleBase, "disabled" | "active">> & import("@tamagui/web").WithFlatVariantValues<{
|
|
7
|
+
active?: boolean | undefined;
|
|
8
|
+
disabled?: boolean | undefined;
|
|
9
|
+
}> & import("@tamagui/web").WithShorthands<import("@tamagui/web").WithThemeValues<import("@tamagui/web").StackStyleBase>>, "theme" | "debug" | "container" | "target" | "htmlFor" | "asChild" | "dangerouslySetInnerHTML" | "children" | "className" | "themeShallow" | "id" | "render" | "group" | "untilMeasured" | "name" | "tabIndex" | "role" | "disableOptimization" | "disableNativeStyle" | "forceStyle" | "disableClassName" | "hitSlop" | "animatedBy" | "onPress" | "onLongPress" | "onPressIn" | "onPressOut" | "onMouseEnter" | "onMouseLeave" | "onMouseDown" | "onMouseUp" | "onMouseMove" | "onMouseOver" | "onMouseOut" | "onFocus" | "onBlur" | "onClick" | "onDoubleClick" | "onContextMenu" | "onWheel" | "onKeyDown" | "onKeyUp" | "onChange" | "onInput" | "onBeforeInput" | "onScroll" | "onCopy" | "onCut" | "onPaste" | "onDrag" | "onDragStart" | "onDragEnd" | "onDragEnter" | "onDragLeave" | "onDragOver" | "onDrop" | "onPointerDown" | "onPointerMove" | "onPointerUp" | "onPointerCancel" | "onStartShouldSetResponder" | "onScrollShouldSetResponder" | "onScrollShouldSetResponderCapture" | "onSelectionChangeShouldSetResponder" | "onSelectionChangeShouldSetResponderCapture" | "onLayout" | "rel" | "download" | "onMoveShouldSetResponder" | "onResponderEnd" | "onResponderGrant" | "onResponderReject" | "onResponderMove" | "onResponderRelease" | "onResponderStart" | "onResponderTerminationRequest" | "onResponderTerminate" | "onStartShouldSetResponderCapture" | "onMoveShouldSetResponderCapture" | "style" | "onClickCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerMoveCapture" | "onPointerCancelCapture" | "onPointerDownCapture" | "onPointerUpCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onBlurCapture" | "onFocusCapture" | "onKeyDownCapture" | "onKeyUpCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "nativeBackgroundAndroid" | "nativeForegroundAndroid" | "renderToHardwareTextureAndroid" | "hasTVPreferredFocus" | "nextFocusDown" | "nextFocusForward" | "nextFocusLeft" | "nextFocusRight" | "nextFocusUp" | "shouldRasterizeIOS" | "accessibilityIgnoresInvertColors" | "accessibilityViewIsModal" | "accessibilityShowsLargeContentViewer" | "accessibilityLargeContentTitle" | "aria-modal" | "accessibilityElementsHidden" | "accessibilityLanguage" | "accessibilityRespondsToUserInteraction" | "accessible" | "accessibilityLabel" | "accessibilityHint" | "aria-label" | "accessibilityRole" | "accessibilityState" | "accessibilityValue" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "accessibilityActions" | "aria-busy" | "aria-checked" | "aria-disabled" | "aria-expanded" | "aria-selected" | "aria-hidden" | "accessibilityLabelledBy" | "aria-labelledby" | "accessibilityLiveRegion" | "aria-live" | "importantForAccessibility" | "screenReaderFocusable" | "collapsable" | "collapsableChildren" | "testID" | "nativeID" | "needsOffscreenAlphaCompositing" | "removeClippedSubviews" | "experimental_accessibilityOrder" | "onAccessibilityAction" | "onAccessibilityTap" | "onMagicTap" | "onAccessibilityEscape"> & import("@tamagui/checkbox-headless").CheckboxExtraProps & {
|
|
10
10
|
native?: import("tamagui").NativeValue<"web">;
|
|
11
11
|
} & {
|
|
12
|
-
|
|
13
|
-
|
|
12
|
+
activeStyle?: import("tamagui").StylePiece;
|
|
13
|
+
activeTheme?: string | null;
|
|
14
14
|
} & {
|
|
15
15
|
size?: import("./Checkbox.utils").CheckboxSize;
|
|
16
16
|
variant?: import("./Checkbox.utils").CheckboxVariant;
|
|
@@ -20,13 +20,13 @@ declare const _default: {
|
|
|
20
20
|
styleFn: () => {
|
|
21
21
|
label: {
|
|
22
22
|
cursor: "pointer";
|
|
23
|
-
color:
|
|
23
|
+
color: import("@alveole/theme").ThemeColor;
|
|
24
24
|
fontSize: 16;
|
|
25
25
|
lineHeight: 24;
|
|
26
26
|
letterSpacing: 0;
|
|
27
27
|
fontFamily: string;
|
|
28
28
|
fontWeight?: import("react-native").TextStyle["fontWeight"];
|
|
29
|
-
width
|
|
29
|
+
width?: "100%" | undefined;
|
|
30
30
|
};
|
|
31
31
|
labelSm: {
|
|
32
32
|
fontSize: 14;
|
|
@@ -37,19 +37,20 @@ declare const _default: {
|
|
|
37
37
|
};
|
|
38
38
|
labelDisabled: {
|
|
39
39
|
cursor: "not-allowed";
|
|
40
|
-
color:
|
|
40
|
+
color: import("@alveole/theme").ThemeColor;
|
|
41
41
|
};
|
|
42
42
|
labelError: {
|
|
43
|
-
color:
|
|
43
|
+
color: import("@alveole/theme").ThemeColor;
|
|
44
44
|
};
|
|
45
45
|
labelSuccess: {
|
|
46
|
-
color:
|
|
46
|
+
color: import("@alveole/theme").ThemeColor;
|
|
47
47
|
};
|
|
48
48
|
checkbox: {
|
|
49
|
+
flexShrink: number;
|
|
49
50
|
height: import("@alveole/theme").Spacing;
|
|
50
51
|
width: import("@alveole/theme").Spacing;
|
|
51
52
|
backgroundColor: "transparent";
|
|
52
|
-
borderColor:
|
|
53
|
+
borderColor: import("@alveole/theme").ThemeColor;
|
|
53
54
|
borderRadius: import("@alveole/theme").Radius;
|
|
54
55
|
};
|
|
55
56
|
checkboxSm: {
|
|
@@ -58,25 +59,25 @@ declare const _default: {
|
|
|
58
59
|
borderRadius: import("@alveole/theme").Radius;
|
|
59
60
|
};
|
|
60
61
|
checkboxDisabled: {
|
|
61
|
-
|
|
62
|
+
opacity: 1;
|
|
63
|
+
borderColor: import("@alveole/theme").ThemeColor;
|
|
62
64
|
backgroundColor: "transparent";
|
|
63
65
|
};
|
|
64
66
|
checkboxError: {
|
|
65
|
-
borderColor:
|
|
67
|
+
borderColor: import("@alveole/theme").ThemeColor;
|
|
66
68
|
};
|
|
67
69
|
checkboxSuccess: {
|
|
68
|
-
borderColor:
|
|
70
|
+
borderColor: import("@alveole/theme").ThemeColor;
|
|
69
71
|
};
|
|
70
72
|
indicator: {
|
|
71
73
|
height: import("@alveole/theme").Spacing;
|
|
72
74
|
width: import("@alveole/theme").Spacing;
|
|
73
|
-
backgroundColor:
|
|
75
|
+
backgroundColor: import("@alveole/theme").ThemeColor;
|
|
74
76
|
borderRadius: import("@alveole/theme").Radius;
|
|
75
77
|
};
|
|
76
78
|
indicatorDisabled: {
|
|
77
|
-
backgroundColor:
|
|
79
|
+
backgroundColor: import("@alveole/theme").ThemeColor;
|
|
78
80
|
};
|
|
79
|
-
checkboxFocused: import("@alveole/theme").FocusRingStyle;
|
|
80
81
|
checkboxContainer: {
|
|
81
82
|
display: "flex";
|
|
82
83
|
flexDirection: "column";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Checkbox.stories.d.ts","sourceRoot":"","sources":["../../../src/ui/Checkbox/Checkbox.stories.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"Checkbox.stories.d.ts","sourceRoot":"","sources":["../../../src/ui/Checkbox/Checkbox.stories.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAMA,wBAOkB;AAElB,eAAO,MAAM,OAAO,mCAcnB,CAAC;AAEF,eAAO,MAAM,KAAK,mCAUjB,CAAC;AAEF,OAAO,KAAK,OAAO,MAAM,4BAA4B,CAAC"}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
+
import { Platform } from 'react-native';
|
|
2
3
|
import { Box } from '../../core/Box';
|
|
3
4
|
import { Checkbox } from './Checkbox';
|
|
4
5
|
import { useStyles } from './Checkbox.styles';
|
|
@@ -10,6 +11,6 @@ export default {
|
|
|
10
11
|
component: Checkbox,
|
|
11
12
|
styleFn: useStyles,
|
|
12
13
|
};
|
|
13
|
-
export const Default = () => (_jsxs(Box, { display: "flex", flexDirection: "column", gap:
|
|
14
|
-
export const Sizes = () => (_jsxs(Box, { display: "flex", flexDirection: "row", gap:
|
|
14
|
+
export const Default = () => (_jsxs(Box, { display: "flex", flexDirection: "column", gap: "3W", style: Platform.OS === 'web' ? undefined : { alignSelf: 'stretch' }, children: [_jsx(Checkbox, { label: "Non coch\u00E9" }), _jsx(Checkbox, { label: "Coch\u00E9", checked: true }), _jsx(Checkbox, { label: "D\u00E9sactiv\u00E9", disabled: true }), _jsx(Checkbox, { label: "Coch\u00E9 d\u00E9sactiv\u00E9", checked: true, disabled: true }), _jsx(Checkbox, { label: "Avec erreur", error: "Vous devez accepter les conditions" }), _jsx(Checkbox, { label: "Avec succ\u00E8s", success: "Valid\u00E9" })] }));
|
|
15
|
+
export const Sizes = () => (_jsxs(Box, { display: "flex", flexDirection: "row", gap: "2W", style: Platform.OS === 'web' ? undefined : { alignSelf: 'stretch', flexWrap: 'wrap' }, children: [_jsx(Checkbox, { label: "Size MD", size: "md" }), _jsx(Checkbox, { label: "Size SM", size: "sm" })] }));
|
|
15
16
|
export * as Sources from './Checkbox.stories.sources';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Checkbox.stories.sources.d.ts","sourceRoot":"","sources":["../../../src/ui/Checkbox/Checkbox.stories.sources.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,OAAO,
|
|
1
|
+
{"version":3,"file":"Checkbox.stories.sources.d.ts","sourceRoot":"","sources":["../../../src/ui/Checkbox/Checkbox.stories.sources.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,OAAO,cAA8hB,CAAC;AAEnjB,eAAO,MAAM,KAAK,cAA+T,CAAC;AAElV,eAAO,MAAM,YAAY;;;CAGf,CAAC;AAEX,MAAM,MAAM,eAAe,GAAG,MAAM,OAAO,YAAY,CAAC"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// This file is generated. Do not edit manually.
|
|
2
2
|
// Source: src/ui/Checkbox/Checkbox.stories.tsx
|
|
3
|
-
export const Default = () => "export const Default = () => (\n <Box
|
|
4
|
-
export const Sizes = () => "export const Sizes = () => (\n <Box
|
|
3
|
+
export const Default = () => "export const Default = () => (\n <Box\n display=\"flex\"\n flexDirection=\"column\"\n gap=\"3W\"\n style={Platform.OS === 'web' ? undefined : { alignSelf: 'stretch' }}\n >\n <Checkbox label=\"Non coché\" />\n <Checkbox label=\"Coché\" checked />\n <Checkbox label=\"Désactivé\" disabled />\n <Checkbox label=\"Coché désactivé\" checked disabled />\n <Checkbox label=\"Avec erreur\" error=\"Vous devez accepter les conditions\" />\n <Checkbox label=\"Avec succès\" success=\"Validé\" />\n </Box>\n);";
|
|
4
|
+
export const Sizes = () => "export const Sizes = () => (\n <Box\n display=\"flex\"\n flexDirection=\"row\"\n gap=\"2W\"\n style={Platform.OS === 'web' ? undefined : { alignSelf: 'stretch', flexWrap: 'wrap' }}\n >\n <Checkbox label=\"Size MD\" size=\"md\" />\n <Checkbox label=\"Size SM\" size=\"sm\" />\n </Box>\n);";
|
|
5
5
|
export const storySources = {
|
|
6
6
|
Default,
|
|
7
7
|
Sizes,
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
export declare const useStyles: () => {
|
|
2
2
|
label: {
|
|
3
3
|
cursor: "pointer";
|
|
4
|
-
color:
|
|
4
|
+
color: import("@alveole/theme").ThemeColor;
|
|
5
5
|
fontSize: 16;
|
|
6
6
|
lineHeight: 24;
|
|
7
7
|
letterSpacing: 0;
|
|
8
8
|
fontFamily: string;
|
|
9
9
|
fontWeight?: import("react-native").TextStyle["fontWeight"];
|
|
10
|
-
width
|
|
10
|
+
width?: "100%" | undefined;
|
|
11
11
|
};
|
|
12
12
|
labelSm: {
|
|
13
13
|
fontSize: 14;
|
|
@@ -18,19 +18,20 @@ export declare const useStyles: () => {
|
|
|
18
18
|
};
|
|
19
19
|
labelDisabled: {
|
|
20
20
|
cursor: "not-allowed";
|
|
21
|
-
color:
|
|
21
|
+
color: import("@alveole/theme").ThemeColor;
|
|
22
22
|
};
|
|
23
23
|
labelError: {
|
|
24
|
-
color:
|
|
24
|
+
color: import("@alveole/theme").ThemeColor;
|
|
25
25
|
};
|
|
26
26
|
labelSuccess: {
|
|
27
|
-
color:
|
|
27
|
+
color: import("@alveole/theme").ThemeColor;
|
|
28
28
|
};
|
|
29
29
|
checkbox: {
|
|
30
|
+
flexShrink: number;
|
|
30
31
|
height: import("@alveole/theme").Spacing;
|
|
31
32
|
width: import("@alveole/theme").Spacing;
|
|
32
33
|
backgroundColor: "transparent";
|
|
33
|
-
borderColor:
|
|
34
|
+
borderColor: import("@alveole/theme").ThemeColor;
|
|
34
35
|
borderRadius: import("@alveole/theme").Radius;
|
|
35
36
|
};
|
|
36
37
|
checkboxSm: {
|
|
@@ -39,25 +40,25 @@ export declare const useStyles: () => {
|
|
|
39
40
|
borderRadius: import("@alveole/theme").Radius;
|
|
40
41
|
};
|
|
41
42
|
checkboxDisabled: {
|
|
42
|
-
|
|
43
|
+
opacity: 1;
|
|
44
|
+
borderColor: import("@alveole/theme").ThemeColor;
|
|
43
45
|
backgroundColor: "transparent";
|
|
44
46
|
};
|
|
45
47
|
checkboxError: {
|
|
46
|
-
borderColor:
|
|
48
|
+
borderColor: import("@alveole/theme").ThemeColor;
|
|
47
49
|
};
|
|
48
50
|
checkboxSuccess: {
|
|
49
|
-
borderColor:
|
|
51
|
+
borderColor: import("@alveole/theme").ThemeColor;
|
|
50
52
|
};
|
|
51
53
|
indicator: {
|
|
52
54
|
height: import("@alveole/theme").Spacing;
|
|
53
55
|
width: import("@alveole/theme").Spacing;
|
|
54
|
-
backgroundColor:
|
|
56
|
+
backgroundColor: import("@alveole/theme").ThemeColor;
|
|
55
57
|
borderRadius: import("@alveole/theme").Radius;
|
|
56
58
|
};
|
|
57
59
|
indicatorDisabled: {
|
|
58
|
-
backgroundColor:
|
|
60
|
+
backgroundColor: import("@alveole/theme").ThemeColor;
|
|
59
61
|
};
|
|
60
|
-
checkboxFocused: import("@alveole/theme").FocusRingStyle;
|
|
61
62
|
checkboxContainer: {
|
|
62
63
|
display: "flex";
|
|
63
64
|
flexDirection: "column";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Checkbox.styles.d.ts","sourceRoot":"","sources":["../../../src/ui/Checkbox/Checkbox.styles.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"Checkbox.styles.d.ts","sourceRoot":"","sources":["../../../src/ui/Checkbox/Checkbox.styles.ts"],"names":[],"mappings":"AAoFA,eAAO,MAAM,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAAuF,CAAC"}
|
|
@@ -1,8 +1,7 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { makeStyles } from '@alveole/theme';
|
|
2
|
+
import { Platform } from 'react-native';
|
|
3
|
+
import { sansEstompage } from '../../core/styleTamagui/sansEstompage';
|
|
2
4
|
const coque = ({ spacing }) => ({
|
|
3
|
-
// Voir `CheckboxContainer.tsx` : Tamagui impose sa propre bague en `!important`, seule sa
|
|
4
|
-
// prop `focusVisibleStyle` peut la remplacer. Meme source que la regle CSS du theme.
|
|
5
|
-
checkboxFocused: focusRing('default'),
|
|
6
5
|
checkboxContainer: {
|
|
7
6
|
display: 'flex',
|
|
8
7
|
flexDirection: 'column',
|
|
@@ -15,20 +14,22 @@ const coque = ({ spacing }) => ({
|
|
|
15
14
|
});
|
|
16
15
|
const caseACocher = ({ color, spacingValue, radius }) => ({
|
|
17
16
|
checkbox: {
|
|
18
|
-
|
|
19
|
-
|
|
17
|
+
flexShrink: 0,
|
|
18
|
+
height: spacingValue('3W'),
|
|
19
|
+
width: spacingValue('3W'),
|
|
20
20
|
backgroundColor: 'transparent',
|
|
21
21
|
borderColor: color.light.border['action-high-primary'],
|
|
22
22
|
borderRadius: radius('md'),
|
|
23
23
|
},
|
|
24
24
|
checkboxSm: {
|
|
25
|
-
height: spacingValue('
|
|
26
|
-
width: spacingValue('
|
|
25
|
+
height: spacingValue('2W'),
|
|
26
|
+
width: spacingValue('2W'),
|
|
27
27
|
borderRadius: radius('sm'),
|
|
28
28
|
},
|
|
29
29
|
checkboxDisabled: {
|
|
30
30
|
borderColor: color.border['disabled-grey'],
|
|
31
31
|
backgroundColor: 'transparent',
|
|
32
|
+
...sansEstompage,
|
|
32
33
|
},
|
|
33
34
|
checkboxError: {
|
|
34
35
|
borderColor: color.border['plain-error'],
|
|
@@ -37,8 +38,8 @@ const caseACocher = ({ color, spacingValue, radius }) => ({
|
|
|
37
38
|
borderColor: color.border['plain-success'],
|
|
38
39
|
},
|
|
39
40
|
indicator: {
|
|
40
|
-
height: spacingValue('
|
|
41
|
-
width: spacingValue('
|
|
41
|
+
height: spacingValue('3W'),
|
|
42
|
+
width: spacingValue('3W'),
|
|
42
43
|
backgroundColor: color.light.background['action-high-primary'],
|
|
43
44
|
borderRadius: radius('md'),
|
|
44
45
|
},
|
|
@@ -48,7 +49,7 @@ const caseACocher = ({ color, spacingValue, radius }) => ({
|
|
|
48
49
|
});
|
|
49
50
|
const libelle = ({ text, color }) => ({
|
|
50
51
|
label: {
|
|
51
|
-
width: '100%',
|
|
52
|
+
...(Platform.OS === 'web' && { width: '100%' }),
|
|
52
53
|
...text['Corps de texte'].MD.Regular,
|
|
53
54
|
cursor: 'pointer',
|
|
54
55
|
color: color.text['label-grey'],
|
|
@@ -9,14 +9,14 @@ export type CheckboxContainerProps = TamaguiCheckboxProps & {
|
|
|
9
9
|
error?: string;
|
|
10
10
|
success?: string;
|
|
11
11
|
};
|
|
12
|
-
export declare const CheckboxContainer: React.ForwardRefExoticComponent<
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
12
|
+
export declare const CheckboxContainer: React.ForwardRefExoticComponent<Omit<import("@tamagui/core").RNTamaguiViewNonStyleProps, "disabled" | "active"> & Omit<import("@tamagui/web").WithThemeValues<Omit<import("@tamagui/web").StackStyleBase, "disabled" | "active">> & import("@tamagui/web").WithFlatVariantValues<{
|
|
13
|
+
active?: boolean | undefined;
|
|
14
|
+
disabled?: boolean | undefined;
|
|
15
|
+
}> & import("@tamagui/web").WithShorthands<import("@tamagui/web").WithThemeValues<import("@tamagui/web").StackStyleBase>>, "theme" | "debug" | "container" | "target" | "htmlFor" | "asChild" | "dangerouslySetInnerHTML" | "children" | "className" | "themeShallow" | "id" | "render" | "group" | "untilMeasured" | "name" | "tabIndex" | "role" | "disableOptimization" | "disableNativeStyle" | "forceStyle" | "disableClassName" | "hitSlop" | "animatedBy" | "onPress" | "onLongPress" | "onPressIn" | "onPressOut" | "onMouseEnter" | "onMouseLeave" | "onMouseDown" | "onMouseUp" | "onMouseMove" | "onMouseOver" | "onMouseOut" | "onFocus" | "onBlur" | "onClick" | "onDoubleClick" | "onContextMenu" | "onWheel" | "onKeyDown" | "onKeyUp" | "onChange" | "onInput" | "onBeforeInput" | "onScroll" | "onCopy" | "onCut" | "onPaste" | "onDrag" | "onDragStart" | "onDragEnd" | "onDragEnter" | "onDragLeave" | "onDragOver" | "onDrop" | "onPointerDown" | "onPointerMove" | "onPointerUp" | "onPointerCancel" | "onStartShouldSetResponder" | "onScrollShouldSetResponder" | "onScrollShouldSetResponderCapture" | "onSelectionChangeShouldSetResponder" | "onSelectionChangeShouldSetResponderCapture" | "onLayout" | "rel" | "download" | "onMoveShouldSetResponder" | "onResponderEnd" | "onResponderGrant" | "onResponderReject" | "onResponderMove" | "onResponderRelease" | "onResponderStart" | "onResponderTerminationRequest" | "onResponderTerminate" | "onStartShouldSetResponderCapture" | "onMoveShouldSetResponderCapture" | "style" | "onClickCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerMoveCapture" | "onPointerCancelCapture" | "onPointerDownCapture" | "onPointerUpCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onBlurCapture" | "onFocusCapture" | "onKeyDownCapture" | "onKeyUpCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "nativeBackgroundAndroid" | "nativeForegroundAndroid" | "renderToHardwareTextureAndroid" | "hasTVPreferredFocus" | "nextFocusDown" | "nextFocusForward" | "nextFocusLeft" | "nextFocusRight" | "nextFocusUp" | "shouldRasterizeIOS" | "accessibilityIgnoresInvertColors" | "accessibilityViewIsModal" | "accessibilityShowsLargeContentViewer" | "accessibilityLargeContentTitle" | "aria-modal" | "accessibilityElementsHidden" | "accessibilityLanguage" | "accessibilityRespondsToUserInteraction" | "accessible" | "accessibilityLabel" | "accessibilityHint" | "aria-label" | "accessibilityRole" | "accessibilityState" | "accessibilityValue" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "accessibilityActions" | "aria-busy" | "aria-checked" | "aria-disabled" | "aria-expanded" | "aria-selected" | "aria-hidden" | "accessibilityLabelledBy" | "aria-labelledby" | "accessibilityLiveRegion" | "aria-live" | "importantForAccessibility" | "screenReaderFocusable" | "collapsable" | "collapsableChildren" | "testID" | "nativeID" | "needsOffscreenAlphaCompositing" | "removeClippedSubviews" | "experimental_accessibilityOrder" | "onAccessibilityAction" | "onAccessibilityTap" | "onMagicTap" | "onAccessibilityEscape"> & import("@tamagui/checkbox-headless").CheckboxExtraProps & {
|
|
16
16
|
native?: import("tamagui").NativeValue<"web">;
|
|
17
17
|
} & {
|
|
18
|
-
|
|
19
|
-
|
|
18
|
+
activeStyle?: import("tamagui").StylePiece;
|
|
19
|
+
activeTheme?: string | null;
|
|
20
20
|
} & {
|
|
21
21
|
size?: CheckboxSize;
|
|
22
22
|
/** @deprecated use `size` ('sm' | 'md') instead */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CheckboxContainer.d.ts","sourceRoot":"","sources":["../../../src/ui/Checkbox/CheckboxContainer.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAA+B,aAAa,IAAI,oBAAoB,EAAE,cAAc,EAAE,MAAM,SAAS,CAAC;AAE7G,OAAO,EAAE,YAAY,EAAE,eAAe,EAAuB,MAAM,kBAAkB,CAAC;AAEtF,MAAM,MAAM,eAAe,GAAG,cAAc,CAAC;AAC7C,MAAM,MAAM,sBAAsB,GAAG,oBAAoB,GAAG;IAC1D,IAAI,CAAC,EAAE,YAAY,CAAC;IACpB,mDAAmD;IACnD,OAAO,CAAC,EAAE,eAAe,CAAC;IAC1B,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,OAAO,CAAC,EAAE,MAAM,CAAC;CAClB,CAAC;AAEF,eAAO,MAAM,iBAAiB;;;;;;;;;WAPrB,YAAY;IACnB,mDAAmD;cACzC,eAAe;YACjB,MAAM;cACJ,MAAM;
|
|
1
|
+
{"version":3,"file":"CheckboxContainer.d.ts","sourceRoot":"","sources":["../../../src/ui/Checkbox/CheckboxContainer.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAA+B,aAAa,IAAI,oBAAoB,EAAE,cAAc,EAAE,MAAM,SAAS,CAAC;AAE7G,OAAO,EAAE,YAAY,EAAE,eAAe,EAAuB,MAAM,kBAAkB,CAAC;AAEtF,MAAM,MAAM,eAAe,GAAG,cAAc,CAAC;AAC7C,MAAM,MAAM,sBAAsB,GAAG,oBAAoB,GAAG;IAC1D,IAAI,CAAC,EAAE,YAAY,CAAC;IACpB,mDAAmD;IACnD,OAAO,CAAC,EAAE,eAAe,CAAC;IAC1B,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,OAAO,CAAC,EAAE,MAAM,CAAC;CAClB,CAAC;AAEF,eAAO,MAAM,iBAAiB;;;;;;;;;WAPrB,YAAY;IACnB,mDAAmD;cACzC,eAAe;YACjB,MAAM;cACJ,MAAM;wCA6BjB,CAAC"}
|
|
@@ -17,12 +17,8 @@ export const CheckboxContainer = React.forwardRef(function Checkbox(props, ref)
|
|
|
17
17
|
marginTop: 'auto',
|
|
18
18
|
marginBottom: 'auto',
|
|
19
19
|
};
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
// `:root:root:root:root` : la regle CSS du theme ne peut pas la battre, et sans cette prop
|
|
25
|
-
// c'est le gris translucide de Tamagui qui s'affiche. La valeur vient de `focusRing()`,
|
|
26
|
-
// qui peint le meme bleu que la regle : un seul reglage, deux chemins pour l'appliquer.
|
|
27
|
-
focusVisibleStyle: styles.checkboxFocused, ...checkboxProps }));
|
|
20
|
+
// Survol et appui reprenaient le style de repos pour masquer ceux de Tamagui : en v3, le
|
|
21
|
+
// style inline l'emporte sur ses clauses. La bague passe par la seule marque du theme
|
|
22
|
+
// (ADR 0017, amendement Tamagui v3).
|
|
23
|
+
return (_jsx(TamaguiCheckbox, { ref: ref, disabled: disabled, style: checkboxStyles, ...focusRingProps(), ...checkboxProps }));
|
|
28
24
|
});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CheckboxLabel.d.ts","sourceRoot":"","sources":["../../../src/ui/Checkbox/CheckboxLabel.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"CheckboxLabel.d.ts","sourceRoot":"","sources":["../../../src/ui/Checkbox/CheckboxLabel.tsx"],"names":[],"mappings":"AACA,OAAO,EAAS,UAAU,EAAE,MAAM,kBAAkB,CAAC;AAGrD,OAAO,EAAE,YAAY,EAAE,eAAe,EAAuB,MAAM,kBAAkB,CAAC;AAEtF,MAAM,MAAM,kBAAkB,GAAG;IAC/B,IAAI,CAAC,EAAE,YAAY,CAAC;IACpB,mDAAmD;IACnD,OAAO,CAAC,EAAE,eAAe,CAAC;IAC1B,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,OAAO,CAAC,EAAE,MAAM,CAAC;CAClB,CAAC;AAEF,eAAO,MAAM,aAAa,GAAI,OAAO,kBAAkB,GAAG,UAAU,gCA4BnE,CAAC"}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
-
import {
|
|
2
|
+
import { Platform } from 'react-native';
|
|
3
|
+
import { Label } from 'tamagui/unstyled';
|
|
3
4
|
import { Typography } from '../../core/Typography';
|
|
4
5
|
import { useStyles } from './Checkbox.styles';
|
|
5
6
|
import { resolveCheckboxSize } from './Checkbox.utils';
|
|
@@ -7,7 +8,7 @@ export const CheckboxLabel = (props) => {
|
|
|
7
8
|
const { size, variant, disabled, error, success, label, ...labelProps } = props;
|
|
8
9
|
const styles = useStyles();
|
|
9
10
|
const resolvedSize = resolveCheckboxSize(size, variant);
|
|
10
|
-
return (_jsx(Label, {
|
|
11
|
+
return (_jsx(Label, { disabled: disabled, ...labelProps, width: Platform.OS === 'web' ? '100%' : undefined, flexShrink: Platform.OS === 'web' ? undefined : 1, children: _jsx(Typography, { style: {
|
|
11
12
|
...styles.label,
|
|
12
13
|
...(resolvedSize === 'sm' ? styles.labelSm : {}),
|
|
13
14
|
...(disabled ? styles.labelDisabled : {}),
|
|
@@ -15,12 +15,12 @@ declare const _default: {
|
|
|
15
15
|
height: number;
|
|
16
16
|
paddingRight: number;
|
|
17
17
|
paddingLeft: number;
|
|
18
|
-
backgroundColor:
|
|
18
|
+
backgroundColor: import("@alveole/theme").ThemeColor;
|
|
19
19
|
borderRadius: import("@alveole/theme").Radius;
|
|
20
20
|
};
|
|
21
21
|
counterPrimary: {
|
|
22
|
-
backgroundColor:
|
|
23
|
-
color:
|
|
22
|
+
backgroundColor: import("@alveole/theme").ThemeColor;
|
|
23
|
+
color: import("@alveole/theme").ThemeColor;
|
|
24
24
|
};
|
|
25
25
|
};
|
|
26
26
|
};
|
|
@@ -11,5 +11,5 @@ export default {
|
|
|
11
11
|
component: Counter,
|
|
12
12
|
styleFn: useStyles,
|
|
13
13
|
};
|
|
14
|
-
export const Default = () => (_jsxs(Box, { display: "flex", flexDirection: "row", gap:
|
|
14
|
+
export const Default = () => (_jsxs(Box, { display: "flex", flexDirection: "row", gap: "1W", style: { alignItems: 'center' }, children: [_jsx(Counter, { variant: "default", count: 20 }), _jsx(Counter, { variant: "primary", count: 20 })] }));
|
|
15
15
|
export * as Sources from './Counter.stories.sources';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Counter.stories.sources.d.ts","sourceRoot":"","sources":["../../../src/ui/Counter/Counter.stories.sources.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,OAAO,
|
|
1
|
+
{"version":3,"file":"Counter.stories.sources.d.ts","sourceRoot":"","sources":["../../../src/ui/Counter/Counter.stories.sources.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,OAAO,cAAmP,CAAC;AAExQ,eAAO,MAAM,YAAY;;CAEf,CAAC;AAEX,MAAM,MAAM,eAAe,GAAG,MAAM,OAAO,YAAY,CAAC"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
// This file is generated. Do not edit manually.
|
|
2
2
|
// Source: src/ui/Counter/Counter.stories.tsx
|
|
3
|
-
export const Default = () => "export const Default = () => (\n <Box display=\"flex\" flexDirection=\"row\" gap
|
|
3
|
+
export const Default = () => "export const Default = () => (\n <Box display=\"flex\" flexDirection=\"row\" gap=\"1W\" style={{ alignItems: 'center' }}>\n <Counter variant=\"default\" count={20} />\n <Counter variant=\"primary\" count={20} />\n </Box>\n);";
|
|
4
4
|
export const storySources = {
|
|
5
5
|
Default,
|
|
6
6
|
};
|
|
@@ -8,12 +8,12 @@ export declare const useStyles: () => {
|
|
|
8
8
|
height: number;
|
|
9
9
|
paddingRight: number;
|
|
10
10
|
paddingLeft: number;
|
|
11
|
-
backgroundColor:
|
|
11
|
+
backgroundColor: import("@alveole/theme").ThemeColor;
|
|
12
12
|
borderRadius: import("@alveole/theme").Radius;
|
|
13
13
|
};
|
|
14
14
|
counterPrimary: {
|
|
15
|
-
backgroundColor:
|
|
16
|
-
color:
|
|
15
|
+
backgroundColor: import("@alveole/theme").ThemeColor;
|
|
16
|
+
color: import("@alveole/theme").ThemeColor;
|
|
17
17
|
};
|
|
18
18
|
};
|
|
19
19
|
//# sourceMappingURL=Counter.styles.d.ts.map
|
|
@@ -112,7 +112,7 @@ const formatTimestamp = (date, timeZone) => new Intl.DateTimeFormat('fr-FR', { d
|
|
|
112
112
|
const DeploymentDateCell = ({ deployment }) => {
|
|
113
113
|
const [open, setOpen] = React.useState(false);
|
|
114
114
|
const { text, color } = useTheme();
|
|
115
|
-
return (_jsx(Popover, { placement: "left", open: open, setOpen: setOpen, renderTrigger: () => (_jsx(Box, {
|
|
115
|
+
return (_jsx(Popover, { placement: "left", open: open, setOpen: setOpen, renderTrigger: () => (_jsx(Box, { onMouseEnter: () => setOpen(true), onMouseLeave: () => setOpen(false), children: _jsx(Typography, { style: { ...text['Corps de texte'].XS.Regular, color: color.light.text['mention-grey'] }, children: format(deployment.date, 'd MMM', { locale: fr }) }) })), children: _jsxs(Box, { display: "flex", flexDirection: "column", gap: '1W', style: { minWidth: 260 }, onMouseEnter: () => setOpen(true), onMouseLeave: () => setOpen(false), children: [_jsx(Typography, { style: text['Corps de texte'].SM.Regular, children: formatDistanceToNowStrict(deployment.date, { locale: fr, addSuffix: true }) }), _jsxs(Box, { display: "flex", flexDirection: "row", gap: '1W', justify: "space-between", style: { alignItems: 'center' }, children: [_jsx(Tag, { size: "sm", children: "UTC" }), _jsx(Typography, { style: text['Corps de texte'].SM.Regular, children: formatTimestamp(deployment.date, 'UTC') })] }), _jsxs(Box, { display: "flex", flexDirection: "row", gap: '1W', justify: "space-between", style: { alignItems: 'center' }, children: [_jsx(Tag, { size: "sm", children: localTimeZoneLabel }), _jsx(Typography, { style: text['Corps de texte'].SM.Regular, children: formatTimestamp(deployment.date) })] })] }) }));
|
|
116
116
|
};
|
|
117
117
|
const DeploymentActionsCell = () => {
|
|
118
118
|
const [open, setOpen] = React.useState(false);
|
|
@@ -75,9 +75,8 @@ declare const _default: {
|
|
|
75
75
|
display: "flex";
|
|
76
76
|
flexDirection: "row";
|
|
77
77
|
alignItems: "stretch";
|
|
78
|
-
backgroundColor: string;
|
|
79
78
|
borderBottomWidth: number;
|
|
80
|
-
borderBottomColor:
|
|
79
|
+
borderBottomColor: import("@alveole/theme").ThemeColor;
|
|
81
80
|
};
|
|
82
81
|
rowSm: {
|
|
83
82
|
minHeight: number;
|
|
@@ -91,19 +90,22 @@ declare const _default: {
|
|
|
91
90
|
rowHoverable: {
|
|
92
91
|
cursor: "pointer";
|
|
93
92
|
};
|
|
93
|
+
rowBackground: {
|
|
94
|
+
backgroundColor: import("@alveole/theme").ThemeColor;
|
|
95
|
+
};
|
|
94
96
|
rowHover: {
|
|
95
|
-
backgroundColor:
|
|
97
|
+
backgroundColor: import("@alveole/theme").ThemeColor;
|
|
96
98
|
};
|
|
97
99
|
rowSelected: {
|
|
98
|
-
backgroundColor:
|
|
100
|
+
backgroundColor: import("@alveole/theme").ThemeColor;
|
|
99
101
|
};
|
|
100
102
|
headerRow: {
|
|
101
103
|
display: "flex";
|
|
102
104
|
flexDirection: "row";
|
|
103
105
|
alignItems: "stretch";
|
|
104
|
-
backgroundColor:
|
|
106
|
+
backgroundColor: import("@alveole/theme").ThemeColor;
|
|
105
107
|
borderBottomWidth: number;
|
|
106
|
-
borderBottomColor:
|
|
108
|
+
borderBottomColor: import("@alveole/theme").ThemeColor;
|
|
107
109
|
};
|
|
108
110
|
headerRowSm: {
|
|
109
111
|
minHeight: number;
|
|
@@ -138,7 +140,7 @@ declare const _default: {
|
|
|
138
140
|
paddingRight: string | number;
|
|
139
141
|
};
|
|
140
142
|
headerLabel: {
|
|
141
|
-
color:
|
|
143
|
+
color: import("@alveole/theme").ThemeColor;
|
|
142
144
|
fontSize: 12;
|
|
143
145
|
lineHeight: 20;
|
|
144
146
|
letterSpacing: 0;
|
|
@@ -146,16 +148,16 @@ declare const _default: {
|
|
|
146
148
|
fontWeight?: import("react-native").TextStyle["fontWeight"];
|
|
147
149
|
};
|
|
148
150
|
headerLabelActive: {
|
|
149
|
-
color:
|
|
151
|
+
color: import("@alveole/theme").ThemeColor;
|
|
150
152
|
};
|
|
151
153
|
table: {
|
|
152
154
|
display: "flex";
|
|
153
155
|
flexDirection: "column";
|
|
154
156
|
borderWidth: number;
|
|
155
|
-
borderColor:
|
|
157
|
+
borderColor: import("@alveole/theme").ThemeColor;
|
|
156
158
|
borderRadius: import("@alveole/theme").Radius;
|
|
157
159
|
overflow: "hidden";
|
|
158
|
-
backgroundColor:
|
|
160
|
+
backgroundColor: import("@alveole/theme").ThemeColor;
|
|
159
161
|
};
|
|
160
162
|
scrollContent: {
|
|
161
163
|
display: "flex";
|
|
@@ -170,7 +172,7 @@ declare const _default: {
|
|
|
170
172
|
padding: string | number;
|
|
171
173
|
};
|
|
172
174
|
emptyStateLabel: {
|
|
173
|
-
color:
|
|
175
|
+
color: import("@alveole/theme").ThemeColor;
|
|
174
176
|
fontSize: 14;
|
|
175
177
|
lineHeight: 20;
|
|
176
178
|
letterSpacing: 0;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DataTable.stories.d.ts","sourceRoot":"","sources":["../../../src/ui/DataTable/DataTable.stories.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,MAAM,OAAO,CAAC
|
|
1
|
+
{"version":3,"file":"DataTable.stories.d.ts","sourceRoot":"","sources":["../../../src/ui/DataTable/DataTable.stories.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,MAAM,OAAO,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAwB1B,wBAkBkB;AAElB,eAAO,MAAM,OAAO,yBAA+F,CAAC;AAEpH,eAAO,MAAM,aAAa,yBAEzB,CAAC;AAEF,eAAO,MAAM,KAAK,yBAejB,CAAC;AAEF,eAAO,MAAM,WAAW,yBAEvB,CAAC;AAEF,eAAO,MAAM,WAAW,yBAsBvB,CAAC;AAEF,eAAO,MAAM,eAAe,yBAmC3B,CAAC;AAEF,eAAO,MAAM,aAAa,yBAEzB,CAAC;AAEF;;;;;;;GAOG;AACH,eAAO,MAAM,YAAY,yBAIxB,CAAC;AAEF,eAAO,MAAM,cAAc,yBAe1B,CAAC;AAEF;;;;;;;GAOG;AACH,eAAO,MAAM,gBAAgB,yBA4B5B,CAAC;AAEF,eAAO,MAAM,KAAK,yBAajB,CAAC;AAEF,OAAO,KAAK,OAAO,MAAM,6BAA6B,CAAC"}
|