mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-20 12:29:55 +08:00
refactor(input): rename item-input dir to input
This commit is contained in:
@ -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",
|
||||
|
@ -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",
|
||||
|
@ -1,5 +1,5 @@
|
||||
@import "../../globals.ios";
|
||||
@import "./item-input";
|
||||
@import "./input";
|
||||
|
||||
// iOS Input
|
||||
// --------------------------------------------------
|
@ -1,5 +1,5 @@
|
||||
@import "../../globals.md";
|
||||
@import "./item-input";
|
||||
@import "./input";
|
||||
|
||||
// Material Design Input
|
||||
// --------------------------------------------------
|
@ -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 = {
|
@ -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';
|
||||
|
Reference in New Issue
Block a user