@lipsjs/lips 0.3.1 → 0.4.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/README.md +122 -9
- package/dist/lips.js +915 -669
- package/dist/lips.js.map +15 -12
- package/dist/lips.min.js +12 -12
- package/dist/lips.min.js.map +15 -12
- package/dist/lynx-background.min.js +3 -0
- package/dist/lynx-background.min.js.map +13 -0
- package/dist/lynx-main.min.js +3 -0
- package/dist/lynx-main.min.js.map +11 -0
- package/dist/lynx-plugin.mjs +1487 -0
- package/dist/lynx.min.js +8 -8
- package/dist/lynx.min.js.map +11 -10
- package/dist/mf2.min.js.map +1 -1
- package/dist/parts.min.js +19 -0
- package/dist/parts.min.js.map +11 -0
- package/dist/precompile.min.js +15 -15
- package/dist/precompile.min.js.map +8 -7
- package/dist/runtime.min.js +4 -4
- package/dist/runtime.min.js.map +11 -9
- package/dist/stylis.min.js.map +1 -1
- package/dist/types/component.d.ts +32 -0
- package/dist/types/ir/compiler.d.ts +2 -4
- package/dist/types/ir/facade.d.ts +63 -12
- package/dist/types/ir/host.d.ts +9 -1
- package/dist/types/ir/initial.d.ts +16 -0
- package/dist/types/ir/router.d.ts +2 -0
- package/dist/types/ir/tags.d.ts +16 -0
- package/dist/types/lips.d.ts +7 -7
- package/dist/types/lynx/a11y.d.ts +1 -0
- package/dist/types/lynx/background.d.ts +52 -3
- package/dist/types/lynx/main.d.ts +9 -5
- package/dist/types/lynx/plugin.d.ts +8 -0
- package/dist/types/lynx/protocol.d.ts +55 -4
- package/dist/types/lynx/style.d.ts +7 -0
- package/dist/types/lynx/template.d.ts +6 -0
- package/dist/types/parts/menu.d.ts +44 -0
- package/dist/types/parts/popover.d.ts +83 -0
- package/dist/types/parts.d.ts +16 -0
- package/dist/types/precompile.d.ts +8 -11
- package/dist/types/runtime.d.ts +1 -0
- package/dist/types/types.d.ts +181 -57
- package/dist/untrusted.min.js +4 -4
- package/dist/untrusted.min.js.map +7 -7
- package/package.json +24 -3
- package/dist/types/i18n/formatters.d.ts +0 -3
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lipsjs/lips",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.4.0",
|
|
4
4
|
"description": "Fast, Lightweight Reactive UI Framework",
|
|
5
5
|
"main": "./dist/lips.min.js",
|
|
6
6
|
"types": "./dist/types/lips.d.ts",
|
|
@@ -43,20 +43,41 @@
|
|
|
43
43
|
"import": "./dist/lynx.min.js",
|
|
44
44
|
"default": "./dist/lynx.min.js"
|
|
45
45
|
},
|
|
46
|
+
"./lynx/main": {
|
|
47
|
+
"types": "./dist/types/lynx/main.d.ts",
|
|
48
|
+
"import": "./dist/lynx-main.min.js",
|
|
49
|
+
"default": "./dist/lynx-main.min.js"
|
|
50
|
+
},
|
|
51
|
+
"./lynx/background": {
|
|
52
|
+
"types": "./dist/types/lynx/background.d.ts",
|
|
53
|
+
"import": "./dist/lynx-background.min.js",
|
|
54
|
+
"default": "./dist/lynx-background.min.js"
|
|
55
|
+
},
|
|
56
|
+
"./lynx-plugin": {
|
|
57
|
+
"types": "./dist/types/lynx/plugin.d.ts",
|
|
58
|
+
"import": "./dist/lynx-plugin.mjs",
|
|
59
|
+
"default": "./dist/lynx-plugin.mjs"
|
|
60
|
+
},
|
|
46
61
|
"./precompile": {
|
|
47
62
|
"types": "./dist/types/precompile.d.ts",
|
|
48
63
|
"import": "./dist/precompile.min.js",
|
|
49
64
|
"default": "./dist/precompile.min.js"
|
|
50
65
|
}
|
|
66
|
+
,
|
|
67
|
+
"./parts": {
|
|
68
|
+
"types": "./dist/types/parts.d.ts",
|
|
69
|
+
"import": "./dist/parts.min.js",
|
|
70
|
+
"default": "./dist/parts.min.js"
|
|
71
|
+
}
|
|
51
72
|
},
|
|
52
73
|
"author": "Fabrice K.E.M",
|
|
53
74
|
"private": false,
|
|
54
75
|
"scripts": {
|
|
55
76
|
"dev": "bun build --entrypoints ./src/lips.ts --entry-naming lips.min.[ext] --minify --outdir ./dist --target browser --format esm --sourcemap=external --watch",
|
|
56
|
-
"build": "bun build --entrypoints ./src/lips.ts --entry-naming lips.min.[ext] --minify --outdir ./dist --target browser --format esm --sourcemap=external && bun build --entrypoints ./src/lips.ts --entry-naming lips.[ext] --outdir ./dist --target browser --format esm --sourcemap=external && bun build --entrypoints ./src/runtime.ts --entry-naming runtime.min.[ext] --minify --outdir ./dist --target browser --format esm --sourcemap=external && bun build --entrypoints ./src/precompile.ts --entry-naming precompile.min.[ext] --minify --outdir ./dist --target browser --format esm --sourcemap=external && bun build --entrypoints ./src/stylis.ts --entry-naming stylis.min.[ext] --minify --outdir ./dist --target browser --format esm --sourcemap=external && bun build --entrypoints ./src/mf2.ts --entry-naming mf2.min.[ext] --minify --outdir ./dist --target browser --format esm --sourcemap=external && bun build --entrypoints ./src/untrusted.ts --entry-naming untrusted.min.[ext] --minify --outdir ./dist --target browser --format esm --sourcemap=external && bun build --entrypoints ./src/lynx.ts --entry-naming lynx.min.[ext] --minify --outdir ./dist --target browser --format esm --sourcemap=external",
|
|
77
|
+
"build": "bun build --entrypoints ./src/lips.ts --entry-naming lips.min.[ext] --minify --outdir ./dist --target browser --format esm --sourcemap=external && bun build --entrypoints ./src/lips.ts --entry-naming lips.[ext] --outdir ./dist --target browser --format esm --sourcemap=external && bun build --entrypoints ./src/runtime.ts --entry-naming runtime.min.[ext] --minify --outdir ./dist --target browser --format esm --sourcemap=external && bun build --entrypoints ./src/precompile.ts --entry-naming precompile.min.[ext] --minify --outdir ./dist --target browser --format esm --sourcemap=external && bun build --entrypoints ./src/stylis.ts --entry-naming stylis.min.[ext] --minify --outdir ./dist --target browser --format esm --sourcemap=external && bun build --entrypoints ./src/mf2.ts --entry-naming mf2.min.[ext] --minify --outdir ./dist --target browser --format esm --sourcemap=external && bun build --entrypoints ./src/untrusted.ts --entry-naming untrusted.min.[ext] --minify --outdir ./dist --target browser --format esm --sourcemap=external && bun build --entrypoints ./src/lynx.ts --entry-naming lynx.min.[ext] --minify --outdir ./dist --target browser --format esm --sourcemap=external && bun build --entrypoints ./src/lynx/main.ts --entry-naming lynx-main.min.[ext] --minify --outdir ./dist --target browser --format esm --sourcemap=external && bun build --entrypoints ./src/lynx/background.ts --entry-naming lynx-background.min.[ext] --minify --outdir ./dist --target browser --format esm --sourcemap=external && bun build --entrypoints ./src/parts.ts --entry-naming parts.min.[ext] --minify --outdir ./dist --target browser --format esm --sourcemap=external && bun build --entrypoints ./src/lynx/plugin.ts --entry-naming lynx-plugin.mjs --outdir ./dist --target node --format esm",
|
|
57
78
|
"build:declaration": "tsc --project tsconfig.types.json",
|
|
58
79
|
"compile": "bun run build",
|
|
59
|
-
"typecheck": "tsc --project tsconfig.test.json",
|
|
80
|
+
"typecheck": "tsc --project tsconfig.test.json && tsc --project tests/types/tsconfig.json && tsc --project demos/app/tsconfig.json",
|
|
60
81
|
"prepack": "bun run build && bun run build:declaration",
|
|
61
82
|
"test": "vitest run",
|
|
62
83
|
"test:watch": "vitest",
|