@khanacademy/perseus 39.0.1 → 40.0.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.
@@ -1,48 +1,3 @@
1
1
  /// <reference path="../../types/aphrodite.d.ts" />
2
- import type { StyleDeclaration } from "aphrodite";
3
- export declare const colors: {
4
- readonly white: "#FFFFFF";
5
- readonly gray98: "#FAFAFA";
6
- readonly gray97: "#F6F7F7";
7
- readonly gray95: "#F0F1F2";
8
- readonly gray90: "#E3E5E6";
9
- readonly gray85: "#D6D8DA";
10
- readonly gray76: "#BABEC2";
11
- readonly gray72: "#999A9D";
12
- readonly gray68: "#888D93";
13
- readonly gray55: "#707378";
14
- readonly gray41: "#626569";
15
- readonly gray25: "#3B3E40";
16
- readonly gray17: "#21242C";
17
- readonly gray10: "#1499af";
18
- readonly black: "#000000";
19
- readonly alertRed: "#C42420";
20
- readonly homepageBlue: "#46A8BF";
21
- readonly kaBlue: "#314453";
22
- readonly kaBlueLight: "#4D6779";
23
- readonly kaGreen: "#71B307";
24
- readonly kaGreenLight: "#BED47A";
25
- readonly learnstormBlue: "#4898FC";
26
- readonly backgroundBlue: "#00294A";
27
- readonly adminGreen: "#78C008";
28
- readonly kaBlueExtraLight: "#39c2db";
29
- readonly kaBlueHover: "#0c7f99";
30
- readonly kaGreenHover: "#518005";
31
- readonly skyDark: "#001f4d";
32
- readonly recommendationGold: "#ffbe26";
33
- readonly starAced: "#ff9c39";
34
- readonly google: "#C1432f";
35
- readonly modernGoogle: "#be2612";
36
- readonly modernGoogleHover: "#8c1c0d";
37
- readonly facebook: "#4267B2";
38
- readonly modernFacebook: "#4267B2";
39
- readonly modernFacebookHover: "#00294a";
40
- readonly wonderBlocksGold: "#FFB100";
41
- readonly wonderBlocksLightBlue: "#37C5FD";
42
- readonly breadcrumbs: "rgba(255, 255, 255, 0.7)";
43
- };
44
- export declare const borderRadius = 4;
45
- export declare const fonts: {
46
- readonly regular: "inherit";
47
- };
48
- export declare const typography: StyleDeclaration;
2
+ import type { CSSProperties } from "aphrodite";
3
+ export declare const bodyXsmallBold: CSSProperties;
@@ -1,8 +1,5 @@
1
1
  import type { LinearType, QuadraticType, SinusoidType, TangentType, ExponentialType, LogarithmType, AbsoluteValueType } from "./grapher-types";
2
2
  import type { Coord } from "../../interactive2/types";
