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 +1 -1
- package/dist/font/vadivam.woff2 +0 -0
- package/dist/runtimePolicy.js +11 -9
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -8,7 +8,7 @@ Tree-shakeable 24px outline SVG icons for JavaScript, with raw assets and metada
|
|
|
8
8
|
[](https://www.npmjs.com/package/vadivam)
|
|
9
9
|
[](https://github.com/praveenjuge/vadivam/blob/main/LICENSE)
|
|
10
10
|
|
|
11
|
-

|
|
12
12
|
|
|
13
13
|
```sh
|
|
14
14
|
npm install vadivam
|
package/dist/font/vadivam.woff2
CHANGED
|
Binary file
|
package/dist/runtimePolicy.js
CHANGED
|
@@ -1,14 +1,16 @@
|
|
|
1
|
-
|
|
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",
|