-
Notifications
You must be signed in to change notification settings - Fork 350
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' into LEMS-1947-add-edit-delete-locked-function
- Loading branch information
Showing
35 changed files
with
390 additions
and
122 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
--- | ||
"@khanacademy/perseus": minor | ||
"@khanacademy/perseus-editor": minor | ||
--- | ||
|
||
[Hint Mode: Start Coords] Build the foundation for adding start coords UI for angle graphs |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
"@khanacademy/math-input": patch | ||
--- | ||
|
||
Remove old buttons that we weren't using anymore |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
"@khanacademy/math-input": patch | ||
--- | ||
|
||
Remove unused buttons from MathInput; add Lato |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,59 @@ | ||
<!-- Preload WB fonts to prevent layout shifting due to font rendering --> | ||
<link | ||
rel="preload" | ||
href="fonts/pre/Lato-Regular.woff2" | ||
as="font" | ||
type="font/woff2" | ||
crossorigin | ||
/> | ||
<link | ||
rel="preload" | ||
href="fonts/lato/Lato-Bold.woff2" | ||
as="font" | ||
type="font/woff2" | ||
crossorigin | ||
/> | ||
<link | ||
rel="preload" | ||
href="fonts/lato/Lato-Black.woff2" | ||
as="font" | ||
type="font/woff2" | ||
crossorigin | ||
/> | ||
<link | ||
rel="preload" | ||
href="fonts/lato/Lato-Italic.woff2" | ||
as="font" | ||
type="font/woff2" | ||
crossorigin | ||
/> | ||
<link | ||
rel="preload" | ||
href="fonts/lato/LatoLatin-Regular.woff2" | ||
as="font" | ||
type="font/woff2" | ||
crossorigin | ||
/> | ||
<link | ||
rel="preload" | ||
href="fonts/lato/LatoLatin-Bold.woff2" | ||
as="font" | ||
type="font/woff2" | ||
crossorigin | ||
/> | ||
<link | ||
rel="preload" | ||
href="fonts/lato/LatoLatin-Black.woff2" | ||
as="font" | ||
type="font/woff2" | ||
crossorigin | ||
/> | ||
<link | ||
rel="preload" | ||
href="fonts/lato/LatoLatin-Italic.woff2" | ||
as="font" | ||
type="font/woff2" | ||
crossorigin | ||
/> | ||
|
||
<link rel="stylesheet" href="./lato.css" /> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
28 changes: 28 additions & 0 deletions
28
packages/perseus-editor/src/components/start-coords-angle.tsx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
import {View} from "@khanacademy/wonder-blocks-core"; | ||
import * as React from "react"; | ||
|
||
import type {Coord, PerseusGraphType} from "@khanacademy/perseus"; | ||
|
||
type Props = { | ||
startCoords: [Coord, Coord, Coord]; | ||
onChange: (startCoords: PerseusGraphType["startCoords"]) => void; | ||
}; | ||
|
||
const StartCoordsAngle = (props: Props) => { | ||
const {startCoords} = props; | ||
return ( | ||
<View> | ||
WIP | ||
<br /> Start coords: | ||
{startCoords.map((coord, index) => { | ||
return ( | ||
<View key={index}> | ||
{`Point ${index + 1}: (${coord[0]}, ${coord[1]})`} | ||
</View> | ||
); | ||
})} | ||
</View> | ||
); | ||
}; | ||
|
||
export default StartCoordsAngle; |
Oops, something went wrong.