Skip to content
This repository has been archived by the owner on Sep 10, 2019. It is now read-only.

Commit

Permalink
Bump to version 1.0.2 and update changelog
Browse files Browse the repository at this point in the history
  • Loading branch information
gakimball committed Dec 23, 2014
1 parent 358860e commit ff33e2d
Show file tree
Hide file tree
Showing 5 changed files with 105 additions and 4 deletions.
49 changes: 49 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,51 @@
# Version 1.0.2

*December 23, 2014*

**Foundation for Apps is now on npm!** `npm install foundation-apps`

**Upgrading from an older version?** We changed how our Angular plugins are structured, which means an existing app's build process will need to be changed slightly.

- **If you're using our template stack as-is:**
- Replace your existing `Gulpfile.js` with the [new Gulpfile](https://github.com/zurb/foundation-apps-template/blob/master/gulpfile.js).
- Copy the [new app.js](https://github.com/zurb/foundation-apps-template/blob/master/client/assets/js/app.js) file into the folder `client/assets/js/`.
- If you need to upgrade a project with a custom build process:
- To capture every plugin's JavaScript files in a single blob, use `bower_components/foundation-apps/js/angular/**/*.js`.
- The Bower package no longer includes an `app.js` file. You can use our template stack's file as a baseline to write your own.
- To capture every plugin's HTML template, use `bower_components/foundation-apps/js/angular/components/**/*.html`.

**Codebase changes:**

- #282: The Angular code has been refactored to be more streamlined and more modular. Each UI component now has its own folder, which includes the component's JavaScript and HTML template. The template stack has been updated to properly compile the new asset structure. **If you're upgrading an existing project, follow the above instructions to get everything set.**
- The Bower package no longer includes an `app.js` file. Instead, a sample file has been included in the `client` folder of the template stack.
- #108: Every Sass function now has a unit test. Run `gulp sass:test` to run the test suite.
- #338: The Sass settings file is now automatically generated based on the variables inside each component's Sass file, with the command `gulp settings`. The [settings parser plguin](https://github.com/zurb/foundation-settings-parser) will be maintained as a separate codebase. The plugin pulls the variables out of each Sass file, after which:
- Every component's variables are combined into one settings file, organized by component.
- Each individual component's variables are output as an HTML partial, to be displayed on that component's documentation.

**New features:**

- **Touch support!** We added the [Hammer.js Angular library](http://ryanmullins.github.io/angular-hammer/) to our codebase, which allows you to trigger functions with touch gestures, using directives like `hm-swipeup` and `hm-pinchin`.
- We added one custom directive, `zf-touch-close`, which allows you to trigger the `close` event on an element by swiping. We'll add more features in future versions.
- #301: Menu bars can now switch between the expanded and condensed styles at different screen sizes, using these classes: `condense`, `medium-condense`, `large-condense`, `medium-expand`, `large-expand`.
- #335: Menu bars can now be wrapped in a `menu-bar-group` container, which allows two menu bars to sit on the same row, aligned to the left and the right. Learn more [here](http://foundation.zurb.com/apps/docs/#!/menu-bar).
- #342: The `src` attribute of an Iconic icon can now be dynamically inserted. Instead of `data-src`, define the icon's source with the `dyn-src` attribute on a `zf-iconic` element.

**Bug fixes:**

- Added proper styles for checkboxes, radio buttons, and their text labels.
- Fixed a bug with IE10 and 11 where the last item in a wrapping grid would wrap to the next line.
- Fixed an issue with panels not properly functioning as grid containers.
- #320: Fixed the `clearall` event for notifications not removing elements from the view.
- #321: Fixed `zf-hard-toggle` not closing open action sheets.
- #328: Fixed an issue with collapible items in accordions.
- #331: Allow action sheets to be closed with `zf-hard-toggle`.
- #337: Improved the behavior of components animating in and out when toggled on and off rapidly.
- #343: The settings file now imports the functions file, to make `rem-calc()` and other functions accessible when modifying settings.
- #351: Fixed a bug where images were not added to notifications created with the publish API.
- #326: Fixed detached off-canvas menus overlapping with regular ones.
- #356: Fixed `$small-font-color` not being properly applied to `<small>` elements.

# Version 1.0.1

*December 12, 2014*
Expand All @@ -17,6 +65,7 @@ Lots of fixes for the Sass, JavaScript, and documentation. Thanks so much to eve
- #247: Set the `$accordion-title-background-active` variable to be relative to `$accordion-title-background`.
- #261: `$tab-title-background-active` got the same treatment.
- #295: Fixed a error that came up when creating a media query with `@include breakpoint(xxlarge only)`.
- #326: Fixed detached off-canvas menus overlapping with regular ones.

## JavaScript

Expand Down
2 changes: 1 addition & 1 deletion bower.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "foundation-apps",
"version": "1.0.1",
"version": "1.0.2",
"main": [
"scss/foundation.scss",
"js/angular/app.js"
Expand Down
54 changes: 53 additions & 1 deletion docs/templates/changelog.html
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,65 @@ <h3>How to update</h3>
<li>To update, <code>cd</code> into the project folder, then run <code>bower update</code>.</li>
</ol>

<hr>

<h3>Version 1.0.2</h3>

<p><em>December 23, 2014</em></p>

<p><strong>Foundation for Apps is now on npm!</strong> <code>npm install foundation-apps</code></p>

<p><strong>Upgrading from an older version?</strong> We changed how our Angular plugins are structured, which means an existing app's build process will need to be changed slightly.</p>

<ul>
<li><strong>If you're using our template stack as-is:</strong>
<ul>
<li>Replace your existing <code>Gulpfile.js</code> with the <a href="https://github.com/zurb/foundation-apps-template/blob/master/gulpfile.js">new Gulpfile</a>.</li>
<li>Copy the <a href="https://github.com/zurb/foundation-apps-template/blob/master/client/assets/js/app.js">new app.js</a> file into the folder <code>client/assets/js/</code>.</li>
</ul></li>
<li>If you need to upgrade a project with a custom build process:
<ul>
<li>To capture every plugin's JavaScript files in a single blob, use <code>bower_components/foundation-apps/js/angular/**/*.js</code>.</li>
<li>The Bower package no longer includes an <code>app.js</code> file. You can use our template stack's file as a baseline to write your own.</li>
<li>To capture every plugin's HTML template, use <code>bower_components/foundation-apps/js/angular/components/**/*.html</code>.</li>
</ul></li>
</ul>

<p><strong>Codebase changes:</strong></p>

<ul>
<li>#282: The Angular code has been refactored to be more streamlined and more modular. Each UI component now has its own folder, which includes the component's JavaScript and HTML template. The template stack has been updated to properly compile the new asset structure. <strong>If you're upgrading an existing project, follow the above instructions to get everything set.</strong>
<ul>
<li>The Bower package no longer includes an <code>app.js</code> file. Instead, a sample file has been included in the <code>client</code> folder of the template stack.</li>
</ul></li>
<li>#108: Every Sass function now has a unit test. Run <code>gulp sass:test</code> to run the test suite.</li>
<li>#338: The Sass settings file is now automatically generated based on the variables inside each component's Sass file, with the command <code>gulp settings</code>. The <a href="https://github.com/zurb/foundation-settings-parser">settings parser plguin</a> will be maintained as a separate codebase. The plugin pulls the variables out of each Sass file, after which:
<ul>
<li>Every component's variables are combined into one settings file, organized by component.</li>
<li>Each individual component's variables are output as an HTML partial, to be displayed on that component's documentation.</li>
</ul></li>
</ul>

<p><strong>New features:</strong></p>

<ul>
<li><strong>Touch support!</strong> We added the <a href="http://ryanmullins.github.io/angular-hammer/">Hammer.js Angular library</a> to our codebase, which allows you to trigger functions with touch gestures, using directives like <code>hm-swipeup</code> and <code>hm-pinchin</code>.
<ul>
<li>We added one custom directive, <code>zf-touch-close</code>, which allows you to trigger the <code>close</code> event on an element by swiping. We'll add more features in future versions.</li>
</ul></li>
<li>#301: Menu bars can now switch between the expanded and condensed styles at different screen sizes, using these classes: <code>condense</code>, <code>medium-condense</code>, <code>large-condense</code>, <code>medium-expand</code>, <code>large-expand</code>.</li>
<li>#335: Menu bars can now be wrapped in a <code>menu-bar-group</code> container, which allows two menu bars to sit on the same row, aligned to the left and the right. Learn more <a href="http://foundation.zurb.com/apps/docs/#!/menu-bar">here</a>.</li>
<li>#342: The <code>src</code> attribute of an Iconic icon can now be dynamically inserted. Instead of <code>data-src</code>, define the icon's source with the <code>dyn-src</code> attribute on a <code>zf-iconic</code> element.</li>
</ul>


<hr>

<h3>Version 1.0.1</h3>

<p><em>December 12, 2014</em></p>

Lots of fixes for the Sass, JavaScript, and documentation. Thanks so much to everyone who's been giving feedback, reporting bugs, and most importantly, *fixing our typos* this past week.
<p>Lots of fixes for the Sass, JavaScript, and documentation. Thanks so much to everyone who's been giving feedback, reporting bugs, and most importantly, <em>fixing our typos</em> this past week.</p>

<h4>CSS</h4>

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "foundation-apps",
"version": "1.0.1",
"version": "1.0.2",
"description": "A responsive, Angular-powered framework for web apps from ZURB.",
"scripts": {
"test": "gulp test",
Expand Down
2 changes: 1 addition & 1 deletion scss/foundation.scss
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
// foundation.zurb.com
// Licensed under MIT Open Source

$foundation-version: '1.0.1';
$foundation-version: '1.0.2';

// Make sure the charset is set appropriately
@charset "UTF-8";
Expand Down

0 comments on commit ff33e2d

Please sign in to comment.