diff options
author | 2021-10-15 17:20:09 +0530 | |
---|---|---|
committer | 2021-10-15 17:20:09 +0530 | |
commit | a05ef4bb5101e6e8d999ad0d7383b394996fb763 (patch) | |
tree | 38072e3abe8d0bdaababf0abd1710dc47baa4a3c /src/components | |
parent | chore: move 'packages/forms' into 'src' (no longer an injected package) (#2079) (diff) | |
download | ferdium-app-a05ef4bb5101e6e8d999ad0d7383b394996fb763.tar.gz ferdium-app-a05ef4bb5101e6e8d999ad0d7383b394996fb763.tar.zst ferdium-app-a05ef4bb5101e6e8d999ad0d7383b394996fb763.zip |
chore: move 'packages/themes' into 'src' (no longer an injected package) (#2080)
Diffstat (limited to 'src/components')
-rw-r--r-- | src/components/ui/badge/ProBadge.tsx | 2 | ||||
-rw-r--r-- | src/components/ui/badge/index.tsx | 2 | ||||
-rw-r--r-- | src/components/ui/button/index.tsx | 2 | ||||
-rw-r--r-- | src/components/ui/error/styles.ts | 2 | ||||
-rw-r--r-- | src/components/ui/headline/index.tsx | 2 | ||||
-rw-r--r-- | src/components/ui/icon/index.tsx | 2 | ||||
-rw-r--r-- | src/components/ui/infobox/index.tsx | 2 | ||||
-rw-r--r-- | src/components/ui/input/styles.ts | 2 | ||||
-rw-r--r-- | src/components/ui/label/styles.ts | 2 | ||||
-rw-r--r-- | src/components/ui/select/index.tsx | 3 | ||||
-rw-r--r-- | src/components/ui/textarea/styles.ts | 2 | ||||
-rw-r--r-- | src/components/ui/toggle/index.tsx | 2 | ||||
-rw-r--r-- | src/components/ui/typings/generic.ts | 2 |
13 files changed, 13 insertions, 14 deletions
diff --git a/src/components/ui/badge/ProBadge.tsx b/src/components/ui/badge/ProBadge.tsx index cb6bc4c98..dc1e76f7f 100644 --- a/src/components/ui/badge/ProBadge.tsx +++ b/src/components/ui/badge/ProBadge.tsx | |||
@@ -3,7 +3,7 @@ import classnames from 'classnames'; | |||
3 | import { Component } from 'react'; | 3 | import { Component } from 'react'; |
4 | import injectStyle from 'react-jss'; | 4 | import injectStyle from 'react-jss'; |
5 | 5 | ||
6 | import { Theme } from '@meetfranz/theme'; | 6 | import { Theme } from '../../../themes'; |
7 | import { Icon } from '../icon'; | 7 | import { Icon } from '../icon'; |
8 | import { Badge } from './index'; | 8 | import { Badge } from './index'; |
9 | import { IWithStyle } from '../typings/generic'; | 9 | import { IWithStyle } from '../typings/generic'; |
diff --git a/src/components/ui/badge/index.tsx b/src/components/ui/badge/index.tsx index 6495036ff..61bede937 100644 --- a/src/components/ui/badge/index.tsx +++ b/src/components/ui/badge/index.tsx | |||
@@ -2,7 +2,7 @@ import classnames from 'classnames'; | |||
2 | import { Component, ReactNode } from 'react'; | 2 | import { Component, ReactNode } from 'react'; |
3 | import injectStyle from 'react-jss'; | 3 | import injectStyle from 'react-jss'; |
4 | 4 | ||
5 | import { Theme } from '@meetfranz/theme'; | 5 | import { Theme } from '../../../themes'; |
6 | import { IWithStyle } from '../typings/generic'; | 6 | import { IWithStyle } from '../typings/generic'; |
7 | 7 | ||
8 | interface IProps extends IWithStyle { | 8 | interface IProps extends IWithStyle { |
diff --git a/src/components/ui/button/index.tsx b/src/components/ui/button/index.tsx index 5b8927b51..12e5e4449 100644 --- a/src/components/ui/button/index.tsx +++ b/src/components/ui/button/index.tsx | |||
@@ -4,8 +4,8 @@ import { Property } from 'csstype'; | |||
4 | import { Component, MouseEvent } from 'react'; | 4 | import { Component, MouseEvent } from 'react'; |
5 | import injectStyle, { withTheme } from 'react-jss'; | 5 | import injectStyle, { withTheme } from 'react-jss'; |
6 | import Loader from 'react-loader'; | 6 | import Loader from 'react-loader'; |
7 | import { Theme } from '@meetfranz/theme'; | ||
8 | 7 | ||
8 | import { Theme } from '../../../themes'; | ||
9 | import { IFormField, IWithStyle } from '../typings/generic'; | 9 | import { IFormField, IWithStyle } from '../typings/generic'; |
10 | 10 | ||
11 | type ButtonType = | 11 | type ButtonType = |
diff --git a/src/components/ui/error/styles.ts b/src/components/ui/error/styles.ts index ed993ddd5..9da95705a 100644 --- a/src/components/ui/error/styles.ts +++ b/src/components/ui/error/styles.ts | |||
@@ -1,4 +1,4 @@ | |||
1 | import { Theme } from '@meetfranz/theme'; | 1 | import { Theme } from '../../../themes'; |
2 | 2 | ||
3 | export default (theme: Theme) => ({ | 3 | export default (theme: Theme) => ({ |
4 | message: { | 4 | message: { |
diff --git a/src/components/ui/headline/index.tsx b/src/components/ui/headline/index.tsx index 3a3654f02..ea2949102 100644 --- a/src/components/ui/headline/index.tsx +++ b/src/components/ui/headline/index.tsx | |||
@@ -2,7 +2,7 @@ import classnames from 'classnames'; | |||
2 | import { Component, createElement, ReactNode } from 'react'; | 2 | import { Component, createElement, ReactNode } from 'react'; |
3 | import injectStyle from 'react-jss'; | 3 | import injectStyle from 'react-jss'; |
4 | 4 | ||
5 | import { Theme } from '@meetfranz/theme'; | 5 | import { Theme } from '../../../themes'; |
6 | import { IWithStyle, Omit } from '../typings/generic'; | 6 | import { IWithStyle, Omit } from '../typings/generic'; |
7 | 7 | ||
8 | interface IProps extends IWithStyle { | 8 | interface IProps extends IWithStyle { |
diff --git a/src/components/ui/icon/index.tsx b/src/components/ui/icon/index.tsx index fdc48d14a..85bb61d13 100644 --- a/src/components/ui/icon/index.tsx +++ b/src/components/ui/icon/index.tsx | |||
@@ -3,7 +3,7 @@ import classnames from 'classnames'; | |||
3 | import { Component } from 'react'; | 3 | import { Component } from 'react'; |
4 | import injectStyle from 'react-jss'; | 4 | import injectStyle from 'react-jss'; |
5 | 5 | ||
6 | import { Theme } from '@meetfranz/theme'; | 6 | import { Theme } from '../../../themes'; |
7 | import { IWithStyle } from '../typings/generic'; | 7 | import { IWithStyle } from '../typings/generic'; |
8 | 8 | ||
9 | interface IProps extends IWithStyle { | 9 | interface IProps extends IWithStyle { |
diff --git a/src/components/ui/infobox/index.tsx b/src/components/ui/infobox/index.tsx index e6be83556..87940c4d4 100644 --- a/src/components/ui/infobox/index.tsx +++ b/src/components/ui/infobox/index.tsx | |||
@@ -3,7 +3,7 @@ import classnames from 'classnames'; | |||
3 | import { Component, ReactNode } from 'react'; | 3 | import { Component, ReactNode } from 'react'; |
4 | import injectStyle from 'react-jss'; | 4 | import injectStyle from 'react-jss'; |
5 | 5 | ||
6 | import { Theme } from '@meetfranz/theme'; | 6 | import { Theme } from '../../../themes'; |
7 | import { Icon } from '../icon'; | 7 | import { Icon } from '../icon'; |
8 | import { IWithStyle } from '../typings/generic'; | 8 | import { IWithStyle } from '../typings/generic'; |
9 | 9 | ||
diff --git a/src/components/ui/input/styles.ts b/src/components/ui/input/styles.ts index 27426152e..04c1b3991 100644 --- a/src/components/ui/input/styles.ts +++ b/src/components/ui/input/styles.ts | |||
@@ -1,6 +1,6 @@ | |||
1 | import { Property } from 'csstype'; | 1 | import { Property } from 'csstype'; |
2 | 2 | ||
3 | import { Theme } from '@meetfranz/theme'; | 3 | import { Theme } from '../../../themes'; |
4 | 4 | ||
5 | const prefixStyles = (theme: Theme) => ({ | 5 | const prefixStyles = (theme: Theme) => ({ |
6 | background: theme.inputPrefixBackground, | 6 | background: theme.inputPrefixBackground, |
diff --git a/src/components/ui/label/styles.ts b/src/components/ui/label/styles.ts index 0c9cef8bf..faa44ae5b 100644 --- a/src/components/ui/label/styles.ts +++ b/src/components/ui/label/styles.ts | |||
@@ -1,4 +1,4 @@ | |||
1 | import { Theme } from '@meetfranz/theme'; | 1 | import { Theme } from '../../../themes'; |
2 | 2 | ||
3 | export default (theme: Theme) => ({ | 3 | export default (theme: Theme) => ({ |
4 | content: {}, | 4 | content: {}, |
diff --git a/src/components/ui/select/index.tsx b/src/components/ui/select/index.tsx index 41cab7818..2605503a3 100644 --- a/src/components/ui/select/index.tsx +++ b/src/components/ui/select/index.tsx | |||
@@ -8,8 +8,7 @@ import classnames from 'classnames'; | |||
8 | import { ChangeEvent, Component, createRef } from 'react'; | 8 | import { ChangeEvent, Component, createRef } from 'react'; |
9 | import injectStyle from 'react-jss'; | 9 | import injectStyle from 'react-jss'; |
10 | 10 | ||
11 | import { Theme } from '@meetfranz/theme'; | 11 | import { Theme } from '../../../themes'; |
12 | |||
13 | import { IFormField, IWithStyle } from '../typings/generic'; | 12 | import { IFormField, IWithStyle } from '../typings/generic'; |
14 | 13 | ||
15 | import { Error } from '../error'; | 14 | import { Error } from '../error'; |
diff --git a/src/components/ui/textarea/styles.ts b/src/components/ui/textarea/styles.ts index f2267e000..36fc2a82e 100644 --- a/src/components/ui/textarea/styles.ts +++ b/src/components/ui/textarea/styles.ts | |||
@@ -1,6 +1,6 @@ | |||
1 | import { Property } from 'csstype'; | 1 | import { Property } from 'csstype'; |
2 | 2 | ||
3 | import { Theme } from '@meetfranz/theme'; | 3 | import { Theme } from '../../../themes'; |
4 | 4 | ||
5 | export default (theme: Theme) => ({ | 5 | export default (theme: Theme) => ({ |
6 | label: { | 6 | label: { |
diff --git a/src/components/ui/toggle/index.tsx b/src/components/ui/toggle/index.tsx index 67b6c3835..7b6ba147f 100644 --- a/src/components/ui/toggle/index.tsx +++ b/src/components/ui/toggle/index.tsx | |||
@@ -2,8 +2,8 @@ import classnames from 'classnames'; | |||
2 | import { Property } from 'csstype'; | 2 | import { Property } from 'csstype'; |
3 | import { Component, InputHTMLAttributes } from 'react'; | 3 | import { Component, InputHTMLAttributes } from 'react'; |
4 | import injectStyle from 'react-jss'; | 4 | import injectStyle from 'react-jss'; |
5 | import { Theme } from '@meetfranz/theme'; | ||
6 | 5 | ||
6 | import { Theme } from '../../../themes'; | ||
7 | import { IFormField, IWithStyle } from '../typings/generic'; | 7 | import { IFormField, IWithStyle } from '../typings/generic'; |
8 | 8 | ||
9 | import { Error } from '../error'; | 9 | import { Error } from '../error'; |
diff --git a/src/components/ui/typings/generic.ts b/src/components/ui/typings/generic.ts index 084e0e0a5..65b996d59 100644 --- a/src/components/ui/typings/generic.ts +++ b/src/components/ui/typings/generic.ts | |||
@@ -1,6 +1,6 @@ | |||
1 | import { Classes } from 'jss'; | 1 | import { Classes } from 'jss'; |
2 | 2 | ||
3 | import { Theme } from '@meetfranz/theme'; | 3 | import { Theme } from '../../../themes'; |
4 | 4 | ||
5 | export interface IFormField { | 5 | export interface IFormField { |
6 | showLabel?: boolean; | 6 | showLabel?: boolean; |