@bquery/bquery 1.3.0 → 1.5.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.
Files changed (138) hide show
  1. package/README.md +546 -501
  2. package/dist/component/component.d.ts.map +1 -1
  3. package/dist/component/index.d.ts +2 -0
  4. package/dist/component/index.d.ts.map +1 -1
  5. package/dist/component/library.d.ts +34 -0
  6. package/dist/component/library.d.ts.map +1 -0
  7. package/dist/component/types.d.ts +10 -6
  8. package/dist/component/types.d.ts.map +1 -1
  9. package/dist/component-CY5MVoYN.js +531 -0
  10. package/dist/component-CY5MVoYN.js.map +1 -0
  11. package/dist/component.es.mjs +6 -184
  12. package/dist/config-DRmZZno3.js +40 -0
  13. package/dist/config-DRmZZno3.js.map +1 -0
  14. package/dist/core/collection.d.ts +19 -3
  15. package/dist/core/collection.d.ts.map +1 -1
  16. package/dist/core/element.d.ts +23 -4
  17. package/dist/core/element.d.ts.map +1 -1
  18. package/dist/core/index.d.ts +1 -0
  19. package/dist/core/index.d.ts.map +1 -1
  20. package/dist/core/utils/function.d.ts +21 -4
  21. package/dist/core/utils/function.d.ts.map +1 -1
  22. package/dist/core-CK2Mfpf4.js +648 -0
  23. package/dist/core-CK2Mfpf4.js.map +1 -0
  24. package/dist/core-DPdbItcq.js +112 -0
  25. package/dist/core-DPdbItcq.js.map +1 -0
  26. package/dist/core.es.mjs +45 -1218
  27. package/dist/full.d.ts +6 -6
  28. package/dist/full.d.ts.map +1 -1
  29. package/dist/full.es.mjs +98 -92
  30. package/dist/full.iife.js +173 -3
  31. package/dist/full.iife.js.map +1 -1
  32. package/dist/full.umd.js +173 -3
  33. package/dist/full.umd.js.map +1 -1
  34. package/dist/index.es.mjs +143 -139
  35. package/dist/motion/transition.d.ts +1 -1
  36. package/dist/motion/transition.d.ts.map +1 -1
  37. package/dist/motion/types.d.ts +11 -1
  38. package/dist/motion/types.d.ts.map +1 -1
  39. package/dist/motion-C5DRdPnO.js +415 -0
  40. package/dist/motion-C5DRdPnO.js.map +1 -0
  41. package/dist/motion.es.mjs +25 -361
  42. package/dist/object-qGpWr6-J.js +38 -0
  43. package/dist/object-qGpWr6-J.js.map +1 -0
  44. package/dist/platform/announcer.d.ts +59 -0
  45. package/dist/platform/announcer.d.ts.map +1 -0
  46. package/dist/platform/config.d.ts +92 -0
  47. package/dist/platform/config.d.ts.map +1 -0
  48. package/dist/platform/cookies.d.ts +45 -0
  49. package/dist/platform/cookies.d.ts.map +1 -0
  50. package/dist/platform/index.d.ts +8 -0
  51. package/dist/platform/index.d.ts.map +1 -1
  52. package/dist/platform/meta.d.ts +62 -0
  53. package/dist/platform/meta.d.ts.map +1 -0
  54. package/dist/platform/storage.d.ts.map +1 -1
  55. package/dist/platform-B7JhGBc7.js +361 -0
  56. package/dist/platform-B7JhGBc7.js.map +1 -0
  57. package/dist/platform.es.mjs +11 -243
  58. package/dist/reactive/async-data.d.ts +114 -0
  59. package/dist/reactive/async-data.d.ts.map +1 -0
  60. package/dist/reactive/core.d.ts +12 -0
  61. package/dist/reactive/core.d.ts.map +1 -1
  62. package/dist/reactive/effect.d.ts.map +1 -1
  63. package/dist/reactive/index.d.ts +2 -2
  64. package/dist/reactive/index.d.ts.map +1 -1
  65. package/dist/reactive/internals.d.ts +6 -0
  66. package/dist/reactive/internals.d.ts.map +1 -1
  67. package/dist/reactive/signal.d.ts +2 -0
  68. package/dist/reactive/signal.d.ts.map +1 -1
  69. package/dist/reactive-BDya-ia8.js +253 -0
  70. package/dist/reactive-BDya-ia8.js.map +1 -0
  71. package/dist/reactive.es.mjs +18 -34
  72. package/dist/router-CijiICxt.js +188 -0
  73. package/dist/router-CijiICxt.js.map +1 -0
  74. package/dist/router.es.mjs +11 -200
  75. package/dist/sanitize-jyJ2ryE2.js +302 -0
  76. package/dist/sanitize-jyJ2ryE2.js.map +1 -0
  77. package/dist/security/constants.d.ts.map +1 -1
  78. package/dist/security/sanitize-core.d.ts.map +1 -1
  79. package/dist/security.es.mjs +10 -56
  80. package/dist/store-CPK9E62U.js +262 -0
  81. package/dist/store-CPK9E62U.js.map +1 -0
  82. package/dist/store.es.mjs +12 -25
  83. package/dist/view/evaluate.d.ts.map +1 -1
  84. package/dist/view-Cdi0g-qo.js +396 -0
  85. package/dist/view-Cdi0g-qo.js.map +1 -0
  86. package/dist/view.es.mjs +10 -424
  87. package/package.json +136 -132
  88. package/src/component/component.ts +319 -289
  89. package/src/component/index.ts +42 -40
  90. package/src/component/library.ts +504 -0
  91. package/src/component/types.ts +91 -85
  92. package/src/core/collection.ts +44 -4
  93. package/src/core/element.ts +33 -5
  94. package/src/core/index.ts +1 -0
  95. package/src/core/utils/function.ts +56 -15
  96. package/src/full.ts +223 -187
  97. package/src/motion/transition.ts +97 -51
  98. package/src/motion/types.ts +208 -198
  99. package/src/platform/announcer.ts +208 -0
  100. package/src/platform/config.ts +163 -0
  101. package/src/platform/cookies.ts +165 -0
  102. package/src/platform/index.ts +39 -18
  103. package/src/platform/meta.ts +168 -0
  104. package/src/platform/storage.ts +8 -1
  105. package/src/reactive/async-data.ts +486 -0
  106. package/src/reactive/core.ts +21 -0
  107. package/src/reactive/effect.ts +18 -7
  108. package/src/reactive/index.ts +37 -23
  109. package/src/reactive/internals.ts +18 -1
  110. package/src/reactive/signal.ts +29 -20
  111. package/src/security/constants.ts +211 -209
  112. package/src/security/sanitize-core.ts +22 -1
  113. package/src/view/evaluate.ts +29 -13
  114. package/dist/batch-4LAvfLE7.js +0 -13
  115. package/dist/batch-4LAvfLE7.js.map +0 -1
  116. package/dist/component.es.mjs.map +0 -1
  117. package/dist/core-COenAZjD.js +0 -145
  118. package/dist/core-COenAZjD.js.map +0 -1
  119. package/dist/core.es.mjs.map +0 -1
  120. package/dist/full.es.mjs.map +0 -1
  121. package/dist/index.es.mjs.map +0 -1
  122. package/dist/motion.es.mjs.map +0 -1
  123. package/dist/persisted-Dz_ryNuC.js +0 -278
  124. package/dist/persisted-Dz_ryNuC.js.map +0 -1
  125. package/dist/platform.es.mjs.map +0 -1
  126. package/dist/reactive.es.mjs.map +0 -1
  127. package/dist/router.es.mjs.map +0 -1
  128. package/dist/sanitize-1FBEPAFH.js +0 -272
  129. package/dist/sanitize-1FBEPAFH.js.map +0 -1
  130. package/dist/security.es.mjs.map +0 -1
  131. package/dist/store.es.mjs.map +0 -1
  132. package/dist/type-guards-DRma3-Kc.js +0 -16
  133. package/dist/type-guards-DRma3-Kc.js.map +0 -1
  134. package/dist/untrack-BuEQKH7_.js +0 -6
  135. package/dist/untrack-BuEQKH7_.js.map +0 -1
  136. package/dist/view.es.mjs.map +0 -1
  137. package/dist/watch-CXyaBC_9.js +0 -58
  138. package/dist/watch-CXyaBC_9.js.map +0 -1
