Skip to content

Releases: masastack/MASA.Blazor

v1.6.3

11 Jul 09:29
3e8cc9d
Compare
Choose a tag to compare

✨ Release notes

🔧 Bug Fixes

  • DataTableHeader: revert a change: deletion of CellClass. #2030
  • ErrorHandler: OnHandle and OnAfterHandle may cause infinite rendering. #2031

Full Changelog: 1.6.2...1.6.3

v1.6.2

10 Jul 03:49
903b5aa
Compare
Choose a tag to compare

✨ Release notes

🔧 Bug Fixes

  • Markdown: Unable to get pasted files or dragged files. #2028
  • DataTable: ItemColContent and CellRender cannot be used together. #2026
  • Input: @attributes doesn't work on some input components. #2025
  • Icon: should not enable transition mode by default. #2029

Full Changelog: 1.6.1...1.6.2

v1.6.1

04 Jul 05:40
e9c3463
Compare
Choose a tag to compare

✨ Release notes

🔧 Bug Fixes

  • Chip: Filter doesn't work #2018
  • StackPageBarInit: Updating colors doesn't work #2022
  • Form: reset operation will throw an exception when ValueExpression is missing #2023

📝 Documentation

  • docs: API resources support referencing and inheritance #2020
  • Update LICENSE #2021

Full Changelog: 1.6.0...1.6.1

v1.6.0

02 Jul 07:09
e6b9750
Compare
Choose a tag to compare

⬆️ Upgrade guide

  • Change the script in _Host.cshtml or index.html.
    - <script src="_content/BlazorComponent/js/blazor-component.js"></script>
    + <script src="_content/Masa.Blazor/js/masa-blazor.js"></script>
  • Remove all references to BlazorComponent.
    - @using BlazorComponent
    - @using BlazorComponent.I18n
    - global using BlazorComponent;
    - global using BlazorComponent.I18n;
  • DragZone: The component was deprecated in v1.4.0 and has now been removed. It is recommended to use the MSortable component instead.

✨ Release notes

🚀 Features

  • DataTable: add support for custom the header selection slot. #1951
  • DatePicker: add support for click event for year, month and date. #1972
  • Divider: add the Length property to support custom line length. #1913
  • ECharts: add Loading parameter to control loading state. #1906
  • ExpansionPanel: add sub-component parameters, including Title and Text. #1954
    <!-- before -->
    <MExpansionPanel>
        <MExpansionPanelHeader>
            Item
        </MExpansionPanelHeader>
        <MExpansionPanelContent>
            Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.
        </MExpansionPanelContent>
    </MExpansionPanel>
    
    <!-- now -->
    <MExpansionPanel Title="Item"
                   Text="Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.">
    </MExpansionPanel>
  • Form: The context object provided by ChildContent now offers Validate, Reset, and ResetValidation methods, as well as an IsValid property.
    <MForm Model="_model" Context="form">
        <MTextField @bind-Value="_model.Name"></MTextField>
        <MTextField @bind-Value="_model.Email"></MTextField>
        <MSelect @bind-Value="_model.Item"
                  Items="@_items"
                  ItemText="u => u"
                  ItemValue="u => u">
        </MSelect>
        <MButton Block Disabled="@(!form.IsValid)" Color="success" Class="mb-2" OnClick="@(() => form.Validate())">Validate</MButton>
        <MButton Block Color="error" Class="mb-2" OnClick="@(() => form.Reset())">Reset Form</MButton>
        <MButton Block Color="warning" OnClick="@(() => form.ResetValidation())">Reset Validation</MButton>
    </MForm>
  • Form: add support for validate single field. #1980
  • Icon: add the TransitionShow prop to support the transition show condition. #1938
  • add support for updating top defaults. #1982

