Skip to content

Commit da0637b

Browse files
authored
Merge branch 'master' into didimmova/fix-switch-thumb-hover
2 parents 22cb88e + ee9a4d3 commit da0637b

File tree

9 files changed

+329
-149
lines changed

9 files changed

+329
-149
lines changed

.github/ISSUE_TEMPLATE/bug_report.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ body:
2525
- Combo
2626
- Date-time input
2727
- Date picker
28+
- Date range picker
2829
- Dialog
2930
- Dropdown
3031
- Expansion panel

CHANGELOG.md

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,37 @@ 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.2.0] - 2025-08-04
8+
### Added
9+
- Form associated custom elements now expose the **ig-invalid** custom state for styling with the `:state()` CSS selector.
10+
[See here for additional information](https://developer.mozilla.org/en-US/docs/Web/CSS/:state)
11+
12+
### Changed
13+
- Form associated custom elements validity behavior. Now elements will try to mimic `:user-invalid`, and won't apply invalid
14+
styles unless interacted through the UI or through a form `requestSubmit()/reset()` invocation.
15+
16+
### Fixed
17+
- #### All igc-input based components
18+
- Invalid state in **readonly** mode [#1786](https://github.com/IgniteUI/igniteui-webcomponents/pull/1786)
19+
- Cannot style **helper-text** parts [#1786](https://github.com/IgniteUI/igniteui-webcomponents/pull/1786)
20+
- #### Card
21+
- Slotted igc-avatar in Indigo theme [#1795](https://github.com/IgniteUI/igniteui-webcomponents/pull/1795)
22+
- #### Combo
23+
- Border overlaps label text in invalid state [#1786](https://github.com/IgniteUI/igniteui-webcomponents/pull/1786)
24+
- #### Date picker
25+
- Indigo elevation styles [#1799](https://github.com/IgniteUI/igniteui-webcomponents/pull/1799)
26+
- #### Date range picker
27+
- Return focus to main input on keyboard interactions [#1783](https://github.com/IgniteUI/igniteui-webcomponents/pull/1783)
28+
- #### Input
29+
- Placeholder and label alignment in Material theme [#1792](https://github.com/IgniteUI/igniteui-webcomponents/pull/1792)
30+
- #### Navigation drawer
31+
- Update *relative* positions styles and animation [#1806](https://github.com/IgniteUI/igniteui-webcomponents/pull/1806)
32+
- #### Select
33+
- Invalid state theming issues [#1786](https://github.com/IgniteUI/igniteui-webcomponents/pull/1786)
34+
- #### Textarea
35+
- Material theme interaction issues [#1797](https://github.com/IgniteUI/igniteui-webcomponents/pull/1797)
36+
- Resizing behavior with suffix part [#1797](https://github.com/IgniteUI/igniteui-webcomponents/pull/1797)
37+
738
## [6.1.2] - 2025-07-14
839
### Added
940
- #### File input
@@ -953,6 +984,7 @@ Initial release of Ignite UI Web Components
953984
- Ripple component
954985
- Switch component
955986

987+
[6.2.0]: https://github.com/IgniteUI/igniteui-webcomponents/compare/6.1.2...6.2.0
956988
[6.1.2]: https://github.com/IgniteUI/igniteui-webcomponents/compare/6.1.1...6.1.2
957989
[6.1.1]: https://github.com/IgniteUI/igniteui-webcomponents/compare/6.1.0...6.1.1
958990
[6.1.0]: https://github.com/IgniteUI/igniteui-webcomponents/compare/6.0.1...6.1.0

README.md

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
[![npm version](https://badge.fury.io/js/igniteui-webcomponents.svg)](https://badge.fury.io/js/igniteui-webcomponents)
1010
[![Discord](https://img.shields.io/discord/836634487483269200?logo=discord&logoColor=ffffff)](https://discord.gg/39MjrTRqds)
1111

12-
[Ignite UI for Web Components] is a complete library of UI components, giving you the ability to build modern web applications using encapsulation and the concept of reusable components in a dependency-free approach. All components are based on the [Indigo.Design Design System] and are backed by ready-to-use UI kit for Figma.
12+
[Ignite UI for Web Components] is a comprehensive library that includes the fastest [Data Grid] on the market, a high-performing [Hierarchical Grid], Pivot Grid, 60+ data [Charts], [Dock Manager], and more. Plus maps, gauges and other reusable feature-rich components to help you create better web apps and modern-day UX experiences.
1313

1414
See the [Storybook Here](https://igniteui.github.io/igniteui-webcomponents)
1515

@@ -21,8 +21,12 @@ See the [Storybook Here](https://igniteui.github.io/igniteui-webcomponents)
2121

2222
## Overview
2323

24+
<details open>
25+
<summary>Components</summary>
26+
2427
| Components | Status | Documentation | Released Version |
2528
| :---------------------- | :----: | :----------------------------: | :--------------: |
29+
| Date Range Picker || [Docs][Date Range Picker Docs] | [6.1.0] |
2630
| Tooltip || [Docs][Tooltip Docs] | [5.4.0] |
2731
| File Input || [Docs][File Input Docs] | [5.4.0] |
2832
| Tile Manager || [Docs][Tile Manager Docs] | [5.3.0] |
@@ -69,6 +73,8 @@ See the [Storybook Here](https://igniteui.github.io/igniteui-webcomponents)
6973
| Ripple || [Docs][Ripple Docs] | [1.0.0] |
7074
| Switch || [Docs][Switch Docs] | [1.0.0] |
7175

76+
</details>
77+
7278
## Components available in [Ignite UI for WebComponents Grids]
7379

7480
| Components | Status | Documentation |
@@ -198,6 +204,10 @@ npm run storybook:build
198204
[opera_48x48]: https://user-images.githubusercontent.com/2188411/168109520-b6865a6c-b69f-44a4-9948-748d8afd687c.png
199205
[safari_48x48]: https://user-images.githubusercontent.com/2188411/168109527-6c58f2cf-7386-4b97-98b1-cfe0ab4e8626.png
200206
[Contribution Guidelines]: https://github.com/IgniteUI/igniteui-webcomponents/blob/master/.github/CONTRIBUTING.md
207+
[Data Grid]: https://www.infragistics.com/products/ignite-ui-web-components/web-components/components/grids/data-grid
208+
[Hierarchical Grid]: https://www.infragistics.com/webcomponentssite/components/grids/hierarchical-grid/overview
209+
[Charts]: https://www.infragistics.com/products/ignite-ui-web-components/web-components/components/charts/chart-overview
210+
[Dock Manager]: https://www.infragistics.com/products/ignite-ui-web-components/web-components/components/layouts/dock-manager
201211
[Pivot Grid Docs]: https://www.infragistics.com/products/ignite-ui-web-components/web-components/components/grids/pivot-grid/overview
202212
[Data Grid Docs]: https://www.infragistics.com/products/ignite-ui-web-components/web-components/components/grids/grid/overview
203213
[Tree Grid Docs]: https://www.infragistics.com/products/ignite-ui-web-components/web-components/components/grids/tree-grid/overview
@@ -245,6 +255,7 @@ npm run storybook:build
245255
[Tile Manager Docs]: https://www.infragistics.com/products/ignite-ui-web-components/web-components/components/layouts/tile-manager
246256
[File Input Docs]: https://www.infragistics.com/products/ignite-ui-web-components/web-components/components/inputs/file-input
247257
[Tooltip Docs]: https://www.infragistics.com/products/ignite-ui-web-components/web-components/components/inputs/tooltip
258+
[Date Range Picker Docs]: https://www.infragistics.com/products/ignite-ui-web-components/web-components/components/scheduling/date-range-picker
248259
[1.0.0]: https://github.com/IgniteUI/igniteui-webcomponents/releases/tag/1.0.0
249260
[2.0.0]: https://github.com/IgniteUI/igniteui-webcomponents/releases/tag/2.0.0
250261
[2.1.0]: https://github.com/IgniteUI/igniteui-webcomponents/releases/tag/2.1.0
@@ -258,3 +269,4 @@ npm run storybook:build
258269
[5.1.0]: https://github.com/IgniteUI/igniteui-webcomponents/releases/tag/5.1.0
259270
[5.3.0]: https://github.com/IgniteUI/igniteui-webcomponents/releases/tag/5.3.0
260271
[5.4.0]: https://github.com/IgniteUI/igniteui-webcomponents/releases/tag/5.4.0
272+
[6.1.0]: https://github.com/IgniteUI/igniteui-webcomponents/releases/tag/6.1.0

src/components/common/util.ts

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -496,3 +496,10 @@ export function equal<T>(a: unknown, b: T, visited = new WeakSet()): boolean {
496496
export type RequiredProps<T, K extends keyof T> = T & {
497497
[P in K]-?: T[P];
498498
};
499+
500+
export function setStyles(
501+
element: HTMLElement,
502+
styles: Partial<CSSStyleDeclaration>
503+
): void {
504+
Object.assign(element.style, styles);
505+
}

src/components/nav-drawer/themes/container.base.scss

Lines changed: 16 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
inset-block: 0;
2020
z-index: 999;
2121
opacity: 1;
22-
transition: transform ease-out .3s, .3s, opacity ease-out .3s, .3s;
22+
transition: translate ease-out .3s, .3s, opacity ease-out .3s, .3s;
2323
}
2424

2525
[part~='mini'] {
@@ -125,7 +125,7 @@
125125
:host(:not([open])[position='top']),
126126
:host(:not([open])[position='bottom']) {
127127
[part='base'] {
128-
transform: translateY(-60vh);
128+
translate: 0 -60vh;
129129
}
130130

131131
[part='mini'] {
@@ -135,7 +135,7 @@
135135

136136
:host(:not([open])[position='bottom']) {
137137
[part='base'] {
138-
transform: translateY(60vh);
138+
translate: 0 60vh;
139139
}
140140
}
141141

@@ -161,7 +161,7 @@
161161

162162
:host(:not([open])) {
163163
[part='base'] {
164-
transform: translateX(calc(100% * var(--dir)));
164+
translate: calc(100% * var(--dir)) 0;
165165
opacity: 0;
166166
}
167167

@@ -170,3 +170,15 @@
170170
opacity: 0;
171171
}
172172
}
173+
174+
:host([position='relative']:not([open])) {
175+
[part='base'] {
176+
opacity: 1;
177+
overflow: hidden;
178+
}
179+
180+
[part='main'] {
181+
opacity: 0;
182+
}
183+
}
184+

src/components/nav-drawer/themes/shared/container/nav-drawer.common.scss

Lines changed: 14 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,11 +22,23 @@ $background: var-get($theme, 'background') !default;
2222
box-shadow: var-get($theme, 'elevation');
2323
}
2424

25-
[part~='base'],
26-
[part~='mini'] {
25+
:host([position='start']) [part~='base'],
26+
:host([position='start']) [part~='mini'] {
2727
border-inline-end-color: var-get($theme, 'border-color');
2828
}
2929

30+
:host([position='end']) [part~='base'],
31+
:host([position='end']) [part~='mini'] {
32+
border-inline-start-color: var-get($theme, 'border-color');
33+
}
34+
35+
:host([position='relative']) {
36+
[part~='base'],
37+
[part~='mini'] {
38+
border-inline-end-color: var-get($theme, 'border-color');
39+
}
40+
}
41+
3042
:host([open]:not([position='relative'])) {
3143
[part='base'] {
3244
box-shadow: var-get($theme, 'elevation');

src/components/popover/popover.spec.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ async function waitForPaint(popover: IgcPopoverComponent) {
1616
}
1717

1818
function getFloater(popover: IgcPopoverComponent) {
19-
return popover.shadowRoot!.querySelector('#container') as HTMLElement;
19+
return popover.renderRoot.querySelector('#container') as HTMLElement;
2020
}
2121

2222
function togglePopover() {
@@ -173,7 +173,6 @@ describe('Popover', () => {
173173
const root = await fixture<HTMLElement>(createNonSlottedPopover(true));
174174
popover = root.querySelector('igc-popover') as IgcPopoverComponent;
175175
anchor = root.querySelector('#btn') as HTMLButtonElement;
176-
// await waitForPaint(popover);
177176
});
178177

179178
it('should render a component', async () => {

0 commit comments

Comments
 (0)