Skip to content

Commit

Permalink
Release 1.5.0 (#246)
Browse files Browse the repository at this point in the history
* SUL23 add Related links fields to branch and basic pages

* SUL23-648 | switch twitter bird for X icon (#223)

* SUL23-650 | add Reservation not required to places to study with no reservation button (#224)

* SUL23-650 | add Reservation not required to places to study with no reservation button

* separate conditional for readability

* SUL23-647 | add margin bottom to Dek text (#226)

* SUL23-596: Displays for ascending and descending events (#227)

* SUL23-596: Displays for ascending and descending events

* dependency update

* SUL23-649 | remove underline from checked/selected state (#225)

* SUL23-649 | remove underline from checked/selected state

* remove unused peer-focus:nounderline typo

* added check and hocus underline

---------

Co-authored-by: Mike Decker <[email protected]>

* SUL23-650 | remove margin spacing (#229)

* Redirect branch pages if url is provided

* Updated dependencies

* SUL23-652 | adjust select list to fit content (#228)

* SUL23-638 | Build "on this page" and related content block (#222)

* SUL23-638 | scaffold on the page links component [wip]

* SUL23-638 | configure related links; memo-ize headings; add link styles

* SUL23-638 | resolve type errors

* fixup type err

* add sidebar condition

* revert wysiwyg changes

* rework to use javascript dom query selector

* add on the page block to news and library node types

* account for sidebar navigation

* SUL23-642 | add responsive tablet and mobile select list; tweak layout

* only pass in relLink and relLinkHeading props

* add aria-label

* swap windows.location.href out for next router

* SUL23-645 | configure intersection observer root margin to show active state of a following heading when located at upper 20% of the screen

* tweak styles

* swap out select list for accordion

* remove test selectlist

* update conditional for news and sul branch pages

* add smooth scroll

* add hocus state to desktop anchor links

* check if an id already exists

* remove active state when user is at the top of the page

* add laytout selection id to news

* fixup id of layout selection

* refactor on the page block and rework headings into its own component

* remove active state if first h2 is in the lower section of screen and scroll is at top

* expand to all h2s in main content body

* small tweaks

---------

Co-authored-by: Mike Decker <[email protected]>

* SUL23-655 Refactor tabs to eliminate html validation errors (#230)

* SUL23-650 | update font to match mocks (#231)

* SUL23-649 | switch from peer-focus to peer-focus-visible for toggle underline (#232)

* SUL23-652 | adjust filter width and margin bottom (#233)

* SUL23-652 | adjust filter width and margin bottom

* set min width for all screen sizes

* SUL23-662 Created news filtering view display (#234)

* SUL23-662 Stubbed out news filtering view display

* SUL23-662 | Style news filters (#235)

* SUL23-662 | adjust news filters

* tweak gap

* tweak news card and grid gap

* added empty label option

---------

Co-authored-by: Mike Decker <[email protected]>

---------

Co-authored-by: Rebecca Hong <[email protected]>

* SUL23-638 | update file and heading naming and update intersection observer config (#236)

* SUL23-638 | update file and heading naming

* SUL23-638 | revert intersection observer to previous config

* SUL23-665 | resolve overlapping card image for certain breakpoints (#237)

* SUL23-654 | swap out article for div and add article wrapper to main content (#238)

* SUL23-654 | swap out article for div and add article wrapper to entire main content

* add aria labelledby to article

* SUL23-664 | update to Stanford Libraries for meta data title (#239)

* SUL23-664 | update to Stanford Libraries for meta data title

* switch to hardcoded title

* SUL23-666 | add typography to match places to study (#240)

* Upgrade Next 15, ESLint 9, and React 19 (#241)

* Upgrade Next 15, ESLint 9, and React 19

* fixup modal

* tweaks

* SUL23-668 | change last 12 months to last 90 days (#242)

* SUL23-667 Fix re-render after clearing text input filter

* Pure css to hide/show clear button on text fields (#243)

* Fixed og:title metadata

---------

Co-authored-by: Mike Decker <[email protected]>
Co-authored-by: Rebecca Hong <[email protected]>
Co-authored-by: pookmish <[email protected]>
  • Loading branch information
4 people authored Nov 5, 2024
1 parent 017f1a6 commit 28352b1
Show file tree
Hide file tree
Showing 119 changed files with 23,404 additions and 7,592 deletions.
29 changes: 0 additions & 29 deletions .eslintrc.json

This file was deleted.

697 changes: 353 additions & 344 deletions .yarn/releases/yarn-4.4.0.cjs → .yarn/releases/yarn-4.5.1.cjs

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion .yarnrc.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
nodeLinker: node-modules

yarnPath: .yarn/releases/yarn-4.4.0.cjs
yarnPath: .yarn/releases/yarn-4.5.1.cjs
12 changes: 7 additions & 5 deletions app/@modal/(.)calendar/[id]/page.tsx
Original file line number Diff line number Diff line change
@@ -1,12 +1,14 @@
import InterceptionModal from "@/components/patterns/modals/interception-modal"
import {useId} from "react"

const Calendar = ({params: {id}}: {params: {id: string}}) => {
const headingId = useId()
const Calendar = async (props: {params: Promise<{id: string}>}) => {
const params = await props.params

const {id} = params

return (
<InterceptionModal aria-labelledby={headingId}>
<InterceptionModal aria-labelledby={`calendar-${id}`}>
<div className="bg-[#fbfbf9]">
<h2 id={headingId} className="p-40">
<h2 id={`calendar-${id}`} className="p-40">
Schedule an appointment
</h2>
<iframe
Expand Down
6 changes: 5 additions & 1 deletion app/@modal/(.)study-place/features/[uuid]/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,11 @@ import StudyPlaceFeatures from "@/components/node/sul-study-place/study-place-fe
import {graphqlClient} from "@/lib/gql/fetcher"
import {NodeUnion} from "@/lib/gql/__generated__/drupal.d"

const Page = async ({params: {uuid}}: {params: {uuid: string}}) => {
const Page = async (props: {params: Promise<{uuid: string}>}) => {
const params = await props.params

const {uuid} = params

const query = await graphqlClient().Node({uuid})
const node = query.node as NodeUnion
if (!node) return
Expand Down
145 changes: 0 additions & 145 deletions app/[...slug]/metadata.tsx

This file was deleted.

Loading

0 comments on commit 28352b1

Please sign in to comment.