Commit Graph

129 Commits

Author SHA1 Message Date
ElderJames
71c53e1c9f merge 0.9.1 to feature 2021-08-13 17:22:52 +08:00
James Yeung
bc6395d0aa fix(module: auto-complete): turn off the input autocomplete attribute (#1825) 2021-08-08 18:58:16 +08:00
James Yeung
077f857cc0 chore: sync ant-design v4.16.9 (#1782) 2021-07-27 23:44:51 +08:00
Andrzej Bakun
2d693740c6 fix(module: input): fix & feat & docs & tests: Input general fixes (#1530)
* docs(module:input): api correction & comments

* fix(module:input): clear icon in sync with antD

* fix(module:input): add parameter bordered

* fix(module:textarea): add parameter ShowCounter

* fix(module:input): Focus with behaviors

* docs: add missing docs, rearrange order

* fix(module:search): update to match new standard look

doc(module:search): add API & demos

* fix(module:inputgroup): override style to remove whitespace\
docs: same as react

* fix(module:inputpassword): support custom icon
docs: same as react

* fix(module:input): add blur method
docs: add blur method

* fix(module:input): add readonly parameter

* tests

* fix

* fix(module:input): sequence correction

* Update components/core/Base/AntComponentBase.cs

Co-authored-by: James Yeung <shunjiey@hotmail.com>

* review fixes

* fix: clean-up

* tests: fix missing mock

* fix: focus

* fix(module:input): bind clear button to _inputValue

* tests: clear button show/hide

* tests: package update

Co-authored-by: James Yeung <shunjiey@hotmail.com>
2021-05-27 18:13:26 +08:00
MihailsKuzmins
c0f8859914 fix(module: input): preserve focus and caret position for input password when visibility is toggled (#1377)
* set focus when the password button is clicked

* add methods for selection

* set selectionStart after Focus

* fix typescript

* set selectionEnd as well

* fix a stupid if-condition-bug

* remove checks for element

* add selectionStart to getDomInfo

* get selectionStart from Element

* delete unneeded js method

Co-authored-by: mihails.kuzmins <mihails.kuzmins@daytongroup.lv>
Co-authored-by: James Yeung <shunjiey@hotmail.com>
2021-04-18 08:06:06 +00:00
James Yeung
04a5b8def4 fix(module: input): binding data when the Enter key is pressed (#1375) 2021-04-17 17:42:28 +08:00
Andrzej Bakun
1e5464d396 fix(module: input): add WrapperStyle (#1351)
* fix(module:input): add WrapperStyle

* translate the doc

* Update index.zh-CN.md

Co-authored-by: James Yeung <shunjiey@hotmail.com>
2021-04-15 07:43:29 +00:00
James Yeung
e8965eb369 chore: merge feature into master (#1350)
* feat(module: table): add a method to get query model (#1202)

* feat(module: table): add OnExpand event (#1208)

* feat(module: table): add summary (#1218)

* feat(module: table): add summary row

* feat: add fixed summary cell

* feat(module: InputNumber): Add long-click and keyboard operation (#1235)

* feat(module: InputNumber): Add long click and keyboard event

1. When hold mouse down button will always trigger the increase or decrease
2. Add event listener to "ArrowUp" and "ArrowDown" key

* feat(module: InputNumber): Add long click and keyboard event

1. When hold mouse down button will always trigger the increase or decrease
2. Add event listener to "ArrowUp" and "ArrowDown" key

* fix null reference exception

Co-authored-by: ElderJames <shunjiey@hotmail.com>

* refactor(module: pagination): cover the apis of react (#1220)

* 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

* chore: sync ant-design v4.14.0 (#1249)

* feat(module: tag): add closing event (#1268)

* tag add onclosing
event

* clean code

* translate the comment

* translation

Co-authored-by: James Yeung <shunjiey@hotmail.com>

* chore: sync ant-design v4.15.0 (#1281)

* feat: add built-in themes (#1286)

* feat: add themes

* add docs theming styles

* fix the RTL for FixedWidgets

* fix aliyun theme

* fix docs style

* feat(module: form): Form lable supports left alignment (#1292)

* feat: Form lable supports left alignment

* Update and rename components/grid/Col.razor.cs to 组件/格网/Col.razor.cs

* Delete Col.razor.cs

* no message

* PR:1292

* typo LabelAlign

* add the property in Col instead FormItem

* clean code

Co-authored-by: James Yeung <shunjiey@hotmail.com>

* feat(module: upload): missing and new event (#1302)

* feat(module:upload): missing and new event

* docs(module:upload): new events (missing Chinese)

Co-authored-by: James Yeung <shunjiey@hotmail.com>

* refactor: unified use of FeedbackComponent for modal comfirm and drawer  (#1263)

* refactor: support to use the same template for confirm and modal

* refactor: support to use the same template for drawer

* refactor: separate interface IOkCancelRef

* chore: modify EventUtil class summary

Co-authored-by: James Yeung <shunjiey@hotmail.com>

* feat(module: alert): add message template and loop banner demo (#1250)

* feat(Alert): added alert loop component

* fix: move cmp into main

* feat: add parameters for looping text

* feat: add new messages loop

* fix: create new internal looptext cmp

* doc: add demo

* doc: add demo markdown

* doc: update alert api

* doc: update cn docs

* fix: add missing dependency

* fix: update param name

* impleement loop text with css

* fix the document

Co-authored-by: James Yeung <shunjiey@hotmail.com>

* feat(module: table): add support for Display attribute (#1310)

feat(module:table): add support for Display attribute

Display attribute is widely used to specify display text for entity properties.
Table component should get column names from Display attribute instances.

Closes #1278

* test: add TestKit for public tests (#1248)

* test: change folder structure and add new TestKit csproj for public testing of AntDesign-based applications

* docs: added CN and EN docs about TestKit

* fix doc translate

* change the directory structure

Co-authored-by: Patryk Grzelak <pgrzelak@mutate.app>
Co-authored-by: James Yeung <shunjiey@hotmail.com>

* feat(module: space): add wrap, split and size array (#1314)

* 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>

* docs: fix default css link (#1318)

* fix(module: table): bring PR1208 to PR1303 merge master into feature (#1326)

* feat(module: pagination): add TotalBoundaryShowSizeChanger parameter (#1325)

* feat(module: pagination): add TotalBoundaryShowSizeChanger

* docs(module: pagination): update API

Co-authored-by: James Yeung <shunjiey@hotmail.com>

* docs: dynamic primary color changing (#1332)

* feat(docs): change color dynamically

* docs: dynamic primary color changing

* fix file path

* delete the script

* feat(module: table): add build-in filters (#1267)

* tablefilter-moreoptions

* tablefilter-moreoptions

* tablefilter-moreoptions

* tablefilter-moreoptions

* tablefilter-moreoptions

* fix demo and docs

Co-authored-by: James Yeung <shunjiey@hotmail.com>

* fix(module: tooltip): wrong popup direction (#1348)

* fix merge conflicts

Co-authored-by: Andrzej Bakun <andrzej@neelyc.com.cy>
Co-authored-by: LingDev <lingjing0921@live.com>
Co-authored-by: Zonciu Liang <zonciu@zonciu.com>
Co-authored-by: TimChen <TimChen44@users.noreply.github.com>
Co-authored-by: unsung189 <52531536+unsung189@users.noreply.github.com>
Co-authored-by: zxyao <zxyao145@gmail.com>
Co-authored-by: Patrick <42546986+MutatePat@users.noreply.github.com>
Co-authored-by: anranruye <54608128+anranruye@users.noreply.github.com>
Co-authored-by: Patryk Grzelak <pgrzelak@mutate.app>
Co-authored-by: 笨木头 <musicvs@163.com>
Co-authored-by: Magehernan <magehernan@gmail.com>
Co-authored-by: ldsenow <ldsenow@gmail.com>
Co-authored-by: Leishi <lluo@octet.com>
Co-authored-by: YMohd <31305504+YMohd@users.noreply.github.com>
2021-04-15 14:28:14 +08:00
Andrzej Bakun
242084e774 fix: multiple bugs originating from js (#1342)
* fix: multiple bugs originating from js

* fix(module:input): remove preventScroll from Focus method

fix: keep focus on clear

* fix(module:input): debug info clean-up

* fix(module:select): wait for browser to finish render

* fix(module:select): wait for ElementReference.Id

* fix doc assets

* fix(module:select): increase wait time for ElementRefernece.Id

Co-authored-by: James Yeung <shunjiey@hotmail.com>
2021-04-15 14:19:26 +08:00
ElderJames
aaff88adf7 merge master into feature 2021-04-08 22:32:48 +08:00
Andrzej Bakun
1d4ea440fa fix(module: textarea): default to empty string (#1305)
* chore: add GitHub Actions for auto preview (#1205)

* chore: add github actions for auto preview

* fix setup job

* chore: add GitHub Actions for auto preview (#1205)

* fix(module:textarea): add parameter DefaultToEmptyString

* fix(module:textarea): occasional crashes of js in firefox

* docs(module:input): added new param DefaultToEmptyString

Co-authored-by: James Yeung <shunjiey@hotmail.com>
2021-04-03 15:22:11 +08:00
James Yeung
469bbc511b chore: sync ant-design v4.14.0 (#1249) 2021-03-31 19:23:29 +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
Andrzej Bakun
e57e89bec5 fix(module: input): Loading animation toggling properly (#1195) 2021-03-04 12:50:16 +08:00
Andrzej Bakun
6ebb1b311a fix(module: TextArea): sizing bug for components outside viewport (#1155)
* fix(module:TextArea): sizing bug for components outside viewport

* fix(module:textarea): single js method to get textarea info

* fix(module:textArea): clean up unnecessary slice

* fix(module:textarea): autosize has proper effect

* chore: adjusting the release cycle and versioning

* fix(module:textarea): resize on type fix

* fix white line

Co-authored-by: ElderJames <shunjiey@hotmail.com>
2021-03-01 14:50:22 +00:00
James Yeung
a49da1ffed chore: sync ant-design v4.13.0 (#1181) 2021-02-28 22:41:28 +08:00
Andrzej Bakun
9dc73fbd9a fix(module: inputpassword): focus style (#1146)
* fix(module:inputpassword): focus fix

* fix(module:search): focus fix

* fix(module:input): (and descendants) focuse fix
2021-02-22 14:26:17 +08:00
Luke Parker
11fcd44993 fix(module: input): pressing enter would not update the value (#1094)
Co-authored-by: Luke Parker <10430890+TheRealHona@users.noreply.github.com>
Co-authored-by: James Yeung <shunjiey@hotmail.com>
2021-02-05 15:05:24 +08:00
Andrzej Bakun
536bb9a586 fix(module: input): missing disabled attribute (#1048) 2021-01-27 13:42:04 +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
James Yeung
56dfae7f62 chore: sync ant-design v4.10.0 (#943) 2021-01-09 09:07:02 +08:00
Luke Parker
bfb92f9664 feat(module: input): implement optional key debouncing (#899)
* Implement optional key debouncing

* Fixes & refactor

* Force update value on blur

* Only change value on blur if debounce is disabled

* fix: default to enable debounce and change value on blur directly

Co-authored-by: Luke Parker <10430890+TheRealHona@users.noreply.github.com>
Co-authored-by: ElderJames <shunjiey@hotmail.com>
2020-12-21 14:12:48 +08:00
Katherine Yeung
7bbc07248b fix(module: input): repeated dictionary key MaxLength causes an exception (#880) 2020-12-11 16:17:22 +08:00
James Yeung
df99bad7e5 chore: sync ant-design v4.9.0 (#842) 2020-12-01 11:02:28 +08:00
James Yeung
abb5791ddb fix(module: input): doesn't show the loading icon on search was pressed 'enter' (#752) 2020-11-01 22:38:43 +08:00
James Yeung
4f250e11e9 fix(module: input): value wouldn't change while input blur in inputting compositionally (#751) 2020-11-01 16:06:16 +08:00
James Yeung
428255086e chore: sync ant-design v4.7.3 (#719) 2020-10-25 23:07:27 +08:00
James Yeung
3fb5998d19 chore: sync ant-design v4.7.0 (#675) 2020-10-14 13:31:22 +08:00
Kieran Coldron
83ab94cc92 fix(input): allow number type in input (#630)
* fix: allow number type in input

* fix: parse empty string to value

Co-authored-by: ElderJames <shunjiey@hotmail.com>
2020-10-12 00:20:33 +08:00
TimChen
474b768c49 fix: textarea display bug (#650) 2020-09-27 22:01:04 +08:00
James Yeung
360fe0d3c0 fix(hosting): server prerendering issue (#583)
* refactor: rename JSInterop constants

* docs: fix typo

* fix: server prerendering issue
2020-09-09 00:52:14 +08:00
James Yeung
fdbb825910 fix(module: input): composition event conflict (#542)
Co-authored-by: 笨木头 <musicvs@163.com>
2020-08-28 14:04:46 +08:00
TimChen
f09e71ba06 feat: auto complete refactor (#529)
* feat: auto complete refactor

* feat: autocomplete Refactor

* feat: autocomplete property

* feat: autocomplate

* feat: autocomplete

* feat: autocomplete

Co-authored-by: James Yeung <shunjiey@hotmail.com>
2020-08-26 22:37:08 +08:00
James Yeung
13ee3634a0 chore: sync ant-design v4.5.4 (#499) 2020-08-13 06:43:07 +08:00
James Yeung
4c4f9b085c chore: sync ant-design v4.5.1 (#433) 2020-08-02 15:13:53 +08:00
James Yeung
feae8a07f5 fix(module: input): incorrect OnPressEnter (#435)
* fix(module: input): incorrect OnPressEnter

* fix: can't fire onSearch event when search button is clicked

* fix: mack input value generic

Co-authored-by: 笨木头 <musicvs@163.com>
2020-07-30 09:06:56 +08:00
Henry.zhang
ceb95bbe69 feat: add overview (#425)
* feat: add overview page

* feat: update language changed in overview

* fix: add cover in demo

* fix: overview

* fix: width of docsearch inputbox

Co-authored-by: ElderJames <shunjiey@hotmail.com>
2020-07-28 11:15:41 +08:00
笨木头
4d6c279e80 fix: input unusual by chance (#340)
Co-authored-by: James Yeung <shunjiey@hotmail.com>
2020-07-12 00:28:10 +08:00
笨木头
f11fd0e103 refactor: improve input and textarea (#317) 2020-07-07 12:44:10 +08:00
TimChen
88860d3702 fix: input and textarea bug (#308) 2020-07-06 14:33:28 +08:00
笨木头
4a4dfcbd87 refactor(module: form): optimize performance (#284)
* refactor(module: form): optimize performance

* refactor: clean code

Co-authored-by: ElderJames <shunjiey@hotmail.com>
2020-06-30 22:32:36 +08:00
TimChen
97af3e080d fix(module: input-number): crash for decimal greater then operator (#262)
* fix: inputnumber use decimal error

* fix: #264

* fix: clean up the code

Co-authored-by: James Yeung <shunjiey@hotmail.com>
2020-06-29 00:26:11 +08:00
James Yeung
7b021638d9 fix: icon issues (#260)
* fix: icon issues

* fix: search suffix icon
2020-06-28 10:54:27 +08:00
liuhai
f914e6c4b3 feat: add auto-complete component (#251)
Co-authored-by: ElderJames <shunjiey@hotmail.com>
2020-06-27 18:24:21 +08:00
TimChen
9d76e3f4d1 feat: input and inputNumber Supports generics (#238)
* feat: input and inputNumber Supports generics

* fix: remove debug code

* fix: inputNumber performance issues

* fix: number type limit and style

* fix: inputNumber code format optimization

* fix: inputnumber bug

* fix: inputnumber bug

* fix: drawer demo input generic

* fix: inputnumber Improve input experience

* fix: fix bugs

* fix: add some improvements

Co-authored-by: ElderJames <shunjiey@hotmail.com>
2020-06-27 01:20:52 +08:00
James Yeung
bb6303a839 chore: sync ant-design v4.3.4 (#223) 2020-06-15 00:29:33 +08:00
笨木头
9bdfaa21f8 feat(module: textarea): support form (#208)
* feat(module: textarea): support form

* fix: clean the code

Co-authored-by: ElderJames <shunjiey@hotmail.com>
2020-06-10 21:56:01 +08:00
Henry.zhang
f9b615c2ca feat: add more demos (#197)
...for affix,back-top,breadcrumb,card,divider,typogragpy and timeline

Co-authored-by: ElderJames <shunjiey@hotmail.com>
2020-06-07 19:41:00 +08:00
James Yeung
45ad7ef7ea chore: sync ant-design v4.3.2 (#194) 2020-06-07 01:10:11 +08:00
笨木头
78a08fbd3d feat(module: input components): support set size by form (#191)
* feat(module: input components): support set size by form

* fix: rebase conflict

Co-authored-by: ElderJames <shunjiey@hotmail.com>
2020-06-07 00:47:18 +08:00
TimChen
b129c07bc1 Update Search.razor.cs (#183)
已经使用await进行了等待,没有必要固定等待10秒,而且查询请求也无法固定成10秒。
I have used "await" to wait, there is no need to wait for 10 seconds, and the query request cannot be fixed to 10 seconds.
2020-06-04 18:45:36 +08:00
笨木头
c3fc31c9b0 fix: input component bug (#182) 2020-06-03 20:29:28 +08:00
笨木头
a6596b15dd fix: input error without form (#179)
* fix: input error without form

* refactor: optimize code
2020-06-03 09:58:11 +08:00
Henry.zhang
3492d546e3 refactor: add tag and card demo (#173)
* refactor: tag demo

* refactor: card demo

* fix: dynamic tag

Co-authored-by: ElderJames <shunjiey@hotmail.com>
2020-06-02 13:26:27 +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
James Yeung
8a2fdd5e06 chore: sync ant-design v4.3.0 (#169) 2020-05-31 16:00:40 +08:00
James Yeung
d16144ece0 refactor: remove the 'ant' prefix for some components that is already in demos (#162)
* refactor: button

* refactor: avatar

* refactor: alert

* fix: input group compact
2020-05-29 12:55:15 +08:00
ElderJames
97f920ab9a refactor: change namespcae to AntDesign 2020-05-29 00:33:49 +08:00
James Yeung
69c9f044ef chore: sync ant-design v4.2.5 (#149) 2020-05-25 12:38:07 +08:00
Henry.zhang
99e7745598 feat: rename and add input demo (#132)
Co-authored-by: ElderJames <shunjiey@hotmail.com>
2020-05-20 12:57:16 +08:00
James Yeung
6789f28400 chore: sync ant-design v4.2.1 (#104) 2020-05-11 21:47:35 +08:00
James Yeung
f87e39aca0 chore: sync ant-design v4.2.0 (#89) 2020-04-30 10:55:54 +08:00
James Yeung
374929d16d chore: sync ant-design v4.1.5 (#84) 2020-04-26 10:41:53 +08:00
ElderJames
8257c759bb fix: clean many warnings 2020-04-24 18:32:50 +08:00
James Yeung
cc9e2df41c refactor: standardized code specification (#82)
* refactor: standardized code specification

* fix: rebase conflict
2020-04-23 17:13:56 +08:00
James Yeung
25baec2cf8 chore: sync ant-design v4.1.4 (#77) 2020-04-20 10:04:24 +08:00
Brian Ding
41810622b3 feat: add component tabs (#67)
* fix autosize

* feat(module: tabs): add AntTabs

* chore(module:input): code improvement

* implement tab

* implement disable tab

* implement scroll tabs

* resume tabs demo page

* implement tabs prev/next calcaultion logic

* update nav bar render logic

* feat (module: tabs): implement rerender logic

* feat:(module: tabs): update render logic

* feat: (module: tabs): implement extra content

* feat(module: tabs): add panes dynamically

* feat(module: tabs): implement add tabs dynamically

* feat(module: tabs): implement remove tabs

* feat(module: tabs): Customized trigger of new tab

* fix(module: tabs): stop event propagation

* fix (module: tabs): close icon disappea
2020-04-16 12:05:59 +08:00
James Yeung
16df332a65 chore: sync ant-design v4.1.3 (#73) 2020-04-13 23:11:08 +08:00
James Yeung
9c3eb1e8cd chore: sync ant-design v4.1.2 (#70) 2020-04-10 17:44:53 +08:00
Brian Ding
03fbdf7686 fix(module: input) fix textarea auto size (#61) 2020-03-31 21:23:25 +08:00
James Yeung
e4253622bd chore: sync ant-design v4.1.0 (#58) 2020-03-30 09:53:10 +08:00
Brian Ding
ba5fab02c6 feat: add component input-number (#45) 2020-03-26 10:45:35 +08:00
James Yeung
d347e2028e chore: sync ant-design v4.0.4 (#35) 2020-03-23 13:51:37 +08:00
Brian Ding
9c98b27e3b add component input (#33)
* add input component

* fix menu
2020-03-23 09:31:08 +08:00
James Yeung
7c92f8eb14 chore: sync ant-design v4.0.3 (#23) 2020-03-16 12:37:25 +08:00
James Yeung
7e0a6ffc36 chore: sync ant-design v4.0.2 (#4) 2020-03-09 00:09:32 +08:00
James Yeung
84ca70e8b7 chore: sync ant-design v4.0.1 (#2)
fixed #1
2020-03-08 15:12:21 +08:00
ElderJames
47b2b86265 add gulp to complie less 2020-03-07 16:40:38 +08:00
ElderJames
7d15f20674 refactor: refactor the directory structure to match ant-design 2020-03-05 12:17:50 +08:00