@plitzi/sdk-shared 0.37.8 → 0.37.10

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (249) hide show
  1. package/CHANGELOG.md +817 -0
  2. package/dist/actions/functions.d.ts +12 -3
  3. package/dist/actions/functions.mjs +8 -5
  4. package/dist/actions/index.d.ts +2 -2
  5. package/dist/actions/index.mjs +6 -6
  6. package/dist/actions/triggerParams.mjs +7 -6
  7. package/dist/actions/validateDocument.d.ts +3 -0
  8. package/dist/actions/validateDocument.mjs +89 -88
  9. package/dist/auth/failureChannel.d.ts +8 -2
  10. package/dist/auth/failureChannel.mjs +1 -3
  11. package/dist/authoring/elementCallbacks.d.ts +65 -0
  12. package/dist/authoring/elementCallbacks.mjs +72 -8
  13. package/dist/authoring/index.mjs +3 -3
  14. package/dist/builder/contexts/BuilderContext.d.ts +18 -7
  15. package/dist/builder/contexts/BuilderContext.mjs +2 -3
  16. package/dist/connectors/index.d.ts +1 -1
  17. package/dist/connectors/index.mjs +2 -2
  18. package/dist/connectors/validateManifest.d.ts +3 -0
  19. package/dist/connectors/validateManifest.mjs +77 -76
  20. package/dist/dataSource/computed.mjs +25 -29
  21. package/dist/dataSource/globalSources.d.ts +15 -0
  22. package/dist/dataSource/globalSources.mjs +13 -0
  23. package/dist/dataSource/index.d.ts +2 -0
  24. package/dist/dataSource/index.mjs +8 -7
  25. package/dist/devTools/DevToolsContext.mjs +2 -3
  26. package/dist/devTools/utils/PlitziConsole.d.ts +9 -0
  27. package/dist/devTools/utils/PlitziConsole.mjs +27 -7
  28. package/dist/elements/ComponentContext.mjs +2 -3
  29. package/dist/flags/flagsCookie.d.ts +26 -0
  30. package/dist/flags/flagsCookie.mjs +20 -0
  31. package/dist/flags/index.d.ts +3 -0
  32. package/dist/flags/index.mjs +4 -0
  33. package/dist/flags/resolveFlags.d.ts +60 -0
  34. package/dist/flags/resolveFlags.mjs +38 -0
  35. package/dist/flags/schemaFlag.d.ts +11 -0
  36. package/dist/flags/schemaFlag.mjs +9 -0
  37. package/dist/flags/useFlagResolution.d.ts +13 -0
  38. package/dist/flags/useFlagResolution.mjs +43 -0
  39. package/dist/helpers/eventTarget.d.ts +10 -0
  40. package/dist/helpers/eventTarget.mjs +4 -0
  41. package/dist/helpers/images.d.ts +18 -0
  42. package/dist/helpers/images.mjs +13 -0
  43. package/dist/helpers/index.d.ts +3 -0
  44. package/dist/helpers/index.mjs +21 -18
  45. package/dist/helpers/interval.d.ts +18 -0
  46. package/dist/helpers/interval.mjs +7 -0
  47. package/dist/helpers/isRecord.d.ts +2 -0
  48. package/dist/helpers/isRecord.mjs +4 -0
  49. package/dist/helpers/scroll.d.ts +42 -0
  50. package/dist/helpers/scroll.mjs +30 -0
  51. package/dist/helpers/sharedContext.d.ts +14 -0
  52. package/dist/helpers/sharedContext.mjs +9 -0
  53. package/dist/helpers/twigWrapper/Evaluator/Evaluator.d.ts +9 -1
  54. package/dist/helpers/twigWrapper/Evaluator/Evaluator.mjs +13 -8
  55. package/dist/helpers/twigWrapper/Evaluator/index.d.ts +1 -1
  56. package/dist/helpers/twigWrapper/TemplateCache/TemplateCache.mjs +1 -1
  57. package/dist/helpers/twigWrapper/filters/filters.mjs +38 -2
  58. package/dist/helpers/twigWrapper/index.d.ts +1 -0
  59. package/dist/helpers/twigWrapper/processTwig/processTwig.d.ts +2 -1
  60. package/dist/helpers/twigWrapper/processTwig/processTwig.mjs +3 -3
  61. package/dist/helpers/utils.mjs +4 -2
  62. package/dist/history/describe.mjs +4 -1
  63. package/dist/history/diff.d.ts +1 -1
  64. package/dist/history/diff.mjs +11 -9
  65. package/dist/history/types.d.ts +1 -1
  66. package/dist/hooks/index.mjs +5 -5
  67. package/dist/hooks/usePlitziServiceContext.d.ts +1 -2
  68. package/dist/hooks/usePlitziServiceContext.mjs +3 -4
  69. package/dist/index.d.ts +1 -1
  70. package/dist/index.mjs +90 -77
  71. package/dist/navigation/routes.mjs +6 -4
  72. package/dist/network/NetworkContext.mjs +2 -3
  73. package/dist/network/NetworkInternalContext.d.ts +2 -4
  74. package/dist/network/NetworkInternalContext.mjs +2 -3
  75. package/dist/network/graphql/builder/Mutations/Space/SpaceAddSnippetMutation.d.ts +2 -0
  76. package/dist/network/graphql/builder/Mutations/Space/SpaceAddSnippetMutation.mjs +4 -0
  77. package/dist/network/graphql/builder/Mutations/Space/components/SpaceAddComponentMutation.d.ts +4 -0
  78. package/dist/network/graphql/builder/Mutations/Space/components/SpaceAddComponentMutation.mjs +4 -0
  79. package/dist/network/graphql/builder/Mutations/Space/components/SpaceDetachInstanceMutation.d.ts +4 -0
  80. package/dist/network/graphql/builder/Mutations/Space/components/SpaceDetachInstanceMutation.mjs +4 -0
  81. package/dist/network/graphql/builder/Mutations/Space/components/SpaceRemoveComponentMutation.d.ts +4 -0
  82. package/dist/network/graphql/builder/Mutations/Space/components/SpaceRemoveComponentMutation.mjs +4 -0
  83. package/dist/network/graphql/builder/Mutations/Space/components/SpaceUpdateComponentMutation.d.ts +4 -0
  84. package/dist/network/graphql/builder/Mutations/Space/components/SpaceUpdateComponentMutation.mjs +4 -0
  85. package/dist/network/graphql/builder/Mutations/Space/flags/SpacePublishFlagsMutation.d.ts +12 -0
  86. package/dist/network/graphql/builder/Mutations/Space/flags/SpacePublishFlagsMutation.mjs +4 -0
  87. package/dist/network/graphql/builder/Mutations/Space/flags/SpaceRemoveFlagMutation.d.ts +2 -0
  88. package/dist/network/graphql/builder/Mutations/Space/flags/SpaceRemoveFlagMutation.mjs +4 -0
  89. package/dist/network/graphql/builder/Mutations/Space/flags/SpaceSetFlagMutation.d.ts +3 -0
  90. package/dist/network/graphql/builder/Mutations/Space/flags/SpaceSetFlagMutation.mjs +4 -0
  91. package/dist/network/graphql/builder/Mutations/index.d.ts +13 -30
  92. package/dist/network/graphql/builder/Mutations/index.mjs +164 -200
  93. package/dist/network/graphql/builder/Queries/InitQuery.d.ts +4 -3
  94. package/dist/network/graphql/builder/Queries/InitQuery.mjs +1 -1
  95. package/dist/network/graphql/builder/Queries/Space/SpaceActionTasksQuery.d.ts +1 -1
  96. package/dist/network/graphql/builder/Queries/Space/SpaceActionTasksQuery.mjs +1 -1
  97. package/dist/network/graphql/builder/Queries/Space/SpaceIssuesQuery.d.ts +16 -2
  98. package/dist/network/graphql/builder/Queries/Space/SpaceIssuesQuery.mjs +1 -1
  99. package/dist/network/graphql/builder/Queries/Space/SpaceVersionContentsQuery.d.ts +7 -0
  100. package/dist/network/graphql/builder/Queries/Space/SpaceVersionContentsQuery.mjs +4 -0
  101. package/dist/network/graphql/builder/Queries/index.d.ts +3 -5
  102. package/dist/network/graphql/builder/Queries/index.mjs +36 -38
  103. package/dist/network/graphql/builder/Subscriptions/SpaceEventSubscription.d.ts +1 -1
  104. package/dist/network/graphql/sdk/Queries/InitQuery.d.ts +2 -3
  105. package/dist/network/graphql/sdk/Queries/InitQuery.mjs +1 -1
  106. package/dist/network/graphql/sdk/Queries/index.d.ts +0 -4
  107. package/dist/network/graphql/sdk/Queries/index.mjs +2 -8
  108. package/dist/network/index.mjs +8 -7
  109. package/dist/network/spaceEvents.d.ts +25 -195
  110. package/dist/network/spaceEvents.mjs +156 -241
  111. package/dist/realtime/client.mjs +123 -95
  112. package/dist/realtime/topics.mjs +18 -17
  113. package/dist/schema/SchemaContext.mjs +2 -3
  114. package/dist/schema/anchor.d.ts +8 -0
  115. package/dist/schema/anchor.mjs +4 -0
  116. package/dist/schema/index.d.ts +2 -0
  117. package/dist/schema/index.mjs +6 -4
  118. package/dist/schema/schemaConstants.d.ts +2 -0
  119. package/dist/schema/schemaConstants.mjs +4 -3
  120. package/dist/schema/serverElements.d.ts +6 -2
  121. package/dist/schema/serverElements.mjs +17 -16
  122. package/dist/schema/snippet.d.ts +7 -0
  123. package/dist/schema/snippet.mjs +9 -0
  124. package/dist/schema/wire.d.ts +11 -0
  125. package/dist/schema/wire.mjs +27 -0
  126. package/dist/server/actions/useImagesSync.d.ts +9 -0
  127. package/dist/server/actions/useImagesSync.mjs +7 -0
  128. package/dist/server/rsc/refreshRsc.d.ts +3 -1
  129. package/dist/server/rsc/refreshRsc.mjs +17 -16
  130. package/dist/source/export.d.ts +107 -0
  131. package/dist/source/export.mjs +4 -0
  132. package/dist/source/index.d.ts +4 -0
  133. package/dist/source/index.mjs +3 -0
  134. package/dist/source/snapshot.d.ts +51 -0
  135. package/dist/source/snapshot.mjs +81 -0
  136. package/dist/state/paintedState.mjs +13 -12
  137. package/dist/state/runtimeStatePersist.mjs +50 -49
  138. package/dist/store/index.d.ts +45 -45
  139. package/dist/store/renderSettings.d.ts +1 -0
  140. package/dist/store/renderSettings.mjs +9 -5
  141. package/dist/style/breakpoints.d.ts +11 -0
  142. package/dist/style/breakpoints.mjs +8 -0
  143. package/dist/style/displayModes.d.ts +5 -0
  144. package/dist/style/displayModes.mjs +8 -0
  145. package/dist/style/fontValidation.mjs +52 -51
  146. package/dist/style/fonts.d.ts +0 -12
  147. package/dist/style/fonts.mjs +11 -11
  148. package/dist/style/index.d.ts +4 -0
  149. package/dist/style/index.mjs +11 -7
  150. package/dist/style/layoutGrid.d.ts +30 -0
  151. package/dist/style/layoutGrid.mjs +33 -0
  152. package/dist/style/notifications.d.ts +52 -0
  153. package/dist/style/notifications.mjs +55 -0
  154. package/dist/style/snippetStyle.d.ts +23 -0
  155. package/dist/style/snippetStyle.mjs +32 -0
  156. package/dist/style/styleConstants.d.ts +7 -2
  157. package/dist/style/styleConstants.mjs +10 -0
  158. package/dist/style/styleStates.d.ts +11 -2
  159. package/dist/style/styleStates.mjs +12 -9
  160. package/dist/theme/ThemeProvider.mjs +20 -20
  161. package/dist/theme/ThemeScope.mjs +4 -3
  162. package/dist/types/ActionTypes.d.ts +5 -0
  163. package/dist/types/CommonTypes.d.ts +3 -0
  164. package/dist/types/DevToolsTypes.d.ts +29 -4
  165. package/dist/types/ElementTypes.d.ts +6 -5
  166. package/dist/types/EventBridgeTypes.d.ts +2 -2
  167. package/dist/types/FunctionTypes.d.ts +13 -0
  168. package/dist/types/InteractionTypes.d.ts +5 -0
  169. package/dist/types/PluginTypes.d.ts +1 -1
  170. package/dist/types/ResourceTypes.d.ts +2 -2
  171. package/dist/types/SchemaTypes.d.ts +100 -3
  172. package/dist/types/SdkTypes.d.ts +0 -2
  173. package/dist/types/ServerTypes.d.ts +47 -0
  174. package/dist/types/SnippetTypes.d.ts +28 -0
  175. package/dist/types/SpaceTypes.d.ts +36 -0
  176. package/dist/types/StoreTypes.d.ts +39 -3
  177. package/dist/types/StyleTypes.d.ts +1 -1
  178. package/dist/types/index.d.ts +1 -2
  179. package/package.json +143 -138
  180. package/tailwind.config.js +1 -6
  181. package/vite.config.ts +16 -4
  182. package/dist/network/graphql/builder/Mutations/Segment/SegmentAddMutation.d.ts +0 -4
  183. package/dist/network/graphql/builder/Mutations/Segment/SegmentAddMutation.mjs +0 -4
  184. package/dist/network/graphql/builder/Mutations/Segment/SegmentAddTemplateMutation.d.ts +0 -2
  185. package/dist/network/graphql/builder/Mutations/Segment/SegmentAddTemplateMutation.mjs +0 -4
  186. package/dist/network/graphql/builder/Mutations/Segment/SegmentPublishMutation.d.ts +0 -8
  187. package/dist/network/graphql/builder/Mutations/Segment/SegmentPublishMutation.mjs +0 -4
  188. package/dist/network/graphql/builder/Mutations/Segment/SegmentRemoveMutation.d.ts +0 -2
  189. package/dist/network/graphql/builder/Mutations/Segment/SegmentRemoveMutation.mjs +0 -4
  190. package/dist/network/graphql/builder/Mutations/Segment/SegmentUpdateMutation.d.ts +0 -4
  191. package/dist/network/graphql/builder/Mutations/Segment/SegmentUpdateMutation.mjs +0 -4
  192. package/dist/network/graphql/builder/Mutations/Segment/space/elements/SegmentAddElementMutation.d.ts +0 -2
  193. package/dist/network/graphql/builder/Mutations/Segment/space/elements/SegmentAddElementMutation.mjs +0 -4
  194. package/dist/network/graphql/builder/Mutations/Segment/space/elements/SegmentCloneElementMutation.d.ts +0 -2
  195. package/dist/network/graphql/builder/Mutations/Segment/space/elements/SegmentCloneElementMutation.mjs +0 -4
  196. package/dist/network/graphql/builder/Mutations/Segment/space/elements/SegmentMoveElementMutation.d.ts +0 -2
  197. package/dist/network/graphql/builder/Mutations/Segment/space/elements/SegmentMoveElementMutation.mjs +0 -4
  198. package/dist/network/graphql/builder/Mutations/Segment/space/elements/SegmentRemoveElementMutation.d.ts +0 -2
  199. package/dist/network/graphql/builder/Mutations/Segment/space/elements/SegmentRemoveElementMutation.mjs +0 -4
  200. package/dist/network/graphql/builder/Mutations/Segment/space/elements/SegmentRenameElementMutation.d.ts +0 -3
  201. package/dist/network/graphql/builder/Mutations/Segment/space/elements/SegmentRenameElementMutation.mjs +0 -4
  202. package/dist/network/graphql/builder/Mutations/Segment/space/elements/SegmentUpdateElementMutation.d.ts +0 -2
  203. package/dist/network/graphql/builder/Mutations/Segment/space/elements/SegmentUpdateElementMutation.mjs +0 -4
  204. package/dist/network/graphql/builder/Mutations/Segment/space/elements/SegmentUpdateElementsMutation.d.ts +0 -2
  205. package/dist/network/graphql/builder/Mutations/Segment/space/elements/SegmentUpdateElementsMutation.mjs +0 -4
  206. package/dist/network/graphql/builder/Mutations/Segment/space/variables/SegmentSpaceAddVariableMutation.d.ts +0 -2
  207. package/dist/network/graphql/builder/Mutations/Segment/space/variables/SegmentSpaceAddVariableMutation.mjs +0 -4
  208. package/dist/network/graphql/builder/Mutations/Segment/space/variables/SegmentSpaceRemoveVariableMutation.d.ts +0 -2
  209. package/dist/network/graphql/builder/Mutations/Segment/space/variables/SegmentSpaceRemoveVariableMutation.mjs +0 -4
  210. package/dist/network/graphql/builder/Mutations/Segment/space/variables/SegmentSpaceUpdateVariableMutation.d.ts +0 -2
  211. package/dist/network/graphql/builder/Mutations/Segment/space/variables/SegmentSpaceUpdateVariableMutation.mjs +0 -4
  212. package/dist/network/graphql/builder/Mutations/Segment/style/selectorVariables/SegmentStyleAddSelectorVariableMutation.d.ts +0 -2
  213. package/dist/network/graphql/builder/Mutations/Segment/style/selectorVariables/SegmentStyleAddSelectorVariableMutation.mjs +0 -4
  214. package/dist/network/graphql/builder/Mutations/Segment/style/selectorVariables/SegmentStyleRemoveSelectorVariableMutation.d.ts +0 -2
  215. package/dist/network/graphql/builder/Mutations/Segment/style/selectorVariables/SegmentStyleRemoveSelectorVariableMutation.mjs +0 -4
  216. package/dist/network/graphql/builder/Mutations/Segment/style/selectorVariables/SegmentStyleUpdateSelectorVariableMutation.d.ts +0 -2
  217. package/dist/network/graphql/builder/Mutations/Segment/style/selectorVariables/SegmentStyleUpdateSelectorVariableMutation.mjs +0 -4
  218. package/dist/network/graphql/builder/Mutations/Segment/style/selectors/SegmentStyleAddSelectorMutation.d.ts +0 -2
  219. package/dist/network/graphql/builder/Mutations/Segment/style/selectors/SegmentStyleAddSelectorMutation.mjs +0 -4
  220. package/dist/network/graphql/builder/Mutations/Segment/style/selectors/SegmentStyleRemoveSelectorMutation.d.ts +0 -2
  221. package/dist/network/graphql/builder/Mutations/Segment/style/selectors/SegmentStyleRemoveSelectorMutation.mjs +0 -4
  222. package/dist/network/graphql/builder/Mutations/Segment/style/selectors/SegmentStyleRemoveSelectorsMutation.d.ts +0 -2
  223. package/dist/network/graphql/builder/Mutations/Segment/style/selectors/SegmentStyleRemoveSelectorsMutation.mjs +0 -4
  224. package/dist/network/graphql/builder/Mutations/Segment/style/selectors/SegmentStyleUpdateSelectorMutation.d.ts +0 -2
  225. package/dist/network/graphql/builder/Mutations/Segment/style/selectors/SegmentStyleUpdateSelectorMutation.mjs +0 -4
  226. package/dist/network/graphql/builder/Mutations/Segment/style/variables/SegmentStyleAddVariableMutation.d.ts +0 -2
  227. package/dist/network/graphql/builder/Mutations/Segment/style/variables/SegmentStyleAddVariableMutation.mjs +0 -4
  228. package/dist/network/graphql/builder/Mutations/Segment/style/variables/SegmentStyleRemoveVariableMutation.d.ts +0 -2
  229. package/dist/network/graphql/builder/Mutations/Segment/style/variables/SegmentStyleRemoveVariableMutation.mjs +0 -4
  230. package/dist/network/graphql/builder/Mutations/Segment/style/variables/SegmentStyleUpdateVariableMutation.d.ts +0 -2
  231. package/dist/network/graphql/builder/Mutations/Segment/style/variables/SegmentStyleUpdateVariableMutation.mjs +0 -4
  232. package/dist/network/graphql/builder/Mutations/Space/SpaceAddTemplateMutation.d.ts +0 -2
  233. package/dist/network/graphql/builder/Mutations/Space/SpaceAddTemplateMutation.mjs +0 -4
  234. package/dist/network/graphql/builder/Queries/Segment/SegmentQuery.d.ts +0 -6
  235. package/dist/network/graphql/builder/Queries/Segment/SegmentQuery.mjs +0 -4
  236. package/dist/network/graphql/builder/Queries/Segment/SegmentsQuery.d.ts +0 -9
  237. package/dist/network/graphql/builder/Queries/Segment/SegmentsQuery.mjs +0 -4
  238. package/dist/network/graphql/sdk/Queries/Segment/SegmentQuery.d.ts +0 -6
  239. package/dist/network/graphql/sdk/Queries/Segment/SegmentQuery.mjs +0 -4
  240. package/dist/network/graphql/sdk/Queries/Segment/SegmentsQuery.d.ts +0 -9
  241. package/dist/network/graphql/sdk/Queries/Segment/SegmentsQuery.mjs +0 -4
  242. package/dist/segments/SegmentsContext.d.ts +0 -2
  243. package/dist/segments/SegmentsContext.mjs +0 -6
  244. package/dist/segments/index.d.ts +0 -3
  245. package/dist/segments/index.mjs +0 -2
  246. package/dist/types/SegmentTypes.d.ts +0 -41
  247. package/dist/types/TemplateTypes.d.ts +0 -20
  248. package/dist/types/TemplateTypes.mjs +0 -0
  249. /package/dist/types/{SegmentTypes.mjs → SnippetTypes.mjs} +0 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@plitzi/sdk-shared",
