MASA.Blazor

Blazor UI component library based on Material Design. Support Blazor Server, Blazor WebAssembly and MAUI Blazor.

MIT License

Stars
1.1K
Committers
53

Bot releases are visible (Hide)

MASA.Blazor - 1.0.0-rc.6

Published by capdiem over 1 year ago

What's Changed

Full Changelog: https://github.com/masastack/MASA.Blazor/compare/1.0.0-rc.5...1.0.0-rc.6

MASA.Blazor - 1.0.0-rc.5

Published by capdiem over 1 year ago

What's Changed

New Contributors

Full Changelog: https://github.com/masastack/MASA.Blazor/compare/1.0.0-rc.4...1.0.0-rc.5

MASA.Blazor - 1.0.0-rc.4

Published by capdiem over 1 year ago

What's Changed

Full Changelog: https://github.com/masastack/MASA.Blazor/compare/1.0.0-rc.3...1.0.0-rc.4

MASA.Blazor - 1.0.0-rc.3

Published by capdiem over 1 year ago

What's Changed

Full Changelog: https://github.com/masastack/MASA.Blazor/compare/1.0.0-rc.2...1.0.0-rc.3

MASA.Blazor - 1.0.0-rc.2

Published by capdiem over 1 year ago

What's Changed

Full Changelog: https://github.com/masastack/MASA.Blazor/compare/1.0.0-rc.1...1.0.0-rc.2

MASA.Blazor - 1.0.0-rc.1

Published by capdiem over 1 year ago

