mdn-data 2.0.28 → 2.0.29

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 CHANGED
@@ -1,5 +1,12 @@
1
1
  # Changelog
2
2
 
3
+ ## [2.0.29](https://github.com/mdn/data/compare/v2.0.28...v2.0.29) (2022-08-30)
4
+
5
+
6
+ ### Miscellaneous Chores
7
+
8
+ * release 2.0.29 ([da9510f](https://github.com/mdn/data/commit/da9510f7c6cbb79e6eeda6dda51bc39358301ea6))
9
+
3
10
  ## [2.0.28](https://github.com/mdn/data/compare/v2.0.27...v2.0.28) (2022-07-12)
4
11
 
5
12
 
package/README.md CHANGED
@@ -1,5 +1,7 @@
1
1
  # MDN data
2
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
+
3
5
  [https://github.com/mdn/data](https://github.com/mdn/data)
4
6
 
5
7
  Maintained by the [MDN team at Mozilla](https://wiki.mozilla.org/MDN).
@@ -4189,7 +4189,7 @@
4189
4189
  "mdn_url": "https://developer.mozilla.org/docs/Web/CSS/columns"
4190
4190
  },
4191
4191
  "contain": {
4192
- "syntax": "none | strict | content | [ size || layout || style || paint ]",
4192
+ "syntax": "none | strict | content | [ [ size || inline-size ] || layout || style || paint ]",
4193
4193
  "media": "all",
4194
4194
  "inherited": false,
4195
4195
  "animationType": "discrete",
package/css/syntaxes.json CHANGED
@@ -1,7 +1,13 @@
1
1
  {
2
+ "abs()": {
3
+ "syntax": "abs( <calc-sum> )"
4
+ },
2
5
  "absolute-size": {
3
6
  "syntax": "xx-small | x-small | small | medium | large | x-large | xx-large | xxx-large"
4
7
  },
8
+ "acos()": {
9
+ "syntax": "acos( <calc-sum> )"
10
+ },
5
11
  "alpha-value": {
6
12
  "syntax": "<number> | <percentage>"
7
13
  },
@@ -20,6 +26,15 @@
20
26
  "animateable-feature": {
21
27
  "syntax": "scroll-position | contents | <custom-ident>"
22
28
  },
29
+ "asin()": {
30
+ "syntax": "asin( <calc-sum> )"
31
+ },
32
+ "atan()": {
33
+ "syntax": "atan( <calc-sum> )"
34
+ },
35
+ "ata2n()": {
36
+ "syntax": "atan2( <calc-sum>, <calc-sum> )"
37
+ },
23
38
  "attachment": {
24
39
  "syntax": "scroll | fixed | local"
25
40
  },
@@ -164,6 +179,9 @@
164
179
  "contrast()": {
165
180
  "syntax": "contrast( [ <number-percentage> ] )"
166
181
  },
182
+ "cos()": {
183
+ "syntax": "cos( <calc-sum> )"
184
+ },
167
185
  "counter": {
168
186
  "syntax": "<counter()> | <counters()>"
169
187
  },
@@ -233,6 +251,9 @@
233
251
  "env()": {
234
252
  "syntax": "env( <custom-ident> , <declaration-value>? )"
235
253
  },
254
+ "exp()": {
255
+ "syntax": "exp( <calc-sum> )"
256
+ },
236
257
  "explicit-track-list": {
237
258
  "syntax": "[ <line-names>? <track-size> ]+ <line-names>?"
238
259
  },
@@ -272,9 +293,6 @@
272
293
  "final-bg-layer": {
273
294
  "syntax": "<'background-color'> || <bg-image> || <bg-position> [ / <bg-size> ]? || <repeat-style> || <attachment> || <box> || <box>"
274
295
  },
275
- "fit-content()": {
276
- "syntax": "fit-content( [ <length> | <percentage> ] )"
277
- },
278
296
  "fixed-breadth": {
279
297
  "syntax": "<length-percentage>"
280
298
  },
@@ -335,6 +353,9 @@
335
353
  "hwb()": {
336
354
  "syntax": "hwb( [<hue> | none] [<percentage> | none] [<percentage> | none] [ / [<alpha-value> | none] ]? )"
337
355
  },
356
+ "hypot()": {
357
+ "syntax": "hypot( <calc-sum># )"
358
+ },
338
359
  "id-selector": {
339
360
  "syntax": "<hash-token>"
340
361
  },
@@ -357,7 +378,7 @@
357
378
  "syntax": "ltr | rtl"
358
379
  },
359
380
  "inflexible-breadth": {
360
- "syntax": "<length> | <percentage> | min-content | max-content | auto"
381
+ "syntax": "<length-percentage> | min-content | max-content | auto"
361
382
  },
362
383
  "inset()": {
363
384
  "syntax": "inset( <length-percentage>{1,4} [ round <'border-radius'> ]? )"
@@ -377,12 +398,18 @@
377
398
  "keyframe-selector": {
378
399
  "syntax": "from | to | <percentage>"
379
400
  },
401
+ "lab()": {
402
+ "syntax": "lab( [<percentage> | <number> | none] [ <percentage> | <number> | none] [ <percentage> | <number> | none] [ / [<alpha-value> | none] ]? )"
403
+ },
380
404
  "layer()": {
381
405
  "syntax": "layer( <layer-name> )"
382
406
  },
383
407
  "layer-name": {
384
408
  "syntax": "<ident> [ '.' <ident> ]*"
385
409
  },
410
+ "lch()": {
411
+ "syntax": "lch( [<percentage> | <number> | none] [ <percentage> | <number> | none] [ <hue> | none] [ / [<alpha-value> | none] ]? )"
412
+ },
386
413
  "leader()": {
387
414
  "syntax": "leader( <leader-type> )"
388
415
  },
@@ -413,6 +440,9 @@
413
440
  "linear-gradient()": {
414
441
  "syntax": "linear-gradient( [ <angle> | to <side-or-corner> ]? , <color-stop-list> )"
415
442
  },
443
+ "log()": {
444
+ "syntax": "log( <calc-sum>, <calc-sum>? )"
445
+ },
416
446
  "mask-layer": {
417
447
  "syntax": "<mask-reference> || <position> [ / <bg-size> ]? || <repeat-style> || <geometry-box> || [ <geometry-box> | no-clip ] || <compositing-operator> || <masking-mode>"
418
448
  },
@@ -486,7 +516,10 @@
486
516
  "syntax": "min( <calc-sum># )"
487
517
  },
488
518
  "minmax()": {
489
- "syntax": "minmax( [ <length> | <percentage> | min-content | max-content | auto ] , [ <length> | <percentage> | <flex> | min-content | max-content | auto ] )"
519
+ "syntax": "minmax( [ <length-percentage> | min-content | max-content | auto ] , [ <length-percentage> | <flex> | min-content | max-content | auto ] )"
520
+ },
521
+ "mod()": {
522
+ "syntax": "mod( <calc-sum>, <calc-sum> )"
490
523
  },
491
524
  "name-repeat": {
492
525
  "syntax": "repeat( [ <integer [1,∞]> | auto-fill ], <line-names>+ )"
@@ -549,7 +582,7 @@
549
582
  "syntax": "paint( <ident>, <declaration-value>? )"
550
583
  },
551
584
  "perspective()": {
552
- "syntax": "perspective( <length> )"
585
+ "syntax": "perspective( [ <length [0,∞]> | none ] )"
553
586
  },
554
587
  "polygon()": {
555
588
  "syntax": "polygon( <fill-rule>? , [ <length-percentage> <length-percentage> ]# )"
@@ -557,6 +590,9 @@
557
590
  "position": {
558
591
  "syntax": "[ [ left | center | right ] || [ top | center | bottom ] | [ left | center | right | <length-percentage> ] [ top | center | bottom | <length-percentage> ]? | [ [ left | right ] <length-percentage> ] && [ [ top | bottom ] <length-percentage> ] ]"
559
592
  },
593
+ "pow()": {
594
+ "syntax": "pow( <calc-sum>, <calc-sum> )"
595
+ },
560
596
  "pseudo-class-selector": {
561
597
  "syntax": "':' <ident-token> | ':' <function-token> <any-value> ')'"
562
598
  },
@@ -572,6 +608,9 @@
572
608
  "radial-gradient()": {
573
609
  "syntax": "radial-gradient( [ <ending-shape> || <size> ]? [ at <position> ]? , <color-stop-list> )"
574
610
  },
611
+ "ratio": {
612
+ "syntax": "<number [0,∞]> [ / <number [0,∞]> ]?"
613
+ },
575
614
  "relative-selector": {
576
615
  "syntax": "<combinator>? <complex-selector>"
577
616
  },
@@ -581,6 +620,9 @@
581
620
  "relative-size": {
582
621
  "syntax": "larger | smaller"
583
622
  },
623
+ "rem()": {
624
+ "syntax": "rem( <calc-sum>, <calc-sum> )"
625
+ },
584
626
  "repeat-style": {
585
627
  "syntax": "repeat-x | repeat-y | [ repeat | space | round | no-repeat ]{1,2}"
586
628
  },
@@ -593,6 +635,9 @@
593
635
  "repeating-radial-gradient()": {
594
636
  "syntax": "repeating-radial-gradient( [ <ending-shape> || <size> ]? [ at <position> ]? , <color-stop-list> )"
595
637
  },
638
+ "reversed-counter-name": {
639
+ "syntax": "reversed( <counter-name> )"
640
+ },
596
641
  "rgb()": {
597
642
  "syntax": "rgb( <percentage>{3} [ / <alpha-value> ]? ) | rgb( <number>{3} [ / <alpha-value> ]? ) | rgb( <percentage>#{3} , <alpha-value>? ) | rgb( <number>#{3} , <alpha-value>? )"
598
643
  },
@@ -614,23 +659,26 @@
614
659
  "rotateZ()": {
615
660
  "syntax": "rotateZ( [ <angle> | <zero> ] )"
616
661
  },
662
+ "round()": {
663
+ "syntax": "round( <rounding-strategy>?, <calc-sum>, <calc-sum> )"
664
+ },
617
665
  "saturate()": {
618
666
  "syntax": "saturate( <number-percentage> )"
619
667
  },
620
668
  "scale()": {
621
- "syntax": "scale( <number> , <number>? )"
669
+ "syntax": "scale( [ <number> | <percentage> ]#{1,2} )"
622
670
  },
623
671
  "scale3d()": {
624
- "syntax": "scale3d( <number> , <number> , <number> )"
672
+ "syntax": "scale3d( [ <number> | <percentage> ]#{3} )"
625
673
  },
626
674
  "scaleX()": {
627
- "syntax": "scaleX( <number> )"
675
+ "syntax": "scaleX( [ <number> | <percentage> ] )"
628
676
  },
629
677
  "scaleY()": {
630
- "syntax": "scaleY( <number> )"
678
+ "syntax": "scaleY( [ <number> | <percentage> ] )"
631
679
  },
632
680
  "scaleZ()": {
633
- "syntax": "scaleZ( <number> )"
681
+ "syntax": "scaleZ( [ <number> | <percentage> ] )"
634
682
  },
635
683
  "self-position": {
636
684
  "syntax": "center | start | end | self-start | self-end | flex-start | flex-end"
@@ -638,6 +686,9 @@
638
686
  "shape-radius": {
639
687
  "syntax": "<length-percentage> | closest-side | farthest-side"
640
688
  },
689
+ "sign()": {
690
+ "syntax": "sign( <calc-sum> )"
691
+ },
641
692
  "skew()": {
642
693
  "syntax": "skew( [ <angle> | <zero> ] , [ <angle> | <zero> ]? )"
643
694
  },
@@ -665,6 +716,9 @@
665
716
  "side-or-corner": {
666
717
  "syntax": "[ left | right ] || [ top | bottom ]"
667
718
  },
719
+ "sin()": {
720
+ "syntax": "sin( <calc-sum> )"
721
+ },
668
722
  "single-animation": {
669
723
  "syntax": "<time> || <easing-function> || <time> || <single-animation-iteration-count> || <single-animation-direction> || <single-animation-fill-mode> || <single-animation-play-state> || [ none | <keyframes-name> ]"
670
724
  },
@@ -692,6 +746,9 @@
692
746
  "size": {
693
747
  "syntax": "closest-side | farthest-side | closest-corner | farthest-corner | <length> | <length-percentage>{2}"
694
748
  },
749
+ "sqrt()": {
750
+ "syntax": "sqrt( <calc-sum> )"
751
+ },
695
752
  "step-position": {
696
753
  "syntax": "jump-start | jump-end | jump-none | jump-both | start | end"
697
754
  },
@@ -719,6 +776,9 @@
719
776
  "symbol": {
720
777
  "syntax": "<string> | <image> | <custom-ident>"
721
778
  },
779
+ "tan()": {
780
+ "syntax": "tan( <calc-sum> )"
781
+ },
722
782
  "target": {
723
783
  "syntax": "<target-counter()> | <target-counters()> | <target-text()>"
724
784
  },
@@ -750,7 +810,7 @@
750
810
  "syntax": "repeat( [ <integer [1,∞]> ] , [ <line-names>? <track-size> ]+ <line-names>? )"
751
811
  },
752
812
  "track-size": {
753
- "syntax": "<track-breadth> | minmax( <inflexible-breadth> , <track-breadth> ) | fit-content( [ <length> | <percentage> ] )"
813
+ "syntax": "<track-breadth> | minmax( <inflexible-breadth> , <track-breadth> ) | fit-content( <length-percentage> )"
754
814
  },
755
815
  "transform-function": {
756
816
  "syntax": "<matrix()> | <translate()> | <translateX()> | <translateY()> | <scale()> | <scaleX()> | <scaleY()> | <rotate()> | <skew()> | <skewX()> | <skewY()> | <matrix3d()> | <translate3d()> | <translateZ()> | <scale3d()> | <scaleZ()> | <rotate3d()> | <rotateX()> | <rotateY()> | <rotateZ()> | <perspective()>"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mdn-data",
3
- "version": "2.0.28",
3
+ "version": "2.0.29",
4
4
  "description": "Open Web data by the Mozilla Developer Network",
5
5
  "main": "index.js",
6
6
  "files": [