3
- "version": "0.37.8",
3
+ "version": "0.37.10",
4
4
  "license": "AGPL-3.0",
5
5
  "files": [
6
6
  "dist",
@@ -158,6 +158,10 @@
158
158
  "types": "./dist/dataSource/getBindingsDetails.d.ts",
159
159
  "import": "./dist/dataSource/getBindingsDetails.mjs"
160
160
  },
161
+ "./dataSource/globalSources": {
162
+ "types": "./dist/dataSource/globalSources.d.ts",
163
+ "import": "./dist/dataSource/globalSources.mjs"
164
+ },
161
165
  "./dataSource/helpers": {
162
166
  "types": "./dist/dataSource/helpers/index.d.ts",
163
167
  "import": "./dist/dataSource/helpers/index.mjs"
@@ -278,6 +282,30 @@
278
282
  "types": "./dist/elements/index.d.ts",
279
283
  "import": "./dist/elements/index.mjs"
280
284
  },
285
+ "./flags": {
286
+ "types": "./dist/flags/index.d.ts",
287
+ "import": "./dist/flags/index.mjs"
288
+ },
289
+ "./flags/flagsCookie": {
290
+ "types": "./dist/flags/flagsCookie.d.ts",
291
+ "import": "./dist/flags/flagsCookie.mjs"
292
+ },
293
+ "./flags/index": {
294
+ "types": "./dist/flags/index.d.ts",
295
+ "import": "./dist/flags/index.mjs"
296
+ },
297
+ "./flags/resolveFlags": {
298
+ "types": "./dist/flags/resolveFlags.d.ts",
299
+ "import": "./dist/flags/resolveFlags.mjs"
300
+ },
301
+ "./flags/schemaFlag": {
302
+ "types": "./dist/flags/schemaFlag.d.ts",
303
+ "import": "./dist/flags/schemaFlag.mjs"
304
+ },
305
+ "./flags/useFlagResolution": {
306
+ "types": "./dist/flags/useFlagResolution.d.ts",
307
+ "import": "./dist/flags/useFlagResolution.mjs"
308
+ },
281
309
  "./helpers": {
282
310
  "types": "./dist/helpers/index.d.ts",
283
311
  "import": "./dist/helpers/index.mjs"
@@ -286,6 +314,10 @@
286
314
  "types": "./dist/helpers/cookies.d.ts",
287
315
  "import": "./dist/helpers/cookies.mjs"
288
316
  },
