@knapsack/renderer-twig 4.72.0--canary.4986.9e14d73.0 → 4.72.0--canary.5313.31d559e.0
Sign up to get free protection for your applications and to get access to all the features.
- package/CHANGELOG.md +139 -0
- package/dist/renderer-twig.d.ts.map +1 -1
- package/dist/renderer-twig.js +7 -4
- package/dist/renderer-twig.js.map +1 -1
- package/package.json +10 -10
- package/tsconfig.json +1 -0
package/CHANGELOG.md
CHANGED
@@ -1,3 +1,142 @@
|
|
1
|
+
# v4.71.16 (Thu Dec 05 2024)
|
2
|
+
|
3
|
+
#### 🐛 Bug Fix
|
4
|
+
|
5
|
+
- refactor React Renderer to use `tsc` for build [#5224](https://github.com/knapsack-labs/app-monorepo/pull/5224) ([@EvanLovely](https://github.com/EvanLovely) [@mabry1985](https://github.com/mabry1985))
|
6
|
+
|
7
|
+
#### Authors: 2
|
8
|
+
|
9
|
+
- Evan Lovely ([@EvanLovely](https://github.com/EvanLovely))
|
10
|
+
- Josh Mabry ([@mabry1985](https://github.com/mabry1985))
|
11
|
+
|
12
|
+
---
|
13
|
+
|
14
|
+
# v4.71.13 (Wed Dec 04 2024)
|
15
|
+
|
16
|
+
#### 🐛 Bug Fix
|
17
|
+
|
18
|
+
- Bump version to: v4.71.12 \[skip ci\] ([@KnapsackBot](https://github.com/KnapsackBot))
|
19
|
+
- Update CHANGELOG.md \[skip ci\] ([@KnapsackBot](https://github.com/KnapsackBot))
|
20
|
+
- Bump version to: v4.71.11 \[skip ci\] ([@KnapsackBot](https://github.com/KnapsackBot))
|
21
|
+
- Merge branch 'latest' into feature/ksp-5777-gsk-sso-issues ([@illepic](https://github.com/illepic))
|
22
|
+
|
23
|
+
#### 🏠 Internal
|
24
|
+
|
25
|
+
- adds evt handlers for design src logs [#5194](https://github.com/knapsack-labs/app-monorepo/pull/5194) ([@mabry1985](https://github.com/mabry1985))
|
26
|
+
- setup login w popup [#5209](https://github.com/knapsack-labs/app-monorepo/pull/5209) ([@GormanDesign](https://github.com/GormanDesign) [@mabry1985](https://github.com/mabry1985) [@EvanLovely](https://github.com/EvanLovely) [@KnapsackBot](https://github.com/KnapsackBot) [@illepic](https://github.com/illepic))
|
27
|
+
- migrate to new Figma oAuth endpoints and configuration [#5206](https://github.com/knapsack-labs/app-monorepo/pull/5206) ([@mabry1985](https://github.com/mabry1985))
|
28
|
+
|
29
|
+
#### Authors: 5
|
30
|
+
|
31
|
+
- Christopher Bloom ([@illepic](https://github.com/illepic))
|
32
|
+
- Evan Lovely ([@EvanLovely](https://github.com/EvanLovely))
|
33
|
+
- Josh Mabry ([@mabry1985](https://github.com/mabry1985))
|
34
|
+
- KnapsackBot ([@KnapsackBot](https://github.com/KnapsackBot))
|
35
|
+
- Matt Gorman ([@GormanDesign](https://github.com/GormanDesign))
|
36
|
+
|
37
|
+
---
|
38
|
+
|
39
|
+
# v4.71.12 (Thu Nov 21 2024)
|
40
|
+
|
41
|
+
#### 🐛 Bug Fix
|
42
|
+
|
43
|
+
- Fix component alignment in pattern stage and embeds [#5138](https://github.com/knapsack-labs/app-monorepo/pull/5138) ([@GormanDesign](https://github.com/GormanDesign))
|
44
|
+
- Merge branch 'latest' into feature/ksp-5732-fix-component-alignment-in-pattern-stage-and-embeds ([@GormanDesign](https://github.com/GormanDesign))
|
45
|
+
|
46
|
+
#### Authors: 1
|
47
|
+
|
48
|
+
- Matt Gorman ([@GormanDesign](https://github.com/GormanDesign))
|
49
|
+
|
50
|
+
---
|
51
|
+
|
52
|
+
# v4.71.10 (Thu Nov 21 2024)
|
53
|
+
|
54
|
+
#### 🐛 Bug Fix
|
55
|
+
|
56
|
+
- fix prop reordering doesnt stick [#5196](https://github.com/knapsack-labs/app-monorepo/pull/5196) ([@mabry1985](https://github.com/mabry1985))
|
57
|
+
|
58
|
+
#### Authors: 1
|
59
|
+
|
60
|
+
- Josh Mabry ([@mabry1985](https://github.com/mabry1985))
|
61
|
+
|
62
|
+
---
|
63
|
+
|
64
|
+
# v4.71.9 (Wed Nov 20 2024)
|
65
|
+
|
66
|
+
#### 🏠 Internal
|
67
|
+
|
68
|
+
- setup TS strict mode KSP-5492 [#5183](https://github.com/knapsack-labs/app-monorepo/pull/5183) ([@EvanLovely](https://github.com/EvanLovely))
|
69
|
+
|
70
|
+
#### Authors: 1
|
71
|
+
|
72
|
+
- Evan Lovely ([@EvanLovely](https://github.com/EvanLovely))
|
73
|
+
|
74
|
+
---
|
75
|
+
|
76
|
+
# v4.71.8 (Fri Nov 15 2024)
|
77
|
+
|
78
|
+
#### 🐛 Bug Fix
|
79
|
+
|
80
|
+
- Merge branch 'latest' into feature/KSP-5764-add-button-modes ([@brittanysmart](https://github.com/brittanysmart))
|
81
|
+
- Merge branch 'latest' into GormanDesign-patch-2 ([@GormanDesign](https://github.com/GormanDesign))
|
82
|
+
- Merge branch 'latest' into feature/ksp-5775-update-gsk-digital-channels-sso-page-content ([@GormanDesign](https://github.com/GormanDesign))
|
83
|
+
|
84
|
+
#### 🏠 Internal
|
85
|
+
|
86
|
+
- update gsk-digital-channels sso page content [#5178](https://github.com/knapsack-labs/app-monorepo/pull/5178) ([@GormanDesign](https://github.com/GormanDesign))
|
87
|
+
- fix figma tiles show processing message indefinitely [#5179](https://github.com/knapsack-labs/app-monorepo/pull/5179) ([@mabry1985](https://github.com/mabry1985))
|
88
|
+
|
89
|
+
#### Authors: 3
|
90
|
+
|
91
|
+
- Brittany Smart ([@brittanysmart](https://github.com/brittanysmart))
|
92
|
+
- Josh Mabry ([@mabry1985](https://github.com/mabry1985))
|
93
|
+
- Matt Gorman ([@GormanDesign](https://github.com/GormanDesign))
|
94
|
+
|
95
|
+
---
|
96
|
+
|
97
|
+
# v4.71.6 (Thu Nov 14 2024)
|
98
|
+
|
99
|
+
#### 🐛 Bug Fix
|
100
|
+
|
101
|
+
- update template alias suggestion logic [#5174](https://github.com/knapsack-labs/app-monorepo/pull/5174) ([@mabry1985](https://github.com/mabry1985))
|
102
|
+
- remove sorting from individual renderer logic ([@mabry1985](https://github.com/mabry1985))
|
103
|
+
- handles sorting of used vs unused paths ([@mabry1985](https://github.com/mabry1985))
|
104
|
+
- Merge branch 'latest' into feature/ksp-5437-update-auth0-node-sdk ([@freneticpixel](https://github.com/freneticpixel))
|
105
|
+
- Merge branch 'latest' into feature/ksp-5710-collections-block-filters ([@GormanDesign](https://github.com/GormanDesign))
|
106
|
+
- Merge remote-tracking branch 'origin/latest' into feature/ksp-5437-update-auth0-node-sdk ([@freneticpixel](https://github.com/freneticpixel))
|
107
|
+
|
108
|
+
#### Authors: 3
|
109
|
+
|
110
|
+
- Jim Frenette ([@freneticpixel](https://github.com/freneticpixel))
|
111
|
+
- Josh Mabry ([@mabry1985](https://github.com/mabry1985))
|
112
|
+
- Matt Gorman ([@GormanDesign](https://github.com/GormanDesign))
|
113
|
+
|
114
|
+
---
|
115
|
+
|
116
|
+
# v4.71.5 (Tue Nov 05 2024)
|
117
|
+
|
118
|
+
#### 🐛 Bug Fix
|
119
|
+
|
120
|
+
- Merge branch 'latest' into feature/ksp-5668-handle-figma-blocks-when-updating-design-source-file ([@GormanDesign](https://github.com/GormanDesign))
|
121
|
+
|
122
|
+
#### Authors: 1
|
123
|
+
|
124
|
+
- Matt Gorman ([@GormanDesign](https://github.com/GormanDesign))
|
125
|
+
|
126
|
+
---
|
127
|
+
|
128
|
+
# v4.71.4 (Tue Oct 29 2024)
|
129
|
+
|
130
|
+
#### 🏠 Internal
|
131
|
+
|
132
|
+
- Update dependency ava to ^6.2.0 [#5022](https://github.com/knapsack-labs/app-monorepo/pull/5022) ([@renovate[bot]](https://github.com/renovate[bot]))
|
133
|
+
|
134
|
+
#### Authors: 1
|
135
|
+
|
136
|
+
- [@renovate[bot]](https://github.com/renovate[bot])
|
137
|
+
|
138
|
+
---
|
139
|
+
|
1
140
|
# v4.71.1 (Wed Oct 23 2024)
|
2
141
|
|
3
142
|
#### 🐛 Bug Fix
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"renderer-twig.d.ts","sourceRoot":"","sources":["../src/renderer-twig.ts"],"names":[],"mappings":"AACA,OAAO,EACL,UAAU,EACV,QAAQ,EACR,YAAY,EAEb,MAAM,yBAAyB,CAAC;AAEjC,OAAO,YAAY,EAAE,EAAE,KAAK,kBAAkB,EAAE,MAAM,uBAAuB,CAAC;AAe9E,qBAAa,oBAAqB,SAAQ,YAAa,YAAW,UAAU;;IAC1E,YAAY,EAAE,YAAY,CAAC;gBAGf,MAAM,EAAE,kBAAkB;IAuBtC,MAAM,EAAE,QAAQ,CAAC,QAAQ,CAAC,CAKxB;IAEF,QAAQ,EAAE,QAAQ,CAAC,UAAU,CAAC,CAoH5B;IAEF,sBAAsB,EAAE,QAAQ,CAAC,wBAAwB,CAAC,
|
1
|
+
{"version":3,"file":"renderer-twig.d.ts","sourceRoot":"","sources":["../src/renderer-twig.ts"],"names":[],"mappings":"AACA,OAAO,EACL,UAAU,EACV,QAAQ,EACR,YAAY,EAEb,MAAM,yBAAyB,CAAC;AAEjC,OAAO,YAAY,EAAE,EAAE,KAAK,kBAAkB,EAAE,MAAM,uBAAuB,CAAC;AAe9E,qBAAa,oBAAqB,SAAQ,YAAa,YAAW,UAAU;;IAC1E,YAAY,EAAE,YAAY,CAAC;gBAGf,MAAM,EAAE,kBAAkB;IAuBtC,MAAM,EAAE,QAAQ,CAAC,QAAQ,CAAC,CAKxB;IAEF,QAAQ,EAAE,QAAQ,CAAC,UAAU,CAAC,CAoH5B;IAEF,sBAAsB,EAAE,QAAQ,CAAC,wBAAwB,CAAC,CAiDxD;IAEF,OAAO,EAAE,QAAQ,CAAC,SAAS,CAAC,CA4BzB;CACJ"}
|
package/dist/renderer-twig.js
CHANGED
@@ -132,7 +132,7 @@ ${[openTag, ...slotCodes, closeTag].filter(Boolean).join('\n')}
|
|
132
132
|
};
|
133
133
|
this.getTemplateSuggestions = async ({ state, }) => {
|
134
134
|
var _a, _b;
|
135
|
-
const { unusedPaths } = await this.getUnusedTemplatePaths({
|
135
|
+
const { unusedPaths, usedPaths } = await this.getUnusedTemplatePaths({
|
136
136
|
globPaths: __classPrivateFieldGet(this, _KnapsackTwigRenderer_src, "f").roots.map((root) => (0, path_1.join)(root, '**/*.twig')),
|
137
137
|
cwd: this.userConfigDir,
|
138
138
|
state,
|
@@ -144,7 +144,7 @@ ${[openTag, ...slotCodes, closeTag].filter(Boolean).join('\n')}
|
|
144
144
|
paths: absPaths,
|
145
145
|
};
|
146
146
|
})) !== null && _b !== void 0 ? _b : [];
|
147
|
-
const
|
147
|
+
const createSuggestion = (twigPath, connected) => {
|
148
148
|
const namespace = namespaces.find(({ paths }) => paths.some((path) => twigPath.startsWith(path)));
|
149
149
|
let alias;
|
150
150
|
if (namespace) {
|
@@ -158,9 +158,12 @@ ${[openTag, ...slotCodes, closeTag].filter(Boolean).join('\n')}
|
|
158
158
|
return {
|
159
159
|
path: twigPath,
|
160
160
|
alias,
|
161
|
+
connected,
|
161
162
|
};
|
162
|
-
}
|
163
|
-
|
163
|
+
};
|
164
|
+
const unusedSuggestions = unusedPaths.map((path) => createSuggestion(path, false));
|
165
|
+
const usedSuggestions = usedPaths.map((path) => createSuggestion(path, true));
|
166
|
+
return { suggestions: [...unusedSuggestions, ...usedSuggestions] };
|
164
167
|
};
|
165
168
|
this.getMeta = () => ({
|
166
169
|
id: this.id,
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"renderer-twig.js","sourceRoot":"","sources":["../src/renderer-twig.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;AAAA,uCAAoC;AACpC,uDAKiC;AACjC,2CAAuE;AACvE,0EAA8E;AAC9E,+BAAqE;AACrE,qDAAgF;AAChF,mCAAuC;AAEvC,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,MAAM,iBAAiB,GAAG,IAAA,WAAI,EAC5B,SAAS,EACT,+CAA+C,CAChD,C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|
4
|
-
"version": "4.72.0--canary.
|
4
|
+
"version": "4.72.0--canary.5313.31d559e.0",
|
5
5
|
"main": "index.js",
|
6
6
|
"types": "index.d.ts",
|
7
7
|
"exports": {
|
@@ -24,17 +24,17 @@
|
|
24
24
|
},
|
25
25
|
"author": "Knapsack (https://www.knapsack.cloud)",
|
26
26
|
"dependencies": {
|
27
|
-
"@basalt/twig-renderer": "^3.2.
|
28
|
-
"@knapsack/app": "4.72.0--canary.
|
29
|
-
"@knapsack/file-utils": "4.72.0--canary.
|
30
|
-
"@knapsack/types": "4.72.0--canary.
|
27
|
+
"@basalt/twig-renderer": "^3.2.4",
|
28
|
+
"@knapsack/app": "4.72.0--canary.5313.31d559e.0",
|
29
|
+
"@knapsack/file-utils": "4.72.0--canary.5313.31d559e.0",
|
30
|
+
"@knapsack/types": "4.72.0--canary.5313.31d559e.0",
|
31
31
|
"ejs": "^3.1.10"
|
32
32
|
},
|
33
33
|
"devDependencies": {
|
34
|
-
"@knapsack/eslint-config-starter": "4.72.0--canary.
|
35
|
-
"@knapsack/test-ava": "4.72.0--canary.
|
36
|
-
"@knapsack/typescript-config-starter": "4.72.0--canary.
|
37
|
-
"ava": "^6.
|
34
|
+
"@knapsack/eslint-config-starter": "4.72.0--canary.5313.31d559e.0",
|
35
|
+
"@knapsack/test-ava": "4.72.0--canary.5313.31d559e.0",
|
36
|
+
"@knapsack/typescript-config-starter": "4.72.0--canary.5313.31d559e.0",
|
37
|
+
"ava": "^6.2.0",
|
38
38
|
"eslint": "^8.57.0",
|
39
39
|
"typescript": "^5.6.3"
|
40
40
|
},
|
@@ -46,5 +46,5 @@
|
|
46
46
|
"directory": "apps/client/renderers/renderer-twig",
|
47
47
|
"type": "git"
|
48
48
|
},
|
49
|
-
"gitHead": "
|
49
|
+
"gitHead": "31d559ecb396c0d66f822f42bd0256c931ad6d4c"
|
50
50
|
}
|