@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
|
@@ -66,9 +66,8 @@ export declare const useStyles: () => {
|
|
|
66
66
|
display: "flex";
|
|
67
67
|
flexDirection: "row";
|
|
68
68
|
alignItems: "stretch";
|
|
69
|
-
backgroundColor: string;
|
|
70
69
|
borderBottomWidth: number;
|
|
71
|
-
borderBottomColor:
|
|
70
|
+
borderBottomColor: import("@alveole/theme").ThemeColor;
|
|
72
71
|
};
|
|
73
72
|
rowSm: {
|
|
74
73
|
minHeight: number;
|
|
@@ -82,19 +81,22 @@ export declare const useStyles: () => {
|
|
|
82
81
|
rowHoverable: {
|
|
83
82
|
cursor: "pointer";
|
|
84
83
|
};
|
|
84
|
+
rowBackground: {
|
|
85
|
+
backgroundColor: import("@alveole/theme").ThemeColor;
|
|
86
|
+
};
|
|
85
87
|
rowHover: {
|
|
86
|
-
backgroundColor:
|
|
88
|
+
backgroundColor: import("@alveole/theme").ThemeColor;
|
|
87
89
|
};
|
|
88
90
|
rowSelected: {
|
|
89
|
-
backgroundColor:
|
|
91
|
+
backgroundColor: import("@alveole/theme").ThemeColor;
|
|
90
92
|
};
|
|
91
93
|
headerRow: {
|
|
92
94
|
display: "flex";
|
|
93
95
|
flexDirection: "row";
|
|
94
96
|
alignItems: "stretch";
|
|
95
|
-
backgroundColor:
|
|
97
|
+
backgroundColor: import("@alveole/theme").ThemeColor;
|
|
96
98
|
borderBottomWidth: number;
|
|
97
|
-
borderBottomColor:
|
|
99
|
+
borderBottomColor: import("@alveole/theme").ThemeColor;
|
|
98
100
|
};
|
|
99
101
|
headerRowSm: {
|
|
100
102
|
minHeight: number;
|
|
@@ -129,7 +131,7 @@ export declare const useStyles: () => {
|
|
|
129
131
|
paddingRight: string | number;
|
|
130
132
|
};
|
|
131
133
|
headerLabel: {
|
|
132
|
-
color:
|
|
134
|
+
color: import("@alveole/theme").ThemeColor;
|
|
133
135
|
fontSize: 12;
|
|
134
136
|
lineHeight: 20;
|
|
135
137
|
letterSpacing: 0;
|
|
@@ -137,16 +139,16 @@ export declare const useStyles: () => {
|
|
|
137
139
|
fontWeight?: import("react-native").TextStyle["fontWeight"];
|
|
138
140
|
};
|
|
139
141
|
headerLabelActive: {
|
|
140
|
-
color:
|
|
142
|
+
color: import("@alveole/theme").ThemeColor;
|
|
141
143
|
};
|
|
142
144
|
table: {
|
|
143
145
|
display: "flex";
|
|
144
146
|
flexDirection: "column";
|
|
145
147
|
borderWidth: number;
|
|
146
|
-
borderColor:
|
|
148
|
+
borderColor: import("@alveole/theme").ThemeColor;
|
|
147
149
|
borderRadius: import("@alveole/theme").Radius;
|
|
148
150
|
overflow: "hidden";
|
|
149
|
-
backgroundColor:
|
|
151
|
+
backgroundColor: import("@alveole/theme").ThemeColor;
|
|
150
152
|
};
|
|
151
153
|
scrollContent: {
|
|
152
154
|
display: "flex";
|
|
@@ -161,7 +163,7 @@ export declare const useStyles: () => {
|
|
|
161
163
|
padding: string | number;
|
|
162
164
|
};
|
|
163
165
|
emptyStateLabel: {
|
|
164
|
-
color:
|
|
166
|
+
color: import("@alveole/theme").ThemeColor;
|
|
165
167
|
fontSize: 14;
|
|
166
168
|
lineHeight: 20;
|
|
167
169
|
letterSpacing: 0;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DataTable.styles.d.ts","sourceRoot":"","sources":["../../../src/ui/DataTable/DataTable.styles.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"DataTable.styles.d.ts","sourceRoot":"","sources":["../../../src/ui/DataTable/DataTable.styles.ts"],"names":[],"mappings":"AAmMA,eAAO,MAAM,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAMnB,CAAC"}
|
|
@@ -81,7 +81,6 @@ const ligne = ({ color }) => ({
|
|
|
81
81
|
display: 'flex',
|
|
82
82
|
flexDirection: 'row',
|
|
83
83
|
alignItems: 'stretch',
|
|
84
|
-
backgroundColor: color.light.background['default-grey'],
|
|
85
84
|
borderBottomWidth: 1,
|
|
86
85
|
borderBottomColor: color.light.border['default-grey'],
|
|
87
86
|
},
|
|
@@ -97,6 +96,11 @@ const ligne = ({ color }) => ({
|
|
|
97
96
|
rowHoverable: {
|
|
98
97
|
cursor: 'pointer',
|
|
99
98
|
},
|
|
99
|
+
// Le fond vit hors de `row` : repos et survol passent par la seule prop `backgroundColor`
|
|
100
|
+
// (ADR 0031).
|
|
101
|
+
rowBackground: {
|
|
102
|
+
backgroundColor: color.light.background['default-grey'],
|
|
103
|
+
},
|
|
100
104
|
rowHover: {
|
|
101
105
|
backgroundColor: color.light.background['alt-grey'],
|
|
102
106
|
},
|
|
@@ -6,5 +6,5 @@ export const DataTableCell = (props) => {
|
|
|
6
6
|
const { align = 'start', width, children, variant = 'body', size = 'sm', onPress, noPadding = false } = props;
|
|
7
7
|
const styles = useStyles();
|
|
8
8
|
const aspect = dataTableCellStyle(styles, { variant, size, align, width, noPadding, pressable: onPress != null });
|
|
9
|
-
return (_jsx(Box, { tag: aspect.tag, onPress: onPress,
|
|
9
|
+
return (_jsx(Box, { tag: aspect.tag, onPress: onPress, opacity: aspect.opacite, style: aspect.style, children: children }));
|
|
10
10
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DataTableRow.d.ts","sourceRoot":"","sources":["../../../src/ui/DataTable/DataTableRow.tsx"],"names":[],"mappings":"AAGA,OAAO,EAAE,eAAe,EAAE,aAAa,EAAE,MAAM,mBAAmB,CAAC;AAGnE,MAAM,MAAM,iBAAiB,CAAC,GAAG,IAAI;IACnC,GAAG,EAAE,GAAG,CAAC;IACT,QAAQ,EAAE,MAAM,CAAC;IACjB,MAAM,EAAE,MAAM,CAAC;IACf,OAAO,EAAE,eAAe,CAAC,GAAG,CAAC,EAAE,CAAC;IAChC,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,IAAI,CAAC,EAAE,aAAa,CAAC;IACrB,6IAA6I;IAC7I,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB,gBAAgB,CAAC,EAAE,CAAC,OAAO,EAAE,OAAO,KAAK,IAAI,CAAC;IAC9C,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;CACtB,CAAC;AAcF,eAAO,MAAM,YAAY,GAAI,GAAG,EAAG,OAAO,iBAAiB,CAAC,GAAG,CAAC,
|
|
1
|
+
{"version":3,"file":"DataTableRow.d.ts","sourceRoot":"","sources":["../../../src/ui/DataTable/DataTableRow.tsx"],"names":[],"mappings":"AAGA,OAAO,EAAE,eAAe,EAAE,aAAa,EAAE,MAAM,mBAAmB,CAAC;AAGnE,MAAM,MAAM,iBAAiB,CAAC,GAAG,IAAI;IACnC,GAAG,EAAE,GAAG,CAAC;IACT,QAAQ,EAAE,MAAM,CAAC;IACjB,MAAM,EAAE,MAAM,CAAC;IACf,OAAO,EAAE,eAAe,CAAC,GAAG,CAAC,EAAE,CAAC;IAChC,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,IAAI,CAAC,EAAE,aAAa,CAAC;IACrB,6IAA6I;IAC7I,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB,gBAAgB,CAAC,EAAE,CAAC,OAAO,EAAE,OAAO,KAAK,IAAI,CAAC;IAC9C,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;CACtB,CAAC;AAcF,eAAO,MAAM,YAAY,GAAI,GAAG,EAAG,OAAO,iBAAiB,CAAC,GAAG,CAAC,gCAsD/D,CAAC"}
|
|
@@ -16,10 +16,12 @@ const rowStyleBySize = {
|
|
|
16
16
|
export const DataTableRow = (props) => {
|
|
17
17
|
const { row, rowIndex, rowKey, columns, selectable, selected, size = 'sm', noBorderBottom, onSelectedChange, onPress, } = props;
|
|
18
18
|
const styles = useStyles();
|
|
19
|
-
return (_jsxs(Box, { tag: "data-table-row", onPress: onPress,
|
|
19
|
+
return (_jsxs(Box, { tag: "data-table-row", onPress: onPress, backgroundColor: {
|
|
20
|
+
default: (selected ? styles.rowSelected : styles.rowBackground).backgroundColor,
|
|
21
|
+
hover: onPress ? styles.rowHover.backgroundColor : undefined,
|
|
22
|
+
}, style: [
|
|
20
23
|
styles.row,
|
|
21
24
|
styles[rowStyleBySize[size]],
|
|
22
|
-
selected ? styles.rowSelected : {},
|
|
23
25
|
onPress ? styles.rowHoverable : {},
|
|
24
26
|
noBorderBottom ? { borderBottomWidth: 0 } : {},
|
|
25
27
|
], children: [selectable && (_jsx(Box, { tag: "data-table-selection-cell", style: [styles.selectionCell, styles[selectionCellStyleBySize[size]]], onPress: event => event.stopPropagation(), children: _jsx(CheckboxContainer, { id: `${rowKey}--checkbox`, "aria-label": `Sélectionner la ligne ${rowIndex + 1}`, variant: "small", checked: selected, onCheckedChange: checked => onSelectedChange?.(checked === true), children: _jsx(CheckboxIndicator, { variant: "small" }) }) })), columns.map(column => (_jsx(DataTableCell, { align: column.align, width: column.width, size: size, children: column.renderCell(row, rowIndex) }, column.id)))] }));
|
|
@@ -17,8 +17,8 @@ export type DataTableCellState = {
|
|
|
17
17
|
*/
|
|
18
18
|
export declare const dataTableCellStyle: (styles: DataTableStyles, { variant, size, align, width, noPadding, pressable }: DataTableCellState) => {
|
|
19
19
|
tag: "data-table-header-cell" | "data-table-cell";
|
|
20
|
-
|
|
21
|
-
|
|
20
|
+
opacite: {
|
|
21
|
+
hover: number;
|
|
22
22
|
} | undefined;
|
|
23
23
|
style: ({
|
|
24
24
|
display: "flex";
|
|
@@ -12,7 +12,7 @@ export const dataTableCellStyle = (styles, { variant, size, align, width, noPadd
|
|
|
12
12
|
return {
|
|
13
13
|
tag: variant === 'header' ? 'data-table-header-cell' : 'data-table-cell',
|
|
14
14
|
// Le survol ne repond que la ou il y a quelque chose a presser.
|
|
15
|
-
|
|
15
|
+
opacite: pressable ? { hover: 0.8 } : undefined,
|
|
16
16
|
style: [
|
|
17
17
|
variant === 'header' ? styles.headerCell : styles.cell,
|
|
18
18
|
noPadding ? {} : retrait,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import { TextInputProps } from '../FormControl';
|
|
2
|
+
import { TextInputElement, TextInputProps } from '../FormControl';
|
|
3
3
|
type MinuteInterval = 1 | 2 | 3 | 4 | 5 | 6 | 10 | 12 | 15 | 20 | 30;
|
|
4
|
-
export type DateInputProps = Omit<TextInputProps, 'type'> & {
|
|
4
|
+
export type DateInputProps = Omit<TextInputProps, 'type' | 'onChange'> & {
|
|
5
5
|
type?: 'date' | 'datetime' | 'month';
|
|
6
6
|
display?: 'default' | 'spinner';
|
|
7
7
|
value?: string;
|
|
@@ -11,7 +11,7 @@ export type DateInputProps = Omit<TextInputProps, 'type'> & {
|
|
|
11
11
|
is24Hour?: boolean;
|
|
12
12
|
minuteInterval?: MinuteInterval;
|
|
13
13
|
};
|
|
14
|
-
export declare const DateInput: React.ForwardRefExoticComponent<Omit<TextInputProps, "type"> & {
|
|
14
|
+
export declare const DateInput: React.ForwardRefExoticComponent<Omit<TextInputProps, "onChange" | "type"> & {
|
|
15
15
|
type?: "date" | "datetime" | "month";
|
|
16
16
|
display?: "default" | "spinner";
|
|
17
17
|
value?: string;
|
|
@@ -20,6 +20,6 @@ export declare const DateInput: React.ForwardRefExoticComponent<Omit<TextInputPr
|
|
|
20
20
|
onChange?: (date: string) => void;
|
|
21
21
|
is24Hour?: boolean;
|
|
22
22
|
minuteInterval?: MinuteInterval;
|
|
23
|
-
} & React.RefAttributes<
|
|
23
|
+
} & React.RefAttributes<TextInputElement>>;
|
|
24
24
|
export {};
|
|
25
25
|
//# sourceMappingURL=DateInput.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DateInput.d.ts","sourceRoot":"","sources":["../../../src/ui/DateInput/DateInput.tsx"],"names":[],"mappings":"AAOA,OAAO,KAAyC,MAAM,OAAO,CAAC;AAG9D,OAAO,
|
|
1
|
+
{"version":3,"file":"DateInput.d.ts","sourceRoot":"","sources":["../../../src/ui/DateInput/DateInput.tsx"],"names":[],"mappings":"AAOA,OAAO,KAAyC,MAAM,OAAO,CAAC;AAG9D,OAAO,EAAa,gBAAgB,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAC;AAE7E,KAAK,cAAc,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,CAAC;AAErE,MAAM,MAAM,cAAc,GAAG,IAAI,CAAC,cAAc,EAAE,MAAM,GAAG,UAAU,CAAC,GAAG;IACvE,IAAI,CAAC,EAAE,MAAM,GAAG,UAAU,GAAG,OAAO,CAAC;IACrC,OAAO,CAAC,EAAE,SAAS,GAAG,SAAS,CAAC;IAChC,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,WAAW,CAAC,EAAE,IAAI,CAAC;IACnB,WAAW,CAAC,EAAE,IAAI,CAAC;IACnB,QAAQ,CAAC,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,IAAI,CAAC;IAClC,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,cAAc,CAAC,EAAE,cAAc,CAAC;CACjC,CAAC;AA+EF,eAAO,MAAM,SAAS;WAvFb,MAAM,GAAG,UAAU,GAAG,OAAO;cAC1B,SAAS,GAAG,SAAS;YACvB,MAAM;kBACA,IAAI;kBACJ,IAAI;eACP,CAAC,IAAI,EAAE,MAAM,KAAK,IAAI;eACtB,OAAO;qBACD,cAAc;0CAkI/B,CAAC"}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
|
|
2
|
+
import { TextInputElement } from '../FormControl';
|
|
3
|
+
export declare const DateInput: React.ForwardRefExoticComponent<Omit<import("..").TextInputProps, "onChange" | "type"> & {
|
|
3
4
|
type?: "date" | "datetime" | "month";
|
|
4
5
|
display?: "default" | "spinner";
|
|
5
6
|
value?: string;
|
|
@@ -7,6 +8,6 @@ export declare const DateInput: React.ForwardRefExoticComponent<Omit<import(".."
|
|
|
7
8
|
maximumDate?: Date;
|
|
8
9
|
onChange?: (date: string) => void;
|
|
9
10
|
is24Hour?: boolean;
|
|
10
|
-
minuteInterval?: 1 | 4 | 6 | 12 |
|
|
11
|
-
} & React.RefAttributes<
|
|
11
|
+
minuteInterval?: 2 | 1 | 4 | 6 | 12 | 3 | 5 | 10 | 20 | 15 | 30;
|
|
12
|
+
} & React.RefAttributes<TextInputElement>>;
|
|
12
13
|
//# sourceMappingURL=DateInput.ios.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DateInput.ios.d.ts","sourceRoot":"","sources":["../../../src/ui/DateInput/DateInput.ios.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAsB,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"DateInput.ios.d.ts","sourceRoot":"","sources":["../../../src/ui/DateInput/DateInput.ios.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAsB,MAAM,OAAO,CAAC;AAG3C,OAAO,EAA+B,gBAAgB,EAAE,MAAM,gBAAgB,CAAC;AAuD/E,eAAO,MAAM,SAAS;;;;;;;;;0CAoDpB,CAAC"}
|
|
@@ -4,7 +4,7 @@ declare const _default: {
|
|
|
4
4
|
tags: "ui"[];
|
|
5
5
|
experimental: true;
|
|
6
6
|
description: string;
|
|
7
|
-
component: React.ForwardRefExoticComponent<Omit<import("..").TextInputProps, "type"> & {
|
|
7
|
+
component: React.ForwardRefExoticComponent<Omit<import("..").TextInputProps, "onChange" | "type"> & {
|
|
8
8
|
type?: "date" | "datetime" | "month";
|
|
9
9
|
display?: "default" | "spinner";
|
|
10
10
|
value?: string;
|
|
@@ -12,8 +12,8 @@ declare const _default: {
|
|
|
12
12
|
maximumDate?: Date;
|
|
13
13
|
onChange?: (date: string) => void;
|
|
14
14
|
is24Hour?: boolean;
|
|
15
|
-
minuteInterval?: 1 | 4 | 6 | 12 |
|
|
16
|
-
} & React.RefAttributes<import("
|
|
15
|
+
minuteInterval?: 2 | 1 | 4 | 6 | 12 | 3 | 5 | 10 | 20 | 15 | 30;
|
|
16
|
+
} & React.RefAttributes<import("..").TextInputElement>>;
|
|
17
17
|
styleFn: () => string;
|
|
18
18
|
};
|
|
19
19
|
export default _default;
|
|
@@ -12,10 +12,10 @@ export default {
|
|
|
12
12
|
component: DateInput,
|
|
13
13
|
styleFn: () => 'Aucun style appliqué',
|
|
14
14
|
};
|
|
15
|
-
export const Default = () => (_jsx(Box, { width: '100%', children: _jsxs(Grid, { gap:
|
|
15
|
+
export const Default = () => (_jsx(Box, { width: '100%', children: _jsxs(Grid, { gap: "1W", children: [_jsx(Grid.Column, { size: { desktop: 6, mobile: 12 }, children: _jsx(FormControl, { label: "Default", children: _jsx(DateInput, { onChange: console.log }) }) }), _jsxs(Grid.Column, { size: { desktop: 6, mobile: 12 }, children: [_jsx(FormControl, { label: "Error", error: "Une erreur", children: _jsx(DateInput, { onChange: console.log, error: "Une erreur" }) }), _jsx(FormControl, { label: "Succ\u00E8s", success: "Date enregistr\u00E9e", children: _jsx(DateInput, { onChange: console.log, success: "Date enregistr\u00E9e" }) })] }), _jsx(Grid.Column, { size: { desktop: 6, mobile: 12 }, children: _jsx(FormControl, { label: "Disabled", disabled: true, children: _jsx(DateInput, { onChange: console.log, disabled: true }) }) })] }) }));
|
|
16
16
|
export const Types = () => {
|
|
17
17
|
const [date, setDate] = React.useState();
|
|
18
18
|
const [datetime, setDatetime] = React.useState();
|
|
19
|
-
return (_jsx(Box, { width: '100%', children: _jsxs(Grid, { gap:
|
|
19
|
+
return (_jsx(Box, { width: '100%', children: _jsxs(Grid, { gap: "1W", children: [_jsx(Grid.Column, { size: { desktop: 6, mobile: 12 }, children: _jsx(FormControl, { label: "Date (default)", children: _jsx(DateInput, { value: date, onChange: e => setDate(e.toString()) }) }) }), _jsx(Grid.Column, { size: { desktop: 6, mobile: 12 }, children: _jsx(FormControl, { label: "Datetime", children: _jsx(DateInput, { value: datetime, type: "datetime", is24Hour: true, onChange: e => setDatetime(e.toString()) }) }) })] }) }));
|
|
20
20
|
};
|
|
21
21
|
export * as Sources from './DateInput.stories.sources';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DateInput.stories.sources.d.ts","sourceRoot":"","sources":["../../../src/ui/DateInput/DateInput.stories.sources.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,OAAO,
|
|
1
|
+
{"version":3,"file":"DateInput.stories.sources.d.ts","sourceRoot":"","sources":["../../../src/ui/DateInput/DateInput.stories.sources.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,OAAO,cAAk5B,CAAC;AAEv6B,eAAO,MAAM,KAAK,cAAkvB,CAAC;AAErwB,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/DateInput/DateInput.stories.tsx
|
|
3
|
-
export const Default = () => "export const Default = () => (\n <Box width={'100%'}>\n <Grid gap
|
|
4
|
-
export const Types = () => "export const Types = () => {\n const [date, setDate] = React.useState<string>();\n const [datetime, setDatetime] = React.useState<string>();\n\n return (\n <Box width={'100%'}>\n <Grid gap
|
|
3
|
+
export const Default = () => "export const Default = () => (\n <Box width={'100%'}>\n <Grid gap=\"1W\">\n <Grid.Column size={{ desktop: 6, mobile: 12 }}>\n <FormControl label=\"Default\">\n <DateInput onChange={console.log} />\n </FormControl>\n </Grid.Column>\n <Grid.Column size={{ desktop: 6, mobile: 12 }}>\n <FormControl label=\"Error\" error=\"Une erreur\">\n <DateInput onChange={console.log} error=\"Une erreur\" />\n </FormControl>\n <FormControl label=\"Succès\" success=\"Date enregistrée\">\n <DateInput onChange={console.log} success=\"Date enregistrée\" />\n </FormControl>\n </Grid.Column>\n <Grid.Column size={{ desktop: 6, mobile: 12 }}>\n <FormControl label=\"Disabled\" disabled>\n <DateInput onChange={console.log} disabled />\n </FormControl>\n </Grid.Column>\n </Grid>\n </Box>\n);";
|
|
4
|
+
export const Types = () => "export const Types = () => {\n const [date, setDate] = React.useState<string>();\n const [datetime, setDatetime] = React.useState<string>();\n\n return (\n <Box width={'100%'}>\n <Grid gap=\"1W\">\n <Grid.Column size={{ desktop: 6, mobile: 12 }}>\n <FormControl label=\"Date (default)\">\n <DateInput value={date} onChange={e => setDate(e.toString())} />\n </FormControl>\n </Grid.Column>\n <Grid.Column size={{ desktop: 6, mobile: 12 }}>\n <FormControl label=\"Datetime\">\n <DateInput value={datetime} type=\"datetime\" is24Hour onChange={e => setDatetime(e.toString())} />\n </FormControl>\n </Grid.Column>\n </Grid>\n </Box>\n );\n};";
|
|
5
5
|
export const storySources = {
|
|
6
6
|
Default,
|
|
7
7
|
Types,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
export declare const DateInput: React.ForwardRefExoticComponent<Omit<import("..").TextInputProps, "type"> & {
|
|
2
|
+
export declare const DateInput: React.ForwardRefExoticComponent<Omit<import("..").TextInputProps, "onChange" | "type"> & {
|
|
3
3
|
type?: "date" | "datetime" | "month";
|
|
4
4
|
display?: "default" | "spinner";
|
|
5
5
|
value?: string;
|
|
@@ -7,6 +7,6 @@ export declare const DateInput: React.ForwardRefExoticComponent<Omit<import(".."
|
|
|
7
7
|
maximumDate?: Date;
|
|
8
8
|
onChange?: (date: string) => void;
|
|
9
9
|
is24Hour?: boolean;
|
|
10
|
-
minuteInterval?: 1 | 4 | 6 | 12 |
|
|
10
|
+
minuteInterval?: 2 | 1 | 4 | 6 | 12 | 3 | 5 | 10 | 20 | 15 | 30;
|
|
11
11
|
} & React.RefAttributes<HTMLInputElement>>;
|
|
12
12
|
//# sourceMappingURL=DateInput.web.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Divider.stories.d.ts","sourceRoot":"","sources":["../../../src/ui/Divider/Divider.stories.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAIA,wBASkB;AAElB,eAAO,MAAM,OAAO,
|
|
1
|
+
{"version":3,"file":"Divider.stories.d.ts","sourceRoot":"","sources":["../../../src/ui/Divider/Divider.stories.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAIA,wBASkB;AAElB,eAAO,MAAM,OAAO,mCAAoC,CAAC;AAEzD,OAAO,KAAK,OAAO,MAAM,2BAA2B,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Divider.stories.sources.d.ts","sourceRoot":"","sources":["../../../src/ui/Divider/Divider.stories.sources.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,OAAO,
|
|
1
|
+
{"version":3,"file":"Divider.stories.sources.d.ts","sourceRoot":"","sources":["../../../src/ui/Divider/Divider.stories.sources.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,OAAO,cAAwE,CAAC;AAE7F,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/Divider/Divider.stories.tsx
|
|
3
|
-
export const Default = () => "export const Default = () => <Divider mt
|
|
3
|
+
export const Default = () => "export const Default = () => <Divider mt=\"1W\" mb=\"2W\" />;";
|
|
4
4
|
export const storySources = {
|
|
5
5
|
Default,
|
|
6
6
|
};
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import type React from 'react';
|
|
1
2
|
import { type DocumentViewerProps } from './DocumentViewer.types';
|
|
2
|
-
export declare const DocumentViewer: (props: DocumentViewerProps) =>
|
|
3
|
+
export declare const DocumentViewer: (props: DocumentViewerProps) => React.JSX.Element;
|
|
3
4
|
//# sourceMappingURL=DocumentViewer.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DocumentViewer.d.ts","sourceRoot":"","sources":["../../../src/ui/DocumentViewer/DocumentViewer.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"DocumentViewer.d.ts","sourceRoot":"","sources":["../../../src/ui/DocumentViewer/DocumentViewer.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAG/B,OAAO,EAAE,KAAK,mBAAmB,EAA+B,MAAM,wBAAwB,CAAC;AAO/F,eAAO,MAAM,cAAc,GAAI,OAAO,mBAAmB,sBA4DxD,CAAC"}
|
|
@@ -5,12 +5,20 @@ import { DocumentViewerImage } from './DocumentViewerImage';
|
|
|
5
5
|
import { DocumentViewerPDF } from './DocumentViewerPDF';
|
|
6
6
|
import { DocumentViewerToolbar } from './DocumentViewerToolbar';
|
|
7
7
|
import { usePilotageDeDocument } from './usePilotageDeDocument';
|
|
8
|
+
import { usePleinEcran } from './usePleinEcran';
|
|
8
9
|
export const DocumentViewer = (props) => {
|
|
9
|
-
const { children, title, source, type, height = '100%', ChildrenProps, pdfErrorLabel, ...boxProps } = props;
|
|
10
|
+
const { children, title, source, type, height = '100%', ChildrenProps, pdfErrorLabel, allowFullscreen = false, ...boxProps } = props;
|
|
10
11
|
const styles = useStyles();
|
|
11
12
|
const { rotation, page, state, onPdfReady, onRotateLeft, onRotateRight, onNextPage, onPreviousPage } = usePilotageDeDocument(type);
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
13
|
+
const { poserLeCadre, ...pleinEcran } = usePleinEcran(allowFullscreen);
|
|
14
|
+
return (_jsxs(Box, { tag: "document-viewer-wrapper", height: height, style: styles.viewerWrapper, children: [_jsxs(Box, { tag: "document-viewer", ref: poserLeCadre, flex: 1, height: '100%', minW: 0, style: { flexBasis: 0 }, ...boxProps, children: [_jsx(DocumentViewerToolbar, { title: title, state: state, withChildren: children != null, onRotateLeft: onRotateLeft, onRotateRight: onRotateRight, onNextPage: onNextPage, onPreviousPage: onPreviousPage, pleinEcran: pleinEcran.disponible ? pleinEcran.pleinEcran : undefined, onTogglePleinEcran: pleinEcran.basculer }), _jsx(ContenuDuDocument, { type: type, source: source, page: page, rotation: rotation, height: height, onPdfReady: onPdfReady, pdfErrorLabel: pdfErrorLabel, withChildren: children != null })] }), children && (_jsx(Box, { tag: "document-viewer-children", ...ChildrenProps, style: [styles.children, ChildrenProps?.style], children: children }))] }));
|
|
15
|
+
};
|
|
16
|
+
/** Le cadre du document, image ou PDF, sous la barre d'outils. */
|
|
17
|
+
const ContenuDuDocument = (props) => {
|
|
18
|
+
const { type, source, page, rotation, height, onPdfReady, pdfErrorLabel, withChildren } = props;
|
|
19
|
+
const styles = useStyles();
|
|
20
|
+
return (_jsx(Box, { tag: "document-viewer-container", style: {
|
|
21
|
+
...styles.viewerContainer,
|
|
22
|
+
...(withChildren ? { borderBottomRightRadius: 0 } : {}),
|
|
23
|
+
}, children: _jsxs(Box, { flex: 1, children: [type === 'image' && _jsx(DocumentViewerImage, { source: source, rotation: rotation, height: height }), type === 'pdf' && (_jsx(DocumentViewerPDF, { source: source, page: page, rotation: rotation, height: height, onReady: onPdfReady, errorLabel: pdfErrorLabel }))] }) }));
|
|
16
24
|
};
|
|
@@ -44,10 +44,10 @@ declare const _default: {
|
|
|
44
44
|
display: "flex";
|
|
45
45
|
alignItems: "center";
|
|
46
46
|
justifyContent: "center";
|
|
47
|
-
backgroundColor:
|
|
47
|
+
backgroundColor: import("@alveole/theme").ThemeColor;
|
|
48
48
|
};
|
|
49
49
|
viewerPdfErrorLabel: {
|
|
50
|
-
color:
|
|
50
|
+
color: import("@alveole/theme").ThemeColor;
|
|
51
51
|
userSelect: "none";
|
|
52
52
|
textAlign: "center";
|
|
53
53
|
fontSize: 14;
|
|
@@ -83,13 +83,13 @@ declare const _default: {
|
|
|
83
83
|
flexDirection: "column";
|
|
84
84
|
flex: number;
|
|
85
85
|
padding: string | number;
|
|
86
|
-
borderColor:
|
|
86
|
+
borderColor: import("@alveole/theme").ThemeColor;
|
|
87
87
|
borderWidth: number;
|
|
88
88
|
borderStyle: "solid";
|
|
89
89
|
borderTopWidth: number;
|
|
90
90
|
borderBottomLeftRadius: import("@alveole/theme").Radius;
|
|
91
91
|
borderBottomRightRadius: import("@alveole/theme").Radius;
|
|
92
|
-
backgroundColor:
|
|
92
|
+
backgroundColor: import("@alveole/theme").ThemeColor;
|
|
93
93
|
overflow: "hidden";
|
|
94
94
|
};
|
|
95
95
|
children: {
|
|
@@ -100,23 +100,24 @@ declare const _default: {
|
|
|
100
100
|
maxWidth: string;
|
|
101
101
|
minWidth: number;
|
|
102
102
|
flexShrink: number;
|
|
103
|
-
|
|
103
|
+
position: "relative";
|
|
104
|
+
borderColor: import("@alveole/theme").ThemeColor;
|
|
104
105
|
borderWidth: number;
|
|
105
106
|
borderStyle: "solid";
|
|
106
107
|
borderLeft: number;
|
|
107
108
|
borderTopRightRadius: import("@alveole/theme").Radius;
|
|
108
109
|
borderBottomRightRadius: import("@alveole/theme").Radius;
|
|
109
|
-
backgroundColor:
|
|
110
|
+
backgroundColor: import("@alveole/theme").ThemeColor;
|
|
110
111
|
overflow: "auto";
|
|
111
112
|
};
|
|
112
113
|
toolbar: {
|
|
113
114
|
padding: string | number;
|
|
114
|
-
borderColor:
|
|
115
|
+
borderColor: import("@alveole/theme").ThemeColor;
|
|
115
116
|
borderWidth: number;
|
|
116
117
|
borderStyle: "solid";
|
|
117
118
|
borderTopLeftRadius: import("@alveole/theme").Radius;
|
|
118
119
|
borderTopRightRadius: import("@alveole/theme").Radius;
|
|
119
|
-
backgroundColor:
|
|
120
|
+
backgroundColor: import("@alveole/theme").ThemeColor;
|
|
120
121
|
display: "flex";
|
|
121
122
|
flexDirection: "row";
|
|
122
123
|
gap: string | number;
|
|
@@ -129,7 +130,7 @@ declare const _default: {
|
|
|
129
130
|
justifyContent: "flex-end";
|
|
130
131
|
};
|
|
131
132
|
toolbarTitle: {
|
|
132
|
-
color:
|
|
133
|
+
color: import("@alveole/theme").ThemeColor;
|
|
133
134
|
paddingLeft: string | number;
|
|
134
135
|
marginTop: string;
|
|
135
136
|
marginBottom: string;
|
|
@@ -141,7 +142,7 @@ declare const _default: {
|
|
|
141
142
|
fontWeight?: import("react-native").TextStyle["fontWeight"];
|
|
142
143
|
};
|
|
143
144
|
toolbarState: {
|
|
144
|
-
color:
|
|
145
|
+
color: import("@alveole/theme").ThemeColor;
|
|
145
146
|
userSelect: "none";
|
|
146
147
|
fontVariant: "tabular-nums";
|
|
147
148
|
fontSize: 14;
|
|
@@ -153,7 +154,7 @@ declare const _default: {
|
|
|
153
154
|
toolbarDivider: {
|
|
154
155
|
width: number;
|
|
155
156
|
height: "50%";
|
|
156
|
-
backgroundColor:
|
|
157
|
+
backgroundColor: import("@alveole/theme").ThemeColor;
|
|
157
158
|
marginTop: string;
|
|
158
159
|
marginBottom: string;
|
|
159
160
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DocumentViewer.stories.d.ts","sourceRoot":"","sources":["../../../src/ui/DocumentViewer/DocumentViewer.stories.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"DocumentViewer.stories.d.ts","sourceRoot":"","sources":["../../../src/ui/DocumentViewer/DocumentViewer.stories.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAMA,wBASkB;AAElB,eAAO,MAAM,eAAe,mCAU3B,CAAC;AAEF,eAAO,MAAM,WAAW,mCAIvB,CAAC;AAEF,eAAO,MAAM,gBAAgB,mCAS5B,CAAC;AAEF,eAAO,MAAM,YAAY,mCAQxB,CAAC;AAEF,OAAO,KAAK,OAAO,MAAM,kCAAkC,CAAC"}
|
|
@@ -8,12 +8,12 @@ export default {
|
|
|
8
8
|
tags: ['ui'],
|
|
9
9
|
experimental: false,
|
|
10
10
|
webOnly: true,
|
|
11
|
-
description: 'Viewer de documents (PDF, Image)',
|
|
11
|
+
description: 'Viewer de documents (PDF, Image). Ctrl/⌘ + molette pour zoomer, double-clic pour revenir à 100 %, bouton plein écran avec `allowFullscreen`.',
|
|
12
12
|
component: DocumentViewer,
|
|
13
13
|
styleFn: useStyles,
|
|
14
14
|
};
|
|
15
|
-
export const DocumentImageEx = () => (_jsx(Box, { maxW: 500, height: 500, children: _jsx(DocumentViewer, { title: "Document image", type: "image", source: "https://picsum.photos/1000/2000", height: "100%" }) }));
|
|
16
|
-
export const DocumentPdf = () => (_jsx(Box, { height: 400, maxW: 500, children: _jsx(DocumentViewer, { title: "Document PDF", type: "pdf", source: "
|
|
17
|
-
export const DocumentPdfError = () => (_jsx(Box, { height: 400, maxW: 500, children: _jsx(DocumentViewer, { title: "Document PDF en erreur", type: "pdf", source: "https://example.com/document-inexistant.pdf", height: "100%" }) }));
|
|
18
|
-
export const WithChildren = () => (_jsx(Box, { height: 600, children: _jsx(DocumentViewer, { title: "Document PDF", type: "pdf", source: "
|
|
15
|
+
export const DocumentImageEx = () => (_jsx(Box, { width: "100%", maxW: 500, height: 500, children: _jsx(DocumentViewer, { title: "Document image", type: "image", allowFullscreen: true, source: "https://picsum.photos/1000/2000", height: "100%" }) }));
|
|
16
|
+
export const DocumentPdf = () => (_jsx(Box, { width: "100%", height: 400, maxW: 500, children: _jsx(DocumentViewer, { title: "Document PDF", type: "pdf", source: "/document-exemple.pdf", height: "100%", allowFullscreen: true }) }));
|
|
17
|
+
export const DocumentPdfError = () => (_jsx(Box, { width: "100%", height: 400, maxW: 500, children: _jsx(DocumentViewer, { title: "Document PDF en erreur", type: "pdf", source: "https://example.com/document-inexistant.pdf", height: "100%" }) }));
|
|
18
|
+
export const WithChildren = () => (_jsx(Box, { width: "100%", height: 600, children: _jsx(DocumentViewer, { title: "Document PDF", type: "pdf", source: "/document-exemple.pdf", height: "100%", children: _jsx(Box, { p: '2W', children: _jsx(Typography, { children: "Contenu enfant" }) }) }) }));
|
|
19
19
|
export * as Sources from './DocumentViewer.stories.sources';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DocumentViewer.stories.sources.d.ts","sourceRoot":"","sources":["../../../src/ui/DocumentViewer/DocumentViewer.stories.sources.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,eAAe,
|
|
1
|
+
{"version":3,"file":"DocumentViewer.stories.sources.d.ts","sourceRoot":"","sources":["../../../src/ui/DocumentViewer/DocumentViewer.stories.sources.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,eAAe,cAAkS,CAAC;AAE/T,eAAO,MAAM,WAAW,cAAwO,CAAC;AAEjQ,eAAO,MAAM,gBAAgB,cAA8R,CAAC;AAE5T,eAAO,MAAM,YAAY,cAAwT,CAAC;AAElV,eAAO,MAAM,YAAY;;;;;CAKf,CAAC;AAEX,MAAM,MAAM,eAAe,GAAG,MAAM,OAAO,YAAY,CAAC"}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
// This file is generated. Do not edit manually.
|
|
2
2
|
// Source: src/ui/DocumentViewer/DocumentViewer.stories.tsx
|
|
3
|
-
export const DocumentImageEx = () => "export const DocumentImageEx = () => (\n <Box maxW={500} height={500}>\n <DocumentViewer
|
|
4
|
-
export const DocumentPdf = () => "export const DocumentPdf = () => (\n <Box height={400} maxW={500}>\n <DocumentViewer
|
|
5
|
-
export const DocumentPdfError = () => "export const DocumentPdfError = () => (\n <Box height={400} maxW={500}>\n <DocumentViewer\n title=\"Document PDF en erreur\"\n type=\"pdf\"\n source=\"https://example.com/document-inexistant.pdf\"\n height=\"100%\"\n />\n </Box>\n);";
|
|
6
|
-
export const WithChildren = () => "export const WithChildren = () => (\n <Box height={600}>\n <DocumentViewer
|
|
3
|
+
export const DocumentImageEx = () => "export const DocumentImageEx = () => (\n <Box width=\"100%\" maxW={500} height={500}>\n <DocumentViewer\n title=\"Document image\"\n type=\"image\"\n allowFullscreen\n source=\"https://picsum.photos/1000/2000\"\n height=\"100%\"\n />\n </Box>\n);";
|
|
4
|
+
export const DocumentPdf = () => "export const DocumentPdf = () => (\n <Box width=\"100%\" height={400} maxW={500}>\n <DocumentViewer title=\"Document PDF\" type=\"pdf\" source=\"/document-exemple.pdf\" height=\"100%\" allowFullscreen />\n </Box>\n);";
|
|
5
|
+
export const DocumentPdfError = () => "export const DocumentPdfError = () => (\n <Box width=\"100%\" height={400} maxW={500}>\n <DocumentViewer\n title=\"Document PDF en erreur\"\n type=\"pdf\"\n source=\"https://example.com/document-inexistant.pdf\"\n height=\"100%\"\n />\n </Box>\n);";
|
|
6
|
+
export const WithChildren = () => "export const WithChildren = () => (\n <Box width=\"100%\" height={600}>\n <DocumentViewer title=\"Document PDF\" type=\"pdf\" source=\"/document-exemple.pdf\" height=\"100%\">\n <Box p={'2W'}>\n <Typography>Contenu enfant</Typography>\n </Box>\n </DocumentViewer>\n </Box>\n);";
|
|
7
7
|
export const storySources = {
|
|
8
8
|
DocumentImageEx,
|
|
9
9
|
DocumentPdf,
|
|
@@ -37,10 +37,10 @@ export declare const useStyles: () => {
|
|
|
37
37
|
display: "flex";
|
|
38
38
|
alignItems: "center";
|
|
39
39
|
justifyContent: "center";
|
|
40
|
-
backgroundColor:
|
|
40
|
+
backgroundColor: import("@alveole/theme").ThemeColor;
|
|
41
41
|
};
|
|
42
42
|
viewerPdfErrorLabel: {
|
|
43
|
-
color:
|
|
43
|
+
color: import("@alveole/theme").ThemeColor;
|
|
44
44
|
userSelect: "none";
|
|
45
45
|
textAlign: "center";
|
|
46
46
|
fontSize: 14;
|
|
@@ -76,13 +76,13 @@ export declare const useStyles: () => {
|
|
|
76
76
|
flexDirection: "column";
|
|
77
77
|
flex: number;
|
|
78
78
|
padding: string | number;
|
|
79
|
-
borderColor:
|
|
79
|
+
borderColor: import("@alveole/theme").ThemeColor;
|
|
80
80
|
borderWidth: number;
|
|
81
81
|
borderStyle: "solid";
|
|
82
82
|
borderTopWidth: number;
|
|
83
83
|
borderBottomLeftRadius: import("@alveole/theme").Radius;
|
|
84
84
|
borderBottomRightRadius: import("@alveole/theme").Radius;
|
|
85
|
-
backgroundColor:
|
|
85
|
+
backgroundColor: import("@alveole/theme").ThemeColor;
|
|
86
86
|
overflow: "hidden";
|
|
87
87
|
};
|
|
88
88
|
children: {
|
|
@@ -93,23 +93,24 @@ export declare const useStyles: () => {
|
|
|
93
93
|
maxWidth: string;
|
|
94
94
|
minWidth: number;
|
|
95
95
|
flexShrink: number;
|
|
96
|
-
|
|
96
|
+
position: "relative";
|
|
97
|
+
borderColor: import("@alveole/theme").ThemeColor;
|
|
97
98
|
borderWidth: number;
|
|
98
99
|
borderStyle: "solid";
|
|
99
100
|
borderLeft: number;
|
|
100
101
|
borderTopRightRadius: import("@alveole/theme").Radius;
|
|
101
102
|
borderBottomRightRadius: import("@alveole/theme").Radius;
|
|
102
|
-
backgroundColor:
|
|
103
|
+
backgroundColor: import("@alveole/theme").ThemeColor;
|
|
103
104
|
overflow: "auto";
|
|
104
105
|
};
|
|
105
106
|
toolbar: {
|
|
106
107
|
padding: string | number;
|
|
107
|
-
borderColor:
|
|
108
|
+
borderColor: import("@alveole/theme").ThemeColor;
|
|
108
109
|
borderWidth: number;
|
|
109
110
|
borderStyle: "solid";
|
|
110
111
|
borderTopLeftRadius: import("@alveole/theme").Radius;
|
|
111
112
|
borderTopRightRadius: import("@alveole/theme").Radius;
|
|
112
|
-
backgroundColor:
|
|
113
|
+
backgroundColor: import("@alveole/theme").ThemeColor;
|
|
113
114
|
display: "flex";
|
|
114
115
|
flexDirection: "row";
|
|
115
116
|
gap: string | number;
|
|
@@ -122,7 +123,7 @@ export declare const useStyles: () => {
|
|
|
122
123
|
justifyContent: "flex-end";
|
|
123
124
|
};
|
|
124
125
|
toolbarTitle: {
|
|
125
|
-
color:
|
|
126
|
+
color: import("@alveole/theme").ThemeColor;
|
|
126
127
|
paddingLeft: string | number;
|
|
127
128
|
marginTop: string;
|
|
128
129
|
marginBottom: string;
|
|
@@ -134,7 +135,7 @@ export declare const useStyles: () => {
|
|
|
134
135
|
fontWeight?: import("react-native").TextStyle["fontWeight"];
|
|
135
136
|
};
|
|
136
137
|
toolbarState: {
|
|
137
|
-
color:
|
|
138
|
+
color: import("@alveole/theme").ThemeColor;
|
|
138
139
|
userSelect: "none";
|
|
139
140
|
fontVariant: "tabular-nums";
|
|
140
141
|
fontSize: 14;
|
|
@@ -146,7 +147,7 @@ export declare const useStyles: () => {
|
|
|
146
147
|
toolbarDivider: {
|
|
147
148
|
width: number;
|
|
148
149
|
height: "50%";
|
|
149
|
-
backgroundColor:
|
|
150
|
+
backgroundColor: import("@alveole/theme").ThemeColor;
|
|
150
151
|
marginTop: string;
|
|
151
152
|
marginBottom: string;
|
|
152
153
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DocumentViewer.styles.d.ts","sourceRoot":"","sources":["../../../src/ui/DocumentViewer/DocumentViewer.styles.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"DocumentViewer.styles.d.ts","sourceRoot":"","sources":["../../../src/ui/DocumentViewer/DocumentViewer.styles.ts"],"names":[],"mappings":"AAuKA,eAAO,MAAM,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAKnB,CAAC"}
|