317
+ "./helpers/eventTarget": {
318
+ "types": "./dist/helpers/eventTarget.d.ts",
319
+ "import": "./dist/helpers/eventTarget.mjs"
320
+ },
289
321
  "./helpers/fetchManifest": {
290
322
  "types": "./dist/helpers/fetchManifest.d.ts",
291
323
  "import": "./dist/helpers/fetchManifest.mjs"
@@ -298,14 +330,26 @@
298
330
  "types": "./dist/helpers/generateFacade.d.ts",
299
331
  "import": "./dist/helpers/generateFacade.mjs"
300
332
  },
333
+ "./helpers/images": {
334
+ "types": "./dist/helpers/images.d.ts",
335
+ "import": "./dist/helpers/images.mjs"
336
+ },
301
337
  "./helpers/index": {
302
338
  "types": "./dist/helpers/index.d.ts",
303
339
  "import": "./dist/helpers/index.mjs"
304
340
  },
341
+ "./helpers/interval": {
342
+ "types": "./dist/helpers/interval.d.ts",
343
+ "import": "./dist/helpers/interval.mjs"
344
+ },
305
345
  "./helpers/isDate": {
306
346
  "types": "./dist/helpers/isDate.d.ts",
307
347
  "import": "./dist/helpers/isDate.mjs"
308
348
  },
