diff options
author | Aditya Mangalampalli <aditya.mangalampalli@gmail.com> | 2022-04-15 02:00:25 -0700 |
---|---|---|
committer | Vijay A <vraravam@users.noreply.github.com> | 2022-04-16 21:57:57 +0530 |
commit | 210131ca184c3aa043371857c022aa1aa149efbf (patch) | |
tree | 6bc4e10a1540e55a66146c099bc468a12287425e /src/components/ui | |
parent | Update submodule url to ferdium-recipes (#1) (diff) | |
download | ferdium-app-210131ca184c3aa043371857c022aa1aa149efbf.tar.gz ferdium-app-210131ca184c3aa043371857c022aa1aa149efbf.tar.zst ferdium-app-210131ca184c3aa043371857c022aa1aa149efbf.zip |
Matched casing for almost all replacements
Diffstat (limited to 'src/components/ui')
-rw-r--r-- | src/components/ui/FAB.tsx | 2 | ||||
-rw-r--r-- | src/components/ui/Loader.tsx | 4 | ||||
-rw-r--r-- | src/components/ui/button/index.tsx | 2 | ||||
-rw-r--r-- | src/components/ui/infobox/index.tsx | 2 |
4 files changed, 5 insertions, 5 deletions
diff --git a/src/components/ui/FAB.tsx b/src/components/ui/FAB.tsx index cb9c5f126..37c3c9ec7 100644 --- a/src/components/ui/FAB.tsx +++ b/src/components/ui/FAB.tsx | |||
@@ -28,7 +28,7 @@ class Button extends Component<Props> { | |||
28 | 28 | ||
29 | const buttonProps = { | 29 | const buttonProps = { |
30 | className: classnames({ | 30 | className: classnames({ |
31 | ferdi__fab: true, | 31 | ferdium__fab: true, |
32 | [`${className}`]: className, | 32 | [`${className}`]: className, |
33 | }), | 33 | }), |
34 | type, | 34 | type, |
diff --git a/src/components/ui/Loader.tsx b/src/components/ui/Loader.tsx index 171d0e290..e889fd054 100644 --- a/src/components/ui/Loader.tsx +++ b/src/components/ui/Loader.tsx | |||
@@ -2,14 +2,14 @@ import { Component, ReactChildren } from 'react'; | |||
2 | import { observer, inject } from 'mobx-react'; | 2 | import { observer, inject } from 'mobx-react'; |
3 | import Loader from 'react-loader'; | 3 | import Loader from 'react-loader'; |
4 | 4 | ||
5 | import { FerdiStores } from '../../stores.types'; | 5 | import { FerdiumStores } from '../../stores.types'; |
6 | 6 | ||
7 | type Props = { | 7 | type Props = { |
8 | children: ReactChildren; | 8 | children: ReactChildren; |
9 | loaded: boolean; | 9 | loaded: boolean; |
10 | className: string; | 10 | className: string; |
11 | color: string; | 11 | color: string; |
12 | stores: FerdiStores; | 12 | stores: FerdiumStores; |
13 | }; | 13 | }; |
14 | 14 | ||
15 | class LoaderComponent extends Component<Props> { | 15 | class LoaderComponent extends Component<Props> { |
diff --git a/src/components/ui/button/index.tsx b/src/components/ui/button/index.tsx index d91b1ee19..b18f44909 100644 --- a/src/components/ui/button/index.tsx +++ b/src/components/ui/button/index.tsx | |||
@@ -198,7 +198,7 @@ class ButtonComponent extends Component<IProps> { | |||
198 | if (loaded) { | 198 | if (loaded) { |
199 | showLoader = !loaded; | 199 | showLoader = !loaded; |
200 | console.warn( | 200 | console.warn( |
201 | 'Ferdi Button prop `loaded` will be deprecated in the future. Please use `busy` instead', | 201 | 'Ferdium Button prop `loaded` will be deprecated in the future. Please use `busy` instead', |
202 | ); | 202 | ); |
203 | } | 203 | } |
204 | if (busy) { | 204 | if (busy) { |
diff --git a/src/components/ui/infobox/index.tsx b/src/components/ui/infobox/index.tsx index c0767a342..d4ff61053 100644 --- a/src/components/ui/infobox/index.tsx +++ b/src/components/ui/infobox/index.tsx | |||
@@ -46,7 +46,7 @@ const buttonStyles = (theme: Theme) => { | |||
46 | const infoBoxTransition: string = 'none'; | 46 | const infoBoxTransition: string = 'none'; |
47 | const ctaTransition: string = 'none'; | 47 | const ctaTransition: string = 'none'; |
48 | 48 | ||
49 | // TODO: Not sure why, but this location alone, the `dinwo` is not defined - and it throws an error thus aborting the startup sequence of ferdi | 49 | // TODO: Not sure why, but this location alone, the `dinwo` is not defined - and it throws an error thus aborting the startup sequence of ferdium |
50 | // if (window && window.matchMedia('(prefers-reduced-motion: no-preference)')) { | 50 | // if (window && window.matchMedia('(prefers-reduced-motion: no-preference)')) { |
51 | // infoBoxTransition = 'all 0.5s'; | 51 | // infoBoxTransition = 'all 0.5s'; |
52 | // ctaTransition = 'opacity 0.3s'; | 52 | // ctaTransition = 'opacity 0.3s'; |