Skip to content

Commit a18a8ca

Browse files
Merge branch 'master' into 2078-from-scratch
2 parents 87c62d5 + 9d3f496 commit a18a8ca

File tree

13 files changed

+1494
-1181
lines changed

13 files changed

+1494
-1181
lines changed

lerna.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
22
"$schema": "node_modules/lerna/schemas/lerna-schema.json",
3-
"version": "39.5.5",
3+
"version": "39.6.0",
44
"npmClient": "pnpm"
55
}

packages/components/CHANGELOG.md

Lines changed: 72 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,75 @@
1+
# v39.6.0 (Wed Jan 07 2026)
2+
3+
#### 🚀 Enhancement
4+
5+
- Date-picker: fixes icon design on Firefox and adds keyboard navigation [#2093](https://github.com/Infineon/infineon-design-system-stencil/pull/2093) ([@evangeliaPanteliadou](https://github.com/evangeliaPanteliadou) [@tishoyanchev](https://github.com/tishoyanchev))
6+
7+
#### ⚠️ Pushed to `master`
8+
9+
- Update Stencil library version to 39.5.8 (github-actions@github.com)
10+
11+
#### Authors: 3
12+
13+
- Evangelia Panteliadou ([@evangeliaPanteliadou](https://github.com/evangeliaPanteliadou))
14+
- github-actions (github-actions@github.com)
15+
- Tisho Yanchev ([@tishoyanchev](https://github.com/tishoyanchev))
16+
17+
---
18+
19+
# v39.5.8 (Mon Jan 05 2026)
20+
21+
#### 🐛 Bug Fix
22+
23+
- Table: Uses generic data naming [#2144](https://github.com/Infineon/infineon-design-system-stencil/pull/2144) ([@halmleticia](https://github.com/halmleticia) [@tishoyanchev](https://github.com/tishoyanchev))
24+
25+
#### ⚠️ Pushed to `master`
26+
27+
- Update Stencil library version to 39.5.7 (github-actions@github.com)
28+
29+
#### Authors: 3
30+
31+
- [@halmleticia](https://github.com/halmleticia)
32+
- github-actions (github-actions@github.com)
33+
- Tisho Yanchev ([@tishoyanchev](https://github.com/tishoyanchev))
34+
35+
---
36+
37+
# v39.5.7 (Mon Jan 05 2026)
38+
39+
#### 🐛 Bug Fix
40+
41+
- Stepper: removes glitch on error state [#2138](https://github.com/Infineon/infineon-design-system-stencil/pull/2138) ([@halmleticia](https://github.com/halmleticia) [@tishoyanchev](https://github.com/tishoyanchev))
42+
43+
#### ⚠️ Pushed to `master`
44+
45+
- Update Stencil library version to 39.5.6 (github-actions@github.com)
46+
47+
#### Authors: 3
48+
49+
- [@halmleticia](https://github.com/halmleticia)
50+
- github-actions (github-actions@github.com)
51+
- Tisho Yanchev ([@tishoyanchev](https://github.com/tishoyanchev))
52+
53+
---
54+
55+
# v39.5.6 (Mon Jan 05 2026)
56+
57+
#### 🐛 Bug Fix
58+
59+
- Status: changes font weight to 400 from 600 [#2136](https://github.com/Infineon/infineon-design-system-stencil/pull/2136) ([@halmleticia](https://github.com/halmleticia) [@tishoyanchev](https://github.com/tishoyanchev))
60+
61+
#### ⚠️ Pushed to `master`
62+
63+
- Update Stencil library version to 39.5.5 (github-actions@github.com)
64+
65+
#### Authors: 3
66+
67+
- [@halmleticia](https://github.com/halmleticia)
68+
- github-actions (github-actions@github.com)
69+
- Tisho Yanchev ([@tishoyanchev](https://github.com/tishoyanchev))
70+
71+
---
72+
173
# v39.5.5 (Thu Dec 18 2025)
274

375
#### 🐛 Bug Fix

packages/components/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@infineon/infineon-design-system-stencil",
3-
"version": "39.5.5",
3+
"version": "39.6.0",
44
"description": "Infineon Design System - Web Components built with Stencil",
55
"keywords": [
66
"infineon",

packages/components/src/components/date-picker/date-picker.scss

Lines changed: 33 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
margin-left: 4px;
1616

1717
&.error {
18-
color: #CD002F;
18+
color: tokens.$ifxColorRed500;
1919
}
2020
}
2121
}
@@ -48,6 +48,7 @@
4848
}
4949

5050
.date__picker-input {
51+
box-sizing: border-box;
5152
font-family: 'Source Sans 3';
5253
outline: none;
5354
width: 100%;
@@ -57,7 +58,8 @@
5758
height: 100%;
5859

5960
&.firefox__classes {
60-
padding: 8px 16px;
61+
padding: 0px 14px;
62+
box-sizing: border-box;
6163
color: tokens.$ifxColorEngineering400;
6264
font-size: 16px;
6365
text-transform: uppercase;
@@ -163,6 +165,13 @@
163165

164166
&.disabled {
165167
& .icon__wrapper {
168+
background: none;
169+
color: tokens.$ifxColorBaseWhite;
170+
&.firefox__classes {
171+
display: none;
172+
}
173+
}
174+
& .icon__wrapper {
166175
background-color: tokens.$ifxColorEngineering300;
167176
color: tokens.$ifxColorBaseWhite;
168177
}
@@ -183,5 +192,26 @@
183192

184193
& ifx-icon {
185194
vertical-align: middle;
195+
z-index: 1;
186196
}
187-
}
197+
198+
&.firefox__classes {
199+
&:focus-visible::after {
200+
content: '';
201+
position: absolute;
202+
top: -4px;
203+
left: -4px;
204+
right: -4px;
205+
bottom: -4px;
206+
border: 2px solid tokens.$ifxColorOcean500;
207+
border-radius: 15%;
208+
}
209+
210+
&::before {
211+
content: '';
212+
position: absolute;
213+
inset: -4px;
214+
background-color: tokens.$ifxColorBaseWhite;
215+
}
216+
}
217+
}

packages/components/src/components/date-picker/date-picker.tsx

Lines changed: 28 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,13 @@ export class DatePicker {
3939

4040
@Event() ifxDate: EventEmitter;
4141

42+
getInput() {
43+
const input = this.el.shadowRoot.querySelector(
44+
".date__picker-input",
45+
) as HTMLInputElement;
46+
return input;
47+
}
48+
4249
getDate(e) {
4350
const inputValue = e.target.value;
4451
const selectedDate = new Date(inputValue);
@@ -59,9 +66,7 @@ export class DatePicker {
5966
return;
6067
}
6168

62-
const input = this.el.shadowRoot.querySelector(
63-
".date__picker-input",
64-
) as HTMLInputElement;
69+
const input = this.getInput();
6570
input.classList.add("has-value");
6671

6772
//this.internals.setFormValue(selectedDate.toISOString().substring(0,10))
@@ -74,37 +79,34 @@ export class DatePicker {
7479
}
7580
}
7681

77-
handleInputFocusOnIconClick() {
78-
const input = this.el.shadowRoot.querySelector(
79-
".date__picker-input",
80-
) as HTMLInputElement;
81-
if (input) {
82-
input.focus();
82+
handleIconKeyDown(e: KeyboardEvent) {
83+
if (this.disabled) return;
84+
const browserIsFirefox = this.isFirefox();
85+
const input = this.getInput();
86+
if (e.key === "Enter" && browserIsFirefox) {
87+
e.preventDefault();
88+
if (input.showPicker) {
89+
input.showPicker();
90+
}
8391
}
8492
}
8593

86-
getBrowser() {
87-
if (navigator.userAgent.indexOf("Chrome") != -1) {
88-
return "Chrome";
89-
} else if (navigator.userAgent.indexOf("Opera") != -1) {
90-
return "Opera";
91-
} else if (navigator.userAgent.indexOf("MSIE") != -1) {
92-
return "IE";
93-
} else if (navigator.userAgent.indexOf("Firefox") != -1) {
94-
return "Firefox";
95-
} else {
96-
return "unknown";
97-
}
94+
isFirefox() {
95+
const isFirefox = navigator.userAgent.indexOf("Firefox") !== -1;
96+
return isFirefox;
9897
}
9998

10099
setFireFoxClasses() {
101-
const browser = this.getBrowser();
102-
const input = this.el.shadowRoot.querySelector(".date__picker-input");
100+
const browserIsFirefox = this.isFirefox();
101+
const input = this.getInput();
102+
const iconWrapper = this.el.shadowRoot.querySelector(".icon__wrapper");
103103

104-
if (browser === "Firefox") {
104+
if (browserIsFirefox) {
105105
input.classList.add("firefox__classes");
106+
iconWrapper.classList.add("firefox__classes");
106107
} else if (input.classList.contains("firefox__classes")) {
107108
input.classList.remove("firefox__classes");
109+
iconWrapper.classList.remove("firefox__classes");
108110
}
109111
}
110112

@@ -158,8 +160,8 @@ export class DatePicker {
158160
/>
159161
<div
160162
class="icon__wrapper"
161-
role="button"
162-
onClick={() => this.handleInputFocusOnIconClick()}
163+
tabIndex={this.isFirefox() ? 0 : undefined}
164+
onKeyDown={(e) => this.handleIconKeyDown(e as KeyboardEvent)}
163165
>
164166
<ifx-icon icon="calendar16" aria-hidden="true"></ifx-icon>
165167
</div>

packages/components/src/components/footer/footer.stories.ts

Lines changed: 47 additions & 48 deletions
Original file line numberDiff line numberDiff line change
@@ -1,53 +1,52 @@
11
import { icons } from "@infineon/infineon-icons";
22
export default {
3-
title: 'Components/Footer',
4-
tags: ['autodocs'],
5-
args: {
6-
copyrightText: '© 1999 - 2026 Infineon Technologies AG',
7-
href: 'http://infineon.com',
8-
icon: 'home-16',
9-
ariaLabelOfLink: 'Go to Homepage',
10-
},
11-
argTypes: {
12-
copyrightText: {
13-
description: 'Sets the text for the copyright.',
14-
control: 'text',
15-
table: {
16-
category: 'ifx-footer props',
17-
}
18-
},
19-
icon: {
20-
description: 'Sets the icon for the footer.',
21-
options: Object.keys(icons),
22-
control: { type: 'select' },
23-
table: {
24-
category: 'ifx-icon props',
25-
type: {
26-
summary: 'string'
27-
}
28-
}
29-
},
30-
href: {
31-
description: 'Sets the link for the footer.',
32-
control: 'text',
33-
table: {
34-
category: 'ifx-link props',
35-
},
36-
},
37-
ariaLabelOfLink: {
38-
name: 'ariaLabel',
39-
description: 'Sets the aria-label for the link. Enhances accessibility.',
40-
control: 'text',
41-
table: {
42-
category: 'ifx-link props',
43-
type:{
44-
summary: 'Options',
45-
detail: 'Follow us on...'
46-
}
47-
},
48-
},
49-
50-
},
3+
title: "Components/Footer",
4+
tags: ["autodocs"],
5+
args: {
6+
copyrightText: "© 1999 - 2026 Infineon Technologies AG",
7+
href: "http://infineon.com",
8+
icon: "home-16",
9+
ariaLabelOfLink: "Go to Homepage",
10+
},
11+
argTypes: {
12+
copyrightText: {
13+
description: "Sets the text for the copyright.",
14+
control: "text",
15+
table: {
16+
category: "ifx-footer props",
17+
},
18+
},
19+
icon: {
20+
description: "Sets the icon for the footer.",
21+
options: Object.keys(icons),
22+
control: { type: "select" },
23+
table: {
24+
category: "ifx-icon props",
25+
type: {
26+
summary: "string",
27+
},
28+
},
29+
},
30+
href: {
31+
description: "Sets the link for the footer.",
32+
control: "text",
33+
table: {
34+
category: "ifx-link props",
35+
},
36+
},
37+
ariaLabelOfLink: {
38+
name: "ariaLabel",
39+
description: "Sets the aria-label for the link. Enhances accessibility.",
40+
control: "text",
41+
table: {
42+
category: "ifx-link props",
43+
type: {
44+
summary: "Options",
45+
detail: "Follow us on...",
46+
},
47+
},
48+
},
49+
},
5150
};
5251

5352
const DefaultTemplate = (args) => {

packages/components/src/components/status/status.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@
133133
margin: 0;
134134
padding-left: tokens.$ifxSpace50;
135135
font-style: normal;
136-
font-weight: tokens.$ifxFontWeightSemibold;
136+
font-weight: tokens.$ifxFontWeightRegular;
137137
font-size: tokens.$ifxFontSizeM;
138138
line-height: tokens.$ifxLineHeightS;
139139
display: inline;

0 commit comments

Comments
 (0)