@tamagui/helpers 1.144.0 → 2.0.0-1767740890268
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/dist/cjs/index.cjs +2 -1
- package/dist/cjs/index.js +1 -0
- package/dist/cjs/index.js.map +1 -1
- package/dist/cjs/index.native.js +1 -0
- package/dist/cjs/index.native.js.map +1 -1
- package/dist/cjs/validStyleProps.cjs +9 -70
- package/dist/cjs/validStyleProps.js +6 -68
- package/dist/cjs/validStyleProps.js.map +1 -1
- package/dist/cjs/validStyleProps.native.js +5 -5
- package/dist/cjs/validStyleProps.native.js.map +1 -1
- package/dist/esm/index.js +1 -0
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/index.mjs +1 -0
- package/dist/esm/index.mjs.map +1 -1
- package/dist/esm/index.native.js +1 -0
- package/dist/esm/index.native.js.map +1 -1
- package/dist/esm/validStyleProps.js +6 -67
- package/dist/esm/validStyleProps.js.map +1 -1
- package/dist/esm/validStyleProps.mjs +8 -69
- package/dist/esm/validStyleProps.mjs.map +1 -1
- package/dist/esm/validStyleProps.native.js +5 -5
- package/dist/esm/validStyleProps.native.js.map +1 -1
- package/package.json +4 -4
- package/src/index.ts +1 -0
- package/src/validStyleProps.ts +6 -75
- package/src/webOnlyStyleProps.ts +77 -0
- package/src/withStaticProperties.tsx +2 -2
- package/types/index.d.ts +1 -0
- package/types/index.d.ts.map +1 -1
- package/types/validStyleProps.d.ts +28 -31
- package/types/validStyleProps.d.ts.map +1 -1
- package/types/webOnlyStyleProps.d.ts +73 -0
- package/types/withStaticProperties.d.ts +1 -1
- package/types/withStaticProperties.d.ts.map +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["isAndroid","textColors","color","textDecorationColor","textShadowColor","tokenCategories","radius","borderRadius","borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius","borderStartStartRadius","borderStartEndRadius","borderEndStartRadius","borderEndEndRadius","size","width","height","minWidth","minHeight","maxWidth","maxHeight","blockSize","minBlockSize","maxBlockSize","inlineSize","minInlineSize","maxInlineSize","zIndex","backgroundColor","borderColor","borderBlockStartColor","borderBlockEndColor","borderBlockColor","borderBottomColor","borderInlineColor","borderInlineStartColor","borderInlineEndColor","borderTopColor","borderLeftColor","borderRightColor","borderEndColor","borderStartColor","shadowColor","outlineColor","caretColor","stylePropsUnitless","WebkitLineClamp","animationIterationCount","aspectRatio","borderImageOutset","borderImageSlice","borderImageWidth","columnCount","flex","flexGrow","flexOrder","flexPositive","flexShrink","flexNegative","fontWeight","gridRow","gridRowEnd","gridRowGap","gridRowStart","gridColumn","gridColumnEnd","gridColumnGap","gridColumnStart","gridTemplateColumns","gridTemplateAreas","lineClamp","opacity","order","orphans","tabSize","widows","zoom","scale","scaleX","scaleY","scaleZ","shadowOpacity","stylePropsTransform","x","y","perspective","skewX","skewY","matrix","rotate","rotateY","rotateX","rotateZ","stylePropsView","backfaceVisibility","borderBottomEndRadius","borderBottomStartRadius","borderBottomWidth","borderLeftWidth","borderRightWidth","borderBlockWidth","borderBlockEndWidth","borderBlockStartWidth","borderInlineWidth","borderInlineEndWidth","borderInlineStartWidth","borderStyle","borderBlockStyle","borderBlockEndStyle","borderBlockStartStyle","borderInlineStyle","borderInlineEndStyle","borderInlineStartStyle","borderTopEndRadius","borderTopStartRadius","borderTopWidth","borderWidth","transform","transformOrigin","alignContent","alignItems","alignSelf","borderEndWidth","borderStartWidth","bottom","display","end","flexBasis","flexDirection","flexWrap","gap","columnGap","rowGap","justifyContent","left","margin","marginBlock","marginBlockEnd","marginBlockStart","marginInline","marginInlineStart","marginInlineEnd","marginBottom","marginEnd","marginHorizontal","marginLeft","marginRight","marginStart","marginTop","marginVertical","overflow","padding","paddingBottom","paddingInline","paddingBlock","paddingBlockStart","paddingInlineEnd","paddingInlineStart","paddingEnd","paddingHorizontal","paddingLeft","paddingRight","paddingStart","paddingTop","paddingVertical","position","right","start","top","inset","insetBlock","insetBlockEnd","insetBlockStart","insetInline","insetInlineEnd","insetInlineStart","direction","shadowOffset","shadowRadius","boxShadow","filter","process","env","REACT_NATIVE_PRE_77","boxSizing","mixBlendMode","outlineSpread","outlineStyle","outlineWidth","
|
|
1
|
+
{"version":3,"names":["isAndroid","webOnlyStylePropsText","webOnlyStylePropsView","textColors","color","textDecorationColor","textShadowColor","tokenCategories","radius","borderRadius","borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius","borderStartStartRadius","borderStartEndRadius","borderEndStartRadius","borderEndEndRadius","size","width","height","minWidth","minHeight","maxWidth","maxHeight","blockSize","minBlockSize","maxBlockSize","inlineSize","minInlineSize","maxInlineSize","zIndex","backgroundColor","borderColor","borderBlockStartColor","borderBlockEndColor","borderBlockColor","borderBottomColor","borderInlineColor","borderInlineStartColor","borderInlineEndColor","borderTopColor","borderLeftColor","borderRightColor","borderEndColor","borderStartColor","shadowColor","outlineColor","caretColor","stylePropsUnitless","WebkitLineClamp","animationIterationCount","aspectRatio","borderImageOutset","borderImageSlice","borderImageWidth","columnCount","flex","flexGrow","flexOrder","flexPositive","flexShrink","flexNegative","fontWeight","gridRow","gridRowEnd","gridRowGap","gridRowStart","gridColumn","gridColumnEnd","gridColumnGap","gridColumnStart","gridTemplateColumns","gridTemplateAreas","lineClamp","opacity","order","orphans","tabSize","widows","zoom","scale","scaleX","scaleY","scaleZ","shadowOpacity","stylePropsTransform","x","y","perspective","skewX","skewY","matrix","rotate","rotateY","rotateX","rotateZ","stylePropsView","backfaceVisibility","borderBottomEndRadius","borderBottomStartRadius","borderBottomWidth","borderLeftWidth","borderRightWidth","borderBlockWidth","borderBlockEndWidth","borderBlockStartWidth","borderInlineWidth","borderInlineEndWidth","borderInlineStartWidth","borderStyle","borderBlockStyle","borderBlockEndStyle","borderBlockStartStyle","borderInlineStyle","borderInlineEndStyle","borderInlineStartStyle","borderTopEndRadius","borderTopStartRadius","borderTopWidth","borderWidth","transform","transformOrigin","alignContent","alignItems","alignSelf","borderEndWidth","borderStartWidth","bottom","display","end","flexBasis","flexDirection","flexWrap","gap","columnGap","rowGap","justifyContent","left","margin","marginBlock","marginBlockEnd","marginBlockStart","marginInline","marginInlineStart","marginInlineEnd","marginBottom","marginEnd","marginHorizontal","marginLeft","marginRight","marginStart","marginTop","marginVertical","overflow","padding","paddingBottom","paddingInline","paddingBlock","paddingBlockStart","paddingInlineEnd","paddingInlineStart","paddingEnd","paddingHorizontal","paddingLeft","paddingRight","paddingStart","paddingTop","paddingVertical","position","right","start","top","inset","insetBlock","insetBlockEnd","insetBlockStart","insetInline","insetInlineEnd","insetInlineStart","direction","shadowOffset","shadowRadius","elevationAndroid","boxShadow","filter","process","env","REACT_NATIVE_PRE_77","boxSizing","mixBlendMode","outlineSpread","outlineStyle","outlineWidth","stylePropsFont","fontFamily","fontSize","fontStyle","fontVariant","letterSpacing","lineHeight","textTransform","stylePropsTextOnly","textAlign","textDecorationLine","textDecorationStyle","textShadowOffset","textShadowRadius","userSelect","verticalAlign","stylePropsText","stylePropsAll","validPseudoKeys","enterStyle","exitStyle","hoverStyle","pressStyle","focusStyle","disabledStyle","focusWithinStyle","focusVisibleStyle","validStyles"],"sources":["../../src/validStyleProps.ts"],"sourcesContent":[null],"mappings":"AAAA,SAASA,SAAA,QAAiB;AAC1B,SAASC,qBAAA,EAAuBC,qBAAA,QAA6B;AAI7D,MAAMC,UAAA,GAAa;IACjBC,KAAA,EAAO;IACPC,mBAAA,EAAqB;IACrBC,eAAA,EAAiB;EACnB;EAIaC,eAAA,GAAkB;IAC7BC,MAAA,EAAQ;MACNC,YAAA,EAAc;MACdC,mBAAA,EAAqB;MACrBC,oBAAA,EAAsB;MACtBC,sBAAA,EAAwB;MACxBC,uBAAA,EAAyB;MAAA;MAGzBC,sBAAA,EAAwB;MACxBC,oBAAA,EAAsB;MACtBC,oBAAA,EAAsB;MACtBC,kBAAA,EAAoB;IACtB;IACAC,IAAA,EAAM;MACJC,KAAA,EAAO;MACPC,MAAA,EAAQ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AA,EAAc;MACd/I,YAAA,EAAc;MACdgJ,aAAA,EAAe;MACfC,YAAA,EAAc;MACdC,YAAA,EAAc;IAChB;IAAA;IAGA,GAA2C/L;EAC7C;EAEMgM,cAAA,GAAiB;IACrBC,UAAA,EAAY;IACZC,QAAA,EAAU;IACVC,SAAA,EAAW;IACXtI,UAAA,EAAY;IACZuI,WAAA,EAAa;IACbC,aAAA,EAAe;IACfC,UAAA,EAAY;IACZC,aAAA,EAAe;EACjB;EAEaC,kBAAA,GAAqB;IAChC,GAAGR,cAAA;IACHS,SAAA,EAAW;IACXC,kBAAA,EAAoB;IACpBC,mBAAA,EAAqB;IACrB,GAAG1M,UAAA;IACH2M,gBAAA,EAAkB;IAClBC,gBAAA,EAAkB;IAClBC,UAAA,EAAY;IACZC,aAAA,EAAe;IAAA;IAGf,GAA2ChN;EAC7C;EAEaiN,cAAA,GAAiB;IAC5B,GAAGjH,cAAA;IACH,GAAGyG;EACL;EAEaS,aAAA,GAAgBD,cAAA;EAEhBE,eAAA,GAAkB;IAC7BC,UAAA,EAAY;IACZC,SAAA,EAAW;IACXC,UAAA,EAAY;IACZC,UAAA,EAAY;IACZC,UAAA,EAAY;IACZC,aAAA,EAAe;IACfC,gBAAA,EAAkB;IAIhBC,iBAAA,EAAmB;EAEvB;EAEaC,WAAA,GAAc5H,cAAA","ignoreList":[]}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { isAndroid } from "@tamagui/constants";
|
|
2
|
+
import "./webOnlyStyleProps.native.js";
|
|
2
3
|
var textColors = {
|
|
3
4
|
color: !0,
|
|
4
5
|
textDecorationColor: !0,
|
|
@@ -199,6 +200,9 @@ var textColors = {
|
|
|
199
200
|
...tokenCategories.radius,
|
|
200
201
|
...stylePropsTransform,
|
|
201
202
|
...stylePropsUnitless,
|
|
203
|
+
...(isAndroid ? {
|
|
204
|
+
elevationAndroid: !0
|
|
205
|
+
} : {}),
|
|
202
206
|
boxShadow: !0,
|
|
203
207
|
filter: !0,
|
|
204
208
|
// RN 0.77+ style props (set REACT_NATIVE_PRE_77=1 for older RN)
|
|
@@ -209,10 +213,7 @@ var textColors = {
|
|
|
209
213
|
outlineSpread: !0,
|
|
210
214
|
outlineStyle: !0,
|
|
211
215
|
outlineWidth: !0
|
|
212
|
-
})
|
|
213
|
-
...(isAndroid ? {
|
|
214
|
-
elevationAndroid: !0
|
|
215
|
-
} : {})
|
|
216
|
+
})
|
|
216
217
|
},
|
|
217
218
|
stylePropsFont = {
|
|
218
219
|
fontFamily: !0,
|
|
@@ -233,7 +234,6 @@ var textColors = {
|
|
|
233
234
|
textShadowOffset: !0,
|
|
234
235
|
textShadowRadius: !0,
|
|
235
236
|
userSelect: !0,
|
|
236
|
-
selectable: !0,
|
|
237
237
|
verticalAlign: !0
|
|
238
238
|
},
|
|
239
239
|
stylePropsText = {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["isAndroid","textColors","color","textDecorationColor","textShadowColor","tokenCategories","radius","borderRadius","borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius","borderStartStartRadius","borderStartEndRadius","borderEndStartRadius","borderEndEndRadius","size","width","height","minWidth","minHeight","maxWidth","maxHeight","blockSize","minBlockSize","maxBlockSize","inlineSize","minInlineSize","maxInlineSize","zIndex","backgroundColor","borderColor","borderBlockStartColor","borderBlockEndColor","borderBlockColor","borderBottomColor","borderInlineColor","borderInlineStartColor","borderInlineEndColor","borderTopColor","borderLeftColor","borderRightColor","borderEndColor","borderStartColor","shadowColor","stylePropsUnitless","WebkitLineClamp","animationIterationCount","aspectRatio","borderImageOutset","borderImageSlice","borderImageWidth","columnCount","flex","flexGrow","flexOrder","flexPositive","flexShrink","flexNegative","fontWeight","gridRow","gridRowEnd","gridRowGap","gridRowStart","gridColumn","gridColumnEnd","gridColumnGap","gridColumnStart","gridTemplateColumns","gridTemplateAreas","lineClamp","opacity","order","orphans","tabSize","widows","zoom","scale","scaleX","scaleY","scaleZ","shadowOpacity","stylePropsTransform","x","y","perspective","skewX","skewY","matrix","rotate","rotateY","rotateX","rotateZ","stylePropsView","backfaceVisibility","borderBottomEndRadius","borderBottomStartRadius","borderBottomWidth","borderLeftWidth","borderRightWidth","borderBlockWidth","borderBlockEndWidth","borderBlockStartWidth","borderInlineWidth","borderInlineEndWidth","borderInlineStartWidth","borderStyle","borderBlockStyle","borderBlockEndStyle","borderBlockStartStyle","borderInlineStyle","borderInlineEndStyle","borderInlineStartStyle","borderTopEndRadius","borderTopStartRadius","borderTopWidth","borderWidth","transform","transformOrigin","alignContent","alignItems","alignSelf","borderEndWidth","borderStartWidth","bottom","display","end","flexBasis","flexDirection","flexWrap","gap","columnGap","rowGap","justifyContent","left","margin","marginBlock","marginBlockEnd","marginBlockStart","marginInline","marginInlineStart","marginInlineEnd","marginBottom","marginEnd","marginHorizontal","marginLeft","marginRight","marginStart","marginTop","marginVertical","overflow","padding","paddingBottom","paddingInline","paddingBlock","paddingBlockStart","paddingInlineEnd","paddingInlineStart","paddingEnd","paddingHorizontal","paddingLeft","paddingRight","paddingStart","paddingTop","paddingVertical","position","right","start","top","inset","insetBlock","insetBlockEnd","insetBlockStart","insetInline","insetInlineEnd","insetInlineStart","direction","shadowOffset","shadowRadius","boxShadow","filter","process","env","REACT_NATIVE_PRE_77","boxSizing","mixBlendMode","outlineColor","outlineSpread","outlineStyle","outlineWidth","
|
|
1
|
+
{"version":3,"names":["isAndroid","textColors","color","textDecorationColor","textShadowColor","tokenCategories","radius","borderRadius","borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius","borderStartStartRadius","borderStartEndRadius","borderEndStartRadius","borderEndEndRadius","size","width","height","minWidth","minHeight","maxWidth","maxHeight","blockSize","minBlockSize","maxBlockSize","inlineSize","minInlineSize","maxInlineSize","zIndex","backgroundColor","borderColor","borderBlockStartColor","borderBlockEndColor","borderBlockColor","borderBottomColor","borderInlineColor","borderInlineStartColor","borderInlineEndColor","borderTopColor","borderLeftColor","borderRightColor","borderEndColor","borderStartColor","shadowColor","stylePropsUnitless","WebkitLineClamp","animationIterationCount","aspectRatio","borderImageOutset","borderImageSlice","borderImageWidth","columnCount","flex","flexGrow","flexOrder","flexPositive","flexShrink","flexNegative","fontWeight","gridRow","gridRowEnd","gridRowGap","gridRowStart","gridColumn","gridColumnEnd","gridColumnGap","gridColumnStart","gridTemplateColumns","gridTemplateAreas","lineClamp","opacity","order","orphans","tabSize","widows","zoom","scale","scaleX","scaleY","scaleZ","shadowOpacity","stylePropsTransform","x","y","perspective","skewX","skewY","matrix","rotate","rotateY","rotateX","rotateZ","stylePropsView","backfaceVisibility","borderBottomEndRadius","borderBottomStartRadius","borderBottomWidth","borderLeftWidth","borderRightWidth","borderBlockWidth","borderBlockEndWidth","borderBlockStartWidth","borderInlineWidth","borderInlineEndWidth","borderInlineStartWidth","borderStyle","borderBlockStyle","borderBlockEndStyle","borderBlockStartStyle","borderInlineStyle","borderInlineEndStyle","borderInlineStartStyle","borderTopEndRadius","borderTopStartRadius","borderTopWidth","borderWidth","transform","transformOrigin","alignContent","alignItems","alignSelf","borderEndWidth","borderStartWidth","bottom","display","end","flexBasis","flexDirection","flexWrap","gap","columnGap","rowGap","justifyContent","left","margin","marginBlock","marginBlockEnd","marginBlockStart","marginInline","marginInlineStart","marginInlineEnd","marginBottom","marginEnd","marginHorizontal","marginLeft","marginRight","marginStart","marginTop","marginVertical","overflow","padding","paddingBottom","paddingInline","paddingBlock","paddingBlockStart","paddingInlineEnd","paddingInlineStart","paddingEnd","paddingHorizontal","paddingLeft","paddingRight","paddingStart","paddingTop","paddingVertical","position","right","start","top","inset","insetBlock","insetBlockEnd","insetBlockStart","insetInline","insetInlineEnd","insetInlineStart","direction","shadowOffset","shadowRadius","elevationAndroid","boxShadow","filter","process","env","REACT_NATIVE_PRE_77","boxSizing","mixBlendMode","outlineColor","outlineSpread","outlineStyle","outlineWidth","stylePropsFont","fontFamily","fontSize","fontStyle","fontVariant","letterSpacing","lineHeight","textTransform","stylePropsTextOnly","textAlign","textDecorationLine","textDecorationStyle","textShadowOffset","textShadowRadius","userSelect","verticalAlign","stylePropsText","stylePropsAll","validPseudoKeys","enterStyle","exitStyle","hoverStyle","pressStyle","focusStyle","disabledStyle","focusWithinStyle","validStyles"],"sources":["../../src/validStyleProps.ts"],"sourcesContent":[null],"mappings":"AAAA,SAASA,SAAA,QAAiB;AAC1B,sCAAS;AAIT,IAAAC,UAAM;IACJC,KAAA,EAAO;IACPC,mBAAA,EAAqB;IACrBC,eAAA,EAAiB;EACnB;EAIaC,eAAA,GAAkB;IAC7BC,MAAA,EAAQ;MACNC,YAAA,EAAc;MACdC,mBAAA,EAAqB;MACrBC,oBAAA,EAAsB;MACtBC,sBAAA,EAAwB;MACxBC,uBAAA,EAAyB;MAAA;MAGzBC,sBAAA,EAAwB;MACxBC,oBAAA,EAAsB;MACtBC,oBAAA,EAAsB;MACtBC,kBAAA,EAAoB;IACtB;IACAC,IAAA,EAAM;MACJC,KAAA,EAAO;MACPC,MAAA,EAAQ;MACRC,QAAA,EAAU;MACVC,SAAA,EAAW;MACXC,QAAA,EAAU;MACVC,SAAA,EAAW;MACXC,SAAA,EAAW;MACXC,YAAA,EAAc;MACdC,YAAA,EAAc;MACdC,UAAA,EAAY;MACZC,aAAA,EAAe;MACfC,aAAA,EAAe;IACjB;IACAC,MAAA,EAAQ;MACNA,MAAA,EAAQ;IACV;IACA3B,KAAA,EAAO;MACL4B,eAAA,EAAiB;MACjBC,WAAA,EAAa;MACbC,qBAAA,EAAuB;MACvBC,mBAAA,EAAqB;MACrBC,gBAAA,EAAkB;MAClBC,iBAAA,EAAmB;MACnBC,iBAAA,EAAmB;MACnBC,sBAAA,EAAwB;MACxBC,oBAAA,EAAsB;MACtBC,cAAA,EAAgB;MAChBC,eAAA,EAAiB;MACjBC,gBAAA,EAAkB;MAClBC,cAAA,EAAgB;MAChBC,gBAAA,EAAkB;MAClBC,WAAA,EAAa;MACb,GAAG3C;IAAA;EAEa;EAAA4C,kB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dC,aAAA,EAAe;MACfC,YAAA,EAAc;MACdC,YAAA,EAAc;IAChB;EAAA;EAAAC,cAAA;IAGAC,UAA2C;IAC7CC,QAEM;IACJC,SAAA,GAAY;IACZvI,UAAU;IACVwI,WAAW;IACXC,aAAY;IACZC,UAAA,GAAa;IACbC,aAAA,EAAe;EAAA;EACfC,kBAAY;IACZ,GAAAR,cAAe;IACjBS,SAEa;IACXC,kBAAG;IACHC,mBAAW;IACX,GAAAzM,UAAA;IACA0M,gBAAA;IACAC,gBAAG;IACHC,UAAA;IACAC,aAAA;EAAkB;EAClBC,cAAY;IACZ,GAAAlH,cAAe;IAAA,GAAA0G;EAAA;EAGfS,aAA2C,GAAAD,cAAA;EAAAE,eAAA;IAC7CC,UAEa;IACXC,SAAG;IACHC,UAAG;IACLC,UAEa;IAGXC,UAAA,EAAY;IACZC,aAAW;IACXC,gBAAY;EAAA;EACZC,WAAY,GAAA5H,cAAA;AAAA,SAEZmH,aAAA,EACAD,cAAA,EAIER,kBAAA,EAEJrH,mBAE2B,E","ignoreList":[]}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tamagui/helpers",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "2.0.0-1767740890268",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"sideEffects": false,
|
|
6
6
|
"source": "src/index.ts",
|
|
@@ -21,11 +21,11 @@
|
|
|
21
21
|
"clean:build": "tamagui-build clean:build"
|
|
22
22
|
},
|
|
23
23
|
"dependencies": {
|
|
24
|
-
"@tamagui/constants": "
|
|
25
|
-
"@tamagui/simple-hash": "
|
|
24
|
+
"@tamagui/constants": "2.0.0-1767740890268",
|
|
25
|
+
"@tamagui/simple-hash": "2.0.0-1767740890268"
|
|
26
26
|
},
|
|
27
27
|
"devDependencies": {
|
|
28
|
-
"@tamagui/build": "
|
|
28
|
+
"@tamagui/build": "2.0.0-1767740890268",
|
|
29
29
|
"react": "*"
|
|
30
30
|
},
|
|
31
31
|
"publishConfig": {
|
package/src/index.ts
CHANGED
package/src/validStyleProps.ts
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { isAndroid } from '@tamagui/constants'
|
|
2
|
+
import { webOnlyStylePropsText, webOnlyStylePropsView } from './webOnlyStyleProps'
|
|
2
3
|
|
|
3
4
|
// generally organizing this so we don't duplicate things so its a bit weird
|
|
4
5
|
|
|
@@ -213,10 +214,10 @@ export const stylePropsView = {
|
|
|
213
214
|
...tokenCategories.radius,
|
|
214
215
|
...stylePropsTransform,
|
|
215
216
|
...stylePropsUnitless,
|
|
217
|
+
...(isAndroid ? { elevationAndroid: true } : {}),
|
|
216
218
|
|
|
217
219
|
boxShadow: true,
|
|
218
220
|
filter: true,
|
|
219
|
-
|
|
220
221
|
// RN 0.77+ style props (set REACT_NATIVE_PRE_77=1 for older RN)
|
|
221
222
|
...(!process.env.REACT_NATIVE_PRE_77 && {
|
|
222
223
|
boxSizing: true,
|
|
@@ -227,69 +228,8 @@ export const stylePropsView = {
|
|
|
227
228
|
outlineWidth: true,
|
|
228
229
|
}),
|
|
229
230
|
|
|
230
|
-
//
|
|
231
|
-
|
|
232
|
-
...(process.env.TAMAGUI_TARGET === 'web' && {
|
|
233
|
-
// RN doesn't support specific border styles per-edge
|
|
234
|
-
transition: true,
|
|
235
|
-
textWrap: true,
|
|
236
|
-
backdropFilter: true,
|
|
237
|
-
WebkitBackdropFilter: true,
|
|
238
|
-
background: true,
|
|
239
|
-
backgroundAttachment: true,
|
|
240
|
-
backgroundBlendMode: true,
|
|
241
|
-
backgroundClip: true,
|
|
242
|
-
backgroundColor: true,
|
|
243
|
-
backgroundImage: true,
|
|
244
|
-
backgroundOrigin: true,
|
|
245
|
-
backgroundPosition: true,
|
|
246
|
-
backgroundRepeat: true,
|
|
247
|
-
backgroundSize: true,
|
|
248
|
-
borderBottomStyle: true,
|
|
249
|
-
borderImage: true,
|
|
250
|
-
borderLeftStyle: true,
|
|
251
|
-
borderRightStyle: true,
|
|
252
|
-
borderTopStyle: true,
|
|
253
|
-
caretColor: true,
|
|
254
|
-
clipPath: true,
|
|
255
|
-
contain: true,
|
|
256
|
-
containerType: true,
|
|
257
|
-
content: true,
|
|
258
|
-
cursor: true,
|
|
259
|
-
float: true,
|
|
260
|
-
mask: true,
|
|
261
|
-
maskBorder: true,
|
|
262
|
-
maskBorderMode: true,
|
|
263
|
-
maskBorderOutset: true,
|
|
264
|
-
maskBorderRepeat: true,
|
|
265
|
-
maskBorderSlice: true,
|
|
266
|
-
maskBorderSource: true,
|
|
267
|
-
maskBorderWidth: true,
|
|
268
|
-
maskClip: true,
|
|
269
|
-
maskComposite: true,
|
|
270
|
-
maskImage: true,
|
|
271
|
-
maskMode: true,
|
|
272
|
-
maskOrigin: true,
|
|
273
|
-
maskPosition: true,
|
|
274
|
-
maskRepeat: true,
|
|
275
|
-
maskSize: true,
|
|
276
|
-
maskType: true,
|
|
277
|
-
objectFit: true,
|
|
278
|
-
objectPosition: true,
|
|
279
|
-
outlineOffset: true,
|
|
280
|
-
overflowBlock: true,
|
|
281
|
-
overflowInline: true,
|
|
282
|
-
overflowX: true,
|
|
283
|
-
overflowY: true,
|
|
284
|
-
pointerEvents: true,
|
|
285
|
-
scrollbarWidth: true,
|
|
286
|
-
textEmphasis: true,
|
|
287
|
-
touchAction: true,
|
|
288
|
-
transformStyle: true,
|
|
289
|
-
userSelect: true,
|
|
290
|
-
willChange: true,
|
|
291
|
-
}),
|
|
292
|
-
...(isAndroid ? { elevationAndroid: true } : {}),
|
|
231
|
+
// web-only for convenience - tree-shaken on native
|
|
232
|
+
...(process.env.TAMAGUI_TARGET === 'web' ? webOnlyStylePropsView : {}),
|
|
293
233
|
}
|
|
294
234
|
|
|
295
235
|
const stylePropsFont = {
|
|
@@ -312,19 +252,10 @@ export const stylePropsTextOnly = {
|
|
|
312
252
|
textShadowOffset: true,
|
|
313
253
|
textShadowRadius: true,
|
|
314
254
|
userSelect: true,
|
|
315
|
-
selectable: true,
|
|
316
255
|
verticalAlign: true,
|
|
317
256
|
|
|
318
|
-
//
|
|
319
|
-
...(process.env.TAMAGUI_TARGET === 'web'
|
|
320
|
-
whiteSpace: true,
|
|
321
|
-
wordWrap: true,
|
|
322
|
-
textOverflow: true,
|
|
323
|
-
textDecorationDistance: true,
|
|
324
|
-
cursor: true,
|
|
325
|
-
WebkitLineClamp: true,
|
|
326
|
-
WebkitBoxOrient: true,
|
|
327
|
-
}),
|
|
257
|
+
// web-only text props - tree-shaken on native
|
|
258
|
+
...(process.env.TAMAGUI_TARGET === 'web' ? webOnlyStylePropsText : {}),
|
|
328
259
|
}
|
|
329
260
|
|
|
330
261
|
export const stylePropsText = {
|
|
@@ -0,0 +1,77 @@
|
|
|
1
|
+
// Web-only style props that need to be skipped on native
|
|
2
|
+
// NOTE: backgroundColor is NOT web-only - it works on React Native too!
|
|
3
|
+
export const webOnlyStylePropsView = {
|
|
4
|
+
transition: true,
|
|
5
|
+
textWrap: true,
|
|
6
|
+
backdropFilter: true,
|
|
7
|
+
WebkitBackdropFilter: true,
|
|
8
|
+
// These background-* props are web-only CSS, but NOT backgroundColor
|
|
9
|
+
background: true,
|
|
10
|
+
backgroundAttachment: true,
|
|
11
|
+
backgroundBlendMode: true,
|
|
12
|
+
backgroundClip: true,
|
|
13
|
+
backgroundImage: true,
|
|
14
|
+
backgroundOrigin: true,
|
|
15
|
+
backgroundPosition: true,
|
|
16
|
+
backgroundRepeat: true,
|
|
17
|
+
backgroundSize: true,
|
|
18
|
+
borderBottomStyle: true,
|
|
19
|
+
borderImage: true,
|
|
20
|
+
borderLeftStyle: true,
|
|
21
|
+
borderRightStyle: true,
|
|
22
|
+
borderTopStyle: true,
|
|
23
|
+
boxSizing: true,
|
|
24
|
+
caretColor: true,
|
|
25
|
+
clipPath: true,
|
|
26
|
+
contain: true,
|
|
27
|
+
containerType: true,
|
|
28
|
+
content: true,
|
|
29
|
+
cursor: true,
|
|
30
|
+
float: true,
|
|
31
|
+
mask: true,
|
|
32
|
+
maskBorder: true,
|
|
33
|
+
maskBorderMode: true,
|
|
34
|
+
maskBorderOutset: true,
|
|
35
|
+
maskBorderRepeat: true,
|
|
36
|
+
maskBorderSlice: true,
|
|
37
|
+
maskBorderSource: true,
|
|
38
|
+
maskBorderWidth: true,
|
|
39
|
+
maskClip: true,
|
|
40
|
+
maskComposite: true,
|
|
41
|
+
maskImage: true,
|
|
42
|
+
maskMode: true,
|
|
43
|
+
maskOrigin: true,
|
|
44
|
+
maskPosition: true,
|
|
45
|
+
maskRepeat: true,
|
|
46
|
+
maskSize: true,
|
|
47
|
+
maskType: true,
|
|
48
|
+
mixBlendMode: true,
|
|
49
|
+
objectFit: true,
|
|
50
|
+
objectPosition: true,
|
|
51
|
+
outlineOffset: true,
|
|
52
|
+
outlineStyle: true,
|
|
53
|
+
outlineWidth: true,
|
|
54
|
+
outlineColor: true,
|
|
55
|
+
overflowBlock: true,
|
|
56
|
+
overflowInline: true,
|
|
57
|
+
overflowX: true,
|
|
58
|
+
overflowY: true,
|
|
59
|
+
// NOTE: pointerEvents is NOT web-only - it's a core React Native View prop (not a style)
|
|
60
|
+
pointerEvents: true,
|
|
61
|
+
scrollbarWidth: true,
|
|
62
|
+
textEmphasis: true,
|
|
63
|
+
touchAction: true,
|
|
64
|
+
transformStyle: true,
|
|
65
|
+
userSelect: true,
|
|
66
|
+
willChange: true,
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
export const webOnlyStylePropsText = {
|
|
70
|
+
whiteSpace: true,
|
|
71
|
+
wordWrap: true,
|
|
72
|
+
textOverflow: true,
|
|
73
|
+
textDecorationDistance: true,
|
|
74
|
+
cursor: true,
|
|
75
|
+
WebkitLineClamp: true,
|
|
76
|
+
WebkitBoxOrient: true,
|
|
77
|
+
}
|
|
@@ -4,7 +4,7 @@ const Decorated = Symbol()
|
|
|
4
4
|
|
|
5
5
|
type Combined<A, B> = A & B
|
|
6
6
|
|
|
7
|
-
export const withStaticProperties = <A extends Function, B
|
|
7
|
+
export const withStaticProperties = <A extends Function, B extends Record<string, any>>(
|
|
8
8
|
component: A,
|
|
9
9
|
staticProps: B
|
|
10
10
|
): Combined<A, B> => {
|
|
@@ -28,5 +28,5 @@ export const withStaticProperties = <A extends Function, B>(
|
|
|
28
28
|
Object.assign(next, staticProps)
|
|
29
29
|
next[Decorated] = true
|
|
30
30
|
|
|
31
|
-
return next as any
|
|
31
|
+
return next as any
|
|
32
32
|
}
|
package/types/index.d.ts
CHANGED
package/types/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,sBAAsB,CAAA;AACpC,cAAc,SAAS,CAAA;AACvB,cAAc,wBAAwB,CAAA;AACtC,cAAc,SAAS,CAAA;AACvB,cAAc,8BAA8B,CAAA;AAC5C,cAAc,mBAAmB,CAAA;AACjC,cAAc,wBAAwB,CAAA"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,sBAAsB,CAAA;AACpC,cAAc,SAAS,CAAA;AACvB,cAAc,wBAAwB,CAAA;AACtC,cAAc,SAAS,CAAA;AACvB,cAAc,8BAA8B,CAAA;AAC5C,cAAc,mBAAmB,CAAA;AACjC,cAAc,wBAAwB,CAAA;AACtC,cAAc,qBAAqB,CAAA"}
|
|
@@ -105,7 +105,6 @@ export declare const stylePropsTransform: {
|
|
|
105
105
|
rotateZ: boolean;
|
|
106
106
|
};
|
|
107
107
|
export declare const stylePropsView: {
|
|
108
|
-
elevationAndroid?: boolean | undefined;
|
|
109
108
|
transition?: boolean | undefined;
|
|
110
109
|
textWrap?: boolean | undefined;
|
|
111
110
|
backdropFilter?: boolean | undefined;
|
|
@@ -114,7 +113,6 @@ export declare const stylePropsView: {
|
|
|
114
113
|
backgroundAttachment?: boolean | undefined;
|
|
115
114
|
backgroundBlendMode?: boolean | undefined;
|
|
116
115
|
backgroundClip?: boolean | undefined;
|
|
117
|
-
backgroundColor: boolean;
|
|
118
116
|
backgroundImage?: boolean | undefined;
|
|
119
117
|
backgroundOrigin?: boolean | undefined;
|
|
120
118
|
backgroundPosition?: boolean | undefined;
|
|
@@ -125,6 +123,7 @@ export declare const stylePropsView: {
|
|
|
125
123
|
borderLeftStyle?: boolean | undefined;
|
|
126
124
|
borderRightStyle?: boolean | undefined;
|
|
127
125
|
borderTopStyle?: boolean | undefined;
|
|
126
|
+
boxSizing?: boolean | undefined;
|
|
128
127
|
caretColor?: boolean | undefined;
|
|
129
128
|
clipPath?: boolean | undefined;
|
|
130
129
|
contain?: boolean | undefined;
|
|
@@ -149,9 +148,13 @@ export declare const stylePropsView: {
|
|
|
149
148
|
maskRepeat?: boolean | undefined;
|
|
150
149
|
maskSize?: boolean | undefined;
|
|
151
150
|
maskType?: boolean | undefined;
|
|
151
|
+
mixBlendMode?: boolean | undefined;
|
|
152
152
|
objectFit?: boolean | undefined;
|
|
153
153
|
objectPosition?: boolean | undefined;
|
|
154
154
|
outlineOffset?: boolean | undefined;
|
|
155
|
+
outlineStyle?: boolean | undefined;
|
|
156
|
+
outlineWidth?: boolean | undefined;
|
|
157
|
+
outlineColor?: boolean | undefined;
|
|
155
158
|
overflowBlock?: boolean | undefined;
|
|
156
159
|
overflowInline?: boolean | undefined;
|
|
157
160
|
overflowX?: boolean | undefined;
|
|
@@ -163,14 +166,10 @@ export declare const stylePropsView: {
|
|
|
163
166
|
transformStyle?: boolean | undefined;
|
|
164
167
|
userSelect?: boolean | undefined;
|
|
165
168
|
willChange?: boolean | undefined;
|
|
166
|
-
boxSizing?: boolean | undefined;
|
|
167
|
-
mixBlendMode?: boolean | undefined;
|
|
168
|
-
outlineColor?: boolean | undefined;
|
|
169
169
|
outlineSpread?: boolean | undefined;
|
|
170
|
-
outlineStyle?: boolean | undefined;
|
|
171
|
-
outlineWidth?: boolean | undefined;
|
|
172
170
|
boxShadow: boolean;
|
|
173
171
|
filter: boolean;
|
|
172
|
+
elevationAndroid?: boolean | undefined;
|
|
174
173
|
WebkitLineClamp: boolean;
|
|
175
174
|
animationIterationCount: boolean;
|
|
176
175
|
aspectRatio: boolean;
|
|
@@ -242,6 +241,7 @@ export declare const stylePropsView: {
|
|
|
242
241
|
color: boolean;
|
|
243
242
|
textDecorationColor: boolean;
|
|
244
243
|
textShadowColor: boolean;
|
|
244
|
+
backgroundColor: boolean;
|
|
245
245
|
borderColor: boolean;
|
|
246
246
|
borderBlockStartColor: boolean;
|
|
247
247
|
borderBlockEndColor: boolean;
|
|
@@ -353,7 +353,6 @@ export declare const stylePropsTextOnly: {
|
|
|
353
353
|
textShadowOffset: boolean;
|
|
354
354
|
textShadowRadius: boolean;
|
|
355
355
|
userSelect: boolean;
|
|
356
|
-
selectable: boolean;
|
|
357
356
|
verticalAlign: boolean;
|
|
358
357
|
color: boolean;
|
|
359
358
|
textDecorationColor: boolean;
|
|
@@ -381,7 +380,6 @@ export declare const stylePropsText: {
|
|
|
381
380
|
textShadowOffset: boolean;
|
|
382
381
|
textShadowRadius: boolean;
|
|
383
382
|
userSelect: boolean;
|
|
384
|
-
selectable: boolean;
|
|
385
383
|
verticalAlign: boolean;
|
|
386
384
|
color: boolean;
|
|
387
385
|
textDecorationColor: boolean;
|
|
@@ -397,7 +395,6 @@ export declare const stylePropsText: {
|
|
|
397
395
|
letterSpacing: boolean;
|
|
398
396
|
lineHeight: boolean;
|
|
399
397
|
textTransform: boolean;
|
|
400
|
-
elevationAndroid?: boolean | undefined;
|
|
401
398
|
transition?: boolean | undefined;
|
|
402
399
|
textWrap?: boolean | undefined;
|
|
403
400
|
backdropFilter?: boolean | undefined;
|
|
@@ -406,7 +403,6 @@ export declare const stylePropsText: {
|
|
|
406
403
|
backgroundAttachment?: boolean | undefined;
|
|
407
404
|
backgroundBlendMode?: boolean | undefined;
|
|
408
405
|
backgroundClip?: boolean | undefined;
|
|
409
|
-
backgroundColor: boolean;
|
|
410
406
|
backgroundImage?: boolean | undefined;
|
|
411
407
|
backgroundOrigin?: boolean | undefined;
|
|
412
408
|
backgroundPosition?: boolean | undefined;
|
|
@@ -417,6 +413,7 @@ export declare const stylePropsText: {
|
|
|
417
413
|
borderLeftStyle?: boolean | undefined;
|
|
418
414
|
borderRightStyle?: boolean | undefined;
|
|
419
415
|
borderTopStyle?: boolean | undefined;
|
|
416
|
+
boxSizing?: boolean | undefined;
|
|
420
417
|
caretColor?: boolean | undefined;
|
|
421
418
|
clipPath?: boolean | undefined;
|
|
422
419
|
contain?: boolean | undefined;
|
|
@@ -440,9 +437,13 @@ export declare const stylePropsText: {
|
|
|
440
437
|
maskRepeat?: boolean | undefined;
|
|
441
438
|
maskSize?: boolean | undefined;
|
|
442
439
|
maskType?: boolean | undefined;
|
|
440
|
+
mixBlendMode?: boolean | undefined;
|
|
443
441
|
objectFit?: boolean | undefined;
|
|
444
442
|
objectPosition?: boolean | undefined;
|
|
445
443
|
outlineOffset?: boolean | undefined;
|
|
444
|
+
outlineStyle?: boolean | undefined;
|
|
445
|
+
outlineWidth?: boolean | undefined;
|
|
446
|
+
outlineColor?: boolean | undefined;
|
|
446
447
|
overflowBlock?: boolean | undefined;
|
|
447
448
|
overflowInline?: boolean | undefined;
|
|
448
449
|
overflowX?: boolean | undefined;
|
|
@@ -453,14 +454,10 @@ export declare const stylePropsText: {
|
|
|
453
454
|
touchAction?: boolean | undefined;
|
|
454
455
|
transformStyle?: boolean | undefined;
|
|
455
456
|
willChange?: boolean | undefined;
|
|
456
|
-
boxSizing?: boolean | undefined;
|
|
457
|
-
mixBlendMode?: boolean | undefined;
|
|
458
|
-
outlineColor?: boolean | undefined;
|
|
459
457
|
outlineSpread?: boolean | undefined;
|
|
460
|
-
outlineStyle?: boolean | undefined;
|
|
461
|
-
outlineWidth?: boolean | undefined;
|
|
462
458
|
boxShadow: boolean;
|
|
463
459
|
filter: boolean;
|
|
460
|
+
elevationAndroid?: boolean | undefined;
|
|
464
461
|
animationIterationCount: boolean;
|
|
465
462
|
aspectRatio: boolean;
|
|
466
463
|
borderImageOutset: boolean;
|
|
@@ -527,6 +524,7 @@ export declare const stylePropsText: {
|
|
|
527
524
|
inlineSize: boolean;
|
|
528
525
|
minInlineSize: boolean;
|
|
529
526
|
maxInlineSize: boolean;
|
|
527
|
+
backgroundColor: boolean;
|
|
530
528
|
borderColor: boolean;
|
|
531
529
|
borderBlockStartColor: boolean;
|
|
532
530
|
borderBlockEndColor: boolean;
|
|
@@ -638,7 +636,6 @@ export declare const stylePropsAll: {
|
|
|
638
636
|
textShadowOffset: boolean;
|
|
639
637
|
textShadowRadius: boolean;
|
|
640
638
|
userSelect: boolean;
|
|
641
|
-
selectable: boolean;
|
|
642
639
|
verticalAlign: boolean;
|
|
643
640
|
color: boolean;
|
|
644
641
|
textDecorationColor: boolean;
|
|
@@ -654,7 +651,6 @@ export declare const stylePropsAll: {
|
|
|
654
651
|
letterSpacing: boolean;
|
|
655
652
|
lineHeight: boolean;
|
|
656
653
|
textTransform: boolean;
|
|
657
|
-
elevationAndroid?: boolean | undefined;
|
|
658
654
|
transition?: boolean | undefined;
|
|
659
655
|
textWrap?: boolean | undefined;
|
|
660
656
|
backdropFilter?: boolean | undefined;
|
|
@@ -663,7 +659,6 @@ export declare const stylePropsAll: {
|
|
|
663
659
|
backgroundAttachment?: boolean | undefined;
|
|
664
660
|
backgroundBlendMode?: boolean | undefined;
|
|
665
661
|
backgroundClip?: boolean | undefined;
|
|
666
|
-
backgroundColor: boolean;
|
|
667
662
|
backgroundImage?: boolean | undefined;
|
|
668
663
|
backgroundOrigin?: boolean | undefined;
|
|
669
664
|
backgroundPosition?: boolean | undefined;
|
|
@@ -674,6 +669,7 @@ export declare const stylePropsAll: {
|
|
|
674
669
|
borderLeftStyle?: boolean | undefined;
|
|
675
670
|
borderRightStyle?: boolean | undefined;
|
|
676
671
|
borderTopStyle?: boolean | undefined;
|
|
672
|
+
boxSizing?: boolean | undefined;
|
|
677
673
|
caretColor?: boolean | undefined;
|
|
678
674
|
clipPath?: boolean | undefined;
|
|
679
675
|
contain?: boolean | undefined;
|
|
@@ -697,9 +693,13 @@ export declare const stylePropsAll: {
|
|
|
697
693
|
maskRepeat?: boolean | undefined;
|
|
698
694
|
maskSize?: boolean | undefined;
|
|
699
695
|
maskType?: boolean | undefined;
|
|
696
|
+
mixBlendMode?: boolean | undefined;
|
|
700
697
|
objectFit?: boolean | undefined;
|
|
701
698
|
objectPosition?: boolean | undefined;
|
|
702
699
|
outlineOffset?: boolean | undefined;
|
|
700
|
+
outlineStyle?: boolean | undefined;
|
|
701
|
+
outlineWidth?: boolean | undefined;
|
|
702
|
+
outlineColor?: boolean | undefined;
|
|
703
703
|
overflowBlock?: boolean | undefined;
|
|
704
704
|
overflowInline?: boolean | undefined;
|
|
705
705
|
overflowX?: boolean | undefined;
|
|
@@ -710,14 +710,10 @@ export declare const stylePropsAll: {
|
|
|
710
710
|
touchAction?: boolean | undefined;
|
|
711
711
|
transformStyle?: boolean | undefined;
|
|
712
712
|
willChange?: boolean | undefined;
|
|
713
|
-
boxSizing?: boolean | undefined;
|
|
714
|
-
mixBlendMode?: boolean | undefined;
|
|
715
|
-
outlineColor?: boolean | undefined;
|
|
716
713
|
outlineSpread?: boolean | undefined;
|
|
717
|
-
outlineStyle?: boolean | undefined;
|
|
718
|
-
outlineWidth?: boolean | undefined;
|
|
719
714
|
boxShadow: boolean;
|
|
720
715
|
filter: boolean;
|
|
716
|
+
elevationAndroid?: boolean | undefined;
|
|
721
717
|
animationIterationCount: boolean;
|
|
722
718
|
aspectRatio: boolean;
|
|
723
719
|
borderImageOutset: boolean;
|
|
@@ -784,6 +780,7 @@ export declare const stylePropsAll: {
|
|
|
784
780
|
inlineSize: boolean;
|
|
785
781
|
minInlineSize: boolean;
|
|
786
782
|
maxInlineSize: boolean;
|
|
783
|
+
backgroundColor: boolean;
|
|
787
784
|
borderColor: boolean;
|
|
788
785
|
borderBlockStartColor: boolean;
|
|
789
786
|
borderBlockEndColor: boolean;
|
|
@@ -895,7 +892,6 @@ export declare const validPseudoKeys: {
|
|
|
895
892
|
focusWithinStyle: boolean;
|
|
896
893
|
};
|
|
897
894
|
export declare const validStyles: {
|
|
898
|
-
elevationAndroid?: boolean | undefined;
|
|
899
895
|
transition?: boolean | undefined;
|
|
900
896
|
textWrap?: boolean | undefined;
|
|
901
897
|
backdropFilter?: boolean | undefined;
|
|
@@ -904,7 +900,6 @@ export declare const validStyles: {
|
|
|
904
900
|
backgroundAttachment?: boolean | undefined;
|
|
905
901
|
backgroundBlendMode?: boolean | undefined;
|
|
906
902
|
backgroundClip?: boolean | undefined;
|
|
907
|
-
backgroundColor: boolean;
|
|
908
903
|
backgroundImage?: boolean | undefined;
|
|
909
904
|
backgroundOrigin?: boolean | undefined;
|
|
910
905
|
backgroundPosition?: boolean | undefined;
|
|
@@ -915,6 +910,7 @@ export declare const validStyles: {
|
|
|
915
910
|
borderLeftStyle?: boolean | undefined;
|
|
916
911
|
borderRightStyle?: boolean | undefined;
|
|
917
912
|
borderTopStyle?: boolean | undefined;
|
|
913
|
+
boxSizing?: boolean | undefined;
|
|
918
914
|
caretColor?: boolean | undefined;
|
|
919
915
|
clipPath?: boolean | undefined;
|
|
920
916
|
contain?: boolean | undefined;
|
|
@@ -939,9 +935,13 @@ export declare const validStyles: {
|
|
|
939
935
|
maskRepeat?: boolean | undefined;
|
|
940
936
|
maskSize?: boolean | undefined;
|
|
941
937
|
maskType?: boolean | undefined;
|
|
938
|
+
mixBlendMode?: boolean | undefined;
|
|
942
939
|
objectFit?: boolean | undefined;
|
|
943
940
|
objectPosition?: boolean | undefined;
|
|
944
941
|
outlineOffset?: boolean | undefined;
|
|
942
|
+
outlineStyle?: boolean | undefined;
|
|
943
|
+
outlineWidth?: boolean | undefined;
|
|
944
|
+
outlineColor?: boolean | undefined;
|
|
945
945
|
overflowBlock?: boolean | undefined;
|
|
946
946
|
overflowInline?: boolean | undefined;
|
|
947
947
|
overflowX?: boolean | undefined;
|
|
@@ -953,14 +953,10 @@ export declare const validStyles: {
|
|
|
953
953
|
transformStyle?: boolean | undefined;
|
|
954
954
|
userSelect?: boolean | undefined;
|
|
955
955
|
willChange?: boolean | undefined;
|
|
956
|
-
boxSizing?: boolean | undefined;
|
|
957
|
-
mixBlendMode?: boolean | undefined;
|
|
958
|
-
outlineColor?: boolean | undefined;
|
|
959
956
|
outlineSpread?: boolean | undefined;
|
|
960
|
-
outlineStyle?: boolean | undefined;
|
|
961
|
-
outlineWidth?: boolean | undefined;
|
|
962
957
|
boxShadow: boolean;
|
|
963
958
|
filter: boolean;
|
|
959
|
+
elevationAndroid?: boolean | undefined;
|
|
964
960
|
WebkitLineClamp: boolean;
|
|
965
961
|
animationIterationCount: boolean;
|
|
966
962
|
aspectRatio: boolean;
|
|
@@ -1032,6 +1028,7 @@ export declare const validStyles: {
|
|
|
1032
1028
|
color: boolean;
|
|
1033
1029
|
textDecorationColor: boolean;
|
|
1034
1030
|
textShadowColor: boolean;
|
|
1031
|
+
backgroundColor: boolean;
|
|
1035
1032
|
borderColor: boolean;
|
|
1036
1033
|
borderBlockStartColor: boolean;
|
|
1037
1034
|
borderBlockEndColor: boolean;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"validStyleProps.d.ts","sourceRoot":"","sources":["../src/validStyleProps.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"validStyleProps.d.ts","sourceRoot":"","sources":["../src/validStyleProps.ts"],"names":[],"mappings":"AAaA,eAAO,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAqD3B,CAAA;AAED,eAAO,MAAM,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAsC9B,CAAA;AAED,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;CAc/B,CAAA;AAED,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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