@oaknational/oak-components 2.32.0 → 2.34.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/types.d.ts CHANGED
@@ -1,13 +1,9 @@
1
- import * as React$1 from 'react';
2
- import React__default, { CSSProperties as CSSProperties$1, ElementType, ComponentPropsWithoutRef, ComponentPropsWithRef, MouseEventHandler, FC, ReactNode, HTMLAttributes, DetailedHTMLProps, TextareaHTMLAttributes, InputHTMLAttributes, FocusEvent, ChangeEventHandler, ComponentProps, ReactElement, MutableRefObject, ButtonHTMLAttributes, PropsWithChildren } from 'react';
1
+ import React$1, { CSSProperties, MouseEventHandler, ElementType, ComponentPropsWithoutRef, ComponentPropsWithRef, FC, ReactNode, HTMLAttributes, DetailedHTMLProps, TextareaHTMLAttributes, InputHTMLAttributes, FocusEvent, ChangeEventHandler, ComponentProps, ReactElement, MutableRefObject, ButtonHTMLAttributes, PropsWithChildren } from 'react';
3
2
  import * as styled_components from 'styled-components';
4
- import { ThemedStyledProps, DefaultTheme, Interpolation, CSSProperties } from 'styled-components';
5
- import * as Image from 'next/image';
6
- import Image__default, { ImageProps as ImageProps$1 } from 'next/image';
3
+ import { ThemedStyledProps, DefaultTheme, Interpolation, CSSProperties as CSSProperties$1 } from 'styled-components';
4
+ import Image, { ImageProps as ImageProps$1 } from 'next/image';
7
5
  import { UrlObject } from 'url';
8
6
  import { Announcements } from '@dnd-kit/core';
9
- import * as next_dist_shared_lib_get_img_props from 'next/dist/shared/lib/get-img-props';
10
- import * as _cloudinary_util_url_loader from '@cloudinary-util/url-loader';
11
7
  import { CldImage } from 'next-cloudinary';
12
8
 
13
9
  declare const oakColorTokens: {
@@ -127,6 +123,34 @@ type Generic = string | number | undefined | null;
127
123
  */
128
124
  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: PropsWithTheme) => Generic)) => (props: Props) => Interpolation<ThemedStyledProps<Props, DefaultTheme>>;
129
125
 
