juxscript 1.0.16 → 1.0.17
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/lib/components/docs-data.json +7 -1
- package/package.json +1 -1
- package/presets/notion.jux +0 -27
|
@@ -3471,6 +3471,12 @@
|
|
|
3471
3471
|
"description": "Write - Simple content writer with no component tracking",
|
|
3472
3472
|
"constructor": "jux.write(content: string, options: WriteOptions = {})",
|
|
3473
3473
|
"fluentMethods": [
|
|
3474
|
+
{
|
|
3475
|
+
"name": "html",
|
|
3476
|
+
"params": "(enabled)",
|
|
3477
|
+
"returns": "this",
|
|
3478
|
+
"description": "Set html"
|
|
3479
|
+
},
|
|
3474
3480
|
{
|
|
3475
3481
|
"name": "render",
|
|
3476
3482
|
"params": "(targetSelector?)",
|
|
@@ -3512,5 +3518,5 @@
|
|
|
3512
3518
|
}
|
|
3513
3519
|
],
|
|
3514
3520
|
"version": "1.0.0",
|
|
3515
|
-
"lastUpdated": "2026-01-
|
|
3521
|
+
"lastUpdated": "2026-01-21T22:44:40.980Z"
|
|
3516
3522
|
}
|
package/package.json
CHANGED
package/presets/notion.jux
DELETED
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
// muse: notion layout preset
|
|
2
|
-
export function layout() {
|
|
3
|
-
/* styles */
|
|
4
|
-
jux.include('/examples/presets/notion.css');
|
|
5
|
-
|
|
6
|
-
/* regions */
|
|
7
|
-
jux.header('appheader').render("#app");
|
|
8
|
-
jux.header('appsubheader').render("#app");
|
|
9
|
-
jux.sidebar('appsidebar').render("#app");
|
|
10
|
-
jux.main('appmain').render("#app");
|
|
11
|
-
jux.sidebar('appaside').render("#app");
|
|
12
|
-
jux.footer('appfooter').render("#app");
|
|
13
|
-
jux.modal('appmodal').render("#app");
|
|
14
|
-
|
|
15
|
-
/* theme toggle in header */
|
|
16
|
-
jux.themeToggle('theme-toggle', {
|
|
17
|
-
themes: [
|
|
18
|
-
{ id: 'light', label: 'Light', icon: '☀️' },
|
|
19
|
-
{ id: 'dark', label: 'Dark', icon: '🌙' }
|
|
20
|
-
],
|
|
21
|
-
variant: 'button',
|
|
22
|
-
showLabel: false
|
|
23
|
-
}).render('#appheader');
|
|
24
|
-
}
|
|
25
|
-
|
|
26
|
-
// Auto-run on import
|
|
27
|
-
layout();
|