Commit Graph

52 Commits

Author SHA1 Message Date
James Yeung
451dd5ce86
chore: update the building staff to .NET 9 target (#4335)
* chore: update the building staff to .NET 9 target

* Update AntDesign.TestKit.csproj
2024-11-18 06:32:26 -08:00
James Yeung
aeac4a0cff
fix(module: overlay): dropdown should follow the scrolling with trigger (#4285)
* fix(module: overlay): dropdown should follow the scrolling with trigger

* fix comment

* fix test

* fix scrolling in modal
2024-10-21 13:33:41 +08:00
ysj265
926cbb7f19
fix(module: tabs): fix the issue where TabPanes cannot render (#4269)
Co-authored-by: James Yeung <shunjiey@hotmail.com>
2024-10-18 12:36:08 +08:00
ysj265
772cfda2ee
fix(module: table): fix AutoHeight algorithm (#4238)
* fix AutoHeight of table

* fix(module:table) Optimize tableHelper.ts code

* Update components/table/Table.razor.cs

* Update components/table/Table.razor.cs

---------

Co-authored-by: James Yeung <shunjiey@hotmail.com>
2024-09-26 13:58:30 +08:00
pankey888
5a59f87d25
feat(module: tree): Add Selectable & SelectableExpression to mark whether TreeNode can be selected or not. (#4229) 2024-09-24 12:36:17 +08:00
James Yeung
e73f5d223d
docs: fix file name for prerendering html (#4223)
* docs: fix file name for prerendering html

* replace the duplicated title element

* fix path

* fix subtitle
2024-09-22 18:02:59 +08:00
James Yeung
5830d9a601
docs: fix component descption generate (#4219)
* docs: fix component descption generate

* fix

* fix the url rewrite of azrure static webapp

* fix build

* fix js import

* remove the doc dir from gitignore

* test doc files

* fix path

* Revert "fix js import"

This reverts commit f87f532c4476b184a797b4f6b4b0043aa4bd0132.
2024-09-21 01:11:44 +08:00
James Yeung
23c15d2963
feat(module: reusetabs): Allow reusetabs to work without cascaded route data (#4205)
* feat(module: reusetabs): allows routedata to be passed without cascading

* tab activative is curretly

* fix keepalive

* render body after navigation

* rename body

* fix closing and updating

* update docs

* clean

* update docs
2024-09-19 00:45:35 +08:00
jeffersyuan1976
6fa0aeda73
feat(module: form): add tooltip (#4211)
* feat(FormItemTooltip): Add tooltips parameter to display formitem tooltips

* feat(FormItemTooltip) align to center

* Demo & Translation of Parameter added.

* fix class name and demo

---------

Co-authored-by: Jeffers <shaobo.yuan@waes.cn>
Co-authored-by: James Yeung <shunjiey@hotmail.com>
2024-09-19 00:18:25 +08:00
James Yeung
3377ead53e
fix(module: treeselect): select content reference throwing exception (#4188) 2024-09-11 07:31:16 +08:00
James Yeung
ba1e5e407a
docs: fix demo name (#4174)
* docs: fix demo name

* update the radio translate

* add doc files back

* add the markdown description back
2024-09-09 00:50:28 +08:00
ysj265
eaf4130c39
feat(module: table): Add AutoHeight property to table (#4168)
* Fix the issue where the Tabs under the Card cannot remember the input status

* optimize performance

* Simplified writing style

* Revert "Simplified writing style"

This reverts commit 44ce256b0cbf3971574ae233d3215e83a196487b.

* Simplified writing style

* Fix test case(Card.Render.Tests.razor)

* Add AutoHeight property to table

* docs:add api comments

* add demo

* fix algorithm for AutoHeight

---------

Co-authored-by: James Yeung <shunjiey@hotmail.com>
2024-09-08 21:55:03 +08:00
ysj265
94dfdfe447
fix(module: card): where the Tabs under the Card cannot remember the input status (#4164)
* Fix the issue where the Tabs under the Card cannot remember the input status

* optimize performance

* Simplified writing style

* Revert "Simplified writing style"

This reverts commit 44ce256b0cbf3971574ae233d3215e83a196487b.

* Simplified writing style

* Fix test case(Card.Render.Tests.razor)
2024-09-05 12:46:55 +08:00
James Yeung
9c8d6288eb
docs: fix demo discovery (#4159)
* docs: fix demo discovery

* fix
2024-09-03 15:12:58 +08:00
James Yeung
238b73310f
docs: fix menu generator (#4157)
* docs: fix menu generator

* fix subtitle

* ignore submenu in en
2024-09-03 13:29:19 +08:00
James Yeung
fbb175f629
docs: add more api commonets (#4149)
* fix api comments

* update

* update

* update table doc

* refactor

* recognize componetns by doc files

* refactor datepicker

* update comments

* fix tests

* update

* update

* fix JSInvokable

* update

* update

* update xml
2024-09-03 00:23:44 +08:00
Weihan Li
9fa391449a
chore: Enable some code analyze rules (#4126)
* style: update editorconfig

- update editorconfig encoding to utf8
- add CA1852 and IDE0005 rules

* style: apply dotnet-format

* style: add IDE0040 rule

* style: apply dotnet-format

* refactor: sealed SimpleEmbeddedJsonLocalizerFactory

* style: add style rule for modifiers

* fix: resolve dotnet-format unmerged issue

* fix: add back translation

---------

Co-authored-by: James Yeung <shunjiey@hotmail.com>
2024-08-28 00:54:33 +08:00
Key Roche
4ad8e7ceab
docs: enhance documentation automation (#3013)
* Documentation automation. Build will generate documentation based on XML comments and attributes in the library. Translation will be done where necessary to generate the Chineese site.

Did some small code clean up on the way.
Removed or removed from public APIs:

AnchorLink.LinkDom
Button.RemoveAnimationAfter
Button.Icons - never used
Calendar.PrefixCls
All date pickers - method OnOkClick
Descriptions.Items
ListItem.PrefixName
AntList.PrefixName
ListItemMeta.PrefixName
Menu.Submenus
Menu.MenuItems
Transfer.ChildContent
Table.ColumnContext
Space.SetClass
Steps.Handler
Radio.OnClick

* Add Azure translation service. Requires adding your own key to a private appsettings JSON file to translate locally with it.

* Make translation services return null when unable to translate, have cache not cache it and return text asked to translate.

* Update documentation markdown file for new translation service

* Update DOCUMENTATION.md

* fix datepickerbase

* fix tree-select

* add docs for Flex and Watermark

* add zh

* add UserSecrets

* fix keywords

* fix button doc

* fix page

* fix internals visible to

---------

Co-authored-by: James Yeung <shunjiey@hotmail.com>
2024-08-25 14:37:41 +08:00
James Yeung
e644aad4bf
merge feature
merge feature to master
2024-04-22 23:14:39 +08:00
James Yeung
61ed3bd293
docs: add reusetabs documation and demos (#3802)
* docs: add reusetabs demos

* add pages

* fix demo

* delete page

* add more demo

* clean

* fix encoding

* Update dynamic-title.md
2024-04-22 22:07:54 +08:00
James Yeung
036a6e2442
feat(i18n): implement interactive StringLocalizer and simple localization (#3804)
* feat(module: i18n): implement IStringLocalizer

* fix resource name

* add blazor string localizer

* replace localizer

* add proj

* refacor assembly

* fix namespace

* rename

* rename

* clean

* clean

* clean

* add docs
2024-04-19 20:28:55 +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
bc67de2e94
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-19 01:17:11 +08:00
kooliokey
1cb64a8e2d
docs(module: anchor): Fix demos due to case sensitive anchors (#2826)
* Fix anchor demo links because there is a capital in the real anchors but not the demos and it is case sensitive

* Remove commented code in demos

* fix demo link

Co-authored-by: James Yeung <shunjiey@hotmail.com>
2022-11-15 12:09:32 +08:00
James Yeung
e4834ed1da
add target to .NET 7 (#2810)
* docs: update .NET7 RC2

* fix target framework

* update to .net 7 GA

* update yaml

* fix wasmhost

* update document
2022-11-10 16:00:11 +08:00
James Yeung
ed83e4d2fc
docs: fix demo & document edit url (#2661) 2022-09-04 02:24:14 +08:00
James Yeung
69cb9e015e docs: update document content
docs: update document content
2022-05-29 19:34:54 +08:00
James Yeung
569c312b35 docs: add experimental category (#2420)
* docs: add experimental category

* add en-use doc
2022-05-29 19:34:49 +08:00
anranruye
8640371e88 doc: fix code block in english pages (#1961)
* doc: fix code block in english pages

* remove react code

Co-authored-by: James Yeung <shunjiey@hotmail.com>
2021-09-22 23:00:54 +08:00
anranruye
16654f5b51 Merge 0.8.4 to feature 2021-07-18 00:04:11 +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
琢磨先生
300123045f refactor(module: tree): add draggable, fix default value binding (#1517)
* delete demo docs

* fix tree default value and dnd

* fix tree line and keys

* fix switcher icon and line

* fix line demo

* fix switcher

* add DirectoryTree demo

* fix draggable demo

* clean code

* clean code

* clean up the classmapper call

* update docs

* fix the docs

* fix comment

Co-authored-by: James Yeung <shunjiey@hotmail.com>
2021-07-11 18:43:25 +08: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
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
ElderJames
7e80607ff0 rename the docs project 2021-02-06 20:15:46 +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
Huei Feng
e672e4f363 chore: add .NET 5 target framework to all projects (#758)
Co-authored-by: ElderJames <shunjiey@hotmail.com>
2020-11-14 23:44:48 +08:00
James Yeung
c53f3a6291 docs: update charts library (#659) 2020-10-06 15:02:07 +08:00
James Yeung
196f8df66b docs: fix prev-next navbar (#625)
* docs: fix prev-next navbar

* fix: prev next nav bar url

* Update PrevNextNav.raz
2020-09-19 09:33:50 +08:00
James Yeung
e95ee75f80 chore: update the docs project to .net 5 rc1 (#612)
* chore: update the docs project to .net 5 rc1

* chore: update dotnet sdk for pr check actions

* chore: update cli to .net5

* fix: cli output path

* fix: also should install 3.1

* fix: switch installation sequence

* chore: update test to .net 5
2020-09-17 15:03:25 +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
ElderJames
c0ebae4407 docs: add charts demo (#449)
* docs: add charts demo

* refactor: directory and doc cli

* fix: component name

* fix: rebase conflict

* refactor: clean up

* fix: remove @page attributes

Co-authored-by: ElderJames <shunjiey@hotmail.com>
2020-08-05 11:13:04 +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
James Yeung
0f1c7eb41e docs: fix menu order and demo rendering (#410) 2020-07-23 00:19:48 +08:00
Brian Ding
dce779b46b docs: add id to api header (#397) 2020-07-21 14:48:17 +08:00
James Yeung
9c484d379d [WIP] docs: refactor layout (#64)
* feat: use generated menu

* fix: layout

* fix: repeated menu item (#381)

* fix: 菜单重复的问题

* fix: adjust the order of menu item

* fix: adjust divider to layout

* fix: clean code

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

* fix: clean code

* fix: clean code

* fix: docs rendering

* feat: add prev-next nav

Co-authored-by: Henry.zhang <53967483+1002527441@users.noreply.github.com>
2020-07-20 22:28:09 +08:00
James Yeung
b8c88c84df refactor: use httpclient factory (#243) 2020-06-24 12:14:17 +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
James Yeung
f73fcaf1b7 refactor: improve document performance (#220) 2020-06-13 00:23:03 +08:00
James Yeung
4e490fdd26 refactor: remove Markdig and YamlDotnet (#213) 2020-06-11 10:18:00 +08:00