@symbo.ls/button 0.5.7 → 0.6.1

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.
Files changed (130) hide show
  1. package/dist/index.js +99 -0
  2. package/dist/index.js.map +1 -0
  3. package/package.json +7 -7
  4. package/packages/react/dist/index.js +17 -0
  5. package/packages/react/dist/index.js.map +1 -0
  6. package/packages/react/package.json +4 -4
  7. package/packages/react/{index.js → src/index.js} +1 -1
  8. package/packages/react/node_modules/.yarn-integrity +0 -91
  9. package/packages/react/node_modules/@domql/cache/LICENSE +0 -21
  10. package/packages/react/node_modules/@domql/cache/index.js +0 -0
  11. package/packages/react/node_modules/@domql/cache/package.json +0 -10
  12. package/packages/react/node_modules/@domql/cookie/LICENSE +0 -21
  13. package/packages/react/node_modules/@domql/cookie/index.js +0 -22
  14. package/packages/react/node_modules/@domql/cookie/package.json +0 -10
  15. package/packages/react/node_modules/@domql/define/LICENSE +0 -21
  16. package/packages/react/node_modules/@domql/define/index.js +0 -13
  17. package/packages/react/node_modules/@domql/define/package.json +0 -11
  18. package/packages/react/node_modules/@domql/domql/LICENSE +0 -21
  19. package/packages/react/node_modules/@domql/domql/package.json +0 -33
  20. package/packages/react/node_modules/@domql/domql/src/all_exports.js +0 -17
  21. package/packages/react/node_modules/@domql/domql/src/index.js +0 -15
  22. package/packages/react/node_modules/@domql/element/LICENSE +0 -21
  23. package/packages/react/node_modules/@domql/element/package.json +0 -20
  24. package/packages/react/node_modules/@domql/element/src/assign.js +0 -22
  25. package/packages/react/node_modules/@domql/element/src/create.js +0 -125
  26. package/packages/react/node_modules/@domql/element/src/index.js +0 -8
  27. package/packages/react/node_modules/@domql/element/src/iterate.js +0 -80
  28. package/packages/react/node_modules/@domql/element/src/methods.js +0 -96
  29. package/packages/react/node_modules/@domql/element/src/set.js +0 -44
  30. package/packages/react/node_modules/@domql/element/src/update.js +0 -98
  31. package/packages/react/node_modules/@domql/event/LICENSE +0 -21
  32. package/packages/react/node_modules/@domql/event/package.json +0 -14
  33. package/packages/react/node_modules/@domql/event/src/can.js +0 -10
  34. package/packages/react/node_modules/@domql/event/src/index.js +0 -11
  35. package/packages/react/node_modules/@domql/event/src/is.js +0 -13
  36. package/packages/react/node_modules/@domql/event/src/on.js +0 -33
  37. package/packages/react/node_modules/@domql/event/src/store.js +0 -6
  38. package/packages/react/node_modules/@domql/event/src/wrappers.js +0 -14
  39. package/packages/react/node_modules/@domql/event/yarn-error.log +0 -44
  40. package/packages/react/node_modules/@domql/id/LICENSE +0 -21
  41. package/packages/react/node_modules/@domql/id/index.js +0 -12
  42. package/packages/react/node_modules/@domql/id/package.json +0 -10
  43. package/packages/react/node_modules/@domql/mixins/LICENSE +0 -21
  44. package/packages/react/node_modules/@domql/mixins/package.json +0 -12
  45. package/packages/react/node_modules/@domql/mixins/src/attr.js +0 -19
  46. package/packages/react/node_modules/@domql/mixins/src/classList.js +0 -37
  47. package/packages/react/node_modules/@domql/mixins/src/content.js +0 -17
  48. package/packages/react/node_modules/@domql/mixins/src/data.js +0 -21
  49. package/packages/react/node_modules/@domql/mixins/src/html.js +0 -17
  50. package/packages/react/node_modules/@domql/mixins/src/index.js +0 -11
  51. package/packages/react/node_modules/@domql/mixins/src/registry.js +0 -55
  52. package/packages/react/node_modules/@domql/mixins/src/state.js +0 -16
  53. package/packages/react/node_modules/@domql/mixins/src/style.js +0 -14
  54. package/packages/react/node_modules/@domql/mixins/src/text.js +0 -19
  55. package/packages/react/node_modules/@domql/node/LICENSE +0 -21
  56. package/packages/react/node_modules/@domql/node/package.json +0 -17
  57. package/packages/react/node_modules/@domql/node/src/cache.js +0 -52
  58. package/packages/react/node_modules/@domql/node/src/create.js +0 -86
  59. package/packages/react/node_modules/@domql/node/src/index.js +0 -5
  60. package/packages/react/node_modules/@domql/node/src/registry.js +0 -139
  61. package/packages/react/node_modules/@domql/parse/LICENSE +0 -21
  62. package/packages/react/node_modules/@domql/parse/index.js +0 -16
  63. package/packages/react/node_modules/@domql/parse/package.json +0 -10
  64. package/packages/react/node_modules/@domql/props/LICENSE +0 -21
  65. package/packages/react/node_modules/@domql/props/package.json +0 -10
  66. package/packages/react/node_modules/@domql/props/src/index.js +0 -62
  67. package/packages/react/node_modules/@domql/proto/LICENSE +0 -21
  68. package/packages/react/node_modules/@domql/proto/index.js +0 -66
  69. package/packages/react/node_modules/@domql/proto/package.json +0 -10
  70. package/packages/react/node_modules/@domql/react-transformer/LICENSE +0 -21
  71. package/packages/react/node_modules/@domql/react-transformer/index.js +0 -26
  72. package/packages/react/node_modules/@domql/react-transformer/package.json +0 -12
  73. package/packages/react/node_modules/@domql/react-transformer/yarn-error.log +0 -41
  74. package/packages/react/node_modules/@domql/report/LICENSE +0 -21
  75. package/packages/react/node_modules/@domql/report/index.js +0 -62
  76. package/packages/react/node_modules/@domql/report/package.json +0 -7
  77. package/packages/react/node_modules/@domql/state/LICENSE +0 -21
  78. package/packages/react/node_modules/@domql/state/package.json +0 -11
  79. package/packages/react/node_modules/@domql/state/src/index.js +0 -51
  80. package/packages/react/node_modules/@domql/tree/LICENSE +0 -21
  81. package/packages/react/node_modules/@domql/tree/index.js +0 -6
  82. package/packages/react/node_modules/@domql/tree/package.json +0 -10
  83. package/packages/react/node_modules/@domql/tree/root.js +0 -8
  84. package/packages/react/node_modules/@domql/utils/LICENSE +0 -21
  85. package/packages/react/node_modules/@domql/utils/package.json +0 -13
  86. package/packages/react/node_modules/@domql/utils/src/index.js +0 -5
  87. package/packages/react/node_modules/@domql/utils/src/node.js +0 -10
  88. package/packages/react/node_modules/@domql/utils/src/object.js +0 -193
  89. package/packages/react/node_modules/@domql/utils/src/protoUtils.js +0 -119
  90. package/packages/react/node_modules/js-tokens/CHANGELOG.md +0 -151
  91. package/packages/react/node_modules/js-tokens/LICENSE +0 -21
  92. package/packages/react/node_modules/js-tokens/README.md +0 -240
  93. package/packages/react/node_modules/js-tokens/index.js +0 -23
  94. package/packages/react/node_modules/js-tokens/package.json +0 -30
  95. package/packages/react/node_modules/loose-envify/LICENSE +0 -21
  96. package/packages/react/node_modules/loose-envify/README.md +0 -45
  97. package/packages/react/node_modules/loose-envify/cli.js +0 -16
  98. package/packages/react/node_modules/loose-envify/custom.js +0 -4
  99. package/packages/react/node_modules/loose-envify/index.js +0 -3
  100. package/packages/react/node_modules/loose-envify/loose-envify.js +0 -36
  101. package/packages/react/node_modules/loose-envify/package.json +0 -36
  102. package/packages/react/node_modules/loose-envify/replace.js +0 -65
  103. package/packages/react/node_modules/object-assign/index.js +0 -90
  104. package/packages/react/node_modules/object-assign/license +0 -21
  105. package/packages/react/node_modules/object-assign/package.json +0 -42
  106. package/packages/react/node_modules/object-assign/readme.md +0 -61
  107. package/packages/react/node_modules/react/LICENSE +0 -21
  108. package/packages/react/node_modules/react/README.md +0 -13
  109. package/packages/react/node_modules/react/build-info.json +0 -8
  110. package/packages/react/node_modules/react/cjs/react-jsx-dev-runtime.development.js +0 -1203
  111. package/packages/react/node_modules/react/cjs/react-jsx-dev-runtime.production.min.js +0 -9
  112. package/packages/react/node_modules/react/cjs/react-jsx-dev-runtime.profiling.min.js +0 -9
  113. package/packages/react/node_modules/react/cjs/react-jsx-runtime.development.js +0 -1221
  114. package/packages/react/node_modules/react/cjs/react-jsx-runtime.production.min.js +0 -10
  115. package/packages/react/node_modules/react/cjs/react-jsx-runtime.profiling.min.js +0 -10
  116. package/packages/react/node_modules/react/cjs/react.development.js +0 -2333
  117. package/packages/react/node_modules/react/cjs/react.production.min.js +0 -23
  118. package/packages/react/node_modules/react/index.js +0 -7
  119. package/packages/react/node_modules/react/jsx-dev-runtime.js +0 -7
  120. package/packages/react/node_modules/react/jsx-runtime.js +0 -7
  121. package/packages/react/node_modules/react/package.json +0 -39
  122. package/packages/react/node_modules/react/umd/react.development.js +0 -3357
  123. package/packages/react/node_modules/react/umd/react.production.min.js +0 -31
  124. package/packages/react/node_modules/react/umd/react.profiling.min.js +0 -36
  125. package/packages/react/node_modules/regenerator-runtime/LICENSE +0 -21
  126. package/packages/react/node_modules/regenerator-runtime/README.md +0 -31
  127. package/packages/react/node_modules/regenerator-runtime/package.json +0 -19
  128. package/packages/react/node_modules/regenerator-runtime/path.js +0 -11
  129. package/packages/react/node_modules/regenerator-runtime/runtime.js +0 -754
  130. package/packages/react/yarn.lock +0 -183
