#changelog
- 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