@fontsource/material-symbols-sharp 5.1.4 → 5.2.1

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/README.md CHANGED
@@ -42,6 +42,6 @@ Google Inc.
42
42
  [OFL-1.1](http://scripts.sil.org/OFL)
43
43
 
44
44
  ## Other Notes
45
- Font version (provided by source): `v218`.
45
+ Font version (provided by source): `v222`.
46
46
 
47
47
  If you have any suggestions or ideas to improve the performance of font loading or expand the existing library, feel free to star and contribute to this repository. You can share your suggestions or ideas by creating an [issue](https://github.com/fontsource/fontsource/issues).
package/metadata.json CHANGED
@@ -11,8 +11,8 @@
11
11
  "GRAD": {"min": "-25", "max": "200", "default": "0", "step": "1"},
12
12
  "opsz": {"default": "48", "min": "30", "max": "48", "step": "0.1"}
13
13
  },
14
- "lastModified": "2024-12-04",
15
- "version": "v218",
14
+ "lastModified": "2025-01-28",
15
+ "version": "v222",
16
16
  "category": "icons",
17
17
  "license": {
18
18
  "type": "OFL-1.1",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fontsource/material-symbols-sharp",
3
- "version": "5.1.4",
3
+ "version": "5.2.1",
4
4
  "description": "Self-host the Material Symbols Sharp 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/material-symbols-sharp",
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/google/material-symbols-sharp"
28
38
  },
29
- "publishHash": "8c6287ac4bac86ea"
39
+ "publishHash": "5be143abbb0f999e"
30
40
  }
@@ -1,16 +1,28 @@
1
- $id: 'material-symbols-sharp' !default;
2
- $family: 'Material Symbols Sharp' !default;
3
- $category: icons !default;
4
- $subsets: (latin) !default;
5
- $weights: (100, 200, 300, 400, 500, 600, 700) !default;
6
- $styles: (normal) !default;
7
- $axes: null !default;
1
+ $id: 'material-symbols-sharp';
2
+ $family: 'Material Symbols Sharp';
3
+ $category: icons;
4
+ $subsets: (latin);
5
+ $weights: (100, 200, 300, 400, 500, 600, 700);
6
+ $styles: (normal);
7
+ $axes: null;
8
8
  $defaults: (
9
- subset: latin,
10
- weight: 400,
11
- style: normal,
12
- axis: null,
13
- ) !default;
9
+ subset: latin,
10
+ weight: 400,
11
+ style: normal,
12
+ axis: null,
13
+ );
14
14
  $unicode: (
15
- 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+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD),
16
- ) !default;
15
+ 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+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD),
16
+ );
17
+
18
+ $metadata: (
19
+ id: $id,
20
+ family: $family,
21
+ category: $category,
22
+ subsets: $subsets,
23
+ weights: $weights,
24
+ styles: $styles,
25
+ axes: $axes,
26
+ defaults: $defaults,
27
+ unicode: $unicode,
28
+ ) !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', '')}'),