@digigov/react-icons 1.0.0-8bbf3ef2 → 1.0.0-a131264d

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 (126) hide show
  1. package/AccessibilityIcon/index.js +1 -1
  2. package/{esm/AccessibilityIcon/index.js → AccessibilityIcon/index.mjs} +1 -1
  3. package/AccessibilityIcon/index.test.js +10 -10
  4. package/{esm/AccessibilityIcon/index.test.js → AccessibilityIcon/index.test.mjs} +1 -1
  5. package/ArrowIcon/config.d.ts +1 -1
  6. package/ArrowIcon/config.js +9 -9
  7. package/ArrowIcon/config.mjs +27 -0
  8. package/ArrowIcon/index.js +1 -1
  9. package/{esm/ArrowIcon/index.js → ArrowIcon/index.mjs} +1 -1
  10. package/ArrowIcon/index.test.js +5 -5
  11. package/{esm/ArrowIcon/index.test.js → ArrowIcon/index.test.mjs} +1 -1
  12. package/BurgerIcon/index.js +1 -1
  13. package/{esm/BurgerIcon/index.js → BurgerIcon/index.mjs} +1 -1
  14. package/BurgerIcon/index.test.js +7 -7
  15. package/{esm/BurgerIcon/index.test.js → BurgerIcon/index.test.mjs} +1 -1
  16. package/CaretIcon/index.js +1 -1
  17. package/{esm/CaretIcon/index.js → CaretIcon/index.mjs} +1 -1
  18. package/CaretIcon/index.test.js +5 -5
  19. package/{esm/CaretIcon/index.test.js → CaretIcon/index.test.mjs} +1 -1
  20. package/CheckIcon/index.js +1 -1
  21. package/{esm/CheckIcon/index.js → CheckIcon/index.mjs} +1 -1
  22. package/CheckIcon/index.test.js +9 -9
  23. package/{esm/CheckIcon/index.test.js → CheckIcon/index.test.mjs} +1 -1
  24. package/ChevronIcon/config.d.ts +14 -0
  25. package/ChevronIcon/config.js +39 -0
  26. package/ChevronIcon/config.mjs +27 -0
  27. package/ChevronIcon/index.d.ts +4 -0
  28. package/ChevronIcon/index.js +24 -0
  29. package/ChevronIcon/index.mjs +9 -0
  30. package/ChevronIcon/index.test.d.ts +1 -0
  31. package/ChevronIcon/index.test.js +39 -0
  32. package/ChevronIcon/index.test.mjs +33 -0
  33. package/CloseIcon/index.js +1 -1
  34. package/{esm/CloseIcon/index.js → CloseIcon/index.mjs} +1 -1
  35. package/CloseIcon/index.test.js +2 -2
  36. package/{esm/CloseIcon/index.test.js → CloseIcon/index.test.mjs} +1 -1
  37. package/GlobeIcon/index.js +1 -1
  38. package/{esm/GlobeIcon/index.js → GlobeIcon/index.mjs} +1 -1
  39. package/GlobeIcon/index.test.js +5 -5
  40. package/{esm/GlobeIcon/index.test.js → GlobeIcon/index.test.mjs} +1 -1
  41. package/Icon/index.d.ts +1 -1
  42. package/Icon/index.js +2 -2
  43. package/{esm/Icon/index.js → Icon/index.mjs} +2 -2
  44. package/Icon/index.test.js +11 -11
  45. package/{esm/Icon/index.test.js → Icon/index.test.mjs} +1 -1
  46. package/MoreVertIcon/index.js +1 -1
  47. package/{esm/MoreVertIcon/index.js → MoreVertIcon/index.mjs} +1 -1
  48. package/MoreVertIcon/index.test.js +10 -10
  49. package/{esm/MoreVertIcon/index.test.js → MoreVertIcon/index.test.mjs} +1 -1
  50. package/SearchIcon/index.js +1 -1
  51. package/{esm/SearchIcon/index.js → SearchIcon/index.mjs} +1 -1
  52. package/SearchIcon/index.test.js +2 -2
  53. package/{esm/SearchIcon/index.test.js → SearchIcon/index.test.mjs} +1 -1
  54. package/UncheckIcon/index.js +1 -1
  55. package/{esm/UncheckIcon/index.js → UncheckIcon/index.mjs} +1 -1
  56. package/UncheckIcon/index.test.js +10 -10
  57. package/{esm/UncheckIcon/index.test.js → UncheckIcon/index.test.mjs} +1 -1
  58. package/es/AccessibilityIcon/index.js +1 -1
  59. package/es/AccessibilityIcon/index.test.js +1 -1
  60. package/es/ArrowIcon/config.js +9 -9
  61. package/es/ArrowIcon/index.js +1 -1
  62. package/es/ArrowIcon/index.test.js +1 -1
  63. package/es/BurgerIcon/index.js +1 -1
  64. package/es/BurgerIcon/index.test.js +1 -1
  65. package/es/CaretIcon/index.js +1 -1
  66. package/es/CaretIcon/index.test.js +1 -1
  67. package/es/CheckIcon/index.js +1 -1
  68. package/es/CheckIcon/index.test.js +1 -1
  69. package/{esm/ArrowIcon → es/ChevronIcon}/config.js +3 -3
  70. package/es/ChevronIcon/index.js +9 -0
  71. package/es/ChevronIcon/index.test.js +33 -0
  72. package/es/CloseIcon/index.js +1 -1
  73. package/es/CloseIcon/index.test.js +1 -1
  74. package/es/GlobeIcon/index.js +1 -1
  75. package/es/GlobeIcon/index.test.js +1 -1
  76. package/es/Icon/index.js +2 -2
  77. package/es/Icon/index.test.js +1 -1
  78. package/es/MoreVertIcon/index.js +1 -1
  79. package/es/MoreVertIcon/index.test.js +1 -1
  80. package/es/SearchIcon/index.js +1 -1
  81. package/es/SearchIcon/index.test.js +1 -1
  82. package/es/UncheckIcon/index.js +1 -1
  83. package/es/UncheckIcon/index.test.js +1 -1
  84. package/es/icons.js +11 -10
  85. package/es/index.js +11 -10
  86. package/es/registry.js +15 -13
  87. package/icons.d.ts +3 -0
  88. package/icons.js +23 -10
  89. package/icons.mjs +12 -0
  90. package/index.d.ts +1 -0
  91. package/index.js +23 -10
  92. package/index.mjs +11 -0
  93. package/package.json +3 -3
  94. package/registry.d.ts +2 -1
  95. package/registry.js +16 -13
  96. package/{esm/registry.js → registry.mjs} +15 -13
  97. package/src/ArrowIcon/config.tsx +6 -6
  98. package/src/ChevronIcon/config.tsx +37 -0
  99. package/src/ChevronIcon/index.test.tsx +20 -0
  100. package/src/ChevronIcon/index.tsx +8 -0
  101. package/src/Icon/index.tsx +2 -2
  102. package/src/icons.ts +3 -0
  103. package/src/index.ts +1 -0
  104. package/src/registry.js +2 -0
  105. package/esm/AccessibilityIcon/__snapshots__/index.test.tsx.snap +0 -408
  106. package/esm/ArrowIcon/__snapshots__/index.test.tsx.snap +0 -148
  107. package/esm/BurgerIcon/__snapshots__/index.test.tsx.snap +0 -320
  108. package/esm/CaretIcon/__snapshots__/index.test.tsx.snap +0 -148
  109. package/esm/CheckIcon/__snapshots__/index.test.tsx.snap +0 -299
  110. package/esm/CloseIcon/__snapshots__/index.test.tsx.snap +0 -34
  111. package/esm/GlobeIcon/__snapshots__/index.test.tsx.snap +0 -149
  112. package/esm/Icon/__snapshots__/index.test.tsx.snap +0 -343
  113. package/esm/MoreVertIcon/__snapshots__/index.test.tsx.snap +0 -444
  114. package/esm/SearchIcon/__snapshots__/index.test.tsx.snap +0 -34
  115. package/esm/UncheckIcon/__snapshots__/index.test.tsx.snap +0 -336
  116. package/esm/icons.js +0 -11
  117. package/esm/index.js +0 -10
  118. /package/{esm/AccessibilityIcon/config.js → AccessibilityIcon/config.mjs} +0 -0
  119. /package/{esm/BurgerIcon/config.js → BurgerIcon/config.mjs} +0 -0
  120. /package/{esm/CaretIcon/config.js → CaretIcon/config.mjs} +0 -0
  121. /package/{esm/CheckIcon/config.js → CheckIcon/config.mjs} +0 -0
  122. /package/{esm/CloseIcon/config.js → CloseIcon/config.mjs} +0 -0
  123. /package/{esm/GlobeIcon/config.js → GlobeIcon/config.mjs} +0 -0
  124. /package/{esm/MoreVertIcon/config.js → MoreVertIcon/config.mjs} +0 -0
  125. /package/{esm/SearchIcon/config.js → SearchIcon/config.mjs} +0 -0
  126. /package/{esm/UncheckIcon/config.js → UncheckIcon/config.mjs} +0 -0
