Commit graph

1673 commits

Author SHA1 Message Date
Vesa Luusua
fe28a82831 Fix: multiple modals cancelled each others on page load
(when one of the modals was initially open).
2017-06-06 22:55:22 +03:00
Vesa Luusua
5461093900 Changes after baseliner discussion 2017-06-06 22:53:57 +03:00
Kimmo Puputti
665c60b799 Change BirthdayInput to take flat input props
Inputs should take flat props so they can be used with InputField
component.
2017-06-06 16:49:58 +03:00
Kimmo Puputti
39618f4561 Add support for textarea and custom inputs 2017-06-06 16:24:03 +03:00
Kimmo Puputti
390bdf8132 Fix InputField top margin 2017-06-06 16:20:51 +03:00
Vesa Luusua
de414c290e Mobile topbar fixes 2017-06-06 14:45:58 +03:00
Vesa Luusua
241a1efff3 Font names and styles were changed in previous commit. 2017-06-06 14:19:33 +03:00
Kimmo Puputti
b83dd5859f Change input success state definition 2017-06-06 14:01:19 +03:00
Kimmo Puputti
b144cfe94f Add autoFocus support 2017-06-06 11:22:17 +03:00
Kimmo Puputti
83b9fdbe4c Change margin, improve example 2017-06-06 10:35:47 +03:00
Kimmo Puputti
81470905d0 Add InputField component 2017-06-05 16:52:46 +03:00
Kimmo Puputti
9ecc928b31 Add rootClassName support 2017-06-05 16:49:01 +03:00
Kimmo Puputti
ae2a94beb5 Fix predictions position in FF and Safari 2017-06-02 11:59:19 +03:00
Kimmo Puputti
58b0545111 Update snapshots 2017-06-02 11:59:19 +03:00
Kimmo Puputti
cdf83b70a9 Review fixes 2017-06-02 11:59:19 +03:00
Kimmo Puputti
07bb79ab6a Location search input styles 2017-06-02 11:58:31 +03:00
Kimmo Puputti
f3daa1670f Generic input and textarea styles 2017-06-02 11:58:31 +03:00
Kimmo Puputti
6bcc4a7c5d Topbar desktop search 2017-06-02 11:56:58 +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
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
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
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
Kimmo Puputti
7d6950b127 Add group to 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
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
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