From be6119d510d11311ccc9ab9dfccb1d15d6452fbf Mon Sep 17 00:00:00 2001 From: Ned Redmond Date: Tue, 15 Aug 2023 15:19:17 -0400 Subject: [PATCH 1/2] add abc buttons --- .../src/components/keypad/button-assets.tsx | 819 ++++++++++++++++-- 1 file changed, 760 insertions(+), 59 deletions(-) diff --git a/packages/math-input/src/components/keypad/button-assets.tsx b/packages/math-input/src/components/keypad/button-assets.tsx index f4fdef53c7..9a8f4e0889 100644 --- a/packages/math-input/src/components/keypad/button-assets.tsx +++ b/packages/math-input/src/components/keypad/button-assets.tsx @@ -749,33 +749,784 @@ export default function ButtonAsset({id}: Props): React.ReactElement { /> ); + + case "a": + return ( + + + + ); + case "b": + return ( + + + + ); + case "c": + return ( + + + + ); + case "d": + return ( + + + + ); + case "e": + return ( + + + + ); + case "f": + return ( + + + + ); + case "g": + return ( + + + + ); + case "h": + return ( + + + + ); + case "i": + return ( + + + + ); + case "j": + return ( + + + + ); + case "k": + return ( + + + + ); + case "l": + return ( + + + + ); + case "m": + return ( + + + + ); + case "n": + return ( + + + + ); + case "o": + return ( + + + + ); + case "p": + return ( + + + + ); + case "q": + return ( + + + + ); + case "r": + return ( + + + + ); + case "s": + return ( + + + + ); + case "t": + return ( + + + + ); + case "u": + return ( + + + + ); + case "v": + return ( + + + + ); + case "w": + return ( + + + + ); case "x": return ( + + + ); + case "y": + return ( + + + + ); + case "z": + return ( + + + + ); + case "A": + return ( + + + + ); + case "B": + return ( + + + + ); + case "C": + return ( + + + + ); + case "D": + return ( + + + + ); + case "E": + return ( + + + + ); + case "F": + return ( + + + + ); + case "G": + return ( + + + + ); + case "H": + return ( + ); - case "y": + case "I": return ( + + + ); + case "J": + return ( + + + + ); + case "K": + return ( + + + + ); + case "L": + return ( + + + + ); + case "M": + return ( + + + + ); + case "N": + return ( + + + + ); + case "O": + return ( + + + + ); + case "P": + return ( + + + + ); + case "Q": + return ( + + + + ); + case "R": + return ( + + + + ); + case "S": + return ( + + + + ); + case "T": + return ( + + + + ); + case "U": + return ( + + + + ); + case "V": + return ( + + + + ); + case "W": + return ( + + + + ); + case "X": + return ( + + + + ); + case "Y": + return ( + + + + ); + case "Z": + return ( + ); @@ -997,56 +1748,6 @@ export default function ButtonAsset({id}: Props): React.ReactElement { case "NTHROOT3": case "POW": case "LOG_B": - case "a": - case "b": - case "c": - case "d": - case "e": - case "f": - case "g": - case "h": - case "i": - case "j": - case "k": - case "l": - case "m": - case "n": - case "o": - case "p": - case "q": - case "r": - case "s": - case "t": - case "u": - case "v": - case "w": - case "z": - case "A": - case "B": - case "C": - case "D": - case "E": - case "F": - case "G": - case "H": - case "I": - case "J": - case "K": - case "L": - case "M": - case "N": - case "O": - case "P": - case "Q": - case "R": - case "S": - case "T": - case "U": - case "V": - case "W": - case "X": - case "Y": - case "Z": // placeholder return ( Date: Tue, 15 Aug 2023 15:20:12 -0400 Subject: [PATCH 2/2] Create rich-spies-design.md --- .changeset/rich-spies-design.md | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 .changeset/rich-spies-design.md diff --git a/.changeset/rich-spies-design.md b/.changeset/rich-spies-design.md new file mode 100644 index 0000000000..82873b1bc5 --- /dev/null +++ b/.changeset/rich-spies-design.md @@ -0,0 +1,5 @@ +--- +"@khanacademy/math-input": patch +--- + +Add icons for all letters