Skip to content

Releases: masastack/MASA.Blazor

0.6.0-preview.1

01 Aug 12:34
c543e6a
Compare
Choose a tag to compare
0.6.0-preview.1 Pre-release
Pre-release

Features

  • Cascader: support for change the value when selecting.
  • Carousel: a new component that is used to display large numbers of visual content on a rotating timer.
  • Cron: a preset component to generate cron expression.
  • DataTable: support for mobile.
  • MobileCascader: a cascade component designed for mobile.

Bug fixes

  • Menu: fix that CloseOnContentClick=false doesn't work and still close when click the content of Select component in Menu component.

新特性

  • Cascader:支持在选择时更改值。
  • Carousel:一个用于在循环计时器上显示大量可视内容的新组件。
  • Cron:一个用于生成cron表达式的预置组件。
  • DataTable:支持移动端。
  • MobileCascader:特别为移动端设计的级联组件。

问题修复

  • Menu:修复在Menu组件中点击Select组件的内容时CloseOnContentClick=False不起作用,仍会关闭的问题。

0.5.0

29 Jul 06:26
065801a
Compare
Choose a tag to compare

Features

  • Autocomplete: add support for automatically selecting the first item by setting AutoSelectFirst #279 and add support for CacheItems parmeter. Enhance the user experience using the up and down keys.
  • BottomNavigation: a new component, is an alternative to the sidebar. It is primarily used for mobile applications.
  • DragZone: a new component, based on Sorttable.js to implement drag and drop functionality.
  • Form: FluentValidation support DependencyInjection, validation messages supports i18n.
  • i18n: component library supports localization and enhance the localization of docs.
  • Markdown: add support for Readonly.
  • Modal: support for setting custom title content and close content through slots.
  • Select/Autocomplete: add logic pressed by Escape, Space, Home and End keys.

Break changes

  • i18n: change the api of using i18n to services.AddMasaBlazor().AddI18nForServer().
  • CSS: merge masa-blazor.css and masa-extend-blazor.css to masa-blazor.min.css.

Bug fixes

  • Breakpoint: MasaBlazor.Breakpoint.Mobile doesn't work at the first time.
  • DataTable: make FooterProps strongly typed and do not render the ItemsPerPage element if FilterProps.ItemsPerPageOptions is empty or null.
  • Datatable: UI error when using FixedRight and FixedHeader together.
  • Dialog: recover scroll if dialog is present and gonna to be disposed #491.
  • Divider: fix the problem that cannot be displayed in some cases, us as using in Stepper.
  • ErrorHandler: fix that exceptions in lifecycles still thrown in a loop.
  • ListGroup: should not render the append-icon element when append-icon is null, the same applies to prepend-icon.
  • Markdown: typo on Readonly, move token to the request header.
  • NavigationDrawer: fix the problem that wrong way to set MiniVariant to false when click event triggered.
  • Select: enhance the user experience, and fix #391 and #332.
  • Stepper: fix that ref maybe null in disposing.
  • Switch/Checkbox: fix the problem that OnChange not work #489.
  • TimelineItem: fix the problem that Left and Right not work.
  • Textarea: re-calculate input height after the value of Value, AutoGrow or RowHeight parmeters changed.
  • TextField: fix that Autofocus not works in Dialog.
  • Transition: fix that LeaveAbsolute not works in ToogleableTransitionElement.
  • Treeview: fixes taht the tree nodes is not updated when the Items changes.

Refactors

  • i18n: rename language to culture.

Docs

  • ExpansionPanels: update the Advanced example with new Transition component.
  • CSS: masa-extend-blazor.css should not include the style of the doc.
  • WebAssembly: minimize app download size and update the loading animation on the first screen.

