@tight-embedded/react 6.0.3 → 6.2.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.
- package/dist/index.css +351 -293
- package/dist/index.css.gz +0 -0
- package/dist/index.d.ts +19 -3
- package/dist/index.js +1 -1
- package/dist/index.js.gz +0 -0
- package/dist/index.js.map +1 -1
- package/dist/index.js.map.gz +0 -0
- package/package.json +10 -7
package/dist/index.css.gz
CHANGED
|
Binary file
|
package/dist/index.d.ts
CHANGED
|
@@ -27,12 +27,28 @@ declare const Environments: {
|
|
|
27
27
|
readonly SANDBOX: "SANDBOX";
|
|
28
28
|
};
|
|
29
29
|
|
|
30
|
+
export declare const ExpenseDashboard: (props: ExpenseDashboardProps) => JSX.Element;
|
|
31
|
+
|
|
32
|
+
declare type ExpenseDashboardProps = {
|
|
33
|
+
columns?: TransactionsTableColumnOption[];
|
|
34
|
+
limit?: number;
|
|
35
|
+
};
|
|
36
|
+
|
|
30
37
|
declare type ExternalOptions = {
|
|
31
38
|
transactionsDashboard?: TransactionsDashboardOptions;
|
|
39
|
+
incomeDashboard?: TransactionsDashboardOptions;
|
|
40
|
+
expenseDashboard?: TransactionsDashboardOptions;
|
|
32
41
|
dataVisualizationColors?: string[];
|
|
33
42
|
banksAndIntegrations?: BanksAndIntegrationsOptions;
|
|
34
43
|
};
|
|
35
44
|
|
|
45
|
+
export declare const IncomeDashboard: (props: IncomeDashboardProps) => JSX.Element;
|
|
46
|
+
|
|
47
|
+
declare type IncomeDashboardProps = {
|
|
48
|
+
columns?: TransactionsTableColumnOption[];
|
|
49
|
+
limit?: number;
|
|
50
|
+
};
|
|
51
|
+
|
|
36
52
|
declare type IntegrationIdentifier = typeof SUPPORTED_INTEGRATION_IDENTIFIERS[number];
|
|
37
53
|
|
|
38
54
|
declare type Nullable<T> = T | null;
|
|
@@ -77,12 +93,12 @@ declare type TightProps = PropsWithChildren<{
|
|
|
77
93
|
accessToken: string;
|
|
78
94
|
}>;
|
|
79
95
|
|
|
80
|
-
declare type
|
|
96
|
+
declare type TransactionDashboardProps = {
|
|
81
97
|
columns?: TransactionsTableColumnOption[];
|
|
82
98
|
limit?: number;
|
|
83
99
|
};
|
|
84
100
|
|
|
85
|
-
export declare const TransactionsDashboard: (props:
|
|
101
|
+
export declare const TransactionsDashboard: (props: TransactionDashboardProps) => JSX.Element;
|
|
86
102
|
|
|
87
103
|
declare type TransactionsDashboardOptions = {
|
|
88
104
|
columns?: TransactionsTableColumnOption[];
|
|
@@ -105,7 +121,7 @@ declare const TransactionTableColumns: {
|
|
|
105
121
|
* Set library-wide options for various components.
|
|
106
122
|
*
|
|
107
123
|
* For Developers:
|
|
108
|
-
* This hook subscribes a component to Tight Embedded's option store, which is
|
|
124
|
+
* This hook subscribes a component to Tight Embedded's option store, which is TimeSeriesChart across all Tight Components
|
|
109
125
|
* The initial options passed into the hook will be set as the value of options on the hook's first render.
|
|
110
126
|
* When a component modifies these options by calling setOptions, all subscribed components will re-render with the new options
|
|
111
127
|
*
|