@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.
Files changed (677) hide show
  1. package/dist/core/A/A.d.ts +3 -1
  2. package/dist/core/A/A.d.ts.map +1 -1
  3. package/dist/core/A/A.js +6 -3
  4. package/dist/core/AlveoleProvider/AlveoleProvider.d.ts +17 -0
  5. package/dist/core/AlveoleProvider/AlveoleProvider.d.ts.map +1 -0
  6. package/dist/core/AlveoleProvider/AlveoleProvider.js +15 -0
  7. package/dist/core/AlveoleProvider/index.d.ts +2 -0
  8. package/dist/core/AlveoleProvider/index.d.ts.map +1 -0
  9. package/dist/core/AlveoleProvider/index.js +1 -0
  10. package/dist/core/AnchorHeading/AnchorHeading.d.ts +6 -2
  11. package/dist/core/AnchorHeading/AnchorHeading.d.ts.map +1 -1
  12. package/dist/core/AnchorHeading/AnchorHeading.js +1 -1
  13. package/dist/core/AnchorHeading/AnchorHeading.stories.d.ts +2 -1
  14. package/dist/core/AnchorHeading/AnchorHeading.stories.d.ts.map +1 -1
  15. package/dist/core/AnchorHeading/AnchorHeading.stories.js +1 -0
  16. package/dist/core/AnchorHeading/AnchorHeading.stories.sources.d.ts +2 -0
  17. package/dist/core/AnchorHeading/AnchorHeading.stories.sources.d.ts.map +1 -1
  18. package/dist/core/AnchorHeading/AnchorHeading.stories.sources.js +2 -0
  19. package/dist/core/AnchorHeading/AnchorHeading.web.d.ts +1 -1
  20. package/dist/core/AnchorHeading/AnchorHeading.web.d.ts.map +1 -1
  21. package/dist/core/AnchorHeading/AnchorHeading.web.js +7 -4
  22. package/dist/core/AnchorHeading/slug.d.ts +3 -0
  23. package/dist/core/AnchorHeading/slug.d.ts.map +1 -1
  24. package/dist/core/AnchorHeading/slug.js +11 -0
  25. package/dist/core/Box/Box.d.ts +20 -20
  26. package/dist/core/Box/Box.d.ts.map +1 -1
  27. package/dist/core/Box/Box.js +13 -7
  28. package/dist/core/Box/Box.stories.d.ts +21 -17
  29. package/dist/core/Box/Box.stories.d.ts.map +1 -1
  30. package/dist/core/Box/Box.stories.js +21 -4
  31. package/dist/core/Box/Box.stories.sources.d.ts +8 -0
  32. package/dist/core/Box/Box.stories.sources.d.ts.map +1 -1
  33. package/dist/core/Box/Box.stories.sources.js +11 -3
  34. package/dist/core/Box/Box.types.d.ts +22 -16
  35. package/dist/core/Box/Box.types.d.ts.map +1 -1
  36. package/dist/core/Box/elementDuTag.d.ts +2 -0
  37. package/dist/core/Box/elementDuTag.d.ts.map +1 -0
  38. package/dist/core/Box/elementDuTag.js +12 -0
  39. package/dist/core/Code/Code.d.ts.map +1 -1
  40. package/dist/core/Code/Code.js +6 -0
  41. package/dist/core/Code/Code.stories.d.ts +15 -2
  42. package/dist/core/Code/Code.stories.d.ts.map +1 -1
  43. package/dist/core/Code/Code.stories.js +1 -1
  44. package/dist/core/Code/Code.stories.sources.d.ts.map +1 -1
  45. package/dist/core/Code/Code.stories.sources.js +1 -1
  46. package/dist/core/Code/Code.styles.d.ts +15 -2
  47. package/dist/core/Code/Code.styles.d.ts.map +1 -1
  48. package/dist/core/Code/Code.styles.js +18 -4
  49. package/dist/core/Form/Form.stories.js +1 -1
  50. package/dist/core/Form/Form.stories.sources.d.ts.map +1 -1
  51. package/dist/core/Form/Form.stories.sources.js +1 -1
  52. package/dist/core/Form/Form.web.d.ts.map +1 -1
  53. package/dist/core/Form/Form.web.js +4 -1
  54. package/dist/core/Grid/Grid.stories.d.ts +17 -16
  55. package/dist/core/Grid/Grid.stories.d.ts.map +1 -1
  56. package/dist/core/Grid/Grid.stories.js +14 -12
  57. package/dist/core/Grid/Grid.stories.sources.d.ts.map +1 -1
  58. package/dist/core/Grid/Grid.stories.sources.js +9 -9
  59. package/dist/core/Heading/Heading.d.ts +8 -0
  60. package/dist/core/Heading/Heading.d.ts.map +1 -0
  61. package/dist/core/Heading/Heading.js +15 -0
  62. package/dist/core/Heading/Heading.stories.d.ts +13 -0
  63. package/dist/core/Heading/Heading.stories.d.ts.map +1 -0
  64. package/dist/core/Heading/Heading.stories.js +13 -0
  65. package/dist/core/Heading/Heading.stories.sources.d.ts +8 -0
  66. package/dist/core/Heading/Heading.stories.sources.d.ts.map +1 -0
  67. package/dist/core/Heading/Heading.stories.sources.js +8 -0
  68. package/dist/core/Heading/index.d.ts +2 -0
  69. package/dist/core/Heading/index.d.ts.map +1 -0
  70. package/dist/core/Heading/index.js +1 -0
  71. package/dist/core/Highlight/Highlight.d.ts.map +1 -1
  72. package/dist/core/Highlight/Highlight.js +6 -3
  73. package/dist/core/Highlight/Highlight.stories.d.ts +19 -5
  74. package/dist/core/Highlight/Highlight.stories.d.ts.map +1 -1
  75. package/dist/core/Highlight/Highlight.stories.js +1 -1
  76. package/dist/core/Highlight/Highlight.stories.sources.d.ts.map +1 -1
  77. package/dist/core/Highlight/Highlight.stories.sources.js +1 -1
  78. package/dist/core/Highlight/Highlight.styles.d.ts +19 -5
  79. package/dist/core/Highlight/Highlight.styles.d.ts.map +1 -1
  80. package/dist/core/Highlight/Highlight.styles.js +15 -2
  81. package/dist/core/Highlight/Highlight.theme.d.ts +1 -3
  82. package/dist/core/Highlight/Highlight.theme.d.ts.map +1 -1
  83. package/dist/core/Highlight/Highlight.theme.js +9 -16
  84. package/dist/core/Map/Map.js +1 -1
  85. package/dist/core/Map/useGoogleMap.d.ts +2 -1
  86. package/dist/core/Map/useGoogleMap.d.ts.map +1 -1
  87. package/dist/core/Map/useGoogleMap.js +3 -2
  88. package/dist/core/MarkdownDescription/MarkdownDescription.d.ts.map +1 -1
  89. package/dist/core/MarkdownDescription/MarkdownDescription.js +5 -11
  90. package/dist/core/MarkdownDescription/markdownComponents.d.ts +4 -10
  91. package/dist/core/MarkdownDescription/markdownComponents.d.ts.map +1 -1
  92. package/dist/core/MarkdownDescription/markdownComponents.js +17 -14
  93. package/dist/core/MarkdownDescription/markdownNatif.d.ts +13 -0
  94. package/dist/core/MarkdownDescription/markdownNatif.d.ts.map +1 -0
  95. package/dist/core/MarkdownDescription/markdownNatif.js +74 -0
  96. package/dist/core/Metabase/Metabase.stories.d.ts.map +1 -1
  97. package/dist/core/Metabase/Metabase.stories.js +3 -2
  98. package/dist/core/Metabase/Metabase.stories.sources.d.ts.map +1 -1
  99. package/dist/core/Metabase/Metabase.stories.sources.js +1 -1
  100. package/dist/core/Page/Page.stories.d.ts +5 -0
  101. package/dist/core/Page/Page.stories.d.ts.map +1 -1
  102. package/dist/core/Page/Page.stories.js +5 -0
  103. package/dist/core/Page/Page.stories.sources.d.ts +2 -0
  104. package/dist/core/Page/Page.stories.sources.d.ts.map +1 -1
  105. package/dist/core/Page/Page.stories.sources.js +3 -0
  106. package/dist/core/Page/Page.types.d.ts +1 -0
  107. package/dist/core/Page/Page.types.d.ts.map +1 -1
  108. package/dist/core/Page/PageBackground.d.ts +5 -5
  109. package/dist/core/Page/PageBackground.d.ts.map +1 -1
  110. package/dist/core/Page/PageBackground.js +8 -5
  111. package/dist/core/Page/PageBackground.stories.d.ts +25 -0
  112. package/dist/core/Page/PageBackground.stories.d.ts.map +1 -0
  113. package/dist/core/Page/PageBackground.stories.js +28 -0
  114. package/dist/core/Page/PageBackground.stories.sources.d.ts +8 -0
  115. package/dist/core/Page/PageBackground.stories.sources.d.ts.map +1 -0
  116. package/dist/core/Page/PageBackground.stories.sources.js +8 -0
  117. package/dist/core/Page/PageContent.d.ts.map +1 -1
  118. package/dist/core/Page/PageContent.js +3 -3
  119. package/dist/core/Page/PageContentDefault.d.ts.map +1 -1
  120. package/dist/core/Page/PageContentDefault.js +1 -1
  121. package/dist/core/Page/PageContentScrollable.d.ts +18 -17
  122. package/dist/core/Page/PageContentScrollable.d.ts.map +1 -1
  123. package/dist/core/Page/PageContentScrollable.js +1 -1
  124. package/dist/core/Page/index.d.ts +1 -0
  125. package/dist/core/Page/index.d.ts.map +1 -1
  126. package/dist/core/Page/index.js +1 -0
  127. package/dist/core/Page/usePageStatusBar.d.ts.map +1 -1
  128. package/dist/core/Page/usePageStatusBar.js +3 -3
  129. package/dist/core/Section/Section.stories.d.ts.map +1 -1
  130. package/dist/core/Section/Section.stories.js +8 -6
  131. package/dist/core/Section/Section.stories.sources.d.ts.map +1 -1
  132. package/dist/core/Section/Section.stories.sources.js +4 -4
  133. package/dist/core/StorySummary/StorySummary.d.ts +7 -0
  134. package/dist/core/StorySummary/StorySummary.d.ts.map +1 -0
  135. package/dist/core/StorySummary/StorySummary.js +9 -0
  136. package/dist/core/StorySummary/StorySummary.stories.d.ts +13 -0
  137. package/dist/core/StorySummary/StorySummary.stories.d.ts.map +1 -0
  138. package/dist/core/StorySummary/StorySummary.stories.js +13 -0
  139. package/dist/core/StorySummary/StorySummary.stories.sources.d.ts +6 -0
  140. package/dist/core/StorySummary/StorySummary.stories.sources.d.ts.map +1 -0
  141. package/dist/core/StorySummary/StorySummary.stories.sources.js +6 -0
  142. package/dist/core/StorySummary/StorySummary.web.d.ts +4 -0
  143. package/dist/core/StorySummary/StorySummary.web.d.ts.map +1 -0
  144. package/dist/core/StorySummary/StorySummary.web.js +11 -0
  145. package/dist/core/StorySummary/index.d.ts +2 -0
  146. package/dist/core/StorySummary/index.d.ts.map +1 -0
  147. package/dist/core/StorySummary/index.js +1 -0
  148. package/dist/core/StorySummary/styleDuLienBrut.d.ts +9 -0
  149. package/dist/core/StorySummary/styleDuLienBrut.d.ts.map +1 -0
  150. package/dist/core/StorySummary/styleDuLienBrut.js +7 -0
  151. package/dist/core/ThemeProvider/ThemeProvider.stories.d.ts.map +1 -1
  152. package/dist/core/ThemeProvider/ThemeProvider.stories.js +17 -12
  153. package/dist/core/ThemeProvider/ThemeProvider.stories.sources.d.ts.map +1 -1
  154. package/dist/core/ThemeProvider/ThemeProvider.stories.sources.js +2 -2
  155. package/dist/core/Typography/Typography.d.ts +5 -5
  156. package/dist/core/Typography/Typography.d.ts.map +1 -1
  157. package/dist/core/Typography/Typography.js +16 -4
  158. package/dist/core/Typography/Typography.stories.d.ts +3 -2
  159. package/dist/core/Typography/Typography.stories.d.ts.map +1 -1
  160. package/dist/core/Typography/Typography.stories.js +2 -0
  161. package/dist/core/Typography/Typography.stories.sources.d.ts +2 -0
  162. package/dist/core/Typography/Typography.stories.sources.d.ts.map +1 -1
  163. package/dist/core/Typography/Typography.stories.sources.js +2 -0
  164. package/dist/core/Typography/Typography.styles.d.ts +1 -1
  165. package/dist/core/Typography/couleurDuTexte.d.ts +1 -1
  166. package/dist/core/Typography/couleurDuTexte.d.ts.map +1 -1
  167. package/dist/core/UpdateRequired/UpdateRequired.d.ts.map +1 -1
  168. package/dist/core/UpdateRequired/UpdateRequired.js +4 -1
  169. package/dist/core/Version/Version.stories.d.ts +1 -1
  170. package/dist/core/Version/Version.styles.d.ts +1 -1
  171. package/dist/core/animation/animer.d.ts +9 -0
  172. package/dist/core/animation/animer.d.ts.map +1 -0
  173. package/dist/core/animation/animer.js +5 -0
  174. package/dist/core/index.d.ts +3 -0
  175. package/dist/core/index.d.ts.map +1 -1
  176. package/dist/core/index.js +3 -0
  177. package/dist/core/styleTamagui/aplatirStyle.d.ts +2 -0
  178. package/dist/core/styleTamagui/aplatirStyle.d.ts.map +1 -0
  179. package/dist/core/styleTamagui/aplatirStyle.js +9 -0
  180. package/dist/core/styleTamagui/definis.d.ts +4 -0
  181. package/dist/core/styleTamagui/definis.d.ts.map +1 -0
  182. package/dist/core/styleTamagui/definis.js +3 -0
  183. package/dist/core/styleTamagui/flexDuWeb.d.ts +23 -0
  184. package/dist/core/styleTamagui/flexDuWeb.d.ts.map +1 -0
  185. package/dist/core/styleTamagui/flexDuWeb.js +20 -0
  186. package/dist/core/styleTamagui/fondAuSurvol.d.ts +15 -0
  187. package/dist/core/styleTamagui/fondAuSurvol.d.ts.map +1 -0
  188. package/dist/core/styleTamagui/fondAuSurvol.js +8 -0
  189. package/dist/core/styleTamagui/sansEstompage.d.ts +4 -0
  190. package/dist/core/styleTamagui/sansEstompage.d.ts.map +1 -0
  191. package/dist/core/styleTamagui/sansEstompage.js +4 -0
  192. package/dist/core/styleTamagui/soulignement.d.ts +11 -0
  193. package/dist/core/styleTamagui/soulignement.d.ts.map +1 -0
  194. package/dist/core/styleTamagui/soulignement.js +5 -0
  195. package/dist/generated/version.d.ts +1 -1
  196. package/dist/generated/version.d.ts.map +1 -1
  197. package/dist/generated/version.js +1 -1
  198. package/dist/pdfjs/pdf.min.mjs +4 -5
  199. package/dist/pdfjs/pdf.worker.min.mjs +4 -5
  200. package/dist/stories/index.d.ts +3 -0
  201. package/dist/stories/index.d.ts.map +1 -1
  202. package/dist/stories/index.js +3 -0
  203. package/dist/ui/Accordion/Accordion.stories.d.ts +8 -8
  204. package/dist/ui/Accordion/Accordion.styles.d.ts +8 -8
  205. package/dist/ui/Accordion/Accordion.styles.js +2 -2
  206. package/dist/ui/Accordion/AccordionItem.d.ts.map +1 -1
  207. package/dist/ui/Accordion/AccordionItem.js +2 -1
  208. package/dist/ui/ActionMenu/ActionMenuItem.d.ts.map +1 -1
  209. package/dist/ui/ActionMenu/ActionMenuItem.js +9 -6
  210. package/dist/ui/Avatar/Avatar.d.ts.map +1 -1
  211. package/dist/ui/Avatar/Avatar.js +6 -1
  212. package/dist/ui/Avatar/Avatar.stories.d.ts +2 -2
  213. package/dist/ui/Avatar/Avatar.styles.d.ts +2 -2
  214. package/dist/ui/Badge/Badge.d.ts.map +1 -1
  215. package/dist/ui/Badge/Badge.js +3 -2
  216. package/dist/ui/Badge/Badge.stories.d.ts +28 -24
  217. package/dist/ui/Badge/Badge.stories.d.ts.map +1 -1
  218. package/dist/ui/Badge/Badge.stories.js +3 -3
  219. package/dist/ui/Badge/Badge.stories.sources.d.ts.map +1 -1
  220. package/dist/ui/Badge/Badge.stories.sources.js +3 -3
  221. package/dist/ui/Badge/Badge.styles.d.ts +28 -24
  222. package/dist/ui/Badge/Badge.styles.d.ts.map +1 -1
  223. package/dist/ui/Badge/Badge.styles.js +4 -2
  224. package/dist/ui/BottomSheet/BottomSheet.d.ts.map +1 -1
  225. package/dist/ui/BottomSheet/BottomSheet.js +3 -1
  226. package/dist/ui/BottomSheet/BottomSheet.stories.d.ts +12 -9
  227. package/dist/ui/BottomSheet/BottomSheet.stories.d.ts.map +1 -1
  228. package/dist/ui/BottomSheet/BottomSheet.styles.d.ts +12 -9
  229. package/dist/ui/BottomSheet/BottomSheet.styles.d.ts.map +1 -1
  230. package/dist/ui/BottomSheet/BottomSheet.styles.js +10 -7
  231. package/dist/ui/Breadcrumbs/Breadcrumbs.d.ts.map +1 -1
  232. package/dist/ui/Breadcrumbs/Breadcrumbs.js +2 -1
  233. package/dist/ui/Breadcrumbs/Breadcrumbs.stories.d.ts +8 -7
  234. package/dist/ui/Breadcrumbs/Breadcrumbs.stories.d.ts.map +1 -1
  235. package/dist/ui/Breadcrumbs/Breadcrumbs.stories.js +6 -6
  236. package/dist/ui/Breadcrumbs/Breadcrumbs.stories.sources.d.ts.map +1 -1
  237. package/dist/ui/Breadcrumbs/Breadcrumbs.stories.sources.js +6 -6
  238. package/dist/ui/Breadcrumbs/Breadcrumbs.styles.d.ts +8 -7
  239. package/dist/ui/Breadcrumbs/Breadcrumbs.styles.d.ts.map +1 -1
  240. package/dist/ui/Breadcrumbs/Breadcrumbs.styles.js +1 -4
  241. package/dist/ui/Button/Button.d.ts +4 -2
  242. package/dist/ui/Button/Button.d.ts.map +1 -1
  243. package/dist/ui/Button/Button.stories.d.ts +49 -49
  244. package/dist/ui/Button/Button.stories.js +9 -9
  245. package/dist/ui/Button/Button.stories.sources.d.ts.map +1 -1
  246. package/dist/ui/Button/Button.stories.sources.js +8 -8
  247. package/dist/ui/Button/Button.styles.d.ts +48 -48
  248. package/dist/ui/Button/ButtonContent.d.ts.map +1 -1
  249. package/dist/ui/Button/ButtonContent.js +7 -3
  250. package/dist/ui/Button/buttonIconStyling.d.ts +4 -20
  251. package/dist/ui/Button/buttonIconStyling.d.ts.map +1 -1
  252. package/dist/ui/Button/buttonStyling.d.ts +9 -3
  253. package/dist/ui/Button/buttonStyling.d.ts.map +1 -1
  254. package/dist/ui/Button/buttonStyling.js +7 -3
  255. package/dist/ui/Card/Card.stories.d.ts +5 -3
  256. package/dist/ui/Card/Card.stories.d.ts.map +1 -1
  257. package/dist/ui/Card/Card.stories.js +11 -3
  258. package/dist/ui/Card/Card.stories.sources.d.ts +4 -0
  259. package/dist/ui/Card/Card.stories.sources.d.ts.map +1 -1
  260. package/dist/ui/Card/Card.stories.sources.js +7 -3
  261. package/dist/ui/Card/Card.styles.d.ts +2 -2
  262. package/dist/ui/Card/CardHeader.styles.d.ts +3 -3
  263. package/dist/ui/Card/CardSection.styles.d.ts +3 -3
  264. package/dist/ui/Checkbox/Checkbox.d.ts +6 -6
  265. package/dist/ui/Checkbox/Checkbox.d.ts.map +1 -1
  266. package/dist/ui/Checkbox/Checkbox.js +1 -3
  267. package/dist/ui/Checkbox/Checkbox.stories.d.ts +19 -18
  268. package/dist/ui/Checkbox/Checkbox.stories.d.ts.map +1 -1
  269. package/dist/ui/Checkbox/Checkbox.stories.js +3 -2
  270. package/dist/ui/Checkbox/Checkbox.stories.sources.d.ts.map +1 -1
  271. package/dist/ui/Checkbox/Checkbox.stories.sources.js +2 -2
  272. package/dist/ui/Checkbox/Checkbox.styles.d.ts +13 -12
  273. package/dist/ui/Checkbox/Checkbox.styles.d.ts.map +1 -1
  274. package/dist/ui/Checkbox/Checkbox.styles.js +12 -11
  275. package/dist/ui/Checkbox/CheckboxContainer.d.ts +6 -6
  276. package/dist/ui/Checkbox/CheckboxContainer.d.ts.map +1 -1
  277. package/dist/ui/Checkbox/CheckboxContainer.js +4 -8
  278. package/dist/ui/Checkbox/CheckboxLabel.d.ts +1 -1
  279. package/dist/ui/Checkbox/CheckboxLabel.d.ts.map +1 -1
  280. package/dist/ui/Checkbox/CheckboxLabel.js +3 -2
  281. package/dist/ui/Counter/Counter.stories.d.ts +3 -3
  282. package/dist/ui/Counter/Counter.stories.js +1 -1
  283. package/dist/ui/Counter/Counter.stories.sources.d.ts.map +1 -1
  284. package/dist/ui/Counter/Counter.stories.sources.js +1 -1
  285. package/dist/ui/Counter/Counter.styles.d.ts +3 -3
  286. package/dist/ui/DataTable/DataTable.demo.deployments.js +1 -1
  287. package/dist/ui/DataTable/DataTable.stories.d.ts +13 -11
  288. package/dist/ui/DataTable/DataTable.stories.d.ts.map +1 -1
  289. package/dist/ui/DataTable/DataTable.styles.d.ts +13 -11
  290. package/dist/ui/DataTable/DataTable.styles.d.ts.map +1 -1
  291. package/dist/ui/DataTable/DataTable.styles.js +5 -1
  292. package/dist/ui/DataTable/DataTableCell.js +1 -1
  293. package/dist/ui/DataTable/DataTableRow.d.ts.map +1 -1
  294. package/dist/ui/DataTable/DataTableRow.js +4 -2
  295. package/dist/ui/DataTable/dataTableCellStyle.d.ts +2 -2
  296. package/dist/ui/DataTable/dataTableCellStyle.js +1 -1
  297. package/dist/ui/DateInput/DateInput.d.ts +4 -4
  298. package/dist/ui/DateInput/DateInput.d.ts.map +1 -1
  299. package/dist/ui/DateInput/DateInput.ios.d.ts +4 -3
  300. package/dist/ui/DateInput/DateInput.ios.d.ts.map +1 -1
  301. package/dist/ui/DateInput/DateInput.stories.d.ts +3 -3
  302. package/dist/ui/DateInput/DateInput.stories.js +2 -2
  303. package/dist/ui/DateInput/DateInput.stories.sources.d.ts.map +1 -1
  304. package/dist/ui/DateInput/DateInput.stories.sources.js +2 -2
  305. package/dist/ui/DateInput/DateInput.web.d.ts +2 -2
  306. package/dist/ui/Divider/Divider.stories.d.ts +1 -1
  307. package/dist/ui/Divider/Divider.stories.d.ts.map +1 -1
  308. package/dist/ui/Divider/Divider.stories.js +1 -1
  309. package/dist/ui/Divider/Divider.stories.sources.d.ts.map +1 -1
  310. package/dist/ui/Divider/Divider.stories.sources.js +1 -1
  311. package/dist/ui/Divider/Divider.styles.d.ts +1 -1
  312. package/dist/ui/DocumentViewer/DocumentViewer.d.ts +2 -1
  313. package/dist/ui/DocumentViewer/DocumentViewer.d.ts.map +1 -1
  314. package/dist/ui/DocumentViewer/DocumentViewer.js +13 -5
  315. package/dist/ui/DocumentViewer/DocumentViewer.stories.d.ts +12 -11
  316. package/dist/ui/DocumentViewer/DocumentViewer.stories.d.ts.map +1 -1
  317. package/dist/ui/DocumentViewer/DocumentViewer.stories.js +5 -5
  318. package/dist/ui/DocumentViewer/DocumentViewer.stories.sources.d.ts.map +1 -1
  319. package/dist/ui/DocumentViewer/DocumentViewer.stories.sources.js +4 -4
  320. package/dist/ui/DocumentViewer/DocumentViewer.styles.d.ts +12 -11
  321. package/dist/ui/DocumentViewer/DocumentViewer.styles.d.ts.map +1 -1
  322. package/dist/ui/DocumentViewer/DocumentViewer.styles.js +3 -0
  323. package/dist/ui/DocumentViewer/DocumentViewer.types.d.ts +2 -0
  324. package/dist/ui/DocumentViewer/DocumentViewer.types.d.ts.map +1 -1
  325. package/dist/ui/DocumentViewer/DocumentViewerImage.d.ts +1 -2
  326. package/dist/ui/DocumentViewer/DocumentViewerImage.d.ts.map +1 -1
  327. package/dist/ui/DocumentViewer/DocumentViewerImage.js +5 -15
  328. package/dist/ui/DocumentViewer/DocumentViewerPDF.web.d.ts.map +1 -1
  329. package/dist/ui/DocumentViewer/DocumentViewerPDF.web.js +8 -8
  330. package/dist/ui/DocumentViewer/DocumentViewerToolbar.d.ts +3 -0
  331. package/dist/ui/DocumentViewer/DocumentViewerToolbar.d.ts.map +1 -1
  332. package/dist/ui/DocumentViewer/DocumentViewerToolbar.js +7 -3
  333. package/dist/ui/DocumentViewer/chargementDePdfJs.d.ts.map +1 -1
  334. package/dist/ui/DocumentViewer/chargementDePdfJs.js +3 -1
  335. package/dist/ui/DocumentViewer/pointeurWeb.d.ts +13 -3
  336. package/dist/ui/DocumentViewer/pointeurWeb.d.ts.map +1 -1
  337. package/dist/ui/DocumentViewer/pointeurWeb.js +1 -1
  338. package/dist/ui/DocumentViewer/usePleinEcran.d.ts +13 -0
  339. package/dist/ui/DocumentViewer/usePleinEcran.d.ts.map +1 -0
  340. package/dist/ui/DocumentViewer/usePleinEcran.js +27 -0
  341. package/dist/ui/DocumentViewer/useZoomMolette.d.ts +24 -0
  342. package/dist/ui/DocumentViewer/useZoomMolette.d.ts.map +1 -0
  343. package/dist/ui/DocumentViewer/useZoomMolette.js +55 -0
  344. package/dist/ui/DurationInput/DurationInput.d.ts +2 -1
  345. package/dist/ui/DurationInput/DurationInput.d.ts.map +1 -1
  346. package/dist/ui/DurationInput/DurationInput.stories.d.ts +1 -1
  347. package/dist/ui/DurationInput/DurationInput.stories.js +2 -2
  348. package/dist/ui/DurationInput/DurationInput.stories.sources.d.ts.map +1 -1
  349. package/dist/ui/DurationInput/DurationInput.stories.sources.js +2 -2
  350. package/dist/ui/EmptyState/EmptyState.stories.d.ts +5 -6
  351. package/dist/ui/EmptyState/EmptyState.stories.d.ts.map +1 -1
  352. package/dist/ui/EmptyState/EmptyState.stories.js +1 -1
  353. package/dist/ui/EmptyState/EmptyState.stories.sources.d.ts.map +1 -1
  354. package/dist/ui/EmptyState/EmptyState.stories.sources.js +1 -1
  355. package/dist/ui/EmptyState/EmptyState.styles.d.ts +5 -6
  356. package/dist/ui/EmptyState/EmptyState.styles.d.ts.map +1 -1
  357. package/dist/ui/EmptyState/EmptyState.styles.js +3 -2
  358. package/dist/ui/FileDropZone/FileDropZone.stories.d.ts +4 -4
  359. package/dist/ui/FileDropZone/FileDropZone.stories.js +3 -3
  360. package/dist/ui/FileDropZone/FileDropZone.stories.sources.d.ts.map +1 -1
  361. package/dist/ui/FileDropZone/FileDropZone.stories.sources.js +3 -3
  362. package/dist/ui/FileDropZone/FileDropZone.styles.d.ts +4 -4
  363. package/dist/ui/FilterDate/FilterDate.d.ts +1 -1
  364. package/dist/ui/FilterDate/FilterDate.d.ts.map +1 -1
  365. package/dist/ui/FilterDate/FilterDate.js +1 -1
  366. package/dist/ui/FilterDate/FilterDate.stories.d.ts +1 -1
  367. package/dist/ui/FilterDate/FilterDate.styles.d.ts +1 -1
  368. package/dist/ui/FormControl/ChampHHMM.d.ts +2 -2
  369. package/dist/ui/FormControl/ChampHHMM.d.ts.map +1 -1
  370. package/dist/ui/FormControl/FormControl.d.ts +2 -2
  371. package/dist/ui/FormControl/FormControl.d.ts.map +1 -1
  372. package/dist/ui/FormControl/FormControl.stories.d.ts +18 -18
  373. package/dist/ui/FormControl/FormControl.stories.d.ts.map +1 -1
  374. package/dist/ui/FormControl/FormControl.stories.js +9 -9
  375. package/dist/ui/FormControl/FormControl.stories.sources.d.ts.map +1 -1
  376. package/dist/ui/FormControl/FormControl.stories.sources.js +7 -7
  377. package/dist/ui/FormControl/FormControl.styles.d.ts +17 -17
  378. package/dist/ui/FormControl/NumberInput.d.ts +2 -1
  379. package/dist/ui/FormControl/NumberInput.d.ts.map +1 -1
  380. package/dist/ui/FormControl/NumberInput.stories.d.ts +18 -18
  381. package/dist/ui/FormControl/NumberInput.stories.d.ts.map +1 -1
  382. package/dist/ui/FormControl/NumberInput.stories.js +3 -2
  383. package/dist/ui/FormControl/NumberInput.stories.sources.d.ts.map +1 -1
  384. package/dist/ui/FormControl/NumberInput.stories.sources.js +2 -2
  385. package/dist/ui/FormControl/OtpInput.stories.d.ts +5 -5
  386. package/dist/ui/FormControl/OtpInput.stories.js +1 -1
  387. package/dist/ui/FormControl/OtpInput.stories.sources.d.ts.map +1 -1
  388. package/dist/ui/FormControl/OtpInput.stories.sources.js +1 -1
  389. package/dist/ui/FormControl/OtpInput.styles.d.ts +5 -5
  390. package/dist/ui/FormControl/OtpInput.styles.js +2 -2
  391. package/dist/ui/FormControl/TextInput.d.ts +2 -1
  392. package/dist/ui/FormControl/TextInput.d.ts.map +1 -1
  393. package/dist/ui/FormControl/TextInput.stories.d.ts +19 -18
  394. package/dist/ui/FormControl/TextInput.stories.d.ts.map +1 -1
  395. package/dist/ui/FormControl/TextInput.types.d.ts +5 -2
  396. package/dist/ui/FormControl/TextInput.types.d.ts.map +1 -1
  397. package/dist/ui/FormControl/TextInputInline.d.ts +3 -2
  398. package/dist/ui/FormControl/TextInputInline.d.ts.map +1 -1
  399. package/dist/ui/FormControl/TextInputInline.js +2 -2
  400. package/dist/ui/FormControl/TextInputMirror.d.ts +3 -2
  401. package/dist/ui/FormControl/TextInputMirror.d.ts.map +1 -1
  402. package/dist/ui/FormControl/TextInputModal.d.ts +3 -2
  403. package/dist/ui/FormControl/TextInputModal.d.ts.map +1 -1
  404. package/dist/ui/FormControl/TextInputPassword.d.ts +3 -1
  405. package/dist/ui/FormControl/TextInputPassword.d.ts.map +1 -1
  406. package/dist/ui/FormControl/TextInputPassword.js +9 -2
  407. package/dist/ui/FormControl/fieldBorderState.d.ts +1 -1
  408. package/dist/ui/FormControl/fieldBorderState.d.ts.map +1 -1
  409. package/dist/ui/FormControl/otpTheme.d.ts +1 -1
  410. package/dist/ui/FormControl/otpTheme.d.ts.map +1 -1
  411. package/dist/ui/FormControl/otpTheme.js +0 -3
  412. package/dist/ui/FormControl/textInputStyles.d.ts +55 -1
  413. package/dist/ui/FormControl/textInputStyles.d.ts.map +1 -1
  414. package/dist/ui/FormControl/textInputStyles.js +3 -1
  415. package/dist/ui/FormControl/useChoixDeFichier.d.ts.map +1 -1
  416. package/dist/ui/FormControl/useChoixDeFichier.js +15 -3
  417. package/dist/ui/FormControl/useTextInputModal.d.ts +4 -3
  418. package/dist/ui/FormControl/useTextInputModal.d.ts.map +1 -1
  419. package/dist/ui/Header/Header.d.ts.map +1 -1
  420. package/dist/ui/Header/Header.js +1 -1
  421. package/dist/ui/Header/Header.stories.d.ts +6 -33
  422. package/dist/ui/Header/Header.stories.d.ts.map +1 -1
  423. package/dist/ui/Header/Header.styles.d.ts +6 -33
  424. package/dist/ui/Header/Header.styles.d.ts.map +1 -1
  425. package/dist/ui/Header/Header.styles.js +6 -6
  426. package/dist/ui/InputButtonAdornment/InputButtonAdornment.stories.d.ts +2 -2
  427. package/dist/ui/InputButtonAdornment/InputButtonAdornment.stories.js +1 -1
  428. package/dist/ui/InputButtonAdornment/InputButtonAdornment.stories.sources.d.ts.map +1 -1
  429. package/dist/ui/InputButtonAdornment/InputButtonAdornment.stories.sources.js +1 -1
  430. package/dist/ui/InputButtonAdornment/InputButtonAdornment.styles.d.ts +2 -2
  431. package/dist/ui/Link/Link.d.ts.map +1 -1
  432. package/dist/ui/Link/Link.js +2 -1
  433. package/dist/ui/Link/Link.stories.d.ts +1 -5
  434. package/dist/ui/Link/Link.stories.d.ts.map +1 -1
  435. package/dist/ui/Link/Link.styles.d.ts +1 -5
  436. package/dist/ui/Link/Link.styles.d.ts.map +1 -1
  437. package/dist/ui/Link/Link.styles.js +0 -4
  438. package/dist/ui/ListItem/ListItem.d.ts.map +1 -1
  439. package/dist/ui/ListItem/ListItem.js +2 -1
  440. package/dist/ui/ListItem/ListItem.stories.d.ts +10 -7
  441. package/dist/ui/ListItem/ListItem.stories.d.ts.map +1 -1
  442. package/dist/ui/ListItem/ListItem.styles.d.ts +10 -7
  443. package/dist/ui/ListItem/ListItem.styles.d.ts.map +1 -1
  444. package/dist/ui/ListItem/ListItem.styles.js +8 -2
  445. package/dist/ui/LucideIcon/LucideIcon.stories.d.ts.map +1 -1
  446. package/dist/ui/LucideIcon/LucideIcon.stories.js +2 -1
  447. package/dist/ui/LucideIcon/LucideIcon.stories.sources.d.ts.map +1 -1
  448. package/dist/ui/LucideIcon/LucideIcon.stories.sources.js +1 -1
  449. package/dist/ui/LucideIcon/catalogueLucide.d.ts +402 -0
  450. package/dist/ui/LucideIcon/catalogueLucide.d.ts.map +1 -1
  451. package/dist/ui/LucideIcon/vendor/lab.js +1 -1
  452. package/dist/ui/LucideIcon/vendor/lucide.d.ts +5735 -4162
  453. package/dist/ui/LucideIcon/vendor/lucide.js +3 -3
  454. package/dist/ui/PageHeader/PageHeader.stories.d.ts +1 -1
  455. package/dist/ui/PageHeader/PageHeader.styles.d.ts +1 -1
  456. package/dist/ui/Popover/Popover.d.ts.map +1 -1
  457. package/dist/ui/Popover/Popover.js +1 -1
  458. package/dist/ui/Popover/Popover.stories.d.ts +6 -6
  459. package/dist/ui/Popover/Popover.styles.d.ts +6 -6
  460. package/dist/ui/PriceInput/PriceInput.d.ts +2 -3
  461. package/dist/ui/PriceInput/PriceInput.d.ts.map +1 -1
  462. package/dist/ui/PriceInput/PriceInput.js +2 -2
  463. package/dist/ui/PriceInput/PriceInput.stories.d.ts +22 -6
  464. package/dist/ui/PriceInput/PriceInput.stories.d.ts.map +1 -1
  465. package/dist/ui/PriceInput/PriceInput.stories.js +2 -1
  466. package/dist/ui/PriceInput/PriceInput.stories.sources.d.ts +2 -0
  467. package/dist/ui/PriceInput/PriceInput.stories.sources.d.ts.map +1 -1
  468. package/dist/ui/PriceInput/PriceInput.stories.sources.js +3 -1
  469. package/dist/ui/PriceInput/PriceInput.styles.d.ts +20 -5
  470. package/dist/ui/PriceInput/PriceInput.styles.d.ts.map +1 -1
  471. package/dist/ui/PriceInput/PriceInput.styles.js +20 -6
  472. package/dist/ui/PriceInput/PriceInput.web.d.ts +0 -1
  473. package/dist/ui/PriceInput/PriceInput.web.d.ts.map +1 -1
  474. package/dist/ui/PriceInput/PriceInput.web.js +9 -10
  475. package/dist/ui/PriceInput/cadrePrix.d.ts +43 -0
  476. package/dist/ui/PriceInput/cadrePrix.d.ts.map +1 -0
  477. package/dist/ui/PriceInput/cadrePrix.js +9 -0
  478. package/dist/ui/PriceInput/largeurDuChamp.d.ts +2 -0
  479. package/dist/ui/PriceInput/largeurDuChamp.d.ts.map +1 -0
  480. package/dist/ui/PriceInput/largeurDuChamp.js +2 -0
  481. package/dist/ui/PriceInput/useSaisieMontant.d.ts +5 -0
  482. package/dist/ui/PriceInput/useSaisieMontant.d.ts.map +1 -0
  483. package/dist/ui/PriceInput/useSaisieMontant.js +19 -0
  484. package/dist/ui/ProgressBar/ProgressBar.stories.d.ts +8 -7
  485. package/dist/ui/ProgressBar/ProgressBar.stories.d.ts.map +1 -1
  486. package/dist/ui/ProgressBar/ProgressBar.styles.d.ts +8 -7
  487. package/dist/ui/ProgressBar/ProgressBar.styles.d.ts.map +1 -1
  488. package/dist/ui/ProgressBar/ProgressBar.styles.js +2 -0
  489. package/dist/ui/RadioGroup/RadioGroup.d.ts +2 -2
  490. package/dist/ui/RadioGroup/RadioGroup.d.ts.map +1 -1
  491. package/dist/ui/RadioGroup/RadioGroup.js +1 -1
  492. package/dist/ui/RadioGroup/RadioGroup.stories.d.ts +10 -12
  493. package/dist/ui/RadioGroup/RadioGroup.stories.d.ts.map +1 -1
  494. package/dist/ui/RadioGroup/RadioGroup.stories.js +2 -2
  495. package/dist/ui/RadioGroup/RadioGroup.stories.sources.d.ts.map +1 -1
  496. package/dist/ui/RadioGroup/RadioGroup.stories.sources.js +2 -2
  497. package/dist/ui/RadioGroup/RadioGroup.styles.d.ts +9 -11
  498. package/dist/ui/RadioGroup/RadioGroup.styles.d.ts.map +1 -1
  499. package/dist/ui/RadioGroup/RadioGroup.styles.js +7 -10
  500. package/dist/ui/RadioGroup/RadioGroupCard.d.ts.map +1 -1
  501. package/dist/ui/RadioGroup/RadioGroupCard.js +2 -2
  502. package/dist/ui/RadioGroup/RadioGroupContext.d.ts +1 -0
  503. package/dist/ui/RadioGroup/RadioGroupContext.d.ts.map +1 -1
  504. package/dist/ui/RadioGroup/RadioGroupItem.d.ts.map +1 -1
  505. package/dist/ui/RadioGroup/RadioGroupItem.js +8 -3
  506. package/dist/ui/RadioGroup/RadioGroupItem.styles.d.ts +1 -1
  507. package/dist/ui/RadioGroup/RadioInput.d.ts.map +1 -1
  508. package/dist/ui/RadioGroup/RadioInput.js +5 -7
  509. package/dist/ui/RadioGroup/index.d.ts +1 -1
  510. package/dist/ui/ResourceList/ResourceList.stories.d.ts +4 -2
  511. package/dist/ui/ResourceList/ResourceList.stories.d.ts.map +1 -1
  512. package/dist/ui/ResourceList/ResourceList.stories.js +3 -1
  513. package/dist/ui/ResourceList/ResourceList.stories.sources.d.ts +2 -0
  514. package/dist/ui/ResourceList/ResourceList.stories.sources.d.ts.map +1 -1
  515. package/dist/ui/ResourceList/ResourceList.stories.sources.js +4 -1
  516. package/dist/ui/ResourceList/ResourceList.styles.d.ts +2 -2
  517. package/dist/ui/ResourceList/ResourceListDivider.js +1 -1
  518. package/dist/ui/Select/Select.stories.d.ts +8 -9
  519. package/dist/ui/Select/Select.stories.d.ts.map +1 -1
  520. package/dist/ui/Select/Select.stories.js +12 -12
  521. package/dist/ui/Select/Select.stories.sources.d.ts.map +1 -1
  522. package/dist/ui/Select/Select.stories.sources.js +11 -11
  523. package/dist/ui/Select/Select.styles.d.ts +9 -10
  524. package/dist/ui/Select/Select.styles.d.ts.map +1 -1
  525. package/dist/ui/Select/Select.styles.js +1 -2
  526. package/dist/ui/Select/Select.types.d.ts +2 -0
  527. package/dist/ui/Select/Select.types.d.ts.map +1 -1
  528. package/dist/ui/Select/SelectBottomSheet.d.ts.map +1 -1
  529. package/dist/ui/Select/SelectBottomSheet.js +5 -5
  530. package/dist/ui/Select/SelectItem.js +1 -1
  531. package/dist/ui/Select/SelectList.styles.d.ts +14 -22
  532. package/dist/ui/Select/SelectList.styles.d.ts.map +1 -1
  533. package/dist/ui/Select/SelectList.styles.js +8 -9
  534. package/dist/ui/Select/SelectOptionsList.d.ts +1 -0
  535. package/dist/ui/Select/SelectOptionsList.d.ts.map +1 -1
  536. package/dist/ui/Select/selectControlStyle.d.ts +130 -2
  537. package/dist/ui/Select/selectControlStyle.d.ts.map +1 -1
  538. package/dist/ui/Select/selectItemStyle.d.ts +7 -7
  539. package/dist/ui/Select/selectItemStyle.d.ts.map +1 -1
  540. package/dist/ui/Select/selectItemStyle.js +7 -3
  541. package/dist/ui/Select/selectTriggerStyle.d.ts +54 -2
  542. package/dist/ui/Select/selectTriggerStyle.d.ts.map +1 -1
  543. package/dist/ui/Select/useDefilementVersSelection.d.ts +3 -2
  544. package/dist/ui/Select/useDefilementVersSelection.d.ts.map +1 -1
  545. package/dist/ui/Sidebar/Sidebar.stories.d.ts +20 -27
  546. package/dist/ui/Sidebar/Sidebar.stories.d.ts.map +1 -1
  547. package/dist/ui/Sidebar/Sidebar.stories.js +1 -1
  548. package/dist/ui/Sidebar/Sidebar.stories.sources.d.ts.map +1 -1
  549. package/dist/ui/Sidebar/Sidebar.stories.sources.js +1 -1
  550. package/dist/ui/Sidebar/Sidebar.styles.d.ts +20 -27
  551. package/dist/ui/Sidebar/Sidebar.styles.d.ts.map +1 -1
  552. package/dist/ui/Sidebar/Sidebar.styles.js +4 -7
  553. package/dist/ui/Sidebar/SidebarHeader.d.ts.map +1 -1
  554. package/dist/ui/Sidebar/SidebarHeader.js +4 -1
  555. package/dist/ui/Sidebar/SidebarItem.d.ts +8 -2
  556. package/dist/ui/Sidebar/SidebarItem.d.ts.map +1 -1
  557. package/dist/ui/Sidebar/SidebarItem.js +16 -9
  558. package/dist/ui/Signature/Signature.d.ts +1 -1
  559. package/dist/ui/Signature/Signature.d.ts.map +1 -1
  560. package/dist/ui/Signature/Signature.js +1 -1
  561. package/dist/ui/Signature/Signature.stories.d.ts +2 -2
  562. package/dist/ui/Signature/Signature.styles.d.ts +2 -2
  563. package/dist/ui/Skeleton/Skeleton.js +1 -1
  564. package/dist/ui/Skeleton/Skeleton.stories.d.ts +2 -1
  565. package/dist/ui/Skeleton/Skeleton.stories.d.ts.map +1 -1
  566. package/dist/ui/Skeleton/Skeleton.stories.js +3 -3
  567. package/dist/ui/Skeleton/Skeleton.stories.sources.d.ts.map +1 -1
  568. package/dist/ui/Skeleton/Skeleton.stories.sources.js +3 -3
  569. package/dist/ui/Skeleton/Skeleton.styles.d.ts +2 -1
  570. package/dist/ui/Skeleton/Skeleton.styles.d.ts.map +1 -1
  571. package/dist/ui/Skeleton/Skeleton.styles.js +2 -0
  572. package/dist/ui/Spinner/Spinner.stories.d.ts +2 -2
  573. package/dist/ui/Spinner/Spinner.stories.js +2 -2
  574. package/dist/ui/Spinner/Spinner.stories.sources.d.ts.map +1 -1
  575. package/dist/ui/Spinner/Spinner.stories.sources.js +2 -2
  576. package/dist/ui/Spinner/Spinner.styles.d.ts +2 -2
  577. package/dist/ui/Spinner/useRotation.d.ts +3 -1
  578. package/dist/ui/Spinner/useRotation.d.ts.map +1 -1
  579. package/dist/ui/Spinner/useSpinner.d.ts +3 -3
  580. package/dist/ui/Switch/Switch.d.ts +1 -1
  581. package/dist/ui/Switch/Switch.d.ts.map +1 -1
  582. package/dist/ui/Switch/Switch.js +15 -11
  583. package/dist/ui/Switch/Switch.stories.d.ts +12 -11
  584. package/dist/ui/Switch/Switch.stories.d.ts.map +1 -1
  585. package/dist/ui/Switch/Switch.stories.js +1 -1
  586. package/dist/ui/Switch/Switch.stories.sources.d.ts.map +1 -1
  587. package/dist/ui/Switch/Switch.stories.sources.js +1 -1
  588. package/dist/ui/Switch/Switch.styles.d.ts +11 -10
  589. package/dist/ui/Switch/Switch.styles.d.ts.map +1 -1
  590. package/dist/ui/Switch/Switch.styles.js +5 -4
  591. package/dist/ui/Tabs/Tabs.d.ts +7 -1
  592. package/dist/ui/Tabs/Tabs.d.ts.map +1 -1
  593. package/dist/ui/Tabs/Tabs.js +3 -3
  594. package/dist/ui/Tabs/Tabs.stories.d.ts +33 -10
  595. package/dist/ui/Tabs/Tabs.stories.d.ts.map +1 -1
  596. package/dist/ui/Tabs/Tabs.stories.js +15 -1
  597. package/dist/ui/Tabs/Tabs.stories.sources.d.ts +4 -0
  598. package/dist/ui/Tabs/Tabs.stories.sources.d.ts.map +1 -1
  599. package/dist/ui/Tabs/Tabs.stories.sources.js +4 -0
  600. package/dist/ui/Tabs/Tabs.styles.d.ts +31 -10
  601. package/dist/ui/Tabs/Tabs.styles.d.ts.map +1 -1
  602. package/dist/ui/Tabs/Tabs.styles.js +6 -2
  603. package/dist/ui/Tabs/TabsTab.js +1 -1
  604. package/dist/ui/Tabs/useTabsState.d.ts +2 -2
  605. package/dist/ui/Tabs/useTabsState.d.ts.map +1 -1
  606. package/dist/ui/Tabs/useTabsState.js +13 -7
  607. package/dist/ui/Tag/Tag.d.ts.map +1 -1
  608. package/dist/ui/Tag/Tag.js +14 -2
  609. package/dist/ui/Tag/Tag.stories.d.ts +15 -7
  610. package/dist/ui/Tag/Tag.stories.d.ts.map +1 -1
  611. package/dist/ui/Tag/Tag.stories.js +5 -5
  612. package/dist/ui/Tag/Tag.stories.sources.d.ts.map +1 -1
  613. package/dist/ui/Tag/Tag.stories.sources.js +5 -5
  614. package/dist/ui/Tag/Tag.styles.d.ts +15 -7
  615. package/dist/ui/Tag/Tag.styles.d.ts.map +1 -1
  616. package/dist/ui/Tag/Tag.styles.js +11 -0
  617. package/dist/ui/Tag/TagNativeContent.d.ts +11 -0
  618. package/dist/ui/Tag/TagNativeContent.d.ts.map +1 -0
  619. package/dist/ui/Tag/TagNativeContent.js +10 -0
  620. package/dist/ui/Tag/tagStyling.d.ts +2 -2
  621. package/dist/ui/TextInputArray/TextInputArray.js +1 -1
  622. package/dist/ui/TextareaInput/TextareaInput.d.ts +3 -2
  623. package/dist/ui/TextareaInput/TextareaInput.d.ts.map +1 -1
  624. package/dist/ui/TextareaInput/TextareaInput.stories.d.ts +3 -1
  625. package/dist/ui/TextareaInput/TextareaInput.stories.d.ts.map +1 -1
  626. package/dist/ui/TextareaInput/TextareaInput.stories.js +3 -5
  627. package/dist/ui/TextareaInput/TextareaInput.stories.sources.d.ts +2 -0
  628. package/dist/ui/TextareaInput/TextareaInput.stories.sources.d.ts.map +1 -1
  629. package/dist/ui/TextareaInput/TextareaInput.stories.sources.js +3 -1
  630. package/dist/ui/TimeInput/TimeInput.d.ts +2 -1
  631. package/dist/ui/TimeInput/TimeInput.d.ts.map +1 -1
  632. package/dist/ui/TimeInput/TimeInput.stories.d.ts +1 -1
  633. package/dist/ui/TimeInput/TimeInput.stories.js +2 -2
  634. package/dist/ui/TimeInput/TimeInput.stories.sources.d.ts.map +1 -1
  635. package/dist/ui/TimeInput/TimeInput.stories.sources.js +2 -2
  636. package/dist/ui/Toast/Toast.d.ts +3 -3
  637. package/dist/ui/Toast/Toast.d.ts.map +1 -1
  638. package/dist/ui/Toast/Toast.js +5 -7
  639. package/dist/ui/Toast/Toast.stories.d.ts +32 -22
  640. package/dist/ui/Toast/Toast.stories.d.ts.map +1 -1
  641. package/dist/ui/Toast/Toast.stories.js +14 -11
  642. package/dist/ui/Toast/Toast.stories.sources.d.ts.map +1 -1
  643. package/dist/ui/Toast/Toast.stories.sources.js +3 -3
  644. package/dist/ui/Toast/Toast.styles.d.ts +22 -15
  645. package/dist/ui/Toast/Toast.styles.d.ts.map +1 -1
  646. package/dist/ui/Toast/Toast.styles.js +6 -3
  647. package/dist/ui/Toast/ToastContext.d.ts +1 -0
  648. package/dist/ui/Toast/ToastContext.d.ts.map +1 -1
  649. package/dist/ui/Toast/ToastContext.js +1 -0
  650. package/dist/ui/Toast/Toasts.d.ts +2 -1
  651. package/dist/ui/Toast/Toasts.d.ts.map +1 -1
  652. package/dist/ui/Toast/Toasts.js +9 -5
  653. package/dist/ui/ToolbarBottomNav/ToolbarBottomNav.stories.d.ts +5 -53
  654. package/dist/ui/ToolbarBottomNav/ToolbarBottomNav.stories.d.ts.map +1 -1
  655. package/dist/ui/ToolbarBottomNav/ToolbarBottomNav.styles.d.ts +4 -4
  656. package/dist/ui/ToolbarTop/ToolbarTop.d.ts.map +1 -1
  657. package/dist/ui/ToolbarTop/ToolbarTop.js +1 -2
  658. package/dist/ui/ToolbarTop/ToolbarTop.stories.d.ts +4 -5
  659. package/dist/ui/ToolbarTop/ToolbarTop.stories.d.ts.map +1 -1
  660. package/dist/ui/ToolbarTop/ToolbarTop.styles.d.ts +4 -5
  661. package/dist/ui/ToolbarTop/ToolbarTop.styles.d.ts.map +1 -1
  662. package/dist/ui/ToolbarTop/ToolbarTop.styles.js +1 -2
  663. package/dist/ui/ToolbarTop/ToolbarTop.types.d.ts +2 -3
  664. package/dist/ui/ToolbarTop/ToolbarTop.types.d.ts.map +1 -1
  665. package/dist/ui/ToolbarTop/toolbarTopStyling.d.ts +7 -6
  666. package/dist/ui/ToolbarTop/toolbarTopStyling.d.ts.map +1 -1
  667. package/package.json +44 -42
  668. package/dist/core/styleTamagui/versStyleTamagui.d.ts +0 -10
  669. package/dist/core/styleTamagui/versStyleTamagui.d.ts.map +0 -1
  670. package/dist/core/styleTamagui/versStyleTamagui.js +0 -8
  671. package/dist/ui/DocumentViewer/useSurvolAvecZoom.d.ts +0 -15
  672. package/dist/ui/DocumentViewer/useSurvolAvecZoom.d.ts.map +0 -1
  673. package/dist/ui/DocumentViewer/useSurvolAvecZoom.js +0 -27
  674. package/dist/ui/PriceInput/PriceInput.css +0 -9
  675. package/dist/ui/Toast/ToastBridge.d.ts +0 -11
  676. package/dist/ui/Toast/ToastBridge.d.ts.map +0 -1
  677. 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: string;
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: string;
88
+ backgroundColor: import("@alveole/theme").ThemeColor;
87
89
  };
