@digigov/react-core 0.21.0 → 0.22.0
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/AccessibilityIcon/__snapshots__/index.test.tsx.snap +626 -0
- package/AccessibilityIcon/index.d.ts +15 -0
- package/AccessibilityIcon/index.js +52 -0
- package/AccessibilityIcon/index.test.d.ts +1 -0
- package/AccessibilityIcon/index.test.js +137 -0
- package/AccessibilityTextIcon/__snapshots__/index.test.tsx.snap +511 -0
- package/AccessibilityTextIcon/index.d.ts +15 -0
- package/AccessibilityTextIcon/index.js +34 -0
- package/AccessibilityTextIcon/index.test.d.ts +1 -0
- package/AccessibilityTextIcon/index.test.js +129 -0
- package/CHANGELOG.md +21 -1
- package/CheckboxItem/__snapshots__/index.test.tsx.snap +68 -0
- package/CheckboxItem/index.d.ts +5 -0
- package/CheckboxItem/index.js +6 -3
- package/CheckboxItem/index.test.js +18 -0
- package/DetailsSummary/index.d.ts +2 -1
- package/DetailsSummary/index.js +4 -3
- package/FieldContainer/index.js +10 -3
- package/Nav/index.d.ts +16 -1
- package/Nav/index.js +8 -2
- package/RadioItem/__snapshots__/index.test.tsx.snap +70 -0
- package/RadioItem/index.d.ts +5 -0
- package/RadioItem/index.js +6 -3
- package/RadioItem/index.test.js +18 -0
- package/SectionBreak/index.d.ts +1 -1
- package/SectionBreak/index.js +4 -2
- package/SvgIcon/index.d.ts +1 -1
- package/es/AccessibilityIcon/__snapshots__/index.test.tsx.snap +626 -0
- package/es/AccessibilityIcon/index.js +36 -0
- package/es/AccessibilityIcon/index.test.js +131 -0
- package/es/AccessibilityTextIcon/__snapshots__/index.test.tsx.snap +511 -0
- package/es/AccessibilityTextIcon/index.js +21 -0
- package/es/AccessibilityTextIcon/index.test.js +123 -0
- package/es/CheckboxItem/__snapshots__/index.test.tsx.snap +68 -0
- package/es/CheckboxItem/index.js +6 -3
- package/es/CheckboxItem/index.test.js +18 -0
- package/es/DetailsSummary/index.js +4 -3
- package/es/FieldContainer/index.js +8 -3
- package/es/Nav/index.js +8 -2
- package/es/RadioItem/__snapshots__/index.test.tsx.snap +70 -0
- package/es/RadioItem/index.js +6 -3
- package/es/RadioItem/index.test.js +18 -0
- package/es/SectionBreak/index.js +4 -2
- package/es/index.js +2 -0
- package/es/registry.js +4 -0
- package/esm/AccessibilityIcon/__snapshots__/index.test.tsx.snap +626 -0
- package/esm/AccessibilityIcon/index.js +36 -0
- package/esm/AccessibilityIcon/index.test.js +131 -0
- package/esm/AccessibilityTextIcon/__snapshots__/index.test.tsx.snap +511 -0
- package/esm/AccessibilityTextIcon/index.js +21 -0
- package/esm/AccessibilityTextIcon/index.test.js +123 -0
- package/esm/CheckboxItem/__snapshots__/index.test.tsx.snap +68 -0
- package/esm/CheckboxItem/index.js +6 -3
- package/esm/CheckboxItem/index.test.js +18 -0
- package/esm/DetailsSummary/index.js +4 -3
- package/esm/FieldContainer/index.js +8 -3
- package/esm/Nav/index.js +8 -2
- package/esm/RadioItem/__snapshots__/index.test.tsx.snap +70 -0
- package/esm/RadioItem/index.js +6 -3
- package/esm/RadioItem/index.test.js +18 -0
- package/esm/SectionBreak/index.js +4 -2
- package/esm/index.js +3 -1
- package/esm/registry.js +4 -0
- package/index.d.ts +2 -0
- package/index.js +26 -0
- package/package.json +2 -2
- package/registry.d.ts +2 -0
- package/registry.js +6 -0
- package/src/AccessibilityIcon/__snapshots__/index.test.tsx.snap +626 -0
- package/src/AccessibilityIcon/index.test.tsx +53 -0
- package/src/AccessibilityIcon/index.tsx +41 -0
- package/src/AccessibilityTextIcon/__snapshots__/index.test.tsx.snap +511 -0
- package/src/AccessibilityTextIcon/index.test.tsx +50 -0
- package/src/AccessibilityTextIcon/index.tsx +28 -0
- package/src/CheckboxItem/__snapshots__/index.test.tsx.snap +68 -0
- package/src/CheckboxItem/index.test.tsx +14 -0
- package/src/CheckboxItem/index.tsx +11 -1
- package/src/DetailsSummary/index.tsx +8 -2
- package/src/FieldContainer/index.tsx +2 -1
- package/src/Nav/index.tsx +29 -2
- package/src/RadioItem/__snapshots__/index.test.tsx.snap +70 -0
- package/src/RadioItem/index.test.tsx +14 -0
- package/src/RadioItem/index.tsx +11 -1
- package/src/SectionBreak/index.tsx +5 -2
- package/src/SvgIcon/index.tsx +1 -1
- package/src/index.ts +2 -0
- package/src/registry.js +4 -0
|
@@ -0,0 +1,626 @@
|
|
|
1
|
+
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
|
2
|
+
|
|
3
|
+
exports[`renders the AccessibilityIcon with no props 1`] = `
|
|
4
|
+
<ForwardRef(AccessibilityIcon)>
|
|
5
|
+
<ForwardRef(SvgIcon)
|
|
6
|
+
className="govgr-svg-icon--accessibility"
|
|
7
|
+
>
|
|
8
|
+
<ForwardRef(Base)
|
|
9
|
+
aria-hidden="true"
|
|
10
|
+
as="svg"
|
|
11
|
+
className="govgr-svg-icon--accessibility govgr-svg-icon"
|
|
12
|
+
focusable="false"
|
|
13
|
+
viewBox="0 0 24 24"
|
|
14
|
+
>
|
|
15
|
+
<svg
|
|
16
|
+
aria-hidden="true"
|
|
17
|
+
className="govgr-svg-icon--accessibility govgr-svg-icon"
|
|
18
|
+
focusable="false"
|
|
19
|
+
viewBox="0 0 24 24"
|
|
20
|
+
>
|
|
21
|
+
<title>
|
|
22
|
+
Μενού Προσβασιμότητας
|
|
23
|
+
</title>
|
|
24
|
+
<circle
|
|
25
|
+
cx="12"
|
|
26
|
+
cy="3"
|
|
27
|
+
r="3"
|
|
28
|
+
/>
|
|
29
|
+
<path
|
|
30
|
+
d="M19.76,6.13c-4.94,2.01-10.57,2.01-15.51,0c-0.71-0.3-1.55-0.04-1.98,0.66c-1.41,2.6,3.27,3.76,4.94,4.37 c0.4,0.11,0.81,0.2,1.22,0.28c0.56,0.11,0.92,0.67,0.79,1.25c-0.79,3.66-1.96,9.1-1.96,9.1c-0.46,2.27,2.72,3.15,3.39,0.92L12,17.93 l1.36,4.78c0.67,2.22,3.85,1.36,3.39-0.92c0,0-1.16-5.4-1.95-9.06c-0.12-0.57,0.22-1.16,0.77-1.27c2.01-0.41,3.94-1.17,5.68-2.31 C22.89,8.04,21.58,5.38,19.76,6.13z"
|
|
31
|
+
/>
|
|
32
|
+
|
|
33
|
+
</svg>
|
|
34
|
+
</ForwardRef(Base)>
|
|
35
|
+
</ForwardRef(SvgIcon)>
|
|
36
|
+
</ForwardRef(AccessibilityIcon)>
|
|
37
|
+
`;
|
|
38
|
+
|
|
39
|
+
exports[`renders the AccessibilityIcon with prop size=l 1`] = `
|
|
40
|
+
<ForwardRef(AccessibilityIcon)
|
|
41
|
+
size="l"
|
|
42
|
+
>
|
|
43
|
+
<ForwardRef(SvgIcon)
|
|
44
|
+
className="govgr-svg-icon--accessibility"
|
|
45
|
+
size="l"
|
|
46
|
+
>
|
|
47
|
+
<ForwardRef(Base)
|
|
48
|
+
aria-hidden="true"
|
|
49
|
+
as="svg"
|
|
50
|
+
className="govgr-svg-icon--accessibility govgr-svg-icon--l govgr-svg-icon"
|
|
51
|
+
focusable="false"
|
|
52
|
+
viewBox="0 0 24 24"
|
|
53
|
+
>
|
|
54
|
+
<svg
|
|
55
|
+
aria-hidden="true"
|
|
56
|
+
className="govgr-svg-icon--accessibility govgr-svg-icon--l govgr-svg-icon"
|
|
57
|
+
focusable="false"
|
|
58
|
+
viewBox="0 0 24 24"
|
|
59
|
+
>
|
|
60
|
+
<title>
|
|
61
|
+
Μενού Προσβασιμότητας
|
|
62
|
+
</title>
|
|
63
|
+
<circle
|
|
64
|
+
cx="12"
|
|
65
|
+
cy="3"
|
|
66
|
+
r="3"
|
|
67
|
+
/>
|
|
68
|
+
<path
|
|
69
|
+
d="M19.76,6.13c-4.94,2.01-10.57,2.01-15.51,0c-0.71-0.3-1.55-0.04-1.98,0.66c-1.41,2.6,3.27,3.76,4.94,4.37 c0.4,0.11,0.81,0.2,1.22,0.28c0.56,0.11,0.92,0.67,0.79,1.25c-0.79,3.66-1.96,9.1-1.96,9.1c-0.46,2.27,2.72,3.15,3.39,0.92L12,17.93 l1.36,4.78c0.67,2.22,3.85,1.36,3.39-0.92c0,0-1.16-5.4-1.95-9.06c-0.12-0.57,0.22-1.16,0.77-1.27c2.01-0.41,3.94-1.17,5.68-2.31 C22.89,8.04,21.58,5.38,19.76,6.13z"
|
|
70
|
+
/>
|
|
71
|
+
|
|
72
|
+
</svg>
|
|
73
|
+
</ForwardRef(Base)>
|
|
74
|
+
</ForwardRef(SvgIcon)>
|
|
75
|
+
</ForwardRef(AccessibilityIcon)>
|
|
76
|
+
`;
|
|
77
|
+
|
|
78
|
+
exports[`renders the AccessibilityIcon with prop size=m 1`] = `
|
|
79
|
+
<ForwardRef(AccessibilityIcon)
|
|
80
|
+
size="m"
|
|
81
|
+
>
|
|
82
|
+
<ForwardRef(SvgIcon)
|
|
83
|
+
className="govgr-svg-icon--accessibility"
|
|
84
|
+
size="m"
|
|
85
|
+
>
|
|
86
|
+
<ForwardRef(Base)
|
|
87
|
+
aria-hidden="true"
|
|
88
|
+
as="svg"
|
|
89
|
+
className="govgr-svg-icon--accessibility govgr-svg-icon--m govgr-svg-icon"
|
|
90
|
+
focusable="false"
|
|
91
|
+
viewBox="0 0 24 24"
|
|
92
|
+
>
|
|
93
|
+
<svg
|
|
94
|
+
aria-hidden="true"
|
|
95
|
+
className="govgr-svg-icon--accessibility govgr-svg-icon--m govgr-svg-icon"
|
|
96
|
+
focusable="false"
|
|
97
|
+
viewBox="0 0 24 24"
|
|
98
|
+
>
|
|
99
|
+
<title>
|
|
100
|
+
Μενού Προσβασιμότητας
|
|
101
|
+
</title>
|
|
102
|
+
<circle
|
|
103
|
+
cx="12"
|
|
104
|
+
cy="3"
|
|
105
|
+
r="3"
|
|
106
|
+
/>
|
|
107
|
+
<path
|
|
108
|
+
d="M19.76,6.13c-4.94,2.01-10.57,2.01-15.51,0c-0.71-0.3-1.55-0.04-1.98,0.66c-1.41,2.6,3.27,3.76,4.94,4.37 c0.4,0.11,0.81,0.2,1.22,0.28c0.56,0.11,0.92,0.67,0.79,1.25c-0.79,3.66-1.96,9.1-1.96,9.1c-0.46,2.27,2.72,3.15,3.39,0.92L12,17.93 l1.36,4.78c0.67,2.22,3.85,1.36,3.39-0.92c0,0-1.16-5.4-1.95-9.06c-0.12-0.57,0.22-1.16,0.77-1.27c2.01-0.41,3.94-1.17,5.68-2.31 C22.89,8.04,21.58,5.38,19.76,6.13z"
|
|
109
|
+
/>
|
|
110
|
+
|
|
111
|
+
</svg>
|
|
112
|
+
</ForwardRef(Base)>
|
|
113
|
+
</ForwardRef(SvgIcon)>
|
|
114
|
+
</ForwardRef(AccessibilityIcon)>
|
|
115
|
+
`;
|
|
116
|
+
|
|
117
|
+
exports[`renders the AccessibilityIcon with prop size=s 1`] = `
|
|
118
|
+
<ForwardRef(AccessibilityIcon)
|
|
119
|
+
size="s"
|
|
120
|
+
>
|
|
121
|
+
<ForwardRef(SvgIcon)
|
|
122
|
+
className="govgr-svg-icon--accessibility"
|
|
123
|
+
size="s"
|
|
124
|
+
>
|
|
125
|
+
<ForwardRef(Base)
|
|
126
|
+
aria-hidden="true"
|
|
127
|
+
as="svg"
|
|
128
|
+
className="govgr-svg-icon--accessibility govgr-svg-icon--s govgr-svg-icon"
|
|
129
|
+
focusable="false"
|
|
130
|
+
viewBox="0 0 24 24"
|
|
131
|
+
>
|
|
132
|
+
<svg
|
|
133
|
+
aria-hidden="true"
|
|
134
|
+
className="govgr-svg-icon--accessibility govgr-svg-icon--s govgr-svg-icon"
|
|
135
|
+
focusable="false"
|
|
136
|
+
viewBox="0 0 24 24"
|
|
137
|
+
>
|
|
138
|
+
<title>
|
|
139
|
+
Μενού Προσβασιμότητας
|
|
140
|
+
</title>
|
|
141
|
+
<circle
|
|
142
|
+
cx="12"
|
|
143
|
+
cy="3"
|
|
144
|
+
r="3"
|
|
145
|
+
/>
|
|
146
|
+
<path
|
|
147
|
+
d="M19.76,6.13c-4.94,2.01-10.57,2.01-15.51,0c-0.71-0.3-1.55-0.04-1.98,0.66c-1.41,2.6,3.27,3.76,4.94,4.37 c0.4,0.11,0.81,0.2,1.22,0.28c0.56,0.11,0.92,0.67,0.79,1.25c-0.79,3.66-1.96,9.1-1.96,9.1c-0.46,2.27,2.72,3.15,3.39,0.92L12,17.93 l1.36,4.78c0.67,2.22,3.85,1.36,3.39-0.92c0,0-1.16-5.4-1.95-9.06c-0.12-0.57,0.22-1.16,0.77-1.27c2.01-0.41,3.94-1.17,5.68-2.31 C22.89,8.04,21.58,5.38,19.76,6.13z"
|
|
148
|
+
/>
|
|
149
|
+
|
|
150
|
+
</svg>
|
|
151
|
+
</ForwardRef(Base)>
|
|
152
|
+
</ForwardRef(SvgIcon)>
|
|
153
|
+
</ForwardRef(AccessibilityIcon)>
|
|
154
|
+
`;
|
|
155
|
+
|
|
156
|
+
exports[`renders the AccessibilityIcon with prop size=xl 1`] = `
|
|
157
|
+
<ForwardRef(AccessibilityIcon)
|
|
158
|
+
size="xl"
|
|
159
|
+
>
|
|
160
|
+
<ForwardRef(SvgIcon)
|
|
161
|
+
className="govgr-svg-icon--accessibility"
|
|
162
|
+
size="xl"
|
|
163
|
+
>
|
|
164
|
+
<ForwardRef(Base)
|
|
165
|
+
aria-hidden="true"
|
|
166
|
+
as="svg"
|
|
167
|
+
className="govgr-svg-icon--accessibility govgr-svg-icon--xl govgr-svg-icon"
|
|
168
|
+
focusable="false"
|
|
169
|
+
viewBox="0 0 24 24"
|
|
170
|
+
>
|
|
171
|
+
<svg
|
|
172
|
+
aria-hidden="true"
|
|
173
|
+
className="govgr-svg-icon--accessibility govgr-svg-icon--xl govgr-svg-icon"
|
|
174
|
+
focusable="false"
|
|
175
|
+
viewBox="0 0 24 24"
|
|
176
|
+
>
|
|
177
|
+
<title>
|
|
178
|
+
Μενού Προσβασιμότητας
|
|
179
|
+
</title>
|
|
180
|
+
<circle
|
|
181
|
+
cx="12"
|
|
182
|
+
cy="3"
|
|
183
|
+
r="3"
|
|
184
|
+
/>
|
|
185
|
+
<path
|
|
186
|
+
d="M19.76,6.13c-4.94,2.01-10.57,2.01-15.51,0c-0.71-0.3-1.55-0.04-1.98,0.66c-1.41,2.6,3.27,3.76,4.94,4.37 c0.4,0.11,0.81,0.2,1.22,0.28c0.56,0.11,0.92,0.67,0.79,1.25c-0.79,3.66-1.96,9.1-1.96,9.1c-0.46,2.27,2.72,3.15,3.39,0.92L12,17.93 l1.36,4.78c0.67,2.22,3.85,1.36,3.39-0.92c0,0-1.16-5.4-1.95-9.06c-0.12-0.57,0.22-1.16,0.77-1.27c2.01-0.41,3.94-1.17,5.68-2.31 C22.89,8.04,21.58,5.38,19.76,6.13z"
|
|
187
|
+
/>
|
|
188
|
+
|
|
189
|
+
</svg>
|
|
190
|
+
</ForwardRef(Base)>
|
|
191
|
+
</ForwardRef(SvgIcon)>
|
|
192
|
+
</ForwardRef(AccessibilityIcon)>
|
|
193
|
+
`;
|
|
194
|
+
|
|
195
|
+
exports[`renders the AccessibilityIcon with prop size=xl 2`] = `
|
|
196
|
+
<ForwardRef(AccessibilityIcon)
|
|
197
|
+
size="xxl"
|
|
198
|
+
>
|
|
199
|
+
<ForwardRef(SvgIcon)
|
|
200
|
+
className="govgr-svg-icon--accessibility"
|
|
201
|
+
size="xxl"
|
|
202
|
+
>
|
|
203
|
+
<ForwardRef(Base)
|
|
204
|
+
aria-hidden="true"
|
|
205
|
+
as="svg"
|
|
206
|
+
className="govgr-svg-icon--accessibility govgr-svg-icon"
|
|
207
|
+
focusable="false"
|
|
208
|
+
viewBox="0 0 24 24"
|
|
209
|
+
>
|
|
210
|
+
<svg
|
|
211
|
+
aria-hidden="true"
|
|
212
|
+
className="govgr-svg-icon--accessibility govgr-svg-icon"
|
|
213
|
+
focusable="false"
|
|
214
|
+
viewBox="0 0 24 24"
|
|
215
|
+
>
|
|
216
|
+
<title>
|
|
217
|
+
Μενού Προσβασιμότητας
|
|
218
|
+
</title>
|
|
219
|
+
<circle
|
|
220
|
+
cx="12"
|
|
221
|
+
cy="3"
|
|
222
|
+
r="3"
|
|
223
|
+
/>
|
|
224
|
+
<path
|
|
225
|
+
d="M19.76,6.13c-4.94,2.01-10.57,2.01-15.51,0c-0.71-0.3-1.55-0.04-1.98,0.66c-1.41,2.6,3.27,3.76,4.94,4.37 c0.4,0.11,0.81,0.2,1.22,0.28c0.56,0.11,0.92,0.67,0.79,1.25c-0.79,3.66-1.96,9.1-1.96,9.1c-0.46,2.27,2.72,3.15,3.39,0.92L12,17.93 l1.36,4.78c0.67,2.22,3.85,1.36,3.39-0.92c0,0-1.16-5.4-1.95-9.06c-0.12-0.57,0.22-1.16,0.77-1.27c2.01-0.41,3.94-1.17,5.68-2.31 C22.89,8.04,21.58,5.38,19.76,6.13z"
|
|
226
|
+
/>
|
|
227
|
+
|
|
228
|
+
</svg>
|
|
229
|
+
</ForwardRef(Base)>
|
|
230
|
+
</ForwardRef(SvgIcon)>
|
|
231
|
+
</ForwardRef(AccessibilityIcon)>
|
|
232
|
+
`;
|
|
233
|
+
|
|
234
|
+
exports[`renders the AccessibilityIcon with prop variant=dark 1`] = `
|
|
235
|
+
<ForwardRef(AccessibilityIcon)
|
|
236
|
+
variant="dark"
|
|
237
|
+
>
|
|
238
|
+
<ForwardRef(SvgIcon)
|
|
239
|
+
className="govgr-svg-icon--accessibility"
|
|
240
|
+
variant="dark"
|
|
241
|
+
>
|
|
242
|
+
<ForwardRef(Base)
|
|
243
|
+
aria-hidden="true"
|
|
244
|
+
as="svg"
|
|
245
|
+
className="govgr-svg-icon--accessibility govgr-svg-icon--dark govgr-svg-icon"
|
|
246
|
+
focusable="false"
|
|
247
|
+
viewBox="0 0 24 24"
|
|
248
|
+
>
|
|
249
|
+
<svg
|
|
250
|
+
aria-hidden="true"
|
|
251
|
+
className="govgr-svg-icon--accessibility govgr-svg-icon--dark govgr-svg-icon"
|
|
252
|
+
focusable="false"
|
|
253
|
+
viewBox="0 0 24 24"
|
|
254
|
+
>
|
|
255
|
+
<title>
|
|
256
|
+
Μενού Προσβασιμότητας
|
|
257
|
+
</title>
|
|
258
|
+
<circle
|
|
259
|
+
cx="12"
|
|
260
|
+
cy="3"
|
|
261
|
+
r="3"
|
|
262
|
+
/>
|
|
263
|
+
<path
|
|
264
|
+
d="M19.76,6.13c-4.94,2.01-10.57,2.01-15.51,0c-0.71-0.3-1.55-0.04-1.98,0.66c-1.41,2.6,3.27,3.76,4.94,4.37 c0.4,0.11,0.81,0.2,1.22,0.28c0.56,0.11,0.92,0.67,0.79,1.25c-0.79,3.66-1.96,9.1-1.96,9.1c-0.46,2.27,2.72,3.15,3.39,0.92L12,17.93 l1.36,4.78c0.67,2.22,3.85,1.36,3.39-0.92c0,0-1.16-5.4-1.95-9.06c-0.12-0.57,0.22-1.16,0.77-1.27c2.01-0.41,3.94-1.17,5.68-2.31 C22.89,8.04,21.58,5.38,19.76,6.13z"
|
|
265
|
+
/>
|
|
266
|
+
|
|
267
|
+
</svg>
|
|
268
|
+
</ForwardRef(Base)>
|
|
269
|
+
</ForwardRef(SvgIcon)>
|
|
270
|
+
</ForwardRef(AccessibilityIcon)>
|
|
271
|
+
`;
|
|
272
|
+
|
|
273
|
+
exports[`renders the AccessibilityIcon with prop variant=error 1`] = `
|
|
274
|
+
<ForwardRef(AccessibilityIcon)
|
|
275
|
+
variant="error"
|
|
276
|
+
>
|
|
277
|
+
<ForwardRef(SvgIcon)
|
|
278
|
+
className="govgr-svg-icon--accessibility"
|
|
279
|
+
variant="error"
|
|
280
|
+
>
|
|
281
|
+
<ForwardRef(Base)
|
|
282
|
+
aria-hidden="true"
|
|
283
|
+
as="svg"
|
|
284
|
+
className="govgr-svg-icon--accessibility govgr-svg-icon--error govgr-svg-icon"
|
|
285
|
+
focusable="false"
|
|
286
|
+
viewBox="0 0 24 24"
|
|
287
|
+
>
|
|
288
|
+
<svg
|
|
289
|
+
aria-hidden="true"
|
|
290
|
+
className="govgr-svg-icon--accessibility govgr-svg-icon--error govgr-svg-icon"
|
|
291
|
+
focusable="false"
|
|
292
|
+
viewBox="0 0 24 24"
|
|
293
|
+
>
|
|
294
|
+
<title>
|
|
295
|
+
Μενού Προσβασιμότητας
|
|
296
|
+
</title>
|
|
297
|
+
<circle
|
|
298
|
+
cx="12"
|
|
299
|
+
cy="3"
|
|
300
|
+
r="3"
|
|
301
|
+
/>
|
|
302
|
+
<path
|
|
303
|
+
d="M19.76,6.13c-4.94,2.01-10.57,2.01-15.51,0c-0.71-0.3-1.55-0.04-1.98,0.66c-1.41,2.6,3.27,3.76,4.94,4.37 c0.4,0.11,0.81,0.2,1.22,0.28c0.56,0.11,0.92,0.67,0.79,1.25c-0.79,3.66-1.96,9.1-1.96,9.1c-0.46,2.27,2.72,3.15,3.39,0.92L12,17.93 l1.36,4.78c0.67,2.22,3.85,1.36,3.39-0.92c0,0-1.16-5.4-1.95-9.06c-0.12-0.57,0.22-1.16,0.77-1.27c2.01-0.41,3.94-1.17,5.68-2.31 C22.89,8.04,21.58,5.38,19.76,6.13z"
|
|
304
|
+
/>
|
|
305
|
+
|
|
306
|
+
</svg>
|
|
307
|
+
</ForwardRef(Base)>
|
|
308
|
+
</ForwardRef(SvgIcon)>
|
|
309
|
+
</ForwardRef(AccessibilityIcon)>
|
|
310
|
+
`;
|
|
311
|
+
|
|
312
|
+
exports[`renders the AccessibilityIcon with prop variant=error and size= xl 1`] = `
|
|
313
|
+
<ForwardRef(AccessibilityIcon)
|
|
314
|
+
size="xl"
|
|
315
|
+
variant="warning"
|
|
316
|
+
>
|
|
317
|
+
<ForwardRef(SvgIcon)
|
|
318
|
+
className="govgr-svg-icon--accessibility"
|
|
319
|
+
size="xl"
|
|
320
|
+
variant="warning"
|
|
321
|
+
>
|
|
322
|
+
<ForwardRef(Base)
|
|
323
|
+
aria-hidden="true"
|
|
324
|
+
as="svg"
|
|
325
|
+
className="govgr-svg-icon--accessibility govgr-svg-icon--warning govgr-svg-icon--xl govgr-svg-icon"
|
|
326
|
+
focusable="false"
|
|
327
|
+
viewBox="0 0 24 24"
|
|
328
|
+
>
|
|
329
|
+
<svg
|
|
330
|
+
aria-hidden="true"
|
|
331
|
+
className="govgr-svg-icon--accessibility govgr-svg-icon--warning govgr-svg-icon--xl govgr-svg-icon"
|
|
332
|
+
focusable="false"
|
|
333
|
+
viewBox="0 0 24 24"
|
|
334
|
+
>
|
|
335
|
+
<title>
|
|
336
|
+
Μενού Προσβασιμότητας
|
|
337
|
+
</title>
|
|
338
|
+
<circle
|
|
339
|
+
cx="12"
|
|
340
|
+
cy="3"
|
|
341
|
+
r="3"
|
|
342
|
+
/>
|
|
343
|
+
<path
|
|
344
|
+
d="M19.76,6.13c-4.94,2.01-10.57,2.01-15.51,0c-0.71-0.3-1.55-0.04-1.98,0.66c-1.41,2.6,3.27,3.76,4.94,4.37 c0.4,0.11,0.81,0.2,1.22,0.28c0.56,0.11,0.92,0.67,0.79,1.25c-0.79,3.66-1.96,9.1-1.96,9.1c-0.46,2.27,2.72,3.15,3.39,0.92L12,17.93 l1.36,4.78c0.67,2.22,3.85,1.36,3.39-0.92c0,0-1.16-5.4-1.95-9.06c-0.12-0.57,0.22-1.16,0.77-1.27c2.01-0.41,3.94-1.17,5.68-2.31 C22.89,8.04,21.58,5.38,19.76,6.13z"
|
|
345
|
+
/>
|
|
346
|
+
|
|
347
|
+
</svg>
|
|
348
|
+
</ForwardRef(Base)>
|
|
349
|
+
</ForwardRef(SvgIcon)>
|
|
350
|
+
</ForwardRef(AccessibilityIcon)>
|
|
351
|
+
`;
|
|
352
|
+
|
|
353
|
+
exports[`renders the AccessibilityIcon with prop variant=focus 1`] = `
|
|
354
|
+
<ForwardRef(AccessibilityIcon)
|
|
355
|
+
variant="focus"
|
|
356
|
+
>
|
|
357
|
+
<ForwardRef(SvgIcon)
|
|
358
|
+
className="govgr-svg-icon--accessibility"
|
|
359
|
+
variant="focus"
|
|
360
|
+
>
|
|
361
|
+
<ForwardRef(Base)
|
|
362
|
+
aria-hidden="true"
|
|
363
|
+
as="svg"
|
|
364
|
+
className="govgr-svg-icon--accessibility govgr-svg-icon--focus govgr-svg-icon"
|
|
365
|
+
focusable="false"
|
|
366
|
+
viewBox="0 0 24 24"
|
|
367
|
+
>
|
|
368
|
+
<svg
|
|
369
|
+
aria-hidden="true"
|
|
370
|
+
className="govgr-svg-icon--accessibility govgr-svg-icon--focus govgr-svg-icon"
|
|
371
|
+
focusable="false"
|
|
372
|
+
viewBox="0 0 24 24"
|
|
373
|
+
>
|
|
374
|
+
<title>
|
|
375
|
+
Μενού Προσβασιμότητας
|
|
376
|
+
</title>
|
|
377
|
+
<circle
|
|
378
|
+
cx="12"
|
|
379
|
+
cy="3"
|
|
380
|
+
r="3"
|
|
381
|
+
/>
|
|
382
|
+
<path
|
|
383
|
+
d="M19.76,6.13c-4.94,2.01-10.57,2.01-15.51,0c-0.71-0.3-1.55-0.04-1.98,0.66c-1.41,2.6,3.27,3.76,4.94,4.37 c0.4,0.11,0.81,0.2,1.22,0.28c0.56,0.11,0.92,0.67,0.79,1.25c-0.79,3.66-1.96,9.1-1.96,9.1c-0.46,2.27,2.72,3.15,3.39,0.92L12,17.93 l1.36,4.78c0.67,2.22,3.85,1.36,3.39-0.92c0,0-1.16-5.4-1.95-9.06c-0.12-0.57,0.22-1.16,0.77-1.27c2.01-0.41,3.94-1.17,5.68-2.31 C22.89,8.04,21.58,5.38,19.76,6.13z"
|
|
384
|
+
/>
|
|
385
|
+
|
|
386
|
+
</svg>
|
|
387
|
+
</ForwardRef(Base)>
|
|
388
|
+
</ForwardRef(SvgIcon)>
|
|
389
|
+
</ForwardRef(AccessibilityIcon)>
|
|
390
|
+
`;
|
|
391
|
+
|
|
392
|
+
exports[`renders the AccessibilityIcon with prop variant=gray 1`] = `
|
|
393
|
+
<ForwardRef(AccessibilityIcon)
|
|
394
|
+
variant="gray"
|
|
395
|
+
>
|
|
396
|
+
<ForwardRef(SvgIcon)
|
|
397
|
+
className="govgr-svg-icon--accessibility"
|
|
398
|
+
variant="gray"
|
|
399
|
+
>
|
|
400
|
+
<ForwardRef(Base)
|
|
401
|
+
aria-hidden="true"
|
|
402
|
+
as="svg"
|
|
403
|
+
className="govgr-svg-icon--accessibility govgr-svg-icon--gray govgr-svg-icon"
|
|
404
|
+
focusable="false"
|
|
405
|
+
viewBox="0 0 24 24"
|
|
406
|
+
>
|
|
407
|
+
<svg
|
|
408
|
+
aria-hidden="true"
|
|
409
|
+
className="govgr-svg-icon--accessibility govgr-svg-icon--gray govgr-svg-icon"
|
|
410
|
+
focusable="false"
|
|
411
|
+
viewBox="0 0 24 24"
|
|
412
|
+
>
|
|
413
|
+
<title>
|
|
414
|
+
Μενού Προσβασιμότητας
|
|
415
|
+
</title>
|
|
416
|
+
<circle
|
|
417
|
+
cx="12"
|
|
418
|
+
cy="3"
|
|
419
|
+
r="3"
|
|
420
|
+
/>
|
|
421
|
+
<path
|
|
422
|
+
d="M19.76,6.13c-4.94,2.01-10.57,2.01-15.51,0c-0.71-0.3-1.55-0.04-1.98,0.66c-1.41,2.6,3.27,3.76,4.94,4.37 c0.4,0.11,0.81,0.2,1.22,0.28c0.56,0.11,0.92,0.67,0.79,1.25c-0.79,3.66-1.96,9.1-1.96,9.1c-0.46,2.27,2.72,3.15,3.39,0.92L12,17.93 l1.36,4.78c0.67,2.22,3.85,1.36,3.39-0.92c0,0-1.16-5.4-1.95-9.06c-0.12-0.57,0.22-1.16,0.77-1.27c2.01-0.41,3.94-1.17,5.68-2.31 C22.89,8.04,21.58,5.38,19.76,6.13z"
|
|
423
|
+
/>
|
|
424
|
+
|
|
425
|
+
</svg>
|
|
426
|
+
</ForwardRef(Base)>
|
|
427
|
+
</ForwardRef(SvgIcon)>
|
|
428
|
+
</ForwardRef(AccessibilityIcon)>
|
|
429
|
+
`;
|
|
430
|
+
|
|
431
|
+
exports[`renders the AccessibilityIcon with prop variant=light 1`] = `
|
|
432
|
+
<ForwardRef(AccessibilityIcon)
|
|
433
|
+
variant="light"
|
|
434
|
+
>
|
|
435
|
+
<ForwardRef(SvgIcon)
|
|
436
|
+
className="govgr-svg-icon--accessibility"
|
|
437
|
+
variant="light"
|
|
438
|
+
>
|
|
439
|
+
<ForwardRef(Base)
|
|
440
|
+
aria-hidden="true"
|
|
441
|
+
as="svg"
|
|
442
|
+
className="govgr-svg-icon--accessibility govgr-svg-icon--light govgr-svg-icon"
|
|
443
|
+
focusable="false"
|
|
444
|
+
viewBox="0 0 24 24"
|
|
445
|
+
>
|
|
446
|
+
<svg
|
|
447
|
+
aria-hidden="true"
|
|
448
|
+
className="govgr-svg-icon--accessibility govgr-svg-icon--light govgr-svg-icon"
|
|
449
|
+
focusable="false"
|
|
450
|
+
viewBox="0 0 24 24"
|
|
451
|
+
>
|
|
452
|
+
<title>
|
|
453
|
+
Μενού Προσβασιμότητας
|
|
454
|
+
</title>
|
|
455
|
+
<circle
|
|
456
|
+
cx="12"
|
|
457
|
+
cy="3"
|
|
458
|
+
r="3"
|
|
459
|
+
/>
|
|
460
|
+
<path
|
|
461
|
+
d="M19.76,6.13c-4.94,2.01-10.57,2.01-15.51,0c-0.71-0.3-1.55-0.04-1.98,0.66c-1.41,2.6,3.27,3.76,4.94,4.37 c0.4,0.11,0.81,0.2,1.22,0.28c0.56,0.11,0.92,0.67,0.79,1.25c-0.79,3.66-1.96,9.1-1.96,9.1c-0.46,2.27,2.72,3.15,3.39,0.92L12,17.93 l1.36,4.78c0.67,2.22,3.85,1.36,3.39-0.92c0,0-1.16-5.4-1.95-9.06c-0.12-0.57,0.22-1.16,0.77-1.27c2.01-0.41,3.94-1.17,5.68-2.31 C22.89,8.04,21.58,5.38,19.76,6.13z"
|
|
462
|
+
/>
|
|
463
|
+
|
|
464
|
+
</svg>
|
|
465
|
+
</ForwardRef(Base)>
|
|
466
|
+
</ForwardRef(SvgIcon)>
|
|
467
|
+
</ForwardRef(AccessibilityIcon)>
|
|
468
|
+
`;
|
|
469
|
+
|
|
470
|
+
exports[`renders the AccessibilityIcon with prop variant=primary 1`] = `
|
|
471
|
+
<ForwardRef(AccessibilityIcon)
|
|
472
|
+
variant="primary"
|
|
473
|
+
>
|
|
474
|
+
<ForwardRef(SvgIcon)
|
|
475
|
+
className="govgr-svg-icon--accessibility"
|
|
476
|
+
variant="primary"
|
|
477
|
+
>
|
|
478
|
+
<ForwardRef(Base)
|
|
479
|
+
aria-hidden="true"
|
|
480
|
+
as="svg"
|
|
481
|
+
className="govgr-svg-icon--accessibility govgr-svg-icon--primary govgr-svg-icon"
|
|
482
|
+
focusable="false"
|
|
483
|
+
viewBox="0 0 24 24"
|
|
484
|
+
>
|
|
485
|
+
<svg
|
|
486
|
+
aria-hidden="true"
|
|
487
|
+
className="govgr-svg-icon--accessibility govgr-svg-icon--primary govgr-svg-icon"
|
|
488
|
+
focusable="false"
|
|
489
|
+
viewBox="0 0 24 24"
|
|
490
|
+
>
|
|
491
|
+
<title>
|
|
492
|
+
Μενού Προσβασιμότητας
|
|
493
|
+
</title>
|
|
494
|
+
<circle
|
|
495
|
+
cx="12"
|
|
496
|
+
cy="3"
|
|
497
|
+
r="3"
|
|
498
|
+
/>
|
|
499
|
+
<path
|
|
500
|
+
d="M19.76,6.13c-4.94,2.01-10.57,2.01-15.51,0c-0.71-0.3-1.55-0.04-1.98,0.66c-1.41,2.6,3.27,3.76,4.94,4.37 c0.4,0.11,0.81,0.2,1.22,0.28c0.56,0.11,0.92,0.67,0.79,1.25c-0.79,3.66-1.96,9.1-1.96,9.1c-0.46,2.27,2.72,3.15,3.39,0.92L12,17.93 l1.36,4.78c0.67,2.22,3.85,1.36,3.39-0.92c0,0-1.16-5.4-1.95-9.06c-0.12-0.57,0.22-1.16,0.77-1.27c2.01-0.41,3.94-1.17,5.68-2.31 C22.89,8.04,21.58,5.38,19.76,6.13z"
|
|
501
|
+
/>
|
|
502
|
+
|
|
503
|
+
</svg>
|
|
504
|
+
</ForwardRef(Base)>
|
|
505
|
+
</ForwardRef(SvgIcon)>
|
|
506
|
+
</ForwardRef(AccessibilityIcon)>
|
|
507
|
+
`;
|
|
508
|
+
|
|
509
|
+
exports[`renders the AccessibilityIcon with prop variant=success 1`] = `
|
|
510
|
+
<ForwardRef(AccessibilityIcon)
|
|
511
|
+
variant="success"
|
|
512
|
+
>
|
|
513
|
+
<ForwardRef(SvgIcon)
|
|
514
|
+
className="govgr-svg-icon--accessibility"
|
|
515
|
+
variant="success"
|
|
516
|
+
>
|
|
517
|
+
<ForwardRef(Base)
|
|
518
|
+
aria-hidden="true"
|
|
519
|
+
as="svg"
|
|
520
|
+
className="govgr-svg-icon--accessibility govgr-svg-icon--success govgr-svg-icon"
|
|
521
|
+
focusable="false"
|
|
522
|
+
viewBox="0 0 24 24"
|
|
523
|
+
>
|
|
524
|
+
<svg
|
|
525
|
+
aria-hidden="true"
|
|
526
|
+
className="govgr-svg-icon--accessibility govgr-svg-icon--success govgr-svg-icon"
|
|
527
|
+
focusable="false"
|
|
528
|
+
viewBox="0 0 24 24"
|
|
529
|
+
>
|
|
530
|
+
<title>
|
|
531
|
+
Μενού Προσβασιμότητας
|
|
532
|
+
</title>
|
|
533
|
+
<circle
|
|
534
|
+
cx="12"
|
|
535
|
+
cy="3"
|
|
536
|
+
r="3"
|
|
537
|
+
/>
|
|
538
|
+
<path
|
|
539
|
+
d="M19.76,6.13c-4.94,2.01-10.57,2.01-15.51,0c-0.71-0.3-1.55-0.04-1.98,0.66c-1.41,2.6,3.27,3.76,4.94,4.37 c0.4,0.11,0.81,0.2,1.22,0.28c0.56,0.11,0.92,0.67,0.79,1.25c-0.79,3.66-1.96,9.1-1.96,9.1c-0.46,2.27,2.72,3.15,3.39,0.92L12,17.93 l1.36,4.78c0.67,2.22,3.85,1.36,3.39-0.92c0,0-1.16-5.4-1.95-9.06c-0.12-0.57,0.22-1.16,0.77-1.27c2.01-0.41,3.94-1.17,5.68-2.31 C22.89,8.04,21.58,5.38,19.76,6.13z"
|
|
540
|
+
/>
|
|
541
|
+
|
|
542
|
+
</svg>
|
|
543
|
+
</ForwardRef(Base)>
|
|
544
|
+
</ForwardRef(SvgIcon)>
|
|
545
|
+
</ForwardRef(AccessibilityIcon)>
|
|
546
|
+
`;
|
|
547
|
+
|
|
548
|
+
exports[`renders the AccessibilityIcon with prop variant=warning 1`] = `
|
|
549
|
+
<ForwardRef(AccessibilityIcon)
|
|
550
|
+
variant="warning"
|
|
551
|
+
>
|
|
552
|
+
<ForwardRef(SvgIcon)
|
|
553
|
+
className="govgr-svg-icon--accessibility"
|
|
554
|
+
variant="warning"
|
|
555
|
+
>
|
|
556
|
+
<ForwardRef(Base)
|
|
557
|
+
aria-hidden="true"
|
|
558
|
+
as="svg"
|
|
559
|
+
className="govgr-svg-icon--accessibility govgr-svg-icon--warning govgr-svg-icon"
|
|
560
|
+
focusable="false"
|
|
561
|
+
viewBox="0 0 24 24"
|
|
562
|
+
>
|
|
563
|
+
<svg
|
|
564
|
+
aria-hidden="true"
|
|
565
|
+
className="govgr-svg-icon--accessibility govgr-svg-icon--warning govgr-svg-icon"
|
|
566
|
+
focusable="false"
|
|
567
|
+
viewBox="0 0 24 24"
|
|
568
|
+
>
|
|
569
|
+
<title>
|
|
570
|
+
Μενού Προσβασιμότητας
|
|
571
|
+
</title>
|
|
572
|
+
<circle
|
|
573
|
+
cx="12"
|
|
574
|
+
cy="3"
|
|
575
|
+
r="3"
|
|
576
|
+
/>
|
|
577
|
+
<path
|
|
578
|
+
d="M19.76,6.13c-4.94,2.01-10.57,2.01-15.51,0c-0.71-0.3-1.55-0.04-1.98,0.66c-1.41,2.6,3.27,3.76,4.94,4.37 c0.4,0.11,0.81,0.2,1.22,0.28c0.56,0.11,0.92,0.67,0.79,1.25c-0.79,3.66-1.96,9.1-1.96,9.1c-0.46,2.27,2.72,3.15,3.39,0.92L12,17.93 l1.36,4.78c0.67,2.22,3.85,1.36,3.39-0.92c0,0-1.16-5.4-1.95-9.06c-0.12-0.57,0.22-1.16,0.77-1.27c2.01-0.41,3.94-1.17,5.68-2.31 C22.89,8.04,21.58,5.38,19.76,6.13z"
|
|
579
|
+
/>
|
|
580
|
+
|
|
581
|
+
</svg>
|
|
582
|
+
</ForwardRef(Base)>
|
|
583
|
+
</ForwardRef(SvgIcon)>
|
|
584
|
+
</ForwardRef(AccessibilityIcon)>
|
|
585
|
+
`;
|
|
586
|
+
|
|
587
|
+
exports[`renders the AccessibilityIcon with prop variant=warning and size=s 1`] = `
|
|
588
|
+
<ForwardRef(AccessibilityIcon)
|
|
589
|
+
size="s"
|
|
590
|
+
variant="warning"
|
|
591
|
+
>
|
|
592
|
+
<ForwardRef(SvgIcon)
|
|
593
|
+
className="govgr-svg-icon--accessibility"
|
|
594
|
+
size="s"
|
|
595
|
+
variant="warning"
|
|
596
|
+
>
|
|
597
|
+
<ForwardRef(Base)
|
|
598
|
+
aria-hidden="true"
|
|
599
|
+
as="svg"
|
|
600
|
+
className="govgr-svg-icon--accessibility govgr-svg-icon--warning govgr-svg-icon--s govgr-svg-icon"
|
|
601
|
+
focusable="false"
|
|
602
|
+
viewBox="0 0 24 24"
|
|
603
|
+
>
|
|
604
|
+
<svg
|
|
605
|
+
aria-hidden="true"
|
|
606
|
+
className="govgr-svg-icon--accessibility govgr-svg-icon--warning govgr-svg-icon--s govgr-svg-icon"
|
|
607
|
+
focusable="false"
|
|
608
|
+
viewBox="0 0 24 24"
|
|
609
|
+
>
|
|
610
|
+
<title>
|
|
611
|
+
Μενού Προσβασιμότητας
|
|
612
|
+
</title>
|
|
613
|
+
<circle
|
|
614
|
+
cx="12"
|
|
615
|
+
cy="3"
|
|
616
|
+
r="3"
|
|
617
|
+
/>
|
|
618
|
+
<path
|
|
619
|
+
d="M19.76,6.13c-4.94,2.01-10.57,2.01-15.51,0c-0.71-0.3-1.55-0.04-1.98,0.66c-1.41,2.6,3.27,3.76,4.94,4.37 c0.4,0.11,0.81,0.2,1.22,0.28c0.56,0.11,0.92,0.67,0.79,1.25c-0.79,3.66-1.96,9.1-1.96,9.1c-0.46,2.27,2.72,3.15,3.39,0.92L12,17.93 l1.36,4.78c0.67,2.22,3.85,1.36,3.39-0.92c0,0-1.16-5.4-1.95-9.06c-0.12-0.57,0.22-1.16,0.77-1.27c2.01-0.41,3.94-1.17,5.68-2.31 C22.89,8.04,21.58,5.38,19.76,6.13z"
|
|
620
|
+
/>
|
|
621
|
+
|
|
622
|
+
</svg>
|
|
623
|
+
</ForwardRef(Base)>
|
|
624
|
+
</ForwardRef(SvgIcon)>
|
|
625
|
+
</ForwardRef(AccessibilityIcon)>
|
|
626
|
+
`;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { SvgIconProps } from '@digigov/react-core/SvgIcon';
|
|
3
|
+
export interface AccessibilityIconProps extends SvgIconProps {
|
|
4
|
+
/**
|
|
5
|
+
* ref is optional.
|
|
6
|
+
* ref prop declares the reference of the svg icon component.
|
|
7
|
+
* It can be used to to access the DOM element and the React element.
|
|
8
|
+
*/
|
|
9
|
+
ref?: React.Ref<SVGSVGElement>;
|
|
10
|
+
}
|
|
11
|
+
/**
|
|
12
|
+
* Use AccessibilityIcon component when you need to show web accessibility options.
|
|
13
|
+
*/
|
|
14
|
+
export declare const AccessibilityIcon: React.FC<AccessibilityIconProps>;
|
|
15
|
+
export default AccessibilityIcon;
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
|
|
4
|
+
|
|
5
|
+
Object.defineProperty(exports, "__esModule", {
|
|
6
|
+
value: true
|
|
7
|
+
});
|
|
8
|
+
exports["default"] = exports.AccessibilityIcon = void 0;
|
|
9
|
+
|
|
10
|
+
var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends"));
|
|
11
|
+
|
|
12
|
+
var _objectWithoutProperties2 = _interopRequireDefault(require("@babel/runtime/helpers/objectWithoutProperties"));
|
|
13
|
+
|
|
14
|
+
var _react = _interopRequireDefault(require("react"));
|
|
15
|
+
|
|
16
|
+
var _SvgIcon = _interopRequireDefault(require("@digigov/react-core/SvgIcon"));
|
|
17
|
+
|
|
18
|
+
var _clsx = _interopRequireDefault(require("clsx"));
|
|
19
|
+
|
|
20
|
+
var _excluded = ["size", "variant", "className"];
|
|
21
|
+
|
|
22
|
+
var _ref2 = /*#__PURE__*/_react["default"].createElement("title", null, "\u039C\u03B5\u03BD\u03BF\u03CD \u03A0\u03C1\u03BF\u03C3\u03B2\u03B1\u03C3\u03B9\u03BC\u03CC\u03C4\u03B7\u03C4\u03B1\u03C2");
|
|
23
|
+
|
|
24
|
+
var _ref3 = /*#__PURE__*/_react["default"].createElement("circle", {
|
|
25
|
+
cx: "12",
|
|
26
|
+
cy: "3",
|
|
27
|
+
r: "3"
|
|
28
|
+
});
|
|
29
|
+
|
|
30
|
+
var _ref4 = /*#__PURE__*/_react["default"].createElement("path", {
|
|
31
|
+
d: "M19.76,6.13c-4.94,2.01-10.57,2.01-15.51,0c-0.71-0.3-1.55-0.04-1.98,0.66c-1.41,2.6,3.27,3.76,4.94,4.37 c0.4,0.11,0.81,0.2,1.22,0.28c0.56,0.11,0.92,0.67,0.79,1.25c-0.79,3.66-1.96,9.1-1.96,9.1c-0.46,2.27,2.72,3.15,3.39,0.92L12,17.93 l1.36,4.78c0.67,2.22,3.85,1.36,3.39-0.92c0,0-1.16-5.4-1.95-9.06c-0.12-0.57,0.22-1.16,0.77-1.27c2.01-0.41,3.94-1.17,5.68-2.31 C22.89,8.04,21.58,5.38,19.76,6.13z"
|
|
32
|
+
});
|
|
33
|
+
|
|
34
|
+
/**
|
|
35
|
+
* Use AccessibilityIcon component when you need to show web accessibility options.
|
|
36
|
+
*/
|
|
37
|
+
var AccessibilityIcon = /*#__PURE__*/_react["default"].forwardRef(function AccessibilityIcon(_ref, ref) {
|
|
38
|
+
var size = _ref.size,
|
|
39
|
+
variant = _ref.variant,
|
|
40
|
+
className = _ref.className,
|
|
41
|
+
props = (0, _objectWithoutProperties2["default"])(_ref, _excluded);
|
|
42
|
+
return /*#__PURE__*/_react["default"].createElement(_SvgIcon["default"], (0, _extends2["default"])({
|
|
43
|
+
size: size,
|
|
44
|
+
variant: variant,
|
|
45
|
+
className: (0, _clsx["default"])(className, true && 'govgr-svg-icon--accessibility'),
|
|
46
|
+
ref: ref
|
|
47
|
+
}, props), _ref2, _ref3, _ref4, ' ');
|
|
48
|
+
});
|
|
49
|
+
|
|
50
|
+
exports.AccessibilityIcon = AccessibilityIcon;
|
|
51
|
+
var _default = AccessibilityIcon;
|
|
52
|
+
exports["default"] = _default;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|