- Updated
bullseye@1.4.6 - Updated
crossvent@1.5.0
- Replaced
contra.emitterwithcontra@1.9.0/emitter
- Updated
bullseye@1.4.3
- Fixed regression caused by
2.1.10where you could no longer enter a valid date typing manually
- Bumped
crossvent@1.2.0, fixing a bug removingfocusevent listener
- Replaced use of
Date.nowwithnew Date()because browser support - Bumped
bullseye@1.0.5 - Bumped
crossvent@1.1.0
- Extracted positioning API into
bullseye - Fixed a bug where inline calendars couldn't be instantiated
- Replaced
./eventswithcrossventfor code reuse
- Fixed a bug where inline date pickers would blink for a brief moment on the screen, when initialized
- Removed dependency on
raf
- Added the ability to set
autoCloseto'time', which only automatically hides the calendar when and if a time is picked
- Added
strictParseoption to avoid partial matches againstinputFormat
- Remove dependency on
lodash.throttle
- Removed unnecessary
'ready'event listener from inline calendars
- Fixed an issue where input calendars wouldn't be hidden upon initialization
- Fixed an issue where
.options()would forget an internal setting that identifies inputs - Fixed an issue where
.options.reset()would forget the container for an inline calendar - Fixed an issue where
.options.reset()would hide an inline calendar
- Removed necessity to wait until
'ready'event was fired in order to interact with calendar - Event listeners registered on a
'destroy'event handler will no longer be immediately removed - Introduced ability to pass
weekdayFormatas an array with 7 strings
- Fixed an issue where
autoHideOnBlurwouldn't work on Firefox
- Fixed an issue where you couldn't navigate months if the calendar was out of range
- Added ability to change weekdays format
- Changed navigation buttons to
buttontype
- Changed
weekStartdefault value tomoment().weekday(0).day()
- Circumvented a deprecation warning from
moment
- Bumped
momenttov2.8.2
- API methods now allow for chaining even when the operation is a no-op
- Fixed an issue (#27) where inline calendars wouldn't get positioned using the
.showAPI method - Created a
'show'event, emitted whenever the calendar is displayed - Created a
'hide'event, emitted whenever the calendar is hidden
- Fixed an issue (#25) which prevented you from using
minandmaxwhendateisfalse
- Fixed an issue in old IE browsers
- Fixed an issue where date validation resulted in the wrong dates being disabled
- Introduced ability to display months side-by-side in a single calendar
- Fixed issues when setting an initial value on calendars that also validate their inputs
- Fixed a bug where you couldn't set
appendTo: 'parent'for calendar associated to input fields
- Fixed a bug where calendars would be cached but never found again
rome.findreturnsnullif no calendar is found
- Fixed an issue where tapping the input field wouldn't re-open the calendar on mobile (fb8fc070)
- Fixed an issue where the standalone version didn't export an API
- Fixed
scrollTopissues in IE8 - Fixed click-to-hide issues in IE8
- Improved demo conformance by adding a
DOCTYPE - When destroying a calendar, API methods become a no-op instead of getting deleted
- Fixed internal clone method
- Fixed a myriad of issues in IE8, enabling basic support
- Fixed an issue where reference errors occured when setting an
initialValueor aninput'svalue
- Introduced
exceptandonlyvalidators
- Refactored validator factories so that the consumer doesn't need to bind
'data'events torefreshinline calendars
- Renamed validator factories
- Calendars are rendered when shown
- Validation occurs whenever a calendar is shown
- Fixed a bug where inline calendars couldn't be retrieved with
rome.find - Introduced validator factories for common date comparison use cases
- Introduced
calendar.refreshmethod to refresh a calendar on demand
- Fixed a bug where positioning would fail if the container had
position: relative
- Replaced
contrawithcontra.emitter, shaving bytes
rome.findoperates on both inputs and inline calendars- Fixed a minor bug when showing and hiding calendars on
'ready'
- Where possible, API methods return the Rome instance for chaining
- Merged
rome.inlinewithrome(elem, options?)
- Changed the way how
momentshould be passed torome, because architecture - Introduced ability to set an
initialValuefor the calendar - Published internal method
setValue(value)to set a date on the calendar - Published internal method
emitValues()to emit data through the calendar - Initialization happens in the next frame, meaning you can easily listen for
'ready'events - Split functionality between calendar and input field
- Ability to create inline calendars that don't depend on an input field
- Original method doesn't change its public API
- Fixed an issue where the date closest to an invalid one wouldn't be selected
- Introduced
dateValidatorandtimeValidatoroptions
- Fixed an issue when
requiredwas set tofalse
- Published alternative distribution
rome.standalone.jswhich doesn't bundlemoment - Implemented
requiredoption that allows the input field to be cleared
- Fixed a bug where the calendar would break if
timewas set tofalse
- Fixed a bug where you weren't able to navigate to the month if it was visible in the current calendar view
- Implemented
weekStartto choose the starting day of the week
- Made it easier to overwrite the absolute positioning of the calendar by only setting it once, on the stylesheet
- Fixed a bug where closing the calendar, with the time list open, triggered a rendering bug in WebKit (952e714)
- Cloned options objects return proper clones of the
minandmaxmoments instead of references
- Consumer only gets copies of the configuration object, never the original
- Introduced
.options.reset()to reset options to their default values like.options()used to do
Changes
.options()API changed, now returns copy of options if no arguments are provided
- Fixed a bug where the calendar wasn't being absolutely positioned
- Fixed bug when setting
appendTo: 'parent'
- Fixed support for
minandmaxtime settings
- Added the ability to choose a minimum date
- Added the ability to choose a maximum date
- Added the ability to click on days in neighboring months
- Initial Public Release