@sbb-esta/lyne-react 1.12.0 → 1.13.0
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.
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
import { EventName } from './core.js';
|
|
2
2
|
import { SbbFileSelectorElement } from '@sbb-esta/lyne-elements/file-selector.js';
|
|
3
3
|
export declare const SbbFileSelector: import('./core.js').ReactWebComponent<SbbFileSelectorElement, {
|
|
4
|
+
onInput: EventName<Event>;
|
|
5
|
+
onChange: EventName<Event>;
|
|
4
6
|
onFileChanged: EventName<CustomEvent<File[]>>;
|
|
5
7
|
}>;
|
|
6
8
|
//# sourceMappingURL=file-selector.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"file-selector.d.ts","sourceRoot":"","sources":["../../../src/react/file-selector.ts"],"names":[],"mappings":"AACE,OAAO,EAAmB,KAAK,SAAS,EAAE,MAAM,WAAW,CAAC;AAC5D,OAAO,EAAE,sBAAsB,EAAE,MAAM,0CAA0C,CAAC;AAIlF,eAAO,MAAM,eAAe;
|
|
1
|
+
{"version":3,"file":"file-selector.d.ts","sourceRoot":"","sources":["../../../src/react/file-selector.ts"],"names":[],"mappings":"AACE,OAAO,EAAmB,KAAK,SAAS,EAAE,MAAM,WAAW,CAAC;AAC5D,OAAO,EAAE,sBAAsB,EAAE,MAAM,0CAA0C,CAAC;AAIlF,eAAO,MAAM,eAAe;aAKJ,SAAS,CAAC,KAAK,CAAC;cACd,SAAS,CAAC,KAAK,CAAC;mBACN,SAAS,CAAC,WAAW,CAAC,IAAI,EAAE,CAAC,CAAC;EAGhE,CAAC"}
|
package/file-selector.d.ts
CHANGED
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
import { EventName } from './core.js';
|
|
2
2
|
import { SbbFileSelectorElement } from '@sbb-esta/lyne-elements/file-selector.js';
|
|
3
3
|
export declare const SbbFileSelector: import('./core.js').ReactWebComponent<SbbFileSelectorElement, {
|
|
4
|
+
onInput: EventName<Event>;
|
|
5
|
+
onChange: EventName<Event>;
|
|
4
6
|
onFileChanged: EventName<CustomEvent<File[]>>;
|
|
5
7
|
}>;
|
|
6
8
|
//# sourceMappingURL=file-selector.d.ts.map
|
package/file-selector.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"file-selector.d.ts","sourceRoot":"","sources":["../../src/react/file-selector.ts"],"names":[],"mappings":"AACE,OAAO,EAAmB,KAAK,SAAS,EAAE,MAAM,WAAW,CAAC;AAC5D,OAAO,EAAE,sBAAsB,EAAE,MAAM,0CAA0C,CAAC;AAIlF,eAAO,MAAM,eAAe;
|
|
1
|
+
{"version":3,"file":"file-selector.d.ts","sourceRoot":"","sources":["../../src/react/file-selector.ts"],"names":[],"mappings":"AACE,OAAO,EAAmB,KAAK,SAAS,EAAE,MAAM,WAAW,CAAC;AAC5D,OAAO,EAAE,sBAAsB,EAAE,MAAM,0CAA0C,CAAC;AAIlF,eAAO,MAAM,eAAe;aAKJ,SAAS,CAAC,KAAK,CAAC;cACd,SAAS,CAAC,KAAK,CAAC;mBACN,SAAS,CAAC,WAAW,CAAC,IAAI,EAAE,CAAC,CAAC;EAGhE,CAAC"}
|
package/file-selector.js
CHANGED
|
@@ -2,14 +2,16 @@ import { c as e } from "./create-component-bN9SzDs_.js";
|
|
|
2
2
|
import "lit";
|
|
3
3
|
import t from "react";
|
|
4
4
|
import { SbbFileSelectorElement as o } from "@sbb-esta/lyne-elements/file-selector.js";
|
|
5
|
-
const
|
|
5
|
+
const a = e({
|
|
6
6
|
tagName: "sbb-file-selector",
|
|
7
7
|
elementClass: o,
|
|
8
8
|
react: t,
|
|
9
9
|
events: {
|
|
10
|
+
onInput: "input",
|
|
11
|
+
onChange: "change",
|
|
10
12
|
onFileChanged: "fileChanged"
|
|
11
13
|
}
|
|
12
14
|
});
|
|
13
15
|
export {
|
|
14
|
-
|
|
16
|
+
a as SbbFileSelector
|
|
15
17
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sbb-esta/lyne-react",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.13.0",
|
|
4
4
|
"description": "Lyne Design System React Library",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"design system",
|
|
@@ -10,10 +10,10 @@
|
|
|
10
10
|
],
|
|
11
11
|
"type": "module",
|
|
12
12
|
"peerDependencies": {
|
|
13
|
-
"@sbb-esta/lyne-elements": "1.
|
|
13
|
+
"@sbb-esta/lyne-elements": "1.13.0"
|
|
14
14
|
},
|
|
15
15
|
"dependencies": {
|
|
16
|
-
"@lit/react": "^1.0.
|
|
16
|
+
"@lit/react": "^1.0.6",
|
|
17
17
|
"react": "^18.0.0"
|
|
18
18
|
},
|
|
19
19
|
"publishConfig": {
|