1
0
mirror of https://github.com/trezor/trezor-wallet synced 2025-01-04 05:10:55 +00:00
Commit Graph

450 Commits

Author SHA1 Message Date
Vladimir Volek
bcc0c609a1 Put back old menuItems for now 2018-08-27 16:09:10 +02:00
Vladimir Volek
9e86cfdc0c Styled MenuItems component 2018-08-27 15:28:23 +02:00
Vladimir Volek
ab4ecbebd7 Added MenuItems comnponent 2018-08-27 14:56:40 +02:00
Vladimir Volek
9bc266c4fb Removed logger, fixed deviceHeader props 2018-08-27 14:44:57 +02:00
Vasek Mlejnsky
ecae5d6752 Fix imports 2018-08-27 14:01:18 +02:00
Vladimir Volek
c0e81f8859 Fixed clicking on device menu 2018-08-27 13:47:26 +02:00
Vladimir Volek
4ad60a8c52 Removed console log 2018-08-27 13:26:41 +02:00
Vladimir Volek
ee14e6737f Device list refactored - fix prop 2018-08-27 13:25:05 +02:00
Vladimir Volek
42dd6a8455 Merge branch 'styled-components-refactor' of github.com:satoshilabs/trezor-wallet into styled-components-refactor 2018-08-27 13:06:59 +02:00
Vladimir Volek
2dcc08edac Device list refactored 2018-08-27 13:06:53 +02:00
Vasek Mlejnsky
b7c3a98176 Merge branch 'styled-components-refactor' of https://github.com/satoshilabs/trezor-wallet into styled-components-refactor 2018-08-27 13:00:31 +02:00
Vasek Mlejnsky
0b1a6ce0e1 Use isWebUSB function in utils 2018-08-27 12:59:32 +02:00
Vasek Mlejnsky
a837db7a49 Fix imports 2018-08-27 12:45:39 +02:00
Vasek Mlejnsky
85df75c8c5 Make props not mandatory 2018-08-27 12:38:31 +02:00
Vasek Mlejnsky
47f96d7128 Add font size 2018-08-27 12:35:42 +02:00
Vasek Mlejnsky
8445ef8214 Rename "DeviceSettingsTabs" to "TopNavigationDeviceSettings" 2018-08-27 12:35:30 +02:00
Vasek Mlejnsky
ad26f2c30b Rename "Tabs" to "TopNavigationAccount" 2018-08-27 12:34:58 +02:00
Vasek Mlejnsky
c0af63cc5c Move wallet's "Account" component to wallet's view and name it "AccountSummary" 2018-08-27 12:34:01 +02:00
Vasek Mlejnsky
75c8f59ac9 Move wallet's "Sign" component to wallet's views and name it "AccountSignVerify" 2018-08-27 12:32:27 +02:00
Vasek Mlejnsky
b8c0a577cc Move wallet's "Send" component to wallet's views and name it "AccountSend" 2018-08-27 12:30:42 +02:00
Vasek Mlejnsky
b5cc5edc45 Move wallet's "Receive" component to wallet's views 2018-08-27 12:29:13 +02:00
Vladimir Volek
8331348ed6 Refactor device header 2018-08-27 12:17:27 +02:00
Vasek Mlejnsky
445a1a07bb Update "RowCoin" declaration to its actual props 2018-08-27 10:47:28 +02:00
Vasek Mlejnsky
f0bf6eb277 Use "CoinLogo" component instead of a locally styled "Logo" div 2018-08-27 10:46:41 +02:00
Vasek Mlejnsky
df9f7f51a1 Route to proper view 2018-08-27 10:45:47 +02:00
Vasek Mlejnsky
1143d78405 Cleamup 2018-08-27 10:45:33 +02:00
Vasek Mlejnsky
db80eed9ba Remove unused import and add default font size 2018-08-27 10:45:24 +02:00
Vasek Mlejnsky
69562c6d7a Create component for displaying a coin logo image 2018-08-27 10:43:34 +02:00
Vasek Mlejnsky
96b5b9058b Move "views/Wallet/components/Summary" into "view/Wallet/view/Account" 2018-08-27 10:43:18 +02:00
Vasek Mlejnsky
8fe70a19b3 Change icon size 2018-08-27 09:12:58 +02:00
Vasek Mlejnsky
f7b50bbb01 Fix background of "<aside/>" elemnt 2018-08-27 09:12:19 +02:00
Vasek Mlejnsky
4cd52f3ecf Style "Select" component 2018-08-27 08:32:06 +02:00
Vladimir Volek
0aa4bfd26a Separate more animations, removed unused less 2018-08-25 18:56:24 +02:00
Vladimir Volek
39de4ad932 Separate animations 2018-08-25 18:49:21 +02:00
Vladimir Volek
a2d7916d9f DeviceHeader customization with right icon 2018-08-25 15:48:55 +02:00
Vladimir Volek
ed6e0ee6da Moved ureadable device to styled-components 2018-08-25 15:06:09 +02:00
Vladimir Volek
30acfc3ca0 Moved wallet main views less to styled-components 2018-08-25 15:03:47 +02:00
Vladimir Volek
1d6c1b89f4 Removed P and move to paragraph 2018-08-25 14:34:04 +02:00
Vladimir Volek
6a29da8fd8 Added more unit tests 2018-08-25 13:49:58 +02:00
Vladimir Volek
630c55ad4c Added unit tests for device 2018-08-25 12:59:12 +02:00
Vasek Mlejnsky
4b2dabde38 Clean style 2018-08-24 14:17:07 +02:00
Vasek Mlejnsky
0ea14d1e18 Clean style 2018-08-24 14:15:49 +02:00
Vasek Mlejnsky
b4f267f05e Fix propType for an icon 2018-08-24 11:44:19 +02:00
Vasek Mlejnsky
db2008811d Merge branch 'styled-components-refactor' of https://github.com/satoshilabs/trezor-wallet into styled-components-refactor 2018-08-24 11:41:20 +02:00
Vasek Mlejnsky
4e8959e48e Disable reactSelect.less
- no longer needed becuase react-select@2.0.0 imports syles itself
2018-08-24 11:12:39 +02:00
Vasek Mlejnsky
5aa7dc6646 Style react-select (WIP) 2018-08-24 11:07:30 +02:00
Vasek Mlejnsky
2ba9c61ff2 Refactorize "Loader" component
- Change folder name from "LoaderCircle" to "Loader"
2018-08-24 09:57:23 +02:00
Vasek Mlejnsky
6946500f0a Add trezor webusb button style 2018-08-24 09:10:13 +02:00
Vasek Mlejnsky
4644c6d1bc Remove "ConnectDevice" from global components 2018-08-24 09:01:26 +02:00
Vasek Mlejnsky
58666ceb45 Use Link instead of <a/> 2018-08-24 08:45:00 +02:00
Vasek Mlejnsky
aa6e37fc38 Fix transition constant 2018-08-24 08:42:59 +02:00
Vasek Mlejnsky
c0555bea0c Refactorize Landing view 2018-08-24 08:37:05 +02:00
Vasek Mlejnsky
2c6aabf7ff Create custom wrapper for react-select 2018-08-24 08:36:55 +02:00
Vasek Mlejnsky
6a8142c166 Refactorize "InstallBridge" 2018-08-24 08:33:56 +02:00
Vasek Mlejnsky
c2b863f8bc Add option for a button to have an icon 2018-08-24 08:33:11 +02:00
Vasek Mlejnsky
f70517457c Fix propTypes of children property
- child can be a single string object, array of arbitrary objects or a single object (e.g., single Button child)
2018-08-24 06:48:11 +02:00
Vasek Mlejnsky
9f5bb3c1a6 Link can now has children 2018-08-24 06:30:09 +02:00
Vasek Mlejnsky
86bf1b6446 Change propTypes so multiple elements can be children of paragraph 2018-08-24 06:20:33 +02:00
Vladimir Volek
8ad63117e1 Adjusted size of header to designs 2018-08-23 17:39:00 +02:00
Vladimir Volek
3df12d3e1e Adjusted colors 2018-08-23 17:26:29 +02:00
Vasek Mlejnsky
a5739c32e1 Refactorize "Landing" view 2018-08-23 16:01:34 +02:00
Vasek Mlejnsky
991aeb8831 Refactorize "BrowserNotSupported" 2018-08-23 16:01:22 +02:00
Vasek Mlejnsky
90fe036748 Move logic for (dis)connecting device to a single "ConnectDevice" component 2018-08-23 16:00:54 +02:00
Vasek Mlejnsky
6c772c6038 User hover css constant 2018-08-23 15:59:37 +02:00
Vasek Mlejnsky
ef72dbcc90 Remove unused import 2018-08-23 15:59:16 +02:00
Vasek Mlejnsky
6f657e7a64 Remove unused components 2018-08-23 15:58:55 +02:00
Vasek Mlejnsky
c67335170a Create "Paragraph" component for "</p>" element 2018-08-23 15:58:36 +02:00
Vasek Mlejnsky
b81cbe2cfc Create "Link" component for "<a/>" elements 2018-08-23 15:48:28 +02:00
Vasek Mlejnsky
ec1f47de71 Don't export TRANSITION_TIME 2018-08-23 15:47:46 +02:00
Vasek Mlejnsky
8fc6b040e9 Change copy sign to html encoded version 2018-08-23 15:38:45 +02:00
Vasek Mlejnsky
4e1facddee Change "icon" propType to array of strings
Becuase some icons have multiple paths
2018-08-23 15:38:18 +02:00
Vasek Mlejnsky
509888fc69 Fix macOS name 2018-08-23 15:35:11 +02:00
Vasek Mlejnsky
a9681916cc Add font-weight, transition animation and line-height to variables 2018-08-23 15:35:01 +02:00
Vladimir Volek
8b6cd23c26 Added button styles 2018-08-23 14:01:30 +02:00
Vladimir Volek
3fb4699172 Removed log styled - moved to styled components 2018-08-23 13:51:45 +02:00
Vladimir Volek
9ce0975507 Removed more styles 2018-08-23 12:22:00 +02:00
Vladimir Volek
8a0591bfd5 Added one more status for device 2018-08-23 11:52:55 +02:00
Vladimir Volek
2c5ec70a02 Put back background color 2018-08-22 17:54:09 +02:00
Vladimir Volek
51c2074ed6 Removed base import 2018-08-22 17:43:34 +02:00
Vladimir Volek
883b17ef1f base styles migrated 2018-08-22 17:32:42 +02:00
Vladimir Volek
7491289dcb Removed unused styles 2018-08-22 17:22:26 +02:00
Vladimir Volek
0a8f8f8872 Styled initil page 2018-08-22 16:35:19 +02:00
Vladimir Volek
bc094c42a1 Removed old selected device 2018-08-22 16:20:56 +02:00
Vladimir Volek
a4d88fb919 Fixed animation loading 2018-08-22 15:45:00 +02:00
Vladimir Volek
88a94ec06e Added redbox to see erorrs in UI 2018-08-22 14:31:16 +02:00
Vladimir Volek
9e9d1fc03a Removed dot from image 2018-08-22 12:59:22 +02:00
Vladimir Volek
d7e067616f Finalized status dot 2018-08-21 17:56:30 +02:00
Vladimir Volek
250aa217a2 Functions refactored, device list refactored 2 2018-08-21 17:17:13 +02:00
Vladimir Volek
80fcd15558 Functions refactored, device list refactored 2018-08-21 17:02:06 +02:00
Vasek Mlejnsky
ef266a471d Fix querySelector error caused by accessing ref on a syled component 2018-08-21 08:14:16 +02:00
Vasek Mlejnsky
1fc12ca5f3 Cleanup & eslint fixes 2018-08-21 08:09:51 +02:00
Vasek Mlejnsky
d69c26961b Fix "AccountRow" border offsetting its content 2018-08-21 08:09:37 +02:00
Vasek Mlejnsky
55fc01454d Refactorize "AccountMenu" component 2018-08-21 07:59:10 +02:00
Vasek Mlejnsky
25ee6a9b0a Merge branch 'styled-components-refactor' of https://github.com/satoshilabs/trezor-wallet into styled-components-refactor 2018-08-21 07:45:40 +02:00
Vasek Mlejnsky
9ba8cfaab8 Add disabled option "Add account" button 2018-08-20 13:31:59 +02:00
Vladimir Volek
50a877eac2 Added margin for logos 2018-08-20 13:31:22 +02:00
Vladimir Volek
c3c617955c Merge master 2018-08-20 13:01:43 +02:00
Vasek Mlejnsky
5701555117 Refactor components/styles 2018-08-20 12:44:18 +02:00
Szymon Lesisz
e7c76ab953 disable "popup: true" in connect settings 2018-08-20 10:00:08 +02:00
Szymon Lesisz
83523cf677 import Device type from 'flowtype' module 2018-08-17 15:24:47 +02:00