@use-kona/editor 0.1.0-rc.2 → 0.1.0-rc.4
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/dist/examples/Editor.d.ts +0 -1
- package/dist/examples/Editor.js +0 -1
- package/package.json +3 -2
- package/src/css.d.ts +14 -0
- package/src/examples/Editor.tsx +0 -1
package/dist/examples/Editor.js
CHANGED
package/package.json
CHANGED
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@use-kona/editor",
|
|
3
|
-
"version": "0.1.0-rc.
|
|
3
|
+
"version": "0.1.0-rc.4",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"exports": {
|
|
6
|
-
".": "./src/index.ts"
|
|
6
|
+
".": "./src/index.ts",
|
|
7
|
+
"./css.d.ts": "./css.d.ts"
|
|
7
8
|
},
|
|
8
9
|
"main": "./dist/editor.js",
|
|
9
10
|
"types": "./dist/index.d.ts",
|
package/src/css.d.ts
ADDED
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* TypeScript declaration for CSS modules
|
|
3
|
+
* Allows TypeScript to understand imports of CSS module files
|
|
4
|
+
*/
|
|
5
|
+
|
|
6
|
+
declare module '*.module.css' {
|
|
7
|
+
const classes: { [key: string]: string };
|
|
8
|
+
export default classes;
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
declare module '*.css' {
|
|
12
|
+
const css: { [key: string]: string };
|
|
13
|
+
export default css;
|
|
14
|
+
}
|
package/src/examples/Editor.tsx
CHANGED