Skip to content
This repository has been archived by the owner on Oct 6, 2020. It is now read-only.

Commit

Permalink
feat: v5 (#64)
Browse files Browse the repository at this point in the history
feat: v5

Co-authored-by: Mathew Morris <[email protected]>
Co-authored-by: Jaden Lemmon <[email protected]>
Co-authored-by: Claire Hsu <[email protected]>
  • Loading branch information
4 people authored Sep 19, 2019
2 parents ba29de2 + 7bfe288 commit c18c063
Show file tree
Hide file tree
Showing 115 changed files with 14,417 additions and 19,092 deletions.
5 changes: 4 additions & 1 deletion .eslintrc
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
{
"extends": "sappira/react"
"extends": "sappira/react",
"rules": {
"import/no-named-as-default": 0
}
}
5 changes: 5 additions & 0 deletions .storybook/addons.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
import '@storybook/addon-actions/register';
import '@storybook/addon-links/register';
import '@storybook/addon-a11y/register';
import '@storybook/addon-storysource/register';
import '@storybook/addon-knobs/register';
57 changes: 57 additions & 0 deletions .storybook/config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,57 @@
import React from 'react';
import { configure, addDecorator,addParameters } from '@storybook/react';
import { withA11y } from '@storybook/addon-a11y';
import { withKnobs } from '@storybook/addon-knobs';
import { createGlobalStyle } from 'styled-components';
import { ThemeProvider } from '../src';
import theme from './theme';

const GlobalStyle = createGlobalStyle`
@font-face {
font-family: "Tiempos";
font-weight: 500;
font-style: normal;
src: url(//cdn.heydoctor.com/fonts/TiemposHeadlineWeb-Semibold.woff2) format('woff2');
}
* {
font-family: "Avenir", sans-serif !important;
box-sizing: border-box;
}
body {
color: ${theme.color};
}
h1 {
font-family: "Tiempos", serif !important;
color: black;
}
`;

addParameters({
options: {
theme,
panelPosition: 'bottom'
},
});

addDecorator(withKnobs);
addDecorator(withA11y);
addDecorator(story => (
<ThemeProvider>
<>
<GlobalStyle />
{story()}
</>
</ThemeProvider>
));

// automatically import all files ending in *.stories.js
configure(
[
require.context('../src', true, /\.stories\.mdx$/),
require.context('../src', true, /\.stories\.js$/),
],
module
);
5 changes: 5 additions & 0 deletions .storybook/manager-head.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
<style>
.sidebar-subheading {
letter-spacing: 0 !important;
}
</style>
1 change: 1 addition & 0 deletions .storybook/presets.js
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
module.exports = ['@storybook/addon-docs/react/preset'];
7 changes: 7 additions & 0 deletions .storybook/preview-head.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
<link rel="stylesheet" href="https://cdn.materialdesignicons.com/2.8.94/css/materialdesignicons.min.css" />

<style>
.sbdocs-p {
font-size: 18px !important;
}
</style>
10 changes: 10 additions & 0 deletions .storybook/theme.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
import { create } from '@storybook/theming';

export default create({
base: 'light',
color: '#1B202B',

brandTitle: 'HeyDoctor',
brandUrl: 'https://www.heydoctor.com',
brandImage: 'https://cdn.heydoctor.com/images/logos/heydoctor-wordmark-dark.svg',
});
115 changes: 115 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,121 @@

All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.

<a name="5.0.0-beta.9"></a>
# [5.0.0-beta.9](https://github.com/sappira-inc/molekule/compare/v5.0.0-beta.8...v5.0.0-beta.9) (2019-09-18)


### Bug Fixes

* **Label:** Apply correct colors given active state ([1aee5fe](https://github.com/sappira-inc/molekule/commit/1aee5fe))



<a name="5.0.0-beta.8"></a>
# [5.0.0-beta.8](https://github.com/sappira-inc/molekule/compare/v5.0.0-beta.7...v5.0.0-beta.8) (2019-09-18)


### Bug Fixes

* **Inputs:** Use correct colors ([ada8a7b](https://github.com/sappira-inc/molekule/commit/ada8a7b))



<a name="5.0.0-beta.7"></a>
# [5.0.0-beta.7](https://github.com/sappira-inc/molekule/compare/v5.0.0-beta.6...v5.0.0-beta.7) (2019-09-18)


### Bug Fixes

* **Checkbox:** Fix FormError being rendered horizontally in Flex component ([af86478](https://github.com/sappira-inc/molekule/commit/af86478))



<a name="5.0.0-beta.6"></a>
# [5.0.0-beta.6](https://github.com/sappira-inc/molekule/compare/v5.0.0-beta.5...v5.0.0-beta.6) (2019-09-18)


### Bug Fixes

* **Card:** Allow Card.Body to standalone ([44ed904](https://github.com/sappira-inc/molekule/commit/44ed904))



<a name="5.0.0-beta.5"></a>
# [5.0.0-beta.5](https://github.com/sappira-inc/molekule/compare/v5.0.0-beta.4...v5.0.0-beta.5) (2019-09-18)


### Features

* Export theme creator ([aa7ac08](https://github.com/sappira-inc/molekule/commit/aa7ac08))



<a name="5.0.0-beta.4"></a>
# [5.0.0-beta.4](https://github.com/sappira-inc/molekule/compare/v5.0.0-beta.3...v5.0.0-beta.4) (2019-09-18)


### Features

* **HeyDoctor:** Implements small specific theme/component changes ([#80](https://github.com/sappira-inc/molekule/issues/80)) ([7b6dbf6](https://github.com/sappira-inc/molekule/commit/7b6dbf6))



<a name="5.0.0-beta.3"></a>
# [5.0.0-beta.3](https://github.com/sappira-inc/molekule/compare/v5.0.0-beta.2...v5.0.0-beta.3) (2019-09-16)


### Bug Fixes

* **Input:** Padding, Icon color, & Floating changes ([#78](https://github.com/sappira-inc/molekule/issues/78)) ([96bebb9](https://github.com/sappira-inc/molekule/commit/96bebb9))


### Features

* **Text:** New Text component; upgrade to styled-system@v5 ([#79](https://github.com/sappira-inc/molekule/issues/79)) ([82c8b32](https://github.com/sappira-inc/molekule/commit/82c8b32))



<a name="5.0.0-beta.2"></a>
# [5.0.0-beta.2](https://github.com/sappira-inc/molekule/compare/v5.0.0-beta.1...v5.0.0-beta.2) (2019-09-12)


### Features

* Add floating label to select ([#73](https://github.com/sappira-inc/molekule/issues/73)) ([d8f506a](https://github.com/sappira-inc/molekule/commit/d8f506a))
* **Checkbox:** Updates styles ([#77](https://github.com/sappira-inc/molekule/issues/77)) ([60172f3](https://github.com/sappira-inc/molekule/commit/60172f3))
* **Colors:** Update Taylor Primary to Taylor Dark ([#76](https://github.com/sappira-inc/molekule/issues/76)) ([b4c589a](https://github.com/sappira-inc/molekule/commit/b4c589a))



<a name="5.0.0-beta.1"></a>
# [5.0.0-beta.1](https://github.com/sappira-inc/molekule/compare/v5.0.0-beta.0...v5.0.0-beta.1) (2019-09-10)


### Bug Fixes

* **Checkbox:** Support for long labels ([#74](https://github.com/sappira-inc/molekule/issues/74)) ([7692d7b](https://github.com/sappira-inc/molekule/commit/7692d7b))
* **Flex:** Forwards ref to children ([#75](https://github.com/sappira-inc/molekule/issues/75)) ([c5e680b](https://github.com/sappira-inc/molekule/commit/c5e680b))



<a name="5.0.0-beta.0"></a>
# [5.0.0-beta.0](https://github.com/sappira-inc/molekule/compare/v4.1.7...v5.0.0-beta.0) (2019-09-06)


### Features

* **Badge:** Padding and default size ([#67](https://github.com/sappira-inc/molekule/issues/67)) ([bf2d745](https://github.com/sappira-inc/molekule/commit/bf2d745))
* **Button:** Icon support and default style updates ([#51](https://github.com/sappira-inc/molekule/issues/51)) ([dc7809d](https://github.com/sappira-inc/molekule/commit/dc7809d))
* **Colors:** Updates colors ([#60](https://github.com/sappira-inc/molekule/issues/60)) ([9d18867](https://github.com/sappira-inc/molekule/commit/9d18867))
* Add Storybook and component stories ([#69](https://github.com/sappira-inc/molekule/issues/69)) ([b9378ba](https://github.com/sappira-inc/molekule/commit/b9378ba))
* **Dropdown:** Style updates ([#68](https://github.com/sappira-inc/molekule/issues/68)) ([ca36b19](https://github.com/sappira-inc/molekule/commit/ca36b19))
* **Input:** `isFocused` state and icon support ([#49](https://github.com/sappira-inc/molekule/issues/49)) ([2760d89](https://github.com/sappira-inc/molekule/commit/2760d89))
* **Modal:** Accessibility updates, width constraint ([#52](https://github.com/sappira-inc/molekule/issues/52)) ([d39834c](https://github.com/sappira-inc/molekule/commit/d39834c))
* **Switch:** Style Updates ([#70](https://github.com/sappira-inc/molekule/issues/70)) ([40eeffb](https://github.com/sappira-inc/molekule/commit/40eeffb))



<a name="4.1.7"></a>
## [4.1.7](https://github.com/sappira-inc/molekule/compare/v4.1.6...v4.1.7) (2019-08-21)

Expand Down
8 changes: 0 additions & 8 deletions docs/intro.mdx

This file was deleted.

165 changes: 0 additions & 165 deletions docs/theme.mdx

This file was deleted.

Loading

0 comments on commit c18c063

Please sign in to comment.