@lewishowles/cli-style 0.2.0 → 0.2.2
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 +12 -0
- package/package.json +1 -1
- package/src/gallery/render-gallery.js +8 -0
- package/src/theme/results.js +20 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,17 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 0.2.2 - 2026-06-29
|
|
4
|
+
|
|
5
|
+
### Added
|
|
6
|
+
|
|
7
|
+
- Added an `unchanged` status result type for muted no-op rows.
|
|
8
|
+
|
|
9
|
+
## 0.2.1 - 2026-06-29
|
|
10
|
+
|
|
11
|
+
### Added
|
|
12
|
+
|
|
13
|
+
- Added an `info` status result type for neutral progress rows.
|
|
14
|
+
|
|
3
15
|
## 0.2.0 - 2026-06-27
|
|
4
16
|
|
|
5
17
|
### Added
|
package/package.json
CHANGED
|
@@ -49,6 +49,10 @@ const statusExamples = [
|
|
|
49
49
|
detail: "tone: success",
|
|
50
50
|
resultType: resultTypes.SUCCESS,
|
|
51
51
|
},
|
|
52
|
+
{
|
|
53
|
+
detail: "tone: info",
|
|
54
|
+
resultType: resultTypes.INFO,
|
|
55
|
+
},
|
|
52
56
|
{
|
|
53
57
|
detail: "tone: warning",
|
|
54
58
|
resultType: resultTypes.WARNING,
|
|
@@ -57,6 +61,10 @@ const statusExamples = [
|
|
|
57
61
|
detail: "tone: warning",
|
|
58
62
|
resultType: resultTypes.PARTIAL,
|
|
59
63
|
},
|
|
64
|
+
{
|
|
65
|
+
detail: "tone: muted",
|
|
66
|
+
resultType: resultTypes.UNCHANGED,
|
|
67
|
+
},
|
|
60
68
|
{
|
|
61
69
|
detail: "tone: muted",
|
|
62
70
|
resultType: resultTypes.SKIPPED,
|
package/src/theme/results.js
CHANGED
|
@@ -1,9 +1,11 @@
|
|
|
1
1
|
// Result states shared by primitive and pattern renderers.
|
|
2
2
|
export const resultTypes = {
|
|
3
3
|
FAILED: "failed",
|
|
4
|
+
INFO: "info",
|
|
4
5
|
PARTIAL: "partial",
|
|
5
6
|
SKIPPED: "skipped",
|
|
6
7
|
SUCCESS: "success",
|
|
8
|
+
UNCHANGED: "unchanged",
|
|
7
9
|
UNKNOWN: "unknown",
|
|
8
10
|
WARNING: "warning",
|
|
9
11
|
};
|
|
@@ -19,6 +21,15 @@ export const resultTokens = {
|
|
|
19
21
|
},
|
|
20
22
|
tone: "danger",
|
|
21
23
|
},
|
|
24
|
+
[resultTypes.INFO]: {
|
|
25
|
+
exitCode: null,
|
|
26
|
+
label: "Info",
|
|
27
|
+
symbols: {
|
|
28
|
+
ascii: ">",
|
|
29
|
+
unicode: "→",
|
|
30
|
+
},
|
|
31
|
+
tone: "info",
|
|
32
|
+
},
|
|
22
33
|
[resultTypes.PARTIAL]: {
|
|
23
34
|
exitCode: null,
|
|
24
35
|
label: "Partial",
|
|
@@ -46,6 +57,15 @@ export const resultTokens = {
|
|
|
46
57
|
},
|
|
47
58
|
tone: "success",
|
|
48
59
|
},
|
|
60
|
+
[resultTypes.UNCHANGED]: {
|
|
61
|
+
exitCode: null,
|
|
62
|
+
label: "Unchanged",
|
|
63
|
+
symbols: {
|
|
64
|
+
ascii: "-",
|
|
65
|
+
unicode: "↪",
|
|
66
|
+
},
|
|
67
|
+
tone: "muted",
|
|
68
|
+
},
|
|
49
69
|
[resultTypes.UNKNOWN]: {
|
|
50
70
|
exitCode: null,
|
|
51
71
|
label: "Unknown",
|