sag_components 1.0.1021 → 1.0.1022

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 (314) hide show
  1. package/dist/stories/CampaignTool/PopupContent.stories.js +284 -0
  2. package/dist/stories/components/BannerEventBoxTest.js +42 -0
  3. package/dist/stories/components/BannerEventBoxTest.style.js +11 -0
  4. package/dist/stories/components/FilterButton.js +53 -0
  5. package/dist/stories/components/FilterButton.style.js +12 -0
  6. package/dist/stories/components/NewInput.js +33 -0
  7. package/dist/stories/components/NewInput.style.js +13 -0
  8. package/dist/stories/components/TotalHorizontalCharts.js +17 -14
  9. package/dist/stories/components/TotalHorizontalCharts.style.js +37 -1
  10. package/dist/stories/components/icons/TheGiantCompanyIcon_old.js +1831 -0
  11. package/package.json +1 -1
  12. package/dist/stories/components/AttachedFile/AttachedFile.js +0 -62
  13. package/dist/stories/components/AttachedFile/AttachedFile.stories.js +0 -36
  14. package/dist/stories/components/AttachedFile/AttachedFile.style.js +0 -48
  15. package/dist/stories/components/BannerEventBox/BannerEventBox.js +0 -97
  16. package/dist/stories/components/BannerEventBox/BannerEventBox.stories.js +0 -58
  17. package/dist/stories/components/BannerEventBox/BannerEventBox.style.js +0 -78
  18. package/dist/stories/components/BannerEventBoxList/BannerEventBoxList.js +0 -153
  19. package/dist/stories/components/BannerEventBoxList/BannerEventBoxList.stories.js +0 -59
  20. package/dist/stories/components/BannerEventBoxList/BannerEventBoxList.style.js +0 -189
  21. package/dist/stories/components/BannersDropdown/BannersDropdown.js +0 -115
  22. package/dist/stories/components/BannersDropdown/BannersDropdown.stories.js +0 -64
  23. package/dist/stories/components/BannersDropdown/BannersDropdown.style.js +0 -99
  24. package/dist/stories/components/BarChart/BarChart.js +0 -191
  25. package/dist/stories/components/BarChart/BarChart.stories.js +0 -153
  26. package/dist/stories/components/BarChart/BarChart.style.js +0 -60
  27. package/dist/stories/components/BarChartTwoRows/BarChartTwoRows.js +0 -213
  28. package/dist/stories/components/BarChartTwoRows/BarChartTwoRows.stories.js +0 -259
  29. package/dist/stories/components/BarChartTwoRows/BarChartTwoRows.style.js +0 -79
  30. package/dist/stories/components/BarChartsByWeeks/BarChartsByWeeks.js +0 -299
  31. package/dist/stories/components/BarChartsByWeeks/BarChartsByWeeks.stories.js +0 -442
  32. package/dist/stories/components/BarChartsByWeeks/BarChartsByWeeks.style.js +0 -96
  33. package/dist/stories/components/Benchmark/Benchmark.js +0 -130
  34. package/dist/stories/components/Benchmark/Benchmark.stories.js +0 -148
  35. package/dist/stories/components/Benchmark/Benchmark.style.js +0 -61
  36. package/dist/stories/components/Button/Button.js +0 -217
  37. package/dist/stories/components/Button/Button.stories.js +0 -269
  38. package/dist/stories/components/Button/Button.style.js +0 -90
  39. package/dist/stories/components/CampaignDemoReport/CampaignDemoReport.js +0 -48
  40. package/dist/stories/components/CampaignDemoReport/CampaignDemoReport.stories.js +0 -65
  41. package/dist/stories/components/CampaignDemoReport/CampaignDemoReport.style.js +0 -48
  42. package/dist/stories/components/Card/Card.js +0 -72
  43. package/dist/stories/components/Card/Card.stories.js +0 -92
  44. package/dist/stories/components/Card/Card.style.js +0 -65
  45. package/dist/stories/components/CheckBox/CheckBox.js +0 -76
  46. package/dist/stories/components/CheckBox/CheckBox.stories.js +0 -107
  47. package/dist/stories/components/CheckBox/CheckBox.style.js +0 -36
  48. package/dist/stories/components/CheckBoxButton/CheckBoxButton.js +0 -69
  49. package/dist/stories/components/CheckBoxButton/CheckBoxButton.stories.js +0 -150
  50. package/dist/stories/components/CheckBoxButton/CheckBoxButton.style.js +0 -39
  51. package/dist/stories/components/CodeEditor/CodeEditor.js +0 -43
  52. package/dist/stories/components/CodeEditor/CodeEditor.style.js +0 -13
  53. package/dist/stories/components/CollapseData/CollapseData.js +0 -66
  54. package/dist/stories/components/CollapseData/CollapseData.stories.js +0 -125
  55. package/dist/stories/components/CollapseData/CollapseData.style.js +0 -127
  56. package/dist/stories/components/CollapseHeader/CollapseHeader.js +0 -249
  57. package/dist/stories/components/CollapseHeader/CollapseHeader.stories.js +0 -116
  58. package/dist/stories/components/CollapseHeader/CollapseHeader.style.js +0 -200
  59. package/dist/stories/components/CollapseMenuItem/CollapseMenuItem.js +0 -61
  60. package/dist/stories/components/CollapseMenuItem/CollapseMenuItem.stories.js +0 -161
  61. package/dist/stories/components/CollapseMenuItem/CollapseMenuItem.style.js +0 -61
  62. package/dist/stories/components/Datepicker/Datepicker.js +0 -148
  63. package/dist/stories/components/Datepicker/Datepicker.stories.js +0 -86
  64. package/dist/stories/components/Datepicker/Datepicker.style.js +0 -19
  65. package/dist/stories/components/DownloadProgress/DownloadProgress.js +0 -97
  66. package/dist/stories/components/DownloadProgress/DownloadProgress.stories.js +0 -111
  67. package/dist/stories/components/DownloadProgress/DownloadProgress.style.js +0 -51
  68. package/dist/stories/components/Dropdown/Dropdown.js +0 -231
  69. package/dist/stories/components/Dropdown/Dropdown.stories.js +0 -323
  70. package/dist/stories/components/Dropdown/Dropdown.style.js +0 -17
  71. package/dist/stories/components/DropdownMultiNew/DropdownMultiNew.js +0 -292
  72. package/dist/stories/components/DropdownMultiNew/DropdownMultiNew.style.js +0 -216
  73. package/dist/stories/components/DropdownNew/DropdownNew.js +0 -98
  74. package/dist/stories/components/DropdownNew/DropdownNew.stories.js +0 -416
  75. package/dist/stories/components/DropdownNew/DropdownNew.style.js +0 -21
  76. package/dist/stories/components/DropdownSingleNew/DropdownSingleNew.js +0 -254
  77. package/dist/stories/components/DropdownSingleNew/DropdownSingleNew.style.js +0 -187
  78. package/dist/stories/components/EventDetailsCard/EventDetailsCard.js +0 -144
  79. package/dist/stories/components/EventDetailsCard/EventDetailsCard.stories.js +0 -57
  80. package/dist/stories/components/EventDetailsCard/EventDetailsCard.style.js +0 -94
  81. package/dist/stories/components/EventList/EventList.js +0 -61
  82. package/dist/stories/components/EventList/EventList.stories.js +0 -84
  83. package/dist/stories/components/EventList/EventList.style.js +0 -38
  84. package/dist/stories/components/EventListItem/EventListItem.js +0 -50
  85. package/dist/stories/components/EventListItem/EventListItem.stories.js +0 -65
  86. package/dist/stories/components/EventListItem/EventListItem.style.js +0 -47
  87. package/dist/stories/components/FilterContainer/FilterContainer.js +0 -29
  88. package/dist/stories/components/FilterContainer/FilterContainer.stories.js +0 -23
  89. package/dist/stories/components/FilterContainer/FilterContainer.style.js +0 -30
  90. package/dist/stories/components/FilterPanel/FilterPanel.js +0 -566
  91. package/dist/stories/components/FilterPanel/FilterPanel.stories.js +0 -967
  92. package/dist/stories/components/FilterPanel/FilterPanel.style.js +0 -89
  93. package/dist/stories/components/FormInput/FormInput.js +0 -41
  94. package/dist/stories/components/FormSelect/FormSelect.js +0 -42
  95. package/dist/stories/components/FormattedValue/FormattedValue.js +0 -68
  96. package/dist/stories/components/FormattedValue/FormattedValue.stories.js +0 -189
  97. package/dist/stories/components/FormattedValue/FormattedValue.style.js +0 -91
  98. package/dist/stories/components/HaiTooltip.js +0 -71
  99. package/dist/stories/components/HaiTooltip.style.js +0 -12
  100. package/dist/stories/components/IconButton/IconButton.js +0 -147
  101. package/dist/stories/components/IconButton/IconButton.stories.js +0 -131
  102. package/dist/stories/components/IconButton/IconButton.style.js +0 -64
  103. package/dist/stories/components/Input/Input.js +0 -183
  104. package/dist/stories/components/Input/Input.stories.js +0 -434
  105. package/dist/stories/components/Input/Input.style.js +0 -130
  106. package/dist/stories/components/InputOld/InputOld.js +0 -90
  107. package/dist/stories/components/InputOld/InputOld.stories.js +0 -100
  108. package/dist/stories/components/InputOld/InputOld.style.js +0 -69
  109. package/dist/stories/components/KpiFilter/KpiFilter.js +0 -330
  110. package/dist/stories/components/KpiFilter/KpiFilter.stories.js +0 -380
  111. package/dist/stories/components/KpiFilter/KpiFilter.style.js +0 -132
  112. package/dist/stories/components/LinkButton/LinkButton.js +0 -207
  113. package/dist/stories/components/LinkButton/LinkButton.stories.js +0 -180
  114. package/dist/stories/components/LinkButton/LinkButton.style.js +0 -53
  115. package/dist/stories/components/LinnerDataBox/LinnerDataBox.js +0 -46
  116. package/dist/stories/components/LinnerDataBox/LinnerDataBox.stories.js +0 -78
  117. package/dist/stories/components/LinnerDataBox/LinnerDataBox.style.js +0 -68
  118. package/dist/stories/components/ListBox/ListBox.js +0 -82
  119. package/dist/stories/components/ListBox/ListBox.stories.js +0 -132
  120. package/dist/stories/components/ListBox/ListBox.style.js +0 -48
  121. package/dist/stories/components/MarketShareDescription/MarketShareDescription.js +0 -109
  122. package/dist/stories/components/MarketShareDescription/MarketShareDescription.stories.js +0 -198
  123. package/dist/stories/components/MarketShareDescription/MarketShareDescription.style.js +0 -215
  124. package/dist/stories/components/Modal/Modal.js +0 -21
  125. package/dist/stories/components/Modal/Modal.style.js +0 -65
  126. package/dist/stories/components/Modal/ModalTotalBenchmark.js +0 -224
  127. package/dist/stories/components/Modal/ModalTotalCost.js +0 -139
  128. package/dist/stories/components/MonthPicker/MonthPicker.js +0 -166
  129. package/dist/stories/components/MonthPicker/MonthPicker.stories.js +0 -140
  130. package/dist/stories/components/MonthPicker/MonthPicker.style.js +0 -103
  131. package/dist/stories/components/MonthPicker/MonthPopupPicker.js +0 -200
  132. package/dist/stories/components/MultipleCard/MultipleCard.js +0 -26
  133. package/dist/stories/components/MultipleCard/MultipleCard.stories.js +0 -33
  134. package/dist/stories/components/MultipleCard/MultipleCard.style.js +0 -13
  135. package/dist/stories/components/NoDataFoundMessage/NoDataFoundMessage.js +0 -30
  136. package/dist/stories/components/NoDataFoundMessage/NoDataFoundMessage.stories.js +0 -66
  137. package/dist/stories/components/NoDataFoundMessage/NoDataFoundMessage.style.js +0 -39
  138. package/dist/stories/components/OneColumnContainer/OneColumnContainer.js +0 -121
  139. package/dist/stories/components/OneColumnContainer/OneColumnContainer.stories.js +0 -119
  140. package/dist/stories/components/OneColumnContainer/OneColumnContainer.style.js +0 -107
  141. package/dist/stories/components/PageFilterBar/PageFilterBar.js +0 -23
  142. package/dist/stories/components/PageFilterBar/PageFilterBar.stories.js +0 -28
  143. package/dist/stories/components/PageFilterBar/PageFilterBar.style.js +0 -22
  144. package/dist/stories/components/PerformanceAnalytics/PerformanceAnalytics.js +0 -447
  145. package/dist/stories/components/PerformanceAnalytics/PerformanceAnalytics.stories.js +0 -258
  146. package/dist/stories/components/PerformanceAnalytics/PerformanceAnalytics.style.js +0 -144
  147. package/dist/stories/components/PerformanceAnalyticsLegend/PerformanceAnalyticsLegend.js +0 -59
  148. package/dist/stories/components/PerformanceAnalyticsLegend/PerformanceAnalyticsLegend.stories.js +0 -86
  149. package/dist/stories/components/PerformanceAnalyticsLegend/PerformanceAnalyticsLegend.style.js +0 -63
  150. package/dist/stories/components/PerformanceAnalyticsOneColumn/PerformanceAnalyticsOneColumn.js +0 -327
  151. package/dist/stories/components/PerformanceAnalyticsOneColumn/PerformanceAnalyticsOneColumn.stories.js +0 -231
  152. package/dist/stories/components/PerformanceAnalyticsOneColumn/PerformanceAnalyticsOneColumn.style.js +0 -116
  153. package/dist/stories/components/PerformanceAnalyticsTotals/PerformanceAnalyticsTotals.js +0 -70
  154. package/dist/stories/components/PerformanceAnalyticsTotals/PerformanceAnalyticsTotals.stories.js +0 -100
  155. package/dist/stories/components/PerformanceAnalyticsTotals/PerformanceAnalyticsTotals.style.js +0 -89
  156. package/dist/stories/components/Popup/Popup.js +0 -172
  157. package/dist/stories/components/Popup/Popup.stories.js +0 -704
  158. package/dist/stories/components/Popup/Popup.style.js +0 -122
  159. package/dist/stories/components/PopupCharts/PopupCharts.js +0 -244
  160. package/dist/stories/components/PopupCharts/PopupCharts.stories.js +0 -1203
  161. package/dist/stories/components/PopupCharts/PopupCharts.style.js +0 -108
  162. package/dist/stories/components/PopupContent/PopupContent.js +0 -111
  163. package/dist/stories/components/PopupContent/PopupContent.style.js +0 -74
  164. package/dist/stories/components/PopupContent/PopupFieldsRules.js +0 -168
  165. package/dist/stories/components/ProductsVariety/ProductsVariety.js +0 -94
  166. package/dist/stories/components/ProductsVariety/ProductsVariety.stories.js +0 -91
  167. package/dist/stories/components/ProductsVariety/ProductsVariety.style.js +0 -86
  168. package/dist/stories/components/ProgressBar/ProgressBar.js +0 -52
  169. package/dist/stories/components/ProgressBar/ProgressBar.stories.js +0 -72
  170. package/dist/stories/components/ProgressBar/ProgressBar.style.js +0 -24
  171. package/dist/stories/components/QuarterPicker/QuarterPicker.js +0 -165
  172. package/dist/stories/components/QuarterPicker/QuarterPicker.stories.js +0 -140
  173. package/dist/stories/components/QuarterPicker/QuarterPicker.style.js +0 -102
  174. package/dist/stories/components/QuarterPicker/QuarterPopupPicker.js +0 -182
  175. package/dist/stories/components/QuickFilter/QuickFilter.js +0 -78
  176. package/dist/stories/components/QuickFilter/QuickFilter.stories.js +0 -281
  177. package/dist/stories/components/QuickFilter/QuickFilter.style.js +0 -21
  178. package/dist/stories/components/QuickFilter/QuickFilterDropdownMultiSelection.js +0 -299
  179. package/dist/stories/components/QuickFilter/QuickFilterDropdownMultiSelection.style.js +0 -194
  180. package/dist/stories/components/QuickFilter/QuickFilterDropdownSingle.js +0 -229
  181. package/dist/stories/components/QuickFilter/QuickFilterDropdownSingle.style.js +0 -139
  182. package/dist/stories/components/RangePicker/RangeDatePicker.js +0 -229
  183. package/dist/stories/components/RangePicker/RangePicker.js +0 -176
  184. package/dist/stories/components/RangePicker/RangePicker.stories.js +0 -138
  185. package/dist/stories/components/RangePicker/RangePicker.style.js +0 -107
  186. package/dist/stories/components/Rbackup.js +0 -453
  187. package/dist/stories/components/ReportTable/ReportTable.js +0 -262
  188. package/dist/stories/components/ReportTable/ReportTable.stories.js +0 -151
  189. package/dist/stories/components/ReportTable/ReportTable.style.js +0 -131
  190. package/dist/stories/components/SagButton/SagButton.js +0 -68
  191. package/dist/stories/components/SagButton/SagButton.stories.js +0 -118
  192. package/dist/stories/components/SagButton/SagButton.style.js +0 -47
  193. package/dist/stories/components/SagIconButton/SagIconButton.js +0 -130
  194. package/dist/stories/components/SagIconButton/SagIconButton.stories.js +0 -123
  195. package/dist/stories/components/SagIconButton/SagIconButton.style.js +0 -30
  196. package/dist/stories/components/SagInput/SagInput.js +0 -53
  197. package/dist/stories/components/SagInput/SagInput.stories.js +0 -69
  198. package/dist/stories/components/SagInput/SagInput.style.js +0 -41
  199. package/dist/stories/components/SalesAndROI/SalesAndROI.js +0 -89
  200. package/dist/stories/components/SalesAndROI/SalesAndROI.stories.js +0 -168
  201. package/dist/stories/components/SalesAndROI/SalesAndROI.style.js +0 -111
  202. package/dist/stories/components/SearchInput/SearchInput.js +0 -39
  203. package/dist/stories/components/SearchInput/SearchInput.stories.js +0 -44
  204. package/dist/stories/components/SearchInput/SearchInput.style.js +0 -37
  205. package/dist/stories/components/SegmentedButton/SegmentedButton.js +0 -122
  206. package/dist/stories/components/SegmentedButton/SegmentedButton.stories.js +0 -183
  207. package/dist/stories/components/SegmentedButton/SegmentedButton.style.js +0 -100
  208. package/dist/stories/components/Select/Select.js +0 -135
  209. package/dist/stories/components/Select/Select.stories.js +0 -200
  210. package/dist/stories/components/Select/Select.style.js +0 -102
  211. package/dist/stories/components/TabMenu/TabMenu.js +0 -214
  212. package/dist/stories/components/TabMenu/TabMenu.stories.js +0 -76
  213. package/dist/stories/components/TabMenu/TabMenu.style.js +0 -115
  214. package/dist/stories/components/Table/Table.js +0 -195
  215. package/dist/stories/components/Table/Table.stories.js +0 -104
  216. package/dist/stories/components/Table/Table.style.js +0 -86
  217. package/dist/stories/components/TableTooltip.js +0 -71
  218. package/dist/stories/components/TableTooltip.style.js +0 -12
  219. package/dist/stories/components/TextField/TextField.js +0 -209
  220. package/dist/stories/components/TextField/TextField.stories.js +0 -162
  221. package/dist/stories/components/TextField/TextField.style.js +0 -18
  222. package/dist/stories/components/TitleDescription/TitleDescription.js +0 -272
  223. package/dist/stories/components/TitleDescription/TitleDescription.stories.js +0 -117
  224. package/dist/stories/components/TitleDescription/TitleDescription.style.js +0 -222
  225. package/dist/stories/components/Tooltip/Tooltip.js +0 -31
  226. package/dist/stories/components/Tooltip/Tooltip.style.js +0 -103
  227. package/dist/stories/components/TopToggleList/TopToggleList.js +0 -46
  228. package/dist/stories/components/TopToggleList/TopToggleList.stories.js +0 -52
  229. package/dist/stories/components/TopToggleList/TopToggleList.style.js +0 -51
  230. package/dist/stories/components/TotalBenchmark/TotalBenchmark.js +0 -97
  231. package/dist/stories/components/TotalBenchmark/TotalBenchmark.stories.js +0 -138
  232. package/dist/stories/components/TotalBenchmark/TotalBenchmark.style.js +0 -81
  233. package/dist/stories/components/TotalBenchmarkAreachart/TotalBenchmarkAreachart.js +0 -342
  234. package/dist/stories/components/TotalBenchmarkAreachart/TotalBenchmarkAreachart.stories.js +0 -343
  235. package/dist/stories/components/TotalBenchmarkAreachart/TotalBenchmarkAreachart.style.js +0 -171
  236. package/dist/stories/components/TotalBenchmarkArrows/TotalBenchmarkArrows.js +0 -149
  237. package/dist/stories/components/TotalBenchmarkArrows/TotalBenchmarkArrows.stories.js +0 -172
  238. package/dist/stories/components/TotalBenchmarkArrows/TotalBenchmarkArrows.style.js +0 -108
  239. package/dist/stories/components/TotalBenchmarkBarchart/TotalBenchmarkBarchart.js +0 -165
  240. package/dist/stories/components/TotalBenchmarkBarchart/TotalBenchmarkBarchart.stories.js +0 -185
  241. package/dist/stories/components/TotalBenchmarkBarchart/TotalBenchmarkBarchart.style.js +0 -77
  242. package/dist/stories/components/TotalDoughnutChart/TotalDoughnutChart.js +0 -186
  243. package/dist/stories/components/TotalDoughnutChart/TotalDoughnutChart.stories.js +0 -291
  244. package/dist/stories/components/TotalDoughnutChart/TotalDoughnutChart.style.js +0 -178
  245. package/dist/stories/components/TotalHorizontalCharts/TotalHorizontalCharts.js +0 -229
  246. package/dist/stories/components/TotalHorizontalCharts/TotalHorizontalCharts.stories.js +0 -228
  247. package/dist/stories/components/TotalHorizontalCharts/TotalHorizontalCharts.style.js +0 -58
  248. package/dist/stories/components/TspanTooltip/TspanTooltip.js +0 -33
  249. package/dist/stories/components/TspanTooltip/TspanTooltip.style.js +0 -105
  250. package/dist/stories/components/TwoBarCharts/TwoBarCharts.js +0 -204
  251. package/dist/stories/components/TwoBarCharts/TwoBarCharts.stories.js +0 -185
  252. package/dist/stories/components/TwoBarCharts/TwoBarCharts.style.js +0 -60
  253. package/dist/stories/icons/ArrowDownIcon.js +0 -27
  254. package/dist/stories/icons/ArrowDropDownIcon.js +0 -27
  255. package/dist/stories/icons/ArrowSelectIcon.js +0 -27
  256. package/dist/stories/icons/ArrowUpIcon.js +0 -27
  257. package/dist/stories/icons/AttachedIcon.js +0 -27
  258. package/dist/stories/icons/BellIcon.js +0 -27
  259. package/dist/stories/icons/Calendar.js +0 -20
  260. package/dist/stories/icons/CalendarIcon.js +0 -27
  261. package/dist/stories/icons/CalendarInOpen.js +0 -26
  262. package/dist/stories/icons/CheckBoxButtonCheckedIcon.js +0 -28
  263. package/dist/stories/icons/CheckBoxCheckedIcon.js +0 -28
  264. package/dist/stories/icons/CheckBoxNotCheckedIcon.js +0 -28
  265. package/dist/stories/icons/ChervronLeftIcon.js +0 -20
  266. package/dist/stories/icons/ChervronRightIcon.js +0 -20
  267. package/dist/stories/icons/ClockIcon.js +0 -27
  268. package/dist/stories/icons/CloseIcon.js +0 -27
  269. package/dist/stories/icons/CloseXIcon.js +0 -27
  270. package/dist/stories/icons/ComboBoxArrowDownIcon.js +0 -28
  271. package/dist/stories/icons/ComboBoxArrowUpIcon.js +0 -28
  272. package/dist/stories/icons/DocumentIcon.js +0 -48
  273. package/dist/stories/icons/DownloadIcon.js +0 -27
  274. package/dist/stories/icons/Duplicate.js +0 -28
  275. package/dist/stories/icons/ErrorIcon.js +0 -27
  276. package/dist/stories/icons/ExitIcon.js +0 -28
  277. package/dist/stories/icons/ExportIcon.js +0 -28
  278. package/dist/stories/icons/EyeIcon.js +0 -28
  279. package/dist/stories/icons/FileIcon.js +0 -27
  280. package/dist/stories/icons/FilterIcon.js +0 -36
  281. package/dist/stories/icons/FlyIcon.js +0 -28
  282. package/dist/stories/icons/FoodLionChartIcon.js +0 -42
  283. package/dist/stories/icons/FoodLionIcon.js +0 -3076
  284. package/dist/stories/icons/FoodLionNewIcon.js +0 -39
  285. package/dist/stories/icons/GiantFoodChartIcon.js +0 -40
  286. package/dist/stories/icons/GiantFoodIcon.js +0 -1976
  287. package/dist/stories/icons/GiantFoodIcon_new.js +0 -42
  288. package/dist/stories/icons/HannafordChartIcon.js +0 -40
  289. package/dist/stories/icons/HannafordIcon.js +0 -5017
  290. package/dist/stories/icons/HannafordIcon_new.js +0 -41
  291. package/dist/stories/icons/HannafordNewIcon.js +0 -213
  292. package/dist/stories/icons/InfoIcon.js +0 -28
  293. package/dist/stories/icons/LampIcon.js +0 -27
  294. package/dist/stories/icons/LegendLineIcon.js +0 -29
  295. package/dist/stories/icons/LegendUnionIcon.js +0 -29
  296. package/dist/stories/icons/MaintenanceIcon.js +0 -28
  297. package/dist/stories/icons/MenuItemClosedIcon.js +0 -28
  298. package/dist/stories/icons/MenuItemOpenIcon.js +0 -28
  299. package/dist/stories/icons/MenuItemRightIcon.js +0 -28
  300. package/dist/stories/icons/MenuItemUpIcon.js +0 -28
  301. package/dist/stories/icons/NoDataFoundIcon.js +0 -86
  302. package/dist/stories/icons/OptionsIcon.js +0 -27
  303. package/dist/stories/icons/SearchIcon.js +0 -27
  304. package/dist/stories/icons/ShoppingCartIcon.js +0 -45
  305. package/dist/stories/icons/ShoutIcon.js +0 -27
  306. package/dist/stories/icons/SpotlightProductIcon.js +0 -28
  307. package/dist/stories/icons/StopAndShopChartIcon.js +0 -42
  308. package/dist/stories/icons/StopAndShopIcon.js +0 -134
  309. package/dist/stories/icons/StopAndShopNewIcon.js +0 -41
  310. package/dist/stories/icons/SucceededIcon.js +0 -27
  311. package/dist/stories/icons/TheGiantCompanyChartIcon.js +0 -40
  312. package/dist/stories/icons/TheGiantCompanyIcon.js +0 -40
  313. package/dist/stories/icons/TheGiantCompanyNewIcon.js +0 -39
  314. package/dist/stories/utils/CommonFunctions.js +0 -83
