@digigov/ui 0.26.1 → 0.26.3
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 +17 -1
- package/admin/CopyToClipboard/CopyToClipboard.stories.playwright.json +37 -0
- package/admin/Dropdown/Dropdown.stories.playwright.json +21 -0
- package/admin/Modal/Modal.stories.playwright.json +37 -0
- package/admin/Pagination/Pagination.stories.playwright.json +27 -0
- package/admin/StepNav/StepNav.stories.playwright.json +33 -0
- package/app/Footer/Footer.stories.playwright.json +27 -0
- package/app/Header/Header.stories.playwright.json +33 -0
- package/app/QrCodeViewer/QRCode.stories.d.ts +8 -0
- package/app/QrCodeViewer/QRCode.stories.js +46 -0
- package/app/QrCodeViewer/__stories__/Custom.d.ts +2 -0
- package/app/QrCodeViewer/__stories__/Custom.js +37 -0
- package/app/QrCodeViewer/__stories__/Default.d.ts +2 -0
- package/app/QrCodeViewer/__stories__/Default.js +24 -0
- package/app/QrCodeViewer/index.d.ts +8 -0
- package/app/QrCodeViewer/index.js +248 -0
- package/app/QrCodeViewer/index.mdx +21 -0
- package/app/QrCodeViewer/qrcodegen.d.ts +100 -0
- package/app/QrCodeViewer/qrcodegen.js +1086 -0
- package/app/QrCodeViewer/types.d.ts +29 -0
- package/app/QrCodeViewer/types.js +5 -0
- package/app/QrCodeViewer/utils.d.ts +11 -0
- package/app/QrCodeViewer/utils.js +108 -0
- package/app/index.d.ts +1 -0
- package/app/index.js +13 -0
- package/core/Accordion/Accordion.stories.playwright.json +27 -0
- package/core/BackLink/BackLink.stories.playwright.json +21 -0
- package/core/Breadcrumbs/Breadcrumbs.stories.playwright.json +33 -0
- package/core/Button/Button.stories.playwright.json +93 -0
- package/core/Card/Card.stories.playwright.json +21 -0
- package/core/Checkboxes/Checkbox.stories.playwright.json +55 -0
- package/core/DateInput/DateInput.stories.playwright.json +61 -0
- package/core/Details/Details.stories.playwright.json +27 -0
- package/core/ErrorSummary/ErrorSummary.stories.playwright.json +27 -0
- package/core/FileUpload/__stories__/Default.js +1 -1
- package/core/FileUpload/__stories__/WithErrorMessage.js +1 -1
- package/core/Link/Link.stories.playwright.json +65 -0
- package/core/List/List.stories.playwright.json +27 -0
- package/core/Masthead/Masthead.stories.playwright.json +21 -0
- package/core/NavList/NavList.stories.playwright.json +33 -0
- package/core/NotificationBanner/NotificationBanner.stories.playwright.json +49 -0
- package/core/PhaseBanner/PhaseBanner.stories.playwright.json +21 -0
- package/core/Radios/Radios.stories.playwright.json +49 -0
- package/core/Select/Select.stories.playwright.json +21 -0
- package/core/SummaryList/SummaryList.stories.playwright.json +27 -0
- package/core/Table/Table.stories.playwright.json +21 -0
- package/core/Tabs/Tabs.stories.playwright.json +27 -0
- package/core/TextArea/TextArea.stories.playwright.json +59 -0
- package/core/TextInput/TextInput.stories.playwright.json +43 -0
- package/es/admin/CopyToClipboard/CopyToClipboard.stories.playwright.json +37 -0
- package/es/admin/Dropdown/Dropdown.stories.playwright.json +21 -0
- package/es/admin/Modal/Modal.stories.playwright.json +37 -0
- package/es/admin/Pagination/Pagination.stories.playwright.json +27 -0
- package/es/admin/StepNav/StepNav.stories.playwright.json +33 -0
- package/es/app/Footer/Footer.stories.playwright.json +27 -0
- package/es/app/Header/Header.stories.playwright.json +33 -0
- package/es/app/QrCodeViewer/QRCode.stories.js +8 -0
- package/es/app/QrCodeViewer/__stories__/Custom.js +22 -0
- package/es/app/QrCodeViewer/__stories__/Default.js +11 -0
- package/es/app/QrCodeViewer/index.js +224 -0
- package/es/app/QrCodeViewer/index.mdx +21 -0
- package/es/app/QrCodeViewer/qrcodegen.js +1085 -0
- package/es/app/QrCodeViewer/types.js +1 -0
- package/es/app/QrCodeViewer/utils.js +95 -0
- package/es/app/index.js +1 -0
- package/es/core/Accordion/Accordion.stories.playwright.json +27 -0
- package/es/core/BackLink/BackLink.stories.playwright.json +21 -0
- package/es/core/Breadcrumbs/Breadcrumbs.stories.playwright.json +33 -0
- package/es/core/Button/Button.stories.playwright.json +93 -0
- package/es/core/Card/Card.stories.playwright.json +21 -0
- package/es/core/Checkboxes/Checkbox.stories.playwright.json +55 -0
- package/es/core/DateInput/DateInput.stories.playwright.json +61 -0
- package/es/core/Details/Details.stories.playwright.json +27 -0
- package/es/core/ErrorSummary/ErrorSummary.stories.playwright.json +27 -0
- package/es/core/FileUpload/__stories__/Default.js +1 -1
- package/es/core/FileUpload/__stories__/WithErrorMessage.js +1 -1
- package/es/core/Link/Link.stories.playwright.json +65 -0
- package/es/core/List/List.stories.playwright.json +27 -0
- package/es/core/Masthead/Masthead.stories.playwright.json +21 -0
- package/es/core/NavList/NavList.stories.playwright.json +33 -0
- package/es/core/NotificationBanner/NotificationBanner.stories.playwright.json +49 -0
- package/es/core/PhaseBanner/PhaseBanner.stories.playwright.json +21 -0
- package/es/core/Radios/Radios.stories.playwright.json +49 -0
- package/es/core/Select/Select.stories.playwright.json +21 -0
- package/es/core/SummaryList/SummaryList.stories.playwright.json +27 -0
- package/es/core/Table/Table.stories.playwright.json +21 -0
- package/es/core/Tabs/Tabs.stories.playwright.json +27 -0
- package/es/core/TextArea/TextArea.stories.playwright.json +59 -0
- package/es/core/TextInput/TextInput.stories.playwright.json +43 -0
- package/es/govgr/images/index.js +4 -0
- package/es/govgr/index.js +2 -1
- package/es/locales/el.js +1 -1
- package/es/locales/en.js +1 -1
- package/es/registry.js +18 -0
- package/esm/admin/CopyToClipboard/CopyToClipboard.stories.playwright.json +37 -0
- package/esm/admin/Dropdown/Dropdown.stories.playwright.json +21 -0
- package/esm/admin/Modal/Modal.stories.playwright.json +37 -0
- package/esm/admin/Pagination/Pagination.stories.playwright.json +27 -0
- package/esm/admin/StepNav/StepNav.stories.playwright.json +33 -0
- package/esm/app/Footer/Footer.stories.playwright.json +27 -0
- package/esm/app/Header/Header.stories.playwright.json +33 -0
- package/esm/app/QrCodeViewer/QRCode.stories.js +8 -0
- package/esm/app/QrCodeViewer/__stories__/Custom.js +22 -0
- package/esm/app/QrCodeViewer/__stories__/Default.js +11 -0
- package/esm/app/QrCodeViewer/index.js +224 -0
- package/esm/app/QrCodeViewer/index.mdx +21 -0
- package/esm/app/QrCodeViewer/qrcodegen.js +1085 -0
- package/esm/app/QrCodeViewer/types.js +1 -0
- package/esm/app/QrCodeViewer/utils.js +95 -0
- package/esm/app/index.js +1 -0
- package/esm/core/Accordion/Accordion.stories.playwright.json +27 -0
- package/esm/core/BackLink/BackLink.stories.playwright.json +21 -0
- package/esm/core/Breadcrumbs/Breadcrumbs.stories.playwright.json +33 -0
- package/esm/core/Button/Button.stories.playwright.json +93 -0
- package/esm/core/Card/Card.stories.playwright.json +21 -0
- package/esm/core/Checkboxes/Checkbox.stories.playwright.json +55 -0
- package/esm/core/DateInput/DateInput.stories.playwright.json +61 -0
- package/esm/core/Details/Details.stories.playwright.json +27 -0
- package/esm/core/ErrorSummary/ErrorSummary.stories.playwright.json +27 -0
- package/esm/core/FileUpload/__stories__/Default.js +1 -1
- package/esm/core/FileUpload/__stories__/WithErrorMessage.js +1 -1
- package/esm/core/Link/Link.stories.playwright.json +65 -0
- package/esm/core/List/List.stories.playwright.json +27 -0
- package/esm/core/Masthead/Masthead.stories.playwright.json +21 -0
- package/esm/core/NavList/NavList.stories.playwright.json +33 -0
- package/esm/core/NotificationBanner/NotificationBanner.stories.playwright.json +49 -0
- package/esm/core/PhaseBanner/PhaseBanner.stories.playwright.json +21 -0
- package/esm/core/Radios/Radios.stories.playwright.json +49 -0
- package/esm/core/Select/Select.stories.playwright.json +21 -0
- package/esm/core/SummaryList/SummaryList.stories.playwright.json +27 -0
- package/esm/core/Table/Table.stories.playwright.json +21 -0
- package/esm/core/Tabs/Tabs.stories.playwright.json +27 -0
- package/esm/core/TextArea/TextArea.stories.playwright.json +59 -0
- package/esm/core/TextInput/TextInput.stories.playwright.json +43 -0
- package/esm/govgr/images/index.js +4 -0
- package/esm/govgr/index.js +2 -1
- package/esm/index.js +1 -1
- package/esm/locales/el.js +1 -1
- package/esm/locales/en.js +1 -1
- package/esm/registry.js +18 -0
- package/govgr/images/govgr-logo-base64.d.ts +1 -1
- package/govgr/images/greek-government-base64.d.ts +1 -1
- package/govgr/images/grnet-logo-base64.d.ts +1 -1
- package/govgr/images/index.d.ts +4 -0
- package/govgr/images/index.js +57 -0
- package/govgr/images/minedu-logo-base64.d.ts +1 -1
- package/govgr/index.d.ts +1 -0
- package/govgr/index.js +13 -0
- package/locales/el.d.ts +1 -1
- package/locales/el.js +1 -1
- package/locales/en.d.ts +1 -1
- package/locales/en.js +1 -1
- package/package.json +3 -3
- package/registry.d.ts +9 -0
- package/registry.js +27 -0
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": "4",
|
|
3
|
+
"stories": {
|
|
4
|
+
"digigov-ui-core-masthead--default": {
|
|
5
|
+
"actionSets": [
|
|
6
|
+
{
|
|
7
|
+
"actions": [
|
|
8
|
+
{
|
|
9
|
+
"name": "hover",
|
|
10
|
+
"args": {
|
|
11
|
+
"selector": "html>body>div:nth-child(5)>div>div>div>main>a"
|
|
12
|
+
}
|
|
13
|
+
}
|
|
14
|
+
],
|
|
15
|
+
"id": "RjiejhT6-wyP",
|
|
16
|
+
"title": "Hover"
|
|
17
|
+
}
|
|
18
|
+
]
|
|
19
|
+
}
|
|
20
|
+
}
|
|
21
|
+
}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": "4",
|
|
3
|
+
"stories": {
|
|
4
|
+
"digigov-ui-core-navlist--default": {
|
|
5
|
+
"actionSets": [
|
|
6
|
+
{
|
|
7
|
+
"actions": [
|
|
8
|
+
{
|
|
9
|
+
"name": "hover",
|
|
10
|
+
"args": {
|
|
11
|
+
"selector": "html>body>div:nth-child(5)>nav>ul>li:nth-child(2)>div:nth-child(1)>a>span:nth-child(1)"
|
|
12
|
+
}
|
|
13
|
+
},
|
|
14
|
+
{
|
|
15
|
+
"name": "click",
|
|
16
|
+
"args": {
|
|
17
|
+
"selector": "html>body>div:nth-child(5)>nav>ul>li:nth-child(2)>div:nth-child(1)>a>span:nth-child(1)"
|
|
18
|
+
}
|
|
19
|
+
},
|
|
20
|
+
{
|
|
21
|
+
"name": "keyboard.press",
|
|
22
|
+
"args": {
|
|
23
|
+
"key": "Tab"
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
],
|
|
27
|
+
"id": "WMfgyO3E_9S_",
|
|
28
|
+
"title": "Hover and click"
|
|
29
|
+
}
|
|
30
|
+
]
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
}
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": "4",
|
|
3
|
+
"stories": {
|
|
4
|
+
"digigov-ui-core-notificationbanner--default": {
|
|
5
|
+
"actionSets": [
|
|
6
|
+
{
|
|
7
|
+
"actions": [
|
|
8
|
+
{
|
|
9
|
+
"name": "hover",
|
|
10
|
+
"args": {
|
|
11
|
+
"selector": "html>body>div:nth-child(5)>div>div:nth-child(2)>h3>a"
|
|
12
|
+
}
|
|
13
|
+
},
|
|
14
|
+
{
|
|
15
|
+
"name": "click",
|
|
16
|
+
"args": {
|
|
17
|
+
"selector": "html>body>div:nth-child(5)>div>div:nth-child(2)>h3>a"
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
],
|
|
21
|
+
"id": "dYDf1Q2XBX7X",
|
|
22
|
+
"title": "Hover and click"
|
|
23
|
+
}
|
|
24
|
+
]
|
|
25
|
+
},
|
|
26
|
+
"digigov-ui-core-notificationbanner--success": {
|
|
27
|
+
"actionSets": [
|
|
28
|
+
{
|
|
29
|
+
"actions": [
|
|
30
|
+
{
|
|
31
|
+
"name": "hover",
|
|
32
|
+
"args": {
|
|
33
|
+
"selector": "html>body>div:nth-child(5)>div>div:nth-child(2)>h3>a"
|
|
34
|
+
}
|
|
35
|
+
},
|
|
36
|
+
{
|
|
37
|
+
"name": "click",
|
|
38
|
+
"args": {
|
|
39
|
+
"selector": "html>body>div:nth-child(5)>div>div:nth-child(2)>h3>a"
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
],
|
|
43
|
+
"id": "ez4xB9-sspYz",
|
|
44
|
+
"title": "Hover and click"
|
|
45
|
+
}
|
|
46
|
+
]
|
|
47
|
+
}
|
|
48
|
+
}
|
|
49
|
+
}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": "4",
|
|
3
|
+
"stories": {
|
|
4
|
+
"digigov-ui-core-phasebanner--default": {
|
|
5
|
+
"actionSets": [
|
|
6
|
+
{
|
|
7
|
+
"actions": [
|
|
8
|
+
{
|
|
9
|
+
"name": "keyboard.press",
|
|
10
|
+
"args": {
|
|
11
|
+
"key": "Tab"
|
|
12
|
+
}
|
|
13
|
+
}
|
|
14
|
+
],
|
|
15
|
+
"id": "b1ldT3RjaFfg",
|
|
16
|
+
"title": "pressing Tab"
|
|
17
|
+
}
|
|
18
|
+
]
|
|
19
|
+
}
|
|
20
|
+
}
|
|
21
|
+
}
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": "4",
|
|
3
|
+
"stories": {
|
|
4
|
+
"digigov-ui-core-radios--default": {
|
|
5
|
+
"actionSets": [
|
|
6
|
+
{
|
|
7
|
+
"actions": [
|
|
8
|
+
{
|
|
9
|
+
"name": "keyboard.press",
|
|
10
|
+
"args": {
|
|
11
|
+
"key": "Tab"
|
|
12
|
+
}
|
|
13
|
+
},
|
|
14
|
+
{
|
|
15
|
+
"name": "keyboard.press",
|
|
16
|
+
"args": {
|
|
17
|
+
"key": "Space"
|
|
18
|
+
}
|
|
19
|
+
},
|
|
20
|
+
{
|
|
21
|
+
"name": "keyboard.press",
|
|
22
|
+
"args": {
|
|
23
|
+
"key": "ArrowDown"
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
],
|
|
27
|
+
"id": "ihfl6FqwhAee",
|
|
28
|
+
"title": "Navigate with keyboard"
|
|
29
|
+
}
|
|
30
|
+
]
|
|
31
|
+
},
|
|
32
|
+
"digigov-ui-core-radios--with-hints": {
|
|
33
|
+
"actionSets": [
|
|
34
|
+
{
|
|
35
|
+
"actions": [
|
|
36
|
+
{
|
|
37
|
+
"name": "click",
|
|
38
|
+
"args": {
|
|
39
|
+
"selector": "html>body>div:nth-child(5)>div>fieldset>div>div:nth-child(1)>label>input"
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
],
|
|
43
|
+
"id": "FgKax2U7F5gE",
|
|
44
|
+
"title": "Click first"
|
|
45
|
+
}
|
|
46
|
+
]
|
|
47
|
+
}
|
|
48
|
+
}
|
|
49
|
+
}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": "4",
|
|
3
|
+
"stories": {
|
|
4
|
+
"digigov-ui-core-select--default": {
|
|
5
|
+
"actionSets": [
|
|
6
|
+
{
|
|
7
|
+
"actions": [
|
|
8
|
+
{
|
|
9
|
+
"name": "click",
|
|
10
|
+
"args": {
|
|
11
|
+
"selector": "html>body>div:nth-child(5)>div>label>select"
|
|
12
|
+
}
|
|
13
|
+
}
|
|
14
|
+
],
|
|
15
|
+
"id": "r12umQc21tgb",
|
|
16
|
+
"title": "Select with mouse"
|
|
17
|
+
}
|
|
18
|
+
]
|
|
19
|
+
}
|
|
20
|
+
}
|
|
21
|
+
}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": "4",
|
|
3
|
+
"stories": {
|
|
4
|
+
"digigov-ui-core-summarylist--with-actions": {
|
|
5
|
+
"actionSets": [
|
|
6
|
+
{
|
|
7
|
+
"actions": [
|
|
8
|
+
{
|
|
9
|
+
"name": "keyboard.press",
|
|
10
|
+
"args": {
|
|
11
|
+
"key": "Tab"
|
|
12
|
+
}
|
|
13
|
+
},
|
|
14
|
+
{
|
|
15
|
+
"name": "keyboard.press",
|
|
16
|
+
"args": {
|
|
17
|
+
"key": "Tab"
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
],
|
|
21
|
+
"id": "vjxfIQ17JwqS",
|
|
22
|
+
"title": "Navigate with keyboard"
|
|
23
|
+
}
|
|
24
|
+
]
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": "4",
|
|
3
|
+
"stories": {
|
|
4
|
+
"digigov-ui-core-table--with-loader": {
|
|
5
|
+
"actionSets": [
|
|
6
|
+
{
|
|
7
|
+
"actions": [
|
|
8
|
+
{
|
|
9
|
+
"name": "click",
|
|
10
|
+
"args": {
|
|
11
|
+
"selector": "html>body>div:nth-child(5)>div>button"
|
|
12
|
+
}
|
|
13
|
+
}
|
|
14
|
+
],
|
|
15
|
+
"id": "pJkd6uCc33pr",
|
|
16
|
+
"title": "Toggle Loading"
|
|
17
|
+
}
|
|
18
|
+
]
|
|
19
|
+
}
|
|
20
|
+
}
|
|
21
|
+
}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": "4",
|
|
3
|
+
"stories": {
|
|
4
|
+
"digigov-ui-core-tabs--default": {
|
|
5
|
+
"actionSets": [
|
|
6
|
+
{
|
|
7
|
+
"actions": [
|
|
8
|
+
{
|
|
9
|
+
"name": "hover",
|
|
10
|
+
"args": {
|
|
11
|
+
"selector": "html>body>div:nth-child(5)>div>ul>li:nth-child(2)>a"
|
|
12
|
+
}
|
|
13
|
+
},
|
|
14
|
+
{
|
|
15
|
+
"name": "click",
|
|
16
|
+
"args": {
|
|
17
|
+
"selector": "html>body>div:nth-child(5)>div>ul>li:nth-child(2)>a"
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
],
|
|
21
|
+
"id": "_sXJM58BIiuJ",
|
|
22
|
+
"title": "Click second tab"
|
|
23
|
+
}
|
|
24
|
+
]
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
}
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": "4",
|
|
3
|
+
"stories": {
|
|
4
|
+
"digigov-ui-core-textarea--default": {
|
|
5
|
+
"actionSets": [
|
|
6
|
+
{
|
|
7
|
+
"actions": [
|
|
8
|
+
{
|
|
9
|
+
"name": "click",
|
|
10
|
+
"args": {
|
|
11
|
+
"selector": "html>body>div:nth-child(5)>div>label>textarea"
|
|
12
|
+
}
|
|
13
|
+
}
|
|
14
|
+
],
|
|
15
|
+
"id": "JcIH-9OSjmEe",
|
|
16
|
+
"title": "click textarea"
|
|
17
|
+
}
|
|
18
|
+
]
|
|
19
|
+
},
|
|
20
|
+
"digigov-ui-core-textarea--with-hint": {
|
|
21
|
+
"actionSets": [
|
|
22
|
+
{
|
|
23
|
+
"actions": [
|
|
24
|
+
{
|
|
25
|
+
"name": "keyboard.press",
|
|
26
|
+
"args": {
|
|
27
|
+
"key": "Tab"
|
|
28
|
+
}
|
|
29
|
+
},
|
|
30
|
+
{
|
|
31
|
+
"name": "keyboard.insertText",
|
|
32
|
+
"args": {
|
|
33
|
+
"text": "Πληροφορίες"
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
],
|
|
37
|
+
"id": "Wr00uBfppm0B",
|
|
38
|
+
"title": "Navigate with keyboard"
|
|
39
|
+
}
|
|
40
|
+
]
|
|
41
|
+
},
|
|
42
|
+
"digigov-ui-core-textarea--with-error-message": {
|
|
43
|
+
"actionSets": [
|
|
44
|
+
{
|
|
45
|
+
"actions": [
|
|
46
|
+
{
|
|
47
|
+
"name": "click",
|
|
48
|
+
"args": {
|
|
49
|
+
"selector": "html>body>div:nth-child(5)>div>label>textarea"
|
|
50
|
+
}
|
|
51
|
+
}
|
|
52
|
+
],
|
|
53
|
+
"id": "6ooyo8-_c-LB",
|
|
54
|
+
"title": "Click textarea"
|
|
55
|
+
}
|
|
56
|
+
]
|
|
57
|
+
}
|
|
58
|
+
}
|
|
59
|
+
}
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": "4",
|
|
3
|
+
"stories": {
|
|
4
|
+
"digigov-ui-core-textinput--default": {
|
|
5
|
+
"actionSets": [
|
|
6
|
+
{
|
|
7
|
+
"actions": [
|
|
8
|
+
{
|
|
9
|
+
"name": "click",
|
|
10
|
+
"args": {
|
|
11
|
+
"selector": "html>body>div:nth-child(5)>div>label>input"
|
|
12
|
+
}
|
|
13
|
+
},
|
|
14
|
+
{
|
|
15
|
+
"name": "keyboard.insertText",
|
|
16
|
+
"args": {
|
|
17
|
+
"text": "όνομα"
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
],
|
|
21
|
+
"id": "cLpUm-R6HTXB",
|
|
22
|
+
"title": "Click and write"
|
|
23
|
+
}
|
|
24
|
+
]
|
|
25
|
+
},
|
|
26
|
+
"digigov-ui-core-textinput--with-error-message": {
|
|
27
|
+
"actionSets": [
|
|
28
|
+
{
|
|
29
|
+
"actions": [
|
|
30
|
+
{
|
|
31
|
+
"name": "keyboard.press",
|
|
32
|
+
"args": {
|
|
33
|
+
"key": "Tab"
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
],
|
|
37
|
+
"id": "rPCFq3lcF987",
|
|
38
|
+
"title": "Keyboard navigation"
|
|
39
|
+
}
|
|
40
|
+
]
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": "4",
|
|
3
|
+
"stories": {
|
|
4
|
+
"digigov-ui-admin-copytoclipboard--default": {
|
|
5
|
+
"actionSets": [
|
|
6
|
+
{
|
|
7
|
+
"actions": [
|
|
8
|
+
{
|
|
9
|
+
"name": "click",
|
|
10
|
+
"args": {
|
|
11
|
+
"selector": "html>body>div:nth-child(5)>div>div>button"
|
|
12
|
+
}
|
|
13
|
+
}
|
|
14
|
+
],
|
|
15
|
+
"id": "BSaIJR2CMZJU",
|
|
16
|
+
"title": "Click button"
|
|
17
|
+
}
|
|
18
|
+
]
|
|
19
|
+
},
|
|
20
|
+
"digigov-ui-admin-copytoclipboard--banner": {
|
|
21
|
+
"actionSets": [
|
|
22
|
+
{
|
|
23
|
+
"actions": [
|
|
24
|
+
{
|
|
25
|
+
"name": "click",
|
|
26
|
+
"args": {
|
|
27
|
+
"selector": "html>body>div:nth-child(5)>div>div>button"
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
],
|
|
31
|
+
"id": "T50MBtHpfRog",
|
|
32
|
+
"title": "Click button"
|
|
33
|
+
}
|
|
34
|
+
]
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": "4",
|
|
3
|
+
"stories": {
|
|
4
|
+
"digigov-ui-admin-dropdown--default": {
|
|
5
|
+
"actionSets": [
|
|
6
|
+
{
|
|
7
|
+
"actions": [
|
|
8
|
+
{
|
|
9
|
+
"name": "click",
|
|
10
|
+
"args": {
|
|
11
|
+
"selector": "html>body>div:nth-child(5)>details>summary"
|
|
12
|
+
}
|
|
13
|
+
}
|
|
14
|
+
],
|
|
15
|
+
"id": "pRk02vUzsti1",
|
|
16
|
+
"title": "Open dropdown"
|
|
17
|
+
}
|
|
18
|
+
]
|
|
19
|
+
}
|
|
20
|
+
}
|
|
21
|
+
}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": "4",
|
|
3
|
+
"stories": {
|
|
4
|
+
"digigov-ui-admin-modal--default": {
|
|
5
|
+
"actionSets": [
|
|
6
|
+
{
|
|
7
|
+
"actions": [
|
|
8
|
+
{
|
|
9
|
+
"name": "click",
|
|
10
|
+
"args": {
|
|
11
|
+
"selector": "html>body>div:nth-child(5)>button"
|
|
12
|
+
}
|
|
13
|
+
}
|
|
14
|
+
],
|
|
15
|
+
"id": "Q1m2Z1DE-gfI",
|
|
16
|
+
"title": "Open Modal"
|
|
17
|
+
}
|
|
18
|
+
]
|
|
19
|
+
},
|
|
20
|
+
"digigov-ui-admin-modal--alert-dialog": {
|
|
21
|
+
"actionSets": [
|
|
22
|
+
{
|
|
23
|
+
"actions": [
|
|
24
|
+
{
|
|
25
|
+
"name": "click",
|
|
26
|
+
"args": {
|
|
27
|
+
"selector": "html>body>div:nth-child(5)>button"
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
],
|
|
31
|
+
"id": "ugGBGco96ZdX",
|
|
32
|
+
"title": "Open modal"
|
|
33
|
+
}
|
|
34
|
+
]
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": "4",
|
|
3
|
+
"stories": {
|
|
4
|
+
"digigov-ui-admin-pagination--default": {
|
|
5
|
+
"actionSets": [
|
|
6
|
+
{
|
|
7
|
+
"actions": [
|
|
8
|
+
{
|
|
9
|
+
"name": "hover",
|
|
10
|
+
"args": {
|
|
11
|
+
"selector": "html>body>div:nth-child(5)>div>nav:nth-child(1)>ul>li:nth-child(4)>a"
|
|
12
|
+
}
|
|
13
|
+
},
|
|
14
|
+
{
|
|
15
|
+
"name": "focus",
|
|
16
|
+
"args": {
|
|
17
|
+
"selector": "html>body>div:nth-child(5)>div>nav:nth-child(1)>ul>li:nth-child(4)>a"
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
],
|
|
21
|
+
"id": "rXA1pwhPvkBZ",
|
|
22
|
+
"title": "Hover and click no3"
|
|
23
|
+
}
|
|
24
|
+
]
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": "4",
|
|
3
|
+
"stories": {
|
|
4
|
+
"digigov-ui-admin-stepnav--default": {
|
|
5
|
+
"actionSets": [
|
|
6
|
+
{
|
|
7
|
+
"actions": [
|
|
8
|
+
{
|
|
9
|
+
"name": "hover",
|
|
10
|
+
"args": {
|
|
11
|
+
"selector": "html>body>div:nth-child(5)>div>ol>li:nth-child(1)>details>summary>h2>div>span:nth-child(1)"
|
|
12
|
+
}
|
|
13
|
+
},
|
|
14
|
+
{
|
|
15
|
+
"name": "click",
|
|
16
|
+
"args": {
|
|
17
|
+
"selector": "html>body>div:nth-child(5)>div>ol>li:nth-child(1)>details>summary>h2>div>span:nth-child(1)"
|
|
18
|
+
}
|
|
19
|
+
},
|
|
20
|
+
{
|
|
21
|
+
"name": "click",
|
|
22
|
+
"args": {
|
|
23
|
+
"selector": "html>body>div:nth-child(5)>div>div>button"
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
],
|
|
27
|
+
"id": "C735jJuFjJNe",
|
|
28
|
+
"title": "Click 1st and all"
|
|
29
|
+
}
|
|
30
|
+
]
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": "4",
|
|
3
|
+
"stories": {
|
|
4
|
+
"digigov-ui-app-footer--default": {
|
|
5
|
+
"actionSets": [
|
|
6
|
+
{
|
|
7
|
+
"actions": [
|
|
8
|
+
{
|
|
9
|
+
"name": "hover",
|
|
10
|
+
"args": {
|
|
11
|
+
"selector": "html>body>div:nth-child(5)>footer>div>div>div:nth-child(1)>p>a:nth-child(1)"
|
|
12
|
+
}
|
|
13
|
+
},
|
|
14
|
+
{
|
|
15
|
+
"name": "click",
|
|
16
|
+
"args": {
|
|
17
|
+
"selector": "html>body>div:nth-child(5)>footer>div>div>div:nth-child(1)>p>a:nth-child(1)"
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
],
|
|
21
|
+
"id": "DdcFTuWf4bDH",
|
|
22
|
+
"title": "Hover and click"
|
|
23
|
+
}
|
|
24
|
+
]
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": "4",
|
|
3
|
+
"stories": {
|
|
4
|
+
"digigov-ui-app-header--with-service-name-and-logo": {
|
|
5
|
+
"actionSets": [
|
|
6
|
+
{
|
|
7
|
+
"actions": [
|
|
8
|
+
{
|
|
9
|
+
"name": "keyboard.press",
|
|
10
|
+
"args": {
|
|
11
|
+
"key": "Tab"
|
|
12
|
+
}
|
|
13
|
+
},
|
|
14
|
+
{
|
|
15
|
+
"name": "keyboard.press",
|
|
16
|
+
"args": {
|
|
17
|
+
"key": "Tab"
|
|
18
|
+
}
|
|
19
|
+
},
|
|
20
|
+
{
|
|
21
|
+
"name": "keyboard.press",
|
|
22
|
+
"args": {
|
|
23
|
+
"key": "Tab"
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
],
|
|
27
|
+
"id": "93jBqParMbyh",
|
|
28
|
+
"title": "Keyboard navigation"
|
|
29
|
+
}
|
|
30
|
+
]
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
/* eslint-disable digigov/no-relative-imports */
|
|
2
|
+
import QrCodeViewer from '@digigov/ui/app/QrCodeViewer';
|
|
3
|
+
export default {
|
|
4
|
+
title: 'Digigov UI/app/QrCodeViewer',
|
|
5
|
+
component: QrCodeViewer
|
|
6
|
+
};
|
|
7
|
+
export * from './__stories__/Default';
|
|
8
|
+
export * from './__stories__/Custom';
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import QrCodeViewer from '@digigov/ui/app/QrCodeViewer';
|
|
3
|
+
import logo from '@digigov/ui/govgr/images/greek-government-base64';
|
|
4
|
+
export var Custom = function Custom() {
|
|
5
|
+
return /*#__PURE__*/React.createElement("div", null, /*#__PURE__*/React.createElement(QrCodeViewer, {
|
|
6
|
+
value: "https://www.gov.gr/",
|
|
7
|
+
size: 126,
|
|
8
|
+
bgColor: '#ededed',
|
|
9
|
+
fgColor: '#003375',
|
|
10
|
+
level: 'H',
|
|
11
|
+
includeMargin: false,
|
|
12
|
+
imageSettings: {
|
|
13
|
+
src: "".concat(logo),
|
|
14
|
+
x: undefined,
|
|
15
|
+
y: undefined,
|
|
16
|
+
height: 35,
|
|
17
|
+
width: 50,
|
|
18
|
+
excavate: true
|
|
19
|
+
}
|
|
20
|
+
}));
|
|
21
|
+
};
|
|
22
|
+
export default Custom;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import QrCodeViewer from '@digigov/ui/app/QrCodeViewer';
|
|
3
|
+
|
|
4
|
+
var _ref = /*#__PURE__*/React.createElement("div", null, /*#__PURE__*/React.createElement(QrCodeViewer, {
|
|
5
|
+
value: "https://www.gov.gr/"
|
|
6
|
+
}));
|
|
7
|
+
|
|
8
|
+
export var Default = function Default() {
|
|
9
|
+
return _ref;
|
|
10
|
+
};
|
|
11
|
+
export default Default;
|