@selfhelp/shared 1.14.23 → 1.14.24
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 +37 -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 +4 -4
- package/dist/index.d.ts +4 -4
- package/dist/index.js +94 -170
- package/dist/index.mjs +94 -167
- package/dist/plugin-sdk/index.d.mts +2 -2
- package/dist/plugin-sdk/index.d.ts +2 -2
- package/dist/plugin-sdk/index.js +90 -91
- package/dist/plugin-sdk/index.mjs +90 -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/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/define.ts +0 -1
- 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/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
|
@@ -77,103 +77,103 @@ var RELEASE_CHANNELS = ["stable", "beta", "nightly", "test"];
|
|
|
77
77
|
// src/registry/styles.registry.ts
|
|
78
78
|
var BASE_STYLE_REGISTRY = {
|
|
79
79
|
// ===== 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",
|
|
80
|
+
login: { description: "User login form", category: "auth", canHaveChildren: false },
|
|
81
|
+
register: { description: "User registration form", category: "auth", canHaveChildren: false },
|
|
82
|
+
validate: { description: "Email/account validation flow", category: "auth", canHaveChildren: true },
|
|
83
|
+
"reset-password": { description: "Reset password form", category: "auth", canHaveChildren: false },
|
|
84
|
+
"two-factor-auth": { description: "Two-factor auth code form", category: "auth", canHaveChildren: false },
|
|
85
|
+
profile: { description: "User profile management", category: "auth", canHaveChildren: false },
|
|
86
86
|
// ===== 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",
|
|
87
|
+
container: { description: "Mantine Container with responsive max-width", category: "layout", canHaveChildren: true },
|
|
88
|
+
box: { description: "Generic Mantine Box wrapper", category: "layout", canHaveChildren: true },
|
|
89
|
+
flex: { description: "Mantine Flex layout", category: "layout", canHaveChildren: true },
|
|
90
|
+
group: { description: "Mantine Group horizontal layout", category: "layout", canHaveChildren: true },
|
|
91
|
+
stack: { description: "Mantine Stack vertical layout", category: "layout", canHaveChildren: true },
|
|
92
|
+
"simple-grid": { description: "Mantine SimpleGrid", category: "layout", canHaveChildren: true },
|
|
93
|
+
grid: { description: "Mantine Grid", category: "layout", canHaveChildren: true },
|
|
94
|
+
"grid-column": { description: "Mantine Grid.Col", category: "layout", canHaveChildren: true },
|
|
95
|
+
space: { description: "Mantine Space spacer", category: "layout", canHaveChildren: false },
|
|
96
|
+
divider: { description: "Mantine Divider", category: "layout", canHaveChildren: false },
|
|
97
|
+
paper: { description: "Mantine Paper surface", category: "layout", canHaveChildren: true },
|
|
98
|
+
center: { description: "Mantine Center alignment", category: "layout", canHaveChildren: true },
|
|
99
|
+
"scroll-area": { description: "Mantine ScrollArea", category: "layout", canHaveChildren: true },
|
|
100
|
+
card: { description: "Mantine Card", category: "layout", canHaveChildren: true },
|
|
101
|
+
"card-segment": { description: "Mantine Card.Section", category: "layout", canHaveChildren: true },
|
|
102
|
+
"aspect-ratio": { description: "Mantine AspectRatio wrapper", category: "layout", canHaveChildren: true },
|
|
103
|
+
"background-image": { description: "Mantine BackgroundImage", category: "layout", canHaveChildren: true },
|
|
104
104
|
// ===== 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",
|
|
105
|
+
title: { description: "Mantine Title", category: "typography", canHaveChildren: false },
|
|
106
|
+
text: { description: "Mantine Text", category: "typography", canHaveChildren: false },
|
|
107
|
+
code: { description: "Mantine Code (inline / block)", category: "typography", canHaveChildren: false },
|
|
108
|
+
highlight: { description: "Mantine Highlight", category: "typography", canHaveChildren: false },
|
|
109
|
+
blockquote: { description: "Mantine Blockquote", category: "typography", canHaveChildren: false },
|
|
110
|
+
"html-tag": { description: "Generic HTML tag wrapper (web), maps to View on RN", category: "typography", canHaveChildren: true },
|
|
111
|
+
kbd: { description: "Mantine Kbd", category: "typography", canHaveChildren: false },
|
|
112
|
+
typography: { description: "Mantine Typography wrapper", category: "typography", canHaveChildren: true },
|
|
113
|
+
fieldset: { description: "Mantine Fieldset", category: "typography", canHaveChildren: true },
|
|
114
|
+
spoiler: { description: "Mantine Spoiler reveal", category: "typography", canHaveChildren: true },
|
|
115
115
|
// ===== 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",
|
|
116
|
+
image: { description: "Mantine Image / RN Image", category: "media", canHaveChildren: false },
|
|
117
|
+
video: { description: "HTML5 video / expo-video", category: "media", canHaveChildren: false },
|
|
118
|
+
audio: { description: "HTML5 audio / expo-audio", category: "media", canHaveChildren: false },
|
|
119
|
+
figure: { description: "Figure with caption", category: "media", canHaveChildren: true },
|
|
120
|
+
carousel: { description: "Embla on web, reanimated-carousel on RN", category: "media", canHaveChildren: true },
|
|
121
121
|
// ===== 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",
|
|
122
|
+
button: { description: "Mantine Button / HeroUI Button", category: "interactive", canHaveChildren: false },
|
|
123
|
+
link: { description: "Anchor / Pressable navigation", category: "interactive", canHaveChildren: false },
|
|
124
|
+
"action-icon": { description: "Mantine ActionIcon", category: "interactive", canHaveChildren: false },
|
|
125
|
+
alert: { description: "Mantine Alert", category: "interactive", canHaveChildren: true },
|
|
126
|
+
badge: { description: "Mantine Badge", category: "interactive", canHaveChildren: false },
|
|
127
|
+
avatar: { description: "Mantine Avatar", category: "interactive", canHaveChildren: false },
|
|
128
|
+
chip: { description: "Mantine Chip", category: "interactive", canHaveChildren: false },
|
|
129
|
+
indicator: { description: "Mantine Indicator dot", category: "interactive", canHaveChildren: true },
|
|
130
|
+
"theme-icon": { description: "Mantine ThemeIcon", category: "interactive", canHaveChildren: false },
|
|
131
|
+
notification: { description: "Mantine Notification", category: "interactive", canHaveChildren: false },
|
|
132
132
|
// ===== 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",
|
|
133
|
+
"form-log": { description: "Append-only form (one row per submit)", category: "forms", canHaveChildren: true },
|
|
134
|
+
"form-record": { description: "Per-user record form", category: "forms", canHaveChildren: true },
|
|
135
|
+
input: { description: "Plain HTML input", category: "forms", canHaveChildren: false },
|
|
136
|
+
"text-input": { description: "Mantine TextInput", category: "forms", canHaveChildren: false },
|
|
137
|
+
textarea: { description: "Mantine Textarea", category: "forms", canHaveChildren: false },
|
|
138
|
+
"rich-text-editor": { description: "Tiptap editor on web; native inline-format toolbar editor on mobile", category: "forms", canHaveChildren: false },
|
|
139
|
+
select: { description: "HTML select / Mantine Select", category: "forms", canHaveChildren: false },
|
|
140
|
+
radio: { description: "Mantine Radio / RadioGroup", category: "forms", canHaveChildren: false },
|
|
141
|
+
checkbox: { description: "Mantine Checkbox", category: "forms", canHaveChildren: false },
|
|
142
|
+
slider: { description: "Mantine Slider", category: "forms", canHaveChildren: false },
|
|
143
|
+
"range-slider": { description: "Mantine RangeSlider", category: "forms", canHaveChildren: false },
|
|
144
|
+
datepicker: { description: "Mantine DatePicker", category: "forms", canHaveChildren: false },
|
|
145
|
+
switch: { description: "Mantine Switch", category: "forms", canHaveChildren: false },
|
|
146
|
+
combobox: { description: "Mantine Combobox", category: "forms", canHaveChildren: false },
|
|
147
|
+
"color-input": { description: "Mantine ColorInput", category: "forms", canHaveChildren: false },
|
|
148
|
+
"color-picker": { description: "Mantine ColorPicker", category: "forms", canHaveChildren: false },
|
|
149
|
+
"file-input": { description: "Mantine FileInput / DocumentPicker on RN", category: "forms", canHaveChildren: false },
|
|
150
|
+
"number-input": { description: "Mantine NumberInput", category: "forms", canHaveChildren: false },
|
|
151
|
+
"segmented-control": { description: "Mantine SegmentedControl", category: "forms", canHaveChildren: false },
|
|
152
|
+
rating: { description: "Mantine Rating", category: "forms", canHaveChildren: false },
|
|
153
|
+
progress: { description: "Mantine Progress", category: "forms", canHaveChildren: false },
|
|
154
|
+
"progress-root": { description: "Mantine Progress.Root", category: "forms", canHaveChildren: true },
|
|
155
|
+
"progress-section": { description: "Mantine Progress.Section", category: "forms", canHaveChildren: false },
|
|
156
156
|
// ===== 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",
|
|
157
|
+
accordion: { description: "Mantine Accordion", category: "composite", canHaveChildren: true },
|
|
158
|
+
"accordion-item": { description: "Mantine Accordion.Item", category: "composite", canHaveChildren: true },
|
|
159
|
+
tabs: { description: "Mantine Tabs", category: "composite", canHaveChildren: true },
|
|
160
|
+
tab: { description: "Mantine Tabs.Tab + Tabs.Panel pair", category: "composite", canHaveChildren: true },
|
|
161
|
+
timeline: { description: "Mantine Timeline", category: "composite", canHaveChildren: true },
|
|
162
|
+
list: { description: "Mantine List", category: "composite", canHaveChildren: true },
|
|
163
|
+
"list-item": { description: "Mantine List.Item", category: "composite", canHaveChildren: true },
|
|
164
|
+
"entry-list": { description: "Data-driven list of entries (form-log table)", category: "composite", canHaveChildren: true },
|
|
165
|
+
"entry-record": { description: "Single-record container", category: "composite", canHaveChildren: true },
|
|
166
|
+
"entry-record-delete": { description: "Inline delete confirmation for an entry", category: "composite", canHaveChildren: false },
|
|
167
|
+
loop: { description: "Loop / repeater over backend-provided rows", category: "composite", canHaveChildren: true },
|
|
168
|
+
"timeline-item": { description: "A single entry inside a timeline (child-only)", category: "composite", canHaveChildren: true },
|
|
169
169
|
// ===== 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",
|
|
170
|
+
"no-access": { description: "Access-denied surface shown when the user lacks page access", category: "auth", canHaveChildren: false },
|
|
171
|
+
missing: { description: 'Generic "content missing" system surface', category: "auth", canHaveChildren: false },
|
|
172
|
+
"not-found": { description: "Page-not-found system surface", category: "auth", canHaveChildren: false },
|
|
173
|
+
version: { description: "Build/version diagnostic surface", category: "auth", canHaveChildren: false },
|
|
174
|
+
"ref-container": { description: "Renders content referenced from another section", category: "layout", canHaveChildren: true },
|
|
175
|
+
"data-container": { description: "Data-scoped container (renders subtree against a data scope)", category: "layout", canHaveChildren: true },
|
|
176
|
+
"show-user-input": { description: "Displays previously submitted user input as a list/card view", category: "forms", canHaveChildren: false }
|
|
177
177
|
};
|
|
178
178
|
var STYLE_REGISTRY = BASE_STYLE_REGISTRY;
|
|
179
179
|
var PLUGIN_STYLE_REGISTRY = {};
|
|
@@ -480,14 +480,6 @@ var sharedTailwindPreset = {
|
|
|
480
480
|
var FULL_RADIUS_PX = 9999;
|
|
481
481
|
var SEMANTIC_SIZES = ["sm", "md", "lg"];
|
|
482
482
|
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
483
|
function mapSizeToMantine(size) {
|
|
492
484
|
return size;
|
|
493
485
|
}
|
|
@@ -543,63 +535,6 @@ function mapSpacingToPx(spacing2) {
|
|
|
543
535
|
if (spacing2 === "none") return 0;
|
|
544
536
|
return SPACING_PX[spacing2];
|
|
545
537
|
}
|
|
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
538
|
function mapMantineColorToHeroUiColor(color) {
|
|
604
539
|
if (!color) return void 0;
|
|
605
540
|
switch (color) {
|
|
@@ -747,10 +682,6 @@ function resolveSharedStyleProps(fields) {
|
|
|
747
682
|
if (variant !== void 0) {
|
|
748
683
|
resolved.variant = variant;
|
|
749
684
|
}
|
|
750
|
-
const intent = readString(fields.shared_intent);
|
|
751
|
-
if (intent !== void 0 && SEMANTIC_INTENTS.includes(intent)) {
|
|
752
|
-
resolved.intent = intent;
|
|
753
|
-
}
|
|
754
685
|
const fullWidth = readBool(fields.full_width);
|
|
755
686
|
if (fullWidth !== void 0) {
|
|
756
687
|
resolved.fullWidth = fullWidth;
|
|
@@ -758,12 +689,11 @@ function resolveSharedStyleProps(fields) {
|
|
|
758
689
|
return resolved;
|
|
759
690
|
}
|
|
760
691
|
function toMantineSemanticProps(props) {
|
|
761
|
-
const intent = mapIntentToMantine(props.intent);
|
|
762
692
|
const spacing2 = props.spacing && props.spacing !== "none" ? props.spacing : void 0;
|
|
763
693
|
return {
|
|
764
694
|
size: mapSizeToMantine(props.size),
|
|
765
|
-
color:
|
|
766
|
-
variant:
|
|
695
|
+
color: props.color,
|
|
696
|
+
variant: props.variant,
|
|
767
697
|
radius: mapRadiusToMantine(props.radius),
|
|
768
698
|
spacing: spacing2,
|
|
769
699
|
disabled: hasState(props.states, "disabled") || void 0,
|
|
@@ -774,8 +704,8 @@ function toMantineSemanticProps(props) {
|
|
|
774
704
|
};
|
|
775
705
|
}
|
|
776
706
|
function toHeroUiSemanticProps(props) {
|
|
777
|
-
const buttonVariant = mapMantineVariantToHeroUiButtonVariant(props.variant) ?? mapMantineColorToHeroUiButtonVariant(props.color)
|
|
778
|
-
const color = mapMantineColorToHeroUiColor(props.color)
|
|
707
|
+
const buttonVariant = mapMantineVariantToHeroUiButtonVariant(props.variant) ?? mapMantineColorToHeroUiButtonVariant(props.color);
|
|
708
|
+
const color = mapMantineColorToHeroUiColor(props.color);
|
|
779
709
|
return {
|
|
780
710
|
size: mapSizeToHeroUi(props.size),
|
|
781
711
|
buttonVariant,
|
|
@@ -1504,9 +1434,6 @@ export {
|
|
|
1504
1434
|
mapAccordionVariantToHeroUiVariant,
|
|
1505
1435
|
mapChipVariantToHeroUiVariant,
|
|
1506
1436
|
mapDividerVariantToReactNative,
|
|
1507
|
-
mapIntentToHeroUiButtonVariant,
|
|
1508
|
-
mapIntentToHeroUiColor,
|
|
1509
|
-
mapIntentToMantine,
|
|
1510
1437
|
mapMantineColorToHeroUiButtonVariant,
|
|
1511
1438
|
mapMantineColorToHeroUiColor,
|
|
1512
1439
|
mapMantineVariantToHeroUiButtonVariant,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
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-C8sBTLJb.mjs';
|
|
2
|
-
import { I as IStyleRegistryEntry } from '../styles.registry-
|
|
3
|
-
import '../common-
|
|
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
|
|
@@ -1,6 +1,6 @@
|
|
|
1
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-C8sBTLJb.js';
|
|
2
|
-
import { I as IStyleRegistryEntry } from '../styles.registry-
|
|
3
|
-
import '../common-
|
|
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
|
package/dist/plugin-sdk/index.js
CHANGED
|
@@ -177,103 +177,103 @@ var PLUGIN_REGISTRY_CHANNELS = ["stable", "beta", "nightly", "test"];
|
|
|
177
177
|
// src/registry/styles.registry.ts
|
|
178
178
|
var BASE_STYLE_REGISTRY = {
|
|
179
179
|
// ===== 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",
|
|
180
|
+
login: { description: "User login form", category: "auth", canHaveChildren: false },
|
|
181
|
+
register: { description: "User registration form", category: "auth", canHaveChildren: false },
|
|
182
|
+
validate: { description: "Email/account validation flow", category: "auth", canHaveChildren: true },
|
|
183
|
+
"reset-password": { description: "Reset password form", category: "auth", canHaveChildren: false },
|
|
184
|
+
"two-factor-auth": { description: "Two-factor auth code form", category: "auth", canHaveChildren: false },
|
|
185
|
+
profile: { description: "User profile management", category: "auth", canHaveChildren: false },
|
|
186
186
|
// ===== 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",
|
|
187
|
+
container: { description: "Mantine Container with responsive max-width", category: "layout", canHaveChildren: true },
|
|
188
|
+
box: { description: "Generic Mantine Box wrapper", category: "layout", canHaveChildren: true },
|
|
189
|
+
flex: { description: "Mantine Flex layout", category: "layout", canHaveChildren: true },
|
|
190
|
+
group: { description: "Mantine Group horizontal layout", category: "layout", canHaveChildren: true },
|
|
191
|
+
stack: { description: "Mantine Stack vertical layout", category: "layout", canHaveChildren: true },
|
|
192
|
+
"simple-grid": { description: "Mantine SimpleGrid", category: "layout", canHaveChildren: true },
|
|
193
|
+
grid: { description: "Mantine Grid", category: "layout", canHaveChildren: true },
|
|
194
|
+
"grid-column": { description: "Mantine Grid.Col", category: "layout", canHaveChildren: true },
|
|
195
|
+
space: { description: "Mantine Space spacer", category: "layout", canHaveChildren: false },
|
|
196
|
+
divider: { description: "Mantine Divider", category: "layout", canHaveChildren: false },
|
|
197
|
+
paper: { description: "Mantine Paper surface", category: "layout", canHaveChildren: true },
|
|
198
|
+
center: { description: "Mantine Center alignment", category: "layout", canHaveChildren: true },
|
|
199
|
+
"scroll-area": { description: "Mantine ScrollArea", category: "layout", canHaveChildren: true },
|
|
200
|
+
card: { description: "Mantine Card", category: "layout", canHaveChildren: true },
|
|
201
|
+
"card-segment": { description: "Mantine Card.Section", category: "layout", canHaveChildren: true },
|
|
202
|
+
"aspect-ratio": { description: "Mantine AspectRatio wrapper", category: "layout", canHaveChildren: true },
|
|
203
|
+
"background-image": { description: "Mantine BackgroundImage", category: "layout", canHaveChildren: true },
|
|
204
204
|
// ===== 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",
|
|
205
|
+
title: { description: "Mantine Title", category: "typography", canHaveChildren: false },
|
|
206
|
+
text: { description: "Mantine Text", category: "typography", canHaveChildren: false },
|
|
207
|
+
code: { description: "Mantine Code (inline / block)", category: "typography", canHaveChildren: false },
|
|
208
|
+
highlight: { description: "Mantine Highlight", category: "typography", canHaveChildren: false },
|
|
209
|
+
blockquote: { description: "Mantine Blockquote", category: "typography", canHaveChildren: false },
|
|
210
|
+
"html-tag": { description: "Generic HTML tag wrapper (web), maps to View on RN", category: "typography", canHaveChildren: true },
|
|
211
|
+
kbd: { description: "Mantine Kbd", category: "typography", canHaveChildren: false },
|
|
212
|
+
typography: { description: "Mantine Typography wrapper", category: "typography", canHaveChildren: true },
|
|
213
|
+
fieldset: { description: "Mantine Fieldset", category: "typography", canHaveChildren: true },
|
|
214
|
+
spoiler: { description: "Mantine Spoiler reveal", category: "typography", canHaveChildren: true },
|
|
215
215
|
// ===== 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",
|
|
216
|
+
image: { description: "Mantine Image / RN Image", category: "media", canHaveChildren: false },
|
|
217
|
+
video: { description: "HTML5 video / expo-video", category: "media", canHaveChildren: false },
|
|
218
|
+
audio: { description: "HTML5 audio / expo-audio", category: "media", canHaveChildren: false },
|
|
219
|
+
figure: { description: "Figure with caption", category: "media", canHaveChildren: true },
|
|
220
|
+
carousel: { description: "Embla on web, reanimated-carousel on RN", category: "media", canHaveChildren: true },
|
|
221
221
|
// ===== 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",
|
|
222
|
+
button: { description: "Mantine Button / HeroUI Button", category: "interactive", canHaveChildren: false },
|
|
223
|
+
link: { description: "Anchor / Pressable navigation", category: "interactive", canHaveChildren: false },
|
|
224
|
+
"action-icon": { description: "Mantine ActionIcon", category: "interactive", canHaveChildren: false },
|
|
225
|
+
alert: { description: "Mantine Alert", category: "interactive", canHaveChildren: true },
|
|
226
|
+
badge: { description: "Mantine Badge", category: "interactive", canHaveChildren: false },
|
|
227
|
+
avatar: { description: "Mantine Avatar", category: "interactive", canHaveChildren: false },
|
|
228
|
+
chip: { description: "Mantine Chip", category: "interactive", canHaveChildren: false },
|
|
229
|
+
indicator: { description: "Mantine Indicator dot", category: "interactive", canHaveChildren: true },
|
|
230
|
+
"theme-icon": { description: "Mantine ThemeIcon", category: "interactive", canHaveChildren: false },
|
|
231
|
+
notification: { description: "Mantine Notification", category: "interactive", canHaveChildren: false },
|
|
232
232
|
// ===== 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",
|
|
233
|
+
"form-log": { description: "Append-only form (one row per submit)", category: "forms", canHaveChildren: true },
|
|
234
|
+
"form-record": { description: "Per-user record form", category: "forms", canHaveChildren: true },
|
|
235
|
+
input: { description: "Plain HTML input", category: "forms", canHaveChildren: false },
|
|
236
|
+
"text-input": { description: "Mantine TextInput", category: "forms", canHaveChildren: false },
|
|
237
|
+
textarea: { description: "Mantine Textarea", category: "forms", canHaveChildren: false },
|
|
238
|
+
"rich-text-editor": { description: "Tiptap editor on web; native inline-format toolbar editor on mobile", category: "forms", canHaveChildren: false },
|
|
239
|
+
select: { description: "HTML select / Mantine Select", category: "forms", canHaveChildren: false },
|
|
240
|
+
radio: { description: "Mantine Radio / RadioGroup", category: "forms", canHaveChildren: false },
|
|
241
|
+
checkbox: { description: "Mantine Checkbox", category: "forms", canHaveChildren: false },
|
|
242
|
+
slider: { description: "Mantine Slider", category: "forms", canHaveChildren: false },
|
|
243
|
+
"range-slider": { description: "Mantine RangeSlider", category: "forms", canHaveChildren: false },
|
|
244
|
+
datepicker: { description: "Mantine DatePicker", category: "forms", canHaveChildren: false },
|
|
245
|
+
switch: { description: "Mantine Switch", category: "forms", canHaveChildren: false },
|
|
246
|
+
combobox: { description: "Mantine Combobox", category: "forms", canHaveChildren: false },
|
|
247
|
+
"color-input": { description: "Mantine ColorInput", category: "forms", canHaveChildren: false },
|
|
248
|
+
"color-picker": { description: "Mantine ColorPicker", category: "forms", canHaveChildren: false },
|
|
249
|
+
"file-input": { description: "Mantine FileInput / DocumentPicker on RN", category: "forms", canHaveChildren: false },
|
|
250
|
+
"number-input": { description: "Mantine NumberInput", category: "forms", canHaveChildren: false },
|
|
251
|
+
"segmented-control": { description: "Mantine SegmentedControl", category: "forms", canHaveChildren: false },
|
|
252
|
+
rating: { description: "Mantine Rating", category: "forms", canHaveChildren: false },
|
|
253
|
+
progress: { description: "Mantine Progress", category: "forms", canHaveChildren: false },
|
|
254
|
+
"progress-root": { description: "Mantine Progress.Root", category: "forms", canHaveChildren: true },
|
|
255
|
+
"progress-section": { description: "Mantine Progress.Section", category: "forms", canHaveChildren: false },
|
|
256
256
|
// ===== 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",
|
|
257
|
+
accordion: { description: "Mantine Accordion", category: "composite", canHaveChildren: true },
|
|
258
|
+
"accordion-item": { description: "Mantine Accordion.Item", category: "composite", canHaveChildren: true },
|
|
259
|
+
tabs: { description: "Mantine Tabs", category: "composite", canHaveChildren: true },
|
|
260
|
+
tab: { description: "Mantine Tabs.Tab + Tabs.Panel pair", category: "composite", canHaveChildren: true },
|
|
261
|
+
timeline: { description: "Mantine Timeline", category: "composite", canHaveChildren: true },
|
|
262
|
+
list: { description: "Mantine List", category: "composite", canHaveChildren: true },
|
|
263
|
+
"list-item": { description: "Mantine List.Item", category: "composite", canHaveChildren: true },
|
|
264
|
+
"entry-list": { description: "Data-driven list of entries (form-log table)", category: "composite", canHaveChildren: true },
|
|
265
|
+
"entry-record": { description: "Single-record container", category: "composite", canHaveChildren: true },
|
|
266
|
+
"entry-record-delete": { description: "Inline delete confirmation for an entry", category: "composite", canHaveChildren: false },
|
|
267
|
+
loop: { description: "Loop / repeater over backend-provided rows", category: "composite", canHaveChildren: true },
|
|
268
|
+
"timeline-item": { description: "A single entry inside a timeline (child-only)", category: "composite", canHaveChildren: true },
|
|
269
269
|
// ===== 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",
|
|
270
|
+
"no-access": { description: "Access-denied surface shown when the user lacks page access", category: "auth", canHaveChildren: false },
|
|
271
|
+
missing: { description: 'Generic "content missing" system surface', category: "auth", canHaveChildren: false },
|
|
272
|
+
"not-found": { description: "Page-not-found system surface", category: "auth", canHaveChildren: false },
|
|
273
|
+
version: { description: "Build/version diagnostic surface", category: "auth", canHaveChildren: false },
|
|
274
|
+
"ref-container": { description: "Renders content referenced from another section", category: "layout", canHaveChildren: true },
|
|
275
|
+
"data-container": { description: "Data-scoped container (renders subtree against a data scope)", category: "layout", canHaveChildren: true },
|
|
276
|
+
"show-user-input": { description: "Displays previously submitted user input as a list/card view", category: "forms", canHaveChildren: false }
|
|
277
277
|
};
|
|
278
278
|
var PLUGIN_STYLE_REGISTRY = {};
|
|
279
279
|
var REGISTERED_PLUGIN_KEYS = /* @__PURE__ */ new Map();
|
|
@@ -346,7 +346,6 @@ function toRegistryRecord(styles) {
|
|
|
346
346
|
out[style.name] = {
|
|
347
347
|
description: style.description,
|
|
348
348
|
category: style.category,
|
|
349
|
-
frontendOnly: true,
|
|
350
349
|
canHaveChildren: style.canHaveChildren
|
|
351
350
|
};
|
|
352
351
|
}
|