@selfhelp/shared 1.14.23 → 1.15.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/CHANGELOG.md +67 -0
- package/dist/{common-udJ0O8qC.d.mts → common-qaDIAYS3.d.mts} +5 -4
- package/dist/{common-udJ0O8qC.d.ts → common-qaDIAYS3.d.ts} +5 -4
- package/dist/index.d.mts +121 -5
- package/dist/index.d.ts +121 -5
- package/dist/index.js +105 -170
- package/dist/index.mjs +104 -167
- package/dist/{manifest-C8sBTLJb.d.mts → manifest-8YXAk-4o.d.mts} +8 -0
- package/dist/{manifest-C8sBTLJb.d.ts → manifest-8YXAk-4o.d.ts} +8 -0
- package/dist/plugin-sdk/index.d.mts +41 -4
- package/dist/plugin-sdk/index.d.ts +41 -4
- package/dist/plugin-sdk/index.js +103 -91
- package/dist/plugin-sdk/index.mjs +101 -91
- package/dist/registry/index.d.mts +3 -3
- package/dist/registry/index.d.ts +3 -3
- package/dist/registry/index.js +90 -90
- package/dist/registry/index.mjs +90 -90
- package/dist/{styles.registry-CZZwODJY.d.mts → styles.registry-4W0LzmZB.d.mts} +2 -189
- package/dist/{styles.registry-DQKcvIBZ.d.ts → styles.registry-D6xMm5VR.d.ts} +2 -189
- package/dist/testing/index.d.mts +1 -1
- package/dist/testing/index.d.ts +1 -1
- package/dist/theme/index.d.mts +27 -76
- package/dist/theme/index.d.ts +27 -76
- package/dist/theme/index.js +4 -80
- package/dist/theme/index.mjs +4 -77
- package/package.json +1 -1
- package/src/plugin-sdk/__tests__/version.test.ts +40 -0
- package/src/plugin-sdk/define.ts +0 -1
- package/src/plugin-sdk/index.ts +2 -0
- package/src/plugin-sdk/manifest.ts +8 -0
- package/src/plugin-sdk/registry.ts +11 -0
- package/src/plugin-sdk/version.ts +38 -0
- package/src/registry/__tests__/platform.test.ts +0 -4
- package/src/registry/__tests__/registry.test.ts +0 -2
- package/src/registry/styles.registry.ts +90 -96
- package/src/theme/__tests__/mantineVariant.test.ts +2 -2
- package/src/theme/__tests__/semantic.test.ts +16 -53
- package/src/theme/mantineVariant.ts +3 -3
- package/src/theme/semantic.ts +24 -164
- package/src/theme/tokens.ts +2 -2
- package/src/types/__tests__/distribution.test.ts +55 -1
- package/src/types/api/index.ts +1 -0
- package/src/types/api/mobile-preview.ts +71 -0
- package/src/types/distribution.ts +54 -1
- package/src/types/mantine/common.ts +4 -3
- package/src/types/styles/base.ts +1 -1
- package/src/types/styles/composite.ts +0 -2
package/dist/index.mjs
CHANGED
|
@@ -71,109 +71,118 @@ var SYSTEM_ENDPOINTS = {
|
|
|
71
71
|
UPDATE_FRONTEND_REQUEST: `${SYSTEM_PREFIX}/update/frontend/request`
|
|
72
72
|
};
|
|
73
73
|
|
|
74
|
+
// src/types/api/mobile-preview.ts
|
|
75
|
+
var MOBILE_PREVIEW_PREFIX = "/cms-api/v1";
|
|
76
|
+
var MOBILE_PREVIEW_ENDPOINTS = {
|
|
77
|
+
/** Admin-only: mint a one-time preview session code. */
|
|
78
|
+
SESSION: `${MOBILE_PREVIEW_PREFIX}/admin/mobile-preview/session`,
|
|
79
|
+
/** Public: exchange a one-time code for a scoped preview JWT. */
|
|
80
|
+
EXCHANGE: `${MOBILE_PREVIEW_PREFIX}/mobile-preview/session/exchange`
|
|
81
|
+
};
|
|
82
|
+
|
|
74
83
|
// src/types/distribution.ts
|
|
75
84
|
var RELEASE_CHANNELS = ["stable", "beta", "nightly", "test"];
|
|
76
85
|
|
|
77
86
|
// src/registry/styles.registry.ts
|
|
78
87
|
var BASE_STYLE_REGISTRY = {
|
|
79
88
|
// ===== auth =====
|
|
80
|
-
login: { description: "User login form", category: "auth",
|
|
81
|
-
register: { description: "User registration form", category: "auth",
|
|
82
|
-
validate: { description: "Email/account validation flow", category: "auth",
|
|
83
|
-
"reset-password": { description: "Reset password form", category: "auth",
|
|
84
|
-
"two-factor-auth": { description: "Two-factor auth code form", category: "auth",
|
|
85
|
-
profile: { description: "User profile management", category: "auth",
|
|
89
|
+
login: { description: "User login form", category: "auth", canHaveChildren: false },
|
|
90
|
+
register: { description: "User registration form", category: "auth", canHaveChildren: false },
|
|
91
|
+
validate: { description: "Email/account validation flow", category: "auth", canHaveChildren: true },
|
|
92
|
+
"reset-password": { description: "Reset password form", category: "auth", canHaveChildren: false },
|
|
93
|
+
"two-factor-auth": { description: "Two-factor auth code form", category: "auth", canHaveChildren: false },
|
|
94
|
+
profile: { description: "User profile management", category: "auth", canHaveChildren: false },
|
|
86
95
|
// ===== layout =====
|
|
87
|
-
container: { description: "Mantine Container with responsive max-width", category: "layout",
|
|
88
|
-
box: { description: "Generic Mantine Box wrapper", category: "layout",
|
|
89
|
-
flex: { description: "Mantine Flex layout", category: "layout",
|
|
90
|
-
group: { description: "Mantine Group horizontal layout", category: "layout",
|
|
91
|
-
stack: { description: "Mantine Stack vertical layout", category: "layout",
|
|
92
|
-
"simple-grid": { description: "Mantine SimpleGrid", category: "layout",
|
|
93
|
-
grid: { description: "Mantine Grid", category: "layout",
|
|
94
|
-
"grid-column": { description: "Mantine Grid.Col", category: "layout",
|
|
95
|
-
space: { description: "Mantine Space spacer", category: "layout",
|
|
96
|
-
divider: { description: "Mantine Divider", category: "layout",
|
|
97
|
-
paper: { description: "Mantine Paper surface", category: "layout",
|
|
98
|
-
center: { description: "Mantine Center alignment", category: "layout",
|
|
99
|
-
"scroll-area": { description: "Mantine ScrollArea", category: "layout",
|
|
100
|
-
card: { description: "Mantine Card", category: "layout",
|
|
101
|
-
"card-segment": { description: "Mantine Card.Section", category: "layout",
|
|
102
|
-
"aspect-ratio": { description: "Mantine AspectRatio wrapper", category: "layout",
|
|
103
|
-
"background-image": { description: "Mantine BackgroundImage", category: "layout",
|
|
96
|
+
container: { description: "Mantine Container with responsive max-width", category: "layout", canHaveChildren: true },
|
|
97
|
+
box: { description: "Generic Mantine Box wrapper", category: "layout", canHaveChildren: true },
|
|
98
|
+
flex: { description: "Mantine Flex layout", category: "layout", canHaveChildren: true },
|
|
99
|
+
group: { description: "Mantine Group horizontal layout", category: "layout", canHaveChildren: true },
|
|
100
|
+
stack: { description: "Mantine Stack vertical layout", category: "layout", canHaveChildren: true },
|
|
101
|
+
"simple-grid": { description: "Mantine SimpleGrid", category: "layout", canHaveChildren: true },
|
|
102
|
+
grid: { description: "Mantine Grid", category: "layout", canHaveChildren: true },
|
|
103
|
+
"grid-column": { description: "Mantine Grid.Col", category: "layout", canHaveChildren: true },
|
|
104
|
+
space: { description: "Mantine Space spacer", category: "layout", canHaveChildren: false },
|
|
105
|
+
divider: { description: "Mantine Divider", category: "layout", canHaveChildren: false },
|
|
106
|
+
paper: { description: "Mantine Paper surface", category: "layout", canHaveChildren: true },
|
|
107
|
+
center: { description: "Mantine Center alignment", category: "layout", canHaveChildren: true },
|
|
108
|
+
"scroll-area": { description: "Mantine ScrollArea", category: "layout", canHaveChildren: true },
|
|
109
|
+
card: { description: "Mantine Card", category: "layout", canHaveChildren: true },
|
|
110
|
+
"card-segment": { description: "Mantine Card.Section", category: "layout", canHaveChildren: true },
|
|
111
|
+
"aspect-ratio": { description: "Mantine AspectRatio wrapper", category: "layout", canHaveChildren: true },
|
|
112
|
+
"background-image": { description: "Mantine BackgroundImage", category: "layout", canHaveChildren: true },
|
|
104
113
|
// ===== typography =====
|
|
105
|
-
title: { description: "Mantine Title", category: "typography",
|
|
106
|
-
text: { description: "Mantine Text", category: "typography",
|
|
107
|
-
code: { description: "Mantine Code (inline / block)", category: "typography",
|
|
108
|
-
highlight: { description: "Mantine Highlight", category: "typography",
|
|
109
|
-
blockquote: { description: "Mantine Blockquote", category: "typography",
|
|
110
|
-
"html-tag": { description: "Generic HTML tag wrapper (web), maps to View on RN", category: "typography",
|
|
111
|
-
kbd: { description: "Mantine Kbd", category: "typography",
|
|
112
|
-
typography: { description: "Mantine Typography wrapper", category: "typography",
|
|
113
|
-
fieldset: { description: "Mantine Fieldset", category: "typography",
|
|
114
|
-
spoiler: { description: "Mantine Spoiler reveal", category: "typography",
|
|
114
|
+
title: { description: "Mantine Title", category: "typography", canHaveChildren: false },
|
|
115
|
+
text: { description: "Mantine Text", category: "typography", canHaveChildren: false },
|
|
116
|
+
code: { description: "Mantine Code (inline / block)", category: "typography", canHaveChildren: false },
|
|
117
|
+
highlight: { description: "Mantine Highlight", category: "typography", canHaveChildren: false },
|
|
118
|
+
blockquote: { description: "Mantine Blockquote", category: "typography", canHaveChildren: false },
|
|
119
|
+
"html-tag": { description: "Generic HTML tag wrapper (web), maps to View on RN", category: "typography", canHaveChildren: true },
|
|
120
|
+
kbd: { description: "Mantine Kbd", category: "typography", canHaveChildren: false },
|
|
121
|
+
typography: { description: "Mantine Typography wrapper", category: "typography", canHaveChildren: true },
|
|
122
|
+
fieldset: { description: "Mantine Fieldset", category: "typography", canHaveChildren: true },
|
|
123
|
+
spoiler: { description: "Mantine Spoiler reveal", category: "typography", canHaveChildren: true },
|
|
115
124
|
// ===== media =====
|
|
116
|
-
image: { description: "Mantine Image / RN Image", category: "media",
|
|
117
|
-
video: { description: "HTML5 video / expo-video", category: "media",
|
|
118
|
-
audio: { description: "HTML5 audio / expo-audio", category: "media",
|
|
119
|
-
figure: { description: "Figure with caption", category: "media",
|
|
120
|
-
carousel: { description: "Embla on web, reanimated-carousel on RN", category: "media",
|
|
125
|
+
image: { description: "Mantine Image / RN Image", category: "media", canHaveChildren: false },
|
|
126
|
+
video: { description: "HTML5 video / expo-video", category: "media", canHaveChildren: false },
|
|
127
|
+
audio: { description: "HTML5 audio / expo-audio", category: "media", canHaveChildren: false },
|
|
128
|
+
figure: { description: "Figure with caption", category: "media", canHaveChildren: true },
|
|
129
|
+
carousel: { description: "Embla on web, reanimated-carousel on RN", category: "media", canHaveChildren: true },
|
|
121
130
|
// ===== interactive =====
|
|
122
|
-
button: { description: "Mantine Button / HeroUI Button", category: "interactive",
|
|
123
|
-
link: { description: "Anchor / Pressable navigation", category: "interactive",
|
|
124
|
-
"action-icon": { description: "Mantine ActionIcon", category: "interactive",
|
|
125
|
-
alert: { description: "Mantine Alert", category: "interactive",
|
|
126
|
-
badge: { description: "Mantine Badge", category: "interactive",
|
|
127
|
-
avatar: { description: "Mantine Avatar", category: "interactive",
|
|
128
|
-
chip: { description: "Mantine Chip", category: "interactive",
|
|
129
|
-
indicator: { description: "Mantine Indicator dot", category: "interactive",
|
|
130
|
-
"theme-icon": { description: "Mantine ThemeIcon", category: "interactive",
|
|
131
|
-
notification: { description: "Mantine Notification", category: "interactive",
|
|
131
|
+
button: { description: "Mantine Button / HeroUI Button", category: "interactive", canHaveChildren: false },
|
|
132
|
+
link: { description: "Anchor / Pressable navigation", category: "interactive", canHaveChildren: false },
|
|
133
|
+
"action-icon": { description: "Mantine ActionIcon", category: "interactive", canHaveChildren: false },
|
|
134
|
+
alert: { description: "Mantine Alert", category: "interactive", canHaveChildren: true },
|
|
135
|
+
badge: { description: "Mantine Badge", category: "interactive", canHaveChildren: false },
|
|
136
|
+
avatar: { description: "Mantine Avatar", category: "interactive", canHaveChildren: false },
|
|
137
|
+
chip: { description: "Mantine Chip", category: "interactive", canHaveChildren: false },
|
|
138
|
+
indicator: { description: "Mantine Indicator dot", category: "interactive", canHaveChildren: true },
|
|
139
|
+
"theme-icon": { description: "Mantine ThemeIcon", category: "interactive", canHaveChildren: false },
|
|
140
|
+
notification: { description: "Mantine Notification", category: "interactive", canHaveChildren: false },
|
|
132
141
|
// ===== forms =====
|
|
133
|
-
"form-log": { description: "Append-only form (one row per submit)", category: "forms",
|
|
134
|
-
"form-record": { description: "Per-user record form", category: "forms",
|
|
135
|
-
input: { description: "Plain HTML input", category: "forms",
|
|
136
|
-
"text-input": { description: "Mantine TextInput", category: "forms",
|
|
137
|
-
textarea: { description: "Mantine Textarea", category: "forms",
|
|
138
|
-
"rich-text-editor": { description: "Tiptap editor on web; native inline-format toolbar editor on mobile", category: "forms",
|
|
139
|
-
select: { description: "HTML select / Mantine Select", category: "forms",
|
|
140
|
-
radio: { description: "Mantine Radio / RadioGroup", category: "forms",
|
|
141
|
-
checkbox: { description: "Mantine Checkbox", category: "forms",
|
|
142
|
-
slider: { description: "Mantine Slider", category: "forms",
|
|
143
|
-
"range-slider": { description: "Mantine RangeSlider", category: "forms",
|
|
144
|
-
datepicker: { description: "Mantine DatePicker", category: "forms",
|
|
145
|
-
switch: { description: "Mantine Switch", category: "forms",
|
|
146
|
-
combobox: { description: "Mantine Combobox", category: "forms",
|
|
147
|
-
"color-input": { description: "Mantine ColorInput", category: "forms",
|
|
148
|
-
"color-picker": { description: "Mantine ColorPicker", category: "forms",
|
|
149
|
-
"file-input": { description: "Mantine FileInput / DocumentPicker on RN", category: "forms",
|
|
150
|
-
"number-input": { description: "Mantine NumberInput", category: "forms",
|
|
151
|
-
"segmented-control": { description: "Mantine SegmentedControl", category: "forms",
|
|
152
|
-
rating: { description: "Mantine Rating", category: "forms",
|
|
153
|
-
progress: { description: "Mantine Progress", category: "forms",
|
|
154
|
-
"progress-root": { description: "Mantine Progress.Root", category: "forms",
|
|
155
|
-
"progress-section": { description: "Mantine Progress.Section", category: "forms",
|
|
142
|
+
"form-log": { description: "Append-only form (one row per submit)", category: "forms", canHaveChildren: true },
|
|
143
|
+
"form-record": { description: "Per-user record form", category: "forms", canHaveChildren: true },
|
|
144
|
+
input: { description: "Plain HTML input", category: "forms", canHaveChildren: false },
|
|
145
|
+
"text-input": { description: "Mantine TextInput", category: "forms", canHaveChildren: false },
|
|
146
|
+
textarea: { description: "Mantine Textarea", category: "forms", canHaveChildren: false },
|
|
147
|
+
"rich-text-editor": { description: "Tiptap editor on web; native inline-format toolbar editor on mobile", category: "forms", canHaveChildren: false },
|
|
148
|
+
select: { description: "HTML select / Mantine Select", category: "forms", canHaveChildren: false },
|
|
149
|
+
radio: { description: "Mantine Radio / RadioGroup", category: "forms", canHaveChildren: false },
|
|
150
|
+
checkbox: { description: "Mantine Checkbox", category: "forms", canHaveChildren: false },
|
|
151
|
+
slider: { description: "Mantine Slider", category: "forms", canHaveChildren: false },
|
|
152
|
+
"range-slider": { description: "Mantine RangeSlider", category: "forms", canHaveChildren: false },
|
|
153
|
+
datepicker: { description: "Mantine DatePicker", category: "forms", canHaveChildren: false },
|
|
154
|
+
switch: { description: "Mantine Switch", category: "forms", canHaveChildren: false },
|
|
155
|
+
combobox: { description: "Mantine Combobox", category: "forms", canHaveChildren: false },
|
|
156
|
+
"color-input": { description: "Mantine ColorInput", category: "forms", canHaveChildren: false },
|
|
157
|
+
"color-picker": { description: "Mantine ColorPicker", category: "forms", canHaveChildren: false },
|
|
158
|
+
"file-input": { description: "Mantine FileInput / DocumentPicker on RN", category: "forms", canHaveChildren: false },
|
|
159
|
+
"number-input": { description: "Mantine NumberInput", category: "forms", canHaveChildren: false },
|
|
160
|
+
"segmented-control": { description: "Mantine SegmentedControl", category: "forms", canHaveChildren: false },
|
|
161
|
+
rating: { description: "Mantine Rating", category: "forms", canHaveChildren: false },
|
|
162
|
+
progress: { description: "Mantine Progress", category: "forms", canHaveChildren: false },
|
|
163
|
+
"progress-root": { description: "Mantine Progress.Root", category: "forms", canHaveChildren: true },
|
|
164
|
+
"progress-section": { description: "Mantine Progress.Section", category: "forms", canHaveChildren: false },
|
|
156
165
|
// ===== composite =====
|
|
157
|
-
accordion: { description: "Mantine Accordion", category: "composite",
|
|
158
|
-
"accordion-item": { description: "Mantine Accordion.Item", category: "composite",
|
|
159
|
-
tabs: { description: "Mantine Tabs", category: "composite",
|
|
160
|
-
tab: { description: "Mantine Tabs.Tab + Tabs.Panel pair", category: "composite",
|
|
161
|
-
timeline: { description: "Mantine Timeline", category: "composite",
|
|
162
|
-
list: { description: "Mantine List", category: "composite",
|
|
163
|
-
"list-item": { description: "Mantine List.Item", category: "composite",
|
|
164
|
-
"entry-list": { description: "Data-driven list of entries (form-log table)", category: "composite",
|
|
165
|
-
"entry-record": { description: "Single-record container", category: "composite",
|
|
166
|
-
"entry-record-delete": { description: "Inline delete confirmation for an entry", category: "composite",
|
|
167
|
-
loop: { description: "Loop / repeater over backend-provided rows", category: "composite",
|
|
168
|
-
"timeline-item": { description: "A single entry inside a timeline (child-only)", category: "composite",
|
|
166
|
+
accordion: { description: "Mantine Accordion", category: "composite", canHaveChildren: true },
|
|
167
|
+
"accordion-item": { description: "Mantine Accordion.Item", category: "composite", canHaveChildren: true },
|
|
168
|
+
tabs: { description: "Mantine Tabs", category: "composite", canHaveChildren: true },
|
|
169
|
+
tab: { description: "Mantine Tabs.Tab + Tabs.Panel pair", category: "composite", canHaveChildren: true },
|
|
170
|
+
timeline: { description: "Mantine Timeline", category: "composite", canHaveChildren: true },
|
|
171
|
+
list: { description: "Mantine List", category: "composite", canHaveChildren: true },
|
|
172
|
+
"list-item": { description: "Mantine List.Item", category: "composite", canHaveChildren: true },
|
|
173
|
+
"entry-list": { description: "Data-driven list of entries (form-log table)", category: "composite", canHaveChildren: true },
|
|
174
|
+
"entry-record": { description: "Single-record container", category: "composite", canHaveChildren: true },
|
|
175
|
+
"entry-record-delete": { description: "Inline delete confirmation for an entry", category: "composite", canHaveChildren: false },
|
|
176
|
+
loop: { description: "Loop / repeater over backend-provided rows", category: "composite", canHaveChildren: true },
|
|
177
|
+
"timeline-item": { description: "A single entry inside a timeline (child-only)", category: "composite", canHaveChildren: true },
|
|
169
178
|
// ===== system / data / reference (established backend catalog) =====
|
|
170
|
-
"no-access": { description: "Access-denied surface shown when the user lacks page access", category: "auth",
|
|
171
|
-
missing: { description: 'Generic "content missing" system surface', category: "auth",
|
|
172
|
-
"not-found": { description: "Page-not-found system surface", category: "auth",
|
|
173
|
-
version: { description: "Build/version diagnostic surface", category: "auth",
|
|
174
|
-
"ref-container": { description: "Renders content referenced from another section", category: "layout",
|
|
175
|
-
"data-container": { description: "Data-scoped container (renders subtree against a data scope)", category: "layout",
|
|
176
|
-
"show-user-input": { description: "Displays previously submitted user input as a list/card view", category: "forms",
|
|
179
|
+
"no-access": { description: "Access-denied surface shown when the user lacks page access", category: "auth", canHaveChildren: false },
|
|
180
|
+
missing: { description: 'Generic "content missing" system surface', category: "auth", canHaveChildren: false },
|
|
181
|
+
"not-found": { description: "Page-not-found system surface", category: "auth", canHaveChildren: false },
|
|
182
|
+
version: { description: "Build/version diagnostic surface", category: "auth", canHaveChildren: false },
|
|
183
|
+
"ref-container": { description: "Renders content referenced from another section", category: "layout", canHaveChildren: true },
|
|
184
|
+
"data-container": { description: "Data-scoped container (renders subtree against a data scope)", category: "layout", canHaveChildren: true },
|
|
185
|
+
"show-user-input": { description: "Displays previously submitted user input as a list/card view", category: "forms", canHaveChildren: false }
|
|
177
186
|
};
|
|
178
187
|
var STYLE_REGISTRY = BASE_STYLE_REGISTRY;
|
|
179
188
|
var PLUGIN_STYLE_REGISTRY = {};
|
|
@@ -480,14 +489,6 @@ var sharedTailwindPreset = {
|
|
|
480
489
|
var FULL_RADIUS_PX = 9999;
|
|
481
490
|
var SEMANTIC_SIZES = ["sm", "md", "lg"];
|
|
482
491
|
var SEMANTIC_RADII = ["none", "sm", "md", "lg", "full"];
|
|
483
|
-
var SEMANTIC_INTENTS = [
|
|
484
|
-
"primary",
|
|
485
|
-
"secondary",
|
|
486
|
-
"success",
|
|
487
|
-
"warning",
|
|
488
|
-
"danger",
|
|
489
|
-
"neutral"
|
|
490
|
-
];
|
|
491
492
|
function mapSizeToMantine(size) {
|
|
492
493
|
return size;
|
|
493
494
|
}
|
|
@@ -543,63 +544,6 @@ function mapSpacingToPx(spacing2) {
|
|
|
543
544
|
if (spacing2 === "none") return 0;
|
|
544
545
|
return SPACING_PX[spacing2];
|
|
545
546
|
}
|
|
546
|
-
function mapIntentToMantine(intent) {
|
|
547
|
-
if (!intent) return void 0;
|
|
548
|
-
switch (intent) {
|
|
549
|
-
case "primary":
|
|
550
|
-
return { color: "blue", variant: "filled" };
|
|
551
|
-
case "secondary":
|
|
552
|
-
return { color: "gray", variant: "light" };
|
|
553
|
-
case "success":
|
|
554
|
-
return { color: "green", variant: "filled" };
|
|
555
|
-
case "warning":
|
|
556
|
-
return { color: "yellow", variant: "filled" };
|
|
557
|
-
case "danger":
|
|
558
|
-
return { color: "red", variant: "filled" };
|
|
559
|
-
case "neutral":
|
|
560
|
-
return { color: "gray", variant: "default" };
|
|
561
|
-
default:
|
|
562
|
-
return void 0;
|
|
563
|
-
}
|
|
564
|
-
}
|
|
565
|
-
function mapIntentToHeroUiButtonVariant(intent) {
|
|
566
|
-
if (!intent) return void 0;
|
|
567
|
-
switch (intent) {
|
|
568
|
-
case "primary":
|
|
569
|
-
return "primary";
|
|
570
|
-
case "secondary":
|
|
571
|
-
return "secondary";
|
|
572
|
-
case "success":
|
|
573
|
-
return "primary";
|
|
574
|
-
case "warning":
|
|
575
|
-
return "primary";
|
|
576
|
-
case "danger":
|
|
577
|
-
return "danger";
|
|
578
|
-
case "neutral":
|
|
579
|
-
return "secondary";
|
|
580
|
-
default:
|
|
581
|
-
return void 0;
|
|
582
|
-
}
|
|
583
|
-
}
|
|
584
|
-
function mapIntentToHeroUiColor(intent) {
|
|
585
|
-
if (!intent) return void 0;
|
|
586
|
-
switch (intent) {
|
|
587
|
-
case "primary":
|
|
588
|
-
return "accent";
|
|
589
|
-
case "secondary":
|
|
590
|
-
return "default";
|
|
591
|
-
case "success":
|
|
592
|
-
return "success";
|
|
593
|
-
case "warning":
|
|
594
|
-
return "warning";
|
|
595
|
-
case "danger":
|
|
596
|
-
return "danger";
|
|
597
|
-
case "neutral":
|
|
598
|
-
return "default";
|
|
599
|
-
default:
|
|
600
|
-
return void 0;
|
|
601
|
-
}
|
|
602
|
-
}
|
|
603
547
|
function mapMantineColorToHeroUiColor(color) {
|
|
604
548
|
if (!color) return void 0;
|
|
605
549
|
switch (color) {
|
|
@@ -747,10 +691,6 @@ function resolveSharedStyleProps(fields) {
|
|
|
747
691
|
if (variant !== void 0) {
|
|
748
692
|
resolved.variant = variant;
|
|
749
693
|
}
|
|
750
|
-
const intent = readString(fields.shared_intent);
|
|
751
|
-
if (intent !== void 0 && SEMANTIC_INTENTS.includes(intent)) {
|
|
752
|
-
resolved.intent = intent;
|
|
753
|
-
}
|
|
754
694
|
const fullWidth = readBool(fields.full_width);
|
|
755
695
|
if (fullWidth !== void 0) {
|
|
756
696
|
resolved.fullWidth = fullWidth;
|
|
@@ -758,12 +698,11 @@ function resolveSharedStyleProps(fields) {
|
|
|
758
698
|
return resolved;
|
|
759
699
|
}
|
|
760
700
|
function toMantineSemanticProps(props) {
|
|
761
|
-
const intent = mapIntentToMantine(props.intent);
|
|
762
701
|
const spacing2 = props.spacing && props.spacing !== "none" ? props.spacing : void 0;
|
|
763
702
|
return {
|
|
764
703
|
size: mapSizeToMantine(props.size),
|
|
765
|
-
color:
|
|
766
|
-
variant:
|
|
704
|
+
color: props.color,
|
|
705
|
+
variant: props.variant,
|
|
767
706
|
radius: mapRadiusToMantine(props.radius),
|
|
768
707
|
spacing: spacing2,
|
|
769
708
|
disabled: hasState(props.states, "disabled") || void 0,
|
|
@@ -774,8 +713,8 @@ function toMantineSemanticProps(props) {
|
|
|
774
713
|
};
|
|
775
714
|
}
|
|
776
715
|
function toHeroUiSemanticProps(props) {
|
|
777
|
-
const buttonVariant = mapMantineVariantToHeroUiButtonVariant(props.variant) ?? mapMantineColorToHeroUiButtonVariant(props.color)
|
|
778
|
-
const color = mapMantineColorToHeroUiColor(props.color)
|
|
716
|
+
const buttonVariant = mapMantineVariantToHeroUiButtonVariant(props.variant) ?? mapMantineColorToHeroUiButtonVariant(props.color);
|
|
717
|
+
const color = mapMantineColorToHeroUiColor(props.color);
|
|
779
718
|
return {
|
|
780
719
|
size: mapSizeToHeroUi(props.size),
|
|
781
720
|
buttonVariant,
|
|
@@ -1470,6 +1409,7 @@ export {
|
|
|
1470
1409
|
HEADER_CLIENT_TYPE,
|
|
1471
1410
|
LINE_HEIGHT,
|
|
1472
1411
|
LITERAL_CLASSES,
|
|
1412
|
+
MOBILE_PREVIEW_ENDPOINTS,
|
|
1473
1413
|
PERMISSIONS,
|
|
1474
1414
|
RADIUS_PX,
|
|
1475
1415
|
RELEASE_CHANNELS,
|
|
@@ -1504,9 +1444,6 @@ export {
|
|
|
1504
1444
|
mapAccordionVariantToHeroUiVariant,
|
|
1505
1445
|
mapChipVariantToHeroUiVariant,
|
|
1506
1446
|
mapDividerVariantToReactNative,
|
|
1507
|
-
mapIntentToHeroUiButtonVariant,
|
|
1508
|
-
mapIntentToHeroUiColor,
|
|
1509
|
-
mapIntentToMantine,
|
|
1510
1447
|
mapMantineColorToHeroUiButtonVariant,
|
|
1511
1448
|
mapMantineColorToHeroUiColor,
|
|
1512
1449
|
mapMantineVariantToHeroUiButtonVariant,
|
|
@@ -20,6 +20,14 @@ interface IPluginManifestCompatibility {
|
|
|
20
20
|
reactNative?: string;
|
|
21
21
|
/** SemVer range for Expo SDK. */
|
|
22
22
|
expoSdk?: string;
|
|
23
|
+
/**
|
|
24
|
+
* SemVer range for the host mobile renderer contract
|
|
25
|
+
* (`MOBILE_RENDERER_VERSION`) the plugin's mobile package supports. The
|
|
26
|
+
* SelfHelp Manager gates a plugin's mobile package against the selected
|
|
27
|
+
* `selfhelp-mobile-preview` image's advertised `mobileRendererVersion`.
|
|
28
|
+
* Absent for web-only plugins.
|
|
29
|
+
*/
|
|
30
|
+
mobile?: string;
|
|
23
31
|
}
|
|
24
32
|
interface IPluginManifestDependency {
|
|
25
33
|
/** Plugin id this plugin requires. */
|
|
@@ -20,6 +20,14 @@ interface IPluginManifestCompatibility {
|
|
|
20
20
|
reactNative?: string;
|
|
21
21
|
/** SemVer range for Expo SDK. */
|
|
22
22
|
expoSdk?: string;
|
|
23
|
+
/**
|
|
24
|
+
* SemVer range for the host mobile renderer contract
|
|
25
|
+
* (`MOBILE_RENDERER_VERSION`) the plugin's mobile package supports. The
|
|
26
|
+
* SelfHelp Manager gates a plugin's mobile package against the selected
|
|
27
|
+
* `selfhelp-mobile-preview` image's advertised `mobileRendererVersion`.
|
|
28
|
+
* Absent for web-only plugins.
|
|
29
|
+
*/
|
|
30
|
+
mobile?: string;
|
|
23
31
|
}
|
|
24
32
|
interface IPluginManifestDependency {
|
|
25
33
|
/** Plugin id this plugin requires. */
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
export { I as IPluginManifest, a as IPluginManifestAdminPage, b as IPluginManifestApiRoute, c as IPluginManifestAsset, d as IPluginManifestCapability, e as IPluginManifestCompatibility, f as IPluginManifestConflict, g as IPluginManifestDataAccess, h as IPluginManifestDependency, i as IPluginManifestExternalHost, j as IPluginManifestFeatureFlag, k as IPluginManifestHealth, l as IPluginManifestLookupExtension, m as IPluginManifestMobile, n as IPluginManifestPermission, o as IPluginManifestRealtimeTopic, p as IPluginManifestScheduledJob, q as IPluginManifestSecurity, r as IPluginManifestStyle, s as IPluginManifestTrustLevel } from '../manifest-
|
|
2
|
-
import { I as IStyleRegistryEntry } from '../styles.registry-
|
|
3
|
-
import '../common-
|
|
1
|
+
export { I as IPluginManifest, a as IPluginManifestAdminPage, b as IPluginManifestApiRoute, c as IPluginManifestAsset, d as IPluginManifestCapability, e as IPluginManifestCompatibility, f as IPluginManifestConflict, g as IPluginManifestDataAccess, h as IPluginManifestDependency, i as IPluginManifestExternalHost, j as IPluginManifestFeatureFlag, k as IPluginManifestHealth, l as IPluginManifestLookupExtension, m as IPluginManifestMobile, n as IPluginManifestPermission, o as IPluginManifestRealtimeTopic, p as IPluginManifestScheduledJob, q as IPluginManifestSecurity, r as IPluginManifestStyle, s as IPluginManifestTrustLevel } from '../manifest-8YXAk-4o.mjs';
|
|
2
|
+
import { I as IStyleRegistryEntry } from '../styles.registry-4W0LzmZB.mjs';
|
|
3
|
+
import '../common-qaDIAYS3.mjs';
|
|
4
4
|
|
|
5
5
|
/**
|
|
6
6
|
* SDK contract version. Plugins declare which API they target in
|
|
@@ -15,6 +15,23 @@ import '../common-udJ0O8qC.mjs';
|
|
|
15
15
|
* Independent from the npm `version` of `@selfhelp/shared`.
|
|
16
16
|
*/
|
|
17
17
|
declare const PLUGIN_API_VERSION: "0.1.0";
|
|
18
|
+
/**
|
|
19
|
+
* Mobile renderer contract version. This is the SECOND, mobile-only
|
|
20
|
+
* compatibility axis (independent of `PLUGIN_API_VERSION`): it versions the
|
|
21
|
+
* mobile plugin rendering surface — the `registerMobile()` shape, `IStyleProps`
|
|
22
|
+
* / `TPluginStyleImplMap`, and the mobile host SDK primitives — that a plugin's
|
|
23
|
+
* mobile npm package compiles against.
|
|
24
|
+
*
|
|
25
|
+
* The mobile app and the `selfhelp-mobile-preview` image advertise this value
|
|
26
|
+
* (in `version.json` + the signed `mobile-preview-release.json`). A plugin
|
|
27
|
+
* declares the range it supports in `plugin.json` under `compatibility.mobile`;
|
|
28
|
+
* the SelfHelp Manager gates the plugin against the selected preview image's
|
|
29
|
+
* advertised `mobileRendererVersion` using {@see isMobileRendererCompatible}.
|
|
30
|
+
*
|
|
31
|
+
* Bump rules mirror the SDK contract: patch = additive fix, minor = additive
|
|
32
|
+
* renderer feature, major = breaking mobile renderer change.
|
|
33
|
+
*/
|
|
34
|
+
declare const MOBILE_RENDERER_VERSION: "0.1.0";
|
|
18
35
|
interface ISemver {
|
|
19
36
|
major: number;
|
|
20
37
|
minor: number;
|
|
@@ -44,6 +61,15 @@ declare function isPluginApiCompatible(required: string, host?: string): boolean
|
|
|
44
61
|
* - host minor >= plugin's required minor.
|
|
45
62
|
*/
|
|
46
63
|
declare function assertPluginApiVersion(required: string): void;
|
|
64
|
+
/**
|
|
65
|
+
* Non-throwing satisfaction check for the mobile-renderer axis: returns true
|
|
66
|
+
* when the host's `mobileRendererVersion` falls inside the plugin's declared
|
|
67
|
+
* `compatibility.mobile` range. Used by the SelfHelp Manager preflight to gate
|
|
68
|
+
* an enabled plugin's mobile package against the selected preview image, and by
|
|
69
|
+
* the mobile/preview runtime to skip an incompatible plugin instead of crashing.
|
|
70
|
+
* An empty/undefined range is treated as "no mobile support declared" → false.
|
|
71
|
+
*/
|
|
72
|
+
declare function isMobileRendererCompatible(requiredRange: string | undefined, host?: string): boolean;
|
|
47
73
|
/**
|
|
48
74
|
* Throw if the running CMS version is not in the plugin's declared
|
|
49
75
|
* compatibility range.
|
|
@@ -141,6 +167,12 @@ interface IPluginRelease {
|
|
|
141
167
|
core: string;
|
|
142
168
|
/** Semver range of host plugin-API versions this plugin runs on. */
|
|
143
169
|
pluginApi: string;
|
|
170
|
+
/**
|
|
171
|
+
* Semver range of the host mobile renderer contract
|
|
172
|
+
* (`mobileRendererVersion`) this plugin's mobile package supports.
|
|
173
|
+
* Additive; absent for web-only plugins.
|
|
174
|
+
*/
|
|
175
|
+
mobile?: string;
|
|
144
176
|
};
|
|
145
177
|
/** Optional other-plugin requirements consumed by the resolver. */
|
|
146
178
|
dependencies?: {
|
|
@@ -194,6 +226,11 @@ interface IPluginRegistry {
|
|
|
194
226
|
worker: IRegistryReleaseRef[];
|
|
195
227
|
/** Plugin release refs (CMS-installed) — multi-version, one ref per published version. */
|
|
196
228
|
plugins: IRegistryReleaseRef[];
|
|
229
|
+
/**
|
|
230
|
+
* Mobile-preview web image release refs (Manager-installed). Additive in
|
|
231
|
+
* registry `schemaVersion` 1.1 — older managers ignore the unknown array.
|
|
232
|
+
*/
|
|
233
|
+
mobilePreview?: IRegistryReleaseRef[];
|
|
197
234
|
/** Optional path to the security advisory feed. */
|
|
198
235
|
advisoriesUrl?: string;
|
|
199
236
|
/** Optional path to the cross-component compatibility feed. */
|
|
@@ -837,4 +874,4 @@ declare function isPluginRuntimeShimSpecifier(value: unknown): value is TPluginR
|
|
|
837
874
|
*/
|
|
838
875
|
declare const PLUGIN_RUNTIME_IMPORT_MAP: Readonly<Record<TPluginRuntimeShimSpecifier, string>>;
|
|
839
876
|
|
|
840
|
-
export { type IAdminPageDefinition, type IFieldRendererDefinition, type IMenuItemDefinition, type IMobilePluginApi, type IMobilePluginRegistration, type IPluginApi, type IPluginFeatureFlag, type IPluginFieldRendererProps, type IPluginHealthCheck, type IPluginLock, type IPluginLockEntry, type IPluginLockMigration, type IPluginLockMobileEntry, type IPluginRealtimePublisher, type IPluginRealtimeTopic, type IPluginRegistration, type IPluginRegistry, type IPluginRelease, type IRealtimeTransport, type IRegistryReleaseRef, type IRegistrySignatureBlock, type IRichTextEditorAdapter, type IRichTextEditorAdapterOptions, type IRichTextEditorValue, type IStyleDefinition, type IUsePluginRealtimeOptions, type IUsePluginRealtimeResult, PLUGIN_API_VERSION, PLUGIN_REGISTRY_CHANNELS, PLUGIN_RUNTIME_GLOBAL_KEY, PLUGIN_RUNTIME_IMPORT_MAP, PLUGIN_RUNTIME_SHIM_BASE_PATH, PLUGIN_RUNTIME_SHIM_SPECIFIERS, type TPluginRegistryChannel, type TPluginRuntimeShimSpecifier, type TRealtimeTransportFactory, assertCmsCompatibility, assertPluginApiVersion, assertPluginVersionSemantics, buildPluginRuntimeShimPath, compareSemver, defineMobilePlugin, definePlugin, definePluginRealtimeTopic, isPluginApiCompatible, isPluginRuntimeShimSpecifier, parseSemver, satisfiesSemverRange, usePluginRealtime };
|
|
877
|
+
export { type IAdminPageDefinition, type IFieldRendererDefinition, type IMenuItemDefinition, type IMobilePluginApi, type IMobilePluginRegistration, type IPluginApi, type IPluginFeatureFlag, type IPluginFieldRendererProps, type IPluginHealthCheck, type IPluginLock, type IPluginLockEntry, type IPluginLockMigration, type IPluginLockMobileEntry, type IPluginRealtimePublisher, type IPluginRealtimeTopic, type IPluginRegistration, type IPluginRegistry, type IPluginRelease, type IRealtimeTransport, type IRegistryReleaseRef, type IRegistrySignatureBlock, type IRichTextEditorAdapter, type IRichTextEditorAdapterOptions, type IRichTextEditorValue, type IStyleDefinition, type IUsePluginRealtimeOptions, type IUsePluginRealtimeResult, MOBILE_RENDERER_VERSION, PLUGIN_API_VERSION, PLUGIN_REGISTRY_CHANNELS, PLUGIN_RUNTIME_GLOBAL_KEY, PLUGIN_RUNTIME_IMPORT_MAP, PLUGIN_RUNTIME_SHIM_BASE_PATH, PLUGIN_RUNTIME_SHIM_SPECIFIERS, type TPluginRegistryChannel, type TPluginRuntimeShimSpecifier, type TRealtimeTransportFactory, assertCmsCompatibility, assertPluginApiVersion, assertPluginVersionSemantics, buildPluginRuntimeShimPath, compareSemver, defineMobilePlugin, definePlugin, definePluginRealtimeTopic, isMobileRendererCompatible, isPluginApiCompatible, isPluginRuntimeShimSpecifier, parseSemver, satisfiesSemverRange, usePluginRealtime };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
export { I as IPluginManifest, a as IPluginManifestAdminPage, b as IPluginManifestApiRoute, c as IPluginManifestAsset, d as IPluginManifestCapability, e as IPluginManifestCompatibility, f as IPluginManifestConflict, g as IPluginManifestDataAccess, h as IPluginManifestDependency, i as IPluginManifestExternalHost, j as IPluginManifestFeatureFlag, k as IPluginManifestHealth, l as IPluginManifestLookupExtension, m as IPluginManifestMobile, n as IPluginManifestPermission, o as IPluginManifestRealtimeTopic, p as IPluginManifestScheduledJob, q as IPluginManifestSecurity, r as IPluginManifestStyle, s as IPluginManifestTrustLevel } from '../manifest-
|
|
2
|
-
import { I as IStyleRegistryEntry } from '../styles.registry-
|
|
3
|
-
import '../common-
|
|
1
|
+
export { I as IPluginManifest, a as IPluginManifestAdminPage, b as IPluginManifestApiRoute, c as IPluginManifestAsset, d as IPluginManifestCapability, e as IPluginManifestCompatibility, f as IPluginManifestConflict, g as IPluginManifestDataAccess, h as IPluginManifestDependency, i as IPluginManifestExternalHost, j as IPluginManifestFeatureFlag, k as IPluginManifestHealth, l as IPluginManifestLookupExtension, m as IPluginManifestMobile, n as IPluginManifestPermission, o as IPluginManifestRealtimeTopic, p as IPluginManifestScheduledJob, q as IPluginManifestSecurity, r as IPluginManifestStyle, s as IPluginManifestTrustLevel } from '../manifest-8YXAk-4o.js';
|
|
2
|
+
import { I as IStyleRegistryEntry } from '../styles.registry-D6xMm5VR.js';
|
|
3
|
+
import '../common-qaDIAYS3.js';
|
|
4
4
|
|
|
5
5
|
/**
|
|
6
6
|
* SDK contract version. Plugins declare which API they target in
|
|
@@ -15,6 +15,23 @@ import '../common-udJ0O8qC.js';
|
|
|
15
15
|
* Independent from the npm `version` of `@selfhelp/shared`.
|
|
16
16
|
*/
|
|
17
17
|
declare const PLUGIN_API_VERSION: "0.1.0";
|
|
18
|
+
/**
|
|
19
|
+
* Mobile renderer contract version. This is the SECOND, mobile-only
|
|
20
|
+
* compatibility axis (independent of `PLUGIN_API_VERSION`): it versions the
|
|
21
|
+
* mobile plugin rendering surface — the `registerMobile()` shape, `IStyleProps`
|
|
22
|
+
* / `TPluginStyleImplMap`, and the mobile host SDK primitives — that a plugin's
|
|
23
|
+
* mobile npm package compiles against.
|
|
24
|
+
*
|
|
25
|
+
* The mobile app and the `selfhelp-mobile-preview` image advertise this value
|
|
26
|
+
* (in `version.json` + the signed `mobile-preview-release.json`). A plugin
|
|
27
|
+
* declares the range it supports in `plugin.json` under `compatibility.mobile`;
|
|
28
|
+
* the SelfHelp Manager gates the plugin against the selected preview image's
|
|
29
|
+
* advertised `mobileRendererVersion` using {@see isMobileRendererCompatible}.
|
|
30
|
+
*
|
|
31
|
+
* Bump rules mirror the SDK contract: patch = additive fix, minor = additive
|
|
32
|
+
* renderer feature, major = breaking mobile renderer change.
|
|
33
|
+
*/
|
|
34
|
+
declare const MOBILE_RENDERER_VERSION: "0.1.0";
|
|
18
35
|
interface ISemver {
|
|
19
36
|
major: number;
|
|
20
37
|
minor: number;
|
|
@@ -44,6 +61,15 @@ declare function isPluginApiCompatible(required: string, host?: string): boolean
|
|
|
44
61
|
* - host minor >= plugin's required minor.
|
|
45
62
|
*/
|
|
46
63
|
declare function assertPluginApiVersion(required: string): void;
|
|
64
|
+
/**
|
|
65
|
+
* Non-throwing satisfaction check for the mobile-renderer axis: returns true
|
|
66
|
+
* when the host's `mobileRendererVersion` falls inside the plugin's declared
|
|
67
|
+
* `compatibility.mobile` range. Used by the SelfHelp Manager preflight to gate
|
|
68
|
+
* an enabled plugin's mobile package against the selected preview image, and by
|
|
69
|
+
* the mobile/preview runtime to skip an incompatible plugin instead of crashing.
|
|
70
|
+
* An empty/undefined range is treated as "no mobile support declared" → false.
|
|
71
|
+
*/
|
|
72
|
+
declare function isMobileRendererCompatible(requiredRange: string | undefined, host?: string): boolean;
|
|
47
73
|
/**
|
|
48
74
|
* Throw if the running CMS version is not in the plugin's declared
|
|
49
75
|
* compatibility range.
|
|
@@ -141,6 +167,12 @@ interface IPluginRelease {
|
|
|
141
167
|
core: string;
|
|
142
168
|
/** Semver range of host plugin-API versions this plugin runs on. */
|
|
143
169
|
pluginApi: string;
|
|
170
|
+
/**
|
|
171
|
+
* Semver range of the host mobile renderer contract
|
|
172
|
+
* (`mobileRendererVersion`) this plugin's mobile package supports.
|
|
173
|
+
* Additive; absent for web-only plugins.
|
|
174
|
+
*/
|
|
175
|
+
mobile?: string;
|
|
144
176
|
};
|
|
145
177
|
/** Optional other-plugin requirements consumed by the resolver. */
|
|
146
178
|
dependencies?: {
|
|
@@ -194,6 +226,11 @@ interface IPluginRegistry {
|
|
|
194
226
|
worker: IRegistryReleaseRef[];
|
|
195
227
|
/** Plugin release refs (CMS-installed) — multi-version, one ref per published version. */
|
|
196
228
|
plugins: IRegistryReleaseRef[];
|
|
229
|
+
/**
|
|
230
|
+
* Mobile-preview web image release refs (Manager-installed). Additive in
|
|
231
|
+
* registry `schemaVersion` 1.1 — older managers ignore the unknown array.
|
|
232
|
+
*/
|
|
233
|
+
mobilePreview?: IRegistryReleaseRef[];
|
|
197
234
|
/** Optional path to the security advisory feed. */
|
|
198
235
|
advisoriesUrl?: string;
|
|
199
236
|
/** Optional path to the cross-component compatibility feed. */
|
|
@@ -837,4 +874,4 @@ declare function isPluginRuntimeShimSpecifier(value: unknown): value is TPluginR
|
|
|
837
874
|
*/
|
|
838
875
|
declare const PLUGIN_RUNTIME_IMPORT_MAP: Readonly<Record<TPluginRuntimeShimSpecifier, string>>;
|
|
839
876
|
|
|
840
|
-
export { type IAdminPageDefinition, type IFieldRendererDefinition, type IMenuItemDefinition, type IMobilePluginApi, type IMobilePluginRegistration, type IPluginApi, type IPluginFeatureFlag, type IPluginFieldRendererProps, type IPluginHealthCheck, type IPluginLock, type IPluginLockEntry, type IPluginLockMigration, type IPluginLockMobileEntry, type IPluginRealtimePublisher, type IPluginRealtimeTopic, type IPluginRegistration, type IPluginRegistry, type IPluginRelease, type IRealtimeTransport, type IRegistryReleaseRef, type IRegistrySignatureBlock, type IRichTextEditorAdapter, type IRichTextEditorAdapterOptions, type IRichTextEditorValue, type IStyleDefinition, type IUsePluginRealtimeOptions, type IUsePluginRealtimeResult, PLUGIN_API_VERSION, PLUGIN_REGISTRY_CHANNELS, PLUGIN_RUNTIME_GLOBAL_KEY, PLUGIN_RUNTIME_IMPORT_MAP, PLUGIN_RUNTIME_SHIM_BASE_PATH, PLUGIN_RUNTIME_SHIM_SPECIFIERS, type TPluginRegistryChannel, type TPluginRuntimeShimSpecifier, type TRealtimeTransportFactory, assertCmsCompatibility, assertPluginApiVersion, assertPluginVersionSemantics, buildPluginRuntimeShimPath, compareSemver, defineMobilePlugin, definePlugin, definePluginRealtimeTopic, isPluginApiCompatible, isPluginRuntimeShimSpecifier, parseSemver, satisfiesSemverRange, usePluginRealtime };
|
|
877
|
+
export { type IAdminPageDefinition, type IFieldRendererDefinition, type IMenuItemDefinition, type IMobilePluginApi, type IMobilePluginRegistration, type IPluginApi, type IPluginFeatureFlag, type IPluginFieldRendererProps, type IPluginHealthCheck, type IPluginLock, type IPluginLockEntry, type IPluginLockMigration, type IPluginLockMobileEntry, type IPluginRealtimePublisher, type IPluginRealtimeTopic, type IPluginRegistration, type IPluginRegistry, type IPluginRelease, type IRealtimeTransport, type IRegistryReleaseRef, type IRegistrySignatureBlock, type IRichTextEditorAdapter, type IRichTextEditorAdapterOptions, type IRichTextEditorValue, type IStyleDefinition, type IUsePluginRealtimeOptions, type IUsePluginRealtimeResult, MOBILE_RENDERER_VERSION, PLUGIN_API_VERSION, PLUGIN_REGISTRY_CHANNELS, PLUGIN_RUNTIME_GLOBAL_KEY, PLUGIN_RUNTIME_IMPORT_MAP, PLUGIN_RUNTIME_SHIM_BASE_PATH, PLUGIN_RUNTIME_SHIM_SPECIFIERS, type TPluginRegistryChannel, type TPluginRuntimeShimSpecifier, type TRealtimeTransportFactory, assertCmsCompatibility, assertPluginApiVersion, assertPluginVersionSemantics, buildPluginRuntimeShimPath, compareSemver, defineMobilePlugin, definePlugin, definePluginRealtimeTopic, isMobileRendererCompatible, isPluginApiCompatible, isPluginRuntimeShimSpecifier, parseSemver, satisfiesSemverRange, usePluginRealtime };
|