diff --git a/index.d.ts b/index.d.ts index 443d161..33ae087 100644 --- a/index.d.ts +++ b/index.d.ts @@ -476,6 +476,7 @@ export interface VendorLonghandProperties { WebkitAnimationName?: AnimationNameProperty; WebkitAnimationPlayState?: AnimationPlayStateProperty; WebkitAnimationTimingFunction?: AnimationTimingFunctionProperty; + WebkitAppearance?: AppearanceProperty; WebkitBackdropFilter?: BackdropFilterProperty; WebkitBackfaceVisibility?: BackfaceVisibilityProperty; WebkitBackgroundSize?: BackgroundSizeProperty; @@ -1262,6 +1263,7 @@ export interface VendorLonghandPropertiesHyphen { "-webkit-animation-name"?: AnimationNameProperty; "-webkit-animation-play-state"?: AnimationPlayStateProperty; "-webkit-animation-timing-function"?: AnimationTimingFunctionProperty; + "-webkit-appearance"?: AppearanceProperty; "-webkit-backdrop-filter"?: BackdropFilterProperty; "-webkit-backface-visibility"?: BackfaceVisibilityProperty; "-webkit-background-size"?: BackgroundSizeProperty; @@ -2052,6 +2054,7 @@ export interface VendorLonghandPropertiesFallback { WebkitAnimationName?: AnimationNameProperty | AnimationNameProperty[]; WebkitAnimationPlayState?: AnimationPlayStateProperty | AnimationPlayStateProperty[]; WebkitAnimationTimingFunction?: AnimationTimingFunctionProperty | AnimationTimingFunctionProperty[]; + WebkitAppearance?: AppearanceProperty | AppearanceProperty[]; WebkitBackdropFilter?: BackdropFilterProperty | BackdropFilterProperty[]; WebkitBackfaceVisibility?: BackfaceVisibilityProperty | BackfaceVisibilityProperty[]; WebkitBackgroundSize?: BackgroundSizeProperty | BackgroundSizeProperty[]; @@ -2844,6 +2847,7 @@ export interface VendorLonghandPropertiesHyphenFallback { "-webkit-animation-name"?: AnimationNameProperty | AnimationNameProperty[]; "-webkit-animation-play-state"?: AnimationPlayStateProperty | AnimationPlayStateProperty[]; "-webkit-animation-timing-function"?: AnimationTimingFunctionProperty | AnimationTimingFunctionProperty[]; + "-webkit-appearance"?: AppearanceProperty | AppearanceProperty[]; "-webkit-backdrop-filter"?: BackdropFilterProperty | BackdropFilterProperty[]; "-webkit-backface-visibility"?: BackfaceVisibilityProperty | BackfaceVisibilityProperty[]; "-webkit-background-size"?: BackgroundSizeProperty | BackgroundSizeProperty[]; @@ -3522,7 +3526,7 @@ type AnimationPlayStateProperty = Globals | "paused" | "running" | string; type AnimationTimingFunctionProperty = Globals | SingleTimingFunction | string; -type AppearanceProperty = Globals | "auto" | "none"; +type AppearanceProperty = Globals | "none"; type AzimuthProperty = | Globals @@ -4092,15 +4096,15 @@ type OutlineStyleProperty = Globals | BrStyle | "auto"; type OutlineWidthProperty = Globals | BrWidth; -type OverflowProperty = Globals | "auto" | "clip" | "hidden" | "scroll" | "visible"; +type OverflowProperty = Globals | "auto" | "clip" | "hidden" | "scroll" | "visible" | string; type OverflowAnchorProperty = Globals | "auto" | "none"; -type OverflowBlockProperty = Globals | "auto" | "clip" | "hidden" | "scroll" | "visible"; +type OverflowBlockProperty = Globals | "auto" | "clip" | "hidden" | "scroll" | "visible" | string; type OverflowClipBoxProperty = Globals | "content-box" | "padding-box"; -type OverflowInlineProperty = Globals | "auto" | "clip" | "hidden" | "scroll" | "visible"; +type OverflowInlineProperty = Globals | "auto" | "clip" | "hidden" | "scroll" | "visible" | string; type OverflowWrapProperty = Globals | "break-word" | "normal"; @@ -4281,7 +4285,7 @@ type UnicodeBidiProperty = | "normal" | "plaintext"; -type UserSelectProperty = Globals | "-webkit-contain" | "all" | "auto" | "contain" | "element" | "none" | "text"; +type UserSelectProperty = Globals | "-moz-none" | "all" | "auto" | "contain" | "element" | "none" | "text"; type VerticalAlignProperty = Globals | TLength | "baseline" | "bottom" | "middle" | "sub" | "super" | "text-bottom" | "text-top" | "top" | string; diff --git a/index.js.flow b/index.js.flow index 4285a24..898225b 100644 --- a/index.js.flow +++ b/index.js.flow @@ -477,6 +477,7 @@ export type VendorLonghandProperties = { WebkitAnimationName?: AnimationNameProperty, WebkitAnimationPlayState?: AnimationPlayStateProperty, WebkitAnimationTimingFunction?: AnimationTimingFunctionProperty, + WebkitAppearance?: AppearanceProperty, WebkitBackdropFilter?: BackdropFilterProperty, WebkitBackfaceVisibility?: BackfaceVisibilityProperty, WebkitBackgroundSize?: BackgroundSizeProperty, @@ -1200,6 +1201,7 @@ export type VendorLonghandPropertiesHyphen = { "-webkit-animation-name"?: AnimationNameProperty, "-webkit-animation-play-state"?: AnimationPlayStateProperty, "-webkit-animation-timing-function"?: AnimationTimingFunctionProperty, + "-webkit-appearance"?: AppearanceProperty, "-webkit-backdrop-filter"?: BackdropFilterProperty, "-webkit-backface-visibility"?: BackfaceVisibilityProperty, "-webkit-background-size"?: BackgroundSizeProperty, @@ -1926,6 +1928,7 @@ export type VendorLonghandPropertiesFallback = { WebkitAnimationName?: AnimationNameProperty | AnimationNameProperty[], WebkitAnimationPlayState?: AnimationPlayStateProperty | AnimationPlayStateProperty[], WebkitAnimationTimingFunction?: AnimationTimingFunctionProperty | AnimationTimingFunctionProperty[], + WebkitAppearance?: AppearanceProperty | AppearanceProperty[], WebkitBackdropFilter?: BackdropFilterProperty | BackdropFilterProperty[], WebkitBackfaceVisibility?: BackfaceVisibilityProperty | BackfaceVisibilityProperty[], WebkitBackgroundSize?: BackgroundSizeProperty | BackgroundSizeProperty[], @@ -2652,6 +2655,7 @@ export type VendorLonghandPropertiesHyphenFallback = { "-webkit-animation-name"?: AnimationNameProperty | AnimationNameProperty[], "-webkit-animation-play-state"?: AnimationPlayStateProperty | AnimationPlayStateProperty[], "-webkit-animation-timing-function"?: AnimationTimingFunctionProperty | AnimationTimingFunctionProperty[], + "-webkit-appearance"?: AppearanceProperty | AppearanceProperty[], "-webkit-backdrop-filter"?: BackdropFilterProperty | BackdropFilterProperty[], "-webkit-backface-visibility"?: BackfaceVisibilityProperty | BackfaceVisibilityProperty[], "-webkit-background-size"?: BackgroundSizeProperty | BackgroundSizeProperty[], @@ -3266,7 +3270,7 @@ type AnimationPlayStateProperty = Globals | "paused" | "running" | string; type AnimationTimingFunctionProperty = Globals | SingleTimingFunction | string; -type AppearanceProperty = Globals | "auto" | "none"; +type AppearanceProperty = Globals | "none"; type AzimuthProperty = | Globals @@ -3836,15 +3840,15 @@ type OutlineStyleProperty = Globals | BrStyle | "auto"; type OutlineWidthProperty = Globals | BrWidth; -type OverflowProperty = Globals | "auto" | "clip" | "hidden" | "scroll" | "visible"; +type OverflowProperty = Globals | "auto" | "clip" | "hidden" | "scroll" | "visible" | string; type OverflowAnchorProperty = Globals | "auto" | "none"; -type OverflowBlockProperty = Globals | "auto" | "clip" | "hidden" | "scroll" | "visible"; +type OverflowBlockProperty = Globals | "auto" | "clip" | "hidden" | "scroll" | "visible" | string; type OverflowClipBoxProperty = Globals | "content-box" | "padding-box"; -type OverflowInlineProperty = Globals | "auto" | "clip" | "hidden" | "scroll" | "visible"; +type OverflowInlineProperty = Globals | "auto" | "clip" | "hidden" | "scroll" | "visible" | string; type OverflowWrapProperty = Globals | "break-word" | "normal"; @@ -4025,7 +4029,7 @@ type UnicodeBidiProperty = | "normal" | "plaintext"; -type UserSelectProperty = Globals | "-webkit-contain" | "all" | "auto" | "contain" | "element" | "none" | "text"; +type UserSelectProperty = Globals | "-moz-none" | "all" | "auto" | "contain" | "element" | "none" | "text"; type VerticalAlignProperty = Globals | TLength | "baseline" | "bottom" | "middle" | "sub" | "super" | "text-bottom" | "text-top" | "top" | string; diff --git a/package.json b/package.json index 5c7f114..3064fd2 100644 --- a/package.json +++ b/package.json @@ -16,8 +16,8 @@ "chokidar": "^2.0.0", "flow-bin": "^0.69.0", "jest": "^22.2.1", - "mdn-browser-compat-data": "git+https://github.com/mdn/browser-compat-data.git#3ab7b502352239d2131571d7463e098d2317532d", - "mdn-data": "git+https://github.com/mdn/data.git#c5fc95e780d14f4f949e9f26675bb6f0ae376ea0", + "mdn-browser-compat-data": "git+https://github.com/mdn/browser-compat-data.git#bdff84a8265089c04a56e702c4a6287cea734b53", + "mdn-data": "git+https://github.com/mdn/data.git#aac67bea6ebf68e752a71ef0aca20ff838168101", "prettier": "^1.10.2", "ts-node": "^5.0.1", "tslint": "^5.9.1", diff --git a/src/data/patches.ts b/src/data/patches.ts index 6fe3c25..946cff1 100644 --- a/src/data/patches.ts +++ b/src/data/patches.ts @@ -11,46 +11,12 @@ export const properties: { [property: string]: IExtendedProperty } = { syntax: 'none | ', shorthand: true, }, - /** - * https://drafts.csswg.org/css-overflow-3/#block-ellipsis - * https://github.com/mdn/data/pull/207 - */ - 'block-overflow': { - syntax: 'clip | ellipsis | ', - shorthand: false, - }, /** * https://drafts.csswg.org/css-overflow-3/#line-clamp - * https://github.com/mdn/data/pull/207 */ 'line-clamp': { - syntax: 'none | ', shorthand: true, }, - /** - * https://drafts.csswg.org/css-overflow-3/#max-lines - * https://github.com/mdn/data/pull/207 - */ - 'max-lines': { - syntax: 'none | ', - shorthand: false, - }, - /** - * https://drafts.csswg.org/css-overflow-3/#logical - * https://github.com/mdn/data/pull/207 - */ - 'overflow-block': { - syntax: "<'overflow'>", - shorthand: false, - }, - /** - * https://drafts.csswg.org/css-overflow-3/#logical - * https://github.com/mdn/data/pull/207 - */ - 'overflow-inline': { - syntax: "<'overflow'>", - shorthand: false, - }, }; export const syntaxes: { [property: string]: MDN.Syntax } = { diff --git a/yarn.lock b/yarn.lock index 3fe53d0..bef0f35 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2083,15 +2083,15 @@ map-visit@^1.0.0: dependencies: object-visit "^1.0.0" -"mdn-browser-compat-data@git+https://github.com/mdn/browser-compat-data.git#3ab7b502352239d2131571d7463e098d2317532d": - version "0.0.31" - resolved "git+https://github.com/mdn/browser-compat-data.git#3ab7b502352239d2131571d7463e098d2317532d" +"mdn-browser-compat-data@git+https://github.com/mdn/browser-compat-data.git#bdff84a8265089c04a56e702c4a6287cea734b53": + version "0.0.32" + resolved "git+https://github.com/mdn/browser-compat-data.git#bdff84a8265089c04a56e702c4a6287cea734b53" dependencies: extend "3.0.1" -"mdn-data@git+https://github.com/mdn/data.git#c5fc95e780d14f4f949e9f26675bb6f0ae376ea0": +"mdn-data@git+https://github.com/mdn/data.git#aac67bea6ebf68e752a71ef0aca20ff838168101": version "1.1.1" - resolved "git+https://github.com/mdn/data.git#c5fc95e780d14f4f949e9f26675bb6f0ae376ea0" + resolved "git+https://github.com/mdn/data.git#aac67bea6ebf68e752a71ef0aca20ff838168101" mem@^1.1.0: version "1.1.0"