mdn-data 2.0.29 → 2.0.31
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/CHANGELOG.md +16 -0
- package/README.md +32 -31
- package/css/README.md +40 -0
- package/css/at-rules.schema.json +0 -1
- package/css/functions.json +537 -0
- package/css/functions.schema.json +45 -0
- package/css/index.js +1 -0
- package/css/properties.json +399 -54
- package/css/properties.schema.json +4 -3
- package/css/syntaxes.json +15 -3
- package/l10n/css.json +9 -10
- package/package.json +1 -1
- package/css/readme.md +0 -32
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,21 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [2.0.31](https://github.com/mdn/data/compare/v2.0.30...v2.0.31) (2023-02-03)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### Bug Fixes
|
|
7
|
+
|
|
8
|
+
* scroll-timeline-axis and scroll-timeline-name are properties ([#631](https://github.com/mdn/data/issues/631)) ([7bb3805](https://github.com/mdn/data/commit/7bb3805b883fd75f79826bd5cd1582e1cc1bcc55))
|
|
9
|
+
|
|
10
|
+
## [2.0.30](https://github.com/mdn/data/compare/v2.0.29...v2.0.30) (2022-10-28)
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
### Bug Fixes
|
|
14
|
+
|
|
15
|
+
* correct mask-repeat initial value ([b36469e](https://github.com/mdn/data/commit/b36469e253ba551ba2a5a9738b814522309e5f6a))
|
|
16
|
+
* correct scroll-timeline-axis and mask-repeat initial value ([#622](https://github.com/mdn/data/issues/622)) ([e48302d](https://github.com/mdn/data/commit/e48302df0348c753db319c059cd5827b3603807d))
|
|
17
|
+
* correct scroll-timeline-axis initial value ([5144622](https://github.com/mdn/data/commit/51446221397120b25d39125bb608a2572c47b0d2))
|
|
18
|
+
|
|
3
19
|
## [2.0.29](https://github.com/mdn/data/compare/v2.0.28...v2.0.29) (2022-08-30)
|
|
4
20
|
|
|
5
21
|
|
package/README.md
CHANGED
|
@@ -1,46 +1,45 @@
|
|
|
1
|
-
# MDN data
|
|
2
|
-
|
|
3
|
-
> **Note:** We are in the process of deprecating the `mdn/data` package in favor of [`w3c/webref`](https://github.com/w3c/webref). If this could present a problem to your project, please contact us via our [GitHub discussions](https://github.com/mdn/mdn-community/discussions/categories/platform). Thank you.
|
|
4
|
-
|
|
5
|
-
[https://github.com/mdn/data](https://github.com/mdn/data)
|
|
6
|
-
|
|
7
|
-
Maintained by the [MDN team at Mozilla](https://wiki.mozilla.org/MDN).
|
|
8
|
-
|
|
9
|
-
This repository contains general data for Web technologies.
|
|
10
|
-
|
|
11
|
-
This data is used in MDN documentation, to build
|
|
12
|
-
[information boxes](https://developer.mozilla.org/en-US/docs/Web/CSS/background)
|
|
13
|
-
or [sidebar navigation](https://developer.mozilla.org/en-US/docs/Web/API/Window).
|
|
14
|
-
External tools have started to make use of this data as well.
|
|
15
|
-
For example, the [CSSTree](https://github.com/csstree/csstree/) CSS parser.
|
|
1
|
+
# Welcome to MDN data
|
|
16
2
|
|
|
3
|
+
> **Note**
|
|
4
|
+
> We are in the process of deprecating the `mdn/data` package in favor of [`w3c/webref`](https://github.com/w3c/webref).
|
|
5
|
+
> If you depend on this project, let us know in our community [GitHub discussions](https://github.com/mdn/mdn-community/discussions/categories/platform).
|
|
6
|
+
> Thank you.
|
|
17
7
|
|
|
18
8
|
[](https://www.npmjs.com/package/mdn-data)
|
|
19
9
|
[](https://github.com/mdn/data/actions/workflows/lint.yml)
|
|
20
10
|
|
|
11
|
+
This repository contains general data for Web technologies and is maintained by the [MDN team at Mozilla](https://wiki.mozilla.org/MDN).
|
|
12
|
+
|
|
21
13
|
## Repository contents
|
|
22
14
|
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
15
|
+
The data in this repository is used in MDN Web Docs to build [information boxes](https://developer.mozilla.org/en-US/docs/Web/CSS/background) and [sidebar navigation](https://developer.mozilla.org/en-US/docs/Web/API/Window).
|
|
16
|
+
External tools make use of this data as well, for example, the [CSSTree](https://github.com/csstree/csstree/) CSS parser.
|
|
17
|
+
|
|
18
|
+
There's a top-level directory for each broad area covered: for example, `api` and `css`.
|
|
19
|
+
Inside each of these directories is one or more JSON files containing the data.
|
|
26
20
|
|
|
27
21
|
### api
|
|
22
|
+
|
|
28
23
|
Contains data about Web APIs:
|
|
29
|
-
|
|
24
|
+
|
|
25
|
+
- API inheritance (interface inheritance and mixin implementations)
|
|
30
26
|
|
|
31
27
|
### css
|
|
32
|
-
Contains data about:
|
|
33
|
-
* CSS at-rules
|
|
34
|
-
* CSS properties
|
|
35
|
-
* CSS selectors
|
|
36
|
-
* CSS syntaxes
|
|
37
|
-
* CSS types
|
|
38
|
-
* CSS units
|
|
39
28
|
|
|
40
|
-
|
|
29
|
+
Contains data about:
|
|
41
30
|
|
|
31
|
+
- CSS at-rules
|
|
32
|
+
- CSS functions
|
|
33
|
+
- CSS properties
|
|
34
|
+
- CSS selectors
|
|
35
|
+
- CSS syntaxes
|
|
36
|
+
- CSS types
|
|
37
|
+
- CSS units
|
|
38
|
+
|
|
39
|
+
For more information, see the [CSS data](./css/README.md) documentation and the [Updating CSS JSON DB](./docs/updating_css_json.md) guide.
|
|
42
40
|
|
|
43
41
|
### l10n
|
|
42
|
+
|
|
44
43
|
The l10n folder contains localization strings that are used in the various
|
|
45
44
|
json files throughout this repository.
|
|
46
45
|
|
|
@@ -50,9 +49,11 @@ If you find a problem, please [file an issue](https://github.com/mdn/data/issues
|
|
|
50
49
|
|
|
51
50
|
## Contributing
|
|
52
51
|
|
|
53
|
-
We're very happy to accept contributions to this data.
|
|
54
|
-
with the schema for the data you're editing, and send us a pull request.
|
|
52
|
+
We're very happy to accept contributions to this data.
|
|
53
|
+
Please familiarize yourself with the schema for the data you're editing, and send us a pull request.
|
|
54
|
+
See the [CONTRIBUTING.md](./CONTRIBUTING.md) document for more information.
|
|
55
55
|
|
|
56
56
|
## See also
|
|
57
|
-
|
|
58
|
-
|
|
57
|
+
|
|
58
|
+
- [https://github.com/mdn/browser-compat-data](https://github.com/mdn/browser-compat-data)
|
|
59
|
+
for compatibility data for Web technologies
|
package/css/README.md
ADDED
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
# MDN CSS data
|
|
2
|
+
|
|
3
|
+
This folder contains data about the different features of the [CSS](https://developer.mozilla.org/en-US/docs/Web/CSS) language.
|
|
4
|
+
|
|
5
|
+
## How to update the CSS JSON DB
|
|
6
|
+
|
|
7
|
+
A guide to making changes is provided in the [How to update the CSS JSON DB](../docs/updating_css_json.md) document.
|
|
8
|
+
|
|
9
|
+
## Different types of CSS data
|
|
10
|
+
|
|
11
|
+
The CSS data is split into these parts:
|
|
12
|
+
|
|
13
|
+
- **at-rules**:
|
|
14
|
+
[data](https://github.com/mdn/data/blob/main/css/at-rules.json) |
|
|
15
|
+
[schema](https://github.com/mdn/data/blob/main/css/at-rules.schema.json) |
|
|
16
|
+
[docs](https://github.com/mdn/data/blob/main/css/at-rules.md)
|
|
17
|
+
- **functions**:
|
|
18
|
+
[data](https://github.com/mdn/data/blob/main/css/functions.json) |
|
|
19
|
+
[schema](https://github.com/mdn/data/blob/main/css/functions.schema.json) |
|
|
20
|
+
[docs](https://github.com/mdn/data/blob/main/css/functions.md)
|
|
21
|
+
- **properties**:
|
|
22
|
+
[data](https://github.com/mdn/data/blob/main/css/properties.json) |
|
|
23
|
+
[schema](https://github.com/mdn/data/blob/main/css/properties.schema.json) |
|
|
24
|
+
[docs](https://github.com/mdn/data/blob/main/css/properties.md)
|
|
25
|
+
- **selectors**:
|
|
26
|
+
[data](https://github.com/mdn/data/blob/main/css/selectors.json) |
|
|
27
|
+
[schema](https://github.com/mdn/data/blob/main/css/selectors.schema.json) |
|
|
28
|
+
[docs](https://github.com/mdn/data/blob/main/css/selectors.md)
|
|
29
|
+
- **syntaxes**:
|
|
30
|
+
[data](https://github.com/mdn/data/blob/main/css/syntaxes.json) |
|
|
31
|
+
[schema](https://github.com/mdn/data/blob/main/css/syntaxes.schema.json) |
|
|
32
|
+
[docs](https://github.com/mdn/data/blob/main/css/syntaxes.md)
|
|
33
|
+
- **types**:
|
|
34
|
+
[data](https://github.com/mdn/data/blob/main/css/types.json) |
|
|
35
|
+
[schema](https://github.com/mdn/data/blob/main/css/types.schema.json) |
|
|
36
|
+
[docs](https://github.com/mdn/data/blob/main/css/types.md)
|
|
37
|
+
- **units**:
|
|
38
|
+
[data](https://github.com/mdn/data/blob/main/css/units.json) |
|
|
39
|
+
[schema](https://github.com/mdn/data/blob/main/css/units.schema.json) |
|
|
40
|
+
[docs](https://github.com/mdn/data/blob/main/css/units.md)
|