@@ -80,25 +80,25 @@ const metadata = {
80
80
} ,
81
81
82
82
/**
83
- * Defines the component semantic color.
83
+ * Defines the component's design color.
84
84
* <br><br>
85
- * The color is applied to:
85
+ * The design is applied to:
86
86
* <ul>
87
87
* <li>the component icon</li>
88
88
* <li>the <code>text</code> when the component overflows</li>
89
89
* <li>the tab selection line</li>
90
90
* </ul>
91
91
*
92
92
* <br><br>
93
- * Available semantic colors are: <code>"Default"</code>, <code>"Neutral"</code>, <code>"Positive"</code>, <code>"Critical"</code> and <code>"Negative"</code>.
93
+ * Available designs are: <code>"Default"</code>, <code>"Neutral"</code>, <code>"Positive"</code>, <code>"Critical"</code> and <code>"Negative"</code>.
94
94
*
95
95
* <br><br>
96
- * <b>Note:</b> The color value depends on the current theme.
96
+ * <b>Note:</b> The design depends on the current theme.
97
97
* @type {SemanticColor }
98
98
* @defaultvalue "Default"
99
99
* @public
100
100
*/
101
- semanticColor : {
101
+ design : {
102
102
type : SemanticColor ,
103
103
defaultValue : SemanticColor . Default ,
104
104
} ,
@@ -271,8 +271,8 @@ class Tab extends UI5Element {
271
271
classes . push ( "ui5-tab-strip-item--mixedMode" ) ;
272
272
}
273
273
274
- if ( this . semanticColor !== SemanticColor . Default ) {
275
- classes . push ( `ui5-tab-strip-item--${ this . semanticColor . toLowerCase ( ) } ` ) ;
274
+ if ( this . design !== SemanticColor . Default ) {
275
+ classes . push ( `ui5-tab-strip-item--${ this . design . toLowerCase ( ) } ` ) ;
276
276
}
277
277
278
278
return classes . join ( " " ) ;
@@ -281,8 +281,8 @@ class Tab extends UI5Element {
281
281
get headerSemanticIconClasses ( ) {
282
282
const classes = [ "ui5-tab-strip-item-semanticIcon" ] ;
283
283
284
- if ( this . semanticColor !== SemanticColor . Default ) {
285
- classes . push ( `ui5-tab-strip-item-semanticIcon--${ this . semanticColor . toLowerCase ( ) } ` ) ;
284
+ if ( this . design !== SemanticColor . Default ) {
285
+ classes . push ( `ui5-tab-strip-item-semanticIcon--${ this . design . toLowerCase ( ) } ` ) ;
286
286
}
287
287
288
288
return classes . join ( " " ) ;
@@ -291,8 +291,8 @@ class Tab extends UI5Element {
291
291
get overflowClasses ( ) {
292
292
const classes = [ "ui5-tab-overflow-item" ] ;
293
293
294
- if ( this . semanticColor !== SemanticColor . Default ) {
295
- classes . push ( `ui5-tab-overflow-item--${ this . semanticColor . toLowerCase ( ) } ` ) ;
294
+ if ( this . design !== SemanticColor . Default ) {
295
+ classes . push ( `ui5-tab-overflow-item--${ this . design . toLowerCase ( ) } ` ) ;
296
296
}
297
297
298
298
if ( this . disabled ) {
0 commit comments