@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.
Files changed (155) hide show
  1. package/CHANGELOG.md +17 -1
  2. package/admin/CopyToClipboard/CopyToClipboard.stories.playwright.json +37 -0
  3. package/admin/Dropdown/Dropdown.stories.playwright.json +21 -0
  4. package/admin/Modal/Modal.stories.playwright.json +37 -0
  5. package/admin/Pagination/Pagination.stories.playwright.json +27 -0
  6. package/admin/StepNav/StepNav.stories.playwright.json +33 -0
  7. package/app/Footer/Footer.stories.playwright.json +27 -0
  8. package/app/Header/Header.stories.playwright.json +33 -0
  9. package/app/QrCodeViewer/QRCode.stories.d.ts +8 -0
  10. package/app/QrCodeViewer/QRCode.stories.js +46 -0
  11. package/app/QrCodeViewer/__stories__/Custom.d.ts +2 -0
  12. package/app/QrCodeViewer/__stories__/Custom.js +37 -0
  13. package/app/QrCodeViewer/__stories__/Default.d.ts +2 -0
  14. package/app/QrCodeViewer/__stories__/Default.js +24 -0
  15. package/app/QrCodeViewer/index.d.ts +8 -0
  16. package/app/QrCodeViewer/index.js +248 -0
  17. package/app/QrCodeViewer/index.mdx +21 -0
  18. package/app/QrCodeViewer/qrcodegen.d.ts +100 -0
  19. package/app/QrCodeViewer/qrcodegen.js +1086 -0
  20. package/app/QrCodeViewer/types.d.ts +29 -0
  21. package/app/QrCodeViewer/types.js +5 -0
  22. package/app/QrCodeViewer/utils.d.ts +11 -0
  23. package/app/QrCodeViewer/utils.js +108 -0
  24. package/app/index.d.ts +1 -0
  25. package/app/index.js +13 -0
  26. package/core/Accordion/Accordion.stories.playwright.json +27 -0
  27. package/core/BackLink/BackLink.stories.playwright.json +21 -0
  28. package/core/Breadcrumbs/Breadcrumbs.stories.playwright.json +33 -0
  29. package/core/Button/Button.stories.playwright.json +93 -0
  30. package/core/Card/Card.stories.playwright.json +21 -0
  31. package/core/Checkboxes/Checkbox.stories.playwright.json +55 -0
  32. package/core/DateInput/DateInput.stories.playwright.json +61 -0
  33. package/core/Details/Details.stories.playwright.json +27 -0
  34. package/core/ErrorSummary/ErrorSummary.stories.playwright.json +27 -0
  35. package/core/FileUpload/__stories__/Default.js +1 -1
  36. package/core/FileUpload/__stories__/WithErrorMessage.js +1 -1
  37. package/core/Link/Link.stories.playwright.json +65 -0
  38. package/core/List/List.stories.playwright.json +27 -0
  39. package/core/Masthead/Masthead.stories.playwright.json +21 -0
  40. package/core/NavList/NavList.stories.playwright.json +33 -0
  41. package/core/NotificationBanner/NotificationBanner.stories.playwright.json +49 -0
  42. package/core/PhaseBanner/PhaseBanner.stories.playwright.json +21 -0
  43. package/core/Radios/Radios.stories.playwright.json +49 -0
  44. package/core/Select/Select.stories.playwright.json +21 -0
  45. package/core/SummaryList/SummaryList.stories.playwright.json +27 -0
  46. package/core/Table/Table.stories.playwright.json +21 -0
  47. package/core/Tabs/Tabs.stories.playwright.json +27 -0
  48. package/core/TextArea/TextArea.stories.playwright.json +59 -0
  49. package/core/TextInput/TextInput.stories.playwright.json +43 -0
  50. package/es/admin/CopyToClipboard/CopyToClipboard.stories.playwright.json +37 -0
  51. package/es/admin/Dropdown/Dropdown.stories.playwright.json +21 -0
  52. package/es/admin/Modal/Modal.stories.playwright.json +37 -0
  53. package/es/admin/Pagination/Pagination.stories.playwright.json +27 -0
  54. package/es/admin/StepNav/StepNav.stories.playwright.json +33 -0
  55. package/es/app/Footer/Footer.stories.playwright.json +27 -0
  56. package/es/app/Header/Header.stories.playwright.json +33 -0
  57. package/es/app/QrCodeViewer/QRCode.stories.js +8 -0
  58. package/es/app/QrCodeViewer/__stories__/Custom.js +22 -0
  59. package/es/app/QrCodeViewer/__stories__/Default.js +11 -0
  60. package/es/app/QrCodeViewer/index.js +224 -0
  61. package/es/app/QrCodeViewer/index.mdx +21 -0
  62. package/es/app/QrCodeViewer/qrcodegen.js +1085 -0
  63. package/es/app/QrCodeViewer/types.js +1 -0
  64. package/es/app/QrCodeViewer/utils.js +95 -0
  65. package/es/app/index.js +1 -0
  66. package/es/core/Accordion/Accordion.stories.playwright.json +27 -0
  67. package/es/core/BackLink/BackLink.stories.playwright.json +21 -0
  68. package/es/core/Breadcrumbs/Breadcrumbs.stories.playwright.json +33 -0
  69. package/es/core/Button/Button.stories.playwright.json +93 -0
  70. package/es/core/Card/Card.stories.playwright.json +21 -0
  71. package/es/core/Checkboxes/Checkbox.stories.playwright.json +55 -0
  72. package/es/core/DateInput/DateInput.stories.playwright.json +61 -0
  73. package/es/core/Details/Details.stories.playwright.json +27 -0
  74. package/es/core/ErrorSummary/ErrorSummary.stories.playwright.json +27 -0
  75. package/es/core/FileUpload/__stories__/Default.js +1 -1
  76. package/es/core/FileUpload/__stories__/WithErrorMessage.js +1 -1
  77. package/es/core/Link/Link.stories.playwright.json +65 -0
  78. package/es/core/List/List.stories.playwright.json +27 -0
  79. package/es/core/Masthead/Masthead.stories.playwright.json +21 -0
  80. package/es/core/NavList/NavList.stories.playwright.json +33 -0
  81. package/es/core/NotificationBanner/NotificationBanner.stories.playwright.json +49 -0
  82. package/es/core/PhaseBanner/PhaseBanner.stories.playwright.json +21 -0
  83. package/es/core/Radios/Radios.stories.playwright.json +49 -0
  84. package/es/core/Select/Select.stories.playwright.json +21 -0
  85. package/es/core/SummaryList/SummaryList.stories.playwright.json +27 -0
  86. package/es/core/Table/Table.stories.playwright.json +21 -0
  87. package/es/core/Tabs/Tabs.stories.playwright.json +27 -0
  88. package/es/core/TextArea/TextArea.stories.playwright.json +59 -0
  89. package/es/core/TextInput/TextInput.stories.playwright.json +43 -0
  90. package/es/govgr/images/index.js +4 -0
  91. package/es/govgr/index.js +2 -1
  92. package/es/locales/el.js +1 -1
  93. package/es/locales/en.js +1 -1
  94. package/es/registry.js +18 -0
  95. package/esm/admin/CopyToClipboard/CopyToClipboard.stories.playwright.json +37 -0
  96. package/esm/admin/Dropdown/Dropdown.stories.playwright.json +21 -0
  97. package/esm/admin/Modal/Modal.stories.playwright.json +37 -0
  98. package/esm/admin/Pagination/Pagination.stories.playwright.json +27 -0
  99. package/esm/admin/StepNav/StepNav.stories.playwright.json +33 -0
  100. package/esm/app/Footer/Footer.stories.playwright.json +27 -0
  101. package/esm/app/Header/Header.stories.playwright.json +33 -0
  102. package/esm/app/QrCodeViewer/QRCode.stories.js +8 -0
  103. package/esm/app/QrCodeViewer/__stories__/Custom.js +22 -0
  104. package/esm/app/QrCodeViewer/__stories__/Default.js +11 -0
  105. package/esm/app/QrCodeViewer/index.js +224 -0
  106. package/esm/app/QrCodeViewer/index.mdx +21 -0
  107. package/esm/app/QrCodeViewer/qrcodegen.js +1085 -0
  108. package/esm/app/QrCodeViewer/types.js +1 -0
  109. package/esm/app/QrCodeViewer/utils.js +95 -0
  110. package/esm/app/index.js +1 -0
  111. package/esm/core/Accordion/Accordion.stories.playwright.json +27 -0
  112. package/esm/core/BackLink/BackLink.stories.playwright.json +21 -0
  113. package/esm/core/Breadcrumbs/Breadcrumbs.stories.playwright.json +33 -0
  114. package/esm/core/Button/Button.stories.playwright.json +93 -0
  115. package/esm/core/Card/Card.stories.playwright.json +21 -0
  116. package/esm/core/Checkboxes/Checkbox.stories.playwright.json +55 -0
  117. package/esm/core/DateInput/DateInput.stories.playwright.json +61 -0
  118. package/esm/core/Details/Details.stories.playwright.json +27 -0
  119. package/esm/core/ErrorSummary/ErrorSummary.stories.playwright.json +27 -0
  120. package/esm/core/FileUpload/__stories__/Default.js +1 -1
  121. package/esm/core/FileUpload/__stories__/WithErrorMessage.js +1 -1
  122. package/esm/core/Link/Link.stories.playwright.json +65 -0
  123. package/esm/core/List/List.stories.playwright.json +27 -0
  124. package/esm/core/Masthead/Masthead.stories.playwright.json +21 -0
  125. package/esm/core/NavList/NavList.stories.playwright.json +33 -0
  126. package/esm/core/NotificationBanner/NotificationBanner.stories.playwright.json +49 -0
  127. package/esm/core/PhaseBanner/PhaseBanner.stories.playwright.json +21 -0
  128. package/esm/core/Radios/Radios.stories.playwright.json +49 -0
  129. package/esm/core/Select/Select.stories.playwright.json +21 -0
  130. package/esm/core/SummaryList/SummaryList.stories.playwright.json +27 -0
  131. package/esm/core/Table/Table.stories.playwright.json +21 -0
  132. package/esm/core/Tabs/Tabs.stories.playwright.json +27 -0
  133. package/esm/core/TextArea/TextArea.stories.playwright.json +59 -0
  134. package/esm/core/TextInput/TextInput.stories.playwright.json +43 -0
  135. package/esm/govgr/images/index.js +4 -0
  136. package/esm/govgr/index.js +2 -1
  137. package/esm/index.js +1 -1
  138. package/esm/locales/el.js +1 -1
  139. package/esm/locales/en.js +1 -1
  140. package/esm/registry.js +18 -0
  141. package/govgr/images/govgr-logo-base64.d.ts +1 -1
  142. package/govgr/images/greek-government-base64.d.ts +1 -1
  143. package/govgr/images/grnet-logo-base64.d.ts +1 -1
  144. package/govgr/images/index.d.ts +4 -0
  145. package/govgr/images/index.js +57 -0
  146. package/govgr/images/minedu-logo-base64.d.ts +1 -1
  147. package/govgr/index.d.ts +1 -0
  148. package/govgr/index.js +13 -0
  149. package/locales/el.d.ts +1 -1
  150. package/locales/el.js +1 -1
  151. package/locales/en.d.ts +1 -1
  152. package/locales/en.js +1 -1
  153. package/package.json +3 -3
  154. package/registry.d.ts +9 -0
  155. 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;