Commit Graph

12 Commits

Author SHA1 Message Date
Key Roche
903008ef64
refactor: Mark redundant paramters as obsolete for future removal (#3035)
Co-authored-by: James Yeung <shunjiey@hotmail.com>
2023-01-31 16:26:12 +08:00
Alex Kryvdyk
c00dd6f23d
fix(module: datepicker): value not updated when changed programmatically (#2551)
* fix(module: datepicker): value not updated when changed programmatically

* fix(module: rangepicker): value not updated when set programmatically

* fix:(module: datepicker): placeholder attribute not applied to input

* fix:(module: rangepicker): end date placeholder is not cleared
2022-07-10 10:46:51 +08:00
Alex Kryvdyk
8585bba9db
feat(module: datepicker): Scroll to selected time in DatePicker/TimePicker (#2512)
* feat(module: datetimepicker): scroll to selected time

* refactor(module: datepicker): move scroll to code behind

* fix(module: datetimepicker): no scroll to selected time on manual input

* fix(module: datetimepicker): 12-hour time is not parsed on manual input

* fix(module: datetimepicker): entered time ignored on manual input

* feat(module: datepicker): add animation to time picker

* Revert "fix(module: datetimepicker): entered time ignored on manual input"

This reverts commit 9211cf8e628173e59fbd3b110bb5fe84a2c77efa.

* refactor(module: datepicker): cleanup redundant code

* refactor(module: datepicker): reduce size of animation function

* fix(module: datepicker):duplicate calls to StateHasChanged on date hover
2022-06-15 23:50: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
Nino Padrutt
5809c80011 feat(module: date-picker): support localization (#803)
* start trying to add a different first day of the week based on localization.

* add first day of week parameter and get weekday local  from .net

* fix some issues

* extend demo

* remove no longed needed Locale parameter

* fix range for selection

* add german localization

* add entry for API section

* remove obsolet things from the react ant documentation

* add description to chart documentation

* translate general configuration to english.

* code cleanup

* use LocalProvider to get first day of week.

* use localeprovider instead of date picker localization

* remove no longer used parameter

* delete no longer used interface

* change from enum to string due to parsing issue.

* add missing formats and use culture info from localprovider

* correct locales

* us Sunday as a default

* remove no longer used culture info parameter

* adjust locales

* add parameter for Locale instead of directly accessing it.

* add inheritance to access locale

* typo

* readd culture info parameter

* fixes for locale jsons

* adjust demo and api

* small adjustments on docs, set monday in chinese as first day of the week.

* use locale in calendar as well.

* adjust docs

* use enum

* adjust demo

* adjust for different starting date.

* add defaults for DatePickerLocale

* add short week days to locale files

* use days from locale file

* code cleanup

use consts instead of magic numbers, add code comment and use dayOfWeek As param instead of the whole locale object. Remove no longed used method.

* not sure about the chinese translation so I remove them

* Revert "not sure about the chinese translation so I remove them"

This reverts commit 54017513c7b684494cf06184b4051a4dcfc43850.
2020-11-25 11:08:12 +08:00
笨木头
b5a18f5caa fix(module: calendar): method or operation is not implemented (#821) 2020-11-23 23:00:24 +08:00
James Yeung
bd34858efd feat: support for globalization & localization (#578)
* feat: add locale

* feat: add locale interfaces

* fix: add locale interfaces for components

* fix: use local classes instead of interfaces

* feat: implement the locale provider

* feat: make some components to support localization

* fix: default language

* fix: test

* chore: remove the useless reference
2020-09-07 22:46:50 +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
笨木头
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
TimChen
f537cee4b5 feat: radio supports generics (#246)
* feat: radio supports generics

* fix: code format

* feat: radio supports form

* fix: radio button style

Co-authored-by: ElderJames <shunjiey@hotmail.com>
2020-06-29 23:19:25 +08:00
Bin Dong
d99f4f35a8 feat: add localization option to DatePicker (#206)
* feat: add localization option to DatePicker

* fix(module: datepicker): fix formatting issue

* fix: fix Week/Year panel miss matching
fix picker not update when setting CultureInfo
fix ShortWeekDays names and order

* fix: fix binding of CultureInfo in datetime demos
Add globalization demo

* fix: datetime string format

Co-authored-by: ElderJames <shunjiey@hotmail.com>
2020-06-16 12:31:46 +08:00
笨木头
cf959decf9 feat: add calendar (#176)
* feat: refactor datePicker, add Calendar(basic)

* feat: add calendar and demos

* fix: timePicker format error

* fix: release comments

* refactor: replace @bind-Value with Value

* refactor: replace @bind-Value with Value

* fix: conflit
2020-06-03 10:24:16 +08:00