graphql-form-mui 0.1.8 → 0.1.10
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.
@@ -21,7 +21,6 @@ var ObjectField = function (props) {
|
|
21
21
|
var _a;
|
22
22
|
var value = props.value, mutate = props.mutate, node = props.node;
|
23
23
|
var v = value || {};
|
24
|
-
console.log(node);
|
25
24
|
return (react_1.default.createElement(material_1.Stack, { pl: 2, spacing: 2 }, (_a = node.args) === null || _a === void 0 ? void 0 : _a.sort(function (a, b) {
|
26
25
|
return b.name > a.name ? -1 : 1;
|
27
26
|
}).map(function (a) {
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"ObjectField.js","sourceRoot":"","sources":["../../src/components/ObjectField.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,0CAAsC;AACtC,6CAAoE;AACpE,gDAA0B;AAE1B,IAAM,WAAW,GAA4B,UAAC,KAAK;;IACvC,IAAA,KAAK,GAAmB,KAAK,MAAxB,EAAE,MAAM,GAAW,KAAK,OAAhB,EAAE,IAAI,GAAK,KAAK,KAAV,CAAW;IACtC,IAAM,CAAC,GAAmC,KAAuC,IAAI,EAAE,CAAC;
|
1
|
+
{"version":3,"file":"ObjectField.js","sourceRoot":"","sources":["../../src/components/ObjectField.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,0CAAsC;AACtC,6CAAoE;AACpE,gDAA0B;AAE1B,IAAM,WAAW,GAA4B,UAAC,KAAK;;IACvC,IAAA,KAAK,GAAmB,KAAK,MAAxB,EAAE,MAAM,GAAW,KAAK,OAAhB,EAAE,IAAI,GAAK,KAAK,KAAV,CAAW;IACtC,IAAM,CAAC,GAAmC,KAAuC,IAAI,EAAE,CAAC;IAExF,OAAO,CACH,8BAAC,gBAAK,IAAC,EAAE,EAAE,CAAC,EAAE,OAAO,EAAE,CAAC,IACnB,MAAA,IAAI,CAAC,IAAI,0CACJ,IAAI,CAAC,UAAC,CAAC,EAAE,CAAC;QACR,OAAO,CAAC,CAAC,IAAI,GAAG,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;IACpC,CAAC,EACA,GAAG,CAAC,UAAC,CAAC;QACH,OAAO,CACH,8BAAC,qBAAM,eACC,KAAK,IACT,GAAG,EAAE,CAAC,CAAC,IAAI,EACX,KAAK,EAAE,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,EAChB,QAAQ,EAAE,KAAK,EACf,MAAM,EAAE,UAAC,EAAE;;gBACP,MAAM,uBACC,CAAC,gBACH,CAAC,CAAC,IAAI,IAAG,EAAE,OACd,CAAC;YACP,CAAC,EACD,IAAI,EAAE,CAAC,IACT,CACL,CAAC;IACN,CAAC,CAAC,CACF,CACX,CAAC;AACN,CAAC,CAAC;AACF,kBAAe,WAAW,CAAC"}
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "graphql-form-mui",
|
3
|
-
"version": "0.1.
|
3
|
+
"version": "0.1.10",
|
4
4
|
"description": "Easy form creation with GraphQL Editor and React",
|
5
5
|
"main": "lib/index.js",
|
6
6
|
"scripts": {
|
@@ -21,7 +21,7 @@
|
|
21
21
|
"license": "MIT",
|
22
22
|
"homepage": "https://form.graphqleditor.com",
|
23
23
|
"peerDependencies": {
|
24
|
-
"graphql-form": "
|
24
|
+
"graphql-form": "^0.1.9",
|
25
25
|
"react": ">=16.8.0",
|
26
26
|
"react-dom": ">=16.8.0"
|
27
27
|
},
|
@@ -5,7 +5,7 @@ import React from 'react';
|
|
5
5
|
const ObjectField: React.FC<NewFieldProps> = (props) => {
|
6
6
|
const { value, mutate, node } = props;
|
7
7
|
const v: Record<string, VariableValue> = (value as Record<string, VariableValue>) || {};
|
8
|
-
|
8
|
+
|
9
9
|
return (
|
10
10
|
<Stack pl={2} spacing={2}>
|
11
11
|
{node.args
|