package/dist/index.js ADDED
@@ -0,0 +1,99 @@
1
+ var $eKWst$symbolsshape = require("@symbo.ls/shape");
2
+ var $eKWst$symbolsicontext = require("@symbo.ls/icon-text");
3
+ var $eKWst$symbolsblock = require("@symbo.ls/block");
4
+ var $eKWst$symbolsdirection = require("@symbo.ls/direction");
5
+
6
+ function $parcel$defineInteropFlag(a) {
7
+ Object.defineProperty(a, '__esModule', {value: true, configurable: true});
8
+ }
9
+ function $parcel$export(e, n, v, s) {
10
+ Object.defineProperty(e, n, {get: v, set: s, enumerable: true, configurable: true});
11
+ }
12
+
13
+ $parcel$defineInteropFlag(module.exports);
14
+
15
+ $parcel$export(module.exports, "Button", () => $d81ab3f5655f26d0$export$353f5b6fc5456de1);
16
+ $parcel$export(module.exports, "SquareButton", () => $d81ab3f5655f26d0$export$51cd5c72b5e560c6);
17
+ $parcel$export(module.exports, "CircleButton", () => $d81ab3f5655f26d0$export$235c11ae4b685dbd);
18
+ $parcel$export(module.exports, "KangorooButton", () => $d81ab3f5655f26d0$export$6fbe98cd572b6a70);
19
+ $parcel$export(module.exports, "default", () => $d81ab3f5655f26d0$export$2e2bcd8739ae039);
20
+
21
+
22
+
23
+
24
+ 'use strict';
25
+ var $a066f8277a467f68$export$2e2bcd8739ae039 = {
26
+ appearance: 'none',
27
+ border: 'none',
28
+ outline: 0,
29
+ cursor: 'pointer',
30
+ fontFamily: 'inherit',
31
+ display: 'inline-flex',
32
+ alignItems: 'center',
33
+ justifyContent: 'center',
34
+ textDecoration: 'none'
35
+ };
36
+
37
+
38
+ 'use strict';
39
+ const $d81ab3f5655f26d0$export$353f5b6fc5456de1 = {
40
+ proto: [
41
+ $eKWst$symbolsshape.Shape,
42
+ $eKWst$symbolsblock.Block,
43
+ $eKWst$symbolsicontext.IconText,
44
+ $eKWst$symbolsdirection.Direction
45
+ ],
46
+ tag: 'button',
47
+ style: $a066f8277a467f68$export$2e2bcd8739ae039,
48
+ props: {
49
+ type: 'button'
50
+ },
51
+ attr: {
52
+ type: ({ props: props })=>props.type
53
+ }
54
+ };
55
+ const $d81ab3f5655f26d0$export$51cd5c72b5e560c6 = {
56
+ proto: $d81ab3f5655f26d0$export$353f5b6fc5456de1,
57
+ props: {
58
+ size: 'A',
59
+ width: 'A',
60
+ padding: 'Z',
61
+ aspectRatio: '1 / 1',
62
+ round: 'Z'
63
+ },
64
+ class: {
65
+ squareButton: {
66
+ justifyContent: 'center',
67
+ boxSizing: 'content-box'
68
+ }
69
+ }
70
+ };
71
+ const $d81ab3f5655f26d0$export$235c11ae4b685dbd = {
72
+ proto: $d81ab3f5655f26d0$export$51cd5c72b5e560c6,
73
+ props: {
74
+ round: 'C'
75
+ }
76
+ };
77
+ const $d81ab3f5655f26d0$export$6fbe98cd572b6a70 = {
78
+ tag: 'button',
79
+ proto: [
80
+ $eKWst$symbolsshape.Shape,
81
+ $eKWst$symbolsdirection.Direction,
82
+ $eKWst$symbolsblock.Block
83
+ ],
84
+ style: $a066f8277a467f68$export$2e2bcd8739ae039,
85
+ iconText: {
86
+ proto: $eKWst$symbolsicontext.IconText
87
+ },
88
+ child: {
89
+ proto: [
90
+ $eKWst$symbolsshape.Shape,
91
+ $eKWst$symbolsblock.Block,
92
+ $eKWst$symbolsicontext.IconText
93
+ ]
94
+ }
95
+ };
96
+ var $d81ab3f5655f26d0$export$2e2bcd8739ae039 = $d81ab3f5655f26d0$export$353f5b6fc5456de1;
97
+
98
+
99
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"mappings":";;;;;;;;;;;;;;;;;;;;;;;ACAA,CAAY;IAEZ,wCAUC,GAVc,CAAC;IACd,UAAU,EAAE,CAAM;IAClB,MAAM,EAAE,CAAM;IACd,OAAO,EAAE,CAAC;IACV,MAAM,EAAE,CAAS;IACjB,UAAU,EAAE,CAAS;IACrB,OAAO,EAAE,CAAa;IACtB,UAAU,EAAE,CAAQ;IACpB,cAAc,EAAE,CAAQ;IACxB,cAAc,EAAE,CAAM;AACxB,CAAC;;;ADZD,CAAY;AASL,KAAK,CAAC,yCAAM,GAAG,CAAC;IACrB,KAAK,EAAE,CAAC;QAAA,yBAAK;QAAE,yBAAK;QAAE,+BAAQ;QAAE,iCAAS;IAAA,CAAC;IAC1C,GAAG,EAAE,CAAQ;WACb,wCAAK;IACL,KAAK,EAAE,CAAC;QACN,IAAI,EAAE,CAAQ;IAChB,CAAC;IACD,IAAI,EAAE,CAAC;QACL,IAAI,GAAG,CAAC,QAAC,KAAK,EAAC,CAAC,GAAK,KAAK,CAAC,IAAI;IACjC,CAAC;AACH,CAAC;AAEM,KAAK,CAAC,yCAAY,GAAG,CAAC;IAC3B,KAAK,EAAE,yCAAM;IACb,KAAK,EAAE,CAAC;QACN,IAAI,EAAE,CAAG;QACT,KAAK,EAAE,CAAG;QACV,OAAO,EAAE,CAAG;QACZ,WAAW,EAAE,CAAO;QACpB,KAAK,EAAE,CAAG;IACZ,CAAC;IACD,KAAK,EAAE,CAAC;QACN,YAAY,EAAE,CAAC;YACb,cAAc,EAAE,CAAQ;YACxB,SAAS,EAAE,CAAa;QAC1B,CAAC;IACH,CAAC;AACH,CAAC;AAEM,KAAK,CAAC,yCAAY,GAAG,CAAC;IAC3B,KAAK,EAAE,yCAAY;IACnB,KAAK,EAAE,CAAC;QAAC,KAAK,EAAE,CAAG;IAAC,CAAC;AACvB,CAAC;AAEM,KAAK,CAAC,yCAAc,GAAG,CAAC;IAC7B,GAAG,EAAE,CAAQ;IACb,KAAK,EAAE,CAAC;QAAA,yBAAK;QAAE,iCAAS;QAAE,yBAAK;IAAA,CAAC;WAChC,wCAAK;IAEL,QAAQ,EAAE,CAAC;QACT,KAAK,EAAE,+BAAQ;IACjB,CAAC;IAED,KAAK,EAAE,CAAC;QACN,KAAK,EAAE,CAAC;YAAA,yBAAK;YAAE,yBAAK;YAAE,+BAAQ;QAAA,CAAC;IACjC,CAAC;AACH,CAAC;IAED,wCAAqB,GAAN,yCAAM","sources":["packages/button/src/index.js","packages/button/src/style.js"],"sourcesContent":["'use strict'\n\nimport { Shape } from '@symbo.ls/shape'\nimport { IconText } from '@symbo.ls/icon-text'\nimport { Block } from '@symbo.ls/block'\nimport { Direction } from '@symbo.ls/direction'\n\nimport style from './style'\n\nexport const Button = {\n proto: [Shape, Block, IconText, Direction],\n tag: 'button',\n style,\n props: {\n type: 'button'\n },\n attr: {\n type: ({ props }) => props.type\n }\n}\n\nexport const SquareButton = {\n proto: Button,\n props: {\n size: 'A',\n width: 'A',\n padding: 'Z',\n aspectRatio: '1 / 1',\n round: 'Z'\n },\n class: {\n squareButton: {\n justifyContent: 'center',\n boxSizing: 'content-box'\n }\n }\n}\n\nexport const CircleButton = {\n proto: SquareButton,\n props: { round: 'C' }\n}\n\nexport const KangorooButton = {\n tag: 'button',\n proto: [Shape, Direction, Block],\n style,\n\n iconText: {\n proto: IconText\n },\n\n child: {\n proto: [Shape, Block, IconText]\n }\n}\n\nexport default Button\n","'use strict'\n\nexport default {\n appearance: 'none',\n border: 'none',\n outline: 0,\n cursor: 'pointer',\n fontFamily: 'inherit',\n display: 'inline-flex',\n alignItems: 'center',\n justifyContent: 'center',\n textDecoration: 'none'\n}\n"],"names":[],"version":3,"file":"index.js.map"}
package/package.json CHANGED
@@ -1,13 +1,13 @@
1
1
  {
2
2
  "name": "@symbo.ls/button",
3
- "version": "0.5.7",
4
- "main": "src/index.js",
3
+ "version": "0.6.1",
4
+ "main": "dist/index.js",
5
5
  "license": "MIT",
6
- "gitHead": "830b469b41869c665f7c05c1b0371793a1385a6d",
6
+ "gitHead": "696d9a30a254d39860ebc3385f0114ce62cc9654",
7
7
  "dependencies": {
8
- "@symbo.ls/block": "^0.5.3",
9
- "@symbo.ls/direction": "^0.5.3",
10
- "@symbo.ls/icon-text": "^0.5.3",
11
- "@symbo.ls/shape": "^0.5.3"
8
+ "@symbo.ls/block": "^0.6.0",
9
+ "@symbo.ls/direction": "^0.6.1",
10
+ "@symbo.ls/icon-text": "^0.6.1",
11
+ "@symbo.ls/shape": "^0.6.1"
12
12
  }
13
13
  }
