ansimax 1.2.4 → 1.2.6

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.
@@ -42,10 +42,10 @@ console.log();
42
42
 
43
43
  console.log(color.bold('━━━ Status ━━━'));
44
44
  console.log();
45
- console.log(components.status('Build started', { type: 'info' }));
46
- console.log(components.status('Linting passed', { type: 'success' }));
47
- console.log(components.status('5 deprecation warnings', { type: 'warning' }));
48
- console.log(components.status('Build failed', { type: 'error' }));
45
+ console.log(components.status('info', 'Build started'));
46
+ console.log(components.status('success', 'Linting passed'));
47
+ console.log(components.status('warn', '5 deprecation warnings'));
48
+ console.log(components.status('error', 'Build failed'));
49
49
  console.log();
50
50
 
51
51
  console.log(color.bold('━━━ Section ━━━'));
@@ -118,14 +118,14 @@ async function main() {
118
118
  console.log(components.section('🏷️ Badges & Status', { width: 60 }));
119
119
  console.log();
120
120
  console.log(' ',
121
- components.badge('VERSION', 'v1.2.4'),
121
+ components.badge('VERSION', 'v1.2.6'),
122
122
  components.badge('BUILD', 'passing'),
123
123
  components.badge('LICENSE', 'Apache 2.0'));
124
124
  console.log();
125
- console.log(components.status('Build started', { type: 'info' }));
126
- console.log(components.status('Tests passed', { type: 'success' }));
127
- console.log(components.status('1 deprecation', { type: 'warning' }));
128
- console.log(components.status('Build failed', { type: 'error' }));
125
+ console.log(components.status('info', 'Build started'));
126
+ console.log(components.status('success', 'Tests passed'));
127
+ console.log(components.status('warn', '1 deprecation'));
128
+ console.log(components.status('error', 'Build failed'));
129
129
  console.log();
130
130
 
131
131
  // ── 9. Loaders ────────────────────────────────────────────
@@ -117,14 +117,14 @@ console.log();
117
117
  console.log(components.section('🏷️ Badges & Status', { width: 60 }));
118
118
  console.log();
119
119
  console.log(' ',
120
- components.badge('VERSION', 'v1.2.4'),
120
+ components.badge('VERSION', 'v1.2.6'),
121
121
  components.badge('BUILD', 'passing'),
122
122
  components.badge('LICENSE', 'Apache 2.0'));
123
123
  console.log();
124
- console.log(components.status('Build started', { type: 'info' }));
125
- console.log(components.status('Tests passed', { type: 'success' }));
126
- console.log(components.status('1 deprecation', { type: 'warning' }));
127
- console.log(components.status('Build failed', { type: 'error' }));
124
+ console.log(components.status('info', 'Build started'));
125
+ console.log(components.status('success', 'Tests passed'));
126
+ console.log(components.status('warn', '1 deprecation'));
127
+ console.log(components.status('error', 'Build failed'));
128
128
  console.log();
129
129
 
130
130
  // ── 9. Loaders ────────────────────────────────────────────
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ansimax",
3
- "version": "1.2.4",
3
+ "version": "1.2.6",
4
4
  "description": "Zero-dependency CLI rendering library: colors, gradients, animations, ASCII art, pixel art, components, and themes \u2014 all in TypeScript.",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",