@molecule/app-svelte 1.0.1 → 1.0.2
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 +10 -1
- package/package.json +4 -4
package/README.md
CHANGED
|
@@ -3,7 +3,7 @@ AUTO-GENERATED — DO NOT EDIT THIS FILE.
|
|
|
3
3
|
Generated by `mlcl sync-docs` from the package's src/index.ts JSDoc + mlcl/registry.json.
|
|
4
4
|
Edits here are overwritten on the next commit (molecule's pre-commit hook regenerates).
|
|
5
5
|
To change this document, edit the module-level JSDoc in src/index.ts.
|
|
6
|
-
Generated: 2026-
|
|
6
|
+
Generated: 2026-09-15T19:11:43.926Z
|
|
7
7
|
-->
|
|
8
8
|
|
|
9
9
|
# @molecule/app-svelte
|
|
@@ -1111,6 +1111,15 @@ interface ThemeProvider {
|
|
|
1111
1111
|
* support multiple themes.
|
|
1112
1112
|
*/
|
|
1113
1113
|
getThemes?(): Theme[]
|
|
1114
|
+
/**
|
|
1115
|
+
* Returns the theme a render WITHOUT a browser produces — a server or
|
|
1116
|
+
* build-time render, which has no storage and no `prefers-color-scheme`
|
|
1117
|
+
* to read. A hydrating client renders this theme first, so its markup
|
|
1118
|
+
* matches what the server sent, and switches to `getTheme()` right
|
|
1119
|
+
* after. Optional — a provider whose theme cannot differ between the two
|
|
1120
|
+
* need not implement it.
|
|
1121
|
+
*/
|
|
1122
|
+
getServerTheme?(): Theme
|
|
1114
1123
|
}
|
|
1115
1124
|
```
|
|
1116
1125
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@molecule/app-svelte",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.2",
|
|
4
4
|
"description": "Svelte framework bindings for molecule.dev",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.js",
|
|
@@ -40,18 +40,18 @@
|
|
|
40
40
|
"svelte": "^4.0.0 || ^5.0.0"
|
|
41
41
|
},
|
|
42
42
|
"devDependencies": {
|
|
43
|
-
"@molecule/app-utilities": "1.0.
|
|
43
|
+
"@molecule/app-utilities": "1.0.2",
|
|
44
44
|
"@types/node": "26.1.2",
|
|
45
45
|
"svelte": "5.56.8",
|
|
46
46
|
"typescript": "6.0.3",
|
|
47
|
-
"vitest": "4.1.
|
|
47
|
+
"vitest": "4.1.11"
|
|
48
48
|
},
|
|
49
49
|
"repository": {
|
|
50
50
|
"type": "git",
|
|
51
51
|
"url": "https://github.com/molecule-dev/molecule.git",
|
|
52
52
|
"directory": "packages/app/frameworks/svelte"
|
|
53
53
|
},
|
|
54
|
-
"homepage": "https://
|
|
54
|
+
"homepage": "https://www.molecule.dev/packages/app-svelte",
|
|
55
55
|
"bugs": "https://github.com/molecule-dev/molecule/issues",
|
|
56
56
|
"publishConfig": {
|
|
57
57
|
"access": "public"
|