126
+ /**
127
+ * Color token!
128
+ */
129
+ type ColorToken = ResponsiveValues<OakUiRoleToken | null>;
130
+ type ColorStyleProps = {
131
+ /**
132
+ * Sets the `color` of the element.
133
+ *
134
+ * Accepts a UI role token or a responsive array of UI role tokens.
135
+ */
136
+ $color?: ColorToken;
137
+ /**
138
+ * Sets the `background-color` of the element.
139
+ *
140
+ * Accepts a UI role token or a responsive array of UI role tokens.
141
+ */
142
+ $background?: ColorToken;
143
+ };
144
+
145
+ type DisplayStyleProps = {
146
+ /**
147
+ * Sets the `display` CSS property of the element.
148
+ *
149
+ * Accepts a `display` value or a responsive array of `display` values.
150
+ */
151
+ $display?: ResponsiveValues<CSSProperties["display"]>;
152
+ };
153
+
130
154
  declare const oakAllSpacingTokens: {
131
155
  "spacing-0": number;
132
156
  "spacing-2": number;
@@ -211,254 +235,6 @@ declare const additionalSpacingTokens: {
211
235
  type AdditionalSpacingTypes = keyof typeof additionalSpacingTokens;
212
236
  type OakCombinedSpacingToken = OakAllSpacingToken | OakInnerPaddingToken | OakSpaceBetweenToken | AdditionalSpacingTypes;
213
237
 
214
- type ScrollMarginValue = OakAllSpacingToken | null | undefined;
215
- type ScrollMarginValues = ResponsiveValues<ScrollMarginValue>;
216
- type ScrollSnapStyleProps = {
217
- /**
218
- * Applies `scroll-margin-top` to the element
219
- *
220
- * Accepts any Oak spacing token or a responsive array of spacing tokens. Can be nulled.
221
- */
222
- $scrollMarginTop?: ScrollMarginValues;
223
- /**
224
- * Applies `scroll-margin-left` to the element
225
- *
226
- * Accepts any Oak spacing token or a responsive array of spacing tokens. Can be nulled.
227
- */
228
- $scrollMarginLeft?: ScrollMarginValues;
229
- };
230
-
231
- declare const oakZIndexTokens: {
232
- readonly behind: -1;
233
- readonly neutral: 0;
234
- readonly "in-front": 1;
235
- readonly "mobile-filters": 2;
236
- readonly "fixed-header": 100;
237
- readonly "modal-close-button": 150;
238
- readonly "modal-dialog": 300;
239
- readonly banner: number;
240
- };
241
- type OakZIndexToken = keyof typeof oakZIndexTokens | null;
242
-
243
- type ZIndexStyleProps = {
244
- /**
245
- * Sets the `z-index` CSS property of the element.
246
- *
247
- * Accepts a z-index token or a responsive array of z-index tokens.
248
- */
249
- $zIndex?: ResponsiveValues<OakZIndexToken | number>;
250
- };
251
-
252
- declare const oakTransitionTokens: {
253
- "standard-ease": string;
254
- "standard-transform": string;
255
- };
256
- type OakTransitionToken = keyof typeof oakTransitionTokens;
257
-
258
- type Transition = OakTransitionToken;
259
- type TransitionStyleProps = {
260
- /**
261
- * Sets the `transition` CSS property of the element.
262
- *
263
- * Accepts a transition token or a responsive array of transition tokens.
264
- */
265
- $transition?: ResponsiveValues<Transition>;
266
- };
267
-
268
- type TransformStyleProps = {
269
- /**
270
- * Sets the `transform` CSS property of the element.
271
- *
272
- * Accepts a `transform` value or a responsive array of `transform` values. Can be nulled.
273
- */
274
- $transform?: ResponsiveValues<CSSProperties["transform"] | null>;
275
- /**
276
- * Sets the `transform-origin` CSS property of the element.
277
- *
278
- * Accepts a `transform-origin` value or a responsive array of `transform-origin` values. Can be nulled.
279
- */
280
- $transformOrigin?: ResponsiveValues<CSSProperties["transformOrigin"] | null>;
281
- };
282
-
283
- declare const oakOpacityTokens: {
284
- transparent: number;
285
- "semi-transparent": number;
286
- "semi-opaque": number;
287
- opaque: number;
288
- };
289
- type OakOpacityToken = keyof typeof oakOpacityTokens;
290
-
291
- type OpacityStyleProps = {
292
- /**
293
- * Sets the `opacity` CSS property of the element.
294
- *
295
- * Accepts an opacity token or a responsive array of opacity tokens.
296
- */
297
- $opacity?: ResponsiveValues<OakOpacityToken>;
298
- };
299
-
300
- declare const oakDropShadowTokens: {
301
- "drop-shadow-standard": string;
302
- "drop-shadow-lemon": string;
303
- "drop-shadow-wide-lemon": string;
304
- "drop-shadow-centered-lemon": string;
305
- "drop-shadow-grey": string;
306
- "drop-shadow-centered-grey": string;
307
- "drop-shadow-black": string;
308
- "drop-shadow-centred-standard": string;
309
- "drop-shadow-none": string;
310
- };
311
- type OakDropShadowToken = keyof typeof oakDropShadowTokens;
312
-
313
- type DropShadowStyleProps = {
314
- /**
315
- * Applies a drop-shadow to the element.
316
- *
317
- * Accepts a drop-shadow token or a responsive array of drop-shadow tokens.
318
- */
319
- $dropShadow?: ResponsiveValues<OakDropShadowToken>;
320
- };
321
-
322
- declare const oakBorderWidthTokens: {
323
- "border-solid-none": number;
324
- "border-solid-s": number;
325
- "border-solid-m": number;
326
- "border-solid-l": number;
327
- "border-solid-xl": number;
328
- "border-solid-xxl": number;
329
- "border-solid-xxxl": number;
330
- "border-solid-xxxxl": number;
331
- };
332
- declare const oakBorderRadiusTokens: {
333
- "border-radius-square": number;
334
- "border-radius-xs": number;
335
- "border-radius-s": number;
336
- "border-radius-m": number;
337
- "border-radius-m2": number;
338
- "border-radius-l": number;
339
- "border-radius-xl": number;
340
- "border-radius-circle": number;
341
- };
342
- type OakBorderRadiusToken = keyof typeof oakBorderRadiusTokens;
343
- type OakBorderWidthToken = keyof typeof oakBorderWidthTokens;
344
-
345
- type BorderWidth = ResponsiveValues<OakBorderWidthToken>;
346
- type _BorderStyleProps = ResponsiveValues<CSSProperties["borderStyle"]>;
347
- type BorderColorProps = ResponsiveValues<OakUiRoleToken>;
348
- type BorderRadiusProps = ResponsiveValues<OakBorderRadiusToken>;
349
- type BorderStyleProps = {
350
- /**
351
- * Apply border on all sides
352
- *
353
- * Accepts a border-width token or a responsive array of border-width tokens
354
- */
355
- $ba?: BorderWidth;
356
- /**
357
- * Apply border to the top
358
- *
359
- * Accepts a border-width token or a responsive array of border-width tokens
360
- */
361
- $bt?: BorderWidth;
362
- /**
363
- * Apply border to the right
364
- *
365
- * Accepts a border-width token or a responsive array of border-width tokens
366
- */
367
- $br?: BorderWidth;
368
- /**
369
- * Apply border to the bottom
370
- *
371
- * Accepts a border-width token or a responsive array of border-width tokens
372
- */
373
- $bb?: BorderWidth;
374
- /**
375
- * Apply border to the left
376
- *
377
- * Accepts a border-width token or a responsive array of border-width tokens
378
- */
379
- $bl?: BorderWidth;
380
- /**
381
- * Apply border to the left and right
382
- *
383
- * Accepts a border-width token or a responsive array of border-width tokens
384
- */
385
- $bh?: BorderWidth;
386
- /**
387
- * Apply border to the top and bottom
388
- *
389
- * Accepts a border-width token or a responsive array of border-width tokens
390
- */
391
- $bv?: BorderWidth;
392
- /**
393
- * Apply `border-style` to the element
394
- *
395
- * Accepts a single value or a responsive array of values.
396
- */
397
- $borderStyle?: _BorderStyleProps;
398
- /**
399
- * Apply a border color to all sides of the element
400
- *
401
- * Accepts a UI role token or a responsive array of UI role tokens.
402
- */
403
- $borderColor?: BorderColorProps;
404
- $borderRadius?: BorderRadiusProps;
405
- /**
406
- * Apply border radius to the top left
407
- *
408
- * Accepts an `OakBorderRadiusToken` or a responsive array of `OakBorderRadiusToken`s.
409
- */
410
- $btlr?: BorderRadiusProps;
411
- /**
412
- * Apply border radius to the top right
413
- *
414
- * Accepts a border-radius token or a responsive array of border-radius tokens.
415
- */
416
- $btrr?: BorderRadiusProps;
417
- /**
418
- * Apply border radius to the bottom left
419
- *
420
- * Accepts a border-radius token or a responsive array of border-radius tokens.
421
- */
422
- $bblr?: BorderRadiusProps;
423
- /**
424
- * Apply border radius to the bottom right
425
- *
426
- * Accepts a border-radius token or a responsive array of border-radius tokens.
427
- */
428
- $bbrr?: BorderRadiusProps;
429
- /**
430
- * Apply border radius to the top right and top left
431
- *
432
- * Accepts a border-radius token or a responsive array of border-radius tokens.
433
- */
434
- $btr?: BorderRadiusProps;
435
- /**
436
- * Apply border radius to the bottom right and bottom left
437
- *
438
- * Accepts a border-radius token or a responsive array of border-radius tokens
439
- */
440
- $bbr?: BorderRadiusProps;
441
- };
442
-
443
- /**
444
- * Color token!
445
- */
446
- type ColorToken = ResponsiveValues<OakUiRoleToken | null>;
447
- type ColorStyleProps = {
448
- /**
449
- * Sets the `color` of the element.
450
- *
451
- * Accepts a UI role token or a responsive array of UI role tokens.
452
- */
453
- $color?: ColorToken;
454
- /**
455
- * Sets the `background-color` of the element.
456
- *
457
- * Accepts a UI role token or a responsive array of UI role tokens.
458
- */
459
- $background?: ColorToken;
460
- };
461
-
462
238
  type PaddingValues = ResponsiveValues<OakInnerPaddingToken | null | undefined>;
463
239
  type PaddingStyleProps = {
464
240
  /**
@@ -552,15 +328,6 @@ type MarginStyleProps = {
552
328
  };
553
329
  type SpacingStyleProps = PaddingStyleProps & MarginStyleProps;
554
330
 
555
- type DisplayStyleProps = {
556
- /**
557
- * Sets the `display` CSS property of the element.
558
- *
559
- * Accepts a `display` value or a responsive array of `display` values.
560
- */
561
- $display?: ResponsiveValues<CSSProperties$1["display"]>;
562
- };
563
-
564
331
  declare const oakFontSizeTokens: {
565
332
  "font-size-1": number;
566
333
  "font-size-2": number;
@@ -633,7 +400,7 @@ type TypographyStyleProps = {
633
400
  *
634
401
  * Accepts a `text-align` value or a responsive array of `text-align` values.
635
402
  */
636
- $textAlign?: ResponsiveValues<CSSProperties["textAlign"]>;
403
+ $textAlign?: ResponsiveValues<CSSProperties$1["textAlign"]>;
637
404
  /**
638
405
  * Sets the `white-space` CSS property of the element.
639
406
  *
@@ -657,7 +424,7 @@ type TypographyStyleProps = {
657
424
  *
658
425
  * Accepts an overflow token or a responsive array of overflow tokens.
659
426
  */
660
- $overflow?: ResponsiveValues<CSSProperties["overflow"]>;
427
+ $overflow?: ResponsiveValues<CSSProperties$1["overflow"]>;
661
428
  /**
662
429
  * Sets the `text-wrap` CSS property of the element.
663
430
  *
@@ -667,24 +434,184 @@ type TypographyStyleProps = {
667
434
  * - Typographic improvements, for example more balanced line lengths across broken headings
668
435
  * - A way to turn text wrapping off completely
669
436
  */
670
- $textWrap?: ResponsiveValues<CSSProperties["textWrap"]>;
437
+ $textWrap?: ResponsiveValues<CSSProperties$1["textWrap"]>;
671
438
  };
672
439
 
673
- type ElementProp<C extends ElementType> = {
674
- element?: C;
440
+ declare const oakDropShadowTokens: {
441
+ "drop-shadow-standard": string;
442
+ "drop-shadow-lemon": string;
443
+ "drop-shadow-wide-lemon": string;
444
+ "drop-shadow-centered-lemon": string;
445
+ "drop-shadow-grey": string;
446
+ "drop-shadow-centered-grey": string;
447
+ "drop-shadow-black": string;
448
+ "drop-shadow-centred-standard": string;
449
+ "drop-shadow-none": string;
675
450
  };
676
- type PolymorphicPropsWithoutRef<C extends ElementType> = ElementProp<C> & ComponentPropsWithoutRef<C>;
677
- type PolymorphicRef<C extends React.ElementType> = ComponentPropsWithRef<C>["ref"];
678
- type PolymorphicPropsWithRef<C extends ElementType> = ElementProp<C> & ComponentPropsWithoutRef<C> & {
679
- ref?: PolymorphicRef<C>;
451
+ type OakDropShadowToken = keyof typeof oakDropShadowTokens;
452
+
453
+ type DropShadowStyleProps = {
454
+ /**
455
+ * Applies a drop-shadow to the element.
456
+ *
457
+ * Accepts a drop-shadow token or a responsive array of drop-shadow tokens.
458
+ */
459
+ $dropShadow?: ResponsiveValues<OakDropShadowToken>;
460
+ };
461
+
462
+ declare const oakBorderWidthTokens: {
463
+ "border-solid-none": number;
464
+ "border-solid-s": number;
465
+ "border-solid-m": number;
466
+ "border-solid-l": number;
467
+ "border-solid-xl": number;
468
+ "border-solid-xxl": number;
469
+ "border-solid-xxxl": number;
470
+ "border-solid-xxxxl": number;
471
+ };
472
+ declare const oakBorderRadiusTokens: {
473
+ "border-radius-square": number;
474
+ "border-radius-xs": number;
475
+ "border-radius-s": number;
476
+ "border-radius-m": number;
477
+ "border-radius-m2": number;
478
+ "border-radius-l": number;
479
+ "border-radius-xl": number;
480
+ "border-radius-circle": number;
481
+ };
482
+ type OakBorderRadiusToken = keyof typeof oakBorderRadiusTokens;
483
+ type OakBorderWidthToken = keyof typeof oakBorderWidthTokens;
484
+
485
+ type BorderWidth = ResponsiveValues<OakBorderWidthToken>;
486
+ type _BorderStyleProps = ResponsiveValues<CSSProperties$1["borderStyle"]>;
487
+ type BorderColorProps = ResponsiveValues<OakUiRoleToken>;
488
+ type BorderRadiusProps = ResponsiveValues<OakBorderRadiusToken>;
489
+ type BorderStyleProps = {
490
+ /**
491
+ * Apply border on all sides
492
+ *
493
+ * Accepts a border-width token or a responsive array of border-width tokens
494
+ */
495
+ $ba?: BorderWidth;
496
+ /**
497
+ * Apply border to the top
498
+ *
499
+ * Accepts a border-width token or a responsive array of border-width tokens
500
+ */
501
+ $bt?: BorderWidth;
502
+ /**
503
+ * Apply border to the right
504
+ *
505
+ * Accepts a border-width token or a responsive array of border-width tokens
506
+ */
507
+ $br?: BorderWidth;
508
+ /**
509
+ * Apply border to the bottom
510
+ *
511
+ * Accepts a border-width token or a responsive array of border-width tokens
512
+ */
513
+ $bb?: BorderWidth;
514
+ /**
515
+ * Apply border to the left
516
+ *
517
+ * Accepts a border-width token or a responsive array of border-width tokens
518
+ */
519
+ $bl?: BorderWidth;
520
+ /**
521
+ * Apply border to the left and right
522
+ *
523
+ * Accepts a border-width token or a responsive array of border-width tokens
524
+ */
525
+ $bh?: BorderWidth;
526
+ /**
527
+ * Apply border to the top and bottom
528
+ *
529
+ * Accepts a border-width token or a responsive array of border-width tokens
530
+ */
531
+ $bv?: BorderWidth;
532
+ /**
533
+ * Apply `border-style` to the element
534
+ *
535
+ * Accepts a single value or a responsive array of values.
536
+ */
537
+ $borderStyle?: _BorderStyleProps;
538
+ /**
539
+ * Apply a border color to all sides of the element
540
+ *
541
+ * Accepts a UI role token or a responsive array of UI role tokens.
542
+ */
543
+ $borderColor?: BorderColorProps;
544
+ $borderRadius?: BorderRadiusProps;
545
+ /**
546
+ * Apply border radius to the top left
547
+ *
548
+ * Accepts an `OakBorderRadiusToken` or a responsive array of `OakBorderRadiusToken`s.
549
+ */
550
+ $btlr?: BorderRadiusProps;
551
+ /**
552
+ * Apply border radius to the top right
553
+ *
554
+ * Accepts a border-radius token or a responsive array of border-radius tokens.
555
+ */
556
+ $btrr?: BorderRadiusProps;
557
+ /**
558
+ * Apply border radius to the bottom left
559
+ *
560
+ * Accepts a border-radius token or a responsive array of border-radius tokens.
561
+ */
562
+ $bblr?: BorderRadiusProps;
563
+ /**
564
+ * Apply border radius to the bottom right
565
+ *
566
+ * Accepts a border-radius token or a responsive array of border-radius tokens.
567
+ */
568
+ $bbrr?: BorderRadiusProps;
569
+ /**
570
+ * Apply border radius to the top right and top left
571
+ *
572
+ * Accepts a border-radius token or a responsive array of border-radius tokens.
573
+ */
574
+ $btr?: BorderRadiusProps;
575
+ /**
576
+ * Apply border radius to the bottom right and bottom left
577
+ *
578
+ * Accepts a border-radius token or a responsive array of border-radius tokens
579
+ */
580
+ $bbr?: BorderRadiusProps;
680
581
  };
681
582
 
682
583
  type StyledButtonProps = TypographyStyleProps & SpacingStyleProps & ColorStyleProps & DisplayStyleProps & BorderStyleProps & DropShadowStyleProps & {
683
584
  isLoading?: boolean;
684
585
  };
685
586
  type InternalButtonProps = StyledButtonProps & {
686
- onHovered?: (event: React__default.MouseEvent<HTMLButtonElement, MouseEvent>, duration: number) => void;
587
+ onHovered?: (event: React$1.MouseEvent<HTMLButtonElement, MouseEvent>, duration: number) => void;
588
+ };
589
+
590
+ declare const oakOpacityTokens: {
591
+ transparent: number;
592
+ "semi-transparent": number;
593
+ "semi-opaque": number;
594
+ opaque: number;
595
+ };
596
+ type OakOpacityToken = keyof typeof oakOpacityTokens;
597
+
598
+ declare const oakTransitionTokens: {
599
+ "standard-ease": string;
600
+ "standard-transform": string;
601
+ };
602
+ type OakTransitionToken = keyof typeof oakTransitionTokens;
603
+
604
+ declare const oakZIndexTokens: {
605
+ readonly behind: -1;
606
+ readonly neutral: 0;
607
+ readonly "in-front": 1;
608
+ readonly "mobile-filters": 2;
609
+ readonly "fixed-header": 100;
610
+ readonly "modal-close-button": 150;
611
+ readonly "modal-dialog": 300;
612
+ readonly banner: number;
687
613
  };
614
+ type OakZIndexToken = keyof typeof oakZIndexTokens | null;
688
615
 
689
616
  declare const oakDefaultTheme: OakTheme;
690
617
 
@@ -933,7 +860,7 @@ type PositionStyleProps = {
933
860
  *
934
861
  * Accepts a `position` value or a responsive array of `position` values. Can be nulled.
935
862
  */
936
- $position?: ResponsiveValues<CSSProperties$1["position"]>;
863
+ $position?: ResponsiveValues<CSSProperties["position"]>;
937
864
  /**
938
865
  * Sets the `top` CSS property of the element.
939
866
  *
@@ -978,49 +905,49 @@ type PositionStyleProps = {
978
905
  *
979
906
  * Accepts an `overflow` value or a responsive array of `overflow` values.
980
907
  */
981
- $overflow?: ResponsiveValues<CSSProperties$1["overflow"]>;
908
+ $overflow?: ResponsiveValues<CSSProperties["overflow"]>;
982
909
  /**
983
910
  * Sets the `overflow-x` CSS property of the element.
984
911
  *
985
912
  * Accepts an `overflow-x` value or a responsive array of `overflow-x` values.
986
913
  */
987
- $overflowX?: ResponsiveValues<CSSProperties$1["overflowX"]>;
914
+ $overflowX?: ResponsiveValues<CSSProperties["overflowX"]>;
988
915
  /**
989
916
  * Sets the `overflow-y` CSS property of the element.
990
917
  *
991
918
  * Accepts an `overflow-y` value or a responsive array of `overflow-y` values.
992
919
  */
993
- $overflowY?: ResponsiveValues<CSSProperties$1["overflowY"]>;
920
+ $overflowY?: ResponsiveValues<CSSProperties["overflowY"]>;
994
921
  /**
995
922
  * Sets the `object-fit` CSS property of the element.
996
923
  *
997
924
  * Accepts an `object-fit` value or a responsive array of `object-fit` values.
998
925
  */
999
- $objectFit?: ResponsiveValues<CSSProperties$1["objectFit"]>;
926
+ $objectFit?: ResponsiveValues<CSSProperties["objectFit"]>;
1000
927
  /**
1001
928
  * Sets the `object-position` CSS property of the element.
1002
929
  *
1003
930
  * Accepts an `object-position` value or a responsive array of `object-position` values.
1004
931
  */
1005
- $objectPosition?: ResponsiveValues<CSSProperties$1["objectPosition"]>;
932
+ $objectPosition?: ResponsiveValues<CSSProperties["objectPosition"]>;
1006
933
  /**
1007
934
  * Sets the `pointer-events` CSS property of the element.
1008
935
  *
1009
936
  * Accepts a `pointer-events` value or a responsive array of `pointer-events` values.
1010
937
  */
1011
- $pointerEvents?: ResponsiveValues<CSSProperties$1["pointerEvents"]>;
938
+ $pointerEvents?: ResponsiveValues<CSSProperties["pointerEvents"]>;
1012
939
  /**
1013
940
  * Sets the `visibility` CSS property of the element.
1014
941
  *
1015
942
  * Accepts a `visibility` value or a responsive array of `visibility` values.
1016
943
  */
1017
- $visibility?: ResponsiveValues<CSSProperties$1["visibility"]>;
944
+ $visibility?: ResponsiveValues<CSSProperties["visibility"]>;
1018
945
  /**
1019
946
  * Sets the `vertical-align` CSS property of the element.
1020
947
  *
1021
948
  * Accepts a `vertical-align` value or a responsive array of `vertical-align` values.
1022
949
  */
1023
- $verticalAlign?: ResponsiveValues<CSSProperties$1["verticalAlign"]>;
950
+ $verticalAlign?: ResponsiveValues<CSSProperties["verticalAlign"]>;
1024
951
  };
1025
952
 
1026
953
  type SizeValues = ResponsiveValues<OakCombinedSpacingToken | null | undefined>;
@@ -1066,13 +993,73 @@ type SizeStyleProps = {
1066
993
  *
1067
994
  * Accepts an `aspect-ratio` value or a responsive array of `aspect-ratio` values.
1068
995
  */
1069
- $aspectRatio?: ResponsiveValues<CSSProperties["aspectRatio"]>;
996
+ $aspectRatio?: ResponsiveValues<CSSProperties$1["aspectRatio"]>;
1070
997
  /**
1071
998
  * Sets the `box-sizing` CSS property of the element.
1072
999
  *
1073
1000
  * Accepts a `box-sizing` value or a responsive array of `box-sizing` values.
1074
1001
  */
1075
- $boxSizing?: ResponsiveValues<CSSProperties["boxSizing"]>;
1002
+ $boxSizing?: ResponsiveValues<CSSProperties$1["boxSizing"]>;
1003
+ };
1004
+
1005
+ type OpacityStyleProps = {
1006
+ /**
1007
+ * Sets the `opacity` CSS property of the element.
1008
+ *
1009
+ * Accepts an opacity token or a responsive array of opacity tokens.
1010
+ */
1011
+ $opacity?: ResponsiveValues<OakOpacityToken>;
1012
+ };
1013
+
1014
+ type TransformStyleProps = {
1015
+ /**
1016
+ * Sets the `transform` CSS property of the element.
1017
+ *
1018
+ * Accepts a `transform` value or a responsive array of `transform` values. Can be nulled.
1019
+ */
1020
+ $transform?: ResponsiveValues<CSSProperties$1["transform"] | null>;
1021
+ /**
1022
+ * Sets the `transform-origin` CSS property of the element.
1023
+ *
1024
+ * Accepts a `transform-origin` value or a responsive array of `transform-origin` values. Can be nulled.
1025
+ */
1026
+ $transformOrigin?: ResponsiveValues<CSSProperties$1["transformOrigin"] | null>;
1027
+ };
1028
+
1029
+ type Transition = OakTransitionToken;
1030
+ type TransitionStyleProps = {
1031
+ /**
1032
+ * Sets the `transition` CSS property of the element.
1033
+ *
1034
+ * Accepts a transition token or a responsive array of transition tokens.
1035
+ */
1036
+ $transition?: ResponsiveValues<Transition>;
1037
+ };
1038
+
1039
+ type ZIndexStyleProps = {
1040
+ /**
1041
+ * Sets the `z-index` CSS property of the element.
1042
+ *
1043
+ * Accepts a z-index token or a responsive array of z-index tokens.
1044
+ */
1045
+ $zIndex?: ResponsiveValues<OakZIndexToken | number>;
1046
+ };
1047
+
1048
+ type ScrollMarginValue = OakAllSpacingToken | null | undefined;
1049
+ type ScrollMarginValues = ResponsiveValues<ScrollMarginValue>;
1050
+ type ScrollSnapStyleProps = {
1051
+ /**
1052
+ * Applies `scroll-margin-top` to the element
1053
+ *
1054
+ * Accepts any Oak spacing token or a responsive array of spacing tokens. Can be nulled.
1055
+ */
1056
+ $scrollMarginTop?: ScrollMarginValues;
1057
+ /**
1058
+ * Applies `scroll-margin-left` to the element
1059
+ *
1060
+ * Accepts any Oak spacing token or a responsive array of spacing tokens. Can be nulled.
1061
+ */
1062
+ $scrollMarginLeft?: ScrollMarginValues;
1076
1063
  };
1077
1064
 
1078
1065
  type HTMLProps$1 = {
@@ -1099,12 +1086,12 @@ declare const oakBoxCss: styled_components.FlattenInterpolation<styled_component
1099
1086
  * - scroll-margin-top/left
1100
1087
  *
1101
1088
  */
1102
- declare const OakBox: styled_components.StyledComponent<"div", styled_components.DefaultTheme, OakBoxProps, never>;
1089
+ declare const OakBox: any;
1103
1090
 
1104
1091
  type HTMLProps = {
1105
1092
  onClick?: MouseEventHandler;
1106
1093
  };
1107
- type OakImageProps<C extends ElementType = typeof Image__default> = Omit<ImageProps$1, "placeholder"> & OakBoxProps & ColorFilterStyleProps & HTMLProps & {
1094
+ type OakImageProps<C extends ElementType = typeof Image> = Omit<ImageProps$1, "placeholder"> & OakBoxProps & ColorFilterStyleProps & HTMLProps & {
1108
1095
  as?: C;
1109
1096
  /**
1110
1097
  * The placeholder to use while the image is loading
@@ -1134,7 +1121,7 @@ declare const placeholderStyles: styled_components.FlattenInterpolation<styled_c
1134
1121
  * sizes is exposed for further optimisation read Next docs for more info.
1135
1122
  *
1136
1123
  */
1137
- declare const OakImage: <C extends ElementType = typeof Image__default>({ ...props }: OakImageProps<C>) => React__default.JSX.Element;
1124
+ declare const OakImage: <C extends ElementType = typeof Image>({ ...props }: OakImageProps<C>) => React$1.JSX.Element;
1138
1125
 
1139
1126
  declare const oakIconNames: IconName[];
1140
1127
  type OakIconName = IconName;
@@ -1160,7 +1147,16 @@ declare function generateOakIconURL(iconName: string): string;
1160
1147
  /**
1161
1148
  * A wrapper around OakImage which uses the image-map.json file to map icon names to image paths.
1162
1149
  */
1163
- declare const OakIcon: (props: OakIconProps) => React__default.JSX.Element;
1150
+ declare const OakIcon: (props: OakIconProps) => React$1.JSX.Element;
1151
+
1152
+ type ElementProp<C extends ElementType> = {
1153
+ element?: C;
1154
+ };
1155
+ type PolymorphicPropsWithoutRef<C extends ElementType> = ElementProp<C> & ComponentPropsWithoutRef<C>;
1156
+ type PolymorphicRef<C extends React.ElementType> = ComponentPropsWithRef<C>["ref"];
1157
+ type PolymorphicPropsWithRef<C extends ElementType> = ElementProp<C> & ComponentPropsWithoutRef<C> & {
1158
+ ref?: PolymorphicRef<C>;
1159
+ };
1164
1160
 
1165
1161
  type FlexStyleProps = DisplayStyleProps & {
1166
1162
  /**
@@ -1168,55 +1164,55 @@ type FlexStyleProps = DisplayStyleProps & {
1168
1164
  *
1169
1165
  * Accepts a `flex-direction` value or a responsive array of flex-direction values.
1170
1166
  */
1171
- $flexDirection?: ResponsiveValues<CSSProperties$1["flexDirection"]>;
1167
+ $flexDirection?: ResponsiveValues<CSSProperties["flexDirection"]>;
1172
1168
  /**
1173
1169
  * Sets the `flex-wrap` CSS property of the element.
1174
1170
  *
1175
1171
  * Accepts a `flex-wrap` value or a responsive array of flex-wrap values.
1176
1172
  */
1177
- $flexWrap?: ResponsiveValues<CSSProperties$1["flexWrap"]>;
1173
+ $flexWrap?: ResponsiveValues<CSSProperties["flexWrap"]>;
1178
1174
  /**
1179
1175
  * Sets the `align-items` CSS property of the element.
1180
1176
  *
1181
1177
  * Accepts an `align-items` value or a responsive array of `align-items` values.
1182
1178
  */
1183
- $alignItems?: ResponsiveValues<CSSProperties$1["alignItems"]>;
1179
+ $alignItems?: ResponsiveValues<CSSProperties["alignItems"]>;
1184
1180
  /**
1185
1181
  * Sets the `align-content` CSS property of the element.
1186
1182
  *
1187
1183
  * Accepts an `align-content` value or a responsive array of `align-content` values.
1188
1184
  */
1189
- $alignContent?: ResponsiveValues<CSSProperties$1["alignContent"]>;
1185
+ $alignContent?: ResponsiveValues<CSSProperties["alignContent"]>;
1190
1186
  /**
1191
1187
  * Sets the `justify-content` CSS property of the element.
1192
1188
  *
1193
1189
  * Accepts a `justify-content` value or a responsive array of `justify-content` values.
1194
1190
  */
1195
- $justifyContent?: ResponsiveValues<CSSProperties$1["justifyContent"]>;
1191
+ $justifyContent?: ResponsiveValues<CSSProperties["justifyContent"]>;
1196
1192
  /**
1197
1193
  * Sets the `align-self` CSS property of the element.
1198
1194
  *
1199
1195
  * Accepts an `align-self` value or a responsive array of `align-self` values.
1200
1196
  */
1201
- $alignSelf?: ResponsiveValues<CSSProperties$1["alignSelf"]>;
1197
+ $alignSelf?: ResponsiveValues<CSSProperties["alignSelf"]>;
1202
1198
  /**
1203
1199
  * Sets the `flex-grow` CSS property of the element.
1204
1200
  *
1205
1201
  * Accepts a `flex-grow` value or a responsive array of `flex-grow` values.
1206
1202
  */
1207
- $flexGrow?: ResponsiveValues<CSSProperties$1["flexGrow"]>;
1203
+ $flexGrow?: ResponsiveValues<CSSProperties["flexGrow"]>;
1208
1204
  /**
1209
1205
  * Sets the `flex-shrink` CSS property of the element.
1210
1206
  *
1211
1207
  * Accepts a `flex-shrink` value or a responsive array of `flex-shrink` values.
1212
1208
  */
1213
- $flexShrink?: ResponsiveValues<CSSProperties$1["flexShrink"]>;
1209
+ $flexShrink?: ResponsiveValues<CSSProperties["flexShrink"]>;
1214
1210
  /**
1215
1211
  * Sets the `order` CSS property of the element.
1216
1212
  *
1217
1213
  * Accepts an `order` value or a responsive array of `order` values.
1218
1214
  */
1219
- $order?: ResponsiveValues<CSSProperties$1["order"]>;
1215
+ $order?: ResponsiveValues<CSSProperties["order"]>;
1220
1216
  /**
1221
1217
  * Sets the `flex-basis` CSS property of the element.
1222
1218
  *
@@ -1251,7 +1247,7 @@ type InternalShadowRectButtonProps = Omit<InternalButtonProps, "$pa" | "$ph" | "
1251
1247
  /**
1252
1248
  * we can set a custom icon if we want different sizes and padding
1253
1249
  */
1254
- iconOverride?: React__default.ReactNode;
1250
+ iconOverride?: React$1.ReactNode;
1255
1251
  isTrailingIcon?: boolean;
1256
1252
  /**
1257
1253
  * we can arrange the icon vertically or horizontally
@@ -1301,18 +1297,18 @@ type OakSecondaryButtonProps = Omit<InternalShadowRectButtonProps, "defaultBorde
1301
1297
  * `onHovered?: (event: React.MouseEvent<HTMLButtonElement, MouseEvent>, duration: number) => void;`<br>
1302
1298
  * called after a mouseEnter and mouseLeave event has happened
1303
1299
  */
1304
- declare const OakSecondaryButton: <C extends ElementType = "button">({ element, ...rest }: OakSecondaryButtonProps & PolymorphicPropsWithoutRef<C>) => React__default.JSX.Element;
1300
+ declare const OakSecondaryButton: <C extends ElementType = "button">({ element, ...rest }: OakSecondaryButtonProps & PolymorphicPropsWithoutRef<C>) => React$1.JSX.Element;
1305
1301
 
1306
- type ButtonComponent = <C extends React__default.ElementType = "button">({ element, ...rest }: OakSecondaryButtonProps & PolymorphicPropsWithoutRef<C>) => React__default.JSX.Element;
1302
+ type ButtonComponent = <C extends React$1.ElementType = "button">({ element, ...rest }: OakSecondaryButtonProps & PolymorphicPropsWithoutRef<C>) => React$1.JSX.Element;
1307
1303
  type OakButtonWithDropdownProps = {
1308
1304
  primaryActionText: string;
1309
1305
  primaryActionIcon?: OakIconName;
1310
1306
  onPrimaryAction?: () => void;
1311
- children?: React__default.ReactNode;
1307
+ children?: React$1.ReactNode;
1312
1308
  isLoading?: boolean;
1313
1309
  disabled?: boolean;
1314
1310
  ariaLabel?: string;
1315
- leadingButtonIcon?: React__default.ReactNode;
1311
+ leadingButtonIcon?: React$1.ReactNode;
1316
1312
  ariaDescription?: string;
1317
1313
  "data-testid"?: string;
1318
1314
  buttonComponent: ButtonComponent;
@@ -1325,11 +1321,11 @@ type OakButtonWithDropdownProps = {
1325
1321
  * Accepts the button component as a prop to eliminate code duplication.
1326
1322
  */
1327
1323
  declare const OakButtonWithDropdown: {
1328
- ({ primaryActionText, primaryActionIcon, onPrimaryAction, children, isLoading, disabled, ariaLabel, ariaDescription, leadingButtonIcon, "data-testid": dataTestId, buttonComponent: ButtonComponent, dropdownTopSpacing, flexWidth, closeOnChange, }: OakButtonWithDropdownProps): React__default.JSX.Element;
1329
- Divider(): React__default.ReactElement;
1324
+ ({ primaryActionText, primaryActionIcon, onPrimaryAction, children, isLoading, disabled, ariaLabel, ariaDescription, leadingButtonIcon, "data-testid": dataTestId, buttonComponent: ButtonComponent, dropdownTopSpacing, flexWidth, closeOnChange, }: OakButtonWithDropdownProps): React$1.JSX.Element;
1325
+ Divider(): React$1.ReactElement;
1330
1326
  Item<C extends ElementType = "button">({ children, element, ...rest }: {
1331
- children: React__default.ReactNode;
1332
- } & OakSecondaryButtonProps & PolymorphicPropsWithoutRef<C>): React__default.ReactElement;
1327
+ children: React$1.ReactNode;
1328
+ } & OakSecondaryButtonProps & PolymorphicPropsWithoutRef<C>): React$1.ReactElement;
1333
1329
  };
1334
1330
 
1335
1331
  type OakCloseButtonProps = {
@@ -1343,7 +1339,7 @@ type OakCloseButtonProps = {
1343
1339
  *
1344
1340
  *
1345
1341
  */
1346
- declare function OakCloseButton({ onClose, ...rest }: Readonly<OakCloseButtonProps>): React__default.JSX.Element;
1342
+ declare function OakCloseButton({ onClose, ...rest }: Readonly<OakCloseButtonProps>): React$1.JSX.Element;
1347
1343
 
1348
1344
  type OakPrimaryButtonProps = Omit<InternalShadowRectButtonProps, "defaultBorderColor" | "defaultBackground" | "defaultTextColor" | "hoverBackground" | "hoverBorderColor" | "hoverTextColor" | "disabledBackground" | "disabledBorderColor" | "disabledTextColor">;
1349
1345
  /**
@@ -1359,7 +1355,7 @@ type OakPrimaryButtonProps = Omit<InternalShadowRectButtonProps, "defaultBorderC
1359
1355
  * `onHovered?: (event: React.MouseEvent<HTMLButtonElement, MouseEvent>, duration: number) => void;`<br>
1360
1356
  * called after a mouseEnter and mouseLeave event has happened
1361
1357
  */
1362
- declare const OakPrimaryButton: <C extends ElementType = "button">({ element, ...rest }: OakPrimaryButtonProps & PolymorphicPropsWithoutRef<C>) => React__default.JSX.Element;
1358
+ declare const OakPrimaryButton: <C extends ElementType = "button">({ element, ...rest }: OakPrimaryButtonProps & PolymorphicPropsWithoutRef<C>) => React$1.JSX.Element;
1363
1359
 
1364
1360
  type OakPrimaryInvertedButtonProps = Omit<InternalShadowRectButtonProps, "defaultBorderColor" | "defaultBackground" | "defaultTextColor" | "hoverBackground" | "hoverBorderColor" | "hoverTextColor" | "disabledBackground" | "disabledBorderColor" | "disabledTextColor">;
1365
1361
  /**
@@ -1375,17 +1371,17 @@ type OakPrimaryInvertedButtonProps = Omit<InternalShadowRectButtonProps, "defaul
1375
1371
  * `onHovered?: (event: React.MouseEvent<HTMLButtonElement, MouseEvent>, duration: number) => void;`<br>
1376
1372
  * called after a mouseEnter and mouseLeave event has happened
1377
1373
  */
1378
- declare const OakPrimaryInvertedButton: <C extends ElementType = "button">({ element, ...rest }: OakPrimaryInvertedButtonProps & PolymorphicPropsWithoutRef<C>) => React__default.JSX.Element;
1374
+ declare const OakPrimaryInvertedButton: <C extends ElementType = "button">({ element, ...rest }: OakPrimaryInvertedButtonProps & PolymorphicPropsWithoutRef<C>) => React$1.JSX.Element;
1379
1375
 
1380
1376
  type OakSecondaryButtonWithDropdownProps = {
1381
1377
  primaryActionText: string;
1382
1378
  primaryActionIcon?: OakIconName;
1383
1379
  onPrimaryAction?: () => void;
1384
- children?: React__default.ReactNode;
1380
+ children?: React$1.ReactNode;
1385
1381
  isLoading?: boolean;
1386
1382
  disabled?: boolean;
1387
1383
  ariaLabel?: string;
1388
- leadingButtonIcon?: React__default.ReactNode;
1384
+ leadingButtonIcon?: React$1.ReactNode;
1389
1385
  ariaDescription?: string;
1390
1386
  "data-testid"?: string;
1391
1387
  };
@@ -1394,11 +1390,11 @@ type OakSecondaryButtonWithDropdownProps = {
1394
1390
  *
1395
1391
  */
1396
1392
  declare const OakSecondaryButtonWithDropdown: {
1397
- (props: OakSecondaryButtonWithDropdownProps): React__default.JSX.Element;
1398
- Divider(): React__default.ReactElement;
1393
+ (props: OakSecondaryButtonWithDropdownProps): React$1.JSX.Element;
1394
+ Divider(): React$1.ReactElement;
1399
1395
  Item<C extends ElementType = "button">({ children, element, ...rest }: {
1400
- children: React__default.ReactNode;
1401
- } & OakPrimaryInvertedButtonProps & PolymorphicPropsWithoutRef<C>): React__default.ReactElement;
1396
+ children: React$1.ReactNode;
1397
+ } & OakPrimaryInvertedButtonProps & PolymorphicPropsWithoutRef<C>): React$1.ReactElement;
1402
1398
  };
1403
1399
 
1404
1400
  type OakSmallPrimaryButtonProps = Omit<InternalShadowRectButtonProps, "defaultBorderColor" | "defaultBackground" | "defaultTextColor" | "hoverBackground" | "hoverBorderColor" | "hoverTextColor" | "disabledBackground" | "disabledBorderColor" | "disabledTextColor" | "pv" | "ph" | "font">;
@@ -1415,7 +1411,7 @@ type OakSmallPrimaryButtonProps = Omit<InternalShadowRectButtonProps, "defaultBo
1415
1411
  * `onHovered?: (event: React.MouseEvent<HTMLButtonElement, MouseEvent>, duration: number) => void;`<br>
1416
1412
  * called after a mouseEnter and mouseLeave event has happened
1417
1413
  */
1418
- declare const OakSmallPrimaryButton: <C extends ElementType = "button">({ element, ...rest }: OakSmallPrimaryButtonProps & PolymorphicPropsWithoutRef<C>) => React__default.JSX.Element;
1414
+ declare const OakSmallPrimaryButton: <C extends ElementType = "button">({ element, ...rest }: OakSmallPrimaryButtonProps & PolymorphicPropsWithoutRef<C>) => React$1.JSX.Element;
1419
1415
 
1420
1416
  type OakSmallPrimaryInvertedButtonProps = Omit<InternalShadowRectButtonProps, "defaultBorderColor" | "defaultBackground" | "defaultTextColor" | "hoverBackground" | "hoverBorderColor" | "hoverTextColor" | "disabledBackground" | "disabledBorderColor" | "disabledTextColor">;
1421
1417
  /**
@@ -1431,7 +1427,7 @@ type OakSmallPrimaryInvertedButtonProps = Omit<InternalShadowRectButtonProps, "d
1431
1427
  * `onHovered?: (event: React.MouseEvent<HTMLButtonElement, MouseEvent>, duration: number) => void;`<br>
1432
1428
  * called after a mouseEnter and mouseLeave event has happened
1433
1429
  */
1434
- declare const OakSmallPrimaryInvertedButton: <C extends ElementType = "button">({ element, ...rest }: OakSmallPrimaryInvertedButtonProps & PolymorphicPropsWithoutRef<C>) => React__default.JSX.Element;
1430
+ declare const OakSmallPrimaryInvertedButton: <C extends ElementType = "button">({ element, ...rest }: OakSmallPrimaryInvertedButtonProps & PolymorphicPropsWithoutRef<C>) => React$1.JSX.Element;
1435
1431
 
1436
1432
  type OakSmallSecondaryButtonProps = Omit<InternalShadowRectButtonProps, "defaultBorderColor" | "defaultBackground" | "defaultTextColor" | "hoverBackground" | "hoverBorderColor" | "hoverTextColor" | "disabledBackground" | "disabledBorderColor" | "disabledTextColor" | "pv" | "ph" | "font">;
1437
1433
  /**
@@ -1447,7 +1443,7 @@ type OakSmallSecondaryButtonProps = Omit<InternalShadowRectButtonProps, "default
1447
1443
  * `onHovered?: (event: React.MouseEvent<HTMLButtonElement, MouseEvent>, duration: number) => void;`<br>
1448
1444
  * called after a mouseEnter and mouseLeave event has happened
1449
1445
  */
1450
- declare const OakSmallSecondaryButton: <C extends ElementType = "button">({ element, ...rest }: OakSmallSecondaryButtonProps & PolymorphicPropsWithoutRef<C>) => React__default.JSX.Element;
1446
+ declare const OakSmallSecondaryButton: <C extends ElementType = "button">({ element, ...rest }: OakSmallSecondaryButtonProps & PolymorphicPropsWithoutRef<C>) => React$1.JSX.Element;
1451
1447
 
1452
1448
  declare const oakAllApectRatiosConst: readonly ["7:8", "2:3", "1:1", "3:2", "16:9"];
1453
1449
  type OakAllApectRatios = (typeof oakAllApectRatiosConst)[number];
@@ -1456,7 +1452,7 @@ type OakAspectRatioOuterProps = {
1456
1452
  ratio: OakAspectRatioValues;
1457
1453
  };
1458
1454
  type OakAspectRatioProps = {
1459
- children?: React__default.ReactNode;
1455
+ children?: React$1.ReactNode;
1460
1456
  } & OakAspectRatioOuterProps;
1461
1457
  /**
1462
1458
  *
@@ -1480,16 +1476,16 @@ declare const OakAspectRatio: FC<OakAspectRatioProps>;
1480
1476
  * 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
1481
1477
  */
1482
1478
  declare const svgMap: {
1483
- "header-underline": () => React__default.JSX.Element;
1484
- underline: () => React__default.JSX.Element;
1485
- "horizontal-rule": () => React__default.JSX.Element;
1486
- "underline-3": () => React__default.JSX.Element;
1487
- "button-border-top": () => React__default.JSX.Element;
1488
- "button-border-bottom": () => React__default.JSX.Element;
1489
- "button-border-left": () => React__default.JSX.Element;
1490
- "button-border-right": () => React__default.JSX.Element;
1491
- "icon-background": () => React__default.JSX.Element;
1492
- scribble: () => React__default.JSX.Element;
1479
+ "header-underline": () => React$1.JSX.Element;
1480
+ underline: () => React$1.JSX.Element;
1481
+ "horizontal-rule": () => React$1.JSX.Element;
1482
+ "underline-3": () => React$1.JSX.Element;
1483
+ "button-border-top": () => React$1.JSX.Element;
1484
+ "button-border-bottom": () => React$1.JSX.Element;
1485
+ "button-border-left": () => React$1.JSX.Element;
1486
+ "button-border-right": () => React$1.JSX.Element;
1487
+ "icon-background": () => React$1.JSX.Element;
1488
+ scribble: () => React$1.JSX.Element;
1493
1489
  };
1494
1490
  type OakSvgNames = keyof typeof svgMap;
1495
1491
  type OakSvgProps = OakBoxProps & {
@@ -1517,17 +1513,17 @@ type OakRoundIconProps = IconProps | ImageProps;
1517
1513
  * A wrapper around `OakIcon` which applies a rounded background.
1518
1514
  * Supports either an icon name or an image src
1519
1515
  */
1520
- declare const OakRoundIcon: ({ $background, $borderRadius, $width, $height, $pa, className, ...rest }: OakRoundIconProps) => React__default.JSX.Element;
1516
+ declare const OakRoundIcon: ({ $background, $borderRadius, $width, $height, $pa, className, ...rest }: OakRoundIconProps) => React$1.JSX.Element;
1521
1517
 
1522
1518
  type OakSmallSecondaryButtonWithDropdownProps = {
1523
1519
  primaryActionText: string;
1524
1520
  primaryActionIcon?: OakIconName;
1525
1521
  onPrimaryAction?: () => void;
1526
- children?: React__default.ReactNode;
1522
+ children?: React$1.ReactNode;
1527
1523
  isLoading?: boolean;
1528
1524
  disabled?: boolean;
1529
1525
  ariaLabel?: string;
1530
- leadingButtonIcon?: React__default.ReactNode;
1526
+ leadingButtonIcon?: React$1.ReactNode;
1531
1527
  ariaDescription?: string;
1532
1528
  "data-testid"?: string;
1533
1529
  };
@@ -1536,11 +1532,11 @@ type OakSmallSecondaryButtonWithDropdownProps = {
1536
1532
  *
1537
1533
  */
1538
1534
  declare const OakSmallSecondaryButtonWithDropdown: {
1539
- (props: OakSmallSecondaryButtonWithDropdownProps): React__default.JSX.Element;
1540
- Divider(): React__default.ReactElement;
1535
+ (props: OakSmallSecondaryButtonWithDropdownProps): React$1.JSX.Element;
1536
+ Divider(): React$1.ReactElement;
1541
1537
  Item<C extends ElementType = "button">({ children, element, ...rest }: {
1542
- children: React__default.ReactNode;
1543
- } & OakSmallPrimaryInvertedButtonProps & PolymorphicPropsWithoutRef<C>): React__default.ReactElement;
1538
+ children: React$1.ReactNode;
1539
+ } & OakSmallPrimaryInvertedButtonProps & PolymorphicPropsWithoutRef<C>): React$1.ReactElement;
1544
1540
  };
1545
1541
 
1546
1542
  type OakSmallSecondaryToggleButtonProps = Omit<InternalShadowRectButtonProps, "defaultBorderColor" | "defaultBackground" | "defaultTextColor" | "hoverBackground" | "hoverBorderColor" | "hoverTextColor" | "disabledBackground" | "disabledBorderColor" | "disabledTextColor" | "pv" | "ph" | "font"> & {
@@ -1561,7 +1557,7 @@ type OakSmallSecondaryToggleButtonProps = Omit<InternalShadowRectButtonProps, "d
1561
1557
  * `onHovered?: (event: React.MouseEvent<HTMLButtonElement, MouseEvent>, duration: number) => void;`<br>
1562
1558
  * called after a mouseEnter and mouseLeave event has happened
1563
1559
  */
1564
- declare const OakSmallSecondaryToggleButton: <C extends ElementType = "button">({ element, toggleOn, ...rest }: OakSmallSecondaryToggleButtonProps & PolymorphicPropsWithoutRef<C>) => React__default.JSX.Element;
1560
+ declare const OakSmallSecondaryToggleButton: <C extends ElementType = "button">({ element, toggleOn, ...rest }: OakSmallSecondaryToggleButtonProps & PolymorphicPropsWithoutRef<C>) => React$1.JSX.Element;
1565
1561
 
1566
1562
  type InternalShadowIconButtonProps = Omit<InternalButtonProps, "$pa" | "$ph" | "$pv" | "$ba" | "$borderRadius" | "$borderColor" | "$background" | "$color"> & {
1567
1563
  iconName?: OakIconName;
@@ -1590,7 +1586,7 @@ type OakSmallTertiaryInvertedButtonProps = Omit<InternalShadowIconButtonProps, "
1590
1586
  * `onHovered?: (event: React.MouseEvent<HTMLButtonElement, MouseEvent>, duration: number) => void;`<br>
1591
1587
  * called after a mouseEnter and mouseLeave event has happened
1592
1588
  */
1593
- declare const OakSmallTertiaryInvertedButton: <C extends ElementType = "button">({ element, ...rest }: OakSmallTertiaryInvertedButtonProps & PolymorphicPropsWithoutRef<C>) => React__default.JSX.Element;
1589
+ declare const OakSmallTertiaryInvertedButton: <C extends ElementType = "button">({ element, ...rest }: OakSmallTertiaryInvertedButtonProps & PolymorphicPropsWithoutRef<C>) => React$1.JSX.Element;
1594
1590
 
1595
1591
  type InternalShadowRoundButtonProps = Omit<InternalButtonProps, "$pa" | "$ph" | "$pv" | "$ba" | "$borderRadius" | "$borderColor" | "$background" | "$color"> & {
1596
1592
  iconName?: OakIconName;
@@ -1626,7 +1622,7 @@ type InternalShadowRoundButtonProps = Omit<InternalButtonProps, "$pa" | "$ph" |
1626
1622
  * `onHovered?: (event: React.MouseEvent<HTMLButtonElement, MouseEvent>, duration: number) => void;`<br>
1627
1623
  * called after a mouseEnter and mouseLeave event has happened
1628
1624
  */
1629
- declare const InternalShadowRoundButton: <C extends ElementType = "button">(props: InternalShadowRoundButtonProps & PolymorphicPropsWithoutRef<C>) => React__default.JSX.Element;
1625
+ declare const InternalShadowRoundButton: <C extends ElementType = "button">(props: InternalShadowRoundButtonProps & PolymorphicPropsWithoutRef<C>) => React$1.JSX.Element;
1630
1626
 
1631
1627
  type OakTertiaryButtonProps = InternalButtonProps & {
1632
1628
  iconBackground?: OakRoundIconProps["$background"];
@@ -1638,7 +1634,7 @@ type OakTertiaryButtonProps = InternalButtonProps & {
1638
1634
  * An implementation of InternalShadowRoundButton, its a subtle button with no border and a round icon.
1639
1635
  *
1640
1636
  */
1641
- declare const OakTertiaryButton: <C extends ElementType = "button">({ element, isTrailingIcon, iconName, children, ...props }: OakTertiaryButtonProps & Partial<InternalShadowRoundButtonProps> & PolymorphicPropsWithoutRef<C>) => React__default.JSX.Element;
1637
+ declare const OakTertiaryButton: <C extends ElementType = "button">({ element, isTrailingIcon, iconName, children, ...props }: OakTertiaryButtonProps & Partial<InternalShadowRoundButtonProps> & PolymorphicPropsWithoutRef<C>) => React$1.JSX.Element;
1642
1638
 
1643
1639
  type OakTertiaryInvertedButtonProps = InternalButtonProps & {
1644
1640
  iconBackground?: OakRoundIconProps["$background"];
@@ -1650,7 +1646,7 @@ type OakTertiaryInvertedButtonProps = InternalButtonProps & {
1650
1646
  * An implementation of InternalShadowRoundButton, its a subtle button with no border and a round icon.
1651
1647
  *
1652
1648
  */
1653
- declare const OakTertiaryInvertedButton: <C extends ElementType = "button">({ element, isTrailingIcon, iconName, children, ...props }: OakTertiaryInvertedButtonProps & PolymorphicPropsWithoutRef<C>) => React__default.JSX.Element;
1649
+ declare const OakTertiaryInvertedButton: <C extends ElementType = "button">({ element, isTrailingIcon, iconName, children, ...props }: OakTertiaryInvertedButtonProps & PolymorphicPropsWithoutRef<C>) => React$1.JSX.Element;
1654
1650
 
1655
1651
  type OakLeftAlignedButtonProps = Omit<InternalShadowRectButtonProps, "defaultBorderColor" | "defaultBackground" | "defaultTextColor" | "hoverBackground" | "hoverBorderColor" | "hoverTextColor" | "disabledBackground" | "disabledBorderColor" | "disabledTextColor"> & {
1656
1652
  /**
@@ -1671,7 +1667,7 @@ type OakLeftAlignedButtonProps = Omit<InternalShadowRectButtonProps, "defaultBor
1671
1667
  * `onHovered?: (event: React.MouseEvent<HTMLButtonElement, MouseEvent>, duration: number) => void;`
1672
1668
  * called after a mouseEnter and mouseLeave event has happened
1673
1669
  */
1674
- declare const OakLeftAlignedButton: <C extends ElementType = "button">(props: OakLeftAlignedButtonProps & PolymorphicPropsWithoutRef<C>) => React__default.JSX.Element;
1670
+ declare const OakLeftAlignedButton: <C extends ElementType = "button">(props: OakLeftAlignedButtonProps & PolymorphicPropsWithoutRef<C>) => React$1.JSX.Element;
1675
1671
 
1676
1672
  type OakCookieBannerProps = {
1677
1673
  /**
@@ -1723,7 +1719,7 @@ type OakCookieBannerProps = {
1723
1719
  /**
1724
1720
  * A banner presenting the user with options to accept or reject cookies.
1725
1721
  */
1726
- declare const OakCookieBanner: ({ state, innerMaxWidth, onOpenSettings, onHide, onAccept, onReject, isFixed, zIndex, }: OakCookieBannerProps) => React__default.JSX.Element;
1722
+ declare const OakCookieBanner: ({ state, innerMaxWidth, onOpenSettings, onHide, onAccept, onReject, isFixed, zIndex, }: OakCookieBannerProps) => React$1.JSX.Element;
1727
1723
 
1728
1724
  type CookieConsentReducerState = {
1729
1725
  isSettingsModalOpen: boolean;
@@ -1825,7 +1821,7 @@ type OakCookieConsentContextType = {
1825
1821
  bannerState: CookieConsentReducerState["bannerState"];
1826
1822
  };
1827
1823
  declare function getDefaultContextState(): OakCookieConsentContextType;
1828
- declare const OakCookieConsentContext: React__default.Context<OakCookieConsentContextType>;
1824
+ declare const OakCookieConsentContext: React$1.Context<OakCookieConsentContextType>;
1829
1825
  type OakCookieConsentProviderProps = Pick<OakCookieConsentContextType, "policyConsents"> & {
1830
1826
  children: ReactNode;
1831
1827
  /**
@@ -1846,9 +1842,9 @@ declare function useCookieConsent(): {
1846
1842
  *
1847
1843
  * Intended to be used with `OakCookieConsent`
1848
1844
  */
1849
- declare const OakCookieConsentProvider: ({ children, policyConsents, onConsentChange, }: OakCookieConsentProviderProps) => React__default.JSX.Element;
1845
+ declare const OakCookieConsentProvider: ({ children, policyConsents, onConsentChange, }: OakCookieConsentProviderProps) => React$1.JSX.Element;
1850
1846
 
1851
- declare const OakInformativeModalBorderColor: React__default.Context<("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" | "code-blue" | "code-green" | "code-grey" | "code-pink" | ("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" | "code-blue" | "code-green" | "code-grey" | "code-pink" | null)[] | null) | undefined>;
1847
+ declare const OakInformativeModalBorderColor: React$1.Context<("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" | "code-blue" | "code-green" | "code-grey" | "code-pink" | ("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" | "code-blue" | "code-green" | "code-grey" | "code-pink" | null)[] | null) | undefined>;
1852
1848
  type OakInformativeModalCloseAction = "close_button" | undefined;
1853
1849
  type OakInformativeModalProps = {
1854
1850
  /**
@@ -1902,7 +1898,7 @@ type OakInformativeModalProps = {
1902
1898
  /**
1903
1899
  * Modal dialog with trapped focus and a close button. See the [design specification](https://www.figma.com/design/YcWQMMhHPVVmc47cHHEEAl/Oak-Design-Kit?node-id=15135-2063)
1904
1900
  */
1905
- declare const OakInformativeModal: ({ children, footerSlot, domContainer, isOpen, onClose, zIndex, isLeftHandSide, closeOnBackgroundClick, largeScreenMaxWidth, ...rest }: OakInformativeModalProps) => React__default.ReactPortal | null;
1901
+ declare const OakInformativeModal: ({ children, footerSlot, domContainer, isOpen, onClose, zIndex, isLeftHandSide, closeOnBackgroundClick, largeScreenMaxWidth, ...rest }: OakInformativeModalProps) => React$1.ReactPortal | null;
1906
1902
 
1907
1903
  type OakInformativeModalBodyProps = {
1908
1904
  children: ReactNode;
@@ -1912,7 +1908,7 @@ type OakInformativeModalBodyProps = {
1912
1908
  * it applies some padding and margin to ensure that the contents
1913
1909
  * line up with the modal's header and footer
1914
1910
  */
1915
- declare const OakInformativeModalBody: (props: OakInformativeModalBodyProps) => React__default.JSX.Element;
1911
+ declare const OakInformativeModalBody: (props: OakInformativeModalBodyProps) => React$1.JSX.Element;
1916
1912
 
1917
1913
  type OakInformativeModalFooterProps = {
1918
1914
  children: ReactNode;
@@ -1922,7 +1918,7 @@ type OakInformativeModalFooterProps = {
1922
1918
  * it is ideal as a container for one or more buttons.
1923
1919
  * It switches from a horizontal to vertical layout on smaller screens
1924
1920
  */
1925
- declare const OakInformativeModalFooter: (props: OakInformativeModalFooterProps) => React__default.JSX.Element;
1921
+ declare const OakInformativeModalFooter: (props: OakInformativeModalFooterProps) => React$1.JSX.Element;
1926
1922
 
1927
1923
  type OakCookieSettingsModalProps = Pick<OakInformativeModalProps, "isOpen" | "onClose" | "zIndex"> & {
1928
1924
  /**
@@ -1950,7 +1946,7 @@ type OakCookieSettingsModalProps = Pick<OakInformativeModalProps, "isOpen" | "on
1950
1946
  /**
1951
1947
  * Modal for managing cookie consent settings.
1952
1948
  */
1953
- declare const OakCookieSettingsModal: ({ isOpen, onClose, onReject, onConfirm, onAccept, policyURL, policyConsents, zIndex, }: OakCookieSettingsModalProps) => React__default.JSX.Element;
1949
+ declare const OakCookieSettingsModal: ({ isOpen, onClose, onReject, onConfirm, onAccept, policyURL, policyConsents, zIndex, }: OakCookieSettingsModalProps) => React$1.JSX.Element;
1954
1950
 
1955
1951
  type OakCookieConsentProps = Pick<OakCookieSettingsModalProps, "policyURL"> & Pick<OakCookieBannerProps, "isFixed" | "innerMaxWidth"> & {
1956
1952
  /**
@@ -1964,14 +1960,14 @@ type OakCookieConsentProps = Pick<OakCookieSettingsModalProps, "policyURL"> & Pi
1964
1960
  /**
1965
1961
  * Connects `OakCookieBanner` and `OakCookieSettingsModal` to `OakCookieConsentProvider`.
1966
1962
  */
1967
- declare const OakCookieConsent: ({ policyURL, isFixed, innerMaxWidth, zIndex, }: OakCookieConsentProps) => React__default.JSX.Element;
1963
+ declare const OakCookieConsent: ({ policyURL, isFixed, innerMaxWidth, zIndex, }: OakCookieConsentProps) => React$1.JSX.Element;
1968
1964
 
1969
1965
  type OakFieldsetProps = OakBoxProps;
1970
1966
  /**
1971
1967
  * OakFieldset renders a custom `fieldset` component, removes default styling of fieldset.
1972
1968
  color, opacity, margin, padding, border and typography styles can be passed in also.
1973
1969
  */
1974
- declare const OakFieldset: styled_components.StyledComponent<"fieldset", styled_components.DefaultTheme, OakBoxProps, never>;
1970
+ declare const OakFieldset: any;
1975
1971
 
1976
1972
  /**
1977
1973
  *
@@ -1981,7 +1977,7 @@ declare const OakFieldset: styled_components.StyledComponent<"fieldset", styled_
1981
1977
  * Use `<OakBox as="form">` instead
1982
1978
  * @deprecated Use `<OakBox as="form">` instead
1983
1979
  */
1984
- declare const OakForm: styled_components.StyledComponent<"form", styled_components.DefaultTheme, OakBoxProps, never>;
1980
+ declare const OakForm: any;
1985
1981
  type OakFormProps = OakBoxProps;
1986
1982
 
1987
1983
  type OakLabelProps = TypographyStyleProps & ColorStyleProps;
@@ -1991,7 +1987,7 @@ type OakLabelProps = TypographyStyleProps & ColorStyleProps;
1991
1987
  * Use this component when you want to apply styles to a label, likely within
1992
1988
  * a form.
1993
1989
  */
1994
- declare const OakLabel: styled_components.StyledComponent<"label", styled_components.DefaultTheme, OakLabelProps, never>;
1990
+ declare const OakLabel: any;
1995
1991
 
1996
1992
  type OakTextAreaProps = Omit<DetailedHTMLProps<TextareaHTMLAttributes<HTMLTextAreaElement>, HTMLTextAreaElement>, "ref"> & StyledTextAreaProps;
1997
1993
  type StyledTextAreaProps = SizeStyleProps & BorderStyleProps & SpacingStyleProps & TypographyStyleProps & PositionStyleProps & ColorStyleProps;
@@ -2000,7 +1996,7 @@ type StyledTextAreaProps = SizeStyleProps & BorderStyleProps & SpacingStyleProps
2000
1996
  * A textarea that can be used for longer text inputs where text should wrap.
2001
1997
  *
2002
1998
  */
2003
- declare const OakTextArea: styled_components.StyledComponent<React__default.ForwardRefExoticComponent<Omit<React__default.DetailedHTMLProps<React__default.TextareaHTMLAttributes<HTMLTextAreaElement>, HTMLTextAreaElement>, "ref"> & SizeStyleProps & BorderStyleProps & PaddingStyleProps & MarginStyleProps & TypographyStyleProps & PositionStyleProps & ColorStyleProps & React__default.RefAttributes<HTMLTextAreaElement>>, styled_components.DefaultTheme, {}, never>;
1999
+ declare const OakTextArea: any;
2004
2000
 
2005
2001
  type OakButtonAsRadioGroupProps = {
2006
2002
  label?: string;
@@ -2008,7 +2004,7 @@ type OakButtonAsRadioGroupProps = {
2008
2004
  ariaLabelledby?: string;
2009
2005
  name: string;
2010
2006
  disabled?: boolean;
2011
- children: React__default.ReactNode;
2007
+ children: React$1.ReactNode;
2012
2008
  onChange?: (value: string) => void;
2013
2009
  /**
2014
2010
  * Sets the value of the radio group
@@ -2031,7 +2027,7 @@ type OakButtonAsRadioGroupProps = {
2031
2027
  * use the callback onChange to get the value of the clicked button.
2032
2028
  *
2033
2029
  */
2034
- declare const OakButtonAsRadioGroup: (props: OakButtonAsRadioGroupProps) => React__default.JSX.Element;
2030
+ declare const OakButtonAsRadioGroup: (props: OakButtonAsRadioGroupProps) => React$1.JSX.Element;
2035
2031
 
2036
2032
  /**
2037
2033
  *
@@ -2061,9 +2057,9 @@ type BaseCheckBoxProps = {
2061
2057
  */
2062
2058
  checked?: boolean;
2063
2059
  onHovered?: (value: string, id: string, duration: number) => void;
2064
- onChange?: (event: React__default.ChangeEvent<HTMLInputElement>) => void;
2065
- onFocus?: (event: React__default.FocusEvent<HTMLInputElement>) => void;
2066
- onBlur?: (event: React__default.FocusEvent<HTMLInputElement>) => void;
2060
+ onChange?: (event: React$1.ChangeEvent<HTMLInputElement>) => void;
2061
+ onFocus?: (event: React$1.FocusEvent<HTMLInputElement>) => void;
2062
+ onBlur?: (event: React$1.FocusEvent<HTMLInputElement>) => void;
2067
2063
  "aria-label"?: string;
2068
2064
  "aria-labelledby"?: string;
2069
2065
  "data-testid"?: string;
@@ -2073,7 +2069,7 @@ type InternalCheckBoxLabelProps = {
2073
2069
  labelAlignItems?: FlexStyleProps["$alignItems"];
2074
2070
  labelGap?: FlexStyleProps["$gap"];
2075
2071
  disabled?: boolean;
2076
- pointerEvents?: CSSProperties["pointerEvents"];
2072
+ pointerEvents?: CSSProperties$1["pointerEvents"];
2077
2073
  "data-testid"?: string;
2078
2074
  } & OakLabelProps;
2079
2075
 
@@ -2083,7 +2079,7 @@ type OakCheckBoxProps = BaseCheckBoxProps & {
2083
2079
  checkboxBorderRadius?: OakBorderRadiusToken;
2084
2080
  checkedBorderColor?: OakUiRoleToken;
2085
2081
  uncheckedBorderColor?: OakUiRoleToken;
2086
- checkedIcon?: React__default.JSX.Element;
2082
+ checkedIcon?: React$1.JSX.Element;
2087
2083
  checkedBackgroundFill?: boolean;
2088
2084
  hoverBorderRadius?: OakBorderRadiusToken;
2089
2085
  iconPadding?: OakInnerPaddingToken;
@@ -2115,17 +2111,17 @@ type OakCheckBoxProps = BaseCheckBoxProps & {
2115
2111
  *
2116
2112
  *
2117
2113
  */
2118
- declare const OakCheckBox: (props: OakCheckBoxProps) => React__default.JSX.Element;
2114
+ declare const OakCheckBox: (props: OakCheckBoxProps) => React$1.JSX.Element;
2119
2115
 
2120
2116
  type OakFieldErrorProps = {
2121
- children?: React__default.ReactNode;
2117
+ children?: React$1.ReactNode;
2122
2118
  };
2123
2119
  /**
2124
2120
  *
2125
2121
  * OakFieldError renders a error message when passed children.
2126
2122
  *
2127
2123
  */
2128
- declare const OakFieldError: (props: OakFieldErrorProps) => React__default.JSX.Element | null;
2124
+ declare const OakFieldError: (props: OakFieldErrorProps) => React$1.JSX.Element | null;
2129
2125
 
2130
2126
  type StyledInputProps = Omit<DetailedHTMLProps<InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>, "ref"> & SpacingStyleProps & SizeStyleProps;
2131
2127
  type InternalTextInputProps = Omit<StyledInputProps, "placeholder"> & {
@@ -2187,12 +2183,12 @@ type OakFormInputProps = {
2187
2183
  /**
2188
2184
  * Default input which can be extended to create specialised inputs.
2189
2185
  */
2190
- declare const OakFormInput: ({ type, borderColor, focusBorderColor, focusBackgroundColor, background, hoverBackground, hoverBorderColor, disabledBackgroundColor, color, disabledBorderColor, disabledColor, invalid, invalidBorderColor, wrapperWidth, wrapperMaxWidth, ...props }: OakFormInputProps) => React__default.JSX.Element;
2186
+ declare const OakFormInput: ({ type, borderColor, focusBorderColor, focusBackgroundColor, background, hoverBackground, hoverBorderColor, disabledBackgroundColor, color, disabledBorderColor, disabledColor, invalid, invalidBorderColor, wrapperWidth, wrapperMaxWidth, ...props }: OakFormInputProps) => React$1.JSX.Element;
2191
2187
 
2192
2188
  type OakJauntyAngleLabelProps = {
2193
2189
  label: string;
2194
2190
  } & ComponentProps<typeof OakBox>;
2195
- declare const OakJauntyAngleLabel: (props: OakJauntyAngleLabelProps) => React__default.JSX.Element;
2191
+ declare const OakJauntyAngleLabel: (props: OakJauntyAngleLabelProps) => React$1.JSX.Element;
2196
2192
 
2197
2193
  type OakMultilineTextProps = {
2198
2194
  /**
@@ -2228,7 +2224,7 @@ type OakMultilineTextProps = {
2228
2224
  * - Current method of clearing the component is to reset its key in the parent component
2229
2225
  * - useImperativeHandle could be used to expose a clear method
2230
2226
  */
2231
- declare const OakMultilineText: React__default.ForwardRefExoticComponent<{
2227
+ declare const OakMultilineText: React$1.ForwardRefExoticComponent<{
2232
2228
  /**
2233
2229
  * Set the textarea text on first render when state is controlled internally (i.e. if `value` has not been provided)
2234
2230
  */
@@ -2243,7 +2239,7 @@ declare const OakMultilineText: React__default.ForwardRefExoticComponent<{
2243
2239
  */
2244
2240
  errors?: Array<string>;
2245
2241
  label?: string;
2246
- } & Omit<OakTextAreaProps, "$width"> & React__default.RefAttributes<HTMLTextAreaElement>>;
2242
+ } & Omit<OakTextAreaProps, "$width"> & React$1.RefAttributes<HTMLTextAreaElement>>;
2247
2243
  declare function useDevice<T>(values: T | Array<T>): T;
2248
2244
 
2249
2245
  type RadioButtonLabelProps = {
@@ -2290,7 +2286,7 @@ type OakRadioButtonProps = {
2290
2286
  *
2291
2287
  * Use within `OakRadioGroup` component.
2292
2288
  */
2293
- declare const OakRadioButton: React__default.ForwardRefExoticComponent<{
2289
+ declare const OakRadioButton: React$1.ForwardRefExoticComponent<{
2294
2290
  id: string;
2295
2291
  label: ReactNode;
2296
2292
  value: string;
@@ -2324,28 +2320,28 @@ declare const OakRadioButton: React__default.ForwardRefExoticComponent<{
2324
2320
  */
2325
2321
  checkedRadioBorderWidth?: OakBorderWidthToken;
2326
2322
  } & {
2327
- children?: React__default.ReactNode;
2323
+ children?: React$1.ReactNode;
2328
2324
  } & PositionStyleProps & SizeStyleProps & PaddingStyleProps & MarginStyleProps & ColorStyleProps & BorderStyleProps & DisplayStyleProps & DropShadowStyleProps & OpacityStyleProps & TransformStyleProps & TransitionStyleProps & TypographyStyleProps & ZIndexStyleProps & {
2329
- onClick?: React__default.MouseEventHandler;
2325
+ onClick?: React$1.MouseEventHandler;
2330
2326
  } & ScrollSnapStyleProps & {
2331
2327
  $labelAlignItems?: FlexStyleProps["$alignItems"];
2332
2328
  $labelGap?: FlexStyleProps["$gap"];
2333
2329
  disabled?: boolean;
2334
- } & React__default.RefAttributes<HTMLInputElement>>;
2330
+ } & React$1.RefAttributes<HTMLInputElement>>;
2335
2331
 
2336
2332
  type RadioContextType = {
2337
2333
  currentValue: string;
2338
2334
  name: string;
2339
2335
  disabled?: boolean;
2340
- onValueUpdated?: (event: React__default.ChangeEvent<HTMLInputElement>) => void;
2336
+ onValueUpdated?: (event: React$1.ChangeEvent<HTMLInputElement>) => void;
2341
2337
  };
2342
- declare const RadioContext: React__default.Context<RadioContextType>;
2338
+ declare const RadioContext: React$1.Context<RadioContextType>;
2343
2339
  type OakRadioGroupProps = {
2344
2340
  label?: string;
2345
2341
  name: string;
2346
2342
  disabled?: boolean;
2347
- children: React__default.ReactNode;
2348
- onChange?: (event: React__default.ChangeEvent<HTMLInputElement>) => void;
2343
+ children: React$1.ReactNode;
2344
+ onChange?: (event: React$1.ChangeEvent<HTMLInputElement>) => void;
2349
2345
  /**
2350
2346
  * Sets the value of the radio group
2351
2347
  * for use as a controlled component
@@ -2366,10 +2362,10 @@ type OakRadioGroupProps = {
2366
2362
  * use the callback onChange to get the value of the selected radio button.
2367
2363
  *
2368
2364
  */
2369
- declare const OakRadioGroup: (props: OakRadioGroupProps) => React__default.JSX.Element;
2365
+ declare const OakRadioGroup: (props: OakRadioGroupProps) => React$1.JSX.Element;
2370
2366
 
2371
2367
  type OakSecondaryButtonAsRadioProps = {
2372
- children?: React__default.ReactNode;
2368
+ children?: React$1.ReactNode;
2373
2369
  value: string;
2374
2370
  };
2375
2371
  /**
@@ -2383,48 +2379,10 @@ type OakSecondaryButtonAsRadioProps = {
2383
2379
  * See OakButtonAsRadioGroup.
2384
2380
  *
2385
2381
  */
2386
- declare const OakSecondaryButtonAsRadio: ({ children, value, }: OakSecondaryButtonAsRadioProps) => React__default.JSX.Element;
2382
+ declare const OakSecondaryButtonAsRadio: ({ children, value, }: OakSecondaryButtonAsRadioProps) => React$1.JSX.Element;
2387
2383
 
2388
- declare const IconUp: styled_components.StyledComponent<"div", styled_components.DefaultTheme, {
2389
- children?: React__default.ReactNode;
2390
- } & PositionStyleProps & SizeStyleProps & PaddingStyleProps & MarginStyleProps & ColorStyleProps & BorderStyleProps & DisplayStyleProps & DropShadowStyleProps & OpacityStyleProps & TransformStyleProps & TransitionStyleProps & TypographyStyleProps & ZIndexStyleProps & {
2391
- onClick?: React__default.MouseEventHandler;
2392
- } & ScrollSnapStyleProps & {
2393
- $flexDirection?: ResponsiveValues<React__default.CSSProperties["flexDirection"]>;
2394
- $flexWrap?: ResponsiveValues<React__default.CSSProperties["flexWrap"]>;
2395
- $alignItems?: ResponsiveValues<React__default.CSSProperties["alignItems"]>;
2396
- $alignContent?: ResponsiveValues<React__default.CSSProperties["alignContent"]>;
2397
- $justifyContent?: ResponsiveValues<React__default.CSSProperties["justifyContent"]>;
2398
- $alignSelf?: ResponsiveValues<React__default.CSSProperties["alignSelf"]>;
2399
- $flexGrow?: ResponsiveValues<React__default.CSSProperties["flexGrow"]>;
2400
- $flexShrink?: ResponsiveValues<React__default.CSSProperties["flexShrink"]>;
2401
- $order?: ResponsiveValues<React__default.CSSProperties["order"]>;
2402
- $flexBasis?: ResponsiveValues<OakCombinedSpacingToken | null | undefined>;
2403
- $gap?: ResponsiveValues<OakAllSpacingToken | OakSpaceBetweenToken | null | undefined>;
2404
- $columnGap?: ResponsiveValues<OakAllSpacingToken | OakSpaceBetweenToken | null | undefined>;
2405
- $rowGap?: ResponsiveValues<OakAllSpacingToken | OakSpaceBetweenToken | null | undefined>;
2406
- focusable?: boolean;
2407
- }, never>;
2408
- declare const IconDown: styled_components.StyledComponent<"div", styled_components.DefaultTheme, {
2409
- children?: React__default.ReactNode;
2410
- } & PositionStyleProps & SizeStyleProps & PaddingStyleProps & MarginStyleProps & ColorStyleProps & BorderStyleProps & DisplayStyleProps & DropShadowStyleProps & OpacityStyleProps & TransformStyleProps & TransitionStyleProps & TypographyStyleProps & ZIndexStyleProps & {
2411
- onClick?: React__default.MouseEventHandler;
2412
- } & ScrollSnapStyleProps & {
2413
- $flexDirection?: ResponsiveValues<React__default.CSSProperties["flexDirection"]>;
2414
- $flexWrap?: ResponsiveValues<React__default.CSSProperties["flexWrap"]>;
2415
- $alignItems?: ResponsiveValues<React__default.CSSProperties["alignItems"]>;
2416
- $alignContent?: ResponsiveValues<React__default.CSSProperties["alignContent"]>;
2417
- $justifyContent?: ResponsiveValues<React__default.CSSProperties["justifyContent"]>;
2418
- $alignSelf?: ResponsiveValues<React__default.CSSProperties["alignSelf"]>;
2419
- $flexGrow?: ResponsiveValues<React__default.CSSProperties["flexGrow"]>;
2420
- $flexShrink?: ResponsiveValues<React__default.CSSProperties["flexShrink"]>;
2421
- $order?: ResponsiveValues<React__default.CSSProperties["order"]>;
2422
- $flexBasis?: ResponsiveValues<OakCombinedSpacingToken | null | undefined>;
2423
- $gap?: ResponsiveValues<OakAllSpacingToken | OakSpaceBetweenToken | null | undefined>;
2424
- $columnGap?: ResponsiveValues<OakAllSpacingToken | OakSpaceBetweenToken | null | undefined>;
2425
- $rowGap?: ResponsiveValues<OakAllSpacingToken | OakSpaceBetweenToken | null | undefined>;
2426
- focusable?: boolean;
2427
- }, never>;
2384
+ declare const IconUp: any;
2385
+ declare const IconDown: any;
2428
2386
  type OakSelectProps = {
2429
2387
  id?: string;
2430
2388
  children: ReactNode;
@@ -2470,7 +2428,7 @@ type OakSelectProps = {
2470
2428
  $display?: DisplayStyleProps["$display"];
2471
2429
  name?: HTMLSelectElement["name"];
2472
2430
  };
2473
- declare function OakSelect({ id, borderColor, readOnlyBorderColor, focusRingDropShadows, background, hoverBackground, disabledBackgroundColor, highlightBackgroundColor, color, disabledColor, readOnlyColor, validity, validBorderColor, invalidBorderColor, isHighlighted, $display, children, name, onChange, ...props }: Readonly<OakSelectProps>): React__default.JSX.Element;
2431
+ declare function OakSelect({ id, borderColor, readOnlyBorderColor, focusRingDropShadows, background, hoverBackground, disabledBackgroundColor, highlightBackgroundColor, color, disabledColor, readOnlyColor, validity, validBorderColor, invalidBorderColor, isHighlighted, $display, children, name, onChange, ...props }: Readonly<OakSelectProps>): React$1.JSX.Element;
2474
2432
 
2475
2433
  type OakOptionProps = {
2476
2434
  children: ReactNode;
@@ -2480,13 +2438,13 @@ type OakOptionProps = {
2480
2438
  asDefault?: boolean;
2481
2439
  $focusRingDropShadows?: OakDropShadowToken[];
2482
2440
  };
2483
- declare function OakOption({ selected, disabled, value, children, asDefault, $focusRingDropShadows, }: Readonly<OakOptionProps>): React__default.JSX.Element;
2441
+ declare function OakOption({ selected, disabled, value, children, asDefault, $focusRingDropShadows, }: Readonly<OakOptionProps>): React$1.JSX.Element;
2484
2442
 
2485
2443
  type OakOptGroupProps = {
2486
2444
  label: string;
2487
2445
  children: ReactNode;
2488
2446
  };
2489
- declare function OakOptGroup({ label, children }: Readonly<OakOptGroupProps>): React__default.JSX.Element;
2447
+ declare function OakOptGroup({ label, children }: Readonly<OakOptGroupProps>): React$1.JSX.Element;
2490
2448
 
2491
2449
  type OakTextInputProps = {
2492
2450
  /**
@@ -2553,7 +2511,7 @@ type OakTextInputProps = {
2553
2511
  /**
2554
2512
  * Default input which can be extended to create specialised inputs.
2555
2513
  */
2556
- declare const OakTextInput: ({ type, borderColor, readOnlyBorderColor, focusRingDropShadows, background, hoverBackground, disabledBackgroundColor, highlightBackgroundColor, color, disabledColor, readOnlyColor, validity, iconColor, validBorderColor, invalidBorderColor, validIconColor, invalidIconColor, iconName, iconAlt, isTrailingIcon, isHighlighted, wrapperWidth, wrapperMaxWidth, ...props }: OakTextInputProps) => React__default.JSX.Element;
2514
+ declare const OakTextInput: ({ type, borderColor, readOnlyBorderColor, focusRingDropShadows, background, hoverBackground, disabledBackgroundColor, highlightBackgroundColor, color, disabledColor, readOnlyColor, validity, iconColor, validBorderColor, invalidBorderColor, validIconColor, invalidIconColor, iconName, iconAlt, isTrailingIcon, isHighlighted, wrapperWidth, wrapperMaxWidth, ...props }: OakTextInputProps) => React$1.JSX.Element;
2557
2515
 
2558
2516
  /**
2559
2517
  *
@@ -2590,15 +2548,15 @@ type BaseRadioProps = {
2590
2548
  /**
2591
2549
  * Called when the checked value changes.
2592
2550
  */
2593
- onChange?: (event: React__default.ChangeEvent<HTMLInputElement>) => void;
2551
+ onChange?: (event: React$1.ChangeEvent<HTMLInputElement>) => void;
2594
2552
  /**
2595
2553
  * Called when the input receives focus.
2596
2554
  */
2597
- onFocus?: (event: React__default.FocusEvent<HTMLInputElement>) => void;
2555
+ onFocus?: (event: React$1.FocusEvent<HTMLInputElement>) => void;
2598
2556
  /**
2599
2557
  * Called when the input loses focus.
2600
2558
  */
2601
- onBlur?: (event: React__default.FocusEvent<HTMLInputElement>) => void;
2559
+ onBlur?: (event: React$1.FocusEvent<HTMLInputElement>) => void;
2602
2560
  "aria-label"?: string;
2603
2561
  "aria-labelledby"?: string;
2604
2562
  "data-testid"?: string;
@@ -2608,8 +2566,8 @@ declare const colorSchemes: ["primary", "decorative1", "decorative2", "decorativ
2608
2566
  type OakRadioAsButtonColorScheme = (typeof colorSchemes)[number];
2609
2567
  type OakRadioAsButtonProps = Omit<BaseRadioProps, "defaultChecked" | "id" | "checked" | "variant" | "icon"> & {
2610
2568
  value?: HTMLInputElement["value"];
2611
- innerRef?: React__default.RefObject<HTMLInputElement>;
2612
- displayValue: React__default.ReactNode;
2569
+ innerRef?: React$1.RefObject<HTMLInputElement>;
2570
+ displayValue: React$1.ReactNode;
2613
2571
  /**
2614
2572
  * Whether to keep the icon color when the component is checked.
2615
2573
  *
@@ -2619,8 +2577,8 @@ type OakRadioAsButtonProps = Omit<BaseRadioProps, "defaultChecked" | "id" | "che
2619
2577
  */
2620
2578
  keepIconColor?: boolean;
2621
2579
  disabled?: HTMLInputElement["disabled"];
2622
- "aria-labelledby"?: React__default.AriaAttributes["aria-labelledby"];
2623
- "aria-label"?: React__default.AriaAttributes["aria-label"];
2580
+ "aria-labelledby"?: React$1.AriaAttributes["aria-labelledby"];
2581
+ "aria-label"?: React$1.AriaAttributes["aria-label"];
2624
2582
  /**
2625
2583
  * Sets the color scheme of the component.
2626
2584
  * Defaults to `"primary"`.
@@ -2645,10 +2603,10 @@ type OakRadioAsButtonProps = Omit<BaseRadioProps, "defaultChecked" | "id" | "che
2645
2603
  /**
2646
2604
  * A radio input styled as a button, to be used within `<OakRadioGroup/>`.
2647
2605
  */
2648
- declare const OakRadioAsButton: (props: OakRadioAsButtonProps) => React__default.JSX.Element;
2606
+ declare const OakRadioAsButton: (props: OakRadioAsButtonProps) => React$1.JSX.Element;
2649
2607
 
2650
2608
  type OakSearchFilterCheckBoxProps = Omit<BaseCheckBoxProps, "defaultChecked"> & {
2651
- innerRef?: React__default.RefObject<HTMLInputElement>;
2609
+ innerRef?: React$1.RefObject<HTMLInputElement>;
2652
2610
  displayValue: string;
2653
2611
  icon?: OakIconName;
2654
2612
  keepIconColor?: boolean;
@@ -2679,7 +2637,7 @@ type OakSearchFilterCheckBoxProps = Omit<BaseCheckBoxProps, "defaultChecked"> &
2679
2637
  * called after a mouseEnter and mouseLeave event has happened
2680
2638
  *
2681
2639
  */
2682
- declare const OakSearchFilterCheckBox: (props: OakSearchFilterCheckBoxProps) => React__default.JSX.Element;
2640
+ declare const OakSearchFilterCheckBox: (props: OakSearchFilterCheckBoxProps) => React$1.JSX.Element;
2683
2641
 
2684
2642
  interface OakCaptionCardProps {
2685
2643
  captionId: string;
@@ -2691,8 +2649,8 @@ interface OakCaptionCardProps {
2691
2649
  checked?: boolean;
2692
2650
  highlighted?: boolean;
2693
2651
  disabled?: boolean;
2694
- onCheckChanged?: (event: React__default.ChangeEvent<HTMLInputElement>) => void;
2695
- onClick?: (event: React__default.MouseEvent<HTMLDivElement>) => void;
2652
+ onCheckChanged?: (event: React$1.ChangeEvent<HTMLInputElement>) => void;
2653
+ onClick?: (event: React$1.MouseEvent<HTMLDivElement>) => void;
2696
2654
  editHref: string;
2697
2655
  lessonHref: string;
2698
2656
  "data-testid"?: string;
@@ -2707,7 +2665,7 @@ interface OakCaptionCardProps {
2707
2665
  * onCheckChanged?: (event: React.ChangeEvent<HTMLInputElement>) => void;
2708
2666
  *
2709
2667
  */
2710
- declare const OakCaptionCard: (props: OakCaptionCardProps) => React__default.JSX.Element;
2668
+ declare const OakCaptionCard: (props: OakCaptionCardProps) => React$1.JSX.Element;
2711
2669
 
2712
2670
  interface OakCaptionSearchProps {
2713
2671
  defaultValue?: string;
@@ -2729,7 +2687,7 @@ interface OakCaptionSearchProps {
2729
2687
  */
2730
2688
  isLoading?: boolean;
2731
2689
  }
2732
- declare const OakCaptionSearch: ({ onSearch, hasError, errorText, isLoading, defaultValue, }: OakCaptionSearchProps) => React__default.JSX.Element;
2690
+ declare const OakCaptionSearch: ({ onSearch, hasError, errorText, isLoading, defaultValue, }: OakCaptionSearchProps) => React$1.JSX.Element;
2733
2691
 
2734
2692
  type OakFlexProps = FlexStyleProps & OakBoxProps;
2735
2693
  declare const oakFlexCss: styled_components.FlattenInterpolation<styled_components.ThemedStyledProps<FlexStyleProps, styled_components.DefaultTheme>>;
@@ -2741,26 +2699,7 @@ declare const oakFlexCss: styled_components.FlattenInterpolation<styled_componen
2741
2699
  * Before adding props to this component, think about whether it makes sense
2742
2700
  * to add it to Box instead, as this component extends that.
2743
2701
  */
2744
- declare const OakFlex: styled_components.StyledComponent<"div", styled_components.DefaultTheme, {
2745
- children?: React.ReactNode;
2746
- } & PositionStyleProps & SizeStyleProps & PaddingStyleProps & MarginStyleProps & ColorStyleProps & BorderStyleProps & DisplayStyleProps & DropShadowStyleProps & OpacityStyleProps & TransformStyleProps & TransitionStyleProps & TypographyStyleProps & ZIndexStyleProps & {
2747
- onClick?: React$1.MouseEventHandler;
2748
- } & ScrollSnapStyleProps & {
2749
- $flexDirection?: ResponsiveValues<React$1.CSSProperties["flexDirection"]>;
2750
- $flexWrap?: ResponsiveValues<React$1.CSSProperties["flexWrap"]>;
2751
- $alignItems?: ResponsiveValues<React$1.CSSProperties["alignItems"]>;
2752
- $alignContent?: ResponsiveValues<React$1.CSSProperties["alignContent"]>;
2753
- $justifyContent?: ResponsiveValues<React$1.CSSProperties["justifyContent"]>;
2754
- $alignSelf?: ResponsiveValues<React$1.CSSProperties["alignSelf"]>;
2755
- $flexGrow?: ResponsiveValues<React$1.CSSProperties["flexGrow"]>;
2756
- $flexShrink?: ResponsiveValues<React$1.CSSProperties["flexShrink"]>;
2757
- $order?: ResponsiveValues<React$1.CSSProperties["order"]>;
2758
- $flexBasis?: ResponsiveValues<OakCombinedSpacingToken | null | undefined>;
2759
- $gap?: ResponsiveValues<OakAllSpacingToken | OakSpaceBetweenToken | null | undefined>;
2760
- $columnGap?: ResponsiveValues<OakAllSpacingToken | OakSpaceBetweenToken | null | undefined>;
2761
- $rowGap?: ResponsiveValues<OakAllSpacingToken | OakSpaceBetweenToken | null | undefined>;
2762
- focusable?: boolean;
2763
- }, never>;
2702
+ declare const OakFlex: any;
2764
2703
 
2765
2704
  type OakGridProps = OakBoxProps & {
2766
2705
  /**
@@ -2780,73 +2719,32 @@ type OakGridProps = OakBoxProps & {
2780
2719
  *
2781
2720
  * Accepts a `grid-auto-rows` value or a responsive array of `grid-auto-rows` values.
2782
2721
  */
2783
- $gridAutoRows?: ResponsiveValues<CSSProperties["gridAutoRows"]>;
2722
+ $gridAutoRows?: ResponsiveValues<CSSProperties$1["gridAutoRows"]>;
2784
2723
  /**
2785
2724
  * Applies `grid-template-areas` to the grid
2786
2725
  *
2787
2726
  * Accepts a `grid-template-areas` value or a responsive array of `grid-template-areas` values.
2788
2727
  */
2789
- $gridTemplateAreas?: ResponsiveValues<CSSProperties["gridTemplateAreas"]>;
2728
+ $gridTemplateAreas?: ResponsiveValues<CSSProperties$1["gridTemplateAreas"]>;
2790
2729
  /**
2791
2730
  * Applies `grid-template-columns` to the grid
2792
2731
  *
2793
2732
  * Accepts a `grid-template-columns` value or a responsive array of `grid-template-columns` values.
2794
2733
  */
2795
- $gridTemplateColumns?: ResponsiveValues<CSSProperties["gridTemplateColumns"]>;
2734
+ $gridTemplateColumns?: ResponsiveValues<CSSProperties$1["gridTemplateColumns"]>;
2796
2735
  /**
2797
2736
  * Applies `grid-template-rows` to the grid
2798
2737
  *
2799
2738
  * Accepts a `grid-template-rows` value or a responsive array of `grid-template-rows` values.
2800
2739
  */
2801
- $gridTemplateRows?: ResponsiveValues<CSSProperties["gridTemplateRows"]>;
2740
+ $gridTemplateRows?: ResponsiveValues<CSSProperties$1["gridTemplateRows"]>;
2802
2741
  };
2803
2742
  /**
2804
2743
  * Creates a grid layout
2805
2744
  *
2806
2745
  * Defaults to a 12 column grid
2807
2746
  */
2808
- declare const OakGrid: styled_components.StyledComponent<"div", styled_components.DefaultTheme, {
2809
- children?: React.ReactNode;
2810
- } & PositionStyleProps & SizeStyleProps & PaddingStyleProps & MarginStyleProps & ColorStyleProps & BorderStyleProps & DisplayStyleProps & DropShadowStyleProps & OpacityStyleProps & TransformStyleProps & TransitionStyleProps & TypographyStyleProps & ZIndexStyleProps & {
2811
- onClick?: React$1.MouseEventHandler;
2812
- } & ScrollSnapStyleProps & {
2813
- /**
2814
- * Applies `row-gap` to the grid
2815
- *
2816
- * Accepts a spacing token or a responsive array of spacing tokens.
2817
- */
2818
- $rg?: ResponsiveValues<OakCombinedSpacingToken>;
2819
- /**
2820
- * Applies `column-gap` to the grid
2821
- *
2822
- * Accepts a spacing token or a responsive array of spacing tokens.
2823
- */
2824
- $cg?: ResponsiveValues<OakCombinedSpacingToken>;
2825
- /**
2826
- * Applies `grid-auto-rows` to the grid
2827
- *
2828
- * Accepts a `grid-auto-rows` value or a responsive array of `grid-auto-rows` values.
2829
- */
2830
- $gridAutoRows?: ResponsiveValues<CSSProperties["gridAutoRows"]>;
2831
- /**
2832
- * Applies `grid-template-areas` to the grid
2833
- *
2834
- * Accepts a `grid-template-areas` value or a responsive array of `grid-template-areas` values.
2835
- */
2836
- $gridTemplateAreas?: ResponsiveValues<CSSProperties["gridTemplateAreas"]>;
2837
- /**
2838
- * Applies `grid-template-columns` to the grid
2839
- *
2840
- * Accepts a `grid-template-columns` value or a responsive array of `grid-template-columns` values.
2841
- */
2842
- $gridTemplateColumns?: ResponsiveValues<CSSProperties["gridTemplateColumns"]>;
2843
- /**
2844
- * Applies `grid-template-rows` to the grid
2845
- *
2846
- * Accepts a `grid-template-rows` value or a responsive array of `grid-template-rows` values.
2847
- */
2848
- $gridTemplateRows?: ResponsiveValues<CSSProperties["gridTemplateRows"]>;
2849
- }, never>;
2747
+ declare const OakGrid: any;
2850
2748
 
2851
2749
  type ColRowSpan = 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12;
2852
2750
  type OakGridAreaProps = {
@@ -2867,7 +2765,7 @@ type OakGridAreaProps = {
2867
2765
  *
2868
2766
  * Accepts a number or a responsive array of numbers.
2869
2767
  */
2870
- $order?: ResponsiveValues<CSSProperties["order"]>;
2768
+ $order?: ResponsiveValues<CSSProperties$1["order"]>;
2871
2769
  /**
2872
2770
  * The start column of the element.
2873
2771
  *
@@ -2895,63 +2793,7 @@ type OakGridAreaProps = {
2895
2793
  * - Column and row arrangements are achieved through $colSpan, $rowSpan, $colStart, $colEnd, $rowStart, $rowEnd
2896
2794
  *
2897
2795
  */
2898
- declare const OakGridArea: styled_components.StyledComponent<"div", styled_components.DefaultTheme, {
2899
- children?: React.ReactNode;
2900
- } & PositionStyleProps & SizeStyleProps & PaddingStyleProps & MarginStyleProps & ColorStyleProps & BorderStyleProps & DisplayStyleProps & DropShadowStyleProps & OpacityStyleProps & TransformStyleProps & TransitionStyleProps & TypographyStyleProps & ZIndexStyleProps & {
2901
- onClick?: React$1.MouseEventHandler;
2902
- } & ScrollSnapStyleProps & {
2903
- $flexDirection?: ResponsiveValues<React$1.CSSProperties["flexDirection"]>;
2904
- $flexWrap?: ResponsiveValues<React$1.CSSProperties["flexWrap"]>;
2905
- $alignItems?: ResponsiveValues<React$1.CSSProperties["alignItems"]>;
2906
- $alignContent?: ResponsiveValues<React$1.CSSProperties["alignContent"]>;
2907
- $justifyContent?: ResponsiveValues<React$1.CSSProperties["justifyContent"]>;
2908
- $alignSelf?: ResponsiveValues<React$1.CSSProperties["alignSelf"]>;
2909
- $flexGrow?: ResponsiveValues<React$1.CSSProperties["flexGrow"]>;
2910
- $flexShrink?: ResponsiveValues<React$1.CSSProperties["flexShrink"]>;
2911
- $order?: ResponsiveValues<React$1.CSSProperties["order"]>;
2912
- $flexBasis?: ResponsiveValues<OakCombinedSpacingToken | null | undefined>;
2913
- $gap?: ResponsiveValues<OakAllSpacingToken | OakSpaceBetweenToken | null | undefined>;
2914
- $columnGap?: ResponsiveValues<OakAllSpacingToken | OakSpaceBetweenToken | null | undefined>;
2915
- $rowGap?: ResponsiveValues<OakAllSpacingToken | OakSpaceBetweenToken | null | undefined>;
2916
- focusable?: boolean;
2917
- } & {
2918
- /**
2919
- * Determines the number of columns the element should span.
2920
- *
2921
- * Accepts a value from 0-12 or a responsive value of 0-12.
2922
- */
2923
- $colSpan: ResponsiveValues<ColRowSpan>;
2924
- /**
2925
- * Determines the number of rows the element should span.
2926
- *
2927
- * Accepts a value from 0-12 or a responsive value of 0-12.
2928
- */
2929
- $rowSpan?: ResponsiveValues<ColRowSpan>;
2930
- /**
2931
- * Sets the order of the element.
2932
- *
2933
- * Accepts a number or a responsive array of numbers.
2934
- */
2935
- $order?: ResponsiveValues<CSSProperties["order"]>;
2936
- /**
2937
- * The start column of the element.
2938
- *
2939
- * Accepts a value from 0-12 or a responsive value of 0-12.
2940
- */
2941
- $colStart?: ResponsiveValues<ColRowSpan>;
2942
- /**
2943
- * The end column of the element.
2944
- *
2945
- * Accepts a value from 0-12 or a responsive value of 0-12.
2946
- */
2947
- $colEnd?: ResponsiveValues<ColRowSpan>;
2948
- /**
2949
- * The start row of the element.
2950
- *
2951
- * Accepts a value from 0-12 or a responsive value of 0-12.
2952
- */
2953
- $rowStart?: ResponsiveValues<ColRowSpan>;
2954
- }, never>;
2796
+ declare const OakGridArea: any;
2955
2797
 
2956
2798
  /**
2957
2799
  * This component will provide a default maxWidth and ph value, it take Flex props.
@@ -2960,26 +2802,7 @@ declare const OakGridArea: styled_components.StyledComponent<"div", styled_compo
2960
2802
  * This will make it easier to create full browser width or custom width containers on the same page
2961
2803
  * with different background colors / image url.
2962
2804
  */
2963
- declare const OakMaxWidth: styled_components.StyledComponent<"div", styled_components.DefaultTheme, {
2964
- children?: React.ReactNode;
2965
- } & PositionStyleProps & SizeStyleProps & PaddingStyleProps & MarginStyleProps & ColorStyleProps & BorderStyleProps & DisplayStyleProps & DropShadowStyleProps & OpacityStyleProps & TransformStyleProps & TransitionStyleProps & TypographyStyleProps & ZIndexStyleProps & {
2966
- onClick?: React$1.MouseEventHandler;
2967
- } & ScrollSnapStyleProps & {
2968
- $flexDirection?: ResponsiveValues<React$1.CSSProperties["flexDirection"]>;
2969
- $flexWrap?: ResponsiveValues<React$1.CSSProperties["flexWrap"]>;
2970
- $alignItems?: ResponsiveValues<React$1.CSSProperties["alignItems"]>;
2971
- $alignContent?: ResponsiveValues<React$1.CSSProperties["alignContent"]>;
2972
- $justifyContent?: ResponsiveValues<React$1.CSSProperties["justifyContent"]>;
2973
- $alignSelf?: ResponsiveValues<React$1.CSSProperties["alignSelf"]>;
2974
- $flexGrow?: ResponsiveValues<React$1.CSSProperties["flexGrow"]>;
2975
- $flexShrink?: ResponsiveValues<React$1.CSSProperties["flexShrink"]>;
2976
- $order?: ResponsiveValues<React$1.CSSProperties["order"]>;
2977
- $flexBasis?: ResponsiveValues<OakCombinedSpacingToken | null | undefined>;
2978
- $gap?: ResponsiveValues<OakAllSpacingToken | OakSpaceBetweenToken | null | undefined>;
2979
- $columnGap?: ResponsiveValues<OakAllSpacingToken | OakSpaceBetweenToken | null | undefined>;
2980
- $rowGap?: ResponsiveValues<OakAllSpacingToken | OakSpaceBetweenToken | null | undefined>;
2981
- focusable?: boolean;
2982
- }, never>;
2805
+ declare const OakMaxWidth: any;
2983
2806
 
2984
2807
  type OakAccordionProps = {
2985
2808
  /**
@@ -3010,7 +2833,7 @@ type OakAccordionProps = {
3010
2833
  /**
3011
2834
  * An accordion component that can be used to show/hide content
3012
2835
  */
3013
- declare const OakAccordion: (props: OakAccordionProps) => React__default.JSX.Element;
2836
+ declare const OakAccordion: (props: OakAccordionProps) => React$1.JSX.Element;
3014
2837
 
3015
2838
  type OakBasicAccordionProps = {
3016
2839
  /**
@@ -3034,7 +2857,7 @@ type OakBasicAccordionProps = {
3034
2857
  */
3035
2858
  id: string;
3036
2859
  } & BorderStyleProps & FlexStyleProps;
3037
- declare const OakBasicAccordion: ({ header, children, id, initialOpen, subheading, ...styleProps }: OakBasicAccordionProps) => React__default.JSX.Element;
2860
+ declare const OakBasicAccordion: ({ header, children, id, initialOpen, subheading, ...styleProps }: OakBasicAccordionProps) => React$1.JSX.Element;
3038
2861
 
3039
2862
  type OakCollapsibleContentProps = ComponentProps<typeof OakFlex> & {
3040
2863
  /**
@@ -3046,7 +2869,7 @@ type OakCollapsibleContentProps = ComponentProps<typeof OakFlex> & {
3046
2869
  * A filled scrollable box that can be hidden with the `isOpen` prop.
3047
2870
  * Useful for hiding content that is not immediately relevant
3048
2871
  */
3049
- declare const OakCollapsibleContent: ({ isOpen, children, id, ...rest }: OakCollapsibleContentProps) => React__default.JSX.Element;
2872
+ declare const OakCollapsibleContent: ({ isOpen, children, id, ...rest }: OakCollapsibleContentProps) => React$1.JSX.Element;
3050
2873
 
3051
2874
  type OakKbdProps = {
3052
2875
  children: ReactNode;
@@ -3054,7 +2877,7 @@ type OakKbdProps = {
3054
2877
  /**
3055
2878
  * Represents textual user input from a keyboard, voice input, or any other text entry device.
3056
2879
  * */
3057
- declare const OakKbd: ({ children }: OakKbdProps) => React__default.JSX.Element;
2880
+ declare const OakKbd: ({ children }: OakKbdProps) => React$1.JSX.Element;
3058
2881
 
3059
2882
  /**
3060
2883
  * This component will visually hide its contents but will still be available
@@ -3063,13 +2886,29 @@ declare const OakKbd: ({ children }: OakKbdProps) => React__default.JSX.Element;
3063
2886
  * Use this component in places where content shouldn't be visible, but should
3064
2887
  * be accessible to assistive technology.
3065
2888
  */
3066
- declare const OakScreenReader: styled_components.StyledComponent<"span", styled_components.DefaultTheme, {}, never>;
2889
+ declare const OakScreenReader: any;
2890
+
2891
+ type OakLoadingSpinnerProps = Pick<SizeStyleProps, "$width"> & ColorStyleProps & {
2892
+ loaderColor?: OakUiRoleToken;
2893
+ /**
2894
+ * Delay the appearance of the spinner
2895
+ *
2896
+ * Accepts a number in milliseconds
2897
+ */
2898
+ $delay?: number;
2899
+ };
2900
+ /**
2901
+ *
2902
+ * A loading spinner of variable size.
2903
+ *
2904
+ */
2905
+ declare const OakLoadingSpinner: (props: OakLoadingSpinnerProps) => React$1.JSX.Element;
3067
2906
 
3068
2907
  declare const oakHeadingTagsConst: readonly ["div", "h1", "h2", "h3", "h4", "h5", "h6"];
3069
2908
  type OakHeadingTag = (typeof oakHeadingTagsConst)[number];
3070
2909
  declare const oakHeadingTags: ("div" | "h1" | "h2" | "h3" | "h4" | "h5" | "h6")[];
3071
2910
  type OakHeadingTagProps = {
3072
- children?: React__default.ReactNode;
2911
+ children?: React$1.ReactNode;
3073
2912
  id?: string;
3074
2913
  /**
3075
2914
  * HTML tag to be used for the heading
@@ -3088,7 +2927,7 @@ type OakHeadingProps = TypographyStyleProps & OakHeadingTagProps & ColorStylePro
3088
2927
  * Use the controls to view different font styles.
3089
2928
  *
3090
2929
  */
3091
- declare const OakHeading: styled_components.StyledComponent<React__default.FC<OakHeadingTagProps>, styled_components.DefaultTheme, OakHeadingProps, never>;
2930
+ declare const OakHeading: any;
3092
2931
 
3093
2932
  type OakInlineBannerTypes = "info" | "neutral" | "success" | "alert" | "error" | "warning";
3094
2933
  type OakInlineBannerVariants = "regular" | "large";
@@ -3117,6 +2956,10 @@ type OakInlineBannerProps = OakFlexProps & {
3117
2956
  * The color filter to apply to the icon
3118
2957
  */
3119
2958
  iconColorFilter?: OakUiRoleToken;
2959
+ /**
2960
+ * If true show a loading spinner instead of an icon
2961
+ */
2962
+ isLoading?: boolean;
3120
2963
  /**
3121
2964
  * The optional call to action to display in the banner
3122
2965
  */
@@ -3150,7 +2993,8 @@ type BannerTypes = {
3150
2993
  declare const bannerTypes: BannerTypes;
3151
2994
  type OakInlineBannerVariantProps = {
3152
2995
  [key in OakInlineBannerVariants]: {
3153
- icon: Partial<OakIconProps>;
2996
+ defaultIconDimensions: Partial<SizeStyleProps>;
2997
+ loadingSpinnerDimensions: Partial<OakLoadingSpinnerProps>;
3154
2998
  heading: Partial<OakHeadingProps>;
3155
2999
  closeButtonWrapper?: Partial<OakBoxProps>;
3156
3000
  ctaWrapper?: Partial<OakBoxProps>;
@@ -3171,6 +3015,7 @@ declare const bannerVariants: OakInlineBannerVariantProps;
3171
3015
  * - **type?** \- Optional type of banner to display (info, neutral, success, alert, error, warning) (default: info)
3172
3016
  * - **icon?** \- Optional icon to display in the banner
3173
3017
  * - **iconColorFilter?** \- Optional color filter to apply to the icon
3018
+ * - **isLoading?** \- If true show a loading spinner instead of an icon
3174
3019
  * - **cta?** \- Optional call to action to display in the banner (ReactNode)
3175
3020
  * - **canDismiss?** \- If true the banner can be dismissed (show close icon) (default: false)
3176
3021
  * - **onDismiss?** \- Function called when the banner is dismissed
@@ -3178,23 +3023,7 @@ declare const bannerVariants: OakInlineBannerVariantProps;
3178
3023
  * - **variant?** \- The variant of the inline banner to display (regular, large) (default: regular)
3179
3024
  * - **...rest** \- Other props to be passed to the wrapper OakFlex component (can be used to override styles of the banner)
3180
3025
  */
3181
- declare const OakInlineBanner: ({ isOpen, title, message, type, cta, canDismiss, onDismiss, icon, iconColorFilter, closeButtonOverrideProps, variant, titleTag, ...props }: OakInlineBannerProps) => React__default.JSX.Element;
3182
-
3183
- type OakLoadingSpinnerProps = Pick<SizeStyleProps, "$width"> & ColorStyleProps & {
3184
- loaderColor?: OakUiRoleToken;
3185
- /**
3186
- * Delay the appearance of the spinner
3187
- *
3188
- * Accepts a number in milliseconds
3189
- */
3190
- $delay?: number;
3191
- };
3192
- /**
3193
- *
3194
- * A loading spinner of variable size.
3195
- *
3196
- */
3197
- declare const OakLoadingSpinner: (props: OakLoadingSpinnerProps) => React__default.JSX.Element;
3026
+ declare const OakInlineBanner: ({ isOpen, title, message, type, icon, iconColorFilter, isLoading, cta, canDismiss, onDismiss, closeButtonOverrideProps, variant, titleTag, ...props }: OakInlineBannerProps) => React$1.JSX.Element;
3198
3027
 
3199
3028
  type OakModalCenterProps = {
3200
3029
  /**
@@ -3268,7 +3097,7 @@ type OakModalCenterProps = {
3268
3097
  * - **backdropFlexProps?** \- Override HTMLAttributes & OakFlex props for the backdrop container
3269
3098
  * - **footerSlot?** \- Fixed area at the bottom of the modal, this will remain fixed in view if the content is scrollable
3270
3099
  */
3271
- declare const OakModalCenter: ({ children, domContainer, isOpen, onClose, disableBackdropClick, disableEscapeKey, hideCloseButton, modalFlexProps, modalOuterFlexProps, modalInnerFlexProps, backdropFlexProps, footerSlot, returnFocus, }: OakModalCenterProps) => React__default.JSX.Element;
3100
+ declare const OakModalCenter: ({ children, domContainer, isOpen, onClose, disableBackdropClick, disableEscapeKey, hideCloseButton, modalFlexProps, modalOuterFlexProps, modalInnerFlexProps, backdropFlexProps, footerSlot, returnFocus, }: OakModalCenterProps) => React$1.JSX.Element;
3272
3101
 
3273
3102
  type OakModalCenterBodyProps = {
3274
3103
  /**
@@ -3310,7 +3139,7 @@ type OakModalCenterBodyProps = {
3310
3139
  * - **headingOverride** \- Override HTMLAttributes & OakHEading props for the heading
3311
3140
  * - **iconOverride** \- Override HTMLAttributes & OakIcon props for the icon
3312
3141
  */
3313
- declare const OakModalCenterBody: ({ children, iconName, title, headingOverride, iconOverride, hideIcon, }: OakModalCenterBodyProps) => React__default.JSX.Element;
3142
+ declare const OakModalCenterBody: ({ children, iconName, title, headingOverride, iconOverride, hideIcon, }: OakModalCenterBodyProps) => React$1.JSX.Element;
3314
3143
 
3315
3144
  type OakTagFunctionalProps = {
3316
3145
  label: string;
@@ -3318,10 +3147,10 @@ type OakTagFunctionalProps = {
3318
3147
  isTrailingIcon?: boolean;
3319
3148
  useSpan?: boolean;
3320
3149
  } & Omit<OakFlexProps, "onClick" | "label">;
3321
- declare const OakTagFunctional: (props: OakTagFunctionalProps) => React__default.JSX.Element;
3150
+ declare const OakTagFunctional: (props: OakTagFunctionalProps) => React$1.JSX.Element;
3322
3151
 
3323
3152
  type OakToastProps = {
3324
- message: React__default.ReactNode;
3153
+ message: React$1.ReactNode;
3325
3154
  variant: VariantKey;
3326
3155
  autoDismissDuration?: number;
3327
3156
  autoDismiss: boolean;
@@ -3331,7 +3160,7 @@ type OakToastProps = {
3331
3160
  showClose?: boolean;
3332
3161
  };
3333
3162
  type VariantKey = "green" | "yellow" | "pink" | "blue" | "aqua" | "light" | "dark" | "error" | "success";
3334
- declare const OakToast: ({ message, variant, autoDismiss, autoDismissDuration, showIcon, onClose, id, showClose, }: OakToastProps) => React__default.JSX.Element;
3163
+ declare const OakToast: ({ message, variant, autoDismiss, autoDismissDuration, showIcon, onClose, id, showClose, }: OakToastProps) => React$1.JSX.Element;
3335
3164
 
3336
3165
  type InternalTooltipProps = OakFlexProps & HTMLAttributes<Element> & {
3337
3166
  children?: ReactNode;
@@ -3361,7 +3190,7 @@ type OakTooltipProps = InternalTooltipProps & {
3361
3190
  /**
3362
3191
  * A tooltip with oven-ready styling and positioning.
3363
3192
  */
3364
- declare const OakTooltip: ({ tooltipPosition, children, tooltip, isOpen, domContainer, ...props }: OakTooltipProps) => React__default.JSX.Element;
3193
+ declare const OakTooltip: ({ tooltipPosition, children, tooltip, isOpen, domContainer, ...props }: OakTooltipProps) => React$1.JSX.Element;
3365
3194
 
3366
3195
  type OakFocusIndicatorProps = {
3367
3196
  hoverBackground?: OakUiRoleToken;
@@ -3372,11 +3201,7 @@ type OakFocusIndicatorProps = {
3372
3201
  /**
3373
3202
  * Wrap focusable components `<a/>`/`<button/>` and this will add focus styles then the inner element is focused
3374
3203
  */
3375
- declare const OakFocusIndicator: styled_components.StyledComponent<"div", styled_components.DefaultTheme, {
3376
- children?: React.ReactNode;
3377
- } & PositionStyleProps & SizeStyleProps & PaddingStyleProps & MarginStyleProps & ColorStyleProps & BorderStyleProps & DisplayStyleProps & DropShadowStyleProps & OpacityStyleProps & TransformStyleProps & TransitionStyleProps & TypographyStyleProps & ZIndexStyleProps & {
3378
- onClick?: React$1.MouseEventHandler;
3379
- } & ScrollSnapStyleProps & OakFocusIndicatorProps, never>;
3204
+ declare const OakFocusIndicator: any;
3380
3205
 
3381
3206
  type InternalStyledSvgProps = {
3382
3207
  $fill?: ResponsiveValues<OakUiRoleToken>;
@@ -3394,7 +3219,7 @@ type OakHandDrawnFocusUnderlineProps = {
3394
3219
  *
3395
3220
  * change the sizeProps of the flex container to change the size and dimentions of the FocusUnderline
3396
3221
  */
3397
- declare const OakHandDrawnFocusUnderline: (props: OakHandDrawnFocusUnderlineProps) => React__default.JSX.Element;
3222
+ declare const OakHandDrawnFocusUnderline: (props: OakHandDrawnFocusUnderlineProps) => React$1.JSX.Element;
3398
3223
 
3399
3224
  type OakAnchorTargetProps = PaddingStyleProps;
3400
3225
  /**
@@ -3408,7 +3233,7 @@ type OakAnchorTargetProps = PaddingStyleProps;
3408
3233
  * it a unique 'id'. Then link it elsewhere using `<a href='#${id}' />`.
3409
3234
  *
3410
3235
  * */
3411
- declare const OakAnchorTarget: styled_components.StyledComponent<"span", styled_components.DefaultTheme, PaddingStyleProps, never>;
3236
+ declare const OakAnchorTarget: any;
3412
3237
 
3413
3238
  type InternalLinkProps = {
3414
3239
  /**
@@ -3437,13 +3262,13 @@ type OakHoverLinkProps = Pick<InternalLinkProps, "iconName" | "isTrailingIcon" |
3437
3262
  iconWidth?: OakAllSpacingToken;
3438
3263
  iconHeight?: OakAllSpacingToken;
3439
3264
  };
3440
- type OakHoverLinkComponent = <C extends React__default.ElementType = "a">(props: {
3265
+ type OakHoverLinkComponent = <C extends React$1.ElementType = "a">(props: {
3441
3266
  /**
3442
3267
  * This colours the link as disabled, but does not disable the link.
3443
3268
  * It should be used when the link is wrapped in an element which prevents cursor interaction, such as a card
3444
3269
  */
3445
3270
  displayDisabled?: boolean;
3446
- } & PolymorphicPropsWithRef<C> & OakHoverLinkProps) => React__default.ReactNode;
3271
+ } & PolymorphicPropsWithRef<C> & OakHoverLinkProps) => React$1.ReactNode;
3447
3272
  /**
3448
3273
  * deprecated - use `<OakLink />` instead
3449
3274
  * @deprecated
@@ -3468,7 +3293,7 @@ type OakLinkProps = Pick<InternalLinkProps, "iconName" | "isTrailingIcon" | "isL
3468
3293
  */
3469
3294
  variant?: Variant;
3470
3295
  } & Pick<TypographyStyleProps, "$font">;
3471
- type OakLinkComponent$1 = <C extends React__default.ElementType = "a">(props: PolymorphicPropsWithRef<C> & OakLinkProps) => React__default.ReactNode;
3296
+ type OakLinkComponent$1 = <C extends React$1.ElementType = "a">(props: PolymorphicPropsWithRef<C> & OakLinkProps) => React$1.ReactNode;
3472
3297
  /**
3473
3298
  * A link with an optional icon and loading state.
3474
3299
  *
@@ -3485,7 +3310,7 @@ type OakPaginationProps = {
3485
3310
  pageName: string;
3486
3311
  onPageChange: (page: number) => void;
3487
3312
  };
3488
- declare const OakPagination: ({ totalPages, nextHref, prevHref, paginationHref, pageName, onPageChange, currentPage, }: OakPaginationProps) => React__default.JSX.Element | null;
3313
+ declare const OakPagination: ({ totalPages, nextHref, prevHref, paginationHref, pageName, onPageChange, currentPage, }: OakPaginationProps) => React$1.JSX.Element | null;
3489
3314
 
3490
3315
  type Url = string | UrlObject;
3491
3316
  type OakPrimaryNavItemProps = {
@@ -3502,7 +3327,7 @@ type OakPrimaryNavItemProps = {
3502
3327
  * ⚠️ To be deprecated
3503
3328
  * @deprecated
3504
3329
  */
3505
- declare const OakPrimaryNavItem: ({ href, isCurrent, shallow, children, }: OakPrimaryNavItemProps) => React__default.JSX.Element;
3330
+ declare const OakPrimaryNavItem: ({ href, isCurrent, shallow, children, }: OakPrimaryNavItemProps) => React$1.JSX.Element;
3506
3331
 
3507
3332
  type OakPrimaryNavProps = {
3508
3333
  ariaLabel?: string;
@@ -3514,12 +3339,12 @@ type OakPrimaryNavProps = {
3514
3339
  * ⚠️ To be deprecated
3515
3340
  * @deprecated
3516
3341
  */
3517
- declare const OakPrimaryNav: ({ ariaLabel, navItems }: OakPrimaryNavProps) => React__default.JSX.Element;
3342
+ declare const OakPrimaryNav: ({ ariaLabel, navItems }: OakPrimaryNavProps) => React$1.JSX.Element;
3518
3343
 
3519
3344
  type OakSecondaryLinkProps = {
3520
3345
  displayDisabled?: boolean;
3521
3346
  } & Pick<InternalLinkProps, "iconName" | "isTrailingIcon" | "isLoading">;
3522
- type OakLinkComponent = <C extends React__default.ElementType = "a">(props: PolymorphicPropsWithRef<C> & OakSecondaryLinkProps) => React__default.ReactNode;
3347
+ type OakLinkComponent = <C extends React$1.ElementType = "a">(props: PolymorphicPropsWithRef<C> & OakSecondaryLinkProps) => React$1.ReactNode;
3523
3348
  /**
3524
3349
  * deprecated - use `<OakLink variant="secondary"/>` instead
3525
3350
  * @deprecated
@@ -3554,7 +3379,7 @@ type OakTabsProps<T extends string> = {
3554
3379
  */
3555
3380
  onTabClick?: (tab: T, event: Event) => void;
3556
3381
  };
3557
- declare function OakTabs<T extends string>(props: Readonly<OakTabsProps<T>>): React__default.JSX.Element;
3382
+ declare function OakTabs<T extends string>(props: Readonly<OakTabsProps<T>>): React$1.JSX.Element;
3558
3383
 
3559
3384
  type OakCardProps = {
3560
3385
  /**
@@ -3622,7 +3447,7 @@ type OakCardProps = {
3622
3447
  * The card can be oriented in a row or column layout and its width can be adjusted using spacing tokens.
3623
3448
  * The image aspect ratio can be set to either 1:1 or 4:3.
3624
3449
  */
3625
- declare const OakCard: ({ heading, headingLevel, href, cardOrientation, cardWidth, imageSrc, imageAlt, aspectRatio, subCopy, tagName, tagBackground, linkText, linkIconName, hoverBackground, }: OakCardProps) => React__default.JSX.Element;
3450
+ declare const OakCard: ({ heading, headingLevel, href, cardOrientation, cardWidth, imageSrc, imageAlt, aspectRatio, subCopy, tagName, tagBackground, linkText, linkIconName, hoverBackground, }: OakCardProps) => React$1.JSX.Element;
3626
3451
 
3627
3452
  type OakBreadcrumb = {
3628
3453
  text: string;
@@ -3640,7 +3465,7 @@ type OakBreadcrumbsProps = {
3640
3465
  /**
3641
3466
  * The breadcrumb component helps users to understand where they are within a website’s structure and move between levels.
3642
3467
  */
3643
- declare const OakBreadcrumbs: ({ breadcrumbs, }: Readonly<OakBreadcrumbsProps>) => React__default.JSX.Element;
3468
+ declare const OakBreadcrumbs: ({ breadcrumbs, }: Readonly<OakBreadcrumbsProps>) => React$1.JSX.Element;
3644
3469
 
3645
3470
  type OakDownloadsAccordionProps = {
3646
3471
  /**
@@ -3672,22 +3497,22 @@ type OakDownloadsAccordionProps = {
3672
3497
  * OakDownloadsAccordion
3673
3498
  *
3674
3499
  */
3675
- declare const OakDownloadsAccordion: ({ initialOpen, ...props }: OakDownloadsAccordionProps) => React__default.JSX.Element;
3500
+ declare const OakDownloadsAccordion: ({ initialOpen, ...props }: OakDownloadsAccordionProps) => React$1.JSX.Element;
3676
3501
 
3677
3502
  type OakInlineRegistrationBannerProps = {
3678
3503
  onSubmit: (email: string) => Promise<string | undefined>;
3679
- headerText: React__default.ReactNode;
3680
- bodyText: React__default.ReactNode;
3504
+ headerText: React$1.ReactNode;
3505
+ bodyText: React$1.ReactNode;
3681
3506
  } & ColorStyleProps & BorderStyleProps;
3682
- declare const OakInlineRegistrationBanner: (props: OakInlineRegistrationBannerProps) => React__default.JSX.Element;
3507
+ declare const OakInlineRegistrationBanner: (props: OakInlineRegistrationBannerProps) => React$1.JSX.Element;
3683
3508
 
3684
3509
  type OakTeacherNotesInlineProps = {
3685
3510
  sanitizedHtml?: string | TrustedHTML;
3686
3511
  };
3687
- declare const OakTeacherNotesInline: ({ sanitizedHtml, }: OakTeacherNotesInlineProps) => React__default.JSX.Element;
3512
+ declare const OakTeacherNotesInline: ({ sanitizedHtml, }: OakTeacherNotesInlineProps) => React$1.JSX.Element;
3688
3513
 
3689
3514
  type EditorContainerProps = {
3690
- editorNode: React__default.ReactNode;
3515
+ editorNode: React$1.ReactNode;
3691
3516
  onBoldClick: () => void;
3692
3517
  onBulletListClick: () => void;
3693
3518
  isBold: boolean;
@@ -3703,9 +3528,9 @@ type OakTeacherNotesModalProps = {
3703
3528
  error?: boolean;
3704
3529
  termsAndConditionsHref: string;
3705
3530
  shareLinkDisabled?: boolean;
3706
- footer?: React__default.ReactNode;
3531
+ footer?: React$1.ReactNode;
3707
3532
  } & EditorContainerProps;
3708
- declare const OakTeacherNotesModal: ({ isOpen, onClose, onShareClicked, progressSaved, noteShared, error, termsAndConditionsHref, shareLinkDisabled, footer, ...rest }: OakTeacherNotesModalProps) => React__default.JSX.Element;
3533
+ declare const OakTeacherNotesModal: ({ isOpen, onClose, onShareClicked, progressSaved, noteShared, error, termsAndConditionsHref, shareLinkDisabled, footer, ...rest }: OakTeacherNotesModalProps) => React$1.JSX.Element;
3709
3534
 
3710
3535
  type OakTertiaryOLNavProps = {
3711
3536
  title?: string;
@@ -3715,9 +3540,9 @@ type OakTertiaryOLNavProps = {
3715
3540
  }[];
3716
3541
  ariaLabel?: string;
3717
3542
  anchorTarget?: string;
3718
- onClick?: (event: React__default.MouseEvent<HTMLAnchorElement, MouseEvent>) => void;
3543
+ onClick?: (event: React$1.MouseEvent<HTMLAnchorElement, MouseEvent>) => void;
3719
3544
  };
3720
- declare const OakTertiaryOLNav: ({ items, ariaLabel, title, anchorTarget, onClick, ...rest }: OakTertiaryOLNavProps) => React__default.JSX.Element;
3545
+ declare const OakTertiaryOLNav: ({ items, ariaLabel, title, anchorTarget, onClick, ...rest }: OakTertiaryOLNavProps) => React$1.JSX.Element;
3721
3546
 
3722
3547
  type OakUnitListItemProps<element extends ElementType> = {
3723
3548
  unavailable?: boolean;
@@ -3728,7 +3553,7 @@ type OakUnitListItemProps<element extends ElementType> = {
3728
3553
  isLegacy: boolean;
3729
3554
  href: string;
3730
3555
  firstItemRef?: MutableRefObject<HTMLAnchorElement | null> | null | undefined;
3731
- onClick?: (event: React__default.MouseEvent<HTMLAnchorElement, MouseEvent>) => void;
3556
+ onClick?: (event: React$1.MouseEvent<HTMLAnchorElement, MouseEvent>) => void;
3732
3557
  onSave?: () => void;
3733
3558
  isSaved?: boolean;
3734
3559
  isSaving?: boolean;
@@ -3739,7 +3564,7 @@ type OakUnitListItemProps<element extends ElementType> = {
3739
3564
  *
3740
3565
  * OakUnitsListItem component used as links for unit cards
3741
3566
  */
3742
- declare const OakUnitListItem: <element extends ElementType = "a">(props: OakUnitListItemProps<element>) => React__default.JSX.Element;
3567
+ declare const OakUnitListItem: <element extends ElementType = "a">(props: OakUnitListItemProps<element>) => React$1.JSX.Element;
3743
3568
 
3744
3569
  type OakUnitListOptionalityItemProps = {
3745
3570
  unavailable?: boolean;
@@ -3755,7 +3580,7 @@ type OakUnitListOptionalityItemProps = {
3755
3580
  slug: string;
3756
3581
  href: string;
3757
3582
  lessonCount: string;
3758
- onClick?: (event: React__default.MouseEvent<HTMLElement, MouseEvent>) => void;
3583
+ onClick?: (event: React$1.MouseEvent<HTMLElement, MouseEvent>) => void;
3759
3584
  firstItemRef?: MutableRefObject<HTMLAnchorElement | null> | null | undefined;
3760
3585
  }[];
3761
3586
  };
@@ -3763,7 +3588,7 @@ type OakUnitListOptionalityItemProps = {
3763
3588
  *
3764
3589
  * OakUnitsListOptionalityItem component used as links for unit cards with optionality
3765
3590
  */
3766
- declare const OakUnitListOptionalityItem: (props: OakUnitListOptionalityItemProps) => React__default.JSX.Element;
3591
+ declare const OakUnitListOptionalityItem: (props: OakUnitListOptionalityItemProps) => React$1.JSX.Element;
3767
3592
 
3768
3593
  type OakUnitListOptionalityItemCardProps = {
3769
3594
  unavailable?: boolean;
@@ -3772,7 +3597,7 @@ type OakUnitListOptionalityItemCardProps = {
3772
3597
  href: string;
3773
3598
  slug: string;
3774
3599
  firstItemRef?: MutableRefObject<HTMLAnchorElement | null> | null | undefined;
3775
- onClick?: (event: React__default.MouseEvent<HTMLAnchorElement, MouseEvent>) => void;
3600
+ onClick?: (event: React$1.MouseEvent<HTMLAnchorElement, MouseEvent>) => void;
3776
3601
  onSave?: (unitSlug: string) => void;
3777
3602
  isSaved?: boolean;
3778
3603
  isSaving?: boolean;
@@ -3781,7 +3606,7 @@ type OakUnitListOptionalityItemCardProps = {
3781
3606
  *
3782
3607
  * OakUnitsListItem component used as links for unit cards
3783
3608
  */
3784
- declare const OakUnitListOptionalityItemCard: (props: OakUnitListOptionalityItemCardProps) => React__default.JSX.Element;
3609
+ declare const OakUnitListOptionalityItemCard: (props: OakUnitListOptionalityItemCardProps) => React$1.JSX.Element;
3785
3610
 
3786
3611
  type OakPupilContentGuidance = {
3787
3612
  contentguidanceLabel: string | null;
@@ -3841,7 +3666,7 @@ declare const removedGuidanceDuplicates: (contentGuidance?: OakPupilContentGuida
3841
3666
  * - **declineText** \- The text to be displayed on the decline button
3842
3667
  * - **declineIcon** \- The icon to be displayed on the decline button
3843
3668
  */
3844
- declare const OakPupilJourneyContentGuidance: ({ isOpen, onAccept, onDecline, title, contentGuidance, supervisionLevel, acceptText, declineText, declineIcon, }: OakPupilJourneyContentGuidanceProps) => React__default.JSX.Element;
3669
+ declare const OakPupilJourneyContentGuidance: ({ isOpen, onAccept, onDecline, title, contentGuidance, supervisionLevel, acceptText, declineText, declineIcon, }: OakPupilJourneyContentGuidanceProps) => React$1.JSX.Element;
3845
3670
 
3846
3671
  type OakSpanProps = ColorStyleProps & OpacityStyleProps & MarginStyleProps & PaddingStyleProps & BorderStyleProps & TypographyStyleProps & PositionStyleProps;
3847
3672
  /**
@@ -3849,7 +3674,7 @@ type OakSpanProps = ColorStyleProps & OpacityStyleProps & MarginStyleProps & Pad
3849
3674
  * ## Usage
3850
3675
  * Use this component when you want to apply styles to a piece of inline text.
3851
3676
  */
3852
- declare const OakSpan: styled_components.StyledComponent<"span", styled_components.DefaultTheme, OakSpanProps, never>;
3677
+ declare const OakSpan: any;
3853
3678
 
3854
3679
  type OakBulletListProps = {
3855
3680
  listItems: string[];
@@ -3857,7 +3682,7 @@ type OakBulletListProps = {
3857
3682
  /**
3858
3683
  * An inline bulleted list
3859
3684
  */
3860
- declare const OakBulletList: (props: OakBulletListProps) => React__default.JSX.Element;
3685
+ declare const OakBulletList: (props: OakBulletListProps) => React$1.JSX.Element;
3861
3686
 
3862
3687
  type OakPupilJourneyHeaderProps = {
3863
3688
  title: string;
@@ -3874,7 +3699,7 @@ type OakPupilJourneyHeaderProps = {
3874
3699
  *
3875
3700
  *
3876
3701
  */
3877
- declare const OakPupilJourneyHeader: ({ iconBackground, title, iconName, alt, breadcrumbs, optionalityTitle, }: OakPupilJourneyHeaderProps) => React__default.JSX.Element;
3702
+ declare const OakPupilJourneyHeader: ({ iconBackground, title, iconName, alt, breadcrumbs, optionalityTitle, }: OakPupilJourneyHeaderProps) => React$1.JSX.Element;
3878
3703
 
3879
3704
  type PupilJourneySectionName = "tier-listing" | "examboard-listing" | "unit-listing" | "lesson-listing" | "subject-listing" | "year-listing";
3880
3705
  type Phase$1 = "primary" | "secondary";
@@ -3891,15 +3716,15 @@ type OakPupilJourneyLayoutProps = {
3891
3716
  *
3892
3717
  * the sections of the page are passed in as props and children
3893
3718
  */
3894
- declare const OakPupilJourneyLayout: ({ sectionName, topNavSlot, phase, children, }: OakPupilJourneyLayoutProps) => React__default.JSX.Element;
3719
+ declare const OakPupilJourneyLayout: ({ sectionName, topNavSlot, phase, children, }: OakPupilJourneyLayoutProps) => React$1.JSX.Element;
3895
3720
  declare function getBackgroundUrlForSection(sectionName: PupilJourneySectionName, phase?: Phase$1): string;
3896
3721
 
3897
3722
  type OakPupilJourneyListProps = {
3898
- children: React__default.ReactNode;
3723
+ children: React$1.ReactNode;
3899
3724
  phase: "primary" | "secondary";
3900
- titleSlot?: React__default.ReactNode;
3901
- filterSlot?: React__default.ReactNode;
3902
- subheadingSlot: React__default.ReactNode;
3725
+ titleSlot?: React$1.ReactNode;
3726
+ filterSlot?: React$1.ReactNode;
3727
+ subheadingSlot: React$1.ReactNode;
3903
3728
  };
3904
3729
  /**
3905
3730
  *
@@ -3907,14 +3732,14 @@ type OakPupilJourneyListProps = {
3907
3732
  *
3908
3733
  *
3909
3734
  */
3910
- declare const OakPupilJourneyList: ({ children, phase, titleSlot, subheadingSlot, filterSlot, }: OakPupilJourneyListProps) => React__default.JSX.Element;
3735
+ declare const OakPupilJourneyList: ({ children, phase, titleSlot, subheadingSlot, filterSlot, }: OakPupilJourneyListProps) => React$1.JSX.Element;
3911
3736
 
3912
3737
  type OakPupilJourneyListCounterProps = {
3913
3738
  count: number;
3914
3739
  countHeader: string;
3915
3740
  tag: "h1" | "h2" | "h3" | "h4" | "h5" | "h6";
3916
3741
  };
3917
- declare const OakPupilJourneyListCounter: (props: OakPupilJourneyListCounterProps) => React__default.JSX.Element;
3742
+ declare const OakPupilJourneyListCounter: (props: OakPupilJourneyListCounterProps) => React$1.JSX.Element;
3918
3743
 
3919
3744
  type OakPupilJourneyListItemProps<C extends ElementType> = {
3920
3745
  as?: C;
@@ -3933,10 +3758,10 @@ type OakPupilJourneyListItemProps<C extends ElementType> = {
3933
3758
  /**
3934
3759
  * Enables navigation to the given section of a lesson as well as displaying current progress
3935
3760
  */
3936
- declare const OakPupilJourneyListItem: <C extends ElementType = "a">(props: OakPupilJourneyListItemProps<C>) => React__default.JSX.Element;
3761
+ declare const OakPupilJourneyListItem: <C extends ElementType = "a">(props: OakPupilJourneyListItemProps<C>) => React$1.JSX.Element;
3937
3762
 
3938
3763
  type OakPupilJourneyListItemSubheadingProps = {
3939
- textSlot?: React__default.ReactNode;
3764
+ textSlot?: React$1.ReactNode;
3940
3765
  } & OakBulletListProps;
3941
3766
  /**
3942
3767
  * This component displays a heading for the previous lessons
@@ -3946,7 +3771,7 @@ type OakPupilJourneyListItemSubheadingProps = {
3946
3771
  * textSlot? - Can pass if any react node, but <OakPupilJourneyListCounter /> is recommended
3947
3772
  *
3948
3773
  */
3949
- declare const OakPupilJourneyListItemSubheading: (props: OakPupilJourneyListItemSubheadingProps) => React__default.JSX.Element;
3774
+ declare const OakPupilJourneyListItemSubheading: (props: OakPupilJourneyListItemSubheadingProps) => React$1.JSX.Element;
3950
3775
 
3951
3776
  type OakPupilJourneyOptionalityButtonProps<C extends ElementType> = {
3952
3777
  /**
@@ -3963,10 +3788,10 @@ type OakPupilJourneyOptionalityButtonProps<C extends ElementType> = {
3963
3788
  /**
3964
3789
  * Button for units with optionality it is only used as the child of the PupilJourneyOptionailityitem component
3965
3790
  */
3966
- declare const OakPupilJourneyOptionalityButton: <C extends ElementType = "a">(props: OakPupilJourneyOptionalityButtonProps<C>) => React__default.JSX.Element;
3791
+ declare const OakPupilJourneyOptionalityButton: <C extends ElementType = "a">(props: OakPupilJourneyOptionalityButtonProps<C>) => React$1.JSX.Element;
3967
3792
 
3968
3793
  type OakPupilJourneyOptionalityItemProps = {
3969
- children: React__default.ReactNode;
3794
+ children: React$1.ReactNode;
3970
3795
  index: number;
3971
3796
  title: string;
3972
3797
  unavailable?: boolean;
@@ -3977,13 +3802,13 @@ type OakPupilJourneyOptionalityItemProps = {
3977
3802
  * OakPupilJourneyOptionalityItem is a styled container to be used for units with optionality, OakPupilJourneyOptionalityButton should be used as children
3978
3803
  *
3979
3804
  */
3980
- declare const OakPupilJourneyOptionalityItem: (props: OakPupilJourneyOptionalityItemProps) => React__default.JSX.Element;
3805
+ declare const OakPupilJourneyOptionalityItem: (props: OakPupilJourneyOptionalityItemProps) => React$1.JSX.Element;
3981
3806
 
3982
3807
  type OakPupilJourneyProgrammeOptionsProps = {
3983
- children: React__default.ReactNode;
3808
+ children: React$1.ReactNode;
3984
3809
  phase: "primary" | "secondary";
3985
- titleSlot?: React__default.ReactNode;
3986
- optionTitleSlot: React__default.ReactNode;
3810
+ titleSlot?: React$1.ReactNode;
3811
+ optionTitleSlot: React$1.ReactNode;
3987
3812
  };
3988
3813
  /**
3989
3814
  *
@@ -3991,7 +3816,7 @@ type OakPupilJourneyProgrammeOptionsProps = {
3991
3816
  *
3992
3817
  *
3993
3818
  */
3994
- declare const OakPupilJourneyProgrammeOptions: ({ children, phase, titleSlot, optionTitleSlot, }: OakPupilJourneyProgrammeOptionsProps) => React__default.JSX.Element;
3819
+ declare const OakPupilJourneyProgrammeOptions: ({ children, phase, titleSlot, optionTitleSlot, }: OakPupilJourneyProgrammeOptionsProps) => React$1.JSX.Element;
3995
3820
 
3996
3821
  type MenuItem = {
3997
3822
  displayText: string;
@@ -4013,7 +3838,7 @@ type OakPupilJourneyUnitsFilterProps = {
4013
3838
  * onSelected: Callback when a menu item is selected, takes the selected item as an argument
4014
3839
  *
4015
3840
  */
4016
- declare const OakPupilJourneyUnitsFilter: (props: OakPupilJourneyUnitsFilterProps) => React__default.JSX.Element;
3841
+ declare const OakPupilJourneyUnitsFilter: (props: OakPupilJourneyUnitsFilterProps) => React$1.JSX.Element;
4017
3842
 
4018
3843
  type OakPupilJourneyYearButtonProps = {
4019
3844
  phase: "primary" | "secondary";
@@ -4032,7 +3857,7 @@ type OakPupilJourneyYearButtonProps = {
4032
3857
  * `onHovered?: (event: React.MouseEvent<HTMLButtonElement, MouseEvent>, duration: number) => void;`<br>
4033
3858
  * called after a mouseEnter and mouseLeave event has happened
4034
3859
  */
4035
- declare const OakPupilJourneyYearButton: <C extends ElementType = "button">({ phase, element, ...rest }: OakPupilJourneyYearButtonProps & PolymorphicPropsWithoutRef<C>) => React__default.JSX.Element;
3860
+ declare const OakPupilJourneyYearButton: <C extends ElementType = "button">({ phase, element, ...rest }: OakPupilJourneyYearButtonProps & PolymorphicPropsWithoutRef<C>) => React$1.JSX.Element;
4036
3861
 
4037
3862
  type OakQuizHintProps = {
4038
3863
  /**
@@ -4047,7 +3872,7 @@ type OakQuizHintProps = {
4047
3872
  /**
4048
3873
  * Presents a button which will show a hint when clicked
4049
3874
  */
4050
- declare const OakQuizHint: ({ hint, id, hintToggled }: OakQuizHintProps) => React__default.JSX.Element;
3875
+ declare const OakQuizHint: ({ hint, id, hintToggled }: OakQuizHintProps) => React$1.JSX.Element;
4051
3876
 
4052
3877
  type OakQuizFeedbackProps = {
4053
3878
  /**
@@ -4067,7 +3892,7 @@ type OakQuizFeedbackProps = {
4067
3892
  /**
4068
3893
  * Gives feedback after a question has been answered
4069
3894
  */
4070
- declare const OakQuizFeedback: ({ feedback, answerFeedback, }: OakQuizFeedbackProps) => React__default.JSX.Element;
3895
+ declare const OakQuizFeedback: ({ feedback, answerFeedback, }: OakQuizFeedbackProps) => React$1.JSX.Element;
4071
3896
 
4072
3897
  type OakLessonBottomNavProps = {
4073
3898
  children?: ReactNode;
@@ -4081,7 +3906,7 @@ type OakLessonBottomNavProps = {
4081
3906
  /**
4082
3907
  * Renders feedback for an answer and onward navigation buttons to continue the lesson
4083
3908
  */
4084
- declare const OakLessonBottomNav: ({ hint, hintToggled, feedback, answerFeedback, children, }: OakLessonBottomNavProps) => React__default.JSX.Element;
3909
+ declare const OakLessonBottomNav: ({ hint, hintToggled, feedback, answerFeedback, children, }: OakLessonBottomNavProps) => React$1.JSX.Element;
4085
3910
 
4086
3911
  declare const lessonSectionNames: string[];
4087
3912
  type LessonSectionName$1 = (typeof lessonSectionNames)[number];
@@ -4097,7 +3922,7 @@ type OakLessonLayoutProps = {
4097
3922
  /**
4098
3923
  * Provides overall page layout and colours for the sections of a lesson.
4099
3924
  */
4100
- declare const OakLessonLayout: ({ lessonSectionName, phase, celebrate, topNavSlot, bottomNavSlot, children, }: OakLessonLayoutProps) => React__default.JSX.Element;
3925
+ declare const OakLessonLayout: ({ lessonSectionName, phase, celebrate, topNavSlot, bottomNavSlot, children, }: OakLessonLayoutProps) => React$1.JSX.Element;
4101
3926
 
4102
3927
  type BaseOakLessonNavItemProps<C extends ElementType> = {
4103
3928
  as?: C;
@@ -4137,7 +3962,7 @@ type OakLessonNavItemProps<C extends ElementType> = BaseOakLessonNavItemProps<C>
4137
3962
  /**
4138
3963
  * Enables navigation to the given section of a lesson as well as displaying current progress
4139
3964
  */
4140
- declare const OakLessonNavItem: <C extends ElementType = "a">(props: OakLessonNavItemProps<C>) => React__default.JSX.Element;
3965
+ declare const OakLessonNavItem: <C extends ElementType = "a">(props: OakLessonNavItemProps<C>) => React$1.JSX.Element;
4141
3966
 
4142
3967
  type LessonSectionName = "intro" | "video";
4143
3968
  type BaseOakLessonReviewItemProps$1 = {
@@ -4152,7 +3977,7 @@ type IntroSectionProps$1 = {
4152
3977
  type OakLessonReviewIntroVideoProps = BaseOakLessonReviewItemProps$1 & {
4153
3978
  lessonSectionName: LessonSectionName;
4154
3979
  } & (IntroSectionProps$1 | VideoSectionProps$1);
4155
- declare const OakLessonReviewIntroVideo: (props: OakLessonReviewIntroVideoProps) => React__default.JSX.Element;
3980
+ declare const OakLessonReviewIntroVideo: (props: OakLessonReviewIntroVideoProps) => React$1.JSX.Element;
4156
3981
 
4157
3982
  type BaseOakLessonReviewItemProps = {
4158
3983
  completed: boolean;
@@ -4175,7 +4000,7 @@ type IntroSectionProps = {
4175
4000
  lessonSectionName: "intro";
4176
4001
  };
4177
4002
  type OakLessonReviewItemProps = BaseOakLessonReviewItemProps & (IntroSectionProps | QuizSectionProps | VideoSectionProps);
4178
- declare const OakLessonReviewItem: (props: OakLessonReviewItemProps) => React__default.JSX.Element;
4003
+ declare const OakLessonReviewItem: (props: OakLessonReviewItemProps) => React$1.JSX.Element;
4179
4004
 
4180
4005
  type LessonQuizName = "starter-quiz" | "exit-quiz";
4181
4006
  type OakLessonReviewQuizProps = {
@@ -4192,21 +4017,21 @@ type OakLessonReviewQuizProps = {
4192
4017
  /**
4193
4018
  * You MUST use the OakLessonExpandableReviewItem as the container component for this slot
4194
4019
  */
4195
- resultsSlot?: React__default.ReactNode;
4020
+ resultsSlot?: React$1.ReactNode;
4196
4021
  };
4197
4022
  type OakLessonReviewItemContainerProps = {
4198
4023
  $background?: OakUiRoleToken;
4199
4024
  $borderColor?: OakUiRoleToken;
4200
- children: React__default.ReactNode;
4025
+ children: React$1.ReactNode;
4201
4026
  };
4202
- declare const ReviewItemContainer: (props: OakLessonReviewItemContainerProps) => React__default.JSX.Element;
4027
+ declare const ReviewItemContainer: (props: OakLessonReviewItemContainerProps) => React$1.JSX.Element;
4203
4028
  type ReviewItemTitleSectionProps = {
4204
4029
  sectionHeader: string;
4205
4030
  completed: boolean;
4206
4031
  summaryForIncomplete: ReactNode;
4207
4032
  };
4208
- declare const ReviewItemTitleSection: (props: ReviewItemTitleSectionProps) => React__default.JSX.Element;
4209
- declare const OakLessonReviewQuiz: (props: OakLessonReviewQuizProps) => React__default.JSX.Element;
4033
+ declare const ReviewItemTitleSection: (props: ReviewItemTitleSectionProps) => React$1.JSX.Element;
4034
+ declare const OakLessonReviewQuiz: (props: OakLessonReviewQuizProps) => React$1.JSX.Element;
4210
4035
 
4211
4036
  type LessonTopNavSectionName = Omit<LessonSectionName$1, "overview" | "review">;
4212
4037
  type OakLessonTopNavProps = {
@@ -4229,7 +4054,7 @@ type OakLessonTopNavProps = {
4229
4054
  /**
4230
4055
  * Controls for navigating back and displaying progress in a lesson
4231
4056
  */
4232
- declare const OakLessonTopNav: ({ lessonSectionName, backLinkSlot, counterSlot, heading, mobileSummary, }: OakLessonTopNavProps) => React__default.JSX.Element;
4057
+ declare const OakLessonTopNav: ({ lessonSectionName, backLinkSlot, counterSlot, heading, mobileSummary, }: OakLessonTopNavProps) => React$1.JSX.Element;
4233
4058
 
4234
4059
  type OakLessonVideoTranscriptProps = {
4235
4060
  /**
@@ -4251,7 +4076,7 @@ type OakLessonVideoTranscriptProps = {
4251
4076
  /**
4252
4077
  * Display a togglable video transcript with a slot to display a sign language control
4253
4078
  */
4254
- declare const OakLessonVideoTranscript: ({ children, id, signLanguageControl, transcriptToggled, }: OakLessonVideoTranscriptProps) => React__default.JSX.Element;
4079
+ declare const OakLessonVideoTranscript: ({ children, id, signLanguageControl, transcriptToggled, }: OakLessonVideoTranscriptProps) => React$1.JSX.Element;
4255
4080
 
4256
4081
  type OakHintButtonProps = {
4257
4082
  isOpen: boolean;
@@ -4273,13 +4098,13 @@ type OakHintButtonProps = {
4273
4098
  * `onHovered?: (event: React.MouseEvent<HTMLButtonElement, MouseEvent>, duration: number) => void;`<br>
4274
4099
  * called after a mouseEnter and mouseLeave event has happened
4275
4100
  */
4276
- declare const OakHintButton: (props: OakHintButtonProps) => React__default.JSX.Element;
4101
+ declare const OakHintButton: (props: OakHintButtonProps) => React$1.JSX.Element;
4277
4102
 
4278
4103
  type OakQuizCheckBoxProps = Omit<BaseCheckBoxProps, "defaultChecked"> & {
4279
4104
  feedback?: "correct" | "incorrect" | null;
4280
- image?: React__default.JSX.Element;
4281
- innerRef?: React__default.RefObject<HTMLInputElement>;
4282
- displayValue?: string | React__default.JSX.Element;
4105
+ image?: React$1.JSX.Element;
4106
+ innerRef?: React$1.RefObject<HTMLInputElement>;
4107
+ displayValue?: string | React$1.JSX.Element;
4283
4108
  /**
4284
4109
  * Give the field a highlight to draw attention to it
4285
4110
  */
@@ -4288,7 +4113,7 @@ type OakQuizCheckBoxProps = Omit<BaseCheckBoxProps, "defaultChecked"> & {
4288
4113
  /**
4289
4114
  * A checkbox representing the options in a multiple choice question.
4290
4115
  */
4291
- declare const OakQuizCheckBox: (props: OakQuizCheckBoxProps) => React__default.JSX.Element;
4116
+ declare const OakQuizCheckBox: (props: OakQuizCheckBoxProps) => React$1.JSX.Element;
4292
4117
 
4293
4118
  type OakQuizCounterProps = {
4294
4119
  counter: number;
@@ -4297,7 +4122,7 @@ type OakQuizCounterProps = {
4297
4122
  /**
4298
4123
  * A counter representing progress through the questions in a quiz
4299
4124
  */
4300
- declare const OakQuizCounter: (props: OakQuizCounterProps) => React__default.JSX.Element;
4125
+ declare const OakQuizCounter: (props: OakQuizCounterProps) => React$1.JSX.Element;
4301
4126
 
4302
4127
  declare const OakQuizMatchItemId: (id: string) => string;
4303
4128
  type DraggableItem = {
@@ -4342,7 +4167,7 @@ type OakQuizMatchProps = {
4342
4167
  *
4343
4168
  * Keyboard navigation is supported with the `tab`, `space` and `arrow` keys
4344
4169
  */
4345
- declare const OakQuizMatch: ({ initialOptions, initialSlots, isHighlighted, onChange, }: OakQuizMatchProps) => React__default.JSX.Element;
4170
+ declare const OakQuizMatch: ({ initialOptions, initialSlots, isHighlighted, onChange, }: OakQuizMatchProps) => React$1.JSX.Element;
4346
4171
  declare const announcements: Announcements;
4347
4172
 
4348
4173
  type OakQuizOrderItem = {
@@ -4372,7 +4197,7 @@ type OakQuizOrderProps = {
4372
4197
  *
4373
4198
  * Keyboard navigation is supported with the `tab`, `space` and `arrow` keys
4374
4199
  */
4375
- declare const OakQuizOrder: ({ initialItems, announcements, onChange, isHighlighted, }: OakQuizOrderProps) => React__default.JSX.Element;
4200
+ declare const OakQuizOrder: ({ initialItems, announcements, onChange, isHighlighted, }: OakQuizOrderProps) => React$1.JSX.Element;
4376
4201
 
4377
4202
  type OakQuizPrintableHeaderProps = {
4378
4203
  title: string;
@@ -4390,7 +4215,7 @@ type OakQuizPrintableHeaderProps = {
4390
4215
  *
4391
4216
  *
4392
4217
  */
4393
- declare const OakQuizPrintableHeader: ({ title, iconName, alt, breadcrumbs, worksheetDownloaded, workSheetAvailable, videoPercentage, }: OakQuizPrintableHeaderProps) => React__default.JSX.Element;
4218
+ declare const OakQuizPrintableHeader: ({ title, iconName, alt, breadcrumbs, worksheetDownloaded, workSheetAvailable, videoPercentage, }: OakQuizPrintableHeaderProps) => React$1.JSX.Element;
4394
4219
 
4395
4220
  type OakQuizPrintableSubHeaderProps = {
4396
4221
  title: string;
@@ -4404,7 +4229,7 @@ type OakQuizPrintableSubHeaderProps = {
4404
4229
  *
4405
4230
  *
4406
4231
  */
4407
- declare const OakQuizPrintableSubHeader: ({ title, grade, numQuestions, attempts, }: OakQuizPrintableSubHeaderProps) => React__default.JSX.Element;
4232
+ declare const OakQuizPrintableSubHeader: ({ title, grade, numQuestions, attempts, }: OakQuizPrintableSubHeaderProps) => React$1.JSX.Element;
4408
4233
 
4409
4234
  type OakQuizRadioButtonProps = OakRadioButtonProps & {
4410
4235
  /**
@@ -4425,7 +4250,7 @@ type OakQuizRadioButtonProps = OakRadioButtonProps & {
4425
4250
  *
4426
4251
  * Use with `OakRadioGroup` to create a group of radio buttons.
4427
4252
  */
4428
- declare const OakQuizRadioButton: (props: OakQuizRadioButtonProps) => React__default.JSX.Element;
4253
+ declare const OakQuizRadioButton: (props: OakQuizRadioButtonProps) => React$1.JSX.Element;
4429
4254
 
4430
4255
  type InternalQuizResultItemProps = {
4431
4256
  feedbackState?: "correct" | "incorrect" | null;
@@ -4444,7 +4269,7 @@ type InternalQuizResultItemProps = {
4444
4269
  *
4445
4270
  * NB. We must export a styled component for it to be inheritable
4446
4271
  */
4447
- declare const OakQuizResultItem: ({ standardText, boldPrefixText, feedbackState, imageURL, imageAlt, }: InternalQuizResultItemProps) => React__default.JSX.Element;
4272
+ declare const OakQuizResultItem: ({ standardText, boldPrefixText, feedbackState, imageURL, imageAlt, }: InternalQuizResultItemProps) => React$1.JSX.Element;
4448
4273
 
4449
4274
  type OakQuizTextInputProps = Omit<OakTextInputProps, "validity" | "iconName" | "iconAlt" | "isTrailingIcon"> & {
4450
4275
  /**
@@ -4456,7 +4281,7 @@ type OakQuizTextInputProps = Omit<OakTextInputProps, "validity" | "iconName" | "
4456
4281
  /**
4457
4282
  * A text input for a free-text question in a quiz
4458
4283
  */
4459
- declare const OakQuizTextInput: ({ feedback, readOnly, ...props }: OakQuizTextInputProps) => React__default.JSX.Element;
4284
+ declare const OakQuizTextInput: ({ feedback, readOnly, ...props }: OakQuizTextInputProps) => React$1.JSX.Element;
4460
4285
 
4461
4286
  type OakBackLinkProps<C extends ElementType> = {
4462
4287
  as?: C;
@@ -4473,7 +4298,7 @@ type OakBackLinkProps<C extends ElementType> = {
4473
4298
  * * Button `<OakBackLink as="button" onClick={() => goBack(-1)} />`
4474
4299
  *
4475
4300
  */
4476
- declare const OakBackLink: <C extends ElementType = "a">({ as, label, ...props }: OakBackLinkProps<C>) => React__default.JSX.Element;
4301
+ declare const OakBackLink: <C extends ElementType = "a">({ as, label, ...props }: OakBackLinkProps<C>) => React$1.JSX.Element;
4477
4302
 
4478
4303
  type InternalCardProps = OakFlexProps;
4479
4304
 
@@ -4491,7 +4316,7 @@ type OakCardWithHandDrawnBorderProps = Omit<InternalCardWithBackgroundElementPro
4491
4316
  *
4492
4317
  * An optional `stroke` and `fill` can be applied to change the color of the border
4493
4318
  */
4494
- declare const OakCardWithHandDrawnBorder: ({ $pa, fill, stroke, $width, ...props }: OakCardWithHandDrawnBorderProps) => React__default.JSX.Element;
4319
+ declare const OakCardWithHandDrawnBorder: ({ $pa, fill, stroke, $width, ...props }: OakCardWithHandDrawnBorderProps) => React$1.JSX.Element;
4495
4320
 
4496
4321
  type OakCopyLinkButtonProps = {
4497
4322
  /**
@@ -4502,21 +4327,21 @@ type OakCopyLinkButtonProps = {
4502
4327
  /**
4503
4328
  * Display copy link button
4504
4329
  */
4505
- declare const OakCopyLinkButton: ({ href }: OakCopyLinkButtonProps) => React__default.JSX.Element;
4330
+ declare const OakCopyLinkButton: ({ href }: OakCopyLinkButtonProps) => React$1.JSX.Element;
4506
4331
 
4507
4332
  type OakDownloadCardProps = BaseCheckBoxProps & {
4508
4333
  /**
4509
4334
  * The primary title content for the download.
4510
4335
  */
4511
- title: React__default.ReactNode;
4336
+ title: React$1.ReactNode;
4512
4337
  /**
4513
4338
  * Optional file size content shown beneath the title.
4514
4339
  */
4515
- fileSize?: React__default.ReactNode;
4340
+ fileSize?: React$1.ReactNode;
4516
4341
  /**
4517
4342
  * The file format or secondary metadata shown beneath the title.
4518
4343
  */
4519
- format: React__default.ReactNode;
4344
+ format: React$1.ReactNode;
4520
4345
  /**
4521
4346
  * The icon used to represent the download type.
4522
4347
  */
@@ -4535,12 +4360,12 @@ type OakDownloadCardProps = BaseCheckBoxProps & {
4535
4360
  * such as lesson plans, slide decks, or worksheets.
4536
4361
  * Design document: <https://www.figma.com/design/YcWQMMhHPVVmc47cHHEEAl/Oak-Design-Kit?node-id=14795-5603>
4537
4362
  */
4538
- declare const OakDownloadCard: (props: OakDownloadCardProps) => React__default.JSX.Element;
4363
+ declare const OakDownloadCard: (props: OakDownloadCardProps) => React$1.JSX.Element;
4539
4364
 
4540
4365
  /**
4541
4366
  * Displays instructions for drag and drop functionality
4542
4367
  */
4543
- declare const OakDragAndDropInstructions: (props: ComponentPropsWithoutRef<typeof OakFlex>) => React__default.JSX.Element;
4368
+ declare const OakDragAndDropInstructions: (props: ComponentPropsWithoutRef<typeof OakFlex>) => React$1.JSX.Element;
4544
4369
 
4545
4370
  type OakDraggableProps = {
4546
4371
  /**
@@ -4593,7 +4418,7 @@ type OakDraggableFeedbackProps = ComponentPropsWithoutRef<typeof OakDraggable> &
4593
4418
  /**
4594
4419
  * A draggable element that visually indicates whether or not its state is correct or not
4595
4420
  */
4596
- declare const OakDraggableFeedback: ({ feedback, ...props }: OakDraggableFeedbackProps) => React__default.JSX.Element;
4421
+ declare const OakDraggableFeedback: ({ feedback, ...props }: OakDraggableFeedbackProps) => React$1.JSX.Element;
4597
4422
 
4598
4423
  type OakDroppableProps = {
4599
4424
  /**
@@ -4681,7 +4506,7 @@ type OakFilterDrawerProps = {
4681
4506
  * clearAllInputs: used to clear filter options
4682
4507
  *
4683
4508
  */
4684
- declare const OakFilterDrawer: ({ isOpen, domContainer, onClose, zIndex, children, clearAllInputs, footerSlot, ...rest }: OakFilterDrawerProps) => React__default.ReactPortal | null;
4509
+ declare const OakFilterDrawer: ({ isOpen, domContainer, onClose, zIndex, children, clearAllInputs, footerSlot, ...rest }: OakFilterDrawerProps) => React$1.ReactPortal | null;
4685
4510
 
4686
4511
  interface OakFormInputWithLabelsProps {
4687
4512
  /**
@@ -4724,17 +4549,17 @@ interface OakFormInputWithLabelsProps {
4724
4549
  /**
4725
4550
  * Callback function that is called when the input value changes.
4726
4551
  */
4727
- onChange?: React__default.ChangeEventHandler<HTMLInputElement>;
4552
+ onChange?: React$1.ChangeEventHandler<HTMLInputElement>;
4728
4553
  /**
4729
4554
  * Callback function that is called when the input is focused initially.
4730
4555
  */
4731
- onInitialFocus?: React__default.FocusEventHandler<HTMLInputElement>;
4556
+ onInitialFocus?: React$1.FocusEventHandler<HTMLInputElement>;
4732
4557
  /**
4733
4558
  * Callback function that is called when the input loses focus.
4734
4559
  */
4735
- onBlur?: React__default.FocusEventHandler<HTMLInputElement>;
4560
+ onBlur?: React$1.FocusEventHandler<HTMLInputElement>;
4736
4561
  }
4737
- declare const OakFormInputWithLabels: ({ label, helperText, placeholder, invalid, invalidText, value, inputName, disabled, required, defaultValue, onChange, onInitialFocus, onBlur, }: OakFormInputWithLabelsProps) => React__default.JSX.Element;
4562
+ declare const OakFormInputWithLabels: ({ label, helperText, placeholder, invalid, invalidText, value, inputName, disabled, required, defaultValue, onChange, onInitialFocus, onBlur, }: OakFormInputWithLabelsProps) => React$1.JSX.Element;
4738
4563
 
4739
4564
  type OakHandDrawnCardProps = Omit<InternalCardWithBackgroundElementProps, "backgroundElement"> & {
4740
4565
  fill?: InternalStyledSvgProps["$fill"];
@@ -4746,7 +4571,7 @@ type OakHandDrawnCardProps = Omit<InternalCardWithBackgroundElementProps, "backg
4746
4571
  *
4747
4572
  * An optional `stroke` and `strokeWidth` can be applied to give the background a border
4748
4573
  */
4749
- declare const OakHandDrawnCard: ({ $pa, fill, stroke, strokeWidth, $width, ...props }: OakHandDrawnCardProps) => React__default.JSX.Element;
4574
+ declare const OakHandDrawnCard: ({ $pa, fill, stroke, strokeWidth, $width, ...props }: OakHandDrawnCardProps) => React$1.JSX.Element;
4750
4575
 
4751
4576
  type OakHandDrawnBoxWithIconProps = Omit<OakHandDrawnCardProps, "children"> & {
4752
4577
  iconName: OakIconProps["iconName"];
@@ -4758,7 +4583,7 @@ type OakHandDrawnBoxWithIconProps = Omit<OakHandDrawnCardProps, "children"> & {
4758
4583
  /**
4759
4584
  * A hand-drawn card with an icon in the center
4760
4585
  */
4761
- declare const OakHandDrawnCardWithIcon: ({ iconName, iconColor, iconWidth, iconHeight, alt, $width, $height, $alignItems, $justifyContent, ...props }: OakHandDrawnBoxWithIconProps) => React__default.JSX.Element;
4586
+ declare const OakHandDrawnCardWithIcon: ({ iconName, iconColor, iconWidth, iconHeight, alt, $width, $height, $alignItems, $justifyContent, ...props }: OakHandDrawnBoxWithIconProps) => React$1.JSX.Element;
4762
4587
 
4763
4588
  type OakHandDrawnHRProps = {
4764
4589
  hrColor?: InternalStyledSvgProps["$fill"];
@@ -4770,7 +4595,7 @@ type OakHandDrawnHRProps = {
4770
4595
  *
4771
4596
  * change the sizeProps of the flex container to change the size and dimentions of the HR
4772
4597
  */
4773
- declare const OakHandDrawnHR: (props: OakHandDrawnHRProps) => React__default.JSX.Element;
4598
+ declare const OakHandDrawnHR: (props: OakHandDrawnHRProps) => React$1.JSX.Element;
4774
4599
 
4775
4600
  type OakInfoButtonProps = {
4776
4601
  onClick: MouseEventHandler;
@@ -4785,24 +4610,24 @@ type OakInfoButtonProps = {
4785
4610
  * onClick: MouseEventHandler
4786
4611
  *
4787
4612
  */
4788
- declare const OakInfoButton: (props: OakInfoButtonProps) => React__default.JSX.Element;
4613
+ declare const OakInfoButton: (props: OakInfoButtonProps) => React$1.JSX.Element;
4789
4614
 
4790
4615
  type OakInfoCardProps = {
4791
- children: React__default.ReactNode;
4616
+ children: React$1.ReactNode;
4792
4617
  };
4793
4618
  type OakCardHeaderprops = {
4794
4619
  iconName: OakIconName;
4795
4620
  tag: OakHeadingTag;
4796
4621
  children: string;
4797
4622
  };
4798
- declare const OakCardHeader: (props: OakCardHeaderprops) => React__default.JSX.Element;
4623
+ declare const OakCardHeader: (props: OakCardHeaderprops) => React$1.JSX.Element;
4799
4624
  /**
4800
4625
  *
4801
4626
  * OakLessonInfoCards are created using the custom card either oakLessoninfoCard or oakStaticMessageCard and the content is added as children. And use the oakCardHeader to create the header of the card.
4802
4627
  *
4803
4628
  */
4804
- declare const OakLessonInfoCard: (props: OakInfoCardProps) => React__default.JSX.Element;
4805
- declare const OakStaticMessageCard: (props: OakInfoCardProps) => React__default.JSX.Element;
4629
+ declare const OakLessonInfoCard: (props: OakInfoCardProps) => React$1.JSX.Element;
4630
+ declare const OakStaticMessageCard: (props: OakInfoCardProps) => React$1.JSX.Element;
4806
4631
 
4807
4632
  type OakLinkCardProps = {
4808
4633
  /**
@@ -4858,7 +4683,7 @@ type OakLinkCardProps = {
4858
4683
  * - **showNew** - Whether to display the "New" promo tag
4859
4684
  * - **narrow** - Whether to display the card in a narrow layout
4860
4685
  */
4861
- declare const OakLinkCard: ({ mainSection, iconName, iconAlt, iconColor, iconFill, href, showNew, hasAnimation, narrow, }: OakLinkCardProps) => React__default.JSX.Element;
4686
+ declare const OakLinkCard: ({ mainSection, iconName, iconAlt, iconColor, iconFill, href, showNew, hasAnimation, narrow, }: OakLinkCardProps) => React$1.JSX.Element;
4862
4687
 
4863
4688
  type OakSolidBorderAccordionProps = {
4864
4689
  /**
@@ -4881,7 +4706,7 @@ type OakSolidBorderAccordionProps = {
4881
4706
  /**
4882
4707
  * An accordion component that can be used to show/hide content
4883
4708
  */
4884
- declare const OakMediaClipListAccordion: ({ header, children, id, initialOpen, ...styleProps }: OakSolidBorderAccordionProps) => React__default.JSX.Element;
4709
+ declare const OakMediaClipListAccordion: ({ header, children, id, initialOpen, ...styleProps }: OakSolidBorderAccordionProps) => React$1.JSX.Element;
4885
4710
 
4886
4711
  type OakOutlineAccordionProps = {
4887
4712
  /**
@@ -4904,7 +4729,7 @@ type OakOutlineAccordionProps = {
4904
4729
  /**
4905
4730
  * An accordion component that can be used to show/hide content
4906
4731
  */
4907
- declare const OakOutlineAccordion: ({ header, children, id, initialOpen, ...styleProps }: OakOutlineAccordionProps) => React__default.JSX.Element;
4732
+ declare const OakOutlineAccordion: ({ header, children, id, initialOpen, ...styleProps }: OakOutlineAccordionProps) => React$1.JSX.Element;
4908
4733
 
4909
4734
  type OakPromoTagProps = {
4910
4735
  width?: SizeStyleProps["$width"];
@@ -4913,7 +4738,7 @@ type OakPromoTagProps = {
4913
4738
  /**
4914
4739
  * Renders a tag with the text "New"
4915
4740
  */
4916
- declare const OakPromoTag: (props: OakPromoTagProps) => React__default.JSX.Element;
4741
+ declare const OakPromoTag: (props: OakPromoTagProps) => React$1.JSX.Element;
4917
4742
 
4918
4743
  type TileItem = {
4919
4744
  id: string;
@@ -4926,7 +4751,7 @@ type OakRadioTileProps = {
4926
4751
  id: string;
4927
4752
  onChange: (tileItem: TileItem) => void;
4928
4753
  };
4929
- declare const OakRadioTile: styled_components.StyledComponent<(props: OakRadioTileProps) => React__default.JSX.Element, styled_components.DefaultTheme, {}, never>;
4754
+ declare const OakRadioTile: any;
4930
4755
 
4931
4756
  type OakSaveButtonProps = {
4932
4757
  isSaved: boolean;
@@ -4936,7 +4761,7 @@ type OakSaveButtonProps = {
4936
4761
  saveButtonId?: string;
4937
4762
  title: string;
4938
4763
  };
4939
- declare const OakSaveButton: (props: OakSaveButtonProps) => React__default.JSX.Element;
4764
+ declare const OakSaveButton: (props: OakSaveButtonProps) => React$1.JSX.Element;
4940
4765
 
4941
4766
  type OakSaveCountProps = {
4942
4767
  /**
@@ -4952,10 +4777,10 @@ type OakSaveCountProps = {
4952
4777
  href: string;
4953
4778
  loading: boolean;
4954
4779
  };
4955
- declare const OakSaveCount: ({ count, href, loading, label, }: OakSaveCountProps) => React__default.JSX.Element;
4780
+ declare const OakSaveCount: ({ count, href, loading, label, }: OakSaveCountProps) => React$1.JSX.Element;
4956
4781
 
4957
4782
  type OakScaleImageButtonProps = Omit<InternalShadowRectButtonProps, "defaultTextColor" | "hoverTextColor" | "disabledTextColor" | "defaultBackground" | "defaultBorderColor" | "hoverBackground" | "hoverBorderColor" | "disabledBackground" | "disabledBorderColor" | "iconGap" | "pv" | "ph" | "$bblr" | "$btlr" | "width" | "onClick"> & {
4958
- onImageScaleCallback: (event: React__default.MouseEvent<HTMLButtonElement>) => void;
4783
+ onImageScaleCallback: (event: React$1.MouseEvent<HTMLButtonElement>) => void;
4959
4784
  isExpanded: boolean;
4960
4785
  };
4961
4786
  /**
@@ -4968,24 +4793,24 @@ type OakScaleImageButtonProps = Omit<InternalShadowRectButtonProps, "defaultText
4968
4793
  * `onImageScaleCallback: (event: React.MouseEvent<HTMLButtonElement, MouseEvent>) => void;`
4969
4794
 
4970
4795
  */
4971
- declare const OakScaleImageButton: <C extends ElementType = "button">({ onImageScaleCallback, isExpanded, }: OakScaleImageButtonProps & PolymorphicPropsWithoutRef<C>) => React__default.JSX.Element;
4796
+ declare const OakScaleImageButton: <C extends ElementType = "button">({ onImageScaleCallback, isExpanded, }: OakScaleImageButtonProps & PolymorphicPropsWithoutRef<C>) => React$1.JSX.Element;
4972
4797
 
4973
4798
  type OakSignLanguageButtonProps = {
4974
4799
  /**
4975
4800
  * On click function
4976
4801
  */
4977
- onClick: (event: React__default.MouseEvent<HTMLButtonElement, MouseEvent>) => void;
4802
+ onClick: (event: React$1.MouseEvent<HTMLButtonElement, MouseEvent>) => void;
4978
4803
  };
4979
4804
  /**
4980
4805
  * Display a button to toggle sign language
4981
4806
  */
4982
- declare const OakSignLanguageButton: ({ onClick, }: OakSignLanguageButtonProps) => React__default.JSX.Element;
4807
+ declare const OakSignLanguageButton: ({ onClick, }: OakSignLanguageButtonProps) => React$1.JSX.Element;
4983
4808
 
4984
4809
  type OakTimerProps = {
4985
4810
  timeCode: number;
4986
4811
  } & Omit<OakBoxProps, "onClick" | "label">;
4987
4812
  declare const formatTimeCode: (seconds: number) => string;
4988
- declare const OakTimer: (props: OakTimerProps) => React__default.JSX.Element;
4813
+ declare const OakTimer: (props: OakTimerProps) => React$1.JSX.Element;
4989
4814
 
4990
4815
  interface Tier {
4991
4816
  tier: string;
@@ -5010,12 +4835,12 @@ type OakDownloadsJourneyChildSubjectTierSelectorProps = {
5010
4835
  * once the Next button is pressed to continue on the Downloads journey.
5011
4836
  *
5012
4837
  */
5013
- declare const OakDownloadsJourneyChildSubjectTierSelector: styled_components.StyledComponent<(props: OakDownloadsJourneyChildSubjectTierSelectorProps) => React__default.JSX.Element, styled_components.DefaultTheme, {}, never>;
4838
+ declare const OakDownloadsJourneyChildSubjectTierSelector: any;
5014
4839
 
5015
4840
  type OakCodeRendererProps = {
5016
4841
  string: string;
5017
4842
  } & TypographyStyleProps & OakBoxProps;
5018
- declare const OakCodeRenderer: ({ string, ...rest }: OakCodeRendererProps) => string | React__default.JSX.Element;
4843
+ declare const OakCodeRenderer: ({ string, ...rest }: OakCodeRendererProps) => string | React$1.JSX.Element;
5019
4844
 
5020
4845
  type OakHeaderHeroProps = {
5021
4846
  authorImageSrc?: string;
@@ -5035,7 +4860,7 @@ type OakHeaderHeroProps = {
5035
4860
  *
5036
4861
  * This Oak component can be passed the OWA breadcrumbs component as a prop. Currently this component does not exist in the component library.
5037
4862
  */
5038
- declare const OakHeaderHero: styled_components.StyledComponent<(props: OakHeaderHeroProps) => React__default.JSX.Element, styled_components.DefaultTheme, {}, never>;
4863
+ declare const OakHeaderHero: any;
5039
4864
 
5040
4865
  type OakHomepageTabButtonProps = InternalButtonProps & {
5041
4866
  title: string;
@@ -5043,7 +4868,7 @@ type OakHomepageTabButtonProps = InternalButtonProps & {
5043
4868
  isActive?: boolean;
5044
4869
  showNewIcon?: boolean;
5045
4870
  };
5046
- declare const OakHomepageTabButton: <C extends ElementType = "button">(props: OakHomepageTabButtonProps & PolymorphicPropsWithoutRef<C>) => React__default.JSX.Element;
4871
+ declare const OakHomepageTabButton: <C extends ElementType = "button">(props: OakHomepageTabButtonProps & PolymorphicPropsWithoutRef<C>) => React$1.JSX.Element;
5047
4872
 
5048
4873
  type OakInfoProps = {
5049
4874
  /**
@@ -5058,22 +4883,22 @@ type OakInfoProps = {
5058
4883
  /**
5059
4884
  * Presents a button which will show a hint when clicked
5060
4885
  */
5061
- declare const OakInfo: (props: OakInfoProps) => React__default.JSX.Element;
4886
+ declare const OakInfo: (props: OakInfoProps) => React$1.JSX.Element;
5062
4887
 
5063
4888
  type OakListItemProps = {
5064
4889
  unavailable?: boolean;
5065
4890
  index: number;
5066
4891
  title: string;
5067
4892
  isLegacy: boolean;
5068
- firstItemRef?: React__default.MutableRefObject<HTMLDivElement | null> | null | undefined;
5069
- onClick?: (event: React__default.MouseEvent<HTMLElement, MouseEvent>) => void;
5070
- middleSlot?: React__default.ReactNode;
5071
- endSlot?: React__default.ReactNode;
4893
+ firstItemRef?: React$1.MutableRefObject<HTMLDivElement | null> | null | undefined;
4894
+ onClick?: (event: React$1.MouseEvent<HTMLElement, MouseEvent>) => void;
4895
+ middleSlot?: React$1.ReactNode;
4896
+ endSlot?: React$1.ReactNode;
5072
4897
  hoverBgColour?: OakUiRoleToken;
5073
4898
  indexBgColour?: OakUiRoleToken;
5074
4899
  indexHoverBgColour?: OakUiRoleToken;
5075
4900
  indexLegacyBgColour?: OakUiRoleToken;
5076
- expandedContent?: React__default.ReactNode;
4901
+ expandedContent?: React$1.ReactNode;
5077
4902
  isExpanded?: boolean;
5078
4903
  asRadio?: boolean;
5079
4904
  radioValue?: string;
@@ -5082,7 +4907,7 @@ type OakListItemProps = {
5082
4907
  * * OakListItem component used as links for unit cards
5083
4908
  * * adding asRadio and radioValue props to allow OakListItem to be used as radio buttons within OakUnitsContainer if the OakUnitsContainer is passed a radioGroupName prop. This allows for better accessibility when OakListItem is used in OakUnitsContainer, as the user can select a unit by clicking anywhere on the card, rather than having to click on a specific radio button.
5084
4909
  */
5085
- declare const OakListItem: (props: OakListItemProps) => React__default.JSX.Element;
4910
+ declare const OakListItem: (props: OakListItemProps) => React$1.JSX.Element;
5086
4911
 
5087
4912
  type MuxPlayingState = "standard" | "playing" | "played";
5088
4913
  type OakMediaClipProps = {
@@ -5097,50 +4922,8 @@ type OakMediaClipProps = {
5097
4922
  isAudioClip?: boolean;
5098
4923
  element?: "button" | "a";
5099
4924
  };
5100
- declare const StyledMediaClipImage: styled_components.StyledComponent<(<C extends React__default.ElementType = React__default.ForwardRefExoticComponent<Omit<React__default.DetailedHTMLProps<React__default.ImgHTMLAttributes<HTMLImageElement>, HTMLImageElement>, "ref" | "height" | "width" | "alt" | "src" | "loading" | "srcSet"> & {
5101
- src: string | next_dist_shared_lib_get_img_props.StaticImport;
5102
- alt: string;
5103
- width?: number | `${number}`;
5104
- height?: number | `${number}`;
5105
- fill?: boolean;
5106
- loader?: Image.ImageLoader;
5107
- quality?: number | `${number}`;
5108
- priority?: boolean;
5109
- loading?: "eager" | "lazy" | undefined;
5110
- placeholder?: next_dist_shared_lib_get_img_props.PlaceholderValue;
5111
- blurDataURL?: string;
5112
- unoptimized?: boolean;
5113
- overrideSrc?: string;
5114
- onLoadingComplete?: next_dist_shared_lib_get_img_props.OnLoadingComplete;
5115
- layout?: string;
5116
- objectFit?: string;
5117
- objectPosition?: string;
5118
- lazyBoundary?: string;
5119
- lazyRoot?: string;
5120
- } & React__default.RefAttributes<HTMLImageElement | null>>>({ ...props }: OakImageProps<C>) => React__default.JSX.Element), styled_components.DefaultTheme, Omit<OakImageProps<React__default.ForwardRefExoticComponent<Omit<React__default.DetailedHTMLProps<React__default.ImgHTMLAttributes<HTMLImageElement>, HTMLImageElement>, "ref" | "height" | "width" | "alt" | "src" | "loading" | "srcSet"> & {
5121
- src: string | next_dist_shared_lib_get_img_props.StaticImport;
5122
- alt: string;
5123
- width?: number | `${number}`;
5124
- height?: number | `${number}`;
5125
- fill?: boolean;
5126
- loader?: Image.ImageLoader;
5127
- quality?: number | `${number}`;
5128
- priority?: boolean;
5129
- loading?: "eager" | "lazy" | undefined;
5130
- placeholder?: next_dist_shared_lib_get_img_props.PlaceholderValue;
5131
- blurDataURL?: string;
5132
- unoptimized?: boolean;
5133
- overrideSrc?: string;
5134
- onLoadingComplete?: next_dist_shared_lib_get_img_props.OnLoadingComplete;
5135
- layout?: string;
5136
- objectFit?: string;
5137
- objectPosition?: string;
5138
- lazyBoundary?: string;
5139
- lazyRoot?: string;
5140
- } & React__default.RefAttributes<HTMLImageElement | null>>>, "as"> & {
5141
- $showOakPlaceholder: boolean;
5142
- }, never>;
5143
- declare const OakMediaClip: ({ thumbnailImage, timeCode, clipName, learningCycle, muxPlayingState, onClick, disabled, imageAltText, isAudioClip, element, }: OakMediaClipProps) => React__default.JSX.Element;
4925
+ declare const StyledMediaClipImage: any;
4926
+ declare const OakMediaClip: ({ thumbnailImage, timeCode, clipName, learningCycle, muxPlayingState, onClick, disabled, imageAltText, isAudioClip, element, }: OakMediaClipProps) => React$1.JSX.Element;
5144
4927
 
5145
4928
  type OakMediaClipListProps = {
5146
4929
  lessonTitle: string;
@@ -5153,7 +4936,7 @@ type OakMediaClipListProps = {
5153
4936
  * OakMediaClipList is a scrollable list of OakMediaClip components with clip counter and the title
5154
4937
  *
5155
4938
  */
5156
- declare const OakMediaClipList: ({ lessonTitle, currentClipCounter, totalClipCounter, children, }: OakMediaClipListProps) => React__default.JSX.Element;
4939
+ declare const OakMediaClipList: ({ lessonTitle, currentClipCounter, totalClipCounter, children, }: OakMediaClipListProps) => React$1.JSX.Element;
5157
4940
 
5158
4941
  type OakMediaClipStackListItemProps = {
5159
4942
  title: string;
@@ -5165,7 +4948,7 @@ type OakMediaClipStackListItemProps = {
5165
4948
  onClick?: () => void;
5166
4949
  rel?: string;
5167
4950
  };
5168
- declare const OakMediaClipStackListItem: (props: OakMediaClipStackListItemProps) => React__default.JSX.Element;
4951
+ declare const OakMediaClipStackListItem: (props: OakMediaClipStackListItemProps) => React$1.JSX.Element;
5169
4952
 
5170
4953
  type MenuItemProps = {
5171
4954
  heading: string;
@@ -5194,14 +4977,14 @@ type OakSideMenuNavLinkProps = FlexStyleProps & PaddingStyleProps & {
5194
4977
  * - `isSelected`: A boolean indicating whether the link is currently selected.
5195
4978
  * - `onClick`: A callback function that is triggered when the link is clicked.
5196
4979
  */
5197
- declare const OakSideMenuNavLink: styled_components.StyledComponent<(props: OakSideMenuNavLinkProps) => React__default.JSX.Element, styled_components.DefaultTheme, {}, never>;
4980
+ declare const OakSideMenuNavLink: any;
5198
4981
 
5199
4982
  type OakSideMenuNavProps = {
5200
4983
  heading: string;
5201
4984
  menuItems: MenuItemProps[];
5202
4985
  anchorTargetId: string;
5203
4986
  };
5204
- declare const OakSideMenuNav: (props: OakSideMenuNavProps) => React__default.JSX.Element;
4987
+ declare const OakSideMenuNav: (props: OakSideMenuNavProps) => React$1.JSX.Element;
5205
4988
 
5206
4989
  type OakSubjectIconProps = Pick<OakHandDrawnBoxWithIconProps, "iconName" | "fill" | "iconColor" | "alt"> & {
5207
4990
  iconName: `subject-${string}`;
@@ -5212,7 +4995,7 @@ type OakSubjectIconProps = Pick<OakHandDrawnBoxWithIconProps, "iconName" | "fill
5212
4995
  *
5213
4996
  * Accepts an optional `showPromoTag` prop to display a "New" tag in the top left corner
5214
4997
  */
5215
- declare const OakSubjectIcon: ({ showPromoTag, ...rest }: OakSubjectIconProps) => React__default.JSX.Element;
4998
+ declare const OakSubjectIcon: ({ showPromoTag, ...rest }: OakSubjectIconProps) => React$1.JSX.Element;
5216
4999
 
5217
5000
  type OakSubjectIconButtonProps = {
5218
5001
  phase: "primary" | "secondary" | "non-curriculum";
@@ -5234,7 +5017,7 @@ type OakSubjectIconButtonProps = {
5234
5017
  * `onHovered?: (event: React.MouseEvent<HTMLButtonElement, MouseEvent>, duration: number) => void;`<br>
5235
5018
  * called after a mouseEnter and mouseLeave event has happened
5236
5019
  */
5237
- declare const OakSubjectIconButton: <C extends ElementType = "button">({ phase, element, subjectIconName, variant, selected, ...rest }: OakSubjectIconButtonProps & PolymorphicPropsWithoutRef<C>) => React__default.JSX.Element;
5020
+ declare const OakSubjectIconButton: <C extends ElementType = "button">({ phase, element, subjectIconName, variant, selected, ...rest }: OakSubjectIconButtonProps & PolymorphicPropsWithoutRef<C>) => React$1.JSX.Element;
5238
5021
 
5239
5022
  type OakVideoTranscriptProps = {
5240
5023
  /**
@@ -5263,7 +5046,7 @@ type OakVideoTranscriptProps = {
5263
5046
  /**
5264
5047
  * Display a togglable video transcript with a slot to display a sign language control
5265
5048
  */
5266
- declare const OakVideoTranscript: ({ children, id, signLanguageControl, copyLinkControl, transcriptToggled, }: OakVideoTranscriptProps) => React__default.JSX.Element;
5049
+ declare const OakVideoTranscript: ({ children, id, signLanguageControl, copyLinkControl, transcriptToggled, }: OakVideoTranscriptProps) => React$1.JSX.Element;
5267
5050
 
5268
5051
  type OakCloudinaryImageProps = Omit<OakImageProps<typeof CldImage>, "src" | "imageProps"> & {
5269
5052
  /**
@@ -5279,7 +5062,7 @@ type OakCloudinaryImageProps = Omit<OakImageProps<typeof CldImage>, "src" | "ima
5279
5062
  * See https://cloudinary.com/documentation/cloudinary_sdks#configuration_parameters
5280
5063
  * for documentation of the config object.
5281
5064
  */
5282
- declare const OakCloudinaryConfigProvider: React__default.Provider<_cloudinary_util_url_loader.CloudinaryConfigurationOptions | undefined>;
5065
+ declare const OakCloudinaryConfigProvider: React$1.Provider<any>;
5283
5066
  /**
5284
5067
  * OakCloudinaryImage wraps OakImage providing responsive images from Cloudinary
5285
5068
  * based on the `sizes` prop.
@@ -5290,7 +5073,7 @@ declare const OakCloudinaryConfigProvider: React__default.Provider<_cloudinary_u
5290
5073
  * ## To be refactored 🔀
5291
5074
  * This component will be refactored not to be tight to a service like Cloudinary
5292
5075
  */
5293
- declare const OakCloudinaryImage: ({ cloudinaryId, unoptimized, ...props }: OakCloudinaryImageProps) => React__default.JSX.Element;
5076
+ declare const OakCloudinaryImage: ({ cloudinaryId, unoptimized, ...props }: OakCloudinaryImageProps) => React$1.JSX.Element;
5294
5077
 
5295
5078
  type OakCarouselProps = {
5296
5079
  content: ReactNode[];
@@ -5299,7 +5082,7 @@ type OakCarouselProps = {
5299
5082
  fwdLabel: string;
5300
5083
  containerLabel: string;
5301
5084
  };
5302
- declare const OakCarousel: ({ content, isLooping, backLabel, fwdLabel, containerLabel, }: OakCarouselProps) => React__default.JSX.Element;
5085
+ declare const OakCarousel: ({ content, isLooping, backLabel, fwdLabel, containerLabel, }: OakCarouselProps) => React$1.JSX.Element;
5303
5086
 
5304
5087
  type OakQuoteProps = {
5305
5088
  quote: string;
@@ -5308,7 +5091,7 @@ type OakQuoteProps = {
5308
5091
  authorTitle?: string;
5309
5092
  authorImageSrc?: string;
5310
5093
  };
5311
- declare const OakQuote: (props: OakQuoteProps) => React__default.JSX.Element;
5094
+ declare const OakQuote: (props: OakQuoteProps) => React$1.JSX.Element;
5312
5095
 
5313
5096
  type ListStyleProps = {
5314
5097
  /**
@@ -5316,7 +5099,7 @@ type ListStyleProps = {
5316
5099
  *
5317
5100
  * Accepts a `list-style` value or a responsive array of `list-style` values.
5318
5101
  */
5319
- $listStyle?: ResponsiveValues<CSSProperties["listStyle"]>;
5102
+ $listStyle?: ResponsiveValues<CSSProperties$1["listStyle"]>;
5320
5103
  };
5321
5104
 
5322
5105
  type OakLIProps = OakFlexProps & TypographyStyleProps & ListStyleProps & DisplayStyleProps;
@@ -5329,9 +5112,9 @@ type OakLIProps = OakFlexProps & TypographyStyleProps & ListStyleProps & Display
5329
5112
  *
5330
5113
  **/
5331
5114
  declare const oakLIDefaults: {
5332
- $display: "revert";
5115
+ $display: string;
5333
5116
  };
5334
- declare const OakLI: styled_components.StyledComponent<"li", styled_components.DefaultTheme, OakLIProps, never>;
5117
+ declare const OakLI: any;
5335
5118
 
5336
5119
  type OakOLProps = MarginStyleProps & ColorStyleProps & TypographyStyleProps;
5337
5120
  /**
@@ -5342,7 +5125,7 @@ type OakOLProps = MarginStyleProps & ColorStyleProps & TypographyStyleProps;
5342
5125
  * Use where we have an ordered list to ensure numbers are styled
5343
5126
  *
5344
5127
  * */
5345
- declare const OakOL: styled_components.StyledComponent<"ol", styled_components.DefaultTheme, OakOLProps, never>;
5128
+ declare const OakOL: any;
5346
5129
 
5347
5130
  type OakPProps = MarginStyleProps & TypographyStyleProps & ColorStyleProps;
5348
5131
  /**
@@ -5352,7 +5135,7 @@ type OakPProps = MarginStyleProps & TypographyStyleProps & ColorStyleProps;
5352
5135
  * However, if you want different styles for a particular paragraph,
5353
5136
  * you can use this component to apply additional styles.
5354
5137
  */
5355
- declare const OakP: styled_components.StyledComponent<"p", styled_components.DefaultTheme, OakPProps, never>;
5138
+ declare const OakP: any;
5356
5139
 
5357
5140
  type OakTypographyProps = OakBoxProps & TypographyStyleProps;
5358
5141
  /**
@@ -5362,11 +5145,7 @@ type OakTypographyProps = OakBoxProps & TypographyStyleProps;
5362
5145
  * This should be the primary component to set a typography context.
5363
5146
  * Use this component whenever you want to style blocks of 'body' text.
5364
5147
  */
5365
- declare const OakTypography: styled_components.StyledComponent<"div", styled_components.DefaultTheme, {
5366
- children?: React.ReactNode;
5367
- } & PositionStyleProps & SizeStyleProps & PaddingStyleProps & MarginStyleProps & ColorStyleProps & BorderStyleProps & DisplayStyleProps & DropShadowStyleProps & OpacityStyleProps & TransformStyleProps & TransitionStyleProps & TypographyStyleProps & ZIndexStyleProps & {
5368
- onClick?: React$1.MouseEventHandler;
5369
- } & ScrollSnapStyleProps, never>;
5148
+ declare const OakTypography: any;
5370
5149
 
5371
5150
  type OakULProps = OakBoxProps & OakFlexProps & {
5372
5151
  $reset?: boolean;
@@ -5379,7 +5158,7 @@ type OakULProps = OakBoxProps & OakFlexProps & {
5379
5158
  * Resets browser spacing and other styles, accepts BoxProps' style props.
5380
5159
  *
5381
5160
  * */
5382
- declare const OakUL: styled_components.StyledComponent<"ul", styled_components.DefaultTheme, OakULProps, never>;
5161
+ declare const OakUL: any;
5383
5162
 
5384
5163
  type UnstyledChevronAccordionCommonProps = {
5385
5164
  /** The header of the accordion. */
@@ -5417,7 +5196,7 @@ type UnstyledChevronAccordionProps = UnstyledChevronAccordionCommonProps & (Unst
5417
5196
  * - Can be used as an uncontrolled component (via `isInitiallyOpen`) or as a
5418
5197
  * controlled component (via `isOpen` + `onOpenChange`).
5419
5198
  */
5420
- declare const UnstyledChevronAccordion: (props: UnstyledChevronAccordionProps) => React__default.JSX.Element;
5199
+ declare const UnstyledChevronAccordion: (props: UnstyledChevronAccordionProps) => React$1.JSX.Element;
5421
5200
 
5422
5201
  /**
5423
5202
  *
@@ -5428,14 +5207,14 @@ declare const OakGlobalStyle: styled_components.GlobalStyleComponent<{}, styled_
5428
5207
 
5429
5208
  type OakThemeProviderProps = {
5430
5209
  theme: OakTheme;
5431
- children: React__default.ReactNode;
5210
+ children: React$1.ReactNode;
5432
5211
  };
5433
5212
  /**
5434
5213
  *
5435
5214
  * OakThemeProvider wraps Styled Components ThemeProvider allowing the use of the custom type OakTheme.
5436
5215
  *
5437
5216
  */
5438
- declare const OakThemeProvider: ({ theme, children, }: OakThemeProviderProps) => React__default.JSX.Element;
5217
+ declare const OakThemeProvider: ({ theme, children, }: OakThemeProviderProps) => React$1.JSX.Element;
5439
5218
 
5440
5219
  /**
5441
5220
  * Installs a mock of IntersectionObserver when it is not present in the environment
@@ -5459,7 +5238,7 @@ declare const useMounted: () => boolean;
5459
5238
 
5460
5239
  declare const useIsScrolled: () => {
5461
5240
  isScrolled: boolean;
5462
- ObserveScroll: ({ children }: PropsWithChildren) => React__default.JSX.Element;
5241
+ ObserveScroll: ({ children }: PropsWithChildren) => React$1.JSX.Element;
5463
5242
  };
5464
5243
 
5465
5244
  declare const useBreakpoint: () => Device;