what-framework 0.10.0 → 0.11.1

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/index.min.js CHANGED
@@ -1,2 +1 @@
1
1
  export*from"what-core";
2
- //# sourceMappingURL=index.min.js.map
@@ -1,2 +1 @@
1
1
  import{jsxDEV as j,jsx as r,jsxs as e,Fragment as m}from"what-core/jsx-dev-runtime";export{m as Fragment,r as jsx,j as jsxDEV,e as jsxs};
2
- //# sourceMappingURL=jsx-dev-runtime.min.js.map
@@ -1,2 +1 @@
1
1
  import{jsx as x,jsxs as e,Fragment as j}from"what-core/jsx-runtime";export{j as Fragment,x as jsx,e as jsxs};
2
- //# sourceMappingURL=jsx-runtime.min.js.map
@@ -1,2 +1 @@
1
- import{template as r,insert as a,mapArray as s,spread as n,setProp as o,delegateEvents as p,on as c,classList as m,effect as f,untrack as l,_$createComponent as d}from"what-core/render";export{d as _$createComponent,m as classList,p as delegateEvents,f as effect,a as insert,s as mapArray,c as on,o as setProp,n as spread,r as template,l as untrack};
2
- //# sourceMappingURL=render.min.js.map
1
+ import{template as s,_$template as a,insert as r,mapArray as l,spread as m,setProp as o,setClass as p,setStyle as n,setAttr as c,setValue as d,setChecked as f,memo as C,delegateEvents as i,on as k,classList as u,effect as y,untrack as A,_$createComponent as _}from"what-core/render";export{_ as _$createComponent,a as _$template,u as classList,i as delegateEvents,y as effect,r as insert,l as mapArray,C as memo,k as on,c as setAttr,f as setChecked,p as setClass,o as setProp,n as setStyle,d as setValue,m as spread,s as template,A as untrack};
@@ -1,2 +1 @@
1
1
  export*from"what-router";
2
- //# sourceMappingURL=router.min.js.map
@@ -1,2 +1 @@
1
1
  export*from"what-server";export*from"what-server/islands";
2
- //# sourceMappingURL=server.min.js.map
@@ -1,2 +1 @@
1
1
  export*from"what-core/testing";
2
- //# sourceMappingURL=testing.min.js.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "what-framework",
3
- "version": "0.10.0",
3
+ "version": "0.11.1",
4
4
  "description": "The web framework built for AI agents — signals, components, islands, SSR",
5
5
  "type": "module",
6
6
  "main": "src/index.js",
@@ -43,7 +43,7 @@
43
43
  },
44
44
  "files": [
45
45
  "src",
46
- "dist",
46
+ "dist/**/*.min.js",
47
47
  "index.d.ts",
48
48
  "render.d.ts",
49
49
  "router.d.ts",
@@ -73,9 +73,9 @@
73
73
  },
74
74
  "homepage": "https://whatfw.com",
75
75
  "dependencies": {
76
- "what-core": "^0.10.0",
77
- "what-router": "^0.10.0",
78
- "what-server": "^0.10.0",
79
- "what-compiler": "^0.10.0"
76
+ "what-core": "^0.11.1",
77
+ "what-router": "^0.11.1",
78
+ "what-server": "^0.11.1",
79
+ "what-compiler": "^0.11.1"
80
80
  }
81
81
  }
