Commit graph

665 commits

Author SHA1 Message Date
Kimmo Puputti
72c7e5b0cf Add TopbarSearchForm component 2017-06-02 11:51:18 +03:00
Kimmo Puputti
5800a46730 Enable styling autocomplete with passed in classes 2017-06-02 11:50:32 +03:00
Kimmo Puputti
e5196f79bf Support injecting classes to parts of the input 2017-06-02 11:50:32 +03:00
Kimmo Puputti
ec62a308dd Location autocomplete styles 2017-06-02 11:50:32 +03:00
Kimmo Puputti
4e6b0f5ec2 Use custom media query, add searchResultsFont 2017-06-02 11:50:32 +03:00
Vesa Luusua
eaa5408ec9 Topbar (mobile bar) 2017-06-02 02:07:24 +03:00
Vesa Luusua
5d5d3d6e7e Updating content of Mobile menu modal 2017-06-02 00:57:51 +03:00
Vesa Luusua
2e1bcdee6c Adding CloseIcon to Modal and updating code 2017-06-02 00:13:41 +03:00
Vesa Luusua
6497d0c54a Adding new font for Close modal button 2017-06-02 00:13:41 +03:00
Vesa Luusua
597c57cdd4 CloseIcon 2017-06-02 00:13:40 +03:00
Vesa Luusua
8ef3f5d3a8 Fix tests other components too (Avatar is used in several places). 2017-06-02 00:13:40 +03:00
Vesa Luusua
cb30675958 Fix tests other components too (Avatar is used in several places). 2017-06-02 00:05:14 +03:00
Vesa Luusua
e26619e235 Change Avatar to use initials as placeholder instead of image. 2017-06-01 23:57:57 +03:00
Vesa Luusua
69bece6012 TopbarDesktop uses Menu and shows logout link in there 2017-06-01 23:37:47 +03:00
Vesa Luusua
d95bced01c Menu and its child components 2017-06-01 23:37:41 +03:00
Vesa Luusua
b59404ed25 Prettier was not executed for TopbarDesktop 2017-05-30 16:56:01 +03:00
Vesa Luusua
fc636b5860 MobileMenu to more informative TopbarMobileMenu 2017-05-30 16:10:14 +03:00
Vesa Luusua
357dbe08c4 TopbarDesktop should get visibility factor from Topbar. 2017-05-30 15:52:35 +03:00
Vesa Luusua
fdb98531e7 Topbar - a draft for desktop 2017-05-30 15:13:21 +03:00
Vesa Luusua
2b0a57c390 TopbarDesktop as separate component 2017-05-30 15:12:41 +03:00
Vesa Luusua
458fd20cba Add rough styling to Styleguide 2017-05-30 13:26:57 +03:00
Vesa Luusua
97b6ae6bf4 Colors page to Styleguide 2017-05-29 19:58:51 +03:00
Vesa Luusua
2999347351 Fix regular version of SophiaPro font and Typography.example 2017-05-29 19:58:32 +03:00
Kimmo Puputti
a888b7477f Add more docs 2017-05-29 16:28:26 +03:00
Kimmo Puputti
4b25d40da3 Format with Prettier 2017-05-29 15:56:48 +03:00
Kimmo Puputti
955fcf2a88 Remove unused group in named links 2017-05-29 15:56:23 +03:00
Kimmo Puputti
8fd453fb76 Add a typography group 2017-05-29 14:33:24 +03:00
Kimmo Puputti
f78693718a Improve styles and docs 2017-05-29 14:31:06 +03:00
Kimmo Puputti
8951b93140 Add group navigation 2017-05-29 14:31:06 +03:00
Kimmo Puputti
7d6950b127 Add group to examples 2017-05-29 14:31:06 +03:00
Kimmo Puputti
8c0a228926 Add grouping support for Styleguide component examples 2017-05-29 14:31:06 +03:00
Kimmo Puputti
d009b3993c Fix UTC Date handling
When selecting a date, if the user's timezone was less that UTC, the
created date object always rolled over to the previous day from the
UTC date created from the selected year/month/day values.

The solution was to check the UTC year/month/day of the day object
against the selected values, not the year/month/day of the local
timezone.
2017-05-26 16:17:36 +03:00
Vesa Luusua
cef6f95884 Alternative (system) fonts 2017-05-24 15:04:50 +03:00
Vesa Luusua
d70df40588 Styleguide: Typography example (mobile works - css for desktop is not available yet.) 2017-05-24 14:05:56 +03:00
Vesa Luusua
018232991f Rename index.css to marketplaceStyles.css and add mobile font styles. 2017-05-24 14:05:55 +03:00
Kimmo Puputti
5781c79ff7 Remove MobileFrame and related hacks 2017-05-22 16:32:51 +03:00
Mikko Koski
bf0e933f7c Move toggleBasedOnWindowSize to componentDidMount 2017-05-22 14:24:01 +03:00
Mikko Koski
59212f04cf Fix issue of author container overflowing the view 2017-05-19 11:26:40 +03:00
Mikko Koski
f2270077f6 Run prettier 2017-05-19 11:01:49 +03:00
Mikko Koski
98fd29f92a Fix autocomplete click issue. Listen mouse down instead of click
This commit fixes click issue in the autocomplete predictions list. The previous implementation relied on two event: blur event from the input and click even from the predictions list. Blur event happens before click event and because of this there was a listener to listen the current hover status. However, this strategy doesn't work in touch devices where there's no hovers.

The fix is to listen mousedown/mouseup (and touchstart/touchend) events and save the current "in progress" state to the component state.
2017-05-19 10:52:03 +03:00
Mikko Koski
04780644de Hotfix: window is not defined in server rendering 2017-05-18 14:10:51 +03:00
Mikko Koski
e4d4fdd828 Fixes an issue with modal in mobile menu, which sets display to block
- Causes issues, if the display should be flex or something else than block
2017-05-18 13:27:01 +03:00
Mikko Koski
1c6652f288 Run prettier 2017-05-18 10:42:37 +03:00
Mikko Koski
da11d9c78e Remove unused SortableElement to fix tests 2017-05-18 10:42:11 +03:00
Mikko Koski
d10a3bcab4 Remove mobile frame if the screen is smaller than 615
Also, fix some hard-coded max-width 375px sizes.
2017-05-18 10:29:43 +03:00
Mikko Koski
920e204b9e Disable image sorting 2017-05-18 09:34:23 +03:00
Mikko Koski
c119d67f78 Fixes modal scrolling issue by changing height 100vh to bottom 0 2017-05-18 09:21:31 +03:00
Mikko Koski
1cb5f5d574 Fix Flexbox cross-browser issues
- Fixes Flexbox cross-browser issues (Safari) that prevents moving on in the listing wizard if user adds many images to the listing
2017-05-17 14:10:51 +03:00
Mikko Koski
8af1d23f9f Make SVG backgroud image to scale to the whole page
- Add preserveAspectRatio none
2017-05-17 09:49:12 +03:00
Vesa Luusua
ba3ab3939c Submit button should have a margin bottom added 2017-05-16 23:37:07 +02:00