88
90
  rowSelected: {
89
- backgroundColor: string;
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: string;
97
+ backgroundColor: import("@alveole/theme").ThemeColor;
96
98
  borderBottomWidth: number;
97
- borderBottomColor: string;
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: string;
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: string;
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: string;
148
+ borderColor: import("@alveole/theme").ThemeColor;
147
149
  borderRadius: import("@alveole/theme").Radius;
148
150
  overflow: "hidden";
149
- backgroundColor: string;
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: string;
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":"AA+LA,eAAO,MAAM,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAMnB,CAAC"}
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, hoverStyle: aspect.hover, style: aspect.style, children: children }));
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,gCAoD/D,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, hoverStyle: onPress ? styles.rowHover : {}, style: [
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
- hover: {
21
- opacity: number;
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
- hover: pressable ? { opacity: 0.8 } : undefined,
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<import("react-native").TextInput>>;
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,EAA+B,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,CAAC,GAAG;IAC1D,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;0DAkI/B,CAAC"}
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
- export declare const DateInput: React.ForwardRefExoticComponent<Omit<import("..").TextInputProps, "type"> & {
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 | 2 | 3 | 5 | 10 | 15 | 20 | 30;
11
- } & React.RefAttributes<import("react-native").TextInput>>;
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;AA0D3C,eAAO,MAAM,SAAS;;;;;;;;;0DAoDpB,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 | 2 | 3 | 5 | 10 | 15 | 20 | 30;
16
- } & React.RefAttributes<import("react-native").TextInput>>;
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: 8, 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 }) }) })] }) }));
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: 8, 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()) }) }) })] }) }));
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,cAA+4B,CAAC;AAEp6B,eAAO,MAAM,KAAK,cAA+uB,CAAC;AAElwB,eAAO,MAAM,YAAY;;;CAGf,CAAC;AAEX,MAAM,MAAM,eAAe,GAAG,MAAM,OAAO,YAAY,CAAC"}
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={8}>\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={8}>\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};";
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 | 2 | 3 | 5 | 10 | 15 | 20 | 30;
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
@@ -10,7 +10,7 @@ declare const _default: {
10
10
  divider: {
11
11
  width: "100%";
12
12
  height: number;
13
- backgroundColor: string;
13
+ backgroundColor: import("@alveole/theme").ThemeColor;
14
14
  };
15
15
  };
