@symbo.ls/link 0.6.5 → 0.6.16
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/{src/index.js → index.js} +1 -1
- package/package.json +3 -3
- package/packages/react/index.js +8 -0
- package/packages/react/package.json +4 -4
- package/dist/index.js +0 -32
- package/dist/index.js.map +0 -1
- package/packages/react/dist/index.js +0 -17
- package/packages/react/dist/index.js.map +0 -1
- package/packages/react/src/index.js +0 -8
package/package.json
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@symbo.ls/link",
|
|
3
|
-
"version": "0.6.
|
|
3
|
+
"version": "0.6.16",
|
|
4
4
|
"main": "dist/index.js",
|
|
5
5
|
"license": "MIT",
|
|
6
|
-
"gitHead": "
|
|
6
|
+
"gitHead": "0cc8d34533c6e162987c235296c7bb66b975fac7",
|
|
7
7
|
"dependencies": {
|
|
8
|
-
"@symbo.ls/shape": "^0.6.
|
|
8
|
+
"@symbo.ls/shape": "^0.6.15"
|
|
9
9
|
},
|
|
10
10
|
"source": "src/index.js"
|
|
11
11
|
}
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@symbo.ls/react-link",
|
|
3
|
-
"version": "0.6.
|
|
3
|
+
"version": "0.6.16",
|
|
4
4
|
"main": "dist/index.js",
|
|
5
5
|
"license": "MIT",
|
|
6
|
-
"gitHead": "
|
|
6
|
+
"gitHead": "0cc8d34533c6e162987c235296c7bb66b975fac7",
|
|
7
7
|
"dependencies": {
|
|
8
|
-
"@symbo.ls/link": "^0.6.
|
|
9
|
-
"@symbo.ls/react
|
|
8
|
+
"@symbo.ls/link": "^0.6.16",
|
|
9
|
+
"@symbo.ls/transform-react": "^0.6.15"
|
|
10
10
|
},
|
|
11
11
|
"source": "src/index.js"
|
|
12
12
|
}
|
package/dist/index.js
DELETED
|
@@ -1,32 +0,0 @@
|
|
|
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
|
package/dist/index.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
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"}
|
|
@@ -1,17 +0,0 @@
|
|
|
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
|
|
@@ -1 +0,0 @@
|
|
|
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"}
|