Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(toolbar): add ionic theme styles #29656

Merged
merged 65 commits into from
Jun 28, 2024
Merged

feat(toolbar): add ionic theme styles #29656

merged 65 commits into from
Jun 28, 2024

Conversation

BenOsodrac
Copy link
Contributor

@BenOsodrac BenOsodrac commented Jun 24, 2024

Issue number: internal


What is the new behavior?

Added ionic theme scss architecture for

  • Toolbar
  • Menu Button
  • Buttons
  • Searchbar
  • Title

For the toolbar, it was decided to follow an approach closer to ios regarding the slots offering and behaviour, as it matches more closely the UX/UI requirements.

  • Added TODO related to z-index task on toolbar an header ionic files.
  • Added new ion-title and ion-toolbar tests for ionic theme.

Does this introduce a breaking change?

  • Yes
  • No

Other information

Toolbar Sample Screen

BenOsodrac and others added 20 commits June 17, 2024 21:54
#29655)

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 new behavior?
<!-- Please describe the behavior or changes that are being added by
this PR. -->

This PR is being merged to ROU-10837 (ion-toolbar) where after a series
of PR's are merged, the final PR will be done to next branch. This was
done as most of these styles only make sense when used together in the
context of the ion-toolbar, but there were a lot of changes that made
sense to split in multiple PR's.

- Added new scss file for Ionic theme.
- Split the files between common and native.

## 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.
-->
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 new behavior?
<!-- Please describe the behavior or changes that are being added by
this PR. -->

This PR is being merged to ROU-10837 (ion-toolbar) where after a series
of PR's are merged, the final PR will be done to next branch. This was
done as most of these styles only make sense when used together in the
context of the ion-toolbar, but there were a lot of changes that made
sense to split in multiple PR's.

- Added new scss file for Ionic theme.
- Split the files between common and native.

## 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.
-->
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 new behavior?
<!-- Please describe the behavior or changes that are being added by
this PR. -->
This PR is being merged to ROU-10837 (ion-toolbar) where after a series
of PR's are merged, the final PR will be done to next branch. This was
done as most of these styles only make sense when used together in the
context of the ion-toolbar, but there were a lot of changes that made
sense to split in multiple PR's.

- Added new scss file for Ionic theme.
- Split the files between common and native.

## 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.
-->
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 new behavior?
<!-- Please describe the behavior or changes that are being added by
this PR. -->

This PR is being merged to ROU-10837 (ion-toolbar) where after a series
of PR's are merged, the final PR will be done to next branch. This was
done as most of these styles only make sense when used together in the
context of the ion-toolbar, but there were a lot of changes that made
sense to split in multiple PR's.

- Added new scss file for Ionic theme.
- Split the files between common and native.
- Added ionic test for basic use-case.

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

[Title Sample
Screen](https://ionic-framework-5r1p09myo-ionic1.vercel.app/src/components/title/test/theme-ionic)
@BenOsodrac BenOsodrac added type: feature request a new feature, enhancement, or improvement package: core @ionic/core package labels Jun 24, 2024
Copy link

vercel bot commented Jun 24, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
ionic-framework ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jun 28, 2024 9:05pm

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Revert the item-sliding snapshots. I recommend using:

git checkout origin/next core/src/components/item-sliding/test/basic/item-sliding.e2e.ts-snapshots/item-sliding-safe-area-*.png core/src/components/item-sliding/test/icons/item-sliding.e2e.ts-snapshots/item-sliding-icons-only-md-rtl-Mobile-Firefox-linux.png

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done, thank you :)

Copy link
Contributor

@thetaPC thetaPC left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@BenOsodrac BenOsodrac merged commit b35ace4 into next Jun 28, 2024
46 checks passed
@BenOsodrac BenOsodrac deleted the ROU-10837 branch June 28, 2024 21:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
package: core @ionic/core package type: feature request a new feature, enhancement, or improvement
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants