Skip to content

Commit 5ee269f

Browse files
committed
Merge branch 'master' into bpachilova/range-editable-date-input
2 parents cb12b8a + f3d9344 commit 5ee269f

File tree

65 files changed

+976
-541
lines changed

Some content is hidden

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

65 files changed

+976
-541
lines changed

CHANGELOG.md

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,28 @@ All notable changes to this project will be documented in this file.
44
The format is based on [Keep a Changelog](http://keepachangelog.com/)
55
and this project adheres to [Semantic Versioning](http://semver.org/).
66

7+
## [6.1.2] - 2025-07-14
8+
### Added
9+
- #### File input
10+
- Exposed CSS variables for styling most of the Shadow DOM parts [#1747](https://github.com/IgniteUI/igniteui-webcomponents/pull/1747)
11+
12+
### Fixed
13+
- #### Calendar
14+
- Vertical mode container paddings [#1775](https://github.com/IgniteUI/igniteui-webcomponents/pull/1775)
15+
- #### Carousel
16+
- Pause automatic rotation on pointer-initiated focus [#1731](https://github.com/IgniteUI/igniteui-webcomponents/issues/1731)
17+
- Ensure `igcSlideChanged` event is emitted when a slide is changed [#1772](https://github.com/IgniteUI/igniteui-webcomponents/issues/1772)
18+
- #### Date picker
19+
- Styling issues [#1765](https://github.com/IgniteUI/igniteui-webcomponents/pull/1765)
20+
- #### Date range picker
21+
- CSS borders and elevation [#1764](https://github.com/IgniteUI/igniteui-webcomponents/pull/1764)
22+
- #### File input
23+
- Bootstrap invalid box-shadow styles [#1747](https://github.com/IgniteUI/igniteui-webcomponents/pull/1747)
24+
- #### Stepper
25+
- Error when setting linear property in deferred rendering scenarios [#1672](https://github.com/IgniteUI/igniteui-webcomponents/pull/1672)
26+
- #### Textarea
27+
- Readonly state styles [#1768](https://github.com/IgniteUI/igniteui-webcomponents/pull/1768)
28+
729
## [6.1.1] - 2025-06-25
830
### Fixed
931
- #### Dropdown
@@ -931,6 +953,7 @@ Initial release of Ignite UI Web Components
931953
- Ripple component
932954
- Switch component
933955

956+
[6.1.2]: https://github.com/IgniteUI/igniteui-webcomponents/compare/6.1.1...6.1.2
934957
[6.1.1]: https://github.com/IgniteUI/igniteui-webcomponents/compare/6.1.0...6.1.1
935958
[6.1.0]: https://github.com/IgniteUI/igniteui-webcomponents/compare/6.0.1...6.1.0
936959
[6.0.1]: https://github.com/IgniteUI/igniteui-webcomponents/compare/6.0.0...6.0.1

package-lock.json

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

package.json

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -52,20 +52,20 @@
5252
"prepare": "husky"
5353
},
5454
"dependencies": {
55-
"@floating-ui/dom": "^1.7.1",
56-
"@lit-labs/virtualizer": "^2.1.0",
57-
"@lit/context": "^1.1.5",
58-
"lit": "^3.3.0"
55+
"@floating-ui/dom": "^1.7.2",
56+
"@lit-labs/virtualizer": "^2.1.1",
57+
"@lit/context": "^1.1.6",
58+
"lit": "^3.3.1"
5959
},
6060
"devDependencies": {
61-
"@biomejs/biome": "~2.0.6",
61+
"@biomejs/biome": "~2.1.1",
6262
"@custom-elements-manifest/analyzer": "^0.10.4",
6363
"@igniteui/material-icons-extended": "^3.1.0",
6464
"@open-wc/testing": "^4.0.0",
65-
"@storybook/addon-a11y": "^9.0.13",
66-
"@storybook/addon-docs": "^9.0.13",
67-
"@storybook/addon-links": "^9.0.13",
68-
"@storybook/web-components-vite": "^9.0.13",
65+
"@storybook/addon-a11y": "^9.0.16",
66+
"@storybook/addon-docs": "^9.0.16",
67+
"@storybook/addon-links": "^9.0.16",
68+
"@storybook/web-components-vite": "^9.0.16",
6969
"@types/mocha": "^10.0.10",
7070
"@web/dev-server-esbuild": "^1.0.4",
7171
"@web/test-runner": "^0.20.2",
@@ -79,20 +79,20 @@
7979
"globby": "^14.1.0",
8080
"husky": "^9.1.7",
8181
"ig-typedoc-theme": "^6.2.2",
82-
"igniteui-theming": "^19.0.0",
82+
"igniteui-theming": "^19.1.2",
8383
"keep-a-changelog": "^2.6.2",
8484
"lint-staged": "^16.1.2",
8585
"lit-analyzer": "^2.0.3",
8686
"madge": "^8.0.0",
8787
"node-watch": "^0.7.4",
88-
"playwright": "^1.53.1",
88+
"playwright": "^1.54.1",
8989
"postcss": "^8.5.6",
9090
"prettier": "^3.6.2",
9191
"rimraf": "^6.0.1",
9292
"sass-embedded": "~1.78.0",
9393
"sinon": "^21.0.0",
94-
"storybook": "^9.0.13",
95-
"stylelint": "^16.21.0",
94+
"storybook": "^9.0.16",
95+
"stylelint": "^16.21.1",
9696
"stylelint-config-standard-scss": "^15.0.1",
9797
"stylelint-prettier": "^5.0.3",
9898
"stylelint-scss": "^6.12.1",
@@ -101,7 +101,7 @@
101101
"typedoc": "~0.27.9",
102102
"typedoc-plugin-localization": "^3.0.6",
103103
"typescript": "^5.8.3",
104-
"vite": "^6.3.5"
104+
"vite": "^7.0.4"
105105
},
106106
"browserslist": [
107107
"defaults"

src/animations/player.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -110,3 +110,5 @@ export function startViewTransition(
110110

111111
return { transition: document.startViewTransition(callback) };
112112
}
113+
114+
export type { AnimationController };

src/components/calendar/calendar-rendering.spec.ts

Lines changed: 4 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -140,19 +140,13 @@ describe('Calendar Rendering', () => {
140140
expect(last.children.item(6)?.part.contains('hidden')).to.be.true;
141141
});
142142

143-
it('should change orientation', async () => {
144-
const dom = getCalendarDOM(calendar);
145-
146-
expect(
147-
getComputedStyle(dom.content).getPropertyValue('flex-direction')
148-
).to.equal('row');
149-
143+
it('should set vertical orientation part', async () => {
150144
calendar.orientation = 'vertical';
151145
await elementUpdated(calendar);
152146

153-
expect(
154-
getComputedStyle(dom.content).getPropertyValue('flex-direction')
155-
).to.equal('column');
147+
const dom = getCalendarDOM(calendar);
148+
expect(dom.content).to.exist;
149+
expect(dom.content.part.contains('content-vertical')).to.be.true;
156150
});
157151

158152
it('successfully enables and disables `hideHeader`', async () => {

src/components/calendar/calendar.ts

Lines changed: 6 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,6 @@ import { html, nothing } from 'lit';
22
import { property, query, queryAll, state } from 'lit/decorators.js';
33
import { choose } from 'lit/directives/choose.js';
44
import { createRef, type Ref, ref } from 'lit/directives/ref.js';
5-
import { styleMap } from 'lit/directives/style-map.js';
6-
75
import { addThemingController } from '../../theming/theming-controller.js';
86
import {
97
addKeybindings,
@@ -74,6 +72,7 @@ export const focusActiveDate = Symbol();
7472
* @csspart header-title - The header title element of the calendar.
7573
* @csspart header-date - The header date element of the calendar.
7674
* @csspart content - The content element which contains the views and navigation elements of the calendar.
75+
* @csspart content-vertical - The content element which contains the views and navigation elements of the calendar in vertical orientation.
7776
* @csspart navigation - The navigation container element of the calendar.
7877
* @csspart months-navigation - The months navigation button element of the calendar.
7978
* @csspart years-navigation - The years navigation button element of the calendar.
@@ -610,7 +609,7 @@ export default class IgcCalendarComponent extends EventEmitterMixin<
610609
@igcActiveDateChange=${this.activeDateChanged}
611610
@igcRangePreviewDateChange=${this.rangePreviewDateChanged}
612611
part="days-view"
613-
exportparts="days-row, label, date-inner, week-number-inner, week-number, date, first, last, selected, inactive, hidden, current, weekend, range, special, disabled, single, preview"
612+
exportparts="days-row, label, date-inner, week-number-inner, week-number, date, first, last, selected, inactive, hidden, current, content-vertical, weekend, range, special, disabled, single, preview"
614613
.active=${this.activeDaysViewIndex === idx}
615614
.activeDate=${date.native}
616615
.disabledDates=${this.disabledDates}
@@ -663,17 +662,14 @@ export default class IgcCalendarComponent extends EventEmitterMixin<
663662
}
664663

665664
protected override render() {
666-
const direction = this._isDayView && this.orientation === 'horizontal';
667-
668-
const styles = {
669-
display: 'flex',
670-
flexGrow: 1,
671-
flexDirection: direction ? 'row' : 'column',
665+
const parts = {
666+
content: true,
667+
'content-vertical': this._isDayView && this.orientation === 'vertical',
672668
};
673669

674670
return html`
675671
${this.renderHeader()}
676-
<div ${ref(this.contentRef)} part="content" style=${styleMap(styles)}>
672+
<div ${ref(this.contentRef)} part=${partMap(parts)}>
677673
${choose(this.activeView, [
678674
['days', () => this.renderDaysView()],
679675
['months', () => this.renderMonthView()],

src/components/calendar/helpers.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ export function getCalendarDOM(element: IgcCalendarComponent) {
7676
},
7777
},
7878
get content() {
79-
return root.querySelector<HTMLElement>('[part="content"]')!;
79+
return root.querySelector<HTMLElement>('[part~="content"]')!;
8080
},
8181
views: {
8282
get days() {

src/components/calendar/themes/calendar.base.scss

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -139,12 +139,18 @@
139139
padding: rem(16px);
140140
}
141141

142-
[part='content'] {
142+
[part~='content'] {
143+
display: flex;
144+
flex-grow: 1;
143145
border-radius: inherit;
144146
border-top-left-radius: 0;
145147
border-top-right-radius: 0;
146148
}
147149

150+
[part~='content-vertical'] {
151+
flex-direction: column;
152+
}
153+
148154
[part='header-date'],
149155
[part='header-title'] {
150156
margin: 0;

src/components/calendar/themes/shared/bootstrap/calendar.bootstrap.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ $theme: $bootstrap;
1313
border-radius: var-get($theme, 'border-radius');
1414
}
1515

16-
:host(igc-calendar:not([orientation='vertical'])) {
16+
[part~='content']:not([part~='content-vertical']) {
1717
[part='days-view-container'] + [part='days-view-container'] {
1818
[part='navigation'],
1919
igc-days-view::part(days-row) {

src/components/calendar/themes/shared/fluent/calendar.fluent.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ $theme: $fluent;
1313
border-radius: var-get($theme, 'border-radius');
1414
}
1515

16-
:host(igc-calendar:not([orientation='vertical'])) {
16+
[part~='content']:not([part~='content-vertical']) {
1717
[part='days-view-container'] + [part='days-view-container'] {
1818
[part='navigation'],
1919
igc-days-view {

0 commit comments

Comments
 (0)