@digigov/form 1.0.0-290a96e2 → 1.0.0-3bfc7d37
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/Questions/Step/index.d.ts +4 -4
- package/Questions/Step/index.js +53 -36
- package/es/Questions/Step/index.js +4 -4
- package/es/inputs/DateInput/__stories__/Default.js +0 -18
- package/es/inputs/Radio/__stories__/Default.js +1 -1
- package/es/inputs/Radio/__stories__/WithDivider.js +1 -1
- package/es/inputs/Select/__stories__/Default.js +1 -1
- package/esm/Questions/Step/index.js +4 -4
- package/esm/index.js +1 -1
- package/esm/inputs/DateInput/__stories__/Default.js +0 -18
- package/esm/inputs/Radio/__stories__/Default.js +1 -1
- package/esm/inputs/Radio/__stories__/WithDivider.js +1 -1
- package/esm/inputs/Select/__stories__/Default.js +1 -1
- package/inputs/DateInput/__stories__/Default.js +0 -18
- package/inputs/Radio/__stories__/Default.js +1 -1
- package/inputs/Radio/__stories__/WithDivider.js +1 -1
- package/inputs/Select/__stories__/Default.js +1 -1
- package/package.json +4 -4
- package/src/Questions/Step/index.ts +4 -4
- package/src/inputs/DateInput/__stories__/Default.tsx +0 -16
- package/src/inputs/Radio/__stories__/Default.tsx +1 -1
- package/src/inputs/Radio/__stories__/WithDivider.tsx +1 -1
- package/src/inputs/Select/__stories__/Default.tsx +1 -1
|
@@ -2,10 +2,10 @@ export * from '@digigov/form/Questions/Step/ReviewStep';
|
|
|
2
2
|
export * from '@digigov/form/Questions/Step/Step';
|
|
3
3
|
export * from '@digigov/form/Questions/Step/StepArrayReview';
|
|
4
4
|
export * from '@digigov/form/Questions/Step/StepContext';
|
|
5
|
-
export
|
|
6
|
-
export
|
|
7
|
-
export
|
|
8
|
-
export
|
|
5
|
+
export * from '@digigov/form/Questions/Step/StepDescription';
|
|
6
|
+
export * from '@digigov/form/Questions/Step/StepForm';
|
|
7
|
+
export * from '@digigov/form/Questions/Step/StepQuote';
|
|
8
|
+
export * from '@digigov/form/Questions/Step/StepTitle';
|
|
9
9
|
export * from '@digigov/form/Questions/Step/getAddMoreFields';
|
|
10
10
|
export * from '@digigov/form/Questions/Step/';
|
|
11
11
|
export * from '@digigov/form/Questions/Step/types';
|
package/Questions/Step/index.js
CHANGED
|
@@ -1,42 +1,11 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
|
-
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
|
|
4
|
-
|
|
5
3
|
var _typeof = require("@babel/runtime/helpers/typeof");
|
|
6
4
|
|
|
7
5
|
Object.defineProperty(exports, "__esModule", {
|
|
8
6
|
value: true
|
|
9
7
|
});
|
|
10
|
-
var _exportNames = {
|
|
11
|
-
StepDescription: true,
|
|
12
|
-
StepForm: true,
|
|
13
|
-
StepQuote: true,
|
|
14
|
-
StepTitle: true
|
|
15
|
-
};
|
|
16
|
-
Object.defineProperty(exports, "StepDescription", {
|
|
17
|
-
enumerable: true,
|
|
18
|
-
get: function get() {
|
|
19
|
-
return _StepDescription["default"];
|
|
20
|
-
}
|
|
21
|
-
});
|
|
22
|
-
Object.defineProperty(exports, "StepForm", {
|
|
23
|
-
enumerable: true,
|
|
24
|
-
get: function get() {
|
|
25
|
-
return _StepForm["default"];
|
|
26
|
-
}
|
|
27
|
-
});
|
|
28
|
-
Object.defineProperty(exports, "StepQuote", {
|
|
29
|
-
enumerable: true,
|
|
30
|
-
get: function get() {
|
|
31
|
-
return _StepQuote["default"];
|
|
32
|
-
}
|
|
33
|
-
});
|
|
34
|
-
Object.defineProperty(exports, "StepTitle", {
|
|
35
|
-
enumerable: true,
|
|
36
|
-
get: function get() {
|
|
37
|
-
return _StepTitle["default"];
|
|
38
|
-
}
|
|
39
|
-
});
|
|
8
|
+
var _exportNames = {};
|
|
40
9
|
exports["default"] = void 0;
|
|
41
10
|
|
|
42
11
|
var _ReviewStep = require("@digigov/form/Questions/Step/ReviewStep");
|
|
@@ -95,13 +64,61 @@ Object.keys(_StepContext).forEach(function (key) {
|
|
|
95
64
|
});
|
|
96
65
|
});
|
|
97
66
|
|
|
98
|
-
var _StepDescription =
|
|
67
|
+
var _StepDescription = require("@digigov/form/Questions/Step/StepDescription");
|
|
99
68
|
|
|
100
|
-
|
|
69
|
+
Object.keys(_StepDescription).forEach(function (key) {
|
|
70
|
+
if (key === "default" || key === "__esModule") return;
|
|
71
|
+
if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
|
|
72
|
+
if (key in exports && exports[key] === _StepDescription[key]) return;
|
|
73
|
+
Object.defineProperty(exports, key, {
|
|
74
|
+
enumerable: true,
|
|
75
|
+
get: function get() {
|
|
76
|
+
return _StepDescription[key];
|
|
77
|
+
}
|
|
78
|
+
});
|
|
79
|
+
});
|
|
101
80
|
|
|
102
|
-
var
|
|
81
|
+
var _StepForm = require("@digigov/form/Questions/Step/StepForm");
|
|
103
82
|
|
|
104
|
-
|
|
83
|
+
Object.keys(_StepForm).forEach(function (key) {
|
|
84
|
+
if (key === "default" || key === "__esModule") return;
|
|
85
|
+
if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
|
|
86
|
+
if (key in exports && exports[key] === _StepForm[key]) return;
|
|
87
|
+
Object.defineProperty(exports, key, {
|
|
88
|
+
enumerable: true,
|
|
89
|
+
get: function get() {
|
|
90
|
+
return _StepForm[key];
|
|
91
|
+
}
|
|
92
|
+
});
|
|
93
|
+
});
|
|
94
|
+
|
|
95
|
+
var _StepQuote = require("@digigov/form/Questions/Step/StepQuote");
|
|
96
|
+
|
|
97
|
+
Object.keys(_StepQuote).forEach(function (key) {
|
|
98
|
+
if (key === "default" || key === "__esModule") return;
|
|
99
|
+
if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
|
|
100
|
+
if (key in exports && exports[key] === _StepQuote[key]) return;
|
|
101
|
+
Object.defineProperty(exports, key, {
|
|
102
|
+
enumerable: true,
|
|
103
|
+
get: function get() {
|
|
104
|
+
return _StepQuote[key];
|
|
105
|
+
}
|
|
106
|
+
});
|
|
107
|
+
});
|
|
108
|
+
|
|
109
|
+
var _StepTitle = require("@digigov/form/Questions/Step/StepTitle");
|
|
110
|
+
|
|
111
|
+
Object.keys(_StepTitle).forEach(function (key) {
|
|
112
|
+
if (key === "default" || key === "__esModule") return;
|
|
113
|
+
if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
|
|
114
|
+
if (key in exports && exports[key] === _StepTitle[key]) return;
|
|
115
|
+
Object.defineProperty(exports, key, {
|
|
116
|
+
enumerable: true,
|
|
117
|
+
get: function get() {
|
|
118
|
+
return _StepTitle[key];
|
|
119
|
+
}
|
|
120
|
+
});
|
|
121
|
+
});
|
|
105
122
|
|
|
106
123
|
var _getAddMoreFields = require("@digigov/form/Questions/Step/getAddMoreFields");
|
|
107
124
|
|
|
@@ -2,10 +2,10 @@ export * from '@digigov/form/Questions/Step/ReviewStep';
|
|
|
2
2
|
export * from '@digigov/form/Questions/Step/Step';
|
|
3
3
|
export * from '@digigov/form/Questions/Step/StepArrayReview';
|
|
4
4
|
export * from '@digigov/form/Questions/Step/StepContext';
|
|
5
|
-
export
|
|
6
|
-
export
|
|
7
|
-
export
|
|
8
|
-
export
|
|
5
|
+
export * from '@digigov/form/Questions/Step/StepDescription';
|
|
6
|
+
export * from '@digigov/form/Questions/Step/StepForm';
|
|
7
|
+
export * from '@digigov/form/Questions/Step/StepQuote';
|
|
8
|
+
export * from '@digigov/form/Questions/Step/StepTitle';
|
|
9
9
|
export * from '@digigov/form/Questions/Step/getAddMoreFields';
|
|
10
10
|
export * from '@digigov/form/Questions/Step/';
|
|
11
11
|
export * from '@digigov/form/Questions/Step/types';
|
|
@@ -19,24 +19,6 @@ export var Default = function Default() {
|
|
|
19
19
|
label: {
|
|
20
20
|
primary: 'Πότε εκδόθηκε το διαβατήριο σας;',
|
|
21
21
|
secondary: 'Για παράδειγμα, 05 11 2020'
|
|
22
|
-
},
|
|
23
|
-
extra: {
|
|
24
|
-
options: [{
|
|
25
|
-
label: {
|
|
26
|
-
primary: 'Έχω συνάχι'
|
|
27
|
-
},
|
|
28
|
-
value: 'runny-nose'
|
|
29
|
-
}, {
|
|
30
|
-
label: {
|
|
31
|
-
primary: 'Έχω πυρετό'
|
|
32
|
-
},
|
|
33
|
-
value: 'fever'
|
|
34
|
-
}, {
|
|
35
|
-
label: {
|
|
36
|
-
primary: 'Αισθάνομαι κούραση'
|
|
37
|
-
},
|
|
38
|
-
value: 'fatigue'
|
|
39
|
-
}]
|
|
40
22
|
}
|
|
41
23
|
}), _ref);
|
|
42
24
|
};
|
|
@@ -2,10 +2,10 @@ export * from '@digigov/form/Questions/Step/ReviewStep';
|
|
|
2
2
|
export * from '@digigov/form/Questions/Step/Step';
|
|
3
3
|
export * from '@digigov/form/Questions/Step/StepArrayReview';
|
|
4
4
|
export * from '@digigov/form/Questions/Step/StepContext';
|
|
5
|
-
export
|
|
6
|
-
export
|
|
7
|
-
export
|
|
8
|
-
export
|
|
5
|
+
export * from '@digigov/form/Questions/Step/StepDescription';
|
|
6
|
+
export * from '@digigov/form/Questions/Step/StepForm';
|
|
7
|
+
export * from '@digigov/form/Questions/Step/StepQuote';
|
|
8
|
+
export * from '@digigov/form/Questions/Step/StepTitle';
|
|
9
9
|
export * from '@digigov/form/Questions/Step/getAddMoreFields';
|
|
10
10
|
export * from '@digigov/form/Questions/Step/';
|
|
11
11
|
export * from '@digigov/form/Questions/Step/types';
|
package/esm/index.js
CHANGED
|
@@ -19,24 +19,6 @@ export var Default = function Default() {
|
|
|
19
19
|
label: {
|
|
20
20
|
primary: 'Πότε εκδόθηκε το διαβατήριο σας;',
|
|
21
21
|
secondary: 'Για παράδειγμα, 05 11 2020'
|
|
22
|
-
},
|
|
23
|
-
extra: {
|
|
24
|
-
options: [{
|
|
25
|
-
label: {
|
|
26
|
-
primary: 'Έχω συνάχι'
|
|
27
|
-
},
|
|
28
|
-
value: 'runny-nose'
|
|
29
|
-
}, {
|
|
30
|
-
label: {
|
|
31
|
-
primary: 'Έχω πυρετό'
|
|
32
|
-
},
|
|
33
|
-
value: 'fever'
|
|
34
|
-
}, {
|
|
35
|
-
label: {
|
|
36
|
-
primary: 'Αισθάνομαι κούραση'
|
|
37
|
-
},
|
|
38
|
-
value: 'fatigue'
|
|
39
|
-
}]
|
|
40
22
|
}
|
|
41
23
|
}), _ref);
|
|
42
24
|
};
|
|
@@ -36,24 +36,6 @@ var Default = function Default() {
|
|
|
36
36
|
label: {
|
|
37
37
|
primary: 'Πότε εκδόθηκε το διαβατήριο σας;',
|
|
38
38
|
secondary: 'Για παράδειγμα, 05 11 2020'
|
|
39
|
-
},
|
|
40
|
-
extra: {
|
|
41
|
-
options: [{
|
|
42
|
-
label: {
|
|
43
|
-
primary: 'Έχω συνάχι'
|
|
44
|
-
},
|
|
45
|
-
value: 'runny-nose'
|
|
46
|
-
}, {
|
|
47
|
-
label: {
|
|
48
|
-
primary: 'Έχω πυρετό'
|
|
49
|
-
},
|
|
50
|
-
value: 'fever'
|
|
51
|
-
}, {
|
|
52
|
-
label: {
|
|
53
|
-
primary: 'Αισθάνομαι κούραση'
|
|
54
|
-
},
|
|
55
|
-
value: 'fatigue'
|
|
56
|
-
}]
|
|
57
39
|
}
|
|
58
40
|
}), _ref);
|
|
59
41
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@digigov/form",
|
|
3
|
-
"version": "1.0.0-
|
|
3
|
+
"version": "1.0.0-3bfc7d37",
|
|
4
4
|
"description": "@digigov form builder",
|
|
5
5
|
"author": "GRNET Developers <devs@lists.grnet.gr>",
|
|
6
6
|
"license": "BSD-2-Clause",
|
|
@@ -17,11 +17,11 @@
|
|
|
17
17
|
"dayjs": "1.10.4",
|
|
18
18
|
"@hookform/resolvers": "2.9.6",
|
|
19
19
|
"publint": "0.1.8",
|
|
20
|
-
"@digigov/react-icons": "1.0.0-
|
|
20
|
+
"@digigov/react-icons": "1.0.0-3bfc7d37"
|
|
21
21
|
},
|
|
22
22
|
"peerDependencies": {
|
|
23
|
-
"@digigov/ui": "1.0.0-
|
|
24
|
-
"@digigov/react-core": "1.0.0-
|
|
23
|
+
"@digigov/ui": "1.0.0-3bfc7d37",
|
|
24
|
+
"@digigov/react-core": "1.0.0-3bfc7d37",
|
|
25
25
|
"clsx": "1.1.1",
|
|
26
26
|
"react": "^16.8.0 || ^17.0.0",
|
|
27
27
|
"react-dom": "^16.8.0 || ^17.0.0"
|
|
@@ -2,10 +2,10 @@ export * from '@digigov/form/Questions/Step/ReviewStep';
|
|
|
2
2
|
export * from '@digigov/form/Questions/Step/Step';
|
|
3
3
|
export * from '@digigov/form/Questions/Step/StepArrayReview';
|
|
4
4
|
export * from '@digigov/form/Questions/Step/StepContext';
|
|
5
|
-
export
|
|
6
|
-
export
|
|
7
|
-
export
|
|
8
|
-
export
|
|
5
|
+
export * from '@digigov/form/Questions/Step/StepDescription';
|
|
6
|
+
export * from '@digigov/form/Questions/Step/StepForm';
|
|
7
|
+
export * from '@digigov/form/Questions/Step/StepQuote';
|
|
8
|
+
export * from '@digigov/form/Questions/Step/StepTitle';
|
|
9
9
|
export * from '@digigov/form/Questions/Step/getAddMoreFields';
|
|
10
10
|
export * from '@digigov/form/Questions/Step/';
|
|
11
11
|
export * from '@digigov/form/Questions/Step/types';
|
|
@@ -17,22 +17,6 @@ export const Default = () => (
|
|
|
17
17
|
primary: 'Πότε εκδόθηκε το διαβατήριο σας;',
|
|
18
18
|
secondary: 'Για παράδειγμα, 05 11 2020',
|
|
19
19
|
}}
|
|
20
|
-
extra={{
|
|
21
|
-
options: [
|
|
22
|
-
{
|
|
23
|
-
label: { primary: 'Έχω συνάχι' },
|
|
24
|
-
value: 'runny-nose',
|
|
25
|
-
},
|
|
26
|
-
{
|
|
27
|
-
label: { primary: 'Έχω πυρετό' },
|
|
28
|
-
value: 'fever',
|
|
29
|
-
},
|
|
30
|
-
{
|
|
31
|
-
label: { primary: 'Αισθάνομαι κούραση' },
|
|
32
|
-
value: 'fatigue',
|
|
33
|
-
},
|
|
34
|
-
],
|
|
35
|
-
}}
|
|
36
20
|
/>
|
|
37
21
|
<Button type="submit">Συνέχεια</Button>
|
|
38
22
|
</FormBuilder>
|