You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat: Invoker commands integration for components (#2225)
This commit integrates invoker commands into our components,
allowing for more flexible and dynamic interactions.
The changes include updates to button components,
the addition of a new command controller,
and modifications to related stories and configurations.
---------
Co-authored-by: damyanpetev <damyanpetev@users.noreply.github.com>
Copy file name to clipboardExpand all lines: CHANGELOG.md
+3Lines changed: 3 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -11,6 +11,9 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
11
11
- Added `keepOpenOnEscape` property — prevents the drawer from closing when the user presses the **Escape** key (non-relative positions only).
12
12
- Added `igcClosing` event — emitted just before the drawer is closed by user interaction. Cancelable.
13
13
- Added `igcClosed` event — emitted just after the drawer is closed by user interaction.
14
+
-#### Invoker Commands API
15
+
-`igc-button` and `igc-icon-button` now support `command` and `commandfor` properties, enabling declarative control of target components without JavaScript.
16
+
-`igc-banner`, `igc-dialog`, `igc-nav-drawer`, `igc-snackbar`, and `igc-toast` now respond to `--show`, `--hide`, and `--toggle` commands dispatched by an invoker button.
0 commit comments