@secondstaxorg/sscomp 1.0.5 → 1.0.6
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/build/components/ActionFailed/ActionFailed.d.ts +4 -0
- package/build/components/ActionFailed/style.d.ts +2 -0
- package/build/components/ActionFailed/type.d.ts +4 -0
- package/build/components/ActionSuccess/ActionSuccess.d.ts +4 -0
- package/build/components/ActionSuccess/style.d.ts +2 -0
- package/build/components/ActionSuccess/type.d.ts +4 -0
- package/build/components/AppActionsTable/AppActionsTable.d.ts +4 -0
- package/build/components/AppActionsTable/style.d.ts +4 -0
- package/build/components/AppActionsTable/type.d.ts +14 -0
- package/build/components/AppFormsTable/AppFormsTable.d.ts +4 -0
- package/build/components/AppFormsTable/style.d.ts +4 -0
- package/build/components/AppFormsTable/type.d.ts +12 -0
- package/build/components/AppModulesTable/AppModulesTable.d.ts +4 -0
- package/build/components/AppModulesTable/style.d.ts +4 -0
- package/build/components/AppModulesTable/type.d.ts +8 -0
- package/build/components/AuditLog/AuditLog.d.ts +4 -0
- package/build/components/AuditLog/style.d.ts +4 -0
- package/build/components/AuditLog/type.d.ts +8 -0
- package/build/components/BankAccounts/BankAccounts.d.ts +4 -0
- package/build/components/BankAccounts/style.d.ts +4 -0
- package/build/components/BankAccounts/type.d.ts +15 -0
- package/build/components/BankSelector/BankSelector.d.ts +4 -0
- package/build/components/BankSelector/style.d.ts +4 -0
- package/build/components/BankSelector/type.d.ts +16 -0
- package/build/components/BreadcrumbBar/BreadcrumbBar.d.ts +4 -0
- package/build/components/BreadcrumbBar/style.d.ts +1 -0
- package/build/components/BreadcrumbBar/type.d.ts +7 -0
- package/build/components/BrokersTable/BrokersTable.d.ts +4 -0
- package/build/components/BrokersTable/style.d.ts +5 -0
- package/build/components/BrokersTable/type.d.ts +11 -0
- package/build/components/Button/Button.d.ts +4 -0
- package/build/components/Button/index.d.ts +1 -0
- package/build/components/Button/style.d.ts +1 -0
- package/build/components/Button/type.d.ts +8 -0
- package/build/components/ButtonOutline/OutlineButton.d.ts +4 -0
- package/build/components/ButtonOutline/index.d.ts +1 -0
- package/build/components/ButtonOutline/style.d.ts +1 -0
- package/build/components/ButtonOutline/type.d.ts +8 -0
- package/build/components/Chart/Chart.d.ts +4 -0
- package/build/components/Chart/helpers.d.ts +1 -0
- package/build/components/Chart/style.d.ts +6 -0
- package/build/components/Chart/type.d.ts +13 -0
- package/build/components/ChartMedium/ChartMedium.d.ts +4 -0
- package/build/components/ChartMedium/helpers.d.ts +1 -0
- package/build/components/ChartMedium/style.d.ts +6 -0
- package/build/components/ChartMedium/type.d.ts +13 -0
- package/build/components/ChartSmall/ChartSmall.d.ts +4 -0
- package/build/components/ChartSmall/helpers.d.ts +1 -0
- package/build/components/ChartSmall/style.d.ts +6 -0
- package/build/components/ChartSmall/type.d.ts +13 -0
- package/build/components/CookieConsent/CookieConsent.d.ts +4 -0
- package/build/components/CookieConsent/style.d.ts +6 -0
- package/build/components/CookieConsent/type.d.ts +5 -0
- package/build/components/CountrySelector/CountrySelector.d.ts +4 -0
- package/build/components/CountrySelector/style.d.ts +6 -0
- package/build/components/CountrySelector/type.d.ts +11 -0
- package/build/components/CurrencyPairs/CurrencyPairsTable.d.ts +4 -0
- package/build/components/CurrencyPairs/style.d.ts +4 -0
- package/build/components/CurrencyPairs/type.d.ts +18 -0
- package/build/components/DatePicker/DatePicker.d.ts +4 -0
- package/build/components/DatePicker/style.d.ts +12 -0
- package/build/components/DatePicker/type.d.ts +63 -0
- package/build/components/DropdownList/DropdownList.d.ts +4 -0
- package/build/components/DropdownList/style.d.ts +7 -0
- package/build/components/DropdownList/type.d.ts +13 -0
- package/build/components/Dropshadows/DropShadows.d.ts +4 -0
- package/build/components/Dropshadows/style.d.ts +1 -0
- package/build/components/Dropshadows/type.d.ts +4 -0
- package/build/components/ExchangeRates/ExchangeRates.d.ts +4 -0
- package/build/components/ExchangeRates/style.d.ts +3 -0
- package/build/components/ExchangeRates/type.d.ts +11 -0
- package/build/components/Footer/Footer.d.ts +3 -0
- package/build/components/Footer/style.d.ts +6 -0
- package/build/components/Indices/Indices.d.ts +4 -0
- package/build/components/Indices/style.d.ts +5 -0
- package/build/components/Indices/type.d.ts +9 -0
- package/build/components/LPRequestTable/LPRequestTable.d.ts +4 -0
- package/build/components/LPRequestTable/style.d.ts +4 -0
- package/build/components/LPRequestTable/type.d.ts +29 -0
- package/build/components/LPSideNav/LPSideNav.d.ts +9 -0
- package/build/components/LPSideNav/style.d.ts +7 -0
- package/build/components/LPSideNav/type.d.ts +18 -0
- package/build/components/LPTopBar/LPTopBar.d.ts +4 -0
- package/build/components/LPTopBar/style.d.ts +19 -0
- package/build/components/LPTopBar/type.d.ts +19 -0
- package/build/components/LoadingShimmer/LoadingShimmer.d.ts +4 -0
- package/build/components/LoadingShimmer/style.d.ts +2 -0
- package/build/components/LoadingShimmer/type.d.ts +5 -0
- package/build/components/LoadingSpinner/LoadingSpinner.d.ts +4 -0
- package/build/components/MarketData/MarketData.d.ts +4 -0
- package/build/components/MarketData/style.d.ts +8 -0
- package/build/components/MarketData/type.d.ts +9 -0
- package/build/components/MarketMovers/MarketMovers.d.ts +4 -0
- package/build/components/MarketMovers/style.d.ts +5 -0
- package/build/components/MarketMovers/type.d.ts +12 -0
- package/build/components/MenuBar/MenuBar.d.ts +4 -0
- package/build/components/MenuBar/style.d.ts +2 -0
- package/build/components/MenuBar/type.d.ts +8 -0
- package/build/components/NewsCard/NewsCard.d.ts +4 -0
- package/build/components/NewsCard/style.d.ts +6 -0
- package/build/components/NewsCard/type.d.ts +10 -0
- package/build/components/NewsFilterBar/NewsFilterBar.d.ts +4 -0
- package/build/components/NewsFilterBar/style.d.ts +2 -0
- package/build/components/NewsFilterBar/type.d.ts +13 -0
- package/build/components/NewsSourceTag/NewsSourceTag.d.ts +4 -0
- package/build/components/NewsSourceTag/style.d.ts +1 -0
- package/build/components/NewsSourceTag/type.d.ts +5 -0
- package/build/components/NewsTitleBar/NewsTitleBar.d.ts +4 -0
- package/build/components/NewsTitleBar/style.d.ts +1 -0
- package/build/components/NewsTitleBar/type.d.ts +4 -0
- package/build/components/PasswordField/PasswordField.d.ts +4 -0
- package/build/components/PasswordField/style.d.ts +5 -0
- package/build/components/PasswordField/type.d.ts +7 -0
- package/build/components/PaymentMethodsTable/PaymentMethods.d.ts +4 -0
- package/build/components/PaymentMethodsTable/style.d.ts +4 -0
- package/build/components/PaymentMethodsTable/type.d.ts +9 -0
- package/build/components/ProvidersTable/ProvidersTable.d.ts +4 -0
- package/build/components/ProvidersTable/style.d.ts +4 -0
- package/build/components/ProvidersTable/type.d.ts +11 -0
- package/build/components/RateHistory/RateHistory.d.ts +4 -0
- package/build/components/RateHistory/style.d.ts +6 -0
- package/build/components/RateHistory/type.d.ts +12 -0
- package/build/components/RequestForm/RequestForm.d.ts +4 -0
- package/build/components/RequestForm/style.d.ts +2 -0
- package/build/components/RequestForm/type.d.ts +18 -0
- package/build/components/Ribbon/Ribbon.d.ts +4 -0
- package/build/components/Ribbon/style.d.ts +2 -0
- package/build/components/Ribbon/type.d.ts +6 -0
- package/build/components/SSXBar/SSXBar.d.ts +2 -0
- package/build/components/SSXBar/style.d.ts +1 -0
- package/build/components/SearchBar/SearchBar.d.ts +4 -0
- package/build/components/SearchBar/style.d.ts +3 -0
- package/build/components/SearchBar/type.d.ts +5 -0
- package/build/components/SearchResultsBar/SearchResultsBar.d.ts +4 -0
- package/build/components/SearchResultsBar/style.d.ts +1 -0
- package/build/components/SearchResultsBar/type.d.ts +5 -0
- package/build/components/SideModal/SideModal.d.ts +4 -0
- package/build/components/SideModal/style.d.ts +6 -0
- package/build/components/SideModal/type.d.ts +8 -0
- package/build/components/SmallNewsCard/SmallNewsCard.d.ts +4 -0
- package/build/components/SmallNewsCard/style.d.ts +5 -0
- package/build/components/SmallNewsCard/type.d.ts +9 -0
- package/build/components/StatusBadge/StatusBadge.d.ts +4 -0
- package/build/components/StatusBadge/style.d.ts +1 -0
- package/build/components/StatusBadge/type.d.ts +5 -0
- package/build/components/StocksTicker/StocksTicker.d.ts +4 -0
- package/build/components/StocksTicker/style.d.ts +2 -0
- package/build/components/StocksTicker/type.d.ts +10 -0
- package/build/components/SystemConfigTable/SystemConfigTable.d.ts +4 -0
- package/build/components/SystemConfigTable/style.d.ts +4 -0
- package/build/components/SystemConfigTable/type.d.ts +9 -0
- package/build/components/Tab/Tab.d.ts +4 -0
- package/build/components/Tab/style.d.ts +3 -0
- package/build/components/Tab/type.d.ts +8 -0
- package/build/components/Table/helpers.d.ts +6 -0
- package/build/components/Table/index.d.ts +1 -0
- package/build/components/Table/style.d.ts +1 -0
- package/build/components/Table/table.d.ts +4 -0
- package/build/components/Table/type.d.ts +68 -0
- package/build/components/TextArea/TextArea.d.ts +4 -0
- package/build/components/TextArea/style.d.ts +4 -0
- package/build/components/TextArea/type.d.ts +7 -0
- package/build/components/TextField/TextField.d.ts +4 -0
- package/build/components/TextField/style.d.ts +4 -0
- package/build/components/TextField/type.d.ts +7 -0
- package/build/components/TransactionDetails/TransactionDetails.d.ts +4 -0
- package/build/components/TransactionDetails/helpers.d.ts +1 -0
- package/build/components/TransactionDetails/style.d.ts +2 -0
- package/build/components/TransactionDetails/type.d.ts +17 -0
- package/build/components/TransactionDetailsWithPayment/TransactionDetailsWithPayment.d.ts +4 -0
- package/build/components/TransactionDetailsWithPayment/style.d.ts +2 -0
- package/build/components/TransactionDetailsWithPayment/type.d.ts +24 -0
- package/build/components/UpdateUserActions/UpdateUserActions.d.ts +4 -0
- package/build/components/UpdateUserActions/style.d.ts +5 -0
- package/build/components/UpdateUserActions/type.d.ts +16 -0
- package/build/components/UserActions/UserActions.d.ts +4 -0
- package/build/components/UserActions/style.d.ts +5 -0
- package/build/components/UserActions/type.d.ts +20 -0
- package/build/components/UserRolesTable/UserRolesTable.d.ts +4 -0
- package/build/components/UserRolesTable/style.d.ts +4 -0
- package/build/components/UserRolesTable/type.d.ts +8 -0
- package/build/components/UsersTable/UsersTable.d.ts +4 -0
- package/build/components/UsersTable/style.d.ts +4 -0
- package/build/components/UsersTable/type.d.ts +11 -0
- package/build/components/WidgetTitle/WidgetTitle.d.ts +4 -0
- package/build/components/WidgetTitle/style.d.ts +1 -0
- package/build/components/WidgetTitle/type.d.ts +4 -0
- package/build/components/index.d.ts +60 -0
- package/build/index.d.ts +1 -0
- package/build/index.esm.js +21269 -0
- package/build/index.esm.js.map +1 -0
- package/build/index.js +21330 -0
- package/build/index.js.map +1 -0
- package/build/stories/Header.d.ts +12 -0
- package/build/stories/Page.d.ts +3 -0
- package/build/theme.d.ts +58 -0
- package/build/utils.d.ts +7 -0
- package/package.json +16 -7
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import './header.css';
|
|
2
|
+
declare type User = {
|
|
3
|
+
name: string;
|
|
4
|
+
};
|
|
5
|
+
interface HeaderProps {
|
|
6
|
+
user?: User;
|
|
7
|
+
onLogin: () => void;
|
|
8
|
+
onLogout: () => void;
|
|
9
|
+
onCreateAccount: () => void;
|
|
10
|
+
}
|
|
11
|
+
export declare const Header: ({ user, onLogin, onLogout, onCreateAccount }: HeaderProps) => JSX.Element;
|
|
12
|
+
export {};
|
package/build/theme.d.ts
ADDED
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
declare const theme: {
|
|
2
|
+
colors: {
|
|
3
|
+
white: string;
|
|
4
|
+
black: string;
|
|
5
|
+
'black-100': string;
|
|
6
|
+
'neutral-50': string;
|
|
7
|
+
'neutral-100': string;
|
|
8
|
+
'neutral-200': string;
|
|
9
|
+
'neutral-300': string;
|
|
10
|
+
'neutral-400': string;
|
|
11
|
+
'neutral-500': string;
|
|
12
|
+
'neutral-600': string;
|
|
13
|
+
'neutral-700': string;
|
|
14
|
+
'neutral-800': string;
|
|
15
|
+
'neutral-900': string;
|
|
16
|
+
'primary-50': string;
|
|
17
|
+
'primary-100': string;
|
|
18
|
+
'primary-200': string;
|
|
19
|
+
'primary-300': string;
|
|
20
|
+
'primary-400': string;
|
|
21
|
+
'primary-500': string;
|
|
22
|
+
'primary-600': string;
|
|
23
|
+
'primary-700': string;
|
|
24
|
+
'primary-800': string;
|
|
25
|
+
'primary-900': string;
|
|
26
|
+
'success-50': string;
|
|
27
|
+
'success-100': string;
|
|
28
|
+
'success-200': string;
|
|
29
|
+
'success-300': string;
|
|
30
|
+
'success-400': string;
|
|
31
|
+
'success-500': string;
|
|
32
|
+
'success-600': string;
|
|
33
|
+
'success-700': string;
|
|
34
|
+
'success-800': string;
|
|
35
|
+
'success-900': string;
|
|
36
|
+
'warning-50': string;
|
|
37
|
+
'warning-100': string;
|
|
38
|
+
'warning-200': string;
|
|
39
|
+
'warning-300': string;
|
|
40
|
+
'warning-400': string;
|
|
41
|
+
'warning-500': string;
|
|
42
|
+
'warning-600': string;
|
|
43
|
+
'warning-700': string;
|
|
44
|
+
'warning-800': string;
|
|
45
|
+
'warning-900': string;
|
|
46
|
+
'error-50': string;
|
|
47
|
+
'error-100': string;
|
|
48
|
+
'error-200': string;
|
|
49
|
+
'error-300': string;
|
|
50
|
+
'error-400': string;
|
|
51
|
+
'error-500': string;
|
|
52
|
+
'error-600': string;
|
|
53
|
+
'error-700': string;
|
|
54
|
+
'error-800': string;
|
|
55
|
+
'error-900': string;
|
|
56
|
+
};
|
|
57
|
+
};
|
|
58
|
+
export default theme;
|
package/build/utils.d.ts
ADDED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@secondstaxorg/sscomp",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.6",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"registry": "https://registry.npmjs.org/"
|
|
6
6
|
},
|
|
@@ -9,14 +9,16 @@
|
|
|
9
9
|
"url": "https://github.com/Secondstax/sscomp"
|
|
10
10
|
},
|
|
11
11
|
"description": "A react component library for secondstax",
|
|
12
|
-
"main": "
|
|
13
|
-
"module": "
|
|
12
|
+
"main": "build/index.js",
|
|
13
|
+
"module": "build/index.esm.js",
|
|
14
14
|
"files": [
|
|
15
|
-
"
|
|
15
|
+
"build"
|
|
16
16
|
],
|
|
17
|
-
"types": "
|
|
17
|
+
"types": "build/index.d.ts",
|
|
18
|
+
"type": "module",
|
|
18
19
|
"scripts": {
|
|
19
20
|
"test": "echo \"Error: no test specified\" && exit 1",
|
|
21
|
+
"build": "rollup -c --bundleConfigAsCjs",
|
|
20
22
|
"storybook": "start-storybook -p 6006",
|
|
21
23
|
"predeploy": "npm run build-storybook",
|
|
22
24
|
"deploy-storybook": "gh-pages -d storybook-static",
|
|
@@ -26,7 +28,7 @@
|
|
|
26
28
|
"license": "ISC",
|
|
27
29
|
"devDependencies": {
|
|
28
30
|
"@babel/core": "^7.19.6",
|
|
29
|
-
"@rollup/plugin-commonjs": "^23.0.
|
|
31
|
+
"@rollup/plugin-commonjs": "^23.0.7",
|
|
30
32
|
"@rollup/plugin-node-resolve": "^15.0.1",
|
|
31
33
|
"@rollup/plugin-typescript": "^9.0.2",
|
|
32
34
|
"@storybook/addon-actions": "^6.5.13",
|
|
@@ -46,7 +48,11 @@
|
|
|
46
48
|
"react": "^18.2.0",
|
|
47
49
|
"react-dom": "^18.2.0",
|
|
48
50
|
"rollup": "^3.2.3",
|
|
49
|
-
"rollup-plugin-dts": "^5.
|
|
51
|
+
"rollup-plugin-dts": "^5.1.1",
|
|
52
|
+
"rollup-plugin-image": "^1.0.2",
|
|
53
|
+
"rollup-plugin-peer-deps-external": "^2.2.4",
|
|
54
|
+
"rollup-plugin-postcss": "^4.0.2",
|
|
55
|
+
"rollup-plugin-terser": "^7.0.2",
|
|
50
56
|
"typescript": "^4.8.4",
|
|
51
57
|
"webpack": "^5.74.0"
|
|
52
58
|
},
|
|
@@ -57,9 +63,12 @@
|
|
|
57
63
|
"dayjs": "^1.11.6",
|
|
58
64
|
"gh-pages": "^4.0.0",
|
|
59
65
|
"heroicons": "^2.0.12",
|
|
66
|
+
"postcss": "^8.4.21",
|
|
60
67
|
"react-chartjs-2": "^4.3.1",
|
|
61
68
|
"react-fast-marquee": "^1.3.5",
|
|
62
69
|
"react-is": "^18.2.0",
|
|
70
|
+
"rollup-plugin-copy": "^3.4.0",
|
|
71
|
+
"rollup-plugin-typescript2": "^0.34.1",
|
|
63
72
|
"styled-components": "^5.3.6"
|
|
64
73
|
}
|
|
65
74
|
}
|