@fontsource-variable/wix-madefor-display 5.1.1 → 5.2.4

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/LICENSE CHANGED
@@ -1,4 +1,4 @@
1
- Copyright 2021 The Wix Madefor Project Authors (https://github.com/wix/wixmadefor/)
1
+ Google Inc.
2
2
 
3
3
  This Font Software is licensed under the SIL Open Font License, Version 1.1.
4
4
  This license is copied below, and is also available with a FAQ at:
package/README.md CHANGED
@@ -39,8 +39,8 @@ body {
39
39
  ## Licensing
40
40
  Always make sure to read the license for each font you use. Most of the fonts in the collection use the SIL Open Font License, v1.1. Some fonts use the Apache 2 license. The Ubuntu fonts use the Ubuntu Font License v1.0.
41
41
 
42
- Copyright 2021 The Wix Madefor Project Authors (https://github.com/wix/wixmadefor/)
43
- [OFL-1.1](https://openfontlicense.org)
42
+ Google Inc.
43
+ [OFL-1.1](http://scripts.sil.org/OFL)
44
44
 
45
45
  ## Other Notes
46
46
  Font version (provided by source): `v10`.
package/metadata.json CHANGED
@@ -13,8 +13,8 @@
13
13
  "category": "sans-serif",
14
14
  "license": {
15
15
  "type": "OFL-1.1",
16
- "url": "https://openfontlicense.org",
17
- "attribution": "Copyright 2021 The Wix Madefor Project Authors (https://github.com/wix/wixmadefor/)"
16
+ "url": "http://scripts.sil.org/OFL",
17
+ "attribution": "Google Inc."
18
18
  },
19
19
  "source": "https://github.com/google/fonts",
20
20
  "type": "google"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fontsource-variable/wix-madefor-display",
3
- "version": "5.1.1",
3
+ "version": "5.2.4",
4
4
  "description": "Self-host the Wix Madefor Display font in a neatly bundled NPM package.",
5
5
  "main": "index.css",
6
6
  "publishConfig": {"access": "public"},
@@ -18,13 +18,23 @@
18
18
  "typeface",
19
19
  "variable"
20
20
  ],
21
+ "exports": {
22
+ ".": {"sass": "./index.css", "default": "./index.css"},
23
+ "./*": {"sass": "./*.css", "default": "./*.css"},
24
+ "./files/*": {"sass": "./files/*", "default": "./files/*"},
25
+ "./package.json": "./package.json",
26
+ "./metadata.json": "./metadata.json",
27
+ "./unicode.json": "./unicode.json",
28
+ "./scss": {"sass": "./scss/metadata.scss"}
29
+ },
21
30
  "author": "Google Inc.",
22
31
  "license": "OFL-1.1",
23
32
  "homepage": "https://fontsource.org/fonts/wix-madefor-display",
33
+ "funding": "https://github.com/sponsors/ayuhito",
24
34
  "repository": {
25
35
  "type": "git",
26
- "url": "https://github.com/fontsource/font-files.git",
36
+ "url": "git+https://github.com/fontsource/font-files.git",
27
37
  "directory": "fonts/variable/wix-madefor-display"
28
38
  },
29
- "publishHash": "ba9ca4b7b9b77f56"
39
+ "publishHash": "d99e9138e1a0636c"
30
40
  }
@@ -1,9 +1,9 @@
1
- $id: 'wix-madefor-display' !default;
2
- $family: 'Wix Madefor Display' !default;
3
- $category: sans-serif !default;
4
- $subsets: (cyrillic, cyrillic-ext, latin, latin-ext, vietnamese) !default;
5
- $weights: (400, 500, 600, 700, 800) !default;
6
- $styles: (normal) !default;
1
+ $id: 'wix-madefor-display';
2
+ $family: 'Wix Madefor Display';
3
+ $category: sans-serif;
4
+ $subsets: (cyrillic, cyrillic-ext, latin, latin-ext, vietnamese);
5
+ $weights: (400, 500, 600, 700, 800);
6
+ $styles: (normal);
7
7
  $axes: (
8
8
  wght: (
9
9
  default: 400,
@@ -11,17 +11,29 @@ $axes: (
11
11
  max: 800,
12
12
  step: 1,
13
13
  ),
14
- ) !default;
14
+ );
15
15
  $defaults: (
16
- subset: latin,
17
- weight: 400,
18
- style: normal,
19
- axis: wght,
20
- ) !default;
16
+ subset: latin,
17
+ weight: 400,
18
+ style: normal,
19
+ axis: wght,
20
+ );
21
21
  $unicode: (
22
- cyrillic-ext: (U+0460-052F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F),
23
- cyrillic: (U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116),
24
- vietnamese: (U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01A0-01A1,U+01AF-01B0,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+0329,U+1EA0-1EF9,U+20AB),
25
- latin-ext: (U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF),
26
- latin: (U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD),
27
- ) !default;
22
+ cyrillic-ext: (U+0460-052F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F),
23
+ cyrillic: (U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116),
24
+ vietnamese: (U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01A0-01A1,U+01AF-01B0,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+0329,U+1EA0-1EF9,U+20AB),
25
+ latin-ext: (U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF),
26
+ latin: (U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD),
27
+ );
28
+
29
+ $metadata: (
30
+ id: $id,
31
+ family: $family,
32
+ category: $category,
33
+ subsets: $subsets,
34
+ weights: $weights,
35
+ styles: $styles,
36
+ axes: $axes,
37
+ defaults: $defaults,
38
+ unicode: $unicode,
39
+ ) !default;
package/scss/mixins.scss CHANGED
@@ -6,7 +6,7 @@
6
6
 
7
7
  @use 'metadata';
8
8
 
9
- $metadata: meta.module-variables(metadata) !default;
9
+ $metadata: metadata.$metadata !default;
10
10
  $directory: null !default;
11
11
 
12
12
  $family: null !default;
@@ -34,6 +34,7 @@ $displayVar: null !default;
34
34
  // Deprecated
35
35
  $displayVar: $displayVar
36
36
  ) {
37
+ @warn "Importing mixins via the fontsource package is deprecated and will be removed in the next major release. Please use the @fontsource-utils/scss package instead.";
37
38
 
38
39
  @if $displayVar != null {
39
40
  @warn "$displayVar is deprecated due to the limitation of using css variables in @font-face (https://github.com/fontsource/fontsource/issues/726).";
@@ -95,7 +96,7 @@ $displayVar: null !default;
95
96
 
96
97
  $src: ();
97
98
  @each $format in $formats {
98
- $src: append(
99
+ $src: list.append(
99
100
  $src,
100
101
  url('#{$directory}/#{$variant}.#{$format}')
101
102
  format('#{$format}#{if($axis, '-variations', '')}'),