refactor(input): rename item-input dir to input

This commit is contained in:
Adam Bradley
2016-01-09 23:40:14 -06:00
parent 9ded971aaa
commit 84f8e619b8
31 changed files with 10 additions and 10 deletions

View File

@ -14,8 +14,8 @@
"components/checkbox/checkbox.ios",
"components/chip/chip.ios",
"components/content/content.ios",
"components/input/input.ios",
"components/item/item.ios",
"components/item-input/item-input.ios",
"components/label/label.ios",
"components/list/list.ios",
"components/menu/menu.ios",

View File

@ -14,8 +14,8 @@
"components/checkbox/checkbox.md",
"components/chip/chip.md",
"components/content/content.md",
"components/input/input.md",
"components/item/item.md",
"components/item-input/item-input.md",
"components/label/label.md",
"components/list/list.md",
"components/menu/menu.md",

View File

@ -1,5 +1,5 @@
@import "../../globals.ios";
@import "./item-input";
@import "./input";
// iOS Input
// --------------------------------------------------

View File

@ -1,5 +1,5 @@
@import "../../globals.md";
@import "./item-input";
@import "./input";
// Material Design Input
// --------------------------------------------------

View File

@ -41,7 +41,7 @@ export function run() {
});
it('should scroll, top above safe', () => {
// Input top within safe area, bottom below safe area, room to scroll
// ItemInput top within safe area, bottom below safe area, room to scroll
let inputOffsetTop = 100;
let inputOffsetHeight = 33;
let scrollViewDimensions = {
@ -61,7 +61,7 @@ export function run() {
});
it('should scroll, top in safe, bottom below safe, below more than top in, not enough padding', () => {
// Input top within safe area, bottom below safe area, room to scroll
// ItemInput top within safe area, bottom below safe area, room to scroll
let inputOffsetTop = 100;
let inputOffsetHeight = 320;
let scrollViewDimensions = {
@ -81,7 +81,7 @@ export function run() {
});
it('should scroll, top in safe, bottom below safe, below more than top in, enough padding', () => {
// Input top within safe area, bottom below safe area, room to scroll
// ItemInput top within safe area, bottom below safe area, room to scroll
let inputOffsetTop = 20;
let inputOffsetHeight = 330;
let scrollViewDimensions = {
@ -99,7 +99,7 @@ export function run() {
});
it('should scroll, top in safe, bottom below safe, below less than top in, enough padding', () => {
// Input top within safe area, bottom below safe area, room to scroll
// ItemInput top within safe area, bottom below safe area, room to scroll
let inputOffsetTop = 250;
let inputOffsetHeight = 80; // goes 30px below safe area
let scrollViewDimensions = {
@ -117,7 +117,7 @@ export function run() {
});
it('should not scroll, top in safe, bottom in safe', () => {
// Input top within safe area, bottom within safe area
// ItemInput top within safe area, bottom within safe area
let inputOffsetTop = 100;
let inputOffsetHeight = 50;
let scrollViewDimensions = {

View File

@ -14,8 +14,8 @@ import {Slides, Slide, SlideLazy} from '../components/slides/slides';
import {Tabs} from '../components/tabs/tabs';
import {Tab} from '../components/tabs/tab';
import {List, ListHeader} from '../components/list/list';
import {ItemInput} from '../components/input/input';
import {Item} from '../components/item/item';
import {ItemInput} from '../components/item-input/item-input';
import {ItemSliding} from '../components/item/item-sliding';
import {Toolbar, ToolbarTitle, ToolbarItem} from '../components/toolbar/toolbar';
import {Icon} from '../components/icon/icon';