diff --git a/CHANGELOG.md b/CHANGELOG.md index 467789a..633d4fc 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,9 @@ +# v4.0.1 (2025-04-30) + +* Bugfix: import `eui_buttons.less` where needed, providing expected eui-button + styles. This fixes an issue where the order buttons had a small shadow around + their edge. + # v4.0.0 (2025-04-29) * Remove Earthdata login button and user orders page. diff --git a/package-lock.json b/package-lock.json index f337ce6..0a6a9ca 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,6 +1,6 @@ { "name": "@nsidc/data-access-tools", - "version": "4.0.0", + "version": "4.0.1", "lockfileVersion": 1, "requires": true, "dependencies": { diff --git a/package.json b/package.json index 77cf771..309b20c 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@nsidc/data-access-tools", - "version": "4.0.0", + "version": "4.0.1", "description": "UI to order NASA data.", "repository": "https://github.com/nsidc/data-access-tool-ui", "files": [ diff --git a/src/components/EarthdataSearchHandoffButton.tsx b/src/components/EarthdataSearchHandoffButton.tsx index 68547dc..95ce9e0 100644 --- a/src/components/EarthdataSearchHandoffButton.tsx +++ b/src/components/EarthdataSearchHandoffButton.tsx @@ -6,6 +6,8 @@ import { OrderParameters } from "../types/OrderParameters"; import { boundingBoxMatch, earthdataGranuleFilterParameters } from "../utils/CMR"; import { hasChanged } from "../utils/hasChanged"; +import "../styles/eui_buttons.less"; + interface IHandoffButtonProps { onClick: () => void; orderParameters: OrderParameters; diff --git a/src/components/EddButton.tsx b/src/components/EddButton.tsx index 5fab3ba..c24660c 100644 --- a/src/components/EddButton.tsx +++ b/src/components/EddButton.tsx @@ -3,6 +3,8 @@ import ReactTooltip from "react-tooltip"; import { hasChanged } from "../utils/hasChanged"; +import "../styles/eui_buttons.less"; + interface IEddButtonProps { disabled: boolean; buttonText: string; diff --git a/src/components/EddHandoffButton.tsx b/src/components/EddHandoffButton.tsx index 0a71f60..4d6422a 100644 --- a/src/components/EddHandoffButton.tsx +++ b/src/components/EddHandoffButton.tsx @@ -2,6 +2,8 @@ import * as React from "react"; import { hasChanged } from "../utils/hasChanged"; +import "../styles/eui_buttons.less"; + interface IHandoffButtonProps { onClick: () => void; eddDeeplink: any; diff --git a/src/components/ModalContent/EddOrderConfirmation.tsx b/src/components/ModalContent/EddOrderConfirmation.tsx index 1115429..e8ac979 100644 --- a/src/components/ModalContent/EddOrderConfirmation.tsx +++ b/src/components/ModalContent/EddOrderConfirmation.tsx @@ -7,6 +7,8 @@ import { cmrGranuleParams } from "../../utils/CMR"; import { CmrCollection } from "../../types/CmrCollection"; import { IEnvironment } from "../../utils/environment"; +import "../../styles/eui_buttons.less"; + interface IEddOrderConfirmationProps { onCancel: () => void; orderParameters: OrderParameters; diff --git a/src/components/ModalContent/EdscOrderConfirmation.tsx b/src/components/ModalContent/EdscOrderConfirmation.tsx index 09ed123..71dcd48 100644 --- a/src/components/ModalContent/EdscOrderConfirmation.tsx +++ b/src/components/ModalContent/EdscOrderConfirmation.tsx @@ -3,6 +3,8 @@ import * as React from "react"; import { OrderParameters } from "../../types/OrderParameters"; import { EarthdataSearchHandoffButton } from "../EarthdataSearchHandoffButton"; +import "../../styles/eui_buttons.less"; + interface IEdscOrderConfirmationProps { onCancel: () => void; onScriptDownloadClick: () => void; diff --git a/src/components/ScriptButton.tsx b/src/components/ScriptButton.tsx index d77676b..321525b 100644 --- a/src/components/ScriptButton.tsx +++ b/src/components/ScriptButton.tsx @@ -7,6 +7,8 @@ import { IEnvironment } from "../utils/environment"; import { hasChanged } from "../utils/hasChanged"; import { LoadingIcon } from "./LoadingIcon"; +import "../styles/eui_buttons.less"; + interface IScriptButtonProps { disabled: boolean; environment: IEnvironment; diff --git a/src/components/SubmitButton.tsx b/src/components/SubmitButton.tsx index 84200c3..4f3e7ec 100644 --- a/src/components/SubmitButton.tsx +++ b/src/components/SubmitButton.tsx @@ -3,6 +3,8 @@ import ReactTooltip from "react-tooltip"; import { hasChanged } from "../utils/hasChanged"; +import "../styles/eui_buttons.less"; + interface ISubmitButtonProps { buttonText: string; buttonId: string;