Releases: zdhxiong/mdui
Releases · zdhxiong/mdui
v2.1.3
🐛 Bug Fixes
- When the attribute value is
false
, the style incorrectly displays astrue
. (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 whentype="password"
. (eeae202, #356 ) - snackbar: Changed to vertical stacking display when multiple snackbars are shown simultaneously. (d699173, #350)
- The functions
alert
,confirm
,dialog
,prompt
, andsnackbar
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
- @CarlosEGuerraSilva made their first contribution in #355
- @swagliquido made their first contribution in #356
Full Changelog: v2.1.2...v2.1.3
v2.1.2
🐛 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
orsuffix
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
v2.1.0
v2.0.6
v2.0.5
v2.0.4
🚀 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
🐛 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 )