sag_components 2.0.0-beta27 → 2.0.0-beta29

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 (362) hide show
  1. package/dist/App.js +56 -0
  2. package/dist/App.test.js +10 -0
  3. package/dist/Button.test.js +162 -0
  4. package/dist/LinkButton.test.js +150 -0
  5. package/dist/SingleBar.test.js +120 -0
  6. package/dist/index.esm.js +2208 -544
  7. package/dist/index.esm.js.map +1 -1
  8. package/dist/index.js +2207 -544
  9. package/dist/index.js.map +1 -1
  10. package/dist/setupTests.js +15 -0
  11. package/dist/stories/AttachedFile.stories.js +37 -0
  12. package/dist/stories/AutocompleteField.stories.js +25 -0
  13. package/dist/stories/BannerEventBox.stories.js +59 -0
  14. package/dist/stories/BannerEventBoxList.stories.js +39 -0
  15. package/dist/stories/BannerEventBoxTest.stories.js +27 -0
  16. package/dist/stories/BannersDropdown.stories.js +64 -0
  17. package/dist/stories/BarChart.stories.js +306 -0
  18. package/dist/stories/BarChartTwoRows.stories.js +259 -0
  19. package/dist/stories/BarChartWithAreaChart.stories.js +134 -0
  20. package/dist/stories/BarChartsByWeeks.stories.js +445 -0
  21. package/dist/stories/Benchmark.stories.js +147 -0
  22. package/dist/stories/Button.stories.js +255 -0
  23. package/dist/stories/CampaignDemoReport.stories.js +65 -0
  24. package/dist/stories/CampaignTool/Card.stories.js +92 -0
  25. package/dist/stories/CampaignTool/MultipleCard.stories.js +33 -0
  26. package/dist/stories/CampaignTool/PageFilterBar.stories.js +28 -0
  27. package/dist/stories/CampaignTool/Popup.stories.js +697 -0
  28. package/dist/stories/CampaignTool/PopupContent.stories.js +284 -0
  29. package/dist/stories/CampaignTool/Table.stories.js +104 -0
  30. package/dist/stories/CheckBox.stories.js +107 -0
  31. package/dist/stories/CheckBoxButton.stories.js +150 -0
  32. package/dist/stories/CollapseData.stories.js +125 -0
  33. package/dist/stories/CollapseHeader.stories.js +123 -0
  34. package/dist/stories/CollapseMenuItem.stories.js +134 -0
  35. package/dist/stories/Datepicker.stories.js +85 -0
  36. package/dist/stories/DialogOverlay.stories.js +39 -0
  37. package/dist/stories/DoublePanelDataRow.stories.js +116 -0
  38. package/dist/stories/DownloadProgress.stories.js +109 -0
  39. package/dist/stories/Dropdown.stories.js +318 -0
  40. package/dist/stories/DropdownMulti.stories.js +220 -0
  41. package/dist/stories/DropdownNew.stories.js +407 -0
  42. package/dist/stories/EventDetailsCard.stories.js +122 -0
  43. package/dist/stories/EventList.stories.js +84 -0
  44. package/dist/stories/EventListItem.stories.js +65 -0
  45. package/dist/stories/FilterButton.stories.js +90 -0
  46. package/dist/stories/FilterContainer.stories.js +22 -0
  47. package/dist/stories/FilterPanel.stories.js +967 -0
  48. package/dist/stories/FormattedValue.stories.js +183 -0
  49. package/dist/stories/Heatmap.stories.js +118 -0
  50. package/dist/stories/IconButton.stories.js +126 -0
  51. package/dist/stories/Input.stories.js +422 -0
  52. package/dist/stories/InputOld.stories.js +103 -0
  53. package/dist/stories/KpiFilter.stories.js +401 -0
  54. package/dist/stories/LinkButton.stories.js +171 -0
  55. package/dist/stories/LinnerDataBox.stories.js +79 -0
  56. package/dist/stories/ListBox.stories.js +132 -0
  57. package/dist/stories/MarketShareDescription.stories.js +196 -0
  58. package/dist/stories/MonthPicker.stories.js +142 -0
  59. package/dist/stories/NewInput.stories.js +37 -0
  60. package/dist/stories/NoDataFoundMessage.stories.js +66 -0
  61. package/dist/stories/OneColumnContainer.stories.js +119 -0
  62. package/dist/stories/PerformanceAnalytics.stories.js +263 -0
  63. package/dist/stories/PerformanceAnalyticsLegend.stories.js +99 -0
  64. package/dist/stories/PerformanceAnalyticsOneColumn.stories.js +236 -0
  65. package/dist/stories/PerformanceAnalyticsTotals.stories.js +109 -0
  66. package/dist/stories/PieChart.stories.js +215 -0
  67. package/dist/stories/PopupCharts.stories.js +1191 -0
  68. package/dist/stories/ProductsVariety.stories.js +90 -0
  69. package/dist/stories/ProgressBar.stories.js +71 -0
  70. package/dist/stories/QuarterPicker.stories.js +142 -0
  71. package/dist/stories/QuickFilter.stories.js +275 -0
  72. package/dist/stories/RangePicker.stories.js +140 -0
  73. package/dist/stories/ReportTable.stories.js +255 -0
  74. package/dist/stories/SagButton.stories.js +118 -0
  75. package/dist/stories/SagIconButton.stories.js +122 -0
  76. package/dist/stories/SagInput.stories.js +69 -0
  77. package/dist/stories/SalesAndROI.stories.js +166 -0
  78. package/dist/stories/SalesSplit.stories.js +122 -0
  79. package/dist/stories/SearchInput.stories.js +44 -0
  80. package/dist/stories/SegmentedButton.stories.js +181 -0
  81. package/dist/stories/Select.stories.js +201 -0
  82. package/dist/stories/SingleBarLineCharts.stories.js +310 -0
  83. package/dist/stories/TabMenu.stories.js +224 -0
  84. package/dist/stories/TextField.stories.js +160 -0
  85. package/dist/stories/TitleDescription.stories.js +116 -0
  86. package/dist/stories/TopToggleList.stories.js +52 -0
  87. package/dist/stories/TotalBenchmark.stories.js +135 -0
  88. package/dist/stories/TotalBenchmarkAreachart.stories.js +341 -0
  89. package/dist/stories/TotalBenchmarkArrows.stories.js +170 -0
  90. package/dist/stories/TotalBenchmarkBarchart.stories.js +183 -0
  91. package/dist/stories/TotalDoughnutChart.stories.js +301 -0
  92. package/dist/stories/TotalHorizontalCharts.stories.js +291 -0
  93. package/dist/stories/TwoBarCharts.stories.js +185 -0
  94. package/dist/stories/components/AttachedFile.js +60 -0
  95. package/dist/stories/components/AttachedFile.style.js +48 -0
  96. package/dist/stories/components/AutocompleteField.js +40 -0
  97. package/dist/stories/components/AutocompleteField.style.js +55 -0
  98. package/dist/stories/components/BannerEventBox.js +97 -0
  99. package/dist/stories/components/BannerEventBox.style.js +78 -0
  100. package/dist/stories/components/BannerEventBoxList.js +153 -0
  101. package/dist/stories/components/BannerEventBoxList.style.js +189 -0
  102. package/dist/stories/components/BannerEventBoxTest.js +42 -0
  103. package/dist/stories/components/BannerEventBoxTest.style.js +11 -0
  104. package/dist/stories/components/BannersDropdown.js +119 -0
  105. package/dist/stories/components/BannersDropdown.style.js +99 -0
  106. package/dist/stories/components/BarChart.js +258 -0
  107. package/dist/stories/components/BarChart.style.js +60 -0
  108. package/dist/stories/components/BarChartTwoRows.js +220 -0
  109. package/dist/stories/components/BarChartTwoRows.style.js +79 -0
  110. package/dist/stories/components/BarChartWithAreaChart.js +268 -0
  111. package/dist/stories/components/BarChartWithAreaChart.style.js +67 -0
  112. package/dist/stories/components/BarChartsByWeeks.js +306 -0
  113. package/dist/stories/components/BarChartsByWeeks.style.js +96 -0
  114. package/dist/stories/components/Benchmark.js +130 -0
  115. package/dist/stories/components/Benchmark.style.js +61 -0
  116. package/dist/stories/components/Button.js +255 -0
  117. package/dist/stories/components/Button.style.js +90 -0
  118. package/dist/stories/components/CampaignTool/CampaignDemoReport.js +48 -0
  119. package/dist/stories/components/CampaignTool/CampaignDemoReport.style.js +48 -0
  120. package/dist/stories/components/CampaignTool/Card.js +72 -0
  121. package/dist/stories/components/CampaignTool/Card.style.js +65 -0
  122. package/dist/stories/components/CampaignTool/FormInput.js +41 -0
  123. package/dist/stories/components/CampaignTool/FormSelect.js +42 -0
  124. package/dist/stories/components/CampaignTool/MultipleCard.js +26 -0
  125. package/dist/stories/components/CampaignTool/MultipleCard.style.js +13 -0
  126. package/dist/stories/components/CampaignTool/PageFilterBar.js +23 -0
  127. package/dist/stories/components/CampaignTool/PageFilterBar.style.js +22 -0
  128. package/dist/stories/components/CampaignTool/Popup.js +172 -0
  129. package/dist/stories/components/CampaignTool/Popup.style.js +122 -0
  130. package/dist/stories/components/CampaignTool/PopupContent.js +111 -0
  131. package/dist/stories/components/CampaignTool/PopupContent.style.js +74 -0
  132. package/dist/stories/components/CampaignTool/PopupFieldsRules.js +168 -0
  133. package/dist/stories/components/CampaignTool/Table.js +195 -0
  134. package/dist/stories/components/CampaignTool/Table.style.js +86 -0
  135. package/dist/stories/components/CheckBox.js +76 -0
  136. package/dist/stories/components/CheckBox.style.js +36 -0
  137. package/dist/stories/components/CheckBoxButton.js +69 -0
  138. package/dist/stories/components/CheckBoxButton.style.js +39 -0
  139. package/dist/stories/components/CodeEditor.js +43 -0
  140. package/dist/stories/components/CodeEditor.style.js +13 -0
  141. package/dist/stories/components/CollapseData.js +66 -0
  142. package/dist/stories/components/CollapseData.style.js +127 -0
  143. package/dist/stories/components/CollapseHeader.js +255 -0
  144. package/dist/stories/components/CollapseHeader.style.js +200 -0
  145. package/dist/stories/components/CollapseMenuItem.js +61 -0
  146. package/dist/stories/components/CollapseMenuItem.style.js +61 -0
  147. package/dist/stories/components/CommonFunctions.js +99 -0
  148. package/dist/stories/components/Datepicker.js +148 -0
  149. package/dist/stories/components/Datepicker.style.js +19 -0
  150. package/dist/stories/components/DialogOverlay.js +44 -0
  151. package/dist/stories/components/DialogOverlay.style.js +70 -0
  152. package/dist/stories/components/DoublePanelDataRow.js +70 -0
  153. package/dist/stories/components/DoublePanelDataRow.style.js +66 -0
  154. package/dist/stories/components/DownloadProgress.js +97 -0
  155. package/dist/stories/components/DownloadProgress.style.js +51 -0
  156. package/dist/stories/components/Dropdown.js +231 -0
  157. package/dist/stories/components/Dropdown.style.js +17 -0
  158. package/dist/stories/components/DropdownMulti.js +290 -0
  159. package/dist/stories/components/DropdownMulti.style.js +17 -0
  160. package/dist/stories/components/DropdownMultiNew.js +292 -0
  161. package/dist/stories/components/DropdownMultiNew.style.js +218 -0
  162. package/dist/stories/components/DropdownNew.js +98 -0
  163. package/dist/stories/components/DropdownNew.style.js +21 -0
  164. package/dist/stories/components/DropdownSingleNew.js +256 -0
  165. package/dist/stories/components/DropdownSingleNew.style.js +189 -0
  166. package/dist/stories/components/EventDetailsCard.js +142 -0
  167. package/dist/stories/components/EventDetailsCard.style.js +62 -0
  168. package/dist/stories/components/EventList.js +61 -0
  169. package/dist/stories/components/EventList.style.js +38 -0
  170. package/dist/stories/components/EventListItem.js +50 -0
  171. package/dist/stories/components/EventListItem.style.js +47 -0
  172. package/dist/stories/components/FilterButton.js +53 -0
  173. package/dist/stories/components/FilterButton.style.js +12 -0
  174. package/dist/stories/components/FilterContainer.js +29 -0
  175. package/dist/stories/components/FilterContainer.style.js +30 -0
  176. package/dist/stories/components/FilterPanel.js +614 -0
  177. package/dist/stories/components/FilterPanel.style.js +89 -0
  178. package/dist/stories/components/FormattedValue.js +69 -0
  179. package/dist/stories/components/FormattedValue.style.js +91 -0
  180. package/dist/stories/components/Heatmap.js +184 -0
  181. package/dist/stories/components/Heatmap.style.js +151 -0
  182. package/dist/stories/components/IconButton.js +147 -0
  183. package/dist/stories/components/IconButton.style.js +64 -0
  184. package/dist/stories/components/Input.js +186 -0
  185. package/dist/stories/components/Input.style.js +132 -0
  186. package/dist/stories/components/InputOld.js +93 -0
  187. package/dist/stories/components/InputOld.style.js +71 -0
  188. package/dist/stories/components/KpiFilter.js +345 -0
  189. package/dist/stories/components/KpiFilter.style.js +132 -0
  190. package/dist/stories/components/LinkButton.js +225 -0
  191. package/dist/stories/components/LinkButton.style.js +53 -0
  192. package/dist/stories/components/LinnerDataBox.js +54 -0
  193. package/dist/stories/components/LinnerDataBox.style.js +68 -0
  194. package/dist/stories/components/ListBox.js +82 -0
  195. package/dist/stories/components/ListBox.style.js +48 -0
  196. package/dist/stories/components/MarketShareDescription.js +109 -0
  197. package/dist/stories/components/MarketShareDescription.style.js +215 -0
  198. package/dist/stories/components/Modal.js +21 -0
  199. package/dist/stories/components/Modal.style.js +63 -0
  200. package/dist/stories/components/ModalTotalBenchmark.js +224 -0
  201. package/dist/stories/components/ModalTotalCost.js +139 -0
  202. package/dist/stories/components/MonthPicker.js +169 -0
  203. package/dist/stories/components/MonthPicker.style.js +105 -0
  204. package/dist/stories/components/MonthPopupPicker.js +206 -0
  205. package/dist/stories/components/NewInput.js +33 -0
  206. package/dist/stories/components/NewInput.style.js +13 -0
  207. package/dist/stories/components/NoDataFoundMessage.js +30 -0
  208. package/dist/stories/components/NoDataFoundMessage.style.js +39 -0
  209. package/dist/stories/components/OneColumnContainer.js +121 -0
  210. package/dist/stories/components/OneColumnContainer.style.js +107 -0
  211. package/dist/stories/components/PerformanceAnalytics.js +447 -0
  212. package/dist/stories/components/PerformanceAnalytics.style.js +144 -0
  213. package/dist/stories/components/PerformanceAnalyticsLegend.js +59 -0
  214. package/dist/stories/components/PerformanceAnalyticsLegend.style.js +63 -0
  215. package/dist/stories/components/PerformanceAnalyticsOneColumn.js +327 -0
  216. package/dist/stories/components/PerformanceAnalyticsOneColumn.style.js +116 -0
  217. package/dist/stories/components/PerformanceAnalyticsTotals.js +70 -0
  218. package/dist/stories/components/PerformanceAnalyticsTotals.style.js +89 -0
  219. package/dist/stories/components/PieChart.js +154 -0
  220. package/dist/stories/components/PieChart.style.js +154 -0
  221. package/dist/stories/components/PopupCharts.js +244 -0
  222. package/dist/stories/components/PopupCharts.style.js +108 -0
  223. package/dist/stories/components/ProductsVariety.js +94 -0
  224. package/dist/stories/components/ProductsVariety.style.js +86 -0
  225. package/dist/stories/components/ProgressBar.js +52 -0
  226. package/dist/stories/components/ProgressBar.style.js +24 -0
  227. package/dist/stories/components/QuarterPicker.js +168 -0
  228. package/dist/stories/components/QuarterPicker.style.js +104 -0
  229. package/dist/stories/components/QuarterPopupPicker.js +186 -0
  230. package/dist/stories/components/QuickFilter.js +78 -0
  231. package/dist/stories/components/QuickFilter.style.js +21 -0
  232. package/dist/stories/components/QuickFilterDropdownMultiSelection.js +299 -0
  233. package/dist/stories/components/QuickFilterDropdownMultiSelection.style.js +194 -0
  234. package/dist/stories/components/QuickFilterDropdownSingle.js +229 -0
  235. package/dist/stories/components/QuickFilterDropdownSingle.style.js +139 -0
  236. package/dist/stories/components/RangeDatePicker.js +231 -0
  237. package/dist/stories/components/RangePicker.js +179 -0
  238. package/dist/stories/components/RangePicker.style.js +109 -0
  239. package/dist/stories/components/ReportTable.js +420 -0
  240. package/dist/stories/components/ReportTable.style.js +306 -0
  241. package/dist/stories/components/SagButton.js +68 -0
  242. package/dist/stories/components/SagButton.style.js +47 -0
  243. package/dist/stories/components/SagIconButton.js +130 -0
  244. package/dist/stories/components/SagIconButton.style.js +30 -0
  245. package/dist/stories/components/SagInput.js +53 -0
  246. package/dist/stories/components/SagInput.style.js +41 -0
  247. package/dist/stories/components/SalesAndROI.js +89 -0
  248. package/dist/stories/components/SalesAndROI.style.js +111 -0
  249. package/dist/stories/components/SalesSplit.js +153 -0
  250. package/dist/stories/components/SalesSplit.style.js +150 -0
  251. package/dist/stories/components/SearchInput.js +39 -0
  252. package/dist/stories/components/SearchInput.style.js +37 -0
  253. package/dist/stories/components/SegmentedButton.js +124 -0
  254. package/dist/stories/components/SegmentedButton.style.js +100 -0
  255. package/dist/stories/components/Select.js +137 -0
  256. package/dist/stories/components/Select.style.js +104 -0
  257. package/dist/stories/components/SingleBarLineCharts.js +415 -0
  258. package/dist/stories/components/SingleBarLineCharts.style.js +101 -0
  259. package/dist/stories/components/TabMenu.js +241 -0
  260. package/dist/stories/components/TabMenu.style.js +120 -0
  261. package/dist/stories/components/TextField.js +209 -0
  262. package/dist/stories/components/TextField.style.js +18 -0
  263. package/dist/stories/components/TitleDescription.js +272 -0
  264. package/dist/stories/components/TitleDescription.style.js +222 -0
  265. package/dist/stories/components/Tooltip.js +44 -0
  266. package/dist/stories/components/Tooltip.style.js +103 -0
  267. package/dist/stories/components/TopToggleList.js +46 -0
  268. package/dist/stories/components/TopToggleList.style.js +51 -0
  269. package/dist/stories/components/TotalBenchmark.js +97 -0
  270. package/dist/stories/components/TotalBenchmark.style.js +79 -0
  271. package/dist/stories/components/TotalBenchmarkAreachart.js +342 -0
  272. package/dist/stories/components/TotalBenchmarkAreachart.style.js +171 -0
  273. package/dist/stories/components/TotalBenchmarkArrows.js +149 -0
  274. package/dist/stories/components/TotalBenchmarkArrows.style.js +108 -0
  275. package/dist/stories/components/TotalBenchmarkBarchart.js +165 -0
  276. package/dist/stories/components/TotalBenchmarkBarchart.style.js +77 -0
  277. package/dist/stories/components/TotalDoughnutChart.js +187 -0
  278. package/dist/stories/components/TotalDoughnutChart.style.js +178 -0
  279. package/dist/stories/components/TotalHorizontalCharts.js +236 -0
  280. package/dist/stories/components/TotalHorizontalCharts.style.js +93 -0
  281. package/dist/stories/components/TspanTooltip.js +33 -0
  282. package/dist/stories/components/TspanTooltip.style.js +105 -0
  283. package/dist/stories/components/TwoBarCharts.js +211 -0
  284. package/dist/stories/components/TwoBarCharts.style.js +60 -0
  285. package/dist/stories/components/icons/ArrowDownIcon.js +27 -0
  286. package/dist/stories/components/icons/ArrowDropDownIcon.js +27 -0
  287. package/dist/stories/components/icons/ArrowSelectIcon.js +28 -0
  288. package/dist/stories/components/icons/ArrowUpIcon.js +27 -0
  289. package/dist/stories/components/icons/AttachedIcon.js +27 -0
  290. package/dist/stories/components/icons/BellIcon.js +27 -0
  291. package/dist/stories/components/icons/ButtonArrowRight.js +27 -0
  292. package/dist/stories/components/icons/Calendar.js +20 -0
  293. package/dist/stories/components/icons/CalendarIcon.js +27 -0
  294. package/dist/stories/components/icons/CalendarInOpen.js +26 -0
  295. package/dist/stories/components/icons/CheckBoxButtonCheckedIcon.js +28 -0
  296. package/dist/stories/components/icons/CheckBoxCheckedIcon.js +28 -0
  297. package/dist/stories/components/icons/CheckBoxNotCheckedIcon.js +28 -0
  298. package/dist/stories/components/icons/ChervronLeftIcon.js +20 -0
  299. package/dist/stories/components/icons/ChervronRightIcon.js +20 -0
  300. package/dist/stories/components/icons/ChevronLeftIcon.js +29 -0
  301. package/dist/stories/components/icons/ChevronRightIcon.js +29 -0
  302. package/dist/stories/components/icons/ClockIcon.js +27 -0
  303. package/dist/stories/components/icons/CloseIcon.js +27 -0
  304. package/dist/stories/components/icons/CloseXIcon.js +27 -0
  305. package/dist/stories/components/icons/ComboBoxArrowDownIcon.js +28 -0
  306. package/dist/stories/components/icons/ComboBoxArrowUpIcon.js +28 -0
  307. package/dist/stories/components/icons/DocumentIcon.js +48 -0
  308. package/dist/stories/components/icons/DownloadIcon.js +27 -0
  309. package/dist/stories/components/icons/Duplicate.js +28 -0
  310. package/dist/stories/components/icons/ErrorIcon.js +28 -0
  311. package/dist/stories/components/icons/ExitIcon.js +28 -0
  312. package/dist/stories/components/icons/ExportIcon.js +28 -0
  313. package/dist/stories/components/icons/EyeIcon.js +28 -0
  314. package/dist/stories/components/icons/FileIcon.js +27 -0
  315. package/dist/stories/components/icons/FilterIcon.js +36 -0
  316. package/dist/stories/components/icons/FlyIcon.js +28 -0
  317. package/dist/stories/components/icons/FoodLionChartIcon.js +42 -0
  318. package/dist/stories/components/icons/FoodLionIcon.js +3076 -0
  319. package/dist/stories/components/icons/FoodLionNewIcon.js +39 -0
  320. package/dist/stories/components/icons/GiantFoodChartIcon.js +40 -0
  321. package/dist/stories/components/icons/GiantFoodIcon.js +1976 -0
  322. package/dist/stories/components/icons/GiantFoodIcon_new.js +42 -0
  323. package/dist/stories/components/icons/HannafordChartIcon.js +40 -0
  324. package/dist/stories/components/icons/HannafordIcon.js +5017 -0
  325. package/dist/stories/components/icons/HannafordIcon_new.js +41 -0
  326. package/dist/stories/components/icons/HannafordNewIcon.js +213 -0
  327. package/dist/stories/components/icons/InfoIcon.js +28 -0
  328. package/dist/stories/components/icons/LampIcon.js +30 -0
  329. package/dist/stories/components/icons/LegendLineIcon.js +29 -0
  330. package/dist/stories/components/icons/LegendUnionIcon.js +29 -0
  331. package/dist/stories/components/icons/MaintenanceIcon.js +28 -0
  332. package/dist/stories/components/icons/MenuItemClosedIcon.js +28 -0
  333. package/dist/stories/components/icons/MenuItemOpenIcon.js +28 -0
  334. package/dist/stories/components/icons/MenuItemRightIcon.js +28 -0
  335. package/dist/stories/components/icons/MenuItemUpIcon.js +28 -0
  336. package/dist/stories/components/icons/NoDataFoundIcon.js +86 -0
  337. package/dist/stories/components/icons/OptionsIcon.js +27 -0
  338. package/dist/stories/components/icons/ReselectIcon.js +27 -0
  339. package/dist/stories/components/icons/SearchIcon.js +27 -0
  340. package/dist/stories/components/icons/ShoppingCartIcon.js +45 -0
  341. package/dist/stories/components/icons/ShoutIcon.js +27 -0
  342. package/dist/stories/components/icons/Sort.js +13 -0
  343. package/dist/stories/components/icons/SortIcon.js +35 -0
  344. package/dist/stories/components/icons/SpotlightProductIcon.js +28 -0
  345. package/dist/stories/components/icons/StopAndShopChartIcon.js +42 -0
  346. package/dist/stories/components/icons/StopAndShopIcon.js +134 -0
  347. package/dist/stories/components/icons/StopAndShopNewIcon.js +41 -0
  348. package/dist/stories/components/icons/SucceededIcon.js +28 -0
  349. package/dist/stories/components/icons/TheGiantCompanyChartIcon.js +40 -0
  350. package/dist/stories/components/icons/TheGiantCompanyIcon.js +40 -0
  351. package/dist/stories/components/icons/TheGiantCompanyIcon_old.js +1831 -0
  352. package/dist/stories/components/icons/TheGiantCompanyNewIcon.js +39 -0
  353. package/dist/stories/utils/ComponentFactory.js +65 -0
  354. package/dist/stories/utils/IconsHandler.js +150 -0
  355. package/dist/stories/utils/IconsHandler.style.js +16 -0
  356. package/dist/stories/utils/regex/Email.regex.js +7 -0
  357. package/dist/stories/utils/regex/LatinWithSpaces.regex.js +7 -0
  358. package/dist/stories/utils/regex/OnlyEnglishLetters.regex.js +7 -0
  359. package/dist/stories/utils/regex/Phone.regex.js +7 -0
  360. package/dist/types/components/LinnerDataBox/LinnerDataBox.data.d.ts +23 -0
  361. package/dist/vite.config.js +15 -0
  362. package/package.json +4 -4
