@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/plugin-sdk/index.js
CHANGED
|
@@ -20,6 +20,7 @@ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: tru
|
|
|
20
20
|
// src/plugin-sdk/index.ts
|
|
21
21
|
var plugin_sdk_exports = {};
|
|
22
22
|
__export(plugin_sdk_exports, {
|
|
23
|
+
MOBILE_RENDERER_VERSION: () => MOBILE_RENDERER_VERSION,
|
|
23
24
|
PLUGIN_API_VERSION: () => PLUGIN_API_VERSION,
|
|
24
25
|
PLUGIN_REGISTRY_CHANNELS: () => PLUGIN_REGISTRY_CHANNELS,
|
|
25
26
|
PLUGIN_RUNTIME_GLOBAL_KEY: () => PLUGIN_RUNTIME_GLOBAL_KEY,
|
|
@@ -34,6 +35,7 @@ __export(plugin_sdk_exports, {
|
|
|
34
35
|
defineMobilePlugin: () => defineMobilePlugin,
|
|
35
36
|
definePlugin: () => definePlugin,
|
|
36
37
|
definePluginRealtimeTopic: () => definePluginRealtimeTopic,
|
|
38
|
+
isMobileRendererCompatible: () => isMobileRendererCompatible,
|
|
37
39
|
isPluginApiCompatible: () => isPluginApiCompatible,
|
|
38
40
|
isPluginRuntimeShimSpecifier: () => isPluginRuntimeShimSpecifier,
|
|
39
41
|
parseSemver: () => parseSemver,
|
|
@@ -44,6 +46,7 @@ module.exports = __toCommonJS(plugin_sdk_exports);
|
|
|
44
46
|
|
|
45
47
|
// src/plugin-sdk/version.ts
|
|
46
48
|
var PLUGIN_API_VERSION = "0.1.0";
|
|
49
|
+
var MOBILE_RENDERER_VERSION = "0.1.0";
|
|
47
50
|
var SEMVER_REGEX = /^(\d+)\.(\d+)\.(\d+)(?:-([0-9A-Za-z.-]+))?$/;
|
|
48
51
|
function parseSemver(version) {
|
|
49
52
|
const match = SEMVER_REGEX.exec(version);
|
|
@@ -129,6 +132,14 @@ function assertPluginApiVersion(required) {
|
|
|
129
132
|
);
|
|
130
133
|
}
|
|
131
134
|
}
|
|
135
|
+
function isMobileRendererCompatible(requiredRange, host = MOBILE_RENDERER_VERSION) {
|
|
136
|
+
if (!requiredRange) return false;
|
|
137
|
+
try {
|
|
138
|
+
return satisfiesSemverRange(host, requiredRange);
|
|
139
|
+
} catch {
|
|
140
|
+
return false;
|
|
141
|
+
}
|
|
142
|
+
}
|
|
132
143
|
function assertCmsCompatibility(cmsVersion, range) {
|
|
133
144
|
if (!satisfiesSemverRange(cmsVersion, range)) {
|
|
134
145
|
throw new Error(
|
|
@@ -177,103 +188,103 @@ var PLUGIN_REGISTRY_CHANNELS = ["stable", "beta", "nightly", "test"];
|
|
|
177
188
|
// src/registry/styles.registry.ts
|
|
178
189
|
var BASE_STYLE_REGISTRY = {
|
|
179
190
|
// ===== auth =====
|
|
180
|
-
login: { description: "User login form", category: "auth",
|
|
181
|
-
register: { description: "User registration form", category: "auth",
|
|
182
|
-
validate: { description: "Email/account validation flow", category: "auth",
|
|
183
|
-
"reset-password": { description: "Reset password form", category: "auth",
|
|
184
|
-
"two-factor-auth": { description: "Two-factor auth code form", category: "auth",
|
|
185
|
-
profile: { description: "User profile management", category: "auth",
|
|
191
|
+
login: { description: "User login form", category: "auth", canHaveChildren: false },
|
|
192
|
+
register: { description: "User registration form", category: "auth", canHaveChildren: false },
|
|
193
|
+
validate: { description: "Email/account validation flow", category: "auth", canHaveChildren: true },
|
|
194
|
+
"reset-password": { description: "Reset password form", category: "auth", canHaveChildren: false },
|
|
195
|
+
"two-factor-auth": { description: "Two-factor auth code form", category: "auth", canHaveChildren: false },
|
|
196
|
+
profile: { description: "User profile management", category: "auth", canHaveChildren: false },
|
|
186
197
|
// ===== layout =====
|
|
187
|
-
container: { description: "Mantine Container with responsive max-width", category: "layout",
|
|
188
|
-
box: { description: "Generic Mantine Box wrapper", category: "layout",
|
|
189
|
-
flex: { description: "Mantine Flex layout", category: "layout",
|
|
190
|
-
group: { description: "Mantine Group horizontal layout", category: "layout",
|
|
191
|
-
stack: { description: "Mantine Stack vertical layout", category: "layout",
|
|
192
|
-
"simple-grid": { description: "Mantine SimpleGrid", category: "layout",
|
|
193
|
-
grid: { description: "Mantine Grid", category: "layout",
|
|
194
|
-
"grid-column": { description: "Mantine Grid.Col", category: "layout",
|
|
195
|
-
space: { description: "Mantine Space spacer", category: "layout",
|
|
196
|
-
divider: { description: "Mantine Divider", category: "layout",
|
|
197
|
-
paper: { description: "Mantine Paper surface", category: "layout",
|
|
198
|
-
center: { description: "Mantine Center alignment", category: "layout",
|
|
199
|
-
"scroll-area": { description: "Mantine ScrollArea", category: "layout",
|
|
200
|
-
card: { description: "Mantine Card", category: "layout",
|
|
201
|
-
"card-segment": { description: "Mantine Card.Section", category: "layout",
|
|
202
|
-
"aspect-ratio": { description: "Mantine AspectRatio wrapper", category: "layout",
|
|
203
|
-
"background-image": { description: "Mantine BackgroundImage", category: "layout",
|
|
198
|
+
container: { description: "Mantine Container with responsive max-width", category: "layout", canHaveChildren: true },
|
|
199
|
+
box: { description: "Generic Mantine Box wrapper", category: "layout", canHaveChildren: true },
|
|
200
|
+
flex: { description: "Mantine Flex layout", category: "layout", canHaveChildren: true },
|
|
201
|
+
group: { description: "Mantine Group horizontal layout", category: "layout", canHaveChildren: true },
|
|
202
|
+
stack: { description: "Mantine Stack vertical layout", category: "layout", canHaveChildren: true },
|
|
203
|
+
"simple-grid": { description: "Mantine SimpleGrid", category: "layout", canHaveChildren: true },
|
|
204
|
+
grid: { description: "Mantine Grid", category: "layout", canHaveChildren: true },
|
|
205
|
+
"grid-column": { description: "Mantine Grid.Col", category: "layout", canHaveChildren: true },
|
|
206
|
+
space: { description: "Mantine Space spacer", category: "layout", canHaveChildren: false },
|
|
207
|
+
divider: { description: "Mantine Divider", category: "layout", canHaveChildren: false },
|
|
208
|
+
paper: { description: "Mantine Paper surface", category: "layout", canHaveChildren: true },
|
|
209
|
+
center: { description: "Mantine Center alignment", category: "layout", canHaveChildren: true },
|
|
210
|
+
"scroll-area": { description: "Mantine ScrollArea", category: "layout", canHaveChildren: true },
|
|
211
|
+
card: { description: "Mantine Card", category: "layout", canHaveChildren: true },
|
|
212
|
+
"card-segment": { description: "Mantine Card.Section", category: "layout", canHaveChildren: true },
|
|
213
|
+
"aspect-ratio": { description: "Mantine AspectRatio wrapper", category: "layout", canHaveChildren: true },
|
|
214
|
+
"background-image": { description: "Mantine BackgroundImage", category: "layout", canHaveChildren: true },
|
|
204
215
|
// ===== typography =====
|
|
205
|
-
title: { description: "Mantine Title", category: "typography",
|
|
206
|
-
text: { description: "Mantine Text", category: "typography",
|
|
207
|
-
code: { description: "Mantine Code (inline / block)", category: "typography",
|
|
208
|
-
highlight: { description: "Mantine Highlight", category: "typography",
|
|
209
|
-
blockquote: { description: "Mantine Blockquote", category: "typography",
|
|
210
|
-
"html-tag": { description: "Generic HTML tag wrapper (web), maps to View on RN", category: "typography",
|
|
211
|
-
kbd: { description: "Mantine Kbd", category: "typography",
|
|
212
|
-
typography: { description: "Mantine Typography wrapper", category: "typography",
|
|
213
|
-
fieldset: { description: "Mantine Fieldset", category: "typography",
|
|
214
|
-
spoiler: { description: "Mantine Spoiler reveal", category: "typography",
|
|
216
|
+
title: { description: "Mantine Title", category: "typography", canHaveChildren: false },
|
|
217
|
+
text: { description: "Mantine Text", category: "typography", canHaveChildren: false },
|
|
218
|
+
code: { description: "Mantine Code (inline / block)", category: "typography", canHaveChildren: false },
|
|
219
|
+
highlight: { description: "Mantine Highlight", category: "typography", canHaveChildren: false },
|
|
220
|
+
blockquote: { description: "Mantine Blockquote", category: "typography", canHaveChildren: false },
|
|
221
|
+
"html-tag": { description: "Generic HTML tag wrapper (web), maps to View on RN", category: "typography", canHaveChildren: true },
|
|
222
|
+
kbd: { description: "Mantine Kbd", category: "typography", canHaveChildren: false },
|
|
223
|
+
typography: { description: "Mantine Typography wrapper", category: "typography", canHaveChildren: true },
|
|
224
|
+
fieldset: { description: "Mantine Fieldset", category: "typography", canHaveChildren: true },
|
|
225
|
+
spoiler: { description: "Mantine Spoiler reveal", category: "typography", canHaveChildren: true },
|
|
215
226
|
// ===== media =====
|
|
216
|
-
image: { description: "Mantine Image / RN Image", category: "media",
|
|
217
|
-
video: { description: "HTML5 video / expo-video", category: "media",
|
|
218
|
-
audio: { description: "HTML5 audio / expo-audio", category: "media",
|
|
219
|
-
figure: { description: "Figure with caption", category: "media",
|
|
220
|
-
carousel: { description: "Embla on web, reanimated-carousel on RN", category: "media",
|
|
227
|
+
image: { description: "Mantine Image / RN Image", category: "media", canHaveChildren: false },
|
|
228
|
+
video: { description: "HTML5 video / expo-video", category: "media", canHaveChildren: false },
|
|
229
|
+
audio: { description: "HTML5 audio / expo-audio", category: "media", canHaveChildren: false },
|
|
230
|
+
figure: { description: "Figure with caption", category: "media", canHaveChildren: true },
|
|
231
|
+
carousel: { description: "Embla on web, reanimated-carousel on RN", category: "media", canHaveChildren: true },
|
|
221
232
|
// ===== interactive =====
|
|
222
|
-
button: { description: "Mantine Button / HeroUI Button", category: "interactive",
|
|
223
|
-
link: { description: "Anchor / Pressable navigation", category: "interactive",
|
|
224
|
-
"action-icon": { description: "Mantine ActionIcon", category: "interactive",
|
|
225
|
-
alert: { description: "Mantine Alert", category: "interactive",
|
|
226
|
-
badge: { description: "Mantine Badge", category: "interactive",
|
|
227
|
-
avatar: { description: "Mantine Avatar", category: "interactive",
|
|
228
|
-
chip: { description: "Mantine Chip", category: "interactive",
|
|
229
|
-
indicator: { description: "Mantine Indicator dot", category: "interactive",
|
|
230
|
-
"theme-icon": { description: "Mantine ThemeIcon", category: "interactive",
|
|
231
|
-
notification: { description: "Mantine Notification", category: "interactive",
|
|
233
|
+
button: { description: "Mantine Button / HeroUI Button", category: "interactive", canHaveChildren: false },
|
|
234
|
+
link: { description: "Anchor / Pressable navigation", category: "interactive", canHaveChildren: false },
|
|
235
|
+
"action-icon": { description: "Mantine ActionIcon", category: "interactive", canHaveChildren: false },
|
|
236
|
+
alert: { description: "Mantine Alert", category: "interactive", canHaveChildren: true },
|
|
237
|
+
badge: { description: "Mantine Badge", category: "interactive", canHaveChildren: false },
|
|
238
|
+
avatar: { description: "Mantine Avatar", category: "interactive", canHaveChildren: false },
|
|
239
|
+
chip: { description: "Mantine Chip", category: "interactive", canHaveChildren: false },
|
|
240
|
+
indicator: { description: "Mantine Indicator dot", category: "interactive", canHaveChildren: true },
|
|
241
|
+
"theme-icon": { description: "Mantine ThemeIcon", category: "interactive", canHaveChildren: false },
|
|
242
|
+
notification: { description: "Mantine Notification", category: "interactive", canHaveChildren: false },
|
|
232
243
|
// ===== forms =====
|
|
233
|
-
"form-log": { description: "Append-only form (one row per submit)", category: "forms",
|
|
234
|
-
"form-record": { description: "Per-user record form", category: "forms",
|
|
235
|
-
input: { description: "Plain HTML input", category: "forms",
|
|
236
|
-
"text-input": { description: "Mantine TextInput", category: "forms",
|
|
237
|
-
textarea: { description: "Mantine Textarea", category: "forms",
|
|
238
|
-
"rich-text-editor": { description: "Tiptap editor on web; native inline-format toolbar editor on mobile", category: "forms",
|
|
239
|
-
select: { description: "HTML select / Mantine Select", category: "forms",
|
|
240
|
-
radio: { description: "Mantine Radio / RadioGroup", category: "forms",
|
|
241
|
-
checkbox: { description: "Mantine Checkbox", category: "forms",
|
|
242
|
-
slider: { description: "Mantine Slider", category: "forms",
|
|
243
|
-
"range-slider": { description: "Mantine RangeSlider", category: "forms",
|
|
244
|
-
datepicker: { description: "Mantine DatePicker", category: "forms",
|
|
245
|
-
switch: { description: "Mantine Switch", category: "forms",
|
|
246
|
-
combobox: { description: "Mantine Combobox", category: "forms",
|
|
247
|
-
"color-input": { description: "Mantine ColorInput", category: "forms",
|
|
248
|
-
"color-picker": { description: "Mantine ColorPicker", category: "forms",
|
|
249
|
-
"file-input": { description: "Mantine FileInput / DocumentPicker on RN", category: "forms",
|
|
250
|
-
"number-input": { description: "Mantine NumberInput", category: "forms",
|
|
251
|
-
"segmented-control": { description: "Mantine SegmentedControl", category: "forms",
|
|
252
|
-
rating: { description: "Mantine Rating", category: "forms",
|
|
253
|
-
progress: { description: "Mantine Progress", category: "forms",
|
|
254
|
-
"progress-root": { description: "Mantine Progress.Root", category: "forms",
|
|
255
|
-
"progress-section": { description: "Mantine Progress.Section", category: "forms",
|
|
244
|
+
"form-log": { description: "Append-only form (one row per submit)", category: "forms", canHaveChildren: true },
|
|
245
|
+
"form-record": { description: "Per-user record form", category: "forms", canHaveChildren: true },
|
|
246
|
+
input: { description: "Plain HTML input", category: "forms", canHaveChildren: false },
|
|
247
|
+
"text-input": { description: "Mantine TextInput", category: "forms", canHaveChildren: false },
|
|
248
|
+
textarea: { description: "Mantine Textarea", category: "forms", canHaveChildren: false },
|
|
249
|
+
"rich-text-editor": { description: "Tiptap editor on web; native inline-format toolbar editor on mobile", category: "forms", canHaveChildren: false },
|
|
250
|
+
select: { description: "HTML select / Mantine Select", category: "forms", canHaveChildren: false },
|
|
251
|
+
radio: { description: "Mantine Radio / RadioGroup", category: "forms", canHaveChildren: false },
|
|
252
|
+
checkbox: { description: "Mantine Checkbox", category: "forms", canHaveChildren: false },
|
|
253
|
+
slider: { description: "Mantine Slider", category: "forms", canHaveChildren: false },
|
|
254
|
+
"range-slider": { description: "Mantine RangeSlider", category: "forms", canHaveChildren: false },
|
|
255
|
+
datepicker: { description: "Mantine DatePicker", category: "forms", canHaveChildren: false },
|
|
256
|
+
switch: { description: "Mantine Switch", category: "forms", canHaveChildren: false },
|
|
257
|
+
combobox: { description: "Mantine Combobox", category: "forms", canHaveChildren: false },
|
|
258
|
+
"color-input": { description: "Mantine ColorInput", category: "forms", canHaveChildren: false },
|
|
259
|
+
"color-picker": { description: "Mantine ColorPicker", category: "forms", canHaveChildren: false },
|
|
260
|
+
"file-input": { description: "Mantine FileInput / DocumentPicker on RN", category: "forms", canHaveChildren: false },
|
|
261
|
+
"number-input": { description: "Mantine NumberInput", category: "forms", canHaveChildren: false },
|
|
262
|
+
"segmented-control": { description: "Mantine SegmentedControl", category: "forms", canHaveChildren: false },
|
|
263
|
+
rating: { description: "Mantine Rating", category: "forms", canHaveChildren: false },
|
|
264
|
+
progress: { description: "Mantine Progress", category: "forms", canHaveChildren: false },
|
|
265
|
+
"progress-root": { description: "Mantine Progress.Root", category: "forms", canHaveChildren: true },
|
|
266
|
+
"progress-section": { description: "Mantine Progress.Section", category: "forms", canHaveChildren: false },
|
|
256
267
|
// ===== composite =====
|
|
257
|
-
accordion: { description: "Mantine Accordion", category: "composite",
|
|
258
|
-
"accordion-item": { description: "Mantine Accordion.Item", category: "composite",
|
|
259
|
-
tabs: { description: "Mantine Tabs", category: "composite",
|
|
260
|
-
tab: { description: "Mantine Tabs.Tab + Tabs.Panel pair", category: "composite",
|
|
261
|
-
timeline: { description: "Mantine Timeline", category: "composite",
|
|
262
|
-
list: { description: "Mantine List", category: "composite",
|
|
263
|
-
"list-item": { description: "Mantine List.Item", category: "composite",
|
|
264
|
-
"entry-list": { description: "Data-driven list of entries (form-log table)", category: "composite",
|
|
265
|
-
"entry-record": { description: "Single-record container", category: "composite",
|
|
266
|
-
"entry-record-delete": { description: "Inline delete confirmation for an entry", category: "composite",
|
|
267
|
-
loop: { description: "Loop / repeater over backend-provided rows", category: "composite",
|
|
268
|
-
"timeline-item": { description: "A single entry inside a timeline (child-only)", category: "composite",
|
|
268
|
+
accordion: { description: "Mantine Accordion", category: "composite", canHaveChildren: true },
|
|
269
|
+
"accordion-item": { description: "Mantine Accordion.Item", category: "composite", canHaveChildren: true },
|
|
270
|
+
tabs: { description: "Mantine Tabs", category: "composite", canHaveChildren: true },
|
|
271
|
+
tab: { description: "Mantine Tabs.Tab + Tabs.Panel pair", category: "composite", canHaveChildren: true },
|
|
272
|
+
timeline: { description: "Mantine Timeline", category: "composite", canHaveChildren: true },
|
|
273
|
+
list: { description: "Mantine List", category: "composite", canHaveChildren: true },
|
|
274
|
+
"list-item": { description: "Mantine List.Item", category: "composite", canHaveChildren: true },
|
|
275
|
+
"entry-list": { description: "Data-driven list of entries (form-log table)", category: "composite", canHaveChildren: true },
|
|
276
|
+
"entry-record": { description: "Single-record container", category: "composite", canHaveChildren: true },
|
|
277
|
+
"entry-record-delete": { description: "Inline delete confirmation for an entry", category: "composite", canHaveChildren: false },
|
|
278
|
+
loop: { description: "Loop / repeater over backend-provided rows", category: "composite", canHaveChildren: true },
|
|
279
|
+
"timeline-item": { description: "A single entry inside a timeline (child-only)", category: "composite", canHaveChildren: true },
|
|
269
280
|
// ===== system / data / reference (established backend catalog) =====
|
|
270
|
-
"no-access": { description: "Access-denied surface shown when the user lacks page access", category: "auth",
|
|
271
|
-
missing: { description: 'Generic "content missing" system surface', category: "auth",
|
|
272
|
-
"not-found": { description: "Page-not-found system surface", category: "auth",
|
|
273
|
-
version: { description: "Build/version diagnostic surface", category: "auth",
|
|
274
|
-
"ref-container": { description: "Renders content referenced from another section", category: "layout",
|
|
275
|
-
"data-container": { description: "Data-scoped container (renders subtree against a data scope)", category: "layout",
|
|
276
|
-
"show-user-input": { description: "Displays previously submitted user input as a list/card view", category: "forms",
|
|
281
|
+
"no-access": { description: "Access-denied surface shown when the user lacks page access", category: "auth", canHaveChildren: false },
|
|
282
|
+
missing: { description: 'Generic "content missing" system surface', category: "auth", canHaveChildren: false },
|
|
283
|
+
"not-found": { description: "Page-not-found system surface", category: "auth", canHaveChildren: false },
|
|
284
|
+
version: { description: "Build/version diagnostic surface", category: "auth", canHaveChildren: false },
|
|
285
|
+
"ref-container": { description: "Renders content referenced from another section", category: "layout", canHaveChildren: true },
|
|
286
|
+
"data-container": { description: "Data-scoped container (renders subtree against a data scope)", category: "layout", canHaveChildren: true },
|
|
287
|
+
"show-user-input": { description: "Displays previously submitted user input as a list/card view", category: "forms", canHaveChildren: false }
|
|
277
288
|
};
|
|
278
289
|
var PLUGIN_STYLE_REGISTRY = {};
|
|
279
290
|
var REGISTERED_PLUGIN_KEYS = /* @__PURE__ */ new Map();
|
|
@@ -346,7 +357,6 @@ function toRegistryRecord(styles) {
|
|
|
346
357
|
out[style.name] = {
|
|
347
358
|
description: style.description,
|
|
348
359
|
category: style.category,
|
|
349
|
-
frontendOnly: true,
|
|
350
360
|
canHaveChildren: style.canHaveChildren
|
|
351
361
|
};
|
|
352
362
|
}
|
|
@@ -523,6 +533,7 @@ var PLUGIN_RUNTIME_IMPORT_MAP = Object.freeze(
|
|
|
523
533
|
);
|
|
524
534
|
// Annotate the CommonJS export names for ESM import in node:
|
|
525
535
|
0 && (module.exports = {
|
|
536
|
+
MOBILE_RENDERER_VERSION,
|
|
526
537
|
PLUGIN_API_VERSION,
|
|
527
538
|
PLUGIN_REGISTRY_CHANNELS,
|
|
528
539
|
PLUGIN_RUNTIME_GLOBAL_KEY,
|
|
@@ -537,6 +548,7 @@ var PLUGIN_RUNTIME_IMPORT_MAP = Object.freeze(
|
|
|
537
548
|
defineMobilePlugin,
|
|
538
549
|
definePlugin,
|
|
539
550
|
definePluginRealtimeTopic,
|
|
551
|
+
isMobileRendererCompatible,
|
|
540
552
|
isPluginApiCompatible,
|
|
541
553
|
isPluginRuntimeShimSpecifier,
|
|
542
554
|
parseSemver,
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
// src/plugin-sdk/version.ts
|
|
2
2
|
var PLUGIN_API_VERSION = "0.1.0";
|
|
3
|
+
var MOBILE_RENDERER_VERSION = "0.1.0";
|
|
3
4
|
var SEMVER_REGEX = /^(\d+)\.(\d+)\.(\d+)(?:-([0-9A-Za-z.-]+))?$/;
|
|
4
5
|
function parseSemver(version) {
|
|
5
6
|
const match = SEMVER_REGEX.exec(version);
|
|
@@ -85,6 +86,14 @@ function assertPluginApiVersion(required) {
|
|
|
85
86
|
);
|
|
86
87
|
}
|
|
87
88
|
}
|
|
89
|
+
function isMobileRendererCompatible(requiredRange, host = MOBILE_RENDERER_VERSION) {
|
|
90
|
+
if (!requiredRange) return false;
|
|
91
|
+
try {
|
|
92
|
+
return satisfiesSemverRange(host, requiredRange);
|
|
93
|
+
} catch {
|
|
94
|
+
return false;
|
|
95
|
+
}
|
|
96
|
+
}
|
|
88
97
|
function assertCmsCompatibility(cmsVersion, range) {
|
|
89
98
|
if (!satisfiesSemverRange(cmsVersion, range)) {
|
|
90
99
|
throw new Error(
|
|
@@ -133,103 +142,103 @@ var PLUGIN_REGISTRY_CHANNELS = ["stable", "beta", "nightly", "test"];
|
|
|
133
142
|
// src/registry/styles.registry.ts
|
|
134
143
|
var BASE_STYLE_REGISTRY = {
|
|
135
144
|
// ===== auth =====
|
|
136
|
-
login: { description: "User login form", category: "auth",
|
|
137
|
-
register: { description: "User registration form", category: "auth",
|
|
138
|
-
validate: { description: "Email/account validation flow", category: "auth",
|
|
139
|
-
"reset-password": { description: "Reset password form", category: "auth",
|
|
140
|
-
"two-factor-auth": { description: "Two-factor auth code form", category: "auth",
|
|
141
|
-
profile: { description: "User profile management", category: "auth",
|
|
145
|
+
login: { description: "User login form", category: "auth", canHaveChildren: false },
|
|
146
|
+
register: { description: "User registration form", category: "auth", canHaveChildren: false },
|
|
147
|
+
validate: { description: "Email/account validation flow", category: "auth", canHaveChildren: true },
|
|
148
|
+
"reset-password": { description: "Reset password form", category: "auth", canHaveChildren: false },
|
|
149
|
+
"two-factor-auth": { description: "Two-factor auth code form", category: "auth", canHaveChildren: false },
|
|
150
|
+
profile: { description: "User profile management", category: "auth", canHaveChildren: false },
|
|
142
151
|
// ===== layout =====
|
|
143
|
-
container: { description: "Mantine Container with responsive max-width", category: "layout",
|
|
144
|
-
box: { description: "Generic Mantine Box wrapper", category: "layout",
|
|
145
|
-
flex: { description: "Mantine Flex layout", category: "layout",
|
|
146
|
-
group: { description: "Mantine Group horizontal layout", category: "layout",
|
|
147
|
-
stack: { description: "Mantine Stack vertical layout", category: "layout",
|
|
148
|
-
"simple-grid": { description: "Mantine SimpleGrid", category: "layout",
|
|
149
|
-
grid: { description: "Mantine Grid", category: "layout",
|
|
150
|
-
"grid-column": { description: "Mantine Grid.Col", category: "layout",
|
|
151
|
-
space: { description: "Mantine Space spacer", category: "layout",
|
|
152
|
-
divider: { description: "Mantine Divider", category: "layout",
|
|
153
|
-
paper: { description: "Mantine Paper surface", category: "layout",
|
|
154
|
-
center: { description: "Mantine Center alignment", category: "layout",
|
|
155
|
-
"scroll-area": { description: "Mantine ScrollArea", category: "layout",
|
|
156
|
-
card: { description: "Mantine Card", category: "layout",
|
|
157
|
-
"card-segment": { description: "Mantine Card.Section", category: "layout",
|
|
158
|
-
"aspect-ratio": { description: "Mantine AspectRatio wrapper", category: "layout",
|
|
159
|
-
"background-image": { description: "Mantine BackgroundImage", category: "layout",
|
|
152
|
+
container: { description: "Mantine Container with responsive max-width", category: "layout", canHaveChildren: true },
|
|
153
|
+
box: { description: "Generic Mantine Box wrapper", category: "layout", canHaveChildren: true },
|
|
154
|
+
flex: { description: "Mantine Flex layout", category: "layout", canHaveChildren: true },
|
|
155
|
+
group: { description: "Mantine Group horizontal layout", category: "layout", canHaveChildren: true },
|
|
156
|
+
stack: { description: "Mantine Stack vertical layout", category: "layout", canHaveChildren: true },
|
|
157
|
+
"simple-grid": { description: "Mantine SimpleGrid", category: "layout", canHaveChildren: true },
|
|
158
|
+
grid: { description: "Mantine Grid", category: "layout", canHaveChildren: true },
|
|
159
|
+
"grid-column": { description: "Mantine Grid.Col", category: "layout", canHaveChildren: true },
|
|
160
|
+
space: { description: "Mantine Space spacer", category: "layout", canHaveChildren: false },
|
|
161
|
+
divider: { description: "Mantine Divider", category: "layout", canHaveChildren: false },
|
|
162
|
+
paper: { description: "Mantine Paper surface", category: "layout", canHaveChildren: true },
|
|
163
|
+
center: { description: "Mantine Center alignment", category: "layout", canHaveChildren: true },
|
|
164
|
+
"scroll-area": { description: "Mantine ScrollArea", category: "layout", canHaveChildren: true },
|
|
165
|
+
card: { description: "Mantine Card", category: "layout", canHaveChildren: true },
|
|
166
|
+
"card-segment": { description: "Mantine Card.Section", category: "layout", canHaveChildren: true },
|
|
167
|
+
"aspect-ratio": { description: "Mantine AspectRatio wrapper", category: "layout", canHaveChildren: true },
|
|
168
|
+
"background-image": { description: "Mantine BackgroundImage", category: "layout", canHaveChildren: true },
|
|
160
169
|
// ===== typography =====
|
|
161
|
-
title: { description: "Mantine Title", category: "typography",
|
|
162
|
-
text: { description: "Mantine Text", category: "typography",
|
|
163
|
-
code: { description: "Mantine Code (inline / block)", category: "typography",
|
|
164
|
-
highlight: { description: "Mantine Highlight", category: "typography",
|
|
165
|
-
blockquote: { description: "Mantine Blockquote", category: "typography",
|
|
166
|
-
"html-tag": { description: "Generic HTML tag wrapper (web), maps to View on RN", category: "typography",
|
|
167
|
-
kbd: { description: "Mantine Kbd", category: "typography",
|
|
168
|
-
typography: { description: "Mantine Typography wrapper", category: "typography",
|
|
169
|
-
fieldset: { description: "Mantine Fieldset", category: "typography",
|
|
170
|
-
spoiler: { description: "Mantine Spoiler reveal", category: "typography",
|
|
170
|
+
title: { description: "Mantine Title", category: "typography", canHaveChildren: false },
|
|
171
|
+
text: { description: "Mantine Text", category: "typography", canHaveChildren: false },
|
|
172
|
+
code: { description: "Mantine Code (inline / block)", category: "typography", canHaveChildren: false },
|
|
173
|
+
highlight: { description: "Mantine Highlight", category: "typography", canHaveChildren: false },
|
|
174
|
+
blockquote: { description: "Mantine Blockquote", category: "typography", canHaveChildren: false },
|
|
175
|
+
"html-tag": { description: "Generic HTML tag wrapper (web), maps to View on RN", category: "typography", canHaveChildren: true },
|
|
176
|
+
kbd: { description: "Mantine Kbd", category: "typography", canHaveChildren: false },
|
|
177
|
+
typography: { description: "Mantine Typography wrapper", category: "typography", canHaveChildren: true },
|
|
178
|
+
fieldset: { description: "Mantine Fieldset", category: "typography", canHaveChildren: true },
|
|
179
|
+
spoiler: { description: "Mantine Spoiler reveal", category: "typography", canHaveChildren: true },
|
|
171
180
|
// ===== media =====
|
|
172
|
-
image: { description: "Mantine Image / RN Image", category: "media",
|
|
173
|
-
video: { description: "HTML5 video / expo-video", category: "media",
|
|
174
|
-
audio: { description: "HTML5 audio / expo-audio", category: "media",
|
|
175
|
-
figure: { description: "Figure with caption", category: "media",
|
|
176
|
-
carousel: { description: "Embla on web, reanimated-carousel on RN", category: "media",
|
|
181
|
+
image: { description: "Mantine Image / RN Image", category: "media", canHaveChildren: false },
|
|
182
|
+
video: { description: "HTML5 video / expo-video", category: "media", canHaveChildren: false },
|
|
183
|
+
audio: { description: "HTML5 audio / expo-audio", category: "media", canHaveChildren: false },
|
|
184
|
+
figure: { description: "Figure with caption", category: "media", canHaveChildren: true },
|
|
185
|
+
carousel: { description: "Embla on web, reanimated-carousel on RN", category: "media", canHaveChildren: true },
|
|
177
186
|
// ===== interactive =====
|
|
178
|
-
button: { description: "Mantine Button / HeroUI Button", category: "interactive",
|
|
179
|
-
link: { description: "Anchor / Pressable navigation", category: "interactive",
|
|
180
|
-
"action-icon": { description: "Mantine ActionIcon", category: "interactive",
|
|
181
|
-
alert: { description: "Mantine Alert", category: "interactive",
|
|
182
|
-
badge: { description: "Mantine Badge", category: "interactive",
|
|
183
|
-
avatar: { description: "Mantine Avatar", category: "interactive",
|
|
184
|
-
chip: { description: "Mantine Chip", category: "interactive",
|
|
185
|
-
indicator: { description: "Mantine Indicator dot", category: "interactive",
|
|
186
|
-
"theme-icon": { description: "Mantine ThemeIcon", category: "interactive",
|
|
187
|
-
notification: { description: "Mantine Notification", category: "interactive",
|
|
187
|
+
button: { description: "Mantine Button / HeroUI Button", category: "interactive", canHaveChildren: false },
|
|
188
|
+
link: { description: "Anchor / Pressable navigation", category: "interactive", canHaveChildren: false },
|
|
189
|
+
"action-icon": { description: "Mantine ActionIcon", category: "interactive", canHaveChildren: false },
|
|
190
|
+
alert: { description: "Mantine Alert", category: "interactive", canHaveChildren: true },
|
|
191
|
+
badge: { description: "Mantine Badge", category: "interactive", canHaveChildren: false },
|
|
192
|
+
avatar: { description: "Mantine Avatar", category: "interactive", canHaveChildren: false },
|
|
193
|
+
chip: { description: "Mantine Chip", category: "interactive", canHaveChildren: false },
|
|
194
|
+
indicator: { description: "Mantine Indicator dot", category: "interactive", canHaveChildren: true },
|
|
195
|
+
"theme-icon": { description: "Mantine ThemeIcon", category: "interactive", canHaveChildren: false },
|
|
196
|
+
notification: { description: "Mantine Notification", category: "interactive", canHaveChildren: false },
|
|
188
197
|
// ===== forms =====
|
|
189
|
-
"form-log": { description: "Append-only form (one row per submit)", category: "forms",
|
|
190
|
-
"form-record": { description: "Per-user record form", category: "forms",
|
|
191
|
-
input: { description: "Plain HTML input", category: "forms",
|
|
192
|
-
"text-input": { description: "Mantine TextInput", category: "forms",
|
|
193
|
-
textarea: { description: "Mantine Textarea", category: "forms",
|
|
194
|
-
"rich-text-editor": { description: "Tiptap editor on web; native inline-format toolbar editor on mobile", category: "forms",
|
|
195
|
-
select: { description: "HTML select / Mantine Select", category: "forms",
|
|
196
|
-
radio: { description: "Mantine Radio / RadioGroup", category: "forms",
|
|
197
|
-
checkbox: { description: "Mantine Checkbox", category: "forms",
|
|
198
|
-
slider: { description: "Mantine Slider", category: "forms",
|
|
199
|
-
"range-slider": { description: "Mantine RangeSlider", category: "forms",
|
|
200
|
-
datepicker: { description: "Mantine DatePicker", category: "forms",
|
|
201
|
-
switch: { description: "Mantine Switch", category: "forms",
|
|
202
|
-
combobox: { description: "Mantine Combobox", category: "forms",
|
|
203
|
-
"color-input": { description: "Mantine ColorInput", category: "forms",
|
|
204
|
-
"color-picker": { description: "Mantine ColorPicker", category: "forms",
|
|
205
|
-
"file-input": { description: "Mantine FileInput / DocumentPicker on RN", category: "forms",
|
|
206
|
-
"number-input": { description: "Mantine NumberInput", category: "forms",
|
|
207
|
-
"segmented-control": { description: "Mantine SegmentedControl", category: "forms",
|
|
208
|
-
rating: { description: "Mantine Rating", category: "forms",
|
|
209
|
-
progress: { description: "Mantine Progress", category: "forms",
|
|
210
|
-
"progress-root": { description: "Mantine Progress.Root", category: "forms",
|
|
211
|
-
"progress-section": { description: "Mantine Progress.Section", category: "forms",
|
|
198
|
+
"form-log": { description: "Append-only form (one row per submit)", category: "forms", canHaveChildren: true },
|
|
199
|
+
"form-record": { description: "Per-user record form", category: "forms", canHaveChildren: true },
|
|
200
|
+
input: { description: "Plain HTML input", category: "forms", canHaveChildren: false },
|
|
201
|
+
"text-input": { description: "Mantine TextInput", category: "forms", canHaveChildren: false },
|
|
202
|
+
textarea: { description: "Mantine Textarea", category: "forms", canHaveChildren: false },
|
|
203
|
+
"rich-text-editor": { description: "Tiptap editor on web; native inline-format toolbar editor on mobile", category: "forms", canHaveChildren: false },
|
|
204
|
+
select: { description: "HTML select / Mantine Select", category: "forms", canHaveChildren: false },
|
|
205
|
+
radio: { description: "Mantine Radio / RadioGroup", category: "forms", canHaveChildren: false },
|
|
206
|
+
checkbox: { description: "Mantine Checkbox", category: "forms", canHaveChildren: false },
|
|
207
|
+
slider: { description: "Mantine Slider", category: "forms", canHaveChildren: false },
|
|
208
|
+
"range-slider": { description: "Mantine RangeSlider", category: "forms", canHaveChildren: false },
|
|
209
|
+
datepicker: { description: "Mantine DatePicker", category: "forms", canHaveChildren: false },
|
|
210
|
+
switch: { description: "Mantine Switch", category: "forms", canHaveChildren: false },
|
|
211
|
+
combobox: { description: "Mantine Combobox", category: "forms", canHaveChildren: false },
|
|
212
|
+
"color-input": { description: "Mantine ColorInput", category: "forms", canHaveChildren: false },
|
|
213
|
+
"color-picker": { description: "Mantine ColorPicker", category: "forms", canHaveChildren: false },
|
|
214
|
+
"file-input": { description: "Mantine FileInput / DocumentPicker on RN", category: "forms", canHaveChildren: false },
|
|
215
|
+
"number-input": { description: "Mantine NumberInput", category: "forms", canHaveChildren: false },
|
|
216
|
+
"segmented-control": { description: "Mantine SegmentedControl", category: "forms", canHaveChildren: false },
|
|
217
|
+
rating: { description: "Mantine Rating", category: "forms", canHaveChildren: false },
|
|
218
|
+
progress: { description: "Mantine Progress", category: "forms", canHaveChildren: false },
|
|
219
|
+
"progress-root": { description: "Mantine Progress.Root", category: "forms", canHaveChildren: true },
|
|
220
|
+
"progress-section": { description: "Mantine Progress.Section", category: "forms", canHaveChildren: false },
|
|
212
221
|
// ===== composite =====
|
|
213
|
-
accordion: { description: "Mantine Accordion", category: "composite",
|
|
214
|
-
"accordion-item": { description: "Mantine Accordion.Item", category: "composite",
|
|
215
|
-
tabs: { description: "Mantine Tabs", category: "composite",
|
|
216
|
-
tab: { description: "Mantine Tabs.Tab + Tabs.Panel pair", category: "composite",
|
|
217
|
-
timeline: { description: "Mantine Timeline", category: "composite",
|
|
218
|
-
list: { description: "Mantine List", category: "composite",
|
|
219
|
-
"list-item": { description: "Mantine List.Item", category: "composite",
|
|
220
|
-
"entry-list": { description: "Data-driven list of entries (form-log table)", category: "composite",
|
|
221
|
-
"entry-record": { description: "Single-record container", category: "composite",
|
|
222
|
-
"entry-record-delete": { description: "Inline delete confirmation for an entry", category: "composite",
|
|
223
|
-
loop: { description: "Loop / repeater over backend-provided rows", category: "composite",
|
|
224
|
-
"timeline-item": { description: "A single entry inside a timeline (child-only)", category: "composite",
|
|
222
|
+
accordion: { description: "Mantine Accordion", category: "composite", canHaveChildren: true },
|
|
223
|
+
"accordion-item": { description: "Mantine Accordion.Item", category: "composite", canHaveChildren: true },
|
|
224
|
+
tabs: { description: "Mantine Tabs", category: "composite", canHaveChildren: true },
|
|
225
|
+
tab: { description: "Mantine Tabs.Tab + Tabs.Panel pair", category: "composite", canHaveChildren: true },
|
|
226
|
+
timeline: { description: "Mantine Timeline", category: "composite", canHaveChildren: true },
|
|
227
|
+
list: { description: "Mantine List", category: "composite", canHaveChildren: true },
|
|
228
|
+
"list-item": { description: "Mantine List.Item", category: "composite", canHaveChildren: true },
|
|
229
|
+
"entry-list": { description: "Data-driven list of entries (form-log table)", category: "composite", canHaveChildren: true },
|
|
230
|
+
"entry-record": { description: "Single-record container", category: "composite", canHaveChildren: true },
|
|
231
|
+
"entry-record-delete": { description: "Inline delete confirmation for an entry", category: "composite", canHaveChildren: false },
|
|
232
|
+
loop: { description: "Loop / repeater over backend-provided rows", category: "composite", canHaveChildren: true },
|
|
233
|
+
"timeline-item": { description: "A single entry inside a timeline (child-only)", category: "composite", canHaveChildren: true },
|
|
225
234
|
// ===== system / data / reference (established backend catalog) =====
|
|
226
|
-
"no-access": { description: "Access-denied surface shown when the user lacks page access", category: "auth",
|
|
227
|
-
missing: { description: 'Generic "content missing" system surface', category: "auth",
|
|
228
|
-
"not-found": { description: "Page-not-found system surface", category: "auth",
|
|
229
|
-
version: { description: "Build/version diagnostic surface", category: "auth",
|
|
230
|
-
"ref-container": { description: "Renders content referenced from another section", category: "layout",
|
|
231
|
-
"data-container": { description: "Data-scoped container (renders subtree against a data scope)", category: "layout",
|
|
232
|
-
"show-user-input": { description: "Displays previously submitted user input as a list/card view", category: "forms",
|
|
235
|
+
"no-access": { description: "Access-denied surface shown when the user lacks page access", category: "auth", canHaveChildren: false },
|
|
236
|
+
missing: { description: 'Generic "content missing" system surface', category: "auth", canHaveChildren: false },
|
|
237
|
+
"not-found": { description: "Page-not-found system surface", category: "auth", canHaveChildren: false },
|
|
238
|
+
version: { description: "Build/version diagnostic surface", category: "auth", canHaveChildren: false },
|
|
239
|
+
"ref-container": { description: "Renders content referenced from another section", category: "layout", canHaveChildren: true },
|
|
240
|
+
"data-container": { description: "Data-scoped container (renders subtree against a data scope)", category: "layout", canHaveChildren: true },
|
|
241
|
+
"show-user-input": { description: "Displays previously submitted user input as a list/card view", category: "forms", canHaveChildren: false }
|
|
233
242
|
};
|
|
234
243
|
var PLUGIN_STYLE_REGISTRY = {};
|
|
235
244
|
var REGISTERED_PLUGIN_KEYS = /* @__PURE__ */ new Map();
|
|
@@ -302,7 +311,6 @@ function toRegistryRecord(styles) {
|
|
|
302
311
|
out[style.name] = {
|
|
303
312
|
description: style.description,
|
|
304
313
|
category: style.category,
|
|
305
|
-
frontendOnly: true,
|
|
306
314
|
canHaveChildren: style.canHaveChildren
|
|
307
315
|
};
|
|
308
316
|
}
|
|
@@ -478,6 +486,7 @@ var PLUGIN_RUNTIME_IMPORT_MAP = Object.freeze(
|
|
|
478
486
|
)
|
|
479
487
|
);
|
|
480
488
|
export {
|
|
489
|
+
MOBILE_RENDERER_VERSION,
|
|
481
490
|
PLUGIN_API_VERSION,
|
|
482
491
|
PLUGIN_REGISTRY_CHANNELS,
|
|
483
492
|
PLUGIN_RUNTIME_GLOBAL_KEY,
|
|
@@ -492,6 +501,7 @@ export {
|
|
|
492
501
|
defineMobilePlugin,
|
|
493
502
|
definePlugin,
|
|
494
503
|
definePluginRealtimeTopic,
|
|
504
|
+
isMobileRendererCompatible,
|
|
495
505
|
isPluginApiCompatible,
|
|
496
506
|
isPluginRuntimeShimSpecifier,
|
|
497
507
|
parseSemver,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { T as TStyleName, I as IStyleRegistryEntry, a as IPluginStyleRegistryEntry, b as TStylePlacement, c as TConcretePlatform, d as TStylePlatform } from '../styles.registry-
|
|
2
|
-
export { B as BASE_STYLE_REGISTRY, S as STYLE_REGISTRY, e as TStyleRegistryKey, _ as _AssertRegistryMatchesStyleName, f as _resetPluginStyleRegistry, g as extendStyleRegistry, h as getMergedStyleRegistry, i as getPluginStyleRegistry } from '../styles.registry-
|
|
3
|
-
import '../common-
|
|
1
|
+
import { T as TStyleName, I as IStyleRegistryEntry, a as IPluginStyleRegistryEntry, b as TStylePlacement, c as TConcretePlatform, d as TStylePlatform } from '../styles.registry-4W0LzmZB.mjs';
|
|
2
|
+
export { B as BASE_STYLE_REGISTRY, S as STYLE_REGISTRY, e as TStyleRegistryKey, _ as _AssertRegistryMatchesStyleName, f as _resetPluginStyleRegistry, g as extendStyleRegistry, h as getMergedStyleRegistry, i as getPluginStyleRegistry } from '../styles.registry-4W0LzmZB.mjs';
|
|
3
|
+
import '../common-qaDIAYS3.mjs';
|
|
4
4
|
|
|
5
5
|
/**
|
|
6
6
|
* Open style-name type: a core `TStyleName` literal OR any plugin style
|
package/dist/registry/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { T as TStyleName, I as IStyleRegistryEntry, a as IPluginStyleRegistryEntry, b as TStylePlacement, c as TConcretePlatform, d as TStylePlatform } from '../styles.registry-
|
|
2
|
-
export { B as BASE_STYLE_REGISTRY, S as STYLE_REGISTRY, e as TStyleRegistryKey, _ as _AssertRegistryMatchesStyleName, f as _resetPluginStyleRegistry, g as extendStyleRegistry, h as getMergedStyleRegistry, i as getPluginStyleRegistry } from '../styles.registry-
|
|
3
|
-
import '../common-
|
|
1
|
+
import { T as TStyleName, I as IStyleRegistryEntry, a as IPluginStyleRegistryEntry, b as TStylePlacement, c as TConcretePlatform, d as TStylePlatform } from '../styles.registry-D6xMm5VR.js';
|
|
2
|
+
export { B as BASE_STYLE_REGISTRY, S as STYLE_REGISTRY, e as TStyleRegistryKey, _ as _AssertRegistryMatchesStyleName, f as _resetPluginStyleRegistry, g as extendStyleRegistry, h as getMergedStyleRegistry, i as getPluginStyleRegistry } from '../styles.registry-D6xMm5VR.js';
|
|
3
|
+
import '../common-qaDIAYS3.js';
|
|
4
4
|
|
|
5
5
|
/**
|
|
6
6
|
* Open style-name type: a core `TStyleName` literal OR any plugin style
|