aboutsummaryrefslogtreecommitdiffstats
path: root/src/components
diff options
context:
space:
mode:
authorLibravatar Vijay Aravamudhan <vraravam@users.noreply.github.com>2021-10-15 17:20:09 +0530
committerLibravatar GitHub <noreply@github.com>2021-10-15 17:20:09 +0530
commita05ef4bb5101e6e8d999ad0d7383b394996fb763 (patch)
tree38072e3abe8d0bdaababf0abd1710dc47baa4a3c /src/components
parentchore: move 'packages/forms' into 'src' (no longer an injected package) (#2079) (diff)
downloadferdium-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.tsx2
-rw-r--r--src/components/ui/badge/index.tsx2
-rw-r--r--src/components/ui/button/index.tsx2
-rw-r--r--src/components/ui/error/styles.ts2
-rw-r--r--src/components/ui/headline/index.tsx2
-rw-r--r--src/components/ui/icon/index.tsx2
-rw-r--r--src/components/ui/infobox/index.tsx2
-rw-r--r--src/components/ui/input/styles.ts2
-rw-r--r--src/components/ui/label/styles.ts2
-rw-r--r--src/components/ui/select/index.tsx3
-rw-r--r--src/components/ui/textarea/styles.ts2
-rw-r--r--src/components/ui/toggle/index.tsx2
-rw-r--r--src/components/ui/typings/generic.ts2
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';
3import { Component } from 'react'; 3import { Component } from 'react';
4import injectStyle from 'react-jss'; 4import injectStyle from 'react-jss';
5 5
6import { Theme } from '@meetfranz/theme'; 6import { Theme } from '../../../themes';
7import { Icon } from '../icon'; 7import { Icon } from '../icon';
8import { Badge } from './index'; 8import { Badge } from './index';
9import { IWithStyle } from '../typings/generic'; 9import { 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';
2import { Component, ReactNode } from 'react'; 2import { Component, ReactNode } from 'react';
3import injectStyle from 'react-jss'; 3import injectStyle from 'react-jss';
4 4
5import { Theme } from '@meetfranz/theme'; 5import { Theme } from '../../../themes';
6import { IWithStyle } from '../typings/generic'; 6import { IWithStyle } from '../typings/generic';
7 7
8interface IProps extends IWithStyle { 8interface 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';
4import { Component, MouseEvent } from 'react'; 4import { Component, MouseEvent } from 'react';
5import injectStyle, { withTheme } from 'react-jss'; 5import injectStyle, { withTheme } from 'react-jss';
6import Loader from 'react-loader'; 6import Loader from 'react-loader';
7import { Theme } from '@meetfranz/theme';
8 7
8import { Theme } from '../../../themes';
9import { IFormField, IWithStyle } from '../typings/generic'; 9import { IFormField, IWithStyle } from '../typings/generic';
10 10
11type ButtonType = 11type 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 @@
1import { Theme } from '@meetfranz/theme'; 1import { Theme } from '../../../themes';
2 2
3export default (theme: Theme) => ({ 3export 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';
2import { Component, createElement, ReactNode } from 'react'; 2import { Component, createElement, ReactNode } from 'react';
3import injectStyle from 'react-jss'; 3import injectStyle from 'react-jss';
4 4
5import { Theme } from '@meetfranz/theme'; 5import { Theme } from '../../../themes';
6import { IWithStyle, Omit } from '../typings/generic'; 6import { IWithStyle, Omit } from '../typings/generic';
7 7
8interface IProps extends IWithStyle { 8interface 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';
3import { Component } from 'react'; 3import { Component } from 'react';
4import injectStyle from 'react-jss'; 4import injectStyle from 'react-jss';
5 5
6import { Theme } from '@meetfranz/theme'; 6import { Theme } from '../../../themes';
7import { IWithStyle } from '../typings/generic'; 7import { IWithStyle } from '../typings/generic';
8 8
9interface IProps extends IWithStyle { 9interface 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';
3import { Component, ReactNode } from 'react'; 3import { Component, ReactNode } from 'react';
4import injectStyle from 'react-jss'; 4import injectStyle from 'react-jss';
5 5
6import { Theme } from '@meetfranz/theme'; 6import { Theme } from '../../../themes';
7import { Icon } from '../icon'; 7import { Icon } from '../icon';
8import { IWithStyle } from '../typings/generic'; 8import { 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 @@
1import { Property } from 'csstype'; 1import { Property } from 'csstype';
2 2
3import { Theme } from '@meetfranz/theme'; 3import { Theme } from '../../../themes';
4 4
5const prefixStyles = (theme: Theme) => ({ 5const 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 @@
1import { Theme } from '@meetfranz/theme'; 1import { Theme } from '../../../themes';
2 2
3export default (theme: Theme) => ({ 3export 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';
8import { ChangeEvent, Component, createRef } from 'react'; 8import { ChangeEvent, Component, createRef } from 'react';
9import injectStyle from 'react-jss'; 9import injectStyle from 'react-jss';
10 10
11import { Theme } from '@meetfranz/theme'; 11import { Theme } from '../../../themes';
12
13import { IFormField, IWithStyle } from '../typings/generic'; 12import { IFormField, IWithStyle } from '../typings/generic';
14 13
15import { Error } from '../error'; 14import { 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 @@
1import { Property } from 'csstype'; 1import { Property } from 'csstype';
2 2
3import { Theme } from '@meetfranz/theme'; 3import { Theme } from '../../../themes';
4 4
5export default (theme: Theme) => ({ 5export 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';
2import { Property } from 'csstype'; 2import { Property } from 'csstype';
3import { Component, InputHTMLAttributes } from 'react'; 3import { Component, InputHTMLAttributes } from 'react';
4import injectStyle from 'react-jss'; 4import injectStyle from 'react-jss';
5import { Theme } from '@meetfranz/theme';
6 5
6import { Theme } from '../../../themes';
7import { IFormField, IWithStyle } from '../typings/generic'; 7import { IFormField, IWithStyle } from '../typings/generic';
8 8
9import { Error } from '../error'; 9import { 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 @@
1import { Classes } from 'jss'; 1import { Classes } from 'jss';
2 2
3import { Theme } from '@meetfranz/theme'; 3import { Theme } from '../../../themes';
4 4
5export interface IFormField { 5export interface IFormField {
6 showLabel?: boolean; 6 showLabel?: boolean;