Skip to content

Commit

Permalink
Merge pull request #5511 from nasa-gibs/UAT-v4.50.0-1
Browse files Browse the repository at this point in the history
UAT-v4.50.0-1 to Release
  • Loading branch information
christof-wittreich authored Oct 16, 2024
2 parents ced3c9c + 64ce2b4 commit 01ce19a
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 233 deletions.
231 changes: 0 additions & 231 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions web/js/components/date-selector/date-input-column.js
Original file line number Diff line number Diff line change
Expand Up @@ -310,6 +310,7 @@ class DateInputColumn extends Component {
onClick={isDisabled ? () => {} : () => this.changeDate(1)}
type={type}
isKioskModeActive={isKioskModeActive}
arrowSize="18px"
/>
<input
id={inputId}
Expand All @@ -333,6 +334,7 @@ class DateInputColumn extends Component {
onClick={isDisabled ? () => {} : () => this.changeDate(-1)}
type={type}
isKioskModeActive={isKioskModeActive}
arrowSize="18px"
/>
</div>
);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,11 +39,13 @@ class AxisTimeScaleChangeControls extends PureComponent {
direction="up"
onClick={this.onClickUp}
type="zoom-level-up"
arrowSize="24px"
/>
<Arrow
direction="down"
onClick={this.onClickDown}
type="zoom-level-down"
arrowSize="24px"
/>
</div>
);
Expand Down
5 changes: 3 additions & 2 deletions web/js/components/util/arrow.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import { ArrowFilledUp } from '@edsc/earthdata-react-icons/horizon-design-system
* @function Arrow Up/Down
*/
function Arrow({
onClick, type, direction, isKioskModeActive,
onClick, type, direction, isKioskModeActive, arrowSize,
}) {
const containerClassName = `date-arrows date-arrow-${direction}`;
const arrowClassName = `${direction}arrow`;
Expand All @@ -17,7 +17,7 @@ function Arrow({
className={isKioskModeActive ? 'd-none' : containerClassName}
data-interval={type}
>
<ArrowFilledUp className={arrowClassName} size="24px" />
<ArrowFilledUp className={arrowClassName} size={arrowSize} />
</div>
);
}
Expand All @@ -27,6 +27,7 @@ Arrow.propTypes = {
onClick: PropTypes.func,
type: PropTypes.string,
isKioskModeActive: PropTypes.bool,
arrowSize: PropTypes.string,
};

export default Arrow;

0 comments on commit 01ce19a

Please sign in to comment.