Skip to content

Commit

Permalink
Release 2.1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Akswii committed May 7, 2019
2 parents aeb286b + 60fdbb9 commit 5b622e1
Show file tree
Hide file tree
Showing 20 changed files with 2,116 additions and 1,288 deletions.
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -67,3 +67,6 @@ typings/

# Mac stuff
.DS_Store

# Local test file
/index.html
10 changes: 6 additions & 4 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
# Changelog

## [2.0.3] - 2019-03-25
## [2.1.0] - 2019-05-07

### Fixed
### Added

- Fixed issue with action-list icon showing through action-list menu.
- Fixed issue with polyfills
- Added Page Layout section /core
- Added .main-content class
- Added Border section to /utilities
- Added .border class along with more variants
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

# PayEx DesignGuide

[![Version](https://img.shields.io/badge/Version-2.0.3-blue.svg)](https://github.com/PayEx/design.payex.com/releases/tag/2.0.3)
[![Version](https://img.shields.io/badge/Version-2.1.0-blue.svg)](https://github.com/PayEx/design.payex.com/releases/tag/2.1.0)
[![Build status](https://ci.appveyor.com/api/projects/status/1dii19sqw1m7xtsn/branch/master?svg=true)](https://ci.appveyor.com/project/PayEx/design-payex-com/branch/master)
[![Code Coverage](https://codecov.io/gh/payex/design.payex.com/branch/master/graph/badge.svg)](https://codecov.io/gh/payex/design.payex.com)
[![Dependabot Status](https://api.dependabot.com/badges/status?host=github&repo=PayEx/design.payex.com)](https://dependabot.com)
Expand Down
2 changes: 1 addition & 1 deletion build/prepare-deploy.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ if ($Env:GitVersion_PreReleaseLabel -NotMatch "PullRequest" -And $Env:GitVersion
./build/deploy-github-pages.ps1

# Check response time for scripts and styles
npm run response-time
# npm run response-time

# TODO: Run functional tests etc here [EH]
} else {
Expand Down
2,872 changes: 1,627 additions & 1,245 deletions package-lock.json

Large diffs are not rendered by default.

62 changes: 31 additions & 31 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "design.payex.com",
"version": "2.0.3",
"version": "2.1.0",
"description": "PayEx DesignGuide",
"main": "index.js",
"scripts": {
Expand Down Expand Up @@ -29,67 +29,67 @@
},
"homepage": "https://github.com/PayEx/design.payex.com#readme",
"dependencies": {
"@babel/polyfill": "^7.4.0",
"@babel/polyfill": "^7.4.4",
"chart.js": "^2.8.0",
"classnames": "^2.2.6",
"flatpickr": "^4.5.7",
"js-beautify": "^1.9.0",
"js-beautify": "^1.10.0",
"normalize.css": "^8.0.1",
"prism-react-renderer": "^0.1.6",
"prismjs": "^1.15.0",
"react": "^16.8.5",
"react-dom": "^16.8.5",
"prismjs": "^1.16.0",
"react": "^16.8.6",
"react-dom": "^16.8.6",
"react-loadable": "^5.5.0",
"react-prism": "^4.3.2",
"react-router-dom": "^4.4.0",
"react-router-dom": "^5.0.0",
"react-router-hash-link": "^1.2.1"
},
"devDependencies": {
"@babel/cli": "^7.2.3",
"@babel/core": "^7.4.0",
"@babel/cli": "^7.4.4",
"@babel/core": "^7.4.4",
"@babel/plugin-syntax-dynamic-import": "^7.2.0",
"@babel/preset-env": "^7.4.2",
"@babel/preset-env": "7.4.4",
"@babel/preset-react": "^7.0.0",
"@sentry/browser": "^4.6.5",
"@sentry/browser": "^5.1.2",
"@sentry/webpack-plugin": "^1.6.2",
"app-manifest-webpack-plugin": "^1.2.0",
"autoprefixer": "^9.5.0",
"autoprefixer": "^9.5.1",
"babel-core": "^7.0.0-bridge.0",
"babel-eslint": "^10.0.1",
"babel-jest": "^24.5.0",
"babel-jest": "^24.8.0",
"babel-loader": "^8.0.5",
"babel-plugin-root-import": "^6.1.0",
"babel-plugin-transform-dynamic-import": "^2.1.0",
"css-loader": "^2.1.1",
"enzyme": "^3.9.0",
"enzyme-adapter-react-16": "^1.11.0",
"enzyme-adapter-react-16": "^1.12.1",
"enzyme-to-json": "^3.3.5",
"eslint": "^5.15.3",
"eslint": "^5.16.0",
"eslint-plugin-babel": "^5.3.0",
"eslint-plugin-jest": "^22.4.1",
"eslint-plugin-node": "^8.0.1",
"eslint-plugin-react": "^7.12.4",
"eslint-plugin-jest": "^22.5.1",
"eslint-plugin-node": "^9.0.1",
"eslint-plugin-react": "^7.13.0",
"eslint-plugin-security": "^1.4.0",
"eslint-plugin-testcafe": "^0.2.1",
"file-loader": "^3.0.1",
"filemanager-webpack-plugin": "^2.0.5",
"html-webpack-plugin": "^3.2.0",
"jest": "^24.5.0",
"jest": "^24.8.0",
"less": "^3.9.0",
"less-loader": "^4.1.0",
"mini-css-extract-plugin": "^0.5.0",
"node-fetch": "^2.3.0",
"less-loader": "^5.0.0",
"mini-css-extract-plugin": "^0.6.0",
"node-fetch": "^2.5.0",
"optimize-css-assets-webpack-plugin": "^5.0.1",
"postcss-loader": "^3.0.0",
"style-loader": "^0.23.1",
"stylelint": "^9.10.1",
"stylelint-config-standard": "^18.2.0",
"stylelint-declaration-block-no-ignored-properties": "^1.1.0",
"testcafe": "^1.1.0",
"uglifyjs-webpack-plugin": "^2.1.2",
"webpack": "^4.29.6",
"webpack-bundle-analyzer": "^3.1.0",
"webpack-cli": "^3.3.0",
"webpack-dev-server": "^3.2.1"
"stylelint": "^10.0.1",
"stylelint-config-standard": "^18.3.0",
"stylelint-declaration-block-no-ignored-properties": "^2.1.0",
"terser-webpack-plugin": "^1.2.3",
"testcafe": "^1.1.3",
"webpack": "^4.30.0",
"webpack-bundle-analyzer": "^3.3.2",
"webpack-cli": "^3.3.2",
"webpack-dev-server": "^3.3.1"
}
}
10 changes: 10 additions & 0 deletions src/App/Documentation/__snapshots__/index.test.js.snap
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,11 @@ exports[`Documentation: index renders 1`] = `
"path": "/docs/core/lists",
"title": "Lists",
},
Object {
"componentPath": "core/Page-layout",
"path": "/docs/core/page-layout",
"title": "Page layout",
},
Object {
"componentPath": "core/Tables",
"path": "/docs/core/tables",
Expand Down Expand Up @@ -263,6 +268,11 @@ exports[`Documentation: index renders 1`] = `
redirect="/docs/utilities/colors"
routes={
Array [
Object {
"componentPath": "utilities/Borders",
"path": "/docs/utilities/borders",
"title": "Borders",
},
Object {
"componentPath": "utilities/Colors",
"path": "/docs/utilities/colors",
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,161 @@
// Jest Snapshot v1, https://goo.gl/fbAQLP

exports[`Utilities: PageLayout CenteredContent renders 1`] = `
<Fragment>
<h2
id="centered-content"
>
Centered content
</h2>
<p>
For a centered layout use
<Property
value=".container"
/>
, it has built in breakpoints and will switch to full-width if the screen size is small enough (see
<Link
to="/docs/core/grid"
>
grid
</Link>
). When the content is centered it will require
<Link
to="/docs/utilities/borders"
>
borders
</Link>
on the right and left side. To make your topbar fill the page horizontally you will have to wrap it in a
<Property
value=".row"
/>
and
<Property
value=".container-fluid"
/>
.
</p>
<ComponentPreview
codeFigure={true}
language="html"
>
<div
className="container-fluid"
>
<div
className="row"
>
<header>
Topbar component...
</header>
</div>
</div>
<div
className="container"
>
<div
className="row"
>
<div
className="col-auto"
>
Sidebar component...
</div>
<main
className="col main-content border-left border-right"
>
Main content things...
</main>
</div>
</div>
</ComponentPreview>
</Fragment>
`;

exports[`Utilities: PageLayout FullWidth renders 1`] = `
<Fragment>
<h2
id="full-width"
>
Full width page
</h2>
<p>
To use a full width layout use a combination of grid and the
<Property
value=".main-content"
/>
class.
<Property
value=".main-content"
/>
has a white background and some padding. For a full width layout use
<Property
value=".border-left"
/>
to clearly seperate the sidebar and the main content. See
<Link
to="/docs/utilities/borders"
>
borders
</Link>
docs for more information.
</p>
<ComponentPreview
codeFigure={true}
language="html"
>
<div
className="container-fluid"
>
<div
className="row"
>
<header>
Topbar component...
</header>
</div>
<div
className="row"
>
<div
className="col-auto"
>
Sidebar component...
</div>
<main
className="col main-content border-left"
>
Main content things...
</main>
</div>
</div>
</ComponentPreview>
</Fragment>
`;

exports[`Utilities: PageLayout renders 1`] = `
<DocContainer
docToc={true}
>
<p
className="lead"
>
Use grid with our
<Property
value=".main-content"
/>
class to use a variety of page layouts. As we have a mobile first approach we only use 1rem as base padding for our
<Property
value=".main-content"
/>
class. Use the
<Link
to="/docs/utilities/spacing"
>
spacing
</Link>
classes to customize padding to fit your needs.
</p>
<FullWidth />
<CenteredContent />
</DocContainer>
`;
Loading

0 comments on commit 5b622e1

Please sign in to comment.