uikit-react-public 0.37.2 → 0.38.1
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/dist/components/Alert/Alert.d.ts +1 -1
- package/dist/components/Alert/Alert.stories.d.ts +1 -1
- package/dist/components/Alert/AlertTitle.d.ts +1 -1
- package/dist/components/Datepicker/subcomponents/Panel.d.ts +1 -2
- package/dist/components/Overlay/Overlay.d.ts +2 -1
- package/dist/components/Overlay/Overlay.stories.d.ts +1 -0
- package/dist/components/Toggle/ToggleHandle.d.ts +1 -1
- package/dist/components/UclLogoNew/UclLogo.d.ts +2 -1
- package/dist/components/UclLogoNew/__tests__/UclLogo.test.d.ts +1 -0
- package/dist/components/WeekPicker/__tests__/WeekPicker.test.d.ts +1 -0
- package/dist/index.js +3479 -3396
- package/dist/theme/dark/darkColour.d.ts +1 -0
- package/dist/theme/index.d.ts +1 -1
- package/dist/theme/light/lightColour.d.ts +1 -0
- package/dist/theme/original/defaultTheme.d.ts +7 -0
- package/dist/theme/original/originalColourNewStructure.d.ts +1 -0
- package/dist/theme/useTheme.d.ts +12 -0
- package/lib/components/Alert/AlertMessage.tsx +5 -4
- package/lib/components/Alert/AlertTitle.tsx +6 -8
- package/lib/components/AppHeader/AppHeader.stories.tsx +3 -3
- package/lib/components/AppHeader/AppHeader.tsx +2 -2
- package/lib/components/AppHeader/AppHeaderBottom.tsx +2 -3
- package/lib/components/AppHeader/AppHeaderTop.tsx +1 -1
- package/lib/components/AppHeader/__tests__/__snapshots__/AppHeader.test.tsx.snap +1 -1
- package/lib/components/AppMenu/AppMenuContent.tsx +4 -5
- package/lib/components/AppMenu/AppMenuDivider.tsx +5 -6
- package/lib/components/AppMenu/AppMenuItem.tsx +6 -6
- package/lib/components/AppMenu/__tests__/__snapshots__/AppMenu.test.tsx.snap +1 -1
- package/lib/components/Avatar/Avatar.tsx +7 -5
- package/lib/components/Avatar/__tests__/__snapshots__/Avatar.test.tsx.snap +18 -18
- package/lib/components/Badge/Badge.tsx +12 -12
- package/lib/components/Badge/__tests__/Badge.test.tsx +84 -1
- package/lib/components/Badge/__tests__/__snapshots__/Badge.test.tsx.snap +2 -2
- package/lib/components/Blanket/Blanket.tsx +1 -1
- package/lib/components/Blanket/__tests__/__snapshots__/Blanket.test.tsx.snap +1 -1
- package/lib/components/Button/__tests__/Button.test.tsx +46 -1
- package/lib/components/Button/__tests__/__snapshots__/Button.test.tsx.snap +2 -2
- package/lib/components/Button/style/buttonAccentStyle.ts +1 -1
- package/lib/components/Button/style/buttonPrimaryDestructiveStyle.ts +1 -1
- package/lib/components/Button/style/buttonPrimaryWarningStyle.ts +1 -1
- package/lib/components/Button/style/buttonSecondarySubtleStyle.ts +1 -1
- package/lib/components/Calendar/Calendar.tsx +1 -0
- package/lib/components/Calendar/__tests__/__snapshots__/Calendar.test.tsx.snap +17 -17
- package/lib/components/Calendar/subcomponents/AcademicWeek.tsx +0 -1
- package/lib/components/Calendar/subcomponents/Day.tsx +2 -2
- package/lib/components/Chip/Chip.tsx +7 -8
- package/lib/components/Chip/__tests__/__snapshots__/Chip.test.tsx.snap +5 -5
- package/lib/components/CookieNotice/CookieNotice.tsx +3 -3
- package/lib/components/Datepicker/__tests__/Datepicker.test.tsx +58 -1
- package/lib/components/Datepicker/__tests__/__snapshots__/Datepicker.test.tsx.snap +6 -6
- package/lib/components/Datepicker/subcomponents/CustomDatepicker.tsx +32 -11
- package/lib/components/Datepicker/subcomponents/DatepickerInput.tsx +7 -6
- package/lib/components/Datepicker/subcomponents/Panel.tsx +3 -21
- package/lib/components/Datepicker/subcomponents/VisibleField.tsx +6 -8
- package/lib/components/Dialog/BaseDialog.tsx +3 -3
- package/lib/components/Divider/Divider.tsx +5 -3
- package/lib/components/FileInput/FileInput.tsx +1 -1
- package/lib/components/FileInput/__tests__/__snapshots__/FileInput.test.tsx.snap +2 -2
- package/lib/components/Footer/Footer.tsx +17 -17
- package/lib/components/Footer/FooterNavLink.tsx +3 -3
- package/lib/components/Footer/SocialLink.tsx +3 -3
- package/lib/components/Footer/__tests__/__snapshots__/Footer.test.tsx.snap +55 -55
- package/lib/components/FooterNew/BackToTop.tsx +1 -1
- package/lib/components/FooterNew/FooterColumn.tsx +1 -2
- package/lib/components/FooterNew/FooterNavLink.tsx +6 -5
- package/lib/components/FooterNew/LegalAndCopyright.tsx +15 -15
- package/lib/components/FooterNew/LogoAddressAndSocial.tsx +8 -6
- package/lib/components/FooterNew/SocialLink.tsx +4 -4
- package/lib/components/FooterNew/__tests__/__snapshots__/Footer.test.tsx.snap +44 -44
- package/lib/components/Header/Header.tsx +3 -3
- package/lib/components/Header/__tests__/__snapshots__/Header.test.tsx.snap +2 -2
- package/lib/components/HeaderDraft/HeaderBottomBreadcrumbs.tsx +3 -4
- package/lib/components/HeaderDraft/HeaderBottomHeadingAndAvatar.tsx +7 -7
- package/lib/components/HeaderDraft/HeaderBreadcrumb.tsx +4 -4
- package/lib/components/HeaderDraft/HeaderDraft.tsx +7 -7
- package/lib/components/HeaderDraft/__tests__/__snapshots__/Header.test.tsx.snap +5 -5
- package/lib/components/HeaderNew/Header.tsx +2 -2
- package/lib/components/HeaderNew/__tests__/__snapshots__/Header.test.tsx.snap +2 -2
- package/lib/components/Input/Input.tsx +6 -6
- package/lib/components/Input/__tests__/__snapshots__/Input.test.tsx.snap +4 -4
- package/lib/components/Label/Label.tsx +2 -2
- package/lib/components/Label/__tests__/__snapshots__/Label.test.tsx.snap +1 -1
- package/lib/components/Layout/Layout.stories.tsx +12 -12
- package/lib/components/Link/Link.tsx +4 -4
- package/lib/components/Menu/MenuContent.tsx +3 -3
- package/lib/components/Menu/MenuItem.tsx +10 -8
- package/lib/components/Menu/MenuSection.tsx +1 -1
- package/lib/components/Modal/Modal.tsx +5 -15
- package/lib/components/Modal/__tests__/__snapshots__/Modal.test.tsx.snap +2 -2
- package/lib/components/NativeDatepicker/NativeDatepicker.tsx +9 -7
- package/lib/components/Overlay/Overlay.tsx +17 -5
- package/lib/components/Radio/Radio.tsx +13 -4
- package/lib/components/Radio/__tests__/__snapshots__/Radio.test.tsx.snap +3 -3
- package/lib/components/Search/Search.tsx +2 -2
- package/lib/components/Search/__tests__/__snapshots__/Search.test.tsx.snap +2 -2
- package/lib/components/Select/subcomponents/CustomSelect.tsx +4 -4
- package/lib/components/Spinner/Spinner.stories.tsx +3 -3
- package/lib/components/Spinner/Spinner.tsx +1 -1
- package/lib/components/Table/__tests__/__snapshots__/Table.test.tsx.snap +3 -3
- package/lib/components/Table/subcomponents/Head.tsx +2 -2
- package/lib/components/Table/subcomponents/Row.tsx +1 -1
- package/lib/components/Textarea/Textarea.tsx +7 -8
- package/lib/components/Textarea/__tests__/__snapshots__/Textarea.test.tsx.snap +4 -4
- package/lib/components/Timepicker/Timepicker.tsx +6 -4
- package/lib/components/Toggle/Toggle.tsx +4 -2
- package/lib/components/Toggle/ToggleHandle.tsx +4 -2
- package/lib/components/Tooltip/Tooltip.tsx +8 -5
- package/lib/components/Tooltip/__tests__/__snapshots__/tooltip.test.tsx.snap +2 -2
- package/lib/components/UclLogo/UclLogoNegativeSpace.tsx +7 -3
- package/lib/components/UclLogoNew/UclLogo.tsx +8 -9
- package/lib/components/UclLogoNew/__tests__/UclLogo.test.tsx +41 -0
- package/lib/components/WeekPicker/__tests__/WeekPicker.test.tsx +36 -0
- package/lib/components/WeekPicker/subcomponents/CustomDatepicker.tsx +27 -11
- package/lib/components/WeekPicker/subcomponents/DatepickerInput.tsx +6 -6
- package/lib/components/WeekPicker/subcomponents/VisibleField.tsx +9 -9
- package/lib/theme/dark/darkColour.ts +2 -1
- package/lib/theme/dark/darkTheme.ts +8 -1
- package/lib/theme/index.ts +1 -0
- package/lib/theme/light/lightColour.ts +2 -1
- package/lib/theme/light/lightTheme.ts +7 -0
- package/lib/theme/original/defaultTheme.ts +10 -0
- package/lib/theme/original/originalColourNewStructure.ts +2 -1
- package/package.json +2 -2
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
exports[`Footer > snapshot: footer links provided 1`] = `
|
|
4
4
|
<footer
|
|
5
|
-
class="ucl-uikit-footer css-
|
|
5
|
+
class="ucl-uikit-footer css-aro7ng"
|
|
6
6
|
data-testid="ucl-uikit-footer"
|
|
7
7
|
>
|
|
8
8
|
<div
|
|
@@ -15,7 +15,7 @@ exports[`Footer > snapshot: footer links provided 1`] = `
|
|
|
15
15
|
class="css-1h8jsb3"
|
|
16
16
|
>
|
|
17
17
|
<svg
|
|
18
|
-
class="css-
|
|
18
|
+
class="css-lo1jj5"
|
|
19
19
|
fill="currentColor"
|
|
20
20
|
height="40"
|
|
21
21
|
viewBox="0 0 157 40"
|
|
@@ -34,7 +34,7 @@ exports[`Footer > snapshot: footer links provided 1`] = `
|
|
|
34
34
|
>
|
|
35
35
|
<a
|
|
36
36
|
aria-label="Facebook"
|
|
37
|
-
class="ucl-uikit-base-link ucl-uikit-link ucl-uikit-footer__social-link css-
|
|
37
|
+
class="ucl-uikit-base-link ucl-uikit-link ucl-uikit-footer__social-link css-tc3pyp"
|
|
38
38
|
data-testid="ucl-uikit-footer__social-link"
|
|
39
39
|
href="https://www.facebook.com/uclofficial/"
|
|
40
40
|
target="_blank"
|
|
@@ -60,7 +60,7 @@ exports[`Footer > snapshot: footer links provided 1`] = `
|
|
|
60
60
|
</a>
|
|
61
61
|
<a
|
|
62
62
|
aria-label="Flickr"
|
|
63
|
-
class="ucl-uikit-base-link ucl-uikit-link ucl-uikit-footer__social-link css-
|
|
63
|
+
class="ucl-uikit-base-link ucl-uikit-link ucl-uikit-footer__social-link css-tc3pyp"
|
|
64
64
|
data-testid="ucl-uikit-footer__social-link"
|
|
65
65
|
href="https://www.flickr.com/groups/ucl/"
|
|
66
66
|
target="_blank"
|
|
@@ -86,7 +86,7 @@ exports[`Footer > snapshot: footer links provided 1`] = `
|
|
|
86
86
|
</a>
|
|
87
87
|
<a
|
|
88
88
|
aria-label="TikTok"
|
|
89
|
-
class="ucl-uikit-base-link ucl-uikit-link ucl-uikit-footer__social-link css-
|
|
89
|
+
class="ucl-uikit-base-link ucl-uikit-link ucl-uikit-footer__social-link css-tc3pyp"
|
|
90
90
|
data-testid="ucl-uikit-footer__social-link"
|
|
91
91
|
href="https://www.tiktok.com/@uclofficial"
|
|
92
92
|
target="_blank"
|
|
@@ -112,7 +112,7 @@ exports[`Footer > snapshot: footer links provided 1`] = `
|
|
|
112
112
|
</a>
|
|
113
113
|
<a
|
|
114
114
|
aria-label="YouTube"
|
|
115
|
-
class="ucl-uikit-base-link ucl-uikit-link ucl-uikit-footer__social-link css-
|
|
115
|
+
class="ucl-uikit-base-link ucl-uikit-link ucl-uikit-footer__social-link css-tc3pyp"
|
|
116
116
|
data-testid="ucl-uikit-footer__social-link"
|
|
117
117
|
href="https://www.youtube.com/ucltv"
|
|
118
118
|
target="_blank"
|
|
@@ -138,7 +138,7 @@ exports[`Footer > snapshot: footer links provided 1`] = `
|
|
|
138
138
|
</a>
|
|
139
139
|
<a
|
|
140
140
|
aria-label="SoundCloud"
|
|
141
|
-
class="ucl-uikit-base-link ucl-uikit-link ucl-uikit-footer__social-link css-
|
|
141
|
+
class="ucl-uikit-base-link ucl-uikit-link ucl-uikit-footer__social-link css-tc3pyp"
|
|
142
142
|
data-testid="ucl-uikit-footer__social-link"
|
|
143
143
|
href="https://soundcloud.com/uclsound"
|
|
144
144
|
target="_blank"
|
|
@@ -166,7 +166,7 @@ exports[`Footer > snapshot: footer links provided 1`] = `
|
|
|
166
166
|
</a>
|
|
167
167
|
<a
|
|
168
168
|
aria-label="X social media platform"
|
|
169
|
-
class="ucl-uikit-base-link ucl-uikit-link ucl-uikit-footer__social-link css-
|
|
169
|
+
class="ucl-uikit-base-link ucl-uikit-link ucl-uikit-footer__social-link css-tc3pyp"
|
|
170
170
|
data-testid="ucl-uikit-footer__social-link"
|
|
171
171
|
href="https://x.com/ucl"
|
|
172
172
|
target="_blank"
|
|
@@ -192,7 +192,7 @@ exports[`Footer > snapshot: footer links provided 1`] = `
|
|
|
192
192
|
</a>
|
|
193
193
|
<a
|
|
194
194
|
aria-label="Instagram"
|
|
195
|
-
class="ucl-uikit-base-link ucl-uikit-link ucl-uikit-footer__social-link css-
|
|
195
|
+
class="ucl-uikit-base-link ucl-uikit-link ucl-uikit-footer__social-link css-tc3pyp"
|
|
196
196
|
data-testid="ucl-uikit-footer__social-link"
|
|
197
197
|
href="https://www.instagram.com/ucl/"
|
|
198
198
|
target="_blank"
|
|
@@ -222,12 +222,12 @@ exports[`Footer > snapshot: footer links provided 1`] = `
|
|
|
222
222
|
</div>
|
|
223
223
|
</div>
|
|
224
224
|
<hr
|
|
225
|
-
class="ucl-divider css-
|
|
225
|
+
class="ucl-divider css-syfd3l"
|
|
226
226
|
data-testid="ucl-divider"
|
|
227
227
|
role="separator"
|
|
228
228
|
/>
|
|
229
229
|
<div
|
|
230
|
-
class="css-
|
|
230
|
+
class="css-1qgjvo4"
|
|
231
231
|
>
|
|
232
232
|
<span
|
|
233
233
|
class="css-13yf1i2"
|
|
@@ -252,7 +252,7 @@ exports[`Footer > snapshot: footer links provided 1`] = `
|
|
|
252
252
|
class="css-1k5afze"
|
|
253
253
|
>
|
|
254
254
|
<a
|
|
255
|
-
class="css-
|
|
255
|
+
class="css-o22h86"
|
|
256
256
|
href="https://dictionary.cambridge.org/dictionary/english/disclaimer"
|
|
257
257
|
rel="noopener noreferrer"
|
|
258
258
|
target="_blank"
|
|
@@ -260,7 +260,7 @@ exports[`Footer > snapshot: footer links provided 1`] = `
|
|
|
260
260
|
Disclaimer
|
|
261
261
|
</a>
|
|
262
262
|
<a
|
|
263
|
-
class="css-
|
|
263
|
+
class="css-o22h86"
|
|
264
264
|
href="https://www.legislation.gov.uk/ukpga/2000/36/contents"
|
|
265
265
|
rel="noopener noreferrer"
|
|
266
266
|
target="_blank"
|
|
@@ -268,7 +268,7 @@ exports[`Footer > snapshot: footer links provided 1`] = `
|
|
|
268
268
|
Freedom of Information
|
|
269
269
|
</a>
|
|
270
270
|
<a
|
|
271
|
-
class="css-
|
|
271
|
+
class="css-o22h86"
|
|
272
272
|
href="https://developer.mozilla.org/en-US/docs/Web/Accessibility"
|
|
273
273
|
rel="noopener noreferrer"
|
|
274
274
|
target="_blank"
|
|
@@ -276,7 +276,7 @@ exports[`Footer > snapshot: footer links provided 1`] = `
|
|
|
276
276
|
Accessibility
|
|
277
277
|
</a>
|
|
278
278
|
<a
|
|
279
|
-
class="css-
|
|
279
|
+
class="css-o22h86"
|
|
280
280
|
href="https://en.wikipedia.org/wiki/HTTP_cookie"
|
|
281
281
|
rel="noopener noreferrer"
|
|
282
282
|
target="_blank"
|
|
@@ -284,7 +284,7 @@ exports[`Footer > snapshot: footer links provided 1`] = `
|
|
|
284
284
|
Cookies
|
|
285
285
|
</a>
|
|
286
286
|
<a
|
|
287
|
-
class="css-
|
|
287
|
+
class="css-o22h86"
|
|
288
288
|
href="https://dictionary.cambridge.org/dictionary/english/privacy"
|
|
289
289
|
rel="noopener noreferrer"
|
|
290
290
|
target="_blank"
|
|
@@ -292,7 +292,7 @@ exports[`Footer > snapshot: footer links provided 1`] = `
|
|
|
292
292
|
Privacy
|
|
293
293
|
</a>
|
|
294
294
|
<a
|
|
295
|
-
class="css-
|
|
295
|
+
class="css-o22h86"
|
|
296
296
|
href="https://modern-slavery-statement-registry.service.gov.uk/"
|
|
297
297
|
rel="noopener noreferrer"
|
|
298
298
|
target="_blank"
|
|
@@ -306,7 +306,7 @@ exports[`Footer > snapshot: footer links provided 1`] = `
|
|
|
306
306
|
|
|
307
307
|
exports[`Footer > snapshot: nav links 1`] = `
|
|
308
308
|
<footer
|
|
309
|
-
class="ucl-uikit-footer css-
|
|
309
|
+
class="ucl-uikit-footer css-aro7ng"
|
|
310
310
|
data-testid="ucl-uikit-footer"
|
|
311
311
|
>
|
|
312
312
|
<div
|
|
@@ -325,14 +325,14 @@ exports[`Footer > snapshot: nav links 1`] = `
|
|
|
325
325
|
Category 1
|
|
326
326
|
</h3>
|
|
327
327
|
<a
|
|
328
|
-
class="ucl-uikit-base-link ucl-uikit-link ucl-uikit-footer__nav-link css-
|
|
328
|
+
class="ucl-uikit-base-link ucl-uikit-link ucl-uikit-footer__nav-link css-1bu3np"
|
|
329
329
|
data-testid="ucl-uikit-footer__nav-link"
|
|
330
330
|
href="#"
|
|
331
331
|
>
|
|
332
332
|
Item 1
|
|
333
333
|
</a>
|
|
334
334
|
<a
|
|
335
|
-
class="ucl-uikit-base-link ucl-uikit-link ucl-uikit-footer__nav-link css-
|
|
335
|
+
class="ucl-uikit-base-link ucl-uikit-link ucl-uikit-footer__nav-link css-1bu3np"
|
|
336
336
|
data-testid="ucl-uikit-footer__nav-link"
|
|
337
337
|
href="#"
|
|
338
338
|
>
|
|
@@ -349,14 +349,14 @@ exports[`Footer > snapshot: nav links 1`] = `
|
|
|
349
349
|
Category 2
|
|
350
350
|
</h3>
|
|
351
351
|
<a
|
|
352
|
-
class="ucl-uikit-base-link ucl-uikit-link ucl-uikit-footer__nav-link css-
|
|
352
|
+
class="ucl-uikit-base-link ucl-uikit-link ucl-uikit-footer__nav-link css-1bu3np"
|
|
353
353
|
data-testid="ucl-uikit-footer__nav-link"
|
|
354
354
|
href="#"
|
|
355
355
|
>
|
|
356
356
|
Item 1
|
|
357
357
|
</a>
|
|
358
358
|
<a
|
|
359
|
-
class="ucl-uikit-base-link ucl-uikit-link ucl-uikit-footer__nav-link css-
|
|
359
|
+
class="ucl-uikit-base-link ucl-uikit-link ucl-uikit-footer__nav-link css-1bu3np"
|
|
360
360
|
data-testid="ucl-uikit-footer__nav-link"
|
|
361
361
|
href="#"
|
|
362
362
|
>
|
|
@@ -368,7 +368,7 @@ exports[`Footer > snapshot: nav links 1`] = `
|
|
|
368
368
|
class="css-1h8jsb3"
|
|
369
369
|
>
|
|
370
370
|
<svg
|
|
371
|
-
class="css-
|
|
371
|
+
class="css-lo1jj5"
|
|
372
372
|
fill="currentColor"
|
|
373
373
|
height="40"
|
|
374
374
|
viewBox="0 0 157 40"
|
|
@@ -387,7 +387,7 @@ exports[`Footer > snapshot: nav links 1`] = `
|
|
|
387
387
|
>
|
|
388
388
|
<a
|
|
389
389
|
aria-label="Facebook"
|
|
390
|
-
class="ucl-uikit-base-link ucl-uikit-link ucl-uikit-footer__social-link css-
|
|
390
|
+
class="ucl-uikit-base-link ucl-uikit-link ucl-uikit-footer__social-link css-tc3pyp"
|
|
391
391
|
data-testid="ucl-uikit-footer__social-link"
|
|
392
392
|
href="https://www.facebook.com/uclofficial/"
|
|
393
393
|
target="_blank"
|
|
@@ -413,7 +413,7 @@ exports[`Footer > snapshot: nav links 1`] = `
|
|
|
413
413
|
</a>
|
|
414
414
|
<a
|
|
415
415
|
aria-label="Flickr"
|
|
416
|
-
class="ucl-uikit-base-link ucl-uikit-link ucl-uikit-footer__social-link css-
|
|
416
|
+
class="ucl-uikit-base-link ucl-uikit-link ucl-uikit-footer__social-link css-tc3pyp"
|
|
417
417
|
data-testid="ucl-uikit-footer__social-link"
|
|
418
418
|
href="https://www.flickr.com/groups/ucl/"
|
|
419
419
|
target="_blank"
|
|
@@ -439,7 +439,7 @@ exports[`Footer > snapshot: nav links 1`] = `
|
|
|
439
439
|
</a>
|
|
440
440
|
<a
|
|
441
441
|
aria-label="TikTok"
|
|
442
|
-
class="ucl-uikit-base-link ucl-uikit-link ucl-uikit-footer__social-link css-
|
|
442
|
+
class="ucl-uikit-base-link ucl-uikit-link ucl-uikit-footer__social-link css-tc3pyp"
|
|
443
443
|
data-testid="ucl-uikit-footer__social-link"
|
|
444
444
|
href="https://www.tiktok.com/@uclofficial"
|
|
445
445
|
target="_blank"
|
|
@@ -465,7 +465,7 @@ exports[`Footer > snapshot: nav links 1`] = `
|
|
|
465
465
|
</a>
|
|
466
466
|
<a
|
|
467
467
|
aria-label="YouTube"
|
|
468
|
-
class="ucl-uikit-base-link ucl-uikit-link ucl-uikit-footer__social-link css-
|
|
468
|
+
class="ucl-uikit-base-link ucl-uikit-link ucl-uikit-footer__social-link css-tc3pyp"
|
|
469
469
|
data-testid="ucl-uikit-footer__social-link"
|
|
470
470
|
href="https://www.youtube.com/ucltv"
|
|
471
471
|
target="_blank"
|
|
@@ -491,7 +491,7 @@ exports[`Footer > snapshot: nav links 1`] = `
|
|
|
491
491
|
</a>
|
|
492
492
|
<a
|
|
493
493
|
aria-label="SoundCloud"
|
|
494
|
-
class="ucl-uikit-base-link ucl-uikit-link ucl-uikit-footer__social-link css-
|
|
494
|
+
class="ucl-uikit-base-link ucl-uikit-link ucl-uikit-footer__social-link css-tc3pyp"
|
|
495
495
|
data-testid="ucl-uikit-footer__social-link"
|
|
496
496
|
href="https://soundcloud.com/uclsound"
|
|
497
497
|
target="_blank"
|
|
@@ -519,7 +519,7 @@ exports[`Footer > snapshot: nav links 1`] = `
|
|
|
519
519
|
</a>
|
|
520
520
|
<a
|
|
521
521
|
aria-label="X social media platform"
|
|
522
|
-
class="ucl-uikit-base-link ucl-uikit-link ucl-uikit-footer__social-link css-
|
|
522
|
+
class="ucl-uikit-base-link ucl-uikit-link ucl-uikit-footer__social-link css-tc3pyp"
|
|
523
523
|
data-testid="ucl-uikit-footer__social-link"
|
|
524
524
|
href="https://x.com/ucl"
|
|
525
525
|
target="_blank"
|
|
@@ -545,7 +545,7 @@ exports[`Footer > snapshot: nav links 1`] = `
|
|
|
545
545
|
</a>
|
|
546
546
|
<a
|
|
547
547
|
aria-label="Instagram"
|
|
548
|
-
class="ucl-uikit-base-link ucl-uikit-link ucl-uikit-footer__social-link css-
|
|
548
|
+
class="ucl-uikit-base-link ucl-uikit-link ucl-uikit-footer__social-link css-tc3pyp"
|
|
549
549
|
data-testid="ucl-uikit-footer__social-link"
|
|
550
550
|
href="https://www.instagram.com/ucl/"
|
|
551
551
|
target="_blank"
|
|
@@ -575,12 +575,12 @@ exports[`Footer > snapshot: nav links 1`] = `
|
|
|
575
575
|
</div>
|
|
576
576
|
</div>
|
|
577
577
|
<hr
|
|
578
|
-
class="ucl-divider css-
|
|
578
|
+
class="ucl-divider css-syfd3l"
|
|
579
579
|
data-testid="ucl-divider"
|
|
580
580
|
role="separator"
|
|
581
581
|
/>
|
|
582
582
|
<div
|
|
583
|
-
class="css-
|
|
583
|
+
class="css-1qgjvo4"
|
|
584
584
|
>
|
|
585
585
|
<span
|
|
586
586
|
class="css-13yf1i2"
|
|
@@ -605,7 +605,7 @@ exports[`Footer > snapshot: nav links 1`] = `
|
|
|
605
605
|
class="css-1k5afze"
|
|
606
606
|
>
|
|
607
607
|
<a
|
|
608
|
-
class="css-
|
|
608
|
+
class="css-o22h86"
|
|
609
609
|
href="https://www.ucl.ac.uk/legal-services/disclaimer"
|
|
610
610
|
rel="noopener noreferrer"
|
|
611
611
|
target="_blank"
|
|
@@ -613,7 +613,7 @@ exports[`Footer > snapshot: nav links 1`] = `
|
|
|
613
613
|
Disclaimer
|
|
614
614
|
</a>
|
|
615
615
|
<a
|
|
616
|
-
class="css-
|
|
616
|
+
class="css-o22h86"
|
|
617
617
|
href="https://www.ucl.ac.uk/foi"
|
|
618
618
|
rel="noopener noreferrer"
|
|
619
619
|
target="_blank"
|
|
@@ -621,7 +621,7 @@ exports[`Footer > snapshot: nav links 1`] = `
|
|
|
621
621
|
Freedom of Information
|
|
622
622
|
</a>
|
|
623
623
|
<a
|
|
624
|
-
class="css-
|
|
624
|
+
class="css-o22h86"
|
|
625
625
|
href="https://www.ucl.ac.uk/accessibility"
|
|
626
626
|
rel="noopener noreferrer"
|
|
627
627
|
target="_blank"
|
|
@@ -629,7 +629,7 @@ exports[`Footer > snapshot: nav links 1`] = `
|
|
|
629
629
|
Accessibility
|
|
630
630
|
</a>
|
|
631
631
|
<a
|
|
632
|
-
class="css-
|
|
632
|
+
class="css-o22h86"
|
|
633
633
|
href="https://www.ucl.ac.uk/legal-services/privacy/cookie-policy"
|
|
634
634
|
rel="noopener noreferrer"
|
|
635
635
|
target="_blank"
|
|
@@ -637,7 +637,7 @@ exports[`Footer > snapshot: nav links 1`] = `
|
|
|
637
637
|
Cookies
|
|
638
638
|
</a>
|
|
639
639
|
<a
|
|
640
|
-
class="css-
|
|
640
|
+
class="css-o22h86"
|
|
641
641
|
href="https://www.ucl.ac.uk/legal-services/privacy"
|
|
642
642
|
rel="noopener noreferrer"
|
|
643
643
|
target="_blank"
|
|
@@ -645,7 +645,7 @@ exports[`Footer > snapshot: nav links 1`] = `
|
|
|
645
645
|
Privacy
|
|
646
646
|
</a>
|
|
647
647
|
<a
|
|
648
|
-
class="css-
|
|
648
|
+
class="css-o22h86"
|
|
649
649
|
href="https://www.ucl.ac.uk/commercial-procurement/modern-day-slavery-statement"
|
|
650
650
|
rel="noopener noreferrer"
|
|
651
651
|
target="_blank"
|
|
@@ -659,7 +659,7 @@ exports[`Footer > snapshot: nav links 1`] = `
|
|
|
659
659
|
|
|
660
660
|
exports[`Footer > snapshot: no nav links 1`] = `
|
|
661
661
|
<footer
|
|
662
|
-
class="ucl-uikit-footer css-
|
|
662
|
+
class="ucl-uikit-footer css-aro7ng"
|
|
663
663
|
data-testid="ucl-uikit-footer"
|
|
664
664
|
>
|
|
665
665
|
<div
|
|
@@ -672,7 +672,7 @@ exports[`Footer > snapshot: no nav links 1`] = `
|
|
|
672
672
|
class="css-1h8jsb3"
|
|
673
673
|
>
|
|
674
674
|
<svg
|
|
675
|
-
class="css-
|
|
675
|
+
class="css-lo1jj5"
|
|
676
676
|
fill="currentColor"
|
|
677
677
|
height="40"
|
|
678
678
|
viewBox="0 0 157 40"
|
|
@@ -691,7 +691,7 @@ exports[`Footer > snapshot: no nav links 1`] = `
|
|
|
691
691
|
>
|
|
692
692
|
<a
|
|
693
693
|
aria-label="Facebook"
|
|
694
|
-
class="ucl-uikit-base-link ucl-uikit-link ucl-uikit-footer__social-link css-
|
|
694
|
+
class="ucl-uikit-base-link ucl-uikit-link ucl-uikit-footer__social-link css-tc3pyp"
|
|
695
695
|
data-testid="ucl-uikit-footer__social-link"
|
|
696
696
|
href="https://www.facebook.com/uclofficial/"
|
|
697
697
|
target="_blank"
|
|
@@ -717,7 +717,7 @@ exports[`Footer > snapshot: no nav links 1`] = `
|
|
|
717
717
|
</a>
|
|
718
718
|
<a
|
|
719
719
|
aria-label="Flickr"
|
|
720
|
-
class="ucl-uikit-base-link ucl-uikit-link ucl-uikit-footer__social-link css-
|
|
720
|
+
class="ucl-uikit-base-link ucl-uikit-link ucl-uikit-footer__social-link css-tc3pyp"
|
|
721
721
|
data-testid="ucl-uikit-footer__social-link"
|
|
722
722
|
href="https://www.flickr.com/groups/ucl/"
|
|
723
723
|
target="_blank"
|
|
@@ -743,7 +743,7 @@ exports[`Footer > snapshot: no nav links 1`] = `
|
|
|
743
743
|
</a>
|
|
744
744
|
<a
|
|
745
745
|
aria-label="TikTok"
|
|
746
|
-
class="ucl-uikit-base-link ucl-uikit-link ucl-uikit-footer__social-link css-
|
|
746
|
+
class="ucl-uikit-base-link ucl-uikit-link ucl-uikit-footer__social-link css-tc3pyp"
|
|
747
747
|
data-testid="ucl-uikit-footer__social-link"
|
|
748
748
|
href="https://www.tiktok.com/@uclofficial"
|
|
749
749
|
target="_blank"
|
|
@@ -769,7 +769,7 @@ exports[`Footer > snapshot: no nav links 1`] = `
|
|
|
769
769
|
</a>
|
|
770
770
|
<a
|
|
771
771
|
aria-label="YouTube"
|
|
772
|
-
class="ucl-uikit-base-link ucl-uikit-link ucl-uikit-footer__social-link css-
|
|
772
|
+
class="ucl-uikit-base-link ucl-uikit-link ucl-uikit-footer__social-link css-tc3pyp"
|
|
773
773
|
data-testid="ucl-uikit-footer__social-link"
|
|
774
774
|
href="https://www.youtube.com/ucltv"
|
|
775
775
|
target="_blank"
|
|
@@ -795,7 +795,7 @@ exports[`Footer > snapshot: no nav links 1`] = `
|
|
|
795
795
|
</a>
|
|
796
796
|
<a
|
|
797
797
|
aria-label="SoundCloud"
|
|
798
|
-
class="ucl-uikit-base-link ucl-uikit-link ucl-uikit-footer__social-link css-
|
|
798
|
+
class="ucl-uikit-base-link ucl-uikit-link ucl-uikit-footer__social-link css-tc3pyp"
|
|
799
799
|
data-testid="ucl-uikit-footer__social-link"
|
|
800
800
|
href="https://soundcloud.com/uclsound"
|
|
801
801
|
target="_blank"
|
|
@@ -823,7 +823,7 @@ exports[`Footer > snapshot: no nav links 1`] = `
|
|
|
823
823
|
</a>
|
|
824
824
|
<a
|
|
825
825
|
aria-label="X social media platform"
|
|
826
|
-
class="ucl-uikit-base-link ucl-uikit-link ucl-uikit-footer__social-link css-
|
|
826
|
+
class="ucl-uikit-base-link ucl-uikit-link ucl-uikit-footer__social-link css-tc3pyp"
|
|
827
827
|
data-testid="ucl-uikit-footer__social-link"
|
|
828
828
|
href="https://x.com/ucl"
|
|
829
829
|
target="_blank"
|
|
@@ -849,7 +849,7 @@ exports[`Footer > snapshot: no nav links 1`] = `
|
|
|
849
849
|
</a>
|
|
850
850
|
<a
|
|
851
851
|
aria-label="Instagram"
|
|
852
|
-
class="ucl-uikit-base-link ucl-uikit-link ucl-uikit-footer__social-link css-
|
|
852
|
+
class="ucl-uikit-base-link ucl-uikit-link ucl-uikit-footer__social-link css-tc3pyp"
|
|
853
853
|
data-testid="ucl-uikit-footer__social-link"
|
|
854
854
|
href="https://www.instagram.com/ucl/"
|
|
855
855
|
target="_blank"
|
|
@@ -879,12 +879,12 @@ exports[`Footer > snapshot: no nav links 1`] = `
|
|
|
879
879
|
</div>
|
|
880
880
|
</div>
|
|
881
881
|
<hr
|
|
882
|
-
class="ucl-divider css-
|
|
882
|
+
class="ucl-divider css-syfd3l"
|
|
883
883
|
data-testid="ucl-divider"
|
|
884
884
|
role="separator"
|
|
885
885
|
/>
|
|
886
886
|
<div
|
|
887
|
-
class="css-
|
|
887
|
+
class="css-1qgjvo4"
|
|
888
888
|
>
|
|
889
889
|
<span
|
|
890
890
|
class="css-13yf1i2"
|
|
@@ -909,7 +909,7 @@ exports[`Footer > snapshot: no nav links 1`] = `
|
|
|
909
909
|
class="css-1k5afze"
|
|
910
910
|
>
|
|
911
911
|
<a
|
|
912
|
-
class="css-
|
|
912
|
+
class="css-o22h86"
|
|
913
913
|
href="https://www.ucl.ac.uk/legal-services/disclaimer"
|
|
914
914
|
rel="noopener noreferrer"
|
|
915
915
|
target="_blank"
|
|
@@ -917,7 +917,7 @@ exports[`Footer > snapshot: no nav links 1`] = `
|
|
|
917
917
|
Disclaimer
|
|
918
918
|
</a>
|
|
919
919
|
<a
|
|
920
|
-
class="css-
|
|
920
|
+
class="css-o22h86"
|
|
921
921
|
href="https://www.ucl.ac.uk/foi"
|
|
922
922
|
rel="noopener noreferrer"
|
|
923
923
|
target="_blank"
|
|
@@ -925,7 +925,7 @@ exports[`Footer > snapshot: no nav links 1`] = `
|
|
|
925
925
|
Freedom of Information
|
|
926
926
|
</a>
|
|
927
927
|
<a
|
|
928
|
-
class="css-
|
|
928
|
+
class="css-o22h86"
|
|
929
929
|
href="https://www.ucl.ac.uk/accessibility"
|
|
930
930
|
rel="noopener noreferrer"
|
|
931
931
|
target="_blank"
|
|
@@ -933,7 +933,7 @@ exports[`Footer > snapshot: no nav links 1`] = `
|
|
|
933
933
|
Accessibility
|
|
934
934
|
</a>
|
|
935
935
|
<a
|
|
936
|
-
class="css-
|
|
936
|
+
class="css-o22h86"
|
|
937
937
|
href="https://www.ucl.ac.uk/legal-services/privacy/cookie-policy"
|
|
938
938
|
rel="noopener noreferrer"
|
|
939
939
|
target="_blank"
|
|
@@ -941,7 +941,7 @@ exports[`Footer > snapshot: no nav links 1`] = `
|
|
|
941
941
|
Cookies
|
|
942
942
|
</a>
|
|
943
943
|
<a
|
|
944
|
-
class="css-
|
|
944
|
+
class="css-o22h86"
|
|
945
945
|
href="https://www.ucl.ac.uk/legal-services/privacy"
|
|
946
946
|
rel="noopener noreferrer"
|
|
947
947
|
target="_blank"
|
|
@@ -949,7 +949,7 @@ exports[`Footer > snapshot: no nav links 1`] = `
|
|
|
949
949
|
Privacy
|
|
950
950
|
</a>
|
|
951
951
|
<a
|
|
952
|
-
class="css-
|
|
952
|
+
class="css-o22h86"
|
|
953
953
|
href="https://www.ucl.ac.uk/commercial-procurement/modern-day-slavery-statement"
|
|
954
954
|
rel="noopener noreferrer"
|
|
955
955
|
target="_blank"
|
|
@@ -46,7 +46,7 @@ const BackToTop = ({
|
|
|
46
46
|
display: inline;
|
|
47
47
|
background-color: transparent;
|
|
48
48
|
border: none;
|
|
49
|
-
color: ${theme.colour.
|
|
49
|
+
color: ${theme.colour.text.brandInverse};
|
|
50
50
|
font-family: ${theme.typography.body.md.fontFamily};
|
|
51
51
|
font-size: 14px;
|
|
52
52
|
line-height: ${theme.typography.body.md.lineHeight}%;
|
|
@@ -41,7 +41,6 @@ const FooterColumn = ({
|
|
|
41
41
|
margin-top: 0;
|
|
42
42
|
margin-bottom: 0;
|
|
43
43
|
flex: 0 0 200px;
|
|
44
|
-
/* background-color: rgba(255, 255, 255, 0.1); */
|
|
45
44
|
|
|
46
45
|
:not(:first-child) {
|
|
47
46
|
margin-top: 0;
|
|
@@ -57,7 +56,7 @@ const FooterColumn = ({
|
|
|
57
56
|
|
|
58
57
|
const headingStyle = css`
|
|
59
58
|
margin: 0;
|
|
60
|
-
color:
|
|
59
|
+
color: ${theme.colour.text.brandInverse};
|
|
61
60
|
font-family: ${theme.typography.body.mdSemibold.fontFamily};
|
|
62
61
|
font-weight: ${theme.typography.body.mdSemibold.fontWeight};
|
|
63
62
|
font-size: ${theme.typography.body.mdSemibold.fontSize}px;
|
|
@@ -20,11 +20,12 @@ const FooterNavLink = ({
|
|
|
20
20
|
|
|
21
21
|
const baseStyle = css`
|
|
22
22
|
text-decoration: none;
|
|
23
|
-
color:
|
|
23
|
+
color: ${theme.colour.text.brandInverse};
|
|
24
24
|
font-family: ${theme.typography.body.md.fontFamily};
|
|
25
25
|
font-size: 14px;
|
|
26
|
-
line-height: ${
|
|
27
|
-
.lineHeight
|
|
26
|
+
line-height: ${
|
|
27
|
+
theme.typography.body.md.lineHeight
|
|
28
|
+
}%; // todo: change foundations lib to use non-percent number
|
|
28
29
|
transition: color 0.2s ease-out;
|
|
29
30
|
|
|
30
31
|
&:focus-visible {
|
|
@@ -33,12 +34,12 @@ const FooterNavLink = ({
|
|
|
33
34
|
}
|
|
34
35
|
|
|
35
36
|
&:visited {
|
|
36
|
-
color: ${theme.
|
|
37
|
+
color: ${theme.colour.text.brandInverse};
|
|
37
38
|
}
|
|
38
39
|
|
|
39
40
|
&:hover {
|
|
40
41
|
text-decoration: underline;
|
|
41
|
-
color: ${theme.
|
|
42
|
+
color: ${theme.colour.text.brandInverse};
|
|
42
43
|
}
|
|
43
44
|
|
|
44
45
|
@media screen and (min-width: ${theme.breakpoints.desktop}px) {
|
|
@@ -78,7 +78,7 @@ const LegalAndCopyright = ({
|
|
|
78
78
|
|
|
79
79
|
const copyrightStyle = css`
|
|
80
80
|
margin-top: ${theme.margin.m24};
|
|
81
|
-
color: ${theme.colour.text.
|
|
81
|
+
color: ${theme.colour.text.brandInverse};
|
|
82
82
|
opacity: 0.6; // todo
|
|
83
83
|
font-family: ${theme.typography.body.md.fontFamily};
|
|
84
84
|
line-height: ${theme.typography.body.md.lineHeight}%;
|
|
@@ -100,48 +100,48 @@ const LegalAndCopyright = ({
|
|
|
100
100
|
<a
|
|
101
101
|
className={linkStyle}
|
|
102
102
|
href={disclaimer}
|
|
103
|
-
target=
|
|
104
|
-
rel=
|
|
103
|
+
target='_blank'
|
|
104
|
+
rel='noopener noreferrer'
|
|
105
105
|
>
|
|
106
106
|
Disclaimer
|
|
107
107
|
</a>
|
|
108
108
|
<a
|
|
109
109
|
className={linkStyle}
|
|
110
110
|
href={freedomOfInformation}
|
|
111
|
-
target=
|
|
112
|
-
rel=
|
|
111
|
+
target='_blank'
|
|
112
|
+
rel='noopener noreferrer'
|
|
113
113
|
>
|
|
114
114
|
Freedom of Information
|
|
115
115
|
</a>
|
|
116
116
|
<a
|
|
117
117
|
className={linkStyle}
|
|
118
118
|
href={accessibility}
|
|
119
|
-
target=
|
|
120
|
-
rel=
|
|
119
|
+
target='_blank'
|
|
120
|
+
rel='noopener noreferrer'
|
|
121
121
|
>
|
|
122
122
|
Accessibility
|
|
123
123
|
</a>
|
|
124
124
|
<a
|
|
125
125
|
className={linkStyle}
|
|
126
126
|
href={cookies}
|
|
127
|
-
target=
|
|
128
|
-
rel=
|
|
127
|
+
target='_blank'
|
|
128
|
+
rel='noopener noreferrer'
|
|
129
129
|
>
|
|
130
130
|
Cookies
|
|
131
131
|
</a>
|
|
132
132
|
<a
|
|
133
133
|
className={linkStyle}
|
|
134
134
|
href={privacy}
|
|
135
|
-
target=
|
|
136
|
-
rel=
|
|
135
|
+
target='_blank'
|
|
136
|
+
rel='noopener noreferrer'
|
|
137
137
|
>
|
|
138
138
|
Privacy
|
|
139
139
|
</a>
|
|
140
140
|
<a
|
|
141
141
|
className={linkStyle}
|
|
142
142
|
href={slaveryStatement}
|
|
143
|
-
target=
|
|
144
|
-
rel=
|
|
143
|
+
target='_blank'
|
|
144
|
+
rel='noopener noreferrer'
|
|
145
145
|
>
|
|
146
146
|
Slavery statement
|
|
147
147
|
</a>
|
|
@@ -149,8 +149,8 @@ const LegalAndCopyright = ({
|
|
|
149
149
|
<a
|
|
150
150
|
className={linkStyle}
|
|
151
151
|
href={login}
|
|
152
|
-
target=
|
|
153
|
-
rel=
|
|
152
|
+
target='_blank'
|
|
153
|
+
rel='noopener noreferrer'
|
|
154
154
|
>
|
|
155
155
|
Login
|
|
156
156
|
</a>
|
|
@@ -61,11 +61,12 @@ const LogoAddressAndSocial = ({
|
|
|
61
61
|
`;
|
|
62
62
|
|
|
63
63
|
const addressStyle = css`
|
|
64
|
-
color: ${theme.colour.text.
|
|
64
|
+
color: ${theme.colour.text.brandInverse};
|
|
65
65
|
opacity: 0.6; // todo: use alpha white colour from theme
|
|
66
66
|
font-family: ${theme.typography.body.md.fontFamily};
|
|
67
|
-
line-height: ${
|
|
68
|
-
.lineHeight
|
|
67
|
+
line-height: ${
|
|
68
|
+
theme.typography.body.md.lineHeight
|
|
69
|
+
}%; // todo: change foundations lib to use non-percent number
|
|
69
70
|
`;
|
|
70
71
|
|
|
71
72
|
const telephoneStyle = css`
|
|
@@ -73,11 +74,12 @@ const LogoAddressAndSocial = ({
|
|
|
73
74
|
`;
|
|
74
75
|
|
|
75
76
|
const telephoneLinkStyle = css`
|
|
76
|
-
color: ${theme.colour.text.
|
|
77
|
+
color: ${theme.colour.text.brandInverse};
|
|
77
78
|
opacity: 0.6; // todo: use alpha white colour from theme
|
|
78
79
|
font-family: ${theme.typography.body.md.fontFamily};
|
|
79
|
-
line-height: ${
|
|
80
|
-
.lineHeight
|
|
80
|
+
line-height: ${
|
|
81
|
+
theme.typography.body.md.lineHeight
|
|
82
|
+
}%; // todo: change foundations lib to use non-percent number
|
|
81
83
|
text-decoration: none;
|
|
82
84
|
transition: color 0.2s ease-out;
|
|
83
85
|
|
|
@@ -51,7 +51,7 @@ const SocialLink = ({
|
|
|
51
51
|
width: 36px;
|
|
52
52
|
height: 36px;
|
|
53
53
|
box-sizing: border-box;
|
|
54
|
-
color: ${theme.colour.icon.
|
|
54
|
+
color: ${theme.colour.icon.brandInverse};
|
|
55
55
|
border: 1px solid ${theme.colour.border.brandInverseSecondary};
|
|
56
56
|
transition: color 0.2s ease-out;
|
|
57
57
|
display: inline-flex;
|
|
@@ -60,7 +60,7 @@ const SocialLink = ({
|
|
|
60
60
|
|
|
61
61
|
&:visited,
|
|
62
62
|
&:active {
|
|
63
|
-
color: ${theme.colour.icon.
|
|
63
|
+
color: ${theme.colour.icon.brandInverse};
|
|
64
64
|
}
|
|
65
65
|
|
|
66
66
|
&:focus-visible {
|
|
@@ -69,8 +69,8 @@ const SocialLink = ({
|
|
|
69
69
|
}
|
|
70
70
|
|
|
71
71
|
&:hover {
|
|
72
|
-
color: ${theme.colour.icon.
|
|
73
|
-
background-color: ${theme.colour.fill.
|
|
72
|
+
color: ${theme.colour.icon.brandInverse};
|
|
73
|
+
background-color: ${theme.colour.fill.inverseHover};
|
|
74
74
|
}
|
|
75
75
|
`;
|
|
76
76
|
|