@sbb-esta/lyne-react-dev 5.5.0-dev.1787551219 → 5.5.0-dev.1787553168

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/chip.js CHANGED
@@ -1 +1 @@
1
- import{createComponent as e}from"./core.js";import{SbbChipElement as t,SbbChipGroupElement as n}from"@sbb-esta/lyne-elements/chip.pure.js";import r from"react";const i=e({tagName:`sbb-chip`,elementClass:t,react:r}),a=e({tagName:`sbb-chip-group`,elementClass:n,react:r,events:{onInput:`input`,onChange:`change`,onChipinputtokenend:`chipinputtokenend`,onValidity:`validity`}});export{i as SbbChip,a as SbbChipGroup};
1
+ import{createComponent as e}from"./core.js";import{SbbChipElement as t,SbbChipGroupElement as n}from"@sbb-esta/lyne-elements/chip.pure.js";import r from"react";const i=e({tagName:`sbb-chip`,elementClass:t,react:r,events:{onDelete:`delete`}}),a=e({tagName:`sbb-chip-group`,elementClass:n,react:r,events:{onInput:`input`,onChange:`change`,onChipinputtokenend:`chipinputtokenend`,onValidity:`validity`}});export{i as SbbChip,a as SbbChipGroup};
@@ -1,2 +1,5 @@
1
+ import { type EventName } from '../../core.js';
1
2
  import { SbbChipElement } from '@sbb-esta/lyne-elements/chip.pure.js';
2
- export declare const SbbChip: import("../../core.js").ReactWebComponent<SbbChipElement<string>, {}>;
3
+ export declare const SbbChip: import("../../core.js").ReactWebComponent<SbbChipElement<string>, {
4
+ onDelete: EventName<Event>;
5
+ }>;
@@ -6,7 +6,8 @@ import react from "react";
6
6
  const SbbChip = createComponent({
7
7
  tagName: "sbb-chip",
8
8
  elementClass: SbbChipElement,
9
- react
9
+ react,
10
+ events: { "onDelete": "delete" }
10
11
  });
11
12
 
12
13
  //#endregion
package/package.json CHANGED
@@ -1,13 +1,13 @@
1
1
  {
2
2
  "name": "@sbb-esta/lyne-react-dev",
3
- "version": "5.5.0-dev.1787551219",
3
+ "version": "5.5.0-dev.1787553168",
4
4
  "description": "Lyne Design System React Library",
5
5
  "keywords": [
6
6
  "design system",
7
7
  "web components",
8
8
  "lit",
9
9
  "react",
10
- "https://github.com/sbb-design-systems/lyne-components/commit/c4e01c74ab80bccc19dbf36c0ffec4470a92e0b0"
10
+ "https://github.com/sbb-design-systems/lyne-components/commit/2aa8a5a3aa2c0467ce0defdb37beb119334ed702"
11
11
  ],
12
12
  "type": "module",
13
13
  "exports": {