16
16
  };
@@ -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,mCAAmC,CAAC;AAExD,OAAO,KAAK,OAAO,MAAM,2BAA2B,CAAC"}
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"}
@@ -11,5 +11,5 @@ export default {
11
11
  component: Divider,
12
12
  styleFn: useStyles,
13
13
  };
14
- export const Default = () => _jsx(Divider, { mt: 8, mb: 16 });
14
+ export const Default = () => _jsx(Divider, { mt: "1W", mb: "2W" });
15
15
  export * as Sources from './Divider.stories.sources';
@@ -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,cAAmE,CAAC;AAExF,eAAO,MAAM,YAAY;;CAEf,CAAC;AAEX,MAAM,MAAM,eAAe,GAAG,MAAM,OAAO,YAAY,CAAC"}
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={8} mb={16} />;";
3
+ export const Default = () => "export const Default = () => <Divider mt=\"1W\" mb=\"2W\" />;";
4
4
  export const storySources = {
5
5
  Default,
6
6
  };
@@ -2,7 +2,7 @@ export declare const useStyles: () => {
2
2
  divider: {
3
3
  width: "100%";
4
4
  height: number;
5
- backgroundColor: string;
5
+ backgroundColor: import("@alveole/theme").ThemeColor;
6
6
  };
7
7
  };
