@ssa-ui-kit/widgets 1.0.0 → 1.0.2
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/.storybook/style.css +9 -0
- package/dist/components/AccountBalance/BalancePieChart.d.ts +2 -1
- package/dist/components/AccountBalance/BalancePieChartTitle.d.ts +2 -1
- package/dist/components/AccountBalance/WithLink.d.ts +2 -1
- package/dist/components/Bmi/BmiHeatbar.d.ts +3 -2
- package/dist/components/Bmi/BmiInfo.d.ts +3 -2
- package/dist/components/Bmi/BmiLabel.d.ts +2 -1
- package/dist/components/Bmi/BmiPointer.d.ts +3 -2
- package/dist/components/BotsTable/BotsTableCell.d.ts +5 -4
- package/dist/components/BotsTable/BotsTableHead.d.ts +4 -3
- package/dist/components/BotsTable/BotsTableRow.d.ts +5 -4
- package/dist/components/BotsTable/BotsTableWrapper.d.ts +4 -3
- package/dist/components/BotsTable/stories/BotsTable/components/Actions/ActionIcon.d.ts +1 -1
- package/dist/components/BotsTable/types.d.ts +1 -0
- package/dist/components/ListGoals/types.d.ts +1 -0
- package/dist/components/MealNutrients/mockMealNutrientsRequest.d.ts +2 -2
- package/dist/components/MealNutrients/types.d.ts +1 -0
- package/dist/components/MealPlanner/MealPlannerBadge.d.ts +2 -1
- package/dist/components/MealPlanner/MealPlannerBars.d.ts +3 -2
- package/dist/components/MealPlanner/MealPlannerLegends.d.ts +5 -4
- package/dist/components/TradingScoreboard/TradingScoreboardBase.d.ts +4 -3
- package/dist/components/TradingScoreboard/types.d.ts +1 -0
- package/dist/components/UpcomingWorkouts/types.d.ts +1 -0
- package/dist/components/UserCard/UserCardBMI.d.ts +1 -1
- package/dist/components/UserCard/UserCardCredentials.d.ts +1 -1
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/package.json +4 -4
- package/src/components/MealNutrients/MealNutrientsLineChart.tsx +1 -1
- package/tsbuildcache +1 -1
package/.storybook/style.css
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
1
2
|
import { BalancePieChartProps } from './types';
|
|
2
3
|
export declare const BalancePieChart: import("react").FC<Pick<BalancePieChartProps, "data" | "variant" | "total" | "currency" | "legendColorPalette" | "chartColorPalette"> & {
|
|
3
|
-
theme?: import("@emotion/react").Theme;
|
|
4
|
+
theme?: import("@emotion/react").Theme | undefined;
|
|
4
5
|
}>;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
1
2
|
import { BalancePieChartTitleProps } from './types';
|
|
2
3
|
export declare const BalancePieChartTitle: import("react").FC<Pick<BalancePieChartTitleProps, "total" | "currency"> & {
|
|
3
|
-
theme?: import("@emotion/react").Theme;
|
|
4
|
+
theme?: import("@emotion/react").Theme | undefined;
|
|
4
5
|
}>;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
1
2
|
import { AccountBalanceProps } from './types';
|
|
2
3
|
export declare const WithLink: ({ link, onClick, children, className, }: Pick<AccountBalanceProps, "link" | "onClick"> & {
|
|
3
4
|
children: React.ReactNode;
|
|
4
|
-
className?: string;
|
|
5
|
+
className?: string | undefined;
|
|
5
6
|
}) => string | number | boolean | import("@emotion/react/types/jsx-namespace").EmotionJSX.Element | import("react").ReactFragment | null | undefined;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
1
2
|
export declare const BmiHeatbar: import("@emotion/styled").StyledComponent<{
|
|
2
|
-
theme?: import("@emotion/react").Theme;
|
|
3
|
-
as?:
|
|
3
|
+
theme?: import("@emotion/react").Theme | undefined;
|
|
4
|
+
as?: import("react").ElementType<any> | undefined;
|
|
4
5
|
}, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
1
2
|
export declare const BmiInfo: import("@emotion/styled").StyledComponent<{
|
|
2
|
-
theme?: import("@emotion/react").Theme;
|
|
3
|
-
as?:
|
|
3
|
+
theme?: import("@emotion/react").Theme | undefined;
|
|
4
|
+
as?: import("react").ElementType<any> | undefined;
|
|
4
5
|
}, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
1
2
|
export declare const BmiLabel: import("@emotion/styled").StyledComponent<Omit<import("@ssa-ui-kit/core/dist/components/Typography/types").TypographyProps, "ref"> & import("react").RefAttributes<HTMLElement> & {
|
|
2
|
-
theme?: import("@emotion/react").Theme;
|
|
3
|
+
theme?: import("@emotion/react").Theme | undefined;
|
|
3
4
|
}, {}, {}>;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
1
2
|
export declare const BmiPointer: import("@emotion/styled").StyledComponent<{
|
|
2
|
-
theme?: import("@emotion/react").Theme;
|
|
3
|
-
as?:
|
|
3
|
+
theme?: import("@emotion/react").Theme | undefined;
|
|
4
|
+
as?: import("react").ElementType<any> | undefined;
|
|
4
5
|
} & {
|
|
5
6
|
percentage: number;
|
|
6
7
|
}, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
@@ -1,8 +1,9 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
1
2
|
export declare const BotsTableCell: import("@emotion/styled").StyledComponent<{
|
|
2
|
-
theme?: import("@emotion/react").Theme;
|
|
3
|
-
as?:
|
|
3
|
+
theme?: import("@emotion/react").Theme | undefined;
|
|
4
|
+
as?: import("react").ElementType<any> | undefined;
|
|
4
5
|
} & {
|
|
5
|
-
align?: string;
|
|
6
|
+
align?: string | undefined;
|
|
6
7
|
} & import("@ssa-ui-kit/core").CommonProps & import("react").ClassAttributes<HTMLTableDataCellElement> & import("react").TdHTMLAttributes<HTMLTableDataCellElement> & {
|
|
7
|
-
theme?: import("@emotion/react").Theme;
|
|
8
|
+
theme?: import("@emotion/react").Theme | undefined;
|
|
8
9
|
}, {}, {}>;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
1
2
|
export declare const BotsTableHead: import("@emotion/styled").StyledComponent<{
|
|
2
|
-
theme?: import("@emotion/react").Theme;
|
|
3
|
-
as?:
|
|
3
|
+
theme?: import("@emotion/react").Theme | undefined;
|
|
4
|
+
as?: import("react").ElementType<any> | undefined;
|
|
4
5
|
} & import("@ssa-ui-kit/core").CommonProps & import("react").ClassAttributes<HTMLTableSectionElement> & import("react").HTMLAttributes<HTMLTableSectionElement> & {
|
|
5
|
-
theme?: import("@emotion/react").Theme;
|
|
6
|
+
theme?: import("@emotion/react").Theme | undefined;
|
|
6
7
|
}, {}, {}>;
|
|
@@ -1,8 +1,9 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
1
2
|
export declare const BotsTableRow: import("@emotion/styled").StyledComponent<{
|
|
2
|
-
theme?: import("@emotion/react").Theme;
|
|
3
|
-
as?:
|
|
3
|
+
theme?: import("@emotion/react").Theme | undefined;
|
|
4
|
+
as?: import("react").ElementType<any> | undefined;
|
|
4
5
|
} & import("@ssa-ui-kit/core").CommonProps & import("react").ClassAttributes<HTMLTableRowElement> & import("react").HTMLAttributes<HTMLTableRowElement> & {
|
|
5
|
-
theme?: import("@emotion/react").Theme;
|
|
6
|
+
theme?: import("@emotion/react").Theme | undefined;
|
|
6
7
|
} & {
|
|
7
|
-
isDisabled?: boolean;
|
|
8
|
+
isDisabled?: boolean | undefined;
|
|
8
9
|
}, {}, {}>;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
1
2
|
export declare const BotsTableWrapper: import("@emotion/styled").StyledComponent<{
|
|
2
|
-
theme?: import("@emotion/react").Theme;
|
|
3
|
-
as?:
|
|
3
|
+
theme?: import("@emotion/react").Theme | undefined;
|
|
4
|
+
as?: import("react").ElementType<any> | undefined;
|
|
4
5
|
} & import("@ssa-ui-kit/core").CommonProps & import("react").ClassAttributes<HTMLTableElement> & import("react").TableHTMLAttributes<HTMLTableElement> & {
|
|
5
|
-
theme?: import("@emotion/react").Theme;
|
|
6
|
+
theme?: import("@emotion/react").Theme | undefined;
|
|
6
7
|
}, {}, {}>;
|
|
@@ -6,13 +6,13 @@ declare const mockDataLoad: {
|
|
|
6
6
|
x: Date;
|
|
7
7
|
y: number;
|
|
8
8
|
comp: number;
|
|
9
|
-
unit?: string;
|
|
9
|
+
unit?: string | undefined;
|
|
10
10
|
}[];
|
|
11
11
|
}[]>;
|
|
12
12
|
getOptions(): Promise<OptionType[]>;
|
|
13
13
|
};
|
|
14
14
|
export declare const mockStaticApi: {
|
|
15
|
-
getData(timePeriodId:
|
|
15
|
+
getData(timePeriodId: 'd' | 'm' | 'w'): Promise<({
|
|
16
16
|
data: {
|
|
17
17
|
comp: number;
|
|
18
18
|
unit: string;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
1
2
|
declare const Marker: import("@emotion/styled").StyledComponent<import("@ssa-ui-kit/core/dist/components/Badge/types").BadgeProps & import("react").RefAttributes<HTMLDivElement> & {
|
|
2
|
-
theme?: import("@emotion/react").Theme;
|
|
3
|
+
theme?: import("@emotion/react").Theme | undefined;
|
|
3
4
|
}, {}, {}>;
|
|
4
5
|
export default Marker;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
1
2
|
declare const MealPlannerBars: import("@emotion/styled").StyledComponent<{
|
|
2
|
-
theme?: import("@emotion/react").Theme;
|
|
3
|
-
as?:
|
|
3
|
+
theme?: import("@emotion/react").Theme | undefined;
|
|
4
|
+
as?: import("react").ElementType<any> | undefined;
|
|
4
5
|
}, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLUListElement>, HTMLUListElement>, {}>;
|
|
5
6
|
export default MealPlannerBars;
|
|
@@ -1,11 +1,12 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
1
2
|
declare const MealPlannerLegends: {
|
|
2
3
|
List: import("@emotion/styled").StyledComponent<{
|
|
3
|
-
theme?: import("@emotion/react").Theme;
|
|
4
|
-
as?:
|
|
4
|
+
theme?: import("@emotion/react").Theme | undefined;
|
|
5
|
+
as?: import("react").ElementType<any> | undefined;
|
|
5
6
|
}, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLUListElement>, HTMLUListElement>, {}>;
|
|
6
7
|
Item: import("@emotion/styled").StyledComponent<{
|
|
7
|
-
theme?: import("@emotion/react").Theme;
|
|
8
|
-
as?:
|
|
8
|
+
theme?: import("@emotion/react").Theme | undefined;
|
|
9
|
+
as?: import("react").ElementType<any> | undefined;
|
|
9
10
|
}, import("react").DetailedHTMLProps<import("react").LiHTMLAttributes<HTMLLIElement>, HTMLLIElement>, {}>;
|
|
10
11
|
};
|
|
11
12
|
export default MealPlannerLegends;
|
|
@@ -1,7 +1,8 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
1
2
|
declare const TradingScoreboardBase: import("@emotion/styled").StyledComponent<{
|
|
2
|
-
theme?: import("@emotion/react").Theme;
|
|
3
|
-
as?:
|
|
3
|
+
theme?: import("@emotion/react").Theme | undefined;
|
|
4
|
+
as?: import("react").ElementType<any> | undefined;
|
|
4
5
|
} & {
|
|
5
|
-
itemsPerRow?: number;
|
|
6
|
+
itemsPerRow?: number | undefined;
|
|
6
7
|
}, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
7
8
|
export default TradingScoreboardBase;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { User } from './types';
|
|
2
|
-
declare const UserCardBMI: ({ weight, height, age, }: Partial<Pick<User,
|
|
2
|
+
declare const UserCardBMI: ({ weight, height, age, }: Partial<Pick<User, 'weight' | 'height' | 'age'>>) => import("@emotion/react/types/jsx-namespace").EmotionJSX.Element;
|
|
3
3
|
export default UserCardBMI;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { User } from './types';
|
|
2
|
-
declare const UserCardCredentials: ({ name, email, }: Partial<Pick<User,
|
|
2
|
+
declare const UserCardCredentials: ({ name, email, }: Partial<Pick<User, 'name' | 'email'>>) => import("@emotion/react/types/jsx-namespace").EmotionJSX.Element;
|
|
3
3
|
export default UserCardCredentials;
|