Commit graph

16 commits

Author SHA1 Message Date
Jenni Nurmi
47f2689a4c In react-dates components use readOnly prop on mobile to fix bug 2018-12-05 11:07:47 +02:00
Jenni Nurmi
a6949bff42 Update react-dates to 17.2.0 2018-12-05 11:07:47 +02:00
Hannu Lyytikainen
4e37f80482 Refactor day type check function 2018-07-26 17:59:48 +03:00
Hannu Lyytikainen
4be615c352 Add ensure function for time slots
Also fixes time slots test data creation by setting the date time
correctly to UTC.
2018-07-26 14:39:36 +03:00
Hannu Lyytikainen
df4c217cc9 Add time zone conversion to time slots 2018-07-24 17:07:22 +03:00
Hannu Lyytikainen
41cb375945 Add a comment to clarify the time slot usage 2018-07-24 11:21:54 +03:00
Hannu Lyytikainen
baf96faed9 Fix field with no time slots provided
Also adds an extra example so that there's one with and without time
slots.
2018-07-24 11:10:34 +03:00
Hannu Lyytikainen
d2a5f3f5f8 Show available time slots in date input 2018-07-23 19:56:31 +03:00
Hannu Lyytikainen
58cd6211b1 Extract max number of days for booking to config 2018-07-23 18:15:13 +03:00
Vesa Luusua
5dd455ffa5 Review changes 2018-04-20 13:05:20 +03:00
Vesa Luusua
fe7dedd43d Refactor FieldDateInput: use Field connector from Final Form 2018-04-20 13:05:16 +03:00
Kimmo Puputti
f5fb478166 Add comment about CSS custom properties being global 2018-04-11 15:59:22 +03:00
Kimmo Puputti
aa4b3e7fcc Prefix local CSS properties with component name
Since the CSS custom properties are defined in the :root, they will be
global when the variables are preserved in the output bundle. This
changes them to something globally unique.
2018-04-11 14:29:42 +03:00
sktoiva
d10ed349b2 Capitalize calendar caption for easier i18n 2018-02-13 16:18:39 +02:00
Vesa Luusua
0edd574cf6 Initialize react-dates in index.js 2018-01-31 14:23:35 +02:00
Vesa Luusua
1439ae72d8 FieldDateInput 2018-01-31 14:23:34 +02:00