File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -5,9 +5,29 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/)
55and this project adheres to [ Semantic Versioning] ( http://semver.org/ ) .
66
77## [ Unreleased]
8- ### Breaking Changes
9- - #### Themes
10- - Changed global prefixes for CSS custom properties for component themes to be better aligned with other Ignite UI component frameworks.
8+ ### Added
9+ - #### Chat
10+ - ** adoptRootStyles** can now be toggled on/off at runtime. [ #2093 ] ( https://github.com/IgniteUI/igniteui-webcomponents/pull/2093 )
11+
12+ ### Changed
13+ - #### Library
14+ - Minimum Node version required is now >= 22.
15+ - #### Themes - ** Breaking change**
16+ - Changed global prefixes for CSS custom properties for component themes to align with other Ignite UI component libraries.
17+
18+ ### Fixed
19+ - #### Carousel
20+ - Context instantiation in Blazor. [ #2033 ] ( https://github.com/IgniteUI/igniteui-webcomponents/pull/2033 )
21+ - #### Combo
22+ - Correct cursor style over non input parts. [ #2085 ] ( https://github.com/IgniteUI/igniteui-webcomponents/pull/2085 )
23+ - #### Textarea
24+ - Correct cursor style over non input parts. [ #2085 ] ( https://github.com/IgniteUI/igniteui-webcomponents/pull/2085 )
25+
26+ ### Removed
27+ - #### Chat
28+ - Removed the ** typingIndicator** template renderer. Users can use the ** typing-indicator** slot instead.
29+ - #### Tooltip
30+ - Removed the ** disableArrow** deprecated property.
1131
1232## [ 6.5.1] - 2026-02-04
1333### Fixed
Original file line number Diff line number Diff line change 2626 "url" : " https://github.com/IgniteUI/igniteui-webcomponents/issues"
2727 },
2828 "engines" : {
29- "node" : " >=20 "
29+ "node" : " >=22 "
3030 },
3131 "keywords" : [
3232 " webcomponents" ,
Original file line number Diff line number Diff line change @@ -567,16 +567,21 @@ describe('Chat', () => {
567567 } ) ;
568568
569569 it ( 'should render custom typingIndicator' , async ( ) => {
570+ const indicator = document . createElement ( 'span' ) ;
571+ indicator . slot = 'typing-indicator' ;
572+ indicator . innerText = 'loading...' ;
573+ chat . appendChild ( indicator ) ;
574+
570575 chat . messages = [ messages [ 0 ] ] ;
571- chat . options = {
572- isTyping : true ,
573- renderers : {
574- typingIndicator : ( ) => html `< span > loading...</ span > ` ,
575- } ,
576- } ;
576+ chat . options = { isTyping : true } ;
577577 await elementUpdated ( chat ) ;
578578
579- expect ( getChatDOM ( chat ) . typingIndicator . innerText ) . to . equal ( 'loading...' ) ;
579+ const typingIndicator = getChatDOM ( chat ) . typingIndicator ;
580+ const assignedElements = typingIndicator
581+ ?. querySelector ( 'slot' )
582+ ?. assignedElements ( ) ;
583+
584+ expect ( first ( assignedElements ! ) . textContent ) . to . equal ( 'loading...' ) ;
580585 } ) ;
581586
582587 it ( 'should render text area templates' , async ( ) => {
Original file line number Diff line number Diff line change @@ -32,7 +32,6 @@ import type {
3232} from './types.js' ;
3333
3434type DefaultChatRenderers = {
35- typingIndicator : ChatTemplateRenderer < ChatRenderContext > ;
3635 suggestionPrefix : ChatTemplateRenderer < ChatRenderContext > ;
3736} ;
3837
@@ -212,7 +211,6 @@ export default class IgcChatComponent extends EventEmitterMixin<
212211 ) ;
213212
214213 private readonly _defaults = Object . freeze < DefaultChatRenderers > ( {
215- typingIndicator : ( ) => this . _renderLoadingTemplate ( ) ,
216214 suggestionPrefix : ( ) => this . _renderSuggestionPrefix ( ) ,
217215 } ) ;
218216
@@ -380,8 +378,6 @@ export default class IgcChatComponent extends EventEmitterMixin<
380378 }
381379
382380 private _renderMessages ( ) {
383- const ctx = { instance : this } ;
384-
385381 return html `
386382 < div part ="message-list " tabindex ="0 ">
387383 ${ repeat (
@@ -416,7 +412,7 @@ export default class IgcChatComponent extends EventEmitterMixin<
416412 ? html `
417413 < div part ="typing-indicator ">
418414 < slot name ="typing-indicator "
419- > ${ this . _getRenderer ( 'typingIndicator' ) ( ctx ) } </ slot
415+ > ${ this . _renderLoadingTemplate ( ) } </ slot
420416 >
421417 </ div >
422418 `
Original file line number Diff line number Diff line change @@ -230,12 +230,6 @@ export interface ChatRenderers {
230230 * Custom renderer for the header of a message, including sender and timestamp.
231231 */
232232 messageHeader ?: ChatTemplateRenderer < ChatMessageRenderContext > ;
233- /**
234- * Custom renderer for the "is typing" indicator.
235- *
236- * @deprecated since 6.4.0. Use the `typing-indicator` slot.
237- */
238- typingIndicator ?: ChatTemplateRenderer < ChatRenderContext > ;
239233 /**
240234 * Custom renderer for the message send button.
241235 */
Original file line number Diff line number Diff line change @@ -75,7 +75,6 @@ describe('Tooltip', () => {
7575 it ( 'is correctly initialized with its default component state' , ( ) => {
7676 expect ( tooltip . dir ) . to . be . empty ;
7777 expect ( tooltip . open ) . to . be . false ;
78- expect ( tooltip . disableArrow ) . to . be . true ;
7978 expect ( tooltip . withArrow ) . to . be . false ;
8079 expect ( tooltip . offset ) . to . equal ( 6 ) ;
8180 expect ( tooltip . placement ) . to . equal ( 'bottom' ) ;
Original file line number Diff line number Diff line change @@ -85,7 +85,9 @@ export default class IgcTooltipComponent extends EventEmitterMixin<
8585
8686 private readonly _containerRef = createRef < HTMLElement > ( ) ;
8787 private readonly _player = addAnimationController ( this , this . _containerRef ) ;
88- private readonly _slots = addSlotController ( this , { slots : setSlots ( ) } ) ;
88+ private readonly _slots = addSlotController ( this , {
89+ slots : setSlots ( 'close-button' ) ,
90+ } ) ;
8991
9092 private readonly _showAnimation = scaleInCenter ( {
9193 duration : 150 ,
@@ -146,25 +148,6 @@ export default class IgcTooltipComponent extends EventEmitterMixin<
146148 return this . _controller . open ;
147149 }
148150
149- /**
150- * Whether to disable the rendering of the arrow indicator for the tooltip.
151- *
152- * @deprecated since 6.1.0. Use `with-arrow` to control the behavior of the tooltip arrow.
153- * @attr disable-arrow
154- * @default false
155- */
156- @property ( { type : Boolean , attribute : 'disable-arrow' } )
157- public set disableArrow ( value : boolean ) {
158- this . withArrow = ! value ;
159- }
160-
161- /**
162- * @deprecated since 6.1.0. Use `with-arrow` to control the behavior of the tooltip arrow.
163- */
164- public get disableArrow ( ) : boolean {
165- return ! this . withArrow ;
166- }
167-
168151 /**
169152 * Whether to render an arrow indicator for the tooltip.
170153 *
You can’t perform that action at this time.
0 commit comments