@dataloop-ai/components 0.20.262 → 0.20.263
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
|
@@ -205,6 +205,7 @@ export default defineComponent({
|
|
|
205
205
|
* Overwrite default border color on hover
|
|
206
206
|
*/
|
|
207
207
|
hoverBorderColor: { type: String, default: null },
|
|
208
|
+
pressedTextColor: { type: String, default: null },
|
|
208
209
|
/**
|
|
209
210
|
* Overwrite default text color on hover
|
|
210
211
|
*/
|
|
@@ -286,7 +287,10 @@ export default defineComponent({
|
|
|
286
287
|
return setTextOnPressed({
|
|
287
288
|
disabled: this.disabled,
|
|
288
289
|
flat: this.flat,
|
|
289
|
-
textColor:
|
|
290
|
+
textColor:
|
|
291
|
+
this.pressedTextColor ||
|
|
292
|
+
this.iconColor ||
|
|
293
|
+
this.textColor
|
|
290
294
|
})
|
|
291
295
|
}
|
|
292
296
|
|
|
@@ -454,7 +458,7 @@ export default defineComponent({
|
|
|
454
458
|
disabled: this.disabled,
|
|
455
459
|
flat: this.flat,
|
|
456
460
|
color: this.color,
|
|
457
|
-
textColor: this.textColor
|
|
461
|
+
textColor: this.pressedTextColor ?? this.textColor
|
|
458
462
|
}),
|
|
459
463
|
'--dl-button-bg-pressed':
|
|
460
464
|
this.pressedBgColor ??
|