profinansy-ui-lib 2.0.2 → 2.0.3

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.
@@ -1,5 +1,5 @@
1
1
  import { FC } from 'react';
2
- import { UserRole } from '@src/common.types';
2
+ import { UserRole } from '../../common.types';
3
3
  export type FooterProps = {
4
4
  userRole: UserRole;
5
5
  clubAccess: boolean;
@@ -1,4 +1,4 @@
1
- import { HeaderLinkType, UserRole } from '@src/common.types';
1
+ import { HeaderLinkType, UserRole } from '../../common.types';
2
2
  export declare const getMainLinks: (profinansyHostname: string, isTest: boolean, leaderBoardPermission: boolean) => Record<UserRole, HeaderLinkType[]>;
3
3
  export declare const LeaderBoardLinks: (permission: boolean, profinansyHostname: string, isGuest?: boolean) => ({
4
4
  name: string;
@@ -17,7 +17,7 @@ export declare const LeaderBoardLinks: (permission: boolean, profinansyHostname:
17
17
  export declare const getClubLinks: (access: boolean, profinansyHostname: string) => {
18
18
  name: string;
19
19
  href: string;
20
- Icon: import("react").FC<import("@src/common.types").IconsInterface>;
20
+ Icon: import("react").FC<import("../../common.types").IconsInterface>;
21
21
  iconSize: {
22
22
  width: number;
23
23
  height: number;
@@ -31,14 +31,14 @@ export declare const getClubLinks: (access: boolean, profinansyHostname: string)
31
31
  export declare const guestLinks: (profinansyHostname: string) => HeaderLinkType[];
32
32
  export declare const authorizedLinks: (profinansyHostname: string, isTest: boolean, leaderBoardPermission: boolean) => ({
33
33
  name: string;
34
- Icon: import("react").FC<import("@src/common.types").IconsInterface>;
34
+ Icon: import("react").FC<import("../../common.types").IconsInterface>;
35
35
  href: string;
36
36
  subPages: any[];
37
37
  iconSize?: undefined;
38
38
  innerPages?: undefined;
39
39
  } | {
40
40
  name: string;
41
- Icon: import("react").FC<import("@src/common.types").IconsInterface>;
41
+ Icon: import("react").FC<import("../../common.types").IconsInterface>;
42
42
  iconSize: {
43
43
  width: number;
44
44
  height: number;
@@ -66,7 +66,7 @@ export declare const authorizedLinks: (profinansyHostname: string, isTest: boole
66
66
  innerPages: string[];
67
67
  } | {
68
68
  name: string;
69
- Icon: import("react").FC<import("@src/common.types").IconsInterface>;
69
+ Icon: import("react").FC<import("../../common.types").IconsInterface>;
70
70
  iconSize: {
71
71
  width: number;
72
72
  height: number;
@@ -95,14 +95,14 @@ export declare const authorizedLinks: (profinansyHostname: string, isTest: boole
95
95
  })[];
96
96
  export declare const paidLinks: (profinansyHostname: string, isTest: boolean, leaderBoardPermission: boolean) => ({
97
97
  name: string;
98
- Icon: import("react").FC<import("@src/common.types").IconsInterface>;
98
+ Icon: import("react").FC<import("../../common.types").IconsInterface>;
99
99
  href: string;
100
100
  subPages: any[];
101
101
  iconSize?: undefined;
102
102
  innerPages?: undefined;
103
103
  } | {
104
104
  name: string;
105
- Icon: import("react").FC<import("@src/common.types").IconsInterface>;
105
+ Icon: import("react").FC<import("../../common.types").IconsInterface>;
106
106
  iconSize: {
107
107
  width: number;
108
108
  height: number;
@@ -130,7 +130,7 @@ export declare const paidLinks: (profinansyHostname: string, isTest: boolean, le
130
130
  innerPages: string[];
131
131
  } | {
132
132
  name: string;
133
- Icon: import("react").FC<import("@src/common.types").IconsInterface>;
133
+ Icon: import("react").FC<import("../../common.types").IconsInterface>;
134
134
  iconSize: {
135
135
  width: number;
136
136
  height: number;
@@ -1,5 +1,5 @@
1
1
  import { FC } from 'react';
2
- import { UserRole } from '@src/common.types';
2
+ import { UserRole } from '../../common.types';
3
3
  type Props = {
4
4
  userRole: UserRole;
5
5
  avatarUrl?: string;
package/dist/index.d.ts CHANGED
@@ -1,14 +1,14 @@
1
- import { Header } from '@components/header';
2
- import { Footer } from '@components/footer';
3
- import { CheckboxSize, Checkbox, CheckboxForm } from '@components/uikit/Checkbox';
4
- import { Radio, RadioSize } from '@components/uikit/Radio';
5
- import { Portal } from '@components/uikit/Portal';
6
- import { Loader, SizeLoader } from '@components/uikit/Loader';
7
- import { ButtonTheme, ButtonSize, Button } from '@components/uikit/Button';
8
- import { TextButtonTheme, TextButton } from '@components/uikit/TextButton';
9
- import { RegexPattern, Input } from '@components/uikit/Input';
10
- import { ErrorText } from '@components/uikit/ErrorText';
11
- import { Avatar } from '@components/uikit/Avatar';
12
- import { Tooltip, DefaultTooltip } from '@components/uikit/Tooltip';
13
- import { Modal } from '@components/uikit/Modal';
1
+ import { Header } from './components/header';
2
+ import { Footer } from './components/footer';
3
+ import { CheckboxSize, Checkbox, CheckboxForm } from './components/uikit/Checkbox';
4
+ import { Radio, RadioSize } from './components/uikit/Radio';
5
+ import { Portal } from './components/uikit/Portal';
6
+ import { Loader, SizeLoader } from './components/uikit/Loader';
7
+ import { ButtonTheme, ButtonSize, Button } from './components/uikit/Button';
8
+ import { TextButtonTheme, TextButton } from './components/uikit/TextButton';
9
+ import { RegexPattern, Input } from './components/uikit/Input';
10
+ import { ErrorText } from './components/uikit/ErrorText';
11
+ import { Avatar } from './components/uikit/Avatar';
12
+ import { Tooltip, DefaultTooltip } from './components/uikit/Tooltip';
13
+ import { Modal } from './components/uikit/Modal';
14
14
  export { Footer, Header, CheckboxForm, CheckboxSize, Checkbox, Radio, RadioSize, Portal, Loader, SizeLoader, Button, ButtonSize, ButtonTheme, TextButton, TextButtonTheme, RegexPattern, Input, ErrorText, Avatar, Tooltip, DefaultTooltip, Modal };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "profinansy-ui-lib",
3
- "version": "2.0.2",
3
+ "version": "2.0.3",
4
4
  "main": "./dist/index.js",
5
5
  "license": "MIT",
6
6
  "devDependencies": {