@codecademy/gamut 68.0.1-alpha.e68684.0 → 68.0.1-alpha.e71051.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.
@@ -65,32 +65,59 @@ 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: "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;
69
73
  readonly transform: (value: string | number) => string | 0;
70
74
  };
71
75
  readonly minWidth: {
72
- readonly property: "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;
73
81
  readonly transform: (value: string | number) => string | 0;
74
82
  };
75
83
  readonly maxWidth: {
76
- readonly property: "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;
77
89
  readonly transform: (value: string | number) => string | 0;
78
90
  };
79
91
  readonly height: {
80
- readonly property: "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;
81
97
  readonly transform: (value: string | number) => string | 0;
82
98
  };
83
99
  readonly minHeight: {
84
- readonly property: "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;
85
105
  readonly transform: (value: string | number) => string | 0;
86
106
  };
87
107
  readonly maxHeight: {
88
- readonly property: "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;
89
113
  readonly transform: (value: string | number) => string | 0;
90
114
  };
91
115
  readonly verticalAlign: {
92
116
  readonly property: "verticalAlign";
93
117
  };
118
+ readonly direction: {
119
+ readonly property: "direction";
120
+ };
94
121
  }>>, import("@codecademy/variance/dist/types/config").Parser<import("@codecademy/variance/dist/types/config").TransformerMap<{
95
122
  readonly fontFamily: {
96
123
  readonly property: "fontFamily";
@@ -133,29 +160,53 @@ declare const listProps: import("@codecademy/variance/dist/types/config").Parser
133
160
  };
134
161
  readonly px: {
135
162
  readonly property: "padding";
136
- readonly properties: readonly ["paddingLeft", "paddingRight"];
163
+ readonly properties: {
164
+ readonly physical: readonly ["paddingLeft", "paddingRight"];
165
+ readonly logical: readonly ["paddingInlineStart", "paddingInlineEnd"];
166
+ };
137
167
  readonly scale: "spacing";
168
+ readonly resolveProperty: (useLogicalProperties: boolean) => import("@codecademy/variance/dist/types/properties").PropertyMode;
138
169
  };
139
170
  readonly py: {
140
171
  readonly property: "padding";
141
- readonly properties: readonly ["paddingTop", "paddingBottom"];
172
+ readonly properties: {
173
+ readonly physical: readonly ["paddingTop", "paddingBottom"];
174
+ readonly logical: readonly ["paddingBlockStart", "paddingBlockEnd"];
175
+ };
142
176
  readonly scale: "spacing";
177
+ readonly resolveProperty: (useLogicalProperties: boolean) => import("@codecademy/variance/dist/types/properties").PropertyMode;
143
178
  };
144
179
  readonly pt: {
145
- readonly property: "paddingTop";
180
+ readonly property: {
181
+ readonly physical: "paddingTop";
182
+ readonly logical: "paddingBlockStart";
183
+ };
146
184
  readonly scale: "spacing";
185
+ readonly resolveProperty: (useLogicalProperties: boolean) => import("@codecademy/variance/dist/types/properties").PropertyMode;
147
186
  };
148
187
  readonly pb: {
149
- readonly property: "paddingBottom";
188
+ readonly property: {
189
+ readonly physical: "paddingBottom";
190
+ readonly logical: "paddingBlockEnd";
191
+ };
150
192
  readonly scale: "spacing";
193
+ readonly resolveProperty: (useLogicalProperties: boolean) => import("@codecademy/variance/dist/types/properties").PropertyMode;
151
194
  };
152
195
  readonly pr: {
153
- readonly property: "paddingRight";
196
+ readonly property: {
197
+ readonly physical: "paddingRight";
198
+ readonly logical: "paddingInlineEnd";
199
+ };
154
200
  readonly scale: "spacing";
201
+ readonly resolveProperty: (useLogicalProperties: boolean) => import("@codecademy/variance/dist/types/properties").PropertyMode;
155
202
  };
156
203
  readonly pl: {
157
- readonly property: "paddingLeft";
204
+ readonly property: {
205
+ readonly physical: "paddingLeft";
206
+ readonly logical: "paddingInlineStart";
207
+ };
158
208
  readonly scale: "spacing";
209
+ readonly resolveProperty: (useLogicalProperties: boolean) => import("@codecademy/variance/dist/types/properties").PropertyMode;
159
210
  };
160
211
  readonly m: {
161
212
  readonly property: "margin";
@@ -163,29 +214,53 @@ declare const listProps: import("@codecademy/variance/dist/types/config").Parser
163
214
  };
164
215
  readonly mx: {
165
216
  readonly property: "margin";
166
- readonly properties: readonly ["marginLeft", "marginRight"];
217
+ readonly properties: {
218
+ readonly physical: readonly ["marginLeft", "marginRight"];
219
+ readonly logical: readonly ["marginInlineStart", "marginInlineEnd"];
220
+ };
221
+ readonly resolveProperty: (useLogicalProperties: boolean) => import("@codecademy/variance/dist/types/properties").PropertyMode;
167
222
  readonly scale: "spacing";
168
223
  };
169
224
  readonly my: {
170
225
  readonly property: "margin";
171
- readonly properties: readonly ["marginTop", "marginBottom"];
226
+ readonly properties: {
227
+ readonly physical: readonly ["marginTop", "marginBottom"];
228
+ readonly logical: readonly ["marginBlockStart", "marginBlockEnd"];
229
+ };
230
+ readonly resolveProperty: (useLogicalProperties: boolean) => import("@codecademy/variance/dist/types/properties").PropertyMode;
172
231
  readonly scale: "spacing";
173
232
  };
174
233
  readonly mt: {
175
- readonly property: "marginTop";
234
+ readonly property: {
235
+ readonly physical: "marginTop";
236
+ readonly logical: "marginBlockStart";
237
+ };
176
238
  readonly scale: "spacing";
239
+ readonly resolveProperty: (useLogicalProperties: boolean) => import("@codecademy/variance/dist/types/properties").PropertyMode;
177
240
  };
178
241
  readonly mb: {
179
- readonly property: "marginBottom";
242
+ readonly property: {
243
+ readonly physical: "marginBottom";
244
+ readonly logical: "marginBlockEnd";
245
+ };
180
246
  readonly scale: "spacing";
247
+ readonly resolveProperty: (useLogicalProperties: boolean) => import("@codecademy/variance/dist/types/properties").PropertyMode;
181
248
  };
182
249
  readonly mr: {
183
- readonly property: "marginRight";
250
+ readonly property: {
251
+ readonly physical: "marginRight";
252
+ readonly logical: "marginInlineEnd";
253
+ };
184
254
  readonly scale: "spacing";
255
+ readonly resolveProperty: (useLogicalProperties: boolean) => import("@codecademy/variance/dist/types/properties").PropertyMode;
185
256
  };
186
257
  readonly ml: {
187
- readonly property: "marginLeft";
258
+ readonly property: {
259
+ readonly physical: "marginLeft";
260
+ readonly logical: "marginInlineStart";
261
+ };
188
262
  readonly scale: "spacing";
263
+ readonly resolveProperty: (useLogicalProperties: boolean) => import("@codecademy/variance/dist/types/properties").PropertyMode;
189
264
  };
190
265
  }>>, import("@codecademy/variance/dist/types/config").Parser<import("@codecademy/variance/dist/types/config").TransformerMap<{
191
266
  readonly position: {
@@ -19,11 +19,19 @@ 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: "height";
22
+ readonly property: {
23
+ readonly physical: "height";
24
+ readonly logical: "blockSize";
25
+ };
26
+ readonly resolveProperty: (useLogicalProperties: boolean) => import("@codecademy/variance/dist/types/properties").PropertyMode;
23
27
  readonly transform: (value: string | number) => string | 0;
24
28
  }>;
25
29
  width?: import("@codecademy/variance/dist/types/config").Scale<{
26
- readonly property: "width";
30
+ readonly property: {
31
+ readonly physical: "width";
32
+ readonly logical: "inlineSize";
33
+ };
34
+ readonly resolveProperty: (useLogicalProperties: boolean) => import("@codecademy/variance/dist/types/properties").PropertyMode;
27
35
  readonly transform: (value: string | number) => string | 0;
28
36
  }>;
29
37
  "aria-hidden"?: (boolean | "false" | "true") | undefined;
@@ -292,6 +300,9 @@ export declare const AnimatedFadeButton: (props: {
292
300
  containerType?: import("@codecademy/variance/dist/types/config").Scale<{
293
301
  readonly property: "containerType";
294
302
  }>;
303
+ direction?: import("@codecademy/variance/dist/types/config").Scale<{
304
+ readonly property: "direction";
305
+ }>;
295
306
  display?: import("@codecademy/variance/dist/types/config").Scale<{
296
307
  readonly property: "display";
297
308
  }>;
@@ -324,19 +335,35 @@ export declare const AnimatedFadeButton: (props: {
324
335
  readonly transform: (value: string | number) => string | 0;
325
336
  }>;
326
337
  maxHeight?: import("@codecademy/variance/dist/types/config").Scale<{
327
- readonly property: "maxHeight";
338
+ readonly property: {
339
+ readonly physical: "maxHeight";
340
+ readonly logical: "maxBlockSize";
341
+ };
342
+ readonly resolveProperty: (useLogicalProperties: boolean) => import("@codecademy/variance/dist/types/properties").PropertyMode;
328
343
  readonly transform: (value: string | number) => string | 0;
329
344
  }>;
330
345
  maxWidth?: import("@codecademy/variance/dist/types/config").Scale<{
331
- readonly property: "maxWidth";
346
+ readonly property: {
347
+ readonly physical: "maxWidth";
348
+ readonly logical: "maxInlineSize";
349
+ };
350
+ readonly resolveProperty: (useLogicalProperties: boolean) => import("@codecademy/variance/dist/types/properties").PropertyMode;
332
351
  readonly transform: (value: string | number) => string | 0;
333
352
  }>;
334
353
  minHeight?: import("@codecademy/variance/dist/types/config").Scale<{
335
- readonly property: "minHeight";
354
+ readonly property: {
355
+ readonly physical: "minHeight";
356
+ readonly logical: "minBlockSize";
357
+ };
358
+ readonly resolveProperty: (useLogicalProperties: boolean) => import("@codecademy/variance/dist/types/properties").PropertyMode;
336
359
  readonly transform: (value: string | number) => string | 0;
337
360
  }>;
338
361
  minWidth?: import("@codecademy/variance/dist/types/config").Scale<{
339
- readonly property: "minWidth";
362
+ readonly property: {
363
+ readonly physical: "minWidth";
364
+ readonly logical: "minInlineSize";
365
+ };
366
+ readonly resolveProperty: (useLogicalProperties: boolean) => import("@codecademy/variance/dist/types/properties").PropertyMode;
340
367
  readonly transform: (value: string | number) => string | 0;
341
368
  }>;
342
369
  opacity?: import("@codecademy/variance/dist/types/config").Scale<{
@@ -418,29 +445,53 @@ export declare const AnimatedFadeButton: (props: {
418
445
  ellipsis?: boolean | undefined;
419
446
  px?: import("@codecademy/variance/dist/types/config").Scale<{
420
447
  readonly property: "padding";
421
- readonly properties: readonly ["paddingLeft", "paddingRight"];
448
+ readonly properties: {
449
+ readonly physical: readonly ["paddingLeft", "paddingRight"];
450
+ readonly logical: readonly ["paddingInlineStart", "paddingInlineEnd"];
451
+ };
422
452
  readonly scale: "spacing";
453
+ readonly resolveProperty: (useLogicalProperties: boolean) => import("@codecademy/variance/dist/types/properties").PropertyMode;
423
454
  }>;
424
455
  py?: import("@codecademy/variance/dist/types/config").Scale<{
425
456
  readonly property: "padding";
426
- readonly properties: readonly ["paddingTop", "paddingBottom"];
457
+ readonly properties: {
458
+ readonly physical: readonly ["paddingTop", "paddingBottom"];
459
+ readonly logical: readonly ["paddingBlockStart", "paddingBlockEnd"];
460
+ };
427
461
  readonly scale: "spacing";
462
+ readonly resolveProperty: (useLogicalProperties: boolean) => import("@codecademy/variance/dist/types/properties").PropertyMode;
428
463
  }>;
429
464
  pt?: import("@codecademy/variance/dist/types/config").Scale<{
430
- readonly property: "paddingTop";
465
+ readonly property: {
466
+ readonly physical: "paddingTop";
467
+ readonly logical: "paddingBlockStart";
468
+ };
431
469
  readonly scale: "spacing";
470
+ readonly resolveProperty: (useLogicalProperties: boolean) => import("@codecademy/variance/dist/types/properties").PropertyMode;
432
471
  }>;
433
472
  pb?: import("@codecademy/variance/dist/types/config").Scale<{
434
- readonly property: "paddingBottom";
473
+ readonly property: {
474
+ readonly physical: "paddingBottom";
475
+ readonly logical: "paddingBlockEnd";
476
+ };
435
477
  readonly scale: "spacing";
478
+ readonly resolveProperty: (useLogicalProperties: boolean) => import("@codecademy/variance/dist/types/properties").PropertyMode;
436
479
  }>;
437
480
  pr?: import("@codecademy/variance/dist/types/config").Scale<{
438
- readonly property: "paddingRight";
481
+ readonly property: {
482
+ readonly physical: "paddingRight";
483
+ readonly logical: "paddingInlineEnd";
484
+ };
439
485
  readonly scale: "spacing";
486
+ readonly resolveProperty: (useLogicalProperties: boolean) => import("@codecademy/variance/dist/types/properties").PropertyMode;
440
487
  }>;
441
488
  pl?: import("@codecademy/variance/dist/types/config").Scale<{
442
- readonly property: "paddingLeft";
489
+ readonly property: {
490
+ readonly physical: "paddingLeft";
491
+ readonly logical: "paddingInlineStart";
492
+ };
443
493
  readonly scale: "spacing";
494
+ readonly resolveProperty: (useLogicalProperties: boolean) => import("@codecademy/variance/dist/types/properties").PropertyMode;
444
495
  }>;
445
496
  m?: import("@codecademy/variance/dist/types/config").Scale<{
446
497
  readonly property: "margin";
@@ -448,29 +499,53 @@ export declare const AnimatedFadeButton: (props: {
448
499
  }>;
449
500
  mx?: import("@codecademy/variance/dist/types/config").Scale<{
450
501
  readonly property: "margin";
451
- readonly properties: readonly ["marginLeft", "marginRight"];
502
+ readonly properties: {
503
+ readonly physical: readonly ["marginLeft", "marginRight"];
504
+ readonly logical: readonly ["marginInlineStart", "marginInlineEnd"];
505
+ };
506
+ readonly resolveProperty: (useLogicalProperties: boolean) => import("@codecademy/variance/dist/types/properties").PropertyMode;
452
507
  readonly scale: "spacing";
453
508
  }>;
454
509
  my?: import("@codecademy/variance/dist/types/config").Scale<{
455
510
  readonly property: "margin";
456
- readonly properties: readonly ["marginTop", "marginBottom"];
511
+ readonly properties: {
512
+ readonly physical: readonly ["marginTop", "marginBottom"];
513
+ readonly logical: readonly ["marginBlockStart", "marginBlockEnd"];
514
+ };
515
+ readonly resolveProperty: (useLogicalProperties: boolean) => import("@codecademy/variance/dist/types/properties").PropertyMode;
457
516
  readonly scale: "spacing";
458
517
  }>;
459
518
  mt?: import("@codecademy/variance/dist/types/config").Scale<{
460
- readonly property: "marginTop";
519
+ readonly property: {
520
+ readonly physical: "marginTop";
521
+ readonly logical: "marginBlockStart";
522
+ };
461
523
  readonly scale: "spacing";
524
+ readonly resolveProperty: (useLogicalProperties: boolean) => import("@codecademy/variance/dist/types/properties").PropertyMode;
462
525
  }>;
463
526
  mb?: import("@codecademy/variance/dist/types/config").Scale<{
464
- readonly property: "marginBottom";
527
+ readonly property: {
528
+ readonly physical: "marginBottom";
529
+ readonly logical: "marginBlockEnd";
530
+ };
465
531
  readonly scale: "spacing";
532
+ readonly resolveProperty: (useLogicalProperties: boolean) => import("@codecademy/variance/dist/types/properties").PropertyMode;
466
533
  }>;
467
534
  mr?: import("@codecademy/variance/dist/types/config").Scale<{
468
- readonly property: "marginRight";
535
+ readonly property: {
536
+ readonly physical: "marginRight";
537
+ readonly logical: "marginInlineEnd";
538
+ };
469
539
  readonly scale: "spacing";
540
+ readonly resolveProperty: (useLogicalProperties: boolean) => import("@codecademy/variance/dist/types/properties").PropertyMode;
470
541
  }>;
471
542
  ml?: import("@codecademy/variance/dist/types/config").Scale<{
472
- readonly property: "marginLeft";
543
+ readonly property: {
544
+ readonly physical: "marginLeft";
545
+ readonly logical: "marginInlineStart";
546
+ };
473
547
  readonly scale: "spacing";
548
+ readonly resolveProperty: (useLogicalProperties: boolean) => import("@codecademy/variance/dist/types/properties").PropertyMode;
474
549
  }>;
475
550
  borderX?: import("@codecademy/variance/dist/types/config").Scale<{
476
551
  readonly property: "border";
@@ -590,7 +665,7 @@ export declare const AnimatedSlideButton: (props: (Omit<Omit<{
590
665
  href?: string | undefined;
591
666
  } & {
592
667
  'aria-label': string;
593
- direction: "back" | "forward";
668
+ buttonDirection: "back" | "forward";
594
669
  }, "ref"> | Omit<Omit<{
595
670
  theme?: import("@emotion/react").Theme | undefined;
596
671
  as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
@@ -606,5 +681,5 @@ export declare const AnimatedSlideButton: (props: (Omit<Omit<{
606
681
  href?: string | undefined;
607
682
  } & {
608
683
  'aria-label': string;
609
- direction: "back" | "forward";
684
+ buttonDirection: "back" | "forward";
610
685
  }, "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
- direction: 'back' | 'forward';
6
+ buttonDirection: '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
- direction: 'back' | 'forward';
23
+ buttonDirection: '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
- direction: 'back' | 'forward';
39
+ buttonDirection: '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
- direction: 'back' | 'forward';
56
+ buttonDirection: '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
- direction: 'back' | 'forward';
72
+ buttonDirection: '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
- direction,
11
+ buttonDirection,
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[direction]),
18
+ onMouseEnter: () => setContents(ellipsisButtonContents[buttonDirection]),
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",
83
84
  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",
92
93
  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",
110
111
  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",
120
121
  buttonType: variant,
121
- direction: "forward",
122
122
  display: hideOnMobile,
123
123
  href: navigation,
124
124
  showButton: shownPageArray[chapterSize - 1] === totalPages ? 'hidden' : 'shown',