@@ -0,0 +1,17 @@
1
+ var $4nQLP$domqlreacttransformer = require("@domql/react-transformer");
2
+ var $4nQLP$symbolsbutton = require("@symbo.ls/button");
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, "Button", () => $d19727fd684347e6$export$353f5b6fc5456de1);
9
+
10
+
11
+ 'use strict';
12
+ const $d19727fd684347e6$export$353f5b6fc5456de1 = (props, state)=>{
13
+ return $4nQLP$domqlreacttransformer.reactTransformer($4nQLP$symbolsbutton.Button, props, state);
14
+ };
15
+
16
+
17
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"mappings":";;;;;;;;;;AAAA,CAAY;AAKL,KAAK,CAAC,yCAAM,IAAI,KAAK,EAAE,KAAK,GAAK,CAAC;IACvC,MAAM,CAAC,6CAAgB,CAAC,2BAAS,EAAE,KAAK,EAAE,KAAK;AACjD,CAAC","sources":["packages/button/packages/react/src/index.js"],"sourcesContent":["'use strict'\n\nimport { reactTransformer } from '@domql/react-transformer'\nimport { Button as component } from '@symbo.ls/button'\n\nexport const Button = (props, state) => {\n return reactTransformer(component, props, state)\n}\n"],"names":[],"version":3,"file":"index.js.map"}
@@ -1,11 +1,11 @@
1
1
  {
2
2
  "name": "@symbo.ls/react-button",
3
- "version": "0.5.7",
4
- "main": "index.js",
3
+ "version": "0.6.1",
4
+ "main": "dist/index.js",
5
5
  "license": "MIT",
6
- "gitHead": "830b469b41869c665f7c05c1b0371793a1385a6d",
6
+ "gitHead": "696d9a30a254d39860ebc3385f0114ce62cc9654",
7
7
  "dependencies": {
8
8
  "@domql/react-transformer": "^1.3.0",
9
- "@symbo.ls/button": "^0.5.7"
9
+ "@symbo.ls/button": "^0.6.1"
10
10
  }
11
11
  }
