Commit Graph

412 Commits

Author SHA1 Message Date
ElderJames
8fe830dc8b fix build process for static web assets 2021-07-14 15:42:06 +08:00
James Yeung
74f1488a8a chore: refactor the build process (#1729)
* refactor the build process

* add message
2021-07-12 18:11:23 +08:00
zxyao
6aff9d370c fix(module: dialog): Modal and Drawer render reducing and update document and demo (#1701)
* fix(module: Modal&Drawer): render reducing and demo update

* docs(module: modal): add FAQ section

* docs: add English comments

* fix: wrong format in Modal_service_for_confirm.razor

Co-authored-by: James Yeung <shunjiey@hotmail.com>
2021-07-11 20:48:16 +08:00
anranruye
1ec582bff3 fix(module: space): fix space items behavior when they are inside if block (#1684)
* fix(module:space): fix space item margin

* remove Index parameter

* remove additional using

* Update Customize.razor space demo

* Update SpaceItem.raz
2021-06-30 13:41:38 +08:00
Newbe36524
ecee7ace46 chore: enable AOT for docs site (#1656)
* Build AOT site

* remove package publish

Co-authored-by: ElderJames <shunjiey@hotmail.com>
2021-06-24 19:11:11 +08:00
Andrzej Bakun
10e13c5059 fix(module: tag): show pointer cursor when OnClick.HasDelegate (#1660) 2021-06-21 18:57:02 +08:00
James Yeung
f6f430cb5c feat(module: form): add advanced search demo (#1654) 2021-06-18 19:17:57 +08:00
Andrzej Bakun
cee5d6914c fix(module: tag): Issue solved & align with react antd & tests (#1631)
* fix(module:tag): close does not trigger onclick

add custom color handling
add animation handling
add status tags

* docs(module:tag): align with react antd

* tests(module:tag): add basic tests

* fix: style fixes

* fix: remove default animation; add custom animation demo

* fix: remove ExtraCls and use Class from base

* Update components/tag/Tag.razor

* clear the open animate after tag opened

* translate demo docs

Co-authored-by: James Yeung <shunjiey@hotmail.com>
2021-06-16 13:49:46 +08:00
James Yeung
46199b8e30 fix(module: image): fix the style property position (#1642) 2021-06-16 11:29:38 +08:00
anranruye
3117e72344 fix(module: table): fix selection clear (#1632)
* fix(module:table): fix selection issues

* allow SetSeletion(null) when there is not a Selection column

* allow change selection by setting RowDate.Selected
2021-06-15 18:22:07 +08:00
zxyao
8dda4147c4 docs: update modal and drawer docs (#1625)
* docs: update modal docs

* docs: modify DropdownInDrawer

* docs: update demo for DrawerService and ModalService
2021-06-13 23:04:19 +08:00
Andrzej Bakun
4cac27f887 fix(module: dropdown): dropdown button missing properties & docs fix for Dropdown & Button (#1609)
* fix:fix(module:dropdownbutton): add regular button behaviors and properties

* fix(module:button): add text type & docs

* docs(module:dropdown): version correction

* fix(module:overlay): re-add IsButton parameter

* fix: add xml comment to public methods

* fix(module:overlay): add xml documentation

* fix(module:dropdown): chrome block button force

* fix(module:button): remove Search parameter

Co-authored-by: James Yeung <shunjiey@hotmail.com>
2021-06-09 17:51:24 +08:00
Andrzej Bakun
80e0043445 fix(module: dropdown): align with react (#1588)
* fix(module:dropdownbutton): align with react version

* doc(module:dropdownbutton): align with react docs
2021-06-02 10:46:58 +08:00
Andrzej Bakun
8e98528ce1 feat(module: datepicker): Picker clear button event (#1586)
* feat(module:datepicker): add OnClearClick eventcallback

* docs(module:datepicker): format docs has same behavior as react docs

* fix: adjust code to match net 3.1

* fix: eventcallback name fix

* Update site/AntDesign.Docs/Demos/Components/DatePicker/doc/index.zh-CN.md

Co-authored-by: James Yeung <shunjiey@hotmail.com>
2021-06-01 10:16:07 +00:00
James Yeung
c264b7d022 docs: document improvement (#1578)
* fix the ordering of menu items

* add ueditor link

* fix icon document search style

* fix affix width for side menu

* add faq doc
2021-05-31 19:45:23 +08:00
zxyao
895c758836 fix(module: drawer): OffsetX and offsetY do not work (#1435) (#1448)
* fix(module: drawer): OffsetX and offsetY do not work (#1435)

* docs: demo update

* fix: Placement is switched to the relative direction, the animation appears

* fix: the bug of closing animation missed

* fix: incorrect animation

* fix: different behaviors in WASM and Server side

Co-authored-by: James Yeung <shunjiey@hotmail.com>
2021-05-28 06:10:44 +00: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
anranruye
8ab168bad7 docs(module: table): update ‘fork official sample’ demo (#1544)
Co-authored-by: James Yeung <shunjiey@hotmail.com>
2021-05-20 17:17:04 +00:00
anranruye
7967828f2e fix(module: input): fix Input component for Guid type (#1510)
* fix(module:input): fix Input component for Guid type

* docs(module:input): add Guid generic sample code

* fix(module:input): add a comment to explain the change
2021-05-12 00:17:49 +08:00
zxyao
29b2c764a4 docs: update docs for modal dragging (#1497) 2021-05-11 11:18:46 +08:00
Andrzej Bakun
8fb2d262e6 fix(module: inputNumber): allow culture info to format input (#1480)
* fix(module:inputnumber): allow culture info to format input

* docs(module:inputnumber): demo & docs

* fix translation

Co-authored-by: ElderJames <shunjiey@hotmail.com>
2021-05-08 09:21:46 +00:00
James Yeung
23dc3352a7 feat(module: cascader): support showSearch (#1484)
* feat(module: cascader): support showSearch

* add empty dropdown

* fix clear icon
2021-05-08 15:31:38 +08:00
Andrzej Bakun
9509603489 fix(module: select): support IEnumerable in form (#1460)
Co-authored-by: James Yeung <shunjiey@hotmail.com>
2021-05-06 05:42:19 +00:00
James Yeung
4ea72e2720 fix(module: cascader): add SelectedNodesChanged and invoke it after clear selected (#1437) 2021-04-29 14:31:03 +08:00
Andrzej Bakun
555fdb9a43 fix(module: checkbox & switch): Checked parameter binding (#1394)
* fix(module:checkbox): allow binding to Checked parameter

* fix(module:switch): allow binding to Checked parameter

* fix(modules): checkbox & switch get AntInputBoolComponentBase class

* test(module:switch): add tests

* test(module:checkbox): add tests

* test(module:divider): simplify by using id:ignore

* docs(module:checkbox): bind example

* docs(module:switch): bind example

* fix(module:switch): add Control + docs + tests

* feat(module:checkboxgroup): add layout and mixed mode

* fix: review comments + tests

* fix(module:checkboxgroup): parameter name should be MixedMode

added more tests

* fix demo

* fix(module:checkboxgroup): allow toggling between modes

Co-authored-by: James Yeung <shunjiey@hotmail.com>
2021-04-25 01:04:21 +08:00
zxyao
8a4bebc313 feat(module: modal): support define modal's style in ModalOptions (#1400) 2021-04-21 22:31:47 +08:00
James Yeung
efbdf684d3 fix(module: tag): closable typo and delete mode (#1393)
* fix(module: tag): closable typo and delete mode

* return early
2021-04-21 10:01:48 +08:00
Zonciu Liang
4a680e6b76 fix(module: table): Unify FieldName, add DisplayAttribute for DiplayName, fix Filter for DataIndex (#1372)
* fix(module: table): Unify FieldName value

* fix(module: table): Get column name from DisplayAttribute

* fix(module: table): Filter for DataIndex

* docs(module: table): Intuitive sorterCompare for Filter demo

* fix(module: table): fix header title doesn't display when Sortable is false

Co-authored-by: James Yeung <shunjiey@hotmail.com>
2021-04-17 16:27:52 +00:00
James Yeung
105cfa2e8d fix(module: affix): can't affix while OffsetTop is zero (#1373)
* fix(module: affix): can't affix while OffsetTop is zero

* use affixed setter for rerendering

* limit rerendering
2021-04-17 14:43:42 +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
ElderJames
3742969a32 fix merge conflicts 2021-04-15 13:50:34 +08:00
ElderJames
433d376739 merge master into feature 2021-04-15 12:55:36 +08:00
ElderJames
d4a7e29b77 fix doc assets 2021-04-15 12:26:00 +08:00
skystardust
54259ea62a fix(module: affix): affix to the viewport (#1327) (#1335)
* fix(module: affix): affix to the viewport (#1327)

* fix target to element

* rename to target selector

Co-authored-by: ElderJames <shunjiey@hotmail.com>
2021-04-14 23:20:36 +08:00
Andrzej Bakun
1903e65b52 docs(module: form): IsModified sample fix (#1344) 2021-04-14 13:33:07 +08:00
Andrzej Bakun
d64388c0ab feat(module: select): Select responsive max tag count (#1338)
* feat(module:select): add MaxTagTextLength, MaxTagCount & MaxTagPlaceHolder

* feat(module:select): responsive maxTagCount using window.resize

* docs(module:select): MaxTagCount functionality

* fix docs

Co-authored-by: ElderJames <shunjiey@hotmail.com>
2021-04-13 13:12:18 +08:00
Jason Luo
002331df8b fix(module: result): modify status unsuccessfully after initialization(#1328) (#1336)
* fix(module:result): modify status unsuccessfully after initialization(#1328)

* fix(module:result): determine whether the Icon is empty string(#1328)

* doc: add changeTheResult demo(#1328)

* delete some lines
2021-04-12 18:22:38 +08:00
YMohd
9ff708eb31 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>
2021-04-11 01:11:19 +08:00
James Yeung
0b738663a1 docs: dynamic primary color changing (#1332)
* feat(docs): change color dynamically

* docs: dynamic primary color changing

* fix file path

* delete the script
2021-04-10 12:34:41 +08:00
Zonciu Liang
ea69864204 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>
2021-04-09 14:17:20 +08:00
ElderJames
aaff88adf7 merge master into feature 2021-04-08 22:32:48 +08:00
Andrzej Bakun
70e724d630 fix(module: select): Select overlay resize & allow growing (#1309)
* feat(module:select): allow overlay to match item width

* fix(module:select): resize selectbox on window resize

* docs(module:select): add new parameters

* fix(module:select): add DropdownMatchSelectWidth & DropdownMaxWidth

* fix(module:select): apply same layout as antD

apply same behavior as antD for backspace
split code to default/multiple&tags
always focus on input for search-able
handle overflow & ellipsis for to long items
rendering optimization for SelectContent

* fix(module:select): backspace functionality limit
2021-04-08 22:17:44 +08:00
James Yeung
7f6fee4c33 docs: fix default css link (#1318) 2021-04-07 12:32:26 +08:00
James Yeung
6a8036ca57 feat(module: space): add wrap, split and size array (#1314) 2021-04-06 14:20:29 +08:00
Zonciu Liang
7c87716137 docs(module: table): fix RouterPagging demo (#1313) 2021-04-05 22:04:22 +08:00
Patrick
3da9e703fa 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>
2021-04-04 19:03:18 +08:00
zxyao
31aac9f914 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>
2021-04-04 15:40:54 +08:00
James Yeung
194caa37fb docs: add changelog in document (#1306) 2021-04-04 00:54:18 +08:00
James Yeung
f8ec6256ba fix(module: grid): missing flex and wrap style (#1296)
* fix(module: grid): missing flex style

* remove the old md file

* fix demos

* fix build error

* fix no warp class
2021-04-03 23:36:46 +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