Skip to content

Commit

Permalink
Release 2.0.1
Browse files Browse the repository at this point in the history
erikhallaraaker committed Feb 13, 2019
2 parents 503d90a + 69c23d7 commit 262c05b
Showing 22 changed files with 29 additions and 69 deletions.
11 changes: 6 additions & 5 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
# Changelog

## [2.0.0] - 2019-02-12
## [2.0.1] - 2019-02-13

Hooray!! :tada: :confetti_ball: :tada: It's finally here, Stable release! :tada: :confetti_ball: :tada:
### Changed

### Fixed
- Removed straggling experimental warnings.

- Fixed issue with action lists not closing when opening a new one.
- Fixed issue with autocomplete for search field in documentation.
### Removed

- Removed deprecated text color utility classname `.color-{color}`, use `.text-{color}`.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -2,7 +2,7 @@

# PayEx DesignGuide

[![Version](https://img.shields.io/badge/Version-2.0.0-blue.svg)](https://github.com/PayEx/design.payex.com/releases/tag/2.0.0)
[![Version](https://img.shields.io/badge/Version-2.0.1-blue.svg)](https://github.com/PayEx/design.payex.com/releases/tag/2.0.1)
[![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)
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "design.payex.com",
"version": "2.0.0",
"version": "2.0.1",
"description": "PayEx DesignGuide",
"main": "index.js",
"scripts": {
14 changes: 7 additions & 7 deletions src/App/Documentation/__snapshots__/index.test.js.snap
Original file line number Diff line number Diff line change
@@ -121,7 +121,7 @@ exports[`Documentation: index renders 1`] = `
Object {
"componentPath": "components/ActionList",
"path": "/docs/components/action-list",
"title": "Action List (experimental)",
"title": "Action List",
},
Object {
"componentPath": "components/Alerts",
@@ -146,7 +146,7 @@ exports[`Documentation: index renders 1`] = `
Object {
"componentPath": "components/Card",
"path": "/docs/components/card",
"title": "Card (experimental)",
"title": "Card",
},
Object {
"componentPath": "components/Datepickers",
@@ -181,7 +181,7 @@ exports[`Documentation: index renders 1`] = `
Object {
"componentPath": "components/Nav",
"path": "/docs/components/nav",
"title": "Nav (experimental)",
"title": "Nav",
},
Object {
"componentPath": "components/Pagination",
@@ -201,7 +201,7 @@ exports[`Documentation: index renders 1`] = `
Object {
"componentPath": "components/Slab",
"path": "/docs/components/slab",
"title": "Slab (experimental)",
"title": "Slab",
},
Object {
"componentPath": "components/Status",
@@ -216,12 +216,12 @@ exports[`Documentation: index renders 1`] = `
Object {
"componentPath": "components/Tabs",
"path": "/docs/components/tabs",
"title": "Tabs (experimental)",
"title": "Tabs",
},
Object {
"componentPath": "components/Toast",
"path": "/docs/components/toast",
"title": "Toast (experimental)",
"title": "Toast",
},
Object {
"componentPath": "components/Tooltips",
@@ -251,7 +251,7 @@ exports[`Documentation: index renders 1`] = `
Object {
"componentPath": "dashboard/Charts",
"path": "/docs/dashboard/charts",
"title": "Charts (Experimental)",
"title": "Charts",
},
]
}
Original file line number Diff line number Diff line change
@@ -664,7 +664,6 @@ exports[`Components: ActionList renders 1`] = `
<DocContainer
docToc={true}
>
<ExperimentalComponentAlert />
<p
className="lead"
>
3 changes: 1 addition & 2 deletions src/App/Documentation/components/ActionList/index.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import React, { Component } from "react";

import { ComponentPreview, DocContainer, Icon, ExperimentalComponentAlert } from "#";
import { ComponentPreview, DocContainer, Icon } from "#";
import actionList from "$/px-script/main/action-list";

const Overview = () => (
@@ -75,7 +75,6 @@ class ActionList extends Component {
render () {
return (
<DocContainer docToc>
<ExperimentalComponentAlert />
<p className="lead">
Action lists are small menus that remain hidden until clicked. In these you can put page links or anchors that trigger an action elsewhere.
</p>
Original file line number Diff line number Diff line change
@@ -178,7 +178,6 @@ exports[`Documentation: Card renders 1`] = `
<DocContainer
docToc={true}
>
<ExperimentalComponentAlert />
<p
className="lead"
>
3 changes: 1 addition & 2 deletions src/App/Documentation/components/Card/index.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import React, { Component } from "react";
import { Link } from "react-router-dom";

import { ComponentPreview, Property, DocContainer, ExperimentalComponentAlert } from "#";
import { ComponentPreview, Property, DocContainer } from "#";
import CardComponent from "@/Card";
import MediaObject from "@/MediaObject";

@@ -104,7 +104,6 @@ class Card extends Component {
render () {
return (
<DocContainer docToc>
<ExperimentalComponentAlert />
<p className="lead">
Cards are meant to display smaller items and is not intended to span the entire width of a page.
See <Link to="/docs/components/panel">panel</Link> if the card component is too narrow.
Original file line number Diff line number Diff line change
@@ -346,7 +346,6 @@ exports[`Component: Nav renders 1`] = `
<DocContainer
docToc={true}
>
<ExperimentalComponentAlert />
<p
className="lead"
>
@@ -371,7 +370,6 @@ exports[`Component: Nav runs init on rerender 1`] = `
<DocContainer
docToc={true}
>
<ExperimentalComponentAlert />
<p
className="lead"
>
3 changes: 1 addition & 2 deletions src/App/Documentation/components/Nav/index.js
Original file line number Diff line number Diff line change
@@ -2,7 +2,7 @@ import React, { Component } from "react";
import { Link } from "react-router-dom";
import PrismCode from "react-prism";

import { ComponentPreview, DocContainer, ExperimentalComponentAlert, Property } from "#";
import { ComponentPreview, DocContainer, Property } from "#";
import { nav } from "$/px-script/main";
import NavComponent from "@/Nav";

@@ -134,7 +134,6 @@ class Nav extends Component {
render () {
return (
<DocContainer docToc>
<ExperimentalComponentAlert />
<p className="lead">
Use <PrismCode className="language-html">{"<nav>"}</PrismCode>s to create a basic navigational
element containing links.
Original file line number Diff line number Diff line change
@@ -367,7 +367,6 @@ exports[`Components: Slab renders 1`] = `
<DocContainer
docToc={true}
>
<ExperimentalComponentAlert />
<p
className="lead"
>
3 changes: 1 addition & 2 deletions src/App/Documentation/components/Slab/index.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import React, { Component } from "react";

import { ComponentPreview, DocContainer, ExperimentalComponentAlert } from "#";
import { ComponentPreview, DocContainer } from "#";
import { validation } from "$/px-script/main/";

const DefaultSlab = () => (
@@ -151,7 +151,6 @@ class Slab extends Component {
render () {
return (
<DocContainer docToc>
<ExperimentalComponentAlert />
<p className="lead">
Slabs are container components, therefore it works with whatever you want to put in it.
</p>
Original file line number Diff line number Diff line change
@@ -104,7 +104,6 @@ exports[`Components: Tabs renders 1`] = `
<DocContainer
docToc={true}
>
<ExperimentalComponentAlert />
<p
className="lead"
>
3 changes: 1 addition & 2 deletions src/App/Documentation/components/Tabs/index.js
Original file line number Diff line number Diff line change
@@ -2,7 +2,7 @@ import React, { Component } from "react";
import { Link } from "react-router-dom";
import PrismCode from "react-prism";

import { ComponentPreview, DocContainer, ExperimentalComponentAlert, Property } from "#";
import { ComponentPreview, DocContainer, Property } from "#";
import { tabs } from "$/px-script/main";
import TabsComponent from "@/Tabs";

@@ -36,7 +36,6 @@ class Tabs extends Component {
render () {
return (
<DocContainer docToc>
<ExperimentalComponentAlert />
<p className="lead">
Use tabs to show which page or section that is active out of several options.
</p>
Original file line number Diff line number Diff line change
@@ -517,7 +517,6 @@ exports[`Components: Toast PremadeToasts renders 1`] = `

exports[`Components: Toast renders 1`] = `
<DocContainer>
<ExperimentalComponentAlert />
<p
className="lead"
>
3 changes: 1 addition & 2 deletions src/App/Documentation/components/Toast/index.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import React, { Component } from "react";
import { Link } from "react-router-dom";

import { ComponentPreview, DocContainer, ExperimentalComponentAlert, Attribute } from "#";
import { ComponentPreview, DocContainer, Attribute } from "#";
import { toast } from "$/px-script/main";
import Alert from "@/Alert";

@@ -166,7 +166,6 @@ class Toast extends Component {
render () {
return (
<DocContainer>
<ExperimentalComponentAlert />
<p className="lead">
Toasts can be used as a way to give feedback to a user. Use it to display short messages that something has happened that will not be immediatley apparent on the website.
This can be everything from a server query to saving some user settings.
Original file line number Diff line number Diff line change
@@ -963,7 +963,6 @@ exports[`Dashboard: Charts renders 1`] = `
<DocContainer
docToc={true}
>
<ExperimentalComponentAlert />
<p
className="lead"
>
3 changes: 1 addition & 2 deletions src/App/Documentation/dashboard/Charts/index.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import React, { Component } from "react";

import { ComponentPreview, DocContainer, ExperimentalComponentAlert } from "#";
import { ComponentPreview, DocContainer } from "#";
import Chart from "@/Chart";

const LineChart = () => (
@@ -494,7 +494,6 @@ class Charts extends Component {
render () {
return (
<DocContainer docToc>
<ExperimentalComponentAlert />
<p className="lead">We are using <a href="https://www.chartjs.org/" target="_blank" rel="noopener noreferrer">chart.js</a> to generate the charts. Our script is mainly just a wrapper around that library to add the correct styling etc.</p>
<p>Most options and settings available in the chart.js documentation will be available.</p>
<p>For now, the following chart types are available:</p>
Original file line number Diff line number Diff line change
@@ -73,20 +73,6 @@ exports[`Utilities: Colors TextColors renders 1`] = `
>
Text colors
</h2>
<Alert
type="danger"
>
<h5>
Deprecated classname
</h5>
<p>
The class
<Property
value=".color-{name}"
/>
has been deprecated, and will be removed.
</p>
</Alert>
<p>
To use a color simply prepend
<Property
5 changes: 0 additions & 5 deletions src/App/Documentation/utilities/Colors/index.js
Original file line number Diff line number Diff line change
@@ -2,15 +2,10 @@ import React from "react";
import PrismCode from "react-prism";

import { ComponentPreview, DocContainer, Property } from "#";
import Alert from "@/Alert";

const TextColors = () => (
<>
<h2 id="text-colors">Text colors</h2>
<Alert type="danger">
<h5>Deprecated classname</h5>
<p>The class <Property value=".color-{name}" /> has been deprecated, and will be removed.</p>
</Alert>
<p>To use a color simply prepend <Property value=".text-{name}" />.</p>
<ComponentPreview language="html" showCasePanel codeFigure>
<p className="text-brand">.text-brand</p>
14 changes: 7 additions & 7 deletions src/App/routes/docs.js
Original file line number Diff line number Diff line change
@@ -85,7 +85,7 @@ module.exports = [
redirect: "/docs/components/action-list",
routes: [
{
title: "Action List (experimental)",
title: "Action List",
path: "/docs/components/action-list",
componentPath: "components/ActionList"
},
@@ -110,7 +110,7 @@ module.exports = [
componentPath: "components/Buttons"
},
{
title: "Card (experimental)",
title: "Card",
path: "/docs/components/card",
componentPath: "components/Card"
},
@@ -145,7 +145,7 @@ module.exports = [
componentPath: "components/MediaObject"
},
{
title: "Nav (experimental)",
title: "Nav",
path: "/docs/components/nav",
componentPath: "components/Nav"
},
@@ -165,7 +165,7 @@ module.exports = [
componentPath: "components/Sheet"
},
{
title: "Slab (experimental)",
title: "Slab",
path: "/docs/components/slab",
componentPath: "components/Slab"
},
@@ -180,12 +180,12 @@ module.exports = [
componentPath: "components/Steps"
},
{
title: "Tabs (experimental)",
title: "Tabs",
path: "/docs/components/tabs",
componentPath: "components/Tabs"
},
{
title: "Toast (experimental)",
title: "Toast",
path: "/docs/components/toast",
componentPath: "components/Toast"
},
@@ -216,7 +216,7 @@ module.exports = [
componentPath: "dashboard/Introduction"
},
{
title: "Charts (Experimental)",
title: "Charts",
path: "/docs/dashboard/charts",
componentPath: "dashboard/Charts"
}
7 changes: 0 additions & 7 deletions src/less/utilities/text.less
Original file line number Diff line number Diff line change
@@ -36,13 +36,6 @@ each(@color-list, .(@color, @name) {
.color-variant(~"text-@{name}", @color);
});

/* Remove this, `.color-{name}` is deprecated */
each(@color-list, .(@color, @name) {
.color-variant(~"color-@{name}", @color);
});

/* end remove */

.text-muted { color: @text-muted !important; }

.text-black-50 { color: fade(@black, 50%) !important; }

0 comments on commit 262c05b

Please sign in to comment.