@travelopia/web-components 0.0.4 → 0.0.5
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/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@travelopia/web-components",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.5",
|
|
4
4
|
"description": "Accessible web components for the modern web",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "webpack --config ./webpack.config.js --mode production --env=production",
|
|
@@ -34,5 +34,6 @@
|
|
|
34
34
|
"exports": {
|
|
35
35
|
"./*": "./dist/*",
|
|
36
36
|
"./package.json": "./package.json"
|
|
37
|
-
}
|
|
37
|
+
},
|
|
38
|
+
"types": "src/definitions.d.ts"
|
|
38
39
|
}
|
package/dist/types/index.d.ts
DELETED
package/dist/types/tp-modal.d.ts
DELETED
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* TP Modal.
|
|
3
|
-
*/
|
|
4
|
-
export declare class TPModalElement extends HTMLElement {
|
|
5
|
-
/**
|
|
6
|
-
* Constructor.
|
|
7
|
-
*/
|
|
8
|
-
constructor();
|
|
9
|
-
/**
|
|
10
|
-
* Connected callback.
|
|
11
|
-
*/
|
|
12
|
-
connectedCallback(): void;
|
|
13
|
-
/**
|
|
14
|
-
* Open the modal.
|
|
15
|
-
*/
|
|
16
|
-
open(): void;
|
|
17
|
-
/**
|
|
18
|
-
* Close the modal.
|
|
19
|
-
*/
|
|
20
|
-
close(): void;
|
|
21
|
-
/**
|
|
22
|
-
* Handle when the component is clicked.
|
|
23
|
-
*
|
|
24
|
-
* @param {Event} e Event.
|
|
25
|
-
*/
|
|
26
|
-
handleClick(e: Event): void;
|
|
27
|
-
}
|