Skip to content

Releases: masastack/MASA.Blazor

0.5.0-preview.4

27 Jun 07:09
0506594
Compare
Choose a tag to compare
0.5.0-preview.4 Pre-release
Pre-release

Features

  • 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.
  • Modal: support for setting custom title content and close content through slots.
  • Form: validation messages supports i18n.
  • i18n: component library supports localization and enhance the localization of docs.

Bug fixes

  • ErrorHandler: fix that exceptions in lifecycles still thrown in a loop.

Refactors

  • i18n: rename language to culture.

功能

  • BottomNavigation:一个替代侧边栏的新组件。它主要用于移动应用程序。
  • DragZone:一个基于 Sorttable.js 实现拖放功能的新组件。
  • Modal:支持通过插槽设置自定义标题内容和关闭内容。
  • Form:验证消息支持I18N。
  • i18n:组件库支持本地化,增强了文档的本地化。

问题修复

  • ErrorHandler:修复生命周期中的异常仍然循环抛出的问题。

重构

  • i18n:重命名 languageculture

0.5.0-preview.3

21 Jun 08:28
c283d5c
Compare
Choose a tag to compare
0.5.0-preview.3 Pre-release
Pre-release

Features

  • Select/Autocomplete: add logic pressed by Escape, Space, Home and End keys.
  • Form: FluentValidation support DependencyInjection.

Bug fixes

  • Switch/Checkbox: implement ISelectable, and fix that failing to change value by clicking label.
  • Autocomplete: fix that menu cannot be activated after searching results.
  • Divider: fix that Style is set to the wrong element.
  • Stepper: fix that ref maybe null in disposing.
  • TextField: fix that Autofocus not works in Dialog.
  • Transition: fix that LeaveAbsolute not works in ToogleableTransitionElement.

Docs

  • ExpansionPanels: update the Advanced example with new Transition component.
  • CSS: masa-extend-blazor.css should not include the style of the doc.

功能

  • Select/Autocomplete:添加按下 EscapeSpaceHomeEnd 键的逻辑。
  • Form:FluentValidation 支持依赖注入。

问题修复

  • Switch/CheckBox:实现 ISelecable,点击Label修复无法更改值的问题。
  • Autocomplete:修复搜索结果后无法激活菜单的问题。
  • Divider:修复 Style 设置错误的元素。
  • Stepper:修复在处理时引用可能为空的问题。
  • Textfield:修复对话框中 AutoFocus 不起作用。
  • Transition:修复 LeaveAboluteToogleableTransftionElement 中不起作用。

文档

  • ExpansionPanels:使用新的过渡组件更新高级示例。
  • css:masa-end-blazor.css 不能包含文档的样式。

0.5.0-preview.2

14 Jun 04:39
Compare
Choose a tag to compare
0.5.0-preview.2 Pre-release
Pre-release

Features

  • Form: support dependency injection for FluentValidation.

Bug fixes

  • Select: fix OnSelectedItemUpdate not work.

Features

  • Form: FluentValidation 支持依赖注入

Bug fixes

  • Select: 修复OnSelectedItemUpdate 不起作用

0.5.0-preview.1

10 Jun 02:31
dacdcbf
Compare
Choose a tag to compare
0.5.0-preview.1 Pre-release
Pre-release

Features

  • Autocomplete: add support for automatically selecting the first item by setting AutoSelectFirst #279. Enhance the user experience using the up and down keys.
  • Markdown: add support for Readonly.

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.
  • ListGroup: should not render the append-icon element when append-icon is null, the same applies to prepend-icon.
  • 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.
  • Switch & Checkbox: fix the problem that OnChange not work #489.
  • TimelineItem: fix the problem that Left and Right not work.

功能

  • Autocomplete: 支持通过设置 AutoSelectFirst 参数开启自动选择第一项的功能 #279,增强使用上下键的用户体验。
  • Markdown: 支持通过设置 Readonly 开启只读。

