@dataloop-ai/components 0.20.130 → 0.20.131
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
|
@@ -192,6 +192,10 @@ export default defineComponent({
|
|
|
192
192
|
* Overwrite default background color on hover
|
|
193
193
|
*/
|
|
194
194
|
hoverBgColor: { type: String, default: null },
|
|
195
|
+
/**
|
|
196
|
+
* Overwrite default background color on mouse press
|
|
197
|
+
*/
|
|
198
|
+
pressedBgColor: { type: String, default: null, required: false },
|
|
195
199
|
/**
|
|
196
200
|
* Overwrite default border color on hover
|
|
197
201
|
*/
|
|
@@ -404,10 +408,13 @@ export default defineComponent({
|
|
|
404
408
|
shaded: this.shaded,
|
|
405
409
|
outlined: this.shaded
|
|
406
410
|
}),
|
|
407
|
-
'--dl-button-bg-pressed':
|
|
408
|
-
|
|
409
|
-
|
|
410
|
-
|
|
411
|
+
'--dl-button-bg-pressed':
|
|
412
|
+
this.pressedBgColor ??
|
|
413
|
+
setBgOnPressed({
|
|
414
|
+
shaded: this.shaded,
|
|
415
|
+
outlined: this.outlined
|
|
416
|
+
}),
|
|
417
|
+
|
|
411
418
|
'--dl-button-border-pressed': setBorderOnPressed({
|
|
412
419
|
shaded: this.shaded,
|
|
413
420
|
outlined: this.outlined
|