- Fix issue with Rails integration
- Fix compatibility issues with Libsass
- Refactor and get rid of various functions
- Fix deprecation warning for multiline strings
- Fix issue where grid overlay wasn't applied using
@at-root
- Add SVG grid overlay to
debug-mode
.
- Rewrite
exists()
method in Ruby for a huge performance increase. - Write
Flint::Profiler
to help test future performance bottlenecks. - Update global variables to follow standard naming conventions.
- Fix issue with using
unquote()
on non-strings.
- Update comments to follow SassDoc standards.
- Small style fixes.
- Fix issue with unassigned
$output-width
variable when using$span: 0
.
- Added support for
rem
values. - Set up proper submodule for Bootcamp.
- Fixed issue with
$gutter: center
attempting to divide byauto
. - Wrote tests for
$gutter
modifiers.
- Changed doc comments from
/* */
comments to///
.
- Remove redundant Ruby functions.
- Update docs to include examples that follow SassDoc standards.
- Update docs
- Refactored Ruby
lib
for easier upkeep. - Removed
@content
from doc blocks for now. - Added
list_to_string()
Ruby function. - Fixed issue with
support-syntax-bem()
returning oddly quoted strings when using Sass functions.
- Update documentation to follow SassDoc standards.
- Reversed order that
map-merge
merges instance maps, so that newer instances are merged to the top rather than the bottom. Increased performance benchmarks by23%
. - Added Ruby function for
map-fetch()
. Increased performance benchmarks by15%
. - Updated main API mixin
_()
to follow SassDoc standards.
- Updated Sass dependency to
~> 3.4
in gemspec. - Ignore
test
folder in bower.
- Release
2.0.0
!
- Added ability to use na identical
$context
value with a variable$span
. Example,_(1 2 3 4, 4)
.
- Fixed issue with
$context
modifiers calling a division by 0.
- Revamped codebase considerably.
- Modified layout of
$flint
configuration map. Breakpoints are now housed in their own separate section. - Removed
$shift
modifier. (Don't like this one? Create an issue and let me know!) - Modified calculations to use fixed values all the way through the system, and then convert to percentages on output. Coupled with instance methods, this makes gutters infinitely nest-able and consistent even on fluid grids.
- Added
instance-maps
option in config to enable or disable instance maps and all of the associated methods. - Modified docblocks to follow SassDoc standards.
- Moved selector functions over to Sass 3.4. (No more forced Ruby dependency!)
- Modified tests; added new HTML test page.
- Lots of other cleanup and speed improvements.
- Added test suite and contributing guidelines.
- Cleaned up a few functions.
- Rewrite
flint-map-fetch()
andflint-exists()
functions. - Add ability to call
@include _(<alias>, container)
for individual breakpoints. - Add ability to call
@include _(container, clear)
&@include _(<alias>, container, clear)
consecutively. - Fix breakpoint query math for fixed
em
grids.
- Add
$gutter: center
modifier. - Fix
SASS_PATH
issue.
- Break Compass dependency. (Will completely break in
2.0
when dependence on Ruby functions cease). - Add better error handling for invalid arguments.
- Deprecated
$shift
modifier. - Optimized
for
query to output comma delimited list of queries instead of duplicating styles for each query. - Optimized
_main.scss
. Significantly cleaned up code by grouping like-calls together into the same conditional. - Removed prefixes from all properties.
- Created
flint-box-sizing
mixin. Usesbox-sizing
mixin if it exists. - Removed
only screen
from media queries.
- Removed
string-to-number
functions and all dependencies associated with them.
- Fixed issue with
debug mode
defaulting to true.
- Added Ruby functions to help with performance.
- Added various memoization functions to help with performance.
- Prefixed all functions and mixins with
flint-
to ensure compatibility with other plugins. - Cleaned up code in
calculate.scss
.
- Fixed issue with
flint-support-syntax-bem
function.
- Remove recursive option from
flint-str-replace
for performance reasons.
- Added string flint-replace function.
- Modified way BEM selectors are parsed with new function.
- Removed
@dependance
declaratons from doc blocks.
- Added warnings for improper arguments for various mixins and functions.
- Slightly changed doc blocks.
- Added functions for syntax-support that are easily extendable
- Added syntax support option in config
- Added offical support for BEM syntax
- Fix minor issue with
$context: auto
conditional inmain.scss
- Add feature to pass arbitrary values to media query calls.
- Fix issue with max-width conditional.
- Clean up codebase. Add
flint-types-in-list()
function.
- Default config is now in ems instead of pixels.
- Fixed issues with breakpoint calculations when using ems. Should successfully break at the correct points when using alias conditionals and not be
~0.0625em
off. - Added warn directives when common mistakes occur.
- Cleaned up doc blocks.
- Cleaning house. Cleaned up function definitions and documentation, quoted all strings, and overall just made the code more tidy.
- Fixed issue with
(for x y z)
loop not outputting correct breakpoints due to an invalid if statement.
- Fixed issue with comma seperated parent selectors causing errors and other issues.
- Added small clean up functions for comma seperated selector strings for various functions.
- Added
$context: auto
for fixed grids. It will automatically get the parent instance's width, and calculate on that instead of the base breakpoint. This fixes issues where parents couldn't contain children of the same span, and the further you would nest, the worse the issue would get.
- Fixed issue with
_(greater than y)
not outputting the correct calculations onfixed
grids- Issue was that when you used for example:
_(greater than laptop)
,laptop
would actually be included, instead of ommitted. It now acts as 'anything above laptops breakpoint', the same wayless than y
works.
- Issue was that when you used for example:
- Adjusted the way breakpoints are calculated for easier modifications moving forward.
- Optimized
flint-calc-breakpoint()
function
- Added ability to pass an abitrary
$context
while maintaining a consistent gutter - Small changes to
debug-mode
- Added parent instance selector to output
- Added actual
$context
in place ofauto
in output
- Adjusted
$length
variable inflint-str-to-list()
for better performance. - Added 2 additional aliases for
$gutter
modifiersalpha > first
omega > flint-last
- Fixed issue with comma separated child selectors throwing an error.
Fixes #5
- Added aliases for
$gutter
modifiersnull > default | regular | normal
alpha > no-left
omega > no-right
row > none
- Removed option for
gutter: false
in config. Use0(unit)
from now on.
- Added
$gutter: inside
modifier - Adjusted
$span: 0
to hide element instead of compiling with no width - Corrected small issue with
less than x
,greater than x
on fixed grids - Cleaned up variable/function names
- Added detailed comments to all mixins/functions
- Built
.gemspec
so that Flint can be installed viagem install flint-gs
- Added
bower.json
so that Flint can be installed via Bower - Organized file structure by splitting functions/mixins into separate files for easier modifications/version control moving forward.
- You can now take advantage of both
$shift
and$gutter
modifiers together.
- You can now use
$context: auto
, and we'll do all the calculations for you. Just be sure a container element actually exists or you'll get some weird output, or none at all. Pretty cool feature utilizing the newinstance
map, which keeps track of everyinstance
of the_()
mixin, and saves all the tasty variables for use-cases like this.