File tree Expand file tree Collapse file tree 4 files changed +214
-111
lines changed
miuix/src/commonMain/kotlin/top/yukonga/miuix/kmp/extra Expand file tree Collapse file tree 4 files changed +214
-111
lines changed Original file line number Diff line number Diff line change @@ -52,7 +52,8 @@ Scaffold {
5252| rightAction | @Composable (() -> Unit?)? | Optional composable for right action (e.g., submit button) | null | No |
5353| backgroundColor | Color | Bottom sheet background color | SuperBottomSheetDefaults.backgroundColor() | No |
5454| enableWindowDim | Boolean | Whether to enable dimming layer | true | No |
55- | onDismissRequest | (() -> Unit)? | Callback when bottom sheet is closed | null | No |
55+ | cornerRadius | Dp | Corner radius of the top corners | SuperBottomSheetDefaults.cornerRadius | No |
56+ | onDismissRequest | (() -> Unit)? | Callback when bottom sheet is dismissed | null | No |
5657| outsideMargin | DpSize | Bottom sheet external margin | SuperBottomSheetDefaults.outsideMargin | No |
5758| insideMargin | DpSize | Bottom sheet internal content margin | SuperBottomSheetDefaults.insideMargin | No |
5859| defaultWindowInsetsPadding | Boolean | Whether to apply default window insets padding | true | No |
@@ -65,10 +66,11 @@ The SuperBottomSheetDefaults object provides default settings for the SuperBotto
6566
6667#### Properties
6768
68- | Property Name | Type | Description |
69- | ------------- | ------ | -------------------------------------- |
70- | outsideMargin | DpSize | Default bottom sheet external margin |
71- | insideMargin | DpSize | Default bottom sheet internal margin |
69+ | Property Name | Type | Description |
70+ | -------------- | ------ | -------------------------------------- |
71+ | cornerRadius | Dp | Default corner radius (28.dp) |
72+ | outsideMargin | DpSize | Default bottom sheet external margin |
73+ | insideMargin | DpSize | Default bottom sheet internal margin |
7274
7375#### Functions
7476
Original file line number Diff line number Diff line change @@ -52,6 +52,7 @@ Scaffold {
5252| rightAction | @Composable (() -> Unit?)? | 可选的右侧操作按钮(例如提交按钮) | null | 否 |
5353| backgroundColor | Color | 底部抽屉背景色 | SuperBottomSheetDefaults.backgroundColor() | 否 |
5454| enableWindowDim | Boolean | 是否启用遮罩层 | true | 否 |
55+ | cornerRadius | Dp | 顶部圆角半径 | SuperBottomSheetDefaults.cornerRadius | 否 |
5556| onDismissRequest | (() -> Unit)? | 底部抽屉关闭时的回调函数 | null | 否 |
5657| outsideMargin | DpSize | 底部抽屉外部边距 | SuperBottomSheetDefaults.outsideMargin | 否 |
5758| insideMargin | DpSize | 底部抽屉内部内容的边距 | SuperBottomSheetDefaults.insideMargin | 否 |
@@ -65,10 +66,11 @@ SuperBottomSheetDefaults 对象提供了 SuperBottomSheet 组件的默认设置
6566
6667#### 属性
6768
68- | 属性名 | 类型 | 说明 |
69- | ------------- | ------ | ---------------------- |
70- | outsideMargin | DpSize | 底部抽屉外部默认边距 |
71- | insideMargin | DpSize | 底部抽屉内部默认边距 |
69+ | 属性名 | 类型 | 说明 |
70+ | ------------- | ------ | --------------------------- |
71+ | cornerRadius | Dp | 默认圆角半径 (28.dp) |
72+ | outsideMargin | DpSize | 底部抽屉外部默认边距 |
73+ | insideMargin | DpSize | 底部抽屉内部默认边距 |
7274
7375#### 函数
7476
Original file line number Diff line number Diff line change 1717 <key >CFBundleShortVersionString </key >
1818 <string >1.0.4 </string >
1919 <key >CFBundleVersion </key >
20- <string >560 </string >
20+ <string >561 </string >
2121 <key >LSRequiresIPhoneOS </key >
2222 <true />
2323 <key >CADisableMinimumFrameDurationOnPhone </key >
You can’t perform that action at this time.
0 commit comments