@codecademy/gamut 68.0.1-alpha.470613.0 → 68.0.1-alpha.4746be.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/Badge/index.d.ts +14 -2
- package/dist/Box/props.d.ts +144 -28
- package/dist/Button/shared/styles.d.ts +130 -26
- package/dist/Card/elements.d.ts +432 -84
- package/dist/Form/elements/Form.d.ts +130 -26
- package/dist/GridForm/GridFormSections/GridFormSectionBreak.d.ts +144 -28
- package/dist/List/elements.d.ts +144 -28
- package/dist/Menu/elements.d.ts +144 -28
- package/dist/Pagination/AnimatedPaginationButtons.d.ts +130 -26
- package/dist/Pagination/utils.d.ts +130 -26
- package/dist/Toggle/elements.d.ts +14 -2
- package/dist/Typography/Text.d.ts +14 -2
- package/package.json +7 -7
|
@@ -369,11 +369,19 @@ export declare const AnimatedFadeButton: (props: {
|
|
|
369
369
|
readonly property: "zIndex";
|
|
370
370
|
}>;
|
|
371
371
|
borderBottom?: import("@codecademy/variance/dist/types/config").Scale<{
|
|
372
|
-
readonly property:
|
|
372
|
+
readonly property: {
|
|
373
|
+
readonly physical: "borderBottom";
|
|
374
|
+
readonly logical: "borderBlockEnd";
|
|
375
|
+
};
|
|
376
|
+
readonly resolveProperty: (useLogicalProperties: boolean) => import("@codecademy/variance/dist/types/properties").PropertyMode;
|
|
373
377
|
readonly scale: "borders";
|
|
374
378
|
}>;
|
|
375
379
|
borderLeft?: import("@codecademy/variance/dist/types/config").Scale<{
|
|
376
|
-
readonly property:
|
|
380
|
+
readonly property: {
|
|
381
|
+
readonly physical: "borderLeft";
|
|
382
|
+
readonly logical: "borderInlineStart";
|
|
383
|
+
};
|
|
384
|
+
readonly resolveProperty: (useLogicalProperties: boolean) => import("@codecademy/variance/dist/types/properties").PropertyMode;
|
|
377
385
|
readonly scale: "borders";
|
|
378
386
|
}>;
|
|
379
387
|
borderRadius?: import("@codecademy/variance/dist/types/config").Scale<{
|
|
@@ -381,14 +389,22 @@ export declare const AnimatedFadeButton: (props: {
|
|
|
381
389
|
readonly scale: "borderRadii";
|
|
382
390
|
}>;
|
|
383
391
|
borderRight?: import("@codecademy/variance/dist/types/config").Scale<{
|
|
384
|
-
readonly property:
|
|
392
|
+
readonly property: {
|
|
393
|
+
readonly physical: "borderRight";
|
|
394
|
+
readonly logical: "borderInlineEnd";
|
|
395
|
+
};
|
|
396
|
+
readonly resolveProperty: (useLogicalProperties: boolean) => import("@codecademy/variance/dist/types/properties").PropertyMode;
|
|
385
397
|
readonly scale: "borders";
|
|
386
398
|
}>;
|
|
387
399
|
borderStyle?: import("@codecademy/variance/dist/types/config").Scale<{
|
|
388
400
|
readonly property: "borderStyle";
|
|
389
401
|
}>;
|
|
390
402
|
borderTop?: import("@codecademy/variance/dist/types/config").Scale<{
|
|
391
|
-
readonly property:
|
|
403
|
+
readonly property: {
|
|
404
|
+
readonly physical: "borderTop";
|
|
405
|
+
readonly logical: "borderBlockStart";
|
|
406
|
+
};
|
|
407
|
+
readonly resolveProperty: (useLogicalProperties: boolean) => import("@codecademy/variance/dist/types/properties").PropertyMode;
|
|
392
408
|
readonly scale: "borders";
|
|
393
409
|
}>;
|
|
394
410
|
borderWidth?: import("@codecademy/variance/dist/types/config").Scale<{
|
|
@@ -522,89 +538,177 @@ export declare const AnimatedFadeButton: (props: {
|
|
|
522
538
|
}>;
|
|
523
539
|
borderX?: import("@codecademy/variance/dist/types/config").Scale<{
|
|
524
540
|
readonly property: "border";
|
|
525
|
-
readonly properties:
|
|
541
|
+
readonly properties: {
|
|
542
|
+
readonly physical: readonly ["borderLeft", "borderRight"];
|
|
543
|
+
readonly logical: readonly ["borderInlineStart", "borderInlineEnd"];
|
|
544
|
+
};
|
|
545
|
+
readonly resolveProperty: (useLogicalProperties: boolean) => import("@codecademy/variance/dist/types/properties").PropertyMode;
|
|
526
546
|
readonly scale: "borders";
|
|
527
547
|
}>;
|
|
528
548
|
borderY?: import("@codecademy/variance/dist/types/config").Scale<{
|
|
529
549
|
readonly property: "border";
|
|
530
|
-
readonly properties:
|
|
550
|
+
readonly properties: {
|
|
551
|
+
readonly physical: readonly ["borderTop", "borderBottom"];
|
|
552
|
+
readonly logical: readonly ["borderBlockStart", "borderBlockEnd"];
|
|
553
|
+
};
|
|
554
|
+
readonly resolveProperty: (useLogicalProperties: boolean) => import("@codecademy/variance/dist/types/properties").PropertyMode;
|
|
531
555
|
readonly scale: "borders";
|
|
532
556
|
}>;
|
|
533
557
|
borderWidthX?: import("@codecademy/variance/dist/types/config").Scale<{
|
|
534
558
|
readonly property: "borderWidth";
|
|
535
|
-
readonly properties:
|
|
559
|
+
readonly properties: {
|
|
560
|
+
readonly physical: readonly ["borderLeftWidth", "borderRightWidth"];
|
|
561
|
+
readonly logical: readonly ["borderInlineStartWidth", "borderInlineEndWidth"];
|
|
562
|
+
};
|
|
563
|
+
readonly resolveProperty: (useLogicalProperties: boolean) => import("@codecademy/variance/dist/types/properties").PropertyMode;
|
|
536
564
|
}>;
|
|
537
565
|
borderWidthY?: import("@codecademy/variance/dist/types/config").Scale<{
|
|
538
566
|
readonly property: "borderWidth";
|
|
539
|
-
readonly properties:
|
|
567
|
+
readonly properties: {
|
|
568
|
+
readonly physical: readonly ["borderTopWidth", "borderBottomWidth"];
|
|
569
|
+
readonly logical: readonly ["borderBlockStartWidth", "borderBlockEndWidth"];
|
|
570
|
+
};
|
|
571
|
+
readonly resolveProperty: (useLogicalProperties: boolean) => import("@codecademy/variance/dist/types/properties").PropertyMode;
|
|
540
572
|
}>;
|
|
541
573
|
borderWidthLeft?: import("@codecademy/variance/dist/types/config").Scale<{
|
|
542
|
-
readonly property:
|
|
574
|
+
readonly property: {
|
|
575
|
+
readonly physical: "borderLeftWidth";
|
|
576
|
+
readonly logical: "borderInlineStartWidth";
|
|
577
|
+
};
|
|
578
|
+
readonly resolveProperty: (useLogicalProperties: boolean) => import("@codecademy/variance/dist/types/properties").PropertyMode;
|
|
543
579
|
}>;
|
|
544
580
|
borderWidthRight?: import("@codecademy/variance/dist/types/config").Scale<{
|
|
545
|
-
readonly property:
|
|
581
|
+
readonly property: {
|
|
582
|
+
readonly physical: "borderRightWidth";
|
|
583
|
+
readonly logical: "borderInlineEndWidth";
|
|
584
|
+
};
|
|
585
|
+
readonly resolveProperty: (useLogicalProperties: boolean) => import("@codecademy/variance/dist/types/properties").PropertyMode;
|
|
546
586
|
}>;
|
|
547
587
|
borderWidthTop?: import("@codecademy/variance/dist/types/config").Scale<{
|
|
548
|
-
readonly property:
|
|
588
|
+
readonly property: {
|
|
589
|
+
readonly physical: "borderTopWidth";
|
|
590
|
+
readonly logical: "borderBlockStartWidth";
|
|
591
|
+
};
|
|
592
|
+
readonly resolveProperty: (useLogicalProperties: boolean) => import("@codecademy/variance/dist/types/properties").PropertyMode;
|
|
549
593
|
}>;
|
|
550
594
|
borderWidthBottom?: import("@codecademy/variance/dist/types/config").Scale<{
|
|
551
|
-
readonly property:
|
|
595
|
+
readonly property: {
|
|
596
|
+
readonly physical: "borderBottomWidth";
|
|
597
|
+
readonly logical: "borderBlockEndWidth";
|
|
598
|
+
};
|
|
599
|
+
readonly resolveProperty: (useLogicalProperties: boolean) => import("@codecademy/variance/dist/types/properties").PropertyMode;
|
|
552
600
|
}>;
|
|
553
601
|
borderRadiusLeft?: import("@codecademy/variance/dist/types/config").Scale<{
|
|
554
602
|
readonly property: "borderRadius";
|
|
555
|
-
readonly properties:
|
|
603
|
+
readonly properties: {
|
|
604
|
+
readonly physical: readonly ["borderTopLeftRadius", "borderBottomLeftRadius"];
|
|
605
|
+
readonly logical: readonly ["borderStartStartRadius", "borderEndStartRadius"];
|
|
606
|
+
};
|
|
607
|
+
readonly resolveProperty: (useLogicalProperties: boolean) => import("@codecademy/variance/dist/types/properties").PropertyMode;
|
|
556
608
|
readonly scale: "borderRadii";
|
|
557
609
|
}>;
|
|
558
610
|
borderRadiusTop?: import("@codecademy/variance/dist/types/config").Scale<{
|
|
559
611
|
readonly property: "borderRadius";
|
|
560
|
-
readonly properties:
|
|
612
|
+
readonly properties: {
|
|
613
|
+
readonly physical: readonly ["borderTopLeftRadius", "borderTopRightRadius"];
|
|
614
|
+
readonly logical: readonly ["borderStartStartRadius", "borderStartEndRadius"];
|
|
615
|
+
};
|
|
616
|
+
readonly resolveProperty: (useLogicalProperties: boolean) => import("@codecademy/variance/dist/types/properties").PropertyMode;
|
|
561
617
|
readonly scale: "borderRadii";
|
|
562
618
|
}>;
|
|
563
619
|
borderRadiusBottom?: import("@codecademy/variance/dist/types/config").Scale<{
|
|
564
620
|
readonly property: "borderRadius";
|
|
565
|
-
readonly properties:
|
|
621
|
+
readonly properties: {
|
|
622
|
+
readonly physical: readonly ["borderBottomLeftRadius", "borderBottomRightRadius"];
|
|
623
|
+
readonly logical: readonly ["borderEndStartRadius", "borderEndEndRadius"];
|
|
624
|
+
};
|
|
625
|
+
readonly resolveProperty: (useLogicalProperties: boolean) => import("@codecademy/variance/dist/types/properties").PropertyMode;
|
|
566
626
|
readonly scale: "borderRadii";
|
|
567
627
|
}>;
|
|
568
628
|
borderRadiusRight?: import("@codecademy/variance/dist/types/config").Scale<{
|
|
569
629
|
readonly property: "borderRadius";
|
|
570
|
-
readonly properties:
|
|
630
|
+
readonly properties: {
|
|
631
|
+
readonly physical: readonly ["borderTopRightRadius", "borderBottomRightRadius"];
|
|
632
|
+
readonly logical: readonly ["borderStartEndRadius", "borderEndEndRadius"];
|
|
633
|
+
};
|
|
634
|
+
readonly resolveProperty: (useLogicalProperties: boolean) => import("@codecademy/variance/dist/types/properties").PropertyMode;
|
|
571
635
|
readonly scale: "borderRadii";
|
|
572
636
|
}>;
|
|
573
637
|
borderRadiusTopLeft?: import("@codecademy/variance/dist/types/config").Scale<{
|
|
574
|
-
readonly property:
|
|
638
|
+
readonly property: {
|
|
639
|
+
readonly physical: "borderTopLeftRadius";
|
|
640
|
+
readonly logical: "borderStartStartRadius";
|
|
641
|
+
};
|
|
642
|
+
readonly resolveProperty: (useLogicalProperties: boolean) => import("@codecademy/variance/dist/types/properties").PropertyMode;
|
|
575
643
|
readonly scale: "borderRadii";
|
|
576
644
|
}>;
|
|
577
645
|
borderRadiusTopRight?: import("@codecademy/variance/dist/types/config").Scale<{
|
|
578
|
-
readonly property:
|
|
646
|
+
readonly property: {
|
|
647
|
+
readonly physical: "borderTopRightRadius";
|
|
648
|
+
readonly logical: "borderStartEndRadius";
|
|
649
|
+
};
|
|
650
|
+
readonly resolveProperty: (useLogicalProperties: boolean) => import("@codecademy/variance/dist/types/properties").PropertyMode;
|
|
579
651
|
readonly scale: "borderRadii";
|
|
580
652
|
}>;
|
|
581
653
|
borderRadiusBottomRight?: import("@codecademy/variance/dist/types/config").Scale<{
|
|
582
|
-
readonly property:
|
|
654
|
+
readonly property: {
|
|
655
|
+
readonly physical: "borderBottomRightRadius";
|
|
656
|
+
readonly logical: "borderEndEndRadius";
|
|
657
|
+
};
|
|
658
|
+
readonly resolveProperty: (useLogicalProperties: boolean) => import("@codecademy/variance/dist/types/properties").PropertyMode;
|
|
583
659
|
readonly scale: "borderRadii";
|
|
584
660
|
}>;
|
|
585
661
|
borderRadiusBottomLeft?: import("@codecademy/variance/dist/types/config").Scale<{
|
|
586
|
-
readonly property:
|
|
662
|
+
readonly property: {
|
|
663
|
+
readonly physical: "borderBottomLeftRadius";
|
|
664
|
+
readonly logical: "borderEndStartRadius";
|
|
665
|
+
};
|
|
666
|
+
readonly resolveProperty: (useLogicalProperties: boolean) => import("@codecademy/variance/dist/types/properties").PropertyMode;
|
|
587
667
|
readonly scale: "borderRadii";
|
|
588
668
|
}>;
|
|
589
669
|
borderStyleX?: import("@codecademy/variance/dist/types/config").Scale<{
|
|
590
670
|
readonly property: "borderStyle";
|
|
591
|
-
readonly properties:
|
|
671
|
+
readonly properties: {
|
|
672
|
+
readonly physical: readonly ["borderLeftStyle", "borderRightStyle"];
|
|
673
|
+
readonly logical: readonly ["borderInlineStartStyle", "borderInlineEndStyle"];
|
|
674
|
+
};
|
|
675
|
+
readonly resolveProperty: (useLogicalProperties: boolean) => import("@codecademy/variance/dist/types/properties").PropertyMode;
|
|
592
676
|
}>;
|
|
593
677
|
borderStyleY?: import("@codecademy/variance/dist/types/config").Scale<{
|
|
594
678
|
readonly property: "borderStyle";
|
|
595
|
-
readonly properties:
|
|
679
|
+
readonly properties: {
|
|
680
|
+
readonly physical: readonly ["borderTopStyle", "borderBottomStyle"];
|
|
681
|
+
readonly logical: readonly ["borderBlockStartStyle", "borderBlockEndStyle"];
|
|
682
|
+
};
|
|
683
|
+
readonly resolveProperty: (useLogicalProperties: boolean) => import("@codecademy/variance/dist/types/properties").PropertyMode;
|
|
596
684
|
}>;
|
|
597
685
|
borderStyleLeft?: import("@codecademy/variance/dist/types/config").Scale<{
|
|
598
|
-
readonly property:
|
|
686
|
+
readonly property: {
|
|
687
|
+
readonly physical: "borderLeftStyle";
|
|
688
|
+
readonly logical: "borderInlineStartStyle";
|
|
689
|
+
};
|
|
690
|
+
readonly resolveProperty: (useLogicalProperties: boolean) => import("@codecademy/variance/dist/types/properties").PropertyMode;
|
|
599
691
|
}>;
|
|
600
692
|
borderStyleRight?: import("@codecademy/variance/dist/types/config").Scale<{
|
|
601
|
-
readonly property:
|
|
693
|
+
readonly property: {
|
|
694
|
+
readonly physical: "borderRightStyle";
|
|
695
|
+
readonly logical: "borderInlineEndStyle";
|
|
696
|
+
};
|
|
697
|
+
readonly resolveProperty: (useLogicalProperties: boolean) => import("@codecademy/variance/dist/types/properties").PropertyMode;
|
|
602
698
|
}>;
|
|
603
699
|
borderStyleTop?: import("@codecademy/variance/dist/types/config").Scale<{
|
|
604
|
-
readonly property:
|
|
700
|
+
readonly property: {
|
|
701
|
+
readonly physical: "borderTopStyle";
|
|
702
|
+
readonly logical: "borderBlockStartStyle";
|
|
703
|
+
};
|
|
704
|
+
readonly resolveProperty: (useLogicalProperties: boolean) => import("@codecademy/variance/dist/types/properties").PropertyMode;
|
|
605
705
|
}>;
|
|
606
706
|
borderStyleBottom?: import("@codecademy/variance/dist/types/config").Scale<{
|
|
607
|
-
readonly property:
|
|
707
|
+
readonly property: {
|
|
708
|
+
readonly physical: "borderBottomStyle";
|
|
709
|
+
readonly logical: "borderBlockEndStyle";
|
|
710
|
+
};
|
|
711
|
+
readonly resolveProperty: (useLogicalProperties: boolean) => import("@codecademy/variance/dist/types/properties").PropertyMode;
|
|
608
712
|
}>;
|
|
609
713
|
dimensions?: import("@codecademy/variance/dist/types/config").Scale<{
|
|
610
714
|
readonly property: "width";
|
|
@@ -381,11 +381,19 @@ export declare const createAnimatedFadeButton: (WrappedComponent: typeof Paginat
|
|
|
381
381
|
readonly property: "zIndex";
|
|
382
382
|
}>;
|
|
383
383
|
borderBottom?: import("@codecademy/variance/dist/types/config").Scale<{
|
|
384
|
-
readonly property:
|
|
384
|
+
readonly property: {
|
|
385
|
+
readonly physical: "borderBottom";
|
|
386
|
+
readonly logical: "borderBlockEnd";
|
|
387
|
+
};
|
|
388
|
+
readonly resolveProperty: (useLogicalProperties: boolean) => import("@codecademy/variance/dist/types/properties").PropertyMode;
|
|
385
389
|
readonly scale: "borders";
|
|
386
390
|
}>;
|
|
387
391
|
borderLeft?: import("@codecademy/variance/dist/types/config").Scale<{
|
|
388
|
-
readonly property:
|
|
392
|
+
readonly property: {
|
|
393
|
+
readonly physical: "borderLeft";
|
|
394
|
+
readonly logical: "borderInlineStart";
|
|
395
|
+
};
|
|
396
|
+
readonly resolveProperty: (useLogicalProperties: boolean) => import("@codecademy/variance/dist/types/properties").PropertyMode;
|
|
389
397
|
readonly scale: "borders";
|
|
390
398
|
}>;
|
|
391
399
|
borderRadius?: import("@codecademy/variance/dist/types/config").Scale<{
|
|
@@ -393,14 +401,22 @@ export declare const createAnimatedFadeButton: (WrappedComponent: typeof Paginat
|
|
|
393
401
|
readonly scale: "borderRadii";
|
|
394
402
|
}>;
|
|
395
403
|
borderRight?: import("@codecademy/variance/dist/types/config").Scale<{
|
|
396
|
-
readonly property:
|
|
404
|
+
readonly property: {
|
|
405
|
+
readonly physical: "borderRight";
|
|
406
|
+
readonly logical: "borderInlineEnd";
|
|
407
|
+
};
|
|
408
|
+
readonly resolveProperty: (useLogicalProperties: boolean) => import("@codecademy/variance/dist/types/properties").PropertyMode;
|
|
397
409
|
readonly scale: "borders";
|
|
398
410
|
}>;
|
|
399
411
|
borderStyle?: import("@codecademy/variance/dist/types/config").Scale<{
|
|
400
412
|
readonly property: "borderStyle";
|
|
401
413
|
}>;
|
|
402
414
|
borderTop?: import("@codecademy/variance/dist/types/config").Scale<{
|
|
403
|
-
readonly property:
|
|
415
|
+
readonly property: {
|
|
416
|
+
readonly physical: "borderTop";
|
|
417
|
+
readonly logical: "borderBlockStart";
|
|
418
|
+
};
|
|
419
|
+
readonly resolveProperty: (useLogicalProperties: boolean) => import("@codecademy/variance/dist/types/properties").PropertyMode;
|
|
404
420
|
readonly scale: "borders";
|
|
405
421
|
}>;
|
|
406
422
|
borderWidth?: import("@codecademy/variance/dist/types/config").Scale<{
|
|
@@ -534,89 +550,177 @@ export declare const createAnimatedFadeButton: (WrappedComponent: typeof Paginat
|
|
|
534
550
|
}>;
|
|
535
551
|
borderX?: import("@codecademy/variance/dist/types/config").Scale<{
|
|
536
552
|
readonly property: "border";
|
|
537
|
-
readonly properties:
|
|
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;
|
|
538
558
|
readonly scale: "borders";
|
|
539
559
|
}>;
|
|
540
560
|
borderY?: import("@codecademy/variance/dist/types/config").Scale<{
|
|
541
561
|
readonly property: "border";
|
|
542
|
-
readonly properties:
|
|
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;
|
|
543
567
|
readonly scale: "borders";
|
|
544
568
|
}>;
|
|
545
569
|
borderWidthX?: import("@codecademy/variance/dist/types/config").Scale<{
|
|
546
570
|
readonly property: "borderWidth";
|
|
547
|
-
readonly properties:
|
|
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;
|
|
548
576
|
}>;
|
|
549
577
|
borderWidthY?: import("@codecademy/variance/dist/types/config").Scale<{
|
|
550
578
|
readonly property: "borderWidth";
|
|
551
|
-
readonly properties:
|
|
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;
|
|
552
584
|
}>;
|
|
553
585
|
borderWidthLeft?: import("@codecademy/variance/dist/types/config").Scale<{
|
|
554
|
-
readonly property:
|
|
586
|
+
readonly property: {
|
|
587
|
+
readonly physical: "borderLeftWidth";
|
|
588
|
+
readonly logical: "borderInlineStartWidth";
|
|
589
|
+
};
|
|
590
|
+
readonly resolveProperty: (useLogicalProperties: boolean) => import("@codecademy/variance/dist/types/properties").PropertyMode;
|
|
555
591
|
}>;
|
|
556
592
|
borderWidthRight?: import("@codecademy/variance/dist/types/config").Scale<{
|
|
557
|
-
readonly property:
|
|
593
|
+
readonly property: {
|
|
594
|
+
readonly physical: "borderRightWidth";
|
|
595
|
+
readonly logical: "borderInlineEndWidth";
|
|
596
|
+
};
|
|
597
|
+
readonly resolveProperty: (useLogicalProperties: boolean) => import("@codecademy/variance/dist/types/properties").PropertyMode;
|
|
558
598
|
}>;
|
|
559
599
|
borderWidthTop?: import("@codecademy/variance/dist/types/config").Scale<{
|
|
560
|
-
readonly property:
|
|
600
|
+
readonly property: {
|
|
601
|
+
readonly physical: "borderTopWidth";
|
|
602
|
+
readonly logical: "borderBlockStartWidth";
|
|
603
|
+
};
|
|
604
|
+
readonly resolveProperty: (useLogicalProperties: boolean) => import("@codecademy/variance/dist/types/properties").PropertyMode;
|
|
561
605
|
}>;
|
|
562
606
|
borderWidthBottom?: import("@codecademy/variance/dist/types/config").Scale<{
|
|
563
|
-
readonly property:
|
|
607
|
+
readonly property: {
|
|
608
|
+
readonly physical: "borderBottomWidth";
|
|
609
|
+
readonly logical: "borderBlockEndWidth";
|
|
610
|
+
};
|
|
611
|
+
readonly resolveProperty: (useLogicalProperties: boolean) => import("@codecademy/variance/dist/types/properties").PropertyMode;
|
|
564
612
|
}>;
|
|
565
613
|
borderRadiusLeft?: import("@codecademy/variance/dist/types/config").Scale<{
|
|
566
614
|
readonly property: "borderRadius";
|
|
567
|
-
readonly properties:
|
|
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;
|
|
568
620
|
readonly scale: "borderRadii";
|
|
569
621
|
}>;
|
|
570
622
|
borderRadiusTop?: import("@codecademy/variance/dist/types/config").Scale<{
|
|
571
623
|
readonly property: "borderRadius";
|
|
572
|
-
readonly properties:
|
|
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;
|
|
573
629
|
readonly scale: "borderRadii";
|
|
574
630
|
}>;
|
|
575
631
|
borderRadiusBottom?: import("@codecademy/variance/dist/types/config").Scale<{
|
|
576
632
|
readonly property: "borderRadius";
|
|
577
|
-
readonly properties:
|
|
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;
|
|
578
638
|
readonly scale: "borderRadii";
|
|
579
639
|
}>;
|
|
580
640
|
borderRadiusRight?: import("@codecademy/variance/dist/types/config").Scale<{
|
|
581
641
|
readonly property: "borderRadius";
|
|
582
|
-
readonly properties:
|
|
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;
|
|
583
647
|
readonly scale: "borderRadii";
|
|
584
648
|
}>;
|
|
585
649
|
borderRadiusTopLeft?: import("@codecademy/variance/dist/types/config").Scale<{
|
|
586
|
-
readonly property:
|
|
650
|
+
readonly property: {
|
|
651
|
+
readonly physical: "borderTopLeftRadius";
|
|
652
|
+
readonly logical: "borderStartStartRadius";
|
|
653
|
+
};
|
|
654
|
+
readonly resolveProperty: (useLogicalProperties: boolean) => import("@codecademy/variance/dist/types/properties").PropertyMode;
|
|
587
655
|
readonly scale: "borderRadii";
|
|
588
656
|
}>;
|
|
589
657
|
borderRadiusTopRight?: import("@codecademy/variance/dist/types/config").Scale<{
|
|
590
|
-
readonly property:
|
|
658
|
+
readonly property: {
|
|
659
|
+
readonly physical: "borderTopRightRadius";
|
|
660
|
+
readonly logical: "borderStartEndRadius";
|
|
661
|
+
};
|
|
662
|
+
readonly resolveProperty: (useLogicalProperties: boolean) => import("@codecademy/variance/dist/types/properties").PropertyMode;
|
|
591
663
|
readonly scale: "borderRadii";
|
|
592
664
|
}>;
|
|
593
665
|
borderRadiusBottomRight?: import("@codecademy/variance/dist/types/config").Scale<{
|
|
594
|
-
readonly property:
|
|
666
|
+
readonly property: {
|
|
667
|
+
readonly physical: "borderBottomRightRadius";
|
|
668
|
+
readonly logical: "borderEndEndRadius";
|
|
669
|
+
};
|
|
670
|
+
readonly resolveProperty: (useLogicalProperties: boolean) => import("@codecademy/variance/dist/types/properties").PropertyMode;
|
|
595
671
|
readonly scale: "borderRadii";
|
|
596
672
|
}>;
|
|
597
673
|
borderRadiusBottomLeft?: import("@codecademy/variance/dist/types/config").Scale<{
|
|
598
|
-
readonly property:
|
|
674
|
+
readonly property: {
|
|
675
|
+
readonly physical: "borderBottomLeftRadius";
|
|
676
|
+
readonly logical: "borderEndStartRadius";
|
|
677
|
+
};
|
|
678
|
+
readonly resolveProperty: (useLogicalProperties: boolean) => import("@codecademy/variance/dist/types/properties").PropertyMode;
|
|
599
679
|
readonly scale: "borderRadii";
|
|
600
680
|
}>;
|
|
601
681
|
borderStyleX?: import("@codecademy/variance/dist/types/config").Scale<{
|
|
602
682
|
readonly property: "borderStyle";
|
|
603
|
-
readonly properties:
|
|
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;
|
|
604
688
|
}>;
|
|
605
689
|
borderStyleY?: import("@codecademy/variance/dist/types/config").Scale<{
|
|
606
690
|
readonly property: "borderStyle";
|
|
607
|
-
readonly properties:
|
|
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;
|
|
608
696
|
}>;
|
|
609
697
|
borderStyleLeft?: import("@codecademy/variance/dist/types/config").Scale<{
|
|
610
|
-
readonly property:
|
|
698
|
+
readonly property: {
|
|
699
|
+
readonly physical: "borderLeftStyle";
|
|
700
|
+
readonly logical: "borderInlineStartStyle";
|
|
701
|
+
};
|
|
702
|
+
readonly resolveProperty: (useLogicalProperties: boolean) => import("@codecademy/variance/dist/types/properties").PropertyMode;
|
|
611
703
|
}>;
|
|
612
704
|
borderStyleRight?: import("@codecademy/variance/dist/types/config").Scale<{
|
|
613
|
-
readonly property:
|
|
705
|
+
readonly property: {
|
|
706
|
+
readonly physical: "borderRightStyle";
|
|
707
|
+
readonly logical: "borderInlineEndStyle";
|
|
708
|
+
};
|
|
709
|
+
readonly resolveProperty: (useLogicalProperties: boolean) => import("@codecademy/variance/dist/types/properties").PropertyMode;
|
|
614
710
|
}>;
|
|
615
711
|
borderStyleTop?: import("@codecademy/variance/dist/types/config").Scale<{
|
|
616
|
-
readonly property:
|
|
712
|
+
readonly property: {
|
|
713
|
+
readonly physical: "borderTopStyle";
|
|
714
|
+
readonly logical: "borderBlockStartStyle";
|
|
715
|
+
};
|
|
716
|
+
readonly resolveProperty: (useLogicalProperties: boolean) => import("@codecademy/variance/dist/types/properties").PropertyMode;
|
|
617
717
|
}>;
|
|
618
718
|
borderStyleBottom?: import("@codecademy/variance/dist/types/config").Scale<{
|
|
619
|
-
readonly property:
|
|
719
|
+
readonly property: {
|
|
720
|
+
readonly physical: "borderBottomStyle";
|
|
721
|
+
readonly logical: "borderBlockEndStyle";
|
|
722
|
+
};
|
|
723
|
+
readonly resolveProperty: (useLogicalProperties: boolean) => import("@codecademy/variance/dist/types/properties").PropertyMode;
|
|
620
724
|
}>;
|
|
621
725
|
dimensions?: import("@codecademy/variance/dist/types/config").Scale<{
|
|
622
726
|
readonly property: "width";
|
|
@@ -143,28 +143,40 @@ 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:
|
|
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;
|
|
147
151
|
readonly scale: "colors";
|
|
148
152
|
}>;
|
|
149
153
|
borderColorY?: import("@codecademy/variance/dist/types/config").Scale<{
|
|
150
154
|
readonly property: "borderColor";
|
|
151
|
-
readonly properties:
|
|
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;
|
|
152
160
|
readonly scale: "colors";
|
|
153
161
|
}>;
|
|
154
162
|
borderColorLeft?: import("@codecademy/variance/dist/types/config").Scale<{
|
|
155
163
|
readonly property: "borderLeftColor";
|
|
164
|
+
readonly resolveProperty: (useLogicalProperties: boolean) => import("@codecademy/variance/dist/types/properties").PropertyMode;
|
|
156
165
|
readonly scale: "colors";
|
|
157
166
|
}>;
|
|
158
167
|
borderColorRight?: import("@codecademy/variance/dist/types/config").Scale<{
|
|
159
168
|
readonly property: "borderRightColor";
|
|
169
|
+
readonly resolveProperty: (useLogicalProperties: boolean) => import("@codecademy/variance/dist/types/properties").PropertyMode;
|
|
160
170
|
readonly scale: "colors";
|
|
161
171
|
}>;
|
|
162
172
|
borderColorTop?: import("@codecademy/variance/dist/types/config").Scale<{
|
|
163
173
|
readonly property: "borderTopColor";
|
|
174
|
+
readonly resolveProperty: (useLogicalProperties: boolean) => import("@codecademy/variance/dist/types/properties").PropertyMode;
|
|
164
175
|
readonly scale: "colors";
|
|
165
176
|
}>;
|
|
166
177
|
borderColorBottom?: import("@codecademy/variance/dist/types/config").Scale<{
|
|
167
178
|
readonly property: "borderBottomColor";
|
|
179
|
+
readonly resolveProperty: (useLogicalProperties: boolean) => import("@codecademy/variance/dist/types/properties").PropertyMode;
|
|
168
180
|
readonly scale: "colors";
|
|
169
181
|
}>;
|
|
170
182
|
}, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
@@ -153,28 +153,40 @@ declare const textProps: import("@codecademy/variance/dist/types/config").Parser
|
|
|
153
153
|
};
|
|
154
154
|
readonly borderColorX: {
|
|
155
155
|
readonly property: "borderColor";
|
|
156
|
-
readonly properties:
|
|
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;
|
|
157
161
|
readonly scale: "colors";
|
|
158
162
|
};
|
|
159
163
|
readonly borderColorY: {
|
|
160
164
|
readonly property: "borderColor";
|
|
161
|
-
readonly properties:
|
|
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;
|
|
162
170
|
readonly scale: "colors";
|
|
163
171
|
};
|
|
164
172
|
readonly borderColorLeft: {
|
|
165
173
|
readonly property: "borderLeftColor";
|
|
174
|
+
readonly resolveProperty: (useLogicalProperties: boolean) => import("@codecademy/variance/dist/types/properties").PropertyMode;
|
|
166
175
|
readonly scale: "colors";
|
|
167
176
|
};
|
|
168
177
|
readonly borderColorRight: {
|
|
169
178
|
readonly property: "borderRightColor";
|
|
179
|
+
readonly resolveProperty: (useLogicalProperties: boolean) => import("@codecademy/variance/dist/types/properties").PropertyMode;
|
|
170
180
|
readonly scale: "colors";
|
|
171
181
|
};
|
|
172
182
|
readonly borderColorTop: {
|
|
173
183
|
readonly property: "borderTopColor";
|
|
184
|
+
readonly resolveProperty: (useLogicalProperties: boolean) => import("@codecademy/variance/dist/types/properties").PropertyMode;
|
|
174
185
|
readonly scale: "colors";
|
|
175
186
|
};
|
|
176
187
|
readonly borderColorBottom: {
|
|
177
188
|
readonly property: "borderBottomColor";
|
|
189
|
+
readonly resolveProperty: (useLogicalProperties: boolean) => import("@codecademy/variance/dist/types/properties").PropertyMode;
|
|
178
190
|
readonly scale: "colors";
|
|
179
191
|
};
|
|
180
192
|
}>>, 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.4746be.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.4746be.0",
|
|
8
|
+
"@codecademy/gamut-illustrations": "0.58.3-alpha.4746be.0",
|
|
9
|
+
"@codecademy/gamut-patterns": "0.10.22-alpha.4746be.0",
|
|
10
|
+
"@codecademy/gamut-styles": "17.11.3-alpha.4746be.0",
|
|
11
|
+
"@codecademy/variance": "0.25.3-alpha.4746be.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": "cb33dc6a45070d633af69f28a74cb3e059cd8fab"
|
|
60
60
|
}
|