1
0
mirror of https://github.com/trezor/trezor-wallet synced 2024-11-15 12:59:09 +00:00
Commit Graph

558 Commits

Author SHA1 Message Date
Vladimir Volek
2c2fdf4913 Better style for notifications 2018-10-01 16:07:15 +02:00
Vladimir Volek
6fbb76b165 Fixed notification style without button 2018-10-01 16:07:15 +02:00
Szymon Lesisz
7375f70a18 added backend notification 2018-10-01 15:10:06 +02:00
Szymon Lesisz
9fcd81924e comment sticy notification example 2018-10-01 15:10:06 +02:00
Szymon Lesisz
61d9713b0b removed comment 2018-10-01 15:10:05 +02:00
Szymon Lesisz
5df872eec1 using React.Fragment 2018-10-01 15:10:05 +02:00
Szymon Lesisz
25083b5f19 new components 2018-10-01 15:09:45 +02:00
Vasek Mlejnsky
1bc6fa9412 Fix broken eject icon & disable click on Header in LeftNavigation if device is in bootloader moder 2018-09-27 15:30:56 +02:00
Vasek Mlejnsky
cfda758ecb Device in bootloader mode is not selectable 2018-09-27 15:30:56 +02:00
Vladimir Volek
2ff639fbdf
Merge pull request #88 from satoshilabs/cleanup-passphrase-code
enhancement: rewrite passphrase modal
2018-09-27 14:10:28 +02:00
Vasek Mlejnsky
65dbd943ec Tooltip border color 2018-09-27 13:31:18 +02:00
Vladimir Volek
6d9491094b Finished tooltips 2018-09-27 13:18:41 +02:00
Vladimir Volek
0130a84a2a Added read more support, gas price tooltip 2018-09-27 13:03:50 +02:00
Vladimir Volek
8f819b0ce2 Style tootlips 2018-09-27 12:29:20 +02:00
Vasek Mlejnsky
b0f1913a1d Add prop types & flow 2018-09-27 09:13:29 +02:00
Vladimir Volek
c07bcec68c Remove devel code 2018-09-26 23:43:27 +02:00
Vladimir Volek
ea27662fc1 Added arrow icon 2018-09-26 23:36:43 +02:00
Vladimir Volek
ae1a40bf3e Refactored notification utils, added icon 2018-09-26 23:29:15 +02:00
Vladimir Volek
d199454485 Make header clickable 2018-09-26 23:07:47 +02:00
Vladimir Volek
8af4a487da Basic component rendering 2018-09-26 22:49:35 +02:00
Vladimir Volek
00d0fc1ccb Created basic components skeleton 2018-09-26 21:39:57 +02:00
Vladimir Volek
3ff8871629 Adjust other input heights and textarea 2018-09-26 16:59:50 +02:00
Vladimir Volek
65cb289ebf Adjust input color and height 2018-09-26 16:53:40 +02:00
Vladimir Volek
62a73b6404 Added transition for header menu 2018-09-26 16:45:23 +02:00
Vladimir Volek
7e752ace44 Added content for padding 2018-09-26 16:42:08 +02:00
Vladimir Volek
ff1cdc59e9 Added wallet container 2018-09-26 16:29:40 +02:00
Vladimir Volek
c7c346e6fc Rewrite coin logo component to use import 2018-09-26 16:22:30 +02:00
Vasek Mlejnsky
490d7375db Rewrite passphrase modal 2018-09-26 12:36:36 +02:00
Vladimir Volek
c4fb59af2a Pin input moved to modal 2018-09-26 10:57:30 +02:00
Szymon Lesisz
1d51afd0b4
Merge pull request #80 from satoshilabs/fix-missing-sendform-elements
fix: missing sendform elements
2018-09-25 12:01:17 +02:00
Vladimir Volek
a54e3a3623 Fixed tooltip width 2018-09-24 17:15:36 +02:00
Vladimir Volek
0ef3672a54 Added inputs and textarea in signandverify 2018-09-24 16:46:52 +02:00
Vladimir Volek
f8a947e187 Padding in accounts 2018-09-24 16:40:38 +02:00
Vasek Mlejnsky
1aed318741 eslint fixes 2018-09-24 15:27:18 +02:00
Vasek Mlejnsky
3cf3f9530e eslint fix 2018-09-24 14:46:13 +02:00
Vasek Mlejnsky
ba5996e3cf Fix icon margin in input 2018-09-24 11:43:34 +02:00
Vasek Mlejnsky
7d4ca8eeed Change textarea style based on its state prop 2018-09-24 11:37:51 +02:00
Vasek Mlejnsky
86fbce53a5 Change style for disabled Textarea 2018-09-24 10:44:47 +02:00
Szymon Lesisz
d718c0bf10 fixed incorrect css value 2018-09-23 12:59:06 +02:00
Vladimir Volek
a526232aaf
Merge pull request #73 from satoshilabs/fix-select-arrow-selection
fix: selected option wasn't visible in Select when using arrow keys
2018-09-21 14:07:28 +02:00
Vaclav Mlejnsky
2f988beb05
Merge branch 'master' into fix-send-form-css 2018-09-21 13:32:37 +02:00
Vladimir Volek
01952d7628
Merge branch 'master' into css-fix 2018-09-21 12:35:56 +02:00
Vasek Mlejnsky
a848e35b69 Fix issue when empty passphrase couldn't be submitted after checking & unchecking "Show passphrase" 2018-09-21 10:55:30 +02:00
Vasek Mlejnsky
55c9eb3ab4 Remove console warns 2018-09-21 10:55:30 +02:00
Vasek Mlejnsky
2ff86bd6a7 Passphrase is set as password by default & add autofill feature 2018-09-21 10:55:30 +02:00
Vasek Mlejnsky
7fc4737846 Remove defualt hover color for 'Icon' 2018-09-21 10:55:30 +02:00
Vasek Mlejnsky
24737ddb22 Fix checkbox css when is checked 2018-09-21 10:55:30 +02:00
Vasek Mlejnsky
0d34cb2b82 Fix issue when a selected option wasn't properly indicated (CSS) when using arrow keys 2018-09-21 10:40:26 +02:00
Vladimir Volek
2678cf3a95 Fixed tooltip 2018-09-20 16:00:14 +02:00
Vladimir Volek
c9ec9e4438 Added commit hash to footer 2018-09-20 13:56:24 +02:00
Vasek Mlejnsky
fab3d601c6 Remove red background from tooltip 2018-09-20 09:54:04 +02:00
Vasek Mlejnsky
6fabec6e5c Use default font family for the 'Input' component 2018-09-20 08:51:27 +02:00
Vasek Mlejnsky
11a0304481 Remove default hover color for 'Icon' 2018-09-20 08:51:10 +02:00
Vasek Mlejnsky
22e87b287b Use default font for 'Select' 2018-09-20 08:43:41 +02:00
Vasek Mlejnsky
8333ac94f4 Fix an input address icon overlaping text 2018-09-20 08:00:03 +02:00
Vladimir Volek
e9f938e522 Fixed modal overflow 2018-09-19 13:11:41 +02:00
Vladimir Volek
b3dac4b5ab Merge branch 'master' into css-fix 2018-09-17 17:13:38 +02:00
Vladimir Volek
73c94a374d Fixed checkbox hover style 2018-09-17 15:46:52 +02:00
Vladimir Volek
5ea44176bb Removed red background 2018-09-17 11:14:24 +02:00
Szymon Lesisz
99da867617 fixed flow issues 2018-09-12 16:27:45 +02:00
Vasek Mlejnsky
58823e3a81 Fix some eslint errors 2018-09-06 17:04:28 +02:00
Vladimir Volek
d54a6ae658 Adjust notification styles 2018-09-05 16:36:48 +02:00
Vladimir Volek
b0d56af9fd Added svg hover color, removed unused icomoon 2018-09-05 14:03:22 +02:00
Vladimir Volek
516e7f77dc Removed classNames 2018-09-05 13:36:19 +02:00
Vasek Mlejnsky
a29b13789d Fix tooltip in AccountSummary 2018-09-05 13:01:28 +02:00
Vasek Mlejnsky
8caf66e39d Merge branch 'styled-components-refactor' of https://github.com/satoshilabs/trezor-wallet into styled-components-refactor 2018-09-05 12:52:06 +02:00
Vladimir Volek
cb0288a687 Fixed tooltip ref 2018-09-05 12:45:19 +02:00
Vasek Mlejnsky
5ec36cfd32 Merge branch 'styled-components-refactor' of https://github.com/satoshilabs/trezor-wallet into styled-components-refactor 2018-09-05 12:37:58 +02:00
Vladimir Volek
1ff9060ff0 Added custom container for tooltip 2018-09-05 12:20:07 +02:00
Vasek Mlejnsky
4ab8a80b41 Merge branch 'styled-components-refactor' of https://github.com/satoshilabs/trezor-wallet into styled-components-refactor 2018-09-05 11:56:55 +02:00
Vladimir Volek
8146a78f7d Added wrapper for tooltip 2018-09-05 11:56:45 +02:00
Vladimir Volek
2dcb2aea7a Fixed styleleint 2 2018-09-05 11:55:24 +02:00
Vasek Mlejnsky
08659f70f4 Merge branch 'styled-components-refactor' of https://github.com/satoshilabs/trezor-wallet into styled-components-refactor 2018-09-05 11:54:18 +02:00
Vladimir Volek
b95755601d Fixed styleleint 2018-09-05 11:54:05 +02:00
Vladimir Volek
5803c13c59 Removed less loaders 2018-09-05 11:52:38 +02:00
Vasek Mlejnsky
d28c49cb08 Use "type" instead of "className" in Notification component 2018-09-05 11:48:01 +02:00
Vladimir Volek
321b95c1ff Added tooltip component 2018-09-05 11:47:07 +02:00
Vasek Mlejnsky
936daeed74 Remove unused imports & cleanup 2018-09-05 11:43:54 +02:00
Vasek Mlejnsky
5984ad047f Add prop that can add elements on top of input/textarea 2018-09-05 10:57:14 +02:00
Vladimir Volek
bc2d03a7ae Added public folder, adjust webpack to new configuration 2018-09-04 17:10:52 +02:00
Vasek Mlejnsky
3f7cf6ca27 Add styles to textarea 2018-09-04 15:54:29 +02:00
Vasek Mlejnsky
cf9cff3170 Remove icon prop from Button
- Now if you want to add icon to button you have to add it as button's child
2018-09-04 15:43:12 +02:00
Vasek Mlejnsky
97eb972ca0 Make Button's children non required 2018-09-04 14:41:53 +02:00
Vasek Mlejnsky
647ee89991 Add mouse+focus events to Button 2018-09-04 14:17:51 +02:00
Vasek Mlejnsky
04d49a5ca5 Delete "buttons" folder and move "Button" at the root of "components/" 2018-09-04 11:33:24 +02:00
Vasek Mlejnsky
70f4f3c6d5 Move "PinButton" into Pin's components folder 2018-09-04 11:31:15 +02:00
Vasek Mlejnsky
c8e5ba5dbd Move "NotificationButton" into Notification's components folder 2018-09-04 11:30:36 +02:00
Vasek Mlejnsky
89e3a987ae CSS font adjustments 2018-09-03 15:31:12 +02:00
Vasek Mlejnsky
c25c8d5bfd Change font for textarea 2018-09-03 15:30:24 +02:00
Vasek Mlejnsky
0bca353ed5 Fix prop type 2018-09-03 15:29:42 +02:00
Vasek Mlejnsky
0a67ea3038 Add an option to position button's icon left or right 2018-09-03 10:50:23 +02:00
Vasek Mlejnsky
7dd16dc6ae Code cleanup 2018-09-03 10:50:03 +02:00
Vasek Mlejnsky
d3881620b8 Add disable state for Input 2018-09-03 10:49:38 +02:00
Vasek Mlejnsky
38d42cd1c5 Add disable state for Select 2018-09-03 10:49:07 +02:00
Vasek Mlejnsky
dfb4473bcc Merge branch 'styled-components-refactor' of https://github.com/satoshilabs/trezor-wallet into styled-components-refactor 2018-09-03 08:58:26 +02:00
Vladimir Volek
c32fc2dc6a Removed unused classnames 2018-08-31 22:51:17 +02:00
Vladimir Volek
7430d61254 Finished modal refactor 2018-08-31 22:35:21 +02:00
Vladimir Volek
4ec97ad003 Fixed passphrase modal after delete of global styles 2018-08-31 22:26:28 +02:00
Vladimir Volek
72d45a0c86 Removed modal less, refactored 2018-08-31 22:17:33 +02:00
Vladimir Volek
fc659db337 Refactored send confirm dialog 2018-08-31 21:23:29 +02:00
Vladimir Volek
37d7f06aed Merge branch 'styled-components-refactor' of github.com:satoshilabs/trezor-wallet into styled-components-refactor 2018-08-31 18:58:09 +02:00
Vladimir Volek
0c4ce2a850 Merge branch 'styled-components-refactor' of github.com:satoshilabs/trezor-wallet into styled-components-refactor 2018-08-31 18:57:45 +02:00
Vladimir Volek
ef6eef9cfc Added checkbox component 2018-08-31 18:57:28 +02:00
Vladimir Volek
ec1b25d760 Pin modal refactored 2018-08-31 17:57:37 +02:00
Vladimir Volek
8f9a26caaa Fixed syntax error 2018-08-31 14:05:32 +02:00
Vladimir Volek
e1097b3fcc Adjust jsx templtes to new components 2018-08-31 13:58:19 +02:00
Vladimir Volek
ca02764f68 Merge branch 'styled-components-refactor' of github.com:satoshilabs/trezor-wallet into styled-components-refactor 2018-08-31 13:50:55 +02:00
Vasek Mlejnsky
aa97f417e6 Change spacing for button's icon 2018-08-31 12:38:35 +02:00
Vasek Mlejnsky
3a74dfc927 Refactorize Input component 2018-08-31 12:37:07 +02:00
Vasek Mlejnsky
7014331840 Merge branch 'styled-components-refactor' of https://github.com/satoshilabs/trezor-wallet into styled-components-refactor 2018-08-30 22:44:01 +02:00
Vladimir Volek
b0b4f08aba Adjusted configs 2018-08-30 20:10:36 +02:00
Vladimir Volek
04ab2bce83 Added textarea component 2018-08-30 20:09:00 +02:00
Vladimir Volek
42b15e788e Image components moved to separated folder 2018-08-30 19:40:35 +02:00
Vladimir Volek
80ac6bcee5 Pin modal partly refactored 2018-08-30 18:01:17 +02:00
Vladimir Volek
221f988fef Fix modal functionality 2018-08-30 16:22:16 +02:00
Vladimir Volek
2ca9e09ed9 merge 2018-08-30 16:21:40 +02:00
Vladimir Volek
0b8af91fa9 Unverified address modal refacotred 2018-08-30 16:20:33 +02:00
Vladimir Volek
ac9725613b SignTx modal refactored 2018-08-30 16:04:15 +02:00
Vasek Mlejnsky
a8d3fccfa7 Add option to add an input label 2018-08-30 15:33:38 +02:00
Vasek Mlejnsky
797b66d9d5 Add error text under the input 2018-08-30 15:19:58 +02:00
Vladimir Volek
c758f13072 Device clone modal refactored 2018-08-30 15:18:08 +02:00
Vasek Mlejnsky
6d9cdfcabb Add success, warning & error icons 2018-08-30 15:10:02 +02:00
Vladimir Volek
ccd6e789bc Added placeholder for input 2018-08-30 14:52:04 +02:00
Vasek Mlejnsky
d58dadedc9 Fix input state colors 2018-08-30 14:43:06 +02:00
Vasek Mlejnsky
81ccc8e347 Merge branch 'styled-components-refactor' of https://github.com/satoshilabs/trezor-wallet into styled-components-refactor 2018-08-30 14:35:59 +02:00
Vasek Mlejnsky
7e6c8399ec Fix button 2018-08-30 14:35:35 +02:00
Vladimir Volek
b1025ffbf5 Make notification button prop same as Button 2018-08-30 14:33:21 +02:00
Vasek Mlejnsky
6ac2417534 Merge branch 'styled-components-refactor' of https://github.com/satoshilabs/trezor-wallet into styled-components-refactor 2018-08-30 14:32:16 +02:00
Vladimir Volek
36673e2889 Removed unused text prop from Button 2018-08-30 14:30:29 +02:00
Vladimir Volek
030cef3827 Renamed modal to modals 2018-08-30 14:29:18 +02:00
Vasek Mlejnsky
6d87b2d2b2 Merge branch 'styled-components-refactor' of https://github.com/satoshilabs/trezor-wallet into styled-components-refactor 2018-08-30 14:28:51 +02:00
Vasek Mlejnsky
6891bb65d4 Create input component 2018-08-30 14:28:21 +02:00
Vladimir Volek
5c89786452 Fix modals 2018-08-30 14:25:49 +02:00
Vladimir Volek
3fcb9dc25f Switched all other button to children not text 2018-08-30 14:20:42 +02:00
Vladimir Volek
64d5db3e6a Added children for button not text, refactored remember device 2018-08-30 14:16:43 +02:00
Vladimir Volek
77135e8198 Forget device refactored 2018-08-30 13:07:34 +02:00
Vladimir Volek
d767ee0e05 Remember device refactored 2018-08-30 13:07:12 +02:00
Vasek Mlejnsky
325b5bee63 Apply button's icon margin only when button contains text 2018-08-30 12:16:31 +02:00
Vladimir Volek
608b4e79cc Buttons merged into folder 2018-08-30 10:54:24 +02:00
Vasek Mlejnsky
ef92428f62 Fix comma 2018-08-30 07:45:38 +02:00
Vasek Mlejnsky
4d480440dd Merge branch 'styled-components-refactor' of https://github.com/satoshilabs/trezor-wallet into styled-components-refactor 2018-08-30 07:45:08 +02:00
Vladimir Volek
5a3bb77fb0 Finalized notifiction refactor 2018-08-29 15:48:05 +02:00
Vladimir Volek
a7726081f2 Separted button and notfication button 2018-08-29 13:54:41 +02:00
Vladimir Volek
e1d4faddfc Finalized notification icon styles 2018-08-29 13:07:37 +02:00
Vladimir Volek
8b519544d7 Styled notification content 2018-08-29 12:07:47 +02:00
Vladimir Volek
59ce098c92 Refactored notifications buttons 2018-08-29 11:33:17 +02:00
Vasek Mlejnsky
203a66a904 Add option to import AsyncSelect 2018-08-29 11:33:17 +02:00
Vasek Mlejnsky
e1764a7a95 Add props to Icon component
- "className" so that Icon can be directly styled
- mouse*, focus & click events because "Tooltip" requests to implement those from children
2018-08-29 10:41:22 +02:00
Vasek Mlejnsky
e44f33c2de Add borders to select menu not option 2018-08-29 10:11:59 +02:00
Vladimir Volek
a4720fc2e3 Refactored notification buttons 2018-08-28 16:27:59 +02:00
Vasek Mlejnsky
597a771882 Style Select 2018-08-28 16:18:45 +02:00
Vladimir Volek
73f62d82f9 Notification wrapper added, indent 2018-08-28 14:33:42 +02:00
Vasek Mlejnsky
b2df1339b8 Add a prop to import async select from 'react-select' 2018-08-28 10:22:05 +02:00
Vasek Mlejnsky
b599c7cf5f Create "TooltipContent" component 2018-08-28 09:43:45 +02:00
Vasek Mlejnsky
f820637023 Use rc-tooltip & rcTooltip.less for now 2018-08-28 08:58:41 +02:00
Vasek Mlejnsky
571522401e Fix imports & flow errors 2018-08-28 08:18:07 +02:00
Vladimir Volek
5e54c2b640 Moved tooltip conmponents after merge 2018-08-27 17:21:30 +02:00
Vladimir Volek
424be08e7c Removed /js folder 2018-08-27 17:15:22 +02:00