@pzh-ui/icons 0.0.70 → 0.0.81
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
|
@@ -11,13 +11,13 @@ For example, `yarn add @pzh-ui/icons`.
|
|
|
11
11
|
After installing the dependency, you can start using the icons as follows:
|
|
12
12
|
|
|
13
13
|
```jsx
|
|
14
|
-
import { Check } from
|
|
14
|
+
import { Check } from "@pzh-ui/icons";
|
|
15
15
|
|
|
16
16
|
function Page() {
|
|
17
|
-
|
|
17
|
+
return <Check />;
|
|
18
18
|
}
|
|
19
19
|
```
|
|
20
20
|
|
|
21
21
|
## Adding new icons
|
|
22
22
|
|
|
23
|
-
Add your new SVG icon to the `src/` folder. After that run `yarn svgr` and your new icon will be generated in `src/components
|
|
23
|
+
Add your new SVG icon to the `src/` folder. After that run `yarn svgr` and your new icon will be generated in `src/components/`
|
package/dist/components/Code.js
CHANGED
|
@@ -16,7 +16,7 @@ const SVGIcon = /* @__PURE__ */ forwardRef(({
|
|
|
16
16
|
ref: svgRef,
|
|
17
17
|
...props,
|
|
18
18
|
children: jsx("path", {
|
|
19
|
-
d: "
|
|
19
|
+
d: "M405.1.8c-8.4-2.8-17.4 1.7-20.2 10.1l-160 480c-2.8 8.4 1.7 17.4 10.1 20.2s17.4-1.7 20.2-10.1l160-480c2.8-8.4-1.7-17.4-10.1-20.2zM172 117.4c-5.9-6.6-16-7.2-22.6-1.3l-144 128C2 247.1 0 251.4 0 256s2 8.9 5.4 12l144 128c6.6 5.9 16.7 5.3 22.6-1.3s5.3-16.7-1.3-22.6L40.1 256l130.5-116c6.6-5.9 7.2-16 1.3-22.6zm296.1 0c-5.9 6.6-5.3 16.7 1.3 22.6l130.5 116-130.5 116c-6.6 5.9-7.2 16-1.3 22.6s16 7.2 22.6 1.3l144-128c3.4-3 5.4-7.4 5.4-12s-2-8.9-5.4-12l-144-128c-6.6-5.9-16.7-5.3-22.6 1.3z"
|
|
20
20
|
})
|
|
21
21
|
});
|
|
22
22
|
});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Code.js","sources":["../../src/components/Code.tsx"],"sourcesContent":["import { forwardRef, SVGProps } from \"react\";\ninterface CustomIconProps extends SVGProps<SVGSVGElement> {\n size?: number;\n}\nconst SVGIcon = forwardRef<SVGSVGElement, CustomIconProps>(\n ({ size = 14, ...props }, svgRef) => {\n if (size) {\n props.width = size;\n props.height = size;\n }\n return (\n <svg\n xmlns=\"http://www.w3.org/2000/svg\"\n fill=\"currentColor\"\n viewBox=\"0 0 640 512\"\n ref={svgRef}\n {...props}\n >\n <path d=\"
|
|
1
|
+
{"version":3,"file":"Code.js","sources":["../../src/components/Code.tsx"],"sourcesContent":["import { forwardRef, SVGProps } from \"react\";\ninterface CustomIconProps extends SVGProps<SVGSVGElement> {\n size?: number;\n}\nconst SVGIcon = forwardRef<SVGSVGElement, CustomIconProps>(\n ({ size = 14, ...props }, svgRef) => {\n if (size) {\n props.width = size;\n props.height = size;\n }\n return (\n <svg\n xmlns=\"http://www.w3.org/2000/svg\"\n fill=\"currentColor\"\n viewBox=\"0 0 640 512\"\n ref={svgRef}\n {...props}\n >\n <path d=\"M405.1.8c-8.4-2.8-17.4 1.7-20.2 10.1l-160 480c-2.8 8.4 1.7 17.4 10.1 20.2s17.4-1.7 20.2-10.1l160-480c2.8-8.4-1.7-17.4-10.1-20.2zM172 117.4c-5.9-6.6-16-7.2-22.6-1.3l-144 128C2 247.1 0 251.4 0 256s2 8.9 5.4 12l144 128c6.6 5.9 16.7 5.3 22.6-1.3s5.3-16.7-1.3-22.6L40.1 256l130.5-116c6.6-5.9 7.2-16 1.3-22.6zm296.1 0c-5.9 6.6-5.3 16.7 1.3 22.6l130.5 116-130.5 116c-6.6 5.9-7.2 16-1.3 22.6s16 7.2 22.6 1.3l144-128c3.4-3 5.4-7.4 5.4-12s-2-8.9-5.4-12l-144-128c-6.6-5.9-16.7-5.3-22.6 1.3z\" />\n </svg>\n );\n }\n);\nconst CodeIcon = SVGIcon;\nCodeIcon.displayName = \"Code\";\nexport default CodeIcon;\n"],"names":["SVGIcon","size","props","svgRef","width","height","_jsx","xmlns","fill","viewBox","ref","children","d","CodeIcon","displayName"],"mappings":";;;AAIA,MAAMA,OAAAA,8BACJ,CAAC;AAAA,EAAEC,IAAO,GAAA,EAAA;AAAA,EAAOC,GAAAA,KAAAA;AAAAA,CAAAA,EAASC,MAAU,KAAA;AAClC,EAAA,IAAIF,IAAM,EAAA;AACRC,IAAAA,KAAAA,CAAME,KAAQH,GAAAA,IAAAA,CAAAA;AACdC,IAAAA,KAAAA,CAAMG,MAASJ,GAAAA,IAAAA,CAAAA;AAAAA,GAChB;AAECK,EAAAA,OAAAA,IACE,KAAA,EAAA;AAAA,IAAAC,KAAM,EAAA,4BAAA;AAAA,IACNC,IAAK,EAAA,cAAA;AAAA,IACLC,OAAQ,EAAA,aAAA;AAAA,IACRC,GAAKP,EAAAA,MAAAA;AAAAA,IACDD,GAAAA,KAAAA;AAAAA,IAEJS,QAAAA,EAAAL,IAAA,MAAA,EAAA;AAAA,MAAMM,CAAE,EAAA,ieAAA;AAAA,KAAR,CAAA;AAAA,GANA,CAAA,CAAA;AASL,CAjBuB,CAAA,CAAA;AAmB1B,MAAMC,QAAWb,GAAAA,QAAAA;AACjBa,QAAAA,CAASC,WAAc,GAAA,MAAA;;;;"}
|
|
@@ -16,7 +16,7 @@ const SVGIcon = /* @__PURE__ */ forwardRef(({
|
|
|
16
16
|
ref: svgRef,
|
|
17
17
|
...props,
|
|
18
18
|
children: jsx("path", {
|
|
19
|
-
d: "M256
|
|
19
|
+
d: "M256 32a224 224 0 110 448 224 224 0 110-448zm0 480a256 256 0 100-512 256 256 0 100 512zm-16-368a16 16 0 1132 0 16 16 0 11-32 0zm64 0a48 48 0 10-96 0 48 48 0 1096 0zm-174.3 56.8c-4 7.9-.7 17.5 7.2 21.5l21.1 10.5c16 8 32.8 14 50.1 17.8v67.7l-15.7 78.4c-1.7 8.7 3.9 17.1 12.6 18.8s17.1-3.9 18.8-12.6l13.3-66.9h37.8l13.4 67.1c1.7 8.7 10.2 14.3 18.8 12.6s14.3-10.2 12.6-18.8L304 318.4v-67.7c17.3-3.9 34.1-9.9 50.1-17.8l21.1-10.5c7.9-4 11.1-13.6 7.2-21.5s-13.6-11.1-21.5-7.2l-21.1 10.5c-26 13-54.7 19.8-83.8 19.8s-57.8-6.8-83.8-19.8l-21.1-10.5c-7.9-4-17.5-.7-21.5 7.2zM240 255.4a213.858 213.858 0 0032 0V304h-32v-48.6z"
|
|
20
20
|
})
|
|
21
21
|
});
|
|
22
22
|
});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"UniversalAccess.js","sources":["../../src/components/UniversalAccess.tsx"],"sourcesContent":["import { forwardRef, SVGProps } from \"react\";\ninterface CustomIconProps extends SVGProps<SVGSVGElement> {\n size?: number;\n}\nconst SVGIcon = forwardRef<SVGSVGElement, CustomIconProps>(\n ({ size = 14, ...props }, svgRef) => {\n if (size) {\n props.width = size;\n props.height = size;\n }\n return (\n <svg\n xmlns=\"http://www.w3.org/2000/svg\"\n fill=\"currentColor\"\n viewBox=\"0 0 512 512\"\n ref={svgRef}\n {...props}\n >\n <path d=\"M256
|
|
1
|
+
{"version":3,"file":"UniversalAccess.js","sources":["../../src/components/UniversalAccess.tsx"],"sourcesContent":["import { forwardRef, SVGProps } from \"react\";\ninterface CustomIconProps extends SVGProps<SVGSVGElement> {\n size?: number;\n}\nconst SVGIcon = forwardRef<SVGSVGElement, CustomIconProps>(\n ({ size = 14, ...props }, svgRef) => {\n if (size) {\n props.width = size;\n props.height = size;\n }\n return (\n <svg\n xmlns=\"http://www.w3.org/2000/svg\"\n fill=\"currentColor\"\n viewBox=\"0 0 512 512\"\n ref={svgRef}\n {...props}\n >\n <path d=\"M256 32a224 224 0 110 448 224 224 0 110-448zm0 480a256 256 0 100-512 256 256 0 100 512zm-16-368a16 16 0 1132 0 16 16 0 11-32 0zm64 0a48 48 0 10-96 0 48 48 0 1096 0zm-174.3 56.8c-4 7.9-.7 17.5 7.2 21.5l21.1 10.5c16 8 32.8 14 50.1 17.8v67.7l-15.7 78.4c-1.7 8.7 3.9 17.1 12.6 18.8s17.1-3.9 18.8-12.6l13.3-66.9h37.8l13.4 67.1c1.7 8.7 10.2 14.3 18.8 12.6s14.3-10.2 12.6-18.8L304 318.4v-67.7c17.3-3.9 34.1-9.9 50.1-17.8l21.1-10.5c7.9-4 11.1-13.6 7.2-21.5s-13.6-11.1-21.5-7.2l-21.1 10.5c-26 13-54.7 19.8-83.8 19.8s-57.8-6.8-83.8-19.8l-21.1-10.5c-7.9-4-17.5-.7-21.5 7.2zM240 255.4a213.858 213.858 0 0032 0V304h-32v-48.6z\" />\n </svg>\n );\n }\n);\nconst UniversalAccessIcon = SVGIcon;\nUniversalAccessIcon.displayName = \"UniversalAccess\";\nexport default UniversalAccessIcon;\n"],"names":["SVGIcon","size","props","svgRef","width","height","_jsx","xmlns","fill","viewBox","ref","children","d","UniversalAccessIcon","displayName"],"mappings":";;;AAIA,MAAMA,OAAAA,8BACJ,CAAC;AAAA,EAAEC,IAAO,GAAA,EAAA;AAAA,EAAOC,GAAAA,KAAAA;AAAAA,CAAAA,EAASC,MAAU,KAAA;AAClC,EAAA,IAAIF,IAAM,EAAA;AACRC,IAAAA,KAAAA,CAAME,KAAQH,GAAAA,IAAAA,CAAAA;AACdC,IAAAA,KAAAA,CAAMG,MAASJ,GAAAA,IAAAA,CAAAA;AAAAA,GAChB;AAECK,EAAAA,OAAAA,IACE,KAAA,EAAA;AAAA,IAAAC,KAAM,EAAA,4BAAA;AAAA,IACNC,IAAK,EAAA,cAAA;AAAA,IACLC,OAAQ,EAAA,aAAA;AAAA,IACRC,GAAKP,EAAAA,MAAAA;AAAAA,IACDD,GAAAA,KAAAA;AAAAA,IAEJS,QAAAA,EAAAL,IAAA,MAAA,EAAA;AAAA,MAAMM,CAAE,EAAA,smBAAA;AAAA,KAAR,CAAA;AAAA,GANA,CAAA,CAAA;AASL,CAjBuB,CAAA,CAAA;AAmB1B,MAAMC,mBAAsBb,GAAAA,QAAAA;AAC5Ba,mBAAAA,CAAoBC,WAAc,GAAA,iBAAA;;;;"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pzh-ui/icons",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.81",
|
|
4
4
|
"description": "Contains icons to use in Provincie Zuid-Holland projects.",
|
|
5
5
|
"homepage": "https://github.com/Provincie-Zuid-Holland/pzh-ui#readme",
|
|
6
6
|
"license": "ISC",
|
|
@@ -47,5 +47,5 @@
|
|
|
47
47
|
"typescript": "^4.6.2",
|
|
48
48
|
"vite": "^2.8.6"
|
|
49
49
|
},
|
|
50
|
-
"gitHead": "
|
|
50
|
+
"gitHead": "da3fecae37fa3675288aac8fd7e6ade4baa5955c"
|
|
51
51
|
}
|