@ssa-ui-kit/widgets 0.0.9-alpha → 0.0.11-alpha

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 (541) hide show
  1. package/.babelrc.js +4 -4
  2. package/.env +7 -7
  3. package/.storybook/main.ts +42 -42
  4. package/.storybook/preview.tsx +21 -21
  5. package/.storybook/style.css +31 -31
  6. package/LICENSE +21 -0
  7. package/customTest.tsx +35 -35
  8. package/dist/components/CollapsibleNavBar/CollapsibleNavBar.d.ts +0 -1
  9. package/dist/components/CollapsibleNavBar/CollapsibleNavBarLink.d.ts +1 -5
  10. package/dist/components/CollapsibleNavBar/CollapsibleNavContentToggle.d.ts +2 -1
  11. package/dist/components/CollapsibleNavBar/CollapsibleNavToggle.d.ts +3 -1
  12. package/dist/components/CollapsibleNavBar/NavBarAccordionContent.d.ts +1 -2
  13. package/dist/components/CollapsibleNavBar/NavBarItemWithSubMenu.d.ts +1 -2
  14. package/dist/components/CollapsibleNavBar/NavBarItemWithoutSubMenu.d.ts +1 -2
  15. package/dist/components/CollapsibleNavBar/styles.d.ts +0 -1
  16. package/dist/components/CollapsibleNavBar/types.d.ts +1 -1
  17. package/dist/components/ExchangeAccountKeys/styles.d.ts +1 -1
  18. package/dist/components/NavBar/NavBar.d.ts +0 -1
  19. package/dist/components/NavBar/NavBarLink.d.ts +1 -3
  20. package/dist/index.js +1 -1
  21. package/dist/index.js.map +1 -1
  22. package/jest-setup.ts +17 -17
  23. package/lostpixel.config.ts +29 -29
  24. package/package.json +3 -3
  25. package/playwright.config.ts +7 -7
  26. package/src/components/AccountBalance/AccountBalance.spec.tsx +82 -82
  27. package/src/components/AccountBalance/AccountBalance.stories.tsx +35 -35
  28. package/src/components/AccountBalance/AccountBalance.tsx +63 -63
  29. package/src/components/AccountBalance/BalancePieChart.tsx +77 -77
  30. package/src/components/AccountBalance/BalancePieChartTitle.tsx +42 -42
  31. package/src/components/AccountBalance/WithLink.tsx +26 -26
  32. package/src/components/AccountBalance/index.ts +5 -5
  33. package/src/components/AccountBalance/stories/fixtures.ts +26 -26
  34. package/src/components/AccountBalance/types.ts +31 -31
  35. package/src/components/Activity/Activity.spec.tsx +79 -79
  36. package/src/components/Activity/Activity.stories.tsx +15 -15
  37. package/src/components/Activity/Activity.tsx +83 -83
  38. package/src/components/Activity/ActivityItem.tsx +38 -38
  39. package/src/components/Activity/index.tsx +2 -2
  40. package/src/components/Activity/mockActivityRequest.ts +106 -106
  41. package/src/components/Activity/styles.ts +12 -12
  42. package/src/components/Activity/types.ts +10 -10
  43. package/src/components/AddNewAccountCard/AddNewAccountCard.spec.tsx +39 -39
  44. package/src/components/AddNewAccountCard/AddNewAccountCard.stories.tsx +48 -48
  45. package/src/components/AddNewAccountCard/AddNewAccountCard.tsx +22 -22
  46. package/src/components/AddNewAccountCard/index.ts +2 -2
  47. package/src/components/AddNewAccountCard/styles.ts +29 -29
  48. package/src/components/AddNewAccountCard/types.ts +7 -7
  49. package/src/components/Bmi/Bmi.spec.tsx +68 -68
  50. package/src/components/Bmi/Bmi.stories.tsx +10 -10
  51. package/src/components/Bmi/Bmi.tsx +96 -96
  52. package/src/components/Bmi/BmiHeatbar.tsx +18 -18
  53. package/src/components/Bmi/BmiInfo.tsx +11 -11
  54. package/src/components/Bmi/BmiLabel.tsx +9 -9
  55. package/src/components/Bmi/BmiLabels.tsx +33 -33
  56. package/src/components/Bmi/BmiPointer.tsx +15 -15
  57. package/src/components/Bmi/index.tsx +2 -2
  58. package/src/components/Bmi/styles.ts +18 -18
  59. package/src/components/Bmi/types.ts +4 -4
  60. package/src/components/BotsTable/BotsTable.e2e.ts +77 -77
  61. package/src/components/BotsTable/BotsTable.spec.tsx +125 -125
  62. package/src/components/BotsTable/BotsTable.tsx +32 -32
  63. package/src/components/BotsTable/BotsTableCell.tsx +13 -10
  64. package/src/components/BotsTable/BotsTableHead.tsx +13 -9
  65. package/src/components/BotsTable/BotsTableRow.tsx +17 -17
  66. package/src/components/BotsTable/BotsTableWrapper.tsx +23 -23
  67. package/src/components/BotsTable/index.ts +5 -5
  68. package/src/components/BotsTable/stories/BotsTable/StoryComponent.tsx +59 -59
  69. package/src/components/BotsTable/stories/BotsTable/components/Actions/ActionIcon.tsx +11 -11
  70. package/src/components/BotsTable/stories/BotsTable/components/Actions/ActionItem.tsx +40 -40
  71. package/src/components/BotsTable/stories/BotsTable/components/Actions/ActionMore.tsx +89 -89
  72. package/src/components/BotsTable/stories/BotsTable/components/Actions/ActionRun.tsx +133 -133
  73. package/src/components/BotsTable/stories/BotsTable/components/Actions/Actions.tsx +13 -13
  74. package/src/components/BotsTable/stories/BotsTable/components/Actions/ActionsWrapper.tsx +21 -21
  75. package/src/components/BotsTable/stories/BotsTable/components/Actions/consts.tsx +118 -118
  76. package/src/components/BotsTable/stories/BotsTable/components/Actions/index.ts +6 -6
  77. package/src/components/BotsTable/stories/BotsTable/components/Exchange/Exchange.tsx +26 -26
  78. package/src/components/BotsTable/stories/BotsTable/components/Exchange/consts.tsx +157 -157
  79. package/src/components/BotsTable/stories/BotsTable/components/Exchange/index.ts +1 -1
  80. package/src/components/BotsTable/stories/BotsTable/components/Exchange/types.ts +6 -6
  81. package/src/components/BotsTable/stories/BotsTable/components/PNL.tsx +27 -27
  82. package/src/components/BotsTable/stories/BotsTable/components/ROI.tsx +25 -25
  83. package/src/components/BotsTable/stories/BotsTable/components/TableTag.tsx +22 -22
  84. package/src/components/BotsTable/stories/BotsTable/components/Trade/Trade.tsx +8 -8
  85. package/src/components/BotsTable/stories/BotsTable/components/Trade/consts.ts +14 -14
  86. package/src/components/BotsTable/stories/BotsTable/components/Trade/index.ts +1 -1
  87. package/src/components/BotsTable/stories/BotsTable/components/Trade/types.ts +5 -5
  88. package/src/components/BotsTable/stories/BotsTable/components/index.ts +6 -6
  89. package/src/components/BotsTable/stories/BotsTable/index.ts +1 -1
  90. package/src/components/BotsTable/stories/BotsTable/mockData.ts +84 -84
  91. package/src/components/BotsTable/stories/BotsTable.stories.tsx +39 -39
  92. package/src/components/BotsTable/stories/NoControlOrders/StoryComponent.tsx +35 -35
  93. package/src/components/BotsTable/stories/NoControlOrders/components/ActionMore.tsx +95 -95
  94. package/src/components/BotsTable/stories/NoControlOrders/components/Reason.tsx +11 -11
  95. package/src/components/BotsTable/stories/NoControlOrders/components/TableList.tsx +45 -45
  96. package/src/components/BotsTable/stories/NoControlOrders/components/TableRow.tsx +31 -31
  97. package/src/components/BotsTable/stories/NoControlOrders/components/index.ts +4 -4
  98. package/src/components/BotsTable/stories/NoControlOrders/mockData.ts +23 -23
  99. package/src/components/BotsTable/stories/NoControlOrders/types.ts +16 -16
  100. package/src/components/BotsTable/types.ts +31 -31
  101. package/src/components/Calories/Calories.spec.tsx +11 -11
  102. package/src/components/Calories/Calories.stories.tsx +26 -26
  103. package/src/components/Calories/Calories.tsx +54 -54
  104. package/src/components/Calories/index.tsx +2 -2
  105. package/src/components/Calories/innerContent.tsx +30 -30
  106. package/src/components/Calories/types.ts +4 -4
  107. package/src/components/CardList/CardList.spec.tsx +32 -32
  108. package/src/components/CardList/CardList.stories.tsx +37 -37
  109. package/src/components/CardList/CardList.tsx +37 -37
  110. package/src/components/CardList/index.ts +2 -2
  111. package/src/components/CardList/types.ts +10 -10
  112. package/src/components/CollapsibleNavBar/CollapsibleNavBar.e2e.ts +115 -115
  113. package/src/components/CollapsibleNavBar/CollapsibleNavBar.spec.tsx +49 -54
  114. package/src/components/CollapsibleNavBar/CollapsibleNavBar.tsx +67 -55
  115. package/src/components/CollapsibleNavBar/CollapsibleNavBarBase.ts +128 -126
  116. package/src/components/CollapsibleNavBar/CollapsibleNavBarItem.ts +28 -28
  117. package/src/components/CollapsibleNavBar/CollapsibleNavBarLink.ts +36 -34
  118. package/src/components/CollapsibleNavBar/CollapsibleNavBarList.ts +18 -18
  119. package/src/components/CollapsibleNavBar/CollapsibleNavBarWrapper.ts +24 -24
  120. package/src/components/CollapsibleNavBar/CollapsibleNavContentToggle.tsx +27 -24
  121. package/src/components/CollapsibleNavBar/CollapsibleNavToggle.tsx +49 -52
  122. package/src/components/CollapsibleNavBar/CollapsibleNavToggleWrapper.ts +16 -16
  123. package/src/components/CollapsibleNavBar/NavBarAccordionContent.tsx +42 -33
  124. package/src/components/CollapsibleNavBar/NavBarItemWithSubMenu.tsx +108 -84
  125. package/src/components/CollapsibleNavBar/NavBarItemWithoutSubMenu.tsx +35 -39
  126. package/src/components/CollapsibleNavBar/NavBarPopover.tsx +124 -124
  127. package/src/components/CollapsibleNavBar/TriggerIcon.tsx +35 -35
  128. package/src/components/CollapsibleNavBar/index.ts +2 -2
  129. package/src/components/CollapsibleNavBar/stories/CollapsibleNavBar.stories.tsx +53 -53
  130. package/src/components/CollapsibleNavBar/stories/Layout.tsx +53 -53
  131. package/src/components/CollapsibleNavBar/stories/Logo.tsx +12 -12
  132. package/src/components/CollapsibleNavBar/stories/StoryComponent.tsx +20 -20
  133. package/src/components/CollapsibleNavBar/stories/consts.ts +22 -22
  134. package/src/components/CollapsibleNavBar/stories/styles.ts +21 -21
  135. package/src/components/CollapsibleNavBar/styles.ts +111 -119
  136. package/src/components/CollapsibleNavBar/types.ts +14 -14
  137. package/src/components/ExchangeAccount/ExchangeAccount.spec.tsx +110 -110
  138. package/src/components/ExchangeAccount/ExchangeAccount.stories.tsx +90 -90
  139. package/src/components/ExchangeAccount/ExchangeAccount.tsx +73 -73
  140. package/src/components/ExchangeAccount/helpers.tsx +153 -153
  141. package/src/components/ExchangeAccount/index.ts +2 -2
  142. package/src/components/ExchangeAccount/styles.ts +133 -133
  143. package/src/components/ExchangeAccount/types.ts +12 -12
  144. package/src/components/ExchangeAccountKeys/ExchangeAccountKeys.spec.tsx +43 -43
  145. package/src/components/ExchangeAccountKeys/ExchangeAccountKeys.stories.tsx +14 -14
  146. package/src/components/ExchangeAccountKeys/ExchangeAccountKeys.tsx +73 -71
  147. package/src/components/ExchangeAccountKeys/helpers.ts +7 -7
  148. package/src/components/ExchangeAccountKeys/index.ts +2 -2
  149. package/src/components/ExchangeAccountKeys/stories/StoryComponent.tsx +33 -33
  150. package/src/components/ExchangeAccountKeys/styles.ts +87 -97
  151. package/src/components/ExchangeAccountKeys/types.ts +8 -8
  152. package/src/components/Filters/FilterBlockWrapper.tsx +11 -11
  153. package/src/components/Filters/Filters.e2e.ts +115 -115
  154. package/src/components/Filters/Filters.spec.tsx +47 -47
  155. package/src/components/Filters/Filters.tsx +87 -87
  156. package/src/components/Filters/FiltersBlock.tsx +76 -69
  157. package/src/components/Filters/FiltersContext.tsx +44 -44
  158. package/src/components/Filters/FiltersWrapper.tsx +34 -34
  159. package/src/components/Filters/hooks/useVisibility.ts +101 -101
  160. package/src/components/Filters/index.ts +1 -1
  161. package/src/components/Filters/stories/Filters.stories.tsx +24 -24
  162. package/src/components/Filters/stories/StoryComponent.tsx +19 -19
  163. package/src/components/Filters/stories/mockData.ts +421 -421
  164. package/src/components/Filters/types.ts +4 -4
  165. package/src/components/HeartRate/BPM.tsx +43 -43
  166. package/src/components/HeartRate/HeartRate.e2e.ts +78 -78
  167. package/src/components/HeartRate/HeartRate.spec.tsx +91 -91
  168. package/src/components/HeartRate/HeartRate.stories.tsx +36 -36
  169. package/src/components/HeartRate/HeartRate.tsx +105 -105
  170. package/src/components/HeartRate/HeartRateLineChart.tsx +53 -53
  171. package/src/components/HeartRate/index.ts +2 -2
  172. package/src/components/HeartRate/mockHeartRateRequest.ts +15 -15
  173. package/src/components/HeartRate/types.ts +15 -15
  174. package/src/components/HeartRate/utils.tsx +8 -8
  175. package/src/components/LinksTabBar/LinksTabBar.e2e.ts +23 -23
  176. package/src/components/LinksTabBar/LinksTabBar.spec.tsx +48 -48
  177. package/src/components/LinksTabBar/LinksTabBar.stories.tsx +45 -45
  178. package/src/components/LinksTabBar/LinksTabBar.tsx +14 -14
  179. package/src/components/LinksTabBar/LinksTabBarBase.tsx +36 -36
  180. package/src/components/LinksTabBar/index.ts +2 -2
  181. package/src/components/LinksTabBar/stories/decorators.tsx +34 -34
  182. package/src/components/LinksTabBar/stories/mockData.ts +27 -27
  183. package/src/components/LinksTabBar/types.ts +12 -12
  184. package/src/components/ListGoals/ListGoals.spec.tsx +82 -82
  185. package/src/components/ListGoals/ListGoals.stories.tsx +58 -58
  186. package/src/components/ListGoals/ListGoals.tsx +29 -29
  187. package/src/components/ListGoals/ListGoalsCard.tsx +61 -61
  188. package/src/components/ListGoals/index.ts +2 -2
  189. package/src/components/ListGoals/styles.tsx +11 -11
  190. package/src/components/ListGoals/types.ts +25 -25
  191. package/src/components/MealNutrients/MealNutrients.e2e.ts +68 -68
  192. package/src/components/MealNutrients/MealNutrients.spec.tsx +134 -134
  193. package/src/components/MealNutrients/MealNutrients.stories.tsx +37 -37
  194. package/src/components/MealNutrients/MealNutrients.tsx +84 -84
  195. package/src/components/MealNutrients/MealNutrientsLineChart.tsx +87 -87
  196. package/src/components/MealNutrients/MealNutrientsTooltip.tsx +30 -30
  197. package/src/components/MealNutrients/chartDefaultConfig.tsx +87 -87
  198. package/src/components/MealNutrients/index.tsx +2 -2
  199. package/src/components/MealNutrients/mockMealNutrientsRequest.ts +1246 -1246
  200. package/src/components/MealNutrients/types.ts +37 -37
  201. package/src/components/MealNutrients/useChartConfig.ts +69 -69
  202. package/src/components/MealPlanner/MealPlanner.spec.tsx +77 -77
  203. package/src/components/MealPlanner/MealPlanner.stories.tsx +15 -15
  204. package/src/components/MealPlanner/MealPlanner.tsx +100 -100
  205. package/src/components/MealPlanner/MealPlannerBadge.tsx +15 -15
  206. package/src/components/MealPlanner/MealPlannerBars.tsx +19 -19
  207. package/src/components/MealPlanner/MealPlannerCard.tsx +73 -73
  208. package/src/components/MealPlanner/MealPlannerLegends.tsx +22 -22
  209. package/src/components/MealPlanner/index.ts +2 -2
  210. package/src/components/MealPlanner/mockMealPlannerRequest.ts +70 -70
  211. package/src/components/MealPlanner/types.ts +21 -21
  212. package/src/components/NavBar/NavBar.e2e.ts +64 -64
  213. package/src/components/NavBar/NavBar.stories.tsx +86 -86
  214. package/src/components/NavBar/NavBar.tsx +41 -46
  215. package/src/components/NavBar/NavBarBase.ts +45 -45
  216. package/src/components/NavBar/NavBarItem.ts +13 -13
  217. package/src/components/NavBar/NavBarLink.ts +27 -27
  218. package/src/components/NavBar/NavBarList.ts +16 -16
  219. package/src/components/NavBar/NavBarWrapper.ts +40 -40
  220. package/src/components/NavBar/NavToggle.tsx +36 -36
  221. package/src/components/NavBar/NavToggleWrapper.ts +21 -21
  222. package/src/components/NavBar/index.ts +2 -2
  223. package/src/components/NavBar/types.ts +22 -22
  224. package/src/components/NotificationCard/NotificationCard.spec.tsx +113 -113
  225. package/src/components/NotificationCard/NotificationCard.stories.tsx +112 -112
  226. package/src/components/NotificationCard/NotificationCard.tsx +95 -95
  227. package/src/components/NotificationCard/index.ts +2 -2
  228. package/src/components/NotificationCard/styles.tsx +134 -134
  229. package/src/components/NotificationCard/types.ts +12 -12
  230. package/src/components/NotificationMenu/NotificationMenu.e2e.ts +27 -27
  231. package/src/components/NotificationMenu/NotificationMenu.spec.tsx +64 -64
  232. package/src/components/NotificationMenu/NotificationMenu.tsx +77 -77
  233. package/src/components/NotificationMenu/helpers.ts +91 -91
  234. package/src/components/NotificationMenu/index.ts +2 -2
  235. package/src/components/NotificationMenu/stories/NotificationMenu.stories.tsx +14 -14
  236. package/src/components/NotificationMenu/stories/StoryComponent.tsx +84 -84
  237. package/src/components/NotificationMenu/stories/StoryContent.tsx +52 -52
  238. package/src/components/NotificationMenu/styles.ts +125 -125
  239. package/src/components/NotificationMenu/types.ts +11 -11
  240. package/src/components/Pagination/ArrowButton.tsx +32 -32
  241. package/src/components/Pagination/Pagination.e2e.ts +51 -51
  242. package/src/components/Pagination/Pagination.spec.tsx +228 -228
  243. package/src/components/Pagination/Pagination.stories.tsx +60 -60
  244. package/src/components/Pagination/Pagination.tsx +66 -66
  245. package/src/components/Pagination/PaginationButtons.tsx +63 -63
  246. package/src/components/Pagination/PaginationContext.tsx +20 -20
  247. package/src/components/Pagination/index.ts +3 -3
  248. package/src/components/Pagination/styles.tsx +98 -98
  249. package/src/components/Pagination/types.ts +38 -38
  250. package/src/components/PieChart/PieChart.spec.tsx +97 -97
  251. package/src/components/PieChart/PieChart.stories.tsx +129 -129
  252. package/src/components/PieChart/PieChart.tsx +40 -40
  253. package/src/components/PieChart/PieChartBases.tsx +26 -26
  254. package/src/components/PieChart/PieChartLegend.tsx +51 -51
  255. package/src/components/PieChart/PieChartLegendList.tsx +19 -19
  256. package/src/components/PieChart/PieChartLegendMarker.tsx +12 -12
  257. package/src/components/PieChart/colorPalettes.ts +28 -28
  258. package/src/components/PieChart/index.ts +4 -4
  259. package/src/components/PieChart/stories/fixtures.ts +39 -39
  260. package/src/components/PieChart/types.ts +28 -28
  261. package/src/components/ProgressInfo/ProgressInfo.e2e.ts +31 -31
  262. package/src/components/ProgressInfo/ProgressInfo.spec.tsx +91 -91
  263. package/src/components/ProgressInfo/ProgressInfo.stories.tsx +32 -32
  264. package/src/components/ProgressInfo/ProgressInfo.tsx +117 -117
  265. package/src/components/ProgressInfo/ProgressInfoTotals.tsx +60 -60
  266. package/src/components/ProgressInfo/index.ts +3 -3
  267. package/src/components/ProgressInfo/mockProgressInfoRequest.ts +166 -166
  268. package/src/components/ProgressInfo/styles.ts +20 -20
  269. package/src/components/ProgressInfo/types.ts +29 -29
  270. package/src/components/SearchBox/SearchBox.e2e.ts +37 -37
  271. package/src/components/SearchBox/SearchBox.spec.tsx +77 -77
  272. package/src/components/SearchBox/SearchBox.tsx +70 -70
  273. package/src/components/SearchBox/SearchBoxCrossIcon.tsx +26 -26
  274. package/src/components/SearchBox/SearchBoxInput.tsx +42 -42
  275. package/src/components/SearchBox/SearchBoxWrapper.tsx +9 -9
  276. package/src/components/SearchBox/index.ts +4 -4
  277. package/src/components/SearchBox/stories/SearchBox.stories.tsx +16 -16
  278. package/src/components/SearchBox/stories/StoryComponent.tsx +25 -25
  279. package/src/components/SearchBox/types.ts +9 -9
  280. package/src/components/StepsCounter/StepsCounter.spec.tsx +14 -14
  281. package/src/components/StepsCounter/StepsCounter.stories.tsx +16 -16
  282. package/src/components/StepsCounter/StepsCounter.tsx +74 -74
  283. package/src/components/StepsCounter/index.ts +2 -2
  284. package/src/components/StepsCounter/types.ts +4 -4
  285. package/src/components/TableFilters/TableFilterCancelButton.tsx +39 -39
  286. package/src/components/TableFilters/TableFilterCheckbox.tsx +24 -24
  287. package/src/components/TableFilters/TableFilterClearButton.tsx +47 -47
  288. package/src/components/TableFilters/TableFilterTrigger.tsx +66 -66
  289. package/src/components/TableFilters/TableFilterTriggerWithNotification.tsx +44 -44
  290. package/src/components/TableFilters/TableFilters.e2e.ts +32 -32
  291. package/src/components/TableFilters/TableFilters.spec.tsx +171 -171
  292. package/src/components/TableFilters/TableFilters.tsx +187 -187
  293. package/src/components/TableFilters/TableFiltersAccordion.tsx +14 -14
  294. package/src/components/TableFilters/TableFiltersAccordionContent.tsx +18 -18
  295. package/src/components/TableFilters/TableFiltersButtons.tsx +32 -32
  296. package/src/components/TableFilters/hooks/useTableData.ts +137 -137
  297. package/src/components/TableFilters/index.ts +9 -9
  298. package/src/components/TableFilters/stories/StoryComponent.tsx +35 -35
  299. package/src/components/TableFilters/stories/TableFilters.stories.tsx +17 -17
  300. package/src/components/TableFilters/stories/TableFiltersWrapper.tsx +7 -7
  301. package/src/components/TableFilters/stories/mockData.tsx +114 -114
  302. package/src/components/TableFilters/styles.ts +26 -26
  303. package/src/components/TableFilters/types.ts +34 -34
  304. package/src/components/TableFilters/utils/handlers.ts +73 -73
  305. package/src/components/TradingInfoCard/TradingInfoCard.e2e.ts +16 -16
  306. package/src/components/TradingInfoCard/TradingInfoCard.spec.tsx +116 -116
  307. package/src/components/TradingInfoCard/TradingInfoCard.stories.tsx +118 -118
  308. package/src/components/TradingInfoCard/TradingInfoCard.tsx +43 -43
  309. package/src/components/TradingInfoCard/TradingInfoCardContent.tsx +32 -32
  310. package/src/components/TradingInfoCard/TradingInfoCardTooltip.tsx +47 -47
  311. package/src/components/TradingInfoCard/TradingInfoCardWrapper.tsx +72 -72
  312. package/src/components/TradingInfoCard/index.ts +3 -3
  313. package/src/components/TradingInfoCard/types.ts +27 -27
  314. package/src/components/TradingScoreboard/TradingScoreboard.spec.tsx +119 -119
  315. package/src/components/TradingScoreboard/TradingScoreboard.stories.tsx +119 -119
  316. package/src/components/TradingScoreboard/TradingScoreboard.tsx +41 -41
  317. package/src/components/TradingScoreboard/TradingScoreboardBase.tsx +17 -17
  318. package/src/components/TradingScoreboard/helpers.tsx +134 -134
  319. package/src/components/TradingScoreboard/index.ts +2 -2
  320. package/src/components/TradingScoreboard/types.ts +18 -18
  321. package/src/components/UpcomingWorkouts/UpcomingWorkoutCard.tsx +64 -64
  322. package/src/components/UpcomingWorkouts/UpcomingWorkouts.spec.tsx +56 -56
  323. package/src/components/UpcomingWorkouts/UpcomingWorkouts.stories.tsx +32 -32
  324. package/src/components/UpcomingWorkouts/UpcomingWorkouts.tsx +27 -27
  325. package/src/components/UpcomingWorkouts/index.ts +2 -2
  326. package/src/components/UpcomingWorkouts/style.ts +12 -12
  327. package/src/components/UpcomingWorkouts/types.ts +23 -23
  328. package/src/components/UserCard/UserCard.tsx +46 -46
  329. package/src/components/UserCard/UserCardBMI.tsx +37 -37
  330. package/src/components/UserCard/UserCardCredentials.tsx +56 -56
  331. package/src/components/UserCard/UserCardItem.tsx +42 -42
  332. package/src/components/UserCard/index.tsx +2 -2
  333. package/src/components/UserCard/types.ts +8 -8
  334. package/src/components/UserProfile/UserProfile.e2e.ts +21 -21
  335. package/src/components/UserProfile/UserProfile.spec.tsx +107 -107
  336. package/src/components/UserProfile/UserProfile.stories.tsx +21 -21
  337. package/src/components/UserProfile/UserProfile.tsx +53 -53
  338. package/src/components/UserProfile/index.ts +2 -2
  339. package/src/components/UserProfile/styles.ts +47 -47
  340. package/src/components/UserProfile/types.ts +8 -8
  341. package/src/components/WaterConsume/WaterConsume.spec.tsx +62 -62
  342. package/src/components/WaterConsume/WaterConsume.stories.tsx +36 -36
  343. package/src/components/WaterConsume/WaterConsume.tsx +188 -188
  344. package/src/components/WaterConsume/index.ts +2 -2
  345. package/src/components/WaterConsume/types.ts +11 -11
  346. package/src/consts.ts +18 -18
  347. package/src/index.ts +53 -53
  348. package/src/injectGlobal.ts +41 -41
  349. package/tsbuildcache +1 -1
  350. package/tsconfig.build.json +44 -44
  351. package/tsconfig.json +17 -17
  352. package/webpack.config.js +28 -28
  353. package/custom-shots/widgets-bots-table--no-control-orders--menu-opened_[w1920px].png +0 -0
  354. package/custom-shots/widgets-bots-table--no-control-orders--run-reason-modal_[w1920px].png +0 -0
  355. package/custom-shots/widgets-collapsiblenavbar-opened__[w1439px].png +0 -0
  356. package/custom-shots/widgets-collapsiblenavbar-opened__[w1439px]_statistics_submenu_popover.png +0 -0
  357. package/custom-shots/widgets-collapsiblenavbar-opened__[w1920px].png +0 -0
  358. package/custom-shots/widgets-collapsiblenavbar-opened__[w1920px]_side_menu_expanded.png +0 -0
  359. package/custom-shots/widgets-collapsiblenavbar-opened__[w1920px]_statistics_submenu_expanded.png +0 -0
  360. package/custom-shots/widgets-collapsiblenavbar-opened__[w1920px]_statistics_submenu_popover.png +0 -0
  361. package/custom-shots/widgets-collapsiblenavbar-opened__[w899px]_default.png +0 -0
  362. package/custom-shots/widgets-collapsiblenavbar-opened__[w899px]_menu_opened.png +0 -0
  363. package/custom-shots/widgets-collapsiblenavbar-opened__[w899px]_statistics_submenu.png +0 -0
  364. package/custom-shots/widgets-filters--default__[w1920px].png +0 -0
  365. package/custom-shots/widgets-filters--filter-button-items-not-selected__[w390px].png +0 -0
  366. package/custom-shots/widgets-filters--filter-button__[w390px].png +0 -0
  367. package/custom-shots/widgets-filters--filter-button__[w900px].png +0 -0
  368. package/custom-shots/widgets-filters--more-button-items-selected__[w390px].png +0 -0
  369. package/custom-shots/widgets-filters--more-button__[w900px].png +0 -0
  370. package/custom-shots/widgets-heart-rate--hint-opened__[w1440px].png +0 -0
  371. package/custom-shots/widgets-heart-rate--hint-opened__[w1920px].png +0 -0
  372. package/custom-shots/widgets-heart-rate--hint-opened__[w390px].png +0 -0
  373. package/custom-shots/widgets-heart-rate--hint-opened__[w900px].png +0 -0
  374. package/custom-shots/widgets-linkstabbar--current-focus__[w1920px].png +0 -0
  375. package/custom-shots/widgets-linkstabbar--non-current-focus__[w1920px].png +0 -0
  376. package/custom-shots/widgets-meal-nutrients--hint-opened__[w1440px].png +0 -0
  377. package/custom-shots/widgets-meal-nutrients--hint-opened__[w1920px].png +0 -0
  378. package/custom-shots/widgets-meal-nutrients--hint-opened__[w390px].png +0 -0
  379. package/custom-shots/widgets-meal-nutrients--hint-opened__[w900px].png +0 -0
  380. package/custom-shots/widgets-meal-nutrients--hint-opened__dropdown__[w1440px].png +0 -0
  381. package/custom-shots/widgets-meal-nutrients--hint-opened__dropdown__[w1920px].png +0 -0
  382. package/custom-shots/widgets-meal-nutrients--hint-opened__dropdown__[w390px].png +0 -0
  383. package/custom-shots/widgets-meal-nutrients--hint-opened__dropdown__[w900px].png +0 -0
  384. package/custom-shots/widgets-navbar--mobile-opened__[w1440px].png +0 -0
  385. package/custom-shots/widgets-navbar--mobile-opened__[w1920px].png +0 -0
  386. package/custom-shots/widgets-navbar--mobile-opened__[w390px].png +0 -0
  387. package/custom-shots/widgets-navbar--mobile-opened__[w900px].png +0 -0
  388. package/custom-shots/widgets-navbar-opened__[w1440px].png +0 -0
  389. package/custom-shots/widgets-navbar-opened__[w1920px].png +0 -0
  390. package/custom-shots/widgets-navbar-opened__[w390px].png +0 -0
  391. package/custom-shots/widgets-navbar-opened__[w900px].png +0 -0
  392. package/custom-shots/widgets-notification-menu--is-opened__[w1440px].png +0 -0
  393. package/custom-shots/widgets-notification-menu--is-opened__[w1920px].png +0 -0
  394. package/custom-shots/widgets-notification-menu--is-opened__[w390px].png +0 -0
  395. package/custom-shots/widgets-notification-menu--is-opened__[w900px].png +0 -0
  396. package/custom-shots/widgets-pagination--next-hover__[w1920px].png +0 -0
  397. package/custom-shots/widgets-pagination--not-selected-hover__[w1920px].png +0 -0
  398. package/custom-shots/widgets-pagination--previous-hover__[w1920px].png +0 -0
  399. package/custom-shots/widgets-pagination--selected-hover__[w1920px].png +0 -0
  400. package/custom-shots/widgets-pagination-disabled--next-hover__[w1920px].png +0 -0
  401. package/custom-shots/widgets-pagination-disabled--not-selected-hover__[w1920px].png +0 -0
  402. package/custom-shots/widgets-pagination-disabled--previous-hover__[w1920px].png +0 -0
  403. package/custom-shots/widgets-pagination-disabled--selected-hover__[w1920px].png +0 -0
  404. package/custom-shots/widgets-progressInfo__[w1440px].png +0 -0
  405. package/custom-shots/widgets-progressInfo__[w1920px].png +0 -0
  406. package/custom-shots/widgets-progressInfo__[w390px].png +0 -0
  407. package/custom-shots/widgets-progressInfo__[w900px].png +0 -0
  408. package/custom-shots/widgets-progressInfo__dropdown__[w1440px].png +0 -0
  409. package/custom-shots/widgets-progressInfo__dropdown__[w1920px].png +0 -0
  410. package/custom-shots/widgets-progressInfo__dropdown__[w390px].png +0 -0
  411. package/custom-shots/widgets-progressInfo__dropdown__[w900px].png +0 -0
  412. package/custom-shots/widgets-searchbox--cross-icon__[w1920px].png +0 -0
  413. package/custom-shots/widgets-searchbox--cross-icon__[w900px].png +0 -0
  414. package/custom-shots/widgets-searchbox--search-icon__[w1920px].png +0 -0
  415. package/custom-shots/widgets-searchbox--search-icon__[w900px].png +0 -0
  416. package/custom-shots/widgets-table-bots--default_[w1920px].png +0 -0
  417. package/custom-shots/widgets-table-bots--menu-opened_[w1920px].png +0 -0
  418. package/custom-shots/widgets-table-bots--no-control-orders--menu-opened_[w1920px].png +0 -0
  419. package/custom-shots/widgets-table-bots--no-control-orders--run-reason-modal_[w1920px].png +0 -0
  420. package/custom-shots/widgets-table-bots--run-reason-modal_[w1920px].png +0 -0
  421. package/custom-shots/widgets-table-filters--opened__[w1920px].png +0 -0
  422. package/custom-shots/widgets-trading-info-card--hover__[w1920px].png +0 -0
  423. package/custom-shots/widgets-user-profile--is-opened__[w1920px].png +0 -0
  424. package/storybook-static/106.9e8cbea9.iframe.bundle.js +0 -1
  425. package/storybook-static/134.2444003c.iframe.bundle.js +0 -1
  426. package/storybook-static/166.927d7b90.iframe.bundle.js +0 -1
  427. package/storybook-static/185.4df02b5b.iframe.bundle.js +0 -139
  428. package/storybook-static/185.4df02b5b.iframe.bundle.js.map +0 -1
  429. package/storybook-static/251.8c3ebcca.iframe.bundle.js +0 -1
  430. package/storybook-static/263.0a5aa731.iframe.bundle.js +0 -1
  431. package/storybook-static/283.258a25c8.iframe.bundle.js +0 -1
  432. package/storybook-static/326.7772ae66.iframe.bundle.js +0 -1
  433. package/storybook-static/494.f5410ab1.iframe.bundle.js +0 -2
  434. package/storybook-static/494.f5410ab1.iframe.bundle.js.LICENSE.txt +0 -18
  435. package/storybook-static/497.7e0c2fc7.iframe.bundle.js +0 -44
  436. package/storybook-static/497.7e0c2fc7.iframe.bundle.js.map +0 -1
  437. package/storybook-static/540.17a57e0e.iframe.bundle.js +0 -1
  438. package/storybook-static/547.951a46da.iframe.bundle.js +0 -1
  439. package/storybook-static/609.f12a4891.iframe.bundle.js +0 -1
  440. package/storybook-static/620.61fd9060.iframe.bundle.js +0 -1
  441. package/storybook-static/633.947e8b75.iframe.bundle.js +0 -1
  442. package/storybook-static/661.14057bc5.iframe.bundle.js +0 -1
  443. package/storybook-static/753.91179890.iframe.bundle.js +0 -1
  444. package/storybook-static/76.25b4aa80.iframe.bundle.js +0 -1
  445. package/storybook-static/767.1716b836.iframe.bundle.js +0 -1
  446. package/storybook-static/781.3faed4b1.iframe.bundle.js +0 -2
  447. package/storybook-static/781.3faed4b1.iframe.bundle.js.LICENSE.txt +0 -32
  448. package/storybook-static/906.a25e1330.iframe.bundle.js +0 -402
  449. package/storybook-static/906.a25e1330.iframe.bundle.js.LICENSE.txt +0 -62
  450. package/storybook-static/906.a25e1330.iframe.bundle.js.map +0 -1
  451. package/storybook-static/912.a84a00a8.iframe.bundle.js +0 -1
  452. package/storybook-static/973.d2780faa.iframe.bundle.js +0 -1
  453. package/storybook-static/979.9baaf9d9.iframe.bundle.js +0 -1
  454. package/storybook-static/995.818e1781.iframe.bundle.js +0 -1
  455. package/storybook-static/components-Activity-Activity-stories.1f2220be.iframe.bundle.js +0 -1
  456. package/storybook-static/components-Bmi-Bmi-stories.033dba0e.iframe.bundle.js +0 -1
  457. package/storybook-static/components-Calories-Calories-stories.61da75cb.iframe.bundle.js +0 -1
  458. package/storybook-static/components-CardList-CardList-stories.caaffeda.iframe.bundle.js +0 -1
  459. package/storybook-static/components-HeartRate-HeartRate-stories.bd133239.iframe.bundle.js +0 -1
  460. package/storybook-static/components-ListGoals-ListGoals-stories.e68d5cbf.iframe.bundle.js +0 -1
  461. package/storybook-static/components-MealNutrients-MealNutrients-stories.7e46bd1e.iframe.bundle.js +0 -1
  462. package/storybook-static/components-MealPlanner-MealPlanner-stories.4b8341d3.iframe.bundle.js +0 -1
  463. package/storybook-static/components-NavBar-NavBar-stories.4f37096a.iframe.bundle.js +0 -1
  464. package/storybook-static/components-Pagination-Pagination-stories.2fd0c446.iframe.bundle.js +0 -1
  465. package/storybook-static/components-ProgressInfo-ProgressInfo-stories.665cee18.iframe.bundle.js +0 -1
  466. package/storybook-static/components-StepsCounter-StepsCounter-stories.b87bd065.iframe.bundle.js +0 -1
  467. package/storybook-static/components-TableFilters-stories-TableFilters-stories.24c4f9e8.iframe.bundle.js +0 -1
  468. package/storybook-static/components-UpcomingWorkouts-UpcomingWorkouts-stories.fab18fcf.iframe.bundle.js +0 -1
  469. package/storybook-static/components-WaterConsume-WaterConsume-stories.5dae388e.iframe.bundle.js +0 -1
  470. package/storybook-static/favicon.svg +0 -7
  471. package/storybook-static/iframe.html +0 -355
  472. package/storybook-static/index.html +0 -126
  473. package/storybook-static/index.json +0 -1
  474. package/storybook-static/main.c21822d8.iframe.bundle.js +0 -1
  475. package/storybook-static/project.json +0 -1
  476. package/storybook-static/runtime~main.b259f462.iframe.bundle.js +0 -1
  477. package/storybook-static/sb-addons/essentials-actions-2/manager-bundle.js +0 -4
  478. package/storybook-static/sb-addons/essentials-actions-2/manager-bundle.js.LEGAL.txt +0 -0
  479. package/storybook-static/sb-addons/essentials-actions-2/manager-bundle.js.map +0 -7
  480. package/storybook-static/sb-addons/essentials-backgrounds-3/manager-bundle.js +0 -13
  481. package/storybook-static/sb-addons/essentials-backgrounds-3/manager-bundle.js.LEGAL.txt +0 -0
  482. package/storybook-static/sb-addons/essentials-backgrounds-3/manager-bundle.js.map +0 -7
  483. package/storybook-static/sb-addons/essentials-controls-1/manager-bundle.js +0 -115
  484. package/storybook-static/sb-addons/essentials-controls-1/manager-bundle.js.LEGAL.txt +0 -18
  485. package/storybook-static/sb-addons/essentials-controls-1/manager-bundle.js.map +0 -7
  486. package/storybook-static/sb-addons/essentials-measure-6/manager-bundle.js +0 -4
  487. package/storybook-static/sb-addons/essentials-measure-6/manager-bundle.js.LEGAL.txt +0 -0
  488. package/storybook-static/sb-addons/essentials-measure-6/manager-bundle.js.map +0 -7
  489. package/storybook-static/sb-addons/essentials-outline-7/manager-bundle.js +0 -4
  490. package/storybook-static/sb-addons/essentials-outline-7/manager-bundle.js.LEGAL.txt +0 -0
  491. package/storybook-static/sb-addons/essentials-outline-7/manager-bundle.js.map +0 -7
  492. package/storybook-static/sb-addons/essentials-toolbars-5/manager-bundle.js +0 -4
  493. package/storybook-static/sb-addons/essentials-toolbars-5/manager-bundle.js.LEGAL.txt +0 -0
  494. package/storybook-static/sb-addons/essentials-toolbars-5/manager-bundle.js.map +0 -7
  495. package/storybook-static/sb-addons/essentials-viewport-4/manager-bundle.js +0 -4
  496. package/storybook-static/sb-addons/essentials-viewport-4/manager-bundle.js.LEGAL.txt +0 -0
  497. package/storybook-static/sb-addons/essentials-viewport-4/manager-bundle.js.map +0 -7
  498. package/storybook-static/sb-addons/interactions-8/manager-bundle.js +0 -28
  499. package/storybook-static/sb-addons/interactions-8/manager-bundle.js.LEGAL.txt +0 -0
  500. package/storybook-static/sb-addons/interactions-8/manager-bundle.js.map +0 -7
  501. package/storybook-static/sb-addons/links-0/manager-bundle.js +0 -4
  502. package/storybook-static/sb-addons/links-0/manager-bundle.js.LEGAL.txt +0 -0
  503. package/storybook-static/sb-addons/links-0/manager-bundle.js.map +0 -7
  504. package/storybook-static/sb-common-assets/fonts.css +0 -31
  505. package/storybook-static/sb-common-assets/nunito-sans-bold-italic.woff2 +0 -0
  506. package/storybook-static/sb-common-assets/nunito-sans-bold.woff2 +0 -0
  507. package/storybook-static/sb-common-assets/nunito-sans-italic.woff2 +0 -0
  508. package/storybook-static/sb-common-assets/nunito-sans-regular.woff2 +0 -0
  509. package/storybook-static/sb-manager/CRUD-I5EZL2FS-LBZVDZXV.js +0 -1
  510. package/storybook-static/sb-manager/Communicate-7JXCND2Z-6SIVXWT4.js +0 -1
  511. package/storybook-static/sb-manager/Devices-SUYACUPO-DMGV6ENX.js +0 -1
  512. package/storybook-static/sb-manager/Documents-SGWAY3KW-XZRZ6I6S.js +0 -1
  513. package/storybook-static/sb-manager/Editing-7QFB6ZMG-J5U6QGB6.js +0 -1
  514. package/storybook-static/sb-manager/Git-DZ2D5ZUL-VKBWYJHE.js +0 -1
  515. package/storybook-static/sb-manager/GlobalScrollAreaStyles-4LLX2B3H-DOBSPBNW.js +0 -7
  516. package/storybook-static/sb-manager/Images-S2WTXNGG-NXAYS4VP.js +0 -1
  517. package/storybook-static/sb-manager/Logos-SJTNNI74-F3IVL4UV.js +0 -1
  518. package/storybook-static/sb-manager/OS-YZ2Y4VYS-KGSGCOHC.js +0 -1
  519. package/storybook-static/sb-manager/OverlayScrollbars-OL4C4TVX-FNYA4OIC.js +0 -1
  520. package/storybook-static/sb-manager/People-OD4EV7WZ-DBPUNUXW.js +0 -1
  521. package/storybook-static/sb-manager/Wayfinding-BB4H7CHP-N2QAVLVA.js +0 -1
  522. package/storybook-static/sb-manager/WithTooltip-YBG737T3-GLWUADFI.js +0 -1
  523. package/storybook-static/sb-manager/chunk-6KNXZZZ5.js +0 -207
  524. package/storybook-static/sb-manager/chunk-DP4DR4LA.js +0 -15
  525. package/storybook-static/sb-manager/chunk-GBCXFRBK.js +0 -1
  526. package/storybook-static/sb-manager/chunk-IFNK3PLJ.js +0 -1
  527. package/storybook-static/sb-manager/chunk-JMPBYCHU.js +0 -1
  528. package/storybook-static/sb-manager/chunk-JSPL73I3.js +0 -1
  529. package/storybook-static/sb-manager/chunk-SJD7EFYL.js +0 -136
  530. package/storybook-static/sb-manager/chunk-UBXIQABM.js +0 -447
  531. package/storybook-static/sb-manager/chunk-V7GYLJLR.js +0 -7
  532. package/storybook-static/sb-manager/chunk-Z4NRYNHR.js +0 -1
  533. package/storybook-static/sb-manager/formatter-6736J7QO-TGL2ZGQC.js +0 -156
  534. package/storybook-static/sb-manager/globals.js +0 -1
  535. package/storybook-static/sb-manager/index.js +0 -1
  536. package/storybook-static/sb-manager/runtime.js +0 -1
  537. package/storybook-static/sb-manager/syntaxhighlighter-4OVWVELQ-5IZ45DZY.js +0 -1
  538. package/storybook-static/sb-preview/globals.js +0 -1
  539. package/storybook-static/sb-preview/runtime.js +0 -105
  540. package/storybook-static/stories.json +0 -1
  541. package/tsconfig.tsbuildinfo +0 -1
