@knapsack/types 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 CHANGED
@@ -1,3 +1,149 @@
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
+ - removes statusId from client db ([@mabry1985](https://github.com/mabry1985))
8
+
9
+ #### 🏠 Internal
10
+
11
+ - refactors user flow for updating design src files [#4769](https://github.com/knapsack-labs/app-monorepo/pull/4769) ([@mabry1985](https://github.com/mabry1985))
12
+
13
+ #### Authors: 1
14
+
15
+ - Josh Mabry ([@mabry1985](https://github.com/mabry1985))
16
+
17
+ ---
18
+
19
+ # v4.69.12 (Thu Sep 26 2024)
20
+
21
+ #### 🐛 Bug Fix
22
+
23
+ - Merge branch 'latest' into feature/ksp-5560-replace-schema-forms-in-content-blocks ([@GormanDesign](https://github.com/GormanDesign))
24
+ - replace schema forms in content blocks ([@GormanDesign](https://github.com/GormanDesign))
25
+
26
+ #### 🏠 Internal
27
+
28
+ - chore(deps): update dependency @types/react to ^18.3.9 [#4851](https://github.com/knapsack-labs/app-monorepo/pull/4851) ([@renovate[bot]](https://github.com/renovate[bot]))
29
+ - replace schema forms in content blocks [#4831](https://github.com/knapsack-labs/app-monorepo/pull/4831) ([@GormanDesign](https://github.com/GormanDesign))
30
+
31
+ #### Authors: 2
32
+
33
+ - [@renovate[bot]](https://github.com/renovate[bot])
34
+ - Matt Gorman ([@GormanDesign](https://github.com/GormanDesign))
35
+
36
+ ---
37
+
38
+ # v4.69.11 (Fri Sep 20 2024)
39
+
40
+ #### 🐛 Bug Fix
41
+
42
+ - Merge branch 'latest' into patch-asset-set-symlink-fix ([@mabry1985](https://github.com/mabry1985))
43
+ - Merge branch 'latest' into GormanDesign-patch-2 ([@GormanDesign](https://github.com/GormanDesign))
44
+ - Merge branch 'latest' into feature/ksp-5549-select-all-or-select-none-option-for-pattern-grid-block ([@GormanDesign](https://github.com/GormanDesign))
45
+
46
+ #### 🏠 Internal
47
+
48
+ - fix flaky accessibility test [#4833](https://github.com/knapsack-labs/app-monorepo/pull/4833) ([@GormanDesign](https://github.com/GormanDesign))
49
+ - chore(deps): update tiptap to ^2.7.2 [#4822](https://github.com/knapsack-labs/app-monorepo/pull/4822) ([@renovate[bot]](https://github.com/renovate[bot]))
50
+ - chore(deps): update dependency @types/react to ^18.3.8 [#4824](https://github.com/knapsack-labs/app-monorepo/pull/4824) ([@renovate[bot]](https://github.com/renovate[bot]))
51
+ - adds select all option to exclude patterns filters [#4803](https://github.com/knapsack-labs/app-monorepo/pull/4803) ([@GormanDesign](https://github.com/GormanDesign))
52
+
53
+ #### Authors: 3
54
+
55
+ - [@renovate[bot]](https://github.com/renovate[bot])
56
+ - Josh Mabry ([@mabry1985](https://github.com/mabry1985))
57
+ - Matt Gorman ([@GormanDesign](https://github.com/GormanDesign))
58
+
59
+ ---
60
+
61
+ # v4.69.10 (Wed Sep 18 2024)
62
+
63
+ #### 🏠 Internal
64
+
65
+ - chore(deps): update tiptap to ^2.7.1 [#4794](https://github.com/knapsack-labs/app-monorepo/pull/4794) ([@renovate[bot]](https://github.com/renovate[bot]))
66
+ - chore(deps): update dependency @types/react to ^18.3.7 [#4796](https://github.com/knapsack-labs/app-monorepo/pull/4796) ([@renovate[bot]](https://github.com/renovate[bot]))
67
+ - fix(deps): update dependency immer to ^10.1.1 [#4786](https://github.com/knapsack-labs/app-monorepo/pull/4786) ([@renovate[bot]](https://github.com/renovate[bot]))
68
+
69
+ #### Authors: 1
70
+
71
+ - [@renovate[bot]](https://github.com/renovate[bot])
72
+
73
+ ---
74
+
75
+ # v4.69.9 (Sat Sep 14 2024)
76
+
77
+ #### 🐛 Bug Fix
78
+
79
+ - refactor Renderer clients [#4768](https://github.com/knapsack-labs/app-monorepo/pull/4768) ([@EvanLovely](https://github.com/EvanLovely))
80
+
81
+ #### 🏠 Internal
82
+
83
+ - update template stage ui [#4763](https://github.com/knapsack-labs/app-monorepo/pull/4763) ([@GormanDesign](https://github.com/GormanDesign))
84
+ - add spacing under form feedback banner [#4747](https://github.com/knapsack-labs/app-monorepo/pull/4747) ([@GormanDesign](https://github.com/GormanDesign))
85
+
86
+ #### Authors: 2
87
+
88
+ - Evan Lovely ([@EvanLovely](https://github.com/EvanLovely))
89
+ - Matt Gorman ([@GormanDesign](https://github.com/GormanDesign))
90
+
91
+ ---
92
+
93
+ # v4.69.8 (Thu Sep 12 2024)
94
+
95
+ #### 🐛 Bug Fix
96
+
97
+ - refactor Renderers for cleaner types [#4746](https://github.com/knapsack-labs/app-monorepo/pull/4746) ([@EvanLovely](https://github.com/EvanLovely))
98
+
99
+ #### Authors: 1
100
+
101
+ - Evan Lovely ([@EvanLovely](https://github.com/EvanLovely))
102
+
103
+ ---
104
+
105
+ # v4.69.7 (Wed Sep 11 2024)
106
+
107
+ #### 🐛 Bug Fix
108
+
109
+ - Merge branch 'latest' into feature/ksp-5497-setup-status-id-in-client ([@mabry1985](https://github.com/mabry1985))
110
+ - adds ERROR status id for designSrcFileStatus ([@freneticpixel](https://github.com/freneticpixel))
111
+ - update fixture ([@mabry1985](https://github.com/mabry1985))
112
+ - add type ([@mabry1985](https://github.com/mabry1985))
113
+
114
+ #### 🏠 Internal
115
+
116
+ - add ability to reset token static or ref fields [#4706](https://github.com/knapsack-labs/app-monorepo/pull/4706) ([@GormanDesign](https://github.com/GormanDesign))
117
+ - setup foundations for Local Cloud Authoring KSP-5495 [#4629](https://github.com/knapsack-labs/app-monorepo/pull/4629) ([@EvanLovely](https://github.com/EvanLovely))
118
+ - setup status id in client [#4696](https://github.com/knapsack-labs/app-monorepo/pull/4696) ([@mabry1985](https://github.com/mabry1985) [@freneticpixel](https://github.com/freneticpixel))
119
+ - fixes schema form select appearance [#4700](https://github.com/knapsack-labs/app-monorepo/pull/4700) ([@GormanDesign](https://github.com/GormanDesign))
120
+ - add scroll indicator to popover [#4697](https://github.com/knapsack-labs/app-monorepo/pull/4697) ([@GormanDesign](https://github.com/GormanDesign))
121
+
122
+ #### Authors: 4
123
+
124
+ - Evan Lovely ([@EvanLovely](https://github.com/EvanLovely))
125
+ - Jim Frenette ([@freneticpixel](https://github.com/freneticpixel))
126
+ - Josh Mabry ([@mabry1985](https://github.com/mabry1985))
127
+ - Matt Gorman ([@GormanDesign](https://github.com/GormanDesign))
128
+
129
+ ---
130
+
131
+ # v4.69.6 (Fri Sep 06 2024)
132
+
133
+ #### 🐛 Bug Fix
134
+
135
+ - Merge branch 'latest' into feature/ksp-5458-anchor-links-not-jumping-to-the-right-spot ([@GormanDesign](https://github.com/GormanDesign))
136
+
137
+ #### 🏠 Internal
138
+
139
+ - restores hash link handling [#4637](https://github.com/knapsack-labs/app-monorepo/pull/4637) ([@GormanDesign](https://github.com/GormanDesign))
140
+
141
+ #### Authors: 1
142
+
143
+ - Matt Gorman ([@GormanDesign](https://github.com/GormanDesign))
144
+
145
+ ---
146
+
1
147
  # v4.69.3 (Wed Sep 04 2024)
2
148
 
3
149
  #### 🏠 Internal
@@ -35,6 +35,7 @@ type BlockConfigUnion = BlockConfigBase<'component-spec-block', {
35
35
  patternId?: string;
36
36
  templateId?: string;
37
37
  demoId?: string;
38
+ /** @deprecated */
38
39
  demoSize?: string;
39
40
  showSchemaForm?: boolean;
40
41
  showCodeSnippet?: boolean;
@@ -146,6 +147,7 @@ type BlockConfigUnion = BlockConfigBase<'component-spec-block', {
146
147
  excludePropValue?: string;
147
148
  includePropValue?: string;
148
149
  size?: 's' | 'm' | 'l' | 'full';
150
+ /** @deprecated */
149
151
  hideBlockTitle?: boolean;
150
152
  }> | BlockConfigBase<'design-tokens', {
151
153
  tokenType: TokenType | '';
@@ -1 +1 @@
1
- {"version":3,"file":"blocks.d.ts","sourceRoot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EAAE,iBAAiB,CAAC;IACxB,SAAS,EAAE,MAAM,CAAC;IAClB,UAAU,EAAE,MAAM,CAAC;CACpB,CAAC"}
@@ -34,10 +34,11 @@ export interface PluginMeta {
34
34
  cssPath?: string;
35
35
  }
36
36
  export interface MetaState {
37
- meta?: KnapsackMeta;
37
+ meta: KnapsackMeta;
38
+ /**
39
+ * If `true`, then `knapsack start` is running, otherwise `knapsack serve` is running
40
+ */
38
41
  isLocalDev: boolean;
39
- /** @deprecated */
40
- isAutosave?: boolean;
41
42
  plugins: PluginMeta[];
42
43
  }
43
44
  //# sourceMappingURL=meta.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"meta.d.ts","sourceRoot":"","sources":["../../src/app-client-data/meta.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,YAAY;IAC3B,UAAU,EAAE,MAAM,CAAC;IACnB,cAAc,EAAE,MAAM,CAAC;IACvB,KAAK,EAAE,OAAO,CAAC;IACf,GAAG,CAAC,EAAE;QACJ,IAAI,EAAE,MAAM,CAAC;QACb,GAAG,EAAE,MAAM,CAAC;KACb,CAAC;IACF,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,gBAAgB,EAAE,OAAO,CAAC;IAC1B,mBAAmB,CAAC,EAAE,MAAM,CAAC;IAC7B;;;OAGG;IACH,QAAQ,EAAE,MAAM,CAAC;IACjB;;OAEG;IACH,UAAU,EAAE;QACV,GAAG,EAAE,MAAM,CAAC;KACb,CAAC;CACH;AAED,MAAM,WAAW,UAAU;IACzB,EAAE,EAAE,MAAM,CAAC;IACX;;OAEG;IACH,UAAU,EAAE,OAAO,CAAC;IACpB,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,kBAAkB;IAClB,OAAO,CAAC,EAAE,MAAM,CAAC;CAClB;AAED,MAAM,WAAW,SAAS;IACxB,IAAI,CAAC,EAAE,YAAY,CAAC;IACpB,UAAU,EAAE,OAAO,CAAC;IACpB,kBAAkB;IAClB,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,OAAO,EAAE,UAAU,EAAE,CAAC;CACvB"}
1
+ {"version":3,"file":"meta.d.ts","sourceRoot":"","sources":["../../src/app-client-data/meta.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,YAAY;IAC3B,UAAU,EAAE,MAAM,CAAC;IACnB,cAAc,EAAE,MAAM,CAAC;IACvB,KAAK,EAAE,OAAO,CAAC;IACf,GAAG,CAAC,EAAE;QACJ,IAAI,EAAE,MAAM,CAAC;QACb,GAAG,EAAE,MAAM,CAAC;KACb,CAAC;IACF,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,gBAAgB,EAAE,OAAO,CAAC;IAC1B,mBAAmB,CAAC,EAAE,MAAM,CAAC;IAC7B;;;OAGG;IACH,QAAQ,EAAE,MAAM,CAAC;IACjB;;OAEG;IACH,UAAU,EAAE;QACV,GAAG,EAAE,MAAM,CAAC;KACb,CAAC;CACH;AAED,MAAM,WAAW,UAAU;IACzB,EAAE,EAAE,MAAM,CAAC;IACX;;OAEG;IACH,UAAU,EAAE,OAAO,CAAC;IACpB,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,kBAAkB;IAClB,OAAO,CAAC,EAAE,MAAM,CAAC;CAClB;AAED,MAAM,WAAW,SAAS;IACxB,IAAI,EAAE,YAAY,CAAC;IACnB;;OAEG;IACH,UAAU,EAAE,OAAO,CAAC;IACpB,OAAO,EAAE,UAAU,EAAE,CAAC;CACvB"}
@@ -4,6 +4,7 @@ export type DesignSrcFile = {
4
4
  type: 'figma';
5
5
  url: string;
6
6
  version: string;
7
+ priorVersion?: string;
7
8
  };
8
9
  export type DesignSrcVariantChild = {
9
10
  variantId: string;
@@ -1 +1 @@
1
- {"version":3,"file":"design-src.types.d.ts","sourceRoot":"","sources":["../src/design-src.types.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,aAAa,GAAG;IAC1B,MAAM,EAAE,MAAM,CAAC;IACf,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,OAAO,CAAC;IACd,GAAG,EAAE,MAAM,CAAC;IACZ,OAAO,EAAE,MAAM,CAAC;CACjB,CAAC;AAEF,MAAM,MAAM,qBAAqB,GAAG;IAClC,SAAS,EAAE,MAAM,CAAC;IAClB,WAAW,EAAE,MAAM,CAAC;IACpB,KAAK,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,GAAG,OAAO,CAAC,CAAC;IACxC,QAAQ,EAAE,qBAAqB,EAAE,CAAC;CACnC,CAAC;AAEF,MAAM,MAAM,qBAAqB,GAAG;IAClC,MAAM,EAAE,MAAM,CAAC;IACf,YAAY,EAAE,MAAM,CAAC;IACrB,UAAU,EAAE,MAAM,CAAC;IACnB,MAAM,EAAE,MAAM,CAAC;IACf,MAAM,EAAE,MAAM,CAAC;IACf,GAAG,EAAE,MAAM,CAAC;IACZ,OAAO,CAAC,EAAE,MAAM,CAAC;CAClB,CAAC"}
1
+ {"version":3,"file":"design-src.types.d.ts","sourceRoot":"","sources":["../src/design-src.types.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,aAAa,GAAG;IAC1B,MAAM,EAAE,MAAM,CAAC;IACf,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,OAAO,CAAC;IACd,GAAG,EAAE,MAAM,CAAC;IACZ,OAAO,EAAE,MAAM,CAAC;IAChB,YAAY,CAAC,EAAE,MAAM,CAAC;CACvB,CAAC;AAEF,MAAM,MAAM,qBAAqB,GAAG;IAClC,SAAS,EAAE,MAAM,CAAC;IAClB,WAAW,EAAE,MAAM,CAAC;IACpB,KAAK,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,GAAG,OAAO,CAAC,CAAC;IACxC,QAAQ,EAAE,qBAAqB,EAAE,CAAC;CACnC,CAAC;AAEF,MAAM,MAAM,qBAAqB,GAAG;IAClC,MAAM,EAAE,MAAM,CAAC;IACf,YAAY,EAAE,MAAM,CAAC;IACrB,UAAU,EAAE,MAAM,CAAC;IACnB,MAAM,EAAE,MAAM,CAAC;IACf,MAAM,EAAE,MAAM,CAAC;IACf,GAAG,EAAE,MAAM,CAAC;IACZ,OAAO,CAAC,EAAE,MAAM,CAAC;CAClB,CAAC"}
package/dist/index.js CHANGED
@@ -88,7 +88,6 @@ __export(src_exports, {
88
88
  WS_EVENTS: () => WS_EVENTS,
89
89
  assertTokenData: () => assertTokenData,
90
90
  customizableNavElements: () => customizableNavElements,
91
- getKsRendererClientGlobal: () => getKsRendererClientGlobal,
92
91
  getPrimitiveValue: () => getPrimitiveValue,
93
92
  hasTokenReferences: () => hasTokenReferences,
94
93
  isArrayOfObjectsProp: () => isArrayOfObjectsProp,
@@ -102,13 +101,10 @@ __export(src_exports, {
102
101
  isKsAppClientDataAndMetaV3: () => isKsAppClientDataAndMetaV3,
103
102
  isKsAppClientDataNoMeta: () => isKsAppClientDataNoMeta,
104
103
  isKsAppClientDataNoMetaV3: () => isKsAppClientDataNoMetaV3,
105
- isKsJsImports: () => isKsJsImports,
106
104
  isKsMetaState: () => isKsMetaState,
107
105
  isKsMetaStateV3: () => isKsMetaStateV3,
108
106
  isKsRemoteChange: () => isKsRemoteChange,
109
107
  isKsRemoteChanges: () => isKsRemoteChanges,
110
- isKsRendererClientGlobal: () => isKsRendererClientGlobal,
111
- isKsRendererClientGlobalImportedModules: () => isKsRendererClientGlobalImportedModules,
112
108
  isNotTokenReference: () => isNotTokenReference,
113
109
  isNumberProp: () => isNumberProp,
114
110
  isObjKey: () => import_utils.isObjKey,
@@ -139,6 +135,7 @@ __export(src_exports, {
139
135
  isTokenValueFontWeight: () => isTokenValueFontWeight,
140
136
  isTokenValueShadow: () => isTokenValueShadow,
141
137
  isTokenValueTransition: () => isTokenValueTransition,
138
+ ksRendererClientMetaId: () => ksRendererClientMetaId,
142
139
  migrations: () => migrations,
143
140
  pageElements: () => pageElements,
144
141
  pageElementsV2: () => pageElementsV2,
@@ -1760,81 +1757,13 @@ var rendererIds = {
1760
1757
  angular: "angular",
1761
1758
  html: "html"
1762
1759
  };
1763
- function isKsJsImports(imports) {
1764
- if (!Array.isArray(imports)) return false;
1765
- if (imports.length === 0) return true;
1766
- const [anImport] = imports;
1767
- if (anImport.type === "pattern-template" && typeof anImport.patternId !== "string")
1768
- return false;
1769
- if (anImport.type === "pattern-template-demo" && typeof anImport.patternId !== "string")
1770
- return false;
1771
- if (anImport.type === "pattern-template-demo" && typeof anImport.templateId !== "string")
1772
- return false;
1773
- if (anImport.type === "pattern-template-demo" && typeof anImport.demoId !== "string")
1774
- return false;
1775
- if (anImport.type === "extra" && typeof anImport.importInfo !== "object")
1776
- return false;
1777
- if (anImport.type === "extra" && typeof anImport.importInfo.type !== "string")
1778
- return false;
1779
- if (anImport.type === "extra" && typeof anImport.importInfo.name !== "string")
1780
- return false;
1781
- if (anImport.type === "extra" && typeof anImport.importInfo.path !== "string")
1782
- return false;
1783
- if (anImport.type === "extra" && typeof anImport.importInfo.names !== "undefined") {
1784
- if (!Array.isArray(anImport.importInfo.names)) return false;
1785
- if (anImport.importInfo.names.some((name) => typeof name !== "string"))
1786
- return false;
1787
- }
1788
- return true;
1789
- }
1790
- __name(isKsJsImports, "isKsJsImports");
1791
- function isKsRendererClientGlobalImportedModules(mods) {
1792
- if (!(0, import_utils.isObject)(mods)) return false;
1793
- for (const key in mods) {
1794
- if (typeof mods[key] !== "function") return false;
1795
- }
1796
- return true;
1797
- }
1798
- __name(isKsRendererClientGlobalImportedModules, "isKsRendererClientGlobalImportedModules");
1799
- function isKsRendererClientGlobal(knapsack) {
1800
- if (!(0, import_utils.isObject)(knapsack)) return false;
1801
- if (knapsack.typeName !== "KsRendererClientGlobal") return false;
1802
- if (typeof knapsack.getImport !== "function") return false;
1803
- if (!Array.isArray(knapsack.allAvailableImports)) return false;
1804
- if (!isKsRendererClientGlobalImportedModules(knapsack.importedModules)) {
1805
- return false;
1806
- }
1807
- return isKsJsImports(knapsack.allAvailableImports);
1808
- }
1809
- __name(isKsRendererClientGlobal, "isKsRendererClientGlobal");
1810
- var isBrowser = typeof window !== "undefined" && typeof window.document !== "undefined";
1811
- function getKsRendererClientGlobal() {
1812
- if (!isBrowser) {
1813
- throw new Error(
1814
- "Cannot get KsRendererClientGlobal in a non-browser environment"
1815
- );
1816
- }
1817
- const { knapsack } = window;
1818
- if (!knapsack) {
1819
- throw new Error(
1820
- 'Cannot get KsRendererClientGlobal: "knapsack" is not defined on the window'
1821
- );
1822
- }
1823
- if (!isKsRendererClientGlobal(knapsack)) {
1824
- console.log(`Object found at "window.knapsack":`, knapsack);
1825
- throw new Error(
1826
- `Cannot get KsRendererClientGlobal: knapsack is not the correct type`
1827
- );
1828
- }
1829
- return knapsack;
1830
- }
1831
- __name(getKsRendererClientGlobal, "getKsRendererClientGlobal");
1832
1760
 
1833
1761
  // src/renderer-client-types.ts
1834
1762
  var KsRendererClientEvents = /* @__PURE__ */ ((KsRendererClientEvents2) => {
1835
1763
  KsRendererClientEvents2["ready"] = "ready";
1836
1764
  return KsRendererClientEvents2;
1837
1765
  })(KsRendererClientEvents || {});
1766
+ var ksRendererClientMetaId = "ks-meta";
1838
1767
 
1839
1768
  // src/web-sockets.ts
1840
1769
  var WS_EVENTS = {
@@ -1967,7 +1896,6 @@ var roles = Object.values(rolesById);
1967
1896
  WS_EVENTS,
1968
1897
  assertTokenData,
1969
1898
  customizableNavElements,
1970
- getKsRendererClientGlobal,
1971
1899
  getPrimitiveValue,
1972
1900
  hasTokenReferences,
1973
1901
  isArrayOfObjectsProp,
@@ -1981,13 +1909,10 @@ var roles = Object.values(rolesById);
1981
1909
  isKsAppClientDataAndMetaV3,
1982
1910
  isKsAppClientDataNoMeta,
1983
1911
  isKsAppClientDataNoMetaV3,
1984
- isKsJsImports,
1985
1912
  isKsMetaState,
1986
1913
  isKsMetaStateV3,
1987
1914
  isKsRemoteChange,
1988
1915
  isKsRemoteChanges,
1989
- isKsRendererClientGlobal,
1990
- isKsRendererClientGlobalImportedModules,
1991
1916
  isNotTokenReference,
1992
1917
  isNumberProp,
1993
1918
  isObjKey,
@@ -2018,6 +1943,7 @@ var roles = Object.values(rolesById);
2018
1943
  isTokenValueFontWeight,
2019
1944
  isTokenValueShadow,
2020
1945
  isTokenValueTransition,
1946
+ ksRendererClientMetaId,
2021
1947
  migrations,
2022
1948
  pageElements,
2023
1949
  pageElementsV2,