Skip to content

Commit

Permalink
Merge pull request #1707 from NYPL/development
Browse files Browse the repository at this point in the history
Hotfix Release 3.4.4
  • Loading branch information
EdwinGuzman authored Nov 20, 2024
2 parents f8b79ad + 5f75a09 commit 1ec9152
Show file tree
Hide file tree
Showing 6 changed files with 82 additions and 69 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,12 @@ Currently, this repo is in Prerelease. When it is released, this project will ad

## Prerelease

## 3.4.4 (November 20, 2024)

### Adds

- Fixes a styling issue in the `Header`'s list to make it stricter.

## 3.4.3 (November 18, 2024)

### Adds
Expand Down
94 changes: 47 additions & 47 deletions package-lock.json

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

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@nypl/design-system-react-components",
"version": "3.4.3",
"version": "3.4.4",
"description": "NYPL Reservoir Design System React Components",
"repository": {
"type": "git",
Expand Down
9 changes: 8 additions & 1 deletion src/components/Header/Header.stories.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import type { Meta, StoryObj } from "@storybook/react";

import Header from "./Header";
import Pagination from "../Pagination/Pagination";

const meta: Meta<typeof Header> = {
title: "Components/Temp/Header",
Expand All @@ -14,5 +15,11 @@ type Story = StoryObj<typeof Header>;
export const WithControls: Story = {
args: {},
parameters: {},
render: () => <Header />,
render: () => (
<>
<Header />
<Pagination pageCount={10} />
<h1>test </h1>
</>
),
};
18 changes: 9 additions & 9 deletions src/theme/components/headerLowerNav.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,15 +13,15 @@ const linkFocusHoverStyles = {
const HeaderLowerNav = {
baseStyle: {
ul: {
alignItems: "center",
marginBottom: "0",
marginLeft: "auto",
whiteSpace: "nowrap",
},
li: {
marginEnd: { mh: "s", xl: "m" },
_last: {
marginRight: "0",
alignItems: "center !important",
marginBottom: "0 !important",
marginLeft: "auto !important",
whiteSpace: "nowrap !important",
li: {
marginEnd: { mh: "s !important", xl: "m !important" },
_last: {
marginRight: "0 !important",
},
},
},
"li > a": {
Expand Down
22 changes: 11 additions & 11 deletions src/theme/components/headerUpperNav.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,17 +5,17 @@ const HeaderUpperNav = {
baseStyle: {
height: "37px",
ul: {
alignItems: "center",
display: "flex",
margin: "0",
whiteSpace: "nowrap",
},
li: {
fontSize: "var(--nypl-fontSizes-desktop-body-body2) !important",
fontWeight: "medium",
marginRight: "s",
_last: {
marginRight: "0",
alignItems: "center !important",
display: "flex !important",
margin: "0 !important",
whiteSpace: "nowrap !important",
li: {
fontSize: "var(--nypl-fontSizes-desktop-body-body2) !important",
fontWeight: "medium !important",
marginRight: "s !important",
_last: {
marginRight: "0 !important",
},
},
},
a: {
Expand Down

0 comments on commit 1ec9152

Please sign in to comment.