Skip to content

Commit

Permalink
v1.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
bebepeng committed Oct 31, 2014
1 parent 07e0429 commit 01d4d05
Show file tree
Hide file tree
Showing 10 changed files with 418 additions and 1 deletion.
110 changes: 110 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,113 @@
<a name="1.0.0"></a>
## 1.0.0 (2014-10-31)


#### Bug Fixes

* **inline-form:** remove unnecessary warning about custom-widths ((7c738681), closes (#81374290))
* **javascript:** fix errors in back-to-top ((75f49f2f))
* **layout lists:** add documentation links to cards list. ((528d1fa8))
* **list-card:** fix incomplete documentation ((e4f44ef1))
* **list-spacing:** move examples into tables for clarity ((dc71e313))
* **modal:** change modal-alt-title-color to neutral-10 ((290b05d7))
* **styleguide:** prevent page from scaling initially on mobile ((81f73fdc))
* **typography:** remove typography from utilities ((9b5498a8))


#### Features

* **alert:**
* alerts are more flexible with their content ((68f8092d))
* update alert component ((15bd926a))
* **alignment:**
* update docs ((8a9d0f77))
* make alignment top-level component in utilites ((4bcbd6e1))
* **back-to-top:** back-to-top does not show on mobile ((861fb76c))
* **grids:** update documentation ((b58cbcf5))
* **iconography:** add download icon to docs ((abe0868f))
* **list:** update docs for list-event ((d68b91cf))
* **list-cards:** add tileable fixed width grids via list-cards ((7a705004))
* **panels:** update panels documentation to use list-cards ((5cac9e68))
* **spinners:** update docs for spinners ((40d068f5))
* **styleguide:**
* style secondary nav ((4c92d5ca))
* make nav bar mobile friendly ((71237539))
* **table-key-value:** add docs for key value table ((36e9dfec))
* **table-scrollable:** Update component ((7f3fa538))
* **tables:** add reference to new alignment component ((5af168f8))
* **tooltip:** add tooltip component ((4d4049b3))
* **typography:**
* add reference to new alignment component ((4ab30f70))
* update typography documentation ((032593e4))
* **validations:** update documentation ((f072cdc6))
* **vertical aligner:** add vertical aligner component ((d45b325d))


#### Breaking Changes

* (style) alert text has normal emphasis by default.
Apply the .em-high class to text elements inside alerts to get bold
text.

[#81372314]

((68f8092d))
* panel-card - has been removed. Behavior is now available using list-cards
containing panels.

[#81218882]

Signed-off-by: Nicole Sullivan <nsullivan@pivotal.io>
Signed-off-by: Geoff Pleiss <gpleiss@pivotal.io>

((5cac9e68))
* (html) alert icons are no longer included by default

BREAKING CHANGE: (sass variable) `$yellow-1`/`$warn-1` are now
`$yellow-2`/`$warn-2`

BREAKING CHANGE: (sass variable) `$yellow-2`/`$warn-2` are now
`$yellow-3`/`$warn-3`

BREAKING CHANGE: (style) alerts now have top-margin

[#80077126]

Signed-off-by: Bebe Peng <bpeng@pivotal.io>

((15bd926a))
* (css class) `.with-tooltip` is now `.button-with-tooltip-wrapper`

BREAKING CHANGE: (javascript) tooltips must be explicitly initialized

[Finishes #80077170]

Signed-off-by: Bebe Peng <bpeng@pivotal.io>

((4d4049b3))
* (css class) table-horizontal and table-numerical are replaced by table-key-value

[Finishes #81055936]

Signed-off-by: Geoff Pleiss <gpleiss@pivotal.io>

((36e9dfec))
* (html) Component no longer uses panels

- Uses it's own table-scrollable-head/body classes (no longer relies
on modified panel components)
- Sets column width with inline attributes (no longer uses column classes)
- Uses table layout fixed, which means we need to be explicit
about all sizes
- Configurable styles are now variables
- No longer relies explicitly on whitespace classes

[Finishes #81051126]

Signed-off-by: Geoff Pleiss <gpleiss@pivotal.io>

((7f3fa538))

<a name="0.2.0"></a>
## 0.2.0 (2014-10-22)

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
"yargs": "^1.3.2"
},
"description": "***",
"version": "0.2.0",
"version": "1.0.0",
"main": "Gruntfile.js",
"dependencies": {
"bootstrap-sass": "~3.2.0",
Expand Down
1 change: 1 addition & 0 deletions release/1.0.0/Staticfile
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# this is required for static file buildpack
Binary file added release/1.0.0/fonts/FontAwesome.otf
Binary file not shown.
Binary file not shown.
Binary file added release/1.0.0/images/aboutus-hero.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
33 changes: 33 additions & 0 deletions release/1.0.0/nginx.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
worker_processes 1;
daemon off;

error_log <%= ENV["APP_ROOT"] %>/nginx/logs/error.log;
events { worker_connections 1024; }

http {
log_format cloudfoundry '$http_x_forwarded_for - $http_referer - [$time_local] "$request" $status $body_bytes_sent';
access_log <%= ENV["APP_ROOT"] %>/nginx/logs/access.log cloudfoundry;
default_type application/octet-stream;
include mime.types;
sendfile on;
gzip on;
tcp_nopush on;
keepalive_timeout 30;

server {
listen <%= ENV["PORT"] %>;
server_name localhost;

location ~ /\.ht { deny all; }
location / {
root <%= ENV["APP_ROOT"] %>/public;
index index.html index.htm Default.htm;
}

error_page 404 /404.html;
location /404.html {
root <%= ENV["APP_ROOT"] %>/public;
internal;
}
}
}
Empty file.
56 changes: 56 additions & 0 deletions release/1.0.0/styleguide/styleguide.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,56 @@
/* Stylesheet swappin */
$(document).ready(function(){
$('input.alternate-css').change(function() {
if($(this).get(0).checked) {
$("link[href*='prism-okaida.css']").attr('disabled', 'disabled');
$("link[href*='prism-default.css']").removeAttr('disabled');
} else {
$("link[href*='prism-okaida.css']").removeAttr('disabled');
$("link[href*='prism-default.css']").attr('disabled', 'disabled');
}
});
});

/* Adjust scrollTop when navigating to a subsection on the current page */

$(document).ready(function() {
$('a.styleguide-subsection, .section-nav a').click(function(e) {
var $target = $(e.target.hash);
var desiredScrollPosition = $target.offset().top;
window.history.pushState('', '', e.target.hash);
$('body, html').animate({
scrollTop: desiredScrollPosition
}, 500, function () {
$target.focus();
});
return false;
});
});

/* Make all links inside codeExamples open in a new window */

$(document).ready(function() {
$('.codeExample a').attr('target', '_blank');
});

/* Navbar hamburger functionality */

$(document).ready(function() {
$('#navbar-hamburger').click(function() {
$('ul#styleguide-first-level-nav').slideToggle(300);
});

$('.styleguide-second-level-nav-link').click(function(e) {
e.preventDefault();

var $targetCategory = $('#' + $(e.currentTarget).data('target'));
var targetCategoryClosed = !$targetCategory.hasClass('active');

$('li.styleguide-category').removeClass('active');
$('ul.styleguide-second-level-nav').slideUp();
if (targetCategoryClosed) {
$targetCategory.addClass('active');
$targetCategory.find('ul.styleguide-second-level-nav').slideDown();
}
});
});
Loading

0 comments on commit 01d4d05

Please sign in to comment.