Releases: masastack/MASA.Blazor
Releases · masastack/MASA.Blazor
1.0.0-preview.6
1.0.0-preview.5
What's Changed
- fix(RadioGroup): radio value changed abnormally by @capdiem in #1031
- fix(MSelect): component's
MenuProps
property unexposedMaxWidth
property by @MapleWithoutWords in #1032 - refactor(ErrorHandler): use
PopupType
insteadShowAlert
and update the docs by @capdiem in #1035 - docs(GithubIssues): refactor with Octokit dotnet sdk by @capdiem in #1036
- refactor: remove the old and deprecated component by @capdiem in #1037
- feat(maui): add maui sample for ios push(APNs) by @sunday866 in #1042
- feat(alert):
Title
supports by @capdiem in masastack/BlazorComponent#325 - refactor(snackbar-service): remove Toasts and add EnqueuedSnackbars by @capdiem in #1039
- add MDefaultsProvider component: allows you to provide specific default prop values to components in a section of your application.
- remove Toasts, because snackbar and toasts are just different names for the same concept. And the current UI of Toast is not in line with Material Design.
- add PEnqueuedSnackbars component: a stackable snackbars.
- include breaking changes. for details, please see the Upgrade Guide.
New Contributors
- @MapleWithoutWords made their first contribution in #1032
Full Changelog: 1.0.0-preview.4...1.0.0-preview.5
1.0.0-preview.4
What's Changed
- fix(DataTable): exception throwed when there is a custom header value by @capdiem in masastack/BlazorComponent#320
- fix(ListGroup): a hash change should not trigger a re-render by @capdiem in masastack/BlazorComponent#319
- refactor: move all watchers execution to first render by @capdiem in masastack/BlazorComponent#318
- feat(Autocomplete): add
Disabled
to SelectionCotnent's context by @capdiem in masastack/BlazorComponent#317 - docs(ApiDatatable): type desc supports by @capdiem in #1004
- docs(framework): Add document translation resource by @zhenlei520 in #1011
- refactor: Update the directory structure by @capdiem in #1012
- docs: add Support MasaI18n in MAUI Blazor project by @Yu-Core in #993
- docs: Update github url by @capdiem in #1015
- refactor: change the way to toggle theme by @LittleFish-233 in #1018
- docs: examples update by @capdiem in #1024
- docs: complete the release-notes page by @capdiem in #1023
Full Changelog: 1.0.0-preview.3...1.0.0-preview.4
1.0.0-preview.3
What's Changed
- docs: api rounded description error by @Yu-Core in #976
- feat(wasm): enable Brotli compression by @239573049 in #977
- feat(MBaiduMap): Support more properties; Fix docs by @msnoshain in #975
- refactor: remove unnecessary StateHasChanged by @capdiem in #978
- fix(Carousel): clicking on delimiter does not work by @capdiem in #979
- fix(ProgressCircular): hex color code doesn't work by @capdiem in #980
- refactor(Treeview): change the type of LoadChildren to EventCallback by @capdiem in #982
- fix(DOCS): source code link of wireframe example is incorrect by @capdiem in #988
- feat(Menu):
Attach
supports by @capdiem in #991 - docs: enable BlazorWebAssemblyLazyLoad by @239573049 in #994
- docs: Add documents for MarkdownIt and Highlight components by @capdiem in #1003
- docs: incorrect link by @capdiem in #1002
- refactor(Icon): simplify code by @capdiem in #1001
- feat(ECharts): support for handling mouse events by @capdiem in #999
- fix(BottomNavigation): InputValue should update the application's bottom by @capdiem in #997
Full Changelog: 1.0.0-preview.2...1.0.0-preview.3
1.0.0-preview.2
What's Changed
- refactor(ApiGenerator): use SourceGenerator to generate the api metadata by @capdiem in #949
- fix(Treeview): conflict between ActiveClass and Color by @capdiem in #956
- feat: Add MBaiduMap component by @msnoshain in #951
- Create needs-triage.yml by @capdiem in #959
- Create close-stale.yml by @capdiem in #960
- tests: Unit tests fixing by @CuteLeon in #961
- chore: Update close-stale.yml by @capdiem in #963
- docs: disable Linkify by @capdiem in #964
- docs(AppLink): place icon before the content if it is SamePage by @capdiem in #965
- refactor(Routable): refactor the routable by @capdiem in #953
- this is a breaking change, please see the Upgrade guide
- docs: failed to fetch the checkbox API by @capdiem in #966
- Create issue-labeled.yml by @capdiem in #967
- feat: add IntersectionObserver for echarts element by @capdiem in #970
- feat: Support for dynamic theme modification by @LittleFish-233 in #952
- fix(ECharts): changing the theme does not work by @capdiem in #972
- fix: failed to parse markdown by @capdiem in #973
- feat(I18n): Add I18n component by @capdiem in #945
New Contributors
- @msnoshain made their first contribution in #951
- @CuteLeon made their first contribution in #961
- @LittleFish-233 made their first contribution in #952
Full Changelog: 1.0.0-preview.1...1.0.0-preview.2
1.0.0-preview.1
Features
- MarkdownIt: a Markdown parser base on markdown-it, and provide a Highlight component which can 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
andEventColor
supports (#887), closes #82. - ECharts: improve the way to update themes (#869), closes #246.
- ProgressCircular:
BackgroundColor
supports (#804), closes #801. - EllipsisText: the
text-overflow
is alwaysellipsis
, if the content overflows its container, the content would be displayed in the tooltip.
Breaking changes
- DataTable: the
Align
type of DataTable header changes to enum (#802), closes #712. - Checkbox/Switch:
TrueValue
andFalseValue
supports, closes #710. - Confirm: PConfirm has now been removed, please use PopupService.Confirm instead.
For details, please see the Upgrade Guide.
Refactors
- The logic of registration and execution of activator events such as
click
,mouseenter
,mouseleave
,focus
andblur
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.
- Button:
Elevation
doesn't work (#828). - BottomNavigation: crashed when
App
is enable (#799), closes #774. - ExpansionPanels: components that wrap ExpansionPanel cannot be trigger, closes #843.
- FileInput:
HideInput
doesn't work. - PopupService: button position compatibility in confirm and prompt (#879), closes #874, thanks to @Yu-Core!
- PopupService.Alert: wrong type of
Rounded
, closes #860. - Stepper: the error label has a shadow (#871), closes #265.
- Treeview:
AppendContent
should be exposed as a parameter (masastack/BlazorComponent#265), thanks to @tzm1119.
Docs
- We updated the document UI, and thanks to @239573049 and other friends for their suggestions.
新特性
- Markdown It:一个基于 markdown-it 的 Markdown 解析器,并提供了一个 Highlight 组件,可以使用 prism 或 highlight.js 中的主题来高亮源代码。
- GridStack:基于 gridstack.js 的仪表板布局创建组件。
- DataTable:斑马纹支持暗主题 (#880),关闭 #269。
- DataTable:
Events
和EventColor
支持 (#887),关闭 #82。 - ECharts:改进主题更新方式 (#869),关闭 #246。
- ProgressCircle:
BackgroundColor
支持 (#804),关闭 #801。 - EllipsisText:
text-overflow
始终为ellipsis
,如果内容溢出容器,则会在 tooltip 中显示内容。
破坏性更新
- DataTable:DataTable header 的
Align
类型变为枚举 (#802),关闭 #712。 - Checkbox/Switch:
TrueValue
和FalseValue
支持,关闭 #710。 - Confirm:PConfirm 现在已被移除,请改用
PopupService.Confirm
。
详情请查看升级指南。
重构
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)。 - BottomNavigation:
App
开启时崩溃 (#799),关闭 #774。 - ExpansionPanels:包装ExpansionPanel的组件不能被触发,关闭 #843。
- FileInput:
HideInput
不起作用。 - PopupService:确认提示中按钮位置兼容问题(#879),关闭 #874,感谢 @Yu-Core!
- PopupService.Alert:
Rounded
类型错误,关闭 #860。 - Stepper:错误标签有阴影 (#871),关闭 #265。
- Treeview:
AppendContent
应该公开为参数(masastack/BlazorComponent#265),这要感谢 @tzm1119。
文档更新
- 我们更新了文档UI,并感谢 @239573049 和其他朋友的建议。
0.6.0
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.
- ECharts: support setting optional chart configurations using
InitOptions
, support disposing the instance of echarts using public methodDisposeEcharts
, support customizing the theme usingLight
,Dark
orTheme
. - InfiniteScroll: a new component that support scrolling to the bottom of the list automatically loads more data.
- Input: support setting the min-height through the
MinHeight
parameter. - MobilePickerView: A picker view designed for the mobile. Provides multiple sets of options for users to choose, and supports single-column selection, multi-column selection and cascading selection.
- MobilePicker: A picker view designed for the mobile.
- MobileDateTimePicker: A date time picker designed for the mobile.
- MobileDatePicker: A date picker designed for the mobile.
- MobileTimePicker: A time picker designed for the mobile.
- MobileCascader: a cascade component designed for mobile.
- Select:
ItemContent
's context now supports calling Item's click event through theOnClick
method.
Breaking changes
- Input: Change the logic of Input component inputting and rendering. Asynchronous operation in
ValueChanged
is not recommended now. - Form: Validate, Reset, and ResetValidation are changed to synchronous methods.
- Form: Change the context type of
ChildContent
from EditContext to FormContext. - Preset: Enhance the api for configuring the preset of MASA.Blazor.
Bug fixes
- ListItem: fix that can't select the TextField's content in ListItem if there is a Checkbox.
- Menu: fix that
CloseOnContentClick=false
doesn't work and still close when click the content of Select component in Menu component. - NavigationManager: hide scroll if the overlay shown.
- TextField: fix that prefix overlaps with label #600, and fix that the label width doesn't calculate in ExpansionPanelContent #607.
- Treeview: fix that
Filter
doesn' work, and fix thatOnActiveUpdate
doesn't invoke when assign a value toActive
.
Docs
- The home page links to the official website.
- Tile and tag the preset components.
- Append version tag after the logo.
- support for algolia search on mobile.
- fix that the height of AppBar on mobile will affect the calculation of top on desktop.
新特性
- Cascader:支持在选择时更改值。
- Carousel:一个用于在循环计时器上显示大量可视内容的新组件。
- Cron:一个用于生成cron表达式的预置组件。
- DataTable:支持移动端。
- ECharts:支持使用
InitOptions
设置可选图表配置,支持使用公开方法DisposeECharts
释放echarts实例,支持使用Light
,Dark
或Theme
自定义主题。 - InfiniteScroll:无限滚动组件,支持滚动到列表底部自动加载更多数据。
- Input:添加
MinHeight
参数。 - MobilePickerView:专为移动设备设计的选择视图。提供多个选项集合供用户选择,支持单列选择、多列选择和级联选择。
- MobilePicker:专为移动设备设计的选择器。提供多个选项集合供用户选择,支持单列选择、多列选择和级联选择。
- MobileDateTimePicker:专为移动设备设计的日期选择器。
- MobileDatePicker:专为移动设备设计的时间选择器。
- MobileTimePicker:专为移动设备设计的时间选择器。
- MobileCascader:特别为移动端设计的级联组件。
- Select:
ItemContent
的 context 现在支持通过OnClick
方法调用 Item 的点击事件。
破坏性更新
- Input:更改输入组件输入和渲染的逻辑。现在不建议
ValueChanged
里做异步操作。 - Form:Validate,Reset 和 ResetValidation 更改为同步方法。
- Form:将
ChildContent
的上下文类型从 EditContext 改为 FormContext。 - Preset:增强配置MASA.Blazor预设值的API。
问题修复
- ListItem: 修复了如果有复选框则无法在ListItem中选择Textfield的内容的问题。
- Menu:修复在Menu组件中点击Select组件的内容时
CloseOnContentClick=False
不起作用,仍会关闭的问题。 - NavigationManager: 如果存在遮罩,则隐藏滚动。
- Textfield:修复前缀与 label 重叠的问题 #600,修复 LabelWidth 在 ExpansionPanelCotnent 里没有计算的问题 #607。
- Treeview: 修复
Filter
不起作用的问题,修复当给Active
赋值时OnActiveUpdate
没有调用的问题。
文档
- 主页链接到官方网站。
- 平铺和标记预置组件。
- 在LOGO后面附加版本标签。
- 支持在移动设备上algolia搜索。
- 修复移动端AppBar的高度会影响桌面端Top的计算。
0.6.0-rc.9
- 🐛 fix: CA1816 warning by @capdiem in #747
- fix(Form): refactor form demo by @15168440402 in #748
- 🔧 chore: Update the soruce of roboto font css by @capdiem in #750
- 🎬 docs(ImageCaptcha): Update demos by @capdiem in #753
- 🐛 fix(Modal): validation does not work by @capdiem in #754
- ♻ refactor: Rename method's name by @capdiem in #756
0.6.0-rc.8
- 🎬 DOCS(MobileTimePicker): format time with 'HH:mm:ss' by @capdiem in #709
- 🐛 FIX(NavigationDrawer): nested navigation will affect each other by @capdiem in #711
- ⚡ REFACTOR: simplify the dom struct and rename CascaderList to CascaderColumn by @capdiem in #715
- 🎬 DOCS(MobilePickerView): Update the demos by @capdiem in #716
- ♻ REFACTOR: use InvokeAsync at the event of timer by @capdiem in #717
- 🐛 FIX(Cron): cannot get timezone in wasm by @capdiem in #718
- 🎬 DOCS(DataTable): Update the demos by @capdiem in #721
- FIX(Select): disabling the
Items
parameter always notifies the change by @capdiem in #720 - 🎬 DOCS(Cascader): update the LoadChildren demo by @capdiem in #727
- 🐛 FIX(Slider): value update did not trigger internalValue update by @capdiem in #736
- 📝 DOCS: Update README.md by @capdiem in #737
- 🐛 FIX(Slider): slider can change values without focusing by @capdiem in #739
- 🐛 fix(MobileCascader): scrollbar not displayed when there is too much data by @capdiem in #743
- Fix(form):fix form parseFormValidation by @15168440402 in #741
- 🔧 chore: update nuget sepc by @capdiem in #744
- fix(NavigationDrawer): fail to udpate application when MiniVariant changed by @capdiem in #740
- 🐛 fix(DataIterator): Value failed to update if ValueChanged not defined by @capdiem in #742
- 🐛 fix(Form): multi level fluent validator doesn't work by @capdiem in masastack/BlazorComponent#236