Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Breakpoints & Grid Feature Branch #1565

Draft
wants to merge 16 commits into
base: development
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
26 changes: 13 additions & 13 deletions .storybook/preview.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -14,38 +14,38 @@ import results from "../.jest-test-results.json";
// Custom viewport options
const customViewports = {
sm: {
name: "sm (320px)",
name: "sm - small mobile (less than 480)",
styles: {
width: "320px",
height: "568px",
width: "390px",
height: "667px",
},
},
md: {
name: "md (600px)",
name: "md - large mobile (less than 768) ",
styles: {
width: "600px",
height: "800px",
height: "715px",
},
},
lg: {
name: "lg (960px)",
name: "lg - small tablet (less than 1024)",
styles: {
width: "960px",
height: "800px",
height: "1024px",
},
},
xl: {
name: "xl (1280px)",
name: "xl - large tablet (less than 1280)",
styles: {
width: "1280px",
height: "1080px",
width: "1200px",
height: "1024px",
},
},
"2xl": {
name: "2xl (1536px)",
name: "desktop (greater than or equal to 1280)",
styles: {
width: "1536px",
height: "1080px",
width: "1280px",
height: "1024px",
},
},
};
Expand Down
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,13 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
Currently, this repo is in Prerelease. When it is released, this project will adhere to [Semantic Versioning](https://semver.org/spec/v2.0.0.html)
========

## Prerelease for Better Breakpoints

### Updates

- Updates the values for the breakpoints and the associated docs.
- Updates the `viewport` preview options in Storybook to align with the Reservoir breakpoints.

## Prerelease

### Adds
Expand Down
Loading
Loading