Skip to content

Commit 50aba04

Browse files
Merge branch 'next' into ROU-11824
2 parents eefce81 + 07ac3db commit 50aba04

File tree

250 files changed

+2545
-631
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

250 files changed

+2545
-631
lines changed

CHANGELOG.md

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,43 @@
33
All notable changes to this project will be documented in this file.
44
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
55

6+
## [8.5.4](https://github.com/ionic-team/ionic-framework/compare/v8.5.3...v8.5.4) (2025-04-09)
7+
8+
9+
### Bug Fixes
10+
11+
* **config:** properly export LogLevel ([#30335](https://github.com/ionic-team/ionic-framework/issues/30335)) ([835ad52](https://github.com/ionic-team/ionic-framework/commit/835ad52c290a3687dc9e9c6bf4326948a9c3fe0d)), closes [#30255](https://github.com/ionic-team/ionic-framework/issues/30255)
12+
13+
14+
15+
16+
17+
## [8.5.3](https://github.com/ionic-team/ionic-framework/compare/v8.5.2...v8.5.3) (2025-04-02)
18+
19+
20+
### Bug Fixes
21+
22+
* **checkbox:** ensure proper visual selection when navigating via VoiceOver in Safari ([#30300](https://github.com/ionic-team/ionic-framework/issues/30300)) ([bb40a1e](https://github.com/ionic-team/ionic-framework/commit/bb40a1efe71237075db2f3a536eddeb1d7c400fc))
23+
* **overlays:** exclude backdrop-no-scroll class when toast is presented ([#30123](https://github.com/ionic-team/ionic-framework/issues/30123)) ([7f9df7a](https://github.com/ionic-team/ionic-framework/commit/7f9df7a89447e51eec0b1516069a1e0c9c9722e5)), closes [#30112](https://github.com/ionic-team/ionic-framework/issues/30112)
24+
* **segment-view:** prevent vertical scroll while scrolling horizontally ([#30276](https://github.com/ionic-team/ionic-framework/issues/30276)) ([105796f](https://github.com/ionic-team/ionic-framework/commit/105796f6bc8f961f58ecbb101285097cc86891c0)), closes [#30001](https://github.com/ionic-team/ionic-framework/issues/30001)
25+
26+
27+
28+
29+
30+
## [8.5.2](https://github.com/ionic-team/ionic-framework/compare/v8.5.1...v8.5.2) (2025-03-26)
31+
32+
33+
### Bug Fixes
34+
35+
* **datetime:** support typing time values in a 24-hour format ([#30147](https://github.com/ionic-team/ionic-framework/issues/30147)) ([ac6e6a0](https://github.com/ionic-team/ionic-framework/commit/ac6e6a03174263d09ec55c9742a026862a3df444)), closes [#28877](https://github.com/ionic-team/ionic-framework/issues/28877)
36+
* **range:** emit ionInput when value changes ([#30293](https://github.com/ionic-team/ionic-framework/issues/30293)) ([7789bb5](https://github.com/ionic-team/ionic-framework/commit/7789bb59ee5c76074ff4872dc6a50ae2d83df8f5)), closes [#29619](https://github.com/ionic-team/ionic-framework/issues/29619)
37+
* **segment-button:** ensure consistent disabled state for segment-content error handling ([#30288](https://github.com/ionic-team/ionic-framework/issues/30288)) ([1cfa915](https://github.com/ionic-team/ionic-framework/commit/1cfa915e8fe362951c521bce970a9f5f10918ab2))
38+
39+
40+
41+
42+
643
## [8.5.1](https://github.com/ionic-team/ionic-framework/compare/v8.5.0...v8.5.1) (2025-03-19)
744

845

core/CHANGELOG.md

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,43 @@
33
All notable changes to this project will be documented in this file.
44
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
55

6+
## [8.5.4](https://github.com/ionic-team/ionic-framework/compare/v8.5.3...v8.5.4) (2025-04-09)
7+
8+
9+
### Bug Fixes
10+
11+
* **config:** properly export LogLevel ([#30335](https://github.com/ionic-team/ionic-framework/issues/30335)) ([835ad52](https://github.com/ionic-team/ionic-framework/commit/835ad52c290a3687dc9e9c6bf4326948a9c3fe0d)), closes [#30255](https://github.com/ionic-team/ionic-framework/issues/30255)
12+
13+
14+
15+
16+
17+
## [8.5.3](https://github.com/ionic-team/ionic-framework/compare/v8.5.2...v8.5.3) (2025-04-02)
18+
19+
20+
### Bug Fixes
21+
22+
* **checkbox:** ensure proper visual selection when navigating via VoiceOver in Safari ([#30300](https://github.com/ionic-team/ionic-framework/issues/30300)) ([bb40a1e](https://github.com/ionic-team/ionic-framework/commit/bb40a1efe71237075db2f3a536eddeb1d7c400fc))
23+
* **overlays:** exclude backdrop-no-scroll class when toast is presented ([#30123](https://github.com/ionic-team/ionic-framework/issues/30123)) ([7f9df7a](https://github.com/ionic-team/ionic-framework/commit/7f9df7a89447e51eec0b1516069a1e0c9c9722e5)), closes [#30112](https://github.com/ionic-team/ionic-framework/issues/30112)
24+
* **segment-view:** prevent vertical scroll while scrolling horizontally ([#30276](https://github.com/ionic-team/ionic-framework/issues/30276)) ([105796f](https://github.com/ionic-team/ionic-framework/commit/105796f6bc8f961f58ecbb101285097cc86891c0)), closes [#30001](https://github.com/ionic-team/ionic-framework/issues/30001)
25+
26+
27+
28+
29+
30+
## [8.5.2](https://github.com/ionic-team/ionic-framework/compare/v8.5.1...v8.5.2) (2025-03-26)
31+
32+
33+
### Bug Fixes
34+
35+
* **datetime:** support typing time values in a 24-hour format ([#30147](https://github.com/ionic-team/ionic-framework/issues/30147)) ([ac6e6a0](https://github.com/ionic-team/ionic-framework/commit/ac6e6a03174263d09ec55c9742a026862a3df444)), closes [#28877](https://github.com/ionic-team/ionic-framework/issues/28877)
36+
* **range:** emit ionInput when value changes ([#30293](https://github.com/ionic-team/ionic-framework/issues/30293)) ([7789bb5](https://github.com/ionic-team/ionic-framework/commit/7789bb59ee5c76074ff4872dc6a50ae2d83df8f5)), closes [#29619](https://github.com/ionic-team/ionic-framework/issues/29619)
37+
* **segment-button:** ensure consistent disabled state for segment-content error handling ([#30288](https://github.com/ionic-team/ionic-framework/issues/30288)) ([1cfa915](https://github.com/ionic-team/ionic-framework/commit/1cfa915e8fe362951c521bce970a9f5f10918ab2))
38+
39+
40+
41+
42+
643
## [8.5.1](https://github.com/ionic-team/ionic-framework/compare/v8.5.0...v8.5.1) (2025-03-19)
744

845

core/api.txt

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -596,17 +596,23 @@ ion-checkbox,part,supporting-text
596596
ion-chip,shadow
597597
ion-chip,prop,color,"danger" | "dark" | "light" | "medium" | "primary" | "secondary" | "success" | "tertiary" | "warning" | string & Record<never, never> | undefined,undefined,false,true
598598
ion-chip,prop,disabled,boolean,false,false,false
599+
ion-chip,prop,hue,"bold" | "subtle" | undefined,'subtle',false,false
599600
ion-chip,prop,mode,"ios" | "md",undefined,false,false
600601
ion-chip,prop,outline,boolean,false,false,false
601602
ion-chip,prop,shape,"rectangular" | "round" | "soft" | undefined,undefined,false,false
602603
ion-chip,prop,size,"large" | "small" | undefined,undefined,false,false
603604
ion-chip,prop,theme,"ios" | "md" | "ionic",undefined,false,false
605+
ion-chip,css-prop,--background,ionic
604606
ion-chip,css-prop,--background,ios
605607
ion-chip,css-prop,--background,md
608+
ion-chip,css-prop,--border-radius,ionic
606609
ion-chip,css-prop,--border-radius,ios
607610
ion-chip,css-prop,--border-radius,md
611+
ion-chip,css-prop,--color,ionic
608612
ion-chip,css-prop,--color,ios
609613
ion-chip,css-prop,--color,md
614+
ion-chip,css-prop,--focus-ring-color,ionic
615+
ion-chip,css-prop,--focus-ring-width,ionic
610616

611617
ion-col,shadow
612618
ion-col,prop,mode,"ios" | "md",undefined,false,false
@@ -1184,6 +1190,7 @@ ion-item-option,prop,disabled,boolean,false,false,false
11841190
ion-item-option,prop,download,string | undefined,undefined,false,false
11851191
ion-item-option,prop,expandable,boolean,false,false,false
11861192
ion-item-option,prop,href,string | undefined,undefined,false,false
1193+
ion-item-option,prop,hue,"bold" | "subtle" | undefined,'subtle',false,false
11871194
ion-item-option,prop,mode,"ios" | "md",undefined,false,false
11881195
ion-item-option,prop,rel,string | undefined,undefined,false,false
11891196
ion-item-option,prop,shape,"rectangular" | "round" | "soft" | undefined,undefined,false,false
@@ -2429,6 +2436,7 @@ ion-toast,prop,duration,number,config.getNumber('toastDuration', 0),false,false
24292436
ion-toast,prop,enterAnimation,((baseEl: any, opts?: any) => Animation) | undefined,undefined,false,false
24302437
ion-toast,prop,header,string | undefined,undefined,false,false
24312438
ion-toast,prop,htmlAttributes,undefined | { [key: string]: any; },undefined,false,false
2439+
ion-toast,prop,hue,"bold" | "subtle" | undefined,'subtle',false,false
24322440
ion-toast,prop,icon,string | undefined,undefined,false,false
24332441
ion-toast,prop,isOpen,boolean,false,false,false
24342442
ion-toast,prop,keyboardClose,boolean,false,false,false

core/package-lock.json

Lines changed: 17 additions & 17 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

core/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@ionic/core",
3-
"version": "8.5.1",
3+
"version": "8.5.4",
44
"description": "Base components for Ionic",
55
"keywords": [
66
"ionic",
@@ -45,7 +45,7 @@
4545
"@clack/prompts": "^0.10.0",
4646
"@ionic/eslint-config": "^0.3.0",
4747
"@ionic/prettier-config": "^2.0.0",
48-
"@playwright/test": "^1.51.0",
48+
"@playwright/test": "^1.51.1",
4949
"@rollup/plugin-node-resolve": "^8.4.0",
5050
"@rollup/plugin-virtual": "^2.0.3",
5151
"@stencil/angular-output-target": "^0.10.0",

core/src/components.d.ts

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -807,6 +807,10 @@ export namespace Components {
807807
* If `true`, the user cannot interact with the chip.
808808
*/
809809
"disabled": boolean;
810+
/**
811+
* Set to `"bold"` for a chip with vibrant, bold colors or to `"subtle"` for a chip with muted, subtle colors. Only applies to the `ionic` theme.
812+
*/
813+
"hue"?: 'bold' | 'subtle';
810814
/**
811815
* The mode determines the platform behaviors of the component.
812816
*/
@@ -1700,6 +1704,10 @@ export namespace Components {
17001704
* Contains a URL or a URL fragment that the hyperlink points to. If this property is set, an anchor tag will be rendered.
17011705
*/
17021706
"href": string | undefined;
1707+
/**
1708+
* Set to `"bold"` for an option with vibrant, bold colors or to `"subtle"` for an option with muted, subtle colors. Only applies to the `ionic` theme.
1709+
*/
1710+
"hue"?: 'bold' | 'subtle';
17031711
/**
17041712
* The mode determines the platform behaviors of the component.
17051713
*/
@@ -3836,6 +3844,10 @@ export namespace Components {
38363844
* Additional attributes to pass to the toast.
38373845
*/
38383846
"htmlAttributes"?: { [key: string]: any };
3847+
/**
3848+
* Set to `"bold"` for a toast with vibrant, bold colors or to `"subtle"` for a toast with muted, subtle colors. Only applies to the `ionic` theme.
3849+
*/
3850+
"hue"?: 'bold' | 'subtle';
38393851
/**
38403852
* The name of the icon to display, or the path to a valid SVG file. See `ion-icon`. https://ionic.io/ionicons
38413853
*/
@@ -6287,6 +6299,10 @@ declare namespace LocalJSX {
62876299
* If `true`, the user cannot interact with the chip.
62886300
*/
62896301
"disabled"?: boolean;
6302+
/**
6303+
* Set to `"bold"` for a chip with vibrant, bold colors or to `"subtle"` for a chip with muted, subtle colors. Only applies to the `ionic` theme.
6304+
*/
6305+
"hue"?: 'bold' | 'subtle';
62906306
/**
62916307
* The mode determines the platform behaviors of the component.
62926308
*/
@@ -7196,6 +7212,10 @@ declare namespace LocalJSX {
71967212
* Contains a URL or a URL fragment that the hyperlink points to. If this property is set, an anchor tag will be rendered.
71977213
*/
71987214
"href"?: string | undefined;
7215+
/**
7216+
* Set to `"bold"` for an option with vibrant, bold colors or to `"subtle"` for an option with muted, subtle colors. Only applies to the `ionic` theme.
7217+
*/
7218+
"hue"?: 'bold' | 'subtle';
71997219
/**
72007220
* The mode determines the platform behaviors of the component.
72017221
*/
@@ -9368,6 +9388,10 @@ declare namespace LocalJSX {
93689388
* Additional attributes to pass to the toast.
93699389
*/
93709390
"htmlAttributes"?: { [key: string]: any };
9391+
/**
9392+
* Set to `"bold"` for a toast with vibrant, bold colors or to `"subtle"` for a toast with muted, subtle colors. Only applies to the `ionic` theme.
9393+
*/
9394+
"hue"?: 'bold' | 'subtle';
93719395
/**
93729396
* The name of the icon to display, or the path to a valid SVG file. See `ion-icon`. https://ionic.io/ionicons
93739397
*/

core/src/components/button/button.common.scss

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@
9696
:host(.button-clear) {
9797
--border-width: 0;
9898
--background: transparent;
99-
--color: #{ion-color(primary, base)};
99+
--color: #{ion-color(primary, foreground)};
100100
}
101101

102102
// Block Button
@@ -289,7 +289,7 @@ ion-ripple-effect {
289289
// Clear Button with Color
290290
:host(.button-clear.ion-color) .button-native {
291291
background: transparent;
292-
color: current-color(base);
292+
color: current-color(foreground);
293293
}
294294

295295
// Button in Toolbar

core/src/components/button/button.ionic.scss

Lines changed: 18 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -44,10 +44,9 @@
4444

4545
:host(.button-solid) {
4646
--background-activated: #{globals.ion-color(primary, shade)};
47-
--background-hover: #{globals.ion-color(primary, contrast)};
48-
--background-focused: #{globals.ion-color(primary, contrast)};
49-
--background-focused-opacity: 0.24;
50-
--background-hover-opacity: 0.08;
47+
--background-hover: #{globals.ion-color(primary, shade)};
48+
--background-focused: transparent;
49+
--background-hover-opacity: 1;
5150
--ripple-opacity: var(--background-activated-opacity, 1);
5251
--ripple-color: var(--background-activated);
5352
}
@@ -58,10 +57,10 @@
5857
:host(.button-outline) {
5958
--border-width: #{globals.$ion-border-size-025};
6059
--border-style: #{globals.$ion-border-style-solid};
61-
--background-activated: #{globals.$ion-primitives-neutral-200};
60+
--background-activated: #{globals.$ion-bg-neutral-subtlest-press};
6261
--background-focused: transparent;
63-
--background-hover: #{globals.ion-color(primary, base)};
64-
--background-hover-opacity: 0.04;
62+
--background-hover: #{globals.$ion-bg-neutral-subtlest-press};
63+
--background-hover-opacity: 1;
6564
--ripple-opacity: var(--background-activated-opacity, 1);
6665
--ripple-color: var(--background-activated);
6766
}
@@ -70,10 +69,10 @@
7069
// --------------------------------------------------
7170

7271
:host(.button-clear) {
73-
--background-activated: #{globals.$ion-primitives-neutral-200};
72+
--background-activated: #{globals.$ion-bg-neutral-subtlest-press};
7473
--background-focused: transparent;
75-
--background-hover: #{globals.ion-color(primary, base)};
76-
--background-hover-opacity: 0.04;
74+
--background-hover: #{globals.$ion-bg-neutral-subtlest-press};
75+
--background-hover-opacity: 1;
7776
--ripple-opacity: var(--background-activated-opacity, 1);
7877
--ripple-color: var(--background-activated);
7978
}
@@ -217,16 +216,6 @@
217216
outline-offset: globals.$ion-border-size-050;
218217
}
219218

220-
/**
221-
* Only allow overriding of opacity here
222-
* as developers should not be overriding
223-
* colors when using the color prop.
224-
*/
225-
226-
:host(.button-solid.ion-color.ion-focused) .button-native::after {
227-
background: globals.current-color(contrast);
228-
}
229-
230219
// Button: Activated
231220
// --------------------------------------------------
232221

@@ -239,6 +228,15 @@
239228
background: transparent;
240229
}
241230

231+
// Button: Hover
232+
// --------------------------------------------------
233+
234+
@media (any-hover: hover) {
235+
:host(.button-solid.ion-color:hover) .button-native::after {
236+
background: globals.current-color(shade);
237+
}
238+
}
239+
242240
// Button: Disabled
243241
// --------------------------------------------------
244242

-11 KB
Loading
-6.23 KB
Loading

0 commit comments

Comments
 (0)