@ledgerhq/react-ui 0.53.0 → 0.53.1-nightly.20260902021544

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 (294) hide show
  1. package/README.md +3 -6
  2. package/lib/assets/logos/LedgerLiveAltRegular.d.ts.map +1 -1
  3. package/lib/assets/logos/LedgerLiveRegular.d.ts.map +1 -1
  4. package/lib/cjs/components/animations/GlitchText/index.js +16 -42
  5. package/lib/cjs/components/animations/GlitchText/index.js.map +1 -1
  6. package/lib/cjs/components/form/Radio/RadioElement.js +2 -2
  7. package/lib/cjs/components/form/Radio/RadioElement.js.map +1 -1
  8. package/lib/cjs/components/form/Radio/RadioListElement.js +2 -2
  9. package/lib/cjs/components/form/Radio/RadioListElement.js.map +1 -1
  10. package/lib/cjs/components/form/Radio/index.js +2 -2
  11. package/lib/cjs/components/form/Radio/index.js.map +1 -1
  12. package/lib/cjs/components/form/index.js +2 -2
  13. package/lib/cjs/components/form/index.js.map +1 -1
  14. package/lib/cjs/components/index.js +2 -2
  15. package/lib/cjs/components/index.js.map +1 -1
  16. package/lib/cjs/components/layout/Carousel/Footer/Pagination/bullets.js.map +1 -1
  17. package/lib/cjs/components/layout/Carousel/Footer/Pagination/index.js.map +1 -1
  18. package/lib/cjs/components/layout/Carousel/Footer/Pagination/types.js.map +1 -1
  19. package/lib/cjs/components/layout/Carousel/Footer/Pagination/utils.js.map +1 -1
  20. package/lib/cjs/components/layout/Carousel/Footer/index.js.map +1 -1
  21. package/lib/cjs/components/layout/Carousel/Footer/variantContentCard.js.map +1 -1
  22. package/lib/cjs/components/layout/Carousel/Footer/variantDefault.js.map +1 -1
  23. package/lib/cjs/components/layout/Carousel/index.js.map +1 -1
  24. package/lib/cjs/components/layout/index.js.map +1 -1
  25. package/lib/cjs/index.js +2 -2
  26. package/lib/cjs/index.js.map +1 -1
  27. package/lib/components/Table/index.d.ts +5 -11
  28. package/lib/components/Table/index.d.ts.map +1 -1
  29. package/lib/components/asorted/Divider/index.d.ts.map +1 -1
  30. package/lib/components/asorted/Icon/BoxedIcon.d.ts.map +1 -1
  31. package/lib/components/asorted/Icon/Icon.d.ts.map +1 -1
  32. package/lib/components/asorted/Text/index.d.ts.map +1 -1
  33. package/lib/components/cta/Button/index.d.ts.map +1 -1
  34. package/lib/components/cta/Link/index.d.ts.map +1 -1
  35. package/lib/components/cta/Toggle/index.d.ts.map +1 -1
  36. package/lib/components/form/BaseInput/index.d.ts +2 -2
  37. package/lib/components/form/BaseInput/index.d.ts.map +1 -1
  38. package/lib/components/form/Checkbox/Checkbox.d.ts.map +1 -1
  39. package/lib/components/form/LegendInput/index.d.ts +2 -2
  40. package/lib/components/form/LegendInput/index.d.ts.map +1 -1
  41. package/lib/components/form/NumberInput/index.d.ts +2 -2
  42. package/lib/components/form/NumberInput/index.d.ts.map +1 -1
  43. package/lib/components/form/QrCodeInput/index.d.ts +2 -2
  44. package/lib/components/form/QrCodeInput/index.d.ts.map +1 -1
  45. package/lib/components/form/QuantityInput/index.d.ts +2 -2
  46. package/lib/components/form/QuantityInput/index.d.ts.map +1 -1
  47. package/lib/components/form/Radio/RadioElement.d.ts +6 -5
  48. package/lib/components/form/Radio/RadioElement.d.ts.map +1 -1
  49. package/lib/components/form/Radio/RadioElement.js +1 -1
  50. package/lib/components/form/Radio/RadioElement.js.map +1 -1
  51. package/lib/components/form/Radio/RadioListElement.d.ts +5 -5
  52. package/lib/components/form/Radio/RadioListElement.d.ts.map +1 -1
  53. package/lib/components/form/Radio/RadioListElement.js +1 -1
  54. package/lib/components/form/Radio/RadioListElement.js.map +1 -1
  55. package/lib/components/form/Radio/index.d.ts +7 -16
  56. package/lib/components/form/Radio/index.d.ts.map +1 -1
  57. package/lib/components/form/SearchInput/index.d.ts +2 -2
  58. package/lib/components/form/SearchInput/index.d.ts.map +1 -1
  59. package/lib/components/form/SelectInput/index.d.ts.map +1 -1
  60. package/lib/components/form/Switch/Switch.d.ts.map +1 -1
  61. package/lib/components/layout/Box/index.d.ts.map +1 -1
  62. package/lib/components/layout/Carousel/Footer/Pagination/bullets.d.ts.map +1 -1
  63. package/lib/components/layout/Carousel/Footer/Pagination/index.d.ts.map +1 -1
  64. package/lib/components/layout/Carousel/Footer/Pagination/types.d.ts +4 -4
  65. package/lib/components/layout/Carousel/Footer/Pagination/types.d.ts.map +1 -1
  66. package/lib/components/layout/Carousel/Footer/Pagination/types.js.map +1 -1
  67. package/lib/components/layout/Carousel/Footer/Pagination/utils.d.ts.map +1 -1
  68. package/lib/components/layout/Carousel/Footer/index.d.ts.map +1 -1
  69. package/lib/components/layout/Carousel/Footer/variantContentCard.d.ts.map +1 -1
  70. package/lib/components/layout/Carousel/Footer/variantDefault.d.ts.map +1 -1
  71. package/lib/components/layout/Carousel/index.d.ts.map +1 -1
  72. package/lib/components/layout/Drawer/index.d.ts.map +1 -1
  73. package/lib/components/layout/Flex/index.d.ts +1 -1
  74. package/lib/components/layout/Flex/index.d.ts.map +1 -1
  75. package/lib/components/layout/Grid/index.d.ts.map +1 -1
  76. package/lib/components/layout/List/VerticalTimeline/TimelineIndicator.d.ts +0 -3
  77. package/lib/components/layout/List/VerticalTimeline/TimelineIndicator.d.ts.map +1 -1
  78. package/lib/components/layout/List/VerticalTimeline/TimelineItem.d.ts.map +1 -1
  79. package/lib/components/layout/List/VerticalTimeline/index.d.ts.map +1 -1
  80. package/lib/components/layout/Popin/index.d.ts +26 -23
  81. package/lib/components/layout/Popin/index.d.ts.map +1 -1
  82. package/lib/components/layout/Side/Provider.d.ts.map +1 -1
  83. package/lib/components/layout/Side/index.d.ts.map +1 -1
  84. package/lib/components/message/Alert/index.d.ts +12 -10
  85. package/lib/components/message/Alert/index.d.ts.map +1 -1
  86. package/lib/components/message/ContinueOnDevice/index.d.ts.map +1 -1
  87. package/lib/components/message/Log/index.d.ts.map +1 -1
  88. package/lib/components/message/Notification/index.d.ts.map +1 -1
  89. package/lib/components/message/StatusNotification/index.d.ts.map +1 -1
  90. package/lib/components/message/Tooltip/styles.d.ts.map +1 -1
  91. package/lib/components/navigation/Aside/index.d.ts +1 -1
  92. package/lib/components/navigation/Breadcrumb/index.d.ts.map +1 -1
  93. package/lib/components/navigation/FlowStepper/index.d.ts +3 -6
  94. package/lib/components/navigation/FlowStepper/index.d.ts.map +1 -1
  95. package/lib/components/navigation/progress/ProgressBar/Onboarding.d.ts.map +1 -1
  96. package/lib/components/navigation/progress/Stepper/index.d.ts.map +1 -1
  97. package/lib/components/navigation/sideBar/Item/Item.d.ts.map +1 -1
  98. package/lib/components/navigation/sideBar/Logo/Logo.d.ts.map +1 -1
  99. package/lib/components/navigation/sideBar/SideBar/SideBar.d.ts +5 -4
  100. package/lib/components/navigation/sideBar/SideBar/SideBar.d.ts.map +1 -1
  101. package/lib/components/navigation/sideBar/Toggle/Toggle.d.ts.map +1 -1
  102. package/lib/components/navigation/sideBar/index.d.ts.map +1 -1
  103. package/lib/components/styled.d.ts.map +1 -1
  104. package/lib/components/transitions/TransitionInOut.d.ts.map +1 -1
  105. package/lib/components/transitions/TransitionScale.d.ts.map +1 -1
  106. package/lib/components/transitions/TransitionSlide.d.ts.map +1 -1
  107. package/lib/helpers.d.ts.map +1 -1
  108. package/lib/pre-ldls/components/AccountItem/AccountItem.d.ts.map +1 -1
  109. package/lib/pre-ldls/components/AccountList/AccountList.d.ts.map +1 -1
  110. package/lib/pre-ldls/components/Address/Address.d.ts.map +1 -1
  111. package/lib/pre-ldls/components/Address/formatAddress.d.ts.map +1 -1
  112. package/lib/pre-ldls/components/Address/formatAddress.js.map +1 -1
  113. package/lib/pre-ldls/components/CardButton/CardButton.d.ts.map +1 -1
  114. package/lib/pre-ldls/components/Checkbox/Checkbox.d.ts.map +1 -1
  115. package/lib/pre-ldls/components/Tag/Tag.d.ts.map +1 -1
  116. package/lib/pre-ldls/components/Tag/Tag.js +1 -1
  117. package/lib/pre-ldls/components/Tag/Tag.js.map +1 -1
  118. package/lib/pre-ldls/components/VirtualList/VirtualList.d.ts.map +1 -1
  119. package/lib/pre-ldls/libs/design-tokens.d.ts.map +1 -1
  120. package/lib/pre-ldls/libs/index.d.ts.map +1 -1
  121. package/lib/styles/InvertTheme.d.ts.map +1 -1
  122. package/lib/styles/StyleProvider.d.ts.map +1 -1
  123. package/lib/styles/helpers.d.ts.map +1 -1
  124. package/lib/styles/styled/fontFamily.d.ts +3 -3
  125. package/lib/styles/styled/fontFamily.d.ts.map +1 -1
  126. package/lib/styles/system/gaps.d.ts.map +1 -1
  127. package/lib/styles/theme.d.ts.map +1 -1
  128. package/package.json +14 -24
  129. package/lib/cjs/components/Table/Table.stories.js +0 -1985
  130. package/lib/cjs/components/Table/Table.stories.js.map +0 -1
  131. package/lib/cjs/components/Table/stories.helper.js +0 -1188
  132. package/lib/cjs/components/Table/stories.helper.js.map +0 -1
  133. package/lib/cjs/components/Tag/Tag.stories.js +0 -918
  134. package/lib/cjs/components/Tag/Tag.stories.js.map +0 -1
  135. package/lib/cjs/components/animations/GlitchText/GlitchText.stories.js +0 -905
  136. package/lib/cjs/components/animations/GlitchText/GlitchText.stories.js.map +0 -1
  137. package/lib/cjs/components/asorted/Divider/Divider.stories.js +0 -794
  138. package/lib/cjs/components/asorted/Divider/Divider.stories.js.map +0 -1
  139. package/lib/cjs/components/asorted/Icon/BoxedIcon.stories.js +0 -393
  140. package/lib/cjs/components/asorted/Icon/BoxedIcon.stories.js.map +0 -1
  141. package/lib/cjs/components/asorted/Icon/Icons.stories.js +0 -789
  142. package/lib/cjs/components/asorted/Icon/Icons.stories.js.map +0 -1
  143. package/lib/cjs/components/asorted/Icon/IconsLegacy.stories.js +0 -1472
  144. package/lib/cjs/components/asorted/Icon/IconsLegacy.stories.js.map +0 -1
  145. package/lib/cjs/components/asorted/Icon/NotificationIcon.stories.js +0 -348
  146. package/lib/cjs/components/asorted/Icon/NotificationIcon.stories.js.map +0 -1
  147. package/lib/cjs/components/asorted/Text/Text.stories.js +0 -836
  148. package/lib/cjs/components/asorted/Text/Text.stories.js.map +0 -1
  149. package/lib/cjs/components/cta/Button/Button.stories.js +0 -1286
  150. package/lib/cjs/components/cta/Button/Button.stories.js.map +0 -1
  151. package/lib/cjs/components/cta/Link/Link.stories.js +0 -911
  152. package/lib/cjs/components/cta/Link/Link.stories.js.map +0 -1
  153. package/lib/cjs/components/cta/Toggle/Toggle.stories.js +0 -873
  154. package/lib/cjs/components/cta/Toggle/Toggle.stories.js.map +0 -1
  155. package/lib/cjs/components/form/BaseInput/Input.stories.js +0 -1310
  156. package/lib/cjs/components/form/BaseInput/Input.stories.js.map +0 -1
  157. package/lib/cjs/components/form/Checkbox/Checkbox.stories.js +0 -909
  158. package/lib/cjs/components/form/Checkbox/Checkbox.stories.js.map +0 -1
  159. package/lib/cjs/components/form/Dropdown/Dropdown.stories.js +0 -1758
  160. package/lib/cjs/components/form/Dropdown/Dropdown.stories.js.map +0 -1
  161. package/lib/cjs/components/form/LegendInput/Input.stories.js +0 -1283
  162. package/lib/cjs/components/form/LegendInput/Input.stories.js.map +0 -1
  163. package/lib/cjs/components/form/NumberInput/Input.stories.js +0 -1341
  164. package/lib/cjs/components/form/NumberInput/Input.stories.js.map +0 -1
  165. package/lib/cjs/components/form/QrCodeInput/Input.stories.js +0 -1305
  166. package/lib/cjs/components/form/QrCodeInput/Input.stories.js.map +0 -1
  167. package/lib/cjs/components/form/QuantityInput/Input.stories.js +0 -1332
  168. package/lib/cjs/components/form/QuantityInput/Input.stories.js.map +0 -1
  169. package/lib/cjs/components/form/Radio/Radio.stories.js +0 -1196
  170. package/lib/cjs/components/form/Radio/Radio.stories.js.map +0 -1
  171. package/lib/cjs/components/form/Radio/RadioElement.stories.js +0 -1084
  172. package/lib/cjs/components/form/Radio/RadioElement.stories.js.map +0 -1
  173. package/lib/cjs/components/form/Radio/RadioListElement.stories.js +0 -1052
  174. package/lib/cjs/components/form/Radio/RadioListElement.stories.js.map +0 -1
  175. package/lib/cjs/components/form/SearchInput/Input.stories.js +0 -1278
  176. package/lib/cjs/components/form/SearchInput/Input.stories.js.map +0 -1
  177. package/lib/cjs/components/form/SelectInput/Select.stories.js +0 -2175
  178. package/lib/cjs/components/form/SelectInput/Select.stories.js.map +0 -1
  179. package/lib/cjs/components/form/SplitInput/SplitInput.stories.js +0 -2020
  180. package/lib/cjs/components/form/SplitInput/SplitInput.stories.js.map +0 -1
  181. package/lib/cjs/components/form/Switch/Switch.stories.js +0 -940
  182. package/lib/cjs/components/form/Switch/Switch.stories.js.map +0 -1
  183. package/lib/cjs/components/form/TabSelector/TabSelector.stories.js +0 -837
  184. package/lib/cjs/components/form/TabSelector/TabSelector.stories.js.map +0 -1
  185. package/lib/cjs/components/layout/Banner/BannerCard/BannerCard.stories.js +0 -1625
  186. package/lib/cjs/components/layout/Banner/BannerCard/BannerCard.stories.js.map +0 -1
  187. package/lib/cjs/components/layout/Banner/NotificationCard/NotificationCard.stories.js +0 -1110
  188. package/lib/cjs/components/layout/Banner/NotificationCard/NotificationCard.stories.js.map +0 -1
  189. package/lib/cjs/components/layout/Box/Box.stories.js +0 -221
  190. package/lib/cjs/components/layout/Box/Box.stories.js.map +0 -1
  191. package/lib/cjs/components/layout/Carousel/Carousel.stories.js +0 -2064
  192. package/lib/cjs/components/layout/Carousel/Carousel.stories.js.map +0 -1
  193. package/lib/cjs/components/layout/ContentCard/PortfolioContentCard/PortfolioContentCard.stories.js +0 -1514
  194. package/lib/cjs/components/layout/ContentCard/PortfolioContentCard/PortfolioContentCard.stories.js.map +0 -1
  195. package/lib/cjs/components/layout/Drawer/Drawer.stories.js +0 -1482
  196. package/lib/cjs/components/layout/Drawer/Drawer.stories.js.map +0 -1
  197. package/lib/cjs/components/layout/Flex/Flex.stories.js +0 -491
  198. package/lib/cjs/components/layout/Flex/Flex.stories.js.map +0 -1
  199. package/lib/cjs/components/layout/Grid/Grid.stories.js +0 -959
  200. package/lib/cjs/components/layout/Grid/Grid.stories.js.map +0 -1
  201. package/lib/cjs/components/layout/List/NumberedList/NumberedList.stories.js +0 -928
  202. package/lib/cjs/components/layout/List/NumberedList/NumberedList.stories.js.map +0 -1
  203. package/lib/cjs/components/layout/List/VerticalTimeline/VerticalTimeline.stories.js +0 -1884
  204. package/lib/cjs/components/layout/List/VerticalTimeline/VerticalTimeline.stories.js.map +0 -1
  205. package/lib/cjs/components/layout/Popin/Popin.stories.js +0 -1478
  206. package/lib/cjs/components/layout/Popin/Popin.stories.js.map +0 -1
  207. package/lib/cjs/components/layout/Side/Side.stories.js +0 -1623
  208. package/lib/cjs/components/layout/Side/Side.stories.js.map +0 -1
  209. package/lib/cjs/components/loaders/InfiniteLoader/InfiniteLoader.stories.js +0 -262
  210. package/lib/cjs/components/loaders/InfiniteLoader/InfiniteLoader.stories.js.map +0 -1
  211. package/lib/cjs/components/loaders/ProgressLoader/ProgressLoader.stories.js +0 -862
  212. package/lib/cjs/components/loaders/ProgressLoader/ProgressLoader.stories.js.map +0 -1
  213. package/lib/cjs/components/message/Alert/Alert.stories.js +0 -1345
  214. package/lib/cjs/components/message/Alert/Alert.stories.js.map +0 -1
  215. package/lib/cjs/components/message/ContinueOnDevice/ContinueOnDevice.stories.js +0 -854
  216. package/lib/cjs/components/message/ContinueOnDevice/ContinueOnDevice.stories.js.map +0 -1
  217. package/lib/cjs/components/message/Log/Log.stories.js +0 -839
  218. package/lib/cjs/components/message/Log/Log.stories.js.map +0 -1
  219. package/lib/cjs/components/message/Notification/Badge.stories.js +0 -319
  220. package/lib/cjs/components/message/Notification/Badge.stories.js.map +0 -1
  221. package/lib/cjs/components/message/Notification/Notification.stories.js +0 -1085
  222. package/lib/cjs/components/message/Notification/Notification.stories.js.map +0 -1
  223. package/lib/cjs/components/message/StatusNotification/StatusNotification.stories.js +0 -977
  224. package/lib/cjs/components/message/StatusNotification/StatusNotification.stories.js.map +0 -1
  225. package/lib/cjs/components/message/Tip/Tip.stories.js +0 -812
  226. package/lib/cjs/components/message/Tip/Tip.stories.js.map +0 -1
  227. package/lib/cjs/components/message/Tooltip/Tooltip.stories.js +0 -853
  228. package/lib/cjs/components/message/Tooltip/Tooltip.stories.js.map +0 -1
  229. package/lib/cjs/components/navigation/Aside/Aside.stories.js +0 -961
  230. package/lib/cjs/components/navigation/Aside/Aside.stories.js.map +0 -1
  231. package/lib/cjs/components/navigation/Aside/stories.helper.js +0 -48
  232. package/lib/cjs/components/navigation/Aside/stories.helper.js.map +0 -1
  233. package/lib/cjs/components/navigation/Breadcrumb/Breadcrumb.stories.js +0 -1953
  234. package/lib/cjs/components/navigation/Breadcrumb/Breadcrumb.stories.js.map +0 -1
  235. package/lib/cjs/components/navigation/FlowStepper/FlowStepper.stories.js +0 -2054
  236. package/lib/cjs/components/navigation/FlowStepper/FlowStepper.stories.js.map +0 -1
  237. package/lib/cjs/components/navigation/Header/Header.stories.js +0 -815
  238. package/lib/cjs/components/navigation/Header/Header.stories.js.map +0 -1
  239. package/lib/cjs/components/navigation/progress/ProgressBar/Onboarding.stories.js +0 -822
  240. package/lib/cjs/components/navigation/progress/ProgressBar/Onboarding.stories.js.map +0 -1
  241. package/lib/cjs/components/navigation/progress/Stepper/Item.stories.js +0 -907
  242. package/lib/cjs/components/navigation/progress/Stepper/Item.stories.js.map +0 -1
  243. package/lib/cjs/components/navigation/progress/Stepper/ProgressSteps.stories.js +0 -927
  244. package/lib/cjs/components/navigation/progress/Stepper/ProgressSteps.stories.js.map +0 -1
  245. package/lib/cjs/components/navigation/sideBar/Item/Item.stories.js +0 -1030
  246. package/lib/cjs/components/navigation/sideBar/Item/Item.stories.js.map +0 -1
  247. package/lib/cjs/components/navigation/sideBar/SideBar/SideBar.stories.js +0 -1318
  248. package/lib/cjs/components/navigation/sideBar/SideBar/SideBar.stories.js.map +0 -1
  249. package/lib/cjs/components/styled.stories.js +0 -200
  250. package/lib/cjs/components/styled.stories.js.map +0 -1
  251. package/lib/cjs/components/tabs/Bar/Bar.stories.js +0 -808
  252. package/lib/cjs/components/tabs/Bar/Bar.stories.js.map +0 -1
  253. package/lib/cjs/components/tabs/Chip/Chip.stories.js +0 -818
  254. package/lib/cjs/components/tabs/Chip/Chip.stories.js.map +0 -1
  255. package/lib/cjs/components/tabs/Pill/Pill.stories.js +0 -873
  256. package/lib/cjs/components/tabs/Pill/Pill.stories.js.map +0 -1
  257. package/lib/cjs/components/tabs/Tabs/Tabs.stories.js +0 -1061
  258. package/lib/cjs/components/tabs/Tabs/Tabs.stories.js.map +0 -1
  259. package/lib/cjs/pre-ldls/components/AccountItem/AccountItem.stories.js +0 -2372
  260. package/lib/cjs/pre-ldls/components/AccountItem/AccountItem.stories.js.map +0 -1
  261. package/lib/cjs/pre-ldls/components/AccountList/AccountList.stories.js +0 -2513
  262. package/lib/cjs/pre-ldls/components/AccountList/AccountList.stories.js.map +0 -1
  263. package/lib/cjs/pre-ldls/components/Address/Address.stories.js +0 -1873
  264. package/lib/cjs/pre-ldls/components/Address/Address.stories.js.map +0 -1
  265. package/lib/cjs/pre-ldls/components/CardButton/CardButton.stories.js +0 -1282
  266. package/lib/cjs/pre-ldls/components/CardButton/CardButton.stories.js.map +0 -1
  267. package/lib/cjs/pre-ldls/components/Checkbox/Checkbox.stories.js +0 -1263
  268. package/lib/cjs/pre-ldls/components/Checkbox/Checkbox.stories.js.map +0 -1
  269. package/lib/cjs/pre-ldls/components/Tag/Tag.stories.js +0 -1834
  270. package/lib/cjs/pre-ldls/components/Tag/Tag.stories.js.map +0 -1
  271. package/lib/cjs/pre-ldls/components/TextInput/TextInput.stories.js +0 -1498
  272. package/lib/cjs/pre-ldls/components/TextInput/TextInput.stories.js.map +0 -1
  273. package/lib/cjs/pre-ldls/components/VirtualList/VirtualList.stories.js +0 -606
  274. package/lib/cjs/pre-ldls/components/VirtualList/VirtualList.stories.js.map +0 -1
  275. package/lib/cjs/pre-ldls/components/sharedStoryBook.js +0 -1819
  276. package/lib/cjs/pre-ldls/components/sharedStoryBook.js.map +0 -1
  277. package/lib/cjs/styles/Spacing.stories.js +0 -759
  278. package/lib/cjs/styles/Spacing.stories.js.map +0 -1
  279. package/lib/cjs/styles/breakpoints.stories.js +0 -823
  280. package/lib/cjs/styles/breakpoints.stories.js.map +0 -1
  281. package/lib/cjs/styles/palettes/colors.stories.js +0 -785
  282. package/lib/cjs/styles/palettes/colors.stories.js.map +0 -1
  283. package/lib/components/Table/stories.helper.d.ts +0 -30
  284. package/lib/components/Table/stories.helper.d.ts.map +0 -1
  285. package/lib/components/Table/stories.helper.js +0 -185
  286. package/lib/components/Table/stories.helper.js.map +0 -1
  287. package/lib/components/navigation/Aside/stories.helper.d.ts +0 -3
  288. package/lib/components/navigation/Aside/stories.helper.d.ts.map +0 -1
  289. package/lib/components/navigation/Aside/stories.helper.js +0 -3
  290. package/lib/components/navigation/Aside/stories.helper.js.map +0 -1
  291. package/lib/pre-ldls/components/sharedStoryBook.d.ts +0 -5
  292. package/lib/pre-ldls/components/sharedStoryBook.d.ts.map +0 -1
  293. package/lib/pre-ldls/components/sharedStoryBook.js +0 -15
  294. package/lib/pre-ldls/components/sharedStoryBook.js.map +0 -1
