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,148 +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.LessAvarage = exports.GreaterAvarage = void 0;
8
- var _react = _interopRequireDefault(require("react"));
9
- var _Benchmark = require("./Benchmark");
10
- var _default = exports.default = {
11
- title: 'SAG BI/Benchmark',
12
- component: _Benchmark.Benchmark,
13
- tags: ['autodocs'],
14
- argTypes: {
15
- currentValue: {
16
- name: 'currentValue',
17
- control: {
18
- type: 'number',
19
- min: 0,
20
- max: 100000000000000
21
- },
22
- description: 'curent value (<=100%) '
23
- },
24
- totalValue: {
25
- name: 'totalValue',
26
- control: {
27
- type: 'number',
28
- min: 0,
29
- max: 100000000000000
30
- },
31
- description: 'total value (100%) '
32
- },
33
- benchmarkValue: {
34
- name: 'benchmarkValue',
35
- control: {
36
- type: 'number',
37
- min: 0,
38
- max: 100000000000000
39
- },
40
- description: 'benchmark value - defines benchmark line relative position '
41
- },
42
- width: {
43
- name: 'width',
44
- control: {
45
- type: 'number',
46
- min: 0,
47
- max: 600
48
- },
49
- description: 'width of the control (in px)'
50
- },
51
- height: {
52
- name: 'height',
53
- control: {
54
- type: 'number',
55
- min: 0,
56
- max: 600
57
- },
58
- description: 'height of the control (in px)'
59
- },
60
- color: {
61
- name: 'color',
62
- description: 'Sets the color of current value when it is greater then 50% of total value',
63
- control: {
64
- type: 'color',
65
- presetColors: ['#ffffff', '#ff0000', '#00ff00', '#0000ff']
66
- }
67
- },
68
- linearGradientColor: {
69
- name: 'linearGradientColor',
70
- description: 'Sets the linear-Gradient color of current value when it is greater then 50% of total value',
71
- control: {
72
- type: 'color',
73
- presetColors: ['#ffffff', '#ff0000', '#00ff00', '#0000ff']
74
- }
75
- },
76
- underAvarageColor: {
77
- name: 'underAvarageColor',
78
- description: 'Sets the color of current value when it is under 50% of total value',
79
- control: {
80
- type: 'color',
81
- presetColors: ['#ffffff', '#ff0000', '#00ff00', '#0000ff']
82
- }
83
- },
84
- linearGradientUnderAvarageColor: {
85
- name: 'linearGradientUnderAvarageColor',
86
- description: 'Sets the linear-Gradient color of current value when it is under 50% of total value',
87
- control: {
88
- type: 'color',
89
- presetColors: ['#ffffff', '#ff0000', '#00ff00', '#0000ff']
90
- }
91
- },
92
- backgroundColor: {
93
- name: 'backgroundColor',
94
- description: 'Sets the background color of the control',
95
- control: {
96
- type: 'color',
97
- presetColors: ['#ffffff', '#ff0000', '#00ff00', '#0000ff']
98
- }
99
- },
100
- tooltipLabel: {
101
- name: 'tooltipLabel',
102
- control: {
103
- type: 'text'
104
- },
105
- description: 'label of tooltip'
106
- },
107
- tooltipDirection: {
108
- name: 'tooltipDirection',
109
- control: {
110
- type: 'radio'
111
- },
112
- options: ['top', 'left', 'right', 'bottom'],
113
- description: 'tooltip direction'
114
- }
115
- }
116
- };
117
- const GreaterAvarage = exports.GreaterAvarage = {
118
- args: {
119
- totalValue: 100000,
120
- currentValue: 60000,
121
- benchmarkValue: 30000,
122
- width: 100,
123
- height: 12,
124
- color: '#79DB95',
125
- linearGradientColor: '#C3EFD0',
126
- underAvarageColor: '#FD5959',
127
- linearGradientUnderAvarageColor: '#FDB1B1',
128
- backgroundColor: '#F2F2F2',
129
- tooltipLabel: 'Benchmark',
130
- tooltipDirection: 'bottom'
131
- }
132
- };
133
- const LessAvarage = exports.LessAvarage = {
134
- args: {
135
- totalValue: 1000,
136
- currentValue: 400,
137
- benchmarkValue: 500,
138
- width: 100,
139
- height: 12,
140
- color: '#79DB95',
141
- linearGradientColor: '#C3EFD0',
142
- underAvarageColor: '#FD5959',
143
- linearGradientUnderAvarageColor: '#FDB1B1',
144
- backgroundColor: '#F2F2F2',
145
- tooltipLabel: 'Value',
146
- tooltipDirection: 'right'
147
- }
148
- };
@@ -1,61 +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.CurrentValueRectangle = exports.ControlsContainer = exports.Controls = exports.BackgroundValueRectangle = exports.AvarageDelimiter = void 0;
8
- var _styledComponents = _interopRequireDefault(require("styled-components"));
9
- const ControlsContainer = exports.ControlsContainer = _styledComponents.default.div`
10
- display: flex;
11
- position: relative;
12
- margin: 0px 0 0px;
13
- font-family: "Poppins", sans-serif;
14
- font-style: normal;
15
- width: ${props => props.width.toString().concat('', 'px')};
16
- height: ${props => props.height.toString().concat('', 'px')};
17
- //box-shadow: 0 0 5px rgba(0, 0, 0, 0.2);
18
- border-radius: 100px;
19
- //border: 1px solid red;
20
- align-items: center;
21
- `;
22
- const Controls = exports.Controls = _styledComponents.default.div`
23
- position: relative;
24
- border-radius: 100px;
25
- width: ${props => props.width.toString().concat('', 'px')};
26
- height: ${props => props.height.toString().concat('', 'px')};
27
- //background: #ffffff;
28
- //border: 1px solid blue;
29
- `;
30
- const BackgroundValueRectangle = exports.BackgroundValueRectangle = _styledComponents.default.div`
31
- position: absolute;
32
- width: ${props => props.width.toString().concat('', 'px')};
33
- height: ${props => props.height.toString().concat('', 'px')};
34
- top: 0px;
35
- left: 0px;
36
- border-radius: 100px;
37
- background: ${props => props.color};
38
- //border: 1px solid orange;
39
- `;
40
- const CurrentValueRectangle = exports.CurrentValueRectangle = _styledComponents.default.div`
41
- position: absolute;
42
- width: ${props => props.width.toString().concat('', 'px')};
43
- height: ${props => props.height.toString().concat('', 'px')};
44
- top: 0px;
45
- left: 0px;
46
- border-radius: 100px;
47
- background: linear-gradient(
48
- 90deg,
49
- ${props => props.lineargradientcolor} 0%,
50
- ${props => props.color} 100%
51
- );
52
- //border: 1px solid green;
53
- `;
54
- const AvarageDelimiter = exports.AvarageDelimiter = _styledComponents.default.div`
55
- position: absolute;
56
- height: ${props => props.height.toString().concat('', 'px')};
57
- width: ${props => props.width.toString().concat('', 'px')};
58
- top: ${props => props.top.toString().concat('', 'px')};
59
- left: ${props => props.left.toString().concat('', 'px')};
60
- border: 1px solid #212121;
61
- `;
@@ -1,217 +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.Button = void 0;
8
- var _react = _interopRequireWildcard(require("react"));
9
- var _Button = require("./Button.style");
10
- var _FilterIcon = require("../../icons/FilterIcon");
11
- var _OptionsIcon = require("../../icons/OptionsIcon");
12
- var _DownloadIcon = require("../../icons/DownloadIcon");
13
- var _DocumentIcon = require("../../icons/DocumentIcon");
14
- var _FlyIcon = require("../../icons/FlyIcon");
15
- var _BellIcon = require("../../icons/BellIcon");
16
- var _MaintenanceIcon = require("../../icons/MaintenanceIcon");
17
- var _ExitIcon = require("../../icons/ExitIcon");
18
- var _EyeIcon = require("../../icons/EyeIcon");
19
- const Button = props => {
20
- const {
21
- text,
22
- type,
23
- size,
24
- height,
25
- width,
26
- disabled,
27
- textColor,
28
- backgroundColor,
29
- borderColor,
30
- hoverTextColor,
31
- hoverBackgroundColor,
32
- hoverBorderColor,
33
- disabledTextColor,
34
- disabledBackgroundColor,
35
- disabledBorderColor,
36
- leftIcon,
37
- rightIcon,
38
- onClick,
39
- isSubmitButton
40
- } = props;
41
- const [clicked, setClicked] = (0, _react.useState)(false);
42
- const [hover, setHover] = (0, _react.useState)(false);
43
- const handleSubmitButtonOnClick = () => {
44
- setClicked(true);
45
- onClick(`SubmitButtonOnClick: ${text}`);
46
- setTimeout(() => {
47
- setClicked(false);
48
- }, 300);
49
- };
50
- const handleButtonClick = event => {
51
- setClicked(true);
52
- onClick(event);
53
- setTimeout(() => {
54
- setClicked(false);
55
- }, 300);
56
- };
57
- const getIcon = icon => {
58
- const iconHeight = '12px';
59
- const iconWidth = '12px';
60
- const newTextColor = textColor || (type === 'secondary' ? '#212121' : '#ffffff');
61
- const newHoverTextColor = hoverTextColor || (type === 'secondary' ? '#229E38' : '#ffffff');
62
- const newDisabledTextColor = disabledTextColor || '#B1B1B1';
63
- const newEnabledTextColor = hover ? newHoverTextColor : newTextColor;
64
- const color = disabled ? newDisabledTextColor : newEnabledTextColor;
65
- switch (icon.toLowerCase()) {
66
- case 'filter':
67
- return /*#__PURE__*/_react.default.createElement(_Button.IconWrapper, {
68
- className: "FilterIcon"
69
- }, /*#__PURE__*/_react.default.createElement(_FilterIcon.FilterIcon, {
70
- height: iconHeight,
71
- width: iconWidth,
72
- color: color
73
- }));
74
- case 'options':
75
- return /*#__PURE__*/_react.default.createElement(_Button.IconWrapper, {
76
- className: "OptionsIcon"
77
- }, /*#__PURE__*/_react.default.createElement(_OptionsIcon.OptionsIcon, {
78
- height: iconHeight,
79
- width: iconWidth,
80
- color: color
81
- }));
82
- case 'download':
83
- return /*#__PURE__*/_react.default.createElement(_Button.IconWrapper, {
84
- className: "DownloadIcon"
85
- }, /*#__PURE__*/_react.default.createElement(_DownloadIcon.DownloadIcon, {
86
- height: iconHeight,
87
- width: iconWidth,
88
- color: color
89
- }));
90
- case 'document':
91
- return /*#__PURE__*/_react.default.createElement(_Button.IconWrapper, {
92
- className: "DocumentIcon"
93
- }, /*#__PURE__*/_react.default.createElement(_DocumentIcon.DocumentIcon, {
94
- height: iconHeight,
95
- width: iconWidth,
96
- color: color
97
- }));
98
- case 'fly':
99
- return /*#__PURE__*/_react.default.createElement(_Button.IconWrapper, {
100
- className: "FlyIcon"
101
- }, /*#__PURE__*/_react.default.createElement(_FlyIcon.FlyIcon, {
102
- height: iconHeight,
103
- width: iconWidth,
104
- color: color
105
- }));
106
- case 'bell':
107
- return /*#__PURE__*/_react.default.createElement(_Button.IconWrapper, {
108
- className: "BellIcon"
109
- }, /*#__PURE__*/_react.default.createElement(_BellIcon.BellIcon, {
110
- height: iconHeight,
111
- width: iconWidth,
112
- color: color
113
- }));
114
- case 'maintenance':
115
- return /*#__PURE__*/_react.default.createElement(_Button.IconWrapper, {
116
- className: "MaintenanceIcon"
117
- }, /*#__PURE__*/_react.default.createElement(_MaintenanceIcon.MaintenanceIcon, {
118
- height: iconHeight,
119
- width: iconWidth,
120
- color: color
121
- }));
122
- case 'exit':
123
- return /*#__PURE__*/_react.default.createElement(_Button.IconWrapper, {
124
- className: "ExitIcon"
125
- }, /*#__PURE__*/_react.default.createElement(_ExitIcon.ExitIcon, {
126
- height: iconHeight,
127
- width: iconWidth,
128
- color: color
129
- }));
130
- case 'eye':
131
- return /*#__PURE__*/_react.default.createElement(_Button.IconWrapper, {
132
- className: "EyeIcon"
133
- }, /*#__PURE__*/_react.default.createElement(_EyeIcon.EyeIcon, {
134
- height: iconHeight,
135
- width: iconWidth,
136
- color: color
137
- }));
138
- default:
139
- return '';
140
- }
141
- };
142
- const getLeftIcon = () => {
143
- if (!leftIcon || leftIcon === 'none') return '';
144
- return getIcon(leftIcon);
145
- };
146
- const getRightIcon = () => {
147
- if (!rightIcon || rightIcon === 'none') return '';
148
- return getIcon(rightIcon);
149
- };
150
- return /*#__PURE__*/_react.default.createElement(_Button.ButtonContainer, {
151
- className: "ButtonContainer",
152
- width: width || null,
153
- height: height || (size === 'small' ? '33px' : '45px')
154
- }, isSubmitButton ? /*#__PURE__*/_react.default.createElement(_Button.InputCommit, {
155
- className: clicked ? 'InputCommit-clicked' : 'InputCommit',
156
- value: text,
157
- type: "submit",
158
- width: width || null,
159
- height: height || (size === 'small' ? '33px' : '45px'),
160
- disabled: disabled,
161
- text_color: textColor || (type === 'secondary' ? '#212121' : '#ffffff'),
162
- background_color: backgroundColor || (type === 'secondary' ? '#ffffff' : '#229E38'),
163
- border_color: borderColor || (type === 'secondary' ? '#B1B1B1' : '#229E38'),
164
- hover_text_color: hoverTextColor || (type === 'secondary' ? '#229E38' : '#ffffff'),
165
- hover_background_color: hoverBackgroundColor || (type === 'secondary' ? '#E8F5EB' : '#92CF17'),
166
- hover_border_color: hoverBorderColor || (type === 'secondary' ? '#229E38' : '#92CF17'),
167
- disabled_text_color: disabledTextColor || '#B1B1B1',
168
- disabled_background_color: disabledBackgroundColor || (type === 'secondary' ? '#ffffff' : '#E3E4E5'),
169
- disabled_border_color: disabledBorderColor || '#E3E4E5',
170
- padding: size === 'small' ? '0 16px' : '0 20px',
171
- onClick: !disabled ? handleSubmitButtonOnClick : null
172
- }) : /*#__PURE__*/_react.default.createElement(_Button.ButtonItem, {
173
- className: clicked ? 'ButtonItem-clicked' : 'ButtonItem',
174
- onMouseEnter: () => setHover(true),
175
- onMouseLeave: () => setHover(false),
176
- onClick: event => !disabled ? handleButtonClick(event) : null,
177
- width: width || null,
178
- height: height || (size === 'small' ? '33px' : '45px'),
179
- disabled: disabled,
180
- text_color: textColor || (type === 'secondary' ? '#212121' : '#ffffff'),
181
- background_color: backgroundColor || (type === 'secondary' ? '#ffffff' : '#229E38'),
182
- border_color: borderColor || (type === 'secondary' ? '#B1B1B1' : '#229E38'),
183
- hover_text_color: hoverTextColor || (type === 'secondary' ? '#229E38' : '#ffffff'),
184
- hover_background_color: hoverBackgroundColor || (type === 'secondary' ? '#E8F5EB' : '#92CF17'),
185
- hover_border_color: hoverBorderColor || (type === 'secondary' ? '#229E38' : '#92CF17'),
186
- disabled_text_color: disabledTextColor || '#B1B1B1',
187
- disabled_background_color: disabledBackgroundColor || (type === 'secondary' ? '#ffffff' : '#E3E4E5'),
188
- disabled_border_color: disabledBorderColor || '#E3E4E5',
189
- padding: size === 'small' ? '0 16px' : '0 20px'
190
- }, getLeftIcon(), /*#__PURE__*/_react.default.createElement(_Button.Label, {
191
- className: "Label",
192
- disabled: disabled
193
- }, text), getRightIcon()));
194
- };
195
- exports.Button = Button;
196
- var _default = exports.default = Button;
197
- Button.defaultProps = {
198
- text: '',
199
- type: 'primary',
200
- size: 'small',
201
- height: '',
202
- width: '',
203
- disabled: false,
204
- textColor: '',
205
- backgroundColor: '',
206
- borderColor: '',
207
- hoverTextColor: '',
208
- hoverBackgroundColor: '',
209
- hoverBorderColor: '',
210
- disabledTextColor: '',
211
- disabledBackgroundColor: '',
212
- disabledBorderColor: '',
213
- onClick: () => {},
214
- leftIcon: 'none',
215
- rightIcon: 'none',
216
- isSubmitButton: false
217
- };
@@ -1,269 +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.SubmitButton = exports.SmallButtonTwoIcons = exports.SmallButtonRightIcon = exports.SmallButtonLeftIcon = exports.SecondaryDisabled = exports.SecondaryDefault = exports.PrimaryDisabled = exports.PrimaryDefault = exports.MediumButtonTwoIcons = exports.MediumButtonRightIcon = exports.MediumButtonLeftIcon = void 0;
8
- var _react = _interopRequireDefault(require("react"));
9
- var _Button = require("./Button");
10
- // More on how to set up stories at: https://storybook.js.org/docs/react/writing-stories/introduction
11
- var _default = exports.default = {
12
- title: 'SAG Core/Button',
13
- component: _Button.Button,
14
- tags: ['autodocs'],
15
- parameters: {
16
- design: {
17
- type: 'figma',
18
- url: 'https://www.figma.com/design/hhRW9o3Wqj3wF89qGJ2raZ/Sagarmatha--Design-System?node-id=299-4075&t=xKolv44KqyAdlKND-4'
19
- }
20
- },
21
- argTypes: {
22
- text: {
23
- name: 'text',
24
- control: {
25
- type: 'text'
26
- },
27
- description: 'text inside of the button'
28
- },
29
- type: {
30
- control: {
31
- type: 'radio'
32
- },
33
- options: ['primary', 'secondary'],
34
- description: 'type of the button'
35
- },
36
- size: {
37
- control: {
38
- type: 'radio'
39
- },
40
- options: ['small', 'medium'],
41
- description: 'size of the button'
42
- },
43
- disabled: {
44
- name: 'disabled',
45
- control: {
46
- type: 'boolean'
47
- },
48
- description: 'changes the button to be enabled/disabled',
49
- defaultValue: ''
50
- },
51
- backgroundColor: {
52
- control: {
53
- type: 'color',
54
- presetColors: ['#ffffff', '#ff0000', '#00ff00', '#0000ff'],
55
- description: 'Sets Background Color'
56
- }
57
- },
58
- hoverBorderColor: {
59
- name: 'hoverBorderColor',
60
- control: {
61
- type: 'color',
62
- presetColors: ['#ffffff', '#ff0000', '#00ff00', '#0000ff'],
63
- description: 'Sets hover Border Color'
64
- }
65
- },
66
- hoverTextColor: {
67
- name: 'hoverTextColor',
68
- control: {
69
- type: 'color',
70
- presetColors: ['#ffffff', '#ff0000', '#00ff00', '#0000ff'],
71
- description: 'Sets hover text Color'
72
- }
73
- },
74
- hoverBackgroundColor: {
75
- name: 'hoverBackgroundColor',
76
- control: {
77
- type: 'color',
78
- presetColors: ['#ffffff', '#ff0000', '#00ff00', '#0000ff'],
79
- description: 'Sets hover background Color'
80
- }
81
- },
82
- borderColor: {
83
- name: 'borderColor',
84
- control: {
85
- type: 'color',
86
- presetColors: ['#ffffff', '#ff0000', '#00ff00', '#0000ff'],
87
- description: 'Sets border Color'
88
- }
89
- },
90
- textColor: {
91
- name: 'textColor',
92
- control: {
93
- type: 'color',
94
- presetColors: ['#ffffff', '#ff0000', '#00ff00', '#0000ff'],
95
- description: 'Sets text Color'
96
- }
97
- },
98
- onClick: {
99
- action: 'onClick',
100
- description: 'returns an event click object when user clicks on a button'
101
- },
102
- leftIcon: {
103
- name: 'leftIcon',
104
- options: ['none', 'Bell', 'Document', 'Download', 'Exit', 'Eye', 'Filter', 'Fly', 'Maintenance', 'Options'],
105
- control: {
106
- type: 'select'
107
- },
108
- description: 'Choose an icon to apear on the button left side'
109
- },
110
- rightIcon: {
111
- name: 'rightIcon',
112
- options: ['none', 'Bell', 'Document', 'Download', 'Exit', 'Eye', 'Filter', 'Fly', 'Maintenance', 'Options'],
113
- control: {
114
- type: 'select'
115
- },
116
- description: 'Choose an icon to apear on the button right side'
117
- },
118
- isSubmitButton: {
119
- name: 'isSubmitButton',
120
- control: {
121
- type: 'boolean'
122
- },
123
- description: 'use Submit instead of onClick. Please note: when this option is TRUE, the Button component does not support left and right icons, even if the icon is selected! '
124
- }
125
- }
126
- };
127
- const PrimaryDefault = exports.PrimaryDefault = {
128
- args: {
129
- text: 'Button',
130
- type: 'primary',
131
- size: 'small',
132
- disabled: false,
133
- leftIcon: 'none',
134
- rightIcon: 'none',
135
- isSubmitButton: false
136
- // textColor: '#ffffff',
137
- // backgroundColor: '#229E38',
138
- // borderColor: '#229E38',
139
- // hoverTextColor: '#ffffff',
140
- // hoverBackgroundColor: '#92CF17',
141
- // hoverBorderColor: '#92CF17',
142
- // disabledTextColor: '#B1B1B1',
143
- // disabledBackgroundColor: '#E3E4E5',
144
- // disabledBorderColor: '#E3E4E5',
145
- }
146
- };
147
- const PrimaryDisabled = exports.PrimaryDisabled = {
148
- args: {
149
- text: 'Button',
150
- type: 'primary',
151
- size: 'small',
152
- disabled: true,
153
- leftIcon: 'none',
154
- rightIcon: 'none',
155
- isSubmitButton: false
156
- }
157
- };
158
- const SecondaryDefault = exports.SecondaryDefault = {
159
- args: {
160
- text: 'Button',
161
- type: 'secondary',
162
- size: 'small',
163
- disabled: false,
164
- leftIcon: 'none',
165
- rightIcon: 'none',
166
- // textColor: '#212121',
167
- // borderColor: '#B1B1B1',
168
- // backgroundColor: '#ffffff',
169
- // hoverTextColor: '#229E38',
170
- // hoverBackgroundColor: '#E8F5EB',
171
- // hoverBorderColor: '#229E38',
172
- // disabledTextColor: '#B1B1B1',
173
- // disabledBackgroundColor: '#ffffff',
174
- // disabledBorderColor: '#E3E4E5',
175
- isSubmitButton: false
176
- }
177
- };
178
- const SecondaryDisabled = exports.SecondaryDisabled = {
179
- args: {
180
- text: 'Button',
181
- type: 'secondary',
182
- size: 'small',
183
- disabled: true,
184
- leftIcon: 'none',
185
- rightIcon: 'none',
186
- isSubmitButton: false
187
- }
188
- };
189
- const SmallButtonTwoIcons = exports.SmallButtonTwoIcons = {
190
- args: {
191
- text: 'Button',
192
- type: 'primary',
193
- size: 'small',
194
- disabled: false,
195
- leftIcon: 'Filter',
196
- rightIcon: 'Exit',
197
- isSubmitButton: false
198
- }
199
- };
200
- const SmallButtonLeftIcon = exports.SmallButtonLeftIcon = {
201
- args: {
202
- text: 'Button',
203
- type: 'primary',
204
- size: 'small',
205
- disabled: false,
206
- leftIcon: 'Download',
207
- rightIcon: 'none',
208
- isSubmitButton: false
209
- }
210
- };
211
- const SmallButtonRightIcon = exports.SmallButtonRightIcon = {
212
- args: {
213
- text: 'Button',
214
- type: 'primary',
215
- size: 'small',
216
- disabled: false,
217
- leftIcon: 'none',
218
- rightIcon: 'Exit',
219
- isSubmitButton: false
220
- },
221
- design: {
222
- type: 'figma',
223
- url: 'https://www.figma.com/design/hhRW9o3Wqj3wF89qGJ2raZ/Sagarmatha--Design-System?node-id=299-4075&t=xKolv44KqyAdlKND-4'
224
- }
225
- };
226
- const MediumButtonTwoIcons = exports.MediumButtonTwoIcons = {
227
- args: {
228
- text: 'Button',
229
- type: 'primary',
230
- size: 'medium',
231
- disabled: false,
232
- leftIcon: 'Filter',
233
- rightIcon: 'Exit',
234
- isSubmitButton: false
235
- }
236
- };
237
- const MediumButtonLeftIcon = exports.MediumButtonLeftIcon = {
238
- args: {
239
- text: 'Button',
240
- type: 'primary',
241
- size: 'medium',
242
- disabled: false,
243
- leftIcon: 'Download',
244
- rightIcon: 'none',
245
- isSubmitButton: false
246
- }
247
- };
248
- const MediumButtonRightIcon = exports.MediumButtonRightIcon = {
249
- args: {
250
- text: 'Button',
251
- type: 'primary',
252
- size: 'medium',
253
- disabled: false,
254
- leftIcon: 'none',
255
- rightIcon: 'Exit',
256
- isSubmitButton: false
257
- }
258
- };
259
- const SubmitButton = exports.SubmitButton = {
260
- args: {
261
- text: 'Submit',
262
- type: 'primary',
263
- size: 'medium',
264
- disabled: false,
265
- leftIcon: 'none',
266
- rightIcon: 'none',
267
- isSubmitButton: true
268
- }
269
- };