oraculo-ui 0.2.13 → 0.2.15

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -42,10 +42,15 @@ export type OraculoPageLandingPreviewSection = {
42
42
  export type OpenMachineFn = (machine_name: string, provider: any, machine: any, external_id: any, type: any, demo: any, source: string) => void;
43
43
  export type OraculoExtras = Array<[string, unknown]>;
44
44
  export interface OraculoPageLandingPreviewProps {
45
+ /** Optional override: if provided, renders these sections instead of fetching Firestore */
45
46
  sectionsOverride?: OraculoPageLandingPreviewSection[];
47
+ /** Firestore document id (default 'home') */
46
48
  docId?: string;
49
+ /** Module id (default 301) */
47
50
  moduleId?: number;
51
+ /** Instancia de Firestore proporcionada por la app que consume el paquete */
48
52
  db: Firestore;
53
+ /** Componente que se renderizará mientras carga */
49
54
  loader?: React.ComponentType<any>;
50
55
  extras?: OraculoExtras;
51
56
  disableWrapper?: boolean;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "oraculo-ui",
3
- "version": "0.2.13",
3
+ "version": "0.2.15",
4
4
  "main": "./dist/index.cjs.js",
5
5
  "module": "./dist/index.es.js",
6
6
  "types": "./dist/index.d.ts",