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
perry
41e34fc4ce chore(docs): moving docs from /docs/v2 to /docs 2017-03-29 11:00:52 -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
Dan Bucholtz
b10ec68087 refactor(deep-linking): rename to
rename  to
2017-03-20 10:42:00 -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
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
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
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
Adam Bradley
24d0052541 chore(noImplicitAny): add noImplicitAny to tsconfig 2017-01-12 10:14:50 -06: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
mhartington
534e47be7c docs(button): add note for click handlers 2016-12-12 10:30:05 -05:00
Manu Mtz.-Almeida
ac07c6f124 fix(button): button strong is configurable 2016-12-06 22:38:03 +01:00
Manu Mtz.-Almeida
c0c09a7149 fix(button): strong is iOS-only 2016-12-06 22:04:51 +01:00
Manu Mtz.-Almeida
af7139b7ab fix(picker): mark main button as strong 2016-12-05 22:59:54 +01:00
Manu Mtz.-Almeida
fa0579fe46 feat(button): strong decorator 2016-11-29 10:13:01 -06:00
Brandy Carney
51a492a3c5 test(button): fix failing karma test caused by changing params 2016-11-23 12:58:01 -05:00
Manu Mtz.-Almeida
5ad7fd1908 perf(rendering): add css containment 2016-11-23 11:08:45 -06:00
Brandy Carney
624cb356df fix(menu-toggle): move logic for css class to the menu toggle
fixes #8943
2016-11-23 11:00:34 -06:00
Brandy Carney
d3b0140ebf test(button): fix linter errors 2016-11-10 20:44:38 -05:00
Nick
898ac3e863 fix(button) remove outline color class, then add back standard color class (#9114)
fixes #9031 fixes #8845
2016-11-10 20:39:27 -05:00
Brandy Carney
6117dd8f65 test(button): add test for dynamic outline buttons
references #8845 references #9031
2016-11-10 19:53:50 -05:00
Brandy Carney
82d0bde0e2 test(button): add test for anchor buttons, update basic test
references #8293
2016-11-09 14:07:50 -05:00
Brandy Carney
2003ae48d5 fix(sass): rename $background-color variable in our loops
We were overriding this variable so the user couldn’t reference what
they set it to.

Fixes #8475
2016-10-28 13:28:15 -04:00
Brandy Carney
5f3aedc0f7 docs(button): add advanced usage with property binding, update description of color 2016-10-21 18:27:10 -04:00
Job
221c1c456d docs(button): correct input types (#8772) 2016-10-18 11:19:36 -04:00
mhartington
da62b63253 docs(): minor doc updates 2016-10-10 09:13:04 -04:00
Ramon Henrique Ornelas
6b33ed0c8e docs(button): removes old fab documentation and test 2016-10-03 23:41:03 +02:00
Manu Mtz.-Almeida
e2529e5f1e docs(button): mode 2016-10-01 13:30:17 +02:00
mhartington
4baa5b1e0c docs(): update docs 2016-09-26 14:28:11 -04:00
Manu Mtz.-Almeida
490a06dd3e feat(fab): update floating action buttons 2016-09-21 09:42:07 -05:00
Dan Bucholtz
83d973b1a8 chore(demos): change dgeni path for demos
change dgeni path for demos
2016-09-20 15:20:04 -05:00
Manu Mtz.-Almeida
14a3ea2ef8 perf(ripple): md ripple effect update to not affect layout 2016-09-20 12:52:21 -05:00
Brandy Carney
9c3e60d76e test(validate): fix validate errors with karma and sass, add button mode karma test 2016-09-13 23:58:08 -04:00
Brandy Carney
bc7d328bc0 refactor(components): add color/mode properties 2016-09-13 17:11:38 -05:00
Brandy Carney
16df3a4aab refactor(css): update theme imports 2016-09-13 16:57:32 -05:00
Brandy Carney
750cde38e2 refactor(css): scope component css to mode 2016-09-13 16:52:47 -05:00
Adam Bradley
d7be8a80c0 test(ngmodule): update to ngmodule 2016-09-13 15:44:02 -05:00
Brandy Carney
8c1662d5e9 test(button): update karma and e2e tests for the new color input 2016-08-23 18:34:55 -04:00
Brandy Carney
55a0257dbc refactor(colors): color should be added as an input instead of directly adding the color to the component
BREAKING CHANGES:

Colors should be passed in the `color` input on components, not added
individually as an attribute on the component.

For example:

```
<ion-tabs primary>
```

Becomes

```
<ion-tabs color=”primary”>
```

Or to bind an expression to color:

```
<ion-navbar [color]="barColor">
   ...
</ion-navbar>
```

```ts
@Component({
  templateUrl: 'build/pages/about/about.html'
})
export class AboutPage {
  barColor: string;

  constructor(private nav: NavController, platform: Platform) {
    this.barColor = platform.is('android') ? 'primary' : 'light';
  }
}
```

Reason for this change:
It was difficult to dynamically add colors to components, especially if
the name of the color attribute was unknown in the template.
This change keeps the css flat since we aren’t chaining color
attributes on components and instead we assign a class to the component
which includes the color’s name.
This allows you to easily toggle a component between multiple colors.
Speeds up performance because we are no longer reading through all of
the attributes to grab the color ones.

references #7467
closes #7087 closes #7401 closes #7523
2016-08-23 17:16:55 -04:00
Brandy Carney
a8dc613627 test(button): fix karma tests for the new button syntax 2016-08-16 18:29:33 -04:00
Brandy Carney
d30643c4a0 chore: fix linter errors 2016-08-16 18:22:27 -04:00
Brandy Carney
938864e8d0 refactor(button): add ion-button attribute and icon attributes to style buttons
BREAKING CHANGES:

- `<button>` becomes `<button ion-button>`
- `<a button>` becomes `<a ion-button>`
- `<button ion-item>` does not get the `ion-button` attribute
- Buttons inside of `<ion-item-options>` do get the `ion-button`
attribute
- Removed the `category` attribute, this should be passed in
`ion-button` instead.
- Button attributes added for icons in buttons: `icon-only`,
`icon-left`, and `icon-right`

closes #7466
2016-08-16 17:11:02 -04:00
Manu Mtz.-Almeida
ac8e4dce06 style(all): tslinter warnings 2016-07-19 13:31:46 -07:00
Adam Bradley
816a6486b0 fix(button): apply css for buttons w/ ngIf
Closes #5927
2016-07-04 21:26:58 -05:00
Adam Bradley
656426672c chore(templates): import required directives for ionic templates 2016-07-01 00:59:37 -05:00
Manu Mtz.-Almeida
4e88f89161 fix(button): outline buttons do not have hairline borders in iOS 2016-06-30 08:13:18 -05:00
Manu Mtz.-Almeida
5c804450c4 feat(ion-content): iOS only scroll bounce 2016-06-27 22:26:48 -05:00