@pmndrs/uikit
Version:
Build performant 3D user interfaces with Three.js and yoga.
59 lines (58 loc) • 1.7 kB
JavaScript
export const inheritedPropertyKeys = [
'depthTest',
'depthWrite',
'renderOrder',
'pixelSize',
'opacity',
'color',
'fill',
'textAlign',
'verticalAlign',
'fontSize',
'letterSpacing',
'lineHeight',
'wordBreak',
'fontFamily',
'fontWeight',
'visibility',
'scrollbarBorderRightWidth',
'scrollbarBorderTopWidth',
'scrollbarBorderLeftWidth',
'scrollbarBorderBottomWidth',
'scrollbarColor',
'scrollbarWidth',
'scrollbarBorderTopLeftRadius',
'scrollbarBorderTopRightRadius',
'scrollbarBorderBottomLeftRadius',
'scrollbarBorderBottomRightRadius',
'scrollbarBorderColor',
'scrollbarBorderBend',
'caretColor',
'caretWidth',
'caretBorderRightWidth',
'caretBorderTopWidth',
'caretBorderLeftWidth',
'caretBorderBottomWidth',
'caretBorderTopLeftRadius',
'caretBorderTopRightRadius',
'caretBorderBottomLeftRadius',
'caretBorderBottomRightRadius',
'caretBorderColor',
'caretBorderBend',
'selectionColor',
'selectionWidth',
'selectionBorderRightWidth',
'selectionBorderTopWidth',
'selectionBorderLeftWidth',
'selectionBorderBottomWidth',
'selectionBorderTopLeftRadius',
'selectionBorderTopRightRadius',
'selectionBorderBottomLeftRadius',
'selectionBorderBottomRightRadius',
'selectionBorderColor',
'selectionBorderBend',
//the following 3 properties need to be inheriting since we are building interactable descandents in the pointer events, so the interaction system might not run through the tree but access the descandents directly
'pointerEvents',
'pointerEventsType',
'pointerEventsOrder',
];