রচনা উপাদান 3
সর্বশেষ আপডেট | স্থিতিশীল রিলিজ | প্রার্থী মুক্তি | বিটা রিলিজ | আলফা রিলিজ |
---|---|---|---|---|
20 মে, 2025 | 1.3.2 | - | - | 1.4.0-আলফা15 |
গঠন
কম্পোজ হল androidx
মধ্যে সাতটি Maven গ্রুপ আইডির সমন্বয়। প্রতিটি গোষ্ঠীতে কার্যকারিতার একটি লক্ষ্যযুক্ত উপসেট রয়েছে, প্রতিটির নিজস্ব রিলিজ নোটের সেট রয়েছে।
এই টেবিলটি রিলিজ নোটের প্রতিটি সেটের গ্রুপ এবং লিঙ্কগুলি ব্যাখ্যা করে।
গ্রুপ | বর্ণনা |
---|---|
compose.animation | ব্যবহারকারীর অভিজ্ঞতাকে সমৃদ্ধ করতে তাদের জেটপ্যাক রচনা অ্যাপ্লিকেশনগুলিতে অ্যানিমেশন তৈরি করুন। |
compose.compiler | @Composable ফাংশন ট্রান্সফর্ম করুন এবং একটি Kotlin কম্পাইলার প্লাগইন দিয়ে অপ্টিমাইজেশান সক্ষম করুন। |
compose.foundation | বিল্ডিং ব্লক ব্যবহার করার জন্য প্রস্তুত সহ জেটপ্যাক কম্পোজ অ্যাপ্লিকেশন লিখুন এবং আপনার নিজস্ব ডিজাইন সিস্টেম টুকরা তৈরি করতে ভিত্তি প্রসারিত করুন। |
compose.material | মেটেরিয়াল ডিজাইন কম্পোনেন্ট ব্যবহারের জন্য প্রস্তুত জেটপ্যাক কম্পোজ UI তৈরি করুন। এটি রচনার উচ্চ স্তরের এন্ট্রি পয়েন্ট, যা www.material.io-তে বর্ণিত উপাদানগুলির সাথে মেলে এমন উপাদানগুলি প্রদান করার জন্য ডিজাইন করা হয়েছে৷ |
compose.material3 | মেটেরিয়াল ডিজাইন 3 উপাদান সহ জেটপ্যাক কম্পোজ UI তৈরি করুন, মেটেরিয়াল ডিজাইনের পরবর্তী বিবর্তন। মেটেরিয়াল 3-এ আপডেটেড থিমিং এবং উপাদান এবং মেটেরিয়াল ইউ ব্যক্তিগতকরণ বৈশিষ্ট্য রয়েছে যেমন ডায়নামিক কালার, এবং নতুন Android 12 ভিজ্যুয়াল স্টাইল এবং সিস্টেম UI এর সাথে সমন্বয় করার জন্য ডিজাইন করা হয়েছে। |
compose.runtime | কম্পোজের প্রোগ্রামিং মডেল এবং স্টেট ম্যানেজমেন্টের মৌলিক বিল্ডিং ব্লক এবং কম্পোজ কম্পাইলার প্লাগইনকে লক্ষ্য করার জন্য মূল রানটাইম। |
compose.ui | লেআউট, অঙ্কন এবং ইনপুট সহ ডিভাইসের সাথে ইন্টারঅ্যাক্ট করার জন্য কম্পোজ UI এর মৌলিক উপাদানগুলি প্রয়োজন। |
নির্ভরতা ঘোষণা করা
রচনার উপর নির্ভরতা যোগ করতে, আপনাকে অবশ্যই আপনার প্রকল্পে Google Maven সংগ্রহস্থল যোগ করতে হবে। আরও তথ্যের জন্য Google এর Maven সংগ্রহস্থল পড়ুন।
আপনার অ্যাপ বা মডিউলের জন্য build.gradle
ফাইলে আপনার প্রয়োজনীয় আর্টিফ্যাক্টগুলির জন্য নির্ভরতা যোগ করুন:
Groovy
dependencies { implementation "androidx.compose.material3:material3:1.3.2" implementation "androidx.compose.material3:material3-window-size-class:1.3.2" implementation "androidx.compose.material3:material3-adaptive-navigation-suite:1.4.0-alpha15" } android { buildFeatures { compose true } composeOptions { kotlinCompilerExtensionVersion = "1.1.1" } kotlinOptions { jvmTarget = "1.8" } }
Kotlin
dependencies { implementation("androidx.compose.material3:material3:1.3.2") implementation("androidx.compose.material3:material3-window-size-class:1.3.2") implementation("androidx.compose.material3:material3-adaptive-navigation-suite:1.4.0-alpha15") } android { buildFeatures { compose = true } composeOptions { kotlinCompilerExtensionVersion = "1.1.1" } kotlinOptions { jvmTarget = "1.8" } }
নির্ভরতা সম্পর্কে আরও তথ্যের জন্য, বিল্ড নির্ভরতা যুক্ত করুন দেখুন।
প্রতিক্রিয়া
আপনার প্রতিক্রিয়া জেটপ্যাককে আরও ভাল করতে সাহায্য করে। আপনি যদি নতুন সমস্যা আবিষ্কার করেন বা এই লাইব্রেরির উন্নতির জন্য ধারনা পান তাহলে আমাদের জানান। আপনি একটি নতুন তৈরি করার আগে অনুগ্রহ করে এই লাইব্রেরিতে বিদ্যমান সমস্যাগুলি দেখুন৷ আপনি তারকা বোতামে ক্লিক করে একটি বিদ্যমান সমস্যায় আপনার ভোট যোগ করতে পারেন।
আরও তথ্যের জন্য ইস্যু ট্র্যাকার ডকুমেন্টেশন দেখুন।
রচনা উপাদান3 সাধারণ সংস্করণ 1.0
সংস্করণ 1.0.0-alpha01
এপ্রিল 17, 2024
androidx.compose.material3:material3-common:1.0.0-alpha01
, androidx.compose.material3:material3-common-android:1.0.0-alpha01
, এবং androidx.compose.material3:material3-common-desktop:1.0.0-alpha01
প্রকাশ করা হয়েছে। সংস্করণ 1.0.0-alpha01-এ এই কমিট রয়েছে।
নতুন বৈশিষ্ট্য
থিমবিহীন উপাদান যা মেটেরিয়াল ডিজাইনের উপাদান তৈরি করতে ব্যবহার করা যেতে পারে:
- টোনাল প্যালেট
- আইকন
- টাচ টার্গেট সাইজ
রচনা Material3 অভিযোজিত নেভিগেশন স্যুট সংস্করণ 1.0
সংস্করণ 1.0.0-alpha07
1 মে, 2024
androidx.compose.material3:material3-adaptive-navigation-suite:1.0.0-alpha07
, androidx.compose.material3:material3-adaptive-navigation-suite-android:1.0.0-alpha07
, এবং androidx.compose.material3:material3-adaptive-navigation-suite-desktop:1.0.0-alpha07
প্রকাশ করা হয়েছে। সংস্করণ 1.0.0-alpha07-এ এই কমিট রয়েছে।
এপিআই পরিবর্তন
- নেভিগেশন স্যুট এপিআইগুলিকে অ-পরীক্ষামূলক করুন ( If62af )
বাগ ফিক্স
- ডিফল্টরূপে সামগ্রীর জন্য ইনসেটগুলি ব্যবহার করুন ( 50266df )
সংস্করণ 1.0.0-alpha06
এপ্রিল 17, 2024
androidx.compose.material3:material3-adaptive-navigation-suite:1.0.0-alpha06
, androidx.compose.material3:material3-adaptive-navigation-suite-android:1.0.0-alpha06
, এবং androidx.compose.material3:material3-adaptive-navigation-suite-desktop:1.0.0-alpha06
প্রকাশিত হয়েছে। সংস্করণ 1.0.0-alpha06-এ এই কমিট রয়েছে।
এপিআই পরিবর্তন
-
NavigationSuiteScaffoldDefaults
এcontainerColor
এবংcontentColor
যোগ করুন। ( I64e3a , b/331993720 ) -
NavigationSuiteDefaults
এitemColors
ফাংশন যোগ করা হচ্ছে। ( IDf719 , b/328480012 ) -
NavigationSuiteScope
সীলমোহর করুন। ( আইইএফএ৫৭ )
সংস্করণ 1.0.0-alpha05
6 মার্চ, 2024
androidx.compose.material3:material3-adaptive-navigation-suite:1.0.0-alpha05
, androidx.compose.material3:material3-adaptive-navigation-suite-android:1.0.0-alpha05
, এবং androidx.compose.material3:material3-adaptive-navigation-suite-desktop:1.0.0-alpha05
প্রকাশিত হয়েছে। সংস্করণ 1.0.0-alpha05-এ এই কমিট রয়েছে।
এপিআই পরিবর্তন
-
NavigationSuiteItemColors
কনস্ট্রাক্টরকে সর্বজনীন করুন। ( Ica83a , b/324886877 )
সংস্করণ 1.0.0-alpha04
ফেব্রুয়ারি 21, 2024
androidx.compose.material3:material3-adaptive-navigation-suite:1.0.0-alpha04
, androidx.compose.material3:material3-adaptive-navigation-suite-android:1.0.0-alpha04
, এবং androidx.compose.material3:material3-adaptive-navigation-suite-desktop:1.0.0-alpha04
প্রকাশিত হয়েছে। সংস্করণ 1.0.0-alpha04 এই কমিট ধারণ করে।
নির্ভরতা আপডেট
- নতুন মডিউল পাথগুলিতে Material3 অভিযোজিত নির্ভরতা আপডেট করুন। ( Ibc421 )
- উইন্ডো সাইজ ক্লাসের উইন্ডো ম্যানেজার সংস্করণ ব্যবহার করতে মাইগ্রেট করুন। ( I3794d )
সংস্করণ 1.0.0-alpha03
7 ফেব্রুয়ারি, 2024
androidx.compose.material3:material3-adaptive-navigation-suite:1.0.0-alpha03
, androidx.compose.material3:material3-adaptive-navigation-suite-android:1.0.0-alpha03
, এবং androidx.compose.material3:material3-adaptive-navigation-suite-desktop:1.0.0-alpha03
প্রকাশিত হয়েছে। সংস্করণ 1.0.0-alpha03 এই কমিট ধারণ করে।
এপিআই পরিবর্তন
- নেভিগেশন-স্যুট ( I7eff7 ) থেকে নেভিগেশনস্যুয়েটে প্যাকেজের নাম আপডেট করুন
- Material3 উপাদানগুলি তাদের API-এ একটি
MutableInteractionSource
প্রকাশ করে এখন একটি বাতিলযোগ্যMutableInteractionSource
প্রকাশ করার জন্য আপডেট করা হয়েছে যা ডিফল্ট নাল। এখানে কোন শব্দার্থিক পরিবর্তন নেই: নাল পাস করার অর্থ হল আপনিMutableInteractionSource
উত্থাপন করতে চান না এবং প্রয়োজন হলে এটি উপাদানের ভিতরে তৈরি করা হবে। null এ পরিবর্তন করা কিছু উপাদানকে কখনোই একটিMutableInteractionSource
বরাদ্দ করতে দেয় না, এবং অন্যান্য উপাদানগুলিকে শুধুমাত্র অলসভাবে একটি উদাহরণ তৈরি করার অনুমতি দেয় যখন তাদের প্রয়োজন হয়, যা এই উপাদানগুলির মধ্যে কর্মক্ষমতা উন্নত করে। আপনি যদি এই উপাদানগুলিতে পাস করাMutableInteractionSource
ব্যবহার না করেন, তাহলে এর পরিবর্তে আপনি null পাস করার পরামর্শ দেওয়া হয়। এটিও সুপারিশ করা হয় যে আপনি আপনার নিজের উপাদানগুলিতে অনুরূপ পরিবর্তন করুন৷ ( I41abb , b/298048146 )
সংস্করণ 1.0.0-alpha02
13 ডিসেম্বর, 2023
androidx.compose.material3:material3-adaptive-navigation-suite:1.0.0-alpha02
, androidx.compose.material3:material3-adaptive-navigation-suite-android:1.0.0-alpha02
, এবং androidx.compose.material3:material3-adaptive-navigation-suite-desktop:1.0.0-alpha02
প্রকাশিত হয়েছে। সংস্করণ 1.0.0-alpha02 এই কমিট ধারণ করে।
নতুন বৈশিষ্ট্য
- একটি 'কিছুই নয়'
NavigationSuiteType
যোগ করুন ( If8cb1 , b/313688598 )
বাগ ফিক্স
- যখন রুট পৃষ্ঠে
modifier.fillMaxSize
থাকে তখন পুরো স্ক্রীন ভর্তি নেভিগেশন উপাদান ঠিক করুন। ( c9cf250 , b/312664933 )
সংস্করণ 1.0.0-alpha01
15 নভেম্বর, 2023
androidx.compose.material3:material3-adaptive-navigation-suite:1.0.0-alpha01
প্রকাশিত হয়েছে৷ সংস্করণ 1.0.0-alpha01-এ এই কমিট রয়েছে।
নতুন বৈশিষ্ট্য
রচনা উপাদান3 অভিযোজিত সংস্করণ 1.0
সংস্করণ 1.0.0-alpha06
7 ফেব্রুয়ারি, 2024
androidx.compose.material3:material3-adaptive:1.0.0-alpha06
, androidx.compose.material3:material3-adaptive-android:1.0.0-alpha06
, এবং androidx.compose.material3:material3-adaptive-desktop:1.0.0-alpha06
. সংস্করণ 1.0.0-alpha06 এই কমিট ধারণ করে।
নতুন বৈশিষ্ট্য
-
ThreePaneScaffoldNavigator
ব্যাক নেভিগেশন জন্য অতিরিক্ত আচরণ বিকল্প যোগ করা হয়েছে. ( I858aa ) - নেভিগেশন ইতিহাসে ঐচ্ছিক গন্তব্য সামগ্রী যোগ করা হয়েছে। ( Ibd7e6 )
সংস্করণ 1.0.0-alpha05
24 জানুয়ারী, 2024
androidx.compose.material3:material3-adaptive:1.0.0-alpha05
, androidx.compose.material3:material3-adaptive-android:1.0.0-alpha05
, এবং androidx.compose.material3:material3-adaptive-desktop:1.0.0-alpha05
প্রকাশ করা হয়েছে। 1.0.0-alpha05 সংস্করণে এই কমিট রয়েছে।
নতুন বৈশিষ্ট্য
- স্ক্যাফোল্ড নেভিগেশন এবং মান ক্যালক ( I71d46 ) এ ইতিহাস-সচেতনতা সমর্থন করে
সংস্করণ 1.0.0-alpha04
জানুয়ারী 10, 2024
androidx.compose.material3:material3-adaptive:1.0.0-alpha04
, androidx.compose.material3:material3-adaptive-android:1.0.0-alpha04
, এবং androidx.compose.material3:material3-adaptive-desktop:1.0.0-alpha04
প্রকাশ করা হয়েছে। সংস্করণ 1.0.0-alpha04 এই কমিট ধারণ করে।
নতুন বৈশিষ্ট্য
- প্যান স্ক্যাফোল্ডগুলিতে প্রান্ত-থেকে-প্রান্ত সমর্থন যোগ করা হয়েছে ( I1b462 )
এপিআই পরিবর্তন
- কবজা তথ্যের একটি তালিকায় ভঙ্গিতে কব্জা বাউন্ড বৈশিষ্ট্যগুলি সরানো হয়েছে ( I24f90 )
বাগ ফিক্স
- ফিক্স
AnimatedPane
পুনর্গঠিত নয় ( c3f573d )
সংস্করণ 1.0.0-alpha03
13 ডিসেম্বর, 2023
androidx.compose.material3:material3-adaptive:1.0.0-alpha03
, androidx.compose.material3:material3-adaptive-android:1.0.0-alpha03
, এবং androidx.compose.material3:material3-adaptive-desktop:1.0.0-alpha03
প্রকাশিত হয়েছে। সংস্করণ 1.0.0-alpha03 এই কমিট ধারণ করে।
এপিআই পরিবর্তন
- স্ক্যাফোল্ড রোলগুলিকে
ThreePaneScaffoldRole
এর উপনামে পরিবর্তন করুন। ( I65bd1 ) - ভারা ভূমিকার জন্য একটি বেস ক্লাস তৈরি করুন ( I4784d )
-
AnimatedPane
এর সামগ্রী থেকে অপ্রয়োজনীয় প্যারামিটার সরান ( Ibc73b ) -
collectWindowSizeAsState
নাম পরিবর্তন করে এবং এর পরিবর্তে কাঁচা মান প্রদান করে ( I480f4 )
সংস্করণ 1.0.0-alpha02
নভেম্বর 29, 2023
androidx.compose.material3:material3-adaptive:1.0.0-alpha02
, androidx.compose.material3:material3-adaptive-android:1.0.0-alpha02
, এবং androidx.compose.material3:material3-adaptive-desktop:1.0.0-alpha02
প্রকাশ করা হয়েছে। সংস্করণ 1.0.0-alpha02 এই কমিট ধারণ করে।
এপিআই পরিবর্তন
- অভিযোজিত স্ক্যাফোল্ড API থেকে নেভিগেশন API গুলিকে বিভক্ত করুন৷ ( IC4045 )
-
GutterSize
ক্লাস সরান। ( I785b3 )
বাগ ফিক্স
-
AnimatedPane
ব্যবহার করা না হলে ফিক্স প্যানগুলি সুইচ করা হয় না ( d88f181 )
সংস্করণ 1.0.0-alpha01
15 নভেম্বর, 2023
androidx.compose.material3:material3-adaptive:1.0.0-alpha01
প্রকাশিত হয়েছে। সংস্করণ 1.0.0-alpha01-এ এই কমিট রয়েছে।
নতুন বৈশিষ্ট্য
Material3 অভিযোজিত অবস্থা APIs:
Material3 অভিযোজিত ফলক স্ক্যাফোল্ড নির্দেশিকা APIs:
Material3 অভিযোজিত ফলক স্ক্যাফোল্ড APIs:
- প্যান স্ক্যাফোল্ড মৌলিক API
রচনা উপাদান3 সংস্করণ 1.4
সংস্করণ 1.4.0-alpha15
20 মে, 2025
androidx.compose.material3:material3-*:1.4.0-alpha15
প্রকাশিত হয়েছে। সংস্করণ 1.4.0-alpha15-এ এই কমিট রয়েছে।
এপিআই পরিবর্তন
-
MotionTheme.LocalMotionScheme
, কম্পোজিশন স্থানীয় যোগ করা হয়েছে। এটিCompositionLocalConsumerModifierNodes
থেকেcurrentValueOf(MotionTheme.LocalMotionScheme)
সহ থিম মোশন স্কিমে অ্যাক্সেসের অনুমতি দেয়। ( I014b1 ) - স্থির রঙের ভূমিকা ব্যতীত
ColorScheme
কনস্ট্রাক্টর এখন অবহেলিত। অনুগ্রহ করে কনস্ট্রাক্টরে স্থানান্তর করুন যাতে নির্দিষ্ট ভূমিকা রয়েছে। ( Iad0ee ) - M3 টেক্সট কম্পোনেন্ট এখন
TextAutoSize
সমর্থন করে। ( I7f524 ) - স্প্লিট বোতাম আকারের বৈকল্পিক নির্মাণের জন্য এপিআই যোগ করুন এবং নমুনা যোগ করুন। ( Ice30b )
বাগ ফিক্স
- একটি সমস্যা সমাধান করা হয়েছে যেখানে
Snackbar
এবংFloatingActionButton
এজ-টু-এজ সক্ষম করার সময় ভুলভাবে অবস্থান করা হয়েছিল। স্ক্যাফোল্ড এখন সঠিকভাবে এই উপাদানগুলিতে অনুভূমিক ইনসেট প্রয়োগ করে। ( Ib7c30 , b/244400727 ) - সম্পূর্ণ প্রসারিত থেকে আংশিক প্রসারিত পর্যন্ত
BottomSheet
মোশন ঠিক করুন।BottomSheet
এখনMotionScheme
এর ফাস্ট-ইফেক্ট ব্যবহার করে লুকানো বা ভেঙে পড়ার সময়, এবং প্রসারিত করার সময় ডিফল্ট-স্থানিক। ( ifa46f , b/416063171 ) - সারফেস কন্টেইনার রোল ছাড়া
ColorScheme
কনস্ট্রাক্টরকে লুকানো চিহ্নিত করা হয়েছে এবং ব্যবহারের জন্য আর সুপারিশ করা হয়নি। ( IA7237 ) - একটি
CircularWavyProgressIndicator
Size.minDimension > 0
প্রয়োজনীয়তা সরানো হয়েছে, যা আরও নমনীয়তার অনুমতি দিতে একটি ব্যতিক্রম নিক্ষেপ করত। ( Ic9418 , b/377531195 ) -
Text(AnnotatedString)
হাইপারলিঙ্কে এখন ডিফল্টরূপে মেটেরিয়াল স্টাইলিং আছে। ( I78288 , b/339843816 ) -
RoundedPolygon
এtoShape()
ফাংশন একটি পাথ ক্যাশে করছে এবং বিভিন্ন আকারের সাথে একাধিকcreateOutline
কল করার সময় সমস্যা সৃষ্টি করছে এমন একটি সমস্যা সমাধান করুন। ( I4026d )
সংস্করণ 1.4.0-alpha14
7 মে, 2025
androidx.compose.material3:material3-*:1.4.0-alpha14
প্রকাশিত হয়েছে। সংস্করণ 1.4.0-alpha14-এ এই কমিট রয়েছে।
এপিআই পরিবর্তন
- একটি নতুন
AppBarColumn
যোগ করা হয়েছে যাAppBarRow
মতো একই ফ্যাশনে কাজ করে কিন্তু একটি কলামে রাখা বিষয়বস্তুর জন্য। ( আইএএফ৬বিডি ) -
AppBarRow
এ সর্বাধিক আইটেম যোগ করা হয়েছে, শীর্ষ অ্যাপ বারগুলির জন্য উপাদানের বৈশিষ্ট্য সঠিকভাবে বাস্তবায়ন করার জন্য এটি প্রয়োজনীয়। ( I92ce4 ) - অ্যাঙ্করের
layoutCoordinates
পেতেTooltipScope
একটি পদ্ধতি যোগ করা হয়েছে।drawCaret
পদ্ধতি অবমূল্যায়ন করা হচ্ছে কারণ ডেভেলপাররা এই নতুন পদ্ধতিটি ব্যবহার করে অ্যাঙ্কর বাউন্ড লেআউটlayoutCoordinates
পেতে পারে এবং একটি উপযুক্ত আকৃতি তৈরি করতে পারে যাতে একটি ক্যারেট রয়েছে। ( IA2e12 , b/329470609 ) - তারিখ বাছাইকারীদের জন্য
java.time
সমর্থন যোগ করা হয়েছে: প্রবর্তিতrememberDatePickerState/rememberDateRangePickerState
ওভারলোড যা java.time অবজেক্ট গ্রহণ করে (যেমন, প্রাথমিকLocalDate
,YearMonth
)। এছাড়াওLocalDate
এবংYearMonth
মত প্রকারগুলি ব্যবহার করে মান পেতে/সেট করার জন্য স্টেট অবজেক্টে এক্সটেনশন ফাংশন যোগ করা হয়েছে। API 26+ বা desugaring প্রয়োজন। ( I70f29 , b/266202516 , b/281859606 ) - কেন্দ্র থেকে শুরু হওয়া একটি ট্র্যাক সহ একটি স্লাইডার ব্যবহার করার অনুমতি দিয়ে
CenteredTrack
কম্পোজযোগ্য যোগ করুন। ( I5b1d6 )
বাগ ফিক্স
- ওয়েভি প্রোগ্রেস ইন্ডিকেটরগুলির কার্যক্ষমতা উন্নত করা হয়েছে: লিনিয়ার প্রকারগুলি এখন ~11% কম বরাদ্দের সাথে ~8.5% দ্রুত লোড হয়, যখন সার্কুলার প্রকারগুলি যথেষ্ট ~47% গতি বৃদ্ধি এবং ~39% কম বরাদ্দ দেখতে পায়। ( I595d8 )
সংস্করণ 1.4.0-alpha13
23 এপ্রিল, 2025
androidx.compose.material3:material3-*:1.4.0-alpha13
প্রকাশিত হয়েছে। সংস্করণ 1.4.0-alpha13-এ এই কমিট রয়েছে।
এপিআই পরিবর্তন
-
isAppearanceLightStatusBars
এবংisAppearanceLightNavigationBars
ModalBottomSheetProperties
এ শুধুমাত্র android params হিসাবে পুনঃপ্রবর্তন করা হয়েছে। ( Id4bc0 ) - একটি
AppBarRow
সংমিশ্রণযোগ্য যোগ করুন, যা আইটেমগুলির ওভারফ্লো পরিচালনা করে যা এর সীমার বাইরে ফিট হবে। ( I742bd ) - তারিখ-ইনপুট মোডে স্যুইচ করার সময় ফোকাসের অনুরোধের জন্য
DatePicker
এবংDateRangePicker
API আপডেট করুন। আমরাrequestFocus
বুলিয়ান প্যারামিটারটিকে একটি ঐচ্ছিকfocusRequester
প্যারাম দিয়ে প্রতিস্থাপন করেছি যা একটিFocusRequester
নেয়। ( I14b69 ) - ডিফল্ট ক্লিকযোগ্য এবং টগলযোগ্য আইটেমগুলি থেকে সংশোধক এবং মিথস্ক্রিয়া উত্স সরান৷ পরিবর্তে একটি বাস্তবায়ন বিশদ হিসাবে এটি আছে. ( I95ed6 )
- স্ক্রীনে ফিট করার জন্য অনেকগুলি বোতাম থাকলে একটি ড্রপডাউন মেনুতে ওভারফ্লো করার জন্য
ButtonGroup
আপডেট করা হয়েছে। ( I7b88b )
বাগ ফিক্স
- বর্তমান অফসেটের চেয়ে ছোট হলে বটমশীট এখন শীর্ষ ইনসেটগুলি ব্যবহার করে। এটি ব্যবহারকারীদের সম্প্রসারিত আচরণের জন্য শীর্ষ ইনসেটগুলি প্রদান করতে দেয়।
BottomSheetDefaults.windowInsets
এখনWindowInsets.safeDrawing.Top
অন্তর্ভুক্ত করে। ( I0ab67 , b/321877275 , b/336962418 , b/342093067 ) - চিপ লিডিং আইকন/অবতার এবং ট্রেলিং আইকন যোগ করা বা সরানো হলে এন্টার/এক্সিট অ্যানিমেশন (ফেইড/স্লাইড) সক্রিয় করা হয়েছে। এটি প্রাথমিকভাবে নির্বাচনযোগ্য চিপস (ফিল্টার, ইনপুট) উপকৃত করে তবে সাধারণত প্রযোজ্য। ( I9af21 )
-
LookaheadScope
দ্বারা সৃষ্ট ভাঙা RTL স্লাইডার আচরণ ঠিক করুন। ( Ieb152 , b/408118041 ) - একটি লুকানো সিস্টেম UI দিয়ে স্ক্রোলিং সম্পর্কিত নীচের
AppBar
ক্র্যাশটি ঠিক করুন। ( Ic6140 , b/405996228 )
সংস্করণ 1.4.0-আলফা12
9 এপ্রিল, 2025
androidx.compose.material3:material3-*:1.4.0-alpha12
প্রকাশিত হয়েছে। সংস্করণ 1.4.0-alpha12-এ এই কমিট রয়েছে।
এপিআই পরিবর্তন
-
ModalBottomSheetProperties
( Iab97f , b/362539765 ) থেকে অ্যান্ড্রয়েড নির্দিষ্ট প্যারামিটারগুলি সরানো হয়েছে - ড্র্যাগ হ্যান্ডেল সাইজ ডিফল্টের জন্য ওভারলোডিং ফাংশন প্রবর্তন করুন ( I0ed0d )
- নতুন লেআউট প্রকারগুলিকে সমর্থন করতে এবং একটি ঐচ্ছিক প্রাথমিক অ্যাকশন সামগ্রীর জন্য সমর্থন যোগ করতে নতুন
NavigationSuiteScaffold
এবংNavigationSuiteScaffoldLayout
ফাংশন যুক্ত করুন৷ ( Ib262a , b/353144478 ) -
ButtonGroup
এ ফিল প্যারামিটার সহModifier.weight
বর্জন করুন। ভরাট ছাড়া একটি সংস্করণ যোগ করা হচ্ছে. ( Id32bb ) -
extra
বানান করতেxSmall-
এবংxLarge-
IconButton কম্পোনেন্ট ডিফল্টের নাম পরিবর্তন করুন। ( Ib6e0f ) - নতুন লেআউট ধরনের সমর্থন করতে নতুন
NavigationSuite
,NavigationSuiteItem
এবংNavigationSuiteColors
ফাংশন যোগ করুন। ( I203d6 ) - নতুন
NavigationSuiteTypes
যোগ করুন এবং নতুনnavigationSuiteType
ফাংশন যোগ করুন যাতে সেই লেআউট পছন্দগুলি অন্তর্ভুক্ত থাকে ( If68f9 )
বাগ ফিক্স
-
ColorScheme.contentColorFor
এখনsurfaceDim
onSurface
থেকে মানচিত্র করে। ( I8891a ) - একটি সমস্যা সমাধানের জন্য আপডেট করা হয়েছে
DateInputTextField
বাস্তবায়ন যেখানে ইনপুট ক্ষেত্র প্রোগ্রামগতভাবে সেট করা তারিখ প্রতিফলিত করে না। ( I6c8d1 , b/401143451 ) - নেভিগেশন রেল এবং প্রশস্ত নেভিগেশন রেলের জন্য টকব্যাক ফোকাস অর্ডার স্থির করা হয়েছে ( I6cf6f , b/407048224 )
সংস্করণ 1.4.0-alpha11
26 মার্চ, 2025
androidx.compose.material3:material3-*:1.4.0-alpha11
প্রকাশিত হয়েছে। সংস্করণ 1.4.0-alpha11-এ এই কমিট রয়েছে।
এপিআই পরিবর্তন
- বোতাম এবং টগল বোতামের জন্য ডিফল্ট অবজেক্টে কম্পোজেবল বৈশিষ্ট্যের জন্য ক্যাপিটালাইজেশন আপডেট করুন। কন্টেইনারের উচ্চতার উপর নির্ভর করে প্রস্তাবিত সামগ্রী প্যাডিং, আকার, আইকনের আকার, আইকন ব্যবধান এবং পাঠ্য শৈলীর জন্য
ToggleButtonDefaults
এবংButtonDefaults
এ পদ্ধতি যোগ করুন। ( IEA69e ) -
FloatingToolbar
থেকে অপসারিত পরীক্ষামূলক ফাংশন এবং ধ্রুবকগুলি সরানো হয়েছে৷ ( I8f339 ) - উচ্চতা উপাদানগুলি এখন একটি সাধারণ ইন্টারফেস ভাগ করে এবং পাবলিক কনস্ট্রাক্টর এবং বৈশিষ্ট্য রয়েছে। ( Ibb172 )
-
ButtonGroupScope
এanimateWidth
modifier যোগ করা যা শিশুদের সঠিকভাবে অ্যানিমেট করার জন্য বোতাম গ্রুপের বাচ্চাদের সাথে ব্যবহার করতে হবে। ( IA3bb6 )
বাগ ফিক্স
- পতনের সময় চাক্ষুষ ভারসাম্য নিশ্চিত করতে স্থির ফ্লোটিং টুলবার প্যাডিং এবং বৃহত্তর সামগ্রীর জন্য উন্নত নমনীয়তা। ( I06c00 )
সংস্করণ 1.4.0-আলফা10
12 মার্চ, 2025
androidx.compose.material3:material3-*:1.4.0-alpha10
প্রকাশিত হয়েছে। সংস্করণ 1.4.0-alpha10-এ এই কমিটগুলি রয়েছে।
এপিআই পরিবর্তন
-
TabRowDefaults.tabIndicatorOffset
TabIndicatorScope.tabIndicatorOffset
এর পক্ষে অবচয়িত হয়েছে। ( Ib36b3 ) - বোতাম ডিফল্টে ছোট কন্টেন্ট প্যাডিংয়ের জন্য টাইপো ঠিক করুন। ( I19bfe )
-
TabRow
এবংScrollableTabRow
প্রত্যেকটির প্রাথমিক ও মাধ্যমিক রূপের পক্ষে অবহেলিত। প্রাইমারি এবং সেকেন্ডারি ট্যাব সারিগুলি স্পেকের জন্য আরও কার্যকরী এবং সঠিক। ( I918e2 ) - যোগ করা হয়েছে
rememberSliderState
এবংrememberRangeSliderState
। ( I8e384 ) - অটো-স্ন্যাপিং মেকানিজম নিয়ন্ত্রণ করতে
SliderState
এshouldAutoSnap
যোগ করা হয়েছে, এটি অক্ষম করা কাস্টম অ্যানিমেশনের জন্য উপযোগী হতে পারে। ( I07745 ) - স্ক্রোলযোগ্য ট্যাব সারির ন্যূনতম ট্যাব প্রস্থ এখন একটি প্যারামিটার। প্রাইমারি এবং সেকেন্ডারি ট্যাব সারি ভেরিয়েন্ট আর পরীক্ষামূলক নয়। ( if6f15 , b/226665301 )
-
ExitAlwaysFloatingToolbarScrollBehavior
ক্লাসটিকে কম্পোজিশন ছাড়াই তৈরি করার অনুমতি দিয়ে সর্বজনীন বানিয়েছে। ( Ibf31c )
সংস্করণ 1.4.0-alpha09
ফেব্রুয়ারী 26, 2025
androidx.compose.material3:material3-*:1.4.0-alpha09
প্রকাশিত হয়েছে। সংস্করণ 1.4.0-alpha09-এ এই কমিট রয়েছে।
এপিআই পরিবর্তন
- ডিফল্ট অবস্থায়
DragHandle
এর সেটিং ক্ষেত্রগুলির নাম পরিবর্তন করুন; পৃথক চাপা এবং টেনে আনা রাজ্য; ডিফল্ট মাপ সর্বজনীন করা. ( I787b9 ) -
TowRowsTopAppBar
API-তে আপডেট।expanded
ল্যাম্বডা পরামিতি সরানো হয়েছে এবং প্রসারিত এবং ভেঙে পড়া উচ্চতার জন্য পৃথক প্যারামিটার যোগ করা হয়েছে। ( Idd677 , b/306697446 , b/229134133 , b/268068946 )
বাগ ফিক্স
- নীচের অ্যাপ বারগুলি এখন স্পর্শ অনুসন্ধান পরিষেবা (যেমন,
TalkBack
) পর্যবেক্ষণ করে এবং যখনই পরিষেবাটি চালু থাকে তখন সেগুলিকে দৃশ্যমান রাখে৷ ( I4b34d )
সংস্করণ 1.4.0-alpha08
ফেব্রুয়ারি 12, 2025
androidx.compose.material3:material3-*:1.4.0-alpha08
প্রকাশিত হয়েছে। সংস্করণ 1.4.0-alpha08-এ এই কমিট রয়েছে।
নতুন বৈশিষ্ট্য
একটি
TimePickerDialog
API যোগ করা হয়েছে যাTimePicker
,TimeInput
বা পরিবর্তনযোগ্য সংস্করণের জন্য ব্যবহার করা যেতে পারে। ( Id2d83 )নতুন অনুসন্ধান বার APIs:
- সঙ্কুচিত অনুসন্ধান বার এবং প্রসারিত অনুসন্ধান "দর্শন" এখন পৃথক কম্পোজেবল।
-
SearchBar
ভেঙে পড়া অবস্থায় একটি সার্চ বার উপস্থাপন করে। -
ExpandedFullScreenSearchBar
এবংExpandedDockedSearchBar
প্রসারিত অবস্থায় সার্চ বারকে উপস্থাপন করে। এগুলি একটি নতুন উইন্ডোতে খোলে। - অনুসন্ধান বারের অবস্থা নিয়ন্ত্রণ করতে
SearchBarState
- ইনসেট হ্যান্ডলিং এবং স্ক্রোল আচরণ যোগ করতে
TopSearchBar
-
InputField
নতুন ওভারলোড যাSearchBarState
ব্যবহার করে ( Ie0723 , b/261496232 , b/283311462 , b/350916229 , b/352872248 )
এপিআই পরিবর্তন
- প্রেসে আইকন বোতামগুলির কোণার আকার পরিবর্তন সমর্থন করে। ( I21843 )
- টেক্সট ফিল্ড ডেকোরেটর/ডেকোরেশন বক্স এপিআই আর পরীক্ষামূলক নয়। ( I31d95 )
-
ButtonGroup
জন্য সংযুক্ত ভেরিয়েন্টের জন্য নমুনা এবং ডিফল্ট যোগ করা হয়েছে। ( I5c8ce ) -
NavigationSuiteScaffold
এবংNavigationSuiteScaffoldLayout
এ স্টেট প্যারামকে শেষ করুন। ( I9cc7b )
বাগ ফিক্স
-
FloatingToolbars
এ কাস্টম অ্যাক্সেসিবিলিটি অ্যাকশন যোগ করা হয়েছে যাতে অ্যাক্সেসিবিলিটি পরিষেবাগুলি এখন সমস্তFloatingToolbar
বৈচিত্রগুলিকে প্রসারিত বা সঙ্কুচিত করতে পারে। FAB-সজ্জিত সংস্করণ এটি FAB-তে প্রযোজ্য, যখন FAB-হীন সংস্করণ এটি মূল বিষয়বস্তুর ক্ষেত্রে প্রযোজ্য। ( I26420 ) -
FloatingToolbars
এখন স্পর্শ অনুসন্ধান পরিষেবা (যেমন, টকব্যাক) পর্যবেক্ষণ করে এবং যখনই পরিষেবা চালু থাকে তখন টুলবারটি প্রসারিত এবং দৃশ্যমান রাখে। ( I02172 ) - একটি
Float.NaN
অগ্রগতি হিসাবে পাস করার ক্ষেত্রে অগ্রগতি এবং লোডিং সূচকগুলিতে একটি ক্র্যাশ সংশোধন করা হয়েছে। ( I4fa96 , b/352364576 )
সংস্করণ 1.4.0-alpha07
জানুয়ারী 29, 2025
androidx.compose.material3:material3-*:1.4.0-alpha07
প্রকাশিত হয়েছে। সংস্করণ 1.4.0-alpha07-এ এই কমিট রয়েছে।
নতুন বৈশিষ্ট্য
- একটি নতুন API দিয়ে চেকবক্সের চেহারা কাস্টমাইজ করার ক্ষেত্রে আরও নমনীয়তা যোগ করা হয়েছে। এই API স্ট্রোক পরামিতি প্রদান করে যা চেকমার্ক এবং চেকবক্স-আউটলাইন রেন্ডার করা হয় তার উপর আরও বেশি নিয়ন্ত্রণের অনুমতি দেয়। ( I65a88 )
-
TwoRowsTopAppBar
API যোগ করা হয়েছে, দুই-সারি টপ অ্যাপ বার তৈরি করার জন্য মাঝারি এবং বড় অ্যাপ বারগুলির আরও কাস্টমাইজযোগ্য বিকল্প। প্রতিটি রাজ্যের জন্য কাস্টমাইজযোগ্য উচ্চতা সহ, ভেঙে পড়া এবং প্রসারিত উভয় অবস্থায়ই শিরোনাম এবং সাবটাইটেলের বিষয়বস্তুর উপর ডেভেলপারদের নিয়ন্ত্রণ রয়েছে। ( I0be3c , b/306697446 , b/229134133 , b/268068946 )
এপিআই পরিবর্তন
- একটি পরীক্ষামূলক
BottomAppBar
পরিবর্তনকেFlexibleBottomAppBar
এ নামকরণ করা হয়েছে, বিষয়বস্তু বিন্যাস এবং উচ্চতার উপর আরও নিয়ন্ত্রণ প্রদান করে৷ ( IAA448 ) -
CapitalCase
হতে বোতাম গ্রুপের ডিফল্ট অবজেক্টে বৈশিষ্ট্যের নামকরণ আপডেট করুন।animateFraction
নাম আপডেট করুন যাতে এটি প্রতিনিধিত্ব করছে এমন আচরণের সাথে আরও সুনির্দিষ্ট হতে। ( I545cd ) - সাধারণ বোতামগুলির জন্য ওভারলোড যোগ করা যা প্রেস ইন্টারঅ্যাকশনে অ্যানিমেটেড আকারের জন্য অনুমতি দেয়। ক্যাশে বোতাম আকার যোগ করা হয়েছে. ( I5ec20 )
- FAB-এর সাথে একটি
FloatingToolbar
কীভাবে স্ক্রল করার প্রতিক্রিয়া দেখায় তা আপনি এখনFloatingToolbarScrollBehavior
প্রদান করে নিয়ন্ত্রণ করতে পারেন। একটি কেন্দ্রের প্রান্তে অবস্থিত টুলবারগুলির জন্য (উপরের বা নীচের কেন্দ্রের মতো), আমরা একটি পরিষ্কার চেহারার জন্য স্ক্রলে সম্পূর্ণ উপাদানটি লুকানোর জন্য একটি স্ক্রোল আচরণ ব্যবহার করার পরামর্শ দিই। এটি FAB-কে অফ-সেন্টার হতেও বাধা দেয়, যা ধসের জন্যexpanded
পতাকা ব্যবহার করার সময় ঘটতে পারে। ( I33f67 ) - শিরোনাম এবং সাবটাইটেলের সারিবদ্ধকরণ সেট করার সময় একটি কাস্টম
TopAppBarTitleAlignment
এর পরিবর্তেAlignment.Horizontal
ব্যবহার করতে পরীক্ষামূলকTopAppBar
APIগুলি আপডেট করে৷ ( I70ca2 ) - ব্যবহারকারীকে আরও নিয়ন্ত্রণ দিতে
SliderState#onValueChange
এখন সর্বজনীন ( I104eb ) - নেভিগেশন কম্পোনেন্টের অ্যানিমেশনের অনুমতি দিতে
NavigationSuiteScaffoldState
চালু করুন। এছাড়াওNavigationSuiteScaffold
এবংNavigationSuiteScaffoldLayout
এর ওভারলোডগুলি প্রবর্তন করুন যার একটি স্টেট প্যারাম রয়েছে। ( I6a8c9 , b/328674235 )
বাগ ফিক্স
-
IconButtonColors
এবংIconToggleButtonColors
ক্লাসগুলিIconButtonDefaults.kt
থেকেIconButton.kt
এ ফিরে যান। ( I3c233 )
বাহ্যিক অবদান
-
SliderState#isDragging
এখন সর্বজনীন৷ ( I8458a )
সংস্করণ 1.4.0-alpha06
15 জানুয়ারী, 2025
androidx.compose.material3:material3-*:1.4.0-alpha06
প্রকাশিত হয়েছে। সংস্করণ 1.4.0-alpha06-এ এই কমিট রয়েছে।
আচরণ পরিবর্তন
- ডিসপ্লে কাটআউটের সাথে বিষয়বস্তু ওভারল্যাপিং এড়াতে, উপাদান উপাদানগুলি ডিফল্টরূপে বিবেচনা করে এমন ইনসেটগুলির গ্রুপে
displayCutout
যোগ করা হয়েছে৷ এটি একটি আচরণ পরিবর্তন যা একটি প্রদর্শন কাটআউটের চারপাশে ইনসেট-সচেতন উপাদানগুলি কীভাবে আচরণ করে তা প্রভাবিত করবে। এতে ইনসেট-সচেতন উপাদান 3 উপাদানগুলির জন্যWindowInsets
প্যারামিটারের ডিফল্ট মান এবং উপাদান 2 এবং উপাদান 3 উভয়ের জন্য উপাদান ডিফল্ট অবজেক্টে প্রদত্তWindowInsets
মানগুলি অন্তর্ভুক্ত রয়েছে৷ যদি এই পরিবর্তনটি অবাঞ্ছিত আচরণের কারণ হয়, তাহলে প্রতি-কমের ভিত্তিতে ম্যানুয়ালিWindowInsets
প্যারামিটার নির্দিষ্ট করুন৷ ( I43ee9 , b/362508045 )
এপিআই পরিবর্তন
-
TopAppBar
API-এ আপডেট।*FlexibleTopAppBar
এ সাবটাইটেল সহ মাঝারি এবং বড় শীর্ষ অ্যাপ বারগুলির নাম পরিবর্তন করুন। রঙের বৈচিত্রগুলিকে একটি এককTopAppBarDefault.topAppBarColors()
ফাংশনে একীভূত করুন এবং প্রদত্ত সাবটাইটেল কম্পোজেবল ( I41b65 ) এর জন্য প্রয়োগ করার জন্য একটিsubtitle
কালার প্যারামিটার যোগ করুন -
Arrangement.Vertical
( Id0341 ) এর পক্ষেWideNavigationRailArrangement
API সরান - একটি নতুন
VerticalSlider @Composable
যোগ করুন। ( I2bfba ) - একটি নতুন ট্র্যাক
@Composable
যোগ করুন যা কাস্টম বহিরাগত ট্র্যাক কোণ এবং ট্র্যাক আইকনগুলি নির্দিষ্ট করার অনুমতি দেয়৷ ( I436a4 ) - একটি একক ধারক রঙের পরিবর্তে
FloatingToolbarColors
অবজেক্ট ব্যবহার করতে ভাসমান টুলবার API আপডেট করুন। ( I9a054 ) - নতুন পরীক্ষামূলক টীকা যোগ করুন এবং ব্যবহার করুন
ExperimentalMaterial3ComponentOverrideApi
( Ia1eaf ) - ক্লিপিং পরিচালনা করার জন্য
Modifier.indicatorLine
এখন পাঠ্য ক্ষেত্রের একটি আকার নেয়। ( I8c5f3 , b/380704151 ) - পরীক্ষামূলক
FloatingAppBar
ফাংশনগুলিকেFloatingToolbar
( I1dbf8 ) এ পুনঃনামকরণ করুন - একটি নতুন
floatingToolbarVerticalNestedScroll
যোগ করা হয়েছে যা একটি স্ক্রোলযোগ্য পাত্রে সংযুক্ত করা যেতে পারে একটি স্ক্রোল গতির উপর ভিত্তি করে যা একটি থ্রেশহোল্ড অতিক্রম করে ফ্লোটিং টুলবার সম্প্রসারণ অবস্থা আপডেট করতে। ( I6d65f ) - একটি সংযুক্ত ফ্লোটিং অ্যাকশন বোতাম (FAB) সহ একটি ভাসমান টুলবার তৈরি করার জন্য একটি নতুন API প্রবর্তন করা হচ্ছে৷ API নমনীয় কাস্টমাইজেশন বিকল্প সরবরাহ করে, আপনাকে টুলবারটিকে অনুভূমিকভাবে বা উল্লম্বভাবে সাজাতে এবং টুলবারের শুরুতে বা শেষে FAB স্থাপন করতে দেয়। ( I9e350 )
বাগ ফিক্স
- একটি স্ন্যাকবার অ্যাক্সেসিবিলিটি সমস্যার সমাধান করুন যার কারণে এটি
TalkBack
চালু থাকা অবস্থায় নিজেকে খারিজ করার ঘোষণা দেয়। ( /I9db53 )
বাহ্যিক অবদান
- ফাউন্ডেশনে কমনাইজড
BasicTooltip
এবং ম্যাটেরিয়াল৩ এBasicTooltip/Tooltip
। ( IFc2e6 )
সংস্করণ 1.4.0-alpha05
ডিসেম্বর 12, 2024
androidx.compose.material3:material3-*:1.4.0-alpha05
প্রকাশিত হয়েছে। সংস্করণ 1.4.0-alpha05-এ এই কমিট রয়েছে।
এপিআই পরিবর্তন
- ভাল পঠনযোগ্যতার জন্য একটি enum-এর জন্য
WideNavigationRailState.current/target
মানের টাইপ প্রতিস্থাপন করুন ( I2d6ab ) -
SplitButton
বাইনারি সামঞ্জস্যের জন্য ডেটা ক্লাস থেকে শ্রেণীতে শেপ এপিআই পরিবর্তন করুন। ( I53812 ) - একটি টুলটিপ API যোগ করা হয়েছে যাতে একটি
onDismissRequest
প্যারামিটার রয়েছে যাতে নির্মাতারা সিদ্ধান্ত নিতে পারে যে যখন কোনও ব্যবহারকারী টুলটিপের বাইরে ক্লিক করে তখন কী হবে৷ এই নতুন প্যারামিটার ধারণ করে না এমন পুরানো APIকে অবমূল্যায়ন করা হয়েছে। ( I99aef ) -
opticalCentering
এর নাম পরিবর্তন করেhorizontalCenterOptically
। সংশোধককে অভ্যন্তরীণ করা হচ্ছে। সর্বাধিক শুরু এবং শেষ অফসেট দিয়ে প্যাডিং প্যারামিটার প্রতিস্থাপন করুন। ( I0b904 ) - বর্তমান/টার্গেট মান থাকতে
WideNavigationRailState
পরিবর্তন করুন, বুলিয়ানের পক্ষে enums সরান। ( Idfa29 , b/356039090 ) -
NavigationBarItemComponentOverride
যোগ করুন। ( I3a06a )
বাগ ফিক্স
- যখন বিষয়বস্তু সর্বত্র স্ক্রোল করা হয় তখন নির্ভরযোগ্যভাবে রঙ পরিবর্তন করতে উপরের এবং নীচের অ্যাপ-বারের আচরণগুলি ঠিক করুন৷ ( Idc4e8 , b/293665988 )
- উপরের এবং নীচের অ্যাপ বারগুলির জন্য স্ক্রোল আচরণ ফাংশনগুলি এখন পুনর্গঠন জুড়ে আরও ভাল কার্য সম্পাদন করার জন্য একটি মনে রাখা আচরণ ফিরিয়ে দেয়। ( I0fdbe , b/207957336 )
- মডিফায়ার প্যারামিটার এখন অভ্যন্তরীণ মডিফায়ারের পরে প্রয়োগ করা হয় যেমন টেনে আনার আচরণ এবং শব্দার্থবিদ্যা, আগের পরিবর্তে। এটি সেই ক্রমকে প্রভাবিত করে যেখানে মডিফায়ার প্রয়োগ করা হয়। ( I8d83f )
- প্রসারিত নীচের শীট আকার পরিবর্তনে প্রসারিত থাকে। ( I2870b , b/324934884 )
- উইন্ডোজ বৈশিষ্ট্যের জন্য সঠিকভাবে রুট স্ট্যাটাস এবং নেভিগেশন বার পতাকা। ( IE674d , b/362539765 )
- নথিভুক্ত হিসাবে, স্ক্যাফোল্ডস রুটে মডিফায়ার প্যারামিটার সরান। এটি M2 এর সাথে বাস্তবায়নকে সারিবদ্ধ করে। ( I0235e , b/372311595 )
বাহ্যিক অবদান
- কমনাইজড
DatePickerDialog
ফাংশন। ( I7dced )
সংস্করণ 1.4.0-alpha04
13 নভেম্বর, 2024
androidx.compose.material3:material3-*:1.4.0-alpha04
প্রকাশিত হয়েছে। সংস্করণ 1.4.0-alpha04-এ এই কমিট রয়েছে।
আচরণ পরিবর্তন
- aosp/3212478- এ প্রবর্তিত রঙের পরিবর্তনগুলিকে
iconButtonColors
,iconToggleButtonColors
,outlinedIconButtonColors
,outlinedIconToggleButtonColors
এবংoutlinedIconToggleButtonBorder
প্রত্যাবর্তন করুন। এখন-প্রত্যাবর্তন করা আচরণটিকেiconButtonVibrantColors
নামক ফাংশনগুলির একটি নতুন সেটে স্থানান্তরিত করা হয়েছে এবং আরও কিছু উচ্চ বৈপরীত্যের রঙগুলি ফেরত দেওয়া হচ্ছে তা জোর দেওয়ার জন্য। ( Iffd8d )
নতুন বৈশিষ্ট্য
-
VerticalDragHandle
কম্পোনেন্ট ( I6c770 ) প্রবর্তন করুন
এপিআই পরিবর্তন
-
DismissibleModalWideNavigationRailDefaults
এর নাম পরিবর্তন করেModalWideNavigationRailDefaults
করুন। ( I8e877 ) -
NavigationBarComponentOverrides
যোগ করুন। ( I8a3f3 ) -
NavigationRailComponentOverride
যোগ করুন। ( I83e13 ) - রেলের ধ্বসে যাওয়া/প্রসারণ পরিচালনা করতে
WideNavigationRailState
প্রবর্তন করুন,ModalWideNavigationRail
খারিজ করার অনুমতি দিন এবংDismissibleModalWideNavigationRail
মুছে দিন। ( I88568 ) - টগল বোতাম ডিফল্টে xSmall, মাঝারি, বড়, এবং xLarge আকারের ডিফল্ট যোগ করুন। ( IE95d1 )
- xSmall, মাঝারি, বড়, এবং xLarge আকারের ডিফল্টগুলি বোতামের ডিফল্টগুলিতে যোগ করুন। ( if8b6d )
বাগ ফিক্স
- ফিল্টার চিপ ট্রেইলিং আইকনের রঙ প্রাইমারি থেকে
OnSurfaceContainer
এ আপডেট করা হয়েছে, প্রতি স্পেসে। সমস্ত চিপ আউটলাইন রং আউটলাইন থেকে আউটলাইন ভেরিয়েন্টে আপডেট করা হয়েছে। ( I68bd4 )
সংস্করণ 1.4.0-alpha03
30 অক্টোবর, 2024
androidx.compose.material3:material3-*:1.4.0-alpha03
প্রকাশিত হয়েছে। 1.4.0-alpha03 সংস্করণে এই কমিট রয়েছে।
এপিআই পরিবর্তন
- ঘনত্ব সহ
SheetState
কন্সট্রাক্টর অবস্থানগত এবং বেগ থ্রেশহোল্ডের পক্ষে বাতিল করা হয়েছে। ( Ifd16e ) - একটি আপডেট পজিশনিং লজিক ধারণ করে
rememberTooltipPositionProvider
যোগ করা হয়েছে। অপ্রচলিতrememberPlainTooltipPositionProvider
এবংrememberRichTooltipPositionProvider
। ( IE66e2 ) - অতিরিক্ত
ModalBottomSheetProperties
স্থিতি এবং নেভিগেশন বারের রং কাস্টমাইজ করার অনুমতি দেয়। ডিফল্টরূপে, সিস্টেম ডার্ক থিম স্থিতির পরিবর্তে বিষয়বস্তুর রঙের উপর ভিত্তি করে এই আপডেটগুলি। ( Ib874e , b/362539765 ) - তারিখ বাছাইকারীদের জন্য ইনপুট অভিজ্ঞতা উন্নত করা হয়েছে: যখন ইনপুট মোডে, তারিখ পাঠ্য ক্ষেত্রটি অবিলম্বে পাঠ্য প্রবেশের জন্য ফোকাস করা হবে। পরিবর্তনটি
DatePicker
এবংDateRangePicker
এ একটিrequestFocus
প্যারামিটার যোগ করে। আপনিfalse
পাস করে একটি ফোকাস প্রতিরোধ করতে পারে. ( I12d09 , b/286399710 , b/340102743 ) - শেপ অবজেক্টে শেপ ডিফল্ট ক্যাশ করা। টগল বোতামের জন্য আকৃতিকে ডিফল্ট
@Composable
করা হচ্ছে। রূপগুলিকে একই টোকেন ফাইলের দিকে নির্দেশ করার কারণে আকারগুলিকে একটি আকৃতির ডিফল্টে সঙ্কুচিত করা৷ ( IAA014 )
বাগ ফিক্স
-
contentPadding
পরিবর্তিত হলে সর্বদা বডি কন্টেন্ট পুনরায় কম্পোজ করা এড়াতে স্ক্যাফোল্ডcontentPadding
আচরণ অপ্টিমাইজ করুন। ( I8c8e2 , b/373904168 ) -
TextFieldLabelScope
progress
নাম পরিবর্তন করেlabelMinimizedProgress
করা হয়েছে -
TextFieldLabelPosition
Default
পরিবর্তন করেAttached
। ইন্টারফেস সদস্যদের সরানো হয়েছে. ( if75c6 ) - ইনপুট মোডে
DatePicker
সাথে একটি সমস্যা সমাধান করা হয়েছে যেখানে বৈধতা ত্রুটি উপাদানটির উচ্চতা পরিবর্তন করতে পারে। ( I2e229 , b/280462363 ) - কন্ট্রোল কী চাপলে উপাদান স্লাইডারটিকে এর মান পরিবর্তন করুন। ( I1c442 )
সংস্করণ 1.4.0-alpha02
অক্টোবর 16, 2024
androidx.compose.material3:material3-*:1.4.0-alpha02
প্রকাশিত হয়েছে। সংস্করণ 1.4.0-alpha02-এ এই কমিট রয়েছে।
এপিআই পরিবর্তন
-
DatePickerState
বাDateRangePickerState
এর মাধ্যমে সরাসরি লোকেল সেট করার সময়DatePicker
এবংDateRangePicker
জুড়ে সামঞ্জস্যপূর্ণ লোকেল ব্যবহার নিশ্চিত করতে তারিখ পিকারের আপডেটগুলি। মনে রাখবেন যে লোকেলগুলিকে সরাসরি রাজ্যে সেট করার সময়, শিরোনাম এবং শিরোনাম পাঠ্যগুলি সেই অনুযায়ী স্থানীয়করণ করা হয়েছে তা নিশ্চিত করা আপনার উপর নির্ভর করে, কারণ তাদের ডিফল্ট পাঠ্য এখনও ডিফল্ট প্ল্যাটফর্ম লোকেল অনুসারে প্রয়োগ করা হবে। ( I37073 , b/326490763 , b/321657276 ) -
SheetState.isAnimationRunning
এখন উন্মুক্ত। ( I9a3d7 ) -
DatePickerColors
এখন থিমের টাইপোগ্রাফি টেক্সট শৈলীতে সংজ্ঞায়িত যেকোনো বিরোধপূর্ণ রঙের উপর সঠিকভাবে অগ্রাধিকার নেয়। এছাড়াও মনে রাখবেন যে এই আপডেটটি তারিখ পিকার ফাংশনেcolor
প্যারামিটারের অবস্থান সামঞ্জস্য করে এবং শিরোনাম এবং শিরোনাম পাঠ্যের রঙগুলি কাস্টমাইজ করার জন্য একটিcontentColor
রঙ পরামিতি প্রবর্তন করে। ( I30d03 , b/347031394 ) -
SplitButton
এর নাম পরিবর্তন করেSplitButtonLayout
করুন এবংSplitButton
কালার ভেরিয়েন্ট API গুলি সরিয়ে দিন,SplitButtonDefaults
দ্বারা প্রদত্ত বোতাম ভেরিয়েন্টগুলি পুনরায় ব্যবহার করে ভেরিয়েন্টগুলি অর্জন করা হবে। ( I44c36 ) -
ModalBottomSheet
এখনsheetGestureEnabled
প্যারামিটার রয়েছে ( I856cb , b/288211587 ) -
standardMotionScheme
এবংexpressiveMotionScheme
কে স্ট্যান্ডার্ড এবং এক্সপ্রেসিভ-এ পুনঃনামকরণ করা হয়েছে।MotionScheme.standard()
এবংMotionScheme.expressive()
কল করে উভয় ফাংশনই এখনMotionScheme
সহচর বস্তুর মাধ্যমে অ্যাক্সেসযোগ্য। ( আইসিসিসিএফ ) - প্লেইন এবং সমৃদ্ধ টুলটিপগুলিতে
maxWidth
প্যারামিটার যোগ করা হচ্ছে। এটি প্লেইন টুলটিপের জন্য 200 dp এবং সমৃদ্ধ টুলটিপগুলির জন্য 320 dp ডিজাইনের বৈশিষ্ট্যে ডিফল্ট। ( I30ce9 )
বাগ ফিক্স
-
DatePicker
এবংDateRangePicker
এখন সঠিকভাবে প্রদর্শিত মাস আপডেট করে যখন তাদের রাজ্যেরdisplayedMonthMillis
মাধ্যমে সেট করা হয়। ( if9e47 , b/333414302 ) -
ModalBottomSheet
কন্টেন্ট এখন স্ট্যাটাস বার থেকে কন্টেন্ট দূরে সরিয়ে দেয়। ( I5114c , b/321877275 , b/336962418 , b/342093067 ) - [নীচের পত্রক] IME কীবোর্ডকে প্রথমে খারিজ করার অনুমতি দিতে কলব্যাক অগ্রাধিকার
PRIORITY_DEFAULT
এ পরিবর্তন করুন। ( I447fb ) -
DatePicker
এবংDateRangePicker
এ ক্র্যাশগুলি ঠিক করুন যখন ন্যূনতম নির্বাচনযোগ্য বছরটি ভবিষ্যতের বছরে সেট করা হয়৷ ( I78656 , b/319395747 ) - একটি আপডেট করা
SelectableDates
দৃষ্টান্ত প্রয়োগ করা হলে UI আপডেট করতে একটি তারিখ-পিকার সমস্যা সমাধান করুন। ( Iad59a , b/290135807 , b/339898760 )
সংস্করণ 1.4.0-alpha01
2 অক্টোবর, 2024
androidx.compose.material3:material3-*:1.4.0-alpha01
প্রকাশিত হয়েছে। সংস্করণ 1.4.0-alpha01-এ এই কমিট রয়েছে।
আচরণ পরিবর্তন
- লাইব্রেরি আর
material-icons-core
উপর নির্ভরতা যোগ করে না, তাই যদি আপনার প্রকল্প তার উপর নির্ভর করে, তাহলে আপনাকে আপনারbuild.gradle[.kts]
ফাইলগুলিতে স্পষ্টভাবে সেই নির্ভরতা যোগ করতে হবে। ( I735ff , b/349894318 ) - ব্যবহারযোগ্যতা, রঙের বৈসাদৃশ্য এবং সিস্টেমের মধ্যে সুসংগততা উন্নত করার জন্য ( Ibc297 ) পূর্ববর্তী আচরণে প্রত্যাবর্তন করতে, ডিফল্ট রঙগুলি অনুলিপি করতে এবং
selectedTextColor
রঙগুলিকেMaterialTheme.colorScheme.onSurface
এ পরিবর্তন করতেNavigationBarItem
এবংNavigationRailItem
আইটেমের সক্রিয় লেবেল রঙonSurface
থেকেsecondary
পরিবর্তন করুন। - উপাদান 3 উপাদানগুলি এখন তাদের গতি সংজ্ঞায়িত করতে নতুন
MotionScheme
ব্যবহার করছে। ( Ie0f93 ) - অনির্দিষ্ট বিজ্ঞপ্তি অগ্রগতি সূচক গতি পরিবর্তন ( i3c07e )
- আরও ভাল রঙের বৈপরীত্যের জন্য
OutlinedIconButtonColors
এবংOutlinedIconToggleButtonColors
আপডেট করুন। ( I2743d ) -
FilledIconToggleButtonColors
এবংFilledTonalIconToggleButtonColors
জন্য আপডেট কনটেইনার এবং সামগ্রীর রঙ। ( আইসি 5 ডি 0 এফ ) -
outline
থেকেoutlineVariant
পর্যন্তOutlinedButton
সীমান্তের রঙ আপডেট করা হয়েছে। ( 057F00 )
এপিআই পরিবর্তন
- একটি
reverseLayout
বিষয়বস্তু দিয়ে সেট করা আরও ভাল সমর্থন করার জন্যTopAppBar
enterAlwaysScrollBehavior
ফাংশনে একটি al চ্ছিকreverseLayout
প্যারামিটার যুক্ত করা হয়েছে। ( I4e0e5 ) -
SegmentedButton
এখনcontentPadding
যুক্তি সমর্থন করে। ( I5ad91 , খ/358414376 ) -
PullToRefreshState
আরisAnimating
জন্য ডিফল্ট বাস্তবায়ন নেই ( i6a593 ) -
TextFieldState
ব্যবহার করে এমন উপাদানTextField
এবংOutlinedTextField
নতুন ওভারলোড যুক্ত করা হয়েছে।TextFieldDecorator
সাথে সামঞ্জস্যপূর্ণ সজ্জা বাক্স এপিআই যুক্ত করা হয়েছে। ( আইএফ 13 এ 1 ) - পাঠ্য ক্ষেত্রের
labelPosition
নিয়ন্ত্রণ করতে প্যারামিটার যুক্ত করা হয়েছে।alwaysMinimize
ব্যবহার করা ক্ষেত্রটি আনফোকাসযুক্ত থাকা সত্ত্বেও একই সময়ে কোনও পাঠ্য ক্ষেত্রে লেবেল এবং স্থানধারক প্রদর্শন করার ইউআই প্যাটার্নকে অনুমতি দেয়। ( I1ef2c ) - পাসওয়ার্ড এন্ট্রি ক্ষেত্রগুলির জন্য উপাদান
SecureTextField
এবংOutlinedSecureTextField
যুক্ত করা হয়েছে। ( I7e22d ) - অ্যানিমেশন অগ্রগতিতে পাঠ্য ক্ষেত্রের লেবেলগুলিতে একটি সুযোগ যুক্ত করেছে। ( If5ec8 )
- টুলটিপসে
MotionEvent.CLASSIFICATION_DEEP_PRESS
জন্য সমর্থন যুক্ত করে। ( I62e6a ) -
TimePickerState
isAfternoon
এখন ইন্টারফেসের ভিএআর এর পরিবর্তে একটি এক্সটেনশন ভাল,isPm
নামকরণ করা হয়েছে ( আই 89 এ 97 ) - জোর দেওয়া টাইপ স্কেলগুলি সমর্থন করার জন্য টাইপোগ্রাফি শ্রেণি আপডেট করা। ( আইএফএ 13 সি )
-
ModalWideNavigationRail
এপিআই যুক্ত হয়েছে এবংModalExpandedNavigationRail
রেইল এপিআই নামকরণ করা হয়েছেDismissibleModalWideNavigationRail
আইসিব্লেমোডালউইডেনভিগেশন রেইল। ( আইসি 9118 ) -
screenOffset
অটো-ক্যালকুলেট করতে এবং@Composable
প্রয়োজন হয় না এমনFloatingAppBarScrollBehavior
আপডেট করা হয়েছে। ( আইডিএফ 349 ) - এর ডিফল্ট অবজেক্টে নামকরণটি ঠিক করতে
LoadingIndicator
এপিআইয়ের আপডেটগুলি।PullToRefresh
একটিLoadingIndicatorElevation
ধ্রুবক যুক্ত করা হয়েছে। ( আই 1 ডি 72 বি ) - এর ডিফল্ট অবজেক্টে নামকরণটি ঠিক করতে
LoadingIndicator
এপিআইয়ের আপডেটগুলি।PullToRefresh
একটিLoadingIndicatorElevation
ধ্রুবক যুক্ত করা হয়েছে। ( আই 1 ডি 72 বি ) -
LinearWavyProgressIndicator
এবংCircularWavyProgressIndicator
অনির্দিষ্ট পরিবর্তনের জন্য একটিamplitude
এবং একটিwaveSpeed
প্যারামিটার যুক্ত করেছে। ( I2a0c5 ) - আইকন টগল বোতামের আকারটি তার চাপযুক্ত বা চেক করা অবস্থার উপর ভিত্তি করে পরিবর্তন করা সমর্থন করুন। ( আইবিসি 781 )
- জোর দেওয়া টাইপ স্কেলগুলি সমর্থন করার জন্য টাইপোগ্রাফি শ্রেণি আপডেট করা। ( আইএফএ 13 সি )
- ডিফল্ট / চাপযুক্ত অবস্থার উপর ভিত্তি করে
SplitButton
শেপ মরফস।AnimatedTrailingButton
এপিআই সরানো হয়েছে কারণTrailingButton
এপিআই একই কাস্টমাইজেশন সরবরাহ করতে পারে ( i95066 ) - ফ্যাবকে অ্যানিমেটেড প্রদর্শন এবং আড়াল করার জন্য মডিফায়ার যুক্ত করুন, যেমন সামগ্রী স্ক্রোলগুলি যখন। ( I8338d )
- সংযুক্ত বোতাম গ্রুপের আকারগুলি যুক্ত করা এবং একটি নমুনায় ব্যবহার করার জন্য
ButtonGroupDefaults
ডিফল্টগুলিতে স্পেসিং। ( I68e30 ) - বিভক্ত বোতামটি ট্রেলিং বোতামের জন্য অনুভূমিক প্যাডিং যুক্ত করুন এবং শুরু এবং শেষ কোণার পার্থক্য থেকে গণনা করা অপটিক্যাল সেন্টারিং সক্ষম করুন ( i122e2 )
- উপাদানটির গতির জন্য একটি স্কিম নির্ধারণের অনুমতি দেওয়ার জন্য একটি নতুন উপাদান
MotionScheme
প্রবর্তন করা। স্কিমটিMaterialTheme
মাধ্যমে সেট করা হয়েছে। ( আইডি 50 সি 2 )
বাগ ফিক্স
-
Scaffold
চাইল্ড কমপোজেবলগুলিতে সঠিক ফোকাস ট্র্যাভারসাল সূচকটি প্রয়োগ করুন। অর্ডারটিtopBar
,bottomBar
, ফ্যাব, সামগ্রী, স্নাকবার। ( I5936 বি ) -
DatePicker
এবংDateRangePicker
একটি সমস্যা স্থির করেছে যেখানে নির্দিষ্ট লোকাল এবং ফর্ম্যাট-কঙ্কালগুলিতে কিছু তারিখের উপাদান (যেমন মাসের নাম) কোনও মূলধন চিঠি দিয়ে শুরু হয়নি। ( I1430f ) - সংহত ফ্যাব এবং ফ্যাব মেনু উপাদান টোকেন (প্যাডিংস এবং পাঠ্যের জন্য ছোট ভিজ্যুয়াল আপডেট) ( আইবি 57 এফ 3 )
-
ModalBottomSheet
এখন শব্দার্থক ট্র্যাভারসাল ক্রমে প্রথম, তারপরে স্ক্রিমটি। ( I436f9 , খ/358594665 ) - প্রান্ত থেকে প্রান্তে প্রান্তে নেভিগেশন পিলের অধীনে স্ক্রোল করার সময় নীচে অ্যাপ্লিকেশন বারটি পুরোপুরি অদৃশ্য হয়ে যায় না ( i3ee21 )
উপাদান 3 সংস্করণ রচনা 1.3
সংস্করণ 1.3.2
9 এপ্রিল, 2025
androidx.compose.material3:material3-*:1.3.2
প্রকাশিত হয়েছে। সংস্করণ 1.3.2 এ এই কমিটস রয়েছে।
বাগ ফিক্স
-
ListItem
তার অভ্যন্তরীণ উচ্চতা গণনা সংশোধন করে, এখন বিন্যাসে উপযুক্ত পরিমাণ স্থান সংরক্ষণ করে। - অতিরিক্ত
NavigationBarItem
লেবেল প্যাডিং সরান, সঠিকভাবে স্পেকের সাথে সারিবদ্ধ করুন। - আরটিএল মোডে
TabRow
লেআউট সংশোধন করে।
সংস্করণ 1.3.1
30 অক্টোবর, 2024
androidx.compose.material3:material3-*:1.3.1
প্রকাশিত হয়েছে। সংস্করণ 1.3.1 এ এই কমিটস রয়েছে।
বাগ ফিক্স
-
DatePicker
এবংDateRangePicker
এখন তাদের রাজ্যেরdisplayedMonthMillis
মাধ্যমে সেট করার সময় প্রদর্শিত মাসটি সঠিকভাবে আপডেট করে। ( If9e47 , খ/333414302 ) - ন্যূনতম নির্বাচনযোগ্য বছরটি ভবিষ্যতের বছরে সেট করা হলে
DatePicker
এবংDateRangePicker
ক্র্যাশগুলি ঠিক করুন। ( I78656 , বি/319395747 ) - যখন কোনও আপডেট হওয়া
SelectableDates
উদাহরণ প্রয়োগ করা হয় তখন ইউআই আপডেট করতে একটি তারিখ-পিকার ইস্যু ঠিক করুন। ( আইএডি 59 এ , বি/290135807 , বি/339898760 ) - আইএমই কীবোর্ডকে প্রথমে বরখাস্ত করার অনুমতি দেওয়ার জন্য নীচের শিটগুলি দ্বারা
PRIORITY_DEFAULT
ব্যবহৃত কলব্যাক অগ্রাধিকার পরিবর্তন করুন। ( I447fb )
সংস্করণ 1.3.0
4 সেপ্টেম্বর, 2024
androidx.compose.material3:material3-*:1.3.0
প্রকাশিত হয়েছে। সংস্করণ 1.3.0 এ এই কমিটস রয়েছে।
1.2.0 সাল থেকে গুরুত্বপূর্ণ পরিবর্তন
1.3.0 এর প্রধান বৈশিষ্ট্য
নতুন উপাদান নকশা 3 উপাদান
- ক্যারোসেল
-
HorizontalMultiBrowseCarousel
এবং উপস্থিত উপাদান ডিজাইন 3 উপাদানগুলিতেHorizontalUncontainedCarousel
বর্ধন।
-
- [
ModalBottomSheet
] এখন ইউ+ ( আইসিসিএফ 32 , বি/281967264 , বি/304850357 এ ভবিষ্যদ্বাণীমূলক ব্যাককে সমর্থন করে) - [
SearchBar
] এখন ইউ+ ( i657f8 ) এ ভবিষ্যদ্বাণীমূলক ব্যাককে সমর্থন করে - এনএভি ড্রয়ার (
ModalDrawerSheet
এবংDismissibleDrawerSheet
) এখন ইউ+ তে ভবিষ্যদ্বাণীমূলক ব্যাককে অপ্ট-ইন হিসাবে সমর্থন করে ( আইই 5 বি 0 বি ) -
DropdownMenu
এখন কাস্টম রঙ, আকৃতি, উচ্চতা এবং সীমানা সমর্থন করে। ( I8e981 , খ/289554448 , বি/301887035 , বি/283654243 ) - একটি ফাঁক এবং স্টপ সূচক যুক্ত করে অ্যাক্সেসযোগ্যতা উন্নত করতে স্লাইডার আপডেট করা হয়েছে। ( I3058e )
- একটি ফাঁক এবং স্টপ সূচক যুক্ত করে অ্যাক্সেসযোগ্যতা উন্নত করতে
ProgressIndicator
আপডেট করা হয়েছে। ( I21451 ) - সমৃদ্ধ টুলটিপের জন্য একটি ডিফল্ট ক্যারেট যুক্ত করা হয়েছে, অ্যাঙ্কর লেআউট
LayoutCoordinates
দেওয়া কাস্টম ক্যারেটকে সমর্থন করুন। ( আইএফডি 42 সি ) ব্রেকিং পরিবর্তনগুলি - নতুন পুল-টু-রেফ্রেশ এপিআই:
- ডিপি ইউনিটগুলির পরিবর্তে ভগ্নাংশ মানগুলি ব্যবহার করতে সরলীকৃত
PullToRefreshState
। -
isRefreshing
রাষ্ট্রটিPullToRefreshState
পরিবর্তে ব্যবহারকারী দ্বারা নিয়ন্ত্রিত হয়। -
PullToRefreshState
থেকে নেস্টেড স্ক্রোল সংযোগটি পৃথক করে। এটি নতুনPullToRefreshBox
বাModifier.pullToRefresh
দ্বারা পরিচালিত হয়। - এই আপডেটটি পূর্ববর্তী পরীক্ষামূলক এপিআইগুলিতে একটি ব্রেকিং পরিবর্তন। ( আই 0 এডেব , বি/314496282 , বি/317177684 , বি/323787138 , বি/324573502 , বি/317177683 ) ভিজ্যুয়াল ব্রেকিং পরিবর্তনগুলি
- ডিপি ইউনিটগুলির পরিবর্তে ভগ্নাংশ মানগুলি ব্যবহার করতে সরলীকৃত
- পর্যাপ্ত রঙের বৈপরীত্য নিশ্চিত করতে ফোকাস স্টেট ওভারলে 0.1F হতে আপডেট করুন। ( I7ea77 )
-
lightColorScheme
এবংdarkColorScheme
পৃষ্ঠ এবং পটভূমির রঙের ডিফল্টগুলিতে ছোট সমন্বয়গুলি। ( I9db52 ) - নতুন নন-টেক্সট কনট্রাস্ট স্পেসগুলি অনুসরণ করতে স্লাইডার এবং
ProgressIndicator
রঙগুলি আপডেট করা হয়েছে। ( I26807 ) -
SurfaceContainer
ভেরিয়েন্টগুলি এখন উপাদানগুলি দ্বারা ব্যবহৃত হয়। যে উপাদানগুলিSurface
এবংTonalElevation
সহ আনুষ্ঠানিকভাবে গণনা করা রঙগুলি এখন ডিফল্টরূপেSurfaceContainer
ভূমিকা ব্যবহার করে, যা টোনাল উচ্চতা দ্বারা প্রভাবিত হয় না। ( বি/304584161 ) - পৃষ্ঠ এবং পৃষ্ঠের ধারক বেসলাইন ভূমিকাগুলি কিছুটা সামঞ্জস্য করা হয়েছে, হালকা এবং গা dark ় থিমগুলিতে আরও বেশি রঙ সরবরাহ করে। ( I677a5 )
- পরীক্ষামূলক এপিআইগুলিকে স্থিতিশীল করে প্রচারিত!
- কর্মক্ষমতা উন্নতি
সংস্করণ 1.3.0-আরসি 01
21 আগস্ট, 2024
androidx.compose.material3:material3-*:1.3.0-rc01
প্রকাশিত হয়েছে। সংস্করণ 1.3.0-আরসি 01 এ এই কমিটগুলি রয়েছে।
বাগ ফিক্স
-
ModalBottomSheet
এখন শব্দার্থক ট্র্যাভারসাল ক্রমে প্রথম, তারপরে স্ক্রিমটি। ( I436f9 , খ/358594665 )
সংস্করণ 1.3.0-BETA05
জুলাই 24, 2024
androidx.compose.material3:material3-*:1.3.0-beta05
প্রকাশিত হয়েছে। সংস্করণ 1.3.0-BETA05 এর মধ্যে এই কমিট রয়েছে।
- স্থির সমস্যা যেখানে
BottomSheet
সামগ্রীটি অ্যান্ড্রয়েড এন এবং ও ( এ 10 এ 2 ডি ) এ অনুপস্থিত বা কেটে গেছে - থাম্বগুলির চারপাশে ফোকাস সূচকগুলি সঠিকভাবে দেখানোর জন্য
TalkBack
জন্য স্লাইডারের শব্দার্থবিজ্ঞানের সীমানা বৃদ্ধি পেয়েছে। ( 0 বি 5 এ 1 ডি )
সংস্করণ 1.3.0-BETA04
জুন 26, 2024
androidx.compose.material3:material3-*:1.3.0-beta04
প্রকাশিত হয়েছে। সংস্করণ 1.3.0-BETA04 এ এই কমিটগুলি রয়েছে।
সংস্করণ 1.3.0-BETA03
জুন 12, 2024
androidx.compose.material3:material3-*:1.3.0-beta03
প্রকাশিত হয়েছে। সংস্করণ 1.3.0-BETA03 এ এই কমিটগুলি রয়েছে।
বাহ্যিক অবদান
-
androidx.compose.material3.DropdownMenu
3.ড্রপডাউনমেনু সাধারণ উত্স সেট থেকে উপলব্ধ। ( If62c0 )
সংস্করণ 1.3.0-BETA02
29 মে, 2024
androidx.compose.material3:material3-*:1.3.0-beta02
প্রকাশিত হয়েছে। সংস্করণ 1.3.0-BETA02 এর মধ্যে এই কমিট রয়েছে।
এপিআই পরিবর্তন
-
Modifier.pullToRefreshIndicator
উচ্চতা সমর্থন করে, এপিআইগুলিকে রিফ্রেশ করতে আপডেট টানকে একটি ল্যাম্বডার পরিবর্তে বুলিয়ান হতে সক্ষম করে তোলে।PullToRefreshBox
সামগ্রী সারিবদ্ধকরণ সমর্থন করুন ( i75679 ) -
TooltipScope
একটি সিলযুক্ত ইন্টারফেস তৈরি করা এবংTooltipBox
এবং লেবেলে ব্যবহারের জন্য একটি অভ্যন্তরীণ বাস্তবায়ন তৈরি করা। ( I3833e ) -
CarouselItemScope
দুটি নতুন সংশোধনকারী যুক্ত করেছেন -maskClip
এবংmaskBorder
- সহজেই কোনও ক্যারোসেল আইটেমটিতে একটি আকার এবং সীমানা যুক্ত করতে ( আইডি 67 এ 1 ) -
TimePickerState
এখন একটি ইন্টারফেস এবং সময় নির্ধারণের অনুমতি দেয় ( i88546 ) - লিঙ্কগুলি স্টাইলিংয়ের জন্য আপডেট করা এপিআই:
TextLinkStyles
TextStyle
স্থানান্তরিত করে এবংTextDefaults
উপাদান থেকে সরিয়ে দেয়। ( I5477 বি )
বাগ ফিক্স
-
ModalBottomSheet
স্থিতি এবং নাভ বার আইকনগুলি এখন অন্ধকার থিমের স্থিতিতে সাড়া দেয়। ( Ie1fe7 , খ/338342149 ) -
ModalBottomSheet
স্ক্রিমে ক্লোজ শিটের শব্দার্থবিজ্ঞান যুক্ত করা হয়েছে। ( 0E61CB , খ/328801864 )
বাহ্যিক অবদান
-
androidx.compose.material3.AlertDialog
3.alertdialog সাধারণ উত্স সেট থেকে উপলব্ধ ( আইএ 33 এফ 5 ) - সাধারণ উত্স সেট ( ID7CC7 ) থেকে
ModalBottomSheet
উপলব্ধ করুন
সংস্করণ 1.3.0-BETA01
14 মে, 2024
androidx.compose.material3:material3-*:1.3.0-beta01
প্রকাশিত হয়েছে। সংস্করণ 1.3.0-BETA01 এর মধ্যে এই কমিট রয়েছে।
এপিআই পরিবর্তন
-
CaretProperties
পরিবর্তেDpSize
ব্যবহার করা।CaretProperties
অপসারণ করা।TooltipScope
CaretScope
নাম পরিবর্তন করুন। ( আইডি 9 এ 76 ) - পাঠ্যে উপাদানযুক্ত থিমযুক্ত লিঙ্কগুলি পাওয়ার জন্য এপিআই আপডেট করেছেন। বিশেষত, থিমযুক্ত
LinkAnnotations
এবং থিমযুক্ত লিঙ্কগুলির সাথে পার্স এইচটিএমএল তৈরির জন্যTextDefaults
থেকে পদ্ধতিগুলি সরিয়ে ফেলুন। পরিবর্তে, একটিTextLinkStyles
ক্লাস যুক্ত করা হয়েছে যা পাঠ্যগুলিকে কমপোজেবলের প্যারামিটার হিসাবে লিঙ্কগুলিকে স্টাইল করতে দেয়। ( I31b93 )
সংস্করণ 1.3.0-আলফা 06
1 মে, 2024
androidx.compose.material3:material3-*:1.3.0-alpha06
প্রকাশিত হয়েছে। সংস্করণ 1.3.0-ALPHA06 এর মধ্যে এই কমিট রয়েছে।
ব্রেকিং পরিবর্তন
নতুন পুল-টু-রেফ্রেশ এপিআই:
- ডিপি ইউনিটগুলির পরিবর্তে ভগ্নাংশ মানগুলি ব্যবহার করতে সরলীকৃত
PullToRefreshState
। -
isRefreshing
রাষ্ট্রটিPullToRefreshState
পরিবর্তে ব্যবহারকারী দ্বারা নিয়ন্ত্রিত হয়। -
PullToRefreshState
থেকে নেস্টেড স্ক্রোল সংযোগটি পৃথক করে। এটি নতুনPullToRefreshBox
বাModifier.pullToRefresh
দ্বারা পরিচালিত হয়। - এই আপডেটটি পূর্ববর্তী পরীক্ষামূলক এপিআইগুলিতে একটি ব্রেকিং পরিবর্তন। ( I0adeb , খ/314496282 , বি/317177684 , বি/323787138 , বি/324573502 , বি/317177683 )
- ডিপি ইউনিটগুলির পরিবর্তে ভগ্নাংশ মানগুলি ব্যবহার করতে সরলীকৃত
এপিআই পরিবর্তন
-
RippleConfiguration#isEnabled
করা হয়েছে, এবংLocalRippleConfiguration
বাতিল করা হয়েছে। একটি রিপল অক্ষম করতে,isEnabled = false
দিয়েRippleConfiguration
সরবরাহের পরিবর্তে,LocalRippleConfiguration
null
সরবরাহ করুন। ( I22725 ) -
ModalBottomSheet
আরও সঠিকভাবে স্ট্যাটাস বারের উপর স্ক্রিম আঁকেন যখন প্রান্ত থেকে এজ সক্ষম করা হয়। মডেল বটম শীট সামগ্রী এখন নেভিগেশন বারের উপরে দৃশ্যমান সামগ্রীর জন্য মঞ্জুরি দিয়ে উইন্ডো ইনসেটগুলি গ্রাস করতে পারে।ModalBottomSheet
প্যারামিটারwindowInsets
contentWindowInsets
নামকরণ করা হয়েছে যেখানে পোকামাকড়গুলি প্রয়োগ করা হবে তা নির্দিষ্ট করার জন্য, এগুলি আর উইন্ডো যুক্তিতে আবদ্ধ নয়।contentWindowInsets
টাইপকে এমন একটি ফাংশনে পরিবর্তন করা হয়েছে যাWindowInsets
ফিরিয়ে দেয়, যাতে এটি তার নতুন উইন্ডোতে সমাধান করার অনুমতি দেয়। ( I39630 , বি/274872542 , বি/300280229 , বি/290893168 ) -
PrimaryScrollableTabRow
এবংSecondaryScrollableTabRow
এখন সাবকোমপজিশনের পরিবর্তে কাস্টম লেআউট ব্যবহার করে, যা কর্মক্ষমতা উন্নত করতে পারে। ( I991e0 ) - পাঠ্য লিঙ্কগুলি সাধারণ স্টাইলিং, হোভারড এবং ফোকাসযুক্ত ছাড়াও চাপযুক্ত স্টেট স্টাইলিং বিকল্পটি পেয়েছিল।
TextDefaults
পদ্ধতিগুলি প্রত্যেককে সমর্থন করার জন্য একটিpressedStyle
যুক্তি পেয়েছিল। ( আইসি 473 এফ , বি/139312671 )
বাগ ফিক্স
- নেভিগেশন ড্রয়ার ড্র্যাগ অ্যাঙ্করগুলি এখন
drawerContent
প্রস্থের সাথে মেলে। ( আইবিসি 72 এফ , বি/245355396 ) - লেবেলের জন্য
OutlinedTextField
শীর্ষ প্যাডিং এখন সিস্টেম ফন্টের আকারের জন্য অ্যাকাউন্ট করে। ( আইডিসি 781 ) -
CalendarLocale
স্থির প্যাকেজ অবস্থান। ( আইএফএ 235 ) - [ভবিষ্যদ্বাণীমূলক ব্যাক] (0.1, 0.1, 0, 1) ( আই 2591 এ ) এর ইন্টারপোলেশন কার্ভ ব্যবহার করার জন্য ভবিষ্যদ্বাণীমূলক ব্যাক অ্যানিমেশনগুলি আপডেট করুন
সংস্করণ 1.3.0-আলফা 05
এপ্রিল 17, 2024
androidx.compose.material3:material3-*:1.3.0-alpha05
প্রকাশিত হয়েছে। সংস্করণ 1.3.0-ALPHA05 এ এই কমিটগুলি রয়েছে।
নতুন বৈশিষ্ট্য
-
SearchBar
এবংDockedSearchBar
নতুন ওভারলোড রয়েছে যা একটি পাঠ্য ক্ষেত্রের প্যারামিটার নেয়। এটি অনুসন্ধান বারের বাকি অংশগুলি থেকে আলাদাভাবে পাঠ্য ক্ষেত্রটি স্টাইলিংয়ের পাশাপাশি কাস্টম পাঠ্য ক্ষেত্রগুলিতে পাস করার অনুমতি দেয়। বর্তমান বাস্তবায়নের পাঠ্য ক্ষেত্রটিSearchBarDefaults.InputField
হিসাবে উপলব্ধ করা হয়েছে। ( আই 50 সি 73 , বি/275074248 , বি/278773336 , বি/326627700 ) - প্রয়োজনে টিক্সগুলি কাস্টমাইজ করার জন্য ল্যাম্বদা
drawTick
পাবলিক এপিআইতে যুক্ত করা হয়েছে ( i0c048 )
এপিআই পরিবর্তন
- পাঠ্য লিঙ্কগুলি সাধারণ স্টাইলিং, হোভারড এবং ফোকাসযুক্ত ( আই 5 এফ 864 , বি/139312671 ) ছাড়াও রাষ্ট্রীয় স্টাইলিং বিকল্পটি পেয়েছিল
- আইটেমটি ক্লিপ করা হচ্ছে এমন একটি মাস্ক রেক্টটি প্রকাশ করতে
CarouselItemInfo
আপডেট হয়েছে ( i785d8 ) - উপাদান 3 পাবলিক এপিআই থেকে
BasicTooltipState
সরানো হয়েছে। ফাউন্ডেশনেরBasicTooltip
স্থিতিশীল না হওয়া পর্যন্ত এর কার্যকারিতাটিTooltipState
সাথে একত্রিত করা হয়। ( আইসিডিএ 29 ) - একটি
TextDefaults
অবজেক্ট যুক্ত করা হয়েছে যাLinkAnnotation
এবং পার্স এইচটিএমএল-ট্যাগযুক্ত স্ট্রিং তৈরি করার পদ্ধতিগুলি ধারণ করে যা লিঙ্কগুলিতেMaterialTheme
প্রয়োগ করে ( আই 98532 , বি/139312671 ) -
ExposedDropdownMenuBoxScope
আর সাবক্লাসগুলির অনুমতি দেয় না। এক্সপোজড ড্রপডাউন মেনুগুলিতে এখন একটিMenuAnchorType
রয়েছে যা আরও ভাল এ 11 ওয়াই সমর্থন করার জন্যmenuAnchor
দেওয়া উচিত। এটিExposedDropdownMenu
focusable
পাস করার পরিবর্তে ব্যবহার করা উচিত, যা এখন হ্রাস করা হয়েছে।enabled
রাষ্ট্রকে নিয়ন্ত্রণ করতেmenuAnchor
একটি নতুন প্যারামিটার রয়েছে। ( I55ee6 , বি/257209915 , বি/308840226 ) - অক্ষম হয়ে গেলে
OutlinedButton
সীমানা রঙ স্থির করে। যুক্তButtonDefaults.outlinedButtonBorder("enabled")
( আই 650 বি , বি/318461363 ) - ক্লায়েন্টদের আইটেমের আকার সম্পর্কে তথ্য পেতে সহায়তা করার জন্য একটি নতুন
CarouselItemInfo
ক্লাস যুক্ত করেছে। ( I9070c ) - পৃষ্ঠতল পাত্রে ছাড়াই
ColorScheme
কনস্ট্রাক্টর এখন হ্রাস করা হয়। পৃষ্ঠতল পাত্রে অন্তর্ভুক্ত কনস্ট্রাক্টরে স্থানান্তরিত করুন। ( I35c11 ) - [বর্ণিত]
TextFieldDefaults
ContainerBox
Container
নামকরণ করা হয়েছে। ( আই 8 ডি 3 বি )
বাগ ফিক্স
-
sheetSwipeEnabled
মিথ্যা হলেBottomSheetScaffold
নেস্টেড স্ক্রোল থেকে আর স্ক্রোল করবে না। ( I5e1c1 , খ/306464779 ) -
IconButtonSamples.kt
-তে কিছুExperimentalMaterial3Api
3 এপিআই অপটিন টীকাগুলি সরানো হয়েছে। ( আই 111 ডি 1 )
সংস্করণ 1.3.0-আলফা 04
3 এপ্রিল, 2024
androidx.compose.material3:material3-*:1.3.0-alpha04
প্রকাশিত হয়েছে। সংস্করণ 1.3.0-ALPHA04 এর মধ্যে এই কমিট রয়েছে।
নতুন বৈশিষ্ট্য
- ম্যাটেরিয়াল 3 ক্যারোসেলের দুটি পরীক্ষামূলক সংস্করণ যুক্ত করা হয়েছে -
HorizontalMultiBrowseCarousel
এবংHorizontalUncontainedCarousel
( আই 88 ডি 64 ) - অপ্ট-ইন ( আইই 5 বি 0 বি ) হিসাবে ইউ+ এ ভবিষ্যদ্বাণীমূলক ব্যাককে সমর্থন করার জন্য আপডেট করা কমপোজ এম 3 এনএভি ড্রয়ার (
ModalDrawerSheet
এবংDismissibleDrawerSheet
- আইকনে একটি নতুন এপিআই যুক্ত করা হয়েছে যাতে ল্যাম্বডা হিসাবে পাসের রঙিন রঙিন রঙিন রঙিন রঙিন রঙিন রঙিন রঙিন এড়াতে এড়াতে অনুমতি দেয়। ( I5b5a2 )
- শীর্ষ অ্যাপ বার এপিআইগুলি এখন স্থির এবং সঙ্কুচিত উভয় বিভাগের জন্য কাস্টম উচ্চতা সমর্থন করে। ( আইবি 8 বি 0 সি, বি/323403446 )
এপিআই পরিবর্তন
- শীর্ষ অ্যাপ বার এপিআইগুলি এখন স্থির এবং সঙ্কুচিত উভয় বিভাগের জন্য কাস্টম উচ্চতা সমর্থন করে। এমন একটি সমস্যা স্থির করে যা একক-লাইন শীর্ষ অ্যাপ্লিকেশন বারগুলি স্ক্রোল করার সময় অনেকবার পুনরায় কমপোস করতে পারে। এমন একটি সমস্যা সমাধান করেছেন যেখানে
MediumTopAppBar
বড় ফন্ট/ডিসপ্লে সেটিংস সহ ডিভাইসে শিরোনামগুলি কাটা। ( আইবি 8 বি 0 সি, বি/323403446 , বি/300953236 , বি/286296147 , বি/330410290 , বি/308540676 )) -
SegmentedButton
এবং সম্পর্কিত এপিআইগুলি এখন স্থিতিশীল ( i8a158 ) -
SwipeToDismissBox
,SwipeToDismissBoxDefaults
,SwipeToDismissBoxState
এবংSwipeToDismissBoxValue
এখন স্থিতিশীল চিহ্নিত করা হয়েছে। ( I5f000 ) - অবমূল্যায়ন
DismissDirection
এবংDismissValue
ভ্যালু এনামস এবং এপিআই অপসারণ। ( I89ccd ) - ক্যারোসেলের
CarouselState
সহযোগী অবজেক্টে একটি পরীক্ষামূলক ট্যাগ যুক্ত করেছে। ( I94154 ) -
LocalMinimumInteractiveComponentEnforcement
অবমূল্যায়ন করুন এবং এটি প্রতিস্থাপনের জন্যLocalMinimumInteractiveComponentSize
প্রবর্তন করেছেন। ( I7a7ac ) -
SearchBarColors
কনস্ট্রাক্টর এখন সর্বজনীন। ( I769ca ) -
SwipeToDismissBox
একটিgesturesEnabled
প্যারামিটার যুক্ত করেছে। ( আইডিসি 59 এফ , বি/324170119 ) - সরানো পাঠ্য ক্ষেত্রের এপিআইগুলি যা অবনমিত এবং পরীক্ষামূলক হিসাবে চিহ্নিত করা হয়েছিল। ( I1305f )
সংস্করণ 1.3.0-আলফা 03
20 মার্চ, 2024
androidx.compose.material3:material3-*:1.3.0-alpha03
প্রকাশিত হয়েছে। সংস্করণ 1.3.0-ALPHA03 এ এই কমিটগুলি রয়েছে।
ভিজ্যুয়াল ব্রেকিং পরিবর্তন
- পর্যাপ্ত রঙের বৈপরীত্য নিশ্চিত করতে ফোকাস স্টেট ওভারলে 0.1F হতে আপডেট করুন। ( I7ea77 )
-
lightColorScheme
এবংdarkColorScheme
পৃষ্ঠ এবং পটভূমির রঙের ডিফল্টগুলিতে ছোট সমন্বয়গুলি। ( I9db52 )
নতুন বৈশিষ্ট্য
-
ExposedDropdownMenu
কাস্টমাইজ করতে প্যারামিটার যুক্ত করা হয়েছে। বিশেষত, মেনুগুলিতে এখন একটিfocusable
প্যারামিটার রয়েছে (ডিফল্টtrue
) যা সম্পাদনাযোগ্য পাঠ্য ক্ষেত্রগুলির সাথে কাজ করার সময়false
সেট করা উচিত। ( আই 4184 সি , বি/323694447 , বি/278609042 )
এপিআই পরিবর্তন
-
ScaffoldSubcomposeInMeasureFix
পতাকাটি সরানো হয়েছে। ( আই 2 এ 4 বি ) -
NavigationRailItemColors
এখন@Immutable
হিসাবে চিহ্নিত করা হয়েছে। ( If6112 , খ/327660613 ) -
NavigationBarItemColors
এখন@Immutable
হিসাবে চিহ্নিত করা হয়েছে। ( আই 42 এ 30 , বি/298064514 ) - স্লাইডার ট্র্যাক কমপোজেবলের পুনরায় অর্ডার। ( I9f315 )
-
ExposedDropdownMenu
এখনPopup
ব্যবহার করে প্রয়োগ করা হয়েছে। কীবোর্ডে টাইপ করার সময় সম্পাদনাযোগ্য পাঠ্য ক্ষেত্রগুলি সহ ফোকাসযোগ্য মেনুগুলি বাদ দিয়ে আচরণটি একই হওয়া উচিত।
বাগ ফিক্স
- পৃষ্ঠ এবং পৃষ্ঠের ধারক বেসলাইন ভূমিকাগুলি কিছুটা সামঞ্জস্য করা হয়েছে, হালকা এবং গা dark ় থিমগুলিতে আরও বেশি রঙ সরবরাহ করে। ( I677a5 )
- নতুন নন-টেক্সট কনট্রাস্ট স্পেসগুলি অনুসরণ করতে স্লাইডার এবং
ProgressIndicator
রঙগুলি আপডেট করা হয়েছে। ( I26807 ) - পর্যাপ্ত রঙের বৈপরীত্য নিশ্চিত করতে ফোকাস স্টেট ওভারলে 0.1F হতে আপডেট করুন। ( I7ea77 )
-
lightColorScheme
এবংdarkColorScheme
পৃষ্ঠ এবং পটভূমির রঙের ডিফল্টগুলিতে ছোট সমন্বয়গুলি। ( I9db52 )
সংস্করণ 1.3.0-আলফা 02
6 মার্চ, 2024
androidx.compose.material3:material3-*:1.3.0-alpha02
প্রকাশিত হয়েছে। সংস্করণ 1.3.0-ALPHA02 এ এই কমিটস রয়েছে।
এপিআই পরিবর্তন
- স্লাইডার রাজ্যগুলিকে আবার স্থিতিশীল করা।
State.onValueChangeFinished
তৈরি করা। একটিrememberUpdatedState
onValueChangeFinished
মোড়ানো। ( I82ab2 , খ/322269951 ) - নেভিগেশন উপাদানগুলি এখন নতুন
SurfaceContainer
ভূমিকা ব্যবহার করে।DrawerDefaults
এখন স্বতন্ত্রstandardContainerColor
এবংmodalContainerColor
বৈশিষ্ট্য সরবরাহ করে।DrawerDefaults.ModalDrawerElevation
এখন0.dp
( I7fbac ) -
Slider
রাজ্যগুলি থেকে@Stable
অপসারণ যেহেতু আমরাstate.onValueChangeFinished
পরিবর্তন করছিvar
( আইইডি 34 এ , বি/322269951 ) -
ModalBottomSheet
এবংStandardBottomSheet
অ্যানিমেশন স্পেস এখন একটিTweenSpec
, একটি বসন্ত অ্যানিমেশন থেকে আপডেট। এটি দৃশ্যমান ওভারশুট সহ একটি সমস্যা সমাধান করে। ঘনত্ব ব্যতীত অবমূল্যায়িতSheetState
কনস্ট্রাক্টরগুলি এখন সরানো হয়েছে। ( I7babc , খ/285847707 )
বাগ ফিক্স
-
SurfaceContainer
ভেরিয়েন্টগুলি এখন উপাদানগুলি দ্বারা ব্যবহৃত হয়। যে উপাদানগুলি পৃষ্ঠ এবংTonalElevation
সহ আনুষ্ঠানিকভাবে গণনা করা রঙগুলি এখন ডিফল্টরূপেSurfaceContainer
ভূমিকা ব্যবহার করে, যা টোনাল উচ্চতা দ্বারা প্রভাবিত হয় না। ( বি/304584161 ) - স্থির বাগ যা
ElevatedFilterChip
অনির্ধারিত, অক্ষম ধারক রঙ কালো হতে পারে। ( I400e6 , খ/322407043 ) - অগ্রগতি 0 ( আইডি 6582 ) হলে অনির্দিষ্ট অগ্রগতি সূচকটি ঠিক করুন
- আরটিএল লেআউটে
Slider
এবংRangeSlider
সহ একটি সমস্যা স্থির করেছে ( আইএবি 0 ই 1 ) - স্লাইডার রেঞ্জ গণনার জন্য
SliderRangeTolerance
যুক্ত করা যেহেতু ফ্লোট রাউন্ডিং ভুল হতে পারে। ( আইসি 918 এ , বি/324934900 ) - নিশ্চিত করুন যে
DatePickerDialog
কোনওDateRangePicker
বাসা বাঁধার সময় বা বৃহত্তর ফন্টগুলির সাথে ছোট স্ক্রিনগুলিতে কোনও ধরণের তারিখ বাছাইকারী প্রদর্শন করার সময় তার বোতামগুলি প্রদর্শন করে। ( আই 4758 , বি/325107799 , বি/277768544 ) -
Menu
এখন ধারক রঙের জন্যSurfaceContainer
ভূমিকাটি উপার্জন করে।MenuDefaults.TonalElevation
এখন0.dp
( I135b7 ) -
TextField
এখন ধারক রঙের জন্যSurfaceContainerHighest
ভূমিকাটি উপার্জন করে। ( I4ded ) - এলিভেটেড চিপস এখন
SurfaceContainerLow
ভূমিকা ( i7cd2f ) লাভ করে -
DatePicker
কনটেইনার রঙ এখনSurfaceContainerHigh
।DatePickerDefaults.TonalElevation
এখন0.dp
( আইডিএ 753 ) - নীচের শিটগুলি পাত্রে রঙ এবং হ্যান্ডেল রঙে টানুন। ( I72a0a )
-
RichTooltip
কনটেইনার রঙ এখনSurfaceContainer
। ( আইএ 8 বি 45 ) -
SearchBar
কনটেইনার রঙ এখনSurfaceContainerHighest
।SearchBarDefaults.TonalElevation
এখন0.dp
( I88604 ) - আপডেটগুলি স্যুইচ করা অক্ষম এবং অনির্বাচিত ট্র্যাক/আইকনগুলি
SurfaceContainerHighest
রঙের ভূমিকাটি লাভ করতে। ( I7687a ) -
AlertDialog
ধারক রঙ এখনSurfaceContainerHigh
। ( Ie0433 ) -
BottomAppBar
কনটেইনার রঙ এখনSurfaceContainer
।TopAppBar
onScroll
রঙ এখনSurfaceContainer
। ( I41630 ) -
ElevatedCard
ধারক রঙ এখনSurfaceContainerLow
।SurfaceContainerHighest
এরFilledCard
ধারক রঙ। ( I35141 ) -
ElevatedButton
কনটেইনার রঙ এখনSurfaceContainerLow
।FilledIconButton
এর যখন নির্বাচিত হয় এখনSurfaceContainerHighest
একটি ধারক রঙ থাকে। ( I792c9 ) - আপডেটগুলি
TimePicker
ধারক রঙ এবং ক্লক ডায়াল রঙের ভূমিকাSurfaceContainerHighest
এ। ( I43b93 )
সংস্করণ 1.3.0-আলফা 01
ফেব্রুয়ারি 21, 2024
androidx.compose.material3:material3-*:1.3.0-alpha01
প্রকাশিত হয়েছে। সংস্করণ 1.3.0-ALPHA01 এর মধ্যে এই কমিট রয়েছে।
নতুন বৈশিষ্ট্য
- ইউ+ ( আইসিসিএফ 32 , বি/281967264 , বি/304850357 ) এ ভবিষ্যদ্বাণীমূলক ব্যাককে সমর্থন করার জন্য এম 3
ModalBottomSheet
রচনা করুন আপডেট করুন - ইউ+ ( i657f8 ) এ ভবিষ্যদ্বাণীমূলক ব্যাককে সমর্থন করার জন্য আপডেট করা এম 3
SearchBar
আপডেট হয়েছে - একটি ফাঁক এবং স্টপ সূচক যুক্ত করে অ্যাক্সেসযোগ্যতা উন্নত করতে স্লাইডার আপডেট করা হয়েছে। ( I3058e )
- একটি ফাঁক এবং স্টপ সূচক যুক্ত করে অ্যাক্সেসযোগ্যতা উন্নত করতে
ProgressIndicator
আপডেট করা হয়েছে। ( I21451 ) - সমৃদ্ধ টুলটিপের জন্য একটি ডিফল্ট ক্যারেট যুক্ত করা, নতুন সমৃদ্ধ টুলটিপ এপিআই এখন কাস্টম ক্যারেটকে অ্যাঙ্কর
LayoutCoordinates
আঁকতে দেয়। ( Ifd42c )
আচরণ পরিবর্তন
- নতুন রিপল এপিআই ব্যবহার করতে উপাদান উপাদানগুলি স্থানান্তরিত করা হয়েছে, এবং
RippleTheme
আর জিজ্ঞাসা করা হয়নি।
এপিআই পরিবর্তন
- মজাদার
drawStopIndicator
এখন সর্বজনীন। ( I3f59f ) -
DatePicker
formatWithSkeleton
ফাংশনটি অভ্যন্তরীণ হিসাবে চিহ্নিত করুন ( আইসি 65 ডিসি ) -
DropdownMenu
এখন কাস্টম রঙ, আকৃতি, উচ্চতা এবং সীমানা সমর্থন করে। ( I8e981 , খ/289554448 , বি/301887035 , বি/283654243 ) - মেটাল 3 উপাদানগুলি তাদের এপিআইতে একটি
MutableInteractionSource
প্রকাশ করার জন্য এখন আপডেট করা হয়েছে যেnull
ডিফল্টগুলি ডিফল্ট করে এমন একটি বাতিলযোগ্যMutableInteractionSource
প্রকাশ করতে। এখানে কোনও শব্দার্থক পরিবর্তন নেই: নালটি পাস করার অর্থ হ'ল আপনিMutableInteractionSource
উত্তোলন করতে চান না এবং প্রয়োজনে এটি উপাদানটির ভিতরে তৈরি করা হবে। নাল -এ পরিবর্তন করা কিছু উপাদানকে কখনই কোনওMutableInteractionSource
বরাদ্দ করার অনুমতি দেয় না এবং অন্যান্য উপাদানগুলিকে কেবল যখন তাদের প্রয়োজন হয় কেবল অলসভাবে একটি উদাহরণ তৈরি করার অনুমতি দেয় যা এই উপাদানগুলিতে পারফরম্যান্সকে উন্নত করে। আপনি যদি এই উপাদানগুলিতে পাস করাMutableInteractionSource
ব্যবহার না করে থাকেন তবে এর পরিবর্তে আপনি নালটি পাস করার পরামর্শ দেওয়া হচ্ছে। এটি আপনার নিজের উপাদানগুলিতে একই রকম পরিবর্তন আনার পরামর্শ দেওয়া হয়। ( I41abb , খ/298048146 ) - স্থির মানগুলি ব্যবহার করে রিপলগুলির প্রতি-উপাদান / সাব-ট্রি কাস্টমাইজেশনের জন্য অনুমতি দেওয়ার জন্য
RippleConfiguration
এবংLocalRippleConfiguration
যুক্ত করে। উদাহরণস্বরূপ, আপনি যে উপাদানটি নিয়ন্ত্রণ করেন না তার রঙ পরিবর্তন করতে, বা কোনও উপাদানটির জন্য একটি রিপল অক্ষম করতে। বেশিরভাগ ক্ষেত্রে ডিফল্ট মানগুলি ব্যবহার করা উচিত: এই এপিআইগুলি পৃথক উপাদান / সীমিত উপ-গাছের কাস্টমাইজেশনের জন্য একটি পালানো হ্যাচ। বিস্তৃত পরিবর্তন এবং কাস্টম ডিজাইন সিস্টেমের জন্য, আপনার পরিবর্তেcreateRippleModifierNode
ব্যবহার করে আপনার নিজস্ব রিপল তৈরি করা উচিত। ( I7b5d6 , খ/298048146 ) - ম্যাটেরিয়াল 3 তে নতুন রিপল এপিআই যুক্ত করে যা অবমূল্যায়িত
rememberRipple
প্রতিস্থাপন করে। এছাড়াও অবমূল্যায়িতrememberRipple
/RippleTheme
এপিআই ব্যবহার করে ম্যাটেরিয়াল 3 উপাদানগুলি ফিরিয়ে আনতে একটি অস্থায়ীCompositionLocal
,LocalUseFallbackRippleImplementation
যুক্ত করে। এটি পরবর্তী স্থিতিশীল রিলিজে সরানো হবে এবং আপনি কেবল কাস্টমRippleTheme
সরবরাহ করছেন এমন মামলার জন্য অস্থায়ী মাইগ্রেশন সহায়তা হিসাবে চিহ্নিত করা হয়েছে। ( আই 34 সিবিসি , বি/298048146 )
বাগ ফিক্স
- কর্মক্ষমতা উন্নত করতে
ModalBottomSheet
অভ্যন্তরে সাবকোপজেশন সরানো হয়েছে। এমন একটি সমস্যা স্থির করা হয়েছে যেখানেModalBottomSheet
LookaheadScope
সাথে একত্রে নির্দিষ্ট পরিস্থিতিতে ক্র্যাশ করতে পারে। ( I2a198 ) - পারফরম্যান্স উন্নত করতে
BottomSheetScaffold
ভিতরে সাবকোপজেশন সরানো হয়েছে। এমন একটি সমস্যা স্থির করা হয়েছে যেখানেBottomSheetScaffold
LookaheadScope
সাথে একত্রে নির্দিষ্ট পরিস্থিতিতে ক্র্যাশ করবে। ( Ie6401 ) - শীর্ষ-ডান কোণার ক্ষেত্রে অ্যাঙ্কর সামগ্রীর কেন্দ্রের কাছাকাছি থাকতে ব্যাজ প্রান্তিককরণটি সামঞ্জস্য করা হয়। ( I18a28 )
-
DateRangePicker
সাথে একটি এ 11 ওয়াই ইস্যু ঠিক করুন যেখানে মাস-বছরের পাঠ্য শিরোনামটি স্ক্রিন রিডার, স্যুইচ অ্যাক্সেস এবং ভয়েস অ্যাক্সেস ব্যবহারকারীদের কাছে কার্যকর হিসাবে জানানো হয়েছিল। ( I2ac55 ) - স্থির
mediumTopAppBarColors
প্যারাম অর্ডার বাগ। ( Ibe64a )
সংস্করণ 1.2
সংস্করণ 1.2.1
6 মার্চ, 2024
androidx.compose.material3:material3-*:1.2.1
প্রকাশিত হয়েছে। সংস্করণ 1.2.1 এ এই কমিটস রয়েছে।
বাগ ফিক্স
- স্লাইডার রাজ্যগুলিকে আবার স্থিতিশীল করুন।
State.onValueChangeFinished
তৈরি করা। একটিrememberUpdatedState
onValueChangeFinished
মোড়ানো। ( আই 8 এফডি 0 , বি/322269951 ) -
Slider
রাজ্যগুলি থেকে@Stable
অপসারণ যেহেতু আমরাstate.onValueChangeFinished
পরিবর্তন করছিvar
( I82ba1 , খ/322269951 ) - ডিফল্ট থেকে অনুলিপি করতে
NavigationBar
কাস্টম রঙগুলি ঠিক করুন। ( 80A779 , খ/326894020 ) -
ExposedDropdownMenu
আবারও ফোকাসযোগ্য করার জন্য রিগ্রেশন ঠিক করুন ( 3FCEC1 , B/323694447 ) - ফিক্স বোতামের রঙ ক্যাচিং ইস্যু ( 3e5bbc বি/327371655 )
সংস্করণ 1.2.0
7 ফেব্রুয়ারি, 2024
androidx.compose.material3:material3-*:1.2.0
প্রকাশিত হয়েছে। সংস্করণ 1.2.0 এ এই কমিটস রয়েছে।
পরিচিত সমস্যা
- পারফরম্যান্স উন্নতি পরিবর্তনের অংশ হিসাবে
PrimaryTabRow
একটি ভিউ-কম্পোজ ইন্টারপ রেন্ডারিং বাগ চালু করা হয়েছিল। কার্যকারণটি হ'লTabRowDefaults.PrimaryIndicator
সহTabRow
ব্যবহার করা
1.1.0 থেকে গুরুত্বপূর্ণ পরিবর্তন
নতুন উপাদান নকশা 3 উপাদান
- রিফ্রেশ করতে টানুন
- সেগমেন্টেড বোতাম
বিদ্যমান উপাদান ডিজাইন 3 উপাদানগুলির বর্ধন।
- নীচে অ্যাপ বার (আরটিএল প্রান্তিককরণ, স্ক্রোলে অটো-হাইড)
- ট্যাব ভিজ্যুয়াল আপডেট
- ব্যাজ (প্রান্তিককরণ আপডেট)
পরীক্ষামূলক এপিআইগুলিকে স্থিতিশীল করে প্রচারিত!
কর্মক্ষমতা উন্নতি
- আরও তথ্যের জন্য দয়া করে এই ব্লগ পোস্টটি দেখুন!
সংস্করণ 1.2.0-আরসি 01
24 জানুয়ারী, 2024
androidx.compose.material3:material3-*:1.2.0-rc01
প্রকাশিত হয়েছে। সংস্করণ 1.2.0-আরসি 01 এ এই কমিটগুলি রয়েছে।
বাগ ফিক্স
- স্থির
mediumTopAppBarColors
প্যারাম অর্ডার বাগ। ( Ibe64a ) -
CardDefaults.cardColors
কালারগুলিতে1.2.0-beta02
এ প্রবর্তিত একটি বাগ স্থির করেছে যাcontainerColor
প্যারাম মানের উপর ভিত্তি করেcontentColor
আপডেট করে না। ( Iee041 , খ/319671246 ) -
1.2.0-beta02
এ প্রবর্তিতdisabledContentColor
একটি বাগ স্থির করে এবং ছোট অপ্টিমাইজেশন যুক্ত করেছে। ( I6dda1 , খ/318428829 )
সংস্করণ 1.2.0-BETA02
জানুয়ারী 10, 2024
androidx.compose.material3:material3-*:1.2.0-beta02
প্রকাশিত হয়েছে। সংস্করণ 1.2.0-BETA02 এ এই কমিটগুলি রয়েছে।
পরিচিত বাগ
-
IconButtonColors
কালারগুলিতে একটি বাগ ডিফল্টরূপে ব্যবহারকারী নির্দিষ্টcontentColor
পরিবর্তেLocalContentColor
একটি আলফা (0.38F) এdisabledContentColor
বরাদ্দ করবে। কার্যকারিতাটি স্পষ্টভাবেdisabledContentColor
সেট করা। এটি পরবর্তী প্রকাশে স্থির করা হবে।
এপিআই পরিবর্তন
- প্লেইন
Tooltip
এপিআইগুলির জন্য টুলটিপ কেয়ারেটগুলি সক্ষম করতে সক্ষমতা যুক্ত করা। ( আইবিএফ 767 ) -
SwipeToDismissState
,rememberSwipeToDismiss
উইপটোডিজিস এবংSwipeToDismissValue
সমস্তের নামকরণ করা হয়েছে_SwipeToDismissBox_
। ( I68d6d )
বাগ ফিক্স
- স্পেসের সাথে সারিবদ্ধ করার জন্য স্থির
ListItem
শেষ প্যাডিং মান। ( আইবিডি 68 বি, বি/305342674 ) - রূপরেখা কার্ডের জন্য আউটলাইন রঙটি এখন সঠিকভাবে
OutlineVariant
ম্যাপ করা হয়েছে। ( I75480 , খ/310979715 ) - গতিশীল রঙ এখন সিস্টেম সংজ্ঞায়িত রঙের ভূমিকা থেকে টানছে। এটি অ্যাক্সেসযোগ্য সামগ্রীর জন্য বৈপরীত্যকে উন্নত করে এবং আরও ঘনিষ্ঠভাবে উপাদান স্পেকের সাথে গতিশীল রঙকে একত্রিত করে। ( I1de96 )
- অ্যান্ড্রয়েড যখন
android:enableOnBackInvokedCallback="true"
সক্ষম করুনModalBottomSheet
ব্যাক হ্যান্ডলিং: যখন অ্যান্ড্রয়েড: সক্ষম করুন। ( I728dc , খ/306196110 )
সংস্করণ 1.2.0-BETA01
13 ডিসেম্বর, 2023
androidx.compose.material3:material3-*:1.2.0-beta01
প্রকাশিত হয়েছে। সংস্করণ 1.2.0-BETA01 এর মধ্যে এই কমিটগুলি রয়েছে।
এপিআই পরিবর্তন
- পরীক্ষামূলক হিসাবে
TabIndicatorScope
চিহ্নিত করুন। ( I45c88 ) - টুলটিপের জন্য অবনমিত পরীক্ষামূলক এপিআই অপসারণ করা। ( আই 438 সিবি )
- সাবকোমপজিশনগুলি ব্যবহার না করার জন্য নতুন
TabRow
ওভারলোডগুলি পরিবর্তন করুন। এটি সরবরাহিত কাস্টম মডিফায়ারগুলির সাথেTabRow
সূচকগুলি তৈরি করার জন্য আলাদা উপায়ে ফলাফল করে। ( Ife741 ) -
DismissDirection
অবমূল্যায়ন করুন এবংDismissValue
এপিআই এর। এগুলিSwipeToDismissValue
একীভূত করা হয়েছে, যার মানগুলিSwipeToDismissBox
অবস্থান এবং দিক উভয়ই নির্দেশ করে।DismissState.progress
এখন0.0
এবং1.0
এর মধ্যে একটিFloatRange
হিসাবে চিহ্নিত করা হয়েছে।DismissState
অবমূল্যায়িত সেভার এবং কনস্ট্রাক্টর এখন সরানো হয়েছে।SwipeToDismiss
উপাদান, রাজ্য এবং ডিফল্ট অবজেক্ট পরীক্ষামূলক হিসাবে মন্তব্য করা হয়েছে। ( আইবি 54 এফ 2 )
বাগ ফিক্স
-
PullToRefresh
জন্য ডিফল্ট সূচকটি এখন একটি শক্ত ত্রিভুজের পরিবর্তে একটি খোলা তীরহেড। ( I67be3 )
সংস্করণ 1.2.0-আলফা 12
নভেম্বর 29, 2023
androidx.compose.material3:material3-*:1.2.0-alpha12
প্রকাশিত হয়েছে। সংস্করণ 1.2.0-আলফা 12 এ এই কমিটগুলি রয়েছে।
এপিআই পরিবর্তন
-
RangeSlider
এখন কাস্টমFloatRange
মান শ্রেণীর পরিবর্তে একটি কোটলিন রেঞ্জ (যেমন,0f..1f
) নেয়।SnapFlingBehavior.kt
এখন একটি কোটলিন রেঞ্জও ব্যবহার করে। ( I025 সিবি ) - মডিফায়ার কারখানার ফাংশনগুলি
@Stable
হিসাবে চিহ্নিত করুন। ( আইবি 109 এফ )
সংস্করণ 1.2.0-আলফা 11
15 নভেম্বর, 2023
androidx.compose.material3:material3-*:1.2.0-alpha11
প্রকাশিত হয়েছে। সংস্করণ 1.2.0-আলফা 11 এ এই কমিটস রয়েছে।
নতুন বৈশিষ্ট্য
-
PullToRefreshContainer
এবংPullToRefreshState
প্রয়োগ করে, যা একসাথে ম্যাটেরিয়াল 3 এ বাস্তবায়ন রিফ্রেশ করার জন্য একটি টান সরবরাহ করে। ( I16456 , বি/261760718 )
এপিআই পরিবর্তন
-
SwipeToDismissBox
DismissDirection
করুন এবং পরীক্ষামূলক হিসাবেDismissValue
। ( I517b0 ) -
SwipeToDismissBox
SwipeToDismiss
নাম পরিবর্তন করুন।background
backgroundContent
এবংdismissContent
নামকরণ করুনcontent
ল্যাম্বডা পিছনে পিছনে। ( I7f4d3 ) -
ChipElevation
এবংSelectableChipElevation
জনসাধারণের জন্য কনস্ট্রাক্টর তৈরি করুন। ( আই 0 সি 48 , বি/308432421 ) -
ModalBottomSheetProperties
যুক্ত করা হচ্ছে।securePolicy
ModalBottomSheetProperties
সরিয়ে নেওয়া।ModalBottomSheetProperties
isFocusable
এবংshouldDismissOnBackPress
যুক্ত করা। এই নতুন বুলিয়ানগুলি আইএমই ইভেন্টগুলি কীভাবে পরিচালনা করা উচিত তা নির্ধারণ করতে সহায়তা করে। ( আইইএ 56 এফ , বি/278216859 ) -
initialOnValueChange
, প্রাথমিক উপসর্গ এবং উপযুক্ত কেডোসিগুলি অপসারণ করতে আপডেট হওয়াRangeSlider
এবংSlider
স্টেটগুলি। ( I57d30 ) -
ChipBorder
শ্রেণি এবং এর সাথে সম্পর্কিত ফাংশন কলগুলি হ্রাস করুন, পরিবর্তে সরাসরিBorderStroke
ব্যবহার করার পরামর্শ দিন। ( I89cc2 ) - ফাউন্ডেশন টুলটিপ এপিআইগুলি এখন
@ExperimentalFoundationApi
। ( I30b0b ) -
TabRow
এবংScrollableTabRow
আর হ্রাস পায় না। নতুন প্রাথমিক এবং গৌণ রূপগুলি পরীক্ষামূলক হিসাবে চিহ্নিত করা হয়েছে। ( I0def6 ) - ফিল্টার এবং ইনপুট চিপগুলি এখন সরাসরি
BorderStroke
ব্যবহার করে। ( I07a8d ) -
SegmentedButton
এখন সরাসরিBorderStroke
ব্যবহার করে। ( I89b9b ) - জেনেরিক
AlertDialog
ফাংশনটির নামকরণ করা হয়েছেBasicAlertDialog
এবং পূর্ববর্তী ফাংশনটিকে অবমূল্যায়ন করে। ( Idbe52 ) -
SwipeDismiss
SwipeToDismiss
এপিআইগুলির নাম পরিবর্তন করুন এবং নতুনSwipeDismiss
এপিআইগুলিকে স্থিতিশীল করার জন্য প্রচার করুন। ( I14cbe ) - টুলটিপ এপিআইগুলিতে
tonalElevation
এবংshadowElevation
যুক্ত করা। অতিরিক্তভাবে, মুভিংTooltipBox
,PlainTooltip
এবংRichTooltip
এপিআইগুলি পরীক্ষামূলকভাবে ফিরে আসে যেহেতু তারা দুর্ঘটনাক্রমে স্থিতিশীল হিসাবে প্রকাশিত হয়েছিল। ( If0f66 , বি/293939035 ) - স্থিতিতে পরীক্ষামূলক চিপ এপিআই প্রচার করুন। ( আইইএ 2 সি 3 )
- ম্যাটেরিয়াল 3 ক্লিকযোগ্য কার্ডগুলি থেকে
@ExperimentalMaterial3Api
3 এপিআই টীকাগুলি সরানো হয়েছে। ( I88dbf )
বাগ ফিক্স
- এমন একটি সমস্যা স্থির করা হয়েছে যেখানে
SwipeToDismiss
নেস্টেড লুকাহেড এবং অলস লেআউটগুলির সাথে নির্দিষ্ট পরিস্থিতিতে ক্র্যাশ করবে। ( আইসিএ 8 ডি 1 , বি/297226562 )
সংস্করণ 1.2.0-আলফা 10
18 অক্টোবর, 2023
androidx.compose.material3:material3-*:1.2.0-alpha10
প্রকাশিত হয়েছে। সংস্করণ 1.2.0-আলফা 10 এ এই কমিটগুলি রয়েছে।
এপিআই পরিবর্তন
- স্থিতিতে
Badge
এবংBadgedBox
প্রচার করা। ( I67f16 , বি/261565132 ) -
ModalBottomSheet
প্যারামিটার হিসাবেsecurePolicy
যুক্ত করা, যাতে ব্যবহারকারীরাWindowManager.LayoutParams.FLAG_SECURE
জন্য আচরণটি সংজ্ঞায়িত করতে পারে। ( আইসিডিএসি 8 , বি/296250262 ) - ল্যাম্বডা হিসাবে
progress
গ্রহণ করে এমনLinearProgressIndicator
এবংCircularProgressIndicator
নতুন ওভারলোড যুক্ত হয়েছে। এগুলি পূর্ববর্তী সংস্করণগুলির চেয়ে বেশি পারফরম্যান্ট হওয়া উচিত। ( I824e6 , বি/295616656 ) -
AllSizeClasses
StandardSizeClasses
নামকরণ করুন। ( I8cb07 ) - উইন্ডো আকারের শ্রেণীর গণনা ফাংশনগুলি একত্রিত করুন। ( আইএডি 935 )
বাগ ফিক্স
- যখন প্রদর্শিত মাসটি অনুমোদিত বছরের অনুমোদিত পরিসরের প্রান্তে থাকে তখন দ্রুত নেভিগেশন অ্যারো বোতামগুলিতে ক্লিক করার সময় একটি
DatePicker
ক্র্যাশ ঠিক করুন। ( I46f36 , খ/290954897 , বি/297002119 ) - [এনএভি রেল/বার] সূচকটির জন্য স্বচ্ছ রঙ সমর্থন করে। ( আই 0 এ 9 বি , বি/267289987 )
সংস্করণ 1.2.0-আলফা 09
4 অক্টোবর, 2023
androidx.compose.material3:material3-*:1.2.0-alpha09
প্রকাশিত হয়েছে। সংস্করণ 1.2.0-ALPHA09 এ এই কমিটস রয়েছে।
এপিআই পরিবর্তন
- নতুন
AnchoredDraggable
এপিআই ব্যবহার করতে মাইগ্রেটেডModalNavigationDrawer
এবংDismissibleNavigationDrawer
।DrawerState
'sanimateTo
has been replaced by the open and close methods, and the offset is now exposed as a float instead of a state object. You can access the offset directly throughcurrentOffset
. ( I0a72c ) - Non-Composable functions have been added for creating a
DatePickerState
andDateRangePickerState
directly. These functions can be used as an alternative to the ComposablerememberDatePickerState
andrememberDateRangePickerState
functions when needed. ( I70326 , b/291524052 ) - Fixed and Scrollable
TabRows
now have Primary and Secondary variants. These correctly map to the color and indicator behavior as defined in Material3. -
PrimaryScrollableTabRow
andSecondaryScrollableTabRow
now expose scroll state. ( Iec8f5 , b/260572337 ) - Adding a new
sheetMaxWidth
parameter that developers can set to specify a maximum width that the sheet will span. Dp.Unspecified can be passed in for the parameter if a sheet that spans the entire screen width is desired. ( Ifb7c9 , b/266697696 ) - Adding back
PlainTooltipBox
andRichTooltipBox
APIs as deprecated methods. ( I246fa )
বাগ ফিক্স
- Fix a crash when the
DatePicker
is initialized with aDatePickerFormatter
that has certain date skeletons that stay the same when converted to date patterns (such as YY). ( I01f29 )
Version 1.2.0-alpha08
20 সেপ্টেম্বর, 2023
androidx.compose.material3:material3-*:1.2.0-alpha08
is released. Version 1.2.0-alpha08 contains these commits.
Behavior Breaking Change
-
ColorScheme
is now Immutable, making individual color updates less efficient, but making more common usage of colors more efficient. The reasoning behind this change is that the majority of apps wouldn't have updating individual colors as a main use case. This is still possible but it will recompose more than before, in turn we significantly decrease the amount of state subscriptions through all of Material code and will impact initialization and runtime cost of more standard use cases. ( Ic447d , b/297212873 ) - Tonal Elevation no longer animates in different interaction states to match spec. ( Icdd12 )
এপিআই পরিবর্তন
- Added a new
BottomAppBar
that takes as parameter aBottomAppBarScrollBehavior
in order to auto-hide it when content is scrolled. Also addedFabPosition.EndOverlay
allowing the FAB to overlay the bottom app bar in the scaffold instead of being anchored above it. ( Iecb47 ) - Added a simple Label component that builds on top of
BasicTooltipBox
that won't dismiss when tapping outside of the bounds of the label. ( I821f9 )
বাগ ফিক্স
- Removed the use of
rememberSaveable
for tooltips. ( Icc131 , b/299500338 ) - Introduced a temporary flag to control whether Scaffold should measure its children during measurement or during placement. By default, this will measure in measurement. If you are facing issues with the new behavior, please file an issue. ( I0b354 )
- Fixed horizontal Edge to Edge in
BottomSheet
by using the correct measurement for device screen width. ( I1df0c , b/299058752 ) - Fixed a bug where
ModalBottomSheet
was not callingonDismissedRequest
when dismissing it by swiping down on the sheet. ( Idfdd8 )
Version 1.2.0-alpha07
6 সেপ্টেম্বর, 2023
androidx.compose.material3:material3-*:1.2.0-alpha07
is released. Version 1.2.0-alpha07 contains these commits.
নতুন বৈশিষ্ট্য
- Auto-mirror icons support has been added in
compose material 1.6.0-alpha05
, please see the release notes for details on auto-mirror icons.
এপিআই পরিবর্তন
-
SliderState
implementsDraggableState
( I9b116 ) - Change shape to be a required param. Rename
position
toindex
in shape helper function. ( I34941 ) - Updates the
DatePicker
formatWithSkeleton
to include a map that is used as a cache for performance improvements. ( I3195f ) - Added
BasicTooltipBox
tocompose.foundation
and updatedPlainTooltipBox
andRichTooltipBox
to useTooltipBox
with newPlainTooltip
andRichTooltip
composables. ( I79e1d )
বাগ ফিক্স
-
dynamicLightColorScheme
anddynamicDarkColorScheme
now return higher chroma colors for surface andsurfaceContainer
roles. ( I5e901 ) - Fixed an issue where some components using Subcomposition (eg
BottomSheetScaffold
) inside a Scaffold inside aLookaheadScope
were attempting to read their size too early. ( I297b4 , I871f1 , b/295536718 )
Version 1.2.0-alpha06
23 আগস্ট, 2023
androidx.compose.material3:material3-*:1.2.0-alpha06
is released. Version 1.2.0-alpha06 contains these commits.
বাগ ফিক্স
- Fixed
DropdownMenu
'soffset
calculation so x offsets depend solely on the local layout direction, and y offsets will no longer be reversed when the menu is near the bottom of the screen. ( Iccc74 , b/294103942 ) - Fixed
DropdownMenu
'soffset
calculation so x offsets depend solely on the local layout direction, and y offsets will no longer be reversed when the menu is near the bottom of the screen. ( Ib87a2 , b/294103942 )
Version 1.2.0-alpha05
9 আগস্ট, 2023
androidx.compose.material3:material3-*:1.2.0-alpha05
is released. Version 1.2.0-alpha05 contains these commits.
এপিআই পরিবর্তন
- Updates to the Checkbox and
TriStateCheckbox
colors. TheCheckboxDefaults.colors()
disabledUncheckedColor
now only affects the border of the checkbox. Special cases that require you to set the internal box color when disabled and unchecked requires a custom constructed instance of aCheckboxColors
with the desired color values. ( I77d17 , b/291943198 )
Version 1.2.0-alpha04
জুলাই 26, 2023
androidx.compose.material3:material3-*:1.2.0-alpha04
is released. Version 1.2.0-alpha04 contains these commits.
নতুন বৈশিষ্ট্য
- Experimental Segmented Button API ( Ifc8fb )
- Dividers now have a parameter to control orientation to support vertical dividers. ( I4c899 , b/288438593 )
এপিআই পরিবর্তন
- We are moving the density dependency to the component level. This applies to the following components:
SwipeToDismiss
and Sheet based components. Please use the new overload provided where density is a parameter. ( I1846e ) - Additional annotations to specify allowed inputs to composables ( Ief234 )
- Add an icon parameter to segmented button, split semantics so that segmented buttons can be selectable to implement single-select, and toggleable to implement multi-select, with
SelectableSegmentedButtonRow
andToggelableSegmentedButtonRow
respectively. ( I38740 ) - Divider has been renamed to
HorizontalDivider
. AddedVerticalDivider
functionality. ( I5975c ) - Change the use of
ClosedFloatingPointRange
for the lighter weightFloatRange
in experimental Material3 APIs to minimize autoboxing. ( I4aab5 ) - Added new Start alignment for
FabPosition
( Ib7aea , b/170592777 )
বাগ ফিক্স
-
ModalBottomSheet
respects local layout direction. ( Ib4f44 , b/285628622 )
Version 1.2.0-alpha03
জুন 21, 2023
androidx.compose.material3:material3-*:1.2.0-alpha03
is released. Version 1.2.0-alpha03 contains these commits.
আচরণ পরিবর্তন
-
includeFontPadding
is nowfalse
by default in Material 3 typography. The default line height style has also been changed toTrim.None
andAlignment.Center
, and explicitlineHeight
(in sp) have been added to theTextStyle
s ofTypography
. Consult the API docs if you want to customize these values, and see the blog post for an in-depth explainer of these changes. ( I6266f , Icabc3 )
নতুন বৈশিষ্ট্য
- Added an overload for
RangeSlider
that is a stateful version of the component. CreatedRangeSliderState
that holds all of the information for the current active track, the measurements of the components of theRangeSlider
, and the drag and gesture logic. ( I8c270 ) - Search bar now supports shadows via the newly added
shadowElevation
parameter. ( Ia5369 , b/271040353 ) -
ColorScheme
now supports newSurfaceContainer
roles . - Surface tonal elevation overlay can now be disabled with the
LocalTonalElevationEnabled
composition local. ( Ic203c , b/277774590 )
এপিআই পরিবর্তন
- Open the component colors constructors. ( I8c4a6 )
- Adding focusable parameter to both tooltip APIs, so that developers can have the tooltip consume touch events or not. Be cautious that this might break accessibility focus automatic traversal. ( Ie32d8 )
- Optimized accessibility for performance and memory allocations. ( Iede48 )
- Expose
DefaultSizeClasses
and createStandardSizeClasses
forWindowSizeClasses
( I91838 ) - change
WindowWidth/HeightSizeClass
to float value classes ( Ie686e )
বাগ ফিক্স
- Scaffold's
contentWindowInsets
parameter now respects consumed window insets. Note that the behavior of content padding based ontopBar
andbottomBar
remains unchanged when these parameters are provided. ( I08b73 , b/264601542 ) - Fix the alignment of the center top app bar to ensure that a long title doesn't render over the action icons or the navigation icon. ( I4369f , b/236994621 )
- Tab positions now enforce a minimum content width of 24.dp. This provides an accessible touch target for tab indicators. ( Id8861 )
- Dynamic color palettes from
dynamicLightColorScheme
anddynamicDarkColorScheme
now support new surface roles. ( I1252e ) - Updating the badge notification alignment to not clip when colliding with great grandparent. ( Idf75a )
Version 1.2.0-alpha02
24 মে, 2023
androidx.compose.material3:material3-*:1.2.0-alpha02
is released. Version 1.2.0-alpha02 contains these commits.
এপিআই পরিবর্তন
- Add window insets parameter to
ModalBottomSheet
.- Scrim for
ModalBottomSheet
may now be drawn behind status bar withwindowInsets
set to zero - Updated default
ModalBottomSheet
functionality to stay outside of system bars including navigation - Status bar inset handling is provided by drag handle in edge-to-edge mode.
-
BottomSheetDefaults
includes window insets forBottomSheetWindow
. ( I31200 , b/274872542 , b/272973615 , b/272334475 , b/268432129 , b/275849044 , b/275486106 , b/268433162 )
- Scrim for
- Deprecate
Indicator
and addPrimary
/SecondaryIndicator
to match the M3 specs.PrimaryIndicator
matches the width of the tab's content whereasSecondaryIndicator
spans the full available width.SecondaryIndicator
is equivalent to the now deprecatedIndicator
and can be a direct replacement. ( I27604 ) - Added an option to pass in a
ScrollState
when constructing aDropdownMenu
or anExposedDropdownMenu
for controlling the vertical scroll state of the displayed menu items. ( Ia0734 , b/185304441 ) - Added an overload for
Slider
that is a stateful version of the component. CreatedSliderState
that holds all of the information for the current active track, the measurements of the components of theSlider
, and the drag and gesture logic. ( I124a5 ) - Renaming the Semantics property
isContainer
toisTraversalGroup
( I121f6 ) - Added optimized
TextStyle.merge(...)
with full parameter list. ( Iad234 , b/246961787 ) - Made
TooltipState
,RichTooltipState
, andPlainTooltipState
public interfaces. AddedRichTooltipStateImpl
andPlainTooltipStateImpl
for default states. Addedremember*State
functions to obtain these implemented states. RemovedTooltipSync
in favor of anTooltipDefault.GlobalMutatorMutex
. ( I7813d ) - Updated the
DatePickerColors
to include additional customization options for the date picker divider, navigation, and text input fields colors. ( I1a685 , b/274626815 ) -
DatePickerState
and theDateRangePickerState
are now public interfaces with default implementations that can be retrieved by therememberDatePickerState
andrememberDateRangePickerState
. ( I71c52 ) - Removed the
dateValidator
fromDatePicker
andDateRangePicker
and introduced aSelectableDates
interface that can be set on the state to control which dates or years are selectable in the UI. ( Ic2fc6 ) -
TimePicker
removed from stable API, further changes are expected in the state API ( I3f39a ) -
ModalBottomSheet
moved to android only.ModalBottomSheet
is not recommended for desktop use, and the functionality is not actively maintained. ( Ib3778 )
বাগ ফিক্স
- Fixed the
AlertDialog
dismiss action to appear below the confirm action when the actions stacked over each other to fit into the dialog's width. This fix aligns the implementation with the Material Design spec. ( I029de , b/235454277 ) - Fixed bug in
ListItem
using incorrect padding for three-line items. ( I6e235 ) -
ModalBottomSheet
now can display IME keyboard ( Idc508 , b/262140644 , b/268380384 , b/272483584 )
Version 1.2.0-alpha01
10 মে, 2023
androidx.compose.material3:material3:1.2.0-alpha01
and androidx.compose.material3:material3-window-size-class:1.2.0-alpha01
are released. Version 1.2.0-alpha01 contains these commits.
সংস্করণ 1.1
সংস্করণ 1.1.2
20 সেপ্টেম্বর, 2023
androidx.compose.material3:material3:1.1.2
and androidx.compose.material3:material3-window-size-class:1.1.2
are released. Version 1.1.2 contains these commits.
বাগ ফিক্স
- Fixed modifier incorrectly being passed to two composables. ( b/282761472 )
- Fixed
TimePickerState
returns incorrect hours when initialized with 23 hours. ( b/278242122 ) - Fixed initial toggle state for noon and minute validation. ( b/269768197 , b/282790635 )
- Fixed
state.hour
returning incorrect value for 11pm. ( b/282761472 , b/278242122 )
Version 1.1.1
জুন 21, 2023
androidx.compose.material3:material3:1.1.1
and androidx.compose.material3:material3-window-size-class:1.1.1
are released. Version 1.1.1 contains these commits.
বাগ ফিক্স
- Adds call for
ModalBottomSheet
withoutwindowInset
param for binary compatibility. ( Ib7959 ) - Add window insets parameter to
ModalBottomSheet
.- Scrim for
ModalBottomSheet
may now be drawn behind status bar withwindowInsets
set to zero - Updated default
ModalBottomSheet
functionality to stay outside of system bars including navigation - Status bar inset handling is provided by drag handle in edge-to-edge mode.
-
BottomSheetDefaults
includes window insets forBottomSheetWindow
. ( I31200 , b/274872542 , b/272973615 , b/272334475 , b/268432129 , b/275849044 , b/275486106 , b/268433162 )
- Scrim for
সংস্করণ 1.1.0
10 মে, 2023
androidx.compose.material3:material3:1.1.0
and androidx.compose.material3:material3-window-size-class:1.1.0
are released. Version 1.1.0 contains these commits.
Major features of 1.1.0
New Material Design 3 components
Enhancements to existing Material Design 3 components.
Promoted experimental APIs to stable!
Please see this blog post for more details!
Version 1.1.0-rc01
এপ্রিল 19, 2023
androidx.compose.material3:material3:1.1.0-rc01
and androidx.compose.material3:material3-window-size-class:1.1.0-rc01
are released. Version 1.1.0-rc01 contains these commits.
এপিআই পরিবর্তন
-
TimePicker
removed from stable API, further changes are expected in the state API ( I3f39a ) -
ModalBottomSheet
moved to android only.ModalBottomSheet
is not recommended for desktop use, and the functionality is not actively maintained. ( Ib3778 )
Version 1.1.0-beta02
5 এপ্রিল, 2023
androidx.compose.material3:material3:1.1.0-beta02
and androidx.compose.material3:material3-window-size-class:1.1.0-beta02
are released. Version 1.1.0-beta02 contains these commits.
এপিআই পরিবর্তন
-
SheetState
now has optionalskipHiddenState
parameter -
rememberStandardBottomSheetState
now has optionalskipHiddenState
parameter -
BottomSheetScaffold
now has a defined Hidden anchor, though it is disabled by default -
SheetState.requireOffset
documentation has been updated -
BottomSheetDefaults.MinimizedShape
has been renamed asBottomSheetDefaults.HiddenShape
( I839f4 , b/273870234 )
বাগ ফিক্স
- Do not switch the dial face from hour to minute when touch exploration is enabled. ( I717d0 )
-
ModalBottomSheet
andBottomSheetScaffold
drag handle semantics are now merged. ( I05afb ) -
BottomSheetScaffold
modifier,containerColor
andcontentColor
parameters now only affect content. ( I992cb ) -
BottomSheetScaffold nestedScroll
for sheet content now implements flings. ( I992cb )
Version 1.1.0-beta01
22 মার্চ, 2023
androidx.compose.material3:material3:1.1.0-beta01
and androidx.compose.material3:material3-window-size-class:1.1.0-beta01
are released. Version 1.1.0-beta01 contains these commits.
এপিআই পরিবর্তন
- Add layout type param to
TimePicker
composable. It allows to use different layouts, depending on the screen configuration ( Ia0e16 ) -
SearchBarDefaults
has been marked as experimental. ( I65561 ) - Added shadow elevation to
BottomSheetScaffold
( I94e0f ) - Added support for displaying the date pickers without the header part. API changes to allow passing a null headline when creating a date picker. You can now pass null headline, title, and
showToggleMode = false
in order to display a headless picker. ( Id3f3a , b/266132421 , b/267194809 )
বাগ ফিক্স
- Search bars now automatically clear focus when made inactive. ( I22a7c , b/261444487 )
- Updated the
DateRangePicker
to allow selecting a range with the same date for its start and end. ( I16529 , b/272882497 ) - Text fields now properly position their text elements when font size is smaller than expected. This may result in a few pixels change in your apps based on font settings and script. ( I8b8d0 )
- Bottom sheet semantic actions now have labels. ( I277b0 )
Version 1.1.0-alpha08
8 মার্চ, 2023
androidx.compose.material3:material3:1.1.0-alpha08
and androidx.compose.material3:material3-window-size-class:1.1.0-alpha08
are released. Version 1.1.0-alpha08 contains these commits.
নতুন বৈশিষ্ট্য
- Added support for
BottomSheetScaffold
andBottomSheetScaffoldState
. ( I063d4 )
এপিআই পরিবর্তন
- Added functionality to the
DatePickerState
and theDateRangePickerState
to allow setting dates after the initial creation of the state, as well as resetting selections by setting null timestamps. Setting dates manually should be made with caution, and the newsetSelection
function will throw an exception in case a provided date fails a precondition (see documentation). ( Ifa645 , b/268609314 , b/270427389 ) - Rename Collapsed
SheetValue
toPartiallyExpanded
to more accurately and flexibly depict behavior in this state. ( Ia1491 ) - Updated
ListItem
parameter names to _content instead of _text. Default getters are nowReadOnlyComposables
where relevant. ( I69a25 ) - Graduate interactive Surface APIs from experimental. ( I90d59 , b/261561812 )
বাগ ফিক্স
- Fixed an issue where
ModalBottomSheet
'sHalfExpanded
state was calculated incorrectly and the sheet would appear to be floating. ( I45e84 , b/268411386 ) - Add
confirmValueChange
check to scrim tap forModalBottomSheet
. ( I2311a , b/270425759 ) - Move semantic
BottomSheet
actions to drag handle. ( I158ba ) -
ModalBottomSheet
now commands focus on launch, handles back button. ( I4d2ab ) -
ModalBottomSheet onDismissRequest
is now also handled during nested scroll flings. ( I655c5 , b/268433166 )
Version 1.1.0-alpha07
22 ফেব্রুয়ারি, 2023
androidx.compose.material3:material3:1.1.0-alpha07
and androidx.compose.material3:material3-window-size-class:1.1.0-alpha07
are released. Version 1.1.0-alpha07 contains these commits.
নতুন বৈশিষ্ট্য
- Add a Time Input composable that works with
rememberTimePickerState()
, it follows the M3 spec for time input ( Ia4fab ) - Added a Material 3
DateRangePicker
API for selecting a range of dates. ( I7a6c3 , b/267194809 ) - Added a Material 3 input mode support for selecting date ranges via the
DateRangePicker
API. ( Ifdbc4 ) - Text field colors now allow customizing:
- The input field and placeholder text colors based on focus and error state. The
textColor
parameter has been renamed tounfocusedTextColor
, andplaceholderColor
has been renamed tounfocusedPlaceholderColor
. - The container color for filled text fields based on error state with the new
errorContainerColor
param.
- The input field and placeholder text colors based on focus and error state. The
- Exposed dropdown menu text field colors have been updated with parameters to support the new prefix and suffix API. ( I9c8b4 , b/254284181 , b/264766350 )
এপিআই পরিবর্তন
- Reverting some Slider API versions and removing redundant Slider overloads that are covered by the new experimental Slider with custom thumb and track. Promoting
RangeSlider
to be stable. ( Ie8fbd ) - Renamed
defaultElevation
toelevation
in chip's elevation functions. ( I0f872 ) - The following Material 3 text field APIs are no longer experimental:
TextField
,OutlinedTextField
,textFieldWithLabelPadding
,textFieldWithoutLabelPadding
,outlinedTextFieldPadding
. ( Ieb5c0 , b/261561819 ) -
TimePickers
is24Hour
uses system setting ( I18856 ) - Removed experimental annotation from scaffold apis. ( Ibb51e , b/261565765 , b/261436953 )
বাগ ফিক্স
-
ModalBottomSheet
default shape is now alwaysSheetDefaults.ExpandedShape
. ( I0dfca ) - Accessibility improvements for Material 3
DatePicker
andDateRangePicker
. ( I5087e ) - Fix bug where max height constraint is propagated and may crash. ( I30d8c )
- Removed semantic roles from clickable and selectable surfaces, updated components that used them to set roles using modifier.semantics ( I793d9 )
Version 1.1.0-alpha06
ফেব্রুয়ারী 8, 2023
androidx.compose.material3:material3:1.1.0-alpha06
and androidx.compose.material3:material3-window-size-class:1.1.0-alpha06
are released. Version 1.1.0-alpha06 contains these commits.
নতুন বৈশিষ্ট্য
- Text fields now support prefix and suffix text ( Ia8578 , b/179884561 )
- Added a
TimePicker
function to show a time picker following the Material 3 spec, used in conjunction withTimePickerState
and convenience methodrememberTimePickerState
( I71910 ) - A date input is now a display mode at the
DatePicker
. Added support for switching between date picker and date input modes. ( Ieeff7 ) - Added API for
RichTextTooltips
. ( I58ef3 ) - Modal bottom sheet implementation for Material 3, including
ModalBottomSheet
andModalBottomSheetDefaults
. Also introducesSheetState
andrememberSheetState
which can be used for future sheet components. ( I0853a , b/244189383 )
এপিআই পরিবর্তন
- Stablize the API
showSnackbar
( I195c2 , b/261424370 ) - Stablize the APIs for assist chip and suggestion chip ( Ibb67b , b/261424370 )
- Promotes
ListItem
,ListItemDefaults
andListItemColors
API to non-experimental ( I7e7fa , b/261438882 ) - Promoting
SliderPositions
,SliderDefaults.Thumb
, andSliderDefaults.Track
to stable and adding non-experimentalSlider
andRangeSlider
APIs that contain custom thumbs and track. Also deprecating the previousSlider
andRangeSlider
APIs. ( Ie5ea6 , b/261566890 ) - Made
Modifier.tooltipAnchor()
public, so devs can pass it to the anchor to indicate a tooltip should be displayed on long press. UpdatedPlainTooltipBox
API to no longer makeTooltipState
nullable and now has a default. ( Ie2fb7 ) -
ProgressIndicatorDefaults.circularTrackColor
has been marked@Composable
for consistency. ( Id29cc ) - Restored property getter
LocalMinimuTouchTargetEnforcement
and mark it as deprecated and redirect toLocalMinimumInteractiveComponentEnforcement
. ( I60dd5 )
Version 1.1.0-alpha05
জানুয়ারী 26, 2023
androidx.compose.material3:material3:1.1.0-alpha05
and androidx.compose.material3:material3-window-size-class:1.1.0-alpha05
are released. Version 1.1.0-alpha05 contains these commits.
নতুন বৈশিষ্ট্য
-
DatePickerDialog
and accessibility support - Added Custom thumb and track to
RangeSlider
.
Dependency Updates
-
Compose UI
andCompose Material
now depend on Lifecycle 2.6.0 .
Version 1.1.0-alpha04
11 জানুয়ারী, 2023
androidx.compose.material3:material3:1.1.0-alpha04
and androidx.compose.material3:material3-window-size-class:1.1.0-alpha04
are released. Version 1.1.0-alpha04 contains these commits.
নতুন বৈশিষ্ট্য
- Initial
DatePicker
API for picking a single date via a calendar UI. This API is still undergoing changes. ( I722b9 ) - Added support for plain tooltips via
PlainTooltipBox
. ( I0cdfb ) - Search bar ( Iad128 )
-
SwipeToDismiss
( I458a8 , b/242889540 )
এপিআই পরিবর্তন
- Added in
IsContainer
semantics property on Surfaces. This property will be used in a later change that determines traversal order based on the semantic meaning of elements such as surfaces. ( I63379 ) - Mark navigation drawer related APIs as stable. ( Iab01e , b/261439597 )
- Added a track color parameter for circular progress indicators, and a stroke cap parameter for both circular and linear progress indicators. ( Ie668c , b/216325962 , b/222964817 )
- More return type nullability of deprecated-hidden functions ( Ibf7b0 )
- Add
Modifier.minimumInteractiveComponentSize
. It can be used to reserve at least 48.dp in size to disambiguate touch interactions if the element would measure smaller. ( I33f58 , b/258495559 ) - Added experimental API for
AlertDialog
composable that has a content slot. ( Iec4a2 )
বাগ ফিক্স
- Progress for progress indicators is now properly bounded to its expected range. ( I8a7eb , b/262262727 )
পরিচিত সমস্যা
- When updating from
androidx.compose.foundation:1.4.0-alpha03
toandroidx.compose.foundation:1.4.0-alpha04
, you might experience ajava.lang.NoSuchFieldError
error. Here is where the issue was orginially reported. A fix has been submitted, and will be available on the next Compose update. As a work around, update yourandroidx.compose.material
andandroidx.compose.material3
libraries to the latest version(1.1.0-alpha04) or downgrade yourandroidx.compose.foundation
to 1.4.0-alpha03.
Version 1.1.0-alpha03
7 ডিসেম্বর, 2022
androidx.compose.material3:material3:1.1.0-alpha03
and androidx.compose.material3:material3-window-size-class:1.1.0-alpha03
are released. Version 1.1.0-alpha03 contains these commits.
এপিআই পরিবর্তন
- Renamed
consumedWindowInsets()
toconsumeWindowInsets()
andwithConsumedWindowInsets()
toonConsumedWindowInsetsChanged()
and made the Modifiers public. ( Ie44e1 ) - Add new default content padding for text button with icon to use. ( I8f662 )
- Added disabled colors for navigation bar and rail. ( Ia7892 , b/258867034 )
- Added an Modifier API to query ancestors scroll info. ( I2ba9d , b/203141462 )
- Used in
Clickable
to correctly delay press interactions, when gestures could become scroll events. - Fixed
Clickables
not correctly delaying ripples, when used inside anScrollable ViewGroup
. - Updated Drawers and Sheets to correctly delay presses in case gestures can become scroll events.
Dependency Updates
-
Compose UI
andCompose Material
now depend on Lifecycle 2.5.1. ( I05ab0 , b/258038814 )
Version 1.1.0-alpha02
9 নভেম্বর, 2022
androidx.compose.material3:material3:1.1.0-alpha02
and androidx.compose.material3:material3-window-size-class:1.1.0-alpha02
are released. Version 1.1.0-alpha02 contains these commits.
এপিআই পরিবর্তন
-
awaitFirstDown
andwaitForUpOrCancellation
now accept aPointerEventPass
for greater flexibility (also fixesExposedDropdownMenuBox
showing a menu while scrolling).( I7579a , b/212091796 ) - Added
minLines
parameter into material and material3 Text,TextField
andOutlinedTextField
which allows setting the minimum height of the component in terms of number of lines ( I4af1d ) - Deprecate the
TopAppBarDefaults smallTopAppBarColors
function in favor of a newtopAppBarColors
function that should be used when creating aTopAppBar
. ( Ie6cb9 ) - Added
minLines
parameter to theBasicText
andBasicTextField
. It allows to set the minimum height of these composables in terms of number of lines ( I24294 , b/122476634 )
বাগ ফিক্স
- Clip the content of a Material3
IconButton
andIconToggleBotton
to the component's state-layer shape (eg circular shape). ( I9da8f ) - Updates Material3 Medium and Large top app bars to apply the same background color across their entire surface, and to allow setting overriding the default colors with transparent color values. ( I67659 , b/249688556 , b/250838918 )
Version 1.1.0-alpha01
24 অক্টোবর, 2022
androidx.compose.material3:material3:1.1.0-alpha01
and androidx.compose.material3:material3-window-size-class:1.1.0-alpha01
are released. Version 1.1.0-alpha01 contains these commits.
বাগ ফিক্স
- Fixes to the top app bar when title is applied with a TextStyle and a Brush. ( If667e )
সংস্করণ 1.0
সংস্করণ 1.0.1
9 নভেম্বর, 2022
androidx.compose.material3:material3:1.0.1
and androidx.compose.material3:material3-window-size-class:1.0.1
are released. Version 1.0.1 contains these commits.
বাগ ফিক্স
- Updates Material3 Medium and Large top app bars to apply the same background color across their entire surface, and to allow setting overriding the default colors with transparent color values. ( I67659 , b/249688556 , b/250838918 )
সংস্করণ 1.0.0
24 অক্টোবর, 2022
androidx.compose.material3:material3:1.0.0
and androidx.compose.material3:material3-window-size-class:1.0.0
are released. Version 1.0.0 contains these commits.
Major features of 1.0.0
This is the first stable release of Compose Material 3!
Material Design 3 theming and Material You dynamic color
Material Design 3 components
- ব্যাজ
- Bottom App Bar
- বোতাম
- FAB and extended FAB
- কার্ড
- চেকবক্স
- চিপস
- ডায়ালগ
- বিভাজক
- ড্রপডাউন মেনু
- তালিকা
- Navigation bar
- নেভিগেশন ড্রয়ার
- নেভিগেশন রেল
- অগ্রগতি নির্দেশক
- রেডিও বোতাম
- স্লাইডার
- সুইচ
- ট্যাব
- পাঠ্য ক্ষেত্র
- শীর্ষ অ্যাপ বার
- আইকন
- পাঠ্য
- সারফেস
- লেআউট
- Content color
Window Size Class
material3-window-size-class
is a new library that provides support for window size classes: a set of opinionated viewport breakpoints for you to design, develop, and test resizable application layouts against. You can usecalculateWindowSizeClass
to retrieve a window size class instance, which you can use to determine how your UI should appear, such as showing a navigation rail instead of bottom navigation for larger window sizes. For more information and sample usage see the API reference documentation forWindowSizeClass
.Please see this blog post for more details!
Version 1.0.0-rc01
5 অক্টোবর, 2022
androidx.compose.material3:material3:1.0.0-rc01
and androidx.compose.material3:material3-window-size-class:1.0.0-rc01
are released. Version 1.0.0-rc01 contains these commits.
এপিআই পরিবর্তন
- Added slot param for supporting text to text field API ( Iaac0d , b/227146125 )
Version 1.0.0-beta03
21 সেপ্টেম্বর, 2022
androidx.compose.material3:material3:1.0.0-beta03
and androidx.compose.material3:material3-window-size-class:1.0.0-beta03
are released. Version 1.0.0-beta03 contains these commits.
এপিআই পরিবর্তন
-
ExposedDropdownMenuDefaults
now exposes a padding value for menu items. ( I34ee1 ) -
ExposedDropdownMenuBoxScope
now has aModifier.menuAnchor()
modifier that should be passed to the text field for proper a11y behavior. ( I27fa3 ) - Adding two overloaded methods for the current Slider API to allow users to pass in a thumb or track to populate the slider. ( I21c00 )
বাগ ফিক্স
- Updated dark theme color mapping for On Error Container to tone 90 ( Ic5612 )
- Fix to allow setting a transparent background for small Material 3 top app bars. ( I645e2 , b/245575782 )
Version 1.0.0-beta02
7 সেপ্টেম্বর, 2022
androidx.compose.material3:material3:1.0.0-beta02
and androidx.compose.material3:material3-window-size-class:1.0.0-beta02
are released. Version 1.0.0-beta02 contains these commits.
এপিআই পরিবর্তন
- Default components insets introduced in m3 components in beta01 version no longer account for IME insets.
- Material3 Scaffold component now has a
contentWindowInsets
parameter, allowing to specify the amount of insets to handle for the content slot. ( Icf11a , b/243713323 ) - Deprecates the experimental Material 3
SmallTopAppBar
function and introduces an equivalentTopAppBar
function. Please migrate your usage to the new one. ( I74404 , b/226918634 ) - Adds control over the top app bar fling and snap behaviors. ( I15c81 )
- Removes startIndent from Divider, moves color to last parameter. ( If7be2 )
বাগ ফিক্স
- Have Dialogs identify themselves to talkback users by announcing the word Dialog when they are displayed. ( I857ef )
Version 1.0.0-beta01
24 আগস্ট, 2022
androidx.compose.material3:material3:1.0.0-beta01
and androidx.compose.material3:material3-window-size-class:1.0.0-beta01
are released. Version 1.0.0-beta01 contains these commits.
API রেফারেন্স
To see latest theming, component and other composables available check out the Compose Material 3 API reference overview .
এপিআই পরিবর্তন
- Updated the Material 3 top app bar to snap into a fully collapsed to a fully extended state. Also, updated the
TopAppBarDefaults
behavior function to be Composables and provide default values for their top app bar state and animation spec. ( I642b3 ) - Updated FAB component signatures to match surface API ( I3afaa )
- Added insets Build-in support for Top app bars, drawers, navigation bar and rail. These components, when used separately or with Scaffold will automatically handle insets for developers. Note: This change doesn't add automatic handling of status bar icons and transparency of the status and navigation bars. Please, continue to do it manually to ensure the best edge-to-edge experience. ( I7e4e6 , b/183161866 )
- Updated component defaults to reduce API surface for future flexibility and performance improvements. ( I31820 )
- Reordered chip and navigation drawer sheet parameters to maintain consistency within the API ( I45d0b )
- Removed
startIndent
from Divider and moved color to be the last parameter.( If7be2 )
Version 1.0.0-alpha16
আগস্ট 10, 2022
androidx.compose.material3:material3:1.0.0-alpha16
and androidx.compose.material3:material3-window-size-class:1.0.0-alpha16
are released. Version 1.0.0-alpha16 contains these commits.
নতুন বৈশিষ্ট্য
- Support specifying a custom width on a navigation drawer. ( Ia7f10 )
এপিআই পরিবর্তন
- Reorder Tab and Leading icon tab parameters to maintain consistency within the API ( Ie2637 )
- Marked
BadgeDefaults
as experimental. ( I98ef3 ) - Remove deprecated navigation drawer function. ( I4f2db )
- Reorder Slider parameters in Material 3 to maintain consistency within the API ( I0aee7 )
- Reorder
NavigationBar
andNavigationRail
parameters to maintain consistency within the API ( I51cda ) - Reorder parameters in Material 3 to maintain consistency across the API. ( If4ae1 )
- Reorder Slider parameters in Material 3 to maintain consistency within the API ( I62673 )
- Renamed icons parameter to actions to be consistent with top app bar ( Id75be )
- Mark
Badge
andBadgedBox
as experimental because the anchor alignment is still influx. ( I1712e , b/236524516 ) - Change
@ExperimentalMaterial3Api
annotations on icon button variants to@OptIn
( I070b5 ) - Separated a navigation drawer's content to its own composable to support specifying a custom width on it. ( Ia7f10 )
- Removes
Divider
fromMenuDefaults
andTabDefaults
( I4e33c )
Version 1.0.0-alpha15
জুলাই 27, 2022
androidx.compose.material3:material3:1.0.0-alpha15
and androidx.compose.material3:material3-window-size-class:1.0.0-alpha15
are released. Version 1.0.0-alpha15 contains these commits.
নতুন বৈশিষ্ট্য
- Allow dragging the top app bar from the bar itself. ( I65c00 , b/205873416 )
এপিআই পরিবর্তন
- Updates to the
FilterChip
andElevatedFilterChip
APIs to remove theselectedIcon
slot and promote reusing theleadingIcon
for displaying a selected state. ( Ie5dc2 ) - Add scrim and outline variant color roles. ( Id6d54 )
- Fix naming conventions for composable defaults. ( I62b27 )
- Mark
ListItemDefaults
andListItemColors
as experimental. ( I1f3ec ) - Changes to the top app bar API to better reflect the meaning of its state properties. Also, mark the top app bar API as experimental. ( Ic0ad8 )
- Text selection colors have now been added to
TextFieldColors
for better discoverability. ( Iba1b8 ) - Adding
ButtonDefault.ButtonWithIconContentPadding
to be used with buttons that contain an icon. ( I2bf9c ) - Text fields have been marked as experimental to allow for more flexibility in future API changes. ( I127b5 )
- Removed the
@ExperimentalMaterial3Api
annotation from theCheckbox
function. ( I5eefc ) - Removed the
@ExperimentalMaterial3Api
annotation from theRadioButton
function. ( I17e2a ) - Removed the
@ExperimentalMaterial3Api
annotation from the non-interactive Cards. ( I9bd49 ) - Updates various component defaults objects to include colors, shapes etc. ( I96e11 )
বাগ ফিক্স
- Removed non-functioning trailing icons from input chip samples to avoid user confusion in the catalog app. ( I9846a )
Version 1.0.0-alpha14
জুন 29, 2022
androidx.compose.material3:material3:1.0.0-alpha14
and androidx.compose.material3:material3-window-size-class:1.0.0-alpha14
are released. Version 1.0.0-alpha14 contains these commits.
নতুন বৈশিষ্ট্য
- Added M3 list implementation, see the documentation for sample usage ( Id7a20 )
এপিআই পরিবর্তন
- Change parameter name from values to value in
RangeSlider
( I3b79a ) - API changes to the
InputChip
implementation to support a selectable state per the Material Design spec. Additional support at theFilterChip
colors for selected disabled state. ( I55244 , b/235792432 ) - Add
BottomAppBar
default FAB ( Ida4c8 ) -
ColorScheme.surfaceColorAtElevation
was added ( Id41af ) - Interfaces in compose libraries are now built using jdk8 default interface methods ( I5bcf1 )
-
WindowWidthSizeClass
andWindowHeightSizeClass
now implement Comparable, so they can be compared using operators (<, <=, >=, >) and other APIs. ( I747d0 )
বাগ ফিক্স
- Update badge sample to provide more meaningful content description. ( I10b9d )
- Adds option to use the system font size to the Material 3 catalog's theme picker. ( I10605 )
- Adds sample code for Badge and indeterminate progress indicators. ( I8fbe0 )
Version 1.0.0-alpha13
জুন 1, 2022
androidx.compose.material3:material3:1.0.0-alpha13
and androidx.compose.material3:material3-window-size-class:1.0.0-alpha13
are released. Version 1.0.0-alpha13 contains these commits.
এপিআই পরিবর্তন
- Supports maintaining the top app bar position on configuration change. ( I10459 , b/216160958 )
Version 1.0.0-alpha12
18 মে, 2022
androidx.compose.material3:material3:1.0.0-alpha12
and androidx.compose.material3:material3-window-size-class:1.0.0-alpha12
are released. Version 1.0.0-alpha12 contains these commits.
বাগ ফিক্স
- Slider parent can now have 0 width. ( b/231707291 )
Version 1.0.0-alpha11
11 মে, 2022
androidx.compose.material3:material3:1.0.0-alpha11
and androidx.compose.material3:material3-window-size-class:1.0.0-alpha11
are released. Version 1.0.0-alpha11 contains these commits.
নতুন বৈশিষ্ট্য
- Added
RangeSlider
to Material 3 ( I18e38 ) - Adds Material3
AssistChip
andInputChip
support ( I0d25a ) - Adds Material3
FilterChip
andSuggestionChip
support ( I9fdf3 )
এপিআই পরিবর্তন
- Renamed
TextFieldDefaults.BorderStroke
composable that draws a border stroke inOutlinedTextField
toTextFieldDefaults.BorderBox
. ( I5f295 ) - Switch m3 visual changes ( Iab30e )
- Allow passing colors to the standard icon buttons. ( Ia2445 )
বাগ ফিক্স
- Add lint check to material3/Scaffold to ensure that the inner padding is used ( I72293 , b/226951418 )
Version 1.0.0-alpha10
20 এপ্রিল, 2022
androidx.compose.material3:material3:1.0.0-alpha10
and androidx.compose.material3:material3-window-size-class:1.0.0-alpha10
are released. Version 1.0.0-alpha10 contains these commits.
নতুন বৈশিষ্ট্য
-
material3-window-size-class
is a new library that provides support for window size classes: a set of opinionated viewport breakpoints for you to design, develop, and test resizable application layouts against. You can usecalculateWindowSizeClass
to retrieve a window size class instance, which you can use to determine how your UI should appear, such as showing a navigation rail instead of bottom navigation for larger window sizes. For more information and sample usage see the API reference documentation forWindowSizeClass
. For more information on window size class definitions, see the public guidance on supporting different screen sizes.
এপিআই পরিবর্তন
- Adds default FAB elevation for
BottomAppBar
, removes trailing lambda fromBottomAppBar
with FAB. ( I92c47 ) - Adds Material3
FilledIconButton
,FilledTonalIconButton
, andOutlinedIconButton
. ( Ib2bda ) - Updates Material 3 Snackbar API to accept color values for the optional action and dismiss-action. ( Ibe4b4 )
- Partial consumption (down OR position) has been deprecated in
PointerInputChange
. You can useconsume()
to consume the change completely. You can useisConsumed
to determine whether or not someone else has previously consumed the change. -
PointerInputChange::copy()
now always makes a shallow copy. It means that copies ofPointerInputChange
will be consumed once one of the copies is consumed. If you want to create an unboundPointerInputChange
, use constructor instead. ( Ie6be4 , b/225669674 ) - Changes to the Cards API to receive the container and content colors via a
CardColors
interface, and to support a disabled state for clickable cards. ( I927df ) - The parameter
backgroundColor
has been renamedcontainerColor
in Material 3 text fields for improved consistency with other components. ( I6fbd9 )
বাগ ফিক্স
- Updates to the standard
IconButton
to align it with the Material3 spec. ( I09eab ) - Move the top bar height of material3 Scaffold into the padding passed to content, allowing the content to render underneath the top app bar. If the
PaddingValues
are ignored, then the content might be obscured by the top bar. ( I83cbc , b/217776202 )
Version 1.0.0-alpha09
6 এপ্রিল, 2022
androidx.compose.material3:material3:1.0.0-alpha09
is released. Version 1.0.0-alpha09 contains these commits.
নতুন বৈশিষ্ট্য
- Added Material 3 Switch API ( I2c3ad )
এপিআই পরিবর্তন
- Added support for dropdown menus with text fields (aka 'exposed dropdown menus' or 'combo boxes'.) ( I1b832 )
- Added shape parameter to MaterialTheme and Shape sub system. ( I37426 )
- Added an expanded parameter to
ExtendedFloatingActionButton
to control whether the FAB is expanded or collapsed, with animations between each state. Added Extended FAB overload for extended FABs with trailing text for ExtendedFABs without icon. ( Iba7f1 )
Version 1.0.0-alpha08
23 মার্চ, 2022
androidx.compose.material3:material3:1.0.0-alpha08
is released. Version 1.0.0-alpha08 contains these commits.
নতুন বৈশিষ্ট্য
- Added support for Material 3 text fields. ( I795cc , b/199377790 )
এপিআই পরিবর্তন
- Add default divider for menu ( I01374 )
- Added
surfaceTint
color parameter toColorScheme
class. ( I2f558 )
বাগ ফিক্স
- Fix at the Material3 Button to read its default text style value from the MaterialTheme. ( Ie62fc )
Version 1.0.0-alpha07
9 মার্চ, 2022
androidx.compose.material3:material3:1.0.0-alpha07
is released. Version 1.0.0-alpha07 contains these commits.
এপিআই পরিবর্তন
- Updates to Material 3 Surface API that brings back the overloaded functions for clickable Surfaces, as well as adding a function to support selectable and toggleable Surfaces. ( I4bf18 )
-
LazyVerticalGrid
andLazyHorizontalGrid
are now stable. ( I307c0 ) -
LazyVerticalGrid/LazyHorizontalGrid
and all related apis were moved into .grid subpackage. Please update your imports from androidx.compose.foundation.lazy to androidx.compose.foundation.lazy.grid. ( I2d446 ) - Reverted previous change of relying solely on a View for
WindowInsetsControllerCompat
, and again require a Window which is required for managing some window flags. DeprecatedViewCompat.getWindowInsetsController
in favor ofWindowCompat.getInsetsController
to ensure that the correct Window is used (such as if the View is in a dialog). ( I660ae , b/219572936 ) - Added a new
LazyVerticalGrid
API to define cross axis sizes ( I17723 )
বাগ ফিক্স
- Updates to the Card API to follow changes at the Surface API ( I3c8b9 )
Version 1.0.0-alpha06
23 ফেব্রুয়ারি, 2022
androidx.compose.material3:material3:1.0.0-alpha06
is released. Version 1.0.0-alpha06 contains these commits.
এপিআই পরিবর্তন
-
NavigationDrawerItem
is added that represents a single destination within the drawers ( Ic396f , b/218286829 ) -
PermanentNavigationDrawer
andDismissibleNavigationDrawer
have been added as experimental APIs. Those are the drawers suitable well for large screen devices. ( I5f8ab , b/218286829 ) - Adds Material 3 bottom app bar support ( Ic432a )
-
NavigationDrawer
has been renamed toModalNavigationDrawer
( I1807d , b/218286829 ) - Added Material 3 Slider class and tokens ( I1ccee )
- Added Tab implementation, see the documentation for sample usage ( Ie0146 )
বাগ ফিক্স
- Fixed an issue where the
TalkBack
screen reader linear navigation selected an empty top app bar title. ( Id4690 ) - Added
IconSize
toFloatingActionButtonDefaults
. ( Ia71cf ) - Bug fix for hidden
AlertDialog
buttons when a long text is added with aLazyColumn
. ( Ib2cc9 , b/216663029 )
Version 1.0.0-alpha05
ফেব্রুয়ারী 9, 2022
androidx.compose.material3:material3:1.0.0-alpha05
is released. Version 1.0.0-alpha05 contains these commits.
নতুন বৈশিষ্ট্য
Added Material Design 3 components
- Dropdown menu
- কার্ড
এপিআই পরিবর্তন
- Deprecated
Surface
function that takes an onClick callback. Clickable surfaces should be created with anInteractionSource
and aModifier.clickable()
. ( I211c6 ) - Added pressed and focused elevation support for FAB. ( Ibb584 )
- Changed the
Surface
API to receive an InteractionSource which allows controlling its appearance in different states. ( Iafbc8 )
বাগ ফিক্স
- Added missing tertiary colors in dynamic color schemes ( I456c4 , b/214588434 )
Version 1.0.0-alpha04
জানুয়ারী 26, 2022
androidx.compose.material3:material3:1.0.0-alpha04
is released. Version 1.0.0-alpha04 contains these commits.
এপিআই পরিবর্তন
- Added
NonRestartableComposable
to methods that are overloads of existing methods without complex logic. This reduces compiler generated memoization checks (equals) for all parameters which are repeated in the inner function that is called. ( I90490 ) - Added Material 3 divider. ( Ica5fc )
- Mark the Checkbox and RadioButton with an experimental API annotation. ( Ie44bb )
- Added support for Material 3 progress indicators. ( Iff232 , b/205023841 )
বাগ ফিক্স
- Update a disabled
TextButton's
container color to be transparent ( I6b248 , b/213339737 )
Version 1.0.0-alpha03
জানুয়ারী 12, 2022
androidx.compose.material3:material3:1.0.0-alpha03
is released. Version 1.0.0-alpha03 contains these commits.
বাগ ফিক্স
- Add
LocalIndication
to Material 3'sMaterialTheme
. ( I7ce4e ) - Fix the corner radius that is applied for Checkboxes ( I38b03 , b/175198975 , b/202309440 )
Dependency Updates
- Now depends on Kotlin
1.6.10
.
Version 1.0.0-alpha02
ডিসেম্বর 1, 2021
androidx.compose.material3:material3:1.0.0-alpha02
is released. Version 1.0.0-alpha02 contains these commits.
নতুন বৈশিষ্ট্য
- Add support for checkbox and radiobutton.
- Updated to be compatible with Kotlin
1.6.0
এপিআই পরিবর্তন
- Remove drawer from Material 3's scaffold. ( I04f51 )
- Adds Material 3
Checkbox
support. ( Id5542 ) - Adds Material 3
RadioButton
support. ( I20334 )
বাগ ফিক্স
- Reduce
IconButton
ripple radius from 40dp to 20dp. ( I68bbe , b/206674345 ) - Port string fast path for
Text
changes fromcompose.material
( I30b03 ) - Fixed but that hardcoded button to always be enabled. ( Iea832 , b/205335456 )
Version 1.0.0-alpha01
27 অক্টোবর, 2021
androidx.compose.material3:material3:1.0.0-alpha01
is released. Version 1.0.0-alpha01 contains these commits.
নতুন বৈশিষ্ট্য
Material Design 3 theming and Material You dynamic color
Material Design 3 components
- বোতাম
- FAB and extended FAB
- ডায়ালগ
- Navigation bar
- নেভিগেশন ড্রয়ার
- নেভিগেশন রেল
- শীর্ষ অ্যাপ বার
- ব্যাজ
- আইকন
- পাঠ্য
- সারফেস
- লেআউট
- Content color
For more information, check out the Material Design 3 and Material You section in the Material Theming in Compose guide.
,Compose Material 3
সর্বশেষ আপডেট | Stable Release | প্রার্থী মুক্তি | বিটা রিলিজ | আলফা রিলিজ |
---|---|---|---|---|
20 মে, 2025 | 1.3.2 | - | - | 1.4.0-alpha15 |
গঠন
Compose is combination of seven Maven Group IDs within androidx
. Each Group contains a targeted subset of functionality, each with its own set of release notes.
This table explains the groups and links to each set of release notes.
গ্রুপ | বর্ণনা |
---|---|
compose.animation | ব্যবহারকারীর অভিজ্ঞতাকে সমৃদ্ধ করতে তাদের জেটপ্যাক রচনা অ্যাপ্লিকেশনগুলিতে অ্যানিমেশন তৈরি করুন। |
compose.compiler | @Composable ফাংশন ট্রান্সফর্ম করুন এবং একটি Kotlin কম্পাইলার প্লাগইন দিয়ে অপ্টিমাইজেশান সক্ষম করুন। |
compose.foundation | বিল্ডিং ব্লক ব্যবহার করার জন্য প্রস্তুত সহ জেটপ্যাক কম্পোজ অ্যাপ্লিকেশন লিখুন এবং আপনার নিজস্ব ডিজাইন সিস্টেম টুকরা তৈরি করতে ভিত্তি প্রসারিত করুন। |
compose.material | মেটেরিয়াল ডিজাইন কম্পোনেন্ট ব্যবহারের জন্য প্রস্তুত জেটপ্যাক কম্পোজ UI তৈরি করুন। এটি রচনার উচ্চ স্তরের এন্ট্রি পয়েন্ট, যা www.material.io-তে বর্ণিত উপাদানগুলির সাথে মেলে এমন উপাদানগুলি প্রদান করার জন্য ডিজাইন করা হয়েছে৷ |
compose.material3 | মেটেরিয়াল ডিজাইন 3 উপাদান সহ জেটপ্যাক কম্পোজ UI তৈরি করুন, মেটেরিয়াল ডিজাইনের পরবর্তী বিবর্তন। মেটেরিয়াল 3-এ আপডেটেড থিমিং এবং উপাদান এবং মেটেরিয়াল ইউ ব্যক্তিগতকরণ বৈশিষ্ট্য রয়েছে যেমন ডায়নামিক কালার, এবং নতুন Android 12 ভিজ্যুয়াল স্টাইল এবং সিস্টেম UI এর সাথে সমন্বয় করার জন্য ডিজাইন করা হয়েছে। |
compose.runtime | কম্পোজের প্রোগ্রামিং মডেল এবং স্টেট ম্যানেজমেন্টের মৌলিক বিল্ডিং ব্লক এবং কম্পোজ কম্পাইলার প্লাগইনকে লক্ষ্য করার জন্য মূল রানটাইম। |
compose.ui | লেআউট, অঙ্কন এবং ইনপুট সহ ডিভাইসের সাথে ইন্টারঅ্যাক্ট করার জন্য কম্পোজ UI এর মৌলিক উপাদানগুলি প্রয়োজন। |
নির্ভরতা ঘোষণা করা
To add a dependency on Compose, you must add the Google Maven repository to your project. Read Google's Maven repository for more information.
আপনার অ্যাপ বা মডিউলের জন্য build.gradle
ফাইলে আপনার প্রয়োজনীয় আর্টিফ্যাক্টগুলির জন্য নির্ভরতা যোগ করুন:
Groovy
dependencies { implementation "androidx.compose.material3:material3:1.3.2" implementation "androidx.compose.material3:material3-window-size-class:1.3.2" implementation "androidx.compose.material3:material3-adaptive-navigation-suite:1.4.0-alpha15" } android { buildFeatures { compose true } composeOptions { kotlinCompilerExtensionVersion = "1.1.1" } kotlinOptions { jvmTarget = "1.8" } }
Kotlin
dependencies { implementation("androidx.compose.material3:material3:1.3.2") implementation("androidx.compose.material3:material3-window-size-class:1.3.2") implementation("androidx.compose.material3:material3-adaptive-navigation-suite:1.4.0-alpha15") } android { buildFeatures { compose = true } composeOptions { kotlinCompilerExtensionVersion = "1.1.1" } kotlinOptions { jvmTarget = "1.8" } }
For more information about dependencies, see Add build dependencies .
প্রতিক্রিয়া
Your feedback helps make Jetpack better. Let us know if you discover new issues or have ideas for improving this library. Please take a look at the existing issues in this library before you create a new one. You can add your vote to an existing issue by clicking the star button.
See the Issue Tracker documentation for more information.
Compose Material3 Common Version 1.0
Version 1.0.0-alpha01
এপ্রিল 17, 2024
androidx.compose.material3:material3-common:1.0.0-alpha01
, androidx.compose.material3:material3-common-android:1.0.0-alpha01
, and androidx.compose.material3:material3-common-desktop:1.0.0-alpha01
are released. Version 1.0.0-alpha01 contains these commits .
নতুন বৈশিষ্ট্য
Themeless components that can be used to build Material Design components:
- Tonal Palette
- আইকন
- Touch target size
Compose Material3 Adaptive Navigation Suite Version 1.0
Version 1.0.0-alpha07
1 মে, 2024
androidx.compose.material3:material3-adaptive-navigation-suite:1.0.0-alpha07
, androidx.compose.material3:material3-adaptive-navigation-suite-android:1.0.0-alpha07
, and androidx.compose.material3:material3-adaptive-navigation-suite-desktop:1.0.0-alpha07
are released. Version 1.0.0-alpha07 contains these commits .
এপিআই পরিবর্তন
- Make navigation suite APIs non-experimental ( If62af )
বাগ ফিক্স
- Consume insets for content by default ( 50266df )
Version 1.0.0-alpha06
এপ্রিল 17, 2024
androidx.compose.material3:material3-adaptive-navigation-suite:1.0.0-alpha06
, androidx.compose.material3:material3-adaptive-navigation-suite-android:1.0.0-alpha06
, and androidx.compose.material3:material3-adaptive-navigation-suite-desktop:1.0.0-alpha06
are released. Version 1.0.0-alpha06 contains these commits .
এপিআই পরিবর্তন
- Add
containerColor
andcontentColor
toNavigationSuiteScaffoldDefaults
. ( I64e3a , b/331993720 ) - Adding
itemColors
function toNavigationSuiteDefaults
. ( Idf719 , b/328480012 ) - Make
NavigationSuiteScope
sealed. ( Iefa57 )
Version 1.0.0-alpha05
6 মার্চ, 2024
androidx.compose.material3:material3-adaptive-navigation-suite:1.0.0-alpha05
, androidx.compose.material3:material3-adaptive-navigation-suite-android:1.0.0-alpha05
, and androidx.compose.material3:material3-adaptive-navigation-suite-desktop:1.0.0-alpha05
are released. Version 1.0.0-alpha05 contains these commits .
এপিআই পরিবর্তন
- Make
NavigationSuiteItemColors
constructor public. ( Ica83a , b/324886877 )
Version 1.0.0-alpha04
ফেব্রুয়ারি 21, 2024
androidx.compose.material3:material3-adaptive-navigation-suite:1.0.0-alpha04
, androidx.compose.material3:material3-adaptive-navigation-suite-android:1.0.0-alpha04
, and androidx.compose.material3:material3-adaptive-navigation-suite-desktop:1.0.0-alpha04
are released. Version 1.0.0-alpha04 contains these commits.
Dependency Updates
- Update Material3 adaptive dependencies to the new module paths. ( Ibc421 )
- Migrate to use Window Manager version of window size classes. ( I3794d )
Version 1.0.0-alpha03
7 ফেব্রুয়ারি, 2024
androidx.compose.material3:material3-adaptive-navigation-suite:1.0.0-alpha03
, androidx.compose.material3:material3-adaptive-navigation-suite-android:1.0.0-alpha03
, and androidx.compose.material3:material3-adaptive-navigation-suite-desktop:1.0.0-alpha03
are released. Version 1.0.0-alpha03 contains these commits.
এপিআই পরিবর্তন
- Update package name to navigationsuite from navigation-suite ( I7eff7 )
- Material3 components exposing a
MutableInteractionSource
in their API have been updated to now expose a nullableMutableInteractionSource
that defaults to null. There are no semantic changes here: passing null means that you do not wish to hoist theMutableInteractionSource
, and it will be created inside the component if needed. Changing to null allows for some components to never allocate aMutableInteractionSource
, and allows for other components to only lazily create an instance when they need to, which improves performance across these components. If you are not using theMutableInteractionSource
you pass to these components, it is recommended that you pass null instead. It is also recommended that you make similar changes in your own components. ( I41abb , b/298048146 )
Version 1.0.0-alpha02
13 ডিসেম্বর, 2023
androidx.compose.material3:material3-adaptive-navigation-suite:1.0.0-alpha02
, androidx.compose.material3:material3-adaptive-navigation-suite-android:1.0.0-alpha02
, and androidx.compose.material3:material3-adaptive-navigation-suite-desktop:1.0.0-alpha02
are released. Version 1.0.0-alpha02 contains these commits.
নতুন বৈশিষ্ট্য
- Add a 'None'
NavigationSuiteType
( If8cb1 , b/313688598 )
বাগ ফিক্স
- Fix navigation component filling entire screen when root surface has
modifier.fillMaxSize
. ( c9cf250 , b/312664933 )
Version 1.0.0-alpha01
15 নভেম্বর, 2023
androidx.compose.material3:material3-adaptive-navigation-suite:1.0.0-alpha01
is released. Version 1.0.0-alpha01 contains these commits.
নতুন বৈশিষ্ট্য
Compose Material3 Adaptive Version 1.0
Version 1.0.0-alpha06
7 ফেব্রুয়ারি, 2024
androidx.compose.material3:material3-adaptive:1.0.0-alpha06
, androidx.compose.material3:material3-adaptive-android:1.0.0-alpha06
, and androidx.compose.material3:material3-adaptive-desktop:1.0.0-alpha06
are released. Version 1.0.0-alpha06 contains these commits.
নতুন বৈশিষ্ট্য
- Added additional behavior options for
ThreePaneScaffoldNavigator
back navigation. ( I858aa ) - Added optional destination content to navigation history. ( Ibd7e6 )
Version 1.0.0-alpha05
24 জানুয়ারী, 2024
androidx.compose.material3:material3-adaptive:1.0.0-alpha05
, androidx.compose.material3:material3-adaptive-android:1.0.0-alpha05
, and androidx.compose.material3:material3-adaptive-desktop:1.0.0-alpha05
are released. Version 1.0.0-alpha05 contains these commits.
নতুন বৈশিষ্ট্য
- Support history-awareness in scaffold navigation and value calc ( I71d46 )
Version 1.0.0-alpha04
জানুয়ারী 10, 2024
androidx.compose.material3:material3-adaptive:1.0.0-alpha04
, androidx.compose.material3:material3-adaptive-android:1.0.0-alpha04
, and androidx.compose.material3:material3-adaptive-desktop:1.0.0-alpha04
are released. Version 1.0.0-alpha04 contains these commits.
নতুন বৈশিষ্ট্য
- Added edge-to-edge support in pane scaffolds ( I1b462 )
এপিআই পরিবর্তন
- Moved hinge bounds properties in Posture to a list of hinge info ( I24f90 )
বাগ ফিক্স
- Fix
AnimatedPane
is not recomposed ( c3f573d )
Version 1.0.0-alpha03
13 ডিসেম্বর, 2023
androidx.compose.material3:material3-adaptive:1.0.0-alpha03
, androidx.compose.material3:material3-adaptive-android:1.0.0-alpha03
, and androidx.compose.material3:material3-adaptive-desktop:1.0.0-alpha03
are released. Version 1.0.0-alpha03 contains these commits.
এপিআই পরিবর্তন
- Change scaffold roles to aliases of
ThreePaneScaffoldRole
. ( I65bd1 ) - Create a base class for scaffold roles ( I4784d )
- Remove unnecessary parameter from
AnimatedPane
's content ( Ibc73b ) - Renames
collectWindowSizeAsState
and returns raw values instead ( I480f4 )
Version 1.0.0-alpha02
নভেম্বর 29, 2023
androidx.compose.material3:material3-adaptive:1.0.0-alpha02
, androidx.compose.material3:material3-adaptive-android:1.0.0-alpha02
, and androidx.compose.material3:material3-adaptive-desktop:1.0.0-alpha02
are released. Version 1.0.0-alpha02 contains these commits.
এপিআই পরিবর্তন
বাগ ফিক্স
- Fix panes are not switched when
AnimatedPane
is not used ( d88f181 )
Version 1.0.0-alpha01
15 নভেম্বর, 2023
androidx.compose.material3:material3-adaptive:1.0.0-alpha01
is released. Version 1.0.0-alpha01 contains these commits.
নতুন বৈশিষ্ট্য
Material3 adaptive condition APIs:
Material3 adaptive pane scaffold directive APIs:
Material3 adaptive pane scaffold APIs:
- Pane scaffold basic APIs
Compose Material3 Version 1.4
Version 1.4.0-alpha15
20 মে, 2025
androidx.compose.material3:material3-*:1.4.0-alpha15
is released. Version 1.4.0-alpha15 contains these commits .
এপিআই পরিবর্তন
- Added
MotionTheme.LocalMotionScheme
, composition local. This allows access to the theme motion scheme fromCompositionLocalConsumerModifierNodes
, withcurrentValueOf(MotionTheme.LocalMotionScheme)
. ( I014b1 ) -
ColorScheme
constructor without Fixed color roles is now deprecated. Please migrate to constructor that includes fixed roles. ( Iad0ee ) - M3 Text component now supports
TextAutoSize
. ( I7f524 ) - Add api for constructing split button size variants and add samples. ( Ice30b )
বাগ ফিক্স
- Fixed an issue where
Snackbar
andFloatingActionButton
were incorrectly positioned when edge-to-edge was enabled. Scaffold now correctly applies horizontal insets to these components. ( Ib7c30 , b/244400727 ) - Fix the
BottomSheet
motion from fully expanded to partially expanded. TheBottomSheet
now uses theMotionScheme
's fast-effect when hiding or collapsing, and default-spatial when expanding. ( Ifa46f , b/416063171 ) -
ColorScheme
constructor without surface container roles has been marked hidden and no longer recommended for use. ( Ia7237 ) - Removed a
CircularWavyProgressIndicator
Size.minDimension > 0
requirement, which used to throw an exception, to allow more flexibility. ( Ic9418 , b/377531195 ) - Hyperlinks in
Text(AnnotatedString)
now have Material styling by default. ( I78288 , b/339843816 ) - Fix an issue where the
toShape()
function in theRoundedPolygon
is caching a Path and causing an issue when multiplecreateOutline
calls are made with different sizes. ( I4026d )
Version 1.4.0-alpha14
7 মে, 2025
androidx.compose.material3:material3-*:1.4.0-alpha14
is released. Version 1.4.0-alpha14 contains these commits .
এপিআই পরিবর্তন
- Added a new
AppBarColumn
composable working in the same fashion asAppBarRow
but for content laid out in a column. ( Iaf6bd ) - Added max items to
AppBarRow
, this is necessary to correctly implement the material spec for top app bars. ( I92ce4 ) - Added a method in
TooltipScope
to obtain thelayoutCoordinates
of the anchor. Deprecating thedrawCaret
method because developers can use this new method to obtain the anchor boundslayoutCoordinates
and create an appropriate shape that contains a caret. ( Ia2e12 , b/329470609 ) - Added
java.time
support for Date Pickers: IntroducedrememberDatePickerState/rememberDateRangePickerState
overloads that accept java.time objects (eg, initialLocalDate
,YearMonth
). Also added extension functions on the state objects to get/set values using types likeLocalDate
andYearMonth
. Requires API 26+ or desugaring. ( I70f29 , b/266202516 , b/281859606 ) - Add
CenteredTrack
composable allowing using a Slider with a track that starts from the center. ( I5b1d6 )
বাগ ফিক্স
- Enhanced the performance of Wavy Progress Indicators: Linear types now load ~8.5% faster with ~11% fewer allocations, while Circular types see a substantial ~47% speed boost and ~39% reduced allocations. ( I595d8 )
Version 1.4.0-alpha13
23 এপ্রিল, 2025
androidx.compose.material3:material3-*:1.4.0-alpha13
is released. Version 1.4.0-alpha13 contains these commits .
এপিআই পরিবর্তন
-
isAppearanceLightStatusBars
andisAppearanceLightNavigationBars
reintroduced toModalBottomSheetProperties
as android only params. ( Id4bc0 ) - Add an
AppBarRow
composable, that handles overflow of items that would fit outside its bounds. ( I742bd ) - Update the the
DatePicker
andDateRangePicker
API for requesting a focus when switching to a date-input mode. We've replaced therequestFocus
boolean parameter with an optionalfocusRequester
param that takes aFocusRequester
. ( I14b69 ) - Remove modifier and interaction source from the default clickable and toggleable items. Have it as an implementation detail instead. ( I95ed6 )
- Updated
ButtonGroup
to overflow into a dropdown menu when there are too many buttons to fit on the screen. ( I7b88b )
বাগ ফিক্স
- Bottomsheet now consumes top insets when smaller than current offset. This allows users to provide top insets for expanded behavior.
BottomSheetDefaults.windowInsets
now includesWindowInsets.safeDrawing.Top
. ( I0ab67 , b/321877275 , b/336962418 , b/342093067 ) - Enabled enter/exit animations (fade/slide) for Chip leading icons/avatars and trailing icons when they are added or removed. This primarily benefits selectable Chips (Filter, Input) but applies generally. ( I9af21 )
- Fix the broken RTL Slider behavior caused by
LookaheadScope
. ( Ieb152 , b/408118041 ) - Fix the Bottom
AppBar
crash related to scrolling with a hidden system UI. ( Ic6140 , b/405996228 )
Version 1.4.0-alpha12
9 এপ্রিল, 2025
androidx.compose.material3:material3-*:1.4.0-alpha12
is released. Version 1.4.0-alpha12 contains these commits .
এপিআই পরিবর্তন
- Removed android specific parameters from
ModalBottomSheetProperties
( Iab97f , b/362539765 ) - Introduce overloading functions for drag handle size defaults ( I0ed0d )
- Add new
NavigationSuiteScaffold
andNavigationSuiteScaffoldLayout
functions to support new layout types and add support for an optional primary action content. ( Ib262a , b/353144478 ) - Deprecate
Modifier.weight
with fill parameter inButtonGroup
. Adding a version without fill. ( Id32bb ) - Rename
xSmall-
andxLarge-
IconButton component defaults to spell outextra
. ( Ib6e0f ) - Add new
NavigationSuite
,NavigationSuiteItem
andNavigationSuiteColors
functions to support new layout types. ( I203d6 ) - Add new
NavigationSuiteTypes
and add newnavigationSuiteType
function that include those layout choices ( If68f9 )
বাগ ফিক্স
-
ColorScheme.contentColorFor
now mapssurfaceDim
toonSurface
. ( I8891a ) - Updated
DateInputTextField
implementation to address an issue where the input field did not reflect programmatically set date. ( I6c8d1 , b/401143451 ) - Fixed the talkback focus order for the navigation rail and wide navigation rail ( I6cf6f , b/407048224 )
Version 1.4.0-alpha11
26 মার্চ, 2025
androidx.compose.material3:material3-*:1.4.0-alpha11
is released. Version 1.4.0-alpha11 contains these commits .
এপিআই পরিবর্তন
- Update capitalization for composable properties in default objects for button and toggle button. Add methods in
ToggleButtonDefaults
andButtonDefaults
for recommended content padding, shapes, icon size, icon spacing, and text style depending on container height. ( Iea69e ) - Removed deprecated experimental functions and constants from the
FloatingToolbar
. ( I8f339 ) - Elevation components now share a common interface and have public constructors and properties. ( Ibb172 )
- Adding
animateWidth
modifier inButtonGroupScope
that will need to be used with button group's children to correctly animate the children. ( Ia3bb6 )
বাগ ফিক্স
- Fixed Floating Toolbar padding to ensure visual balance during collapse, and improved flexibility for larger content. ( I06c00 )
Version 1.4.0-alpha10
12 মার্চ, 2025
androidx.compose.material3:material3-*:1.4.0-alpha10
is released. Version 1.4.0-alpha10 contains these commits .
এপিআই পরিবর্তন
-
TabRowDefaults.tabIndicatorOffset
has been deprecated in favor ofTabIndicatorScope.tabIndicatorOffset
. ( Ib36b3 ) - Fix typo for small content padding in button defaults. ( I19bfe )
-
TabRow
andScrollableTabRow
are deprecated in favor of Primary and Secondary variants of each. Primary and Secondary tab rows are more performant and accurate to spec. ( I918e2 ) - Added
rememberSliderState
andrememberRangeSliderState
. ( I8e384 ) - Added
shouldAutoSnap
toSliderState
to control the auto-snapping mechanism, disabling it may be useful for custom animations. ( I07745 ) - Scrollable tab row's minimum tab width is now a parameter. Primary and Secondary tab row variants are no longer experimental. ( If6f15 , b/226665301 )
- Made the class
ExitAlwaysFloatingToolbarScrollBehavior
public allowing creation without composition. ( Ibf31c )
Version 1.4.0-alpha09
ফেব্রুয়ারী 26, 2025
androidx.compose.material3:material3-*:1.4.0-alpha09
is released. Version 1.4.0-alpha09 contains these commits .
এপিআই পরিবর্তন
- Rename
DragHandle
's setting fields in the default state; separate pressed and dragged states; make the default sizes be public. ( I787b9 ) - Updates to the
TowRowsTopAppBar
API. Removed theexpanded
lambda parameter and added separate parameters for the expanded and collapsed heights. ( Idd677 , b/306697446 , b/229134133 , b/268068946 )
বাগ ফিক্স
- The bottom app bars now observe the touch exploration service (eg,
TalkBack
) and keep them visible whenever the service is on. ( I4b34d )
Version 1.4.0-alpha08
ফেব্রুয়ারি 12, 2025
androidx.compose.material3:material3-*:1.4.0-alpha08
is released. Version 1.4.0-alpha08 contains these commits .
নতুন বৈশিষ্ট্য
Added an
TimePickerDialog
API that can be used forTimePicker
,TimeInput
or to have a switchable version. ( Id2d83 )New search bar APIs:
- Collapsed search bars and expanded search "views" are now separate composables.
-
SearchBar
represents a search bar in the collapsed state. -
ExpandedFullScreenSearchBar
andExpandedDockedSearchBar
represent the search bar in the expanded state. These open in a new window. -
SearchBarState
to control the state of the search bar -
TopSearchBar
to add insets handling and scroll behavior - New overload of
InputField
which usesSearchBarState
( Ie0723 , b/261496232 , b/283311462 , b/350916229 , b/352872248 )
এপিআই পরিবর্তন
- Support corner shape morphing of icon buttons on press. ( I21843 )
- Text field decorator/decoration box APIs are no longer experimental. ( I31d95 )
- Added samples and defaults for the connected variant for
ButtonGroup
. ( I5c8ce ) - Make state param the last one in
NavigationSuiteScaffold
andNavigationSuiteScaffoldLayout
. ( I9cc7b )
বাগ ফিক্স
- Added custom accessibility actions to the
FloatingToolbars
so accessibility services can now expand or collapse allFloatingToolbar
variations. The FAB-equipped version applies this to the FAB, while the FAB-less version applies it to the main content. ( I26420 ) - The
FloatingToolbars
now observe the touch exploration service (eg, TalkBack) and keep the toolbar expanded and visible whenever the service is on. ( I02172 ) - Fixed a crash at the progress and loading indicators in case a
Float.NaN
is passed in as a progress. ( I4fa96 , b/352364576 )
Version 1.4.0-alpha07
জানুয়ারী 29, 2025
androidx.compose.material3:material3-*:1.4.0-alpha07
is released. Version 1.4.0-alpha07 contains these commits .
নতুন বৈশিষ্ট্য
- Added more flexibility in customizing the appearance of Checkboxes with a new API. This API provides Stroke parameters that allow for greater control over how the checkmark and the checkbox-outline are rendered. ( I65a88 )
- Added
TwoRowsTopAppBar
API, a more customizable alternative to Medium and Large app bars for creating two-row top app bars. Developers now have control over the content of titles and subtitles in both collapsed and expanded states, with customizable heights for each state. ( I0be3c , b/306697446 , b/229134133 , b/268068946 )
এপিআই পরিবর্তন
- Renamed an experimental
BottomAppBar
variation toFlexibleBottomAppBar
, providing more control over content arrangement and height. ( Iaa448 ) - Update naming for properties in Button Group default object to be
CapitalCase
. Update the name ofanimateFraction
to be more precise to the behavior that it's representing. ( I545cd ) - Adding overloads for common buttons that allow for animated shapes on press interaction. Added cached button shapes. ( I5ec20 )
- You can now control how a
FloatingToolbar
with FAB reacts to scrolling by providing aFloatingToolbarScrollBehavior
. For toolbars positioned along a center edge (like top or bottom center), we recommend using a scroll behavior to hide the entire component on scroll for a cleaner look. This also prevents the FAB from becoming off-center, which could happen when using theexpanded
flag for collapsing. ( I33f67 ) - Updates the experimental
TopAppBar
APIs to useAlignment.Horizontal
instead of a customTopAppBarTitleAlignment
when setting the alignment of the title and subtitle. ( I70ca2 ) -
SliderState#onValueChange
is now public to give more control to the user ( I104eb ) - Introduce
NavigationSuiteScaffoldState
to allow for animation of the navigation component. Also introduce overloads ofNavigationSuiteScaffold
andNavigationSuiteScaffoldLayout
that have a state param. ( I6a8c9 , b/328674235 )
বাগ ফিক্স
- Move
IconButtonColors
andIconToggleButtonColors
classes fromIconButtonDefaults.kt
back toIconButton.kt
. ( I3c233 )
External Contribution
-
SliderState#isDragging
is now public. ( I8458a )
Version 1.4.0-alpha06
15 জানুয়ারী, 2025
androidx.compose.material3:material3-*:1.4.0-alpha06
is released. Version 1.4.0-alpha06 contains these commits .
আচরণ পরিবর্তন
- Added
displayCutout
to the group of insets that Material components take into account by default, to avoid content overlapping with the display cutout. This is a behavior change that will impact how inset-aware components behave around a display cutout. This includes the default value of theWindowInsets
parameter for inset-aware Material 3 components, and theWindowInsets
values provided in the component Defaults objects for both Material 2 and Material 3. If this change causes undesirable behavior, manually specify theWindowInsets
parameter on a per-component basis. ( I43ee9 , b/362508045 )
এপিআই পরিবর্তন
- Updates to the
TopAppBar
API. Rename the medium and large top app bars with a subtitle to*FlexibleTopAppBar
. Unified the color variations into a singleTopAppBarDefault.topAppBarColors()
function, and added asubtitle
color parameter to be applied for a provided subtitle Composable ( I41b65 ) - Remove
WideNavigationRailArrangement
API in favor ofArrangement.Vertical
( Id0341 ) - Add a new
VerticalSlider @Composable
. ( I2bfba ) - Add a new Track
@Composable
that allows specifying custom external track corners and track icons. ( I436a4 ) - Update the floating toolbar APIs to use the
FloatingToolbarColors
object instead of a single container color. ( I9a054 ) - Add and use new experimental annotation
ExperimentalMaterial3ComponentOverrideApi
( Ia1eaf ) -
Modifier.indicatorLine
now takes a shape for the text field to handle clipping. ( I8c5f3 , b/380704151 ) - Rename the experimental
FloatingAppBar
functions toFloatingToolbar
( I1dbf8 ) - Added a new
floatingToolbarVerticalNestedScroll
that can be attached to a scrollable container to update the floating toolbar expansion state based on a scroll motion that crosses a threshold. ( I6d65f ) - Introducing a new API for creating a floating toolbar with an attached Floating Action Button (FAB). The API provides flexible customization options, allowing you to arrange the toolbar horizontally or vertically and place the FAB at the start or end of the toolbar. ( I9e350 )
বাগ ফিক্স
- Fix a Snackbar accessibility issue that caused it to announce itself on dismiss when
TalkBack
is on. ( /I9db53 )
External Contribution
- Commonized
BasicTooltip
in foundation andBasicTooltip/Tooltip
in material3. ( Ifc2e6 )
Version 1.4.0-alpha05
ডিসেম্বর 12, 2024
androidx.compose.material3:material3-*:1.4.0-alpha05
is released. Version 1.4.0-alpha05 contains these commits .
এপিআই পরিবর্তন
- Replace type in
WideNavigationRailState.current/target
value for an enum for better readability ( I2d6ab ) -
SplitButton
change Shape api from data class to class for binary compatibility. ( I53812 ) - Added a tooltip API that has a
onDismissRequest
parameter so makers can decide what happens when a user clicks outside of the tooltip. Deprecated the old API that doesn't contain this new parameter. ( I99aef ) - Change naming of
opticalCentering
tohorizontalCenterOptically
. Making the modifier internal. Replace padding parameter with max start and end offset. ( I0b904 ) - Change
WideNavigationRailState
to have current/target value, remove enums in favor of boolean. ( Idfa29 , b/356039090 ) - Add
NavigationBarItemComponentOverride
. ( I3a06a )
বাগ ফিক্স
- Fix the top and bottom app-bar behaviors to reliably change color when content is scrolled all the way. ( Idc4e8 , b/293665988 )
- Scroll behavior functions for top and bottom app bars now return a remembered behavior to perform better across recompositions. ( I0fdbe , b/207957336 )
- Modifier pararemeter is now applied after internal modifiers such as dragging behavior and semantics, instead of before. This affects the ordering in which modifiers are applied. ( I8d83f )
- Expanded bottom sheet remains expanded on size change. ( I2870b , b/324934884 )
- Correctly route status and navigation bar flags for windows properties. ( Ie674d , b/362539765 )
- Move modifier parameter to the scaffolds root, as documented. This aligns implementation with M2. ( I0235e , b/372311595 )
External Contribution
- Commonized
DatePickerDialog
function. ( I7dced )
Version 1.4.0-alpha04
13 নভেম্বর, 2024
androidx.compose.material3:material3-*:1.4.0-alpha04
is released. Version 1.4.0-alpha04 contains these commits .
আচরণ পরিবর্তন
- Revert color changes introduced in aosp/3212478 to
iconButtonColors
,iconToggleButtonColors
,outlinedIconButtonColors
,outlinedIconToggleButtonColors
andoutlinedIconToggleButtonBorder
. Moved the now-reverted behavior into a new set of functions callediconButtonVibrantColors
and so forth to emphasize the high contrast colors being returned. ( Iffd8d )
নতুন বৈশিষ্ট্য
- Introduce
VerticalDragHandle
component ( I6c770 )
এপিআই পরিবর্তন
- Rename
DismissibleModalWideNavigationRailDefaults
toModalWideNavigationRailDefaults
. ( I8e877 ) - Add
NavigationBarComponentOverrides
. ( I8a3f3 ) - Add
NavigationRailComponentOverride
. ( I83e13 ) - Introduce
WideNavigationRailState
to handle collapsing/expanding of the rail, allowModalWideNavigationRail
to be dismissible and deleteDismissibleModalWideNavigationRail
. ( I88568 ) - Add xSmall, medium, large, and xLarge size defaults into toggle button defaults. ( Ie95d1 )
- Add xSmall, medium, large, and xLarge size defaults into button defaults. ( If8b6d )
বাগ ফিক্স
- Filter chip trailing icon color has been updated from Primary to
OnSurfaceContainer
, per spec. All chip outline colors have been updated from Outline to Outline Variant, per spec. ( I68bd4 )
Version 1.4.0-alpha03
30 অক্টোবর, 2024
androidx.compose.material3:material3-*:1.4.0-alpha03
is released. Version 1.4.0-alpha03 contains these commits .
এপিআই পরিবর্তন
-
SheetState
constructor with density has been deprecated in favor of positional and velocity thresholds. ( Ifd16e ) - Added
rememberTooltipPositionProvider
that contains an updated positioning logic. DeprecatedrememberPlainTooltipPositionProvider
andrememberRichTooltipPositionProvider
. ( Ie66e2 ) - Additional
ModalBottomSheetProperties
allow for customization of status and navigation bar colors. By default, these update based on content color instead of system dark theme status. ( Ib874e , b/362539765 ) - Improved the input experience for date pickers: when in input mode, the date text field will be focused for immediate text entry. The change adds a
requestFocus
parameter to theDatePicker
and theDateRangePicker
. You may prevent a focus by passingfalse
. ( I12d09 , b/286399710 , b/340102743 ) - Caching the shape defaults into the Shape object. Making the shape defaults
@Composable
for toggle button. Collapsing the shapes into one shape default since the variants point to the same token file. ( Iaa014 )
বাগ ফিক্স
- Optimize Scaffold
contentPadding
behavior to avoid always recomposing the body content when thecontentPadding
changes. ( I8c8e2 , b/373904168 ) -
TextFieldLabelScope
progress
renamed tolabelMinimizedProgress
-
TextFieldLabelPosition
Default
renamed toAttached
. Interface members have been removed. ( If75c6 ) - Fixed an issue with the
DatePicker
in input mode where validation errors could cause the component's height to change. ( I2e229 , b/280462363 ) - Make the material Slider change its value when control keys are pressed. ( I1c442 )
Version 1.4.0-alpha02
অক্টোবর 16, 2024
androidx.compose.material3:material3-*:1.4.0-alpha02
is released. Version 1.4.0-alpha02 contains these commits .
এপিআই পরিবর্তন
- Updates to the date pickers to ensure consistent Locale usage throughout the
DatePicker
andDateRangePicker
when setting a Locale directly through aDatePickerState
or aDateRangePickerState
. Note that when setting Locales directly to the state, it's up to you to ensure that the title and headline texts are localized accordingly, as their default text will still be applied according to the default platform Locale. ( I37073 , b/326490763 , b/321657276 ) -
SheetState.isAnimationRunning
is now exposed. ( I9a3d7 ) -
DatePickerColors
now correctly take precedence over any conflicting colors defined at the theme's Typography text styles. Also note that this update adjusts thecolor
parameter's position in the date picker functions and introduces acontentColor
parameter for customizing the header and title text colors. ( I30d03 , b/347031394 ) - Rename
SplitButton
toSplitButtonLayout
and removeSplitButton
color variants APIs, variants will be achieve by re-using button variants provided bySplitButtonDefaults
. ( I44c36 ) -
ModalBottomSheet
now hassheetGestureEnabled
parameter ( I856cb , b/288211587 ) - Renamed the
standardMotionScheme
and theexpressiveMotionScheme
to standard and expressive. Both functions are now accessible through theMotionScheme
companion object by callingMotionScheme.standard()
andMotionScheme.expressive()
. ( Iceccf ) - Adding
maxWidth
parameter to plain and rich tooltips. It defaults to the design spec of 200 dp for plain tooltips and 320 dp for rich tooltips. ( I30ce9 )
বাগ ফিক্স
- The
DatePicker
andDateRangePicker
now correctly update the displayed month when set via their state'sdisplayedMonthMillis
. ( If9e47 , b/333414302 ) -
ModalBottomSheet
content now moves content away from status bar. ( I5114c , b/321877275 , b/336962418 , b/342093067 ) - [Bottom Sheet] Change back callback priority to
PRIORITY_DEFAULT
to allow IME keyboard to dismiss first. ( I447fb ) - Fix crashes in the
DatePicker
andDateRangePicker
when the minimum selectable year is set to a future year. ( I78656 , b/319395747 ) - Fix a date-picker issue to update the UI when an updated
SelectableDates
instance is applied. ( Iad59a , b/290135807 , b/339898760 )
Version 1.4.0-alpha01
2 অক্টোবর, 2024
androidx.compose.material3:material3-*:1.4.0-alpha01
is released. Version 1.4.0-alpha01 contains these commits .
আচরণ পরিবর্তন
- Library no longer adds a dependency to
material-icons-core
so if your project relied on that, you will have to explicitly add that dependency in yourbuild.gradle[.kts]
files. ( I735ff , b/349894318 ) -
NavigationBarItem
andNavigationRailItem
's active label color change fromonSurface
tosecondary
in order to improve usability, color contrast and improve coherence within the system ( Ibc297 ), to revert to the previous behavior, copy the default colors and change theselectedTextColor
toMaterialTheme.colorScheme.onSurface
. - Material 3 components are now using the new
MotionScheme
to define their motion. ( Ie0f93 ) - Indeterminate circular Progress Indicator motion changes ( I3c07e )
- Update
OutlinedIconButtonColors
andOutlinedIconToggleButtonColors
for better color contrast. ( I2743d ) - Updated container and content color for
FilledIconToggleButtonColors
andFilledTonalIconToggleButtonColors
. ( Ic5d0f ) - Updated
OutlinedButton
border color fromoutline
tooutlineVariant
. ( 057f00 )
এপিআই পরিবর্তন
- Added an optional
reverseLayout
parameter to theTopAppBar
'senterAlwaysScrollBehavior
function to better support content that was set with areverseLayout
. ( I4e0e5 ) -
SegmentedButton
now supportscontentPadding
argument. ( I5ad91 , b/358414376 ) -
PullToRefreshState
does no longer have default implementation forisAnimating
( I6a593 ) - Added new overloads of Material
TextField
andOutlinedTextField
that useTextFieldState
. Added decoration box APIs that are compatible withTextFieldDecorator
. ( If13a1 ) - Added parameter to control text field's
labelPosition
. UsingalwaysMinimize
allows the UI pattern of displaying a label and placeholder in a text field at the same time even when the field is unfocused. ( I1ef2c ) - Added Material
SecureTextField
andOutlinedSecureTextField
for password entry fields. ( I7e22d ) - Added a scope to text field labels to query animation progress. ( If5ec8 )
- Adds support for
MotionEvent.CLASSIFICATION_DEEP_PRESS
to tooltips. ( I62e6a ) -
TimePickerState
'sisAfternoon
is now an extension val instead of a var in the interface, renamed toisPm
( I89a97 ) - Updating typography class to support emphasized type scales. ( Ifa13c )
- Added
ModalWideNavigationRail
API and renamedModalExpandedNavigationRail
APIs toDismissibleModalWideNavigationRail
. ( Ic9118 ) - Updated
FloatingAppBarScrollBehavior
to auto-calculate thescreenOffset
and not require a@Composable
. ( Idf349 ) - Updates to the
LoadingIndicator
API to fix the naming at its defaults object. Added aLoadingIndicatorElevation
constant at thePullToRefresh
. ( I1d72b ) - Updates to the
LoadingIndicator
API to fix the naming at its defaults object. Added aLoadingIndicatorElevation
constant at thePullToRefresh
. ( I1d72b ) - Added an
amplitude
and awaveSpeed
parameters to the indeterminate variations of theLinearWavyProgressIndicator
and theCircularWavyProgressIndicator
. ( I2a0c5 ) - Support changing an icon toggle button's shape based on its pressed or checked state. ( Ibc781 )
- Updating typography class to support emphasized type scales. ( Ifa13c )
-
SplitButton
shape morphs based on default / pressed state. RemovedAnimatedTrailingButton
api becauseTrailingButton
api can offer the same customizations ( I95066 ) - Add modifier to animate showing and hiding of FAB, eg when content scrolls. ( I8338d )
- Adding connected button group shapes and spacing to
ButtonGroupDefaults
to be used in a sample. ( I68e30 ) - Split button add horizontal padding for trailing button and enable optical centering calculated from start and end corner differences ( I122e2 )
- Introducing a new Material
MotionScheme
to allow setting a scheme for the component's motion. The scheme is set through theMaterialTheme
. ( Id50c2 )
বাগ ফিক্স
- Apply the correct focus traversal index to
Scaffold
child Composables. The order istopBar
,bottomBar
, fab, content, snackbar. ( I5936b ) - Fixed an issue at the
DatePicker
andDateRangePicker
where in certain locales and format-skeletons some of the date elements (eg month names) did not start with a capital letter. ( I1430f ) - Integrate FAB and FAB Menu component tokens (minor visual updates to paddings and text) ( Ib57f3 )
-
ModalBottomSheet
is now first in semantic traversal order, followed by the scrim. ( I436f9 , b/358594665 ) - Fix bottom app bar not disappearing entirely when scrolling under the navigation pill in edge to edge mode ( I3ee21 )
Compose Material3 Version 1.3
সংস্করণ 1.3.2
9 এপ্রিল, 2025
androidx.compose.material3:material3-*:1.3.2
is released. Version 1.3.2 contains these commits .
বাগ ফিক্স
-
ListItem
corrects its intrinsic height calculation, now reserving the appropriate amount of space in Layout. - Remove excess
NavigationBarItem
label padding, correctly aligning with spec. - Corrects
TabRow
Layout in RTL mode.
সংস্করণ 1.3.1
30 অক্টোবর, 2024
androidx.compose.material3:material3-*:1.3.1
is released. Version 1.3.1 contains these commits .
বাগ ফিক্স
- The
DatePicker
andDateRangePicker
now correctly update the displayed month when set via their state'sdisplayedMonthMillis
. ( If9e47 , b/333414302 ) - Fix crashes in the
DatePicker
andDateRangePicker
when the minimum selectable year is set to a future year. ( I78656 , b/319395747 ) - Fix a date-picker issue to update the UI when an updated
SelectableDates
instance is applied. ( Iad59a , b/290135807 , b/339898760 ) - Change back callback priority used by bottom sheets to
PRIORITY_DEFAULT
to allow IME keyboard to dismiss first. ( I447fb )
সংস্করণ 1.3.0
4 সেপ্টেম্বর, 2024
androidx.compose.material3:material3-*:1.3.0
is released. Version 1.3.0 contains these commits .
Important changes since 1.2.0
Major features of 1.3.0
New Material Design 3 components
- ক্যারোসেল
-
HorizontalMultiBrowseCarousel
andHorizontalUncontainedCarousel
Enhancements to existing Material Design 3 components.
-
- [
ModalBottomSheet
] now supports Predictive Back on U+ ( Iccf32 , b/281967264 , b/304850357 ) - [
SearchBar
] now supports Predictive Back on U+ ( I657f8 ) - Nav Drawer (
ModalDrawerSheet
andDismissibleDrawerSheet
) now supports Predictive Back on U+ as opt-in ( Ie5b0b ) -
DropdownMenu
now supports custom color, shape, elevation, and border. ( I8e981 , b/289554448 , b/301887035 , b/283654243 ) - Updated Slider to improve accessibility by adding a gap and stop indicator. ( I3058e )
- Updated
ProgressIndicator
to improve accessibility by adding a gap and stop indicator. ( I21451 ) - Added a default caret for rich tooltip, support custom caret to be drawn given anchor
LayoutCoordinates
. ( Ifd42c ) Breaking Changes - New pull-to-refresh APIs:
- Simplified
PullToRefreshState
to use fractional values instead of Dp units. -
isRefreshing
state is controlled by the user instead ofPullToRefreshState
. - Separated out the nested scroll connection from
PullToRefreshState
. It is handled by the newPullToRefreshBox
orModifier.pullToRefresh
. - This update is a breaking change to previous experimental APIs. ( I0adeb , b/314496282 , b/317177684 , b/323787138 , b/324573502 , b/317177683 ) Visual Breaking Changes
- Simplified
- Update focus state overlay to be 0.1f to ensure sufficient color contrast. ( I7ea77 )
- Small adjustments to surface and background color defaults in
lightColorScheme
anddarkColorScheme
. ( I9db52 ) - Updated Slider and
ProgressIndicator
colors to follow the new Non-Text Contrast specs. ( I26807 ) -
SurfaceContainer
variants are now used by components. Components which formally calculated color withSurface
andTonalElevation
now useSurfaceContainer
roles by default, which are not affected by tonal elevation. ( b/304584161 ) - Surface and Surface container baseline roles have been slightly adjusted, providing more tint in light and dark themes. ( I677a5 )
- Promoted experimental APIs to stable!
- কর্মক্ষমতা উন্নতি
Version 1.3.0-rc01
21 আগস্ট, 2024
androidx.compose.material3:material3-*:1.3.0-rc01
is released. Version 1.3.0-rc01 contains these commits .
বাগ ফিক্স
-
ModalBottomSheet
is now first in semantic traversal order, followed by the scrim. ( I436f9 , b/358594665 )
Version 1.3.0-beta05
জুলাই 24, 2024
androidx.compose.material3:material3-*:1.3.0-beta05
is released. Version 1.3.0-beta05 contains these commits .
- Fixed issue where
BottomSheet
content is missing or cut off on Android N and O ( a10a2d ) - Increased slider's semantics bounds in order for
TalkBack
to properly show the focus indicators around the thumbs. ( 0b5a1d )
Version 1.3.0-beta04
জুন 26, 2024
androidx.compose.material3:material3-*:1.3.0-beta04
is released. Version 1.3.0-beta04 contains these commits .
Version 1.3.0-beta03
জুন 12, 2024
androidx.compose.material3:material3-*:1.3.0-beta03
is released. Version 1.3.0-beta03 contains these commits .
External Contribution
- Make
androidx.compose.material3.DropdownMenu
available from common source set. ( If62c0 )
Version 1.3.0-beta02
29 মে, 2024
androidx.compose.material3:material3-*:1.3.0-beta02
is released. Version 1.3.0-beta02 contains these commits .
এপিআই পরিবর্তন
-
Modifier.pullToRefreshIndicator
supports elevation, update Pull To Refresh APIs to have enabled be a boolean, instead of a lambda. Support content alignment inPullToRefreshBox
( I75679 ) - Making
TooltipScope
a sealed interface and creating an internal implementation to use inTooltipBox
and Label. ( I3833e ) - Added two new modifiers to
CarouselItemScope
-maskClip
andmaskBorder
- to easily add a shape and border to any carousel item ( Id67a1 ) -
TimePickerState
is now an interface and allows for setting the time ( I88546 ) - Updated API for styling the links: moved the
TextLinkStyles
to theTextStyle
and removed theTextDefaults
from material. ( I5477b )
বাগ ফিক্স
-
ModalBottomSheet
status and nav bar icons now respond to dark theme status. ( Ie1fe7 , b/338342149 ) - Added close sheet semantics to
ModalBottomSheet
scrim. ( 0e61cb , b/328801864 )
External Contribution
- Make
androidx.compose.material3.AlertDialog
available from common source set ( Ia33f5 ) - Make
ModalBottomSheet
available from common source set ( Id7cc7 )
Version 1.3.0-beta01
14 মে, 2024
androidx.compose.material3:material3-*:1.3.0-beta01
is released. Version 1.3.0-beta01 contains these commits .
এপিআই পরিবর্তন
- Using
DpSize
instead ofCaretProperties
. RemovingCaretProperties
. RenameCaretScope
toTooltipScope
. ( Id9a76 ) - Updated the API for getting Material themed links in text. Specifically, removed the methods from the
TextDefaults
for constructing themedLinkAnnotations
and parse HTML with themed links. Instead, added aTextLinkStyles
class that allows to style the links as a parameter to the Text composable. ( I31b93 )
Version 1.3.0-alpha06
1 মে, 2024
androidx.compose.material3:material3-*:1.3.0-alpha06
is released. Version 1.3.0-alpha06 contains these commits .
ব্রেকিং পরিবর্তন
New pull-to-refresh APIs:
- Simplified
PullToRefreshState
to use fractional values instead of Dp units. -
isRefreshing
state is controlled by the user instead ofPullToRefreshState
. - Separated out the nested scroll connection from
PullToRefreshState
. It is handled by the newPullToRefreshBox
orModifier.pullToRefresh
. - This update is a breaking change to previous experimental APIs. ( I0adeb , b/314496282 , b/317177684 , b/323787138 , b/324573502 , b/317177683 )
- Simplified
এপিআই পরিবর্তন
-
RippleConfiguration#isEnabled
has been removed, andLocalRippleConfiguration
has been made nullable. To disable a ripple, instead of providing aRippleConfiguration
withisEnabled = false
, providenull
toLocalRippleConfiguration
. ( I22725 ) -
ModalBottomSheet
more accurately draws scrim over status bar when edge to edge is enabled. Modal bottom sheet content can now consume window insets, allowing for visible content above the navigation bar.ModalBottomSheet
parameterwindowInsets
renamed tocontentWindowInsets
to specify where the insets will be applied, these are no longer tied to window logic.contentWindowInsets
type has been changed to a function which returnsWindowInsets
, to allow it to be resolved within its new window. ( I39630 , b/274872542 , b/300280229 , b/290893168 ) -
PrimaryScrollableTabRow
andSecondaryScrollableTabRow
now use custom layout instead of subcomposition, which should improve performance. ( I991e0 ) - Text links got pressed state styling option in addition to normal styling, hovered and focused.
TextDefaults
methods each got apressedStyle
argument to support that. ( Ic473f , b/139312671 )
বাগ ফিক্স
- Navigation drawer drag anchors now match the
drawerContent
's width. ( Ibc72f , b/245355396 ) -
OutlinedTextField
top padding for label now accounts for system font size. ( Idc781 ) - Fixed package location of
CalendarLocale
. ( Ifa235 ) - [Predictive Back] Update predictive back animations to use interpolation curve of (0.1, 0.1, 0, 1) ( I2591a )
Version 1.3.0-alpha05
এপ্রিল 17, 2024
androidx.compose.material3:material3-*:1.3.0-alpha05
is released. Version 1.3.0-alpha05 contains these commits .
নতুন বৈশিষ্ট্য
-
SearchBar
andDockedSearchBar
have new overloads that take a text field parameter. This allows styling the text field separately from the rest of the search bar as well as passing in custom text fields. The text field of the current implementation has been made available asSearchBarDefaults.InputField
. ( I50c73 , b/275074248 , b/278773336 , b/326627700 ) - the lambda
drawTick
has been added to the public API in order to customize the ticks if needed ( I0c048 )
এপিআই পরিবর্তন
- Text links got pressed state styling option in addition to normal styling, hovered and focused ( I5f864 , b/139312671 )
- Updated
CarouselItemInfo
to expose a mask Rect that the item is being clipped by ( I785d8 ) - Removed
BasicTooltipState
from the Material 3 public API. Its functionality is combined withTooltipState
until Foundation'sBasicTooltip
is stabilized. ( Icda29 ) - Added a
TextDefaults
object that contains methods to construct aLinkAnnotation
and parse HTML-tagged string which applyMaterialTheme
to the links ( I98532 , b/139312671 ) -
ExposedDropdownMenuBoxScope
no longer permits subclasses. Exposed dropdown menus now have aMenuAnchorType
which should be passed tomenuAnchor
to support better a11y. This should be used instead of passingfocusable
toExposedDropdownMenu
, which is now deprecated.menuAnchor
has a new parameter to controlenabled
state. ( I55ee6 , b/257209915 , b/308840226 ) - Fixed the border color of
OutlinedButton
when disabled. AddedButtonDefaults.outlinedButtonBorder("enabled")
overload that takes the enabled state. ( Ie650b , b/318461363 ) - Added a new
CarouselItemInfo
class to help clients get information about the item sizes. ( I9070c ) -
ColorScheme
constructor without surface containers is now deprecated. Please migrate to the constructor that includes surface containers. ( I35c11 ) - [Outlined]
TextFieldDefaults
ContainerBox
renamed toContainer
. ( Ie8d3b )
বাগ ফিক্স
-
BottomSheetScaffold
will no longer scroll from nested scroll ifsheetSwipeEnabled
is false. ( I5e1c1 , b/306464779 ) - Removed some
ExperimentalMaterial3Api
OptIn annotation inIconButtonSamples.kt
. ( I111d1 )
Version 1.3.0-alpha04
3 এপ্রিল, 2024
androidx.compose.material3:material3-*:1.3.0-alpha04
is released. Version 1.3.0-alpha04 contains these commits .
নতুন বৈশিষ্ট্য
- Added two experimental versions of the Material3 Carousel -
HorizontalMultiBrowseCarousel
andHorizontalUncontainedCarousel
( I88d64 ) - Updated Compose M3 Nav Drawer (
ModalDrawerSheet
andDismissibleDrawerSheet
) to support Predictive Back on U+ as opt-in ( Ie5b0b ) - Added a new API in Icon to allow passing color tint as lambda to avoid recomposing. ( I5b5a2 )
- Top app bar APIs now support custom heights for both fixed and collapsible sections. ( Ib8b0c , b/323403446 )
এপিআই পরিবর্তন
- Top app bar APIs now support custom heights for both fixed and collapsible sections. Fixed an issue that caused single-line top app bars to recompose too many times when scrolling content. Resolved an issue where
MediumTopAppBar
truncated titles on devices with large font/display settings. ( Ib8b0c , b/323403446 , b/300953236 , b/286296147 , b/330410290 , b/308540676 ) -
SegmentedButton
and associated APIs are now stable ( I8a158 ) -
SwipeToDismissBox
,SwipeToDismissBoxDefaults
,SwipeToDismissBoxState
andSwipeToDismissBoxValue
are now marked stable. ( I5f000 ) - Removed deprecated
DismissDirection
andDismissValue
enums and APIs. ( I89ccd ) - Added an experimental tag to Carousel's
CarouselState
companion object. ( I94154 ) - Deprecate
LocalMinimumInteractiveComponentEnforcement
and introducedLocalMinimumInteractiveComponentSize
to replace it. ( I7a7ac ) -
SearchBarColors
constructor is now public. ( I769ca ) - Added a
gesturesEnabled
parameter toSwipeToDismissBox
. ( Idc59f , b/324170119 ) - Removed text field APIs that were marked as deprecated and experimental. ( I1305f )
Version 1.3.0-alpha03
20 মার্চ, 2024
androidx.compose.material3:material3-*:1.3.0-alpha03
is released. Version 1.3.0-alpha03 contains these commits .
Visual Breaking Changes
- Update focus state overlay to be 0.1f to ensure sufficient color contrast. ( I7ea77 )
- Small adjustments to surface and background color defaults in
lightColorScheme
anddarkColorScheme
. ( I9db52 )
নতুন বৈশিষ্ট্য
- Added parameters to customize
ExposedDropdownMenu
. In particular, menus now have afocusable
parameter (defaulttrue
) that should be set tofalse
when working with editable text fields. ( I4184c , b/323694447 , b/278609042 )
এপিআই পরিবর্তন
- The
ScaffoldSubcomposeInMeasureFix
flag has been removed. ( Ie2a4b ) -
NavigationRailItemColors
is now marked as@Immutable
. ( If6112 , b/327660613 ) -
NavigationBarItemColors
is now marked as@Immutable
. ( I42a30 , b/298064514 ) - Reorder params in Slider Track composable. ( I9f315 )
-
ExposedDropdownMenu
is now implemented usingPopup
. The behavior should be the same except focusable menus with editable text fields may be dismissed when typing on the keyboard.
বাগ ফিক্স
- Surface and Surface container baseline roles have been slightly adjusted, providing more tint in light and dark themes. ( I677a5 )
- Updated Slider and
ProgressIndicator
colors to follow the new Non-Text Contrast specs. ( I26807 ) - Update focus state overlay to be 0.1f to ensure sufficient color contrast. ( I7ea77 )
- Small adjustments to surface and background color defaults in
lightColorScheme
anddarkColorScheme
. ( I9db52 )
Version 1.3.0-alpha02
6 মার্চ, 2024
androidx.compose.material3:material3-*:1.3.0-alpha02
is released. Version 1.3.0-alpha02 contains these commits .
এপিআই পরিবর্তন
- Making the slider states stable again. Making
State.onValueChangeFinished
a val again. WrappingonValueChangeFinished
in arememberUpdatedState
. ( I82ab2 , b/322269951 ) - The Navigation components now use the new
SurfaceContainer
roles.DrawerDefaults
now provides distinctstandardContainerColor
andmodalContainerColor
attributes.DrawerDefaults.ModalDrawerElevation
is now0.dp
. ( I7fbac ) - Removing
@Stable
from the states ofSlider
since we're changingstate.onValueChangeFinished
to avar
. ( Ied34a , b/322269951 ) -
ModalBottomSheet
andStandardBottomSheet
animation spec is now aTweenSpec
, updated from a spring animation. This resolves an issue with a visible overshoot. DeprecatedSheetState
constructors without density have now been removed. ( I7babc , b/285847707 )
বাগ ফিক্স
-
SurfaceContainer
variants are now used by components. Components which formally calculated color with Surface andTonalElevation
now useSurfaceContainer
roles by default, which are not affected by tonal elevation. ( b/304584161 ) - Fixed bug that caused
ElevatedFilterChip
's unselected, disabled container color to be black. ( I400e6 , b/322407043 ) - Fix indeterminate progress indicator when the progress is 0 ( Id6582 )
- Fixed an issue with
Slider
andRangeSlider
on RTL layout ( Iab0e1 ) - Adding
SliderRangeTolerance
for the slider range calculation since Float rounding can be inaccurate. ( Ic918a , b/324934900 ) - Ensure that the
DatePickerDialog
displays its buttons when nesting aDateRangePicker
or when displaying any type of date picker on small screens with larger fonts. ( Ie4758 , b/325107799 , b/277768544 ) -
Menu
now leverages theSurfaceContainer
role for container color.MenuDefaults.TonalElevation
is now0.dp
. ( I135b7 ) -
TextField
now leverages theSurfaceContainerHighest
role for container color. ( I4dced ) - Elevated chips now leverage the
SurfaceContainerLow
role ( I7cd2f ) -
DatePicker
container color is nowSurfaceContainerHigh
.DatePickerDefaults.TonalElevation
is now0.dp
. ( Ida753 ) - Updates Bottom Sheets container color and drag handle color. ( I72a0a )
-
RichTooltip
container color is nowSurfaceContainer
. ( Ia8b45 ) -
SearchBar
container color is nowSurfaceContainerHighest
.SearchBarDefaults.TonalElevation
is now0.dp
. ( I88604 ) - Updates switch disabled and unselected tracks/icons to leverage the
SurfaceContainerHighest
color role. ( I7687a ) -
AlertDialog
container color is nowSurfaceContainerHigh
. ( Ie0433 ) -
BottomAppBar
container color is nowSurfaceContainer
.TopAppBar
onScroll
color is nowSurfaceContainer
. ( I41630 ) -
ElevatedCard
container color is nowSurfaceContainerLow
.FilledCard
's container color ofSurfaceContainerHighest
. ( I35141 ) -
ElevatedButton
container color is nowSurfaceContainerLow
.FilledIconButton
's when unselected now have a container color ofSurfaceContainerHighest
. ( I792c9 ) - Updates
TimePicker
container color and clock dial color role toSurfaceContainerHighest
. ( I43b93 )
Version 1.3.0-alpha01
ফেব্রুয়ারি 21, 2024
androidx.compose.material3:material3-*:1.3.0-alpha01
is released. Version 1.3.0-alpha01 contains these commits.
নতুন বৈশিষ্ট্য
- Update Compose M3
ModalBottomSheet
to support Predictive Back on U+ ( Iccf32 , b/281967264 , b/304850357 ) - Updated Compose M3
SearchBar
to support Predictive Back on U+ ( I657f8 ) - Updated Slider to improve accessibility by adding a gap and stop indicator. ( I3058e )
- Updated
ProgressIndicator
to improve accessibility by adding a gap and stop indicator. ( I21451 ) - Adding a default caret for rich tooltip, new rich tooltip API now allows for custom caret to be drawn given anchor
LayoutCoordinates
. ( Ifd42c )
আচরণ পরিবর্তন
- Material components have been migrated to use the new ripple APIs, and no longer query
RippleTheme
.
এপিআই পরিবর্তন
- The fun
drawStopIndicator
is now public. ( I3f59f ) - Mark the
DatePicker
'sformatWithSkeleton
function as internal ( Ic65dc ) -
DropdownMenu
now supports custom color, shape, elevation, and border. ( I8e981 , b/289554448 , b/301887035 , b/283654243 ) - Material3 components exposing a
MutableInteractionSource
in their API have been updated to now expose a nullableMutableInteractionSource
that defaults tonull
. There are no semantic changes here: passing null means that you do not wish to hoist theMutableInteractionSource
, and it will be created inside the component if needed. Changing to null allows for some components to never allocate aMutableInteractionSource
, and allows for other components to only lazily create an instance when they need to, which improves performance across these components. If you are not using theMutableInteractionSource
you pass to these components, it is recommended that you pass null instead. It is also recommended that you make similar changes in your own components. ( I41abb , b/298048146 ) - Adds
RippleConfiguration
andLocalRippleConfiguration
to allow for per-component / sub-tree customization of ripples using fixed values. For example, to change the color of a component you don't control, or to disable a ripple for a component. In most cases the default values should be used: these APIs are an escape hatch for customization of individual components / limited sub-trees. For wider changes and custom design systems, you should instead build your own ripple usingcreateRippleModifierNode
. ( I7b5d6 , b/298048146 ) - Adds new ripple API in material3 which replaces the deprecated
rememberRipple
. Also adds a temporaryCompositionLocal
,LocalUseFallbackRippleImplementation
, to revert material3 components to using the deprecatedrememberRipple
/RippleTheme
APIs. This will be removed in the next stable release, and is only intended to be a temporary migration aid for cases where you are providing a customRippleTheme
. ( I34cbc , b/298048146 )
বাগ ফিক্স
- Removed subcomposition inside
ModalBottomSheet
to improve performance. Fixed an issue whereModalBottomSheet
could crash in specific scenarios in combination withLookaheadScope
. ( I2a198 ) - Removed subcomposition inside
BottomSheetScaffold
to improve performance. Fixed an issue whereBottomSheetScaffold
would crash in specific scenarios in combination withLookaheadScope
. ( Ie6401 ) - The badge alignment is adjusted to be closer to the center of the anchor content in respect to the top-right corner. ( I18a28 )
- Fix an a11y issue with the
DateRangePicker
where the Month-Year text title was conveyed as actionable to the screen reader, Switch access, and Voice access users. ( I2ac55 ) - Fixed
mediumTopAppBarColors
param order bug. ( Ibe64a )
সংস্করণ 1.2
সংস্করণ 1.2.1
6 মার্চ, 2024
androidx.compose.material3:material3-*:1.2.1
is released. Version 1.2.1 contains these commits .
বাগ ফিক্স
- Make the Slider states stable again. Making
State.onValueChangeFinished
a val again. WrappingonValueChangeFinished
in arememberUpdatedState
. ( Ie8fd0 , b/322269951 ) - Removing
@Stable
from the states ofSlider
since we're changingstate.onValueChangeFinished
to avar
. ( I82ba1 , b/322269951 ) - Fix
NavigationBar
custom colors to copy from defaults. ( 80a779 , b/326894020 ) - Fix regression in
ExposedDropdownMenu
to make it focusable again ( 3fcec1 , b/323694447 ) - Fix button color caching issue ( 3e5bbc b/327371655 )
সংস্করণ 1.2.0
7 ফেব্রুয়ারি, 2024
androidx.compose.material3:material3-*:1.2.0
is released. Version 1.2.0 contains these commits.
পরিচিত সমস্যা
- A View-Compose interop rendering bug was introduced in
PrimaryTabRow
as part of a performance improvement change. The workaround is to useTabRow
withTabRowDefaults.PrimaryIndicator
Important changes since 1.1.0
New Material Design 3 Components
- রিফ্রেশ করতে টানুন
- সেগমেন্টেড বোতাম
Enhancements to existing Material Design 3 components.
- Bottom app bar (RTL alignment, auto-hide on scroll)
- Tabs visual update
- Badge (alignment update)
Promoted experimental APIs to stable!
কর্মক্ষমতা উন্নতি
- Please see this blog post for more details!
Version 1.2.0-rc01
24 জানুয়ারী, 2024
androidx.compose.material3:material3-*:1.2.0-rc01
is released. Version 1.2.0-rc01 contains these commits.
বাগ ফিক্স
- Fixed
mediumTopAppBarColors
param order bug. ( Ibe64a ) - Fixed a bug introduced in
1.2.0-beta02
inCardDefaults.cardColors
that did not updatecontentColor
based on thecontainerColor
param value. ( Iee041 , b/319671246 ) - Fixed a bug in
disabledContentColor
introduced in1.2.0-beta02
and added small optimization. ( I6dda1 , b/318428829 )
Version 1.2.0-beta02
জানুয়ারী 10, 2024
androidx.compose.material3:material3-*:1.2.0-beta02
is released. Version 1.2.0-beta02 contains these commits.
পরিচিত বাগ
- A bug in
IconButtonColors
will by default assigndisabledContentColor
to an alpha (0.38f) ofLocalContentColor
instead of the user specifiedcontentColor
. The workaround is to explicitly set thedisabledContentColor
. This will be fixed in the next release.
এপিআই পরিবর্তন
- Adding the capability to enable tooltip carets for Plain
Tooltip
APIs. ( Ibf767 ) -
SwipeToDismissState
,rememberSwipeToDismiss
andSwipeToDismissValue
are all renamed to have_SwipeToDismissBox_
. ( I68d6d )
বাগ ফিক্স
- Fixed
ListItem
end padding value to align with spec. ( Ibd68b , b/305342674 ) - Outline color for outlined card is now correctly mapped to
OutlineVariant
. ( I75480 , b/310979715 ) - Dynamic color now pulls from system defined color roles. This improves contrast for accessible content, and more closely aligns dynamic color to the Material spec. ( I1de96 )
- Fixed
ModalBottomSheet
back handling on Android T/13+ whenandroid:enableOnBackInvokedCallback="true"
. ( I728dc , b/306196110 )
Version 1.2.0-beta01
13 ডিসেম্বর, 2023
androidx.compose.material3:material3-*:1.2.0-beta01
is released. Version 1.2.0-beta01 contains these commits.
এপিআই পরিবর্তন
- Mark
TabIndicatorScope
as experimental. ( I45c88 ) - Removing deprecated experimental APIs for tooltip. ( I438cb )
- Change new
TabRow
overloads to not use subcompositions. This results in a different way to build theTabRow
indicators with custom modifiers provided. ( Ife741 ) - Deprecate
DismissDirection
andDismissValue
API's. These have been merged toSwipeToDismissValue
, whose values indicate both position and direction ofSwipeToDismissBox
.DismissState.progress
is now marked as aFloatRange
between0.0
and1.0
.DismissState
deprecated Saver and Constructor have now been removed.SwipeToDismiss
component, state and defaults object have been remarked as experimental. ( Ib54f2 )
বাগ ফিক্স
- The default indicator for
PullToRefresh
is now an open arrowhead instead of a solid triangle. ( I67be3 )
Version 1.2.0-alpha12
নভেম্বর 29, 2023
androidx.compose.material3:material3-*:1.2.0-alpha12
is released. Version 1.2.0-alpha12 contains these commits.
এপিআই পরিবর্তন
-
RangeSlider
now takes a Kotlin range (eg,0f..1f
) instead of a customFloatRange
value class.SnapFlingBehavior.kt
now also uses a Kotlin range. ( I025cb ) - Mark Modifier factory functions as
@Stable
. ( Ib109f )
Version 1.2.0-alpha11
15 নভেম্বর, 2023
androidx.compose.material3:material3-*:1.2.0-alpha11
is released. Version 1.2.0-alpha11 contains these commits.
নতুন বৈশিষ্ট্য
- Implements
PullToRefreshContainer
andPullToRefreshState
, which together provide a pull to refresh implementation in Material3. ( I16456 , b/261760718 )
এপিআই পরিবর্তন
- Mark the
SwipeToDismissBox
DismissDirection
andDismissValue
as experimental. ( I517b0 ) - Rename
SwipeToDismiss
toSwipeToDismissBox
. Renamebackground
tobackgroundContent
anddismissContent
to trailingcontent
lambda. ( I7f4d3 ) - Make the constructor for
ChipElevation
andSelectableChipElevation
public. ( Ie0c48 , b/308432421 ) - Adding
ModalBottomSheetProperties
. MovingsecurePolicy
intoModalBottomSheetProperties
. AddingisFocusable
andshouldDismissOnBackPress
toModalBottomSheetProperties
. These new booleans help determine how modal bottom sheet should handle IME events. ( Iea56f , b/278216859 ) - Updated
RangeSlider
andSlider
states to removeinitialOnValueChange
, the initial prefixes, and appropriate kdocs. ( I57d30 ) - Deprecate
ChipBorder
class and its associated function calls, recommend usingBorderStroke
directly instead. ( I89cc2 ) - Foundation Tooltip APIs are now
@ExperimentalFoundationApi
. ( I30b0b ) -
TabRow
andScrollableTabRow
are no longer deprecated. The new Primary and Secondary variants are marked as experimental. ( I0def6 ) - Filter and input chips now use
BorderStroke
directly. ( I07a8d ) -
SegmentedButton
now usesBorderStroke
directly. ( I89b9b ) - Renamed the generic
AlertDialog
function toBasicAlertDialog
, and deprecate the previous function. ( Idbe52 ) - Rename
SwipeToDismiss
APIs toSwipeDismiss
, and promote the newSwipeDismiss
APIs to stable. ( I14cbe ) - Adding
tonalElevation
andshadowElevation
to tooltip APIs. Additionally, movingTooltipBox
,PlainTooltip
, andRichTooltip
APIs back to experimental since they were accidentally released as stable. ( If0f66 , b/293939035 ) - Promote experimental chip APIs to stable. ( Iea2c3 )
- Removed the
@ExperimentalMaterial3Api
annotation from the Material3 clickable Cards. ( I88dbf )
বাগ ফিক্স
- Fixed an issue where
SwipeToDismiss
would crash in certain scenarios with nested Lookahead and Lazy layouts. ( Ica8d1 , b/297226562 )
Version 1.2.0-alpha10
18 অক্টোবর, 2023
androidx.compose.material3:material3-*:1.2.0-alpha10
is released. Version 1.2.0-alpha10 contains these commits.
এপিআই পরিবর্তন
- Promoting
Badge
andBadgedBox
to stable. ( I67f16 , b/261565132 ) - Adding
securePolicy
as a parameter toModalBottomSheet
, so users can define the behavior forWindowManager.LayoutParams.FLAG_SECURE
. ( Icdac8 , b/296250262 ) - Added new overloads of
LinearProgressIndicator
andCircularProgressIndicator
that takeprogress
as a lambda. These should be more performant than the previous versions. ( I824e6 , b/295616656 ) - Renames
StandardSizeClasses
toAllSizeClasses
. ( I8cb07 ) - Combine calculation functions of window size classes. ( Iad935 )
বাগ ফিক্স
- Fix a
DatePicker
crash when quickly clicking the navigation arrow buttons when the displayed month is at the edge of the allowed range of years. ( I46f36 , b/290954897 , b/297002119 ) - [Nav rail/bar] Support transparent color for indicator. ( Ie0a9b , b/267289987 )
Version 1.2.0-alpha09
4 অক্টোবর, 2023
androidx.compose.material3:material3-*:1.2.0-alpha09
is released. Version 1.2.0-alpha09 contains these commits.
এপিআই পরিবর্তন
- Migrated
ModalNavigationDrawer
andDismissibleNavigationDrawer
to use newAnchoredDraggable
APIs.DrawerState
'sanimateTo
has been replaced by the open and close methods, and the offset is now exposed as a float instead of a state object. You can access the offset directly throughcurrentOffset
. ( I0a72c ) - Non-Composable functions have been added for creating a
DatePickerState
andDateRangePickerState
directly. These functions can be used as an alternative to the ComposablerememberDatePickerState
andrememberDateRangePickerState
functions when needed. ( I70326 , b/291524052 ) - Fixed and Scrollable
TabRows
now have Primary and Secondary variants. These correctly map to the color and indicator behavior as defined in Material3. -
PrimaryScrollableTabRow
andSecondaryScrollableTabRow
now expose scroll state. ( Iec8f5 , b/260572337 ) - Adding a new
sheetMaxWidth
parameter that developers can set to specify a maximum width that the sheet will span. Dp.Unspecified can be passed in for the parameter if a sheet that spans the entire screen width is desired. ( Ifb7c9 , b/266697696 ) - Adding back
PlainTooltipBox
andRichTooltipBox
APIs as deprecated methods. ( I246fa )
বাগ ফিক্স
- Fix a crash when the
DatePicker
is initialized with aDatePickerFormatter
that has certain date skeletons that stay the same when converted to date patterns (such as YY). ( I01f29 )
Version 1.2.0-alpha08
20 সেপ্টেম্বর, 2023
androidx.compose.material3:material3-*:1.2.0-alpha08
is released. Version 1.2.0-alpha08 contains these commits.
Behavior Breaking Change
-
ColorScheme
is now Immutable, making individual color updates less efficient, but making more common usage of colors more efficient. The reasoning behind this change is that the majority of apps wouldn't have updating individual colors as a main use case. This is still possible but it will recompose more than before, in turn we significantly decrease the amount of state subscriptions through all of Material code and will impact initialization and runtime cost of more standard use cases. ( Ic447d , b/297212873 ) - Tonal Elevation no longer animates in different interaction states to match spec. ( Icdd12 )
এপিআই পরিবর্তন
- Added a new
BottomAppBar
that takes as parameter aBottomAppBarScrollBehavior
in order to auto-hide it when content is scrolled. Also addedFabPosition.EndOverlay
allowing the FAB to overlay the bottom app bar in the scaffold instead of being anchored above it. ( Iecb47 ) - Added a simple Label component that builds on top of
BasicTooltipBox
that won't dismiss when tapping outside of the bounds of the label. ( I821f9 )
বাগ ফিক্স
- Removed the use of
rememberSaveable
for tooltips. ( Icc131 , b/299500338 ) - Introduced a temporary flag to control whether Scaffold should measure its children during measurement or during placement. By default, this will measure in measurement. If you are facing issues with the new behavior, please file an issue. ( I0b354 )
- Fixed horizontal Edge to Edge in
BottomSheet
by using the correct measurement for device screen width. ( I1df0c , b/299058752 ) - Fixed a bug where
ModalBottomSheet
was not callingonDismissedRequest
when dismissing it by swiping down on the sheet. ( Idfdd8 )
Version 1.2.0-alpha07
6 সেপ্টেম্বর, 2023
androidx.compose.material3:material3-*:1.2.0-alpha07
is released. Version 1.2.0-alpha07 contains these commits.
নতুন বৈশিষ্ট্য
- Auto-mirror icons support has been added in
compose material 1.6.0-alpha05
, please see the release notes for details on auto-mirror icons.
এপিআই পরিবর্তন
-
SliderState
implementsDraggableState
( I9b116 ) - Change shape to be a required param. Rename
position
toindex
in shape helper function. ( I34941 ) - Updates the
DatePicker
formatWithSkeleton
to include a map that is used as a cache for performance improvements. ( I3195f ) - Added
BasicTooltipBox
tocompose.foundation
and updatedPlainTooltipBox
andRichTooltipBox
to useTooltipBox
with newPlainTooltip
andRichTooltip
composables. ( I79e1d )
বাগ ফিক্স
-
dynamicLightColorScheme
anddynamicDarkColorScheme
now return higher chroma colors for surface andsurfaceContainer
roles. ( I5e901 ) - Fixed an issue where some components using Subcomposition (eg
BottomSheetScaffold
) inside a Scaffold inside aLookaheadScope
were attempting to read their size too early. ( I297b4 , I871f1 , b/295536718 )
Version 1.2.0-alpha06
23 আগস্ট, 2023
androidx.compose.material3:material3-*:1.2.0-alpha06
is released. Version 1.2.0-alpha06 contains these commits.
বাগ ফিক্স
- Fixed
DropdownMenu
'soffset
calculation so x offsets depend solely on the local layout direction, and y offsets will no longer be reversed when the menu is near the bottom of the screen. ( Iccc74 , b/294103942 ) - Fixed
DropdownMenu
'soffset
calculation so x offsets depend solely on the local layout direction, and y offsets will no longer be reversed when the menu is near the bottom of the screen. ( Ib87a2 , b/294103942 )
Version 1.2.0-alpha05
9 আগস্ট, 2023
androidx.compose.material3:material3-*:1.2.0-alpha05
is released. Version 1.2.0-alpha05 contains these commits.
এপিআই পরিবর্তন
- Updates to the Checkbox and
TriStateCheckbox
colors. TheCheckboxDefaults.colors()
disabledUncheckedColor
now only affects the border of the checkbox. Special cases that require you to set the internal box color when disabled and unchecked requires a custom constructed instance of aCheckboxColors
with the desired color values. ( I77d17 , b/291943198 )
Version 1.2.0-alpha04
জুলাই 26, 2023
androidx.compose.material3:material3-*:1.2.0-alpha04
is released. Version 1.2.0-alpha04 contains these commits.
নতুন বৈশিষ্ট্য
- Experimental Segmented Button API ( Ifc8fb )
- Dividers now have a parameter to control orientation to support vertical dividers. ( I4c899 , b/288438593 )
এপিআই পরিবর্তন
- We are moving the density dependency to the component level. This applies to the following components:
SwipeToDismiss
and Sheet based components. Please use the new overload provided where density is a parameter. ( I1846e ) - Additional annotations to specify allowed inputs to composables ( Ief234 )
- Add an icon parameter to segmented button, split semantics so that segmented buttons can be selectable to implement single-select, and toggleable to implement multi-select, with
SelectableSegmentedButtonRow
andToggelableSegmentedButtonRow
respectively. ( I38740 ) - Divider has been renamed to
HorizontalDivider
. AddedVerticalDivider
functionality. ( I5975c ) - Change the use of
ClosedFloatingPointRange
for the lighter weightFloatRange
in experimental Material3 APIs to minimize autoboxing. ( I4aab5 ) - Added new Start alignment for
FabPosition
( Ib7aea , b/170592777 )
বাগ ফিক্স
-
ModalBottomSheet
respects local layout direction. ( Ib4f44 , b/285628622 )
Version 1.2.0-alpha03
জুন 21, 2023
androidx.compose.material3:material3-*:1.2.0-alpha03
is released. Version 1.2.0-alpha03 contains these commits.
আচরণ পরিবর্তন
-
includeFontPadding
is nowfalse
by default in Material 3 typography. The default line height style has also been changed toTrim.None
andAlignment.Center
, and explicitlineHeight
(in sp) have been added to theTextStyle
s ofTypography
. Consult the API docs if you want to customize these values, and see the blog post for an in-depth explainer of these changes. ( I6266f , Icabc3 )
নতুন বৈশিষ্ট্য
- Added an overload for
RangeSlider
that is a stateful version of the component. CreatedRangeSliderState
that holds all of the information for the current active track, the measurements of the components of theRangeSlider
, and the drag and gesture logic. ( I8c270 ) - Search bar now supports shadows via the newly added
shadowElevation
parameter. ( Ia5369 , b/271040353 ) -
ColorScheme
now supports newSurfaceContainer
roles . - Surface tonal elevation overlay can now be disabled with the
LocalTonalElevationEnabled
composition local. ( Ic203c , b/277774590 )
এপিআই পরিবর্তন
- Open the component colors constructors. ( I8c4a6 )
- Adding focusable parameter to both tooltip APIs, so that developers can have the tooltip consume touch events or not. Be cautious that this might break accessibility focus automatic traversal. ( Ie32d8 )
- Optimized accessibility for performance and memory allocations. ( Iede48 )
- Expose
DefaultSizeClasses
and createStandardSizeClasses
forWindowSizeClasses
( I91838 ) - change
WindowWidth/HeightSizeClass
to float value classes ( Ie686e )
বাগ ফিক্স
- Scaffold's
contentWindowInsets
parameter now respects consumed window insets. Note that the behavior of content padding based ontopBar
andbottomBar
remains unchanged when these parameters are provided. ( I08b73 , b/264601542 ) - Fix the alignment of the center top app bar to ensure that a long title doesn't render over the action icons or the navigation icon. ( I4369f , b/236994621 )
- Tab positions now enforce a minimum content width of 24.dp. This provides an accessible touch target for tab indicators. ( Id8861 )
- Dynamic color palettes from
dynamicLightColorScheme
anddynamicDarkColorScheme
now support new surface roles. ( I1252e ) - Updating the badge notification alignment to not clip when colliding with great grandparent. ( Idf75a )
Version 1.2.0-alpha02
24 মে, 2023
androidx.compose.material3:material3-*:1.2.0-alpha02
is released. Version 1.2.0-alpha02 contains these commits.
এপিআই পরিবর্তন
- Add window insets parameter to
ModalBottomSheet
.- Scrim for
ModalBottomSheet
may now be drawn behind status bar withwindowInsets
set to zero - Updated default
ModalBottomSheet
functionality to stay outside of system bars including navigation - Status bar inset handling is provided by drag handle in edge-to-edge mode.
-
BottomSheetDefaults
includes window insets forBottomSheetWindow
. ( I31200 , b/274872542 , b/272973615 , b/272334475 , b/268432129 , b/275849044 , b/275486106 , b/268433162 )
- Scrim for
- Deprecate
Indicator
and addPrimary
/SecondaryIndicator
to match the M3 specs.PrimaryIndicator
matches the width of the tab's content whereasSecondaryIndicator
spans the full available width.SecondaryIndicator
is equivalent to the now deprecatedIndicator
and can be a direct replacement. ( I27604 ) - Added an option to pass in a
ScrollState
when constructing aDropdownMenu
or anExposedDropdownMenu
for controlling the vertical scroll state of the displayed menu items. ( Ia0734 , b/185304441 ) - Added an overload for
Slider
that is a stateful version of the component. CreatedSliderState
that holds all of the information for the current active track, the measurements of the components of theSlider
, and the drag and gesture logic. ( I124a5 ) - Renaming the Semantics property
isContainer
toisTraversalGroup
( I121f6 ) - Added optimized
TextStyle.merge(...)
with full parameter list. ( Iad234 , b/246961787 ) - Made
TooltipState
,RichTooltipState
, andPlainTooltipState
public interfaces. AddedRichTooltipStateImpl
andPlainTooltipStateImpl
for default states. Addedremember*State
functions to obtain these implemented states. RemovedTooltipSync
in favor of anTooltipDefault.GlobalMutatorMutex
. ( I7813d ) - Updated the
DatePickerColors
to include additional customization options for the date picker divider, navigation, and text input fields colors. ( I1a685 , b/274626815 ) -
DatePickerState
and theDateRangePickerState
are now public interfaces with default implementations that can be retrieved by therememberDatePickerState
andrememberDateRangePickerState
. ( I71c52 ) - Removed the
dateValidator
fromDatePicker
andDateRangePicker
and introduced aSelectableDates
interface that can be set on the state to control which dates or years are selectable in the UI. ( Ic2fc6 ) -
TimePicker
removed from stable API, further changes are expected in the state API ( I3f39a ) -
ModalBottomSheet
moved to android only.ModalBottomSheet
is not recommended for desktop use, and the functionality is not actively maintained. ( Ib3778 )
বাগ ফিক্স
- Fixed the
AlertDialog
dismiss action to appear below the confirm action when the actions stacked over each other to fit into the dialog's width. This fix aligns the implementation with the Material Design spec. ( I029de , b/235454277 ) - Fixed bug in
ListItem
using incorrect padding for three-line items. ( I6e235 ) -
ModalBottomSheet
now can display IME keyboard ( Idc508 , b/262140644 , b/268380384 , b/272483584 )
Version 1.2.0-alpha01
10 মে, 2023
androidx.compose.material3:material3:1.2.0-alpha01
and androidx.compose.material3:material3-window-size-class:1.2.0-alpha01
are released. Version 1.2.0-alpha01 contains these commits.
সংস্করণ 1.1
সংস্করণ 1.1.2
20 সেপ্টেম্বর, 2023
androidx.compose.material3:material3:1.1.2
and androidx.compose.material3:material3-window-size-class:1.1.2
are released. Version 1.1.2 contains these commits.
বাগ ফিক্স
- Fixed modifier incorrectly being passed to two composables. ( b/282761472 )
- Fixed
TimePickerState
returns incorrect hours when initialized with 23 hours. ( b/278242122 ) - Fixed initial toggle state for noon and minute validation. ( b/269768197 , b/282790635 )
- Fixed
state.hour
returning incorrect value for 11pm. ( b/282761472 , b/278242122 )
Version 1.1.1
জুন 21, 2023
androidx.compose.material3:material3:1.1.1
and androidx.compose.material3:material3-window-size-class:1.1.1
are released. Version 1.1.1 contains these commits.
বাগ ফিক্স
- Adds call for
ModalBottomSheet
withoutwindowInset
param for binary compatibility. ( Ib7959 ) - Add window insets parameter to
ModalBottomSheet
.- Scrim for
ModalBottomSheet
may now be drawn behind status bar withwindowInsets
set to zero - Updated default
ModalBottomSheet
functionality to stay outside of system bars including navigation - Status bar inset handling is provided by drag handle in edge-to-edge mode.
-
BottomSheetDefaults
includes window insets forBottomSheetWindow
. ( I31200 , b/274872542 , b/272973615 , b/272334475 , b/268432129 , b/275849044 , b/275486106 , b/268433162 )
- Scrim for
সংস্করণ 1.1.0
10 মে, 2023
androidx.compose.material3:material3:1.1.0
and androidx.compose.material3:material3-window-size-class:1.1.0
are released. Version 1.1.0 contains these commits.
Major features of 1.1.0
New Material Design 3 components
Enhancements to existing Material Design 3 components.
Promoted experimental APIs to stable!
Please see this blog post for more details!
Version 1.1.0-rc01
এপ্রিল 19, 2023
androidx.compose.material3:material3:1.1.0-rc01
and androidx.compose.material3:material3-window-size-class:1.1.0-rc01
are released. Version 1.1.0-rc01 contains these commits.
এপিআই পরিবর্তন
-
TimePicker
removed from stable API, further changes are expected in the state API ( I3f39a ) -
ModalBottomSheet
moved to android only.ModalBottomSheet
is not recommended for desktop use, and the functionality is not actively maintained. ( Ib3778 )
Version 1.1.0-beta02
5 এপ্রিল, 2023
androidx.compose.material3:material3:1.1.0-beta02
and androidx.compose.material3:material3-window-size-class:1.1.0-beta02
are released. Version 1.1.0-beta02 contains these commits.
এপিআই পরিবর্তন
-
SheetState
now has optionalskipHiddenState
parameter -
rememberStandardBottomSheetState
now has optionalskipHiddenState
parameter -
BottomSheetScaffold
now has a defined Hidden anchor, though it is disabled by default -
SheetState.requireOffset
documentation has been updated -
BottomSheetDefaults.MinimizedShape
has been renamed asBottomSheetDefaults.HiddenShape
( I839f4 , b/273870234 )
বাগ ফিক্স
- Do not switch the dial face from hour to minute when touch exploration is enabled. ( I717d0 )
-
ModalBottomSheet
andBottomSheetScaffold
drag handle semantics are now merged. ( I05afb ) -
BottomSheetScaffold
modifier,containerColor
andcontentColor
parameters now only affect content. ( I992cb ) -
BottomSheetScaffold nestedScroll
for sheet content now implements flings. ( I992cb )
Version 1.1.0-beta01
22 মার্চ, 2023
androidx.compose.material3:material3:1.1.0-beta01
and androidx.compose.material3:material3-window-size-class:1.1.0-beta01
are released. Version 1.1.0-beta01 contains these commits.
এপিআই পরিবর্তন
- Add layout type param to
TimePicker
composable. It allows to use different layouts, depending on the screen configuration ( Ia0e16 ) -
SearchBarDefaults
has been marked as experimental. ( I65561 ) - Added shadow elevation to
BottomSheetScaffold
( I94e0f ) - Added support for displaying the date pickers without the header part. API changes to allow passing a null headline when creating a date picker. You can now pass null headline, title, and
showToggleMode = false
in order to display a headless picker. ( Id3f3a , b/266132421 , b/267194809 )
বাগ ফিক্স
- Search bars now automatically clear focus when made inactive. ( I22a7c , b/261444487 )
- Updated the
DateRangePicker
to allow selecting a range with the same date for its start and end. ( I16529 , b/272882497 ) - Text fields now properly position their text elements when font size is smaller than expected. This may result in a few pixels change in your apps based on font settings and script. ( I8b8d0 )
- Bottom sheet semantic actions now have labels. ( I277b0 )
Version 1.1.0-alpha08
8 মার্চ, 2023
androidx.compose.material3:material3:1.1.0-alpha08
and androidx.compose.material3:material3-window-size-class:1.1.0-alpha08
are released. Version 1.1.0-alpha08 contains these commits.
নতুন বৈশিষ্ট্য
- Added support for
BottomSheetScaffold
andBottomSheetScaffoldState
. ( I063d4 )
এপিআই পরিবর্তন
- Added functionality to the
DatePickerState
and theDateRangePickerState
to allow setting dates after the initial creation of the state, as well as resetting selections by setting null timestamps. Setting dates manually should be made with caution, and the newsetSelection
function will throw an exception in case a provided date fails a precondition (see documentation). ( Ifa645 , b/268609314 , b/270427389 ) - Rename Collapsed
SheetValue
toPartiallyExpanded
to more accurately and flexibly depict behavior in this state. ( Ia1491 ) - Updated
ListItem
parameter names to _content instead of _text. Default getters are nowReadOnlyComposables
where relevant. ( I69a25 ) - Graduate interactive Surface APIs from experimental. ( I90d59 , b/261561812 )
বাগ ফিক্স
- Fixed an issue where
ModalBottomSheet
'sHalfExpanded
state was calculated incorrectly and the sheet would appear to be floating. ( I45e84 , b/268411386 ) - Add
confirmValueChange
check to scrim tap forModalBottomSheet
. ( I2311a , b/270425759 ) - Move semantic
BottomSheet
actions to drag handle. ( I158ba ) -
ModalBottomSheet
now commands focus on launch, handles back button. ( I4d2ab ) -
ModalBottomSheet onDismissRequest
is now also handled during nested scroll flings. ( I655c5 , b/268433166 )
Version 1.1.0-alpha07
22 ফেব্রুয়ারি, 2023
androidx.compose.material3:material3:1.1.0-alpha07
and androidx.compose.material3:material3-window-size-class:1.1.0-alpha07
are released. Version 1.1.0-alpha07 contains these commits.
নতুন বৈশিষ্ট্য
- Add a Time Input composable that works with
rememberTimePickerState()
, it follows the M3 spec for time input ( Ia4fab ) - Added a Material 3
DateRangePicker
API for selecting a range of dates. ( I7a6c3 , b/267194809 ) - Added a Material 3 input mode support for selecting date ranges via the
DateRangePicker
API. ( Ifdbc4 ) - Text field colors now allow customizing:
- The input field and placeholder text colors based on focus and error state. The
textColor
parameter has been renamed tounfocusedTextColor
, andplaceholderColor
has been renamed tounfocusedPlaceholderColor
. - The container color for filled text fields based on error state with the new
errorContainerColor
param.
- The input field and placeholder text colors based on focus and error state. The
- Exposed dropdown menu text field colors have been updated with parameters to support the new prefix and suffix API. ( I9c8b4 , b/254284181 , b/264766350 )
এপিআই পরিবর্তন
- Reverting some Slider API versions and removing redundant Slider overloads that are covered by the new experimental Slider with custom thumb and track. Promoting
RangeSlider
to be stable. ( Ie8fbd ) - Renamed
defaultElevation
toelevation
in chip's elevation functions. ( I0f872 ) - The following Material 3 text field APIs are no longer experimental:
TextField
,OutlinedTextField
,textFieldWithLabelPadding
,textFieldWithoutLabelPadding
,outlinedTextFieldPadding
. ( Ieb5c0 , b/261561819 ) -
TimePickers
is24Hour
uses system setting ( I18856 ) - Removed experimental annotation from scaffold apis. ( Ibb51e , b/261565765 , b/261436953 )
বাগ ফিক্স
-
ModalBottomSheet
default shape is now alwaysSheetDefaults.ExpandedShape
. ( I0dfca ) - Accessibility improvements for Material 3
DatePicker
andDateRangePicker
. ( I5087e ) - Fix bug where max height constraint is propagated and may crash. ( I30d8c )
- Removed semantic roles from clickable and selectable surfaces, updated components that used them to set roles using modifier.semantics ( I793d9 )
Version 1.1.0-alpha06
ফেব্রুয়ারী 8, 2023
androidx.compose.material3:material3:1.1.0-alpha06
and androidx.compose.material3:material3-window-size-class:1.1.0-alpha06
are released. Version 1.1.0-alpha06 contains these commits.
নতুন বৈশিষ্ট্য
- Text fields now support prefix and suffix text ( Ia8578 , b/179884561 )
- Added a
TimePicker
function to show a time picker following the Material 3 spec, used in conjunction withTimePickerState
and convenience methodrememberTimePickerState
( I71910 ) - A date input is now a display mode at the
DatePicker
. Added support for switching between date picker and date input modes. ( Ieeff7 ) - Added API for
RichTextTooltips
. ( I58ef3 ) - Modal bottom sheet implementation for Material 3, including
ModalBottomSheet
andModalBottomSheetDefaults
. Also introducesSheetState
andrememberSheetState
which can be used for future sheet components. ( I0853a , b/244189383 )
এপিআই পরিবর্তন
- Stablize the API
showSnackbar
( I195c2 , b/261424370 ) - Stablize the APIs for assist chip and suggestion chip ( Ibb67b , b/261424370 )
- Promotes
ListItem
,ListItemDefaults
andListItemColors
API to non-experimental ( I7e7fa , b/261438882 ) - Promoting
SliderPositions
,SliderDefaults.Thumb
, andSliderDefaults.Track
to stable and adding non-experimentalSlider
andRangeSlider
APIs that contain custom thumbs and track. Also deprecating the previousSlider
andRangeSlider
APIs. ( Ie5ea6 , b/261566890 ) - Made
Modifier.tooltipAnchor()
public, so devs can pass it to the anchor to indicate a tooltip should be displayed on long press. UpdatedPlainTooltipBox
API to no longer makeTooltipState
nullable and now has a default. ( Ie2fb7 ) -
ProgressIndicatorDefaults.circularTrackColor
has been marked@Composable
for consistency. ( Id29cc ) - Restored property getter
LocalMinimuTouchTargetEnforcement
and mark it as deprecated and redirect toLocalMinimumInteractiveComponentEnforcement
. ( I60dd5 )
Version 1.1.0-alpha05
জানুয়ারী 26, 2023
androidx.compose.material3:material3:1.1.0-alpha05
and androidx.compose.material3:material3-window-size-class:1.1.0-alpha05
are released. Version 1.1.0-alpha05 contains these commits.
নতুন বৈশিষ্ট্য
-
DatePickerDialog
and accessibility support - Added Custom thumb and track to
RangeSlider
.
Dependency Updates
-
Compose UI
andCompose Material
now depend on Lifecycle 2.6.0 .
Version 1.1.0-alpha04
11 জানুয়ারী, 2023
androidx.compose.material3:material3:1.1.0-alpha04
and androidx.compose.material3:material3-window-size-class:1.1.0-alpha04
are released. Version 1.1.0-alpha04 contains these commits.
নতুন বৈশিষ্ট্য
- Initial
DatePicker
API for picking a single date via a calendar UI. This API is still undergoing changes. ( I722b9 ) - Added support for plain tooltips via
PlainTooltipBox
. ( I0cdfb ) - Search bar ( Iad128 )
-
SwipeToDismiss
( I458a8 , b/242889540 )
এপিআই পরিবর্তন
- Added in
IsContainer
semantics property on Surfaces. This property will be used in a later change that determines traversal order based on the semantic meaning of elements such as surfaces. ( I63379 ) - Mark navigation drawer related APIs as stable. ( Iab01e , b/261439597 )
- Added a track color parameter for circular progress indicators, and a stroke cap parameter for both circular and linear progress indicators. ( Ie668c , b/216325962 , b/222964817 )
- More return type nullability of deprecated-hidden functions ( Ibf7b0 )
- Add
Modifier.minimumInteractiveComponentSize
. It can be used to reserve at least 48.dp in size to disambiguate touch interactions if the element would measure smaller. ( I33f58 , b/258495559 ) - Added experimental API for
AlertDialog
composable that has a content slot. ( Iec4a2 )
বাগ ফিক্স
- Progress for progress indicators is now properly bounded to its expected range. ( I8a7eb , b/262262727 )
পরিচিত সমস্যা
- When updating from
androidx.compose.foundation:1.4.0-alpha03
toandroidx.compose.foundation:1.4.0-alpha04
, you might experience ajava.lang.NoSuchFieldError
error. Here is where the issue was orginially reported. A fix has been submitted, and will be available on the next Compose update. As a work around, update yourandroidx.compose.material
andandroidx.compose.material3
libraries to the latest version(1.1.0-alpha04) or downgrade yourandroidx.compose.foundation
to 1.4.0-alpha03.
Version 1.1.0-alpha03
7 ডিসেম্বর, 2022
androidx.compose.material3:material3:1.1.0-alpha03
and androidx.compose.material3:material3-window-size-class:1.1.0-alpha03
are released. Version 1.1.0-alpha03 contains these commits.
এপিআই পরিবর্তন
- Renamed
consumedWindowInsets()
toconsumeWindowInsets()
andwithConsumedWindowInsets()
toonConsumedWindowInsetsChanged()
and made the Modifiers public. ( Ie44e1 ) - Add new default content padding for text button with icon to use. ( I8f662 )
- Added disabled colors for navigation bar and rail. ( Ia7892 , b/258867034 )
- Added an Modifier API to query ancestors scroll info. ( I2ba9d , b/203141462 )
- Used in
Clickable
to correctly delay press interactions, when gestures could become scroll events. - Fixed
Clickables
not correctly delaying ripples, when used inside anScrollable ViewGroup
. - Updated Drawers and Sheets to correctly delay presses in case gestures can become scroll events.
Dependency Updates
-
Compose UI
andCompose Material
now depend on Lifecycle 2.5.1. ( I05ab0 , b/258038814 )
Version 1.1.0-alpha02
9 নভেম্বর, 2022
androidx.compose.material3:material3:1.1.0-alpha02
and androidx.compose.material3:material3-window-size-class:1.1.0-alpha02
are released. Version 1.1.0-alpha02 contains these commits.
এপিআই পরিবর্তন
-
awaitFirstDown
andwaitForUpOrCancellation
now accept aPointerEventPass
for greater flexibility (also fixesExposedDropdownMenuBox
showing a menu while scrolling).( I7579a , b/212091796 ) - Added
minLines
parameter into material and material3 Text,TextField
andOutlinedTextField
which allows setting the minimum height of the component in terms of number of lines ( I4af1d ) - Deprecate the
TopAppBarDefaults smallTopAppBarColors
function in favor of a newtopAppBarColors
function that should be used when creating aTopAppBar
. ( Ie6cb9 ) - Added
minLines
parameter to theBasicText
andBasicTextField
. It allows to set the minimum height of these composables in terms of number of lines ( I24294 , b/122476634 )
বাগ ফিক্স
- Clip the content of a Material3
IconButton
andIconToggleBotton
to the component's state-layer shape (eg circular shape). ( I9da8f ) - Updates Material3 Medium and Large top app bars to apply the same background color across their entire surface, and to allow setting overriding the default colors with transparent color values. ( I67659 , b/249688556 , b/250838918 )
Version 1.1.0-alpha01
24 অক্টোবর, 2022
androidx.compose.material3:material3:1.1.0-alpha01
and androidx.compose.material3:material3-window-size-class:1.1.0-alpha01
are released. Version 1.1.0-alpha01 contains these commits.
বাগ ফিক্স
- Fixes to the top app bar when title is applied with a TextStyle and a Brush. ( If667e )
সংস্করণ 1.0
সংস্করণ 1.0.1
9 নভেম্বর, 2022
androidx.compose.material3:material3:1.0.1
and androidx.compose.material3:material3-window-size-class:1.0.1
are released. Version 1.0.1 contains these commits.
বাগ ফিক্স
- Updates Material3 Medium and Large top app bars to apply the same background color across their entire surface, and to allow setting overriding the default colors with transparent color values. ( I67659 , b/249688556 , b/250838918 )
সংস্করণ 1.0.0
24 অক্টোবর, 2022
androidx.compose.material3:material3:1.0.0
and androidx.compose.material3:material3-window-size-class:1.0.0
are released. Version 1.0.0 contains these commits.
Major features of 1.0.0
This is the first stable release of Compose Material 3!
Material Design 3 theming and Material You dynamic color
Material Design 3 components
- ব্যাজ
- Bottom App Bar
- বোতাম
- FAB and extended FAB
- কার্ড
- চেকবক্স
- চিপস
- ডায়ালগ
- বিভাজক
- ড্রপডাউন মেনু
- তালিকা
- Navigation bar
- নেভিগেশন ড্রয়ার
- নেভিগেশন রেল
- অগ্রগতি নির্দেশক
- রেডিও বোতাম
- স্লাইডার
- সুইচ
- ট্যাব
- পাঠ্য ক্ষেত্র
- শীর্ষ অ্যাপ বার
- আইকন
- পাঠ্য
- সারফেস
- লেআউট
- Content color
Window Size Class
material3-window-size-class
is a new library that provides support for window size classes: a set of opinionated viewport breakpoints for you to design, develop, and test resizable application layouts against. You can usecalculateWindowSizeClass
to retrieve a window size class instance, which you can use to determine how your UI should appear, such as showing a navigation rail instead of bottom navigation for larger window sizes. For more information and sample usage see the API reference documentation forWindowSizeClass
.Please see this blog post for more details!
Version 1.0.0-rc01
5 অক্টোবর, 2022
androidx.compose.material3:material3:1.0.0-rc01
and androidx.compose.material3:material3-window-size-class:1.0.0-rc01
are released. Version 1.0.0-rc01 contains these commits.
এপিআই পরিবর্তন
- Added slot param for supporting text to text field API ( Iaac0d , b/227146125 )
Version 1.0.0-beta03
21 সেপ্টেম্বর, 2022
androidx.compose.material3:material3:1.0.0-beta03
and androidx.compose.material3:material3-window-size-class:1.0.0-beta03
are released. Version 1.0.0-beta03 contains these commits.
এপিআই পরিবর্তন
-
ExposedDropdownMenuDefaults
now exposes a padding value for menu items. ( I34ee1 ) -
ExposedDropdownMenuBoxScope
now has aModifier.menuAnchor()
modifier that should be passed to the text field for proper a11y behavior. ( I27fa3 ) - Adding two overloaded methods for the current Slider API to allow users to pass in a thumb or track to populate the slider. ( I21c00 )
বাগ ফিক্স
- Updated dark theme color mapping for On Error Container to tone 90 ( Ic5612 )
- Fix to allow setting a transparent background for small Material 3 top app bars. ( I645e2 , b/245575782 )
Version 1.0.0-beta02
7 সেপ্টেম্বর, 2022
androidx.compose.material3:material3:1.0.0-beta02
and androidx.compose.material3:material3-window-size-class:1.0.0-beta02
are released. Version 1.0.0-beta02 contains these commits.
এপিআই পরিবর্তন
- Default components insets introduced in m3 components in beta01 version no longer account for IME insets.
- Material3 Scaffold component now has a
contentWindowInsets
parameter, allowing to specify the amount of insets to handle for the content slot. ( Icf11a , b/243713323 ) - Deprecates the experimental Material 3
SmallTopAppBar
function and introduces an equivalentTopAppBar
function. Please migrate your usage to the new one. ( I74404 , b/226918634 ) - Adds control over the top app bar fling and snap behaviors. ( I15c81 )
- Removes startIndent from Divider, moves color to last parameter. ( If7be2 )
বাগ ফিক্স
- Have Dialogs identify themselves to talkback users by announcing the word Dialog when they are displayed. ( I857ef )
Version 1.0.0-beta01
24 আগস্ট, 2022
androidx.compose.material3:material3:1.0.0-beta01
and androidx.compose.material3:material3-window-size-class:1.0.0-beta01
are released. Version 1.0.0-beta01 contains these commits.
API রেফারেন্স
To see latest theming, component and other composables available check out the Compose Material 3 API reference overview .
এপিআই পরিবর্তন
- Updated the Material 3 top app bar to snap into a fully collapsed to a fully extended state. Also, updated the
TopAppBarDefaults
behavior function to be Composables and provide default values for their top app bar state and animation spec. ( I642b3 ) - Updated FAB component signatures to match surface API ( I3afaa )
- Added insets Build-in support for Top app bars, drawers, navigation bar and rail. These components, when used separately or with Scaffold will automatically handle insets for developers. Note: This change doesn't add automatic handling of status bar icons and transparency of the status and navigation bars. Please, continue to do it manually to ensure the best edge-to-edge experience. ( I7e4e6 , b/183161866 )
- Updated component defaults to reduce API surface for future flexibility and performance improvements. ( I31820 )
- Reordered chip and navigation drawer sheet parameters to maintain consistency within the API ( I45d0b )
- Removed
startIndent
from Divider and moved color to be the last parameter.( If7be2 )
Version 1.0.0-alpha16
আগস্ট 10, 2022
androidx.compose.material3:material3:1.0.0-alpha16
and androidx.compose.material3:material3-window-size-class:1.0.0-alpha16
are released. Version 1.0.0-alpha16 contains these commits.
নতুন বৈশিষ্ট্য
- Support specifying a custom width on a navigation drawer. ( Ia7f10 )
এপিআই পরিবর্তন
- Reorder Tab and Leading icon tab parameters to maintain consistency within the API ( Ie2637 )
- Marked
BadgeDefaults
as experimental. ( I98ef3 ) - Remove deprecated navigation drawer function. ( I4f2db )
- Reorder Slider parameters in Material 3 to maintain consistency within the API ( I0aee7 )
- Reorder
NavigationBar
andNavigationRail
parameters to maintain consistency within the API ( I51cda ) - Reorder parameters in Material 3 to maintain consistency across the API. ( If4ae1 )
- Reorder Slider parameters in Material 3 to maintain consistency within the API ( I62673 )
- Renamed icons parameter to actions to be consistent with top app bar ( Id75be )
- Mark
Badge
andBadgedBox
as experimental because the anchor alignment is still influx. ( I1712e , b/236524516 ) - Change
@ExperimentalMaterial3Api
annotations on icon button variants to@OptIn
( I070b5 ) - Separated a navigation drawer's content to its own composable to support specifying a custom width on it. ( Ia7f10 )
- Removes
Divider
fromMenuDefaults
andTabDefaults
( I4e33c )
Version 1.0.0-alpha15
জুলাই 27, 2022
androidx.compose.material3:material3:1.0.0-alpha15
and androidx.compose.material3:material3-window-size-class:1.0.0-alpha15
are released. Version 1.0.0-alpha15 contains these commits.
নতুন বৈশিষ্ট্য
- Allow dragging the top app bar from the bar itself. ( I65c00 , b/205873416 )
এপিআই পরিবর্তন
- Updates to the
FilterChip
andElevatedFilterChip
APIs to remove theselectedIcon
slot and promote reusing theleadingIcon
for displaying a selected state. ( Ie5dc2 ) - Add scrim and outline variant color roles. ( Id6d54 )
- Fix naming conventions for composable defaults. ( I62b27 )
- Mark
ListItemDefaults
andListItemColors
as experimental. ( I1f3ec ) - Changes to the top app bar API to better reflect the meaning of its state properties. Also, mark the top app bar API as experimental. ( Ic0ad8 )
- Text selection colors have now been added to
TextFieldColors
for better discoverability. ( Iba1b8 ) - Adding
ButtonDefault.ButtonWithIconContentPadding
to be used with buttons that contain an icon. ( I2bf9c ) - Text fields have been marked as experimental to allow for more flexibility in future API changes. ( I127b5 )
- Removed the
@ExperimentalMaterial3Api
annotation from theCheckbox
function. ( I5eefc ) - Removed the
@ExperimentalMaterial3Api
annotation from theRadioButton
function. ( I17e2a ) - Removed the
@ExperimentalMaterial3Api
annotation from the non-interactive Cards. ( I9bd49 ) - Updates various component defaults objects to include colors, shapes etc. ( I96e11 )
বাগ ফিক্স
- Removed non-functioning trailing icons from input chip samples to avoid user confusion in the catalog app. ( I9846a )
Version 1.0.0-alpha14
জুন 29, 2022
androidx.compose.material3:material3:1.0.0-alpha14
and androidx.compose.material3:material3-window-size-class:1.0.0-alpha14
are released. Version 1.0.0-alpha14 contains these commits.
নতুন বৈশিষ্ট্য
- Added M3 list implementation, see the documentation for sample usage ( Id7a20 )
এপিআই পরিবর্তন
- Change parameter name from values to value in
RangeSlider
( I3b79a ) - API changes to the
InputChip
implementation to support a selectable state per the Material Design spec. Additional support at theFilterChip
colors for selected disabled state. ( I55244 , b/235792432 ) - Add
BottomAppBar
default FAB ( Ida4c8 ) -
ColorScheme.surfaceColorAtElevation
was added ( Id41af ) - Interfaces in compose libraries are now built using jdk8 default interface methods ( I5bcf1 )
-
WindowWidthSizeClass
andWindowHeightSizeClass
now implement Comparable, so they can be compared using operators (<, <=, >=, >) and other APIs. ( I747d0 )
বাগ ফিক্স
- Update badge sample to provide more meaningful content description. ( I10b9d )
- Adds option to use the system font size to the Material 3 catalog's theme picker. ( I10605 )
- Adds sample code for Badge and indeterminate progress indicators. ( I8fbe0 )
Version 1.0.0-alpha13
জুন 1, 2022
androidx.compose.material3:material3:1.0.0-alpha13
and androidx.compose.material3:material3-window-size-class:1.0.0-alpha13
are released. Version 1.0.0-alpha13 contains these commits.
এপিআই পরিবর্তন
- Supports maintaining the top app bar position on configuration change. ( I10459 , b/216160958 )
Version 1.0.0-alpha12
18 মে, 2022
androidx.compose.material3:material3:1.0.0-alpha12
and androidx.compose.material3:material3-window-size-class:1.0.0-alpha12
are released. Version 1.0.0-alpha12 contains these commits.
বাগ ফিক্স
- Slider parent can now have 0 width. ( b/231707291 )
Version 1.0.0-alpha11
11 মে, 2022
androidx.compose.material3:material3:1.0.0-alpha11
and androidx.compose.material3:material3-window-size-class:1.0.0-alpha11
are released. Version 1.0.0-alpha11 contains these commits.
নতুন বৈশিষ্ট্য
- Added
RangeSlider
to Material 3 ( I18e38 ) - Adds Material3
AssistChip
andInputChip
support ( I0d25a ) - Adds Material3
FilterChip
andSuggestionChip
support ( I9fdf3 )
এপিআই পরিবর্তন
- Renamed
TextFieldDefaults.BorderStroke
composable that draws a border stroke inOutlinedTextField
toTextFieldDefaults.BorderBox
. ( I5f295 ) - Switch m3 visual changes ( Iab30e )
- Allow passing colors to the standard icon buttons. ( Ia2445 )
বাগ ফিক্স
- Add lint check to material3/Scaffold to ensure that the inner padding is used ( I72293 , b/226951418 )
Version 1.0.0-alpha10
20 এপ্রিল, 2022
androidx.compose.material3:material3:1.0.0-alpha10
and androidx.compose.material3:material3-window-size-class:1.0.0-alpha10
are released. Version 1.0.0-alpha10 contains these commits.
নতুন বৈশিষ্ট্য
-
material3-window-size-class
is a new library that provides support for window size classes: a set of opinionated viewport breakpoints for you to design, develop, and test resizable application layouts against. You can usecalculateWindowSizeClass
to retrieve a window size class instance, which you can use to determine how your UI should appear, such as showing a navigation rail instead of bottom navigation for larger window sizes. For more information and sample usage see the API reference documentation forWindowSizeClass
. For more information on window size class definitions, see the public guidance on supporting different screen sizes.
এপিআই পরিবর্তন
- Adds default FAB elevation for
BottomAppBar
, removes trailing lambda fromBottomAppBar
with FAB. ( I92c47 ) - Adds Material3
FilledIconButton
,FilledTonalIconButton
, andOutlinedIconButton
. ( Ib2bda ) - Updates Material 3 Snackbar API to accept color values for the optional action and dismiss-action. ( Ibe4b4 )
- Partial consumption (down OR position) has been deprecated in
PointerInputChange
. You can useconsume()
to consume the change completely. You can useisConsumed
to determine whether or not someone else has previously consumed the change. -
PointerInputChange::copy()
now always makes a shallow copy. It means that copies ofPointerInputChange
will be consumed once one of the copies is consumed. If you want to create an unboundPointerInputChange
, use constructor instead. ( Ie6be4 , b/225669674 ) - Changes to the Cards API to receive the container and content colors via a
CardColors
interface, and to support a disabled state for clickable cards. ( I927df ) - The parameter
backgroundColor
has been renamedcontainerColor
in Material 3 text fields for improved consistency with other components. ( I6fbd9 )
বাগ ফিক্স
- Updates to the standard
IconButton
to align it with the Material3 spec. ( I09eab ) - Move the top bar height of material3 Scaffold into the padding passed to content, allowing the content to render underneath the top app bar. If the
PaddingValues
are ignored, then the content might be obscured by the top bar. ( I83cbc , b/217776202 )
Version 1.0.0-alpha09
6 এপ্রিল, 2022
androidx.compose.material3:material3:1.0.0-alpha09
is released. Version 1.0.0-alpha09 contains these commits.
নতুন বৈশিষ্ট্য
- Added Material 3 Switch API ( I2c3ad )
এপিআই পরিবর্তন
- Added support for dropdown menus with text fields (aka 'exposed dropdown menus' or 'combo boxes'.) ( I1b832 )
- Added shape parameter to MaterialTheme and Shape sub system. ( I37426 )
- Added an expanded parameter to
ExtendedFloatingActionButton
to control whether the FAB is expanded or collapsed, with animations between each state. Added Extended FAB overload for extended FABs with trailing text for ExtendedFABs without icon. ( Iba7f1 )
Version 1.0.0-alpha08
23 মার্চ, 2022
androidx.compose.material3:material3:1.0.0-alpha08
is released. Version 1.0.0-alpha08 contains these commits.
নতুন বৈশিষ্ট্য
- Added support for Material 3 text fields. ( I795cc , b/199377790 )
এপিআই পরিবর্তন
- Add default divider for menu ( I01374 )
- Added
surfaceTint
color parameter toColorScheme
class. ( I2f558 )
বাগ ফিক্স
- Fix at the Material3 Button to read its default text style value from the MaterialTheme. ( Ie62fc )
Version 1.0.0-alpha07
9 মার্চ, 2022
androidx.compose.material3:material3:1.0.0-alpha07
is released. Version 1.0.0-alpha07 contains these commits.
এপিআই পরিবর্তন
- Updates to Material 3 Surface API that brings back the overloaded functions for clickable Surfaces, as well as adding a function to support selectable and toggleable Surfaces. ( I4bf18 )
-
LazyVerticalGrid
andLazyHorizontalGrid
are now stable. ( I307c0 ) -
LazyVerticalGrid/LazyHorizontalGrid
and all related apis were moved into .grid subpackage. Please update your imports from androidx.compose.foundation.lazy to androidx.compose.foundation.lazy.grid. ( I2d446 ) - Reverted previous change of relying solely on a View for
WindowInsetsControllerCompat
, and again require a Window which is required for managing some window flags. DeprecatedViewCompat.getWindowInsetsController
in favor ofWindowCompat.getInsetsController
to ensure that the correct Window is used (such as if the View is in a dialog). ( I660ae , b/219572936 ) - Added a new
LazyVerticalGrid
API to define cross axis sizes ( I17723 )
বাগ ফিক্স
- Updates to the Card API to follow changes at the Surface API ( I3c8b9 )
Version 1.0.0-alpha06
23 ফেব্রুয়ারি, 2022
androidx.compose.material3:material3:1.0.0-alpha06
is released. Version 1.0.0-alpha06 contains these commits.
এপিআই পরিবর্তন
-
NavigationDrawerItem
is added that represents a single destination within the drawers ( Ic396f , b/218286829 ) -
PermanentNavigationDrawer
andDismissibleNavigationDrawer
have been added as experimental APIs. Those are the drawers suitable well for large screen devices. ( I5f8ab , b/218286829 ) - Adds Material 3 bottom app bar support ( Ic432a )
-
NavigationDrawer
has been renamed toModalNavigationDrawer
( I1807d , b/218286829 ) - Added Material 3 Slider class and tokens ( I1ccee )
- Added Tab implementation, see the documentation for sample usage ( Ie0146 )
বাগ ফিক্স
- Fixed an issue where the
TalkBack
screen reader linear navigation selected an empty top app bar title. ( Id4690 ) - Added
IconSize
toFloatingActionButtonDefaults
. ( Ia71cf ) - Bug fix for hidden
AlertDialog
buttons when a long text is added with aLazyColumn
. ( Ib2cc9 , b/216663029 )
Version 1.0.0-alpha05
ফেব্রুয়ারী 9, 2022
androidx.compose.material3:material3:1.0.0-alpha05
is released. Version 1.0.0-alpha05 contains these commits.
নতুন বৈশিষ্ট্য
Added Material Design 3 components
- Dropdown menu
- কার্ড
এপিআই পরিবর্তন
- Deprecated
Surface
function that takes an onClick callback. Clickable surfaces should be created with anInteractionSource
and aModifier.clickable()
. ( I211c6 ) - Added pressed and focused elevation support for FAB. ( Ibb584 )
- Changed the
Surface
API to receive an InteractionSource which allows controlling its appearance in different states. ( Iafbc8 )
বাগ ফিক্স
- Added missing tertiary colors in dynamic color schemes ( I456c4 , b/214588434 )
Version 1.0.0-alpha04
জানুয়ারী 26, 2022
androidx.compose.material3:material3:1.0.0-alpha04
is released. Version 1.0.0-alpha04 contains these commits.
এপিআই পরিবর্তন
- Added
NonRestartableComposable
to methods that are overloads of existing methods without complex logic. This reduces compiler generated memoization checks (equals) for all parameters which are repeated in the inner function that is called. ( I90490 ) - Added Material 3 divider. ( Ica5fc )
- Mark the Checkbox and RadioButton with an experimental API annotation. ( Ie44bb )
- Added support for Material 3 progress indicators. ( Iff232 , b/205023841 )
বাগ ফিক্স
- Update a disabled
TextButton's
container color to be transparent ( I6b248 , b/213339737 )
Version 1.0.0-alpha03
জানুয়ারী 12, 2022
androidx.compose.material3:material3:1.0.0-alpha03
is released. Version 1.0.0-alpha03 contains these commits.
বাগ ফিক্স
- Add
LocalIndication
to Material 3'sMaterialTheme
. ( I7ce4e ) - Fix the corner radius that is applied for Checkboxes ( I38b03 , b/175198975 , b/202309440 )
Dependency Updates
- Now depends on Kotlin
1.6.10
.
Version 1.0.0-alpha02
ডিসেম্বর 1, 2021
androidx.compose.material3:material3:1.0.0-alpha02
is released. Version 1.0.0-alpha02 contains these commits.
নতুন বৈশিষ্ট্য
- Add support for checkbox and radiobutton.
- Updated to be compatible with Kotlin
1.6.0
এপিআই পরিবর্তন
- Remove drawer from Material 3's scaffold. ( I04f51 )
- Adds Material 3
Checkbox
support. ( Id5542 ) - Adds Material 3
RadioButton
support. ( I20334 )
বাগ ফিক্স
- Reduce
IconButton
ripple radius from 40dp to 20dp. ( I68bbe , b/206674345 ) - Port string fast path for
Text
changes fromcompose.material
( I30b03 ) - Fixed but that hardcoded button to always be enabled. ( Iea832 , b/205335456 )
Version 1.0.0-alpha01
27 অক্টোবর, 2021
androidx.compose.material3:material3:1.0.0-alpha01
is released. Version 1.0.0-alpha01 contains these commits.
নতুন বৈশিষ্ট্য
Material Design 3 theming and Material You dynamic color
Material Design 3 components
- বোতাম
- FAB and extended FAB
- ডায়ালগ
- Navigation bar
- নেভিগেশন ড্রয়ার
- নেভিগেশন রেল
- শীর্ষ অ্যাপ বার
- ব্যাজ
- আইকন
- পাঠ্য
- সারফেস
- লেআউট
- Content color
For more information, check out the Material Design 3 and Material You section in the Material Theming in Compose guide.