@sesamy/sesamy-components 0.0.10 → 1.1.1
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/README.md +1 -1
- package/dist/lib/sesamy-components.d.ts +18 -8
- package/dist/lib/sesamy-components.es.js +5335 -1376
- package/dist/lib/sesamy-components.umd.js +18 -9
- package/package.json +60 -11
package/README.md
CHANGED
|
@@ -81,7 +81,7 @@ Here's an example:
|
|
|
81
81
|
const dispatchEvent = (name, detail) =>
|
|
82
82
|
component.dispatchEvent(new CustomEvent(name, { detail }));
|
|
83
83
|
</script>
|
|
84
|
-
<button
|
|
84
|
+
<button onclick={() => dispatchEvent("test", "Hello!")}>
|
|
85
85
|
Click to dispatch event
|
|
86
86
|
</button>
|
|
87
87
|
```
|
|
@@ -1,8 +1,18 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
1
|
+
declare namespace JSX {
|
|
2
|
+
interface IntrinsicElements {
|
|
3
|
+
"sesamy-avatar": {};
|
|
4
|
+
"sesamy-button": {
|
|
5
|
+
buttonText?: string;
|
|
6
|
+
loading?: boolean;
|
|
7
|
+
};
|
|
8
|
+
"sesamy-login": {
|
|
9
|
+
buttonText?: string;
|
|
10
|
+
loading?: boolean;
|
|
11
|
+
loggedIn?: boolean;
|
|
12
|
+
};
|
|
13
|
+
"sesamy-registration-wall": {};
|
|
14
|
+
"sesamy-paywall": {
|
|
15
|
+
"settings-url": string;
|
|
16
|
+
};
|
|
17
|
+
}
|
|
18
|
+
}
|