@@ -0,0 +1,119 @@
1
+ "use strict";
2
+
3
+ var _interopRequireWildcard = require("@babel/runtime/helpers/interopRequireWildcard").default;
4
+ Object.defineProperty(exports, "__esModule", {
5
+ value: true
6
+ });
7
+ exports.default = exports.BannersDropdown = void 0;
8
+ var _react = _interopRequireWildcard(require("react"));
9
+ var _BannersDropdown = require("./BannersDropdown.style");
10
+ var _FoodLionNewIcon = require("./icons/FoodLionNewIcon");
11
+ var _TheGiantCompanyNewIcon = require("./icons/TheGiantCompanyNewIcon");
12
+ var _StopAndShopNewIcon = require("./icons/StopAndShopNewIcon");
13
+ var _GiantFoodIcon_new = require("./icons/GiantFoodIcon_new");
14
+ var _HannafordIcon_new = require("./icons/HannafordIcon_new");
15
+ var _ComboBoxArrowUpIcon = require("./icons/ComboBoxArrowUpIcon");
16
+ const BannersDropdown = props => {
17
+ const {
18
+ banners,
19
+ onClick
20
+ } = props;
21
+ const [processedBanners, setProcessedBanners] = (0, _react.useState)([]);
22
+ (0, _react.useEffect)(() => {
23
+ const formatedBanners = banners === null || banners === void 0 ? void 0 : banners.map(banner => {
24
+ if (banner.name === 'StopAndShop') {
25
+ return {
26
+ icon: /*#__PURE__*/_react.default.createElement(_StopAndShopNewIcon.StopAndShopNewIcon, null),
27
+ name: 'Stop&Shop',
28
+ checked: banner.checked
29
+ };
30
+ }
31
+ if (banner.name === 'FoodLion') {
32
+ return {
33
+ icon: /*#__PURE__*/_react.default.createElement(_FoodLionNewIcon.FoodLionNewIcon, null),
34
+ name: 'Food lion',
35
+ checked: banner.checked
36
+ };
37
+ }
38
+ if (banner.name === 'GiantFood') {
39
+ return {
40
+ icon: /*#__PURE__*/_react.default.createElement(_GiantFoodIcon_new.GiantFoodNewIcon, null),
41
+ name: 'Giant Food',
42
+ checked: banner.checked
43
+ };
44
+ }
45
+ if (banner.name === 'TheGiantCompany') {
46
+ return {
47
+ icon: /*#__PURE__*/_react.default.createElement(_TheGiantCompanyNewIcon.TheGiantCompanyIcon, null),
48
+ name: 'The Giant Company',
49
+ checked: banner.checked
50
+ };
51
+ }
52
+ if (banner.name === 'Hannaford') {
53
+ return {
54
+ icon: /*#__PURE__*/_react.default.createElement(_HannafordIcon_new.HannafordNewIcon, null),
55
+ name: 'Hannaford',
56
+ checked: banner.checked
57
+ };
58
+ }
59
+ return null;
60
+ });
61
+ setProcessedBanners(formatedBanners);
62
+ }, []);
63
+ const [toggled, setToggled] = (0, _react.useState)(false);
64
+ const [bannerButtonText, setBannerButtonText] = (0, _react.useState)('All Banners');
65
+ const [bannerButtonArrow, setBannerButtonArrow] = (0, _react.useState)('#2D8DE7');
66
+ const choosenBanners = index => {
67
+ const updatedBanners = [...processedBanners];
68
+ updatedBanners[index].checked = !updatedBanners[index].checked;
69
+ setProcessedBanners(updatedBanners);
70
+ onClick(updatedBanners);
71
+ };
72
+ (0, _react.useEffect)(() => {
73
+ const selectedBanners = processedBanners.filter(banner => !banner.checked);
74
+ if (selectedBanners.length < 1) {
75
+ setBannerButtonText('All Banners');
76
+ setBannerButtonArrow('#2D8DE7');
77
+ } else {
78
+ setBannerButtonText('Partial');
79
+ setBannerButtonArrow('#757575');
80
+ }
81
+ }, [processedBanners]);
82
+ return /*#__PURE__*/_react.default.createElement(_BannersDropdown.MainContainer, null, /*#__PURE__*/_react.default.createElement(_BannersDropdown.ToggleBannersWrapper, null, /*#__PURE__*/_react.default.createElement(_BannersDropdown.ToggleBanners, {
83
+ className: bannerButtonText === 'Partial' ? 'partial' : '',
84
+ onClick: () => setToggled(!toggled)
85
+ }, /*#__PURE__*/_react.default.createElement("span", null, bannerButtonText), /*#__PURE__*/_react.default.createElement(_BannersDropdown.ArrowWrap, {
86
+ className: toggled ? 'opened' : 'closed'
87
+ }, /*#__PURE__*/_react.default.createElement(_ComboBoxArrowUpIcon.ComboBoxArrowUpIcon, {
88
+ color: bannerButtonArrow
89
+ }))), toggled && /*#__PURE__*/_react.default.createElement(_BannersDropdown.ToggledDropdown, null, /*#__PURE__*/_react.default.createElement(_BannersDropdown.ToggledDropdownTitle, null, "Participating Banners"), /*#__PURE__*/_react.default.createElement(_BannersDropdown.ToggledDropdownList, null, processedBanners.map((banner, index) =>
90
+ /*#__PURE__*/
91
+ // eslint-disable-next-line jsx-a11y/click-events-have-key-events, jsx-a11y/no-noninteractive-element-interactions
92
+ _react.default.createElement("li", {
93
+ // eslint-disable-next-line react/no-array-index-key
94
+ key: index,
95
+ className: !banner.checked ? 'unchecked' : '',
96
+ onClick: () => choosenBanners(index)
97
+ }, /*#__PURE__*/_react.default.createElement(_BannersDropdown.IconWrap, null, banner.icon), "|", /*#__PURE__*/_react.default.createElement("span", null, banner.name)))))));
98
+ };
99
+ exports.BannersDropdown = BannersDropdown;
100
+ var _default = exports.default = BannersDropdown;
101
+ BannersDropdown.defaultProps = {
102
+ banners: [{
103
+ name: 'StopAndShop',
104
+ checked: true
105
+ }, {
106
+ name: 'FoodLion',
107
+ checked: false
108
+ }, {
109
+ name: 'GiantFood',
110
+ checked: true
111
+ }, {
112
+ name: 'TheGiantCompany',
113
+ checked: true
114
+ }, {
115
+ name: 'Hannaford',
116
+ checked: false
117
+ }],
118
+ onClick: () => {}
119
+ };
@@ -0,0 +1,99 @@
1
+ "use strict";
2
+
3
+ var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default;
4
+ Object.defineProperty(exports, "__esModule", {
5
+ value: true
6
+ });
7
+ exports.ToggledDropdownTitle = exports.ToggledDropdownList = exports.ToggledDropdown = exports.ToggleBannersWrapper = exports.ToggleBanners = exports.MainContainer = exports.IconWrap = exports.ArrowWrap = void 0;
8
+ var _styledComponents = _interopRequireDefault(require("styled-components"));
9
+ const MainContainer = exports.MainContainer = _styledComponents.default.div`
10
+ position: relative;
11
+ font-family: "Poppins", sans-serif;
12
+ background-color: white;
13
+ border-radius: 30px;
14
+ `;
15
+ const ToggleBannersWrapper = exports.ToggleBannersWrapper = _styledComponents.default.div`
16
+ position: relative;
17
+ `;
18
+ const ToggleBanners = exports.ToggleBanners = _styledComponents.default.button`
19
+ display: flex;
20
+ gap: 4px;
21
+ color: #2d8de7;
22
+ border: 1px solid #c7e4ff;
23
+ border-radius: 30px;
24
+ background-color: #edf6ff;
25
+ padding: 6px 12px;
26
+ cursor: pointer;
27
+ &.partial {
28
+ color: #757575;
29
+ border: 1px solid #ececec;
30
+ background-color: #ececec;
31
+ }
32
+ > span {
33
+ white-space: nowrap;
34
+ }
35
+ `;
36
+ const ArrowWrap = exports.ArrowWrap = _styledComponents.default.div`
37
+ > svg {
38
+ transform: rotate(180deg);
39
+ transition: transform 0.3s ease;
40
+ }
41
+ &.opened {
42
+ svg {
43
+ transform: rotate(0deg);
44
+ }
45
+ }
46
+ `;
47
+ const ToggledDropdown = exports.ToggledDropdown = _styledComponents.default.div`
48
+ position: absolute;
49
+ margin-top: 10px;
50
+ border-radius: 5px;
51
+ background-color: white;
52
+ overflow: hidden;
53
+ z-index: 99;
54
+
55
+ box-shadow: 0px 0px 20px 0px rgba(0, 0, 0, 0.1);
56
+ `;
57
+ const ToggledDropdownTitle = exports.ToggledDropdownTitle = _styledComponents.default.span`
58
+ font-size: 14px;
59
+ font-weight: 600;
60
+ padding: 8px 12px;
61
+ margin-bottom: 12px;
62
+ white-space: nowrap;
63
+ `;
64
+ const ToggledDropdownList = exports.ToggledDropdownList = _styledComponents.default.ul`
65
+ list-style-type: none;
66
+ padding: 0;
67
+ margin: 0;
68
+ li {
69
+ font-size: 14px;
70
+ font-weight: 400;
71
+ display: flex;
72
+ gap: 6px;
73
+ padding: 14px 12px;
74
+ align-items: center;
75
+ cursor: pointer;
76
+ &:hover {
77
+ background-color: #f7f8fa;
78
+ }
79
+
80
+ &.unchecked {
81
+ color: #cfcfcf;
82
+ svg {
83
+ filter: grayscale(1);
84
+ }
85
+ }
86
+
87
+ > svg {
88
+ min-width: 50px;
89
+ }
90
+
91
+ > span {
92
+ white-space: nowrap;
93
+ }
94
+ }
95
+ `;
96
+ const IconWrap = exports.IconWrap = _styledComponents.default.div`
97
+ min-width: 54px;
98
+ text-align: center;
99
+ `;
@@ -0,0 +1,258 @@
1
+ "use strict";
2
+
3
+ var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default;
4
+ var _interopRequireWildcard = require("@babel/runtime/helpers/interopRequireWildcard").default;
5
+ Object.defineProperty(exports, "__esModule", {
6
+ value: true
7
+ });
8
+ exports.default = exports.BarChart = void 0;
9
+ var _react = _interopRequireWildcard(require("react"));
10
+ var _recharts = require("recharts");
11
+ var _CommonFunctions = require("./CommonFunctions");
12
+ var _BarChart = require("./BarChart.style");
13
+ var _PerformanceAnalyticsLegend = _interopRequireDefault(require("./PerformanceAnalyticsLegend"));
14
+ /* eslint-disable react/prop-types */
15
+ /* eslint-disable no-shadow */
16
+ /* eslint-disable react/no-unstable-nested-components */
17
+ /* eslint-disable no-nested-ternary */
18
+
19
+ const ICON_TYPE_SQUARE = 'Square';
20
+ /* BarCharts */
21
+ const BarChart = props => {
22
+ const {
23
+ className,
24
+ title,
25
+ barChartData,
26
+ barSize,
27
+ barFontSizeValue,
28
+ isDollar,
29
+ width,
30
+ height,
31
+ barChartColor,
32
+ currentBarColor,
33
+ showLegend,
34
+ legendData,
35
+ showDollarSign,
36
+ showReferenceLine,
37
+ referenceLinePoint,
38
+ referenceLineColor,
39
+ referenceLineDashed,
40
+ showCurrentCampaignStyle,
41
+ isPercent
42
+ } = props;
43
+ const controlsContainerRef = (0, _react.useRef)();
44
+ const areAllDatesEmpty = () => {
45
+ if (!barChartData || (barChartData === null || barChartData === void 0 ? void 0 : barChartData.length) === 0) return true;
46
+ return barChartData === null || barChartData === void 0 ? void 0 : barChartData.every(item => !item.date);
47
+ };
48
+ const displayFormattedValue = function (value) {
49
+ let showFullNumber = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : false;
50
+ if (value === undefined || value === null) return '';
51
+ let formattedValue = '';
52
+ if (isPercent) {
53
+ formattedValue = ''.concat(value.toFixed(1), '%');
54
+ } else if (isDollar) {
55
+ formattedValue = ''.concat(showDollarSign ? '$' : '', !showFullNumber ? (0, _CommonFunctions.getFormattedValue)(value) : (0, _CommonFunctions.getNumberWithCommas)(Number.isInteger(value) ? value : value.toFixed(1)), !showFullNumber ? (0, _CommonFunctions.getFormattedUnits)(value) : '');
56
+ } else {
57
+ formattedValue = ''.concat(!showFullNumber ? (0, _CommonFunctions.getFormattedValue)(value) : (0, _CommonFunctions.getNumberWithCommas)(Number.isInteger(value) ? value : value.toFixed(1)), !showFullNumber ? (0, _CommonFunctions.getFormattedUnits)(value) : '');
58
+ }
59
+ return formattedValue;
60
+ };
61
+
62
+ // eslint-disable-next-line react/no-unstable-nested-components
63
+ const CustomTooltip = tooltipData => {
64
+ var _payload$0$payload, _payload$0$payload2;
65
+ const {
66
+ active,
67
+ payload,
68
+ label
69
+ } = tooltipData;
70
+ if (!active || !payload || (payload === null || payload === void 0 ? void 0 : payload.length) === 0) return null;
71
+ let currentTooltipValue = 0;
72
+ if ((_payload$0$payload = payload[0].payload) !== null && _payload$0$payload !== void 0 && _payload$0$payload.value) currentTooltipValue = (_payload$0$payload2 = payload[0].payload) === null || _payload$0$payload2 === void 0 ? void 0 : _payload$0$payload2.value;
73
+ return /*#__PURE__*/_react.default.createElement(_BarChart.TooltipDiv, null, /*#__PURE__*/_react.default.createElement(_BarChart.TooltipTitle, null, `${label}`), /*#__PURE__*/_react.default.createElement(_BarChart.TooltipLabel, null, `${displayFormattedValue(currentTooltipValue, !!showCurrentCampaignStyle)}`));
74
+ };
75
+ const CustomizedTickBarChart = props => {
76
+ const {
77
+ x,
78
+ y,
79
+ payload
80
+ } = props;
81
+ if (barChartData && barChartData.length > 0 && payload) {
82
+ const retailerData = barChartData.filter(item => item.title === payload.value);
83
+ if (retailerData && retailerData.length > 0) {
84
+ return /*#__PURE__*/_react.default.createElement("g", {
85
+ transform: `translate(${x},${y})`
86
+ }, showCurrentCampaignStyle && retailerData[0].isCurrent && /*#__PURE__*/_react.default.createElement("rect", {
87
+ x: -56 // Adjust this to position the background properly
88
+ ,
89
+ y: 5 // Adjust this for vertical alignment with your text
90
+ ,
91
+ width: 112 // Adjust width based on the text length
92
+ ,
93
+ height: 22 // Adjust height based on font size
94
+ ,
95
+ fill: currentBarColor || '#90CE9C',
96
+ rx: 12
97
+ }), /*#__PURE__*/_react.default.createElement("text", {
98
+ x: 0,
99
+ y: 0,
100
+ dy: 16,
101
+ fill: "#212121"
102
+ }, /*#__PURE__*/_react.default.createElement(_BarChart.LabelBoldText, {
103
+ textAnchor: "middle",
104
+ x: 0,
105
+ dy: showCurrentCampaignStyle ? 20 : 50,
106
+ fontSize: showCurrentCampaignStyle ? 12 : 16,
107
+ fontWeight: showCurrentCampaignStyle ? 500 : 600,
108
+ fill: showCurrentCampaignStyle && !retailerData[0].isCurrent ? '#8B8989' : '#212121'
109
+ }, (() => {
110
+ if (showCurrentCampaignStyle) {
111
+ var _payload$value2;
112
+ if (retailerData[0].isCurrent) {
113
+ var _payload$value;
114
+ if ((payload === null || payload === void 0 ? void 0 : (_payload$value = payload.value) === null || _payload$value === void 0 ? void 0 : _payload$value.length) > 6) {
115
+ return `${payload.value.slice(0, 6)}...-Current`;
116
+ }
117
+ return `${payload.value}-Current`;
118
+ }
119
+ if ((payload === null || payload === void 0 ? void 0 : (_payload$value2 = payload.value) === null || _payload$value2 === void 0 ? void 0 : _payload$value2.length) > 10) {
120
+ return `${payload.value.slice(0, 10)}...`;
121
+ }
122
+ return `${payload.value}`;
123
+ }
124
+ return payload === null || payload === void 0 ? void 0 : payload.value;
125
+ })()), /*#__PURE__*/_react.default.createElement(_BarChart.LabelText, {
126
+ textAnchor: "middle",
127
+ x: "0",
128
+ dy: "30",
129
+ fontSize: 14,
130
+ fontWeight: 400
131
+ }, retailerData[0].date)));
132
+ }
133
+ return null;
134
+ }
135
+ return null;
136
+ };
137
+ const CustomizedLabel = props => {
138
+ const {
139
+ x,
140
+ y,
141
+ stroke,
142
+ value
143
+ } = props;
144
+ return /*#__PURE__*/_react.default.createElement("text", {
145
+ x: x + 30,
146
+ y: y,
147
+ dy: -8,
148
+ fill: showCurrentCampaignStyle ? '#8B8989' : stroke,
149
+ fontSize: barFontSizeValue,
150
+ textAnchor: "middle"
151
+ }, displayFormattedValue(value));
152
+ };
153
+ return /*#__PURE__*/_react.default.createElement(_BarChart.ControlsContainer, {
154
+ className: className,
155
+ height: height,
156
+ width: width,
157
+ ref: controlsContainerRef
158
+ }, /*#__PURE__*/_react.default.createElement(_BarChart.Controls, null, /*#__PURE__*/_react.default.createElement(_BarChart.Title, null, title), /*#__PURE__*/_react.default.createElement(_recharts.ResponsiveContainer, {
159
+ width: "100%",
160
+ height: "100%"
161
+ }, /*#__PURE__*/_react.default.createElement(_recharts.BarChart, {
162
+ width: width,
163
+ height: height,
164
+ data: barChartData,
165
+ margin: {
166
+ top: 20,
167
+ right: 0,
168
+ bottom: 0,
169
+ left: -5
170
+ }
171
+ }, showCurrentCampaignStyle && /*#__PURE__*/_react.default.createElement(_recharts.CartesianGrid, {
172
+ strokeDasharray: "3 3",
173
+ vertical: false
174
+ }), showCurrentCampaignStyle && /*#__PURE__*/_react.default.createElement(_recharts.YAxis, {
175
+ tickCount: 10,
176
+ interval: "preserveEnd",
177
+ domain: [0, 'auto'],
178
+ tick: {
179
+ fill: '#8B8989'
180
+ },
181
+ axisLine: false,
182
+ fontWeight: 400,
183
+ fontSize: "12px",
184
+ tickLine: false,
185
+ tickFormatter: value => `${displayFormattedValue(value)}`
186
+ }), showReferenceLine && /*#__PURE__*/_react.default.createElement(_recharts.ReferenceLine, {
187
+ y: referenceLinePoint,
188
+ stroke: referenceLineColor,
189
+ strokeDasharray: referenceLineDashed
190
+ }), /*#__PURE__*/_react.default.createElement(_recharts.XAxis, {
191
+ dataKey: "title",
192
+ tick: CustomizedTickBarChart,
193
+ tickLine: false,
194
+ height: areAllDatesEmpty() ? 50 : 120,
195
+ stroke: "#D0D0D0",
196
+ domain: [0, 'auto'],
197
+ interval: 0
198
+ }), /*#__PURE__*/_react.default.createElement(_recharts.Tooltip, {
199
+ content: /*#__PURE__*/_react.default.createElement(CustomTooltip, null)
200
+ }), /*#__PURE__*/_react.default.createElement(_recharts.Tooltip, null), /*#__PURE__*/_react.default.createElement(_recharts.Bar, {
201
+ dataKey: "value",
202
+ fill: barChartColor,
203
+ minPointSize: 5,
204
+ barSize: barSize !== null && barSize !== void 0 ? barSize : 60,
205
+ radius: [5, 5, 0, 0]
206
+ }, /*#__PURE__*/_react.default.createElement(_recharts.LabelList, {
207
+ dataKey: "value",
208
+ content: CustomizedLabel
209
+ })))), showLegend && /*#__PURE__*/_react.default.createElement(_PerformanceAnalyticsLegend.default, {
210
+ legendData: legendData
211
+ })));
212
+ };
213
+ exports.BarChart = BarChart;
214
+ var _default = exports.default = BarChart;
215
+ BarChart.defaultProps = {
216
+ title: 'String',
217
+ barChartData: [{
218
+ title: 'Food Lion',
219
+ date: '15.01.24-31.01.24',
220
+ value: 542366
221
+ }, {
222
+ title: 'Hannaford',
223
+ date: '15.01.24-31.01.24',
224
+ value: 699511
225
+ }, {
226
+ title: 'The Giant Company',
227
+ date: '15.01.24-31.01.24',
228
+ value: 403092
229
+ }, {
230
+ title: 'Giant Food',
231
+ date: '15.01.24-31.01.24',
232
+ value: 396184
233
+ }, {
234
+ title: 'Stop&Shop',
235
+ date: '15.01.24-31.01.24',
236
+ value: 415317
237
+ }],
238
+ width: '100%',
239
+ height: '100%',
240
+ barSize: 60,
241
+ barFontSizeValue: '0.6em',
242
+ barChartColor: '#BD9EFF',
243
+ showDollarSign: true,
244
+ isDollar: true,
245
+ showLegend: true,
246
+ legendData: [{
247
+ title: 'Incremental Sales',
248
+ iconType: ICON_TYPE_SQUARE,
249
+ iconColor: '#BD9EFF'
250
+ }],
251
+ showReferenceLine: false,
252
+ referenceLinePoint: 0,
253
+ referenceLineColor: '#212121',
254
+ referenceLineDashed: '5',
255
+ showCurrentCampaignStyle: false,
256
+ currentBarColor: '#90CE9C',
257
+ isPercent: false
258
+ };
@@ -0,0 +1,60 @@
1
+ "use strict";
2
+
3
+ var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default;
4
+ Object.defineProperty(exports, "__esModule", {
5
+ value: true
6
+ });
7
+ exports.TooltipTitle = exports.TooltipLabel = exports.TooltipDiv = exports.Title = exports.LabelText = exports.LabelBoldText = exports.ControlsContainer = exports.Controls = void 0;
8
+ var _styledComponents = _interopRequireDefault(require("styled-components"));
9
+ const ControlsContainer = exports.ControlsContainer = _styledComponents.default.div`
10
+ position: relative;
11
+ font-family: "Poppins", sans-serif;
12
+ color: #212121;
13
+ width: ${props => props.width};
14
+ height: ${props => props.height};
15
+ min-width: 250px;
16
+ `;
17
+ const Controls = exports.Controls = _styledComponents.default.div`
18
+ height: 100%;
19
+ width: 100%;
20
+ background: white;
21
+ display: flex;
22
+ flex-direction: column;
23
+ `;
24
+ const TooltipDiv = exports.TooltipDiv = _styledComponents.default.div`
25
+ border-radius: 5px;
26
+ padding: 8px 12px;
27
+ background: white;
28
+ box-shadow: 0px 0px 20px 0px rgba(0, 0, 0, 0.2);
29
+ margin: 0;
30
+ `;
31
+ const TooltipLabel = exports.TooltipLabel = _styledComponents.default.div`
32
+ color: #212121;
33
+ font-size: 14px;
34
+ font-weight: 400;
35
+ width: fit-content;
36
+ `;
37
+ const TooltipTitle = exports.TooltipTitle = _styledComponents.default.div`
38
+ color: #212121;
39
+ font-size: 14px;
40
+ font-weight: 600;
41
+ `;
42
+ const Title = exports.Title = _styledComponents.default.h5`
43
+ font-weight: 500;
44
+ font-size: 18px;
45
+ line-height: 20px;
46
+ margin: 0 0 30px;
47
+ @media (max-width: 1536px) {
48
+ font-size: 16px;
49
+ margin: 0 0 20px;
50
+ }
51
+ @media (max-width: 1366px) {
52
+ font-size: 14px;
53
+ }
54
+ `;
55
+ const LabelBoldText = exports.LabelBoldText = _styledComponents.default.tspan`
56
+ font-size: 0.7em;
57
+ `;
58
+ const LabelText = exports.LabelText = _styledComponents.default.tspan`
59
+ font-size: 0.6em;
60
+ `;