@alveole/components 2.0.0-alpha.16 → 2.0.0-alpha.18

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 (349) hide show
  1. package/dist/core/AlveoleProvider/AlveoleProvider.d.ts +17 -0
  2. package/dist/core/AlveoleProvider/AlveoleProvider.d.ts.map +1 -0
  3. package/dist/core/AlveoleProvider/AlveoleProvider.js +15 -0
  4. package/dist/core/AlveoleProvider/index.d.ts +2 -0
  5. package/dist/core/AlveoleProvider/index.d.ts.map +1 -0
  6. package/dist/core/AlveoleProvider/index.js +1 -0
  7. package/dist/core/Box/Box.d.ts +15 -15
  8. package/dist/core/Box/Box.d.ts.map +1 -1
  9. package/dist/core/Box/Box.js +9 -6
  10. package/dist/core/Box/Box.stories.d.ts +19 -15
  11. package/dist/core/Box/Box.stories.d.ts.map +1 -1
  12. package/dist/core/Box/Box.stories.js +21 -4
  13. package/dist/core/Box/Box.stories.sources.d.ts +8 -0
  14. package/dist/core/Box/Box.stories.sources.d.ts.map +1 -1
  15. package/dist/core/Box/Box.stories.sources.js +11 -3
  16. package/dist/core/Box/Box.types.d.ts +21 -15
  17. package/dist/core/Box/Box.types.d.ts.map +1 -1
  18. package/dist/core/Box/elementDuTag.d.ts +2 -0
  19. package/dist/core/Box/elementDuTag.d.ts.map +1 -0
  20. package/dist/core/Box/elementDuTag.js +12 -0
  21. package/dist/core/Code/Code.stories.d.ts +2 -2
  22. package/dist/core/Code/Code.stories.js +1 -1
  23. package/dist/core/Code/Code.stories.sources.d.ts.map +1 -1
  24. package/dist/core/Code/Code.stories.sources.js +1 -1
  25. package/dist/core/Code/Code.styles.d.ts +2 -2
  26. package/dist/core/Form/Form.stories.js +1 -1
  27. package/dist/core/Form/Form.stories.sources.d.ts.map +1 -1
  28. package/dist/core/Form/Form.stories.sources.js +1 -1
  29. package/dist/core/Grid/Grid.stories.d.ts +15 -14
  30. package/dist/core/Grid/Grid.stories.d.ts.map +1 -1
  31. package/dist/core/Grid/Grid.stories.js +14 -12
  32. package/dist/core/Grid/Grid.stories.sources.d.ts.map +1 -1
  33. package/dist/core/Grid/Grid.stories.sources.js +9 -9
  34. package/dist/core/Highlight/Highlight.stories.d.ts +4 -4
  35. package/dist/core/Highlight/Highlight.styles.d.ts +4 -4
  36. package/dist/core/Highlight/Highlight.theme.d.ts +1 -3
  37. package/dist/core/Highlight/Highlight.theme.d.ts.map +1 -1
  38. package/dist/core/Highlight/Highlight.theme.js +9 -16
  39. package/dist/core/Map/Map.js +1 -1
  40. package/dist/core/MarkdownDescription/MarkdownDescription.js +1 -1
  41. package/dist/core/MarkdownDescription/markdownComponents.d.ts +3 -3
  42. package/dist/core/MarkdownDescription/markdownComponents.d.ts.map +1 -1
  43. package/dist/core/MarkdownDescription/markdownComponents.js +8 -8
  44. package/dist/core/MarkdownDescription/markdownNatif.d.ts.map +1 -1
  45. package/dist/core/MarkdownDescription/markdownNatif.js +5 -4
  46. package/dist/core/Page/PageContent.d.ts.map +1 -1
  47. package/dist/core/Page/PageContent.js +1 -1
  48. package/dist/core/Page/PageContentScrollable.d.ts +15 -15
  49. package/dist/core/Page/usePageStatusBar.d.ts.map +1 -1
  50. package/dist/core/Page/usePageStatusBar.js +3 -3
  51. package/dist/core/Section/Section.stories.d.ts.map +1 -1
  52. package/dist/core/Section/Section.stories.js +8 -6
  53. package/dist/core/Section/Section.stories.sources.d.ts.map +1 -1
  54. package/dist/core/Section/Section.stories.sources.js +4 -4
  55. package/dist/core/ThemeProvider/ThemeProvider.stories.d.ts.map +1 -1
  56. package/dist/core/ThemeProvider/ThemeProvider.stories.js +17 -12
  57. package/dist/core/ThemeProvider/ThemeProvider.stories.sources.d.ts.map +1 -1
  58. package/dist/core/ThemeProvider/ThemeProvider.stories.sources.js +2 -2
  59. package/dist/core/Typography/Typography.stories.d.ts +1 -0
  60. package/dist/core/Typography/Typography.stories.d.ts.map +1 -1
  61. package/dist/core/Typography/Typography.stories.js +2 -0
  62. package/dist/core/Typography/Typography.stories.sources.d.ts +2 -0
  63. package/dist/core/Typography/Typography.stories.sources.d.ts.map +1 -1
  64. package/dist/core/Typography/Typography.stories.sources.js +2 -0
  65. package/dist/core/Typography/Typography.styles.d.ts +1 -1
  66. package/dist/core/Version/Version.stories.d.ts +1 -1
  67. package/dist/core/Version/Version.styles.d.ts +1 -1
  68. package/dist/core/index.d.ts +1 -0
  69. package/dist/core/index.d.ts.map +1 -1
  70. package/dist/core/index.js +1 -0
  71. package/dist/core/styleTamagui/flexDuWeb.d.ts +1 -1
  72. package/dist/core/styleTamagui/flexDuWeb.d.ts.map +1 -1
  73. package/dist/core/styleTamagui/flexDuWeb.js +4 -3
  74. package/dist/core/styleTamagui/fondAuSurvol.d.ts +5 -4
  75. package/dist/core/styleTamagui/fondAuSurvol.d.ts.map +1 -1
  76. package/dist/generated/version.d.ts +1 -1
  77. package/dist/generated/version.js +1 -1
  78. package/dist/ui/Accordion/Accordion.stories.d.ts +8 -8
  79. package/dist/ui/Accordion/Accordion.styles.d.ts +8 -8
  80. package/dist/ui/Accordion/Accordion.styles.js +2 -2
  81. package/dist/ui/Avatar/Avatar.stories.d.ts +2 -2
  82. package/dist/ui/Avatar/Avatar.styles.d.ts +2 -2
  83. package/dist/ui/Badge/Badge.stories.d.ts +12 -12
  84. package/dist/ui/Badge/Badge.stories.js +3 -3
  85. package/dist/ui/Badge/Badge.stories.sources.d.ts.map +1 -1
  86. package/dist/ui/Badge/Badge.stories.sources.js +3 -3
  87. package/dist/ui/Badge/Badge.styles.d.ts +12 -12
  88. package/dist/ui/BottomSheet/BottomSheet.d.ts.map +1 -1
  89. package/dist/ui/BottomSheet/BottomSheet.js +2 -1
  90. package/dist/ui/BottomSheet/BottomSheet.stories.d.ts +2 -2
  91. package/dist/ui/BottomSheet/BottomSheet.styles.d.ts +2 -2
  92. package/dist/ui/Breadcrumbs/Breadcrumbs.stories.d.ts +3 -3
  93. package/dist/ui/Breadcrumbs/Breadcrumbs.stories.js +6 -6
  94. package/dist/ui/Breadcrumbs/Breadcrumbs.stories.sources.d.ts.map +1 -1
  95. package/dist/ui/Breadcrumbs/Breadcrumbs.stories.sources.js +6 -6
  96. package/dist/ui/Breadcrumbs/Breadcrumbs.styles.d.ts +3 -3
  97. package/dist/ui/Button/Button.d.ts +4 -2
  98. package/dist/ui/Button/Button.d.ts.map +1 -1
  99. package/dist/ui/Button/Button.stories.d.ts +49 -49
  100. package/dist/ui/Button/Button.stories.js +8 -8
  101. package/dist/ui/Button/Button.stories.sources.d.ts.map +1 -1
  102. package/dist/ui/Button/Button.stories.sources.js +8 -8
  103. package/dist/ui/Button/Button.styles.d.ts +48 -48
  104. package/dist/ui/Button/buttonIconStyling.d.ts +4 -20
  105. package/dist/ui/Button/buttonIconStyling.d.ts.map +1 -1
  106. package/dist/ui/Card/Card.stories.d.ts +5 -3
  107. package/dist/ui/Card/Card.stories.d.ts.map +1 -1
  108. package/dist/ui/Card/Card.stories.js +8 -1
  109. package/dist/ui/Card/Card.stories.sources.d.ts +4 -0
  110. package/dist/ui/Card/Card.stories.sources.d.ts.map +1 -1
  111. package/dist/ui/Card/Card.stories.sources.js +5 -1
  112. package/dist/ui/Card/Card.styles.d.ts +2 -2
  113. package/dist/ui/Card/CardHeader.styles.d.ts +3 -3
  114. package/dist/ui/Card/CardSection.styles.d.ts +3 -3
  115. package/dist/ui/Checkbox/Checkbox.d.ts.map +1 -1
  116. package/dist/ui/Checkbox/Checkbox.js +1 -3
  117. package/dist/ui/Checkbox/Checkbox.stories.d.ts +10 -10
  118. package/dist/ui/Checkbox/Checkbox.stories.js +2 -2
  119. package/dist/ui/Checkbox/Checkbox.stories.sources.d.ts.map +1 -1
  120. package/dist/ui/Checkbox/Checkbox.stories.sources.js +2 -2
  121. package/dist/ui/Checkbox/Checkbox.styles.d.ts +10 -10
  122. package/dist/ui/Checkbox/Checkbox.styles.js +6 -6
  123. package/dist/ui/Counter/Counter.stories.d.ts +3 -3
  124. package/dist/ui/Counter/Counter.stories.js +1 -1
  125. package/dist/ui/Counter/Counter.stories.sources.d.ts.map +1 -1
  126. package/dist/ui/Counter/Counter.stories.sources.js +1 -1
  127. package/dist/ui/Counter/Counter.styles.d.ts +3 -3
  128. package/dist/ui/DataTable/DataTable.stories.d.ts +11 -11
  129. package/dist/ui/DataTable/DataTable.styles.d.ts +11 -11
  130. package/dist/ui/DateInput/DateInput.d.ts +2 -2
  131. package/dist/ui/DateInput/DateInput.d.ts.map +1 -1
  132. package/dist/ui/DateInput/DateInput.ios.d.ts +2 -1
  133. package/dist/ui/DateInput/DateInput.ios.d.ts.map +1 -1
  134. package/dist/ui/DateInput/DateInput.stories.d.ts +1 -1
  135. package/dist/ui/DateInput/DateInput.stories.js +2 -2
  136. package/dist/ui/DateInput/DateInput.stories.sources.d.ts.map +1 -1
  137. package/dist/ui/DateInput/DateInput.stories.sources.js +2 -2
  138. package/dist/ui/Divider/Divider.stories.d.ts +1 -1
  139. package/dist/ui/Divider/Divider.stories.d.ts.map +1 -1
  140. package/dist/ui/Divider/Divider.stories.js +1 -1
  141. package/dist/ui/Divider/Divider.stories.sources.d.ts.map +1 -1
  142. package/dist/ui/Divider/Divider.stories.sources.js +1 -1
  143. package/dist/ui/Divider/Divider.styles.d.ts +1 -1
  144. package/dist/ui/DocumentViewer/DocumentViewer.stories.d.ts +11 -11
  145. package/dist/ui/DocumentViewer/DocumentViewer.stories.d.ts.map +1 -1
  146. package/dist/ui/DocumentViewer/DocumentViewer.stories.js +2 -2
  147. package/dist/ui/DocumentViewer/DocumentViewer.stories.sources.d.ts.map +1 -1
  148. package/dist/ui/DocumentViewer/DocumentViewer.stories.sources.js +2 -2
  149. package/dist/ui/DocumentViewer/DocumentViewer.styles.d.ts +11 -11
  150. package/dist/ui/DocumentViewer/chargementDePdfJs.d.ts.map +1 -1
  151. package/dist/ui/DocumentViewer/chargementDePdfJs.js +3 -1
  152. package/dist/ui/DurationInput/DurationInput.d.ts +2 -1
  153. package/dist/ui/DurationInput/DurationInput.d.ts.map +1 -1
  154. package/dist/ui/DurationInput/DurationInput.stories.d.ts +1 -1
  155. package/dist/ui/DurationInput/DurationInput.stories.js +2 -2
  156. package/dist/ui/DurationInput/DurationInput.stories.sources.d.ts.map +1 -1
  157. package/dist/ui/DurationInput/DurationInput.stories.sources.js +2 -2
  158. package/dist/ui/EmptyState/EmptyState.stories.d.ts +4 -4
  159. package/dist/ui/EmptyState/EmptyState.styles.d.ts +4 -4
  160. package/dist/ui/FileDropZone/FileDropZone.stories.d.ts +4 -4
  161. package/dist/ui/FileDropZone/FileDropZone.stories.js +3 -3
  162. package/dist/ui/FileDropZone/FileDropZone.stories.sources.d.ts.map +1 -1
  163. package/dist/ui/FileDropZone/FileDropZone.stories.sources.js +3 -3
  164. package/dist/ui/FileDropZone/FileDropZone.styles.d.ts +4 -4
  165. package/dist/ui/FilterDate/FilterDate.stories.d.ts +1 -1
  166. package/dist/ui/FilterDate/FilterDate.styles.d.ts +1 -1
  167. package/dist/ui/FormControl/ChampHHMM.d.ts +2 -2
  168. package/dist/ui/FormControl/ChampHHMM.d.ts.map +1 -1
  169. package/dist/ui/FormControl/FormControl.d.ts +2 -2
  170. package/dist/ui/FormControl/FormControl.d.ts.map +1 -1
  171. package/dist/ui/FormControl/FormControl.stories.d.ts +18 -18
  172. package/dist/ui/FormControl/FormControl.stories.js +4 -4
  173. package/dist/ui/FormControl/FormControl.stories.sources.d.ts.map +1 -1
  174. package/dist/ui/FormControl/FormControl.stories.sources.js +4 -4
  175. package/dist/ui/FormControl/FormControl.styles.d.ts +17 -17
  176. package/dist/ui/FormControl/NumberInput.d.ts +2 -1
  177. package/dist/ui/FormControl/NumberInput.d.ts.map +1 -1
  178. package/dist/ui/FormControl/NumberInput.stories.d.ts +18 -18
  179. package/dist/ui/FormControl/NumberInput.stories.d.ts.map +1 -1
  180. package/dist/ui/FormControl/NumberInput.stories.js +2 -1
  181. package/dist/ui/FormControl/NumberInput.stories.sources.d.ts.map +1 -1
  182. package/dist/ui/FormControl/NumberInput.stories.sources.js +1 -1
  183. package/dist/ui/FormControl/OtpInput.stories.d.ts +5 -5
  184. package/dist/ui/FormControl/OtpInput.stories.js +1 -1
  185. package/dist/ui/FormControl/OtpInput.stories.sources.d.ts.map +1 -1
  186. package/dist/ui/FormControl/OtpInput.stories.sources.js +1 -1
  187. package/dist/ui/FormControl/OtpInput.styles.d.ts +5 -5
  188. package/dist/ui/FormControl/OtpInput.styles.js +2 -2
  189. package/dist/ui/FormControl/TextInput.d.ts +1 -1
  190. package/dist/ui/FormControl/TextInput.d.ts.map +1 -1
  191. package/dist/ui/FormControl/TextInput.stories.d.ts +18 -18
  192. package/dist/ui/FormControl/TextInput.types.d.ts +3 -2
  193. package/dist/ui/FormControl/TextInput.types.d.ts.map +1 -1
  194. package/dist/ui/FormControl/TextInputInline.d.ts +2 -2
  195. package/dist/ui/FormControl/TextInputInline.d.ts.map +1 -1
  196. package/dist/ui/FormControl/TextInputMirror.d.ts +2 -2
  197. package/dist/ui/FormControl/TextInputMirror.d.ts.map +1 -1
  198. package/dist/ui/FormControl/TextInputModal.d.ts +2 -2
  199. package/dist/ui/FormControl/TextInputModal.d.ts.map +1 -1
  200. package/dist/ui/FormControl/TextInputPassword.d.ts +2 -1
  201. package/dist/ui/FormControl/TextInputPassword.d.ts.map +1 -1
  202. package/dist/ui/FormControl/fieldBorderState.d.ts +1 -1
  203. package/dist/ui/FormControl/fieldBorderState.d.ts.map +1 -1
  204. package/dist/ui/FormControl/otpTheme.d.ts +1 -1
  205. package/dist/ui/FormControl/otpTheme.d.ts.map +1 -1
  206. package/dist/ui/FormControl/otpTheme.js +0 -3
  207. package/dist/ui/FormControl/textInputStyles.d.ts +52 -0
  208. package/dist/ui/FormControl/textInputStyles.d.ts.map +1 -1
  209. package/dist/ui/FormControl/useTextInputModal.d.ts +4 -3
  210. package/dist/ui/FormControl/useTextInputModal.d.ts.map +1 -1
  211. package/dist/ui/Header/Header.stories.d.ts +4 -4
  212. package/dist/ui/Header/Header.styles.d.ts +4 -4
  213. package/dist/ui/InputButtonAdornment/InputButtonAdornment.stories.d.ts +2 -2
  214. package/dist/ui/InputButtonAdornment/InputButtonAdornment.stories.js +1 -1
  215. package/dist/ui/InputButtonAdornment/InputButtonAdornment.stories.sources.d.ts.map +1 -1
  216. package/dist/ui/InputButtonAdornment/InputButtonAdornment.stories.sources.js +1 -1
  217. package/dist/ui/InputButtonAdornment/InputButtonAdornment.styles.d.ts +2 -2
  218. package/dist/ui/Link/Link.stories.d.ts +1 -1
  219. package/dist/ui/Link/Link.styles.d.ts +1 -1
  220. package/dist/ui/ListItem/ListItem.stories.d.ts +6 -6
  221. package/dist/ui/ListItem/ListItem.styles.d.ts +6 -6
  222. package/dist/ui/LucideIcon/LucideIcon.stories.d.ts.map +1 -1
  223. package/dist/ui/LucideIcon/LucideIcon.stories.js +2 -1
  224. package/dist/ui/LucideIcon/LucideIcon.stories.sources.d.ts.map +1 -1
  225. package/dist/ui/LucideIcon/LucideIcon.stories.sources.js +1 -1
  226. package/dist/ui/LucideIcon/catalogueLucide.d.ts +36 -0
  227. package/dist/ui/LucideIcon/catalogueLucide.d.ts.map +1 -1
  228. package/dist/ui/LucideIcon/vendor/lab.js +1 -1
  229. package/dist/ui/LucideIcon/vendor/lucide.d.ts +1936 -1780
  230. package/dist/ui/LucideIcon/vendor/lucide.js +3 -3
  231. package/dist/ui/PageHeader/PageHeader.stories.d.ts +1 -1
  232. package/dist/ui/PageHeader/PageHeader.styles.d.ts +1 -1
  233. package/dist/ui/Popover/Popover.js +1 -1
  234. package/dist/ui/Popover/Popover.stories.d.ts +6 -6
  235. package/dist/ui/Popover/Popover.styles.d.ts +6 -6
  236. package/dist/ui/PriceInput/PriceInput.d.ts +2 -3
  237. package/dist/ui/PriceInput/PriceInput.d.ts.map +1 -1
  238. package/dist/ui/PriceInput/PriceInput.js +1 -1
  239. package/dist/ui/PriceInput/PriceInput.stories.d.ts +8 -8
  240. package/dist/ui/PriceInput/PriceInput.stories.js +2 -2
  241. package/dist/ui/PriceInput/PriceInput.stories.sources.d.ts.map +1 -1
  242. package/dist/ui/PriceInput/PriceInput.stories.sources.js +2 -2
  243. package/dist/ui/PriceInput/PriceInput.styles.d.ts +7 -7
  244. package/dist/ui/PriceInput/PriceInput.web.d.ts.map +1 -1
  245. package/dist/ui/PriceInput/PriceInput.web.js +2 -2
  246. package/dist/ui/PriceInput/cadrePrix.d.ts +26 -0
  247. package/dist/ui/PriceInput/cadrePrix.d.ts.map +1 -1
  248. package/dist/ui/PriceInput/largeurDuChamp.d.ts +2 -0
  249. package/dist/ui/PriceInput/largeurDuChamp.d.ts.map +1 -0
  250. package/dist/ui/PriceInput/largeurDuChamp.js +2 -0
  251. package/dist/ui/ProgressBar/ProgressBar.stories.d.ts +7 -7
  252. package/dist/ui/ProgressBar/ProgressBar.styles.d.ts +7 -7
  253. package/dist/ui/RadioGroup/RadioGroup.stories.d.ts +8 -8
  254. package/dist/ui/RadioGroup/RadioGroup.stories.js +2 -2
  255. package/dist/ui/RadioGroup/RadioGroup.stories.sources.d.ts.map +1 -1
  256. package/dist/ui/RadioGroup/RadioGroup.stories.sources.js +2 -2
  257. package/dist/ui/RadioGroup/RadioGroup.styles.d.ts +8 -8
  258. package/dist/ui/RadioGroup/RadioGroup.styles.js +4 -4
  259. package/dist/ui/RadioGroup/RadioGroupCard.js +1 -1
  260. package/dist/ui/RadioGroup/RadioGroupItem.styles.d.ts +1 -1
  261. package/dist/ui/ResourceList/ResourceList.stories.d.ts +2 -2
  262. package/dist/ui/ResourceList/ResourceList.styles.d.ts +2 -2
  263. package/dist/ui/ResourceList/ResourceListDivider.js +1 -1
  264. package/dist/ui/Select/Select.stories.d.ts +8 -8
  265. package/dist/ui/Select/Select.stories.js +11 -11
  266. package/dist/ui/Select/Select.stories.sources.d.ts.map +1 -1
  267. package/dist/ui/Select/Select.stories.sources.js +11 -11
  268. package/dist/ui/Select/Select.styles.d.ts +8 -8
  269. package/dist/ui/Select/SelectBottomSheet.d.ts.map +1 -1
  270. package/dist/ui/Select/SelectBottomSheet.js +3 -3
  271. package/dist/ui/Select/SelectList.styles.d.ts +14 -14
  272. package/dist/ui/Select/SelectList.styles.js +3 -3
  273. package/dist/ui/Select/selectControlStyle.d.ts +130 -2
  274. package/dist/ui/Select/selectControlStyle.d.ts.map +1 -1
  275. package/dist/ui/Select/selectItemStyle.d.ts +5 -5
  276. package/dist/ui/Select/selectTriggerStyle.d.ts +53 -1
  277. package/dist/ui/Select/selectTriggerStyle.d.ts.map +1 -1
  278. package/dist/ui/Sidebar/Sidebar.stories.d.ts +20 -20
  279. package/dist/ui/Sidebar/Sidebar.stories.d.ts.map +1 -1
  280. package/dist/ui/Sidebar/Sidebar.stories.js +1 -1
  281. package/dist/ui/Sidebar/Sidebar.stories.sources.d.ts.map +1 -1
  282. package/dist/ui/Sidebar/Sidebar.stories.sources.js +1 -1
  283. package/dist/ui/Sidebar/Sidebar.styles.d.ts +20 -20
  284. package/dist/ui/Sidebar/Sidebar.styles.js +3 -3
  285. package/dist/ui/Sidebar/SidebarHeader.d.ts.map +1 -1
  286. package/dist/ui/Sidebar/SidebarHeader.js +4 -1
  287. package/dist/ui/Signature/Signature.js +1 -1
  288. package/dist/ui/Signature/Signature.stories.d.ts +2 -2
  289. package/dist/ui/Signature/Signature.styles.d.ts +2 -2
  290. package/dist/ui/Skeleton/Skeleton.js +1 -1
  291. package/dist/ui/Skeleton/Skeleton.stories.d.ts +1 -1
  292. package/dist/ui/Skeleton/Skeleton.stories.d.ts.map +1 -1
  293. package/dist/ui/Skeleton/Skeleton.stories.js +3 -3
  294. package/dist/ui/Skeleton/Skeleton.stories.sources.d.ts.map +1 -1
  295. package/dist/ui/Skeleton/Skeleton.stories.sources.js +3 -3
  296. package/dist/ui/Skeleton/Skeleton.styles.d.ts +1 -1
  297. package/dist/ui/Spinner/Spinner.stories.d.ts +2 -2
  298. package/dist/ui/Spinner/Spinner.stories.js +2 -2
  299. package/dist/ui/Spinner/Spinner.stories.sources.d.ts.map +1 -1
  300. package/dist/ui/Spinner/Spinner.stories.sources.js +2 -2
  301. package/dist/ui/Spinner/Spinner.styles.d.ts +2 -2
  302. package/dist/ui/Spinner/useRotation.d.ts +3 -1
  303. package/dist/ui/Spinner/useRotation.d.ts.map +1 -1
  304. package/dist/ui/Spinner/useSpinner.d.ts +3 -3
  305. package/dist/ui/Switch/Switch.d.ts.map +1 -1
  306. package/dist/ui/Switch/Switch.js +2 -3
  307. package/dist/ui/Switch/Switch.stories.d.ts +9 -9
  308. package/dist/ui/Switch/Switch.stories.js +1 -1
  309. package/dist/ui/Switch/Switch.stories.sources.d.ts.map +1 -1
  310. package/dist/ui/Switch/Switch.stories.sources.js +1 -1
  311. package/dist/ui/Switch/Switch.styles.d.ts +9 -9
  312. package/dist/ui/Tabs/Tabs.stories.d.ts +6 -5
  313. package/dist/ui/Tabs/Tabs.stories.d.ts.map +1 -1
  314. package/dist/ui/Tabs/Tabs.stories.js +3 -1
  315. package/dist/ui/Tabs/Tabs.stories.sources.d.ts +2 -0
  316. package/dist/ui/Tabs/Tabs.stories.sources.d.ts.map +1 -1
  317. package/dist/ui/Tabs/Tabs.stories.sources.js +3 -1
  318. package/dist/ui/Tabs/Tabs.styles.d.ts +5 -5
  319. package/dist/ui/Tag/Tag.stories.d.ts +7 -7
  320. package/dist/ui/Tag/Tag.stories.js +5 -5
  321. package/dist/ui/Tag/Tag.stories.sources.d.ts.map +1 -1
  322. package/dist/ui/Tag/Tag.stories.sources.js +5 -5
  323. package/dist/ui/Tag/Tag.styles.d.ts +7 -7
  324. package/dist/ui/Tag/tagStyling.d.ts +2 -2
  325. package/dist/ui/TextInputArray/TextInputArray.js +1 -1
  326. package/dist/ui/TextareaInput/TextareaInput.d.ts +2 -2
  327. package/dist/ui/TextareaInput/TextareaInput.d.ts.map +1 -1
  328. package/dist/ui/TextareaInput/TextareaInput.stories.d.ts +1 -1
  329. package/dist/ui/TextareaInput/TextareaInput.stories.js +1 -1
  330. package/dist/ui/TextareaInput/TextareaInput.stories.sources.d.ts.map +1 -1
  331. package/dist/ui/TextareaInput/TextareaInput.stories.sources.js +1 -1
  332. package/dist/ui/TimeInput/TimeInput.d.ts +2 -1
  333. package/dist/ui/TimeInput/TimeInput.d.ts.map +1 -1
  334. package/dist/ui/TimeInput/TimeInput.stories.d.ts +1 -1
  335. package/dist/ui/TimeInput/TimeInput.stories.js +2 -2
  336. package/dist/ui/TimeInput/TimeInput.stories.sources.d.ts.map +1 -1
  337. package/dist/ui/TimeInput/TimeInput.stories.sources.js +2 -2
  338. package/dist/ui/Toast/Toast.stories.d.ts +11 -11
  339. package/dist/ui/Toast/Toast.stories.js +2 -2
  340. package/dist/ui/Toast/Toast.stories.sources.d.ts.map +1 -1
  341. package/dist/ui/Toast/Toast.stories.sources.js +2 -2
  342. package/dist/ui/Toast/Toast.styles.d.ts +11 -11
  343. package/dist/ui/ToolbarBottomNav/ToolbarBottomNav.stories.d.ts +5 -53
  344. package/dist/ui/ToolbarBottomNav/ToolbarBottomNav.stories.d.ts.map +1 -1
  345. package/dist/ui/ToolbarBottomNav/ToolbarBottomNav.styles.d.ts +4 -4
  346. package/dist/ui/ToolbarTop/ToolbarTop.stories.d.ts +3 -3
  347. package/dist/ui/ToolbarTop/ToolbarTop.styles.d.ts +3 -3
  348. package/dist/ui/ToolbarTop/toolbarTopStyling.d.ts +4 -4
  349. package/package.json +23 -23
@@ -12,7 +12,59 @@ export type SelectTriggerState = Omit<FieldBorderState, 'focus'> & {
12
12
  * L'etat de bordure vient en dernier : rien ne doit le recouvrir.
13
13
  */
14
14
  export declare const selectTriggerStyle: (styles: SelectStyles, { open, multiple, ...state }: SelectTriggerState) => {
15
+ borderWidth: number;
15
16
  borderColor: string;
17
+ outlineWidth?: number | undefined;
18
+ outlineStyle?: "solid" | undefined;
19
+ outlineColor?: string | undefined;
20
+ outlineOffset?: number | undefined;
21
+ paddingTop?: string | number | undefined;
22
+ paddingBottom?: string | number | undefined;
23
+ display: "flex";
24
+ flexDirection: "row";
25
+ alignItems: "center";
26
+ gap: string | number;
27
+ paddingLeft: number;
28
+ paddingRight: number;
29
+ minHeight: number;
30
+ borderRadius: import("@alveole/theme").Radius;
31
+ borderStyle: "solid";
32
+ backgroundColor: import("@alveole/theme").ThemeColor;
33
+ width: "100%";
34
+ } | {
35
+ borderColor: import("@alveole/theme").ThemeColor;
36
+ paddingTop?: string | number | undefined;
37
+ paddingBottom?: string | number | undefined;
38
+ display: "flex";
39
+ flexDirection: "row";
40
+ alignItems: "center";
41
+ gap: string | number;
42
+ paddingLeft: number;
43
+ paddingRight: number;
44
+ minHeight: number;
45
+ borderRadius: import("@alveole/theme").Radius;
46
+ borderWidth: number;
47
+ borderStyle: "solid";
48
+ backgroundColor: import("@alveole/theme").ThemeColor;
49
+ width: "100%";
50
+ } | {
51
+ borderColor: import("@alveole/theme").ThemeColor;
52
+ paddingTop?: string | number | undefined;
53
+ paddingBottom?: string | number | undefined;
54
+ display: "flex";
55
+ flexDirection: "row";
56
+ alignItems: "center";
57
+ gap: string | number;
58
+ paddingLeft: number;
59
+ paddingRight: number;
60
+ minHeight: number;
61
+ borderRadius: import("@alveole/theme").Radius;
62
+ borderWidth: number;
63
+ borderStyle: "solid";
64
+ backgroundColor: import("@alveole/theme").ThemeColor;
65
+ width: "100%";
66
+ } | {
67
+ borderColor: import("@alveole/theme").ThemeColor;
16
68
  paddingTop?: string | number | undefined;
17
69
  paddingBottom?: string | number | undefined;
18
70
  display: "flex";
@@ -25,7 +77,7 @@ export declare const selectTriggerStyle: (styles: SelectStyles, { open, multiple
25
77
  borderRadius: import("@alveole/theme").Radius;
26
78
  borderWidth: number;
27
79
  borderStyle: "solid";
28
- backgroundColor: string;
80
+ backgroundColor: import("@alveole/theme").ThemeColor;
29
81
  width: "100%";
30
82
  };
31
83
  export {};
@@ -1 +1 @@
1
- {"version":3,"file":"selectTriggerStyle.d.ts","sourceRoot":"","sources":["../../../src/ui/Select/selectTriggerStyle.ts"],"names":[],"mappings":"AAAA,OAAO,EAAoB,KAAK,gBAAgB,EAAE,MAAM,iCAAiC,CAAC;AAC1F,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,iBAAiB,CAAC;AAEjD,KAAK,YAAY,GAAG,UAAU,CAAC,OAAO,SAAS,CAAC,CAAC;AAEjD,iEAAiE;AACjE,MAAM,MAAM,kBAAkB,GAAG,IAAI,CAAC,gBAAgB,EAAE,OAAO,CAAC,GAAG;IAAE,IAAI,EAAE,OAAO,CAAC;IAAC,QAAQ,CAAC,EAAE,OAAO,CAAA;CAAE,CAAC;AAEzG;;;;GAIG;AACH,eAAO,MAAM,kBAAkB,GAAI,QAAQ,YAAY,EAAE,8BAA8B,kBAAkB;;;;;;;;;;;;;;;;CAIvG,CAAC"}
1
+ {"version":3,"file":"selectTriggerStyle.d.ts","sourceRoot":"","sources":["../../../src/ui/Select/selectTriggerStyle.ts"],"names":[],"mappings":"AAAA,OAAO,EAAoB,KAAK,gBAAgB,EAAE,MAAM,iCAAiC,CAAC;AAC1F,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,iBAAiB,CAAC;AAEjD,KAAK,YAAY,GAAG,UAAU,CAAC,OAAO,SAAS,CAAC,CAAC;AAEjD,iEAAiE;AACjE,MAAM,MAAM,kBAAkB,GAAG,IAAI,CAAC,gBAAgB,EAAE,OAAO,CAAC,GAAG;IAAE,IAAI,EAAE,OAAO,CAAC;IAAC,QAAQ,CAAC,EAAE,OAAO,CAAA;CAAE,CAAC;AAEzG;;;;GAIG;AACH,eAAO,MAAM,kBAAkB,GAAI,QAAQ,YAAY,EAAE,8BAA8B,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAIvG,CAAC"}
@@ -17,13 +17,13 @@ declare const _default: {
17
17
  sidebarItemSelectedIndicatorContent: {
18
18
  width: "100%";
19
19
  minHeight: string | number;
20
- backgroundColor: string;
20
+ backgroundColor: import("@alveole/theme").ThemeColor;
21
21
  margin: string;
22
22
  borderRadius: string | number;
23
23
  };
24
24
  sidebarItemTitleSelectedDesktop: {
25
- color: string;
26
- stroke: string;
25
+ color: import("@alveole/theme").ThemeColor;
26
+ stroke: import("@alveole/theme").ThemeColor;
27
27
  fontSize: 14;
28
28
  lineHeight: 20;
29
29
  letterSpacing: 0;
@@ -31,8 +31,8 @@ declare const _default: {
31
31
  fontWeight?: import("react-native").TextStyle["fontWeight"];
32
32
  };
33
33
  sidebarItemTitleSelectedMobile: {
34
- color: string;
35
- stroke: string;
34
+ color: import("@alveole/theme").ThemeColor;
35
+ stroke: import("@alveole/theme").ThemeColor;
36
36
  fontSize: 16;
37
37
  lineHeight: 24;
38
38
  letterSpacing: 0;
@@ -40,8 +40,8 @@ declare const _default: {
40
40
  fontWeight?: import("react-native").TextStyle["fontWeight"];
41
41
  };
42
42
  sidebarItemTitleDesktop: {
43
- color: string;
44
- stroke: string;
43
+ color: import("@alveole/theme").ThemeColor;
44
+ stroke: import("@alveole/theme").ThemeColor;
45
45
  fontSize: 14;
46
46
  lineHeight: 20;
47
47
  letterSpacing: 0;
@@ -49,8 +49,8 @@ declare const _default: {
49
49
  fontWeight?: import("react-native").TextStyle["fontWeight"];
50
50
  };
51
51
  sidebarItemTitleMobile: {
52
- color: string;
53
- stroke: string;
52
+ color: import("@alveole/theme").ThemeColor;
53
+ stroke: import("@alveole/theme").ThemeColor;
54
54
  fontSize: 16;
55
55
  lineHeight: 24;
56
56
  letterSpacing: 0;
@@ -58,7 +58,7 @@ declare const _default: {
58
58
  fontWeight?: import("react-native").TextStyle["fontWeight"];
59
59
  };
60
60
  sidebarItemTitleCurrentHoverMobile: {
61
- color: string;
61
+ color: import("@alveole/theme").ThemeColor;
62
62
  fontSize: 16;
63
63
  lineHeight: 24;
64
64
  letterSpacing: 0;
@@ -66,11 +66,11 @@ declare const _default: {
66
66
  fontWeight?: import("react-native").TextStyle["fontWeight"];
67
67
  };
68
68
  sidebarItemSelectedDesktop: {
69
- backgroundColor: string;
69
+ backgroundColor: import("@alveole/theme").ThemeColor;
70
70
  };
71
71
  sidebarItemSelectedMobile: {
72
72
  borderRadius: import("@alveole/theme").Radius;
73
- backgroundColor: string;
73
+ backgroundColor: import("@alveole/theme").ThemeColor;
74
74
  };
75
75
  sidebarItemContainerDesktop: {
76
76
  paddingLeft: string | number;
@@ -105,8 +105,8 @@ declare const _default: {
105
105
  paddingLeft: string | number;
106
106
  paddingRight: string | number;
107
107
  width: "100%";
108
- color: string;
109
- stroke: string;
108
+ color: import("@alveole/theme").ThemeColor;
109
+ stroke: import("@alveole/theme").ThemeColor;
110
110
  };
111
111
  sidebarItemMobile: {
112
112
  display: "flex";
@@ -118,17 +118,17 @@ declare const _default: {
118
118
  paddingTop: string | number;
119
119
  paddingBottom: string | number;
120
120
  width: "100%";
121
- color: string;
122
- stroke: string;
121
+ color: import("@alveole/theme").ThemeColor;
122
+ stroke: import("@alveole/theme").ThemeColor;
123
123
  };
124
124
  sidebarItemHover: {
125
- backgroundColor: string;
125
+ backgroundColor: import("@alveole/theme").ThemeColor;
126
126
  };
127
127
  groupDesktop: {
128
128
  marginTop: string | number;
129
129
  };
130
130
  groupTitleDesktop: {
131
- color: string;
131
+ color: import("@alveole/theme").ThemeColor;
132
132
  paddingLeft: number;
133
133
  paddingTop: string | number;
134
134
  paddingBottom: string | number;
@@ -139,7 +139,7 @@ declare const _default: {
139
139
  fontWeight?: import("react-native").TextStyle["fontWeight"];
140
140
  };
141
141
  groupTitleMobile: {
142
- color: string;
142
+ color: import("@alveole/theme").ThemeColor;
143
143
  paddingLeft: string | number;
144
144
  paddingRight: string | number;
145
145
  paddingTop: string | number;
@@ -153,7 +153,7 @@ declare const _default: {
153
153
  sidebar: {
154
154
  backgroundColor: "#FFFFFF";
155
155
  borderRightWidth: number;
156
- borderColor: string;
156
+ borderColor: import("@alveole/theme").ThemeColor;
157
157
  display: "flex";
158
158
  flexDirection: "column";
159
159
  alignItems: "flex-start";
@@ -1 +1 @@
1
- {"version":3,"file":"Sidebar.stories.d.ts","sourceRoot":"","sources":["../../../src/ui/Sidebar/Sidebar.stories.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAaA,wBAYkB;AAElB,eAAO,MAAM,YAAY,mCAsBxB,CAAC;AAaF,eAAO,MAAM,kBAAkB,mCA6D9B,CAAC;AAEF,OAAO,KAAK,OAAO,MAAM,2BAA2B,CAAC"}
1
+ {"version":3,"file":"Sidebar.stories.d.ts","sourceRoot":"","sources":["../../../src/ui/Sidebar/Sidebar.stories.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAaA,wBAYkB;AAElB,eAAO,MAAM,YAAY,mCAuBxB,CAAC;AAaF,eAAO,MAAM,kBAAkB,mCA6D9B,CAAC;AAEF,OAAO,KAAK,OAAO,MAAM,2BAA2B,CAAC"}
@@ -23,7 +23,7 @@ export default {
23
23
  };
24
24
  export const ExampleUsage = () => {
25
25
  const controller = useSidebar();
26
- return (_jsxs(Sidebar, { controller: controller, logo: _jsx(Typography, { fontSize: 16, style: { fontWeight: '700' }, children: "Mon Application" }), footer: _jsx(SidebarItem, { pressable: true, leading: "LogOut", title: "Se d\u00E9connecter", onPress: console.log }), children: [_jsx(SidebarItem, { pressable: true, title: "Item 1", onPress: console.log }), _jsx(SidebarItem, { pressable: true, title: "Item 2", counter: 3, onPress: console.log }), _jsxs(SidebarGroup, { title: "Groupe", children: [_jsx(SidebarItem, { pressable: true, title: "Item group 1", onPress: console.log }), _jsx(SidebarItem, { pressable: true, title: "Item group 2", onPress: console.log })] })] }));
26
+ return (_jsxs(Sidebar, { controller: controller, logo: _jsx(Typography, { fontSize: 16, style: { fontWeight: '700' }, children: "Mon Application" }), footer: _jsx(SidebarItem, { pressable: true, leading: "LogOut", title: "Se d\u00E9connecter", onPress: console.log }), children: [_jsx(SidebarItem, { pressable: true, title: "Item 1", onPress: console.log }), _jsx(SidebarItem, { pressable: true, title: "Item 2", counter: 3, onPress: console.log }), _jsx(SidebarItem, { pressable: true, title: "Item 3", counter: 5, counterVariant: "primary", onPress: console.log }), _jsxs(SidebarGroup, { title: "Groupe", children: [_jsx(SidebarItem, { pressable: true, title: "Item group 1", onPress: console.log }), _jsx(SidebarItem, { pressable: true, title: "Item group 2", onPress: console.log })] })] }));
27
27
  };
28
28
  // Faute de logo publie pour Alveole, une forme generee tient lieu de logo.
29
29
  const organisations = [
@@ -1 +1 @@
1
- {"version":3,"file":"Sidebar.stories.sources.d.ts","sourceRoot":"","sources":["../../../src/ui/Sidebar/Sidebar.stories.sources.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,YAAY,cAAiyB,CAAC;AAE3zB,eAAO,MAAM,kBAAkB,cAA2/D,CAAC;AAE3hE,eAAO,MAAM,YAAY;;;CAGf,CAAC;AAEX,MAAM,MAAM,eAAe,GAAG,MAAM,OAAO,YAAY,CAAC"}
1
+ {"version":3,"file":"Sidebar.stories.sources.d.ts","sourceRoot":"","sources":["../../../src/ui/Sidebar/Sidebar.stories.sources.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,YAAY,cAAg5B,CAAC;AAE16B,eAAO,MAAM,kBAAkB,cAA2/D,CAAC;AAE3hE,eAAO,MAAM,YAAY;;;CAGf,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/Sidebar/Sidebar.stories.tsx
3
- export const ExampleUsage = () => "export const ExampleUsage = () => {\n const controller = useSidebar();\n\n return (\n <Sidebar\n controller={controller}\n logo={\n <Typography fontSize={16} style={{ fontWeight: '700' }}>\n Mon Application\n </Typography>\n }\n footer={<SidebarItem pressable leading=\"LogOut\" title=\"Se déconnecter\" onPress={console.log} />}\n >\n <SidebarItem pressable title=\"Item 1\" onPress={console.log} />\n <SidebarItem pressable title=\"Item 2\" counter={3} onPress={console.log} />\n\n <SidebarGroup title=\"Groupe\">\n <SidebarItem pressable title=\"Item group 1\" onPress={console.log} />\n <SidebarItem pressable title=\"Item group 2\" onPress={console.log} />\n </SidebarGroup>\n </Sidebar>\n );\n};";
3
+ export const ExampleUsage = () => "export const ExampleUsage = () => {\n const controller = useSidebar();\n\n return (\n <Sidebar\n controller={controller}\n logo={\n <Typography fontSize={16} style={{ fontWeight: '700' }}>\n Mon Application\n </Typography>\n }\n footer={<SidebarItem pressable leading=\"LogOut\" title=\"Se déconnecter\" onPress={console.log} />}\n >\n <SidebarItem pressable title=\"Item 1\" onPress={console.log} />\n <SidebarItem pressable title=\"Item 2\" counter={3} onPress={console.log} />\n <SidebarItem pressable title=\"Item 3\" counter={5} counterVariant=\"primary\" onPress={console.log} />\n\n <SidebarGroup title=\"Groupe\">\n <SidebarItem pressable title=\"Item group 1\" onPress={console.log} />\n <SidebarItem pressable title=\"Item group 2\" onPress={console.log} />\n </SidebarGroup>\n </Sidebar>\n );\n};";
4
4
  export const AvecHeaderEtFooter = () => "export const AvecHeaderEtFooter = () => {\n const [orga, setOrga] = useState('Alveole');\n\n const logo = (\n <ActionMenu\n placement=\"bottom-start\"\n renderTrigger={() => (\n <Button\n variant=\"tertiary\"\n size=\"md\"\n contentAlign=\"start\"\n title={orga}\n leading={<LogoDOrganisation nom={orga} />}\n trailing=\"ChevronDown\"\n />\n )}\n >\n {organisations.map(({ nom }) => (\n <ActionMenu.Item\n key={nom}\n title={nom}\n leading={<LogoDOrganisation nom={nom} />}\n selected={nom === orga}\n onPress={() => setOrga(nom)}\n />\n ))}\n </ActionMenu>\n );\n\n const footer = (\n <ActionMenu\n placement=\"top-start\"\n renderTrigger={() => (\n <Button\n variant=\"tertiary\"\n size=\"lg\"\n contentAlign=\"start\"\n title=\"Clément Prod'homme\"\n leading={<Avatar size=\"sm\" src=\"https://www.loremfaces.net/96/id/1.jpg\" fallbackText=\"Clément Prod'homme\" />}\n />\n )}\n >\n <ActionMenu.Item title=\"Mon profil\" leading=\"User\" />\n <ActionMenu.Item title=\"Paramètres\" leading=\"Settings\" />\n <ActionMenu.Item title=\"Aide\" leading=\"HelpCircle\" />\n <ActionMenu.Item title=\"Se déconnecter\" leading=\"LogOut\" />\n </ActionMenu>\n );\n\n return (\n <Sidebar logo={logo} footer={footer}>\n <SidebarItem pressable leading=\"LayoutDashboard\" title=\"Tableau de bord\" onPress={console.log} />\n <SidebarItem pressable leading=\"Users\" title=\"Utilisateurs\" onPress={console.log} />\n <SidebarItem pressable leading=\"FileText\" title=\"Rapports\" onPress={console.log} />\n\n <SidebarDivider />\n\n <SidebarItem pressable leading=\"Settings\" title=\"Configuration\" onPress={console.log} />\n <SidebarItem pressable leading=\"Bell\" title=\"Notifications\" onPress={console.log} />\n </Sidebar>\n );\n};";
5
5
  export const storySources = {
6
6
  ExampleUsage,
@@ -8,13 +8,13 @@ export declare const useStyles: () => {
8
8
  sidebarItemSelectedIndicatorContent: {
9
9
  width: "100%";
10
10
  minHeight: string | number;
11
- backgroundColor: string;
11
+ backgroundColor: import("@alveole/theme").ThemeColor;
12
12
  margin: string;
13
13
  borderRadius: string | number;
14
14
  };
15
15
  sidebarItemTitleSelectedDesktop: {
16
- color: string;
17
- stroke: string;
16
+ color: import("@alveole/theme").ThemeColor;
17
+ stroke: import("@alveole/theme").ThemeColor;
18
18
  fontSize: 14;
19
19
  lineHeight: 20;
20
20
  letterSpacing: 0;
@@ -22,8 +22,8 @@ export declare const useStyles: () => {
22
22
  fontWeight?: import("react-native").TextStyle["fontWeight"];
23
23
  };
24
24
  sidebarItemTitleSelectedMobile: {
25
- color: string;
26
- stroke: string;
25
+ color: import("@alveole/theme").ThemeColor;
26
+ stroke: import("@alveole/theme").ThemeColor;
27
27
  fontSize: 16;
28
28
  lineHeight: 24;
29
29
  letterSpacing: 0;
@@ -31,8 +31,8 @@ export declare const useStyles: () => {
31
31
  fontWeight?: import("react-native").TextStyle["fontWeight"];
32
32
  };
33
33
  sidebarItemTitleDesktop: {
34
- color: string;
35
- stroke: string;
34
+ color: import("@alveole/theme").ThemeColor;
35
+ stroke: import("@alveole/theme").ThemeColor;
36
36
  fontSize: 14;
37
37
  lineHeight: 20;
38
38
  letterSpacing: 0;
@@ -40,8 +40,8 @@ export declare const useStyles: () => {
40
40
  fontWeight?: import("react-native").TextStyle["fontWeight"];
41
41
  };
42
42
  sidebarItemTitleMobile: {
43
- color: string;
44
- stroke: string;
43
+ color: import("@alveole/theme").ThemeColor;
44
+ stroke: import("@alveole/theme").ThemeColor;
45
45
  fontSize: 16;
46
46
  lineHeight: 24;
47
47
  letterSpacing: 0;
@@ -49,7 +49,7 @@ export declare const useStyles: () => {
49
49
  fontWeight?: import("react-native").TextStyle["fontWeight"];
50
50
  };
51
51
  sidebarItemTitleCurrentHoverMobile: {
52
- color: string;
52
+ color: import("@alveole/theme").ThemeColor;
53
53
  fontSize: 16;
54
54
  lineHeight: 24;
55
55
  letterSpacing: 0;
@@ -57,11 +57,11 @@ export declare const useStyles: () => {
57
57
  fontWeight?: import("react-native").TextStyle["fontWeight"];
58
58
  };
59
59
  sidebarItemSelectedDesktop: {
60
- backgroundColor: string;
60
+ backgroundColor: import("@alveole/theme").ThemeColor;
61
61
  };
62
62
  sidebarItemSelectedMobile: {
63
63
  borderRadius: import("@alveole/theme").Radius;
64
- backgroundColor: string;
64
+ backgroundColor: import("@alveole/theme").ThemeColor;
65
65
  };
66
66
  sidebarItemContainerDesktop: {
67
67
  paddingLeft: string | number;
@@ -96,8 +96,8 @@ export declare const useStyles: () => {
96
96
  paddingLeft: string | number;
97
97
  paddingRight: string | number;
98
98
  width: "100%";
99
- color: string;
100
- stroke: string;
99
+ color: import("@alveole/theme").ThemeColor;
100
+ stroke: import("@alveole/theme").ThemeColor;
101
101
  };
102
102
  sidebarItemMobile: {
103
103
  display: "flex";
@@ -109,17 +109,17 @@ export declare const useStyles: () => {
109
109
  paddingTop: string | number;
110
110
  paddingBottom: string | number;
111
111
  width: "100%";
112
- color: string;
113
- stroke: string;
112
+ color: import("@alveole/theme").ThemeColor;
113
+ stroke: import("@alveole/theme").ThemeColor;
114
114
  };
115
115
  sidebarItemHover: {
116
- backgroundColor: string;
116
+ backgroundColor: import("@alveole/theme").ThemeColor;
117
117
  };
118
118
  groupDesktop: {
119
119
  marginTop: string | number;
120
120
  };
121
121
  groupTitleDesktop: {
122
- color: string;
122
+ color: import("@alveole/theme").ThemeColor;
123
123
  paddingLeft: number;
124
124
  paddingTop: string | number;
125
125
  paddingBottom: string | number;
@@ -130,7 +130,7 @@ export declare const useStyles: () => {
130
130
  fontWeight?: import("react-native").TextStyle["fontWeight"];
131
131
  };
132
132
  groupTitleMobile: {
133
- color: string;
133
+ color: import("@alveole/theme").ThemeColor;
134
134
  paddingLeft: string | number;
135
135
  paddingRight: string | number;
136
136
  paddingTop: string | number;
@@ -144,7 +144,7 @@ export declare const useStyles: () => {
144
144
  sidebar: {
145
145
  backgroundColor: "#FFFFFF";
146
146
  borderRightWidth: number;
147
- borderColor: string;
147
+ borderColor: import("@alveole/theme").ThemeColor;
148
148
  display: "flex";
149
149
  flexDirection: "column";
150
150
  alignItems: "flex-start";
@@ -3,7 +3,7 @@ import { makeStyles } from '@alveole/theme';
3
3
  // aligne au pixel. L'item y arrive par trois retraits emboîtés : la marge de son conteneur,
4
4
  // le padding de ce conteneur, puis celui de la pastille qui porte le texte. Le titre n'en a
5
5
  // qu'un seul, d'où cette somme explicite : sans elle les deux dérivent au premier réglage.
6
- const retraitDuContenu = (spacingValue) => spacingValue('075') + spacingValue('050') + spacingValue('050');
6
+ const retraitDuContenu = (spacingValue) => spacingValue('3V') + spacingValue('1W') + spacingValue('1W');
7
7
  const coque = ({ color, spacing, spacingValue, isVariant }) => ({
8
8
  sidebar: {
9
9
  backgroundColor: '#FFFFFF',
@@ -18,7 +18,7 @@ const coque = ({ color, spacing, spacingValue, isVariant }) => ({
18
18
  headerContent: {
19
19
  display: 'flex',
20
20
  flexDirection: 'row',
21
- padding: spacingValue('050'),
21
+ padding: spacingValue('1W'),
22
22
  },
23
23
  logo: {
24
24
  marginLeft: isVariant('mobile') || isVariant('tablet') ? spacing('3W') : 0,
@@ -166,7 +166,7 @@ const titreDeLItem = ({ text, color }) => ({
166
166
  const indicateur = ({ color, spacing, spacingValue }) => ({
167
167
  sidebarItemSelectedIndicator: {
168
168
  height: '100%',
169
- width: spacingValue('025'),
169
+ width: spacingValue('1V'),
170
170
  position: 'absolute',
171
171
  left: 0,
172
172
  },
@@ -1 +1 @@
1
- {"version":3,"file":"SidebarHeader.d.ts","sourceRoot":"","sources":["../../../src/ui/Sidebar/SidebarHeader.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,MAAM,OAAO,CAAC;AAO1B,OAAO,EAAE,iBAAiB,EAAE,MAAM,cAAc,CAAC;AAEjD,MAAM,MAAM,kBAAkB,GAAG;IAC/B,UAAU,CAAC,EAAE,iBAAiB,CAAC;IAC/B,IAAI,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;CACxB,CAAC;AA0CF,eAAO,MAAM,aAAa,GAAI,OAAO,kBAAkB,sBAKtD,CAAC"}
1
+ {"version":3,"file":"SidebarHeader.d.ts","sourceRoot":"","sources":["../../../src/ui/Sidebar/SidebarHeader.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,MAAM,OAAO,CAAC;AAO1B,OAAO,EAAE,iBAAiB,EAAE,MAAM,cAAc,CAAC;AAEjD,MAAM,MAAM,kBAAkB,GAAG;IAC/B,UAAU,CAAC,EAAE,iBAAiB,CAAC;IAC/B,IAAI,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;CACxB,CAAC;AA+CF,eAAO,MAAM,aAAa,GAAI,OAAO,kBAAkB,sBAKtD,CAAC"}
@@ -20,7 +20,10 @@ const SidebarHeaderMobile = (props) => {
20
20
  const { controller } = props;
21
21
  const styles = useStyles();
22
22
  const { top } = useSafeAreaInsets();
23
- return (_jsxs(Box, { tag: "sidebar-header", style: styles.header, children: [_jsxs(Box, { style: styles.headerContent, pt: (Platform.OS === 'android' ? top : 0) + styles.headerContent.padding, children: [_jsx(Box, { flex: 1 }), _jsx(ButtonIcon, { icon: "X", variant: "tertiary", accessibilityLabel: "Fermer le menu", onPress: () => controller?.setOpen(false) })] }), _jsx(Divider, {})] }));
23
+ return (_jsxs(Box, { tag: "sidebar-header", style: styles.header, children: [_jsxs(Box, { style: [
24
+ styles.headerContent,
25
+ { paddingTop: (Platform.OS === 'android' ? top : 0) + styles.headerContent.padding },
26
+ ], children: [_jsx(Box, { flex: 1 }), _jsx(ButtonIcon, { icon: "X", variant: "tertiary", accessibilityLabel: "Fermer le menu", onPress: () => controller?.setOpen(false) })] }), _jsx(Divider, {})] }));
24
27
  };
25
28
  export const SidebarHeader = (props) => {
26
29
  const { isVariant } = useTheme();
@@ -53,7 +53,7 @@ export const Signature = (props) => {
53
53
  const styles = useStyles();
54
54
  const ref = React.useRef(null);
55
55
  const { handleOk, handleEnd, handleClear } = useLectureDifferee(ref, onChange);
56
- const webviewHeightWithBorders = height + spacingValue('200') + spacingValue('100') + 3;
56
+ const webviewHeightWithBorders = height + spacingValue('4W') + spacingValue('2W') + 3;
57
57
  return (_jsxs(Box, { height: webviewHeightWithBorders, width: '100%', children: [_jsx(SignatureHeader, { date: date, dateLabel: dateLabel, clearButtonLabel: clearButtonLabel, onClear: () => ref.current?.clearSignature() }), _jsx(Box, { tag: "signature", height: '100%', onTouchEnd: onEnd, maxH: webviewHeightWithBorders, style: styles.container, children: _jsx(SignatureCanvas, { ref: ref, onOK: handleOk, onEnd: handleEnd, onClear: handleClear, penColor: styles.pen.color, backgroundColor: styles.pen.backgroundColor, dotSize: 3.5, minWidth: 3, maxWidth: 4, onBegin: onBegin, androidHardwareAccelerationDisabled: true, webviewProps: { cacheEnabled: false, androidLayerType: 'software' }, webStyle: feuilleDeStyleCanvas({
58
58
  height,
59
59
  rayon: spacing('3V'),
@@ -12,11 +12,11 @@ declare const _default: {
12
12
  flexDirection: "column";
13
13
  };
14
14
  pen: {
15
- color: string;
15
+ color: import("@alveole/theme").ThemeColor;
16
16
  backgroundColor: "#FFFFFF";
17
17
  };
18
18
  signatureWeb: {
19
- borderColor: string;
19
+ borderColor: import("@alveole/theme").ThemeColor;
20
20
  borderWidth: number;
21
21
  borderRadius: import("@alveole/theme").Radius;
22
22
  };
@@ -5,11 +5,11 @@ export declare const useStyles: () => {
5
5
  flexDirection: "column";
6
6
  };
7
7
  pen: {
8
- color: string;
8
+ color: import("@alveole/theme").ThemeColor;
9
9
  backgroundColor: "#FFFFFF";
10
10
  };
11
11
  signatureWeb: {
12
- borderColor: string;
12
+ borderColor: import("@alveole/theme").ThemeColor;
13
13
  borderWidth: number;
14
14
  borderRadius: import("@alveole/theme").Radius;
15
15
  };
@@ -5,7 +5,7 @@ import { Box } from '../../core/Box';
5
5
  import { useStyles } from './Skeleton.styles';
6
6
  const PULSE_DURATION = 700;
7
7
  export const Skeleton = (props) => {
8
- const { width = '100%', height = 16, borderRadius = 4, style, ...rest } = props;
8
+ const { width = '100%', height = 16, borderRadius = 'sm', style, ...rest } = props;
9
9
  const styles = useStyles();
10
10
  const [opacity] = React.useState(() => new Animated.Value(0.5));
11
11
  React.useEffect(() => {
@@ -16,7 +16,7 @@ declare const _default: {
16
16
  right: number;
17
17
  bottom: number;
18
18
  left: number;
19
- backgroundColor: string;
19
+ backgroundColor: import("@alveole/theme").ThemeColor;
20
20
  };
21
21
  };
22
22
  };
@@ -1 +1 @@
1
- {"version":3,"file":"Skeleton.stories.d.ts","sourceRoot":"","sources":["../../../src/ui/Skeleton/Skeleton.stories.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;AAKA,wBAakB;AAElB,eAAO,MAAM,KAAK,mCAAiC,CAAC;AAEpD,eAAO,MAAM,KAAK,mCAA4C,CAAC;AAE/D,eAAO,MAAM,IAAI,mCAA8D,CAAC;AAEhF,eAAO,MAAM,SAAS,mCAAmD,CAAC;AAE1E;;GAEG;AACH,eAAO,MAAM,UAAU,mCAOtB,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,cAAc,mCAY1B,CAAC;AAEF,OAAO,KAAK,OAAO,MAAM,4BAA4B,CAAC"}
1
+ {"version":3,"file":"Skeleton.stories.d.ts","sourceRoot":"","sources":["../../../src/ui/Skeleton/Skeleton.stories.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;AAKA,wBAakB;AAElB,eAAO,MAAM,KAAK,mCAAiC,CAAC;AAEpD,eAAO,MAAM,KAAK,mCAA4C,CAAC;AAE/D,eAAO,MAAM,IAAI,mCAAgE,CAAC;AAElF,eAAO,MAAM,SAAS,mCAAoD,CAAC;AAE3E;;GAEG;AACH,eAAO,MAAM,UAAU,mCAOtB,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,cAAc,mCAY1B,CAAC;AAEF,OAAO,KAAK,OAAO,MAAM,4BAA4B,CAAC"}
@@ -18,8 +18,8 @@ La forme se règle avec \`width\` (\`100%\` par défaut), \`height\` (16 px par
18
18
  };
19
19
  export const Ligne = () => _jsx(Skeleton, { width: "60%" });
20
20
  export const Carre = () => _jsx(Skeleton, { width: 64, height: 64 });
21
- export const Rond = () => _jsx(Skeleton, { width: 48, height: 48, borderRadius: 24 });
22
- export const Rectangle = () => _jsx(Skeleton, { height: 160, borderRadius: 8 });
21
+ export const Rond = () => _jsx(Skeleton, { width: 48, height: 48, borderRadius: "full" });
22
+ export const Rectangle = () => _jsx(Skeleton, { height: 160, borderRadius: "md" });
23
23
  /**
24
24
  * Des lignes de largeurs décroissantes imitent un paragraphe de texte.
25
25
  */
@@ -27,5 +27,5 @@ export const Paragraphe = () => (_jsxs(Box, { display: "flex", flexDirection: "c
27
27
  /**
28
28
  * Les formes se composent pour préfigurer un élément de liste : un avatar rond, un titre et un sous-titre.
29
29
  */
30
- export const ElementDeListe = () => (_jsx(Box, { display: "flex", flexDirection: "column", gap: "2W", width: "100%", children: [0, 1, 2].map(i => (_jsxs(Box, { display: "flex", flexDirection: "row", gap: "1W", style: { alignItems: 'center' }, children: [_jsx(Skeleton, { width: 40, height: 40, borderRadius: 20 }), _jsxs(Box, { display: "flex", flexDirection: "column", gap: "1V", flex: 1, children: [_jsx(Skeleton, { width: "40%", height: 18 }), _jsx(Skeleton, { width: "65%", height: 14 })] })] }, i))) }));
30
+ export const ElementDeListe = () => (_jsx(Box, { display: "flex", flexDirection: "column", gap: "2W", width: "100%", children: [0, 1, 2].map(i => (_jsxs(Box, { display: "flex", flexDirection: "row", gap: "1W", style: { alignItems: 'center' }, children: [_jsx(Skeleton, { width: 40, height: 40, borderRadius: "full" }), _jsxs(Box, { display: "flex", flexDirection: "column", gap: "1V", flex: 1, children: [_jsx(Skeleton, { width: "40%", height: 18 }), _jsx(Skeleton, { width: "65%", height: 14 })] })] }, i))) }));
31
31
  export * as Sources from './Skeleton.stories.sources';
@@ -1 +1 @@
1
- {"version":3,"file":"Skeleton.stories.sources.d.ts","sourceRoot":"","sources":["../../../src/ui/Skeleton/Skeleton.stories.sources.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,KAAK,cAAiE,CAAC;AAEpF,eAAO,MAAM,KAAK,cAA0E,CAAC;AAE7F,eAAO,MAAM,IAAI,cAA2F,CAAC;AAE7G,eAAO,MAAM,SAAS,cAAqF,CAAC;AAE5G,eAAO,MAAM,UAAU,cAAqQ,CAAC;AAE7R,eAAO,MAAM,cAAc,cAAqiB,CAAC;AAEjkB,eAAO,MAAM,YAAY;;;;;;;CAOf,CAAC;AAEX,MAAM,MAAM,eAAe,GAAG,MAAM,OAAO,YAAY,CAAC;AAExD,eAAO,MAAM,iBAAiB,EAAE,OAAO,CAAC,MAAM,CAAC,eAAe,EAAE,MAAM,CAAC,CAGtE,CAAC"}
1
+ {"version":3,"file":"Skeleton.stories.sources.d.ts","sourceRoot":"","sources":["../../../src/ui/Skeleton/Skeleton.stories.sources.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,KAAK,cAAiE,CAAC;AAEpF,eAAO,MAAM,KAAK,cAA0E,CAAC;AAE7F,eAAO,MAAM,IAAI,cAA+F,CAAC;AAEjH,eAAO,MAAM,SAAS,cAAwF,CAAC;AAE/G,eAAO,MAAM,UAAU,cAAqQ,CAAC;AAE7R,eAAO,MAAM,cAAc,cAAyiB,CAAC;AAErkB,eAAO,MAAM,YAAY;;;;;;;CAOf,CAAC;AAEX,MAAM,MAAM,eAAe,GAAG,MAAM,OAAO,YAAY,CAAC;AAExD,eAAO,MAAM,iBAAiB,EAAE,OAAO,CAAC,MAAM,CAAC,eAAe,EAAE,MAAM,CAAC,CAGtE,CAAC"}
@@ -2,10 +2,10 @@
2
2
  // Source: src/ui/Skeleton/Skeleton.stories.tsx
3
3
  export const Ligne = () => "export const Ligne = () => <Skeleton width=\"60%\" />;";
4
4
  export const Carre = () => "export const Carre = () => <Skeleton width={64} height={64} />;";
5
- export const Rond = () => "export const Rond = () => <Skeleton width={48} height={48} borderRadius={24} />;";
6
- export const Rectangle = () => "export const Rectangle = () => <Skeleton height={160} borderRadius={8} />;";
5
+ export const Rond = () => "export const Rond = () => <Skeleton width={48} height={48} borderRadius=\"full\" />;";
6
+ export const Rectangle = () => "export const Rectangle = () => <Skeleton height={160} borderRadius=\"md\" />;";
7
7
  export const Paragraphe = () => "export const Paragraphe = () => (\n <Box display=\"flex\" flexDirection=\"column\" gap=\"1V\" width=\"100%\">\n <Skeleton width=\"40%\" height={20} />\n <Skeleton />\n <Skeleton width=\"90%\" />\n <Skeleton width=\"65%\" />\n </Box>\n);";
8
- export const ElementDeListe = () => "export const ElementDeListe = () => (\n <Box display=\"flex\" flexDirection=\"column\" gap=\"2W\" width=\"100%\">\n {[0, 1, 2].map(i => (\n <Box key={i} display=\"flex\" flexDirection=\"row\" gap=\"1W\" style={{ alignItems: 'center' }}>\n <Skeleton width={40} height={40} borderRadius={20} />\n <Box display=\"flex\" flexDirection=\"column\" gap=\"1V\" flex={1}>\n <Skeleton width=\"40%\" height={18} />\n <Skeleton width=\"65%\" height={14} />\n </Box>\n </Box>\n ))}\n </Box>\n);";
8
+ export const ElementDeListe = () => "export const ElementDeListe = () => (\n <Box display=\"flex\" flexDirection=\"column\" gap=\"2W\" width=\"100%\">\n {[0, 1, 2].map(i => (\n <Box key={i} display=\"flex\" flexDirection=\"row\" gap=\"1W\" style={{ alignItems: 'center' }}>\n <Skeleton width={40} height={40} borderRadius=\"full\" />\n <Box display=\"flex\" flexDirection=\"column\" gap=\"1V\" flex={1}>\n <Skeleton width=\"40%\" height={18} />\n <Skeleton width=\"65%\" height={14} />\n </Box>\n </Box>\n ))}\n </Box>\n);";
9
9
  export const storySources = {
10
10
  Ligne,
11
11
  Carre,
@@ -9,7 +9,7 @@ export declare const useStyles: () => {
9
9
  right: number;
10
10
  bottom: number;
11
11
  left: number;
12
- backgroundColor: string;
12
+ backgroundColor: import("@alveole/theme").ThemeColor;
13
13
  };
14
14
  };
15
15
  //# sourceMappingURL=Skeleton.styles.d.ts.map
@@ -7,10 +7,10 @@ declare const _default: {
7
7
  component: ({ style, ...props }: import("./Spinner.shared").SpinnerProps) => import("react").JSX.Element | null;
8
8
  styleFn: () => {
9
9
  track: {
10
- color: string;
10
+ color: import("@alveole/theme").ThemeColor;
11
11
  };
12
12
  arc: {
13
- color: string;
13
+ color: import("@alveole/theme").ThemeColor;
14
14
  };
15
15
  };
16
16
  };
@@ -20,7 +20,7 @@ La prop \`delay\` permet de retarder l'apparition du spinner pour éviter un fla
20
20
  component: Spinner,
21
21
  styleFn: useStyles,
22
22
  };
23
- export const Sizes = () => (_jsxs(Box, { display: "flex", flexDirection: "row", style: { alignItems: 'center' }, gap: 16, children: [_jsx(Spinner, { size: "sm" }), _jsx(Spinner, { size: "md" }), _jsx(Spinner, { size: "lg" })] }));
23
+ export const Sizes = () => (_jsxs(Box, { display: "flex", flexDirection: "row", style: { alignItems: 'center' }, gap: "2W", children: [_jsx(Spinner, { size: "sm" }), _jsx(Spinner, { size: "md" }), _jsx(Spinner, { size: "lg" })] }));
24
24
  /**
25
25
  * `delay` retarde l'apparition du spinner pour éviter un flash sur les opérations rapides :
26
26
  * rien ne s'affiche avant que le délai ne soit écoulé. `'short'` attend 300 ms, `'long'`
@@ -28,5 +28,5 @@ export const Sizes = () => (_jsxs(Box, { display: "flex", flexDirection: "row",
28
28
  * millisecondes. C'est cette même prop que `Button` expose sous le nom `loadingDelay`, pour
29
29
  * régler le retard de son propre spinner pendant `isLoading`.
30
30
  */
31
- export const WithDelay = () => (_jsxs(Box, { display: "flex", flexDirection: "row", style: { alignItems: 'center' }, gap: 16, children: [_jsx(Spinner, { size: "md", delay: "short" }, "short"), _jsx(Spinner, { size: "md", delay: "long" }, "long")] }));
31
+ export const WithDelay = () => (_jsxs(Box, { display: "flex", flexDirection: "row", style: { alignItems: 'center' }, gap: "2W", children: [_jsx(Spinner, { size: "md", delay: "short" }, "short"), _jsx(Spinner, { size: "md", delay: "long" }, "long")] }));
32
32
  export * as Sources from './Spinner.stories.sources';
@@ -1 +1 @@
1
- {"version":3,"file":"Spinner.stories.sources.d.ts","sourceRoot":"","sources":["../../../src/ui/Spinner/Spinner.stories.sources.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,KAAK,cAAsO,CAAC;AAEzP,eAAO,MAAM,SAAS,cAAuQ,CAAC;AAE9R,eAAO,MAAM,YAAY;;;CAGf,CAAC;AAEX,MAAM,MAAM,eAAe,GAAG,MAAM,OAAO,YAAY,CAAC;AAExD,eAAO,MAAM,iBAAiB,EAAE,OAAO,CAAC,MAAM,CAAC,eAAe,EAAE,MAAM,CAAC,CAEtE,CAAC"}
1
+ {"version":3,"file":"Spinner.stories.sources.d.ts","sourceRoot":"","sources":["../../../src/ui/Spinner/Spinner.stories.sources.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,KAAK,cAAwO,CAAC;AAE3P,eAAO,MAAM,SAAS,cAAyQ,CAAC;AAEhS,eAAO,MAAM,YAAY;;;CAGf,CAAC;AAEX,MAAM,MAAM,eAAe,GAAG,MAAM,OAAO,YAAY,CAAC;AAExD,eAAO,MAAM,iBAAiB,EAAE,OAAO,CAAC,MAAM,CAAC,eAAe,EAAE,MAAM,CAAC,CAEtE,CAAC"}
@@ -1,7 +1,7 @@
1
1
  // This file is generated. Do not edit manually.
2
2
  // Source: src/ui/Spinner/Spinner.stories.tsx
3
- export const Sizes = () => "export const Sizes = () => (\n <Box display=\"flex\" flexDirection=\"row\" style={{ alignItems: 'center' }} gap={16}>\n <Spinner size=\"sm\" />\n <Spinner size=\"md\" />\n <Spinner size=\"lg\" />\n </Box>\n);";
4
- export const WithDelay = () => "export const WithDelay = () => (\n <Box display=\"flex\" flexDirection=\"row\" style={{ alignItems: 'center' }} gap={16}>\n <Spinner size=\"md\" delay=\"short\" key=\"short\" />\n <Spinner size=\"md\" delay=\"long\" key=\"long\" />\n </Box>\n);";
3
+ export const Sizes = () => "export const Sizes = () => (\n <Box display=\"flex\" flexDirection=\"row\" style={{ alignItems: 'center' }} gap=\"2W\">\n <Spinner size=\"sm\" />\n <Spinner size=\"md\" />\n <Spinner size=\"lg\" />\n </Box>\n);";
4
+ export const WithDelay = () => "export const WithDelay = () => (\n <Box display=\"flex\" flexDirection=\"row\" style={{ alignItems: 'center' }} gap=\"2W\">\n <Spinner size=\"md\" delay=\"short\" key=\"short\" />\n <Spinner size=\"md\" delay=\"long\" key=\"long\" />\n </Box>\n);";
5
5
  export const storySources = {
6
6
  Sizes,
7
7
  WithDelay,
@@ -1,9 +1,9 @@
1
1
  export declare const useStyles: () => {
2
2
  track: {
3
- color: string;
3
+ color: import("@alveole/theme").ThemeColor;
4
4
  };
5
5
  arc: {
6
- color: string;
6
+ color: import("@alveole/theme").ThemeColor;
7
7
  };
8
8
  };
9
9
  //# sourceMappingURL=Spinner.styles.d.ts.map
@@ -1,8 +1,10 @@
1
1
  import { Animated } from 'react-native';
2
+ export interface Rotation extends Animated.AnimatedInterpolation<string> {
3
+ }
2
4
  /**
3
5
  * L'angle d'un spinner qui tourne sans fin, un tour toutes les 800 ms.
4
6
  *
5
7
  * Seul le pilote differe : le natif tourne hors du fil JavaScript, le navigateur n'en a pas.
6
8
  */
7
- export declare const useRotation: (useNativeDriver: boolean) => Animated.AnimatedInterpolation<string | number>;
9
+ export declare const useRotation: (useNativeDriver: boolean) => Rotation;
8
10
  //# sourceMappingURL=useRotation.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"useRotation.d.ts","sourceRoot":"","sources":["../../../src/ui/Spinner/useRotation.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,QAAQ,EAAU,MAAM,cAAc,CAAC;AAEhD;;;;GAIG;AACH,eAAO,MAAM,WAAW,GAAI,iBAAiB,OAAO,oDAYnD,CAAC"}
1
+ {"version":3,"file":"useRotation.d.ts","sourceRoot":"","sources":["../../../src/ui/Spinner/useRotation.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,QAAQ,EAAU,MAAM,cAAc,CAAC;AAIhD,MAAM,WAAW,QAAS,SAAQ,QAAQ,CAAC,qBAAqB,CAAC,MAAM,CAAC;CAAG;AAE3E;;;;GAIG;AACH,eAAO,MAAM,WAAW,GAAI,iBAAiB,OAAO,KAAG,QAYtD,CAAC"}
@@ -6,13 +6,13 @@ import { SpinnerProps } from './Spinner.shared';
6
6
  export declare const useSpinner: ({ size, delay }: SpinnerProps, useNativeDriver: boolean) => {
7
7
  styles: {
8
8
  track: {
9
- color: string;
9
+ color: import("@alveole/theme").ThemeColor;
10
10
  };
11
11
  arc: {
12
- color: string;
12
+ color: import("@alveole/theme").ThemeColor;
13
13
  };
14
14
  };
15
- spin: import("react-native").Animated.AnimatedInterpolation<string | number>;
15
+ spin: import("./useRotation").Rotation;
16
16
  visible: boolean;
17
17
  px: number;
18
18
  strokeWidth: number;