vira 32.1.1 → 32.1.2

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.
@@ -61,4 +61,6 @@ export declare const ViraInput: import("element-vir").DeclarativeElementDefiniti
61
61
  * that was blocked out of programmatic "value" property assignments.
62
62
  */
63
63
  inputBlocked: import("element-vir").DefineElementEvent<string>;
64
+ /** Triggered if the clear button is activated. */
65
+ clear: import("element-vir").DefineElementEvent<void>;
64
66
  }, "vira-input-disabled" | "vira-input-fit-text" | "vira-input-clear-button-shown" | "vira-input-error", "vira-input-padding-horizontal" | "vira-input-padding-vertical", readonly [], readonly []>;
@@ -276,6 +276,8 @@ export const ViraInput = defineViraElement()({
276
276
  * that was blocked out of programmatic "value" property assignments.
277
277
  */
278
278
  inputBlocked: defineElementEvent(),
279
+ /** Triggered if the clear button is activated. */
280
+ clear: defineElementEvent(),
279
281
  },
280
282
  state() {
281
283
  return {
@@ -417,6 +419,9 @@ export const ViraInput = defineViraElement()({
417
419
  dispatch(new events.valueChange({
418
420
  detail: '',
419
421
  }));
422
+ dispatch(new events.clear({
423
+ detail: undefined,
424
+ }));
420
425
  })}
421
426
  >
422
427
  <${ViraIcon.assign({
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "vira",
3
- "version": "32.1.1",
3
+ "version": "32.1.2",
4
4
  "description": "A simple and highly versatile design system using element-vir.",
5
5
  "keywords": [
6
6
  "design",