@symbo.ls/input 0.6.10 → 0.6.15

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.
File without changes
package/package.json CHANGED
@@ -1,13 +1,13 @@
1
1
  {
2
2
  "name": "@symbo.ls/input",
3
- "version": "0.6.10",
3
+ "version": "0.6.15",
4
4
  "main": "dist/index.js",
5
5
  "license": "MIT",
6
- "gitHead": "cf1db0fa56f4ca0ca792520bcd0a4359c007fa34",
6
+ "gitHead": "538c70b8727a5c40d70155d34fecdfc914e26a5b",
7
7
  "dependencies": {
8
- "@symbo.ls/block": "^0.6.10",
9
- "@symbo.ls/shape": "^0.6.10",
10
- "@symbo.ls/text": "^0.6.10"
8
+ "@symbo.ls/block": "^0.6.15",
9
+ "@symbo.ls/shape": "^0.6.15",
10
+ "@symbo.ls/text": "^0.6.15"
11
11
  },
12
12
  "source": "src/index.js"
13
13
  }
@@ -0,0 +1,8 @@
1
+ 'use strict'
2
+
3
+ import { DOMQLReact } from '@symbo.ls/transform-react'
4
+ import { Input as component } from '@symbo.ls/input'
5
+
6
+ export const Input = (props, state) => {
7
+ return DOMQLReact(component, props, state)
8
+ }
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "@symbo.ls/react-input",
3
- "version": "0.6.10",
3
+ "version": "0.6.15",
4
4
  "main": "dist/index.js",
5
5
  "license": "MIT",
6
- "gitHead": "cf1db0fa56f4ca0ca792520bcd0a4359c007fa34",
6
+ "gitHead": "538c70b8727a5c40d70155d34fecdfc914e26a5b",
7
7
  "dependencies": {
8
- "@symbo.ls/input": "^0.6.10",
9
- "@symbo.ls/react-transformer": "^0.6.10"
8
+ "@symbo.ls/input": "^0.6.15",
9
+ "@symbo.ls/transform-react": "^0.6.15"
10
10
  },
11
11
  "source": "src/index.js"
12
12
  }
