@knapsack/renderer-web-components 4.69.14--canary.4821.246c5f4.0 → 4.69.15--canary.4433.ca0920f.0
Sign up to get free protection for your applications and to get access to all the features.
package/CHANGELOG.md
CHANGED
@@ -1,3 +1,34 @@
|
|
1
|
+
# v4.69.14 (Fri Sep 27 2024)
|
2
|
+
|
3
|
+
#### 🏠 Internal
|
4
|
+
|
5
|
+
- spec docs uses collapse instead of accordion [#4862](https://github.com/knapsack-labs/app-monorepo/pull/4862) ([@GormanDesign](https://github.com/GormanDesign))
|
6
|
+
|
7
|
+
#### Authors: 1
|
8
|
+
|
9
|
+
- Matt Gorman ([@GormanDesign](https://github.com/GormanDesign))
|
10
|
+
|
11
|
+
---
|
12
|
+
|
13
|
+
# v4.69.13 (Thu Sep 26 2024)
|
14
|
+
|
15
|
+
#### 🐛 Bug Fix
|
16
|
+
|
17
|
+
- update design src user flow to be async [#4739](https://github.com/knapsack-labs/app-monorepo/pull/4739) ([@mabry1985](https://github.com/mabry1985))
|
18
|
+
- Merge branch 'latest' into feature/ksp-5512-create-add-design-src-file-async-mutation ([@mabry1985](https://github.com/mabry1985))
|
19
|
+
|
20
|
+
#### 🏠 Internal
|
21
|
+
|
22
|
+
- improve Renderer clients [#4770](https://github.com/knapsack-labs/app-monorepo/pull/4770) ([@EvanLovely](https://github.com/EvanLovely))
|
23
|
+
- refactors user flow for updating design src files [#4769](https://github.com/knapsack-labs/app-monorepo/pull/4769) ([@mabry1985](https://github.com/mabry1985))
|
24
|
+
|
25
|
+
#### Authors: 2
|
26
|
+
|
27
|
+
- Evan Lovely ([@EvanLovely](https://github.com/EvanLovely))
|
28
|
+
- Josh Mabry ([@mabry1985](https://github.com/mabry1985))
|
29
|
+
|
30
|
+
---
|
31
|
+
|
1
32
|
# v4.69.12 (Thu Sep 26 2024)
|
2
33
|
|
3
34
|
#### 🐛 Bug Fix
|
@@ -9,7 +9,6 @@ export declare class KnapsackWebComponentRenderer extends RendererBase implement
|
|
9
9
|
*/
|
10
10
|
customElementManifestSchemaPath?: string;
|
11
11
|
});
|
12
|
-
setConfig: Renderer['setConfig'];
|
13
12
|
render: Renderer['render'];
|
14
13
|
getUsage: Renderer['getUsage'];
|
15
14
|
inferSpec({ template }: Parameters<Renderer['inferSpec']>[0]): Promise<false | import("@knapsack/types").KsTemplateSpec>;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"renderer-web-components.d.ts","sourceRoot":"","sources":["../src/renderer-web-components.ts"],"names":[],"mappings":"AAEA,OAAO,EACL,QAAQ,EACR,YAAY,EACZ,UAAU,EAEX,MAAM,yBAAyB,CAAC;AAyBjC,qBAAa,4BACX,SAAQ,YACR,YAAW,UAAU;;gBAKT,EACV,+BAA+B,GAChC,GAAE;QACD;;;;WAIG;QACH,+BAA+B,CAAC,EAAE,MAAM,CAAC;KACrC;
|
1
|
+
{"version":3,"file":"renderer-web-components.d.ts","sourceRoot":"","sources":["../src/renderer-web-components.ts"],"names":[],"mappings":"AAEA,OAAO,EACL,QAAQ,EACR,YAAY,EACZ,UAAU,EAEX,MAAM,yBAAyB,CAAC;AAyBjC,qBAAa,4BACX,SAAQ,YACR,YAAW,UAAU;;gBAKT,EACV,+BAA+B,GAChC,GAAE;QACD;;;;WAIG;QACH,+BAA+B,CAAC,EAAE,MAAM,CAAC;KACrC;IAsCN,MAAM,EAAE,QAAQ,CAAC,QAAQ,CAAC,CAUxB;IAEF,QAAQ,EAAE,QAAQ,CAAC,UAAU,CAAC,CAoK5B;IAEI,SAAS,CAAC,EAAE,QAAQ,EAAE,EAAE,UAAU,CAAC,QAAQ,CAAC,WAAW,CAAC,CAAC,CAAC,CAAC,CAAC;IAQlE,sBAAsB,EAAE,QAAQ,CAAC,wBAAwB,CAAC,CAWxD;IAEO,KAAK,EAAE,QAAQ,CAAC,OAAO,CAAC,CAY/B;IAEF,OAAO,EAAE,QAAQ,CAAC,SAAS,CAAC,CA2BzB;IAEH,eAAe,EAAE,QAAQ,CAAC,iBAAiB,CAAC,CAyE1C;IAEF,sBAAsB,EAAE,QAAQ,CAAC,wBAAwB,CAAC,CAwBxD;CACH"}
|
@@ -32,24 +32,11 @@ class KnapsackWebComponentRenderer extends renderers_1.RendererBase {
|
|
32
32
|
super({
|
33
33
|
id: types_1.rendererIds['web-components'],
|
34
34
|
language: 'html',
|
35
|
+
extension: '.html',
|
35
36
|
});
|
36
37
|
_KnapsackWebComponentRenderer_instances.add(this);
|
37
38
|
_KnapsackWebComponentRenderer_customElementManifestSchemaPath.set(this, void 0);
|
38
39
|
_KnapsackWebComponentRenderer_customElementManifestSchema.set(this, void 0);
|
39
|
-
this.setConfig = (opt) => {
|
40
|
-
super.setConfig(opt);
|
41
|
-
if (__classPrivateFieldGet(this, _KnapsackWebComponentRenderer_customElementManifestSchemaPath, "f")) {
|
42
|
-
const { absolutePath, exists } = this.resolvePathSync({
|
43
|
-
path: __classPrivateFieldGet(this, _KnapsackWebComponentRenderer_customElementManifestSchemaPath, "f"),
|
44
|
-
resolveFromDir: this.userConfigDir,
|
45
|
-
});
|
46
|
-
if (!exists) {
|
47
|
-
throw new Error(`Cannot find custom element manifest schema at ${__classPrivateFieldGet(this, _KnapsackWebComponentRenderer_customElementManifestSchemaPath, "f")}`);
|
48
|
-
}
|
49
|
-
__classPrivateFieldSet(this, _KnapsackWebComponentRenderer_customElementManifestSchemaPath, absolutePath, "f");
|
50
|
-
__classPrivateFieldGet(this, _KnapsackWebComponentRenderer_instances, "m", _KnapsackWebComponentRenderer_setCustomElementManifestSchema).call(this);
|
51
|
-
}
|
52
|
-
};
|
53
40
|
this.render = async (opt) => {
|
54
41
|
const usage = await this.getUsage(opt);
|
55
42
|
return {
|
@@ -60,13 +47,16 @@ class KnapsackWebComponentRenderer extends renderers_1.RendererBase {
|
|
60
47
|
}),
|
61
48
|
};
|
62
49
|
};
|
63
|
-
this.getUsage = async (
|
50
|
+
this.getUsage = async (opt) => {
|
51
|
+
const { pattern, template, demo,
|
52
|
+
/**
|
53
|
+
* The Patterns class
|
54
|
+
*/
|
55
|
+
patternManifest, } = opt;
|
64
56
|
if (!demo) {
|
65
|
-
|
66
|
-
|
67
|
-
|
68
|
-
if (!pattern) {
|
69
|
-
throw new Error(`Cannot find pattern ${patternId}`);
|
57
|
+
return (0, utils_1.getUsage)({
|
58
|
+
templateName: template.alias,
|
59
|
+
});
|
70
60
|
}
|
71
61
|
switch (demo.type) {
|
72
62
|
case 'template': {
|
@@ -78,10 +68,6 @@ class KnapsackWebComponentRenderer extends renderers_1.RendererBase {
|
|
78
68
|
return (0, file_utils_1.readFile)(absolutePath);
|
79
69
|
}
|
80
70
|
case 'data': {
|
81
|
-
const template = pattern.templates.find((t) => t.id === templateId);
|
82
|
-
if (!template) {
|
83
|
-
throw new Error(`Cannot find template ${templateId} in pattern ${patternId}`);
|
84
|
-
}
|
85
71
|
const { data: { props, slots, slotsOptionsComputed }, } = demo;
|
86
72
|
if (!slots) {
|
87
73
|
return (0, utils_1.getUsage)({
|
@@ -102,6 +88,7 @@ class KnapsackWebComponentRenderer extends renderers_1.RendererBase {
|
|
102
88
|
if (slottedTemplate.type === 'template-reference') {
|
103
89
|
throw new Error(`Cannot handle slotted template references in ${JSON.stringify({
|
104
90
|
patternId: pattern.id,
|
91
|
+
templateId: template.id,
|
105
92
|
demoId: demo.id,
|
106
93
|
slottedTemplate,
|
107
94
|
})}`);
|
@@ -114,11 +101,17 @@ class KnapsackWebComponentRenderer extends renderers_1.RendererBase {
|
|
114
101
|
content: '',
|
115
102
|
};
|
116
103
|
}
|
104
|
+
const thisPattern = patternManifest.getPattern(slottedTemplate.patternId);
|
105
|
+
const thisTemplate = thisPattern.templates.find((t) => t.id === slottedTemplate.templateId);
|
106
|
+
if (!thisTemplate) {
|
107
|
+
throw new Error(`Cannot find template id "${slottedTemplate.templateId}" in "${slottedTemplate.patternId}"`);
|
108
|
+
}
|
117
109
|
const usage = await this.getUsage({
|
118
|
-
|
119
|
-
|
120
|
-
|
121
|
-
|
110
|
+
pattern: thisPattern,
|
111
|
+
template: thisTemplate,
|
112
|
+
patternManifest,
|
113
|
+
demo: slottedTemplate.demo ||
|
114
|
+
this.patterns.demosById[slottedTemplate.demoId],
|
122
115
|
});
|
123
116
|
return {
|
124
117
|
slottedTemplate,
|
@@ -163,27 +156,25 @@ class KnapsackWebComponentRenderer extends renderers_1.RendererBase {
|
|
163
156
|
});
|
164
157
|
return usage;
|
165
158
|
}
|
166
|
-
default:
|
167
|
-
|
168
|
-
|
169
|
-
|
159
|
+
default:
|
160
|
+
throw new Error(`Must pass in a known demo.type, received ${
|
161
|
+
// @ts-expect-error - demo.type *should of* been handled...
|
162
|
+
demo.type}`);
|
170
163
|
}
|
171
164
|
};
|
172
|
-
this.getTemplateSuggestions = async (
|
165
|
+
this.getTemplateSuggestions = async () => {
|
173
166
|
var _a;
|
174
167
|
if (!__classPrivateFieldGet(this, _KnapsackWebComponentRenderer_customElementManifestSchemaPath, "f"))
|
175
168
|
return { suggestions: [] };
|
176
169
|
const tagNames = ((_a = __classPrivateFieldGet(this, _KnapsackWebComponentRenderer_customElementManifestSchema, "f").tags) === null || _a === void 0 ? void 0 : _a.map(({ name }) => name)) || [];
|
177
|
-
const usedNames =
|
178
|
-
.filter((t) => t.templateLanguageId === this.id)
|
179
|
-
.map((t) => t.alias));
|
170
|
+
const usedNames = this.getMyTemplates().allTemplates.map(({ alias }) => alias);
|
180
171
|
const unusedNames = tagNames.filter((name) => !usedNames.includes(name));
|
181
172
|
return {
|
182
173
|
suggestions: unusedNames.map((name) => ({ alias: name, path: '' })),
|
183
174
|
};
|
184
175
|
};
|
185
176
|
this.watch = async () => {
|
186
|
-
super.watch();
|
177
|
+
super.watch({ templatePaths: [] });
|
187
178
|
if (!__classPrivateFieldGet(this, _KnapsackWebComponentRenderer_customElementManifestSchemaPath, "f"))
|
188
179
|
return;
|
189
180
|
const watcher = chokidar_1.default.watch(__classPrivateFieldGet(this, _KnapsackWebComponentRenderer_customElementManifestSchemaPath, "f"), {
|
@@ -314,7 +305,17 @@ class KnapsackWebComponentRenderer extends renderers_1.RendererBase {
|
|
314
305
|
});
|
315
306
|
return newFiles;
|
316
307
|
};
|
317
|
-
|
308
|
+
if (customElementManifestSchemaPath) {
|
309
|
+
const { absolutePath, exists } = this.resolvePathSync({
|
310
|
+
path: customElementManifestSchemaPath,
|
311
|
+
resolveFromDir: this.userConfigDir,
|
312
|
+
});
|
313
|
+
if (!exists) {
|
314
|
+
throw new Error(`Cannot find custom element manifest schema at ${customElementManifestSchemaPath}`);
|
315
|
+
}
|
316
|
+
__classPrivateFieldSet(this, _KnapsackWebComponentRenderer_customElementManifestSchemaPath, absolutePath, "f");
|
317
|
+
__classPrivateFieldGet(this, _KnapsackWebComponentRenderer_instances, "m", _KnapsackWebComponentRenderer_setCustomElementManifestSchema).call(this);
|
318
|
+
}
|
318
319
|
}
|
319
320
|
async inferSpec({ template }) {
|
320
321
|
if (!__classPrivateFieldGet(this, _KnapsackWebComponentRenderer_customElementManifestSchemaPath, "f"))
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"renderer-web-components.js","sourceRoot":"","sources":["../src/renderer-web-components.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;AAAA,wDAAgC;AAChC,uCAAoD;AACpD,uDAKiC;AACjC,2CAKyB;AAKzB,+BAA4B;AAC5B,qDAK8B;AAC9B,qCAA8C;AAC9C,mCAAgF;AAChF,6CAAyC;AAEzC,MAAM,GAAG,GAAG,IAAI,CAAC,KAAK,CAAC,IAAA,yBAAY,EAAC,IAAA,WAAI,EAAC,SAAS,EAAE,iBAAiB,CAAC,CAAC,CAAC,CAAC;AACzE,SAAG,CAAC,mBAAmB,CAAC,GAAG,CAAC,CAAC;AAE7B,MAAa,4BACX,SAAQ,wBAAY;IAMpB,YAAY,EACV,+BAA+B,MAQ7B,EAAE;QACJ,KAAK,CAAC;YACJ,EAAE,EAAE,mBAAW,CAAC,gBAAgB,CAAC;YACjC,QAAQ,EAAE,MAAM;SACjB,CAAC,CAAC;;QAhBL,gFAA0C;QAC1C,4EAAq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A,IAAI,iEAAoC,YAAY,MAAA,CAAC;YACrD,uBAAA,IAAI,6GAAgC,MAApC,IAAI,CAAkC,CAAC;QACzC,CAAC;IACH,CAAC;IAqMD,KAAK,CAAC,SAAS,CAAC,EAAE,QAAQ,EAAwC;QAChE,IAAI,CAAC,uBAAA,IAAI,qEAAiC;YAAE,OAAO,KAAK,CAAC;QACzD,OAAO,IAAA,sBAAS,EAAC;YACf,2BAA2B,EAAE,uBAAA,IAAI,iEAA6B;YAC9D,OAAO,EAAE,QAAQ,CAAC,KAAK;SACxB,CAAC,CAAC;IACL,CAAC;CA8JF;AA5YD,oEA4YC;;IAtWG,IAAI,CAAC,uBAAA,IAAI,qEAAiC;QAAE,OAAO;IACnD,MAAM,2BAA2B,GAAG,IAAA,yBAAY,EAC9C,uBAAA,IAAI,qEAAiC,CACtC,CAAC;IACF,IAAI,CAAC;QACH,MAAM,IAAI,GAAG,4BAAoB,CAAC,KAAK,CAAC,2BAA2B,CAAC,CAAC;QACrE,uBAAA,IAAI,6DAAgC,IAAI,MAAA,CAAC;IAC3C,CAAC;IAAC,OAAO,CAAC,EAAE,CAAC;QACX,MAAM,IAAI,KAAK,CACb,4DACE,uBAAA,IAAI,qEACN,MAAM,CAAC,CAAC,OAAO,EAAE,CAClB,CAAC;IACJ,CAAC;AACH,CAAC"}
|
package/package.json
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
{
|
2
2
|
"name": "@knapsack/renderer-web-components",
|
3
3
|
"description": "Render Web Components",
|
4
|
-
"version": "4.69.
|
4
|
+
"version": "4.69.15--canary.4433.ca0920f.0",
|
5
5
|
"main": "dist/renderer-web-components.js",
|
6
6
|
"types": "dist/renderer-web-components.d.ts",
|
7
7
|
"sideEffects": false,
|
@@ -15,19 +15,19 @@
|
|
15
15
|
},
|
16
16
|
"author": "Knapsack (https://www.knapsack.cloud)",
|
17
17
|
"dependencies": {
|
18
|
-
"@knapsack/app": "4.69.
|
19
|
-
"@knapsack/file-utils": "4.69.
|
20
|
-
"@knapsack/types": "4.69.
|
21
|
-
"@knapsack/utils": "4.69.
|
18
|
+
"@knapsack/app": "4.69.15--canary.4433.ca0920f.0",
|
19
|
+
"@knapsack/file-utils": "4.69.15--canary.4433.ca0920f.0",
|
20
|
+
"@knapsack/types": "4.69.15--canary.4433.ca0920f.0",
|
21
|
+
"@knapsack/utils": "4.69.15--canary.4433.ca0920f.0",
|
22
22
|
"cheerio": "^1.0.0",
|
23
23
|
"chokidar": "^3.6.0",
|
24
24
|
"ejs": "^3.1.10",
|
25
25
|
"zod": "^3.23.8"
|
26
26
|
},
|
27
27
|
"devDependencies": {
|
28
|
-
"@knapsack/eslint-config-starter": "4.69.
|
29
|
-
"@knapsack/test-ava": "4.69.
|
30
|
-
"@knapsack/typescript-config-starter": "4.69.
|
28
|
+
"@knapsack/eslint-config-starter": "4.69.15--canary.4433.ca0920f.0",
|
29
|
+
"@knapsack/test-ava": "4.69.15--canary.4433.ca0920f.0",
|
30
|
+
"@knapsack/typescript-config-starter": "4.69.15--canary.4433.ca0920f.0",
|
31
31
|
"@types/node": "^20.16.6",
|
32
32
|
"ava": "^6.1.3",
|
33
33
|
"eslint": "^8.57.0",
|
@@ -42,5 +42,5 @@
|
|
42
42
|
"directory": "apps/client/renderers/renderer-web-components",
|
43
43
|
"type": "git"
|
44
44
|
},
|
45
|
-
"gitHead": "
|
45
|
+
"gitHead": "ca0920f909939385302ee5e8b883f28b53eb008a"
|
46
46
|
}
|