feat: Modal + ViewportDownloadForm (#1799)

* feat: Modal + ViewportDownloadForm

* styles for image preview box

* modal update & close handler

* open modal for Learn More (search info)

* change modal default alignment

* Update platform/ui/src/components/InputNumber/InputNumber.mdx

* nuke inputNumber and use inputText with refactor

* make input more reusable

* revert inputText "number" stuff

* replace inputText to Input

* fix input spacing + label

* fix modal overlay classes

* fix inline styles

* fix onclick learn more

* fix close icon

* revert transition

* remove inline styles

* remove unecessary stuff
This commit is contained in:
Rodrigo Antinarelli authored and GitHub committed 2020-06-26 17:34:43 +02:00
1 parent 554b9a0db4
commit edd4a4118c
20 files changed
+542 -51

No files matched your search

+3 -3
View File
@@ -4,11 +4,11 @@ import Label from '../Label';
import classnames from 'classnames';
const baseInputClasses =
'shadow transition duration-300 appearance-none border rounded w-full py-2 px-3 text-sm text-white hover:border-gray-500 leading-tight focus:border-gray-500 focus:outline-none';
'shadow transition duration-300 appearance-none border border-primary-main hover:border-gray-500 focus:border-gray-500 focus:outline-none rounded w-full py-2 px-3 mt-2 text-sm text-white leading-tight focus:outline-none';
const transparentClasses = {
true: 'bg-transparent',
false: '',
false: 'bg-black',
};
const Input = ({
@@ -16,7 +16,7 @@ const Input = ({
containerClassName = '',
labelClassName = '',
className = '',
transparent = true,
transparent = false,
type = 'text',
value,
onChange,