@abraca/junis 2.92.0 → 2.93.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.
- package/dist/module.json +1 -1
- package/dist/module.mjs +27 -5
- package/dist/runtime/assets/css/jun.css +1 -1
- package/dist/runtime/components/JunDocSurface.vue +1 -1
- package/dist/runtime/components/JunHead.vue +35 -4
- package/dist/runtime/components/JunHorizontalTimeline.vue +1 -1
- package/dist/runtime/components/JunImagePopup.client.vue +7 -2
- package/dist/runtime/components/JunNavMenu.client.vue +3 -3
- package/dist/runtime/components/JunNavPreview.d.vue.ts +2 -1
- package/dist/runtime/components/JunNavPreview.vue +61 -1
- package/dist/runtime/components/JunNavPreview.vue.d.ts +2 -1
- package/dist/runtime/components/JunNavigation.vue +110 -4
- package/dist/runtime/components/JunNotFound.vue +1 -1
- package/dist/runtime/components/JunReaders.vue +1 -1
- package/dist/runtime/components/JunShell.vue +20 -3
- package/dist/runtime/components/JunStudioBar.client.vue +1 -1
- package/dist/runtime/components/renderers/JunConfigRenderer.vue +179 -0
- package/dist/runtime/components/renderers/JunGardenRenderer.vue +45 -8
- package/dist/runtime/components/renderers/JunHomeRenderer.vue +2 -2
- package/dist/runtime/composables/useJunMobile.d.ts +5 -0
- package/dist/runtime/composables/useJunMobile.js +56 -0
- package/dist/runtime/composables/useJunNavItems.js +22 -1
- package/dist/runtime/composables/useJunNavSettings.d.ts +8 -1
- package/dist/runtime/composables/useJunNavSettings.js +21 -1
- package/dist/runtime/composables/useJunOptions.d.ts +2 -2
- package/dist/runtime/composables/useJunSettings.d.ts +1 -1
- package/dist/runtime/composables/useJunSettings.js +4 -0
- package/dist/runtime/composables/useJunSiteConfig.d.ts +63 -2
- package/dist/runtime/composables/useJunTheme.js +3 -7
- package/dist/runtime/error.vue +2 -2
- package/dist/runtime/layouts/jun.vue +3 -1
- package/dist/runtime/pages/doc.vue +1 -1
- package/dist/runtime/pages/index.vue +1 -1
- package/dist/runtime/server/routes/manifest.webmanifest.get.js +18 -0
- package/dist/runtime/types.d.ts +56 -2
- package/dist/runtime/utils/junIdentity.d.ts +13 -0
- package/dist/runtime/utils/junIdentity.js +7 -3
- package/dist/runtime/utils/junMark.d.ts +35 -0
- package/dist/runtime/utils/junMark.js +11 -0
- package/dist/runtime/utils/junNavValue.js +8 -1
- package/package.json +2 -1
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
import { computed, onScopeDispose, watch } from "vue";
|
|
2
|
+
import { useHead } from "#app";
|
|
3
|
+
import { useJunEffectiveConfig } from "./useJunSiteConfig.js";
|
|
4
|
+
import { useJunOptions } from "./useJunOptions.js";
|
|
5
|
+
const STANDALONE_BOOT = `try{var d=document.documentElement,m=window.matchMedia;if(navigator.standalone===true||(m&&(m('(display-mode: standalone)').matches||m('(display-mode: fullscreen)').matches||m('(display-mode: minimal-ui)').matches)))d.setAttribute('data-jun-standalone','')}catch(e){}`;
|
|
6
|
+
function junZoomMode(stored, lockZoom) {
|
|
7
|
+
if (stored === "on" || stored === "app" || stored === "off") return stored;
|
|
8
|
+
return lockZoom ? "off" : "on";
|
|
9
|
+
}
|
|
10
|
+
function junStatusBarMode(stored) {
|
|
11
|
+
return stored === "auto" || stored === "contrast" || stored === "none" ? stored : "auto";
|
|
12
|
+
}
|
|
13
|
+
export function useJunMobile() {
|
|
14
|
+
const { features } = useJunOptions();
|
|
15
|
+
const config = useJunEffectiveConfig();
|
|
16
|
+
const zoom = computed(() => junZoomMode(config.value.mobileZoom, features.lockZoom === true));
|
|
17
|
+
const statusBar = computed(() => junStatusBarMode(config.value.mobileStatusBar));
|
|
18
|
+
const zoomAttr = computed(() => zoom.value === "on" ? void 0 : zoom.value === "off" ? "locked" : "app");
|
|
19
|
+
const pullAttr = computed(() => config.value.mobilePullRefresh === true ? "on" : "off");
|
|
20
|
+
const selectAttr = computed(() => {
|
|
21
|
+
const v = config.value.mobileChromeSelect;
|
|
22
|
+
return v === true ? "on" : v === false ? "off" : void 0;
|
|
23
|
+
});
|
|
24
|
+
useHead({
|
|
25
|
+
htmlAttrs: {
|
|
26
|
+
"data-jun-zoom": zoomAttr,
|
|
27
|
+
"data-jun-statusbar": statusBar,
|
|
28
|
+
"data-jun-pull": pullAttr,
|
|
29
|
+
"data-jun-select": selectAttr
|
|
30
|
+
},
|
|
31
|
+
script: [{
|
|
32
|
+
key: "jun-standalone",
|
|
33
|
+
innerHTML: STANDALONE_BOOT,
|
|
34
|
+
tagPosition: "head"
|
|
35
|
+
}]
|
|
36
|
+
});
|
|
37
|
+
if (import.meta.client) {
|
|
38
|
+
const block = (e) => e.preventDefault();
|
|
39
|
+
const EVENTS = ["gesturestart", "gesturechange", "gestureend"];
|
|
40
|
+
let bound = false;
|
|
41
|
+
const bind = (on) => {
|
|
42
|
+
if (on === bound) return;
|
|
43
|
+
bound = on;
|
|
44
|
+
for (const name of EVENTS) {
|
|
45
|
+
if (on) document.addEventListener(name, block, { passive: false });
|
|
46
|
+
else document.removeEventListener(name, block);
|
|
47
|
+
}
|
|
48
|
+
};
|
|
49
|
+
watch(zoom, (mode) => {
|
|
50
|
+
const standalone = document.documentElement.hasAttribute("data-jun-standalone");
|
|
51
|
+
bind(mode === "off" || mode === "app" && standalone);
|
|
52
|
+
}, { immediate: true });
|
|
53
|
+
onScopeDispose(() => bind(false));
|
|
54
|
+
}
|
|
55
|
+
return { zoom, statusBar };
|
|
56
|
+
}
|
|
@@ -48,7 +48,28 @@ export function useJunNavItems(items, options = {}) {
|
|
|
48
48
|
id: e.id,
|
|
49
49
|
name: e.label || "Untitled",
|
|
50
50
|
href: getDocUrl(e.id),
|
|
51
|
-
|
|
51
|
+
/*
|
|
52
|
+
* RESOLVED, the same way a top-level item's is — and it was neither.
|
|
53
|
+
*
|
|
54
|
+
* Two faults stood on top of each other and the symptom was one thing:
|
|
55
|
+
* the sub-page flyout, the mobile menu and the dock's `⋯` list all
|
|
56
|
+
* rendered without icons.
|
|
57
|
+
*
|
|
58
|
+
* 1. `meta.icon` is stored BARE by project convention (`book-open`),
|
|
59
|
+
* and Iconify needs the collection (`i-lucide-book-open`). A bare
|
|
60
|
+
* name resolves to no collection and paints NOTHING — no error, no
|
|
61
|
+
* placeholder, an empty box. The track normalises in `JunShell`;
|
|
62
|
+
* this list never did.
|
|
63
|
+
* 2. There was no page-TYPE fallback. A top-level item without its own
|
|
64
|
+
* `meta.icon` gets its type's registered icon through `iconFor`;
|
|
65
|
+
* a child got `undefined`, and the template's `v-if="child.icon"`
|
|
66
|
+
* dropped it. Since most pages never have an icon set by hand, that
|
|
67
|
+
* was nearly every child on nearly every site.
|
|
68
|
+
*
|
|
69
|
+
* `docIcon` is the one function that does both, and it is already what
|
|
70
|
+
* `iconFor` calls for the items above.
|
|
71
|
+
*/
|
|
72
|
+
icon: docIcon(e.type, e.meta?.icon),
|
|
52
73
|
type: e.type
|
|
53
74
|
}));
|
|
54
75
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { JunNavActiveStyle, JunNavAlign, JunNavBreakpoint, JunNavChildrenMode, JunNavItemMode, JunNavLogoAction, JunNavMenuIcon, JunNavMenuSide, JunNavMobileItemMode, JunNavMobileMode, JunNavMobilePlacement, JunNavOverflow, JunNavPlacement, JunNavRailBreakpoint, JunNavCountMode, JunNavSectionMode, JunNavShape, JunNavSize, JunNavWidth } from '../types.js';
|
|
1
|
+
import type { JunNavActiveStyle, JunNavAlign, JunNavBreakpoint, JunNavChildrenMode, JunNavItemMode, JunNavLogoAction, JunNavMenuIcon, JunNavMenuSide, JunNavMobileBar, JunNavMobileItemMode, JunNavMobileMode, JunNavMobilePlacement, JunNavMobileTitle, JunNavOverflow, JunNavPlacement, JunNavRailBreakpoint, JunNavCountMode, JunNavSectionMode, JunNavShape, JunNavSize, JunNavWidth } from '../types.js';
|
|
2
2
|
/**
|
|
3
3
|
* The pixel width of each breakpoint, for the ONE consumer that cannot use a
|
|
4
4
|
* Tailwind class: `useMediaQuery`. Everything that can express the switch in
|
|
@@ -67,6 +67,13 @@ export declare function useJunNavSettings(): {
|
|
|
67
67
|
*/
|
|
68
68
|
mobileMode: import("vue").ComputedRef<JunNavMobileMode>;
|
|
69
69
|
mobilePlacement: import("vue").ComputedRef<JunNavMobilePlacement>;
|
|
70
|
+
/**
|
|
71
|
+
* What the phone bar IS, as opposed to what the phone MENU is. Separated
|
|
72
|
+
* because they were conflated: five of the seven `mobileMode` values
|
|
73
|
+
* rendered a byte-identical bar, and only the overlay behind it differed.
|
|
74
|
+
*/
|
|
75
|
+
mobileBar: import("vue").ComputedRef<JunNavMobileBar>;
|
|
76
|
+
mobileTitle: import("vue").ComputedRef<JunNavMobileTitle>;
|
|
70
77
|
breakpoint: import("vue").ComputedRef<JunNavBreakpoint>;
|
|
71
78
|
railBreakpoint: import("vue").ComputedRef<JunNavRailBreakpoint>;
|
|
72
79
|
menuIcon: import("vue").ComputedRef<JunNavMenuIcon>;
|
|
@@ -14,6 +14,8 @@ const COUNT_MODES = ["off", "children", "new"];
|
|
|
14
14
|
const SECTION_MODES = ["off", "row", "segmented", "tabs"];
|
|
15
15
|
const MOBILE_MODES = ["track", "sheet", "drawer-left", "drawer-right", "fullscreen", "grid", "dock"];
|
|
16
16
|
const MOBILE_PLACEMENTS = ["inherit", "top", "top-bar", "bottom"];
|
|
17
|
+
const MOBILE_BARS = ["bar", "inset", "edge", "split", "float", "none"];
|
|
18
|
+
const MOBILE_TITLES = ["off", "page", "site"];
|
|
17
19
|
const BREAKPOINTS = ["sm", "md", "lg"];
|
|
18
20
|
const RAIL_BREAKPOINTS = ["lg", "md", "xl"];
|
|
19
21
|
const MENU_ICONS = ["menu", "grid", "dots", "chevron"];
|
|
@@ -35,12 +37,13 @@ export function useJunNavSettings() {
|
|
|
35
37
|
const abra = useAbracadabra();
|
|
36
38
|
const { getEntry } = useDocTree();
|
|
37
39
|
const { docId } = useSlugRoute();
|
|
40
|
+
const preview = computed(() => junNavPreview(route.query["jun-nav"]));
|
|
38
41
|
const docNav = computed(() => {
|
|
39
42
|
const id = docId.value ?? (route.path === "/" ? abra.spaceDocId.value : null);
|
|
40
43
|
if (!id) return {};
|
|
41
44
|
const view = getEntry(id)?.meta?.junView;
|
|
42
45
|
const stored = view && typeof view === "object" ? view : {};
|
|
43
|
-
return { ...stored, ...
|
|
46
|
+
return { ...stored, ...preview.value };
|
|
44
47
|
});
|
|
45
48
|
const config = useJunEffectiveConfig();
|
|
46
49
|
function pick(stored, allowed, fallback, doc) {
|
|
@@ -119,6 +122,23 @@ export function useJunNavSettings() {
|
|
|
119
122
|
*/
|
|
120
123
|
mobileMode,
|
|
121
124
|
mobilePlacement: computed(() => pick(config.value.navMobilePlacement, MOBILE_PLACEMENTS, navigation.mobilePlacement)),
|
|
125
|
+
/**
|
|
126
|
+
* What the phone bar IS, as opposed to what the phone MENU is. Separated
|
|
127
|
+
* because they were conflated: five of the seven `mobileMode` values
|
|
128
|
+
* rendered a byte-identical bar, and only the overlay behind it differed.
|
|
129
|
+
*/
|
|
130
|
+
/*
|
|
131
|
+
* `?jun-nav=bar:float` outranks the stored value, and writes nothing.
|
|
132
|
+
*
|
|
133
|
+
* Read from the preview OBJECT rather than from `docNav`, because these two
|
|
134
|
+
* have no document layer and must not gain one: a page deciding the site
|
|
135
|
+
* has no navigation is not a state any site should be able to reach by
|
|
136
|
+
* accident. The preview exists for the same reason it does for the mobile
|
|
137
|
+
* mode — an owner comparing shapes without saving one, and a suite that is
|
|
138
|
+
* a VISITOR and cannot change a site's settings at all.
|
|
139
|
+
*/
|
|
140
|
+
mobileBar: computed(() => pick(config.value.navMobileBar, MOBILE_BARS, navigation.mobileBar, preview.value.navMobileBar)),
|
|
141
|
+
mobileTitle: computed(() => pick(config.value.navMobileTitle, MOBILE_TITLES, navigation.mobileTitle, preview.value.navMobileTitle)),
|
|
122
142
|
breakpoint: computed(() => pick(config.value.navBreakpoint, BREAKPOINTS, navigation.breakpoint)),
|
|
123
143
|
railBreakpoint: computed(() => pick(config.value.navRailBreakpoint, RAIL_BREAKPOINTS, navigation.railBreakpoint)),
|
|
124
144
|
menuIcon: computed(() => pick(config.value.navMenuIcon, MENU_ICONS, navigation.menuIcon)),
|
|
@@ -9,9 +9,9 @@ export declare function useJunBrand(): import("vue").ComputedRef<{
|
|
|
9
9
|
avatar: string;
|
|
10
10
|
logoMark: import("../types.js").JunLogoMark;
|
|
11
11
|
logoVariant: import("../types.js").JunLogoVariant;
|
|
12
|
-
themeColor
|
|
12
|
+
themeColor?: string;
|
|
13
13
|
lang: string;
|
|
14
|
-
iconBackground
|
|
14
|
+
iconBackground?: string;
|
|
15
15
|
schemaType: import("../types.js").JunBrand["schemaType"];
|
|
16
16
|
}>;
|
|
17
17
|
/** Site-wide feature flags. */
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export type JunSettingsSection = 'identity' | 'navigation' | 'mark' | 'theme' | 'announcement' | 'campfire' | 'footer' | 'visitors' | 'offline' | 'renderers';
|
|
1
|
+
export type JunSettingsSection = 'identity' | 'navigation' | 'mark' | 'theme' | 'announcement' | 'campfire' | 'footer' | 'mobile' | 'visitors' | 'offline' | 'renderers';
|
|
2
2
|
export interface JunSettingsSectionDef {
|
|
3
3
|
id: JunSettingsSection;
|
|
4
4
|
label: string;
|
|
@@ -7,6 +7,10 @@ export const JUN_SETTINGS_SECTIONS = [
|
|
|
7
7
|
{ id: "announcement", label: "Announcement", icon: "i-lucide-megaphone", hint: "The ribbon across the top" },
|
|
8
8
|
{ id: "campfire", label: "User center", icon: "i-lucide-flame", hint: "Chat, presence, reactions" },
|
|
9
9
|
{ id: "footer", label: "Footer", icon: "i-lucide-panel-bottom", hint: "The line at the bottom" },
|
|
10
|
+
// Before Visitors, because it is about the DEVICE a visitor arrives on rather
|
|
11
|
+
// than about what they may contribute. It is also the only section whose
|
|
12
|
+
// effects most owners will never see on the machine they configure them from.
|
|
13
|
+
{ id: "mobile", label: "Mobile", icon: "i-lucide-smartphone", hint: "Phones, and the installed app" },
|
|
10
14
|
{ id: "visitors", label: "Visitors", icon: "i-lucide-users", hint: "Guestbook, feeds, people" },
|
|
11
15
|
// After Visitors, because it is about what a visitor may take away with them.
|
|
12
16
|
{ id: "offline", label: "Offline", icon: "i-lucide-cloud-download", hint: "What a reader may keep on their device" },
|
|
@@ -48,8 +48,8 @@
|
|
|
48
48
|
*/
|
|
49
49
|
import { type ComputedRef } from 'vue';
|
|
50
50
|
import type { TreeEntry } from '@abraca/nuxt';
|
|
51
|
-
import type { JunBackdropKind, JunBackgroundFit, JunCampfirePillMode, JunCampfirePlacement, JunCampfireRosterStyle, JunCampfireSize, JunCampfireTab, JunNavActiveStyle, JunNavAlign, JunNavBreakpoint, JunNavChildrenMode, JunNavItemMode, JunNavLogoAction, JunNavMenuIcon, JunNavMenuSide, JunNavMobileItemMode, JunNavMobileMode, JunNavMobilePlacement, JunNavOverflow, JunNavPlacement, JunNavCountMode, JunNavSectionMode, JunNavRailBreakpoint, JunNavShape, JunNavSize, JunNavWidth } from '../types.js';
|
|
52
|
-
export type { JunBackdropKind, JunBackgroundFit, JunCampfirePillMode, JunCampfirePlacement, JunCampfireRosterStyle, JunCampfireSize, JunCampfireTab, JunNavActiveStyle, JunNavAlign, JunNavBreakpoint, JunNavChildrenMode, JunNavItemMode, JunNavLogoAction, JunNavMenuIcon, JunNavMenuSide, JunNavMobileItemMode, JunNavMobileMode, JunNavMobilePlacement, JunNavOverflow, JunNavPlacement, JunNavRailBreakpoint, JunNavShape, JunNavSize, JunNavWidth, } from '../types.js';
|
|
51
|
+
import type { JunBackdropKind, JunBackgroundFit, JunCampfirePillMode, JunCampfirePlacement, JunCampfireRosterStyle, JunCampfireSize, JunCampfireTab, JunNavActiveStyle, JunNavAlign, JunNavBreakpoint, JunNavChildrenMode, JunNavItemMode, JunNavLogoAction, JunNavMenuIcon, JunNavMenuSide, JunNavMobileBar, JunNavMobileItemMode, JunNavMobileMode, JunNavMobilePlacement, JunNavMobileTitle, JunNavOverflow, JunNavPlacement, JunNavCountMode, JunNavSectionMode, JunNavRailBreakpoint, JunNavShape, JunNavSize, JunNavWidth } from '../types.js';
|
|
52
|
+
export type { JunBackdropKind, JunBackgroundFit, JunCampfirePillMode, JunCampfirePlacement, JunCampfireRosterStyle, JunCampfireSize, JunCampfireTab, JunNavActiveStyle, JunNavAlign, JunNavBreakpoint, JunNavChildrenMode, JunNavItemMode, JunNavLogoAction, JunNavMenuIcon, JunNavMenuSide, JunNavMobileBar, JunNavMobileItemMode, JunNavMobileMode, JunNavMobilePlacement, JunNavMobileTitle, JunNavOverflow, JunNavPlacement, JunNavRailBreakpoint, JunNavShape, JunNavSize, JunNavWidth, } from '../types.js';
|
|
53
53
|
export type JunThemeRadius = 'none' | 'xs' | 'sm' | 'md' | 'lg' | 'xl';
|
|
54
54
|
export type JunThemeAccent = 'mono' | 'sun' | 'blue' | 'emerald' | 'violet' | 'amber' | 'rose' | 'teal';
|
|
55
55
|
export type JunThemeNeutral = 'slate' | 'zinc' | 'stone';
|
|
@@ -68,6 +68,35 @@ export type JunThemeFont = 'default' | 'serif' | 'grotesk' | 'mono' | 'editorial
|
|
|
68
68
|
* control as much as a visual one — see the block at the end of `jun.css`.
|
|
69
69
|
*/
|
|
70
70
|
export type JunThemeSurface = 'glass' | 'soft' | 'solid';
|
|
71
|
+
/**
|
|
72
|
+
* Pinch zoom, in three answers rather than two.
|
|
73
|
+
*
|
|
74
|
+
* `on` is the default and the only one that is unambiguously correct as a
|
|
75
|
+
* default: blocking zoom is WCAG 1.4.4 (Resize Text), and a public website
|
|
76
|
+
* whose reader cannot enlarge it has failed a Level AA criterion.
|
|
77
|
+
*
|
|
78
|
+
* `app` is the interesting one, and it is why this is not a boolean. A page
|
|
79
|
+
* open in a browser is a PAGE — the reader's zoom, find-in-page and font size
|
|
80
|
+
* all apply, and taking any of them away is indefensible. The same site
|
|
81
|
+
* launched from the home screen is something they chose to install, has no
|
|
82
|
+
* browser chrome, and has every fixed layer in this module laid out against a
|
|
83
|
+
* viewport that pinch-zoom silently rescales. So: a page in a tab, an app on
|
|
84
|
+
* the home screen.
|
|
85
|
+
*
|
|
86
|
+
* `off` locks it everywhere, for a kiosk or a signage screen.
|
|
87
|
+
*/
|
|
88
|
+
export type JunMobileZoom = 'on' | 'app' | 'off';
|
|
89
|
+
/**
|
|
90
|
+
* What backs the iOS status bar in a standalone install.
|
|
91
|
+
*
|
|
92
|
+
* `auto` scrims it in LIGHT mode only — `black-translucent` forces the clock
|
|
93
|
+
* and the battery to white, which is right on a dark page and invisible on a
|
|
94
|
+
* pale one. `contrast` is the solid band, for a site whose top edge is busy
|
|
95
|
+
* enough that a scrim is not enough. `none` leaves the page's own colours to
|
|
96
|
+
* run all the way up, which is right for a site that is dark, or one whose
|
|
97
|
+
* pages open on a photograph.
|
|
98
|
+
*/
|
|
99
|
+
export type JunMobileStatusBar = 'auto' | 'contrast' | 'none';
|
|
71
100
|
export interface JunSiteConfig {
|
|
72
101
|
/** SEO */
|
|
73
102
|
seoTitle?: string;
|
|
@@ -109,6 +138,30 @@ export interface JunSiteConfig {
|
|
|
109
138
|
gesturePages?: boolean;
|
|
110
139
|
/** Swipe in from a screen edge to open the navigation menu. Unset means on. */
|
|
111
140
|
gestureEdge?: boolean;
|
|
141
|
+
/**
|
|
142
|
+
* Mobile — how the site behaves on a phone, and how much of an APP it is
|
|
143
|
+
* when somebody adds it to their home screen.
|
|
144
|
+
*
|
|
145
|
+
* Every key here is applied live by `useJunMobile`, which writes the
|
|
146
|
+
* attributes `jun.css` keys off. `mobileZoom` additionally moves the viewport
|
|
147
|
+
* meta, which is the half only a fresh load can change.
|
|
148
|
+
*/
|
|
149
|
+
mobileZoom?: JunMobileZoom;
|
|
150
|
+
mobileStatusBar?: JunMobileStatusBar;
|
|
151
|
+
/**
|
|
152
|
+
* Pull down at the top of a page to reload it. Unset means OFF — an
|
|
153
|
+
* installed app that reloads when a reader over-scrolls is not an app, and
|
|
154
|
+
* over-scroll on the horizontal axis is off regardless, because on iOS a
|
|
155
|
+
* sideways flick over any wide element is the browser's back gesture.
|
|
156
|
+
*/
|
|
157
|
+
mobilePullRefresh?: boolean;
|
|
158
|
+
/**
|
|
159
|
+
* Let a long press select the site's own CHROME — the navbar, the studio
|
|
160
|
+
* bar, the floating bars. Unset means off in an installed app (where a
|
|
161
|
+
* toolbar turning blue reads as a defect) and on in a browser tab.
|
|
162
|
+
* Page CONTENT always selects; this never touches prose.
|
|
163
|
+
*/
|
|
164
|
+
mobileChromeSelect?: boolean;
|
|
112
165
|
/** Navigation — every key falls back to the build-time `jun.navigation` default. */
|
|
113
166
|
navItemMode?: JunNavItemMode;
|
|
114
167
|
navActiveStyle?: JunNavActiveStyle;
|
|
@@ -138,6 +191,14 @@ export interface JunSiteConfig {
|
|
|
138
191
|
/** Mobile navigation — the menu that replaces the track below `navBreakpoint`. */
|
|
139
192
|
navMobileMode?: JunNavMobileMode;
|
|
140
193
|
navMobilePlacement?: JunNavMobilePlacement;
|
|
194
|
+
/**
|
|
195
|
+
* The phone BAR, as opposed to the phone MENU. `mobileMode` decides what
|
|
196
|
+
* opens; this decides whether there is a bar to open it from, and what shape
|
|
197
|
+
* it is. See `JunNavMobileBar` for why the two had to be separated.
|
|
198
|
+
*/
|
|
199
|
+
navMobileBar?: JunNavMobileBar;
|
|
200
|
+
/** What the phone bar names — nothing, the page's title, or the site's. */
|
|
201
|
+
navMobileTitle?: JunNavMobileTitle;
|
|
141
202
|
navBreakpoint?: JunNavBreakpoint;
|
|
142
203
|
navMenuIcon?: JunNavMenuIcon;
|
|
143
204
|
navMenuSide?: JunNavMenuSide;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { computed, watchEffect } from "vue";
|
|
2
2
|
import { useHead, useNuxtData } from "#app";
|
|
3
3
|
import { useJunSiteConfig } from "./useJunSiteConfig.js";
|
|
4
|
-
import { JUN_ACCENTS, junShade, junSunColors } from "../utils/junMark.js";
|
|
4
|
+
import { JUN_ACCENTS, JUN_NEUTRAL_STEPS, JUN_NEUTRALS, junShade, junSunColors } from "../utils/junMark.js";
|
|
5
5
|
import { junSetMotionFloor, junSetMotionLevel } from "../utils/junMotion.js";
|
|
6
6
|
const RADIUS = {
|
|
7
7
|
none: "0px",
|
|
@@ -12,11 +12,7 @@ const RADIUS = {
|
|
|
12
12
|
xl: "1rem"
|
|
13
13
|
};
|
|
14
14
|
const ACCENT = JUN_ACCENTS;
|
|
15
|
-
const NEUTRAL =
|
|
16
|
-
slate: ["#f8fafc", "#f1f5f9", "#e2e8f0", "#cbd5e1", "#94a3b8", "#64748b", "#475569", "#334155", "#1e293b", "#0f172a", "#020617"],
|
|
17
|
-
zinc: ["#fafafa", "#f4f4f5", "#e4e4e7", "#d4d4d8", "#a1a1aa", "#71717a", "#52525b", "#3f3f46", "#27272a", "#18181b", "#09090b"],
|
|
18
|
-
stone: ["#fafaf9", "#f5f5f4", "#e7e5e4", "#d6d3d1", "#a8a29e", "#78716c", "#57534e", "#44403c", "#292524", "#1c1917", "#0c0a09"]
|
|
19
|
-
};
|
|
15
|
+
const NEUTRAL = JUN_NEUTRALS;
|
|
20
16
|
const TYPE_SCALE = {
|
|
21
17
|
small: "94%",
|
|
22
18
|
normal: "",
|
|
@@ -27,7 +23,7 @@ const DENSITY = {
|
|
|
27
23
|
normal: "",
|
|
28
24
|
airy: "1.18"
|
|
29
25
|
};
|
|
30
|
-
const NEUTRAL_STEPS =
|
|
26
|
+
const NEUTRAL_STEPS = JUN_NEUTRAL_STEPS;
|
|
31
27
|
const BLOBS = {
|
|
32
28
|
off: "0",
|
|
33
29
|
quiet: "0.5",
|
package/dist/runtime/error.vue
CHANGED
|
@@ -17,7 +17,7 @@ useSeoMeta({
|
|
|
17
17
|
|
|
18
18
|
<template>
|
|
19
19
|
<UApp>
|
|
20
|
-
<div class="
|
|
20
|
+
<div class="jun-app-floor relative">
|
|
21
21
|
<!-- The plain theme base. The backdrop is a layout concern and the
|
|
22
22
|
layout is exactly what may not have mounted. -->
|
|
23
23
|
<div
|
|
@@ -33,7 +33,7 @@ useSeoMeta({
|
|
|
33
33
|
|
|
34
34
|
<div
|
|
35
35
|
v-else
|
|
36
|
-
class="flex min-h-[
|
|
36
|
+
class="flex min-h-[70dvh] items-center justify-center px-4"
|
|
37
37
|
>
|
|
38
38
|
<div class="w-full max-w-md text-center">
|
|
39
39
|
<p
|
|
@@ -7,6 +7,7 @@ import {
|
|
|
7
7
|
useJunCampfireSettings,
|
|
8
8
|
useJunEffectiveConfig,
|
|
9
9
|
useJunIntro,
|
|
10
|
+
useJunMobile,
|
|
10
11
|
useJunOptions,
|
|
11
12
|
useJunPresenceBroadcast,
|
|
12
13
|
useJunRouteGeoHeal,
|
|
@@ -42,6 +43,7 @@ useJunSiteConfigMigration();
|
|
|
42
43
|
useJunSlugAliasTracker();
|
|
43
44
|
useJunRouteGeoHeal();
|
|
44
45
|
useJunThemeApply();
|
|
46
|
+
useJunMobile();
|
|
45
47
|
if (import.meta.client && contextMenu.suppressNative) {
|
|
46
48
|
useEventListener(
|
|
47
49
|
document,
|
|
@@ -57,7 +59,7 @@ if (import.meta.client && contextMenu.suppressNative) {
|
|
|
57
59
|
</script>
|
|
58
60
|
|
|
59
61
|
<template>
|
|
60
|
-
<div class="
|
|
62
|
+
<div class="jun-app-floor relative">
|
|
61
63
|
<!-- Bypass the navbar. THE FIRST FOCUSABLE THING ON THE PAGE, and that is
|
|
62
64
|
the whole feature: put it inside `<JunShell>` and the navbar renders
|
|
63
65
|
first, so the link is stop twenty-six rather than stop one. (It was,
|
|
@@ -141,7 +141,7 @@ const cachedHtml = computed(() => hidden.value ? "" : resolved.value?.html ?? ""
|
|
|
141
141
|
and it is what a crawler gets on a document the tree has not reached. -->
|
|
142
142
|
<div
|
|
143
143
|
v-else-if="cachedHtml"
|
|
144
|
-
class="
|
|
144
|
+
class="jun-app-floor pt-24"
|
|
145
145
|
>
|
|
146
146
|
<div :class="['mx-auto w-full', flowMaxW]">
|
|
147
147
|
<div
|
|
@@ -37,6 +37,24 @@ export default defineEventHandler(async (event) => {
|
|
|
37
37
|
// to `standalone`, which is the same thing `display` already said.
|
|
38
38
|
display_override: ["standalone", "minimal-ui"],
|
|
39
39
|
orientation: "any",
|
|
40
|
+
/*
|
|
41
|
+
* The installed app's status bar, and the splash behind its icon.
|
|
42
|
+
*
|
|
43
|
+
* A manifest is SCHEME-BLIND — one value, whatever the device is set to —
|
|
44
|
+
* so this is the one surface that cannot simply follow `--jun-canvas`. It
|
|
45
|
+
* takes the DARK canvas, and that is a choice with a reason rather than a
|
|
46
|
+
* default: an app with a dark status bar is a thing apps do (it is the same
|
|
47
|
+
* posture `apple-mobile-web-app-status-bar-style: black-translucent` fixes
|
|
48
|
+
* on iOS, so the two platforms now agree), and a splash that flashes white
|
|
49
|
+
* before a dark page is worse than one that flashes dark before a light
|
|
50
|
+
* one. What it must NOT be is a fifth independent grey, which is what
|
|
51
|
+
* `brand.themeColor`'s literal `#0e0f11` was against a `#0c0a09` page.
|
|
52
|
+
*
|
|
53
|
+
* `brand.themeColor` still wins when a site states one: that key exists
|
|
54
|
+
* precisely so an owner can say "this is my app's colour", and a derived
|
|
55
|
+
* value must not overrule a stated one. `junIdentity` resolves that
|
|
56
|
+
* precedence — stated, else the dark canvas — so this reads one field.
|
|
57
|
+
*/
|
|
40
58
|
background_color: brand.themeColor,
|
|
41
59
|
theme_color: brand.themeColor,
|
|
42
60
|
icons: [
|
package/dist/runtime/types.d.ts
CHANGED
|
@@ -404,6 +404,51 @@ export type JunNavMobileMode = 'track' | 'sheet' | 'drawer-left' | 'drawer-right
|
|
|
404
404
|
* within thumb reach is a phone one.
|
|
405
405
|
*/
|
|
406
406
|
export type JunNavMobilePlacement = 'inherit' | 'top' | 'top-bar' | 'bottom';
|
|
407
|
+
/**
|
|
408
|
+
* What the phone bar IS — as opposed to `mobileMode`, which is what OPENS.
|
|
409
|
+
*
|
|
410
|
+
* The two were conflated, and the report was exact: *"mobile navigation always
|
|
411
|
+
* shows a bar on top the same way no matter what the mobile menu is."*
|
|
412
|
+
* Measured across all seven `mobileMode` values at 390px, five of them
|
|
413
|
+
* (`sheet`, `drawer-left`, `drawer-right`, `fullscreen`, `grid`) rendered a
|
|
414
|
+
* byte-identical 374×34 pill holding a mark, a trigger and a search button —
|
|
415
|
+
* because the mode only ever decided what the OVERLAY looked like once opened.
|
|
416
|
+
* There was no setting for the bar itself.
|
|
417
|
+
*
|
|
418
|
+
* - `bar` — the panel, as it always was. The default; nothing moves.
|
|
419
|
+
* - `inset` — the same panel shrunk to its CONTENTS and pushed to the side
|
|
420
|
+
* `menuSide` names. A compact pill rather than something spanning the
|
|
421
|
+
* screen; the page shows through beside it.
|
|
422
|
+
* - `edge` — full-bleed and flush: no radius, no side borders, the top inset
|
|
423
|
+
* absorbed as internal padding, the page starting underneath. The shape a
|
|
424
|
+
* native app's title bar has, and the only one that reaches the corners.
|
|
425
|
+
* - `split` — the panel loses its surface entirely and the two controls keep
|
|
426
|
+
* their own: the mark in one corner, the trigger in the other, the page
|
|
427
|
+
* running between them. The most common shape on the mobile web, and the
|
|
428
|
+
* one this module had no way to express at all.
|
|
429
|
+
* - `float` — no panel and no mark. The trigger alone, as a circular button in
|
|
430
|
+
* the corner `menuSide` names, at the placement `mobilePlacement` names.
|
|
431
|
+
* The "give the page the whole screen" answer, and with `mobilePlacement:
|
|
432
|
+
* 'bottom'` the thumb-reachable one.
|
|
433
|
+
* - `none` — no bar and no trigger. Only defensible when something ELSE
|
|
434
|
+
* navigates: the dock, or the edge-swipe gesture. The settings row says so.
|
|
435
|
+
*
|
|
436
|
+
* The first four are the PANEL, restyled — one element, so the logo's slot, the
|
|
437
|
+
* palette-versus-home behaviour, the intro veil and the chrome measurement are
|
|
438
|
+
* all shared and cannot drift. The last two hide the panel and render a
|
|
439
|
+
* standalone trigger, because a panel reduced to one control is not a panel.
|
|
440
|
+
*/
|
|
441
|
+
export type JunNavMobileBar = 'bar' | 'inset' | 'edge' | 'split' | 'float' | 'none';
|
|
442
|
+
/**
|
|
443
|
+
* What the phone bar NAMES.
|
|
444
|
+
*
|
|
445
|
+
* An app's top bar says where you are; this one said nothing, on every page, in
|
|
446
|
+
* every mode. `off` is what it always did and stays the default — a title is a
|
|
447
|
+
* second copy of the page's own `<h1>`, which is right on a phone (the heading
|
|
448
|
+
* scrolls away) and redundant on a desktop, so this only ever applies below the
|
|
449
|
+
* breakpoint.
|
|
450
|
+
*/
|
|
451
|
+
export type JunNavMobileTitle = 'off' | 'page' | 'site';
|
|
407
452
|
/** The viewport width below which the MOBILE mode applies. Tailwind's scale. */
|
|
408
453
|
export type JunNavBreakpoint = 'sm' | 'md' | 'lg';
|
|
409
454
|
/**
|
|
@@ -531,6 +576,10 @@ export interface JunNavigationOptions {
|
|
|
531
576
|
mobileMode?: JunNavMobileMode;
|
|
532
577
|
/** A phone-only placement, or `inherit` to keep the site's. */
|
|
533
578
|
mobilePlacement?: JunNavMobilePlacement;
|
|
579
|
+
/** What the phone bar IS — a panel, a bare floating trigger, or nothing. */
|
|
580
|
+
mobileBar?: JunNavMobileBar;
|
|
581
|
+
/** What the phone bar names: nothing, the page, or the site. */
|
|
582
|
+
mobileTitle?: JunNavMobileTitle;
|
|
534
583
|
/** The width below which `mobileMode` applies. */
|
|
535
584
|
breakpoint?: JunNavBreakpoint;
|
|
536
585
|
/** The glyph on the menu trigger. */
|
|
@@ -1125,11 +1174,16 @@ export interface JunRuntimeOptions {
|
|
|
1125
1174
|
avatar: string;
|
|
1126
1175
|
logoMark: JunLogoMark;
|
|
1127
1176
|
logoVariant: JunLogoVariant;
|
|
1128
|
-
|
|
1177
|
+
/**
|
|
1178
|
+
* OPTIONAL at runtime, and that is the point: unset means "derive it from
|
|
1179
|
+
* the site's neutral" (`junCanvasColors`), so the app's chrome is the
|
|
1180
|
+
* colour the page actually is. A stated value always wins.
|
|
1181
|
+
*/
|
|
1182
|
+
themeColor?: string;
|
|
1129
1183
|
/** BCP-47, for `<html lang>`. `en` unless a site says otherwise. */
|
|
1130
1184
|
lang: string;
|
|
1131
1185
|
/** The app-icon tile. Defaults to `themeColor`; see `JunBrand`. */
|
|
1132
|
-
iconBackground
|
|
1186
|
+
iconBackground?: string;
|
|
1133
1187
|
schemaType: JunBrand['schemaType'];
|
|
1134
1188
|
};
|
|
1135
1189
|
features: Required<JunFeatures>;
|
|
@@ -30,6 +30,19 @@ export interface JunIdentity {
|
|
|
30
30
|
*/
|
|
31
31
|
tile: string;
|
|
32
32
|
themeColor: string;
|
|
33
|
+
/**
|
|
34
|
+
* `--jun-canvas`, per scheme — the colour the PAGE is, which is what a mobile
|
|
35
|
+
* browser's toolbar and an installed app's status bar have to agree with.
|
|
36
|
+
*
|
|
37
|
+
* They did not. The `theme-color` metas were a hard `#ffffff` and the brand's
|
|
38
|
+
* `themeColor`, against a page painted from the neutral ramp: `#ffffff` over
|
|
39
|
+
* `#f5f5f4` on light, `#0e0f11` over `#0c0a09` on dark. Small numbers, and a
|
|
40
|
+
* seam across the top of every page on a phone — the same fault the backdrop
|
|
41
|
+
* had in 2026-08-07, one surface further out. Derived from the site's chosen
|
|
42
|
+
* neutral, so picking `zinc` moves the toolbar too.
|
|
43
|
+
*/
|
|
44
|
+
canvasLight: string;
|
|
45
|
+
canvasDark: string;
|
|
33
46
|
/**
|
|
34
47
|
* Everything above, as a short stable string, used as the cache-buster on
|
|
35
48
|
* every icon URL. The icon responses are `immutable` for a year; without this
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import { junMarkColorsFor, junMarkName } from "./junMark.js";
|
|
1
|
+
import { junCanvasColors, junMarkColorsFor, junMarkName } from "./junMark.js";
|
|
2
2
|
const HEX_RE = /^#(?:[0-9a-f]{3}|[0-9a-f]{6})$/i;
|
|
3
|
-
const DEFAULT_THEME_COLOR = "#0e0f11";
|
|
4
3
|
const SHORT_NAME_MAX = 12;
|
|
5
4
|
function str(v) {
|
|
6
5
|
return typeof v === "string" && v.trim() ? v.trim() : void 0;
|
|
@@ -22,7 +21,8 @@ export function junIdentity(brand, cfg) {
|
|
|
22
21
|
const description = str(cfg.seoDescription) ?? str(brand?.seoDescription) ?? str(brand?.tagline) ?? "";
|
|
23
22
|
const mark = junMarkName(cfg.brandLogo ?? brand?.logoMark, "sun");
|
|
24
23
|
const { light, dark } = junMarkColorsFor(cfg);
|
|
25
|
-
const
|
|
24
|
+
const canvas = junCanvasColors(cfg);
|
|
25
|
+
const themeColor = hex(brand?.themeColor, canvas.dark);
|
|
26
26
|
const tile = hex(brand?.iconBackground, themeColor);
|
|
27
27
|
return {
|
|
28
28
|
name,
|
|
@@ -33,11 +33,15 @@ export function junIdentity(brand, cfg) {
|
|
|
33
33
|
dark,
|
|
34
34
|
tile,
|
|
35
35
|
themeColor,
|
|
36
|
+
canvasLight: canvas.light,
|
|
37
|
+
canvasDark: canvas.dark,
|
|
36
38
|
version: junFingerprint([
|
|
37
39
|
name,
|
|
38
40
|
mark,
|
|
39
41
|
tile,
|
|
40
42
|
themeColor,
|
|
43
|
+
canvas.light,
|
|
44
|
+
canvas.dark,
|
|
41
45
|
light.ink,
|
|
42
46
|
light.sunFrom,
|
|
43
47
|
light.sunTo,
|
|
@@ -181,6 +181,41 @@ export declare function junMarkColorsFor(cfg: {
|
|
|
181
181
|
light: JunMarkColors;
|
|
182
182
|
dark: JunMarkColors;
|
|
183
183
|
};
|
|
184
|
+
/**
|
|
185
|
+
* The interface's greyscale, as ELEVEN steps per neutral.
|
|
186
|
+
*
|
|
187
|
+
* It lived in `useJunTheme`, which emits it as `--color-neutral-*`. It is here
|
|
188
|
+
* for the reason `junShade`, `junSunColors` and `JUN_ACCENTS` are here: the
|
|
189
|
+
* canvas colour has to be resolvable from Nitro (the web manifest) and from a
|
|
190
|
+
* `<head>` that renders on both sides, and neither of those can load a
|
|
191
|
+
* composable. `useJunTheme` imports it from here now, so there is one ramp.
|
|
192
|
+
*/
|
|
193
|
+
export declare const JUN_NEUTRAL_STEPS: readonly ["50", "100", "200", "300", "400", "500", "600", "700", "800", "900", "950"];
|
|
194
|
+
export declare const JUN_NEUTRALS: Record<'slate' | 'zinc' | 'stone', string[]>;
|
|
195
|
+
/**
|
|
196
|
+
* `--jun-canvas`, in both schemes, as literal hexes.
|
|
197
|
+
*
|
|
198
|
+
* The colour the page IS: ramp step **100** on light and **950** on dark, which
|
|
199
|
+
* is exactly what `jun.css` declares and `junThemeCss()` re-emits for the
|
|
200
|
+
* chosen neutral. Stated here as a function because two consumers cannot read
|
|
201
|
+
* a stylesheet at all — the `theme-color` metas, which colour a mobile
|
|
202
|
+
* browser's toolbar, and the web manifest, which colours an installed app's
|
|
203
|
+
* status bar and its splash.
|
|
204
|
+
*
|
|
205
|
+
* Those two were the last surfaces still holding their own answer. `<html>`,
|
|
206
|
+
* `<body>` and all three backdrops were unified on `--jun-canvas` in 2026-08-07
|
|
207
|
+
* after "the backdrop does not expand all the way down on mobile" turned out
|
|
208
|
+
* to be three greys rather than a layout fault; the BROWSER CHROME was not in
|
|
209
|
+
* that sweep, so the toolbar was a hard `#ffffff` over a `#f5f5f4` page and the
|
|
210
|
+
* installed app a hard `#0e0f11` over a `#0c0a09` one. Same bug, one surface
|
|
211
|
+
* further out, and the same fix: one value, derived from the site's neutral.
|
|
212
|
+
*/
|
|
213
|
+
export declare function junCanvasColors(cfg: {
|
|
214
|
+
themeNeutral?: unknown;
|
|
215
|
+
}): {
|
|
216
|
+
light: string;
|
|
217
|
+
dark: string;
|
|
218
|
+
};
|
|
184
219
|
/** A stored `brandLogo` value, validated against what this build can draw. */
|
|
185
220
|
export declare function junMarkName(value: unknown, fallback?: JunMarkName): JunMarkName;
|
|
186
221
|
/**
|
|
@@ -112,6 +112,17 @@ export function junMarkColorsFor(cfg) {
|
|
|
112
112
|
dark: junMarkColors("dark", customDark ?? preset?.dark, customDark ? void 0 : preset?.orb?.dark)
|
|
113
113
|
};
|
|
114
114
|
}
|
|
115
|
+
export const JUN_NEUTRAL_STEPS = ["50", "100", "200", "300", "400", "500", "600", "700", "800", "900", "950"];
|
|
116
|
+
export const JUN_NEUTRALS = {
|
|
117
|
+
slate: ["#f8fafc", "#f1f5f9", "#e2e8f0", "#cbd5e1", "#94a3b8", "#64748b", "#475569", "#334155", "#1e293b", "#0f172a", "#020617"],
|
|
118
|
+
zinc: ["#fafafa", "#f4f4f5", "#e4e4e7", "#d4d4d8", "#a1a1aa", "#71717a", "#52525b", "#3f3f46", "#27272a", "#18181b", "#09090b"],
|
|
119
|
+
stone: ["#fafaf9", "#f5f5f4", "#e7e5e4", "#d6d3d1", "#a8a29e", "#78716c", "#57534e", "#44403c", "#292524", "#1c1917", "#0c0a09"]
|
|
120
|
+
};
|
|
121
|
+
export function junCanvasColors(cfg) {
|
|
122
|
+
const key = typeof cfg.themeNeutral === "string" ? cfg.themeNeutral : "stone";
|
|
123
|
+
const ramp = JUN_NEUTRALS[key] ?? JUN_NEUTRALS.stone;
|
|
124
|
+
return { light: ramp[1], dark: ramp[10] };
|
|
125
|
+
}
|
|
115
126
|
export function junMarkName(value, fallback = "sun") {
|
|
116
127
|
return typeof value === "string" && JUN_MARK_NAMES.includes(value) ? value : fallback;
|
|
117
128
|
}
|
|
@@ -21,7 +21,14 @@ const PREVIEW_KEYS = {
|
|
|
21
21
|
placement: "navPlacement",
|
|
22
22
|
item: "navItemMode",
|
|
23
23
|
autohide: "navAutoHide",
|
|
24
|
-
section: "navSection"
|
|
24
|
+
section: "navSection",
|
|
25
|
+
// `bar` and `title` are SITE settings with no document layer — a page cannot
|
|
26
|
+
// decide it has no navbar, and should not be able to. They are previewable
|
|
27
|
+
// anyway because the invariant above is about not inventing states, and a
|
|
28
|
+
// site CAN be `mobileBar: 'float'`; `useJunNavSettings` reads them from this
|
|
29
|
+
// object directly rather than through `docNav`, so the layering is unchanged.
|
|
30
|
+
bar: "navMobileBar",
|
|
31
|
+
title: "navMobileTitle"
|
|
25
32
|
};
|
|
26
33
|
export function junNavPreview(raw) {
|
|
27
34
|
const text = Array.isArray(raw) ? raw[0] : raw;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@abraca/junis",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.93.0",
|
|
4
4
|
"description": "Website-builder Nuxt module for the Abracadabra CRDT platform — page-type renderers, presence chrome, studio editing and SSR, all driven by documents",
|
|
5
5
|
"repository": "abracadabra/jun-is",
|
|
6
6
|
"license": "MIT",
|
|
@@ -106,6 +106,7 @@
|
|
|
106
106
|
"parity:follow": "node scripts/parity-follow.mjs",
|
|
107
107
|
"parity:studio": "node scripts/parity-studio.mjs",
|
|
108
108
|
"parity:touch": "node scripts/parity-touch.mjs",
|
|
109
|
+
"parity:mobile": "node scripts/parity-mobile.mjs",
|
|
109
110
|
"parity:offline": "node scripts/parity-offline.mjs",
|
|
110
111
|
"parity:weight": "node scripts/parity-weight.mjs",
|
|
111
112
|
"deploy:check": "node scripts/deploy-check.mjs",
|