@wikicasa-dev/svg-icons 0.2.2 → 0.2.5

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/dist/InfoIcon.js CHANGED
@@ -1,6 +1,6 @@
1
1
  import { h as r } from "vue";
2
- import { s as a } from "./svgIconFactory-Dn0WJdb3.js";
3
- const s = (o, { attrs: t }) => a({
2
+ import { s as t } from "./svgIconFactory-Dn0WJdb3.js";
3
+ const l = (o) => t({
4
4
  props: o,
5
5
  svgNodeAttrs: { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 18 18" },
6
6
  childrenNodes: r("g", { transform: "translate(-369 -224)" }, [
@@ -8,10 +8,10 @@ const s = (o, { attrs: t }) => a({
8
8
  cx: "9",
9
9
  cy: "9",
10
10
  r: "9",
11
- fill: t["fill-color"] ?? "#2B5DFf",
11
+ fill: o["fill-color"] ?? "#2B5DFf",
12
12
  transform: "translate(369 224)"
13
13
  }),
14
- r("g", { fill: "#fff" }, [
14
+ r("g", { fill: o.color ?? "#fff" }, [
15
15
  r("path", {
16
16
  d: "M376.484 231.881c-.044 0-.1.026-.131.008-.11-.059-.212-.133-.316-.2.085-.082.162-.221.258-.237.447-.075.9-.116 1.351-.167.275-.031.551-.058.826-.09.449-.052.528.033.418.457l-1 3.856a1.612 1.612 0 0 0-.05.227c-.034.312.128.494.428.4a3.84 3.84 0 0 0 .658-.406 1.925 1.925 0 0 1 .36-.123c.01.129.073.285.022.381a2.41 2.41 0 0 1-2.109 1.491 1.1 1.1 0 0 1-1.195-1.178 3.622 3.622 0 0 1 .139-.848c.254-1.009.523-2.014.785-3.021.124-.504.052-.593-.444-.55Z"
17
17
  }),
@@ -20,5 +20,5 @@ const s = (o, { attrs: t }) => a({
20
20
  ])
21
21
  });
22
22
  export {
23
- s as InfoIcon
23
+ l as InfoIcon
24
24
  };
@@ -1,6 +1,6 @@
1
1
  import { h as A } from "vue";
2
2
  import { s as g } from "./svgImagefactory-DHbjrCiy.js";
3
- const E = (B, { attrs: Q }) => g({
3
+ const C = (B) => g({
4
4
  props: B,
5
5
  svgNodeAttrs: {
6
6
  xmlns: "http://www.w3.org/2000/svg",
@@ -400,5 +400,5 @@ const E = (B, { attrs: Q }) => g({
400
400
  ]
401
401
  });
402
402
  export {
403
- E as WikiNerdDownloadAppImg
403
+ C as WikiNerdDownloadAppImg
404
404
  };
@@ -1,6 +1,6 @@
1
1
  import { h as a } from "vue";
2
2
  import { s as r } from "./svgImagefactory-DHbjrCiy.js";
3
- const c = (t, { attrs: f }) => r({
3
+ const i = (t) => r({
4
4
  props: t,
5
5
  svgNodeAttrs: {
6
6
  xmlns: "http://www.w3.org/2000/svg",
@@ -2112,5 +2112,5 @@ const c = (t, { attrs: f }) => r({
2112
2112
  ]
2113
2113
  });
2114
2114
  export {
2115
- c as WikiNerdValutaMobileImg
2115
+ i as WikiNerdValutaMobileImg
2116
2116
  };
@@ -1,4 +1,7 @@
1
1
  import { FunctionalSvgIconComponent } from '../../types/FunctionalSvgIconComponent';
2
2
  import { SvgProps } from '@wikicasa-dev/types';
3
3
 
4
- export declare const InfoIcon: FunctionalSvgIconComponent<Partial<SvgProps>>;
4
+ export declare const InfoIcon: FunctionalSvgIconComponent<Partial<SvgProps & {
5
+ 'fill-color': `#${string}`;
6
+ color: `#${string}`;
7
+ }>>;
@@ -0,0 +1,9 @@
1
+ interface DefaultSvgPropsValues {
2
+ width: number;
3
+ height: number;
4
+ strokeColor: string;
5
+ fillColor: string;
6
+ color: string;
7
+ }
8
+ export declare const getDefaultSvgPropsValues: () => Readonly<DefaultSvgPropsValues>;
9
+ export {};
@@ -0,0 +1,8 @@
1
+ import { VNode } from 'vue';
2
+ import { SvgProps } from '@wikicasa-dev/types';
3
+
4
+ export declare const svgIconFactory: (svgData: {
5
+ props: Partial<SvgProps>;
6
+ svgNodeAttrs: Record<string, any>;
7
+ childrenNodes: VNode[] | VNode;
8
+ }) => VNode;
@@ -0,0 +1,8 @@
1
+ import { VNode } from 'vue';
2
+ import { SvgImageProps } from '@wikicasa-dev/types';
3
+
4
+ export declare const svgImagefactory: (svgData: {
5
+ props: SvgImageProps;
6
+ svgNodeAttrs: Record<string, any>;
7
+ childrenNodes: VNode[] | VNode;
8
+ }) => VNode;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wikicasa-dev/svg-icons",
3
- "version": "0.2.2",
3
+ "version": "0.2.5",
4
4
  "type": "module",
5
5
  "main": "./dist/index.js",
6
6
  "types": "./dist/lib/index.d.ts",