@@ -1 +0,0 @@
1
- "use strict";(self.webpackChunk_ssa_ui_kit_widgets=self.webpackChunk_ssa_ui_kit_widgets||[]).push([[919],{"./src/components/UpcomingWorkouts/UpcomingWorkouts.stories.tsx":function(__unused_webpack_module,__webpack_exports__,__webpack_require__){__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{Default:function(){return Default},__namedExportsOrder:function(){return __namedExportsOrder},default:function(){return UpcomingWorkouts_stories}});var react=__webpack_require__("../../node_modules/.pnpm/react@18.2.0/node_modules/react/index.js"),CardList=__webpack_require__("./src/components/CardList/CardList.tsx"),emotion_element_c39617d8_browser_esm=__webpack_require__("../../node_modules/.pnpm/@emotion+react@11.11.1_@types+react@18.2.8_react@18.2.0/node_modules/@emotion/react/dist/emotion-element-c39617d8.browser.esm.js"),dist=__webpack_require__("../core/dist/index.js");var _ref={name:"1g7ta9s",styles:"display:flex;justify-content:space-between;align-items:center;width:100%;padding-left:15px"};const contentWrapper=()=>_ref;var emotion_react_browser_esm=__webpack_require__("../../node_modules/.pnpm/@emotion+react@11.11.1_@types+react@18.2.8_react@18.2.0/node_modules/@emotion/react/dist/emotion-react.browser.esm.js");var UpcomingWorkoutCard_ref={name:"10ava9y",styles:"width:calc(100% - 42px)"};const UpcomingWorkoutCard=({image:image,title:title,workoutTime:workoutTime,renderDetails:renderDetails,onClick:onClick})=>{const theme=(0,emotion_element_c39617d8_browser_esm.u)();return(0,emotion_react_browser_esm.jsx)(dist.Card,{noShadow:!0},(0,emotion_react_browser_esm.jsx)(dist.Wrapper,{direction:"row"},(0,emotion_react_browser_esm.jsx)(dist.Avatar,{size:42,image:image}),(0,emotion_react_browser_esm.jsx)(dist.CardContent,{css:UpcomingWorkoutCard_ref},(0,emotion_react_browser_esm.jsx)(dist.Wrapper,{direction:"column"},(0,emotion_react_browser_esm.jsx)("div",{css:contentWrapper},(0,emotion_react_browser_esm.jsx)(dist.Typography,{variant:"h6"},title),(0,emotion_react_browser_esm.jsx)(dist.Button,{endIcon:(0,emotion_react_browser_esm.jsx)(dist.Icon,{name:"more"}),variant:"tertiary",size:"small",onClick:onClick})),(0,emotion_react_browser_esm.jsx)("div",{css:contentWrapper},(0,emotion_react_browser_esm.jsx)(dist.Typography,{variant:"subtitle",color:theme.colors.greyDarker60,as:"p"},renderDetails()),(0,emotion_react_browser_esm.jsx)(dist.Typography,{variant:"subtitle",as:"p"},workoutTime))))))};UpcomingWorkoutCard.displayName="UpcomingWorkoutCard";try{UpcomingWorkoutCard.displayName="UpcomingWorkoutCard",UpcomingWorkoutCard.__docgenInfo={description:"\nUI Component that use CardList to render a list of upcoming workouts",displayName:"UpcomingWorkoutCard",props:{image:{defaultValue:null,description:"",name:"image",required:!0,type:{name:"string"}},title:{defaultValue:null,description:"",name:"title",required:!0,type:{name:"string"}},workoutTime:{defaultValue:null,description:"",name:"workoutTime",required:!0,type:{name:"string"}},renderDetails:{defaultValue:null,description:"",name:"renderDetails",required:!0,type:{name:"() => ReactNode"}},onClick:{defaultValue:null,description:"",name:"onClick",required:!1,type:{name:"() => void"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/UpcomingWorkouts/UpcomingWorkoutCard.tsx#UpcomingWorkoutCard"]={docgenInfo:UpcomingWorkoutCard.__docgenInfo,name:"UpcomingWorkoutCard",path:"src/components/UpcomingWorkouts/UpcomingWorkoutCard.tsx#UpcomingWorkoutCard"})}catch(__react_docgen_typescript_loader_error){}const UpcomingWorkouts=({workouts:workouts})=>(0,emotion_react_browser_esm.jsx)(CardList.C,{title:"Upcoming Workout",items:workouts,renderItem:workout=>(0,emotion_react_browser_esm.jsx)(UpcomingWorkoutCard,{image:workout.image,title:workout.title,workoutTime:workout.workoutTime,onClick:workout.handleClick,renderDetails:()=>(0,emotion_react_browser_esm.jsx)(react.Fragment,null,(0,emotion_react_browser_esm.jsx)("strong",null,workout.details.exercises)," Exercises |"," ",(0,emotion_react_browser_esm.jsx)("strong",null,workout.details.minutes)," mins")})});UpcomingWorkouts.displayName="UpcomingWorkouts";try{UpcomingWorkouts.displayName="UpcomingWorkouts",UpcomingWorkouts.__docgenInfo={description:"",displayName:"UpcomingWorkouts",props:{workouts:{defaultValue:null,description:"",name:"workouts",required:!0,type:{name:"Workout[]"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/UpcomingWorkouts/UpcomingWorkouts.tsx#UpcomingWorkouts"]={docgenInfo:UpcomingWorkouts.__docgenInfo,name:"UpcomingWorkouts",path:"src/components/UpcomingWorkouts/UpcomingWorkouts.tsx#UpcomingWorkouts"})}catch(__react_docgen_typescript_loader_error){}var UpcomingWorkouts_stories={title:"Widgets/UpcomingWorkouts",component:UpcomingWorkouts};const Default=()=>(0,emotion_react_browser_esm.jsx)("div",{style:{background:"#f1f1f1",padding:20}},(0,emotion_react_browser_esm.jsx)(UpcomingWorkouts,{workouts:[{id:"cardio_training",image:"https://firebasestorage.googleapis.com/v0/b/admin-themes.appspot.com/o/img%2Fmat%2Fmat_42.png?alt=media&token=462a4e3c-4e57-4f76-aad3-97b72c75b4ff",title:"HIIT Cardio training",workoutTime:"8:00 AM",details:{exercises:40,minutes:20}}]}));Default.displayName="Default",Default.storyName="UpcomingWorkouts",Default.parameters={...Default.parameters,docs:{...Default.parameters?.docs,source:{originalSource:"() => {\n return <div style={{\n background: '#f1f1f1',\n padding: 20\n }}>\r\n <UpcomingWorkouts workouts={[{\n id: 'cardio_training',\n image: 'https://firebasestorage.googleapis.com/v0/b/admin-themes.appspot.com/o/img%2Fmat%2Fmat_42.png?alt=media&token=462a4e3c-4e57-4f76-aad3-97b72c75b4ff',\n title: 'HIIT Cardio training',\n workoutTime: '8:00 AM',\n details: {\n exercises: 40,\n minutes: 20\n }\n }]} />\r\n </div>;\n}",...Default.parameters?.docs?.source}}};const __namedExportsOrder=["Default"]},"./src/components/CardList/CardList.tsx":function(__unused_webpack_module,__webpack_exports__,__webpack_require__){__webpack_require__.d(__webpack_exports__,{C:function(){return CardList}});var react__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__("../../node_modules/.pnpm/react@18.2.0/node_modules/react/index.js"),_ssa_ui_kit_core__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__("../core/dist/index.js"),_emotion_react__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("../../node_modules/.pnpm/@emotion+react@11.11.1_@types+react@18.2.8_react@18.2.0/node_modules/@emotion/react/dist/emotion-react.browser.esm.js");var _ref={name:"1fgo50s",styles:"list-style:none;padding:0;li{margin-bottom:15px;}"};const CardList=({title:title,items:items,renderItem:renderItem})=>(0,_emotion_react__WEBPACK_IMPORTED_MODULE_1__.jsx)(react__WEBPACK_IMPORTED_MODULE_0__.Fragment,null,(0,_emotion_react__WEBPACK_IMPORTED_MODULE_1__.jsx)(_ssa_ui_kit_core__WEBPACK_IMPORTED_MODULE_2__.Typography,{variant:"h5",weight:"bold"},title),(0,_emotion_react__WEBPACK_IMPORTED_MODULE_1__.jsx)("ul",{css:_ref},Array.isArray(items)&&items.map((item=>(0,_emotion_react__WEBPACK_IMPORTED_MODULE_1__.jsx)("li",{key:item.id},renderItem(item))))));CardList.displayName="CardList";try{CardList.displayName="CardList",CardList.__docgenInfo={description:"\nUI Component that renders a list of items with a custom render function",displayName:"CardList",props:{title:{defaultValue:null,description:"",name:"title",required:!0,type:{name:"string"}},items:{defaultValue:null,description:"",name:"items",required:!0,type:{name:"ItemType[]"}},renderItem:{defaultValue:null,description:"",name:"renderItem",required:!0,type:{name:"(item: ItemType) => ReactNode"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/CardList/CardList.tsx#CardList"]={docgenInfo:CardList.__docgenInfo,name:"CardList",path:"src/components/CardList/CardList.tsx#CardList"})}catch(__react_docgen_typescript_loader_error){}}}]);
@@ -1 +0,0 @@
1
- "use strict";(self.webpackChunk_ssa_ui_kit_widgets=self.webpackChunk_ssa_ui_kit_widgets||[]).push([[641],{"./src/components/WaterConsume/WaterConsume.stories.tsx":function(__unused_webpack_module,__webpack_exports__,__webpack_require__){__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{Default:function(){return Default},__namedExportsOrder:function(){return __namedExportsOrder},default:function(){return WaterConsume_stories}});var emotion_react_browser_esm=__webpack_require__("../../node_modules/.pnpm/@emotion+react@11.11.1_@types+react@18.2.8_react@18.2.0/node_modules/@emotion/react/dist/emotion-react.browser.esm.js"),emotion_element_c39617d8_browser_esm=__webpack_require__("../../node_modules/.pnpm/@emotion+react@11.11.1_@types+react@18.2.8_react@18.2.0/node_modules/@emotion/react/dist/emotion-element-c39617d8.browser.esm.js"),dist=__webpack_require__("../core/dist/index.js");var _ref2={name:"7mn33w",styles:"flex:1 1 auto;margin-left:11.5px"};const CustomConnector=({active:active,completed:completed})=>{const theme=(0,emotion_element_c39617d8_browser_esm.u)();return(0,emotion_react_browser_esm.jsx)("div",{css:_ref2},(0,emotion_react_browser_esm.jsx)("span",{css:(0,emotion_react_browser_esm.css)("display:block;border-color:",active||completed?theme.colors.blueLightLighter:theme.colors.greyDarker60,";border-left-style:dashed;border-left-width:1px;min-height:20px;","","")}))};CustomConnector.displayName="CustomConnector";const CustomStep=props=>{const{active:active,completed:completed}=props,theme=(0,emotion_element_c39617d8_browser_esm.u)();return(0,emotion_react_browser_esm.jsx)("div",{css:(0,emotion_react_browser_esm.css)("width:6px;height:6px;background-color:",active||completed?theme.colors.blueLightLighter:theme.colors.greyDarker60,";border-radius:50%;","","")})};CustomStep.displayName="CustomStep";var _ref={name:"1paxtit",styles:"box-shadow:0 10px 40px rgba(42, 48, 57, 0.08);border-radius:20px"},_ref3={name:"1n5h93v",styles:"width:100%;justify-content:center;align-items:stretch"};const WaterConsume=({minValue:minValue=0,maxValue:maxValue=100,currentValue:currentValue,active:active,steps:steps,unit:unit="%"})=>{const theme=(0,emotion_element_c39617d8_browser_esm.u)(),currentPercentage=Math.round(100*currentValue/maxValue);return(0,emotion_react_browser_esm.jsx)(dist.Card,{css:_ref},(0,emotion_react_browser_esm.jsx)(dist.CardHeader,{icon:(0,emotion_react_browser_esm.jsx)(dist.ResponsiveImage,{css:(0,emotion_react_browser_esm.css)({filter:`drop-shadow(0px 5px 5px ${theme.colors.grey})`},"",""),srcSet:"https://firebasestorage.googleapis.com/v0/b/admin-themes.appspot.com/o/img%2Fwater%2Fwater_64.png?alt=media&token=2abf9f9c-2159-4235-856c-f054783a007d 64w, https://firebasestorage.googleapis.com/v0/b/admin-themes.appspot.com/o/img%2Fwater%2Fwater_48.png?alt=media&token=abc1e619-940a-4fc0-9f83-ef0a998464f2 48w",sizes:"(min-width: 1440px) 64px, 48px",src:"https://firebasestorage.googleapis.com/v0/b/admin-themes.appspot.com/o/img%2Fwater%2Fwater_48.png?alt=media&token=abc1e619-940a-4fc0-9f83-ef0a998464f2",alt:"Water"})},(0,emotion_react_browser_esm.jsx)(dist.Typography,{variant:"h6",weight:"bold"},"Water")),(0,emotion_react_browser_esm.jsx)(dist.CardContent,{css:_ref3},(0,emotion_react_browser_esm.jsx)("div",{style:{fontSize:14,marginRight:"15px"}},(0,emotion_react_browser_esm.jsx)(dist.ProgressVertical,null,(0,emotion_react_browser_esm.jsx)(dist.ProgressLegend,null,(0,emotion_react_browser_esm.jsx)(dist.ProgressLegendItem,{position:"end",percentage:100},(0,emotion_react_browser_esm.jsx)("span",{style:{textAlign:"right",display:"block",paddingRight:6}},`${maxValue}${unit}`)),(0,emotion_react_browser_esm.jsx)(dist.ProgressLegendItem,{position:"current",percentage:currentPercentage},(0,emotion_react_browser_esm.jsx)("span",{style:{textAlign:"right",display:"block",paddingRight:6}},`${currentValue}${unit}`)),(0,emotion_react_browser_esm.jsx)(dist.ProgressLegendItem,{position:"start",percentage:0},(0,emotion_react_browser_esm.jsx)("span",{style:{textAlign:"right",display:"block",paddingRight:6}},`${minValue}${unit}`))),(0,emotion_react_browser_esm.jsx)(dist.ProgressBar,{percentage:currentPercentage,color:"blueLight"}))),(0,emotion_react_browser_esm.jsx)(dist.Stepper,{color:theme.colors.blueLight,activeStep:active,orientation:"vertical",inverted:!0,sx:{rowGap:0}},steps.map(((step,index)=>(0,emotion_react_browser_esm.jsx)(dist.Step,{key:index,Connector:CustomConnector},(0,emotion_react_browser_esm.jsx)(dist.StepLabel,{StepIcon:CustomStep},(0,emotion_react_browser_esm.jsx)("span",{style:{textAlign:"left",display:"block",fontSize:9}},step.caption),(0,emotion_react_browser_esm.jsx)("span",{style:{textAlign:"left",display:"block",fontSize:9,fontWeight:700}},step.title))))))))};WaterConsume.displayName="WaterConsume";try{WaterConsume.displayName="WaterConsume",WaterConsume.__docgenInfo={description:"\nUI Component shows the water consumption objective of the user",displayName:"WaterConsume",props:{minValue:{defaultValue:{value:"0"},description:"",name:"minValue",required:!1,type:{name:"number"}},maxValue:{defaultValue:{value:"100"},description:"",name:"maxValue",required:!1,type:{name:"number"}},unit:{defaultValue:{value:"%"},description:"",name:"unit",required:!1,type:{name:"string"}},active:{defaultValue:null,description:"",name:"active",required:!0,type:{name:"number"}},currentValue:{defaultValue:null,description:"",name:"currentValue",required:!0,type:{name:"number"}},steps:{defaultValue:null,description:"",name:"steps",required:!0,type:{name:"{ title: string; caption: string; }[]"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/WaterConsume/WaterConsume.tsx#WaterConsume"]={docgenInfo:WaterConsume.__docgenInfo,name:"WaterConsume",path:"src/components/WaterConsume/WaterConsume.tsx#WaterConsume"})}catch(__react_docgen_typescript_loader_error){}var WaterConsume_stories={title:"Widgets/WaterConsume",component:WaterConsume};const Default={args:{minValue:0,maxValue:3,currentValue:2.7,unit:"L",active:3,steps:[{title:"600ml",caption:"2pm - 4pm"},{title:"500ml",caption:"11am - 2pm"},{title:"1000ml",caption:"9am - 11am"},{title:"700ml",caption:"6am - 8am"}]}};Default.parameters={...Default.parameters,docs:{...Default.parameters?.docs,source:{originalSource:"{\n args: {\n minValue: 0,\n maxValue: 3,\n currentValue: 2.7,\n unit: 'L',\n active: 3,\n steps: [{\n title: '600ml',\n caption: '2pm - 4pm'\n }, {\n title: '500ml',\n caption: '11am - 2pm'\n }, {\n title: '1000ml',\n caption: '9am - 11am'\n }, {\n title: '700ml',\n caption: '6am - 8am'\n }]\n }\n}",...Default.parameters?.docs?.source}}};const __namedExportsOrder=["Default"]}}]);
@@ -1,7 +0,0 @@
1
- <svg xmlns="http://www.w3.org/2000/svg" version="1.1" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:svgjs="http://svgjs.com/svgjs" width="164" height="164">
2
- <svg width="164" height="164" viewBox="0 0 164 164" fill="none" xmlns="http://www.w3.org/2000/svg">
3
- <path d="M22.467 147.762 17.5 15.402a8.062 8.062 0 0 1 7.553-8.35L137.637.016a8.061 8.061 0 0 1 8.565 8.047v144.23a8.063 8.063 0 0 1-8.424 8.054l-107.615-4.833a8.062 8.062 0 0 1-7.695-7.752Z" fill="#FF4785"></path>
4
- <path fill-rule="evenodd" clip-rule="evenodd" d="m128.785.57-15.495.968-.755 18.172a1.203 1.203 0 0 0 1.928 1.008l7.06-5.354 5.962 4.697a1.202 1.202 0 0 0 1.946-.987L128.785.569Zm-12.059 60.856c-2.836 2.203-23.965 3.707-23.965.57.447-11.969-4.912-12.494-7.889-12.494-2.828 0-7.59.855-7.59 7.267 0 6.534 6.96 10.223 15.13 14.553 11.607 6.15 25.654 13.594 25.654 32.326 0 17.953-14.588 27.871-33.194 27.871-19.201 0-35.981-7.769-34.086-34.702.744-3.163 25.156-2.411 25.156 0-.298 11.114 2.232 14.383 8.633 14.383 4.912 0 7.144-2.708 7.144-7.267 0-6.9-7.252-10.973-15.595-15.657C64.827 81.933 51.53 74.468 51.53 57.34c0-17.098 11.76-28.497 32.747-28.497 20.988 0 32.449 11.224 32.449 32.584Z" fill="#fff"></path>
5
- </svg>
6
- <style>@media (prefers-color-scheme: light) { :root { filter: none; } }</style>
7
- </svg>
@@ -1,355 +0,0 @@
1
- <!doctype html><html lang="en"><head><meta charset="utf-8"><title>Webpack App</title><meta name="viewport" content="width=device-width,initial-scale=1"><link rel="prefetch" href="./sb-common-assets/nunito-sans-regular.woff2" as="font" type="font/woff2" crossorigin><link rel="prefetch" href="./sb-common-assets/nunito-sans-italic.woff2" as="font" type="font/woff2" crossorigin><link rel="prefetch" href="./sb-common-assets/nunito-sans-bold.woff2" as="font" type="font/woff2" crossorigin><link rel="prefetch" href="./sb-common-assets/nunito-sans-bold-italic.woff2" as="font" type="font/woff2" crossorigin><link rel="stylesheet" href="./sb-common-assets/fonts.css"><base target="_parent"><style>/* While we aren't showing the main block yet, but still preparing, we want everything the user
2
- has rendered, which may or may not be in #storybook-root, to be display none */
3
- .sb-show-preparing-story:not(.sb-show-main) > :not(.sb-preparing-story) {
4
- display: none;
5
- }
6
-
7
- .sb-show-preparing-docs:not(.sb-show-main) > :not(.sb-preparing-docs) {
8
- display: none;
9
- }
10
-
11
- /* Hide our own blocks when we aren't supposed to be showing them */
12
- :not(.sb-show-preparing-story) > .sb-preparing-story,
13
- :not(.sb-show-preparing-docs) > .sb-preparing-docs,
14
- :not(.sb-show-nopreview) > .sb-nopreview,
15
- :not(.sb-show-errordisplay) > .sb-errordisplay {
16
- display: none;
17
- }
18
-
19
- .sb-show-main.sb-main-centered {
20
- margin: 0;
21
- display: flex;
22
- align-items: center;
23
- min-height: 100vh;
24
- }
25
-
26
- .sb-show-main.sb-main-centered #storybook-root {
27
- box-sizing: border-box;
28
- margin: auto;
29
- padding: 1rem;
30
- max-height: 100%; /* Hack for centering correctly in IE11 */
31
- }
32
-
33
- /* Vertical centering fix for IE11 */
34
- @media screen and (-ms-high-contrast: none), (-ms-high-contrast: active) {
35
- .sb-show-main.sb-main-centered:after {
36
- content: '';
37
- min-height: inherit;
38
- font-size: 0;
39
- }
40
- }
41
-
42
- .sb-show-main.sb-main-fullscreen {
43
- margin: 0;
44
- padding: 0;
45
- display: block;
46
- }
47
-
48
- .sb-show-main.sb-main-padded {
49
- margin: 0;
50
- padding: 1rem;
51
- display: block;
52
- box-sizing: border-box;
53
- }
54
-
55
- .sb-wrapper {
56
- position: fixed;
57
- top: 0;
58
- bottom: 0;
59
- left: 0;
60
- right: 0;
61
- padding: 20px;
62
- font-family: 'Nunito Sans', -apple-system, '.SFNSText-Regular', 'San Francisco',
63
- BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', Helvetica, Arial, sans-serif;
64
- -webkit-font-smoothing: antialiased;
65
- overflow: auto;
66
- }
67
-
68
- .sb-heading {
69
- font-size: 14px;
70
- font-weight: 600;
71
- letter-spacing: 0.2px;
72
- margin: 10px 0;
73
- padding-right: 25px;
74
- }
75
-
76
- .sb-nopreview {
77
- display: flex;
78
- align-content: center;
79
- justify-content: center;
80
- }
81
-
82
- .sb-nopreview_main {
83
- margin: auto;
84
- padding: 30px;
85
- border-radius: 10px;
86
- background: rgba(0, 0, 0, 0.03);
87
- }
88
-
89
- .sb-nopreview_heading {
90
- text-align: center;
91
- }
92
-
93
- .sb-errordisplay {
94
- border: 20px solid rgb(187, 49, 49);
95
- background: #222;
96
- color: #fff;
97
- z-index: 999999;
98
- }
99
-
100
- .sb-errordisplay_code {
101
- padding: 10px;
102
- background: #000;
103
- color: #eee;
104
- font-family: 'Operator Mono', 'Fira Code Retina', 'Fira Code', 'FiraCode-Retina', 'Andale Mono',
105
- 'Lucida Console', Consolas, Monaco, monospace;
106
- }
107
-
108
- .sb-errordisplay pre {
109
- white-space: pre-wrap;
110
- }
111
-
112
- @-webkit-keyframes sb-rotate360 {
113
- from {
114
- transform: rotate(0deg);
115
- }
116
- to {
117
- transform: rotate(360deg);
118
- }
119
- }
120
- @keyframes sb-rotate360 {
121
- from {
122
- transform: rotate(0deg);
123
- }
124
- to {
125
- transform: rotate(360deg);
126
- }
127
- }
128
- @-webkit-keyframes sb-glow {
129
- 0%,
130
- 100% {
131
- opacity: 1;
132
- }
133
- 50% {
134
- opacity: 0.4;
135
- }
136
- }
137
- @keyframes sb-glow {
138
- 0%,
139
- 100% {
140
- opacity: 1;
141
- }
142
- 50% {
143
- opacity: 0.4;
144
- }
145
- }
146
-
147
- /* We display the preparing loaders *over* the rendering story */
148
- .sb-preparing-story,
149
- .sb-preparing-docs {
150
- background-color: white;
151
- /* Maximum possible z-index. It would be better to use stacking contexts to ensure it's always
152
- on top, but this isn't possible as it would require making CSS changes that could affect user code */
153
- z-index: 2147483647;
154
- }
155
-
156
- .sb-loader {
157
- -webkit-animation: sb-rotate360 0.7s linear infinite;
158
- animation: sb-rotate360 0.7s linear infinite;
159
- border-color: rgba(97, 97, 97, 0.29);
160
- border-radius: 50%;
161
- border-style: solid;
162
- border-top-color: #646464;
163
- border-width: 2px;
164
- display: inline-block;
165
- height: 32px;
166
- left: 50%;
167
- margin-left: -16px;
168
- margin-top: -16px;
169
- mix-blend-mode: difference;
170
- overflow: hidden;
171
- position: absolute;
172
- top: 50%;
173
- transition: all 200ms ease-out;
174
- vertical-align: top;
175
- width: 32px;
176
- z-index: 4;
177
- }
178
-
179
- .sb-previewBlock {
180
- background: #fff;
181
- border: 1px solid rgba(0, 0, 0, 0.1);
182
- border-radius: 4px;
183
- box-shadow: rgba(0, 0, 0, 0.1) 0 1px 3px 0;
184
- margin: 25px auto 40px;
185
- max-width: 600px;
186
- }
187
-
188
- .sb-previewBlock_header {
189
- align-items: center;
190
- box-shadow: rgba(0, 0, 0, 0.1) 0 -1px 0 0 inset;
191
- display: flex;
192
- gap: 14px;
193
- height: 40px;
194
- padding: 0 12px;
195
- }
196
-
197
- .sb-previewBlock_icon {
198
- -webkit-animation: sb-glow 1.5s ease-in-out infinite;
199
- animation: sb-glow 1.5s ease-in-out infinite;
200
- background: #e6e6e6;
201
- height: 14px;
202
- width: 14px;
203
- }
204
- .sb-previewBlock_icon:last-child {
205
- margin-left: auto;
206
- }
207
-
208
- .sb-previewBlock_body {
209
- -webkit-animation: sb-glow 1.5s ease-in-out infinite;
210
- animation: sb-glow 1.5s ease-in-out infinite;
211
- height: 182px;
212
- position: relative;
213
- }
214
-
215
- .sb-argstableBlock {
216
- border-collapse: collapse;
217
- border-spacing: 0;
218
- font-size: 13px;
219
- line-height: 20px;
220
- margin: 25px auto 40px;
221
- max-width: 600px;
222
- text-align: left;
223
- width: 100%;
224
- }
225
- .sb-argstableBlock th:first-of-type,
226
- .sb-argstableBlock td:first-of-type {
227
- padding-left: 20px;
228
- }
229
- .sb-argstableBlock th:nth-of-type(2),
230
- .sb-argstableBlock td:nth-of-type(2) {
231
- width: 35%;
232
- }
233
- .sb-argstableBlock th:nth-of-type(3),
234
- .sb-argstableBlock td:nth-of-type(3) {
235
- width: 15%;
236
- }
237
- .sb-argstableBlock th:last-of-type,
238
- .sb-argstableBlock td:last-of-type {
239
- width: 25%;
240
- padding-right: 20px;
241
- }
242
- .sb-argstableBlock th span,
243
- .sb-argstableBlock td span {
244
- -webkit-animation: sb-glow 1.5s ease-in-out infinite;
245
- animation: sb-glow 1.5s ease-in-out infinite;
246
- background-color: rgba(0, 0, 0, 0.1);
247
- border-radius: 0;
248
- box-shadow: none;
249
- color: transparent;
250
- }
251
- .sb-argstableBlock th {
252
- padding: 10px 15px;
253
- }
254
-
255
- .sb-argstableBlock-body {
256
- border-radius: 4px;
257
- box-shadow: rgba(0, 0, 0, 0.1) 0 1px 3px 1px, rgba(0, 0, 0, 0.065) 0 0 0 1px;
258
- }
259
- .sb-argstableBlock-body tr {
260
- background: transparent;
261
- overflow: hidden;
262
- }
263
- .sb-argstableBlock-body tr:not(:first-child) {
264
- border-top: 1px solid #e6e6e6;
265
- }
266
- .sb-argstableBlock-body tr:first-child td:first-child {
267
- border-top-left-radius: 4px;
268
- }
269
- .sb-argstableBlock-body tr:first-child td:last-child {
270
- border-top-right-radius: 4px;
271
- }
272
- .sb-argstableBlock-body tr:last-child td:first-child {
273
- border-bottom-left-radius: 4px;
274
- }
275
- .sb-argstableBlock-body tr:last-child td:last-child {
276
- border-bottom-right-radius: 4px;
277
- }
278
- .sb-argstableBlock-body td {
279
- background: #fff;
280
- padding-bottom: 10px;
281
- padding-top: 10px;
282
- vertical-align: top;
283
- }
284
- .sb-argstableBlock-body td:not(:first-of-type) {
285
- padding-left: 15px;
286
- padding-right: 15px;
287
- }
288
- .sb-argstableBlock-body button {
289
- -webkit-animation: sb-glow 1.5s ease-in-out infinite;
290
- animation: sb-glow 1.5s ease-in-out infinite;
291
- background-color: rgba(0, 0, 0, 0.1);
292
- border: 0;
293
- border-radius: 0;
294
- box-shadow: none;
295
- color: transparent;
296
- display: inline;
297
- font-size: 12px;
298
- line-height: 1;
299
- padding: 10px 16px;
300
- }
301
-
302
- .sb-argstableBlock-summary {
303
- margin-top: 4px;
304
- }
305
-
306
- .sb-argstableBlock-code {
307
- margin-right: 4px;
308
- margin-bottom: 4px;
309
- padding: 2px 5px;
310
- }</style><script>/* globals window */
311
- /* eslint-disable no-underscore-dangle */
312
- try {
313
- if (window.top !== window) {
314
- window.__REACT_DEVTOOLS_GLOBAL_HOOK__ = window.top.__REACT_DEVTOOLS_GLOBAL_HOOK__;
315
- window.__VUE_DEVTOOLS_GLOBAL_HOOK__ = window.top.__VUE_DEVTOOLS_GLOBAL_HOOK__;
316
- window.top.__VUE_DEVTOOLS_CONTEXT__ = window.document;
317
- }
318
- } catch (e) {
319
- // eslint-disable-next-line no-console
320
- console.warn('unable to connect to top frame for connecting dev tools');
321
- }</script><style>#storybook-root[hidden],
322
- #storybook-docs[hidden] {
323
- display: none !important;
324
- }</style></head><body><div class="sb-preparing-story sb-wrapper"><div class="sb-loader"></div></div><div class="sb-preparing-docs sb-wrapper"><div class="sb-previewBlock"><div class="sb-previewBlock_header"><div class="sb-previewBlock_icon"></div><div class="sb-previewBlock_icon"></div><div class="sb-previewBlock_icon"></div><div class="sb-previewBlock_icon"></div></div><div class="sb-previewBlock_body"><div class="sb-loader"></div></div></div><table aria-hidden="true" class="sb-argstableBlock"><thead class="sb-argstableBlock-head"><tr><th><span>Name</span></th><th><span>Description</span></th><th><span>Default</span></th><th><span>Control</span></th></tr></thead><tbody class="sb-argstableBlock-body"><tr><td><span>propertyName</span><span title="Required">*</span></td><td><div><span>This is a short description</span></div><div class="sb-argstableBlock-summary"><div><span class="sb-argstableBlock-code">summary</span></div></div></td><td><div><span class="sb-argstableBlock-code">defaultValue</span></div></td><td><button>Set string</button></td></tr><tr><td><span>propertyName</span><span>*</span></td><td><div><span>This is a short description</span></div><div class="sb-argstableBlock-summary"><div><span class="sb-argstableBlock-code">summary</span></div></div></td><td><div><span class="sb-argstableBlock-code">defaultValue</span></div></td><td><button>Set string</button></td></tr><tr><td><span>propertyName</span><span>*</span></td><td><div><span>This is a short description</span></div><div class="sb-argstableBlock-summary"><div><span class="sb-argstableBlock-code">summary</span></div></div></td><td><div><span class="sb-argstableBlock-code">defaultValue</span></div></td><td><button>Set string</button></td></tr></tbody></table></div><div class="sb-nopreview sb-wrapper"><div class="sb-nopreview_main"><h1 class="sb-nopreview_heading sb-heading">No Preview</h1><p>Sorry, but you either have no stories or none are selected somehow.</p><ul><li>Please check the Storybook config.</li><li>Try reloading the page.</li></ul><p>If the problem persists, check the browser console, or the terminal you've run Storybook from.</p></div></div><div class="sb-errordisplay sb-wrapper"><pre id="error-message" class="sb-heading"></pre><pre class="sb-errordisplay_code"><code id="error-stack"></code></pre></div><div id="storybook-root"></div><div id="storybook-docs"></div><script>window['CONFIG_TYPE'] = "PRODUCTION";
325
-
326
-
327
-
328
- window['LOGLEVEL'] = "info";
329
-
330
-
331
-
332
- window['FRAMEWORK_OPTIONS'] = {"name":"@storybook/react-webpack5","options":{"legacyRootApi":true}};
333
-
334
-
335
-
336
-
337
-
338
- window['FEATURES'] = {"warnOnLegacyHierarchySeparator":true,"buildStoriesJson":false,"storyStoreV7":true,"argTypeTargetsV7":true,"legacyDecoratorFileOrder":false};
339
-
340
-
341
-
342
-
343
-
344
- window['STORIES'] = [{"titlePrefix":"","directory":"./src","files":"**/*.stories.@(js|jsx|ts|tsx|mdx)","importPathMatcher":"^\\.[\\\\/](?:src(?:[\\\\/](?!\\.)(?:(?:(?!(?:^|[\\\\/])\\.).)*?)[\\\\/]|[\\\\/]|$)(?!\\.)(?=.)[^\\\\/]*?\\.stories\\.(js|jsx|ts|tsx|mdx))$"}];
345
-
346
-
347
-
348
- window['DOCS_OPTIONS'] = {"defaultName":"Docs","autodocs":true};</script><script type="module">import './sb-preview/runtime.js';
349
-
350
-
351
- import './runtime~main.b259f462.iframe.bundle.js';
352
-
353
- import './906.a25e1330.iframe.bundle.js';
354
-
355
- import './main.c21822d8.iframe.bundle.js';</script></body></html>
@@ -1,126 +0,0 @@
1
- <!DOCTYPE html>
2
- <html lang="en">
3
- <head>
4
- <meta charset="utf-8" />
5
-
6
- <title>@storybook/cli - Storybook</title>
7
- <meta name="viewport" content="width=device-width, initial-scale=1" />
8
-
9
-
10
- <link rel="icon" type="image/svg+xml" href="./favicon.svg" />
11
-
12
- <link
13
- rel="prefetch"
14
- href="./sb-common-assets/nunito-sans-regular.woff2"
15
- as="font"
16
- type="font/woff2"
17
- crossorigin
18
- />
19
- <link
20
- rel="prefetch"
21
- href="./sb-common-assets/nunito-sans-bold.woff2"
22
- as="font"
23
- type="font/woff2"
24
- crossorigin
25
- />
26
- <link rel="stylesheet" href="./sb-common-assets/fonts.css" />
27
-
28
- <link href="./sb-manager/runtime.js" rel="modulepreload" />
29
-
30
-
31
- <link href="./sb-addons/links-0/manager-bundle.js" rel="modulepreload" />
32
-
33
- <link href="./sb-addons/essentials-controls-1/manager-bundle.js" rel="modulepreload" />
34
-
35
- <link href="./sb-addons/essentials-actions-2/manager-bundle.js" rel="modulepreload" />
36
-
37
- <link href="./sb-addons/essentials-backgrounds-3/manager-bundle.js" rel="modulepreload" />
38
-
39
- <link href="./sb-addons/essentials-viewport-4/manager-bundle.js" rel="modulepreload" />
40
-
41
- <link href="./sb-addons/essentials-toolbars-5/manager-bundle.js" rel="modulepreload" />
42
-
43
- <link href="./sb-addons/essentials-measure-6/manager-bundle.js" rel="modulepreload" />
44
-
45
- <link href="./sb-addons/essentials-outline-7/manager-bundle.js" rel="modulepreload" />
46
-
47
- <link href="./sb-addons/interactions-8/manager-bundle.js" rel="modulepreload" />
48
-
49
-
50
- <style>
51
- #storybook-root[hidden] {
52
- display: none !important;
53
- }
54
- </style>
55
-
56
-
57
- </head>
58
- <body>
59
- <div id="root"></div>
60
-
61
-
62
- <script>
63
-
64
-
65
- window['FEATURES'] = {
66
- "warnOnLegacyHierarchySeparator": true,
67
- "buildStoriesJson": false,
68
- "storyStoreV7": true,
69
- "argTypeTargetsV7": true,
70
- "legacyDecoratorFileOrder": false
71
- };
72
-
73
-
74
-
75
- window['REFS'] = {};
76
-
77
-
78
-
79
- window['LOGLEVEL'] = "info";
80
-
81
-
82
-
83
- window['DOCS_OPTIONS'] = {
84
- "defaultName": "Docs",
85
- "autodocs": true
86
- };
87
-
88
-
89
-
90
- window['CONFIG_TYPE'] = "PRODUCTION";
91
-
92
-
93
-
94
-
95
-
96
-
97
- </script>
98
-
99
-
100
- <script type="module">
101
- import './sb-manager/runtime.js';
102
-
103
-
104
- import './sb-addons/links-0/manager-bundle.js';
105
-
106
- import './sb-addons/essentials-controls-1/manager-bundle.js';
107
-
108
- import './sb-addons/essentials-actions-2/manager-bundle.js';
109
-
110
- import './sb-addons/essentials-backgrounds-3/manager-bundle.js';
111
-
112
- import './sb-addons/essentials-viewport-4/manager-bundle.js';
113
-
114
- import './sb-addons/essentials-toolbars-5/manager-bundle.js';
115
-
116
- import './sb-addons/essentials-measure-6/manager-bundle.js';
117
-
118
- import './sb-addons/essentials-outline-7/manager-bundle.js';
119
-
120
- import './sb-addons/interactions-8/manager-bundle.js';
121
-
122
- </script>
123
-
124
- <link href="./sb-preview/runtime.js" rel="prefetch" as="script" />
125
- </body>
126
- </html>
@@ -1 +0,0 @@
1
- {"v":4,"entries":{"widgets-activity--docs":{"id":"widgets-activity--docs","title":"Widgets/Activity","name":"Docs","importPath":"./src/components/Activity/Activity.stories.tsx","type":"docs","tags":["docs","autodocs"],"storiesImports":[]},"widgets-activity--default":{"type":"story","id":"widgets-activity--default","name":"Default","title":"Widgets/Activity","importPath":"./src/components/Activity/Activity.stories.tsx","tags":["story"]},"widgets-bmi--docs":{"id":"widgets-bmi--docs","title":"Widgets/BMI","name":"Docs","importPath":"./src/components/Bmi/Bmi.stories.tsx","type":"docs","tags":["docs","autodocs"],"storiesImports":[]},"widgets-bmi--default":{"type":"story","id":"widgets-bmi--default","name":"Default","title":"Widgets/BMI","importPath":"./src/components/Bmi/Bmi.stories.tsx","tags":["story"]},"widgets-calories--docs":{"id":"widgets-calories--docs","title":"Widgets/Calories","name":"Docs","importPath":"./src/components/Calories/Calories.stories.tsx","type":"docs","tags":["docs","autodocs"],"storiesImports":[]},"widgets-calories--default":{"type":"story","id":"widgets-calories--default","name":"Default","title":"Widgets/Calories","importPath":"./src/components/Calories/Calories.stories.tsx","tags":["story"]},"widgets-cardlist--docs":{"id":"widgets-cardlist--docs","title":"Widgets/CardList","name":"Docs","importPath":"./src/components/CardList/CardList.stories.tsx","type":"docs","tags":["docs","autodocs"],"storiesImports":[]},"widgets-cardlist--default":{"type":"story","id":"widgets-cardlist--default","name":"CardList","title":"Widgets/CardList","importPath":"./src/components/CardList/CardList.stories.tsx","tags":["story"]},"widgets-heartrate--docs":{"id":"widgets-heartrate--docs","title":"Widgets/HeartRate","name":"Docs","importPath":"./src/components/HeartRate/HeartRate.stories.tsx","type":"docs","tags":["docs","autodocs"],"storiesImports":[]},"widgets-heartrate--default":{"type":"story","id":"widgets-heartrate--default","name":"Default","title":"Widgets/HeartRate","importPath":"./src/components/HeartRate/HeartRate.stories.tsx","tags":["story"]},"widgets-listgoals--docs":{"id":"widgets-listgoals--docs","title":"Widgets/ListGoals","name":"Docs","importPath":"./src/components/ListGoals/ListGoals.stories.tsx","type":"docs","tags":["docs","autodocs"],"storiesImports":[]},"widgets-listgoals--default":{"type":"story","id":"widgets-listgoals--default","name":"ListGoals","title":"Widgets/ListGoals","importPath":"./src/components/ListGoals/ListGoals.stories.tsx","tags":["story"]},"widgets-mealnutrients--docs":{"id":"widgets-mealnutrients--docs","title":"Widgets/MealNutrients","name":"Docs","importPath":"./src/components/MealNutrients/MealNutrients.stories.tsx","type":"docs","tags":["docs","autodocs"],"storiesImports":[]},"widgets-mealnutrients--default":{"type":"story","id":"widgets-mealnutrients--default","name":"Default","title":"Widgets/MealNutrients","importPath":"./src/components/MealNutrients/MealNutrients.stories.tsx","tags":["story"]},"widgets-mealplanner--docs":{"id":"widgets-mealplanner--docs","title":"Widgets/MealPlanner","name":"Docs","importPath":"./src/components/MealPlanner/MealPlanner.stories.tsx","type":"docs","tags":["docs","autodocs"],"storiesImports":[]},"widgets-mealplanner--default":{"type":"story","id":"widgets-mealplanner--default","name":"Default","title":"Widgets/MealPlanner","importPath":"./src/components/MealPlanner/MealPlanner.stories.tsx","tags":["story"]},"widgets-navbar--docs":{"id":"widgets-navbar--docs","title":"Widgets/NavBar","name":"Docs","importPath":"./src/components/NavBar/NavBar.stories.tsx","type":"docs","tags":["docs","autodocs"],"storiesImports":[]},"widgets-navbar--default":{"type":"story","id":"widgets-navbar--default","name":"Default","title":"Widgets/NavBar","importPath":"./src/components/NavBar/NavBar.stories.tsx","tags":["story"]},"widgets-navbar--wide-screen":{"type":"story","id":"widgets-navbar--wide-screen","name":"Wide Screen","title":"Widgets/NavBar","importPath":"./src/components/NavBar/NavBar.stories.tsx","tags":["story"]},"widgets-pagination--docs":{"id":"widgets-pagination--docs","title":"Widgets/Pagination","name":"Docs","importPath":"./src/components/Pagination/Pagination.stories.tsx","type":"docs","tags":["docs","autodocs"],"storiesImports":[]},"widgets-pagination--page-selected":{"type":"story","id":"widgets-pagination--page-selected","name":"Page Selected","title":"Widgets/Pagination","importPath":"./src/components/Pagination/Pagination.stories.tsx","tags":["story"]},"widgets-pagination--no-pages-selected":{"type":"story","id":"widgets-pagination--no-pages-selected","name":"No Pages Selected","title":"Widgets/Pagination","importPath":"./src/components/Pagination/Pagination.stories.tsx","tags":["story"]},"widgets-pagination--first-page-selected":{"type":"story","id":"widgets-pagination--first-page-selected","name":"First Page Selected","title":"Widgets/Pagination","importPath":"./src/components/Pagination/Pagination.stories.tsx","tags":["story"]},"widgets-pagination--last-page-selected":{"type":"story","id":"widgets-pagination--last-page-selected","name":"Last Page Selected","title":"Widgets/Pagination","importPath":"./src/components/Pagination/Pagination.stories.tsx","tags":["story"]},"widgets-progressinfo--docs":{"id":"widgets-progressinfo--docs","title":"Widgets/ProgressInfo","name":"Docs","importPath":"./src/components/ProgressInfo/ProgressInfo.stories.tsx","type":"docs","tags":["docs","autodocs"],"storiesImports":[]},"widgets-progressinfo--default":{"type":"story","id":"widgets-progressinfo--default","name":"Default","title":"Widgets/ProgressInfo","importPath":"./src/components/ProgressInfo/ProgressInfo.stories.tsx","tags":["story"]},"widgets-stepscounter--docs":{"id":"widgets-stepscounter--docs","title":"Widgets/StepsCounter","name":"Docs","importPath":"./src/components/StepsCounter/StepsCounter.stories.tsx","type":"docs","tags":["docs","autodocs"],"storiesImports":[]},"widgets-stepscounter--default":{"type":"story","id":"widgets-stepscounter--default","name":"Default","title":"Widgets/StepsCounter","importPath":"./src/components/StepsCounter/StepsCounter.stories.tsx","tags":["story"]},"widgets-tablefilters--docs":{"id":"widgets-tablefilters--docs","title":"Widgets/TableFilters","name":"Docs","importPath":"./src/components/TableFilters/stories/TableFilters.stories.tsx","type":"docs","tags":["docs","autodocs"],"storiesImports":[]},"widgets-tablefilters--default":{"type":"story","id":"widgets-tablefilters--default","name":"Default","title":"Widgets/TableFilters","importPath":"./src/components/TableFilters/stories/TableFilters.stories.tsx","tags":["story"]},"widgets-upcomingworkouts--docs":{"id":"widgets-upcomingworkouts--docs","title":"Widgets/UpcomingWorkouts","name":"Docs","importPath":"./src/components/UpcomingWorkouts/UpcomingWorkouts.stories.tsx","type":"docs","tags":["docs","autodocs"],"storiesImports":[]},"widgets-upcomingworkouts--default":{"type":"story","id":"widgets-upcomingworkouts--default","name":"UpcomingWorkouts","title":"Widgets/UpcomingWorkouts","importPath":"./src/components/UpcomingWorkouts/UpcomingWorkouts.stories.tsx","tags":["story"]},"widgets-waterconsume--docs":{"id":"widgets-waterconsume--docs","title":"Widgets/WaterConsume","name":"Docs","importPath":"./src/components/WaterConsume/WaterConsume.stories.tsx","type":"docs","tags":["docs","autodocs"],"storiesImports":[]},"widgets-waterconsume--default":{"type":"story","id":"widgets-waterconsume--default","name":"Default","title":"Widgets/WaterConsume","importPath":"./src/components/WaterConsume/WaterConsume.stories.tsx","tags":["story"]}}}