🐛 Bug fixes

  • BlockText: incorrect value set for key. #1978
  • DataTable: Update the CSS. #1976
  • Dialog: avoid the issue of potentially throwing exceptions when open and focus. #1970
  • EnqueuedSnackbars: fix the issue that may cause 'Collection was modified'. #1962 #1974 #1992
  • Form: the DisplayName will be recognized now after enabling i18n. #1940 #1943
  • Form: when using ObjectGraphDataAnnotationsValidator, error messages still exist when update value programmatically. #1941
  • Icon: svg's path doesn't work when assigned to the Icon prop. #1944
  • MobileCascader: the length of tab is not update after selection. #1960
  • PageTabs: RemoveAll method used the wrong argument. #1952
  • PullRefresh: should not preventDefault on touch move. #1950
  • Swiper: adding or removing slides requires notifying swiper to recalculate. #1955
  • Switch: UI issue when using the Dense or Label property with left-right text. #1963 #1985
  • Textarea: AutoGrow doesn't work. #1956
  • Textarea: incorrect font color when SoloInverted and focused. #1965
  • Toolbar: incorrect style when using the built-in color rules. #1959
  • MasaBlazorOptions should be registered as Scoped by default. #1945

♻️ Refactors

  • DataTable: optimize the logic for determining whether to display shadow for fixed columns. #1979
  • merge all code from BlazorComponent and remove its dependencies. #1936 #1939

📝 Documentation

  • Autocomplete: Update the usage example. #1957
  • DataTable: add example and support for editable cells. #1966
  • Forms: Update "Enable I18n". #1964
  • Treeview: use the internal data API. #1958
  • fix the cache issue when change the function name in masa-blazor.js. #1949 #1967
  • Supplementing the Chinese descriptions of some component APIs, thanks to @Lee-Lily-Lea #1988 #1989 #1991 #1990 #1994 #1997 #1998 #2001 #2000

🧩 Other

  • optimize release configuration to reduce file size. #1984

Full Changelog: 1.5.5...1.6.0

v1.6.0-beta.7

01 Jul 05:18
af96e03
Compare
Choose a tag to compare
v1.6.0-beta.7 Pre-release
Pre-release

What's Changed

  • Update dividers zh-CN.json by @Lee-Lily-Lea in #1997
  • Update borders zh-CN.json by @Lee-Lily-Lea in #1998
  • Update description api folder name by @capdiem in #1999
  • update page-to-api.json by @Lee-Lily-Lea in #2001
  • 🔧 chore: add push-NuGet workflows and update build workflow by @capdiem in #2002
  • Update drawers zh-CN.json by @Lee-Lily-Lea in #2000
  • 补充 组件API中文注释 by @Lee-Lily-Lea in #2007
  • 合并分隔线与分割线两种翻译 by @Lee-Lily-Lea in #2008
  • 🐛 fix(Select): Ref cannot be accessed yet when attach is true by @capdiem in #2012
  • 🐛 fix(DataTable): delayed assignment of Items doesn't work by @capdiem in #2005
  • 🐛 fix(Drawer): BodyStyle doesn't work by @capdiem in #2003

Full Changelog: 1.6.0-beta.6...1.6.0-beta.7

v1.6.0-beta.6

27 Jun 02:22
b407482
Compare
Choose a tag to compare
v1.6.0-beta.6 Pre-release
Pre-release

What's Changed

  • Update MCard-zh-CN.json by @Lee-Lily-Lea in #1988
  • Update MButton-zh-CN.json by @Lee-Lily-Lea in #1989
  • Create Defaults providers zh-CN.json by @Lee-Lily-Lea in #1991
  • Update chips zh-CN.json by @Lee-Lily-Lea in #1990
  • Create descriptions zh-CN.json by @Lee-Lily-Lea in #1994
  • 🐛 fix(Radio): missing ripple color by @capdiem in #1993
  • fix(EnqueuedSnackbars): fix the issue that may cause 'Collection was modified' by @capdiem in #1992
  • 🐛 fix(I18n): update the localized resources for Russian language by @capdiem in #1987
  • 📝 docs(PopupService): the code of advance example is outdated by @capdiem in #1986
  • 💄 style(Switch): error UI when using Inset and Dense together by @capdiem in #1985
  • chore(Divider): API version info was set on the wrong prop by @capdiem in #1996
  • refactor(DataTableHeader): refactor the code structure to retrieve API metadata by @capdiem in #1995

New Contributors

  • @Lee-Lily-Lea made their first contribution in #1988

Full Changelog: 1.6.0-beta.5...1.6.0-beta.6

