Commit Graph

174 Commits

Author SHA1 Message Date
zxyao
20b5bb5e7d fix(module:modal): the width will be added when there is no scroll bar (#408) 2020-07-22 22:24:58 +08:00
zxyao
871a955872 fix: drawer, modal and confirm multi level open scroll bar bug (#401)
fixed #393
2020-07-21 22:32:54 +08:00
Meeleem
914f9eff1f fix(module: upload): Upload with other form parameters (#398) 2020-07-21 15:50:38 +08:00
Meeleem
93045f5162 feat(module: upload): add support for fileList, pictureStyle and avatar (#391)
* feat (module: upload): FileList, PictureStyle, Avatar

* fix: adding eventlistener

Co-authored-by: James Yeung <shunjiey@hotmail.com>
2020-07-21 00:16:02 +08:00
Brian Ding
1fa3652d26 feat(module: slider): implement two-way binding (#329)
* feat(module: slider): implement two-way binding

* feat(module: slider): remove mouseup handler

* feat(module: slider): inherits from AntInputComponentBase

* fix(module: slider): onclick will be fired with onmouseup

* feat(module: slider): move convert method to public extensions

* feat(module: slider): update to fit form component

* fix(module: slider): two-way binding does not notify value change

* feat(module: slider): update input demo with two-way binding

* feat(module: slider): remove OnProertyChanged
2020-07-15 20:02:39 +08:00
Meeleem
dcbb3d8fbd fix(module: upload) : determine success based on status==200 (#351) 2020-07-13 11:54:53 +08:00
TimChen
1877592211 feat(module: modal): support template component (#345)
* feat: modal support template

* feat: modal update

* feat: modal update

* feat: modal update

* feat: modal update

* docs: fix ci

* fix: demo title

Co-authored-by: James Yeung <shunjiey@hotmail.com>
2020-07-12 23:19:55 +08:00
zxyao
cd2901fa7b fix: enable scroll breaking custom style (#337) (#339)
* fix: enable scroll breaking custom style (#337)

* fix: indent to 2 spaces

Co-authored-by: James Yeung <shunjiey@hotmail.com>
2020-07-11 23:41:27 +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
Henry.zhang
ef22dd5a1b feat: add mentions component (#286)
* feat: add mentions component

* fix: update with z-index

* feat: new mention components (unfinished)

* fix: show chinese letter for affix and tree

* refactor: clean code

* fix: the display position of the dropdown is consistent with the cursor

* fix: mistakes

Co-authored-by: ElderJames <shunjiey@hotmail.com>
Co-authored-by: zxyao <zxyao145@gmail.com>
2020-07-11 01:46:35 +08:00
James Yeung
726cff7a72 feat(module: table): support paging selection (#341)
* refactor: selection

* feat: add table datasource cache

* feat: support paging selection

* refactor: clean code

* fix: two-way binding for selecteditems
2020-07-10 17:57:20 +08:00
笨木头
f11fd0e103 refactor: improve input and textarea (#317) 2020-07-07 12:44:10 +08:00
James Yeung
e19d09fd96 feat(module: table): support string formatting for field columns (#311) 2020-07-05 00:09:53 +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
James Yeung
2de927a0d1 refactor: reduce dependence (#301) 2020-07-03 13:37:40 +08:00
Meeleem
bd9d06b7be fix(module: upload) : upload crush in firefox (#296)
* fix (module: upload): firefox upload

* fix (module: upload): firefox upload

* fix(module: upload): button ref

Co-authored-by: ElderJames <shunjiey@hotmail.com>
2020-07-02 14:08:51 +08:00
Meeleem
1c90ee0333 feat: add upload component (#276)
* fix: fix invalid parameter "StrokeWidth"

* feat(module: upload): Classic file upload
经典模式文件上传功能

* fix( module: upload): fix Ext attribute, delete 'done' file function

* docs(module: upload): Demo and doc

* fix (file: interop.ts):  Indent changed to 2 characters

* fix: menu

* fix: delete md files

* fix: docs

* feat (module: upload): DefaultFileList

* refactor: clean code

Co-authored-by: ElderJames <shunjiey@hotmail.com>
2020-07-01 06:49:51 +08:00
Zhuangkh
225358982e feat: add comment component (#80)
* feat:add AntComment

* refactor(comment): change namespcae to AntDesign

* docs: fix comment de
2020-06-30 15:25: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
TimChen
e1884c90b6 fix: performance improvements for forms (#245) 2020-06-25 19:23:16 +08:00
James Yeung
b8c88c84df refactor: use httpclient factory (#243) 2020-06-24 12:14:17 +08:00
zxyao
db64810a20 feat: add DrawerService (#241)
* refactor: change confirm return

* feat(module: drawer): add DrawerService

* fix: change type EventCallback in configs to Func

* fix: typo

Co-authored-by: ElderJames <shunjiey@hotmail.com>
2020-06-23 15:19:44 +08:00
XuRui
6a52961487 feat: add select component (#222)
* fix: other values may exist in FileAttributes

* feat: add javascript interop for select component

* feat: init select component

* docs: add menu item to select docs

* feat: implement dropdownRender for select component

* docs: init select docs

* fix: remove 3.0 iframe

Co-authored-by: ElderJames <shunjiey@hotmail.com>
2020-06-14 18:54:14 +08:00
笨木头
759c73e0aa feat(module: overlay): add offset parameter (#210)
* feat(module: overlay): add offset parameter

* feat: optimize
2020-06-11 12:28:38 +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
笨木头
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
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
zxyao
bda4388b96 fix: drawer and modal bug (#177)
* fix: drawer animation transition

* fix: when modal is opening, body scroll bar dispaly

* fix: scroll bar is not hidden when drawer is displayed

* fix: rebase conflict

Co-authored-by: ElderJames <shunjiey@hotmail.com>
2020-06-04 17:03:13 +08:00
James Yeung
6680fcb3da refactor: layout and mock-browser (#184) 2020-06-03 23:11:02 +08:00
笨木头
c3fc31c9b0 fix: input component bug (#182) 2020-06-03 20:29:28 +08:00
ft9788501
c90e20b87e fix: fix input bug (#180)
* fix: Fix a bug that could cause a crash

Co-authored-by: jim.jiang@ringcentral.com <jim.jiang@ringcentral.com>
2020-06-03 11:01:43 +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
笨木头
a6596b15dd fix: input error without form (#179)
* fix: input error without form

* refactor: optimize code
2020-06-03 09:58:11 +08:00
笨木头
f29ca64372 feat(module: checkbox): support form (#161) 2020-06-02 20:27:53 +08:00
zxyao
6db07ad916 feat: add component modal (#167)
* feat: add component modal

* fix: adjust namespace and fix TAB keyboard bug

* fix: reset package.json to cuueernt head

* fix: remove antblazor.sln

* refactor: using c# to control the display and hiding of modal
2020-06-02 14:25:44 +08:00
James Yeung
0b75473db0 refactor: remove the form item dependency (#171) 2020-06-02 07:28:06 +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
Alsein
82ef62b7a7 feat: add simple table component (#86)
* fix: add @commitlint/config-conventional to devDependencies

* feat: add basic table implementation

* feat: continue adding definitions

* feat: end of work in 20200414

* fix: add readonly to csssizelength

* fix: warnings from table

* fix: add ignorecase to csssizelength

* feat: refactor table

* feat: add simple table

Co-authored-by: ElderJames <shunjiey@hotmail.com>
2020-05-30 01:46:41 +08:00
ElderJames
97f920ab9a refactor: change namespcae to AntDesign 2020-05-29 00:33:49 +08:00
笨木头
b43282437c refactor: datePicker, update demo doc (#139)
* refactor: datePicker, update demo doc

* docs: fix the number of picker kinds

Co-authored-by: ElderJames <shunjiey@hotmail.com>
2020-05-22 11:24:12 +08:00
笨木头
b24def25a3 refactor: overlay and tooltip (#135)
* refactor: overlay and tooltip

* refactor: getOverlayTop/getOverlayLeft
2020-05-21 12:21:22 +08:00
Zhuangkh
3e86809a9c feat:Add component Tooltip (#131)
* feat:Add AntTooltip

* Update Tooltip.razor.cs

Co-authored-by: 笨木头 <musicvs@163.com>
2020-05-19 22:34:09 +08:00
笨木头
7f8d65062b feat: add SubMenuTrigger(internal component) (#127)
* feat: add SubMenuTrigger(internal component)

* refactor: delete redundant comments

* feat(module: sub-menu): fix animation

* refactor: delete debug code

* refactor: delete debug code

* fix: style of menu

* fix(module: overlay): delete element error on dispose

Co-authored-by: ElderJames <shunjiey@hotmail.com>
2020-05-19 20:35:48 +08:00
zxyao
042694b96f feat: add component message (#128)
* feat: add component message

* fix: then interface and demo bugs

Co-authored-by: James Yeung <shunjiey@hotmail.com>
2020-05-19 20:08:49 +08:00
James Yeung
4d2c77fec7 refactor: dropdown and menu (#126)
* feat: add mock browser

* docs: add mock browser

* docs: rename menu

* fix: style for submenu

* docs: add two menu demo

* fix: some errors

* fix(module:menu): openkeys

* docs: add switch-mode demo for menu

* docs(module:menu): finish demos

* docs(module: menu): add router demo

* docs: add new demos (#111)

* feat(module: datepicker): remove ant prefix

* feat(module: dropdown): remove ant prefix

* feat(module: empty): remove ant prefix

* feat(module: timepicker): remove ant prefix

* docs(module: datepicker): add new demos

* docs(module: dropdown): add new demos

* docs(module: empty): add new demos

* docs(module: timepicker): add new demos

* docs: remove old demo

Co-authored-by: 钟迪龙 <mutouzdl@hotmail.com>

* refactor(module: dropdown): add overlay (#122)

* feat(module: dropdown): support left/right popup

* feat(module: submenu): use dropdown to popup

* feat: add overlay and trigger class(not complete yet)

* feat: add OverlayTrigger.cs

* feat: submenu support dropdown

* feat(module: overlay): prevent hide when child is showing

* fix(module: menu): prefixCls error

* feat(module: overlay-trigger): change function to virtual

* feat(module: dropdown): remove unuse class

* feat(module: sub-menu): set IsOpen to Visible

* refactor: change namespace

* refactor: use smartEnum

* fix: menu json

* fix: submenu open state

Co-authored-by: 笨木头 <musicvs@163.com>
Co-authored-by: 钟迪龙 <mutouzdl@hotmail.com>
2020-05-18 14:46:42 +08:00
James Yeung
29c965f78d docs: add demo code copy (#121) 2020-05-16 23:27:40 +08:00
zxyao
68d9743fe3 refactor(notification): using a common global container (#116)
* refactor: using a common global container

* refactor: notification remove instance
2020-05-16 16:52:44 +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
994aed2a7a docs: fix error in for silder demo pages 2020-05-13 13:45:49 +08:00
zxyao
cd73cf1cdd feat: add component notification (#99)
* feat: add notification

* fix: onclick event trigger on onclise on server rendering

* fix: notification no longer requires container

* fix: convert OnClick and OnClose type to event
2020-05-10 22:43:58 +08:00
James Yeung
9351a35072 docs: refactor the layout closer to the official document (#100)
* docs: add cli for building demo structured file

* docs: cli improvement

* docs: generate demo page

* fix: style of components page

* docs: add prism to mack source code highlight

* feat: add menu2json command for cli

* fix: markdown highlight

* feat: fetch menu data from cli output files

* fix: cli

* docs: add avatar demo

* docs: add button demos

* docs: add component-scope style

* docs: fix style

* docs: add badge demos

* fix: rebase conflict

* docs: refactor layout

* docs: fix navigation

* docs: fix rebase conflict

* docs: add AntAffix for sider menu

* docs: fix affix error

* docs: fix rebase confilct
2020-05-10 15:42:02 +08:00
Brian Ding
0e8669a982 feat: add component affix (#98)
* feat(module: affix): add component affix

* feat(module: affix): implement container target
2020-05-10 01:35:22 +08:00
笨木头
b1c9783edb feat: add Dropdown (#93)
* feat: add onmouseleave/onmouseenter event

* feat: add js function

* feat: add dropdown

* feat(module: menu): support set PrefixCls from parent

* docs: add dropdown demo

* refactor(module: dropdown): remove log code

Co-authored-by: 钟迪龙 <mutouzdl@hotmail.com>
2020-05-09 11:09:07 +08:00
笨木头
5e1c2f21e5 feat: add js methods (#92)
* feat: add js methods

* style: formatting
2020-05-03 17:22:33 +08:00
笨木头
869af0a877 feat: add DatePicker and TimePicker (#85)
* feat(module: date-picker): add AntDatePicker

* feat(module: date-picker): add AntTimePicker

* docs(module: date-picker): add demos
2020-04-28 15:56:56 +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
Brian Ding
035e418072 fix: AddEventListener method (#81)
* chore: update js addEventListener & stringify event args

* two blanks indent
2020-04-22 19:37:06 +08:00
ElderJames
bf70deccb2 feat: add router-based localization (#57) 2020-03-30 14:33:39 +08:00
GarvinTan
cf2a0785d6 feat: add back-top (#53)
* feat : add back to top

* Feat: update back-to-top onclick interop

* feat: append back-top class setter

* feat: update back-tp classMapper

* feat: update back-top dom architecture
2020-03-27 17:24:16 +08:00
James Yeung
efff2a95a5 docs: remove httpclient extension methods (#40) 2020-03-25 13:08:53 +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
7ab67d1bea feat: add drawer (#28)
* feat: add drawer

* feat(module:drawer): add setup for placementchange
2020-03-22 21:24:41 +08:00
ElderJames
21c008690b feat: add grid 2020-03-15 23:54:48 +08:00
Bin Dong
46ca380a11 feat(typography): polish typograph copy related functions. (#16)
* doct: Add DemoCard component

* doc: Update Button demo page.

* doct: Add DemoCard component

* feat:(typography)( Add copyable icon render and corresponding trial functions.
Add a console.log() wrap up for jsinterop testing.
Temporarily use log instead of copy before copy is implemented.
Add copyable demo in demo project.

* feat (typography): polish typograph copy related functions.

* doct: Add DemoCard component

* feat:(typography)( Add copyable icon render and corresponding trial functions.
Add a console.log() wrap up for jsinterop testing.
Temporarily use log instead of copy before copy is implemented.
Add copyable demo in demo project.

* feat (typography): polish typograph copy related functions.
2020-03-12 16:35:23 +08:00
Bin Dong
73d323e428 feat(module:paragraph): add paragraph copy feature (#14)
* doct: Add DemoCard component

* doc: Update Button demo page.

* doct: Add DemoCard component

* feat:(typography)( Add copyable icon render and corresponding trial functions.
Add a console.log() wrap up for jsinterop testing.
Temporarily use log instead of copy before copy is implemented.
Add copyable demo in demo project.
2020-03-12 13:00:54 +08:00
ElderJames
621fa50cc4 docs: make menu dynamic 2020-03-11 17:35:30 +08:00
ElderJames
127f7cccf4 docs: add htmlRender & markdown component 2020-03-11 17:15:15 +08:00
ElderJames
ea7b14d658 refactor: getDom funciton 2020-03-11 16:49:25 +08:00
ElderJames
2823e82f45 refactor: domEventService 2020-03-11 16:40:07 +08:00
ElderJames
330df0b4cd fix: fix prefix of types 2020-03-10 17:42:13 +08:00
ElderJames
e8ddcf1278 feat: add gulp task for typescript 2020-03-10 15:25:45 +08:00
BenLampson(赵元源)
e262b39808 fix(module:layout&menu) fix some bugs in layout and menu (#6)
* feat:
1.add the "longBodyMode" parameter to AntLayoutSider.
2.add the "longContentMode" parameter to antlaycontent
3.add the self-adaption mode to side bar.
fix:
1.fix doc project page layout.
2.set the default width value, cause if use forgot set this value, there throw the nullreference exception.
3.fix the user set 100% or xxxVH etc. the old style will add the px end of string.
style:
1.fix the menu margin, you will found that you lost one menu item which lastest in list.
2.add the footer to main layout
refactor:
1.Hide the adWidth

Co-authored-by: ElderJames <shunjiey@hotmail.com>
2020-03-09 22:32:06 +08:00
ElderJames
7d15f20674 refactor: refactor the directory structure to match ant-design 2020-03-05 12:17:50 +08:00