@webflow/designer-extension-typings 0.1.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.
- package/LICENSE +21 -0
- package/README.md +21 -0
- package/elements-generated.d.ts +4424 -0
- package/elements.d.ts +4 -0
- package/index.d.ts +19 -0
- package/package.json +10 -0
- package/styles.d.ts +51 -0
- package/tsconfig.json +9 -0
package/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
Copyright (c) 2023 Webflow, Inc
|
|
2
|
+
|
|
3
|
+
Permission is hereby granted, free of charge, to any person ob-
|
|
4
|
+
taining a copy of this software and associated documentation
|
|
5
|
+
files (the "Software"), to deal in the Software without restric-
|
|
6
|
+
tion, including without limitation the rights to use, copy, modi-
|
|
7
|
+
fy, merge, publish, distribute, sublicense, and/or sell copies of
|
|
8
|
+
the Software, and to permit persons to whom the Software is fur-
|
|
9
|
+
nished to do so, subject to the following conditions:
|
|
10
|
+
|
|
11
|
+
The above copyright notice and this permission notice shall be
|
|
12
|
+
included in all copies or substantial portions of the Software.
|
|
13
|
+
|
|
14
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
|
15
|
+
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
|
|
16
|
+
OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONIN-
|
|
17
|
+
FRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
|
|
18
|
+
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
|
|
19
|
+
ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
|
|
20
|
+
CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
package/README.md
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
# Webflow Designer Extension API typings
|
|
2
|
+
|
|
3
|
+
This project contains TypeScript type declarations for the Webflow Designer Extension API.
|
|
4
|
+
|
|
5
|
+
## Usage
|
|
6
|
+
|
|
7
|
+
1. Installation
|
|
8
|
+
```sh
|
|
9
|
+
npm i --save-dev @webflow/designer-extension-typings
|
|
10
|
+
```
|
|
11
|
+
2. Configure `tsconfig.json`
|
|
12
|
+
```js
|
|
13
|
+
{
|
|
14
|
+
"compilerOptions": {
|
|
15
|
+
"typeRoots": [
|
|
16
|
+
"./node_modules/@types",
|
|
17
|
+
"./node_modules/@webflow"
|
|
18
|
+
]
|
|
19
|
+
}
|
|
20
|
+
}
|
|
21
|
+
```
|