mirror of
https://github.com/pure-css/pure
synced 2024-11-22 05:32:20 +01:00
chore: rename to main (#1342)
This commit is contained in:
parent
18831f0ad6
commit
b453111023
2
.github/PULL_REQUEST_TEMPLATE.md
vendored
2
.github/PULL_REQUEST_TEMPLATE.md
vendored
@ -1,6 +1,6 @@
|
|||||||
Please consider the following before submitting a pull request:
|
Please consider the following before submitting a pull request:
|
||||||
|
|
||||||
Guidelines for contributing: https://github.com/pure-css/pure/blob/master/CONTRIBUTING.md
|
Guidelines for contributing: https://github.com/pure-css/pure/blob/main/CONTRIBUTING.md
|
||||||
|
|
||||||
Example of changes on an interactive website such as the following:
|
Example of changes on an interactive website such as the following:
|
||||||
|
|
||||||
|
4
.github/workflows/deploy.yml
vendored
4
.github/workflows/deploy.yml
vendored
@ -2,7 +2,7 @@ name: Deploy
|
|||||||
|
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
branches: [master]
|
branches: [main]
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
deploy:
|
deploy:
|
||||||
@ -19,7 +19,7 @@ jobs:
|
|||||||
ssh-private-key: ${{ secrets.GH_PAGES_DEPLOY }}
|
ssh-private-key: ${{ secrets.GH_PAGES_DEPLOY }}
|
||||||
- name: Release to GitHub Pages
|
- name: Release to GitHub Pages
|
||||||
env:
|
env:
|
||||||
DEPLOYMENT_BRANCH: master
|
DEPLOYMENT_BRANCH: main
|
||||||
GH_EMAIL: ${{ secrets.GH_EMAIL }}
|
GH_EMAIL: ${{ secrets.GH_EMAIL }}
|
||||||
GH_NAME: ${{ secrets.GH_NAME }}
|
GH_NAME: ${{ secrets.GH_NAME }}
|
||||||
GIT_USER: ${{ secrets.GH_NAME }}
|
GIT_USER: ${{ secrets.GH_NAME }}
|
||||||
|
4
.github/workflows/test.yml
vendored
4
.github/workflows/test.yml
vendored
@ -2,9 +2,9 @@ name: Testing
|
|||||||
|
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
branches: [master]
|
branches: [main]
|
||||||
pull_request:
|
pull_request:
|
||||||
branches: [master]
|
branches: [main]
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
test:
|
test:
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
Feel free to [open issues][] and send pull requests on GitHub! When sending a
|
Feel free to [open issues][] and send pull requests on GitHub! When sending a
|
||||||
pull request, please create a new topic/feature branch, and send your pull
|
pull request, please create a new topic/feature branch, and send your pull
|
||||||
request from that branch. Please do _not_ send pull requests from your `master`
|
request from that branch. Please do _not_ send pull requests from your `main`
|
||||||
branch because this tends to lead to merge conflicts.
|
branch because this tends to lead to merge conflicts.
|
||||||
|
|
||||||
In order for us to to merge your pull requests, we need you to review and sign
|
In order for us to to merge your pull requests, we need you to review and sign
|
||||||
@ -18,7 +18,7 @@ contributions along with all other developers who use Pure.
|
|||||||
to open issues or questions in the Issue tab.
|
to open issues or questions in the Issue tab.
|
||||||
|
|
||||||
[pure]: http://purecss.io/
|
[pure]: http://purecss.io/
|
||||||
[pure-site]: https://github.com/pure-css/pure/tree/master/site
|
[pure-site]: https://github.com/pure-css/pure/tree/main/site
|
||||||
|
|
||||||
## Building and Testing Pure
|
## Building and Testing Pure
|
||||||
|
|
||||||
|
@ -173,7 +173,7 @@ module.exports = function (grunt) {
|
|||||||
'Pure v<%= pkg.version %>',
|
'Pure v<%= pkg.version %>',
|
||||||
'Copyright 2013 Yahoo!',
|
'Copyright 2013 Yahoo!',
|
||||||
'Licensed under the BSD License.',
|
'Licensed under the BSD License.',
|
||||||
'https://github.com/pure-css/pure/blob/master/LICENSE',
|
'https://github.com/pure-css/pure/blob/main/LICENSE',
|
||||||
'*/\n'
|
'*/\n'
|
||||||
].join('\n')
|
].join('\n')
|
||||||
},
|
},
|
||||||
|
323
HISTORY.md
323
HISTORY.md
@ -1,14 +1,12 @@
|
|||||||
Pure Change History
|
# Pure Change History
|
||||||
===================
|
|
||||||
|
|
||||||
3.0.0 (2022-10-26)
|
## 3.0.0 (2022-10-26)
|
||||||
------------------
|
|
||||||
|
|
||||||
This is a major version bump that has the following changes:
|
This is a major version bump that has the following changes:
|
||||||
|
|
||||||
* Removed the `font-family` hack from Grids (#1074)
|
- Removed the `font-family` hack from Grids (#1074)
|
||||||
* IE is no longer supported and all code and documentation references have been removed
|
- IE is no longer supported and all code and documentation references have been removed
|
||||||
* The browserslist configuration has been updated to "> 1%" browser usage. You can use the [browserslist tool](https://browserslist.dev/?q=PiAxJQ%3D%3D) to see which browsers this now covers.
|
- The browserslist configuration has been updated to "> 1%" browser usage. You can use the [browserslist tool](https://browserslist.dev/?q=PiAxJQ%3D%3D) to see which browsers this now covers.
|
||||||
|
|
||||||
### Migration
|
### Migration
|
||||||
|
|
||||||
@ -18,64 +16,74 @@ This major version should not include too many breaking changes for your app, bu
|
|||||||
- Verify your grids are still functioning correctly with the `font-family` hack still removed. This should not affect you as it was a hack for older browsers.
|
- Verify your grids are still functioning correctly with the `font-family` hack still removed. This should not affect you as it was a hack for older browsers.
|
||||||
|
|
||||||
2.2.0 (2022-10-19)
|
2.2.0 (2022-10-19)
|
||||||
------------------
|
|
||||||
|
|
||||||
* feat: added media queries for 2.5K and 4K screens (#1065)
|
---
|
||||||
|
|
||||||
|
- feat: added media queries for 2.5K and 4K screens (#1065)
|
||||||
|
|
||||||
2.1.0 (2022-03-14)
|
2.1.0 (2022-03-14)
|
||||||
------------------
|
|
||||||
|
|
||||||
* feat: support xxl (1920px) media query
|
---
|
||||||
|
|
||||||
|
- feat: support xxl (1920px) media query
|
||||||
|
|
||||||
2.0.6 (2021-04-28)
|
2.0.6 (2021-04-28)
|
||||||
------------------
|
|
||||||
|
|
||||||
* chore: update to cssmin@4
|
---
|
||||||
|
|
||||||
|
- chore: update to cssmin@4
|
||||||
|
|
||||||
2.0.5 (2021-01-20)
|
2.0.5 (2021-01-20)
|
||||||
------------------
|
|
||||||
|
|
||||||
* fix #824: cursor style for disabled menu link
|
---
|
||||||
|
|
||||||
|
- fix #824: cursor style for disabled menu link
|
||||||
|
|
||||||
2.0.4 (2021-01-19)
|
2.0.4 (2021-01-19)
|
||||||
------------------
|
|
||||||
|
|
||||||
* chore: update license path
|
---
|
||||||
|
|
||||||
|
- chore: update license path
|
||||||
|
|
||||||
2.0.3 (2020-05-11)
|
2.0.3 (2020-05-11)
|
||||||
------------------
|
|
||||||
|
|
||||||
* fix: update browser list for all environments
|
---
|
||||||
|
|
||||||
|
- fix: update browser list for all environments
|
||||||
|
|
||||||
2.0.2 (2020-05-11)
|
2.0.2 (2020-05-11)
|
||||||
------------------
|
|
||||||
|
|
||||||
* refactor: Remove button CSS for IE 6-8
|
---
|
||||||
|
|
||||||
|
- refactor: Remove button CSS for IE 6-8
|
||||||
|
|
||||||
2.0.1 (2020-05-05)
|
2.0.1 (2020-05-05)
|
||||||
------------------
|
|
||||||
|
|
||||||
* refactor: remove usage of deprecated webkit-overflow-scrolling
|
---
|
||||||
|
|
||||||
|
- refactor: remove usage of deprecated webkit-overflow-scrolling
|
||||||
|
|
||||||
2.0.0 (2020-05-05)
|
2.0.0 (2020-05-05)
|
||||||
------------------
|
|
||||||
|
---
|
||||||
|
|
||||||
This is a major version bump that has the following changes:
|
This is a major version bump that has the following changes:
|
||||||
|
|
||||||
* Reduced overall size of Pure to 3.6kb (gzipped/min)
|
- Reduced overall size of Pure to 3.6kb (gzipped/min)
|
||||||
* Updated Normalize to v8.
|
- Updated Normalize to v8.
|
||||||
* Removed bower
|
- Removed bower
|
||||||
* Removed old IE 8 hacks
|
- Removed old IE 8 hacks
|
||||||
* Removed deprecated `pure-help-inline` form class
|
- Removed deprecated `pure-help-inline` form class
|
||||||
|
|
||||||
### Migration
|
### Migration
|
||||||
|
|
||||||
This major version should not include too many breaking changes for your app, but please check the following:
|
This major version should not include too many breaking changes for your app, but please check the following:
|
||||||
|
|
||||||
- Normalize Upgraded from v3 to v8. [Many things have changed](https://github.com/necolas/normalize.css/blob/master/CHANGELOG.md), be sure to verify your site properly.
|
- Normalize Upgraded from v3 to v8. [Many things have changed](https://github.com/necolas/normalize.css/blob/main/CHANGELOG.md), be sure to verify your site properly.
|
||||||
- Normalize removed the default `font-family`, but we have added to the `base.css` for consistency and due to the fact that the grids system leverages the `font-family` for `letter-spacing`.
|
- Normalize removed the default `font-family`, but we have added to the `base.css` for consistency and due to the fact that the grids system leverages the `font-family` for `letter-spacing`.
|
||||||
|
|
||||||
### New Browser support
|
### New Browser support
|
||||||
|
|
||||||
- Chrome
|
- Chrome
|
||||||
- Edge
|
- Edge
|
||||||
- Firefox
|
- Firefox
|
||||||
@ -85,83 +93,82 @@ This major version should not include too many breaking changes for your app, bu
|
|||||||
|
|
||||||
> Deprecated support for < IE 10
|
> Deprecated support for < IE 10
|
||||||
|
|
||||||
|
## 1.0.1 (2019-07-10)
|
||||||
|
|
||||||
1.0.1 (2019-07-10)
|
- Fix "selected" menu item labels in nested menus (#708)
|
||||||
------------------
|
- Fix bug in pure-button active state's border color. (#729)
|
||||||
|
- Fix horizontal scrollbars not appearing in IE11 and Chrome (#740)
|
||||||
* Fix "selected" menu item labels in nested menus (#708)
|
- Fix pure-table-bordered issues (#718)
|
||||||
* Fix bug in pure-button active state's border color. (#729)
|
|
||||||
* Fix horizontal scrollbars not appearing in IE11 and Chrome (#740)
|
|
||||||
* Fix pure-table-bordered issues (#718)
|
|
||||||
|
|
||||||
|
|
||||||
1.0.0 (2017-06-05)
|
1.0.0 (2017-06-05)
|
||||||
------------------
|
|
||||||
|
---
|
||||||
|
|
||||||
The community has battle-tested Pure and provided valuable feedback. We are now at a place where we can guarantee backwards compatibility through all subsequent 1.x releases.
|
The community has battle-tested Pure and provided valuable feedback. We are now at a place where we can guarantee backwards compatibility through all subsequent 1.x releases.
|
||||||
|
|
||||||
We hope you have found Pure to be useful and unobtrusive.. To provide feedback, please comment on this GitHub issue, or file a new issue to have it tracked as a separate thread.
|
We hope you have found Pure to be useful and unobtrusive.. To provide feedback, please comment on this GitHub issue, or file a new issue to have it tracked as a separate thread.
|
||||||
|
|
||||||
|
## 0.6.2 (2017-01-05)
|
||||||
|
|
||||||
0.6.2 (2017-01-05)
|
- Added proper module API for node users [#619]
|
||||||
------------------
|
|
||||||
|
|
||||||
* Added proper module API for node users [#619]
|
|
||||||
|
|
||||||
### Buttons
|
### Buttons
|
||||||
|
|
||||||
* Added Button Groups to Pure [#621]
|
- Added Button Groups to Pure [#621]
|
||||||
|
|
||||||
### Menus
|
### Menus
|
||||||
|
|
||||||
* Reset style for horizontal dropdown separator [#620]
|
- Reset style for horizontal dropdown separator [#620]
|
||||||
|
|
||||||
0.6.1 (2016-10-12)
|
0.6.1 (2016-10-12)
|
||||||
------------------
|
|
||||||
|
|
||||||
* Migrate to PostCSS for browser prefixes [#617]
|
---
|
||||||
* Remove duplicate Firefox inner focus border [#457]
|
|
||||||
* Fix grid inside table in IE 10/11 [#504]
|
- Migrate to PostCSS for browser prefixes [#617]
|
||||||
* Fix CSSLint issues [#609]
|
- Remove duplicate Firefox inner focus border [#457]
|
||||||
* Upgraded grunt dependencies to 1.x [#609]
|
- Fix grid inside table in IE 10/11 [#504]
|
||||||
|
- Fix CSSLint issues [#609]
|
||||||
|
- Upgraded grunt dependencies to 1.x [#609]
|
||||||
|
|
||||||
0.6.0 (2015-02-07)
|
0.6.0 (2015-02-07)
|
||||||
------------------
|
|
||||||
|
|
||||||
* Upgraded Normalize.css to 3.0.2.
|
---
|
||||||
* Dropped IE7 support.
|
|
||||||
* Refactored Menus.
|
- Upgraded Normalize.css to 3.0.2.
|
||||||
* Numerous minor bug fixes.
|
- Dropped IE7 support.
|
||||||
|
- Refactored Menus.
|
||||||
|
- Numerous minor bug fixes.
|
||||||
|
|
||||||
### Menus
|
### Menus
|
||||||
|
|
||||||
* Implemented flatter, low-specificity selectors, not attached to HTML elements,
|
- Implemented flatter, low-specificity selectors, not attached to HTML elements,
|
||||||
for easier customization.
|
for easier customization.
|
||||||
* Removed pure-menu-open class.
|
- Removed pure-menu-open class.
|
||||||
* Added pure-menu-scrollable capability, to allow for scrollable menus when
|
- Added pure-menu-scrollable capability, to allow for scrollable menus when
|
||||||
restricted by width or height.
|
restricted by width or height.
|
||||||
* Added pure-menu-allow-hover to reveal dropdowns on hover.
|
- Added pure-menu-allow-hover to reveal dropdowns on hover.
|
||||||
* Removed various default styling properties, making menus a bit more bare-bones,
|
- Removed various default styling properties, making menus a bit more bare-bones,
|
||||||
a bit less opinionated, a bit easier to customize on top.
|
a bit less opinionated, a bit easier to customize on top.
|
||||||
* Broke Menu up into files for core, horizontal, dropdowns, scrollable, and skin,
|
- Broke Menu up into files for core, horizontal, dropdowns, scrollable, and skin,
|
||||||
again for improved optimization and ease of customization: take only what you
|
again for improved optimization and ease of customization: take only what you
|
||||||
need.
|
need.
|
||||||
* Removed Paginator.
|
- Removed Paginator.
|
||||||
* While not part of the Pure repo itself, the accompanying Pure website now
|
- While not part of the Pure repo itself, the accompanying Pure website now
|
||||||
features additional menu examples and an example script for enabling dropdowns
|
features additional menu examples and an example script for enabling dropdowns
|
||||||
and improved accessiblity.
|
and improved accessiblity.
|
||||||
|
|
||||||
0.5.0 (2014-05-27)
|
0.5.0 (2014-05-27)
|
||||||
------------------
|
|
||||||
|
---
|
||||||
|
|
||||||
### Base
|
### Base
|
||||||
|
|
||||||
* Added the `.pure-img` class name for make images scale with the viewport in
|
- Added the `.pure-img` class name for make images scale with the viewport in
|
||||||
fluid layouts.
|
fluid layouts.
|
||||||
|
|
||||||
### Grids
|
### Grids
|
||||||
|
|
||||||
* __[!]__ Removed `.pure-g-r` from core, in favor of a mobile-first responsive
|
- **[!]** Removed `.pure-g-r` from core, in favor of a mobile-first responsive
|
||||||
grid system. ([#24][], [#267][])
|
grid system. ([#24][], [#267][])
|
||||||
|
|
||||||
To use the mobile-first grid system, you need to pull in `pure.css`, along
|
To use the mobile-first grid system, you need to pull in `pure.css`, along
|
||||||
@ -170,13 +177,22 @@ a bit less opinionated, a bit easier to customize on top.
|
|||||||
website:
|
website:
|
||||||
|
|
||||||
```html
|
```html
|
||||||
<link rel="stylesheet" href="http://yui.yahooapis.com/pure/0.5.0-rc-1/pure-min.css">
|
<link
|
||||||
|
rel="stylesheet"
|
||||||
|
href="http://yui.yahooapis.com/pure/0.5.0-rc-1/pure-min.css"
|
||||||
|
/>
|
||||||
|
|
||||||
<!--[if lt IE 9]>
|
<!--[if lt IE 9]>
|
||||||
<link rel="stylesheet" href="http://yui.yahooapis.com/pure/0.5.0-rc-1/grids-responsive-old-ie-min.css">
|
<link
|
||||||
|
rel="stylesheet"
|
||||||
|
href="http://yui.yahooapis.com/pure/0.5.0-rc-1/grids-responsive-old-ie-min.css"
|
||||||
|
/>
|
||||||
<![endif]-->
|
<![endif]-->
|
||||||
<!--[if gt IE 8]><!-->
|
<!--[if gt IE 8]><!-->
|
||||||
<link rel="stylesheet" href="http://yui.yahooapis.com/pure/0.5.0-rc-1/grids-responsive-min.css">
|
<link
|
||||||
|
rel="stylesheet"
|
||||||
|
href="http://yui.yahooapis.com/pure/0.5.0-rc-1/grids-responsive-min.css"
|
||||||
|
/>
|
||||||
<!--<![endif]-->
|
<!--<![endif]-->
|
||||||
```
|
```
|
||||||
|
|
||||||
@ -184,45 +200,39 @@ a bit less opinionated, a bit easier to customize on top.
|
|||||||
|
|
||||||
### Tables
|
### Tables
|
||||||
|
|
||||||
* Switched cell padding in Tables from `px` to `em` units, and also increased
|
- Switched cell padding in Tables from `px` to `em` units, and also increased
|
||||||
the amount of padding to `padding: 0.5em 1em`.
|
the amount of padding to `padding: 0.5em 1em`.
|
||||||
|
|
||||||
|
|
||||||
[#24]: https://github.com/pure-css/pure/issues/24
|
[#24]: https://github.com/pure-css/pure/issues/24
|
||||||
[#267]: https://github.com/pure-css/pure/pull/267
|
[#267]: https://github.com/pure-css/pure/pull/267
|
||||||
|
|
||||||
|
## 0.4.2 (2014-02-13)
|
||||||
|
|
||||||
0.4.2 (2014-02-13)
|
- Added `main` to Pure's `bower.json` file to allow easier integration with
|
||||||
------------------
|
|
||||||
|
|
||||||
* Added `main` to Pure's `bower.json` file to allow easier integration with
|
|
||||||
build processes and tooling. ([#286][] @stevenvachon)
|
build processes and tooling. ([#286][] @stevenvachon)
|
||||||
|
|
||||||
### Forms
|
### Forms
|
||||||
|
|
||||||
* Improved how `<input type="color">` elements look in Chrome by fixing
|
- Improved how `<input type="color">` elements look in Chrome by fixing
|
||||||
paddings. ([#283][] @jpetto)
|
paddings. ([#283][] @jpetto)
|
||||||
|
|
||||||
* Removed `font-size` rules from `<input>`, `<legend>`, and `<fieldset>`
|
- Removed `font-size` rules from `<input>`, `<legend>`, and `<fieldset>`
|
||||||
elements within `.pure-form`. Font sizes are now inherited from the
|
elements within `.pure-form`. Font sizes are now inherited from the
|
||||||
application's CSS file. ([#265][])
|
application's CSS file. ([#265][])
|
||||||
|
|
||||||
* Invalid `<input>` elements within a Pure Form no longer explicitly set a
|
- Invalid `<input>` elements within a Pure Form no longer explicitly set a
|
||||||
`border-width`. ([#295][] @kwando)
|
`border-width`. ([#295][] @kwando)
|
||||||
|
|
||||||
|
|
||||||
[#265]: https://github.com/pure-css/pure/issues/265
|
[#265]: https://github.com/pure-css/pure/issues/265
|
||||||
[#283]: https://github.com/pure-css/pure/issues/283
|
[#283]: https://github.com/pure-css/pure/issues/283
|
||||||
[#286]: https://github.com/pure-css/pure/issues/286
|
[#286]: https://github.com/pure-css/pure/issues/286
|
||||||
[#295]: https://github.com/pure-css/pure/issues/295
|
[#295]: https://github.com/pure-css/pure/issues/295
|
||||||
|
|
||||||
|
## 0.4.1 (2014-02-06)
|
||||||
0.4.1 (2014-02-06)
|
|
||||||
------------------
|
|
||||||
|
|
||||||
### Base
|
### Base
|
||||||
|
|
||||||
* Elements that have Pure classnames which set a `display` declaration _and_ use
|
- Elements that have Pure classnames which set a `display` declaration _and_ use
|
||||||
the `hidden` HTML attribute will now properly be hidden. With these changes,
|
the `hidden` HTML attribute will now properly be hidden. With these changes,
|
||||||
the following button will be hidden from view:
|
the following button will be hidden from view:
|
||||||
|
|
||||||
@ -236,41 +246,40 @@ a bit less opinionated, a bit easier to customize on top.
|
|||||||
|
|
||||||
### Buttons
|
### Buttons
|
||||||
|
|
||||||
* Removed all the occurrences of `-ms-linear-gradient()` from Buttons since it
|
- Removed all the occurrences of `-ms-linear-gradient()` from Buttons since it
|
||||||
has never been in the final version of IE 10. ([#200][]: @AurelioDeRosa)
|
has never been in the final version of IE 10. ([#200][]: @AurelioDeRosa)
|
||||||
|
|
||||||
* `<input>` Buttons now have the same height as non-input buttons.
|
- `<input>` Buttons now have the same height as non-input buttons.
|
||||||
`font-family: inherit;` has been added to the `.pure-button` selector to
|
`font-family: inherit;` has been added to the `.pure-button` selector to
|
||||||
normalize the difference in height. ([#221][] @narcis-radu)
|
normalize the difference in height. ([#221][] @narcis-radu)
|
||||||
|
|
||||||
* Buttons now have visually uniform default `padding` on all four sides. The
|
- Buttons now have visually uniform default `padding` on all four sides. The
|
||||||
left/right padding is 2x the top/bottom padding. ([#191][] @achalv)
|
left/right padding is 2x the top/bottom padding. ([#191][] @achalv)
|
||||||
|
|
||||||
### Forms
|
### Forms
|
||||||
|
|
||||||
* Added `vertical-align: top;` to `<textarea>`s within `.pure-form-aligned`
|
- Added `vertical-align: top;` to `<textarea>`s within `.pure-form-aligned`
|
||||||
Forms to fix an alignment issue where its label was aligned to the middle.
|
Forms to fix an alignment issue where its label was aligned to the middle.
|
||||||
([#174][] @rictorres, @ItsAsbreuk)
|
([#174][] @rictorres, @ItsAsbreuk)
|
||||||
|
|
||||||
* Added styling for `<input>` elements that don't have a `type` attribute.
|
- Added styling for `<input>` elements that don't have a `type` attribute.
|
||||||
([#261][] @dougdavies)
|
([#261][] @dougdavies)
|
||||||
|
|
||||||
### Grids
|
### Grids
|
||||||
|
|
||||||
* Added all non-reduced fractions to Grids default 5ths- and 24ths-based units.
|
- Added all non-reduced fractions to Grids default 5ths- and 24ths-based units.
|
||||||
There are now styles specified for `.pure-u-1-24` – `.pure-u-24-24`. All 5ths-
|
There are now styles specified for `.pure-u-1-24` – `.pure-u-24-24`. All 5ths-
|
||||||
based units and reduced factions still remain; e.g., both `.pure-u-12-24` and
|
based units and reduced factions still remain; e.g., both `.pure-u-12-24` and
|
||||||
`.pure-u-1-2` exist. ([#144][] @mike-engel)
|
`.pure-u-1-2` exist. ([#144][] @mike-engel)
|
||||||
|
|
||||||
* Removed `grids-units.css` from `src/`, this file is now generated via a Grunt
|
- Removed `grids-units.css` from `src/`, this file is now generated via a Grunt
|
||||||
task. The units generation is done via the new
|
task. The units generation is done via the new
|
||||||
[`rework-pure-grids`][rework-pure-grids] [Rework][] plugin, and it can be used
|
[`rework-pure-grids`][rework-pure-grids] [Rework][] plugin, and it can be used
|
||||||
to create any custom nth-based units for Pure's Grids system.
|
to create any custom nth-based units for Pure's Grids system.
|
||||||
|
|
||||||
### Menus
|
### Menus
|
||||||
|
|
||||||
* Removed hard-coded height for horizontal menus. ([#164][])
|
- Removed hard-coded height for horizontal menus. ([#164][])
|
||||||
|
|
||||||
|
|
||||||
[#144]: https://github.com/pure-css/pure/issues/144
|
[#144]: https://github.com/pure-css/pure/issues/144
|
||||||
[#164]: https://github.com/pure-css/pure/issues/164
|
[#164]: https://github.com/pure-css/pure/issues/164
|
||||||
@ -280,21 +289,18 @@ a bit less opinionated, a bit easier to customize on top.
|
|||||||
[#200]: https://github.com/pure-css/pure/issues/200
|
[#200]: https://github.com/pure-css/pure/issues/200
|
||||||
[#221]: https://github.com/pure-css/pure/issues/221
|
[#221]: https://github.com/pure-css/pure/issues/221
|
||||||
[#261]: https://github.com/pure-css/pure/issues/261
|
[#261]: https://github.com/pure-css/pure/issues/261
|
||||||
|
|
||||||
[rework-pure-grids]: https://github.com/ericf/rework-pure-grids
|
[rework-pure-grids]: https://github.com/ericf/rework-pure-grids
|
||||||
[Rework]: https://github.com/visionmedia/rework
|
[Rework]: https://github.com/visionmedia/rework
|
||||||
|
|
||||||
|
## 0.4.0 (2014-02-06)
|
||||||
|
|
||||||
0.4.0 (2014-02-06)
|
- **[!]** Corrupted release build, use `0.4.1`.
|
||||||
------------------
|
|
||||||
|
|
||||||
* __[!]__ Corrupted release build, use `0.4.1`.
|
|
||||||
|
|
||||||
|
|
||||||
0.3.0 (2013-09-09)
|
0.3.0 (2013-09-09)
|
||||||
------------------
|
|
||||||
|
|
||||||
* __[!]__ Pure now requires the Base module (which is Normalize.css) to be on
|
---
|
||||||
|
|
||||||
|
- **[!]** Pure now requires the Base module (which is Normalize.css) to be on
|
||||||
the page. Pure has essentially always required the styles provided by
|
the page. Pure has essentially always required the styles provided by
|
||||||
Normalize.css via the Base module, and this now makes it a firm requirement.
|
Normalize.css via the Base module, and this now makes it a firm requirement.
|
||||||
The `pure-min.css` and `pure-nr-min.css` rollup files already include the Base
|
The `pure-min.css` and `pure-nr-min.css` rollup files already include the Base
|
||||||
@ -303,39 +309,39 @@ a bit less opinionated, a bit easier to customize on top.
|
|||||||
**Note:** When using a [custom subset][Customize] of Pure, be sure to include
|
**Note:** When using a [custom subset][Customize] of Pure, be sure to include
|
||||||
the Base module.
|
the Base module.
|
||||||
|
|
||||||
* Added non-minified rollup files: `pure.css` and `pure-nr.css`. These files are
|
- Added non-minified rollup files: `pure.css` and `pure-nr.css`. These files are
|
||||||
created in addition to the minified rollups: `pure-min.css` and
|
created in addition to the minified rollups: `pure-min.css` and
|
||||||
`pure-nr-min.css`. The minified rollups _should_ be used in production.
|
`pure-nr-min.css`. The minified rollups _should_ be used in production.
|
||||||
([#171][] @omeid)
|
([#171][] @omeid)
|
||||||
|
|
||||||
### Base
|
### Base
|
||||||
|
|
||||||
* __[!]__ Removed Normalize.css from checked-in `src/`. Bower is now used to
|
- **[!]** Removed Normalize.css from checked-in `src/`. Bower is now used to
|
||||||
programmatically import Normalize.css into `bower_components/` if it's not
|
programmatically import Normalize.css into `bower_components/` if it's not
|
||||||
already installed. Normalize.css is still bundled with Pure, this change is a
|
already installed. Normalize.css is still bundled with Pure, this change is a
|
||||||
development-time change only. ([#160][])
|
development-time change only. ([#160][])
|
||||||
|
|
||||||
### Buttons
|
### Buttons
|
||||||
|
|
||||||
* Removed `-webkit-font-smoothing: antialiased` rule from Buttons. Pure should
|
- Removed `-webkit-font-smoothing: antialiased` rule from Buttons. Pure should
|
||||||
not dictate sub-pixel font rendering, that should be left to the person's
|
not dictate sub-pixel font rendering, that should be left to the person's
|
||||||
browser settings and/or the developer. ([#170][] @dchest)
|
browser settings and/or the developer. ([#170][] @dchest)
|
||||||
|
|
||||||
### Forms
|
### Forms
|
||||||
|
|
||||||
* __[!]__ Removed `forms-core.css`. This was a copy of Normalize.css' form
|
- **[!]** Removed `forms-core.css`. This was a copy of Normalize.css' form
|
||||||
related styles. Now that Pure requires the Base module (Normalize.css) to be
|
related styles. Now that Pure requires the Base module (Normalize.css) to be
|
||||||
on the page, the Forms Core submodule is no longer needed. ([#160][])
|
on the page, the Forms Core submodule is no longer needed. ([#160][])
|
||||||
|
|
||||||
* Added `:focus` styles to `[readonly]` `<input>` elements. ([#143][])
|
- Added `:focus` styles to `[readonly]` `<input>` elements. ([#143][])
|
||||||
|
|
||||||
* Removed `-webkit-font-smoothing: antialiased` rule from Forms input styles.
|
- Removed `-webkit-font-smoothing: antialiased` rule from Forms input styles.
|
||||||
Pure should not dictate sub-pixel font rendering, that should be left to the
|
Pure should not dictate sub-pixel font rendering, that should be left to the
|
||||||
person's browser settings and/or the developer. ([#185][] @dchest)
|
person's browser settings and/or the developer. ([#185][] @dchest)
|
||||||
|
|
||||||
### Grids
|
### Grids
|
||||||
|
|
||||||
* __[!]__ Improved support for Grids across OS/browser combinations, and its
|
- **[!]** Improved support for Grids across OS/browser combinations, and its
|
||||||
ability to withstand the use of non-default fonts when set by either the
|
ability to withstand the use of non-default fonts when set by either the
|
||||||
person in their browser settings or by the developer using custom fonts.
|
person in their browser settings or by the developer using custom fonts.
|
||||||
|
|
||||||
@ -365,15 +371,14 @@ a bit less opinionated, a bit easier to customize on top.
|
|||||||
non-default fonts with Pure Grids.
|
non-default fonts with Pure Grids.
|
||||||
([#41][], [#162][], [#166][], [#189][]: @adapterik @dannyfritz, @pandeiro)
|
([#41][], [#162][], [#166][], [#189][]: @adapterik @dannyfritz, @pandeiro)
|
||||||
|
|
||||||
* Fixed grid units from falling to a new line on IE 6 and IE 7. Grid units now
|
- Fixed grid units from falling to a new line on IE 6 and IE 7. Grid units now
|
||||||
have a separate `*width` value for these older versions of IE. This value is
|
have a separate `*width` value for these older versions of IE. This value is
|
||||||
`0.005%` less than the standard `width` value. This fix does not affect modern
|
`0.005%` less than the standard `width` value. This fix does not affect modern
|
||||||
browsers because it uses the star hack. ([#154][])
|
browsers because it uses the star hack. ([#154][])
|
||||||
|
|
||||||
* Added a `height: auto` rule to images within a `.pure-g-r` so that their
|
- Added a `height: auto` rule to images within a `.pure-g-r` so that their
|
||||||
aspect ratios are maintained when the page is resized. ([#172][]: @dchest)
|
aspect ratios are maintained when the page is resized. ([#172][]: @dchest)
|
||||||
|
|
||||||
|
|
||||||
[#41]: https://github.com/pure-css/pure/issues/41
|
[#41]: https://github.com/pure-css/pure/issues/41
|
||||||
[#143]: https://github.com/pure-css/pure/issues/143
|
[#143]: https://github.com/pure-css/pure/issues/143
|
||||||
[#154]: https://github.com/pure-css/pure/issues/154
|
[#154]: https://github.com/pure-css/pure/issues/154
|
||||||
@ -385,56 +390,52 @@ a bit less opinionated, a bit easier to customize on top.
|
|||||||
[#172]: https://github.com/pure-css/pure/issues/172
|
[#172]: https://github.com/pure-css/pure/issues/172
|
||||||
[#185]: https://github.com/pure-css/pure/issues/185
|
[#185]: https://github.com/pure-css/pure/issues/185
|
||||||
[#189]: https://github.com/pure-css/pure/issues/189
|
[#189]: https://github.com/pure-css/pure/issues/189
|
||||||
|
|
||||||
[Customize]: http://purecss.io/customize/
|
[Customize]: http://purecss.io/customize/
|
||||||
[Grids-fonts]: http://purecss.io/grids/#using-grids-with-custom-fonts
|
[Grids-fonts]: http://purecss.io/grids/#using-grids-with-custom-fonts
|
||||||
|
|
||||||
|
## 0.2.1 (2013-07-17)
|
||||||
0.2.1 (2013-07-17)
|
|
||||||
------------------
|
|
||||||
|
|
||||||
### Forms
|
### Forms
|
||||||
|
|
||||||
* __[!]__ Made `[readonly]` `<input>`s look visually different to `[disabled]`
|
- **[!]** Made `[readonly]` `<input>`s look visually different to `[disabled]`
|
||||||
and regular `<input>`s. ([#102][]: @jaseg)
|
and regular `<input>`s. ([#102][]: @jaseg)
|
||||||
|
|
||||||
* Fixed copy/paste bug that mapped text inputs to `.pure-form` instead of
|
- Fixed copy/paste bug that mapped text inputs to `.pure-form` instead of
|
||||||
`.pure-group`. The `.pure-form-group input` styles are now applied to all
|
`.pure-group`. The `.pure-form-group input` styles are now applied to all
|
||||||
text-ish `<input>` elements. ([#96][])
|
text-ish `<input>` elements. ([#96][])
|
||||||
|
|
||||||
* Fixed `.pure-input-rounded` styles to now apply correctly. The change to use
|
- Fixed `.pure-input-rounded` styles to now apply correctly. The change to use
|
||||||
more specific selectors for text-ish inputs in v0.2.0 caused the
|
more specific selectors for text-ish inputs in v0.2.0 caused the
|
||||||
`.pure-input-rounded` selector to not apply because it was less specific. This
|
`.pure-input-rounded` selector to not apply because it was less specific. This
|
||||||
selector now has right specificity. ([#109][]: @AurelioDeRosa)
|
selector now has right specificity. ([#109][]: @AurelioDeRosa)
|
||||||
|
|
||||||
* Added `display: block` to `<textarea>`s in `.pure-form-stacked` `<form>`s to
|
- Added `display: block` to `<textarea>`s in `.pure-form-stacked` `<form>`s to
|
||||||
fix an alignment issue for subsequent elements. ([#90][]: @AurelioDeRosa)
|
fix an alignment issue for subsequent elements. ([#90][]: @AurelioDeRosa)
|
||||||
|
|
||||||
* Removed the gray `color` from `.pure-form label`. This allows `<label>`s to
|
- Removed the gray `color` from `.pure-form label`. This allows `<label>`s to
|
||||||
inherit their foreground color. ([#89][]: @AurelioDeRosa)
|
inherit their foreground color. ([#89][]: @AurelioDeRosa)
|
||||||
|
|
||||||
### Grids
|
### Grids
|
||||||
|
|
||||||
* __[!]__ Changed `.pure-u-1` grid unit to now use `width: 100%` instead of
|
- **[!]** Changed `.pure-u-1` grid unit to now use `width: 100%` instead of
|
||||||
`display: block` to achieve taking up the full width of its container. This
|
`display: block` to achieve taking up the full width of its container. This
|
||||||
makes it easier to override and align since it's using `display: inline-block`
|
makes it easier to override and align since it's using `display: inline-block`
|
||||||
like the other grid units. ([#94][])
|
like the other grid units. ([#94][])
|
||||||
|
|
||||||
* Fixed `width` value typo in `.pure-u-1-6`, changed it from `16.656%` to
|
- Fixed `width` value typo in `.pure-u-1-6`, changed it from `16.656%` to
|
||||||
`16.666%`. ([#115][]: @chilts)
|
`16.666%`. ([#115][]: @chilts)
|
||||||
|
|
||||||
### Menus
|
### Menus
|
||||||
|
|
||||||
* __[!]__ Fixed broken styling of active paginator items by using Grids CSS
|
- **[!]** Fixed broken styling of active paginator items by using Grids CSS
|
||||||
rules to layout items horizontally; this makes sure the active item isn't
|
rules to layout items horizontally; this makes sure the active item isn't
|
||||||
overlapped. ([#127][])
|
overlapped. ([#127][])
|
||||||
|
|
||||||
### Tables
|
### Tables
|
||||||
|
|
||||||
* Removed `white-space: nowrap` from `.pure-table thead`. This fixes issues
|
- Removed `white-space: nowrap` from `.pure-table thead`. This fixes issues
|
||||||
where tables inside of grids would break the grid. ([#95][]: @AurelioDeRosa)
|
where tables inside of grids would break the grid. ([#95][]: @AurelioDeRosa)
|
||||||
|
|
||||||
|
|
||||||
[#89]: https://github.com/pure-css/pure/issues/89
|
[#89]: https://github.com/pure-css/pure/issues/89
|
||||||
[#90]: https://github.com/pure-css/pure/issues/90
|
[#90]: https://github.com/pure-css/pure/issues/90
|
||||||
[#94]: https://github.com/pure-css/pure/issues/94
|
[#94]: https://github.com/pure-css/pure/issues/94
|
||||||
@ -446,69 +447,66 @@ a bit less opinionated, a bit easier to customize on top.
|
|||||||
[#127]: https://github.com/pure-css/pure/issues/127
|
[#127]: https://github.com/pure-css/pure/issues/127
|
||||||
[#172]: https://github.com/pure-css/pure/pull/172
|
[#172]: https://github.com/pure-css/pure/pull/172
|
||||||
|
|
||||||
|
## 0.2.0 (2013-06-11)
|
||||||
|
|
||||||
0.2.0 (2013-06-11)
|
- **[!]** Fixed accessibility mistake by removing `a:focus {outline: none;}`
|
||||||
------------------
|
|
||||||
|
|
||||||
* __[!]__ Fixed accessibility mistake by removing `a:focus {outline: none;}`
|
|
||||||
rule from `buttons-core.css`.
|
rule from `buttons-core.css`.
|
||||||
|
|
||||||
* __[!]__ Improved `:focus` styles by applying the same rules that are used by
|
- **[!]** Improved `:focus` styles by applying the same rules that are used by
|
||||||
`:hover` styles. When overriding Pure's `:hover` styles, be sure to include
|
`:hover` styles. When overriding Pure's `:hover` styles, be sure to include
|
||||||
`:focus` selectors as well.
|
`:focus` selectors as well.
|
||||||
|
|
||||||
* Added improvements to developer workflow:
|
- Added improvements to developer workflow:
|
||||||
|
|
||||||
* Added basic Tests using CSSLint via `grunt test` ([#25][])
|
- Added basic Tests using CSSLint via `grunt test` ([#25][])
|
||||||
|
|
||||||
* Integrated Travis CI which runs `grunt test` on pushes to `master` and for
|
- Integrated Travis CI which runs `grunt test` on pushes to `main` and for
|
||||||
pull requests.
|
pull requests.
|
||||||
|
|
||||||
* Added `grunt watch` task which runs tests and build.
|
- Added `grunt watch` task which runs tests and build.
|
||||||
|
|
||||||
* Added support to `pure-site` for serving `pure` locally during
|
- Added support to `pure-site` for serving `pure` locally during
|
||||||
development. ([#46][], [pure-css/pure-site#111][])
|
development. ([#46][], [pure-css/pure-site#111][])
|
||||||
|
|
||||||
* Removed vendor prefixes for `box-shadow`, `text-shadow`, `border-radius`. All
|
- Removed vendor prefixes for `box-shadow`, `text-shadow`, `border-radius`. All
|
||||||
modern browsers support the non-prefixed versions of these properties.
|
modern browsers support the non-prefixed versions of these properties.
|
||||||
([#23][])
|
([#23][])
|
||||||
|
|
||||||
### Forms
|
### Forms
|
||||||
|
|
||||||
* __[!]__ Replaced `.pure-help-inline` with `.pure-form-message-inline`. We
|
- **[!]** Replaced `.pure-help-inline` with `.pure-form-message-inline`. We
|
||||||
still support the older classname but it is deprecated and will be going away
|
still support the older classname but it is deprecated and will be going away
|
||||||
in a future release. ([#32][]: @dannytatom)
|
in a future release. ([#32][]: @dannytatom)
|
||||||
|
|
||||||
* Added a new class called `.pure-form-message`. It works the same way as
|
- Added a new class called `.pure-form-message`. It works the same way as
|
||||||
`.pure-form-message-inline` but is meant for block elements.
|
`.pure-form-message-inline` but is meant for block elements.
|
||||||
([#32][]: @dannytatom)
|
([#32][]: @dannytatom)
|
||||||
|
|
||||||
* Added focus styles for file, radio, and checkbox `<input>`s to improve
|
- Added focus styles for file, radio, and checkbox `<input>`s to improve
|
||||||
accessibility. ([#42][]: @codepb)
|
accessibility. ([#42][]: @codepb)
|
||||||
|
|
||||||
* `<textarea>`s now have the same styling as `<input>`s. ([#49][]: @rcbdev)
|
- `<textarea>`s now have the same styling as `<input>`s. ([#49][]: @rcbdev)
|
||||||
|
|
||||||
* `.pure-form input` rules are now more specific by targetting only "texty"
|
- `.pure-form input` rules are now more specific by targetting only "texty"
|
||||||
`<inputs>`. This prevents these styles from affecting "buttony" `<input>`s.
|
`<inputs>`. This prevents these styles from affecting "buttony" `<input>`s.
|
||||||
([#54][])
|
([#54][])
|
||||||
|
|
||||||
### Grids
|
### Grids
|
||||||
|
|
||||||
* Elements with classnames before the responsive grid's unit classnames now
|
- Elements with classnames before the responsive grid's unit classnames now
|
||||||
works correctly. Before units were targeted using the `^=` ("starts with")
|
works correctly. Before units were targeted using the `^=` ("starts with")
|
||||||
selector, which meant that if another classname preceded the unit classname,
|
selector, which meant that if another classname preceded the unit classname,
|
||||||
then the rule would not apply. ([#44][])
|
then the rule would not apply. ([#44][])
|
||||||
|
|
||||||
### Menus
|
### Menus
|
||||||
|
|
||||||
* Added `.pure-menu-separator` classname that can be used to visually
|
- Added `.pure-menu-separator` classname that can be used to visually
|
||||||
separate horizontal menu items. ([#53][]: @codepb, @mseri)
|
separate horizontal menu items. ([#53][]: @codepb, @mseri)
|
||||||
|
|
||||||
* Focused menus have an `outline: none` by default. Instead, menu-items that
|
- Focused menus have an `outline: none` by default. Instead, menu-items that
|
||||||
have been opened to display children (in a drop-down menu) get a slight
|
have been opened to display children (in a drop-down menu) get a slight
|
||||||
background (`#dedede`) for accessibility. ([#22][])
|
background (`#dedede`) for accessibility. ([#22][])
|
||||||
|
|
||||||
|
|
||||||
[#22]: https://github.com/pure-css/pure/issues/22
|
[#22]: https://github.com/pure-css/pure/issues/22
|
||||||
[#23]: https://github.com/pure-css/pure/issues/23
|
[#23]: https://github.com/pure-css/pure/issues/23
|
||||||
[#25]: https://github.com/pure-css/pure/issues/25
|
[#25]: https://github.com/pure-css/pure/issues/25
|
||||||
@ -519,45 +517,42 @@ a bit less opinionated, a bit easier to customize on top.
|
|||||||
[#49]: https://github.com/pure-css/pure/issues/49
|
[#49]: https://github.com/pure-css/pure/issues/49
|
||||||
[#53]: https://github.com/pure-css/pure/issues/53
|
[#53]: https://github.com/pure-css/pure/issues/53
|
||||||
[#54]: https://github.com/pure-css/pure/issues/54
|
[#54]: https://github.com/pure-css/pure/issues/54
|
||||||
|
|
||||||
[pure-css/pure-site#111]: https://github.com/pure-css/pure-site/issues/111
|
[pure-css/pure-site#111]: https://github.com/pure-css/pure-site/issues/111
|
||||||
|
|
||||||
|
## 0.1.0 (2013-05-24)
|
||||||
|
|
||||||
0.1.0 (2013-05-24)
|
- **[!]** Initial public release.
|
||||||
------------------
|
|
||||||
|
|
||||||
* __[!]__ Initial public release.
|
- Upgraded Normalize.css to 1.1.2.
|
||||||
|
|
||||||
* Upgraded Normalize.css to 1.1.2.
|
- Integrated Bower into `grunt import` process.
|
||||||
|
|
||||||
* Integrated Bower into `grunt import` process.
|
- Cleaned up manual test files, removing unnecessary CSS files and cruft.
|
||||||
|
|
||||||
* Cleaned up manual test files, removing unnecessary CSS files and cruft.
|
|
||||||
|
|
||||||
### Buttons
|
### Buttons
|
||||||
|
|
||||||
* Added `border-radius: 2px` to enhance the appearance the they are click-able.
|
- Added `border-radius: 2px` to enhance the appearance the they are click-able.
|
||||||
|
|
||||||
### Menus
|
### Menus
|
||||||
|
|
||||||
* Removed `border-radius` from vertical menus.
|
- Removed `border-radius` from vertical menus.
|
||||||
|
|
||||||
* Replaced blue hover for menus with light grey (`#eee`)
|
- Replaced blue hover for menus with light grey (`#eee`)
|
||||||
|
|
||||||
* Removed `font-weight: bold` from selected menu items.
|
|
||||||
|
|
||||||
|
- Removed `font-weight: bold` from selected menu items.
|
||||||
|
|
||||||
0.0.2 (2013-05-16)
|
0.0.2 (2013-05-16)
|
||||||
------------------
|
|
||||||
|
|
||||||
* __[!]__ Renamed to Pure.
|
---
|
||||||
|
|
||||||
* __[!]__ Renamed CSS classname prefix to `pure`.
|
- **[!]** Renamed to Pure.
|
||||||
|
|
||||||
* Preview release (2).
|
- **[!]** Renamed CSS classname prefix to `pure`.
|
||||||
|
|
||||||
|
- Preview release (2).
|
||||||
|
|
||||||
0.0.1 (2013-05-14)
|
0.0.1 (2013-05-14)
|
||||||
------------------
|
|
||||||
|
|
||||||
* Preview release.
|
---
|
||||||
|
|
||||||
|
- Preview release.
|
||||||
|
@ -105,9 +105,9 @@ This software is free to use under the Yahoo! Inc. BSD-3-Clause license.
|
|||||||
See the [LICENSE file][] for license text and copyright information.
|
See the [LICENSE file][] for license text and copyright information.
|
||||||
|
|
||||||
[grunt]: http://gruntjs.com/
|
[grunt]: http://gruntjs.com/
|
||||||
[contributing file]: https://github.com/pure-css/pure/blob/master/CONTRIBUTING.md
|
[contributing file]: https://github.com/pure-css/pure/blob/main/CONTRIBUTING.md
|
||||||
[license file]: https://github.com/pure-css/pure/blob/master/LICENSE
|
[license file]: https://github.com/pure-css/pure/blob/main/LICENSE
|
||||||
[normalize.css]: http://necolas.github.io/normalize.css/
|
[normalize.css]: http://necolas.github.io/normalize.css/
|
||||||
[pure]: http://purecss.io/
|
[pure]: http://purecss.io/
|
||||||
[pure-site]: https://github.com/pure-css/pure/tree/master/site
|
[pure-site]: https://github.com/pure-css/pure/tree/main/site
|
||||||
[started]: https://purecss.io/start/
|
[started]: https://purecss.io/start/
|
||||||
|
10
RELEASE.md
10
RELEASE.md
@ -12,11 +12,11 @@ This assumes the following repo's are cloned and `npm` installed:
|
|||||||
|
|
||||||
## First, check everything
|
## First, check everything
|
||||||
|
|
||||||
- [ ] **Update local Pure to latest from pure-css/pure#master**
|
- [ ] **Update local Pure to latest from pure-css/pure#main**
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
$ cd pure/
|
$ cd pure/
|
||||||
$ git pull upstream master
|
$ git pull upstream main
|
||||||
```
|
```
|
||||||
|
|
||||||
- [ ] **Build Pure via `grunt`**
|
- [ ] **Build Pure via `grunt`**
|
||||||
@ -32,7 +32,7 @@ This assumes the following repo's are cloned and `npm` installed:
|
|||||||
- [ ] Firefox
|
- [ ] Firefox
|
||||||
- [ ] Safari
|
- [ ] Safari
|
||||||
|
|
||||||
- [ ] **Review pure-site in target environments with [Pure served locally](https://github.com/pure-css/pure-site/blob/master/README.md#running-with-pure-served-locally)**
|
- [ ] **Review pure-site in target environments with [Pure served locally](https://github.com/pure-css/pure-site/blob/main/README.md#running-with-pure-served-locally)**
|
||||||
|
|
||||||
- [ ] Edge
|
- [ ] Edge
|
||||||
- [ ] Chrome
|
- [ ] Chrome
|
||||||
@ -41,7 +41,7 @@ This assumes the following repo's are cloned and `npm` installed:
|
|||||||
|
|
||||||
- [ ] **Review HISTORY.md**
|
- [ ] **Review HISTORY.md**
|
||||||
|
|
||||||
https://github.com/pure-css/pure/blob/master/HISTORY.md
|
https://github.com/pure-css/pure/blob/main/HISTORY.md
|
||||||
|
|
||||||
Make sure all the major changes since the last release of Pure are reflected in HISTORY.md entries.
|
Make sure all the major changes since the last release of Pure are reflected in HISTORY.md entries.
|
||||||
|
|
||||||
@ -97,4 +97,4 @@ Now all our files are out there and everything is looking good.
|
|||||||
|
|
||||||
## Mark repo as pre-release
|
## Mark repo as pre-release
|
||||||
|
|
||||||
- [ ] We should mark the version number of the project (in package.json) as 0.6.1-pre for clarity, so there's no mistaking the leading edge of the project from the last release. Commit those changes and push to master.
|
- [ ] We should mark the version number of the project (in package.json) as 0.6.1-pre for clarity, so there's no mistaking the leading edge of the project from the last release. Commit those changes and push to main.
|
||||||
|
@ -30,11 +30,10 @@ This command generates static content into the `build` directory and can be serv
|
|||||||
$ GIT_USER=<Your GitHub username> USE_SSH=true npm run deploy
|
$ GIT_USER=<Your GitHub username> USE_SSH=true npm run deploy
|
||||||
```
|
```
|
||||||
|
|
||||||
The site is hosted on [Vercel](https://vercel.com/) and will automatically deploy when commits are merged to `master`.
|
The site is hosted on [Vercel](https://vercel.com/) and will automatically deploy when commits are merged to `main`.
|
||||||
|
|
||||||
### Including Pure
|
### Including Pure
|
||||||
|
|
||||||
We want to use the locally built version of Pure so that the [layout examples](https://purecss.io/layouts/) are always using the `master` version, previously they had used a hardcoded CDN link.
|
We want to use the locally built version of Pure so that the [layout examples](https://purecss.io/layouts/) are always using the `main` version, previously they had used a hardcoded CDN link.
|
||||||
|
|
||||||
To get Docusaurus to register the css as `static`, they have to exist in the `static/` directory before the site is built. Therefore, we copy the Pure `build/` in manually and `.gitignore` them. Once Docusaurus builds, they resolve as proper CSS files.
|
To get Docusaurus to register the css as `static`, they have to exist in the `static/` directory before the site is built. Therefore, we copy the Pure `build/` in manually and `.gitignore` them. Once Docusaurus builds, they resolve as proper CSS files.
|
||||||
|
|
||||||
|
@ -8,7 +8,7 @@ function Footer({ siteConfig }) {
|
|||||||
<div className="pure-u-1 u-sm-1-2">
|
<div className="pure-u-1 u-sm-1-2">
|
||||||
<p className="legal-license">
|
<p className="legal-license">
|
||||||
This site is built with ❤️ using Pure v{customFields.pureVersion}<br />
|
This site is built with ❤️ using Pure v{customFields.pureVersion}<br />
|
||||||
All code on this site is licensed under the <a href={`https://github.com/${organizationName}/${customFields.repoName}/blob/master/LICENSE`}>Yahoo BSD License</a> unless otherwise stated.
|
All code on this site is licensed under the <a href={`https://github.com/${organizationName}/${customFields.repoName}/blob/main/LICENSE`}>Yahoo BSD License</a> unless otherwise stated.
|
||||||
</p>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
<div className="pure-u-1 u-sm-1-2">
|
<div className="pure-u-1 u-sm-1-2">
|
||||||
|
@ -84,7 +84,7 @@ const renderLayouts = (layout, idx) => (
|
|||||||
<p>
|
<p>
|
||||||
<a href={`/layouts/${layout.type}/`}
|
<a href={`/layouts/${layout.type}/`}
|
||||||
className="pure-button pure-button-primary">View</a>
|
className="pure-button pure-button-primary">View</a>
|
||||||
<a href={`https://github.com/pure-css/pure/tree/master/site/static/layouts/${layout.type}`}
|
<a href={`https://github.com/pure-css/pure/tree/main/site/static/layouts/${layout.type}`}
|
||||||
className="pure-button">Source</a>
|
className="pure-button">Source</a>
|
||||||
</p>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
|
Loading…
Reference in New Issue
Block a user