349
+ "./helpers/isRecord": {
350
+ "types": "./dist/helpers/isRecord.d.ts",
351
+ "import": "./dist/helpers/isRecord.mjs"
352
+ },
309
353
  "./helpers/keys": {
310
354
  "types": "./dist/helpers/keys.d.ts",
311
355
  "import": "./dist/helpers/keys.mjs"
@@ -318,10 +362,18 @@
318
362
  "types": "./dist/helpers/ruleEvaluator.d.ts",
319
363
  "import": "./dist/helpers/ruleEvaluator.mjs"
320
364
  },
365
+ "./helpers/scroll": {
366
+ "types": "./dist/helpers/scroll.d.ts",
367
+ "import": "./dist/helpers/scroll.mjs"
368
+ },
321
369
  "./helpers/security": {
322
370
  "types": "./dist/helpers/security.d.ts",
323
371
  "import": "./dist/helpers/security.mjs"
324
372
  },
373
+ "./helpers/sharedContext": {
374
+ "types": "./dist/helpers/sharedContext.d.ts",
375
+ "import": "./dist/helpers/sharedContext.mjs"
376
+ },
325
377
  "./helpers/stripTypename": {
326
378
  "types": "./dist/helpers/stripTypename.d.ts",
327
379
  "import": "./dist/helpers/stripTypename.mjs"
@@ -559,106 +611,6 @@
559
611
  "types": "./dist/network/graphql/builder/Mutations/index.d.ts",
560
612
  "import": "./dist/network/graphql/builder/Mutations/index.mjs"
561
613
  },
562
- "./network/graphql/builder/Mutations/Segment/SegmentAddMutation": {
563
- "types": "./dist/network/graphql/builder/Mutations/Segment/SegmentAddMutation.d.ts",
564
- "import": "./dist/network/graphql/builder/Mutations/Segment/SegmentAddMutation.mjs"
565
- },
566
- "./network/graphql/builder/Mutations/Segment/SegmentAddTemplateMutation": {
567
- "types": "./dist/network/graphql/builder/Mutations/Segment/SegmentAddTemplateMutation.d.ts",
568
- "import": "./dist/network/graphql/builder/Mutations/Segment/SegmentAddTemplateMutation.mjs"
569
- },
570
- "./network/graphql/builder/Mutations/Segment/SegmentPublishMutation": {
571
- "types": "./dist/network/graphql/builder/Mutations/Segment/SegmentPublishMutation.d.ts",
572
- "import": "./dist/network/graphql/builder/Mutations/Segment/SegmentPublishMutation.mjs"
573
- },
574
- "./network/graphql/builder/Mutations/Segment/SegmentRemoveMutation": {
575
- "types": "./dist/network/graphql/builder/Mutations/Segment/SegmentRemoveMutation.d.ts",
576
- "import": "./dist/network/graphql/builder/Mutations/Segment/SegmentRemoveMutation.mjs"
577
- },
578
- "./network/graphql/builder/Mutations/Segment/SegmentUpdateMutation": {
579
- "types": "./dist/network/graphql/builder/Mutations/Segment/SegmentUpdateMutation.d.ts",
580
- "import": "./dist/network/graphql/builder/Mutations/Segment/SegmentUpdateMutation.mjs"
581
- },
582
- "./network/graphql/builder/Mutations/Segment/space/elements/SegmentAddElementMutation": {
583
- "types": "./dist/network/graphql/builder/Mutations/Segment/space/elements/SegmentAddElementMutation.d.ts",
584
- "import": "./dist/network/graphql/builder/Mutations/Segment/space/elements/SegmentAddElementMutation.mjs"
585
- },
586
- "./network/graphql/builder/Mutations/Segment/space/elements/SegmentCloneElementMutation": {
587
- "types": "./dist/network/graphql/builder/Mutations/Segment/space/elements/SegmentCloneElementMutation.d.ts",
588
- "import": "./dist/network/graphql/builder/Mutations/Segment/space/elements/SegmentCloneElementMutation.mjs"
589
- },
590
- "./network/graphql/builder/Mutations/Segment/space/elements/SegmentMoveElementMutation": {
591
- "types": "./dist/network/graphql/builder/Mutations/Segment/space/elements/SegmentMoveElementMutation.d.ts",
592
- "import": "./dist/network/graphql/builder/Mutations/Segment/space/elements/SegmentMoveElementMutation.mjs"
593
- },
594
- "./network/graphql/builder/Mutations/Segment/space/elements/SegmentRemoveElementMutation": {
595
- "types": "./dist/network/graphql/builder/Mutations/Segment/space/elements/SegmentRemoveElementMutation.d.ts",
596
- "import": "./dist/network/graphql/builder/Mutations/Segment/space/elements/SegmentRemoveElementMutation.mjs"
597
- },
598
- "./network/graphql/builder/Mutations/Segment/space/elements/SegmentRenameElementMutation": {
599
- "types": "./dist/network/graphql/builder/Mutations/Segment/space/elements/SegmentRenameElementMutation.d.ts",
600
- "import": "./dist/network/graphql/builder/Mutations/Segment/space/elements/SegmentRenameElementMutation.mjs"
601
- },
602
- "./network/graphql/builder/Mutations/Segment/space/elements/SegmentUpdateElementMutation": {
603
- "types": "./dist/network/graphql/builder/Mutations/Segment/space/elements/SegmentUpdateElementMutation.d.ts",
604
- "import": "./dist/network/graphql/builder/Mutations/Segment/space/elements/SegmentUpdateElementMutation.mjs"
605
- },
606
- "./network/graphql/builder/Mutations/Segment/space/elements/SegmentUpdateElementsMutation": {
607
- "types": "./dist/network/graphql/builder/Mutations/Segment/space/elements/SegmentUpdateElementsMutation.d.ts",
608
- "import": "./dist/network/graphql/builder/Mutations/Segment/space/elements/SegmentUpdateElementsMutation.mjs"
609
- },
610
- "./network/graphql/builder/Mutations/Segment/space/variables/SegmentSpaceAddVariableMutation": {
611
- "types": "./dist/network/graphql/builder/Mutations/Segment/space/variables/SegmentSpaceAddVariableMutation.d.ts",
612
- "import": "./dist/network/graphql/builder/Mutations/Segment/space/variables/SegmentSpaceAddVariableMutation.mjs"
613
- },
614
- "./network/graphql/builder/Mutations/Segment/space/variables/SegmentSpaceRemoveVariableMutation": {
615
- "types": "./dist/network/graphql/builder/Mutations/Segment/space/variables/SegmentSpaceRemoveVariableMutation.d.ts",
616
- "import": "./dist/network/graphql/builder/Mutations/Segment/space/variables/SegmentSpaceRemoveVariableMutation.mjs"
617
- },
618
- "./network/graphql/builder/Mutations/Segment/space/variables/SegmentSpaceUpdateVariableMutation": {
619
- "types": "./dist/network/graphql/builder/Mutations/Segment/space/variables/SegmentSpaceUpdateVariableMutation.d.ts",
620
- "import": "./dist/network/graphql/builder/Mutations/Segment/space/variables/SegmentSpaceUpdateVariableMutation.mjs"
621
- },
622
- "./network/graphql/builder/Mutations/Segment/style/selectorVariables/SegmentStyleAddSelectorVariableMutation": {
623
- "types": "./dist/network/graphql/builder/Mutations/Segment/style/selectorVariables/SegmentStyleAddSelectorVariableMutation.d.ts",
624
- "import": "./dist/network/graphql/builder/Mutations/Segment/style/selectorVariables/SegmentStyleAddSelectorVariableMutation.mjs"
625
- },
626
- "./network/graphql/builder/Mutations/Segment/style/selectorVariables/SegmentStyleRemoveSelectorVariableMutation": {
627
- "types": "./dist/network/graphql/builder/Mutations/Segment/style/selectorVariables/SegmentStyleRemoveSelectorVariableMutation.d.ts",
628
- "import": "./dist/network/graphql/builder/Mutations/Segment/style/selectorVariables/SegmentStyleRemoveSelectorVariableMutation.mjs"
629
- },
630
- "./network/graphql/builder/Mutations/Segment/style/selectorVariables/SegmentStyleUpdateSelectorVariableMutation": {
631
- "types": "./dist/network/graphql/builder/Mutations/Segment/style/selectorVariables/SegmentStyleUpdateSelectorVariableMutation.d.ts",
632
- "import": "./dist/network/graphql/builder/Mutations/Segment/style/selectorVariables/SegmentStyleUpdateSelectorVariableMutation.mjs"
633
- },
634
- "./network/graphql/builder/Mutations/Segment/style/selectors/SegmentStyleAddSelectorMutation": {
635
- "types": "./dist/network/graphql/builder/Mutations/Segment/style/selectors/SegmentStyleAddSelectorMutation.d.ts",
636
- "import": "./dist/network/graphql/builder/Mutations/Segment/style/selectors/SegmentStyleAddSelectorMutation.mjs"
637
- },
638
- "./network/graphql/builder/Mutations/Segment/style/selectors/SegmentStyleRemoveSelectorMutation": {
639
- "types": "./dist/network/graphql/builder/Mutations/Segment/style/selectors/SegmentStyleRemoveSelectorMutation.d.ts",
640
- "import": "./dist/network/graphql/builder/Mutations/Segment/style/selectors/SegmentStyleRemoveSelectorMutation.mjs"
641
- },
642
- "./network/graphql/builder/Mutations/Segment/style/selectors/SegmentStyleRemoveSelectorsMutation": {
643
- "types": "./dist/network/graphql/builder/Mutations/Segment/style/selectors/SegmentStyleRemoveSelectorsMutation.d.ts",
644
- "import": "./dist/network/graphql/builder/Mutations/Segment/style/selectors/SegmentStyleRemoveSelectorsMutation.mjs"
645
- },
646
- "./network/graphql/builder/Mutations/Segment/style/selectors/SegmentStyleUpdateSelectorMutation": {
647
- "types": "./dist/network/graphql/builder/Mutations/Segment/style/selectors/SegmentStyleUpdateSelectorMutation.d.ts",
648
- "import": "./dist/network/graphql/builder/Mutations/Segment/style/selectors/SegmentStyleUpdateSelectorMutation.mjs"
649
- },
650
- "./network/graphql/builder/Mutations/Segment/style/variables/SegmentStyleAddVariableMutation": {
651
- "types": "./dist/network/graphql/builder/Mutations/Segment/style/variables/SegmentStyleAddVariableMutation.d.ts",
652
- "import": "./dist/network/graphql/builder/Mutations/Segment/style/variables/SegmentStyleAddVariableMutation.mjs"
653
- },
654
- "./network/graphql/builder/Mutations/Segment/style/variables/SegmentStyleRemoveVariableMutation": {
655
- "types": "./dist/network/graphql/builder/Mutations/Segment/style/variables/SegmentStyleRemoveVariableMutation.d.ts",
656
- "import": "./dist/network/graphql/builder/Mutations/Segment/style/variables/SegmentStyleRemoveVariableMutation.mjs"
657
- },
658
- "./network/graphql/builder/Mutations/Segment/style/variables/SegmentStyleUpdateVariableMutation": {
659
- "types": "./dist/network/graphql/builder/Mutations/Segment/style/variables/SegmentStyleUpdateVariableMutation.d.ts",
660
- "import": "./dist/network/graphql/builder/Mutations/Segment/style/variables/SegmentStyleUpdateVariableMutation.mjs"
661
- },
662
614
  "./network/graphql/builder/Mutations/Space/SpaceAddElementMutation": {
663
615
  "types": "./dist/network/graphql/builder/Mutations/Space/SpaceAddElementMutation.d.ts",
664
616
  "import": "./dist/network/graphql/builder/Mutations/Space/SpaceAddElementMutation.mjs"
@@ -667,9 +619,9 @@
667
619
  "types": "./dist/network/graphql/builder/Mutations/Space/SpaceAddPluginMutation.d.ts",
668
620
  "import": "./dist/network/graphql/builder/Mutations/Space/SpaceAddPluginMutation.mjs"
669
621
  },