8
8
  //# sourceMappingURL=Divider.styles.d.ts.map
@@ -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) => import("react").JSX.Element;
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":"AAEA,OAAO,EAAE,KAAK,mBAAmB,EAAE,MAAM,wBAAwB,CAAC;AAMlE,eAAO,MAAM,cAAc,GAAI,OAAO,mBAAmB,gCAkDxD,CAAC"}
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
- return (_jsxs(Box, { tag: "document-viewer-wrapper", height: height, style: styles.viewerWrapper, children: [_jsxs(Box, { tag: "document-viewer", 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 }), _jsx(Box, { tag: "document-viewer-container", style: {
13
- ...styles.viewerContainer,
14
- ...(children ? { borderBottomRightRadius: 0 } : {}),
15
- }, 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 }))] }) })] }), children && (_jsx(Box, { tag: "document-viewer-children", ...ChildrenProps, style: [styles.children, ChildrenProps?.style], children: children }))] }));
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: string;
47
+ backgroundColor: import("@alveole/theme").ThemeColor;
48
48
  };
49
49
  viewerPdfErrorLabel: {
50
- color: string;
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: string;
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: string;
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
- borderColor: string;
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: string;
110
+ backgroundColor: import("@alveole/theme").ThemeColor;
110
111
  overflow: "auto";
111
112
  };
