sag_components 2.0.0-beta → 2.0.0-beta2

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 (693) hide show
  1. package/dist/index.d.ts +1106 -0
  2. package/dist/index.esm.js +80952 -0
  3. package/dist/index.esm.js.map +1 -0
  4. package/dist/index.js +80998 -0
  5. package/dist/index.js.map +1 -0
  6. package/dist/types/components/AttachedFile/AttachedFile.d.ts +24 -0
  7. package/dist/types/components/AttachedFile/AttachedFile.stories.d.ts +35 -0
  8. package/dist/types/components/AttachedFile/AttachedFile.style.d.ts +4 -0
  9. package/dist/types/components/AutocompleteField/AutocompleteField.d.ts +15 -0
  10. package/dist/types/components/AutocompleteField/AutocompleteField.stories.d.ts +19 -0
  11. package/dist/types/components/AutocompleteField/AutocompleteField.style.d.ts +5 -0
  12. package/dist/types/components/BannerEventBox/BannerEventBox.d.ts +39 -0
  13. package/dist/types/components/BannerEventBox/BannerEventBox.stories.d.ts +61 -0
  14. package/dist/types/components/BannerEventBox/BannerEventBox.style.d.ts +13 -0
  15. package/dist/types/components/BannerEventBoxList/BannerEventBoxList.d.ts +74 -0
  16. package/dist/types/components/BannerEventBoxList/BannerEventBoxList.stories.d.ts +40 -0
  17. package/dist/types/components/BannerEventBoxList/BannerEventBoxList.style.d.ts +12 -0
  18. package/dist/types/components/BannersDropdown/BannersDropdown.d.ts +18 -0
  19. package/dist/types/components/BannersDropdown/BannersDropdown.stories.d.ts +38 -0
  20. package/dist/types/components/BannersDropdown/BannersDropdown.style.d.ts +8 -0
  21. package/dist/types/components/BarChart/BarChart.d.ts +79 -0
  22. package/dist/types/components/BarChart/BarChart.stories.d.ts +320 -0
  23. package/dist/types/components/BarChart/BarChart.style.d.ts +8 -0
  24. package/dist/types/components/BarChartTwoRows/BarChartTwoRows.d.ts +82 -0
  25. package/dist/types/components/BarChartTwoRows/BarChartTwoRows.stories.d.ts +300 -0
  26. package/dist/types/components/BarChartTwoRows/BarChartTwoRows.style.d.ts +31 -0
  27. package/dist/types/components/BarChartWithAreaChart/BarChartWithAreaChart.d.ts +66 -0
  28. package/dist/types/components/BarChartWithAreaChart/BarChartWithAreaChart.stories.d.ts +147 -0
  29. package/dist/types/components/BarChartWithAreaChart/BarChartWithAreaChart.style.d.ts +9 -0
  30. package/dist/types/components/BarChartsByWeeks/BarChartsByWeeks.d.ts +107 -0
  31. package/dist/types/components/BarChartsByWeeks/BarChartsByWeeks.stories.d.ts +465 -0
  32. package/dist/types/components/BarChartsByWeeks/BarChartsByWeeks.style.d.ts +11 -0
  33. package/dist/types/components/Benchmark/Benchmark.d.ts +45 -0
  34. package/dist/types/components/Benchmark/Benchmark.stories.d.ts +224 -0
  35. package/dist/types/components/Benchmark/Benchmark.style.d.ts +5 -0
  36. package/dist/types/components/Button/Button.d.ts +22 -0
  37. package/dist/types/components/Button/Button.stories.d.ts +393 -0
  38. package/dist/types/components/Button/Button.style.d.ts +5 -0
  39. package/dist/types/components/Button/Button.test.d.ts +1 -0
  40. package/dist/types/components/CampaignTool/CampaignDemoReport.d.ts +33 -0
  41. package/dist/types/components/CampaignTool/CampaignDemoReport.stories.d.ts +64 -0
  42. package/dist/types/components/CampaignTool/CampaignDemoReport.style.d.ts +5 -0
  43. package/dist/types/components/CampaignTool/Card.d.ts +37 -0
  44. package/dist/types/components/CampaignTool/Card.stories.d.ts +57 -0
  45. package/dist/types/components/CampaignTool/Card.style.d.ts +8 -0
  46. package/dist/types/components/CampaignTool/FormInput.d.ts +5 -0
  47. package/dist/types/components/CampaignTool/FormSelect.d.ts +5 -0
  48. package/dist/types/components/CampaignTool/MultipleCard.d.ts +15 -0
  49. package/dist/types/components/CampaignTool/MultipleCard.stories.d.ts +31 -0
  50. package/dist/types/components/CampaignTool/MultipleCard.style.d.ts +1 -0
  51. package/dist/types/components/CampaignTool/PageFilterBar.d.ts +12 -0
  52. package/dist/types/components/CampaignTool/PageFilterBar.stories.d.ts +23 -0
  53. package/dist/types/components/CampaignTool/PageFilterBar.style.d.ts +2 -0
  54. package/dist/types/components/CampaignTool/Popup.d.ts +27 -0
  55. package/dist/types/components/CampaignTool/Popup.stories.d.ts +166 -0
  56. package/dist/types/components/CampaignTool/Popup.style.d.ts +14 -0
  57. package/dist/types/components/CampaignTool/PopupContent.d.ts +28 -0
  58. package/dist/types/components/CampaignTool/PopupContent.style.d.ts +7 -0
  59. package/dist/types/components/CampaignTool/PopupFieldsRules.d.ts +41 -0
  60. package/dist/types/components/CampaignTool/Table.d.ts +56 -0
  61. package/dist/types/components/CampaignTool/Table.stories.d.ts +120 -0
  62. package/dist/types/components/CampaignTool/Table.style.d.ts +7 -0
  63. package/dist/types/components/CheckBox/CheckBox.d.ts +15 -0
  64. package/dist/types/components/CheckBox/CheckBox.stories.d.ts +150 -0
  65. package/dist/types/components/CheckBox/CheckBox.style.d.ts +4 -0
  66. package/dist/types/components/CheckBoxButton/CheckBoxButton.d.ts +21 -0
  67. package/dist/types/components/CheckBoxButton/CheckBoxButton.stories.d.ts +221 -0
  68. package/dist/types/components/CheckBoxButton/CheckBoxButton.style.d.ts +4 -0
  69. package/dist/types/components/CodeEditor/CodeEditor.d.ts +5 -0
  70. package/dist/types/components/CodeEditor/CodeEditor.style.d.ts +2 -0
  71. package/dist/types/components/CollapseData/CollapseData.d.ts +34 -0
  72. package/dist/types/components/CollapseData/CollapseData.stories.d.ts +86 -0
  73. package/dist/types/components/CollapseData/CollapseData.style.d.ts +11 -0
  74. package/dist/types/components/CollapseHeader/CollapseHeader.d.ts +70 -0
  75. package/dist/types/components/CollapseHeader/CollapseHeader.stories.d.ts +151 -0
  76. package/dist/types/components/CollapseHeader/CollapseHeader.style.d.ts +25 -0
  77. package/dist/types/components/CollapseMenuItem/CollapseMenuItem.d.ts +24 -0
  78. package/dist/types/components/CollapseMenuItem/CollapseMenuItem.stories.d.ts +79 -0
  79. package/dist/types/components/CollapseMenuItem/CollapseMenuItem.style.d.ts +7 -0
  80. package/dist/types/components/Datepicker/Datepicker.d.ts +12 -0
  81. package/dist/types/components/Datepicker/Datepicker.stories.d.ts +112 -0
  82. package/dist/types/components/Datepicker/Datepicker.style.d.ts +1 -0
  83. package/dist/types/components/DialogOverlay/DialogOverlay.d.ts +21 -0
  84. package/dist/types/components/DialogOverlay/DialogOverlay.stories.d.ts +41 -0
  85. package/dist/types/components/DialogOverlay/DialogOverlay.style.d.ts +6 -0
  86. package/dist/types/components/DoublePanelDataRow/DoublePanelDataRow.d.ts +34 -0
  87. package/dist/types/components/DoublePanelDataRow/DoublePanelDataRow.stories.d.ts +103 -0
  88. package/dist/types/components/DoublePanelDataRow/DoublePanelDataRow.style.d.ts +9 -0
  89. package/dist/types/components/DownloadProgress/DownloadProgress.d.ts +39 -0
  90. package/dist/types/components/DownloadProgress/DownloadProgress.stories.d.ts +159 -0
  91. package/dist/types/components/DownloadProgress/DownloadProgress.style.d.ts +4 -0
  92. package/dist/types/components/Dropdown/Dropdown.d.ts +24 -0
  93. package/dist/types/components/Dropdown/Dropdown.stories.d.ts +451 -0
  94. package/dist/types/components/Dropdown/Dropdown.style.d.ts +1 -0
  95. package/dist/types/components/DropdownMulti/DropdownMulti.d.ts +75 -0
  96. package/dist/types/components/DropdownMulti/DropdownMulti.stories.d.ts +263 -0
  97. package/dist/types/components/DropdownMulti/DropdownMulti.style.d.ts +1 -0
  98. package/dist/types/components/DropdownMultiNew/DropdownMultiNew.d.ts +79 -0
  99. package/dist/types/components/DropdownMultiNew/DropdownMultiNew.style.d.ts +12 -0
  100. package/dist/types/components/DropdownMultiNew/DropdownNew.stories.d.ts +574 -0
  101. package/dist/types/components/DropdownNew/DropdownNew.d.ts +81 -0
  102. package/dist/types/components/DropdownNew/DropdownNew.style.d.ts +1 -0
  103. package/dist/types/components/DropdownSingleNew/DropdownSingleNew.d.ts +75 -0
  104. package/dist/types/components/DropdownSingleNew/DropdownSingleNew.style.d.ts +10 -0
  105. package/dist/types/components/EventDetailsCard/EventDetailsCard.d.ts +48 -0
  106. package/dist/types/components/EventDetailsCard/EventDetailsCard.stories.d.ts +151 -0
  107. package/dist/types/components/EventDetailsCard/EventDetailsCard.style.d.ts +6 -0
  108. package/dist/types/components/EventList/EventList.d.ts +30 -0
  109. package/dist/types/components/EventList/EventList.stories.d.ts +84 -0
  110. package/dist/types/components/EventList/EventList.style.d.ts +4 -0
  111. package/dist/types/components/EventListItem/EventListItem.d.ts +27 -0
  112. package/dist/types/components/EventListItem/EventListItem.stories.d.ts +81 -0
  113. package/dist/types/components/EventListItem/EventListItem.style.d.ts +4 -0
  114. package/dist/types/components/FilterContainer/FilterContainer.d.ts +3 -0
  115. package/dist/types/components/FilterContainer/FilterContainer.stories.d.ts +15 -0
  116. package/dist/types/components/FilterContainer/FilterContainer.style.d.ts +3 -0
  117. package/dist/types/components/FilterPanel/FilterPanel.d.ts +67 -0
  118. package/dist/types/components/FilterPanel/FilterPanel.stories.d.ts +824 -0
  119. package/dist/types/components/FilterPanel/FilterPanel.style.d.ts +11 -0
  120. package/dist/types/components/FormattedValue/FormattedValue.d.ts +45 -0
  121. package/dist/types/components/FormattedValue/FormattedValue.stories.d.ts +297 -0
  122. package/dist/types/components/FormattedValue/FormattedValue.style.d.ts +7 -0
  123. package/dist/types/components/Heatmap/Heatmap.d.ts +15 -0
  124. package/dist/types/components/Heatmap/Heatmap.stories.d.ts +87 -0
  125. package/dist/types/components/Heatmap/Heatmap.style.d.ts +15 -0
  126. package/dist/types/components/IconButton/IconButton.d.ts +48 -0
  127. package/dist/types/components/IconButton/IconButton.stories.d.ts +166 -0
  128. package/dist/types/components/IconButton/IconButton.style.d.ts +4 -0
  129. package/dist/types/components/Input/Input.d.ts +80 -0
  130. package/dist/types/components/Input/Input.stories.d.ts +688 -0
  131. package/dist/types/components/Input/Input.style.d.ts +7 -0
  132. package/dist/types/components/InputOld/InputOld.d.ts +66 -0
  133. package/dist/types/components/InputOld/InputOld.stories.d.ts +130 -0
  134. package/dist/types/components/InputOld/InputOld.style.d.ts +6 -0
  135. package/dist/types/components/KpiFilter/KpiFilter.d.ts +58 -0
  136. package/dist/types/components/KpiFilter/KpiFilter.stories.d.ts +300 -0
  137. package/dist/types/components/KpiFilter/KpiFilter.style.d.ts +16 -0
  138. package/dist/types/components/LinkButton/LinkButton.d.ts +13 -0
  139. package/dist/types/components/LinkButton/LinkButton.stories.d.ts +279 -0
  140. package/dist/types/components/LinkButton/LinkButton.style.d.ts +4 -0
  141. package/dist/types/components/LinkButton/LinkButton.test.d.ts +1 -0
  142. package/dist/types/components/LinnerDataBox/LinnerDataBox.d.ts +35 -0
  143. package/dist/types/components/LinnerDataBox/LinnerDataBox.stories.d.ts +72 -0
  144. package/dist/types/components/LinnerDataBox/LinnerDataBox.style.d.ts +12 -0
  145. package/dist/types/components/ListBox/ListBox.d.ts +15 -0
  146. package/dist/types/components/ListBox/ListBox.stories.d.ts +162 -0
  147. package/dist/types/components/ListBox/ListBox.style.d.ts +4 -0
  148. package/dist/types/components/MarketShareDescription/MarketShareDescription.d.ts +31 -0
  149. package/dist/types/components/MarketShareDescription/MarketShareDescription.stories.d.ts +135 -0
  150. package/dist/types/components/MarketShareDescription/MarketShareDescription.style.d.ts +16 -0
  151. package/dist/types/components/Modal/Modal.d.ts +6 -0
  152. package/dist/types/components/Modal/Modal.style.d.ts +4 -0
  153. package/dist/types/components/Modal/ModalTotalBenchmark.d.ts +8 -0
  154. package/dist/types/components/Modal/ModalTotalCost.d.ts +7 -0
  155. package/dist/types/components/MonthPicker/MonthPicker.d.ts +54 -0
  156. package/dist/types/components/MonthPicker/MonthPicker.stories.d.ts +197 -0
  157. package/dist/types/components/MonthPicker/MonthPicker.style.d.ts +8 -0
  158. package/dist/types/components/MonthPicker/MonthPopupPicker.d.ts +9 -0
  159. package/dist/types/components/NoDataFoundMessage/NoDataFoundMessage.d.ts +12 -0
  160. package/dist/types/components/NoDataFoundMessage/NoDataFoundMessage.stories.d.ts +45 -0
  161. package/dist/types/components/NoDataFoundMessage/NoDataFoundMessage.style.d.ts +3 -0
  162. package/dist/types/components/OneColumnContainer/OneColumnContainer.d.ts +63 -0
  163. package/dist/types/components/OneColumnContainer/OneColumnContainer.stories.d.ts +149 -0
  164. package/dist/types/components/OneColumnContainer/OneColumnContainer.style.d.ts +10 -0
  165. package/dist/types/components/PerformanceAnalytics/PerformanceAnalytics.d.ts +86 -0
  166. package/dist/types/components/PerformanceAnalytics/PerformanceAnalytics.stories.d.ts +263 -0
  167. package/dist/types/components/PerformanceAnalytics/PerformanceAnalytics.style.d.ts +14 -0
  168. package/dist/types/components/PerformanceAnalyticsLegend/PerformanceAnalyticsLegend.d.ts +29 -0
  169. package/dist/types/components/PerformanceAnalyticsLegend/PerformanceAnalyticsLegend.stories.d.ts +98 -0
  170. package/dist/types/components/PerformanceAnalyticsLegend/PerformanceAnalyticsLegend.style.d.ts +6 -0
  171. package/dist/types/components/PerformanceAnalyticsOneColumn/PerformanceAnalyticsOneColumn.d.ts +85 -0
  172. package/dist/types/components/PerformanceAnalyticsOneColumn/PerformanceAnalyticsOneColumn.stories.d.ts +236 -0
  173. package/dist/types/components/PerformanceAnalyticsOneColumn/PerformanceAnalyticsOneColumn.style.d.ts +13 -0
  174. package/dist/types/components/PerformanceAnalyticsTotals/PerformanceAnalyticsTotals.d.ts +37 -0
  175. package/dist/types/components/PerformanceAnalyticsTotals/PerformanceAnalyticsTotals.stories.d.ts +102 -0
  176. package/dist/types/components/PerformanceAnalyticsTotals/PerformanceAnalyticsTotals.style.d.ts +10 -0
  177. package/dist/types/components/PieChart/PieChart.d.ts +66 -0
  178. package/dist/types/components/PieChart/PieChart.stories.d.ts +295 -0
  179. package/dist/types/components/PieChart/PieChart.style.d.ts +18 -0
  180. package/dist/types/components/PopupCharts/PopupCharts.d.ts +64 -0
  181. package/dist/types/components/PopupCharts/PopupCharts.stories.d.ts +280 -0
  182. package/dist/types/components/PopupCharts/PopupCharts.style.d.ts +12 -0
  183. package/dist/types/components/ProductsVariety/ProductsVariety.d.ts +29 -0
  184. package/dist/types/components/ProductsVariety/ProductsVariety.stories.d.ts +77 -0
  185. package/dist/types/components/ProductsVariety/ProductsVariety.style.d.ts +10 -0
  186. package/dist/types/components/ProgressBar/ProgressBar.d.ts +24 -0
  187. package/dist/types/components/ProgressBar/ProgressBar.stories.d.ts +94 -0
  188. package/dist/types/components/ProgressBar/ProgressBar.style.d.ts +2 -0
  189. package/dist/types/components/QuarterPicker/QuarterPicker.d.ts +54 -0
  190. package/dist/types/components/QuarterPicker/QuarterPicker.stories.d.ts +197 -0
  191. package/dist/types/components/QuarterPicker/QuarterPicker.style.d.ts +8 -0
  192. package/dist/types/components/QuarterPicker/QuarterPopupPicker.d.ts +9 -0
  193. package/dist/types/components/QuickFilter/QuickFilter.d.ts +69 -0
  194. package/dist/types/components/QuickFilter/QuickFilter.stories.d.ts +393 -0
  195. package/dist/types/components/QuickFilter/QuickFilter.style.d.ts +1 -0
  196. package/dist/types/components/QuickFilterDropdownMultiSelection/QuickFilterDropdownMultiSelection.d.ts +76 -0
  197. package/dist/types/components/QuickFilterDropdownMultiSelection/QuickFilterDropdownMultiSelection.style.d.ts +12 -0
  198. package/dist/types/components/QuickFilterDropdownSingle/QuickFilterDropdownSingle.d.ts +68 -0
  199. package/dist/types/components/QuickFilterDropdownSingle/QuickFilterDropdownSingle.style.d.ts +11 -0
  200. package/dist/types/components/RangePicker/RangeDatePicker.d.ts +9 -0
  201. package/dist/types/components/RangePicker/RangePicker.d.ts +52 -0
  202. package/dist/types/components/RangePicker/RangePicker.stories.d.ts +194 -0
  203. package/dist/types/components/RangePicker/RangePicker.style.d.ts +8 -0
  204. package/dist/types/components/ReportTable/ReportTable.d.ts +83 -0
  205. package/dist/types/components/ReportTable/ReportTable.stories.d.ts +322 -0
  206. package/dist/types/components/ReportTable/ReportTable.style.d.ts +14 -0
  207. package/dist/types/components/SagButton/SagButton.d.ts +45 -0
  208. package/dist/types/components/SagButton/SagButton.stories.d.ts +168 -0
  209. package/dist/types/components/SagButton/SagButton.style.d.ts +3 -0
  210. package/dist/types/components/SagIconButton/SagIconButton.d.ts +45 -0
  211. package/dist/types/components/SagIconButton/SagIconButton.stories.d.ts +178 -0
  212. package/dist/types/components/SagIconButton/SagIconButton.style.d.ts +2 -0
  213. package/dist/types/components/SagInput/SagInput.d.ts +36 -0
  214. package/dist/types/components/SagInput/SagInput.stories.d.ts +88 -0
  215. package/dist/types/components/SagInput/SagInput.style.d.ts +3 -0
  216. package/dist/types/components/SalesAndROI/SalesAndROI.d.ts +50 -0
  217. package/dist/types/components/SalesAndROI/SalesAndROI.stories.d.ts +222 -0
  218. package/dist/types/components/SalesAndROI/SalesAndROI.style.d.ts +9 -0
  219. package/dist/types/components/SearchInput/SearchInput.d.ts +24 -0
  220. package/dist/types/components/SearchInput/SearchInput.stories.d.ts +49 -0
  221. package/dist/types/components/SearchInput/SearchInput.style.d.ts +2 -0
  222. package/dist/types/components/SegmentedButton/SegmentedButton.d.ts +49 -0
  223. package/dist/types/components/SegmentedButton/SegmentedButton.stories.d.ts +260 -0
  224. package/dist/types/components/SegmentedButton/SegmentedButton.style.d.ts +6 -0
  225. package/dist/types/components/Select/Select.d.ts +21 -0
  226. package/dist/types/components/Select/Select.stories.d.ts +285 -0
  227. package/dist/types/components/Select/Select.style.d.ts +6 -0
  228. package/dist/types/components/SingleBarLineCharts/SingleBar.test.d.ts +1 -0
  229. package/dist/types/components/SingleBarLineCharts/SingleBarLineCharts.d.ts +28 -0
  230. package/dist/types/components/SingleBarLineCharts/SingleBarLineCharts.stories.d.ts +398 -0
  231. package/dist/types/components/SingleBarLineCharts/SingleBarLineCharts.style.d.ts +61 -0
  232. package/dist/types/components/TabMenu/TabMenu.d.ts +90 -0
  233. package/dist/types/components/TabMenu/TabMenu.stories.d.ts +174 -0
  234. package/dist/types/components/TabMenu/TabMenu.style.d.ts +58 -0
  235. package/dist/types/components/TextField/TextField.d.ts +6 -0
  236. package/dist/types/components/TextField/TextField.stories.d.ts +243 -0
  237. package/dist/types/components/TextField/TextField.style.d.ts +1 -0
  238. package/dist/types/components/TitleDescription/TitleDescription.d.ts +59 -0
  239. package/dist/types/components/TitleDescription/TitleDescription.stories.d.ts +137 -0
  240. package/dist/types/components/TitleDescription/TitleDescription.style.d.ts +26 -0
  241. package/dist/types/components/Tooltip/Tooltip.d.ts +24 -0
  242. package/dist/types/components/Tooltip/Tooltip.style.d.ts +3 -0
  243. package/dist/types/components/TopToggleList/TopToggleList.d.ts +24 -0
  244. package/dist/types/components/TopToggleList/TopToggleList.stories.d.ts +36 -0
  245. package/dist/types/components/TopToggleList/TopToggleList.style.d.ts +5 -0
  246. package/dist/types/components/TotalBenchmark/TotalBenchmark.d.ts +40 -0
  247. package/dist/types/components/TotalBenchmark/TotalBenchmark.stories.d.ts +176 -0
  248. package/dist/types/components/TotalBenchmark/TotalBenchmark.style.d.ts +9 -0
  249. package/dist/types/components/TotalBenchmarkAreachart/TotalBenchmarkAreachart.d.ts +86 -0
  250. package/dist/types/components/TotalBenchmarkAreachart/TotalBenchmarkAreachart.stories.d.ts +379 -0
  251. package/dist/types/components/TotalBenchmarkAreachart/TotalBenchmarkAreachart.style.d.ts +20 -0
  252. package/dist/types/components/TotalBenchmarkArrows/TotalBenchmarkArrows.d.ts +54 -0
  253. package/dist/types/components/TotalBenchmarkArrows/TotalBenchmarkArrows.stories.d.ts +237 -0
  254. package/dist/types/components/TotalBenchmarkArrows/TotalBenchmarkArrows.style.d.ts +14 -0
  255. package/dist/types/components/TotalBenchmarkBarchart/TotalBenchmarkBarchart.d.ts +56 -0
  256. package/dist/types/components/TotalBenchmarkBarchart/TotalBenchmarkBarchart.stories.d.ts +257 -0
  257. package/dist/types/components/TotalBenchmarkBarchart/TotalBenchmarkBarchart.style.d.ts +10 -0
  258. package/dist/types/components/TotalDoughnutChart/TotalDoughnutChart.d.ts +66 -0
  259. package/dist/types/components/TotalDoughnutChart/TotalDoughnutChart.stories.d.ts +416 -0
  260. package/dist/types/components/TotalDoughnutChart/TotalDoughnutChart.style.d.ts +19 -0
  261. package/dist/types/components/TotalHorizontalCharts/TotalHorizontalCharts.d.ts +76 -0
  262. package/dist/types/components/TotalHorizontalCharts/TotalHorizontalCharts.stories.d.ts +331 -0
  263. package/dist/types/components/TotalHorizontalCharts/TotalHorizontalCharts.style.d.ts +6 -0
  264. package/dist/types/components/TspanTooltip/TspanTooltip.d.ts +24 -0
  265. package/dist/types/components/TspanTooltip/TspanTooltip.style.d.ts +3 -0
  266. package/dist/types/components/TwoBarCharts/TwoBarCharts.d.ts +74 -0
  267. package/dist/types/components/TwoBarCharts/TwoBarCharts.stories.d.ts +238 -0
  268. package/dist/types/components/TwoBarCharts/TwoBarCharts.style.d.ts +8 -0
  269. package/dist/types/icons/ArrowDownIcon.d.ts +6 -0
  270. package/dist/types/icons/ArrowDropDownIcon.d.ts +6 -0
  271. package/dist/types/icons/ArrowSelectIcon.d.ts +6 -0
  272. package/dist/types/icons/ArrowUpIcon.d.ts +6 -0
  273. package/dist/types/icons/AttachedIcon.d.ts +6 -0
  274. package/dist/types/icons/BellIcon.d.ts +6 -0
  275. package/dist/types/icons/ButtonArrowRight.d.ts +5 -0
  276. package/dist/types/icons/Calendar.d.ts +2 -0
  277. package/dist/types/icons/CalendarIcon.d.ts +6 -0
  278. package/dist/types/icons/CalendarInOpen.d.ts +2 -0
  279. package/dist/types/icons/CheckBoxButtonCheckedIcon.d.ts +7 -0
  280. package/dist/types/icons/CheckBoxCheckedIcon.d.ts +7 -0
  281. package/dist/types/icons/CheckBoxNotCheckedIcon.d.ts +7 -0
  282. package/dist/types/icons/ChervronLeftIcon.d.ts +2 -0
  283. package/dist/types/icons/ChervronRightIcon.d.ts +2 -0
  284. package/dist/types/icons/ChevronLeftIcon.d.ts +4 -0
  285. package/dist/types/icons/ChevronRightIcon.d.ts +4 -0
  286. package/dist/types/icons/ClockIcon.d.ts +6 -0
  287. package/dist/types/icons/CloseIcon.d.ts +6 -0
  288. package/dist/types/icons/CloseXIcon.d.ts +6 -0
  289. package/dist/types/icons/ComboBoxArrowDownIcon.d.ts +7 -0
  290. package/dist/types/icons/ComboBoxArrowUpIcon.d.ts +7 -0
  291. package/dist/types/icons/DocumentIcon.d.ts +6 -0
  292. package/dist/types/icons/DownloadIcon.d.ts +6 -0
  293. package/dist/types/icons/Duplicate.d.ts +7 -0
  294. package/dist/types/icons/ErrorIcon.d.ts +6 -0
  295. package/dist/types/icons/ExitIcon.d.ts +7 -0
  296. package/dist/types/icons/ExportIcon.d.ts +7 -0
  297. package/dist/types/icons/EyeIcon.d.ts +7 -0
  298. package/dist/types/icons/FileIcon.d.ts +6 -0
  299. package/dist/types/icons/FilterIcon.d.ts +6 -0
  300. package/dist/types/icons/FlyIcon.d.ts +7 -0
  301. package/dist/types/icons/FoodLionChartIcon.d.ts +2 -0
  302. package/dist/types/icons/FoodLionIcon.d.ts +6 -0
  303. package/dist/types/icons/FoodLionNewIcon.d.ts +5 -0
  304. package/dist/types/icons/GiantFoodChartIcon.d.ts +2 -0
  305. package/dist/types/icons/GiantFoodIcon.d.ts +7 -0
  306. package/dist/types/icons/GiantFoodIcon_new.d.ts +7 -0
  307. package/dist/types/icons/HannafordChartIcon.d.ts +2 -0
  308. package/dist/types/icons/HannafordIcon.d.ts +6 -0
  309. package/dist/types/icons/HannafordIcon_new.d.ts +6 -0
  310. package/dist/types/icons/HannafordNewIcon.d.ts +5 -0
  311. package/dist/types/icons/InfoIcon.d.ts +7 -0
  312. package/dist/types/icons/LampIcon.d.ts +6 -0
  313. package/dist/types/icons/LegendLineIcon.d.ts +6 -0
  314. package/dist/types/icons/LegendUnionIcon.d.ts +6 -0
  315. package/dist/types/icons/MaintenanceIcon.d.ts +7 -0
  316. package/dist/types/icons/MenuItemClosedIcon.d.ts +7 -0
  317. package/dist/types/icons/MenuItemOpenIcon.d.ts +7 -0
  318. package/dist/types/icons/MenuItemRightIcon.d.ts +7 -0
  319. package/dist/types/icons/MenuItemUpIcon.d.ts +7 -0
  320. package/dist/types/icons/NoDataFoundIcon.d.ts +12 -0
  321. package/dist/types/icons/OptionsIcon.d.ts +6 -0
  322. package/dist/types/icons/ReselectIcon.d.ts +6 -0
  323. package/dist/types/icons/SearchIcon.d.ts +6 -0
  324. package/dist/types/icons/ShoppingCartIcon.d.ts +6 -0
  325. package/dist/types/icons/ShoutIcon.d.ts +6 -0
  326. package/dist/types/icons/Sort.d.ts +1 -0
  327. package/dist/types/icons/SortIcon.d.ts +7 -0
  328. package/dist/types/icons/SpotlightProductIcon.d.ts +7 -0
  329. package/dist/types/icons/StopAndShopChartIcon.d.ts +2 -0
  330. package/dist/types/icons/StopAndShopIcon.d.ts +7 -0
  331. package/dist/types/icons/StopAndShopNewIcon.d.ts +6 -0
  332. package/dist/types/icons/SucceededIcon.d.ts +6 -0
  333. package/dist/types/icons/TheGiantCompanyChartIcon.d.ts +2 -0
  334. package/dist/types/icons/TheGiantCompanyIcon.d.ts +5 -0
  335. package/dist/types/icons/TheGiantCompanyNewIcon.d.ts +6 -0
  336. package/dist/types/index.d.ts +20 -0
  337. package/dist/types/reactTestApp/App.d.ts +2 -0
  338. package/dist/types/reactTestApp/index.d.ts +1 -0
  339. package/dist/types/reactTestApp/vite.config.d.ts +2 -0
  340. package/dist/types/utils/CommonFunctions.d.ts +6 -0
  341. package/dist/types/utils/ComponentFactory.d.ts +4 -0
  342. package/dist/types/utils/IconsHandler.d.ts +1 -0
  343. package/dist/types/utils/IconsHandler.style.d.ts +1 -0
  344. package/dist/types/utils/regex/Email.regex.d.ts +1 -0
  345. package/dist/types/utils/regex/LatinWithSpaces.regex.d.ts +1 -0
  346. package/dist/types/utils/regex/OnlyEnglishLetters.regex.d.ts +1 -0
  347. package/dist/types/utils/regex/Phone.regex.d.ts +1 -0
  348. package/package.json +19 -2
  349. package/.eslintrc.js +0 -37
  350. package/dist/components/AttachedFile/AttachedFile.js +0 -69
  351. package/dist/components/AttachedFile/AttachedFile.stories.js +0 -37
  352. package/dist/components/AttachedFile/AttachedFile.style.js +0 -48
  353. package/dist/components/AutocompleteField/AutocompleteField.js +0 -45
  354. package/dist/components/AutocompleteField/AutocompleteField.stories.js +0 -25
  355. package/dist/components/AutocompleteField/AutocompleteField.style.js +0 -55
  356. package/dist/components/BannerEventBox/BannerEventBox.js +0 -125
  357. package/dist/components/BannerEventBox/BannerEventBox.stories.js +0 -59
  358. package/dist/components/BannerEventBox/BannerEventBox.style.js +0 -78
  359. package/dist/components/BannerEventBoxList/BannerEventBoxList.js +0 -175
  360. package/dist/components/BannerEventBoxList/BannerEventBoxList.stories.js +0 -39
  361. package/dist/components/BannerEventBoxList/BannerEventBoxList.style.js +0 -190
  362. package/dist/components/BannersDropdown/BannersDropdown.js +0 -134
  363. package/dist/components/BannersDropdown/BannersDropdown.stories.js +0 -64
  364. package/dist/components/BannersDropdown/BannersDropdown.style.js +0 -99
  365. package/dist/components/BarChart/BarChart.js +0 -245
  366. package/dist/components/BarChart/BarChart.stories.js +0 -306
  367. package/dist/components/BarChart/BarChart.style.js +0 -60
  368. package/dist/components/BarChartTwoRows/BarChartTwoRows.js +0 -222
  369. package/dist/components/BarChartTwoRows/BarChartTwoRows.stories.js +0 -259
  370. package/dist/components/BarChartTwoRows/BarChartTwoRows.style.js +0 -79
  371. package/dist/components/BarChartWithAreaChart/BarChartWithAreaChart.js +0 -263
  372. package/dist/components/BarChartWithAreaChart/BarChartWithAreaChart.stories.js +0 -134
  373. package/dist/components/BarChartWithAreaChart/BarChartWithAreaChart.style.js +0 -67
  374. package/dist/components/BarChartsByWeeks/BarChartsByWeeks.js +0 -308
  375. package/dist/components/BarChartsByWeeks/BarChartsByWeeks.stories.js +0 -445
  376. package/dist/components/BarChartsByWeeks/BarChartsByWeeks.style.js +0 -96
  377. package/dist/components/Benchmark/Benchmark.js +0 -126
  378. package/dist/components/Benchmark/Benchmark.stories.js +0 -147
  379. package/dist/components/Benchmark/Benchmark.style.js +0 -61
  380. package/dist/components/Button/Button.js +0 -181
  381. package/dist/components/Button/Button.stories.js +0 -255
  382. package/dist/components/Button/Button.style.js +0 -90
  383. package/dist/components/Button/Button.test.js +0 -94
  384. package/dist/components/CampaignTool/CampaignDemoReport.js +0 -71
  385. package/dist/components/CampaignTool/CampaignDemoReport.stories.js +0 -65
  386. package/dist/components/CampaignTool/CampaignDemoReport.style.js +0 -48
  387. package/dist/components/CampaignTool/Card.js +0 -100
  388. package/dist/components/CampaignTool/Card.stories.js +0 -92
  389. package/dist/components/CampaignTool/Card.style.js +0 -65
  390. package/dist/components/CampaignTool/FormInput.js +0 -35
  391. package/dist/components/CampaignTool/FormSelect.js +0 -37
  392. package/dist/components/CampaignTool/MultipleCard.js +0 -33
  393. package/dist/components/CampaignTool/MultipleCard.stories.js +0 -33
  394. package/dist/components/CampaignTool/MultipleCard.style.js +0 -13
  395. package/dist/components/CampaignTool/PageFilterBar.js +0 -29
  396. package/dist/components/CampaignTool/PageFilterBar.stories.js +0 -28
  397. package/dist/components/CampaignTool/PageFilterBar.style.js +0 -22
  398. package/dist/components/CampaignTool/Popup.js +0 -137
  399. package/dist/components/CampaignTool/Popup.stories.js +0 -702
  400. package/dist/components/CampaignTool/Popup.style.js +0 -122
  401. package/dist/components/CampaignTool/PopupContent.js +0 -84
  402. package/dist/components/CampaignTool/PopupContent.style.js +0 -74
  403. package/dist/components/CampaignTool/PopupFieldsRules.js +0 -168
  404. package/dist/components/CampaignTool/Table.js +0 -223
  405. package/dist/components/CampaignTool/Table.stories.js +0 -104
  406. package/dist/components/CampaignTool/Table.style.js +0 -86
  407. package/dist/components/CheckBox/CheckBox.js +0 -61
  408. package/dist/components/CheckBox/CheckBox.stories.js +0 -107
  409. package/dist/components/CheckBox/CheckBox.style.js +0 -36
  410. package/dist/components/CheckBoxButton/CheckBoxButton.js +0 -57
  411. package/dist/components/CheckBoxButton/CheckBoxButton.stories.js +0 -150
  412. package/dist/components/CheckBoxButton/CheckBoxButton.style.js +0 -39
  413. package/dist/components/CodeEditor/CodeEditor.js +0 -31
  414. package/dist/components/CodeEditor/CodeEditor.style.js +0 -13
  415. package/dist/components/CollapseData/CollapseData.js +0 -100
  416. package/dist/components/CollapseData/CollapseData.stories.js +0 -125
  417. package/dist/components/CollapseData/CollapseData.style.js +0 -127
  418. package/dist/components/CollapseHeader/CollapseHeader.js +0 -284
  419. package/dist/components/CollapseHeader/CollapseHeader.stories.js +0 -123
  420. package/dist/components/CollapseHeader/CollapseHeader.style.js +0 -200
  421. package/dist/components/CollapseMenuItem/CollapseMenuItem.js +0 -72
  422. package/dist/components/CollapseMenuItem/CollapseMenuItem.stories.js +0 -121
  423. package/dist/components/CollapseMenuItem/CollapseMenuItem.style.js +0 -61
  424. package/dist/components/Datepicker/Datepicker.js +0 -136
  425. package/dist/components/Datepicker/Datepicker.stories.js +0 -85
  426. package/dist/components/Datepicker/Datepicker.style.js +0 -19
  427. package/dist/components/DialogOverlay/DialogOverlay.js +0 -57
  428. package/dist/components/DialogOverlay/DialogOverlay.stories.js +0 -39
  429. package/dist/components/DialogOverlay/DialogOverlay.style.js +0 -70
  430. package/dist/components/DoublePanelDataRow/DoublePanelDataRow.js +0 -89
  431. package/dist/components/DoublePanelDataRow/DoublePanelDataRow.stories.js +0 -116
  432. package/dist/components/DoublePanelDataRow/DoublePanelDataRow.style.js +0 -66
  433. package/dist/components/DownloadProgress/DownloadProgress.js +0 -99
  434. package/dist/components/DownloadProgress/DownloadProgress.stories.js +0 -109
  435. package/dist/components/DownloadProgress/DownloadProgress.style.js +0 -51
  436. package/dist/components/Dropdown/Dropdown.js +0 -199
  437. package/dist/components/Dropdown/Dropdown.stories.js +0 -318
  438. package/dist/components/Dropdown/Dropdown.style.js +0 -17
  439. package/dist/components/DropdownMulti/DropdownMulti.js +0 -277
  440. package/dist/components/DropdownMulti/DropdownMulti.stories.js +0 -220
  441. package/dist/components/DropdownMulti/DropdownMulti.style.js +0 -17
  442. package/dist/components/DropdownMultiNew/DropdownMultiNew.js +0 -250
  443. package/dist/components/DropdownMultiNew/DropdownMultiNew.style.js +0 -212
  444. package/dist/components/DropdownMultiNew/DropdownNew.stories.js +0 -407
  445. package/dist/components/DropdownNew/DropdownNew.js +0 -80
  446. package/dist/components/DropdownNew/DropdownNew.style.js +0 -21
  447. package/dist/components/DropdownSingleNew/DropdownSingleNew.js +0 -228
  448. package/dist/components/DropdownSingleNew/DropdownSingleNew.style.js +0 -183
  449. package/dist/components/EventDetailsCard/EventDetailsCard.js +0 -170
  450. package/dist/components/EventDetailsCard/EventDetailsCard.stories.js +0 -114
  451. package/dist/components/EventDetailsCard/EventDetailsCard.style.js +0 -62
  452. package/dist/components/EventList/EventList.js +0 -64
  453. package/dist/components/EventList/EventList.stories.js +0 -84
  454. package/dist/components/EventList/EventList.style.js +0 -38
  455. package/dist/components/EventListItem/EventListItem.js +0 -68
  456. package/dist/components/EventListItem/EventListItem.stories.js +0 -65
  457. package/dist/components/EventListItem/EventListItem.style.js +0 -47
  458. package/dist/components/FilterContainer/FilterContainer.js +0 -26
  459. package/dist/components/FilterContainer/FilterContainer.stories.js +0 -22
  460. package/dist/components/FilterContainer/FilterContainer.style.js +0 -30
  461. package/dist/components/FilterPanel/FilterPanel.js +0 -459
  462. package/dist/components/FilterPanel/FilterPanel.stories.js +0 -967
  463. package/dist/components/FilterPanel/FilterPanel.style.js +0 -89
  464. package/dist/components/FormattedValue/FormattedValue.js +0 -87
  465. package/dist/components/FormattedValue/FormattedValue.stories.js +0 -183
  466. package/dist/components/FormattedValue/FormattedValue.style.js +0 -91
  467. package/dist/components/Heatmap/Heatmap.js +0 -177
  468. package/dist/components/Heatmap/Heatmap.stories.js +0 -118
  469. package/dist/components/Heatmap/Heatmap.style.js +0 -151
  470. package/dist/components/IconButton/IconButton.js +0 -132
  471. package/dist/components/IconButton/IconButton.stories.js +0 -126
  472. package/dist/components/IconButton/IconButton.style.js +0 -65
  473. package/dist/components/Input/Input.js +0 -173
  474. package/dist/components/Input/Input.stories.js +0 -422
  475. package/dist/components/Input/Input.style.js +0 -132
  476. package/dist/components/InputOld/InputOld.js +0 -97
  477. package/dist/components/InputOld/InputOld.stories.js +0 -103
  478. package/dist/components/InputOld/InputOld.style.js +0 -71
  479. package/dist/components/KpiFilter/KpiFilter.js +0 -294
  480. package/dist/components/KpiFilter/KpiFilter.stories.js +0 -401
  481. package/dist/components/KpiFilter/KpiFilter.style.js +0 -132
  482. package/dist/components/LinkButton/LinkButton.js +0 -166
  483. package/dist/components/LinkButton/LinkButton.stories.js +0 -171
  484. package/dist/components/LinkButton/LinkButton.style.js +0 -53
  485. package/dist/components/LinkButton/LinkButton.test.js +0 -94
  486. package/dist/components/LinnerDataBox/LinnerDataBox.js +0 -81
  487. package/dist/components/LinnerDataBox/LinnerDataBox.stories.js +0 -79
  488. package/dist/components/LinnerDataBox/LinnerDataBox.style.js +0 -68
  489. package/dist/components/ListBox/ListBox.js +0 -59
  490. package/dist/components/ListBox/ListBox.stories.js +0 -132
  491. package/dist/components/ListBox/ListBox.style.js +0 -48
  492. package/dist/components/MarketShareDescription/MarketShareDescription.js +0 -119
  493. package/dist/components/MarketShareDescription/MarketShareDescription.stories.js +0 -196
  494. package/dist/components/MarketShareDescription/MarketShareDescription.style.js +0 -215
  495. package/dist/components/Modal/Modal.js +0 -23
  496. package/dist/components/Modal/Modal.style.js +0 -64
  497. package/dist/components/Modal/ModalTotalBenchmark.js +0 -129
  498. package/dist/components/Modal/ModalTotalCost.js +0 -101
  499. package/dist/components/MonthPicker/MonthPicker.js +0 -149
  500. package/dist/components/MonthPicker/MonthPicker.stories.js +0 -142
  501. package/dist/components/MonthPicker/MonthPicker.style.js +0 -105
  502. package/dist/components/MonthPicker/MonthPopupPicker.js +0 -215
  503. package/dist/components/NoDataFoundMessage/NoDataFoundMessage.js +0 -30
  504. package/dist/components/NoDataFoundMessage/NoDataFoundMessage.stories.js +0 -66
  505. package/dist/components/NoDataFoundMessage/NoDataFoundMessage.style.js +0 -39
  506. package/dist/components/OneColumnContainer/OneColumnContainer.js +0 -127
  507. package/dist/components/OneColumnContainer/OneColumnContainer.stories.js +0 -117
  508. package/dist/components/OneColumnContainer/OneColumnContainer.style.js +0 -107
  509. package/dist/components/PerformanceAnalytics/PerformanceAnalytics.js +0 -442
  510. package/dist/components/PerformanceAnalytics/PerformanceAnalytics.stories.js +0 -263
  511. package/dist/components/PerformanceAnalytics/PerformanceAnalytics.style.js +0 -144
  512. package/dist/components/PerformanceAnalyticsLegend/PerformanceAnalyticsLegend.js +0 -60
  513. package/dist/components/PerformanceAnalyticsLegend/PerformanceAnalyticsLegend.stories.js +0 -99
  514. package/dist/components/PerformanceAnalyticsLegend/PerformanceAnalyticsLegend.style.js +0 -63
  515. package/dist/components/PerformanceAnalyticsOneColumn/PerformanceAnalyticsOneColumn.js +0 -317
  516. package/dist/components/PerformanceAnalyticsOneColumn/PerformanceAnalyticsOneColumn.stories.js +0 -236
  517. package/dist/components/PerformanceAnalyticsOneColumn/PerformanceAnalyticsOneColumn.style.js +0 -116
  518. package/dist/components/PerformanceAnalyticsTotals/PerformanceAnalyticsTotals.js +0 -86
  519. package/dist/components/PerformanceAnalyticsTotals/PerformanceAnalyticsTotals.stories.js +0 -109
  520. package/dist/components/PerformanceAnalyticsTotals/PerformanceAnalyticsTotals.style.js +0 -89
  521. package/dist/components/PieChart/PieChart.js +0 -193
  522. package/dist/components/PieChart/PieChart.stories.js +0 -215
  523. package/dist/components/PieChart/PieChart.style.js +0 -154
  524. package/dist/components/PopupCharts/PopupCharts.js +0 -212
  525. package/dist/components/PopupCharts/PopupCharts.stories.js +0 -1196
  526. package/dist/components/PopupCharts/PopupCharts.style.js +0 -108
  527. package/dist/components/ProductsVariety/ProductsVariety.js +0 -106
  528. package/dist/components/ProductsVariety/ProductsVariety.stories.js +0 -90
  529. package/dist/components/ProductsVariety/ProductsVariety.style.js +0 -86
  530. package/dist/components/ProgressBar/ProgressBar.js +0 -56
  531. package/dist/components/ProgressBar/ProgressBar.stories.js +0 -71
  532. package/dist/components/ProgressBar/ProgressBar.style.js +0 -24
  533. package/dist/components/QuarterPicker/QuarterPicker.js +0 -145
  534. package/dist/components/QuarterPicker/QuarterPicker.stories.js +0 -142
  535. package/dist/components/QuarterPicker/QuarterPicker.style.js +0 -104
  536. package/dist/components/QuarterPicker/QuarterPopupPicker.js +0 -196
  537. package/dist/components/QuickFilter/QuickFilter.js +0 -68
  538. package/dist/components/QuickFilter/QuickFilter.stories.js +0 -275
  539. package/dist/components/QuickFilter/QuickFilter.style.js +0 -21
  540. package/dist/components/QuickFilterDropdownMultiSelection/QuickFilterDropdownMultiSelection.js +0 -261
  541. package/dist/components/QuickFilterDropdownMultiSelection/QuickFilterDropdownMultiSelection.style.js +0 -188
  542. package/dist/components/QuickFilterDropdownSingle/QuickFilterDropdownSingle.js +0 -198
  543. package/dist/components/QuickFilterDropdownSingle/QuickFilterDropdownSingle.style.js +0 -133
  544. package/dist/components/RangePicker/RangeDatePicker.js +0 -229
  545. package/dist/components/RangePicker/RangePicker.js +0 -158
  546. package/dist/components/RangePicker/RangePicker.stories.js +0 -140
  547. package/dist/components/RangePicker/RangePicker.style.js +0 -109
  548. package/dist/components/ReportTable/ReportTable.js +0 -412
  549. package/dist/components/ReportTable/ReportTable.stories.js +0 -255
  550. package/dist/components/ReportTable/ReportTable.style.js +0 -304
  551. package/dist/components/SagButton/SagButton.js +0 -73
  552. package/dist/components/SagButton/SagButton.stories.js +0 -118
  553. package/dist/components/SagButton/SagButton.style.js +0 -47
  554. package/dist/components/SagIconButton/SagIconButton.js +0 -103
  555. package/dist/components/SagIconButton/SagIconButton.stories.js +0 -122
  556. package/dist/components/SagIconButton/SagIconButton.style.js +0 -30
  557. package/dist/components/SagInput/SagInput.js +0 -62
  558. package/dist/components/SagInput/SagInput.stories.js +0 -69
  559. package/dist/components/SagInput/SagInput.style.js +0 -41
  560. package/dist/components/SalesAndROI/SalesAndROI.js +0 -104
  561. package/dist/components/SalesAndROI/SalesAndROI.stories.js +0 -166
  562. package/dist/components/SalesAndROI/SalesAndROI.style.js +0 -111
  563. package/dist/components/SearchInput/SearchInput.js +0 -42
  564. package/dist/components/SearchInput/SearchInput.stories.js +0 -44
  565. package/dist/components/SearchInput/SearchInput.style.js +0 -37
  566. package/dist/components/SegmentedButton/SegmentedButton.js +0 -120
  567. package/dist/components/SegmentedButton/SegmentedButton.stories.js +0 -181
  568. package/dist/components/SegmentedButton/SegmentedButton.style.js +0 -97
  569. package/dist/components/Select/Select.js +0 -108
  570. package/dist/components/Select/Select.stories.js +0 -201
  571. package/dist/components/Select/Select.style.js +0 -101
  572. package/dist/components/SingleBarLineCharts/SingleBar.test.js +0 -68
  573. package/dist/components/SingleBarLineCharts/SingleBarLineCharts.js +0 -360
  574. package/dist/components/SingleBarLineCharts/SingleBarLineCharts.stories.js +0 -310
  575. package/dist/components/SingleBarLineCharts/SingleBarLineCharts.style.js +0 -101
  576. package/dist/components/TabMenu/TabMenu.js +0 -250
  577. package/dist/components/TabMenu/TabMenu.stories.js +0 -136
  578. package/dist/components/TabMenu/TabMenu.style.js +0 -121
  579. package/dist/components/TextField/TextField.js +0 -183
  580. package/dist/components/TextField/TextField.stories.js +0 -160
  581. package/dist/components/TextField/TextField.style.js +0 -18
  582. package/dist/components/TitleDescription/TitleDescription.js +0 -305
  583. package/dist/components/TitleDescription/TitleDescription.stories.js +0 -116
  584. package/dist/components/TitleDescription/TitleDescription.style.js +0 -222
  585. package/dist/components/Tooltip/Tooltip.js +0 -55
  586. package/dist/components/Tooltip/Tooltip.style.js +0 -103
  587. package/dist/components/TopToggleList/TopToggleList.js +0 -57
  588. package/dist/components/TopToggleList/TopToggleList.stories.js +0 -52
  589. package/dist/components/TopToggleList/TopToggleList.style.js +0 -51
  590. package/dist/components/TotalBenchmark/TotalBenchmark.js +0 -96
  591. package/dist/components/TotalBenchmark/TotalBenchmark.stories.js +0 -135
  592. package/dist/components/TotalBenchmark/TotalBenchmark.style.js +0 -79
  593. package/dist/components/TotalBenchmarkAreachart/TotalBenchmarkAreachart.js +0 -311
  594. package/dist/components/TotalBenchmarkAreachart/TotalBenchmarkAreachart.stories.js +0 -341
  595. package/dist/components/TotalBenchmarkAreachart/TotalBenchmarkAreachart.style.js +0 -171
  596. package/dist/components/TotalBenchmarkArrows/TotalBenchmarkArrows.js +0 -149
  597. package/dist/components/TotalBenchmarkArrows/TotalBenchmarkArrows.stories.js +0 -170
  598. package/dist/components/TotalBenchmarkArrows/TotalBenchmarkArrows.style.js +0 -108
  599. package/dist/components/TotalBenchmarkBarchart/TotalBenchmarkBarchart.js +0 -162
  600. package/dist/components/TotalBenchmarkBarchart/TotalBenchmarkBarchart.stories.js +0 -183
  601. package/dist/components/TotalBenchmarkBarchart/TotalBenchmarkBarchart.style.js +0 -77
  602. package/dist/components/TotalDoughnutChart/TotalDoughnutChart.js +0 -228
  603. package/dist/components/TotalDoughnutChart/TotalDoughnutChart.stories.js +0 -301
  604. package/dist/components/TotalDoughnutChart/TotalDoughnutChart.style.js +0 -178
  605. package/dist/components/TotalHorizontalCharts/TotalHorizontalCharts.js +0 -218
  606. package/dist/components/TotalHorizontalCharts/TotalHorizontalCharts.stories.js +0 -291
  607. package/dist/components/TotalHorizontalCharts/TotalHorizontalCharts.style.js +0 -93
  608. package/dist/components/TspanTooltip/TspanTooltip.js +0 -41
  609. package/dist/components/TspanTooltip/TspanTooltip.style.js +0 -105
  610. package/dist/components/TwoBarCharts/TwoBarCharts.js +0 -211
  611. package/dist/components/TwoBarCharts/TwoBarCharts.stories.js +0 -185
  612. package/dist/components/TwoBarCharts/TwoBarCharts.style.js +0 -60
  613. package/dist/icons/ArrowDownIcon.js +0 -17
  614. package/dist/icons/ArrowDropDownIcon.js +0 -19
  615. package/dist/icons/ArrowSelectIcon.js +0 -18
  616. package/dist/icons/ArrowUpIcon.js +0 -17
  617. package/dist/icons/AttachedIcon.js +0 -17
  618. package/dist/icons/BellIcon.js +0 -17
  619. package/dist/icons/ButtonArrowRight.js +0 -18
  620. package/dist/icons/Calendar.js +0 -13
  621. package/dist/icons/CalendarIcon.js +0 -19
  622. package/dist/icons/CalendarInOpen.js +0 -14
  623. package/dist/icons/CheckBoxButtonCheckedIcon.js +0 -20
  624. package/dist/icons/CheckBoxCheckedIcon.js +0 -20
  625. package/dist/icons/CheckBoxNotCheckedIcon.js +0 -20
  626. package/dist/icons/ChervronLeftIcon.js +0 -13
  627. package/dist/icons/ChervronRightIcon.js +0 -13
  628. package/dist/icons/ChevronLeftIcon.js +0 -20
  629. package/dist/icons/ChevronRightIcon.js +0 -20
  630. package/dist/icons/ClockIcon.js +0 -19
  631. package/dist/icons/CloseIcon.js +0 -17
  632. package/dist/icons/CloseXIcon.js +0 -17
  633. package/dist/icons/ComboBoxArrowDownIcon.js +0 -20
  634. package/dist/icons/ComboBoxArrowUpIcon.js +0 -18
  635. package/dist/icons/DocumentIcon.js +0 -22
  636. package/dist/icons/DownloadIcon.js +0 -17
  637. package/dist/icons/Duplicate.js +0 -18
  638. package/dist/icons/ErrorIcon.js +0 -18
  639. package/dist/icons/ExitIcon.js +0 -18
  640. package/dist/icons/ExportIcon.js +0 -18
  641. package/dist/icons/EyeIcon.js +0 -18
  642. package/dist/icons/FileIcon.js +0 -17
  643. package/dist/icons/FilterIcon.js +0 -20
  644. package/dist/icons/FlyIcon.js +0 -20
  645. package/dist/icons/FoodLionChartIcon.js +0 -22
  646. package/dist/icons/FoodLionIcon.js +0 -1042
  647. package/dist/icons/FoodLionNewIcon.js +0 -22
  648. package/dist/icons/GiantFoodChartIcon.js +0 -20
  649. package/dist/icons/GiantFoodIcon.js +0 -673
  650. package/dist/icons/GiantFoodIcon_new.js +0 -24
  651. package/dist/icons/HannafordChartIcon.js +0 -20
  652. package/dist/icons/HannafordIcon.js +0 -1686
  653. package/dist/icons/HannafordIcon_new.js +0 -23
  654. package/dist/icons/HannafordNewIcon.js +0 -204
  655. package/dist/icons/InfoIcon.js +0 -18
  656. package/dist/icons/LampIcon.js +0 -20
  657. package/dist/icons/LegendLineIcon.js +0 -17
  658. package/dist/icons/LegendUnionIcon.js +0 -17
  659. package/dist/icons/MaintenanceIcon.js +0 -20
  660. package/dist/icons/MenuItemClosedIcon.js +0 -20
  661. package/dist/icons/MenuItemOpenIcon.js +0 -18
  662. package/dist/icons/MenuItemRightIcon.js +0 -18
  663. package/dist/icons/MenuItemUpIcon.js +0 -18
  664. package/dist/icons/NoDataFoundIcon.js +0 -32
  665. package/dist/icons/OptionsIcon.js +0 -17
  666. package/dist/icons/ReselectIcon.js +0 -17
  667. package/dist/icons/SearchIcon.js +0 -17
  668. package/dist/icons/ShoppingCartIcon.js +0 -25
  669. package/dist/icons/ShoutIcon.js +0 -17
  670. package/dist/icons/Sort.js +0 -5
  671. package/dist/icons/SortIcon.js +0 -23
  672. package/dist/icons/SpotlightProductIcon.js +0 -18
  673. package/dist/icons/StopAndShopChartIcon.js +0 -22
  674. package/dist/icons/StopAndShopIcon.js +0 -61
  675. package/dist/icons/StopAndShopNewIcon.js +0 -23
  676. package/dist/icons/SucceededIcon.js +0 -18
  677. package/dist/icons/TheGiantCompanyChartIcon.js +0 -20
  678. package/dist/icons/TheGiantCompanyIcon.js +0 -22
  679. package/dist/icons/TheGiantCompanyNewIcon.js +0 -23
  680. package/dist/reactTestApp/index.js +0 -17
  681. package/dist/reactTestApp/vite.config.js +0 -15
  682. package/dist/utils/CommonFunctions.js +0 -95
  683. package/dist/utils/ComponentFactory.js +0 -64
  684. package/dist/utils/IconsHandler.js +0 -70
  685. package/dist/utils/IconsHandler.style.js +0 -16
  686. package/dist/utils/regex/Email.regex.js +0 -7
  687. package/dist/utils/regex/LatinWithSpaces.regex.js +0 -7
  688. package/dist/utils/regex/OnlyEnglishLetters.regex.js +0 -7
  689. package/dist/utils/regex/Phone.regex.js +0 -7
  690. package/favicon.ico +0 -0
  691. package/index.html +0 -65
  692. package/manifest.json +0 -25
  693. package/robots.txt +0 -3
