@umituz/web-design-system 4.8.0 → 4.8.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@umituz/web-design-system",
3
- "version": "4.8.0",
3
+ "version": "4.8.1",
4
4
  "private": false,
5
5
  "type": "module",
6
6
  "description": "Web Design System - Tailwind v4 authored, precompiled CSS shipped. Atomic Design components (Atoms, Molecules, Organisms, Templates) for React applications.",
@@ -944,7 +944,7 @@ describe('status + stat surfaces', () => {
944
944
  const { rerender } = render(<StatusBadge vocab={vocab} value="active" />);
945
945
  const el = screen.getByText('Active');
946
946
  expect(el.className).toContain('bg-success');
947
- expect(el.className).toContain('font-mono');
947
+ expect(el.className).not.toContain('font-mono');
948
948
  rerender(<StatusBadge vocab={vocab} value="unknown-state" />);
949
949
  expect(screen.getByText('unknown-state').className).toContain('bg-secondary');
950
950
  });
@@ -24,7 +24,7 @@ export interface StatusBadgeProps {
24
24
  className?: string;
25
25
  }
26
26
 
27
- export function StatusBadge({ vocab, value, dot, mono = true, className }: StatusBadgeProps) {
27
+ export function StatusBadge({ vocab, value, dot, mono = false, className }: StatusBadgeProps) {
28
28
  const entry: StatusEntry | undefined = vocab[value];
29
29
  return (
30
30
  <Badge tone={entry?.tone ?? 'neutral'} dot={dot ?? entry?.dot ?? true} mono={mono} className={className}>