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
+1 -1
View File
@@ -1,5 +1,5 @@
'use client';
import { Layout, Section, Article, Rule, Headline, Subhead, Kicker, BodyText, Byline, Dateline, Figure, PullQuote } from 'newspaperui-components';
import { Layout, Section, Article, Rule, Headline, Subhead, Kicker, BodyText, Byline, Dateline, Figure, PullQuote } from 'newspaperui';
export default function EnFeature() {
return (
@@ -1,5 +1,5 @@
'use client';
import { Layout, Section, Article, Rule, BodyText, Figure } from 'newspaperui-components';
import { Layout, Section, Article, Rule, BodyText, Figure } from 'newspaperui';
const jp = { fontFamily: 'var(--font-family-cjk-jp)' };
const jpAccent = { color: 'var(--nui-accent-ink-blue)' };
+1 -1
View File
@@ -1,6 +1,6 @@
'use client';
import Link from 'next/link';
import { Layout, Section, Article, Headline, Subhead, Kicker } from 'newspaperui-components';
import { Layout, Section, Article, Headline, Subhead, Kicker } from 'newspaperui';
const blocks = [
{
@@ -1,5 +1,5 @@
'use client';
import { Layout, Section, Article, Rule, BodyText, Quote } from 'newspaperui-components';
import { Layout, Section, Article, Rule, BodyText, Quote } from 'newspaperui';
const cn = { fontFamily: 'var(--font-family-cjk-serif)' };
const cnRed = { color: 'var(--nui-accent-cjk-red)' };
+1 -1
View File
@@ -1,5 +1,5 @@
'use client';
import { Layout, Section, Article, BodyText, Quote, Figure, PullQuote } from 'newspaperui-components';
import { Layout, Section, Article, BodyText, Quote, Figure, PullQuote } from 'newspaperui';
const cn = { fontFamily: 'var(--font-family-cjk-serif)' };
const cnRed = { color: 'var(--nui-accent-cjk-red)' };
@@ -1,5 +1,5 @@
'use client';
import { Layout, Section, Article, Rule, BodyText, Figure } from 'newspaperui-components';
import { Layout, Section, Article, Rule, BodyText, Figure } from 'newspaperui';
const cn = { fontFamily: 'var(--font-family-cjk-serif)' };
const cnRed = { color: 'var(--nui-accent-cjk-red)' };