package/package.json CHANGED
@@ -1,132 +1,136 @@
1
- {
2
- "name": "@bquery/bquery",
3
- "version": "1.3.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
- },
59
- "files": [
60
- "dist",
61
- "src",
62
- "README.md",
63
- "LICENSE.md"
64
- ],
65
- "sideEffects": false,
66
- "scripts": {
67
- "dev": "vitepress dev docs",
68
- "build:docs": "vitepress build docs",
69
- "preview": "vitepress preview docs",
70
- "playground": "vite dev playground",
71
- "build": "bun run build:lib && bun run build:umd && bun run build:types",
72
- "build:lib": "vite build",
73
- "build:umd": "vite build --config vite.umd.config.ts",
74
- "build:types": "tsc --emitDeclarationOnly --outDir dist",
75
- "test": "bun test",
76
- "test:watch": "bun test --watch",
77
- "lint": "eslint . --fix",
78
- "lint:types": "tsc --noEmit",
79
- "format": "prettier --write .",
80
- "format:check": "prettier --check .",
81
- "docs:api": "typedoc",
82
- "clean": "rimraf dist",
83
- "prepublishOnly": "bun run clean && bun run build && bun test"
84
- },
85
- "keywords": [
86
- "dom",
87
- "manipulation",
88
- "jquery",
89
- "modern",
90
- "typescript",
91
- "signals",
92
- "reactive",
93
- "components",
94
- "web-components",
95
- "animation",
96
- "motion",
97
- "zero-build",
98
- "cdn"
99
- ],
100
- "author": "Jonas Pfalzgraf <support@josunlp.de>",
101
- "license": "MIT",
102
- "repository": {
103
- "type": "git",
104
- "url": "https://github.com/bQuery/bQuery.git"
105
- },
106
- "homepage": "https://bQuery.flausch-code.de",
107
- "bugs": {
108
- "url": "https://github.com/bQuery/bQuery/issues"
109
- },
110
- "publishConfig": {
111
- "access": "public",
112
- "registry": "https://registry.npmjs.org/"
113
- },
114
- "engines": {
115
- "node": ">=18.0.0"
116
- },
117
- "devDependencies": {
118
- "@typescript-eslint/eslint-plugin": "^8.54.0",
119
- "@typescript-eslint/parser": "^8.54.0",
120
- "bun-types": "^1.3.8",
121
- "eslint": "^9.39.2",
122
- "eslint-config-prettier": "^10.1.8",
123
- "globals": "^17.2.0",
124
- "happy-dom": "^20.4.0",
125
- "prettier": "^3.8.1",
126
- "rimraf": "^6.1.2",
127
- "typedoc": "^0.28.16",
128
- "typescript": "^5.9.3",
129
- "vite": "^7.3.1",
130
- "vitepress": "^1.6.4"
131
- }
132
- }
1
+ {
2
+ "name": "@bquery/bquery",
3
+ "version": "1.5.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
+ },
59
+ "files": [
60
+ "dist",
61
+ "src",
62
+ "README.md",
63
+ "LICENSE.md"
64
+ ],
65
+ "sideEffects": false,
66
+ "scripts": {
67
+ "dev": "vitepress dev docs",
68
+ "build:docs": "vitepress build docs",
69
+ "preview": "vitepress preview docs",
70
+ "storybook": "storybook dev -p 6006",
71
+ "build:storybook": "storybook build",
72
+ "build": "bun run build:lib && bun run build:umd && bun run build:types",
73
+ "build:lib": "vite build",
74
+ "build:umd": "vite build --config vite.umd.config.ts",
75
+ "build:types": "tsc --emitDeclarationOnly --outDir dist",
76
+ "test": "bun test",
77
+ "test:watch": "bun test --watch",
78
+ "lint": "eslint . --fix",
79
+ "lint:types": "tsc --noEmit",
80
+ "format": "prettier --write .",
81
+ "format:check": "prettier --check .",
82
+ "docs:api": "typedoc",
83
+ "clean": "rimraf dist",
84
+ "prepublishOnly": "bun run clean && bun run build && bun test"
85
+ },
86
+ "keywords": [
87
+ "dom",
88
+ "manipulation",
89
+ "jquery",
90
+ "modern",
91
+ "typescript",
92
+ "signals",
93
+ "reactive",
94
+ "components",
95
+ "web-components",
96
+ "animation",
97
+ "motion",
98
+ "zero-build",
99
+ "cdn"
100
+ ],
101
+ "author": "Jonas Pfalzgraf <support@josunlp.de>",
102
+ "license": "MIT",
103
+ "repository": {
104
+ "type": "git",
105
+ "url": "https://github.com/bQuery/bQuery.git"
106
+ },
107
+ "homepage": "https://bQuery.flausch-code.de",
108
+ "bugs": {
109
+ "url": "https://github.com/bQuery/bQuery/issues"
110
+ },
111
+ "publishConfig": {
112
+ "access": "public",
113
+ "registry": "https://registry.npmjs.org/"
114
+ },
115
+ "engines": {
116
+ "node": ">=18.0.0"
117
+ },
118
+ "devDependencies": {
119
+ "@storybook/addon-docs": "^10.2.17",
120
+ "@storybook/web-components-vite": "^10.2.17",
121
+ "@typescript-eslint/eslint-plugin": "^8.57.0",
122
+ "@typescript-eslint/parser": "^8.57.0",
123
+ "bun-types": "^1.3.10",
124
+ "eslint": "^10.0.3",
125
+ "eslint-config-prettier": "^10.1.8",
126
+ "globals": "^17.4.0",
127
+ "happy-dom": "^20.8.3",
128
+ "prettier": "^3.8.1",
129
+ "rimraf": "^6.1.3",
130
+ "storybook": "^10.2.17",
131
+ "typedoc": "^0.28.17",
132
+ "typescript": "^5.9.3",
133
+ "vite": "^8.0.0",
134
+ "vitepress": "^1.6.4"
135
+ }
136
+ }