@ssa-ui-kit/widgets 0.0.28-alpha → 0.0.29-alpha

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 (101) hide show
  1. package/custom-shots/widgets-bots-table--no-control-orders--run-reason-modal_[w1920px].png +0 -0
  2. package/custom-shots/widgets-collapsiblenavbar-opened__[w899px]_menu_opened.png +0 -0
  3. package/custom-shots/widgets-collapsiblenavbar-opened__[w899px]_statistics_submenu.png +0 -0
  4. package/custom-shots/widgets-filters--default__[w1920px].png +0 -0
  5. package/custom-shots/widgets-meal-nutrients--hint-opened__[w1440px].png +0 -0
  6. package/custom-shots/widgets-meal-nutrients--hint-opened__[w390px].png +0 -0
  7. package/custom-shots/widgets-meal-nutrients--hint-opened__[w900px].png +0 -0
  8. package/custom-shots/widgets-meal-nutrients--hint-opened__dropdown__[w390px].png +0 -0
  9. package/custom-shots/widgets-meal-nutrients--hint-opened__dropdown__[w900px].png +0 -0
  10. package/custom-shots/widgets-notification-menu--is-opened__[w1440px].png +0 -0
  11. package/custom-shots/widgets-notification-menu--is-opened__[w1920px].png +0 -0
  12. package/custom-shots/widgets-notification-menu--is-opened__[w900px].png +0 -0
  13. package/custom-shots/widgets-pagination--selected-hover__[w1920px].png +0 -0
  14. package/custom-shots/widgets-pagination-disabled--selected-hover__[w1920px].png +0 -0
  15. package/custom-shots/widgets-progressInfo__dropdown__[w1920px].png +0 -0
  16. package/custom-shots/widgets-progressInfo__dropdown__[w390px].png +0 -0
  17. package/custom-shots/widgets-progressInfo__dropdown__[w900px].png +0 -0
  18. package/custom-shots/widgets-searchbox--cross-icon__[w900px].png +0 -0
  19. package/custom-shots/widgets-table-filters--opened__[w1920px].png +0 -0
  20. package/custom-shots/widgets-trading-info-card--hover__[w1920px].png +0 -0
  21. package/custom-shots/widgets-user-profile--is-opened__[w1920px].png +0 -0
  22. package/dist/components/Calories/Calories.d.ts +2 -2
  23. package/dist/components/Calories/innerContent.d.ts +2 -2
  24. package/dist/components/Calories/types.d.ts +1 -1
  25. package/dist/components/CardList/CardList.d.ts +2 -2
  26. package/dist/components/CardList/types.d.ts +1 -1
  27. package/dist/components/CollapsibleNavBar/TriggerIcon.d.ts +2 -2
  28. package/dist/components/HeartRate/BPM.d.ts +2 -2
  29. package/dist/components/HeartRate/HeartRate.d.ts +2 -2
  30. package/dist/components/HeartRate/types.d.ts +3 -3
  31. package/dist/components/ListGoals/ListGoals.d.ts +2 -2
  32. package/dist/components/ListGoals/ListGoalsCard.d.ts +2 -2
  33. package/dist/components/ListGoals/types.d.ts +2 -2
  34. package/dist/components/MealNutrients/MealNutrients.d.ts +2 -2
  35. package/dist/components/MealNutrients/MealNutrientsTooltip.d.ts +2 -2
  36. package/dist/components/MealNutrients/types.d.ts +4 -4
  37. package/dist/components/NavBar/NavBar.d.ts +2 -2
  38. package/dist/components/NavBar/types.d.ts +6 -6
  39. package/dist/components/Pagination/ArrowButton.d.ts +2 -2
  40. package/dist/components/Pagination/Pagination.d.ts +2 -2
  41. package/dist/components/Pagination/PaginationButtons.d.ts +2 -2
  42. package/dist/components/Pagination/PaginationContext.d.ts +4 -4
  43. package/dist/components/Pagination/types.d.ts +6 -6
  44. package/dist/components/ProgressInfo/ProgressInfo.d.ts +2 -2
  45. package/dist/components/ProgressInfo/types.d.ts +1 -1
  46. package/dist/components/TableFilters/TableFilterCheckbox.d.ts +2 -2
  47. package/dist/components/TradingInfoCard/TradingInfoCard.d.ts +2 -2
  48. package/dist/components/TradingInfoCard/TradingInfoCardTooltip.d.ts +2 -2
  49. package/dist/components/TradingInfoCard/TradingInfoCardWrapper.d.ts +2 -2
  50. package/dist/components/TradingInfoCard/types.d.ts +4 -4
  51. package/dist/components/TradingScoreboard/TradingScoreboard.d.ts +2 -2
  52. package/dist/components/TradingScoreboard/types.d.ts +3 -3
  53. package/dist/components/UpcomingWorkouts/UpcomingWorkoutCard.d.ts +2 -2
  54. package/dist/components/UpcomingWorkouts/UpcomingWorkouts.d.ts +2 -2
  55. package/dist/components/UpcomingWorkouts/types.d.ts +2 -2
  56. package/dist/index.js.map +1 -1
  57. package/package.json +4 -4
  58. package/src/components/Activity/Activity.tsx +3 -3
  59. package/src/components/Calories/Calories.tsx +2 -2
  60. package/src/components/Calories/innerContent.tsx +2 -2
  61. package/src/components/Calories/types.ts +1 -1
  62. package/src/components/CardList/CardList.tsx +2 -2
  63. package/src/components/CardList/types.ts +1 -1
  64. package/src/components/CollapsibleNavBar/TriggerIcon.tsx +2 -2
  65. package/src/components/Filters/FiltersBlock.tsx +1 -0
  66. package/src/components/HeartRate/BPM.tsx +2 -2
  67. package/src/components/HeartRate/HeartRate.tsx +2 -2
  68. package/src/components/HeartRate/types.ts +3 -3
  69. package/src/components/ListGoals/ListGoals.tsx +2 -2
  70. package/src/components/ListGoals/ListGoalsCard.tsx +2 -2
  71. package/src/components/ListGoals/types.ts +2 -2
  72. package/src/components/MealNutrients/MealNutrients.stories.tsx +3 -3
  73. package/src/components/MealNutrients/MealNutrients.tsx +2 -2
  74. package/src/components/MealNutrients/MealNutrientsTooltip.tsx +4 -4
  75. package/src/components/MealNutrients/types.ts +4 -4
  76. package/src/components/MealPlanner/MealPlanner.tsx +3 -3
  77. package/src/components/NavBar/NavBar.tsx +2 -2
  78. package/src/components/NavBar/types.ts +6 -6
  79. package/src/components/NotificationCard/NotificationCard.tsx +2 -2
  80. package/src/components/Pagination/ArrowButton.tsx +2 -2
  81. package/src/components/Pagination/Pagination.tsx +2 -2
  82. package/src/components/Pagination/PaginationButtons.tsx +3 -3
  83. package/src/components/Pagination/PaginationContext.tsx +7 -4
  84. package/src/components/Pagination/types.ts +6 -6
  85. package/src/components/ProgressInfo/ProgressInfo.stories.tsx +2 -2
  86. package/src/components/ProgressInfo/ProgressInfo.tsx +4 -4
  87. package/src/components/ProgressInfo/types.ts +1 -1
  88. package/src/components/TableFilters/TableFilterCheckbox.tsx +2 -2
  89. package/src/components/TableFilters/TableFilters.tsx +2 -2
  90. package/src/components/TradingInfoCard/TradingInfoCard.stories.tsx +6 -6
  91. package/src/components/TradingInfoCard/TradingInfoCard.tsx +3 -3
  92. package/src/components/TradingInfoCard/TradingInfoCardTooltip.tsx +2 -2
  93. package/src/components/TradingInfoCard/TradingInfoCardWrapper.tsx +2 -2
  94. package/src/components/TradingInfoCard/types.ts +5 -5
  95. package/src/components/TradingScoreboard/TradingScoreboard.stories.tsx +5 -5
  96. package/src/components/TradingScoreboard/TradingScoreboard.tsx +2 -2
  97. package/src/components/TradingScoreboard/types.ts +3 -3
  98. package/src/components/UpcomingWorkouts/UpcomingWorkoutCard.tsx +2 -2
  99. package/src/components/UpcomingWorkouts/UpcomingWorkouts.tsx +2 -2
  100. package/src/components/UpcomingWorkouts/types.ts +2 -2
  101. package/tsbuildcache +1 -1
