- add
error
prop/attribute to show custom error message. - add part name
input
,calendar
,popover
for date input parts for easier access for styling
- fix
calendarDefaultDateView
when assigning input-type after ward. - fix arrow key increase and decrease value by keyboard.
- fix calendar overflow in mobile browser with bottom navigation.
- fix time stamp value assignment bug
- add
selectionStart
,selectionEnd
andsetSelectionRange
methods and properties,
- fix input type assignment in UMD modules
- add new Events like
onLoad
,onInit
,onInvalid
,onInput
,onBeforeInput
,onKeyPress
,onKeyDown
to react component &beforeinput
,input
,keydown
to web component. - add
jb-core
as a dependency to make all events following the new events standard. - capture and silent input keyboard events to unify all keyboard events
- update jb-validation to support async validations.
- prevent keyboard from opening in mobile.
- fix click on background not close the picker.
- make change event cancellable by
e.preventDefault()
.
- add support for form tag compatibility and jb-form feature
- add isDirty to check if element value change since initial value set
- add time factors to object value and
Date
value to keep given date value time.
- refactor popover and separate it from inside popover to jb-popover web-component.
- refactor input and use jb-input instead of inner input code and handlers so all styles related to the input need to be refactored.
- change
use-persian-number
toshow-persian-number
to make all jb-design-system use the same names and approach.
- better focus and caret pos handling
- less package size
- add br and gzip to package build file and add default minification to reduce loaded bundle size
- better typescript support
- better overflow handler
- refactor validation to standard jb design system validation tool
- change component file name from
JBDateInput
tojb-date-input
- disable overflow handler by default add add
overflowHandler
property so user can enable it when needed
- fix umd build
- fix value change on arrow key. move it from base on
valueType
to base oninputType
due to month and day boundary validation
- add
setMonthList
method to easily customize month names.
- change
inputType
andvaluetype
from enum to pure string so it easily be used in other ts files without extra dep
- fix
:dir(ltr)
bug of calendar
- add Date to valid type for min & max date restriction input
- add placeholder support when input is empty
- fix get Date value directly
- add
Date
value support as a value input and output
- fix useless margin and size reduction
- make component compatible with native form element value getter.
- fix calendar open and close problem #13 on calendar button clicked
- fix component problems with typescript
- export some missing type from component
- update calendar to support swipe true direction in rtl pages
- add swipe up gesture for year selection.
- add swipe down gesture for month selection.
- add font-weight effect on calender title hover for better UX, so user can see they are clickable.
- add y overflow handler on desktop calendar picker container to swipe up when calendar was not completly on sight.
- add
--jb-date-input-message-box-padding
and--jb-date-input-message-box-text-align
and--jb-date-input-message-box-font-weight
css variable
- add
--jb-date-input-box-shadow-focus
and--jb-date-input-input-margin
css variable
- import type problem from jb-calendar
- use es builded npm module and treeshaker for umd dependancies
- add UMD build in dist folder for non npm user
- now
use-persian-number
attribute will chnage input number char tp persian format
- add
use-persian-number
attribute
- refactor all date related functions from
dayjs
todate-fns
- now support persian number and let user type number in persian format and dont prevent user with persian keyboard
- refactor date based function and move them to date factory
- move format single source of truth to date factory
- prevent some typing mistake for day and month
- fix paste functionality and controll pasted value as well as typed value
- make calendar pop-up more mobile friendly by making it open overly
- add default date for calendar in date input empty state with
setCalendarDefaultDateView
- refactor date based function and move them to date factory
- move input-type single source of truth to date factory
- refactor date based function and move them to date factory
- change date restrictions from
DayJs
format toDate