@@ -4,5 +4,5 @@ import { reactTransformer } from '@domql/react-transformer'
4
4
  import { Button as component } from '@symbo.ls/button'
5
5
 
6
6
  export const Button = (props, state) => {
7
- reactTransformer(component, props, state)
7
+ return reactTransformer(component, props, state)
8
8
  }
@@ -1,91 +0,0 @@
1
- {
2
- "systemParams": "darwin-x64-83",
3
- "modulesFolders": [
4
- "node_modules"
5
- ],
6
- "flags": [],
7
- "linkedModules": [
8
- "@domql/cache",
9
- "@domql/cookie",
10
- "@domql/define",
11
- "@domql/domql",
12
- "@domql/element",
13
- "@domql/emotion",
14
- "@domql/event",
15
- "@domql/id",
16
- "@domql/mixins",
17
- "@domql/node",
18
- "@domql/object",
19
- "@domql/parse",
20
- "@domql/props",
21
- "@domql/proto",
22
- "@domql/report",
23
- "@domql/router",
24
- "@domql/state",
25
- "@domql/tree",
26
- "@domql/utils",
27
- "@rackai/classql",
28
- "@rackai/domql",
29
- "@rackai/editor",
30
- "@rackai/scratch",
31
- "@rackai/symbols",
32
- "@symbo-ls/components",
33
- "@symbo.ls/all",
34
- "@symbo.ls/auth",
35
- "@symbo.ls/config",
36
- "@symbo.ls/fetch",
37
- "@symbo.ls/grid-layouts",
38
- "@symbo.ls/icons",
39
- "@symbo.ls/loader",
40
- "@symbo.ls/scratch",
41
- "@symbols/all",
42
- "@symbols/auth",
43
- "@symbols/components",
44
- "@symbols/config",
45
- "@symbols/domql",
46
- "@symbols/fetch",
47
- "@symbols/icons",
48
- "@symbols/loader",
49
- "@symbols/scratch",
50
- "@symbols/uikit",
51
- "components",
52
- "icons"
53
- ],
54
- "topLevelPatterns": [
55
- "@domql/react-transformer@^1.3.0",
56
- "@symbo.ls/button@^0.5.3"
57
- ],
58
- "lockfileEntries": {
59
- "@domql/cache@latest": "https://registry.yarnpkg.com/@domql/cache/-/cache-1.3.0.tgz#cbcbee018ed6536ca1fd9dd6de9a5f533e942971",
60
- "@domql/cookie@latest": "https://registry.yarnpkg.com/@domql/cookie/-/cookie-1.3.0.tgz#d305bc3ea4c7470d60fa37046661b054d5903876",
61
- "@domql/define@latest": "https://registry.yarnpkg.com/@domql/define/-/define-1.3.0.tgz#f00b62feb33cb2118432d128403f00379152c4e3",
62
- "@domql/domql@^1.3.0": "https://registry.yarnpkg.com/@domql/domql/-/domql-1.3.0.tgz#e207eb04e033bff95bab2ec2f04054877f075437",
63
- "@domql/element@^1.3.0": "https://registry.yarnpkg.com/@domql/element/-/element-1.3.0.tgz#0a4bb937aafee695dfc22a46d33d4fd82cd52b39",
64
- "@domql/element@latest": "https://registry.yarnpkg.com/@domql/element/-/element-1.3.0.tgz#0a4bb937aafee695dfc22a46d33d4fd82cd52b39",
65
- "@domql/event@^1.3.0": "https://registry.yarnpkg.com/@domql/event/-/event-1.3.0.tgz#ac683e1f8b34734eb0ca49712537fdea1f04dafe",
66
- "@domql/event@latest": "https://registry.yarnpkg.com/@domql/event/-/event-1.3.0.tgz#ac683e1f8b34734eb0ca49712537fdea1f04dafe",
67
- "@domql/id@latest": "https://registry.yarnpkg.com/@domql/id/-/id-1.3.0.tgz#5b8dfd5af6ac952723411461b27ff3c726c2b15a",
68
- "@domql/mixins@^1.3.0": "https://registry.yarnpkg.com/@domql/mixins/-/mixins-1.3.0.tgz#483a1c3bb785f5d4bbad0123f9b219540cba6d26",
69
- "@domql/mixins@latest": "https://registry.yarnpkg.com/@domql/mixins/-/mixins-1.3.0.tgz#483a1c3bb785f5d4bbad0123f9b219540cba6d26",
70
- "@domql/node@^1.3.0": "https://registry.yarnpkg.com/@domql/node/-/node-1.3.0.tgz#9082f49951391e62948ce22e77dcc8172bbe801a",
71
- "@domql/node@latest": "https://registry.yarnpkg.com/@domql/node/-/node-1.3.0.tgz#9082f49951391e62948ce22e77dcc8172bbe801a",
72
- "@domql/parse@latest": "https://registry.yarnpkg.com/@domql/parse/-/parse-1.3.0.tgz#539d8522324be477d1c171ae844ec7d4cc07c80e",
73
- "@domql/props@latest": "https://registry.yarnpkg.com/@domql/props/-/props-1.3.0.tgz#ed0411fda65ca7c2cf1792c9248a6a2c12318b0a",
74
- "@domql/proto@latest": "https://registry.yarnpkg.com/@domql/proto/-/proto-1.3.0.tgz#d59967a415fd5afefba58b9c1fd95f04a281d930",
75
- "@domql/react-transformer@^1.3.0": "https://registry.yarnpkg.com/@domql/react-transformer/-/react-transformer-1.3.0.tgz#c496a8abf5ef20d24fc268c258711774cf9c09b9",
76
- "@domql/report@^1.3.0": "https://registry.yarnpkg.com/@domql/report/-/report-1.3.0.tgz#8aa5112c0812518781ac8b7f6cee614d1ecd1ff5",
77
- "@domql/report@latest": "https://registry.yarnpkg.com/@domql/report/-/report-1.3.0.tgz#8aa5112c0812518781ac8b7f6cee614d1ecd1ff5",
78
- "@domql/state@latest": "https://registry.yarnpkg.com/@domql/state/-/state-1.3.0.tgz#a584d86233f031a1e531c03df518968f82da3124",
79
- "@domql/tree@latest": "https://registry.yarnpkg.com/@domql/tree/-/tree-1.3.0.tgz#77613edc6a36ac0465aba7f9a89e7f70e35f3ba0",
80
- "@domql/utils@^1.3.0": "https://registry.yarnpkg.com/@domql/utils/-/utils-1.3.0.tgz#647aa8fe2dd026e8dde520a436f362e274a02d06",
81
- "@domql/utils@latest": "https://registry.yarnpkg.com/@domql/utils/-/utils-1.3.0.tgz#647aa8fe2dd026e8dde520a436f362e274a02d06",
82
- "@symbo.ls/button@^0.5.3": "https://registry.yarnpkg.com/@symbo.ls/button/-/button-0.5.3.tgz#9232667f1f22a4218461516d4be89df7d298915d",
83
- "js-tokens@^3.0.0 || ^4.0.0": "https://registry.yarnpkg.com/js-tokens/-/js-tokens-4.0.0.tgz#19203fb59991df98e3a287050d4647cdeaf32499",
84
- "loose-envify@^1.1.0": "https://registry.yarnpkg.com/loose-envify/-/loose-envify-1.4.0.tgz#71ee51fa7be4caec1a63839f7e682d8132d30caf",
85
- "object-assign@^4.1.1": "https://registry.yarnpkg.com/object-assign/-/object-assign-4.1.1.tgz#2109adc7965887cfc05cbbd442cac8bfbb360863",
86
- "react@^17.0.2": "https://registry.yarnpkg.com/react/-/react-17.0.2.tgz#d0b5cc516d29eb3eee383f75b62864cfb6800037",
87
- "regenerator-runtime@^0.13.9": "https://registry.yarnpkg.com/regenerator-runtime/-/regenerator-runtime-0.13.9.tgz#8925742a98ffd90814988d7566ad30ca3b263b52"
88
- },
89
- "files": [],
90
- "artifacts": {}
91
- }
@@ -1,21 +0,0 @@
1
- MIT License
2
-
3
- Copyright (c) 2016 rackai
4
-
5
- Permission is hereby granted, free of charge, to any person obtaining a copy
6
- of this software and associated documentation files (the "Software"), to deal
7
- in the Software without restriction, including without limitation the rights
8
- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
- copies of the Software, and to permit persons to whom the Software is
10
- furnished to do so, subject to the following conditions:
11
-
12
- The above copyright notice and this permission notice shall be included in all
13
- copies or substantial portions of the Software.
14
-
15
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
- SOFTWARE.
File without changes
@@ -1,10 +0,0 @@
1
- {
2
- "name": "@domql/cache",
3
- "version": "1.3.0",
4
- "main": "index.js",
5
- "license": "MIT",
6
- "scripts": {
7
- "vpatch": "npm version patch && npm publish --access public"
8
- },
9
- "gitHead": "3140379c0f6da459a39068f32630275c6ea3b33f"
10
- }
@@ -1,21 +0,0 @@
1
- MIT License
2
-
3
- Copyright (c) 2016 rackai
4
-
5
- Permission is hereby granted, free of charge, to any person obtaining a copy
6
- of this software and associated documentation files (the "Software"), to deal
7
- in the Software without restriction, including without limitation the rights
8
- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
- copies of the Software, and to permit persons to whom the Software is
10
- furnished to do so, subject to the following conditions:
11
-
12
- The above copyright notice and this permission notice shall be included in all
13
- copies or substantial portions of the Software.
14
-
15
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
- SOFTWARE.
@@ -1,22 +0,0 @@
1
- 'use strict'
2
-
3
- export const isMobile = (() => /Mobi/.test(navigator.userAgent))()
4
-
5
- export const setCookie = (cname, cvalue, exdays = 365) => {
6
- const d = new Date()
7
- d.setTime(d.getTime() + (exdays * 24 * 60 * 60 * 1000))
8
- const expires = `expires=${d.toUTCString()}`
9
- document.cookie = `${cname}=${cvalue};${expires};path=/`
10
- }
11
-
12
- export const getCookie = (cname) => {
13
- const name = `${cname}=`
14
- const decodedCookie = decodeURIComponent(document.cookie)
15
- const ca = decodedCookie.split(';')
16
- for (let i = 0; i < ca.length; i++) {
17
- let c = ca[i]
18
- while (c.charAt(0) === ' ') c = c.substring(1)
19
- if (c.indexOf(name) === 0) return c.substring(name.length, c.length)
20
- }
21
- return ''
22
- }
@@ -1,10 +0,0 @@
1
- {
2
- "name": "@domql/cookie",
3
- "version": "1.3.0",
4
- "main": "index.js",
5
- "license": "MIT",
6
- "scripts": {
7
- "vpatch": "npm version patch && npm publish --access public"
8
- },
9
- "gitHead": "3140379c0f6da459a39068f32630275c6ea3b33f"
10
- }
@@ -1,21 +0,0 @@
1
- MIT License
2
-
3
- Copyright (c) 2016 rackai
4
-
5
- Permission is hereby granted, free of charge, to any person obtaining a copy
6
- of this software and associated documentation files (the "Software"), to deal
7
- in the Software without restriction, including without limitation the rights
8
- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
- copies of the Software, and to permit persons to whom the Software is
10
- furnished to do so, subject to the following conditions:
11
-
12
- The above copyright notice and this permission notice shall be included in all
13
- copies or substantial portions of the Software.
14
-
15
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
- SOFTWARE.
@@ -1,13 +0,0 @@
1
- 'use strict'
2
-
3
- import { registry } from '@domql/mixins'
4
- import { report } from '@domql/report'
5
-
6
- export const define = (params, options = {}) => {
7
- const { overwrite } = options
8
- for (const param in params) {
9
- if (registry[param] && !overwrite) {
10
- report('OverwriteToBuiltin', param)
11
- } else registry[param] = params[param]
12
- }
13
- }
@@ -1,11 +0,0 @@
1
- {
2
- "name": "@domql/define",
3
- "version": "1.3.0",
4
- "main": "index.js",
5
- "license": "MIT",
6
- "dependencies": {
7
- "@domql/mixins": "^1.3.0",
8
- "@domql/report": "^1.3.0"
9
- },
10
- "gitHead": "3140379c0f6da459a39068f32630275c6ea3b33f"
11
- }
@@ -1,21 +0,0 @@
1
- MIT License
2
-
3
- Copyright (c) 2016 rackai
4
-
5
- Permission is hereby granted, free of charge, to any person obtaining a copy
6
- of this software and associated documentation files (the "Software"), to deal
7
- in the Software without restriction, including without limitation the rights
8
- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
- copies of the Software, and to permit persons to whom the Software is
10
- furnished to do so, subject to the following conditions:
11
-
12
- The above copyright notice and this permission notice shall be included in all
13
- copies or substantial portions of the Software.
14
-
15
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
- SOFTWARE.
@@ -1,33 +0,0 @@
1
- {
2
- "name": "@domql/domql",
3
- "description": "DOM rendering Javascript framework at early stage.",
4
- "private": false,
5
- "version": "1.3.0",
6
- "main": "src/index.js",
7
- "files": [
8
- "src"
9
- ],
10
- "source": true,
11
- "dependencies": {
12
- "@domql/cache": "latest",
13
- "@domql/cookie": "latest",
14
- "@domql/define": "latest",
15
- "@domql/element": "latest",
16
- "@domql/event": "latest",
17
- "@domql/id": "latest",
18
- "@domql/mixins": "latest",
19
- "@domql/node": "latest",
20
- "@domql/parse": "latest",
21
- "@domql/props": "latest",
22
- "@domql/proto": "latest",
23
- "@domql/report": "latest",
24
- "@domql/state": "latest",
25
- "@domql/tree": "latest",
26
- "@domql/utils": "latest"
27
- },
28
- "publishConfig": {
29
- "registry": "https://registry.npmjs.org"
30
- },
31
- "browserslist": "> 0.25%, not dead",
32
- "gitHead": "3140379c0f6da459a39068f32630275c6ea3b33f"
33
- }
@@ -1,17 +0,0 @@
1
- 'use strict'
2
-
3
- export * from '@domql/cache'
4
- export * from '@domql/cookie'
5
- export * from '@domql/define'
6
- export * from '@domql/event'
7
- export * from '@domql/id'
8
- export * from '@domql/mixins'
9
- export * from '@domql/node'
10
- export * from '@domql/parse'
11
- export * from '@domql/props'
12
- export * from '@domql/proto'
13
- export * from '@domql/report'
14
- export * from '@domql/state'
15
- export * from '@domql/tree'
16
- export * from '@domql/utils'
17
- export * from '@domql/element'
@@ -1,15 +0,0 @@
1
- 'use strict'
2
-
3
- import { create } from '@domql/element'
4
- import { define } from '@domql/define'
5
-
6
- export * as _ from './all_exports'
7
-
8
- export { parse } from '@domql/parse'
9
- export { define } from '@domql/define'
10
- export { tree } from '@domql/tree'
11
-
12
- export default {
13
- create,
14
- define
15
- }
@@ -1,21 +0,0 @@
1
- MIT License
2
-
3
- Copyright (c) 2016 rackai
4
-
5
- Permission is hereby granted, free of charge, to any person obtaining a copy
6
- of this software and associated documentation files (the "Software"), to deal
7
- in the Software without restriction, including without limitation the rights
8
- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
- copies of the Software, and to permit persons to whom the Software is
10
- furnished to do so, subject to the following conditions:
11
-
12
- The above copyright notice and this permission notice shall be included in all
13
- copies or substantial portions of the Software.
14
-
15
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
- SOFTWARE.
@@ -1,20 +0,0 @@
1
- {
2
- "name": "@domql/element",
3
- "version": "1.3.0",
4
- "main": "src/index.js",
5
- "license": "MIT",
6
- "scripts": {
7
- "vpatch": "npm version patch && npm publish --access public"
8
- },
9
- "dependencies": {
10
- "@domql/event": "latest",
11
- "@domql/mixins": "latest",
12
- "@domql/node": "latest",
13
- "@domql/props": "latest",
14
- "@domql/proto": "latest",
15
- "@domql/state": "latest",
16
- "@domql/tree": "latest",
17
- "@domql/utils": "latest"
18
- },
19
- "gitHead": "3140379c0f6da459a39068f32630275c6ea3b33f"
20
- }
@@ -1,22 +0,0 @@
1
- 'use strict'
2
-
3
- /**
4
- * Receives child and parent nodes as parametes
5
- * and assigns them into real DOM tree
6
- */
7
- export const appendNode = (node, parentNode) => {
8
- parentNode.appendChild(node)
9
- return node
10
- }
11
-
12
- /**
13
- * Receives elements and assigns the first
14
- * parameter as a child of the second one
15
- */
16
- export const assignNode = (element, parent, key) => {
17
- parent[key || element.key] = element
18
- if (element.tag !== 'shadow') {
19
- appendNode(element.node, parent.node)
20
- }
21
- return element
22
- }