@secondstaxorg/sscomp 1.0.8 → 1.1.0

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 (264) hide show
  1. package/dist/components/CountrySelector/CountrySelector.d.ts.map +1 -1
  2. package/dist/components/CountrySelector/CountrySelector.js +15 -1
  3. package/dist/components/CountrySelector/CountrySelector.js.map +1 -1
  4. package/dist/components/DatePicker/DatePicker.d.ts.map +1 -1
  5. package/dist/components/DatePicker/DatePicker.js +36 -106
  6. package/dist/components/DatePicker/DatePicker.js.map +1 -1
  7. package/dist/components/DatePicker/style.d.ts.map +1 -1
  8. package/dist/components/DatePicker/style.js +6 -14
  9. package/dist/components/DatePicker/style.js.map +1 -1
  10. package/dist/components/DropdownList/DropdownList.d.ts.map +1 -1
  11. package/dist/components/DropdownList/DropdownList.js +16 -3
  12. package/dist/components/DropdownList/DropdownList.js.map +1 -1
  13. package/dist/components/PasswordField/style.d.ts.map +1 -1
  14. package/dist/components/PasswordField/style.js +1 -1
  15. package/dist/components/PasswordField/style.js.map +1 -1
  16. package/dist/index.es.js +5 -22
  17. package/dist/index.es.js.map +1 -1
  18. package/dist/index.js +75 -1409
  19. package/dist/index.js.map +1 -1
  20. package/dist/index.min.js +5 -22
  21. package/dist/index.min.js.map +1 -1
  22. package/package.json +6 -3
  23. package/dist/stories/ActionResponse.stories.d.ts +0 -10
  24. package/dist/stories/ActionResponse.stories.d.ts.map +0 -1
  25. package/dist/stories/ActionResponse.stories.js +0 -31
  26. package/dist/stories/ActionResponse.stories.js.map +0 -1
  27. package/dist/stories/AppActionsTable.stories.d.ts +0 -9
  28. package/dist/stories/AppActionsTable.stories.d.ts.map +0 -1
  29. package/dist/stories/AppActionsTable.stories.js +0 -31
  30. package/dist/stories/AppActionsTable.stories.js.map +0 -1
  31. package/dist/stories/AppFormsTable.stories.d.ts +0 -9
  32. package/dist/stories/AppFormsTable.stories.d.ts.map +0 -1
  33. package/dist/stories/AppFormsTable.stories.js +0 -31
  34. package/dist/stories/AppFormsTable.stories.js.map +0 -1
  35. package/dist/stories/AppModulesTable.stories.d.ts +0 -9
  36. package/dist/stories/AppModulesTable.stories.d.ts.map +0 -1
  37. package/dist/stories/AppModulesTable.stories.js +0 -31
  38. package/dist/stories/AppModulesTable.stories.js.map +0 -1
  39. package/dist/stories/AuditLog.stories.d.ts +0 -9
  40. package/dist/stories/AuditLog.stories.d.ts.map +0 -1
  41. package/dist/stories/AuditLog.stories.js +0 -47
  42. package/dist/stories/AuditLog.stories.js.map +0 -1
  43. package/dist/stories/BankAccounts.stories.d.ts +0 -9
  44. package/dist/stories/BankAccounts.stories.d.ts.map +0 -1
  45. package/dist/stories/BankAccounts.stories.js +0 -49
  46. package/dist/stories/BankAccounts.stories.js.map +0 -1
  47. package/dist/stories/BankSelector.stories.d.ts +0 -9
  48. package/dist/stories/BankSelector.stories.d.ts.map +0 -1
  49. package/dist/stories/BankSelector.stories.js +0 -39
  50. package/dist/stories/BankSelector.stories.js.map +0 -1
  51. package/dist/stories/BreradcrumbBar.stories.d.ts +0 -9
  52. package/dist/stories/BreradcrumbBar.stories.d.ts.map +0 -1
  53. package/dist/stories/BreradcrumbBar.stories.js +0 -32
  54. package/dist/stories/BreradcrumbBar.stories.js.map +0 -1
  55. package/dist/stories/BrokersTable.stories.d.ts +0 -9
  56. package/dist/stories/BrokersTable.stories.d.ts.map +0 -1
  57. package/dist/stories/BrokersTable.stories.js +0 -33
  58. package/dist/stories/BrokersTable.stories.js.map +0 -1
  59. package/dist/stories/Button.stories.d.ts +0 -7
  60. package/dist/stories/Button.stories.d.ts.map +0 -1
  61. package/dist/stories/Button.stories.js +0 -35
  62. package/dist/stories/Button.stories.js.map +0 -1
  63. package/dist/stories/Chart.stories.d.ts +0 -11
  64. package/dist/stories/Chart.stories.d.ts.map +0 -1
  65. package/dist/stories/Chart.stories.js +0 -48
  66. package/dist/stories/Chart.stories.js.map +0 -1
  67. package/dist/stories/CookieConsent.stories.d.ts +0 -9
  68. package/dist/stories/CookieConsent.stories.d.ts.map +0 -1
  69. package/dist/stories/CookieConsent.stories.js +0 -25
  70. package/dist/stories/CookieConsent.stories.js.map +0 -1
  71. package/dist/stories/CountrySelector.stories.d.ts +0 -9
  72. package/dist/stories/CountrySelector.stories.d.ts.map +0 -1
  73. package/dist/stories/CountrySelector.stories.js +0 -72
  74. package/dist/stories/CountrySelector.stories.js.map +0 -1
  75. package/dist/stories/CurrencyPairs.stories.d.ts +0 -9
  76. package/dist/stories/CurrencyPairs.stories.d.ts.map +0 -1
  77. package/dist/stories/CurrencyPairs.stories.js +0 -34
  78. package/dist/stories/CurrencyPairs.stories.js.map +0 -1
  79. package/dist/stories/DatePicker.stories.d.ts +0 -9
  80. package/dist/stories/DatePicker.stories.d.ts.map +0 -1
  81. package/dist/stories/DatePicker.stories.js +0 -27
  82. package/dist/stories/DatePicker.stories.js.map +0 -1
  83. package/dist/stories/DropShadows.stories.d.ts +0 -9
  84. package/dist/stories/DropShadows.stories.d.ts.map +0 -1
  85. package/dist/stories/DropShadows.stories.js +0 -25
  86. package/dist/stories/DropShadows.stories.js.map +0 -1
  87. package/dist/stories/DropdownList.stories.d.ts +0 -9
  88. package/dist/stories/DropdownList.stories.d.ts.map +0 -1
  89. package/dist/stories/DropdownList.stories.js +0 -48
  90. package/dist/stories/DropdownList.stories.js.map +0 -1
  91. package/dist/stories/ExchangeRates.stories.d.ts +0 -9
  92. package/dist/stories/ExchangeRates.stories.d.ts.map +0 -1
  93. package/dist/stories/ExchangeRates.stories.js +0 -43
  94. package/dist/stories/ExchangeRates.stories.js.map +0 -1
  95. package/dist/stories/Footer.stories.d.ts +0 -8
  96. package/dist/stories/Footer.stories.d.ts.map +0 -1
  97. package/dist/stories/Footer.stories.js +0 -8
  98. package/dist/stories/Footer.stories.js.map +0 -1
  99. package/dist/stories/Header.d.ts +0 -14
  100. package/dist/stories/Header.d.ts.map +0 -1
  101. package/dist/stories/Header.js +0 -24
  102. package/dist/stories/Header.js.map +0 -1
  103. package/dist/stories/Header.stories.js +0 -30
  104. package/dist/stories/Header.stories.js.map +0 -1
  105. package/dist/stories/Indices.stories.d.ts +0 -9
  106. package/dist/stories/Indices.stories.d.ts.map +0 -1
  107. package/dist/stories/Indices.stories.js +0 -46
  108. package/dist/stories/Indices.stories.js.map +0 -1
  109. package/dist/stories/LPRequestTable.stories.d.ts +0 -9
  110. package/dist/stories/LPRequestTable.stories.d.ts.map +0 -1
  111. package/dist/stories/LPRequestTable.stories.js +0 -52
  112. package/dist/stories/LPRequestTable.stories.js.map +0 -1
  113. package/dist/stories/LPSideNav.stories.d.ts +0 -9
  114. package/dist/stories/LPSideNav.stories.d.ts.map +0 -1
  115. package/dist/stories/LPSideNav.stories.js +0 -52
  116. package/dist/stories/LPSideNav.stories.js.map +0 -1
  117. package/dist/stories/LPTopBar.stories.d.ts +0 -9
  118. package/dist/stories/LPTopBar.stories.d.ts.map +0 -1
  119. package/dist/stories/LPTopBar.stories.js +0 -54
  120. package/dist/stories/LPTopBar.stories.js.map +0 -1
  121. package/dist/stories/LoadingShimmer.stories.d.ts +0 -9
  122. package/dist/stories/LoadingShimmer.stories.d.ts.map +0 -1
  123. package/dist/stories/LoadingShimmer.stories.js +0 -25
  124. package/dist/stories/LoadingShimmer.stories.js.map +0 -1
  125. package/dist/stories/MarketData.stories.d.ts +0 -9
  126. package/dist/stories/MarketData.stories.d.ts.map +0 -1
  127. package/dist/stories/MarketData.stories.js +0 -38
  128. package/dist/stories/MarketData.stories.js.map +0 -1
  129. package/dist/stories/MarketMovers.stories.d.ts +0 -9
  130. package/dist/stories/MarketMovers.stories.d.ts.map +0 -1
  131. package/dist/stories/MarketMovers.stories.js +0 -52
  132. package/dist/stories/MarketMovers.stories.js.map +0 -1
  133. package/dist/stories/MenuBar.stories.d.ts +0 -9
  134. package/dist/stories/MenuBar.stories.d.ts.map +0 -1
  135. package/dist/stories/MenuBar.stories.js +0 -45
  136. package/dist/stories/MenuBar.stories.js.map +0 -1
  137. package/dist/stories/NewsCard.stories.d.ts +0 -9
  138. package/dist/stories/NewsCard.stories.d.ts.map +0 -1
  139. package/dist/stories/NewsCard.stories.js +0 -30
  140. package/dist/stories/NewsCard.stories.js.map +0 -1
  141. package/dist/stories/NewsFilterBar.stories.d.ts +0 -9
  142. package/dist/stories/NewsFilterBar.stories.d.ts.map +0 -1
  143. package/dist/stories/NewsFilterBar.stories.js +0 -96
  144. package/dist/stories/NewsFilterBar.stories.js.map +0 -1
  145. package/dist/stories/NewsSourceTag.stories.d.ts +0 -9
  146. package/dist/stories/NewsSourceTag.stories.d.ts.map +0 -1
  147. package/dist/stories/NewsSourceTag.stories.js +0 -25
  148. package/dist/stories/NewsSourceTag.stories.js.map +0 -1
  149. package/dist/stories/NewsTitleBar.stories.d.ts +0 -9
  150. package/dist/stories/NewsTitleBar.stories.d.ts.map +0 -1
  151. package/dist/stories/NewsTitleBar.stories.js +0 -23
  152. package/dist/stories/NewsTitleBar.stories.js.map +0 -1
  153. package/dist/stories/Page.d.ts +0 -4
  154. package/dist/stories/Page.d.ts.map +0 -1
  155. package/dist/stories/Page.js +0 -38
  156. package/dist/stories/Page.js.map +0 -1
  157. package/dist/stories/Page.stories.d.ts +0 -7
  158. package/dist/stories/Page.stories.d.ts.map +0 -1
  159. package/dist/stories/Page.stories.js +0 -82
  160. package/dist/stories/Page.stories.js.map +0 -1
  161. package/dist/stories/PasswordField.stories.d.ts +0 -9
  162. package/dist/stories/PasswordField.stories.d.ts.map +0 -1
  163. package/dist/stories/PasswordField.stories.js +0 -26
  164. package/dist/stories/PasswordField.stories.js.map +0 -1
  165. package/dist/stories/PaymentMethods.stories.d.ts +0 -9
  166. package/dist/stories/PaymentMethods.stories.d.ts.map +0 -1
  167. package/dist/stories/PaymentMethods.stories.js +0 -32
  168. package/dist/stories/PaymentMethods.stories.js.map +0 -1
  169. package/dist/stories/ProvidersTable.stories.d.ts +0 -9
  170. package/dist/stories/ProvidersTable.stories.d.ts.map +0 -1
  171. package/dist/stories/ProvidersTable.stories.js +0 -32
  172. package/dist/stories/ProvidersTable.stories.js.map +0 -1
  173. package/dist/stories/RateHistory.stories.d.ts +0 -9
  174. package/dist/stories/RateHistory.stories.d.ts.map +0 -1
  175. package/dist/stories/RateHistory.stories.js +0 -44
  176. package/dist/stories/RateHistory.stories.js.map +0 -1
  177. package/dist/stories/RequestForm.stories.d.ts +0 -9
  178. package/dist/stories/RequestForm.stories.d.ts.map +0 -1
  179. package/dist/stories/RequestForm.stories.js +0 -129
  180. package/dist/stories/RequestForm.stories.js.map +0 -1
  181. package/dist/stories/Ribbon.stories.d.ts +0 -9
  182. package/dist/stories/Ribbon.stories.d.ts.map +0 -1
  183. package/dist/stories/Ribbon.stories.js +0 -33
  184. package/dist/stories/Ribbon.stories.js.map +0 -1
  185. package/dist/stories/SSXBar.stories.d.ts +0 -8
  186. package/dist/stories/SSXBar.stories.d.ts.map +0 -1
  187. package/dist/stories/SSXBar.stories.js +0 -8
  188. package/dist/stories/SSXBar.stories.js.map +0 -1
  189. package/dist/stories/SearchBar.stories.d.ts +0 -9
  190. package/dist/stories/SearchBar.stories.d.ts.map +0 -1
  191. package/dist/stories/SearchBar.stories.js +0 -24
  192. package/dist/stories/SearchBar.stories.js.map +0 -1
  193. package/dist/stories/SearchResultsBar.stories.d.ts +0 -9
  194. package/dist/stories/SearchResultsBar.stories.d.ts.map +0 -1
  195. package/dist/stories/SearchResultsBar.stories.js +0 -25
  196. package/dist/stories/SearchResultsBar.stories.js.map +0 -1
  197. package/dist/stories/SideModal.stories.d.ts +0 -8
  198. package/dist/stories/SideModal.stories.d.ts.map +0 -1
  199. package/dist/stories/SideModal.stories.js +0 -9
  200. package/dist/stories/SideModal.stories.js.map +0 -1
  201. package/dist/stories/SmallNewsCard.stories.d.ts +0 -9
  202. package/dist/stories/SmallNewsCard.stories.d.ts.map +0 -1
  203. package/dist/stories/SmallNewsCard.stories.js +0 -28
  204. package/dist/stories/SmallNewsCard.stories.js.map +0 -1
  205. package/dist/stories/SpinnerLoader.stories.d.ts +0 -8
  206. package/dist/stories/SpinnerLoader.stories.d.ts.map +0 -1
  207. package/dist/stories/SpinnerLoader.stories.js +0 -8
  208. package/dist/stories/SpinnerLoader.stories.js.map +0 -1
  209. package/dist/stories/StatusBadge.stories.d.ts +0 -9
  210. package/dist/stories/StatusBadge.stories.d.ts.map +0 -1
  211. package/dist/stories/StatusBadge.stories.js +0 -24
  212. package/dist/stories/StatusBadge.stories.js.map +0 -1
  213. package/dist/stories/StocksTicker.stories.d.ts +0 -9
  214. package/dist/stories/StocksTicker.stories.d.ts.map +0 -1
  215. package/dist/stories/StocksTicker.stories.js +0 -392
  216. package/dist/stories/StocksTicker.stories.js.map +0 -1
  217. package/dist/stories/SystemConfig.stories.d.ts +0 -9
  218. package/dist/stories/SystemConfig.stories.d.ts.map +0 -1
  219. package/dist/stories/SystemConfig.stories.js +0 -32
  220. package/dist/stories/SystemConfig.stories.js.map +0 -1
  221. package/dist/stories/Tab.stories.d.ts +0 -9
  222. package/dist/stories/Tab.stories.d.ts.map +0 -1
  223. package/dist/stories/Tab.stories.js +0 -43
  224. package/dist/stories/Tab.stories.js.map +0 -1
  225. package/dist/stories/Table.stories.d.ts +0 -10
  226. package/dist/stories/Table.stories.d.ts.map +0 -1
  227. package/dist/stories/Table.stories.js +0 -34
  228. package/dist/stories/Table.stories.js.map +0 -1
  229. package/dist/stories/TextArea.stories.d.ts +0 -6
  230. package/dist/stories/TextArea.stories.d.ts.map +0 -1
  231. package/dist/stories/TextArea.stories.js +0 -26
  232. package/dist/stories/TextArea.stories.js.map +0 -1
  233. package/dist/stories/TextField.stories.d.ts +0 -6
  234. package/dist/stories/TextField.stories.d.ts.map +0 -1
  235. package/dist/stories/TextField.stories.js +0 -26
  236. package/dist/stories/TextField.stories.js.map +0 -1
  237. package/dist/stories/TransactionDetails.stories.d.ts +0 -9
  238. package/dist/stories/TransactionDetails.stories.d.ts.map +0 -1
  239. package/dist/stories/TransactionDetails.stories.js +0 -44
  240. package/dist/stories/TransactionDetails.stories.js.map +0 -1
  241. package/dist/stories/TransactionDetailsWithPayment.stories.d.ts +0 -9
  242. package/dist/stories/TransactionDetailsWithPayment.stories.d.ts.map +0 -1
  243. package/dist/stories/TransactionDetailsWithPayment.stories.js +0 -44
  244. package/dist/stories/TransactionDetailsWithPayment.stories.js.map +0 -1
  245. package/dist/stories/UpdateUserActions.stories.d.ts +0 -9
  246. package/dist/stories/UpdateUserActions.stories.d.ts.map +0 -1
  247. package/dist/stories/UpdateUserActions.stories.js +0 -43
  248. package/dist/stories/UpdateUserActions.stories.js.map +0 -1
  249. package/dist/stories/UserActions.stories.d.ts +0 -9
  250. package/dist/stories/UserActions.stories.d.ts.map +0 -1
  251. package/dist/stories/UserActions.stories.js +0 -43
  252. package/dist/stories/UserActions.stories.js.map +0 -1
  253. package/dist/stories/UserRolesTable.stories.d.ts +0 -9
  254. package/dist/stories/UserRolesTable.stories.d.ts.map +0 -1
  255. package/dist/stories/UserRolesTable.stories.js +0 -36
  256. package/dist/stories/UserRolesTable.stories.js.map +0 -1
  257. package/dist/stories/UsersTable.stories.d.ts +0 -9
  258. package/dist/stories/UsersTable.stories.d.ts.map +0 -1
  259. package/dist/stories/UsersTable.stories.js +0 -40
  260. package/dist/stories/UsersTable.stories.js.map +0 -1
  261. package/dist/stories/WidgetTitle.stories.d.ts +0 -9
  262. package/dist/stories/WidgetTitle.stories.d.ts.map +0 -1
  263. package/dist/stories/WidgetTitle.stories.js +0 -23
  264. package/dist/stories/WidgetTitle.stories.js.map +0 -1
