Skip to content

Commit 05009aa

Browse files
Merge pull request #13 from nsidc/fix-missing-style-eui-button
Bugfix for missing eui-button styles
2 parents 4d6f4c5 + cfef208 commit 05009aa

File tree

10 files changed

+22
-2
lines changed

10 files changed

+22
-2
lines changed

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
# v4.0.1 (2025-04-30)
2+
3+
* Bugfix: import `eui_buttons.less` where needed, providing expected eui-button
4+
styles. This fixes an issue where the order buttons had a small shadow around
5+
their edge.
6+
17
# v4.0.0 (2025-04-29)
28

39
* Remove Earthdata login button and user orders page.

package-lock.json

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@nsidc/data-access-tools",
3-
"version": "4.0.0",
3+
"version": "4.0.1",
44
"description": "UI to order NASA data.",
55
"repository": "https://github.com/nsidc/data-access-tool-ui",
66
"files": [

src/components/EarthdataSearchHandoffButton.tsx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@ import { OrderParameters } from "../types/OrderParameters";
66
import { boundingBoxMatch, earthdataGranuleFilterParameters } from "../utils/CMR";
77
import { hasChanged } from "../utils/hasChanged";
88

9+
import "../styles/eui_buttons.less";
10+
911
interface IHandoffButtonProps {
1012
onClick: () => void;
1113
orderParameters: OrderParameters;

src/components/EddButton.tsx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@ import ReactTooltip from "react-tooltip";
33

44
import { hasChanged } from "../utils/hasChanged";
55

6+
import "../styles/eui_buttons.less";
7+
68
interface IEddButtonProps {
79
disabled: boolean;
810
buttonText: string;

src/components/EddHandoffButton.tsx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@ import * as React from "react";
22

33
import { hasChanged } from "../utils/hasChanged";
44

5+
import "../styles/eui_buttons.less";
6+
57
interface IHandoffButtonProps {
68
onClick: () => void;
79
eddDeeplink: any;

src/components/ModalContent/EddOrderConfirmation.tsx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@ import { cmrGranuleParams } from "../../utils/CMR";
77
import { CmrCollection } from "../../types/CmrCollection";
88
import { IEnvironment } from "../../utils/environment";
99

10+
import "../../styles/eui_buttons.less";
11+
1012
interface IEddOrderConfirmationProps {
1113
onCancel: () => void;
1214
orderParameters: OrderParameters;

src/components/ModalContent/EdscOrderConfirmation.tsx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@ import * as React from "react";
33
import { OrderParameters } from "../../types/OrderParameters";
44
import { EarthdataSearchHandoffButton } from "../EarthdataSearchHandoffButton";
55

6+
import "../../styles/eui_buttons.less";
7+
68
interface IEdscOrderConfirmationProps {
79
onCancel: () => void;
810
onScriptDownloadClick: () => void;

src/components/ScriptButton.tsx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@ import { IEnvironment } from "../utils/environment";
77
import { hasChanged } from "../utils/hasChanged";
88
import { LoadingIcon } from "./LoadingIcon";
99

10+
import "../styles/eui_buttons.less";
11+
1012
interface IScriptButtonProps {
1113
disabled: boolean;
1214
environment: IEnvironment;

src/components/SubmitButton.tsx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@ import ReactTooltip from "react-tooltip";
33

44
import { hasChanged } from "../utils/hasChanged";
55

6+
import "../styles/eui_buttons.less";
7+
68
interface ISubmitButtonProps {
79
buttonText: string;
810
buttonId: string;

0 commit comments

Comments
 (0)