@@ -1,272 +0,0 @@
1
- "use strict";
2
-
3
- var _interopRequireWildcard = require("@babel/runtime/helpers/interopRequireWildcard").default;
4
- Object.defineProperty(exports, "__esModule", {
5
- value: true
6
- });
7
- exports.default = exports.TitleDescription = void 0;
8
- var _react = _interopRequireWildcard(require("react"));
9
- var _EyeIcon = require("../../icons/EyeIcon");
10
- var _FoodLionIcon = require("../../icons/FoodLionIcon");
11
- var _GiantFoodIcon = require("../../icons/GiantFoodIcon");
12
- var _HannafordIcon = require("../../icons/HannafordIcon");
13
- var _StopAndShopIcon = require("../../icons/StopAndShopIcon");
14
- var _TheGiantCompanyIcon = require("../../icons/TheGiantCompanyIcon");
15
- var _ComboBoxArrowDownIcon = require("../../icons/ComboBoxArrowDownIcon");
16
- var _ComboBoxArrowUpIcon = require("../../icons/ComboBoxArrowUpIcon");
17
- var _ListBox = require("../ListBox/ListBox");
18
- var _TitleDescription = require("./TitleDescription.style");
19
- const TitleDescription = props => {
20
- var _data$eventDescriptio, _data$eventDatesValue, _data$eventDatesValue2, _data$objectivesDescr;
21
- const {
22
- className,
23
- showRetailerIcon,
24
- showPeriodIcon,
25
- viewCreativeRetailersData,
26
- data,
27
- viewCreativeOnClick,
28
- width,
29
- height,
30
- textcolor,
31
- showDraft,
32
- disabled
33
- } = props;
34
- const [retailersDataState, setRetailersDataState] = (0, _react.useState)(null);
35
- const [viewCreativeListBoxOpenedState, setViewCreativeListBoxOpenedState] = (0, _react.useState)(false);
36
- const viewCreativeContainerRef = (0, _react.useRef)(null);
37
- (0, _react.useEffect)(() => {
38
- let newData = [];
39
- if (viewCreativeRetailersData && viewCreativeRetailersData.length > 0) {
40
- newData = viewCreativeRetailersData === null || viewCreativeRetailersData === void 0 ? void 0 : viewCreativeRetailersData.map(item => ({
41
- ...item,
42
- checked: false,
43
- disabled: false
44
- }));
45
- setRetailersDataState(newData);
46
- } else {
47
- setRetailersDataState(null);
48
- }
49
- }, [viewCreativeRetailersData]);
50
- const getRetailerIcon = retailerName => {
51
- switch (retailerName) {
52
- case 'Food Lion':
53
- return /*#__PURE__*/_react.default.createElement(_TitleDescription.RetailerIconContainer, {
54
- id: "RetailerIconContainer"
55
- }, /*#__PURE__*/_react.default.createElement(_FoodLionIcon.FoodLionIcon, {
56
- width: "90",
57
- height: "20"
58
- }), "\xA0");
59
- case 'Hannaford':
60
- return /*#__PURE__*/_react.default.createElement(_TitleDescription.RetailerIconContainer, {
61
- id: "RetailerIconContainer"
62
- }, /*#__PURE__*/_react.default.createElement(_HannafordIcon.HannafordIcon, {
63
- width: "90",
64
- height: "20"
65
- }), "\xA0");
66
- case 'Giant Food':
67
- return /*#__PURE__*/_react.default.createElement(_TitleDescription.RetailerIconContainer, {
68
- id: "RetailerIconContainer"
69
- }, /*#__PURE__*/_react.default.createElement(_GiantFoodIcon.GiantFoodIcon, {
70
- width: "60",
71
- height: "20"
72
- }), "\xA0");
73
- case 'The Giant Company':
74
- return /*#__PURE__*/_react.default.createElement(_TitleDescription.RetailerIconContainer, {
75
- id: "RetailerIconContainer"
76
- }, /*#__PURE__*/_react.default.createElement(_TheGiantCompanyIcon.TheGiantCompanyIcon, {
77
- width: "60",
78
- height: "20"
79
- }), "\xA0");
80
- case 'Stop&Shop':
81
- return /*#__PURE__*/_react.default.createElement(_TitleDescription.RetailerIconContainer, {
82
- id: "RetailerIconContainer"
83
- }, /*#__PURE__*/_react.default.createElement(_StopAndShopIcon.StopAndShopIcon, {
84
- width: "90",
85
- height: "20"
86
- }), "\xA0");
87
- default:
88
- return /*#__PURE__*/_react.default.createElement(_TitleDescription.RetailerIconContainer, {
89
- id: "RetailerIconContainer"
90
- }, retailerName, retailerName && /*#__PURE__*/_react.default.createElement(_TitleDescription.FieldsDelimiter, {
91
- className: "FieldsDelimiter"
92
- }, " | "));
93
- }
94
- };
95
- const viewCreativeOnClickHandler = () => {
96
- if (retailersDataState && retailersDataState.length > 0) {
97
- setViewCreativeListBoxOpenedState(!viewCreativeListBoxOpenedState);
98
- } else {
99
- viewCreativeOnClick({
100
- name: viewCreativeOnClick
101
- });
102
- }
103
- };
104
- const listBoxViewCreativeOnClickHandler = props => {
105
- var _props$selectedData, _props$selectedData2;
106
- const selectedRetailer = ((_props$selectedData = props.selectedData) === null || _props$selectedData === void 0 ? void 0 : _props$selectedData.length) > 0 ? props.selectedData[0].label : null;
107
- if (selectedRetailer) {
108
- viewCreativeOnClick({
109
- selectedRetailer
110
- });
111
- }
112
- if (((_props$selectedData2 = props.selectedData) === null || _props$selectedData2 === void 0 ? void 0 : _props$selectedData2.length) > 0) {
113
- setViewCreativeListBoxOpenedState(false);
114
- }
115
- };
116
- const getViewCreativeContainerLeft = () => {
117
- const {
118
- offsetLeft
119
- } = viewCreativeContainerRef.current;
120
- return offsetLeft.toString().concat('', 'px');
121
- };
122
- const getViewCreativeContainerTop = () => {
123
- const {
124
- offsetTop
125
- } = viewCreativeContainerRef.current;
126
- return (offsetTop + 33).toString().concat('', 'px');
127
- };
128
- return /*#__PURE__*/_react.default.createElement(_TitleDescription.MainContainer, {
129
- id: "TitleDescription",
130
- className: className,
131
- height: height,
132
- width: width,
133
- textcolor: textcolor
134
- }, /*#__PURE__*/_react.default.createElement(_TitleDescription.PanelContainer, {
135
- id: "PanelContainer"
136
- }, /*#__PURE__*/_react.default.createElement(_TitleDescription.EventNameAndViewCreativeContainer, {
137
- id: "EventNameAndViewCreativeContainer"
138
- }, /*#__PURE__*/_react.default.createElement(_TitleDescription.EventNameViewCreativeSubContainer, {
139
- id: "EventNameViewCreativeSubContainer"
140
- }, /*#__PURE__*/_react.default.createElement(_TitleDescription.EventName, {
141
- id: "EventName"
142
- }, data.eventName), /*#__PURE__*/_react.default.createElement(_TitleDescription.ViewCreativeButtonAndListBoxContainer, {
143
- id: "ViewCreativeButtonAndListBoxContainer"
144
- }, /*#__PURE__*/_react.default.createElement(_TitleDescription.ViewCreativeContainer, {
145
- id: "ViewCreativeContainer",
146
- ref: viewCreativeContainerRef,
147
- onClick: viewCreativeOnClickHandler,
148
- disabled: disabled
149
- }, /*#__PURE__*/_react.default.createElement(_EyeIcon.EyeIcon, {
150
- width: "12",
151
- height: "12"
152
- }), /*#__PURE__*/_react.default.createElement(_TitleDescription.ViewCreativeTextField, {
153
- id: "ViewCreativeTextField"
154
- }, "View creative"), retailersDataState && (retailersDataState === null || retailersDataState === void 0 ? void 0 : retailersDataState.length) > 0 && (viewCreativeListBoxOpenedState ? /*#__PURE__*/_react.default.createElement(_ComboBoxArrowUpIcon.ComboBoxArrowUpIcon, null) : /*#__PURE__*/_react.default.createElement(_ComboBoxArrowDownIcon.ComboBoxArrowDownIcon, null))), viewCreativeListBoxOpenedState && /*#__PURE__*/_react.default.createElement(_TitleDescription.ViewCreativeListBoxContainer, {
155
- id: "ViewCreativeListBoxContainer",
156
- left: getViewCreativeContainerLeft(),
157
- top: getViewCreativeContainerTop(),
158
- width: "100%",
159
- height: "100%",
160
- onMouseLeave: () => {
161
- setViewCreativeListBoxOpenedState(false);
162
- }
163
- }, /*#__PURE__*/_react.default.createElement(_ListBox.ListBox, {
164
- id: "ListBox",
165
- data: retailersDataState,
166
- buttonsBackgroundColorChecked: "#B1B1B1",
167
- buttonsBackgroundColorUnchecked: "#FFF",
168
- buttonsBorderColor: "##B1B1B1",
169
- buttonsIconColor: "#212121",
170
- buttonsTextColorChecked: "#212121",
171
- buttonsTextColorUnchecked: "#212121",
172
- height: "100%",
173
- width: "100%",
174
- onClick: props => {
175
- listBoxViewCreativeOnClickHandler(props);
176
- }
177
- })))), showDraft && /*#__PURE__*/_react.default.createElement(_TitleDescription.DraftTag, null, "DRAFT")), /*#__PURE__*/_react.default.createElement(_TitleDescription.FilterValuesContainer, {
178
- id: "FilterValuesContainer"
179
- }, showRetailerIcon && /*#__PURE__*/_react.default.createElement(_TitleDescription.Retailer, {
180
- id: "Retailer"
181
- }, getRetailerIcon(data.retailer)), /*#__PURE__*/_react.default.createElement(_TitleDescription.FilterValue, {
182
- className: "FilterValue"
183
- }, data.eventType), data.externalEventDescription && data.externalEventDescription !== '' && /*#__PURE__*/_react.default.createElement(_react.default.Fragment, null, /*#__PURE__*/_react.default.createElement(_TitleDescription.FieldsDelimiter, {
184
- className: "FieldsDelimiter"
185
- }, " | "), /*#__PURE__*/_react.default.createElement(_TitleDescription.FilterValue, {
186
- className: "FilterValue"
187
- }, data.externalEventDescription)), data.externalEventID && data.externalEventID !== '' && /*#__PURE__*/_react.default.createElement(_react.default.Fragment, null, /*#__PURE__*/_react.default.createElement(_TitleDescription.FieldsDelimiter, {
188
- className: "FieldsDelimiter"
189
- }, " | "), /*#__PURE__*/_react.default.createElement(_TitleDescription.FilterValue, {
190
- className: "FilterValue"
191
- }, data.externalEventID)), data.storeType && data.storeType !== '' && /*#__PURE__*/_react.default.createElement(_react.default.Fragment, null, /*#__PURE__*/_react.default.createElement(_TitleDescription.FieldsDelimiter, {
192
- className: "FieldsDelimiter"
193
- }, " | "), /*#__PURE__*/_react.default.createElement(_TitleDescription.FilterValue, {
194
- className: "FilterValue"
195
- }, data.storeType)), data.category && data.category !== '' && /*#__PURE__*/_react.default.createElement(_react.default.Fragment, null, /*#__PURE__*/_react.default.createElement(_TitleDescription.FieldsDelimiter, {
196
- className: "FieldsDelimiter"
197
- }, " | "), /*#__PURE__*/_react.default.createElement(_TitleDescription.FilterValue, {
198
- className: "FilterValue"
199
- }, data.category)), data.supplier && data.supplier !== '' && /*#__PURE__*/_react.default.createElement(_react.default.Fragment, null, /*#__PURE__*/_react.default.createElement(_TitleDescription.FieldsDelimiter, {
200
- className: "FieldsDelimiter"
201
- }, " | "), /*#__PURE__*/_react.default.createElement(_TitleDescription.FilterValue, {
202
- className: "FilterValue"
203
- }, data.supplier)), data.brand && data.brand !== '' && /*#__PURE__*/_react.default.createElement(_react.default.Fragment, null, /*#__PURE__*/_react.default.createElement(_TitleDescription.FieldsDelimiter, {
204
- className: "FieldsDelimiter"
205
- }, " | "), /*#__PURE__*/_react.default.createElement(_TitleDescription.FilterValue, {
206
- className: "FilterValue"
207
- }, data.brand))), /*#__PURE__*/_react.default.createElement(_TitleDescription.FilterValuesContainer, null, /*#__PURE__*/_react.default.createElement(_TitleDescription.ObjectiesContainer, {
208
- id: "ObjectiesContainer",
209
- showPeriodIcon: showPeriodIcon
210
- }, /*#__PURE__*/_react.default.createElement(_TitleDescription.ObjectivesDescription, {
211
- id: "ObjectivesDescription"
212
- }, /*#__PURE__*/_react.default.createElement(_TitleDescription.ObjectivesTitle, {
213
- id: "ObjectivesTitle"
214
- }, (data === null || data === void 0 ? void 0 : (_data$eventDescriptio = data.eventDescription) === null || _data$eventDescriptio === void 0 ? void 0 : _data$eventDescriptio.length) > 0 ? 'Event Description: ' : ''), data.eventDescription)), showPeriodIcon && /*#__PURE__*/_react.default.createElement(_TitleDescription.PeriodsContainer, {
215
- id: "PeriodsContainer"
216
- }, /*#__PURE__*/_react.default.createElement(_TitleDescription.SubLineContainer, {
217
- id: "SubLineContainer"
218
- }), /*#__PURE__*/_react.default.createElement(_TitleDescription.SubLineContainer, {
219
- id: "SubLineContainer"
220
- }, (data === null || data === void 0 ? void 0 : (_data$eventDatesValue = data.eventDatesValue) === null || _data$eventDatesValue === void 0 ? void 0 : _data$eventDatesValue.length) > 0 ? /*#__PURE__*/_react.default.createElement(_TitleDescription.PeriodLabel, {
221
- id: "PeriodLabel"
222
- }, "Event Dates: ") : '', (data === null || data === void 0 ? void 0 : (_data$eventDatesValue2 = data.eventDatesValue) === null || _data$eventDatesValue2 === void 0 ? void 0 : _data$eventDatesValue2.length) > 0 ? /*#__PURE__*/_react.default.createElement(_TitleDescription.PeriodValue, {
223
- id: "PeriodValue"
224
- }, data.eventDatesValue) : ''))), /*#__PURE__*/_react.default.createElement(_TitleDescription.ObjectiesAndPeriodsContainer, {
225
- id: "ObjectiesAndPeriodsContainer"
226
- }, /*#__PURE__*/_react.default.createElement(_TitleDescription.ObjectiesContainer, {
227
- id: "ObjectiesContainer",
228
- showPeriodIcon: showPeriodIcon
229
- }, /*#__PURE__*/_react.default.createElement(_TitleDescription.ObjectivesDescription, {
230
- id: "ObjectivesDescription"
231
- }, /*#__PURE__*/_react.default.createElement(_TitleDescription.ObjectivesTitle, {
232
- id: "ObjectivesTitle"
233
- }, (data === null || data === void 0 ? void 0 : (_data$objectivesDescr = data.objectivesDescription) === null || _data$objectivesDescr === void 0 ? void 0 : _data$objectivesDescr.length) > 0 ? 'Objectives: ' : ''), data.objectivesDescription)))));
234
- };
235
- exports.TitleDescription = TitleDescription;
236
- var _default = exports.default = TitleDescription;
237
- TitleDescription.defaultProps = {
238
- className: '',
239
- showRetailerIcon: true,
240
- showPeriodIcon: true,
241
- viewCreativeRetailersData: [{
242
- label: 'Food Lion'
243
- }, {
244
- label: 'Stop&Shop'
245
- }, {
246
- label: 'Giant Food'
247
- }, {
248
- label: 'The Giant Company'
249
- }, {
250
- label: 'Hannaford'
251
- }],
252
- data: {
253
- eventName: 'Large Selling Event P2 2023',
254
- eventType: 'Large Selling Event',
255
- retailer: 'The Giant Company',
256
- eventDescription: 'Large Selling Event Description',
257
- objectivesDescription: 'Lorem ipsum dolor sit amet consectetur. Viverra urna condimentum donec ipsum vitae volutpat phasellus. Adipiscing quam sodales vestibulum pretium sit adipiscing ultricies viverra. Sollicitudin penatibus fermentum fermentum faucibus viverra augue viverra. Lorem ipsum dolor sit amet consectetur. Viverra urna condimentum donec ipsum vitae volutpat phasellus. ',
258
- eventDatesValue: 'Feb 1, 2023 - Feb 28, 2023',
259
- externalEventDescription: 'Large Selling Event P2 Description',
260
- externalEventID: 'LSE2_23',
261
- storeType: 'Total',
262
- category: '',
263
- supplier: '',
264
- brand: ''
265
- },
266
- viewCreativeOnClick: () => {},
267
- width: '100%',
268
- height: '100%',
269
- textcolor: '#212121',
270
- showDraft: true,
271
- disabled: false
272
- };
@@ -1,117 +0,0 @@
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.LargeSellingEvent = exports.CrossRetailersEvent = void 0;
8
- var _react = _interopRequireDefault(require("react"));
9
- var _TitleDescription = require("./TitleDescription");
10
- const viewCreativeRetailersData1 = [{
11
- label: 'Food Lion'
12
- }, {
13
- label: 'Stop&Shop'
14
- }, {
15
- label: 'Giant Food'
16
- }, {
17
- label: 'The Giant Company'
18
- }, {
19
- label: 'Hannaford'
20
- }];
21
- const data = {
22
- eventName: 'Large Selling Event P2 2023',
23
- eventType: 'Large Selling Event',
24
- retailer: 'The Giant Company',
25
- // Food Lion Stop&Shop GiantFood The Giant Company Hannaford
26
- eventDescription: 'Large Selling Event Description',
27
- objectivesDescription: 'Lorem ipsum dolor sit amet consectetur. Viverra urna condimentum donec ipsum vitae volutpat phasellus. Adipiscing quam sodales vestibulum pretium sit adipiscing ultricies viverra. Sollicitudin penatibus fermentum fermentum faucibus viverra augue viverra. Lorem ipsum dolor sit amet consectetur. Viverra urna condimentum donec ipsum vitae volutpat phasellus. ',
28
- eventDatesValue: 'Feb 1, 2023 - Feb 28, 2023',
29
- externalEventDescription: 'Large Selling Event P2 Description',
30
- externalEventID: 'LSE2_23',
31
- storeType: 'Total',
32
- category: '',
33
- supplier: '',
34
- brand: ''
35
- };
36
- var _default = exports.default = {
37
- title: 'SAG BI/TitleDescription',
38
- component: _TitleDescription.TitleDescription,
39
- tags: ['autodocs'],
40
- argTypes: {
41
- data: {
42
- name: 'data',
43
- control: {
44
- type: 'object'
45
- },
46
- description: ' object: to fill title description '
47
- },
48
- width: {
49
- name: 'width',
50
- control: {
51
- type: 'text'
52
- },
53
- description: 'width of the control (in px / %)'
54
- },
55
- height: {
56
- name: 'height',
57
- control: {
58
- type: 'text'
59
- },
60
- description: 'height of the control (in px / % )'
61
- },
62
- textcolor: {
63
- name: 'textcolor',
64
- description: 'Sets the text color',
65
- control: {
66
- type: 'color',
67
- presetColors: ['#ffffff', '#ff0000', '#00ff00', '#0000ff']
68
- }
69
- },
70
- showRetailerIcon: {
71
- name: 'showRetailerIcon',
72
- control: {
73
- type: 'boolean'
74
- },
75
- description: 'show/hide Retailer Icon'
76
- },
77
- showDraft: {
78
- name: 'showDraft',
79
- control: {
80
- type: 'boolean'
81
- },
82
- description: 'show/hide Draft symbol'
83
- },
84
- disabled: {
85
- name: 'disabled',
86
- control: {
87
- type: 'boolean'
88
- },
89
- description: 'disable component'
90
- },
91
- viewCreativeOnClick: {
92
- action: 'viewCreativeOnClick',
93
- description: 'viewCreativeOnClick event - returns an object of viewCreativeOnClick '
94
- }
95
- }
96
- };
97
- const LargeSellingEvent = exports.LargeSellingEvent = {
98
- args: {
99
- showRetailerIcon: true,
100
- showPeriodIcon: true,
101
- viewCreativeRetailersData: null,
102
- data,
103
- width: '100%',
104
- height: '100%',
105
- showDraft: true
106
- }
107
- };
108
- const CrossRetailersEvent = exports.CrossRetailersEvent = {
109
- args: {
110
- showRetailerIcon: false,
111
- showPeriodIcon: false,
112
- viewCreativeRetailersData: viewCreativeRetailersData1,
113
- data,
114
- width: '100%',
115
- height: '100%'
116
- }
117
- };
@@ -1,222 +0,0 @@
1
- "use strict";
2
-
3
- var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default;
4
- Object.defineProperty(exports, "__esModule", {
5
- value: true
6
- });
7
- exports.ViewCreativeTextField = exports.ViewCreativeListBoxContainer = exports.ViewCreativeContainer = exports.ViewCreativeButtonAndListBoxContainer = exports.SubLineContainer = exports.RetailerIconContainer = exports.Retailer = exports.PeriodsContainer = exports.PeriodValue = exports.PeriodLabel = exports.PanelContainer = exports.ObjectivesTitle = exports.ObjectivesShowMore = exports.ObjectivesDescription = exports.ObjectiesContainer = exports.ObjectiesAndPeriodsContainer = exports.MainContainer = exports.FilterValuesContainer = exports.FilterValue = exports.FieldsDelimiter = exports.EventNameViewCreativeSubContainer = exports.EventNameAndViewCreativeContainer = exports.EventName = exports.DraftTag = exports.DownloadButtonContainer = exports.BottonsContainer = void 0;
8
- var _styledComponents = _interopRequireDefault(require("styled-components"));
9
- const MainContainer = exports.MainContainer = _styledComponents.default.div`
10
- display: flex;
11
- position: relative;
12
- font-family: "Poppins", sans-serif;
13
- font-size: 1rem;
14
- color: ${props => props.textcolor ? props.textcolor : '#000'};
15
- width: ${props => props.width};
16
- height: ${props => props.height};
17
- border-radius: 12px;
18
- `;
19
- const PanelContainer = exports.PanelContainer = _styledComponents.default.div`
20
- display: flex;
21
- align-content: center;
22
- flex-direction: column;
23
- align-items: center;
24
- justify-content: space-around;
25
- border-radius: 12px;
26
- background: white;
27
- padding: 20px;
28
- font-weight: 400;
29
- white-space: pre-wrap;
30
- width: 100%;
31
- @media (max-width: 1536px) {
32
- padding: 13px 16px;
33
- }
34
- @media (max-width: 1366px) {
35
- padding: 12px 16px;
36
- }
37
- `;
38
- const EventNameAndViewCreativeContainer = exports.EventNameAndViewCreativeContainer = _styledComponents.default.div`
39
- display: flex;
40
- align-content: center;
41
- align-items: center;
42
- justify-content: space-between;
43
- width: 100%;
44
- `;
45
- const EventNameViewCreativeSubContainer = exports.EventNameViewCreativeSubContainer = _styledComponents.default.div`
46
- display: flex;
47
- position: relative;
48
- align-content: center;
49
- align-items: center;
50
- gap: 20px;
51
- `;
52
- const DraftTag = exports.DraftTag = _styledComponents.default.div`
53
- color: #E41111;
54
- border: 2px solid #E41111;
55
- font-size: 20px;
56
- padding: 6px 18px;
57
- `;
58
- const EventName = exports.EventName = _styledComponents.default.h4`
59
- line-height: 19px;
60
- font-size: 16px;
61
- font-weight: 500;
62
- margin: 0;
63
- @media (max-width: 1536px) {
64
- font-size: 16px;
65
- }
66
- @media (max-width: 1366px) {
67
- font-size: 14px;
68
- }
69
- `;
70
- const ViewCreativeContainer = exports.ViewCreativeContainer = _styledComponents.default.div`
71
- display: flex;
72
- align-items: center;
73
- justify-content: center;
74
- border-radius: 12px;
75
- border: 1px solid #ccc;
76
- margin-left: 10px;
77
- padding: 2px 10px;
78
- color: ${props => props.disabled ? '#B1B1B1' : '#212121'};
79
- &:hover {
80
- cursor: ${props => !props.disabled ? 'pointer' : 'default'};
81
- }
82
- `;
83
- const ViewCreativeTextField = exports.ViewCreativeTextField = _styledComponents.default.h4`
84
- display: flex;
85
- line-height: 19px;
86
- font-size: 14px;
87
- font-weight: 400;
88
- margin: 3px 10px;
89
- @media (max-width: 1536px) {
90
- font-size: 14px;
91
- }
92
- @media (max-width: 1366px) {
93
- font-size: 12px;
94
- }
95
- `;
96
- const ViewCreativeButtonAndListBoxContainer = exports.ViewCreativeButtonAndListBoxContainer = _styledComponents.default.div`
97
- position: relative;
98
- overflow: visible;
99
- font-size: 18px;
100
- @media (max-width: 1536px) {
101
- font-size: 14px;
102
- }
103
- @media (max-width: 1366px) {
104
- font-size: 12px;
105
- }
106
- `;
107
- const ViewCreativeListBoxContainer = exports.ViewCreativeListBoxContainer = _styledComponents.default.div`
108
- display: flex;
109
- position: absolute;
110
- left: ${props => props.left};
111
- top: ${props => props.top};
112
- z-index:1000;
113
- `;
114
- const FilterValuesContainer = exports.FilterValuesContainer = _styledComponents.default.div`
115
- display: flex;
116
- align-content: center;
117
- align-items: center;
118
- width: 100%;
119
- margin: 0.5rem 0 0 0;
120
- `;
121
- const FilterValue = exports.FilterValue = _styledComponents.default.p`
122
- color: #212121;
123
- margin: 0;
124
- font-size: 14px;
125
- font-weight: 400;
126
- @media (max-width: 1536px) {
127
- font-size: 14px;
128
- }
129
- @media (max-width: 1366px) {
130
- font-size: 12px;
131
- }
132
- `;
133
- const FieldsDelimiter = exports.FieldsDelimiter = _styledComponents.default.p`
134
- color: #ccc;
135
- margin: 0;
136
- `;
137
- const Retailer = exports.Retailer = _styledComponents.default.div`
138
- color: #1b30aa;
139
- margin: 0;
140
- margin-inline-end: 5px;
141
- `;
142
- const RetailerIconContainer = exports.RetailerIconContainer = _styledComponents.default.div`
143
- display: flex;
144
- align-items: center;
145
- `;
146
- const ObjectiesContainer = exports.ObjectiesContainer = _styledComponents.default.div`
147
- display: flex;
148
- align-content: center;
149
- align-items: center;
150
- justify-content: space-between;
151
- width: ${props => !props.showPeriodIcon ? '100%' : '70%'};
152
- `;
153
- const ObjectiesAndPeriodsContainer = exports.ObjectiesAndPeriodsContainer = _styledComponents.default.div`
154
- display: flex;
155
- width: 100%;
156
- margin: 0.5rem 0 0 0;
157
- `;
158
- const ObjectivesTitle = exports.ObjectivesTitle = _styledComponents.default.strong`
159
- font-weight: 500;
160
- `;
161
- const ObjectivesDescription = exports.ObjectivesDescription = _styledComponents.default.p`
162
- line-height: 19px;
163
- font-size: 14px;
164
- font-weight: 400;
165
- @media (max-width: 1536px) {
166
- font-size: 14px;
167
- }
168
- @media (max-width: 1366px) {
169
- font-size: 12px;
170
- }
171
- margin: 0;
172
- `;
173
- const ObjectivesShowMore = exports.ObjectivesShowMore = _styledComponents.default.a`
174
- color: ${props => props.disabled ? '#B1B1B1' : '#1b30aa'};
175
- &:hover {
176
- cursor: ${props => !props.disabled ? 'pointer' : 'default'};
177
- }
178
- `;
179
- const BottonsContainer = exports.BottonsContainer = _styledComponents.default.div`
180
- align-items: center;
181
- justify-content: flex-end;
182
- min-height: 1.5rem;
183
- `;
184
- const DownloadButtonContainer = exports.DownloadButtonContainer = _styledComponents.default.div``;
185
- const PeriodsContainer = exports.PeriodsContainer = _styledComponents.default.div`
186
- display: flex;
187
- flex-wrap: wrap;
188
- align-content: flex-start;
189
- justify-content: flex-start;
190
- white-space: pre-wrap;
191
- margin-left: auto;
192
- font-size: 14px;
193
- @media (max-width: 1536px) {
194
- font-size: 12px;
195
- }
196
- `;
197
- const SubLineContainer = exports.SubLineContainer = _styledComponents.default.div`
198
- display: flex;
199
- width: 100%;
200
- `;
201
- const PeriodLabel = exports.PeriodLabel = _styledComponents.default.strong`
202
- font-size: 14px;
203
- font-weight: 500;
204
- @media (max-width: 1536px) {
205
- font-size: 14px;
206
- }
207
- @media (max-width: 1366px) {
208
- font-size: 12px;
209
- }
210
- `;
211
- const PeriodValue = exports.PeriodValue = _styledComponents.default.p`
212
- line-height: 19px;
213
- font-size: 14px;
214
- font-weight: 400;
215
- margin: 0 0 0 10px;
216
- @media (max-width: 1536px) {
217
- font-size: 14px;
218
- }
219
- @media (max-width: 1366px) {
220
- font-size: 12px;
221
- }
222
- `;
@@ -1,31 +0,0 @@
1
- "use strict";
2
-
3
- var _interopRequireWildcard = require("@babel/runtime/helpers/interopRequireWildcard").default;
4
- Object.defineProperty(exports, "__esModule", {
5
- value: true
6
- });
7
- exports.default = void 0;
8
- var _react = _interopRequireWildcard(require("react"));
9
- var _Tooltip = require("./Tooltip.style");
10
- const Tooltip = props => {
11
- let timeout;
12
- const [active, setActive] = (0, _react.useState)(false);
13
- const showTip = () => {
14
- timeout = setTimeout(() => {
15
- setActive(true);
16
- }, props.delay || 400);
17
- };
18
- const hideTip = () => {
19
- clearInterval(timeout);
20
- setActive(false);
21
- };
22
- return /*#__PURE__*/_react.default.createElement(_Tooltip.TooltipContainer, null, /*#__PURE__*/_react.default.createElement(_Tooltip.TooltipWrapper
23
- // When to show the tooltip
24
- , {
25
- onMouseEnter: showTip,
26
- onMouseLeave: hideTip
27
- }, props.children, active && /*#__PURE__*/_react.default.createElement(_Tooltip.TooltipTip, {
28
- className: `controls ${props.direction || 'top'}`
29
- }, props.content)));
30
- };
31
- var _default = exports.default = Tooltip;