Skip to content
This repository has been archived by the owner on Aug 13, 2023. It is now read-only.

Commit

Permalink
Merge pull request #2315 from bbc/grid-stories-fix
Browse files Browse the repository at this point in the history
Update Grid Stories
  • Loading branch information
amywalkerdev authored Oct 15, 2019
2 parents 19840f9 + cbc7276 commit e907619
Show file tree
Hide file tree
Showing 14 changed files with 1,319 additions and 248 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
<!-- prettier-ignore -->
| Version | Description |
|---------|-------------|
| 1.8.19 | [PR#2356](https://github.com/bbc/psammead/pull/2356) Bump @bbc/psammead-story-promo |
| 1.8.18 | [PR#2356](https://github.com/bbc/psammead/pull/2356) Talos - Bump Dependencies - @bbc/psammead-locales |
| 1.8.17 | [PR#2359](https://github.com/bbc/psammead/pull/2359) Remove Yeoman script test |
| 1.8.16 | [PR#2349](https://github.com/bbc/psammead/pull/2349) Try to fix Yeoman test bug |
Expand Down
8 changes: 4 additions & 4 deletions package-lock.json

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

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@bbc/psammead",
"version": "1.8.18",
"version": "1.8.19",
"description": "Core Components Library Developed & Maintained By The Articles and Reach & Languages Team",
"main": "index.js",
"private": true,
Expand Down Expand Up @@ -60,7 +60,7 @@
"@bbc/psammead-locales": "^2.23.0",
"@bbc/psammead-media-indicator": "^2.6.4",
"@bbc/psammead-paragraph": "^2.2.13",
"@bbc/psammead-story-promo": "2.7.18",
"@bbc/psammead-story-promo": "2.8.0-alpha.1",
"@bbc/psammead-storybook-helpers": "^6.0.3",
"@bbc/psammead-styles": "^4.0.1",
"@bbc/psammead-test-helpers": "^3.0.2",
Expand Down
1 change: 1 addition & 0 deletions packages/components/psammead-grid/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,6 @@
<!-- prettier-ignore -->
| Version | Description |
|---------|-------------|
| 1.0.0-alpha.2 | [PR#2315](https://github.com/bbc/psammead/pull/2315) Update usage of group0 (0-239px) & fix Storybook stories. |
| 1.0.0-alpha.1 | [PR#2289](https://github.com/bbc/psammead/pull/2289) Talos - Bump Dependencies - @bbc/psammead-styles |
| 1.0.0-alpha.0 | [PR#2213](https://github.com/bbc/psammead/pull/2213) Initial package creation - Grid export. |
4 changes: 2 additions & 2 deletions packages/components/psammead-grid/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@ Psammead Grid is a component that you can use to set out column-based layouts us
<!-- prettier-ignore -->
| Argument | Type | Required | Default | Example |
| -------- | ---- | -------- | ------- | ------- |
| columns | object | yes | N/A | { group1: 6, group2: 6, group3: 6, group4: 8, group5: 20 } |
| startOffset | object | no | Sets all values as 1 for each of the groups defined in `columns` | { group1: 1, group2: 1, group3: 1, group4: 2, group5: 5 } |
| columns | object | yes | N/A | { group0: 6, group1: 6, group2: 6, group3: 6, group4: 8, group5: 20 } |
| startOffset | object | no | Sets all values as 1 for each of the groups defined in `columns` | { group0: 1, group1: 1, group2: 1, group3: 1, group4: 2, group5: 5 } |
| item | boolean | no | false | `item` |
| enableGelGutters | boolean | no | false | `enableGelGutter` |
| enableGelMargins | boolean | no | false | `enableGelMargins` |
Expand Down
2 changes: 1 addition & 1 deletion packages/components/psammead-grid/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 packages/components/psammead-grid/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@bbc/psammead-grid",
"version": "1.0.0-alpha.1",
"version": "1.0.0-alpha.2",
"publishConfig": {
"tag": "alpha"
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,30 @@ exports[`Grid component should render Grid with Grid items 1`] = `
}
}
@media (max-width:14.9375rem) {
.c1 {
display: inline-block;
width: 100%;
vertical-align: top;
}
}
@media (min-width:15rem) and (max-width:24.9375rem) {
.c1 {
display: inline-block;
width: 100%;
vertical-align: top;
}
}
@media (min-width:25rem) and (max-width:37.4375rem) {
.c1 {
display: inline-block;
width: 100%;
vertical-align: top;
}
}
@media (min-width:37.5rem) and (max-width:62.9375rem) {
.c1 {
display: inline-block;
Expand Down Expand Up @@ -64,6 +88,30 @@ exports[`Grid component should render Grid with Grid items 1`] = `
}
}
@media (max-width:14.9375rem) {
.c4 {
display: inline-block;
width: 100%;
vertical-align: top;
}
}
@media (min-width:15rem) and (max-width:24.9375rem) {
.c4 {
display: inline-block;
width: 100%;
vertical-align: top;
}
}
@media (min-width:25rem) and (max-width:37.4375rem) {
.c4 {
display: inline-block;
width: 100%;
vertical-align: top;
}
}
@media (min-width:37.5rem) and (max-width:62.9375rem) {
.c4 {
display: inline-block;
Expand Down Expand Up @@ -94,10 +142,26 @@ exports[`Grid component should render Grid with Grid items 1`] = `
}
}
@media (max-width:14.9375rem) {
.c5 {
display: inline-block;
width: 100%;
vertical-align: top;
}
}
@media (min-width:15rem) and (max-width:24.9375rem) {
.c5 {
display: inline-block;
width: 100%;
vertical-align: top;
}
}
@media (min-width:25rem) and (max-width:37.4375rem) {
.c5 {
display: inline-block;
width: NaN%;
width: 100%;
vertical-align: top;
}
}
Expand Down Expand Up @@ -132,10 +196,26 @@ exports[`Grid component should render Grid with Grid items 1`] = `
}
}
@media (max-width:14.9375rem) {
.c6 {
display: inline-block;
width: 100%;
vertical-align: top;
}
}
@media (min-width:15rem) and (max-width:24.9375rem) {
.c6 {
display: inline-block;
width: 100%;
vertical-align: top;
}
}
@media (min-width:25rem) and (max-width:37.4375rem) {
.c6 {
display: inline-block;
width: NaN%;
width: 100%;
vertical-align: top;
}
}
Expand Down Expand Up @@ -356,6 +436,30 @@ exports[`Grid component should render Grid with Grid items including nested non-
}
}
@media (max-width:14.9375rem) {
.c1 {
display: inline-block;
width: 100%;
vertical-align: top;
}
}
@media (min-width:15rem) and (max-width:24.9375rem) {
.c1 {
display: inline-block;
width: 100%;
vertical-align: top;
}
}
@media (min-width:25rem) and (max-width:37.4375rem) {
.c1 {
display: inline-block;
width: 100%;
vertical-align: top;
}
}
@media (min-width:37.5rem) and (max-width:62.9375rem) {
.c1 {
display: inline-block;
Expand Down Expand Up @@ -393,6 +497,30 @@ exports[`Grid component should render Grid with Grid items including nested non-
}
}
@media (max-width:14.9375rem) {
.c5 {
display: inline-block;
width: 100%;
vertical-align: top;
}
}
@media (min-width:15rem) and (max-width:24.9375rem) {
.c5 {
display: inline-block;
width: 100%;
vertical-align: top;
}
}
@media (min-width:25rem) and (max-width:37.4375rem) {
.c5 {
display: inline-block;
width: 100%;
vertical-align: top;
}
}
@media (min-width:37.5rem) and (max-width:62.9375rem) {
.c5 {
display: inline-block;
Expand Down Expand Up @@ -423,10 +551,26 @@ exports[`Grid component should render Grid with Grid items including nested non-
}
}
@media (max-width:14.9375rem) {
.c6 {
display: inline-block;
width: 100%;
vertical-align: top;
}
}
@media (min-width:15rem) and (max-width:24.9375rem) {
.c6 {
display: inline-block;
width: 100%;
vertical-align: top;
}
}
@media (min-width:25rem) and (max-width:37.4375rem) {
.c6 {
display: inline-block;
width: NaN%;
width: 100%;
vertical-align: top;
}
}
Expand Down Expand Up @@ -461,10 +605,26 @@ exports[`Grid component should render Grid with Grid items including nested non-
}
}
@media (max-width:14.9375rem) {
.c7 {
display: inline-block;
width: 100%;
vertical-align: top;
}
}
@media (min-width:15rem) and (max-width:24.9375rem) {
.c7 {
display: inline-block;
width: 100%;
vertical-align: top;
}
}
@media (min-width:25rem) and (max-width:37.4375rem) {
.c7 {
display: inline-block;
width: NaN%;
width: 100%;
vertical-align: top;
}
}
Expand Down
Loading

0 comments on commit e907619

Please sign in to comment.