@secondstaxorg/sscomp 1.0.8 → 1.0.9
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.
- package/dist/components/CountrySelector/CountrySelector.d.ts.map +1 -1
- package/dist/components/CountrySelector/CountrySelector.js +15 -1
- package/dist/components/CountrySelector/CountrySelector.js.map +1 -1
- package/dist/components/DatePicker/DatePicker.d.ts.map +1 -1
- package/dist/components/DatePicker/DatePicker.js +36 -106
- package/dist/components/DatePicker/DatePicker.js.map +1 -1
- package/dist/components/DatePicker/style.d.ts.map +1 -1
- package/dist/components/DatePicker/style.js +6 -14
- package/dist/components/DatePicker/style.js.map +1 -1
- package/dist/components/DropdownList/DropdownList.d.ts.map +1 -1
- package/dist/components/DropdownList/DropdownList.js +16 -3
- package/dist/components/DropdownList/DropdownList.js.map +1 -1
- package/dist/components/PasswordField/style.d.ts.map +1 -1
- package/dist/components/PasswordField/style.js +1 -1
- package/dist/components/PasswordField/style.js.map +1 -1
- package/dist/index.es.js +5 -22
- package/dist/index.es.js.map +1 -1
- package/dist/index.js +75 -1409
- package/dist/index.js.map +1 -1
- package/dist/index.min.js +5 -22
- package/dist/index.min.js.map +1 -1
- package/package.json +7 -4
- package/dist/stories/ActionResponse.stories.d.ts +0 -10
- package/dist/stories/ActionResponse.stories.d.ts.map +0 -1
- package/dist/stories/ActionResponse.stories.js +0 -31
- package/dist/stories/ActionResponse.stories.js.map +0 -1
- package/dist/stories/AppActionsTable.stories.d.ts +0 -9
- package/dist/stories/AppActionsTable.stories.d.ts.map +0 -1
- package/dist/stories/AppActionsTable.stories.js +0 -31
- package/dist/stories/AppActionsTable.stories.js.map +0 -1
- package/dist/stories/AppFormsTable.stories.d.ts +0 -9
- package/dist/stories/AppFormsTable.stories.d.ts.map +0 -1
- package/dist/stories/AppFormsTable.stories.js +0 -31
- package/dist/stories/AppFormsTable.stories.js.map +0 -1
- package/dist/stories/AppModulesTable.stories.d.ts +0 -9
- package/dist/stories/AppModulesTable.stories.d.ts.map +0 -1
- package/dist/stories/AppModulesTable.stories.js +0 -31
- package/dist/stories/AppModulesTable.stories.js.map +0 -1
- package/dist/stories/AuditLog.stories.d.ts +0 -9
- package/dist/stories/AuditLog.stories.d.ts.map +0 -1
- package/dist/stories/AuditLog.stories.js +0 -47
- package/dist/stories/AuditLog.stories.js.map +0 -1
- package/dist/stories/BankAccounts.stories.d.ts +0 -9
- package/dist/stories/BankAccounts.stories.d.ts.map +0 -1
- package/dist/stories/BankAccounts.stories.js +0 -49
- package/dist/stories/BankAccounts.stories.js.map +0 -1
- package/dist/stories/BankSelector.stories.d.ts +0 -9
- package/dist/stories/BankSelector.stories.d.ts.map +0 -1
- package/dist/stories/BankSelector.stories.js +0 -39
- package/dist/stories/BankSelector.stories.js.map +0 -1
- package/dist/stories/BreradcrumbBar.stories.d.ts +0 -9
- package/dist/stories/BreradcrumbBar.stories.d.ts.map +0 -1
- package/dist/stories/BreradcrumbBar.stories.js +0 -32
- package/dist/stories/BreradcrumbBar.stories.js.map +0 -1
- package/dist/stories/BrokersTable.stories.d.ts +0 -9
- package/dist/stories/BrokersTable.stories.d.ts.map +0 -1
- package/dist/stories/BrokersTable.stories.js +0 -33
- package/dist/stories/BrokersTable.stories.js.map +0 -1
- package/dist/stories/Button.stories.d.ts +0 -7
- package/dist/stories/Button.stories.d.ts.map +0 -1
- package/dist/stories/Button.stories.js +0 -35
- package/dist/stories/Button.stories.js.map +0 -1
- package/dist/stories/Chart.stories.d.ts +0 -11
- package/dist/stories/Chart.stories.d.ts.map +0 -1
- package/dist/stories/Chart.stories.js +0 -48
- package/dist/stories/Chart.stories.js.map +0 -1
- package/dist/stories/CookieConsent.stories.d.ts +0 -9
- package/dist/stories/CookieConsent.stories.d.ts.map +0 -1
- package/dist/stories/CookieConsent.stories.js +0 -25
- package/dist/stories/CookieConsent.stories.js.map +0 -1
- package/dist/stories/CountrySelector.stories.d.ts +0 -9
- package/dist/stories/CountrySelector.stories.d.ts.map +0 -1
- package/dist/stories/CountrySelector.stories.js +0 -72
- package/dist/stories/CountrySelector.stories.js.map +0 -1
- package/dist/stories/CurrencyPairs.stories.d.ts +0 -9
- package/dist/stories/CurrencyPairs.stories.d.ts.map +0 -1
- package/dist/stories/CurrencyPairs.stories.js +0 -34
- package/dist/stories/CurrencyPairs.stories.js.map +0 -1
- package/dist/stories/DatePicker.stories.d.ts +0 -9
- package/dist/stories/DatePicker.stories.d.ts.map +0 -1
- package/dist/stories/DatePicker.stories.js +0 -27
- package/dist/stories/DatePicker.stories.js.map +0 -1
- package/dist/stories/DropShadows.stories.d.ts +0 -9
- package/dist/stories/DropShadows.stories.d.ts.map +0 -1
- package/dist/stories/DropShadows.stories.js +0 -25
- package/dist/stories/DropShadows.stories.js.map +0 -1
- package/dist/stories/DropdownList.stories.d.ts +0 -9
- package/dist/stories/DropdownList.stories.d.ts.map +0 -1
- package/dist/stories/DropdownList.stories.js +0 -48
- package/dist/stories/DropdownList.stories.js.map +0 -1
- package/dist/stories/ExchangeRates.stories.d.ts +0 -9
- package/dist/stories/ExchangeRates.stories.d.ts.map +0 -1
- package/dist/stories/ExchangeRates.stories.js +0 -43
- package/dist/stories/ExchangeRates.stories.js.map +0 -1
- package/dist/stories/Footer.stories.d.ts +0 -8
- package/dist/stories/Footer.stories.d.ts.map +0 -1
- package/dist/stories/Footer.stories.js +0 -8
- package/dist/stories/Footer.stories.js.map +0 -1
- package/dist/stories/Header.d.ts +0 -14
- package/dist/stories/Header.d.ts.map +0 -1
- package/dist/stories/Header.js +0 -24
- package/dist/stories/Header.js.map +0 -1
- package/dist/stories/Header.stories.js +0 -30
- package/dist/stories/Header.stories.js.map +0 -1
- package/dist/stories/Indices.stories.d.ts +0 -9
- package/dist/stories/Indices.stories.d.ts.map +0 -1
- package/dist/stories/Indices.stories.js +0 -46
- package/dist/stories/Indices.stories.js.map +0 -1
- package/dist/stories/LPRequestTable.stories.d.ts +0 -9
- package/dist/stories/LPRequestTable.stories.d.ts.map +0 -1
- package/dist/stories/LPRequestTable.stories.js +0 -52
- package/dist/stories/LPRequestTable.stories.js.map +0 -1
- package/dist/stories/LPSideNav.stories.d.ts +0 -9
- package/dist/stories/LPSideNav.stories.d.ts.map +0 -1
- package/dist/stories/LPSideNav.stories.js +0 -52
- package/dist/stories/LPSideNav.stories.js.map +0 -1
- package/dist/stories/LPTopBar.stories.d.ts +0 -9
- package/dist/stories/LPTopBar.stories.d.ts.map +0 -1
- package/dist/stories/LPTopBar.stories.js +0 -54
- package/dist/stories/LPTopBar.stories.js.map +0 -1
- package/dist/stories/LoadingShimmer.stories.d.ts +0 -9
- package/dist/stories/LoadingShimmer.stories.d.ts.map +0 -1
- package/dist/stories/LoadingShimmer.stories.js +0 -25
- package/dist/stories/LoadingShimmer.stories.js.map +0 -1
- package/dist/stories/MarketData.stories.d.ts +0 -9
- package/dist/stories/MarketData.stories.d.ts.map +0 -1
- package/dist/stories/MarketData.stories.js +0 -38
- package/dist/stories/MarketData.stories.js.map +0 -1
- package/dist/stories/MarketMovers.stories.d.ts +0 -9
- package/dist/stories/MarketMovers.stories.d.ts.map +0 -1
- package/dist/stories/MarketMovers.stories.js +0 -52
- package/dist/stories/MarketMovers.stories.js.map +0 -1
- package/dist/stories/MenuBar.stories.d.ts +0 -9
- package/dist/stories/MenuBar.stories.d.ts.map +0 -1
- package/dist/stories/MenuBar.stories.js +0 -45
- package/dist/stories/MenuBar.stories.js.map +0 -1
- package/dist/stories/NewsCard.stories.d.ts +0 -9
- package/dist/stories/NewsCard.stories.d.ts.map +0 -1
- package/dist/stories/NewsCard.stories.js +0 -30
- package/dist/stories/NewsCard.stories.js.map +0 -1
- package/dist/stories/NewsFilterBar.stories.d.ts +0 -9
- package/dist/stories/NewsFilterBar.stories.d.ts.map +0 -1
- package/dist/stories/NewsFilterBar.stories.js +0 -96
- package/dist/stories/NewsFilterBar.stories.js.map +0 -1
- package/dist/stories/NewsSourceTag.stories.d.ts +0 -9
- package/dist/stories/NewsSourceTag.stories.d.ts.map +0 -1
- package/dist/stories/NewsSourceTag.stories.js +0 -25
- package/dist/stories/NewsSourceTag.stories.js.map +0 -1
- package/dist/stories/NewsTitleBar.stories.d.ts +0 -9
- package/dist/stories/NewsTitleBar.stories.d.ts.map +0 -1
- package/dist/stories/NewsTitleBar.stories.js +0 -23
- package/dist/stories/NewsTitleBar.stories.js.map +0 -1
- package/dist/stories/Page.d.ts +0 -4
- package/dist/stories/Page.d.ts.map +0 -1
- package/dist/stories/Page.js +0 -38
- package/dist/stories/Page.js.map +0 -1
- package/dist/stories/Page.stories.d.ts +0 -7
- package/dist/stories/Page.stories.d.ts.map +0 -1
- package/dist/stories/Page.stories.js +0 -82
- package/dist/stories/Page.stories.js.map +0 -1
- package/dist/stories/PasswordField.stories.d.ts +0 -9
- package/dist/stories/PasswordField.stories.d.ts.map +0 -1
- package/dist/stories/PasswordField.stories.js +0 -26
- package/dist/stories/PasswordField.stories.js.map +0 -1
- package/dist/stories/PaymentMethods.stories.d.ts +0 -9
- package/dist/stories/PaymentMethods.stories.d.ts.map +0 -1
- package/dist/stories/PaymentMethods.stories.js +0 -32
- package/dist/stories/PaymentMethods.stories.js.map +0 -1
- package/dist/stories/ProvidersTable.stories.d.ts +0 -9
- package/dist/stories/ProvidersTable.stories.d.ts.map +0 -1
- package/dist/stories/ProvidersTable.stories.js +0 -32
- package/dist/stories/ProvidersTable.stories.js.map +0 -1
- package/dist/stories/RateHistory.stories.d.ts +0 -9
- package/dist/stories/RateHistory.stories.d.ts.map +0 -1
- package/dist/stories/RateHistory.stories.js +0 -44
- package/dist/stories/RateHistory.stories.js.map +0 -1
- package/dist/stories/RequestForm.stories.d.ts +0 -9
- package/dist/stories/RequestForm.stories.d.ts.map +0 -1
- package/dist/stories/RequestForm.stories.js +0 -129
- package/dist/stories/RequestForm.stories.js.map +0 -1
- package/dist/stories/Ribbon.stories.d.ts +0 -9
- package/dist/stories/Ribbon.stories.d.ts.map +0 -1
- package/dist/stories/Ribbon.stories.js +0 -33
- package/dist/stories/Ribbon.stories.js.map +0 -1
- package/dist/stories/SSXBar.stories.d.ts +0 -8
- package/dist/stories/SSXBar.stories.d.ts.map +0 -1
- package/dist/stories/SSXBar.stories.js +0 -8
- package/dist/stories/SSXBar.stories.js.map +0 -1
- package/dist/stories/SearchBar.stories.d.ts +0 -9
- package/dist/stories/SearchBar.stories.d.ts.map +0 -1
- package/dist/stories/SearchBar.stories.js +0 -24
- package/dist/stories/SearchBar.stories.js.map +0 -1
- package/dist/stories/SearchResultsBar.stories.d.ts +0 -9
- package/dist/stories/SearchResultsBar.stories.d.ts.map +0 -1
- package/dist/stories/SearchResultsBar.stories.js +0 -25
- package/dist/stories/SearchResultsBar.stories.js.map +0 -1
- package/dist/stories/SideModal.stories.d.ts +0 -8
- package/dist/stories/SideModal.stories.d.ts.map +0 -1
- package/dist/stories/SideModal.stories.js +0 -9
- package/dist/stories/SideModal.stories.js.map +0 -1
- package/dist/stories/SmallNewsCard.stories.d.ts +0 -9
- package/dist/stories/SmallNewsCard.stories.d.ts.map +0 -1
- package/dist/stories/SmallNewsCard.stories.js +0 -28
- package/dist/stories/SmallNewsCard.stories.js.map +0 -1
- package/dist/stories/SpinnerLoader.stories.d.ts +0 -8
- package/dist/stories/SpinnerLoader.stories.d.ts.map +0 -1
- package/dist/stories/SpinnerLoader.stories.js +0 -8
- package/dist/stories/SpinnerLoader.stories.js.map +0 -1
- package/dist/stories/StatusBadge.stories.d.ts +0 -9
- package/dist/stories/StatusBadge.stories.d.ts.map +0 -1
- package/dist/stories/StatusBadge.stories.js +0 -24
- package/dist/stories/StatusBadge.stories.js.map +0 -1
- package/dist/stories/StocksTicker.stories.d.ts +0 -9
- package/dist/stories/StocksTicker.stories.d.ts.map +0 -1
- package/dist/stories/StocksTicker.stories.js +0 -392
- package/dist/stories/StocksTicker.stories.js.map +0 -1
- package/dist/stories/SystemConfig.stories.d.ts +0 -9
- package/dist/stories/SystemConfig.stories.d.ts.map +0 -1
- package/dist/stories/SystemConfig.stories.js +0 -32
- package/dist/stories/SystemConfig.stories.js.map +0 -1
- package/dist/stories/Tab.stories.d.ts +0 -9
- package/dist/stories/Tab.stories.d.ts.map +0 -1
- package/dist/stories/Tab.stories.js +0 -43
- package/dist/stories/Tab.stories.js.map +0 -1
- package/dist/stories/Table.stories.d.ts +0 -10
- package/dist/stories/Table.stories.d.ts.map +0 -1
- package/dist/stories/Table.stories.js +0 -34
- package/dist/stories/Table.stories.js.map +0 -1
- package/dist/stories/TextArea.stories.d.ts +0 -6
- package/dist/stories/TextArea.stories.d.ts.map +0 -1
- package/dist/stories/TextArea.stories.js +0 -26
- package/dist/stories/TextArea.stories.js.map +0 -1
- package/dist/stories/TextField.stories.d.ts +0 -6
- package/dist/stories/TextField.stories.d.ts.map +0 -1
- package/dist/stories/TextField.stories.js +0 -26
- package/dist/stories/TextField.stories.js.map +0 -1
- package/dist/stories/TransactionDetails.stories.d.ts +0 -9
- package/dist/stories/TransactionDetails.stories.d.ts.map +0 -1
- package/dist/stories/TransactionDetails.stories.js +0 -44
- package/dist/stories/TransactionDetails.stories.js.map +0 -1
- package/dist/stories/TransactionDetailsWithPayment.stories.d.ts +0 -9
- package/dist/stories/TransactionDetailsWithPayment.stories.d.ts.map +0 -1
- package/dist/stories/TransactionDetailsWithPayment.stories.js +0 -44
- package/dist/stories/TransactionDetailsWithPayment.stories.js.map +0 -1
- package/dist/stories/UpdateUserActions.stories.d.ts +0 -9
- package/dist/stories/UpdateUserActions.stories.d.ts.map +0 -1
- package/dist/stories/UpdateUserActions.stories.js +0 -43
- package/dist/stories/UpdateUserActions.stories.js.map +0 -1
- package/dist/stories/UserActions.stories.d.ts +0 -9
- package/dist/stories/UserActions.stories.d.ts.map +0 -1
- package/dist/stories/UserActions.stories.js +0 -43
- package/dist/stories/UserActions.stories.js.map +0 -1
- package/dist/stories/UserRolesTable.stories.d.ts +0 -9
- package/dist/stories/UserRolesTable.stories.d.ts.map +0 -1
- package/dist/stories/UserRolesTable.stories.js +0 -36
- package/dist/stories/UserRolesTable.stories.js.map +0 -1
- package/dist/stories/UsersTable.stories.d.ts +0 -9
- package/dist/stories/UsersTable.stories.d.ts.map +0 -1
- package/dist/stories/UsersTable.stories.js +0 -40
- package/dist/stories/UsersTable.stories.js.map +0 -1
- package/dist/stories/WidgetTitle.stories.d.ts +0 -9
- package/dist/stories/WidgetTitle.stories.d.ts.map +0 -1
- package/dist/stories/WidgetTitle.stories.js +0 -23
- package/dist/stories/WidgetTitle.stories.js.map +0 -1
|
@@ -1,96 +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 NewsFilterBar from "../components/NewsFilterBar/NewsFilterBar";
|
|
14
|
-
export default {
|
|
15
|
-
title: 'News Filter Bar',
|
|
16
|
-
component: NewsFilterBar
|
|
17
|
-
};
|
|
18
|
-
var countries = [
|
|
19
|
-
{
|
|
20
|
-
"value": "USD",
|
|
21
|
-
"label": "US DOLLAR",
|
|
22
|
-
},
|
|
23
|
-
{
|
|
24
|
-
"value": "CAD",
|
|
25
|
-
"label": "CANADIAN DOLLAR",
|
|
26
|
-
},
|
|
27
|
-
{
|
|
28
|
-
"value": "EUR",
|
|
29
|
-
"label": "EURO",
|
|
30
|
-
},
|
|
31
|
-
{
|
|
32
|
-
"value": "GHS",
|
|
33
|
-
"label": "GHANA CEDI",
|
|
34
|
-
},
|
|
35
|
-
{
|
|
36
|
-
"value": "XOF",
|
|
37
|
-
"label": "CFA FRANC (BCEAO)",
|
|
38
|
-
},
|
|
39
|
-
{
|
|
40
|
-
"value": "KES",
|
|
41
|
-
"label": "KENYA SHILLING",
|
|
42
|
-
},
|
|
43
|
-
{
|
|
44
|
-
"value": "ZAR",
|
|
45
|
-
"label": "SOUTH AFRICAN RAND",
|
|
46
|
-
},
|
|
47
|
-
{
|
|
48
|
-
"value": "GBP",
|
|
49
|
-
"label": "GREAT BRITAIN POUND",
|
|
50
|
-
},
|
|
51
|
-
{
|
|
52
|
-
"value": "NGN",
|
|
53
|
-
"label": "NIGERIAN NAIRA",
|
|
54
|
-
}
|
|
55
|
-
];
|
|
56
|
-
var outlets = [
|
|
57
|
-
{
|
|
58
|
-
"value": "citi",
|
|
59
|
-
"label": "Citi Business News"
|
|
60
|
-
},
|
|
61
|
-
{
|
|
62
|
-
"value": "daily",
|
|
63
|
-
"label": "Business Daily Africa"
|
|
64
|
-
},
|
|
65
|
-
{
|
|
66
|
-
"value": "naira",
|
|
67
|
-
"label": "Nairametrics"
|
|
68
|
-
},
|
|
69
|
-
{
|
|
70
|
-
"value": "businessday",
|
|
71
|
-
"label": "Business day"
|
|
72
|
-
},
|
|
73
|
-
{
|
|
74
|
-
"value": "premiumtimesng",
|
|
75
|
-
"label": "Premiumtimes Ng"
|
|
76
|
-
},
|
|
77
|
-
{
|
|
78
|
-
"value": "wallstreet",
|
|
79
|
-
"label": "Kenyan Wall Street"
|
|
80
|
-
},
|
|
81
|
-
{
|
|
82
|
-
"value": "thebftonline.com",
|
|
83
|
-
"label": "thebftonline.com"
|
|
84
|
-
},
|
|
85
|
-
{
|
|
86
|
-
"value": "joy",
|
|
87
|
-
"label": "MyJoyOnline"
|
|
88
|
-
}
|
|
89
|
-
];
|
|
90
|
-
var Template = function (args) { return React.createElement(NewsFilterBar, __assign({}, args)); };
|
|
91
|
-
export var FilterBar = Template.bind({});
|
|
92
|
-
FilterBar.args = {
|
|
93
|
-
countries: countries,
|
|
94
|
-
outlets: outlets
|
|
95
|
-
};
|
|
96
|
-
//# sourceMappingURL=NewsFilterBar.stories.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"NewsFilterBar.stories.js","sourceRoot":"","sources":["../../src/stories/NewsFilterBar.stories.tsx"],"names":[],"mappings":";;;;;;;;;;;AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,aAAa,MAAM,2CAA2C,CAAC;AAGtE,eAAe;IACX,KAAK,EAAC,iBAAiB;IACvB,SAAS,EAAC,aAAa;CAC1B,CAAA;AAED,IAAM,SAAS,GAAG;IACd;QACI,OAAO,EAAE,KAAK;QACd,OAAO,EAAE,WAAW;KACvB;IACD;QACI,OAAO,EAAE,KAAK;QACd,OAAO,EAAE,iBAAiB;KAC7B;IACD;QACI,OAAO,EAAE,KAAK;QACd,OAAO,EAAE,MAAM;KAClB;IACD;QACI,OAAO,EAAE,KAAK;QACd,OAAO,EAAE,YAAY;KACxB;IACD;QACI,OAAO,EAAE,KAAK;QACd,OAAO,EAAE,mBAAmB;KAC/B;IACD;QACI,OAAO,EAAE,KAAK;QACd,OAAO,EAAE,gBAAgB;KAC5B;IACD;QACI,OAAO,EAAE,KAAK;QACd,OAAO,EAAE,oBAAoB;KAChC;IACD;QACI,OAAO,EAAE,KAAK;QACd,OAAO,EAAE,qBAAqB;KACjC;IACD;QACI,OAAO,EAAE,KAAK;QACd,OAAO,EAAE,gBAAgB;KAC5B;CACJ,CAAA;AAED,IAAM,OAAO,GAAG;IACZ;QACI,OAAO,EAAE,MAAM;QACf,OAAO,EAAE,oBAAoB;KAChC;IACD;QACI,OAAO,EAAE,OAAO;QAChB,OAAO,EAAE,uBAAuB;KACnC;IACD;QACI,OAAO,EAAE,OAAO;QAChB,OAAO,EAAE,cAAc;KAC1B;IACD;QACI,OAAO,EAAE,aAAa;QACtB,OAAO,EAAE,cAAc;KAC1B;IACD;QACI,OAAO,EAAE,gBAAgB;QACzB,OAAO,EAAE,iBAAiB;KAC7B;IACD;QACI,OAAO,EAAE,YAAY;QACrB,OAAO,EAAE,oBAAoB;KAChC;IACD;QACI,OAAO,EAAE,kBAAkB;QAC3B,OAAO,EAAE,kBAAkB;KAC9B;IACD;QACI,OAAO,EAAE,KAAK;QACd,OAAO,EAAE,aAAa;KACzB;CACJ,CAAA;AAED,IAAM,QAAQ,GAAyC,UAAC,IAAI,IAAK,OAAA,oBAAC,aAAa,eAAK,IAAI,EAAG,EAA1B,CAA0B,CAAC;AAE5F,MAAM,CAAC,IAAM,SAAS,GAAG,QAAQ,CAAC,IAAI,CAAC,EAAE,CAAC,CAAC;AAC3C,SAAS,CAAC,IAAI,GAAG;IACb,SAAS,EAAE,SAAS;IACpB,OAAO,EAAC,OAAO;CAClB,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/NewsSourceTag/type").TagProps) => JSX.Element;
|
|
6
|
-
};
|
|
7
|
-
export default _default;
|
|
8
|
-
export declare const TagDets: ComponentStory<(props: import("../components/NewsSourceTag/type").TagProps) => JSX.Element>;
|
|
9
|
-
//# sourceMappingURL=NewsSourceTag.stories.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"NewsSourceTag.stories.d.ts","sourceRoot":"","sources":["../../src/stories/NewsSourceTag.stories.tsx"],"names":[],"mappings":";AACA,OAAO,EAAC,cAAc,EAAC,MAAM,kBAAkB,CAAC;;;;;AAGhD,wBAGC;AAID,eAAO,MAAM,OAAO,6FAAoB,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 NewsSourceTag from "../components/NewsSourceTag/NewsSourceTag";
|
|
13
|
-
import React from "react";
|
|
14
|
-
export default {
|
|
15
|
-
title: 'News Source Tag',
|
|
16
|
-
component: NewsSourceTag
|
|
17
|
-
};
|
|
18
|
-
var Template = function (args) { return React.createElement(NewsSourceTag, __assign({}, args)); };
|
|
19
|
-
export var TagDets = Template.bind({});
|
|
20
|
-
TagDets.args = {
|
|
21
|
-
flag: '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',
|
|
22
|
-
source: 'NairaMetrics',
|
|
23
|
-
date: '09 Dec 2022'
|
|
24
|
-
};
|
|
25
|
-
//# sourceMappingURL=NewsSourceTag.stories.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"NewsSourceTag.stories.js","sourceRoot":"","sources":["../../src/stories/NewsSourceTag.stories.tsx"],"names":[],"mappings":";;;;;;;;;;;AAAA,OAAO,aAAa,MAAM,2CAA2C,CAAC;AAEtE,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,eAAc;IACV,KAAK,EAAE,iBAAiB;IACxB,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,OAAO,GAAG,QAAQ,CAAC,IAAI,CAAC,EAAE,CAAC,CAAC;AACzC,OAAO,CAAC,IAAI,GAAG;IACX,IAAI,EAAC,sMAAsM;IAC3M,MAAM,EAAC,cAAc;IACrB,IAAI,EAAE,aAAa;CACtB,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/NewsTitleBar/type").NewsBarProps) => JSX.Element;
|
|
6
|
-
};
|
|
7
|
-
export default _default;
|
|
8
|
-
export declare const TitleBar: ComponentStory<(props: import("../components/NewsTitleBar/type").NewsBarProps) => JSX.Element>;
|
|
9
|
-
//# sourceMappingURL=NewsTitleBar.stories.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"NewsTitleBar.stories.d.ts","sourceRoot":"","sources":["../../src/stories/NewsTitleBar.stories.tsx"],"names":[],"mappings":";AAEA,OAAO,EAAC,cAAc,EAAC,MAAM,kBAAkB,CAAC;;;;;AAChD,wBAGC;AAID,eAAO,MAAM,QAAQ,gGAAoB,CAAC"}
|
|
@@ -1,23 +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 NewsTitleBar from "../components/NewsTitleBar/NewsTitleBar";
|
|
14
|
-
export default {
|
|
15
|
-
title: 'News Title Bar',
|
|
16
|
-
component: NewsTitleBar
|
|
17
|
-
};
|
|
18
|
-
var Template = function (args) { return React.createElement(NewsTitleBar, __assign({}, args)); };
|
|
19
|
-
export var TitleBar = Template.bind({});
|
|
20
|
-
TitleBar.args = {
|
|
21
|
-
title: 'News Highlights'
|
|
22
|
-
};
|
|
23
|
-
//# sourceMappingURL=NewsTitleBar.stories.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"NewsTitleBar.stories.js","sourceRoot":"","sources":["../../src/stories/NewsTitleBar.stories.tsx"],"names":[],"mappings":";;;;;;;;;;;AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,YAAY,MAAM,yCAAyC,CAAC;AAEnE,eAAe;IACX,KAAK,EAAC,gBAAgB;IACtB,SAAS,EAAC,YAAY;CACzB,CAAA;AAED,IAAM,QAAQ,GAAwC,UAAC,IAAI,IAAK,OAAA,oBAAC,YAAY,eAAK,IAAI,EAAG,EAAzB,CAAyB,CAAC;AAE1F,MAAM,CAAC,IAAM,QAAQ,GAAG,QAAQ,CAAC,IAAI,CAAC,EAAE,CAAC,CAAC;AAC1C,QAAQ,CAAC,IAAI,GAAG;IACZ,KAAK,EAAC,iBAAiB;CAC1B,CAAA"}
|
package/dist/stories/Page.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Page.d.ts","sourceRoot":"","sources":["../../src/stories/Page.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,OAAO,YAAY,CAAC;AAMpB,eAAO,MAAM,IAAI,EAAE,KAAK,CAAC,GA+DxB,CAAC"}
|
package/dist/stories/Page.js
DELETED
|
@@ -1,38 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { Header } from './Header';
|
|
3
|
-
import './page.css';
|
|
4
|
-
export var Page = function () {
|
|
5
|
-
var _a = React.useState(), user = _a[0], setUser = _a[1];
|
|
6
|
-
return (React.createElement("article", null,
|
|
7
|
-
React.createElement(Header, { user: user, onLogin: function () { return setUser({ name: 'Jane Doe' }); }, onLogout: function () { return setUser(undefined); }, onCreateAccount: function () { return setUser({ name: 'Jane Doe' }); } }),
|
|
8
|
-
React.createElement("section", null,
|
|
9
|
-
React.createElement("h2", null, "Pages in Storybook"),
|
|
10
|
-
React.createElement("p", null,
|
|
11
|
-
"We recommend building UIs with a",
|
|
12
|
-
' ',
|
|
13
|
-
React.createElement("a", { href: "https://componentdriven.org", target: "_blank", rel: "noopener noreferrer" },
|
|
14
|
-
React.createElement("strong", null, "component-driven")),
|
|
15
|
-
' ',
|
|
16
|
-
"process starting with atomic components and ending with pages."),
|
|
17
|
-
React.createElement("p", null, "Render pages with mock data. This makes it easy to build and review page states without needing to navigate to them in your app. Here are some handy patterns for managing page data in Storybook:"),
|
|
18
|
-
React.createElement("ul", null,
|
|
19
|
-
React.createElement("li", null, "Use a higher-level connected component. Storybook helps you compose such data from the \"args\" of child component stories"),
|
|
20
|
-
React.createElement("li", null, "Assemble data in the page component from your services. You can mock these services out using Storybook.")),
|
|
21
|
-
React.createElement("p", null,
|
|
22
|
-
"Get a guided tutorial on component-driven development at",
|
|
23
|
-
' ',
|
|
24
|
-
React.createElement("a", { href: "https://storybook.js.org/tutorials/", target: "_blank", rel: "noopener noreferrer" }, "Storybook tutorials"),
|
|
25
|
-
". Read more in the",
|
|
26
|
-
' ',
|
|
27
|
-
React.createElement("a", { href: "https://storybook.js.org/docs", target: "_blank", rel: "noopener noreferrer" }, "docs"),
|
|
28
|
-
"."),
|
|
29
|
-
React.createElement("div", { className: "tip-wrapper" },
|
|
30
|
-
React.createElement("span", { className: "tip" }, "Tip"),
|
|
31
|
-
" Adjust the width of the canvas with the",
|
|
32
|
-
' ',
|
|
33
|
-
React.createElement("svg", { width: "10", height: "10", viewBox: "0 0 12 12", xmlns: "http://www.w3.org/2000/svg" },
|
|
34
|
-
React.createElement("g", { fill: "none", fillRule: "evenodd" },
|
|
35
|
-
React.createElement("path", { d: "M1.5 5.2h4.8c.3 0 .5.2.5.4v5.1c-.1.2-.3.3-.4.3H1.4a.5.5 0 01-.5-.4V5.7c0-.3.2-.5.5-.5zm0-2.1h6.9c.3 0 .5.2.5.4v7a.5.5 0 01-1 0V4H1.5a.5.5 0 010-1zm0-2.1h9c.3 0 .5.2.5.4v9.1a.5.5 0 01-1 0V2H1.5a.5.5 0 010-1zm4.3 5.2H2V10h3.8V6.2z", id: "a", fill: "#999" }))),
|
|
36
|
-
"Viewports addon in the toolbar"))));
|
|
37
|
-
};
|
|
38
|
-
//# sourceMappingURL=Page.js.map
|
package/dist/stories/Page.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Page.js","sourceRoot":"","sources":["../../src/stories/Page.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;AAClC,OAAO,YAAY,CAAC;AAMpB,MAAM,CAAC,IAAM,IAAI,GAAc;IACvB,IAAA,KAAkB,KAAK,CAAC,QAAQ,EAAQ,EAAvC,IAAI,QAAA,EAAE,OAAO,QAA0B,CAAC;IAE/C,OAAO,CACL;QACE,oBAAC,MAAM,IACL,IAAI,EAAE,IAAI,EACV,OAAO,EAAE,cAAM,OAAA,OAAO,CAAC,EAAE,IAAI,EAAE,UAAU,EAAE,CAAC,EAA7B,CAA6B,EAC5C,QAAQ,EAAE,cAAM,OAAA,OAAO,CAAC,SAAS,CAAC,EAAlB,CAAkB,EAClC,eAAe,EAAE,cAAM,OAAA,OAAO,CAAC,EAAE,IAAI,EAAE,UAAU,EAAE,CAAC,EAA7B,CAA6B,GACpD;QAEF;YACE,qDAA2B;YAC3B;;gBACmC,GAAG;gBACpC,2BAAG,IAAI,EAAC,6BAA6B,EAAC,MAAM,EAAC,QAAQ,EAAC,GAAG,EAAC,qBAAqB;oBAC7E,uDAAiC,CAC/B;gBAAC,GAAG;iFAEN;YACJ,oOAII;YACJ;gBACE,6JAGK;gBACL,2IAGK,CACF;YACL;;gBAC2D,GAAG;gBAC5D,2BAAG,IAAI,EAAC,qCAAqC,EAAC,MAAM,EAAC,QAAQ,EAAC,GAAG,EAAC,qBAAqB,0BAEnF;;gBACe,GAAG;gBACtB,2BAAG,IAAI,EAAC,+BAA+B,EAAC,MAAM,EAAC,QAAQ,EAAC,GAAG,EAAC,qBAAqB,WAE7E;oBAEF;YACJ,6BAAK,SAAS,EAAC,aAAa;gBAC1B,8BAAM,SAAS,EAAC,KAAK,UAAW;;gBAAyC,GAAG;gBAC5E,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,8BACE,CAAC,EAAC,sOAAsO,EACxO,EAAE,EAAC,GAAG,EACN,IAAI,EAAC,MAAM,GACX,CACA,CACA;iDAEF,CACE,CACF,CACX,CAAC;AACJ,CAAC,CAAC"}
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { ComponentStory, ComponentMeta } from '@storybook/react';
|
|
3
|
-
declare const _default: ComponentMeta<React.VFC<{}>>;
|
|
4
|
-
export default _default;
|
|
5
|
-
export declare const LoggedOut: ComponentStory<React.VFC<{}>>;
|
|
6
|
-
export declare const LoggedIn: ComponentStory<React.VFC<{}>>;
|
|
7
|
-
//# sourceMappingURL=Page.stories.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Page.stories.d.ts","sourceRoot":"","sources":["../../src/stories/Page.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,cAAc,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;;AAIjE,wBAOgC;AAIhC,eAAO,MAAM,SAAS,+BAAoB,CAAC;AAE3C,eAAO,MAAM,QAAQ,+BAAoB,CAAC"}
|
|
@@ -1,82 +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
|
-
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
13
|
-
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
14
|
-
return new (P || (P = Promise))(function (resolve, reject) {
|
|
15
|
-
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
16
|
-
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
17
|
-
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
18
|
-
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
19
|
-
});
|
|
20
|
-
};
|
|
21
|
-
var __generator = (this && this.__generator) || function (thisArg, body) {
|
|
22
|
-
var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
|
|
23
|
-
return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
|
|
24
|
-
function verb(n) { return function (v) { return step([n, v]); }; }
|
|
25
|
-
function step(op) {
|
|
26
|
-
if (f) throw new TypeError("Generator is already executing.");
|
|
27
|
-
while (_) try {
|
|
28
|
-
if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
|
|
29
|
-
if (y = 0, t) op = [op[0] & 2, t.value];
|
|
30
|
-
switch (op[0]) {
|
|
31
|
-
case 0: case 1: t = op; break;
|
|
32
|
-
case 4: _.label++; return { value: op[1], done: false };
|
|
33
|
-
case 5: _.label++; y = op[1]; op = [0]; continue;
|
|
34
|
-
case 7: op = _.ops.pop(); _.trys.pop(); continue;
|
|
35
|
-
default:
|
|
36
|
-
if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }
|
|
37
|
-
if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }
|
|
38
|
-
if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }
|
|
39
|
-
if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }
|
|
40
|
-
if (t[2]) _.ops.pop();
|
|
41
|
-
_.trys.pop(); continue;
|
|
42
|
-
}
|
|
43
|
-
op = body.call(thisArg, _);
|
|
44
|
-
} catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }
|
|
45
|
-
if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };
|
|
46
|
-
}
|
|
47
|
-
};
|
|
48
|
-
import React from 'react';
|
|
49
|
-
import { within, userEvent } from '@storybook/testing-library';
|
|
50
|
-
import { Page } from './Page';
|
|
51
|
-
export default {
|
|
52
|
-
title: 'Example/Page',
|
|
53
|
-
component: Page,
|
|
54
|
-
parameters: {
|
|
55
|
-
// More on Story layout: https://storybook.js.org/docs/react/configure/story-layout
|
|
56
|
-
layout: 'fullscreen',
|
|
57
|
-
},
|
|
58
|
-
};
|
|
59
|
-
var Template = function (args) { return React.createElement(Page, __assign({}, args)); };
|
|
60
|
-
export var LoggedOut = Template.bind({});
|
|
61
|
-
export var LoggedIn = Template.bind({});
|
|
62
|
-
// More on interaction testing: https://storybook.js.org/docs/react/writing-tests/interaction-testing
|
|
63
|
-
LoggedIn.play = function (_a) {
|
|
64
|
-
var canvasElement = _a.canvasElement;
|
|
65
|
-
return __awaiter(void 0, void 0, void 0, function () {
|
|
66
|
-
var canvas, loginButton;
|
|
67
|
-
return __generator(this, function (_b) {
|
|
68
|
-
switch (_b.label) {
|
|
69
|
-
case 0:
|
|
70
|
-
canvas = within(canvasElement);
|
|
71
|
-
return [4 /*yield*/, canvas.getByRole('button', { name: /Log in/i })];
|
|
72
|
-
case 1:
|
|
73
|
-
loginButton = _b.sent();
|
|
74
|
-
return [4 /*yield*/, userEvent.click(loginButton)];
|
|
75
|
-
case 2:
|
|
76
|
-
_b.sent();
|
|
77
|
-
return [2 /*return*/];
|
|
78
|
-
}
|
|
79
|
-
});
|
|
80
|
-
});
|
|
81
|
-
};
|
|
82
|
-
//# sourceMappingURL=Page.stories.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Page.stories.js","sourceRoot":"","sources":["../../src/stories/Page.stories.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAE,MAAM,EAAE,SAAS,EAAE,MAAM,4BAA4B,CAAC;AAC/D,OAAO,EAAE,IAAI,EAAE,MAAM,QAAQ,CAAC;AAE9B,eAAe;IACb,KAAK,EAAE,cAAc;IACrB,SAAS,EAAE,IAAI;IACf,UAAU,EAAE;QACV,mFAAmF;QACnF,MAAM,EAAE,YAAY;KACrB;CAC4B,CAAC;AAEhC,IAAM,QAAQ,GAAgC,UAAC,IAAI,IAAK,OAAA,oBAAC,IAAI,eAAK,IAAI,EAAI,EAAlB,CAAkB,CAAC;AAE3E,MAAM,CAAC,IAAM,SAAS,GAAG,QAAQ,CAAC,IAAI,CAAC,EAAE,CAAC,CAAC;AAE3C,MAAM,CAAC,IAAM,QAAQ,GAAG,QAAQ,CAAC,IAAI,CAAC,EAAE,CAAC,CAAC;AAE1C,qGAAqG;AACrG,QAAQ,CAAC,IAAI,GAAG,UAAO,EAAiB;QAAf,aAAa,mBAAA;;;;;;oBAC9B,MAAM,GAAG,MAAM,CAAC,aAAa,CAAC,CAAC;oBACjB,qBAAM,MAAM,CAAC,SAAS,CAAC,QAAQ,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE,CAAC,EAAA;;oBAAnE,WAAW,GAAG,SAAqD;oBACzE,qBAAM,SAAS,CAAC,KAAK,CAAC,WAAW,CAAC,EAAA;;oBAAlC,SAAkC,CAAC;;;;;CACpC,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/PasswordField/type").PasswordFieldProps) => JSX.Element;
|
|
6
|
-
};
|
|
7
|
-
export default _default;
|
|
8
|
-
export declare const PasswordComp: ComponentStory<(props: import("../components/PasswordField/type").PasswordFieldProps) => JSX.Element>;
|
|
9
|
-
//# sourceMappingURL=PasswordField.stories.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"PasswordField.stories.d.ts","sourceRoot":"","sources":["../../src/stories/PasswordField.stories.tsx"],"names":[],"mappings":";AAEA,OAAO,EAAC,cAAc,EAAC,MAAM,kBAAkB,CAAC;;;;;AAEhD,wBAGC;AAID,eAAO,MAAM,YAAY,uGAAoB,CAAC"}
|
|
@@ -1,26 +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 PasswordField from "../components/PasswordField/PasswordField";
|
|
14
|
-
export default {
|
|
15
|
-
title: 'Password Field',
|
|
16
|
-
component: PasswordField
|
|
17
|
-
};
|
|
18
|
-
var Template = function (args) { return React.createElement(PasswordField, __assign({}, args)); };
|
|
19
|
-
export var PasswordComp = Template.bind({});
|
|
20
|
-
PasswordComp.args = {
|
|
21
|
-
label: 'Password',
|
|
22
|
-
subtext: 'Enter a strong password',
|
|
23
|
-
disabled: false,
|
|
24
|
-
errMsg: 'This field is required'
|
|
25
|
-
};
|
|
26
|
-
//# sourceMappingURL=PasswordField.stories.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"PasswordField.stories.js","sourceRoot":"","sources":["../../src/stories/PasswordField.stories.tsx"],"names":[],"mappings":";;;;;;;;;;;AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,aAAa,MAAM,2CAA2C,CAAC;AAGtE,eAAc;IACV,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,YAAY,GAAG,QAAQ,CAAC,IAAI,CAAC,EAAE,CAAC,CAAC;AAC9C,YAAY,CAAC,IAAI,GAAG;IAChB,KAAK,EAAC,UAAU;IAChB,OAAO,EAAC,yBAAyB;IACjC,QAAQ,EAAC,KAAK;IACd,MAAM,EAAC,wBAAwB;CAClC,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/PaymentMethodsTable/type").PaymentMethodsProps) => JSX.Element;
|
|
6
|
-
};
|
|
7
|
-
export default _default;
|
|
8
|
-
export declare const PaymentMethods: ComponentStory<(props: import("../components/PaymentMethodsTable/type").PaymentMethodsProps) => JSX.Element>;
|
|
9
|
-
//# sourceMappingURL=PaymentMethods.stories.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"PaymentMethods.stories.d.ts","sourceRoot":"","sources":["../../src/stories/PaymentMethods.stories.tsx"],"names":[],"mappings":";AAEA,OAAO,EAAC,cAAc,EAAC,MAAM,kBAAkB,CAAC;;;;;AAEhD,wBAGC;AAaD,eAAO,MAAM,cAAc,8GAAoB,CAAC"}
|
|
@@ -1,32 +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 PaymentMethodsTable from "../components/PaymentMethodsTable/PaymentMethods";
|
|
14
|
-
export default {
|
|
15
|
-
title: 'Payment Methods Table',
|
|
16
|
-
component: PaymentMethodsTable
|
|
17
|
-
};
|
|
18
|
-
var Template = function (args) { return React.createElement(PaymentMethodsTable, __assign({}, args)); };
|
|
19
|
-
var methods = [
|
|
20
|
-
{
|
|
21
|
-
pymtModeCode: '01',
|
|
22
|
-
pymtModeName: 'Cheque',
|
|
23
|
-
pymtModeShortName: 'CHQ',
|
|
24
|
-
remarks: '-'
|
|
25
|
-
}
|
|
26
|
-
];
|
|
27
|
-
export var PaymentMethods = Template.bind({});
|
|
28
|
-
PaymentMethods.args = {
|
|
29
|
-
methods: methods,
|
|
30
|
-
callback: function () { alert('Action to be tied to a function'); }
|
|
31
|
-
};
|
|
32
|
-
//# sourceMappingURL=PaymentMethods.stories.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"PaymentMethods.stories.js","sourceRoot":"","sources":["../../src/stories/PaymentMethods.stories.tsx"],"names":[],"mappings":";;;;;;;;;;;AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,mBAAmB,MAAM,kDAAkD,CAAC;AAGnF,eAAe;IACX,KAAK,EAAC,uBAAuB;IAC7B,SAAS,EAAC,mBAAmB;CAChC,CAAA;AAED,IAAM,QAAQ,GAA+C,UAAC,IAAI,IAAK,OAAA,oBAAC,mBAAmB,eAAK,IAAI,EAAG,EAAhC,CAAgC,CAAC;AAExG,IAAM,OAAO,GAAG;IACZ;QACI,YAAY,EAAC,IAAI;QACjB,YAAY,EAAC,QAAQ;QACrB,iBAAiB,EAAC,KAAK;QACvB,OAAO,EAAC,GAAG;KACd;CACJ,CAAA;AAED,MAAM,CAAC,IAAM,cAAc,GAAG,QAAQ,CAAC,IAAI,CAAC,EAAE,CAAC,CAAC;AAChD,cAAc,CAAC,IAAI,GAAG;IAClB,OAAO,EAAE,OAAO;IAChB,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/ProvidersTable/type").ProvidersProps) => JSX.Element;
|
|
6
|
-
};
|
|
7
|
-
export default _default;
|
|
8
|
-
export declare const UsersTableComp: ComponentStory<(props: import("../components/ProvidersTable/type").ProvidersProps) => JSX.Element>;
|
|
9
|
-
//# sourceMappingURL=ProvidersTable.stories.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ProvidersTable.stories.d.ts","sourceRoot":"","sources":["../../src/stories/ProvidersTable.stories.tsx"],"names":[],"mappings":";AAEA,OAAO,EAAC,cAAc,EAAC,MAAM,kBAAkB,CAAC;;;;;AAGhD,wBAGC;AAaD,eAAO,MAAM,cAAc,oGAAoB,CAAC"}
|
|
@@ -1,32 +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 ProvidersTable from "../components/ProvidersTable/ProvidersTable";
|
|
14
|
-
export default {
|
|
15
|
-
title: 'Providers Table',
|
|
16
|
-
component: ProvidersTable
|
|
17
|
-
};
|
|
18
|
-
var Template = function (args) { return React.createElement(ProvidersTable, __assign({}, args)); };
|
|
19
|
-
var providers = [
|
|
20
|
-
{
|
|
21
|
-
name: 'AZA Finance',
|
|
22
|
-
email: 'daniel.kyei-mensah@secondstax.com',
|
|
23
|
-
phone: '0200111888',
|
|
24
|
-
status: 'active'
|
|
25
|
-
}
|
|
26
|
-
];
|
|
27
|
-
export var UsersTableComp = Template.bind({});
|
|
28
|
-
UsersTableComp.args = {
|
|
29
|
-
providers: providers,
|
|
30
|
-
callback: function () { alert('Action to be tied to a function'); }
|
|
31
|
-
};
|
|
32
|
-
//# sourceMappingURL=ProvidersTable.stories.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ProvidersTable.stories.js","sourceRoot":"","sources":["../../src/stories/ProvidersTable.stories.tsx"],"names":[],"mappings":";;;;;;;;;;;AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,cAAc,MAAM,6CAA6C,CAAC;AAIzE,eAAe;IACX,KAAK,EAAC,iBAAiB;IACvB,SAAS,EAAC,cAAc;CAC3B,CAAA;AAED,IAAM,QAAQ,GAA0C,UAAC,IAAI,IAAK,OAAA,oBAAC,cAAc,eAAK,IAAI,EAAG,EAA3B,CAA2B,CAAC;AAE9F,IAAM,SAAS,GAAG;IACd;QACI,IAAI,EAAC,aAAa;QAClB,KAAK,EAAC,mCAAmC;QACzC,KAAK,EAAC,YAAY;QAClB,MAAM,EAAC,QAAkB;KAC5B;CACJ,CAAA;AAED,MAAM,CAAC,IAAM,cAAc,GAAG,QAAQ,CAAC,IAAI,CAAC,EAAE,CAAC,CAAC;AAChD,cAAc,CAAC,IAAI,GAAG;IAClB,SAAS,EAAE,SAAS;IACpB,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/RateHistory/type").RateHistoryProps) => JSX.Element;
|
|
6
|
-
};
|
|
7
|
-
export default _default;
|
|
8
|
-
export declare const History: ComponentStory<(props: import("../components/RateHistory/type").RateHistoryProps) => JSX.Element>;
|
|
9
|
-
//# sourceMappingURL=RateHistory.stories.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"RateHistory.stories.d.ts","sourceRoot":"","sources":["../../src/stories/RateHistory.stories.tsx"],"names":[],"mappings":";AAEA,OAAO,EAAC,cAAc,EAAC,MAAM,kBAAkB,CAAC;;;;;AAEhD,wBAGC;AAID,eAAO,MAAM,OAAO,mGAAoB,CAAA"}
|
|
@@ -1,44 +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 RateHistory from "../components/RateHistory/RateHistory";
|
|
14
|
-
export default {
|
|
15
|
-
title: 'Rate History',
|
|
16
|
-
component: RateHistory
|
|
17
|
-
};
|
|
18
|
-
var Template = function (args) { return React.createElement(RateHistory, __assign({}, args)); };
|
|
19
|
-
export var History = Template.bind({});
|
|
20
|
-
History.args = {
|
|
21
|
-
ratePairs: [
|
|
22
|
-
{
|
|
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
|
-
baseCurrency: 'Ghana Cedi',
|
|
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
|
-
exchangeCurrency: 'US Dollar',
|
|
27
|
-
baseRate: 0.0909,
|
|
28
|
-
exchangeRate: 0.0952,
|
|
29
|
-
startDate: '12 Dec 2022, 00:00',
|
|
30
|
-
endDate: '12 Dec 2022, 23:59'
|
|
31
|
-
},
|
|
32
|
-
{
|
|
33
|
-
baseFlag: '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',
|
|
34
|
-
baseCurrency: 'Nigeria Naira',
|
|
35
|
-
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',
|
|
36
|
-
exchangeCurrency: 'US Dollar',
|
|
37
|
-
baseRate: 0.0909,
|
|
38
|
-
exchangeRate: 0.0952,
|
|
39
|
-
startDate: '12 Dec 2022, 00:00',
|
|
40
|
-
endDate: '12 Dec 2022, 23:59'
|
|
41
|
-
}
|
|
42
|
-
]
|
|
43
|
-
};
|
|
44
|
-
//# sourceMappingURL=RateHistory.stories.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"RateHistory.stories.js","sourceRoot":"","sources":["../../src/stories/RateHistory.stories.tsx"],"names":[],"mappings":";;;;;;;;;;;AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,WAAW,MAAM,uCAAuC,CAAC;AAGhE,eAAe;IACX,KAAK,EAAE,cAAc;IACrB,SAAS,EAAE,WAAW;CACzB,CAAA;AAED,IAAM,QAAQ,GAAuC,UAAC,IAAI,IAAK,OAAA,oBAAC,WAAW,eAAK,IAAI,EAAG,EAAxB,CAAwB,CAAC;AAExF,MAAM,CAAC,IAAM,OAAO,GAAG,QAAQ,CAAC,IAAI,CAAC,EAAE,CAAC,CAAA;AACxC,OAAO,CAAC,IAAI,GAAG;IACX,SAAS,EAAC;QACN;YACI,QAAQ,EAAC,oMAAoM;YAC7M,YAAY,EAAC,YAAY;YACzB,YAAY,EAAC,kMAAkM;YAC/M,gBAAgB,EAAC,WAAW;YAC5B,QAAQ,EAAC,MAAM;YACf,YAAY,EAAC,MAAM;YACnB,SAAS,EAAC,oBAAoB;YAC9B,OAAO,EAAC,oBAAoB;SAC/B;QACD;YACI,QAAQ,EAAC,sMAAsM;YAC/M,YAAY,EAAC,eAAe;YAC5B,YAAY,EAAC,kMAAkM;YAC/M,gBAAgB,EAAC,WAAW;YAC5B,QAAQ,EAAC,MAAM;YACf,YAAY,EAAC,MAAM;YACnB,SAAS,EAAC,oBAAoB;YAC9B,OAAO,EAAC,oBAAoB;SAC/B;KACJ;CACJ,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/RequestForm/type").RequestFormProps) => JSX.Element;
|
|
6
|
-
};
|
|
7
|
-
export default _default;
|
|
8
|
-
export declare const RequestFormComp: ComponentStory<(props: import("../components/RequestForm/type").RequestFormProps) => JSX.Element>;
|
|
9
|
-
//# sourceMappingURL=RequestForm.stories.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"RequestForm.stories.d.ts","sourceRoot":"","sources":["../../src/stories/RequestForm.stories.tsx"],"names":[],"mappings":";AAEA,OAAO,EAAC,cAAc,EAAC,MAAM,kBAAkB,CAAC;;;;;AAEhD,wBAGC;AA8GD,eAAO,MAAM,eAAe,mGAAoB,CAAC"}
|