repair docs

This commit is contained in:
2026-04-04 18:09:23 +02:00
parent 8f9d01e766
commit 9fefa6dcb1
11 changed files with 636 additions and 133 deletions

View File

@@ -1,10 +1,21 @@
// index.js
import './src/sigpro.js'; // El Core
import './src/sigpro.js';
import * as Components from './src/components/index.js';
import * as Utils from './src/core/utils.js';
import { tt } from './src/core/i18n.js';
// Exportamos todo para que el Tree Shaking funcione
export * from './src/components/index.js';
export * from './src/core/utils.js';
export { tt };
export { tt };
if (typeof window !== 'undefined') {
Object.entries(Components).forEach(([name, component]) => {
window[name] = component;
});
window.Utils = Utils;
window.tt = tt;
window.SigProUI = { ...Components, Utils, tt };
console.log("🎨 SigProUI ready");
}