vite-plugin-material-symbols 0.5.0 → 0.6.0

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
@@ -2,6 +2,10 @@
2
2
 
3
3
  ## Version 0
4
4
 
5
+ ### v0.6.0
6
+
7
+ - Supporting Vite 7.
8
+
5
9
  ### v0.5.0
6
10
 
7
11
  - Supporting Node 24.
package/README.md CHANGED
@@ -19,7 +19,7 @@ the font downloaded by the user.
19
19
  ## Requirements
20
20
 
21
21
  - Node.js `^20 || ^22 || ^24`;
22
- - Vite `^6.0.0` (though, it might work with v5 as well).
22
+ - Vite `^6 || ^7`.
23
23
 
24
24
  ## Installation
25
25
 
package/dist/index.d.ts CHANGED
@@ -2,26 +2,29 @@ import { Plugin } from "vite";
2
2
 
3
3
  //#region src/index.d.ts
4
4
  type PluginOptions = {
5
- /**
6
- * Material Symbols CSS Provider. Default: outlined, no infill, 24px, weight 400
7
- * @see https://fonts.google.com/icons?icon.set=Material+Symbols
8
- * @default () => `https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined...&${iconNamesParam}`
9
- * */
10
- getUrl: (iconNamesParam: string) => string;
11
- /**
12
- * The name of JSX component to obtain the icon names from
13
- * @default Icon
14
- * */
15
- component: string;
16
- /**
17
- * Enables higher priority for loading symbols
18
- * @see https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/rel/preload
19
- * @see https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/rel/preconnect
20
- * @default false
21
- */
22
- preload: boolean;
5
+ /**
6
+ * Material Symbols CSS Provider. Default: outlined, no infill, 24px, weight 400
7
+ * @see https://fonts.google.com/icons?icon.set=Material+Symbols
8
+ * @default () => `https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined...&${iconNamesParam}`
9
+ * */
10
+ getUrl: (iconNamesParam: string) => string;
11
+ /**
12
+ * The name of JSX component to obtain the icon names from
13
+ * @default Icon
14
+ * */
15
+ component: string;
16
+ /**
17
+ * Enables higher priority for loading symbols
18
+ * @see https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/rel/preload
19
+ * @see https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/rel/preconnect
20
+ * @default false
21
+ */
22
+ preload: boolean;
23
23
  };
24
- declare const plugin: ({ component, getUrl, preload, }?: Partial<PluginOptions>) => Plugin;
25
-
24
+ declare const plugin: ({
25
+ component,
26
+ getUrl,
27
+ preload
28
+ }?: Partial<PluginOptions>) => Plugin;
26
29
  //#endregion
27
30
  export { plugin as default };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "vite-plugin-material-symbols",
3
- "version": "0.5.0",
3
+ "version": "0.6.0",
4
4
  "description": "Selective loading of Material Symbols for production",
5
5
  "main": "dist/index.js",
6
6
  "repository": {
@@ -33,26 +33,26 @@
33
33
  "node": "^20 || ^22 || ^24"
34
34
  },
35
35
  "peerDependencies": {
36
- "vite": "^6.0.0"
36
+ "vite": "^6.0.0 || ^7.0.0"
37
37
  },
38
38
  "dependencies": {
39
39
  "esquery": "^1.6.0"
40
40
  },
41
41
  "devDependencies": {
42
- "@arethetypeswrong/cli": "^0.18.0",
43
- "@biomejs/biome": "1.9.4",
44
- "@tsconfig/bun": "^1.0.7",
45
- "@types/bun": "^1.1.14",
42
+ "@arethetypeswrong/cli": "^0.18.2",
43
+ "@biomejs/biome": "2.0.5",
44
+ "@tsconfig/bun": "^1.0.8",
45
+ "@types/bun": "^1.2.17",
46
46
  "@types/esquery": "^1.5.4",
47
- "@types/react": "^19.0.0",
48
- "@types/react-dom": "^19.0.0",
49
- "@types/semver": "^7.5.8",
50
- "@vitejs/plugin-react-swc": "^3.7.2",
51
- "react": "^19.0.0",
52
- "react-dom": "^19.0.0",
53
- "semver": "^7.6.3",
54
- "tsdown": "^0.9.3",
55
- "typescript": "^5.7.2"
47
+ "@types/react": "^19.1.8",
48
+ "@types/react-dom": "^19.1.6",
49
+ "@types/semver": "^7.7.0",
50
+ "@vitejs/plugin-react-swc": "^3.10.2",
51
+ "react": "^19.1.0",
52
+ "react-dom": "^19.1.0",
53
+ "semver": "^7.7.2",
54
+ "tsdown": "^0.12.8",
55
+ "typescript": "^5.8.3"
56
56
  },
57
57
  "keywords": [
58
58
  "css",