670
- "./network/graphql/builder/Mutations/Space/SpaceAddTemplateMutation": {
671
- "types": "./dist/network/graphql/builder/Mutations/Space/SpaceAddTemplateMutation.d.ts",
672
- "import": "./dist/network/graphql/builder/Mutations/Space/SpaceAddTemplateMutation.mjs"
622
+ "./network/graphql/builder/Mutations/Space/SpaceAddSnippetMutation": {
623
+ "types": "./dist/network/graphql/builder/Mutations/Space/SpaceAddSnippetMutation.d.ts",
624
+ "import": "./dist/network/graphql/builder/Mutations/Space/SpaceAddSnippetMutation.mjs"
673
625
  },
674
626
  "./network/graphql/builder/Mutations/Space/SpaceCloneElementMutation": {
675
627
  "types": "./dist/network/graphql/builder/Mutations/Space/SpaceCloneElementMutation.d.ts",
@@ -771,6 +723,22 @@
771
723
  "types": "./dist/network/graphql/builder/Mutations/Space/cdns/SpaceUpdateCdnMutation.d.ts",
772
724
  "import": "./dist/network/graphql/builder/Mutations/Space/cdns/SpaceUpdateCdnMutation.mjs"
773
725
  },
726
+ "./network/graphql/builder/Mutations/Space/components/SpaceAddComponentMutation": {
727
+ "types": "./dist/network/graphql/builder/Mutations/Space/components/SpaceAddComponentMutation.d.ts",
728
+ "import": "./dist/network/graphql/builder/Mutations/Space/components/SpaceAddComponentMutation.mjs"
729
+ },
730
+ "./network/graphql/builder/Mutations/Space/components/SpaceDetachInstanceMutation": {
731
+ "types": "./dist/network/graphql/builder/Mutations/Space/components/SpaceDetachInstanceMutation.d.ts",
732
+ "import": "./dist/network/graphql/builder/Mutations/Space/components/SpaceDetachInstanceMutation.mjs"
733
+ },
734
+ "./network/graphql/builder/Mutations/Space/components/SpaceRemoveComponentMutation": {
735
+ "types": "./dist/network/graphql/builder/Mutations/Space/components/SpaceRemoveComponentMutation.d.ts",
736
+ "import": "./dist/network/graphql/builder/Mutations/Space/components/SpaceRemoveComponentMutation.mjs"
737
+ },
738
+ "./network/graphql/builder/Mutations/Space/components/SpaceUpdateComponentMutation": {
739
+ "types": "./dist/network/graphql/builder/Mutations/Space/components/SpaceUpdateComponentMutation.d.ts",
740
+ "import": "./dist/network/graphql/builder/Mutations/Space/components/SpaceUpdateComponentMutation.mjs"
741
+ },
774
742
  "./network/graphql/builder/Mutations/Space/connectors/SpaceAddConnectorMutation": {
775
743
  "types": "./dist/network/graphql/builder/Mutations/Space/connectors/SpaceAddConnectorMutation.d.ts",
776
744
  "import": "./dist/network/graphql/builder/Mutations/Space/connectors/SpaceAddConnectorMutation.mjs"
@@ -795,6 +763,18 @@
795
763
  "types": "./dist/network/graphql/builder/Mutations/Space/credentials/SpaceUpdateCredentialMutation.d.ts",
796
764
  "import": "./dist/network/graphql/builder/Mutations/Space/credentials/SpaceUpdateCredentialMutation.mjs"
797
765
  },
766
+ "./network/graphql/builder/Mutations/Space/flags/SpacePublishFlagsMutation": {
767
+ "types": "./dist/network/graphql/builder/Mutations/Space/flags/SpacePublishFlagsMutation.d.ts",
768
+ "import": "./dist/network/graphql/builder/Mutations/Space/flags/SpacePublishFlagsMutation.mjs"
769
+ },
770
+ "./network/graphql/builder/Mutations/Space/flags/SpaceRemoveFlagMutation": {
771
+ "types": "./dist/network/graphql/builder/Mutations/Space/flags/SpaceRemoveFlagMutation.d.ts",
772
+ "import": "./dist/network/graphql/builder/Mutations/Space/flags/SpaceRemoveFlagMutation.mjs"
773
+ },
774
+ "./network/graphql/builder/Mutations/Space/flags/SpaceSetFlagMutation": {
775
+ "types": "./dist/network/graphql/builder/Mutations/Space/flags/SpaceSetFlagMutation.d.ts",
776
+ "import": "./dist/network/graphql/builder/Mutations/Space/flags/SpaceSetFlagMutation.mjs"
777
+ },
798
778
  "./network/graphql/builder/Mutations/Space/folders/SpaceAddPageFolderMutation": {
799
779
  "types": "./dist/network/graphql/builder/Mutations/Space/folders/SpaceAddPageFolderMutation.d.ts",
800
780
  "import": "./dist/network/graphql/builder/Mutations/Space/folders/SpaceAddPageFolderMutation.mjs"
@@ -967,14 +947,6 @@
967
947
  "types": "./dist/network/graphql/builder/Queries/InitQuery.d.ts",
968
948
  "import": "./dist/network/graphql/builder/Queries/InitQuery.mjs"
969
949
  },
970
- "./network/graphql/builder/Queries/Segment/SegmentQuery": {
971
- "types": "./dist/network/graphql/builder/Queries/Segment/SegmentQuery.d.ts",
972
- "import": "./dist/network/graphql/builder/Queries/Segment/SegmentQuery.mjs"
973
- },
974
- "./network/graphql/builder/Queries/Segment/SegmentsQuery": {
975
- "types": "./dist/network/graphql/builder/Queries/Segment/SegmentsQuery.d.ts",
976
- "import": "./dist/network/graphql/builder/Queries/Segment/SegmentsQuery.mjs"
977
- },
978
950
  "./network/graphql/builder/Queries/Space/SpaceActionEventsQuery": {
979
951
  "types": "./dist/network/graphql/builder/Queries/Space/SpaceActionEventsQuery.d.ts",
980
952
  "import": "./dist/network/graphql/builder/Queries/Space/SpaceActionEventsQuery.mjs"
@@ -1035,6 +1007,10 @@
1035
1007
  "types": "./dist/network/graphql/builder/Queries/Space/SpaceRuntimeQuery.d.ts",
1036
1008
  "import": "./dist/network/graphql/builder/Queries/Space/SpaceRuntimeQuery.mjs"
1037
1009
  },
1010
+ "./network/graphql/builder/Queries/Space/SpaceVersionContentsQuery": {
1011
+ "types": "./dist/network/graphql/builder/Queries/Space/SpaceVersionContentsQuery.d.ts",
1012
+ "import": "./dist/network/graphql/builder/Queries/Space/SpaceVersionContentsQuery.mjs"
1013
+ },
1038
1014
  "./network/graphql/builder/Queries/Space/SpaceVisitorsQuery": {
1039
1015
  "types": "./dist/network/graphql/builder/Queries/Space/SpaceVisitorsQuery.d.ts",
1040
1016
  "import": "./dist/network/graphql/builder/Queries/Space/SpaceVisitorsQuery.mjs"
@@ -1087,14 +1063,6 @@
1087
1063
  "types": "./dist/network/graphql/sdk/Queries/InitQuery.d.ts",
1088
1064
  "import": "./dist/network/graphql/sdk/Queries/InitQuery.mjs"
1089
1065
  },
1090
- "./network/graphql/sdk/Queries/Segment/SegmentQuery": {
1091
- "types": "./dist/network/graphql/sdk/Queries/Segment/SegmentQuery.d.ts",
1092
- "import": "./dist/network/graphql/sdk/Queries/Segment/SegmentQuery.mjs"
1093
- },
1094
- "./network/graphql/sdk/Queries/Segment/SegmentsQuery": {
1095
- "types": "./dist/network/graphql/sdk/Queries/Segment/SegmentsQuery.d.ts",
1096
- "import": "./dist/network/graphql/sdk/Queries/Segment/SegmentsQuery.mjs"
1097
- },
1098
1066
  "./network/graphql/sdk/Queries/index": {
1099
1067
  "types": "./dist/network/graphql/sdk/Queries/index.d.ts",
1100
1068
  "import": "./dist/network/graphql/sdk/Queries/index.mjs"
@@ -1155,6 +1123,10 @@
1155
1123
  "types": "./dist/schema/SchemaContext.d.ts",
1156
1124
  "import": "./dist/schema/SchemaContext.mjs"
1157
1125
  },
1126
+ "./schema/anchor": {
1127
+ "types": "./dist/schema/anchor.d.ts",
1128
+ "import": "./dist/schema/anchor.mjs"
1129
+ },
1158
1130
  "./schema/index": {
1159
1131
  "types": "./dist/schema/index.d.ts",
1160
1132
  "import": "./dist/schema/index.mjs"
@@ -1171,17 +1143,13 @@
1171
1143
  "types": "./dist/schema/serverElements.d.ts",
1172
1144
  "import": "./dist/schema/serverElements.mjs"
1173
1145
  },
1174
- "./segments": {
1175
- "types": "./dist/segments/index.d.ts",
1176
- "import": "./dist/segments/index.mjs"
1146
+ "./schema/snippet": {
1147
+ "types": "./dist/schema/snippet.d.ts",
1148
+ "import": "./dist/schema/snippet.mjs"
1177
1149
  },
1178
- "./segments/SegmentsContext": {
1179
- "types": "./dist/segments/SegmentsContext.d.ts",
1180
- "import": "./dist/segments/SegmentsContext.mjs"
1181
- },
1182
- "./segments/index": {
1183
- "types": "./dist/segments/index.d.ts",
1184
- "import": "./dist/segments/index.mjs"
1150
+ "./schema/wire": {
1151
+ "types": "./dist/schema/wire.d.ts",
1152
+ "import": "./dist/schema/wire.mjs"
1185
1153
  },
1186
1154
  "./server": {
1187
1155
  "types": "./dist/server/index.d.ts",
@@ -1191,6 +1159,10 @@
1191
1159
  "types": "./dist/server/actions/useActionsSync.d.ts",
1192
1160
  "import": "./dist/server/actions/useActionsSync.mjs"
1193
1161
  },
1162
+ "./server/actions/useImagesSync": {
1163
+ "types": "./dist/server/actions/useImagesSync.d.ts",
1164
+ "import": "./dist/server/actions/useImagesSync.mjs"
1165
+ },
1194
1166
  "./server/actions/useRealtimeSync": {
1195
1167
  "types": "./dist/server/actions/useRealtimeSync.d.ts",
1196
1168
  "import": "./dist/server/actions/useRealtimeSync.mjs"
@@ -1211,6 +1183,22 @@
1211
1183
  "types": "./dist/server/rsc/useRscSync.d.ts",
1212
1184
  "import": "./dist/server/rsc/useRscSync.mjs"
1213
1185
  },
1186
+ "./source": {
1187
+ "types": "./dist/source/index.d.ts",
1188
+ "import": "./dist/source/index.mjs"
1189
+ },
1190
+ "./source/export": {
1191
+ "types": "./dist/source/export.d.ts",
1192
+ "import": "./dist/source/export.mjs"
1193
+ },
1194
+ "./source/index": {
1195
+ "types": "./dist/source/index.d.ts",
1196
+ "import": "./dist/source/index.mjs"
1197
+ },
1198
+ "./source/snapshot": {
1199
+ "types": "./dist/source/snapshot.d.ts",
1200
+ "import": "./dist/source/snapshot.mjs"
1201
+ },
1214
1202
  "./state": {
1215
1203
  "types": "./dist/state/index.d.ts",
1216
1204
  "import": "./dist/state/index.mjs"
@@ -1291,6 +1279,14 @@
1291
1279
  "types": "./dist/style/index.d.ts",
1292
1280
  "import": "./dist/style/index.mjs"
1293
1281
  },
1282
+ "./style/breakpoints": {
1283
+ "types": "./dist/style/breakpoints.d.ts",
1284
+ "import": "./dist/style/breakpoints.mjs"
1285
+ },
1286
+ "./style/displayModes": {
1287
+ "types": "./dist/style/displayModes.d.ts",
1288
+ "import": "./dist/style/displayModes.mjs"
1289
+ },
1294
1290
  "./style/fontAssets": {
1295
1291
  "types": "./dist/style/fontAssets.d.ts",
1296
1292
  "import": "./dist/style/fontAssets.mjs"
@@ -1311,10 +1307,22 @@
1311
1307
  "types": "./dist/style/index.d.ts",
1312
1308
  "import": "./dist/style/index.mjs"
1313
1309
  },
1310
+ "./style/layoutGrid": {
1311
+ "types": "./dist/style/layoutGrid.d.ts",
1312
+ "import": "./dist/style/layoutGrid.mjs"
1313
+ },
1314
+ "./style/notifications": {
1315
+ "types": "./dist/style/notifications.d.ts",
1316
+ "import": "./dist/style/notifications.mjs"
1317
+ },
1314
1318
  "./style/runtimeStyle": {
1315
1319
  "types": "./dist/style/runtimeStyle.d.ts",
1316
1320
  "import": "./dist/style/runtimeStyle.mjs"
1317
1321
  },
1322
+ "./style/snippetStyle": {
1323
+ "types": "./dist/style/snippetStyle.d.ts",
1324
+ "import": "./dist/style/snippetStyle.mjs"
1325
+ },
1318
1326
  "./style/styleConstants": {
1319
1327
  "types": "./dist/style/styleConstants.d.ts",
1320
1328
  "import": "./dist/style/styleConstants.mjs"
@@ -1419,12 +1427,12 @@
1419
1427
  "./types/SdkTypes": {
1420
1428
  "types": "./dist/types/SdkTypes.d.ts"
1421
1429
  },
1422
- "./types/SegmentTypes": {
1423
- "types": "./dist/types/SegmentTypes.d.ts"
1424
- },
1425
1430
  "./types/ServerTypes": {
1426
1431
  "types": "./dist/types/ServerTypes.d.ts"
1427
1432
  },
1433
+ "./types/SnippetTypes": {
1434
+ "types": "./dist/types/SnippetTypes.d.ts"
1435
+ },
1428
1436
  "./types/SpaceTypes": {
1429
1437
  "types": "./dist/types/SpaceTypes.d.ts"
1430
1438
  },
@@ -1438,9 +1446,6 @@
1438
1446
  "types": "./dist/types/StyleTypes.d.ts",
1439
1447
  "import": "./dist/types/StyleTypes.mjs"
1440
1448
  },
1441
- "./types/TemplateTypes": {
1442
- "types": "./dist/types/TemplateTypes.d.ts"
1443
- },
1444
1449
  "./types/ThemeTypes": {
1445
1450
  "types": "./dist/types/ThemeTypes.d.ts"
1446
1451
  },
@@ -1474,8 +1479,8 @@
1474
1479
  },
1475
1480
  "dependencies": {
1476
1481
  "@modelcontextprotocol/sdk": "^1.30.1",
1477
- "@plitzi/nexus": "^1.3.1",
1478
- "@plitzi/plitzi-ui": "^1.6.24",
1482
+ "@plitzi/nexus": "^1.4.0",
1483
+ "@plitzi/plitzi-ui": "^1.6.29",
1479
1484
  "date-fns": "^4.4.0",
1480
1485
  "immer": "^11.1.18",
1481
1486
  "zod": "^4.6.5"
@@ -1,4 +1,3 @@
1
- import defaultTheme from 'tailwindcss/defaultTheme';
2
1
  import plugin from 'tailwindcss/plugin';
3
2
  import { colors } from '@plitzi/plitzi-ui/tailwind';
4
3
 
@@ -7,11 +6,7 @@ const config = {
7
6
  extend: {
8
7
  colors
9
8
  },
10
- groups: ['1', '2', '3', '4', '5'],
11
- fontFamily: {
12
- ...defaultTheme.fontFamily,
13
- rubik: ['Rubik', 'sans-serif']
14
- }
9
+ groups: ['1', '2', '3', '4', '5']
15
10
  },
16
11
  plugins: [
17
12
  plugin(({ addVariant, theme }) => {
package/vite.config.ts CHANGED
@@ -126,10 +126,22 @@ export default defineConfig(({ mode, command }) => {
126
126
  // '@': resolve(__dirname, './src'),
127
127
  },
128
128
  extensions: ['.js', '.ts', '.tsx', '.mjs'],
129
- // `@plitzi/nexus` lives in its own repo and is linked through a portal, so it carries its own
130
- // node_modules/react. Without deduping, its hooks run against a second React copy and every
131
- // useContext reads a null dispatcher.
132
- dedupe: ['react', 'react-dom']
129
+ // `@plitzi/nexus` and `@plitzi/plitzi-ui` may be linked through portals, each carrying its own node_modules. React and
130
+ // CodeMirror check identity (a hook's dispatcher, an extension's `instanceof`), so a second copy breaks them: one each.
131
+ dedupe: [
132
+ 'react',
133
+ 'react-dom',
134
+ '@codemirror/autocomplete',
135
+ '@codemirror/commands',
136
+ '@codemirror/language',
137
+ '@codemirror/lint',
138
+ '@codemirror/search',
139
+ '@codemirror/state',
140
+ '@codemirror/view',
141
+ '@lezer/common',
142
+ '@lezer/highlight',
143
+ '@lezer/lr'
144
+ ]
133
145
  },
134
146
  build: {
135
147
  // outDir: 'dist/src',
@@ -1,4 +0,0 @@
1
- import { SegmentRaw } from '../../../../../types';
2
- export type TSegmentAddMutation = SegmentRaw;
3
- declare const SegmentAddMutation = "\n mutation SegmentAddMutation(\n $name: String!\n $description: String!\n $baseElementId: String\n $elements: Json\n $style: Json\n $variables: [SpaceVariableInput]\n ) {\n SegmentAdd(\n name: $name\n description: $description\n baseElementId: $baseElementId\n elements: $elements\n style: $style\n variables: $variables\n ) {\n id\n identifier\n definition\n schema {\n variables {\n name\n category\n type\n value\n subValues {\n value\n when\n }\n }\n flat {\n id\n definition {\n label\n type\n initialState\n styleSelectors\n bindings\n interactions\n parentId\n rootId\n items\n }\n attributes\n }\n }\n style {\n variables\n platform\n cache\n }\n }\n }\n";
4
- export default SegmentAddMutation;
@@ -1,4 +0,0 @@
1
- //#region src/network/graphql/builder/Mutations/Segment/SegmentAddMutation.ts
2
- var e = "\n mutation SegmentAddMutation(\n $name: String!\n $description: String!\n $baseElementId: String\n $elements: Json\n $style: Json\n $variables: [SpaceVariableInput]\n ) {\n SegmentAdd(\n name: $name\n description: $description\n baseElementId: $baseElementId\n elements: $elements\n style: $style\n variables: $variables\n ) {\n id\n identifier\n definition\n schema {\n variables {\n name\n category\n type\n value\n subValues {\n value\n when\n }\n }\n flat {\n id\n definition {\n label\n type\n initialState\n styleSelectors\n bindings\n interactions\n parentId\n rootId\n items\n }\n attributes\n }\n }\n style {\n variables\n platform\n cache\n }\n }\n }\n";
3
- //#endregion
4
- export { e as default };
@@ -1,2 +0,0 @@
1
- declare const SegmentAddTemplateMutation = "\n mutation SegmentAddTemplateMutation(\n $environment: String!\n $element: Json!\n $style: Json\n $dropPosition: String!\n $to: String!\n $initialItems: [Json]!\n $variables: [SpaceVariableInput]\n $contextId: String!\n ) {\n SegmentAddTemplate(\n environment: $environment\n element: $element\n style: $style\n dropPosition: $dropPosition\n to: $to\n initialItems: $initialItems\n variables: $variables\n contextId: $contextId\n ) {\n id\n identifier\n definition\n schema {\n flat {\n id\n definition {\n label\n type\n initialState\n styleSelectors\n bindings\n interactions\n parentId\n rootId\n items\n }\n attributes\n }\n }\n style {\n variables\n platform\n cache\n }\n }\n }\n";
2
- export default SegmentAddTemplateMutation;
@@ -1,4 +0,0 @@
1
- //#region src/network/graphql/builder/Mutations/Segment/SegmentAddTemplateMutation.ts
2
- var e = "\n mutation SegmentAddTemplateMutation(\n $environment: String!\n $element: Json!\n $style: Json\n $dropPosition: String!\n $to: String!\n $initialItems: [Json]!\n $variables: [SpaceVariableInput]\n $contextId: String!\n ) {\n SegmentAddTemplate(\n environment: $environment\n element: $element\n style: $style\n dropPosition: $dropPosition\n to: $to\n initialItems: $initialItems\n variables: $variables\n contextId: $contextId\n ) {\n id\n identifier\n definition\n schema {\n flat {\n id\n definition {\n label\n type\n initialState\n styleSelectors\n bindings\n interactions\n parentId\n rootId\n items\n }\n attributes\n }\n }\n style {\n variables\n platform\n cache\n }\n }\n }\n";
3
- //#endregion
4
- export { e as default };
@@ -1,8 +0,0 @@
1
- import { Environment } from '../../../../../types';
2
- export type TSegmentPublishMutation = {
3
- environment: Omit<Environment, 'main'>;
4
- revision: string;
5
- description: string;
6
- };
7
- declare const SegmentPublishMutation = "\n mutation SegmentPublishMutation($environment: String!, $description: String!, $contextId: String!) {\n SegmentPublish(environment: $environment, description: $description, contextId: $contextId) {\n environment\n description\n revision\n publishedAt\n }\n }\n";
8
- export default SegmentPublishMutation;
@@ -1,4 +0,0 @@
1
- //#region src/network/graphql/builder/Mutations/Segment/SegmentPublishMutation.ts
2
- var e = "\n mutation SegmentPublishMutation($environment: String!, $description: String!, $contextId: String!) {\n SegmentPublish(environment: $environment, description: $description, contextId: $contextId) {\n environment\n description\n revision\n publishedAt\n }\n }\n";
3
- //#endregion
4
- export { e as default };
@@ -1,2 +0,0 @@
1
- declare const SegmentRemoveMutation = "\n mutation SegmentRemoveMutation($id: String!) {\n SegmentRemove(id: $id) {\n id\n identifier\n }\n }\n";
2
- export default SegmentRemoveMutation;
@@ -1,4 +0,0 @@
1
- //#region src/network/graphql/builder/Mutations/Segment/SegmentRemoveMutation.ts
2
- var e = "\n mutation SegmentRemoveMutation($id: String!) {\n SegmentRemove(id: $id) {\n id\n identifier\n }\n }\n";
3
- //#endregion
4
- export { e as default };
@@ -1,4 +0,0 @@
1
- import { SegmentRaw } from '../../../../../types';
2
- export type TSegmentUpdateMutation = SegmentRaw;
3
- declare const SegmentUpdateMutation = "\n mutation SegmentUpdateMutation($id: String!, $segment: Json!) {\n SegmentUpdate(id: $id, segment: $segment) {\n id\n identifier\n definition\n schema {\n flat {\n id\n definition {\n label\n type\n initialState\n styleSelectors\n bindings\n interactions\n parentId\n rootId\n items\n }\n attributes\n }\n }\n style {\n variables\n platform\n cache\n }\n }\n }\n";
4
- export default SegmentUpdateMutation;
@@ -1,4 +0,0 @@
1
- //#region src/network/graphql/builder/Mutations/Segment/SegmentUpdateMutation.ts
2
- var e = "\n mutation SegmentUpdateMutation($id: String!, $segment: Json!) {\n SegmentUpdate(id: $id, segment: $segment) {\n id\n identifier\n definition\n schema {\n flat {\n id\n definition {\n label\n type\n initialState\n styleSelectors\n bindings\n interactions\n parentId\n rootId\n items\n }\n attributes\n }\n }\n style {\n variables\n platform\n cache\n }\n }\n }\n";
3
- //#endregion
4
- export { e as default };
@@ -1,2 +0,0 @@
1
- declare const SegmentAddElementMutation = "\n mutation SegmentAddElementMutation(\n $environment: String!\n $element: Json!\n $to: String!\n $dropPosition: String!\n $initialItems: [Json]!\n $variables: [SpaceVariableInput]\n $contextId: String!\n ) {\n SegmentAddElement(\n environment: $environment\n element: $element\n to: $to\n dropPosition: $dropPosition\n initialItems: $initialItems\n contextId: $contextId\n variables: $variables\n ) {\n id\n definition {\n label\n type\n initialState\n styleSelectors\n bindings\n interactions\n parentId\n rootId\n items\n }\n attributes\n }\n }\n";
2
- export default SegmentAddElementMutation;
@@ -1,4 +0,0 @@
1
- //#region src/network/graphql/builder/Mutations/Segment/space/elements/SegmentAddElementMutation.ts
2
- var e = "\n mutation SegmentAddElementMutation(\n $environment: String!\n $element: Json!\n $to: String!\n $dropPosition: String!\n $initialItems: [Json]!\n $variables: [SpaceVariableInput]\n $contextId: String!\n ) {\n SegmentAddElement(\n environment: $environment\n element: $element\n to: $to\n dropPosition: $dropPosition\n initialItems: $initialItems\n contextId: $contextId\n variables: $variables\n ) {\n id\n definition {\n label\n type\n initialState\n styleSelectors\n bindings\n interactions\n parentId\n rootId\n items\n }\n attributes\n }\n }\n";
3
- //#endregion
4
- export { e as default };
@@ -1,2 +0,0 @@
1
- declare const SegmentCloneElementMutation = "\n mutation SegmentCloneElementMutation(\n $environment: String!\n $element: Json!\n $to: String!\n $dropPosition: String!\n $initialItems: [Json]!\n $contextId: String!\n ) {\n SegmentCloneElement(\n environment: $environment\n element: $element\n to: $to\n dropPosition: $dropPosition\n initialItems: $initialItems\n contextId: $contextId\n ) {\n id\n definition {\n label\n type\n initialState\n styleSelectors\n bindings\n interactions\n parentId\n rootId\n items\n }\n attributes\n }\n }\n";
2
- export default SegmentCloneElementMutation;
@@ -1,4 +0,0 @@
1
- //#region src/network/graphql/builder/Mutations/Segment/space/elements/SegmentCloneElementMutation.ts
2
- var e = "\n mutation SegmentCloneElementMutation(\n $environment: String!\n $element: Json!\n $to: String!\n $dropPosition: String!\n $initialItems: [Json]!\n $contextId: String!\n ) {\n SegmentCloneElement(\n environment: $environment\n element: $element\n to: $to\n dropPosition: $dropPosition\n initialItems: $initialItems\n contextId: $contextId\n ) {\n id\n definition {\n label\n type\n initialState\n styleSelectors\n bindings\n interactions\n parentId\n rootId\n items\n }\n attributes\n }\n }\n";
3
- //#endregion
4
- export { e as default };
@@ -1,2 +0,0 @@
1
- declare const SegmentMoveElementMutation = "\n mutation SegmentMoveElementMutation(\n $environment: String!\n $elementId: String!\n $from: String!\n $to: String!\n $dropPosition: String!\n $contextId: String!\n ) {\n SegmentMoveElement(\n environment: $environment\n elementId: $elementId\n from: $from\n to: $to\n dropPosition: $dropPosition\n contextId: $contextId\n ) {\n id\n definition {\n label\n type\n initialState\n styleSelectors\n bindings\n interactions\n parentId\n rootId\n items\n }\n attributes\n }\n }\n";
2
- export default SegmentMoveElementMutation;
@@ -1,4 +0,0 @@
1
- //#region src/network/graphql/builder/Mutations/Segment/space/elements/SegmentMoveElementMutation.ts
2
- var e = "\n mutation SegmentMoveElementMutation(\n $environment: String!\n $elementId: String!\n $from: String!\n $to: String!\n $dropPosition: String!\n $contextId: String!\n ) {\n SegmentMoveElement(\n environment: $environment\n elementId: $elementId\n from: $from\n to: $to\n dropPosition: $dropPosition\n contextId: $contextId\n ) {\n id\n definition {\n label\n type\n initialState\n styleSelectors\n bindings\n interactions\n parentId\n rootId\n items\n }\n attributes\n }\n }\n";
3
- //#endregion
4
- export { e as default };
@@ -1,2 +0,0 @@
1
- declare const SegmentRemoveElementMutation = "\n mutation SegmentRemoveElementMutation($environment: String!, $elementId: String!, $contextId: String!) {\n SegmentRemoveElement(environment: $environment, elementId: $elementId, contextId: $contextId) {\n id\n definition {\n label\n type\n initialState\n styleSelectors\n bindings\n interactions\n parentId\n rootId\n items\n }\n attributes\n }\n }\n";
2
- export default SegmentRemoveElementMutation;
@@ -1,4 +0,0 @@
1
- //#region src/network/graphql/builder/Mutations/Segment/space/elements/SegmentRemoveElementMutation.ts
2
- var e = "\n mutation SegmentRemoveElementMutation($environment: String!, $elementId: String!, $contextId: String!) {\n SegmentRemoveElement(environment: $environment, elementId: $elementId, contextId: $contextId) {\n id\n definition {\n label\n type\n initialState\n styleSelectors\n bindings\n interactions\n parentId\n rootId\n items\n }\n attributes\n }\n }\n";
3
- //#endregion
4
- export { e as default };