功能

  • Autocomplete:支持通过设置 AutoSelectFirst 参数开启自动选择第一项的功能 #279,支持 CacheItems 参数,增强使用上下键的用户体验。
  • BottomNavigation:一个替代侧边栏的新组件。它主要用于移动应用程序。
  • DragZone:一个基于 Sorttable.js 实现拖放功能的新组件。
  • Form:FluentValidation 支持依赖注入,验证消息支持I18n。
  • i18n:组件库支持本地化,增强了文档的本地化。
  • Markdown: 支持通过设置 Readonly 开启只读。
  • Modal:支持通过插槽设置自定义标题内容和关闭内容。
  • Select/Autocomplete:添加按下 EscapeSpaceHomeEnd 键的逻辑。

破坏性更新

  • i18n: 将使用i18n的api更为 services.AddMasaBlazor().AddI18nForServer()
  • CSS: 合并 masa-blazor.cssmasa-extend-blazor.cssmasa-blazor.min.css

问题修复

  • Breakpoint:修复 MasaBlazor.Breakpoint.Mobile 首次不工作的问题。
  • DataTable: 将 FooterProps 参数设置为强类型,如果 FilterProps.ItemsPerPageOptions 为空时不渲染页数选择元素。
  • DataTableFixedRightFixedHeader 同时使用时出现UI错误。
  • Dialog:恢复滚动如果对话框已显示并将要释放时 #491
  • Divider:修复在某些场景分割线无法显示的问题,比如在Stepper中使用时。
  • ErrorHandler:修复生命周期中的异常仍然循环抛出的问题。
  • ListGroup:如果append-icon为空是不渲染该元素,prepend-icon同理。
  • Markdown:修复 Readonly 拼写错误,讲token移动到请求头。
  • NavigationDrawer:修复当触发点击事件时 MiniVariant 设置为false的逻辑错误问题。
  • Select:增强用户使用体验,并修复了 #391#332
  • Stepper:修复在处理时引用可能为空的问题。
  • Switch/Checkbox:修复 OnChange 事件无法触发的问题 #489
  • TimelineItem:修复 LeftRight 参数不起作用的问题。
  • Textarea:Value、AutoGrow、RowHeight参数值改变后,重新计算输入高度。
  • Textfield:修复对话框中 AutoFocus 不起作用。
  • Transition:修复 LeaveAboluteToogleableTransftionElement 中不起作用。
  • Treeview:修复了Items更改时树节点没有更新的问题。

重构

  • i18n:重命名 languageculture

文档

  • ExpansionPanels:使用新的过渡组件更新高级示例。
  • CSSmasa-end-blazor.css 不能包含文档的样式。
  • WebAssembly:最小化应用程序下载大小,更新首屏加载动画。

0.5.0-rc.7

28 Jul 01:11
065801a
Compare
Choose a tag to compare
0.5.0-rc.7 Pre-release
Pre-release

Bug fixes

  • i18n: I18n.Culture may be empty in some scenarios.

问题修复

  • i18n:修复 I18n.Culture 某些场景下可能为空的问题。

0.5.0-rc.6

19 Jul 02:50
de178e6
Compare
Choose a tag to compare
0.5.0-rc.6 Pre-release
Pre-release

Bug fixes

  • Breakpoint: MasaBlazor.Breakpoint.Mobile doesn't work at the first time.
  • Datatable: UI error when using FixedRight and FixedHeader together.
  • Select: Fix the problem when the item type is struct

问题修复

  • Breakpoint:修复MasaBlazor.Breakpoint.Mobile 首次不工作的问题。
  • DataTable:FixedRightFixedHeader同时使用时出现UI错误。
  • Select:修复Item类型为结构时的问题。

0.5.0-rc.5

13 Jul 05:11
df9ee6b
Compare
Choose a tag to compare
0.5.0-rc.5 Pre-release
Pre-release

Features

  • i18n: support for adding with specific culture and dictionary.

新功能

  • i18n:支持添加特定的区域和字典。

0.5.0-rc.4

12 Jul 09:56
df9ee6b
Compare
Choose a tag to compare
0.5.0-rc.4 Pre-release
Pre-release

Bug fixes

  • ErrorHandler: fixes that exceptions cannot be caguth in somecases.
  • i18n: zh-Hans-CN does not reconginze in HarmonyOS.

