Files
HMDesign/packages/center-graphic/src/index.ts
T

45 lines
1.8 KiB
TypeScript

// Public API of @hm-design/center-graphic (CENTER domain: title, information, route / spatial, facility).
// This package does not depend on @hm-design/ui. Reference demo pages are in "@hm-design/center-graphic/reference".
// Scale wrapper (CENTER_PAIR: 7680x2160 = 1.00, 3840x2160 = 0.75)
export { CenterRepresentation } from "./components/CenterRepresentation"
export type { CenterTargetResolution } from "./components/CenterRepresentation"
// Title
export { CenterTitle, CENTER_TITLE_COMPOSITIONS } from "./components/CenterTitle"
export type { CenterTitleComposition } from "./components/CenterTitle"
// Information
export { CenterInformationBox, CenterInformationTable, CenterInformationEmphasis, CENTER_INFORMATION_PALETTES } from "./components/CenterInformationDisplay"
export type {
CenterInformationPalette,
CenterInformationBoxItem,
CenterInformationListItem,
CenterInformationTableRow,
CenterInformationMetric,
} from "./components/CenterInformationDisplay"
// Route / spatial
export {
RouteLine,
ProjectRoute,
RouteNameBadge,
RouteNumberBadge,
DirectionBadge,
AdministrativeLabel,
NorthArrow,
BoundaryLine,
ProjectExtent,
ROUTE_CLASSES,
ROUTE_STATES,
ADMIN_LEVELS,
} from "./components/CenterSpatialInformation"
export type { RouteClassKey, RouteState, DirectionKind, AdminLevelKey, ProjectExtentSection } from "./components/CenterSpatialInformation"
// Facility
export { CompactFacilityConnection } from "./components/CompactFacilityConnection"
export { TunnelFacility, TUNNEL_ASSET_MAP } from "./components/TunnelFacility"
export type { TunnelVariant } from "./components/TunnelFacility"
export { LocalAssetFacility, RoadsideFacilityTag, FACILITY_CONFIGS } from "./components/FacilityBatch"
export type { FacilityConfig, FacilityVariant, RoadsideEntity } from "./components/FacilityBatch"