Skip to content

Commit

Permalink
[uma-bridge] Add currency indicators (#13358)
Browse files Browse the repository at this point in the history
https://github.com/user-attachments/assets/0b644482-8b6e-4522-b3c5-d14622f6347e

GitOrigin-RevId: f5633a139605049869a4d8c3a459d017a95ad578
  • Loading branch information
coreymartin authored and Lightspark Eng committed Nov 15, 2024
1 parent b5139b1 commit ae008d8
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
3 changes: 3 additions & 0 deletions packages/ui/src/components/TextInput.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ import type {
ClipboardEvent,
CompositionEvent,
FocusEvent,
InputHTMLAttributes,
KeyboardEvent,
RefCallback,
RefObject,
Expand Down Expand Up @@ -109,6 +110,7 @@ export type TextInputProps = {
// Outline that appears outside/offset when the input is focused
activeOutline?: boolean;
activeOutlineColor?: ThemeOrColorKey;
enterKeyHint?: InputHTMLAttributes<HTMLInputElement>["enterKeyHint"];
};

function withDefaults(textInputProps: TextInputProps) {
Expand Down Expand Up @@ -235,6 +237,7 @@ export function TextInput(textInputProps: TextInputProps) {
}
}}
borderRadius={props.borderRadius}
enterKeyHint={props.enterKeyHint}
/>
{props.rightButtonText && (
<RightButtonAligner iconOffset={iconOffset}>
Expand Down
1 change: 1 addition & 0 deletions packages/ui/src/styles/colors.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@ const baseColors = {
grayBlue57: "#8B8E98",
grayBlue67: "#9BA7B9",
grayBlue69: "#A6A9BA",
grayBlue78: "#C0C6CE",
grayBlue80: "#C0C9D6",
grayBlue88: "#DEDFE4",
grayBlue92: "#E1EBF5",
Expand Down

0 comments on commit ae008d8

Please sign in to comment.