@sekiui/elements 0.0.11 → 0.0.12
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
CHANGED
package/package.json
CHANGED
|
@@ -4,16 +4,27 @@
|
|
|
4
4
|
"description": "Sekiui UI web components library",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
7
|
+
"exports": {
|
|
8
|
+
".": {
|
|
9
|
+
"types": "./dist/index.d.ts",
|
|
10
|
+
"import": "./dist/index.js",
|
|
11
|
+
"require": "./dist/index.js"
|
|
12
|
+
}
|
|
13
|
+
},
|
|
7
14
|
"files": [
|
|
8
15
|
"dist"
|
|
9
16
|
],
|
|
10
17
|
"scripts": {
|
|
11
|
-
"build": "
|
|
18
|
+
"build": "tsc",
|
|
19
|
+
"prepublishOnly": "pnpm run build"
|
|
12
20
|
},
|
|
13
21
|
"keywords": [
|
|
14
22
|
"ui",
|
|
15
23
|
"components",
|
|
16
24
|
"web components"
|
|
17
25
|
],
|
|
18
|
-
"license": "MIT"
|
|
26
|
+
"license": "MIT",
|
|
27
|
+
"devDependencies": {
|
|
28
|
+
"typescript": "^5.0.0"
|
|
29
|
+
}
|
|
19
30
|
}
|
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
export { SekiButton, defineSekiButton } from "./button";
|
|
2
2
|
export { SekiCard, defineSekiCard } from "./card";
|
|
3
|
+
import { defineSekiButton } from "./button";
|
|
4
|
+
import { defineSekiCard } from "./card";
|
|
3
5
|
|
|
4
6
|
export function defineAllSeki() {
|
|
5
7
|
defineSekiButton();
|
|
@@ -8,4 +10,4 @@ export function defineAllSeki() {
|
|
|
8
10
|
|
|
9
11
|
// Auto-register all by default to make the placeholder easy to try.
|
|
10
12
|
// If you prefer opt-in registration, comment out the next line.
|
|
11
|
-
defineAllSeki();
|
|
13
|
+
// defineAllSeki();
|