Skip to content
This repository has been archived by the owner on Jan 31, 2018. It is now read-only.

Commit

Permalink
Merge pull request #42 from himedlooff/gh-pages
Browse files Browse the repository at this point in the history
Updated color variables
  • Loading branch information
Scotchester committed Jan 21, 2015
2 parents a7054ef + a10a047 commit a8fc39c
Show file tree
Hide file tree
Showing 15 changed files with 9,077 additions and 32,699 deletions.
67 changes: 16 additions & 51 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,34 +1,32 @@
All notable changes to this project will be documented in this file.
We follow the [Semantic Versioning 2.0.0](http://semver.org/) format.

## 0.6.2 - 2014-12-05

### Added
- Update cf-component-demo dev dependency to 0.9.0
## 0.7.0 - 2015-01-16

### Deprecated
- Nothing.
### Changed
- Replaces all CFPB color variables with non-CFPB colors. To add the CFPB theme
to your project you will need to include the CFPB color palette and the
Capital Framework theme overrides file. Both files can be found in the
generator-cf repo here:
<https://github.com/cfpb/generator-cf/tree/master/app/templates/src/static/css>
Background info on the new Capital Framework color variables can be found at
<https://github.com/cfpb/capital-framework/issues/115>.

### Removed
- Nothing.
### Updated
- Dependencies.

### Fixed
- Nothing.


## 0.6.1 - 2014-10-28
## 0.6.2 - 2014-12-05

### Added
- Animated cues.
- Update cf-component-demo dev dependency to 0.9.0

### Deprecated
- Nothing.

### Removed
- Nothing.
## 0.6.1 - 2014-10-28

### Fixed
- Nothing.
### Added
- Animated cues.


## 0.6.0 - 2014-10-28
Expand All @@ -37,42 +35,18 @@ We follow the [Semantic Versioning 2.0.0](http://semver.org/) format.
- Infinite nesting.
- Programmatic access to expand and collapse functions.

### Deprecated
- Nothing.

### Removed
- Nothing.

### Fixed
- Toggle cues now work when outside of `.expandable_header`.


## 0.5.2 - 2014-10-08

### Added
- Nothing.

### Deprecated
- Nothing.

### Removed
- Nothing.

### Fixed
- Improved focus states on `.expandable_target`.


## 0.5.1 - 2014-10-03

### Added
- Nothing.

### Deprecated
- Nothing.

### Removed
- Nothing.

### Fixed
- Tweaked JS and CSS to correctly handle nested expandables.

Expand All @@ -83,12 +57,3 @@ We follow the [Semantic Versioning 2.0.0](http://semver.org/) format.
- Expandable group patterns, including an accordion-style option
(only one open at a time)
- Tests for the new accordion-related JS

### Deprecated
- Nothing.

### Removed
- Nothing.

### Fixed
- Nothing.
3 changes: 1 addition & 2 deletions Gruntfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,7 @@ module.exports = function(grunt) {

// Loads all Grunt tasks in the node_modules directory within the new CWD.
require('jit-grunt')(grunt, {
// Static mapping
// Needed when task name does not match package name
// Below line needed because task name does not match package name
bower: 'grunt-bower-task'
})({
// Options
Expand Down
8 changes: 5 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,17 +8,19 @@ This component can be used by itself, but it was made for Capital Framework,
a new front end framework developed at the
[Consumer Financial Protection Bureau](https://cfpb.github.io/).

- [View the docs](https://cfpb.github.io/cf-expandables/docs/)
- [See the raw demo](https://cfpb.github.io/cf-expandables/demo/)

The current version number can be found in [bower.json](bower.json#L3)
and follows [Semantic Versioning 2.0](http://semver.org/).
Release notes are recorded in the [CHANGELOG](CHANGELOG.md) and on the
[Releases page](https://github.com/cfpb/cf-buttons/releases/).

- [View the docs](https://cfpb.github.io/cf-expandables/docs/)
- [See the raw demo](https://cfpb.github.io/cf-expandables/demo/)

If you would like to take advantage of more components or if you're new to
Capital Framework, we encourage you to [start here](https://cfpb.github.io/capital-framework/).

![](screenshot.png)


## How to use this component

Expand Down
7 changes: 3 additions & 4 deletions bower.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "cf-expandables",
"version": "0.6.2",
"version": "0.7.0",
"description": "Standard expandable (show/hide) component for Capital Framework.",
"keywords": ["capital-framework", "capital", "expandables", "jquery", "js", "less"],
"authors": [
Expand All @@ -17,9 +17,8 @@
"license": "https://github.com/cfpb/cf-expandables/blob/master/TERMS.md",
"main": "src/js/cf-expandables.js",
"dependencies": {
"cf-buttons": "git://github.com/cfpb/cf-buttons.git",
"cf-core": "git://github.com/cfpb/cf-core.git",
"cf-icons": "git://github.com/cfpb/cf-icons.git",
"cf-core": "latest",
"cf-icons": "latest",
"jquery": "~1.11.0",
"jquery.easing": "~1.3.0"
},
Expand Down
14 changes: 8 additions & 6 deletions demo/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -14,14 +14,16 @@
<link rel="stylesheet" type="text/css" href="static/css/main.css">
<!--[if lt IE 9]>
<script src="static/demo/html5shiv-printshiv.js"></script><![endif]-->
<script>
// Confirm availability of JS and remove no-js class from html
var docElement = document.documentElement;
docElement.className = docElement.className.replace(/(^|\s)no-js(\s|$)/, '$1$2');

</script>
</head>
<body style="padding:4px;">
<div id="theme-variables">
<div>
<div></div><br>
</div>
<div>
<div></div><br>
</div>
</div>
<div id="recommended-expandable-pattern">
<div>
<div>
Expand Down
Loading

0 comments on commit a8fc39c

Please sign in to comment.