feat: responsive system, engineering infra, new components, performance
- Section: responsive prop with media query injection - visual-weights: fontSize clamp() for responsive sizing - variables.css: add border-radius/shadow/transition/z-index tokens - ESLint flat config + Prettier + Changeset init - New components: Footer, NewsSidebar, BreakingNewsBanner - Image/Figure: loading=lazy, aspectRatio, sizes props
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
import '@newspaperui/theme';
|
||||
import 'newspaperui-theme';
|
||||
|
||||
// layout
|
||||
export { Layout, useLayout } from './layout/Layout';
|
||||
@@ -13,6 +13,12 @@ export { Masthead } from './layout/Masthead';
|
||||
export type { MastheadProps } from './layout/Masthead';
|
||||
export { Rule } from './layout/Rule';
|
||||
export type { RuleProps } from './layout/Rule';
|
||||
export { Footer } from './layout/Footer';
|
||||
export type { FooterProps } from './layout/Footer';
|
||||
export { Sidebar as NewsSidebar } from './layout/Sidebar';
|
||||
export type { SidebarProps as NewsSidebarProps } from './layout/Sidebar';
|
||||
export { BreakingNewsBanner } from './layout/BreakingNewsBanner';
|
||||
export type { BreakingNewsBannerProps } from './layout/BreakingNewsBanner';
|
||||
|
||||
// text
|
||||
export { Headline } from './text/Headline';
|
||||
|
||||
Reference in New Issue
Block a user