@molecule/app-svelte 1.0.0 → 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 +25 -16
- package/package.json +19 -19
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
|
|
|
@@ -1981,21 +1990,21 @@ function setThemeContext(provider: ThemeProvider): void
|
|
|
1981
1990
|
|
|
1982
1991
|
Peer dependencies:
|
|
1983
1992
|
|
|
1984
|
-
- `@molecule/app-auth` ^1.0.
|
|
1985
|
-
- `@molecule/app-device` ^1.0.
|
|
1986
|
-
- `@molecule/app-forms` ^1.0.
|
|
1987
|
-
- `@molecule/app-http` ^1.0.
|
|
1988
|
-
- `@molecule/app-i18n` ^1.0.
|
|
1989
|
-
- `@molecule/app-logger` ^1.0.
|
|
1990
|
-
- `@molecule/app-platform` ^1.0.
|
|
1991
|
-
- `@molecule/app-push` ^1.0.
|
|
1992
|
-
- `@molecule/app-routing` ^1.0.
|
|
1993
|
-
- `@molecule/app-state` ^1.0.
|
|
1994
|
-
- `@molecule/app-storage` ^1.0.
|
|
1995
|
-
- `@molecule/app-theme` ^1.0.
|
|
1996
|
-
- `@molecule/app-ui` ^1.0.
|
|
1997
|
-
- `@molecule/app-utilities` ^1.0.
|
|
1998
|
-
- `@molecule/app-version` ^1.0.
|
|
1993
|
+
- `@molecule/app-auth` ^1.0.1
|
|
1994
|
+
- `@molecule/app-device` ^1.0.1
|
|
1995
|
+
- `@molecule/app-forms` ^1.0.1
|
|
1996
|
+
- `@molecule/app-http` ^1.0.1
|
|
1997
|
+
- `@molecule/app-i18n` ^1.0.1
|
|
1998
|
+
- `@molecule/app-logger` ^1.0.1
|
|
1999
|
+
- `@molecule/app-platform` ^1.0.1
|
|
2000
|
+
- `@molecule/app-push` ^1.0.1
|
|
2001
|
+
- `@molecule/app-routing` ^1.0.1
|
|
2002
|
+
- `@molecule/app-state` ^1.0.1
|
|
2003
|
+
- `@molecule/app-storage` ^1.0.1
|
|
2004
|
+
- `@molecule/app-theme` ^1.0.1
|
|
2005
|
+
- `@molecule/app-ui` ^1.0.1
|
|
2006
|
+
- `@molecule/app-utilities` ^1.0.1
|
|
2007
|
+
- `@molecule/app-version` ^1.0.1
|
|
1999
2008
|
- `svelte` ^4.0.0 || ^5.0.0
|
|
2000
2009
|
|
|
2001
2010
|
### Runtime Dependencies
|
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",
|
|
@@ -22,36 +22,36 @@
|
|
|
22
22
|
"node": ">=20"
|
|
23
23
|
},
|
|
24
24
|
"peerDependencies": {
|
|
25
|
-
"@molecule/app-auth": "^1.0.
|
|
26
|
-
"@molecule/app-device": "^1.0.
|
|
27
|
-
"@molecule/app-forms": "^1.0.
|
|
28
|
-
"@molecule/app-http": "^1.0.
|
|
29
|
-
"@molecule/app-i18n": "^1.0.
|
|
30
|
-
"@molecule/app-logger": "^1.0.
|
|
31
|
-
"@molecule/app-platform": "^1.0.
|
|
32
|
-
"@molecule/app-push": "^1.0.
|
|
33
|
-
"@molecule/app-routing": "^1.0.
|
|
34
|
-
"@molecule/app-state": "^1.0.
|
|
35
|
-
"@molecule/app-storage": "^1.0.
|
|
36
|
-
"@molecule/app-theme": "^1.0.
|
|
37
|
-
"@molecule/app-ui": "^1.0.
|
|
38
|
-
"@molecule/app-utilities": "^1.0.
|
|
39
|
-
"@molecule/app-version": "^1.0.
|
|
25
|
+
"@molecule/app-auth": "^1.0.1",
|
|
26
|
+
"@molecule/app-device": "^1.0.1",
|
|
27
|
+
"@molecule/app-forms": "^1.0.1",
|
|
28
|
+
"@molecule/app-http": "^1.0.1",
|
|
29
|
+
"@molecule/app-i18n": "^1.0.1",
|
|
30
|
+
"@molecule/app-logger": "^1.0.1",
|
|
31
|
+
"@molecule/app-platform": "^1.0.1",
|
|
32
|
+
"@molecule/app-push": "^1.0.1",
|
|
33
|
+
"@molecule/app-routing": "^1.0.1",
|
|
34
|
+
"@molecule/app-state": "^1.0.1",
|
|
35
|
+
"@molecule/app-storage": "^1.0.1",
|
|
36
|
+
"@molecule/app-theme": "^1.0.1",
|
|
37
|
+
"@molecule/app-ui": "^1.0.1",
|
|
38
|
+
"@molecule/app-utilities": "^1.0.1",
|
|
39
|
+
"@molecule/app-version": "^1.0.1",
|
|
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"
|