@proto-labs-inc/wire 0.2.3 → 0.2.4

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.
package/dist/index.d.ts CHANGED
@@ -160,6 +160,9 @@ export type FrameToRig = {
160
160
  } | {
161
161
  type: "set-element-picker";
162
162
  on: boolean;
163
+ } | {
164
+ type: "navigate-element";
165
+ direction: "parent" | "previous-child";
163
166
  } | {
164
167
  type: "preview-element-styles";
165
168
  selectionId: string;
package/dist/index.js CHANGED
@@ -82,6 +82,8 @@ export function isFrameToRig(d) {
82
82
  (t === "focus-target" && (message.selector === null || typeof message.selector === "string") &&
83
83
  (message.visibility === undefined || message.visibility === "always" || message.visibility === "if-outside-viewport")) ||
84
84
  (t === "measure-target" && typeof message.selector === "string") ||
85
+ (t === "navigate-element" &&
86
+ (message.direction === "parent" || message.direction === "previous-child")) ||
85
87
  t === "set-comment-mode" ||
86
88
  t === "set-variant-set-picker" ||
87
89
  t === "set-element-picker");
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@proto-labs-inc/wire",
3
- "version": "0.2.3",
3
+ "version": "0.2.4",
4
4
  "description": "The typed contract between Proto's Frame and the rig inside a prototype: bridge messages and the prototype.json schema.",
5
5
  "license": "MIT",
6
6
  "repository": {