File tree 4 files changed +16
-30
lines changed
4 files changed +16
-30
lines changed Original file line number Diff line number Diff line change @@ -50,7 +50,6 @@ import ExpandableTextCss from "./generated/themes/ExpandableText.css.js";
50
50
* @extends UI5Element
51
51
* @public
52
52
* @since 2.6.0
53
- * @csspart text - Used to style the text content of the component
54
53
*/
55
54
@customElement ( {
56
55
tag : "ui5-expandable-text" ,
Original file line number Diff line number Diff line change @@ -9,7 +9,6 @@ export default function ExpandableTextTemplate(this: ExpandableText) {
9
9
< div >
10
10
< Text
11
11
class = "ui5-exp-text-text"
12
- part = "text"
13
12
emptyIndicatorMode = { this . emptyIndicatorMode }
14
13
>
15
14
{ this . _displayedText }
Original file line number Diff line number Diff line change @@ -34,16 +34,14 @@ function listItemContent(this: ListItemStandard) {
34
34
function renderTitle ( this : ListItemStandard ) {
35
35
if ( this . wrappingType === WrappingType . Normal ) {
36
36
return (
37
- < span part = "title" class = "ui5-li-title" >
38
- < ExpandableText
39
- class = { {
40
- "ui5-li-title-exp-text" : true
41
- } }
42
- text = { this . _textContent }
43
- maxCharacters = { this . _maxCharacters }
44
- exportparts = "text:title" >
45
- </ ExpandableText >
46
- </ span >
37
+ < ExpandableText
38
+ part = "title"
39
+ class = { {
40
+ "ui5-li-title" : true ,
41
+ } }
42
+ text = { this . _textContent }
43
+ maxCharacters = { this . _maxCharacters } >
44
+ </ ExpandableText >
47
45
) ;
48
46
}
49
47
@@ -62,16 +60,14 @@ function renderDescription(this: ListItemStandard) {
62
60
if ( this . wrappingType === WrappingType . Normal ) {
63
61
return (
64
62
< div class = "ui5-li-description-info-wrapper" >
65
- < span part = "description" class = "ui5-li-desc" >
66
- < ExpandableText
67
- class = { {
68
- "ui5-li-desc-exp-text" : true
69
- } }
70
- text = { this . description }
71
- maxCharacters = { this . _maxCharacters }
72
- exportparts = "text:description" >
73
- </ ExpandableText >
74
- </ span >
63
+ < ExpandableText
64
+ part = "description"
65
+ class = { {
66
+ "ui5-li-desc" : true ,
67
+ } }
68
+ text = { this . description }
69
+ maxCharacters = { this . _maxCharacters } >
70
+ </ ExpandableText >
75
71
{ renderAdditionalText . call ( this ) }
76
72
</ div >
77
73
) ;
Original file line number Diff line number Diff line change 233
233
white-space : normal;
234
234
}
235
235
236
- : host ([wrapping-type = "Normal" ]) .ui5-li-title .ui5-li-title-exp-text {
237
- font-size : var (--_ui5_list_item_title_size );
238
- }
239
-
240
- : host ([wrapping-type = "Normal" ]) .ui5-li-desc .ui5-li-desc-exp-text {
241
- color : var (--sapContent_LabelColor );
242
- }
243
-
244
236
: host ([wrapping-type = "Normal" ]) .ui5-li-multisel-cb ,
245
237
: host ([wrapping-type = "Normal" ]) .ui5-li-singlesel-radiobtn {
246
238
display : flex;
You can’t perform that action at this time.
0 commit comments