@codecademy/gamut-styles 16.1.4 → 16.1.5-alpha.e41bcc.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.
@@ -408,6 +408,20 @@ export declare const layout: {
408
408
  readonly property: "verticalAlign";
409
409
  };
410
410
  };
411
+ export declare const list: {
412
+ readonly listStyle: {
413
+ readonly property: "listStyle";
414
+ };
415
+ readonly listStyleType: {
416
+ readonly property: "listStyleType";
417
+ };
418
+ readonly listStylePosition: {
419
+ readonly property: "listStylePosition";
420
+ };
421
+ readonly listStyleImage: {
422
+ readonly property: "listStyleImage";
423
+ };
424
+ };
411
425
  export declare const typography: {
412
426
  readonly fontFamily: {
413
427
  readonly property: "fontFamily";
@@ -571,6 +585,18 @@ export declare const space: {
571
585
  };
572
586
  };
573
587
  export declare const all: {
588
+ listStyle: {
589
+ readonly property: "listStyle";
590
+ };
591
+ listStyleType: {
592
+ readonly property: "listStyleType";
593
+ };
594
+ listStylePosition: {
595
+ readonly property: "listStylePosition";
596
+ };
597
+ listStyleImage: {
598
+ readonly property: "listStyleImage";
599
+ };
574
600
  color: {
575
601
  readonly property: "color";
576
602
  readonly scale: "colors";
@@ -367,6 +367,20 @@ export var layout = _objectSpread(_objectSpread(_objectSpread({
367
367
  property: 'verticalAlign'
368
368
  }
369
369
  }, selfAlignments), gridItems), flexItems);
370
+ export var list = {
371
+ listStyle: {
372
+ property: 'listStyle'
373
+ },
374
+ listStyleType: {
375
+ property: 'listStyleType'
376
+ },
377
+ listStylePosition: {
378
+ property: 'listStylePosition'
379
+ },
380
+ listStyleImage: {
381
+ property: 'listStyleImage'
382
+ }
383
+ };
370
384
  export var typography = {
371
385
  fontFamily: {
372
386
  property: 'fontFamily',
@@ -468,4 +482,4 @@ export var padding = {
468
482
  }
469
483
  };
470
484
  export var space = _objectSpread(_objectSpread({}, margin), padding);
471
- export var all = _objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread({}, typography), space), shadows), grid), flex), layout), positioning), border), background), color);
485
+ export var all = _objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread({}, typography), space), shadows), grid), flex), layout), positioning), border), background), color), list);
@@ -507,6 +507,20 @@ export declare const border: import("@codecademy/variance/dist/types/config").Pa
507
507
  readonly property: "borderBottomStyle";
508
508
  };
509
509
  }>>;
510
+ export declare const list: import("@codecademy/variance/dist/types/config").Parser<import("@codecademy/variance/dist/types/config").TransformerMap<{
511
+ readonly listStyle: {
512
+ readonly property: "listStyle";
513
+ };
514
+ readonly listStyleType: {
515
+ readonly property: "listStyleType";
516
+ };
517
+ readonly listStylePosition: {
518
+ readonly property: "listStylePosition";
519
+ };
520
+ readonly listStyleImage: {
521
+ readonly property: "listStyleImage";
522
+ };
523
+ }>>;
510
524
  /** Sub Groups */
