@symbo.ls/icon 0.4.3 → 0.6.2

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/index.js ADDED
@@ -0,0 +1,34 @@
1
+ var $5f56q$symbolssvg = require("@symbo.ls/svg");
2
+
3
+ function $parcel$export(e, n, v, s) {
4
+ Object.defineProperty(e, n, {get: v, set: s, enumerable: true, configurable: true});
5
+ }
6
+
7
+ $parcel$export(module.exports, "Icon", () => $7e87075154444325$export$f04a61298a47a40f);
8
+ 'use strict';
9
+ var $3a70809c2c7a5ebf$export$2e2bcd8739ae039 = {
10
+ width: '1em',
11
+ height: '1em',
12
+ fill: 'currentColor',
13
+ display: 'inline-block'
14
+ };
15
+
16
+
17
+
18
+ 'use strict';
19
+ const $7e87075154444325$export$f04a61298a47a40f = {
20
+ proto: $5f56q$symbolssvg.SVG,
21
+ style: $3a70809c2c7a5ebf$export$2e2bcd8739ae039,
22
+ define: {
23
+ name: (param)=>param
24
+ },
25
+ name: ({ props: props })=>props.icon
26
+ ,
27
+ attr: {
28
+ viewBox: '0 0 24 24'
29
+ },
30
+ src: ({ key: key , name: name })=>name || key || 'noIcon'
31
+ };
32
+
33
+
34
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"mappings":";;;;;;;ACAA,CAAY;IAEZ,wCAKC,GALc,CAAC;IACd,KAAK,EAAE,CAAK;IACZ,MAAM,EAAE,CAAK;IACb,IAAI,EAAE,CAAc;IACpB,OAAO,EAAE,CAAc;AACzB,CAAC;;;;ADPD,CAAY;AAML,KAAK,CAAC,yCAAI,GAAG,CAAC;IACnB,KAAK,EAAE,qBAAG;WACV,wCAAK;IACL,MAAM,EAAE,CAAC;QAAC,IAAI,GAAE,KAAK,GAAI,KAAK;IAAC,CAAC;IAChC,IAAI,GAAG,CAAC,QAAC,KAAK,EAAC,CAAC,GAAK,KAAK,CAAC,IAAI;;IAC/B,IAAI,EAAE,CAAC;QAAC,OAAO,EAAE,CAAW;IAAC,CAAC;IAC9B,GAAG,GAAG,CAAC,MAAC,GAAG,SAAE,IAAI,EAAC,CAAC,GAAK,IAAI,IAAI,GAAG,IAAI,CAAQ;AACjD,CAAC","sources":["packages/icon/src/index.js","packages/icon/src/style.js"],"sourcesContent":["'use strict'\n\nimport style from './style'\n\nimport { SVG } from '@symbo.ls/svg'\n\nexport const Icon = {\n proto: SVG,\n style,\n define: { name: param => param },\n name: ({ props }) => props.icon,\n attr: { viewBox: '0 0 24 24' },\n src: ({ key, name }) => name || key || 'noIcon'\n}\n","'use strict'\n\nexport default {\n width: '1em',\n height: '1em',\n fill: 'currentColor',\n display: 'inline-block'\n}\n"],"names":[],"version":3,"file":"index.js.map"}
package/package.json CHANGED
@@ -1,10 +1,10 @@
1
1
  {
2
2
  "name": "@symbo.ls/icon",
3
- "version": "0.4.3",
4
- "main": "src/index.js",
3
+ "version": "0.6.2",
4
+ "main": "dist/index.js",
5
5
  "license": "MIT",
6
- "gitHead": "f9ff8cad170955f2f2c63dbf530d04b76f2238e0",
6
+ "gitHead": "015f3b6e144e70bdc8ee765dca38cfbcfc775e21",
7
7
  "dependencies": {
8
- "@symbo.ls/svg": "^0.4.2"
8
+ "@symbo.ls/svg": "^0.6.2"
9
9
  }
10
10
  }
@@ -0,0 +1,17 @@
1
+ var $dupo7$domqlreacttransformer = require("@domql/react-transformer");
2
+ var $dupo7$symbolsicon = require("@symbo.ls/icon");
3
+
4
+ function $parcel$export(e, n, v, s) {
5
+ Object.defineProperty(e, n, {get: v, set: s, enumerable: true, configurable: true});
6
+ }
7
+
8
+ $parcel$export(module.exports, "Icon", () => $81436c0e00c21d06$export$f04a61298a47a40f);
9
+
10
+
11
+ 'use strict';
12
+ const $81436c0e00c21d06$export$f04a61298a47a40f = (props, state)=>{
13
+ return $dupo7$domqlreacttransformer.reactTransformer($dupo7$symbolsicon.Icon, props, state);
14
+ };
15
+
16
+
17
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"mappings":";;;;;;;;;;AAAA,CAAY;AAKL,KAAK,CAAC,yCAAI,IAAI,KAAK,EAAE,KAAK,GAAK,CAAC;IACrC,MAAM,CAAC,6CAAgB,CAAC,uBAAS,EAAE,KAAK,EAAE,KAAK;AACjD,CAAC","sources":["packages/icon/packages/react/src/index.js"],"sourcesContent":["'use strict'\n\nimport { reactTransformer } from '@domql/react-transformer'\nimport { Icon as component } from '@symbo.ls/icon'\n\nexport const Icon = (props, state) => {\n return reactTransformer(component, props, state)\n}\n"],"names":[],"version":3,"file":"index.js.map"}
@@ -1,7 +1,11 @@
1
1
  {
2
2
  "name": "@symbo.ls/react-icon",
3
- "version": "0.4.3",
4
- "main": "index.js",
3
+ "version": "0.6.2",
4
+ "main": "dist/index.js",
5
5
  "license": "MIT",
6
- "gitHead": "f9ff8cad170955f2f2c63dbf530d04b76f2238e0"
6
+ "gitHead": "015f3b6e144e70bdc8ee765dca38cfbcfc775e21",
7
+ "dependencies": {
8
+ "@domql/react-transformer": "^2.0.0",
9
+ "@symbo.ls/icon": "^0.6.2"
10
+ }
7
11
  }
@@ -0,0 +1,8 @@
1
+ 'use strict'
2
+
3
+ import { reactTransformer } from '@domql/react-transformer'
4
+ import { Icon as component } from '@symbo.ls/icon'
5
+
6
+ export const Icon = (props, state) => {
7
+ return reactTransformer(component, props, state)
8
+ }
@@ -1 +0,0 @@
1
- 'use strict'