@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.
@@ -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 { default as StepDescription } from '@digigov/form/Questions/Step/StepDescription';
6
- export { default as StepForm } from '@digigov/form/Questions/Step/StepForm';
7
- export { default as StepQuote } from '@digigov/form/Questions/Step/StepQuote';
8
- export { default as StepTitle } from '@digigov/form/Questions/Step/StepTitle';
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';
@@ -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 = _interopRequireDefault(require("@digigov/form/Questions/Step/StepDescription"));
67
+ var _StepDescription = require("@digigov/form/Questions/Step/StepDescription");
99
68
 
100
- var _StepForm = _interopRequireDefault(require("@digigov/form/Questions/Step/StepForm"));
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 _StepQuote = _interopRequireDefault(require("@digigov/form/Questions/Step/StepQuote"));
81
+ var _StepForm = require("@digigov/form/Questions/Step/StepForm");
103
82
 
104
- var _StepTitle = _interopRequireDefault(require("@digigov/form/Questions/Step/StepTitle"));
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 { default as StepDescription } from '@digigov/form/Questions/Step/StepDescription';
6
- export { default as StepForm } from '@digigov/form/Questions/Step/StepForm';
7
- export { default as StepQuote } from '@digigov/form/Questions/Step/StepQuote';
8
- export { default as StepTitle } from '@digigov/form/Questions/Step/StepTitle';
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
  };
@@ -17,7 +17,7 @@ export var Default = function Default() {
17
17
  type: "choice:single",
18
18
  required: true,
19
19
  label: {
20
- primary: 'Ποια ειναι η χώρα της διαμονής σας;'
20
+ primary: 'Ποιά είναι η χώρα της διαμονής σας;'
21
21
  },
22
22
  extra: {
23
23
  options: [{
@@ -17,7 +17,7 @@ export var WithDivider = function WithDivider() {
17
17
  type: "choice:single",
18
18
  required: true,
19
19
  label: {
20
- primary: 'Ποια ειναι η χώρα της διαμονής σας;'
20
+ primary: 'Ποιά είναι η χώρα της διαμονής σας;'
21
21
  },
22
22
  extra: {
23
23
  options: [{
@@ -17,7 +17,7 @@ export var Default = function Default() {
17
17
  type: "choice:single",
18
18
  required: true,
19
19
  label: {
20
- primary: 'Ποια ειναι η χώρα της διαμονής σας;'
20
+ primary: 'Ποιά είναι η χώρα της διαμονής σας;'
21
21
  },
22
22
  extra: {
23
23
  component: 'Select',
@@ -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 { default as StepDescription } from '@digigov/form/Questions/Step/StepDescription';
6
- export { default as StepForm } from '@digigov/form/Questions/Step/StepForm';
7
- export { default as StepQuote } from '@digigov/form/Questions/Step/StepQuote';
8
- export { default as StepTitle } from '@digigov/form/Questions/Step/StepTitle';
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
@@ -1,4 +1,4 @@
1
- /** @license Digigov v1.0.0-290a96e2
1
+ /** @license Digigov v1.0.0-3bfc7d37
2
2
  *
3
3
  * This source code is licensed under the BSD-2-Clause license found in the
4
4
  * LICENSE file in the root directory of this source tree.
@@ -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
  };
@@ -17,7 +17,7 @@ export var Default = function Default() {
17
17
  type: "choice:single",
18
18
  required: true,
19
19
  label: {
20
- primary: 'Ποια ειναι η χώρα της διαμονής σας;'
20
+ primary: 'Ποιά είναι η χώρα της διαμονής σας;'
21
21
  },
22
22
  extra: {
23
23
  options: [{
@@ -17,7 +17,7 @@ export var WithDivider = function WithDivider() {
17
17
  type: "choice:single",
18
18
  required: true,
19
19
  label: {
20
- primary: 'Ποια ειναι η χώρα της διαμονής σας;'
20
+ primary: 'Ποιά είναι η χώρα της διαμονής σας;'
21
21
  },
22
22
  extra: {
23
23
  options: [{
@@ -17,7 +17,7 @@ export var Default = function Default() {
17
17
  type: "choice:single",
18
18
  required: true,
19
19
  label: {
20
- primary: 'Ποια ειναι η χώρα της διαμονής σας;'
20
+ primary: 'Ποιά είναι η χώρα της διαμονής σας;'
21
21
  },
22
22
  extra: {
23
23
  component: 'Select',
@@ -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
  };
@@ -34,7 +34,7 @@ var Default = function Default() {
34
34
  type: "choice:single",
35
35
  required: true,
36
36
  label: {
37
- primary: 'Ποια ειναι η χώρα της διαμονής σας;'
37
+ primary: 'Ποιά είναι η χώρα της διαμονής σας;'
38
38
  },
39
39
  extra: {
40
40
  options: [{
@@ -34,7 +34,7 @@ var WithDivider = function WithDivider() {
34
34
  type: "choice:single",
35
35
  required: true,
36
36
  label: {
37
- primary: 'Ποια ειναι η χώρα της διαμονής σας;'
37
+ primary: 'Ποιά είναι η χώρα της διαμονής σας;'
38
38
  },
39
39
  extra: {
40
40
  options: [{
@@ -34,7 +34,7 @@ var Default = function Default() {
34
34
  type: "choice:single",
35
35
  required: true,
36
36
  label: {
37
- primary: 'Ποια ειναι η χώρα της διαμονής σας;'
37
+ primary: 'Ποιά είναι η χώρα της διαμονής σας;'
38
38
  },
39
39
  extra: {
40
40
  component: 'Select',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@digigov/form",
3
- "version": "1.0.0-290a96e2",
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-290a96e2"
20
+ "@digigov/react-icons": "1.0.0-3bfc7d37"
21
21
  },
22
22
  "peerDependencies": {
23
- "@digigov/ui": "1.0.0-290a96e2",
24
- "@digigov/react-core": "1.0.0-290a96e2",
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 { default as StepDescription } from '@digigov/form/Questions/Step/StepDescription';
6
- export { default as StepForm } from '@digigov/form/Questions/Step/StepForm';
7
- export { default as StepQuote } from '@digigov/form/Questions/Step/StepQuote';
8
- export { default as StepTitle } from '@digigov/form/Questions/Step/StepTitle';
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>
@@ -13,7 +13,7 @@ export const Default = () => (
13
13
  name="string"
14
14
  type="choice:single"
15
15
  required
16
- label={{ primary: 'Ποια ειναι η χώρα της διαμονής σας;' }}
16
+ label={{ primary: 'Ποιά είναι η χώρα της διαμονής σας;' }}
17
17
  extra={{
18
18
  options: [
19
19
  {
@@ -13,7 +13,7 @@ export const WithDivider = () => (
13
13
  name="string"
14
14
  type="choice:single"
15
15
  required
16
- label={{ primary: 'Ποια ειναι η χώρα της διαμονής σας;' }}
16
+ label={{ primary: 'Ποιά είναι η χώρα της διαμονής σας;' }}
17
17
  extra={{
18
18
  options: [
19
19
  {
@@ -13,7 +13,7 @@ export const Default = () => (
13
13
  name="string"
14
14
  type="choice:single"
15
15
  required
16
- label={{ primary: 'Ποια ειναι η χώρα της διαμονής σας;' }}
16
+ label={{ primary: 'Ποιά είναι η χώρα της διαμονής σας;' }}
17
17
  extra={{
18
18
  component: 'Select',
19
19
  options: [