Commit Graph

106 Commits

Author SHA1 Message Date
perry
396f891f33 chore(docs): updating dgeni typescript package 2017-03-14 14:50:31 -05:00
jgw96
2143f7198e style(lint): fix linter errors 2017-03-06 11:23:42 -06:00
jgw96
1105bcda86 test(toolbar): update toolbar tests 2017-03-06 11:15:05 -06:00
jgw96
a2e469d408 test(e2e): update toolbar, typography and virtual scroll 2017-03-06 10:03:26 -06:00
Dan Bucholtz
49723c3b81 refactor(toolbar): restructure toolbar component to separate modules
restructure toolbar component to separate modules
2017-03-02 15:03:13 -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
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
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
3701ee5e37 refactor(toolbar): move the ios border to the toolbar background
This places the border on the last toolbar inside of a header and the
first toolbar inside of a footer in order to animate the border
properly in a page transition.

Fixes #9595
2016-12-12 16:28:45 -05:00
Brandy Carney
e210448e63 docs(toolbar): update API docs and any tests to remove old toolbar attributes 2016-12-07 12:29:34 -05:00
Brandy Carney
b73304e3aa refactor(toolbar): rename no-shadow to no-border for md mode
BREAKING CHANGES:

Renamed `no-shadow` attribute for Material Design header, footer, and
tabs to `no-border`. This is the same attribute used by iOS mode.
2016-12-07 12:29:34 -05:00
Brandy Carney
d53a38e479 fix(header): fix no-border on ios headers
fixes #9525 closes #9480
2016-12-07 12:29:34 -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
Brandy Carney
660d53101f docs(sass): add documentation for the remaining sass variables
closes #8785
2016-12-05 10:16:40 -05:00
Brandy Carney
abc7395428 fix(content): prefix utility attributes with ion-app and the mode
this makes the utility attribute take precedence over the individual
component classes and makes it work per mode again so the
padding/margin presets can be changed based on the mode

closes #8765
2016-12-02 12:56:19 -05:00
Manu Mtz.-Almeida
fa0579fe46 feat(button): strong decorator 2016-11-29 10:13:01 -06:00
Manu Mtz.-Almeida
d82bb01505 fix(nav): back button and title not aligned on baseline
fixes #8983
2016-11-27 18:09:23 +01:00
Manu Mtz.-Almeida
320989540e perf(menu): improves menu performance and fixes some edge cases 2016-11-25 22:56:53 +01:00
Brandy Carney
b515f5251b refactor(toolbar): move border from toolbar to header/footer and increase opacity
This matches native iOS. Removed the `no-border-top` and
`no-border-bottom` from toolbars since it is only added to `ion-header`
and `ion-footer` now, and added `no-border` to each of those.
2016-11-23 17:54:05 -06:00
Manu Mtz.-Almeida
5ad7fd1908 perf(rendering): add css containment 2016-11-23 11:08:45 -06:00
Manu Mtz.-Almeida
32ab817181 fix(gestures): gesture controller handled by components
* fix(gestures): gesture controller is handled by components

fixes #9046

* fix(gestures): adds hybrid disable scroll assistance

fixes #9130
fixes #9052
fixes #7444
2016-11-16 10:03:51 -06:00
Alan
025c5cc646 fix(components): add a mode agnostic css class (#9133)
Fixes #8545
2016-11-14 13:50:01 -05:00
Brandy Carney
0e53ec315d fix(button): fix ios buttons in colored toolbar so they don't use the default color
fixes #8566
2016-11-09 19:05:21 -05:00
Jake Price
08db53ec0b Fix - Update spelling in toolbar-title.ts docs
A basic spelling change in the toolbar-title.ts documentation (heder to header)
2016-11-02 07:44:42 +00:00
Dan Bucholtz
83d973b1a8 chore(demos): change dgeni path for demos
change dgeni path for demos
2016-09-20 15:20:04 -05: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
Sergio Leal
66da98dc5f docs: update toolbar.ts (#7830)
Just a typo
2016-08-23 20:40:10 -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
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
Da-FyK
8d0cc39357 docs(): fix path (nav->navbar) typo 2016-08-12 15:26:16 -05:00
mhartington
1c596556c5 docs(footer, header): add docs 2016-07-29 10:37:12 -05:00
Manu Mtz.-Almeida
ac8e4dce06 style(all): tslinter warnings 2016-07-19 13:31:46 -07:00
Brandy Carney
88b637b491 feat(toolbar): add attributes to hide all borders and box shadows
closes #7237
2016-07-08 11:45:05 -04:00
Brandy Carney
41064bf2be refactor(tabs): rename tab input/config options to be more clear/consistent
BREAKING CHANGES:

Tab input/config options have been renamed. The following options were
renamed:

- `tabbarHighlight` -> `tabsHighlight`
- `tabbarLayout` -> `tabsLayout`
- `tabSubPages` -> `tabsHideOnSubPages`
- `tabbarPlacement` -> `tabsPlacement`

The previous names have been deprecated. They will still work in the
current release but will be removed in the future so please update to
the new names.

references #7143
2016-07-07 13:09:00 -04: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
Brandy Carney
9b2f4a682e chore(sass): fix linter errors 2016-06-30 16:44:10 -04:00
Adam Bradley
686c262c4c feat(footer): apply shadow on MD footer and tabbar bottom 2016-06-30 11:57:09 -05:00
Adam Bradley
1f4b3e2cf0 feat(tabbar): apply shadow on MD tabbar top 2016-06-29 22:06:18 -05:00
Adam Bradley
37c53ac07c style(scss): fix scss lint errors 2016-06-29 11:44:51 -05:00
Adam Bradley
6fa2faffba feat(header): apply shadow on MD headers 2016-06-29 11:26:38 -05:00
Adam Bradley
2fe42ed63e chore(): clean up unused references 2016-06-28 11:28:25 -05:00
Brandy Carney
f7880c9d5f test(e2e): fix e2e tests with missing ion-navs, hide border on toolbars 2016-06-22 15:52:51 -04:00