Commit Graph

40 Commits

Author SHA1 Message Date
Peter Ha
c559bd321e
feat(module: icon): icon role attribute change now assignable, does not change default behavior (#3370)
when a screen reader parses an icon, it sees the role attribute has a value of 'img'. in the case where we don't want the screen reader to read the icon, the role can be assigned a blank value and the role attribute will not be added. instead, the aria-hidden attribute will be added with a value of 'true'

no breaking changes
2023-07-25 23:30:30 +08:00
James Yeung
dbf8780844
fix(module: icons): compatible with bootstrap (#3348)
* fix(module: icons): compatible with bootstrap

* fix icon class
2023-07-13 00:10:00 +08:00
James Yeung
95c4f13aa4
fix(module: form): validation status styles (#3005)
* fix(module: form): validation status styles

* fix validation change for input

* fix count

* add test
2023-01-13 23:27:35 +08:00
kooliokey
40e7aa71d0
refactor(module: icon)Add missing ZoomOut icon to static class. Refactor IconStore. Add tests for IconService. (#2667)
Co-authored-by: James Yeung <shunjiey@hotmail.com>
2022-09-04 14:28:03 +08:00
James Yeung
7385f6a8a5
refactor(module: icon): fix two-tone icon state update & first rendering (#2666)
* refactor(module: icon): fix two-tone icon state update & first rendering

* refactor smell code

* fix test packages

* fix smell code
2022-09-04 10:51:32 +08:00
Qingxiao Ren
0e256b933e
fix(module: icon): fix twotone icon infinite re-render (#2530) 2022-06-19 13:59:51 +08:00
Qingxiao Ren
a96262660c
feat(module: icon): implement two-tone color icon (#2513)
* feat(icon): two-tone color icon implements

* generate secondary color from js, and generate icon from C#

* remove unused code

* render the icons in the prerendering stage

* render the icons in the prerendering stage

* fixed multiple renders

* refactor iconfont

* remove should render flag

* fix color change

* add AvoidPrerendering

Co-authored-by: James Yeung <shunjiey@hotmail.com>
2022-06-18 15:11:55 +08:00
Brian Weiss
b064957c7f feat(module: icon): add alt parameter (#2302)
Added Alt Parameter to set the alt attribute that pairs with role="img"
2022-05-28 13:41:01 +08:00
Hao Sun
2abb96980b fix(module: typography): fix copy (#2118)
* fix(module:typography): fix copy

* fix unit tests
2021-11-22 00:18:40 +08:00
anranruye
e4e1289529 fix(module: locale-provider): add missing nodes default values (#1710) 2021-07-06 01:10:16 +08:00
Porkopek
93b58cbb42 feat(module: icon): Added Static class IconType for intellisense (#987)
* Added Static class IconType for intellisense

* Added: Static Class Generator

* move the generator file to cli

Co-authored-by: ElderJames <shunjiey@hotmail.com>
2021-01-22 15:07:28 +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
ElDiddi
00059fe84e refactor(module: icon): embed icons in the assembly (#810)
Co-authored-by: Lars Diederich <diederich@evodata.de>
Co-authored-by: James Yeung <shunjiey@hotmail.com>
2020-12-08 10:01:43 +08:00
Henry.zhang
d3f3d795dd fix(module: switch): loading icon has a little shift (#766)
* fix:  the issue #762 switch loading icon has a little shift

* test: comment the table tests provisionally

Co-authored-by: ElderJames <shunjiey@hotmail.com>
2020-11-12 15:39:58 +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
James Yeung
47ad157c8b refactor: make the extensions class for HttpClient internal (#549)
* refactor: make httpclient extensions internal

* fix: set property name case-Insensitive
2020-08-31 15:59:47 +08:00
Henry.zhang
4e0a3028bb fix: get the icon list of application icons from existed IconServices (#506)
* feat: get the icon list of application icons from existed IconServices

* fix:  iconlist always is loading issue
2020-08-16 22:51:24 +08:00
Henry.zhang
7b31935f74 docs: add icon list (#478)
* feat: add icon list for demo page of icon

* feat: add copy function for icon list

* feat: get existed icon

* feat: remove some blanks in list.razor

* feat: remove some blanks

* fix: default value is outline for icon list

* fix: click to copy for icon list

* feat: add async to load icon list

* feat: update iconlistService

* chore: update icons

* fix: icon load async

* feat: add application icons in IconlistServices

* fix: remove the exist icon from existed catogory if duplicated

* fix: add @key for list items

* fix: revert the change

Co-authored-by: ElderJames <shunjiey@hotmail.com>
2020-08-14 07:13:28 +08:00
James Yeung
6b50a4b35f docs: fix styles (#454) 2020-08-04 15:10:29 +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
01394b356f fix(module: icon): put spin class on outside (#372)
* fix(module: icon): put spin class on outside

* fix: make rotate style outside
2020-07-16 18:26:39 +08:00
TimChen
c1f3371f9c docs: fix model and drawer documentation errors (#355)
* docs: fix model and drawer documentation errors

* feat: add expand button

Co-authored-by: ElderJames <shunjiey@hotmail.com>
2020-07-14 13:46:53 +08:00
BlazorPlus
c67707a913 [WIP] feat: add AntTree (#112)
* feat:add AntTree

* tree - v0.2 , two mode

* feet: tree v0.2 , 2 mode

* feet:Tree

* refactor: set class on initialized

Co-authored-by: ElderJames <shunjiey@hotmail.com>
2020-06-29 15:39:18 +08:00
James Yeung
afe8689084 fix(module: icon): click issue caused by StopPropagation (#274) 2020-06-29 13:30:44 +08:00
James Yeung
7b021638d9 fix: icon issues (#260)
* fix: icon issues

* fix: search suffix icon
2020-06-28 10:54:27 +08:00
James Yeung
b8c88c84df refactor: use httpclient factory (#243) 2020-06-24 12:14:17 +08:00
James Yeung
c53c0b0525 fix(module: icon): base-address exception #228 (#230) 2020-06-16 16:25:22 +08:00
James Yeung
f73fcaf1b7 refactor: improve document performance (#220) 2020-06-13 00:23:03 +08:00
Henry.zhang
ab19703301 refactor: demos of icon, steps , tabs (#199)
* refactor: remove md of tabs demo

* feat: add demos of steps

* refactor: tabs demo

* fix: icon

* refactor: tag

Co-authored-by: ElderJames <shunjiey@hotmail.com>
2020-06-10 21:44:21 +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
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
Henry.zhang
42cd8da17d feat: add drawer demo (#123)
* fix:  AntDrawer title 无法显示问题。
fix:  AntDrawer closeable 无法关闭的问题

* docs: more Drawer demos

* fix: a wrong filename in drawer demo

* docs: drawer demo finish

* docs: drawer demos, basic,placement , form , profile,multiple-level

* fix: render a drawer in a container

* fix: onclick event name

* fix: demo directory name

* refactor: rename drawer

Co-authored-by: ElderJames <shunjiey@hotmail.com>
2020-05-18 18:42:22 +08:00
James Yeung
83ef34b5f9 feat: add component spin (#114)
* feat: add component spin

* docs: finish spin demo

* fix: re
2020-05-15 14:31:12 +08:00
James Yeung
071f3b3679 feat: add component result (#113)
* feat: add component result

* docs: fix api property
2020-05-14 16:26:21 +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
ElderJames
bd4b110010 fix(module:icon): catch not found exceptoin 2020-03-11 17:37:00 +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