Commit Graph

19 Commits

Author SHA1 Message Date
Andrzej Bakun
6a6a12175f fix(module: RangePicker): ShowTime issues addressed (#1788)
* fix(module:rangePicker): year & month skip

* fix(module:rangePicker): extra space removed on 2nd picker

* fix(module:rangePicker): when ShowTime, click on OK moves to other picker

* fix(module:rangePicker): adjust year skip button

* fix(module:rangePicker): focus issue resolution

* fix(module:rangePicker): remove incorrect value from input

Co-authored-by: James Yeung <shunjiey@hotmail.com>
2021-07-31 10:53:53 +00:00
anranruye
16654f5b51 Merge 0.8.4 to feature 2021-07-18 00:04:11 +08:00
anranruye
be958dad87 fix(module: date-picker): fix date picker width (#1685)
* fix(module:date-picker): fix date picker width

* Update DatePickerBase.cs
2021-06-30 18:34:19 +08:00
Andrzej Bakun
24d081ea8c fix(module: date-picker): Date picker blur/focus & regression tests (#1681)
* fix(module:datepicker): locale & blur issue fix

* tests(module:datepicker): add regression tests

* fix: focus is kept on picker false click & blur is applied when needed

* fix: tests
2021-06-28 11:28:18 +08:00
笨木头
7f840e9fdf feat(module: DatePicker): support disable one of range-picker inputs (#1648)
* feat(module: rangepicker): support disable one of inputs

* doc: update doc
2021-06-19 00:13:18 +08:00
Andrzej Bakun
a7fabae919 fix(module: datepicker): Date picker panel click closing + some issues from #1431 (#1452)
* fix(module:datetime) keep open when click on panel

fix: tab key behavior
blur/show optimization

* fix(module:rangepicker): tab key behavior improvements

blur/focus optimizations

* fix(module:overlay): overlay visible before positioning

fix: flickering

* fix(module:datepicker): handle escape key

* fix(module:datepicker): mark properly current date on panel

* fix(module:datepicker): week mode calculates weeks properly
2021-05-07 15:31:13 +08:00
Andrzej Bakun
b27e4d47a6 fix(module: datepicker): validate manually entered date against format (#1389)
* fix(module:datepicker): validate manually entered date against format

* fix(module:datepicker): keep frozen the panel until valid date entered

* fix(module:datepicker): switch to current culture format

* fix(module:datepicker): build fix

* fix(module:datepicker): use InvariantCulture when calling ToString on date

* fix(module:datepicker): FormatAnalyzer handles also year, week, month & quarter picker

* fix(module:datepicker): FormatAnalyzer broken tests

* fix: FormatAnalyzer handles prefixes in format.

Suffix is handled for picker type = "year"
Tests include validation of not changing state

* fix: all modes go through format analyzing (inluding week&quarter)

* fix(module:datepickerbase): InternalFormat initalized properly for all modes

* fix(module:rangepicker): reset opposing date when in conflict with current

* fix(module:rangePicker): handle null in second part of range

* fix(module:datepicker): switch from BindConverter to partials

* tests(module:datepicker): FormatAnalyzer new tests to cover switch from BindConverter

* tests(module:datepicker): missed change in tests

* fix: focus, key events, reset value to original if not confirmed

* fix: bug fix on range & clean-up

* Update DatePicker.razor

Co-authored-by: James Yeung <shunjiey@hotmail.com>
2021-04-28 03:54:19 +00:00
笨木头
d0922fbc50 fix(module: datepicker): incorrect in RTL mode (#1300)
* fix(module: dropdown): default PlacementType is incorrect in RTL mode

* fix(module: datepicker): not correct in RTL mode

* fix(module: datepicker): styles is incorrect when switch to LTR from RTL

Co-authored-by: James Yeung <shunjiey@hotmail.com>
2021-04-06 20:02:53 +08:00
James Yeung
d2e9c4b247 feat(module: config-provider): support RTL (#1238)
* feat(module: config-provider): support RTL

* add rtl for each component

* fix rtl for pagination

* add rtl for overlay
2021-03-31 19:23:26 +08:00
Zonciu Liang
da55e9e7e8 fix(animation): missing prefix (#1243)
* fix: add class name prefix for zoom and slide-up animations.

* fix(module: popconfirm): fix animation

* fix(module: popover): correct animation, sync de
2021-03-12 15:46:48 +08:00
Andrzej Bakun
609502bc61 fix(module: date-picker): date typing, enter behavior, overlay toggle (#1145)
* fix(module:datepicker):date typing, enter behavior, overlay toggle, key navigation

* fix(module:datetime): picker value set to previous on key actions
2021-02-20 17:54:12 +08:00
Andrzej Bakun
152a574577 feat(module: overlay): OverlayTrigger not bound to a div (#937)
* feat(module:overlay): OverlayTrigger not bound to a div

* feat(module:overlay): OverlayTrigger not bound to a div

* feat(module:overlay): Logic transfer to single Overlay

* feat(module:overlay): remove obsolete duplication

* feat(module:Tooltip): Add for unbounded oncontextmenu event handler

* feat(module:tooltip): unbound js event listeners remove

* docs(module:tooltip): unbound explanation

* fix(module:button): attach Ref to top level html element @ref

* feat(module:dropdown&tooltip&popconfirm&popover): Overlay not bound to a div

* docs(module:dropdown&tooltip&popconfirm&popover): unbound explanation

* feat(module:OverlayTrigger): common logic relocation

* feat(module:overlaytrigger): Overlay not bound to a div

* feat(module:DatePicker): Overlay not bound to a div

* feat(module:select): Overlay not boud to div

* fix(module:select): onclickarrow event relocation

* fix(module:select): rename Show to OnArrowClick

* feat(module:avatar): Overlay not bound to a div

* docs(module:avatar): demo switch to unbound version

* feat(module:autocomplete): partial OverlayTrigger not bound to a div

* feat(module:slider): tooltip

* docs(module:slider): tooltip

* fix(module:overlay): add SetVisible method

* feat: set Ref where missing, performance

components register Ref when missing
IsFixed flag for CascadeValue changed
hard-code sequence numbers when using RenderTreeBuilder
Rate component use Tooltip Unbound version
Tabs test fix

* fix: revert changes (accidental)

* feat(module:upload): tooltip with unbound usage

* feat(module:table): column use of unbound tooltip

* feat(module:autocomplete):overlay unbound from div

* fix(module:upload): missing div restore

Co-authored-by: James Yeung <shunjiey@hotmail.com>
2021-01-21 17:20:10 +08:00
Kieran Coldron
57a69e7254 fix(module: date-picker): improvements (#736)
* fix: hide footer from range time picker so no duplicate footer

* fix: invoke onopenchange for datepicker when panel state changes

Co-authored-by: James Yeung <shunjiey@hotmail.com>
2020-10-29 18:18:48 +08:00
Kieran Coldron
7989288559 fix(module: date-picker): duplicate footer on rangepicker (#690) 2020-10-19 12:04:24 +08:00
笨木头
e42aa8aeb7 feat(module: range-picker): support form (#496)
* feat(module: range-picker): support form

* fix(module: range-picker): has no default value in from

* fix: picker's close behaviour and range arrow's style is wrong

* feat(module: datepicker): change placeholder on mouse over

* style(module: datepicker): adjust range arrow

Co-authored-by: James Yeung <shunjiey@hotmail.com>
2020-08-14 12:43:48 +08:00
笨木头
7d9d6fc89d fix(module: form): value not change when model change (#333)
* feat(module: datepicker): support nullable type

* fix(module: cascader): displaytext did not change when bind-value change

* fix(module: form): can not change layout

* docs(module: form): add 'new model' test button

Co-authored-by: James Yeung <shunjiey@hotmail.com>
2020-07-11 23:03:13 +08:00
Kieran Coldron
d97e26ffce feat: allow clearing datepicker view (#313)
* feat: allow clearing date view
fix: some styling regarding range pickers

* fix: remove typo from overlay class
2020-07-06 19:09:01 +08:00
笨木头
50cff77019 feat: improve range picker (#306)
* feat: improve range picker

* fix: error style when selecting two dates in the same month
2020-07-05 00:06:34 +08:00
笨木头
c3b0b114e6 feat: add form(basic features) (#168)
* feat: add form(not complete yet)

* feat: add form(basic)

* refactor: change namespace

* feat(module: form): add onFinish, onFinishFailed, reset

* feat(module: form): add layout demo

* feat(module: form): update doc

* refactor: basic form

Co-authored-by: ElderJames <shunjiey@hotmail.com>
2020-06-01 14:09:28 +08:00