v1.6.0-beta.5

26 Jun 01:58
ec223b7
Compare
Choose a tag to compare
v1.6.0-beta.5 Pre-release
Pre-release

What's Changed

  • 🐛 fix: unexpected closing parenthesis by @capdiem in #1973
  • feat(DatePicker): add support for click event for year, month and date by @capdiem in #1972
  • fix(Dialog): avoid the issue of potentially throwing exceptions when open and focus by @capdiem in #1970
  • 🐛 fix(BlockText): incorrect value set for key by @capdiem in #1978
  • 🐛 fix(Swiper): dispose exception by @capdiem in #1977
  • 💄 style(DataTable): Update the CSS by @capdiem in #1976
  • ⚰ refactor(Drop): remove duplicate parameters by @capdiem in #1975
  • 🐛 fix(DataTable): optimize the performance of the scroll event by @capdiem in #1974
  • ⚡ refactor(Table): optimize the logic for determining whether to display shadow for fixed columns by @capdiem in #1979
  • 🐛 fix(ProgressCircle): rotate doesn't work by @capdiem in #1981
  • 🆕 feat(Form): add support for validate single field by @capdiem in #1980
  • 🐛 fix(DataTable): Items can be null by @capdiem in #1983
  • 🆕 feat: add support for updating top defaults by @capdiem in #1982
  • 🔧 chore(release): optimize release configuration to reduce file size by @capdiem in #1984

Full Changelog: 1.6.0-beta.4...1.6.0-beta.5

v1.6.0-beta.4

17 Jun 03:57
8ad0262
Compare
Choose a tag to compare
v1.6.0-beta.4 Pre-release
Pre-release

What's Changed

  • style(Textarea): incorrect font color when SoloInverted and focused by @capdiem in #1965
  • Update wasm-prd.yml by @capdiem in #1967
  • 🆕 feat(DataTable): add example and support for editable cells by @capdiem in #1966
  • 🐛 fix(DataTable): Sorting and other operations are not working by @capdiem in #1969
  • 🐛 fix(Pagination): incorrect navigation style by @capdiem in #1968

Full Changelog: 1.6.0-beta.3...1.6.0-beta.4

v1.6.0-beta.3

13 Jun 03:51
102f848
Compare
Choose a tag to compare
v1.6.0-beta.3 Pre-release
Pre-release

What's Changed

  • Update index.html by @capdiem in #1948
  • 📝 (PWA): cache issue when change the function name in masa-blazor.js by @capdiem in #1949
  • 🐛 fix(PullRefresh): should not preventDefault on touch move by @capdiem in #1950
  • 🐛 fix(DataTable): add support for custom the header selection slot by @capdiem in #1951
  • fix(Swiper): adding or removing slides requires notifying swiper to recalculate by @capdiem in #1955
  • fix(PageTabs): RemoveAll method used the wrong argument by @capdiem in #1952
  • feat(ExpansionPanel): add the Title and Text props for rendering subcomponents by @capdiem in #1954
  • fix(EnqueuedSnackbars): fix the issue that may cause 'Collection was modified' by @capdiem in #1962
  • 📝 docs(Forms): Update docs by @capdiem in #1961
  • 🐛 fix(MobileCascader): the length of tab is not update after selection by @capdiem in #1960
  • 💄 style(Toolbar): incorrect style when using the built-in color rules by @capdiem in #1959
  • 🎬 docs(Treeview): use the internal data API by @capdiem in #1958
  • 🎬 docs(Autocomplete): Update the usage example by @capdiem in #1957
  • 🐛 fix(Textarea): AutoGrow doesn't work by @capdiem in #1956
  • 📝 docs(Forms): Update "Enable I18n" by @capdiem in #1964
  • style(Switch): UI issue when using the Dense or Label property with left-right text by @capdiem in #1963

Full Changelog: 1.6.0-beta.2...1.6.0-beta.3

v1.5.5

03 Jun 09:44
Compare
Choose a tag to compare

✨ Release notes

🔧 Bug Fixes

  • DataTable: add support for custom the header selection slot #1951

Full Changelog: 1.5.4...1.5.5