From b45311102321cf6e9231486391cee0a8b15fb49b Mon Sep 17 00:00:00 2001 From: Seth Bertalotto Date: Mon, 7 Oct 2024 10:52:34 -0700 Subject: [PATCH] chore: rename to main (#1342) --- .github/PULL_REQUEST_TEMPLATE.md | 2 +- .github/workflows/deploy.yml | 4 +- .github/workflows/test.yml | 4 +- CONTRIBUTING.md | 4 +- Gruntfile.js | 2 +- HISTORY.md | 389 +++++++++++++++---------------- README.md | 6 +- RELEASE.md | 10 +- site/README.md | 5 +- site/components/Footer.js | 2 +- site/src/pages/layouts/index.js | 2 +- 11 files changed, 212 insertions(+), 218 deletions(-) diff --git a/.github/PULL_REQUEST_TEMPLATE.md b/.github/PULL_REQUEST_TEMPLATE.md index 420f3e8..cb5b2f5 100644 --- a/.github/PULL_REQUEST_TEMPLATE.md +++ b/.github/PULL_REQUEST_TEMPLATE.md @@ -1,6 +1,6 @@ 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: diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 418960a..8340101 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -2,7 +2,7 @@ name: Deploy on: push: - branches: [master] + branches: [main] jobs: deploy: @@ -19,7 +19,7 @@ jobs: ssh-private-key: ${{ secrets.GH_PAGES_DEPLOY }} - name: Release to GitHub Pages env: - DEPLOYMENT_BRANCH: master + DEPLOYMENT_BRANCH: main GH_EMAIL: ${{ secrets.GH_EMAIL }} GH_NAME: ${{ secrets.GH_NAME }} GIT_USER: ${{ secrets.GH_NAME }} diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index f2884d9..253bdf6 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -2,9 +2,9 @@ name: Testing on: push: - branches: [master] + branches: [main] pull_request: - branches: [master] + branches: [main] jobs: test: diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index eaba1a4..3f8cf06 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -2,7 +2,7 @@ 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 -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. 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. [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 diff --git a/Gruntfile.js b/Gruntfile.js index 3ad3951..46c14d9 100644 --- a/Gruntfile.js +++ b/Gruntfile.js @@ -173,7 +173,7 @@ module.exports = function (grunt) { 'Pure v<%= pkg.version %>', 'Copyright 2013 Yahoo!', 'Licensed under the BSD License.', - 'https://github.com/pure-css/pure/blob/master/LICENSE', + 'https://github.com/pure-css/pure/blob/main/LICENSE', '*/\n' ].join('\n') }, diff --git a/HISTORY.md b/HISTORY.md index f30f737..a5d4b3d 100644 --- a/HISTORY.md +++ b/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: -* Removed the `font-family` hack from Grids (#1074) -* 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. +- Removed the `font-family` hack from Grids (#1074) +- 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. ### Migration @@ -17,65 +15,75 @@ This major version should not include too many breaking changes for your app, bu - Since the list of supported browsers has now changed, please check that your site is still functioning in any browsers that you continue to support. - 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) +--- -2.1.0 (2022-03-14) ------------------- +- feat: added media queries for 2.5K and 4K screens (#1065) -* feat: support xxl (1920px) media query + 2.1.0 (2022-03-14) -2.0.6 (2021-04-28) ------------------- +--- -* chore: update to cssmin@4 +- feat: support xxl (1920px) media query -2.0.5 (2021-01-20) ------------------- + 2.0.6 (2021-04-28) -* fix #824: cursor style for disabled menu link +--- -2.0.4 (2021-01-19) ------------------- +- chore: update to cssmin@4 -* chore: update license path + 2.0.5 (2021-01-20) -2.0.3 (2020-05-11) ------------------- +--- -* fix: update browser list for all environments +- fix #824: cursor style for disabled menu link -2.0.2 (2020-05-11) ------------------- + 2.0.4 (2021-01-19) -* refactor: Remove button CSS for IE 6-8 +--- -2.0.1 (2020-05-05) ------------------- +- chore: update license path -* refactor: remove usage of deprecated webkit-overflow-scrolling + 2.0.3 (2020-05-11) -2.0.0 (2020-05-05) ------------------- +--- + +- fix: update browser list for all environments + + 2.0.2 (2020-05-11) + +--- + +- refactor: Remove button CSS for IE 6-8 + + 2.0.1 (2020-05-05) + +--- + +- refactor: remove usage of deprecated webkit-overflow-scrolling + + 2.0.0 (2020-05-05) + +--- This is a major version bump that has the following changes: -* Reduced overall size of Pure to 3.6kb (gzipped/min) -* Updated Normalize to v8. -* Removed bower -* Removed old IE 8 hacks -* Removed deprecated `pure-help-inline` form class +- Reduced overall size of Pure to 3.6kb (gzipped/min) +- Updated Normalize to v8. +- Removed bower +- Removed old IE 8 hacks +- Removed deprecated `pure-help-inline` form class ### Migration 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`. ### New Browser support + - Chrome - Edge - Firefox @@ -85,83 +93,82 @@ This major version should not include too many breaking changes for your app, bu > 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 pure-table-bordered issues (#718) -* 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 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. 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 -* Added Button Groups to Pure [#621] +- Added Button Groups to Pure [#621] ### 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] -* Fix CSSLint issues [#609] -* Upgraded grunt dependencies to 1.x [#609] +--- -0.6.0 (2015-02-07) ------------------- +- Migrate to PostCSS for browser prefixes [#617] +- Remove duplicate Firefox inner focus border [#457] +- Fix grid inside table in IE 10/11 [#504] +- Fix CSSLint issues [#609] +- Upgraded grunt dependencies to 1.x [#609] -* Upgraded Normalize.css to 3.0.2. -* Dropped IE7 support. -* Refactored Menus. -* Numerous minor bug fixes. + 0.6.0 (2015-02-07) + +--- + +- Upgraded Normalize.css to 3.0.2. +- Dropped IE7 support. +- Refactored Menus. +- Numerous minor bug fixes. ### Menus -* Implemented flatter, low-specificity selectors, not attached to HTML elements, +- Implemented flatter, low-specificity selectors, not attached to HTML elements, for easier customization. -* Removed pure-menu-open class. -* Added pure-menu-scrollable capability, to allow for scrollable menus when +- Removed pure-menu-open class. +- Added pure-menu-scrollable capability, to allow for scrollable menus when restricted by width or height. -* Added pure-menu-allow-hover to reveal dropdowns on hover. -* Removed various default styling properties, making menus a bit more bare-bones, -a bit less opinionated, a bit easier to customize on top. -* Broke Menu up into files for core, horizontal, dropdowns, scrollable, and skin, +- Added pure-menu-allow-hover to reveal dropdowns on hover. +- Removed various default styling properties, making menus a bit more bare-bones, + a bit less opinionated, a bit easier to customize on top. +- Broke Menu up into files for core, horizontal, dropdowns, scrollable, and skin, again for improved optimization and ease of customization: take only what you need. -* Removed Paginator. -* While not part of the Pure repo itself, the accompanying Pure website now +- Removed Paginator. +- While not part of the Pure repo itself, the accompanying Pure website now features additional menu examples and an example script for enabling dropdowns and improved accessiblity. -0.5.0 (2014-05-27) ------------------- + 0.5.0 (2014-05-27) + +--- ### 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. ### 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][]) To use the mobile-first grid system, you need to pull in `pure.css`, along @@ -169,66 +176,69 @@ a bit less opinionated, a bit easier to customize on top. you can serve to IE < 9 users so that they can view a desktop-version of your website: - ```html - + ```html + - - - - - ``` + + + + + ``` Find out more about the new grid system at . ### 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`. - [#24]: https://github.com/pure-css/pure/issues/24 [#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) ### Forms -* Improved how `` elements look in Chrome by fixing +- Improved how `` elements look in Chrome by fixing paddings. ([#283][] @jpetto) -* Removed `font-size` rules from ``, ``, and `
` +- Removed `font-size` rules from ``, ``, and `
` elements within `.pure-form`. Font sizes are now inherited from the application's CSS file. ([#265][]) -* Invalid `` elements within a Pure Form no longer explicitly set a +- Invalid `` elements within a Pure Form no longer explicitly set a `border-width`. ([#295][] @kwando) - [#265]: https://github.com/pure-css/pure/issues/265 [#283]: https://github.com/pure-css/pure/issues/283 [#286]: https://github.com/pure-css/pure/issues/286 [#295]: https://github.com/pure-css/pure/issues/295 - -0.4.1 (2014-02-06) ------------------- +## 0.4.1 (2014-02-06) ### 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 following button will be hidden from view: - ```html - - ``` + ```html + + ``` A new rule for the `[hidden]` selector has been added with the declaration: `display: none !important;`. This is a time where it's appropriate for a @@ -236,41 +246,40 @@ a bit less opinionated, a bit easier to customize on top. ### 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) -* `` Buttons now have the same height as non-input buttons. +- `` Buttons now have the same height as non-input buttons. `font-family: inherit;` has been added to the `.pure-button` selector to 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) ### Forms -* Added `vertical-align: top;` to `