@digigov/css 0.38.2 → 1.0.0-rc
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/defaultTheme/misc.json +1 -1
- package/defaultTheme/typography.json +10 -7
- package/dist/base/index.css +3 -3
- package/dist/base.js +1 -1
- package/dist/components.js +1 -1
- package/dist/digigov.css +5 -5
- package/dist/utilities/index.css +1 -1
- package/dist/utilities.js +1 -1
- package/package.json +2 -2
- package/src/components/accessibility-menu.css +3 -6
- package/src/components/accordion.css +8 -7
- package/src/components/admin-header.css +0 -6
- package/src/components/admin-layout.css +1 -37
- package/src/components/autocomplete.css +33 -45
- package/src/components/bottom-info.css +2 -4
- package/src/components/breadcrumbs.css +12 -12
- package/src/components/button.css +6 -9
- package/src/components/card.css +41 -43
- package/src/components/checkboxes.css +2 -10
- package/src/components/chip.css +48 -0
- package/src/components/copy-to-clipboard.css +10 -12
- package/src/components/details.css +5 -6
- package/src/components/drawer.css +4 -4
- package/src/components/dropdown.css +26 -34
- package/src/components/filter.css +7 -39
- package/src/components/footer.css +1 -4
- package/src/components/form.css +54 -43
- package/src/components/full-page-background.css +0 -3
- package/src/components/header.css +35 -34
- package/src/components/index.css +2 -3
- package/src/components/kitchensink.css +2 -2
- package/src/components/layout.css +9 -6
- package/src/components/loader.css +11 -12
- package/src/components/misc.css +9 -12
- package/src/components/modal.css +7 -6
- package/src/components/nav.css +5 -44
- package/src/components/notification-banner.css +8 -8
- package/src/components/pagination.css +20 -8
- package/src/components/phase-banner.css +13 -10
- package/src/components/radios.css +9 -1
- package/src/components/skiplink.css +6 -7
- package/src/components/stepnav.css +56 -62
- package/src/components/summary-list.css +25 -32
- package/src/components/svg-icons.css +90 -49
- package/src/components/table.css +80 -51
- package/src/components/tabs.css +7 -12
- package/src/components/task-list.css +11 -10
- package/src/components/timeline.css +9 -7
- package/src/components/typography.css +51 -48
- package/src/pages/admin-filtering-data.js +21 -21
- package/src/pages/admin.js +9 -9
- package/src/pages/dropdown.js +27 -27
- package/src/pages/form.js +26 -26
- package/src/pages/headings/service-heading.js +7 -7
- package/src/pages/index.js +23 -23
- package/src/pages/pagination.js +6 -6
- package/src/pages/table.js +15 -15
- package/src/utilities/index.css +0 -33
- package/src/utilities/utilities.css +0 -33
- package/src/components/admin-footer.css +0 -3
- package/src/components/admin-form.css +0 -5
- package/src/components/cookie.css +0 -3
package/src/pages/dropdown.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
export default function Dropdown() {
|
|
2
2
|
return (
|
|
3
|
-
<div
|
|
3
|
+
<div>
|
|
4
4
|
|
|
5
5
|
<h1 className="govgr-heading-xl">Dropdowns</h1>
|
|
6
6
|
|
|
@@ -13,13 +13,13 @@ export default function Dropdown() {
|
|
|
13
13
|
</p>
|
|
14
14
|
|
|
15
15
|
|
|
16
|
-
<h3 className="govgr-heading-
|
|
16
|
+
<h3 className="govgr-heading-sm">Primary button with arrow icon</h3>
|
|
17
17
|
|
|
18
18
|
|
|
19
19
|
<details className="govgr-dropdown">
|
|
20
20
|
<summary className="govgr-dropdown__button govgr-btn govgr-btn-primary">
|
|
21
21
|
Ενέργειες
|
|
22
|
-
<svg aria-hidden="true" className="govgr-svg-icon govgr-arrow--down" focusable="false" viewBox="0 0 24 24">
|
|
22
|
+
<svg aria-hidden="true" className="govgr-svg-icon govgr-svg-icon--arrow--down" focusable="false" viewBox="0 0 24 24">
|
|
23
23
|
<path d="M22,8.2l-2.3-2.4L12,13.4L4.4,5.8L2,8.2l10,10L22,8.2z" />
|
|
24
24
|
</svg>
|
|
25
25
|
</summary>
|
|
@@ -30,8 +30,8 @@ export default function Dropdown() {
|
|
|
30
30
|
</div>
|
|
31
31
|
</details>
|
|
32
32
|
|
|
33
|
-
<hr className="govgr-section-break govgr-section-break--
|
|
34
|
-
<h4 className="govgr-heading-
|
|
33
|
+
<hr className="govgr-section-break govgr-section-break--md" />
|
|
34
|
+
<h4 className="govgr-heading-sm">Secondary button with more icon and nav</h4>
|
|
35
35
|
|
|
36
36
|
<details className="govgr-dropdown">
|
|
37
37
|
<summary className="govgr-dropdown__button govgr-btn govgr-btn-secondary">
|
|
@@ -51,8 +51,8 @@ export default function Dropdown() {
|
|
|
51
51
|
</div>
|
|
52
52
|
</details>
|
|
53
53
|
|
|
54
|
-
<hr className="govgr-section-break govgr-section-break--
|
|
55
|
-
<h3 className="govgr-heading-
|
|
54
|
+
<hr className="govgr-section-break govgr-section-break--md" />
|
|
55
|
+
<h3 className="govgr-heading-sm">Link with more icon</h3>
|
|
56
56
|
|
|
57
57
|
<details className="govgr-dropdown">
|
|
58
58
|
<summary className="govgr-dropdown__button govgr-link">
|
|
@@ -68,8 +68,8 @@ export default function Dropdown() {
|
|
|
68
68
|
</div>
|
|
69
69
|
</details>
|
|
70
70
|
|
|
71
|
-
<hr className="govgr-section-break govgr-section-break--
|
|
72
|
-
<h3 className="govgr-heading-
|
|
71
|
+
<hr className="govgr-section-break govgr-section-break--md" />
|
|
72
|
+
<h3 className="govgr-heading-md">Secondary button, with rotating arrow</h3>
|
|
73
73
|
<p className="govgr-body">
|
|
74
74
|
We can implement a prop at dropdown__button that adds a rotating arrow to the button, like this:
|
|
75
75
|
</p>
|
|
@@ -77,7 +77,7 @@ export default function Dropdown() {
|
|
|
77
77
|
<details className="govgr-dropdown">
|
|
78
78
|
<summary className="govgr-dropdown__button govgr-btn govgr-btn-secondary govgr-dropdown__button--arrow">
|
|
79
79
|
Ενέργειες
|
|
80
|
-
<svg aria-hidden="true" className="govgr-svg-icon govgr-arrow--down" focusable="false" viewBox="0 0 24 24">
|
|
80
|
+
<svg aria-hidden="true" className="govgr-svg-icon govgr-svg-icon--arrow--down" focusable="false" viewBox="0 0 24 24">
|
|
81
81
|
<path d="M22,8.2l-2.3-2.4L12,13.4L4.4,5.8L2,8.2l10,10L22,8.2z" />
|
|
82
82
|
</svg>
|
|
83
83
|
</summary>
|
|
@@ -88,7 +88,7 @@ export default function Dropdown() {
|
|
|
88
88
|
<input className="govgr-input" type="text" name="business-name" />
|
|
89
89
|
</label>
|
|
90
90
|
</div>
|
|
91
|
-
<hr className="govgr-section-break govgr-section-break--
|
|
91
|
+
<hr className="govgr-section-break govgr-section-break--sm govgr-section-break--visible" />
|
|
92
92
|
|
|
93
93
|
<nav className="govgr-vertical-nav">
|
|
94
94
|
<a href="#" className="govgr-link govgr-vertical-nav__item"> Επεξεργασία </a>
|
|
@@ -96,8 +96,8 @@ export default function Dropdown() {
|
|
|
96
96
|
<a href="#" className="govgr-link govgr-vertical-nav__item"> Οριστική διαγραφή</a>
|
|
97
97
|
</nav>
|
|
98
98
|
|
|
99
|
-
<hr className="govgr-section-break govgr-section-break--
|
|
100
|
-
<hr className="govgr-section-break govgr-section-break--
|
|
99
|
+
<hr className="govgr-section-break govgr-section-break--sm" />
|
|
100
|
+
<hr className="govgr-section-break govgr-section-break--sm govgr-section-break--visible" />
|
|
101
101
|
|
|
102
102
|
<button className="govgr-btn govgr-btn-primary">Αποθήκευση</button>
|
|
103
103
|
|
|
@@ -107,8 +107,8 @@ export default function Dropdown() {
|
|
|
107
107
|
<p className="govgr-body">
|
|
108
108
|
Also, the content can be a compination of things: inputs, lists, text, buttons.
|
|
109
109
|
</p>
|
|
110
|
-
<hr className="govgr-section-break govgr-section-break--
|
|
111
|
-
<h4 className="govgr-heading-
|
|
110
|
+
<hr className="govgr-section-break govgr-section-break--md" />
|
|
111
|
+
<h4 className="govgr-heading-md">Primary button without icon, position UP</h4>
|
|
112
112
|
|
|
113
113
|
<details className="govgr-dropdown govgr-dropdown--up">
|
|
114
114
|
<summary className="govgr-dropdown__button govgr-btn govgr-btn-primary">
|
|
@@ -121,17 +121,17 @@ export default function Dropdown() {
|
|
|
121
121
|
</div>
|
|
122
122
|
</details>
|
|
123
123
|
|
|
124
|
-
<h3 className="govgr-heading-
|
|
124
|
+
<h3 className="govgr-heading-md">Button groups and dropdown combinations</h3>
|
|
125
125
|
|
|
126
|
-
<hr className="govgr-section-break govgr-section-break--
|
|
127
|
-
<h4 className="govgr-heading-
|
|
126
|
+
<hr className="govgr-section-break govgr-section-break--md" />
|
|
127
|
+
<h4 className="govgr-heading-sm">Links </h4>
|
|
128
128
|
|
|
129
|
-
<div className="govgr-
|
|
129
|
+
<div className="govgr-btn-group">
|
|
130
130
|
|
|
131
131
|
<details className="govgr-dropdown govgr-dropdown--up">
|
|
132
132
|
<summary className="govgr-dropdown__button govgr-link">
|
|
133
133
|
Ενέργειες
|
|
134
|
-
<svg aria-hidden="true" className="govgr-svg-icon govgr-arrow--down" focusable="false" viewBox="0 0 24 24">
|
|
134
|
+
<svg aria-hidden="true" className="govgr-svg-icon govgr-svg-icon--arrow--down" focusable="false" viewBox="0 0 24 24">
|
|
135
135
|
<path d="M22,8.2l-2.3-2.4L12,13.4L4.4,5.8L2,8.2l10,10L22,8.2z" />
|
|
136
136
|
</svg>
|
|
137
137
|
</summary>
|
|
@@ -145,7 +145,7 @@ export default function Dropdown() {
|
|
|
145
145
|
<details className="govgr-dropdown govgr-dropdown--left govgr-dropdown--up">
|
|
146
146
|
<summary className="govgr-dropdown__button govgr-link govgr-dropdown__button--arrow">
|
|
147
147
|
Ενέργειες
|
|
148
|
-
<svg aria-hidden="true" className="govgr-svg-icon govgr-arrow--down" focusable="false" viewBox="0 0 24 24">
|
|
148
|
+
<svg aria-hidden="true" className="govgr-svg-icon govgr-svg-icon--arrow--down" focusable="false" viewBox="0 0 24 24">
|
|
149
149
|
<path d="M22,8.2l-2.3-2.4L12,13.4L4.4,5.8L2,8.2l10,10L22,8.2z" />
|
|
150
150
|
</svg>
|
|
151
151
|
</summary>
|
|
@@ -158,17 +158,17 @@ export default function Dropdown() {
|
|
|
158
158
|
|
|
159
159
|
</div>
|
|
160
160
|
|
|
161
|
-
<hr className="govgr-section-break govgr-section-break--
|
|
162
|
-
<h3 className="govgr-heading-
|
|
161
|
+
<hr className="govgr-section-break govgr-section-break--md" />
|
|
162
|
+
<h3 className="govgr-heading-md">A group of buttons and dropdowns with icons and various directions</h3>
|
|
163
163
|
|
|
164
|
-
<div className="govgr-
|
|
164
|
+
<div className="govgr-btn-group">
|
|
165
165
|
|
|
166
166
|
<button className="govgr-btn govgr-btn-secondary">Αποθήκευση</button>
|
|
167
167
|
|
|
168
168
|
<details className="govgr-dropdown govgr-dropdown--up">
|
|
169
169
|
<summary className="govgr-dropdown__button govgr-btn govgr-btn-secondary">
|
|
170
170
|
Ενέργειες
|
|
171
|
-
<svg aria-hidden="true" className="govgr-svg-icon govgr-arrow--down" focusable="false" viewBox="0 0 24 24">
|
|
171
|
+
<svg aria-hidden="true" className="govgr-svg-icon govgr-svg-icon--arrow--down" focusable="false" viewBox="0 0 24 24">
|
|
172
172
|
<path d="M22,8.2l-2.3-2.4L12,13.4L4.4,5.8L2,8.2l10,10L22,8.2z" />
|
|
173
173
|
</svg>
|
|
174
174
|
</summary>
|
|
@@ -197,7 +197,7 @@ export default function Dropdown() {
|
|
|
197
197
|
<details className="govgr-dropdown govgr-dropdown--left ">
|
|
198
198
|
<summary className="govgr-dropdown__button govgr-btn govgr-btn-secondary">
|
|
199
199
|
<svg aria-hidden="true" className="govgr-svg-icon govgr-svg-icon--more-vert" focusable="false" viewBox="0 0 24 24">
|
|
200
|
-
<rect id="govgr-
|
|
200
|
+
<rect id="govgr-svg-icon--burger__line-1" width="20" height="3.3" /> <rect id="govgr-svg-icon--burger__line-2" width="20" height="3.3" /> <rect id="govgr-svg-icon--burger__line-3" width="20" height="3.3" />
|
|
201
201
|
</svg>
|
|
202
202
|
</summary>
|
|
203
203
|
<div className="govgr-dropdown__content">
|
|
@@ -225,7 +225,7 @@ export default function Dropdown() {
|
|
|
225
225
|
</details>
|
|
226
226
|
</div>
|
|
227
227
|
|
|
228
|
-
<hr className="govgr-section-break govgr-section-break--
|
|
228
|
+
<hr className="govgr-section-break govgr-section-break--lg" />
|
|
229
229
|
|
|
230
230
|
<footer className="govgr-footer" role="contentinfo">
|
|
231
231
|
<div className="govgr-width-container">
|
package/src/pages/form.js
CHANGED
|
@@ -33,7 +33,7 @@ export default function Home() {
|
|
|
33
33
|
<div className="govgr-form">
|
|
34
34
|
<div className="govgr-field">
|
|
35
35
|
<fieldset className="govgr-fieldset" aria-describedby="radiohint">
|
|
36
|
-
<legend className="govgr-heading-
|
|
36
|
+
<legend className="govgr-heading-md govgr-fieldset__legend">
|
|
37
37
|
Επιλέξτε την απάντηση σας
|
|
38
38
|
</legend>
|
|
39
39
|
<p className="govgr-hint">Μπορείτε να επιλέξετε μόνο μία επιλογή.</p>
|
|
@@ -55,7 +55,7 @@ export default function Home() {
|
|
|
55
55
|
</div>
|
|
56
56
|
<div className="govgr-field govgr-field__error">
|
|
57
57
|
<fieldset className="govgr-fieldset" aria-describedby="radiohint">
|
|
58
|
-
<legend className="govgr-heading-
|
|
58
|
+
<legend className="govgr-heading-md govgr-fieldset__legend">
|
|
59
59
|
Επιλέξτε την απάντηση σας
|
|
60
60
|
</legend>
|
|
61
61
|
<p className="govgr-hint">Μπορείτε να επιλέξετε μόνο μία επιλογή.</p>
|
|
@@ -78,7 +78,7 @@ export default function Home() {
|
|
|
78
78
|
</div>
|
|
79
79
|
<div className="govgr-field">
|
|
80
80
|
<fieldset className="govgr-fieldset" aria-describedby="checkboxhint">
|
|
81
|
-
<legend className="govgr-heading-
|
|
81
|
+
<legend className="govgr-heading-md govgr-fieldset__legend">Πώς αισθάνεται αυτή τη στιγμή;</legend>
|
|
82
82
|
<p className="govgr-hint">Πείτε μας σχετικά με πρόσφατες αλλαγές. Επιλέξτε ό,τι ισχύει.</p>
|
|
83
83
|
<p className="govgr-error-message"> Δεν μας άρεσε η απάντηση, ξαναπροσπαθήστε. </p>
|
|
84
84
|
<div className="govgr-checkboxes">
|
|
@@ -99,7 +99,7 @@ export default function Home() {
|
|
|
99
99
|
</div>
|
|
100
100
|
<div className="govgr-field govgr-field__error">
|
|
101
101
|
<fieldset className="govgr-fieldset" aria-describedby="checkboxhint">
|
|
102
|
-
<legend className="govgr-heading-
|
|
102
|
+
<legend className="govgr-heading-md govgr-fieldset__legend">Πώς αισθάνεται αυτή τη στιγμή;</legend>
|
|
103
103
|
<p className="govgr-hint">Πείτε μας σχετικά με πρόσφατες αλλαγές. Επιλέξτε ό,τι ισχύει.</p>
|
|
104
104
|
<div className="govgr-checkboxes">
|
|
105
105
|
<div className="govgr-checkboxes__item">
|
|
@@ -119,14 +119,14 @@ export default function Home() {
|
|
|
119
119
|
</div>
|
|
120
120
|
<div className="govgr-field">
|
|
121
121
|
<label className='govgr-label'>
|
|
122
|
-
<span className="govgr-heading-
|
|
122
|
+
<span className="govgr-heading-sm">Ερώτηση</span>
|
|
123
123
|
<p className="govgr-hint">Κάποια επεξήγηση εδώ.</p>
|
|
124
124
|
<input className="govgr-input" type="text" name="fname" />
|
|
125
125
|
</label>
|
|
126
126
|
</div>
|
|
127
127
|
<div className="govgr-field govgr-field__error">
|
|
128
128
|
<label className='govgr-label'>
|
|
129
|
-
<span className="govgr-heading-
|
|
129
|
+
<span className="govgr-heading-sm">Ερώτηση</span>
|
|
130
130
|
<p className="govgr-hint">Κάποια επεξήγηση εδώ.</p>
|
|
131
131
|
<p className="govgr-error-message"> Δεν μας άρεσε η απάντηση, ξαναπροσπαθήστε. </p>
|
|
132
132
|
<input className="govgr-input govgr-error-input" type="text" name="fname" />
|
|
@@ -134,7 +134,7 @@ export default function Home() {
|
|
|
134
134
|
</div>
|
|
135
135
|
<div className="govgr-field">
|
|
136
136
|
<label className='govgr-label'>
|
|
137
|
-
<span className="govgr-heading-
|
|
137
|
+
<span className="govgr-heading-sm">Μια ακόμα ερώτηση</span>
|
|
138
138
|
<p className="govgr-hint">Κάποια επεξήγηση εδώ.</p>
|
|
139
139
|
<textarea className="govgr-textarea" name="ta" rows={5} />
|
|
140
140
|
<span className="govgr-hint"> Μπορείτε να πληκτρολογήσετε άλλους 200 χαρακτήρες. </span>
|
|
@@ -142,7 +142,7 @@ export default function Home() {
|
|
|
142
142
|
</div>
|
|
143
143
|
<div className="govgr-field govgr-field__error">
|
|
144
144
|
<label className='govgr-label'>
|
|
145
|
-
<span className="govgr-heading-
|
|
145
|
+
<span className="govgr-heading-sm">Μια ακόμα ερώτηση</span>
|
|
146
146
|
<p className="govgr-hint">Κάποια επεξήγηση εδώ.</p>
|
|
147
147
|
<p className="govgr-error-message"> Δεν μας άρεσε η απάντηση, ξαναπροσπαθήστε. </p>
|
|
148
148
|
<textarea className="govgr-textarea govgr-error-input" name="ta" rows={5} />
|
|
@@ -151,7 +151,7 @@ export default function Home() {
|
|
|
151
151
|
</div>
|
|
152
152
|
<div className="govgr-field">
|
|
153
153
|
<fieldset>
|
|
154
|
-
<legend class="govgr-fieldset__legend govgr-heading-
|
|
154
|
+
<legend class="govgr-fieldset__legend govgr-heading-lg" ></legend>
|
|
155
155
|
<h4 className="govgr-fieldset__legend" >Επιλέξτε από την λίστα</h4>
|
|
156
156
|
<p className="govgr-hint">Μπορείτε να επιλέξετε μόνο μία επιλογή.</p>
|
|
157
157
|
<label className="govgr-label">
|
|
@@ -166,30 +166,30 @@ export default function Home() {
|
|
|
166
166
|
</div>
|
|
167
167
|
<div className="govgr-field">
|
|
168
168
|
<fieldset>
|
|
169
|
-
<legend class="govgr-fieldset__legend govgr-heading-
|
|
169
|
+
<legend class="govgr-fieldset__legend govgr-heading-lg" >
|
|
170
170
|
Βασικές πληροφορίες
|
|
171
171
|
</legend>
|
|
172
172
|
<label className="govgr-label" >
|
|
173
|
-
<span class="govgr-heading-
|
|
173
|
+
<span class="govgr-heading-sm">Όνομα</span>
|
|
174
174
|
<input className="govgr-input" type="text" name="fname" />
|
|
175
175
|
</label>
|
|
176
176
|
<label className="govgr-label" >
|
|
177
|
-
<span class="govgr-heading-
|
|
177
|
+
<span class="govgr-heading-sm">Επώνυμο</span>
|
|
178
178
|
<input className="govgr-input" type="text" name="lname" />
|
|
179
179
|
</label>
|
|
180
180
|
<label className="govgr-label">
|
|
181
|
-
<span class="govgr-heading-
|
|
181
|
+
<span class="govgr-heading-sm">Email</span>
|
|
182
182
|
<input className="govgr-input" type="email" name="email" />
|
|
183
183
|
</label>
|
|
184
184
|
<label className="govgr-label">
|
|
185
|
-
<span class="govgr-heading-
|
|
185
|
+
<span class="govgr-heading-sm">Ημ/νια γέννησης</span>
|
|
186
186
|
<input className="govgr-input" type="date" name="birthday" />
|
|
187
187
|
</label>
|
|
188
188
|
</fieldset>
|
|
189
189
|
</div>
|
|
190
190
|
<div className="govgr-field govgr-field__error">
|
|
191
191
|
<fieldset>
|
|
192
|
-
<legend class="govgr-fieldset__legend govgr-heading-
|
|
192
|
+
<legend class="govgr-fieldset__legend govgr-heading-lg">
|
|
193
193
|
Πότε έγινε αυτό;
|
|
194
194
|
</legend>
|
|
195
195
|
<p className="govgr-hint">Για παράδειγμα: 05 11 2020</p>
|
|
@@ -249,7 +249,7 @@ export default function Home() {
|
|
|
249
249
|
<div className="govgr-form">
|
|
250
250
|
<div className="govgr-field">
|
|
251
251
|
<fieldset className="govgr-fieldset" aria-describedby="radiohint">
|
|
252
|
-
<legend className="govgr-heading-
|
|
252
|
+
<legend className="govgr-heading-md govgr-fieldset__legend">
|
|
253
253
|
Επιλέξτε την απάντηση σας
|
|
254
254
|
</legend>
|
|
255
255
|
<div className="govgr-radios">
|
|
@@ -271,7 +271,7 @@ export default function Home() {
|
|
|
271
271
|
|
|
272
272
|
<div className="govgr-field">
|
|
273
273
|
<fieldset className="govgr-fieldset" aria-describedby="checkboxhint">
|
|
274
|
-
<legend className="govgr-heading-
|
|
274
|
+
<legend className="govgr-heading-md govgr-fieldset__legend">Πώς αισθάνεται αυτή τη στιγμή;</legend>
|
|
275
275
|
<p className="govgr-hint">Πείτε μας σχετικά με πρόσφατες αλλαγές. Επιλέξτε ό,τι ισχύει.</p>
|
|
276
276
|
<div className="govgr-checkboxes">
|
|
277
277
|
<div className="govgr-checkboxes__item">
|
|
@@ -292,7 +292,7 @@ export default function Home() {
|
|
|
292
292
|
|
|
293
293
|
<div className="govgr-field">
|
|
294
294
|
<label className='govgr-label'>
|
|
295
|
-
<span className="govgr-heading-
|
|
295
|
+
<span className="govgr-heading-sm">Ερώτηση</span>
|
|
296
296
|
<p className="govgr-hint">Κάποια επεξήγηση εδώ.</p>
|
|
297
297
|
<input className="govgr-input" type="text" name="fname" disabled />
|
|
298
298
|
</label>
|
|
@@ -300,7 +300,7 @@ export default function Home() {
|
|
|
300
300
|
|
|
301
301
|
<div className="govgr-field">
|
|
302
302
|
<label className='govgr-label'>
|
|
303
|
-
<span className="govgr-heading-
|
|
303
|
+
<span className="govgr-heading-sm">Μια ακόμα ερώτηση</span>
|
|
304
304
|
<p className="govgr-hint">Κάποια επεξήγηση εδώ.</p>
|
|
305
305
|
<textarea className="govgr-textarea" name="ta" rows={5} disabled />
|
|
306
306
|
<span className="govgr-hint"> Μπορείτε να πληκτρολογήσετε άλλους 200 χαρακτήρες. </span>
|
|
@@ -309,7 +309,7 @@ export default function Home() {
|
|
|
309
309
|
|
|
310
310
|
<div className="govgr-field">
|
|
311
311
|
<fieldset>
|
|
312
|
-
<legend class="govgr-fieldset__legend govgr-heading-
|
|
312
|
+
<legend class="govgr-fieldset__legend govgr-heading-lg" ></legend>
|
|
313
313
|
<h4 className="govgr-fieldset__legend" >Επιλέξτε από την λίστα</h4>
|
|
314
314
|
<p className="govgr-hint">Μπορείτε να επιλέξετε μόνο μία επιλογή.</p>
|
|
315
315
|
<label className="govgr-label">
|
|
@@ -324,30 +324,30 @@ export default function Home() {
|
|
|
324
324
|
</div>
|
|
325
325
|
<div className="govgr-field">
|
|
326
326
|
<fieldset>
|
|
327
|
-
<legend class="govgr-fieldset__legend govgr-heading-
|
|
327
|
+
<legend class="govgr-fieldset__legend govgr-heading-lg" >
|
|
328
328
|
Βασικές πληροφορίες
|
|
329
329
|
</legend>
|
|
330
330
|
<label className="govgr-label" >
|
|
331
|
-
<span class="govgr-heading-
|
|
331
|
+
<span class="govgr-heading-sm">Όνομα</span>
|
|
332
332
|
<input className="govgr-input" type="text" name="fname" disabled />
|
|
333
333
|
</label>
|
|
334
334
|
<label className="govgr-label" >
|
|
335
|
-
<span class="govgr-heading-
|
|
335
|
+
<span class="govgr-heading-sm">Επώνυμο</span>
|
|
336
336
|
<input className="govgr-input" type="text" name="lname" />
|
|
337
337
|
</label>
|
|
338
338
|
<label className="govgr-label">
|
|
339
|
-
<span class="govgr-heading-
|
|
339
|
+
<span class="govgr-heading-sm">Email</span>
|
|
340
340
|
<input className="govgr-input" type="email" name="email" disabled value="test@test.com" />
|
|
341
341
|
</label>
|
|
342
342
|
<label className="govgr-label">
|
|
343
|
-
<span class="govgr-heading-
|
|
343
|
+
<span class="govgr-heading-sm">Ημ/νια γέννησης</span>
|
|
344
344
|
<input className="govgr-input" type="date" name="birthday" disabled />
|
|
345
345
|
</label>
|
|
346
346
|
</fieldset>
|
|
347
347
|
</div>
|
|
348
348
|
<div className="govgr-field">
|
|
349
349
|
<fieldset>
|
|
350
|
-
<legend class="govgr-fieldset__legend govgr-heading-
|
|
350
|
+
<legend class="govgr-fieldset__legend govgr-heading-lg">
|
|
351
351
|
Πότε έγινε αυτό;
|
|
352
352
|
</legend>
|
|
353
353
|
<div className="govgr-date-input">
|
|
@@ -8,13 +8,13 @@ export default function Home() {
|
|
|
8
8
|
<div>
|
|
9
9
|
<span className="govgr-caption-xl"> Caption for h1 </span>
|
|
10
10
|
<h1 className="govgr-heading-xl">Heading 1 - Κεντρικός τίτλος</h1>
|
|
11
|
-
<span className="govgr-caption-
|
|
12
|
-
<h2 className="govgr-heading-
|
|
13
|
-
<span className="govgr-caption-
|
|
14
|
-
<h3 className="govgr-heading-
|
|
15
|
-
<h4 className="govgr-heading-
|
|
16
|
-
<h5 className="govgr-heading-
|
|
17
|
-
<h6 className="govgr-heading-
|
|
11
|
+
<span className="govgr-caption-lg"> Caption for h2 </span>
|
|
12
|
+
<h2 className="govgr-heading-lg">Heading 2</h2>
|
|
13
|
+
<span className="govgr-caption-md"> Caption for h3 </span>
|
|
14
|
+
<h3 className="govgr-heading-md">Heading 3</h3>
|
|
15
|
+
<h4 className="govgr-heading-sm">Heading 4</h4>
|
|
16
|
+
<h5 className="govgr-heading-sm">Heading 5</h5>
|
|
17
|
+
<h6 className="govgr-heading-sm">Heading 6</h6>
|
|
18
18
|
</div>
|
|
19
19
|
);
|
|
20
20
|
}
|
package/src/pages/index.js
CHANGED
|
@@ -3,7 +3,7 @@ import Image from 'next/image';
|
|
|
3
3
|
|
|
4
4
|
export default function Home() {
|
|
5
5
|
return (
|
|
6
|
-
<div
|
|
6
|
+
<div>
|
|
7
7
|
|
|
8
8
|
<header className="govgr-header">
|
|
9
9
|
<div className="govgr-header__container">
|
|
@@ -16,7 +16,7 @@ export default function Home() {
|
|
|
16
16
|
</a>
|
|
17
17
|
<a href="/" className="govgr-header-title">Service name</a>
|
|
18
18
|
</div>
|
|
19
|
-
<svg className="govgr-
|
|
19
|
+
<svg className="govgr-svg-icon--burger" focusable="true" viewBox="0 0 24 24" aria-hidden="true" > <rect id="govgr-svg-icon--burger__line-1" width="20" height="3.3" /><rect id="govgr-svg-icon--burger__line-2" width="20" height="3.3" /><rect id="govgr-svg-icon--burger__line-3" width="20" height="3.3" /></svg>
|
|
20
20
|
</div>
|
|
21
21
|
</header>
|
|
22
22
|
<nav className="govgr-nav govgr-nav--horizontal">
|
|
@@ -28,8 +28,8 @@ export default function Home() {
|
|
|
28
28
|
</ul>
|
|
29
29
|
</nav>
|
|
30
30
|
|
|
31
|
-
<svg className="govgr-
|
|
32
|
-
<rect id="govgr-
|
|
31
|
+
<svg className="govgr-svg-icon--burger govgr-svg-icon--burger--active" focusable="true" viewBox="0 0 24 24" aria-hidden="true" >
|
|
32
|
+
<rect id="govgr-svg-icon--burger__line-1" width="20" height="3.3" /><rect id="govgr-svg-icon--burger__line-2" width="20" height="3.3" /><rect id="govgr-svg-icon--burger__line-3" width="20" height="3.3" />
|
|
33
33
|
</svg>
|
|
34
34
|
|
|
35
35
|
|
|
@@ -37,7 +37,7 @@ export default function Home() {
|
|
|
37
37
|
<div className="govgr-width-container">
|
|
38
38
|
<div className="govgr-main-wrapper">
|
|
39
39
|
<div className="govgr-grid-column-two-thirds">
|
|
40
|
-
<img className="govgr-
|
|
40
|
+
<img className="govgr-masthead__logo" src="https://dilosi.services.gov.gr/minedu-logo.svg" alt="minedu logo" />
|
|
41
41
|
<h1 className="govgr-heading-xl"> Σχεδιάστε την υπηρεσία σας, με το στυλ του GOV.GR </h1>
|
|
42
42
|
<p className="govgr-masthead-body">
|
|
43
43
|
Χρησιμοποιείστε αυτόν τον οδηγό ώστε να φτιάξετε μια υπηρεσία συνεπή στα πρότυπα του GOV.GR. Αποκτήστε γνώση από την έρευνα και την εμπειρία άλλων ομάδων και αποφύγετε την επανάληψη εργασιών που έχουν ήδη γίνει.
|
|
@@ -46,7 +46,7 @@ export default function Home() {
|
|
|
46
46
|
<p className="govgr-hint">Τελευταία ενημέρωση: 08/12/2021 </p>
|
|
47
47
|
<button className="govgr-btn govgr-btn-primary govgr-btn-cta">
|
|
48
48
|
Ξεκινήστε εδώ
|
|
49
|
-
<svg viewBox="0 0 24 24" className="govgr-arrow--right" focusable="false" aria-hidden="true"> <path d="M8.5,2L6.1,4.3l7.6,7.7l-7.6,7.6L8.5,22l10-10L8.5,2z" /> </svg>
|
|
49
|
+
<svg viewBox="0 0 24 24" className="govgr-svg-icon--arrow--right" focusable="false" aria-hidden="true"> <path d="M8.5,2L6.1,4.3l7.6,7.7l-7.6,7.6L8.5,22l10-10L8.5,2z" /> </svg>
|
|
50
50
|
</button>
|
|
51
51
|
</div>
|
|
52
52
|
</div>
|
|
@@ -59,11 +59,11 @@ export default function Home() {
|
|
|
59
59
|
|
|
60
60
|
<span className="govgr-caption-xl"> Caption for h1 </span>
|
|
61
61
|
<h1 className="govgr-heading-xl">Heading 1 - Κεντρικός τίτλος</h1>
|
|
62
|
-
<span className="govgr-caption-
|
|
63
|
-
<h2 className="govgr-heading-
|
|
64
|
-
<span className="govgr-caption-
|
|
65
|
-
<h3 className="govgr-heading-
|
|
66
|
-
<h4 className="govgr-heading-
|
|
62
|
+
<span className="govgr-caption-lg"> Caption for h2 </span>
|
|
63
|
+
<h2 className="govgr-heading-lg">Heading 2</h2>
|
|
64
|
+
<span className="govgr-caption-md"> Caption for h3 </span>
|
|
65
|
+
<h3 className="govgr-heading-md">Heading 3</h3>
|
|
66
|
+
<h4 className="govgr-heading-sm">Heading 4</h4>
|
|
67
67
|
<p className="govgr-body">Ο παρών οδηγός δημιουργήθηκε για να καλύψει τις συνεχώς αυξανόμενες ανάγκες της δημόσιας διοίκησης για τη
|
|
68
68
|
δημιουργία ενιαίων και φιλικών
|
|
69
69
|
ψηφιακών εμπειριών χρήσης, με γνώμονα πάντα την εξυπηρέτηση όλων των
|
|
@@ -98,9 +98,9 @@ export default function Home() {
|
|
|
98
98
|
|
|
99
99
|
<button className="govgr-btn govgr-btn-primary govgr-btn-cta">
|
|
100
100
|
Είσοδος στην υπηρεσία
|
|
101
|
-
<svg viewBox="0 0 24 24" className="govgr-arrow--right" focusable="false" aria-hidden="true"> <path d="M8.5,2L6.1,4.3l7.6,7.7l-7.6,7.6L8.5,22l10-10L8.5,2z" /> </svg>
|
|
101
|
+
<svg viewBox="0 0 24 24" className="govgr-svg-icon--arrow--right" focusable="false" aria-hidden="true"> <path d="M8.5,2L6.1,4.3l7.6,7.7l-7.6,7.6L8.5,22l10-10L8.5,2z" /> </svg>
|
|
102
102
|
</button>
|
|
103
|
-
<div className="govgr-
|
|
103
|
+
<div className="govgr-btn-group">
|
|
104
104
|
<button className="govgr-btn govgr-btn-primary">
|
|
105
105
|
Συνέχεια
|
|
106
106
|
</button>
|
|
@@ -109,7 +109,7 @@ export default function Home() {
|
|
|
109
109
|
</div>
|
|
110
110
|
|
|
111
111
|
<a href="#" className="govgr-back-link">
|
|
112
|
-
<svg className="govgr-caret--left" viewBox="0 0 24 24" aria-hidden="true"><path d="M18,22V2L6,12L18,22z" /></svg>
|
|
112
|
+
<svg className="govgr-svg-icon--caret--left" viewBox="0 0 24 24" aria-hidden="true"><path d="M18,22V2L6,12L18,22z" /></svg>
|
|
113
113
|
Πίσω
|
|
114
114
|
</a>
|
|
115
115
|
<br />
|
|
@@ -137,7 +137,7 @@ export default function Home() {
|
|
|
137
137
|
</blockquote>
|
|
138
138
|
|
|
139
139
|
<div className="govgr-error-summary">
|
|
140
|
-
<h3 className="govgr-heading-
|
|
140
|
+
<h3 className="govgr-heading-sm">Υπήρξε κάποιο πρόβλημα</h3>
|
|
141
141
|
<a className="govgr-link" href="#"> Πρέπει να συμπληρώσετε το έτος</a>
|
|
142
142
|
</div>
|
|
143
143
|
|
|
@@ -200,7 +200,7 @@ export default function Home() {
|
|
|
200
200
|
</dl>
|
|
201
201
|
|
|
202
202
|
<div className="govgr-tabs">
|
|
203
|
-
<h6 className="govgr-heading-
|
|
203
|
+
<h6 className="govgr-heading-sm govgr-tabs__title">Περιεχόμενα</h6>
|
|
204
204
|
<ul className="govgr-tabs__list" role="tablist">
|
|
205
205
|
<li className="govgr-tabs__list-item govgr-tabs__list-item-selected" role="presentation">
|
|
206
206
|
<a className="govgr-tabs__tab" href="#user-details" id="tab_user-details" role="tab" aria-controls="past-week" aria-selected="false" tabindex="-1">
|
|
@@ -219,18 +219,18 @@ export default function Home() {
|
|
|
219
219
|
</li>
|
|
220
220
|
</ul>
|
|
221
221
|
<div id="tab1" className="govgr-tabs__panel govgr-tabs__panel-visible">
|
|
222
|
-
<h3 className="govgr-heading-
|
|
222
|
+
<h3 className="govgr-heading-lg">Στοιχεία πολίτη</h3>
|
|
223
223
|
<p className="govgr-body">Πληροφορίες</p>
|
|
224
224
|
</div>
|
|
225
225
|
<div id="tab2" className="govgr-tabs__panel">
|
|
226
|
-
<h3 className="govgr-heading-
|
|
226
|
+
<h3 className="govgr-heading-md">παράδειγμα 2</h3>
|
|
227
227
|
<p>
|
|
228
228
|
It can take up to 8 weeks to register a lasting power of attorney if there are no mistakes in the
|
|
229
229
|
application.
|
|
230
230
|
</p>
|
|
231
231
|
</div>
|
|
232
232
|
<div id="tab3" className="govgr-tabs__panel">
|
|
233
|
-
<h3 className="govgr-heading-
|
|
233
|
+
<h3 className="govgr-heading-md">άλλο παράδειγμα</h3>
|
|
234
234
|
<p>
|
|
235
235
|
It can take up to 8 weeks to register a lasting power of attorney if there are no mistakes in the
|
|
236
236
|
application.
|
|
@@ -310,7 +310,7 @@ export default function Home() {
|
|
|
310
310
|
</div>
|
|
311
311
|
</div>
|
|
312
312
|
</div>
|
|
313
|
-
<div className="govgr-grid-column-one-third">
|
|
313
|
+
<div className="govgr-aside govgr-grid-column-one-third">
|
|
314
314
|
<h4>Σχετικοί Σύνδεσμοι</h4>
|
|
315
315
|
<nav className="govgr-vertical-nav">
|
|
316
316
|
<a className="govgr-link govgr-vertical-nav__item govgr-vertical-nav__item--active" href="#"> Σύνδεσμος 1</a>
|
|
@@ -342,7 +342,7 @@ export default function Home() {
|
|
|
342
342
|
<div className="govgr-width-container">
|
|
343
343
|
<div className="govgr-footer__navigation">
|
|
344
344
|
<div className="govgr-footer__section">
|
|
345
|
-
<h2 className="govgr-footer__heading govgr-heading-
|
|
345
|
+
<h2 className="govgr-footer__heading govgr-heading-sm">Λίστα δύο στηλών</h2>
|
|
346
346
|
<ul className="govgr-footer__list govgr-footer__list--columns-2">
|
|
347
347
|
<li className="govgr-footer__list-item">
|
|
348
348
|
<a className="govgr-footer__link" href="#1">Σύνδεσμος 1</a>
|
|
@@ -365,7 +365,7 @@ export default function Home() {
|
|
|
365
365
|
</ul>
|
|
366
366
|
</div>
|
|
367
367
|
<div className="govgr-footer__section">
|
|
368
|
-
<h2 className="govgr-footer__heading govgr-heading-
|
|
368
|
+
<h2 className="govgr-footer__heading govgr-heading-sm">Λίστα μίας στήλης</h2>
|
|
369
369
|
<ul className="govgr-footer__list ">
|
|
370
370
|
<li className="govgr-footer__list-item">
|
|
371
371
|
<a className="govgr-footer__link" href="#1">Σύνδεσμος 1</a>
|
|
@@ -379,7 +379,7 @@ export default function Home() {
|
|
|
379
379
|
</ul>
|
|
380
380
|
</div>
|
|
381
381
|
</div>
|
|
382
|
-
<hr className="govgr-
|
|
382
|
+
<hr className="govgr-section-break govgr-section-break--visible" />
|
|
383
383
|
<div className="govgr-footer__meta">
|
|
384
384
|
<div className="govgr-footer__meta-item govgr-footer__meta-item--grow">
|
|
385
385
|
<div className="govgr-footer__content">
|
package/src/pages/pagination.js
CHANGED
|
@@ -8,7 +8,7 @@ export default function Pagination() {
|
|
|
8
8
|
<a class="govgr-link" href="">
|
|
9
9
|
<svg
|
|
10
10
|
aria-hidden="true"
|
|
11
|
-
className=" govgr-svg-icon govgr-arrow--left"
|
|
11
|
+
className=" govgr-svg-icon govgr-svg-icon--arrow--left"
|
|
12
12
|
focusable="false"
|
|
13
13
|
viewBox="0 0 24 24"
|
|
14
14
|
>
|
|
@@ -30,7 +30,7 @@ export default function Pagination() {
|
|
|
30
30
|
<a class="govgr-link" href=""><span class="govgr-visually-hidden"> set of pages</span>
|
|
31
31
|
<svg
|
|
32
32
|
aria-hidden="true"
|
|
33
|
-
className=" govgr-svg-icon govgr-arrow--right"
|
|
33
|
+
className=" govgr-svg-icon govgr-svg-icon--arrow--right"
|
|
34
34
|
focusable="false"
|
|
35
35
|
viewBox="0 0 24 24"
|
|
36
36
|
>
|
|
@@ -49,7 +49,7 @@ export default function Pagination() {
|
|
|
49
49
|
<a class="govgr-link" href="">
|
|
50
50
|
<svg
|
|
51
51
|
aria-hidden="true"
|
|
52
|
-
className=" govgr-svg-icon govgr-arrow--left"
|
|
52
|
+
className=" govgr-svg-icon govgr-svg-icon--arrow--left"
|
|
53
53
|
focusable="false"
|
|
54
54
|
viewBox="0 0 24 24"
|
|
55
55
|
>
|
|
@@ -67,7 +67,7 @@ export default function Pagination() {
|
|
|
67
67
|
<a class="govgr-link" href="">Next<span class="govgr-visually-hidden"> set of pages</span>
|
|
68
68
|
<svg
|
|
69
69
|
aria-hidden="true"
|
|
70
|
-
className=" govgr-svg-icon govgr-arrow--right"
|
|
70
|
+
className=" govgr-svg-icon govgr-svg-icon--arrow--right"
|
|
71
71
|
focusable="false"
|
|
72
72
|
viewBox="0 0 24 24"
|
|
73
73
|
>
|
|
@@ -87,7 +87,7 @@ export default function Pagination() {
|
|
|
87
87
|
<a class="govgr-link" href="">
|
|
88
88
|
<svg
|
|
89
89
|
aria-hidden="true"
|
|
90
|
-
className=" govgr-svg-icon govgr-arrow--left"
|
|
90
|
+
className=" govgr-svg-icon govgr-svg-icon--arrow--left"
|
|
91
91
|
focusable="false"
|
|
92
92
|
viewBox="0 0 24 24"
|
|
93
93
|
>
|
|
@@ -107,7 +107,7 @@ export default function Pagination() {
|
|
|
107
107
|
<a class="govgr-link" href="">Next<span class="govgr-visually-hidden"> set of pages</span>
|
|
108
108
|
<svg
|
|
109
109
|
aria-hidden="true"
|
|
110
|
-
className=" govgr-svg-icon govgr-arrow--right"
|
|
110
|
+
className=" govgr-svg-icon govgr-svg-icon--arrow--right"
|
|
111
111
|
focusable="false"
|
|
112
112
|
viewBox="0 0 24 24"
|
|
113
113
|
>
|