You signed in with another tab or window.
Reload
to refresh your session.
You signed out in another tab or window.
Reload
to refresh your session.
You switched accounts on another tab or window.
Reload
to refresh your session.
Experimental components
feat(Labs): add DigitalClock, DateTimePicker and DateDigitalClockPicker components by
@capdiem
in
#1472
Improvements
feat(Cron): Enhance the Cron component by
@capdiem
in
#1482
feat(ECharts): support for verbatim text of function string by
@capdiem
in
#1449
feat(ECharts): improve readability of JS exceptions about using function by
@capdiem
in
#1451
feat(ImageCaptcha): Expose TextField's
FocusAsync
and
BlurAsync
by
@capdiem
in
#1481
feat(Input): support for built-in required rule by
@capdiem
in
#1442
feat(Modal): add FormContext to ModalActionEventArgs by
@capdiem
in
#1490
feat(PageContainer): Support for
IncludePattners
and
Max
parameter by
@capdiem
in
#1492
feat(PopupService-Confirm): supports for RenderFragment content by
@capdiem
in
#1447
feat(PopupService-Prompt): supports for custom rule to validate input value by
@capdiem
in
#1448
feat(TextField_Number): improve the experience of clicking by
@capdiem
in
#1486
🔬 Refactors
refactor: invoke oninput or onchnage after valuechanged invoked by
@capdiem
in
#1484
refactor(ApiGenerator): Rename the root namespace by
@capdiem
in
#1476
🔧 Bug fixes
fix(dotnet-SDK): Compatible language version by
@capdiem
in
#1480
fix(DatePicker): fa-IR localization error for title year by
@capdiem
in
#1468
fix(Input): Rules loops concat when Rules is not set externally by
@capdiem
in
#1477
fix(Input): missing OnChange callback on number and clear clicking by
@capdiem
in
#1487
fix(NavigationDrawer): main left should change when mobile breakpoint is changed by
@capdiem
in
#1485
fix(PopupService): EnqueuedSnackbarAsync doesn't work if using in other service by
@capdiem
in
#1488
fix(WindowItem): skip wait when there is no transition by
@capdiem
in
#1483
📖 Docs
docs: get and set lang from local storage by
@capdiem
in
#1474
docs: improves UI for API page, home pages and demo by
@capdiem
in
#1478
docs: support for online editing of demos by
@239573049
in
#1455
docs(Wireframe): simplify the code by
@capdiem
in
#1489
docs: move descriptions, catch exception from example custom-element and update CONTRIBUTING by
@capdiem
in
#1491
docs: API generator could resolve obsolete parameter and render to API table by
@capdiem
in
#1493
Full Changelog
:
1.0.1...1.0.2
Contributors
fix(TextField):
OnChange
doesn't work by
@capdiem
in
#1440
fix(NavgiationDrawer): wheeling doesn't work after overlay hides in WASM by
@capdiem
in
#1444
fix(StepperContent): height should be 'auto' after display by
@capdiem
in
#1446
📖 Docs
docs: Add 'Auto matching navigation' by
@capdiem
in
#1439
docs: fix the GitHub service and update PWA snackbar by
@capdiem
in
#1445
Contributors
New components
BaiduMap
: a map component base on
BaiduMap Javascript API GL
, thanks to
@msnoshain
!
DefaultsProvider
: a component allows you to provide specific default prop values to components of your application.
Descriptions
: a component that can display multiple fields.
EnqueuedSnackbars
: a stackable snackbars.
Gridstack
: a component for dashboard layout and creation base on
gridstack.js
.
MarkdownIt
: a Markdown parser base on
markdown-it
.
MonacoEditor
: a editor component base on
MonacoEditor
, thanks to
@239573049
!
SyntaxHighlight
: use themes from
prism
or
highlight.js
to highlight the the source code.
Improvements
Components
Alert
: support for
Title
parameter.
DataTable
dark supports for stripe (
#880
), closes
#269
.
Events
and
EventColor
supports (
#887
), closes
#82
.
supports for click, dbclick and contextmenu on row (
#1237
), closes
#1236
.
supports for
ItemClass
with type of
Func<TItem, string>
(
#1250
), closes
#1245
.
DatePicker
: localization enhancement (
#1129
).
Drawer
: compatible with mobile (
#1384
).
ECharts
improve the way to update themes (
#869
), closes
#246
.
support for handling mouse events.
support for multi functions or lambda in option.
ErrorHandler
: add
DisablePopupIfErrorContentRender
parameter (
#1411
).
Menu
:
Attach
supports.
Modal
: should reset loading state if an exception occurs on confirm (
#1399
), thanks to
@1521967161
.
Overlay
: hide the scroll bar when the overlay shows (
#1339
), closes
#1213
.
Pagination
: selected items don‘t show or exception in some scenarios (
#1393
), closes
#1280
.
Routable
: add
MatchPattern
to routable component (
#1409
).
ProgressCircular
:
BackgroundColor
supports (
#804
), closes
#801
.
Select
: add Eager to force rendering Dom of content (
#1364
).
Slider
: support for other numeric types including double (
#1050
)。
Stepper
: support for lazy loading the DOM and
Eager
feature (
#1362
), clsoes
#1359
.
Infrastructure and services
Breakpoint
add
MobileChanged
event handler (
#1415
).
I18n
: an I18n component, easy to localization.
PopupService
support for show/hide ProgressCircular/ProgressLinear (
#1334
).
Prompt: change the build-in input component from
MTextarea
to
MTextField
(
#1331
), and support for focusing the input after opening (
#1343
).
RTL
: RTL is fully supported (
#1377
).
Theme
: support for dynamic theme modification, closes
#929
, thanks to
@LittleFish-233
.
💥 Breaking changes
Button
: renamed the
StopPropagation
parameter to
OnClickStopPropagatoin
.
DataTable
: the
Align
type of DataTable header changes to enum (
#802
), closes
#712
.
Checkbox/Switch
:
TrueValue
and
FalseValue
supports, closes
#710
.
Confirm
: PConfirm has now been removed, please use PopupService.Confirm instead.
InfiniteScroll
: Now no longer needs to set the loading state through the additional
HasMore
parameter, but through the
Status
of the
OnLoad
event parameter to control it. Also, the component will automatically trigger the
OnLoad
event when it is first rendered.
Routable
: The
Linkage
is renamed to
Routable
, and the affected components are
MBreadcrumbs
and
MList
.
Toasts
: removed the
PToasts
component, and use the
PEnqueuedSnackbars
component instead.
PopupService
: removed
AlertAsync
和
ToastAsync
, and use
EnqueueSnackbarAsync
instead.
PageTabs
: refactor and move PageTabs to presets.
Tab
: Content is no longer capitalized by default, (
#1222
).
i18n
: Instead of setting the default language in a localized JSON file via
$Defaultculture
, set it in the
Locale
option of the
services.AddMasaBlazor
(
#1229
).
Sidebar
: It has been removed.
For details, please see the
Upgrade Guide
.
🔬 Refactors
The logic of registration and execution of activator events such as
click
,
mouseenter
,
mouseleave
,
focus
and
blur
has been moved to js. The scope of influence includes Tooltip, Menu, Hover, Dialog, BottomSheet, Drawer, Modal, PopupService and so on.
The implementation of outside-click has been moved to
OutsideClickJSModule
, and the scope of influence includes Dialog, BottomSheet, Drawer, Modal, PopupService, Autocomplete, Select and so on.
🔧 Bug fixes
App
: throw when js invoked on pre-rendering, closes
#846
.
Autocomplete
: The menu content obscures the input box in some cases (
#1135
), closes
#1130
.
Button
:
Elevation
doesn't work (
#828
).
BottomNavigation
: crashed when
App
is enable (
#799
), closes
#774
.
BottomNavigation
: InputValue should update the application's bottom (
#997
), closes
#996
.
DatePicker
: a exception throws when value change to MinValue (
#1352
), closes
#1348
.
DataTable
The style of
FixedRight
doesn't work at the first time (
#1304
), closes
#1299
.
HeaderColContent
doesn't work on mobile (
#1306
).
Group text and column name no correct when grouping (
#1311
).
ExpansionPanels
: components that wrap ExpansionPanel cannot be trigger, closes
#843
.
FileInput
:
HideInput
doesn't work.
FileInput
:
IBrowserFile
does not have an associated TypeConverter that supports conversion from a string (
#1109
), closes
#1092
.
Image
:
Src
with parenthesis aren't recognized (
#1115
), closes
#1114
.
Markdown
: custom upload options don't work (
#1217
), closes
#1214
.
PopupService
: button position compatibility in confirm and prompt (
#879
), closes
#874
, thanks to
@Yu-Core
!
ProgressCircular
: hex color code doesn't work, closes
#910
.
Radio
:
OnIcon
and
OffIcon
don't work (
#1263
), closes
#1262
.
Rating
: improves the performance (
#1333
), closes
#1253
.
Select
: auto scroll to the active item when open at the 1st time (
#1256
), closes
#1249
.
Slider
: get stuck when touchmove event invoked, closes
#1041
.
Stepper
: the error label has a shadow (
#871
), closes
#265
.
Treeview
:
AppendContent
should be exposed as a parameter (
masastack/BlazorComponent#265
), thanks to
@tzm1119
.
Treeview
: conflict between
ActiveClass
and
Color
(
#956
), closes
#954
.
📖 Others
We have updated the document and UI, and thank all contributors for your help.
Add
Frequently asked questions
(
#1286
).
Add
Bidirectionality (LTR/RTL)
(
#1377
).
Support for dark theme (
#1318
).
Improve support for anchors (
#1323
).
Added
MASA Try
site, online debugging component, thank you
@239573049
!
🚀 新特性
新增的组件
BaiduMap
:一个基于
BaiduMap Javascript API GL
的地图组件,感谢
@msnoshain
!
DefaultsProvider
: 允许您为应用程序的组件提供特定的默认属性值。
Descriptions
: 用于展示多个字段。
EnqueuedSnackbars
: 可堆栈的消息条。
GridStack
:基于
gridstack.js
的仪表板布局创建组件。
MarkdownIt
:一个基于
markdown-it
的 Markdown 解析器。
MonacoEditor
:一个基于
MonacoEditor
封装的编辑器,感谢
@239573049
。
SyntaxHighlight
:使用
prism
或
highlight.js
中的主题来高亮源代码。
改进和增强
Alert
:支持
Title
参数。
DataTable
斑马纹支持暗主题 (
#880
),关闭
#269
。
Events
和
EventColor
支持 (
#887
),关闭
#82
。
支持行的点击,双击和右键事件 (
#1237
), 关闭
#1236
。
支持类型为
Func<TItem, string>
的
ItemClass
参数 (
#1250
), 关闭
#1245
.
DatePicker
:本地化增强 (
#1129
)。
Drawer
: 兼容移动端 (
#1384
)。
ECharts
改进主题更新方式 (
#869
),关闭
#246
。
支持处理鼠标事件。
配置支持多个函数或lambda表达式。
ErrorHandler
:增加
DisablePopupIfErrorContentRender
参数 (
#1411
)。
Menu
:
Attach
支持。
Modal
: 当确认后发生异常应重置加载状态 (
#1399
),感谢
@1521967161
。
Overlay
: 当遮罩显示时隐藏滚动条 (
#1339
), 关闭
#1213
。
Pagination
: 在特定情况下选择项无法显示 (
#1393
),关闭
#1280
。
Routable
: 给支持路由的组件增加
MatchPattern
参数 (
#1409
)。
ProgressCircular
:
BackgroundColor
支持 (
#804
),关闭
#801
。
Select
: 增加
Eager
参数强制渲染内容的dom (
#1364
)。
Slider
:支持其他数字类型,包括
double
(
#1050
)。
Stepper
: 支持懒加载和
Eager
特性 (
#1362
),关闭
#1359
。
基础设施和服务
Breakpoint
新增
MobileChanged
事件 (
#1415
)。
I18n
:国际化组件,轻松使用本地化。
PopupService
支持显示和隐藏 PrgoressCircular 和 ProgressLinear 组件 (
#1334
)。
Prompt: 将内置的输入框组件从
MTextarea
改为
MTextField
(
#1331
),并且支持弹出后自动聚焦到输入框 (
#1343
)。
RTL
: 完全支持RTL (
#1377
)。
Theme
:支持动态切换浅色和深色主题,关闭
#929
,感谢
@LittleFish-233
。
💥 破坏性更新
Button
: 重命名
StopPropagation
为
OnClickStopPropagatoin
。
DataTable
:DataTable header 的
Align
类型变为枚举 (
#802
),关闭
#712
。
Checkbox/Switch
:
TrueValue
和
FalseValue
支持,关闭
#710
。
Confirm
:
PConfirm
现在已被移除,请改用
PopupService.Confirm
。
i18n
:删除了在本地化json文件中通过
$DefaultCulture
设置默认语言的方式,改为在
services.AddMasaBlazor
的
Locale
选项中设置 (
#1229
)。
InfiniteScroll
: 现在不需要通过额外的
HasMore
参数来设置加载的状态,而是通过
OnLoad
事件参数的
Status
来控制,一步到位。另外,组件在第一次呈现时会自动触发
OnLoad
事件。
PageTabs
: 重构并将它移动到了预置组件类别中。
PopupService
:移除了
AlertAsync
和
ToastAsync
,请使用
EnquueuSnackbarAsync
代替。
Routable
:
Linkage
重命名为
Routable
,受影响的组件有
MBreadcrumbs
和
MList
。
Tab
:Tab的内容不再默认大写了 (
#1222
)。
Toasts
:移除了
PToasts
组件,请使用
PEnqueuedSnackbars
组件代替。
**Sid...
Contributors
What's Changed
docs(JSPorxy): add missing css references and package version by
@capdiem
in
#1403
feat(Icon): add a CSS formatter for custom icon set by
@capdiem
in
#1405
feat(Routable): add
MatchPattern
to routable component by
@capdiem
in
#1409
fix(FileInput):
@attributes
doesn't work by
@capdiem
in
#1407
fix(StepperContent): Incorrect height calculation by
@capdiem
in
#1408
feat(Try): add some CSS and JS references and update the source code URL in demo by
@capdiem
in
#1410
feat(ErrorHandler): Add
DisablePopupIfErrorContentRender
parameter by
@capdiem
in
#1411
fix(Overlay): ignore the exception if disconnect by
@capdiem
in
#1412
docs(Installation): remove the duplicate template item by
@capdiem
in
#1413
feat(Breakpoint): Add
MobileChanged
event handler by
@capdiem
in
#1415
docs: sync the repo URL when project changed by
@capdiem
in
#1417
fix(NavigationDrawer): failed to init @bind-Value when Tempory by
@capdiem
in
#1418
Full Changelog
:
1.0.0-rc.5...1.0.0-rc.6
Contributors
docs: Update upgrade guides by
@capdiem
in
#1374
Update zh-CN.md by
@239573049
in
#1379
feat(Breakpoint): Add FirstCalculation flag to changed event args by
@capdiem
in
#1375
fix(Autocomplete): State doesn't change after deleting by keyboard by
@capdiem
in
#1376
docs: make sense of the color of the state by
@capdiem
in
#1382
fix(Main): The content is not rendered in some cases by
@capdiem
in
#1383
feat: RTL is fully supported by
@capdiem
in
#1377
feat(Drawer): Compatible with mobile by
@capdiem
in
#1384
feat(PopupService): enhance the EnqueuedSnackbars by
@capdiem
in
#1388
docs: remove the non-exist
page-to-api
files by
@capdiem
in
#1389
feat(PageContainer): support for excluded path by
@capdiem
in
#1390
docs: add custom error content by
@capdiem
in
#1392
fix(Pagination): Selected items don‘t show or exception in some scenarios by
@capdiem
in
#1393
feat(Monaco): Expose the editor instance JS ref by
@capdiem
in
#1395
docs(AskedQuestions): add 'How to make UI compact' by
@capdiem
in
#1394
fix(NavigationDrawer): Init @bind-Value if Value is default by
@capdiem
in
#1396
feat(layout): avoid an entry animation on page load by
@capdiem
in
#1397
fix(Modal): should reset loading state if an exception occurs on confirm by
@1521967161
in
#1399
docs: Improve the docs by
@capdiem
in
#1400
New Contributors
@1521967161
made their first contribution in
#1399
Full Changelog
:
1.0.0-rc.4...1.0.0-rc.5
Contributors
feat: Add Descriptions component by
@capdiem
in
#1355
feat(MarkdownIt): support for task list by
@capdiem
in
#1357
fix(Input): TValue? -> TValue by
@capdiem
in
#1358
fix(Select): MenuProps calculated only once by
@capdiem
in
#1360
docs(algolia): search request return 403 by
@capdiem
in
#1361
feat(Stepper): support for lazy loading the DOM and
Eager
feature by
@capdiem
in
#1362
feat(Select): add
Eager
to force rendering Dom of content by
@capdiem
in
#1364
refactor(input-jsinterop): refactor the input JS interop by
@capdiem
in
#1365
feat:update use guide by
@MayueCif
in
#1366
docs: Improve the docs by
@capdiem
in
#1367
fix(Tabs): tabs flash in some scenarios by
@capdiem
in
#1371
fix(NavigationDrawer):
Value=false
doesn't work by
@capdiem
in
#1370
feat(PageTabs): add some public methods by
@capdiem
in
#1372
Full Changelog
:
1.0.0-rc.3...1.0.0-rc.4
Contributors
refactor: resolves some warnings of nullable by
@capdiem
in
#1315
docs: Update installation by
@capdiem
in
#1317
docs: Support for dark theme by
@capdiem
in
#1318
docs: Improve support for anchors by
@capdiem
in
#1323
refactor(Prompt): Use TextField instead of Textarea as the input box by
@capdiem
in
#1331
docs(Markdown): Update docs by
@capdiem
in
#1330
fix(ChipGroup): arrows shaking by
@capdiem
in
#1329
fix(Select): TextColor doesn't work by
@capdiem
in
#1327
fix(StepperContent): Incorrect height calculation by
@capdiem
in
#1326
docs(V1Banner): add v1.0.0 banner for blazor and fx by
@capdiem
in
#1325
docs: Update the upgrade guide by
@capdiem
in
#1324
refactor(Rating): improves the performance by
@capdiem
in
#1333
feat(PopupService): support for show/hide ProgressCircular/ProgressLinear by
@capdiem
in
#1334
fix(ECharts): support for multi functions or lambda in option by
@capdiem
in
#1338
feat(Overlay): hide the scroll bar when the overlay shows by
@capdiem
in
#1339
refactor(PopupService.Progress): Rename the component key by
@capdiem
in
#1340
docs: API and nav item highlighting improvements by
@capdiem
in
#1341
docs: add annual service page by
@capdiem
in
#1342
feat(Prompt): Auto focus the TextField by
@capdiem
in
#1343
fix(DataTable): FirstIcon doesn't work by
@capdiem
in
#1344
docs: improve document by
@capdiem
in
#1345
refactor: Remove PSidebar component by
@capdiem
in
#1346
fix(docs): the UI component tab navigate to the wrong page by
@capdiem
in
#1347
fix(DatePicker): Exception throws when value change to MinValue by
@capdiem
in
#1352
chore: stale if status/invalid label added by
@capdiem
in
#1353
Full Changelog
:
1.0.0-rc.2...1.0.0-rc.3
Contributors
docs: line-highlight doesn't work in code-group-item by
@capdiem
in
#1279
docs: Add frequently asked questions by
@capdiem
in
#1286
docs: The property Show that modifies the custom action o… by
@zyz
in
#1289
fix(TextField): Label width should change when label changed by
@capdiem
in
#1293
feat(Icon): Support for custom icon set by
@capdiem
in
#1291
docs(Alert): tuning pass by
@capdiem
in
#814
docs: Update README and fix some bugs by
@capdiem
in
#1297
refactor: Support for nullable by
@capdiem
in
#1302
fix(DataTable): FixedRight style should be validated at the first render by
@capdiem
in
#1304
fix(NavigationDrawer): MMain may not render when Temporary enabled by
@capdiem
in
#1305
fix(Modal): cannot close when using ActivatorContent by
@capdiem
in
#1303
fix(DataTable): HeaderColContent doesn't work on mobile by
@capdiem
in
#1306
refactor(Button): Rename StopPropagation to OnClickStopPropagation by
@capdiem
in
#1307
docs(MarkdownIt): Add examples and update docs by
@capdiem
in
#1308
fix(DataTable): group text and column name no correct when grouping by
@capdiem
in
#1311
refactor: refactor InfiniteScroll component by
@capdiem
in
#1312
fix(CopyableText): remove
text-no-wrap
css by
@capdiem
in
#1314
Full Changelog
:
1.0.0-rc.1...1.0.0-rc.2
Contributors
Alert
: support for
Title
parameter.
BaiduMap
: a map component base on
BaiduMap Javascript API GL
, thanks to
@msnoshain
!
DefaultsProvider
: a component allows you to provide specific default prop values to components of your application.
EnqueuedSnackbars
: a stackable snackbars.
MarkdownIt
: a Markdown parser base on
markdown-it
.
SyntaxHighlight
: use themes from
prism
or
highlight.js
to highlight the the source code.
Gridstack
: a component for dashboard layout and creation base on
gridstack.js
.
DataTable
: dark supports for stripe (
#880
), closes
#269
.
DataTable
:
Events
and
EventColor
supports (
#887
), closes
#82
.
DataTable
: supports for click, dbclick and contextmenu on row (
#1237
), closes
#1236
.
DataTable
: supports for
ItemClass
with type of
Func<TItem, string>
(
#1250
), closes
#1245
.
DatePicker
: Localization enhancement (
#1129
).
ECharts
: improve the way to update themes (
#869
), closes
#246
.
ECharts
: support for handling mouse events.
ProgressCircular
:
BackgroundColor
supports (
#804
), closes
#801
.
Slider
: support for other numeric types including double (
#1050
)。
EllipsisText
: the
text-overflow
is always
ellipsis
, if the content overflows its container, the content would be displayed in the tooltip.
I18n
: an I18n component, easy to localization.
Menu
:
Attach
supports.
MonacoEditor
: a editor component base on
MonacoEditor
, thanks to
@239573049
!
Theme
: support for dynamic theme modification, closes
#929
, thanks to
@LittleFish-233
.
Breaking changes
DataTable
: the
Align
type of DataTable header changes to enum (
#802
), closes
#712
.
Checkbox/Switch
:
TrueValue
and
FalseValue
supports, closes
#710
.
Confirm
: PConfirm has now been removed, please use PopupService.Confirm instead.
Routable
: The
Linkage
is renamed to
Routable
, and the affected components are
MBreadcrumbs
and
MList
.
Toasts
: removed the
PToasts
component, and use the
PEnqueuedSnackbars
component instead.
PopupService
: removed
AlertAsync
和
ToastAsync
, and use
EnqueueSnackbarAsync
instead.
PageTabs
: refactor and move PageTabs to presets.
Tab
: Content is no longer capitalized by default, (
#1222
).
i18n
: Instead of setting the default language in a localized JSON file via
$Defaultculture
, set it in the
Locale
option of the
services.AddMasaBlazor
(
#1229
).
For details, please see the
Upgrade Guide
.
Refactors
The logic of registration and execution of activator events such as
click
,
mouseenter
,
mouseleave
,
focus
and
blur
has been moved to js. The scope of influence includes Tooltip, Menu, Hover, Dialog, BottomSheet, Drawer, Modal, PopupService and so on.
The implementation of outside-click has been moved to
OutsideClickJSModule
, and the scope of influence includes Dialog, BottomSheet, Drawer, Modal, PopupService, Autocomplete, Select and so on.
Bug fixes
App
: throw when js invoked on pre-rendering, closes
#846
.
Autocomplete
: The menu content obscures the input box in some cases (
#1135
), closes
#1130
.
Button
:
Elevation
doesn't work (
#828
).
BottomNavigation
: crashed when
App
is enable (
#799
), closes
#774
.
BottomNavigation
: InputValue should update the application's bottom (
#997
), closes
#996
.
ExpansionPanels
: components that wrap ExpansionPanel cannot be trigger, closes
#843
.
FileInput
:
HideInput
doesn't work.
FileInput
:
IBrowserFile
does not have an associated TypeConverter that supports conversion from a string (
#1109
), closes
#1092
.
Image
:
Src
with parenthesis aren't recognized (
#1115
), closes
#1114
.
Markdown
: custom upload options don't work (
#1217
), closes
#1214
.
PopupService
: button position compatibility in confirm and prompt (
#879
), closes
#874
, thanks to
@Yu-Core
!
ProgressCircular
: hex color code doesn't work, closes
#910
.
Radio
:
OnIcon
and
OffIcon
don't work (
#1263
), closes
#1262
。
Select
: auto scroll to the active item when open at the 1st time (
#1256
), closes
#1249
.
Slider
: get stuck when touchmove event invoked, closes
#1041
.
Stepper
: the error label has a shadow (
#871
), closes
#265
.
Treeview
:
AppendContent
should be exposed as a parameter (
masastack/BlazorComponent#265
), thanks to
@tzm1119
.
Treeview
: conflict between
ActiveClass
and
Color
(
#956
), closes
#954
.
Others
We have updated the document UI and thank all contributors for your help.
Added
MASA Try
site, online debugging component, thank you
@239573049
!
Alert
:支持
Title
参数。
BaiduMap
:一个基于
BaiduMap Javascript API GL
的地图组件,感谢
@msnoshain
!
DefaultsProvider
: 允许您为应用程序的组件提供特定的默认属性值。
EnqueuedSnackbars
: 可堆栈的消息条。
MarkdownIt
:一个基于
markdown-it
的 Markdown 解析器。
SyntaxHighlight
:使用
prism
或
highlight.js
中的主题来高亮源代码。
GridStack
:基于
gridstack.js
的仪表板布局创建组件。
DataTable
:斑马纹支持暗主题 (
#880
),关闭
#269
。
DataTable
:
Events
和
EventColor
支持 (
#887
),关闭
#82
。
DataTable
:支持行的点击,双击和右键事件 (
#1237
), 关闭
#1236
。
DataTable
: 支持类型为
Func<TItem, string>
的
ItemClass
参数 (
#1250
), 关闭
#1245
.
DatePicker
:本地化增强 (
#1129
)。
ECharts
:改进主题更新方式 (
#869
),关闭
#246
。
ECharts
:支持处理鼠标事件。
ProgressCircular
:
BackgroundColor
支持 (
#804
),关闭
#801
。
Slider
:支持其他数字类型,包括
double
(
#1050
)。
EllipsisText
:
text-overflow
始终为
ellipsis
,如果内容溢出容器,则会在 tooltip 中显示内容。
I18n
:国际化组件,轻松使用本地化。
Menu
:
Attach
支持。
MonacoEditor
:一个基于
MonacoEditor
封装的编辑器,感谢
@239573049
。
Theme
:支持动态切换浅色和深色主题,关闭
#929
,感谢
@LittleFish-233
。
破坏性更新
DataTable
:DataTable header 的
Align
类型变为枚举 (
#802
),关闭
#712
。
Checkbox/Switch
:
TrueValue
和
FalseValue
支持,关闭
#710
。
Confirm
:
PConfirm
现在已被移除,请改用
PopupService.Confirm
。
Routable
:
Linkage
重命名为
Routable
,受影响的组件有
MBreadcrumbs
和
MList
。
Toasts
:移除了
PToasts
组件,请使用
PEnqueuedSnackbars
组件代替。
PopupService
:移除了
AlertAsync
和
ToastAsync
,请使用
EnquueuSnackbarAsync
代替。
PageTabs
: 重构并将它移动到了预置组件类别中。
Tab
:Tab的内容不再默认大写了 (
#1222
)。
i18n
:删除了在本地化json文件中通过
$DefaultCulture
设置默认语言的方式,改为在
services.AddMasaBlazor
的
Locale
选项中设置 (
#1229
)。
详情请查看
升级指南
。
click
、
mouseenter
、
mouseleave
、
focus
、
blur
等激活器事件的注册和执行逻辑已移至js。影响的范围包括 Tooltip、Menu、Hover、Dialog、BottomSheet、Drawer、Modal、PopupService 等组件。
outside-click 的实现移到了
OutsideClickJSModule
,影响的范围包括 Dialog、BottomSheet、Drawer、Modal、PopupService、AutoComplete、Select等组件。
App
:在预渲染时调用js时抛出异常,关闭
#846
。
Button
:
Elevation
不工作 (
#828
)。
Autocomplete
: 菜单内容在某些情况下会遮挡输入框 (
#1135
), 关闭
#1130
.
BottomNavigation
:
App
开启时崩溃 (
#799
),关闭
#774
。
BottomNavigation
:
InputValue
应该更新应用程序的Bottom值 (
#997
), 关闭
#996
.
ExpansionPanels
:包装ExpansionPanel的组件不能被触发,关闭
#843
。
FileInput
:
HideInput
不起作用。
FileInput
:
IBrowserFile
没有支持从
string
转换的关联TypeConverter (
#1109
), 关闭
#1092
.
Image
:无法识别带括号的
Src
(
#1115
), 关闭
#1114
。
Markdown
: 自定义Upload选项不起作用 (
#1217
), 关闭
#1214
.
PopupService
:确认提示中按钮位置兼容问题(
#879
),关闭
#874
,感谢
@Yu-Core
!
ProgressCircular
: 十六进制颜色不起作用, 关闭
#910
.
Radio
:
OnIcon
和
OffIcon
不起作用 (
#1263
), 关闭
#1262
。
Select
:第一次打开时自动滚动到活动项目 (
#1256
), 关闭
#1249
。
Slider
:调用 touchmove 事件时卡住,关闭
#1041
.
Stepper
:错误标签有阴影 (
#871
),关闭
#265
。
Treeview
:
AppendContent
应该公开为参数(
masastack/BlazorComponent#265
),这要感谢
@tzm1119
。
Treeview
: 修复
ActiveClass
与
Color
冲突的问题 (
#956
), 关闭
#954
.
我们更新了文档UI,并感谢各位贡献者朋友的帮助。
添加了
MASA Try
站点,在线调试组件,感谢
@239573049
!
Contributors
What's Changed
refactor(SlideGroup): use Breakpoint.Mobile to determine whether it is mobile by
@capdiem
in
#1284
Full Changelog
:
1.0.0-preview.18...1.0.0-preview.19
Contributors