package/dist/index.js DELETED
@@ -1,54 +0,0 @@
1
- var $hKniz$symbolsshape = require("@symbo.ls/shape");
2
- var $hKniz$symbolsblock = require("@symbo.ls/block");
3
- var $hKniz$symbolstext = require("@symbo.ls/text");
4
-
5
- function $parcel$export(e, n, v, s) {
6
- Object.defineProperty(e, n, {get: v, set: s, enumerable: true, configurable: true});
7
- }
8
-
9
- $parcel$export(module.exports, "Input", () => $c018d072eff388f3$export$f5b8910cec6cf069);
10
-
11
-
12
-
13
- 'use strict';
14
- const $c018d072eff388f3$export$f5b8910cec6cf069 = {
15
- proto: [
16
- $hKniz$symbolsshape.Shape,
17
- $hKniz$symbolsblock.Block,
18
- $hKniz$symbolstext.Text
19
- ],
20
- tag: 'input',
21
- props: (el, s)=>({
22
- type: 'input',
23
- value: s[el.key],
24
- // placeholder: '',
25
- round: 'C',
26
- padding: 'A B',
27
- theme: 'transparent'
28
- })
29
- ,
30
- attr: {
31
- placeholder: ({ props: props })=>props.placeholder
32
- ,
33
- value: ({ props: props })=>props.value
34
- ,
35
- disabled: ({ props: props })=>props.disabled || null
36
- ,
37
- readonly: ({ props: props })=>props.readonly
38
- ,
39
- required: ({ props: props })=>props.required
40
- ,
41
- type: ({ props: props })=>props.type
42
- },
43
- on: {
44
- input: (event, { key: key , value: value , props: props })=>{
45
- props.onInput && props.onInput(event);
46
- },
47
- change: (event, { key: key , value: value , props: props })=>{
48
- props.onChange && props.onChange(event);
49
- }
50
- }
51
- };
52
-
53
-
54
- //# sourceMappingURL=index.js.map
package/dist/index.js.map DELETED
@@ -1 +0,0 @@
1
- {"mappings":";;;;;;;;;;;;AAAA,CAAY;AAML,KAAK,CAAC,yCAAK,GAAG,CAAC;IACpB,KAAK,EAAE,CAAC;QAAA,yBAAK;QAAE,yBAAK;QAAE,uBAAI;IAAA,CAAC;IAC3B,GAAG,EAAE,CAAO;IAEZ,KAAK,GAAG,EAAE,EAAE,CAAC,IAAM,CAAC;YAClB,IAAI,EAAE,CAAO;YACb,KAAK,EAAE,CAAC,CAAC,EAAE,CAAC,GAAG;YACf,EAAmB,AAAnB,iBAAmB;YACnB,KAAK,EAAE,CAAG;YACV,OAAO,EAAE,CAAK;YACd,KAAK,EAAE,CAAa;QACtB,CAAC;;IAED,IAAI,EAAE,CAAC;QACL,WAAW,GAAG,CAAC,QAAC,KAAK,EAAC,CAAC,GAAK,KAAK,CAAC,WAAW;;QAC7C,KAAK,GAAG,CAAC,QAAC,KAAK,EAAC,CAAC,GAAK,KAAK,CAAC,KAAK;;QACjC,QAAQ,GAAG,CAAC,QAAC,KAAK,EAAC,CAAC,GAAK,KAAK,CAAC,QAAQ,IAAI,IAAI;;QAC/C,QAAQ,GAAG,CAAC,QAAC,KAAK,EAAC,CAAC,GAAK,KAAK,CAAC,QAAQ;;QACvC,QAAQ,GAAG,CAAC,QAAC,KAAK,EAAC,CAAC,GAAK,KAAK,CAAC,QAAQ;;QACvC,IAAI,GAAG,CAAC,QAAC,KAAK,EAAC,CAAC,GAAK,KAAK,CAAC,IAAI;IACjC,CAAC;IAED,EAAE,EAAE,CAAC;QACH,KAAK,GAAG,KAAK,EAAE,CAAC,MAAC,GAAG,UAAE,KAAK,UAAE,KAAK,EAAC,CAAC,GAAK,CAAC;YACxC,KAAK,CAAC,OAAO,IAAI,KAAK,CAAC,OAAO,CAAC,KAAK;QACtC,CAAC;QACD,MAAM,GAAG,KAAK,EAAE,CAAC,MAAC,GAAG,UAAE,KAAK,UAAE,KAAK,EAAC,CAAC,GAAK,CAAC;YACzC,KAAK,CAAC,QAAQ,IAAI,KAAK,CAAC,QAAQ,CAAC,KAAK;QACxC,CAAC;IACH,CAAC;AACH,CAAC","sources":["packages/input/src/index.js"],"sourcesContent":["'use strict'\n\nimport { Shape } from '@symbo.ls/shape'\nimport { Block } from '@symbo.ls/block'\nimport { Text } from '@symbo.ls/text'\n\nexport const Input = {\n proto: [Shape, Block, Text],\n tag: 'input',\n\n props: (el, s) => ({\n type: 'input',\n value: s[el.key],\n // placeholder: '',\n round: 'C',\n padding: 'A B',\n theme: 'transparent'\n }),\n\n attr: {\n placeholder: ({ props }) => props.placeholder,\n value: ({ props }) => props.value,\n disabled: ({ props }) => props.disabled || null,\n readonly: ({ props }) => props.readonly,\n required: ({ props }) => props.required,\n type: ({ props }) => props.type\n },\n\n on: {\n input: (event, { key, value, props }) => {\n props.onInput && props.onInput(event)\n },\n change: (event, { key, value, props }) => {\n props.onChange && props.onChange(event)\n }\n }\n}\n"],"names":[],"version":3,"file":"index.js.map"}
@@ -1,17 +0,0 @@
1
- var $j04YB$symbolsinput = require("@symbo.ls/input");
2
- var $j04YB$symbolsreacttransformer = require("@symbo.ls/react-transformer");
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, "Input", () => $3c5aa69c8787b6a7$export$f5b8910cec6cf069);
9
-
10
-
11
- 'use strict';
12
- const $3c5aa69c8787b6a7$export$f5b8910cec6cf069 = (props, state)=>{
13
- return $j04YB$symbolsreacttransformer.reactTransformer($j04YB$symbolsinput.Input, props, state);
14
- };
15
-
16
-
17
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"mappings":";;;;;;;;;;AAAA,CAAY;AAKL,KAAK,CAAC,yCAAK,IAAI,KAAK,EAAE,KAAK,GAAK,CAAC;IACtC,MAAM,CAAC,+CAAgB,CAAC,yBAAS,EAAE,KAAK,EAAE,KAAK;AACjD,CAAC","sources":["packages/input/packages/react/src/index.js"],"sourcesContent":["'use strict'\n\nimport { reactTransformer } from '@symbo.ls/react-transformer'\nimport { Input as component } from '@symbo.ls/input'\n\nexport const Input = (props, state) => {\n return reactTransformer(component, props, state)\n}\n"],"names":[],"version":3,"file":"index.js.map"}
@@ -1,8 +0,0 @@
1
- 'use strict'
2
-
3
- import { reactTransformer } from '@symbo.ls/react-transformer'
4
- import { Input as component } from '@symbo.ls/input'
5
-
6
- export const Input = (props, state) => {
7
- return reactTransformer(component, props, state)
8
- }