Skip to content

Commit

Permalink
Bump MDN
Browse files Browse the repository at this point in the history
  • Loading branch information
frenic committed Apr 24, 2018
1 parent 490a35d commit fae90f3
Show file tree
Hide file tree
Showing 5 changed files with 25 additions and 51 deletions.
14 changes: 9 additions & 5 deletions index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -476,6 +476,7 @@ export interface VendorLonghandProperties<TLength = string | 0> {
WebkitAnimationName?: AnimationNameProperty;
WebkitAnimationPlayState?: AnimationPlayStateProperty;
WebkitAnimationTimingFunction?: AnimationTimingFunctionProperty;
WebkitAppearance?: AppearanceProperty;
WebkitBackdropFilter?: BackdropFilterProperty;
WebkitBackfaceVisibility?: BackfaceVisibilityProperty;
WebkitBackgroundSize?: BackgroundSizeProperty<TLength>;
Expand Down Expand Up @@ -1262,6 +1263,7 @@ export interface VendorLonghandPropertiesHyphen<TLength = string | 0> {
"-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<TLength>;
Expand Down Expand Up @@ -2052,6 +2054,7 @@ export interface VendorLonghandPropertiesFallback<TLength = string | 0> {
WebkitAnimationName?: AnimationNameProperty | AnimationNameProperty[];
WebkitAnimationPlayState?: AnimationPlayStateProperty | AnimationPlayStateProperty[];
WebkitAnimationTimingFunction?: AnimationTimingFunctionProperty | AnimationTimingFunctionProperty[];
WebkitAppearance?: AppearanceProperty | AppearanceProperty[];
WebkitBackdropFilter?: BackdropFilterProperty | BackdropFilterProperty[];
WebkitBackfaceVisibility?: BackfaceVisibilityProperty | BackfaceVisibilityProperty[];
WebkitBackgroundSize?: BackgroundSizeProperty<TLength> | BackgroundSizeProperty<TLength>[];
Expand Down Expand Up @@ -2844,6 +2847,7 @@ export interface VendorLonghandPropertiesHyphenFallback<TLength = string | 0> {
"-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<TLength> | BackgroundSizeProperty<TLength>[];
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -4092,15 +4096,15 @@ type OutlineStyleProperty = Globals | BrStyle | "auto";

type OutlineWidthProperty<TLength> = Globals | BrWidth<TLength>;

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";

Expand Down Expand Up @@ -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<TLength> = Globals | TLength | "baseline" | "bottom" | "middle" | "sub" | "super" | "text-bottom" | "text-top" | "top" | string;

Expand Down
14 changes: 9 additions & 5 deletions index.js.flow
Original file line number Diff line number Diff line change
Expand Up @@ -477,6 +477,7 @@ export type VendorLonghandProperties<TLength = string | 0> = {
WebkitAnimationName?: AnimationNameProperty,
WebkitAnimationPlayState?: AnimationPlayStateProperty,
WebkitAnimationTimingFunction?: AnimationTimingFunctionProperty,
WebkitAppearance?: AppearanceProperty,
WebkitBackdropFilter?: BackdropFilterProperty,
WebkitBackfaceVisibility?: BackfaceVisibilityProperty,
WebkitBackgroundSize?: BackgroundSizeProperty<TLength>,
Expand Down Expand Up @@ -1200,6 +1201,7 @@ export type VendorLonghandPropertiesHyphen<TLength = string | 0> = {
"-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<TLength>,
Expand Down Expand Up @@ -1926,6 +1928,7 @@ export type VendorLonghandPropertiesFallback<TLength = string | 0> = {
WebkitAnimationName?: AnimationNameProperty | AnimationNameProperty[],
WebkitAnimationPlayState?: AnimationPlayStateProperty | AnimationPlayStateProperty[],
WebkitAnimationTimingFunction?: AnimationTimingFunctionProperty | AnimationTimingFunctionProperty[],
WebkitAppearance?: AppearanceProperty | AppearanceProperty[],
WebkitBackdropFilter?: BackdropFilterProperty | BackdropFilterProperty[],
WebkitBackfaceVisibility?: BackfaceVisibilityProperty | BackfaceVisibilityProperty[],
WebkitBackgroundSize?: BackgroundSizeProperty<TLength> | BackgroundSizeProperty<TLength>[],
Expand Down Expand Up @@ -2652,6 +2655,7 @@ export type VendorLonghandPropertiesHyphenFallback<TLength = string | 0> = {
"-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<TLength> | BackgroundSizeProperty<TLength>[],
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -3836,15 +3840,15 @@ type OutlineStyleProperty = Globals | BrStyle | "auto";

type OutlineWidthProperty<TLength> = Globals | BrWidth<TLength>;

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";

Expand Down Expand Up @@ -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<TLength> = Globals | TLength | "baseline" | "bottom" | "middle" | "sub" | "super" | "text-bottom" | "text-top" | "top" | string;

Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
34 changes: 0 additions & 34 deletions src/data/patches.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,46 +11,12 @@ export const properties: { [property: string]: IExtendedProperty } = {
syntax: 'none | <integer>',
shorthand: true,
},
/**
* https://drafts.csswg.org/css-overflow-3/#block-ellipsis
* https://github.com/mdn/data/pull/207
*/
'block-overflow': {
syntax: 'clip | ellipsis | <string>',
shorthand: false,
},
/**
* https://drafts.csswg.org/css-overflow-3/#line-clamp
* https://github.com/mdn/data/pull/207
*/
'line-clamp': {
syntax: 'none | <integer>',
shorthand: true,
},
/**
* https://drafts.csswg.org/css-overflow-3/#max-lines
* https://github.com/mdn/data/pull/207
*/
'max-lines': {
syntax: 'none | <integer>',
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 } = {
Expand Down
10 changes: 5 additions & 5 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit fae90f3

Please sign in to comment.