From 5258675995e602a4b3f18566ffe34dccd084dec3 Mon Sep 17 00:00:00 2001 From: Kyle Shanks Date: Thu, 24 Aug 2023 21:14:40 -0400 Subject: [PATCH] [C-2986] Upload flow qa round 1 (#3941) --- .../src/assets/images/iconValidationCheck.svg | 4 +- .../src/assets/icons/iconValidationCheck.svg | 4 +- .../src/assets/img/iconValidationCheck.svg | 4 +- .../data-entry/ContextualMenu.module.css | 5 ++ .../components/data-entry/ContextualMenu.tsx | 4 +- .../components/data-entry/InputV2.module.css | 4 ++ .../web/src/components/data-entry/InputV2.tsx | 2 +- .../modal-radio/ModalRadioItem.module.css | 12 +++-- .../components/modal-radio/ModalRadioItem.tsx | 8 +-- .../src/pages/upload-page/UploadPageNew.tsx | 48 +++++++++-------- .../upload-page/fields/AccessAndSaleField.tsx | 2 +- .../fields/DatePickerField.module.css | 51 +++++++++++++++++-- .../upload-page/fields/SourceFilesField.tsx | 2 +- .../HiddenAvailabilityFields.module.css | 15 +++--- .../availability/HiddenAvailabilityFields.tsx | 34 ++++++++----- .../SpecialAccessFields.module.css | 2 - .../availability/SpecialAccessFields.tsx | 5 +- .../availability/UsdcPurchaseFields.tsx | 2 +- 18 files changed, 140 insertions(+), 68 deletions(-) diff --git a/packages/mobile/src/assets/images/iconValidationCheck.svg b/packages/mobile/src/assets/images/iconValidationCheck.svg index 3137a98de5..6d3f2c637d 100644 --- a/packages/mobile/src/assets/images/iconValidationCheck.svg +++ b/packages/mobile/src/assets/images/iconValidationCheck.svg @@ -4,7 +4,7 @@ - + @@ -13,4 +13,4 @@ - \ No newline at end of file + diff --git a/packages/stems/src/assets/icons/iconValidationCheck.svg b/packages/stems/src/assets/icons/iconValidationCheck.svg index 3137a98de5..6d3f2c637d 100644 --- a/packages/stems/src/assets/icons/iconValidationCheck.svg +++ b/packages/stems/src/assets/icons/iconValidationCheck.svg @@ -4,7 +4,7 @@ - + @@ -13,4 +13,4 @@ - \ No newline at end of file + diff --git a/packages/web/src/assets/img/iconValidationCheck.svg b/packages/web/src/assets/img/iconValidationCheck.svg index 3137a98de5..6d3f2c637d 100644 --- a/packages/web/src/assets/img/iconValidationCheck.svg +++ b/packages/web/src/assets/img/iconValidationCheck.svg @@ -4,7 +4,7 @@ - + @@ -13,4 +13,4 @@ - \ No newline at end of file + diff --git a/packages/web/src/components/data-entry/ContextualMenu.module.css b/packages/web/src/components/data-entry/ContextualMenu.module.css index aecdfa7b5c..a5f912ccc2 100644 --- a/packages/web/src/components/data-entry/ContextualMenu.module.css +++ b/packages/web/src/components/data-entry/ContextualMenu.module.css @@ -2,6 +2,7 @@ gap: var(--unit-4); padding: var(--unit-4) var(--unit-6); flex-direction: column; + cursor: pointer; } .preview { @@ -41,3 +42,7 @@ border: 1px solid var(---border-strong); background: var(--neutral-light-8); } + +.selectedValueText { + text-transform: capitalize; +} diff --git a/packages/web/src/components/data-entry/ContextualMenu.tsx b/packages/web/src/components/data-entry/ContextualMenu.tsx index 8960478071..5bcfb1d205 100644 --- a/packages/web/src/components/data-entry/ContextualMenu.tsx +++ b/packages/web/src/components/data-entry/ContextualMenu.tsx @@ -82,8 +82,8 @@ export const SelectedValue = (props: SelectedValueProps) => { {icon ? : null} {label ? ( - - {label} + + {label.toLowerCase()} ) : null} {children} diff --git a/packages/web/src/components/data-entry/InputV2.module.css b/packages/web/src/components/data-entry/InputV2.module.css index a8f05d98cb..6cbd4a6dab 100644 --- a/packages/web/src/components/data-entry/InputV2.module.css +++ b/packages/web/src/components/data-entry/InputV2.module.css @@ -82,6 +82,10 @@ justify-content: space-between; } +.inputContainer { + flex: 1 1 0; +} + /** * Flex container so that the absolutely positioned elevated placeholder * starts out centered vertically diff --git a/packages/web/src/components/data-entry/InputV2.tsx b/packages/web/src/components/data-entry/InputV2.tsx index 74979aa91f..2ffbfe7377 100644 --- a/packages/web/src/components/data-entry/InputV2.tsx +++ b/packages/web/src/components/data-entry/InputV2.tsx @@ -87,7 +87,7 @@ export const InputV2 = (props: InputV2Props) => { const input = (
-
+
{startAdornment ? ( {startAdornment} diff --git a/packages/web/src/components/modal-radio/ModalRadioItem.module.css b/packages/web/src/components/modal-radio/ModalRadioItem.module.css index 1ad1880a0d..840f699ba1 100644 --- a/packages/web/src/components/modal-radio/ModalRadioItem.module.css +++ b/packages/web/src/components/modal-radio/ModalRadioItem.module.css @@ -20,10 +20,11 @@ display: flex; align-items: center; gap: var(--unit-2); - margin-left: var(--unit-2); - font-size: var(--font-2xl); - font-weight: var(--font-bold); - line-height: 150%; +} + +.input { + height: 24px; + width: 24px; } .root:has(.input:disabled) .optionTitle { @@ -33,9 +34,11 @@ .root:has(.input:checked) .optionTitle { color: var(--secondary); } + .optionTitle path { fill: var(--neutral); } + .root:has(.input:checked) .optionTitle path { fill: var(--secondary); } @@ -45,6 +48,7 @@ overflow: visible hidden; transition: height var(--quick); } + .collapsibleContainer.collapsed { display: none; } diff --git a/packages/web/src/components/modal-radio/ModalRadioItem.tsx b/packages/web/src/components/modal-radio/ModalRadioItem.tsx index 9a7ce85ab1..7ec5aaba23 100644 --- a/packages/web/src/components/modal-radio/ModalRadioItem.tsx +++ b/packages/web/src/components/modal-radio/ModalRadioItem.tsx @@ -42,7 +42,7 @@ export const ModalRadioItem = (props: ModalRadioItemProps) => { return (