46 Commits

Author SHA1 Message Date
a0412bc66c chore(slides): update core slides 2017-05-17 22:34:29 +02:00
ef0d9a89b6 feat(): Added badge, card, gesture, slides, toggle 2017-05-11 13:09:52 -05:00
39e12b1c2e fix(): include swiper source js file. 2017-05-05 15:30:50 -05:00
fe52864987 chore(slides): temp remove slides import 2017-05-02 21:59:59 -05:00
d18f2e591c fix(): changed slides so that it is using the default import. 2017-05-02 14:11:04 -05:00
946c5e9c85 feat(slides): add web component slides to ionic. 2017-04-28 13:53:15 -05:00
65c250be95 docs(slides): add params for slide functions (#10972)
* Update documentation for ion-slide

Reading the documentation and following along left me lost as to why the .lockNextSlides() was not working, this was because it required a boolean parameter that was not reflected in the documentation. This PR adds the JSDoc @param to show that the function requires a boolean parameter. Does not include a definition for the single parameters so this may cause issue in the theme of the docs template.

* Changing order of type definition

* Adding definitions to JSdoc for slider.
2017-04-13 15:14:31 -05:00
41e34fc4ce chore(docs): moving docs from /docs/v2 to /docs 2017-03-29 11:00:52 -05:00
a252a94136 refactor(slides): remove deprecated input, outputs, and function
BREAKING CHANGES

Slides input `options` has been removed. Please use the input
properties instead.

Slide event `ionWillChange` has been removed, please use
`ionSlideWillChange` instead.

Slide event `ionDidChange` has been removed, please use
`ionSlideDidChange` instead.

Slide event `ionDrag` has been removed, please use `ionSlideDrag`
instead.

Slides `getSlider()` method has been removed, please use the instance
of ion-slides.
2017-03-23 14:50:53 -04:00
042f698555 Merge branch 'master' into 3.0
# Conflicts:
#	src/components/action-sheet/test/basic/pages/page-one/page-one.ts
#	src/components/alert/alert.ts
#	src/components/content/content.ts
#	src/components/datetime/datetime.ts
#	src/components/datetime/test/datetime.spec.ts
#	src/components/loading/loading.ts
#	src/components/modal/test/basic/app.module.ts
#	src/components/picker/picker-component.ts
#	src/components/toast/toast.ts
#	src/components/toolbar/toolbar.ios.scss
#	src/components/toolbar/toolbar.md.scss
#	src/components/toolbar/toolbar.wp.scss
#	src/components/virtual-scroll/test/basic/app.module.ts
#	src/util/util.ts
2017-03-20 18:07:38 -04:00
396f891f33 chore(docs): updating dgeni typescript package 2017-03-14 14:50:31 -05:00
e90d692b1f fix(slides): fix rtl support.
- fix rtl functionalities in slides when attribute (dir=“rtl”) added to
ion-slides.
- e2e test added: ‘slides/test/rtl’
2017-03-08 23:44:15 +01:00
dc53c8e9f6 fix(menu): all menus can be disabled 2017-03-03 20:44:40 +01:00
9e4c3a6e3e feat(split-panel): split panel support for ion-nav and ion-menu (#10343)
* feat(split-panel): split panel support for ion-nav and ion-menu

Revert some changes

adds support split-panel support for tabs

Removes .orig

removes e2e.ts

Removes unneeded changes in menu.ts

improves stuff

* fix(split-panel): resize is called when menu wraps a ion-nav

* test(split-panel): improves split-panel/basic test

* feat(split-panel): ionChange is an ng2 @Output()

* fix(split-panel): fix tabs as side content

* fix(menu): forzedClose works as expected

* feat(split-panel): split-panel works with several menus

* chore(split-panel): renames to split-pane

* refactor(split-pane): splitPane can be injected

* fix(split-pane): it is a directive

* fix(slides): integration with split-panel

* Make gulp validate happy
2017-03-03 20:13:07 +01:00
Rob
4e8176431a docs(slides): fix references to old callback names (#10575)
In the slidePrev, slideNext, and slideTo docs it still shows the old callback names.
2017-02-27 12:42:03 -05:00
32e4e3191b docs(slides): include import statements in usage (#10378)
Improve example - add import of slides for viewChild use
2017-02-24 11:38:03 -05:00
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
aadf931268 docs(slides): make update method public 2017-01-26 12:12:02 -05:00
e56028ef68 fix(slides): allow auto to be passed
Closes #10000. Closes #10037
2017-01-17 12:15:47 -05:00
522ce19d18 docs(slides): document spaceBetween and slidesPerView 2017-01-15 12:59:37 -05:00
21667c61ac feat(slides): add option for paginationBulletRender
Closes #10002
2017-01-13 09:20:56 -06:00
Job
f499496e4d feat(slides): add swiper controller (#9983) 2017-01-12 13:41:17 -05:00
2d26edb679 feat(slides): expose more options (#9992)
* feat(slides): expose more options
Closes #9988
Exposes slidesPerView and spaceBetween. Also documents how to change
unexposed options

* docs(slides): update advanced usage
2017-01-12 12:59:33 -05:00
24d0052541 chore(noImplicitAny): add noImplicitAny to tsconfig 2017-01-12 10:14:50 -06:00
391cd70879 docs(slides): update slides docs (#9968)
Change the `pager` description.
Change the `paginationType` input type.
2017-01-11 16:28:33 -05:00
Job
c8150748da docs(slides): deprecation notice typo's (#9932) 2017-01-10 13:43:27 -05:00
3f164237ae docs(slides): fix docs 2017-01-09 14:38:58 -05:00
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
025c5cc646 fix(components): add a mode agnostic css class (#9133)
Fixes #8545
2016-11-14 13:50:01 -05:00
ff1f340285 test(assert): adds new debugging assert() util
improves removing of console.debug statements

fixes #8483
2016-10-18 09:10:00 -05:00
dbfc183cac docs(): update docs 2016-09-26 21:11:54 -04:00
83d973b1a8 chore(demos): change dgeni path for demos
change dgeni path for demos
2016-09-20 15:20:04 -05:00
7b443dea4c chore(slides): swiper updates 2016-09-13 17:14:28 -05:00
c9c46dfb0c docs(slides): typo fix (#7465) 2016-07-29 09:32:07 -05:00
f3eb5fd3f2 docs(optional): add syntax to flag params as optional 2016-07-25 11:45:32 -05:00
ac8e4dce06 style(all): tslinter warnings 2016-07-19 13:31:46 -07:00
580b8d5f0b fix(slides): delay loading slides until view ready
Closes #7089
2016-07-06 10:47:12 -05:00
d8782df933 chore(): remove old deprecated warnings 2016-07-01 01:11:45 -05:00
c7fa9490bf style(imports): add spaces in imports 2016-06-22 14:29:27 -05:00
11448dcd0c chore(tslint): fix noImplicitAny errors 2016-05-31 21:07:17 -05:00
8a920a24a5 Merge branch 'bootstrap-refactor' into 2.0 2016-05-31 15:50:21 -05:00
94e938d6b3 docs(bootstrap): update to use ionicBootstrap 2016-05-31 15:47:16 -05:00
c897c344cc Merge branch 'pr/6655' into 2.0 2016-05-31 12:27:27 -04:00
d563aa65a3 refactor(events): rename all Ionic events to start with ion
BREAKING CHANGES:

Renamed all Ionic events to start with `ion`. The following events were
renamed:

- **Checkbox**
  - `change` -> `ionChange`
- **DateTime**
  - `change` -> `ionChange`
  - `cancel` -> `ionCancel`
- **InfiniteScroll**
  - `infinite` -> `ionInfinite`
- **Menu**
  - `opening` -> `ionDrag`
  - `opened` -> `ionOpen`
  - `closed` -> `ionClose`
- **Option**
  - `select` -> `ionSelect`
- **Picker**
  - `change` -> `ionChange`
- **RadioButton**
  - `select` -> `ionSelect`
- **RadioGroup**
  - `change` -> `ionChange`
- **Refresher**
  - `refresh` -> `ionRefresh`
  - `pulling` -> `ionPull`
  - `start` -> `ionStart`
- **Searchbar**
  - `input` -> `ionInput`
  - `blur` -> `ionBlur`
  - `focus` -> `ionFocus`
  - `cancel` -> `ionCancel`
  - `clear` -> `ionClear`
- **Segment**
  - `change` -> `ionChange`
  - `select` -> `ionSelect`
- **Select**
  - `change` -> `ionChange`
  - `cancel` -> `ionCancel`
- **Slides**
  - `willChange` -> `ionWillChange`
  - `didChange` -> `ionDidChange`
  - `move` -> `ionDrag`
- **TabButton**
  - `select` -> `ionSelect`
- **Tab**
  - `select` -> `ionSelect`
- **Tabs**
  - `change` -> `ionChange`
- **Toggle**
  - `change` -> `ionChange`

Closes #6568
2016-05-31 12:01:46 -04:00
dbe54b503d fix(slides): Removing a slide via *ngIf now properly removes the slide and the bullet from the pager. (closes #6651) 2016-05-25 12:16:21 -04:00
c8f760f080 chore(build): rename ionic directory to src and update all references in the build process. 2016-05-19 13:22:40 -05:00