@@ -1 +0,0 @@
1
- {"version":3,"file":"components/layout/Drawer/Drawer.stories.js","sources":["webpack://@ledgerhq/react-ui/./src/components/asorted/Divider/index.tsx","webpack://@ledgerhq/react-ui/./src/components/asorted/Text/index.tsx","webpack://@ledgerhq/react-ui/./src/components/asorted/Text/styles.ts","webpack://@ledgerhq/react-ui/./src/components/cta/Button/index.tsx","webpack://@ledgerhq/react-ui/./src/components/layout/Drawer/index.tsx","webpack://@ledgerhq/react-ui/./src/components/layout/Flex/index.ts","webpack://@ledgerhq/react-ui/./src/components/styled.ts","webpack://@ledgerhq/react-ui/./src/components/transitions/TransitionInOut.tsx","webpack://@ledgerhq/react-ui/./src/components/transitions/TransitionSlide.tsx","webpack://@ledgerhq/react-ui/./src/styles/helpers.ts","webpack://@ledgerhq/react-ui/./src/styles/styled/fontFamily.ts","webpack://@ledgerhq/react-ui/./src/styles/system/gaps.ts","webpack://@ledgerhq/react-ui/./src/styles/theme.ts","webpack://@ledgerhq/react-ui/webpack/runtime/compat_get_default_export","webpack://@ledgerhq/react-ui/webpack/runtime/define_property_getters","webpack://@ledgerhq/react-ui/webpack/runtime/has_own_property","webpack://@ledgerhq/react-ui/webpack/runtime/make_namespace_object","webpack://@ledgerhq/react-ui/./src/components/layout/Drawer/Drawer.stories.tsx"],"sourcesContent":["import React from \"react\";\nimport styled from \"styled-components\";\nimport Flex, { FlexBoxProps } from \"../../layout/Flex\";\nimport Text from \"../../asorted/Text\";\n\nexport type Props = FlexBoxProps & { text?: string };\nconst DividerBase = styled(Flex).attrs<FlexBoxProps>((p: FlexBoxProps) => ({\n my: p.my || 0,\n height: 1,\n backgroundColor: p.color || \"neutral.c40\",\n}))`\n &[data-variant=\"light\"] {\n background: ${p => p.theme.colors.neutral.c30};\n }\n`;\n\nconst Divider: React.FC<Props> = props => {\n if (!props.text) return <DividerBase {...props} />;\n return (\n <Flex {...props} flexDirection=\"row\" alignItems=\"center\">\n <DividerBase my={6} flex={1} />\n <Text variant=\"bodyLineHeight\" color=\"neutral.c60\" mx={6}>\n {props.text}\n </Text>\n <DividerBase my={6} flex={1} />\n </Flex>\n );\n};\n\nexport default Divider;\n","import React from \"react\";\nimport baseStyled, { BaseStyledProps } from \"../../styled\";\nimport {\n compose,\n fontSize,\n fontWeight,\n textAlign,\n lineHeight,\n letterSpacing,\n system,\n} from \"styled-system\";\nimport fontFamily from \"../../../styles/styled/fontFamily\";\nimport { TextVariants } from \"../../../styles/theme\";\nimport { textVariantStyle } from \"./styles\";\n\nconst uppercase = system({\n uppercase: {\n property: \"textTransform\",\n transform: value => (value ? \"uppercase\" : \"none\"),\n },\n});\n\ntype FontFamilies =\n | \"Inter|ExtraLight\"\n | \"Inter|Light\"\n | \"Inter|Regular\"\n | \"Inter|Medium\"\n | \"Inter|SemiBold\"\n | \"Inter|Bold\"\n | \"Inter|ExtraBold\"\n | \"Alpha|Medium\";\n\ntype WhiteSpace = \"normal\" | \"nowrap\" | \"pre\" | \"pre-line\" | \"pre-wrap\";\n\nexport interface TextProps extends BaseStyledProps {\n fontFamily?: string;\n ff?: FontFamilies;\n fontSize?: number | string | TextVariants;\n variant?: TextVariants;\n textAlign?: string;\n fontWeight?: string;\n lineHeight?: string;\n textTransform?: string;\n textOverflow?: string;\n uppercase?: boolean;\n whiteSpace?: WhiteSpace;\n children?: React.ReactNode;\n}\n\nconst Text = baseStyled.span.attrs<TextProps, TextProps>(\n ({ variant = \"body\", fontSize, color }) => ({\n fontSize: fontSize ? fontSize : variant,\n color: color || \"neutral.c100\",\n }),\n)`\n font-weight: 500;\n white-space: ${props => props.whiteSpace ?? \"normal\"};\n ${(p: TextProps) => textVariantStyle[p.variant || \"body\"]}\n ${compose(\n uppercase,\n lineHeight,\n fontFamily,\n fontSize,\n textAlign,\n fontWeight,\n letterSpacing,\n system({\n textOverflow: true,\n }),\n )}\n ${p => (p.textTransform ? `text-transform: ${p.textTransform};` : \"\")}\n`;\n\nexport default Text;\n","import { GlobalStyleProps } from \"../../../styles/global\";\nimport { css } from \"styled-components\";\nimport { TextVariants } from \"../../../styles/theme\";\n\nconst getFontSource = (name: string) => (props: GlobalStyleProps) => {\n const fontsPath = props.fontsPath ?? \"assets/fonts\";\n const fontName = (props.fontMappings && props.fontMappings(name)) || `${name}.woff2`;\n return `url(\"${fontsPath}/${fontName}\") format(\"woff2\")`;\n};\n\nexport const fontStyles = css`\n @font-face {\n font-family: \"Inter\";\n src: ${getFontSource(\"Inter-ExtraLight-BETA\")};\n font-weight: 100;\n font-style: normal;\n }\n\n @font-face {\n font-family: \"Inter\";\n src: ${getFontSource(\"Inter-Light-BETA\")};\n font-weight: 300;\n font-style: normal;\n }\n\n @font-face {\n font-family: \"Inter\";\n src: ${getFontSource(\"Inter-Regular\")};\n font-weight: 400;\n font-style: normal;\n }\n\n @font-face {\n font-family: \"Inter\";\n src: ${getFontSource(\"Inter-Medium\")};\n font-weight: 500;\n font-style: normal;\n }\n\n @font-face {\n font-family: \"Inter\";\n src: ${getFontSource(\"Inter-SemiBold\")};\n font-weight: 600;\n font-style: normal;\n }\n\n @font-face {\n font-family: \"Inter\";\n src: ${getFontSource(\"Inter-ExtraBold\")};\n font-weight: 900;\n font-style: normal;\n }\n\n @font-face {\n font-family: \"Alpha\";\n src: ${getFontSource(\"HMAlphaMono-Medium\")};\n font-weight: 500;\n font-style: normal;\n }\n`;\n\nexport const textVariantStyle: Record<\n TextVariants,\n {\n fontFamily: string;\n lineHeight?: string | number;\n fontWeight?: number;\n \"text-transform\"?: string;\n }\n> = {\n h1: {\n fontFamily: \"Alpha, Inter, Sans\",\n fontWeight: 500,\n \"text-transform\": \"uppercase\",\n },\n h1Inter: {\n fontFamily: \"Inter, Sans\",\n fontWeight: 500,\n \"text-transform\": \"uppercase\",\n },\n h2: {\n fontFamily: \"Alpha, Inter, Sans\",\n fontWeight: 500,\n \"text-transform\": \"uppercase\",\n },\n h2Inter: {\n fontFamily: \"Inter, Sans\",\n fontWeight: 500,\n \"text-transform\": \"uppercase\",\n },\n h3: {\n fontFamily: \"Alpha, Inter, Sans\",\n fontWeight: 500,\n \"text-transform\": \"uppercase\",\n },\n h3Inter: {\n fontFamily: \"Inter, Sans\",\n fontWeight: 500,\n },\n h4: {\n fontFamily: \"Alpha, Inter, Sans\",\n fontWeight: 500,\n \"text-transform\": \"uppercase\",\n },\n h4Inter: {\n fontFamily: \"Inter, Sans\",\n fontWeight: 600,\n },\n h5: {\n fontFamily: \"Alpha, Inter, Sans\",\n fontWeight: 500,\n \"text-transform\": \"uppercase\",\n },\n h5Inter: {\n fontFamily: \"Inter, Sans\",\n fontWeight: 500,\n },\n large: {\n fontFamily: \"Inter, Sans\",\n },\n largeLineHeight: {\n fontFamily: \"Inter, Sans\",\n lineHeight: 1.7,\n },\n body: {\n fontFamily: \"Inter, Sans\",\n },\n bodyLineHeight: {\n fontFamily: \"Inter, Sans\",\n lineHeight: 1.7,\n },\n paragraph: {\n fontFamily: \"Inter, Sans\",\n },\n paragraphLineHeight: {\n fontFamily: \"Inter, Sans\",\n lineHeight: 1.7,\n },\n small: {\n fontFamily: \"Inter, Sans\",\n },\n extraSmall: {\n fontFamily: \"Inter, Sans\",\n },\n tiny: {\n fontFamily: \"Inter, Sans\",\n },\n micro: {\n fontFamily: \"Inter, Sans\",\n },\n subtitle: {\n fontFamily: \"Inter, Sans\",\n fontWeight: 600,\n \"text-transform\": \"uppercase\",\n },\n};\n","import ChevronBottom from \"@ledgerhq/icons-ui/reactLegacy/ChevronBottomMedium\";\nimport React, { useMemo, useState } from \"react\";\nimport styled, { css, StyledProps } from \"styled-components\";\nimport { border, BordersProps, compose, fontSize } from \"styled-system\";\nimport { rgba } from \"../../../styles/helpers\";\nimport fontFamily from \"../../../styles/styled/fontFamily\";\nimport { fontSizes } from \"../../../styles/theme\";\nimport baseStyled, { BaseStyledProps } from \"../../styled\";\n\ntype ButtonVariants = \"main\" | \"shade\" | \"error\" | \"color\" | \"neutral\";\ntype IconPosition = \"right\" | \"left\";\ninterface BaseProps extends BaseStyledProps, BordersProps {\n ff?: string;\n color?: string;\n backgroundColor?: string;\n size?: \"xs\" | \"small\" | \"medium\" | \"large\" | \"xl\";\n fontSize?: number;\n variant?: ButtonVariants;\n outline?: boolean;\n iconPosition?: IconPosition;\n iconButton?: boolean;\n disabled?: boolean;\n whiteSpace?: string;\n}\n\nexport interface ButtonProps extends BaseProps, React.RefAttributes<HTMLButtonElement> {\n Icon?: React.ReactElement | React.ComponentType<{ size: number; color?: string }>;\n children?: React.ReactNode;\n onClick?: (event: React.SyntheticEvent<HTMLButtonElement>) => void;\n iconSize?: number;\n style?: React.CSSProperties;\n}\nconst IconContainer = styled.div<{\n iconPosition: IconPosition;\n}>`\n display: inline-block;\n ${p => `${p.iconPosition === \"left\" ? \"margin-right\" : \"margin-left\"}: ${p.theme.space[4]}px;`}\n padding-top: 0.2em;\n`;\n\nconst getVariantColors = (p: StyledProps<BaseProps>) => ({\n main: {\n outline: `\n border-color: ${p.theme.colors.neutral.c100};\n color: ${p.theme.colors.neutral.c100};\n background-color: transparent;\n &:hover, &:focus {\n background-color: ${rgba(p.theme.colors.neutral.c100, 0.03)};\n }\n &:active {\n background-color: ${rgba(p.theme.colors.neutral.c100, 0.05)};\n }\n `,\n filled: `\n color: ${p.theme.colors.neutral.c00};\n background-color: ${p.theme.colors.neutral.c100};\n &:hover, &:focus {\n background-color: ${p.theme.colors.neutral.c90};\n }\n `,\n },\n shade: `\n border-color: ${p.theme.colors.neutral.c40};\n color: ${p.theme.colors.neutral.c100};\n &:focus {\n border-color: ${p.theme.colors.primary.c80};\n }\n\n &:hover, &:focus {\n background-color: ${p.theme.colors.neutral.c20};\n }\n\n &:active {\n background-color: ${p.theme.colors.neutral.c30};\n }\n `,\n error: {\n outline: `\n border-color: ${p.theme.colors.error.c50};\n color: ${p.theme.colors.error.c50};\n background-color: transparent;\n &:hover {\n background-color: ${rgba(p.theme.colors.error.c50, 0.02)};\n }\n &:active {\n background-color: ${rgba(p.theme.colors.error.c50, 0.05)};\n }\n `,\n filled: `\n color: ${p.theme.colors.neutral.c00};\n background-color: ${p.theme.colors.error.c50};\n &:hover {\n background-color: ${p.theme.colors.error.c40};\n }\n `,\n },\n neutral: `\n color: ${p.theme.colors.neutral.c100};\n background-color: ${p.theme.colors.neutral.c30};\n &:hover {\n background-color: ${p.theme.colors.neutral.c40};\n }\n `,\n color: {\n outline: `\n border-color: ${p.theme.colors.primary.c80};\n color: ${p.theme.colors.primary.c80};\n background-color: transparent;\n &:hover {\n background-color: ${rgba(p.theme.colors.primary.c100, 0.02)};\n }\n &:active {\n background-color: ${rgba(p.theme.colors.primary.c100, 0.05)};\n }\n `,\n filled: `\n color: ${p.theme.colors.neutral.c00};\n background-color: ${p.theme.colors.primary.c80};\n &:hover {\n background-color: ${p.theme.colors.primary.c70};\n }\n `,\n },\n disabled: {\n outline: `\n border-color: ${p.theme.colors.neutral.c50};\n color: ${p.theme.colors.neutral.c50};\n background-color: transparent;\n &:focus, &:hover {\n box-shadow: none;\n }\n `,\n filled: `\n color: ${p.theme.colors.neutral.c50};\n background-color: ${p.theme.colors.neutral.c30};\n &:focus, &:hover {\n box-shadow: none;\n }\n `,\n },\n default: `\n color: ${p.theme.colors.neutral.c100};\n background-color: transparent;\n &:hover {\n text-decoration: underline;\n }\n `,\n});\n\nexport const ButtonUnstyled = baseStyled.button`\n all: unset;\n cursor: pointer;\n\n &:disabled {\n cursor: default;\n }\n`;\n\nexport const Base = baseStyled.button.attrs((p: BaseProps) => ({\n fontFamily: \"Inter\",\n fontSize: p.fontSize ?? 4,\n}))<BaseProps>`\n background-color: transparent;\n border-color: transparent;\n border-radius: 44px;\n border-style: solid;\n border-width: ${p => (p.outline || p.variant === \"shade\" ? 1 : 0)}px;\n font-weight: 600;\n ${compose(fontFamily, fontSize, border)};\n line-height: ${p => p.theme.fontSizes[p.fontSize]}px;\n text-align: center;\n display: inline-flex;\n align-items: center;\n justify-content: center;\n overflow: hidden;\n ${p => buttonSizeStyle[p.size || \"medium\"]}\n text-overflow: ellipsis;\n white-space: ${p => (p.whiteSpace ? p.whiteSpace : \"nowrap\")};\n max-width: 100%;\n position: relative;\n cursor: ${p => (p.disabled ? \"default\" : \"pointer\")};\n &:active {\n box-shadow: 0 0 0 4px ${p => rgba(p.theme.colors.primary.c60, 0.4)};\n }\n &:focus, &:hover {\n box-shadow: 0 0 0 2px ${p => rgba(p.theme.colors.primary.c60, 0.4)};\n }\n\n ${p => {\n const variants = getVariantColors(p);\n if (p.disabled) {\n return p.outline || p.variant === \"shade\"\n ? variants.disabled.outline\n : variants.disabled.filled;\n }\n\n const variant: ButtonVariants | \"default\" =\n p.variant ?? (\"default\" as ButtonVariants | \"default\");\n switch (variant) {\n case \"main\":\n return p.outline ? variants.main.outline : variants.main.filled;\n case \"shade\":\n return variants.shade;\n\n case \"error\":\n return p.outline ? variants.error.outline : variants.error.filled;\n\n case \"color\":\n return p.outline ? variants.color.outline : variants.color.filled;\n\n case \"neutral\":\n return variants.neutral;\n\n case \"default\":\n default:\n return variants.default;\n }\n }}\n ${p =>\n p.iconButton\n ? css`\n width: ${p.theme.space[12]}px;\n padding: 0;\n ${IconContainer} {\n margin: 0;\n }\n `\n : \"\"}\n ${p => p.theme.transition([\"background-color\", \"color\", \"border-color\", \"box-shadow\"], \"0.2s\")}\n`;\n\nconst ContentContainer = styled.div``;\n\nconst Button = (\n { Icon, iconPosition = \"right\", iconSize = 16, children, onClick, ...props }: ButtonProps,\n ref?: React.ForwardedRef<HTMLButtonElement>,\n): React.ReactElement => {\n const iconNodeSize = iconSize || fontSizes[props.fontSize ?? 4];\n const IconNode = useMemo(() => {\n if (!Icon) return null;\n if (typeof Icon === \"object\") return Icon;\n return <Icon size={iconNodeSize} />;\n }, [iconNodeSize, Icon]);\n\n return (\n <Base {...props} ref={ref} iconButton={!(Icon == null) && !children} onClick={onClick}>\n {iconPosition === \"right\" ? <ContentContainer>{children}</ContentContainer> : null}\n {IconNode && <IconContainer iconPosition={iconPosition}>{IconNode}</IconContainer>}\n {iconPosition === \"left\" ? <ContentContainer>{children}</ContentContainer> : null}\n </Base>\n );\n};\nconst ButtonWithRef = React.forwardRef(Button) as unknown as typeof Button;\n\nexport type ButtonExpandProps = React.PropsWithChildren<\n ButtonProps & {\n onToggle?: (arg0: boolean) => void;\n }\n>;\n\nconst StyledButtonExpand = styled(ButtonWithRef).attrs(props => ({\n Icon: props.Icon != null || ChevronBottom,\n iconPosition: props.iconPosition || \"right\",\n}))<{ expanded: boolean }>`\n ${IconContainer} {\n transition: transform 0.25s;\n ${p => (p.expanded ? \"transform: rotate(180deg)\" : \"\")}\n }\n`;\nexport function ButtonExpand(\n { onToggle, onClick, ...props }: ButtonExpandProps,\n ref?: React.ForwardedRef<HTMLButtonElement>,\n): React.ReactElement {\n const [expanded, setExpanded] = useState(false);\n return (\n <StyledButtonExpand\n {...props}\n ref={ref}\n expanded={expanded}\n onClick={(event: React.SyntheticEvent<HTMLButtonElement>) => {\n setExpanded(expanded => !expanded);\n onToggle != null && onToggle(!expanded);\n onClick != null && onClick(event);\n }}\n />\n );\n}\n\nexport const buttonSizeStyle: {\n [index: string]: {\n padding: string;\n height: string;\n };\n} = {\n xs: {\n padding: \"0 12px\",\n height: \"28px\",\n },\n small: {\n padding: \"0 20px\",\n height: \"32px\",\n },\n medium: {\n padding: \"0 24px\",\n height: \"40px\",\n },\n large: {\n padding: \"0 28px\",\n height: \"48px\",\n },\n xl: {\n padding: \"0 28px\",\n height: \"56px\",\n },\n};\n\nButton.Unstyled = ButtonUnstyled;\nButton.Expand = React.forwardRef(ButtonExpand);\nButtonWithRef.Unstyled = Button.Unstyled;\nButtonWithRef.Expand = Button.Expand;\nexport default ButtonWithRef;\n","import React, { useCallback } from \"react\";\nimport ReactDOM from \"react-dom\";\nimport styled from \"styled-components\";\nimport FlexBox, { FlexBoxProps } from \"../Flex\";\nimport Divider, { Props as DividerProps } from \"../../asorted/Divider\";\nimport Close from \"@ledgerhq/icons-ui/reactLegacy/CloseMedium\";\nimport ArrowLeft from \"@ledgerhq/icons-ui/reactLegacy/ArrowLeftMedium\";\n\nimport TransitionSlide from \"../../transitions/TransitionSlide\";\nimport TransitionInOut from \"../../transitions/TransitionInOut\";\nimport Text from \"../../asorted/Text\";\nimport Button from \"../../cta/Button\";\n\nexport enum Direction {\n Left = \"left\",\n Right = \"right\",\n}\n\nconst Container = styled(FlexBox)`\n width: 100%;\n height: 100%;\n flex-direction: column;\n`;\n\nconst Wrapper = styled(FlexBox)<{\n big?: boolean;\n}>`\n height: 100%;\n width: ${p =>\n p.big ? p.theme.sizes.drawer.side.big.width : p.theme.sizes.drawer.side.small.width}px;\n flex-direction: column;\n align-items: stretch;\n justify-content: space-between;\n z-index: ${p => p.theme.zIndexes[8]};\n`;\n\nconst Overlay = styled.div<{ direction: Direction }>`\n display: flex;\n position: fixed;\n justify-content: ${p => (p.direction === Direction.Left ? \"flex-end\" : \"flex-start\")};\n top: 0;\n left: 0;\n width: 100vw;\n height: 100vh;\n z-index: 999;\n background-color: ${p => p.theme.colors.constant.overlay};\n`;\n\nconst ScrollWrapper = styled(FlexBox)`\n &::-webkit-scrollbar {\n display: none;\n }\n`;\n\nconst ButtonPlaceholder = styled.div`\n min-width: ${p => p.theme.space[12]}px;\n`;\n\nexport interface DrawerProps {\n isOpen: boolean;\n children: React.ReactNode;\n title?: React.ReactNode;\n footer?: React.ReactNode;\n big?: boolean;\n ignoreBackdropClick?: boolean;\n backgroundColor?: string;\n onClose: () => void;\n onBack?: () => void;\n setTransitionsEnabled?: (arg0: boolean) => void;\n hideNavigation?: boolean;\n menuPortalTarget?: Element | null;\n direction?: Direction;\n extraContainerProps?: Partial<FlexBoxProps>;\n extraHeaderProps?: Partial<FlexBoxProps>;\n extraFooterProps?: Partial<FlexBoxProps>;\n extraFooterDividerProps?: Partial<DividerProps>;\n}\n\nconst DrawerContent = React.forwardRef(\n (\n {\n isOpen,\n title,\n children,\n footer,\n big,\n onClose,\n backgroundColor,\n setTransitionsEnabled = () => 0,\n onBack,\n extraContainerProps,\n extraHeaderProps,\n extraFooterProps,\n extraFooterDividerProps,\n ignoreBackdropClick = false,\n hideNavigation = true,\n direction = Direction.Left,\n }: DrawerProps,\n ref?: React.ForwardedRef<HTMLDivElement>,\n ) => {\n const disableChildAnimations = useCallback(\n () => setTransitionsEnabled(false),\n [setTransitionsEnabled],\n );\n const enableChildAnimations = useCallback(\n () => setTransitionsEnabled(true),\n [setTransitionsEnabled],\n );\n\n const handleBackdropClick = useCallback(() => {\n if (!ignoreBackdropClick) {\n onClose();\n }\n }, [onClose, ignoreBackdropClick]);\n\n const stopClickPropagation = useCallback((e: React.MouseEvent) => {\n e.stopPropagation();\n }, []);\n\n return (\n <TransitionInOut\n in={isOpen}\n appear\n mountOnEnter\n unmountOnExit\n onEntering={disableChildAnimations}\n onEntered={enableChildAnimations}\n onExiting={disableChildAnimations}\n >\n <Overlay direction={direction} onClick={handleBackdropClick} ref={ref}>\n <TransitionSlide\n in={isOpen}\n direction={direction}\n fixed\n reverseExit\n appear\n mountOnEnter\n unmountOnExit\n >\n <Wrapper\n big={big}\n onClick={stopClickPropagation}\n backgroundColor={backgroundColor ?? \"background.main\"}\n >\n <Container>\n <FlexBox\n justifyContent=\"space-between\"\n alignItems=\"center\"\n p={12}\n pb={10}\n {...extraHeaderProps}\n >\n {!hideNavigation && (\n <>\n {onBack != null ? (\n <Button variant=\"neutral\" onClick={onBack} Icon={ArrowLeft} />\n ) : (\n <ButtonPlaceholder />\n )}\n </>\n )}\n <Text variant={\"h3\"} flex={1} textAlign=\"center\">\n {title}\n </Text>\n <FlexBox alignSelf=\"flex-start\">\n <Button variant=\"neutral\" onClick={onClose} Icon={Close} />\n </FlexBox>\n </FlexBox>\n <ScrollWrapper\n flexDirection=\"column\"\n alignItems=\"stretch\"\n overflow=\"scroll\"\n position=\"relative\"\n p={12}\n pt={0}\n flex={1}\n {...extraContainerProps}\n >\n {children}\n </ScrollWrapper>\n {footer && (\n <>\n <Divider {...extraFooterDividerProps} />\n <FlexBox alignItems=\"center\" py={8} px={12} {...extraFooterProps}>\n {footer}\n </FlexBox>\n </>\n )}\n </Container>\n </Wrapper>\n </TransitionSlide>\n </Overlay>\n </TransitionInOut>\n );\n },\n);\n\nconst Drawer = (\n { children, menuPortalTarget, ...sideProps }: DrawerProps,\n ref?: React.ForwardedRef<HTMLDivElement>,\n): React.ReactElement => {\n const $root = React.useMemo(\n () =>\n menuPortalTarget === undefined && typeof document !== \"undefined\"\n ? document.querySelector(\"body\")\n : menuPortalTarget,\n [menuPortalTarget],\n );\n if (!$root) {\n return (\n <DrawerContent ref={ref} {...sideProps}>\n {children}\n </DrawerContent>\n );\n } else {\n return ReactDOM.createPortal(\n <DrawerContent ref={ref} {...sideProps}>\n {children}\n </DrawerContent>,\n $root,\n );\n }\n};\n\nexport default React.forwardRef(Drawer);\n","import baseStyled, { BaseStyledProps } from \"../../styled\";\n\nconst FlexBox = baseStyled.div.attrs<BaseStyledProps, BaseStyledProps>({\n display: \"flex\",\n minWidth: 0,\n})``;\nexport type FlexBoxProps = BaseStyledProps & React.HTMLAttributes<HTMLDivElement>;\n\nexport default FlexBox;\n","import React from \"react\";\nimport gaps from \"../styles/system/gaps\";\nimport styled, { StyledInterface, InterpolationFunction } from \"styled-components\";\nimport {\n compose,\n flexbox,\n FlexboxProps,\n space,\n SpaceProps,\n position,\n PositionProps,\n color,\n ColorProps,\n layout,\n LayoutProps,\n overflow,\n OverflowProps,\n border,\n BorderProps,\n} from \"styled-system\";\n\nexport type BaseStyledProps = SpaceProps &\n FlexboxProps &\n PositionProps &\n ColorProps &\n LayoutProps &\n BorderProps &\n OverflowProps & {\n /**\n * The columnGap CSS property sets the size of the gap (gutter) between an element's grid columns.\n */\n columnGap?: string | number;\n /**\n * The rowGap CSS property sets the size of the gap (gutter) between an element's grid rows.\n */\n rowGap?: string | number;\n color?: string;\n children?: React.ReactNode;\n };\n\nexport const baseStyles: InterpolationFunction<unknown> = compose(\n flexbox,\n space,\n position,\n color,\n layout,\n overflow,\n gaps,\n border,\n);\n\nconst proxyStyled = new Proxy(styled, {\n apply(target: typeof styled, thisArg, argumentsList: Parameters<typeof styled>) {\n return styled(target.apply(thisArg, argumentsList)(baseStyles));\n },\n get(target, property: keyof typeof styled) {\n if (typeof target[property] === \"function\") {\n return styled(target[property].apply(styled, [baseStyles]));\n }\n return target[property];\n },\n});\n\nexport default <StyledInterface>proxyStyled;\n","import React, { useRef } from \"react\";\nimport { CSSTransition } from \"react-transition-group\";\nimport { CSSTransitionProps } from \"react-transition-group/CSSTransition\";\nimport styled from \"styled-components\";\nconst duration = 150;\nconst ChildrenWrapper = styled.div<{ timeout: number }>`\n transition: ${props => `opacity ${props.timeout}ms ease-in-out`};\n\n &.transition-inout-enter {\n opacity: 0;\n }\n\n &.transition-inout-enter-active {\n opacity: 1;\n }\n\n &.transition-inout-exit {\n opacity: 1;\n }\n\n &.transition-inout-exit-active {\n opacity: 0;\n }\n`;\ntype TransitionInOutProps = Partial<\n CSSTransitionProps<HTMLDivElement> & {\n children: React.ReactNode;\n in: boolean;\n timeout?: number;\n appear?: boolean;\n mountOnEnter?: boolean;\n unmountOnExit?: boolean;\n }\n>;\n\nconst TransitionInOut = ({\n children,\n in: inProp,\n timeout = duration,\n ...TransitionProps\n}: TransitionInOutProps): React.JSX.Element => {\n const nodeRef = useRef<HTMLDivElement>(null);\n return (\n <CSSTransition\n {...TransitionProps}\n nodeRef={nodeRef}\n in={inProp}\n timeout={timeout}\n classNames=\"transition-inout\"\n >\n <ChildrenWrapper ref={nodeRef} timeout={timeout}>\n {children}\n </ChildrenWrapper>\n </CSSTransition>\n );\n};\n\nexport default TransitionInOut;\n","import React, { useRef } from \"react\";\nimport { CSSTransition } from \"react-transition-group\";\nimport { CSSTransitionProps } from \"react-transition-group/CSSTransition\";\nimport styled from \"styled-components\";\nconst duration = 300;\nconst ChildrenWrapper = styled.div<{ fixed?: boolean; reverseExit?: boolean }>`\n transition: all ${duration}ms ease-in-out;\n will-change: transform;\n ${p =>\n !p.fixed\n ? `\n position: absolute;\n width: 100%;\n `\n : \"\"}\n height: 100%;\n\n &.transition-left-appear,\n &.transition-left-enter {\n transform: translateX(100%);\n }\n\n &.transition-left-appear-active,\n &.transition-left-enter-active {\n transform: translateX(0%);\n }\n\n &.transition-left-exit {\n transform: translateX(0%);\n }\n\n &.transition-left-exit-active {\n transform: translateX(${p => (p.reverseExit ? 100 : -100)}%);\n }\n\n &.transition-right-appear,\n &.transition-right-enter {\n transform: translateX(-100%);\n }\n\n &.transition-right-appear-active,\n &.transition-right-enter-active {\n transform: translateX(0%);\n }\n\n &.transition-right-exit {\n transform: translateX(0%);\n }\n\n &.transition-right-exit-active {\n transform: translateX(${p => (p.reverseExit ? -100 : 100)}%);\n }\n`;\ntype TransitionSlideProps = Partial<\n CSSTransitionProps<HTMLDivElement> & {\n children: React.ReactNode;\n fixed: boolean;\n reverseExit?: boolean;\n direction?: \"left\" | \"right\" | string;\n }\n>;\n\nconst TransitionSlide = ({\n children,\n fixed,\n direction = \"left\",\n reverseExit,\n ...props\n}: TransitionSlideProps) => {\n const nodeRef = useRef<HTMLDivElement>(null);\n return (\n <CSSTransition\n {...props}\n nodeRef={nodeRef}\n timeout={duration}\n classNames={`transition-${direction}`}\n >\n <ChildrenWrapper ref={nodeRef} fixed={fixed} reverseExit={reverseExit}>\n {children}\n </ChildrenWrapper>\n </CSSTransition>\n );\n};\n\nexport default TransitionSlide;\n","import Color from \"color\";\n\nimport { fontFamilies } from \"./theme\";\n\nexport const rgba = (c: string, a: number): string => Color(c).alpha(a).rgb().toString();\n\nexport const darken = (c: string, a: number): string => Color(c).darken(a).toString();\n\nexport const lighten = (c: string, a: number): string => Color(c).lighten(a).toString();\n\nexport const mix = (c: string, b: string, a: number): string =>\n Color(c).mix(Color(b), a).toString();\n\nexport const ff = (v: string) => {\n const [font, type = \"Regular\"] = v.split(\"|\");\n // @ts-expect-error FIXME\n const { style, weight } = fontFamilies[font][type];\n // @ts-expect-error FIXME\n const fallback: string = fontFamilies[font].fallback ?? \"Arial\";\n\n return {\n fontFamily: `${font}, ${fallback}`,\n fontWeight: weight,\n fontStyle: style,\n };\n};\n\nexport const ensureContrast = (color1: string, color2: string) => {\n const colorL1 = Color(color1).luminosity() + 0.05;\n const colorL2 = Color(color2).luminosity() + 0.05;\n\n const lRatio = colorL1 > colorL2 ? colorL1 / colorL2 : colorL2 / colorL1;\n\n if (lRatio < 1.5) {\n return Color(color1).rotate(180).negate().string();\n }\n return color1;\n};\n","import { ff } from \"../helpers\";\n\nexport default (props: { ff?: string }) => {\n const prop = props.ff;\n\n if (prop == null) {\n return null;\n }\n\n return ff(prop);\n};\n","import { system } from \"styled-system\";\n\nconst gaps = system({\n rowGap: { property: \"rowGap\", scale: \"space\" },\n columnGap: { property: \"columnGap\", scale: \"space\" },\n});\n\nexport default gaps;\n","import { keyframes, css, Font } from \"styled-components\";\nimport { palettes, ColorPalette } from \"@ledgerhq/ui-shared\";\n\nexport type screensBreakpoints = \"sm\" | \"md\" | \"lg\" | \"xl\" | \"xxl\";\n\nexport const breakpoints = {\n sm: \"640px\",\n md: \"768px\",\n lg: \"1024px\",\n xl: \"1280px\",\n xxl: \"1536px\",\n} as Record<screensBreakpoints, string>;\n\nexport const space = [\n /* space indexes:\n 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21 */\n 0,\n 2, 4, 8, 10, 12, 16, 20, 24, 28, 32, 36, 40, 44, 48, 52, 56, 60, 64, 68, 72, 76,\n];\n\nexport type TextVariants =\n | \"h1\"\n | \"h1Inter\"\n | \"h2\"\n | \"h2Inter\"\n | \"h3\"\n | \"h3Inter\"\n | \"h4\"\n | \"h4Inter\"\n | \"h5\"\n | \"h5Inter\"\n | \"large\"\n | \"largeLineHeight\"\n | \"body\"\n | \"bodyLineHeight\"\n | \"paragraph\"\n | \"paragraphLineHeight\"\n | \"small\"\n | \"extraSmall\"\n | \"tiny\"\n | \"micro\"\n | \"subtitle\";\n\nexport type ThemeScale<Type, Aliases extends string> = Array<Type> & Record<Aliases, Type>;\n\nexport const fontSizes = [8, 10, 11, 12, 13, 14, 16, 20, 24, 28, 32, 36] as ThemeScale<\n number,\n TextVariants\n>;\n\n[\n fontSizes.micro,\n fontSizes.tiny,\n fontSizes.extraSmall,\n fontSizes.small,\n fontSizes.paragraph,\n fontSizes.body,\n fontSizes.large,\n fontSizes.h5,\n fontSizes.h4,\n fontSizes.h3,\n fontSizes.h2,\n fontSizes.h1,\n] = fontSizes;\nfontSizes.largeLineHeight = fontSizes.large;\nfontSizes.bodyLineHeight = fontSizes.body;\nfontSizes.paragraphLineHeight = fontSizes.paragraph;\nfontSizes.subtitle = fontSizes.extraSmall;\nfontSizes.h1Inter = fontSizes.h1;\nfontSizes.h2Inter = fontSizes.h2;\nfontSizes.h3Inter = fontSizes.h3;\nfontSizes.h4Inter = fontSizes.h4;\nfontSizes.h5Inter = fontSizes.h5;\n\nconst fontWeights = {\n extraLight: \"100\",\n light: \"300\",\n regular: \"400\",\n medium: \"500\",\n semiBold: \"600\",\n bold: \"700\",\n extraBold: \"800\",\n};\n\nexport const radii = [0, 4, 8, 12, 16, 20];\nexport const shadows = [\"0 4px 8px 0 rgba(0, 0, 0, 0.03)\"];\nexport const zIndexes = [-1, 0, 1, 9, 10, 90, 100, 900, 1000];\n\n// Those fonts are now defined in global.css, this is just a mapping for styled-system\nexport const fontFamilies = {\n Inter: {\n ExtraLight: {\n weight: 100,\n style: \"normal\",\n },\n Light: {\n weight: 300,\n style: \"normal\",\n },\n Regular: {\n weight: 400,\n style: \"normal\",\n },\n Medium: {\n weight: 500,\n style: \"normal\",\n },\n SemiBold: {\n weight: 600,\n style: \"normal\",\n },\n Bold: {\n weight: 700,\n style: \"normal\",\n },\n ExtraBold: {\n weight: 800,\n style: \"normal\",\n },\n },\n Alpha: {\n Medium: {\n weight: 500,\n style: \"normal\",\n },\n },\n};\n\nconst animationDuration = \"0.33s\";\nconst easings = {\n outQuadratic: \"cubic-bezier(0.25, 0.46, 0.45, 0.94)\",\n};\n\nconst transition = (\n properties = [\"all\"],\n duration = animationDuration,\n easing = easings.outQuadratic,\n) => css`\n transition-property: ${properties.join(\",\")};\n transition-duration: ${duration};\n transition-timing-function: ${easing};\n`;\n\nconst fadeIn = keyframes`\n 0% {\n opacity: 0;\n }\n 100% {\n opacity: 1;\n }\n `;\nconst fadeOut = keyframes`\n 0% {\n opacity: 1;\n }\n 100% {\n opacity: 0;\n }\n `;\nconst fadeInGrowX = keyframes`\n 0% {\n opacity: 0;\n transform: scaleX(0);\n }\n 100% {\n opacity: 1;\n transform: scaleX(1);\n }\n`;\nconst fadeInUp = keyframes`\n 0% {\n opacity: 0;\n transform: translateY(66%);\n }\n 100% {\n opacity: 1;\n transform: translateY(0%);\n }\n `;\nconst animations = {\n fadeIn: () => css`\n ${fadeIn} ${animationDuration} ${easings.outQuadratic} forwards\n `,\n fadeOut: () => css`\n ${fadeOut} ${animationDuration} ${easings.outQuadratic} forwards\n `,\n fadeInGrowX: () => css`\n ${fadeInGrowX} 0.6s ${easings.outQuadratic} forwards\n `,\n fadeInUp: () => css`\n ${fadeInUp} ${animationDuration} ${easings.outQuadratic} forwards\n `,\n};\nconst overflow = {\n x: css`\n overflow-y: hidden;\n overflow-x: scroll;\n will-change: transform;\n &:hover {\n --track-color: ${p => p.theme.colors.neutral.c30};\n }\n `,\n y: css`\n overflow-x: hidden;\n overflow-y: scroll;\n will-change: transform;\n &:hover {\n --track-color: ${p => p.theme.colors.neutral.c30};\n }\n `,\n yAuto: css`\n overflow-x: hidden;\n overflow-y: auto;\n will-change: transform;\n &:hover {\n --track-color: ${p => p.theme.colors.neutral.c30};\n }\n `,\n xy: css`\n overflow: scroll;\n will-change: transform;\n &:hover {\n --track-color: ${p => p.theme.colors.neutral.c30};\n }\n `,\n trackSize: 12,\n};\n\ninterface DefaultTheme {\n theme: \"dark\" | \"light\";\n animations: typeof animations;\n transition: typeof transition;\n overflow: typeof overflow;\n sizes: {\n topBarHeight: number;\n sideBarWidth: number;\n drawer: {\n side: {\n big: {\n width: number;\n };\n small: {\n width: number;\n };\n };\n popin: {\n min: {\n height: number;\n width: number;\n };\n max: {\n height: number;\n width: number;\n };\n };\n };\n };\n radii: number[];\n fontFamilies: Record<string, Record<string, Font>>;\n fontSizes: number[];\n space: number[];\n shadows: string[];\n colors: ColorPalette;\n fontWeights: Record<string, string>;\n breakpoints: Record<screensBreakpoints, string>;\n zIndexes: number[];\n}\n\nconst theme: DefaultTheme = {\n theme: \"light\",\n sizes: {\n drawer: {\n side: {\n big: {\n width: 580,\n },\n small: {\n width: 420,\n },\n },\n popin: {\n min: {\n height: 158,\n width: 462,\n },\n max: {\n height: 522,\n width: 622,\n },\n },\n },\n topBarHeight: 58,\n sideBarWidth: 230,\n },\n radii,\n fontFamilies,\n fontSizes,\n fontWeights,\n space,\n shadows,\n colors: palettes.light,\n animations,\n overflow,\n transition,\n zIndexes,\n breakpoints,\n};\n\nexport default theme;\nexport type Theme = DefaultTheme;\n","// getDefaultExport function for compatibility with non-ESM modules\n__webpack_require__.n = (module) => {\n\tvar getter = module && module.__esModule ?\n\t\t() => (module['default']) :\n\t\t() => (module);\n\t__webpack_require__.d(getter, { a: getter });\n\treturn getter;\n};\n","__webpack_require__.d = (exports, getters, values) => {\n\tvar define = (defs, kind) => {\n\t\tfor(var key in defs) {\n\t\t\tif(__webpack_require__.o(defs, key) && !__webpack_require__.o(exports, key)) {\n\t\t\t\tObject.defineProperty(exports, key, { enumerable: true, [kind]: defs[key] });\n\t\t\t}\n\t\t}\n\t};\n\tdefine(getters, \"get\");\n\tdefine(values, \"value\");\n};","__webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop))","// define __esModule on exports\n__webpack_require__.r = (exports) => {\n\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n\t}\n\tObject.defineProperty(exports, '__esModule', { value: true });\n};","import React from \"react\";\nimport { useArgs } from \"storybook/manager-api\";\n\nimport Button from \"../../cta/Button\";\nimport Drawer, { DrawerProps } from \"./index\";\nimport { Flex } from \"../index\";\n\nexport default {\n title: \"Layout/Drawer\",\n component: Drawer,\n argTypes: {\n isOpen: {\n type: \"boolean\",\n value: true,\n description: \"Is open\",\n required: false,\n control: {\n type: \"boolean\",\n },\n },\n title: {\n type: \"text\",\n description: \"Side default title\",\n defaultValue: \"Default title\",\n control: {\n type: \"text\",\n },\n required: false,\n },\n backgroundColor: {\n control: {\n type: \"color\",\n presetColors: [\"coral\", \"tomato\", \"orange\", \"blue\", \"purple\"],\n },\n },\n big: {\n type: \"boolean\",\n value: true,\n description: \"Larger width side drawer.\",\n required: false,\n control: {\n type: \"boolean\",\n },\n },\n ignoreBackdropClick: {\n type: \"boolean\",\n value: true,\n description: \"Prevent drawer from calling onClose when clicking on the backdrop.\",\n required: false,\n control: {\n type: \"boolean\",\n },\n },\n },\n};\n\nconst Template = ({ title, big, ignoreBackdropClick, backgroundColor, direction }: DrawerProps) => {\n const [{ isOpen }, updateArgs] = useArgs();\n\n return (\n <div>\n <Button variant={\"main\"} onClick={() => updateArgs({ isOpen: true })} style={{ flex: 1 }}>\n Open\n </Button>\n <Drawer\n isOpen={isOpen}\n onClose={() => updateArgs({ isOpen: false })}\n title={title}\n big={big}\n footer={\n <Flex flex={1} justifyContent=\"flex-end\">\n <Button variant={\"main\"} onClick={() => updateArgs({ isOpen: false })}>\n Close\n </Button>\n </Flex>\n }\n ignoreBackdropClick={ignoreBackdropClick}\n backgroundColor={backgroundColor}\n direction={direction}\n >\n <Flex flexDirection={\"column\"}>\n <p>\n Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed elit mi, tempus sed justo\n et, viverra mattis lorem. Praesent odio ligula, facilisis id porttitor tempor, cursus at\n metus. Etiam consequat ante efficitur sodales iaculis. Aliquam at justo vel erat\n eleifend semper eu non lorem. Cras porta, dolor a porttitor varius, augue lectus congue\n lorem, nec lobortis urna ipsum quis lorem. Nam quis auctor lacus. Aenean sit amet dictum\n purus, at convallis neque. Etiam ac augue non risus luctus laoreet eget a est. Curabitur\n magna purus, fermentum at eros a, faucibus sollicitudin erat. Proin purus sem, lacinia\n tincidunt ornare et, sollicitudin nec libero. Quisque lobortis dui ac lacus mollis\n posuere. Morbi vitae ligula commodo, scelerisque sapien quis, vulputate justo. Cras\n sagittis, ligula quis mollis porttitor, massa neque faucibus mauris, quis consectetur\n eros nibh a ante. Quisque ac porttitor ante. Curabitur in neque a nisl aliquet finibus.\n Mauris in sapien nec odio molestie vulputate. Suspendisse vitae lorem non quam dapibus\n cursus sit amet a mauris.\n </p>\n <p>\n Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed elit mi, tempus sed justo\n et, viverra mattis lorem. Praesent odio ligula, facilisis id porttitor tempor, cursus at\n metus. Etiam consequat ante efficitur sodales iaculis. Aliquam at justo vel erat\n eleifend semper eu non lorem. Cras porta, dolor a porttitor varius, augue lectus congue\n lorem, nec lobortis urna ipsum quis lorem. Nam quis auctor lacus. Aenean sit amet dictum\n purus, at convallis neque. Etiam ac augue non risus luctus laoreet eget a est. Curabitur\n magna purus, fermentum at eros a, faucibus sollicitudin erat. Proin purus sem, lacinia\n tincidunt ornare et, sollicitudin nec libero. Quisque lobortis dui ac lacus mollis\n posuere. Morbi vitae ligula commodo, scelerisque sapien quis, vulputate justo. Cras\n sagittis, ligula quis mollis porttitor, massa neque faucibus mauris, quis consectetur\n eros nibh a ante. Quisque ac porttitor ante. Curabitur in neque a nisl aliquet finibus.\n Mauris in sapien nec odio molestie vulputate. Suspendisse vitae lorem non quam dapibus\n cursus sit amet a mauris.\n </p>\n\n <Flex>\n <Button\n variant={\"main\"}\n onClick={() => updateArgs({ isOpen: false })}\n style={{ flex: 1 }}\n >\n {\"Fermer\"}\n </Button>\n </Flex>\n </Flex>\n </Drawer>\n </div>\n );\n};\n\nexport const Default = Template.bind({});\n"],"names":["React","styled","Flex","Text","DividerBase","p","Divider","props","baseStyled","compose","fontSize","fontWeight","textAlign","lineHeight","letterSpacing","system","fontFamily","textVariantStyle","uppercase","value","variant","color","css","getFontSource","name","fontsPath","fontName","fontStyles","ChevronBottom","useMemo","useState","border","rgba","fontSizes","IconContainer","getVariantColors","ButtonUnstyled","Base","buttonSizeStyle","variants","ContentContainer","Button","Icon","iconPosition","iconSize","children","onClick","ref","iconNodeSize","IconNode","ButtonWithRef","StyledButtonExpand","ButtonExpand","onToggle","expanded","setExpanded","event","useCallback","ReactDOM","FlexBox","Close","ArrowLeft","TransitionSlide","TransitionInOut","Direction","Container","Wrapper","Overlay","ScrollWrapper","ButtonPlaceholder","DrawerContent","isOpen","title","footer","big","onClose","backgroundColor","setTransitionsEnabled","onBack","extraContainerProps","extraHeaderProps","extraFooterProps","extraFooterDividerProps","ignoreBackdropClick","hideNavigation","direction","disableChildAnimations","enableChildAnimations","handleBackdropClick","stopClickPropagation","e","Drawer","menuPortalTarget","sideProps","$root","undefined","document","gaps","flexbox","space","position","layout","overflow","baseStyles","proxyStyled","Proxy","target","thisArg","argumentsList","property","useRef","CSSTransition","duration","ChildrenWrapper","inProp","timeout","TransitionProps","nodeRef","fixed","reverseExit","Color","fontFamilies","c","a","darken","lighten","mix","b","ff","v","font","type","style","weight","fallback","ensureContrast","color1","color2","colorL1","colorL2","lRatio","prop","keyframes","palettes","breakpoints","fontWeights","radii","shadows","zIndexes","animationDuration","easings","transition","properties","easing","fadeIn","fadeOut","fadeInGrowX","fadeInUp","animations","theme","useArgs","Template","updateArgs","Default"],"mappings":";;;;;;;;;;AAA0B;AACa;AACgB;AACjB;AAGtC,MAAMI,cAAcH,4CAAMA,CAACC,4CAAIA,EAAE,KAAK,CAAe,CAACG,IAAqB;QACzE,IAAIA,EAAE,EAAE,IAAI;QACZ,QAAQ;QACR,iBAAiBA,EAAE,KAAK,IAAI;IAC9B,GAAG,CAAC;;gBAEY,EAAEA,CAAAA,IAAKA,EAAE,KAAK,CAAC,MAAM,CAAC,OAAO,CAAC,GAAG,CAAC;;AAElD,CAAC;AAED,MAAMC,UAA2BC,CAAAA;IAC/B,IAAI,CAACA,MAAM,IAAI,EAAE,qBAAO,+CAACH,aAAgBG;IACzC,qBACE,+CAACL,wCAAIA;QAAE,GAAGK,KAAK;QAAE,eAAc;QAAM,YAAW;qBAC9C,+CAACH;QAAY,IAAI;QAAG,MAAM;sBAC1B,+CAACD,yCAAIA;QAAC,SAAQ;QAAiB,OAAM;QAAc,IAAI;OACpDI,MAAM,IAAI,iBAEb,+CAACH;QAAY,IAAI;QAAG,MAAM;;AAGhC;AAEA,sDAAeE,OAAOA,EAAC;;;;;;;;;;;;;;;;;AC7BG;AACiC;AASpC;AACoC;AAEf;AAE5C,MAAMY,YAAYH,yCAAMA,CAAC;IACvB,WAAW;QACT,UAAU;QACV,WAAWI,CAAAA,QAAUA,QAAQ,cAAc;IAC7C;AACF;AA6BA,MAAMhB,OAAOK,8CAAqB,CAChC,CAAC,EAAEY,UAAU,MAAM,EAAEV,QAAQ,EAAEW,KAAK,EAAE,GAAM;QAC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P,aAAa;YACb,UAAU;YACV,SAAS;gBACP,MAAM;YACR;QACF;QACA,qBAAqB;YACnB,MAAM;YACN,OAAO;YACP,aAAa;YACb,UAAU;YACV,SAAS;gBACP,MAAM;YACR;QACF;IACF;AACF,CAAC,EAAC;AAEF,MAAMsE,WAAW,CAAC,EAAEzF,KAAK,EAAEE,GAAG,EAAES,mBAAmB,EAAEP,eAAe,EAAES,SAAS,EAAe;IAC5F,MAAM,CAAC,EAAEd,MAAM,EAAE,EAAE2F,WAAW,GAAGF,uCAAOA;IAExC,qBACE,uCAAC,2BACC,uCAACvH,iBAAMA;QAAC,SAAS;QAAQ,SAAS,IAAMyH,WAAW;gBAAE,QAAQ;YAAK;QAAI,OAAO;YAAE,MAAM;QAAE;OAAG,uBAG1F,uCAACvE,iBAAMA;QACL,QAAQpB;QACR,SAAS,IAAM2F,WAAW;gBAAE,QAAQ;YAAM;QAC1C,OAAO1F;QACP,KAAKE;QACL,sBACE,uCAACxE,eAAIA;YAAC,MAAM;YAAG,gBAAe;yBAC5B,uCAACuC,iBAAMA;YAAC,SAAS;YAAQ,SAAS,IAAMyH,WAAW;oBAAE,QAAQ;gBAAM;WAAI;QAK3E,qBAAqB/E;QACrB,iBAAiBP;QACjB,WAAWS;qBAEX,uCAACnF,eAAIA;QAAC,eAAe;qBACnB,uCAAC,WAAE,0jCAeH,uCAAC,WAAE,0jCAgBH,uCAACA,eAAIA,sBACH,uCAACuC,iBAAMA;QACL,SAAS;QACT,SAAS,IAAMyH,WAAW;gBAAE,QAAQ;YAAM;QAC1C,OAAO;YAAE,MAAM;QAAE;OAEhB;AAOf;AAEO,MAAMC,UAAUF,SAAS,IAAI,CAAC,CAAC,GAAG"}
@@ -1,491 +0,0 @@
1
- (() => {
2
- "use strict";
3
- var __webpack_modules__ = ({
4
- 3696(__unused_rspack_module, __webpack_exports__, __webpack_require__) {
5
- /* import */ var _styled__rspack_import_0 = __webpack_require__(7680);
6
-
7
- const FlexBox = _styled__rspack_import_0["default"].div.attrs({
8
- display: "flex",
9
- minWidth: 0
10
- })``;
11
- /* export default */ const __rspack_default_export = (FlexBox);
12
-
13
- __webpack_require__.d(__webpack_exports__, {
14
- }, {
15
- "default": __rspack_default_export
16
- });
17
-
18
-
19
- },
20
- 7680(__unused_rspack_module, __webpack_exports__, __webpack_require__) {
21
- /* import */ var _styles_system_gaps__rspack_import_2 = __webpack_require__(4182);
22
- /* import */ var styled_components__rspack_import_0 = __webpack_require__(2770);
23
- /* import */ var styled_components__rspack_import_0_default = /*#__PURE__*/__webpack_require__.n(styled_components__rspack_import_0);
24
- /* import */ var styled_system__rspack_import_1 = __webpack_require__(9351);
25
- /* import */ var styled_system__rspack_import_1_default = /*#__PURE__*/__webpack_require__.n(styled_system__rspack_import_1);
26
-
27
-
28
-
29
- const baseStyles = (0,styled_system__rspack_import_1.compose)(styled_system__rspack_import_1.flexbox, styled_system__rspack_import_1.space, styled_system__rspack_import_1.position, styled_system__rspack_import_1.color, styled_system__rspack_import_1.layout, styled_system__rspack_import_1.overflow, _styles_system_gaps__rspack_import_2["default"], styled_system__rspack_import_1.border);
30
- const proxyStyled = new Proxy((styled_components__rspack_import_0_default()), {
31
- apply (target, thisArg, argumentsList) {
32
- return styled_components__rspack_import_0_default()(target.apply(thisArg, argumentsList)(baseStyles));
33
- },
34
- get (target, property) {
35
- if (typeof target[property] === "function") {
36
- return styled_components__rspack_import_0_default()(target[property].apply((styled_components__rspack_import_0_default()), [
37
- baseStyles
38
- ]));
39
- }
40
- return target[property];
41
- }
42
- });
43
- /* export default */ const __rspack_default_export = (proxyStyled);
44
-
45
- __webpack_require__.d(__webpack_exports__, {
46
- }, {
47
- "default": __rspack_default_export
48
- });
49
-
50
-
51
- },
52
- 4182(__unused_rspack_module, __webpack_exports__, __webpack_require__) {
53
- /* import */ var styled_system__rspack_import_0 = __webpack_require__(9351);
54
- /* import */ var styled_system__rspack_import_0_default = /*#__PURE__*/__webpack_require__.n(styled_system__rspack_import_0);
55
-
56
- const gaps = (0,styled_system__rspack_import_0.system)({
57
- rowGap: {
58
- property: "rowGap",
59
- scale: "space"
60
- },
61
- columnGap: {
62
- property: "columnGap",
63
- scale: "space"
64
- }
65
- });
66
- /* export default */ const __rspack_default_export = (gaps);
67
-
68
- __webpack_require__.d(__webpack_exports__, {
69
- }, {
70
- "default": __rspack_default_export
71
- });
72
-
73
-
74
- },
75
- 2770(module) {
76
- module.exports = require("styled-components");
77
-
78
- },
79
- 9351(module) {
80
- module.exports = require("styled-system");
81
-
82
- },
83
-
84
- });
85
- // The module cache
86
- var __webpack_module_cache__ = {};
87
-
88
- // The require function
89
- function __webpack_require__(moduleId) {
90
-
91
- // Check if module is in cache
92
- var cachedModule = __webpack_module_cache__[moduleId];
93
- if (cachedModule !== undefined) {
94
- return cachedModule.exports;
95
- }
96
- // Create a new module (and put it into the cache)
97
- var module = (__webpack_module_cache__[moduleId] = {
98
- exports: {}
99
- });
100
- // Execute the module function
101
- __webpack_modules__[moduleId](module, module.exports, __webpack_require__);
102
-
103
- // Return the exports of the module
104
- return module.exports;
105
-
106
- }
107
-
108
- // webpack/runtime/compat_get_default_export
109
- (() => {
110
- // getDefaultExport function for compatibility with non-ESM modules
111
- __webpack_require__.n = (module) => {
112
- var getter = module && module.__esModule ?
113
- () => (module['default']) :
114
- () => (module);
115
- __webpack_require__.d(getter, { a: getter });
116
- return getter;
117
- };
118
-
119
- })();
120
- // webpack/runtime/define_property_getters
121
- (() => {
122
- __webpack_require__.d = (exports, getters, values) => {
123
- var define = (defs, kind) => {
124
- for(var key in defs) {
125
- if(__webpack_require__.o(defs, key) && !__webpack_require__.o(exports, key)) {
126
- Object.defineProperty(exports, key, { enumerable: true, [kind]: defs[key] });
127
- }
128
- }
129
- };
130
- define(getters, "get");
131
- define(values, "value");
132
- };
133
- })();
134
- // webpack/runtime/has_own_property
135
- (() => {
136
- __webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop))
137
- })();
138
- // webpack/runtime/make_namespace_object
139
- (() => {
140
- // define __esModule on exports
141
- __webpack_require__.r = (exports) => {
142
- if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {
143
- Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
144
- }
145
- Object.defineProperty(exports, '__esModule', { value: true });
146
- };
147
- })();
148
- var __webpack_exports__ = {};
149
- // This entry needs to be wrapped in an IIFE because it needs to be isolated against other modules in the chunk.
150
- (() => {
151
- // ESM COMPAT FLAG
152
- __webpack_require__.r(__webpack_exports__);
153
-
154
- // EXPORTS
155
- __webpack_require__.d(__webpack_exports__, {
156
- Default: () => (/* binding */ Default),
157
- "default": () => (/* binding */ Flex_stories)
158
- });
159
-
160
- ;// CONCATENATED MODULE: external "react"
161
- const external_react_namespaceObject = require("react");
162
- var external_react_default = /*#__PURE__*/__webpack_require__.n(external_react_namespaceObject);
163
- // EXTERNAL MODULE: ./src/components/layout/Flex/index.ts
164
- var Flex = __webpack_require__(3696);
165
- ;// CONCATENATED MODULE: ./src/components/layout/Flex/Flex.stories.tsx
166
-
167
-
168
- /* export default */ const Flex_stories = ({
169
- title: "Layout/Flex",
170
- component: Flex["default"],
171
- argTypes: {
172
- children: {
173
- type: "text",
174
- description: "Any valid React node",
175
- required: true,
176
- control: false
177
- },
178
- alignItems: {
179
- type: "text",
180
- description: "This defines the default behavior for how flex items are laid out along the cross axis on the current line. Think of it as the justify-content version for the cross-axis (perpendicular to the main-axis).",
181
- required: false,
182
- options: [
183
- "stretch",
184
- "flex-start",
185
- "flex-end",
186
- "center",
187
- "baseline",
188
- "first baseline",
189
- "last baseline",
190
- "start",
191
- "end",
192
- "self-start",
193
- "self-end",
194
- "safe center",
195
- "unsafe center"
196
- ],
197
- control: {
198
- type: "select"
199
- },
200
- table: {
201
- category: "Parent",
202
- subcategory: "cross-axis"
203
- }
204
- },
205
- flexDirection: {
206
- type: "text",
207
- description: "This establishes the main-axis, thus defining the direction flex items are placed in the flex container. Think of flex items as primarily laying out either in horizontal rows or vertical columns.",
208
- required: false,
209
- options: [
210
- "row",
211
- "row-reverse",
212
- "column",
213
- "column-reverse"
214
- ],
215
- control: {
216
- type: "select"
217
- },
218
- table: {
219
- category: "Parent",
220
- subcategory: "main-axis"
221
- }
222
- },
223
- justifyItems: {
224
- type: "text",
225
- description: "This defines the default justify-self for all items of the box, giving them all a default way of justifying each box along the appropriate axis.",
226
- required: false,
227
- options: [
228
- "flex-start",
229
- "flex-end",
230
- "center",
231
- "space-between",
232
- "space-around",
233
- "space-evenly",
234
- "stretch",
235
- "start",
236
- "end",
237
- "baseline",
238
- "first baseline",
239
- "last baseline",
240
- "safe center",
241
- "unsafe center"
242
- ],
243
- control: {
244
- type: "select"
245
- },
246
- table: {
247
- category: "Parent"
248
- }
249
- },
250
- justifyContent: {
251
- type: "text",
252
- description: "This defines the alignment along the main axis. It helps distribute extra free space leftover when either all the flex items on a line are inflexible, or are flexible but have reached their maximum size. It also exerts some control over the alignment of items when they overflow the line.",
253
- required: false,
254
- options: [
255
- "flex-start",
256
- "flex-end",
257
- "center",
258
- "space-between",
259
- "space-around",
260
- "space-evenly",
261
- "stretch",
262
- "start",
263
- "end",
264
- "left",
265
- "right",
266
- "safe center",
267
- "unsafe center"
268
- ],
269
- control: {
270
- type: "select"
271
- },
272
- table: {
273
- category: "Parent",
274
- subcategory: "main-axis"
275
- }
276
- },
277
- flexWrap: {
278
- type: "text",
279
- description: "By default, flex items will all try to fit onto one line. You can change that and allow the items to wrap as needed with this property.",
280
- required: false,
281
- options: [
282
- "nowrap",
283
- "wrap",
284
- "wrap-reverse"
285
- ],
286
- control: {
287
- type: "select"
288
- },
289
- table: {
290
- category: "Parent"
291
- }
292
- },
293
- flex: {
294
- type: "text",
295
- description: "This is the shorthand for flex-grow, flex-shrink and flex-basis combined. The second and third parameters (flex-shrink and flex-basis) are optional. The default is 0 1 auto, but if you set it with a single number value, it’s like 1 0.",
296
- required: false,
297
- control: {
298
- type: "text"
299
- },
300
- table: {
301
- category: "Children"
302
- }
303
- },
304
- flexGrow: {
305
- type: "text",
306
- description: "This defines the ability for a flex item to grow if necessary. It accepts a unitless value that serves as a proportion. It dictates what amount of the available space inside the flex container the item should take up.",
307
- required: false,
308
- control: {
309
- type: "number"
310
- },
311
- table: {
312
- category: "Children"
313
- }
314
- },
315
- flexShrink: {
316
- type: "text",
317
- description: "This defines the ability for a flex item to shrink if necessary.",
318
- required: false,
319
- control: {
320
- type: "number"
321
- },
322
- table: {
323
- category: "Children"
324
- }
325
- },
326
- flexBasis: {
327
- type: "text",
328
- description: "This defines the default size of an element before the remaining space is distributed. It can be a length (e.g. 20%, 5rem, etc.) or a keyword. The auto keyword means “look at my width or height property” (which was temporarily done by the main-size keyword until deprecated).",
329
- required: false,
330
- control: {
331
- type: "number"
332
- },
333
- table: {
334
- category: "Children"
335
- }
336
- },
337
- justifySelf: {
338
- type: "text",
339
- description: "This sets the way a box is justified inside its alignment container along the appropriate axis.",
340
- required: false,
341
- options: [
342
- "flex-start",
343
- "flex-end",
344
- "center",
345
- "space-between",
346
- "space-around",
347
- "space-evenly",
348
- "stretch",
349
- "start",
350
- "end",
351
- "baseline",
352
- "first baseline",
353
- "last baseline",
354
- "safe center",
355
- "unsafe center"
356
- ],
357
- control: {
358
- type: "select"
359
- },
360
- table: {
361
- category: "Children"
362
- }
363
- },
364
- alignContent: {
365
- type: "text",
366
- description: "This aligns a flex container’s lines within when there is extra space in the cross-axis, similar to how justify-content aligns individual items within the main-axis.",
367
- required: false,
368
- options: [
369
- "flex-start",
370
- "flex-end",
371
- "center",
372
- "space-between",
373
- "space-around",
374
- "space-evenly",
375
- "stretch",
376
- "start",
377
- "end",
378
- "baseline",
379
- "first baseline",
380
- "last baseline",
381
- "safe center",
382
- "unsafe center"
383
- ],
384
- control: {
385
- type: "select"
386
- },
387
- table: {
388
- category: "Parent",
389
- subcategory: "cross-axis"
390
- }
391
- },
392
- alignSelf: {
393
- type: "text",
394
- description: "This allows the default alignment (or the one specified by align-items) to be overridden for individual flex items.",
395
- required: false,
396
- options: [
397
- "flex-start",
398
- "flex-end",
399
- "center",
400
- "space-between",
401
- "space-around",
402
- "space-evenly",
403
- "stretch",
404
- "start",
405
- "end",
406
- "baseline",
407
- "first baseline",
408
- "last baseline",
409
- "safe center",
410
- "unsafe center"
411
- ],
412
- control: {
413
- type: "select"
414
- },
415
- table: {
416
- category: "Children"
417
- }
418
- },
419
- order: {
420
- type: "text",
421
- description: "By default, flex items are laid out in the source order. However, the order property controls the order in which they appear in the flex container.",
422
- required: false,
423
- control: {
424
- type: "number"
425
- },
426
- table: {
427
- category: "Children"
428
- }
429
- },
430
- rowGap: {
431
- type: "text",
432
- description: "The row-gap CSS property sets the size of the gap (gutter) between an element's flex rows.",
433
- required: false,
434
- control: {
435
- type: "text"
436
- },
437
- table: {
438
- category: "Parent"
439
- }
440
- },
441
- columnGap: {
442
- type: "text",
443
- description: "The column-gap CSS property sets the size of the gap (gutter) between an element's flex columns.",
444
- required: false,
445
- control: {
446
- type: "text"
447
- },
448
- table: {
449
- category: "Parent"
450
- }
451
- }
452
- },
453
- parameters: {
454
- docs: {
455
- description: {
456
- component: `The Flex component is a flexbox helper component that lets you write these common css properties more succinctly and inline.
457
-
458
- Like the Box component, it includes all the style props exported by the color, layout, position, and shadow utilities from the [styled-system](https://styled-system.com) library, but also fully includes the flexbox ones.
459
-
460
- [See more about styled-system utilities](https://styled-system.com/api)`
461
- }
462
- }
463
- }
464
- });
465
- /*
466
- ** Template component creates a sandbox to play with Flexbox properties.
467
- ** Children Flexbox props are passed to the first Square child, that allow
468
- ** you to play with the flexbox properties for children.
469
- */ const Template = (args)=>/*#__PURE__*/ external_react_default().createElement(Flex["default"], args, /*#__PURE__*/ external_react_default().createElement(Flex["default"], {
470
- ...args,
471
- width: "25vw",
472
- height: "25vw",
473
- color: "white",
474
- backgroundColor: "darkslategray"
475
- }, "Control me with flex children props"), /*#__PURE__*/ external_react_default().createElement(Flex["default"], {
476
- width: "25vw",
477
- height: "25vw",
478
- backgroundColor: "lightslategray"
479
- }), /*#__PURE__*/ external_react_default().createElement(Flex["default"], {
480
- width: "25vw",
481
- height: "25vw",
482
- backgroundColor: "darkgray"
483
- }));
484
- const Default = Template.bind({});
485
-
486
- })();
487
-
488
- module.exports = __webpack_exports__;
489
- })()
490
- ;
491
- //# sourceMappingURL=Flex.stories.js.map