Files
sigpro-ui/index.js
2026-03-31 12:52:33 +02:00

37 lines
740 B
JavaScript

/**
* SigproUI - Entry Point
*/
import * as Components from './src/components/index.js';
import * as Icons from './src/core/icons.js';
import * as Utils from './src/core/utils.js';
import { tt } from './src/core/i18n.js';
export * from './src/components/index.js';
export * from './src/core/icons.js';
export * from './src/core/utils.js';
export { tt };
const SigproUI = {
...Components,
Icons,
Utils,
tt,
install: (target = (typeof window !== 'undefined' ? window : {})) => {
Object.entries(Components).forEach(([name, component]) => {
target[name] = component;
});
target.Icons = Icons;
target.Utils = Utils;
target.tt = tt;
console.log("🌟 SigproUI");
}
};
export default SigproUI;