Skip to content

Commit

Permalink
Bump MDN
Browse files Browse the repository at this point in the history
  • Loading branch information
frenic committed Jan 8, 2021
1 parent b35df8b commit d8b14f7
Show file tree
Hide file tree
Showing 5 changed files with 55 additions and 20 deletions.
49 changes: 39 additions & 10 deletions index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -682,7 +682,7 @@ export interface StandardLonghandProperties<TLength = (string & {}) | 0, TTime =
*
* | Chrome | Firefox | Safari | Edge | IE |
* | :----: | :-----: | :----: | :--: | :-: |
* | No | **66** | No | No | No |
* | **89** | **66** | No | No | No |
*
* @see https://developer.mozilla.org/docs/Web/CSS/border-end-end-radius
*/
Expand All @@ -696,7 +696,7 @@ export interface StandardLonghandProperties<TLength = (string & {}) | 0, TTime =
*
* | Chrome | Firefox | Safari | Edge | IE |
* | :----: | :-----: | :----: | :--: | :-: |
* | No | **66** | No | No | No |
* | **89** | **66** | No | No | No |
*
* @see https://developer.mozilla.org/docs/Web/CSS/border-end-start-radius
*/
Expand Down Expand Up @@ -1009,7 +1009,7 @@ export interface StandardLonghandProperties<TLength = (string & {}) | 0, TTime =
*
* | Chrome | Firefox | Safari | Edge | IE |
* | :----: | :-----: | :----: | :--: | :-: |
* | No | **66** | No | No | No |
* | **89** | **66** | No | No | No |
*
* @see https://developer.mozilla.org/docs/Web/CSS/border-start-end-radius
*/
Expand All @@ -1023,7 +1023,7 @@ export interface StandardLonghandProperties<TLength = (string & {}) | 0, TTime =
*
* | Chrome | Firefox | Safari | Edge | IE |
* | :----: | :-----: | :----: | :--: | :-: |
* | No | **66** | No | No | No |
* | **89** | **66** | No | No | No |
*
* @see https://developer.mozilla.org/docs/Web/CSS/border-start-start-radius
*/
Expand Down Expand Up @@ -1984,6 +1984,20 @@ export interface StandardLonghandProperties<TLength = (string & {}) | 0, TTime =
* @see https://developer.mozilla.org/docs/Web/CSS/font-weight
*/
fontWeight?: Property.FontWeight;
/**
* The **`forced-color-adjust`** CSS property allows authors to opt certain elements out of forced colors mode. This then restores the control of those values to CSS.
*
* **Syntax**: `auto | none`
*
* **Initial value**: `auto`
*
* | Chrome | Firefox | Safari | Edge | IE |
* | :----: | :-----: | :----: | :---------------------------------: | :---------------------------------: |
* | n/a | No | No | **79** _(-ms-high-contrast-adjust)_ | **10** _(-ms-high-contrast-adjust)_ |
*
* @see https://developer.mozilla.org/docs/Web/CSS/forced-color-adjust
*/
forcedColorAdjust?: Property.ForcedColorAdjust;
/**
* The **`grid-auto-columns`** CSS property specifies the size of an implicitly-created grid column track or pattern of tracks.
*
Expand Down Expand Up @@ -9383,7 +9397,7 @@ export interface StandardLonghandPropertiesHyphen<TLength = (string & {}) | 0, T
*
* | Chrome | Firefox | Safari | Edge | IE |
* | :----: | :-----: | :----: | :--: | :-: |
* | No | **66** | No | No | No |
* | **89** | **66** | No | No | No |
*
* @see https://developer.mozilla.org/docs/Web/CSS/border-end-end-radius
*/
Expand All @@ -9397,7 +9411,7 @@ export interface StandardLonghandPropertiesHyphen<TLength = (string & {}) | 0, T
*
* | Chrome | Firefox | Safari | Edge | IE |
* | :----: | :-----: | :----: | :--: | :-: |
* | No | **66** | No | No | No |
* | **89** | **66** | No | No | No |
*
* @see https://developer.mozilla.org/docs/Web/CSS/border-end-start-radius
*/
Expand Down Expand Up @@ -9710,7 +9724,7 @@ export interface StandardLonghandPropertiesHyphen<TLength = (string & {}) | 0, T
*
* | Chrome | Firefox | Safari | Edge | IE |
* | :----: | :-----: | :----: | :--: | :-: |
* | No | **66** | No | No | No |
* | **89** | **66** | No | No | No |
*
* @see https://developer.mozilla.org/docs/Web/CSS/border-start-end-radius
*/
Expand All @@ -9724,7 +9738,7 @@ export interface StandardLonghandPropertiesHyphen<TLength = (string & {}) | 0, T
*
* | Chrome | Firefox | Safari | Edge | IE |
* | :----: | :-----: | :----: | :--: | :-: |
* | No | **66** | No | No | No |
* | **89** | **66** | No | No | No |
*
* @see https://developer.mozilla.org/docs/Web/CSS/border-start-start-radius
*/
Expand Down Expand Up @@ -10685,6 +10699,20 @@ export interface StandardLonghandPropertiesHyphen<TLength = (string & {}) | 0, T
* @see https://developer.mozilla.org/docs/Web/CSS/font-weight
*/
"font-weight"?: Property.FontWeight;
/**
* The **`forced-color-adjust`** CSS property allows authors to opt certain elements out of forced colors mode. This then restores the control of those values to CSS.
*
* **Syntax**: `auto | none`
*
* **Initial value**: `auto`
*
* | Chrome | Firefox | Safari | Edge | IE |
* | :----: | :-----: | :----: | :---------------------------------: | :---------------------------------: |
* | n/a | No | No | **79** _(-ms-high-contrast-adjust)_ | **10** _(-ms-high-contrast-adjust)_ |
*
* @see https://developer.mozilla.org/docs/Web/CSS/forced-color-adjust
*/
"forced-color-adjust"?: Property.ForcedColorAdjust;
/**
* The **`grid-auto-columns`** CSS property specifies the size of an implicitly-created grid column track or pattern of tracks.
*
Expand Down Expand Up @@ -17615,6 +17643,7 @@ export type SimplePseudos =
| ":out-of-range"
| ":past"
| ":paused"
| ":picture-in-picture"
| ":placeholder-shown"
| ":read-only"
| ":read-write"
Expand All @@ -17631,7 +17660,6 @@ export type SimplePseudos =
export type Pseudos = AdvancedPseudos | SimplePseudos;

export type HtmlAttributes =
| "[-webkit-dropzone]"
| "[abbr]"
| "[accept-charset]"
| "[accept]"
Expand Down Expand Up @@ -17695,7 +17723,6 @@ export type HtmlAttributes =
| "[disabled]"
| "[download]"
| "[draggable]"
| "[dropzone]"
| "[enctype]"
| "[enterkeyhint]"
| "[exportparts]"
Expand Down Expand Up @@ -18596,6 +18623,8 @@ export namespace Property {

export type FontWeight = Globals | DataType.FontWeightAbsolute | "bolder" | "lighter";

export type ForcedColorAdjust = Globals | "auto" | "none";

export type Gap<TLength = (string & {}) | 0> = Globals | TLength | "normal" | (string & {});

export type Grid = Globals | "none" | (string & {});
Expand Down
9 changes: 7 additions & 2 deletions index.js.flow
Original file line number Diff line number Diff line change
Expand Up @@ -132,6 +132,7 @@ export type StandardLonghandProperties<TLength = string | 0, TTime = string> = {
fontVariantPosition?: Property$FontVariantPosition,
fontVariationSettings?: Property$FontVariationSettings,
fontWeight?: Property$FontWeight,
forcedColorAdjust?: Property$ForcedColorAdjust,
gridAutoColumns?: Property$GridAutoColumns<TLength>,
gridAutoFlow?: Property$GridAutoFlow,
gridAutoRows?: Property$GridAutoRows<TLength>,
Expand Down Expand Up @@ -967,6 +968,7 @@ export type StandardLonghandPropertiesHyphen<TLength = string | 0, TTime = strin
"font-variant-position"?: Property$FontVariantPosition,
"font-variation-settings"?: Property$FontVariationSettings,
"font-weight"?: Property$FontWeight,
"forced-color-adjust"?: Property$ForcedColorAdjust,
"grid-auto-columns"?: Property$GridAutoColumns<TLength>,
"grid-auto-flow"?: Property$GridAutoFlow,
"grid-auto-rows"?: Property$GridAutoRows<TLength>,
Expand Down Expand Up @@ -1808,6 +1810,7 @@ export type StandardLonghandPropertiesFallback<TLength = string | 0, TTime = str
fontVariantPosition?: Property$FontVariantPosition | Array<Property$FontVariantPosition>,
fontVariationSettings?: Property$FontVariationSettings | Array<Property$FontVariationSettings>,
fontWeight?: Property$FontWeight | Array<Property$FontWeight>,
forcedColorAdjust?: Property$ForcedColorAdjust | Array<Property$ForcedColorAdjust>,
gridAutoColumns?: Property$GridAutoColumns<TLength> | Array<Property$GridAutoColumns<TLength>>,
gridAutoFlow?: Property$GridAutoFlow | Array<Property$GridAutoFlow>,
gridAutoRows?: Property$GridAutoRows<TLength> | Array<Property$GridAutoRows<TLength>>,
Expand Down Expand Up @@ -2649,6 +2652,7 @@ export type StandardLonghandPropertiesHyphenFallback<TLength = string | 0, TTime
"font-variant-position"?: Property$FontVariantPosition | Array<Property$FontVariantPosition>,
"font-variation-settings"?: Property$FontVariationSettings | Array<Property$FontVariationSettings>,
"font-weight"?: Property$FontWeight | Array<Property$FontWeight>,
"forced-color-adjust"?: Property$ForcedColorAdjust | Array<Property$ForcedColorAdjust>,
"grid-auto-columns"?: Property$GridAutoColumns<TLength> | Array<Property$GridAutoColumns<TLength>>,
"grid-auto-flow"?: Property$GridAutoFlow | Array<Property$GridAutoFlow>,
"grid-auto-rows"?: Property$GridAutoRows<TLength> | Array<Property$GridAutoRows<TLength>>,
Expand Down Expand Up @@ -3487,6 +3491,7 @@ export type SimplePseudos =
| ":out-of-range"
| ":past"
| ":paused"
| ":picture-in-picture"
| ":placeholder-shown"
| ":read-only"
| ":read-write"
Expand All @@ -3503,7 +3508,6 @@ export type SimplePseudos =
export type Pseudos = AdvancedPseudos | SimplePseudos;

export type HtmlAttributes =
| "[-webkit-dropzone]"
| "[abbr]"
| "[accept-charset]"
| "[accept]"
Expand Down Expand Up @@ -3567,7 +3571,6 @@ export type HtmlAttributes =
| "[disabled]"
| "[download]"
| "[draggable]"
| "[dropzone]"
| "[enctype]"
| "[enterkeyhint]"
| "[exportparts]"
Expand Down Expand Up @@ -4467,6 +4470,8 @@ export type Property$FontVariationSettings = Globals | "normal" | string;

export type Property$FontWeight = Globals | DataType$FontWeightAbsolute | "bolder" | "lighter";

export type Property$ForcedColorAdjust = Globals | "auto" | "none";

export type Property$Gap<TLength = string | 0> = Globals | TLength | "normal" | string;

export type Property$Grid = Globals | "none" | string;
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@
"flow-bin": "^0.142.0",
"jest": "^26.6.3",
"jsdom": "^16.4.0",
"mdn-browser-compat-data": "git+https://github.com/mdn/browser-compat-data.git#1045a95a90a62a29cf974412d4ca0c7cbfa647cd",
"mdn-data": "git+https://github.com/mdn/data.git#9ea9ae4b3d3375f7a79970ef9042466da2b2cf2c",
"mdn-browser-compat-data": "git+https://github.com/mdn/browser-compat-data.git#50a17da8e7568cdd6f78eace6f9250c1a7211810",
"mdn-data": "git+https://github.com/mdn/data.git#75f9f8f97d0ed35665885478828276b824f9baa0",
"prettier": "^2.2.1",
"request": "^2.88.2",
"ts-jest": "^26.4.4",
Expand Down
1 change: 1 addition & 0 deletions src/data/urls.json
Original file line number Diff line number Diff line change
Expand Up @@ -251,6 +251,7 @@
"https://developer.mozilla.org/docs/Web/CSS/font-variant-position": "The **`font-variant-position`** CSS property controls the use of alternate, smaller glyphs that are positioned as superscript or subscript.",
"https://developer.mozilla.org/docs/Web/CSS/font-variation-settings": "The **`font-variation-settings`** CSS property provides low-level control over variable font characteristics, by specifying the four letter axis names of the characteristics you want to vary, along with their values.",
"https://developer.mozilla.org/docs/Web/CSS/font-weight": "The **`font-weight`** CSS property sets the weight (or boldness) of the font. The weights available depend on the `font-family` that is currently set.",
"https://developer.mozilla.org/docs/Web/CSS/forced-color-adjust": "The **`forced-color-adjust`** CSS property allows authors to opt certain elements out of forced colors mode. This then restores the control of those values to CSS.",
"https://developer.mozilla.org/docs/Web/CSS/gap": "The **`gap`** CSS property sets the gaps (gutters) between rows and columns. It is a shorthand for `row-gap` and `column-gap`.",
"https://developer.mozilla.org/docs/Web/CSS/grid": "The **`grid`** CSS property is a shorthand property that sets all of the explicit and implicit grid properties in a single declaration.",
"https://developer.mozilla.org/docs/Web/CSS/grid-area": "The **`grid-area`** CSS shorthand property specifies a grid item’s size and location within a grid by contributing a line, a span, or nothing (automatic) to its grid placement, thereby specifying the edges of its grid area.",
Expand Down
12 changes: 6 additions & 6 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -2589,15 +2589,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#1045a95a90a62a29cf974412d4ca0c7cbfa647cd":
version "3.0.0"
resolved "git+https://github.com/mdn/browser-compat-data.git#1045a95a90a62a29cf974412d4ca0c7cbfa647cd"
"mdn-browser-compat-data@git+https://github.com/mdn/browser-compat-data.git#50a17da8e7568cdd6f78eace6f9250c1a7211810":
version "3.0.2"
resolved "git+https://github.com/mdn/browser-compat-data.git#50a17da8e7568cdd6f78eace6f9250c1a7211810"
dependencies:
extend "3.0.2"

"mdn-data@git+https://github.com/mdn/data.git#9ea9ae4b3d3375f7a79970ef9042466da2b2cf2c":
version "2.0.14"
resolved "git+https://github.com/mdn/data.git#9ea9ae4b3d3375f7a79970ef9042466da2b2cf2c"
"mdn-data@git+https://github.com/mdn/data.git#75f9f8f97d0ed35665885478828276b824f9baa0":
version "2.0.15"
resolved "git+https://github.com/mdn/data.git#75f9f8f97d0ed35665885478828276b824f9baa0"

merge-stream@^2.0.0:
version "2.0.0"
Expand Down

0 comments on commit d8b14f7

Please sign in to comment.