@codecademy/gamut 68.0.1-alpha.7afb48.0 → 68.0.1-alpha.800a90.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.
Files changed (57) hide show
  1. package/dist/Anchor/index.d.ts +93 -18
  2. package/dist/Badge/index.d.ts +93 -18
  3. package/dist/Box/props.d.ts +93 -18
  4. package/dist/Button/shared/styles.d.ts +93 -18
  5. package/dist/Card/elements.d.ts +279 -54
  6. package/dist/ConnectedForm/utils.d.ts +1 -1
  7. package/dist/Form/SelectDropdown/styles.d.ts +1 -1
  8. package/dist/Form/elements/Form.d.ts +94 -19
  9. package/dist/Form/elements/FormGroupLabel.js +2 -2
  10. package/dist/Form/inputs/Select.js +5 -6
  11. package/dist/GridForm/GridFormSections/GridFormSectionBreak.d.ts +33 -6
  12. package/dist/InternalFloatingCard/InternalFloatingCard.d.ts +63 -12
  13. package/dist/Layout/Column.d.ts +93 -18
  14. package/dist/Layout/LayoutGrid.d.ts +60 -12
  15. package/dist/List/elements.d.ts +187 -37
  16. package/dist/Menu/elements.d.ts +93 -18
  17. package/dist/Pagination/AnimatedPaginationButtons.d.ts +95 -20
  18. package/dist/Pagination/EllipsisButton.d.ts +5 -5
  19. package/dist/Pagination/EllipsisButton.js +2 -2
  20. package/dist/Pagination/index.js +4 -4
  21. package/dist/Pagination/utils.d.ts +93 -18
  22. package/dist/Pagination/utils.js +1 -1
  23. package/dist/Tabs/props.d.ts +93 -18
  24. package/dist/Tag/types.d.ts +93 -18
  25. package/dist/Toggle/elements.d.ts +120 -24
  26. package/dist/Typography/Text.d.ts +93 -18
  27. package/dist/index.d.ts +0 -1
  28. package/dist/index.js +0 -1
  29. package/package.json +7 -7
  30. package/dist/BarChart/BarChartProvider.d.ts +0 -19
  31. package/dist/BarChart/BarChartProvider.js +0 -31
  32. package/dist/BarChart/BarRow/elements.d.ts +0 -713
  33. package/dist/BarChart/BarRow/elements.js +0 -89
  34. package/dist/BarChart/BarRow/index.d.ts +0 -26
  35. package/dist/BarChart/BarRow/index.js +0 -254
  36. package/dist/BarChart/GENERIC_EXAMPLE.d.ts +0 -14
  37. package/dist/BarChart/GENERIC_EXAMPLE.js +0 -333
  38. package/dist/BarChart/index.d.ts +0 -4
  39. package/dist/BarChart/index.js +0 -158
  40. package/dist/BarChart/layout/GridLines.d.ts +0 -7
  41. package/dist/BarChart/layout/GridLines.js +0 -78
  42. package/dist/BarChart/layout/ScaleChartHeader.d.ts +0 -10
  43. package/dist/BarChart/layout/ScaleChartHeader.js +0 -89
  44. package/dist/BarChart/layout/VerticalSpacer.d.ts +0 -6
  45. package/dist/BarChart/layout/VerticalSpacer.js +0 -56
  46. package/dist/BarChart/shared/elements.d.ts +0 -7
  47. package/dist/BarChart/shared/elements.js +0 -12
  48. package/dist/BarChart/shared/styles.d.ts +0 -4
  49. package/dist/BarChart/shared/styles.js +0 -4
  50. package/dist/BarChart/shared/translations.d.ts +0 -17
  51. package/dist/BarChart/shared/translations.js +0 -16
  52. package/dist/BarChart/shared/types.d.ts +0 -88
  53. package/dist/BarChart/shared/types.js +0 -1
  54. package/dist/BarChart/utils/hooks.d.ts +0 -93
  55. package/dist/BarChart/utils/hooks.js +0 -301
  56. package/dist/BarChart/utils/index.d.ts +0 -86
  57. package/dist/BarChart/utils/index.js +0 -165
@@ -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',
@@ -31,11 +31,19 @@ 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: "height";
34
+ readonly property: {
35
+ readonly physical: "height";
36
+ readonly logical: "blockSize";
37
+ };
38
+ readonly resolveProperty: (useLogicalProperties: boolean) => import("@codecademy/variance/dist/types/properties").PropertyMode;
35
39
  readonly transform: (value: string | number) => string | 0;
36
40
  }>;
37
41
  width?: import("@codecademy/variance/dist/types/config").Scale<{
38
- readonly property: "width";
42
+ readonly property: {
43
+ readonly physical: "width";
44
+ readonly logical: "inlineSize";
45
+ };
46
+ readonly resolveProperty: (useLogicalProperties: boolean) => import("@codecademy/variance/dist/types/properties").PropertyMode;
39
47
  readonly transform: (value: string | number) => string | 0;
40
48
  }>;
