@sbb-esta/lyne-react-dev 5.5.0-dev.1787551219 → 5.5.0-dev.1787552924
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
|
+
}>;
|
package/development/chip.js
CHANGED
package/package.json
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sbb-esta/lyne-react-dev",
|
|
3
|
-
"version": "5.5.0-dev.
|
|
3
|
+
"version": "5.5.0-dev.1787552924",
|
|
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/
|
|
10
|
+
"https://github.com/sbb-design-systems/lyne-components/commit/fbfe11578f549c00681fd90c49b7d28924719e1a"
|
|
11
11
|
],
|
|
12
12
|
"type": "module",
|
|
13
13
|
"exports": {
|