From fcd8a34dff95129f73353af0b79b8e4cdd8e5d7f Mon Sep 17 00:00:00 2001 From: Brandy Carney Date: Tue, 6 Oct 2015 13:30:58 -0400 Subject: [PATCH] refactor(item): changed notes from a class to an element Closes #251 --- demos/component-docs/main.html | 13 +++++------ demos/icons/main.html | 24 ++++++++++---------- demos/list/main.html | 24 ++++++++++---------- ionic/components/item/item.ts | 4 ++-- ionic/components/item/modes/ios.scss | 2 +- ionic/components/item/modes/md.scss | 2 +- ionic/components/list/test/headers/main.html | 24 ++++++++++---------- 7 files changed, 46 insertions(+), 47 deletions(-) diff --git a/demos/component-docs/main.html b/demos/component-docs/main.html index 0a42ef51b9..34e7fd0f9e 100644 --- a/demos/component-docs/main.html +++ b/demos/component-docs/main.html @@ -204,7 +204,7 @@ - + @@ -229,9 +229,9 @@ - +
- + @@ -344,7 +344,7 @@ Call Ron -
Maybe later
+ Maybe later
@@ -389,9 +389,9 @@
- +
- +
@@ -415,4 +415,3 @@
- diff --git a/demos/icons/main.html b/demos/icons/main.html index 3ad3e73ac7..db1d77eaa9 100644 --- a/demos/icons/main.html +++ b/demos/icons/main.html @@ -19,17 +19,17 @@ Affection -
+ Very Little -
+
Home -
+ Where the heart is -
+
@@ -40,33 +40,33 @@ Star status -
+ Super -
+
Pizza -
+ Always -
+
Beer -
+ Yes Plz -
+
Wine -
+ All the time -
+
diff --git a/demos/list/main.html b/demos/list/main.html index 02234cf7f5..1e3d7f18d6 100644 --- a/demos/list/main.html +++ b/demos/list/main.html @@ -16,17 +16,17 @@ Affection -
+ Very Little -
+
Home -
+ Where the heart is -
+
@@ -46,9 +46,9 @@ Star status -
+ Super -
+
@@ -63,25 +63,25 @@ Pizza -
+ Always -
+
Beer -
+ Yes Plz -
+
Wine -
+ All the time -
+
diff --git a/ionic/components/item/item.ts b/ionic/components/item/item.ts index bac77e55a8..c68d3afea2 100644 --- a/ionic/components/item/item.ts +++ b/ionic/components/item/item.ts @@ -14,9 +14,9 @@ import {dom} from 'ionic/util'; * * * {{item.title}} - *
+ * * {{item.note}} - *
+ * *
*
* ``` diff --git a/ionic/components/item/modes/ios.scss b/ionic/components/item/modes/ios.scss index 855325dbd0..3e9b89a20f 100644 --- a/ionic/components/item/modes/ios.scss +++ b/ionic/components/item/modes/ios.scss @@ -134,7 +134,7 @@ $item-ios-divider-padding: 5px 15px !default; margin-bottom: 1px; } - .item-note { + ion-note { color: $item-ios-note-color; } diff --git a/ionic/components/item/modes/md.scss b/ionic/components/item/modes/md.scss index 384836a2ef..13339401c2 100644 --- a/ionic/components/item/modes/md.scss +++ b/ionic/components/item/modes/md.scss @@ -137,7 +137,7 @@ $item-md-divider-padding: 5px 15px !default; line-height: $item-md-body-text-line-height; } - .item-note { + ion-note { color: $item-md-note-color; } diff --git a/ionic/components/list/test/headers/main.html b/ionic/components/list/test/headers/main.html index 02234cf7f5..1e3d7f18d6 100644 --- a/ionic/components/list/test/headers/main.html +++ b/ionic/components/list/test/headers/main.html @@ -16,17 +16,17 @@ Affection -
+ Very Little -
+
Home -
+ Where the heart is -
+
@@ -46,9 +46,9 @@ Star status -
+ Super -
+
@@ -63,25 +63,25 @@ Pizza -
+ Always -
+
Beer -
+ Yes Plz -
+
Wine -
+ All the time -
+