@@ -1,222 +0,0 @@
1
- "use strict";
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
6
- exports.default = exports.BarChartTwoRows = void 0;
7
- var _react = _interopRequireWildcard(require("react"));
8
- var _propTypes = _interopRequireDefault(require("prop-types"));
9
- var _recharts = require("recharts");
10
- var _CommonFunctions = require("../../utils/CommonFunctions");
11
- var _BarChartTwoRows = require("./BarChartTwoRows.style");
12
- function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
13
- function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function (e) { return e ? t : r; })(e); }
14
- function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != typeof e && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && {}.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
15
- /* eslint-disable react/prop-types */
16
- /* eslint-disable no-shadow */
17
- /* eslint-disable react/no-unstable-nested-components */
18
- /* eslint-disable no-nested-ternary */
19
-
20
- const ICON_TYPE_SQUARE = 'Square';
21
- const ICON_TYPE_LEGEND_UNION_ICON = 'LegendUnionIcon';
22
- const ICON_TYPE_LEGEND_LINE_ICON = 'LegendLineIcon';
23
-
24
- /* BarChartsByWeeks */
25
- const BarChartTwoRows = props => {
26
- const {
27
- className,
28
- title,
29
- width,
30
- height,
31
- barChartHeight,
32
- barSize,
33
- barFontSizeValue,
34
- barChartData,
35
- barChartColorFirst,
36
- barChartColorSecond,
37
- showDollarSign,
38
- isDollar,
39
- showReferenceLine,
40
- referenceLinePoint,
41
- referenceLineColor,
42
- referenceLineDashed,
43
- lowerValueLabel,
44
- highValueLabel,
45
- showLegend,
46
- legendData
47
- } = props;
48
- const controlsContainerRef = (0, _react.useRef)();
49
- const displayFormattedValue = value => {
50
- if (!value) return 'N/A';
51
- let formattedValue = '';
52
- formattedValue = !isDollar ? ''.concat('', value.toFixed(1)) : ''.concat(showDollarSign ? '$' : '', (0, _CommonFunctions.getFormattedValue)(value), (0, _CommonFunctions.getFormattedUnits)(value));
53
- return formattedValue;
54
- };
55
-
56
- // eslint-disable-next-line react/no-unstable-nested-components
57
- const CustomTooltip = tooltipData => {
58
- const {
59
- active,
60
- payload,
61
- label
62
- } = tooltipData;
63
- if (!active || !payload || payload?.length === 0) return null;
64
- let currentTooltipLowerValue = 0;
65
- let currentTooltipHighValue = 0;
66
- if (payload[0].payload?.lowerValue) currentTooltipLowerValue = payload[0].payload?.lowerValue;
67
- if (payload[0].payload?.highValue) currentTooltipHighValue = payload[0].payload?.highValue;
68
- return <_BarChartTwoRows.TooltipDiv>
69
- <_BarChartTwoRows.TooltipTitle>{`${label}`}</_BarChartTwoRows.TooltipTitle>
70
- <_BarChartTwoRows.TooltipLabel>
71
- {`${lowerValueLabel} ${displayFormattedValue(currentTooltipLowerValue)}`}
72
- </_BarChartTwoRows.TooltipLabel>
73
- <_BarChartTwoRows.TooltipLabel>
74
- {`${highValueLabel} ${displayFormattedValue(currentTooltipHighValue)}`}
75
- </_BarChartTwoRows.TooltipLabel>
76
- </_BarChartTwoRows.TooltipDiv>;
77
- };
78
- const CustomizedTickBarChart = props => {
79
- const {
80
- x,
81
- y,
82
- payload
83
- } = props;
84
- if (barChartData && barChartData.length > 0 && payload) {
85
- const retailerData = barChartData.filter(item => item.title === payload.value);
86
- if (retailerData && retailerData.length > 0) {
87
- return <g transform={`translate(${x},${y})`}
88
- // onMouseEnter={() => handleMouseEnter(offerType)}
89
- // onMouseLeave={handleMouseLeave}
90
- >
91
- <text x={0} y={0} dy={16} fill="#212121">
92
- <_BarChartTwoRows.LabelBoldText textAnchor="middle" x="0" dy="30" fontSize={16} fontWeight={600}>
93
- {payload.value}
94
- </_BarChartTwoRows.LabelBoldText>
95
- </text>
96
- <text x={0} y={0} dy={16} fill="#212121">
97
- <_BarChartTwoRows.LabelText textAnchor="middle" x="0" dy="50" fontSize={14} fontWeight={400}>
98
- {retailerData[0].date}
99
- </_BarChartTwoRows.LabelText>
100
- </text>
101
- </g>;
102
- }
103
- return null;
104
- }
105
- return null;
106
- };
107
- const CustomizedLabel = props => {
108
- const {
109
- x,
110
- y,
111
- stroke,
112
- value
113
- } = props;
114
- return <text x={x + 30} y={y} dy={-8} fill={stroke} fontSize={barFontSizeValue} textAnchor="middle">
115
- {displayFormattedValue(value)}
116
- </text>;
117
- };
118
- return <_BarChartTwoRows.ControlsContainer className={className} height={height} width={width} ref={controlsContainerRef}>
119
- <_BarChartTwoRows.Controls className="Controls">
120
- {title !== '' && <_BarChartTwoRows.Title>{title}</_BarChartTwoRows.Title>}
121
-
122
- <_recharts.ResponsiveContainer height={barChartHeight}>
123
- <_recharts.BarChart width={width} height={height} data={barChartData} maxBarSize={60} margin={{
124
- top: 20,
125
- right: 0,
126
- left: 0,
127
- bottom: 20
128
- }}>
129
- {showReferenceLine && <_recharts.ReferenceLine y={referenceLinePoint} stroke={referenceLineColor} strokeDasharray={referenceLineDashed} />}
130
- <_recharts.XAxis dataKey="title" tick={CustomizedTickBarChart} tickLine={false} height={80} interval={0} stroke="#D0D0D0" />
131
-
132
- <_recharts.Tooltip content={<CustomTooltip />} />
133
- <_recharts.Tooltip />
134
-
135
- <_recharts.Bar dataKey="lowerValue" fill={barChartColorFirst} minPointSize={5} barSize={barSize ?? 60} radius={0} stackId="a" />
136
- <_recharts.Bar dataKey="highValue" fill={barChartColorSecond} stackId="a" radius={[5, 5, 0, 0]}>
137
- <_recharts.LabelList dataKey="value" content={CustomizedLabel} />
138
- </_recharts.Bar>
139
-
140
- </_recharts.BarChart>
141
- </_recharts.ResponsiveContainer>
142
-
143
- {showLegend && <_BarChartTwoRows.LegendContainer legendData={legendData} />}
144
- </_BarChartTwoRows.Controls>
145
- </_BarChartTwoRows.ControlsContainer>;
146
- };
147
- exports.BarChartTwoRows = BarChartTwoRows;
148
- var _default = exports.default = BarChartTwoRows;
149
- BarChartTwoRows.propTypes = {
150
- title: _propTypes.default.string,
151
- width: _propTypes.default.string,
152
- height: _propTypes.default.string,
153
- barChartHeight: _propTypes.default.number,
154
- barSize: _propTypes.default.number,
155
- barFontSizeValue: _propTypes.default.string,
156
- barChartColorFirst: _propTypes.default.string,
157
- barChartColorSecond: _propTypes.default.string,
158
- showDollarSign: _propTypes.default.bool,
159
- isDollar: _propTypes.default.bool,
160
- showReferenceLine: _propTypes.default.bool,
161
- referenceLinePoint: _propTypes.default.number,
162
- referenceLineColor: _propTypes.default.string,
163
- referenceLineDashed: _propTypes.default.string,
164
- lowerValueLabel: _propTypes.default.string,
165
- highValueLabel: _propTypes.default.string,
166
- showLegend: _propTypes.default.bool,
167
- legendData: _propTypes.default.arrayOf(_propTypes.default.shape({
168
- title: _propTypes.default.string.isRequired,
169
- iconType: _propTypes.default.oneOf([ICON_TYPE_SQUARE, ICON_TYPE_LEGEND_UNION_ICON, ICON_TYPE_LEGEND_LINE_ICON]).isRequired,
170
- iconColor: _propTypes.default.string.isRequired
171
- })),
172
- barChartData: _propTypes.default.arrayOf(_propTypes.default.shape({
173
- title: _propTypes.default.string,
174
- date: _propTypes.default.string,
175
- value: _propTypes.default.number
176
- }))
177
- };
178
- BarChartTwoRows.defaultProps = {
179
- title: 'String',
180
- width: '100%',
181
- height: '100%',
182
- barChartHeight: 250,
183
- barSize: 60,
184
- barFontSizeValue: '0.6em',
185
- barChartColorFirst: '#BD9EFF',
186
- barChartColorSecond: '#0b00aaF',
187
- showDollarSign: true,
188
- isDollar: true,
189
- showReferenceLine: false,
190
- referenceLinePoint: 0,
191
- referenceLineColor: '#212121',
192
- referenceLineDashed: '5',
193
- lowerValueLabel: 'Lower Value:',
194
- highValueLabel: 'High Value:',
195
- showLegend: true,
196
- legendData: [{
197
- title: 'Incremental Sales',
198
- iconType: ICON_TYPE_SQUARE,
199
- iconColor: '#BD9EFF'
200
- }],
201
- barChartData: [{
202
- title: 'Food Lion',
203
- date: '15.01.24-31.01.24',
204
- value: 542366
205
- }, {
206
- title: 'Hannaford',
207
- date: '15.01.24-31.01.24',
208
- value: 699511
209
- }, {
210
- title: 'The Giant Company',
211
- date: '15.01.24-31.01.24',
212
- value: 403092
213
- }, {
214
- title: 'Giant Food',
215
- date: '15.01.24-31.01.24',
216
- value: 396184
217
- }, {
218
- title: 'Stop&Shop',
219
- date: '15.01.24-31.01.24',
220
- value: 415317
221
- }]
222
- };
@@ -1,259 +0,0 @@
1
- "use strict";
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
6
- exports.default = exports.SalesDollars = exports.OneColumnOnly = void 0;
7
- var _react = _interopRequireDefault(require("react"));
8
- var _BarChartTwoRows = require("./BarChartTwoRows");
9
- function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
10
- const arrData = [{
11
- title: 'Food Lion',
12
- date: '15.01.24-31.01.24',
13
- value: 542366,
14
- lowerValue: 542366,
15
- highValue: 542366
16
- }, {
17
- title: 'Hannaford',
18
- date: '15.01.24-31.01.24',
19
- value: 699511,
20
- lowerValue: 699511,
21
- highValue: 699511
22
- }, {
23
- title: 'The Giant Company',
24
- date: '15.01.24-31.01.24',
25
- value: 403092,
26
- lowerValue: 403092,
27
- highValue: 403092
28
- }, {
29
- title: 'Giant Food',
30
- date: '15.01.24-31.01.24',
31
- value: 396184,
32
- lowerValue: 396184,
33
- highValue: 396184
34
- }, {
35
- title: 'Stop&Shop',
36
- date: '15.01.24-31.01.24',
37
- value: 415317,
38
- lowerValue: 415317,
39
- highValue: 415317
40
- }];
41
- const arrDataOneColumnOnly = [{
42
- title: 'Food Lion',
43
- date: '15.01.24-31.01.24',
44
- value: 542366,
45
- lowerValue: null,
46
- highValue: 542366
47
- }, {
48
- title: 'Hannaford',
49
- date: '15.01.24-31.01.24',
50
- value: 699511,
51
- lowerValue: null,
52
- highValue: 699511
53
- }, {
54
- title: 'The Giant Company',
55
- date: '15.01.24-31.01.24',
56
- value: 403092,
57
- lowerValue: null,
58
- highValue: 403092
59
- }, {
60
- title: 'Giant Food',
61
- date: '15.01.24-31.01.24',
62
- value: 396184,
63
- lowerValue: null,
64
- highValue: 396184
65
- }, {
66
- title: 'Stop&Shop',
67
- date: '15.01.24-31.01.24',
68
- value: 415317,
69
- lowerValue: null,
70
- highValue: 415317
71
- }];
72
- var _default = exports.default = {
73
- title: 'SAG BI/BarChartTwoRows',
74
- component: _BarChartTwoRows.BarChartTwoRows,
75
- tags: ['autodocs'],
76
- argTypes: {
77
- title: {
78
- name: 'Title',
79
- control: {
80
- type: 'text'
81
- },
82
- description: 'Title displayed on top of the component'
83
- },
84
- width: {
85
- name: 'Width',
86
- control: {
87
- type: 'text'
88
- },
89
- description: 'Width of the control (in px)'
90
- },
91
- height: {
92
- name: 'Height',
93
- control: {
94
- type: 'text'
95
- },
96
- description: 'Height of the control (in px)'
97
- },
98
- barChartHeight: {
99
- name: 'Bar Chart Height',
100
- control: {
101
- type: 'number'
102
- },
103
- description: 'Height of the bar chart (in px)'
104
- },
105
- barSize: {
106
- name: 'Bar Size',
107
- control: {
108
- type: 'number'
109
- },
110
- description: 'Size of the bars (in number, e.g., 60)'
111
- },
112
- barChartData: {
113
- name: 'Bar Chart Data',
114
- description: 'Array of objects: {title: string, value: number} to fill the bar chart data.'
115
- },
116
- barChartColorFirst: {
117
- name: 'First Bar Color',
118
- description: 'Sets the color for the first bar chart',
119
- control: {
120
- type: 'color',
121
- presetColors: ['#ffffff', '#ff0000', '#00ff00', '#0000ff']
122
- }
123
- },
124
- barChartColorSecond: {
125
- name: 'Second Bar Color',
126
- description: 'Sets the color for the second bar chart',
127
- control: {
128
- type: 'color',
129
- presetColors: ['#ffffff', '#ff0000', '#00ff00', '#0000ff']
130
- }
131
- },
132
- showDollarSign: {
133
- name: 'Show Dollar Sign',
134
- control: {
135
- type: 'boolean'
136
- },
137
- description: 'Display a dollar sign on top of the bar'
138
- },
139
- isDollar: {
140
- name: 'Display as Dollar',
141
- control: {
142
- type: 'boolean'
143
- },
144
- description: 'Show values as dollar amounts'
145
- },
146
- showReferenceLine: {
147
- name: 'Show Reference Line',
148
- control: {
149
- type: 'boolean'
150
- },
151
- description: 'Display a reference line on the chart'
152
- },
153
- referenceLinePoint: {
154
- name: 'Reference Line Point',
155
- control: {
156
- type: 'number'
157
- },
158
- description: 'Value at which the reference line is drawn'
159
- },
160
- referenceLineColor: {
161
- name: 'Reference Line Color',
162
- control: {
163
- type: 'color'
164
- },
165
- description: 'Color of the reference line'
166
- },
167
- referenceLineDashed: {
168
- name: 'Reference Line Dashed',
169
- control: {
170
- type: 'number'
171
- },
172
- description: 'Dashed Gapes of the reference line'
173
- },
174
- lowerValueLabel: {
175
- name: 'Lower Value Label',
176
- control: {
177
- type: 'text'
178
- },
179
- description: 'Label for the lower value'
180
- },
181
- highValueLabel: {
182
- name: 'High Value Label',
183
- control: {
184
- type: 'text'
185
- },
186
- description: 'Label for the high value'
187
- },
188
- showLegend: {
189
- name: 'Show Legend',
190
- control: {
191
- type: 'boolean'
192
- },
193
- description: 'Display the legend at the bottom'
194
- },
195
- legendData: {
196
- name: 'Legend Data',
197
- description: 'Array of objects: {title: string, iconType: string, iconColor: string} to fill the legend data.'
198
- }
199
- }
200
- };
201
- const Template = args => <_BarChartTwoRows.BarChartTwoRows {...args} />;
202
- const SalesDollars = exports.SalesDollars = Template.bind({});
203
- SalesDollars.args = {
204
- title: 'Cost',
205
- width: '800px',
206
- height: '500px',
207
- barChartHeight: 250,
208
- barSize: 60,
209
- barChartData: arrData,
210
- barChartColorFirst: '#90CE9C',
211
- barChartColorSecond: '#1F7677',
212
- showDollarSign: true,
213
- isDollar: true,
214
- showReferenceLine: true,
215
- referenceLinePoint: 0,
216
- referenceLineColor: '#212121',
217
- referenceLineDashed: '5',
218
- lowerValueLabel: 'Redemption Cost: ',
219
- highValueLabel: 'Package Cost: ',
220
- showLegend: true,
221
- legendData: [{
222
- title: 'Package Cost',
223
- iconType: 'Square',
224
- iconColor: '#1F7677'
225
- }, {
226
- title: 'Redemption Cost',
227
- iconType: 'Square',
228
- iconColor: '#90CE9C'
229
- }]
230
- };
231
- const OneColumnOnly = exports.OneColumnOnly = Template.bind({});
232
- OneColumnOnly.args = {
233
- title: 'Cost',
234
- width: '800px',
235
- height: '500px',
236
- barChartHeight: 250,
237
- barSize: 60,
238
- barChartData: arrDataOneColumnOnly,
239
- barChartColorFirst: '#90CE9C',
240
- barChartColorSecond: '#1F7677',
241
- showDollarSign: true,
242
- isDollar: true,
243
- showReferenceLine: true,
244
- referenceLinePoint: 0,
245
- referenceLineColor: '#212121',
246
- referenceLineDashed: '5',
247
- lowerValueLabel: 'Redemption Cost: ',
248
- highValueLabel: 'Package Cost: ',
249
- showLegend: true,
250
- legendData: [{
251
- title: 'Package Cost',
252
- iconType: 'Square',
253
- iconColor: '#1F7677'
254
- }, {
255
- title: 'Redemption Cost',
256
- iconType: 'Square',
257
- iconColor: '#90CE9C'
258
- }]
259
- };
@@ -1,79 +0,0 @@
1
- "use strict";
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
6
- exports.TooltipTitle = exports.TooltipLabel = exports.TooltipDiv = exports.Title = exports.LegendContainer = exports.LabelText = exports.LabelBoldText = exports.ControlsContainer = exports.Controls = void 0;
7
- var _styledComponents = _interopRequireDefault(require("styled-components"));
8
- var _PerformanceAnalyticsLegend = require("../PerformanceAnalyticsLegend/PerformanceAnalyticsLegend");
9
- function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
10
- const ControlsContainer = exports.ControlsContainer = _styledComponents.default.div`
11
- font-family: "Poppins", sans-serif;
12
- width: ${props => props.width};
13
- height: ${props => props.height};
14
- border-radius: 12px;
15
- align-self: center;
16
- &.NoData {
17
- align-self: center;
18
- display: flex;
19
- align-items: center;
20
- width: 50%;
21
- margin: 10% auto 0;
22
- }
23
- > * {
24
- box-sizing: border-box;
25
- }
26
- `;
27
- const Controls = exports.Controls = _styledComponents.default.div`
28
- height: 100%;
29
- width: 100%;
30
- padding: 24px 40px;
31
- background: white;
32
- display: flex;
33
- flex-direction: column;
34
- @media (max-width: 1536px) {
35
- padding: 12px 32px;
36
- }
37
- `;
38
- const Title = exports.Title = _styledComponents.default.span`
39
- color: #212121;
40
- display: inline-block;
41
- font-size: 18px;
42
- font-weight: 400;
43
- margin-bottom: 14px;
44
- @media (max-width: 1536px) {
45
- font-size: 16px;
46
- }
47
- @media (max-width: 1366px) {
48
- font-size: 14px;
49
- }
50
- `;
51
- const LegendContainer = exports.LegendContainer = (0, _styledComponents.default)(_PerformanceAnalyticsLegend.PerformanceAnalyticsLegend)`
52
- margin-top: auto;
53
- padding-bottom: 16px;
54
- `;
55
- const TooltipDiv = exports.TooltipDiv = _styledComponents.default.div`
56
- border-radius: 5px;
57
- padding: 8px 12px;
58
- background: white;
59
- box-shadow: 0px 0px 20px 0px rgba(0, 0, 0, 0.2);
60
- margin: 0;
61
- `;
62
- const TooltipLabel = exports.TooltipLabel = _styledComponents.default.div`
63
- color: #212121;
64
- font-size: 14px;
65
- font-weight: 400;
66
- line-height: normal;
67
- width: fit-content;
68
- `;
69
- const TooltipTitle = exports.TooltipTitle = _styledComponents.default.div`
70
- color: #212121;
71
- font-size: 14px;
72
- font-weight: 600;
73
- `;
74
- const LabelBoldText = exports.LabelBoldText = _styledComponents.default.tspan`
75
- font-size: 0.7em;
76
- `;
77
- const LabelText = exports.LabelText = _styledComponents.default.tspan`
78
- font-size: 0.6em;
79
- `;