@@ -1,6 +1,6 @@
1
- import { ICaloriesProps } from './types';
1
+ import { CaloriesProps } from './types';
2
2
  /**
3
3
  *
4
4
  * UI Component that shows how many calories the user has burned
5
5
  */
6
- export declare const Calories: ({ max, currentValue }: ICaloriesProps) => import("@emotion/react/types/jsx-namespace").EmotionJSX.Element;
6
+ export declare const Calories: ({ max, currentValue }: CaloriesProps) => import("@emotion/react/types/jsx-namespace").EmotionJSX.Element;
@@ -1,2 +1,2 @@
1
- import { ICaloriesProps } from './types';
2
- export declare const InnerContent: ({ currentValue, max }: ICaloriesProps) => import("@emotion/react/types/jsx-namespace").EmotionJSX.Element;
1
+ import { CaloriesProps } from './types';
2
+ export declare const InnerContent: ({ currentValue, max }: CaloriesProps) => import("@emotion/react/types/jsx-namespace").EmotionJSX.Element;
@@ -1,4 +1,4 @@
1
- export interface ICaloriesProps {
1
+ export interface CaloriesProps {
2
2
  max: number;
3
3
  currentValue: number;
4
4
  }
@@ -1,6 +1,6 @@
1
- import { ICardListProps, Item } from './types';
1
+ import { CardListProps, Item } from './types';
2
2
  /**
3
3
  *
4
4
  * UI Component that renders a list of items with a custom render function
5
5
  */
6
- export declare const CardList: <ItemType extends Item>({ title, items, renderItem, }: ICardListProps<ItemType>) => import("@emotion/react/types/jsx-namespace").EmotionJSX.Element;
6
+ export declare const CardList: <ItemType extends Item>({ title, items, renderItem, }: CardListProps<ItemType>) => import("@emotion/react/types/jsx-namespace").EmotionJSX.Element;
@@ -3,7 +3,7 @@ export type Item = {
3
3
  id: string | number;
4
4
  [prop: string | number | symbol]: unknown;
5
5
  };
6
- export interface ICardListProps<ItemType extends Item> {
6
+ export interface CardListProps<ItemType extends Item> {
7
7
  title: string;
8
8
  items: Array<ItemType>;
9
9
  renderItem: (item: ItemType) => React.ReactNode;
@@ -1,7 +1,7 @@
1
1
  /// <reference types="react" />
2
- import { IMapIcons, SVGProps } from '@ssa-ui-kit/core';
2
+ import { MapIconsType, SVGProps } from '@ssa-ui-kit/core';
3
3
  export declare const TriggerIcon: ({ iconName, iconSize, className, CustomIcon, }: {
4
- iconName: keyof IMapIcons;
4
+ iconName: keyof MapIconsType;
5
5
  iconSize?: number | undefined;
6
6
  className?: string | undefined;
7
7
  CustomIcon?: ((props: Omit<SVGProps, 'fill'>) => JSX.Element) | undefined;
@@ -1,2 +1,2 @@
1
- import { IBMPProps } from './types';
2
- export declare const BPM: ({ value }: IBMPProps) => import("@emotion/react/types/jsx-namespace").EmotionJSX.Element;
1
+ import { BMPProps } from './types';
2
+ export declare const BPM: ({ value }: BMPProps) => import("@emotion/react/types/jsx-namespace").EmotionJSX.Element;
@@ -1,6 +1,6 @@
1
- import { IHeartRateProps } from './types';
1
+ import { HeartRateProps } from './types';
2
2
  /**
3
3
  *
4
4
  * UI Component that shows the heart rate of the user
5
5
  */
6
- export declare const HeartRate: ({ data, caption, color, }: IHeartRateProps) => import("@emotion/react/types/jsx-namespace").EmotionJSX.Element;
6
+ export declare const HeartRate: ({ data, caption, color, }: HeartRateProps) => import("@emotion/react/types/jsx-namespace").EmotionJSX.Element;
@@ -1,12 +1,12 @@
1
1
  import { Serie } from '@nivo/line';
2
- export interface IHeartRateProps {
2
+ export interface HeartRateProps {
3
3
  data: Serie;
4
4
  caption?: string;
5
5
  color?: string;
6
6
  }
7
- export interface IBMPProps {
7
+ export interface BMPProps {
8
8
  value: number;
9
9
  }
10
- export interface IHeartRateCaptionProps {
10
+ export interface HeartRateCaptionProps {
11
11
  caption: string;
12
12
  }
@@ -1,6 +1,6 @@
1
- import { IListGoalsProps } from './types';
1
+ import { ListGoalsProps } from './types';
2
2
  /**
3
3
  *
4
4
  * UI Component that uses CardList to render a list of goals
5
5
  */
6
- export declare const ListGoals: ({ goals }: IListGoalsProps) => import("@emotion/react/types/jsx-namespace").EmotionJSX.Element;
6
+ export declare const ListGoals: ({ goals }: ListGoalsProps) => import("@emotion/react/types/jsx-namespace").EmotionJSX.Element;
@@ -1,2 +1,2 @@
1
- import { IItemCardProps } from './types';
2
- export declare const ListGoalsCard: ({ image, title, details, progressProps, }: IItemCardProps) => import("@emotion/react/types/jsx-namespace").EmotionJSX.Element;
1
+ import { ItemCardProps } from './types';
2
+ export declare const ListGoalsCard: ({ image, title, details, progressProps, }: ItemCardProps) => import("@emotion/react/types/jsx-namespace").EmotionJSX.Element;
@@ -8,11 +8,11 @@ export type Goal = {
8
8
  completion: number;
9
9
  color: keyof MainColors;
10
10
  };
11
- export interface IListGoalsProps {
11
+ export interface ListGoalsProps {
12
12
  goals: Array<Goal>;
13
13
  }
14
14
  export type ProgressProps = Partial<React.ComponentProps<typeof ProgressCircle>>;
15
- export interface IItemCardProps {
15
+ export interface ItemCardProps {
16
16
  image: string;
17
17
  title: string;
18
18
  details: string;
@@ -1,6 +1,6 @@
1
- import { IMealNutrientsProps } from './types';
1
+ import { MealNutrientsProps } from './types';
2
2
  /**
3
3
  *
4
4
  * UI Component that shows the nutrients consumed by the user
5
5
  */
6
- export declare const MealNutrients: ({ caption, options, data, onOptionChange, }: IMealNutrientsProps) => import("@emotion/react/types/jsx-namespace").EmotionJSX.Element;
6
+ export declare const MealNutrients: ({ caption, options, data, onOptionChange, }: MealNutrientsProps) => import("@emotion/react/types/jsx-namespace").EmotionJSX.Element;
@@ -1,2 +1,2 @@
1
- import { IMealNutrientsTooltipProps } from './types';
2
- export declare const MealNutrientsTooltip: ({ colorName, point, }: IMealNutrientsTooltipProps) => import("@emotion/react/types/jsx-namespace").EmotionJSX.Element;
1
+ import { MealNutrientsTooltipProps } from './types';
2
+ export declare const MealNutrientsTooltip: ({ colorName, point, }: MealNutrientsTooltipProps) => import("@emotion/react/types/jsx-namespace").EmotionJSX.Element;
@@ -1,19 +1,19 @@
1
1
  /// <reference types="react" />
2
2
  import { Point, LineSvgProps, CustomLayerProps } from '@nivo/line';
3
3
  import { ScaleTimeSpec } from '@nivo/scales';
4
- import { MainColors, IDropdownOption } from '@ssa-ui-kit/core';
5
- export interface OptionType extends IDropdownOption {
4
+ import { MainColors, DropdownOptionProps } from '@ssa-ui-kit/core';
5
+ export interface OptionType extends DropdownOptionProps {
6
6
  value: 'd' | 'w' | 'm';
7
7
  label: string;
8
8
  precision: string;
9
9
  }
10
- export interface IMealNutrientsProps {
10
+ export interface MealNutrientsProps {
11
11
  caption?: string;
12
12
  options: OptionType[];
13
13
  data: LineSvgProps['data'];
14
14
  onOptionChange?: (option: OptionType) => void;
15
15
  }
16
- export interface IMealNutrientsTooltipProps {
16
+ export interface MealNutrientsTooltipProps {
17
17
  colorName: keyof MainColors;
18
18
  point: Exclude<Point, 'data'> & {
19
19
  data: Point['data'] & {
@@ -1,5 +1,5 @@
1
- import { INavBarProps } from './types';
1
+ import { NavBarProps } from './types';
2
2
  /**
3
3
  * UI Component that shows the navigation bar
4
4
  */
5
- export declare const NavBar: ({ items }: INavBarProps) => import("@emotion/react/types/jsx-namespace").EmotionJSX.Element;
5
+ export declare const NavBar: ({ items }: NavBarProps) => import("@emotion/react/types/jsx-namespace").EmotionJSX.Element;
@@ -1,27 +1,27 @@
1
1
  import { EmotionJSX } from '@emotion/react/types/jsx-namespace';
2
- import { IMapIcons } from '@ssa-ui-kit/core';
3
- export interface INavBarProps {
2
+ import { MapIconsType } from '@ssa-ui-kit/core';
3
+ export interface NavBarProps {
4
4
  items: Array<{
5
5
  path: string;
6
- iconName: keyof IMapIcons;
6
+ iconName: keyof MapIconsType;
7
7
  }>;
8
8
  }
9
9
  export type NavBarExtendedItem = {
10
10
  CustomIcon?: () => EmotionJSX.Element;
11
11
  path: string;
12
- iconName: keyof IMapIcons;
12
+ iconName: keyof MapIconsType;
13
13
  title: string;
14
14
  };
15
15
  export type NavBarExtendedGroup = {
16
16
  CustomIcon?: () => EmotionJSX.Element;
17
17
  prefix?: string;
18
- iconName: keyof IMapIcons;
18
+ iconName: keyof MapIconsType;
19
19
  title: string;
20
20
  items: Array<{
21
21
  path: string;
22
22
  title: string;
23
23
  }>;
24
24
  };
25
- export interface INavBarExtendedProps {
25
+ export interface NavBarExtendedProps {
26
26
  items: Array<NavBarExtendedItem | NavBarExtendedGroup>;
27
27
  }
@@ -1,2 +1,2 @@
1
- import { IArrowButtonProps } from './types';
2
- export declare const ArrowButton: ({ direction, onClick, isDisabled, className, }: IArrowButtonProps) => import("@emotion/react/types/jsx-namespace").EmotionJSX.Element;
1
+ import { ArrowButtonProps } from './types';
2
+ export declare const ArrowButton: ({ direction, onClick, isDisabled, className, }: ArrowButtonProps) => import("@emotion/react/types/jsx-namespace").EmotionJSX.Element;
@@ -1,3 +1,3 @@
1
- import { IPaginationProps } from './types';
2
- declare const Pagination: ({ pagesCount, className, as, ariaLabel, isDisabled, }: IPaginationProps) => import("@emotion/react/types/jsx-namespace").EmotionJSX.Element;
1
+ import { PaginationProps } from './types';
2
+ declare const Pagination: ({ pagesCount, className, as, ariaLabel, isDisabled, }: PaginationProps) => import("@emotion/react/types/jsx-namespace").EmotionJSX.Element;
3
3
  export default Pagination;
@@ -1,2 +1,2 @@
1
- import { IPaginationButtonsProps } from './types';
2
- export declare const PaginationButtons: ({ range, selectedPage, onClick, isDisabled, }: IPaginationButtonsProps) => false | import("@emotion/react/types/jsx-namespace").EmotionJSX.Element[];
1
+ import { PaginationButtonsProps } from './types';
2
+ export declare const PaginationButtons: ({ range, selectedPage, onClick, isDisabled, }: PaginationButtonsProps) => false | import("@emotion/react/types/jsx-namespace").EmotionJSX.Element[];
@@ -1,5 +1,5 @@
1
1
  /// <reference types="react" />
2
- import { IPaginationContext, IPaginationContextProviderProps } from './types';
3
- export declare const PaginationContext: import("react").Context<IPaginationContext>;
4
- export declare const usePaginationContext: () => IPaginationContext;
5
- export declare const PaginationContextProvider: ({ selectedPage, children, }: IPaginationContextProviderProps) => import("@emotion/react/types/jsx-namespace").EmotionJSX.Element;
2
+ import { PaginationContextProps, PaginationContextProviderProps } from './types';
3
+ export declare const PaginationContext: import("react").Context<PaginationContextProps>;
4
+ export declare const usePaginationContext: () => PaginationContextProps;
5
+ export declare const PaginationContextProvider: ({ selectedPage, children, }: PaginationContextProviderProps) => import("@emotion/react/types/jsx-namespace").EmotionJSX.Element;
@@ -1,33 +1,33 @@
1
1
  /// <reference types="react" />
2
2
  import { CommonProps } from '@ssa-ui-kit/core';
3
- export interface IPaginationProps extends CommonProps {
3
+ export interface PaginationProps extends CommonProps {
4
4
  pagesCount: number;
5
5
  ariaLabel?: string;
6
6
  isDisabled?: boolean;
7
7
  }
8
- export interface IPaginationButtonsProps {
8
+ export interface PaginationButtonsProps {
9
9
  range: number[];
10
10
  selectedPage?: number;
11
11
  onClick: (page: number) => void;
12
12
  isDisabled?: boolean;
13
13
  }
14
- export interface IArrowButtonProps {
14
+ export interface ArrowButtonProps {
15
15
  direction: 'left' | 'right';
16
16
  onClick: () => void;
17
17
  isDisabled?: boolean;
18
18
  className?: string;
19
19
  }
20
- export interface IPageButtonProps {
20
+ export interface PageButtonProps {
21
21
  onClick: () => void;
22
22
  page: number | string;
23
23
  isSelected: boolean;
24
24
  isDisabled?: boolean;
25
25
  }
26
- export interface IPaginationContext {
26
+ export interface PaginationContextProps {
27
27
  page?: number;
28
28
  setPage: React.Dispatch<React.SetStateAction<number | undefined>>;
29
29
  }
30
- export interface IPaginationContextProviderProps {
30
+ export interface PaginationContextProviderProps {
31
31
  selectedPage?: number;
32
32
  children: React.ReactNode;
33
33
  }
@@ -1,2 +1,2 @@
1
- import { IProgressInfoProps } from './types';
2
- export declare const ProgressInfo: ({ data, className }: IProgressInfoProps) => import("@emotion/react/types/jsx-namespace").EmotionJSX.Element;
1
+ import { ProgressInfoProps } from './types';
2
+ export declare const ProgressInfo: ({ data, className }: ProgressInfoProps) => import("@emotion/react/types/jsx-namespace").EmotionJSX.Element;
@@ -13,7 +13,7 @@ export type ProgressInfoResp = {
13
13
  [key: string]: ProgressInfoItemProps[];
14
14
  };
15
15
  };
16
- export interface IProgressInfoProps {
16
+ export interface ProgressInfoProps {
17
17
  data: ProgressInfoResp;
18
18
  className?: string;
19
19
  }
@@ -1,2 +1,2 @@
1
- import { ICheckboxProps } from '@ssa-ui-kit/core';
2
- export declare const TableFilterCheckbox: (props: ICheckboxProps) => import("@emotion/react/types/jsx-namespace").EmotionJSX.Element;
1
+ import { CheckboxProps } from '@ssa-ui-kit/core';
2
+ export declare const TableFilterCheckbox: (props: CheckboxProps) => import("@emotion/react/types/jsx-namespace").EmotionJSX.Element;
@@ -1,3 +1,3 @@
1
- import { ITradingInfoCardProps } from './types';
2
- declare const TradingInfoCard: (props: ITradingInfoCardProps) => import("@emotion/react/types/jsx-namespace").EmotionJSX.Element;
1
+ import { TradingInfoCardProps } from './types';
2
+ declare const TradingInfoCard: (props: TradingInfoCardProps) => import("@emotion/react/types/jsx-namespace").EmotionJSX.Element;
3
3
  export default TradingInfoCard;
@@ -1,3 +1,3 @@
1
- import { ITradingInfoCardTooltipProps } from './types';
2
- declare const TradingInfoCardTooltip: ({ trigger, children, }: ITradingInfoCardTooltipProps) => import("@emotion/react/types/jsx-namespace").EmotionJSX.Element;
1
+ import { TradingInfoCardTooltipProps } from './types';
2
+ declare const TradingInfoCardTooltip: ({ trigger, children, }: TradingInfoCardTooltipProps) => import("@emotion/react/types/jsx-namespace").EmotionJSX.Element;
3
3
  export default TradingInfoCardTooltip;
@@ -1,3 +1,3 @@
1
- import { ITradingInfoCardWrapperProps } from './types';
2
- declare const TradingInfoCardWrapper: ({ onClick, link, children, }: ITradingInfoCardWrapperProps) => import("@emotion/react/types/jsx-namespace").EmotionJSX.Element;
1
+ import { TradingInfoCardWrapperProps } from './types';
2
+ declare const TradingInfoCardWrapper: ({ onClick, link, children, }: TradingInfoCardWrapperProps) => import("@emotion/react/types/jsx-namespace").EmotionJSX.Element;
3
3
  export default TradingInfoCardWrapper;
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
- export interface ITradingInfoCardProps {
2
+ export interface TradingInfoCardProps {
3
3
  value: React.ReactNode;
4
4
  title: string;
5
5
  unit?: string;
@@ -7,11 +7,11 @@ export interface ITradingInfoCardProps {
7
7
  onClick?: () => void;
8
8
  link?: string;
9
9
  }
10
- export type TradingInfoContent = Pick<ITradingInfoCardProps, 'value' | 'unit' | 'icon'>;
11
- export type ITradingInfoCardWrapperProps = Pick<ITradingInfoCardProps, 'onClick' | 'link'> & {
10
+ export type TradingInfoContent = Pick<TradingInfoCardProps, 'value' | 'unit' | 'icon'>;
11
+ export type TradingInfoCardWrapperProps = Pick<TradingInfoCardProps, 'onClick' | 'link'> & {
12
12
  children?: React.ReactNode;
13
13
  };
14
- export interface ITradingInfoCardTooltipProps {
14
+ export interface TradingInfoCardTooltipProps {
15
15
  trigger: string | number | JSX.Element;
16
16
  children: React.ReactNode;
17
17
  }
@@ -1,3 +1,3 @@
1
- import { ITradingScoreboardProps } from './types';
2
- declare const TradingScoreboard: ({ items, onClick, renderCard, ...props }: ITradingScoreboardProps) => import("@emotion/react/types/jsx-namespace").EmotionJSX.Element;
1
+ import { TradingScoreboardProps } from './types';
2
+ declare const TradingScoreboard: ({ items, onClick, renderCard, ...props }: TradingScoreboardProps) => import("@emotion/react/types/jsx-namespace").EmotionJSX.Element;
3
3
  export default TradingScoreboard;
@@ -1,8 +1,8 @@
1
1
  /// <reference types="react" />
2
- import { ITradingInfoCardProps } from '../TradingInfoCard/types';
2
+ import { TradingInfoCardProps } from '../TradingInfoCard/types';
3
3
  import { SerializedStyles } from '@emotion/react';
4
- type TradingScoreboardItem = Pick<ITradingInfoCardProps, 'value' | 'unit' | 'title' | 'icon' | 'link'>;
5
- export interface ITradingScoreboardProps {
4
+ type TradingScoreboardItem = Pick<TradingInfoCardProps, 'value' | 'unit' | 'title' | 'icon' | 'link'>;
5
+ export interface TradingScoreboardProps {
6
6
  itemsPerRow: number;
7
7
  items: Array<TradingScoreboardItem>;
8
8
  onClick?: (item: TradingScoreboardItem) => void;
@@ -1,6 +1,6 @@
1
- import { IUpcomingWorkoutCardProps } from './types';
1
+ import { UpcomingWorkoutCardProps } from './types';
2
2
  /**
3
3
  *
4
4
  * UI Component that use CardList to render a list of upcoming workouts
5
5
  */
6
- export declare const UpcomingWorkoutCard: ({ image, title, workoutTime, renderDetails, onClick, }: IUpcomingWorkoutCardProps) => import("@emotion/react/types/jsx-namespace").EmotionJSX.Element;
6
+ export declare const UpcomingWorkoutCard: ({ image, title, workoutTime, renderDetails, onClick, }: UpcomingWorkoutCardProps) => import("@emotion/react/types/jsx-namespace").EmotionJSX.Element;
@@ -1,2 +1,2 @@
1
- import { IUpcomingWorkoutsProps } from './types';
2
- export declare const UpcomingWorkouts: ({ workouts }: IUpcomingWorkoutsProps) => import("@emotion/react/types/jsx-namespace").EmotionJSX.Element;
1
+ import { UpcomingWorkoutsProps } from './types';
2
+ export declare const UpcomingWorkouts: ({ workouts }: UpcomingWorkoutsProps) => import("@emotion/react/types/jsx-namespace").EmotionJSX.Element;
@@ -1,5 +1,5 @@
1
1
  /// <reference types="react" />
2
- export interface IUpcomingWorkoutCardProps {
2
+ export interface UpcomingWorkoutCardProps {
3
3
  image: string;
4
4
  title: string;
5
5
  workoutTime: string;
@@ -17,6 +17,6 @@ export type Workout = {
17
17
  minutes: number;
18
18
  };
19
19
  };
20
- export interface IUpcomingWorkoutsProps {
20
+ export interface UpcomingWorkoutsProps {
21
21
  workouts: Array<Workout>;
22
22
  }