@momentum-design/components 0.133.0 → 0.133.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/browser/index.js +39 -4
- package/dist/browser/index.js.map +3 -3
- package/dist/components/combobox/combobox.component.js +21 -21
- package/dist/components/tab/tab.component.d.ts +3 -25
- package/dist/components/tab/tab.component.js +29 -34
- package/dist/components/tab/tab.styles.js +20 -0
- package/dist/custom-elements.json +21 -26
- package/dist/react/tab/index.d.ts +2 -3
- package/dist/react/tab/index.js +2 -3
- package/package.json +1 -1
|
@@ -343,9 +343,8 @@ class Combobox extends KeyDownHandledMixin(KeyToActionMixin(CaptureDestroyEventF
|
|
|
343
343
|
this.lastCommittedValue = value;
|
|
344
344
|
this.internals.setFormValue(this.value);
|
|
345
345
|
this.updateHiddenOptions();
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
}
|
|
346
|
+
this.updateSelectedOption(option);
|
|
347
|
+
this.resetFocusedOption();
|
|
349
348
|
this.setInputValidity();
|
|
350
349
|
this.resetHelpText();
|
|
351
350
|
if (emitEvents && !updateFromValue && option) {
|
|
@@ -388,21 +387,25 @@ class Combobox extends KeyDownHandledMixin(KeyToActionMixin(CaptureDestroyEventF
|
|
|
388
387
|
// keep value-attribute based default selection working for both
|
|
389
388
|
// controlled and uncontrolled modes, while avoiding change/input events
|
|
390
389
|
// by delegating to setSelectedValue with updateFromValue=true.
|
|
391
|
-
|
|
392
|
-
|
|
393
|
-
|
|
390
|
+
// Skip the initial paint (oldValue === null with empty newValue) but allow
|
|
391
|
+
// programmatic clears (oldValue is a string when the attribute was already set).
|
|
392
|
+
if (name === 'value' && this.navItems.length && !(oldValue === null && newValue === '')) {
|
|
394
393
|
let optionToSelect = null;
|
|
395
|
-
if (
|
|
396
|
-
|
|
397
|
-
|
|
398
|
-
|
|
399
|
-
|
|
400
|
-
|
|
401
|
-
|
|
402
|
-
|
|
403
|
-
|
|
404
|
-
|
|
405
|
-
|
|
394
|
+
if (newValue !== '') {
|
|
395
|
+
const firstSelectedOption = this.getFirstSelectedOption();
|
|
396
|
+
const valueBasedOption = this.navItems.find(option => option.value === newValue);
|
|
397
|
+
if (valueBasedOption) {
|
|
398
|
+
optionToSelect = valueBasedOption;
|
|
399
|
+
}
|
|
400
|
+
else if (firstSelectedOption) {
|
|
401
|
+
optionToSelect = firstSelectedOption;
|
|
402
|
+
}
|
|
403
|
+
else if (this.placeholder) {
|
|
404
|
+
optionToSelect = null;
|
|
405
|
+
}
|
|
406
|
+
else {
|
|
407
|
+
return;
|
|
408
|
+
}
|
|
406
409
|
}
|
|
407
410
|
this.updateComplete
|
|
408
411
|
.then(() => {
|
|
@@ -827,12 +830,9 @@ class Combobox extends KeyDownHandledMixin(KeyToActionMixin(CaptureDestroyEventF
|
|
|
827
830
|
if (this.disabled || this.readonly) {
|
|
828
831
|
return false;
|
|
829
832
|
}
|
|
830
|
-
if (optionsLength) {
|
|
833
|
+
if (optionsLength || this.noResultText) {
|
|
831
834
|
return this.isOpen;
|
|
832
835
|
}
|
|
833
|
-
if (this.noResultText) {
|
|
834
|
-
return true;
|
|
835
|
-
}
|
|
836
836
|
return false;
|
|
837
837
|
}
|
|
838
838
|
/**
|
|
@@ -51,10 +51,9 @@ declare const Tab_base: import("../../utils/mixins/index.types").Constructor<imp
|
|
|
51
51
|
* @cssproperty --mdc-tab-line-border-top-left-radius - The border top left radius of the active indicator line.
|
|
52
52
|
* @cssproperty --mdc-tab-line-border-top-right-radius - The border top right radius of the active indicator line.
|
|
53
53
|
*
|
|
54
|
-
*
|
|
55
|
-
*
|
|
56
54
|
* @csspart container - The container of the tab.
|
|
57
|
-
* @csspart icon - The icon of the tab.
|
|
55
|
+
* @csspart regular-icon - The icon of the tab, if inactive.
|
|
56
|
+
* @csspart filled-icon - The icon of the tab, if active.
|
|
58
57
|
* @csspart indicator - The indicator of the tab.
|
|
59
58
|
* @csspart text - The text of the tab.
|
|
60
59
|
*/
|
|
@@ -94,20 +93,7 @@ declare class Tab extends Tab_base {
|
|
|
94
93
|
* @default undefined
|
|
95
94
|
*/
|
|
96
95
|
tabId?: string;
|
|
97
|
-
/**
|
|
98
|
-
* @internal
|
|
99
|
-
*/
|
|
100
|
-
private prevIconName?;
|
|
101
96
|
connectedCallback(): void;
|
|
102
|
-
/**
|
|
103
|
-
* Modifies the icon name based on the active state.
|
|
104
|
-
* If the tab is active, the icon name is suffixed with '-filled'.
|
|
105
|
-
* If the tab is inactive, the icon name is restored to its original value.
|
|
106
|
-
* If '-filled' icon is not available, the icon name remains unchanged.
|
|
107
|
-
*
|
|
108
|
-
* @param active - The active state.
|
|
109
|
-
*/
|
|
110
|
-
private modifyIconName;
|
|
111
97
|
/**
|
|
112
98
|
* Sets the variant attribute for the tab component.
|
|
113
99
|
* If the provided variant is not included in the TAB_VARIANTS,
|
|
@@ -122,15 +108,7 @@ declare class Tab extends Tab_base {
|
|
|
122
108
|
* @param active - The active state of the tab.
|
|
123
109
|
*/
|
|
124
110
|
private handleTabActiveChange;
|
|
125
|
-
|
|
126
|
-
* Sets the aria-selected attribute based on the active state of the Tab.
|
|
127
|
-
* If the tab is active, the filled version of the icon is displayed,
|
|
128
|
-
* else the icon is restored to its original value.
|
|
129
|
-
*
|
|
130
|
-
* @param element - The tab element.
|
|
131
|
-
* @param active - The active state of the tab.
|
|
132
|
-
*/
|
|
133
|
-
protected setActive(element: HTMLElement, active: boolean): void;
|
|
111
|
+
private getFilledIconName;
|
|
134
112
|
protected executeAction(): void;
|
|
135
113
|
update(changedProperties: PropertyValues): void;
|
|
136
114
|
render(): import("lit-html").TemplateResult<1>;
|
|
@@ -9,6 +9,7 @@ var __metadata = (this && this.__metadata) || function (k, v) {
|
|
|
9
9
|
};
|
|
10
10
|
import { html, nothing } from 'lit';
|
|
11
11
|
import { property } from 'lit/decorators.js';
|
|
12
|
+
import { ifDefined } from 'lit/directives/if-defined.js';
|
|
12
13
|
import { getIconNameWithoutStyle } from '../button/button.utils';
|
|
13
14
|
import Buttonsimple from '../buttonsimple/buttonsimple.component';
|
|
14
15
|
import { TYPE, VALID_TEXT_TAGS } from '../text/text.constants';
|
|
@@ -66,10 +67,9 @@ import styles from './tab.styles';
|
|
|
66
67
|
* @cssproperty --mdc-tab-line-border-top-left-radius - The border top left radius of the active indicator line.
|
|
67
68
|
* @cssproperty --mdc-tab-line-border-top-right-radius - The border top right radius of the active indicator line.
|
|
68
69
|
*
|
|
69
|
-
*
|
|
70
|
-
*
|
|
71
70
|
* @csspart container - The container of the tab.
|
|
72
|
-
* @csspart icon - The icon of the tab.
|
|
71
|
+
* @csspart regular-icon - The icon of the tab, if inactive.
|
|
72
|
+
* @csspart filled-icon - The icon of the tab, if active.
|
|
73
73
|
* @csspart indicator - The indicator of the tab.
|
|
74
74
|
* @csspart text - The text of the tab.
|
|
75
75
|
*/
|
|
@@ -121,25 +121,6 @@ class Tab extends IconNameMixin(LifeCycleMixin(Buttonsimple)) {
|
|
|
121
121
|
this.onerror('tab id is required');
|
|
122
122
|
}
|
|
123
123
|
}
|
|
124
|
-
/**
|
|
125
|
-
* Modifies the icon name based on the active state.
|
|
126
|
-
* If the tab is active, the icon name is suffixed with '-filled'.
|
|
127
|
-
* If the tab is inactive, the icon name is restored to its original value.
|
|
128
|
-
* If '-filled' icon is not available, the icon name remains unchanged.
|
|
129
|
-
*
|
|
130
|
-
* @param active - The active state.
|
|
131
|
-
*/
|
|
132
|
-
modifyIconName(active) {
|
|
133
|
-
if (this.iconName) {
|
|
134
|
-
if (active) {
|
|
135
|
-
this.prevIconName = this.iconName;
|
|
136
|
-
this.iconName = `${getIconNameWithoutStyle(this.iconName)}-filled`;
|
|
137
|
-
}
|
|
138
|
-
else if (this.prevIconName) {
|
|
139
|
-
this.iconName = this.prevIconName;
|
|
140
|
-
}
|
|
141
|
-
}
|
|
142
|
-
}
|
|
143
124
|
/**
|
|
144
125
|
* Sets the variant attribute for the tab component.
|
|
145
126
|
* If the provided variant is not included in the TAB_VARIANTS,
|
|
@@ -150,17 +131,16 @@ class Tab extends IconNameMixin(LifeCycleMixin(Buttonsimple)) {
|
|
|
150
131
|
setVariant(variant) {
|
|
151
132
|
this.setAttribute('variant', Object.values(TAB_VARIANTS).includes(variant) ? variant : DEFAULTS.VARIANT);
|
|
152
133
|
}
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
this.modifyIconName(active);
|
|
134
|
+
getFilledIconName() {
|
|
135
|
+
if (!this.iconName) {
|
|
136
|
+
return undefined;
|
|
137
|
+
}
|
|
138
|
+
const isFilled = this.iconName.endsWith('-filled');
|
|
139
|
+
if (isFilled) {
|
|
140
|
+
return undefined;
|
|
141
|
+
}
|
|
142
|
+
const baseIcon = getIconNameWithoutStyle(this.iconName);
|
|
143
|
+
return `${baseIcon}-filled`;
|
|
164
144
|
}
|
|
165
145
|
executeAction() {
|
|
166
146
|
// Toggle the active state of the tab.
|
|
@@ -178,7 +158,22 @@ class Tab extends IconNameMixin(LifeCycleMixin(Buttonsimple)) {
|
|
|
178
158
|
<div part="leading">
|
|
179
159
|
<slot name="prefix">
|
|
180
160
|
${this.iconName
|
|
181
|
-
? html `
|
|
161
|
+
? html `
|
|
162
|
+
<div part="icon-container">
|
|
163
|
+
<mdc-icon
|
|
164
|
+
name="${this.iconName}"
|
|
165
|
+
size="1"
|
|
166
|
+
length-unit="rem"
|
|
167
|
+
part="regular-icon"
|
|
168
|
+
></mdc-icon>
|
|
169
|
+
<mdc-icon
|
|
170
|
+
name="${ifDefined(this.getFilledIconName())}"
|
|
171
|
+
size="1"
|
|
172
|
+
length-unit="rem"
|
|
173
|
+
part="filled-icon"
|
|
174
|
+
></mdc-icon>
|
|
175
|
+
</div>
|
|
176
|
+
`
|
|
182
177
|
: nothing}
|
|
183
178
|
</slot>
|
|
184
179
|
${this.text
|
|
@@ -44,6 +44,26 @@ const styles = [
|
|
|
44
44
|
justify-content: var(--mdc-tab-content-justification);
|
|
45
45
|
}
|
|
46
46
|
|
|
47
|
+
:host::part(icon-container) {
|
|
48
|
+
position: relative;
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
:host([active])::part(regular-icon) {
|
|
52
|
+
display: none;
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
:host([active])::part(filled-icon) {
|
|
56
|
+
display: block;
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
:host::part(regular-icon) {
|
|
60
|
+
display: block;
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
:host::part(filled-icon) {
|
|
64
|
+
display: none;
|
|
65
|
+
}
|
|
66
|
+
|
|
47
67
|
:host::part(leading),
|
|
48
68
|
:host::part(trailing) {
|
|
49
69
|
display: flex;
|
|
@@ -45488,8 +45488,12 @@
|
|
|
45488
45488
|
"name": "container"
|
|
45489
45489
|
},
|
|
45490
45490
|
{
|
|
45491
|
-
"description": "The icon of the tab.",
|
|
45492
|
-
"name": "icon"
|
|
45491
|
+
"description": "The icon of the tab, if inactive.",
|
|
45492
|
+
"name": "regular-icon"
|
|
45493
|
+
},
|
|
45494
|
+
{
|
|
45495
|
+
"description": "The icon of the tab, if active.",
|
|
45496
|
+
"name": "filled-icon"
|
|
45493
45497
|
},
|
|
45494
45498
|
{
|
|
45495
45499
|
"description": "The indicator of the tab.",
|
|
@@ -45570,6 +45574,16 @@
|
|
|
45570
45574
|
"module": "components/buttonsimple/buttonsimple.component.js"
|
|
45571
45575
|
}
|
|
45572
45576
|
},
|
|
45577
|
+
{
|
|
45578
|
+
"kind": "method",
|
|
45579
|
+
"name": "getFilledIconName",
|
|
45580
|
+
"privacy": "private",
|
|
45581
|
+
"return": {
|
|
45582
|
+
"type": {
|
|
45583
|
+
"text": "IconNames | undefined"
|
|
45584
|
+
}
|
|
45585
|
+
}
|
|
45586
|
+
},
|
|
45573
45587
|
{
|
|
45574
45588
|
"kind": "method",
|
|
45575
45589
|
"name": "handleBlur",
|
|
@@ -45645,26 +45659,6 @@
|
|
|
45645
45659
|
"module": "utils/mixins/IconNameMixin.js"
|
|
45646
45660
|
}
|
|
45647
45661
|
},
|
|
45648
|
-
{
|
|
45649
|
-
"kind": "method",
|
|
45650
|
-
"name": "modifyIconName",
|
|
45651
|
-
"privacy": "private",
|
|
45652
|
-
"return": {
|
|
45653
|
-
"type": {
|
|
45654
|
-
"text": "void"
|
|
45655
|
-
}
|
|
45656
|
-
},
|
|
45657
|
-
"parameters": [
|
|
45658
|
-
{
|
|
45659
|
-
"name": "active",
|
|
45660
|
-
"type": {
|
|
45661
|
-
"text": "boolean"
|
|
45662
|
-
},
|
|
45663
|
-
"description": "The active state."
|
|
45664
|
-
}
|
|
45665
|
-
],
|
|
45666
|
-
"description": "Modifies the icon name based on the active state.\nIf the tab is active, the icon name is suffixed with '-filled'.\nIf the tab is inactive, the icon name is restored to its original value.\nIf '-filled' icon is not available, the icon name remains unchanged."
|
|
45667
|
-
},
|
|
45668
45662
|
{
|
|
45669
45663
|
"kind": "field",
|
|
45670
45664
|
"name": "name",
|
|
@@ -45704,17 +45698,18 @@
|
|
|
45704
45698
|
"type": {
|
|
45705
45699
|
"text": "HTMLElement"
|
|
45706
45700
|
},
|
|
45707
|
-
"description": "The
|
|
45701
|
+
"description": "The button element"
|
|
45708
45702
|
},
|
|
45709
45703
|
{
|
|
45710
45704
|
"name": "active",
|
|
45705
|
+
"optional": true,
|
|
45711
45706
|
"type": {
|
|
45712
45707
|
"text": "boolean"
|
|
45713
45708
|
},
|
|
45714
|
-
"description": "The active state of the
|
|
45709
|
+
"description": "The active state of the element"
|
|
45715
45710
|
}
|
|
45716
45711
|
],
|
|
45717
|
-
"description": "Sets the
|
|
45712
|
+
"description": "Sets the ariaStateKey attributes based on the active state of the button.",
|
|
45718
45713
|
"inheritedFrom": {
|
|
45719
45714
|
"name": "Buttonsimple",
|
|
45720
45715
|
"module": "components/buttonsimple/buttonsimple.component.js"
|
|
@@ -46149,7 +46144,7 @@
|
|
|
46149
46144
|
"module": "/src/components/buttonsimple/buttonsimple.component"
|
|
46150
46145
|
},
|
|
46151
46146
|
"tagName": "mdc-tab",
|
|
46152
|
-
"jsDoc": "/**\n * `mdc-tab` is Tab component to be used within the Tabgroup.\n *\n * Passing in the attribute `text` to the tab component is changing the text displayed in the tab.\n *\n * Pass attribute `tabid` when using inside of `tablist` component.\n *\n * The `slot=\"badge\"` can be used to add a badge to the tab.\n *\n * The `slot=\"chip\"` can be used to add a chip to the tab.\n *\n * For `icon`, the `mdc-icon` component is used to render the icon.\n *\n * Note: Icons can be used in conjunction with badges or chips.\n * Badges and chips should not be used at the same time.\n *\n * @dependency mdc-icon\n * @dependency mdc-text\n *\n * @event click - (React: onClick) This event is dispatched when the tab is clicked.\n * @event keydown - (React: onKeyDown) This event is dispatched when a key is pressed down on the tab.\n * @event keyup - (React: onKeyUp) This event is dispatched when a key is released on the tab.\n * @event focus - (React: onFocus) This event is dispatched when the tab receives focus.\n * @event activechange - (React: onActiveChange) This event is dispatched when the active state of the tab changes\n * <br />\n * Event Data: `detail: { tabId: this.tabId, active }`\n * <br />\n * Note: the activechange event is used by the tab list component to react to the change in state of the tab,\n * so this event won't be needed if the tab list is used.\n *\n * @tagname mdc-tab\n *\n * @cssproperty --mdc-tab-height - The height of the tab.\n * @cssproperty --mdc-tab-padding-left - The left padding of the tab.\n * @cssproperty --mdc-tab-padding-right - The right padding of the tab.\n * @cssproperty --mdc-tab-content-gap - The gap between the icon and text in the tab.\n * @cssproperty --mdc-tab-background-color - The background color of the tab.\n * @cssproperty --mdc-tab-color - The text color of the tab.\n * @cssproperty --mdc-tab-border-radius - The border radius of the tab.\n * @cssproperty --mdc-tab-content-justification - The justification of the content in the tab.\n *\n * @cssproperty --mdc-tab-line-active-indicator-height - The height of the active indicator line.\n * @cssproperty --mdc-tab-line-active-indicator-width - The width of the active indicator line.\n *\n * @cssproperty --mdc-tab-line-border-bottom-left-radius - The border bottom left radius of the active indicator line.\n * @cssproperty --mdc-tab-line-border-bottom-right-radius - The border bottom right radius of the active indicator line.\n * @cssproperty --mdc-tab-line-border-top-left-radius - The border top left radius of the active indicator line.\n * @cssproperty --mdc-tab-line-border-top-right-radius - The border top right radius of the active indicator line.\n *\n
|
|
46147
|
+
"jsDoc": "/**\n * `mdc-tab` is Tab component to be used within the Tabgroup.\n *\n * Passing in the attribute `text` to the tab component is changing the text displayed in the tab.\n *\n * Pass attribute `tabid` when using inside of `tablist` component.\n *\n * The `slot=\"badge\"` can be used to add a badge to the tab.\n *\n * The `slot=\"chip\"` can be used to add a chip to the tab.\n *\n * For `icon`, the `mdc-icon` component is used to render the icon.\n *\n * Note: Icons can be used in conjunction with badges or chips.\n * Badges and chips should not be used at the same time.\n *\n * @dependency mdc-icon\n * @dependency mdc-text\n *\n * @event click - (React: onClick) This event is dispatched when the tab is clicked.\n * @event keydown - (React: onKeyDown) This event is dispatched when a key is pressed down on the tab.\n * @event keyup - (React: onKeyUp) This event is dispatched when a key is released on the tab.\n * @event focus - (React: onFocus) This event is dispatched when the tab receives focus.\n * @event activechange - (React: onActiveChange) This event is dispatched when the active state of the tab changes\n * <br />\n * Event Data: `detail: { tabId: this.tabId, active }`\n * <br />\n * Note: the activechange event is used by the tab list component to react to the change in state of the tab,\n * so this event won't be needed if the tab list is used.\n *\n * @tagname mdc-tab\n *\n * @cssproperty --mdc-tab-height - The height of the tab.\n * @cssproperty --mdc-tab-padding-left - The left padding of the tab.\n * @cssproperty --mdc-tab-padding-right - The right padding of the tab.\n * @cssproperty --mdc-tab-content-gap - The gap between the icon and text in the tab.\n * @cssproperty --mdc-tab-background-color - The background color of the tab.\n * @cssproperty --mdc-tab-color - The text color of the tab.\n * @cssproperty --mdc-tab-border-radius - The border radius of the tab.\n * @cssproperty --mdc-tab-content-justification - The justification of the content in the tab.\n *\n * @cssproperty --mdc-tab-line-active-indicator-height - The height of the active indicator line.\n * @cssproperty --mdc-tab-line-active-indicator-width - The width of the active indicator line.\n *\n * @cssproperty --mdc-tab-line-border-bottom-left-radius - The border bottom left radius of the active indicator line.\n * @cssproperty --mdc-tab-line-border-bottom-right-radius - The border bottom right radius of the active indicator line.\n * @cssproperty --mdc-tab-line-border-top-left-radius - The border top left radius of the active indicator line.\n * @cssproperty --mdc-tab-line-border-top-right-radius - The border top right radius of the active indicator line.\n *\n * @csspart container - The container of the tab.\n * @csspart regular-icon - The icon of the tab, if inactive.\n * @csspart filled-icon - The icon of the tab, if active.\n * @csspart indicator - The indicator of the tab.\n * @csspart text - The text of the tab.\n */",
|
|
46153
46148
|
"customElement": true,
|
|
46154
46149
|
"slots": [
|
|
46155
46150
|
{
|
|
@@ -51,10 +51,9 @@ import type { Events as EventsInherited } from '../../components/buttonsimple/bu
|
|
|
51
51
|
* @cssproperty --mdc-tab-line-border-top-left-radius - The border top left radius of the active indicator line.
|
|
52
52
|
* @cssproperty --mdc-tab-line-border-top-right-radius - The border top right radius of the active indicator line.
|
|
53
53
|
*
|
|
54
|
-
*
|
|
55
|
-
*
|
|
56
54
|
* @csspart container - The container of the tab.
|
|
57
|
-
* @csspart icon - The icon of the tab.
|
|
55
|
+
* @csspart regular-icon - The icon of the tab, if inactive.
|
|
56
|
+
* @csspart filled-icon - The icon of the tab, if active.
|
|
58
57
|
* @csspart indicator - The indicator of the tab.
|
|
59
58
|
* @csspart text - The text of the tab.
|
|
60
59
|
*/
|
package/dist/react/tab/index.js
CHANGED
|
@@ -51,10 +51,9 @@ import { TAG_NAME } from '../../components/tab/tab.constants';
|
|
|
51
51
|
* @cssproperty --mdc-tab-line-border-top-left-radius - The border top left radius of the active indicator line.
|
|
52
52
|
* @cssproperty --mdc-tab-line-border-top-right-radius - The border top right radius of the active indicator line.
|
|
53
53
|
*
|
|
54
|
-
*
|
|
55
|
-
*
|
|
56
54
|
* @csspart container - The container of the tab.
|
|
57
|
-
* @csspart icon - The icon of the tab.
|
|
55
|
+
* @csspart regular-icon - The icon of the tab, if inactive.
|
|
56
|
+
* @csspart filled-icon - The icon of the tab, if active.
|
|
58
57
|
* @csspart indicator - The indicator of the tab.
|
|
59
58
|
* @csspart text - The text of the tab.
|
|
60
59
|
*/
|