@warp-ds/elements 2.2.0-next.17 → 2.2.0-next.19
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 +18 -0
- package/dist/custom-elements.json +2574 -1052
- package/dist/index.d.ts +1819 -103
- package/dist/packages/pagination/index.js +7 -7
- package/dist/packages/pagination/index.js.map +3 -3
- package/dist/packages/pagination/styles.js +1 -1
- package/dist/packages/rip-and-tear-checkbox/checkbox.js +143 -193
- package/dist/packages/rip-and-tear-checkbox/checkbox.js.map +7 -0
- package/dist/packages/rip-and-tear-radio/radio-group-styles.js +3 -3
- package/dist/packages/rip-and-tear-radio/radio-group-styles.js.map +7 -0
- package/dist/packages/rip-and-tear-radio/radio-group.js +244 -311
- package/dist/packages/rip-and-tear-radio/radio-group.js.map +7 -0
- package/dist/packages/rip-and-tear-radio/radio-styles.js +3 -3
- package/dist/packages/rip-and-tear-radio/radio-styles.js.map +7 -0
- package/dist/packages/rip-and-tear-radio/radio.js +180 -102
- package/dist/packages/rip-and-tear-radio/radio.js.map +7 -0
- package/dist/packages/tabs/tab-panel.js +2440 -50
- package/dist/packages/tabs/tab-panel.js.map +7 -0
- package/dist/packages/tabs/tab.js +2451 -91
- package/dist/packages/tabs/tab.js.map +7 -0
- package/dist/packages/tabs/tabs.js +2444 -234
- package/dist/packages/tabs/tabs.js.map +7 -0
- package/dist/packages/tabs/tabs.stories.js +2473 -12
- package/dist/packages/tabs/tabs.stories.js.map +7 -0
- package/dist/vscode.html-custom-data.json +206 -18
- package/dist/web-types.json +435 -35
- package/package.json +3 -3
package/README.md
CHANGED
|
@@ -118,6 +118,24 @@ see the [Warp Design System documentation](https://warp-ds.github.io/tech-docs/)
|
|
|
118
118
|
|
|
119
119
|
### Editor integration
|
|
120
120
|
|
|
121
|
+
#### Typescript
|
|
122
|
+
|
|
123
|
+
Install the `@warp-ds/elements` package
|
|
124
|
+
|
|
125
|
+
```
|
|
126
|
+
npm install @warp-ds/elements
|
|
127
|
+
```
|
|
128
|
+
|
|
129
|
+
Add `@warp-ds/elements` to tsconfig types in compilerOptions.
|
|
130
|
+
|
|
131
|
+
```json
|
|
132
|
+
{
|
|
133
|
+
"compilerOptions": {
|
|
134
|
+
"types": ["react", "react-dom", "@warp-ds/elements"]
|
|
135
|
+
}
|
|
136
|
+
}
|
|
137
|
+
```
|
|
138
|
+
|
|
121
139
|
#### Visual Studio Code
|
|
122
140
|
|
|
123
141
|
This module includes [Custom HTML and CSS data for Visual Studio Code](https://code.visualstudio.com/blogs/2020/02/24/custom-data-format).
|