@@ -1,408 +0,0 @@
1
- // Jest Snapshot v1, https://goo.gl/fbAQLP
2
-
3
- exports[`renders the AccessibilityIcon with no props 1`] = `
4
- <AccessibilityIcon>
5
- <ForwardRef(Icon)
6
- icon="accessibility"
7
- >
8
- <ForwardRef(SvgIcon)
9
- className="govgr-svg-icon--accessibility"
10
- >
11
- <ForwardRef(Base)
12
- aria-hidden="true"
13
- as="svg"
14
- className="govgr-svg-icon--accessibility govgr-svg-icon"
15
- focusable="false"
16
- viewBox="0 0 24 24"
17
- >
18
- <svg
19
- aria-hidden="true"
20
- className="govgr-svg-icon--accessibility govgr-svg-icon"
21
- focusable="false"
22
- viewBox="0 0 24 24"
23
- >
24
- <accessibility>
25
- <title>
26
- Μενού Προσβασιμότητας
27
- </title>
28
- <circle
29
- cx="12"
30
- cy="3"
31
- r="3"
32
- />
33
- <path
34
- 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"
35
- />
36
- </accessibility>
37
- </svg>
38
- </ForwardRef(Base)>
39
- </ForwardRef(SvgIcon)>
40
- </ForwardRef(Icon)>
41
- </AccessibilityIcon>
42
- `;
43
-
44
- exports[`renders the AccessibilityIcon with prop size=l 1`] = `
45
- <AccessibilityIcon
46
- size="lg"
47
- >
48
- <ForwardRef(Icon)
49
- icon="accessibility"
50
- size="lg"
51
- >
52
- <ForwardRef(SvgIcon)
53
- className="govgr-svg-icon--accessibility"
54
- size="lg"
55
- >
56
- <ForwardRef(Base)
57
- aria-hidden="true"
58
- as="svg"
59
- className="govgr-svg-icon--accessibility govgr-svg-icon--lg govgr-svg-icon"
60
- focusable="false"
61
- viewBox="0 0 24 24"
62
- >
63
- <svg
64
- aria-hidden="true"
65
- className="govgr-svg-icon--accessibility govgr-svg-icon--lg govgr-svg-icon"
66
- focusable="false"
67
- viewBox="0 0 24 24"
68
- >
69
- <accessibility>
70
- <title>
71
- Μενού Προσβασιμότητας
72
- </title>
73
- <circle
74
- cx="12"
75
- cy="3"
76
- r="3"
77
- />
78
- <path
79
- 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"
80
- />
81
- </accessibility>
82
- </svg>
83
- </ForwardRef(Base)>
84
- </ForwardRef(SvgIcon)>
85
- </ForwardRef(Icon)>
86
- </AccessibilityIcon>
87
- `;
88
-
89
- exports[`renders the AccessibilityIcon with prop size=s 1`] = `
90
- <AccessibilityIcon
91
- size="sm"
92
- >
93
- <ForwardRef(Icon)
94
- icon="accessibility"
95
- size="sm"
96
- >
97
- <ForwardRef(SvgIcon)
98
- className="govgr-svg-icon--accessibility"
99
- size="sm"
100
- >
101
- <ForwardRef(Base)
102
- aria-hidden="true"
103
- as="svg"
104
- className="govgr-svg-icon--accessibility govgr-svg-icon--sm govgr-svg-icon"
105
- focusable="false"
106
- viewBox="0 0 24 24"
107
- >
108
- <svg
109
- aria-hidden="true"
110
- className="govgr-svg-icon--accessibility govgr-svg-icon--sm govgr-svg-icon"
111
- focusable="false"
112
- viewBox="0 0 24 24"
113
- >
114
- <accessibility>
115
- <title>
116
- Μενού Προσβασιμότητας
117
- </title>
118
- <circle
119
- cx="12"
120
- cy="3"
121
- r="3"
122
- />
123
- <path
124
- 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"
125
- />
126
- </accessibility>
127
- </svg>
128
- </ForwardRef(Base)>
129
- </ForwardRef(SvgIcon)>
130
- </ForwardRef(Icon)>
131
- </AccessibilityIcon>
132
- `;
133
-
134
- exports[`renders the AccessibilityIcon with prop variant=dark 1`] = `
135
- <AccessibilityIcon
136
- variant="dark"
137
- >
138
- <ForwardRef(Icon)
139
- icon="accessibility"
140
- variant="dark"
141
- >
142
- <ForwardRef(SvgIcon)
143
- className="govgr-svg-icon--accessibility"
144
- variant="dark"
145
- >
146
- <ForwardRef(Base)
147
- aria-hidden="true"
148
- as="svg"
149
- className="govgr-svg-icon--accessibility govgr-svg-icon--dark govgr-svg-icon"
150
- focusable="false"
151
- viewBox="0 0 24 24"
152
- >
153
- <svg
154
- aria-hidden="true"
155
- className="govgr-svg-icon--accessibility govgr-svg-icon--dark govgr-svg-icon"
156
- focusable="false"
157
- viewBox="0 0 24 24"
158
- >
159
- <accessibility>
160
- <title>
161
- Μενού Προσβασιμότητας
162
- </title>
163
- <circle
164
- cx="12"
165
- cy="3"
166
- r="3"
167
- />
168
- <path
169
- 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"
170
- />
171
- </accessibility>
172
- </svg>
173
- </ForwardRef(Base)>
174
- </ForwardRef(SvgIcon)>
175
- </ForwardRef(Icon)>
176
- </AccessibilityIcon>
177
- `;
178
-
179
- exports[`renders the AccessibilityIcon with prop variant=error 1`] = `
180
- <AccessibilityIcon
181
- variant="error"
182
- >
183
- <ForwardRef(Icon)
184
- icon="accessibility"
185
- variant="error"
186
- >
187
- <ForwardRef(SvgIcon)
188
- className="govgr-svg-icon--accessibility"
189
- variant="error"
190
- >
191
- <ForwardRef(Base)
192
- aria-hidden="true"
193
- as="svg"
194
- className="govgr-svg-icon--accessibility govgr-svg-icon--error govgr-svg-icon"
195
- focusable="false"
196
- viewBox="0 0 24 24"
197
- >
198
- <svg
199
- aria-hidden="true"
200
- className="govgr-svg-icon--accessibility govgr-svg-icon--error govgr-svg-icon"
201
- focusable="false"
202
- viewBox="0 0 24 24"
203
- >
204
- <accessibility>
205
- <title>
206
- Μενού Προσβασιμότητας
207
- </title>
208
- <circle
209
- cx="12"
210
- cy="3"
211
- r="3"
212
- />
213
- <path
214
- 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"
215
- />
216
- </accessibility>
217
- </svg>
218
- </ForwardRef(Base)>
219
- </ForwardRef(SvgIcon)>
220
- </ForwardRef(Icon)>
221
- </AccessibilityIcon>
222
- `;
223
-
224
- exports[`renders the AccessibilityIcon with prop variant=error and size= xl 1`] = `
225
- <AccessibilityIcon
226
- size="xl"
227
- variant="warning"
228
- >
229
- <ForwardRef(Icon)
230
- icon="accessibility"
231
- size="xl"
232
- variant="warning"
233
- >
234
- <ForwardRef(SvgIcon)
235
- className="govgr-svg-icon--accessibility"
236
- size="xl"
237
- variant="warning"
238
- >
239
- <ForwardRef(Base)
240
- aria-hidden="true"
241
- as="svg"
242
- className="govgr-svg-icon--accessibility govgr-svg-icon--warning govgr-svg-icon--xl govgr-svg-icon"
243
- focusable="false"
244
- viewBox="0 0 24 24"
245
- >
246
- <svg
247
- aria-hidden="true"
248
- className="govgr-svg-icon--accessibility govgr-svg-icon--warning govgr-svg-icon--xl govgr-svg-icon"
249
- focusable="false"
250
- viewBox="0 0 24 24"
251
- >
252
- <accessibility>
253
- <title>
254
- Μενού Προσβασιμότητας
255
- </title>
256
- <circle
257
- cx="12"
258
- cy="3"
259
- r="3"
260
- />
261
- <path
262
- 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"
263
- />
264
- </accessibility>
265
- </svg>
266
- </ForwardRef(Base)>
267
- </ForwardRef(SvgIcon)>
268
- </ForwardRef(Icon)>
269
- </AccessibilityIcon>
270
- `;
271
-
272
- exports[`renders the AccessibilityIcon with prop variant=primary 1`] = `
273
- <AccessibilityIcon
274
- variant="primary"
275
- >
276
- <ForwardRef(Icon)
277
- icon="accessibility"
278
- variant="primary"
279
- >
280
- <ForwardRef(SvgIcon)
281
- className="govgr-svg-icon--accessibility"
282
- variant="primary"
283
- >
284
- <ForwardRef(Base)
285
- aria-hidden="true"
286
- as="svg"
287
- className="govgr-svg-icon--accessibility govgr-svg-icon--primary govgr-svg-icon"
288
- focusable="false"
289
- viewBox="0 0 24 24"
290
- >
291
- <svg
292
- aria-hidden="true"
293
- className="govgr-svg-icon--accessibility govgr-svg-icon--primary govgr-svg-icon"
294
- focusable="false"
295
- viewBox="0 0 24 24"
296
- >
297
- <accessibility>
298
- <title>
299
- Μενού Προσβασιμότητας
300
- </title>
301
- <circle
302
- cx="12"
303
- cy="3"
304
- r="3"
305
- />
306
- <path
307
- 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"
308
- />
309
- </accessibility>
310
- </svg>
311
- </ForwardRef(Base)>
312
- </ForwardRef(SvgIcon)>
313
- </ForwardRef(Icon)>
314
- </AccessibilityIcon>
315
- `;
316
-
317
- exports[`renders the AccessibilityIcon with prop variant=success 1`] = `
318
- <AccessibilityIcon
319
- variant="success"
320
- >
321
- <ForwardRef(Icon)
322
- icon="accessibility"
323
- variant="success"
324
- >
325
- <ForwardRef(SvgIcon)
326
- className="govgr-svg-icon--accessibility"
327
- variant="success"
328
- >
329
- <ForwardRef(Base)
330
- aria-hidden="true"
331
- as="svg"
332
- className="govgr-svg-icon--accessibility govgr-svg-icon--success govgr-svg-icon"
333
- focusable="false"
334
- viewBox="0 0 24 24"
335
- >
336
- <svg
337
- aria-hidden="true"
338
- className="govgr-svg-icon--accessibility govgr-svg-icon--success govgr-svg-icon"
339
- focusable="false"
340
- viewBox="0 0 24 24"
341
- >
342
- <accessibility>
343
- <title>
344
- Μενού Προσβασιμότητας
345
- </title>
346
- <circle
347
- cx="12"
348
- cy="3"
349
- r="3"
350
- />
351
- <path
352
- 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"
353
- />
354
- </accessibility>
355
- </svg>
356
- </ForwardRef(Base)>
357
- </ForwardRef(SvgIcon)>
358
- </ForwardRef(Icon)>
359
- </AccessibilityIcon>
360
- `;
361
-
362
- exports[`renders the AccessibilityIcon with prop variant=warning and size=s 1`] = `
363
- <AccessibilityIcon
364
- size="sm"
365
- variant="warning"
366
- >
367
- <ForwardRef(Icon)
368
- icon="accessibility"
369
- size="sm"
370
- variant="warning"
371
- >
372
- <ForwardRef(SvgIcon)
373
- className="govgr-svg-icon--accessibility"
374
- size="sm"
375
- variant="warning"
376
- >
377
- <ForwardRef(Base)
378
- aria-hidden="true"
379
- as="svg"
380
- className="govgr-svg-icon--accessibility govgr-svg-icon--warning govgr-svg-icon--sm govgr-svg-icon"
381
- focusable="false"
382
- viewBox="0 0 24 24"
383
- >
384
- <svg
385
- aria-hidden="true"
386
- className="govgr-svg-icon--accessibility govgr-svg-icon--warning govgr-svg-icon--sm govgr-svg-icon"
387
- focusable="false"
388
- viewBox="0 0 24 24"
389
- >
390
- <accessibility>
391
- <title>
392
- Μενού Προσβασιμότητας
393
- </title>
394
- <circle
395
- cx="12"
396
- cy="3"
397
- r="3"
398
- />
399
- <path
400
- 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"
401
- />
402
- </accessibility>
403
- </svg>
404
- </ForwardRef(Base)>
405
- </ForwardRef(SvgIcon)>
406
- </ForwardRef(Icon)>
407
- </AccessibilityIcon>
408
- `;
@@ -1,148 +0,0 @@
1
- // Jest Snapshot v1, https://goo.gl/fbAQLP
2
-
3
- exports[`renders the ArrowIcon with direction down prop 1`] = `
4
- <ArrowIcon
5
- direction="down"
6
- >
7
- <ForwardRef(Icon)
8
- direction="down"
9
- icon="arrow"
10
- >
11
- <ForwardRef(SvgIcon)
12
- className="govgr-svg-icon--arrow"
13
- >
14
- <ForwardRef(Base)
15
- aria-hidden="true"
16
- as="svg"
17
- className="govgr-svg-icon--arrow govgr-svg-icon"
18
- focusable="false"
19
- viewBox="0 0 24 24"
20
- >
21
- <svg
22
- aria-hidden="true"
23
- className="govgr-svg-icon--arrow govgr-svg-icon"
24
- focusable="false"
25
- viewBox="0 0 24 24"
26
- >
27
- <arrow
28
- direction="down"
29
- >
30
- <path
31
- d="M22,8.2l-2.3-2.4L12,13.4L4.4,5.8L2,8.2l10,10L22,8.2z"
32
- />
33
- </arrow>
34
- </svg>
35
- </ForwardRef(Base)>
36
- </ForwardRef(SvgIcon)>
37
- </ForwardRef(Icon)>
38
- </ArrowIcon>
39
- `;
40
-
41
- exports[`renders the ArrowIcon with direction left prop 1`] = `
42
- <ArrowIcon
43
- direction="left"
44
- >
45
- <ForwardRef(Icon)
46
- direction="left"
47
- icon="arrow"
48
- >
49
- <ForwardRef(SvgIcon)
50
- className="govgr-svg-icon--arrow"
51
- >
52
- <ForwardRef(Base)
53
- aria-hidden="true"
54
- as="svg"
55
- className="govgr-svg-icon--arrow govgr-svg-icon"
56
- focusable="false"
57
- viewBox="0 0 24 24"
58
- >
59
- <svg
60
- aria-hidden="true"
61
- className="govgr-svg-icon--arrow govgr-svg-icon"
62
- focusable="false"
63
- viewBox="0 0 24 24"
64
- >
65
- <arrow
66
- direction="left"
67
- >
68
- <path
69
- d="M14.8,22l2.4-2.3L9.6,12l7.6-7.6L14.8,2l-10,10L14.8,22z"
70
- />
71
- </arrow>
72
- </svg>
73
- </ForwardRef(Base)>
74
- </ForwardRef(SvgIcon)>
75
- </ForwardRef(Icon)>
76
- </ArrowIcon>
77
- `;
78
-
79
- exports[`renders the ArrowIcon with direction up prop 1`] = `
80
- <ArrowIcon
81
- direction="up"
82
- >
83
- <ForwardRef(Icon)
84
- direction="up"
85
- icon="arrow"
86
- >
87
- <ForwardRef(SvgIcon)
88
- className="govgr-svg-icon--arrow"
89
- >
90
- <ForwardRef(Base)
91
- aria-hidden="true"
92
- as="svg"
93
- className="govgr-svg-icon--arrow govgr-svg-icon"
94
- focusable="false"
95
- viewBox="0 0 24 24"
96
- >
97
- <svg
98
- aria-hidden="true"
99
- className="govgr-svg-icon--arrow govgr-svg-icon"
100
- focusable="false"
101
- viewBox="0 0 24 24"
102
- >
103
- <arrow
104
- direction="up"
105
- >
106
- <path
107
- d="M2,15.8l2.3,2.4l7.7-7.6l7.6,7.6l2.4-2.4l-10-10L2,15.8z"
108
- />
109
- </arrow>
110
- </svg>
111
- </ForwardRef(Base)>
112
- </ForwardRef(SvgIcon)>
113
- </ForwardRef(Icon)>
114
- </ArrowIcon>
115
- `;
116
-
117
- exports[`renders the ArrowIcon with no props, direction prop is right by default 1`] = `
118
- <ArrowIcon>
119
- <ForwardRef(Icon)
120
- icon="arrow"
121
- >
122
- <ForwardRef(SvgIcon)
123
- className="govgr-svg-icon--arrow"
124
- >
125
- <ForwardRef(Base)
126
- aria-hidden="true"
127
- as="svg"
128
- className="govgr-svg-icon--arrow govgr-svg-icon"
129
- focusable="false"
130
- viewBox="0 0 24 24"
131
- >
132
- <svg
133
- aria-hidden="true"
134
- className="govgr-svg-icon--arrow govgr-svg-icon"
135
- focusable="false"
136
- viewBox="0 0 24 24"
137
- >
138
- <arrow>
139
- <path
140
- d="M8.5,2L6.1,4.3l7.6,7.7l-7.6,7.6L8.5,22l10-10L8.5,2z"
141
- />
142
- </arrow>
143
- </svg>
144
- </ForwardRef(Base)>
145
- </ForwardRef(SvgIcon)>
146
- </ForwardRef(Icon)>
147
- </ArrowIcon>
148
- `;