tdesign_flutter 0.1.7 tdesign_flutter: ^0.1.7 copied to clipboard
Tencent TDesign UI component library of Flutter, suitable for use in mobile projects.
🌈 0.1.7 2024-10-16
#
🚀 Features #
TDNoticeBar
: Added noticeBar component @ccXxx1aoBai (#162)Result
: Added Result component @shinyina (#220)TimeCounter
: Timer component supports time display beyond conversion units, original TDCountDown component renamed to TimeCounter @hkaikai (#272)Calendar
: Added Calendar component @hkaikai (#271)Indexes
: Added Indexes component @hkaikai (#321)Table
: Added table component @ccXxx1aoBai (#244)Rate
: Added Rate component @hkaikai (#338)Dialog
: Supports custom content padding and buttons @ccXxx1aoBai (#289)Drawer
: Supports controlling the visibility of the divider, custom drawer background color, and controlling the display of the last divider @ccXxx1aoBai (#278)DropdownMenu
: Added control parameters for icon/width/height/icon and text alignment @hkaikai (#297)Search
: Added action and onActionClick properties @Ezer015 (#263)Avatar
: Added onTap event @ccXxx1aoBai (#344)TDDropdownMenu
: Added tabBarFlex parameter to TDDropdownItem to control width ratio @hkaikai (#338)SearchBar
: Feature/td searchbarfix added cursor height property @shizhe2018 (#337)TimeCounter
: Added forward timing function @epoll-j (#246)NavBar
: [NavBar] supports setting bottom shadow @ccXxx1aoBai (#284)Cell
: Added custom padding parameter @epoll-j (#276)Input
: Added onTapOutside callback @epoll-j (#280)Picker
: Added custom leftText, rightText @epoll-j (#301)Slider
: Feature/tdslider added text wrapping function @shizhe2018 (#329)Radio
: Feature/tdRadioGroup added built-in line wrapping, set number of rows and columns @shizhe2018 (#331)Dialog
: Added custom input box @shizhe2018 (#333)TDNavBar
: Added flexibleSpace parameter @Luozf12345 (#341)TDSearch
: Added search box focus acquisition and clear events @Luozf12345 (#342)
🐞 Bug Fixes #
ImageViewer
: Fixed defaultIndex invalid issue @ccXxx1aoBai (#292)TimeCounter
: Fixed issue where it could not be reset repeatedly @hkaikai (#272)DropdownMenu
: Adjusted popup layer logic, fixed issue where back button could not be listened to @hkaikai (#297)DatePicker
: Removed monitoring on year, month, and day when destroyed to avoid memory leaks; added onSelectedItemChanged event @hkaikai (#300)SideBar
: Fixed issue where custom selected style text was not centered @ccXxx1aoBai (#313)Popup
: Fixed issue where multiple returns occurred when quickly clicking the mask @ccXxx1aoBai (#318)ImageViewer
: Fixed issue where deleting the first image caused display anomalies @ccXxx1aoBai (#322)SideBar
: Fixed issue where delayed loading components caused anchor point function anomalies @ccXxx1aoBai (#343)TDDropdownMenu
: Optimized menu display text to show ellipsis when exceeding display limit @hkaikai (#338)NoticeBar
: Fixed issue where it could not follow the theme color @ccXxx1aoBai (#350)Button
: Fixed overflow issue when setting shape to square or circle @epoll-j (#257)Slider
: Bugfix: Fixed issue where tb_slider setState did not update @arvinwli (#298)Cascader
: Fixed list sorting issue @shizhe2018 (#303)Popup
: Fixed issue where the keyboard would cover the input box in the Popup @epoll-j (#264)Cascader
: Fixed linkage time limit range logic @shizhe2018 (#242)Loading
: Fixed issue where dismissing Loading immediately after showing did not take effect @Luozf12345 (#340)
🚧 Others #
- fix: remove useless output. @Ives7 (#311)
🌈 0.1.6 2024-07-24
#
🚀 Features #
Cell
: Added Cell component @hkaikai (#150)Drawer
: Added Drawer component @hkaikai (#178)SwipeCell
: Added SwipeCell component @hkaikai (#218)Steps
: Added Steps component @aaronmhl (#199)ImageViewer
: Added ImageViewer component @ccXxx1aoBai (#187)Cascader
: Added Cascader component @shizhe2018 (#195)Fab
: Added Fab component @TingShine (#239)BackTop
: Added BackTop component @TingShine (#239)TreeSelect
: Added TreeSelect component @TingShine (#239)Collapse
: Added Collapse component @dorayx (#239)Input
: Added inputAction API to support setting keyboard actions; added spacer API to customize component spacing @ccXxx1aoBai (#184)Text
: Added global font configuration and the ability to load web fonts @Luozf12345 (#232)CountDown
: Added start/reset/pause/resume control functions @hkaikai (#175)Popup
: Supported position and size settings @hkaikai (#191)
🐞 Bug Fixes #
Toast
: Fixed the issue where the duration attribute was ineffective @ccXxx1aoBai (#167)Input
: Fixed the label overflow issue @ccXxx1aoBai (#184)Tabs
: For the tabs component, outlineType 'capsule' now supports setting selected and unselected tab background colors, and outlineType 'card' supports setting the selected tab background color @ccXxx1aoBaiButton
: Fixed the issue where properties could not be changed under the setState method @shizhe2018 (#201)SearchBar
: Added a controller to the search bar, allowing external clearing of search text @shizhe2018 (#194)Slider
: Added custom Decoration styles @shizhe2018 (#198)Empty
: Added text size style API @shizhe2018 (#219)Dialog
: Added input type background @shizhe2018 (#238)
🚧 Others #
- HarmonyOS compilation support @hkaikai (#233)
- Modified theme adaptation tool @Luozf12345
- Added GitHub links for complete pages in demo code @Luozf12345
🌈 0.1.5 2024-05-31
#
🚀 Features #
TDDropdownMenu
:- add: Added TDDropdownMenu dropdown menu component @hkaikai
TDTextarea
:- add: Added Textarea multiline text box component @hkaikai
TDBottomTabBar
:TDBadge
:- add: TDBadge badge visibility setting when value is 0 @ccXxx1aoBai
TDRadio
:TDCheckbox
:- add: TDCheckbox added custom text color
- add: Added API to remove left margin
TDImage
:TDInput
:TDDivider
:- add: Added text style size setting for divider component (#134)
TDToast
:- add: Toast added attribute for custom text length (#148)
TDSideBar
:
🐞 Bug Fixes #
TDButton
:- fix: Added mounted judgment before setState() (#122)
TDDialog
:- fix: Modified Dialog to only auto-close when no action is set, if action is set, closing time is handled by the business itself (#117)
🚧 Others #
- Added international language adaptation function
- Adapted to 3.16 text centering, added TDTextConfig usage document
🌈 0.1.4 2024-04-08
#
🚀 Features #
TDCountDown
:- add: Added TDCountDown countdown component @hkaikai
TDTheme
:- add: Modified the theme implementation method, supporting ref attribute for custom mapping
- add: Added default number font numberFontFamily
TDText
:- add: Added TDText force center switch kTextForceVerticalCenterEnable, which can globally disable forced centering to prevent excessive text offset after flutter 3.16 version (#35)
TDBottomTabBar
:- add: Added custom background color feature (#55)
TDCheckbox
:TDTabBar
:- add: TDTabBar adds custom settings for divider color and height (#71)
TDSwitch
:- add: TDSwitch supports custom "on/off" text (#73)
TDDialog
:- add: Added custom title alignment and content Widget feature (#58)
🐞 Bug Fixes #
TDSlider
:- fix: Fixed an issue where TDSlider setting showThumbValue does not work.
TDButton
:- fix: Fixed an issue where the external setting of the theme color for TDButton does not take effect (#54)
TDInput
:
🚧 Others #
- Example application, added a button to modify the theme, can quickly modify the theme color
🌈 0.1.3 2024-03-15
#
🚀 Features #
TDButton
:- add: Support for customizing the corner radius size through TDButtonStyle.radius
TDPicker
:- add: Picker component scrolling on PC now supports mouse dragging
- add: For TDPicker and TDDatePicker components, the onConfirm no longer defaults to pop up the component internally, allowing external customization; when OnCancel is not empty, the component will not automatically pop.
TDSwitch
:- add: onChanged now supports externally specifying whether to consume the event. If it has been consumed, it will no longer be processed internally (#27)
TDBottomTabBar
:- add: Added custom label text style, optimized labText and icon parameter passing (#49)
🐞 Bug Fixes #
TDNavBar
:- fix: The height of NavBar is now obtained in real time to prevent it from not being available at the beginning (#34)
TDDialog
:- fix: The contentColor parameter in DialogInfo was not passed in (#37)
TDButton
:- fix: The click disable effect of TDButton is invalid (#44)
TDInput
:TDAlertDialog
:- fix: The operation of the default button of the component is open (#40)
TDRadio
:- fix: Horizontal arrangement will force the addition of an underline (#40)
TDTabBar
:- fix: The indicatorColor does not take effect (#31)
🚧 Others #
- Optimized the performance of commonly used components such as TDButton, TDText, TDTheme, etc.
🌈 0.1.2 2024-01-08
#
🚀 Features #
TDImage
:- add: Added FitWidth type to the image, modified the corresponding Demo page (#14)
TDLoading
:- add: Added methods for showing and hiding loading (#15)
TDPopup
:- add: Added support for customizing the round corners (#17)
TDAvatar
:- add: When the avatar type is character or icon, support for customizing the background color is added (#20)
🐞 Bug Fixes #
TDBottomTabBar
:- Added a safe area, fixed (#1)
TDButton
:- update widget: Button's disable status can be updated
- fix: Button click state is too short (#13)
TDSwiper
:- fix: Adapted swiper vertical dot bar style (#19)
TDInput
:- fix: The setting of leftLabelStyle does not take effect when type is TDInputType.twoLine (#21)
🚧 Others #
- The minimum compatible version has been changed to 3.7.0 (#3)
0.1.1 #
- reset code style, can run on 3.7.x
0.1.0 #
- publisher to pub.dev stable
0.0.9 #
- update code style
0.0.8 #
- update License
0.0.7 #
- update example main.dart
0.0.6 #
- update slider component, make it is not depend on flutter sdk version
0.0.5 #
- publisher to pub.dev
0.0.4 #
- fix some bugs
0.0.3 #
- delete default value of TDText's package prop, allow set it null value
0.0.2 #
- update ReadMe.md, modify export file is 'tdesign_flutter.dart'
0.0.1 #
- the first version, add button,text and other components.