octicon-git-branch(16/) Commit Graph

408 Commits

Author SHA1 Message Date
ionitron
a8517f4fcf v7.4.3 2023-10-04 13:26:30 +00:00 octicon-file-diff(16/) octicon-file-code(16/)
ionitron
078964447a chore(): update package lock files 2023-09-27 13:32:44 +00:00 octicon-file-diff(16/) octicon-file-code(16/)
ionitron
45bcd4c22b v7.4.2 2023-09-27 13:32:27 +00:00 octicon-file-diff(16/) octicon-file-code(16/)
Liam DeBeasi
bd0ee0b316 Merge remote-tracking branch 'origin/main' into sync-main-75 2023-09-22 12:23:03 -04:00 octicon-file-diff(16/) octicon-file-code(16/)
Liam DeBeasi
de1a4c50bb test: update test apps to cypress 13 (#28212)
Issue number: N/A

---------

<!-- Please do not submit updates to dependencies unless it fixes an
issue. -->

<!-- Please try to limit your pull request to one type (bugfix, feature,
etc). Submit multiple pull requests if needed. -->

## What is the current behavior?
<!-- Please describe the current behavior that you are modifying. -->

CI is failing for Cypress apps due to
https://github.com/cypress-io/cypress/issues/27804#issuecomment-1721476731.

## What is the new behavior?
<!-- Please describe the behavior or changes that are being added by
this PR. -->

- All Cypress test apps have been updated to Cypress 13.2.0 which is not
affected by this issue.

## Does this introduce a breaking change?

- [ ] Yes
- [x] No

<!-- If this introduces a breaking change, please describe the impact
and migration path for existing applications below. -->


## Other information

<!-- Any other information that is important to this PR such as
screenshots of how the component looks before and after the change. -->
2023-09-21 20:17:46 +00:00 octicon-file-diff(16/) octicon-file-code(16/)
ionitron
2e626a909f chore(): update package lock files 2023-09-20 13:21:09 +00:00 octicon-file-diff(16/) octicon-file-code(16/)
ionitron
d82414d43f v7.4.1 2023-09-20 13:20:51 +00:00 octicon-file-diff(16/) octicon-file-code(16/)
donaldkicksyourass
6b9c6fcd4d chore(angular): improve types of platform.ts (#27810) 2023-09-18 10:18:03 -07:00 octicon-file-diff(16/) octicon-file-code(16/)
ionitron
6304645a81 chore(): update package lock files 2023-09-14 13:07:07 +00:00 octicon-file-diff(16/) octicon-file-code(16/)
ionitron
c28b66a99a v7.4.0 2023-09-14 13:06:52 +00:00 octicon-file-diff(16/) octicon-file-code(16/)
Liam DeBeasi
d547944e91 Merge remote-tracking branch 'origin/main' into sync-final-74 2023-09-13 09:38:37 -04:00 octicon-file-diff(16/) octicon-file-code(16/)
ionitron
af29857c5f chore(): update package lock files 2023-09-13 13:12:27 +00:00 octicon-file-diff(16/) octicon-file-code(16/)
ionitron
f9a984e4aa v7.3.4 2023-09-13 13:12:09 +00:00 octicon-file-diff(16/) octicon-file-code(16/)
Liam DeBeasi
474308618d Merge remote-tracking branch 'origin/main' into sync-feat-74 2023-09-11 09:23:16 -04:00 octicon-file-diff(16/) octicon-file-code(16/)
hoi4
19f3bb23fd feat: export TransitionOptions interface and getIonPageElement (#28140)
Issue number: resolves #28137

---------

Changes according to [this
comment](https://github.com/ionic-team/ionic-framework/issues/28137#issuecomment-1710283096)

## Does this introduce a breaking change?

- [ ] Yes
- [x] No

@liamdebeasi Sorry for replacing the previous PR. I only copied the main
branch to my fork so I couldn't rebase properly. I am unfortunately not
extremely familiar with Github.

---------

Co-authored-by: Philipp Heuer <philipp@studysmarter.de>
Co-authored-by: Liam DeBeasi <liamdebeasi@users.noreply.github.com>
2023-09-11 08:53:56 -04:00 octicon-file-diff(16/) octicon-file-code(16/)
ionitron
7dbce4fc09 chore(): update package lock files 2023-09-06 13:24:04 +00:00 octicon-file-diff(16/) octicon-file-code(16/)
ionitron
3de1dd3c14 v7.3.3 2023-09-06 13:23:50 +00:00 octicon-file-diff(16/) octicon-file-code(16/)
Maria Hutt
e6c7bb60e7 feat(checkbox, radio, toggle, range): stacked labels for form controls (#28075)
Co-authored-by: Liam DeBeasi <liamdebeasi@users.noreply.github.com>
Co-authored-by: ionitron <hi@ionicframework.com>
2023-09-01 09:30:59 -07:00 octicon-file-diff(16/) octicon-file-code(16/)
Maria Hutt
63cb96831e docs(angular): update README for clear directory paths (#28098)
Issue number: N/A

---------

<!-- Please do not submit updates to dependencies unless it fixes an
issue. -->

<!-- Please try to limit your pull request to one type (bugfix, feature,
etc). Submit multiple pull requests if needed. -->

## What is the current behavior?
<!-- Please describe the current behavior that you are modifying. -->

- The instructions doesn't provide clear directory paths for syncing
local changes.

## What is the new behavior?
<!-- Please describe the behavior or changes that are being added by
this PR. -->

- The instructions has clear directory paths for syncing local changes.
- Switched to the `[!NOTE]` for notes.

## Does this introduce a breaking change?

- [ ] Yes
- [x] No

<!-- If this introduces a breaking change, please describe the impact
and migration path for existing applications below. -->


## Other information

<!-- Any other information that is important to this PR such as
screenshots of how the component looks before and after the change. -->

N/A
2023-08-31 22:46:29 +00:00 octicon-file-diff(16/) octicon-file-code(16/)
ionitron
a25c38223c chore(): update package lock files 2023-08-30 12:48:07 +00:00 octicon-file-diff(16/) octicon-file-code(16/)
ionitron
f9211e5434 v7.3.2 2023-08-30 12:47:53 +00:00 octicon-file-diff(16/) octicon-file-code(16/)
ionitron
b333bdffe6 chore(): update package lock files 2023-08-23 13:40:28 +00:00 octicon-file-diff(16/) octicon-file-code(16/)
ionitron
5701f7661e v7.3.1 2023-08-23 13:40:10 +00:00 octicon-file-diff(16/) octicon-file-code(16/)
Sean Perkins
77707b8c1e fix(angular): min/max validator for ion-input type number (#27993)
Issue number: Resolves #23480

---------

<!-- Please do not submit updates to dependencies unless it fixes an
issue. -->

<!-- Please try to limit your pull request to one type (bugfix, feature,
etc). Submit multiple pull requests if needed. -->

## What is the current behavior?
<!-- Please describe the current behavior that you are modifying. -->

Angular's min/max validators do not work with `ion-input[type=number]`.
Using the built-in validators with `ion-input` will not update the
control status to invalid, reflect the `ng-invalid` class or report the
correct errors.

## What is the new behavior?
<!-- Please describe the behavior or changes that are being added by
this PR. -->

- The `IonicModule` now includes two additional directive declarations
that extend Angular's built-in min/max validators and target the
`ion-input` component when using `type="number"`.

## Does this introduce a breaking change?

- [ ] Yes
- [x] No

<!-- If this introduces a breaking change, please describe the impact
and migration path for existing applications below. -->


## Other information

<!-- Any other information that is important to this PR such as
screenshots of how the component looks before and after the change. -->
2023-08-18 18:34:02 +00:00 octicon-file-diff(16/) octicon-file-code(16/)
Sean Perkins
bbfb8f81a6 fix(angular): ionTabsWillChange is fired before tab activation (#27991)
Issue number: Resolves #27212

---------

<!-- Please do not submit updates to dependencies unless it fixes an
issue. -->

<!-- Please try to limit your pull request to one type (bugfix, feature,
etc). Submit multiple pull requests if needed. -->

## What is the current behavior?
<!-- Please describe the current behavior that you are modifying. -->

`ionTabsWillChange` emits _after_ the tab view is activated in the
stack.

## What is the new behavior?
<!-- Please describe the behavior or changes that are being added by
this PR. -->

- `ionTabsWillChange` emits _before_ the tab view is activated in the
stack.

## Does this introduce a breaking change?

- [ ] Yes
- [x] No

<!-- If this introduces a breaking change, please describe the impact
and migration path for existing applications below. -->


## Other information

<!-- Any other information that is important to this PR such as
screenshots of how the component looks before and after the change. -->

Dev-build: `7.2.4-dev.11692040948.1fd0ecd2`
2023-08-18 15:07:09 +00:00 octicon-file-diff(16/) octicon-file-code(16/)
ionitron
6877d659d3 chore(): update package lock files 2023-08-16 14:23:51 +00:00 octicon-file-diff(16/) octicon-file-code(16/)
ionitron
16f7ec2284 v7.3.0 2023-08-16 14:23:33 +00:00 octicon-file-diff(16/) octicon-file-code(16/)
ionitron
7c24965216 chore(): update package lock files 2023-08-16 13:26:24 +00:00 octicon-file-diff(16/) octicon-file-code(16/)
ionitron
ffe5307905 v7.2.4 2023-08-16 13:26:09 +00:00 octicon-file-diff(16/) octicon-file-code(16/)
ionitron
3a263d14c3 chore(): update package lock files 2023-08-09 16:28:15 +00:00 octicon-file-diff(16/) octicon-file-code(16/)
ionitron
0cb37430d3 v7.2.3 2023-08-09 16:27:57 +00:00 octicon-file-diff(16/) octicon-file-code(16/)
ionitron
01857dd315 chore(): update package lock files 2023-08-02 15:59:53 +00:00 octicon-file-diff(16/) octicon-file-code(16/)
ionitron
dbe6f390ef v7.2.2 2023-08-02 15:59:37 +00:00 octicon-file-diff(16/) octicon-file-code(16/)
ionitron
960adbbc5c chore(): update package lock files 2023-07-26 15:54:44 +00:00 octicon-file-diff(16/) octicon-file-code(16/)
ionitron
db29871654 v7.2.1 2023-07-26 15:54:29 +00:00 octicon-file-diff(16/) octicon-file-code(16/)
ionitron
08cc3d93ae chore(): update package lock files 2023-07-19 16:29:26 +00:00 octicon-file-diff(16/) octicon-file-code(16/)
ionitron
8661e21674 v7.2.0 2023-07-19 16:29:12 +00:00 octicon-file-diff(16/) octicon-file-code(16/)
Liam DeBeasi
ddfbc9faef Merge remote-tracking branch 'origin/main' into final-7.2-sync 2023-07-19 09:52:12 -04:00 octicon-file-diff(16/) octicon-file-code(16/)
ionitron
f18da214bc chore(): update package lock files 2023-07-19 13:08:31 +00:00 octicon-file-diff(16/) octicon-file-code(16/)
ionitron
7e174849b5 v7.1.4 2023-07-19 13:08:11 +00:00 octicon-file-diff(16/) octicon-file-code(16/)
Sean Perkins
90f41243d9 feat(angular): support binding routing data to component inputs (#27694)
Issue number: Resolves #27476

---------

<!-- Please do not submit updates to dependencies unless it fixes an
issue. -->

<!-- Please try to limit your pull request to one type (bugfix, feature,
etc). Submit multiple pull requests if needed. -->

## What is the current behavior?
<!-- Please describe the current behavior that you are modifying. -->

Ionic Angular application on Angular v16 cannot use the
[`bindToComponentInputs`](https://angular.io/api/router/ExtraOptions#bindToComponentInputs)
feature to assign route parameters, query parameters, route data and
route resolve data to component inputs.

## What is the new behavior?
<!-- Please describe the behavior or changes that are being added by
this PR. -->

- Ionic Angular developers can use the option on `RouterModule.forRoot`
to enable the Angular feature for binding the route snapshot data to the
component inputs.

**Modules**
```ts
@NgModule({
  imports: [
    RouterModule.forRoot([/* your routes */], { 
      bindToComponentInputs: true // <-- enable this feature
    })
  ]
})
export class AppModule { }
```

**Standalone**

```ts
import { withComponentInputBinding } from '@angular/router';

bootstrapApplication(App, {
  providers: [
    provideRouter(routes, 
      //... other features
      withComponentInputBinding() // <-- enable this feature
    )
  ],
});
```

With this feature enabled, developers can bind route parameters, query
parameters, route data and the returned value from a resolver to input
bindings on their component.

For example, with a route configuration of:
```ts
RouterModule.forChild([
  {
    path: ':id',
    data: {
      title: 'Hello world'
    },
    resolve: {
      name: () => 'Resolved name'
    },
    loadComponent: () => import('./example-component/example.component').then(c => c.ExampleComponent)
  }
])
```
and a component configuration of:

```ts
@Component({ }) 
export class ExampleComponent {
  @Input() id?: string;
  @Input() title?: string;
  @Input() name?: string;
  @Input() query?: string;
}
```

Navigating to the component with a url of: `/2?query=searchphrase`

The following would occur:
- `id` would return `2`
- `title` would return `Hello world`
- `name` would return `Resolved name`
- `query` would return `searchphrase`

## Does this introduce a breaking change?

- [ ] Yes
- [x] No

<!-- If this introduces a breaking change, please describe the impact
and migration path for existing applications below. -->


## Other information

<!-- Any other information that is important to this PR such as
screenshots of how the component looks before and after the change. -->

This PR will need to be targeted to a minor release once a design doc is
approved by the team.

Dev-build: `7.1.3-dev.11689276547.129acb40`
2023-07-18 16:26:37 -04:00 octicon-file-diff(16/) octicon-file-code(16/)
Nicolas Sandron
71310372c9 feat(searchbar): add name property (#27737)
resolves #27675
2023-07-17 11:43:00 -04:00 octicon-file-diff(16/) octicon-file-code(16/)
ionitron
d6c812f785 chore(): update package lock files 2023-07-12 12:54:58 +00:00 octicon-file-diff(16/) octicon-file-code(16/)
ionitron
0c9392abd6 v7.1.3 2023-07-12 12:54:40 +00:00 octicon-file-diff(16/) octicon-file-code(16/)
ionitron
61486d97f7 chore(): update package lock files 2023-07-06 16:40:18 +00:00 octicon-file-diff(16/) octicon-file-code(16/)
ionitron
20331458de v7.1.2 2023-07-06 16:40:00 +00:00 octicon-file-diff(16/) octicon-file-code(16/)
Liam DeBeasi
32bc33ed28 refactor(angular): move to packages directory (#27719)
Issue number: N/A

---------

<!-- Please do not submit updates to dependencies unless it fixes an
issue. -->

<!-- Please try to limit your pull request to one type (bugfix, feature,
etc). Submit multiple pull requests if needed. -->

## What is the current behavior?
<!-- Please describe the current behavior that you are modifying. -->

The `angular` directory sits at the root of the project instead of in
`packages` with all the other JS Framework integrations. This does not
cause any functional issues with Ionic, but it is confusing since
integrations are not in a consistent place.

## What is the new behavior?
<!-- Please describe the behavior or changes that are being added by
this PR. -->

- Moves the `angular` directory to `packages/angular`

Note: Most files should remain unchanged. The only files I changed are
the files that had direct paths to the old `angular` directory:

1. Removes the `angular` path in `lerna.json`. This is now covered by
`packages/*`
2. Updated the angular file path in `.gitignore`
3. Updates the path to the angular package in `stencil.config.ts` for
the Angular Output Targets
4. Updates some of Angular's sync scripts to correctly get the core
stylesheets as well as the core package.
5. Updates the test app sync script to correctly sync core and
angular-server

~I'm not entirely sure why GitHub thinks
https://github.com/ionic-team/ionic-framework/pull/27719/files#diff-f5bba7e7c7c75426e2b9c89868310cb03890493b4efe0252adf8d12cc8398962
is a new file since it exists in `main` here:
1f06be4a31/angular/test/base/scripts/build-ionic.sh~
Fixed in
6e7fc49827

## Does this introduce a breaking change?

- [ ] Yes
- [x] No

<!-- If this introduces a breaking change, please describe the impact
and migration path for existing applications below. -->


## Other information

<!-- Any other information that is important to this PR such as
screenshots of how the component looks before and after the change. -->

Dev build: `7.1.2-dev.11688052109.13454f5c`
2023-07-05 17:52:35 +00:00 octicon-file-diff(16/) octicon-file-code(16/)
Brandy Carney
d37623a2ca chore(packages): move the packages to root 2018-03-12 16:02:25 -04:00 octicon-file-diff(16/) octicon-file-code(16/)
Adam Bradley
851aa838fa refactor(router): init ng router refactor 2018-03-06 19:57:45 -06:00 octicon-file-diff(16/) octicon-file-code(16/)
Adam Bradley
a1f942d45e chore(cleanup): remove unused code 2018-03-06 19:56:53 -06:00 octicon-file-diff(16/) octicon-file-code(16/)