@ssa-ui-kit/widgets 0.0.34-alpha → 1.0.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 (28) hide show
  1. package/dist/components/AccountBalance/BalancePieChart.d.ts +1 -2
  2. package/dist/components/AccountBalance/BalancePieChartTitle.d.ts +1 -2
  3. package/dist/components/AccountBalance/WithLink.d.ts +1 -2
  4. package/dist/components/Bmi/BmiHeatbar.d.ts +2 -3
  5. package/dist/components/Bmi/BmiInfo.d.ts +2 -3
  6. package/dist/components/Bmi/BmiLabel.d.ts +1 -2
  7. package/dist/components/Bmi/BmiPointer.d.ts +2 -3
  8. package/dist/components/BotsTable/BotsTableCell.d.ts +4 -5
  9. package/dist/components/BotsTable/BotsTableHead.d.ts +3 -4
  10. package/dist/components/BotsTable/BotsTableRow.d.ts +4 -5
  11. package/dist/components/BotsTable/BotsTableWrapper.d.ts +3 -4
  12. package/dist/components/BotsTable/stories/BotsTable/components/Actions/ActionIcon.d.ts +1 -1
  13. package/dist/components/BotsTable/types.d.ts +0 -1
  14. package/dist/components/ListGoals/types.d.ts +0 -1
  15. package/dist/components/MealNutrients/mockMealNutrientsRequest.d.ts +2 -2
  16. package/dist/components/MealNutrients/types.d.ts +0 -1
  17. package/dist/components/MealPlanner/MealPlannerBadge.d.ts +1 -2
  18. package/dist/components/MealPlanner/MealPlannerBars.d.ts +2 -3
  19. package/dist/components/MealPlanner/MealPlannerLegends.d.ts +4 -5
  20. package/dist/components/TradingScoreboard/TradingScoreboardBase.d.ts +3 -4
  21. package/dist/components/TradingScoreboard/types.d.ts +0 -1
  22. package/dist/components/UpcomingWorkouts/types.d.ts +0 -1
  23. package/dist/components/UserCard/UserCardBMI.d.ts +1 -1
  24. package/dist/components/UserCard/UserCardCredentials.d.ts +1 -1
  25. package/dist/index.js +1 -1
  26. package/dist/index.js.map +1 -1
  27. package/package.json +4 -4
  28. package/tsbuildcache +1 -1
@@ -1,5 +1,4 @@
1
- /// <reference types="react" />
2
1
  import { BalancePieChartProps } from './types';
3
2
  export declare const BalancePieChart: import("react").FC<Pick<BalancePieChartProps, "data" | "variant" | "total" | "currency" | "legendColorPalette" | "chartColorPalette"> & {
4
- theme?: import("@emotion/react").Theme | undefined;
3
+ theme?: import("@emotion/react").Theme;
5
4
  }>;
@@ -1,5 +1,4 @@
1
- /// <reference types="react" />
2
1
  import { BalancePieChartTitleProps } from './types';
3
2
  export declare const BalancePieChartTitle: import("react").FC<Pick<BalancePieChartTitleProps, "total" | "currency"> & {
4
- theme?: import("@emotion/react").Theme | undefined;
3
+ theme?: import("@emotion/react").Theme;
5
4
  }>;
@@ -1,6 +1,5 @@
1
- /// <reference types="react" />
2
1
  import { AccountBalanceProps } from './types';
3
2
  export declare const WithLink: ({ link, onClick, children, className, }: Pick<AccountBalanceProps, "link" | "onClick"> & {
4
3
  children: React.ReactNode;
5
- className?: string | undefined;
4
+ className?: string;
6
5
  }) => string | number | boolean | import("@emotion/react/types/jsx-namespace").EmotionJSX.Element | import("react").ReactFragment | null | undefined;
@@ -1,5 +1,4 @@
1
- /// <reference types="react" />
2
1
  export declare const BmiHeatbar: import("@emotion/styled").StyledComponent<{
3
- theme?: import("@emotion/react").Theme | undefined;
4
- as?: import("react").ElementType<any> | undefined;
2
+ theme?: import("@emotion/react").Theme;
3
+ as?: React.ElementType;
5
4
  }, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
@@ -1,5 +1,4 @@
1
- /// <reference types="react" />
2
1
  export declare const BmiInfo: import("@emotion/styled").StyledComponent<{
3
- theme?: import("@emotion/react").Theme | undefined;
4
- as?: import("react").ElementType<any> | undefined;
2
+ theme?: import("@emotion/react").Theme;
3
+ as?: React.ElementType;
5
4
  }, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  export declare const BmiLabel: import("@emotion/styled").StyledComponent<Omit<import("@ssa-ui-kit/core/dist/components/Typography/types").TypographyProps, "ref"> & import("react").RefAttributes<HTMLElement> & {
3
- theme?: import("@emotion/react").Theme | undefined;
2
+ theme?: import("@emotion/react").Theme;
4
3
  }, {}, {}>;
