Merge branch 'v4' of https://github.com/primefaces/primevue into v4
commit
54d9aa8cfc
|
@ -86,7 +86,8 @@ export default {
|
||||||
return false;
|
return false;
|
||||||
},
|
},
|
||||||
toValue(value) {
|
toValue(value) {
|
||||||
return this.isObject(value) && value.hasOwnProperty('value') ? value.value : value;
|
// Check for Figma (value-type)
|
||||||
|
return this.isObject(value) && value.hasOwnProperty('value') && value.hasOwnProperty('type') ? value.value : value;
|
||||||
},
|
},
|
||||||
toUnit(value, variable = '') {
|
toUnit(value, variable = '') {
|
||||||
const excludedProperties = ['opacity', 'z-index', 'line-height', 'font-weight', 'flex', 'flex-grow', 'flex-shrink', 'order'];
|
const excludedProperties = ['opacity', 'z-index', 'line-height', 'font-weight', 'flex', 'flex-grow', 'flex-shrink', 'order'];
|
||||||
|
|
Loading…
Reference in New Issue