create-kerf-component 5.0.0-beta.67 → 5.0.0-beta.69
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.
|
@@ -159,6 +159,16 @@
|
|
|
159
159
|
},
|
|
160
160
|
"sourceLinks": { "$ref": "#/$defs/stringList" },
|
|
161
161
|
"source": { "type": "string", "minLength": 1 },
|
|
162
|
+
"styleSources": {
|
|
163
|
+
"description": "Stylesheets owned by this component, relative to the catalog package root. Required for an entry to own its CSS in opt-in component ownership mode when no selection catalog supplies it.",
|
|
164
|
+
"type": "array",
|
|
165
|
+
"items": {
|
|
166
|
+
"type": "string",
|
|
167
|
+
"pattern": "^(?!.*(?:^|/)\\.{1,2}(?:/|$))[A-Za-z0-9._-]+(?:/[A-Za-z0-9._-]+)*\\.css$"
|
|
168
|
+
},
|
|
169
|
+
"minItems": 1,
|
|
170
|
+
"uniqueItems": true
|
|
171
|
+
},
|
|
162
172
|
"rendersAs": {
|
|
163
173
|
"description": "For a wrapper component: the cataloged roots it renders (package-qualified keys), any one of them or nothing. Composition checks treat an element of this entry as each declared root: a zone accepts it only if it accepts every root, and each root's parent contract applies to where it is placed.",
|
|
164
174
|
"type": "array",
|
|
@@ -214,7 +224,21 @@
|
|
|
214
224
|
"required": ["required", "helpers", "obligations"],
|
|
215
225
|
"properties": {
|
|
216
226
|
"required": { "type": "boolean" },
|
|
227
|
+
"scope": { "enum": ["application", "module"] },
|
|
217
228
|
"helpers": { "$ref": "#/$defs/stringList" },
|
|
229
|
+
"sources": {
|
|
230
|
+
"description": "Application-owned helper exports and their defining source files, relative to the catalog package root.",
|
|
231
|
+
"type": "array",
|
|
232
|
+
"items": {
|
|
233
|
+
"type": "object",
|
|
234
|
+
"required": ["export", "source"],
|
|
235
|
+
"properties": {
|
|
236
|
+
"export": { "type": "string", "minLength": 1 },
|
|
237
|
+
"source": { "type": "string", "minLength": 1 }
|
|
238
|
+
},
|
|
239
|
+
"additionalProperties": false
|
|
240
|
+
}
|
|
241
|
+
},
|
|
218
242
|
"obligations": { "$ref": "#/$defs/stringList" },
|
|
219
243
|
"stateAttributes": {
|
|
220
244
|
"description": "Wiring-owned state attributes: data-* attributes a wiring helper writes at runtime, which the application must not render, remove, or treat as its own state. Optional for extension catalogs; first-party entries always list it, empty when their helpers write none.",
|
package/package.json
CHANGED
package/template/package.json
CHANGED