sag_components 1.0.882 → 1.0.883

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 (310) hide show
  1. package/dist/stories/components/AttachedFile/AttachedFile.js +62 -0
  2. package/dist/stories/components/AttachedFile/AttachedFile.stories.js +36 -0
  3. package/dist/stories/components/AttachedFile/AttachedFile.style.js +14 -0
  4. package/dist/stories/components/BannerEventBox/BannerEventBox.js +87 -0
  5. package/dist/stories/components/BannerEventBox/BannerEventBox.stories.js +58 -0
  6. package/dist/stories/components/BannerEventBox/BannerEventBox.style.js +22 -0
  7. package/dist/stories/components/BannerEventBoxList/BannerEventBoxList.js +148 -0
  8. package/dist/stories/components/BannerEventBoxList/BannerEventBoxList.stories.js +30 -0
  9. package/dist/stories/components/BannerEventBoxList/BannerEventBoxList.style.js +22 -0
  10. package/dist/stories/components/BannersDropdown/BannersDropdown.js +115 -0
  11. package/dist/stories/components/BannersDropdown/BannersDropdown.stories.js +64 -0
  12. package/dist/stories/components/BannersDropdown/BannersDropdown.style.js +18 -0
  13. package/dist/stories/components/BarChart/BarChart.js +189 -0
  14. package/dist/stories/components/BarChart/BarChart.stories.js +144 -0
  15. package/dist/stories/components/BarChart/BarChart.style.js +18 -0
  16. package/dist/stories/components/BarChartTwoRows/BarChartTwoRows.js +204 -0
  17. package/dist/stories/components/BarChartTwoRows/BarChartTwoRows.stories.js +133 -0
  18. package/dist/stories/components/BarChartTwoRows/BarChartTwoRows.style.js +18 -0
  19. package/dist/stories/components/BarChartWithAreaChart.js +241 -0
  20. package/dist/stories/components/BarChartWithAreaChart.style.js +64 -0
  21. package/dist/stories/components/BarChartsByWeeks/BarChartsByWeeks.js +295 -0
  22. package/dist/stories/components/BarChartsByWeeks/BarChartsByWeeks.stories.js +442 -0
  23. package/dist/stories/components/BarChartsByWeeks/BarChartsByWeeks.style.js +21 -0
  24. package/dist/stories/components/Benchmark/Benchmark.js +130 -0
  25. package/dist/stories/components/Benchmark/Benchmark.stories.js +148 -0
  26. package/dist/stories/components/Benchmark/Benchmark.style.js +15 -0
  27. package/dist/stories/components/Button/Button.js +217 -0
  28. package/dist/stories/components/Button/Button.stories.js +269 -0
  29. package/dist/stories/components/Button/Button.style.js +15 -0
  30. package/dist/stories/components/CampaignDemoReport/CampaignDemoReport.js +48 -0
  31. package/dist/stories/components/CampaignDemoReport/CampaignDemoReport.stories.js +65 -0
  32. package/dist/stories/components/CampaignDemoReport/CampaignDemoReport.style.js +15 -0
  33. package/dist/stories/components/Card/Card.js +72 -0
  34. package/dist/stories/components/Card/Card.stories.js +92 -0
  35. package/dist/stories/components/Card/Card.style.js +18 -0
  36. package/dist/stories/components/CheckBox/CheckBox.js +76 -0
  37. package/dist/stories/components/CheckBox/CheckBox.stories.js +107 -0
  38. package/dist/stories/components/CheckBox/CheckBox.style.js +14 -0
  39. package/dist/stories/components/CheckBoxButton/CheckBoxButton.js +69 -0
  40. package/dist/stories/components/CheckBoxButton/CheckBoxButton.stories.js +150 -0
  41. package/dist/stories/components/CheckBoxButton/CheckBoxButton.style.js +14 -0
  42. package/dist/stories/components/CodeEditor/CodeEditor.js +43 -0
  43. package/dist/stories/components/CodeEditor/CodeEditor.style.js +12 -0
  44. package/dist/stories/components/CollapseData/CollapseData.js +66 -0
  45. package/dist/stories/components/CollapseData/CollapseData.stories.js +125 -0
  46. package/dist/stories/components/CollapseData/CollapseData.style.js +21 -0
  47. package/dist/stories/components/CollapseHeader/CollapseHeader.js +267 -0
  48. package/dist/stories/components/CollapseHeader/CollapseHeader.stories.js +116 -0
  49. package/dist/stories/components/CollapseHeader/CollapseHeader.style.js +35 -0
  50. package/dist/stories/components/CollapseMenuItem/CollapseMenuItem.js +61 -0
  51. package/dist/stories/components/CollapseMenuItem/CollapseMenuItem.stories.js +161 -0
  52. package/dist/stories/components/CollapseMenuItem/CollapseMenuItem.style.js +17 -0
  53. package/dist/stories/components/Datepicker/Datepicker.js +148 -0
  54. package/dist/stories/components/Datepicker/Datepicker.stories.js +86 -0
  55. package/dist/stories/components/Datepicker/Datepicker.style.js +13 -0
  56. package/dist/stories/components/DownloadProgress/DownloadProgress.js +97 -0
  57. package/dist/stories/components/DownloadProgress/DownloadProgress.stories.js +111 -0
  58. package/dist/stories/components/DownloadProgress/DownloadProgress.style.js +14 -0
  59. package/dist/stories/components/Dropdown/Dropdown.js +231 -0
  60. package/dist/stories/components/Dropdown/Dropdown.stories.js +323 -0
  61. package/dist/stories/components/Dropdown/Dropdown.style.js +11 -0
  62. package/dist/stories/components/DropdownMulti/DropdownMulti.js +290 -0
  63. package/dist/stories/components/DropdownMulti/DropdownMulti.stories.js +220 -0
  64. package/dist/stories/components/DropdownMulti/DropdownMulti.style.js +11 -0
  65. package/dist/stories/components/DropdownMultiNew/DropdownMultiNew.js +279 -0
  66. package/dist/stories/components/DropdownMultiNew/DropdownMultiNew.style.js +28 -0
  67. package/dist/stories/components/DropdownNew/DropdownNew.js +88 -0
  68. package/dist/stories/components/DropdownNew/DropdownNew.stories.js +407 -0
  69. package/dist/stories/components/DropdownNew/DropdownNew.style.js +11 -0
  70. package/dist/stories/components/DropdownSingleNew/DropdownSingleNew.js +234 -0
  71. package/dist/stories/components/DropdownSingleNew/DropdownSingleNew.style.js +26 -0
  72. package/dist/stories/components/EventDetailsCard/EventDetailsCard.js +144 -0
  73. package/dist/stories/components/EventDetailsCard/EventDetailsCard.stories.js +57 -0
  74. package/dist/stories/components/EventDetailsCard/EventDetailsCard.style.js +18 -0
  75. package/dist/stories/components/EventList/EventList.js +61 -0
  76. package/dist/stories/components/EventList/EventList.stories.js +84 -0
  77. package/dist/stories/components/EventList/EventList.style.js +14 -0
  78. package/dist/stories/components/EventListItem/EventListItem.js +50 -0
  79. package/dist/stories/components/EventListItem/EventListItem.stories.js +65 -0
  80. package/dist/stories/components/EventListItem/EventListItem.style.js +14 -0
  81. package/dist/stories/components/FilterContainer/FilterContainer.js +29 -0
  82. package/dist/stories/components/FilterContainer/FilterContainer.stories.js +23 -0
  83. package/dist/stories/components/FilterContainer/FilterContainer.style.js +13 -0
  84. package/dist/stories/components/FilterPanel/FilterPanel.js +566 -0
  85. package/dist/stories/components/FilterPanel/FilterPanel.stories.js +967 -0
  86. package/dist/stories/components/FilterPanel/FilterPanel.style.js +21 -0
  87. package/dist/stories/components/FormInput/FormInput.js +41 -0
  88. package/dist/stories/components/FormSelect/FormSelect.js +42 -0
  89. package/dist/stories/components/FormattedValue/FormattedValue.js +68 -0
  90. package/dist/stories/components/FormattedValue/FormattedValue.stories.js +189 -0
  91. package/dist/stories/components/FormattedValue/FormattedValue.style.js +18 -0
  92. package/dist/stories/components/IconButton/IconButton.js +147 -0
  93. package/dist/stories/components/IconButton/IconButton.stories.js +131 -0
  94. package/dist/stories/components/IconButton/IconButton.style.js +15 -0
  95. package/dist/stories/components/Input/Input.js +183 -0
  96. package/dist/stories/components/Input/Input.stories.js +434 -0
  97. package/dist/stories/components/Input/Input.style.js +17 -0
  98. package/dist/stories/components/InputOld/InputOld.js +90 -0
  99. package/dist/stories/components/InputOld/InputOld.stories.js +100 -0
  100. package/dist/stories/components/InputOld/InputOld.style.js +16 -0
  101. package/dist/stories/components/KpiFilter/KpiFilter.js +313 -0
  102. package/dist/stories/components/KpiFilter/KpiFilter.stories.js +380 -0
  103. package/dist/stories/components/KpiFilter/KpiFilter.style.js +26 -0
  104. package/dist/stories/components/LinkButton/LinkButton.js +207 -0
  105. package/dist/stories/components/LinkButton/LinkButton.stories.js +180 -0
  106. package/dist/stories/components/LinkButton/LinkButton.style.js +14 -0
  107. package/dist/stories/components/LinnerDataBox/LinnerDataBox.js +43 -0
  108. package/dist/stories/components/LinnerDataBox/LinnerDataBox.stories.js +56 -0
  109. package/dist/stories/components/LinnerDataBox/LinnerDataBox.style.js +22 -0
  110. package/dist/stories/components/ListBox/ListBox.js +82 -0
  111. package/dist/stories/components/ListBox/ListBox.stories.js +132 -0
  112. package/dist/stories/components/ListBox/ListBox.style.js +14 -0
  113. package/dist/stories/components/MarketShareDescription/MarketShareDescription.js +109 -0
  114. package/dist/stories/components/MarketShareDescription/MarketShareDescription.stories.js +184 -0
  115. package/dist/stories/components/MarketShareDescription/MarketShareDescription.style.js +27 -0
  116. package/dist/stories/components/Modal/Modal.js +21 -0
  117. package/dist/stories/components/Modal/Modal.style.js +17 -0
  118. package/dist/stories/components/Modal/ModalTotalBenchmark.js +224 -0
  119. package/dist/stories/components/Modal/ModalTotalCost.js +139 -0
  120. package/dist/stories/components/MonthPicker/MonthPicker.js +166 -0
  121. package/dist/stories/components/MonthPicker/MonthPicker.stories.js +140 -0
  122. package/dist/stories/components/MonthPicker/MonthPicker.style.js +18 -0
  123. package/dist/stories/components/MonthPicker/MonthPopupPicker.js +122 -0
  124. package/dist/stories/components/MultipleCard/MultipleCard.js +26 -0
  125. package/dist/stories/components/MultipleCard/MultipleCard.stories.js +33 -0
  126. package/dist/stories/components/{BannerEventBoxTest.style.js → MultipleCard/MultipleCard.style.js} +2 -2
  127. package/dist/stories/components/NoDataFoundMessage/NoDataFoundMessage.js +30 -0
  128. package/dist/stories/components/NoDataFoundMessage/NoDataFoundMessage.stories.js +66 -0
  129. package/dist/stories/components/NoDataFoundMessage/NoDataFoundMessage.style.js +13 -0
  130. package/dist/stories/components/OneColumnContainer/OneColumnContainer.js +121 -0
  131. package/dist/stories/components/OneColumnContainer/OneColumnContainer.stories.js +119 -0
  132. package/dist/stories/components/OneColumnContainer/OneColumnContainer.style.js +20 -0
  133. package/dist/stories/components/PageFilterBar/PageFilterBar.js +23 -0
  134. package/dist/stories/components/PageFilterBar/PageFilterBar.stories.js +28 -0
  135. package/dist/stories/components/PageFilterBar/PageFilterBar.style.js +12 -0
  136. package/dist/stories/components/PerformanceAnalytics/PerformanceAnalytics.js +431 -0
  137. package/dist/stories/components/PerformanceAnalytics/PerformanceAnalytics.stories.js +258 -0
  138. package/dist/stories/components/PerformanceAnalytics/PerformanceAnalytics.style.js +25 -0
  139. package/dist/stories/components/PerformanceAnalyticsLegend/PerformanceAnalyticsLegend.js +58 -0
  140. package/dist/stories/components/PerformanceAnalyticsLegend/PerformanceAnalyticsLegend.stories.js +86 -0
  141. package/dist/stories/components/PerformanceAnalyticsLegend/PerformanceAnalyticsLegend.style.js +16 -0
  142. package/dist/stories/components/PerformanceAnalyticsOneColumn/PerformanceAnalyticsOneColumn.js +315 -0
  143. package/dist/stories/components/PerformanceAnalyticsOneColumn/PerformanceAnalyticsOneColumn.stories.js +231 -0
  144. package/dist/stories/components/PerformanceAnalyticsOneColumn/PerformanceAnalyticsOneColumn.style.js +23 -0
  145. package/dist/stories/components/PerformanceAnalyticsTotals/PerformanceAnalyticsTotals.js +70 -0
  146. package/dist/stories/components/PerformanceAnalyticsTotals/PerformanceAnalyticsTotals.stories.js +100 -0
  147. package/dist/stories/components/PerformanceAnalyticsTotals/PerformanceAnalyticsTotals.style.js +20 -0
  148. package/dist/stories/components/Popup/Popup.js +172 -0
  149. package/dist/stories/components/Popup/Popup.stories.js +704 -0
  150. package/dist/stories/components/Popup/Popup.style.js +24 -0
  151. package/dist/stories/components/PopupCharts/PopupCharts.js +244 -0
  152. package/dist/stories/components/PopupCharts/PopupCharts.stories.js +1203 -0
  153. package/dist/stories/components/PopupCharts/PopupCharts.style.js +23 -0
  154. package/dist/stories/components/PopupContent/PopupContent.js +111 -0
  155. package/dist/stories/components/PopupContent/PopupContent.style.js +21 -0
  156. package/dist/stories/components/PopupContent/PopupFieldsRules.js +168 -0
  157. package/dist/stories/components/ProductsVariety/ProductsVariety.js +94 -0
  158. package/dist/stories/components/ProductsVariety/ProductsVariety.stories.js +91 -0
  159. package/dist/stories/components/ProductsVariety/ProductsVariety.style.js +20 -0
  160. package/dist/stories/components/ProgressBar/ProgressBar.js +52 -0
  161. package/dist/stories/components/ProgressBar/ProgressBar.stories.js +72 -0
  162. package/dist/stories/components/ProgressBar/ProgressBar.style.js +13 -0
  163. package/dist/stories/components/QuarterPicker/QuarterPicker.js +165 -0
  164. package/dist/stories/components/QuarterPicker/QuarterPicker.stories.js +140 -0
  165. package/dist/stories/components/QuarterPicker/QuarterPicker.style.js +18 -0
  166. package/dist/stories/components/QuarterPicker/QuarterPopupPicker.js +109 -0
  167. package/dist/stories/components/QuickFilter/QuickFilter.js +77 -0
  168. package/dist/stories/components/QuickFilter/QuickFilter.stories.js +281 -0
  169. package/dist/stories/components/QuickFilter/QuickFilter.style.js +11 -0
  170. package/dist/stories/components/QuickFilter/QuickFilterDropdownMultiSelection.js +299 -0
  171. package/dist/stories/components/QuickFilter/QuickFilterDropdownMultiSelection.style.js +28 -0
  172. package/dist/stories/components/QuickFilter/QuickFilterDropdownSingle.js +230 -0
  173. package/dist/stories/components/QuickFilter/QuickFilterDropdownSingle.style.js +27 -0
  174. package/dist/stories/components/RangePicker/RangeDatePicker.js +146 -0
  175. package/dist/stories/components/RangePicker/RangePicker.js +176 -0
  176. package/dist/stories/components/RangePicker/RangePicker.stories.js +138 -0
  177. package/dist/stories/components/RangePicker/RangePicker.style.js +18 -0
  178. package/dist/stories/components/ReportTable/ReportTable.js +262 -0
  179. package/dist/stories/components/ReportTable/ReportTable.stories.js +151 -0
  180. package/dist/stories/components/ReportTable/ReportTable.style.js +22 -0
  181. package/dist/stories/components/SagButton/SagButton.js +68 -0
  182. package/dist/stories/components/SagButton/SagButton.stories.js +118 -0
  183. package/dist/stories/components/SagButton/SagButton.style.js +13 -0
  184. package/dist/stories/components/SagIconButton/SagIconButton.js +130 -0
  185. package/dist/stories/components/SagIconButton/SagIconButton.stories.js +123 -0
  186. package/dist/stories/components/SagIconButton/SagIconButton.style.js +12 -0
  187. package/dist/stories/components/SagInput/SagInput.js +53 -0
  188. package/dist/stories/components/SagInput/SagInput.stories.js +69 -0
  189. package/dist/stories/components/{NewInput.style.js → SagInput/SagInput.style.js} +2 -2
  190. package/dist/stories/components/SalesAndROI/SalesAndROI.js +89 -0
  191. package/dist/stories/components/SalesAndROI/SalesAndROI.stories.js +168 -0
  192. package/dist/stories/components/SalesAndROI/SalesAndROI.style.js +19 -0
  193. package/dist/stories/components/SearchInput/SearchInput.js +39 -0
  194. package/dist/stories/components/SearchInput/SearchInput.stories.js +44 -0
  195. package/dist/stories/components/SearchInput/SearchInput.style.js +12 -0
  196. package/dist/stories/components/SegmentedButton/SegmentedButton.js +122 -0
  197. package/dist/stories/components/SegmentedButton/SegmentedButton.stories.js +183 -0
  198. package/dist/stories/components/SegmentedButton/SegmentedButton.style.js +19 -0
  199. package/dist/stories/components/Select/Select.js +135 -0
  200. package/dist/stories/components/Select/Select.stories.js +200 -0
  201. package/dist/stories/components/Select/Select.style.js +19 -0
  202. package/dist/stories/components/TabMenu/TabMenu.js +202 -0
  203. package/dist/stories/components/TabMenu/TabMenu.stories.js +76 -0
  204. package/dist/stories/components/TabMenu/TabMenu.style.js +24 -0
  205. package/dist/stories/components/Table/Table.js +195 -0
  206. package/dist/stories/components/Table/Table.stories.js +104 -0
  207. package/dist/stories/components/Table/Table.style.js +17 -0
  208. package/dist/stories/components/TextField/TextField.js +209 -0
  209. package/dist/stories/components/TextField/TextField.stories.js +162 -0
  210. package/dist/stories/components/TextField/TextField.style.js +11 -0
  211. package/dist/stories/components/TitleDescription/TitleDescription.js +272 -0
  212. package/dist/stories/components/TitleDescription/TitleDescription.stories.js +117 -0
  213. package/dist/stories/components/TitleDescription/TitleDescription.style.js +36 -0
  214. package/dist/stories/components/Tooltip/Tooltip.js +31 -0
  215. package/dist/stories/components/Tooltip/Tooltip.style.js +18 -0
  216. package/dist/stories/components/TopToggleList/TopToggleList.js +46 -0
  217. package/dist/stories/components/TopToggleList/TopToggleList.stories.js +52 -0
  218. package/dist/stories/components/TopToggleList/TopToggleList.style.js +16 -0
  219. package/dist/stories/components/TotalBenchmark/TotalBenchmark.js +97 -0
  220. package/dist/stories/components/TotalBenchmark/TotalBenchmark.stories.js +138 -0
  221. package/dist/stories/components/TotalBenchmark/TotalBenchmark.style.js +21 -0
  222. package/dist/stories/components/TotalBenchmarkAreachart/TotalBenchmarkAreachart.js +342 -0
  223. package/dist/stories/components/TotalBenchmarkAreachart/TotalBenchmarkAreachart.stories.js +343 -0
  224. package/dist/stories/components/TotalBenchmarkAreachart/TotalBenchmarkAreachart.style.js +30 -0
  225. package/dist/stories/components/TotalBenchmarkArrows/TotalBenchmarkArrows.js +149 -0
  226. package/dist/stories/components/TotalBenchmarkArrows/TotalBenchmarkArrows.stories.js +172 -0
  227. package/dist/stories/components/TotalBenchmarkArrows/TotalBenchmarkArrows.style.js +24 -0
  228. package/dist/stories/components/TotalBenchmarkBarchart/TotalBenchmarkBarchart.js +165 -0
  229. package/dist/stories/components/TotalBenchmarkBarchart/TotalBenchmarkBarchart.stories.js +185 -0
  230. package/dist/stories/components/TotalBenchmarkBarchart/TotalBenchmarkBarchart.style.js +20 -0
  231. package/dist/stories/components/TotalDoughnutChart/TotalDoughnutChart.js +182 -0
  232. package/dist/stories/components/TotalDoughnutChart/TotalDoughnutChart.stories.js +290 -0
  233. package/dist/stories/components/TotalDoughnutChart/TotalDoughnutChart.style.js +30 -0
  234. package/dist/stories/components/TotalHorizontalCharts/TotalHorizontalCharts.js +207 -0
  235. package/dist/stories/components/TotalHorizontalCharts/TotalHorizontalCharts.stories.js +158 -0
  236. package/dist/stories/components/TotalHorizontalCharts/TotalHorizontalCharts.style.js +20 -0
  237. package/dist/stories/components/TspanTooltip/TspanTooltip.js +16 -0
  238. package/dist/stories/components/TspanTooltip/TspanTooltip.style.js +13 -0
  239. package/dist/stories/components/TwoBarCharts/TwoBarCharts.js +202 -0
  240. package/dist/stories/components/TwoBarCharts/TwoBarCharts.stories.js +120 -0
  241. package/dist/stories/components/TwoBarCharts/TwoBarCharts.style.js +18 -0
  242. package/dist/stories/components/icons/FoodLionChartIcon.js +42 -0
  243. package/dist/stories/components/icons/GiantFoodChartIcon.js +40 -0
  244. package/dist/stories/components/icons/HannafordChartIcon.js +40 -0
  245. package/dist/stories/components/icons/StopAndShopChartIcon.js +42 -0
  246. package/dist/stories/components/icons/TheGiantCompanyChartIcon.js +40 -0
  247. package/dist/stories/icons/ArrowDownIcon.js +27 -0
  248. package/dist/stories/icons/ArrowDropDownIcon.js +27 -0
  249. package/dist/stories/icons/ArrowSelectIcon.js +27 -0
  250. package/dist/stories/icons/ArrowUpIcon.js +27 -0
  251. package/dist/stories/icons/AttachedIcon.js +27 -0
  252. package/dist/stories/icons/BellIcon.js +27 -0
  253. package/dist/stories/icons/Calendar.js +20 -0
  254. package/dist/stories/icons/CalendarIcon.js +27 -0
  255. package/dist/stories/icons/CalendarInOpen.js +26 -0
  256. package/dist/stories/icons/CheckBoxButtonCheckedIcon.js +28 -0
  257. package/dist/stories/icons/CheckBoxCheckedIcon.js +28 -0
  258. package/dist/stories/icons/CheckBoxNotCheckedIcon.js +28 -0
  259. package/dist/stories/icons/ChervronLeftIcon.js +20 -0
  260. package/dist/stories/icons/ChervronRightIcon.js +20 -0
  261. package/dist/stories/icons/ClockIcon.js +27 -0
  262. package/dist/stories/icons/CloseIcon.js +27 -0
  263. package/dist/stories/icons/CloseXIcon.js +27 -0
  264. package/dist/stories/icons/ComboBoxArrowDownIcon.js +28 -0
  265. package/dist/stories/icons/ComboBoxArrowUpIcon.js +28 -0
  266. package/dist/stories/icons/DocumentIcon.js +48 -0
  267. package/dist/stories/icons/DownloadIcon.js +27 -0
  268. package/dist/stories/icons/Duplicate.js +28 -0
  269. package/dist/stories/icons/ErrorIcon.js +27 -0
  270. package/dist/stories/icons/ExitIcon.js +28 -0
  271. package/dist/stories/icons/ExportIcon.js +28 -0
  272. package/dist/stories/icons/EyeIcon.js +28 -0
  273. package/dist/stories/icons/FileIcon.js +27 -0
  274. package/dist/stories/icons/FilterIcon.js +36 -0
  275. package/dist/stories/icons/FlyIcon.js +28 -0
  276. package/dist/stories/icons/FoodLionIcon.js +3076 -0
  277. package/dist/stories/icons/FoodLionNewIcon.js +39 -0
  278. package/dist/stories/icons/GiantFoodIcon.js +1976 -0
  279. package/dist/stories/icons/GiantFoodIcon_new.js +42 -0
  280. package/dist/stories/icons/HannafordIcon.js +5017 -0
  281. package/dist/stories/icons/HannafordIcon_new.js +41 -0
  282. package/dist/stories/icons/HannafordNewIcon.js +213 -0
  283. package/dist/stories/icons/InfoIcon.js +28 -0
  284. package/dist/stories/icons/LampIcon.js +27 -0
  285. package/dist/stories/icons/LegendLineIcon.js +29 -0
  286. package/dist/stories/icons/LegendUnionIcon.js +29 -0
  287. package/dist/stories/icons/MaintenanceIcon.js +28 -0
  288. package/dist/stories/icons/MenuItemClosedIcon.js +28 -0
  289. package/dist/stories/icons/MenuItemOpenIcon.js +28 -0
  290. package/dist/stories/icons/MenuItemRightIcon.js +28 -0
  291. package/dist/stories/icons/MenuItemUpIcon.js +28 -0
  292. package/dist/stories/icons/NoDataFoundIcon.js +86 -0
  293. package/dist/stories/icons/OptionsIcon.js +27 -0
  294. package/dist/stories/icons/SearchIcon.js +27 -0
  295. package/dist/stories/icons/ShoppingCartIcon.js +45 -0
  296. package/dist/stories/icons/ShoutIcon.js +27 -0
  297. package/dist/stories/icons/SpotlightProductIcon.js +28 -0
  298. package/dist/stories/icons/StopAndShopIcon.js +134 -0
  299. package/dist/stories/icons/StopAndShopNewIcon.js +41 -0
  300. package/dist/stories/icons/SucceededIcon.js +27 -0
  301. package/dist/stories/icons/TheGiantCompanyIcon.js +40 -0
  302. package/dist/stories/icons/TheGiantCompanyNewIcon.js +39 -0
  303. package/dist/stories/utils/CommonFunctions.js +78 -0
  304. package/package.json +1 -1
  305. package/dist/stories/CampaignTool/PopupContent.stories.js +0 -284
  306. package/dist/stories/components/BannerEventBoxTest.js +0 -42
  307. package/dist/stories/components/FilterButton.js +0 -53
  308. package/dist/stories/components/FilterButton.style.js +0 -12
  309. package/dist/stories/components/NewInput.js +0 -33
  310. package/dist/stories/components/icons/TheGiantCompanyIcon_old.js +0 -1831
