octicon-git-branch(16/) Commit Graph

726 Commits

Author SHA1 Message Date
Liam DeBeasi
ff7fa0b2e2 chore: sync with main 2024-03-13 10:21:01 -04:00 octicon-file-diff(16/) octicon-file-code(16/)
ionitron
7be6d9f72d chore(): update package lock files 2024-03-13 13:48:18 +00:00 octicon-file-diff(16/) octicon-file-code(16/)
ionitron
400013d6cb v7.8.0 2024-03-13 13:47:29 +00:00 octicon-file-diff(16/) octicon-file-code(16/)
ionitron
ddcda78ac9 chore(): update package lock files 2024-03-13 13:15:50 +00:00 octicon-file-diff(16/) octicon-file-code(16/)
ionitron
82e90f28b4 v7.7.5 2024-03-13 13:15:09 +00:00 octicon-file-diff(16/) octicon-file-code(16/)
Brandy Carney
258bc5cf16 chore: fix changelog generation 2024-03-06 16:43:42 -05:00 octicon-file-diff(16/) octicon-file-code(16/)
ionitron
1909ead9df chore(): update package lock files 2024-03-06 21:27:27 +00:00 octicon-file-diff(16/) octicon-file-code(16/)
ionitron
84f7eea26a v8.0.0-beta.1 2024-03-06 21:26:41 +00:00 octicon-file-diff(16/) octicon-file-code(16/)
Brandy Carney
c301ae8628 Merge branch 'main' into chore-sync-feat-8-main 2024-03-06 14:31:13 -05:00 octicon-file-diff(16/) octicon-file-code(16/)
ionitron
77914f3a28 chore(): update package lock files 2024-03-06 18:05:34 +00:00 octicon-file-diff(16/) octicon-file-code(16/)
ionitron
911519a5f8 v7.7.4 2024-03-06 18:04:51 +00:00 octicon-file-diff(16/) octicon-file-code(16/)
ionitron
8014bbffdc chore(): update package lock files 2024-02-28 13:57:28 +00:00 octicon-file-diff(16/) octicon-file-code(16/)
ionitron
1e3f6c78e9 v8.0.0-beta.0 2024-02-28 13:56:42 +00:00 octicon-file-diff(16/) octicon-file-code(16/)
Sean Perkins
27fb3bacf5 Merge remote-tracking branch 'origin/main' into sp/sync-feature-8-with-main-2 2024-02-22 14:54:37 -05:00 octicon-file-diff(16/) octicon-file-code(16/)
ionitron
842a65c9be chore(): update package lock files 2024-02-21 15:24:31 +00:00 octicon-file-diff(16/) octicon-file-code(16/)
ionitron
3fd66e76b5 v7.7.3 2024-02-21 15:23:45 +00:00 octicon-file-diff(16/) octicon-file-code(16/)
ionitron
76c003a3a1 chore(): update package lock files 2024-02-14 14:27:02 +00:00 octicon-file-diff(16/) octicon-file-code(16/)
ionitron
ae873e7028 v7.7.2 2024-02-14 14:26:08 +00:00 octicon-file-diff(16/) octicon-file-code(16/)
Liam DeBeasi
1091534397 chore: sync with main 2024-02-07 11:48:46 -05:00 octicon-file-diff(16/) octicon-file-code(16/)
ionitron
a0afeeb50e chore(): update package lock files 2024-02-07 14:21:09 +00:00 octicon-file-diff(16/) octicon-file-code(16/)
ionitron
66fcb70151 v7.7.1 2024-02-07 14:20:32 +00:00 octicon-file-diff(16/) octicon-file-code(16/)
Sean Perkins
5777ce2581 fix(react): route with redirect will mount page (#28961)
Issue number: resolves #28838

---------

<!-- 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. -->

In #28316 we resolved a longstanding misconfiguration where event
listeners being added to the page were not removed. This was due to
incorrect usage of `.bind` creating a new instance of the callback
functions.

By removing the event listener for `ionViewDidLeave`, before the
component has actually unmounted in react, resulted in the registered
destroy callback to not fire:
51c729eafc/packages/react/src/contexts/IonLifeCycleContext.tsx (L208-L216)
and
51c729eafc/packages/react/src/routing/ViewLifeCycleManager.tsx (L21-L32)

This resulted in a scenario that using a `Redirect` could cause the
wrong view to be unmounted (the entering view) and leave the user on an
empty screen.

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

- `ionViewDidEnter` event listener *is not* removed while the component
is unmounting. The browser will naturally remove the event listener when
the element node is detached from the DOM.
- Users are no longer presented with a white screen after clicking a
route that uses a redirect.

## Does this introduce a breaking change?

- [ ] Yes
- [x] No

<!--
  If this introduces a breaking change:
1. Describe the impact and migration path for existing applications
below.
  2. Update the BREAKING.md file with the breaking change.
3. Add "BREAKING CHANGE: [...]" to the commit description when merging.
See
https://github.com/ionic-team/ionic-framework/blob/main/.github/CONTRIBUTING.md#footer
for more information.
-->


## 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.6.7-dev.11706567011.11e782a9`
2024-02-06 23:20:57 +00:00 octicon-file-diff(16/) octicon-file-code(16/)
Maria Hutt
51c729eafc refactor(angular, react, vue): add missing test app msg (#28951)
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 packages, Angular, React, and Vue, will accept any `app_dir`
parameter when passing it to the build script. This can lead to a user
to entering a directory that doesn't exist within `test/apps`. If this
happens, then the build folder will include an incomplete test app.

For example:
1. `./build ng13`
2. This creates a `build/ng13` folder, but the folder only contains the
contents from the `base` folder. This causes it to be incomplete.

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

- Provides a message that the provided app directory doesn't exist.
- Does not create the incomplete app when an invalid app directory is
given.

## Does this introduce a breaking change?

- [ ] Yes
- [x] No

<!--
  If this introduces a breaking change:
1. Describe the impact and migration path for existing applications
below.
  4. Update the BREAKING.md file with the breaking change.
5. Add "BREAKING CHANGE: [...]" to the commit description when merging.
See
https://github.com/ionic-team/ionic-framework/blob/main/.github/CONTRIBUTING.md#footer
for more information.
-->


## 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
2024-02-01 17:04:58 +00:00 octicon-file-diff(16/) octicon-file-code(16/)
ionitron
7bb08f9ce4 chore(): update package lock files 2024-01-31 15:18:19 +00:00 octicon-file-diff(16/) octicon-file-code(16/)
ionitron
e672805406 v7.7.0 2024-01-31 15:17:39 +00:00 octicon-file-diff(16/) octicon-file-code(16/)
ionitron
fae7b24d2a chore(): update package lock files 2024-01-31 14:27:13 +00:00 octicon-file-diff(16/) octicon-file-code(16/)
ionitron
1de5ff9302 v7.6.7 2024-01-31 14:26:24 +00:00 octicon-file-diff(16/) octicon-file-code(16/)
Liam DeBeasi
b1c4c72474 refactor(react, react-router): build works on windows (#28904)
Issue number: Internal
---------

<!-- 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. -->

React and React Router packages do not build correctly on Windows
because certain dependencies were not marked as external.
## What is the new behavior?
<!-- Please describe the behavior or changes that are being added by
this PR. -->

- 3rd party packages are correctly marked as external


## Does this introduce a breaking change?

- [ ] Yes
- [x] No

<!--
  If this introduces a breaking change:
1. Describe the impact and migration path for existing applications
below.
  2. Update the BREAKING.md file with the breaking change.
3. Add "BREAKING CHANGE: [...]" to the commit description when merging.
See
https://github.com/ionic-team/ionic-framework/blob/main/.github/CONTRIBUTING.md#footer
for more information.
-->


## Other information

<!-- Any other information that is important to this PR such as
screenshots of how the component looks before and after the change. -->
2024-01-29 18:15:50 +00:00 octicon-file-diff(16/) octicon-file-code(16/)
Amanda Johnston
720a3cea99 test(react): re-enable picker tests (#28885)
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 `IonPicker` tests in the React app were skipped due to a Stencil bug
that has since been resolved.

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

Tests re-enabled.

## Does this introduce a breaking change?

- [ ] Yes
- [x] No

<!--
  If this introduces a breaking change:
1. Describe the impact and migration path for existing applications
below.
  2. Update the BREAKING.md file with the breaking change.
3. Add "BREAKING CHANGE: [...]" to the commit description when merging.
See
https://github.com/ionic-team/ionic-framework/blob/main/.github/CONTRIBUTING.md#footer
for more information.
-->


## Other information

<!-- Any other information that is important to this PR such as
screenshots of how the component looks before and after the change. -->
2024-01-26 21:16:14 +00:00 octicon-file-diff(16/) octicon-file-code(16/)
Liam DeBeasi
74de16f862 chore(): sync 2024-01-25 12:35:32 -05:00 octicon-file-diff(16/) octicon-file-code(16/)
ionitron
67bee73513 chore(): update package lock files 2024-01-24 14:15:49 +00:00 octicon-file-diff(16/) octicon-file-code(16/)
ionitron
0c4e1fcdb4 v7.6.6 2024-01-24 14:15:07 +00:00 octicon-file-diff(16/) octicon-file-code(16/)
Liam DeBeasi
0fb88315df chore: update package lock 2024-01-17 09:41:15 -05:00 octicon-file-diff(16/) octicon-file-code(16/)
Liam DeBeasi
71e485d770 chore: clean up changelog 2024-01-17 09:31:16 -05:00 octicon-file-diff(16/) octicon-file-code(16/)
ionitron
e2708ff651 v7.6.5 2024-01-17 14:23:09 +00:00 octicon-file-diff(16/) octicon-file-code(16/)
Liam DeBeasi
076c9fed29 merge release-7.6.4 2024-01-10 11:28:13 -05:00 octicon-file-diff(16/) octicon-file-code(16/)
Liam DeBeasi
b2e40cdcb8 chore: update package lock files 2024-01-03 09:57:18 -05:00 octicon-file-diff(16/) octicon-file-code(16/)
ionitron
ebb9ae9c11 v7.6.3 2024-01-03 14:52:37 +00:00 octicon-file-diff(16/) octicon-file-code(16/)
ionitron
bfd497f825 chore(): update package lock files 2023-12-19 14:45:31 +00:00 octicon-file-diff(16/) octicon-file-code(16/)
ionitron
8d841b4225 v7.6.2 2023-12-19 14:45:17 +00:00 octicon-file-diff(16/) octicon-file-code(16/)
Liam DeBeasi
7cec5337a4 chore: sync 2023-12-18 10:46:20 -05:00 octicon-file-diff(16/) octicon-file-code(16/)
Liam DeBeasi
cd5c099dd3 feat(picker): add inline picker (#28689)
Issue number: resolves #24905, resolves #26840, resolves #15710

---------

<!-- 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 current picker is only displayed as an overlay which makes it
impossible to use inline with the rest of the application. Additionally,
there are several bugs and missing features. For example, it is
impossible to know when the value of the picker column has changed using
public APIs. This is valuable for updating other columns in response to
that data.

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

- Introduces `ion-picker` as an inline wheel picker component. The
overlay picker is still available using `ion-picker-legacy`.
- The implementation of this component resolves linked bugs. It also
resolves linked features by exposing an `ionChange` event for developers
to listen for.

## 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.5.8-dev.11702398696.1ab62ea9`

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: Shawn Taylor <shawn@ionic.io>
Co-authored-by: Maria Hutt <thetaPC@users.noreply.github.com>
Co-authored-by: Amanda Johnston <90629384+amandaejohnston@users.noreply.github.com>
Co-authored-by: Sean Perkins <13732623+sean-perkins@users.noreply.github.com>
Co-authored-by: Brandy Carney <brandyscarney@users.noreply.github.com>
2023-12-13 13:03:58 -05:00 octicon-file-diff(16/) octicon-file-code(16/)
Liam DeBeasi
f6531fa2be chore: bump package-lock 2023-12-13 09:31:00 -05:00 octicon-file-diff(16/) octicon-file-code(16/)
ionitron
150ea1a8ad v7.6.1 2023-12-13 14:27:51 +00:00 octicon-file-diff(16/) octicon-file-code(16/)
Sean Perkins
92f1b8627a fix(react): avoid type collision with @types/react@18.2.43 and greater (#28687)
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. -->

Ionic React projects using `@types/react@18.2.43` or greater will run
into a type-check error on build with `IonRouterOutlet` and potentially
other components:

```
Property 'placeholder' is missing in type '{ children: Element[]; }' but required in type 'Pick<IonRouterOutlet & { basePath?: string | undefined; ref?: Ref<any> | undefined; ionPage?: boolean | undefined; } & IonicReactProps & Omit<...>, "color" | ... 254 more ... | "ionPage">'.
```

Definitely typed decided to make a breaking type change in a patch
release:
b954269038


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

- Patches the type to allow for compatibility between React v16, 17 and
18.

## 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. -->

### Testing

1. Create a new Ionic react project with the "list" template.
2. Run `npm run build`
3. Observe: Exception posted above
4. Install the dev-build
5. Run `npm run build`
6. Observe: No exception, build passes
7. You can additionally serve the app to verify no runtime
exceptions/broken behavior.

Dev-build: `7.6.1-dev.11702322681.17e39348`
2023-12-12 22:53:55 +00:00 octicon-file-diff(16/) octicon-file-code(16/)
ionitron
f3799f332b chore(): update package lock files 2023-12-06 15:33:57 +00:00 octicon-file-diff(16/) octicon-file-code(16/)
ionitron
90ce7f00fa v7.6.0 2023-12-06 15:33:45 +00:00 octicon-file-diff(16/) octicon-file-code(16/)
ionitron
5573fde6a2 chore(): update package lock files 2023-12-06 15:04:35 +00:00 octicon-file-diff(16/) octicon-file-code(16/)
ionitron
507d5ee1da v7.5.8 2023-12-06 15:04:23 +00:00 octicon-file-diff(16/) octicon-file-code(16/)
ionitron
2e1261a52c chore(): update package lock files 2023-11-29 15:05:23 +00:00 octicon-file-diff(16/) octicon-file-code(16/)