@digigov/form 2.4.2 → 2.4.3-govgr-4752.27-07-26-12-24
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
CHANGED
|
@@ -1,9 +1,27 @@
|
|
|
1
1
|
# Change Log - @digigov/form
|
|
2
2
|
|
|
3
|
-
<!-- This log was last generated on
|
|
3
|
+
<!-- This log was last generated on Mon, 27 Jul 2026 12:24:19 GMT and should not be manually modified. -->
|
|
4
4
|
|
|
5
5
|
<!-- Start content -->
|
|
6
6
|
|
|
7
|
+
## 2.4.3-govgr-4752.27-07-26-12-24
|
|
8
|
+
|
|
9
|
+
Mon, 27 Jul 2026 12:24:19 GMT
|
|
10
|
+
|
|
11
|
+
### Minor changes
|
|
12
|
+
|
|
13
|
+
- Bump @digigov/react-icons to v2.4.3-govgr-4752.27-07-26-12-24
|
|
14
|
+
- Bump @digigov/cli to v2.4.3-govgr-4752.27-07-26-12-24
|
|
15
|
+
- Bump @digigov/cli-lint to v2.4.3-govgr-4752.27-07-26-12-24
|
|
16
|
+
- Bump @digigov/cli-build to v2.4.3-govgr-4752.27-07-26-12-24
|
|
17
|
+
- Bump @digigov/cli-test to v2.4.3-govgr-4752.27-07-26-12-24
|
|
18
|
+
- Bump @digigov/ui to v2.4.3-govgr-4752.27-07-26-12-24
|
|
19
|
+
- Bump @digigov/react-core to v2.4.3-govgr-4752.27-07-26-12-24
|
|
20
|
+
|
|
21
|
+
### Patches
|
|
22
|
+
|
|
23
|
+
- chore(e2e): update tests (kbrani@admin.grnet.gr)
|
|
24
|
+
|
|
7
25
|
## 2.4.2
|
|
8
26
|
|
|
9
27
|
Fri, 12 Jun 2026 15:34:24 GMT
|
package/index.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@digigov/form",
|
|
3
|
-
"version": "2.4.
|
|
3
|
+
"version": "2.4.3-govgr-4752.27-07-26-12-24",
|
|
4
4
|
"description": "@digigov form builder",
|
|
5
5
|
"author": "GRNET Developers <devs@lists.grnet.gr>",
|
|
6
6
|
"license": "BSD-2-Clause",
|
|
@@ -15,14 +15,14 @@
|
|
|
15
15
|
"yup": "0.32.11",
|
|
16
16
|
"dayjs": "1.10.4",
|
|
17
17
|
"@hookform/resolvers": "5.0.1",
|
|
18
|
-
"@digigov/react-icons": "2.4.
|
|
18
|
+
"@digigov/react-icons": "2.4.3-govgr-4752.27-07-26-12-24"
|
|
19
19
|
},
|
|
20
20
|
"peerDependencies": {
|
|
21
21
|
"clsx": "2.1.1",
|
|
22
22
|
"react": "^18.3.0 || ^19.1.0",
|
|
23
23
|
"react-dom": "^18.3.0 || ^19.1.0",
|
|
24
|
-
"@digigov/ui": "2.4.
|
|
25
|
-
"@digigov/react-core": "2.4.
|
|
24
|
+
"@digigov/ui": "2.4.3-govgr-4752.27-07-26-12-24",
|
|
25
|
+
"@digigov/react-core": "2.4.3-govgr-4752.27-07-26-12-24"
|
|
26
26
|
},
|
|
27
27
|
"gitHead": "c903a46306f77f55ad7fc4d2e274006f39a6c871",
|
|
28
28
|
"private": false,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { test, expect } from '@playwright/experimental-ct-react';
|
|
3
|
-
import TestVariant from '@digigov/ui/utils/TestVariant'
|
|
3
|
+
import TestVariant from '@digigov/ui/utils/TestVariant'
|
|
4
4
|
import { Cards } from '@digigov/form/FieldArray/FormDialog/ArrayDisplay/__stories__/Cards';
|
|
5
5
|
import { Default } from '@digigov/form/FieldArray/FormDialog/ArrayDisplay/__stories__/Default';
|
|
6
6
|
import { ReadOnly } from '@digigov/form/FieldArray/FormDialog/ArrayDisplay/__stories__/ReadOnly';
|
|
@@ -11,38 +11,38 @@ import { WithDeleteConfirmation } from '@digigov/form/FieldArray/FormDialog/Arra
|
|
|
11
11
|
|
|
12
12
|
test('renders the All ArrayDisplay variants', async ({ mount, page }) => {
|
|
13
13
|
await mount(
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
</
|
|
37
|
-
|
|
14
|
+
|
|
15
|
+
<div>
|
|
16
|
+
<TestVariant title="Cards">
|
|
17
|
+
<Cards />
|
|
18
|
+
</TestVariant>
|
|
19
|
+
<TestVariant title="Default">
|
|
20
|
+
<Default />
|
|
21
|
+
</TestVariant>
|
|
22
|
+
<TestVariant title="ReadOnly">
|
|
23
|
+
<ReadOnly />
|
|
24
|
+
</TestVariant>
|
|
25
|
+
<TestVariant title="ReadOnlyCards">
|
|
26
|
+
<ReadOnlyCards />
|
|
27
|
+
</TestVariant>
|
|
28
|
+
<TestVariant title="Sortable">
|
|
29
|
+
<Sortable />
|
|
30
|
+
</TestVariant>
|
|
31
|
+
<TestVariant title="SortableCards">
|
|
32
|
+
<SortableCards />
|
|
33
|
+
</TestVariant>
|
|
34
|
+
<TestVariant title="WithDeleteConfirmation">
|
|
35
|
+
<WithDeleteConfirmation />
|
|
36
|
+
</TestVariant>
|
|
37
|
+
</div>
|
|
38
|
+
)
|
|
38
39
|
await page.evaluate(() => document.fonts.ready);
|
|
39
40
|
|
|
40
41
|
// Move the mouse to the top-left corner to avoid random hover issues
|
|
41
42
|
await page.mouse.move(0, 0);
|
|
42
43
|
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
animations: 'disabled',
|
|
46
|
-
});
|
|
44
|
+
|
|
45
|
+
const screenshot = await page.screenshot({ fullPage: true, animations: 'disabled' });
|
|
47
46
|
expect(screenshot).toMatchSnapshot();
|
|
48
47
|
});
|
|
48
|
+
|
|
@@ -1,44 +1,44 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { test, expect } from '@playwright/experimental-ct-react';
|
|
3
|
-
import TestVariant from '@digigov/ui/utils/TestVariant'
|
|
3
|
+
import TestVariant from '@digigov/ui/utils/TestVariant'
|
|
4
4
|
import { CardsWithError } from '@digigov/form/FieldArray/__stories__/CardsWithError';
|
|
5
5
|
import { Default } from '@digigov/form/FieldArray/__stories__/Default';
|
|
6
6
|
import { TableWithError } from '@digigov/form/FieldArray/__stories__/TableWithError';
|
|
7
|
+
import { WithDeleteConfirmation } from '@digigov/form/FieldArray/__stories__/WithDeleteConfirmation';
|
|
7
8
|
import { WithExactLength } from '@digigov/form/FieldArray/__stories__/WithExactLength';
|
|
8
9
|
import { WithModal } from '@digigov/form/FieldArray/__stories__/WithModal';
|
|
9
|
-
import { WithDeleteConfirmation } from '@digigov/form/FieldArray/__stories__/WithDeleteConfirmation';
|
|
10
10
|
|
|
11
11
|
test('renders the All FieldArray variants', async ({ mount, page }) => {
|
|
12
12
|
await mount(
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
</
|
|
33
|
-
|
|
13
|
+
|
|
14
|
+
<div>
|
|
15
|
+
<TestVariant title="CardsWithError">
|
|
16
|
+
<CardsWithError />
|
|
17
|
+
</TestVariant>
|
|
18
|
+
<TestVariant title="Default">
|
|
19
|
+
<Default />
|
|
20
|
+
</TestVariant>
|
|
21
|
+
<TestVariant title="TableWithError">
|
|
22
|
+
<TableWithError />
|
|
23
|
+
</TestVariant>
|
|
24
|
+
<TestVariant title="WithDeleteConfirmation">
|
|
25
|
+
<WithDeleteConfirmation />
|
|
26
|
+
</TestVariant>
|
|
27
|
+
<TestVariant title="WithExactLength">
|
|
28
|
+
<WithExactLength />
|
|
29
|
+
</TestVariant>
|
|
30
|
+
<TestVariant title="WithModal">
|
|
31
|
+
<WithModal />
|
|
32
|
+
</TestVariant>
|
|
33
|
+
</div>
|
|
34
|
+
)
|
|
34
35
|
await page.evaluate(() => document.fonts.ready);
|
|
35
36
|
|
|
36
37
|
// Move the mouse to the top-left corner to avoid random hover issues
|
|
37
38
|
await page.mouse.move(0, 0);
|
|
38
39
|
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
animations: 'disabled',
|
|
42
|
-
});
|
|
40
|
+
|
|
41
|
+
const screenshot = await page.screenshot({ fullPage: true, animations: 'disabled' });
|
|
43
42
|
expect(screenshot).toMatchSnapshot();
|
|
44
43
|
});
|
|
44
|
+
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { test, expect } from '@playwright/experimental-ct-react';
|
|
3
|
-
import TestVariant from '@digigov/ui/utils/TestVariant'
|
|
3
|
+
import TestVariant from '@digigov/ui/utils/TestVariant'
|
|
4
4
|
import { AFM } from '@digigov/form/inputs/Input/__stories__/AFM';
|
|
5
5
|
import { AMKA } from '@digigov/form/inputs/Input/__stories__/AMKA';
|
|
6
6
|
import { Boolean } from '@digigov/form/inputs/Input/__stories__/Boolean';
|
|
@@ -13,68 +13,68 @@ import { PhoneNumber } from '@digigov/form/inputs/Input/__stories__/PhoneNumber'
|
|
|
13
13
|
import { PostalCode } from '@digigov/form/inputs/Input/__stories__/PostalCode';
|
|
14
14
|
import { Rate } from '@digigov/form/inputs/Input/__stories__/Rate';
|
|
15
15
|
import { String } from '@digigov/form/inputs/Input/__stories__/String';
|
|
16
|
-
import { Url } from '@digigov/form/inputs/Input/__stories__/Url';
|
|
17
16
|
import { StringWithTrimValidation } from '@digigov/form/inputs/Input/__stories__/StringWithTrimValidation';
|
|
18
17
|
import { TextWithLimit } from '@digigov/form/inputs/Input/__stories__/TextWithLimit';
|
|
18
|
+
import { Url } from '@digigov/form/inputs/Input/__stories__/Url';
|
|
19
19
|
|
|
20
20
|
test('renders the All Input variants', async ({ mount, page }) => {
|
|
21
21
|
await mount(
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
</
|
|
69
|
-
|
|
22
|
+
|
|
23
|
+
<div>
|
|
24
|
+
<TestVariant title="AFM">
|
|
25
|
+
<AFM />
|
|
26
|
+
</TestVariant>
|
|
27
|
+
<TestVariant title="AMKA">
|
|
28
|
+
<AMKA />
|
|
29
|
+
</TestVariant>
|
|
30
|
+
<TestVariant title="Boolean">
|
|
31
|
+
<Boolean />
|
|
32
|
+
</TestVariant>
|
|
33
|
+
<TestVariant title="Email">
|
|
34
|
+
<Email />
|
|
35
|
+
</TestVariant>
|
|
36
|
+
<TestVariant title="IBAN">
|
|
37
|
+
<IBAN />
|
|
38
|
+
</TestVariant>
|
|
39
|
+
<TestVariant title="Integer">
|
|
40
|
+
<Integer />
|
|
41
|
+
</TestVariant>
|
|
42
|
+
<TestVariant title="LandlineNumber">
|
|
43
|
+
<LandlineNumber />
|
|
44
|
+
</TestVariant>
|
|
45
|
+
<TestVariant title="MobilePhone">
|
|
46
|
+
<MobilePhone />
|
|
47
|
+
</TestVariant>
|
|
48
|
+
<TestVariant title="PhoneNumber">
|
|
49
|
+
<PhoneNumber />
|
|
50
|
+
</TestVariant>
|
|
51
|
+
<TestVariant title="PostalCode">
|
|
52
|
+
<PostalCode />
|
|
53
|
+
</TestVariant>
|
|
54
|
+
<TestVariant title="Rate">
|
|
55
|
+
<Rate />
|
|
56
|
+
</TestVariant>
|
|
57
|
+
<TestVariant title="String">
|
|
58
|
+
<String />
|
|
59
|
+
</TestVariant>
|
|
60
|
+
<TestVariant title="StringWithTrimValidation">
|
|
61
|
+
<StringWithTrimValidation />
|
|
62
|
+
</TestVariant>
|
|
63
|
+
<TestVariant title="TextWithLimit">
|
|
64
|
+
<TextWithLimit />
|
|
65
|
+
</TestVariant>
|
|
66
|
+
<TestVariant title="Url">
|
|
67
|
+
<Url />
|
|
68
|
+
</TestVariant>
|
|
69
|
+
</div>
|
|
70
|
+
)
|
|
70
71
|
await page.evaluate(() => document.fonts.ready);
|
|
71
72
|
|
|
72
73
|
// Move the mouse to the top-left corner to avoid random hover issues
|
|
73
74
|
await page.mouse.move(0, 0);
|
|
74
75
|
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
animations: 'disabled',
|
|
78
|
-
});
|
|
76
|
+
|
|
77
|
+
const screenshot = await page.screenshot({ fullPage: true, animations: 'disabled' });
|
|
79
78
|
expect(screenshot).toMatchSnapshot();
|
|
80
79
|
});
|
|
80
|
+
|