@@ -1,48 +0,0 @@
1
- var __assign = (this && this.__assign) || function () {
2
- __assign = Object.assign || function(t) {
3
- for (var s, i = 1, n = arguments.length; i < n; i++) {
4
- s = arguments[i];
5
- for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
6
- t[p] = s[p];
7
- }
8
- return t;
9
- };
10
- return __assign.apply(this, arguments);
11
- };
12
- import React from "react";
13
- import Chart from "../components/Chart/Chart";
14
- import { ratesData } from "../utils";
15
- import ChartMedium from "../components/ChartMedium/ChartMedium";
16
- import ChartSmall from "../components/ChartSmall/ChartSmall";
17
- export default {
18
- title: 'Chart',
19
- component: Chart
20
- };
21
- var Template = function (args) { return React.createElement(Chart, __assign({}, args)); };
22
- export var LargeChart = Template.bind({});
23
- LargeChart.args = {
24
- ratesData: ratesData,
25
- exchCurrFlag: 'https://newsuat.blob.core.windows.net/flags/usa.svg?sp=racwdlm&st=2022-12-01T22:57:11Z&se=2032-12-02T06:57:11Z&spr=https&sv=2021-06-08&sr=c&sig=9SLQVnZOu7yo46qrNEfajnqm0I0cEeCZp%2BisxjN0qEI%3D',
26
- exchCurrName: 'US Dollar',
27
- exchCurrCode: 'USD',
28
- baseCurrCode: 'GHS'
29
- };
30
- var ChartMed = function (args) { return React.createElement(ChartMedium, __assign({}, args)); };
31
- export var MediumChart = ChartMed.bind({});
32
- MediumChart.args = {
33
- ratesData: ratesData,
34
- exchCurrFlag: 'https://newsuat.blob.core.windows.net/flags/usa.svg?sp=racwdlm&st=2022-12-01T22:57:11Z&se=2032-12-02T06:57:11Z&spr=https&sv=2021-06-08&sr=c&sig=9SLQVnZOu7yo46qrNEfajnqm0I0cEeCZp%2BisxjN0qEI%3D',
35
- exchCurrName: 'US Dollar',
36
- exchCurrCode: 'USD',
37
- baseCurrCode: 'NGN'
38
- };
39
- var ChartSm = function (args) { return React.createElement(ChartSmall, __assign({}, args)); };
40
- export var SmallChart = ChartSm.bind({});
41
- SmallChart.args = {
42
- ratesData: ratesData,
43
- exchCurrFlag: 'https://newsuat.blob.core.windows.net/flags/usa.svg?sp=racwdlm&st=2022-12-01T22:57:11Z&se=2032-12-02T06:57:11Z&spr=https&sv=2021-06-08&sr=c&sig=9SLQVnZOu7yo46qrNEfajnqm0I0cEeCZp%2BisxjN0qEI%3D',
44
- exchCurrName: 'US Dollar',
45
- exchCurrCode: 'USD',
46
- baseCurrCode: 'NGN'
47
- };
48
- //# sourceMappingURL=Chart.stories.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Chart.stories.js","sourceRoot":"","sources":["../../src/stories/Chart.stories.tsx"],"names":[],"mappings":";;;;;;;;;;;AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,KAAK,MAAM,2BAA2B,CAAC;AAE9C,OAAO,EAAC,SAAS,EAAC,MAAM,UAAU,CAAC;AACnC,OAAO,WAAW,MAAM,uCAAuC,CAAC;AAChE,OAAO,UAAU,MAAM,qCAAqC,CAAC;AAE7D,eAAe;IACX,KAAK,EAAC,OAAO;IACb,SAAS,EAAC,KAAK;CAClB,CAAA;AAED,IAAM,QAAQ,GAAiC,UAAC,IAAI,IAAK,OAAA,oBAAC,KAAK,eAAK,IAAI,EAAG,EAAlB,CAAkB,CAAC;AAE5E,MAAM,CAAC,IAAM,UAAU,GAAG,QAAQ,CAAC,IAAI,CAAC,EAAE,CAAC,CAAC;AAC5C,UAAU,CAAC,IAAI,GAAG;IACd,SAAS,EAAC,SAAS;IACnB,YAAY,EAAC,kMAAkM;IAC/M,YAAY,EAAC,WAAW;IACxB,YAAY,EAAC,KAAK;IAClB,YAAY,EAAC,KAAK;CACrB,CAAA;AAED,IAAM,QAAQ,GAAuC,UAAC,IAAI,IAAK,OAAA,oBAAC,WAAW,eAAK,IAAI,EAAG,EAAxB,CAAwB,CAAC;AAExF,MAAM,CAAC,IAAM,WAAW,GAAG,QAAQ,CAAC,IAAI,CAAC,EAAE,CAAC,CAAC;AAC7C,WAAW,CAAC,IAAI,GAAG;IACf,SAAS,EAAC,SAAS;IACnB,YAAY,EAAC,kMAAkM;IAC/M,YAAY,EAAC,WAAW;IACxB,YAAY,EAAC,KAAK;IAClB,YAAY,EAAC,KAAK;CACrB,CAAA;AAED,IAAM,OAAO,GAAsC,UAAC,IAAI,IAAK,OAAA,oBAAC,UAAU,eAAK,IAAI,EAAG,EAAvB,CAAuB,CAAC;AAErF,MAAM,CAAC,IAAM,UAAU,GAAG,OAAO,CAAC,IAAI,CAAC,EAAE,CAAC,CAAC;AAC3C,UAAU,CAAC,IAAI,GAAG;IACd,SAAS,EAAC,SAAS;IACnB,YAAY,EAAC,kMAAkM;IAC/M,YAAY,EAAC,WAAW;IACxB,YAAY,EAAC,KAAK;IAClB,YAAY,EAAC,KAAK;CACrB,CAAA"}
@@ -1,9 +0,0 @@
1
- /// <reference types="react" />
2
- import { ComponentStory } from "@storybook/react";
3
- declare const _default: {
4
- title: string;
5
- component: (props: import("../components/CookieConsent/type").CookieConsentProps) => JSX.Element;
6
- };
7
- export default _default;
8
- export declare const CoockieConsentComp: ComponentStory<(props: import("../components/CookieConsent/type").CookieConsentProps) => JSX.Element>;
9
- //# sourceMappingURL=CookieConsent.stories.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"CookieConsent.stories.d.ts","sourceRoot":"","sources":["../../src/stories/CookieConsent.stories.tsx"],"names":[],"mappings":";AAEA,OAAO,EAAC,cAAc,EAAC,MAAM,kBAAkB,CAAC;;;;;AAEhD,wBAGC;AAID,eAAO,MAAM,kBAAkB,uGAAoB,CAAC"}
@@ -1,25 +0,0 @@
1
- var __assign = (this && this.__assign) || function () {
2
- __assign = Object.assign || function(t) {
3
- for (var s, i = 1, n = arguments.length; i < n; i++) {
4
- s = arguments[i];
5
- for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
6
- t[p] = s[p];
7
- }
8
- return t;
9
- };
10
- return __assign.apply(this, arguments);
11
- };
12
- import React from "react";
13
- import CookieConsent from "../components/CookieConsent/CookieConsent";
14
- export default {
15
- title: 'Cookie Consent',
16
- component: CookieConsent
17
- };
18
- var Template = function (args) { return React.createElement(CookieConsent, __assign({}, args)); };
19
- export var CoockieConsentComp = Template.bind({});
20
- CoockieConsentComp.args = {
21
- acceptFxn: function () { console.log('Accepted'); },
22
- declineFxn: function () { console.log('Declined'); },
23
- closeFxn: function () { console.log('Closed'); }
24
- };
25
- //# sourceMappingURL=CookieConsent.stories.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"CookieConsent.stories.js","sourceRoot":"","sources":["../../src/stories/CookieConsent.stories.tsx"],"names":[],"mappings":";;;;;;;;;;;AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,aAAa,MAAM,2CAA2C,CAAC;AAGtE,eAAe;IACX,KAAK,EAAC,gBAAgB;IACtB,SAAS,EAAE,aAAa;CAC3B,CAAA;AAED,IAAM,QAAQ,GAAyC,UAAC,IAAI,IAAK,OAAA,oBAAC,aAAa,eAAK,IAAI,EAAG,EAA1B,CAA0B,CAAC;AAE5F,MAAM,CAAC,IAAM,kBAAkB,GAAG,QAAQ,CAAC,IAAI,CAAC,EAAE,CAAC,CAAC;AACpD,kBAAkB,CAAC,IAAI,GAAG;IACtB,SAAS,EAAC,cAAK,OAAO,CAAC,GAAG,CAAC,UAAU,CAAC,CAAA,CAAA,CAAC;IACvC,UAAU,EAAC,cAAK,OAAO,CAAC,GAAG,CAAC,UAAU,CAAC,CAAA,CAAA,CAAC;IACxC,QAAQ,EAAC,cAAK,OAAO,CAAC,GAAG,CAAC,QAAQ,CAAC,CAAA,CAAA,CAAC;CACvC,CAAA"}
@@ -1,9 +0,0 @@
1
- /// <reference types="react" />
2
- import { ComponentStory } from "@storybook/react";
3
- declare const _default: {
4
- title: string;
5
- component: (props: import("../components/CountrySelector/type").SelectorProps) => JSX.Element;
6
- };
7
- export default _default;
8
- export declare const CountrySelectorComp: ComponentStory<(props: import("../components/CountrySelector/type").SelectorProps) => JSX.Element>;
9
- //# sourceMappingURL=CountrySelector.stories.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"CountrySelector.stories.d.ts","sourceRoot":"","sources":["../../src/stories/CountrySelector.stories.tsx"],"names":[],"mappings":";AACA,OAAO,EAAC,cAAc,EAAC,MAAM,kBAAkB,CAAC;;;;;AAGhD,wBAGC;AAID,eAAO,MAAM,mBAAmB,oGAAoB,CAAC"}
@@ -1,72 +0,0 @@
1
- var __assign = (this && this.__assign) || function () {
2
- __assign = Object.assign || function(t) {
3
- for (var s, i = 1, n = arguments.length; i < n; i++) {
4
- s = arguments[i];
5
- for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
6
- t[p] = s[p];
7
- }
8
- return t;
9
- };
10
- return __assign.apply(this, arguments);
11
- };
12
- import CountrySelector from "../components/CountrySelector/CountrySelector";
13
- import React from "react";
14
- export default {
15
- title: 'Country Selector',
16
- component: CountrySelector
17
- };
18
- var Template = function (args) { return React.createElement(CountrySelector, __assign({}, args)); };
19
- export var CountrySelectorComp = Template.bind({});
20
- CountrySelectorComp.args = {
21
- options: [
22
- {
23
- optionShortName: "USD",
24
- optionName: "US DOLLAR",
25
- optionFlag: "https://newsuat.blob.core.windows.net/flags/usa.svg?sp=racwdlm&st=2022-12-01T22:57:11Z&se=2032-12-02T06:57:11Z&spr=https&sv=2021-06-08&sr=c&sig=9SLQVnZOu7yo46qrNEfajnqm0I0cEeCZp%2BisxjN0qEI%3D"
26
- },
27
- {
28
- optionShortName: "CAD",
29
- optionName: "CANADIAN DOLLAR",
30
- optionFlag: "https://newsuat.blob.core.windows.net/flags/canada.svg?sp=racwdlm&st=2022-12-01T22:57:11Z&se=2032-12-02T06:57:11Z&spr=https&sv=2021-06-08&sr=c&sig=9SLQVnZOu7yo46qrNEfajnqm0I0cEeCZp%2BisxjN0qEI%3D"
31
- },
32
- {
33
- optionShortName: "EUR",
34
- optionName: "EURO",
35
- optionFlag: "https://newsuat.blob.core.windows.net/flags/euro.svg?sp=racwdlm&st=2022-12-01T22:57:11Z&se=2032-12-02T06:57:11Z&spr=https&sv=2021-06-08&sr=c&sig=9SLQVnZOu7yo46qrNEfajnqm0I0cEeCZp%2BisxjN0qEI%3D"
36
- },
37
- {
38
- optionShortName: "GHS",
39
- optionName: "GHANA CEDI",
40
- optionFlag: "https://newsuat.blob.core.windows.net/flags/ghana.svg?sp=racwdlm&st=2022-12-01T22:57:11Z&se=2032-12-02T06:57:11Z&spr=https&sv=2021-06-08&sr=c&sig=9SLQVnZOu7yo46qrNEfajnqm0I0cEeCZp%2BisxjN0qEI%3D"
41
- },
42
- {
43
- optionShortName: "XOF",
44
- optionName: "CFA FRANC (BCEAO)",
45
- optionFlag: "https://newsuat.blob.core.windows.net/flags/franc.svg?sp=racwdlm&st=2022-12-01T22:57:11Z&se=2032-12-02T06:57:11Z&spr=https&sv=2021-06-08&sr=c&sig=9SLQVnZOu7yo46qrNEfajnqm0I0cEeCZp%2BisxjN0qEI%3D"
46
- },
47
- {
48
- optionShortName: "KES",
49
- optionName: "KENYA SHILLING",
50
- optionFlag: "https://newsuat.blob.core.windows.net/flags/kenya.svg?sp=racwdlm&st=2022-12-01T22:57:11Z&se=2032-12-02T06:57:11Z&spr=https&sv=2021-06-08&sr=c&sig=9SLQVnZOu7yo46qrNEfajnqm0I0cEeCZp%2BisxjN0qEI%3D"
51
- },
52
- {
53
- optionShortName: "ZAR",
54
- optionName: "SOUTH AFRICAN RAND",
55
- optionFlag: "https://newsuat.blob.core.windows.net/flags/sa.svg?sp=racwdlm&st=2022-12-01T22:57:11Z&se=2032-12-02T06:57:11Z&spr=https&sv=2021-06-08&sr=c&sig=9SLQVnZOu7yo46qrNEfajnqm0I0cEeCZp%2BisxjN0qEI%3D"
56
- },
57
- {
58
- optionShortName: "GBP",
59
- optionName: "GREAT BRITAIN POUND",
60
- optionFlag: "https://newsuat.blob.core.windows.net/flags/uk.svg?sp=racwdlm&st=2022-12-01T22:57:11Z&se=2032-12-02T06:57:11Z&spr=https&sv=2021-06-08&sr=c&sig=9SLQVnZOu7yo46qrNEfajnqm0I0cEeCZp%2BisxjN0qEI%3D"
61
- },
62
- {
63
- optionShortName: "NGN",
64
- optionName: "NIGERIAN NAIRA",
65
- optionFlag: "https://newsuat.blob.core.windows.net/flags/nigeria.svg?sp=racwdlm&st=2022-12-01T22:57:11Z&se=2032-12-02T06:57:11Z&spr=https&sv=2021-06-08&sr=c&sig=9SLQVnZOu7yo46qrNEfajnqm0I0cEeCZp%2BisxjN0qEI%3D"
66
- }
67
- ],
68
- selectedOption: function () { },
69
- initialText: 'Select country',
70
- initialFlag: ''
71
- };
72
- //# sourceMappingURL=CountrySelector.stories.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"CountrySelector.stories.js","sourceRoot":"","sources":["../../src/stories/CountrySelector.stories.tsx"],"names":[],"mappings":";;;;;;;;;;;AAAA,OAAO,eAAe,MAAM,+CAA+C,CAAC;AAE5E,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,eAAe;IACX,KAAK,EAAC,kBAAkB;IACxB,SAAS,EAAE,eAAe;CAC7B,CAAA;AAED,IAAM,QAAQ,GAA2C,UAAC,IAAI,IAAK,OAAA,oBAAC,eAAe,eAAK,IAAI,EAAG,EAA5B,CAA4B,CAAC;AAEhG,MAAM,CAAC,IAAM,mBAAmB,GAAG,QAAQ,CAAC,IAAI,CAAC,EAAE,CAAC,CAAC;AACrD,mBAAmB,CAAC,IAAI,GAAG;IACvB,OAAO,EAAC;QACJ;YACI,eAAe,EAAE,KAAK;YACtB,UAAU,EAAE,WAAW;YACvB,UAAU,EAAE,kMAAkM;SACjN;QACD;YACI,eAAe,EAAE,KAAK;YACtB,UAAU,EAAE,iBAAiB;YAC7B,UAAU,EAAE,qMAAqM;SACpN;QACD;YACI,eAAe,EAAE,KAAK;YACtB,UAAU,EAAE,MAAM;YAClB,UAAU,EAAE,mMAAmM;SAClN;QACD;YACI,eAAe,EAAE,KAAK;YACtB,UAAU,EAAE,YAAY;YACxB,UAAU,EAAE,oMAAoM;SACnN;QACD;YACI,eAAe,EAAE,KAAK;YACtB,UAAU,EAAE,mBAAmB;YAC/B,UAAU,EAAE,oMAAoM;SACnN;QACD;YACI,eAAe,EAAE,KAAK;YACtB,UAAU,EAAE,gBAAgB;YAC5B,UAAU,EAAE,oMAAoM;SACnN;QACD;YACI,eAAe,EAAE,KAAK;YACtB,UAAU,EAAE,oBAAoB;YAChC,UAAU,EAAE,iMAAiM;SAChN;QACD;YACI,eAAe,EAAE,KAAK;YACtB,UAAU,EAAE,qBAAqB;YACjC,UAAU,EAAE,iMAAiM;SAChN;QACD;YACI,eAAe,EAAE,KAAK;YACtB,UAAU,EAAE,gBAAgB;YAC5B,UAAU,EAAE,sMAAsM;SACrN;KACJ;IACD,cAAc,EAAC,cAAK,CAAC;IACrB,WAAW,EAAC,gBAAgB;IAC5B,WAAW,EAAC,EAAE;CACjB,CAAA"}
@@ -1,9 +0,0 @@
1
- /// <reference types="react" />
2
- import { ComponentStory } from "@storybook/react";
3
- declare const _default: {
4
- title: string;
5
- component: (props: import("../components/CurrencyPairs/type").CurrencyPairsProps) => JSX.Element;
6
- };
7
- export default _default;
8
- export declare const UsersTableComp: ComponentStory<(props: import("../components/CurrencyPairs/type").CurrencyPairsProps) => JSX.Element>;
9
- //# sourceMappingURL=CurrencyPairs.stories.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"CurrencyPairs.stories.d.ts","sourceRoot":"","sources":["../../src/stories/CurrencyPairs.stories.tsx"],"names":[],"mappings":";AACA,OAAO,EAAC,cAAc,EAAC,MAAM,kBAAkB,CAAC;;;;;AAGhD,wBAGC;AAeD,eAAO,MAAM,cAAc,uGAAoB,CAAC"}
@@ -1,34 +0,0 @@
1
- var __assign = (this && this.__assign) || function () {
2
- __assign = Object.assign || function(t) {
3
- for (var s, i = 1, n = arguments.length; i < n; i++) {
4
- s = arguments[i];
5
- for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
6
- t[p] = s[p];
7
- }
8
- return t;
9
- };
10
- return __assign.apply(this, arguments);
11
- };
12
- import React from "react";
13
- import CurrencyPairsTable from "../components/CurrencyPairs/CurrencyPairsTable";
14
- export default {
15
- title: 'Currency Pairs Table',
16
- component: CurrencyPairsTable
17
- };
18
- var Template = function (args) { return React.createElement(CurrencyPairsTable, __assign({}, args)); };
19
- var pairs = [
20
- {
21
- pairCode: 'GHS/USD',
22
- baseCurrency: 'Ghana Cedi',
23
- baseFlag: 'https://newsuat.blob.core.windows.net/flags/ghana.svg?sp=racwdlm&st=2022-12-01T22:57:11Z&se=2032-12-02T06:57:11Z&spr=https&sv=2021-06-08&sr=c&sig=9SLQVnZOu7yo46qrNEfajnqm0I0cEeCZp%2BisxjN0qEI%3D',
24
- exchangeCurrency: 'US Dollar',
25
- exchangeFlag: 'https://newsuat.blob.core.windows.net/flags/usa.svg?sp=racwdlm&st=2022-12-01T22:57:11Z&se=2032-12-02T06:57:11Z&spr=https&sv=2021-06-08&sr=c&sig=9SLQVnZOu7yo46qrNEfajnqm0I0cEeCZp%2BisxjN0qEI%3D',
26
- pairName: 'Ghana Cedi to US Dollar'
27
- }
28
- ];
29
- export var UsersTableComp = Template.bind({});
30
- UsersTableComp.args = {
31
- pairs: pairs,
32
- callback: function () { alert('Action to be tied to a function'); }
33
- };
34
- //# sourceMappingURL=CurrencyPairs.stories.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"CurrencyPairs.stories.js","sourceRoot":"","sources":["../../src/stories/CurrencyPairs.stories.tsx"],"names":[],"mappings":";;;;;;;;;;;AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,kBAAkB,MAAM,gDAAgD,CAAC;AAEhF,eAAe;IACX,KAAK,EAAC,sBAAsB;IAC5B,SAAS,EAAC,kBAAkB;CAC/B,CAAA;AAED,IAAM,QAAQ,GAA8C,UAAC,IAAI,IAAK,OAAA,oBAAC,kBAAkB,eAAK,IAAI,EAAG,EAA/B,CAA+B,CAAC;AAEtG,IAAM,KAAK,GAAG;IACV;QACI,QAAQ,EAAC,SAAS;QAClB,YAAY,EAAC,YAAY;QACzB,QAAQ,EAAC,oMAAoM;QAC7M,gBAAgB,EAAC,WAAW;QAC5B,YAAY,EAAC,kMAAkM;QAC/M,QAAQ,EAAC,yBAAyB;KACrC;CACJ,CAAA;AAED,MAAM,CAAC,IAAM,cAAc,GAAG,QAAQ,CAAC,IAAI,CAAC,EAAE,CAAC,CAAC;AAChD,cAAc,CAAC,IAAI,GAAG;IAClB,KAAK,EAAE,KAAK;IACZ,QAAQ,EAAE,cAAK,KAAK,CAAC,iCAAiC,CAAC,CAAA,CAAA,CAAC;CAC3D,CAAA"}
@@ -1,9 +0,0 @@
1
- /// <reference types="react" />
2
- import { ComponentStory } from "@storybook/react";
3
- declare const _default: {
4
- title: string;
5
- component: (props: import("../components/DatePicker/type").DatePickerProps) => JSX.Element;
6
- };
7
- export default _default;
8
- export declare const DatePickerMain: ComponentStory<(props: import("../components/DatePicker/type").DatePickerProps) => JSX.Element>;
9
- //# sourceMappingURL=DatePicker.stories.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"DatePicker.stories.d.ts","sourceRoot":"","sources":["../../src/stories/DatePicker.stories.tsx"],"names":[],"mappings":";AAEA,OAAO,EAAC,cAAc,EAAC,MAAM,kBAAkB,CAAC;;;;;AAEhD,wBAGC;AAOD,eAAO,MAAM,cAAc,iGAAoB,CAAA"}
@@ -1,27 +0,0 @@
1
- var __assign = (this && this.__assign) || function () {
2
- __assign = Object.assign || function(t) {
3
- for (var s, i = 1, n = arguments.length; i < n; i++) {
4
- s = arguments[i];
5
- for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
6
- t[p] = s[p];
7
- }
8
- return t;
9
- };
10
- return __assign.apply(this, arguments);
11
- };
12
- import React from "react";
13
- import DatePicker from "../components/DatePicker/DatePicker";
14
- export default {
15
- title: 'DatePicker',
16
- component: DatePicker
17
- };
18
- function onchange(a) {
19
- console.log(a);
20
- }
21
- var Template = function (args) { return React.createElement(DatePicker, __assign({}, args)); };
22
- export var DatePickerMain = Template.bind({});
23
- DatePickerMain.args = {
24
- onDateChange: onchange,
25
- showTime: true
26
- };
27
- //# sourceMappingURL=DatePicker.stories.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"DatePicker.stories.js","sourceRoot":"","sources":["../../src/stories/DatePicker.stories.tsx"],"names":[],"mappings":";;;;;;;;;;;AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,UAAU,MAAM,qCAAqC,CAAC;AAG7D,eAAe;IACX,KAAK,EAAC,YAAY;IAClB,SAAS,EAAE,UAAU;CACxB,CAAA;AAED,SAAS,QAAQ,CAAC,CAAM;IACpB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAA;AAClB,CAAC;AAED,IAAM,QAAQ,GAAqC,UAAC,IAAI,IAAK,OAAA,oBAAC,UAAU,eAAK,IAAI,EAAG,EAAvB,CAAuB,CAAA;AACpF,MAAM,CAAC,IAAM,cAAc,GAAG,QAAQ,CAAC,IAAI,CAAC,EAAE,CAAC,CAAA;AAC/C,cAAc,CAAC,IAAI,GAAG;IAClB,YAAY,EAAC,QAAQ;IACrB,QAAQ,EAAC,IAAI;CAChB,CAAA"}
@@ -1,9 +0,0 @@
1
- /// <reference types="react" />
2
- import { ComponentStory } from "@storybook/react";
3
- declare const _default: {
4
- title: string;
5
- component: (props: import("../components/Dropshadows/type").CardType) => JSX.Element;
6
- };
7
- export default _default;
8
- export declare const DropShadow: ComponentStory<(props: import("../components/Dropshadows/type").CardType) => JSX.Element>;
9
- //# sourceMappingURL=DropShadows.stories.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"DropShadows.stories.d.ts","sourceRoot":"","sources":["../../src/stories/DropShadows.stories.tsx"],"names":[],"mappings":";AAEA,OAAO,EAAC,cAAc,EAAC,MAAM,kBAAkB,CAAC;;;;;AAGhD,wBAGC;AAMD,eAAO,MAAM,UAAU,2FAAoB,CAAC"}
@@ -1,25 +0,0 @@
1
- var __assign = (this && this.__assign) || function () {
2
- __assign = Object.assign || function(t) {
3
- for (var s, i = 1, n = arguments.length; i < n; i++) {
4
- s = arguments[i];
5
- for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
6
- t[p] = s[p];
7
- }
8
- return t;
9
- };
10
- return __assign.apply(this, arguments);
11
- };
12
- import React from "react";
13
- import DropShadows from "../components/Dropshadows/DropShadows";
14
- export default {
15
- title: 'Drop Shadows',
16
- component: DropShadows
17
- };
18
- var content = 'Lorem ipsum dolor sit amet, consectetur adipisicing elit. Aut autem beatae, culpa eligendi ex excepturi fugiat minus repudiandae soluta voluptate?';
19
- var Template = function (args) { return React.createElement(DropShadows, __assign({}, args), content); };
20
- export var DropShadow = Template.bind({});
21
- DropShadow.args = {
22
- children: content,
23
- type: 'withShadow',
24
- };
25
- //# sourceMappingURL=DropShadows.stories.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"DropShadows.stories.js","sourceRoot":"","sources":["../../src/stories/DropShadows.stories.tsx"],"names":[],"mappings":";;;;;;;;;;;AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,WAAW,MAAM,uCAAuC,CAAC;AAIhE,eAAe;IACX,KAAK,EAAC,cAAc;IACpB,SAAS,EAAC,WAAW;CACxB,CAAA;AAED,IAAM,OAAO,GAAG,oJAAoJ,CAAA;AAEpK,IAAM,QAAQ,GAAuC,UAAC,IAAI,IAAK,OAAA,oBAAC,WAAW,eAAK,IAAI,GAAG,OAAO,CAAe,EAA9C,CAA8C,CAAC;AAE9G,MAAM,CAAC,IAAM,UAAU,GAAG,QAAQ,CAAC,IAAI,CAAC,EAAE,CAAC,CAAC;AAC5C,UAAU,CAAC,IAAI,GAAG;IACd,QAAQ,EAAE,OAAO;IACjB,IAAI,EAAE,YAAY;CACrB,CAAA"}
@@ -1,9 +0,0 @@
1
- /// <reference types="react" />
2
- import { ComponentStory } from "@storybook/react";
3
- declare const _default: {
4
- title: string;
5
- component: (props: import("../components/DropdownList/type").DropdownProps) => JSX.Element;
6
- };
7
- export default _default;
8
- export declare const Dropdown: ComponentStory<(props: import("../components/DropdownList/type").DropdownProps) => JSX.Element>;
9
- //# sourceMappingURL=DropdownList.stories.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"DropdownList.stories.d.ts","sourceRoot":"","sources":["../../src/stories/DropdownList.stories.tsx"],"names":[],"mappings":";AAEA,OAAO,EAAC,cAAc,EAAC,MAAM,kBAAkB,CAAC;;;;;AAEhD,wBAGC;AA0BD,eAAO,MAAM,QAAQ,iGAAoB,CAAA"}
@@ -1,48 +0,0 @@
1
- var __assign = (this && this.__assign) || function () {
2
- __assign = Object.assign || function(t) {
3
- for (var s, i = 1, n = arguments.length; i < n; i++) {
4
- s = arguments[i];
5
- for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
6
- t[p] = s[p];
7
- }
8
- return t;
9
- };
10
- return __assign.apply(this, arguments);
11
- };
12
- import React from "react";
13
- import DropdownList from "../components/DropdownList/DropdownList";
14
- export default {
15
- title: 'Dropdown List',
16
- component: DropdownList
17
- };
18
- var items = [
19
- {
20
- label: 'Absa Bank',
21
- value: 'Absa'
22
- },
23
- {
24
- label: 'Ghana Commercial Bank',
25
- value: 'GCB'
26
- },
27
- {
28
- label: 'Fidelity Bank',
29
- value: 'Fidelity'
30
- },
31
- {
32
- label: 'First Atlantic Bank',
33
- value: 'FAB'
34
- },
35
- {
36
- label: 'Ecobank Ghana',
37
- value: 'Ecobank'
38
- }
39
- ];
40
- var Template = function (args) { return React.createElement(DropdownList, __assign({}, args)); };
41
- export var Dropdown = Template.bind({});
42
- Dropdown.args = {
43
- options: items,
44
- initialText: 'Select an option',
45
- returnedSelection: function () { },
46
- disabled: true
47
- };
48
- //# sourceMappingURL=DropdownList.stories.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"DropdownList.stories.js","sourceRoot":"","sources":["../../src/stories/DropdownList.stories.tsx"],"names":[],"mappings":";;;;;;;;;;;AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,YAAY,MAAM,yCAAyC,CAAC;AAGnE,eAAe;IACX,KAAK,EAAC,eAAe;IACrB,SAAS,EAAE,YAAY;CAC1B,CAAA;AAED,IAAM,KAAK,GAAG;IACV;QACI,KAAK,EAAC,WAAW;QACjB,KAAK,EAAC,MAAM;KACf;IACD;QACI,KAAK,EAAC,uBAAuB;QAC7B,KAAK,EAAC,KAAK;KACd;IACD;QACI,KAAK,EAAC,eAAe;QACrB,KAAK,EAAC,UAAU;KACnB;IACD;QACI,KAAK,EAAC,qBAAqB;QAC3B,KAAK,EAAC,KAAK;KACd;IACD;QACI,KAAK,EAAC,eAAe;QACrB,KAAK,EAAC,SAAS;KAClB;CACJ,CAAA;AAED,IAAM,QAAQ,GAAuC,UAAC,IAAI,IAAK,OAAA,oBAAC,YAAY,eAAK,IAAI,EAAG,EAAzB,CAAyB,CAAA;AACxF,MAAM,CAAC,IAAM,QAAQ,GAAG,QAAQ,CAAC,IAAI,CAAC,EAAE,CAAC,CAAA;AACzC,QAAQ,CAAC,IAAI,GAAG;IACZ,OAAO,EAAE,KAAK;IACd,WAAW,EAAC,kBAAkB;IAC9B,iBAAiB,EAAC,cAAK,CAAC;IACxB,QAAQ,EAAC,IAAI;CAChB,CAAA"}
@@ -1,9 +0,0 @@
1
- /// <reference types="react" />
2
- import { ComponentStory } from "@storybook/react";
3
- declare const _default: {
4
- title: string;
5
- component: (props: import("../components/ExchangeRates/type").ExchangeRatesProps) => JSX.Element;
6
- };
7
- export default _default;
8
- export declare const Rates: ComponentStory<(props: import("../components/ExchangeRates/type").ExchangeRatesProps) => JSX.Element>;
9
- //# sourceMappingURL=ExchangeRates.stories.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"ExchangeRates.stories.d.ts","sourceRoot":"","sources":["../../src/stories/ExchangeRates.stories.tsx"],"names":[],"mappings":";AAEA,OAAO,EAAC,cAAc,EAAC,MAAM,kBAAkB,CAAC;;;;;AAEhD,wBAGC;AAID,eAAO,MAAM,KAAK,uGAAoB,CAAC"}
@@ -1,43 +0,0 @@
1
- var __assign = (this && this.__assign) || function () {
2
- __assign = Object.assign || function(t) {
3
- for (var s, i = 1, n = arguments.length; i < n; i++) {
4
- s = arguments[i];
5
- for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
6
- t[p] = s[p];
7
- }
8
- return t;
9
- };
10
- return __assign.apply(this, arguments);
11
- };
12
- import React from "react";
13
- import ExchangeRates from "../components/ExchangeRates/ExchangeRates";
14
- export default {
15
- title: 'Exchange Rates',
16
- component: ExchangeRates
17
- };
18
- var Template = function (args) { return React.createElement(ExchangeRates, __assign({}, args)); };
19
- export var Rates = Template.bind({});
20
- Rates.args = {
21
- exchangeCurrs: [
22
- {
23
- currName: "USD",
24
- rate: 10.000,
25
- currFlag: "https://newsuat.blob.core.windows.net/flags/usa.svg?sp=racwdlm&st=2022-12-01T22:57:11Z&se=2032-12-02T06:57:11Z&spr=https&sv=2021-06-08&sr=c&sig=9SLQVnZOu7yo46qrNEfajnqm0I0cEeCZp%2BisxjN0qEI%3D"
26
- },
27
- {
28
- currName: "EUR",
29
- rate: 11.0000,
30
- currFlag: "https://newsuat.blob.core.windows.net/flags/euro.svg?sp=racwdlm&st=2022-12-01T22:57:11Z&se=2032-12-02T06:57:11Z&spr=https&sv=2021-06-08&sr=c&sig=9SLQVnZOu7yo46qrNEfajnqm0I0cEeCZp%2BisxjN0qEI%3D"
31
- },
32
- {
33
- currName: "GBP",
34
- rate: 12.0000,
35
- currFlag: "https://newsuat.blob.core.windows.net/flags/uk.svg?sp=racwdlm&st=2022-12-01T22:57:11Z&se=2032-12-02T06:57:11Z&spr=https&sv=2021-06-08&sr=c&sig=9SLQVnZOu7yo46qrNEfajnqm0I0cEeCZp%2BisxjN0qEI%3D"
36
- }
37
- ],
38
- baseCurr: "Ghana Cedi",
39
- baseCurrShortName: "GHS",
40
- source: "Bank of Ghana",
41
- lastUpdated: "08 Nov 2022"
42
- };
43
- //# sourceMappingURL=ExchangeRates.stories.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"ExchangeRates.stories.js","sourceRoot":"","sources":["../../src/stories/ExchangeRates.stories.tsx"],"names":[],"mappings":";;;;;;;;;;;AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,aAAa,MAAM,2CAA2C,CAAC;AAGtE,eAAe;IACX,KAAK,EAAC,gBAAgB;IACtB,SAAS,EAAC,aAAa;CAC1B,CAAA;AAED,IAAM,QAAQ,GAAyC,UAAC,IAAI,IAAK,OAAA,oBAAC,aAAa,eAAK,IAAI,EAAG,EAA1B,CAA0B,CAAC;AAE5F,MAAM,CAAC,IAAM,KAAK,GAAG,QAAQ,CAAC,IAAI,CAAC,EAAE,CAAC,CAAC;AACvC,KAAK,CAAC,IAAI,GAAG;IACT,aAAa,EAAE;QACX;YACI,QAAQ,EAAC,KAAK;YACd,IAAI,EAAC,MAAM;YACX,QAAQ,EAAC,kMAAkM;SAC9M;QACD;YACI,QAAQ,EAAC,KAAK;YACd,IAAI,EAAC,OAAO;YACZ,QAAQ,EAAC,mMAAmM;SAC/M;QACD;YACI,QAAQ,EAAC,KAAK;YACd,IAAI,EAAC,OAAO;YACZ,QAAQ,EAAC,iMAAiM;SAC7M;KACJ;IACD,QAAQ,EAAC,YAAY;IACrB,iBAAiB,EAAC,KAAK;IACvB,MAAM,EAAC,eAAe;IACtB,WAAW,EAAC,aAAa;CAC5B,CAAA"}
@@ -1,8 +0,0 @@
1
- /// <reference types="react" />
2
- declare const _default: {
3
- title: string;
4
- component: () => JSX.Element;
5
- };
6
- export default _default;
7
- export declare const FooterSection: JSX.Element;
8
- //# sourceMappingURL=Footer.stories.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Footer.stories.d.ts","sourceRoot":"","sources":["../../src/stories/Footer.stories.tsx"],"names":[],"mappings":";;;;;AAGA,wBAGC;AAED,eAAO,MAAM,aAAa,aAAY,CAAA"}
@@ -1,8 +0,0 @@
1
- import React from "react";
2
- import Footer from "../components/Footer/Footer";
3
- export default {
4
- title: 'FooterSection',
5
- component: Footer
6
- };
7
- export var FooterSection = React.createElement(Footer, null);
8
- //# sourceMappingURL=Footer.stories.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Footer.stories.js","sourceRoot":"","sources":["../../src/stories/Footer.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,MAAM,MAAM,6BAA6B,CAAC;AAEjD,eAAe;IACX,KAAK,EAAC,eAAe;IACrB,SAAS,EAAC,MAAM;CACnB,CAAA;AAED,MAAM,CAAC,IAAM,aAAa,GAAG,oBAAC,MAAM,OAAE,CAAA"}
@@ -1,14 +0,0 @@
1
- /// <reference types="react" />
2
- import './header.css';
3
- declare type User = {
4
- name: string;
5
- };
6
- interface HeaderProps {
7
- user?: User;
8
- onLogin: () => void;
9
- onLogout: () => void;
10
- onCreateAccount: () => void;
11
- }
12
- export declare const Header: ({ user, onLogin, onLogout, onCreateAccount }: HeaderProps) => JSX.Element;
13
- export {};
14
- //# sourceMappingURL=Header.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Header.d.ts","sourceRoot":"","sources":["../../src/stories/Header.tsx"],"names":[],"mappings":";AAEA,OAAO,cAAc,CAAC;AAGtB,aAAK,IAAI,GAAG;IACV,IAAI,EAAE,MAAM,CAAC;CACd,CAAC;AAEF,UAAU,WAAW;IACnB,IAAI,CAAC,EAAE,IAAI,CAAC;IACZ,OAAO,EAAE,MAAM,IAAI,CAAC;IACpB,QAAQ,EAAE,MAAM,IAAI,CAAC;IACrB,eAAe,EAAE,MAAM,IAAI,CAAC;CAC7B;AAED,eAAO,MAAM,MAAM,iDAAkD,WAAW,gBAoC/E,CAAC"}
@@ -1,24 +0,0 @@
1
- import React from 'react';
2
- import './header.css';
3
- import { Button } from '@secondstaxorg/sscomp';
4
- export var Header = function (_a) {
5
- var user = _a.user, onLogin = _a.onLogin, onLogout = _a.onLogout, onCreateAccount = _a.onCreateAccount;
6
- return (React.createElement("header", null,
7
- React.createElement("div", { className: "wrapper" },
8
- React.createElement("div", null,
9
- React.createElement("svg", { width: "32", height: "32", viewBox: "0 0 32 32", xmlns: "http://www.w3.org/2000/svg" },
10
- React.createElement("g", { fill: "none", fillRule: "evenodd" },
11
- React.createElement("path", { d: "M10 0h12a10 10 0 0110 10v12a10 10 0 01-10 10H10A10 10 0 010 22V10A10 10 0 0110 0z", fill: "#FFF" }),
12
- React.createElement("path", { d: "M5.3 10.6l10.4 6v11.1l-10.4-6v-11zm11.4-6.2l9.7 5.5-9.7 5.6V4.4z", fill: "#555AB9" }),
13
- React.createElement("path", { d: "M27.2 10.6v11.2l-10.5 6V16.5l10.5-6zM15.7 4.4v11L6 10l9.7-5.5z", fill: "#91BAF8" }))),
14
- React.createElement("h1", null, "Acme")),
15
- React.createElement("div", null, user ? (React.createElement(React.Fragment, null,
16
- React.createElement("span", { className: "welcome" },
17
- "Welcome, ",
18
- React.createElement("b", null, user.name),
19
- "!"),
20
- React.createElement(Button, { size: "sm", onClick: onLogout, label: "Log out" }))) : (React.createElement(React.Fragment, null,
21
- React.createElement(Button, { size: "sm", onClick: onLogin, label: "Log in" }),
22
- React.createElement(Button, { size: "sm", onClick: onCreateAccount, label: "Sign up" })))))));
23
- };
24
- //# sourceMappingURL=Header.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Header.js","sourceRoot":"","sources":["../../src/stories/Header.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,cAAc,CAAC;AACtB,OAAO,EAAC,MAAM,EAAC,MAAM,uBAAuB,CAAA;AAa5C,MAAM,CAAC,IAAM,MAAM,GAAG,UAAC,EAAyD;QAAvD,IAAI,UAAA,EAAE,OAAO,aAAA,EAAE,QAAQ,cAAA,EAAE,eAAe,qBAAA;IAAoB,OAAA,CACnF;QACE,6BAAK,SAAS,EAAC,SAAS;YACtB;gBACE,6BAAK,KAAK,EAAC,IAAI,EAAC,MAAM,EAAC,IAAI,EAAC,OAAO,EAAC,WAAW,EAAC,KAAK,EAAC,4BAA4B;oBAChF,2BAAG,IAAI,EAAC,MAAM,EAAC,QAAQ,EAAC,SAAS;wBAC/B,8BAAM,CAAC,EAAC,mFAAmF,EACzF,IAAI,EAAC,MAAM,GACX;wBACF,8BAAM,CAAC,EAAC,kEAAkE,EACxE,IAAI,EAAC,SAAS,GACd;wBACF,8BAAM,CAAC,EAAC,gEAAgE,EACtE,IAAI,EAAC,SAAS,GACd,CACA,CACA;gBACN,uCAAa,CACT;YACN,iCACG,IAAI,CAAC,CAAC,CAAC,CACN;gBACE,8BAAM,SAAS,EAAC,SAAS;;oBACd,+BAAI,IAAI,CAAC,IAAI,CAAK;wBACtB;gBACP,oBAAC,MAAM,IAAC,IAAI,EAAC,IAAI,EAAC,OAAO,EAAE,QAAQ,EAAE,KAAK,EAAC,SAAS,GAAG,CACtD,CACJ,CAAC,CAAC,CAAC,CACF;gBACE,oBAAC,MAAM,IAAC,IAAI,EAAC,IAAI,EAAC,OAAO,EAAE,OAAO,EAAE,KAAK,EAAC,QAAQ,GAAG;gBACrD,oBAAC,MAAM,IAAC,IAAI,EAAC,IAAI,EAAC,OAAO,EAAE,eAAe,EAAE,KAAK,EAAC,SAAS,GAAG,CAC7D,CACJ,CACG,CACF,CACC,CACV;AApCoF,CAoCpF,CAAC"}
@@ -1,30 +0,0 @@
1
- var __assign = (this && this.__assign) || function () {
2
- __assign = Object.assign || function(t) {
3
- for (var s, i = 1, n = arguments.length; i < n; i++) {
4
- s = arguments[i];
5
- for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
6
- t[p] = s[p];
7
- }
8
- return t;
9
- };
10
- return __assign.apply(this, arguments);
11
- };
12
- import React from 'react';
13
- import { Header } from './Header';
14
- export default {
15
- title: 'Example/Header',
16
- component: Header,
17
- parameters: {
18
- layout: 'fullscreen',
19
- },
20
- };
21
- var Template = function (args) { return React.createElement(Header, __assign({}, args)); };
22
- export var LoggedIn = Template.bind({});
23
- LoggedIn.args = {
24
- user: {
25
- name: 'Jane Doe',
26
- },
27
- };
28
- export var LoggedOut = Template.bind({});
29
- LoggedOut.args = {};
30
- //# sourceMappingURL=Header.stories.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Header.stories.js","sourceRoot":"","sources":["../../src/stories/Header.stories.tsx"],"names":[],"mappings":";;;;;;;;;;;AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;AAElC,eAAe;IACb,KAAK,EAAE,gBAAgB;IACvB,SAAS,EAAE,MAAM;IACjB,UAAU,EAAE;QACV,MAAM,EAAE,YAAY;KACrB;CAC8B,CAAC;AAElC,IAAM,QAAQ,GAAkC,UAAC,IAAI,IAAK,OAAA,oBAAC,MAAM,eAAK,IAAI,EAAI,EAApB,CAAoB,CAAC;AAE/E,MAAM,CAAC,IAAM,QAAQ,GAAG,QAAQ,CAAC,IAAI,CAAC,EAAE,CAAC,CAAC;AAC1C,QAAQ,CAAC,IAAI,GAAG;IACd,IAAI,EAAE;QACJ,IAAI,EAAE,UAAU;KACjB;CACF,CAAC;AAEF,MAAM,CAAC,IAAM,SAAS,GAAG,QAAQ,CAAC,IAAI,CAAC,EAAE,CAAC,CAAC;AAC3C,SAAS,CAAC,IAAI,GAAG,EAAE,CAAC"}
@@ -1,9 +0,0 @@
1
- /// <reference types="react" />
2
- import { ComponentStory } from "@storybook/react";
3
- declare const _default: {
4
- title: string;
5
- component: (props: import("../components/Indices/type").IndicesType) => JSX.Element;
6
- };
7
- export default _default;
8
- export declare const IndicesWidget: ComponentStory<(props: import("../components/Indices/type").IndicesType) => JSX.Element>;
9
- //# sourceMappingURL=Indices.stories.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Indices.stories.d.ts","sourceRoot":"","sources":["../../src/stories/Indices.stories.tsx"],"names":[],"mappings":";AAEA,OAAO,EAAC,cAAc,EAAC,MAAM,kBAAkB,CAAC;;;;;AAEhD,wBAGC;AAID,eAAO,MAAM,aAAa,0FAAoB,CAAC"}