@oaknational/oak-components 3.28.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.
@@ -1,7 +1,7 @@
1
1
  import * as React$1 from 'react';
2
- import React__default, { CSSProperties as CSSProperties$1, MouseEventHandler, ElementType, ComponentPropsWithoutRef, ComponentPropsWithRef, FC, ReactNode, HTMLAttributes, DetailedHTMLProps, TextareaHTMLAttributes, InputHTMLAttributes, FocusEvent, ChangeEventHandler, ComponentProps, ReactElement, Component, MutableRefObject, ButtonHTMLAttributes, PropsWithChildren } from 'react';
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 { CSSProperties, DefaultTheme } from 'styled-components';
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 breakpointsByName: {
15
- small: number;
16
- large: number;
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 BreakpointName = keyof typeof breakpointsByName;
19
- /** Get the pixel width for a breakpoint by its name. */
20
- declare const getBreakpoint: (breakpointName: keyof typeof breakpointsByName) => number;
21
- type Device = "mobile" | "tablet" | "desktop";
210
+ type IconName = keyof typeof icons;
211
+
212
+ type OakIconName = IconName;
213
+ declare const oakIconNames: IconName[];
22
214
  /**
23
- * Get a CSS snippet of a media query condition which matches a specific device.
24
- *
25
- * @example
26
- * `@media ${getMediaQuery("mobile")} { ... }`
215
+ * returns true if the given string is a valid `OakIconName`
27
216
  */
28
- declare const getMediaQuery: (device: Device) => string;
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
- * Helper for a styled component's styles. Generates CSS to apply a value to a
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 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;
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
- type BorderWidth = ResponsiveValues<OakBorderWidthToken>;
352
- type _BorderStyleProps = ResponsiveValues<CSSProperties["borderStyle"]>;
353
- type BorderColorProps = ResponsiveValues<OakUiRoleToken>;
354
- type BorderRadiusProps = ResponsiveValues<OakBorderRadiusToken>;
355
- type BorderStyleProps = {
356
- /**
357
- * Apply border on all sides
358
- *
359
- * Accepts a border-width token or a responsive array of border-width tokens
360
- */
361
- $ba?: BorderWidth;
362
- /**
363
- * Apply border to the top
364
- *
365
- * Accepts a border-width token or a responsive array of border-width tokens
366
- */
367
- $bt?: BorderWidth;
368
- /**
369
- * Apply border to the right
370
- *
371
- * Accepts a border-width token or a responsive array of border-width tokens
372
- */
373
- $br?: BorderWidth;
374
- /**
375
- * Apply border to the bottom
376
- *
377
- * Accepts a border-width token or a responsive array of border-width tokens
378
- */
379
- $bb?: BorderWidth;
380
- /**
381
- * Apply border to the left
382
- *
383
- * Accepts a border-width token or a responsive array of border-width tokens
384
- */
385
- $bl?: BorderWidth;
386
- /**
387
- * Apply border to the left and right
388
- *
389
- * Accepts a border-width token or a responsive array of border-width tokens
390
- */
391
- $bh?: BorderWidth;
392
- /**
393
- * Apply border to the top and bottom
394
- *
395
- * Accepts a border-width token or a responsive array of border-width tokens
396
- */
397
- $bv?: BorderWidth;
398
- /**
399
- * Apply `border-style` to the element
400
- *
401
- * Accepts a single value or a responsive array of values.
402
- */
403
- $borderStyle?: _BorderStyleProps;
404
- /**
405
- * Apply a border color to all sides of the element
406
- *
407
- * Accepts a UI role token or a responsive array of UI role tokens.
408
- */
409
- $borderColor?: BorderColorProps;
410
- $borderRadius?: BorderRadiusProps;
411
- /**
412
- * Apply border radius to the top left
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;
447
- };
448
-
449
- /**
450
- * Color token!
451
- */
452
- type ColorToken = ResponsiveValues<OakUiRoleToken | null>;
453
- type ColorStyleProps = {
454
- /**
455
- * Sets the `color` of the element.
456
- *
457
- * Accepts a UI role token or a responsive array of UI role tokens.
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;
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;
466
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;
401
+ };
402
+ type AdditionalSpacingTypes = keyof typeof additionalSpacingTokens;
403
+ type OakCombinedSpacingToken = OakAllSpacingToken | OakSpaceBetweenToken | AdditionalSpacingTypes;
467
404
 
468
- type PaddingValues = ResponsiveValues<OakAllSpacingToken | null | undefined>;
469
- type PaddingStyleProps = {
470
- /**
471
- * Applies `padding` to all sides of the element
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;
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;
512
415
  };
513
- type MarginValue = "auto" | OakSpaceBetweenToken | null | undefined;
514
- type MarginValues = ResponsiveValues<MarginValue>;
515
- type MarginStyleProps = {
516
- /**
517
- * Applies `margin` to all sides of the element
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;
416
+ type OakDropShadowToken = keyof typeof oakDropShadowTokens;
417
+
418
+ declare const oakOpacityTokens: {
419
+ transparent: number;
420
+ "semi-transparent": number;
421
+ "semi-opaque": number;
422
+ opaque: number;
558
423
  };
559
- type SpacingStyleProps = PaddingStyleProps & MarginStyleProps;
424
+ type OakOpacityToken = keyof typeof oakOpacityTokens;
560
425
 
561
- type PositionSpacing = OakAllSpacingToken | OakSpaceBetweenToken | "-50%" | "50%" | null | undefined;
562
- type PositionStyleProps = {
563
- /**
564
- * Sets the `position` CSS property of the element.
565
- *
566
- * Accepts a `position` value or a responsive array of `position` values. Can be nulled.
567
- */
568
- $position?: ResponsiveValues<CSSProperties$1["position"]>;
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"]>;
426
+ declare const oakTransitionTokens: {
427
+ "standard-ease": string;
428
+ "standard-transform": string;
656
429
  };
430
+ type OakTransitionToken = keyof typeof oakTransitionTokens;
657
431
 
658
- type SizeValues = ResponsiveValues<OakCombinedSpacingToken | null | undefined>;
659
- type SizeStyleProps = {
660
- /**
661
- * Sets the `width` CSS property of the element.
662
- *
663
- * Accepts a spacing token or a responsive array of spacing tokens. Can be nulled.
664
- */
665
- $width?: SizeValues;
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"]>;
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;
441
+ };
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 DisplayStyleProps = {
711
- /**
712
- * Sets the `display` CSS property of the element.
713
- *
714
- * Accepts a `display` value or a responsive array of `display` values.
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: {
@@ -767,380 +511,622 @@ declare const oakWordWrapsConst: readonly ["normal", "break-word", "initial", "i
767
511
  declare const oakTextOverflowsConst: readonly ["clip", "ellipsis"];
768
512
  type OakTextDecoration = (typeof oakTextDecorationsConst)[number];
769
513
  type OakWhiteSpace = (typeof oakWhiteSpacesConst)[number];
770
- type OakWordWrap = (typeof oakWordWrapsConst)[number];
771
- type OakTextOverflow = (typeof oakTextOverflowsConst)[number];
772
-
773
- type TypographyStyleProps = {
774
- /**
775
- * Sets the `font-size`, `line-height`, `font-weight` and `letter-spacing` of the element.
776
- *
777
- * Accepts a font token or a responsive array of font tokens.
778
- */
779
- $font?: ResponsiveValues<OakFontToken>;
780
- /**
781
- * Sets the `text-decoration` CSS property of the element.
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"]>;
826
- };
514
+ type OakWordWrap = (typeof oakWordWrapsConst)[number];
515
+ type OakTextOverflow = (typeof oakTextOverflowsConst)[number];
827
516
 
828
- type HTMLProps$1 = {
829
- onClick?: MouseEventHandler;
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;
830
526
  };
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;
527
+ type OakZIndexToken = keyof typeof oakZIndexTokens | null;
855
528
 
856
- type ElementProp<C extends ElementType> = {
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
- };
529
+ declare const oakDefaultTheme: OakTheme;
864
530
 
865
- type StyledButtonProps = TypographyStyleProps & SpacingStyleProps & ColorStyleProps & DisplayStyleProps & BorderStyleProps & DropShadowStyleProps & {
866
- isLoading?: boolean;
867
- };
868
- type InternalButtonProps = StyledButtonProps & {
869
- onHovered?: (event: React__default.MouseEvent<HTMLButtonElement, MouseEvent>, duration: number) => void;
870
- };
531
+ declare const oakDarkTheme: OakTheme;
871
532
 
872
- declare const icons: {
873
- readonly "question-mark": "v1706872277/icons/question-mark.svg";
874
- readonly ai: "v1754063273/icons/ai_cqaksa.svg";
875
- readonly "ai-additional-material": "v1756224441/icons/AI_additional_material_oopjax.svg";
876
- readonly "ai-quiz": "v1756224440/icons/AI_quiz_eivb2s.svg";
877
- readonly "ai-slide-deck": "v1756224440/icons/Ai_slidedeck_xuo49n.svg";
878
- readonly "ai-worksheet": "v1756224441/icons/AI_worksheet_cm4f0q.svg";
879
- readonly "ai-teaching-resources": "v1779438987/icons/ai-teaching-resources.svg";
880
- readonly home: "v1699887218/icons/gvqxjxcw07ei2kkmwnes.svg";
881
- readonly send: "v1699893673/icons/rmvytilpjgvh3pgwc8ph.svg";
882
- readonly rocket: "v1699894015/icons/u26xm5hteot875ozfnk9.svg";
883
- readonly edit: "v1699894149/icons/qxlunbg5tfrdherzsvlt.svg";
884
- readonly expand: "v1730982187/Icon_Expand_arrktl.svg";
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
- };
1066
- type IconName = keyof typeof icons;
533
+ declare const parseBorder: (value?: OakBorderWidthToken | null) => string | undefined;
534
+
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;
1067
548
 
1068
- type OakIconName = IconName;
1069
- declare const oakIconNames: IconName[];
1070
549
  /**
1071
- * returns true if the given string is a valid `OakIconName`
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
1072
553
  */
1073
- declare function isValidIconName(iconName: string): iconName is OakIconName;
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
+
1074
561
  /**
1075
- * returns a Icon URL from Cloudinary if is a valid icon, otherwise returns undefined
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
1076
565
  */
1077
- declare function generateOakIconURL(iconName: string): string;
566
+ declare function parseSpacing(value?: OakCombinedSpacingToken | null): string | 0 | undefined;
1078
567
 
1079
- type OakTheme = {
1080
- name: string;
1081
- uiColors: UiRoleMap;
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;
1082
823
  };
1083
- type PropsWithTheme<Props = unknown> = Props & {
1084
- theme: DefaultTheme;
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;
1085
869
  };
870
+ type SpacingStyleProps = PaddingStyleProps & MarginStyleProps;
1086
871
 
1087
- declare const oakDefaultTheme: OakTheme;
1088
-
1089
- declare const oakDarkTheme: OakTheme;
1090
-
1091
- declare const parseBorder: (value?: OakBorderWidthToken | null) => string | undefined;
1092
-
1093
- declare const parseBorderRadius: (value?: OakBorderRadiusToken | null) => string | undefined;
1094
-
1095
- declare function parseBorderWidth(value: OakBorderWidthToken | null | undefined): string | undefined;
1096
-
1097
- /**
1098
- * - takes OakColorToken, OakUiRoleToken, null or undefined
1099
- * - if OakColorToken is passed, returns corresponding css value
1100
- * - if OakUiRoleToken is passed, returns a function that takes the current theme and returns the corresponding css value
1101
- * - if null or undefined is passed, returns undefined
1102
- */
1103
- declare function parseColor(): undefined;
1104
- declare function parseColor(value?: OakColorToken | OakUiRoleToken | null): (props: PropsWithTheme) => string;
1105
- declare function parseColor(value?: OakUiRoleToken | null): ((props: PropsWithTheme) => string) | undefined;
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
+ };
1106
969
 
1107
- /**
1108
- * - takes any of OakUiRoleToken or null/undefined
1109
- * - returns a function that takes the current theme and returns the corresponding css filter style for that token
1110
- * - returns undefined if no filter is found for the token
1111
- */
1112
- declare function parseColorFilter(value?: OakUiRoleToken | null): (props: PropsWithTheme) => string;
1113
- declare function parseColorFilter(value?: OakUiRoleToken | null): ((props: PropsWithTheme) => string) | undefined;
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
+ };
1114
978
 
1115
- declare const parseDropShadow: (variant?: OakDropShadowToken | null) => string | undefined;
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
+ };
1116
987
 
1117
- declare const parseOpacity: (variant?: OakOpacityToken | null) => number | undefined;
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
+ };
1118
996
 
