@meshmakers/shared-ui 3.5.10 → 3.5.40
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +2 -0
- package/fesm2022/meshmakers-shared-ui.mjs +318 -8
- package/fesm2022/meshmakers-shared-ui.mjs.map +1 -1
- package/i18n/de.json +5 -0
- package/i18n/en.json +5 -0
- package/package.json +2 -1
- package/types/meshmakers-shared-ui.d.ts +167 -6
package/README.md
CHANGED
|
@@ -139,6 +139,8 @@ Configurable data grid with Kendo Grid integration.
|
|
|
139
139
|
|
|
140
140
|
Empty state (AB#3444): `[emptyState]="{ title, text }"` shows the shared `mm-empty-state` (OctoBot `idle`) for a list without records and the "no results" variant (OctoBot `look`) while a search or filter is active; `[emptyTemplate]` replaces it. Without either the list keeps the plain "No records available." line.
|
|
141
141
|
|
|
142
|
+
Toolbar actions (`leftToolbarActions` / `rightToolbarActions`, AB#6211) render **flat and neutral** by default: a page has exactly one solid primary action and it sits in the page header (`[mmPageActions]`, Studio action guideline §9). Set `primary: true` on a `CommandItem` only for a list without a page header (the list is the page). A toolbar action with `isDisabled` + `disabledReason` — plain, split or dropdown button — stays focusable (`aria-disabled`), announces the reason (`aria-describedby`), shows it in the tooltip ("Run scripts — No fixup scripts to run") and as a hint bubble on keyboard focus; clicks and the menu are blocked. A `disabledReason` callback receives the current selection.
|
|
143
|
+
|
|
142
144
|
The toolbar's "Reset Filters" button only appears while something narrows the default view: a row filter, a column sort, a free-text search, or host-side filters. Hosts with their own quick-view/bar filters announce them via `[hasExternalFilters]="myBarFilterIsSet"` so the button shows (and `(resetFilters)` lets them clear those filters when it is clicked).
|
|
143
145
|
|
|
144
146
|
```html
|