41
49
  "aria-hidden"?: (boolean | "false" | "true") | undefined;
@@ -304,6 +312,9 @@ export declare const createAnimatedFadeButton: (WrappedComponent: typeof Paginat
304
312
  containerType?: import("@codecademy/variance/dist/types/config").Scale<{
305
313
  readonly property: "containerType";
306
314
  }>;
315
+ direction?: import("@codecademy/variance/dist/types/config").Scale<{
316
+ readonly property: "direction";
317
+ }>;
307
318
  display?: import("@codecademy/variance/dist/types/config").Scale<{
308
319
  readonly property: "display";
309
320
  }>;
@@ -336,19 +347,35 @@ export declare const createAnimatedFadeButton: (WrappedComponent: typeof Paginat
336
347
  readonly transform: (value: string | number) => string | 0;
337
348
  }>;
338
349
  maxHeight?: import("@codecademy/variance/dist/types/config").Scale<{
339
- readonly property: "maxHeight";
350
+ readonly property: {
351
+ readonly physical: "maxHeight";
352
+ readonly logical: "maxBlockSize";
353
+ };
354
+ readonly resolveProperty: (useLogicalProperties: boolean) => import("@codecademy/variance/dist/types/properties").PropertyMode;
340
355
  readonly transform: (value: string | number) => string | 0;
341
356
  }>;
342
357
  maxWidth?: import("@codecademy/variance/dist/types/config").Scale<{
343
- readonly property: "maxWidth";
358
+ readonly property: {
359
+ readonly physical: "maxWidth";
360
+ readonly logical: "maxInlineSize";
361
+ };
362
+ readonly resolveProperty: (useLogicalProperties: boolean) => import("@codecademy/variance/dist/types/properties").PropertyMode;
344
363
  readonly transform: (value: string | number) => string | 0;
345
364
  }>;
346
365
  minHeight?: import("@codecademy/variance/dist/types/config").Scale<{
347
- readonly property: "minHeight";
366
+ readonly property: {
367
+ readonly physical: "minHeight";
368
+ readonly logical: "minBlockSize";
369
+ };
370
+ readonly resolveProperty: (useLogicalProperties: boolean) => import("@codecademy/variance/dist/types/properties").PropertyMode;
348
371
  readonly transform: (value: string | number) => string | 0;
349
372
  }>;
350
373
  minWidth?: import("@codecademy/variance/dist/types/config").Scale<{
351
- readonly property: "minWidth";
374
+ readonly property: {
375
+ readonly physical: "minWidth";
376
+ readonly logical: "minInlineSize";
377
+ };
378
+ readonly resolveProperty: (useLogicalProperties: boolean) => import("@codecademy/variance/dist/types/properties").PropertyMode;
352
379
  readonly transform: (value: string | number) => string | 0;
353
380
  }>;
354
381
  opacity?: import("@codecademy/variance/dist/types/config").Scale<{
@@ -430,29 +457,53 @@ export declare const createAnimatedFadeButton: (WrappedComponent: typeof Paginat
430
457
  ellipsis?: boolean | undefined;
431
458
  px?: import("@codecademy/variance/dist/types/config").Scale<{
432
459
  readonly property: "padding";
433
- readonly properties: readonly ["paddingLeft", "paddingRight"];
460
+ readonly properties: {
461
+ readonly physical: readonly ["paddingLeft", "paddingRight"];
462
+ readonly logical: readonly ["paddingInlineStart", "paddingInlineEnd"];
463
+ };
434
464
  readonly scale: "spacing";
465
+ readonly resolveProperty: (useLogicalProperties: boolean) => import("@codecademy/variance/dist/types/properties").PropertyMode;
435
466
  }>;
436
467
  py?: import("@codecademy/variance/dist/types/config").Scale<{
437
468
  readonly property: "padding";
438
- readonly properties: readonly ["paddingTop", "paddingBottom"];
469
+ readonly properties: {
470
+ readonly physical: readonly ["paddingTop", "paddingBottom"];
471
+ readonly logical: readonly ["paddingBlockStart", "paddingBlockEnd"];
472
+ };
439
473
  readonly scale: "spacing";
474
+ readonly resolveProperty: (useLogicalProperties: boolean) => import("@codecademy/variance/dist/types/properties").PropertyMode;
440
475
  }>;
441
476
  pt?: import("@codecademy/variance/dist/types/config").Scale<{
442
- readonly property: "paddingTop";
477
+ readonly property: {
478
+ readonly physical: "paddingTop";
479
+ readonly logical: "paddingBlockStart";
480
+ };
443
481
  readonly scale: "spacing";
482
+ readonly resolveProperty: (useLogicalProperties: boolean) => import("@codecademy/variance/dist/types/properties").PropertyMode;
444
483
  }>;
445
484
  pb?: import("@codecademy/variance/dist/types/config").Scale<{
446
- readonly property: "paddingBottom";
485
+ readonly property: {
486
+ readonly physical: "paddingBottom";
487
+ readonly logical: "paddingBlockEnd";
488
+ };
447
489
  readonly scale: "spacing";
490
+ readonly resolveProperty: (useLogicalProperties: boolean) => import("@codecademy/variance/dist/types/properties").PropertyMode;
448
491
  }>;
449
492
  pr?: import("@codecademy/variance/dist/types/config").Scale<{
450
- readonly property: "paddingRight";
493
+ readonly property: {
494
+ readonly physical: "paddingRight";
495
+ readonly logical: "paddingInlineEnd";
496
+ };
451
497
  readonly scale: "spacing";
498
+ readonly resolveProperty: (useLogicalProperties: boolean) => import("@codecademy/variance/dist/types/properties").PropertyMode;
452
499
  }>;
453
500
  pl?: import("@codecademy/variance/dist/types/config").Scale<{
454
- readonly property: "paddingLeft";
501
+ readonly property: {
502
+ readonly physical: "paddingLeft";
503
+ readonly logical: "paddingInlineStart";
504
+ };
455
505
  readonly scale: "spacing";
506
+ readonly resolveProperty: (useLogicalProperties: boolean) => import("@codecademy/variance/dist/types/properties").PropertyMode;
456
507
  }>;
457
508
  m?: import("@codecademy/variance/dist/types/config").Scale<{
458
509
  readonly property: "margin";
@@ -460,29 +511,53 @@ export declare const createAnimatedFadeButton: (WrappedComponent: typeof Paginat
460
511
  }>;
461
512
  mx?: import("@codecademy/variance/dist/types/config").Scale<{
462
513
  readonly property: "margin";
463
- readonly properties: readonly ["marginLeft", "marginRight"];
514
+ readonly properties: {
515
+ readonly physical: readonly ["marginLeft", "marginRight"];
516
+ readonly logical: readonly ["marginInlineStart", "marginInlineEnd"];
517
+ };
518
+ readonly resolveProperty: (useLogicalProperties: boolean) => import("@codecademy/variance/dist/types/properties").PropertyMode;
464
519
  readonly scale: "spacing";
465
520
  }>;
466
521
  my?: import("@codecademy/variance/dist/types/config").Scale<{
467
522
  readonly property: "margin";
468
- readonly properties: readonly ["marginTop", "marginBottom"];
523
+ readonly properties: {
524
+ readonly physical: readonly ["marginTop", "marginBottom"];
525
+ readonly logical: readonly ["marginBlockStart", "marginBlockEnd"];
526
+ };
527
+ readonly resolveProperty: (useLogicalProperties: boolean) => import("@codecademy/variance/dist/types/properties").PropertyMode;
469
528
  readonly scale: "spacing";
470
529
  }>;
471
530
  mt?: import("@codecademy/variance/dist/types/config").Scale<{
472
- readonly property: "marginTop";
531
+ readonly property: {
532
+ readonly physical: "marginTop";
533
+ readonly logical: "marginBlockStart";
534
+ };
473
535
  readonly scale: "spacing";
536
+ readonly resolveProperty: (useLogicalProperties: boolean) => import("@codecademy/variance/dist/types/properties").PropertyMode;
474
537
  }>;
475
538
  mb?: import("@codecademy/variance/dist/types/config").Scale<{
476
- readonly property: "marginBottom";
539
+ readonly property: {
540
+ readonly physical: "marginBottom";
541
+ readonly logical: "marginBlockEnd";
542
+ };
477
543
  readonly scale: "spacing";
544
+ readonly resolveProperty: (useLogicalProperties: boolean) => import("@codecademy/variance/dist/types/properties").PropertyMode;
478
545
  }>;
479
546
  mr?: import("@codecademy/variance/dist/types/config").Scale<{
480
- readonly property: "marginRight";
547
+ readonly property: {
548
+ readonly physical: "marginRight";
549
+ readonly logical: "marginInlineEnd";
550
+ };
481
551
  readonly scale: "spacing";
552
+ readonly resolveProperty: (useLogicalProperties: boolean) => import("@codecademy/variance/dist/types/properties").PropertyMode;
482
553
  }>;
483
554
  ml?: import("@codecademy/variance/dist/types/config").Scale<{
484
- readonly property: "marginLeft";
555
+ readonly property: {
556
+ readonly physical: "marginLeft";
557
+ readonly logical: "marginInlineStart";
558
+ };
485
559
  readonly scale: "spacing";
560
+ readonly resolveProperty: (useLogicalProperties: boolean) => import("@codecademy/variance/dist/types/properties").PropertyMode;
486
561
  }>;
487
562
  borderX?: import("@codecademy/variance/dist/types/config").Scale<{
488
563
  readonly property: "border";
@@ -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.direction === 'forward' && isFirstRender.current ? 'shown' : 'hidden',
50
+ initial: props.buttonDirection === 'forward' && isFirstRender.current ? 'shown' : 'hidden',
51
51
  transition: {
52
52
  duration: 0.3
53
53
  },