1119
- /**
1120
- * - takes any of OakInnerPadding, OakSpaceBetween, OakAllSpacing, and other accepted values,
1121
- * - derives and returns the corresponding css value
1122
- * - converting to rem where necessary
1123
- */
1124
- declare function parseSpacing(value?: OakCombinedSpacingToken | null): string | 0 | undefined;
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
+ };
1125
1011
 
1126
- declare const parseTransitions: (variant?: OakTransitionToken | null) => string | undefined;
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
+ };
1127
1021
 
1128
- declare const parseFontWeight: (font?: OakFontToken | null) => 300 | 400 | 500 | 600 | 700 | undefined;
1129
- declare const parseFontSize: (font?: OakFontToken | null) => string | null | undefined;
1130
- declare const parseLineHeight: (font?: OakFontToken | null) => string | null | undefined;
1131
- declare const parseLetterSpacing: (font?: OakFontToken | null) => "0.0115rem" | "-0.005rem" | undefined;
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
+ };
1132
1076
 
1133
- declare const parseZIndex: (value?: OakZIndexToken | number) => number | undefined;
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
+ };
1134
1085
 
1135
- type ColorFilterToken = ResponsiveValues<OakUiRoleToken | null>;
1136
- type ColorFilterStyleProps = {
1086
+ type ScrollMarginValue = OakAllSpacingToken | null | undefined;
1087
+ type ScrollMarginValues = ResponsiveValues<ScrollMarginValue>;
1088
+ type ScrollSnapStyleProps = {
1137
1089
  /**
1138
- * Applies a color-filter to the element.
1090
+ * Applies `scroll-margin-top` to the element
1139
1091
  *
1140
- * Accepts a color filter token or a responsive array of color tokens.
1092
+ * Accepts any Oak spacing token or a responsive array of spacing tokens. Can be nulled.
1141
1093
  */
1142
- $colorFilter?: ColorFilterToken;
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;
1143
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;
1144
1130
 
1145
1131
  type HTMLProps = {
1146
1132
  onClick?: MouseEventHandler;
@@ -1193,61 +1179,140 @@ type OakIconProps = Omit<OakImageProps, "alt" | "src"> & {
1193
1179
  */
1194
1180
  declare const OakIcon: (props: OakIconProps) => React__default.JSX.Element;
1195
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
+
1196
1261
  type FlexStyleProps = DisplayStyleProps & {
1197
1262
  /**
1198
1263
  * Sets the `flex-direction` CSS property of the element.
1199
1264
  *
1200
1265
  * Accepts a `flex-direction` value or a responsive array of flex-direction values.
1201
1266
  */
1202
- $flexDirection?: ResponsiveValues<CSSProperties$1["flexDirection"]>;
1267
+ $flexDirection?: ResponsiveValues<CSSProperties["flexDirection"]>;
1203
1268
  /**
1204
1269
  * Sets the `flex-wrap` CSS property of the element.
1205
1270
  *
1206
1271
  * Accepts a `flex-wrap` value or a responsive array of flex-wrap values.
1207
1272
  */
1208
- $flexWrap?: ResponsiveValues<CSSProperties$1["flexWrap"]>;
1273
+ $flexWrap?: ResponsiveValues<CSSProperties["flexWrap"]>;
1209
1274
  /**
1210
1275
  * Sets the `align-items` CSS property of the element.
1211
1276
  *
1212
1277
  * Accepts an `align-items` value or a responsive array of `align-items` values.
1213
1278
  */
1214
- $alignItems?: ResponsiveValues<CSSProperties$1["alignItems"]>;
1279
+ $alignItems?: ResponsiveValues<CSSProperties["alignItems"]>;
1215
1280
  /**
1216
1281
  * Sets the `align-content` CSS property of the element.
1217
1282
  *
1218
1283
  * Accepts an `align-content` value or a responsive array of `align-content` values.
1219
1284
  */
1220
- $alignContent?: ResponsiveValues<CSSProperties$1["alignContent"]>;
1285
+ $alignContent?: ResponsiveValues<CSSProperties["alignContent"]>;
1221
1286
  /**
1222
1287
  * Sets the `justify-content` CSS property of the element.
1223
1288
  *
1224
1289
  * Accepts a `justify-content` value or a responsive array of `justify-content` values.
1225
1290
  */
1226
- $justifyContent?: ResponsiveValues<CSSProperties$1["justifyContent"]>;
1291
+ $justifyContent?: ResponsiveValues<CSSProperties["justifyContent"]>;
1227
1292
  /**
1228
1293
  * Sets the `align-self` CSS property of the element.
1229
1294
  *
1230
1295
  * Accepts an `align-self` value or a responsive array of `align-self` values.
1231
1296
  */
1232
- $alignSelf?: ResponsiveValues<CSSProperties$1["alignSelf"]>;
1297
+ $alignSelf?: ResponsiveValues<CSSProperties["alignSelf"]>;
1233
1298
  /**
1234
1299
  * Sets the `flex-grow` CSS property of the element.
1235
1300
  *
1236
1301
  * Accepts a `flex-grow` value or a responsive array of `flex-grow` values.
1237
1302
  */
1238
- $flexGrow?: ResponsiveValues<CSSProperties$1["flexGrow"]>;
1303
+ $flexGrow?: ResponsiveValues<CSSProperties["flexGrow"]>;
1239
1304
  /**
1240
1305
  * Sets the `flex-shrink` CSS property of the element.
1241
1306
  *
1242
1307
  * Accepts a `flex-shrink` value or a responsive array of `flex-shrink` values.
1243
1308
  */
1244
- $flexShrink?: ResponsiveValues<CSSProperties$1["flexShrink"]>;
1309
+ $flexShrink?: ResponsiveValues<CSSProperties["flexShrink"]>;
1245
1310
  /**
1246
1311
  * Sets the `order` CSS property of the element.
1247
1312
  *
1248
1313
  * Accepts an `order` value or a responsive array of `order` values.
1249
1314
  */
1250
- $order?: ResponsiveValues<CSSProperties$1["order"]>;
1315
+ $order?: ResponsiveValues<CSSProperties["order"]>;
1251
1316
  /**
1252
1317
  * Sets the `flex-basis` CSS property of the element.
1253
1318
  *
@@ -1499,69 +1564,6 @@ type OakSmallSecondaryButtonProps = Omit<InternalShadowRectButtonProps, "default
1499
1564
  */
1500
1565
  declare const OakSmallSecondaryButton: <C extends ElementType = "button">({ element, ...rest }: OakSmallSecondaryButtonProps & PolymorphicPropsWithoutRef<C>) => React__default.JSX.Element;
1501
1566
 
1502
- /**
1503
- * Map of the svg names to the actual svg components
1504
- * Only components that are used in the OakSvg component should be added here
1505
- * 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
1506
- */
1507
- declare const svgMap: {
1508
- "header-underline": () => React__default.JSX.Element;
1509
- underline: () => React__default.JSX.Element;
1510
- "horizontal-rule": () => React__default.JSX.Element;
1511
- "underline-3": () => React__default.JSX.Element;
1512
- "button-border-top": () => React__default.JSX.Element;
1513
- "button-border-bottom": () => React__default.JSX.Element;
1514
- "button-border-left": () => React__default.JSX.Element;
1515
- "button-border-right": () => React__default.JSX.Element;
1516
- "icon-background": () => React__default.JSX.Element;
1517
- scribble: () => React__default.JSX.Element;
1518
- };
1519
- type OakSvgNames = keyof typeof svgMap;
1520
- type OakSvgProps = OakBoxProps & {
1521
- /**
1522
- * The name of the svg to render
1523
- * Accepts an svg name token from the svgMap
1524
- */
1525
- name: OakSvgNames;
1526
- color?: OakColorToken;
1527
- };
1528
- /**
1529
- * This is component used for rendering SVGs that don't belong to be rendered with OakIcon component
1530
- * ie. UI elements that are not icons/illustratons but are part of the design system (underline, etc)
1531
- */
1532
- declare const OakSvg: FC<OakSvgProps>;
1533
-
1534
- type ImageProps = OakImageProps & {
1535
- iconName?: undefined;
1536
- };
1537
- type IconProps = OakIconProps & {
1538
- src?: undefined;
1539
- };
1540
- type OakRoundIconProps = IconProps | ImageProps;
1541
- /**
1542
- * A wrapper around `OakIcon` which applies a rounded background.
1543
- * Supports either an icon name or an image src
1544
- */
1545
- declare const OakRoundIcon: ({ $background, $borderRadius, $width, $height, $pa, className, ...rest }: OakRoundIconProps) => React__default.JSX.Element;
1546
-
1547
- type InternalStyledSvgProps = {
1548
- $fill?: ResponsiveValues<OakUiRoleToken>;
1549
- $stroke?: ResponsiveValues<OakUiRoleToken>;
1550
- $strokeWidth?: ResponsiveValues<OakBorderWidthToken>;
1551
- };
1552
-
1553
- type OakHandDrawnHRProps = {
1554
- hrColor?: InternalStyledSvgProps["$fill"];
1555
- } & SpacingStyleProps & SizeStyleProps;
1556
- /**
1557
- * A Drawn HR svg inside a flex container
1558
- *
1559
- * use prop hrColor to change the color of the HR
1560
- *
1561
- * change the sizeProps of the flex container to change the size and dimentions of the HR
1562
- */
1563
- declare const OakHandDrawnHR: (props: OakHandDrawnHRProps) => React__default.JSX.Element;
1564
-
1565
1567
  type OakSmallSecondaryButtonWithDropdownProps = {
1566
1568
  primaryActionText: string;
1567
1569
  primaryActionIcon?: OakIconName;
@@ -1714,6 +1716,25 @@ type OakLeftAlignedButtonProps = Omit<InternalShadowRectButtonProps, "defaultBor
1714
1716
  */
1715
1717
  declare const OakLeftAlignedButton: <C extends ElementType = "button">(props: OakLeftAlignedButtonProps & PolymorphicPropsWithoutRef<C>) => React__default.JSX.Element;
1716
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
+
1717
1738
  type OakCookieBannerProps = {
1718
1739
  /**
1719
1740
  * Triggered when the user clicks the "Hide this message" button.
@@ -2122,7 +2143,7 @@ type InternalCheckBoxLabelProps = {
2122
2143
  $labelAlignItems?: FlexStyleProps["$alignItems"];
2123
2144
  $labelGap?: FlexStyleProps["$gap"];
2124
2145
  disabled?: boolean;
2125
- pointerEvents?: CSSProperties["pointerEvents"];
2146
+ pointerEvents?: CSSProperties$1["pointerEvents"];
2126
2147
  "data-testid"?: string;
2127
2148
  } & OakLabelProps;
2128
2149
 
@@ -2771,31 +2792,31 @@ type OakGridProps = OakBoxProps & {
2771
2792
  *
2772
2793
  * Accepts a `grid-auto-rows` value or a responsive array of `grid-auto-rows` values.
2773
2794
  */
2774
- $gridAutoRows?: ResponsiveValues<CSSProperties["gridAutoRows"]>;
2795
+ $gridAutoRows?: ResponsiveValues<CSSProperties$1["gridAutoRows"]>;
2775
2796
  /**
2776
2797
  * Applies `grid-template-areas` to the grid
2777
2798
  *
2778
2799
  * Accepts a `grid-template-areas` value or a responsive array of `grid-template-areas` values.
2779
2800
  */
2780
- $gridTemplateAreas?: ResponsiveValues<CSSProperties["gridTemplateAreas"]>;
2801
+ $gridTemplateAreas?: ResponsiveValues<CSSProperties$1["gridTemplateAreas"]>;
2781
2802
  /**
2782
2803
  * Applies `grid-template-columns` to the grid
2783
2804
  *
2784
2805
  * Accepts a `grid-template-columns` value or a responsive array of `grid-template-columns` values.
2785
2806
  */
2786
- $gridTemplateColumns?: ResponsiveValues<CSSProperties["gridTemplateColumns"]>;
2807
+ $gridTemplateColumns?: ResponsiveValues<CSSProperties$1["gridTemplateColumns"]>;
2787
2808
  /**
2788
2809
  * Applies `grid-template-rows` to the grid
2789
2810
  *
2790
2811
  * Accepts a `grid-template-rows` value or a responsive array of `grid-template-rows` values.
2791
2812
  */
2792
- $gridTemplateRows?: ResponsiveValues<CSSProperties["gridTemplateRows"]>;
2813
+ $gridTemplateRows?: ResponsiveValues<CSSProperties$1["gridTemplateRows"]>;
2793
2814
  /**
2794
2815
  * Applies `align-items` to the grid
2795
2816
  *
2796
2817
  * Accepts a `align-items` value or a responsive array of `align-items` values.
2797
2818
  */
2798
- $alignItems?: ResponsiveValues<CSSProperties["alignItems"]>;
2819
+ $alignItems?: ResponsiveValues<CSSProperties$1["alignItems"]>;
2799
2820
  };
2800
2821
  /**
2801
2822
  * Creates a grid layout
@@ -2834,7 +2855,7 @@ type OakGridAreaProps = {
2834
2855
  *
2835
2856
  * Accepts a number or a responsive array of numbers.
2836
2857
  */
2837
- $order?: ResponsiveValues<CSSProperties["order"]>;
2858
+ $order?: ResponsiveValues<CSSProperties$1["order"]>;
2838
2859
  /**
2839
2860
  * The start column of the element.
2840
2861
  *
@@ -2898,7 +2919,7 @@ declare const OakGridArea: styled_components_dist_types.IStyledComponentBase<"we
2898
2919
  *
2899
2920
  * Accepts a number or a responsive array of numbers.
2900
2921
  */
2901
- $order?: ResponsiveValues<CSSProperties["order"]>;
2922
+ $order?: ResponsiveValues<CSSProperties$1["order"]>;
2902
2923
  /**
2903
2924
  * The start column of the element.
2904
2925
  *
@@ -2963,7 +2984,7 @@ declare const OakMaxWidth: styled_components_dist_types.IStyledComponentBase<"we
2963
2984
  style?: React$1.CSSProperties | styled_components_dist_types.CSSPropertiesWithVars | (React$1.CSSProperties & {
2964
2985
  [key: `--${string}`]: string | number | undefined;
2965
2986
  }) | undefined;
2966
- }, OakFlexProps>, "children" | "ref" | "aria-label" | "aria-description" | "aria-labelledby" | "aria-describedby" | "hidden" | "role" | "slot" | "style" | "title" | "$pa" | "$ph" | "$pv" | "$pt" | "$pb" | "$ba" | "$borderRadius" | "$borderColor" | "$background" | "$color" | "$font" | "$textDecoration" | "$textAlign" | "$whiteSpace" | "$wordWrap" | "$textOverflow" | "$overflow" | "$textWrap" | "$pl" | "$pr" | "$ma" | "$mh" | "$mv" | "$ml" | "$mr" | "$mt" | "$mb" | "$display" | "$bt" | "$br" | "$bb" | "$bl" | "$bh" | "$bv" | "$borderStyle" | "$btlr" | "$btrr" | "$bblr" | "$bbrr" | "$btr" | "$bbr" | "$dropShadow" | "$position" | "$top" | "$right" | "$bottom" | "$left" | "$inset" | "$overflowX" | "$overflowY" | "$objectFit" | "$objectPosition" | "$pointerEvents" | "$visibility" | "$verticalAlign" | "$flexDirection" | "$flexWrap" | "$alignItems" | "$alignContent" | "$justifyContent" | "$alignSelf" | "$flexGrow" | "$flexShrink" | "$order" | "$flexBasis" | "$gap" | "$columnGap" | "$rowGap" | "focusable" | "key" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "autoFocus" | "className" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "id" | "lang" | "nonce" | "spellCheck" | "tabIndex" | "translate" | "radioGroup" | "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-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "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" | "$width" | "$minWidth" | "$maxWidth" | "$height" | "$minHeight" | "$maxHeight" | "$aspectRatio" | "$boxSizing" | "$opacity" | "$transform" | "$transformOrigin" | "$transition" | "$zIndex" | "$scrollMarginTop" | "$scrollMarginLeft" | "as" | "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"> & {
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"> & {
2967
2988
  style?: React$1.CSSProperties | styled_components_dist_types.CSSPropertiesWithVars | undefined;
2968
2989
  }, OakBoxProps>, "as" | "forwardedAs"> & {
2969
2990
  as?: styled_components.WebTarget | undefined;
@@ -2981,7 +3002,7 @@ declare const OakMaxWidth: styled_components_dist_types.IStyledComponentBase<"we
2981
3002
  style?: React$1.CSSProperties | styled_components_dist_types.CSSPropertiesWithVars | (React$1.CSSProperties & {
2982
3003
  [key: `--${string}`]: string | number | undefined;
2983
3004
  }) | undefined;
2984
- }, OakFlexProps>, "children" | "ref" | "aria-label" | "aria-description" | "aria-labelledby" | "aria-describedby" | "hidden" | "role" | "slot" | "style" | "title" | "$pa" | "$ph" | "$pv" | "$pt" | "$pb" | "$ba" | "$borderRadius" | "$borderColor" | "$background" | "$color" | "$font" | "$textDecoration" | "$textAlign" | "$whiteSpace" | "$wordWrap" | "$textOverflow" | "$overflow" | "$textWrap" | "$pl" | "$pr" | "$ma" | "$mh" | "$mv" | "$ml" | "$mr" | "$mt" | "$mb" | "$display" | "$bt" | "$br" | "$bb" | "$bl" | "$bh" | "$bv" | "$borderStyle" | "$btlr" | "$btrr" | "$bblr" | "$bbrr" | "$btr" | "$bbr" | "$dropShadow" | "$position" | "$top" | "$right" | "$bottom" | "$left" | "$inset" | "$overflowX" | "$overflowY" | "$objectFit" | "$objectPosition" | "$pointerEvents" | "$visibility" | "$verticalAlign" | "$flexDirection" | "$flexWrap" | "$alignItems" | "$alignContent" | "$justifyContent" | "$alignSelf" | "$flexGrow" | "$flexShrink" | "$order" | "$flexBasis" | "$gap" | "$columnGap" | "$rowGap" | "focusable" | "key" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "autoFocus" | "className" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "id" | "lang" | "nonce" | "spellCheck" | "tabIndex" | "translate" | "radioGroup" | "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-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "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" | "$width" | "$minWidth" | "$maxWidth" | "$height" | "$minHeight" | "$maxHeight" | "$aspectRatio" | "$boxSizing" | "$opacity" | "$transform" | "$transformOrigin" | "$transition" | "$zIndex" | "$scrollMarginTop" | "$scrollMarginLeft" | "as" | "forwardedAs">>> & string;
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;
2985
3006
 
2986
3007
  type OakAccordionProps = {
2987
3008
  /**
@@ -5112,7 +5133,7 @@ declare const StyledMediaClipImage: styled_components_dist_types.IStyledComponen
5112
5133
  imageProps?: Partial<Omit<any, "ref">> | undefined;
5113
5134
  }, "style"> & {
5114
5135
  style?: React__default.CSSProperties | styled_components_dist_types.CSSPropertiesWithVars | undefined;
5115
- }, StyledImageProps>> & string & Omit<(<C extends React__default.ElementType = React__default.ForwardRefExoticComponent<Omit<React__default.DetailedHTMLProps<React__default.ImgHTMLAttributes<HTMLImageElement>, HTMLImageElement>, "ref" | "width" | "src" | "srcSet" | "alt" | "height" | "loading"> & {
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"> & {
5116
5137
  src: string | next_dist_shared_lib_get_img_props.StaticImport;
5117
5138
  alt: string;
5118
5139
  width?: number | `${number}`;
@@ -5332,7 +5353,7 @@ type ListStyleProps = {
5332
5353
  *
5333
5354
  * Accepts a `list-style` value or a responsive array of `list-style` values.
5334
5355
  */
5335
- $listStyle?: ResponsiveValues<CSSProperties["listStyle"]>;
5356
+ $listStyle?: ResponsiveValues<CSSProperties$1["listStyle"]>;
5336
5357
  };
5337
5358
 
5338
5359
  type OakLIProps = OakFlexProps & TypographyStyleProps & ListStyleProps & DisplayStyleProps;
@@ -5349,9 +5370,9 @@ declare const oakLIDefaults: {
5349
5370
  };
5350
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"> & {
5351
5372
  style?: React$1.CSSProperties | styled_components_dist_types.CSSPropertiesWithVars | undefined;
5352
- }, OakLIProps>, OakLIProps>, "children" | "ref" | "aria-label" | "aria-description" | "aria-labelledby" | "aria-describedby" | "value" | "hidden" | "role" | "slot" | "style" | "title" | "$pa" | "$ph" | "$pv" | "$pt" | "$pb" | "$ba" | "$borderRadius" | "$borderColor" | "$background" | "$color" | "$font" | "$textDecoration" | "$textAlign" | "$whiteSpace" | "$wordWrap" | "$textOverflow" | "$overflow" | "$textWrap" | "$pl" | "$pr" | "$ma" | "$mh" | "$mv" | "$ml" | "$mr" | "$mt" | "$mb" | "$display" | "$bt" | "$br" | "$bb" | "$bl" | "$bh" | "$bv" | "$borderStyle" | "$btlr" | "$btrr" | "$bblr" | "$bbrr" | "$btr" | "$bbr" | "$dropShadow" | "$position" | "$top" | "$right" | "$bottom" | "$left" | "$inset" | "$overflowX" | "$overflowY" | "$objectFit" | "$objectPosition" | "$pointerEvents" | "$visibility" | "$verticalAlign" | "$flexDirection" | "$flexWrap" | "$alignItems" | "$alignContent" | "$justifyContent" | "$alignSelf" | "$flexGrow" | "$flexShrink" | "$order" | "$flexBasis" | "$gap" | "$columnGap" | "$rowGap" | "focusable" | "key" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "autoFocus" | "className" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "id" | "lang" | "nonce" | "spellCheck" | "tabIndex" | "translate" | "radioGroup" | "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-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "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" | "$width" | "$minWidth" | "$maxWidth" | "$height" | "$minHeight" | "$maxHeight" | "$aspectRatio" | "$boxSizing" | "$opacity" | "$transform" | "$transformOrigin" | "$transition" | "$zIndex" | "$scrollMarginTop" | "$scrollMarginLeft" | "$listStyle"> & Partial<Pick<styled_components_dist_types.Merged<styled_components_dist_types.Merged<Omit<React$1.DetailedHTMLProps<React$1.LiHTMLAttributes<HTMLLIElement>, HTMLLIElement>, "style"> & {
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"> & {
5353
5374
  style?: React$1.CSSProperties | styled_components_dist_types.CSSPropertiesWithVars | undefined;
5354
- }, OakLIProps>, OakLIProps>, "children" | "ref" | "aria-label" | "aria-description" | "aria-labelledby" | "aria-describedby" | "value" | "hidden" | "role" | "slot" | "style" | "title" | "$pa" | "$ph" | "$pv" | "$pt" | "$pb" | "$ba" | "$borderRadius" | "$borderColor" | "$background" | "$color" | "$font" | "$textDecoration" | "$textAlign" | "$whiteSpace" | "$wordWrap" | "$textOverflow" | "$overflow" | "$textWrap" | "$pl" | "$pr" | "$ma" | "$mh" | "$mv" | "$ml" | "$mr" | "$mt" | "$mb" | "$display" | "$bt" | "$br" | "$bb" | "$bl" | "$bh" | "$bv" | "$borderStyle" | "$btlr" | "$btrr" | "$bblr" | "$bbrr" | "$btr" | "$bbr" | "$dropShadow" | "$position" | "$top" | "$right" | "$bottom" | "$left" | "$inset" | "$overflowX" | "$overflowY" | "$objectFit" | "$objectPosition" | "$pointerEvents" | "$visibility" | "$verticalAlign" | "$flexDirection" | "$flexWrap" | "$alignItems" | "$alignContent" | "$justifyContent" | "$alignSelf" | "$flexGrow" | "$flexShrink" | "$order" | "$flexBasis" | "$gap" | "$columnGap" | "$rowGap" | "focusable" | "key" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "autoFocus" | "className" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "id" | "lang" | "nonce" | "spellCheck" | "tabIndex" | "translate" | "radioGroup" | "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-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "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" | "$width" | "$minWidth" | "$maxWidth" | "$height" | "$minHeight" | "$maxHeight" | "$aspectRatio" | "$boxSizing" | "$opacity" | "$transform" | "$transformOrigin" | "$transition" | "$zIndex" | "$scrollMarginTop" | "$scrollMarginLeft" | "$listStyle">>> & string;
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;
5355
5376
 
5356
5377
  type OakOLProps = MarginStyleProps & ColorStyleProps & TypographyStyleProps;
5357
5378
  /**
@@ -5546,5 +5567,5 @@ declare const useIsScrolled: () => {
5546
5567
 
5547
5568
  declare const useBreakpoint: () => Device;
5548
5569
 
5549
- 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 };
5550
- 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 };