refactor: rename to single package 'newspaperui' for simpler install

This commit is contained in:
sunzhongyi
2026-05-21 11:20:01 +08:00
parent 6d29e1a3e6
commit 60831e07aa
24 changed files with 42 additions and 38 deletions
@@ -7,7 +7,7 @@ import {
Headline,
Subhead,
BodyText,
} from 'newspaperui-components';
} from 'newspaperui';
import { Demo } from '@/components/Demo';
import { PropsTable } from '@/components/PropsTable';
@@ -7,7 +7,7 @@ import {
Subhead,
BodyText,
Masthead,
} from 'newspaperui-components';
} from 'newspaperui';
import { Demo } from '@/components/Demo';
import { PropsTable } from '@/components/PropsTable';
@@ -8,7 +8,7 @@ import {
BodyText,
Figure,
PullQuote,
} from 'newspaperui-components';
} from 'newspaperui';
import { Demo } from '@/components/Demo';
import { PropsTable } from '@/components/PropsTable';
@@ -7,7 +7,7 @@ import {
Subhead,
BodyText,
Rule,
} from 'newspaperui-components';
} from 'newspaperui';
import { Demo } from '@/components/Demo';
import { PropsTable } from '@/components/PropsTable';
@@ -7,7 +7,7 @@ import {
Subhead,
BodyText,
Rule,
} from 'newspaperui-components';
} from 'newspaperui';
import { CodeBlock } from '@/components/CodeBlock';
export default function ResponsivePage() {
@@ -7,7 +7,7 @@ import {
Subhead,
BodyText,
Rule,
} from 'newspaperui-components';
} from 'newspaperui';
import { Demo } from '@/components/Demo';
export default function SpanningPage() {
@@ -6,7 +6,7 @@ import {
Headline,
Subhead,
BodyText,
} from 'newspaperui-components';
} from 'newspaperui';
import { Demo } from '@/components/Demo';
import { PropsTable } from '@/components/PropsTable';
+1 -1
View File
@@ -11,7 +11,7 @@ import {
Byline,
Dateline,
Caption,
} from 'newspaperui-components';
} from 'newspaperui';
import { visualWeights, resolveFontSize } from 'newspaperui-theme';
import { Demo } from '@/components/Demo';
+1 -1
View File
@@ -6,7 +6,7 @@ import {
Headline,
Subhead,
BodyText,
} from 'newspaperui-components';
} from 'newspaperui';
import { ThemeToggle } from '@/components/ThemeToggle';
interface Swatch {