@shipbench/board 0.7.0 → 0.8.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 +2 -2
- package/dist/index.d.ts +3 -3
- package/dist/ui/Markdown.d.ts +2 -3
- package/dist/ui/useDocumentTitle.d.ts +1 -1
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
# @shipbench/board
|
|
2
2
|
|
|
3
3
|
The React kanban surface for [ShipBench](https://github.com/gmmurray/shipbench).
|
|
4
|
-
ShipBench
|
|
5
|
-
|
|
4
|
+
The ShipBench CLI serves the standalone bundle from `dist/standalone.html`, and
|
|
5
|
+
other hosts can embed the component.
|
|
6
6
|
|
|
7
7
|
> **Published for convenience, not for public use.** This package exists on npm
|
|
8
8
|
> because the ShipBench CLI depends on it at runtime and out-of-repo hosts need
|
package/dist/index.d.ts
CHANGED
|
@@ -5,11 +5,11 @@ import './styles.css';
|
|
|
5
5
|
export interface CreateBoardOptions {
|
|
6
6
|
api: BoardAPI;
|
|
7
7
|
/** Show the standalone theme toggle (System/Light/Dark). Hosts that own their
|
|
8
|
-
* own theme
|
|
8
|
+
* own theme, which the embed inherits, leave this off. */
|
|
9
9
|
themeControl?: boolean;
|
|
10
10
|
/** Name the browser tab after the project, so boards for several repos are
|
|
11
|
-
* distinguishable. Hosts that own their own routing and tab title
|
|
12
|
-
*
|
|
11
|
+
* distinguishable. Hosts that own their own routing and tab title leave
|
|
12
|
+
* this off. The name itself always comes from `config.name`. */
|
|
13
13
|
documentTitle?: boolean;
|
|
14
14
|
}
|
|
15
15
|
export declare function createBoard(rootElement: HTMLElement, options: CreateBoardOptions): Root;
|
package/dist/ui/Markdown.d.ts
CHANGED
|
@@ -4,9 +4,8 @@
|
|
|
4
4
|
* way to ship this half-broken.
|
|
5
5
|
*
|
|
6
6
|
* `urlTransform` is deliberately not overridden. `defaultUrlTransform`
|
|
7
|
-
* sanitizes hrefs against react-markdown's safe-protocol allowlist, and
|
|
8
|
-
*
|
|
9
|
-
* filtering matters. Relative paths pass through it untouched, which leaves
|
|
7
|
+
* sanitizes hrefs against react-markdown's safe-protocol allowlist, and task
|
|
8
|
+
* bodies are whatever a repository holds, so that filtering matters. Relative paths pass through it untouched, which leaves
|
|
10
9
|
* every link decision to `components.a` below — after sanitization, not
|
|
11
10
|
* instead of it.
|
|
12
11
|
*/
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* The name is `config.name` — the same value the header breadcrumb renders, so
|
|
6
6
|
* the tab and the breadcrumb cannot disagree. It is deliberately not a host-
|
|
7
7
|
* supplied option: a second source would let the CLI report the checkout
|
|
8
|
-
* directory while
|
|
8
|
+
* directory while another host reported the repository name, for one project.
|
|
9
9
|
*
|
|
10
10
|
* `DEFAULT_CONFIG.name` ("Untitled Project") is rendered as-is rather than
|
|
11
11
|
* special-cased back to the fallback — comparing against a default value is
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@shipbench/board",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.8.0",
|
|
4
4
|
"description": "React kanban board for ShipBench. Published so the CLI and out-of-repo hosts can consume it; not a supported standalone library.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"repository": {
|
|
@@ -49,7 +49,7 @@
|
|
|
49
49
|
"react-markdown": "^10.1.0",
|
|
50
50
|
"sonner": "^2.0.7",
|
|
51
51
|
"zustand": "^5.0.14",
|
|
52
|
-
"@shipbench/core": "0.
|
|
52
|
+
"@shipbench/core": "0.8.0"
|
|
53
53
|
},
|
|
54
54
|
"peerDependencies": {
|
|
55
55
|
"react": "^19.0.0",
|