@digigov/ui 1.0.0-871b6be5 → 1.0.0-8ae63a77

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 (165) hide show
  1. package/app/Footer/__stories__/FooterAllInclusive.js +33 -23
  2. package/app/Footer/__stories__/FooterWithLink.js +16 -12
  3. package/app/Footer/__stories__/FooterWithLogo.js +17 -15
  4. package/app/Footer/__stories__/FooterWithSecondaryNavigation.js +18 -14
  5. package/app/Masthead/Masthead.stories.playwright.json +1 -1
  6. package/content/Blockquote/Blockquote.stories.d.ts +1 -0
  7. package/content/Blockquote/Blockquote.stories.js +14 -0
  8. package/content/Blockquote/__stories__/Dense.d.ts +2 -0
  9. package/content/Blockquote/__stories__/Dense.js +24 -0
  10. package/content/Card/Card.stories.d.ts +1 -1
  11. package/content/Card/Card.stories.js +8 -8
  12. package/content/Card/__stories__/Default.js +1 -1
  13. package/content/Card/__stories__/Dense.d.ts +2 -0
  14. package/content/Card/__stories__/Dense.js +28 -0
  15. package/content/Card/__stories__/WithClickableContent.js +1 -3
  16. package/content/StepNav/StepNav.stories.d.ts +1 -0
  17. package/content/StepNav/StepNav.stories.js +14 -0
  18. package/content/StepNav/__stories__/Dense.d.ts +2 -0
  19. package/content/StepNav/__stories__/Dense.js +204 -0
  20. package/content/TaskList/TaskList.stories.d.ts +1 -0
  21. package/content/TaskList/TaskList.stories.js +14 -0
  22. package/content/TaskList/__stories__/Dense.d.ts +2 -0
  23. package/content/TaskList/__stories__/Dense.js +93 -0
  24. package/content/Timeline/Timeline.stories.d.ts +1 -0
  25. package/content/Timeline/Timeline.stories.js +14 -0
  26. package/content/Timeline/__stories__/Default.js +2 -4
  27. package/content/Timeline/__stories__/Dense.d.ts +2 -0
  28. package/content/Timeline/__stories__/Dense.js +141 -0
  29. package/es/app/Footer/__stories__/FooterAllInclusive.js +33 -23
  30. package/es/app/Footer/__stories__/FooterWithLink.js +16 -12
  31. package/es/app/Footer/__stories__/FooterWithLogo.js +17 -15
  32. package/es/app/Footer/__stories__/FooterWithSecondaryNavigation.js +18 -14
  33. package/es/app/Masthead/Masthead.stories.playwright.json +1 -1
  34. package/es/content/Blockquote/Blockquote.stories.js +2 -1
  35. package/es/content/Blockquote/__stories__/Dense.js +11 -0
  36. package/es/content/Card/Card.stories.js +2 -2
  37. package/es/content/Card/__stories__/Default.js +1 -1
  38. package/es/content/Card/__stories__/Dense.js +14 -0
  39. package/es/content/Card/__stories__/WithClickableContent.js +1 -3
  40. package/es/content/StepNav/StepNav.stories.js +2 -1
  41. package/es/content/StepNav/__stories__/Dense.js +180 -0
  42. package/es/content/TaskList/TaskList.stories.js +2 -1
  43. package/es/content/TaskList/__stories__/Dense.js +76 -0
  44. package/es/content/Timeline/Timeline.stories.js +2 -1
  45. package/es/content/Timeline/__stories__/Default.js +2 -4
  46. package/es/content/Timeline/__stories__/Dense.js +124 -0
  47. package/es/feedback/ErrorSummary/__stories__/LinkedToField.js +2 -2
  48. package/es/form/ErrorMessage/ErrorMessage.stories.js +2 -1
  49. package/es/form/ErrorMessage/__stories__/ErrorMessageOnly.js +12 -0
  50. package/es/form/RadioContainer/RadioContainer.stories.js +1 -1
  51. package/es/form/RadioContainer/__stories__/InlineWithDivider.js +24 -0
  52. package/es/form/RadioContainer/__stories__/NoneAnswer.js +6 -2
  53. package/es/form/TextArea/__stories__/Default.js +1 -4
  54. package/es/govgr/Footer/Copyright.js +3 -3
  55. package/es/icons/Icon/index.js +2 -2
  56. package/es/icons/ImageLogo/index.js +3 -0
  57. package/es/icons/ImageLogoSet/index.js +3 -0
  58. package/es/layouts/Grid/Grid.stories.js +1 -0
  59. package/es/layouts/Grid/__stories__/ResponsiveSpacing.js +79 -0
  60. package/es/navigation/Tabs/__stories__/Default.js +5 -2
  61. package/es/registry.js +4 -0
  62. package/esm/app/Footer/__stories__/FooterAllInclusive.js +33 -23
  63. package/esm/app/Footer/__stories__/FooterWithLink.js +16 -12
  64. package/esm/app/Footer/__stories__/FooterWithLogo.js +17 -15
  65. package/esm/app/Footer/__stories__/FooterWithSecondaryNavigation.js +18 -14
  66. package/esm/app/Masthead/Masthead.stories.playwright.json +1 -1
  67. package/esm/content/Blockquote/Blockquote.stories.js +2 -1
  68. package/esm/content/Blockquote/__stories__/Dense.js +11 -0
  69. package/esm/content/Card/Card.stories.js +2 -2
  70. package/esm/content/Card/__stories__/Default.js +1 -1
  71. package/esm/content/Card/__stories__/Dense.js +14 -0
  72. package/esm/content/Card/__stories__/WithClickableContent.js +1 -3
  73. package/esm/content/StepNav/StepNav.stories.js +2 -1
  74. package/esm/content/StepNav/__stories__/Dense.js +180 -0
  75. package/esm/content/TaskList/TaskList.stories.js +2 -1
  76. package/esm/content/TaskList/__stories__/Dense.js +76 -0
  77. package/esm/content/Timeline/Timeline.stories.js +2 -1
  78. package/esm/content/Timeline/__stories__/Default.js +2 -4
  79. package/esm/content/Timeline/__stories__/Dense.js +124 -0
  80. package/esm/feedback/ErrorSummary/__stories__/LinkedToField.js +2 -2
  81. package/esm/form/ErrorMessage/ErrorMessage.stories.js +2 -1
  82. package/esm/form/ErrorMessage/__stories__/ErrorMessageOnly.js +12 -0
  83. package/esm/form/RadioContainer/RadioContainer.stories.js +1 -1
  84. package/esm/form/RadioContainer/__stories__/InlineWithDivider.js +24 -0
  85. package/esm/form/RadioContainer/__stories__/NoneAnswer.js +6 -2
  86. package/esm/form/TextArea/__stories__/Default.js +1 -4
  87. package/esm/govgr/Footer/Copyright.js +3 -3
  88. package/esm/icons/Icon/index.js +2 -2
  89. package/esm/icons/ImageLogo/index.js +3 -0
  90. package/esm/icons/ImageLogoSet/index.js +3 -0
  91. package/esm/index.js +1 -1
  92. package/esm/layouts/Grid/Grid.stories.js +1 -0
  93. package/esm/layouts/Grid/__stories__/ResponsiveSpacing.js +79 -0
  94. package/esm/navigation/Tabs/__stories__/Default.js +5 -2
  95. package/esm/registry.js +4 -0
  96. package/feedback/ErrorSummary/__stories__/LinkedToField.js +2 -2
  97. package/form/ErrorMessage/ErrorMessage.stories.d.ts +1 -0
  98. package/form/ErrorMessage/ErrorMessage.stories.js +14 -0
  99. package/form/ErrorMessage/__stories__/ErrorMessageOnly.d.ts +2 -0
  100. package/form/ErrorMessage/__stories__/ErrorMessageOnly.js +26 -0
  101. package/form/RadioContainer/RadioContainer.stories.d.ts +1 -1
  102. package/form/RadioContainer/RadioContainer.stories.js +4 -4
  103. package/form/RadioContainer/__stories__/InlineWithDivider.d.ts +2 -0
  104. package/form/RadioContainer/__stories__/InlineWithDivider.js +39 -0
  105. package/form/RadioContainer/__stories__/NoneAnswer.js +6 -2
  106. package/form/TextArea/__stories__/Default.js +1 -5
  107. package/govgr/Footer/Copyright.js +3 -3
  108. package/icons/Icon/index.d.ts +2 -2
  109. package/icons/Icon/index.js +1 -1
  110. package/icons/ImageLogo/index.d.ts +3 -0
  111. package/icons/ImageLogo/index.js +30 -0
  112. package/icons/ImageLogoSet/index.d.ts +3 -0
  113. package/icons/ImageLogoSet/index.js +30 -0
  114. package/layouts/Basic/Content/index.d.ts +1 -1
  115. package/layouts/Basic/Side/index.d.ts +1 -1
  116. package/layouts/Grid/Grid.stories.d.ts +1 -0
  117. package/layouts/Grid/Grid.stories.js +14 -0
  118. package/layouts/Grid/__stories__/ResponsiveSpacing.d.ts +2 -0
  119. package/layouts/Grid/__stories__/ResponsiveSpacing.js +93 -0
  120. package/navigation/Tabs/__stories__/Default.js +5 -2
  121. package/package.json +3 -3
  122. package/registry.d.ts +2 -0
  123. package/registry.js +6 -0
  124. package/src/app/Footer/__stories__/FooterAllInclusive.tsx +14 -18
  125. package/src/app/Footer/__stories__/FooterWithLink.tsx +5 -7
  126. package/src/app/Footer/__stories__/FooterWithLogo.tsx +11 -13
  127. package/src/app/Footer/__stories__/FooterWithSecondaryNavigation.tsx +58 -58
  128. package/src/app/Masthead/Masthead.stories.playwright.json +1 -1
  129. package/src/content/Blockquote/Blockquote.stories.js +1 -0
  130. package/src/content/Blockquote/__stories__/Dense.tsx +11 -0
  131. package/src/content/Card/Card.stories.js +1 -1
  132. package/src/content/Card/__stories__/Default.tsx +1 -1
  133. package/src/content/Card/__stories__/{WithButton.tsx → Dense.tsx} +5 -5
  134. package/src/content/Card/__stories__/WithClickableContent.tsx +1 -1
  135. package/src/content/StepNav/StepNav.stories.js +1 -0
  136. package/src/content/StepNav/__stories__/Dense.tsx +261 -0
  137. package/src/content/TaskList/TaskList.stories.js +1 -0
  138. package/src/content/TaskList/__stories__/Dense.tsx +118 -0
  139. package/src/content/Timeline/Timeline.stories.js +1 -0
  140. package/src/content/Timeline/__stories__/Default.tsx +2 -2
  141. package/src/content/Timeline/__stories__/Dense.tsx +196 -0
  142. package/src/feedback/ErrorSummary/__stories__/LinkedToField.tsx +2 -2
  143. package/src/form/ErrorMessage/ErrorMessage.stories.js +1 -0
  144. package/src/form/ErrorMessage/__stories__/ErrorMessageOnly.tsx +12 -0
  145. package/src/form/RadioContainer/RadioContainer.stories.js +1 -1
  146. package/src/form/RadioContainer/__stories__/InlineWithDivider.tsx +32 -0
  147. package/src/form/RadioContainer/__stories__/NoneAnswer.tsx +3 -3
  148. package/src/form/TextArea/__stories__/Default.tsx +0 -5
  149. package/src/govgr/Footer/Copyright.tsx +11 -11
  150. package/src/icons/Icon/index.tsx +2 -2
  151. package/src/icons/ImageLogo/index.tsx +5 -0
  152. package/src/icons/ImageLogoSet/index.tsx +4 -0
  153. package/src/layouts/Grid/Grid.stories.js +1 -0
  154. package/src/layouts/Grid/__stories__/ResponsiveSpacing.tsx +43 -0
  155. package/src/navigation/Tabs/__stories__/Default.tsx +3 -3
  156. package/src/registry.js +4 -0
  157. package/content/Card/__stories__/WithButton.d.ts +0 -2
  158. package/content/Card/__stories__/WithButton.js +0 -24
  159. package/es/content/Card/__stories__/WithButton.js +0 -10
  160. package/es/form/RadioContainer/__stories__/WithDivider.js +0 -24
  161. package/esm/content/Card/__stories__/WithButton.js +0 -10
  162. package/esm/form/RadioContainer/__stories__/WithDivider.js +0 -24
  163. package/form/RadioContainer/__stories__/WithDivider.d.ts +0 -2
  164. package/form/RadioContainer/__stories__/WithDivider.js +0 -38
  165. package/src/form/RadioContainer/__stories__/WithDivider.tsx +0 -30