112
113
  toolbar: {
113
114
  padding: string | number;
114
- borderColor: string;
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: string;
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: string;
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: string;
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: string;
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":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAMA,wBAQkB;AAElB,eAAO,MAAM,eAAe,mCAI3B,CAAC;AAEF,eAAO,MAAM,WAAW,mCASvB,CAAC;AAEF,eAAO,MAAM,gBAAgB,mCAS5B,CAAC;AAEF,eAAO,MAAM,YAAY,mCAaxB,CAAC;AAEF,OAAO,KAAK,OAAO,MAAM,kCAAkC,CAAC"}
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: "https://upload.wikimedia.org/wikipedia/commons/4/4e/Wikip%C3%A9dia.pdf", height: "100%" }) }));
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: "https://upload.wikimedia.org/wikipedia/commons/4/4e/Wikip%C3%A9dia.pdf", height: "100%", children: _jsx(Box, { p: '2W', minW: 600, children: _jsx(Typography, { children: "Contenu enfant" }) }) }) }));
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,cAA2N,CAAC;AAExP,eAAO,MAAM,WAAW,cAA2R,CAAC;AAEpT,eAAO,MAAM,gBAAgB,cAA+Q,CAAC;AAE7S,eAAO,MAAM,YAAY,cAAuY,CAAC;AAEja,eAAO,MAAM,YAAY;;;;;CAKf,CAAC;AAEX,MAAM,MAAM,eAAe,GAAG,MAAM,OAAO,YAAY,CAAC"}
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 title=\"Document image\" type=\"image\" source=\"https://picsum.photos/1000/2000\" height=\"100%\" />\n </Box>\n);";
4
- export const DocumentPdf = () => "export const DocumentPdf = () => (\n <Box height={400} maxW={500}>\n <DocumentViewer\n title=\"Document PDF\"\n type=\"pdf\"\n source=\"https://upload.wikimedia.org/wikipedia/commons/4/4e/Wikip%C3%A9dia.pdf\"\n height=\"100%\"\n />\n </Box>\n);";
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\n title=\"Document PDF\"\n type=\"pdf\"\n source=\"https://upload.wikimedia.org/wikipedia/commons/4/4e/Wikip%C3%A9dia.pdf\"\n height=\"100%\"\n >\n <Box p={'2W'} minW={600}>\n <Typography>Contenu enfant</Typography>\n </Box>\n </DocumentViewer>\n </Box>\n);";
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: string;
40
+ backgroundColor: import("@alveole/theme").ThemeColor;
41
41
  };
42
42
  viewerPdfErrorLabel: {
43
- color: string;
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: string;
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: string;
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
- borderColor: string;
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: string;
103
+ backgroundColor: import("@alveole/theme").ThemeColor;
103
104
  overflow: "auto";
104
105
  };
105
106
  toolbar: {
106
107
  padding: string | number;
107
- borderColor: string;
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: string;
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: string;
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: string;
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: string;
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":"AAoKA,eAAO,MAAM,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAKnB,CAAC"}
1
+ {"version":3,"file":"DocumentViewer.styles.d.ts","sourceRoot":"","sources":["../../../src/ui/DocumentViewer/DocumentViewer.styles.ts"],"names":[],"mappings":"AAuKA,eAAO,MAAM,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAKnB,CAAC"}