oraculo-ui 0.1.8 → 0.1.10

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.
package/dist/index.d.mts CHANGED
@@ -3,7 +3,7 @@ import React, { ReactNode } from 'react';
3
3
 
4
4
  interface OraculoButtonProps {
5
5
  children?: React.ReactNode;
6
- onClick?: () => void;
6
+ onClick?: any;
7
7
  href?: string;
8
8
  target?: React.HTMLAttributeAnchorTarget;
9
9
  rel?: string;
@@ -108,6 +108,7 @@ interface OraculoGameCardProps {
108
108
  imageUrl: string;
109
109
  onClick?: () => void;
110
110
  size?: "lg" | "sm";
111
+ fillParent?: boolean;
111
112
  }
112
113
  declare const OraculoGameCard: React.FC<OraculoGameCardProps>;
113
114
 
@@ -286,4 +287,41 @@ declare function OraculoPageLanding({ props }: {
286
287
  props: parametros;
287
288
  }): react_jsx_runtime.JSX.Element;
288
289
 
289
- export { type OraculoBonosItem, OraculoButton, type OraculoButtonProps, OraculoCarousel, OraculoCarouselDots, type OraculoCarouselDotsProps, type OraculoCarouselOptions, type OraculoCarouselProps, type OraculoCarouselRef, OraculoClubOlimpoVisual, type OraculoClubOlimpoVisualProps, OraculoGameCard, type OraculoGameCardProps, type OraculoGameItem, OraculoGameRankCard, type OraculoGameRankCardProps, type OraculoGameRankCardSizes, OraculoGameSlide, type OraculoGameSlideItem, type OraculoGameSlideProps, OraculoLiveCasinoCard, type OraculoLiveCasinoCardProps, OraculoPageLanding, OraculoSeccionBonoBienvenida, type OraculoSeccionBonoProps, OraculoSeccionCasino, OraculoSeccionCasinoEnVivo, type OraculoSeccionCasinoEnVivoProps, type OraculoSeccionCasinoProps, OraculoSeccionClubOlimpo, type OraculoSeccionClubOlimpoItem, OraculoSeccionDestacados, type OraculoSeccionDestacadosItem, type OraculoSeccionDestacadosProps, OraculoSeccionTopJuegos, type OraculoSeccionTopJuegosProps, OraculoSeccionVirtuales, type OraculoSeccionVirtualesProps, OraculoSectionTitle, type OraculoSectionTitleProps, OraculoSeccionTopJuegos as OraculoTopJuegoItem, OraculoWelcomeBanner, type OraculoWelcomeBannerProps };
290
+ type OraculoPageLandingPreviewSection = {
291
+ id: number;
292
+ title: string;
293
+ componentKey: string;
294
+ visible: boolean;
295
+ order: number;
296
+ props?: Record<string, unknown>;
297
+ apiUrl?: string;
298
+ dataMode?: "url" | "manual";
299
+ variableName?: string;
300
+ manualItems?: {
301
+ fields: {
302
+ name: string;
303
+ type: string;
304
+ value: string;
305
+ }[];
306
+ }[];
307
+ manualScalarFields?: {
308
+ name: string;
309
+ type: string;
310
+ value: string;
311
+ }[];
312
+ apiMethod?: "GET" | "POST";
313
+ apiParams?: {
314
+ id: string;
315
+ key: string;
316
+ value: string;
317
+ }[];
318
+ };
319
+ interface OraculoPageLandingPreviewProps {
320
+ /** Optional override: if provided, renders these sections instead of fetching Firestore */
321
+ sectionsOverride?: OraculoPageLandingPreviewSection[];
322
+ /** Firestore document id (default 'home') */
323
+ docId?: string;
324
+ }
325
+ declare const OraculoPageLandingPreview: React.FC<OraculoPageLandingPreviewProps>;
326
+
327
+ export { type OraculoBonosItem, OraculoButton, type OraculoButtonProps, OraculoCarousel, OraculoCarouselDots, type OraculoCarouselDotsProps, type OraculoCarouselOptions, type OraculoCarouselProps, type OraculoCarouselRef, OraculoClubOlimpoVisual, type OraculoClubOlimpoVisualProps, OraculoGameCard, type OraculoGameCardProps, type OraculoGameItem, OraculoGameRankCard, type OraculoGameRankCardProps, type OraculoGameRankCardSizes, OraculoGameSlide, type OraculoGameSlideItem, type OraculoGameSlideProps, OraculoLiveCasinoCard, type OraculoLiveCasinoCardProps, OraculoPageLanding, OraculoPageLandingPreview, type OraculoPageLandingPreviewProps, type OraculoPageLandingPreviewSection, OraculoSeccionBonoBienvenida, type OraculoSeccionBonoProps, OraculoSeccionCasino, OraculoSeccionCasinoEnVivo, type OraculoSeccionCasinoEnVivoProps, type OraculoSeccionCasinoProps, OraculoSeccionClubOlimpo, type OraculoSeccionClubOlimpoItem, OraculoSeccionDestacados, type OraculoSeccionDestacadosItem, type OraculoSeccionDestacadosProps, OraculoSeccionTopJuegos, type OraculoSeccionTopJuegosProps, OraculoSeccionVirtuales, type OraculoSeccionVirtualesProps, OraculoSectionTitle, type OraculoSectionTitleProps, OraculoSeccionTopJuegos as OraculoTopJuegoItem, OraculoWelcomeBanner, type OraculoWelcomeBannerProps };
package/dist/index.d.ts CHANGED
@@ -3,7 +3,7 @@ import React, { ReactNode } from 'react';
3
3
 
4
4
  interface OraculoButtonProps {
5
5
  children?: React.ReactNode;
6
- onClick?: () => void;
6
+ onClick?: any;
7
7
  href?: string;
8
8
  target?: React.HTMLAttributeAnchorTarget;
9
9
  rel?: string;
@@ -108,6 +108,7 @@ interface OraculoGameCardProps {
108
108
  imageUrl: string;
109
109
  onClick?: () => void;
110
110
  size?: "lg" | "sm";
111
+ fillParent?: boolean;
111
112
  }
112
113
  declare const OraculoGameCard: React.FC<OraculoGameCardProps>;
113
114
 
@@ -286,4 +287,41 @@ declare function OraculoPageLanding({ props }: {
286
287
  props: parametros;
287
288
  }): react_jsx_runtime.JSX.Element;
288
289
 
289
- export { type OraculoBonosItem, OraculoButton, type OraculoButtonProps, OraculoCarousel, OraculoCarouselDots, type OraculoCarouselDotsProps, type OraculoCarouselOptions, type OraculoCarouselProps, type OraculoCarouselRef, OraculoClubOlimpoVisual, type OraculoClubOlimpoVisualProps, OraculoGameCard, type OraculoGameCardProps, type OraculoGameItem, OraculoGameRankCard, type OraculoGameRankCardProps, type OraculoGameRankCardSizes, OraculoGameSlide, type OraculoGameSlideItem, type OraculoGameSlideProps, OraculoLiveCasinoCard, type OraculoLiveCasinoCardProps, OraculoPageLanding, OraculoSeccionBonoBienvenida, type OraculoSeccionBonoProps, OraculoSeccionCasino, OraculoSeccionCasinoEnVivo, type OraculoSeccionCasinoEnVivoProps, type OraculoSeccionCasinoProps, OraculoSeccionClubOlimpo, type OraculoSeccionClubOlimpoItem, OraculoSeccionDestacados, type OraculoSeccionDestacadosItem, type OraculoSeccionDestacadosProps, OraculoSeccionTopJuegos, type OraculoSeccionTopJuegosProps, OraculoSeccionVirtuales, type OraculoSeccionVirtualesProps, OraculoSectionTitle, type OraculoSectionTitleProps, OraculoSeccionTopJuegos as OraculoTopJuegoItem, OraculoWelcomeBanner, type OraculoWelcomeBannerProps };
290
+ type OraculoPageLandingPreviewSection = {
291
+ id: number;
292
+ title: string;
293
+ componentKey: string;
294
+ visible: boolean;
295
+ order: number;
296
+ props?: Record<string, unknown>;
297
+ apiUrl?: string;
298
+ dataMode?: "url" | "manual";
299
+ variableName?: string;
300
+ manualItems?: {
301
+ fields: {
302
+ name: string;
303
+ type: string;
304
+ value: string;
305
+ }[];
306
+ }[];
307
+ manualScalarFields?: {
308
+ name: string;
309
+ type: string;
310
+ value: string;
311
+ }[];
312
+ apiMethod?: "GET" | "POST";
313
+ apiParams?: {
314
+ id: string;
315
+ key: string;
316
+ value: string;
317
+ }[];
318
+ };
319
+ interface OraculoPageLandingPreviewProps {
320
+ /** Optional override: if provided, renders these sections instead of fetching Firestore */
321
+ sectionsOverride?: OraculoPageLandingPreviewSection[];
322
+ /** Firestore document id (default 'home') */
323
+ docId?: string;
324
+ }
325
+ declare const OraculoPageLandingPreview: React.FC<OraculoPageLandingPreviewProps>;
326
+
327
+ export { type OraculoBonosItem, OraculoButton, type OraculoButtonProps, OraculoCarousel, OraculoCarouselDots, type OraculoCarouselDotsProps, type OraculoCarouselOptions, type OraculoCarouselProps, type OraculoCarouselRef, OraculoClubOlimpoVisual, type OraculoClubOlimpoVisualProps, OraculoGameCard, type OraculoGameCardProps, type OraculoGameItem, OraculoGameRankCard, type OraculoGameRankCardProps, type OraculoGameRankCardSizes, OraculoGameSlide, type OraculoGameSlideItem, type OraculoGameSlideProps, OraculoLiveCasinoCard, type OraculoLiveCasinoCardProps, OraculoPageLanding, OraculoPageLandingPreview, type OraculoPageLandingPreviewProps, type OraculoPageLandingPreviewSection, OraculoSeccionBonoBienvenida, type OraculoSeccionBonoProps, OraculoSeccionCasino, OraculoSeccionCasinoEnVivo, type OraculoSeccionCasinoEnVivoProps, type OraculoSeccionCasinoProps, OraculoSeccionClubOlimpo, type OraculoSeccionClubOlimpoItem, OraculoSeccionDestacados, type OraculoSeccionDestacadosItem, type OraculoSeccionDestacadosProps, OraculoSeccionTopJuegos, type OraculoSeccionTopJuegosProps, OraculoSeccionVirtuales, type OraculoSeccionVirtualesProps, OraculoSectionTitle, type OraculoSectionTitleProps, OraculoSeccionTopJuegos as OraculoTopJuegoItem, OraculoWelcomeBanner, type OraculoWelcomeBannerProps };