Commit Graph

54 Commits

Author SHA1 Message Date
James Yeung
e1ec721740 fix(module: form): tests failure (#3740) 2024-03-21 21:37:48 +08:00
James Yeung
9db45d18f4 feat(module: form): support for static SSR. (#3580)
* feat(module: form): form name attribute

* fix build error

* update the official files

* support ssr binding

* support formitem name

* fix name attribute value

* fix radio static checked style

* fix border

* fix less

* fix stop propagation

* fix field name
2024-03-21 21:37:48 +08:00
James Yeung
c31fd48874
fix(module: radio): checked style issue cause by preent default (#3694) 2024-02-22 22:47:51 +08:00
James Yeung
42c8304222
Merge pull request #3590 from ant-design-blazor/feature
Merge feature to master
2023-12-26 00:02:52 +08:00
James Yeung
a790691187
feat(module: radio): add button style support for RadioGroup with options (#3589)
* feat(module: radio): add button style support for RadioGroup with options

* fix test
2023-12-25 22:40:28 +08:00
James Yeung
57bdf4b01e
fix(module: radio): checked effect in ssr (#3532) 2023-12-01 00:30:18 +08:00
James Yeung
61bfb037a3
fix(module: radio): infinite loop render after changing the bind value out of the optons. (#3287) 2023-06-05 12:36:13 +08:00
James Yeung
a33e182333
fix(module: radio): avoid infinite loop when the vaule is not in options (#3123) 2023-02-21 14:05:23 +08:00
James Yeung
fdd52e43a0
fix(module: radio): can't selected radio while radio list and value was changed at the same time (#3098)
* fix(module: radio): can't selected radio while radio list and value was changed at the same time

* add tests
2023-02-13 23:20:11 +08:00
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
James Yeung
b0c4bba0db
feat(module: radio): add cascading type parameter for RadioGroup (#3022) 2023-01-17 23:34:27 +08:00
James Yeung
ba60651b16
chore: sync ant-design v4.24.2 (#2877) 2022-11-24 23:11:02 +08:00
James Yeung
7e051c022c
fix(module: radio): the disabled parameter for RadioGroup with RadioOption<TValue> options doesn't work (#2744)
* fix(module: radio): the disabled parameter for RadioGroup with `RadioOption<TValue>` options doesn't work

* add test
2022-09-25 17:05:02 +08:00
James Yeung
1659aef02d
chore: sync ant-design v4.20.7 (#2497)
* chore: sync ant-design v4.20.7

* fix style build

* clean the style

* fix dropdown overlay

* remove cdk styles

* fix dropdown overwrite styles

* fix doc styles
2022-06-04 00:44:34 +08:00
Brian Weiss
66d1155551 fix(module: radio): Default name value (#2330)
* fix(module:Radio) Default name value

Default the name value so the tab order is preserved.

* use property name as the fallback

Co-authored-by: James Yeung <shunjiey@hotmail.com>
2022-03-15 22:17:46 +08:00
LeaFrock
399bd3495e fix(module: radio): RadioGroup won't sync Disabled value of radioes which is disabled before adding (#2197) 2021-12-24 10:28:37 +08:00
LeaFrock
81027d5267 fix(module: radio): Radio in a group should always keep Disabled as same as RadioGroup.Disabled (#2142) 2021-11-30 14:51:33 +08:00
James Yeung
83007bae22 feat(module: radio): support enum type for RadioGroup (#1840) 2021-08-15 00:27:41 +08:00
James Yeung
6f9a36aeb3 feat(module: radio): add options for radio group (#1839) 2021-08-14 23:53:21 +08:00
James Yeung
077f857cc0 chore: sync ant-design v4.16.9 (#1782) 2021-07-27 23:44:51 +08:00
anranruye
b8658549e6 Merge 0.8.2 to feature 2021-06-18 16:09:13 +08:00
James Yeung
c181916dea chore: sync ant-design v4.16.0 (#1569) 2021-05-25 10:01:53 +08:00
James Yeung
7e5e83ee19 fix(module: radio): add defaultChecked and defaultValue (#1494)
* fix(module: radio): add defaultChecked and defaultValue

* add tests

* add test for radio group
2021-05-15 22:59:18 +08: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
James Yeung
68359f5c6f chore: sync ant-design v4.15.0 (#1281) 2021-03-31 19:23:31 +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
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
James Yeung
9d6c31ccf4 chore: sync ant-design v4.8.3 (#789) 2020-11-16 10:20:32 +08:00
James Yeung
428255086e chore: sync ant-design v4.7.3 (#719) 2020-10-25 23:07:27 +08:00
zxyao
86942d7e18 fix: modal box randomly closed when multiple mouse click performed within it (#696) (#715)
* fix: invalid type mapping

* fix: frequent click results in modal self-closing (#696)

* fix(module: radio): the onclick event is repeatedly triggered
2020-10-25 19:21:36 +08:00
James Yeung
3fb5998d19 chore: sync ant-design v4.7.0 (#675) 2020-10-14 13:31:22 +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
81cce2a2d5 fix(module: radio): disabled in radio group doesn't work (#503) 2020-08-13 23:32:51 +08:00
LI ZICHAO
71bac2e85d fix: children components dispose (#399)
* Children components using CascadingParameter add itself to parent component.However, when children components disposed, they are not remove from parent component. For example, when items in checkgroup have changed , it may causes Index was outside the bounds of the array at AntDesign.CheckboxGroup.OnCheckboxChange.To fix these bug, Adding remove function in dispose process is the solution of this commit.

* fix: some exception

Co-authored-by: ElderJames <shunjiey@hotmail.com>
2020-07-21 23:48:43 +08:00
James Yeung
4d2b192115 chore: sync ant-design v4.4.2 (#346) 2020-07-11 22:52:35 +08:00
James Yeung
60ac146ba8 chore: sync ant-design v4.4.1 (#314) 2020-07-06 14:12:11 +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
James Yeung
b9f8da09ae chore: sync ant-design v4.3.5 (#240) 2020-06-21 23:15:22 +08:00
James Yeung
63d09f76a5 feat(module: table): add selection (#190)
* feat: add pagination and empty

* fix: indent

* feat(module: table): add checkbox selection

* feat(module: table): add radio selection

* feat: add selected rows
2020-06-05 16:06:23 +08:00
ElderJames
97f920ab9a refactor: change namespcae to AntDesign 2020-05-29 00:33:49 +08:00
Henry.zhang
826df9d055 feat: new demo for switch, radio, slider and inputnumber (#155)
* feat: new demo for switch, radio, slider and inputnumber

* fix: remove some blank in demo doc api section

* fix: format the code in demo

* fix: checkbox and switch

Co-authored-by: ElderJames <shunjiey@hotmail.com>
2020-05-28 16:56:52 +08:00
James Yeung
f87e39aca0 chore: sync ant-design v4.2.0 (#89) 2020-04-30 10:55:54 +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
9c3eb1e8cd chore: sync ant-design v4.1.2 (#70) 2020-04-10 17:44:53 +08:00
James Yeung
510a3f8c80 chore: sync ant-design v4.1.1 (#65) 2020-04-06 17:35:04 +08:00
James Yeung
2d801c6c53 feat: add component radio (#36)
* feat: add component radio

* feat: add radio-group
2020-03-25 00:32:26 +08:00
James Yeung
d347e2028e chore: sync ant-design v4.0.4 (#35) 2020-03-23 13:51:37 +08:00