@eturnity/eturnity_reusable_components 9.22.1 → 9.22.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/package.json
CHANGED
|
@@ -49,6 +49,19 @@
|
|
|
49
49
|
name="warning"
|
|
50
50
|
size="14px"
|
|
51
51
|
/>
|
|
52
|
+
<RCIcon
|
|
53
|
+
v-if="item.closable"
|
|
54
|
+
:color="
|
|
55
|
+
activeTab === item.id
|
|
56
|
+
? theme.semanticColors.red[500]
|
|
57
|
+
: theme.semanticColors.red[300]
|
|
58
|
+
"
|
|
59
|
+
data-test-id="tab-close-icon"
|
|
60
|
+
:hovered-color="theme.semanticColors.red[600]"
|
|
61
|
+
name="close"
|
|
62
|
+
size="12px"
|
|
63
|
+
@click.stop="$emit('on-tab-close', item.id)"
|
|
64
|
+
/>
|
|
52
65
|
<ConversionTag
|
|
53
66
|
v-if="item.showUpgradeTag"
|
|
54
67
|
:data-id="
|
|
@@ -175,7 +188,7 @@
|
|
|
175
188
|
default: false,
|
|
176
189
|
},
|
|
177
190
|
},
|
|
178
|
-
emits: ['on-tab-change'],
|
|
191
|
+
emits: ['on-tab-change', 'on-tab-close'],
|
|
179
192
|
data() {
|
|
180
193
|
return {
|
|
181
194
|
theme,
|