package/render.d.ts CHANGED
@@ -1,9 +1,16 @@
1
1
  export {
2
2
  template,
3
+ _$template,
3
4
  insert,
4
5
  mapArray,
5
6
  spread,
6
7
  setProp,
8
+ setClass,
9
+ setStyle,
10
+ setAttr,
11
+ setValue,
12
+ setChecked,
13
+ memo,
7
14
  delegateEvents,
8
15
  on,
9
16
  classList,
package/src/render.js CHANGED
@@ -3,10 +3,24 @@
3
3
 
4
4
  export {
5
5
  template,
6
+ // Compiler-internal alias: identical to template() but never dev-warns.
7
+ // Compiled output imports this so scaffolded apps don't log the
8
+ // "template() is a compiler internal" guard (SPRINT v0.11 C5).
9
+ _$template,
6
10
  insert,
7
11
  mapArray,
8
12
  spread,
9
13
  setProp,
14
+ // Specialized setters emitted by the compiler for statically-known
15
+ // attribute names (SPRINT v0.11 C2).
16
+ setClass,
17
+ setStyle,
18
+ setAttr,
19
+ setValue,
20
+ setChecked,
21
+ // Equality-gated eager memo — emitted for branch memoization of
22
+ // conditional JSX (SPRINT v0.11 C1).
23
+ memo,
10
24
  delegateEvents,
11
25
  on,
12
26
  classList,
package/dist/compiler.js DELETED
@@ -1,3 +0,0 @@
1
- // packages/what/src/compiler.js
2
- export * from "what-core/compiler";
3
- //# sourceMappingURL=compiler.js.map
@@ -1,7 +0,0 @@
1
- {
2
- "version": 3,
3
- "sources": ["../src/compiler.js"],
4
- "sourcesContent": ["// What Framework - Compiler Runtime Internals\n// Re-exports from what-core/compiler for generated code.\n\nexport * from 'what-core/compiler';\n"],
5
- "mappings": ";AAGA,cAAc;",
6
- "names": []
7
- }
@@ -1,2 +0,0 @@
1
- export*from"what-core/compiler";
2
- //# sourceMappingURL=compiler.min.js.map
@@ -1,7 +0,0 @@
1
- {
2
- "version": 3,
3
- "sources": ["../src/compiler.js"],
4
- "sourcesContent": ["// What Framework - Compiler Runtime Internals\n// Re-exports from what-core/compiler for generated code.\n\nexport * from 'what-core/compiler';\n"],
5
- "mappings": "AAGA,WAAc",
6
- "names": []
7
- }
package/dist/index.js DELETED
@@ -1,3 +0,0 @@
1
- // packages/what/src/index.js
2
- export * from "what-core";
3
- //# sourceMappingURL=index.js.map
package/dist/index.js.map DELETED
@@ -1,7 +0,0 @@
1
- {
2
- "version": 3,
3
- "sources": ["../src/index.js"],
4
- "sourcesContent": ["// What Framework - The closest framework to vanilla JS\n// Main entry point - re-exports everything from core\n\nexport * from 'what-core';\n"],
5
- "mappings": ";AAGA,cAAc;",
6
- "names": []
7
- }
@@ -1,7 +0,0 @@
1
- {
2
- "version": 3,
3
- "sources": ["../src/index.js"],
4
- "sourcesContent": ["// What Framework - The closest framework to vanilla JS\n// Main entry point - re-exports everything from core\n\nexport * from 'what-core';\n"],
5
- "mappings": "AAGA,WAAc",
6
- "names": []
7
- }
@@ -1,9 +0,0 @@
1
- // packages/what/src/jsx-dev-runtime.js
2
- import { jsxDEV, jsx, jsxs, Fragment } from "what-core/jsx-dev-runtime";
3
- export {
4
- Fragment,
5
- jsx,
6
- jsxDEV,
7
- jsxs
8
- };
9
- //# sourceMappingURL=jsx-dev-runtime.js.map
@@ -1,7 +0,0 @@
1
- {
2
- "version": 3,
3
- "sources": ["../src/jsx-dev-runtime.js"],
4
- "sourcesContent": ["export { jsxDEV, jsx, jsxs, Fragment } from 'what-core/jsx-dev-runtime';\n"],
5
- "mappings": ";AAAA,SAAS,QAAQ,KAAK,MAAM,gBAAgB;",
6
- "names": []
7
- }
@@ -1,7 +0,0 @@
1
- {
2
- "version": 3,
3
- "sources": ["../src/jsx-dev-runtime.js"],
4
- "sourcesContent": ["export { jsxDEV, jsx, jsxs, Fragment } from 'what-core/jsx-dev-runtime';\n"],
5
- "mappings": "AAAA,OAAS,UAAAA,EAAQ,OAAAC,EAAK,QAAAC,EAAM,YAAAC,MAAgB",
6
- "names": ["jsxDEV", "jsx", "jsxs", "Fragment"]
7
- }
@@ -1,8 +0,0 @@
1
- // packages/what/src/jsx-runtime.js
2
- import { jsx, jsxs, Fragment } from "what-core/jsx-runtime";
3
- export {
4
- Fragment,
5
- jsx,
6
- jsxs
7
- };
8
- //# sourceMappingURL=jsx-runtime.js.map
@@ -1,7 +0,0 @@
1
- {
2
- "version": 3,
3
- "sources": ["../src/jsx-runtime.js"],
4
- "sourcesContent": ["export { jsx, jsxs, Fragment } from 'what-core/jsx-runtime';\n"],
5
- "mappings": ";AAAA,SAAS,KAAK,MAAM,gBAAgB;",
6
- "names": []
7
- }
@@ -1,7 +0,0 @@
1
- {
2
- "version": 3,
3
- "sources": ["../src/jsx-runtime.js"],
4
- "sourcesContent": ["export { jsx, jsxs, Fragment } from 'what-core/jsx-runtime';\n"],
5
- "mappings": "AAAA,OAAS,OAAAA,EAAK,QAAAC,EAAM,YAAAC,MAAgB",
6
- "names": ["jsx", "jsxs", "Fragment"]
7
- }
package/dist/render.js DELETED
@@ -1,28 +0,0 @@
1
- // packages/what/src/render.js
2
- import {
3
- template,
4
- insert,
5
- mapArray,
6
- spread,
7
- setProp,
8
- delegateEvents,
9
- on,
10
- classList,
11
- effect,
12
- untrack,
13
- _$createComponent
14
- } from "what-core/render";
15
- export {
16
- _$createComponent,
17
- classList,
18
- delegateEvents,
19
- effect,
20
- insert,
21
- mapArray,
22
- on,
23
- setProp,
24
- spread,
25
- template,
26
- untrack
27
- };
28
- //# sourceMappingURL=render.js.map
@@ -1,7 +0,0 @@
1
- {
2
- "version": 3,
3
- "sources": ["../src/render.js"],
4
- "sourcesContent": ["// What Framework - Fine-grained rendering primitives\n// Re-exports from what-core/render\n\nexport {\n template,\n insert,\n mapArray,\n spread,\n setProp,\n delegateEvents,\n on,\n classList,\n effect,\n untrack,\n _$createComponent,\n} from 'what-core/render';\n"],
5
- "mappings": ";AAGA;AAAA,EACE;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,OACK;",
6
- "names": []
7
- }
@@ -1,7 +0,0 @@
1
- {
2
- "version": 3,
3
- "sources": ["../src/render.js"],
4
- "sourcesContent": ["// What Framework - Fine-grained rendering primitives\n// Re-exports from what-core/render\n\nexport {\n template,\n insert,\n mapArray,\n spread,\n setProp,\n delegateEvents,\n on,\n classList,\n effect,\n untrack,\n _$createComponent,\n} from 'what-core/render';\n"],
5
- "mappings": "AAGA,OACE,YAAAA,EACA,UAAAC,EACA,YAAAC,EACA,UAAAC,EACA,WAAAC,EACA,kBAAAC,EACA,MAAAC,EACA,aAAAC,EACA,UAAAC,EACA,WAAAC,EACA,qBAAAC,MACK",
6
- "names": ["template", "insert", "mapArray", "spread", "setProp", "delegateEvents", "on", "classList", "effect", "untrack", "_$createComponent"]
7
- }
package/dist/router.js DELETED
@@ -1,3 +0,0 @@
1
- // packages/what/src/router.js
2
- export * from "what-router";
3
- //# sourceMappingURL=router.js.map
@@ -1,7 +0,0 @@
1
- {
2
- "version": 3,
3
- "sources": ["../src/router.js"],
4
- "sourcesContent": ["// What Framework - Router\n// Re-exports from router package\n\nexport * from 'what-router';\n"],
5
- "mappings": ";AAGA,cAAc;",
6
- "names": []
7
- }
@@ -1,7 +0,0 @@
1
- {
2
- "version": 3,
3
- "sources": ["../src/router.js"],
4
- "sourcesContent": ["// What Framework - Router\n// Re-exports from router package\n\nexport * from 'what-router';\n"],
5
- "mappings": "AAGA,WAAc",
6
- "names": []
7
- }
package/dist/server.js DELETED
@@ -1,4 +0,0 @@
1
- // packages/what/src/server.js
2
- export * from "what-server";
3
- export * from "what-server/islands";
4
- //# sourceMappingURL=server.js.map
@@ -1,7 +0,0 @@
1
- {
2
- "version": 3,
3
- "sources": ["../src/server.js"],
4
- "sourcesContent": ["// What Framework - Server\n// Re-exports from server package (SSR, islands, streaming, actions)\n//\n// what-server main entry re-exports all action + CSRF functions.\n// We avoid `export * from 'what-server/actions'` to prevent duplicate-name\n// ambiguity with the main entry's star export.\n\nexport * from 'what-server';\nexport * from 'what-server/islands';\n"],
5
- "mappings": ";AAOA,cAAc;AACd,cAAc;",
6
- "names": []
7
- }
@@ -1,7 +0,0 @@
1
- {
2
- "version": 3,
3
- "sources": ["../src/server.js"],
4
- "sourcesContent": ["// What Framework - Server\n// Re-exports from server package (SSR, islands, streaming, actions)\n//\n// what-server main entry re-exports all action + CSRF functions.\n// We avoid `export * from 'what-server/actions'` to prevent duplicate-name\n// ambiguity with the main entry's star export.\n\nexport * from 'what-server';\nexport * from 'what-server/islands';\n"],
5
- "mappings": "AAOA,WAAc,cACd,WAAc",
6
- "names": []
7
- }
package/dist/testing.js DELETED
@@ -1,3 +0,0 @@
1
- // packages/what/src/testing.js
2
- export * from "what-core/testing";
3
- //# sourceMappingURL=testing.js.map
@@ -1,7 +0,0 @@
1
- {
2
- "version": 3,
3
- "sources": ["../src/testing.js"],
4
- "sourcesContent": ["// What Framework - Testing utilities\n// Re-exports from core testing module\n\nexport * from 'what-core/testing';\n"],
5
- "mappings": ";AAGA,cAAc;",
6
- "names": []
7
- }
@@ -1,7 +0,0 @@
1
- {
2
- "version": 3,
3
- "sources": ["../src/testing.js"],
4
- "sourcesContent": ["// What Framework - Testing utilities\n// Re-exports from core testing module\n\nexport * from 'what-core/testing';\n"],
5
- "mappings": "AAGA,WAAc",
6
- "names": []
7
- }