@mccaskie-labs/workbench-ui 0.6.0 → 0.6.1
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 +7 -1
- package/dist/cli.js +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,11 @@
|
|
|
1
1
|
# @mccaskie-labs/workbench-ui
|
|
2
2
|
|
|
3
|
+
## 0.6.1
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- 33d9dde: The general building blocks stand on their own. workbench-config's component list no longer has availability, onboarding or outreach: a tool like those now comes as an add-on (docs/addons.md), and `workbench/addons.json` may say where each add-on comes from (`"from": { "<name>": "<organisation>/<repo>" }`), so Control's daily update copies it into `addons/<name>/`. workbench-nudges' starter has one rule, quotes with no reply, and its time zone starts as Australia/Sydney (set it from the country pack); `outreachRefresh` and `OutreachLike` are gone, so a project that follows up its own first messages writes its own rule, guide and refresh, as the nudges.what question's "First messages with no reply" answer says. Examples and samples use neutral names.
|
|
8
|
+
|
|
3
9
|
## 0.6.0
|
|
4
10
|
|
|
5
11
|
### Minor Changes
|
|
@@ -10,7 +16,7 @@
|
|
|
10
16
|
|
|
11
17
|
### Patch Changes
|
|
12
18
|
|
|
13
|
-
- `npx workbench-ui styles` takes every `ToolStyles` a package exports at `./styles`, one per tool, each with its own prefix (was exactly one), so
|
|
19
|
+
- `npx workbench-ui styles` takes every `ToolStyles` a package exports at `./styles`, one per tool, each with its own prefix (was exactly one), so a package that draws several tools gets each one into workbench.css.
|
|
14
20
|
|
|
15
21
|
## 0.5.0
|
|
16
22
|
|
package/dist/cli.js
CHANGED
|
@@ -48,7 +48,7 @@ export async function installedStyles(dir) {
|
|
|
48
48
|
continue;
|
|
49
49
|
const mod = (await import(__rewriteRelativeImportExtension(pathToFileURL(req.resolve(`${name}/styles`)).href)));
|
|
50
50
|
const found = Object.values(mod).filter((x) => !!x && typeof x === "object" && x.format === 1 && typeof x.prefix === "string");
|
|
51
|
-
// One ToolStyles per tool the package draws (
|
|
51
|
+
// One ToolStyles per tool the package draws (a package may draw several, such as a calendar and a wizard), each with its own prefix.
|
|
52
52
|
if (found.length === 0)
|
|
53
53
|
throw new Error(`${name}/styles must export at least one ToolStyles`);
|
|
54
54
|
if (new Set(found.map((f) => f.prefix)).size !== found.length)
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mccaskie-labs/workbench-ui",
|
|
3
|
-
"version": "0.6.
|
|
3
|
+
"version": "0.6.1",
|
|
4
4
|
"description": "Workbench pages: one dark look, a top bar with the environment tag, cards, outcome pills, and one format for times, money and durations.",
|
|
5
5
|
"license": "UNLICENSED",
|
|
6
6
|
"type": "module",
|