From db9b7e857f4f6266c20ec0f96f827afcf41e0ac3 Mon Sep 17 00:00:00 2001 From: Nathan Walker Date: Fri, 25 Aug 2023 16:37:36 -0700 Subject: [PATCH] feat: support more css props with latest core --- src/removeUnsupported.js | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/removeUnsupported.js b/src/removeUnsupported.js index 44b434c..fa1f1fe 100644 --- a/src/removeUnsupported.js +++ b/src/removeUnsupported.js @@ -224,11 +224,13 @@ const supportedProperties = { 'text-transform': true, 'text-align': ['left', 'center', 'right'], 'text-decoration': ['none', 'line-through', 'underline'], + 'text-overflow': ['clip', 'ellipsis', 'initial', 'unset'], 'text-shadow': true, 'text-transform': ['none', 'capitalize', 'uppercase', 'lowercase'], 'transform': true, - 'vertical-align': ['top', 'center', 'bottom', 'stretch'], - 'visibility': ['visible', 'collapse'], + 'vertical-align': ['top', 'center', 'middle', 'bottom', 'stretch'], + 'visibility': ['visible', 'collapse', 'hidden'], + 'white-space': ['initial', 'normal', 'nowrap'], 'width': true, 'z-index': true, }