@valbuild/next 0.127.0 → 0.129.0

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/CHANGELOG.md CHANGED
@@ -1,5 +1,86 @@
1
1
  # @valbuild/next
2
2
 
3
+ ## 0.129.0
4
+
5
+ ### Patch Changes
6
+
7
+ - [#655](https://github.com/valbuild/val/pull/655) [`7d34ecc`](https://github.com/valbuild/val/commit/7d34ecce787a0709025ae7b4764cb6c3ad1f766b) Thanks [@freekh](https://github.com/freekh)! - A project can now make Val Studio look like its own.
8
+
9
+ `s.settings()` has a new `theme` section, edited under **Settings → Appearance**
10
+ in the Studio. It is content like everything else: edited as a draft, shown in
11
+ the publish diff, and the same for everyone working on the project.
12
+
13
+ ```ts
14
+ export default c.define("/settings.val.ts", s.settings(), {
15
+ theme: {
16
+ accent: "#2563eb",
17
+ radius: "tight",
18
+ mode: "light",
19
+ },
20
+ });
21
+ ```
22
+
23
+ **`accent` is one hex, and it restyles the whole chrome** — Publish, the active
24
+ rail item, focus rings, switches, the caret in a rich text field, and the
25
+ outlines the canvas draws around editable elements on your own page. Any colour
26
+ is allowed, not a list of approved ones, because what the accent replaces is a
27
+ ten-step ramp that is _generated_ from it: each step keeps the lightness of the
28
+ step it replaces and changes only the hue. WCAG contrast is almost entirely a
29
+ function of lightness, so every foreground/background pair the chrome renders
30
+ stays at AA — which is asserted across the hue circle, pure black and a
31
+ saturated yellow included, rather than argued for. One value drives both light
32
+ and dark mode, since the semantic tokens pick different steps of the ramp in
33
+ each.
34
+
35
+ **`radius`** is `square`, `tight`, `default` or `soft`, and moves every corner
36
+ in the Studio.
37
+
38
+ The accent also moves the outlines the canvas draws around editable elements on
39
+ your own page. Those are drawn inside your document, which has none of Val's
40
+ stylesheet, so the colour is sent to the page over the canvas protocol — which
41
+ means a project on an older `@valbuild/next` or `@valbuild/tanstack` than its
42
+ Studio keeps Val's green there until it upgrades, rather than breaking.
43
+
44
+ **`mode`** is the mode the Studio opens in for an editor who has never picked
45
+ one. It never overrides an editor who has — that choice stays theirs, per
46
+ person and per browser, behind the account button.
47
+
48
+ Every field is optional, and unset means Val's own look, so an existing
49
+ settings module needs no change.
50
+
51
+ Two smaller fixes that came with it:
52
+
53
+ - **A settings change is its own entry in the publish diff.** Editing the
54
+ assistant's tone used to collapse the entire settings module into one change
55
+ card labelled "Settings", because the patch that writes a settings field is
56
+ an `add`, and `PatchSets` had no case for a settings section — so it gave up
57
+ and grouped the whole module. Two unrelated settings edits now show as two
58
+ changes, each under the name the panel gives it.
59
+ - **The Val mark keeps its green.** It named a step of the brand ramp, so it
60
+ would have recoloured along with a project's accent. It has its own token now.
61
+
62
+ - Updated dependencies [[`e20f6fb`](https://github.com/valbuild/val/commit/e20f6fbcc215c310eef49a44c1a592c1e2081613), [`7d34ecc`](https://github.com/valbuild/val/commit/7d34ecce787a0709025ae7b4764cb6c3ad1f766b), [`0c351c4`](https://github.com/valbuild/val/commit/0c351c4f97ae7f09772eab0e856ae69821b803b7), [`41a0d76`](https://github.com/valbuild/val/commit/41a0d76636a2dce3f1e506d93170d97e46041d98), [`9e0ebb0`](https://github.com/valbuild/val/commit/9e0ebb00430f05ef92dff031309f73b8075a7d99)]:
63
+ - @valbuild/ui@0.129.0
64
+ - @valbuild/core@0.129.0
65
+ - @valbuild/shared@0.129.0
66
+ - @valbuild/react@0.129.0
67
+ - @valbuild/server@0.129.0
68
+ - @valbuild/language-server@0.129.0
69
+ - @valbuild/mcp@0.129.0
70
+
71
+ ## 0.128.0
72
+
73
+ ### Patch Changes
74
+
75
+ - Updated dependencies [[`8b52b33`](https://github.com/valbuild/val/commit/8b52b33e1f629f14f66cc71dcc7cf415d210c7d4), [`362fb49`](https://github.com/valbuild/val/commit/362fb49f30d2b04c4ff78d54dca2bf5ad978a05c), [`c595799`](https://github.com/valbuild/val/commit/c59579977a436ec530c6c69f2b340ab9829d97ab)]:
76
+ - @valbuild/core@0.128.0
77
+ - @valbuild/language-server@0.128.0
78
+ - @valbuild/mcp@0.128.0
79
+ - @valbuild/react@0.128.0
80
+ - @valbuild/server@0.128.0
81
+ - @valbuild/shared@0.128.0
82
+ - @valbuild/ui@0.127.0
83
+
3
84
  ## 0.127.0
4
85
 
5
86
  ### Patch Changes
@@ -2,12 +2,14 @@
2
2
  import { _ as _slicedToArray } from './slicedToArray-aa291011.esm.js';
3
3
  import React from 'react';
4
4
  import { Internal } from '@valbuild/core';
5
- import { VAL_CANVAS_MESSAGE, isValCanvasStudioMessage } from '@valbuild/shared/client';
5
+ import { VAL_CANVAS_MESSAGE, DEFAULT_CANVAS_SELECTION, DEFAULT_CANVAS_SELECTION_SOFT, isValCanvasStudioMessage } from '@valbuild/shared/client';
6
6
  import { jsx } from 'react/jsx-runtime';
7
7
  import './unsupportedIterableToArray-5baabfdc.esm.js';
8
8
 
9
- var SELECTION = "#079455";
10
- var SELECTION_SOFT = "rgba(7, 148, 85, 0.4)";
9
+ var DEFAULT_SELECTION = {
10
+ selection: DEFAULT_CANVAS_SELECTION,
11
+ selectionSoft: DEFAULT_CANVAS_SELECTION_SOFT
12
+ };
11
13
 
12
14
  /**
13
15
  * How often the page is re-measured even when nothing said it changed.
@@ -36,10 +38,23 @@ function ValCanvasBridge(_ref) {
36
38
  _React$useState2 = _slicedToArray(_React$useState, 2),
37
39
  picking = _React$useState2[0],
38
40
  setPicking = _React$useState2[1];
39
- var _React$useState3 = React.useState(null),
41
+ /**
42
+ * The outline colours, as the studio last said.
43
+ *
44
+ * State rather than a prop, because it arrives over the protocol after mount:
45
+ * the studio sends it when the frame reports ready and again whenever the
46
+ * project's accent changes. Starts at Val's green so a page that is never
47
+ * told — an older studio, or a message that never arrives — still outlines
48
+ * its content.
49
+ */
50
+ var _React$useState3 = React.useState(DEFAULT_SELECTION),
40
51
  _React$useState4 = _slicedToArray(_React$useState3, 2),
41
- highlighted = _React$useState4[0],
42
- setHighlighted = _React$useState4[1];
52
+ selectionColors = _React$useState4[0],
53
+ setSelectionColors = _React$useState4[1];
54
+ var _React$useState5 = React.useState(null),
55
+ _React$useState6 = _slicedToArray(_React$useState5, 2),
56
+ highlighted = _React$useState6[0],
57
+ setHighlighted = _React$useState6[1];
43
58
  // Kept in a ref as well, because the capture-phase click listener below is
44
59
  // installed once and would otherwise close over the first value forever.
45
60
  var pickingRef = React.useRef(false);
@@ -248,6 +263,13 @@ function ValCanvasBridge(_ref) {
248
263
  setPicking(message.picking);
249
264
  return;
250
265
  }
266
+ if (message.type === "theme") {
267
+ setSelectionColors({
268
+ selection: message.selection,
269
+ selectionSoft: message.selectionSoft
270
+ });
271
+ return;
272
+ }
251
273
  if (message.type === "sourceUpdate") {
252
274
  /**
253
275
  * Handed straight to the listener the page already has.
@@ -463,7 +485,7 @@ function ValCanvasBridge(_ref) {
463
485
  // CSS string. A path contains quotes (`?p="/"`) and would otherwise
464
486
  // close the selector early.
465
487
  dangerouslySetInnerHTML: {
466
- __html: [picking ? "[data-val-path] { outline: 1px solid ".concat(SELECTION_SOFT, "; outline-offset: 1px; cursor: pointer; }\n[data-val-path]:hover { outline: 2px solid ").concat(SELECTION, "; }") : "", highlighted ? highlightRule(highlighted) : ""].filter(Boolean).join("\n")
488
+ __html: [picking ? "[data-val-path] { outline: 1px solid ".concat(selectionColors.selectionSoft, "; outline-offset: 1px; cursor: pointer; }\n[data-val-path]:hover { outline: 2px solid ").concat(selectionColors.selection, "; }") : "", highlighted ? highlightRule(highlighted, selectionColors.selection) : ""].filter(Boolean).join("\n")
467
489
  }
468
490
  });
469
491
  }
@@ -481,13 +503,13 @@ function ValCanvasBridge(_ref) {
481
503
  * and one in the middle. Between them they match the path as a complete list
482
504
  * item and nothing else.
483
505
  */
484
- function highlightRule(path) {
506
+ function highlightRule(path, selection) {
485
507
  var value = JSON.stringify(path);
486
508
  var inner = JSON.stringify(",".concat(path, ","));
487
509
  var first = JSON.stringify("".concat(path, ","));
488
510
  var last = JSON.stringify(",".concat(path));
489
511
  var selectors = ["[data-val-path=".concat(value, "]"), "[data-val-path^=".concat(first, "]"), "[data-val-path$=".concat(last, "]"), "[data-val-path*=".concat(inner, "]")].join(",\n");
490
- return "".concat(selectors, " { outline: 2px solid ").concat(SELECTION, "; outline-offset: 1px; }");
512
+ return "".concat(selectors, " { outline: 2px solid ").concat(selection, "; outline-offset: 1px; }");
491
513
  }
492
514
 
493
515
  /**
@@ -14,8 +14,10 @@ function _interopDefault (e) { return e && e.__esModule ? e : { 'default': e };
14
14
 
15
15
  var React__default = /*#__PURE__*/_interopDefault(React);
16
16
 
17
- var SELECTION = "#079455";
18
- var SELECTION_SOFT = "rgba(7, 148, 85, 0.4)";
17
+ var DEFAULT_SELECTION = {
18
+ selection: client.DEFAULT_CANVAS_SELECTION,
19
+ selectionSoft: client.DEFAULT_CANVAS_SELECTION_SOFT
20
+ };
19
21
 
20
22
  /**
21
23
  * How often the page is re-measured even when nothing said it changed.
@@ -44,10 +46,23 @@ function ValCanvasBridge(_ref) {
44
46
  _React$useState2 = slicedToArray._slicedToArray(_React$useState, 2),
45
47
  picking = _React$useState2[0],
46
48
  setPicking = _React$useState2[1];
47
- var _React$useState3 = React__default["default"].useState(null),
49
+ /**
50
+ * The outline colours, as the studio last said.
51
+ *
52
+ * State rather than a prop, because it arrives over the protocol after mount:
53
+ * the studio sends it when the frame reports ready and again whenever the
54
+ * project's accent changes. Starts at Val's green so a page that is never
55
+ * told — an older studio, or a message that never arrives — still outlines
56
+ * its content.
57
+ */
58
+ var _React$useState3 = React__default["default"].useState(DEFAULT_SELECTION),
48
59
  _React$useState4 = slicedToArray._slicedToArray(_React$useState3, 2),
49
- highlighted = _React$useState4[0],
50
- setHighlighted = _React$useState4[1];
60
+ selectionColors = _React$useState4[0],
61
+ setSelectionColors = _React$useState4[1];
62
+ var _React$useState5 = React__default["default"].useState(null),
63
+ _React$useState6 = slicedToArray._slicedToArray(_React$useState5, 2),
64
+ highlighted = _React$useState6[0],
65
+ setHighlighted = _React$useState6[1];
51
66
  // Kept in a ref as well, because the capture-phase click listener below is
52
67
  // installed once and would otherwise close over the first value forever.
53
68
  var pickingRef = React__default["default"].useRef(false);
@@ -256,6 +271,13 @@ function ValCanvasBridge(_ref) {
256
271
  setPicking(message.picking);
257
272
  return;
258
273
  }
274
+ if (message.type === "theme") {
275
+ setSelectionColors({
276
+ selection: message.selection,
277
+ selectionSoft: message.selectionSoft
278
+ });
279
+ return;
280
+ }
259
281
  if (message.type === "sourceUpdate") {
260
282
  /**
261
283
  * Handed straight to the listener the page already has.
@@ -471,7 +493,7 @@ function ValCanvasBridge(_ref) {
471
493
  // CSS string. A path contains quotes (`?p="/"`) and would otherwise
472
494
  // close the selector early.
473
495
  dangerouslySetInnerHTML: {
474
- __html: [picking ? "[data-val-path] { outline: 1px solid ".concat(SELECTION_SOFT, "; outline-offset: 1px; cursor: pointer; }\n[data-val-path]:hover { outline: 2px solid ").concat(SELECTION, "; }") : "", highlighted ? highlightRule(highlighted) : ""].filter(Boolean).join("\n")
496
+ __html: [picking ? "[data-val-path] { outline: 1px solid ".concat(selectionColors.selectionSoft, "; outline-offset: 1px; cursor: pointer; }\n[data-val-path]:hover { outline: 2px solid ").concat(selectionColors.selection, "; }") : "", highlighted ? highlightRule(highlighted, selectionColors.selection) : ""].filter(Boolean).join("\n")
475
497
  }
476
498
  });
477
499
  }
@@ -489,13 +511,13 @@ function ValCanvasBridge(_ref) {
489
511
  * and one in the middle. Between them they match the path as a complete list
490
512
  * item and nothing else.
491
513
  */
492
- function highlightRule(path) {
514
+ function highlightRule(path, selection) {
493
515
  var value = JSON.stringify(path);
494
516
  var inner = JSON.stringify(",".concat(path, ","));
495
517
  var first = JSON.stringify("".concat(path, ","));
496
518
  var last = JSON.stringify(",".concat(path));
497
519
  var selectors = ["[data-val-path=".concat(value, "]"), "[data-val-path^=".concat(first, "]"), "[data-val-path$=".concat(last, "]"), "[data-val-path*=".concat(inner, "]")].join(",\n");
498
- return "".concat(selectors, " { outline: 2px solid ").concat(SELECTION, "; outline-offset: 1px; }");
520
+ return "".concat(selectors, " { outline: 2px solid ").concat(selection, "; outline-offset: 1px; }");
499
521
  }
500
522
 
501
523
  /**
@@ -0,0 +1,7 @@
1
+ 'use strict';
2
+
3
+ if (process.env.NODE_ENV === "production") {
4
+ module.exports = require("./ValCanvasBridge-5e9c64d6.cjs.prod.js");
5
+ } else {
6
+ module.exports = require("./ValCanvasBridge-5e9c64d6.cjs.dev.js");
7
+ }
@@ -14,8 +14,10 @@ function _interopDefault (e) { return e && e.__esModule ? e : { 'default': e };
14
14
 
15
15
  var React__default = /*#__PURE__*/_interopDefault(React);
16
16
 
17
- var SELECTION = "#079455";
18
- var SELECTION_SOFT = "rgba(7, 148, 85, 0.4)";
17
+ var DEFAULT_SELECTION = {
18
+ selection: client.DEFAULT_CANVAS_SELECTION,
19
+ selectionSoft: client.DEFAULT_CANVAS_SELECTION_SOFT
20
+ };
19
21
 
20
22
  /**
21
23
  * How often the page is re-measured even when nothing said it changed.
@@ -44,10 +46,23 @@ function ValCanvasBridge(_ref) {
44
46
  _React$useState2 = slicedToArray._slicedToArray(_React$useState, 2),
45
47
  picking = _React$useState2[0],
46
48
  setPicking = _React$useState2[1];
47
- var _React$useState3 = React__default["default"].useState(null),
49
+ /**
50
+ * The outline colours, as the studio last said.
51
+ *
52
+ * State rather than a prop, because it arrives over the protocol after mount:
53
+ * the studio sends it when the frame reports ready and again whenever the
54
+ * project's accent changes. Starts at Val's green so a page that is never
55
+ * told — an older studio, or a message that never arrives — still outlines
56
+ * its content.
57
+ */
58
+ var _React$useState3 = React__default["default"].useState(DEFAULT_SELECTION),
48
59
  _React$useState4 = slicedToArray._slicedToArray(_React$useState3, 2),
49
- highlighted = _React$useState4[0],
50
- setHighlighted = _React$useState4[1];
60
+ selectionColors = _React$useState4[0],
61
+ setSelectionColors = _React$useState4[1];
62
+ var _React$useState5 = React__default["default"].useState(null),
63
+ _React$useState6 = slicedToArray._slicedToArray(_React$useState5, 2),
64
+ highlighted = _React$useState6[0],
65
+ setHighlighted = _React$useState6[1];
51
66
  // Kept in a ref as well, because the capture-phase click listener below is
52
67
  // installed once and would otherwise close over the first value forever.
53
68
  var pickingRef = React__default["default"].useRef(false);
@@ -256,6 +271,13 @@ function ValCanvasBridge(_ref) {
256
271
  setPicking(message.picking);
257
272
  return;
258
273
  }
274
+ if (message.type === "theme") {
275
+ setSelectionColors({
276
+ selection: message.selection,
277
+ selectionSoft: message.selectionSoft
278
+ });
279
+ return;
280
+ }
259
281
  if (message.type === "sourceUpdate") {
260
282
  /**
261
283
  * Handed straight to the listener the page already has.
@@ -471,7 +493,7 @@ function ValCanvasBridge(_ref) {
471
493
  // CSS string. A path contains quotes (`?p="/"`) and would otherwise
472
494
  // close the selector early.
473
495
  dangerouslySetInnerHTML: {
474
- __html: [picking ? "[data-val-path] { outline: 1px solid ".concat(SELECTION_SOFT, "; outline-offset: 1px; cursor: pointer; }\n[data-val-path]:hover { outline: 2px solid ").concat(SELECTION, "; }") : "", highlighted ? highlightRule(highlighted) : ""].filter(Boolean).join("\n")
496
+ __html: [picking ? "[data-val-path] { outline: 1px solid ".concat(selectionColors.selectionSoft, "; outline-offset: 1px; cursor: pointer; }\n[data-val-path]:hover { outline: 2px solid ").concat(selectionColors.selection, "; }") : "", highlighted ? highlightRule(highlighted, selectionColors.selection) : ""].filter(Boolean).join("\n")
475
497
  }
476
498
  });
477
499
  }
@@ -489,13 +511,13 @@ function ValCanvasBridge(_ref) {
489
511
  * and one in the middle. Between them they match the path as a complete list
490
512
  * item and nothing else.
491
513
  */
492
- function highlightRule(path) {
514
+ function highlightRule(path, selection) {
493
515
  var value = JSON.stringify(path);
494
516
  var inner = JSON.stringify(",".concat(path, ","));
495
517
  var first = JSON.stringify("".concat(path, ","));
496
518
  var last = JSON.stringify(",".concat(path));
497
519
  var selectors = ["[data-val-path=".concat(value, "]"), "[data-val-path^=".concat(first, "]"), "[data-val-path$=".concat(last, "]"), "[data-val-path*=".concat(inner, "]")].join(",\n");
498
- return "".concat(selectors, " { outline: 2px solid ").concat(SELECTION, "; outline-offset: 1px; }");
520
+ return "".concat(selectors, " { outline: 2px solid ").concat(selection, "; outline-offset: 1px; }");
499
521
  }
500
522
 
501
523
  /**
@@ -16,7 +16,7 @@ var stega = require('@valbuild/react/stega');
16
16
  var fallbackColors = require('./fallbackColors-080c1bbc.cjs.dev.js');
17
17
  var client = require('@valbuild/shared/client');
18
18
  var createForOfIteratorHelper = require('./createForOfIteratorHelper-0445603c.cjs.dev.js');
19
- var ValCanvasBridge = require('./ValCanvasBridge-b918d991.cjs.dev.js');
19
+ var ValCanvasBridge = require('./ValCanvasBridge-32019a44.cjs.dev.js');
20
20
  var jsxRuntime = require('react/jsx-runtime');
21
21
  require('./unsupportedIterableToArray-c8ab77c9.cjs.dev.js');
22
22
  require('./defineProperty-f90345d7.cjs.dev.js');
@@ -12,7 +12,7 @@ import { SET_AUTO_TAG_JSX_ENABLED } from '@valbuild/react/stega';
12
12
  import { p as prefixStyles, u as useConfigStorageSave, f as floatDarkBg, d as floatLightBg, v as valPrefixedClass, c as cn } from './fallbackColors-149dfbc9.esm.js';
13
13
  import { VAL_THEME_SESSION_STORAGE_KEY, isValCanvasFrame } from '@valbuild/shared/client';
14
14
  import { _ as _createForOfIteratorHelper } from './createForOfIteratorHelper-5758a730.esm.js';
15
- import { ValCanvasBridge } from './ValCanvasBridge-e5931ea4.esm.js';
15
+ import { ValCanvasBridge } from './ValCanvasBridge-04ac50e6.esm.js';
16
16
  import { jsxs, jsx } from 'react/jsx-runtime';
17
17
  import './unsupportedIterableToArray-5baabfdc.esm.js';
18
18
  import './defineProperty-cca5affa.esm.js';
@@ -16,7 +16,7 @@ var stega = require('@valbuild/react/stega');
16
16
  var fallbackColors = require('./fallbackColors-e1d73b36.cjs.prod.js');
17
17
  var client = require('@valbuild/shared/client');
18
18
  var createForOfIteratorHelper = require('./createForOfIteratorHelper-d4afcad8.cjs.prod.js');
19
- var ValCanvasBridge = require('./ValCanvasBridge-5fc49440.cjs.prod.js');
19
+ var ValCanvasBridge = require('./ValCanvasBridge-5e9c64d6.cjs.prod.js');
20
20
  var jsxRuntime = require('react/jsx-runtime');
21
21
  require('./unsupportedIterableToArray-0d2087a2.cjs.prod.js');
22
22
  require('./defineProperty-8951f469.cjs.prod.js');
@@ -12,7 +12,7 @@ var NextImage = require('next/image');
12
12
  var jsxRuntime = require('react/jsx-runtime');
13
13
  var ValApp = require('./ValApp-294e5b53.cjs.dev.js');
14
14
  var ValModulesClient = require('./ValModulesClient-4ecabf99.cjs.dev.js');
15
- var version = require('./version-15707a75.cjs.dev.js');
15
+ var version = require('./version-f5c07295.cjs.dev.js');
16
16
  var createForOfIteratorHelper = require('./createForOfIteratorHelper-0445603c.cjs.dev.js');
17
17
  require('./defineProperty-f90345d7.cjs.dev.js');
18
18
  require('./unsupportedIterableToArray-c8ab77c9.cjs.dev.js');
@@ -12,7 +12,7 @@ var NextImage = require('next/image');
12
12
  var jsxRuntime = require('react/jsx-runtime');
13
13
  var ValApp = require('./ValApp-ab8a96fd.cjs.prod.js');
14
14
  var ValModulesClient = require('./ValModulesClient-10c0721c.cjs.prod.js');
15
- var version = require('./version-9b3eb9b7.cjs.prod.js');
15
+ var version = require('./version-f281f39e.cjs.prod.js');
16
16
  var createForOfIteratorHelper = require('./createForOfIteratorHelper-d4afcad8.cjs.prod.js');
17
17
  require('./defineProperty-8951f469.cjs.prod.js');
18
18
  require('./unsupportedIterableToArray-0d2087a2.cjs.prod.js');
@@ -11,7 +11,7 @@ import NextImage from 'next/image';
11
11
  import { jsx } from 'react/jsx-runtime';
12
12
  export { ValApp } from './ValApp-3a70afe1.esm.js';
13
13
  export { ValModulesClient, useRegisterValModules } from './ValModulesClient-0dd601a1.esm.js';
14
- import { V as VERSION } from './version-dc02550b.esm.js';
14
+ import { V as VERSION } from './version-8490053f.esm.js';
15
15
  import { _ as _createForOfIteratorHelper } from './createForOfIteratorHelper-5758a730.esm.js';
16
16
  import './defineProperty-cca5affa.esm.js';
17
17
  import './unsupportedIterableToArray-5baabfdc.esm.js';
@@ -12,7 +12,7 @@ var packageJson = {
12
12
  "next",
13
13
  "react"
14
14
  ],
15
- version: "0.127.0",
15
+ version: "0.129.0",
16
16
  scripts: {
17
17
  typecheck: "tsc --noEmit",
18
18
  test: "jest"
@@ -14,7 +14,7 @@ var packageJson = {
14
14
  "next",
15
15
  "react"
16
16
  ],
17
- version: "0.127.0",
17
+ version: "0.129.0",
18
18
  scripts: {
19
19
  typecheck: "tsc --noEmit",
20
20
  test: "jest"
@@ -14,7 +14,7 @@ var packageJson = {
14
14
  "next",
15
15
  "react"
16
16
  ],
17
- version: "0.127.0",
17
+ version: "0.129.0",
18
18
  scripts: {
19
19
  typecheck: "tsc --noEmit",
20
20
  test: "jest"
package/package.json CHANGED
@@ -12,7 +12,7 @@
12
12
  "next",
13
13
  "react"
14
14
  ],
15
- "version": "0.127.0",
15
+ "version": "0.129.0",
16
16
  "main": "dist/valbuild-next.cjs.js",
17
17
  "module": "dist/valbuild-next.esm.js",
18
18
  "exports": {
@@ -47,13 +47,13 @@
47
47
  "dependencies": {
48
48
  "client-only": "^0.0.1",
49
49
  "server-only": "^0.0.1",
50
- "@valbuild/core": "0.127.0",
51
- "@valbuild/mcp": "0.127.0",
52
- "@valbuild/react": "0.127.0",
53
- "@valbuild/language-server": "0.127.0",
54
- "@valbuild/server": "0.127.0",
55
- "@valbuild/ui": "0.127.0",
56
- "@valbuild/shared": "0.127.0"
50
+ "@valbuild/core": "0.129.0",
51
+ "@valbuild/language-server": "0.129.0",
52
+ "@valbuild/shared": "0.129.0",
53
+ "@valbuild/server": "0.129.0",
54
+ "@valbuild/mcp": "0.129.0",
55
+ "@valbuild/ui": "0.129.0",
56
+ "@valbuild/react": "0.129.0"
57
57
  },
58
58
  "devDependencies": {
59
59
  "@testing-library/react": "^16.3.3",
@@ -11,7 +11,7 @@ var stega = require('@valbuild/react/stega');
11
11
  var core = require('@valbuild/core');
12
12
  var internal = require('@valbuild/shared/internal');
13
13
  var server = require('@valbuild/server');
14
- var version = require('../../dist/version-15707a75.cjs.dev.js');
14
+ var version = require('../../dist/version-f5c07295.cjs.dev.js');
15
15
  require('../../dist/createForOfIteratorHelper-0445603c.cjs.dev.js');
16
16
  require('../../dist/unsupportedIterableToArray-c8ab77c9.cjs.dev.js');
17
17
  require('../../dist/slicedToArray-44036a76.cjs.dev.js');
@@ -11,7 +11,7 @@ var stega = require('@valbuild/react/stega');
11
11
  var core = require('@valbuild/core');
12
12
  var internal = require('@valbuild/shared/internal');
13
13
  var server = require('@valbuild/server');
14
- var version = require('../../dist/version-9b3eb9b7.cjs.prod.js');
14
+ var version = require('../../dist/version-f281f39e.cjs.prod.js');
15
15
  require('../../dist/createForOfIteratorHelper-d4afcad8.cjs.prod.js');
16
16
  require('../../dist/unsupportedIterableToArray-0d2087a2.cjs.prod.js');
17
17
  require('../../dist/slicedToArray-ce613de6.cjs.prod.js');
@@ -7,7 +7,7 @@ import { SET_RSC, stegaEncode, SET_AUTO_TAG_JSX_ENABLED } from '@valbuild/react/
7
7
  import { Internal } from '@valbuild/core';
8
8
  import { VAL_SESSION_COOKIE } from '@valbuild/shared/internal';
9
9
  import { createValServer } from '@valbuild/server';
10
- import { V as VERSION } from '../../dist/version-dc02550b.esm.js';
10
+ import { V as VERSION } from '../../dist/version-8490053f.esm.js';
11
11
  import '../../dist/createForOfIteratorHelper-5758a730.esm.js';
12
12
  import '../../dist/unsupportedIterableToArray-5baabfdc.esm.js';
13
13
  import '../../dist/slicedToArray-aa291011.esm.js';
@@ -9,7 +9,7 @@ var objectSpread2 = require('../../dist/objectSpread2-58024783.cjs.dev.js');
9
9
  var core = require('@valbuild/core');
10
10
  var server = require('@valbuild/server');
11
11
  var server$1 = require('next/server');
12
- var version = require('../../dist/version-15707a75.cjs.dev.js');
12
+ var version = require('../../dist/version-f5c07295.cjs.dev.js');
13
13
  var mcp = require('@valbuild/mcp');
14
14
  require('../../dist/unsupportedIterableToArray-c8ab77c9.cjs.dev.js');
15
15
  require('../../dist/defineProperty-f90345d7.cjs.dev.js');
@@ -9,7 +9,7 @@ var objectSpread2 = require('../../dist/objectSpread2-13f847a9.cjs.prod.js');
9
9
  var core = require('@valbuild/core');
10
10
  var server = require('@valbuild/server');
11
11
  var server$1 = require('next/server');
12
- var version = require('../../dist/version-9b3eb9b7.cjs.prod.js');
12
+ var version = require('../../dist/version-f281f39e.cjs.prod.js');
13
13
  var mcp = require('@valbuild/mcp');
14
14
  require('../../dist/unsupportedIterableToArray-0d2087a2.cjs.prod.js');
15
15
  require('../../dist/defineProperty-8951f469.cjs.prod.js');
@@ -5,7 +5,7 @@ import { _ as _objectSpread2 } from '../../dist/objectSpread2-60d1bd93.esm.js';
5
5
  import { Internal } from '@valbuild/core';
6
6
  import { createValApiRouter, createValServer } from '@valbuild/server';
7
7
  import { NextResponse } from 'next/server';
8
- import { V as VERSION } from '../../dist/version-dc02550b.esm.js';
8
+ import { V as VERSION } from '../../dist/version-8490053f.esm.js';
9
9
  import { initValMcp as initValMcp$1 } from '@valbuild/mcp';
10
10
  import '../../dist/unsupportedIterableToArray-5baabfdc.esm.js';
11
11
  import '../../dist/defineProperty-cca5affa.esm.js';
@@ -1,7 +0,0 @@
1
- 'use strict';
2
-
3
- if (process.env.NODE_ENV === "production") {
4
- module.exports = require("./ValCanvasBridge-5fc49440.cjs.prod.js");
5
- } else {
6
- module.exports = require("./ValCanvasBridge-5fc49440.cjs.dev.js");
7
- }