@codecademy/gamut 68.0.1-alpha.bd18ee.0 → 68.0.1-alpha.c6600b.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.
@@ -13,19 +13,11 @@ declare const CardBody: import("@emotion/styled").StyledComponent<{
13
13
  readonly scale: "spacing";
14
14
  }>;
15
15
  height?: import("@codecademy/variance/dist/types/config").Scale<{
16
- readonly property: {
17
- readonly physical: "height";
18
- readonly logical: "blockSize";
19
- };
20
- readonly resolveProperty: (useLogicalProperties: boolean) => import("@codecademy/variance/dist/types/properties").PropertyMode;
16
+ readonly property: "height";
21
17
  readonly transform: (value: string | number) => string | 0;
22
18
  }>;
23
19
  width?: import("@codecademy/variance/dist/types/config").Scale<{
24
- readonly property: {
25
- readonly physical: "width";
26
- readonly logical: "inlineSize";
27
- };
28
- readonly resolveProperty: (useLogicalProperties: boolean) => import("@codecademy/variance/dist/types/properties").PropertyMode;
20
+ readonly property: "width";
29
21
  readonly transform: (value: string | number) => string | 0;
30
22
  }>;
31
23
  alignSelf?: import("@codecademy/variance/dist/types/config").Scale<{
@@ -34,9 +26,6 @@ declare const CardBody: import("@emotion/styled").StyledComponent<{
34
26
  containerType?: import("@codecademy/variance/dist/types/config").Scale<{
35
27
  readonly property: "containerType";
36
28
  }>;
37
- direction?: import("@codecademy/variance/dist/types/config").Scale<{
38
- readonly property: "direction";
39
- }>;
40
29
  display?: import("@codecademy/variance/dist/types/config").Scale<{
41
30
  readonly property: "display";
42
31
  }>;
@@ -65,35 +54,19 @@ declare const CardBody: import("@emotion/styled").StyledComponent<{
65
54
  readonly property: "justifySelf";
66
55
  }>;
67
56
  maxHeight?: import("@codecademy/variance/dist/types/config").Scale<{
68
- readonly property: {
69
- readonly physical: "maxHeight";
70
- readonly logical: "maxBlockSize";
71
- };
72
- readonly resolveProperty: (useLogicalProperties: boolean) => import("@codecademy/variance/dist/types/properties").PropertyMode;
57
+ readonly property: "maxHeight";
73
58
  readonly transform: (value: string | number) => string | 0;
74
59
  }>;
75
60
  maxWidth?: import("@codecademy/variance/dist/types/config").Scale<{
76
- readonly property: {
77
- readonly physical: "maxWidth";
78
- readonly logical: "maxInlineSize";
79
- };
80
- readonly resolveProperty: (useLogicalProperties: boolean) => import("@codecademy/variance/dist/types/properties").PropertyMode;
61
+ readonly property: "maxWidth";
81
62
  readonly transform: (value: string | number) => string | 0;
82
63
  }>;
83
64
  minHeight?: import("@codecademy/variance/dist/types/config").Scale<{
84
- readonly property: {
85
- readonly physical: "minHeight";
86
- readonly logical: "minBlockSize";
87
- };
88
- readonly resolveProperty: (useLogicalProperties: boolean) => import("@codecademy/variance/dist/types/properties").PropertyMode;
65
+ readonly property: "minHeight";
89
66
  readonly transform: (value: string | number) => string | 0;
90
67
  }>;
91
68
  minWidth?: import("@codecademy/variance/dist/types/config").Scale<{
92
- readonly property: {
93
- readonly physical: "minWidth";
94
- readonly logical: "minInlineSize";
95
- };
96
- readonly resolveProperty: (useLogicalProperties: boolean) => import("@codecademy/variance/dist/types/properties").PropertyMode;
69
+ readonly property: "minWidth";
97
70
  readonly transform: (value: string | number) => string | 0;
98
71
  }>;
99
72
  order?: import("@codecademy/variance/dist/types/config").Scale<{
@@ -64,59 +64,32 @@ declare const columnProps: import("@codecademy/variance/dist/types/config").Pars
64
64
  readonly transform: (value: string | number) => string | 0;
65
65
  };
66
66
  readonly width: {
67
- readonly property: {
68
- readonly physical: "width";
69
- readonly logical: "inlineSize";
70
- };
71
- readonly resolveProperty: (useLogicalProperties: boolean) => import("@codecademy/variance/dist/types/properties").PropertyMode;
67
+ readonly property: "width";
72
68
  readonly transform: (value: string | number) => string | 0;
73
69
  };
74
70
  readonly minWidth: {
75
- readonly property: {
76
- readonly physical: "minWidth";
77
- readonly logical: "minInlineSize";
78
- };
79
- readonly resolveProperty: (useLogicalProperties: boolean) => import("@codecademy/variance/dist/types/properties").PropertyMode;
71
+ readonly property: "minWidth";
80
72
  readonly transform: (value: string | number) => string | 0;
81
73
  };
82
74
  readonly maxWidth: {
83
- readonly property: {
84
- readonly physical: "maxWidth";
85
- readonly logical: "maxInlineSize";
86
- };
87
- readonly resolveProperty: (useLogicalProperties: boolean) => import("@codecademy/variance/dist/types/properties").PropertyMode;
75
+ readonly property: "maxWidth";
88
76
  readonly transform: (value: string | number) => string | 0;
89
77
  };
90
78
  readonly height: {
91
- readonly property: {
92
- readonly physical: "height";
93
- readonly logical: "blockSize";
94
- };
95
- readonly resolveProperty: (useLogicalProperties: boolean) => import("@codecademy/variance/dist/types/properties").PropertyMode;
79
+ readonly property: "height";
96
80
  readonly transform: (value: string | number) => string | 0;
97
81
  };
98
82
  readonly minHeight: {
99
- readonly property: {
100
- readonly physical: "minHeight";
101
- readonly logical: "minBlockSize";
102
- };
103
- readonly resolveProperty: (useLogicalProperties: boolean) => import("@codecademy/variance/dist/types/properties").PropertyMode;
83
+ readonly property: "minHeight";
104
84
  readonly transform: (value: string | number) => string | 0;
105
85
  };
106
86
  readonly maxHeight: {
107
- readonly property: {
108
- readonly physical: "maxHeight";
109
- readonly logical: "maxBlockSize";
110
- };
111
- readonly resolveProperty: (useLogicalProperties: boolean) => import("@codecademy/variance/dist/types/properties").PropertyMode;
87
+ readonly property: "maxHeight";
112
88
  readonly transform: (value: string | number) => string | 0;
113
89
  };
114
90
  readonly verticalAlign: {
115
91
  readonly property: "verticalAlign";
116
92
  };
117
- readonly direction: {
118
- readonly property: "direction";
119
- };
120
93
  }>>, import("@codecademy/variance/dist/types/config").Parser<import("@codecademy/variance/dist/types/config").TransformerMap<{
121
94
  readonly p: {
122
95
  readonly property: "padding";
@@ -286,59 +286,32 @@ declare const space: import("@codecademy/variance/dist/types/config").Parser<imp
286
286
  readonly transform: (value: string | number) => string | 0;
287
287
  };
288
288
  readonly width: {
289
- readonly property: {
290
- readonly physical: "width";
291
- readonly logical: "inlineSize";
292
- };
293
- readonly resolveProperty: (useLogicalProperties: boolean) => import("@codecademy/variance/dist/types/properties").PropertyMode;
289
+ readonly property: "width";
294
290
  readonly transform: (value: string | number) => string | 0;
295
291
  };
296
292
  readonly minWidth: {
297
- readonly property: {
298
- readonly physical: "minWidth";
299
- readonly logical: "minInlineSize";
300
- };
301
- readonly resolveProperty: (useLogicalProperties: boolean) => import("@codecademy/variance/dist/types/properties").PropertyMode;
293
+ readonly property: "minWidth";
302
294
  readonly transform: (value: string | number) => string | 0;
303
295
  };
304
296
  readonly maxWidth: {
305
- readonly property: {
306
- readonly physical: "maxWidth";
307
- readonly logical: "maxInlineSize";
308
- };
309
- readonly resolveProperty: (useLogicalProperties: boolean) => import("@codecademy/variance/dist/types/properties").PropertyMode;
297
+ readonly property: "maxWidth";
310
298
  readonly transform: (value: string | number) => string | 0;
311
299
  };
312
300
  readonly height: {
313
- readonly property: {
314
- readonly physical: "height";
315
- readonly logical: "blockSize";
316
- };
317
- readonly resolveProperty: (useLogicalProperties: boolean) => import("@codecademy/variance/dist/types/properties").PropertyMode;
301
+ readonly property: "height";
318
302
  readonly transform: (value: string | number) => string | 0;
319
303
  };
320
304
  readonly minHeight: {
321
- readonly property: {
322
- readonly physical: "minHeight";
323
- readonly logical: "minBlockSize";
324
- };
325
- readonly resolveProperty: (useLogicalProperties: boolean) => import("@codecademy/variance/dist/types/properties").PropertyMode;
305
+ readonly property: "minHeight";
326
306
  readonly transform: (value: string | number) => string | 0;
327
307
  };
328
308
  readonly maxHeight: {
329
- readonly property: {
330
- readonly physical: "maxHeight";
331
- readonly logical: "maxBlockSize";
332
- };
333
- readonly resolveProperty: (useLogicalProperties: boolean) => import("@codecademy/variance/dist/types/properties").PropertyMode;
309
+ readonly property: "maxHeight";
334
310
  readonly transform: (value: string | number) => string | 0;
335
311
  };
336
312
  readonly verticalAlign: {
337
313
  readonly property: "verticalAlign";
338
314
  };
339
- readonly direction: {
340
- readonly property: "direction";
341
- };
342
315
  }>>;
343
316
  declare const listVariants: (props: import("@codecademy/variance/dist/types/config").VariantProps<"variant", false | "table" | "default" | "block" | "plain" | "card"> & {
344
317
  theme?: import("@emotion/react").Theme | undefined;
@@ -446,19 +419,11 @@ export declare const AnimatedListWrapper: import("@emotion/styled").StyledCompon
446
419
  dir?: string | undefined;
447
420
  className?: string | undefined;
448
421
  height?: import("@codecademy/variance/dist/types/config").Scale<{
449
- readonly property: {
450
- readonly physical: "height";
451
- readonly logical: "blockSize";
452
- };
453
- readonly resolveProperty: (useLogicalProperties: boolean) => import("@codecademy/variance/dist/types/properties").PropertyMode;
422
+ readonly property: "height";
454
423
  readonly transform: (value: string | number) => string | 0;
455
424
  }>;
456
425
  width?: import("@codecademy/variance/dist/types/config").Scale<{
457
- readonly property: {
458
- readonly physical: "width";
459
- readonly logical: "inlineSize";
460
- };
461
- readonly resolveProperty: (useLogicalProperties: boolean) => import("@codecademy/variance/dist/types/properties").PropertyMode;
426
+ readonly property: "width";
462
427
  readonly transform: (value: string | number) => string | 0;
463
428
  }>;
464
429
  "aria-hidden"?: (boolean | "false" | "true") | undefined;
@@ -743,9 +708,6 @@ export declare const AnimatedListWrapper: import("@emotion/styled").StyledCompon
743
708
  containerType?: import("@codecademy/variance/dist/types/config").Scale<{
744
709
  readonly property: "containerType";
745
710
  }>;
746
- direction?: import("@codecademy/variance/dist/types/config").Scale<{
747
- readonly property: "direction";
748
- }>;
749
711
  display?: import("@codecademy/variance/dist/types/config").Scale<{
750
712
  readonly property: "display";
751
713
  }>;
@@ -803,35 +765,19 @@ export declare const AnimatedListWrapper: import("@emotion/styled").StyledCompon
803
765
  readonly property: "listStyleType";
804
766
  }>;
805
767
  maxHeight?: import("@codecademy/variance/dist/types/config").Scale<{
806
- readonly property: {
807
- readonly physical: "maxHeight";
808
- readonly logical: "maxBlockSize";
809
- };
810
- readonly resolveProperty: (useLogicalProperties: boolean) => import("@codecademy/variance/dist/types/properties").PropertyMode;
768
+ readonly property: "maxHeight";
811
769
  readonly transform: (value: string | number) => string | 0;
812
770
  }>;
813
771
  maxWidth?: import("@codecademy/variance/dist/types/config").Scale<{
814
- readonly property: {
815
- readonly physical: "maxWidth";
816
- readonly logical: "maxInlineSize";
817
- };
818
- readonly resolveProperty: (useLogicalProperties: boolean) => import("@codecademy/variance/dist/types/properties").PropertyMode;
772
+ readonly property: "maxWidth";
819
773
  readonly transform: (value: string | number) => string | 0;
820
774
  }>;
821
775
  minHeight?: import("@codecademy/variance/dist/types/config").Scale<{
822
- readonly property: {
823
- readonly physical: "minHeight";
824
- readonly logical: "minBlockSize";
825
- };
826
- readonly resolveProperty: (useLogicalProperties: boolean) => import("@codecademy/variance/dist/types/properties").PropertyMode;
776
+ readonly property: "minHeight";
827
777
  readonly transform: (value: string | number) => string | 0;
828
778
  }>;
829
779
  minWidth?: import("@codecademy/variance/dist/types/config").Scale<{
830
- readonly property: {
831
- readonly physical: "minWidth";
832
- readonly logical: "minInlineSize";
833
- };
834
- readonly resolveProperty: (useLogicalProperties: boolean) => import("@codecademy/variance/dist/types/properties").PropertyMode;
780
+ readonly property: "minWidth";
835
781
  readonly transform: (value: string | number) => string | 0;
836
782
  }>;
837
783
  opacity?: import("@codecademy/variance/dist/types/config").Scale<{
@@ -65,59 +65,32 @@ declare const listProps: import("@codecademy/variance/dist/types/config").Parser
65
65
  readonly transform: (value: string | number) => string | 0;
66
66
  };
67
67
  readonly width: {
68
- readonly property: {
69
- readonly physical: "width";
70
- readonly logical: "inlineSize";
71
- };
72
- readonly resolveProperty: (useLogicalProperties: boolean) => import("@codecademy/variance/dist/types/properties").PropertyMode;
68
+ readonly property: "width";
73
69
  readonly transform: (value: string | number) => string | 0;
74
70
  };
75
71
  readonly minWidth: {
76
- readonly property: {
77
- readonly physical: "minWidth";
78
- readonly logical: "minInlineSize";
79
- };
80
- readonly resolveProperty: (useLogicalProperties: boolean) => import("@codecademy/variance/dist/types/properties").PropertyMode;
72
+ readonly property: "minWidth";
81
73
  readonly transform: (value: string | number) => string | 0;
82
74
  };
83
75
  readonly maxWidth: {
84
- readonly property: {
85
- readonly physical: "maxWidth";
86
- readonly logical: "maxInlineSize";
87
- };
88
- readonly resolveProperty: (useLogicalProperties: boolean) => import("@codecademy/variance/dist/types/properties").PropertyMode;
76
+ readonly property: "maxWidth";
89
77
  readonly transform: (value: string | number) => string | 0;
90
78
  };
91
79
  readonly height: {
92
- readonly property: {
93
- readonly physical: "height";
94
- readonly logical: "blockSize";
95
- };
96
- readonly resolveProperty: (useLogicalProperties: boolean) => import("@codecademy/variance/dist/types/properties").PropertyMode;
80
+ readonly property: "height";
97
81
  readonly transform: (value: string | number) => string | 0;
98
82
  };
99
83
  readonly minHeight: {
100
- readonly property: {
101
- readonly physical: "minHeight";
102
- readonly logical: "minBlockSize";
103
- };
104
- readonly resolveProperty: (useLogicalProperties: boolean) => import("@codecademy/variance/dist/types/properties").PropertyMode;
84
+ readonly property: "minHeight";
105
85
  readonly transform: (value: string | number) => string | 0;
106
86
  };
107
87
  readonly maxHeight: {
108
- readonly property: {
109
- readonly physical: "maxHeight";
110
- readonly logical: "maxBlockSize";
111
- };
112
- readonly resolveProperty: (useLogicalProperties: boolean) => import("@codecademy/variance/dist/types/properties").PropertyMode;
88
+ readonly property: "maxHeight";
113
89
  readonly transform: (value: string | number) => string | 0;
114
90
  };
115
91
  readonly verticalAlign: {
116
92
  readonly property: "verticalAlign";
117
93
  };
118
- readonly direction: {
119
- readonly property: "direction";
120
- };
121
94
  }>>, import("@codecademy/variance/dist/types/config").Parser<import("@codecademy/variance/dist/types/config").TransformerMap<{
122
95
  readonly fontFamily: {
123
96
  readonly property: "fontFamily";
@@ -19,19 +19,11 @@ export declare const AnimatedFadeButton: (props: {
19
19
  dir?: string | undefined;
20
20
  className?: string | undefined;
21
21
  height?: import("@codecademy/variance/dist/types/config").Scale<{
22
- readonly property: {
23
- readonly physical: "height";
24
- readonly logical: "blockSize";
25
- };
26
- readonly resolveProperty: (useLogicalProperties: boolean) => import("@codecademy/variance/dist/types/properties").PropertyMode;
22
+ readonly property: "height";
27
23
  readonly transform: (value: string | number) => string | 0;
28
24
  }>;
29
25
  width?: import("@codecademy/variance/dist/types/config").Scale<{
30
- readonly property: {
31
- readonly physical: "width";
32
- readonly logical: "inlineSize";
33
- };
34
- readonly resolveProperty: (useLogicalProperties: boolean) => import("@codecademy/variance/dist/types/properties").PropertyMode;
26
+ readonly property: "width";
35
27
  readonly transform: (value: string | number) => string | 0;
36
28
  }>;
37
29
  "aria-hidden"?: (boolean | "false" | "true") | undefined;
@@ -300,9 +292,6 @@ export declare const AnimatedFadeButton: (props: {
300
292
  containerType?: import("@codecademy/variance/dist/types/config").Scale<{
301
293
  readonly property: "containerType";
302
294
  }>;
303
- direction?: import("@codecademy/variance/dist/types/config").Scale<{
304
- readonly property: "direction";
305
- }>;
306
295
  display?: import("@codecademy/variance/dist/types/config").Scale<{
307
296
  readonly property: "display";
308
297
  }>;
@@ -335,35 +324,19 @@ export declare const AnimatedFadeButton: (props: {
335
324
  readonly transform: (value: string | number) => string | 0;
336
325
  }>;
337
326
  maxHeight?: import("@codecademy/variance/dist/types/config").Scale<{
338
- readonly property: {
339
- readonly physical: "maxHeight";
340
- readonly logical: "maxBlockSize";
341
- };
342
- readonly resolveProperty: (useLogicalProperties: boolean) => import("@codecademy/variance/dist/types/properties").PropertyMode;
327
+ readonly property: "maxHeight";
343
328
  readonly transform: (value: string | number) => string | 0;
344
329
  }>;
345
330
  maxWidth?: import("@codecademy/variance/dist/types/config").Scale<{
346
- readonly property: {
347
- readonly physical: "maxWidth";
348
- readonly logical: "maxInlineSize";
349
- };
350
- readonly resolveProperty: (useLogicalProperties: boolean) => import("@codecademy/variance/dist/types/properties").PropertyMode;
331
+ readonly property: "maxWidth";
351
332
  readonly transform: (value: string | number) => string | 0;
352
333
  }>;
353
334
  minHeight?: import("@codecademy/variance/dist/types/config").Scale<{
354
- readonly property: {
355
- readonly physical: "minHeight";
356
- readonly logical: "minBlockSize";
357
- };
358
- readonly resolveProperty: (useLogicalProperties: boolean) => import("@codecademy/variance/dist/types/properties").PropertyMode;
335
+ readonly property: "minHeight";
359
336
  readonly transform: (value: string | number) => string | 0;
360
337
  }>;
361
338
  minWidth?: import("@codecademy/variance/dist/types/config").Scale<{
362
- readonly property: {
363
- readonly physical: "minWidth";
364
- readonly logical: "minInlineSize";
365
- };
366
- readonly resolveProperty: (useLogicalProperties: boolean) => import("@codecademy/variance/dist/types/properties").PropertyMode;
339
+ readonly property: "minWidth";
367
340
  readonly transform: (value: string | number) => string | 0;
368
341
  }>;
369
342
  opacity?: import("@codecademy/variance/dist/types/config").Scale<{
@@ -665,7 +638,7 @@ export declare const AnimatedSlideButton: (props: (Omit<Omit<{
665
638
  href?: string | undefined;
666
639
  } & {
667
640
  'aria-label': string;
668
- buttonDirection: "back" | "forward";
641
+ direction: "back" | "forward";
669
642
  }, "ref"> | Omit<Omit<{
670
643
  theme?: import("@emotion/react").Theme | undefined;
671
644
  as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
@@ -681,5 +654,5 @@ export declare const AnimatedSlideButton: (props: (Omit<Omit<{
681
654
  href?: string | undefined;
682
655
  } & {
683
656
  'aria-label': string;
684
- buttonDirection: "back" | "forward";
657
+ direction: "back" | "forward";
685
658
  }, "ref">) & import("react").RefAttributes<import("..").ButtonBaseElements>) => import("react/jsx-runtime").JSX.Element;
@@ -3,7 +3,7 @@ import { ButtonBaseElements } from '../ButtonBase/ButtonBase';
3
3
  import { PaginationButtonProps } from './PaginationButton';
4
4
  export type EllipsisButtonProps = PaginationButtonProps & {
5
5
  'aria-label': string;
6
- buttonDirection: 'back' | 'forward';
6
+ direction: 'back' | 'forward';
7
7
  };
8
8
  export declare const BaseEllipsisButton: import("react").ForwardRefExoticComponent<(Omit<Omit<{
9
9
  theme?: import("@emotion/react").Theme | undefined;
@@ -20,7 +20,7 @@ export declare const BaseEllipsisButton: import("react").ForwardRefExoticCompone
20
20
  href?: string | undefined;
21
21
  } & {
22
22
  'aria-label': string;
23
- buttonDirection: 'back' | 'forward';
23
+ direction: 'back' | 'forward';
24
24
  }, "ref"> | Omit<Omit<{
25
25
  theme?: import("@emotion/react").Theme | undefined;
26
26
  as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
@@ -36,7 +36,7 @@ export declare const BaseEllipsisButton: import("react").ForwardRefExoticCompone
36
36
  href?: string | undefined;
37
37
  } & {
38
38
  'aria-label': string;
39
- buttonDirection: 'back' | 'forward';
39
+ direction: 'back' | 'forward';
40
40
  }, "ref">) & import("react").RefAttributes<ButtonBaseElements>>;
41
41
  export declare const EllipsisButton: (props: (Omit<Omit<{
42
42
  theme?: import("@emotion/react").Theme | undefined;
@@ -53,7 +53,7 @@ export declare const EllipsisButton: (props: (Omit<Omit<{
53
53
  href?: string | undefined;
54
54
  } & {
55
55
  'aria-label': string;
56
- buttonDirection: 'back' | 'forward';
56
+ direction: 'back' | 'forward';
57
57
  }, "ref"> | Omit<Omit<{
58
58
  theme?: import("@emotion/react").Theme | undefined;
59
59
  as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
@@ -69,5 +69,5 @@ export declare const EllipsisButton: (props: (Omit<Omit<{
69
69
  href?: string | undefined;
70
70
  } & {
71
71
  'aria-label': string;
72
- buttonDirection: 'back' | 'forward';
72
+ direction: 'back' | 'forward';
73
73
  }, "ref">) & import("react").RefAttributes<ButtonBaseElements>) => import("react/jsx-runtime").JSX.Element;
@@ -8,14 +8,14 @@ const ellipsisButtonContents = {
8
8
  forward: '»'
9
9
  };
10
10
  export const BaseEllipsisButton = /*#__PURE__*/forwardRef(({
11
- buttonDirection,
11
+ direction,
12
12
  showButton,
13
13
  ...props
14
14
  }, ref) => {
15
15
  const [contents, setContents] = useState(ellipsisButtonContents.ellipsis);
16
16
  return /*#__PURE__*/_jsx(PaginationButton, {
17
17
  ellipsis: true,
18
- onMouseEnter: () => setContents(ellipsisButtonContents[buttonDirection]),
18
+ onMouseEnter: () => setContents(ellipsisButtonContents[direction]),
19
19
  onMouseLeave: () => setContents(ellipsisButtonContents.ellipsis),
20
20
  ...props,
21
21
  ref: ref,
@@ -80,8 +80,8 @@ export const Pagination = ({
80
80
  }), showSkipToButtons && /*#__PURE__*/_jsxs(_Fragment, {
81
81
  children: [/*#__PURE__*/_jsx(AnimatedSlideButton, {
82
82
  "aria-label": "Jump back to page 1",
83
- buttonDirection: "back",
84
83
  buttonType: variant,
84
+ direction: "back",
85
85
  display: hideOnMobile,
86
86
  href: navigation,
87
87
  showButton: shownPageArray[0] === 1 ? 'hidden' : 'shown',
@@ -89,8 +89,8 @@ export const Pagination = ({
89
89
  children: "1"
90
90
  }), /*#__PURE__*/_jsx(EllipsisButton, {
91
91
  "aria-label": `Jump back to page ${backPageNumber}`,
92
- buttonDirection: "back",
93
92
  buttonType: variant,
93
+ direction: "back",
94
94
  display: hideOnMobile,
95
95
  href: navigation,
96
96
  showButton: shownPageArray[0] === 1 ? 'hidden' : 'shown',
@@ -107,8 +107,8 @@ export const Pagination = ({
107
107
  }, page)), showSkipToButtons && /*#__PURE__*/_jsxs(_Fragment, {
108
108
  children: [/*#__PURE__*/_jsx(EllipsisButton, {
109
109
  "aria-label": `Jump forward to page ${forwardPageNumber}`,
110
- buttonDirection: "forward",
111
110
  buttonType: variant,
111
+ direction: "forward",
112
112
  display: hideOnMobile,
113
113
  href: navigation,
114
114
  showButton: shownPageArray[chapterSize - 1] === totalPages ? 'hidden' : 'shown',
@@ -117,8 +117,8 @@ export const Pagination = ({
117
117
  }
118
118
  }), /*#__PURE__*/_jsx(AnimatedSlideButton, {
119
119
  "aria-label": `Jump forward to last page, page ${totalPages}`,
120
- buttonDirection: "forward",
121
120
  buttonType: variant,
121
+ direction: "forward",
122
122
  display: hideOnMobile,
123
123
  href: navigation,
124
124
  showButton: shownPageArray[chapterSize - 1] === totalPages ? 'hidden' : 'shown',
@@ -31,19 +31,11 @@ export declare const createAnimatedFadeButton: (WrappedComponent: typeof Paginat
31
31
  dir?: string | undefined;
32
32
  className?: string | undefined;
33
33
  height?: import("@codecademy/variance/dist/types/config").Scale<{
34
- readonly property: {
35
- readonly physical: "height";
36
- readonly logical: "blockSize";
37
- };
38
- readonly resolveProperty: (useLogicalProperties: boolean) => import("@codecademy/variance/dist/types/properties").PropertyMode;
34
+ readonly property: "height";
39
35
  readonly transform: (value: string | number) => string | 0;
40
36
  }>;
41
37
  width?: import("@codecademy/variance/dist/types/config").Scale<{
42
- readonly property: {
43
- readonly physical: "width";
44
- readonly logical: "inlineSize";
45
- };
46
- readonly resolveProperty: (useLogicalProperties: boolean) => import("@codecademy/variance/dist/types/properties").PropertyMode;
38
+ readonly property: "width";
47
39
  readonly transform: (value: string | number) => string | 0;
48
40
  }>;
49
41
  "aria-hidden"?: (boolean | "false" | "true") | undefined;
@@ -312,9 +304,6 @@ export declare const createAnimatedFadeButton: (WrappedComponent: typeof Paginat
312
304
  containerType?: import("@codecademy/variance/dist/types/config").Scale<{
313
305
  readonly property: "containerType";
314
306
  }>;
315
- direction?: import("@codecademy/variance/dist/types/config").Scale<{
316
- readonly property: "direction";
317
- }>;
318
307
  display?: import("@codecademy/variance/dist/types/config").Scale<{
319
308
  readonly property: "display";
320
309
  }>;
@@ -347,35 +336,19 @@ export declare const createAnimatedFadeButton: (WrappedComponent: typeof Paginat
347
336
  readonly transform: (value: string | number) => string | 0;
348
337
  }>;
349
338
  maxHeight?: import("@codecademy/variance/dist/types/config").Scale<{
350
- readonly property: {
351
- readonly physical: "maxHeight";
352
- readonly logical: "maxBlockSize";
353
- };
354
- readonly resolveProperty: (useLogicalProperties: boolean) => import("@codecademy/variance/dist/types/properties").PropertyMode;
339
+ readonly property: "maxHeight";
355
340
  readonly transform: (value: string | number) => string | 0;
356
341
  }>;
357
342
  maxWidth?: import("@codecademy/variance/dist/types/config").Scale<{
358
- readonly property: {
359
- readonly physical: "maxWidth";
360
- readonly logical: "maxInlineSize";
361
- };
362
- readonly resolveProperty: (useLogicalProperties: boolean) => import("@codecademy/variance/dist/types/properties").PropertyMode;
343
+ readonly property: "maxWidth";
363
344
  readonly transform: (value: string | number) => string | 0;
364
345
  }>;
365
346
  minHeight?: import("@codecademy/variance/dist/types/config").Scale<{
366
- readonly property: {
367
- readonly physical: "minHeight";
368
- readonly logical: "minBlockSize";
369
- };
370
- readonly resolveProperty: (useLogicalProperties: boolean) => import("@codecademy/variance/dist/types/properties").PropertyMode;
347
+ readonly property: "minHeight";
371
348
  readonly transform: (value: string | number) => string | 0;
372
349
  }>;
373
350
  minWidth?: import("@codecademy/variance/dist/types/config").Scale<{
374
- readonly property: {
375
- readonly physical: "minWidth";
376
- readonly logical: "minInlineSize";
377
- };
378
- readonly resolveProperty: (useLogicalProperties: boolean) => import("@codecademy/variance/dist/types/properties").PropertyMode;
351
+ readonly property: "minWidth";
379
352
  readonly transform: (value: string | number) => string | 0;
380
353
  }>;
381
354
  opacity?: import("@codecademy/variance/dist/types/config").Scale<{
@@ -47,7 +47,7 @@ export const wrapWithSlideAnimation = WrappedComponent => {
47
47
  children: props.showButton === 'shown' && /*#__PURE__*/_jsx(motion.div, {
48
48
  animate: props.showButton,
49
49
  exit: "hidden",
50
- initial: props.buttonDirection === 'forward' && isFirstRender.current ? 'shown' : 'hidden',
50
+ initial: props.direction === 'forward' && isFirstRender.current ? 'shown' : 'hidden',
51
51
  transition: {
52
52
  duration: 0.3
53
53
  },