@codecademy/gamut 68.0.1-alpha.4aeb6d.0 → 68.0.1-alpha.588625.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/Anchor/index.d.ts +33 -6
- package/dist/Badge/index.d.ts +35 -20
- package/dist/Box/props.d.ts +61 -150
- package/dist/Button/shared/styles.d.ts +59 -136
- package/dist/Card/elements.d.ts +183 -450
- package/dist/Form/elements/Form.d.ts +59 -136
- package/dist/GridForm/GridFormSections/GridFormSectionBreak.d.ts +61 -150
- package/dist/InternalFloatingCard/InternalFloatingCard.d.ts +33 -6
- package/dist/Layout/Column.d.ts +33 -6
- package/dist/List/elements.d.ts +94 -156
- package/dist/Menu/elements.d.ts +61 -150
- package/dist/Pagination/AnimatedPaginationButtons.d.ts +61 -138
- package/dist/Pagination/EllipsisButton.d.ts +5 -5
- package/dist/Pagination/EllipsisButton.js +2 -2
- package/dist/Pagination/index.js +4 -4
- package/dist/Pagination/utils.d.ts +59 -136
- package/dist/Pagination/utils.js +1 -1
- package/dist/Tabs/props.d.ts +33 -6
- package/dist/Tag/types.d.ts +33 -6
- package/dist/Toggle/elements.d.ts +2 -14
- package/dist/Typography/Text.d.ts +35 -20
- package/package.json +7 -7
|
@@ -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:
|
|
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:
|
|
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:
|
|
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:
|
|
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:
|
|
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:
|
|
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<{
|
|
@@ -381,19 +408,11 @@ export declare const createAnimatedFadeButton: (WrappedComponent: typeof Paginat
|
|
|
381
408
|
readonly property: "zIndex";
|
|
382
409
|
}>;
|
|
383
410
|
borderBottom?: import("@codecademy/variance/dist/types/config").Scale<{
|
|
384
|
-
readonly property:
|
|
385
|
-
readonly physical: "borderBottom";
|
|
386
|
-
readonly logical: "borderBlockEnd";
|
|
387
|
-
};
|
|
388
|
-
readonly resolveProperty: (useLogicalProperties: boolean) => import("@codecademy/variance/dist/types/properties").PropertyMode;
|
|
411
|
+
readonly property: "borderBottom";
|
|
389
412
|
readonly scale: "borders";
|
|
390
413
|
}>;
|
|
391
414
|
borderLeft?: import("@codecademy/variance/dist/types/config").Scale<{
|
|
392
|
-
readonly property:
|
|
393
|
-
readonly physical: "borderLeft";
|
|
394
|
-
readonly logical: "borderInlineStart";
|
|
395
|
-
};
|
|
396
|
-
readonly resolveProperty: (useLogicalProperties: boolean) => import("@codecademy/variance/dist/types/properties").PropertyMode;
|
|
415
|
+
readonly property: "borderLeft";
|
|
397
416
|
readonly scale: "borders";
|
|
398
417
|
}>;
|
|
399
418
|
borderRadius?: import("@codecademy/variance/dist/types/config").Scale<{
|
|
@@ -401,22 +420,14 @@ export declare const createAnimatedFadeButton: (WrappedComponent: typeof Paginat
|
|
|
401
420
|
readonly scale: "borderRadii";
|
|
402
421
|
}>;
|
|
403
422
|
borderRight?: import("@codecademy/variance/dist/types/config").Scale<{
|
|
404
|
-
readonly property:
|
|
405
|
-
readonly physical: "borderRight";
|
|
406
|
-
readonly logical: "borderInlineEnd";
|
|
407
|
-
};
|
|
408
|
-
readonly resolveProperty: (useLogicalProperties: boolean) => import("@codecademy/variance/dist/types/properties").PropertyMode;
|
|
423
|
+
readonly property: "borderRight";
|
|
409
424
|
readonly scale: "borders";
|
|
410
425
|
}>;
|
|
411
426
|
borderStyle?: import("@codecademy/variance/dist/types/config").Scale<{
|
|
412
427
|
readonly property: "borderStyle";
|
|
413
428
|
}>;
|
|
414
429
|
borderTop?: import("@codecademy/variance/dist/types/config").Scale<{
|
|
415
|
-
readonly property:
|
|
416
|
-
readonly physical: "borderTop";
|
|
417
|
-
readonly logical: "borderBlockStart";
|
|
418
|
-
};
|
|
419
|
-
readonly resolveProperty: (useLogicalProperties: boolean) => import("@codecademy/variance/dist/types/properties").PropertyMode;
|
|
430
|
+
readonly property: "borderTop";
|
|
420
431
|
readonly scale: "borders";
|
|
421
432
|
}>;
|
|
422
433
|
borderWidth?: import("@codecademy/variance/dist/types/config").Scale<{
|
|
@@ -550,177 +561,89 @@ export declare const createAnimatedFadeButton: (WrappedComponent: typeof Paginat
|
|
|
550
561
|
}>;
|
|
551
562
|
borderX?: import("@codecademy/variance/dist/types/config").Scale<{
|
|
552
563
|
readonly property: "border";
|
|
553
|
-
readonly properties:
|
|
554
|
-
readonly physical: readonly ["borderLeft", "borderRight"];
|
|
555
|
-
readonly logical: readonly ["borderInlineStart", "borderInlineEnd"];
|
|
556
|
-
};
|
|
557
|
-
readonly resolveProperty: (useLogicalProperties: boolean) => import("@codecademy/variance/dist/types/properties").PropertyMode;
|
|
564
|
+
readonly properties: readonly ["borderLeft", "borderRight"];
|
|
558
565
|
readonly scale: "borders";
|
|
559
566
|
}>;
|
|
560
567
|
borderY?: import("@codecademy/variance/dist/types/config").Scale<{
|
|
561
568
|
readonly property: "border";
|
|
562
|
-
readonly properties:
|
|
563
|
-
readonly physical: readonly ["borderTop", "borderBottom"];
|
|
564
|
-
readonly logical: readonly ["borderBlockStart", "borderBlockEnd"];
|
|
565
|
-
};
|
|
566
|
-
readonly resolveProperty: (useLogicalProperties: boolean) => import("@codecademy/variance/dist/types/properties").PropertyMode;
|
|
569
|
+
readonly properties: readonly ["borderTop", "borderBottom"];
|
|
567
570
|
readonly scale: "borders";
|
|
568
571
|
}>;
|
|
569
572
|
borderWidthX?: import("@codecademy/variance/dist/types/config").Scale<{
|
|
570
573
|
readonly property: "borderWidth";
|
|
571
|
-
readonly properties:
|
|
572
|
-
readonly physical: readonly ["borderLeftWidth", "borderRightWidth"];
|
|
573
|
-
readonly logical: readonly ["borderInlineStartWidth", "borderInlineEndWidth"];
|
|
574
|
-
};
|
|
575
|
-
readonly resolveProperty: (useLogicalProperties: boolean) => import("@codecademy/variance/dist/types/properties").PropertyMode;
|
|
574
|
+
readonly properties: readonly ["borderLeftWidth", "borderRightWidth"];
|
|
576
575
|
}>;
|
|
577
576
|
borderWidthY?: import("@codecademy/variance/dist/types/config").Scale<{
|
|
578
577
|
readonly property: "borderWidth";
|
|
579
|
-
readonly properties:
|
|
580
|
-
readonly physical: readonly ["borderTopWidth", "borderBottomWidth"];
|
|
581
|
-
readonly logical: readonly ["borderBlockStartWidth", "borderBlockEndWidth"];
|
|
582
|
-
};
|
|
583
|
-
readonly resolveProperty: (useLogicalProperties: boolean) => import("@codecademy/variance/dist/types/properties").PropertyMode;
|
|
578
|
+
readonly properties: readonly ["borderTopWidth", "borderBottomWidth"];
|
|
584
579
|
}>;
|
|
585
580
|
borderWidthLeft?: import("@codecademy/variance/dist/types/config").Scale<{
|
|
586
|
-
readonly property:
|
|
587
|
-
readonly physical: "borderLeftWidth";
|
|
588
|
-
readonly logical: "borderInlineStartWidth";
|
|
589
|
-
};
|
|
590
|
-
readonly resolveProperty: (useLogicalProperties: boolean) => import("@codecademy/variance/dist/types/properties").PropertyMode;
|
|
581
|
+
readonly property: "borderLeftWidth";
|
|
591
582
|
}>;
|
|
592
583
|
borderWidthRight?: import("@codecademy/variance/dist/types/config").Scale<{
|
|
593
|
-
readonly property:
|
|
594
|
-
readonly physical: "borderRightWidth";
|
|
595
|
-
readonly logical: "borderInlineEndWidth";
|
|
596
|
-
};
|
|
597
|
-
readonly resolveProperty: (useLogicalProperties: boolean) => import("@codecademy/variance/dist/types/properties").PropertyMode;
|
|
584
|
+
readonly property: "borderRightWidth";
|
|
598
585
|
}>;
|
|
599
586
|
borderWidthTop?: import("@codecademy/variance/dist/types/config").Scale<{
|
|
600
|
-
readonly property:
|
|
601
|
-
readonly physical: "borderTopWidth";
|
|
602
|
-
readonly logical: "borderBlockStartWidth";
|
|
603
|
-
};
|
|
604
|
-
readonly resolveProperty: (useLogicalProperties: boolean) => import("@codecademy/variance/dist/types/properties").PropertyMode;
|
|
587
|
+
readonly property: "borderTopWidth";
|
|
605
588
|
}>;
|
|
606
589
|
borderWidthBottom?: import("@codecademy/variance/dist/types/config").Scale<{
|
|
607
|
-
readonly property:
|
|
608
|
-
readonly physical: "borderBottomWidth";
|
|
609
|
-
readonly logical: "borderBlockEndWidth";
|
|
610
|
-
};
|
|
611
|
-
readonly resolveProperty: (useLogicalProperties: boolean) => import("@codecademy/variance/dist/types/properties").PropertyMode;
|
|
590
|
+
readonly property: "borderBottomWidth";
|
|
612
591
|
}>;
|
|
613
592
|
borderRadiusLeft?: import("@codecademy/variance/dist/types/config").Scale<{
|
|
614
593
|
readonly property: "borderRadius";
|
|
615
|
-
readonly properties:
|
|
616
|
-
readonly physical: readonly ["borderTopLeftRadius", "borderBottomLeftRadius"];
|
|
617
|
-
readonly logical: readonly ["borderStartStartRadius", "borderEndStartRadius"];
|
|
618
|
-
};
|
|
619
|
-
readonly resolveProperty: (useLogicalProperties: boolean) => import("@codecademy/variance/dist/types/properties").PropertyMode;
|
|
594
|
+
readonly properties: readonly ["borderTopLeftRadius", "borderBottomLeftRadius"];
|
|
620
595
|
readonly scale: "borderRadii";
|
|
621
596
|
}>;
|
|
622
597
|
borderRadiusTop?: import("@codecademy/variance/dist/types/config").Scale<{
|
|
623
598
|
readonly property: "borderRadius";
|
|
624
|
-
readonly properties:
|
|
625
|
-
readonly physical: readonly ["borderTopLeftRadius", "borderTopRightRadius"];
|
|
626
|
-
readonly logical: readonly ["borderStartStartRadius", "borderStartEndRadius"];
|
|
627
|
-
};
|
|
628
|
-
readonly resolveProperty: (useLogicalProperties: boolean) => import("@codecademy/variance/dist/types/properties").PropertyMode;
|
|
599
|
+
readonly properties: readonly ["borderTopLeftRadius", "borderTopRightRadius"];
|
|
629
600
|
readonly scale: "borderRadii";
|
|
630
601
|
}>;
|
|
631
602
|
borderRadiusBottom?: import("@codecademy/variance/dist/types/config").Scale<{
|
|
632
603
|
readonly property: "borderRadius";
|
|
633
|
-
readonly properties:
|
|
634
|
-
readonly physical: readonly ["borderBottomLeftRadius", "borderBottomRightRadius"];
|
|
635
|
-
readonly logical: readonly ["borderEndStartRadius", "borderEndEndRadius"];
|
|
636
|
-
};
|
|
637
|
-
readonly resolveProperty: (useLogicalProperties: boolean) => import("@codecademy/variance/dist/types/properties").PropertyMode;
|
|
604
|
+
readonly properties: readonly ["borderBottomLeftRadius", "borderBottomRightRadius"];
|
|
638
605
|
readonly scale: "borderRadii";
|
|
639
606
|
}>;
|
|
640
607
|
borderRadiusRight?: import("@codecademy/variance/dist/types/config").Scale<{
|
|
641
608
|
readonly property: "borderRadius";
|
|
642
|
-
readonly properties:
|
|
643
|
-
readonly physical: readonly ["borderTopRightRadius", "borderBottomRightRadius"];
|
|
644
|
-
readonly logical: readonly ["borderStartEndRadius", "borderEndEndRadius"];
|
|
645
|
-
};
|
|
646
|
-
readonly resolveProperty: (useLogicalProperties: boolean) => import("@codecademy/variance/dist/types/properties").PropertyMode;
|
|
609
|
+
readonly properties: readonly ["borderTopRightRadius", "borderBottomRightRadius"];
|
|
647
610
|
readonly scale: "borderRadii";
|
|
648
611
|
}>;
|
|
649
612
|
borderRadiusTopLeft?: import("@codecademy/variance/dist/types/config").Scale<{
|
|
650
|
-
readonly property:
|
|
651
|
-
readonly physical: "borderTopLeftRadius";
|
|
652
|
-
readonly logical: "borderStartStartRadius";
|
|
653
|
-
};
|
|
654
|
-
readonly resolveProperty: (useLogicalProperties: boolean) => import("@codecademy/variance/dist/types/properties").PropertyMode;
|
|
613
|
+
readonly property: "borderTopLeftRadius";
|
|
655
614
|
readonly scale: "borderRadii";
|
|
656
615
|
}>;
|
|
657
616
|
borderRadiusTopRight?: import("@codecademy/variance/dist/types/config").Scale<{
|
|
658
|
-
readonly property:
|
|
659
|
-
readonly physical: "borderTopRightRadius";
|
|
660
|
-
readonly logical: "borderStartEndRadius";
|
|
661
|
-
};
|
|
662
|
-
readonly resolveProperty: (useLogicalProperties: boolean) => import("@codecademy/variance/dist/types/properties").PropertyMode;
|
|
617
|
+
readonly property: "borderTopRightRadius";
|
|
663
618
|
readonly scale: "borderRadii";
|
|
664
619
|
}>;
|
|
665
620
|
borderRadiusBottomRight?: import("@codecademy/variance/dist/types/config").Scale<{
|
|
666
|
-
readonly property:
|
|
667
|
-
readonly physical: "borderBottomRightRadius";
|
|
668
|
-
readonly logical: "borderEndEndRadius";
|
|
669
|
-
};
|
|
670
|
-
readonly resolveProperty: (useLogicalProperties: boolean) => import("@codecademy/variance/dist/types/properties").PropertyMode;
|
|
621
|
+
readonly property: "borderBottomRightRadius";
|
|
671
622
|
readonly scale: "borderRadii";
|
|
672
623
|
}>;
|
|
673
624
|
borderRadiusBottomLeft?: import("@codecademy/variance/dist/types/config").Scale<{
|
|
674
|
-
readonly property:
|
|
675
|
-
readonly physical: "borderBottomLeftRadius";
|
|
676
|
-
readonly logical: "borderEndStartRadius";
|
|
677
|
-
};
|
|
678
|
-
readonly resolveProperty: (useLogicalProperties: boolean) => import("@codecademy/variance/dist/types/properties").PropertyMode;
|
|
625
|
+
readonly property: "borderBottomLeftRadius";
|
|
679
626
|
readonly scale: "borderRadii";
|
|
680
627
|
}>;
|
|
681
628
|
borderStyleX?: import("@codecademy/variance/dist/types/config").Scale<{
|
|
682
629
|
readonly property: "borderStyle";
|
|
683
|
-
readonly properties:
|
|
684
|
-
readonly physical: readonly ["borderLeftStyle", "borderRightStyle"];
|
|
685
|
-
readonly logical: readonly ["borderInlineStartStyle", "borderInlineEndStyle"];
|
|
686
|
-
};
|
|
687
|
-
readonly resolveProperty: (useLogicalProperties: boolean) => import("@codecademy/variance/dist/types/properties").PropertyMode;
|
|
630
|
+
readonly properties: readonly ["borderLeftStyle", "borderRightStyle"];
|
|
688
631
|
}>;
|
|
689
632
|
borderStyleY?: import("@codecademy/variance/dist/types/config").Scale<{
|
|
690
633
|
readonly property: "borderStyle";
|
|
691
|
-
readonly properties:
|
|
692
|
-
readonly physical: readonly ["borderTopStyle", "borderBottomStyle"];
|
|
693
|
-
readonly logical: readonly ["borderBlockStartStyle", "borderBlockEndStyle"];
|
|
694
|
-
};
|
|
695
|
-
readonly resolveProperty: (useLogicalProperties: boolean) => import("@codecademy/variance/dist/types/properties").PropertyMode;
|
|
634
|
+
readonly properties: readonly ["borderTopStyle", "borderBottomStyle"];
|
|
696
635
|
}>;
|
|
697
636
|
borderStyleLeft?: import("@codecademy/variance/dist/types/config").Scale<{
|
|
698
|
-
readonly property:
|
|
699
|
-
readonly physical: "borderLeftStyle";
|
|
700
|
-
readonly logical: "borderInlineStartStyle";
|
|
701
|
-
};
|
|
702
|
-
readonly resolveProperty: (useLogicalProperties: boolean) => import("@codecademy/variance/dist/types/properties").PropertyMode;
|
|
637
|
+
readonly property: "borderLeftStyle";
|
|
703
638
|
}>;
|
|
704
639
|
borderStyleRight?: import("@codecademy/variance/dist/types/config").Scale<{
|
|
705
|
-
readonly property:
|
|
706
|
-
readonly physical: "borderRightStyle";
|
|
707
|
-
readonly logical: "borderInlineEndStyle";
|
|
708
|
-
};
|
|
709
|
-
readonly resolveProperty: (useLogicalProperties: boolean) => import("@codecademy/variance/dist/types/properties").PropertyMode;
|
|
640
|
+
readonly property: "borderRightStyle";
|
|
710
641
|
}>;
|
|
711
642
|
borderStyleTop?: import("@codecademy/variance/dist/types/config").Scale<{
|
|
712
|
-
readonly property:
|
|
713
|
-
readonly physical: "borderTopStyle";
|
|
714
|
-
readonly logical: "borderBlockStartStyle";
|
|
715
|
-
};
|
|
716
|
-
readonly resolveProperty: (useLogicalProperties: boolean) => import("@codecademy/variance/dist/types/properties").PropertyMode;
|
|
643
|
+
readonly property: "borderTopStyle";
|
|
717
644
|
}>;
|
|
718
645
|
borderStyleBottom?: import("@codecademy/variance/dist/types/config").Scale<{
|
|
719
|
-
readonly property:
|
|
720
|
-
readonly physical: "borderBottomStyle";
|
|
721
|
-
readonly logical: "borderBlockEndStyle";
|
|
722
|
-
};
|
|
723
|
-
readonly resolveProperty: (useLogicalProperties: boolean) => import("@codecademy/variance/dist/types/properties").PropertyMode;
|
|
646
|
+
readonly property: "borderBottomStyle";
|
|
724
647
|
}>;
|
|
725
648
|
dimensions?: import("@codecademy/variance/dist/types/config").Scale<{
|
|
726
649
|
readonly property: "width";
|
package/dist/Pagination/utils.js
CHANGED
|
@@ -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.
|
|
50
|
+
initial: props.buttonDirection === 'forward' && isFirstRender.current ? 'shown' : 'hidden',
|
|
51
51
|
transition: {
|
|
52
52
|
duration: 0.3
|
|
53
53
|
},
|
package/dist/Tabs/props.d.ts
CHANGED
|
@@ -71,32 +71,59 @@ export declare const tabElementBaseProps: import("@codecademy/variance/dist/type
|
|
|
71
71
|
readonly transform: (value: string | number) => string | 0;
|
|
72
72
|
};
|
|
73
73
|
readonly width: {
|
|
74
|
-
readonly property:
|
|
74
|
+
readonly property: {
|
|
75
|
+
readonly physical: "width";
|
|
76
|
+
readonly logical: "inlineSize";
|
|
77
|
+
};
|
|
78
|
+
readonly resolveProperty: (useLogicalProperties: boolean) => import("@codecademy/variance/dist/types/properties").PropertyMode;
|
|
75
79
|
readonly transform: (value: string | number) => string | 0;
|
|
76
80
|
};
|
|
77
81
|
readonly minWidth: {
|
|
78
|
-
readonly property:
|
|
82
|
+
readonly property: {
|
|
83
|
+
readonly physical: "minWidth";
|
|
84
|
+
readonly logical: "minInlineSize";
|
|
85
|
+
};
|
|
86
|
+
readonly resolveProperty: (useLogicalProperties: boolean) => import("@codecademy/variance/dist/types/properties").PropertyMode;
|
|
79
87
|
readonly transform: (value: string | number) => string | 0;
|
|
80
88
|
};
|
|
81
89
|
readonly maxWidth: {
|
|
82
|
-
readonly property:
|
|
90
|
+
readonly property: {
|
|
91
|
+
readonly physical: "maxWidth";
|
|
92
|
+
readonly logical: "maxInlineSize";
|
|
93
|
+
};
|
|
94
|
+
readonly resolveProperty: (useLogicalProperties: boolean) => import("@codecademy/variance/dist/types/properties").PropertyMode;
|
|
83
95
|
readonly transform: (value: string | number) => string | 0;
|
|
84
96
|
};
|
|
85
97
|
readonly height: {
|
|
86
|
-
readonly property:
|
|
98
|
+
readonly property: {
|
|
99
|
+
readonly physical: "height";
|
|
100
|
+
readonly logical: "blockSize";
|
|
101
|
+
};
|
|
102
|
+
readonly resolveProperty: (useLogicalProperties: boolean) => import("@codecademy/variance/dist/types/properties").PropertyMode;
|
|
87
103
|
readonly transform: (value: string | number) => string | 0;
|
|
88
104
|
};
|
|
89
105
|
readonly minHeight: {
|
|
90
|
-
readonly property:
|
|
106
|
+
readonly property: {
|
|
107
|
+
readonly physical: "minHeight";
|
|
108
|
+
readonly logical: "minBlockSize";
|
|
109
|
+
};
|
|
110
|
+
readonly resolveProperty: (useLogicalProperties: boolean) => import("@codecademy/variance/dist/types/properties").PropertyMode;
|
|
91
111
|
readonly transform: (value: string | number) => string | 0;
|
|
92
112
|
};
|
|
93
113
|
readonly maxHeight: {
|
|
94
|
-
readonly property:
|
|
114
|
+
readonly property: {
|
|
115
|
+
readonly physical: "maxHeight";
|
|
116
|
+
readonly logical: "maxBlockSize";
|
|
117
|
+
};
|
|
118
|
+
readonly resolveProperty: (useLogicalProperties: boolean) => import("@codecademy/variance/dist/types/properties").PropertyMode;
|
|
95
119
|
readonly transform: (value: string | number) => string | 0;
|
|
96
120
|
};
|
|
97
121
|
readonly verticalAlign: {
|
|
98
122
|
readonly property: "verticalAlign";
|
|
99
123
|
};
|
|
124
|
+
readonly direction: {
|
|
125
|
+
readonly property: "direction";
|
|
126
|
+
};
|
|
100
127
|
}>>, import("@codecademy/variance/dist/types/config").Parser<import("@codecademy/variance/dist/types/config").TransformerMap<{
|
|
101
128
|
readonly position: {
|
|
102
129
|
readonly property: "position";
|
package/dist/Tag/types.d.ts
CHANGED
|
@@ -173,32 +173,59 @@ export declare const tagProps: import("@codecademy/variance/dist/types/config").
|
|
|
173
173
|
readonly transform: (value: string | number) => string | 0;
|
|
174
174
|
};
|
|
175
175
|
readonly width: {
|
|
176
|
-
readonly property:
|
|
176
|
+
readonly property: {
|
|
177
|
+
readonly physical: "width";
|
|
178
|
+
readonly logical: "inlineSize";
|
|
179
|
+
};
|
|
180
|
+
readonly resolveProperty: (useLogicalProperties: boolean) => import("@codecademy/variance/dist/types/properties").PropertyMode;
|
|
177
181
|
readonly transform: (value: string | number) => string | 0;
|
|
178
182
|
};
|
|
179
183
|
readonly minWidth: {
|
|
180
|
-
readonly property:
|
|
184
|
+
readonly property: {
|
|
185
|
+
readonly physical: "minWidth";
|
|
186
|
+
readonly logical: "minInlineSize";
|
|
187
|
+
};
|
|
188
|
+
readonly resolveProperty: (useLogicalProperties: boolean) => import("@codecademy/variance/dist/types/properties").PropertyMode;
|
|
181
189
|
readonly transform: (value: string | number) => string | 0;
|
|
182
190
|
};
|
|
183
191
|
readonly maxWidth: {
|
|
184
|
-
readonly property:
|
|
192
|
+
readonly property: {
|
|
193
|
+
readonly physical: "maxWidth";
|
|
194
|
+
readonly logical: "maxInlineSize";
|
|
195
|
+
};
|
|
196
|
+
readonly resolveProperty: (useLogicalProperties: boolean) => import("@codecademy/variance/dist/types/properties").PropertyMode;
|
|
185
197
|
readonly transform: (value: string | number) => string | 0;
|
|
186
198
|
};
|
|
187
199
|
readonly height: {
|
|
188
|
-
readonly property:
|
|
200
|
+
readonly property: {
|
|
201
|
+
readonly physical: "height";
|
|
202
|
+
readonly logical: "blockSize";
|
|
203
|
+
};
|
|
204
|
+
readonly resolveProperty: (useLogicalProperties: boolean) => import("@codecademy/variance/dist/types/properties").PropertyMode;
|
|
189
205
|
readonly transform: (value: string | number) => string | 0;
|
|
190
206
|
};
|
|
191
207
|
readonly minHeight: {
|
|
192
|
-
readonly property:
|
|
208
|
+
readonly property: {
|
|
209
|
+
readonly physical: "minHeight";
|
|
210
|
+
readonly logical: "minBlockSize";
|
|
211
|
+
};
|
|
212
|
+
readonly resolveProperty: (useLogicalProperties: boolean) => import("@codecademy/variance/dist/types/properties").PropertyMode;
|
|
193
213
|
readonly transform: (value: string | number) => string | 0;
|
|
194
214
|
};
|
|
195
215
|
readonly maxHeight: {
|
|
196
|
-
readonly property:
|
|
216
|
+
readonly property: {
|
|
217
|
+
readonly physical: "maxHeight";
|
|
218
|
+
readonly logical: "maxBlockSize";
|
|
219
|
+
};
|
|
220
|
+
readonly resolveProperty: (useLogicalProperties: boolean) => import("@codecademy/variance/dist/types/properties").PropertyMode;
|
|
197
221
|
readonly transform: (value: string | number) => string | 0;
|
|
198
222
|
};
|
|
199
223
|
readonly verticalAlign: {
|
|
200
224
|
readonly property: "verticalAlign";
|
|
201
225
|
};
|
|
226
|
+
readonly direction: {
|
|
227
|
+
readonly property: "direction";
|
|
228
|
+
};
|
|
202
229
|
}>>, import("@codecademy/variance/dist/types/config").Parser<import("@codecademy/variance/dist/types/config").TransformerMap<{
|
|
203
230
|
readonly fontFamily: {
|
|
204
231
|
readonly property: "fontFamily";
|
|
@@ -143,40 +143,28 @@ export declare const ToggleTrack: import("@emotion/styled").StyledComponent<{
|
|
|
143
143
|
}>;
|
|
144
144
|
borderColorX?: import("@codecademy/variance/dist/types/config").Scale<{
|
|
145
145
|
readonly property: "borderColor";
|
|
146
|
-
readonly properties:
|
|
147
|
-
readonly physical: readonly ["borderLeftColor", "borderRightColor"];
|
|
148
|
-
readonly logical: readonly ["borderInlineStartColor", "borderInlineEndColor"];
|
|
149
|
-
};
|
|
150
|
-
readonly resolveProperty: (useLogicalProperties: boolean) => import("@codecademy/variance/dist/types/properties").PropertyMode;
|
|
146
|
+
readonly properties: readonly ["borderLeftColor", "borderRightColor"];
|
|
151
147
|
readonly scale: "colors";
|
|
152
148
|
}>;
|
|
153
149
|
borderColorY?: import("@codecademy/variance/dist/types/config").Scale<{
|
|
154
150
|
readonly property: "borderColor";
|
|
155
|
-
readonly properties:
|
|
156
|
-
readonly physical: readonly ["borderTopColor", "borderBottomColor"];
|
|
157
|
-
readonly logical: readonly ["borderBlockStartColor", "borderBlockEndColor"];
|
|
158
|
-
};
|
|
159
|
-
readonly resolveProperty: (useLogicalProperties: boolean) => import("@codecademy/variance/dist/types/properties").PropertyMode;
|
|
151
|
+
readonly properties: readonly ["borderTopColor", "borderBottomColor"];
|
|
160
152
|
readonly scale: "colors";
|
|
161
153
|
}>;
|
|
162
154
|
borderColorLeft?: import("@codecademy/variance/dist/types/config").Scale<{
|
|
163
155
|
readonly property: "borderLeftColor";
|
|
164
|
-
readonly resolveProperty: (useLogicalProperties: boolean) => import("@codecademy/variance/dist/types/properties").PropertyMode;
|
|
165
156
|
readonly scale: "colors";
|
|
166
157
|
}>;
|
|
167
158
|
borderColorRight?: import("@codecademy/variance/dist/types/config").Scale<{
|
|
168
159
|
readonly property: "borderRightColor";
|
|
169
|
-
readonly resolveProperty: (useLogicalProperties: boolean) => import("@codecademy/variance/dist/types/properties").PropertyMode;
|
|
170
160
|
readonly scale: "colors";
|
|
171
161
|
}>;
|
|
172
162
|
borderColorTop?: import("@codecademy/variance/dist/types/config").Scale<{
|
|
173
163
|
readonly property: "borderTopColor";
|
|
174
|
-
readonly resolveProperty: (useLogicalProperties: boolean) => import("@codecademy/variance/dist/types/properties").PropertyMode;
|
|
175
164
|
readonly scale: "colors";
|
|
176
165
|
}>;
|
|
177
166
|
borderColorBottom?: import("@codecademy/variance/dist/types/config").Scale<{
|
|
178
167
|
readonly property: "borderBottomColor";
|
|
179
|
-
readonly resolveProperty: (useLogicalProperties: boolean) => import("@codecademy/variance/dist/types/properties").PropertyMode;
|
|
180
168
|
readonly scale: "colors";
|
|
181
169
|
}>;
|
|
182
170
|
}, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
@@ -73,32 +73,59 @@ declare const textProps: import("@codecademy/variance/dist/types/config").Parser
|
|
|
73
73
|
readonly transform: (value: string | number) => string | 0;
|
|
74
74
|
};
|
|
75
75
|
readonly width: {
|
|
76
|
-
readonly property:
|
|
76
|
+
readonly property: {
|
|
77
|
+
readonly physical: "width";
|
|
78
|
+
readonly logical: "inlineSize";
|
|
79
|
+
};
|
|
80
|
+
readonly resolveProperty: (useLogicalProperties: boolean) => import("@codecademy/variance/dist/types/properties").PropertyMode;
|
|
77
81
|
readonly transform: (value: string | number) => string | 0;
|
|
78
82
|
};
|
|
79
83
|
readonly minWidth: {
|
|
80
|
-
readonly property:
|
|
84
|
+
readonly property: {
|
|
85
|
+
readonly physical: "minWidth";
|
|
86
|
+
readonly logical: "minInlineSize";
|
|
87
|
+
};
|
|
88
|
+
readonly resolveProperty: (useLogicalProperties: boolean) => import("@codecademy/variance/dist/types/properties").PropertyMode;
|
|
81
89
|
readonly transform: (value: string | number) => string | 0;
|
|
82
90
|
};
|
|
83
91
|
readonly maxWidth: {
|
|
84
|
-
readonly property:
|
|
92
|
+
readonly property: {
|
|
93
|
+
readonly physical: "maxWidth";
|
|
94
|
+
readonly logical: "maxInlineSize";
|
|
95
|
+
};
|
|
96
|
+
readonly resolveProperty: (useLogicalProperties: boolean) => import("@codecademy/variance/dist/types/properties").PropertyMode;
|
|
85
97
|
readonly transform: (value: string | number) => string | 0;
|
|
86
98
|
};
|
|
87
99
|
readonly height: {
|
|
88
|
-
readonly property:
|
|
100
|
+
readonly property: {
|
|
101
|
+
readonly physical: "height";
|
|
102
|
+
readonly logical: "blockSize";
|
|
103
|
+
};
|
|
104
|
+
readonly resolveProperty: (useLogicalProperties: boolean) => import("@codecademy/variance/dist/types/properties").PropertyMode;
|
|
89
105
|
readonly transform: (value: string | number) => string | 0;
|
|
90
106
|
};
|
|
91
107
|
readonly minHeight: {
|
|
92
|
-
readonly property:
|
|
108
|
+
readonly property: {
|
|
109
|
+
readonly physical: "minHeight";
|
|
110
|
+
readonly logical: "minBlockSize";
|
|
111
|
+
};
|
|
112
|
+
readonly resolveProperty: (useLogicalProperties: boolean) => import("@codecademy/variance/dist/types/properties").PropertyMode;
|
|
93
113
|
readonly transform: (value: string | number) => string | 0;
|
|
94
114
|
};
|
|
95
115
|
readonly maxHeight: {
|
|
96
|
-
readonly property:
|
|
116
|
+
readonly property: {
|
|
117
|
+
readonly physical: "maxHeight";
|
|
118
|
+
readonly logical: "maxBlockSize";
|
|
119
|
+
};
|
|
120
|
+
readonly resolveProperty: (useLogicalProperties: boolean) => import("@codecademy/variance/dist/types/properties").PropertyMode;
|
|
97
121
|
readonly transform: (value: string | number) => string | 0;
|
|
98
122
|
};
|
|
99
123
|
readonly verticalAlign: {
|
|
100
124
|
readonly property: "verticalAlign";
|
|
101
125
|
};
|
|
126
|
+
readonly direction: {
|
|
127
|
+
readonly property: "direction";
|
|
128
|
+
};
|
|
102
129
|
}>>, import("@codecademy/variance/dist/types/config").Parser<import("@codecademy/variance/dist/types/config").TransformerMap<{
|
|
103
130
|
readonly fontFamily: {
|
|
104
131
|
readonly property: "fontFamily";
|
|
@@ -153,40 +180,28 @@ declare const textProps: import("@codecademy/variance/dist/types/config").Parser
|
|
|
153
180
|
};
|
|
154
181
|
readonly borderColorX: {
|
|
155
182
|
readonly property: "borderColor";
|
|
156
|
-
readonly properties:
|
|
157
|
-
readonly physical: readonly ["borderLeftColor", "borderRightColor"];
|
|
158
|
-
readonly logical: readonly ["borderInlineStartColor", "borderInlineEndColor"];
|
|
159
|
-
};
|
|
160
|
-
readonly resolveProperty: (useLogicalProperties: boolean) => import("@codecademy/variance/dist/types/properties").PropertyMode;
|
|
183
|
+
readonly properties: readonly ["borderLeftColor", "borderRightColor"];
|
|
161
184
|
readonly scale: "colors";
|
|
162
185
|
};
|
|
163
186
|
readonly borderColorY: {
|
|
164
187
|
readonly property: "borderColor";
|
|
165
|
-
readonly properties:
|
|
166
|
-
readonly physical: readonly ["borderTopColor", "borderBottomColor"];
|
|
167
|
-
readonly logical: readonly ["borderBlockStartColor", "borderBlockEndColor"];
|
|
168
|
-
};
|
|
169
|
-
readonly resolveProperty: (useLogicalProperties: boolean) => import("@codecademy/variance/dist/types/properties").PropertyMode;
|
|
188
|
+
readonly properties: readonly ["borderTopColor", "borderBottomColor"];
|
|
170
189
|
readonly scale: "colors";
|
|
171
190
|
};
|
|
172
191
|
readonly borderColorLeft: {
|
|
173
192
|
readonly property: "borderLeftColor";
|
|
174
|
-
readonly resolveProperty: (useLogicalProperties: boolean) => import("@codecademy/variance/dist/types/properties").PropertyMode;
|
|
175
193
|
readonly scale: "colors";
|
|
176
194
|
};
|
|
177
195
|
readonly borderColorRight: {
|
|
178
196
|
readonly property: "borderRightColor";
|
|
179
|
-
readonly resolveProperty: (useLogicalProperties: boolean) => import("@codecademy/variance/dist/types/properties").PropertyMode;
|
|
180
197
|
readonly scale: "colors";
|
|
181
198
|
};
|
|
182
199
|
readonly borderColorTop: {
|
|
183
200
|
readonly property: "borderTopColor";
|
|
184
|
-
readonly resolveProperty: (useLogicalProperties: boolean) => import("@codecademy/variance/dist/types/properties").PropertyMode;
|
|
185
201
|
readonly scale: "colors";
|
|
186
202
|
};
|
|
187
203
|
readonly borderColorBottom: {
|
|
188
204
|
readonly property: "borderBottomColor";
|
|
189
|
-
readonly resolveProperty: (useLogicalProperties: boolean) => import("@codecademy/variance/dist/types/properties").PropertyMode;
|
|
190
205
|
readonly scale: "colors";
|
|
191
206
|
};
|
|
192
207
|
}>>, import("@codecademy/variance/dist/types/config").Parser<import("@codecademy/variance/dist/types/config").TransformerMap<{
|
package/package.json
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@codecademy/gamut",
|
|
3
3
|
"description": "Styleguide & Component library for Codecademy",
|
|
4
|
-
"version": "68.0.1-alpha.
|
|
4
|
+
"version": "68.0.1-alpha.588625.0",
|
|
5
5
|
"author": "Codecademy Engineering <dev@codecademy.com>",
|
|
6
6
|
"dependencies": {
|
|
7
|
-
"@codecademy/gamut-icons": "9.54.3-alpha.
|
|
8
|
-
"@codecademy/gamut-illustrations": "0.58.3-alpha.
|
|
9
|
-
"@codecademy/gamut-patterns": "0.10.22-alpha.
|
|
10
|
-
"@codecademy/gamut-styles": "17.11.3-alpha.
|
|
11
|
-
"@codecademy/variance": "0.25.3-alpha.
|
|
7
|
+
"@codecademy/gamut-icons": "9.54.3-alpha.588625.0",
|
|
8
|
+
"@codecademy/gamut-illustrations": "0.58.3-alpha.588625.0",
|
|
9
|
+
"@codecademy/gamut-patterns": "0.10.22-alpha.588625.0",
|
|
10
|
+
"@codecademy/gamut-styles": "17.11.3-alpha.588625.0",
|
|
11
|
+
"@codecademy/variance": "0.25.3-alpha.588625.0",
|
|
12
12
|
"@types/marked": "^4.0.8",
|
|
13
13
|
"@vidstack/react": "^1.12.12",
|
|
14
14
|
"classnames": "^2.2.5",
|
|
@@ -56,5 +56,5 @@
|
|
|
56
56
|
"dist/**/[A-Z]**/[A-Z]*.js",
|
|
57
57
|
"dist/**/[A-Z]**/index.js"
|
|
58
58
|
],
|
|
59
|
-
"gitHead": "
|
|
59
|
+
"gitHead": "2b27f0d68b2b34c30fb172b58607bdb9a63a30c2"
|
|
60
60
|
}
|