Skip to content

Releases: masastack/MASA.Blazor

v1.8.2

18 Dec 06:27
Compare
Choose a tag to compare

✨ Release notes

🐛 Bug fixes

  • SimpleCheckbox: incorrect behavior of color (#2279)
  • TextField: ensure getting the latest value in OnEnter event (#2285)
  • Cron: MultipleCtorsFound (#2286)
  • ListItem: do not wait for the JS blur interop (#2287)

Full Changelog: 1.8.1...1.8.2

v1.8.1

09 Dec 01:59
dc28423
Compare
Choose a tag to compare

✨ Release notes

🐛 Bug fixes

  • Descriptions: column can be zero now (#2273)
  • DataTable: selection shouldn't be reset when paginate in server-side items (#2272)
  • TextField: failed to set max and min values (#2274)

Full Changelog: 1.8.0...1.8.1

v1.8.0

04 Dec 03:01
78bbfb1
Compare
Choose a tag to compare

⬆️ Upgrade guide

  • Pagination: The way to set the shadow is changed from setting the box-shadow style to using the Elevation parameter. If you use custom styles, please note to modify to use the elevation style.
- <MPagination Class="css-to-hide-shadow" />
+ <MPagination Elevation="0" />

✨ Release notes

🎉 New components

  • Sticky: make elements stick of the viewport when scrolling #2190

🚀 Features

  • Touching to expand or collapse is supported!

    • NavigationDrawer: add support for touch to expand or collapse #2220
    • PageStack: add support for closing page via gesture touch #2221
  • Menu: add ScrollStrategy parameter with default value 'reposition' #2194

    When the menu is displayed, you can set the behavior of the menu when scrolling. There are four behaviors to choose from:

    • reposition: When the menu exceeds the viewport, automatically adjust the position of the menu to make it fully displayed in the viewport
    • block: Disable scrolling, the scrollbar will be hidden
    • close: Close the menu when scrolling
    • none: Do nothing, the position of the menu will not be readjusted
  • PageStack: add an event for changes to currently active tab. #2217 #2218

    @inject PageStackNavController NavController
    @implements IDisposable
    
    @code {
      protected override void OnInitialized()
      {
          NavController.TabChanged += NavControllerOnTabChanged;
      }
    
      private void NavControllerOnTabChanged(object? sender, PageStackTabChangedEventArgs e)
      {
          // Do something when the active tab changes
          // for example, hide a sheet when navigating to another tab
          // ...
    
          InvokeAsync(StateHasChanged);
      }
    
      public void Dispose()
      {
          NavController.TabChanged -= NavControllerOnTabChanged;
      }
    }
  • DataTable: add support for displaying index column by the new ShowSerialNumber parameter #2200

  • DataTable: add support for setting columns to be non-resizable when ResizeMode is enabled #2223

  • Dialog: add DisableAutoFocus parameter #2261

  • DigitalClock: add HideDisallowedTimes and support auto scroll to the adjacent time on first render #2195

  • PageStack: add support for clearing stack on push or replace #2246

  • TextField: add support for setting precision for number type #2226 #2264

🐛 Bug fixes

  • AppBar: ElevateOnScroll doesn't work after refreshing when hosted in global server #2243
  • AppBarNavIcon: class generation error #2234
  • BottomNavigation: button hover state still exists after click #2262
  • CarouselItem: the root tag should be a when Href is not null #2250
  • DataTable: FixedHeader doesn't work when columns are resizable #2222
  • Descriptions: ignore breakpoints when setting Column #2214
  • FluentValidator: Correctly unsubscribe from EditContext events in Dispose method #2219
  • MobileCascader: the scroll should display after clicking cancle or confirm #2265
  • PageStack: cannot scroll in iOS #2269
  • PageStack: closest element may not exists when touching #2267
  • PopupService: shouldn't remove the enqueued-snackbars when invoking clear #2212
  • Slider: incorrect transform style settings #2215
  • TabItem: transition settings not work when used in the tabs #2225
  • Tabs: the placeholder of prev and next buttons always show on mobile #2202
  • ImageCapture/Watermark: bump SkiaSharp.* to 3.116.0 #2271

♻️ Refactors

  • Pagination: change shadow style to use elevation atomic css #2191
  • JS: refactor bundling method to reduce ES module size #2252 #2254

📝 Documentation

Full Changelog: 1.7.8...1.8.0

v1.8.0-rc.4

26 Nov 06:17
5ae67de
Compare
Choose a tag to compare
v1.8.0-rc.4 Pre-release
Pre-release

What's Changed

  • feat(Dialog): add DisableAutoFocus parameter by @capdiem in #2261
  • fix(BottomNavigation): button hover state still exists after click by @capdiem in #2262
  • fix(TextField): handle a case when Type is 'number' and Value is type of string by @capdiem in #2264

Full Changelog: 1.8.0-rc.3...1.8.0-rc.4

v1.8.0-rc.3

21 Nov 09:23
6646e6c
Compare
Choose a tag to compare
v1.8.0-rc.3 Pre-release
Pre-release

What's Changed

  • refactor(JS): refactor bundling method to reduce ES module size by @capdiem in #2252
  • refactor(JS): replace NodeList with Array.from for better compatibility by @capdiem in #2254
  • test: update unit tests by @capdiem in #2255

Full Changelog: 1.8.0-rc.2...1.8.0-rc.3

v1.8.0-rc.2

19 Nov 05:22
1730deb
Compare
Choose a tag to compare
v1.8.0-rc.2 Pre-release
Pre-release

What's Changed

  • 🚸 feat: enhance the errror handling message in index.html by @capdiem in #2230
  • 🐛 fix(AppBarNavIcon): class generation error by @capdiem in #2234
  • 🆕feat(PageStack): add support for clearing stack on push or replace by @capdiem in #2246
  • 🐛 fix(AppBar): ElevateOnScroll doesn't work after refreshing when hosted in global server by @capdiem in #2243
  • 📝 docs: complete the dialog api descriptions by @VleaStwo in #2247
  • ⬆ chore: replace DeepCloner with DeepCloner.Core by @capdiem in #2248
  • 🐛 fix(CarouselItem): the root tag should be a when Href is not null by @capdiem in #2250
  • 📝 docs: update notices and upgrade-guides by @capdiem in #2251

Full Changelog: 1.8.0-rc.1...1.8.0-rc.2

v1.8.0-rc.1

13 Nov 08:59
34363f5
Compare
Choose a tag to compare
v1.8.0-rc.1 Pre-release
Pre-release

⬆️ Upgrade guide

  • Pagination: The way to set the shadow is changed from setting the box-shadow style to using the Elevation parameter. If you use custom styles, please note to modify to use the elevation style.
- <MPagination Class="css-to-hide-shadow" />
+ <MPagination Elevation="0" />

✨ Release notes

🎉 New components

  • Sticky: make elements stick of the viewport when scrolling #2190

🚀 Features

  • Touching to expand or collapse is supported!

    • NavigationDrawer: add support for touch to expand or collapse #2220
    • PageStack: add support for closing page via gesture touch #2221
  • Menu: add ScrollStrategy parameter with default value 'reposition' #2194

    When the menu is displayed, you can set the behavior of the menu when scrolling. There are four behaviors to choose from:

    • reposition: When the menu exceeds the viewport, automatically adjust the position of the menu to make it fully displayed in the viewport
    • block: Disable scrolling, the scrollbar will be hidden
    • close: Close the menu when scrolling
    • none: Do nothing, the position of the menu will not be readjusted
  • PageStack: add an event for changes to currently active tab. #2217 #2218

    @inject PageStackNavController NavController
    @implements IDisposable
    
    @code {
      protected override void OnInitialized()
      {
          NavController.TabChanged += NavControllerOnTabChanged;
      }
    
      private void NavControllerOnTabChanged(object? sender, PageStackTabChangedEventArgs e)
      {
          // Do something when the active tab changes
          // for example, hide a sheet when navigating to another tab
          // ...
    
          InvokeAsync(StateHasChanged);
      }
    
      public void Dispose()
      {
          NavController.TabChanged -= NavControllerOnTabChanged;
      }
    }
  • DataTable: add support for displaying index column by the new ShowSerialNumber parameter #2200

  • DataTable: add support for setting columns to be non-resizable when ResizeMode is enabled #2223

  • DigitalClock: add HideDisallowedTimes and support auto scroll to the adjacent time on first render #2195

  • TextField: add support for setting precision for number type #2226

🐛 Bug fixes

  • Tabs: the placeholder of prev and next buttons always show on mobile #2202
  • Slider: incorrect transform style settings #2215
  • Descriptions: ignore breakpoints when setting Column #2214
  • PopupService: shouldn't remove the enqueued-snackbars when invoking clear #2212
  • FluentValidator: Correctly unsubscribe from EditContext events in Dispose method #2219
  • DataTable: FixedHeader doesn't work when columns are resizable #2222
  • TabItem: transition settings not work when used in the tabs #2225

♻️ Refactors

  • Pagination: change shadow style to use elevation atomic css #2191

Full Changelog: 1.7.8...1.8.0-rc.1

v1.7.8

01 Nov 03:52
Compare
Choose a tag to compare

✨ Release notes

🔧 Bug Fixes

  • Theme: UserDefined doesn't work. #2207
  • Form: validation fails after Model changed. #2209 #2210

Full Changelog: 1.7.7...1.7.8

v1.7.7

23 Oct 03:21
Compare
Choose a tag to compare

✨ Release notes

🔧 Bug Fixes

  • compatibility with .NET 9. #2201

Full Changelog: 1.7.6...1.7.7

v1.7.6

22 Oct 03:43
bf12034
Compare
Choose a tag to compare

✨ Release notes

🔧 Bug Fixes

  • Treeview: initial value does not work. #2196
  • Treeview: select state may be incorrect. #2197

Full Changelog: 1.7.5...1.7.6