@bquery/bquery 1.5.0 → 1.6.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 +586 -546
- package/dist/component/component.d.ts +13 -5
- package/dist/component/component.d.ts.map +1 -1
- package/dist/component/html.d.ts +40 -3
- package/dist/component/html.d.ts.map +1 -1
- package/dist/component/index.d.ts +2 -2
- package/dist/component/index.d.ts.map +1 -1
- package/dist/component/library.d.ts.map +1 -1
- package/dist/component/types.d.ts +131 -16
- package/dist/component/types.d.ts.map +1 -1
- package/dist/component-BEQgt5hl.js +600 -0
- package/dist/component-BEQgt5hl.js.map +1 -0
- package/dist/component.es.mjs +7 -6
- package/dist/config-DRmZZno3.js.map +1 -1
- package/dist/core-BGQJVw0-.js +35 -0
- package/dist/core-BGQJVw0-.js.map +1 -0
- package/dist/{core-CK2Mfpf4.js → core-CCEabVHl.js} +2 -2
- package/dist/{core-CK2Mfpf4.js.map → core-CCEabVHl.js.map} +1 -1
- package/dist/core.es.mjs +1 -1
- package/dist/effect-AFRW_Plg.js +84 -0
- package/dist/effect-AFRW_Plg.js.map +1 -0
- package/dist/full.d.ts +4 -4
- package/dist/full.d.ts.map +1 -1
- package/dist/full.es.mjs +98 -94
- package/dist/full.iife.js +14 -14
- package/dist/full.iife.js.map +1 -1
- package/dist/full.umd.js +14 -14
- package/dist/full.umd.js.map +1 -1
- package/dist/index.es.mjs +143 -139
- package/dist/{motion-C5DRdPnO.js → motion-D9TcHxOF.js} +1 -1
- package/dist/{motion-C5DRdPnO.js.map → motion-D9TcHxOF.js.map} +1 -1
- package/dist/motion.es.mjs +1 -1
- package/dist/{platform-B7JhGBc7.js → platform-Dr9b6fsq.js} +21 -20
- package/dist/platform-Dr9b6fsq.js.map +1 -0
- package/dist/platform.es.mjs +1 -1
- package/dist/{reactive-BDya-ia8.js → reactive-DSkct0dO.js} +51 -50
- package/dist/reactive-DSkct0dO.js.map +1 -0
- package/dist/reactive.es.mjs +19 -17
- package/dist/{router-CijiICxt.js → router-CbDhl8rS.js} +3 -3
- package/dist/{router-CijiICxt.js.map → router-CbDhl8rS.js.map} +1 -1
- package/dist/router.es.mjs +1 -1
- package/dist/{sanitize-jyJ2ryE2.js → sanitize-Bs2dkMby.js} +94 -83
- package/dist/sanitize-Bs2dkMby.js.map +1 -0
- package/dist/security/index.d.ts +4 -2
- package/dist/security/index.d.ts.map +1 -1
- package/dist/security/sanitize.d.ts +4 -1
- package/dist/security/sanitize.d.ts.map +1 -1
- package/dist/security/trusted-html.d.ts +53 -0
- package/dist/security/trusted-html.d.ts.map +1 -0
- package/dist/security.es.mjs +10 -9
- package/dist/store/define-store.d.ts +1 -1
- package/dist/store/define-store.d.ts.map +1 -1
- package/dist/store/mapping.d.ts +1 -1
- package/dist/store/mapping.d.ts.map +1 -1
- package/dist/store/persisted.d.ts +1 -1
- package/dist/store/persisted.d.ts.map +1 -1
- package/dist/store/types.d.ts +2 -2
- package/dist/store/types.d.ts.map +1 -1
- package/dist/store/watch.d.ts +1 -1
- package/dist/store/watch.d.ts.map +1 -1
- package/dist/{store-CPK9E62U.js → store-BwDvI45q.js} +49 -48
- package/dist/{store-CPK9E62U.js.map → store-BwDvI45q.js.map} +1 -1
- package/dist/store.es.mjs +1 -1
- package/dist/storybook/index.d.ts +37 -0
- package/dist/storybook/index.d.ts.map +1 -0
- package/dist/storybook.es.mjs +151 -0
- package/dist/storybook.es.mjs.map +1 -0
- package/dist/untrack-B0rVscTc.js +7 -0
- package/dist/untrack-B0rVscTc.js.map +1 -0
- package/dist/{view-Cdi0g-qo.js → view-C70lA3vf.js} +29 -28
- package/dist/{view-Cdi0g-qo.js.map → view-C70lA3vf.js.map} +1 -1
- package/dist/view.es.mjs +9 -8
- package/package.json +141 -136
- package/src/component/component.ts +259 -54
- package/src/component/html.ts +153 -53
- package/src/component/index.ts +10 -2
- package/src/component/library.ts +42 -28
- package/src/component/types.ts +184 -19
- package/src/full.ts +8 -2
- package/src/motion/transition.ts +97 -97
- package/src/motion/types.ts +208 -208
- package/src/platform/announcer.ts +208 -208
- package/src/platform/config.ts +163 -163
- package/src/platform/cookies.ts +165 -165
- package/src/platform/index.ts +39 -39
- package/src/platform/meta.ts +168 -168
- package/src/reactive/async-data.ts +486 -486
- package/src/reactive/index.ts +37 -37
- package/src/reactive/signal.ts +29 -29
- package/src/security/constants.ts +211 -211
- package/src/security/index.ts +17 -10
- package/src/security/sanitize.ts +70 -66
- package/src/security/trusted-html.ts +71 -0
- package/src/store/define-store.ts +49 -48
- package/src/store/mapping.ts +74 -73
- package/src/store/persisted.ts +62 -61
- package/src/store/types.ts +92 -94
- package/src/store/watch.ts +53 -52
- package/src/storybook/index.ts +479 -0
- package/dist/component-CY5MVoYN.js +0 -531
- package/dist/component-CY5MVoYN.js.map +0 -1
- package/dist/core-DPdbItcq.js +0 -112
- package/dist/core-DPdbItcq.js.map +0 -1
- package/dist/platform-B7JhGBc7.js.map +0 -1
- package/dist/reactive-BDya-ia8.js.map +0 -1
- package/dist/sanitize-jyJ2ryE2.js.map +0 -1
package/package.json
CHANGED
|
@@ -1,136 +1,141 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "@bquery/bquery",
|
|
3
|
-
"version": "1.
|
|
4
|
-
"description": "The jQuery for the Modern Web Platform - Zero build, TypeScript-first library with reactivity, components, and motion",
|
|
5
|
-
"type": "module",
|
|
6
|
-
"main": "./dist/full.umd.js",
|
|
7
|
-
"module": "./dist/index.es.mjs",
|
|
8
|
-
"types": "./dist/index.d.ts",
|
|
9
|
-
"unpkg": "./dist/full.umd.js",
|
|
10
|
-
"jsdelivr": "./dist/full.umd.js",
|
|
11
|
-
"exports": {
|
|
12
|
-
".": {
|
|
13
|
-
"types": "./dist/index.d.ts",
|
|
14
|
-
"import": "./dist/index.es.mjs",
|
|
15
|
-
"require": "./dist/full.umd.js"
|
|
16
|
-
},
|
|
17
|
-
"./full": {
|
|
18
|
-
"types": "./dist/full.d.ts",
|
|
19
|
-
"import": "./dist/full.es.mjs",
|
|
20
|
-
"require": "./dist/full.umd.js"
|
|
21
|
-
},
|
|
22
|
-
"./core": {
|
|
23
|
-
"import": "./dist/core.es.mjs",
|
|
24
|
-
"types": "./dist/core/index.d.ts"
|
|
25
|
-
},
|
|
26
|
-
"./reactive": {
|
|
27
|
-
"import": "./dist/reactive.es.mjs",
|
|
28
|
-
"types": "./dist/reactive/index.d.ts"
|
|
29
|
-
},
|
|
30
|
-
"./component": {
|
|
31
|
-
"import": "./dist/component.es.mjs",
|
|
32
|
-
"types": "./dist/component/index.d.ts"
|
|
33
|
-
},
|
|
34
|
-
"./motion": {
|
|
35
|
-
"import": "./dist/motion.es.mjs",
|
|
36
|
-
"types": "./dist/motion/index.d.ts"
|
|
37
|
-
},
|
|
38
|
-
"./security": {
|
|
39
|
-
"import": "./dist/security.es.mjs",
|
|
40
|
-
"types": "./dist/security/index.d.ts"
|
|
41
|
-
},
|
|
42
|
-
"./platform": {
|
|
43
|
-
"import": "./dist/platform.es.mjs",
|
|
44
|
-
"types": "./dist/platform/index.d.ts"
|
|
45
|
-
},
|
|
46
|
-
"./router": {
|
|
47
|
-
"import": "./dist/router.es.mjs",
|
|
48
|
-
"types": "./dist/router/index.d.ts"
|
|
49
|
-
},
|
|
50
|
-
"./store": {
|
|
51
|
-
"import": "./dist/store.es.mjs",
|
|
52
|
-
"types": "./dist/store/index.d.ts"
|
|
53
|
-
},
|
|
54
|
-
"./view": {
|
|
55
|
-
"import": "./dist/view.es.mjs",
|
|
56
|
-
"types": "./dist/view/index.d.ts"
|
|
57
|
-
}
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
"
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
"
|
|
72
|
-
"build": "
|
|
73
|
-
"
|
|
74
|
-
"
|
|
75
|
-
"build:
|
|
76
|
-
"
|
|
77
|
-
"
|
|
78
|
-
"
|
|
79
|
-
"
|
|
80
|
-
"
|
|
81
|
-
"
|
|
82
|
-
"
|
|
83
|
-
"
|
|
84
|
-
"
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
"
|
|
88
|
-
"
|
|
89
|
-
"
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
"
|
|
93
|
-
"
|
|
94
|
-
"
|
|
95
|
-
"
|
|
96
|
-
"
|
|
97
|
-
"
|
|
98
|
-
"
|
|
99
|
-
"
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
"
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
"
|
|
108
|
-
"
|
|
109
|
-
"
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
"
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
"
|
|
125
|
-
"
|
|
126
|
-
"
|
|
127
|
-
"
|
|
128
|
-
"
|
|
129
|
-
"
|
|
130
|
-
"
|
|
131
|
-
"
|
|
132
|
-
"
|
|
133
|
-
"
|
|
134
|
-
"
|
|
135
|
-
|
|
136
|
-
|
|
1
|
+
{
|
|
2
|
+
"name": "@bquery/bquery",
|
|
3
|
+
"version": "1.6.0",
|
|
4
|
+
"description": "The jQuery for the Modern Web Platform - Zero build, TypeScript-first library with reactivity, components, and motion",
|
|
5
|
+
"type": "module",
|
|
6
|
+
"main": "./dist/full.umd.js",
|
|
7
|
+
"module": "./dist/index.es.mjs",
|
|
8
|
+
"types": "./dist/index.d.ts",
|
|
9
|
+
"unpkg": "./dist/full.umd.js",
|
|
10
|
+
"jsdelivr": "./dist/full.umd.js",
|
|
11
|
+
"exports": {
|
|
12
|
+
".": {
|
|
13
|
+
"types": "./dist/index.d.ts",
|
|
14
|
+
"import": "./dist/index.es.mjs",
|
|
15
|
+
"require": "./dist/full.umd.js"
|
|
16
|
+
},
|
|
17
|
+
"./full": {
|
|
18
|
+
"types": "./dist/full.d.ts",
|
|
19
|
+
"import": "./dist/full.es.mjs",
|
|
20
|
+
"require": "./dist/full.umd.js"
|
|
21
|
+
},
|
|
22
|
+
"./core": {
|
|
23
|
+
"import": "./dist/core.es.mjs",
|
|
24
|
+
"types": "./dist/core/index.d.ts"
|
|
25
|
+
},
|
|
26
|
+
"./reactive": {
|
|
27
|
+
"import": "./dist/reactive.es.mjs",
|
|
28
|
+
"types": "./dist/reactive/index.d.ts"
|
|
29
|
+
},
|
|
30
|
+
"./component": {
|
|
31
|
+
"import": "./dist/component.es.mjs",
|
|
32
|
+
"types": "./dist/component/index.d.ts"
|
|
33
|
+
},
|
|
34
|
+
"./motion": {
|
|
35
|
+
"import": "./dist/motion.es.mjs",
|
|
36
|
+
"types": "./dist/motion/index.d.ts"
|
|
37
|
+
},
|
|
38
|
+
"./security": {
|
|
39
|
+
"import": "./dist/security.es.mjs",
|
|
40
|
+
"types": "./dist/security/index.d.ts"
|
|
41
|
+
},
|
|
42
|
+
"./platform": {
|
|
43
|
+
"import": "./dist/platform.es.mjs",
|
|
44
|
+
"types": "./dist/platform/index.d.ts"
|
|
45
|
+
},
|
|
46
|
+
"./router": {
|
|
47
|
+
"import": "./dist/router.es.mjs",
|
|
48
|
+
"types": "./dist/router/index.d.ts"
|
|
49
|
+
},
|
|
50
|
+
"./store": {
|
|
51
|
+
"import": "./dist/store.es.mjs",
|
|
52
|
+
"types": "./dist/store/index.d.ts"
|
|
53
|
+
},
|
|
54
|
+
"./view": {
|
|
55
|
+
"import": "./dist/view.es.mjs",
|
|
56
|
+
"types": "./dist/view/index.d.ts"
|
|
57
|
+
},
|
|
58
|
+
"./storybook": {
|
|
59
|
+
"import": "./dist/storybook.es.mjs",
|
|
60
|
+
"types": "./dist/storybook/index.d.ts"
|
|
61
|
+
}
|
|
62
|
+
},
|
|
63
|
+
"files": [
|
|
64
|
+
"dist",
|
|
65
|
+
"src",
|
|
66
|
+
"README.md",
|
|
67
|
+
"LICENSE.md"
|
|
68
|
+
],
|
|
69
|
+
"sideEffects": false,
|
|
70
|
+
"scripts": {
|
|
71
|
+
"dev": "vitepress dev docs",
|
|
72
|
+
"build:docs": "vitepress build docs",
|
|
73
|
+
"preview": "vitepress preview docs",
|
|
74
|
+
"storybook": "storybook dev -p 6006",
|
|
75
|
+
"build:storybook": "storybook build",
|
|
76
|
+
"build": "bun run build:lib && bun run build:umd && bun run build:types",
|
|
77
|
+
"build:lib": "vite build",
|
|
78
|
+
"build:umd": "vite build --config vite.umd.config.ts",
|
|
79
|
+
"build:types": "tsc --emitDeclarationOnly --outDir dist",
|
|
80
|
+
"test": "bun test",
|
|
81
|
+
"test:types": "tsc -p tsconfig.component-test.json --noEmit",
|
|
82
|
+
"test:watch": "bun test --watch",
|
|
83
|
+
"lint": "eslint . --fix",
|
|
84
|
+
"lint:types": "tsc --noEmit",
|
|
85
|
+
"format": "prettier --write .",
|
|
86
|
+
"format:check": "prettier --check .",
|
|
87
|
+
"docs:api": "typedoc",
|
|
88
|
+
"clean": "rimraf dist",
|
|
89
|
+
"prepublishOnly": "bun run clean && bun run build && bun test"
|
|
90
|
+
},
|
|
91
|
+
"keywords": [
|
|
92
|
+
"dom",
|
|
93
|
+
"manipulation",
|
|
94
|
+
"jquery",
|
|
95
|
+
"modern",
|
|
96
|
+
"typescript",
|
|
97
|
+
"signals",
|
|
98
|
+
"reactive",
|
|
99
|
+
"components",
|
|
100
|
+
"web-components",
|
|
101
|
+
"animation",
|
|
102
|
+
"motion",
|
|
103
|
+
"zero-build",
|
|
104
|
+
"cdn"
|
|
105
|
+
],
|
|
106
|
+
"author": "Jonas Pfalzgraf <support@josunlp.de>",
|
|
107
|
+
"license": "MIT",
|
|
108
|
+
"repository": {
|
|
109
|
+
"type": "git",
|
|
110
|
+
"url": "https://github.com/bQuery/bQuery.git"
|
|
111
|
+
},
|
|
112
|
+
"homepage": "https://bQuery.flausch-code.de",
|
|
113
|
+
"bugs": {
|
|
114
|
+
"url": "https://github.com/bQuery/bQuery/issues"
|
|
115
|
+
},
|
|
116
|
+
"publishConfig": {
|
|
117
|
+
"access": "public",
|
|
118
|
+
"registry": "https://registry.npmjs.org/"
|
|
119
|
+
},
|
|
120
|
+
"engines": {
|
|
121
|
+
"node": ">=18.0.0"
|
|
122
|
+
},
|
|
123
|
+
"devDependencies": {
|
|
124
|
+
"@storybook/addon-docs": "^10.2.19",
|
|
125
|
+
"@storybook/web-components-vite": "^10.2.19",
|
|
126
|
+
"@typescript-eslint/eslint-plugin": "^8.57.0",
|
|
127
|
+
"@typescript-eslint/parser": "^8.57.0",
|
|
128
|
+
"bun-types": "^1.3.10",
|
|
129
|
+
"eslint": "^10.0.3",
|
|
130
|
+
"eslint-config-prettier": "^10.1.8",
|
|
131
|
+
"globals": "^17.4.0",
|
|
132
|
+
"happy-dom": "^20.8.4",
|
|
133
|
+
"prettier": "^3.8.1",
|
|
134
|
+
"rimraf": "^6.1.3",
|
|
135
|
+
"storybook": "^10.2.19",
|
|
136
|
+
"typedoc": "^0.28.17",
|
|
137
|
+
"typescript": "^5.9.3",
|
|
138
|
+
"vite": "^8.0.0",
|
|
139
|
+
"vitepress": "^1.6.4"
|
|
140
|
+
}
|
|
141
|
+
}
|