@20minutes/hela 2.21.8 → 2.21.9

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.
@@ -4,7 +4,7 @@ export interface TagOptions {
4
4
  variant?: 'primary' | 'secondary' | 'tertiary' | 'quaternary' | 'quinary' | 'span' | 'transparent';
5
5
  }
6
6
  export interface TagSize {
7
- size?: 'regular' | 'small' | 'extra-small';
7
+ size?: 'regular' | 'small';
8
8
  }
9
9
  export type TagProps<T extends As = 'a'> = TagOptions & TagSize & BoxProps<T>;
10
10
  export declare const Tag: import('../../../types').ComponentWithAs<"div", TagProps<"a">>;
@@ -1,17 +1,18 @@
1
- import { default as React } from 'react';
2
1
  import { BoxProps } from '../..';
3
2
  import { LayoutType } from '../../../types';
3
+ type RankingPlayer = {
4
+ current: number;
5
+ previous: number;
6
+ points: number;
7
+ played: number;
8
+ wins: number;
9
+ username: string;
10
+ avatar?: string;
11
+ isCurrentUser?: boolean;
12
+ };
4
13
  export interface RankingProps extends BoxProps {
5
- playerData: {
6
- current: number;
7
- previous: number;
8
- points: number;
9
- played: number;
10
- wins: number;
11
- username: string;
12
- avatar?: string;
13
- isCurrentUser?: boolean;
14
- }[];
15
14
  layout: LayoutType;
15
+ playerData?: RankingPlayer[];
16
16
  }
17
- export declare const Ranking: React.FC<RankingProps>;
17
+ export declare const Ranking: ({ playerData, layout, ...boxProps }: RankingProps) => import("react/jsx-runtime").JSX.Element;
18
+ export {};