Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
10 changed files
with
1,605 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
[ignore] | ||
|
||
[include] | ||
|
||
[libs] | ||
|
||
[lints] | ||
|
||
[options] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,317 @@ | ||
[ | ||
"alignContent", | ||
"alignItems", | ||
"alignSelf", | ||
"all", | ||
"animation", | ||
"animationDelay", | ||
"animationDirection", | ||
"animationDuration", | ||
"animationFillMode", | ||
"animationIterationCount", | ||
"animationName", | ||
"animationPlayState", | ||
"animationTimingFunction", | ||
"backfaceVisibility", | ||
"background", | ||
"backgroundAttachment", | ||
"backgroundBlendMode", | ||
"backgroundClip", | ||
"backgroundColor", | ||
"backgroundImage", | ||
"backgroundOrigin", | ||
"backgroundPosition", | ||
"backgroundRepeat", | ||
"backgroundSize", | ||
"blockSize", | ||
"border", | ||
"borderBlockEnd", | ||
"borderBlockEndColor", | ||
"borderBlockEndStyle", | ||
"borderBlockEndWidth", | ||
"borderBlockStart", | ||
"borderBlockStartColor", | ||
"borderBlockStartStyle", | ||
"borderBlockStartWidth", | ||
"borderBottom", | ||
"borderBottomColor", | ||
"borderBottomLeftRadius", | ||
"borderBottomRightRadius", | ||
"borderBottomStyle", | ||
"borderBottomWidth", | ||
"borderCollapse", | ||
"borderColor", | ||
"borderImage", | ||
"borderImageOutset", | ||
"borderImageRepeat", | ||
"borderImageSlice", | ||
"borderImageSource", | ||
"borderImageWidth", | ||
"borderInlineEnd", | ||
"borderInlineEndColor", | ||
"borderInlineEndStyle", | ||
"borderInlineEndWidth", | ||
"borderInlineStart", | ||
"borderInlineStartColor", | ||
"borderInlineStartStyle", | ||
"borderInlineStartWidth", | ||
"borderLeft", | ||
"borderLeftColor", | ||
"borderLeftStyle", | ||
"borderLeftWidth", | ||
"borderRadius", | ||
"borderRight", | ||
"borderRightColor", | ||
"borderRightStyle", | ||
"borderRightWidth", | ||
"borderSpacing", | ||
"borderStyle", | ||
"borderTop", | ||
"borderTopColor", | ||
"borderTopLeftRadius", | ||
"borderTopRightRadius", | ||
"borderTopStyle", | ||
"borderTopWidth", | ||
"borderWidth", | ||
"bottom", | ||
"boxDecorationBreak", | ||
"boxShadow", | ||
"boxSizing", | ||
"breakAfter", | ||
"breakBefore", | ||
"breakInside", | ||
"captionSide", | ||
"caretColor", | ||
"ch", | ||
"clear", | ||
"clip", | ||
"clipPath", | ||
"cm", | ||
"color", | ||
"columnCount", | ||
"columnFill", | ||
"columnGap", | ||
"columnRule", | ||
"columnRuleColor", | ||
"columnRuleStyle", | ||
"columnRuleWidth", | ||
"columnSpan", | ||
"columnWidth", | ||
"columns", | ||
"content", | ||
"counterIncrement", | ||
"counterReset", | ||
"cursor", | ||
"deg", | ||
"direction", | ||
"display", | ||
"dpcm", | ||
"dpi", | ||
"dppx", | ||
"em", | ||
"emptyCells", | ||
"ex", | ||
"filter", | ||
"flexBasis", | ||
"flexDirection", | ||
"flexFlow", | ||
"flexGrow", | ||
"flexShrink", | ||
"flexWrap", | ||
"float", | ||
"font", | ||
"fontFamily", | ||
"fontFeatureSettings", | ||
"fontKerning", | ||
"fontLanguageOverride", | ||
"fontSize", | ||
"fontSizeAdjust", | ||
"fontStretch", | ||
"fontStyle", | ||
"fontSynthesis", | ||
"fontVariant", | ||
"fontVariantAlternates", | ||
"fontVariantCaps", | ||
"fontVariantEastAsian", | ||
"fontVariantLigatures", | ||
"fontVariantNumeric", | ||
"fontVariantPosition", | ||
"fontWeight", | ||
"fr", | ||
"grad", | ||
"grid", | ||
"gridArea", | ||
"gridAutoColumns", | ||
"gridAutoFlow", | ||
"gridAutoRows", | ||
"gridColumn", | ||
"gridColumnEnd", | ||
"gridColumnGap", | ||
"gridColumnStart", | ||
"gridGap", | ||
"gridRow", | ||
"gridRowEnd", | ||
"gridRowGap", | ||
"gridRowStart", | ||
"gridTemplate", | ||
"gridTemplateAreas", | ||
"gridTemplateColumns", | ||
"gridTemplateRows", | ||
"hangingPunctuation", | ||
"height", | ||
"hyphens", | ||
"hz", | ||
"imageOrientation", | ||
"imageRendering", | ||
"imageResolution", | ||
"in", | ||
"inherit", | ||
"initial", | ||
"inlineSize", | ||
"isolation", | ||
"justifyContent", | ||
"khz", | ||
"left", | ||
"letterSpacing", | ||
"lineBreak", | ||
"lineHeight", | ||
"listStyle", | ||
"listStyleImage", | ||
"listStylePosition", | ||
"listStyleType", | ||
"margin", | ||
"marginBlockEnd", | ||
"marginBlockStart", | ||
"marginBottom", | ||
"marginInlineEnd", | ||
"marginInlineStart", | ||
"marginLeft", | ||
"marginRight", | ||
"marginTop", | ||
"mask", | ||
"maskClip", | ||
"maskComposite", | ||
"maskImage", | ||
"maskMode", | ||
"maskOrigin", | ||
"maskPosition", | ||
"maskRepeat", | ||
"maskSize", | ||
"maskType", | ||
"maxHeight", | ||
"maxWidth", | ||
"minBlockSize", | ||
"minHeight", | ||
"minInlineSize", | ||
"minWidth", | ||
"mixBlendMode", | ||
"mm", | ||
"ms", | ||
"objectFit", | ||
"objectPosition", | ||
"offsetBlockEnd", | ||
"offsetBlockStart", | ||
"offsetInlineEnd", | ||
"offsetInlineStart", | ||
"opacity", | ||
"order", | ||
"orphans", | ||
"outline", | ||
"outlineColor", | ||
"outlineOffset", | ||
"outlineStyle", | ||
"outlineWidth", | ||
"overflow", | ||
"overflowWrap", | ||
"overflowX", | ||
"overflowY", | ||
"padding", | ||
"paddingBlockEnd", | ||
"paddingBlockStart", | ||
"paddingBottom", | ||
"paddingInlineEnd", | ||
"paddingInlineStart", | ||
"paddingLeft", | ||
"paddingRight", | ||
"paddingTop", | ||
"pageBreakAfter", | ||
"pageBreakBefore", | ||
"pageBreakInside", | ||
"pc", | ||
"perspective", | ||
"perspectiveOrigin", | ||
"pointerEvents", | ||
"position", | ||
"pt", | ||
"px", | ||
"q", | ||
"quotes", | ||
"rad", | ||
"rem", | ||
"resize", | ||
"revert", | ||
"right", | ||
"rubyAlign", | ||
"rubyMerge", | ||
"rubyPosition", | ||
"s", | ||
"scrollBehavior", | ||
"scrollSnapCoordinate", | ||
"scrollSnapDestination", | ||
"scrollSnapType", | ||
"shapeImageThreshold", | ||
"shapeMargin", | ||
"shapeOutside", | ||
"tabSize", | ||
"tableLayout", | ||
"textAlign", | ||
"textAlignLast", | ||
"textCombineUpright", | ||
"textDecoration", | ||
"textDecorationColor", | ||
"textDecorationLine", | ||
"textDecorationStyle", | ||
"textEmphasis", | ||
"textEmphasisColor", | ||
"textEmphasisPosition", | ||
"textEmphasisStyle", | ||
"textIndent", | ||
"textJustify", | ||
"textOrientation", | ||
"textOverflow", | ||
"textRendering", | ||
"textShadow", | ||
"textTransform", | ||
"textUnderlinePosition", | ||
"top", | ||
"touchAction", | ||
"transform", | ||
"transformBox", | ||
"transformOrigin", | ||
"transformStyle", | ||
"transition", | ||
"transitionDelay", | ||
"transitionDuration", | ||
"transitionProperty", | ||
"transitionTimingFunction", | ||
"turn", | ||
"unicodeBidi", | ||
"unset", | ||
"verticalAlign", | ||
"vh", | ||
"visibility", | ||
"vmax", | ||
"vmin", | ||
"vw", | ||
"whiteSpace", | ||
"widows", | ||
"width", | ||
"willChange", | ||
"wordBreak", | ||
"wordSpacing", | ||
"wordWrap", | ||
"writingMode", | ||
"zIndex", | ||
"flex", | ||
"overflowScrolling" | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
const fs = require('fs'); | ||
let data; | ||
try { | ||
data = require('../data/allCamel.json'); | ||
} catch (e) { | ||
console.error(`Must run scripts/scrape.js first`); | ||
process.exit(7); | ||
} | ||
|
||
let out = ``; | ||
out += `// @flow\n`; | ||
out += `// generated by scripts/getFlow\n\n`; | ||
out += `export type Style = {\n`; | ||
data.forEach((prop) => { | ||
out += ` ${prop}?: ?string | ?number,\n`; | ||
}); | ||
|
||
out += `}\n`; | ||
|
||
fs.writeFileSync('src/Style.flow.js', out); | ||
|
||
console.log(out); | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.