New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

foundation-apps

Package Overview
Dependencies
Maintainers
2
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

foundation-apps - npm Package Versions

1.2.0

Diff

gakimball
published 1.1.0 •

gakimball
published 1.0.3 •

Changelog

Source

Version 1.0.3

February 16, 2015

General

  • The Bower and npm packages now include a dist folder, which contains compiled CSS and JavaScript files, in minified and unminified flavors.
  • The Sass is now fully compatible with libsass. It's been tested in node-sass 1.2.3. Eventually our documentation and template stack will be compiled with node-sass instead of Ruby Sass, but we'll continue to test both.

Breaking Changes

These Sass variables changed. If you're updating an existing project, you'll need to update your _settings.scss file manually.

  • Added: $badge-diameter: 1.5rem
  • Renamed: $badge-font-color is now $badge-color
  • Removed: $badge-padding
  • Removed: $badge-radius

The old variables are still in the codebase but aren't being used. They'll be permanently removed in version 1.1.

Template Changes

The Gulpfile used in the template stack now uses the gulp-load-plugins library to streamline use of plugins. If you have an existing project, you don't need to change anything to upgrade.

New Features

  • Stacking notifications. (#388) Dynamically-called notifications will now stack when you call more than one.
  • Responsive Iconic icons. (#408) Iconic icons are now fluid by default, which means they will adjust their geometry based on the width of the parent container.
  • Staggered animations. (#394) When using our motion classes in conjunction with the ng-repeat, you can now add a stagger class to make items animate in sequence. Add the class .stagger, .short-stagger, or .long-stagger to an element to enable the stagger effect.
  • #376: Added .info and .dark coloring classes to buttons.
  • #436: The items in a menu bar can be aligned with .align-right, .align-center, .align-justify, or .align-spaced. These classes mimic the behavior of the grid alignment classes.
  • Notifications can now be assigned a timeout by adding the autoclose attribute. The value of autoclose is the number of milliseconds to wait before closing.
  • The speed of all animations has been increased slightly. The default felt just a little too slow.

Bug Fixes

CSS:

  • #194: Fixed modals not scrolling when they overflow their parent.
  • #412: <button> and <input> elements can be used as prefix/postfix elements in forms now, in addition to <a>.
  • #417: Added padding to <select> elements to prevent the text from overlapping with the arrow.
  • #435: Fixed a misnamed parameter in the grid-block() mixin.
  • #438: Fixed display issues with <select> elements in Firefox.
  • #453: Fixed block list checkboxes being misaligned.
  • Fixed the .dialog class and sizing classes of modals not working.
  • The CSS for badges was refactored so they're sized with width and height instead of padding.
  • The pointer cursor is now used when hovering over any anchor (<a>) or any element with the ui-sref attribute.

JavaScript:

  • #363: Fixed zf-close not working when placed outside of a component.
  • #420: Fixed panel/block animations triggering even though the element is in block mode.
  • #427: Fixed the pin-at directive not passing its value to Tether.
  • #448: Fixed invalid $scope.params property on the DefaultController controller.
  • If a component is closed or opened while a transition is in progress, the transition will reverse.
gakimball
published 1.0.2 •

Changelog

Source

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.
    • Copy the new 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 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 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.
  • #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.
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc