@bridge-ds/toolbar 0.6.0 → 0.7.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/README.md +1 -1
- package/dist/{Toolbar-DohR_2eJ.js → Toolbar-Cib7qewk.js} +3 -3
- package/dist/{Toolbar-DohR_2eJ.js.map → Toolbar-Cib7qewk.js.map} +1 -1
- package/dist/{index-DS5xot96.js → index-LdnVzAG3.js} +3 -3
- package/dist/{index-DS5xot96.js.map → index-LdnVzAG3.js.map} +1 -1
- package/dist/index.js +1 -1
- package/dist/{session-DAUBg64J.js → session-Bj7imFZm.js} +2 -1
- package/dist/session-Bj7imFZm.js.map +1 -0
- package/dist/session.d.ts +6 -2
- package/dist/together.js +1 -1
- package/package.json +2 -2
- package/dist/session-DAUBg64J.js.map +0 -1
package/README.md
CHANGED
|
@@ -56,7 +56,7 @@ live tokens). `bridge connect` prints this line with your values.
|
|
|
56
56
|
| Prop | What it does |
|
|
57
57
|
| --- | --- |
|
|
58
58
|
| `studio`, `production`, `preview` | Override what the config says (for example a staging URL as Before). |
|
|
59
|
-
| `deployEnv` | `"production"` or `"preview"` when your build knows it (Vercel: `VERCEL_ENV`). |
|
|
59
|
+
| `deployEnv` | `"production"` or `"preview"` when your build knows it (Vercel: `VERCEL_ENV`). Optional: on other hosts (Cloudflare Pages, Netlify) a page whose host matches the preview template counts as a preview. |
|
|
60
60
|
| `build` | Every fact at once, read at build time: no config read at run time. |
|
|
61
61
|
| `scope` | A hook returning `{ theme, brand, density, shop, set }` when your app keeps theme and shop in state. Default: the `data-theme`, `data-brand` and `data-density` attributes `ThemeProvider asRoot` puts on `<html>`. |
|
|
62
62
|
| `shops` | `{ id, name, brand }[]` of a multi-brand product, for the screens list and "Switch to <shop>". |
|
|
@@ -8,8 +8,8 @@ import { jsxs, jsx, Fragment } from "react/jsx-runtime";
|
|
|
8
8
|
import { useState, useEffect, useId, useLayoutEffect, useMemo, useRef, useCallback } from "react";
|
|
9
9
|
import { ThemeProvider, Tooltip, Button, ButtonGroup, IconButton, VisuallyHidden, Kbd, Popover, PopoverTrigger, PopoverContent, Checkbox, Icon, Link, Badge } from "@bridge-ds/react";
|
|
10
10
|
import { ScanSearch, ChevronLeft, ChevronRight, GripVertical, ListChecks, ChevronUp, Check, Info, Minimize2 } from "lucide-react";
|
|
11
|
-
import { g as githubReads, D as DEFAULT_PROXY, l as loadBuild, u as useDocumentScope } from "./index-
|
|
12
|
-
import { t as tokenChanges, c as changedScreens, b as changeMode, d as readableTitle, M as MARKS_PARAM, e as toggleIncluded, f as readRepo, r as readChanges, w as whereAmI, g as readReturn, h as readUse, i as shouldRender, O as OPEN_KEY, j as readDock, l as liveTokensUrl, n as noVisibleDifference, k as readScroll, S as SCROLL_PARAM, m as sameScreenOn, o as studioChangesUrl, p as studioChangeUrl, T as TOGETHER_EMPTY_LINE, q as contrastRatio, u as toHex, v as fromText, x as TOGETHER_HINT, y as isSubtle, z as isFlipKey, A as placeToolbar, B as togetherLabel, P as PARAM, C as changeSummary, D as dockAt, E as stepDock, F as DOCK_KEY } from "./session-
|
|
11
|
+
import { g as githubReads, D as DEFAULT_PROXY, l as loadBuild, u as useDocumentScope } from "./index-LdnVzAG3.js";
|
|
12
|
+
import { t as tokenChanges, c as changedScreens, b as changeMode, d as readableTitle, M as MARKS_PARAM, e as toggleIncluded, f as readRepo, r as readChanges, w as whereAmI, g as readReturn, h as readUse, i as shouldRender, O as OPEN_KEY, j as readDock, l as liveTokensUrl, n as noVisibleDifference, k as readScroll, S as SCROLL_PARAM, m as sameScreenOn, o as studioChangesUrl, p as studioChangeUrl, T as TOGETHER_EMPTY_LINE, q as contrastRatio, u as toHex, v as fromText, x as TOGETHER_HINT, y as isSubtle, z as isFlipKey, A as placeToolbar, B as togetherLabel, P as PARAM, C as changeSummary, D as dockAt, E as stepDock, F as DOCK_KEY } from "./session-Bj7imFZm.js";
|
|
13
13
|
const VISUAL_BRANCH = "bridge-visual";
|
|
14
14
|
const cacheKey = (n) => `bridge-admin:facts:v3:${n}`;
|
|
15
15
|
function session$1() {
|
|
@@ -1732,4 +1732,4 @@ function useHash() {
|
|
|
1732
1732
|
export {
|
|
1733
1733
|
ToolbarRoot as default
|
|
1734
1734
|
};
|
|
1735
|
-
//# sourceMappingURL=Toolbar-
|
|
1735
|
+
//# sourceMappingURL=Toolbar-Cib7qewk.js.map
|