Comparing version 5.0.0-beta.7 to 5.0.0-beta.8
150
CHANGELOG.md
@@ -6,8 +6,28 @@ # Change Log | ||
## [Unreleased] | ||
## [Unreleased (`master`)][unreleased] | ||
Nothing at the moment. | ||
[Unreleased]: https://github.com/thoughtbot/bourbon/compare/v5.0.0.beta.7...HEAD | ||
[unreleased]: https://github.com/thoughtbot/bourbon/compare/v5.0.0.beta.8...HEAD | ||
## [5.0.0-beta.8] - 2017-06-26 | ||
### Added | ||
- A `style` property has been added to our `package.json`, which makes for easy | ||
importing when using npm-sass, sass-module-importer and others. | ||
### Changed | ||
- The `triangle` mixin no longer has default argument values. The order of the | ||
arguments also changed: `$width` and `$height` now come before `$color`. | ||
### Fixed | ||
- The `bourbon update` CLI command now works when Bourbon is installed using a | ||
custom path. | ||
- Fixed an issue that would cause Bourbon to not be found within Rails apps. | ||
[5.0.0-beta.8]: https://github.com/thoughtbot/bourbon/compare/v5.0.0.beta.7...v5.0.0.beta.8 | ||
## [5.0.0-beta.7] - 2016-11-03 | ||
@@ -18,3 +38,5 @@ | ||
- Added `white-space: nowrap;` to the `hide-visually` mixin so that content | ||
renders on one line and is correctly pronounced by screen readers. | ||
renders on one line and is correctly pronounced by screen readers. You can | ||
read more about this in Jesse Beach’s article “[Beware smushed off-screen | ||
accessible text][smushed-text-article].” | ||
@@ -38,2 +60,3 @@ ### Changed | ||
[smushed-text-article]: https://medium.com/@jessebeach/beware-smushed-off-screen-accessible-text-5952a4c2cbfe#.l4hkljiza | ||
[system-fonts]: https://github.com/mrmrs/css-system-fonts | ||
@@ -228,3 +251,4 @@ [CSS spec]: https://drafts.csswg.org/css-text-3/#propdef-overflow-wrap | ||
- The `button` mixin has been removed. | ||
- The `em` and `rem` mixins have been removed. | ||
- The `em` and `rem` functions have been removed. | ||
- [See the discussion on why these were removed][em-rem-issue]. | ||
- The `flex-grid` function has been removed. | ||
@@ -238,4 +262,120 @@ - The `flex-gutter` function has been removed. | ||
[5.0.0.alpha.0]: https://github.com/thoughtbot/bourbon/compare/v4.2.6...v5.0.0.alpha.0 | ||
[5.0.0.alpha.0]: https://github.com/thoughtbot/bourbon/compare/v4.3.4...v5.0.0.alpha.0 | ||
[3cf106a]: https://github.com/thoughtbot/bourbon/commit/3cf106a210c1bae7765e6193f62310f95fdee0b7 | ||
[Autoprefixer]: https://github.com/postcss/autoprefixer | ||
[em-rem-issue]: https://github.com/thoughtbot/bourbon/issues/691 | ||
## [4.3.4] - 2017-04-01 | ||
### Changed | ||
- Updated deprecation warning message for `strip-units`. ([#1016]) | ||
[4.3.4]: https://github.com/thoughtbot/bourbon/compare/v4.3.3...v4.3.4 | ||
[#1016]: https://github.com/thoughtbot/bourbon/pull/1016 | ||
## [4.3.3] - 2017-02-23 | ||
### Fixed | ||
- Internal Bourbon deprecation warnings for `is-size` and `is-length` will no | ||
longer be thrown when using the `size` mixin. | ||
[4.3.3]: https://github.com/thoughtbot/bourbon/compare/v4.3.2...v4.3.3 | ||
## [4.3.2] - 2017-02-10 | ||
### Fixed | ||
- Internal Bourbon deprecation warnings for `unpack` and `is-length` will no | ||
longer be thrown when using the `position` mixin. ([#1004]) | ||
[4.3.2]: https://github.com/thoughtbot/bourbon/compare/v4.3.1...v4.3.2 | ||
[#1004]: https://github.com/thoughtbot/bourbon/pull/1004 | ||
## [4.3.1] - 2017-02-07 | ||
### Fixed | ||
- Internal Bourbon deprecation warnings will no longer be thrown. ([#1002]) | ||
[4.3.1]: https://github.com/thoughtbot/bourbon/compare/v4.3.0...v4.3.1 | ||
[#1002]: https://github.com/thoughtbot/bourbon/pull/1002 | ||
## [4.3.0] - 2017-02-03 | ||
### Added | ||
- Added deprecation warnings for features that will be removed in 5.0.0. Please | ||
reference our [change log], which includes a list of these changes and | ||
removals. ([#891]) | ||
[4.3.0]: https://github.com/thoughtbot/bourbon/compare/v4.2.7...v4.3.0 | ||
[change log]: https://github.com/thoughtbot/bourbon/blob/master/CHANGELOG.md | ||
[#891]: https://github.com/thoughtbot/bourbon/pull/891 | ||
## [4.2.7] - 2016-04-15 | ||
### Fixed | ||
- Fixed a Sass deprecation warning when using the `background` and | ||
`background-image` mixins. | ||
[4.2.7]: https://github.com/thoughtbot/bourbon/compare/v4.2.6...v4.2.7 | ||
## [4.2.6] - 2015-10-17 | ||
### Fixed | ||
- Fixed a bug with eyeglass support. | ||
[4.2.6]: https://github.com/thoughtbot/bourbon/compare/v4.2.5...v4.2.6 | ||
## [4.2.5] - 2015-09-17 | ||
## Added | ||
- Support for [eyeglass]. | ||
[4.2.5]: https://github.com/thoughtbot/bourbon/compare/v4.2.4...v4.2.5 | ||
[eyeglass]: http://eyeglass.rocks/ | ||
## [4.2.4] - 2015-08-21 | ||
## Changed | ||
- [`$all-text-inputs`] now accounts for `input`’s that don’t have a `type` | ||
attribute specified, as they default to `type="text"`. | ||
(https://github.com/thoughtbot/bourbon/commit/8e7e36e01c47194d83951fb6315c5b26a008f2b7) | ||
- The [`bourbon` npm package] now has a proper load path. | ||
(https://github.com/thoughtbot/bourbon/commit/36c2d5576f1fe9dbdfd9543e15064c5a4a16343e) | ||
[4.2.4]: https://github.com/thoughtbot/bourbon/compare/v4.2.3...v4.2.4 | ||
[`$all-text-inputs`]: http://bourbon.io/docs/#text-inputs | ||
[`bourbon` npm package]: https://npmjs.com/package/bourbon | ||
## [4.2.3] - 2015-05-18 | ||
## Fixed | ||
- Fixed an issue with the `font-face` mixin outputting an extraneous commas when | ||
using LibSass set to compressed output. | ||
[4.2.3]: https://github.com/thoughtbot/bourbon/compare/v4.2.2...v4.2.3 | ||
## [4.2.2] - 2015-04-01 | ||
## Fixed | ||
- The `flex-direction` mixin now properly outputs box-direction (old syntax) if | ||
set to normal. | ||
[4.2.2]: https://github.com/thoughtbot/bourbon/compare/v4.2.1...v4.2.2 | ||
## [4.2.1] - 2015-02-23 | ||
## Fixed | ||
- Restored the `app/` directory for npm. | ||
[4.2.1]: https://github.com/thoughtbot/bourbon/compare/v4.2.0...v4.2.1 |
The MIT License (MIT) | ||
Copyright © 2011 [thoughtbot, inc.](http://thoughtbot.com) | ||
Copyright © 2011-2017 [thoughtbot, inc.](http://thoughtbot.com) | ||
@@ -5,0 +5,0 @@ Permission is hereby granted, free of charge, to any person obtaining a copy |
@@ -24,2 +24,3 @@ { | ||
"main": "index.js", | ||
"style": "core/_bourbon.scss", | ||
"name": "bourbon", | ||
@@ -33,3 +34,3 @@ "repository": { | ||
}, | ||
"version": "5.0.0-beta.7" | ||
"version": "5.0.0-beta.8" | ||
} |
130
README.md
@@ -14,4 +14,4 @@ [<img src="https://images.thoughtbot.com/bourbon/bourbon-logo.svg" width="200" alt="Bourbon logo">][Bourbon] | ||
The current version is **4.2.7**. The `master` branch on GitHub is version | ||
5.0.0-beta.7. | ||
The current stable version is **4.3.4**. The `master` branch on GitHub is | ||
version 5.0.0.beta.8. | ||
@@ -23,5 +23,6 @@ [Bourbon]: http://bourbon.io | ||
- [Documentation](http://bourbon.io/docs/latest/) | ||
- [Documentation](http://bourbon.io/docs) | ||
- [Change log](CHANGELOG.md) | ||
- [Twitter](https://twitter.com/bourbonsass) | ||
- [Stack Overflow](https://stackoverflow.com/questions/tagged/bourbon) | ||
@@ -50,30 +51,30 @@ ## Table of Contents | ||
```bash | ||
gem install bourbon | ||
``` | ||
```bash | ||
gem install bourbon | ||
``` | ||
Alternatively, you can install Bourbon with [Bower]. | ||
Alternatively, you can install Bourbon with [Bower]. | ||
1. Install the Bourbon library into the current directory: | ||
```bash | ||
bourbon install | ||
``` | ||
```bash | ||
bourbon install | ||
``` | ||
**Pro Tip:** You can target installation into a specific directory using the | ||
`path` flag: | ||
**Pro Tip:** You can target installation into a specific directory using the | ||
`path` flag: | ||
```bash | ||
bourbon install --path my/custom/path/ | ||
``` | ||
```bash | ||
bourbon install --path my/custom/path/ | ||
``` | ||
1. Import Bourbon at the beginning of your stylesheet: | ||
```scss | ||
@import "bourbon/bourbon"; | ||
``` | ||
```scss | ||
@import "bourbon/bourbon"; | ||
``` | ||
It’s not recommended that you modify Bourbon’s files directly as it will make | ||
updating to future versions difficult, by overwriting your custom changes or | ||
causing merge conflicts. | ||
It’s not recommended that you modify Bourbon’s files directly as it will | ||
make updating to future versions difficult, by overwriting your custom | ||
changes or causing merge conflicts. | ||
@@ -87,17 +88,17 @@ [RubyGems]: https://rubygems.org | ||
```ruby | ||
gem "bourbon" | ||
``` | ||
```ruby | ||
gem "bourbon" | ||
``` | ||
1. Then run: | ||
```bash | ||
bundle install | ||
``` | ||
```bash | ||
bundle install | ||
``` | ||
1. Restart your server and rename `application.css` to `application.scss`: | ||
```bash | ||
mv app/assets/stylesheets/application.css app/assets/stylesheets/application.scss | ||
``` | ||
```bash | ||
mv app/assets/stylesheets/application.css app/assets/stylesheets/application.scss | ||
``` | ||
@@ -111,9 +112,9 @@ 1. Delete _all_ Sprockets directives in `application.scss` (`require`, | ||
```scss | ||
@import "bourbon"; | ||
@import "home"; | ||
@import "users"; | ||
``` | ||
```scss | ||
@import "bourbon"; | ||
@import "home"; | ||
@import "users"; | ||
``` | ||
[sass-import]: http://pivotallabs.com/structure-your-sass-files-with-import | ||
[sass-import]: https://content.pivotal.io/blog/structure-your-sass-files-with-import | ||
@@ -124,17 +125,17 @@ ### Installing with npm and using a Node-based asset pipeline | ||
```bash | ||
npm install --save bourbon | ||
``` | ||
```bash | ||
npm install --save bourbon | ||
``` | ||
1. If you’re using [eyeglass], skip to Step 3. Otherwise, | ||
you’ll need to add Bourbon to your node-sass `includePaths` option. | ||
`require("bourbon").includePaths` is an array of directories that you should | ||
pass to node-sass. How you do this depends on how node-sass is integrated into | ||
your project. | ||
1. If you’re using [eyeglass], skip to Step 3. Otherwise, you’ll need to add | ||
Bourbon to your node-sass `includePaths` option. | ||
`require("bourbon").includePaths` is an array of directories that you should | ||
pass to node-sass. How you do this depends on how node-sass is integrated | ||
into your project. | ||
1. Import Bourbon into your Sass files: | ||
```scss | ||
@import "bourbon"; | ||
``` | ||
```scss | ||
@import "bourbon"; | ||
``` | ||
@@ -147,5 +148,5 @@ [eyeglass]: http://eyeglass.rocks | ||
```bash | ||
gem uninstall bourbon | ||
``` | ||
```bash | ||
gem uninstall bourbon | ||
``` | ||
@@ -155,5 +156,5 @@ 1. Reinstall the Bourbon gem, using the `-v` flag to specify the version | ||
```bash | ||
gem install bourbon -v 3.2.4 | ||
``` | ||
```bash | ||
gem install bourbon -v 4.2.7 | ||
``` | ||
@@ -195,13 +196,9 @@ 1. Follow the [instructions above](#installation) to install Bourbon into | ||
- [Bourbon](https://github.com/thoughtbot/bourbon): A lightweight Sass tool set | ||
- [Neat](https://github.com/thoughtbot/neat): A lightweight semantic grid | ||
framework for Sass and Bourbon | ||
- [Bitters](https://github.com/thoughtbot/bitters): Scaffold styles, variables | ||
and structure for Bourbon projects | ||
- [Refills](https://github.com/thoughtbot/refills): Prepackaged patterns and | ||
components built with Bourbon, Neat and Bitters | ||
- [Neat]: A lightweight and flexible Sass grid | ||
- [Bitters]: Scaffold styles, variables and structure for Bourbon projects | ||
- [Refills]: Components and patterns built with Bourbon and Neat | ||
Be sure to also check out [Proteus](https://github.com/thoughtbot/proteus), a | ||
collection of useful starter kits to help you prototype faster. Each kit comes | ||
with Bourbon, Neat and Bitters out-of-the-box. | ||
[Neat]: https://github.com/thoughtbot/neat | ||
[Bitters]: https://github.com/thoughtbot/bitters | ||
[Refills]: https://github.com/thoughtbot/refills | ||
@@ -217,4 +214,4 @@ ## Contributing | ||
Bourbon is copyright © 2011 [thoughtbot, inc.][thoughtbot] It is free software, | ||
and may be redistributed under the terms specified in the [license]. | ||
Bourbon is copyright © 2011-2017 [thoughtbot, inc.][thoughtbot] It is free | ||
software, and may be redistributed under the terms specified in the [license]. | ||
@@ -229,3 +226,3 @@ [license]: LICENSE.md | ||
[<img src="http://presskit.thoughtbot.com/images/signature.svg" width="250" alt="thoughtbot logo">][thoughtbot] | ||
[![thoughtbot][thoughtbot-logo]][thoughtbot] | ||
@@ -236,3 +233,4 @@ We love open-source software! See [our other projects][community] or | ||
[thoughtbot]: https://thoughtbot.com?utm_source=github | ||
[thoughtbot-logo]: http://presskit.thoughtbot.com/images/thoughtbot-logo-for-readmes.svg | ||
[community]: https://thoughtbot.com/community?utm_source=github | ||
[hire]: https://thoughtbot.com/hire-us?utm_source=github |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
73837
53
225