Skip to content

Commit bcb49c3

Browse files
committed
Merge branch 'master' of https://github.com/IgniteUI/igniteui-webcomponents into dmdimitrov/chat-ai-component
2 parents 7976d72 + 23759ff commit bcb49c3

37 files changed

+1837
-1414
lines changed

CHANGELOG.md

Lines changed: 18 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,27 @@ 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-
## [Unreleased]
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+
812
### Fixed
13+
- #### Calendar
14+
- Vertical mode container paddings [#1775](https://github.com/IgniteUI/igniteui-webcomponents/pull/1775)
915
- #### Carousel
1016
- Pause automatic rotation on pointer-initiated focus [#1731](https://github.com/IgniteUI/igniteui-webcomponents/issues/1731)
1117
- 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)
1228

1329
## [6.1.1] - 2025-06-25
1430
### Fixed
@@ -937,6 +953,7 @@ Initial release of Ignite UI Web Components
937953
- Ripple component
938954
- Switch component
939955

956+
[6.1.2]: https://github.com/IgniteUI/igniteui-webcomponents/compare/6.1.1...6.1.2
940957
[6.1.1]: https://github.com/IgniteUI/igniteui-webcomponents/compare/6.1.0...6.1.1
941958
[6.1.0]: https://github.com/IgniteUI/igniteui-webcomponents/compare/6.0.1...6.1.0
942959
[6.0.1]: https://github.com/IgniteUI/igniteui-webcomponents/compare/6.0.0...6.0.1

package-lock.json

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

package.json

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -53,9 +53,9 @@
5353
},
5454
"dependencies": {
5555
"@floating-ui/dom": "^1.7.2",
56-
"@lit-labs/virtualizer": "^2.1.0",
57-
"@lit/context": "^1.1.5",
58-
"lit": "^3.3.0"
56+
"@lit-labs/virtualizer": "^2.1.1",
57+
"@lit/context": "^1.1.6",
58+
"lit": "^3.3.1"
5959
},
6060
"devDependencies": {
6161
"@biomejs/biome": "~2.1.1",
@@ -79,13 +79,13 @@
7979
"globby": "^14.1.0",
8080
"husky": "^9.1.7",
8181
"ig-typedoc-theme": "^6.2.2",
82-
"igniteui-theming": "^19.1.1",
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.2",
88+
"playwright": "^1.54.1",
8989
"postcss": "^8.5.6",
9090
"prettier": "^3.6.2",
9191
"rimraf": "^6.0.1",
@@ -101,7 +101,7 @@
101101
"typedoc": "~0.27.9",
102102
"typedoc-plugin-localization": "^3.0.6",
103103
"typescript": "^5.8.3",
104-
"vite": "^7.0.3"
104+
"vite": "^7.0.4"
105105
},
106106
"peerDependencies": {
107107
"@google/genai": "^1.3.0",

src/components/carousel/carousel-indicator.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ export default class IgcCarouselIndicatorComponent extends LitElement {
3535
});
3636

3737
@consume({ context: carouselContext, subscribe: true })
38-
private _carousel?: IgcCarouselComponent;
38+
private readonly _carousel?: IgcCarouselComponent;
3939

4040
protected get _labelFormat(): string {
4141
return this._carousel ? this._carousel.indicatorsLabelFormat : '';

src/components/carousel/carousel-slide.ts

Lines changed: 19 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,13 @@ import { addAnimationController } from '../../animations/player.js';
66
import { carouselContext } from '../common/context.js';
77
import { addInternalsController } from '../common/controllers/internals.js';
88
import { registerComponent } from '../common/definitions/register.js';
9-
import { createCounter, formatString } from '../common/util.js';
9+
import { formatString } from '../common/util.js';
1010
import { animations } from './animations.js';
1111
import type IgcCarouselComponent from './carousel.js';
1212
import { styles } from './themes/carousel-slide.base.css.js';
1313

14+
let nextId = 1;
15+
1416
/**
1517
* A single content container within a set of containers used in the context of an `igc-carousel`.
1618
*
@@ -27,25 +29,23 @@ export default class IgcCarouselSlideComponent extends LitElement {
2729
registerComponent(IgcCarouselSlideComponent);
2830
}
2931

30-
private static readonly increment = createCounter();
31-
3232
private readonly _internals = addInternalsController(this, {
3333
initialARIA: {
3434
role: 'tabpanel',
3535
ariaRoleDescription: 'slide',
3636
},
3737
});
3838

39-
private readonly _animationPlayer = addAnimationController(this);
39+
private readonly _player = addAnimationController(this);
4040

4141
@consume({ context: carouselContext, subscribe: true })
42-
private _carousel?: IgcCarouselComponent;
42+
private readonly _carousel?: IgcCarouselComponent;
4343

44-
protected get _index() {
44+
protected get _index(): number {
4545
return this._carousel ? this._carousel.slides.indexOf(this) : 0;
4646
}
4747

48-
protected get _total() {
48+
protected get _total(): number {
4949
return this._carousel ? this._carousel.slides.length : 0;
5050
}
5151

@@ -59,7 +59,7 @@ export default class IgcCarouselSlideComponent extends LitElement {
5959
return animation;
6060
}
6161

62-
protected get _labelFormat() {
62+
protected get _labelFormat(): string {
6363
return this._carousel ? this._carousel.slidesLabelFormat : '';
6464
}
6565

@@ -81,21 +81,16 @@ export default class IgcCarouselSlideComponent extends LitElement {
8181
public async toggleAnimation(
8282
type: 'in' | 'out',
8383
direction: 'normal' | 'reverse' = 'normal'
84-
) {
84+
): Promise<boolean> {
8585
const animation = animations.get(this._animation)!.get(type)!;
8686

87-
const options: KeyframeAnimationOptions = {
88-
duration: 320,
89-
easing: EaseInOut.Quad,
90-
direction,
91-
};
92-
93-
const [_, event] = await Promise.all([
94-
this._animationPlayer.stopAll(),
95-
this._animationPlayer.play(animation(options)),
96-
]);
97-
98-
return event.type === 'finish';
87+
return await this._player.playExclusive(
88+
animation({
89+
duration: 320,
90+
easing: EaseInOut.Quad,
91+
direction,
92+
})
93+
);
9994
}
10095

10196
protected override willUpdate(): void {
@@ -104,15 +99,14 @@ export default class IgcCarouselSlideComponent extends LitElement {
10499
});
105100
}
106101

102+
/** @internal */
107103
public override connectedCallback(): void {
108104
super.connectedCallback();
109-
110-
this.id =
111-
this.id || `igc-carousel-slide-${IgcCarouselSlideComponent.increment()}`;
105+
this.id = this.id || `igc-carousel-slide-${nextId++}`;
112106
}
113107

114108
protected override render() {
115-
return html` <slot></slot> `;
109+
return html`<slot></slot>`;
116110
}
117111
}
118112

0 commit comments

Comments
 (0)