@dataloop-ai/components 0.19.230 → 0.19.232
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
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dataloop-ai/components",
|
|
3
|
-
"version": "0.19.
|
|
3
|
+
"version": "0.19.232",
|
|
4
4
|
"exports": {
|
|
5
5
|
".": "./index.ts",
|
|
6
6
|
"./models": "./models.ts",
|
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
"check-only": "if grep -E -H -r --exclude-dir=.git --exclude-dir=node_modules --exclude=*.json --exclude=*.yml '^(describe|it).only' .; then echo 'Found only in test files' && exit 1; fi"
|
|
23
23
|
},
|
|
24
24
|
"dependencies": {
|
|
25
|
-
"@dataloop-ai/icons": "^3.0.
|
|
25
|
+
"@dataloop-ai/icons": "^3.0.51",
|
|
26
26
|
"@types/flat": "^5.0.2",
|
|
27
27
|
"@types/lodash": "^4.14.184",
|
|
28
28
|
"@types/sortablejs": "^1.15.7",
|
|
@@ -218,6 +218,7 @@ export default defineComponent({
|
|
|
218
218
|
noIconAnimation: Boolean,
|
|
219
219
|
disabled: Boolean,
|
|
220
220
|
color: { type: String!, default: '' },
|
|
221
|
+
inheritIconColor: Boolean,
|
|
221
222
|
label: { type: String, default: '' },
|
|
222
223
|
textColor: { type: String!, default: '' },
|
|
223
224
|
size: { type: String, default: 'm' },
|
|
@@ -393,6 +394,10 @@ export default defineComponent({
|
|
|
393
394
|
})
|
|
394
395
|
|
|
395
396
|
const getIconColor = computed(() => {
|
|
397
|
+
if (props.inheritIconColor) {
|
|
398
|
+
return null
|
|
399
|
+
}
|
|
400
|
+
|
|
396
401
|
if (props.disabled) {
|
|
397
402
|
return 'dl-color-disabled'
|
|
398
403
|
}
|