Docs

  • Docs: enhance the code highlighting.

问题修复

  • ErrorHandler:修复了在某些情况异常没有捕获的问题。
  • i18n: 修复鸿蒙系统无法识别 zh-Hans-CN 的问题。

文档

  • 文档:增强代码高亮。

0.5.0-rc.3

11 Jul 09:36
a7cb225
Compare
Choose a tag to compare
0.5.0-rc.3 Pre-release
Pre-release

Bug fixes

  • Treeview: fixes taht the tree nodes is not updated when the Items changes.
  • ErrorHandler: fixes that exceptions cannot be caguth in somecases.

问题修复

  • Treeview:修复了Items更改时树节点没有更新的问题。
  • ErrorHandler:修复了在某些情况异常没有捕获的问题。

0.5.0-rc.2

08 Jul 10:55
f3aa8f1
Compare
Choose a tag to compare
0.5.0-rc.2 Pre-release
Pre-release

Bug fixes

  • DragZone/Editor: errors occurrred in js when component is disposed.
  • PageTabs: enable stopPropgation and preventDefault when the close event is emitted.
  • Textarea: re-calculate input height after the value of Value, AutoGrow or RowHeight parmeters changed.
  • SlideGroup: fixed the style of next element.
  • PageTabs: add the AbsolutePath readonly property that ignores the IP address and port number.

问题修复

  • DragZone/Editor:组件释放时js出现错误。
  • PageTabs:触发关闭事件时,开启stopPropgation和preventDefault。
  • TextareaValueAutoGrowRowHeight参数值改变后,重新计算输入高度。
  • SlideGroup:修复了next元素的样式。
  • PageTabs:添加忽略IP地址和端口号的AbsoltePath只读属性。

0.5.0-rc.1

07 Jul 10:00
1d8b8a2
Compare
Choose a tag to compare
0.5.0-rc.1 Pre-release
Pre-release

Features

  • Autocomplete: add support for automatically selecting the first item by setting AutoSelectFirst #279 and add support for CacheItems parmeter. Enhance the user experience using the up and down keys.
  • BottomNavigation: a new component, is an alternative to the sidebar. It is primarily used for mobile applications.
  • DragZone: a new component, based on Sorttable.js to implement drag and drop functionality.
  • Form: FluentValidation support DependencyInjection, validation messages supports i18n.
  • i18n: component library supports localization and enhance the localization of docs.
  • Markdown: add support for Readonly.
  • Modal: support for setting custom title content and close content through slots.
  • Select/Autocomplete: add logic pressed by Escape, Space, Home and End keys.

Break changes

  • i18n: change the api of using i18n to services.AddMasaBlazor().AddI18nForServer().
  • CSS: merge masa-blazor.css and masa-extend-blazor.css to masa-blazor.min.css.

Bug fixes

  • DataTable: make FooterProps strongly typed and do not render the ItemsPerPage element if FilterProps.ItemsPerPageOptions is empty or null.
  • Dialog: recover scroll if dialog is present and gonna to be disposed #491.
  • Divider: fix the problem that cannot be displayed in some cases, us as using in Stepper.
  • ErrorHandler: fix that exceptions in lifecycles still thrown in a loop.
  • ListGroup: should not render the append-icon element when append-icon is null, the same applies to prepend-icon.
  • Markdown: typo on Readonly, move token to the request header.
  • NavigationDrawer: fix the problem that wrong way to set MiniVariant to false when click event triggered.
  • Select: enhance the user experience, and fix #391 and #332.
  • Stepper: fix that ref maybe null in disposing.
  • Switch/Checkbox: fix the problem that OnChange not work #489.
  • TimelineItem: fix the problem that Left and Right not work.
  • TextField: fix that Autofocus not works in Dialog.
  • Transition: fix that LeaveAbsolute not works in ToogleableTransitionElement.

Refactors

  • i18n: rename language to culture.

Docs

  • ExpansionPanels: update the Advanced example with new Transition component.
  • CSS: masa-extend-blazor.css should not include the style of the doc.
  • WebAssembly: minimize app download size and update the loading animation on the first screen.

