Commit Graph

98 Commits

Author SHA1 Message Date
Dan Bucholtz
59eb9a328d refactor(): restructure components to loosen coupling, move overlay-portal, click-block, menu-controller and other app-level functionality to app directory. The motivation for this change is logical grouping, decoupling components from each other, and improving the ability to drop more unused components from bundle 2017-04-20 23:21:25 -05:00
Manuel Mtz-Almeida
94a33a74d2 Merge branch 'refactor-inputs' 2017-04-05 20:07:28 +02:00
perry
41e34fc4ce chore(docs): moving docs from /docs/v2 to /docs 2017-03-29 11:00:52 -05:00
Manuel Mtz-Almeida
c19615ed11 Rever input refactor 2017-03-28 21:26:01 +02:00
Manuel Mtz-Almeida
3d569eb88a test(select/segment): adds unit test for select and segment 2017-03-28 17:57:49 +02:00
Manu Mtz.-Almeida
9a4d81b329 refactor(all): consistent inputs
fixes #8578
2017-03-28 17:57:49 +02:00
Manu Mtz.-Almeida
7272b5a42a refactor(all): color/mode inputs are not longer needed 2017-03-23 23:32:47 +01:00
Dan Bucholtz
945cd8ff52 test(e2e): restructure e2e to tests to import modules
restructure e2e to tests to import modules
2017-03-21 10:49:11 -05:00
Dan Bucholtz
af16846568 chore(e2e): rename to to standardize on format
rename  to  to standardize on format
2017-03-20 11:57:26 -05:00
mhartington
546003037e docs(): hide modules from docs 2017-03-16 11:49:46 -04:00
Brandy Carney
ddcd3cf1c5 refactor(components): convert components to separate modules 2017-03-15 16:07:06 -04:00
perry
396f891f33 chore(docs): updating dgeni typescript package 2017-03-14 14:50:31 -05:00
Dan Bucholtz
ece5047b6c refactor(input): restructure input component to separate modules
restructure input component to separate modules
2017-03-02 14:50:07 -06:00
Dan Bucholtz
be79382386 test(e2e): refactor e2e tests to modular structure and utilize lazy loading where possible
refactor e2e tests to modular structure and utilize lazy loading where possible
2017-03-02 14:37:01 -06:00
Andrew Royappa
3959272620 docs(input): copy editing (#10561)
Tiny rewording.
2017-02-27 11:21:39 -05:00
mhartington
da14042094 docs(input): add note about text input events
Closes https://github.com/driftyco/ionic-site/issues/991
2017-02-17 11:48:28 -05:00
Brandy Carney
cc21f93b87 docs(API): update descriptions to be more clear
also update descriptions for the same properties to be more consistent,
and reword all events to start and end the same.

closes #10248 closes driftyco/ionic-site#613 closes
driftyco/ionic-site#899
2017-01-31 17:47:52 -05:00
ryanhalley
f9a8ff696e docs(input): remove typo (#10233) 2017-01-30 19:40:24 -05:00
Brandy Carney
eba0866a34 fix(input): don't allow focus when disabled is set (#10214)
Adds the disabled attribute to the parent input/textarea, also fixes
where disabled textareas were focusable regardless of where disabled
was set

fixes #10155
2017-01-27 14:42:38 -06:00
Brandy Carney
803782a95d feat(input): add max, min, step as inputs and pass to native
closes #10189
2017-01-27 10:41:24 -06:00
Brandy Carney
4ca9f2c04d fix(input): add variables for alert and input placeholder color
closes #10153
2017-01-27 10:40:55 -06:00
Brandy Carney
f9a576ed93 fix(input): pass readonly from ion-input down to native input
also adds to placeholder test an input and textarea with readonly that can be toggled

fixes #6408
2017-01-23 11:36:46 -06:00
Brandy Carney
7a6ba2d300 fix(input): show clear-input on inputs with ngModel/formControlName
fixes #9077
2017-01-23 11:35:44 -06:00
Brandy Carney
c8c90572bc chore(scripts): update e2e prod build to work with ionic-app-scripts (#10083)
* chore(e2e): WIP to add files needed for app-scripts

* chore(e2e): WIP one e2e test building but with errors

* chore(e2e): move e2e.prod to working with app-scripts

move shared functions into util, add support for debug flag when
running e2e.prod / demos.prod which gets passed to app-scripts

* chore(build): fix app-scripts build for all e2e and demos

* chore(e2e): update ionic-angular import path

* chore(build): update dev paths to work with prod

* chore(e2e): get watch working with e2e prod

* docs(scripts): update README for running e2e and demos

closes #8411
closes #10023
2017-01-19 11:09:57 -05:00
Brandy Carney
d252fa49e5 chore(e2e): rename app-module.ts to app.module.ts for consistency
references #10023
2017-01-13 15:16:24 -05:00
Brandy Carney
5844a83343 fix(input): pass disabled down to input when it is set from form
- test modified to disable username and comments on `input/form-inputs`
and then toggle them via a button

see: http://g.recordit.co/RkN510TcHk.gif

fixes #9834
2017-01-13 10:45:00 -06:00
mhartington
4224e903db docs(input): add example for ion-textarea 2017-01-10 15:13:52 -05:00
Adam Bradley
7000b1b173 refactor: improve tree shaking abilities
Internal refactor completed in order to improve tree shaking and dead
code removal. The public API, with an exception to ion-slides, has
stayed the same. However, internally many changes were required so
bundlers could better exclude modules which should not be bundled.
Ultimately most changes resorted to removing references to `window` or
`document`, or a module that referenced one of those.

BREAKING CHANGES

ion-slides was refactored to remove the external dependencies, and
rewritten in TypeScript/ES6 modules to again improve tree shaking
abilities.
2017-01-09 09:51:39 -06:00
Brandy Carney
717cada8ed fix(input): only add padding right if it has clear input
fixes #9865
2017-01-04 13:28:25 -05:00
Justin Willis
22ba043c53 fix(input): remove click events from disabled inputs (#9676)
fixes #9070
2016-12-19 10:50:24 -05:00
Brandy Carney
877fcf178d fix(input): fix the text jumping for stacked/floating inputs on iOS
fixes #9605
2016-12-16 12:43:17 -05:00
Josep Sayol
e80f4cf88d fix(input): prevent exception when input components outside Content 2016-12-14 14:27:19 -06:00
Adam Bradley
eba2862e70 fix(input): apply transform css prefix 2016-12-06 10:00:09 -06:00
Adam Bradley
c377236dcb perf(scroll): efficient scroll events and properties 2016-12-05 16:50:05 -06:00
Ibrahim Hadeed
21ade93065 Fix typo 2016-11-26 00:24:27 -05:00
Adam Bradley
3b304974ec fix(input): improve scroll to input and focusing
Related #6228
2016-11-21 08:56:00 -06:00
Adam Bradley
fbe4a7b346 test(focus): update input focus e2e test 2016-11-21 08:40:19 -06:00
ramonornela
fa54a4e02d style(input): fix lints 2016-11-17 09:37:35 -02:00
Max Lynch
9469b4ff9a feat(input): clearOnEdit feature. Closes #9187 2016-11-16 16:42:48 -06:00
Manu Mtz.-Almeida
909293a735 fix(nav): fixes empty stack condition 2016-11-14 21:11:31 +01:00
Alan
025c5cc646 fix(components): add a mode agnostic css class (#9133)
Fixes #8545
2016-11-14 13:50:01 -05:00
Denny Biasiolli
faed85c6d3 docs(input): fix typo in documentation (#9103) 2016-11-10 18:53:07 -05:00
mhartington
b4b9adb7fc refactor(textarea): remove type input from textarea 2016-11-07 15:05:00 -05:00
mhartington
bc5cd7f03f docs(input): update input docs 2016-11-07 14:52:15 -05:00
Brandy Carney
eb0b05df88 fix(sass): remove usage of colors other than primary, improve error (#8907)
* fix(sass): remove usage of colors other than primary, improve error

fixes #8266

* refactor(sass): add variables to override all modes for fab and input

* refactor(fab): rename Sass variable from in-list to list-button

BREAKING CHANGE:

- `$fab-<mode>-in-list-background-color` ->
`$fab-<mode>-list-button-background-color`
- `$fab-<mode>-in-list-text-color` ->
`$fab-<mode>-list-button-text-color`
- `$fab-<mode>-in-list-background-color-activated` ->
`$fab-<mode>-list-button-background-color-activated`
2016-11-07 17:41:10 +01:00
Hugo Aguirre
c327955a75 docs(input): add sass variable descriptions 2016-10-28 21:32:34 -05:00
Manu Mtz.-Almeida
bdd8bd1e93 Revert "fix(input): wrong width of text-input for iOS"
This reverts commit 941e2d2896.
2016-10-25 00:00:04 +02:00
Manu Mtz.-Almeida
941e2d2896 fix(input): wrong width of text-input for iOS
fixes #7388
2016-10-24 23:54:04 +02:00
Manu Mtz.-Almeida
6de91fcc88 test(input): adds events test 2016-10-13 23:29:43 +02:00
Alan Agius
21fa5cd75e fix(input): text input width calculation (#8063) 2016-10-12 14:31:48 -04:00