package/registry.js CHANGED
@@ -243,6 +243,10 @@ var _digigov_ui_i18n_locales_en = _interopRequireWildcard(require("@digigov/ui/i
243
243
 
244
244
  var _digigov_ui_icons_Icon = _interopRequireWildcard(require("@digigov/ui/icons/Icon"));
245
245
 
246
+ var _digigov_ui_icons_ImageLogo = _interopRequireWildcard(require("@digigov/ui/icons/ImageLogo"));
247
+
248
+ var _digigov_ui_icons_ImageLogoSet = _interopRequireWildcard(require("@digigov/ui/icons/ImageLogoSet"));
249
+
246
250
  var _digigov_ui_icons = _interopRequireWildcard(require("@digigov/ui/icons"));
247
251
 
248
252
  var _digigov_ui = _interopRequireWildcard(require("@digigov/ui"));
@@ -615,6 +619,8 @@ var _default = {
615
619
  '@digigov/ui/i18n/locales/el': lazyImport(_digigov_ui_i18n_locales_el),
616
620
  '@digigov/ui/i18n/locales/en': lazyImport(_digigov_ui_i18n_locales_en),
617
621
  '@digigov/ui/icons/Icon': lazyImport(_digigov_ui_icons_Icon),
622
+ '@digigov/ui/icons/ImageLogo': lazyImport(_digigov_ui_icons_ImageLogo),
623
+ '@digigov/ui/icons/ImageLogoSet': lazyImport(_digigov_ui_icons_ImageLogoSet),
618
624
  '@digigov/ui/icons': lazyImport(_digigov_ui_icons),
619
625
  '@digigov/ui': lazyImport(_digigov_ui),
620
626
  '@digigov/ui/layouts/Admin': lazyImport(_digigov_ui_layouts_Admin),
@@ -16,8 +16,8 @@ import {
16
16
  } from '@digigov/ui/app/Footer';
17
17
  import Copyright from '@digigov/ui/govgr/Footer/Copyright';
18
18
  import HellenicRepublicLogo from '@digigov/ui/govgr/Footer/HellenicRepublicLogo';
19
- import logo1 from '@digigov/ui/govgr/images/greek-government-base64';
20
- import logo2 from '@digigov/ui/govgr/images/grnet-logo-base64';
19
+ import govgrBlueLogo from '@digigov/ui/govgr/images/govgr-logo-blue-base64';
20
+ import mineduBlackLogo from '@digigov/ui/govgr/images/minedu-logo-black-base64';
21
21
  import SectionBreak from '@digigov/ui/layouts/SectionBreak';
22
22
  import Link from '@digigov/ui/navigation/Link';
23
23
  import VisuallyHidden from '@digigov/ui/utils/VisuallyHidden';
@@ -46,7 +46,7 @@ export const FooterAllInclusive = () => {
46
46
  <FooterLink href="#">Όροι χρήσης</FooterLink>
47
47
  </FooterListItem>
48
48
  <FooterListItem>
49
- <FooterLink href="#">Ιδιωτικό απόρρητο </FooterLink>
49
+ <FooterLink href="#">Ιδιωτικό απόρρητο</FooterLink>
50
50
  </FooterListItem>
51
51
  </FooterList>
52
52
  </FooterNavigationSection>
@@ -76,40 +76,36 @@ export const FooterAllInclusive = () => {
76
76
  </FooterListItem>
77
77
  </FooterList>
78
78
  <FooterContentLogos>
79
- <FooterImage src={logo1} />
80
- <FooterImage src={logo2} />
79
+ <FooterImage src={govgrBlueLogo} />
80
+ <FooterImage src={mineduBlackLogo} />
81
81
  </FooterContentLogos>
82
82
  <Copyright>
83
- Υλοποίηση από το{' '}
83
+ {`Υλοποίηση από το `}
84
84
  <Link href="https://grnet.gr/" target="_blank">
85
85
  ΕΔΥΤΕ
86
86
  <VisuallyHidden>
87
- {' '}
88
- (ανοίγει σε καινούρια καρτέλα)
87
+ {` (ανοίγει σε καινούρια καρτέλα)`}
89
88
  </VisuallyHidden>
90
- </Link>{' '}
91
- για το{' '}
89
+ </Link>
90
+ {` για το `}
92
91
  <Link href="https://mindigital.gr/" target="_blank">
93
- {' '}
94
92
  Υπουργείο Ψηφιακής Διακυβέρνησης
95
93
  <VisuallyHidden>
96
- {' '}
97
- (ανοίγει σε καινούρια καρτέλα)
94
+ {` (ανοίγει σε καινούρια καρτέλα)`}
98
95
  </VisuallyHidden>
99
- </Link>{' '}
100
- και για το{' '}
96
+ </Link>
97
+ {` και για το `}
101
98
  <Link href="https://www.minedu.gov.gr/" target="_blank">
102
99
  Υπουργείο Παιδείας και Θρησκευμάτων
103
100
  <VisuallyHidden>
104
- {' '}
105
- (ανοίγει σε καινούρια καρτέλα)
101
+ {` (ανοίγει σε καινούρια καρτέλα)`}
106
102
  </VisuallyHidden>
107
103
  </Link>
108
104
  </Copyright>
109
105
  </FooterContent>
110
106
  </FooterInfoSection>
111
107
  <FooterInfoSection>
112
- <HellenicRepublicLogo></HellenicRepublicLogo>
108
+ <HellenicRepublicLogo />
113
109
  </FooterInfoSection>
114
110
  </FooterInfo>
115
111
  </FooterContainer>
@@ -31,20 +31,18 @@ export const FooterWithLink = () => {
31
31
  </FooterListItem>
32
32
  </FooterList>
33
33
  <Copyright>
34
- Υλοποίηση από το{' '}
34
+ {`Υλοποίηση από το `}
35
35
  <Link href="https://grnet.gr/" target="_blank">
36
36
  ΕΔΥΤΕ
37
37
  <VisuallyHidden>
38
- {' '}
39
- (ανοίγει σε καινούρια καρτέλα)
38
+ {` (ανοίγει σε καινούρια καρτέλα)`}
40
39
  </VisuallyHidden>
41
- </Link>{' '}
42
- για το{' '}
40
+ </Link>
41
+ {` για το `}
43
42
  <Link href="https://mindigital.gr/" target="_blank">
44
43
  Υπουργείο Ψηφιακής Διακυβέρνησης
45
44
  <VisuallyHidden>
46
- {' '}
47
- (ανοίγει σε καινούρια καρτέλα)
45
+ {` (ανοίγει σε καινούρια καρτέλα)`}
48
46
  </VisuallyHidden>
49
47
  </Link>
50
48
  </Copyright>
@@ -10,8 +10,8 @@ import {
10
10
  } from '@digigov/ui/app/Footer';
11
11
  import Copyright from '@digigov/ui/govgr/Footer/Copyright';
12
12
  import HellenicRepublicLogo from '@digigov/ui/govgr/Footer/HellenicRepublicLogo';
13
- import logo1 from '@digigov/ui/govgr/images/greek-government-base64';
14
- import logo2 from '@digigov/ui/govgr/images/grnet-logo-base64';
13
+ import govgrBlueLogo from '@digigov/ui/govgr/images/govgr-logo-blue-base64';
14
+ import mineduBlackLogo from '@digigov/ui/govgr/images/minedu-logo-black-base64';
15
15
  import Link from '@digigov/ui/navigation/Link';
16
16
  import VisuallyHidden from '@digigov/ui/utils/VisuallyHidden';
17
17
 
@@ -23,31 +23,29 @@ export const FooterWithLogo = () => {
23
23
  <FooterInfoSection aria-label='footer info section'>
24
24
  <FooterContent>
25
25
  <FooterContentLogos>
26
- <FooterImage src={logo1}></FooterImage>
27
- <FooterImage src={logo2}></FooterImage>
26
+ <FooterImage src={govgrBlueLogo}></FooterImage>
27
+ <FooterImage src={mineduBlackLogo}></FooterImage>
28
28
  </FooterContentLogos>
29
29
  <Copyright>
30
- Υλοποίηση από το{' '}
30
+ {`Υλοποίηση από το `}
31
31
  <Link href="https://grnet.gr/" target="_blank">
32
32
  ΕΔΥΤΕ
33
33
  <VisuallyHidden>
34
- {' '}
35
- (ανοίγει σε καινούρια καρτέλα)
34
+ {` (ανοίγει σε καινούρια καρτέλα)`}
36
35
  </VisuallyHidden>
37
- </Link>{' '}
38
- για το{' '}
36
+ </Link>
37
+ {` για το `}
39
38
  <Link href="https://mindigital.gr/" target="_blank">
40
- Υπουργείο Ψηφιακής Διακυβέρνησης
39
+ Υπουργείο Παιδείας και Θρησκευμάτων
41
40
  <VisuallyHidden>
42
- {' '}
43
- (ανοίγει σε καινούρια καρτέλα)
41
+ {` (ανοίγει σε καινούρια καρτέλα)`}
44
42
  </VisuallyHidden>
45
43
  </Link>
46
44
  </Copyright>
47
45
  </FooterContent>
48
46
  </FooterInfoSection>
49
47
  <FooterInfoSection>
50
- <HellenicRepublicLogo></HellenicRepublicLogo>
48
+ <HellenicRepublicLogo />
51
49
  </FooterInfoSection>
52
50
  </FooterInfo>
53
51
  </FooterContainer>
@@ -22,64 +22,64 @@ export const FooterWithSecondaryNavigation = () => {
22
22
  return (
23
23
  <Footer>
24
24
  <FooterContainer>
25
- <FooterNavigation>
26
- <FooterNavigationSection aria-label='footer navigation section'>
27
- <FooterHeading>Επιλογές</FooterHeading>
28
- <FooterList columns={2}>
29
- <FooterListItem>
30
- <FooterLink href="#">Υπηρεσίες</FooterLink>
31
- </FooterListItem>
32
- <FooterListItem>
33
- <FooterLink href="#">Φορείς</FooterLink>
34
- </FooterListItem>
35
- <FooterListItem>
36
- <FooterLink href="#">Αρχές</FooterLink>
37
- </FooterListItem>
38
- <FooterListItem>
39
- <FooterLink href="#">Σχετικά με το gov.gr</FooterLink>
40
- </FooterListItem>
41
- <FooterListItem>
42
- <FooterLink href="#">Όροι χρήσης</FooterLink>
43
- </FooterListItem>
44
- <FooterListItem>
45
- <FooterLink href="#">Ιδιωτικό απόρρητο </FooterLink>
46
- </FooterListItem>
47
- </FooterList>
48
- </FooterNavigationSection>
49
- <FooterNavigationSection aria-label='footer navigation section'>
50
- <FooterHeading>Εξωτερικές Υπηρεσίες</FooterHeading>
51
- <FooterList>
52
- <FooterListItem>
53
- <FooterLink href="#">ΕΜΔΔ - ΜΙΤΟΣ</FooterLink>
54
- </FooterListItem>
55
- <FooterListItem>
56
- <FooterLink href="#">EUGO</FooterLink>
57
- </FooterListItem>
58
- </FooterList>
59
- </FooterNavigationSection>
60
- </FooterNavigation>
61
- <SectionBreak visible={false} size="md" />
62
- <FooterInfo>
63
- <FooterInfoSection grow aria-label='footer info section'>
64
- <FooterContent>
65
- <Copyright>
66
- Υλοποίηση από το{' '}
67
- <Link href="https://grnet.gr/" target="_blank">
68
- ΕΔΥΤΕ
69
- <VisuallyHidden>{' '}(ανοίγει σε καινούρια καρτέλα)</VisuallyHidden>
70
- </Link>{' '}
71
- για το{' '}
72
- <Link href="https://mindigital.gr/" target="_blank">
73
- Υπουργείο Ψηφιακής Διακυβέρνησης
74
- <VisuallyHidden>{' '}(ανοίγει σε καινούρια καρτέλα)</VisuallyHidden>
75
- </Link>
76
- </Copyright>
77
- </FooterContent>
78
- </FooterInfoSection>
79
- <FooterInfoSection>
80
- <HellenicRepublicLogo></HellenicRepublicLogo>
81
- </FooterInfoSection>
82
- </FooterInfo>
25
+ <FooterNavigation>
26
+ <FooterNavigationSection aria-label='footer navigation section'>
27
+ <FooterHeading>Επιλογές</FooterHeading>
28
+ <FooterList columns={2}>
29
+ <FooterListItem>
30
+ <FooterLink href="#">Υπηρεσίες</FooterLink>
31
+ </FooterListItem>
32
+ <FooterListItem>
33
+ <FooterLink href="#">Φορείς</FooterLink>
34
+ </FooterListItem>
35
+ <FooterListItem>
36
+ <FooterLink href="#">Αρχές</FooterLink>
37
+ </FooterListItem>
38
+ <FooterListItem>
39
+ <FooterLink href="#">Σχετικά με το gov.gr</FooterLink>
40
+ </FooterListItem>
41
+ <FooterListItem>
42
+ <FooterLink href="#">Όροι χρήσης</FooterLink>
43
+ </FooterListItem>
44
+ <FooterListItem>
45
+ <FooterLink href="#">Ιδιωτικό απόρρητο</FooterLink>
46
+ </FooterListItem>
47
+ </FooterList>
48
+ </FooterNavigationSection>
49
+ <FooterNavigationSection aria-label='footer navigation section'>
50
+ <FooterHeading>Εξωτερικές Υπηρεσίες</FooterHeading>
51
+ <FooterList>
52
+ <FooterListItem>
53
+ <FooterLink href="#">ΕΜΔΔ - ΜΙΤΟΣ</FooterLink>
54
+ </FooterListItem>
55
+ <FooterListItem>
56
+ <FooterLink href="#">EUGO</FooterLink>
57
+ </FooterListItem>
58
+ </FooterList>
59
+ </FooterNavigationSection>
60
+ </FooterNavigation>
61
+ <SectionBreak visible={false} size="md" />
62
+ <FooterInfo>
63
+ <FooterInfoSection grow aria-label='footer info section'>
64
+ <FooterContent>
65
+ <Copyright>
66
+ {`Υλοποίηση από το `}
67
+ <Link href="https://grnet.gr/" target="_blank">
68
+ ΕΔΥΤΕ
69
+ <VisuallyHidden>{` (ανοίγει σε καινούρια καρτέλα)`}</VisuallyHidden>
70
+ </Link>
71
+ {` για το `}
72
+ <Link href="https://mindigital.gr/" target="_blank">
73
+ Υπουργείο Ψηφιακής Διακυβέρνησης
74
+ <VisuallyHidden>{` (ανοίγει σε καινούρια καρτέλα)`}</VisuallyHidden>
75
+ </Link>
76
+ </Copyright>
77
+ </FooterContent>
78
+ </FooterInfoSection>
79
+ <FooterInfoSection>
80
+ <HellenicRepublicLogo></HellenicRepublicLogo>
81
+ </FooterInfoSection>
82
+ </FooterInfo>
83
83
  </FooterContainer>
84
84
  </Footer>
85
85
  );
@@ -8,7 +8,7 @@
8
8
  {
9
9
  "name": "hover",
10
10
  "args": {
11
- "selector": "html>body>div:nth-child(5)>section>div>div>main>a"
11
+ "selector": "html>body>div:nth-child(5)>section>div>main>a"
12
12
  }
13
13
  }
14
14
  ],
@@ -8,3 +8,4 @@ export default {
8
8
  displayName: 'Blockquote',
9
9
  };
10
10
  export * from '@digigov/ui/content/Blockquote/__stories__/Default';
11
+ export * from '@digigov/ui/content/Blockquote/__stories__/Dense';
@@ -0,0 +1,11 @@
1
+ import React from 'react';
2
+ import { Blockquote } from '@digigov/ui/content/Blockquote';
3
+
4
+ export const Dense = () => (
5
+ <Blockquote dense>
6
+ Η διαδικασία έκδοσης του διαβατηρίου σας μπορεί να διαρκέσει εώς 10 μέρες,
7
+ εφόσον η αίτηση σας δεν περιέχει λάθη.
8
+ </Blockquote>
9
+ );
10
+
11
+ export default Dense;
@@ -17,5 +17,5 @@ export * from '@digigov/ui/content/Card/__stories__/WithDivider';
17
17
  export * from '@digigov/ui/content/Card/__stories__/WithClickableContent';
18
18
  export * from '@digigov/ui/content/Card/__stories__/WithClickableLink';
19
19
  export * from '@digigov/ui/content/Card/__stories__/WithGroupButton';
20
- export * from '@digigov/ui/content/Card/__stories__/WithButton';
21
20
  export * from '@digigov/ui/content/Card/__stories__/WithLink';
21
+ export * from '@digigov/ui/content/Card/__stories__/Dense';
@@ -16,7 +16,7 @@ export const Default = () => (
16
16
  αλιευτική σας δραστηριότητα.
17
17
  </CardContent>
18
18
  <CardAction>
19
- <Button>Συνέχεια</Button>
19
+ <Button>Είσοδος</Button>
20
20
  </CardAction>
21
21
  </Card>
22
22
  );
@@ -2,23 +2,23 @@ import React from 'react';
2
2
 
3
3
  import {
4
4
  Card,
5
+ CardAction,
5
6
  CardHeading,
6
7
  CardContent,
7
- CardAction,
8
8
  } from '@digigov/ui/content/Card';
9
9
  import { Button } from '@digigov/ui/form/Button';
10
10
 
11
- export const WithButton = () => (
12
- <Card>
11
+ export const Dense = () => (
12
+ <Card variant="border" borderColor="dark" dense>
13
13
  <CardHeading>Γεωργία και κτηνοτροφία</CardHeading>
14
14
  <CardContent>
15
15
  Διαδικασίες, επιδοτήσεις και αποζημιώσεις για την γεωργική, κτηνοτροφική ή
16
16
  αλιευτική σας δραστηριότητα.
17
17
  </CardContent>
18
18
  <CardAction>
19
- <Button>Είσοδος</Button>
19
+ <Button>Συνέχεια</Button>
20
20
  </CardAction>
21
21
  </Card>
22
22
  );
23
23
 
24
- export default WithButton;
24
+ export default Dense;
@@ -5,7 +5,7 @@ import { Card, CardHeading, CardContent } from '@digigov/ui/content/Card';
5
5
  import { LinkBase } from '@digigov/ui/navigation/Link';
6
6
 
7
7
  export const WithClickableContent = () => (
8
- <Card callToAction variant='border-top' borderColor='dark'>
8
+ <Card callToAction>
9
9
  <CardHeading>
10
10
  <LinkBase href="#">Γεωργία και κτηνοτροφία</LinkBase>
11
11
  </CardHeading>
@@ -10,3 +10,4 @@ export default {
10
10
  };
11
11
  export * from './__stories__/Default';
12
12
  export * from './__stories__/WithHints';
13
+ export * from './__stories__/Dense';
@@ -0,0 +1,261 @@
1
+ import React, { useState, useEffect } from 'react';
2
+ import {
3
+ StepNav,
4
+ StepNavCircleNumber,
5
+ StepNavControls,
6
+ StepNavList,
7
+ StepNavListItem,
8
+ StepNavAccordion,
9
+ StepNavAccordionContent,
10
+ StepNavAccordionSummary,
11
+ StepNavAccordionSummaryHeading,
12
+ StepNavAccordionHeadingTitle,
13
+ StepNavAccordionHeadingText,
14
+ } from '@digigov/ui/content/StepNav';
15
+ import { Button, ButtonGroup } from '@digigov/ui/form/Button';
16
+ import { VisuallyHidden } from '@digigov/ui/utils/VisuallyHidden';
17
+ import {
18
+ SummaryList,
19
+ SummaryListItem,
20
+ SummaryListItemAction,
21
+ SummaryListItemKey,
22
+ SummaryListItemValue,
23
+ } from '@digigov/ui/content/SummaryList';
24
+
25
+ const data = [
26
+ {
27
+ title: 'Απάντηση',
28
+ codename: '(KEP-APA)',
29
+ date: '7 Απριλίου 2023, 12:32μ.μ.',
30
+ details: [
31
+ {
32
+ name: 'Ημερομηνία',
33
+ value: '7 Απριλίου 2023, 12:32μ.μ.',
34
+ },
35
+ {
36
+ name: 'Χειριστής',
37
+ value: 'Καλλιόπη Παπαδοπούλου',
38
+ actions: ['Ανάθεση'],
39
+ },
40
+ {
41
+ name: 'Κωδικός επαλήθευσης',
42
+ value: '637283494',
43
+ },
44
+ {
45
+ name: 'Κατάσταση',
46
+ value: 'Εισερχόμενη',
47
+ actions: ['Αλλαγή'],
48
+ },
49
+ ],
50
+ },
51
+ {
52
+ title: 'Συμπληρωματικά έγγραφα ',
53
+ codename: '(MORE-DOCS)',
54
+ date: '5 Απριλίου 2023, 8:32π.μ.',
55
+ details: [
56
+ {
57
+ name: 'Ημερομηνία',
58
+ value: '7 Απριλίου 2023, 12:32μ.μ.',
59
+ },
60
+ {
61
+ name: 'Χειριστής',
62
+ value: 'Μαρία Φλούπη',
63
+ actions: ['Ανάθεση'],
64
+ },
65
+ {
66
+ name: 'Κωδικός επαλήθευσης',
67
+ value: '637283494',
68
+ },
69
+ {
70
+ name: 'Κατάσταση',
71
+ value: 'Εισερχόμενη',
72
+ actions: ['Αλλαγή'],
73
+ },
74
+ ],
75
+ },
76
+ {
77
+ title: 'Αίτηση για συμπληρωματικά έγγραφα',
78
+ codename: '(MORE-DOCS-REQUEST)',
79
+ date: '5 Απριλίου 2023, 8:32π.μ.',
80
+ details: [
81
+ {
82
+ name: 'Ημερομηνία',
83
+ value: '5 Απριλίου 2023, 8:32π.μ.',
84
+ },
85
+ {
86
+ name: 'Χειριστής',
87
+ value: 'Μαρία Φλούπη',
88
+ actions: ['Ανάθεση'],
89
+ },
90
+ {
91
+ name: 'Κωδικός επαλήθευσης',
92
+ value: '974256',
93
+ },
94
+ {
95
+ name: 'Κατάσταση',
96
+ value: 'Εισερχόμενη',
97
+ actions: ['Αλλαγή'],
98
+ },
99
+ ],
100
+ },
101
+ {
102
+ title: 'Αίτηση Βεβαίωσης Μόνιμης Κατοικίας',
103
+ codename: '(PERMRES-FOREIS)',
104
+ date: '3 Απριλίου 2023, 5:42μ.μ.',
105
+ actions: [
106
+ {
107
+ label: 'Απάντηση',
108
+ },
109
+ {
110
+ label: 'Αίτημα για συμπληρωματικά έγγραφα',
111
+ },
112
+ ],
113
+ details: [
114
+ {
115
+ name: 'Ημερομηνία',
116
+ value: '3 Απριλίου 2023, 5:42μ.μ.',
117
+ },
118
+ {
119
+ name: 'Χειριστής',
120
+ value: 'Μαρία Φλούπη',
121
+ actions: ['Ανάθεση'],
122
+ },
123
+ {
124
+ name: 'Κωδικός επαλήθευσης',
125
+ value: '475747',
126
+ },
127
+ {
128
+ name: 'Κατάσταση',
129
+ value: 'Εισερχόμενη',
130
+ actions: ['Αλλαγή'],
131
+ },
132
+ ],
133
+ },
134
+ ];
135
+
136
+ export const Dense = () => {
137
+ const [open, setOpen] = useState<boolean>(false);
138
+ const [openItem, setOpenItem] = useState(
139
+ Array<boolean>(data.length).fill(false)
140
+ );
141
+ useEffect(() => {
142
+ const stateArray: boolean[] = [];
143
+ if (open === false) {
144
+ openItem.map(() => {
145
+ stateArray.push(false);
146
+ });
147
+ setOpenItem(stateArray);
148
+ } else {
149
+ openItem.map(() => {
150
+ stateArray.push(true);
151
+ });
152
+ setOpenItem(stateArray);
153
+ }
154
+ }, [open]);
155
+
156
+ function openCloseItem(index): void {
157
+ const statusOpenItem = [...openItem];
158
+ statusOpenItem[index] = !statusOpenItem[index];
159
+ setOpenItem(statusOpenItem);
160
+ }
161
+ function openCloseAll(): void {
162
+ setOpen(!open);
163
+ }
164
+ return (
165
+ <StepNav dense>
166
+ <StepNavControls>
167
+ <Button
168
+ variant="link"
169
+ onClick={() => {
170
+ openCloseAll();
171
+ }}
172
+ >
173
+ {open === false ? 'Εμφάνιση όλων' : 'Απόκρυψη όλων'}
174
+ </Button>
175
+ </StepNavControls>
176
+ <StepNavList>
177
+ {data &&
178
+ data.map((field, index) => {
179
+ return (
180
+ <StepNavListItem key={index}>
181
+ <StepNavAccordion open={open}>
182
+ <StepNavAccordionSummary
183
+ onClick={() => {
184
+ openCloseItem(index);
185
+ }}
186
+ >
187
+ <StepNavAccordionSummaryHeading aria-controls="content1">
188
+ <StepNavCircleNumber border={false}></StepNavCircleNumber>
189
+ {index === 1 ? (
190
+ <StepNavCircleNumber border={false}>
191
+ <VisuallyHidden>Βήμα</VisuallyHidden>
192
+ και
193
+ </StepNavCircleNumber>
194
+ ) : (
195
+ <StepNavCircleNumber>
196
+ <VisuallyHidden>Βήμα</VisuallyHidden>
197
+ {index > 1 ? index : index + 1}
198
+ </StepNavCircleNumber>
199
+ )}
200
+ <StepNavAccordionHeadingTitle>
201
+ <StepNavAccordionHeadingText>
202
+ {field.title}
203
+ {field.codename && (
204
+ <>
205
+ {' - '} {field.codename}
206
+ </>
207
+ )}
208
+ </StepNavAccordionHeadingText>
209
+ </StepNavAccordionHeadingTitle>
210
+ </StepNavAccordionSummaryHeading>
211
+ </StepNavAccordionSummary>
212
+ <StepNavAccordionContent id="content1">
213
+ <ButtonGroup>
214
+ {(field.actions || []).map((action, subIndex) => (
215
+ <Button color="primary" key={subIndex}>
216
+ {action.label}
217
+ </Button>
218
+ ))}
219
+ <Button color="secondary">Προβολή εγγράφου</Button>
220
+ </ButtonGroup>
221
+ {field.details && (
222
+ <SummaryList>
223
+ {field.details.map((field, index) => {
224
+ return (
225
+ <SummaryListItem key={index}>
226
+ <SummaryListItemKey>
227
+ {field.name}
228
+ </SummaryListItemKey>
229
+ <SummaryListItemValue>
230
+ {field.value}
231
+ </SummaryListItemValue>
232
+ {field.actions && (
233
+ <SummaryListItemAction>
234
+ <ButtonGroup>
235
+ {field.actions &&
236
+ field.actions.map((action, subIndex) => {
237
+ return (
238
+ <Button key={subIndex} variant="link">
239
+ {action}
240
+ </Button>
241
+ );
242
+ })}
243
+ </ButtonGroup>
244
+ </SummaryListItemAction>
245
+ )}
246
+ </SummaryListItem>
247
+ );
248
+ })}
249
+ </SummaryList>
250
+ )}
251
+ </StepNavAccordionContent>
252
+ </StepNavAccordion>
253
+ </StepNavListItem>
254
+ );
255
+ })}
256
+ </StepNavList>
257
+ </StepNav>
258
+ );
259
+ };
260
+
261
+ export default Dense;
@@ -7,3 +7,4 @@ export default {
7
7
  displayName: 'TaskList',
8
8
  };
9
9
  export * from '@digigov/ui/content/TaskList/__stories__/Default';
10
+ export * from '@digigov/ui/content/TaskList/__stories__/Dense';