问题修复

  • DataTable: 将 FooterProps 参数设置为强类型,如果 FilterProps.ItemsPerPageOptions 为空时不渲染页数选择元素。
  • Dialog: 恢复滚动如果对话框已显示并将要释放时 #491
  • Divider: 修复在某些场景分割线无法显示的问题,比如在Stepper中使用时。
  • ListGroup: 如果append-icon为空是不渲染该元素,prepend-icon同理。
  • NavigationDrawer: 修复当触发点击事件时MiniVariant设置为false的逻辑错误问题。
  • Select: 增强用户使用体验,并修复了 #391#332
  • Switch & Checkbox: 修复 OnChange 事件无法触发的问题 #489
  • TimelineItem: 修复 LeftRight 参数不起作用的问题。

0.4.0

31 May 08:34
7beaa5c
Compare
Choose a tag to compare

Features(功能)

  • Presets(预置)
    • BlockText: display two data of the same type side by side.
    • CopyableText: append a button that provides copy feature to the content.
    • ImageCaptcha: provide the feature of generating image verification code and validation.
    • PopupService: support alert, confirm, prompt and toast by injecting IPopupService.
    • Toast: a non-interrupting light-weighted prompt.
  • BottomSheet: a modified MDialog that slides from the bottom of the screen.
  • Form: support FluentValidation.
  • OTP Input: used for MFA procedure of authenticating users by a one-time password.
  • Markdown: a markdown editor based on Vditor.
  • Editor: a rich text editor base on quill.
  • Divider: add support for ChildContent and Orientation.
  • Floating Action Buttons: can be used as a floating action button. This provides an application with a main point of action. Combined with the MSpeedDial component, you can create a diverse set of functions available for your users.
  • TextField: add support for setting NumberProps when type is number.
  • Delayable: add a hook that invoked after content shown #133
  • BSimpleCheckbox: support Readonly #135

Refactors

  • Dialog(Modal, Dialog, Tooltip, Drawer, Windows): Optimize signalr communication times.
  • SimpleCheckbox: rename OnInput to ValueChanged.
  • Transition: ensure that the transition is complete by handling the transitionend event.

Docs

  • Markdown
  • Transitions
  • BlockText, CopyableText: Update description of BlockText and CopyableText #479
  • ECharts: tips for adding package references #480

功能

  • Presets(预置)
    • BlockText: 并排显示同一类型的两个数据
    • CopyableText: 添加一个按钮,提供复制内容的功能
    • ImageCaptcha: 提供生成图像验证码和验证的功能
    • PopupService: 通过注入IPopupService提供弹出类功能,支持alert,confirm,prompt 和 toast
    • Toast: 一个不间断的轻量级提示
  • BottomSheet: 一个修改自“MDialog”的屏幕底部滑动弹出框
  • Form: 表单验证支持 FluentValidation
  • OTP Input: 用于MFA(多重身份验证)的一次性密码认证
  • Markdown: 基于Vditor的markdown编辑器
  • Editor: 基于quill的富文本编辑器
  • Divider: 分割线添加支持子内容和方向
  • Floating Action Buttons: 可以用作浮动动作按钮。 这为应用程序提供了一个主要的操作点。 结合“MSpeedDial”组件,您可以为您的用户创建一组不同的功能
  • TextField: 当type为number时,支持设置NumberProps
  • Delayable: 添加一个在显示的内容之后调用的钩子 #133
  • BSimpleCheckbox: 支持 Readonly(只读) #135

重构

  • Dialog(Modal, Dialog, Tooltip, Drawer, Windows): 优化signalr通讯次数
  • SimpleCheckbox: OnInput重命名为ValueChanged
  • Transition: 通过处理transitionend事件来确保过渡动画已经完成

文档

  • Markdown
  • Transitions
  • BlockText, CopyableText: 更新描述 #479
  • ECharts: 提示增加包引用 #480

0.4.0-rc.3

24 May 05:47
2325190
Compare
Choose a tag to compare
0.4.0-rc.3 Pre-release
Pre-release

