@oaknational/oak-components 3.29.0 → 3.29.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/npm/cjs/index.js +1024 -768
- package/dist/npm/cjs/types.d.ts +1028 -1009
- package/dist/npm/es/components/buttons/OakIconButton/OakIconButton.js +36 -0
- package/dist/npm/es/components/buttons/OakIconButton/variant.config.js +104 -0
- package/dist/npm/es/components/messaging-and-feedback/OakErrorBoundary/OakErrorBoundary.js +1 -0
- package/dist/npm/es/components/presentational/OakVideo/OakVideo.js +1 -0
- package/dist/npm/es/index.js +6 -5
- package/dist/npm/es/types.d.ts +1028 -1009
- package/dist/npm/es/utils/focusStyles.js +31 -0
- package/dist/npm/es/utils/propsLookup.js +47 -0
- package/dist/npm/es/utils/trie.js +74 -0
- package/package.json +1 -1
package/dist/npm/cjs/types.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as React$1 from 'react';
|
|
2
|
-
import React__default, { CSSProperties
|
|
2
|
+
import React__default, { CSSProperties, MouseEventHandler, ElementType, ComponentPropsWithoutRef, FC, ComponentPropsWithRef, ReactNode, HTMLAttributes, DetailedHTMLProps, TextareaHTMLAttributes, InputHTMLAttributes, FocusEvent, ChangeEventHandler, ComponentProps, ReactElement, Component, MutableRefObject, ButtonHTMLAttributes, PropsWithChildren } from 'react';
|
|
3
3
|
import * as styled_components from 'styled-components';
|
|
4
|
-
import {
|
|
4
|
+
import { DefaultTheme, CSSProperties as CSSProperties$1 } from 'styled-components';
|
|
5
5
|
import * as next_image from 'next/image';
|
|
6
6
|
import next_image__default, { ImageProps as ImageProps$1 } from 'next/image';
|
|
7
7
|
import * as styled_components_dist_types from 'styled-components/dist/types';
|
|
@@ -11,227 +11,214 @@ import * as next_dist_shared_lib_get_img_props from 'next/dist/shared/lib/get-im
|
|
|
11
11
|
import { CldImage } from 'next-cloudinary';
|
|
12
12
|
import { PortableTextBlock } from '@portabletext/react';
|
|
13
13
|
|
|
14
|
-
declare const
|
|
15
|
-
|
|
16
|
-
|
|
14
|
+
declare const icons: {
|
|
15
|
+
readonly "question-mark": "v1706872277/icons/question-mark.svg";
|
|
16
|
+
readonly ai: "v1754063273/icons/ai_cqaksa.svg";
|
|
17
|
+
readonly "ai-additional-material": "v1756224441/icons/AI_additional_material_oopjax.svg";
|
|
18
|
+
readonly "ai-quiz": "v1756224440/icons/AI_quiz_eivb2s.svg";
|
|
19
|
+
readonly "ai-slide-deck": "v1756224440/icons/Ai_slidedeck_xuo49n.svg";
|
|
20
|
+
readonly "ai-worksheet": "v1756224441/icons/AI_worksheet_cm4f0q.svg";
|
|
21
|
+
readonly "ai-teaching-resources": "v1779438987/icons/ai-teaching-resources.svg";
|
|
22
|
+
readonly home: "v1699887218/icons/gvqxjxcw07ei2kkmwnes.svg";
|
|
23
|
+
readonly send: "v1699893673/icons/rmvytilpjgvh3pgwc8ph.svg";
|
|
24
|
+
readonly rocket: "v1699894015/icons/u26xm5hteot875ozfnk9.svg";
|
|
25
|
+
readonly edit: "v1699894149/icons/qxlunbg5tfrdherzsvlt.svg";
|
|
26
|
+
readonly expand: "v1730982187/Icon_Expand_arrktl.svg";
|
|
27
|
+
readonly minimise: "v1730982213/Icon_Minimise_btcdbz.svg";
|
|
28
|
+
readonly hamburger: "v1699895123/icons/jaqdnomtbhqvjcap962u.svg";
|
|
29
|
+
readonly cross: "v1699895179/icons/xigimrbivcaxt4omxamp.svg";
|
|
30
|
+
readonly copy: "v1727861316/icons/Icon_Copy_qxgynv.svg";
|
|
31
|
+
readonly bell: "v1699895207/icons/ecejtvqerx81prxyxh9b.svg";
|
|
32
|
+
readonly twitter: "v1699895251/icons/bq6a50xtkvnzhltfggzz.svg";
|
|
33
|
+
readonly x: "v1748452854/icons/x_fpmv5f.svg";
|
|
34
|
+
readonly worksheet: "v1699895300/icons/ez1s6mtpe5jkunnxzvlw.svg";
|
|
35
|
+
readonly facebook: "v1699895330/icons/iojlvh3o5lshy2jupyph.svg";
|
|
36
|
+
readonly share: "v1699895363/icons/agcmduftef3wcla6gzec.svg";
|
|
37
|
+
readonly "arrow-right": "v1707149070/icons/fv0z57zerrioft52dd9n.svg";
|
|
38
|
+
readonly "arrow-down": "v1699954152/icons/wpfmbmwpyfinipg0d61y.svg";
|
|
39
|
+
readonly "arrow-left": "v1707149179/icons/ejrm9dpgpzb7ddbo8z2i.svg";
|
|
40
|
+
readonly "arrow-up": "v1699954152/icons/arrow-up.svg";
|
|
41
|
+
readonly "worksheet-3": "v1699895429/icons/bzhojpjxp9rukdvh7daz.svg";
|
|
42
|
+
readonly "chevron-right": "v1707752509/icons/vk9xxxhnsltsickom6q9.svg";
|
|
43
|
+
readonly save: "v1699895505/icons/rh1ahwwtbemvz0ihluew.svg";
|
|
44
|
+
readonly success: "v1699895534/icons/Icon-Success_aiiprx.svg";
|
|
45
|
+
readonly error: "v1699895534/icons/Icon-Error_r25aza.svg";
|
|
46
|
+
readonly filter: "v1727783280/icons/Icon_Filter_eitb2p.svg";
|
|
47
|
+
readonly "quiz-3": "v1699895534/icons/zoayhgtrotv32fad7d3k.svg";
|
|
48
|
+
readonly "chevron-down": "v1699953557/icons/botfld6brychmttwtv6u.svg";
|
|
49
|
+
readonly linkedin: "v1699953592/icons/leqneklorqqzb1zo6rf1.svg";
|
|
50
|
+
readonly "magic-carpet": "v1699953622/icons/jifivg9xxm7sb0fjdilm.svg";
|
|
51
|
+
readonly books: "v1699953657/icons/hz4l3iq6i68kazvkvorq.svg";
|
|
52
|
+
readonly "supervision-level": "v1699953696/icons/cwqhknapp3maa4g0t3lj.svg";
|
|
53
|
+
readonly "quiz-white": "v1699953730/icons/gpcehpgr9mqoumsa25xe.svg";
|
|
54
|
+
readonly "additional-material": "v1699953798/icons/ntoq4tqvcm2uj1pajubt.svg";
|
|
55
|
+
readonly "slide-deck-3": "v1699953830/icons/sm92moja9d5utu3cj16c.svg";
|
|
56
|
+
readonly "sign-language": "v1699953861/icons/ns94ozvozzi22enxkx0x.svg";
|
|
57
|
+
readonly external: "v1699953892/icons/hlxmejse3mcr4tqo6t8u.svg";
|
|
58
|
+
readonly "equipment-required": "v1699953925/icons/pw22bdhj2vrzfv2ogi4e.svg";
|
|
59
|
+
readonly "chevron-left": "v1707752509/icons/rbvzan0ozubmr4j0uqdn.svg";
|
|
60
|
+
readonly download: "v1699953991/icons/dk0f6a6hdpzxftjosngn.svg";
|
|
61
|
+
readonly search: "v1704901279/icons/canbi3fuz5fanzom2hvi.svg";
|
|
62
|
+
readonly "chevron-up": "v1699954058/icons/pay71thmhhylj7z28sj1.svg";
|
|
63
|
+
readonly go: "v1699954090/icons/vdzptyvmitylra8x4usy.svg";
|
|
64
|
+
readonly copyright: "v1699954118/icons/boiod3rflocgsnfokyo8.svg";
|
|
65
|
+
readonly project: "v1699954186/icons/zofq5pheud6spnwjpewk.svg";
|
|
66
|
+
readonly "slide-deck": "v1699954241/icons/sjjy5f3g4eciwcuxxr33.svg";
|
|
67
|
+
readonly "content-guidance": "v1699954277/icons/tm3uhcqenaznq4fxys7j.svg";
|
|
68
|
+
readonly tick: "v1699954310/icons/efd3esaor6zqk7seh6kt.svg";
|
|
69
|
+
readonly instagram: "v1699954343/icons/ayfeljric0kkimdymvva.svg";
|
|
70
|
+
readonly dot: "v1699954371/icons/knykdclphkm8lgff4u2g.svg";
|
|
71
|
+
readonly warning: "v1704901279/icons/zzszodmk7fvxm9xzzg9s.svg";
|
|
72
|
+
readonly "lightbulb-yellow": "v1705078631/icons/q2v4sqxouy1ngcajoavv.svg";
|
|
73
|
+
readonly lightbulb: "v1705078631/icons/zldisxmbff36z68rwcef.svg";
|
|
74
|
+
readonly pencil: "v1765890807/icons/pencil.svg";
|
|
75
|
+
readonly quiz: "v1705416077/icons/kaaizjcudy0jfgfrrdel.svg";
|
|
76
|
+
readonly video: "v1705416078/icons/wzey1zfxrvv3apeebbf5.svg";
|
|
77
|
+
readonly intro: "v1705662092/icons/pl7bnmb13txese9yxkjv.svg";
|
|
78
|
+
readonly loopdown: "v1699887218/ui-graphics/loopdown.svg";
|
|
79
|
+
readonly "teacher-lesson": "v1714060653/icons/teacher-lesson.svg";
|
|
80
|
+
readonly "teacher-unit": "v1714060657/icons/teacher-unit.svg";
|
|
81
|
+
readonly "move-arrows": "v1709052869/icons/hoddjsgpzkszgvnmn91q.svg";
|
|
82
|
+
readonly info: "v1709052869/icons/Icon_Info_vsx3xi.svg";
|
|
83
|
+
readonly play: "v1732099511/icons/g1xehzuhjnb0xeftmdno.svg";
|
|
84
|
+
readonly "bookmark-outlined": "v1734519491/icons/bookmark-outlined_rxe5v0.svg";
|
|
85
|
+
readonly "bookmark-filled": "v1734519491/icons/bookmark-filled_jz828n.svg";
|
|
86
|
+
readonly "microsoft-teams": "v1736429692/microsoft-teams_gelfmi.svg";
|
|
87
|
+
readonly "google-classroom": "v1736429692/google-classroom_pedfpd.svg";
|
|
88
|
+
readonly clipboard: "v1749031463/icons/clipboard_yll2yj.svg";
|
|
89
|
+
readonly "book-steps": "v1749034739/icons/book-steps_qwku6h.svg";
|
|
90
|
+
readonly "free-tag": "v1749033815/icons/free-tag_lijptf.svg";
|
|
91
|
+
readonly threads: "v1749034800/icons/threads_sqlqoe.svg";
|
|
92
|
+
readonly spreadsheet: "v1754386968/icons/spreadsheet_rsndeb.svg";
|
|
93
|
+
readonly "curriculum-plan": "v1754386969/icons/curriculum-plan_qygyuo.svg";
|
|
94
|
+
readonly data: "v1763393164/icons/data-illustration_ukwdxg.svg";
|
|
95
|
+
readonly chatting: "v1763393163/icons/chatting-illustration_l52zaf.svg";
|
|
96
|
+
readonly "teacher-group": "v1793641849/icons/teacher-group.svg";
|
|
97
|
+
readonly "snack-break": "v1763393167/icons/snackbreak_illustration_fguw7l.svg";
|
|
98
|
+
readonly "class-grouping": "v1776785621/icons/class-grouping.svg";
|
|
99
|
+
readonly strand: "v1776850533/icons/strand.svg";
|
|
100
|
+
readonly plus: "v1781533362/icons/plus.svg";
|
|
101
|
+
readonly hide: "v1785931149/icons/Icon_Hide_r1q6se.svg";
|
|
102
|
+
readonly clock: "v1789035961/icons/clock.svg";
|
|
103
|
+
readonly "lc-explanation": "v1788336387/icons/lc-explanation.svg";
|
|
104
|
+
readonly "lc-check-for-understanding": "v1788336388/icons/lc-check-for-understanding.svg";
|
|
105
|
+
readonly "lc-practice": "v1788336389/icons/lc-practice.svg";
|
|
106
|
+
readonly "lc-feedback": "v1788336388/icons/lc-feedback.svg";
|
|
107
|
+
readonly "subject-art": "v1706616347/subject-icons/art.svg";
|
|
108
|
+
readonly "subject-biology": "v1706616415/subject-icons/biology.svg";
|
|
109
|
+
readonly "subject-chemistry": "v1706616415/subject-icons/chemistry.svg";
|
|
110
|
+
readonly "subject-citizenship": "v1706616415/subject-icons/citizenship.svg";
|
|
111
|
+
readonly "subject-gcse-citizenship": "v1706616415/subject-icons/citizenship.svg";
|
|
112
|
+
readonly "subject-core-citizenship": "v1706616415/subject-icons/citizenship.svg";
|
|
113
|
+
readonly "subject-combined-science": "v1734523570/subject-icons/science.svg";
|
|
114
|
+
readonly "subject-communication-and-language": "v1706616415/subject-icons/communication-and-language.svg";
|
|
115
|
+
readonly "subject-computing": "v1729171080/subject-icons/computing.svg";
|
|
116
|
+
readonly "subject-computer-science": "v1729171080/subject-icons/computing.svg";
|
|
117
|
+
readonly "subject-core-computing": "v1729171080/subject-icons/computing.svg";
|
|
118
|
+
readonly "subject-cooking-nutrition": "v1734523014/subject-icons/cooking-nutrition.svg";
|
|
119
|
+
readonly "subject-computing-non-gcse": "v1729171080/subject-icons/computing.svg";
|
|
120
|
+
readonly "subject-creative-arts": "v1706616415/subject-icons/creative-arts.svg";
|
|
121
|
+
readonly "subject-design-technology": "v1706616417/subject-icons/design-technology.svg";
|
|
122
|
+
readonly "subject-digital-literacy": "v1729171080/subject-icons/computing.svg";
|
|
123
|
+
readonly "subject-drama": "v1706616417/subject-icons/drama.svg";
|
|
124
|
+
readonly "subject-english": "v1706616417/subject-icons/english.svg";
|
|
125
|
+
readonly "subject-english-language": "v1706616419/subject-icons/language.svg";
|
|
126
|
+
readonly "subject-english-grammar": "v1706616417/subject-icons/english-grammar.svg";
|
|
127
|
+
readonly "subject-english-handwriting": "v1706616419/subject-icons/handwriting.svg";
|
|
128
|
+
readonly "subject-english-reading-for-pleasure": "v1706616421/subject-icons/literature.svg";
|
|
129
|
+
readonly "subject-english-spelling": "v1706616417/subject-icons/english-spelling.svg";
|
|
130
|
+
readonly "subject-english-reading-writing-oracy": "v1706616424/subject-icons/reading-writing-oracy.svg";
|
|
131
|
+
readonly "subject-english-vocabulary": "v1706616425/subject-icons/vocabulary.svg";
|
|
132
|
+
readonly "subject-expressive-arts-and-design": "v1706616415/subject-icons/creative-arts.svg";
|
|
133
|
+
readonly "subject-financial-education": "v1729171111/subject-icons/finance.svg";
|
|
134
|
+
readonly "subject-french": "v1729171111/subject-icons/french.svg";
|
|
135
|
+
readonly "subject-geography": "v1734523108/subject-icons/geography.svg";
|
|
136
|
+
readonly "subject-german": "v1734523165/subject-icons/german.svg";
|
|
137
|
+
readonly "subject-history": "v1728568980/subject-icons/history.svg";
|
|
138
|
+
readonly "subject-independent-living": "v1706616419/subject-icons/independent-living.svg";
|
|
139
|
+
readonly "subject-latin": "v1706616420/subject-icons/latin.svg";
|
|
140
|
+
readonly "subject-literacy": "v1706616417/subject-icons/english.svg";
|
|
141
|
+
readonly "subject-maths": "v1706616421/subject-icons/maths.svg";
|
|
142
|
+
readonly "subject-music": "v1728570203/subject-icons/music-hollow.svg";
|
|
143
|
+
readonly "subject-numeracy": "v1706616422/subject-icons/numeracy.svg";
|
|
144
|
+
readonly "occupational-therapy": "v1706616424/subject-icons/therapy.svg";
|
|
145
|
+
readonly "subject-personal-social-and-emotional-development": "v1706616423/subject-icons/rshe-pshe.svg";
|
|
146
|
+
readonly "subject-physical-development": "v1706616422/subject-icons/physical-development.svg";
|
|
147
|
+
readonly "subject-physical-education": "v1728568932/subject-icons/physical-education.svg";
|
|
148
|
+
readonly "subject-core-physical-education": "v1728568932/subject-icons/physical-education.svg";
|
|
149
|
+
readonly "subject-gcse-physical-education": "v1728568932/subject-icons/physical-education.svg";
|
|
150
|
+
readonly "subject-physical-therapy": "v1706632882/subject-icons/physical-therapy.svg";
|
|
151
|
+
readonly "subject-physics": "v1728568898/subject-icons/physics.svg";
|
|
152
|
+
readonly "subject-religious-education": "v1706616425/subject-icons/religious-education.svg";
|
|
153
|
+
readonly "subject-core-religious-education": "v1706616425/subject-icons/religious-education.svg";
|
|
154
|
+
readonly "subject-gcse-religious-education": "v1706616425/subject-icons/religious-education.svg";
|
|
155
|
+
readonly "subject-rshe-pshe": "v1706616423/subject-icons/rshe-pshe.svg";
|
|
156
|
+
readonly "subject-rshe": "v1706616423/subject-icons/rshe-pshe.svg";
|
|
157
|
+
readonly "subject-rule-of-law": "v1706616415/subject-icons/citizenship.svg";
|
|
158
|
+
readonly "subject-philosophy": "v1741794495/subject-icons/philosophy.svg";
|
|
159
|
+
readonly "subject-social-science": "v1741794495/subject-icons/social-science.svg";
|
|
160
|
+
readonly "subject-theology": "v1741794496/subject-icons/theology.svg";
|
|
161
|
+
readonly "subject-science": "v1734523570/subject-icons/science.svg";
|
|
162
|
+
readonly "subject-sensory-integration": "v1706626743/subject-icons/sensory-integration.svg";
|
|
163
|
+
readonly "subject-spanish": "v1729171166/subject-icons/spanish.svg";
|
|
164
|
+
readonly "subject-speech-and-language-therapy": "v1706632882/subject-icons/speech-and-language.svg";
|
|
165
|
+
readonly "subject-specialist": "v1706616415/subject-icons/communication-and-language.svg";
|
|
166
|
+
readonly "subject-therapy": "v1706616424/subject-icons/therapy.svg";
|
|
167
|
+
readonly "subject-therapies": "v1706616424/subject-icons/therapy.svg";
|
|
168
|
+
readonly "subject-occupational-therapy": "v1706616424/subject-icons/therapy.svg";
|
|
169
|
+
readonly "subject-understanding-the-world": "v1706616425/subject-icons/understanding-the-world.svg";
|
|
170
|
+
readonly swimming: "v1728649514/subject-icons/swimming.svg";
|
|
171
|
+
readonly "homepage-robot-waving": "v1734523528/homepage/robot_waving_malpc3.svg";
|
|
172
|
+
readonly "homepage-three-pupils": "v1734523221/homepage/image-students_g0jtxe.svg";
|
|
173
|
+
readonly "homepage-teacher": "v1734523680/homepage/teacher-carrying-stuff_gab2ec.svg";
|
|
174
|
+
readonly "homepage-teacher-map": "v1734523721/homepage/teacher-reading-map_glwhyh.svg";
|
|
175
|
+
readonly "audio-clip-large": "v1731950937/teacher-journey/audio_clip.svg";
|
|
176
|
+
readonly "audio-clip-small": "v1731951210/teacher-journey/audio_clip_small.svg";
|
|
177
|
+
readonly "box-border-bottom": "v1734537219/OWA/ui-graphics/box-border-bottom_oa1riy.svg";
|
|
178
|
+
readonly "box-border-left": "v1734537223/OWA/ui-graphics/box-border-left_eqgplm.svg";
|
|
179
|
+
readonly "box-border-right": "v1734537228/OWA/ui-graphics/box-border-right_unznsm.svg";
|
|
180
|
+
readonly "box-border-top": "v1734537228/OWA/ui-graphics/box-border-right_unznsm.svg";
|
|
181
|
+
readonly "bubble-1": "v1734537172/OWA/ui-graphics/bubble-1_nhgg0w.svg";
|
|
182
|
+
readonly "bubble-2": "v1734537180/OWA/ui-graphics/bubble-2_mfms6f.svg";
|
|
183
|
+
readonly burst: "v1734537152/OWA/ui-graphics/burst_k0mkht.svg";
|
|
184
|
+
readonly confetti: "v1763546694/ui-graphics/confetti-background_xbvfrc.svg";
|
|
185
|
+
readonly "header-underline": "v1734536947/OWA/ui-graphics/header-underline_ejbffz.svg";
|
|
186
|
+
readonly "icon-background-square": "v1734537276/OWA/ui-graphics/icon-background-square_qajipb.svg";
|
|
187
|
+
readonly "looping-arrow-1": "v1734537133/OWA/ui-graphics/looping-arrow-1_zizllb.svg";
|
|
188
|
+
readonly "looping-line-1": "v1734536929/OWA/ui-graphics/looping-line-1_krbrht.svg";
|
|
189
|
+
readonly "looping-line-2": "v1734536933/OWA/ui-graphics/looping-line-2_sdinei.svg";
|
|
190
|
+
readonly "looping-line-3": "v1734537015/OWA/ui-graphics/looping-line-3_b8dque.svg";
|
|
191
|
+
readonly "looping-line-4": "v1734537039/OWA/ui-graphics/looping-line-4_xtjj4r.svg";
|
|
192
|
+
readonly "looping-line-5": "v1740665310/OWA/ui-graphics/looping-line-5_vdknco.svg";
|
|
193
|
+
readonly "speech-bubble": "v1734537300/OWA/ui-graphics/speech-bubble_magqjf.svg";
|
|
194
|
+
readonly "tag-promotional": "v1734537244/OWA/ui-graphics/tag-promotional_v4p3oa.svg";
|
|
195
|
+
readonly "tick-mark-happiness": "v1734537080/OWA/ui-graphics/tick-mark-happiness_fyst07.svg";
|
|
196
|
+
readonly "underline-1": "v1734537060/OWA/ui-graphics/underline-1_zaegqi.svg";
|
|
197
|
+
readonly image: "v1763680546/icons/Icon_Image_uatq6d.svg";
|
|
198
|
+
readonly logo: "v1711468346/logo-mark.svg";
|
|
199
|
+
readonly trash: "v1764692488/icons/icon_delete_edzcua.svg";
|
|
200
|
+
readonly list: "v1774882349/icons/List.svg";
|
|
201
|
+
readonly "media-clips": "v1774884267/icons/media-clips_nw3zpt.svg";
|
|
202
|
+
readonly retake: "v1775141914/icons/retake-icon_xgqxzv.svg";
|
|
203
|
+
readonly globe: "v1776851811/icons/globe.svg";
|
|
204
|
+
readonly "video-2": "v1787662089/icons/video-2.svg";
|
|
205
|
+
readonly audio: "v1787662158/icons/audio.svg";
|
|
206
|
+
readonly "video-3": "v1788369484/icons/video-3.svg";
|
|
207
|
+
readonly "sound-low": "v1794418270/icons/sound-low.svg";
|
|
208
|
+
readonly "move-up-down": "v1794418662/icons/move-up-down.svg";
|
|
17
209
|
};
|
|
18
|
-
type
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
210
|
+
type IconName = keyof typeof icons;
|
|
211
|
+
|
|
212
|
+
type OakIconName = IconName;
|
|
213
|
+
declare const oakIconNames: IconName[];
|
|
22
214
|
/**
|
|
23
|
-
*
|
|
24
|
-
*
|
|
25
|
-
* @example
|
|
26
|
-
* `@media ${getMediaQuery("mobile")} { ... }`
|
|
215
|
+
* returns true if the given string is a valid `OakIconName`
|
|
27
216
|
*/
|
|
28
|
-
declare
|
|
29
|
-
type ResponsiveValues<Value> = (Value | null) | (Value | null)[];
|
|
30
|
-
type Generic = string | number | undefined | null;
|
|
217
|
+
declare function isValidIconName(iconName: string): iconName is OakIconName;
|
|
31
218
|
/**
|
|
32
|
-
*
|
|
33
|
-
* specific CSS property, including media queries if the value is a responsive
|
|
34
|
-
* array.
|
|
219
|
+
* returns a Icon URL from Cloudinary if is a valid icon, otherwise returns undefined
|
|
35
220
|
*/
|
|
36
|
-
declare
|
|
37
|
-
|
|
38
|
-
declare const oakAllSpacingTokens: {
|
|
39
|
-
"spacing-0": number;
|
|
40
|
-
"spacing-2": number;
|
|
41
|
-
"spacing-4": number;
|
|
42
|
-
"spacing-8": number;
|
|
43
|
-
"spacing-12": number;
|
|
44
|
-
"spacing-16": number;
|
|
45
|
-
"spacing-20": number;
|
|
46
|
-
"spacing-24": number;
|
|
47
|
-
"spacing-32": number;
|
|
48
|
-
"spacing-40": number;
|
|
49
|
-
"spacing-48": number;
|
|
50
|
-
"spacing-56": number;
|
|
51
|
-
"spacing-64": number;
|
|
52
|
-
"spacing-72": number;
|
|
53
|
-
"spacing-80": number;
|
|
54
|
-
"spacing-92": number;
|
|
55
|
-
"spacing-100": number;
|
|
56
|
-
"spacing-120": number;
|
|
57
|
-
"spacing-160": number;
|
|
58
|
-
"spacing-180": number;
|
|
59
|
-
"spacing-240": number;
|
|
60
|
-
"spacing-360": number;
|
|
61
|
-
"spacing-480": number;
|
|
62
|
-
"spacing-640": number;
|
|
63
|
-
"spacing-800": number;
|
|
64
|
-
"spacing-960": number;
|
|
65
|
-
"spacing-1280": number;
|
|
66
|
-
"spacing-1360": number;
|
|
67
|
-
};
|
|
68
|
-
type OakAllSpacingToken = keyof typeof oakAllSpacingTokens;
|
|
69
|
-
declare const oakSpaceBetweenTokens: {
|
|
70
|
-
"spacing-0": string;
|
|
71
|
-
"spacing-2": string;
|
|
72
|
-
"spacing-4": string;
|
|
73
|
-
"spacing-8": string;
|
|
74
|
-
"spacing-12": string;
|
|
75
|
-
"spacing-16": string;
|
|
76
|
-
"spacing-20": string;
|
|
77
|
-
"spacing-24": string;
|
|
78
|
-
"spacing-32": string;
|
|
79
|
-
"spacing-40": string;
|
|
80
|
-
"spacing-48": string;
|
|
81
|
-
"spacing-56": string;
|
|
82
|
-
"spacing-64": string;
|
|
83
|
-
"spacing-72": string;
|
|
84
|
-
"spacing-80": string;
|
|
85
|
-
};
|
|
86
|
-
type OakSpaceBetweenToken = keyof typeof oakSpaceBetweenTokens;
|
|
87
|
-
declare const additionalSpacingTokens: {
|
|
88
|
-
"100%": string;
|
|
89
|
-
"-50%": string;
|
|
90
|
-
"50%": string;
|
|
91
|
-
0: string;
|
|
92
|
-
"100vh": string;
|
|
93
|
-
"100vw": string;
|
|
94
|
-
auto: string;
|
|
95
|
-
"fit-content": string;
|
|
96
|
-
"max-content": string;
|
|
97
|
-
"min-content": string;
|
|
98
|
-
inherit: string;
|
|
99
|
-
initial: string;
|
|
100
|
-
unset: string;
|
|
101
|
-
};
|
|
102
|
-
type AdditionalSpacingTypes = keyof typeof additionalSpacingTokens;
|
|
103
|
-
type OakCombinedSpacingToken = OakAllSpacingToken | OakSpaceBetweenToken | AdditionalSpacingTypes;
|
|
104
|
-
|
|
105
|
-
type ScrollMarginValue = OakAllSpacingToken | null | undefined;
|
|
106
|
-
type ScrollMarginValues = ResponsiveValues<ScrollMarginValue>;
|
|
107
|
-
type ScrollSnapStyleProps = {
|
|
108
|
-
/**
|
|
109
|
-
* Applies `scroll-margin-top` to the element
|
|
110
|
-
*
|
|
111
|
-
* Accepts any Oak spacing token or a responsive array of spacing tokens. Can be nulled.
|
|
112
|
-
*/
|
|
113
|
-
$scrollMarginTop?: ScrollMarginValues;
|
|
114
|
-
/**
|
|
115
|
-
* Applies `scroll-margin-left` to the element
|
|
116
|
-
*
|
|
117
|
-
* Accepts any Oak spacing token or a responsive array of spacing tokens. Can be nulled.
|
|
118
|
-
*/
|
|
119
|
-
$scrollMarginLeft?: ScrollMarginValues;
|
|
120
|
-
};
|
|
121
|
-
|
|
122
|
-
declare const oakZIndexTokens: {
|
|
123
|
-
readonly behind: -1;
|
|
124
|
-
readonly neutral: 0;
|
|
125
|
-
readonly "in-front": 1;
|
|
126
|
-
readonly "mobile-filters": 2;
|
|
127
|
-
readonly "fixed-header": 100;
|
|
128
|
-
readonly "modal-close-button": 150;
|
|
129
|
-
readonly "modal-dialog": 300;
|
|
130
|
-
readonly banner: number;
|
|
131
|
-
};
|
|
132
|
-
type OakZIndexToken = keyof typeof oakZIndexTokens | null;
|
|
133
|
-
|
|
134
|
-
type ZIndexStyleProps = {
|
|
135
|
-
/**
|
|
136
|
-
* Sets the `z-index` CSS property of the element.
|
|
137
|
-
*
|
|
138
|
-
* Accepts a z-index token or a responsive array of z-index tokens.
|
|
139
|
-
*/
|
|
140
|
-
$zIndex?: ResponsiveValues<OakZIndexToken | number>;
|
|
141
|
-
};
|
|
142
|
-
|
|
143
|
-
declare const oakTransitionTokens: {
|
|
144
|
-
"standard-ease": string;
|
|
145
|
-
"standard-transform": string;
|
|
146
|
-
};
|
|
147
|
-
type OakTransitionToken = keyof typeof oakTransitionTokens;
|
|
148
|
-
|
|
149
|
-
type Transition = OakTransitionToken;
|
|
150
|
-
type TransitionStyleProps = {
|
|
151
|
-
/**
|
|
152
|
-
* Sets the `transition` CSS property of the element.
|
|
153
|
-
*
|
|
154
|
-
* Accepts a transition token or a responsive array of transition tokens.
|
|
155
|
-
*/
|
|
156
|
-
$transition?: ResponsiveValues<Transition>;
|
|
157
|
-
};
|
|
158
|
-
|
|
159
|
-
type TransformStyleProps = {
|
|
160
|
-
/**
|
|
161
|
-
* Sets the `transform` CSS property of the element.
|
|
162
|
-
*
|
|
163
|
-
* Accepts a `transform` value or a responsive array of `transform` values. Can be nulled.
|
|
164
|
-
*/
|
|
165
|
-
$transform?: ResponsiveValues<CSSProperties["transform"] | null>;
|
|
166
|
-
/**
|
|
167
|
-
* Sets the `transform-origin` CSS property of the element.
|
|
168
|
-
*
|
|
169
|
-
* Accepts a `transform-origin` value or a responsive array of `transform-origin` values. Can be nulled.
|
|
170
|
-
*/
|
|
171
|
-
$transformOrigin?: ResponsiveValues<CSSProperties["transformOrigin"] | null>;
|
|
172
|
-
};
|
|
173
|
-
|
|
174
|
-
declare const oakOpacityTokens: {
|
|
175
|
-
transparent: number;
|
|
176
|
-
"semi-transparent": number;
|
|
177
|
-
"semi-opaque": number;
|
|
178
|
-
opaque: number;
|
|
179
|
-
};
|
|
180
|
-
type OakOpacityToken = keyof typeof oakOpacityTokens;
|
|
181
|
-
|
|
182
|
-
type OpacityStyleProps = {
|
|
183
|
-
/**
|
|
184
|
-
* Sets the `opacity` CSS property of the element.
|
|
185
|
-
*
|
|
186
|
-
* Accepts an opacity token or a responsive array of opacity tokens.
|
|
187
|
-
*/
|
|
188
|
-
$opacity?: ResponsiveValues<OakOpacityToken>;
|
|
189
|
-
};
|
|
190
|
-
|
|
191
|
-
declare const oakDropShadowTokens: {
|
|
192
|
-
"drop-shadow-standard": string;
|
|
193
|
-
"drop-shadow-lemon": string;
|
|
194
|
-
"drop-shadow-wide-lemon": string;
|
|
195
|
-
"drop-shadow-centered-lemon": string;
|
|
196
|
-
"drop-shadow-grey": string;
|
|
197
|
-
"drop-shadow-centered-grey": string;
|
|
198
|
-
"drop-shadow-black": string;
|
|
199
|
-
"drop-shadow-centred-standard": string;
|
|
200
|
-
"drop-shadow-none": string;
|
|
201
|
-
};
|
|
202
|
-
type OakDropShadowToken = keyof typeof oakDropShadowTokens;
|
|
203
|
-
|
|
204
|
-
type DropShadowStyleProps = {
|
|
205
|
-
/**
|
|
206
|
-
* Applies a drop-shadow to the element.
|
|
207
|
-
*
|
|
208
|
-
* Accepts a drop-shadow token or a responsive array of drop-shadow tokens.
|
|
209
|
-
*/
|
|
210
|
-
$dropShadow?: ResponsiveValues<OakDropShadowToken>;
|
|
211
|
-
};
|
|
212
|
-
|
|
213
|
-
declare const oakBorderWidthTokens: {
|
|
214
|
-
"border-solid-none": number;
|
|
215
|
-
"border-solid-s": number;
|
|
216
|
-
"border-solid-m": number;
|
|
217
|
-
"border-solid-l": number;
|
|
218
|
-
"border-solid-xl": number;
|
|
219
|
-
"border-solid-xxl": number;
|
|
220
|
-
"border-solid-xxxl": number;
|
|
221
|
-
"border-solid-xxxxl": number;
|
|
222
|
-
};
|
|
223
|
-
declare const oakBorderRadiusTokens: {
|
|
224
|
-
"border-radius-square": number;
|
|
225
|
-
"border-radius-xs": number;
|
|
226
|
-
"border-radius-s": number;
|
|
227
|
-
"border-radius-m": number;
|
|
228
|
-
"border-radius-m2": number;
|
|
229
|
-
"border-radius-l": number;
|
|
230
|
-
"border-radius-xl": number;
|
|
231
|
-
"border-radius-circle": number;
|
|
232
|
-
};
|
|
233
|
-
type OakBorderRadiusToken = keyof typeof oakBorderRadiusTokens;
|
|
234
|
-
type OakBorderWidthToken = keyof typeof oakBorderWidthTokens;
|
|
221
|
+
declare function generateOakIconURL(iconName: string): string;
|
|
235
222
|
|
|
236
223
|
declare const oakColorTokens: {
|
|
237
224
|
white: string;
|
|
@@ -348,372 +335,129 @@ type OakUiRoleToken = (typeof oakUiRoleTokensConst)[number];
|
|
|
348
335
|
declare const oakUiRoleTokens: ("transparent" | "text-primary" | "text-subdued" | "text-error" | "text-disabled" | "text-link-active" | "text-link-hover" | "text-link-visited" | "text-link-pressed" | "text-inverted" | "text-success" | "text-promo" | "bg-primary" | "bg-inverted" | "bg-inverted-semi-transparent" | "bg-neutral" | "bg-neutral-stronger" | "bg-btn-primary" | "bg-btn-primary-hover" | "bg-btn-primary-disabled" | "bg-btn-secondary" | "bg-btn-secondary-hover" | "bg-btn-secondary-disabled" | "bg-decorative1-main" | "bg-decorative1-subdued" | "bg-decorative1-very-subdued" | "bg-decorative2-main" | "bg-decorative2-subdued" | "bg-decorative2-very-subdued" | "bg-decorative3-main" | "bg-decorative3-subdued" | "bg-decorative3-very-subdued" | "bg-decorative4-main" | "bg-decorative4-subdued" | "bg-decorative4-very-subdued" | "bg-decorative5-main" | "bg-decorative5-subdued" | "bg-decorative5-very-subdued" | "bg-decorative6-main" | "bg-decorative6-subdued" | "bg-decorative6-very-subdued" | "bg-interactive-element1" | "bg-interactive-element2" | "bg-correct" | "bg-incorrect" | "bg-success" | "bg-error" | "icon-inverted" | "icon-disabled" | "icon-brand" | "icon-success" | "icon-error" | "icon-warning" | "icon-primary" | "icon-subdued" | "icon-link-active" | "icon-link-hover" | "icon-link-pressed" | "icon-link-visited" | "icon-decorative1" | "icon-decorative2" | "icon-decorative3" | "icon-decorative4" | "icon-decorative5" | "icon-decorative6" | "icon-promo" | "border-primary" | "border-inverted" | "border-neutral" | "border-neutral-lighter" | "border-neutral-stronger" | "border-brand" | "border-success" | "border-error" | "border-warning" | "border-decorative1" | "border-decorative1-stronger" | "border-decorative2" | "border-decorative2-stronger" | "border-decorative3" | "border-decorative3-stronger" | "border-decorative4" | "border-decorative4-stronger" | "border-decorative5" | "border-decorative5-stronger" | "border-decorative6" | "border-decorative6-stronger" | "border-text-link-pressed" | "code-blue" | "code-green" | "code-grey" | "code-pink")[];
|
|
349
336
|
type UiRoleMap = Record<OakUiRoleToken, OakColorToken | null | undefined>;
|
|
350
337
|
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
|
|
378
|
-
|
|
379
|
-
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
|
|
383
|
-
|
|
384
|
-
|
|
385
|
-
|
|
386
|
-
|
|
387
|
-
|
|
388
|
-
|
|
389
|
-
|
|
390
|
-
|
|
391
|
-
|
|
392
|
-
|
|
393
|
-
|
|
394
|
-
|
|
395
|
-
|
|
396
|
-
|
|
397
|
-
|
|
398
|
-
|
|
399
|
-
|
|
400
|
-
|
|
401
|
-
|
|
402
|
-
|
|
403
|
-
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
|
|
409
|
-
|
|
410
|
-
|
|
411
|
-
|
|
412
|
-
|
|
413
|
-
|
|
414
|
-
* Accepts an `OakBorderRadiusToken` or a responsive array of `OakBorderRadiusToken`s.
|
|
415
|
-
*/
|
|
416
|
-
$btlr?: BorderRadiusProps;
|
|
417
|
-
/**
|
|
418
|
-
* Apply border radius to the top right
|
|
419
|
-
*
|
|
420
|
-
* Accepts a border-radius token or a responsive array of border-radius tokens.
|
|
421
|
-
*/
|
|
422
|
-
$btrr?: BorderRadiusProps;
|
|
423
|
-
/**
|
|
424
|
-
* Apply border radius to the bottom left
|
|
425
|
-
*
|
|
426
|
-
* Accepts a border-radius token or a responsive array of border-radius tokens.
|
|
427
|
-
*/
|
|
428
|
-
$bblr?: BorderRadiusProps;
|
|
429
|
-
/**
|
|
430
|
-
* Apply border radius to the bottom right
|
|
431
|
-
*
|
|
432
|
-
* Accepts a border-radius token or a responsive array of border-radius tokens.
|
|
433
|
-
*/
|
|
434
|
-
$bbrr?: BorderRadiusProps;
|
|
435
|
-
/**
|
|
436
|
-
* Apply border radius to the top right and top left
|
|
437
|
-
*
|
|
438
|
-
* Accepts a border-radius token or a responsive array of border-radius tokens.
|
|
439
|
-
*/
|
|
440
|
-
$btr?: BorderRadiusProps;
|
|
441
|
-
/**
|
|
442
|
-
* Apply border radius to the bottom right and bottom left
|
|
443
|
-
*
|
|
444
|
-
* Accepts a border-radius token or a responsive array of border-radius tokens
|
|
445
|
-
*/
|
|
446
|
-
$bbr?: BorderRadiusProps;
|
|
338
|
+
declare const oakAllSpacingTokens: {
|
|
339
|
+
"spacing-0": number;
|
|
340
|
+
"spacing-2": number;
|
|
341
|
+
"spacing-4": number;
|
|
342
|
+
"spacing-8": number;
|
|
343
|
+
"spacing-12": number;
|
|
344
|
+
"spacing-16": number;
|
|
345
|
+
"spacing-20": number;
|
|
346
|
+
"spacing-24": number;
|
|
347
|
+
"spacing-32": number;
|
|
348
|
+
"spacing-40": number;
|
|
349
|
+
"spacing-48": number;
|
|
350
|
+
"spacing-56": number;
|
|
351
|
+
"spacing-64": number;
|
|
352
|
+
"spacing-72": number;
|
|
353
|
+
"spacing-80": number;
|
|
354
|
+
"spacing-92": number;
|
|
355
|
+
"spacing-100": number;
|
|
356
|
+
"spacing-120": number;
|
|
357
|
+
"spacing-160": number;
|
|
358
|
+
"spacing-180": number;
|
|
359
|
+
"spacing-240": number;
|
|
360
|
+
"spacing-360": number;
|
|
361
|
+
"spacing-480": number;
|
|
362
|
+
"spacing-640": number;
|
|
363
|
+
"spacing-800": number;
|
|
364
|
+
"spacing-960": number;
|
|
365
|
+
"spacing-1280": number;
|
|
366
|
+
"spacing-1360": number;
|
|
367
|
+
};
|
|
368
|
+
type OakAllSpacingToken = keyof typeof oakAllSpacingTokens;
|
|
369
|
+
declare const oakSpaceBetweenTokens: {
|
|
370
|
+
"spacing-0": string;
|
|
371
|
+
"spacing-2": string;
|
|
372
|
+
"spacing-4": string;
|
|
373
|
+
"spacing-8": string;
|
|
374
|
+
"spacing-12": string;
|
|
375
|
+
"spacing-16": string;
|
|
376
|
+
"spacing-20": string;
|
|
377
|
+
"spacing-24": string;
|
|
378
|
+
"spacing-32": string;
|
|
379
|
+
"spacing-40": string;
|
|
380
|
+
"spacing-48": string;
|
|
381
|
+
"spacing-56": string;
|
|
382
|
+
"spacing-64": string;
|
|
383
|
+
"spacing-72": string;
|
|
384
|
+
"spacing-80": string;
|
|
385
|
+
};
|
|
386
|
+
type OakSpaceBetweenToken = keyof typeof oakSpaceBetweenTokens;
|
|
387
|
+
declare const additionalSpacingTokens: {
|
|
388
|
+
"100%": string;
|
|
389
|
+
"-50%": string;
|
|
390
|
+
"50%": string;
|
|
391
|
+
0: string;
|
|
392
|
+
"100vh": string;
|
|
393
|
+
"100vw": string;
|
|
394
|
+
auto: string;
|
|
395
|
+
"fit-content": string;
|
|
396
|
+
"max-content": string;
|
|
397
|
+
"min-content": string;
|
|
398
|
+
inherit: string;
|
|
399
|
+
initial: string;
|
|
400
|
+
unset: string;
|
|
447
401
|
};
|
|
402
|
+
type AdditionalSpacingTypes = keyof typeof additionalSpacingTokens;
|
|
403
|
+
type OakCombinedSpacingToken = OakAllSpacingToken | OakSpaceBetweenToken | AdditionalSpacingTypes;
|
|
448
404
|
|
|
449
|
-
|
|
450
|
-
|
|
451
|
-
|
|
452
|
-
|
|
453
|
-
|
|
454
|
-
|
|
455
|
-
|
|
456
|
-
|
|
457
|
-
|
|
458
|
-
|
|
459
|
-
$color?: ColorToken;
|
|
460
|
-
/**
|
|
461
|
-
* Sets the `background-color` of the element.
|
|
462
|
-
*
|
|
463
|
-
* Accepts a UI role token or a responsive array of UI role tokens.
|
|
464
|
-
*/
|
|
465
|
-
$background?: ColorToken;
|
|
405
|
+
declare const oakDropShadowTokens: {
|
|
406
|
+
"drop-shadow-standard": string;
|
|
407
|
+
"drop-shadow-lemon": string;
|
|
408
|
+
"drop-shadow-wide-lemon": string;
|
|
409
|
+
"drop-shadow-centered-lemon": string;
|
|
410
|
+
"drop-shadow-grey": string;
|
|
411
|
+
"drop-shadow-centered-grey": string;
|
|
412
|
+
"drop-shadow-black": string;
|
|
413
|
+
"drop-shadow-centred-standard": string;
|
|
414
|
+
"drop-shadow-none": string;
|
|
466
415
|
};
|
|
416
|
+
type OakDropShadowToken = keyof typeof oakDropShadowTokens;
|
|
467
417
|
|
|
468
|
-
|
|
469
|
-
|
|
470
|
-
|
|
471
|
-
|
|
472
|
-
|
|
473
|
-
* Accepts an inner padding token or a responsive array of inner padding tokens. Can be nulled.
|
|
474
|
-
*/
|
|
475
|
-
$pa?: PaddingValues;
|
|
476
|
-
/**
|
|
477
|
-
* Applies `padding` to the left and right of the element
|
|
478
|
-
*
|
|
479
|
-
* Accepts an inner padding token or a responsive array of inner padding tokens. Can be nulled.
|
|
480
|
-
*/
|
|
481
|
-
$ph?: PaddingValues;
|
|
482
|
-
/**
|
|
483
|
-
* Applies `padding` to the top and bottom of the element
|
|
484
|
-
*
|
|
485
|
-
* Accepts an inner padding token or a responsive array of inner padding tokens. Can be nulled.
|
|
486
|
-
*/
|
|
487
|
-
$pv?: PaddingValues;
|
|
488
|
-
/**
|
|
489
|
-
* Applies `padding` to the left of the element
|
|
490
|
-
*
|
|
491
|
-
* Accepts an inner padding token or a responsive array of inner padding tokens. Can be nulled.
|
|
492
|
-
*/
|
|
493
|
-
$pl?: PaddingValues;
|
|
494
|
-
/**
|
|
495
|
-
* Applies `padding` to the right of the element
|
|
496
|
-
*
|
|
497
|
-
* Accepts an inner padding token or a responsive array of inner padding tokens. Can be nulled.
|
|
498
|
-
*/
|
|
499
|
-
$pr?: PaddingValues;
|
|
500
|
-
/**
|
|
501
|
-
* Applies `padding` to the top of the element
|
|
502
|
-
*
|
|
503
|
-
* Accepts an inner padding token or a responsive array of inner padding tokens. Can be nulled.
|
|
504
|
-
*/
|
|
505
|
-
$pt?: PaddingValues;
|
|
506
|
-
/**
|
|
507
|
-
* Applies `padding` to the bottom of the element
|
|
508
|
-
*
|
|
509
|
-
* Accepts an inner padding token or a responsive array of inner padding tokens. Can be nulled.
|
|
510
|
-
*/
|
|
511
|
-
$pb?: PaddingValues;
|
|
418
|
+
declare const oakOpacityTokens: {
|
|
419
|
+
transparent: number;
|
|
420
|
+
"semi-transparent": number;
|
|
421
|
+
"semi-opaque": number;
|
|
422
|
+
opaque: number;
|
|
512
423
|
};
|
|
513
|
-
type
|
|
514
|
-
|
|
515
|
-
|
|
516
|
-
|
|
517
|
-
|
|
518
|
-
*
|
|
519
|
-
* Accepts a space between token or a responsive array of space between tokens. Can be nulled.
|
|
520
|
-
*/
|
|
521
|
-
$ma?: MarginValues;
|
|
522
|
-
/**
|
|
523
|
-
* Applies `margin` to the left and right of the element
|
|
524
|
-
*
|
|
525
|
-
* Accepts a space between token or a responsive array of space between tokens. Can be nulled.
|
|
526
|
-
*/
|
|
527
|
-
$mh?: MarginValues;
|
|
528
|
-
/**
|
|
529
|
-
* Applies `margin` to the top and bottom of the element
|
|
530
|
-
*
|
|
531
|
-
* Accepts a space between token or a responsive array of space between tokens. Can be nulled.
|
|
532
|
-
*/
|
|
533
|
-
$mv?: MarginValues;
|
|
534
|
-
/**
|
|
535
|
-
* Applies `margin` to the left of the element
|
|
536
|
-
*
|
|
537
|
-
* Accepts a space between token or a responsive array of space between tokens. Can be nulled.
|
|
538
|
-
*/
|
|
539
|
-
$ml?: MarginValues;
|
|
540
|
-
/**
|
|
541
|
-
* Applies `margin` to the right of the element
|
|
542
|
-
*
|
|
543
|
-
* Accepts a space between token or a responsive array of space between tokens. Can be nulled.
|
|
544
|
-
*/
|
|
545
|
-
$mr?: MarginValues;
|
|
546
|
-
/**
|
|
547
|
-
* Applies `margin` to the top of the element
|
|
548
|
-
*
|
|
549
|
-
* Accepts a space between token or a responsive array of space between tokens. Can be nulled.
|
|
550
|
-
*/
|
|
551
|
-
$mt?: MarginValues;
|
|
552
|
-
/**
|
|
553
|
-
* Applies `margin` to the bottom of the element
|
|
554
|
-
*
|
|
555
|
-
* Accepts a space between token or a responsive array of space between tokens. Can be nulled.
|
|
556
|
-
*/
|
|
557
|
-
$mb?: MarginValues;
|
|
424
|
+
type OakOpacityToken = keyof typeof oakOpacityTokens;
|
|
425
|
+
|
|
426
|
+
declare const oakTransitionTokens: {
|
|
427
|
+
"standard-ease": string;
|
|
428
|
+
"standard-transform": string;
|
|
558
429
|
};
|
|
559
|
-
type
|
|
430
|
+
type OakTransitionToken = keyof typeof oakTransitionTokens;
|
|
560
431
|
|
|
561
|
-
|
|
562
|
-
|
|
563
|
-
|
|
564
|
-
|
|
565
|
-
|
|
566
|
-
|
|
567
|
-
|
|
568
|
-
|
|
569
|
-
|
|
570
|
-
* Sets the `top` CSS property of the element.
|
|
571
|
-
*
|
|
572
|
-
* - Accepts a spacing token or a responsive array of spacing tokens. E.g. `['spacing-4', 'spacing-8']`
|
|
573
|
-
* - `50%` or `-50%` may be used to center an absolutely positioned element within its parent.
|
|
574
|
-
* - Can be `null` at a breakpoint E.g. `[null, 'spacing-8']`.
|
|
575
|
-
*/
|
|
576
|
-
$top?: ResponsiveValues<PositionSpacing>;
|
|
577
|
-
/**
|
|
578
|
-
* Sets the `right` CSS property of the element.
|
|
579
|
-
*
|
|
580
|
-
* - Accepts a spacing token or a responsive array of spacing tokens. E.g. `['spacing-4', 'spacing-8']`
|
|
581
|
-
* - `50%` or `-50%` may be used to center an absolutely positioned element within its parent.
|
|
582
|
-
* - Can be `null` at a breakpoint E.g. `[null, 'spacing-8']`.
|
|
583
|
-
*/
|
|
584
|
-
$right?: ResponsiveValues<PositionSpacing>;
|
|
585
|
-
/**
|
|
586
|
-
* Sets the `bottom` CSS property of the element.
|
|
587
|
-
*
|
|
588
|
-
* - Accepts a spacing token or a responsive array of spacing tokens. E.g. `['spacing-4', 'spacing-8']`
|
|
589
|
-
* - `50%` or `-50%` may be used to center an absolutely positioned element within its parent.
|
|
590
|
-
* - Can be `null` at a breakpoint E.g. `[null, 'spacing-8']`.
|
|
591
|
-
*/
|
|
592
|
-
$bottom?: ResponsiveValues<PositionSpacing>;
|
|
593
|
-
/**
|
|
594
|
-
* Sets the `left` CSS property of the element.
|
|
595
|
-
*
|
|
596
|
-
* - Accepts a spacing token or a responsive array of spacing tokens. E.g. `['spacing-4', 'spacing-8']`
|
|
597
|
-
* - `50%` or `-50%` may be used to center an absolutely positioned element within its parent.
|
|
598
|
-
* - Can be `null` at a breakpoint E.g. `[null, 'spacing-8']`.
|
|
599
|
-
*/
|
|
600
|
-
$left?: ResponsiveValues<PositionSpacing>;
|
|
601
|
-
/**
|
|
602
|
-
* Sets the `inset` CSS property of the element.
|
|
603
|
-
*
|
|
604
|
-
* - Accepts a spacing token or a responsive array of spacing tokens. E.g. `['spacing-4', 'spacing-8']`
|
|
605
|
-
* - Can be `null` at a breakpoint E.g. `[null, 'spacing-8']`.
|
|
606
|
-
*/
|
|
607
|
-
$inset?: ResponsiveValues<PositionSpacing>;
|
|
608
|
-
/**
|
|
609
|
-
* Sets the `overflow` CSS property of the element.
|
|
610
|
-
*
|
|
611
|
-
* Accepts an `overflow` value or a responsive array of `overflow` values.
|
|
612
|
-
*/
|
|
613
|
-
$overflow?: ResponsiveValues<CSSProperties$1["overflow"]>;
|
|
614
|
-
/**
|
|
615
|
-
* Sets the `overflow-x` CSS property of the element.
|
|
616
|
-
*
|
|
617
|
-
* Accepts an `overflow-x` value or a responsive array of `overflow-x` values.
|
|
618
|
-
*/
|
|
619
|
-
$overflowX?: ResponsiveValues<CSSProperties$1["overflowX"]>;
|
|
620
|
-
/**
|
|
621
|
-
* Sets the `overflow-y` CSS property of the element.
|
|
622
|
-
*
|
|
623
|
-
* Accepts an `overflow-y` value or a responsive array of `overflow-y` values.
|
|
624
|
-
*/
|
|
625
|
-
$overflowY?: ResponsiveValues<CSSProperties$1["overflowY"]>;
|
|
626
|
-
/**
|
|
627
|
-
* Sets the `object-fit` CSS property of the element.
|
|
628
|
-
*
|
|
629
|
-
* Accepts an `object-fit` value or a responsive array of `object-fit` values.
|
|
630
|
-
*/
|
|
631
|
-
$objectFit?: ResponsiveValues<CSSProperties$1["objectFit"]>;
|
|
632
|
-
/**
|
|
633
|
-
* Sets the `object-position` CSS property of the element.
|
|
634
|
-
*
|
|
635
|
-
* Accepts an `object-position` value or a responsive array of `object-position` values.
|
|
636
|
-
*/
|
|
637
|
-
$objectPosition?: ResponsiveValues<CSSProperties$1["objectPosition"]>;
|
|
638
|
-
/**
|
|
639
|
-
* Sets the `pointer-events` CSS property of the element.
|
|
640
|
-
*
|
|
641
|
-
* Accepts a `pointer-events` value or a responsive array of `pointer-events` values.
|
|
642
|
-
*/
|
|
643
|
-
$pointerEvents?: ResponsiveValues<CSSProperties$1["pointerEvents"]>;
|
|
644
|
-
/**
|
|
645
|
-
* Sets the `visibility` CSS property of the element.
|
|
646
|
-
*
|
|
647
|
-
* Accepts a `visibility` value or a responsive array of `visibility` values.
|
|
648
|
-
*/
|
|
649
|
-
$visibility?: ResponsiveValues<CSSProperties$1["visibility"]>;
|
|
650
|
-
/**
|
|
651
|
-
* Sets the `vertical-align` CSS property of the element.
|
|
652
|
-
*
|
|
653
|
-
* Accepts a `vertical-align` value or a responsive array of `vertical-align` values.
|
|
654
|
-
*/
|
|
655
|
-
$verticalAlign?: ResponsiveValues<CSSProperties$1["verticalAlign"]>;
|
|
432
|
+
declare const oakBorderWidthTokens: {
|
|
433
|
+
"border-solid-none": number;
|
|
434
|
+
"border-solid-s": number;
|
|
435
|
+
"border-solid-m": number;
|
|
436
|
+
"border-solid-l": number;
|
|
437
|
+
"border-solid-xl": number;
|
|
438
|
+
"border-solid-xxl": number;
|
|
439
|
+
"border-solid-xxxl": number;
|
|
440
|
+
"border-solid-xxxxl": number;
|
|
656
441
|
};
|
|
657
|
-
|
|
658
|
-
|
|
659
|
-
|
|
660
|
-
|
|
661
|
-
|
|
662
|
-
|
|
663
|
-
|
|
664
|
-
|
|
665
|
-
|
|
666
|
-
/**
|
|
667
|
-
* Sets the `min-width` CSS property of the element.
|
|
668
|
-
*
|
|
669
|
-
* Accepts a spacing token or a responsive array of spacing tokens. Can be nulled.
|
|
670
|
-
*/
|
|
671
|
-
$minWidth?: SizeValues;
|
|
672
|
-
/**
|
|
673
|
-
* Sets the `max-width` CSS property of the element.
|
|
674
|
-
*
|
|
675
|
-
* Accepts a spacing token or a responsive array of spacing tokens. Can be nulled.
|
|
676
|
-
*/
|
|
677
|
-
$maxWidth?: SizeValues;
|
|
678
|
-
/**
|
|
679
|
-
* Sets the `height` CSS property of the element.
|
|
680
|
-
*
|
|
681
|
-
* Accepts a spacing token or a responsive array of spacing tokens. Can be nulled.
|
|
682
|
-
*/
|
|
683
|
-
$height?: SizeValues;
|
|
684
|
-
/**
|
|
685
|
-
* Sets the `min-height` CSS property of the element.
|
|
686
|
-
*
|
|
687
|
-
* Accepts a spacing token or a responsive array of spacing tokens. Can be nulled.
|
|
688
|
-
*/
|
|
689
|
-
$minHeight?: SizeValues;
|
|
690
|
-
/**
|
|
691
|
-
* Sets the `max-height` CSS property of the element.
|
|
692
|
-
*
|
|
693
|
-
* Accepts a spacing token or a responsive array of spacing tokens. Can be nulled.
|
|
694
|
-
*/
|
|
695
|
-
$maxHeight?: SizeValues;
|
|
696
|
-
/**
|
|
697
|
-
* Sets the `aspect-ratio` CSS property of the element.
|
|
698
|
-
*
|
|
699
|
-
* Accepts an `aspect-ratio` value or a responsive array of `aspect-ratio` values.
|
|
700
|
-
*/
|
|
701
|
-
$aspectRatio?: ResponsiveValues<CSSProperties["aspectRatio"]>;
|
|
702
|
-
/**
|
|
703
|
-
* Sets the `box-sizing` CSS property of the element.
|
|
704
|
-
*
|
|
705
|
-
* Accepts a `box-sizing` value or a responsive array of `box-sizing` values.
|
|
706
|
-
*/
|
|
707
|
-
$boxSizing?: ResponsiveValues<CSSProperties["boxSizing"]>;
|
|
442
|
+
declare const oakBorderRadiusTokens: {
|
|
443
|
+
"border-radius-square": number;
|
|
444
|
+
"border-radius-xs": number;
|
|
445
|
+
"border-radius-s": number;
|
|
446
|
+
"border-radius-m": number;
|
|
447
|
+
"border-radius-m2": number;
|
|
448
|
+
"border-radius-l": number;
|
|
449
|
+
"border-radius-xl": number;
|
|
450
|
+
"border-radius-circle": number;
|
|
708
451
|
};
|
|
452
|
+
type OakBorderRadiusToken = keyof typeof oakBorderRadiusTokens;
|
|
453
|
+
type OakBorderWidthToken = keyof typeof oakBorderWidthTokens;
|
|
709
454
|
|
|
710
|
-
type
|
|
711
|
-
|
|
712
|
-
|
|
713
|
-
|
|
714
|
-
|
|
715
|
-
|
|
716
|
-
$display?: ResponsiveValues<CSSProperties$1["display"]>;
|
|
455
|
+
type OakTheme = {
|
|
456
|
+
name: string;
|
|
457
|
+
uiColors: UiRoleMap;
|
|
458
|
+
};
|
|
459
|
+
type PropsWithTheme<Props = unknown> = Props & {
|
|
460
|
+
theme: DefaultTheme;
|
|
717
461
|
};
|
|
718
462
|
|
|
719
463
|
declare const oakFontSizeTokens: {
|
|
@@ -770,379 +514,619 @@ type OakWhiteSpace = (typeof oakWhiteSpacesConst)[number];
|
|
|
770
514
|
type OakWordWrap = (typeof oakWordWrapsConst)[number];
|
|
771
515
|
type OakTextOverflow = (typeof oakTextOverflowsConst)[number];
|
|
772
516
|
|
|
773
|
-
|
|
774
|
-
|
|
775
|
-
|
|
776
|
-
|
|
777
|
-
|
|
778
|
-
|
|
779
|
-
|
|
780
|
-
|
|
781
|
-
|
|
782
|
-
*
|
|
783
|
-
* Accepts a text-decoration token or a responsive array of text-decoration tokens.
|
|
784
|
-
*/
|
|
785
|
-
$textDecoration?: ResponsiveValues<OakTextDecoration>;
|
|
786
|
-
/**
|
|
787
|
-
* Sets the `text-align` CSS property of the element.
|
|
788
|
-
*
|
|
789
|
-
* Accepts a `text-align` value or a responsive array of `text-align` values.
|
|
790
|
-
*/
|
|
791
|
-
$textAlign?: ResponsiveValues<CSSProperties["textAlign"]>;
|
|
792
|
-
/**
|
|
793
|
-
* Sets the `white-space` CSS property of the element.
|
|
794
|
-
*
|
|
795
|
-
* Accepts a white-space token or a responsive array of white-space tokens.
|
|
796
|
-
*/
|
|
797
|
-
$whiteSpace?: ResponsiveValues<OakWhiteSpace>;
|
|
798
|
-
/**
|
|
799
|
-
* Sets the `word-wrap` CSS property of the element.
|
|
800
|
-
*
|
|
801
|
-
* Accepts a word-wrap token or a responsive array of word-wrap tokens.
|
|
802
|
-
*/
|
|
803
|
-
$wordWrap?: ResponsiveValues<OakWordWrap>;
|
|
804
|
-
/**
|
|
805
|
-
* Sets the `text-overflow` CSS property of the element.
|
|
806
|
-
*
|
|
807
|
-
* Accepts a text-overflow token or a responsive array of text-overflow tokens.
|
|
808
|
-
*/
|
|
809
|
-
$textOverflow?: ResponsiveValues<OakTextOverflow>;
|
|
810
|
-
/**
|
|
811
|
-
* Sets the `overflow` CSS property of the element.
|
|
812
|
-
*
|
|
813
|
-
* Accepts an overflow token or a responsive array of overflow tokens.
|
|
814
|
-
*/
|
|
815
|
-
$overflow?: ResponsiveValues<CSSProperties["overflow"]>;
|
|
816
|
-
/**
|
|
817
|
-
* Sets the `text-wrap` CSS property of the element.
|
|
818
|
-
*
|
|
819
|
-
* Accepts a text-wrap token or a responsive array of text-wrap tokens.
|
|
820
|
-
*
|
|
821
|
-
* Controls how text inside an element is wrapped. The different values provide:
|
|
822
|
-
* - Typographic improvements, for example more balanced line lengths across broken headings
|
|
823
|
-
* - A way to turn text wrapping off completely
|
|
824
|
-
*/
|
|
825
|
-
$textWrap?: ResponsiveValues<CSSProperties["textWrap"]>;
|
|
517
|
+
declare const oakZIndexTokens: {
|
|
518
|
+
readonly behind: -1;
|
|
519
|
+
readonly neutral: 0;
|
|
520
|
+
readonly "in-front": 1;
|
|
521
|
+
readonly "mobile-filters": 2;
|
|
522
|
+
readonly "fixed-header": 100;
|
|
523
|
+
readonly "modal-close-button": 150;
|
|
524
|
+
readonly "modal-dialog": 300;
|
|
525
|
+
readonly banner: number;
|
|
826
526
|
};
|
|
527
|
+
type OakZIndexToken = keyof typeof oakZIndexTokens | null;
|
|
827
528
|
|
|
828
|
-
|
|
829
|
-
onClick?: MouseEventHandler;
|
|
830
|
-
};
|
|
831
|
-
type OakBoxProps = {
|
|
832
|
-
children?: React.ReactNode;
|
|
833
|
-
} & PositionStyleProps & SizeStyleProps & SpacingStyleProps & ColorStyleProps & BorderStyleProps & DisplayStyleProps & DropShadowStyleProps & OpacityStyleProps & TransformStyleProps & TransitionStyleProps & TypographyStyleProps & ZIndexStyleProps & HTMLProps$1 & ScrollSnapStyleProps;
|
|
834
|
-
declare const oakBoxCss: styled_components.RuleSet<NoInfer<OakBoxProps>>;
|
|
835
|
-
/**
|
|
836
|
-
* OakBox exposes all the styles that are available styles on a div tag. These include:
|
|
837
|
-
* - color
|
|
838
|
-
* - size
|
|
839
|
-
* - display
|
|
840
|
-
* - spacing
|
|
841
|
-
* - position
|
|
842
|
-
* - border
|
|
843
|
-
* - opacity
|
|
844
|
-
* - z-index
|
|
845
|
-
* - typography
|
|
846
|
-
* - transition
|
|
847
|
-
* - transform
|
|
848
|
-
* - drop-shadow
|
|
849
|
-
* - scroll-margin-top/left
|
|
850
|
-
*
|
|
851
|
-
*/
|
|
852
|
-
declare const OakBox: styled_components_dist_types.IStyledComponentBase<"web", styled_components_dist_types.Merged<Omit<React$1.DetailedHTMLProps<React$1.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "style"> & {
|
|
853
|
-
style?: React$1.CSSProperties | styled_components_dist_types.CSSPropertiesWithVars | undefined;
|
|
854
|
-
}, OakBoxProps>> & string;
|
|
529
|
+
declare const oakDefaultTheme: OakTheme;
|
|
855
530
|
|
|
856
|
-
|
|
857
|
-
element?: C;
|
|
858
|
-
};
|
|
859
|
-
type PolymorphicPropsWithoutRef<C extends ElementType> = ElementProp<C> & ComponentPropsWithoutRef<C>;
|
|
860
|
-
type PolymorphicRef<C extends React.ElementType> = ComponentPropsWithRef<C>["ref"];
|
|
861
|
-
type PolymorphicPropsWithRef<C extends ElementType> = ElementProp<C> & ComponentPropsWithoutRef<C> & {
|
|
862
|
-
ref?: PolymorphicRef<C>;
|
|
863
|
-
};
|
|
531
|
+
declare const oakDarkTheme: OakTheme;
|
|
864
532
|
|
|
865
|
-
|
|
866
|
-
isLoading?: boolean;
|
|
867
|
-
};
|
|
868
|
-
type InternalButtonProps = StyledButtonProps & {
|
|
869
|
-
onHovered?: (event: React__default.MouseEvent<HTMLButtonElement, MouseEvent>, duration: number) => void;
|
|
870
|
-
};
|
|
533
|
+
declare const parseBorder: (value?: OakBorderWidthToken | null) => string | undefined;
|
|
871
534
|
|
|
872
|
-
declare const
|
|
873
|
-
|
|
874
|
-
|
|
875
|
-
|
|
876
|
-
|
|
877
|
-
|
|
878
|
-
|
|
879
|
-
|
|
880
|
-
|
|
881
|
-
|
|
882
|
-
|
|
883
|
-
|
|
884
|
-
|
|
885
|
-
readonly minimise: "v1730982213/Icon_Minimise_btcdbz.svg";
|
|
886
|
-
readonly hamburger: "v1699895123/icons/jaqdnomtbhqvjcap962u.svg";
|
|
887
|
-
readonly cross: "v1699895179/icons/xigimrbivcaxt4omxamp.svg";
|
|
888
|
-
readonly copy: "v1727861316/icons/Icon_Copy_qxgynv.svg";
|
|
889
|
-
readonly bell: "v1699895207/icons/ecejtvqerx81prxyxh9b.svg";
|
|
890
|
-
readonly twitter: "v1699895251/icons/bq6a50xtkvnzhltfggzz.svg";
|
|
891
|
-
readonly x: "v1748452854/icons/x_fpmv5f.svg";
|
|
892
|
-
readonly worksheet: "v1699895300/icons/ez1s6mtpe5jkunnxzvlw.svg";
|
|
893
|
-
readonly facebook: "v1699895330/icons/iojlvh3o5lshy2jupyph.svg";
|
|
894
|
-
readonly share: "v1699895363/icons/agcmduftef3wcla6gzec.svg";
|
|
895
|
-
readonly "arrow-right": "v1707149070/icons/fv0z57zerrioft52dd9n.svg";
|
|
896
|
-
readonly "arrow-down": "v1699954152/icons/wpfmbmwpyfinipg0d61y.svg";
|
|
897
|
-
readonly "arrow-left": "v1707149179/icons/ejrm9dpgpzb7ddbo8z2i.svg";
|
|
898
|
-
readonly "arrow-up": "v1699954152/icons/arrow-up.svg";
|
|
899
|
-
readonly "worksheet-3": "v1699895429/icons/bzhojpjxp9rukdvh7daz.svg";
|
|
900
|
-
readonly "chevron-right": "v1707752509/icons/vk9xxxhnsltsickom6q9.svg";
|
|
901
|
-
readonly save: "v1699895505/icons/rh1ahwwtbemvz0ihluew.svg";
|
|
902
|
-
readonly success: "v1699895534/icons/Icon-Success_aiiprx.svg";
|
|
903
|
-
readonly error: "v1699895534/icons/Icon-Error_r25aza.svg";
|
|
904
|
-
readonly filter: "v1727783280/icons/Icon_Filter_eitb2p.svg";
|
|
905
|
-
readonly "quiz-3": "v1699895534/icons/zoayhgtrotv32fad7d3k.svg";
|
|
906
|
-
readonly "chevron-down": "v1699953557/icons/botfld6brychmttwtv6u.svg";
|
|
907
|
-
readonly linkedin: "v1699953592/icons/leqneklorqqzb1zo6rf1.svg";
|
|
908
|
-
readonly "magic-carpet": "v1699953622/icons/jifivg9xxm7sb0fjdilm.svg";
|
|
909
|
-
readonly books: "v1699953657/icons/hz4l3iq6i68kazvkvorq.svg";
|
|
910
|
-
readonly "supervision-level": "v1699953696/icons/cwqhknapp3maa4g0t3lj.svg";
|
|
911
|
-
readonly "quiz-white": "v1699953730/icons/gpcehpgr9mqoumsa25xe.svg";
|
|
912
|
-
readonly "additional-material": "v1699953798/icons/ntoq4tqvcm2uj1pajubt.svg";
|
|
913
|
-
readonly "slide-deck-3": "v1699953830/icons/sm92moja9d5utu3cj16c.svg";
|
|
914
|
-
readonly "sign-language": "v1699953861/icons/ns94ozvozzi22enxkx0x.svg";
|
|
915
|
-
readonly external: "v1699953892/icons/hlxmejse3mcr4tqo6t8u.svg";
|
|
916
|
-
readonly "equipment-required": "v1699953925/icons/pw22bdhj2vrzfv2ogi4e.svg";
|
|
917
|
-
readonly "chevron-left": "v1707752509/icons/rbvzan0ozubmr4j0uqdn.svg";
|
|
918
|
-
readonly download: "v1699953991/icons/dk0f6a6hdpzxftjosngn.svg";
|
|
919
|
-
readonly search: "v1704901279/icons/canbi3fuz5fanzom2hvi.svg";
|
|
920
|
-
readonly "chevron-up": "v1699954058/icons/pay71thmhhylj7z28sj1.svg";
|
|
921
|
-
readonly go: "v1699954090/icons/vdzptyvmitylra8x4usy.svg";
|
|
922
|
-
readonly copyright: "v1699954118/icons/boiod3rflocgsnfokyo8.svg";
|
|
923
|
-
readonly project: "v1699954186/icons/zofq5pheud6spnwjpewk.svg";
|
|
924
|
-
readonly "slide-deck": "v1699954241/icons/sjjy5f3g4eciwcuxxr33.svg";
|
|
925
|
-
readonly "content-guidance": "v1699954277/icons/tm3uhcqenaznq4fxys7j.svg";
|
|
926
|
-
readonly tick: "v1699954310/icons/efd3esaor6zqk7seh6kt.svg";
|
|
927
|
-
readonly instagram: "v1699954343/icons/ayfeljric0kkimdymvva.svg";
|
|
928
|
-
readonly dot: "v1699954371/icons/knykdclphkm8lgff4u2g.svg";
|
|
929
|
-
readonly warning: "v1704901279/icons/zzszodmk7fvxm9xzzg9s.svg";
|
|
930
|
-
readonly "lightbulb-yellow": "v1705078631/icons/q2v4sqxouy1ngcajoavv.svg";
|
|
931
|
-
readonly lightbulb: "v1705078631/icons/zldisxmbff36z68rwcef.svg";
|
|
932
|
-
readonly pencil: "v1765890807/icons/pencil.svg";
|
|
933
|
-
readonly quiz: "v1705416077/icons/kaaizjcudy0jfgfrrdel.svg";
|
|
934
|
-
readonly video: "v1705416078/icons/wzey1zfxrvv3apeebbf5.svg";
|
|
935
|
-
readonly intro: "v1705662092/icons/pl7bnmb13txese9yxkjv.svg";
|
|
936
|
-
readonly loopdown: "v1699887218/ui-graphics/loopdown.svg";
|
|
937
|
-
readonly "teacher-lesson": "v1714060653/icons/teacher-lesson.svg";
|
|
938
|
-
readonly "teacher-unit": "v1714060657/icons/teacher-unit.svg";
|
|
939
|
-
readonly "move-arrows": "v1709052869/icons/hoddjsgpzkszgvnmn91q.svg";
|
|
940
|
-
readonly info: "v1709052869/icons/Icon_Info_vsx3xi.svg";
|
|
941
|
-
readonly play: "v1732099511/icons/g1xehzuhjnb0xeftmdno.svg";
|
|
942
|
-
readonly "bookmark-outlined": "v1734519491/icons/bookmark-outlined_rxe5v0.svg";
|
|
943
|
-
readonly "bookmark-filled": "v1734519491/icons/bookmark-filled_jz828n.svg";
|
|
944
|
-
readonly "microsoft-teams": "v1736429692/microsoft-teams_gelfmi.svg";
|
|
945
|
-
readonly "google-classroom": "v1736429692/google-classroom_pedfpd.svg";
|
|
946
|
-
readonly clipboard: "v1749031463/icons/clipboard_yll2yj.svg";
|
|
947
|
-
readonly "book-steps": "v1749034739/icons/book-steps_qwku6h.svg";
|
|
948
|
-
readonly "free-tag": "v1749033815/icons/free-tag_lijptf.svg";
|
|
949
|
-
readonly threads: "v1749034800/icons/threads_sqlqoe.svg";
|
|
950
|
-
readonly spreadsheet: "v1754386968/icons/spreadsheet_rsndeb.svg";
|
|
951
|
-
readonly "curriculum-plan": "v1754386969/icons/curriculum-plan_qygyuo.svg";
|
|
952
|
-
readonly data: "v1763393164/icons/data-illustration_ukwdxg.svg";
|
|
953
|
-
readonly chatting: "v1763393163/icons/chatting-illustration_l52zaf.svg";
|
|
954
|
-
readonly "teacher-group": "v1793641849/icons/teacher-group.svg";
|
|
955
|
-
readonly "snack-break": "v1763393167/icons/snackbreak_illustration_fguw7l.svg";
|
|
956
|
-
readonly "class-grouping": "v1776785621/icons/class-grouping.svg";
|
|
957
|
-
readonly strand: "v1776850533/icons/strand.svg";
|
|
958
|
-
readonly plus: "v1781533362/icons/plus.svg";
|
|
959
|
-
readonly hide: "v1785931149/icons/Icon_Hide_r1q6se.svg";
|
|
960
|
-
readonly clock: "v1789035961/icons/clock.svg";
|
|
961
|
-
readonly "lc-explanation": "v1788336387/icons/lc-explanation.svg";
|
|
962
|
-
readonly "lc-check-for-understanding": "v1788336388/icons/lc-check-for-understanding.svg";
|
|
963
|
-
readonly "lc-practice": "v1788336389/icons/lc-practice.svg";
|
|
964
|
-
readonly "lc-feedback": "v1788336388/icons/lc-feedback.svg";
|
|
965
|
-
readonly "subject-art": "v1706616347/subject-icons/art.svg";
|
|
966
|
-
readonly "subject-biology": "v1706616415/subject-icons/biology.svg";
|
|
967
|
-
readonly "subject-chemistry": "v1706616415/subject-icons/chemistry.svg";
|
|
968
|
-
readonly "subject-citizenship": "v1706616415/subject-icons/citizenship.svg";
|
|
969
|
-
readonly "subject-gcse-citizenship": "v1706616415/subject-icons/citizenship.svg";
|
|
970
|
-
readonly "subject-core-citizenship": "v1706616415/subject-icons/citizenship.svg";
|
|
971
|
-
readonly "subject-combined-science": "v1734523570/subject-icons/science.svg";
|
|
972
|
-
readonly "subject-communication-and-language": "v1706616415/subject-icons/communication-and-language.svg";
|
|
973
|
-
readonly "subject-computing": "v1729171080/subject-icons/computing.svg";
|
|
974
|
-
readonly "subject-computer-science": "v1729171080/subject-icons/computing.svg";
|
|
975
|
-
readonly "subject-core-computing": "v1729171080/subject-icons/computing.svg";
|
|
976
|
-
readonly "subject-cooking-nutrition": "v1734523014/subject-icons/cooking-nutrition.svg";
|
|
977
|
-
readonly "subject-computing-non-gcse": "v1729171080/subject-icons/computing.svg";
|
|
978
|
-
readonly "subject-creative-arts": "v1706616415/subject-icons/creative-arts.svg";
|
|
979
|
-
readonly "subject-design-technology": "v1706616417/subject-icons/design-technology.svg";
|
|
980
|
-
readonly "subject-digital-literacy": "v1729171080/subject-icons/computing.svg";
|
|
981
|
-
readonly "subject-drama": "v1706616417/subject-icons/drama.svg";
|
|
982
|
-
readonly "subject-english": "v1706616417/subject-icons/english.svg";
|
|
983
|
-
readonly "subject-english-language": "v1706616419/subject-icons/language.svg";
|
|
984
|
-
readonly "subject-english-grammar": "v1706616417/subject-icons/english-grammar.svg";
|
|
985
|
-
readonly "subject-english-handwriting": "v1706616419/subject-icons/handwriting.svg";
|
|
986
|
-
readonly "subject-english-reading-for-pleasure": "v1706616421/subject-icons/literature.svg";
|
|
987
|
-
readonly "subject-english-spelling": "v1706616417/subject-icons/english-spelling.svg";
|
|
988
|
-
readonly "subject-english-reading-writing-oracy": "v1706616424/subject-icons/reading-writing-oracy.svg";
|
|
989
|
-
readonly "subject-english-vocabulary": "v1706616425/subject-icons/vocabulary.svg";
|
|
990
|
-
readonly "subject-expressive-arts-and-design": "v1706616415/subject-icons/creative-arts.svg";
|
|
991
|
-
readonly "subject-financial-education": "v1729171111/subject-icons/finance.svg";
|
|
992
|
-
readonly "subject-french": "v1729171111/subject-icons/french.svg";
|
|
993
|
-
readonly "subject-geography": "v1734523108/subject-icons/geography.svg";
|
|
994
|
-
readonly "subject-german": "v1734523165/subject-icons/german.svg";
|
|
995
|
-
readonly "subject-history": "v1728568980/subject-icons/history.svg";
|
|
996
|
-
readonly "subject-independent-living": "v1706616419/subject-icons/independent-living.svg";
|
|
997
|
-
readonly "subject-latin": "v1706616420/subject-icons/latin.svg";
|
|
998
|
-
readonly "subject-literacy": "v1706616417/subject-icons/english.svg";
|
|
999
|
-
readonly "subject-maths": "v1706616421/subject-icons/maths.svg";
|
|
1000
|
-
readonly "subject-music": "v1728570203/subject-icons/music-hollow.svg";
|
|
1001
|
-
readonly "subject-numeracy": "v1706616422/subject-icons/numeracy.svg";
|
|
1002
|
-
readonly "occupational-therapy": "v1706616424/subject-icons/therapy.svg";
|
|
1003
|
-
readonly "subject-personal-social-and-emotional-development": "v1706616423/subject-icons/rshe-pshe.svg";
|
|
1004
|
-
readonly "subject-physical-development": "v1706616422/subject-icons/physical-development.svg";
|
|
1005
|
-
readonly "subject-physical-education": "v1728568932/subject-icons/physical-education.svg";
|
|
1006
|
-
readonly "subject-core-physical-education": "v1728568932/subject-icons/physical-education.svg";
|
|
1007
|
-
readonly "subject-gcse-physical-education": "v1728568932/subject-icons/physical-education.svg";
|
|
1008
|
-
readonly "subject-physical-therapy": "v1706632882/subject-icons/physical-therapy.svg";
|
|
1009
|
-
readonly "subject-physics": "v1728568898/subject-icons/physics.svg";
|
|
1010
|
-
readonly "subject-religious-education": "v1706616425/subject-icons/religious-education.svg";
|
|
1011
|
-
readonly "subject-core-religious-education": "v1706616425/subject-icons/religious-education.svg";
|
|
1012
|
-
readonly "subject-gcse-religious-education": "v1706616425/subject-icons/religious-education.svg";
|
|
1013
|
-
readonly "subject-rshe-pshe": "v1706616423/subject-icons/rshe-pshe.svg";
|
|
1014
|
-
readonly "subject-rshe": "v1706616423/subject-icons/rshe-pshe.svg";
|
|
1015
|
-
readonly "subject-rule-of-law": "v1706616415/subject-icons/citizenship.svg";
|
|
1016
|
-
readonly "subject-philosophy": "v1741794495/subject-icons/philosophy.svg";
|
|
1017
|
-
readonly "subject-social-science": "v1741794495/subject-icons/social-science.svg";
|
|
1018
|
-
readonly "subject-theology": "v1741794496/subject-icons/theology.svg";
|
|
1019
|
-
readonly "subject-science": "v1734523570/subject-icons/science.svg";
|
|
1020
|
-
readonly "subject-sensory-integration": "v1706626743/subject-icons/sensory-integration.svg";
|
|
1021
|
-
readonly "subject-spanish": "v1729171166/subject-icons/spanish.svg";
|
|
1022
|
-
readonly "subject-speech-and-language-therapy": "v1706632882/subject-icons/speech-and-language.svg";
|
|
1023
|
-
readonly "subject-specialist": "v1706616415/subject-icons/communication-and-language.svg";
|
|
1024
|
-
readonly "subject-therapy": "v1706616424/subject-icons/therapy.svg";
|
|
1025
|
-
readonly "subject-therapies": "v1706616424/subject-icons/therapy.svg";
|
|
1026
|
-
readonly "subject-occupational-therapy": "v1706616424/subject-icons/therapy.svg";
|
|
1027
|
-
readonly "subject-understanding-the-world": "v1706616425/subject-icons/understanding-the-world.svg";
|
|
1028
|
-
readonly swimming: "v1728649514/subject-icons/swimming.svg";
|
|
1029
|
-
readonly "homepage-robot-waving": "v1734523528/homepage/robot_waving_malpc3.svg";
|
|
1030
|
-
readonly "homepage-three-pupils": "v1734523221/homepage/image-students_g0jtxe.svg";
|
|
1031
|
-
readonly "homepage-teacher": "v1734523680/homepage/teacher-carrying-stuff_gab2ec.svg";
|
|
1032
|
-
readonly "homepage-teacher-map": "v1734523721/homepage/teacher-reading-map_glwhyh.svg";
|
|
1033
|
-
readonly "audio-clip-large": "v1731950937/teacher-journey/audio_clip.svg";
|
|
1034
|
-
readonly "audio-clip-small": "v1731951210/teacher-journey/audio_clip_small.svg";
|
|
1035
|
-
readonly "box-border-bottom": "v1734537219/OWA/ui-graphics/box-border-bottom_oa1riy.svg";
|
|
1036
|
-
readonly "box-border-left": "v1734537223/OWA/ui-graphics/box-border-left_eqgplm.svg";
|
|
1037
|
-
readonly "box-border-right": "v1734537228/OWA/ui-graphics/box-border-right_unznsm.svg";
|
|
1038
|
-
readonly "box-border-top": "v1734537228/OWA/ui-graphics/box-border-right_unznsm.svg";
|
|
1039
|
-
readonly "bubble-1": "v1734537172/OWA/ui-graphics/bubble-1_nhgg0w.svg";
|
|
1040
|
-
readonly "bubble-2": "v1734537180/OWA/ui-graphics/bubble-2_mfms6f.svg";
|
|
1041
|
-
readonly burst: "v1734537152/OWA/ui-graphics/burst_k0mkht.svg";
|
|
1042
|
-
readonly confetti: "v1763546694/ui-graphics/confetti-background_xbvfrc.svg";
|
|
1043
|
-
readonly "header-underline": "v1734536947/OWA/ui-graphics/header-underline_ejbffz.svg";
|
|
1044
|
-
readonly "icon-background-square": "v1734537276/OWA/ui-graphics/icon-background-square_qajipb.svg";
|
|
1045
|
-
readonly "looping-arrow-1": "v1734537133/OWA/ui-graphics/looping-arrow-1_zizllb.svg";
|
|
1046
|
-
readonly "looping-line-1": "v1734536929/OWA/ui-graphics/looping-line-1_krbrht.svg";
|
|
1047
|
-
readonly "looping-line-2": "v1734536933/OWA/ui-graphics/looping-line-2_sdinei.svg";
|
|
1048
|
-
readonly "looping-line-3": "v1734537015/OWA/ui-graphics/looping-line-3_b8dque.svg";
|
|
1049
|
-
readonly "looping-line-4": "v1734537039/OWA/ui-graphics/looping-line-4_xtjj4r.svg";
|
|
1050
|
-
readonly "looping-line-5": "v1740665310/OWA/ui-graphics/looping-line-5_vdknco.svg";
|
|
1051
|
-
readonly "speech-bubble": "v1734537300/OWA/ui-graphics/speech-bubble_magqjf.svg";
|
|
1052
|
-
readonly "tag-promotional": "v1734537244/OWA/ui-graphics/tag-promotional_v4p3oa.svg";
|
|
1053
|
-
readonly "tick-mark-happiness": "v1734537080/OWA/ui-graphics/tick-mark-happiness_fyst07.svg";
|
|
1054
|
-
readonly "underline-1": "v1734537060/OWA/ui-graphics/underline-1_zaegqi.svg";
|
|
1055
|
-
readonly image: "v1763680546/icons/Icon_Image_uatq6d.svg";
|
|
1056
|
-
readonly logo: "v1711468346/logo-mark.svg";
|
|
1057
|
-
readonly trash: "v1764692488/icons/icon_delete_edzcua.svg";
|
|
1058
|
-
readonly list: "v1774882349/icons/List.svg";
|
|
1059
|
-
readonly "media-clips": "v1774884267/icons/media-clips_nw3zpt.svg";
|
|
1060
|
-
readonly retake: "v1775141914/icons/retake-icon_xgqxzv.svg";
|
|
1061
|
-
readonly globe: "v1776851811/icons/globe.svg";
|
|
1062
|
-
readonly "video-2": "v1787662089/icons/video-2.svg";
|
|
1063
|
-
readonly audio: "v1787662158/icons/audio.svg";
|
|
1064
|
-
readonly "video-3": "v1788369484/icons/video-3.svg";
|
|
1065
|
-
readonly "sound-low": "v1794418270/icons/sound-low.svg";
|
|
1066
|
-
readonly "move-up-down": "v1794418662/icons/move-up-down.svg";
|
|
1067
|
-
};
|
|
1068
|
-
type IconName = keyof typeof icons;
|
|
535
|
+
declare const parseBorderRadius: (value?: OakBorderRadiusToken | null) => string | undefined;
|
|
536
|
+
|
|
537
|
+
declare function parseBorderWidth(value: OakBorderWidthToken | null | undefined): string | undefined;
|
|
538
|
+
|
|
539
|
+
/**
|
|
540
|
+
* - takes OakColorToken, OakUiRoleToken, null or undefined
|
|
541
|
+
* - if OakColorToken is passed, returns corresponding css value
|
|
542
|
+
* - if OakUiRoleToken is passed, returns a function that takes the current theme and returns the corresponding css value
|
|
543
|
+
* - if null or undefined is passed, returns undefined
|
|
544
|
+
*/
|
|
545
|
+
declare function parseColor(): undefined;
|
|
546
|
+
declare function parseColor(value?: OakColorToken | OakUiRoleToken | null): (props: PropsWithTheme) => string;
|
|
547
|
+
declare function parseColor(value?: OakUiRoleToken | null): ((props: PropsWithTheme) => string) | undefined;
|
|
1069
548
|
|
|
1070
|
-
type OakIconName = IconName;
|
|
1071
|
-
declare const oakIconNames: IconName[];
|
|
1072
549
|
/**
|
|
1073
|
-
*
|
|
550
|
+
* - takes any of OakUiRoleToken or null/undefined
|
|
551
|
+
* - returns a function that takes the current theme and returns the corresponding css filter style for that token
|
|
552
|
+
* - returns undefined if no filter is found for the token
|
|
1074
553
|
*/
|
|
1075
|
-
declare function
|
|
554
|
+
declare function parseColorFilter(value?: OakUiRoleToken | null): (props: PropsWithTheme) => string;
|
|
555
|
+
declare function parseColorFilter(value?: OakUiRoleToken | null): ((props: PropsWithTheme) => string) | undefined;
|
|
556
|
+
|
|
557
|
+
declare const parseDropShadow: (variant?: OakDropShadowToken | null) => string | undefined;
|
|
558
|
+
|
|
559
|
+
declare const parseOpacity: (variant?: OakOpacityToken | null) => number | undefined;
|
|
560
|
+
|
|
1076
561
|
/**
|
|
1077
|
-
*
|
|
562
|
+
* - takes any of OakInnerPadding, OakSpaceBetween, OakAllSpacing, and other accepted values,
|
|
563
|
+
* - derives and returns the corresponding css value
|
|
564
|
+
* - converting to rem where necessary
|
|
1078
565
|
*/
|
|
1079
|
-
declare function
|
|
566
|
+
declare function parseSpacing(value?: OakCombinedSpacingToken | null): string | 0 | undefined;
|
|
1080
567
|
|
|
1081
|
-
|
|
1082
|
-
|
|
1083
|
-
|
|
568
|
+
declare const parseTransitions: (variant?: OakTransitionToken | null) => string | undefined;
|
|
569
|
+
|
|
570
|
+
declare const parseFontWeight: (font?: OakFontToken | null) => 300 | 400 | 500 | 600 | 700 | undefined;
|
|
571
|
+
declare const parseFontSize: (font?: OakFontToken | null) => string | null | undefined;
|
|
572
|
+
declare const parseLineHeight: (font?: OakFontToken | null) => string | null | undefined;
|
|
573
|
+
declare const parseLetterSpacing: (font?: OakFontToken | null) => "0.0115rem" | "-0.005rem" | undefined;
|
|
574
|
+
|
|
575
|
+
declare const parseZIndex: (value?: OakZIndexToken | number) => number | undefined;
|
|
576
|
+
|
|
577
|
+
declare const breakpointsByName: {
|
|
578
|
+
small: number;
|
|
579
|
+
large: number;
|
|
580
|
+
};
|
|
581
|
+
type BreakpointName = keyof typeof breakpointsByName;
|
|
582
|
+
/** Get the pixel width for a breakpoint by its name. */
|
|
583
|
+
declare const getBreakpoint: (breakpointName: keyof typeof breakpointsByName) => number;
|
|
584
|
+
type Device = "mobile" | "tablet" | "desktop";
|
|
585
|
+
/**
|
|
586
|
+
* Get a CSS snippet of a media query condition which matches a specific device.
|
|
587
|
+
*
|
|
588
|
+
* @example
|
|
589
|
+
* `@media ${getMediaQuery("mobile")} { ... }`
|
|
590
|
+
*/
|
|
591
|
+
declare const getMediaQuery: (device: Device) => string;
|
|
592
|
+
type ResponsiveValues<Value> = (Value | null) | (Value | null)[];
|
|
593
|
+
type Generic = string | number | undefined | null;
|
|
594
|
+
/**
|
|
595
|
+
* Helper for a styled component's styles. Generates CSS to apply a value to a
|
|
596
|
+
* specific CSS property, including media queries if the value is a responsive
|
|
597
|
+
* array.
|
|
598
|
+
*/
|
|
599
|
+
declare const responsiveStyle: <Props, T extends Generic>(attr: string, getValues: (props: Props) => ResponsiveValues<T | undefined | null>, parse?: ((unparsed: T | undefined | null) => Generic) | ((unparsed: T | undefined | null) => (props: Props) => Generic)) => (props: Props) => styled_components.RuleSet<object> | undefined;
|
|
600
|
+
|
|
601
|
+
type ColorFilterToken = ResponsiveValues<OakUiRoleToken | null>;
|
|
602
|
+
type ColorFilterStyleProps = {
|
|
603
|
+
/**
|
|
604
|
+
* Applies a color-filter to the element.
|
|
605
|
+
*
|
|
606
|
+
* Accepts a color filter token or a responsive array of color tokens.
|
|
607
|
+
*/
|
|
608
|
+
$colorFilter?: ColorFilterToken;
|
|
609
|
+
};
|
|
610
|
+
|
|
611
|
+
/**
|
|
612
|
+
* Color token!
|
|
613
|
+
*/
|
|
614
|
+
type ColorToken = ResponsiveValues<OakUiRoleToken | null>;
|
|
615
|
+
type ColorStyleProps = {
|
|
616
|
+
/**
|
|
617
|
+
* Sets the `color` of the element.
|
|
618
|
+
*
|
|
619
|
+
* Accepts a UI role token or a responsive array of UI role tokens.
|
|
620
|
+
*/
|
|
621
|
+
$color?: ColorToken;
|
|
622
|
+
/**
|
|
623
|
+
* Sets the `background-color` of the element.
|
|
624
|
+
*
|
|
625
|
+
* Accepts a UI role token or a responsive array of UI role tokens.
|
|
626
|
+
*/
|
|
627
|
+
$background?: ColorToken;
|
|
628
|
+
};
|
|
629
|
+
|
|
630
|
+
type PositionSpacing = OakAllSpacingToken | OakSpaceBetweenToken | "-50%" | "50%" | null | undefined;
|
|
631
|
+
type PositionStyleProps = {
|
|
632
|
+
/**
|
|
633
|
+
* Sets the `position` CSS property of the element.
|
|
634
|
+
*
|
|
635
|
+
* Accepts a `position` value or a responsive array of `position` values. Can be nulled.
|
|
636
|
+
*/
|
|
637
|
+
$position?: ResponsiveValues<CSSProperties["position"]>;
|
|
638
|
+
/**
|
|
639
|
+
* Sets the `top` CSS property of the element.
|
|
640
|
+
*
|
|
641
|
+
* - Accepts a spacing token or a responsive array of spacing tokens. E.g. `['spacing-4', 'spacing-8']`
|
|
642
|
+
* - `50%` or `-50%` may be used to center an absolutely positioned element within its parent.
|
|
643
|
+
* - Can be `null` at a breakpoint E.g. `[null, 'spacing-8']`.
|
|
644
|
+
*/
|
|
645
|
+
$top?: ResponsiveValues<PositionSpacing>;
|
|
646
|
+
/**
|
|
647
|
+
* Sets the `right` CSS property of the element.
|
|
648
|
+
*
|
|
649
|
+
* - Accepts a spacing token or a responsive array of spacing tokens. E.g. `['spacing-4', 'spacing-8']`
|
|
650
|
+
* - `50%` or `-50%` may be used to center an absolutely positioned element within its parent.
|
|
651
|
+
* - Can be `null` at a breakpoint E.g. `[null, 'spacing-8']`.
|
|
652
|
+
*/
|
|
653
|
+
$right?: ResponsiveValues<PositionSpacing>;
|
|
654
|
+
/**
|
|
655
|
+
* Sets the `bottom` CSS property of the element.
|
|
656
|
+
*
|
|
657
|
+
* - Accepts a spacing token or a responsive array of spacing tokens. E.g. `['spacing-4', 'spacing-8']`
|
|
658
|
+
* - `50%` or `-50%` may be used to center an absolutely positioned element within its parent.
|
|
659
|
+
* - Can be `null` at a breakpoint E.g. `[null, 'spacing-8']`.
|
|
660
|
+
*/
|
|
661
|
+
$bottom?: ResponsiveValues<PositionSpacing>;
|
|
662
|
+
/**
|
|
663
|
+
* Sets the `left` CSS property of the element.
|
|
664
|
+
*
|
|
665
|
+
* - Accepts a spacing token or a responsive array of spacing tokens. E.g. `['spacing-4', 'spacing-8']`
|
|
666
|
+
* - `50%` or `-50%` may be used to center an absolutely positioned element within its parent.
|
|
667
|
+
* - Can be `null` at a breakpoint E.g. `[null, 'spacing-8']`.
|
|
668
|
+
*/
|
|
669
|
+
$left?: ResponsiveValues<PositionSpacing>;
|
|
670
|
+
/**
|
|
671
|
+
* Sets the `inset` CSS property of the element.
|
|
672
|
+
*
|
|
673
|
+
* - Accepts a spacing token or a responsive array of spacing tokens. E.g. `['spacing-4', 'spacing-8']`
|
|
674
|
+
* - Can be `null` at a breakpoint E.g. `[null, 'spacing-8']`.
|
|
675
|
+
*/
|
|
676
|
+
$inset?: ResponsiveValues<PositionSpacing>;
|
|
677
|
+
/**
|
|
678
|
+
* Sets the `overflow` CSS property of the element.
|
|
679
|
+
*
|
|
680
|
+
* Accepts an `overflow` value or a responsive array of `overflow` values.
|
|
681
|
+
*/
|
|
682
|
+
$overflow?: ResponsiveValues<CSSProperties["overflow"]>;
|
|
683
|
+
/**
|
|
684
|
+
* Sets the `overflow-x` CSS property of the element.
|
|
685
|
+
*
|
|
686
|
+
* Accepts an `overflow-x` value or a responsive array of `overflow-x` values.
|
|
687
|
+
*/
|
|
688
|
+
$overflowX?: ResponsiveValues<CSSProperties["overflowX"]>;
|
|
689
|
+
/**
|
|
690
|
+
* Sets the `overflow-y` CSS property of the element.
|
|
691
|
+
*
|
|
692
|
+
* Accepts an `overflow-y` value or a responsive array of `overflow-y` values.
|
|
693
|
+
*/
|
|
694
|
+
$overflowY?: ResponsiveValues<CSSProperties["overflowY"]>;
|
|
695
|
+
/**
|
|
696
|
+
* Sets the `object-fit` CSS property of the element.
|
|
697
|
+
*
|
|
698
|
+
* Accepts an `object-fit` value or a responsive array of `object-fit` values.
|
|
699
|
+
*/
|
|
700
|
+
$objectFit?: ResponsiveValues<CSSProperties["objectFit"]>;
|
|
701
|
+
/**
|
|
702
|
+
* Sets the `object-position` CSS property of the element.
|
|
703
|
+
*
|
|
704
|
+
* Accepts an `object-position` value or a responsive array of `object-position` values.
|
|
705
|
+
*/
|
|
706
|
+
$objectPosition?: ResponsiveValues<CSSProperties["objectPosition"]>;
|
|
707
|
+
/**
|
|
708
|
+
* Sets the `pointer-events` CSS property of the element.
|
|
709
|
+
*
|
|
710
|
+
* Accepts a `pointer-events` value or a responsive array of `pointer-events` values.
|
|
711
|
+
*/
|
|
712
|
+
$pointerEvents?: ResponsiveValues<CSSProperties["pointerEvents"]>;
|
|
713
|
+
/**
|
|
714
|
+
* Sets the `visibility` CSS property of the element.
|
|
715
|
+
*
|
|
716
|
+
* Accepts a `visibility` value or a responsive array of `visibility` values.
|
|
717
|
+
*/
|
|
718
|
+
$visibility?: ResponsiveValues<CSSProperties["visibility"]>;
|
|
719
|
+
/**
|
|
720
|
+
* Sets the `vertical-align` CSS property of the element.
|
|
721
|
+
*
|
|
722
|
+
* Accepts a `vertical-align` value or a responsive array of `vertical-align` values.
|
|
723
|
+
*/
|
|
724
|
+
$verticalAlign?: ResponsiveValues<CSSProperties["verticalAlign"]>;
|
|
725
|
+
};
|
|
726
|
+
|
|
727
|
+
type SizeValues = ResponsiveValues<OakCombinedSpacingToken | null | undefined>;
|
|
728
|
+
type SizeStyleProps = {
|
|
729
|
+
/**
|
|
730
|
+
* Sets the `width` CSS property of the element.
|
|
731
|
+
*
|
|
732
|
+
* Accepts a spacing token or a responsive array of spacing tokens. Can be nulled.
|
|
733
|
+
*/
|
|
734
|
+
$width?: SizeValues;
|
|
735
|
+
/**
|
|
736
|
+
* Sets the `min-width` CSS property of the element.
|
|
737
|
+
*
|
|
738
|
+
* Accepts a spacing token or a responsive array of spacing tokens. Can be nulled.
|
|
739
|
+
*/
|
|
740
|
+
$minWidth?: SizeValues;
|
|
741
|
+
/**
|
|
742
|
+
* Sets the `max-width` CSS property of the element.
|
|
743
|
+
*
|
|
744
|
+
* Accepts a spacing token or a responsive array of spacing tokens. Can be nulled.
|
|
745
|
+
*/
|
|
746
|
+
$maxWidth?: SizeValues;
|
|
747
|
+
/**
|
|
748
|
+
* Sets the `height` CSS property of the element.
|
|
749
|
+
*
|
|
750
|
+
* Accepts a spacing token or a responsive array of spacing tokens. Can be nulled.
|
|
751
|
+
*/
|
|
752
|
+
$height?: SizeValues;
|
|
753
|
+
/**
|
|
754
|
+
* Sets the `min-height` CSS property of the element.
|
|
755
|
+
*
|
|
756
|
+
* Accepts a spacing token or a responsive array of spacing tokens. Can be nulled.
|
|
757
|
+
*/
|
|
758
|
+
$minHeight?: SizeValues;
|
|
759
|
+
/**
|
|
760
|
+
* Sets the `max-height` CSS property of the element.
|
|
761
|
+
*
|
|
762
|
+
* Accepts a spacing token or a responsive array of spacing tokens. Can be nulled.
|
|
763
|
+
*/
|
|
764
|
+
$maxHeight?: SizeValues;
|
|
765
|
+
/**
|
|
766
|
+
* Sets the `aspect-ratio` CSS property of the element.
|
|
767
|
+
*
|
|
768
|
+
* Accepts an `aspect-ratio` value or a responsive array of `aspect-ratio` values.
|
|
769
|
+
*/
|
|
770
|
+
$aspectRatio?: ResponsiveValues<CSSProperties$1["aspectRatio"]>;
|
|
771
|
+
/**
|
|
772
|
+
* Sets the `box-sizing` CSS property of the element.
|
|
773
|
+
*
|
|
774
|
+
* Accepts a `box-sizing` value or a responsive array of `box-sizing` values.
|
|
775
|
+
*/
|
|
776
|
+
$boxSizing?: ResponsiveValues<CSSProperties$1["boxSizing"]>;
|
|
777
|
+
};
|
|
778
|
+
|
|
779
|
+
type PaddingValues = ResponsiveValues<OakAllSpacingToken | null | undefined>;
|
|
780
|
+
type PaddingStyleProps = {
|
|
781
|
+
/**
|
|
782
|
+
* Applies `padding` to all sides of the element
|
|
783
|
+
*
|
|
784
|
+
* Accepts an inner padding token or a responsive array of inner padding tokens. Can be nulled.
|
|
785
|
+
*/
|
|
786
|
+
$pa?: PaddingValues;
|
|
787
|
+
/**
|
|
788
|
+
* Applies `padding` to the left and right of the element
|
|
789
|
+
*
|
|
790
|
+
* Accepts an inner padding token or a responsive array of inner padding tokens. Can be nulled.
|
|
791
|
+
*/
|
|
792
|
+
$ph?: PaddingValues;
|
|
793
|
+
/**
|
|
794
|
+
* Applies `padding` to the top and bottom of the element
|
|
795
|
+
*
|
|
796
|
+
* Accepts an inner padding token or a responsive array of inner padding tokens. Can be nulled.
|
|
797
|
+
*/
|
|
798
|
+
$pv?: PaddingValues;
|
|
799
|
+
/**
|
|
800
|
+
* Applies `padding` to the left of the element
|
|
801
|
+
*
|
|
802
|
+
* Accepts an inner padding token or a responsive array of inner padding tokens. Can be nulled.
|
|
803
|
+
*/
|
|
804
|
+
$pl?: PaddingValues;
|
|
805
|
+
/**
|
|
806
|
+
* Applies `padding` to the right of the element
|
|
807
|
+
*
|
|
808
|
+
* Accepts an inner padding token or a responsive array of inner padding tokens. Can be nulled.
|
|
809
|
+
*/
|
|
810
|
+
$pr?: PaddingValues;
|
|
811
|
+
/**
|
|
812
|
+
* Applies `padding` to the top of the element
|
|
813
|
+
*
|
|
814
|
+
* Accepts an inner padding token or a responsive array of inner padding tokens. Can be nulled.
|
|
815
|
+
*/
|
|
816
|
+
$pt?: PaddingValues;
|
|
817
|
+
/**
|
|
818
|
+
* Applies `padding` to the bottom of the element
|
|
819
|
+
*
|
|
820
|
+
* Accepts an inner padding token or a responsive array of inner padding tokens. Can be nulled.
|
|
821
|
+
*/
|
|
822
|
+
$pb?: PaddingValues;
|
|
1084
823
|
};
|
|
1085
|
-
type
|
|
1086
|
-
|
|
824
|
+
type MarginValue = "auto" | OakSpaceBetweenToken | null | undefined;
|
|
825
|
+
type MarginValues = ResponsiveValues<MarginValue>;
|
|
826
|
+
type MarginStyleProps = {
|
|
827
|
+
/**
|
|
828
|
+
* Applies `margin` to all sides of the element
|
|
829
|
+
*
|
|
830
|
+
* Accepts a space between token or a responsive array of space between tokens. Can be nulled.
|
|
831
|
+
*/
|
|
832
|
+
$ma?: MarginValues;
|
|
833
|
+
/**
|
|
834
|
+
* Applies `margin` to the left and right of the element
|
|
835
|
+
*
|
|
836
|
+
* Accepts a space between token or a responsive array of space between tokens. Can be nulled.
|
|
837
|
+
*/
|
|
838
|
+
$mh?: MarginValues;
|
|
839
|
+
/**
|
|
840
|
+
* Applies `margin` to the top and bottom of the element
|
|
841
|
+
*
|
|
842
|
+
* Accepts a space between token or a responsive array of space between tokens. Can be nulled.
|
|
843
|
+
*/
|
|
844
|
+
$mv?: MarginValues;
|
|
845
|
+
/**
|
|
846
|
+
* Applies `margin` to the left of the element
|
|
847
|
+
*
|
|
848
|
+
* Accepts a space between token or a responsive array of space between tokens. Can be nulled.
|
|
849
|
+
*/
|
|
850
|
+
$ml?: MarginValues;
|
|
851
|
+
/**
|
|
852
|
+
* Applies `margin` to the right of the element
|
|
853
|
+
*
|
|
854
|
+
* Accepts a space between token or a responsive array of space between tokens. Can be nulled.
|
|
855
|
+
*/
|
|
856
|
+
$mr?: MarginValues;
|
|
857
|
+
/**
|
|
858
|
+
* Applies `margin` to the top of the element
|
|
859
|
+
*
|
|
860
|
+
* Accepts a space between token or a responsive array of space between tokens. Can be nulled.
|
|
861
|
+
*/
|
|
862
|
+
$mt?: MarginValues;
|
|
863
|
+
/**
|
|
864
|
+
* Applies `margin` to the bottom of the element
|
|
865
|
+
*
|
|
866
|
+
* Accepts a space between token or a responsive array of space between tokens. Can be nulled.
|
|
867
|
+
*/
|
|
868
|
+
$mb?: MarginValues;
|
|
1087
869
|
};
|
|
870
|
+
type SpacingStyleProps = PaddingStyleProps & MarginStyleProps;
|
|
1088
871
|
|
|
1089
|
-
|
|
1090
|
-
|
|
1091
|
-
|
|
1092
|
-
|
|
1093
|
-
|
|
1094
|
-
|
|
1095
|
-
|
|
1096
|
-
|
|
1097
|
-
|
|
1098
|
-
|
|
1099
|
-
|
|
1100
|
-
|
|
1101
|
-
|
|
1102
|
-
|
|
1103
|
-
|
|
1104
|
-
|
|
1105
|
-
|
|
1106
|
-
|
|
1107
|
-
|
|
872
|
+
type BorderWidth = ResponsiveValues<OakBorderWidthToken>;
|
|
873
|
+
type _BorderStyleProps = ResponsiveValues<CSSProperties$1["borderStyle"]>;
|
|
874
|
+
type BorderColorProps = ResponsiveValues<OakUiRoleToken>;
|
|
875
|
+
type BorderRadiusProps = ResponsiveValues<OakBorderRadiusToken>;
|
|
876
|
+
type BorderStyleProps = {
|
|
877
|
+
/**
|
|
878
|
+
* Apply border on all sides
|
|
879
|
+
*
|
|
880
|
+
* Accepts a border-width token or a responsive array of border-width tokens
|
|
881
|
+
*/
|
|
882
|
+
$ba?: BorderWidth;
|
|
883
|
+
/**
|
|
884
|
+
* Apply border to the top
|
|
885
|
+
*
|
|
886
|
+
* Accepts a border-width token or a responsive array of border-width tokens
|
|
887
|
+
*/
|
|
888
|
+
$bt?: BorderWidth;
|
|
889
|
+
/**
|
|
890
|
+
* Apply border to the right
|
|
891
|
+
*
|
|
892
|
+
* Accepts a border-width token or a responsive array of border-width tokens
|
|
893
|
+
*/
|
|
894
|
+
$br?: BorderWidth;
|
|
895
|
+
/**
|
|
896
|
+
* Apply border to the bottom
|
|
897
|
+
*
|
|
898
|
+
* Accepts a border-width token or a responsive array of border-width tokens
|
|
899
|
+
*/
|
|
900
|
+
$bb?: BorderWidth;
|
|
901
|
+
/**
|
|
902
|
+
* Apply border to the left
|
|
903
|
+
*
|
|
904
|
+
* Accepts a border-width token or a responsive array of border-width tokens
|
|
905
|
+
*/
|
|
906
|
+
$bl?: BorderWidth;
|
|
907
|
+
/**
|
|
908
|
+
* Apply border to the left and right
|
|
909
|
+
*
|
|
910
|
+
* Accepts a border-width token or a responsive array of border-width tokens
|
|
911
|
+
*/
|
|
912
|
+
$bh?: BorderWidth;
|
|
913
|
+
/**
|
|
914
|
+
* Apply border to the top and bottom
|
|
915
|
+
*
|
|
916
|
+
* Accepts a border-width token or a responsive array of border-width tokens
|
|
917
|
+
*/
|
|
918
|
+
$bv?: BorderWidth;
|
|
919
|
+
/**
|
|
920
|
+
* Apply `border-style` to the element
|
|
921
|
+
*
|
|
922
|
+
* Accepts a single value or a responsive array of values.
|
|
923
|
+
*/
|
|
924
|
+
$borderStyle?: _BorderStyleProps;
|
|
925
|
+
/**
|
|
926
|
+
* Apply a border color to all sides of the element
|
|
927
|
+
*
|
|
928
|
+
* Accepts a UI role token or a responsive array of UI role tokens.
|
|
929
|
+
*/
|
|
930
|
+
$borderColor?: BorderColorProps;
|
|
931
|
+
$borderRadius?: BorderRadiusProps;
|
|
932
|
+
/**
|
|
933
|
+
* Apply border radius to the top left
|
|
934
|
+
*
|
|
935
|
+
* Accepts an `OakBorderRadiusToken` or a responsive array of `OakBorderRadiusToken`s.
|
|
936
|
+
*/
|
|
937
|
+
$btlr?: BorderRadiusProps;
|
|
938
|
+
/**
|
|
939
|
+
* Apply border radius to the top right
|
|
940
|
+
*
|
|
941
|
+
* Accepts a border-radius token or a responsive array of border-radius tokens.
|
|
942
|
+
*/
|
|
943
|
+
$btrr?: BorderRadiusProps;
|
|
944
|
+
/**
|
|
945
|
+
* Apply border radius to the bottom left
|
|
946
|
+
*
|
|
947
|
+
* Accepts a border-radius token or a responsive array of border-radius tokens.
|
|
948
|
+
*/
|
|
949
|
+
$bblr?: BorderRadiusProps;
|
|
950
|
+
/**
|
|
951
|
+
* Apply border radius to the bottom right
|
|
952
|
+
*
|
|
953
|
+
* Accepts a border-radius token or a responsive array of border-radius tokens.
|
|
954
|
+
*/
|
|
955
|
+
$bbrr?: BorderRadiusProps;
|
|
956
|
+
/**
|
|
957
|
+
* Apply border radius to the top right and top left
|
|
958
|
+
*
|
|
959
|
+
* Accepts a border-radius token or a responsive array of border-radius tokens.
|
|
960
|
+
*/
|
|
961
|
+
$btr?: BorderRadiusProps;
|
|
962
|
+
/**
|
|
963
|
+
* Apply border radius to the bottom right and bottom left
|
|
964
|
+
*
|
|
965
|
+
* Accepts a border-radius token or a responsive array of border-radius tokens
|
|
966
|
+
*/
|
|
967
|
+
$bbr?: BorderRadiusProps;
|
|
968
|
+
};
|
|
1108
969
|
|
|
1109
|
-
|
|
1110
|
-
|
|
1111
|
-
|
|
1112
|
-
|
|
1113
|
-
|
|
1114
|
-
|
|
1115
|
-
|
|
970
|
+
type DisplayStyleProps = {
|
|
971
|
+
/**
|
|
972
|
+
* Sets the `display` CSS property of the element.
|
|
973
|
+
*
|
|
974
|
+
* Accepts a `display` value or a responsive array of `display` values.
|
|
975
|
+
*/
|
|
976
|
+
$display?: ResponsiveValues<CSSProperties["display"]>;
|
|
977
|
+
};
|
|
1116
978
|
|
|
1117
|
-
|
|
979
|
+
type DropShadowStyleProps = {
|
|
980
|
+
/**
|
|
981
|
+
* Applies a drop-shadow to the element.
|
|
982
|
+
*
|
|
983
|
+
* Accepts a drop-shadow token or a responsive array of drop-shadow tokens.
|
|
984
|
+
*/
|
|
985
|
+
$dropShadow?: ResponsiveValues<OakDropShadowToken>;
|
|
986
|
+
};
|
|
1118
987
|
|
|
1119
|
-
|
|
988
|
+
type OpacityStyleProps = {
|
|
989
|
+
/**
|
|
990
|
+
* Sets the `opacity` CSS property of the element.
|
|
991
|
+
*
|
|
992
|
+
* Accepts an opacity token or a responsive array of opacity tokens.
|
|
993
|
+
*/
|
|
994
|
+
$opacity?: ResponsiveValues<OakOpacityToken>;
|
|
995
|
+
};
|
|
1120
996
|
|
|
1121
|
-
|
|
1122
|
-
|
|
1123
|
-
|
|
1124
|
-
|
|
1125
|
-
|
|
1126
|
-
|
|
997
|
+
type TransformStyleProps = {
|
|
998
|
+
/**
|
|
999
|
+
* Sets the `transform` CSS property of the element.
|
|
1000
|
+
*
|
|
1001
|
+
* Accepts a `transform` value or a responsive array of `transform` values. Can be nulled.
|
|
1002
|
+
*/
|
|
1003
|
+
$transform?: ResponsiveValues<CSSProperties$1["transform"] | null>;
|
|
1004
|
+
/**
|
|
1005
|
+
* Sets the `transform-origin` CSS property of the element.
|
|
1006
|
+
*
|
|
1007
|
+
* Accepts a `transform-origin` value or a responsive array of `transform-origin` values. Can be nulled.
|
|
1008
|
+
*/
|
|
1009
|
+
$transformOrigin?: ResponsiveValues<CSSProperties$1["transformOrigin"] | null>;
|
|
1010
|
+
};
|
|
1127
1011
|
|
|
1128
|
-
|
|
1012
|
+
type Transition = OakTransitionToken;
|
|
1013
|
+
type TransitionStyleProps = {
|
|
1014
|
+
/**
|
|
1015
|
+
* Sets the `transition` CSS property of the element.
|
|
1016
|
+
*
|
|
1017
|
+
* Accepts a transition token or a responsive array of transition tokens.
|
|
1018
|
+
*/
|
|
1019
|
+
$transition?: ResponsiveValues<Transition>;
|
|
1020
|
+
};
|
|
1129
1021
|
|
|
1130
|
-
|
|
1131
|
-
|
|
1132
|
-
|
|
1133
|
-
|
|
1022
|
+
type TypographyStyleProps = {
|
|
1023
|
+
/**
|
|
1024
|
+
* Sets the `font-size`, `line-height`, `font-weight` and `letter-spacing` of the element.
|
|
1025
|
+
*
|
|
1026
|
+
* Accepts a font token or a responsive array of font tokens.
|
|
1027
|
+
*/
|
|
1028
|
+
$font?: ResponsiveValues<OakFontToken>;
|
|
1029
|
+
/**
|
|
1030
|
+
* Sets the `text-decoration` CSS property of the element.
|
|
1031
|
+
*
|
|
1032
|
+
* Accepts a text-decoration token or a responsive array of text-decoration tokens.
|
|
1033
|
+
*/
|
|
1034
|
+
$textDecoration?: ResponsiveValues<OakTextDecoration>;
|
|
1035
|
+
/**
|
|
1036
|
+
* Sets the `text-align` CSS property of the element.
|
|
1037
|
+
*
|
|
1038
|
+
* Accepts a `text-align` value or a responsive array of `text-align` values.
|
|
1039
|
+
*/
|
|
1040
|
+
$textAlign?: ResponsiveValues<CSSProperties$1["textAlign"]>;
|
|
1041
|
+
/**
|
|
1042
|
+
* Sets the `white-space` CSS property of the element.
|
|
1043
|
+
*
|
|
1044
|
+
* Accepts a white-space token or a responsive array of white-space tokens.
|
|
1045
|
+
*/
|
|
1046
|
+
$whiteSpace?: ResponsiveValues<OakWhiteSpace>;
|
|
1047
|
+
/**
|
|
1048
|
+
* Sets the `word-wrap` CSS property of the element.
|
|
1049
|
+
*
|
|
1050
|
+
* Accepts a word-wrap token or a responsive array of word-wrap tokens.
|
|
1051
|
+
*/
|
|
1052
|
+
$wordWrap?: ResponsiveValues<OakWordWrap>;
|
|
1053
|
+
/**
|
|
1054
|
+
* Sets the `text-overflow` CSS property of the element.
|
|
1055
|
+
*
|
|
1056
|
+
* Accepts a text-overflow token or a responsive array of text-overflow tokens.
|
|
1057
|
+
*/
|
|
1058
|
+
$textOverflow?: ResponsiveValues<OakTextOverflow>;
|
|
1059
|
+
/**
|
|
1060
|
+
* Sets the `overflow` CSS property of the element.
|
|
1061
|
+
*
|
|
1062
|
+
* Accepts an overflow token or a responsive array of overflow tokens.
|
|
1063
|
+
*/
|
|
1064
|
+
$overflow?: ResponsiveValues<CSSProperties$1["overflow"]>;
|
|
1065
|
+
/**
|
|
1066
|
+
* Sets the `text-wrap` CSS property of the element.
|
|
1067
|
+
*
|
|
1068
|
+
* Accepts a text-wrap token or a responsive array of text-wrap tokens.
|
|
1069
|
+
*
|
|
1070
|
+
* Controls how text inside an element is wrapped. The different values provide:
|
|
1071
|
+
* - Typographic improvements, for example more balanced line lengths across broken headings
|
|
1072
|
+
* - A way to turn text wrapping off completely
|
|
1073
|
+
*/
|
|
1074
|
+
$textWrap?: ResponsiveValues<CSSProperties$1["textWrap"]>;
|
|
1075
|
+
};
|
|
1134
1076
|
|
|
1135
|
-
|
|
1077
|
+
type ZIndexStyleProps = {
|
|
1078
|
+
/**
|
|
1079
|
+
* Sets the `z-index` CSS property of the element.
|
|
1080
|
+
*
|
|
1081
|
+
* Accepts a z-index token or a responsive array of z-index tokens.
|
|
1082
|
+
*/
|
|
1083
|
+
$zIndex?: ResponsiveValues<OakZIndexToken | number>;
|
|
1084
|
+
};
|
|
1136
1085
|
|
|
1137
|
-
type
|
|
1138
|
-
type
|
|
1086
|
+
type ScrollMarginValue = OakAllSpacingToken | null | undefined;
|
|
1087
|
+
type ScrollMarginValues = ResponsiveValues<ScrollMarginValue>;
|
|
1088
|
+
type ScrollSnapStyleProps = {
|
|
1139
1089
|
/**
|
|
1140
|
-
* Applies
|
|
1090
|
+
* Applies `scroll-margin-top` to the element
|
|
1141
1091
|
*
|
|
1142
|
-
* Accepts
|
|
1092
|
+
* Accepts any Oak spacing token or a responsive array of spacing tokens. Can be nulled.
|
|
1143
1093
|
*/
|
|
1144
|
-
$
|
|
1094
|
+
$scrollMarginTop?: ScrollMarginValues;
|
|
1095
|
+
/**
|
|
1096
|
+
* Applies `scroll-margin-left` to the element
|
|
1097
|
+
*
|
|
1098
|
+
* Accepts any Oak spacing token or a responsive array of spacing tokens. Can be nulled.
|
|
1099
|
+
*/
|
|
1100
|
+
$scrollMarginLeft?: ScrollMarginValues;
|
|
1101
|
+
};
|
|
1102
|
+
|
|
1103
|
+
type HTMLProps$1 = {
|
|
1104
|
+
onClick?: MouseEventHandler;
|
|
1145
1105
|
};
|
|
1106
|
+
type OakBoxProps = {
|
|
1107
|
+
children?: React.ReactNode;
|
|
1108
|
+
} & PositionStyleProps & SizeStyleProps & SpacingStyleProps & ColorStyleProps & BorderStyleProps & DisplayStyleProps & DropShadowStyleProps & OpacityStyleProps & TransformStyleProps & TransitionStyleProps & TypographyStyleProps & ZIndexStyleProps & HTMLProps$1 & ScrollSnapStyleProps;
|
|
1109
|
+
declare const oakBoxCss: styled_components.RuleSet<NoInfer<OakBoxProps>>;
|
|
1110
|
+
/**
|
|
1111
|
+
* OakBox exposes all the styles that are available styles on a div tag. These include:
|
|
1112
|
+
* - color
|
|
1113
|
+
* - size
|
|
1114
|
+
* - display
|
|
1115
|
+
* - spacing
|
|
1116
|
+
* - position
|
|
1117
|
+
* - border
|
|
1118
|
+
* - opacity
|
|
1119
|
+
* - z-index
|
|
1120
|
+
* - typography
|
|
1121
|
+
* - transition
|
|
1122
|
+
* - transform
|
|
1123
|
+
* - drop-shadow
|
|
1124
|
+
* - scroll-margin-top/left
|
|
1125
|
+
*
|
|
1126
|
+
*/
|
|
1127
|
+
declare const OakBox: styled_components_dist_types.IStyledComponentBase<"web", styled_components_dist_types.Merged<Omit<React$1.DetailedHTMLProps<React$1.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "style"> & {
|
|
1128
|
+
style?: React$1.CSSProperties | styled_components_dist_types.CSSPropertiesWithVars | undefined;
|
|
1129
|
+
}, OakBoxProps>> & string;
|
|
1146
1130
|
|
|
1147
1131
|
type HTMLProps = {
|
|
1148
1132
|
onClick?: MouseEventHandler;
|
|
@@ -1195,61 +1179,140 @@ type OakIconProps = Omit<OakImageProps, "alt" | "src"> & {
|
|
|
1195
1179
|
*/
|
|
1196
1180
|
declare const OakIcon: (props: OakIconProps) => React__default.JSX.Element;
|
|
1197
1181
|
|
|
1182
|
+
/**
|
|
1183
|
+
* Map of the svg names to the actual svg components
|
|
1184
|
+
* Only components that are used in the OakSvg component should be added here
|
|
1185
|
+
* Should be used only in cases where OakIcon can't be used and if this list grows much bigger in the future we should consider refactoring
|
|
1186
|
+
*/
|
|
1187
|
+
declare const svgMap: {
|
|
1188
|
+
"header-underline": () => React__default.JSX.Element;
|
|
1189
|
+
underline: () => React__default.JSX.Element;
|
|
1190
|
+
"horizontal-rule": () => React__default.JSX.Element;
|
|
1191
|
+
"underline-3": () => React__default.JSX.Element;
|
|
1192
|
+
"button-border-top": () => React__default.JSX.Element;
|
|
1193
|
+
"button-border-bottom": () => React__default.JSX.Element;
|
|
1194
|
+
"button-border-left": () => React__default.JSX.Element;
|
|
1195
|
+
"button-border-right": () => React__default.JSX.Element;
|
|
1196
|
+
"icon-background": () => React__default.JSX.Element;
|
|
1197
|
+
scribble: () => React__default.JSX.Element;
|
|
1198
|
+
};
|
|
1199
|
+
type OakSvgNames = keyof typeof svgMap;
|
|
1200
|
+
type OakSvgProps = OakBoxProps & {
|
|
1201
|
+
/**
|
|
1202
|
+
* The name of the svg to render
|
|
1203
|
+
* Accepts an svg name token from the svgMap
|
|
1204
|
+
*/
|
|
1205
|
+
name: OakSvgNames;
|
|
1206
|
+
color?: OakColorToken;
|
|
1207
|
+
};
|
|
1208
|
+
/**
|
|
1209
|
+
* This is component used for rendering SVGs that don't belong to be rendered with OakIcon component
|
|
1210
|
+
* ie. UI elements that are not icons/illustratons but are part of the design system (underline, etc)
|
|
1211
|
+
*/
|
|
1212
|
+
declare const OakSvg: FC<OakSvgProps>;
|
|
1213
|
+
|
|
1214
|
+
type ImageProps = OakImageProps & {
|
|
1215
|
+
iconName?: undefined;
|
|
1216
|
+
};
|
|
1217
|
+
type IconProps = OakIconProps & {
|
|
1218
|
+
src?: undefined;
|
|
1219
|
+
};
|
|
1220
|
+
type OakRoundIconProps = IconProps | ImageProps;
|
|
1221
|
+
/**
|
|
1222
|
+
* A wrapper around `OakIcon` which applies a rounded background.
|
|
1223
|
+
* Supports either an icon name or an image src
|
|
1224
|
+
*/
|
|
1225
|
+
declare const OakRoundIcon: ({ $background, $borderRadius, $width, $height, $pa, className, ...rest }: OakRoundIconProps) => React__default.JSX.Element;
|
|
1226
|
+
|
|
1227
|
+
type InternalStyledSvgProps = {
|
|
1228
|
+
$fill?: ResponsiveValues<OakUiRoleToken>;
|
|
1229
|
+
$stroke?: ResponsiveValues<OakUiRoleToken>;
|
|
1230
|
+
$strokeWidth?: ResponsiveValues<OakBorderWidthToken>;
|
|
1231
|
+
};
|
|
1232
|
+
|
|
1233
|
+
type OakHandDrawnHRProps = {
|
|
1234
|
+
hrColor?: InternalStyledSvgProps["$fill"];
|
|
1235
|
+
} & SpacingStyleProps & SizeStyleProps;
|
|
1236
|
+
/**
|
|
1237
|
+
* A Drawn HR svg inside a flex container
|
|
1238
|
+
*
|
|
1239
|
+
* use prop hrColor to change the color of the HR
|
|
1240
|
+
*
|
|
1241
|
+
* change the sizeProps of the flex container to change the size and dimentions of the HR
|
|
1242
|
+
*/
|
|
1243
|
+
declare const OakHandDrawnHR: (props: OakHandDrawnHRProps) => React__default.JSX.Element;
|
|
1244
|
+
|
|
1245
|
+
type ElementProp<C extends ElementType> = {
|
|
1246
|
+
element?: C;
|
|
1247
|
+
};
|
|
1248
|
+
type PolymorphicPropsWithoutRef<C extends ElementType> = ElementProp<C> & ComponentPropsWithoutRef<C>;
|
|
1249
|
+
type PolymorphicRef<C extends React.ElementType> = ComponentPropsWithRef<C>["ref"];
|
|
1250
|
+
type PolymorphicPropsWithRef<C extends ElementType> = ElementProp<C> & ComponentPropsWithoutRef<C> & {
|
|
1251
|
+
ref?: PolymorphicRef<C>;
|
|
1252
|
+
};
|
|
1253
|
+
|
|
1254
|
+
type StyledButtonProps = TypographyStyleProps & SpacingStyleProps & ColorStyleProps & DisplayStyleProps & BorderStyleProps & DropShadowStyleProps & {
|
|
1255
|
+
isLoading?: boolean;
|
|
1256
|
+
};
|
|
1257
|
+
type InternalButtonProps = StyledButtonProps & {
|
|
1258
|
+
onHovered?: (event: React__default.MouseEvent<HTMLButtonElement, MouseEvent>, duration: number) => void;
|
|
1259
|
+
};
|
|
1260
|
+
|
|
1198
1261
|
type FlexStyleProps = DisplayStyleProps & {
|
|
1199
1262
|
/**
|
|
1200
1263
|
* Sets the `flex-direction` CSS property of the element.
|
|
1201
1264
|
*
|
|
1202
1265
|
* Accepts a `flex-direction` value or a responsive array of flex-direction values.
|
|
1203
1266
|
*/
|
|
1204
|
-
$flexDirection?: ResponsiveValues<CSSProperties
|
|
1267
|
+
$flexDirection?: ResponsiveValues<CSSProperties["flexDirection"]>;
|
|
1205
1268
|
/**
|
|
1206
1269
|
* Sets the `flex-wrap` CSS property of the element.
|
|
1207
1270
|
*
|
|
1208
1271
|
* Accepts a `flex-wrap` value or a responsive array of flex-wrap values.
|
|
1209
1272
|
*/
|
|
1210
|
-
$flexWrap?: ResponsiveValues<CSSProperties
|
|
1273
|
+
$flexWrap?: ResponsiveValues<CSSProperties["flexWrap"]>;
|
|
1211
1274
|
/**
|
|
1212
1275
|
* Sets the `align-items` CSS property of the element.
|
|
1213
1276
|
*
|
|
1214
1277
|
* Accepts an `align-items` value or a responsive array of `align-items` values.
|
|
1215
1278
|
*/
|
|
1216
|
-
$alignItems?: ResponsiveValues<CSSProperties
|
|
1279
|
+
$alignItems?: ResponsiveValues<CSSProperties["alignItems"]>;
|
|
1217
1280
|
/**
|
|
1218
1281
|
* Sets the `align-content` CSS property of the element.
|
|
1219
1282
|
*
|
|
1220
1283
|
* Accepts an `align-content` value or a responsive array of `align-content` values.
|
|
1221
1284
|
*/
|
|
1222
|
-
$alignContent?: ResponsiveValues<CSSProperties
|
|
1285
|
+
$alignContent?: ResponsiveValues<CSSProperties["alignContent"]>;
|
|
1223
1286
|
/**
|
|
1224
1287
|
* Sets the `justify-content` CSS property of the element.
|
|
1225
1288
|
*
|
|
1226
1289
|
* Accepts a `justify-content` value or a responsive array of `justify-content` values.
|
|
1227
1290
|
*/
|
|
1228
|
-
$justifyContent?: ResponsiveValues<CSSProperties
|
|
1291
|
+
$justifyContent?: ResponsiveValues<CSSProperties["justifyContent"]>;
|
|
1229
1292
|
/**
|
|
1230
1293
|
* Sets the `align-self` CSS property of the element.
|
|
1231
1294
|
*
|
|
1232
1295
|
* Accepts an `align-self` value or a responsive array of `align-self` values.
|
|
1233
1296
|
*/
|
|
1234
|
-
$alignSelf?: ResponsiveValues<CSSProperties
|
|
1297
|
+
$alignSelf?: ResponsiveValues<CSSProperties["alignSelf"]>;
|
|
1235
1298
|
/**
|
|
1236
1299
|
* Sets the `flex-grow` CSS property of the element.
|
|
1237
1300
|
*
|
|
1238
1301
|
* Accepts a `flex-grow` value or a responsive array of `flex-grow` values.
|
|
1239
1302
|
*/
|
|
1240
|
-
$flexGrow?: ResponsiveValues<CSSProperties
|
|
1303
|
+
$flexGrow?: ResponsiveValues<CSSProperties["flexGrow"]>;
|
|
1241
1304
|
/**
|
|
1242
1305
|
* Sets the `flex-shrink` CSS property of the element.
|
|
1243
1306
|
*
|
|
1244
1307
|
* Accepts a `flex-shrink` value or a responsive array of `flex-shrink` values.
|
|
1245
1308
|
*/
|
|
1246
|
-
$flexShrink?: ResponsiveValues<CSSProperties
|
|
1309
|
+
$flexShrink?: ResponsiveValues<CSSProperties["flexShrink"]>;
|
|
1247
1310
|
/**
|
|
1248
1311
|
* Sets the `order` CSS property of the element.
|
|
1249
1312
|
*
|
|
1250
1313
|
* Accepts an `order` value or a responsive array of `order` values.
|
|
1251
1314
|
*/
|
|
1252
|
-
$order?: ResponsiveValues<CSSProperties
|
|
1315
|
+
$order?: ResponsiveValues<CSSProperties["order"]>;
|
|
1253
1316
|
/**
|
|
1254
1317
|
* Sets the `flex-basis` CSS property of the element.
|
|
1255
1318
|
*
|
|
@@ -1501,69 +1564,6 @@ type OakSmallSecondaryButtonProps = Omit<InternalShadowRectButtonProps, "default
|
|
|
1501
1564
|
*/
|
|
1502
1565
|
declare const OakSmallSecondaryButton: <C extends ElementType = "button">({ element, ...rest }: OakSmallSecondaryButtonProps & PolymorphicPropsWithoutRef<C>) => React__default.JSX.Element;
|
|
1503
1566
|
|
|
1504
|
-
/**
|
|
1505
|
-
* Map of the svg names to the actual svg components
|
|
1506
|
-
* Only components that are used in the OakSvg component should be added here
|
|
1507
|
-
* Should be used only in cases where OakIcon can't be used and if this list grows much bigger in the future we should consider refactoring
|
|
1508
|
-
*/
|
|
1509
|
-
declare const svgMap: {
|
|
1510
|
-
"header-underline": () => React__default.JSX.Element;
|
|
1511
|
-
underline: () => React__default.JSX.Element;
|
|
1512
|
-
"horizontal-rule": () => React__default.JSX.Element;
|
|
1513
|
-
"underline-3": () => React__default.JSX.Element;
|
|
1514
|
-
"button-border-top": () => React__default.JSX.Element;
|
|
1515
|
-
"button-border-bottom": () => React__default.JSX.Element;
|
|
1516
|
-
"button-border-left": () => React__default.JSX.Element;
|
|
1517
|
-
"button-border-right": () => React__default.JSX.Element;
|
|
1518
|
-
"icon-background": () => React__default.JSX.Element;
|
|
1519
|
-
scribble: () => React__default.JSX.Element;
|
|
1520
|
-
};
|
|
1521
|
-
type OakSvgNames = keyof typeof svgMap;
|
|
1522
|
-
type OakSvgProps = OakBoxProps & {
|
|
1523
|
-
/**
|
|
1524
|
-
* The name of the svg to render
|
|
1525
|
-
* Accepts an svg name token from the svgMap
|
|
1526
|
-
*/
|
|
1527
|
-
name: OakSvgNames;
|
|
1528
|
-
color?: OakColorToken;
|
|
1529
|
-
};
|
|
1530
|
-
/**
|
|
1531
|
-
* This is component used for rendering SVGs that don't belong to be rendered with OakIcon component
|
|
1532
|
-
* ie. UI elements that are not icons/illustratons but are part of the design system (underline, etc)
|
|
1533
|
-
*/
|
|
1534
|
-
declare const OakSvg: FC<OakSvgProps>;
|
|
1535
|
-
|
|
1536
|
-
type ImageProps = OakImageProps & {
|
|
1537
|
-
iconName?: undefined;
|
|
1538
|
-
};
|
|
1539
|
-
type IconProps = OakIconProps & {
|
|
1540
|
-
src?: undefined;
|
|
1541
|
-
};
|
|
1542
|
-
type OakRoundIconProps = IconProps | ImageProps;
|
|
1543
|
-
/**
|
|
1544
|
-
* A wrapper around `OakIcon` which applies a rounded background.
|
|
1545
|
-
* Supports either an icon name or an image src
|
|
1546
|
-
*/
|
|
1547
|
-
declare const OakRoundIcon: ({ $background, $borderRadius, $width, $height, $pa, className, ...rest }: OakRoundIconProps) => React__default.JSX.Element;
|
|
1548
|
-
|
|
1549
|
-
type InternalStyledSvgProps = {
|
|
1550
|
-
$fill?: ResponsiveValues<OakUiRoleToken>;
|
|
1551
|
-
$stroke?: ResponsiveValues<OakUiRoleToken>;
|
|
1552
|
-
$strokeWidth?: ResponsiveValues<OakBorderWidthToken>;
|
|
1553
|
-
};
|
|
1554
|
-
|
|
1555
|
-
type OakHandDrawnHRProps = {
|
|
1556
|
-
hrColor?: InternalStyledSvgProps["$fill"];
|
|
1557
|
-
} & SpacingStyleProps & SizeStyleProps;
|
|
1558
|
-
/**
|
|
1559
|
-
* A Drawn HR svg inside a flex container
|
|
1560
|
-
*
|
|
1561
|
-
* use prop hrColor to change the color of the HR
|
|
1562
|
-
*
|
|
1563
|
-
* change the sizeProps of the flex container to change the size and dimentions of the HR
|
|
1564
|
-
*/
|
|
1565
|
-
declare const OakHandDrawnHR: (props: OakHandDrawnHRProps) => React__default.JSX.Element;
|
|
1566
|
-
|
|
1567
1567
|
type OakSmallSecondaryButtonWithDropdownProps = {
|
|
1568
1568
|
primaryActionText: string;
|
|
1569
1569
|
primaryActionIcon?: OakIconName;
|
|
@@ -1716,6 +1716,25 @@ type OakLeftAlignedButtonProps = Omit<InternalShadowRectButtonProps, "defaultBor
|
|
|
1716
1716
|
*/
|
|
1717
1717
|
declare const OakLeftAlignedButton: <C extends ElementType = "button">(props: OakLeftAlignedButtonProps & PolymorphicPropsWithoutRef<C>) => React__default.JSX.Element;
|
|
1718
1718
|
|
|
1719
|
+
type OakIconButtonColorScheme = "primary" | "inverted";
|
|
1720
|
+
type OakIconButtonSize = "sm" | "md";
|
|
1721
|
+
type OakIconButtonType = "primary" | "secondary";
|
|
1722
|
+
type OakIconButtonProps = {
|
|
1723
|
+
"aria-label": string;
|
|
1724
|
+
onClick?: (event: React__default.MouseEvent<HTMLButtonElement, MouseEvent>) => void;
|
|
1725
|
+
isLoading?: boolean;
|
|
1726
|
+
iconName: IconName;
|
|
1727
|
+
$colorScheme: OakIconButtonColorScheme;
|
|
1728
|
+
$size: OakIconButtonSize;
|
|
1729
|
+
$type: OakIconButtonType;
|
|
1730
|
+
disabled?: boolean;
|
|
1731
|
+
};
|
|
1732
|
+
/**
|
|
1733
|
+
*
|
|
1734
|
+
* Icon Buttons allow users to take actions, navigate, and make choices, with a single tap.
|
|
1735
|
+
*/
|
|
1736
|
+
declare const OakIconButton: <C extends ElementType = "button">(rawProps: OakIconButtonProps & PolymorphicPropsWithoutRef<C>) => React__default.JSX.Element;
|
|
1737
|
+
|
|
1719
1738
|
type OakCookieBannerProps = {
|
|
1720
1739
|
/**
|
|
1721
1740
|
* Triggered when the user clicks the "Hide this message" button.
|
|
@@ -2124,7 +2143,7 @@ type InternalCheckBoxLabelProps = {
|
|
|
2124
2143
|
$labelAlignItems?: FlexStyleProps["$alignItems"];
|
|
2125
2144
|
$labelGap?: FlexStyleProps["$gap"];
|
|
2126
2145
|
disabled?: boolean;
|
|
2127
|
-
pointerEvents?: CSSProperties["pointerEvents"];
|
|
2146
|
+
pointerEvents?: CSSProperties$1["pointerEvents"];
|
|
2128
2147
|
"data-testid"?: string;
|
|
2129
2148
|
} & OakLabelProps;
|
|
2130
2149
|
|
|
@@ -2773,31 +2792,31 @@ type OakGridProps = OakBoxProps & {
|
|
|
2773
2792
|
*
|
|
2774
2793
|
* Accepts a `grid-auto-rows` value or a responsive array of `grid-auto-rows` values.
|
|
2775
2794
|
*/
|
|
2776
|
-
$gridAutoRows?: ResponsiveValues<CSSProperties["gridAutoRows"]>;
|
|
2795
|
+
$gridAutoRows?: ResponsiveValues<CSSProperties$1["gridAutoRows"]>;
|
|
2777
2796
|
/**
|
|
2778
2797
|
* Applies `grid-template-areas` to the grid
|
|
2779
2798
|
*
|
|
2780
2799
|
* Accepts a `grid-template-areas` value or a responsive array of `grid-template-areas` values.
|
|
2781
2800
|
*/
|
|
2782
|
-
$gridTemplateAreas?: ResponsiveValues<CSSProperties["gridTemplateAreas"]>;
|
|
2801
|
+
$gridTemplateAreas?: ResponsiveValues<CSSProperties$1["gridTemplateAreas"]>;
|
|
2783
2802
|
/**
|
|
2784
2803
|
* Applies `grid-template-columns` to the grid
|
|
2785
2804
|
*
|
|
2786
2805
|
* Accepts a `grid-template-columns` value or a responsive array of `grid-template-columns` values.
|
|
2787
2806
|
*/
|
|
2788
|
-
$gridTemplateColumns?: ResponsiveValues<CSSProperties["gridTemplateColumns"]>;
|
|
2807
|
+
$gridTemplateColumns?: ResponsiveValues<CSSProperties$1["gridTemplateColumns"]>;
|
|
2789
2808
|
/**
|
|
2790
2809
|
* Applies `grid-template-rows` to the grid
|
|
2791
2810
|
*
|
|
2792
2811
|
* Accepts a `grid-template-rows` value or a responsive array of `grid-template-rows` values.
|
|
2793
2812
|
*/
|
|
2794
|
-
$gridTemplateRows?: ResponsiveValues<CSSProperties["gridTemplateRows"]>;
|
|
2813
|
+
$gridTemplateRows?: ResponsiveValues<CSSProperties$1["gridTemplateRows"]>;
|
|
2795
2814
|
/**
|
|
2796
2815
|
* Applies `align-items` to the grid
|
|
2797
2816
|
*
|
|
2798
2817
|
* Accepts a `align-items` value or a responsive array of `align-items` values.
|
|
2799
2818
|
*/
|
|
2800
|
-
$alignItems?: ResponsiveValues<CSSProperties["alignItems"]>;
|
|
2819
|
+
$alignItems?: ResponsiveValues<CSSProperties$1["alignItems"]>;
|
|
2801
2820
|
};
|
|
2802
2821
|
/**
|
|
2803
2822
|
* Creates a grid layout
|
|
@@ -2836,7 +2855,7 @@ type OakGridAreaProps = {
|
|
|
2836
2855
|
*
|
|
2837
2856
|
* Accepts a number or a responsive array of numbers.
|
|
2838
2857
|
*/
|
|
2839
|
-
$order?: ResponsiveValues<CSSProperties["order"]>;
|
|
2858
|
+
$order?: ResponsiveValues<CSSProperties$1["order"]>;
|
|
2840
2859
|
/**
|
|
2841
2860
|
* The start column of the element.
|
|
2842
2861
|
*
|
|
@@ -2900,7 +2919,7 @@ declare const OakGridArea: styled_components_dist_types.IStyledComponentBase<"we
|
|
|
2900
2919
|
*
|
|
2901
2920
|
* Accepts a number or a responsive array of numbers.
|
|
2902
2921
|
*/
|
|
2903
|
-
$order?: ResponsiveValues<CSSProperties["order"]>;
|
|
2922
|
+
$order?: ResponsiveValues<CSSProperties$1["order"]>;
|
|
2904
2923
|
/**
|
|
2905
2924
|
* The start column of the element.
|
|
2906
2925
|
*
|
|
@@ -2965,7 +2984,7 @@ declare const OakMaxWidth: styled_components_dist_types.IStyledComponentBase<"we
|
|
|
2965
2984
|
style?: React$1.CSSProperties | styled_components_dist_types.CSSPropertiesWithVars | (React$1.CSSProperties & {
|
|
2966
2985
|
[key: `--${string}`]: string | number | undefined;
|
|
2967
2986
|
}) | undefined;
|
|
2968
|
-
}, OakFlexProps>, "children" | "ref" | "
|
|
2987
|
+
}, OakFlexProps>, "children" | "ref" | "key" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "autoFocus" | "className" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "id" | "lang" | "nonce" | "slot" | "spellCheck" | "style" | "tabIndex" | "title" | "translate" | "radioGroup" | "role" | "about" | "content" | "datatype" | "inlist" | "prefix" | "property" | "rel" | "resource" | "rev" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "color" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-braillelabel" | "aria-brailleroledescription" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colindextext" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-description" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowindextext" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onResize" | "onResizeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "as" | "$position" | "$top" | "$right" | "$bottom" | "$left" | "$inset" | "$overflow" | "$overflowX" | "$overflowY" | "$objectFit" | "$objectPosition" | "$pointerEvents" | "$visibility" | "$verticalAlign" | "$width" | "$minWidth" | "$maxWidth" | "$height" | "$minHeight" | "$maxHeight" | "$aspectRatio" | "$boxSizing" | "$pa" | "$ph" | "$pv" | "$pl" | "$pr" | "$pt" | "$pb" | "$ma" | "$mh" | "$mv" | "$ml" | "$mr" | "$mt" | "$mb" | "$color" | "$background" | "$ba" | "$bt" | "$br" | "$bb" | "$bl" | "$bh" | "$bv" | "$borderStyle" | "$borderColor" | "$borderRadius" | "$btlr" | "$btrr" | "$bblr" | "$bbrr" | "$btr" | "$bbr" | "$display" | "$dropShadow" | "$opacity" | "$transform" | "$transformOrigin" | "$transition" | "$font" | "$textDecoration" | "$textAlign" | "$whiteSpace" | "$wordWrap" | "$textOverflow" | "$textWrap" | "$zIndex" | "$scrollMarginTop" | "$scrollMarginLeft" | "$flexDirection" | "$flexWrap" | "$alignItems" | "$alignContent" | "$justifyContent" | "$alignSelf" | "$flexGrow" | "$flexShrink" | "$order" | "$flexBasis" | "$gap" | "$columnGap" | "$rowGap" | "focusable" | "forwardedAs"> & Partial<Pick<styled_components_dist_types.Merged<Omit<styled_components.FastOmit<styled_components_dist_types.Merged<Omit<Omit<styled_components.FastOmit<styled_components_dist_types.Merged<Omit<React$1.DetailedHTMLProps<React$1.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "style"> & {
|
|
2969
2988
|
style?: React$1.CSSProperties | styled_components_dist_types.CSSPropertiesWithVars | undefined;
|
|
2970
2989
|
}, OakBoxProps>, "as" | "forwardedAs"> & {
|
|
2971
2990
|
as?: styled_components.WebTarget | undefined;
|
|
@@ -2983,7 +3002,7 @@ declare const OakMaxWidth: styled_components_dist_types.IStyledComponentBase<"we
|
|
|
2983
3002
|
style?: React$1.CSSProperties | styled_components_dist_types.CSSPropertiesWithVars | (React$1.CSSProperties & {
|
|
2984
3003
|
[key: `--${string}`]: string | number | undefined;
|
|
2985
3004
|
}) | undefined;
|
|
2986
|
-
}, OakFlexProps>, "children" | "ref" | "
|
|
3005
|
+
}, OakFlexProps>, "children" | "ref" | "key" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "autoFocus" | "className" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "id" | "lang" | "nonce" | "slot" | "spellCheck" | "style" | "tabIndex" | "title" | "translate" | "radioGroup" | "role" | "about" | "content" | "datatype" | "inlist" | "prefix" | "property" | "rel" | "resource" | "rev" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "color" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-braillelabel" | "aria-brailleroledescription" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colindextext" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-description" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowindextext" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onResize" | "onResizeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "as" | "$position" | "$top" | "$right" | "$bottom" | "$left" | "$inset" | "$overflow" | "$overflowX" | "$overflowY" | "$objectFit" | "$objectPosition" | "$pointerEvents" | "$visibility" | "$verticalAlign" | "$width" | "$minWidth" | "$maxWidth" | "$height" | "$minHeight" | "$maxHeight" | "$aspectRatio" | "$boxSizing" | "$pa" | "$ph" | "$pv" | "$pl" | "$pr" | "$pt" | "$pb" | "$ma" | "$mh" | "$mv" | "$ml" | "$mr" | "$mt" | "$mb" | "$color" | "$background" | "$ba" | "$bt" | "$br" | "$bb" | "$bl" | "$bh" | "$bv" | "$borderStyle" | "$borderColor" | "$borderRadius" | "$btlr" | "$btrr" | "$bblr" | "$bbrr" | "$btr" | "$bbr" | "$display" | "$dropShadow" | "$opacity" | "$transform" | "$transformOrigin" | "$transition" | "$font" | "$textDecoration" | "$textAlign" | "$whiteSpace" | "$wordWrap" | "$textOverflow" | "$textWrap" | "$zIndex" | "$scrollMarginTop" | "$scrollMarginLeft" | "$flexDirection" | "$flexWrap" | "$alignItems" | "$alignContent" | "$justifyContent" | "$alignSelf" | "$flexGrow" | "$flexShrink" | "$order" | "$flexBasis" | "$gap" | "$columnGap" | "$rowGap" | "focusable" | "forwardedAs">>> & string;
|
|
2987
3006
|
|
|
2988
3007
|
type OakAccordionProps = {
|
|
2989
3008
|
/**
|
|
@@ -5114,7 +5133,7 @@ declare const StyledMediaClipImage: styled_components_dist_types.IStyledComponen
|
|
|
5114
5133
|
imageProps?: Partial<Omit<any, "ref">> | undefined;
|
|
5115
5134
|
}, "style"> & {
|
|
5116
5135
|
style?: React__default.CSSProperties | styled_components_dist_types.CSSPropertiesWithVars | undefined;
|
|
5117
|
-
}, StyledImageProps>> & string & Omit<(<C extends React__default.ElementType = React__default.ForwardRefExoticComponent<Omit<React__default.DetailedHTMLProps<React__default.ImgHTMLAttributes<HTMLImageElement>, HTMLImageElement>, "ref" | "
|
|
5136
|
+
}, StyledImageProps>> & string & Omit<(<C extends React__default.ElementType = React__default.ForwardRefExoticComponent<Omit<React__default.DetailedHTMLProps<React__default.ImgHTMLAttributes<HTMLImageElement>, HTMLImageElement>, "ref" | "src" | "srcSet" | "alt" | "width" | "height" | "loading"> & {
|
|
5118
5137
|
src: string | next_dist_shared_lib_get_img_props.StaticImport;
|
|
5119
5138
|
alt: string;
|
|
5120
5139
|
width?: number | `${number}`;
|
|
@@ -5334,7 +5353,7 @@ type ListStyleProps = {
|
|
|
5334
5353
|
*
|
|
5335
5354
|
* Accepts a `list-style` value or a responsive array of `list-style` values.
|
|
5336
5355
|
*/
|
|
5337
|
-
$listStyle?: ResponsiveValues<CSSProperties["listStyle"]>;
|
|
5356
|
+
$listStyle?: ResponsiveValues<CSSProperties$1["listStyle"]>;
|
|
5338
5357
|
};
|
|
5339
5358
|
|
|
5340
5359
|
type OakLIProps = OakFlexProps & TypographyStyleProps & ListStyleProps & DisplayStyleProps;
|
|
@@ -5351,9 +5370,9 @@ declare const oakLIDefaults: {
|
|
|
5351
5370
|
};
|
|
5352
5371
|
declare const OakLI: styled_components_dist_types.IStyledComponentBase<"web", Omit<styled_components_dist_types.Merged<styled_components_dist_types.Merged<Omit<React$1.DetailedHTMLProps<React$1.LiHTMLAttributes<HTMLLIElement>, HTMLLIElement>, "style"> & {
|
|
5353
5372
|
style?: React$1.CSSProperties | styled_components_dist_types.CSSPropertiesWithVars | undefined;
|
|
5354
|
-
}, OakLIProps>, OakLIProps>, "children" | "ref" | "
|
|
5373
|
+
}, OakLIProps>, OakLIProps>, "children" | "ref" | "key" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "autoFocus" | "className" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "id" | "lang" | "nonce" | "slot" | "spellCheck" | "style" | "tabIndex" | "title" | "translate" | "radioGroup" | "role" | "about" | "content" | "datatype" | "inlist" | "prefix" | "property" | "rel" | "resource" | "rev" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "color" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-braillelabel" | "aria-brailleroledescription" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colindextext" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-description" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowindextext" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onResize" | "onResizeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "$position" | "$top" | "$right" | "$bottom" | "$left" | "$inset" | "$overflow" | "$overflowX" | "$overflowY" | "$objectFit" | "$objectPosition" | "$pointerEvents" | "$visibility" | "$verticalAlign" | "$width" | "$minWidth" | "$maxWidth" | "$height" | "$minHeight" | "$maxHeight" | "$aspectRatio" | "$boxSizing" | "$pa" | "$ph" | "$pv" | "$pl" | "$pr" | "$pt" | "$pb" | "$ma" | "$mh" | "$mv" | "$ml" | "$mr" | "$mt" | "$mb" | "$color" | "$background" | "$ba" | "$bt" | "$br" | "$bb" | "$bl" | "$bh" | "$bv" | "$borderStyle" | "$borderColor" | "$borderRadius" | "$btlr" | "$btrr" | "$bblr" | "$bbrr" | "$btr" | "$bbr" | "$display" | "$dropShadow" | "$opacity" | "$transform" | "$transformOrigin" | "$transition" | "$font" | "$textDecoration" | "$textAlign" | "$whiteSpace" | "$wordWrap" | "$textOverflow" | "$textWrap" | "$zIndex" | "$scrollMarginTop" | "$scrollMarginLeft" | "value" | "$flexDirection" | "$flexWrap" | "$alignItems" | "$alignContent" | "$justifyContent" | "$alignSelf" | "$flexGrow" | "$flexShrink" | "$order" | "$flexBasis" | "$gap" | "$columnGap" | "$rowGap" | "focusable" | "$listStyle"> & Partial<Pick<styled_components_dist_types.Merged<styled_components_dist_types.Merged<Omit<React$1.DetailedHTMLProps<React$1.LiHTMLAttributes<HTMLLIElement>, HTMLLIElement>, "style"> & {
|
|
5355
5374
|
style?: React$1.CSSProperties | styled_components_dist_types.CSSPropertiesWithVars | undefined;
|
|
5356
|
-
}, OakLIProps>, OakLIProps>, "children" | "ref" | "
|
|
5375
|
+
}, OakLIProps>, OakLIProps>, "children" | "ref" | "key" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "autoFocus" | "className" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "id" | "lang" | "nonce" | "slot" | "spellCheck" | "style" | "tabIndex" | "title" | "translate" | "radioGroup" | "role" | "about" | "content" | "datatype" | "inlist" | "prefix" | "property" | "rel" | "resource" | "rev" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "color" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-braillelabel" | "aria-brailleroledescription" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colindextext" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-description" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowindextext" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onResize" | "onResizeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "$position" | "$top" | "$right" | "$bottom" | "$left" | "$inset" | "$overflow" | "$overflowX" | "$overflowY" | "$objectFit" | "$objectPosition" | "$pointerEvents" | "$visibility" | "$verticalAlign" | "$width" | "$minWidth" | "$maxWidth" | "$height" | "$minHeight" | "$maxHeight" | "$aspectRatio" | "$boxSizing" | "$pa" | "$ph" | "$pv" | "$pl" | "$pr" | "$pt" | "$pb" | "$ma" | "$mh" | "$mv" | "$ml" | "$mr" | "$mt" | "$mb" | "$color" | "$background" | "$ba" | "$bt" | "$br" | "$bb" | "$bl" | "$bh" | "$bv" | "$borderStyle" | "$borderColor" | "$borderRadius" | "$btlr" | "$btrr" | "$bblr" | "$bbrr" | "$btr" | "$bbr" | "$display" | "$dropShadow" | "$opacity" | "$transform" | "$transformOrigin" | "$transition" | "$font" | "$textDecoration" | "$textAlign" | "$whiteSpace" | "$wordWrap" | "$textOverflow" | "$textWrap" | "$zIndex" | "$scrollMarginTop" | "$scrollMarginLeft" | "value" | "$flexDirection" | "$flexWrap" | "$alignItems" | "$alignContent" | "$justifyContent" | "$alignSelf" | "$flexGrow" | "$flexShrink" | "$order" | "$flexBasis" | "$gap" | "$columnGap" | "$rowGap" | "focusable" | "$listStyle">>> & string;
|
|
5357
5376
|
|
|
5358
5377
|
type OakOLProps = MarginStyleProps & ColorStyleProps & TypographyStyleProps;
|
|
5359
5378
|
/**
|
|
@@ -5548,5 +5567,5 @@ declare const useIsScrolled: () => {
|
|
|
5548
5567
|
|
|
5549
5568
|
declare const useBreakpoint: () => Device;
|
|
5550
5569
|
|
|
5551
|
-
export { DropdownContext, HeadingTagComponent, IconDown, IconUp, OakAccordion, OakAnchorTarget, OakBackLink, OakBasicAccordion, OakBox, OakBreadcrumbs, OakBulletList, OakButtonAsRadioGroup, OakButtonWithDropdown, OakButtonWithDropdownProvider, OakCard, OakCardHeader, OakCardWithHandDrawnBorder, OakCarousel, OakCheckBox, OakCloseButton, OakCloudinaryConfigProvider, OakCloudinaryImage, OakCodeRenderer, OakCollapsibleContent, OakCookieBanner, OakCookieConsent, OakCookieConsentContext, OakCookieConsentProvider, OakCookieSettingsModal, OakCopyLinkButton, OakDownloadsJourneyChildSubjectTierSelector, OakDragAndDropInstructions, OakDraggable, OakDraggableFeedback, OakDroppable, OakErrorBoundary, OakErrorBoundaryBorderColor, OakFieldError, OakFieldset, OakFlex, OakFocusIndicator, OakForm, OakFormInput, OakFormInputWithLabels, OakGlobalStyle, OakGrid, OakGridArea, OakHandDrawnCard, OakHandDrawnCardWithIcon, OakHandDrawnFocusUnderline, OakHandDrawnHR, OakHeaderHero, OakHeading, OakHintButton, OakHomepageTabButton, OakHoverLink, OakIcon, OakImage, OakInfo, OakInfoButton, OakInformativeModal, OakInformativeModalBody, OakInformativeModalBorderColor, OakInformativeModalFooter, OakInlineBanner, OakInlineRegistrationBanner, OakJauntyAngleLabel, OakKbd, OakLI, OakLabel, OakLeftAlignedButton, OakLessonBottomNav, OakLessonInfoCard, OakLessonLayout, OakLessonNavItem, OakLessonReviewIntroVideo, OakLessonReviewItem, OakLessonReviewQuiz, OakLessonTopNav, OakLessonVideoTranscript, OakLink, OakLinkCard, OakListItem, OakLoadingSpinner, OakMaxWidth, OakMediaClip, OakMediaClipList, OakMediaClipListAccordion, OakMediaClipStackListItem, OakModalCenter, OakModalCenterBody, OakMultilineText, OakOL, OakOptGroup, OakOption, OakOutlineAccordion, OakP, OakPagination, OakPrimaryButton, OakPrimaryInvertedButton, OakPrimaryNav, OakPrimaryNavItem, OakPromoTag, OakPupilJourneyContentGuidance, OakPupilJourneyHeader, OakPupilJourneyLayout, OakPupilJourneyList, OakPupilJourneyListCounter, OakPupilJourneyListItem, OakPupilJourneyListItemSubheading, OakPupilJourneyOptionalityButton, OakPupilJourneyOptionalityItem, OakPupilJourneyProgrammeOptions, OakPupilJourneyUnitsFilter, OakPupilJourneyYearButton, OakQuizCheckBox, OakQuizCounter, OakQuizFeedback, OakQuizHint, OakQuizMatch, OakQuizMatchItemId, OakQuizOrder, OakQuizOrderitemId, OakQuizPrintableHeader, OakQuizPrintableSubHeader, OakQuizRadioButton, OakQuizResultItem, OakQuizTextInput, OakQuote, OakRadioAsButton, OakRadioButton, OakRadioGroup, OakResourceCard, OakResourcesAccordion, OakRoundIcon, OakSaveCount, OakScaleImageButton, OakScreenReader, OakSearchFilterCheckBox, OakSecondaryButton, OakSecondaryButtonAsRadio, OakSecondaryButtonWithDropdown, OakSecondaryLink, OakSelect, OakSideMenuNav, OakSideMenuNavLink, OakSignLanguageButton, OakSmallPrimaryButton, OakSmallPrimaryInvertedButton, OakSmallSecondaryButton, OakSmallSecondaryButtonWithDropdown, OakSmallSecondaryToggleButton, OakSmallTertiaryInvertedButton, OakSpan, OakStaticMessageCard, OakSubjectIcon, OakSubjectIconButton, OakSvg, OakTabs, OakTagFunctional, OakTeacherNotesInline, OakTeacherNotesModal, OakTertiaryButton, OakTertiaryInvertedButton, OakTertiaryOLNav, OakTextArea, OakTextInput, OakThemeProvider, OakTimer, OakToast, OakTooltip, OakTypography, OakUL, OakUnitListItem, OakUnitListOptionalityItem, OakVideo, OakVideoTranscript, RadioContext, ReviewItemContainer, ReviewItemTitleSection, StyledMediaClipImage, UnstyledChevronAccordion, announcements, bannerTypes, bannerVariants, colorSchemes, formatTimeCode, generateOakIconURL, getBackgroundUrlForSection, getBreakpoint, getDefaultContextState, getMediaQuery, installMockIntersectionObserver, installMockResizeObserver, isValidIconName, lessonSectionNames, oakAllSpacingTokens, oakBorderRadiusTokens, oakBorderWidthTokens, oakBoxCss, oakColorTokens, oakDarkTheme, oakDefaultTheme, oakDropShadowTokens, oakFlexCss, oakFontSizeTokens, oakFontTokens, oakHeadingTags, oakIconNames, oakLIDefaults, oakOpacityTokens, oakPlaceholder, oakSpaceBetweenTokens, oakTransitionTokens, oakUiRoleTokens, oakZIndexTokens, parseBorder, parseBorderRadius, parseBorderWidth, parseColor, parseColorFilter, parseDropShadow, parseFontSize, parseFontWeight, parseLetterSpacing, parseLineHeight, parseOpacity, parseSpacing, parseTransitions, parseZIndex, placeholderStyles, removedGuidanceDuplicates, responsiveStyle, rgbToHex, useBreakpoint, useCookieConsent, useDevice, useDropdownContext, useIsScrolled, useMediaQuery, useMounted };
|
|
5552
|
-
export type { BannerTypes, BreakpointName, Consent, Device, InternalQuizResultItemProps, LessonSectionName$1 as LessonSectionName, MenuItemProps, OakAccordionProps, OakAllSpacingToken, OakAnchorTargetProps, OakBackLinkProps, OakBasicAccordionProps, OakBorderRadiusToken, OakBorderWidthToken, OakBoxProps, OakBreadcrumb, OakBreadcrumbWithoutHref, OakBreadcrumbsProps, OakBulletListProps, OakButtonWithDropdownProps, OakCardHeaderprops, OakCardProps, OakCardWithHandDrawnBorderProps, OakCarouselProps, OakCheckBoxProps, OakCloseButtonProps, OakCloudinaryImageProps, OakCodeRendererProps, OakCollapsibleContentProps, OakColorFilterToken, OakColorToken, OakCombinedSpacingToken, OakCookieBannerProps, OakCookieConsentProps, OakCookieSettingsModalProps, OakDownloadsJourneyChildSubjectTierSelectorProps, OakDropShadowToken, OakDroppableProps, OakErrorBoundaryCloseAction, OakErrorBoundaryProps, OakFieldErrorProps, OakFieldsetProps, OakFlexProps, OakFocusIndicatorProps, OakFontSizeToken, OakFontToken, OakFormInputProps, OakFormInputWithLabelsProps, OakFormProps, OakGridAreaProps, OakGridProps, OakHandDrawnBoxWithIconProps, OakHandDrawnCardProps, OakHandDrawnFocusUnderlineProps, OakHandDrawnHRProps, OakHeaderHeroProps, OakHeadingProps, OakHeadingTag, OakHintButtonProps, OakHomepageTabButtonProps, OakHoverLinkProps, OakIconName, OakIconProps, OakImageProps, OakInfoButtonProps, OakInfoCardProps, OakInfoProps, OakInformativeModalBodyProps, OakInformativeModalCloseAction, OakInformativeModalFooterProps, OakInformativeModalProps, OakInlineBannerProps, OakInlineBannerTypes, OakInlineBannerVariantProps, OakInlineBannerVariants, OakInlineRegistrationBannerProps, OakJauntyAngleLabelProps, OakKbdProps, OakLIProps, OakLabelProps, OakLeftAlignedButtonProps, OakLessonBottomNavProps, OakLessonLayoutProps, OakLessonNavItemProps, OakLessonReviewIntroVideoProps, OakLessonReviewItemProps, OakLessonTopNavProps, OakLinkCardProps, OakLinkProps, OakListItemProps, OakLoadingSpinnerProps, OakMediaClipListProps, OakMediaClipProps, OakMediaClipStackListItemProps, OakModalCenterBodyProps, OakModalCenterProps, OakMultilineTextProps, OakOLProps, OakOpacityToken, OakOptGroupProps, OakOptionProps, OakOutlineAccordionProps, OakPProps, OakPaginationProps, OakPrimaryButtonProps, OakPrimaryInvertedButtonProps, OakPrimaryNavItemProps, OakPrimaryNavProps, OakPromoTagProps, OakPupilContentGuidance, OakPupilJourneyContentGuidanceProps, OakPupilJourneyHeaderProps, OakPupilJourneyLayoutProps, OakPupilJourneyListItemSubheadingProps, OakPupilJourneyListProps, OakPupilJourneyOptionalityItemProps, OakPupilJourneyProgrammeOptionsProps, OakPupilJourneyUnitsFilterProps, OakPupilJourneyYearButtonProps, OakQuizCheckBoxProps, OakQuizCounterProps, OakQuizFeedbackProps, OakQuizHintProps, OakQuizMatchProps, OakQuizOrderProps, OakQuizPrintableHeaderProps, OakQuizPrintableSubHeaderProps, OakQuizRadioButtonProps, OakQuoteProps, OakRadioAsButtonProps, OakRadioGroupProps, OakResourceCardProps, OakResourcesAccordionProps, OakRoundIconProps, OakSaveCountProps, OakScaleImageButtonProps, OakSearchFilterCheckBoxProps, OakSecondaryButtonAsRadioProps, OakSecondaryButtonProps, OakSecondaryButtonWithDropdownProps, OakSecondaryLinkProps, OakSelectProps, OakSideMenuNavLinkProps, OakSideMenuNavProps, OakSmallPrimaryButtonProps, OakSmallPrimaryInvertedButtonProps, OakSmallSecondaryButtonProps, OakSmallSecondaryButtonWithDropdownProps, OakSmallSecondaryToggleButtonProps, OakSmallTertiaryInvertedButtonProps, OakSolidBorderAccordionProps, OakSpaceBetweenToken, OakSpanProps, OakSubjectIconButtonProps, OakSubjectIconProps, OakSvgNames, OakSvgProps, OakTabsProps, OakTagFunctionalProps, OakTeacherNotesInlineProps, OakTeacherNotesModalProps, OakTertiaryOLNavProps, OakTextAreaProps, OakTextInputProps, OakTheme, OakThemeProviderProps, OakTimerProps, OakToastProps, OakTooltipProps, OakTransitionToken, OakTypographyProps, OakULProps, OakUiRoleToken, OakUnitListItemProps, OakUnitListOptionalityItemProps, OakVideoProps, OakZIndexToken, Phase$1 as Phase, PolicyConsent, PupilJourneySectionName, StyledImageProps, Subject, Tier, UnstyledChevronAccordionProps };
|
|
5570
|
+
export { DropdownContext, HeadingTagComponent, IconDown, IconUp, OakAccordion, OakAnchorTarget, OakBackLink, OakBasicAccordion, OakBox, OakBreadcrumbs, OakBulletList, OakButtonAsRadioGroup, OakButtonWithDropdown, OakButtonWithDropdownProvider, OakCard, OakCardHeader, OakCardWithHandDrawnBorder, OakCarousel, OakCheckBox, OakCloseButton, OakCloudinaryConfigProvider, OakCloudinaryImage, OakCodeRenderer, OakCollapsibleContent, OakCookieBanner, OakCookieConsent, OakCookieConsentContext, OakCookieConsentProvider, OakCookieSettingsModal, OakCopyLinkButton, OakDownloadsJourneyChildSubjectTierSelector, OakDragAndDropInstructions, OakDraggable, OakDraggableFeedback, OakDroppable, OakErrorBoundary, OakErrorBoundaryBorderColor, OakFieldError, OakFieldset, OakFlex, OakFocusIndicator, OakForm, OakFormInput, OakFormInputWithLabels, OakGlobalStyle, OakGrid, OakGridArea, OakHandDrawnCard, OakHandDrawnCardWithIcon, OakHandDrawnFocusUnderline, OakHandDrawnHR, OakHeaderHero, OakHeading, OakHintButton, OakHomepageTabButton, OakHoverLink, OakIcon, OakIconButton, OakImage, OakInfo, OakInfoButton, OakInformativeModal, OakInformativeModalBody, OakInformativeModalBorderColor, OakInformativeModalFooter, OakInlineBanner, OakInlineRegistrationBanner, OakJauntyAngleLabel, OakKbd, OakLI, OakLabel, OakLeftAlignedButton, OakLessonBottomNav, OakLessonInfoCard, OakLessonLayout, OakLessonNavItem, OakLessonReviewIntroVideo, OakLessonReviewItem, OakLessonReviewQuiz, OakLessonTopNav, OakLessonVideoTranscript, OakLink, OakLinkCard, OakListItem, OakLoadingSpinner, OakMaxWidth, OakMediaClip, OakMediaClipList, OakMediaClipListAccordion, OakMediaClipStackListItem, OakModalCenter, OakModalCenterBody, OakMultilineText, OakOL, OakOptGroup, OakOption, OakOutlineAccordion, OakP, OakPagination, OakPrimaryButton, OakPrimaryInvertedButton, OakPrimaryNav, OakPrimaryNavItem, OakPromoTag, OakPupilJourneyContentGuidance, OakPupilJourneyHeader, OakPupilJourneyLayout, OakPupilJourneyList, OakPupilJourneyListCounter, OakPupilJourneyListItem, OakPupilJourneyListItemSubheading, OakPupilJourneyOptionalityButton, OakPupilJourneyOptionalityItem, OakPupilJourneyProgrammeOptions, OakPupilJourneyUnitsFilter, OakPupilJourneyYearButton, OakQuizCheckBox, OakQuizCounter, OakQuizFeedback, OakQuizHint, OakQuizMatch, OakQuizMatchItemId, OakQuizOrder, OakQuizOrderitemId, OakQuizPrintableHeader, OakQuizPrintableSubHeader, OakQuizRadioButton, OakQuizResultItem, OakQuizTextInput, OakQuote, OakRadioAsButton, OakRadioButton, OakRadioGroup, OakResourceCard, OakResourcesAccordion, OakRoundIcon, OakSaveCount, OakScaleImageButton, OakScreenReader, OakSearchFilterCheckBox, OakSecondaryButton, OakSecondaryButtonAsRadio, OakSecondaryButtonWithDropdown, OakSecondaryLink, OakSelect, OakSideMenuNav, OakSideMenuNavLink, OakSignLanguageButton, OakSmallPrimaryButton, OakSmallPrimaryInvertedButton, OakSmallSecondaryButton, OakSmallSecondaryButtonWithDropdown, OakSmallSecondaryToggleButton, OakSmallTertiaryInvertedButton, OakSpan, OakStaticMessageCard, OakSubjectIcon, OakSubjectIconButton, OakSvg, OakTabs, OakTagFunctional, OakTeacherNotesInline, OakTeacherNotesModal, OakTertiaryButton, OakTertiaryInvertedButton, OakTertiaryOLNav, OakTextArea, OakTextInput, OakThemeProvider, OakTimer, OakToast, OakTooltip, OakTypography, OakUL, OakUnitListItem, OakUnitListOptionalityItem, OakVideo, OakVideoTranscript, RadioContext, ReviewItemContainer, ReviewItemTitleSection, StyledMediaClipImage, UnstyledChevronAccordion, announcements, bannerTypes, bannerVariants, colorSchemes, formatTimeCode, generateOakIconURL, getBackgroundUrlForSection, getBreakpoint, getDefaultContextState, getMediaQuery, installMockIntersectionObserver, installMockResizeObserver, isValidIconName, lessonSectionNames, oakAllSpacingTokens, oakBorderRadiusTokens, oakBorderWidthTokens, oakBoxCss, oakColorTokens, oakDarkTheme, oakDefaultTheme, oakDropShadowTokens, oakFlexCss, oakFontSizeTokens, oakFontTokens, oakHeadingTags, oakIconNames, oakLIDefaults, oakOpacityTokens, oakPlaceholder, oakSpaceBetweenTokens, oakTransitionTokens, oakUiRoleTokens, oakZIndexTokens, parseBorder, parseBorderRadius, parseBorderWidth, parseColor, parseColorFilter, parseDropShadow, parseFontSize, parseFontWeight, parseLetterSpacing, parseLineHeight, parseOpacity, parseSpacing, parseTransitions, parseZIndex, placeholderStyles, removedGuidanceDuplicates, responsiveStyle, rgbToHex, useBreakpoint, useCookieConsent, useDevice, useDropdownContext, useIsScrolled, useMediaQuery, useMounted };
|
|
5571
|
+
export type { BannerTypes, BreakpointName, Consent, Device, InternalQuizResultItemProps, LessonSectionName$1 as LessonSectionName, MenuItemProps, OakAccordionProps, OakAllSpacingToken, OakAnchorTargetProps, OakBackLinkProps, OakBasicAccordionProps, OakBorderRadiusToken, OakBorderWidthToken, OakBoxProps, OakBreadcrumb, OakBreadcrumbWithoutHref, OakBreadcrumbsProps, OakBulletListProps, OakButtonWithDropdownProps, OakCardHeaderprops, OakCardProps, OakCardWithHandDrawnBorderProps, OakCarouselProps, OakCheckBoxProps, OakCloseButtonProps, OakCloudinaryImageProps, OakCodeRendererProps, OakCollapsibleContentProps, OakColorFilterToken, OakColorToken, OakCombinedSpacingToken, OakCookieBannerProps, OakCookieConsentProps, OakCookieSettingsModalProps, OakDownloadsJourneyChildSubjectTierSelectorProps, OakDropShadowToken, OakDroppableProps, OakErrorBoundaryCloseAction, OakErrorBoundaryProps, OakFieldErrorProps, OakFieldsetProps, OakFlexProps, OakFocusIndicatorProps, OakFontSizeToken, OakFontToken, OakFormInputProps, OakFormInputWithLabelsProps, OakFormProps, OakGridAreaProps, OakGridProps, OakHandDrawnBoxWithIconProps, OakHandDrawnCardProps, OakHandDrawnFocusUnderlineProps, OakHandDrawnHRProps, OakHeaderHeroProps, OakHeadingProps, OakHeadingTag, OakHintButtonProps, OakHomepageTabButtonProps, OakHoverLinkProps, OakIconButtonProps, OakIconName, OakIconProps, OakImageProps, OakInfoButtonProps, OakInfoCardProps, OakInfoProps, OakInformativeModalBodyProps, OakInformativeModalCloseAction, OakInformativeModalFooterProps, OakInformativeModalProps, OakInlineBannerProps, OakInlineBannerTypes, OakInlineBannerVariantProps, OakInlineBannerVariants, OakInlineRegistrationBannerProps, OakJauntyAngleLabelProps, OakKbdProps, OakLIProps, OakLabelProps, OakLeftAlignedButtonProps, OakLessonBottomNavProps, OakLessonLayoutProps, OakLessonNavItemProps, OakLessonReviewIntroVideoProps, OakLessonReviewItemProps, OakLessonTopNavProps, OakLinkCardProps, OakLinkProps, OakListItemProps, OakLoadingSpinnerProps, OakMediaClipListProps, OakMediaClipProps, OakMediaClipStackListItemProps, OakModalCenterBodyProps, OakModalCenterProps, OakMultilineTextProps, OakOLProps, OakOpacityToken, OakOptGroupProps, OakOptionProps, OakOutlineAccordionProps, OakPProps, OakPaginationProps, OakPrimaryButtonProps, OakPrimaryInvertedButtonProps, OakPrimaryNavItemProps, OakPrimaryNavProps, OakPromoTagProps, OakPupilContentGuidance, OakPupilJourneyContentGuidanceProps, OakPupilJourneyHeaderProps, OakPupilJourneyLayoutProps, OakPupilJourneyListItemSubheadingProps, OakPupilJourneyListProps, OakPupilJourneyOptionalityItemProps, OakPupilJourneyProgrammeOptionsProps, OakPupilJourneyUnitsFilterProps, OakPupilJourneyYearButtonProps, OakQuizCheckBoxProps, OakQuizCounterProps, OakQuizFeedbackProps, OakQuizHintProps, OakQuizMatchProps, OakQuizOrderProps, OakQuizPrintableHeaderProps, OakQuizPrintableSubHeaderProps, OakQuizRadioButtonProps, OakQuoteProps, OakRadioAsButtonProps, OakRadioGroupProps, OakResourceCardProps, OakResourcesAccordionProps, OakRoundIconProps, OakSaveCountProps, OakScaleImageButtonProps, OakSearchFilterCheckBoxProps, OakSecondaryButtonAsRadioProps, OakSecondaryButtonProps, OakSecondaryButtonWithDropdownProps, OakSecondaryLinkProps, OakSelectProps, OakSideMenuNavLinkProps, OakSideMenuNavProps, OakSmallPrimaryButtonProps, OakSmallPrimaryInvertedButtonProps, OakSmallSecondaryButtonProps, OakSmallSecondaryButtonWithDropdownProps, OakSmallSecondaryToggleButtonProps, OakSmallTertiaryInvertedButtonProps, OakSolidBorderAccordionProps, OakSpaceBetweenToken, OakSpanProps, OakSubjectIconButtonProps, OakSubjectIconProps, OakSvgNames, OakSvgProps, OakTabsProps, OakTagFunctionalProps, OakTeacherNotesInlineProps, OakTeacherNotesModalProps, OakTertiaryOLNavProps, OakTextAreaProps, OakTextInputProps, OakTheme, OakThemeProviderProps, OakTimerProps, OakToastProps, OakTooltipProps, OakTransitionToken, OakTypographyProps, OakULProps, OakUiRoleToken, OakUnitListItemProps, OakUnitListOptionalityItemProps, OakVideoProps, OakZIndexToken, Phase$1 as Phase, PolicyConsent, PupilJourneySectionName, StyledImageProps, Subject, Tier, UnstyledChevronAccordionProps };
|