@knapsack/core 4.70.0--canary.4433.133de0f.0 → 4.70.0--canary.4513.12c8d13.0
Sign up to get free protection for your applications and to get access to all the features.
- package/CHANGELOG.md +97 -0
- package/dist/index.js +2 -75
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +2 -75
- package/dist/index.mjs.map +1 -1
- package/package.json +8 -9
package/CHANGELOG.md
CHANGED
@@ -1,3 +1,100 @@
|
|
1
|
+
# v4.69.13 (Thu Sep 26 2024)
|
2
|
+
|
3
|
+
#### 🐛 Bug Fix
|
4
|
+
|
5
|
+
- update design src user flow to be async [#4739](https://github.com/knapsack-labs/app-monorepo/pull/4739) ([@mabry1985](https://github.com/mabry1985))
|
6
|
+
- Merge branch 'latest' into feature/ksp-5512-create-add-design-src-file-async-mutation ([@mabry1985](https://github.com/mabry1985))
|
7
|
+
|
8
|
+
#### 🏠 Internal
|
9
|
+
|
10
|
+
- refactors user flow for updating design src files [#4769](https://github.com/knapsack-labs/app-monorepo/pull/4769) ([@mabry1985](https://github.com/mabry1985))
|
11
|
+
|
12
|
+
#### Authors: 1
|
13
|
+
|
14
|
+
- Josh Mabry ([@mabry1985](https://github.com/mabry1985))
|
15
|
+
|
16
|
+
---
|
17
|
+
|
18
|
+
# v4.69.12 (Thu Sep 26 2024)
|
19
|
+
|
20
|
+
#### 🐛 Bug Fix
|
21
|
+
|
22
|
+
- Merge branch 'latest' into feature/ksp-5560-replace-schema-forms-in-content-blocks ([@GormanDesign](https://github.com/GormanDesign))
|
23
|
+
|
24
|
+
#### 🏠 Internal
|
25
|
+
|
26
|
+
- Remove unused types [#4819](https://github.com/knapsack-labs/app-monorepo/pull/4819) ([@greylabel](https://github.com/greylabel))
|
27
|
+
- chore(deps): update dependency @types/node to ^20.16.6 [#4846](https://github.com/knapsack-labs/app-monorepo/pull/4846) ([@renovate[bot]](https://github.com/renovate[bot]))
|
28
|
+
|
29
|
+
#### Authors: 3
|
30
|
+
|
31
|
+
- [@renovate[bot]](https://github.com/renovate[bot])
|
32
|
+
- Grant Gaudet ([@greylabel](https://github.com/greylabel))
|
33
|
+
- Matt Gorman ([@GormanDesign](https://github.com/GormanDesign))
|
34
|
+
|
35
|
+
---
|
36
|
+
|
37
|
+
# v4.69.11 (Fri Sep 20 2024)
|
38
|
+
|
39
|
+
#### 🏠 Internal
|
40
|
+
|
41
|
+
- adds select all option to exclude patterns filters [#4803](https://github.com/knapsack-labs/app-monorepo/pull/4803) ([@GormanDesign](https://github.com/GormanDesign))
|
42
|
+
|
43
|
+
#### Authors: 1
|
44
|
+
|
45
|
+
- Matt Gorman ([@GormanDesign](https://github.com/GormanDesign))
|
46
|
+
|
47
|
+
---
|
48
|
+
|
49
|
+
# v4.69.9 (Sat Sep 14 2024)
|
50
|
+
|
51
|
+
#### 🏠 Internal
|
52
|
+
|
53
|
+
- update template stage ui [#4763](https://github.com/knapsack-labs/app-monorepo/pull/4763) ([@GormanDesign](https://github.com/GormanDesign))
|
54
|
+
- add spacing under form feedback banner [#4747](https://github.com/knapsack-labs/app-monorepo/pull/4747) ([@GormanDesign](https://github.com/GormanDesign))
|
55
|
+
|
56
|
+
#### Authors: 1
|
57
|
+
|
58
|
+
- Matt Gorman ([@GormanDesign](https://github.com/GormanDesign))
|
59
|
+
|
60
|
+
---
|
61
|
+
|
62
|
+
# v4.69.7 (Wed Sep 11 2024)
|
63
|
+
|
64
|
+
#### 🐛 Bug Fix
|
65
|
+
|
66
|
+
- Merge branch 'latest' into feature/ksp-5497-setup-status-id-in-client ([@mabry1985](https://github.com/mabry1985))
|
67
|
+
|
68
|
+
#### 🏠 Internal
|
69
|
+
|
70
|
+
- fixes schema form select appearance [#4700](https://github.com/knapsack-labs/app-monorepo/pull/4700) ([@GormanDesign](https://github.com/GormanDesign))
|
71
|
+
- add scroll indicator to popover [#4697](https://github.com/knapsack-labs/app-monorepo/pull/4697) ([@GormanDesign](https://github.com/GormanDesign))
|
72
|
+
|
73
|
+
#### Authors: 2
|
74
|
+
|
75
|
+
- Josh Mabry ([@mabry1985](https://github.com/mabry1985))
|
76
|
+
- Matt Gorman ([@GormanDesign](https://github.com/GormanDesign))
|
77
|
+
|
78
|
+
---
|
79
|
+
|
80
|
+
# v4.69.6 (Fri Sep 06 2024)
|
81
|
+
|
82
|
+
#### 🐛 Bug Fix
|
83
|
+
|
84
|
+
- Merge branch 'latest' into feature/ksp-5458-anchor-links-not-jumping-to-the-right-spot ([@GormanDesign](https://github.com/GormanDesign))
|
85
|
+
|
86
|
+
#### 🏠 Internal
|
87
|
+
|
88
|
+
- Update dependency @types/node to ^20.16.5 [#4669](https://github.com/knapsack-labs/app-monorepo/pull/4669) ([@renovate[bot]](https://github.com/renovate[bot]))
|
89
|
+
- restores hash link handling [#4637](https://github.com/knapsack-labs/app-monorepo/pull/4637) ([@GormanDesign](https://github.com/GormanDesign))
|
90
|
+
|
91
|
+
#### Authors: 2
|
92
|
+
|
93
|
+
- [@renovate[bot]](https://github.com/renovate[bot])
|
94
|
+
- Matt Gorman ([@GormanDesign](https://github.com/GormanDesign))
|
95
|
+
|
96
|
+
---
|
97
|
+
|
1
98
|
# v4.69.3 (Wed Sep 04 2024)
|
2
99
|
|
3
100
|
#### 🏠 Internal
|
package/dist/index.js
CHANGED
@@ -33,9 +33,9 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
|
|
33
33
|
));
|
34
34
|
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
35
35
|
|
36
|
-
// ../../node_modules/.pnpm/tsup@8.2.4_@microsoft+api-extractor@7.43.8_@types+node@20.16.
|
36
|
+
// ../../node_modules/.pnpm/tsup@8.2.4_@microsoft+api-extractor@7.43.8_@types+node@20.16.6__@swc+core@1.3.57_@swc+helpers_iqa4vqpgdlzwuubzthdmdz7nfe/node_modules/tsup/assets/cjs_shims.js
|
37
37
|
var init_cjs_shims = __esm({
|
38
|
-
"../../node_modules/.pnpm/tsup@8.2.4_@microsoft+api-extractor@7.43.8_@types+node@20.16.
|
38
|
+
"../../node_modules/.pnpm/tsup@8.2.4_@microsoft+api-extractor@7.43.8_@types+node@20.16.6__@swc+core@1.3.57_@swc+helpers_iqa4vqpgdlzwuubzthdmdz7nfe/node_modules/tsup/assets/cjs_shims.js"() {
|
39
39
|
}
|
40
40
|
});
|
41
41
|
|
@@ -1753,79 +1753,6 @@ var KsRemoteChangeRuntime = s3.type({
|
|
1753
1753
|
userId: s3.optional(s3.string())
|
1754
1754
|
});
|
1755
1755
|
var KsRemoteChangesStructRuntime = s3.array(KsRemoteChangeRuntime);
|
1756
|
-
function isKsJsImports(imports) {
|
1757
|
-
if (!Array.isArray(imports)) return false;
|
1758
|
-
if (imports.length === 0) return true;
|
1759
|
-
const [anImport] = imports;
|
1760
|
-
if (anImport.type === "pattern-template" && typeof anImport.patternId !== "string")
|
1761
|
-
return false;
|
1762
|
-
if (anImport.type === "pattern-template-demo" && typeof anImport.patternId !== "string")
|
1763
|
-
return false;
|
1764
|
-
if (anImport.type === "pattern-template-demo" && typeof anImport.templateId !== "string")
|
1765
|
-
return false;
|
1766
|
-
if (anImport.type === "pattern-template-demo" && typeof anImport.demoId !== "string")
|
1767
|
-
return false;
|
1768
|
-
if (anImport.type === "extra" && typeof anImport.importInfo !== "object")
|
1769
|
-
return false;
|
1770
|
-
if (anImport.type === "extra" && typeof anImport.importInfo.type !== "string")
|
1771
|
-
return false;
|
1772
|
-
if (anImport.type === "extra" && typeof anImport.importInfo.name !== "string")
|
1773
|
-
return false;
|
1774
|
-
if (anImport.type === "extra" && typeof anImport.importInfo.path !== "string")
|
1775
|
-
return false;
|
1776
|
-
if (anImport.type === "extra" && typeof anImport.importInfo.names !== "undefined") {
|
1777
|
-
if (!Array.isArray(anImport.importInfo.names)) return false;
|
1778
|
-
if (anImport.importInfo.names.some((name) => typeof name !== "string"))
|
1779
|
-
return false;
|
1780
|
-
}
|
1781
|
-
return true;
|
1782
|
-
}
|
1783
|
-
__name(isKsJsImports, "isKsJsImports");
|
1784
|
-
__name2(isKsJsImports, "isKsJsImports");
|
1785
|
-
function isKsRendererClientGlobalImportedModules(mods) {
|
1786
|
-
if (!(0, import_utils.isObject)(mods)) return false;
|
1787
|
-
for (const key in mods) {
|
1788
|
-
if (typeof mods[key] !== "function") return false;
|
1789
|
-
}
|
1790
|
-
return true;
|
1791
|
-
}
|
1792
|
-
__name(isKsRendererClientGlobalImportedModules, "isKsRendererClientGlobalImportedModules");
|
1793
|
-
__name2(isKsRendererClientGlobalImportedModules, "isKsRendererClientGlobalImportedModules");
|
1794
|
-
function isKsRendererClientGlobal(knapsack) {
|
1795
|
-
if (!(0, import_utils.isObject)(knapsack)) return false;
|
1796
|
-
if (knapsack.typeName !== "KsRendererClientGlobal") return false;
|
1797
|
-
if (typeof knapsack.getImport !== "function") return false;
|
1798
|
-
if (!Array.isArray(knapsack.allAvailableImports)) return false;
|
1799
|
-
if (!isKsRendererClientGlobalImportedModules(knapsack.importedModules)) {
|
1800
|
-
return false;
|
1801
|
-
}
|
1802
|
-
return isKsJsImports(knapsack.allAvailableImports);
|
1803
|
-
}
|
1804
|
-
__name(isKsRendererClientGlobal, "isKsRendererClientGlobal");
|
1805
|
-
__name2(isKsRendererClientGlobal, "isKsRendererClientGlobal");
|
1806
|
-
var isBrowser = typeof window !== "undefined" && typeof window.document !== "undefined";
|
1807
|
-
function getKsRendererClientGlobal() {
|
1808
|
-
if (!isBrowser) {
|
1809
|
-
throw new Error(
|
1810
|
-
"Cannot get KsRendererClientGlobal in a non-browser environment"
|
1811
|
-
);
|
1812
|
-
}
|
1813
|
-
const { knapsack } = window;
|
1814
|
-
if (!knapsack) {
|
1815
|
-
throw new Error(
|
1816
|
-
'Cannot get KsRendererClientGlobal: "knapsack" is not defined on the window'
|
1817
|
-
);
|
1818
|
-
}
|
1819
|
-
if (!isKsRendererClientGlobal(knapsack)) {
|
1820
|
-
console.log(`Object found at "window.knapsack":`, knapsack);
|
1821
|
-
throw new Error(
|
1822
|
-
`Cannot get KsRendererClientGlobal: knapsack is not the correct type`
|
1823
|
-
);
|
1824
|
-
}
|
1825
|
-
return knapsack;
|
1826
|
-
}
|
1827
|
-
__name(getKsRendererClientGlobal, "getKsRendererClientGlobal");
|
1828
|
-
__name2(getKsRendererClientGlobal, "getKsRendererClientGlobal");
|
1829
1756
|
var plugins_exports = {};
|
1830
1757
|
__export2(plugins_exports, {
|
1831
1758
|
ACTIONS: /* @__PURE__ */ __name(() => ACTIONS, "ACTIONS"),
|