generated from NHSDigital/repository-template
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcore.ts
More file actions
32 lines (25 loc) · 1.39 KB
/
core.ts
File metadata and controls
32 lines (25 loc) · 1.39 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
// NHS FDP Design System - Core Only Entry Point
// This entry point only includes essential layout and utility components
// Individual component styles are imported by the components themselves
// Import core layout and utility styles only
import './styles/core.scss';
// Re-export ONLY core layout components (don't import all components)
export { Container, Row, Column, Grid } from './components/Grid';
export type {
ContainerProps,
RowProps,
ColumnProps,
GridProps
} from './components/Grid';
export { GridWidth, Breakpoint, Float } from './components/Grid';
export { MainWrapper } from './components/MainWrapper';
export type { MainWrapperProps } from './components/MainWrapper';
export { SpacingUtilities, getSpacingClass } from './components/SpacingUtilities';
export type { SpacingUtilitiesProps, SpacingUtilityClassNames } from './components/SpacingUtilities';
export { WidthUtilities, getWidthClass, WIDTH_FRACTIONS } from './components/WidthUtilities';
export type { WidthUtilitiesProps, WidthUtilityClassNames, WidthFraction } from './components/WidthUtilities';
export { SkipLink } from './components/SkipLink';
export type { SkipLinkProps } from './components/SkipLink';
// Note: Other components should be imported individually:
// import { Button } from '@nhsdigital/fdp-design-system/components/Button'
// This ensures their styles are only loaded when the component is actually used