vadivam 0.0.72 → 0.0.73

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.
Binary file
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "vadivam",
3
- "version": "0.0.72",
3
+ "version": "0.0.73",
4
4
  "description": "Pixel-perfect 24px outline SVG icons with tree-shakeable ESM imports and metadata.",
5
5
  "license": "MIT",
6
6
  "author": "Praveen Juge",
@@ -30,6 +30,7 @@
30
30
  "vadivam": "dist/cli.js"
31
31
  },
32
32
  "sideEffects": [
33
+ "./dist/elements.js",
33
34
  "./dist/font/vadivam.css"
34
35
  ],
35
36
  "files": [
@@ -49,6 +50,11 @@
49
50
  "import": "./dist/manifest.js",
50
51
  "default": "./dist/manifest.js"
51
52
  },
53
+ "./elements": {
54
+ "types": "./dist/elements.d.ts",
55
+ "import": "./dist/elements.js",
56
+ "default": "./dist/elements.js"
57
+ },
52
58
  "./icons/*.svg": "./dist/icons/*.svg",
53
59
  "./icons/*": {
54
60
  "types": "./dist/icons/*.d.ts",
@@ -1,18 +1,18 @@
1
1
  ---
2
2
  name: vadivam-icons
3
- description: "Use Vadivam, an open-source set of pixel-perfect 24px outline icons, as SVG assets, SVG strings, a sprite, an icon font, or components for React, React Native, Vue, Svelte, Solid, Angular, Astro, and Preact. Use when a task picks an icon by meaning (search by name, tag, or category), installs or imports a vadivam package (vadivam, vadivam-react, vadivam-react-native, vadivam-vue, vadivam-svelte, vadivam-solid, vadivam-angular, vadivam-astro, vadivam-preact), sets up the vadivam-mcp MCP server, adds an icon through the shadcn registry, sizes, colors, or labels Vadivam icons, renders an icon from a runtime name with DynamicIcon or iconNames, sets shared defaults with VadivamProvider or provideVadivamConfig, or contributes icons to Vadivam."
3
+ description: "Use Vadivam, an open-source set of pixel-perfect 24px outline icons, as SVG assets, SVG strings, a sprite, an icon font, or components for React, React Native, Vue, Svelte, Solid, Angular, Astro, Preact, Qwik, Lit, Flutter, and Jetpack Compose, or the <vadivam-icon> element for plain HTML. Use when a task picks an icon by meaning (search by name, tag, or category), installs or imports a vadivam package (vadivam, vadivam-react, vadivam-react-native, vadivam-vue, vadivam-svelte, vadivam-solid, vadivam-angular, vadivam-astro, vadivam-preact, vadivam-qwik, vadivam-lit, the vadivam Flutter package, com.praveenjuge:vadivam-compose), sets up the vadivam-mcp MCP server, adds an icon through the shadcn registry, sizes, colors, or labels Vadivam icons, renders an icon from a runtime name with DynamicIcon or iconNames, sets shared defaults with VadivamProvider or provideVadivamConfig, or contributes icons to Vadivam."
4
4
  ---
5
5
 
6
6
  # Vadivam Icons
7
7
 
8
- Vadivam is an open-source set of pixel-perfect 24px outline icons. Use optimized SVG assets, browser JavaScript helpers, or native components for React, React Native, Vue, Svelte, Solid, Angular, Astro, and Preact. Every package is ESM-only and publishes tree-shakeable named and per-icon exports.
8
+ Vadivam is an open-source set of pixel-perfect 24px outline icons. Use optimized SVG assets, browser JavaScript helpers, or native components for React, React Native, Vue, Svelte, Solid, Angular, Astro, Preact, Qwik, Lit, Flutter, and Jetpack Compose. Every npm package is ESM-only and publishes tree-shakeable named and per-icon exports.
9
9
 
10
10
  ## Setup
11
11
 
12
12
  Install only the package for the environment where the icons render:
13
13
 
14
14
  ```sh
15
- # SVG assets and browser JavaScript
15
+ # SVG assets, browser JavaScript, and <vadivam-icon> for plain HTML and htmx
16
16
  npm install vadivam
17
17
 
18
18
  # Web frameworks
@@ -23,12 +23,19 @@ npm install vadivam-solid
23
23
  npm install vadivam-angular
24
24
  npm install vadivam-astro
25
25
  npm install vadivam-preact
26
+ npm install vadivam-qwik
27
+ npm install vadivam-lit
26
28
 
27
29
  # React Native or Expo
28
30
  npm install vadivam-react-native react-native-svg
31
+
32
+ # Flutter
33
+ flutter pub add vadivam
34
+
35
+ # Jetpack Compose (build.gradle.kts): implementation("com.praveenjuge:vadivam-compose:<version>")
29
36
  ```
30
37
 
31
- Peer ranges: React 18 or newer; React Native 0.71+ with React 18–19 and `react-native-svg` 12–15; Vue 3.5; Svelte 5.56+; Solid 1.9; Angular 22; Astro 7; Preact 10.29. See [Installation](https://vadivam.praveenjuge.com/docs/installation.md).
38
+ Peer ranges: React 18 or newer; React Native 0.71+ with React 18–19 and `react-native-svg` 12–15; Vue 3.5; Svelte 5.56+; Solid 1.9; Angular 22; Astro 7; Preact 10.29; Qwik 2; Lit 3; Flutter 3.29+; Android API 23+ with Compose UI 1.8+. See [Installation](https://vadivam.praveenjuge.com/docs/installation.md).
32
39
 
33
40
  ## Core concepts
34
41
 
@@ -114,7 +121,7 @@ An icon's own props override provider values. Angular uses `provideVadivamConfig
114
121
  <DynamicIcon name="activity" size={20} fallback={null} />;
115
122
  ```
116
123
 
117
- React, React Native, Vue, Solid, and Preact export a named `DynamicIcon`; Svelte and Astro export it as the default; Angular uses the `vadivamDynamicIcon` directive. See [Dynamic icons](https://vadivam.praveenjuge.com/docs/dynamic-icons.md).
124
+ React, React Native, Vue, Solid, Preact, and Lit export a named `DynamicIcon`; Svelte and Astro export it as the default; Angular uses the `vadivamDynamicIcon` directive. Qwik uses the `icons` registry, Flutter `VadivamIcons.all[name]`, Compose `VadivamIcons.byName(name)`, and plain HTML `<vadivam-icon name="…">`. See [Dynamic icons](https://vadivam.praveenjuge.com/docs/dynamic-icons.md).
118
125
 
119
126
  ### Use raw SVGs without a framework
120
127