Skip to content

Commit cd64fe0

Browse files
author
Sophie Shepherd
committed
Merge branch 'master' into cleanup-marketing
2 parents 185fdbe + 81825ff commit cd64fe0

File tree

103 files changed

+378
-265
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

103 files changed

+378
-265
lines changed

.storybook/config.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,10 @@ import React from 'react'
22
import { configure, addDecorator } from '@storybook/react'
33
import { setOptions } from '@storybook/addon-options'
44
import '../modules/primer/index.scss'
5+
import { version } from '../modules/primer/package.json'
56

67
setOptions({
7-
name: 'Primer',
8+
name: `Primer v${version}`,
89
url: 'http://primer.github.io/',
910
showDownPanel: false,
1011
})

.storybook/lib/storiesFromMarkdown.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ const htmlParser = new htmlToReact.Parser()
1212

1313
const railsOcticonToReact = (html) => {
1414
// <%= octicon "tools" %> to <Octicon name="tools" />
15-
const octre = /<%= octicon ["']([a-z\-]+)["'][^%]*%>/gi
15+
const octre = /<%= octicon[\(\s]["']([a-z\-]+)["'][^%]*%>/gi
1616
html = html.replace(octre, (match, name) => {
1717
return ReactDOMServer.renderToStaticMarkup(<Octicon name={name} />)
1818
})

CHANGELOG.md

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,28 @@
1+
# 10.3.0 (2018-01-17)
2+
3+
#### :rocket: Enhancement
4+
* [#426](https://github.com/primer/primer/pull/426) Add em spacer variables. ([@broccolini](https://github.com/broccolini))
5+
* [#430](https://github.com/primer/primer/pull/430) Increase input font-size to 16px on mobile. ([@broccolini](https://github.com/broccolini))
6+
7+
#### :bug: Bug Fix
8+
* [#416](https://github.com/primer/primer/pull/416) Point style field to build file in subhead component. ([@muan](https://github.com/muan))
9+
* [#424](https://github.com/primer/primer/pull/424) Add missing $spacer-12 in $marketingSpacers variable. ([@gladwearefriends](https://github.com/gladwearefriends))
10+
11+
#### :nail_care: Polish
12+
* [#418](https://github.com/primer/primer/pull/418) Button color contrast improvements. ([@broccolini](https://github.com/broccolini))
13+
14+
#### :memo: Documentation
15+
* [#427](https://github.com/primer/primer/pull/427) Adding stories from markdown for the other modules that didn't have any stories. ([@jonrohan](https://github.com/jonrohan))
16+
17+
#### :house: Internal
18+
* [#420](https://github.com/primer/primer/pull/420) Update licenses to 2018 🎊. ([@jonrohan](https://github.com/jonrohan))
19+
20+
#### Committers: 4
21+
- Catherine Bui ([gladwearefriends](https://github.com/gladwearefriends))
22+
- Diana Mounter ([broccolini](https://github.com/broccolini))
23+
- Jon Rohan ([jonrohan](https://github.com/jonrohan))
24+
- [muan](https://github.com/muan)
25+
126
# 10.2.0 (2017-12-11)
227

328
#### :rocket: Enhancement

LICENSE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
The MIT License (MIT)
22

3-
Copyright (c) 2017 GitHub Inc.
3+
Copyright (c) 2018 GitHub Inc.
44

55
Permission is hereby granted, free of charge, to any person obtaining a copy
66
of this software and associated documentation files (the "Software"), to deal

modules/primer-alerts/LICENSE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
The MIT License (MIT)
22

3-
Copyright (c) 2017 GitHub Inc.
3+
Copyright (c) 2018 GitHub Inc.
44

55
Permission is hereby granted, free of charge, to any person obtaining a copy
66
of this software and associated documentation files (the "Software"), to deal

modules/primer-alerts/lib/flash.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@
7373
}
7474

7575
.warning {
76-
padding: 0.5em;
76+
padding: $em-spacer-5;
7777
margin-bottom: 0.8em;
7878
font-weight: $font-weight-bold;
7979
background-color: $yellow-100;

modules/primer-alerts/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"version": "1.5.4",
2+
"version": "1.5.5",
33
"name": "primer-alerts",
44
"description": "Flash messages, or alerts, inform users of successful or pending actions.",
55
"homepage": "http://primer.github.io/",
@@ -28,7 +28,7 @@
2828
"test": "../../script/npm-run-all build lint"
2929
},
3030
"dependencies": {
31-
"primer-support": "4.5.1"
31+
"primer-support": "4.5.2"
3232
},
3333
"keywords": [
3434
"alerts",

modules/primer-avatars/LICENSE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
The MIT License (MIT)
22

3-
Copyright (c) 2017 GitHub Inc.
3+
Copyright (c) 2018 GitHub Inc.
44

55
Permission is hereby granted, free of charge, to any person obtaining a copy
66
of this software and associated documentation files (the "Software"), to deal

modules/primer-avatars/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"version": "1.5.1",
2+
"version": "1.5.2",
33
"name": "primer-avatars",
44
"description": "Basic styles for user profile avatars.",
55
"homepage": "http://primer.github.io/",
@@ -28,7 +28,7 @@
2828
"test": "../../script/npm-run-all build lint"
2929
},
3030
"dependencies": {
31-
"primer-support": "4.5.1"
31+
"primer-support": "4.5.2"
3232
},
3333
"keywords": [
3434
"avatars",

modules/primer-base/LICENSE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
The MIT License (MIT)
22

3-
Copyright (c) 2017 GitHub Inc.
3+
Copyright (c) 2018 GitHub Inc.
44

55
Permission is hereby granted, free of charge, to any person obtaining a copy
66
of this software and associated documentation files (the "Software"), to deal

0 commit comments

Comments
 (0)