511
525
  export declare const padding: import("@codecademy/variance/dist/types/config").Parser<import("@codecademy/variance/dist/types/config").TransformerMap<{
512
526
  readonly p: {
@@ -574,6 +588,18 @@ export declare const margin: import("@codecademy/variance/dist/types/config").Pa
574
588
  }>>;
575
589
  /** CSS */
576
590
  export declare const css: import("@codecademy/variance/dist/types/config").CSS<import("@codecademy/variance/dist/types/config").Parser<import("@codecademy/variance/dist/types/config").TransformerMap<{
591
+ listStyle: {
592
+ readonly property: "listStyle";
593
+ };
594
+ listStyleType: {
595
+ readonly property: "listStyleType";
596
+ };
597
+ listStylePosition: {
598
+ readonly property: "listStylePosition";
599
+ };
600
+ listStyleImage: {
601
+ readonly property: "listStyleImage";
602
+ };
577
603
  color: {
578
604
  readonly property: "color";
579
605
  readonly scale: "colors";
@@ -1004,6 +1030,18 @@ export declare const css: import("@codecademy/variance/dist/types/config").CSS<i
1004
1030
  };
1005
1031
  }>>>;
1006
1032
  export declare const variant: import("@codecademy/variance/dist/types/config").Variant<import("@codecademy/variance/dist/types/config").Parser<import("@codecademy/variance/dist/types/config").TransformerMap<{
1033
+ listStyle: {
1034
+ readonly property: "listStyle";
1035
+ };
1036
+ listStyleType: {
1037
+ readonly property: "listStyleType";
1038
+ };
1039
+ listStylePosition: {
1040
+ readonly property: "listStylePosition";
1041
+ };
1042
+ listStyleImage: {
1043
+ readonly property: "listStyleImage";
1044
+ };
1007
1045
  color: {
1008
1046
  readonly property: "color";
1009
1047
  readonly scale: "colors";
@@ -1434,6 +1472,18 @@ export declare const variant: import("@codecademy/variance/dist/types/config").V
1434
1472
  };
1435
1473
  }>>>;
1436
1474
  export declare const states: import("@codecademy/variance/dist/types/config").States<import("@codecademy/variance/dist/types/config").Parser<import("@codecademy/variance/dist/types/config").TransformerMap<{
1475
+ listStyle: {
1476
+ readonly property: "listStyle";
1477
+ };
1478
+ listStyleType: {
1479
+ readonly property: "listStyleType";
1480
+ };
1481
+ listStylePosition: {
1482
+ readonly property: "listStylePosition";
1483
+ };
1484
+ listStyleImage: {
1485
+ readonly property: "listStyleImage";
1486
+ };
1437
1487
  color: {
1438
1488
  readonly property: "color";
1439
1489
  readonly scale: "colors";
@@ -12,6 +12,7 @@ export var color = variance.create(PROPERTIES.color);
12
12
  export var shadow = variance.create(PROPERTIES.shadows);
13
13
  export var space = variance.create(PROPERTIES.space);
14
14
  export var border = variance.create(PROPERTIES.border);
15
+ export var list = variance.create(PROPERTIES.list);
15
16
 
16
17
  /** Sub Groups */
17
18
  export var padding = variance.create(PROPERTIES.padding);
@@ -1,11 +1,11 @@
1
1
  /// <reference types="react" />
2
2
  import { ThemeProps } from '@codecademy/variance';
3
- declare const allPropnames: ["mode", "variant", "p" | "fontSize" | "fontFamily" | "lineHeight" | "fontWeight" | "color" | "background" | "alignContent" | "alignItems" | "alignSelf" | "backgroundImage" | "backgroundPosition" | "backgroundRepeat" | "backgroundSize" | "bottom" | "boxShadow" | "columnGap" | "display" | "flexBasis" | "flexDirection" | "flexGrow" | "flexShrink" | "flexWrap" | "fontStyle" | "gridAutoColumns" | "gridAutoFlow" | "gridAutoRows" | "gridColumnEnd" | "gridColumnStart" | "gridRowEnd" | "gridRowStart" | "gridTemplateAreas" | "gridTemplateColumns" | "gridTemplateRows" | "height" | "inset" | "justifyContent" | "justifyItems" | "justifySelf" | "left" | "letterSpacing" | "maxHeight" | "maxWidth" | "minHeight" | "minWidth" | "opacity" | "order" | "overflowX" | "overflowY" | "position" | "right" | "rowGap" | "textAlign" | "textShadow" | "textTransform" | "top" | "verticalAlign" | "whiteSpace" | "width" | "zIndex" | "border" | "borderBottom" | "borderColor" | "borderLeft" | "borderRadius" | "borderRight" | "borderStyle" | "borderTop" | "borderWidth" | "flex" | "gap" | "gridArea" | "gridColumn" | "gridRow" | "overflow" | "textDecoration" | "dimensions" | "textColor" | "bg" | "borderColorX" | "borderColorY" | "borderColorLeft" | "borderColorRight" | "borderColorTop" | "borderColorBottom" | "px" | "py" | "pt" | "pb" | "pr" | "pl" | "m" | "mx" | "my" | "mt" | "mb" | "mr" | "ml" | "borderX" | "borderY" | "borderWidthX" | "borderWidthY" | "borderWidthLeft" | "borderWidthRight" | "borderWidthTop" | "borderWidthBottom" | "borderRadiusLeft" | "borderRadiusTop" | "borderRadiusBottom" | "borderRadiusRight" | "borderRadiusTopLeft" | "borderRadiusTopRight" | "borderRadiusBottomRight" | "borderRadiusBottomLeft" | "borderStyleX" | "borderStyleY" | "borderStyleLeft" | "borderStyleRight" | "borderStyleTop" | "borderStyleBottom"];
3
+ declare const allPropnames: ["mode", "variant", "p" | "fontSize" | "fontFamily" | "lineHeight" | "fontWeight" | "color" | "background" | "alignContent" | "alignItems" | "alignSelf" | "backgroundImage" | "backgroundPosition" | "backgroundRepeat" | "backgroundSize" | "bottom" | "boxShadow" | "columnGap" | "display" | "flexBasis" | "flexDirection" | "flexGrow" | "flexShrink" | "flexWrap" | "fontStyle" | "gridAutoColumns" | "gridAutoFlow" | "gridAutoRows" | "gridColumnEnd" | "gridColumnStart" | "gridRowEnd" | "gridRowStart" | "gridTemplateAreas" | "gridTemplateColumns" | "gridTemplateRows" | "height" | "inset" | "justifyContent" | "justifyItems" | "justifySelf" | "left" | "letterSpacing" | "listStyleImage" | "listStylePosition" | "listStyleType" | "maxHeight" | "maxWidth" | "minHeight" | "minWidth" | "opacity" | "order" | "overflowX" | "overflowY" | "position" | "right" | "rowGap" | "textAlign" | "textShadow" | "textTransform" | "top" | "verticalAlign" | "whiteSpace" | "width" | "zIndex" | "border" | "borderBottom" | "borderColor" | "borderLeft" | "borderRadius" | "borderRight" | "borderStyle" | "borderTop" | "borderWidth" | "flex" | "gap" | "gridArea" | "gridColumn" | "gridRow" | "listStyle" | "overflow" | "textDecoration" | "dimensions" | "textColor" | "bg" | "borderColorX" | "borderColorY" | "borderColorLeft" | "borderColorRight" | "borderColorTop" | "borderColorBottom" | "px" | "py" | "pt" | "pb" | "pr" | "pl" | "m" | "mx" | "my" | "mt" | "mb" | "mr" | "ml" | "borderX" | "borderY" | "borderWidthX" | "borderWidthY" | "borderWidthLeft" | "borderWidthRight" | "borderWidthTop" | "borderWidthBottom" | "borderRadiusLeft" | "borderRadiusTop" | "borderRadiusBottom" | "borderRadiusRight" | "borderRadiusTopLeft" | "borderRadiusTopRight" | "borderRadiusBottomRight" | "borderRadiusBottomLeft" | "borderStyleX" | "borderStyleY" | "borderStyleLeft" | "borderStyleRight" | "borderStyleTop" | "borderStyleBottom"];
4
4
  export type SystemPropNames = typeof allPropnames[number];
5
5
  export type ElementOrProps = keyof JSX.IntrinsicElements | ThemeProps;
6
6
  export type ForwardableProps<El extends ElementOrProps, Additional> = Exclude<El extends keyof JSX.IntrinsicElements ? keyof JSX.IntrinsicElements[El] : keyof Element, Additional | SystemPropNames>;
7
7
  export declare function createStyledOptions<El extends ElementOrProps = 'div', Additional extends string = never>(additional?: readonly Additional[]): {
8
- shouldForwardProp: (prop: PropertyKey) => prop is Exclude<El extends keyof JSX.IntrinsicElements ? keyof JSX.IntrinsicElements[El] : keyof Element, "p" | "fontSize" | "fontFamily" | "lineHeight" | "fontWeight" | "color" | "background" | "mode" | "alignContent" | "alignItems" | "alignSelf" | "backgroundImage" | "backgroundPosition" | "backgroundRepeat" | "backgroundSize" | "bottom" | "boxShadow" | "columnGap" | "display" | "flexBasis" | "flexDirection" | "flexGrow" | "flexShrink" | "flexWrap" | "fontStyle" | "gridAutoColumns" | "gridAutoFlow" | "gridAutoRows" | "gridColumnEnd" | "gridColumnStart" | "gridRowEnd" | "gridRowStart" | "gridTemplateAreas" | "gridTemplateColumns" | "gridTemplateRows" | "height" | "inset" | "justifyContent" | "justifyItems" | "justifySelf" | "left" | "letterSpacing" | "maxHeight" | "maxWidth" | "minHeight" | "minWidth" | "opacity" | "order" | "overflowX" | "overflowY" | "position" | "right" | "rowGap" | "textAlign" | "textShadow" | "textTransform" | "top" | "verticalAlign" | "whiteSpace" | "width" | "zIndex" | "border" | "borderBottom" | "borderColor" | "borderLeft" | "borderRadius" | "borderRight" | "borderStyle" | "borderTop" | "borderWidth" | "flex" | "gap" | "gridArea" | "gridColumn" | "gridRow" | "overflow" | "textDecoration" | "dimensions" | "textColor" | "bg" | "borderColorX" | "borderColorY" | "borderColorLeft" | "borderColorRight" | "borderColorTop" | "borderColorBottom" | "px" | "py" | "pt" | "pb" | "pr" | "pl" | "m" | "mx" | "my" | "mt" | "mb" | "mr" | "ml" | "borderX" | "borderY" | "borderWidthX" | "borderWidthY" | "borderWidthLeft" | "borderWidthRight" | "borderWidthTop" | "borderWidthBottom" | "borderRadiusLeft" | "borderRadiusTop" | "borderRadiusBottom" | "borderRadiusRight" | "borderRadiusTopLeft" | "borderRadiusTopRight" | "borderRadiusBottomRight" | "borderRadiusBottomLeft" | "borderStyleX" | "borderStyleY" | "borderStyleLeft" | "borderStyleRight" | "borderStyleTop" | "borderStyleBottom" | "variant" | Additional>;
8
+ shouldForwardProp: (prop: PropertyKey) => prop is Exclude<El extends keyof JSX.IntrinsicElements ? keyof JSX.IntrinsicElements[El] : keyof Element, "p" | "fontSize" | "fontFamily" | "lineHeight" | "fontWeight" | "color" | "background" | "mode" | "alignContent" | "alignItems" | "alignSelf" | "backgroundImage" | "backgroundPosition" | "backgroundRepeat" | "backgroundSize" | "bottom" | "boxShadow" | "columnGap" | "display" | "flexBasis" | "flexDirection" | "flexGrow" | "flexShrink" | "flexWrap" | "fontStyle" | "gridAutoColumns" | "gridAutoFlow" | "gridAutoRows" | "gridColumnEnd" | "gridColumnStart" | "gridRowEnd" | "gridRowStart" | "gridTemplateAreas" | "gridTemplateColumns" | "gridTemplateRows" | "height" | "inset" | "justifyContent" | "justifyItems" | "justifySelf" | "left" | "letterSpacing" | "listStyleImage" | "listStylePosition" | "listStyleType" | "maxHeight" | "maxWidth" | "minHeight" | "minWidth" | "opacity" | "order" | "overflowX" | "overflowY" | "position" | "right" | "rowGap" | "textAlign" | "textShadow" | "textTransform" | "top" | "verticalAlign" | "whiteSpace" | "width" | "zIndex" | "border" | "borderBottom" | "borderColor" | "borderLeft" | "borderRadius" | "borderRight" | "borderStyle" | "borderTop" | "borderWidth" | "flex" | "gap" | "gridArea" | "gridColumn" | "gridRow" | "listStyle" | "overflow" | "textDecoration" | "dimensions" | "textColor" | "bg" | "borderColorX" | "borderColorY" | "borderColorLeft" | "borderColorRight" | "borderColorTop" | "borderColorBottom" | "px" | "py" | "pt" | "pb" | "pr" | "pl" | "m" | "mx" | "my" | "mt" | "mb" | "mr" | "ml" | "borderX" | "borderY" | "borderWidthX" | "borderWidthY" | "borderWidthLeft" | "borderWidthRight" | "borderWidthTop" | "borderWidthBottom" | "borderRadiusLeft" | "borderRadiusTop" | "borderRadiusBottom" | "borderRadiusRight" | "borderRadiusTopLeft" | "borderRadiusTopRight" | "borderRadiusBottomRight" | "borderRadiusBottomLeft" | "borderStyleX" | "borderStyleY" | "borderStyleLeft" | "borderStyleRight" | "borderStyleTop" | "borderStyleBottom" | "variant" | Additional>;
9
9
  };
10
10
  /**
11
11
  * @description
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@codecademy/gamut-styles",
3
3
  "description": "Styleguide & Component library for codecademy.com",
4
- "version": "16.1.4",
4
+ "version": "16.1.5-alpha.e41bcc.0",
5
5
  "author": "Jake Hiller <jake@codecademy.com>",
6
6
  "dependencies": {
7
7
  "@codecademy/variance": "0.21.2",
@@ -34,5 +34,5 @@
34
34
  "scripts": {
35
35
  "build": "nx build @codecademy/gamut-styles"
36
36
  },
37
- "gitHead": "211364c302abe4d75af11ecabd79c9507284abdc"
37
+ "gitHead": "6fcdd9bfd73c5ebee9e9689b960d73c0a79f5ad5"
38
38
  }