Features

  • 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 AlertAsyncToastAsync, 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.
  • RadioOnIcon 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:使用 prismhighlight.js 中的主题来高亮源代码。
  • GridStack:基于 gridstack.js 的仪表板布局创建组件。
  • DataTable:斑马纹支持暗主题 (#880),关闭 #269。
  • DataTableEventsEventColor 支持 (#887),关闭 #82。
  • DataTable:支持行的点击,双击和右键事件 (#1237), 关闭 #1236。
  • DataTable: 支持类型为Func<TItem, string>ItemClass参数 (#1250), 关闭 #1245.
  • DatePicker:本地化增强 (#1129)。
  • ECharts:改进主题更新方式 (#869),关闭 #246。
  • ECharts:支持处理鼠标事件。
  • ProgressCircularBackgroundColor 支持 (#804),关闭 #801。
  • Slider:支持其他数字类型,包括 double (#1050)。
  • EllipsisTexttext-overflow 始终为 ellipsis,如果内容溢出容器,则会在 tooltip 中显示内容。
  • I18n:国际化组件,轻松使用本地化。
  • MenuAttach 支持。
  • MonacoEditor:一个基于MonacoEditor封装的编辑器,感谢 @239573049。
  • Theme:支持动态切换浅色和深色主题,关闭 #929,感谢 @LittleFish-233。

破坏性更新

  • DataTable:DataTable header 的 Align 类型变为枚举 (#802),关闭 #712。
  • Checkbox/SwitchTrueValueFalseValue 支持,关闭 #710。
  • ConfirmPConfirm 现在已被移除,请改用 PopupService.Confirm
  • RoutableLinkage 重命名为 Routable,受影响的组件有 MBreadcrumbsMList
  • Toasts:移除了 PToasts 组件,请使用 PEnqueuedSnackbars 组件代替。
  • PopupService:移除了 AlertAsyncToastAsync,请使用 EnquueuSnackbarAsync 代替。
  • PageTabs: 重构并将它移动到了预置组件类别中。
  • Tab:Tab的内容不再默认大写了 (#1222)。
  • i18n:删除了在本地化json文件中通过 $DefaultCulture 设置默认语言的方式,改为在 services.AddMasaBlazorLocale 选项中设置 (#1229)。

详情请查看升级指南

重构

  • clickmouseentermouseleavefocusblur等激活器事件的注册和执行逻辑已移至js。影响的范围包括 Tooltip、Menu、Hover、Dialog、BottomSheet、Drawer、Modal、PopupService 等组件。
  • outside-click 的实现移到了 OutsideClickJSModule,影响的范围包括 Dialog、BottomSheet、Drawer、Modal、PopupService、AutoComplete、Select等组件。

问题修复

  • App:在预渲染时调用js时抛出异常,关闭 #846。
  • ButtonElevation 不工作 (#828)。
  • Autocomplete: 菜单内容在某些情况下会遮挡输入框 (#1135), 关闭 #1130.
  • BottomNavigationApp 开启时崩溃 (#799),关闭 #774。
  • BottomNavigation: InputValue 应该更新应用程序的Bottom值 (#997), 关闭 #996.
  • ExpansionPanels:包装ExpansionPanel的组件不能被触发,关闭 #843。
  • FileInputHideInput 不起作用。
  • FileInputIBrowserFile 没有支持从string转换的关联TypeConverter (#1109), 关闭 #1092.
  • Image:无法识别带括号的Src (#1115), 关闭 #1114。
  • Markdown: 自定义Upload选项不起作用 (#1217), 关闭 #1214.
  • PopupService:确认提示中按钮位置兼容问题(#879),关闭 #874,感谢 @Yu-Core!
  • ProgressCircular: 十六进制颜色不起作用, 关闭 #910.
  • RadioOnIconOffIcon 不起作用 (#1263), 关闭 #1262。
  • Select:第一次打开时自动滚动到活动项目 (#1256), 关闭 #1249。
  • Slider:调用 touchmove 事件时卡住,关闭 #1041.
  • Stepper:错误标签有阴影 (#871),关闭 #265。
  • TreeviewAppendContent 应该公开为参数(masastack/BlazorComponent#265),这要感谢 @tzm1119。
  • Treeview: 修复 ActiveClassColor 冲突的问题 (#956), 关闭 #954.

其他

  • 我们更新了文档UI,并感谢各位贡献者朋友的帮助。
  • 添加了 MASA Try 站点,在线调试组件,感谢 @239573049!
MASA.Blazor - 1.0.0-preview.19

Published by capdiem over 1 year ago

What's Changed

Full Changelog: https://github.com/masastack/MASA.Blazor/compare/1.0.0-preview.18...1.0.0-preview.19

MASA.Blazor - 1.0.0-preview.18

Published by capdiem over 1 year ago

What's Changed

New Contributors

Full Changelog: https://github.com/masastack/MASA.Blazor/compare/1.0.0-preview.17...1.0.0-preview.18

MASA.Blazor - 1.0.0-preview.17

Published by capdiem over 1 year ago

What's Changed

Full Changelog: https://github.com/masastack/MASA.Blazor/compare/1.0.0-preview.16...1.0.0-preview.17

MASA.Blazor - 1.0.0-preview.16

Published by capdiem over 1 year ago

What's Changed

Full Changelog: https://github.com/masastack/MASA.Blazor/compare/1.0.0-preview.15...1.0.0-preview.16

MASA.Blazor - 1.0.0-preview.15

Published by capdiem over 1 year ago

What's Changed

Full Changelog: https://github.com/masastack/MASA.Blazor/compare/1.0.0-preview.14...1.0.0-preview.15

MASA.Blazor - 1.0.0-preview.14

Published by capdiem over 1 year ago

What's Changed

Full Changelog: https://github.com/masastack/MASA.Blazor/compare/1.0.0-preview.13...1.0.0-preview.14

MASA.Blazor - 1.0.0-preview.13

Published by capdiem over 1 year ago

What's Changed

Full Changelog: https://github.com/masastack/MASA.Blazor/compare/1.0.0-preview.12...1.0.0-preview.13

MASA.Blazor - 1.0.0-preview.12

Published by capdiem over 1 year ago

What's Changed

Full Changelog: https://github.com/masastack/MASA.Blazor/compare/1.0.0-preview.11...1.0.0-preview.12

MASA.Blazor - 1.0.0-preview.11

Published by capdiem over 1 year ago

What's Changed

Full Changelog: https://github.com/BlazorComponent/MASA.Blazor/compare/1.0.0-preview.10...1.0.0-preview.11

MASA.Blazor - 1.0.0-preview.10

Published by capdiem over 1 year ago

What's Changed

Full Changelog: https://github.com/BlazorComponent/MASA.Blazor/compare/1.0.0-preview.9...1.0.0-preview.10

MASA.Blazor - 1.0.0-preview.9

Published by capdiem over 1 year ago

What's Changed

New Contributors

Full Changelog: https://github.com/BlazorComponent/MASA.Blazor/compare/1.0.0-preview.8...1.0.0-preview.9

MASA.Blazor - 1.0.0-preview.8

Published by capdiem over 1 year ago

What's Changed

New Contributors

Full Changelog: https://github.com/BlazorComponent/MASA.Blazor/compare/1.0.0-preview.7...1.0.0-preview.8

MASA.Blazor - 1.0.0-preview.7

Published by capdiem over 1 year ago

What's Changed

Full Changelog: https://github.com/BlazorComponent/MASA.Blazor/compare/1.0.0-preview.6...1.0.0-preview.7

MASA.Blazor - 1.0.0-preview.6

Published by capdiem over 1 year ago

What's Changed

Full Changelog: https://github.com/BlazorComponent/MASA.Blazor/compare/1.0.0-preview.5...1.0.0-preview.6