Compare commits

...

15 Commits

Author SHA1 Message Date
Max Lynch
a5a323d85c Fixed bad polyfill for #181 2013-11-23 08:15:17 -06:00
Max Lynch
963e0e3ae6 Fixed #181 - CustomEvent polyfill 2013-11-23 08:07:45 -06:00
Max Lynch
223ba810c8 Silly JSON 2013-11-22 21:01:00 -06:00
Max Lynch
52f3466aa7 component 2013-11-22 20:55:38 -06:00
Max Lynch
b59c9c9e2b Trying to figure out this component thing 2013-11-22 20:51:00 -06:00
Max Lynch
179762fbc1 Component 2013-11-22 20:44:59 -06:00
Max Lynch
f684d85fa9 Trying to get this components thing working 2013-11-22 20:44:06 -06:00
Max Lynch
1d4b602f15 SCSS 2013-11-22 20:42:54 -06:00
Max Lynch
db90798688 Updated component file 2013-11-22 20:40:30 -06:00
Max Lynch
13e17a416d Bad bower 2013-11-22 20:35:52 -06:00
Max Lynch
b5871e7042 Random css tweaks 2013-11-22 20:35:05 -06:00
Max Lynch
e8321cb493 Removed private on bower 2013-11-22 20:34:30 -06:00
Adam Bradley
48c3d7cfe2 support android 4.1 2013-11-22 14:02:29 -06:00
Adam Bradley
7cd915c36f fix .button-icon active 2013-11-22 14:01:58 -06:00
Adam Bradley
cda320f0f8 .bar .button-bar fix 2013-11-22 13:25:36 -06:00
8 changed files with 88 additions and 9 deletions

View File

@@ -19,7 +19,7 @@ worrying about supporting marginal, slow devices.
It's important to realize that Ionic is not a replacement for frameworks used for building mobile web apps. There are a lot
of great solutions that work well for websites, like [jQuery Mobile](http://jquerymobile.com/).
Ionic is also not a good solution if you need to support older generation devices. Our compatibility *starts* at iOS 6 and Android 4.2. We will never support devices older than this.
Ionic is also not a good solution if you need to support older generation devices. Our compatibility *starts* at iOS 6 and Android 4.1. We will never support devices older than this.
## Quick Start

View File

@@ -1,12 +1,19 @@
{
"name": "ionic",
"version": "0.9.0",
"version": "0.9.09",
"homepage": "https://github.com/driftyco/ionic",
"authors": [
"Max Lynch <max@drifty.com>"
"Max Lynch <max@drifty.com>",
"Adam Bradley <adam@drifty.com>",
"Ben Sperry <ben@drifty.com>"
],
"description": "Advanced HTML5 hybrid mobile app development framework.",
"main": "dist/js/ionic.js",
"main": [
"dist/js/ionic.js",
"dist/js/ionic-angular.js",
"dist/css/ionic.css",
"dist/fonts/*"
],
"keywords": [
"mobile",
"html5",
@@ -20,7 +27,7 @@
"bootstrap"
],
"license": "MIT",
"private": true,
"private": false,
"ignore": [
"**/.*",
"node_modules",

View File

@@ -1,14 +1,23 @@
{
"repo": "driftyco/ionic",
"development": {},
"version": "0.9.0",
"version": "0.9.09",
"styles": [
"dist/css/ionic.css"
],
"paths": [
"scss"
],
"scripts": [
"dist/js/ionic.js",
"dist/js/ionic-angular.js"
],
"fonts": [
"dist/fonts/ionicons.eot",
"dist/fonts/ionicons.svg",
"dist/fonts/ionicons.ttf",
"dist/fonts/ionicons.woff"
],
"name": "Ionic",
"keywords": ["ionic","mobile","html5","hybrid","angularjs"],
"license": "MIT",

14
dist/css/ionic.css vendored
View File

@@ -2955,6 +2955,8 @@ input[type="range"] {
padding-bottom: 2px; }
.button-icon {
-webkit-transition: opacity 0.1s;
transition: opacity 0.1s;
padding: 0 6px;
min-width: initial;
background: none;
@@ -2962,8 +2964,9 @@ input[type="range"] {
background: none; }
.button-icon.button:active, .button-icon.button.active {
background: none;
box-shadow: none;
text-shadow: 0px 0px 10px #fff; }
border-color: transparent;
opacity: 0.3;
box-shadow: none; }
.button-icon .icon {
font-size: 32px; }
@@ -3041,6 +3044,12 @@ a.button {
display: -moz-flex;
display: -ms-flexbox;
display: flex;
-webkit-box-flex: 1;
-webkit-flex: 1;
-moz-box-flex: 1;
-moz-flex: 1;
-ms-flex: 1;
flex: 1;
width: 100%; }
.button-bar > .button {
@@ -3053,6 +3062,7 @@ a.button {
display: block;
overflow: hidden;
padding: 0 16px;
width: 0;
border-width: 1px 0px 1px 1px;
border-radius: 0;
text-align: center;

24
dist/js/ionic.js vendored
View File

@@ -217,6 +217,30 @@ window.ionic = {
*/
(function(ionic) {
// Custom event polyfill
if(!window.CustomEvent) {
(function() {
var CustomEvent;
CustomEvent = function(event, params) {
var evt;
params = params || {
bubbles: false,
cancelable: false,
detail: undefined
};
evt = document.createEvent("CustomEvent");
evt.initCustomEvent(event, params.bubbles, params.cancelable, params.detail);
return evt;
};
CustomEvent.prototype = window.Event.prototype;
window.CustomEvent = CustomEvent;
})();
}
ionic.EventController = {
VIRTUALIZED_EVENTS: ['tap', 'swipe', 'swiperight', 'swipeleft', 'drag', 'hold', 'release'],

View File

@@ -11,6 +11,30 @@
*/
(function(ionic) {
// Custom event polyfill
if(!window.CustomEvent) {
(function() {
var CustomEvent;
CustomEvent = function(event, params) {
var evt;
params = params || {
bubbles: false,
cancelable: false,
detail: undefined
};
evt = document.createEvent("CustomEvent");
evt.initCustomEvent(event, params.bubbles, params.cancelable, params.detail);
return evt;
};
CustomEvent.prototype = window.Event.prototype;
window.CustomEvent = CustomEvent;
})();
}
ionic.EventController = {
VIRTUALIZED_EVENTS: ['tap', 'swipe', 'swiperight', 'swipeleft', 'drag', 'hold', 'release'],

View File

@@ -6,6 +6,7 @@
.button-bar {
@include display-flex();
@include flex(1);
width: 100%;
}
@@ -17,6 +18,8 @@
padding: 0 16px;
width: 0;
border-width: 1px 0px 1px 1px;
border-radius: 0;
text-align: center;

View File

@@ -126,6 +126,7 @@
}
.button-icon {
@include transition(opacity .1s);
padding: 0 6px;
min-width: initial;
background: none;
@@ -134,8 +135,9 @@
&.button:active, &.button.active {
background: none;
border-color: transparent;
opacity: 0.3;
box-shadow: none;
text-shadow: 0px 0px 10px #fff;
}
.icon {