Skip to content

chore(git): sync with main #31069

Merged
brandyscarney merged 3 commits into
nextfrom
next-sync
Apr 7, 2026
Merged

chore(git): sync with main #31069
brandyscarney merged 3 commits into
nextfrom
next-sync

Conversation

@os-davidlourenco

Copy link
Copy Markdown
Contributor

Sync next with main

gnbm and others added 3 commits April 3, 2026 18:24
Issue number: resolves resolves 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. -->
In the dark palette, the `--ion-tab-bar-background-focused` CSS token
was not defined.
When a `ion-tab-button` receives focus, the `::after` overlay on
`.button-native` falls back to `get-color-shade(#fff)` → `#e0e0e0` — a
light grey that blends into the dark background and makes the focus
indicator invisible.

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

- `--ion-tab-bar-background-focused` is now defined in the dark palette:
`#252525` for iOS and `#353535` for MD , providing a dark-appropriate
focus indicator.
The same token is added to `high-contrast-dark.scss` with the same
values.
- A screenshot e2e test is added under `tab-button/test/states/` (where
the existing focused-state tests live) using `configs({ palettes:
['dark'] })` and `page.setContent()` with `class="ion-focused"` applied
directly, matching the established pattern for focus-state testing in
this component.


## 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/docs/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. -->
The test triggers keyboard mode (required by `focus-visible.ts`) before
focusing the inner `<a>` element inside the tab button's shadow DOM,
since calling `.focus()` on the host element is a no-op without
`delegatesFocus`.

- [Preview
1](https://ionic-framework-git-fw-6293-ionic1.vercel.app/src/components/tabs/test/basic?ionic:mode=ios&palette=dark)
- [Preview
2](https://ionic-framework-git-fw-6293-ionic1.vercel.app/src/components/tabs/test/basic?ionic:mode=md&palette=dark)

---------

Co-authored-by: ionitron <hi@ionicframework.com>
Co-authored-by: Brandy Smith <brandyscarney@users.noreply.github.com>
Co-authored-by: Brandy Smith <6577830+brandyscarney@users.noreply.github.com>
Issue number: resolves 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?
Currently, the Datepicker keeps all the months visited as selected
instead of only the one that is really selected
On iOS devices, the month picker sometimes doesn't appear since the
`datepicker-ready` class is not added

## What is the new behavior?
Only the selected month appears selected in the month picker
On iOS devices, an additional validation is done to add the
`datepicker-ready` class

## 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/docs/CONTRIBUTING.md#footer
for more information.
-->


## Other information

The
[Basic](https://ionic-framework-7el9b9l3f-ionic1.vercel.app/src/components/datetime/test/basic/?ionic:theme=ionic)
test should be used to test the multiple-month selection case
<!-- Any other information that is important to this PR such as
screenshots of how the component looks before and after the change. -->
@os-davidlourenco os-davidlourenco added the package: core @ionic/core package label Apr 7, 2026
@os-davidlourenco os-davidlourenco requested a review from a team as a code owner April 7, 2026 08:55
@os-davidlourenco os-davidlourenco added the package: angular @ionic/angular package label Apr 7, 2026
@os-davidlourenco os-davidlourenco added package: vue @ionic/vue package package: react @ionic/react package labels Apr 7, 2026
@vercel

vercel Bot commented Apr 7, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
ionic-framework Ready Ready Preview, Comment Apr 7, 2026 8:56am

Request Review

@github-actions github-actions Bot removed package: angular @ionic/angular package package: vue @ionic/vue package package: react @ionic/react package labels Apr 7, 2026
@brandyscarney brandyscarney merged commit 72b7b99 into next Apr 7, 2026
49 checks passed
@brandyscarney brandyscarney deleted the next-sync branch April 7, 2026 15:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

package: core @ionic/core package

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants