Commit Graph

3728 Commits

Author SHA1 Message Date
Gustavo André Lelis
b7a72f5225 OHIF-32: Wrapping React-select with our style requirements (#1529)
* Custom Select component

* Including inpot section

* Adding missing import sections on docz

* Change cursor once is disabled

* update date range color font
2020-05-15 12:38:18 +01:00
Rodrigo Antinarelli
b183e78f47 feat: ui v2 - Date Range Component (#1537)
* feat: Date Range wrapper component

* fix yarn issues

* add calendar icon

* date range css styles

* date range fixes

* fix propTypes warning

* fix clear method, defaultProps & onChange method

* update inline styles to use tailwind classes

* date range documentation page

* minor refactor
2020-05-15 12:38:05 +01:00
Danny
0ec277dd56 fix broken build 2020-05-15 12:38:02 +01:00
Rodrigo Antinarelli
16f59cb5b8 fix study list filter border 2020-05-15 12:37:41 +01:00
Rodrigo Antinarelli
4a3f147c4e fix header navbar border 2020-05-15 12:37:41 +01:00
Rodrigo Antinarelli
bc7cf6e01d fix sticky elements 2020-05-15 12:37:41 +01:00
Rodrigo Antinarelli
b39a96cfb2 fix: StudyList Fixes 2020-05-15 12:37:41 +01:00
Gustavo André Lelis
11bd7105d6 fix: Issues on StudyList Filter (#1513)
* Fix instances font size

* Fixing sorting style and icons

* Fix clear filters flicking filter parent height

* Make filter size matching with study list table columns

* Addin width for grid24

* Use grid24 instead of 12

* Adding missing borders

* Fix gridCol division
2020-05-15 12:37:41 +01:00
Rodrigo Antinarelli
88846e5c70 fix: Select pagination and buttons (#1521) 2020-05-15 12:37:40 +01:00
Rodrigo Antinarelli
2bf5486112 chore: Data Mocking for Study List (#1515)
* feat: Data mocking for studies

* feat: Data Mocking for Study List

* fix empty study position

* rename variables for numOfStudies

* fix studies query

* remove alert :|

* minor refactor

* split utils and refactoring

* refactoring -- format, clean up icons, mdx mock
2020-05-15 12:37:40 +01:00
Gustavo André Lelis
2138565990 feat: Study List Filter (#1504)
* Inital changes for study list filters

* Style updates on filter

* Small style changes on filter

* Style changes updates on Input and Label and finish fitler

* Refactor on study list filter

* Remove not used callbackFunction

* Small style change

* Adding underline on Learn more link

* Make sure does not show sortable if have no results

* Some style polish

* Fixing margin on filter

* Adding inherit as color on buttons

* Adding inherit on learn more button color

* Addin border with opacity
2020-05-15 12:37:38 +01:00
Rodrigo Antinarelli
2049147021 chore: uiv2 docz custom page (#1511)
* feat: Customized Docz Layout

* manually apply padding into playground

* fix playground bug -- sticky items

* fix window

* remove specifc tailwind style for docz
2020-05-15 12:37:14 +01:00
Rodrigo Antinarelli
dd18de86f8 chore: Add new eslint rule -- props-no-spreading (#1509) 2020-05-15 12:36:01 +01:00
Gustavo André Lelis
8c6daf5395 Feat/ui v2 ohif logo svg (#1506)
* Adding new icons

* Introducing Svg component

* Adding ohif logo into header
2020-05-15 12:36:01 +01:00
Gustavo André Lelis
a738990675 feat: Study List Header (#1498)
* Initial code for header

* Basic implementation for the header

* Updating icons

* Fix conflicts after latest changes on base branch

* Smnall refactor on header

* Small text-size change

* Remove comment

* Remove link from OHIF logo

* Fix cog/settings icon
2020-05-15 12:36:01 +01:00
Rodrigo Antinarelli
dbd0f74bea feat: Study List Pagination (#1502)
* remove unused file

* add new color

* pagination handler
2020-05-15 12:36:00 +01:00
Rodrigo Antinarelli
fe672a804e feat: Study List Table - v2 (#1497)
* small fix in button hover

* exported icons

* feat: StudyList Table

* icons comment

* fix bottom spacing

* add gatsby plugin for svg import

* move mock file to ui

* replace component to import from ui

* move StudyList to platform/ui

* fix inner table bg color

* fix inner table border

* add custom flex values

* create custom class for custom scrollbar

* fix inner table

* update comment

* refactor for reusable classes

* update scrollbar name

* fix studyList export

* update scrollbar class
2020-05-15 12:36:00 +01:00
Gustavo André Lelis
f4aea45e01 feat: Icon component (#1499)
* New icons and old strucure of OHIF ui v1

* Export icon

* Removing wrong import and fixing some exports

* Fixing svg loader and svg images to fullCurrent

* Small fixes on docz

* Remove repeated icon

* Update other components to use Icon

* Update platform/ui/src/components/Icon/icon.mdx

Co-Authored-By: Rodrigo Antinarelli <rodrigoantinarelli@gmail.com>

* Fixing callouts

* Move icons to assets and fixing layout on iconButtons

* Fix path of icons

Co-authored-by: Danny Brown <danny.ri.brown@gmail.com>
Co-authored-by: Rodrigo Antinarelli <rodrigoantinarelli@gmail.com>
2020-05-15 12:35:57 +01:00
Gustavo Lelis
ff90f729ab Move props definitions to end on docz 2020-05-15 12:35:37 +01:00
Gustavo Lelis
bc7de7e528 GroupButton component and docz 2020-05-15 12:35:00 +01:00
Rodrigo Antinarelli
e0aba9fe88 temporary mocked data for study list 2020-05-15 12:35:00 +01:00
Rodrigo Antinarelli
6b853eae56 create themeWrapper to be used as wrapper 2020-05-15 12:35:00 +01:00
Rodrigo Antinarelli
93b7d50fea export ui components 2020-05-15 12:34:59 +01:00
Rodrigo Antinarelli
5783c7cfdb temporary structure for studylist 2020-05-15 12:34:57 +01:00
Rodrigo Antinarelli
29bf8ed464 create initial studylist placeholder files 2020-05-15 12:33:13 +01:00
Rodrigo Antinarelli
ac1088e1e3 fix typography colors 2020-05-15 12:33:12 +01:00
Rodrigo Antinarelli
3a63c3d20b update lock file 2020-05-15 12:33:12 +01:00
Rodrigo Antinarelli
52a2cdf702 fix iconButton sizes 2020-05-15 12:33:12 +01:00
Rodrigo Antinarelli
16bd29077e fix theme colors 2020-05-15 12:33:10 +01:00
Rodrigo Antinarelli
cdcfc7115f update tailwind base config with custom theme 2020-05-15 12:32:32 +01:00
Rodrigo Antinarelli
7c802da4d8 fix theme colors for IconButton 2020-05-15 12:32:32 +01:00
Rodrigo Antinarelli
bcc2285afa add custom font 2020-05-15 12:32:31 +01:00
Rodrigo Antinarelli
b9cd4a6095 add how to import in button documentation 2020-05-15 12:32:29 +01:00
Rodrigo Antinarelli
82079a219d fix button proptype 2020-05-15 12:31:50 +01:00
Rodrigo Antinarelli
7749da5555 feat: Typography component 2020-05-15 12:31:49 +01:00
Rodrigo Antinarelli
c6f9f092b4 extend tailwind theme -- add default colors 2020-05-15 12:31:49 +01:00
Rodrigo Antinarelli
8463efe512 fix docz theme 2020-05-15 12:31:46 +01:00
Rodrigo Antinarelli
e63dccdb4e fix docz wrapper propTypes 2020-05-15 12:31:15 +01:00
Rodrigo Antinarelli
8ab6ccd570 remove old tailwind config file 2020-05-15 12:31:15 +01:00
Rodrigo Antinarelli
f7a0a2bd92 update tailwind theme 2020-05-15 12:31:15 +01:00
Danny
a0b73d2b1f bump yarn version for netlify 2020-05-15 12:31:14 +01:00
Rodrigo Antinarelli
e84f88691f fix unexpected comma 2020-05-15 12:30:15 +01:00
Rodrigo Antinarelli
da4ebddc65 remove unused proptype definition 2020-05-15 12:29:03 +01:00
Rodrigo Antinarelli
014f2d3513 clean up postcss config 2020-05-15 12:29:00 +01:00
Danny Brown
d6e3b45f3c feat: nuke UI project; start new with updated tooling BREAKING_CHANGE (#1468)
BREAKING_CHANGE

* initial structure for components rewrite

* WIP Input

* WIP Label

* add button props

* add label class name

* fix dependency

* new examples buttonModules & buttonEmotion + refac

* clean up to merge initial code into base branch

* remove unused file

* extend default theme -- add new colors

* chore: prettier formatting

* chore: try to exclude feature branch PRs

* chore: suggest toml syntax highlighting extension

* chore: capture yarn.lock changes

* docs: condense readme

* chore: update deploy preview to build docz component library

* chore: Add component library to deploy preview index

* chore: fix invalid tailwindcss config

* chore: try tweaking toml to kickstart preview

* chore: revert

* chore: fix formatting of file index

* chore: don't waste precious build minutes on a broken build

* chore: chmod build-and-deploy.sh

* ci: nuke circleci until we need the workflows on master

* debug lerna commands

* remove redundant yarn commands

* try nohoist

* revert tests

* attempt to resolve import issue

* force update yarn lock

* try new workarounds for yarn version

* another workaround

* shift vtk to extension repo deps

* catch vtk addition

* update lock

* Try older yarn version

* try again

* debugging

* fix: yarn doctor warnings

* learn some life lessons from the yarn docs

* clean up netlify.toml

* clean up netlify.toml

* yarn package doctor react-dom

* yarn doctor: missing peer dep

* yarn doctor, satisfying webpack loader peer deps

* fix docz base path for deploy-preview

* yarn docter: replaced prePublishOnly usage

* More yarn doctoring

* ignore .yarn directory

* fix last yarn doctor warning

* updated yarn lock

Co-authored-by: Rodrigo Antinarelli <rodrigoantinarelli@gmail.com>
2020-05-15 12:28:18 +01:00
Rodrigo Antinarelli
8c90d76ea6 feat: create IconButton component 2020-05-15 12:21:23 +01:00
Rodrigo Antinarelli
cdb2ef72a3 update Button docs 2020-05-15 12:21:23 +01:00
Rodrigo Antinarelli
36d5a46028 feat: Button Component 2020-05-15 12:21:19 +01:00
Rodrigo Antinarelli
4a24bcbeb5 extend default theme -- add new colors 2020-05-15 12:20:06 +01:00
Rodrigo Antinarelli
ba3802968b remove unused file 2020-05-15 12:20:06 +01:00