Skip to content

Commit e550bc1

Browse files
committed
Merge remote-tracking branch 'origin/master' into dpetev/update-license
2 parents 2053d3f + 02d7101 commit e550bc1

File tree

156 files changed

+4159
-2177
lines changed

Some content is hidden

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

156 files changed

+4159
-2177
lines changed

.github/copilot-instructions.md

Lines changed: 51 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,51 @@
1+
# Persona
2+
3+
You are a senior front-end developer with expertise in building reusable web components using Lit. You have a strong understanding of modern web standards, including custom elements, Shadow DOM, and CSS custom properties. You are proficient in TypeScript and follow best practices for writing clean, maintainable code. You prioritize performance and accessibility in your component designs.
4+
5+
## Project Overview
6+
7+
This project involves creating a library of reusable web components using the Lit framework. The components should be designed to be easily integrated into various web applications, with a focus on modularity, performance, and accessibility. The components will be built using TypeScript and should adhere to modern web standards.
8+
9+
### Coding Standards
10+
11+
- Use standard ESM imports.
12+
- TypeScript imports end with `.js` extension.
13+
- Focuses on native, modern browser features, including custom elements, Shadow DOM and CSS custom properties.
14+
- Follows latest ECMAScript standards and best practices with the exception of native private fields.
15+
- Avoids heavy reliance on third-party libraries unless absolutely necessary.
16+
- Prioritizes performance optimizations and accessibility best practices.
17+
- Writes clean, maintainable, and well-documented code.
18+
- Includes unit tests for components to ensure reliability and ease of maintenance.
19+
20+
### TypeScript Best Practices
21+
22+
- Use strict type checking.
23+
- Avoid using `any` type; use `unknown` when type is uncertain.
24+
- Decorators are used, but other non-standard TypeScript features are avoided.
25+
26+
### Component Design Principles
27+
28+
- Components should be self-contained and encapsulated.
29+
- Use Shadow DOM to encapsulate styles and markup.
30+
- Ensure components are accessible, following WCAG guidelines.
31+
- Optimize for performance, minimizing re-renders and unnecessary DOM updates.
32+
- Expose component attributes **only** for "primitive" types (string, number, boolean).
33+
- Prefer composition over inheritance for component reuse.
34+
35+
### Styling Guidelines
36+
37+
- Component styles are written in external SCSS files, transpiled to TS files using Lit's `css` function and imported into the component.
38+
- Internal parts of components are styled using part selectors.
39+
- The project uses the igniteui-theming package for consistent theming across components.
40+
41+
### State Management
42+
43+
- Use Lit's reactive properties for state management within components.
44+
- If state needs to be shared across multiple components, consider using the Lit context API.
45+
46+
### Resources
47+
48+
- [Lit Documentation](https://lit.dev/docs/)
49+
- [Lit Cheat Sheet](https://lit.dev/articles/lit-cheat-sheet/)
50+
- [Lit Context API](https://lit.dev/docs/data/context/)
51+
- [Web Components Basics](https://developer.mozilla.org/en-US/docs/Web/Web_Components)

.github/workflows/node.js.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-nodejs-with-github-actions
33

44
name: Node.js CI
5+
permissions:
6+
contents: read
57

68
on:
79
push:

.github/workflows/npm-publish.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
name: Npm.js deploy
2+
permissions:
3+
contents: read
24

35
on:
46
release:

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,3 +35,5 @@ i18nRepo
3535
.env
3636
.envrc
3737
.direnv
38+
39+
.vs

.storybook/preview.ts

Lines changed: 46 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,24 @@ import { type CSSResult, html } from 'lit';
44
import { configureTheme } from '../src/theming/config';
55
import type { Decorator, Preview } from '@storybook/web-components-vite';
66
import { withActions } from 'storybook/actions/decorator';
7+
import { registerI18n } from 'igniteui-i18n-core';
8+
import {
9+
ResourceStringsBG,
10+
ResourceStringsDE,
11+
ResourceStringsES,
12+
ResourceStringsFR,
13+
ResourceStringsJA,
14+
} from 'igniteui-i18n-resources';
15+
16+
const LocalizationResources = new Map(
17+
Object.entries({
18+
de: ResourceStringsDE,
19+
fr: ResourceStringsFR,
20+
es: ResourceStringsES,
21+
ja: ResourceStringsJA,
22+
bg: ResourceStringsBG,
23+
})
24+
);
725

826
type ThemeImport = { styles: CSSResult };
927

@@ -62,6 +80,12 @@ const themeProvider: Decorator = (story, context) => {
6280
`;
6381
};
6482

83+
const localeProvider: Decorator = (story, context) => {
84+
const { localization } = context.globals;
85+
document.documentElement.lang = localization ?? 'en';
86+
return story();
87+
};
88+
6589
export default {
6690
globalTypes: {
6791
theme: {
@@ -102,6 +126,21 @@ export default {
102126
],
103127
},
104128
},
129+
localization: {
130+
name: 'Localization',
131+
description: 'Component localization',
132+
toolbar: {
133+
icon: 'globe',
134+
items: [
135+
{ value: 'en', title: 'English' },
136+
{ value: 'de', title: 'German' },
137+
{ value: 'fr', title: 'French' },
138+
{ value: 'es', title: 'Spanish' },
139+
{ value: 'ja', title: 'Japanese' },
140+
{ value: 'bg', title: 'Bulgarian' },
141+
],
142+
},
143+
},
105144
size: {
106145
name: 'Size',
107146
description: 'Component size',
@@ -120,16 +159,21 @@ export default {
120159
theme: 'bootstrap',
121160
variant: 'light',
122161
direction: 'ltr',
162+
localization: 'en',
123163
size: 'default',
124164
},
125165
parameters: {
126166
backgrounds: {
127-
disable: true,
167+
disabled: true,
128168
},
129169
},
130-
decorators: [themeProvider, withActions],
170+
decorators: [themeProvider, withActions, localeProvider],
131171
loaders: [
132172
async (context) => {
173+
for (const [locale, resources] of LocalizationResources.entries()) {
174+
registerI18n(resources, locale);
175+
}
176+
133177
const { theme, variant } = context.globals;
134178
return { theme: getTheme({ theme, variant }) };
135179
},

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,12 @@ 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+
8+
## [Unreleased]
9+
### Fixed
10+
- #### Tooltip
11+
- Do not show tooltip when target is clicked [#1828](https://github.com/IgniteUI/igniteui-webcomponents/issues/1828)
12+
713
## [6.3.5] - 2025-11-13
814
### Changed
915
- **License Update**: The project license has been updated to the MIT License, providing greater flexibility and openness for the community. This change reflects our commitment to fostering an inclusive and collaborative development environment while maintaining the high-quality standards you expect from Ignite UI Web Components.

README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ See the [Storybook Here](https://igniteui.github.io/igniteui-webcomponents)
2626

2727
| Components | Status | Documentation | Released Version |
2828
| :---------------------- | :----: | :----------------------------: | :--------------: |
29+
| Chat || [Docs][Chat Docs] | [6.3.0] |
2930
| Date Range Picker || [Docs][Date Range Picker Docs] | [6.1.0] |
3031
| Tooltip || [Docs][Tooltip Docs] | [5.4.0] |
3132
| File Input || [Docs][File Input Docs] | [5.4.0] |
@@ -256,6 +257,7 @@ npm run storybook:build
256257
[File Input Docs]: https://www.infragistics.com/products/ignite-ui-web-components/web-components/components/inputs/file-input
257258
[Tooltip Docs]: https://www.infragistics.com/products/ignite-ui-web-components/web-components/components/inputs/tooltip
258259
[Date Range Picker Docs]: https://www.infragistics.com/products/ignite-ui-web-components/web-components/components/scheduling/date-range-picker
260+
[Chat Docs]: https://www.infragistics.com/products/ignite-ui-web-components/web-components/components/interactivity/chat
259261
[1.0.0]: https://github.com/IgniteUI/igniteui-webcomponents/releases/tag/1.0.0
260262
[2.0.0]: https://github.com/IgniteUI/igniteui-webcomponents/releases/tag/2.0.0
261263
[2.1.0]: https://github.com/IgniteUI/igniteui-webcomponents/releases/tag/2.1.0
@@ -270,3 +272,4 @@ npm run storybook:build
270272
[5.3.0]: https://github.com/IgniteUI/igniteui-webcomponents/releases/tag/5.3.0
271273
[5.4.0]: https://github.com/IgniteUI/igniteui-webcomponents/releases/tag/5.4.0
272274
[6.1.0]: https://github.com/IgniteUI/igniteui-webcomponents/releases/tag/6.1.0
275+
[6.3.0]: https://github.com/IgniteUI/igniteui-webcomponents/releases/tag/6.3.0

ROADMAP.md

Lines changed: 16 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,19 +2,29 @@
22

33
# Current Milestone
44

5-
## Milestone 17 (Due Jun, 2025)
5+
## Milestone 20 (Due Nov, 2025)
66

7-
1. Date range picker [1596](https://github.com/IgniteUI/igniteui-webcomponents/issues/1596)
8-
2. Tooltip component [1615](https://github.com/IgniteUI/igniteui-webcomponents/issues/1615)
7+
1. Grids Cell Merging feature
8+
2. Grids Pining on both sides feature
99

1010
## Going down the road
1111

12-
1. Bottom navigation component [#169](https://github.com/IgniteUI/igniteui-webcomponents/issues/169)
13-
2. Splitter component [#184](https://github.com/IgniteUI/igniteui-webcomponents/issues/184)
14-
3. Chat UI component
12+
1. Grids localization
1513

1614
# Previous Milestone
1715

16+
## Milestone 19, version 6.3.0, Released Sep 18th, 2025
17+
18+
1. **[DONE]** Chat component
19+
20+
## Milestone 18, version 6.1.0, Released Jun 12th, 2025
21+
22+
1. **[DONE]** Date range picker [1596](https://github.com/IgniteUI/igniteui-webcomponents/issues/1596)
23+
24+
## Milestone 17, version 5.4.0, Released Apr 23rd, 2025
25+
26+
1. **[DONE]** Tooltip component [1615](https://github.com/IgniteUI/igniteui-webcomponents/issues/1615)
27+
1828
## Milestone 16, version 5.3.0, Released Mar 13th, 2025
1929

2030
1. **[DONE]** Tile manager component [#1402](https://github.com/IgniteUI/igniteui-webcomponents/pull/1402)

0 commit comments

Comments
 (0)