@@ -1,7 +1,6 @@
1
- /// <reference types="react" />
2
1
  export declare const BmiPointer: import("@emotion/styled").StyledComponent<{
3
- theme?: import("@emotion/react").Theme | undefined;
4
- as?: import("react").ElementType<any> | undefined;
2
+ theme?: import("@emotion/react").Theme;
3
+ as?: React.ElementType;
5
4
  } & {
6
5
  percentage: number;
7
6
  }, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
@@ -1,9 +1,8 @@
1
- /// <reference types="react" />
2
1
  export declare const BotsTableCell: import("@emotion/styled").StyledComponent<{
3
- theme?: import("@emotion/react").Theme | undefined;
4
- as?: import("react").ElementType<any> | undefined;
2
+ theme?: import("@emotion/react").Theme;
3
+ as?: React.ElementType;
5
4
  } & {
6
- align?: string | undefined;
5
+ align?: string;
7
6
  } & import("@ssa-ui-kit/core").CommonProps & import("react").ClassAttributes<HTMLTableDataCellElement> & import("react").TdHTMLAttributes<HTMLTableDataCellElement> & {
8
- theme?: import("@emotion/react").Theme | undefined;
7
+ theme?: import("@emotion/react").Theme;
9
8
  }, {}, {}>;
@@ -1,7 +1,6 @@
1
- /// <reference types="react" />
2
1
  export declare const BotsTableHead: import("@emotion/styled").StyledComponent<{
3
- theme?: import("@emotion/react").Theme | undefined;
4
- as?: import("react").ElementType<any> | undefined;
2
+ theme?: import("@emotion/react").Theme;
3
+ as?: React.ElementType;
5
4
  } & import("@ssa-ui-kit/core").CommonProps & import("react").ClassAttributes<HTMLTableSectionElement> & import("react").HTMLAttributes<HTMLTableSectionElement> & {
6
- theme?: import("@emotion/react").Theme | undefined;
5
+ theme?: import("@emotion/react").Theme;
7
6
  }, {}, {}>;
@@ -1,9 +1,8 @@
1
- /// <reference types="react" />
2
1
  export declare const BotsTableRow: import("@emotion/styled").StyledComponent<{
3
- theme?: import("@emotion/react").Theme | undefined;
4
- as?: import("react").ElementType<any> | undefined;
2
+ theme?: import("@emotion/react").Theme;
3
+ as?: React.ElementType;
5
4
  } & import("@ssa-ui-kit/core").CommonProps & import("react").ClassAttributes<HTMLTableRowElement> & import("react").HTMLAttributes<HTMLTableRowElement> & {
6
- theme?: import("@emotion/react").Theme | undefined;
5
+ theme?: import("@emotion/react").Theme;
7
6
  } & {
8
- isDisabled?: boolean | undefined;
7
+ isDisabled?: boolean;
9
8
  }, {}, {}>;
@@ -1,7 +1,6 @@
1
- /// <reference types="react" />
2
1
  export declare const BotsTableWrapper: import("@emotion/styled").StyledComponent<{
3
- theme?: import("@emotion/react").Theme | undefined;
4
- as?: import("react").ElementType<any> | undefined;
2
+ theme?: import("@emotion/react").Theme;
3
+ as?: React.ElementType;
5
4
  } & import("@ssa-ui-kit/core").CommonProps & import("react").ClassAttributes<HTMLTableElement> & import("react").TableHTMLAttributes<HTMLTableElement> & {
6
- theme?: import("@emotion/react").Theme | undefined;
5
+ theme?: import("@emotion/react").Theme;
7
6
  }, {}, {}>;
@@ -1,4 +1,4 @@
1
1
  import { Icon } from '@ssa-ui-kit/core';
2
2
  export declare const ActionIcon: ({ name, }: {
3
- name: Parameters<typeof Icon>[0]['name'];
3
+ name: Parameters<typeof Icon>[0]["name"];
4
4
  }) => import("@emotion/react/types/jsx-namespace").EmotionJSX.Element;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { ExchangeType } from './stories/BotsTable/components/Exchange/types';
3
2
  import { TradeType } from './stories/BotsTable/components/Trade/types';