3
- export declare const DEFAULT_BACKGROUND_IMAGE: {
4
- readonly url: null;
5
- };
6
3
  declare const functionTypeMapping: {
7
4
  readonly linear: LinearType;
8
5
  readonly quadratic: QuadraticType;
@@ -17,7 +14,6 @@ type FunctionTypeMappingKeys = keyof typeof functionTypeMapping;
17
14
  type ConditionalGraderType<T extends FunctionTypeMappingKeys> = T extends "linear" ? LinearType : T extends "quadratic" ? QuadraticType : T extends "sinusoid" ? SinusoidType : T extends "tangent" ? TangentType : T extends "exponential" ? ExponentialType : T extends "logarithm" ? LogarithmType : T extends "absolute_value" ? AbsoluteValueType : never;
18
15
  export declare function functionForType<T extends FunctionTypeMappingKeys>(type: T): ConditionalGraderType<T>;
19
16
  export declare const getEquationString: (props: any) => string;
20
- export declare const pointsFromNormalized: (coordsList: ReadonlyArray<Coord>, range: [Coord, Coord], step: [number, number], snapStep: [number, number]) => ReadonlyArray<Coord>;
21
17
  export declare const maybePointsFromNormalized: (coordsList: ReadonlyArray<Coord> | null | undefined, range: [Coord, Coord], step: [number, number], snapStep: [number, number]) => ReadonlyArray<Coord> | null | undefined;
22
18
  export declare const defaultPlotProps: (type: FunctionTypeMappingKeys, graph: any) => any;
23
19
  export declare const chooseType: <T>(list: ReadonlyArray<T>) => T | undefined;
@@ -5,19 +5,9 @@ type Props = {
5
5
  point: vec.Vector2;
6
6
  color?: string | undefined;
7
7
  dragging: boolean;
8
- focusBehavior: FocusBehaviorConfig;
8
+ showFocusRing: boolean;
9
9
  cursor?: CSSCursor | undefined;
10
10
  onClick?: () => unknown;
11
11
  };
12
- type FocusBehaviorConfig = ControlledFocusBehavior | UncontrolledFocusBehavior;
13
- type ControlledFocusBehavior = {
14
- type: "controlled";
15
- showFocusRing: boolean;
16
- };
17
- type UncontrolledFocusBehavior = {
18
- type: "uncontrolled";
19
- tabIndex: number;
20
- onFocusChange?: (event: React.FocusEvent, isFocused: boolean) => unknown;
21
- };
22
12
  export declare const MovablePointView: React.ForwardRefExoticComponent<Props & React.RefAttributes<SVGGElement>>;
23
13
  export {};
@@ -9,7 +9,8 @@ type Props = {
9
9
  color?: string;
10
10
  cursor?: CSSCursor | undefined;
11
11
  constrain?: KeyboardMovementConstraint;
12
- onFocusChange?: (event: React.FocusEvent, isFocused: boolean) => unknown;
12
+ onFocus?: ((event: React.FocusEvent) => unknown) | undefined;
13
+ onBlur?: ((event: React.FocusEvent) => unknown) | undefined;
13
14
  };
14
15
  export declare const MovablePoint: React.ForwardRefExoticComponent<Props & React.RefAttributes<SVGGElement | null>>;
15
16
  export {};
@@ -0,0 +1,23 @@
1
+ import * as React from "react";
2
+ import type { CSSCursor } from "./css-cursor";
3
+ import type { KeyboardMovementConstraint } from "../use-draggable";
4
+ import type { vec } from "mafs";
5
+ type Params = {
6
+ point: vec.Vector2;
7
+ color?: string | undefined;
8
+ cursor?: CSSCursor | undefined;
9
+ constrain?: KeyboardMovementConstraint;
10
+ onMove?: ((newPoint: vec.Vector2) => unknown) | undefined;
11
+ onClick?: (() => unknown) | undefined;
12
+ onFocus?: ((event: React.FocusEvent) => unknown) | undefined;
13
+ onBlur?: ((event: React.FocusEvent) => unknown) | undefined;
14
+ forwardedRef?: React.ForwardedRef<SVGGElement | null> | undefined;
15
+ };
16
+ type Return = {
17
+ focusableHandle: React.ReactNode;
18
+ visiblePoint: React.ReactNode;
19
+ focusableHandleRef: React.RefObject<SVGGElement>;
20
+ visiblePointRef: React.RefObject<SVGGElement>;
21
+ };
22
+ export declare function useControlPoint(params: Params): Return;
23
+ export {};
@@ -1,6 +1,8 @@
1
1
  import * as React from "react";
2
2
  import type { MafsGraphProps, PolygonGraphState } from "../types";
3
3
  type Props = MafsGraphProps<PolygonGraphState>;
4
- export declare const PolygonGraph: (props: Props) => React.JSX.Element;
4
+ export declare const LimitedPolygonGraph: (props: Props) => React.JSX.Element;
5
+ export declare const UnlimitedPolygonGraph: (props: Props) => React.JSX.Element;
5
6
  export declare const hasFocusVisible: (element: Element | null | undefined) => boolean;
7
+ export declare const PolygonGraph: (props: Props) => React.JSX.Element;
6
8
  export {};
@@ -24,7 +24,6 @@ export type MafsGraphProps = {
24
24
  readOnly: boolean;
25
25
  static: boolean | null | undefined;
26
26
  };
27
- export declare const REMOVE_BUTTON_ID = "perseus_mafs_remove_button";
28
27
  export declare const MafsGraph: (props: MafsGraphProps) => React.JSX.Element;
29
28
  export declare const calculateNestedSVGCoords: (range: vec.Vector2[], width: number, height: number) => {
30
29
  viewboxX: number;
@@ -34,6 +34,11 @@ export declare const actions: {
34
34
  polygon: {
35
35
  movePoint: typeof movePoint;
36
36
  moveAll: typeof moveAll;
37
+ addPoint: typeof addPoint;
38
+ removePoint: typeof removePoint;
39
+ focusPoint: typeof focusPoint;
40
+ blurPoint: typeof blurPoint;
41
+ clickPoint: typeof clickPoint;
37
42
  };
38
43
  quadratic: {
39
44
  movePoint: typeof movePoint;
@@ -8,7 +8,9 @@ export type MafsGraphProps<T extends InteractiveGraphState> = {
8
8
  graphState: T;
9
9
  dispatch: (action: InteractiveGraphAction) => unknown;
10
10
  };
11
+ export type InteractiveGraphType = "none" | "angle" | "segment" | "linear-system" | "linear" | "ray" | "polygon" | "point" | "circle" | "quadratic" | "sinusoid";
11
12
  export type InteractiveGraphState = AngleGraphState | SegmentGraphState | LinearSystemGraphState | LinearGraphState | RayGraphState | NoneGraphState | PolygonGraphState | PointGraphState | CircleGraphState | QuadraticGraphState | SinusoidGraphState;
13
+ export type UnlimitedGraphState = PointGraphState | PolygonGraphState;
12
14
  export interface InteractiveGraphStateCommon {
13
15
  hasBeenInteractedWith: boolean;
14
16
  range: [xRange: Interval, yRange: Interval];
@@ -49,6 +51,11 @@ export interface PolygonGraphState extends InteractiveGraphStateCommon {
49
51
  showSides: boolean;
50
52
  snapTo: "grid" | "angles" | "sides";
51
53
  coords: Coord[];
54
+ numSides?: number | "unlimited";
55
+ focusedPointIndex: number | null;
56
+ showRemovePointButton: boolean;
57
+ interactionMode: InteractionMode;
58
+ showKeyboardInteractionInvitation: boolean;
52
59
  }
53
60
  export interface CircleGraphState extends InteractiveGraphStateCommon {
54
61
  type: "circle";
@@ -1,3 +1,4 @@
1
+ import type { InteractiveGraphState, UnlimitedGraphState } from "./types";
1
2
  import type { Coord } from "../../interactive2/types";
2
3
  import type { PerseusInteractiveGraphWidgetOptions } from "../../perseus-types";
3
4
  import type { Interval, vec } from "mafs";
@@ -6,6 +7,7 @@ import type { Interval, vec } from "mafs";
6
7
  * https://www.w3.org/WAI/WCAG21/Understanding/target-size.html
7
8
  */
8
9
  export declare const TARGET_SIZE = 44;
10
+ export declare const REMOVE_BUTTON_ID = "perseus_mafs_remove_button";
9
11
  export declare const normalizePoints: <A extends Coord[]>(range: PerseusInteractiveGraphWidgetOptions["range"], step: PerseusInteractiveGraphWidgetOptions["step"], coordsList: A, noSnap?: boolean) => A;
10
12
  export declare const normalizeCoords: <A extends Coord[]>(coordsList: A, ranges: PerseusInteractiveGraphWidgetOptions["range"]) => A;
11
13
  export declare function bound({ snapStep, range, point, }: {
@@ -13,3 +15,4 @@ export declare function bound({ snapStep, range, point, }: {
13
15
  range: [Interval, Interval];
14
16
  point: vec.Vector2;
15
17
  }): vec.Vector2;
18
+ export declare function isUnlimitedGraphState(state: InteractiveGraphState): state is UnlimitedGraphState;
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "description": "Core Perseus API (includes renderers and widgets)",
4
4
  "author": "Khan Academy",
5
5
  "license": "MIT",
6
- "version": "39.0.1",
6
+ "version": "40.0.0",
7
7
  "publishConfig": {
8
8
  "access": "public"
9
9
  },
@@ -40,14 +40,14 @@
40
40
  "test": "bash -c 'yarn --silent --cwd \"../..\" test ${@:0} $($([[ ${@: -1} = -* ]] || [[ ${@: -1} = bash ]]) && echo $PWD)'"
41
41
  },
42
42
  "dependencies": {
43
- "@khanacademy/kas": "^0.3.15",
44
- "@khanacademy/keypad-context": "^1.0.3",
45
- "@khanacademy/kmath": "^0.1.15",
46
- "@khanacademy/math-input": "^21.1.2",
47
- "@khanacademy/perseus-core": "1.5.2",
48
- "@khanacademy/perseus-linter": "^1.2.3",
49
- "@khanacademy/pure-markdown": "^0.3.10",
50
- "@khanacademy/simple-markdown": "^0.13.3",
43
+ "@khanacademy/kas": "^0.3.16",
44
+ "@khanacademy/keypad-context": "^1.0.4",
45
+ "@khanacademy/kmath": "^0.1.16",
46
+ "@khanacademy/math-input": "^21.1.3",
47
+ "@khanacademy/perseus-core": "1.5.3",
48
+ "@khanacademy/perseus-linter": "^1.2.4",
49
+ "@khanacademy/pure-markdown": "^0.3.11",
50
+ "@khanacademy/simple-markdown": "^0.13.4",
51
51
  "@types/classnames": "2.2.0",
52
52
  "@use-gesture/react": "^10.2.27",
53
53
  "mafs": "0.19.0",
@@ -78,6 +78,7 @@
78
78
  "aphrodite": "^1.2.5",
79
79
  "classnames": "1.1.4",
80
80
  "create-react-class": "15.6.3",
81
+ "csstype": "^3.1.3",
81
82
  "intersection-observer": "^0.12.0",
82
83
  "jquery": "^2.1.1",
83
84
  "lodash.debounce": "^4.0.8",
@@ -1,7 +0,0 @@
1
- export declare const devices: {
2
- readonly PHONE: "phone";
3
- readonly TABLET: "tablet";
4
- readonly DESKTOP: "desktop";
5
- };
6
- export declare const lintGutterWidth = 36;
7
- export declare const perseusFrameBorderWidth = 1;
@@ -1,342 +0,0 @@
1
- export declare const black = "#000000";
2
- export declare const grayDarker = "#333333";
3
- export declare const grayDark = "#555555";
4
- export declare const gray = "#999999";
5
- export declare const grayLight = "#AAAAAA";
6
- export declare const grayLighter = "#DDDDDD";
7
- export declare const white = "#FFFFFF";
8
- export declare const blue = "#005A88";
9
- export declare const blueDark = "#2C3747";
10
- export declare const green = "#76A005";
11
- export declare const red = "#CF5044";
12
- export declare const yellow = "#FFC40D";
13
- export declare const orange = "#BF4F04";
14
- export declare const pink = "#C3325F";
15
- export declare const purple = "#7A43B6";
16
- export declare const bodyBackground = "#FFFFFF";
17
- export declare const textColor = "#444444";
18
- export declare const linkColor = "#005987";
19
- export declare const linkColorHover = "#678D00";
20
- export declare const sansFontFamily = "'Helvetica Neue',Helvetica,Arial,sans-serif";
21
- export declare const serifFontFamily = "Georgia,'Times New Roman',Times,serif";
22
- export declare const monoFontFamily = "Monaco,Menlo,Consolas,'Courier New',monospace";
23
- export declare const baseFontSize = "14px";
24
- export declare const baseFontFamily = "inherit";
25
- export declare const baseLineHeight = "20px";
26
- export declare const altFontFamily = "Georgia,'Times New Roman',Times,serif";
27
- export declare const headingsFontFamily = "inherit";
28
- export declare const headingsFontWeight = "bold";
29
- export declare const headingsColor = "inherit";
30
- export declare const fontSizeLarge = "18px";
31
- export declare const fontSizeSmall = "12px";
32
- export declare const fontSizeMini = "10.5px";
33
- export declare const paddingLarge = "11px 19px";
34
- export declare const paddingSmall = "2px 10px";
35
- export declare const paddingMini = "0 6px";
36
- export declare const baseBorderRadius = "4px";
37
- export declare const borderRadiusLarge = "6px";
38
- export declare const borderRadiusSmall = "3px";
39
- export declare const tableBackground = "#000000";
40
- export declare const tableBackgroundAccent = "#F9F9F9";
41
- export declare const tableBackgroundHover = "#F5F5F5";
42
- export declare const tableBorder = "#DDDDDD";
43
- export declare const btnBackground = "#FFFFFF";
44
- export declare const btnBackgroundHighlight = "rgb(230, 230, 230)";
45
- export declare const btnBorder = "#CCCCCC";
46
- export declare const btnPrimaryBackground = "#0088CC";
47
- export declare const btnPrimaryBackgroundHighlight = "rgb(0, 68, 204)";
48
- export declare const btnInfoBackground = "#5BC0DE";
49
- export declare const btnInfoBackgroundHighlight = "#2F96B4";
50
- export declare const btnSuccessBackground = "#62C462";
51
- export declare const btnSuccessBackgroundHighlight = "#51A351";
52
- export declare const btnWarningBackground = "rgb(251, 180, 81)";
53
- export declare const btnWarningBackgroundHighlight = "#F89406";
54
- export declare const btnDangerBackground = "#EE5F5B";
55
- export declare const btnDangerBackgroundHighlight = "#BD362F";
56
- export declare const btnInverseBackground = "#444444";
57
- export declare const btnInverseBackgroundHighlight = "#222222";
58
- export declare const inputBackground = "#FFFFFF";
59
- export declare const inputBorder = "#CCCCCC";
60
- export declare const inputBorderRadius = "4px";
61
- export declare const inputDisabledBackground = "#EEEEEE";
62
- export declare const formActionsBackground = "#F5F5F5";
63
- export declare const inputHeight = "30px";
64
- export declare const dropdownBackground = "#FFFFFF";
65
- export declare const dropdownBorder = "rgba(0, 0, 0, 0.2)";
66
- export declare const dropdownDividerTop = "#E5E5E5";
67
- export declare const dropdownDividerBottom = "#FFFFFF";
68
- export declare const dropdownLinkColor = "#333333";
69
- export declare const dropdownLinkColorHover = "#FFFFFF";
70
- export declare const dropdownLinkColorActive = "#FFFFFF";
71
- export declare const dropdownLinkBackgroundActive = "#0088CC";
72
- export declare const dropdownLinkBackgroundHover = "#0088CC";
73
- export declare const zindexDropdown = 1000;
74
- export declare const zindexPopover = 1010;
75
- export declare const zindexTooltip = 1030;
76
- export declare const zindexFixedNavbar = 1030;
77
- export declare const zindexHeader = 1060;
78
- export declare const zindexModalBackdrop = 1070;
79
- export declare const zindexModal = 1080;
80
- export declare const zindexAboveModal = 1090;
81
- export declare const iconSpritePath = "../img/glyphicons-halflings.png";
82
- export declare const iconWhiteSpritePath = "../img/glyphicons-halflings-white.png";
83
- export declare const placeholderText = "#999999";
84
- export declare const hrBorder = "#EEEEEE";
85
- export declare const horizontalComponentOffset = "180px";
86
- export declare const wellBackground = "#F5F5F5";
87
- export declare const navbarCollapseWidth = "979px";
88
- export declare const navbarCollapseDesktopWidth = "980px";
89
- export declare const navbarHeight = "40px";
90
- export declare const navbarBackgroundHighlight = "#FFFFFF";
91
- export declare const navbarBackground = "rgb(242, 242, 242)";
92
- export declare const navbarBorder = "rgb(212, 212, 212)";
93
- export declare const navbarText = "#777777";
94
- export declare const navbarLinkColor = "#777777";
95
- export declare const navbarLinkColorHover = "#333333";
96
- export declare const navbarLinkColorActive = "#555555";
97
- export declare const navbarLinkBackgroundHover = "#000000";
98
- export declare const navbarLinkBackgroundActive = "rgb(230, 230, 230)";
99
- export declare const navbarBrandColor = "#777777";
100
- export declare const navbarInverseBackground = "#111111";
101
- export declare const navbarInverseBackgroundHighlight = "#222222";
102
- export declare const navbarInverseBorder = "#252525";
103
- export declare const navbarInverseText = "#999999";
104
- export declare const navbarInverseLinkColor = "#999999";
105
- export declare const navbarInverseLinkColorHover = "#FFFFFF";
106
- export declare const navbarInverseLinkColorActive = "#FFFFFF";
107
- export declare const navbarInverseLinkBackgroundHover = "#000000";
108
- export declare const navbarInverseLinkBackgroundActive = "#111111";
109
- export declare const navbarInverseSearchBackground = "rgb(82, 82, 82)";
110
- export declare const navbarInverseSearchBackgroundFocus = "#FFFFFF";
111
- export declare const navbarInverseSearchBorder = "#111111";
112
- export declare const navbarInverseSearchPlaceholderColor = "#CCCCCC";
113
- export declare const navbarInverseBrandColor = "#999999";
114
- export declare const paginationBackground = "#FFFFFF";
115
- export declare const paginationBorder = "#DDDDDD";
116
- export declare const paginationActiveBackground = "#F5F5F5";
117
- export declare const heroUnitBackground = "#EEEEEE";
118
- export declare const heroUnitHeadingColor = "inherit";
119
- export declare const heroUnitLeadColor = "inherit";
120
- export declare const warningText = "#C09853";
121
- export declare const warningBackground = "#FCF8E3";
122
- export declare const warningBorder = "rgb(251, 239, 213)";
123
- export declare const errorText = "#B94A48";
124
- export declare const errorBackground = "#F2DEDE";
125
- export declare const errorBorder = "rgb(238, 211, 215)";
126
- export declare const successText = "#468847";
127
- export declare const successBackground = "#DFF0D8";
128
- export declare const successBorder = "rgb(212, 232, 197)";
129
- export declare const infoText = "#4A7C17";
130
- export declare const infoBackground = "#EDF2DF";
131
- export declare const infoBorder = "rgb(228, 232, 197)";
132
- export declare const tooltipColor = "#FFFFFF";
133
- export declare const tooltipBackground = "#000000";
134
- export declare const tooltipArrowWidth = "5px";
135
- export declare const tooltipArrowColor = "#000000";
136
- export declare const popoverBackground = "#FFFFFF";
137
- export declare const popoverArrowWidth = "10px";
138
- export declare const popoverArrowColor = "#FFFFFF";
139
- export declare const popoverTitleBackground = "rgb(247, 247, 247)";
140
- export declare const popoverArrowOuterWidth = "11px";
141
- export declare const popoverArrowOuterColor = "rgba(0, 0, 0, 0.25)";
142
- export declare const gridColumns = "12";
143
- export declare const gridColumnWidth = "60px";
144
- export declare const gridGutterWidth = "20px";
145
- export declare const gridRowWidth = "940px";
146
- export declare const gridColumnWidth1200 = "70px";
147
- export declare const gridGutterWidth1200 = "30px";
148
- export declare const gridRowWidth1200 = "1170px";
149
- export declare const gridColumnWidth768 = "42px";
150
- export declare const gridGutterWidth768 = "20px";
151
- export declare const gridRowWidth768 = "724px";
152
- export declare const fluidGridColumnWidth = "6.382978723404255%";
153
- export declare const fluidGridGutterWidth = "2.127659574468085%";
154
- export declare const fluidGridColumnWidth1200 = "5.982905982905983%";
155
- export declare const fluidGridGutterWidth1200 = "2.564102564102564%";
156
- export declare const fluidGridColumnWidth768 = "5.801104972375691%";
157
- export declare const fluidGridGutterWidth768 = "2.7624309392265194%";
158
- export declare const kaGreen = "#71B307";
159
- export declare const kaGreenLight = "#BED47A";
160
- export declare const kaBlue = "#314453";
161
- export declare const kaBlueLight = "#4D6779";
162
- export declare const grayExtraDark = "#111111";
163
- export declare const grayExtraLight = "#EEEEEE";
164
- export declare const graySuperLight = "#F7F7F7";
165
- export declare const whiteDark = "#FDFDFD";
166
- export declare const dark = "#21242C";
167
- export declare const blueDarkUnsaturated = "#3B414E";
168
- export declare const blueDarkSaturated = "#1F3043";
169
- export declare const blueLight = "#A9C0D1";
170
- export declare const greenLight = "#C6D1AD";
171
- export declare const greenDark = "#356700";
172
- export declare const yellowGreen = "#9DB63B";
173
- export declare const okGreen = "#A7CF5B";
174
- export declare const alertRed = "#C42420";
175
- export declare const coral = "#EE6666";
176
- export declare const grayBlue = "#9AB3B9";
177
- export declare const lightPageBackground = "#FDFDFD";
178
- export declare const yclaBlue = "#49BAD5";
179
- export declare const yclaTeal = "#56D0B3";
180
- export declare const yclaTealDark = "#50C1A7";
181
- export declare const yclaGreenDark = "#3D9A82";
182
- export declare const yclaGreen = "#81C262";
183
- export declare const learnstormBlue = "#4898FC";
184
- export declare const homepageBlue = "#46A8BF";
185
- export declare const backgroundBlue = "#00294A";
186
- export declare const teacherSignupBlue = "#335d7d";
187
- export declare const homepageGreen = "#2B8E7B";
188
- export declare const streakColor = "#F79734";
189
- export declare const facebookColor = "#1A60A2";
190
- export declare const blueGoogleColor = "#2CAFE2";
191
- export declare const redGoogleColor = "#BF4434";
192
- export declare const homepageColor = "#2D585E";
193
- export declare const lightTextColor = "#898989";
194
- export declare const fontSizeTiny = "11px";
195
- export declare const fontSizeNormal = "14px";
196
- export declare const fontSizeMedium = "16px";
197
- export declare const fontSizeExtraLarge = "24px";
198
- export declare const fontSizeHuge = "36px";
199
- export declare const fontSizeBakana = "48px";
200
- export declare const fontSizeBananas = "60px";
201
- export declare const fixedWidthFontFamily = "'Helvetica Neue',Helvetica,Arial,sans-serif";
202
- export declare const contentPadding = "20px";
203
- export declare const primaryButtonBackground = "#89B908";
204
- export declare const primaryButtonBorder = "#76A005";
205
- export declare const buttonTextColor = "rgb(122, 122, 122)";
206
- export declare const buttonBorderRadius = "3px";
207
- export declare const basicBorderColor = "#CCCCCC";
208
- export declare const minContainerWidth = "1000px";
209
- export declare const maxContainerWidth = "1200px";
210
- export declare const formHintColor = "#999999";
211
- export declare const guidelineExampleText = "#606060";
212
- export declare const hoverCardWidth = "450px";
213
- export declare const menuHighlightColor = "#96AB4F";
214
- export declare const menuHighlightBorderColor = "#76A005";
215
- export declare const menuActiveTextColor = "#FFFFFF";
216
- export declare const menuInactiveTextColor = "#444444";
217
- export declare const menuSubheaderTextColor = "rgb(120, 120, 120)";
218
- export declare const menuBorderColor = "#94A170";
219
- export declare const unreadBackgroundColor = "#ECEEF4";
220
- export declare const menuLineHeight = "18px";
221
- export declare const menuSubheaderLineHeight = "17px";
222
- export declare const menuSubheaderFontSize = "9px";
223
- export declare const notificationBarColor = "#4858A4";
224
- export declare const modalBodyTopPadding = "20px";
225
- export declare const modalDialogPadding = "15px";
226
- export declare const modalSectionPadding = "9px";
227
- export declare const mathDomain1 = "#11ACCD";
228
- export declare const mathDomain2 = "#63D9EA";
229
- export declare const mathDomain3 = "#027d97";
230
- export declare const mathDomain4 = "#085566";
231
- export declare const partnerContentDomain1 = "#01A995";
232
- export declare const partnerContentDomain2 = "#01D1C1";
233
- export declare const partnerContentDomain3 = "#208170";
234
- export declare const partnerContentDomain4 = "#144F44";
235
- export declare const csDomain1 = "#1FAB54";
236
- export declare const csDomain2 = "#74CF70";
237
- export declare const csDomain3 = "#0D923F";
238
- export declare const csDomain4 = "#085E29";
239
- export declare const economicsDomain1 = "#E07D10";
240
- export declare const economicsDomain2 = "#FFBE26";
241
- export declare const economicsDomain3 = "#A75A05";
242
- export declare const economicsDomain4 = "#953C02";
243
- export declare const collegeCareersMoreDomain1 = "#01A995";
244
- export declare const collegeCareersMoreDomain2 = "#01D1C1";
245
- export declare const collegeCareersMoreDomain3 = "#208170";
246
- export declare const collegeCareersMoreDomain4 = "#144F44";
247
- export declare const humanitiesDomain1 = "#E84D39";
248
- export declare const humanitiesDomain2 = "#FF8482";
249
- export declare const humanitiesDomain3 = "#BE2612";
250
- export declare const humanitiesDomain4 = "#8C1C0D";
251
- export declare const gtpDomain1 = "#1865F2";
252
- export declare const gtpDomain2 = "#1865F2";
253
- export declare const gtpDomain3 = "#1865F2";
254
- export declare const gtpDomain4 = "#1865F2";
255
- export declare const scienceDomain1 = "#CA337C";
256
- export declare const scienceDomain2 = "#FF92C6";
257
- export declare const scienceDomain3 = "#9E034E";
258
- export declare const scienceDomain4 = "#6B0235";
259
- export declare const testPrepDomain1 = "#1865F2";
260
- export declare const testPrepDomain2 = "#1865F2";
261
- export declare const testPrepDomain3 = "#1865F2";
262
- export declare const testPrepDomain4 = "#1865F2";
263
- export declare const defaultDomain1 = "#1865F2";
264
- export declare const defaultDomain2 = "#66afe9";
265
- export declare const defaultDomain3 = "#1152b0";
266
- export declare const defaultDomain4 = "#0d3d82";
267
- export declare const defaultDomainColor = "#314453";
268
- export declare const defaultSubjectColor = "#4D6779";
269
- export declare const defaultTopicColor = "#6A8DA6";
270
- export declare const defaultHoverColor = "#314453";
271
- export declare const defaultLinkColor = "#314453";
272
- export declare const defaultLinkHoverColor = "#6A8DA6";
273
- export declare const scienceDomainColor = "#94424F";
274
- export declare const scienceSubjectColor = "#9D4A5A";
275
- export declare const scienceTopicColor = "#C55F73";
276
- export declare const scienceHoverColor = "#94424F";
277
- export declare const scienceLinkColor = "#94424F";
278
- export declare const scienceLinkHoverColor = "#C55F73";
279
- export declare const humanitiesDomainColor = "#AD3434";
280
- export declare const humanitiesSubjectColor = "#C13B31";
281
- export declare const humanitiesTopicColor = "#D24A45";
282
- export declare const humanitiesHoverColor = "#AD3434";
283
- export declare const humanitiesLinkColor = "#AD3434";
284
- export declare const humanitiesLinkHoverColor = "#D24A45";
285
- export declare const economicsDomainColor = "#B77033";
286
- export declare const economicsSubjectColor = "#BF7B34";
287
- export declare const economicsTopicColor = "#D1933B";
288
- export declare const economicsHoverColor = "#B77033";
289
- export declare const economicsLinkColor = "#B77033";
290
- export declare const economicsLinkHoverColor = "#D1933B";
291
- export declare const csDomainColor = "#437A39";
292
- export declare const csSubjectColor = "#53893E";
293
- export declare const csTopicColor = "#689B51";
294
- export declare const csHoverColor = "#437A39";
295
- export declare const csLinkColor = "#437A39";
296
- export declare const csLinkHoverColor = "#689B51";
297
- export declare const partnerContentDomainColor = "#218270";
298
- export declare const partnerContentSubjectColor = "#2C8D7B";
299
- export declare const partnerContentTopicColor = "#329A86";
300
- export declare const partnerContentHoverColor = "#218270";
301
- export declare const partnerContentLinkColor = "#218270";
302
- export declare const partnerContentLinkHoverColor = "#329A86";
303
- export declare const essayDomainColor = "#0071B3";
304
- export declare const mathDomainColor = "#1C758A";
305
- export declare const mathSubjectColor = "#46A8BF";
306
- export declare const mathTopicColor = "#4FBAD4";
307
- export declare const mathHoverColor = "#1C758A";
308
- export declare const mathLinkColor = "#1C758A";
309
- export declare const mathLinkHoverColor = "#4FBAD4";
310
- export declare const testPrepDomainColor = "#644172";
311
- export declare const testPrepSubjectColor = "#7E5F8E";
312
- export declare const testPrepTopicColor = "#9A72AC";
313
- export declare const testPrepHoverColor = "#644172";
314
- export declare const testPrepLinkColor = "#644172";
315
- export declare const testPrepLinkHoverColor = "#9A72AC";
316
- export declare const collegeCareersMoreDomainColor = "#218270";
317
- export declare const collegeCareersMoreSubjectColor = "#2C8D7B";
318
- export declare const collegeCareersMoreTopicColor = "#329A86";
319
- export declare const collegeCareersMoreHoverColor = "#218270";
320
- export declare const collegeCareersMoreLinkColor = "#218270";
321
- export declare const collegeCareersMoreLinkHoverColor = "#329A86";
322
- export declare const colorProficient = "#1C758A";
323
- export declare const colorPracticed = "rgb(158, 221, 235)";
324
- export declare const colorMastery1 = "rgb(90, 197, 221)";
325
- export declare const colorMastery2 = "rgb(42, 174, 203)";
326
- export declare const colorMastery3 = "#1C758A";
327
- export declare const colorSuggested = "#73982C";
328
- export declare const colorReview = "#E35D04";
329
- export declare const colorNotStarted = "#CCCCCC";
330
- export declare const colorStarted = "#C7E5F7";
331
- export declare const colorStruggling = "#C30202";
332
- export declare const colorPersonal = "#00809C";
333
- export declare const colorPractice = "#96D9FF";
334
- export declare const colorEnergyPoints = "#005987";
335
- export declare const pureSmMin = "568px";
336
- export declare const pureMdMin = "768px";
337
- export declare const pureLgMin = "1024px";
338
- export declare const pureXlMin = "1200px";
339
- export declare const pureXsMax = "567px";
340
- export declare const pureSmMax = "767px";
341
- export declare const pureMdMax = "1023px";
342
- export declare const pureLgMax = "1199px";