@trimble-oss/moduswebcomponents
Version:
Modus Web Components is a modern, accessible UI library built with Stencil JS that provides reusable web components following Trimble's Modus design system. This updated version focuses on improved flexibility, enhanced theming options, comprehensive cust
34 lines (33 loc) • 1.64 kB
TypeScript
/**
* Available logo names for the Modus Logo component
*/
export type LogoName = 'trimble' | 'siteworks' | 'earthworks' | 'financials' | 'worksmanager' | 'connect' | 'unity_construct' | 'trade_servicelive' | 'buildable' | 'livecount' | 'supplier_xchange' | 'app_xchange' | 'trimble_unity' | 'sketchup' | 'pc_miler' | 'copilot' | 'trimble_pay' | 'projectsight' | 'demand_planning' | 'viewpoint' | 'viewpoint_analytics' | 'viewpoint_epayments' | 'viewpoint_estimating' | 'viewpoint_field_management' | 'viewpoint_field_time' | 'viewpoint_financial_controls' | 'viewpoint_hr_management' | 'viewpoint_jobpac_connect' | 'viewpoint_procontractor' | 'viewpoint_spectrum' | 'viewpoint_team' | 'viewpoint_vista' | 'viewpoint_spectrum_service_tech' | 'viewpoint_for_projects' | 'viewpoint_vista_field_service' | 'viewpoint_field_view';
/**
* Logo information interface
*/
export interface ILogoInfo {
/** Display name for the logo */
displayName: string;
/** Path to the logo asset (light theme) */
path: string;
/** Path to the dark theme logo */
pathDark?: string;
/** Path to the emblem version (icon only, light theme) */
emblemPath?: string;
/** Path to the dark theme emblem */
emblemPathDark?: string;
/** Category of the logo */
category: 'trimble' | 'viewpoint';
}
/**
* Logo variants mapping
*/
export declare const LOGO_VARIANTS: Record<LogoName, ILogoInfo>;
/**
* Get all available logo names
*/
export declare function getAvailableLogos(): LogoName[];
/**
* Get logos by category
*/
export declare function getLogosByCategory(category: 'trimble' | 'viewpoint'): LogoName[];