Skip to content

Releases: zdhxiong/mdui

v2.1.3

24 Oct 03:39
Compare
Choose a tag to compare

🐛 Bug Fixes

  • When the attribute value is false, the style incorrectly displays as true. (9634028)
  • text-field: Fixed scrollbar style for multi-line text field. (2576afc, #355, #338, #338)
  • text-field: Text no longer overlaps the label. (dad9107)
  • text-field: Fixed animation error for the label. (16fbb66, #354)
  • text-field: Height did not automatically revert when assigned to empty. (6c9ef64, #347)
  • text-field: Input event was incorrectly triggered twice. (95308da, #334)
  • text-field: Fixed the autocomplete attribute not functioning when type="password". (eeae202, #356 )
  • snackbar: Changed to vertical stacking display when multiple snackbars are shown simultaneously. (d699173, #350)
  • The functions alert, confirm, dialog, prompt, and snackbar incorrectly listened for event bubbling from child elements. (0032335, #353 )
  • dropdown, navigation-drawer, select, tabs, text-field, and tooltip components were not initialized correctly when added back into the DOM from the cache. (3bdd502, #341)
  • top-app-bar, bottom-app-bar, and navigation-bar components incorrectly added padding. (ed2c054, #343, #344)

🤝 New Contributors

Full Changelog: v2.1.2...v2.1.3

v2.1.2

16 Jul 08:44
Compare
Choose a tag to compare

🐛 Bug Fixes

  • text-field: Height can now be adjusted using the height CSS property. (2d5439b, #313)
  • Added flex-shrink: 0 to prevent components from being compressed (56a1a1d)
  • icon: Added font-display: block to prevent material icons from displaying text before the icon font loads (19b0cbd)
  • dialog: Set panel's background color (--mdui-color-background) to match its backdrop color (102356b, #311)
  • Updated module paths in custom-elements.json to use .js suffix (8fac167, #323)
  • text-field: Fixed issue where a value of 0 was incorrectly interpreted as empty (1854543, #332)
  • select: Trimmed whitespace from text values (ae4cce7, #330)
  • text-field: Removed placeholder space if prefix or suffix slots are not present (5ab270e, #327)

📄 Documentation

  • Added integration documentation for Aurelia2 and Webcell

Full Changelog: Comparison between v2.1.1 and v2.1.2

v2.1.1

08 Apr 07:17
Compare
Choose a tag to compare

🐛 Bug Fixes

  • missing file extensions

v2.1.0

07 Apr 15:03
Compare
Choose a tag to compare

🚀 New Features

  • Added localization feature with language packs for 64 regions. Implemented three functions - loadLocale, setLocale, and getLocale - for localization.
  • The select component now exports CSS parts for chip and text-field internals.

v2.0.6

18 Feb 09:32
Compare
Choose a tag to compare

🐛 Bug Fixes

  • Lost bundled files

v2.0.5

18 Feb 07:41
Compare
Choose a tag to compare

🐛 Bug Fixes

  • Revert ScrollBehaviorMixin (6d4ad19)

v2.0.4

17 Feb 09:09
Compare
Choose a tag to compare

🚀 New Features

  • Added English documentation
  • Added JSX TypeScript type declarations

🐛 Bug Fixes

  • Issue with the observeResize function not immediately executing the first callback when multiple listeners are added to the same element.(e99d665)
  • Animation error in the navigation-drawer component when rapidly closing and reopening.(800f064)
  • The lockScreen function now correctly reserves scrollbar width only when a scrollbar is present.(8bde76d)
  • Fixed font-weight style not taking effect on the button component.(92c50b1 #291)

v2.0.3

03 Dec 06:11
Compare
Choose a tag to compare

🐛 Bug 修复

  • 修复了 range-slider 组件在含初始值时的赋值问题 ( bcb7b3c )
  • 将 mdui-collapse、mdui-collapse-item 组件添加到 HTMLElementTagNameMap ( bcb7b3c #284)
  • 移除了 mdui-list 组件的默认链接样式 ( f0b1581 #285)
  • 修复了子组件不存在时点击导致的报错。涉及组件:collapse, menu, navigation-bar, navigation-rail, radio-group, segmented-button-group, tabs ( 2747185 )
  • 当 slider, range-slider 的 value 不在 min、max、step 的限制范围内时,现在支持自动修正值 ( 5f996c2 #283)
  • 修复了 segmented-button-group 在选中状态时的错位问题 ( 728bc3d )
  • 限制了 navigation-drawer 在窄屏幕上的最大宽度为 80% ( 2bf4e75 )
  • dropdown, tooltip 现在会监听所有支持 overflow 的父元素滚动 ( fbade5b #282)

💅 优化

  • 添加了组件的事件类型声明 ( 4f9c2e1 )

v2.0.2

15 Nov 08:31
Compare
Choose a tag to compare

🐛 Bug 修复

  • slider 组件在 firefox 上样式错误 b4d4abe
  • dialog、navigation-drawer 组件打开时通过计算滚动条宽度来避免页面内容抖动 8540228
  • 使用 Tab 切换焦点时,组件的聚焦状态错误 8cc8f25
  • 部分组件在初始化时,由于页面未加载完成,或关联的组件未初始化完成,导致的bug aad2eeb #273

📦 依赖更新

  • Lit 更新到 v3.0

v2.0.1

17 Oct 01:54
Compare
Choose a tag to compare

全新的使用 Material You 设计规范的 mdui 发布