@symbo.ls/link 0.5.3 → 0.6.4
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 +32 -0
- package/dist/index.js.map +1 -0
- package/package.json +6 -5
- package/packages/react/dist/index.js +17 -0
- package/packages/react/dist/index.js.map +1 -0
- package/packages/react/package.json +8 -3
- package/packages/react/src/index.js +8 -0
- package/packages/react/index.js +0 -1
package/dist/index.js
ADDED
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
var $hXKMF$symbolsshape = require("@symbo.ls/shape");
|
|
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, "Link", () => $165ac2011b2adf5a$export$a6c7ac8248d6e38a);
|
|
8
|
+
|
|
9
|
+
'use strict';
|
|
10
|
+
const $165ac2011b2adf5a$export$a6c7ac8248d6e38a = {
|
|
11
|
+
proto: [
|
|
12
|
+
$hXKMF$symbolsshape.Shape
|
|
13
|
+
],
|
|
14
|
+
tag: 'a',
|
|
15
|
+
props: {
|
|
16
|
+
href: '',
|
|
17
|
+
target: '',
|
|
18
|
+
theme: 'link',
|
|
19
|
+
aria: {
|
|
20
|
+
}
|
|
21
|
+
},
|
|
22
|
+
attr: {
|
|
23
|
+
href: ({ props: props })=>props.href
|
|
24
|
+
,
|
|
25
|
+
target: ({ props: props })=>props.target
|
|
26
|
+
,
|
|
27
|
+
'aria-label': ({ props: props })=>props.aria.label || props.text
|
|
28
|
+
}
|
|
29
|
+
};
|
|
30
|
+
|
|
31
|
+
|
|
32
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"mappings":";;;;;;;;AAAA,CAAY;AAIL,KAAK,CAAC,yCAAI,GAAG,CAAC;IACnB,KAAK,EAAE,CAAC;QAAA,yBAAK;IAAA,CAAC;IACd,GAAG,EAAE,CAAG;IACR,KAAK,EAAE,CAAC;QACN,IAAI,EAAE,CAAE;QACR,MAAM,EAAE,CAAE;QACV,KAAK,EAAE,CAAM;QACb,IAAI,EAAE,CAAC;QAAA,CAAC;IACV,CAAC;IACD,IAAI,EAAE,CAAC;QACL,IAAI,GAAG,CAAC,QAAC,KAAK,EAAC,CAAC,GAAK,KAAK,CAAC,IAAI;;QAC/B,MAAM,GAAG,CAAC,QAAC,KAAK,EAAC,CAAC,GAAK,KAAK,CAAC,MAAM;;QACnC,CAAY,cAAG,CAAC,QAAC,KAAK,EAAC,CAAC,GAAK,KAAK,CAAC,IAAI,CAAC,KAAK,IAAI,KAAK,CAAC,IAAI;IAC7D,CAAC;AACH,CAAC","sources":["packages/link/src/index.js"],"sourcesContent":["'use strict'\n\nimport { Shape } from '@symbo.ls/shape'\n\nexport const Link = {\n proto: [Shape],\n tag: 'a',\n props: {\n href: '',\n target: '',\n theme: 'link',\n aria: {}\n },\n attr: {\n href: ({ props }) => props.href,\n target: ({ props }) => props.target,\n 'aria-label': ({ props }) => props.aria.label || props.text\n }\n}\n"],"names":[],"version":3,"file":"index.js.map"}
|
package/package.json
CHANGED
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@symbo.ls/link",
|
|
3
|
-
"version": "0.
|
|
4
|
-
"main": "
|
|
3
|
+
"version": "0.6.4",
|
|
4
|
+
"main": "dist/index.js",
|
|
5
5
|
"license": "MIT",
|
|
6
|
-
"gitHead": "
|
|
6
|
+
"gitHead": "f63471187f89dac3ca366bfa02c2327db68e9690",
|
|
7
7
|
"dependencies": {
|
|
8
|
-
"@symbo.ls/shape": "^0.
|
|
9
|
-
}
|
|
8
|
+
"@symbo.ls/shape": "^0.6.4"
|
|
9
|
+
},
|
|
10
|
+
"source": "src/index.js"
|
|
10
11
|
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
var $iItvT$domqlreacttransformer = require("@domql/react-transformer");
|
|
2
|
+
var $iItvT$symbolslink = require("@symbo.ls/link");
|
|
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, "Link", () => $5ff1a08643c5f6b3$export$a6c7ac8248d6e38a);
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
'use strict';
|
|
12
|
+
const $5ff1a08643c5f6b3$export$a6c7ac8248d6e38a = (props, state)=>{
|
|
13
|
+
return $iItvT$domqlreacttransformer.reactTransformer($iItvT$symbolslink.Link, 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/link/packages/react/src/index.js"],"sourcesContent":["'use strict'\n\nimport { reactTransformer } from '@domql/react-transformer'\nimport { Link as component } from '@symbo.ls/link'\n\nexport const Link = (props, state) => {\n return reactTransformer(component, props, state)\n}\n"],"names":[],"version":3,"file":"index.js.map"}
|
|
@@ -1,7 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@symbo.ls/react-link",
|
|
3
|
-
"version": "0.
|
|
4
|
-
"main": "index.js",
|
|
3
|
+
"version": "0.6.4",
|
|
4
|
+
"main": "dist/index.js",
|
|
5
5
|
"license": "MIT",
|
|
6
|
-
"gitHead": "
|
|
6
|
+
"gitHead": "f63471187f89dac3ca366bfa02c2327db68e9690",
|
|
7
|
+
"dependencies": {
|
|
8
|
+
"@domql/react-transformer": "^2.0.0",
|
|
9
|
+
"@symbo.ls/link": "^0.6.4"
|
|
10
|
+
},
|
|
11
|
+
"source": "src/index.js"
|
|
7
12
|
}
|
package/packages/react/index.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
'use strict'
|