@alveole/components 2.0.0-alpha.2 → 2.0.0-alpha.21
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 +9 -9
- package/dist/ui/FormControl/FormControl.stories.sources.d.ts.map +1 -1
- package/dist/ui/FormControl/FormControl.stories.sources.js +7 -7
- 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 +2 -1
- package/dist/ui/FormControl/TextInput.d.ts.map +1 -1
- package/dist/ui/FormControl/TextInput.stories.d.ts +19 -18
- package/dist/ui/FormControl/TextInput.stories.d.ts.map +1 -1
- package/dist/ui/FormControl/TextInput.types.d.ts +5 -2
- package/dist/ui/FormControl/TextInput.types.d.ts.map +1 -1
- package/dist/ui/FormControl/TextInputInline.d.ts +3 -2
- package/dist/ui/FormControl/TextInputInline.d.ts.map +1 -1
- package/dist/ui/FormControl/TextInputInline.js +2 -2
- package/dist/ui/FormControl/TextInputMirror.d.ts +3 -2
- package/dist/ui/FormControl/TextInputMirror.d.ts.map +1 -1
- package/dist/ui/FormControl/TextInputModal.d.ts +3 -2
- package/dist/ui/FormControl/TextInputModal.d.ts.map +1 -1
- package/dist/ui/FormControl/TextInputPassword.d.ts +3 -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 +55 -1
- package/dist/ui/FormControl/textInputStyles.d.ts.map +1 -1
- package/dist/ui/FormControl/textInputStyles.js +3 -1
- 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 +6 -6
- 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 +402 -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 +5735 -4162
- 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 +4 -7
- 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 +3 -2
- package/dist/ui/TextareaInput/TextareaInput.d.ts.map +1 -1
- package/dist/ui/TextareaInput/TextareaInput.stories.d.ts +3 -1
- package/dist/ui/TextareaInput/TextareaInput.stories.d.ts.map +1 -1
- package/dist/ui/TextareaInput/TextareaInput.stories.js +3 -5
- package/dist/ui/TextareaInput/TextareaInput.stories.sources.d.ts +2 -0
- package/dist/ui/TextareaInput/TextareaInput.stories.sources.d.ts.map +1 -1
- package/dist/ui/TextareaInput/TextareaInput.stories.sources.js +3 -1
- package/dist/ui/TimeInput/TimeInput.d.ts +2 -1
- package/dist/ui/TimeInput/TimeInput.d.ts.map +1 -1
- package/dist/ui/TimeInput/TimeInput.stories.d.ts +1 -1
- package/dist/ui/TimeInput/TimeInput.stories.js +2 -2
- package/dist/ui/TimeInput/TimeInput.stories.sources.d.ts.map +1 -1
- package/dist/ui/TimeInput/TimeInput.stories.sources.js +2 -2
- package/dist/ui/Toast/Toast.d.ts +3 -3
- package/dist/ui/Toast/Toast.d.ts.map +1 -1
- package/dist/ui/Toast/Toast.js +5 -7
- package/dist/ui/Toast/Toast.stories.d.ts +32 -22
- package/dist/ui/Toast/Toast.stories.d.ts.map +1 -1
- package/dist/ui/Toast/Toast.stories.js +14 -11
- package/dist/ui/Toast/Toast.stories.sources.d.ts.map +1 -1
- package/dist/ui/Toast/Toast.stories.sources.js +3 -3
- package/dist/ui/Toast/Toast.styles.d.ts +22 -15
- package/dist/ui/Toast/Toast.styles.d.ts.map +1 -1
- package/dist/ui/Toast/Toast.styles.js +6 -3
- package/dist/ui/Toast/ToastContext.d.ts +1 -0
- package/dist/ui/Toast/ToastContext.d.ts.map +1 -1
- package/dist/ui/Toast/ToastContext.js +1 -0
- package/dist/ui/Toast/Toasts.d.ts +2 -1
- package/dist/ui/Toast/Toasts.d.ts.map +1 -1
- package/dist/ui/Toast/Toasts.js +9 -5
- package/dist/ui/ToolbarBottomNav/ToolbarBottomNav.stories.d.ts +5 -53
- package/dist/ui/ToolbarBottomNav/ToolbarBottomNav.stories.d.ts.map +1 -1
- package/dist/ui/ToolbarBottomNav/ToolbarBottomNav.styles.d.ts +4 -4
- package/dist/ui/ToolbarTop/ToolbarTop.d.ts.map +1 -1
- package/dist/ui/ToolbarTop/ToolbarTop.js +1 -2
- package/dist/ui/ToolbarTop/ToolbarTop.stories.d.ts +4 -5
- package/dist/ui/ToolbarTop/ToolbarTop.stories.d.ts.map +1 -1
- package/dist/ui/ToolbarTop/ToolbarTop.styles.d.ts +4 -5
- package/dist/ui/ToolbarTop/ToolbarTop.styles.d.ts.map +1 -1
- package/dist/ui/ToolbarTop/ToolbarTop.styles.js +1 -2
- package/dist/ui/ToolbarTop/ToolbarTop.types.d.ts +2 -3
- package/dist/ui/ToolbarTop/ToolbarTop.types.d.ts.map +1 -1
- package/dist/ui/ToolbarTop/toolbarTopStyling.d.ts +7 -6
- package/dist/ui/ToolbarTop/toolbarTopStyling.d.ts.map +1 -1
- package/package.json +44 -42
- package/dist/core/styleTamagui/versStyleTamagui.d.ts +0 -10
- package/dist/core/styleTamagui/versStyleTamagui.d.ts.map +0 -1
- package/dist/core/styleTamagui/versStyleTamagui.js +0 -8
- package/dist/ui/DocumentViewer/useSurvolAvecZoom.d.ts +0 -15
- package/dist/ui/DocumentViewer/useSurvolAvecZoom.d.ts.map +0 -1
- package/dist/ui/DocumentViewer/useSurvolAvecZoom.js +0 -27
- package/dist/ui/PriceInput/PriceInput.css +0 -9
- package/dist/ui/Toast/ToastBridge.d.ts +0 -11
- package/dist/ui/Toast/ToastBridge.d.ts.map +0 -1
- package/dist/ui/Toast/ToastBridge.js +0 -19
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Popover.d.ts","sourceRoot":"","sources":["../../../src/ui/Popover/Popover.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAyC,YAAY,IAAI,mBAAmB,EAAU,MAAM,SAAS,CAAC;AAI7G,MAAM,MAAM,aAAa,GAAG;IAAE,IAAI,CAAC,EAAE,MAAM,CAAC;IAAC,IAAI,CAAC,EAAE,MAAM,CAAA;CAAE,CAAC;AAC7D,MAAM,MAAM,YAAY,GAAG,aAAa,GACtC,KAAK,CAAC,iBAAiB,CAAC;IACtB,SAAS,EAAE,mBAAmB,CAAC,WAAW,CAAC,CAAC;IAC5C,aAAa,EAAE,CAAC,OAAO,EAAE;QAAE,IAAI,EAAE,OAAO,CAAA;KAAE,KAAK,KAAK,CAAC,SAAS,CAAC;IAC/D,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,OAAO,CAAC,EAAE,CAAC,IAAI,EAAE,OAAO,KAAK,IAAI,CAAC;CACnC,CAAC,CAAC;AAEL,eAAO,MAAM,OAAO,GAAI,OAAO,YAAY,
|
|
1
|
+
{"version":3,"file":"Popover.d.ts","sourceRoot":"","sources":["../../../src/ui/Popover/Popover.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAyC,YAAY,IAAI,mBAAmB,EAAU,MAAM,SAAS,CAAC;AAI7G,MAAM,MAAM,aAAa,GAAG;IAAE,IAAI,CAAC,EAAE,MAAM,CAAC;IAAC,IAAI,CAAC,EAAE,MAAM,CAAA;CAAE,CAAC;AAC7D,MAAM,MAAM,YAAY,GAAG,aAAa,GACtC,KAAK,CAAC,iBAAiB,CAAC;IACtB,SAAS,EAAE,mBAAmB,CAAC,WAAW,CAAC,CAAC;IAC5C,aAAa,EAAE,CAAC,OAAO,EAAE;QAAE,IAAI,EAAE,OAAO,CAAA;KAAE,KAAK,KAAK,CAAC,SAAS,CAAC;IAC/D,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,OAAO,CAAC,EAAE,CAAC,IAAI,EAAE,OAAO,KAAK,IAAI,CAAC;CACnC,CAAC,CAAC;AAEL,eAAO,MAAM,OAAO,GAAI,OAAO,YAAY,sBAuD1C,CAAC"}
|
|
@@ -22,5 +22,5 @@ export const Popover = (props) => {
|
|
|
22
22
|
const maxW = popoverStyles.maxW ?? '100%';
|
|
23
23
|
return (_jsxs(TamaguiPopover, { placement: placement, disableFocus: true, open: open, onOpenChange: setOpen, children: [_jsx(TamaguiPopover.Trigger, { asChild: true, children: renderTrigger({ open }) }), _jsx(TamaguiPopover.Content, { trapFocus: false, disableFocusScope: true, ...spacings,
|
|
24
24
|
// {...styles.tamaguiPopoverContent}
|
|
25
|
-
style: [{ maxHeight: scrollable ? maxH : undefined, maxWidth: scrollable ? maxW : undefined }, styles.content], children: scrollable ? (_jsx(YStack, { style: { overflow: 'hidden' }, children: _jsx(ScrollView, { style: { maxHeight: maxH - spacingValue('
|
|
25
|
+
style: [{ maxHeight: scrollable ? maxH : undefined, maxWidth: scrollable ? maxW : undefined }, styles.content], children: scrollable ? (_jsx(YStack, { style: { overflow: 'hidden' }, children: _jsx(ScrollView, { style: { maxHeight: maxH - spacingValue('1V'), flexGrow: 0, flexShrink: 0 }, children: children }) })) : (children) })] }));
|
|
26
26
|
};
|
|
@@ -17,8 +17,8 @@ declare const _default: {
|
|
|
17
17
|
borderRadius: import("@alveole/theme").Radius;
|
|
18
18
|
borderWidth: number;
|
|
19
19
|
borderStyle: "solid";
|
|
20
|
-
borderColor:
|
|
21
|
-
backgroundColor:
|
|
20
|
+
borderColor: import("@alveole/theme").ThemeColor;
|
|
21
|
+
backgroundColor: import("@alveole/theme").ThemeColor;
|
|
22
22
|
} | {
|
|
23
23
|
shadowColor: string;
|
|
24
24
|
shadowOffset: {
|
|
@@ -38,8 +38,8 @@ declare const _default: {
|
|
|
38
38
|
borderRadius: import("@alveole/theme").Radius;
|
|
39
39
|
borderWidth: number;
|
|
40
40
|
borderStyle: "solid";
|
|
41
|
-
borderColor:
|
|
42
|
-
backgroundColor:
|
|
41
|
+
borderColor: import("@alveole/theme").ThemeColor;
|
|
42
|
+
backgroundColor: import("@alveole/theme").ThemeColor;
|
|
43
43
|
} | {
|
|
44
44
|
boxShadow: string;
|
|
45
45
|
display: "flex";
|
|
@@ -52,8 +52,8 @@ declare const _default: {
|
|
|
52
52
|
borderRadius: import("@alveole/theme").Radius;
|
|
53
53
|
borderWidth: number;
|
|
54
54
|
borderStyle: "solid";
|
|
55
|
-
borderColor:
|
|
56
|
-
backgroundColor:
|
|
55
|
+
borderColor: import("@alveole/theme").ThemeColor;
|
|
56
|
+
backgroundColor: import("@alveole/theme").ThemeColor;
|
|
57
57
|
};
|
|
58
58
|
};
|
|
59
59
|
};
|
|
@@ -10,8 +10,8 @@ export declare const useStyles: () => {
|
|
|
10
10
|
borderRadius: import("@alveole/theme").Radius;
|
|
11
11
|
borderWidth: number;
|
|
12
12
|
borderStyle: "solid";
|
|
13
|
-
borderColor:
|
|
14
|
-
backgroundColor:
|
|
13
|
+
borderColor: import("@alveole/theme").ThemeColor;
|
|
14
|
+
backgroundColor: import("@alveole/theme").ThemeColor;
|
|
15
15
|
} | {
|
|
16
16
|
shadowColor: string;
|
|
17
17
|
shadowOffset: {
|
|
@@ -31,8 +31,8 @@ export declare const useStyles: () => {
|
|
|
31
31
|
borderRadius: import("@alveole/theme").Radius;
|
|
32
32
|
borderWidth: number;
|
|
33
33
|
borderStyle: "solid";
|
|
34
|
-
borderColor:
|
|
35
|
-
backgroundColor:
|
|
34
|
+
borderColor: import("@alveole/theme").ThemeColor;
|
|
35
|
+
backgroundColor: import("@alveole/theme").ThemeColor;
|
|
36
36
|
} | {
|
|
37
37
|
boxShadow: string;
|
|
38
38
|
display: "flex";
|
|
@@ -45,8 +45,8 @@ export declare const useStyles: () => {
|
|
|
45
45
|
borderRadius: import("@alveole/theme").Radius;
|
|
46
46
|
borderWidth: number;
|
|
47
47
|
borderStyle: "solid";
|
|
48
|
-
borderColor:
|
|
49
|
-
backgroundColor:
|
|
48
|
+
borderColor: import("@alveole/theme").ThemeColor;
|
|
49
|
+
backgroundColor: import("@alveole/theme").ThemeColor;
|
|
50
50
|
};
|
|
51
51
|
};
|
|
52
52
|
//# sourceMappingURL=Popover.styles.d.ts.map
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import {
|
|
3
|
-
import { NumberInputProps } from '../FormControl';
|
|
2
|
+
import { NumberInputProps, TextInputElement } from '../FormControl';
|
|
4
3
|
export type PriceInputProps = NumberInputProps & {
|
|
5
4
|
autoFocus?: boolean;
|
|
6
5
|
devise?: '€';
|
|
@@ -10,5 +9,5 @@ export declare const PriceInput: React.ForwardRefExoticComponent<NumberInputProp
|
|
|
10
9
|
autoFocus?: boolean;
|
|
11
10
|
devise?: "\u20AC";
|
|
12
11
|
onChange?: NumberInputProps["onChange"];
|
|
13
|
-
} & React.RefAttributes<
|
|
12
|
+
} & React.RefAttributes<TextInputElement>>;
|
|
14
13
|
//# sourceMappingURL=PriceInput.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PriceInput.d.ts","sourceRoot":"","sources":["../../../src/ui/PriceInput/PriceInput.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"PriceInput.d.ts","sourceRoot":"","sources":["../../../src/ui/PriceInput/PriceInput.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAI1B,OAAO,EAAE,gBAAgB,EAAE,gBAAgB,EAAE,MAAM,gBAAgB,CAAC;AAIpE,MAAM,MAAM,eAAe,GAAG,gBAAgB,GAAG;IAC/C,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,MAAM,CAAC,EAAE,GAAG,CAAC;IACb,QAAQ,CAAC,EAAE,gBAAgB,CAAC,UAAU,CAAC,CAAC;CACzC,CAAC;AAEF,eAAO,MAAM,UAAU;gBALT,OAAO;aACV,QAAG;eACD,gBAAgB,CAAC,UAAU,CAAC;0CAuCvC,CAAC"}
|
|
@@ -6,11 +6,11 @@ import { Typography } from '../../core/Typography';
|
|
|
6
6
|
import { useFieldFocus } from '../FormControl/useFieldFocus';
|
|
7
7
|
import { useStyles } from './PriceInput.styles';
|
|
8
8
|
export const PriceInput = React.forwardRef(function PriceInput(props, ref) {
|
|
9
|
-
const { value, devise, onChange, ...inputProps } = props;
|
|
9
|
+
const { value, devise, onChange, onKeyDown: _k, ...inputProps } = props;
|
|
10
10
|
const styles = useStyles();
|
|
11
11
|
const champ = useFieldFocus({ disabled: props.disabled, readOnly: props.readOnly });
|
|
12
12
|
const numberLength = value ? String(value).length : 1;
|
|
13
|
-
return (_jsx(Box, { tag: "price-input", style: { ...styles.container, ...(champ.focus ? styles.
|
|
13
|
+
return (_jsx(Box, { tag: "price-input", style: { ...styles.container, ...(champ.focus ? styles.inputFocused : {}) }, children: _jsxs(Box, { tag: "price-input-container", style: styles.priceInputContainer, children: [_jsx(ReactNativeTextInput, { ref: ref, style: {
|
|
14
14
|
...styles.input,
|
|
15
15
|
minWidth: numberLength * 36,
|
|
16
16
|
}, ...inputProps, value: Number.isNaN(value) || value == null ? '' : String(value), onChangeText: e => {
|
|
@@ -8,19 +8,33 @@ declare const _default: {
|
|
|
8
8
|
autoFocus?: boolean;
|
|
9
9
|
devise?: "\u20AC";
|
|
10
10
|
onChange?: import("..").NumberInputProps["onChange"];
|
|
11
|
-
} & import("react").RefAttributes<import("
|
|
11
|
+
} & import("react").RefAttributes<import("..").TextInputElement>>;
|
|
12
12
|
styleFn: () => {
|
|
13
13
|
container: {
|
|
14
14
|
display: "flex";
|
|
15
15
|
flexDirection: "column";
|
|
16
16
|
width: "100%";
|
|
17
17
|
borderBottomWidth: number;
|
|
18
|
-
borderBottomColor:
|
|
18
|
+
borderBottomColor: import("@alveole/theme").ThemeColor;
|
|
19
19
|
paddingBottom: string | number;
|
|
20
20
|
};
|
|
21
|
-
|
|
21
|
+
inputFocused: {
|
|
22
22
|
borderBottomWidth: number;
|
|
23
23
|
borderBottomColor: string;
|
|
24
|
+
borderRadius: import("@alveole/theme").Radius;
|
|
25
|
+
outlineWidth?: number;
|
|
26
|
+
outlineStyle?: "solid";
|
|
27
|
+
outlineColor?: string;
|
|
28
|
+
outlineOffset?: number;
|
|
29
|
+
};
|
|
30
|
+
inputError: {
|
|
31
|
+
borderBottomColor: import("@alveole/theme").ThemeColor;
|
|
32
|
+
};
|
|
33
|
+
inputSuccess: {
|
|
34
|
+
borderBottomColor: import("@alveole/theme").ThemeColor;
|
|
35
|
+
};
|
|
36
|
+
inputDisabled: {
|
|
37
|
+
borderBottomColor: import("@alveole/theme").ThemeColor;
|
|
24
38
|
};
|
|
25
39
|
priceInputContainer: {
|
|
26
40
|
display: "flex";
|
|
@@ -30,13 +44,14 @@ declare const _default: {
|
|
|
30
44
|
input: {
|
|
31
45
|
outline: string;
|
|
32
46
|
borderWidth: number;
|
|
47
|
+
backgroundColor: "transparent";
|
|
33
48
|
textAlign: "center";
|
|
34
|
-
color:
|
|
49
|
+
color: import("@alveole/theme").ThemeColor;
|
|
35
50
|
fontFamily: string;
|
|
36
51
|
fontSize: 64;
|
|
37
52
|
};
|
|
38
53
|
inputPlaceholder: {
|
|
39
|
-
color:
|
|
54
|
+
color: import("@alveole/theme").ThemeColor;
|
|
40
55
|
};
|
|
41
56
|
inputDevise: {
|
|
42
57
|
position: "relative";
|
|
@@ -46,7 +61,7 @@ declare const _default: {
|
|
|
46
61
|
letterSpacing: 0;
|
|
47
62
|
fontFamily: string;
|
|
48
63
|
fontWeight?: import("react-native").TextStyle["fontWeight"];
|
|
49
|
-
color:
|
|
64
|
+
color: import("@alveole/theme").ThemeColor;
|
|
50
65
|
marginTop: string;
|
|
51
66
|
marginBottom: string;
|
|
52
67
|
};
|
|
@@ -54,5 +69,6 @@ declare const _default: {
|
|
|
54
69
|
};
|
|
55
70
|
export default _default;
|
|
56
71
|
export declare const Default: () => import("react").JSX.Element;
|
|
72
|
+
export declare const States: () => import("react").JSX.Element;
|
|
57
73
|
export * as Sources from './PriceInput.stories.sources';
|
|
58
74
|
//# sourceMappingURL=PriceInput.stories.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PriceInput.stories.d.ts","sourceRoot":"","sources":["../../../src/ui/PriceInput/PriceInput.stories.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"PriceInput.stories.d.ts","sourceRoot":"","sources":["../../../src/ui/PriceInput/PriceInput.stories.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAOA,wBASkB;AAElB,eAAO,MAAM,OAAO,mCAYnB,CAAC;AAEF,eAAO,MAAM,MAAM,mCAYlB,CAAC;AAEF,OAAO,KAAK,OAAO,MAAM,8BAA8B,CAAC"}
|
|
@@ -15,6 +15,7 @@ export default {
|
|
|
15
15
|
};
|
|
16
16
|
export const Default = () => {
|
|
17
17
|
const [value, setValue] = useState(null);
|
|
18
|
-
return (_jsxs(Box, { display: "flex", flexDirection: "column", gap:
|
|
18
|
+
return (_jsxs(Box, { display: "flex", flexDirection: "column", gap: "3W", children: [_jsx(FormControl, { label: "Montant", children: _jsx(PriceInput, { value: value, onChange: setValue }) }), _jsx(FormControl, { label: "Montant saisi", children: _jsx(PriceInput, { value: 1250, onChange: () => { } }) })] }));
|
|
19
19
|
};
|
|
20
|
+
export const States = () => (_jsxs(Box, { display: "flex", flexDirection: "column", gap: "3W", children: [_jsx(FormControl, { label: "Erreur", error: "Montant requis", children: _jsx(PriceInput, { value: null, error: "Montant requis", onChange: () => { } }) }), _jsx(FormControl, { label: "Succ\u00E8s", success: "Enregistr\u00E9", children: _jsx(PriceInput, { value: 1250, success: "Enregistr\u00E9", onChange: () => { } }) }), _jsx(FormControl, { label: "D\u00E9sactiv\u00E9", disabled: true, children: _jsx(PriceInput, { value: 1250, disabled: true, onChange: () => { } }) })] }));
|
|
20
21
|
export * as Sources from './PriceInput.stories.sources';
|
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
export declare const Default: () => string;
|
|
2
|
+
export declare const States: () => string;
|
|
2
3
|
export declare const storySources: {
|
|
3
4
|
readonly Default: () => string;
|
|
5
|
+
readonly States: () => string;
|
|
4
6
|
};
|
|
5
7
|
export type StorySourceName = keyof typeof storySources;
|
|
6
8
|
//# sourceMappingURL=PriceInput.stories.sources.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PriceInput.stories.sources.d.ts","sourceRoot":"","sources":["../../../src/ui/PriceInput/PriceInput.stories.sources.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,OAAO,
|
|
1
|
+
{"version":3,"file":"PriceInput.stories.sources.d.ts","sourceRoot":"","sources":["../../../src/ui/PriceInput/PriceInput.stories.sources.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,OAAO,cAA0b,CAAC;AAE/c,eAAO,MAAM,MAAM,cAAsjB,CAAC;AAE1kB,eAAO,MAAM,YAAY;;;CAGf,CAAC;AAEX,MAAM,MAAM,eAAe,GAAG,MAAM,OAAO,YAAY,CAAC"}
|
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
// This file is generated. Do not edit manually.
|
|
2
2
|
// Source: src/ui/PriceInput/PriceInput.stories.tsx
|
|
3
|
-
export const Default = () => "export const Default = () => {\n const [value, setValue] = useState<number | null>(null);\n return (\n <Box display=\"flex\" flexDirection=\"column\" gap
|
|
3
|
+
export const Default = () => "export const Default = () => {\n const [value, setValue] = useState<number | null>(null);\n return (\n <Box display=\"flex\" flexDirection=\"column\" gap=\"3W\">\n <FormControl label=\"Montant\">\n <PriceInput value={value} onChange={setValue} />\n </FormControl>\n <FormControl label=\"Montant saisi\">\n <PriceInput value={1250} onChange={() => {}} />\n </FormControl>\n </Box>\n );\n};";
|
|
4
|
+
export const States = () => "export const States = () => (\n <Box display=\"flex\" flexDirection=\"column\" gap=\"3W\">\n <FormControl label=\"Erreur\" error=\"Montant requis\">\n <PriceInput value={null} error=\"Montant requis\" onChange={() => {}} />\n </FormControl>\n <FormControl label=\"Succès\" success=\"Enregistré\">\n <PriceInput value={1250} success=\"Enregistré\" onChange={() => {}} />\n </FormControl>\n <FormControl label=\"Désactivé\" disabled>\n <PriceInput value={1250} disabled onChange={() => {}} />\n </FormControl>\n </Box>\n);";
|
|
4
5
|
export const storySources = {
|
|
5
6
|
Default,
|
|
7
|
+
States,
|
|
6
8
|
};
|
|
@@ -4,12 +4,26 @@ export declare const useStyles: () => {
|
|
|
4
4
|
flexDirection: "column";
|
|
5
5
|
width: "100%";
|
|
6
6
|
borderBottomWidth: number;
|
|
7
|
-
borderBottomColor:
|
|
7
|
+
borderBottomColor: import("@alveole/theme").ThemeColor;
|
|
8
8
|
paddingBottom: string | number;
|
|
9
9
|
};
|
|
10
|
-
|
|
10
|
+
inputFocused: {
|
|
11
11
|
borderBottomWidth: number;
|
|
12
12
|
borderBottomColor: string;
|
|
13
|
+
borderRadius: import("@alveole/theme").Radius;
|
|
14
|
+
outlineWidth?: number;
|
|
15
|
+
outlineStyle?: "solid";
|
|
16
|
+
outlineColor?: string;
|
|
17
|
+
outlineOffset?: number;
|
|
18
|
+
};
|
|
19
|
+
inputError: {
|
|
20
|
+
borderBottomColor: import("@alveole/theme").ThemeColor;
|
|
21
|
+
};
|
|
22
|
+
inputSuccess: {
|
|
23
|
+
borderBottomColor: import("@alveole/theme").ThemeColor;
|
|
24
|
+
};
|
|
25
|
+
inputDisabled: {
|
|
26
|
+
borderBottomColor: import("@alveole/theme").ThemeColor;
|
|
13
27
|
};
|
|
14
28
|
priceInputContainer: {
|
|
15
29
|
display: "flex";
|
|
@@ -19,13 +33,14 @@ export declare const useStyles: () => {
|
|
|
19
33
|
input: {
|
|
20
34
|
outline: string;
|
|
21
35
|
borderWidth: number;
|
|
36
|
+
backgroundColor: "transparent";
|
|
22
37
|
textAlign: "center";
|
|
23
|
-
color:
|
|
38
|
+
color: import("@alveole/theme").ThemeColor;
|
|
24
39
|
fontFamily: string;
|
|
25
40
|
fontSize: 64;
|
|
26
41
|
};
|
|
27
42
|
inputPlaceholder: {
|
|
28
|
-
color:
|
|
43
|
+
color: import("@alveole/theme").ThemeColor;
|
|
29
44
|
};
|
|
30
45
|
inputDevise: {
|
|
31
46
|
position: "relative";
|
|
@@ -35,7 +50,7 @@ export declare const useStyles: () => {
|
|
|
35
50
|
letterSpacing: 0;
|
|
36
51
|
fontFamily: string;
|
|
37
52
|
fontWeight?: import("react-native").TextStyle["fontWeight"];
|
|
38
|
-
color:
|
|
53
|
+
color: import("@alveole/theme").ThemeColor;
|
|
39
54
|
marginTop: string;
|
|
40
55
|
marginBottom: string;
|
|
41
56
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PriceInput.styles.d.ts","sourceRoot":"","sources":["../../../src/ui/PriceInput/PriceInput.styles.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,SAAS
|
|
1
|
+
{"version":3,"file":"PriceInput.styles.d.ts","sourceRoot":"","sources":["../../../src/ui/PriceInput/PriceInput.styles.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAqDnB,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { focusBorder, makeStyles } from '@alveole/theme';
|
|
2
|
-
export const useStyles = makeStyles(({ text, color, spacing }) => ({
|
|
2
|
+
export const useStyles = makeStyles(({ text, color, spacing, radius }) => ({
|
|
3
3
|
container: {
|
|
4
4
|
display: 'flex',
|
|
5
5
|
flexDirection: 'column',
|
|
@@ -8,11 +8,23 @@ export const useStyles = makeStyles(({ text, color, spacing }) => ({
|
|
|
8
8
|
borderBottomColor: color.light.border['plain-grey'],
|
|
9
9
|
paddingBottom: spacing('1W'),
|
|
10
10
|
},
|
|
11
|
-
// Le champ de prix n'a qu'un trait sous le montant en guise de cadre :
|
|
12
|
-
//
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
11
|
+
// Le champ de prix n'a qu'un trait sous le montant en guise de cadre : le focus le recolore,
|
|
12
|
+
// et l'anneau encastre des autres champs (ADR 0017) entoure la zone du montant.
|
|
13
|
+
inputFocused: (({ borderWidth, borderColor, ...anneau }) => ({
|
|
14
|
+
...anneau,
|
|
15
|
+
borderBottomWidth: borderWidth,
|
|
16
|
+
borderBottomColor: borderColor,
|
|
17
|
+
// Au focus seulement : au repos, un rayon courberait les extremites du seul trait visible.
|
|
18
|
+
borderRadius: radius('md'),
|
|
19
|
+
}))(focusBorder()),
|
|
20
|
+
inputError: {
|
|
21
|
+
borderBottomColor: color.light.border['plain-error'],
|
|
22
|
+
},
|
|
23
|
+
inputSuccess: {
|
|
24
|
+
borderBottomColor: color.light.border['plain-success'],
|
|
25
|
+
},
|
|
26
|
+
inputDisabled: {
|
|
27
|
+
borderBottomColor: color.light.border['disabled-grey'],
|
|
16
28
|
},
|
|
17
29
|
priceInputContainer: {
|
|
18
30
|
display: 'flex',
|
|
@@ -22,6 +34,8 @@ export const useStyles = makeStyles(({ text, color, spacing }) => ({
|
|
|
22
34
|
input: {
|
|
23
35
|
outline: 'none',
|
|
24
36
|
borderWidth: 0,
|
|
37
|
+
// Le blanc par defaut d'un <input> recouvrirait l'anneau encastre du cadre.
|
|
38
|
+
backgroundColor: 'transparent',
|
|
25
39
|
textAlign: 'center',
|
|
26
40
|
color: color.light.text['title-grey'],
|
|
27
41
|
fontFamily: text['Titres alternatifs'].MD.fontFamily,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PriceInput.web.d.ts","sourceRoot":"","sources":["../../../src/ui/PriceInput/PriceInput.web.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"PriceInput.web.d.ts","sourceRoot":"","sources":["../../../src/ui/PriceInput/PriceInput.web.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAW1B,eAAO,MAAM,UAAU;;;;0CAuCrB,CAAC"}
|
|
@@ -4,22 +4,21 @@ import { Box } from '../../core/Box';
|
|
|
4
4
|
import { Typography } from '../../core/Typography';
|
|
5
5
|
import { useFieldId } from '../FormControl';
|
|
6
6
|
import { useFieldFocus } from '../FormControl/useFieldFocus';
|
|
7
|
-
import './
|
|
7
|
+
import { cadrePrix } from './cadrePrix';
|
|
8
|
+
import { largeurDuChamp } from './largeurDuChamp';
|
|
8
9
|
import { useStyles } from './PriceInput.styles';
|
|
9
|
-
|
|
10
|
+
import { useSaisieMontant } from './useSaisieMontant';
|
|
10
11
|
export const PriceInput = React.forwardRef(function PriceInput(props, ref) {
|
|
11
|
-
const { devise, autoFocus, value, disabled, readOnly, onChange } = props;
|
|
12
|
+
const { devise, autoFocus, value, disabled, readOnly, error, success, onChange } = props;
|
|
12
13
|
const styles = useStyles();
|
|
13
14
|
const champ = useFieldFocus({ disabled, readOnly });
|
|
14
|
-
const
|
|
15
|
-
|
|
15
|
+
const { affichage, saisir } = useSaisieMontant(value, onChange);
|
|
16
|
+
const largeur = largeurDuChamp(affichage);
|
|
17
|
+
return (_jsx(Box, { tag: "price-input", style: cadrePrix(styles, { focus: champ.focus, disabled, error, success }), children: _jsxs(Box, { tag: "price-input-container", style: styles.priceInputContainer, children: [_jsx("input", { ref: ref, id: useFieldId(), autoFocus: autoFocus, disabled: disabled, readOnly: readOnly, className: "alveole-price-input", style: {
|
|
16
18
|
...styles.input,
|
|
17
19
|
fontVariantNumeric: 'tabular-nums',
|
|
18
|
-
width:
|
|
20
|
+
width: largeur,
|
|
19
21
|
lineHeight: 'inherit',
|
|
20
22
|
maxWidth: '100%',
|
|
21
|
-
}, value:
|
|
22
|
-
const newValue = e.target.value;
|
|
23
|
-
onChange?.(newValue === '' ? null : Number(newValue));
|
|
24
|
-
}, onFocus: champ.handleFocus, onBlur: champ.handleBlur, type: "number", max: MAX_VALUE }), _jsx(Typography, { style: styles.inputDevise, children: devise || '€' })] }) }));
|
|
23
|
+
}, value: affichage, placeholder: "0", onChange: e => saisir(e.target.value), onFocus: champ.handleFocus, onBlur: champ.handleBlur, type: "text", inputMode: "decimal" }), _jsx(Typography, { style: styles.inputDevise, children: devise || '€' })] }) }));
|
|
25
24
|
});
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
import { FieldBorderState } from '../FormControl/fieldBorderState';
|
|
2
|
+
import { useStyles } from './PriceInput.styles';
|
|
3
|
+
type Styles = ReturnType<typeof useStyles>;
|
|
4
|
+
/**
|
|
5
|
+
* Le trait sous le montant tient lieu de cadre au champ de prix : il prend les etats de tous
|
|
6
|
+
* les champs, dans la priorite commune de l'ADR 0012.
|
|
7
|
+
*/
|
|
8
|
+
export declare const cadrePrix: (styles: Styles, state: FieldBorderState) => {
|
|
9
|
+
borderBottomWidth: number;
|
|
10
|
+
borderBottomColor: string;
|
|
11
|
+
borderRadius?: import("@alveole/theme").Radius | undefined;
|
|
12
|
+
outlineWidth?: number | undefined;
|
|
13
|
+
outlineStyle?: "solid" | undefined;
|
|
14
|
+
outlineColor?: string | undefined;
|
|
15
|
+
outlineOffset?: number | undefined;
|
|
16
|
+
display: "flex";
|
|
17
|
+
flexDirection: "column";
|
|
18
|
+
width: "100%";
|
|
19
|
+
paddingBottom: string | number;
|
|
20
|
+
} | {
|
|
21
|
+
borderBottomColor: import("@alveole/theme").ThemeColor;
|
|
22
|
+
display: "flex";
|
|
23
|
+
flexDirection: "column";
|
|
24
|
+
width: "100%";
|
|
25
|
+
borderBottomWidth: number;
|
|
26
|
+
paddingBottom: string | number;
|
|
27
|
+
} | {
|
|
28
|
+
borderBottomColor: import("@alveole/theme").ThemeColor;
|
|
29
|
+
display: "flex";
|
|
30
|
+
flexDirection: "column";
|
|
31
|
+
width: "100%";
|
|
32
|
+
borderBottomWidth: number;
|
|
33
|
+
paddingBottom: string | number;
|
|
34
|
+
} | {
|
|
35
|
+
borderBottomColor: import("@alveole/theme").ThemeColor;
|
|
36
|
+
display: "flex";
|
|
37
|
+
flexDirection: "column";
|
|
38
|
+
width: "100%";
|
|
39
|
+
borderBottomWidth: number;
|
|
40
|
+
paddingBottom: string | number;
|
|
41
|
+
};
|
|
42
|
+
export {};
|
|
43
|
+
//# sourceMappingURL=cadrePrix.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"cadrePrix.d.ts","sourceRoot":"","sources":["../../../src/ui/PriceInput/cadrePrix.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAoB,MAAM,iCAAiC,CAAC;AACrF,OAAO,EAAE,SAAS,EAAE,MAAM,qBAAqB,CAAC;AAEhD,KAAK,MAAM,GAAG,UAAU,CAAC,OAAO,SAAS,CAAC,CAAC;AAE3C;;;GAGG;AACH,eAAO,MAAM,SAAS,GAAI,QAAQ,MAAM,EAAE,OAAO,gBAAgB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAG/D,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { fieldBorderState } from '../FormControl/fieldBorderState';
|
|
2
|
+
/**
|
|
3
|
+
* Le trait sous le montant tient lieu de cadre au champ de prix : il prend les etats de tous
|
|
4
|
+
* les champs, dans la priorite commune de l'ADR 0012.
|
|
5
|
+
*/
|
|
6
|
+
export const cadrePrix = (styles, state) => ({
|
|
7
|
+
...styles.container,
|
|
8
|
+
...fieldBorderState(styles, state),
|
|
9
|
+
});
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"largeurDuChamp.d.ts","sourceRoot":"","sources":["../../../src/ui/PriceInput/largeurDuChamp.ts"],"names":[],"mappings":"AACA,eAAO,MAAM,cAAc,GAAI,WAAW,MAAM,WAAiC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useSaisieMontant.d.ts","sourceRoot":"","sources":["../../../src/ui/PriceInput/useSaisieMontant.ts"],"names":[],"mappings":"AAUA,eAAO,MAAM,gBAAgB,GAAI,SAAS,MAAM,GAAG,IAAI,GAAG,SAAS,EAAE,WAAW,CAAC,OAAO,EAAE,MAAM,GAAG,IAAI,KAAK,IAAI;;oBAKvF,MAAM;CAO9B,CAAC"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { useState } from 'react';
|
|
2
|
+
// Des chiffres, puis au plus un séparateur décimal (virgule ou point) et deux décimales.
|
|
3
|
+
const MONTANT = /^\d*([.,]\d{0,2})?$/;
|
|
4
|
+
// La virgule est le séparateur décimal en français ; Number ne lit que le point.
|
|
5
|
+
const lireMontant = (texte) => (texte === '' ? null : Number(texte.replace(',', '.')));
|
|
6
|
+
// Le texte tapé reste affiché tant qu'il vaut le montant reçu : « 12, » attend sa décimale
|
|
7
|
+
// au lieu de redevenir « 12 ». Un montant imposé par le parent reprend la main.
|
|
8
|
+
export const useSaisieMontant = (montant, onChange) => {
|
|
9
|
+
const texteDuMontant = montant == null ? '' : String(montant);
|
|
10
|
+
const [saisie, setSaisie] = useState(texteDuMontant);
|
|
11
|
+
const affichage = lireMontant(saisie) === (montant ?? null) ? saisie : texteDuMontant;
|
|
12
|
+
const saisir = (texte) => {
|
|
13
|
+
if (!MONTANT.test(texte))
|
|
14
|
+
return;
|
|
15
|
+
setSaisie(texte);
|
|
16
|
+
onChange?.(lireMontant(texte));
|
|
17
|
+
};
|
|
18
|
+
return { affichage, saisir };
|
|
19
|
+
};
|
|
@@ -9,7 +9,7 @@ declare const _default: {
|
|
|
9
9
|
progressed: {
|
|
10
10
|
height: "100%";
|
|
11
11
|
borderRadius: import("@alveole/theme").Radius;
|
|
12
|
-
backgroundColor:
|
|
12
|
+
backgroundColor: import("@alveole/theme").ThemeColor;
|
|
13
13
|
};
|
|
14
14
|
progressedAbsolute: {
|
|
15
15
|
position: "absolute";
|
|
@@ -17,13 +17,14 @@ declare const _default: {
|
|
|
17
17
|
bottom: number;
|
|
18
18
|
left: number;
|
|
19
19
|
borderRadius: import("@alveole/theme").Radius;
|
|
20
|
-
backgroundColor:
|
|
20
|
+
backgroundColor: import("@alveole/theme").ThemeColor;
|
|
21
21
|
};
|
|
22
22
|
progress: {
|
|
23
|
-
backgroundColor:
|
|
23
|
+
backgroundColor: import("@alveole/theme").ThemeColor;
|
|
24
24
|
width: "100%";
|
|
25
25
|
borderRadius: import("@alveole/theme").Radius;
|
|
26
26
|
overflow: "hidden";
|
|
27
|
+
position: "relative";
|
|
27
28
|
};
|
|
28
29
|
bar: {
|
|
29
30
|
position: "absolute";
|
|
@@ -31,10 +32,10 @@ declare const _default: {
|
|
|
31
32
|
bottom: number;
|
|
32
33
|
width: "100%";
|
|
33
34
|
borderRadius: import("@alveole/theme").Radius;
|
|
34
|
-
backgroundColor:
|
|
35
|
+
backgroundColor: import("@alveole/theme").ThemeColor;
|
|
35
36
|
};
|
|
36
37
|
indicator: {
|
|
37
|
-
color:
|
|
38
|
+
color: import("@alveole/theme").ThemeColor;
|
|
38
39
|
marginTop: string | number;
|
|
39
40
|
marginLeft: string;
|
|
40
41
|
marginRight: string;
|
|
@@ -57,7 +58,7 @@ declare const _default: {
|
|
|
57
58
|
remaining: {
|
|
58
59
|
height: "100%";
|
|
59
60
|
borderRadius: import("@alveole/theme").Radius;
|
|
60
|
-
backgroundColor:
|
|
61
|
+
backgroundColor: import("@alveole/theme").ThemeColor;
|
|
61
62
|
};
|
|
62
63
|
remainingAbsolute: {
|
|
63
64
|
position: "absolute";
|
|
@@ -65,7 +66,7 @@ declare const _default: {
|
|
|
65
66
|
bottom: number;
|
|
66
67
|
right: number;
|
|
67
68
|
borderRadius: import("@alveole/theme").Radius;
|
|
68
|
-
backgroundColor:
|
|
69
|
+
backgroundColor: import("@alveole/theme").ThemeColor;
|
|
69
70
|
};
|
|
70
71
|
noRadius: {
|
|
71
72
|
borderRadius: number;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ProgressBar.stories.d.ts","sourceRoot":"","sources":["../../../src/ui/ProgressBar/ProgressBar.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC
|
|
1
|
+
{"version":3,"file":"ProgressBar.stories.d.ts","sourceRoot":"","sources":["../../../src/ui/ProgressBar/ProgressBar.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAO1B,wBAOkB;AAElB,eAAO,MAAM,WAAW,yBAAwD,CAAC;AAEjF,eAAO,MAAM,IAAI,yBAAoC,CAAC;AAEtD,eAAO,MAAM,aAAa,yBAA6C,CAAC;AAExE,eAAO,MAAM,aAAa,yBAAkE,CAAC;AAE7F,eAAO,MAAM,QAAQ,yBAAiE,CAAC;AAEvF,eAAO,MAAM,KAAK,yBAmBjB,CAAC;AAEF,OAAO,KAAK,OAAO,MAAM,+BAA+B,CAAC"}
|
|
@@ -2,7 +2,7 @@ export declare const useStyles: () => {
|
|
|
2
2
|
progressed: {
|
|
3
3
|
height: "100%";
|
|
4
4
|
borderRadius: import("@alveole/theme").Radius;
|
|
5
|
-
backgroundColor:
|
|
5
|
+
backgroundColor: import("@alveole/theme").ThemeColor;
|
|
6
6
|
};
|
|
7
7
|
progressedAbsolute: {
|
|
8
8
|
position: "absolute";
|
|
@@ -10,13 +10,14 @@ export declare const useStyles: () => {
|
|
|
10
10
|
bottom: number;
|
|
11
11
|
left: number;
|
|
12
12
|
borderRadius: import("@alveole/theme").Radius;
|
|
13
|
-
backgroundColor:
|
|
13
|
+
backgroundColor: import("@alveole/theme").ThemeColor;
|
|
14
14
|
};
|
|
15
15
|
progress: {
|
|
16
|
-
backgroundColor:
|
|
16
|
+
backgroundColor: import("@alveole/theme").ThemeColor;
|
|
17
17
|
width: "100%";
|
|
18
18
|
borderRadius: import("@alveole/theme").Radius;
|
|
19
19
|
overflow: "hidden";
|
|
20
|
+
position: "relative";
|
|
20
21
|
};
|
|
21
22
|
bar: {
|
|
22
23
|
position: "absolute";
|
|
@@ -24,10 +25,10 @@ export declare const useStyles: () => {
|
|
|
24
25
|
bottom: number;
|
|
25
26
|
width: "100%";
|
|
26
27
|
borderRadius: import("@alveole/theme").Radius;
|
|
27
|
-
backgroundColor:
|
|
28
|
+
backgroundColor: import("@alveole/theme").ThemeColor;
|
|
28
29
|
};
|
|
29
30
|
indicator: {
|
|
30
|
-
color:
|
|
31
|
+
color: import("@alveole/theme").ThemeColor;
|
|
31
32
|
marginTop: string | number;
|
|
32
33
|
marginLeft: string;
|
|
33
34
|
marginRight: string;
|
|
@@ -50,7 +51,7 @@ export declare const useStyles: () => {
|
|
|
50
51
|
remaining: {
|
|
51
52
|
height: "100%";
|
|
52
53
|
borderRadius: import("@alveole/theme").Radius;
|
|
53
|
-
backgroundColor:
|
|
54
|
+
backgroundColor: import("@alveole/theme").ThemeColor;
|
|
54
55
|
};
|
|
55
56
|
remainingAbsolute: {
|
|
56
57
|
position: "absolute";
|
|
@@ -58,7 +59,7 @@ export declare const useStyles: () => {
|
|
|
58
59
|
bottom: number;
|
|
59
60
|
right: number;
|
|
60
61
|
borderRadius: import("@alveole/theme").Radius;
|
|
61
|
-
backgroundColor:
|
|
62
|
+
backgroundColor: import("@alveole/theme").ThemeColor;
|
|
62
63
|
};
|
|
63
64
|
noRadius: {
|
|
64
65
|
borderRadius: number;
|