diff --git a/skills/igniteui-blazor-components/references/data-display.md b/skills/igniteui-blazor-components/references/data-display.md
index 08fd4022..34877277 100644
--- a/skills/igniteui-blazor-components/references/data-display.md
+++ b/skills/igniteui-blazor-components/references/data-display.md
@@ -44,21 +44,30 @@ The parameter is **`IconName`**, not `Name` (`Name` is the framework element ide
## Card
```razor
-
-
-
- Jane Doe
- Photographer
-
- A short description.
-
- Like
- Buy Now
-
-
+
+
+
+
+ Jane Doe
+ Photographer
+
+ A short description.
+
+ Like
+ Buy Now
+
+
+
```
-`IgbCard` has no default width — always give it one.
+```css
+/* MyView.razor.css */
+.card-row ::deep igc-card {
+ width: 350px;
+}
+```
+
+`IgbCard` has no width of its own — in a block container it stretches to the container's width, in a flex row it shrinks to its content — so give it one from CSS, not a `style` attribute. In a `.razor.css` file, use `::deep` under an element the view renders itself: `igc-card` carries no CSS-isolation attribute, so a plain `.my-card { … }` rule there never matches, even with `class="my-card"` on the `IgbCard`. In `app.css`, a `class` plus a plain rule works. `IgbCard` has no `Width` parameter: `Width="350px"` compiles, but only renders a `width` attribute on `igc-card`, which does not size it.
## List
@@ -89,18 +98,23 @@ The parameter is **`IconName`**, not `Name` (`Name` is the framework element ide
5
-
+
Blazor
Outlined
@code {
- void OnChipRemoved(IgbVoidEventArgs e) { }
+ bool BlazorSelected { get; set; }
+ void OnChipRemoved(IgbVoidEventArgs e) { } // the chip does not remove itself: drop it from your data here
}
```
-`AvatarShape`: `Circle | Rounded | Square` — use `Shape`, there is no `RoundShape`. `StyleVariant` (shared by badge and chip): `Primary | Info | Success | Warning | Danger`; a chip without `Variant` has no color variant. `IgbChip` also has `Outlined`, `Selected` / `SelectedChanged` and a `Select` event.
+`Remove` is an `EventCallback`. `Outlined="true"` gives a transparent chip with a 1px border; with a `Variant` the border takes the variant color and the text stays the theme's text color (Indigo gives an outlined chip without `Variant` a light fill and a grey border). Selecting a chip adds a check icon. In Bootstrap and Material that is all it changes. In Fluent and Indigo, selecting a chip **without** a `Variant` also fills a non-outlined chip with the primary color and gives an outlined one a primary border and darker text. A chip with a `Variant` keeps its variant colors when selected, and an outlined chip is transparent when selected.
+
+Without a `Variant`, restyle an outlined chip with `--ig-chip-outlined-background`, `--ig-chip-outlined-text-color` and `--ig-chip-border-color`; once it is selected these are replaced by `--ig-chip-selected-outlined-background`, `--ig-chip-selected-outlined-text-color` and `--ig-chip-selected-border-color`. With a `Variant`, the variant rules win over every background, text and border token (including `--ig-chip-background` / `--ig-chip-text-color`); size and shape tokens such as `--ig-chip-size` and `--ig-chip-border-radius` still apply. To recolor a variant chip, style the part, e.g. `.chips ::deep igc-chip[selected]::part(base) { background: …; border-color: …; color: …; }` in the view's `.razor.css`, where `.chips` is an element the view renders. Tokens alone do not outline a chip without `Outlined` (it gets no border). `IgbChip` also has `Selected` / `SelectedChanged` (`@bind-Selected`) and a `Select` event (`IgbComponentBoolValueChangedEventArgs`; `Detail` is the new state).
+
+`AvatarShape`: `Circle | Rounded | Square` — use `Shape`, there is no `RoundShape`. `StyleVariant` (shared by badge and chip): `Primary | Info | Success | Warning | Danger`; a chip without `Variant` has no color variant.
`IgbBadge` is a non-interactive visual notification, such as a status or a count. It also works as a label, such as a category, a role ("Maintainer") or a tag. It defaults to `role="status"`. For a label, set a `role` that fits the context, for example `role="listitem"` in a `role="list"` row. `IgbChip` is interactive: a filter, a contextual action, or an item the user selects or removes. It renders a ``, so it is focusable and has hover and pressed states.
diff --git a/skills/igniteui-blazor-components/references/form-controls.md b/skills/igniteui-blazor-components/references/form-controls.md
index 1965e70f..e388069b 100644
--- a/skills/igniteui-blazor-components/references/form-controls.md
+++ b/skills/igniteui-blazor-components/references/form-controls.md
@@ -17,24 +17,33 @@ The examples compile in both packages, and the types shown are the full `IgniteU
## Text inputs
-`IgbInput` and `IgbTextarea` share a base: `Label`, `Placeholder`, `Outlined`, `Disabled`, `Required`, `Invalid`, plus `Value` / `ValueChanged`.
+`IgbInput` and `IgbTextarea` are separate components (`IgbTextarea` does not derive from `IgbInputBase`), but both take `Label`, `Placeholder`, `Outlined`, `Disabled`, `Required`, `Invalid`, `ReadOnly`, `MinLength` / `MaxLength`, plus `Value` / `ValueChanged`. Their typing events have **different names**.
```razor
-
+
+
+@code {
+ string? UserName { get; set; }
+ string? Notes { get; set; }
+ void OnNotesInput(IgbComponentValueChangedEventArgs e) => Console.WriteLine(e.Detail);
+}
```
| Member | Type | Notes |
|---|---|---|
-| `Value` / `@bind-Value` | `string` | The correct way to read and write the value |
+| `Value` / `@bind-Value` | `string` | The correct way to read and write the value. On both `IgbInput` and `IgbTextarea` the bound value updates on commit (blur / `Change`), not per keystroke; for live text handle `InputOcurred` (`IgbInput`) or `Input` (`IgbTextarea`) |
| `DisplayType` | `InputType` | `IgbInput` only — text, password, email, number, … |
-| `InputOcurred` | `EventCallback` | Fires while typing (name is spelled with one `c`) |
+| `InputOcurred` | `EventCallback` | `IgbInput` only — fires while typing (name is spelled with one `c`) |
+| `Input` | `EventCallback` | `IgbTextarea` only — fires on every keystroke; `Detail` is the current text |
| `Change` | `EventCallback` | Fires on commit / blur |
| `Focus`, `Blur` | `EventCallback` | |
-| `Rows`, `Resize`, `Wrap`, `MaxLength` | | `IgbTextarea` only |
+| `Rows`, `Resize`, `Wrap` | | `IgbTextarea` only |
+
+A wrong event name does not fail the build: the unmatched attribute is passed to the element as text. ` ` compiles without a warning, and the handler never runs.
`IgbInput` has **no** `GetValueAsync()`. Bind with `@bind-Value` instead of reading imperatively.
diff --git a/skills/igniteui-blazor-generate-from-image-design/references/gotchas.md b/skills/igniteui-blazor-generate-from-image-design/references/gotchas.md
index a139fad0..6dddd23a 100644
--- a/skills/igniteui-blazor-generate-from-image-design/references/gotchas.md
+++ b/skills/igniteui-blazor-generate-from-image-design/references/gotchas.md
@@ -80,19 +80,19 @@ Full rules are in the theming skill's [`common-patterns.md`](../../igniteui-blaz
|---|---|
| `--ig-*` design tokens | **primary** — whenever a token exists for the property |
| `::part(name)` | only when no token covers it, and only after confirming the part name |
-| `::deep` | only in `.razor.css`, only on `igc-*` selectors |
+| `::deep` | only in `.razor.css`, only on `igc-*` selectors or on a `class` you set on an `Igb*` component (it lands on the `igc-*` element, which has no scope attribute) |
```css
/* app.css — global, no ::deep */
igc-chip { --ig-chip-background: var(--ig-primary-500); }
igc-dialog::part(footer) { border-top: 1px solid var(--ig-gray-200); }
-/* MyView.razor.css — ::deep on igc-*, never on your own class selectors */
+/* MyView.razor.css — ::deep before igc-* selectors (and classes set on Igb* components); a plain .my-class for your own HTML */
::deep igc-chip { --ig-chip-background: var(--ig-primary-500); }
.dashboard-shell { display: grid; grid-template-columns: 260px 1fr; }
```
-`::deep` does **not** work on the component's own root element — Blazor puts the scope attribute there, so there is no scoped parent above it. Never add `::deep` to a `:root {}` block. `create_component_theme` emits global CSS; use it verbatim in `app.css`. Blazor projects have no Sass step.
+`::deep` does **not** work on the component's own root element — Blazor puts the scope attribute there, so there is no scoped parent above it. For the same reason `::deep igc-chip` matches only chips inside an HTML element the view renders; a chip at the top level of the view needs a wrapper element. Never add `::deep` to a `:root {}` block. `create_component_theme` emits global CSS; use it verbatim in `app.css`. Blazor projects have no Sass step.
## Charts
diff --git a/skills/igniteui-blazor-grids/SKILL.md b/skills/igniteui-blazor-grids/SKILL.md
index 936975fa..ef45c09e 100644
--- a/skills/igniteui-blazor-grids/SKILL.md
+++ b/skills/igniteui-blazor-grids/SKILL.md
@@ -1,7 +1,7 @@
---
license: MIT
name: igniteui-blazor-grids
-description: "Covers all Ignite UI for Blazor data grids (Grid Lite, Flat Grid, Tree Grid, Hierarchical Grid, Pivot Grid): setup, columns and templates, sorting, filtering, selection, cell and row editing, grouping, summaries, toolbar, Excel/CSV export, paging, remote and server-side data, virtualization, sizing, state persistence, and migrating Grid Lite to IgbGrid. WHEN TO USE: grids, tables, tabular data, cell editing, row selection, column pinning or hiding, grouped rows, pivot tables, tree or hierarchical data, master-detail views, grid export, or choosing a grid type. WHEN NOT TO USE: non-grid components such as lists, the tree view, or charts (use igniteui-blazor-components), grid colors, themes, or design tokens (use igniteui-blazor-theming), or building a whole view from a design image (use igniteui-blazor-generate-from-image-design)."
+description: "Covers all Ignite UI for Blazor data grids (Grid Lite, Flat Grid, Tree Grid, Hierarchical Grid, Pivot Grid): setup, columns and templates, sorting, filtering, selection, cell and row editing, grouping, summaries, toolbar, Excel/CSV/PDF export, paging, remote and server-side data, virtualization, sizing, state persistence, and migrating Grid Lite to IgbGrid. WHEN TO USE: grids, tables, tabular data, cell editing, row selection, column pinning or hiding, grouped rows, pivot tables, tree or hierarchical data, master-detail views, grid export, or choosing a grid type. WHEN NOT TO USE: non-grid components such as lists, the tree view, or charts (use igniteui-blazor-components), grid colors, themes, or design tokens (use igniteui-blazor-theming), or building a whole view from a design image (use igniteui-blazor-generate-from-image-design)."
user-invocable: true
---
@@ -21,7 +21,7 @@ user-invocable: true
| Task | Read |
|---|---|
| Quick start, columns, data types, cell/header/editor templates, column groups, multi-row layout, pinning, sorting UI, filtering UI, selection | [`references/structure.md`](./references/structure.md) |
-| Grouping, summaries, cell merging, toolbar, Excel/CSV export, virtualization, row drag, action strip, master-detail, clipboard | [`references/features.md`](./references/features.md) |
+| Grouping, summaries, cell merging, toolbar, Excel/CSV/PDF export, virtualization, row drag, action strip, master-detail, clipboard | [`references/features.md`](./references/features.md) |
| Grid Lite, Tree Grid, Hierarchical Grid, Pivot Grid specifics | [`references/types.md`](./references/types.md) |
| Programmatic sort / filter / group, `@ref` access, custom strategies | [`references/data-operations.md`](./references/data-operations.md) |
| Cell editing, row editing, validation, custom editors, add/delete rows | [`references/editing.md`](./references/editing.md) |
diff --git a/skills/igniteui-blazor-grids/references/editing.md b/skills/igniteui-blazor-grids/references/editing.md
index 2eec4306..b61b1a25 100644
--- a/skills/igniteui-blazor-grids/references/editing.md
+++ b/skills/igniteui-blazor-grids/references/editing.md
@@ -11,7 +11,7 @@ Applies to `IgbGrid`, `IgbTreeGrid`, and `IgbHierarchicalGrid`. **`IgbPivotGrid`
| Cell editing | `Editable="true"` on each column | blur, Enter, Tab | quick single-value edits |
| Row editing | `RowEditable="true"` on the grid | the Done button in the row overlay | multi-field changes — **prefer this for CRUD** |
-Row editing gives a clear confirm/cancel flow and prevents half-updated rows. Both modes still need `Editable="true"` on the individual columns.
+Row editing gives a clear confirm/cancel flow and prevents half-updated rows. Cell editing needs `Editable="true"` on each column; with `RowEditable="true"` a column without an explicit `Editable` is editable by default (the primary-key column never is), so set `Editable="false"` on columns that must stay read-only.
## Cell editing
diff --git a/skills/igniteui-blazor-grids/references/features.md b/skills/igniteui-blazor-grids/references/features.md
index 48d3eb6c..33e0b55b 100644
--- a/skills/igniteui-blazor-grids/references/features.md
+++ b/skills/igniteui-blazor-grids/references/features.md
@@ -83,17 +83,42 @@ Merges visually identical adjacent cells. Sort by the merged columns first, or t
## Export
+`IgbGridToolbarExporter` offers Export to Excel, CSV **and PDF** by default (`ExportExcel`, `ExportCSV`, `ExportPDF` all default to `true`); set the unwanted ones to `false` — Excel only is `ExportCSV="false" ExportPDF="false"`. PDF needs no extra module or script. `Filename` defaults to `ExportedData`.
+
```razor
-
+@inject IJSRuntime JS
+
+
+
+
+
+
+
+
+ …
+
+
@code {
- private IgbGridToolbarExporter exporter = default!;
+ private ElementReference employeesHost; // one host per grid, so each export targets its own grid
- private Task ExportToExcel() => exporter.ExportGridAsync(GridToolbarExporterType.Excel);
- private Task ExportToCsv() => exporter.ExportGridAsync(GridToolbarExporterType.CSV);
+ private async Task ExportToExcel() => await JS.InvokeVoidAsync("exportGrid", employeesHost, "excel");
+ private async Task ExportToCsv() => await JS.InvokeVoidAsync("exportGrid", employeesHost, "csv");
}
```
+```js
+// wwwroot/js/export-grid.js — export() on the toolbar exporter inside the host element: "excel" | "csv" | "pdf"
+window.exportGrid = (host, type) => host.querySelector('igc-grid-toolbar-exporter').export(type);
+```
+
+```html
+
+
+```
+
+To export from code, call the element's `export()` through JS interop as above — this needs an `IgbGridToolbarExporter` in the grid's toolbar (without one the helper throws a `JSException`: `Cannot read properties of null`). `ExportCSV` / `ExportPDF="false"` only hide that format in the menu; `export('csv')` / `export('pdf')` still work. Passing the grid's host element keeps the export on that grid when the page has several. The C# `ExportGridAsync` / `ExportGrid` fail: the console logs `target doesn't have prop: export`, .NET throws an `InvalidOperationException`, and nothing downloads. The `GridToolbarExporterType` values are `Excel`, `Csv`, `Pdf` — not `CSV`. `ExportStarted` / `ExportEnded` fire for every export, but in the C# `ExportStarted` args `Detail.Options` and `Detail.Grid` are always `null`, and the export cannot be cancelled (`IgbExporterEventArgsDetail` has no `Cancel`).
+
Configure or cancel an export from the grid's `ToolbarExporting` event. In Blazor the practical hook is the JS variant, because the exporter's own per-column and per-row events are only reachable from script:
```razor
@@ -154,7 +179,23 @@ Row and column virtualization are on by default once the grid has a fixed `Heigh
```
-`IgbGridEditingActions` renders edit/delete (plus add-row when `AddRow="true"`) and needs `RowEditable="true"` on the grid to function. `IgbGridPinningActions` renders row pin/unpin. Extra buttons can be placed inside `IgbActionStrip` alongside them.
+`IgbGridEditingActions` shows Edit and Delete by default (`EditRow` and `DeleteRow` default to `true`). `AddRow="true"` adds an Add button on root rows; on `IgbTreeGrid`, `AddChild="true"` adds an Add Child button. Set `EditRow="false"` or `DeleteRow="false"` to hide one. What each needs:
+
+- **Delete** removes the row by key — it needs `PrimaryKey`, not `RowEditable`; without `PrimaryKey` it silently does nothing. It also removes the row from the bound `List` instance itself (not from a list that one was copied from), but the page does not re-render: `RowDeleted` is an `Action`, so call `StateHasChanged()` in its handler when something else on the page (a count, a summary) depends on the list.
+- **Edit** enters row editing with `RowEditable="true"` (which also makes the non-key columns editable), or cell editing on the first `Editable="true"` column without it. With no editable column it silently does nothing.
+- **Add / Add Child** need `RowEditable="true"`; otherwise they only log a console warning.
+
+`IgbGridPinningActions` renders row pin/unpin and needs neither. `AsMenuItems="true"` on an actions component moves its buttons into a "More" (⋮) menu. Extra buttons can be placed inside `IgbActionStrip` alongside them.
+
+```razor
+@* delete-only strip, no row editing *@
+
+
+
+
+
+
+```
## Master-detail — `IgbGrid` only
diff --git a/skills/igniteui-blazor-theming/SKILL.md b/skills/igniteui-blazor-theming/SKILL.md
index 8b5e1d0b..2f7cfc7d 100644
--- a/skills/igniteui-blazor-theming/SKILL.md
+++ b/skills/igniteui-blazor-theming/SKILL.md
@@ -15,7 +15,14 @@ Blazor theming is **CSS-first**: a built-in theme stylesheet plus CSS custom pro
2. For anything version-specific (palette variables, component token names, layout token CSS), call the `igniteui-theming` MCP tools rather than writing names from memory. Token names are not guessable from component names.
3. Read [`references/common-patterns.md`](./references/common-patterns.md) for theme switching, dark mode, scoped overrides, and `::part()` recipes.
-**Without the MCP server this skill still works** for theme selection, `IgbThemeProvider`, dark mode, and CSS structure. What it cannot give you is the exact set of `--ig--` names — in that case say the token list was not verified, or read the generated theme CSS in `_content/IgniteUI.Blazor/themes/` to confirm. Do not configure MCP unprompted; see [MCP server (optional)](#mcp-server-optional).
+**Without the MCP server this skill still works** for theme selection, `IgbThemeProvider`, dark mode, and CSS structure. What it cannot give you is the exact set of `--ig--` names, and the theme stylesheets in `_content/IgniteUI.Blazor/themes/` don't have them either — they hold only global variables (palette, typography, elevation, spacing, size, scrollbar). Each `igc-*` component reads its tokens in its own styles, which ship in `igniteui-webcomponents.*.bundle.js` of the `IgniteUI.Blazor.Lite` package — also when the project references `IgniteUI.Blazor`, which depends on it. Get the Lite version, then list the tokens from the NuGet cache:
+
+```bash
+dotnet list package --include-transitive | grep -i igniteui.blazor.lite
+grep -ohE 'var\(--ig-card-[a-z0-9-]+' ~/.nuget/packages/igniteui.blazor.lite//staticwebassets/igniteui-webcomponents.*.bundle.js | sed 's/^var(//' | sort -u
+```
+
+The prefix is not always the tag name: `igc-button` reads `--ig-contained-button-*` (or `flat-`, `outlined-`, `fab-`), `igc-input` reads `--ig-input-group-*`, and `igc-linear-progress` reads `--ig-linear-bar-*`. Grid tokens (`--ig-grid-*`) are in the full package's `themes/grid//.css`. If you cannot run the lookup, say the token list was not verified. Do not configure MCP unprompted; see [MCP server (optional)](#mcp-server-optional).
| Layer | Mechanism |
|---|---|
diff --git a/skills/igniteui-blazor-theming/references/common-patterns.md b/skills/igniteui-blazor-theming/references/common-patterns.md
index 0249f46e..ae7efa93 100644
--- a/skills/igniteui-blazor-theming/references/common-patterns.md
+++ b/skills/igniteui-blazor-theming/references/common-patterns.md
@@ -80,9 +80,9 @@ Remember to swap the grid stylesheet variant too when a full grid is on the page
## CSS custom properties (design tokens)
-Every visual attribute is a CSS custom property. Tokens are the **primary** customization layer — reach for `::part()` only when no token covers the property.
+Most visual attributes are CSS custom properties (some, such as a chip label's font size or padding, are not). Tokens are the **primary** customization layer — reach for `::part()` only when no token covers the property.
-1. Call `get_component_design_tokens("")` — never guess names.
+1. Call `get_component_design_tokens("")` — never guess names. Without the MCP server, list the names the component actually reads from the `IgniteUI.Blazor.Lite` package's `igniteui-webcomponents.*.bundle.js` (see [SKILL.md](../SKILL.md)); the theme CSS files don't contain component tokens.
2. Override the ones you need in a rule matching the component's scope.
```css
@@ -107,11 +107,12 @@ igc-chip {
## `::deep` — what it does and does not do
-`::deep` is Blazor's CSS-isolation combinator, not a shadow-DOM piercer. It only applies in `.razor.css` files, and only when Blazor's scope attribute sits on a parent **above** the target.
+`::deep` is Blazor's CSS-isolation combinator, not a shadow-DOM piercer. It only applies in `.razor.css` files, and only when Blazor's scope attribute sits on a parent **above** the target. `.razor.css` rules load only if the host page links the `.styles.css` bundle — `dotnet new blazorwasm --empty` ships that link commented out in `index.html`.
| Do | Don't |
|---|---|
-| `::deep igc-chip { … }` | `::deep .my-class { … }` — plain class selectors are already scoped |
+| `::deep igc-chip { … }` | `::deep .my-class { … }` on your own HTML — plain class selectors are already scoped there |
+| `.wrapper ::deep .my-card { … }` for a `class` set on an `Igb*` component — the class lands on the `igc-*` element, which has no scope attribute | Plain `.my-card { … }` for that class — it never matches |
| `::deep igc-dialog::part(footer) { … }` | `::deep :root { … }` — never scope a `:root` block |
| Plain `.layout { … }` for your own HTML | `::deep` on the component's own root element — no scoped parent exists above it |
@@ -186,7 +187,7 @@ A single generated surface color rarely covers a design with a darker sidebar an
1. One built-in theme stylesheet at a time.
2. Selectors use `igc-*` tag names, never Razor component names.
-3. Call `get_component_design_tokens` before writing any `--ig--*` name.
+3. Call `get_component_design_tokens` (or, without MCP, look the name up in the `IgniteUI.Blazor.Lite` web-components bundle) before writing any `--ig--*` name.
4. Load your overrides after the built-in theme so the cascade favors them.
5. Once a palette exists, use its tokens instead of raw hex — hardcoded colors break theme switching. Charts and other DV components are the exception; they need resolved color values.
6. Blazor theming is plain CSS. There is no Sass pipeline.