!12331 ComposeListItem 5.0样式刷新需求 因需求裁剪回退

Merge pull request !12331 from zhangzuhui/master
This commit is contained in:
openharmony_ci 2024-06-29 08:36:58 +00:00 committed by Gitee
commit df73947967
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -18,8 +18,6 @@
* @kit ArkUI
*/
import { TextModifier, ImageModifier } from './@ohos.arkui.modifier';
/**
* Declare enum IconType
* @enum { IconType }
@ -334,38 +332,6 @@ export declare class ContentItem {
* @since 11
*/
description?: ResourceStr;
/**
* Image modifier for icon.
* @type { ?ImageModifier }
* @syscap SystemCapability.ArkUI.ArkUI.Full
* @since 12
*/
iconImageModifier?: ImageModifier;
/**
* Text modifier for primaryText.
* @type { ?TextModifier }
* @syscap SystemCapability.ArkUI.ArkUI.Full
* @since 12
*/
primaryTextModifier?: TextModifier;
/**
* Text modifier for secondaryText.
* @type { ?TextModifier }
* @syscap SystemCapability.ArkUI.ArkUI.Full
* @since 12
*/
secondaryTextModifier?: TextModifier;
/**
* Text modifier for description.
* @type { ?TextModifier }
* @syscap SystemCapability.ArkUI.ArkUI.Full
* @since 12
*/
descriptionModifier?: TextModifier;
}
/**
@ -558,22 +524,4 @@ export declare struct ComposeListItem {
* @since 11
*/
@Prop operateItem?: OperateItem;
/**
* Sets the compose item's space.Its length unit is vp.
* @type { ?number }
* @default the default value is 12.
* @syscap SystemCapability.ArkUI.ArkUI.Full
* @since 12
*/
@Prop itemSpace?: number;
/**
* Sets the compose item's padding.
* @type { ?LocalizedPadding }
* @default the default value is { start: LengthMetrics.vp(12), end: LengthMetrics.vp(12)}.
* @syscap SystemCapability.ArkUI.ArkUI.Full
* @since 12
*/
@Prop composeItemPadding?: LocalizedPadding;
}