功能

  • Autocomplete:支持通过设置 AutoSelectFirst 参数开启自动选择第一项的功能 #279,支持 CacheItems 参数,增强使用上下键的用户体验。
  • BottomNavigation:一个替代侧边栏的新组件。它主要用于移动应用程序。
  • DragZone:一个基于 Sorttable.js 实现拖放功能的新组件。
  • Form:FluentValidation 支持依赖注入,验证消息支持I18n。
  • i18n:组件库支持本地化,增强了文档的本地化。
  • Markdown: 支持通过设置 Readonly 开启只读。
  • Modal:支持通过插槽设置自定义标题内容和关闭内容。
  • Select/Autocomplete:添加按下 EscapeSpaceHomeEnd 键的逻辑。

破坏性更新

  • i18n: 将使用i18n的api更为 services.AddMasaBlazor().AddI18nForServer()
  • CSS: 合并 masa-blazor.cssmasa-extend-blazor.cssmasa-blazor.min.css

问题修复

  • DataTable: 将 FooterProps 参数设置为强类型,如果 FilterProps.ItemsPerPageOptions 为空时不渲染页数选择元素。
  • Dialog:恢复滚动如果对话框已显示并将要释放时 #491
  • Divider:修复在某些场景分割线无法显示的问题,比如在Stepper中使用时。
  • ErrorHandler:修复生命周期中的异常仍然循环抛出的问题。
  • ListGroup:如果append-icon为空是不渲染该元素,prepend-icon同理。
  • Markdown:修复 Readonly 拼写错误,讲token移动到请求头。
  • NavigationDrawer:修复当触发点击事件时 MiniVariant 设置为false的逻辑错误问题。
  • Select:增强用户使用体验,并修复了 #391#332
  • Stepper:修复在处理时引用可能为空的问题。
  • Switch/Checkbox:修复 OnChange 事件无法触发的问题 #489
  • TimelineItem:修复 LeftRight 参数不起作用的问题。
  • Textfield:修复对话框中 AutoFocus 不起作用。
  • Transition:修复 LeaveAboluteToogleableTransftionElement 中不起作用。

重构

  • i18n:重命名 languageculture

文档

  • ExpansionPanels:使用新的过渡组件更新高级示例。
  • CSSmasa-exend-blazor.css 不能包含文档的样式。
  • WebAssembly:最小化应用程序下载大小,更新首屏加载动画。

0.5.0-preview.5

30 Jun 04:59
bb239ff
Compare
Choose a tag to compare
0.5.0-preview.5 Pre-release
Pre-release

Features

  • i18n: add localization support for IPopupService and preset components.

Break changes

  • i18n: change the api of using i18n to services.AddMasaBlazor().AddI18nForServer().
  • CSS: merge masa-blazor.css and masa-extend-blazor.css to masa-blazor.min.css.

Bug fixes

  • Markdown: typo on Readonly, move token to the request header.
  • WebAssembly: fix that "Unable to cast object of type 'Microsoft.AspNetCore.Components.WebView.Services.WebViewJSRuntime' to type 'Microsoft.JSInterop.IJSInProcessRuntime'" in maui blazor.

Docs

  • WebAssembly: minimize app download size and update the loading animation on the first screen.

新特性

  • i18n:弹出层服务组件和预制组件支持本地化。

破坏性更新

  • i18n: 将使用i18n的api更为 services.AddMasaBlazor().AddI18nForServer()
  • CSS: 合并 masa-blazor.cssmasa-extend-blazor.cssmasa-blazor.min.css

问题修复

  • Markdown:修复 Readonly 拼写错误,讲token移动到请求头。
  • WebAssembly:修复在maui blazor使用时报”Unable to cast object of type 'Microsoft.AspNetCore.Components.WebView.Services.WebViewJSRuntime' to type 'Microsoft.JSInterop.IJSInProcessRuntime'“的问题。

文档

  • WebAssembly:最小化应用程序下载大小,更新首屏加载动画。