@digigov/form 0.10.11 → 0.10.13
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/CHANGELOG.md +6 -1
- package/Questions/__snapshots__/index.spec.tsx.snap +57 -61
- package/es/Questions/__snapshots__/index.spec.tsx.snap +57 -61
- package/esm/Questions/__snapshots__/index.spec.tsx.snap +57 -61
- package/esm/index.js +1 -1
- package/package.json +4 -4
- package/src/Questions/__snapshots__/index.spec.tsx.snap +57 -61
package/CHANGELOG.md
CHANGED
|
@@ -1,6 +1,11 @@
|
|
|
1
1
|
# Change Log - @digigov/form
|
|
2
2
|
|
|
3
|
-
This log was last generated on
|
|
3
|
+
This log was last generated on Wed, 22 Feb 2023 15:41:06 GMT and should not be manually modified.
|
|
4
|
+
|
|
5
|
+
## 0.10.13
|
|
6
|
+
Wed, 22 Feb 2023 15:41:06 GMT
|
|
7
|
+
|
|
8
|
+
_Version update only_
|
|
4
9
|
|
|
5
10
|
## 0.10.11
|
|
6
11
|
Thu, 02 Feb 2023 16:12:09 GMT
|
|
@@ -57,10 +57,11 @@ exports[`renders the Questions 1`] = `
|
|
|
57
57
|
as="a"
|
|
58
58
|
className="govgr-back-link"
|
|
59
59
|
onClick={[Function]}
|
|
60
|
+
printHidden={true}
|
|
60
61
|
tabIndex={0}
|
|
61
62
|
>
|
|
62
63
|
<a
|
|
63
|
-
className="govgr-back-link"
|
|
64
|
+
className="govgr-back-link govgr-print-hidden"
|
|
64
65
|
onClick={[Function]}
|
|
65
66
|
tabIndex={0}
|
|
66
67
|
>
|
|
@@ -93,13 +94,23 @@ exports[`renders the Questions 1`] = `
|
|
|
93
94
|
</ForwardRef(Base)>
|
|
94
95
|
</ForwardRef(BackLink)>
|
|
95
96
|
</withDeprecationComponent>
|
|
96
|
-
<
|
|
97
|
-
<
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
97
|
+
<ForwardRef(PageTitle)>
|
|
98
|
+
<ForwardRef(Base)
|
|
99
|
+
as="div"
|
|
100
|
+
className=""
|
|
101
|
+
>
|
|
102
|
+
<div
|
|
103
|
+
className=""
|
|
104
|
+
>
|
|
105
|
+
<ForwardRef(PageTitleSection)>
|
|
106
|
+
<ForwardRef(Base)
|
|
107
|
+
as="div"
|
|
108
|
+
className=""
|
|
109
|
+
>
|
|
110
|
+
<div
|
|
111
|
+
className=""
|
|
112
|
+
>
|
|
113
|
+
<ForwardRef(PageTitleCaption)>
|
|
103
114
|
<ForwardRef(Base)
|
|
104
115
|
as="span"
|
|
105
116
|
className="govgr-caption-l"
|
|
@@ -110,41 +121,27 @@ exports[`renders the Questions 1`] = `
|
|
|
110
121
|
intro.caption
|
|
111
122
|
</span>
|
|
112
123
|
</ForwardRef(Base)>
|
|
113
|
-
</ForwardRef(
|
|
114
|
-
</
|
|
115
|
-
</
|
|
116
|
-
</
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
size="xl"
|
|
124
|
+
</ForwardRef(PageTitleCaption)>
|
|
125
|
+
</div>
|
|
126
|
+
</ForwardRef(Base)>
|
|
127
|
+
</ForwardRef(PageTitleSection)>
|
|
128
|
+
<StepTitleHeading>
|
|
129
|
+
<ForwardRef(PageTitleHeading)>
|
|
130
|
+
<ForwardRef(Base)
|
|
131
|
+
as="h1"
|
|
132
|
+
className="govgr-heading-xl"
|
|
123
133
|
>
|
|
124
|
-
<
|
|
125
|
-
|
|
134
|
+
<h1
|
|
135
|
+
className="govgr-heading-xl"
|
|
126
136
|
>
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
className="govgr-heading-xl"
|
|
136
|
-
>
|
|
137
|
-
intro.title
|
|
138
|
-
</h1>
|
|
139
|
-
</ForwardRef(Base)>
|
|
140
|
-
</ForwardRef(Heading)>
|
|
141
|
-
</Component>
|
|
142
|
-
</withDeprecationComponent>
|
|
143
|
-
</Component>
|
|
144
|
-
</withDeprecationComponent>
|
|
145
|
-
</StepTitleHeading>
|
|
146
|
-
</Component>
|
|
147
|
-
</withDeprecationComponent>
|
|
137
|
+
intro.title
|
|
138
|
+
</h1>
|
|
139
|
+
</ForwardRef(Base)>
|
|
140
|
+
</ForwardRef(PageTitleHeading)>
|
|
141
|
+
</StepTitleHeading>
|
|
142
|
+
</div>
|
|
143
|
+
</ForwardRef(Base)>
|
|
144
|
+
</ForwardRef(PageTitle)>
|
|
148
145
|
</StepTitleBase>
|
|
149
146
|
</StepTitle>
|
|
150
147
|
<StepQuote>
|
|
@@ -337,9 +334,10 @@ exports[`renders the Questions 1`] = `
|
|
|
337
334
|
name="name"
|
|
338
335
|
register={[Function]}
|
|
339
336
|
required={true}
|
|
337
|
+
reset={[Function]}
|
|
340
338
|
type="string"
|
|
341
339
|
>
|
|
342
|
-
<
|
|
340
|
+
<FieldBaseContainer
|
|
343
341
|
label={
|
|
344
342
|
Object {
|
|
345
343
|
"primary": "name.field.primary",
|
|
@@ -348,7 +346,7 @@ exports[`renders the Questions 1`] = `
|
|
|
348
346
|
}
|
|
349
347
|
name="name"
|
|
350
348
|
>
|
|
351
|
-
<ForwardRef(
|
|
349
|
+
<ForwardRef(FieldContainer)
|
|
352
350
|
error={false}
|
|
353
351
|
>
|
|
354
352
|
<ForwardRef(Grid)
|
|
@@ -366,7 +364,7 @@ exports[`renders the Questions 1`] = `
|
|
|
366
364
|
<div
|
|
367
365
|
className="govgr-field xs:govgr-grid__col-span-12 md:govgr-grid__col-span-12 lg:govgr-grid__col-span-12 xl:govgr-grid__col-span-12"
|
|
368
366
|
>
|
|
369
|
-
<ForwardRef(
|
|
367
|
+
<ForwardRef(LabelContainer)>
|
|
370
368
|
<ForwardRef(Base)
|
|
371
369
|
as="label"
|
|
372
370
|
className="govgr-label"
|
|
@@ -516,6 +514,7 @@ exports[`renders the Questions 1`] = `
|
|
|
516
514
|
onBlur={[Function]}
|
|
517
515
|
onChange={[Function]}
|
|
518
516
|
required={true}
|
|
517
|
+
reset={[Function]}
|
|
519
518
|
type="string"
|
|
520
519
|
>
|
|
521
520
|
<ForwardRef(TextInput)
|
|
@@ -845,34 +844,31 @@ exports[`renders the Questions 1`] = `
|
|
|
845
844
|
</ForwardRef(WrappedInput)>
|
|
846
845
|
</label>
|
|
847
846
|
</ForwardRef(Base)>
|
|
848
|
-
</ForwardRef(
|
|
847
|
+
</ForwardRef(LabelContainer)>
|
|
849
848
|
</div>
|
|
850
849
|
</ForwardRef(Base)>
|
|
851
850
|
</ForwardRef(Grid)>
|
|
852
|
-
</ForwardRef(
|
|
853
|
-
</
|
|
851
|
+
</ForwardRef(FieldContainer)>
|
|
852
|
+
</FieldBaseContainer>
|
|
854
853
|
</FieldBase>
|
|
855
854
|
</Field>
|
|
856
|
-
<
|
|
855
|
+
<ForwardRef(Button)
|
|
857
856
|
type="submit"
|
|
858
857
|
>
|
|
859
|
-
<ForwardRef(
|
|
858
|
+
<ForwardRef(Base)
|
|
859
|
+
as="button"
|
|
860
|
+
className="govgr-btn-primary govgr-btn"
|
|
861
|
+
printHidden={true}
|
|
860
862
|
type="submit"
|
|
861
863
|
>
|
|
862
|
-
<
|
|
863
|
-
|
|
864
|
-
className="govgr-btn-primary govgr-btn"
|
|
864
|
+
<button
|
|
865
|
+
className="govgr-btn-primary govgr-btn govgr-print-hidden"
|
|
865
866
|
type="submit"
|
|
866
867
|
>
|
|
867
|
-
|
|
868
|
-
|
|
869
|
-
|
|
870
|
-
|
|
871
|
-
Συνέχεια
|
|
872
|
-
</button>
|
|
873
|
-
</ForwardRef(Base)>
|
|
874
|
-
</ForwardRef(Button)>
|
|
875
|
-
</withDeprecationComponent>
|
|
868
|
+
Συνέχεια
|
|
869
|
+
</button>
|
|
870
|
+
</ForwardRef(Base)>
|
|
871
|
+
</ForwardRef(Button)>
|
|
876
872
|
</form>
|
|
877
873
|
</ForwardRef(Base)>
|
|
878
874
|
</ForwardRef(Form)>
|
|
@@ -57,10 +57,11 @@ exports[`renders the Questions 1`] = `
|
|
|
57
57
|
as="a"
|
|
58
58
|
className="govgr-back-link"
|
|
59
59
|
onClick={[Function]}
|
|
60
|
+
printHidden={true}
|
|
60
61
|
tabIndex={0}
|
|
61
62
|
>
|
|
62
63
|
<a
|
|
63
|
-
className="govgr-back-link"
|
|
64
|
+
className="govgr-back-link govgr-print-hidden"
|
|
64
65
|
onClick={[Function]}
|
|
65
66
|
tabIndex={0}
|
|
66
67
|
>
|
|
@@ -93,13 +94,23 @@ exports[`renders the Questions 1`] = `
|
|
|
93
94
|
</ForwardRef(Base)>
|
|
94
95
|
</ForwardRef(BackLink)>
|
|
95
96
|
</withDeprecationComponent>
|
|
96
|
-
<
|
|
97
|
-
<
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
97
|
+
<ForwardRef(PageTitle)>
|
|
98
|
+
<ForwardRef(Base)
|
|
99
|
+
as="div"
|
|
100
|
+
className=""
|
|
101
|
+
>
|
|
102
|
+
<div
|
|
103
|
+
className=""
|
|
104
|
+
>
|
|
105
|
+
<ForwardRef(PageTitleSection)>
|
|
106
|
+
<ForwardRef(Base)
|
|
107
|
+
as="div"
|
|
108
|
+
className=""
|
|
109
|
+
>
|
|
110
|
+
<div
|
|
111
|
+
className=""
|
|
112
|
+
>
|
|
113
|
+
<ForwardRef(PageTitleCaption)>
|
|
103
114
|
<ForwardRef(Base)
|
|
104
115
|
as="span"
|
|
105
116
|
className="govgr-caption-l"
|
|
@@ -110,41 +121,27 @@ exports[`renders the Questions 1`] = `
|
|
|
110
121
|
intro.caption
|
|
111
122
|
</span>
|
|
112
123
|
</ForwardRef(Base)>
|
|
113
|
-
</ForwardRef(
|
|
114
|
-
</
|
|
115
|
-
</
|
|
116
|
-
</
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
size="xl"
|
|
124
|
+
</ForwardRef(PageTitleCaption)>
|
|
125
|
+
</div>
|
|
126
|
+
</ForwardRef(Base)>
|
|
127
|
+
</ForwardRef(PageTitleSection)>
|
|
128
|
+
<StepTitleHeading>
|
|
129
|
+
<ForwardRef(PageTitleHeading)>
|
|
130
|
+
<ForwardRef(Base)
|
|
131
|
+
as="h1"
|
|
132
|
+
className="govgr-heading-xl"
|
|
123
133
|
>
|
|
124
|
-
<
|
|
125
|
-
|
|
134
|
+
<h1
|
|
135
|
+
className="govgr-heading-xl"
|
|
126
136
|
>
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
className="govgr-heading-xl"
|
|
136
|
-
>
|
|
137
|
-
intro.title
|
|
138
|
-
</h1>
|
|
139
|
-
</ForwardRef(Base)>
|
|
140
|
-
</ForwardRef(Heading)>
|
|
141
|
-
</Component>
|
|
142
|
-
</withDeprecationComponent>
|
|
143
|
-
</Component>
|
|
144
|
-
</withDeprecationComponent>
|
|
145
|
-
</StepTitleHeading>
|
|
146
|
-
</Component>
|
|
147
|
-
</withDeprecationComponent>
|
|
137
|
+
intro.title
|
|
138
|
+
</h1>
|
|
139
|
+
</ForwardRef(Base)>
|
|
140
|
+
</ForwardRef(PageTitleHeading)>
|
|
141
|
+
</StepTitleHeading>
|
|
142
|
+
</div>
|
|
143
|
+
</ForwardRef(Base)>
|
|
144
|
+
</ForwardRef(PageTitle)>
|
|
148
145
|
</StepTitleBase>
|
|
149
146
|
</StepTitle>
|
|
150
147
|
<StepQuote>
|
|
@@ -337,9 +334,10 @@ exports[`renders the Questions 1`] = `
|
|
|
337
334
|
name="name"
|
|
338
335
|
register={[Function]}
|
|
339
336
|
required={true}
|
|
337
|
+
reset={[Function]}
|
|
340
338
|
type="string"
|
|
341
339
|
>
|
|
342
|
-
<
|
|
340
|
+
<FieldBaseContainer
|
|
343
341
|
label={
|
|
344
342
|
Object {
|
|
345
343
|
"primary": "name.field.primary",
|
|
@@ -348,7 +346,7 @@ exports[`renders the Questions 1`] = `
|
|
|
348
346
|
}
|
|
349
347
|
name="name"
|
|
350
348
|
>
|
|
351
|
-
<ForwardRef(
|
|
349
|
+
<ForwardRef(FieldContainer)
|
|
352
350
|
error={false}
|
|
353
351
|
>
|
|
354
352
|
<ForwardRef(Grid)
|
|
@@ -366,7 +364,7 @@ exports[`renders the Questions 1`] = `
|
|
|
366
364
|
<div
|
|
367
365
|
className="govgr-field xs:govgr-grid__col-span-12 md:govgr-grid__col-span-12 lg:govgr-grid__col-span-12 xl:govgr-grid__col-span-12"
|
|
368
366
|
>
|
|
369
|
-
<ForwardRef(
|
|
367
|
+
<ForwardRef(LabelContainer)>
|
|
370
368
|
<ForwardRef(Base)
|
|
371
369
|
as="label"
|
|
372
370
|
className="govgr-label"
|
|
@@ -516,6 +514,7 @@ exports[`renders the Questions 1`] = `
|
|
|
516
514
|
onBlur={[Function]}
|
|
517
515
|
onChange={[Function]}
|
|
518
516
|
required={true}
|
|
517
|
+
reset={[Function]}
|
|
519
518
|
type="string"
|
|
520
519
|
>
|
|
521
520
|
<ForwardRef(TextInput)
|
|
@@ -845,34 +844,31 @@ exports[`renders the Questions 1`] = `
|
|
|
845
844
|
</ForwardRef(WrappedInput)>
|
|
846
845
|
</label>
|
|
847
846
|
</ForwardRef(Base)>
|
|
848
|
-
</ForwardRef(
|
|
847
|
+
</ForwardRef(LabelContainer)>
|
|
849
848
|
</div>
|
|
850
849
|
</ForwardRef(Base)>
|
|
851
850
|
</ForwardRef(Grid)>
|
|
852
|
-
</ForwardRef(
|
|
853
|
-
</
|
|
851
|
+
</ForwardRef(FieldContainer)>
|
|
852
|
+
</FieldBaseContainer>
|
|
854
853
|
</FieldBase>
|
|
855
854
|
</Field>
|
|
856
|
-
<
|
|
855
|
+
<ForwardRef(Button)
|
|
857
856
|
type="submit"
|
|
858
857
|
>
|
|
859
|
-
<ForwardRef(
|
|
858
|
+
<ForwardRef(Base)
|
|
859
|
+
as="button"
|
|
860
|
+
className="govgr-btn-primary govgr-btn"
|
|
861
|
+
printHidden={true}
|
|
860
862
|
type="submit"
|
|
861
863
|
>
|
|
862
|
-
<
|
|
863
|
-
|
|
864
|
-
className="govgr-btn-primary govgr-btn"
|
|
864
|
+
<button
|
|
865
|
+
className="govgr-btn-primary govgr-btn govgr-print-hidden"
|
|
865
866
|
type="submit"
|
|
866
867
|
>
|
|
867
|
-
|
|
868
|
-
|
|
869
|
-
|
|
870
|
-
|
|
871
|
-
Συνέχεια
|
|
872
|
-
</button>
|
|
873
|
-
</ForwardRef(Base)>
|
|
874
|
-
</ForwardRef(Button)>
|
|
875
|
-
</withDeprecationComponent>
|
|
868
|
+
Συνέχεια
|
|
869
|
+
</button>
|
|
870
|
+
</ForwardRef(Base)>
|
|
871
|
+
</ForwardRef(Button)>
|
|
876
872
|
</form>
|
|
877
873
|
</ForwardRef(Base)>
|
|
878
874
|
</ForwardRef(Form)>
|
|
@@ -57,10 +57,11 @@ exports[`renders the Questions 1`] = `
|
|
|
57
57
|
as="a"
|
|
58
58
|
className="govgr-back-link"
|
|
59
59
|
onClick={[Function]}
|
|
60
|
+
printHidden={true}
|
|
60
61
|
tabIndex={0}
|
|
61
62
|
>
|
|
62
63
|
<a
|
|
63
|
-
className="govgr-back-link"
|
|
64
|
+
className="govgr-back-link govgr-print-hidden"
|
|
64
65
|
onClick={[Function]}
|
|
65
66
|
tabIndex={0}
|
|
66
67
|
>
|
|
@@ -93,13 +94,23 @@ exports[`renders the Questions 1`] = `
|
|
|
93
94
|
</ForwardRef(Base)>
|
|
94
95
|
</ForwardRef(BackLink)>
|
|
95
96
|
</withDeprecationComponent>
|
|
96
|
-
<
|
|
97
|
-
<
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
97
|
+
<ForwardRef(PageTitle)>
|
|
98
|
+
<ForwardRef(Base)
|
|
99
|
+
as="div"
|
|
100
|
+
className=""
|
|
101
|
+
>
|
|
102
|
+
<div
|
|
103
|
+
className=""
|
|
104
|
+
>
|
|
105
|
+
<ForwardRef(PageTitleSection)>
|
|
106
|
+
<ForwardRef(Base)
|
|
107
|
+
as="div"
|
|
108
|
+
className=""
|
|
109
|
+
>
|
|
110
|
+
<div
|
|
111
|
+
className=""
|
|
112
|
+
>
|
|
113
|
+
<ForwardRef(PageTitleCaption)>
|
|
103
114
|
<ForwardRef(Base)
|
|
104
115
|
as="span"
|
|
105
116
|
className="govgr-caption-l"
|
|
@@ -110,41 +121,27 @@ exports[`renders the Questions 1`] = `
|
|
|
110
121
|
intro.caption
|
|
111
122
|
</span>
|
|
112
123
|
</ForwardRef(Base)>
|
|
113
|
-
</ForwardRef(
|
|
114
|
-
</
|
|
115
|
-
</
|
|
116
|
-
</
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
size="xl"
|
|
124
|
+
</ForwardRef(PageTitleCaption)>
|
|
125
|
+
</div>
|
|
126
|
+
</ForwardRef(Base)>
|
|
127
|
+
</ForwardRef(PageTitleSection)>
|
|
128
|
+
<StepTitleHeading>
|
|
129
|
+
<ForwardRef(PageTitleHeading)>
|
|
130
|
+
<ForwardRef(Base)
|
|
131
|
+
as="h1"
|
|
132
|
+
className="govgr-heading-xl"
|
|
123
133
|
>
|
|
124
|
-
<
|
|
125
|
-
|
|
134
|
+
<h1
|
|
135
|
+
className="govgr-heading-xl"
|
|
126
136
|
>
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
className="govgr-heading-xl"
|
|
136
|
-
>
|
|
137
|
-
intro.title
|
|
138
|
-
</h1>
|
|
139
|
-
</ForwardRef(Base)>
|
|
140
|
-
</ForwardRef(Heading)>
|
|
141
|
-
</Component>
|
|
142
|
-
</withDeprecationComponent>
|
|
143
|
-
</Component>
|
|
144
|
-
</withDeprecationComponent>
|
|
145
|
-
</StepTitleHeading>
|
|
146
|
-
</Component>
|
|
147
|
-
</withDeprecationComponent>
|
|
137
|
+
intro.title
|
|
138
|
+
</h1>
|
|
139
|
+
</ForwardRef(Base)>
|
|
140
|
+
</ForwardRef(PageTitleHeading)>
|
|
141
|
+
</StepTitleHeading>
|
|
142
|
+
</div>
|
|
143
|
+
</ForwardRef(Base)>
|
|
144
|
+
</ForwardRef(PageTitle)>
|
|
148
145
|
</StepTitleBase>
|
|
149
146
|
</StepTitle>
|
|
150
147
|
<StepQuote>
|
|
@@ -337,9 +334,10 @@ exports[`renders the Questions 1`] = `
|
|
|
337
334
|
name="name"
|
|
338
335
|
register={[Function]}
|
|
339
336
|
required={true}
|
|
337
|
+
reset={[Function]}
|
|
340
338
|
type="string"
|
|
341
339
|
>
|
|
342
|
-
<
|
|
340
|
+
<FieldBaseContainer
|
|
343
341
|
label={
|
|
344
342
|
Object {
|
|
345
343
|
"primary": "name.field.primary",
|
|
@@ -348,7 +346,7 @@ exports[`renders the Questions 1`] = `
|
|
|
348
346
|
}
|
|
349
347
|
name="name"
|
|
350
348
|
>
|
|
351
|
-
<ForwardRef(
|
|
349
|
+
<ForwardRef(FieldContainer)
|
|
352
350
|
error={false}
|
|
353
351
|
>
|
|
354
352
|
<ForwardRef(Grid)
|
|
@@ -366,7 +364,7 @@ exports[`renders the Questions 1`] = `
|
|
|
366
364
|
<div
|
|
367
365
|
className="govgr-field xs:govgr-grid__col-span-12 md:govgr-grid__col-span-12 lg:govgr-grid__col-span-12 xl:govgr-grid__col-span-12"
|
|
368
366
|
>
|
|
369
|
-
<ForwardRef(
|
|
367
|
+
<ForwardRef(LabelContainer)>
|
|
370
368
|
<ForwardRef(Base)
|
|
371
369
|
as="label"
|
|
372
370
|
className="govgr-label"
|
|
@@ -516,6 +514,7 @@ exports[`renders the Questions 1`] = `
|
|
|
516
514
|
onBlur={[Function]}
|
|
517
515
|
onChange={[Function]}
|
|
518
516
|
required={true}
|
|
517
|
+
reset={[Function]}
|
|
519
518
|
type="string"
|
|
520
519
|
>
|
|
521
520
|
<ForwardRef(TextInput)
|
|
@@ -845,34 +844,31 @@ exports[`renders the Questions 1`] = `
|
|
|
845
844
|
</ForwardRef(WrappedInput)>
|
|
846
845
|
</label>
|
|
847
846
|
</ForwardRef(Base)>
|
|
848
|
-
</ForwardRef(
|
|
847
|
+
</ForwardRef(LabelContainer)>
|
|
849
848
|
</div>
|
|
850
849
|
</ForwardRef(Base)>
|
|
851
850
|
</ForwardRef(Grid)>
|
|
852
|
-
</ForwardRef(
|
|
853
|
-
</
|
|
851
|
+
</ForwardRef(FieldContainer)>
|
|
852
|
+
</FieldBaseContainer>
|
|
854
853
|
</FieldBase>
|
|
855
854
|
</Field>
|
|
856
|
-
<
|
|
855
|
+
<ForwardRef(Button)
|
|
857
856
|
type="submit"
|
|
858
857
|
>
|
|
859
|
-
<ForwardRef(
|
|
858
|
+
<ForwardRef(Base)
|
|
859
|
+
as="button"
|
|
860
|
+
className="govgr-btn-primary govgr-btn"
|
|
861
|
+
printHidden={true}
|
|
860
862
|
type="submit"
|
|
861
863
|
>
|
|
862
|
-
<
|
|
863
|
-
|
|
864
|
-
className="govgr-btn-primary govgr-btn"
|
|
864
|
+
<button
|
|
865
|
+
className="govgr-btn-primary govgr-btn govgr-print-hidden"
|
|
865
866
|
type="submit"
|
|
866
867
|
>
|
|
867
|
-
|
|
868
|
-
|
|
869
|
-
|
|
870
|
-
|
|
871
|
-
Συνέχεια
|
|
872
|
-
</button>
|
|
873
|
-
</ForwardRef(Base)>
|
|
874
|
-
</ForwardRef(Button)>
|
|
875
|
-
</withDeprecationComponent>
|
|
868
|
+
Συνέχεια
|
|
869
|
+
</button>
|
|
870
|
+
</ForwardRef(Base)>
|
|
871
|
+
</ForwardRef(Button)>
|
|
876
872
|
</form>
|
|
877
873
|
</ForwardRef(Base)>
|
|
878
874
|
</ForwardRef(Form)>
|
package/esm/index.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@digigov/form",
|
|
3
|
-
"version": "0.10.
|
|
3
|
+
"version": "0.10.13",
|
|
4
4
|
"description": "@digigov form builder",
|
|
5
5
|
"author": "GRNET Developers <devs@lists.grnet.gr>",
|
|
6
6
|
"license": "BSD-2-Clause",
|
|
@@ -19,9 +19,9 @@
|
|
|
19
19
|
"publint": "0.1.8"
|
|
20
20
|
},
|
|
21
21
|
"peerDependencies": {
|
|
22
|
-
"@digigov/ui": "0.
|
|
23
|
-
"@digigov/react-core": "0.
|
|
24
|
-
"@digigov/react-extensions": "0.20.
|
|
22
|
+
"@digigov/ui": "0.30.1",
|
|
23
|
+
"@digigov/react-core": "0.20.1",
|
|
24
|
+
"@digigov/react-extensions": "0.20.5",
|
|
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"
|
|
@@ -57,10 +57,11 @@ exports[`renders the Questions 1`] = `
|
|
|
57
57
|
as="a"
|
|
58
58
|
className="govgr-back-link"
|
|
59
59
|
onClick={[Function]}
|
|
60
|
+
printHidden={true}
|
|
60
61
|
tabIndex={0}
|
|
61
62
|
>
|
|
62
63
|
<a
|
|
63
|
-
className="govgr-back-link"
|
|
64
|
+
className="govgr-back-link govgr-print-hidden"
|
|
64
65
|
onClick={[Function]}
|
|
65
66
|
tabIndex={0}
|
|
66
67
|
>
|
|
@@ -93,13 +94,23 @@ exports[`renders the Questions 1`] = `
|
|
|
93
94
|
</ForwardRef(Base)>
|
|
94
95
|
</ForwardRef(BackLink)>
|
|
95
96
|
</withDeprecationComponent>
|
|
96
|
-
<
|
|
97
|
-
<
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
97
|
+
<ForwardRef(PageTitle)>
|
|
98
|
+
<ForwardRef(Base)
|
|
99
|
+
as="div"
|
|
100
|
+
className=""
|
|
101
|
+
>
|
|
102
|
+
<div
|
|
103
|
+
className=""
|
|
104
|
+
>
|
|
105
|
+
<ForwardRef(PageTitleSection)>
|
|
106
|
+
<ForwardRef(Base)
|
|
107
|
+
as="div"
|
|
108
|
+
className=""
|
|
109
|
+
>
|
|
110
|
+
<div
|
|
111
|
+
className=""
|
|
112
|
+
>
|
|
113
|
+
<ForwardRef(PageTitleCaption)>
|
|
103
114
|
<ForwardRef(Base)
|
|
104
115
|
as="span"
|
|
105
116
|
className="govgr-caption-l"
|
|
@@ -110,41 +121,27 @@ exports[`renders the Questions 1`] = `
|
|
|
110
121
|
intro.caption
|
|
111
122
|
</span>
|
|
112
123
|
</ForwardRef(Base)>
|
|
113
|
-
</ForwardRef(
|
|
114
|
-
</
|
|
115
|
-
</
|
|
116
|
-
</
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
size="xl"
|
|
124
|
+
</ForwardRef(PageTitleCaption)>
|
|
125
|
+
</div>
|
|
126
|
+
</ForwardRef(Base)>
|
|
127
|
+
</ForwardRef(PageTitleSection)>
|
|
128
|
+
<StepTitleHeading>
|
|
129
|
+
<ForwardRef(PageTitleHeading)>
|
|
130
|
+
<ForwardRef(Base)
|
|
131
|
+
as="h1"
|
|
132
|
+
className="govgr-heading-xl"
|
|
123
133
|
>
|
|
124
|
-
<
|
|
125
|
-
|
|
134
|
+
<h1
|
|
135
|
+
className="govgr-heading-xl"
|
|
126
136
|
>
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
className="govgr-heading-xl"
|
|
136
|
-
>
|
|
137
|
-
intro.title
|
|
138
|
-
</h1>
|
|
139
|
-
</ForwardRef(Base)>
|
|
140
|
-
</ForwardRef(Heading)>
|
|
141
|
-
</Component>
|
|
142
|
-
</withDeprecationComponent>
|
|
143
|
-
</Component>
|
|
144
|
-
</withDeprecationComponent>
|
|
145
|
-
</StepTitleHeading>
|
|
146
|
-
</Component>
|
|
147
|
-
</withDeprecationComponent>
|
|
137
|
+
intro.title
|
|
138
|
+
</h1>
|
|
139
|
+
</ForwardRef(Base)>
|
|
140
|
+
</ForwardRef(PageTitleHeading)>
|
|
141
|
+
</StepTitleHeading>
|
|
142
|
+
</div>
|
|
143
|
+
</ForwardRef(Base)>
|
|
144
|
+
</ForwardRef(PageTitle)>
|
|
148
145
|
</StepTitleBase>
|
|
149
146
|
</StepTitle>
|
|
150
147
|
<StepQuote>
|
|
@@ -337,9 +334,10 @@ exports[`renders the Questions 1`] = `
|
|
|
337
334
|
name="name"
|
|
338
335
|
register={[Function]}
|
|
339
336
|
required={true}
|
|
337
|
+
reset={[Function]}
|
|
340
338
|
type="string"
|
|
341
339
|
>
|
|
342
|
-
<
|
|
340
|
+
<FieldBaseContainer
|
|
343
341
|
label={
|
|
344
342
|
Object {
|
|
345
343
|
"primary": "name.field.primary",
|
|
@@ -348,7 +346,7 @@ exports[`renders the Questions 1`] = `
|
|
|
348
346
|
}
|
|
349
347
|
name="name"
|
|
350
348
|
>
|
|
351
|
-
<ForwardRef(
|
|
349
|
+
<ForwardRef(FieldContainer)
|
|
352
350
|
error={false}
|
|
353
351
|
>
|
|
354
352
|
<ForwardRef(Grid)
|
|
@@ -366,7 +364,7 @@ exports[`renders the Questions 1`] = `
|
|
|
366
364
|
<div
|
|
367
365
|
className="govgr-field xs:govgr-grid__col-span-12 md:govgr-grid__col-span-12 lg:govgr-grid__col-span-12 xl:govgr-grid__col-span-12"
|
|
368
366
|
>
|
|
369
|
-
<ForwardRef(
|
|
367
|
+
<ForwardRef(LabelContainer)>
|
|
370
368
|
<ForwardRef(Base)
|
|
371
369
|
as="label"
|
|
372
370
|
className="govgr-label"
|
|
@@ -516,6 +514,7 @@ exports[`renders the Questions 1`] = `
|
|
|
516
514
|
onBlur={[Function]}
|
|
517
515
|
onChange={[Function]}
|
|
518
516
|
required={true}
|
|
517
|
+
reset={[Function]}
|
|
519
518
|
type="string"
|
|
520
519
|
>
|
|
521
520
|
<ForwardRef(TextInput)
|
|
@@ -845,34 +844,31 @@ exports[`renders the Questions 1`] = `
|
|
|
845
844
|
</ForwardRef(WrappedInput)>
|
|
846
845
|
</label>
|
|
847
846
|
</ForwardRef(Base)>
|
|
848
|
-
</ForwardRef(
|
|
847
|
+
</ForwardRef(LabelContainer)>
|
|
849
848
|
</div>
|
|
850
849
|
</ForwardRef(Base)>
|
|
851
850
|
</ForwardRef(Grid)>
|
|
852
|
-
</ForwardRef(
|
|
853
|
-
</
|
|
851
|
+
</ForwardRef(FieldContainer)>
|
|
852
|
+
</FieldBaseContainer>
|
|
854
853
|
</FieldBase>
|
|
855
854
|
</Field>
|
|
856
|
-
<
|
|
855
|
+
<ForwardRef(Button)
|
|
857
856
|
type="submit"
|
|
858
857
|
>
|
|
859
|
-
<ForwardRef(
|
|
858
|
+
<ForwardRef(Base)
|
|
859
|
+
as="button"
|
|
860
|
+
className="govgr-btn-primary govgr-btn"
|
|
861
|
+
printHidden={true}
|
|
860
862
|
type="submit"
|
|
861
863
|
>
|
|
862
|
-
<
|
|
863
|
-
|
|
864
|
-
className="govgr-btn-primary govgr-btn"
|
|
864
|
+
<button
|
|
865
|
+
className="govgr-btn-primary govgr-btn govgr-print-hidden"
|
|
865
866
|
type="submit"
|
|
866
867
|
>
|
|
867
|
-
|
|
868
|
-
|
|
869
|
-
|
|
870
|
-
|
|
871
|
-
Συνέχεια
|
|
872
|
-
</button>
|
|
873
|
-
</ForwardRef(Base)>
|
|
874
|
-
</ForwardRef(Button)>
|
|
875
|
-
</withDeprecationComponent>
|
|
868
|
+
Συνέχεια
|
|
869
|
+
</button>
|
|
870
|
+
</ForwardRef(Base)>
|
|
871
|
+
</ForwardRef(Button)>
|
|
876
872
|
</form>
|
|
877
873
|
</ForwardRef(Base)>
|
|
878
874
|
</ForwardRef(Form)>
|