Bug Fixes

  • BDialog: disable scroll of overlay when dialog shown (#137)

Features

  • BSimpleCheckbox: support Readonly (#135)

Bug修复

  • BDialog: 显示对话框时禁用overlay滚动 (#137)

功能

  • BSimpleCheckbox: 支持 Readonly(只读) (#135)

0.4.0-rc.2

19 May 05:47
2325190
Compare
Choose a tag to compare
0.4.0-rc.2 Pre-release
Pre-release

Bug Fixes(修复Bug)

  • fix(PToast&MTextField): fix error when duration is null and textfield internal value delay #478

    修复持续时间为null的错误和输入框内部值延迟的错误

  • fix: MTextField bind-value reset bug #482

    MTextField bind-value 重置的bug

Features(功能)

  • feat(Delayable): add a hook that invoked after content shown #133

    添加一个在显示的内容之后调用的钩子

Docs(文档)

  • docs: Update description of BlockText and CopyableText #479
  • docs(ECharts): tips for adding package references #480

0.4.0-rc.1

18 May 07:26
ecf6aa7
Compare
Choose a tag to compare
0.4.0-rc.1 Pre-release
Pre-release

Features(功能)

  • Presets(预置)
    • BlockText: display two data of the same type side by side.

      并排显示同一类型的两个数据

    • CopyableText: append a button that provides copy feature to the content.

      添加一个按钮,提供复制内容的功能

    • ImageCaptcha: provide the feature of generating image verification code and validation.

      提供生成图像验证码和验证的功能

    • PopupService: support alert, confirm, prompt and toast by injecting IPopupService.

      通过注入IPopupService提供弹出类功能,支持alert,confirm,prompt 和 toast

    • Toast: a non-interrupting light-weighted prompt.

      一个不间断的轻量级提示

  • BottomSheet: a modified MDialog that slides from the bottom of the screen.

    一个修改自“MDialog”的屏幕底部滑动弹出框

  • Form: support FluentValidation.

    表单验证支持 FluentValidation

  • OTP Input: used for MFA procedure of authenticating users by a one-time password.

    用于MFA(多重身份验证)的一次性密码认证

  • Markdown: a markdown editor based on Vditor.

    基于Vditor的markdown编辑器

  • Editor: a rich text editor base on quill.

    基于quill的富文本编辑器

  • Divider: add support for ChildContent and Orientation.

    分割线添加支持子内容和方向

  • Floating Action Buttons: can be used as a floating action button. This provides an application with a main point of action. Combined with the MSpeedDial component, you can create a diverse set of functions available for your users.

可以用作浮动动作按钮。 这为应用程序提供了一个主要的操作点。 结合“MSpeedDial”组件,您可以为您的用户创建一组不同的功能

  • TextField: add support for setting NumberProps when type is number.

    当type为number时,支持设置NumberProps

Refactors(重构)

  • Dialog(Modal, Dialog, Tooltip, Drawer, Windows): Optimize signalr communication times.

    优化signalr通讯次数

  • SimpleCheckbox: rename OnInput to ValueChanged.

    OnInput重命名为ValueChanged

  • Transition: ensure that the transition is complete by handling the transitionend event.

    通过处理transitionend事件来确保过渡动画已经完成

Docs

  • Markdown
  • Transitions

0.4.0-preview.4

12 May 10:33
7125043
Compare
Choose a tag to compare
0.4.0-preview.4 Pre-release
Pre-release

Bug Fixes

  • delayable: set clearDelay public to accommodate earlier versions of browsers
    delayable: 设置clearDelay为公共的,以适应较早版本的浏览器

0.4.0-preview.3

12 May 08:32
7125043
Compare
Choose a tag to compare
0.4.0-preview.3 Pre-release
Pre-release

Bug Fixes

  • Markdown: File names are not processed by default when uploading #453 #457
    Markdown: 修复上传文件名包含中文不显示的问题,调整为上传时默认不处理文件名