4
3
  export interface PNL {
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { MainColors, ProgressCircle } from '@ssa-ui-kit/core';
3
2
  export type Goal = {
4
3
  id: string;
@@ -6,13 +6,13 @@ declare const mockDataLoad: {
6
6
  x: Date;
7
7
  y: number;
8
8
  comp: number;
9
- unit?: string | undefined;
9
+ unit?: string;
10
10
  }[];
11
11
  }[]>;
12
12
  getOptions(): Promise<OptionType[]>;
13
13
  };
14
14
  export declare const mockStaticApi: {
15
- getData(timePeriodId: 'd' | 'm' | 'w'): Promise<({
15
+ getData(timePeriodId: "d" | "m" | "w"): Promise<({
16
16
  data: {
17
17
  comp: number;
18
18
  unit: string;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { Point, LineSvgProps, CustomLayerProps } from '@nivo/line';
3
2
  import { ScaleTimeSpec } from '@nivo/scales';
4
3
  import { MainColors, DropdownOptionProps } from '@ssa-ui-kit/core';
@@ -1,5 +1,4 @@
1
- /// <reference types="react" />
2
1
  declare const Marker: import("@emotion/styled").StyledComponent<import("@ssa-ui-kit/core/dist/components/Badge/types").BadgeProps & import("react").RefAttributes<HTMLDivElement> & {
3
- theme?: import("@emotion/react").Theme | undefined;
2
+ theme?: import("@emotion/react").Theme;
4
3
  }, {}, {}>;
5
4
  export default Marker;
@@ -1,6 +1,5 @@
1
- /// <reference types="react" />
2
1
  declare const MealPlannerBars: import("@emotion/styled").StyledComponent<{
3
- theme?: import("@emotion/react").Theme | undefined;
4
- as?: import("react").ElementType<any> | undefined;
2
+ theme?: import("@emotion/react").Theme;
3
+ as?: React.ElementType;
5
4
  }, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLUListElement>, HTMLUListElement>, {}>;
6
5
  export default MealPlannerBars;
@@ -1,12 +1,11 @@
1
- /// <reference types="react" />
2
1
  declare const MealPlannerLegends: {
3
2
  List: import("@emotion/styled").StyledComponent<{
4
- theme?: import("@emotion/react").Theme | undefined;
5
- as?: import("react").ElementType<any> | undefined;
3
+ theme?: import("@emotion/react").Theme;
4
+ as?: React.ElementType;
6
5
  }, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLUListElement>, HTMLUListElement>, {}>;
7
6
  Item: import("@emotion/styled").StyledComponent<{
8
- theme?: import("@emotion/react").Theme | undefined;
9
- as?: import("react").ElementType<any> | undefined;
7
+ theme?: import("@emotion/react").Theme;
8
+ as?: React.ElementType;
10
9
  }, import("react").DetailedHTMLProps<import("react").LiHTMLAttributes<HTMLLIElement>, HTMLLIElement>, {}>;
11
10
  };
12
11
  export default MealPlannerLegends;
@@ -1,8 +1,7 @@
1
- /// <reference types="react" />
2
1
  declare const TradingScoreboardBase: import("@emotion/styled").StyledComponent<{
3
- theme?: import("@emotion/react").Theme | undefined;
4
- as?: import("react").ElementType<any> | undefined;
2
+ theme?: import("@emotion/react").Theme;
3
+ as?: React.ElementType;
5
4
  } & {
6
- itemsPerRow?: number | undefined;
5
+ itemsPerRow?: number;
7
6
  }, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
8
7
  export default TradingScoreboardBase;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { TradingInfoCardProps } from '../TradingInfoCard/types';
3
2
  import { SerializedStyles } from '@emotion/react';
4
3
  type TradingScoreboardItem = Pick<TradingInfoCardProps, 'value' | 'unit' | 'title' | 'icon' | 'link'>;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  export interface UpcomingWorkoutCardProps {
3
2
  image: string;
4
3
  title: string;
@@ -1,3 +1,3 @@
1
1
  import { User } from './types';
2
- declare const UserCardBMI: ({ weight, height, age, }: Partial<Pick<User, 'weight' | 'height' | 'age'>>) => import("@emotion/react/types/jsx-namespace").EmotionJSX.Element;
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, 'name' | 'email'>>) => import("@emotion/react/types/jsx-namespace").EmotionJSX.Element;
2
+ declare const UserCardCredentials: ({ name, email, }: Partial<Pick<User, "name" | "email">>) => import("@emotion/react/types/jsx-namespace").EmotionJSX.Element;
3
3
  export default UserCardCredentials;