@@ -0,0 +1,442 @@
1
+ "use strict";
2
+
3
+ var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default;
4
+ Object.defineProperty(exports, "__esModule", {
5
+ value: true
6
+ });
7
+ exports.default = exports.TwoBars = exports.SalesDollars = exports.NoHeader = exports.MarketSharePercents = exports.HeaderTitlesAndValue = exports.BetweenTwoYears = void 0;
8
+ var _react = _interopRequireDefault(require("react"));
9
+ var _BarChartsByWeeks = require("./BarChartsByWeeks");
10
+ const arrData = [{
11
+ title: '202320',
12
+ value: 542366
13
+ }, {
14
+ title: '202321',
15
+ value: 699511
16
+ }, {
17
+ title: '202322',
18
+ value: 403092
19
+ }, {
20
+ title: '202323',
21
+ value: 396184
22
+ }, {
23
+ title: '202324',
24
+ value: 415317
25
+ }, {
26
+ title: '202325',
27
+ value: 568376
28
+ }, {
29
+ title: '202326',
30
+ value: 1078121
31
+ }, {
32
+ title: '202327',
33
+ value: 347930
34
+ }, {
35
+ title: '202328',
36
+ value: 346258
37
+ }, {
38
+ title: '202329',
39
+ value: 350184
40
+ }, {
41
+ title: '202330',
42
+ value: 312790
43
+ }, {
44
+ title: '202331',
45
+ value: 335076
46
+ }, {
47
+ title: '202332',
48
+ value: 311037
49
+ }];
50
+ const arrDataPercents = [{
51
+ title: '202320',
52
+ value: 14.3
53
+ }, {
54
+ title: '202321',
55
+ value: 11.2
56
+ }, {
57
+ title: '202322',
58
+ value: 4.2
59
+ }, {
60
+ title: '202323',
61
+ value: 8.3
62
+ }, {
63
+ title: '202324',
64
+ value: 2.455667788
65
+ }, {
66
+ title: '202325',
67
+ value: 6.2
68
+ }, {
69
+ title: '202326',
70
+ value: 5.2
71
+ }, {
72
+ title: '202327',
73
+ value: 12.9
74
+ }, {
75
+ title: '202328',
76
+ value: 11.2
77
+ }, {
78
+ title: '202329',
79
+ value: 14.2
80
+ }, {
81
+ title: '202330',
82
+ value: 3.6
83
+ }, {
84
+ title: '202331',
85
+ value: -24.7
86
+ }, {
87
+ title: '202332',
88
+ value: 1.8
89
+ }];
90
+ const arrDataBetweenTwoYears = [{
91
+ title: '202355',
92
+ value: 542366
93
+ }, {
94
+ title: '202356',
95
+ value: 699511
96
+ }, {
97
+ title: '202357',
98
+ value: 403092
99
+ }, {
100
+ title: '202358',
101
+ value: 396184
102
+ }, {
103
+ title: '202401',
104
+ value: 415317
105
+ }, {
106
+ title: '202402',
107
+ value: 568376
108
+ }, {
109
+ title: '202403',
110
+ value: 1078121
111
+ }, {
112
+ title: '202404',
113
+ value: 347930
114
+ }, {
115
+ title: '202405',
116
+ value: 346258
117
+ }, {
118
+ title: '202406',
119
+ value: 350184
120
+ }, {
121
+ title: '202407',
122
+ value: 312790
123
+ }, {
124
+ title: '202408',
125
+ value: 335076
126
+ }, {
127
+ title: '202409',
128
+ value: 311037
129
+ }];
130
+ const arrDataTwoBarCharts = [{
131
+ title: '202320',
132
+ value: 542366,
133
+ secondValue: 587642
134
+ }, {
135
+ title: '202321',
136
+ value: 699511,
137
+ secondValue: 365974
138
+ }, {
139
+ title: '202322',
140
+ value: 403092,
141
+ secondValue: 458721
142
+ }, {
143
+ title: '202323',
144
+ value: 396184,
145
+ secondValue: 965874
146
+ }, {
147
+ title: '202324',
148
+ value: 415317,
149
+ secondValue: 525258
150
+ }, {
151
+ title: '202325',
152
+ value: 568376,
153
+ secondValue: 757588
154
+ }, {
155
+ title: '202326',
156
+ value: 1078121,
157
+ secondValue: 356888
158
+ }, {
159
+ title: '202327',
160
+ value: 347930,
161
+ secondValue: 258888
162
+ }, {
163
+ title: '202328',
164
+ value: 346258,
165
+ secondValue: 655544
166
+ }, {
167
+ title: '202329',
168
+ value: 350184,
169
+ secondValue: 658955
170
+ }, {
171
+ title: '202330',
172
+ value: 312790,
173
+ secondValue: 454888
174
+ }, {
175
+ title: '202331',
176
+ value: 335076,
177
+ secondValue: 355557
178
+ }, {
179
+ title: '202332',
180
+ value: 311037,
181
+ secondValue: 855555
182
+ }];
183
+ var _default = exports.default = {
184
+ title: 'SAG BI/Bar Charts By Weeks',
185
+ component: _BarChartsByWeeks.BarChartsByWeeks,
186
+ tags: ['autodocs'],
187
+ argTypes: {
188
+ title: {
189
+ name: 'title',
190
+ control: {
191
+ type: 'text'
192
+ },
193
+ description: 'title on top of the component'
194
+ },
195
+ width: {
196
+ name: 'width',
197
+ control: {
198
+ type: 'text'
199
+ },
200
+ description: 'width of the control (in px)'
201
+ },
202
+ height: {
203
+ name: 'height',
204
+ control: {
205
+ type: 'text'
206
+ },
207
+ description: 'height of the control (in px)'
208
+ },
209
+ barChartColor: {
210
+ name: 'barChartColor',
211
+ description: 'Sets the area chart 1 color',
212
+ control: {
213
+ type: 'color',
214
+ presetColors: ['#ffffff', '#ff0000', '#00ff00', '#0000ff']
215
+ }
216
+ },
217
+ barChartData: {
218
+ description: 'array [] of objects: {title: string, value:number } to fill the area data. '
219
+ },
220
+ xselectedColor: {
221
+ name: 'xselectedColor',
222
+ description: 'Sets the xselectedColor fill color',
223
+ control: {
224
+ type: 'color',
225
+ presetColors: ['rgba(144, 206, 156, 0.50)']
226
+ }
227
+ },
228
+ startWeekRange: {
229
+ name: 'startWeekRange',
230
+ control: {
231
+ type: 'text'
232
+ },
233
+ description: 'startWeekRange, for example "W24" '
234
+ },
235
+ endWeekRange: {
236
+ name: 'endWeekRange',
237
+ control: {
238
+ type: 'text'
239
+ },
240
+ description: 'endWeekRange, for example "W31" '
241
+ },
242
+ yAxisCounter: {
243
+ name: 'yAxisCounter',
244
+ control: {
245
+ type: 'number'
246
+ },
247
+ description: 'yAxis Counter number'
248
+ },
249
+ isPercentValue: {
250
+ name: 'isPercentValue',
251
+ control: {
252
+ type: 'boolean'
253
+ },
254
+ description: 'show values in bar charts as a percent'
255
+ },
256
+ headerValue: {
257
+ name: 'headerValue',
258
+ control: {
259
+ type: 'number'
260
+ },
261
+ description: 'header Value'
262
+ },
263
+ HeaderValueIsPercent: {
264
+ name: 'HeaderValueIsPercent',
265
+ control: {
266
+ type: 'boolean'
267
+ },
268
+ description: 'show header value as a percent'
269
+ },
270
+ setLimitHeight: {
271
+ name: 'setLimitHeight',
272
+ control: {
273
+ type: 'text'
274
+ },
275
+ description: 'set limit height'
276
+ },
277
+ setLimitLow: {
278
+ name: 'setLimitLow',
279
+ control: {
280
+ type: 'text'
281
+ },
282
+ description: 'set limit low'
283
+ },
284
+ showLegend: {
285
+ name: 'showLegend',
286
+ control: {
287
+ type: 'boolean'
288
+ },
289
+ description: 'show bottom legend'
290
+ },
291
+ interval: {
292
+ name: 'interval',
293
+ control: {
294
+ type: 'radio'
295
+ },
296
+ options: ['preserveEnd', 'preserveStart', 'preserveStartEnd', 'equidistantPreserveStart'],
297
+ description: 'YAxis interval'
298
+ },
299
+ showTwoBars: {
300
+ name: 'showTwoBars',
301
+ control: {
302
+ type: 'boolean'
303
+ },
304
+ description: 'show Two Bars, please support 2 values, example: { title: "202320", value: 542366, secondValue: 345879 } '
305
+ }
306
+ }
307
+ };
308
+ const SalesDollars = exports.SalesDollars = {
309
+ args: {
310
+ title: 'Sales $',
311
+ headerValueTopTitle: '',
312
+ headerValueBottomTitle: '',
313
+ headerValue: 450000,
314
+ HeaderValueCurrencyType: '',
315
+ HeaderValueIsPercent: false,
316
+ barChartData: arrData,
317
+ width: '800px',
318
+ height: '500px',
319
+ barChartColor: '#1F7677',
320
+ xselectedColor: '#C7E7CD',
321
+ startWeekRange: 202323,
322
+ endWeekRange: 202329,
323
+ tooltipTitle: 'Sales($): ',
324
+ yAxisCounter: 10,
325
+ isPercentValue: false,
326
+ interval: 'preserveEnd',
327
+ showLegend: true
328
+ }
329
+ };
330
+ const MarketSharePercents = exports.MarketSharePercents = {
331
+ args: {
332
+ title: 'Market Share Average %',
333
+ headerValueTopTitle: '',
334
+ headerValueBottomTitle: '',
335
+ headerValue: 11.2,
336
+ HeaderValueCurrencyType: '',
337
+ HeaderValueIsPercent: true,
338
+ barChartData: arrDataPercents,
339
+ width: '700px',
340
+ height: '480px',
341
+ barChartColor: '#BD9EFF',
342
+ xselectedColor: '#96B4FF',
343
+ startWeekRange: '202323',
344
+ endWeekRange: '202329',
345
+ tooltipTitle: 'Market Share: ',
346
+ yAxisCounter: 10,
347
+ isPercentValue: true,
348
+ interval: 'preserveStartEnd',
349
+ showLegend: true,
350
+ setLimitHeight: 10,
351
+ setLimitLow: -20
352
+ }
353
+ };
354
+ const BetweenTwoYears = exports.BetweenTwoYears = {
355
+ args: {
356
+ title: 'Between Two Years',
357
+ HeaderValueIsPercent: false,
358
+ barChartData: arrDataBetweenTwoYears,
359
+ width: '900px',
360
+ height: '280px',
361
+ barChartColor: '#90CE9C',
362
+ xselectedColor: '#C7E7CD',
363
+ startWeekRange: '202356',
364
+ endWeekRange: '202405',
365
+ tooltipTitle: 'Sales($): ',
366
+ yAxisCounter: 5,
367
+ isPercentValue: false,
368
+ interval: 'equidistantPreserveStart',
369
+ showLegend: false,
370
+ showTwoBars: false
371
+ }
372
+ };
373
+ const TwoBars = exports.TwoBars = {
374
+ args: {
375
+ title: 'Sales $',
376
+ headerValueTopTitle: 'Total Product Line Triers',
377
+ headerValue: 45000,
378
+ headerValueBottomTitle: 'Product Line Triers VS. Repeaters',
379
+ HeaderValueIsPercent: false,
380
+ barChartData: arrDataTwoBarCharts,
381
+ width: '1050px',
382
+ height: '280px',
383
+ barChartColor: '#1F7677',
384
+ barChartSecondColor: '#90CE9C',
385
+ xselectedColor: '#C7E7CD',
386
+ startWeekRange: 202323,
387
+ endWeekRange: 202329,
388
+ tooltipTitle: 'Sales 1: ',
389
+ tooltipSecondTitle: 'Sales 2: ',
390
+ yAxisCounter: 10,
391
+ isPercentValue: false,
392
+ interval: 'preserveEnd',
393
+ showLegend: true,
394
+ showTwoBars: true
395
+ }
396
+ };
397
+ const HeaderTitlesAndValue = exports.HeaderTitlesAndValue = {
398
+ args: {
399
+ title: '',
400
+ headerValueTopTitle: 'Total Product Line Triers',
401
+ headerValueBottomTitle: 'Product Line Triers VS. Repeaters',
402
+ headerValue: 450000,
403
+ HeaderValueCurrencyType: '',
404
+ HeaderValueIsPercent: false,
405
+ barChartData: arrDataPercents,
406
+ width: '1000px',
407
+ height: '280px',
408
+ barChartColor: '#BD9EFF',
409
+ xselectedColor: '#96B4FF',
410
+ startWeekRange: '202323',
411
+ endWeekRange: '202329',
412
+ tooltipTitle: 'Market Share: ',
413
+ yAxisCounter: 10,
414
+ isPercentValue: true,
415
+ interval: 'preserveStartEnd',
416
+ showLegend: true
417
+ }
418
+ };
419
+ const NoHeader = exports.NoHeader = {
420
+ args: {
421
+ title: '',
422
+ headerValueTopTitle: '',
423
+ headerValue: null,
424
+ headerValueBottomTitle: '',
425
+ HeaderValueIsPercent: false,
426
+ barChartData: arrDataTwoBarCharts,
427
+ width: '1050px',
428
+ height: '280px',
429
+ barChartColor: '#1F7677',
430
+ barChartSecondColor: '#90CE9C',
431
+ xselectedColor: '#C7E7CD',
432
+ startWeekRange: 202323,
433
+ endWeekRange: 202329,
434
+ tooltipTitle: 'Sales 1: ',
435
+ tooltipSecondTitle: 'Sales 2: ',
436
+ yAxisCounter: 10,
437
+ isPercentValue: false,
438
+ interval: 'preserveEnd',
439
+ showLegend: true,
440
+ showTwoBars: true
441
+ }
442
+ };
@@ -0,0 +1,21 @@
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.TitleAndValueContainer = exports.Title = exports.LegendWrapper = exports.EventWeeksLegendMainContainer = exports.EventWeeksLegendDataElementsContainer = exports.EventWeeksLegendDataElement = exports.ControlsContainer = exports.Controls = void 0;
8
+ var _taggedTemplateLiteral2 = _interopRequireDefault(require("@babel/runtime/helpers/esm/taggedTemplateLiteral"));
9
+ var _styledComponents = _interopRequireDefault(require("styled-components"));
10
+ var _templateObject, _templateObject2, _templateObject3, _templateObject4, _templateObject5, _templateObject6, _templateObject7, _templateObject8, _templateObject9, _templateObject10, _templateObject11;
11
+ const ControlsContainer = exports.ControlsContainer = _styledComponents.default.div(_templateObject || (_templateObject = (0, _taggedTemplateLiteral2.default)(["\n position: relative;\n font-family: \"Poppins\", sans-serif;\n color: #212121;\n width: ", ";\n height: ", ";\n min-width: 250px;\n"])), props => props.width, props => props.height);
12
+ const Controls = exports.Controls = _styledComponents.default.div(_templateObject2 || (_templateObject2 = (0, _taggedTemplateLiteral2.default)(["\n height: 100%;\n width: 100%;\n background: white;\n display: flex;\n flex-direction: column;\n"])));
13
+ const TooltipDiv = exports.TooltipDiv = _styledComponents.default.div(_templateObject3 || (_templateObject3 = (0, _taggedTemplateLiteral2.default)(["\n border-radius: 5px;\n padding: 8px 12px;\n background: white;\n box-shadow: 0px 0px 20px 0px rgba(0, 0, 0, 0.2);\n margin: 0;\n"])));
14
+ const TooltipLabel = exports.TooltipLabel = _styledComponents.default.div(_templateObject4 || (_templateObject4 = (0, _taggedTemplateLiteral2.default)(["\n color: #212121;\n font-size: 14px;\n font-weight: 400;\n width: fit-content;\n"])));
15
+ const TooltipTitle = exports.TooltipTitle = _styledComponents.default.div(_templateObject5 || (_templateObject5 = (0, _taggedTemplateLiteral2.default)(["\n color: #212121;\n font-size: 14px;\n font-weight: 600;\n"])));
16
+ const TitleAndValueContainer = exports.TitleAndValueContainer = _styledComponents.default.div(_templateObject6 || (_templateObject6 = (0, _taggedTemplateLiteral2.default)(["\n padding: 0 1rem;\n"])));
17
+ const Title = exports.Title = _styledComponents.default.h5(_templateObject7 || (_templateObject7 = (0, _taggedTemplateLiteral2.default)(["\n font-weight: 500;\n font-size: 18px;\n line-height: 20px;\n margin: 0;\n @media (max-width: 1536px) {\n font-size: 16px;\n }\n @media (max-width: 1366px) {\n font-size: 14px;\n }\n"])));
18
+ const EventWeeksLegendMainContainer = exports.EventWeeksLegendMainContainer = _styledComponents.default.div(_templateObject8 || (_templateObject8 = (0, _taggedTemplateLiteral2.default)(["\n display: flex;\n justify-content: center;\n flex-direction: column;\n margin: 2px 0 0 0;\n padding-left: 55px;\n align-items: center;\n"])));
19
+ const EventWeeksLegendDataElementsContainer = exports.EventWeeksLegendDataElementsContainer = _styledComponents.default.div(_templateObject9 || (_templateObject9 = (0, _taggedTemplateLiteral2.default)(["\n display: flex;\n margin: 0px;\n align-items: center;\n justify-content: space-around;\n width: 100%;\n"])));
20
+ const EventWeeksLegendDataElement = exports.EventWeeksLegendDataElement = _styledComponents.default.h4(_templateObject10 || (_templateObject10 = (0, _taggedTemplateLiteral2.default)(["\n display: flex;\n font-weight: ", ";\n font-size: 12px;\n line-height: 15px;\n margin: 0;\n width: 100%;\n justify-content: center;\n align-content: center;\n color: ", ";\n border-top-left-radius: ", ";\n border-bottom-left-radius: ", ";\n border-top-right-radius: ", ";\n border-bottom-right-radius: ", ";\n background: ", ";\n @media (max-width: 1536px) {\n font-size: 11px;\n }\n @media (max-width: 1366px) {\n font-size: 10px;\n }\n"])), props => props.fontWeight, props => props.textColor, props => props.borderLeftRadius, props => props.borderLeftRadius, props => props.borderRightRadius, props => props.borderRightRadius, props => props.color);
21
+ const LegendWrapper = exports.LegendWrapper = _styledComponents.default.div(_templateObject11 || (_templateObject11 = (0, _taggedTemplateLiteral2.default)(["\n padding-top: 15px;\n"])));
@@ -0,0 +1,130 @@
1
+ "use strict";
2
+
3
+ var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default;
4
+ Object.defineProperty(exports, "__esModule", {
5
+ value: true
6
+ });
7
+ exports.default = exports.Benchmark = void 0;
8
+ var _react = _interopRequireDefault(require("react"));
9
+ var _Benchmark = require("./Benchmark.style");
10
+ var _CommonFunctions = require("../../utils/CommonFunctions");
11
+ var _Tooltip = _interopRequireDefault(require("../Tooltip/Tooltip"));
12
+ /* Benchmark */
13
+ const Benchmark = props => {
14
+ const {
15
+ totalValue,
16
+ currentValue,
17
+ benchmarkValue,
18
+ width,
19
+ height,
20
+ color,
21
+ linearGradientColor,
22
+ underAvarageColor,
23
+ linearGradientUnderAvarageColor,
24
+ backgroundColor,
25
+ tooltipLabel,
26
+ tooltipDirection
27
+ } = props;
28
+ const getCurrentValueRectangleWidth = () => {
29
+ if (!totalValue) return 0;
30
+ if (currentValue > totalValue) return width;
31
+ return currentValue / totalValue * width;
32
+ };
33
+ const getUnderAvarageColor = () => {
34
+ if (!totalValue) return backgroundColor;
35
+ if (currentValue > totalValue) return color;
36
+ let benchmarkCurrentValue;
37
+ if (!benchmarkValue) {
38
+ benchmarkCurrentValue = 0.5;
39
+ } else if (benchmarkValue > totalValue) {
40
+ benchmarkCurrentValue = 1;
41
+ } else {
42
+ benchmarkCurrentValue = benchmarkValue / totalValue;
43
+ }
44
+ if (currentValue === benchmarkValue) {
45
+ return color;
46
+ }
47
+ if (currentValue / totalValue <= benchmarkCurrentValue) {
48
+ return underAvarageColor;
49
+ }
50
+ return color;
51
+ };
52
+ const getUnderAvaragelinearGradientColor = () => {
53
+ if (!totalValue) return backgroundColor;
54
+ if (currentValue > totalValue) return linearGradientColor;
55
+ let benchmarkCurrentValue;
56
+ if (!benchmarkValue) {
57
+ benchmarkCurrentValue = 0.5;
58
+ } else if (benchmarkValue > totalValue) {
59
+ benchmarkCurrentValue = 1;
60
+ } else {
61
+ benchmarkCurrentValue = benchmarkValue / totalValue;
62
+ }
63
+ if (currentValue === benchmarkValue) {
64
+ return linearGradientColor;
65
+ }
66
+ if (currentValue / totalValue <= benchmarkCurrentValue) {
67
+ return linearGradientUnderAvarageColor;
68
+ }
69
+ return linearGradientColor;
70
+ };
71
+ const getBenchmarkLeft = () => {
72
+ if (!benchmarkValue) {
73
+ return width / 2;
74
+ }
75
+ if (benchmarkValue > totalValue) {
76
+ return width;
77
+ }
78
+ return width * (benchmarkValue / totalValue);
79
+ };
80
+ const getTooltipText = () => {
81
+ var _getFormattedValue, _getFormattedUnits;
82
+ return /*#__PURE__*/_react.default.createElement("h4", null, tooltipLabel, tooltipLabel ? ': ' : '', (_getFormattedValue = (0, _CommonFunctions.getFormattedValue)(benchmarkValue)) === null || _getFormattedValue === void 0 ? void 0 : _getFormattedValue.toString(), (_getFormattedUnits = (0, _CommonFunctions.getFormattedUnits)(benchmarkValue)) === null || _getFormattedUnits === void 0 ? void 0 : _getFormattedUnits.toString());
83
+ };
84
+ return /*#__PURE__*/_react.default.createElement(_Benchmark.ControlsContainer, {
85
+ id: "ControlsContainer",
86
+ height: height,
87
+ width: width
88
+ }, /*#__PURE__*/_react.default.createElement(_Tooltip.default, {
89
+ id: "Tooltip",
90
+ content: getTooltipText(),
91
+ direction: tooltipDirection
92
+ }, /*#__PURE__*/_react.default.createElement(_Benchmark.Controls, {
93
+ id: "ControlsBenchmark",
94
+ height: height,
95
+ width: width
96
+ }, /*#__PURE__*/_react.default.createElement(_Benchmark.BackgroundValueRectangle, {
97
+ id: "BackgroundValueRectangle",
98
+ height: height,
99
+ width: width,
100
+ color: backgroundColor
101
+ }), /*#__PURE__*/_react.default.createElement(_Benchmark.CurrentValueRectangle, {
102
+ id: "CurrentValueRectangle",
103
+ height: height,
104
+ width: getCurrentValueRectangleWidth(),
105
+ color: getUnderAvarageColor(),
106
+ lineargradientcolor: getUnderAvaragelinearGradientColor()
107
+ }), /*#__PURE__*/_react.default.createElement(_Benchmark.AvarageDelimiter, {
108
+ id: "AvarageDelimiter",
109
+ height: height + 4,
110
+ width: 0,
111
+ top: -2,
112
+ left: getBenchmarkLeft()
113
+ }))));
114
+ };
115
+ exports.Benchmark = Benchmark;
116
+ var _default = exports.default = Benchmark;
117
+ Benchmark.defaultProps = {
118
+ totalValue: 100,
119
+ currentValue: 60,
120
+ benchmarkValue: 500,
121
+ width: 100,
122
+ height: 12,
123
+ color: '#79DB95',
124
+ linearGradientColor: '#C3EFD0',
125
+ underAvarageColor: '#FD5959',
126
+ linearGradientUnderAvarageColor: '#FDB1B1',
127
+ backgroundColor: '#F2F2F2',
128
+ tooltipLabel: 'Benchmark',
129
+ tooltipDirection: 'bottom'
130
+ };