@valbuild/tanstack 0.128.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 +68 -0
- package/dist/valbuild-tanstack.cjs.dev.js +31 -9
- package/dist/valbuild-tanstack.cjs.prod.js +31 -9
- package/dist/valbuild-tanstack.esm.js +32 -10
- package/dist/{version-2d63db20.cjs.dev.js → version-8aeb5ebd.cjs.dev.js} +1 -1
- package/dist/{version-09f11ef9.esm.js → version-a2bd1bca.esm.js} +1 -1
- package/dist/{version-b642af81.cjs.prod.js → version-ecfd83cc.cjs.prod.js} +1 -1
- package/package.json +8 -8
- package/server/dist/valbuild-tanstack-server.cjs.dev.js +1 -1
- package/server/dist/valbuild-tanstack-server.cjs.prod.js +1 -1
- package/server/dist/valbuild-tanstack-server.esm.js +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,73 @@
|
|
|
1
1
|
# @valbuild/tanstack
|
|
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
|
+
|
|
3
71
|
## 0.128.0
|
|
4
72
|
|
|
5
73
|
### Patch Changes
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
var version = require('./version-
|
|
5
|
+
var version = require('./version-8aeb5ebd.cjs.dev.js');
|
|
6
6
|
var createForOfIteratorHelper = require('./createForOfIteratorHelper-e75681d7.cjs.dev.js');
|
|
7
7
|
var core = require('@valbuild/core');
|
|
8
8
|
var stega = require('@valbuild/react/stega');
|
|
@@ -243,8 +243,10 @@ var floatDarkBg = "#131316";
|
|
|
243
243
|
/** `--bg-float`, light. */
|
|
244
244
|
var floatLightBg = "#fcfcfc";
|
|
245
245
|
|
|
246
|
-
var
|
|
247
|
-
|
|
246
|
+
var DEFAULT_SELECTION = {
|
|
247
|
+
selection: client.DEFAULT_CANVAS_SELECTION,
|
|
248
|
+
selectionSoft: client.DEFAULT_CANVAS_SELECTION_SOFT
|
|
249
|
+
};
|
|
248
250
|
|
|
249
251
|
/**
|
|
250
252
|
* How often the page is re-measured even when nothing said it changed.
|
|
@@ -273,10 +275,23 @@ function ValCanvasBridge(_ref) {
|
|
|
273
275
|
_React$useState2 = createForOfIteratorHelper._slicedToArray(_React$useState, 2),
|
|
274
276
|
picking = _React$useState2[0],
|
|
275
277
|
setPicking = _React$useState2[1];
|
|
276
|
-
|
|
278
|
+
/**
|
|
279
|
+
* The outline colours, as the studio last said.
|
|
280
|
+
*
|
|
281
|
+
* State rather than a prop, because it arrives over the protocol after mount:
|
|
282
|
+
* the studio sends it when the frame reports ready and again whenever the
|
|
283
|
+
* project's accent changes. Starts at Val's green so a page that is never
|
|
284
|
+
* told — an older studio, or a message that never arrives — still outlines
|
|
285
|
+
* its content.
|
|
286
|
+
*/
|
|
287
|
+
var _React$useState3 = React__default["default"].useState(DEFAULT_SELECTION),
|
|
277
288
|
_React$useState4 = createForOfIteratorHelper._slicedToArray(_React$useState3, 2),
|
|
278
|
-
|
|
279
|
-
|
|
289
|
+
selectionColors = _React$useState4[0],
|
|
290
|
+
setSelectionColors = _React$useState4[1];
|
|
291
|
+
var _React$useState5 = React__default["default"].useState(null),
|
|
292
|
+
_React$useState6 = createForOfIteratorHelper._slicedToArray(_React$useState5, 2),
|
|
293
|
+
highlighted = _React$useState6[0],
|
|
294
|
+
setHighlighted = _React$useState6[1];
|
|
280
295
|
// Kept in a ref as well, because the capture-phase click listener below is
|
|
281
296
|
// installed once and would otherwise close over the first value forever.
|
|
282
297
|
var pickingRef = React__default["default"].useRef(false);
|
|
@@ -485,6 +500,13 @@ function ValCanvasBridge(_ref) {
|
|
|
485
500
|
setPicking(message.picking);
|
|
486
501
|
return;
|
|
487
502
|
}
|
|
503
|
+
if (message.type === "theme") {
|
|
504
|
+
setSelectionColors({
|
|
505
|
+
selection: message.selection,
|
|
506
|
+
selectionSoft: message.selectionSoft
|
|
507
|
+
});
|
|
508
|
+
return;
|
|
509
|
+
}
|
|
488
510
|
if (message.type === "sourceUpdate") {
|
|
489
511
|
/**
|
|
490
512
|
* Handed straight to the listener the page already has.
|
|
@@ -700,7 +722,7 @@ function ValCanvasBridge(_ref) {
|
|
|
700
722
|
// CSS string. A path contains quotes (`?p="/"`) and would otherwise
|
|
701
723
|
// close the selector early.
|
|
702
724
|
dangerouslySetInnerHTML: {
|
|
703
|
-
__html: [picking ? "[data-val-path] { outline: 1px solid ".concat(
|
|
725
|
+
__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")
|
|
704
726
|
}
|
|
705
727
|
});
|
|
706
728
|
}
|
|
@@ -718,13 +740,13 @@ function ValCanvasBridge(_ref) {
|
|
|
718
740
|
* and one in the middle. Between them they match the path as a complete list
|
|
719
741
|
* item and nothing else.
|
|
720
742
|
*/
|
|
721
|
-
function highlightRule(path) {
|
|
743
|
+
function highlightRule(path, selection) {
|
|
722
744
|
var value = JSON.stringify(path);
|
|
723
745
|
var inner = JSON.stringify(",".concat(path, ","));
|
|
724
746
|
var first = JSON.stringify("".concat(path, ","));
|
|
725
747
|
var last = JSON.stringify(",".concat(path));
|
|
726
748
|
var selectors = ["[data-val-path=".concat(value, "]"), "[data-val-path^=".concat(first, "]"), "[data-val-path$=".concat(last, "]"), "[data-val-path*=".concat(inner, "]")].join(",\n");
|
|
727
|
-
return "".concat(selectors, " { outline: 2px solid ").concat(
|
|
749
|
+
return "".concat(selectors, " { outline: 2px solid ").concat(selection, "; outline-offset: 1px; }");
|
|
728
750
|
}
|
|
729
751
|
|
|
730
752
|
/**
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
var version = require('./version-
|
|
5
|
+
var version = require('./version-ecfd83cc.cjs.prod.js');
|
|
6
6
|
var createForOfIteratorHelper = require('./createForOfIteratorHelper-0324e063.cjs.prod.js');
|
|
7
7
|
var core = require('@valbuild/core');
|
|
8
8
|
var stega = require('@valbuild/react/stega');
|
|
@@ -243,8 +243,10 @@ var floatDarkBg = "#131316";
|
|
|
243
243
|
/** `--bg-float`, light. */
|
|
244
244
|
var floatLightBg = "#fcfcfc";
|
|
245
245
|
|
|
246
|
-
var
|
|
247
|
-
|
|
246
|
+
var DEFAULT_SELECTION = {
|
|
247
|
+
selection: client.DEFAULT_CANVAS_SELECTION,
|
|
248
|
+
selectionSoft: client.DEFAULT_CANVAS_SELECTION_SOFT
|
|
249
|
+
};
|
|
248
250
|
|
|
249
251
|
/**
|
|
250
252
|
* How often the page is re-measured even when nothing said it changed.
|
|
@@ -273,10 +275,23 @@ function ValCanvasBridge(_ref) {
|
|
|
273
275
|
_React$useState2 = createForOfIteratorHelper._slicedToArray(_React$useState, 2),
|
|
274
276
|
picking = _React$useState2[0],
|
|
275
277
|
setPicking = _React$useState2[1];
|
|
276
|
-
|
|
278
|
+
/**
|
|
279
|
+
* The outline colours, as the studio last said.
|
|
280
|
+
*
|
|
281
|
+
* State rather than a prop, because it arrives over the protocol after mount:
|
|
282
|
+
* the studio sends it when the frame reports ready and again whenever the
|
|
283
|
+
* project's accent changes. Starts at Val's green so a page that is never
|
|
284
|
+
* told — an older studio, or a message that never arrives — still outlines
|
|
285
|
+
* its content.
|
|
286
|
+
*/
|
|
287
|
+
var _React$useState3 = React__default["default"].useState(DEFAULT_SELECTION),
|
|
277
288
|
_React$useState4 = createForOfIteratorHelper._slicedToArray(_React$useState3, 2),
|
|
278
|
-
|
|
279
|
-
|
|
289
|
+
selectionColors = _React$useState4[0],
|
|
290
|
+
setSelectionColors = _React$useState4[1];
|
|
291
|
+
var _React$useState5 = React__default["default"].useState(null),
|
|
292
|
+
_React$useState6 = createForOfIteratorHelper._slicedToArray(_React$useState5, 2),
|
|
293
|
+
highlighted = _React$useState6[0],
|
|
294
|
+
setHighlighted = _React$useState6[1];
|
|
280
295
|
// Kept in a ref as well, because the capture-phase click listener below is
|
|
281
296
|
// installed once and would otherwise close over the first value forever.
|
|
282
297
|
var pickingRef = React__default["default"].useRef(false);
|
|
@@ -485,6 +500,13 @@ function ValCanvasBridge(_ref) {
|
|
|
485
500
|
setPicking(message.picking);
|
|
486
501
|
return;
|
|
487
502
|
}
|
|
503
|
+
if (message.type === "theme") {
|
|
504
|
+
setSelectionColors({
|
|
505
|
+
selection: message.selection,
|
|
506
|
+
selectionSoft: message.selectionSoft
|
|
507
|
+
});
|
|
508
|
+
return;
|
|
509
|
+
}
|
|
488
510
|
if (message.type === "sourceUpdate") {
|
|
489
511
|
/**
|
|
490
512
|
* Handed straight to the listener the page already has.
|
|
@@ -700,7 +722,7 @@ function ValCanvasBridge(_ref) {
|
|
|
700
722
|
// CSS string. A path contains quotes (`?p="/"`) and would otherwise
|
|
701
723
|
// close the selector early.
|
|
702
724
|
dangerouslySetInnerHTML: {
|
|
703
|
-
__html: [picking ? "[data-val-path] { outline: 1px solid ".concat(
|
|
725
|
+
__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")
|
|
704
726
|
}
|
|
705
727
|
});
|
|
706
728
|
}
|
|
@@ -718,13 +740,13 @@ function ValCanvasBridge(_ref) {
|
|
|
718
740
|
* and one in the middle. Between them they match the path as a complete list
|
|
719
741
|
* item and nothing else.
|
|
720
742
|
*/
|
|
721
|
-
function highlightRule(path) {
|
|
743
|
+
function highlightRule(path, selection) {
|
|
722
744
|
var value = JSON.stringify(path);
|
|
723
745
|
var inner = JSON.stringify(",".concat(path, ","));
|
|
724
746
|
var first = JSON.stringify("".concat(path, ","));
|
|
725
747
|
var last = JSON.stringify(",".concat(path));
|
|
726
748
|
var selectors = ["[data-val-path=".concat(value, "]"), "[data-val-path^=".concat(first, "]"), "[data-val-path$=".concat(last, "]"), "[data-val-path*=".concat(inner, "]")].join(",\n");
|
|
727
|
-
return "".concat(selectors, " { outline: 2px solid ").concat(
|
|
749
|
+
return "".concat(selectors, " { outline: 2px solid ").concat(selection, "; outline-offset: 1px; }");
|
|
728
750
|
}
|
|
729
751
|
|
|
730
752
|
/**
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { _ as _asyncToGenerator, a as _regenerator, V as VERSION$1 } from './version-
|
|
1
|
+
import { _ as _asyncToGenerator, a as _regenerator, V as VERSION$1 } from './version-a2bd1bca.esm.js';
|
|
2
2
|
import { _ as _objectSpread2, a as _slicedToArray, b as _createForOfIteratorHelper } from './createForOfIteratorHelper-485c2ce1.esm.js';
|
|
3
3
|
import { Internal as Internal$1, initVal as initVal$1, DEFAULT_CONTENT_HOST } from '@valbuild/core';
|
|
4
4
|
import * as core from '@valbuild/core';
|
|
@@ -10,7 +10,7 @@ import { VERSION, VAL_APP_PATH, VAL_OVERLAY_ID, VAL_APP_ID } from '@valbuild/ui'
|
|
|
10
10
|
import { useRouter, useRouterState } from '@tanstack/react-router';
|
|
11
11
|
import React, { useEffect, useState, useRef } from 'react';
|
|
12
12
|
import { V as ValExternalStore, a as ValOverlayProvider } from './ValOverlayContext-5bc3830f.esm.js';
|
|
13
|
-
import { VAL_CONFIG_SESSION_STORAGE_KEY, VAL_THEME_SESSION_STORAGE_KEY, VAL_CANVAS_MESSAGE, isValCanvasStudioMessage, isValCanvasFrame } from '@valbuild/shared/client';
|
|
13
|
+
import { VAL_CONFIG_SESSION_STORAGE_KEY, VAL_THEME_SESSION_STORAGE_KEY, VAL_CANVAS_MESSAGE, DEFAULT_CANVAS_SELECTION, DEFAULT_CANVAS_SELECTION_SOFT, isValCanvasStudioMessage, isValCanvasFrame } from '@valbuild/shared/client';
|
|
14
14
|
import { jsx, jsxs, Fragment } from 'react/jsx-runtime';
|
|
15
15
|
import '@valbuild/core/patch';
|
|
16
16
|
|
|
@@ -219,8 +219,10 @@ var floatDarkBg = "#131316";
|
|
|
219
219
|
/** `--bg-float`, light. */
|
|
220
220
|
var floatLightBg = "#fcfcfc";
|
|
221
221
|
|
|
222
|
-
var
|
|
223
|
-
|
|
222
|
+
var DEFAULT_SELECTION = {
|
|
223
|
+
selection: DEFAULT_CANVAS_SELECTION,
|
|
224
|
+
selectionSoft: DEFAULT_CANVAS_SELECTION_SOFT
|
|
225
|
+
};
|
|
224
226
|
|
|
225
227
|
/**
|
|
226
228
|
* How often the page is re-measured even when nothing said it changed.
|
|
@@ -249,10 +251,23 @@ function ValCanvasBridge(_ref) {
|
|
|
249
251
|
_React$useState2 = _slicedToArray(_React$useState, 2),
|
|
250
252
|
picking = _React$useState2[0],
|
|
251
253
|
setPicking = _React$useState2[1];
|
|
252
|
-
|
|
254
|
+
/**
|
|
255
|
+
* The outline colours, as the studio last said.
|
|
256
|
+
*
|
|
257
|
+
* State rather than a prop, because it arrives over the protocol after mount:
|
|
258
|
+
* the studio sends it when the frame reports ready and again whenever the
|
|
259
|
+
* project's accent changes. Starts at Val's green so a page that is never
|
|
260
|
+
* told — an older studio, or a message that never arrives — still outlines
|
|
261
|
+
* its content.
|
|
262
|
+
*/
|
|
263
|
+
var _React$useState3 = React.useState(DEFAULT_SELECTION),
|
|
253
264
|
_React$useState4 = _slicedToArray(_React$useState3, 2),
|
|
254
|
-
|
|
255
|
-
|
|
265
|
+
selectionColors = _React$useState4[0],
|
|
266
|
+
setSelectionColors = _React$useState4[1];
|
|
267
|
+
var _React$useState5 = React.useState(null),
|
|
268
|
+
_React$useState6 = _slicedToArray(_React$useState5, 2),
|
|
269
|
+
highlighted = _React$useState6[0],
|
|
270
|
+
setHighlighted = _React$useState6[1];
|
|
256
271
|
// Kept in a ref as well, because the capture-phase click listener below is
|
|
257
272
|
// installed once and would otherwise close over the first value forever.
|
|
258
273
|
var pickingRef = React.useRef(false);
|
|
@@ -461,6 +476,13 @@ function ValCanvasBridge(_ref) {
|
|
|
461
476
|
setPicking(message.picking);
|
|
462
477
|
return;
|
|
463
478
|
}
|
|
479
|
+
if (message.type === "theme") {
|
|
480
|
+
setSelectionColors({
|
|
481
|
+
selection: message.selection,
|
|
482
|
+
selectionSoft: message.selectionSoft
|
|
483
|
+
});
|
|
484
|
+
return;
|
|
485
|
+
}
|
|
464
486
|
if (message.type === "sourceUpdate") {
|
|
465
487
|
/**
|
|
466
488
|
* Handed straight to the listener the page already has.
|
|
@@ -676,7 +698,7 @@ function ValCanvasBridge(_ref) {
|
|
|
676
698
|
// CSS string. A path contains quotes (`?p="/"`) and would otherwise
|
|
677
699
|
// close the selector early.
|
|
678
700
|
dangerouslySetInnerHTML: {
|
|
679
|
-
__html: [picking ? "[data-val-path] { outline: 1px solid ".concat(
|
|
701
|
+
__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")
|
|
680
702
|
}
|
|
681
703
|
});
|
|
682
704
|
}
|
|
@@ -694,13 +716,13 @@ function ValCanvasBridge(_ref) {
|
|
|
694
716
|
* and one in the middle. Between them they match the path as a complete list
|
|
695
717
|
* item and nothing else.
|
|
696
718
|
*/
|
|
697
|
-
function highlightRule(path) {
|
|
719
|
+
function highlightRule(path, selection) {
|
|
698
720
|
var value = JSON.stringify(path);
|
|
699
721
|
var inner = JSON.stringify(",".concat(path, ","));
|
|
700
722
|
var first = JSON.stringify("".concat(path, ","));
|
|
701
723
|
var last = JSON.stringify(",".concat(path));
|
|
702
724
|
var selectors = ["[data-val-path=".concat(value, "]"), "[data-val-path^=".concat(first, "]"), "[data-val-path$=".concat(last, "]"), "[data-val-path*=".concat(inner, "]")].join(",\n");
|
|
703
|
-
return "".concat(selectors, " { outline: 2px solid ").concat(
|
|
725
|
+
return "".concat(selectors, " { outline: 2px solid ").concat(selection, "; outline-offset: 1px; }");
|
|
704
726
|
}
|
|
705
727
|
|
|
706
728
|
/**
|
package/package.json
CHANGED
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
"tanstack-router",
|
|
15
15
|
"react"
|
|
16
16
|
],
|
|
17
|
-
"version": "0.
|
|
17
|
+
"version": "0.129.0",
|
|
18
18
|
"main": "dist/valbuild-tanstack.cjs.js",
|
|
19
19
|
"module": "dist/valbuild-tanstack.esm.js",
|
|
20
20
|
"exports": {
|
|
@@ -42,13 +42,13 @@
|
|
|
42
42
|
"exports": true
|
|
43
43
|
},
|
|
44
44
|
"dependencies": {
|
|
45
|
-
"@valbuild/core": "0.
|
|
46
|
-
"@valbuild/language-server": "0.
|
|
47
|
-
"@valbuild/mcp": "0.
|
|
48
|
-
"@valbuild/react": "0.
|
|
49
|
-
"@valbuild/server": "0.
|
|
50
|
-
"@valbuild/
|
|
51
|
-
"@valbuild/
|
|
45
|
+
"@valbuild/core": "0.129.0",
|
|
46
|
+
"@valbuild/language-server": "0.129.0",
|
|
47
|
+
"@valbuild/mcp": "0.129.0",
|
|
48
|
+
"@valbuild/react": "0.129.0",
|
|
49
|
+
"@valbuild/server": "0.129.0",
|
|
50
|
+
"@valbuild/ui": "0.129.0",
|
|
51
|
+
"@valbuild/shared": "0.129.0"
|
|
52
52
|
},
|
|
53
53
|
"devDependencies": {
|
|
54
54
|
"@tanstack/react-router": "^1.170.33",
|
|
@@ -5,7 +5,7 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
5
5
|
var createForOfIteratorHelper = require('../../dist/createForOfIteratorHelper-e75681d7.cjs.dev.js');
|
|
6
6
|
var core = require('@valbuild/core');
|
|
7
7
|
var server = require('@valbuild/server');
|
|
8
|
-
var version = require('../../dist/version-
|
|
8
|
+
var version = require('../../dist/version-8aeb5ebd.cjs.dev.js');
|
|
9
9
|
var routeFromVal = require('../../dist/routeFromVal-a9147ceb.cjs.dev.js');
|
|
10
10
|
var stega = require('@valbuild/react/stega');
|
|
11
11
|
var internal = require('@valbuild/shared/internal');
|
|
@@ -5,7 +5,7 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
5
5
|
var createForOfIteratorHelper = require('../../dist/createForOfIteratorHelper-0324e063.cjs.prod.js');
|
|
6
6
|
var core = require('@valbuild/core');
|
|
7
7
|
var server = require('@valbuild/server');
|
|
8
|
-
var version = require('../../dist/version-
|
|
8
|
+
var version = require('../../dist/version-ecfd83cc.cjs.prod.js');
|
|
9
9
|
var routeFromVal = require('../../dist/routeFromVal-6693e037.cjs.prod.js');
|
|
10
10
|
var stega = require('@valbuild/react/stega');
|
|
11
11
|
var internal = require('@valbuild/shared/internal');
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { _ as _objectSpread2, a as _slicedToArray, d as _defineProperty } from '../../dist/createForOfIteratorHelper-485c2ce1.esm.js';
|
|
2
2
|
import { Internal } from '@valbuild/core';
|
|
3
3
|
import { createValApiRouter, createValServer } from '@valbuild/server';
|
|
4
|
-
import { _ as _asyncToGenerator, a as _regenerator, V as VERSION } from '../../dist/version-
|
|
4
|
+
import { _ as _asyncToGenerator, a as _regenerator, V as VERSION } from '../../dist/version-a2bd1bca.esm.js';
|
|
5
5
|
import { b as initValRouteFromVal, g as getJsonEntryStegaRoot, i as isJsonValuesRecordSchema, a as getValRouteUrlFromVal, _ as _typeof } from '../../dist/routeFromVal-728295a0.esm.js';
|
|
6
6
|
import { stegaEncode, SET_AUTO_TAG_JSX_ENABLED } from '@valbuild/react/stega';
|
|
7
7
|
import { VAL_SESSION_COOKIE } from '@valbuild/shared/internal';
|