vadivam 0.0.67 → 0.0.68

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
@@ -8,7 +8,7 @@ Tree-shakeable 24px outline SVG icons for JavaScript, with raw assets and metada
8
8
  [![downloads](https://img.shields.io/npm/dw/vadivam?style=flat-square&color=666)](https://www.npmjs.com/package/vadivam)
9
9
  [![license](https://img.shields.io/npm/l/vadivam?style=flat-square&color=111)](https://github.com/praveenjuge/vadivam/blob/main/LICENSE)
10
10
 
11
- ![All Vadivam icons](https://raw.githubusercontent.com/praveenjuge/vadivam/main/apps/docs/public/preview.png?v=0.0.67)
11
+ ![All Vadivam icons](https://raw.githubusercontent.com/praveenjuge/vadivam/main/apps/docs/public/preview.png?v=0.0.68)
12
12
 
13
13
  ```sh
14
14
  npm install vadivam
Binary file
@@ -1,14 +1,16 @@
1
- const SAFE_ICON_TAGS = new Set(["circle","ellipse","line","path","polygon","polyline","rect"]);
1
+ // Pure annotations let bundlers drop the icon-node policy when only the
2
+ // root-attribute and paint sanitizers are imported.
3
+ const SAFE_ICON_TAGS = /* @__PURE__ */ new Set(["circle","ellipse","line","path","polygon","polyline","rect"]);
2
4
  const GEOMETRY_ATTRIBUTES = {
3
- circle: new Set(["cx", "cy", "r"]),
4
- ellipse: new Set(["cx", "cy", "rx", "ry"]),
5
- line: new Set(["x1", "y1", "x2", "y2"]),
6
- path: new Set(["d", "pathLength"]),
7
- polygon: new Set(["points", "pathLength"]),
8
- polyline: new Set(["points", "pathLength"]),
9
- rect: new Set(["x", "y", "width", "height", "rx", "ry", "pathLength"]),
5
+ circle: /* @__PURE__ */ new Set(["cx", "cy", "r"]),
6
+ ellipse: /* @__PURE__ */ new Set(["cx", "cy", "rx", "ry"]),
7
+ line: /* @__PURE__ */ new Set(["x1", "y1", "x2", "y2"]),
8
+ path: /* @__PURE__ */ new Set(["d", "pathLength"]),
9
+ polygon: /* @__PURE__ */ new Set(["points", "pathLength"]),
10
+ polyline: /* @__PURE__ */ new Set(["points", "pathLength"]),
11
+ rect: /* @__PURE__ */ new Set(["x", "y", "width", "height", "rx", "ry", "pathLength"]),
10
12
  };
11
- const PRESENTATION_ATTRIBUTES = new Set([
13
+ const PRESENTATION_ATTRIBUTES = /* @__PURE__ */ new Set([
12
14
  "class", "className", "id", "role", "key", "opacity", "transform",
13
15
  "clip-rule", "clipRule", "fill", "fill-opacity", "fillOpacity", "fill-rule", "fillRule",
14
16
  "shape-rendering", "shapeRendering", "stroke", "stroke-dasharray", "strokeDasharray",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "vadivam",
3
- "version": "0.0.67",
3
+ "version": "0.0.68",
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",