@knapsack/core 4.69.9--canary.011c229.0 → 4.69.9

Sign up to get free protection for your applications and to get access to all the features.
package/CHANGELOG.md CHANGED
@@ -1,3 +1,16 @@
1
+ # v4.69.9 (Sat Sep 14 2024)
2
+
3
+ #### 🏠 Internal
4
+
5
+ - update template stage ui [#4763](https://github.com/knapsack-labs/app-monorepo/pull/4763) ([@GormanDesign](https://github.com/GormanDesign))
6
+ - add spacing under form feedback banner [#4747](https://github.com/knapsack-labs/app-monorepo/pull/4747) ([@GormanDesign](https://github.com/GormanDesign))
7
+
8
+ #### Authors: 1
9
+
10
+ - Matt Gorman ([@GormanDesign](https://github.com/GormanDesign))
11
+
12
+ ---
13
+
1
14
  # v4.69.7 (Wed Sep 11 2024)
2
15
 
3
16
  #### 🐛 Bug Fix
package/dist/index.js CHANGED
@@ -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"),