oraculo-ui 0.1.0 → 0.1.1
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 +142 -1
- package/dist/index.d.ts +142 -1
- package/dist/index.js +919 -17
- package/dist/index.mjs +897 -13
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -64,6 +64,51 @@ interface OraculoCarouselProps<T = any> {
|
|
|
64
64
|
}
|
|
65
65
|
declare const OraculoCarousel: React.ForwardRefExoticComponent<OraculoCarouselProps<any> & React.RefAttributes<OraculoCarouselRef>>;
|
|
66
66
|
|
|
67
|
+
type SizeOpt = {
|
|
68
|
+
w: number;
|
|
69
|
+
h: number;
|
|
70
|
+
r?: number;
|
|
71
|
+
font?: number;
|
|
72
|
+
};
|
|
73
|
+
interface OraculoGameRankCardSizes {
|
|
74
|
+
xs: SizeOpt;
|
|
75
|
+
md: SizeOpt;
|
|
76
|
+
}
|
|
77
|
+
interface OraculoGameRankCardProps {
|
|
78
|
+
imageUrl: string;
|
|
79
|
+
orden?: number;
|
|
80
|
+
onClick?: () => void;
|
|
81
|
+
sizes?: OraculoGameRankCardSizes;
|
|
82
|
+
}
|
|
83
|
+
declare function OraculoGameRankCard({ imageUrl, orden, onClick, sizes, }: OraculoGameRankCardProps): react_jsx_runtime.JSX.Element;
|
|
84
|
+
|
|
85
|
+
interface OraculoLiveCasinoCardProps {
|
|
86
|
+
logo: string;
|
|
87
|
+
provider?: string;
|
|
88
|
+
providerName?: string;
|
|
89
|
+
machine?: number | string;
|
|
90
|
+
onClick?: () => void;
|
|
91
|
+
}
|
|
92
|
+
declare const OraculoLiveCasinoCard: React.FC<OraculoLiveCasinoCardProps>;
|
|
93
|
+
|
|
94
|
+
interface OraculoGameCardProps {
|
|
95
|
+
imageUrl: string;
|
|
96
|
+
onClick?: () => void;
|
|
97
|
+
size?: "lg" | "sm";
|
|
98
|
+
}
|
|
99
|
+
declare const OraculoGameCard: React.FC<OraculoGameCardProps>;
|
|
100
|
+
|
|
101
|
+
interface OraculoGameSlideItem {
|
|
102
|
+
id: string | number;
|
|
103
|
+
imageUrl: string;
|
|
104
|
+
}
|
|
105
|
+
interface OraculoGameSlideProps {
|
|
106
|
+
items: OraculoGameSlideItem[];
|
|
107
|
+
layout?: "mosaic" | "grid";
|
|
108
|
+
onClick?: (item: OraculoGameSlideItem) => void;
|
|
109
|
+
}
|
|
110
|
+
declare const OraculoGameSlide: React.FC<OraculoGameSlideProps>;
|
|
111
|
+
|
|
67
112
|
interface OraculoDestacadoItem {
|
|
68
113
|
id?: string | number;
|
|
69
114
|
src: string;
|
|
@@ -78,4 +123,100 @@ interface OraculoSeccionDestacadosProps {
|
|
|
78
123
|
}
|
|
79
124
|
declare function OraculoSeccionDestacados({ items, title, iconUrl, onViewMore, className, }: OraculoSeccionDestacadosProps): react_jsx_runtime.JSX.Element;
|
|
80
125
|
|
|
81
|
-
|
|
126
|
+
interface OraculoTopJuegoItem {
|
|
127
|
+
orden?: number;
|
|
128
|
+
logo?: string;
|
|
129
|
+
machine?: number | string;
|
|
130
|
+
name?: string;
|
|
131
|
+
web_name?: string;
|
|
132
|
+
provider?: string;
|
|
133
|
+
sub_provider?: string;
|
|
134
|
+
external_id?: string;
|
|
135
|
+
type?: string;
|
|
136
|
+
tags?: string;
|
|
137
|
+
lobby_tag?: string | null;
|
|
138
|
+
background?: string;
|
|
139
|
+
rtp?: number;
|
|
140
|
+
demo_allowed?: boolean;
|
|
141
|
+
gaming_session_required?: boolean;
|
|
142
|
+
}
|
|
143
|
+
interface OraculoSeccionTopJuegosProps {
|
|
144
|
+
items: OraculoTopJuegoItem[];
|
|
145
|
+
title?: string;
|
|
146
|
+
iconUrl?: string;
|
|
147
|
+
onCardClick?: (juego: OraculoTopJuegoItem, index: number) => void;
|
|
148
|
+
className?: string;
|
|
149
|
+
}
|
|
150
|
+
declare function OraculoSeccionTopJuegos({ items, title, iconUrl, onCardClick, className, }: OraculoSeccionTopJuegosProps): react_jsx_runtime.JSX.Element;
|
|
151
|
+
|
|
152
|
+
interface OraculoLiveCasinoItem {
|
|
153
|
+
machine?: number | string;
|
|
154
|
+
name?: string;
|
|
155
|
+
web_name?: string;
|
|
156
|
+
provider?: string;
|
|
157
|
+
sub_provider?: string;
|
|
158
|
+
external_id?: string;
|
|
159
|
+
type?: string;
|
|
160
|
+
tags?: string;
|
|
161
|
+
lobby_tag?: string | null;
|
|
162
|
+
logo?: string;
|
|
163
|
+
background?: string;
|
|
164
|
+
rtp?: number;
|
|
165
|
+
demo_allowed?: boolean;
|
|
166
|
+
gaming_session_required?: boolean;
|
|
167
|
+
}
|
|
168
|
+
interface OraculoSeccionCasinoEnVivoProps {
|
|
169
|
+
items: OraculoLiveCasinoItem[];
|
|
170
|
+
title?: string;
|
|
171
|
+
subtitle?: string;
|
|
172
|
+
backgroundMobileUrl?: string;
|
|
173
|
+
backgroundDesktopUrl?: string;
|
|
174
|
+
onCardClick?: (juego: OraculoLiveCasinoItem, index: number) => void;
|
|
175
|
+
onViewMore?: () => void;
|
|
176
|
+
className?: string;
|
|
177
|
+
}
|
|
178
|
+
declare const OraculoSeccionCasinoEnVivo: React.FC<OraculoSeccionCasinoEnVivoProps>;
|
|
179
|
+
|
|
180
|
+
interface OraculoGameItem {
|
|
181
|
+
id?: string | number;
|
|
182
|
+
machine?: number | string;
|
|
183
|
+
logo?: string;
|
|
184
|
+
imageUrl?: string;
|
|
185
|
+
name?: string;
|
|
186
|
+
web_name?: string;
|
|
187
|
+
provider?: string;
|
|
188
|
+
sub_provider?: string;
|
|
189
|
+
external_id?: string;
|
|
190
|
+
type?: string;
|
|
191
|
+
tags?: string;
|
|
192
|
+
lobby_tag?: string | null;
|
|
193
|
+
background?: string;
|
|
194
|
+
rtp?: number | null;
|
|
195
|
+
demo_allowed?: boolean;
|
|
196
|
+
gaming_session_required?: boolean;
|
|
197
|
+
}
|
|
198
|
+
interface OraculoSeccionCasinoProps {
|
|
199
|
+
items: OraculoGameItem[];
|
|
200
|
+
title?: string;
|
|
201
|
+
iconUrl?: string;
|
|
202
|
+
onItemClick?: (game: OraculoGameItem) => void;
|
|
203
|
+
onViewMore?: () => void;
|
|
204
|
+
mosaicFirst?: boolean;
|
|
205
|
+
gridSize?: number;
|
|
206
|
+
className?: string;
|
|
207
|
+
}
|
|
208
|
+
declare const OraculoSeccionCasino: React.FC<OraculoSeccionCasinoProps>;
|
|
209
|
+
|
|
210
|
+
interface OraculoSeccionVirtualesProps {
|
|
211
|
+
items: OraculoGameItem[];
|
|
212
|
+
title?: string;
|
|
213
|
+
iconUrl?: string;
|
|
214
|
+
onItemClick?: (game: OraculoGameItem) => void;
|
|
215
|
+
onViewMore?: () => void;
|
|
216
|
+
mosaicFirst?: boolean;
|
|
217
|
+
gridSize?: number;
|
|
218
|
+
className?: string;
|
|
219
|
+
}
|
|
220
|
+
declare const OraculoSeccionVirtuales: React.FC<OraculoSeccionVirtualesProps>;
|
|
221
|
+
|
|
222
|
+
export { OraculoButton, type OraculoButtonProps, OraculoCarousel, type OraculoCarouselOptions, type OraculoCarouselProps, type OraculoCarouselRef, type OraculoDestacadoItem, OraculoGameCard, type OraculoGameCardProps, type OraculoGameItem, OraculoGameRankCard, type OraculoGameRankCardProps, type OraculoGameRankCardSizes, OraculoGameSlide, type OraculoGameSlideItem, type OraculoGameSlideProps, OraculoLiveCasinoCard, type OraculoLiveCasinoCardProps, type OraculoLiveCasinoItem, OraculoSeccionCasino, OraculoSeccionCasinoEnVivo, type OraculoSeccionCasinoEnVivoProps, type OraculoSeccionCasinoProps, OraculoSeccionDestacados, type OraculoSeccionDestacadosProps, OraculoSeccionTopJuegos, type OraculoSeccionTopJuegosProps, OraculoSeccionVirtuales, type OraculoSeccionVirtualesProps, OraculoSectionTitle, type OraculoSectionTitleProps, type OraculoTopJuegoItem };
|
package/dist/index.d.ts
CHANGED
|
@@ -64,6 +64,51 @@ interface OraculoCarouselProps<T = any> {
|
|
|
64
64
|
}
|
|
65
65
|
declare const OraculoCarousel: React.ForwardRefExoticComponent<OraculoCarouselProps<any> & React.RefAttributes<OraculoCarouselRef>>;
|
|
66
66
|
|
|
67
|
+
type SizeOpt = {
|
|
68
|
+
w: number;
|
|
69
|
+
h: number;
|
|
70
|
+
r?: number;
|
|
71
|
+
font?: number;
|
|
72
|
+
};
|
|
73
|
+
interface OraculoGameRankCardSizes {
|
|
74
|
+
xs: SizeOpt;
|
|
75
|
+
md: SizeOpt;
|
|
76
|
+
}
|
|
77
|
+
interface OraculoGameRankCardProps {
|
|
78
|
+
imageUrl: string;
|
|
79
|
+
orden?: number;
|
|
80
|
+
onClick?: () => void;
|
|
81
|
+
sizes?: OraculoGameRankCardSizes;
|
|
82
|
+
}
|
|
83
|
+
declare function OraculoGameRankCard({ imageUrl, orden, onClick, sizes, }: OraculoGameRankCardProps): react_jsx_runtime.JSX.Element;
|
|
84
|
+
|
|
85
|
+
interface OraculoLiveCasinoCardProps {
|
|
86
|
+
logo: string;
|
|
87
|
+
provider?: string;
|
|
88
|
+
providerName?: string;
|
|
89
|
+
machine?: number | string;
|
|
90
|
+
onClick?: () => void;
|
|
91
|
+
}
|
|
92
|
+
declare const OraculoLiveCasinoCard: React.FC<OraculoLiveCasinoCardProps>;
|
|
93
|
+
|
|
94
|
+
interface OraculoGameCardProps {
|
|
95
|
+
imageUrl: string;
|
|
96
|
+
onClick?: () => void;
|
|
97
|
+
size?: "lg" | "sm";
|
|
98
|
+
}
|
|
99
|
+
declare const OraculoGameCard: React.FC<OraculoGameCardProps>;
|
|
100
|
+
|
|
101
|
+
interface OraculoGameSlideItem {
|
|
102
|
+
id: string | number;
|
|
103
|
+
imageUrl: string;
|
|
104
|
+
}
|
|
105
|
+
interface OraculoGameSlideProps {
|
|
106
|
+
items: OraculoGameSlideItem[];
|
|
107
|
+
layout?: "mosaic" | "grid";
|
|
108
|
+
onClick?: (item: OraculoGameSlideItem) => void;
|
|
109
|
+
}
|
|
110
|
+
declare const OraculoGameSlide: React.FC<OraculoGameSlideProps>;
|
|
111
|
+
|
|
67
112
|
interface OraculoDestacadoItem {
|
|
68
113
|
id?: string | number;
|
|
69
114
|
src: string;
|
|
@@ -78,4 +123,100 @@ interface OraculoSeccionDestacadosProps {
|
|
|
78
123
|
}
|
|
79
124
|
declare function OraculoSeccionDestacados({ items, title, iconUrl, onViewMore, className, }: OraculoSeccionDestacadosProps): react_jsx_runtime.JSX.Element;
|
|
80
125
|
|
|
81
|
-
|
|
126
|
+
interface OraculoTopJuegoItem {
|
|
127
|
+
orden?: number;
|
|
128
|
+
logo?: string;
|
|
129
|
+
machine?: number | string;
|
|
130
|
+
name?: string;
|
|
131
|
+
web_name?: string;
|
|
132
|
+
provider?: string;
|
|
133
|
+
sub_provider?: string;
|
|
134
|
+
external_id?: string;
|
|
135
|
+
type?: string;
|
|
136
|
+
tags?: string;
|
|
137
|
+
lobby_tag?: string | null;
|
|
138
|
+
background?: string;
|
|
139
|
+
rtp?: number;
|
|
140
|
+
demo_allowed?: boolean;
|
|
141
|
+
gaming_session_required?: boolean;
|
|
142
|
+
}
|
|
143
|
+
interface OraculoSeccionTopJuegosProps {
|
|
144
|
+
items: OraculoTopJuegoItem[];
|
|
145
|
+
title?: string;
|
|
146
|
+
iconUrl?: string;
|
|
147
|
+
onCardClick?: (juego: OraculoTopJuegoItem, index: number) => void;
|
|
148
|
+
className?: string;
|
|
149
|
+
}
|
|
150
|
+
declare function OraculoSeccionTopJuegos({ items, title, iconUrl, onCardClick, className, }: OraculoSeccionTopJuegosProps): react_jsx_runtime.JSX.Element;
|
|
151
|
+
|
|
152
|
+
interface OraculoLiveCasinoItem {
|
|
153
|
+
machine?: number | string;
|
|
154
|
+
name?: string;
|
|
155
|
+
web_name?: string;
|
|
156
|
+
provider?: string;
|
|
157
|
+
sub_provider?: string;
|
|
158
|
+
external_id?: string;
|
|
159
|
+
type?: string;
|
|
160
|
+
tags?: string;
|
|
161
|
+
lobby_tag?: string | null;
|
|
162
|
+
logo?: string;
|
|
163
|
+
background?: string;
|
|
164
|
+
rtp?: number;
|
|
165
|
+
demo_allowed?: boolean;
|
|
166
|
+
gaming_session_required?: boolean;
|
|
167
|
+
}
|
|
168
|
+
interface OraculoSeccionCasinoEnVivoProps {
|
|
169
|
+
items: OraculoLiveCasinoItem[];
|
|
170
|
+
title?: string;
|
|
171
|
+
subtitle?: string;
|
|
172
|
+
backgroundMobileUrl?: string;
|
|
173
|
+
backgroundDesktopUrl?: string;
|
|
174
|
+
onCardClick?: (juego: OraculoLiveCasinoItem, index: number) => void;
|
|
175
|
+
onViewMore?: () => void;
|
|
176
|
+
className?: string;
|
|
177
|
+
}
|
|
178
|
+
declare const OraculoSeccionCasinoEnVivo: React.FC<OraculoSeccionCasinoEnVivoProps>;
|
|
179
|
+
|
|
180
|
+
interface OraculoGameItem {
|
|
181
|
+
id?: string | number;
|
|
182
|
+
machine?: number | string;
|
|
183
|
+
logo?: string;
|
|
184
|
+
imageUrl?: string;
|
|
185
|
+
name?: string;
|
|
186
|
+
web_name?: string;
|
|
187
|
+
provider?: string;
|
|
188
|
+
sub_provider?: string;
|
|
189
|
+
external_id?: string;
|
|
190
|
+
type?: string;
|
|
191
|
+
tags?: string;
|
|
192
|
+
lobby_tag?: string | null;
|
|
193
|
+
background?: string;
|
|
194
|
+
rtp?: number | null;
|
|
195
|
+
demo_allowed?: boolean;
|
|
196
|
+
gaming_session_required?: boolean;
|
|
197
|
+
}
|
|
198
|
+
interface OraculoSeccionCasinoProps {
|
|
199
|
+
items: OraculoGameItem[];
|
|
200
|
+
title?: string;
|
|
201
|
+
iconUrl?: string;
|
|
202
|
+
onItemClick?: (game: OraculoGameItem) => void;
|
|
203
|
+
onViewMore?: () => void;
|
|
204
|
+
mosaicFirst?: boolean;
|
|
205
|
+
gridSize?: number;
|
|
206
|
+
className?: string;
|
|
207
|
+
}
|
|
208
|
+
declare const OraculoSeccionCasino: React.FC<OraculoSeccionCasinoProps>;
|
|
209
|
+
|
|
210
|
+
interface OraculoSeccionVirtualesProps {
|
|
211
|
+
items: OraculoGameItem[];
|
|
212
|
+
title?: string;
|
|
213
|
+
iconUrl?: string;
|
|
214
|
+
onItemClick?: (game: OraculoGameItem) => void;
|
|
215
|
+
onViewMore?: () => void;
|
|
216
|
+
mosaicFirst?: boolean;
|
|
217
|
+
gridSize?: number;
|
|
218
|
+
className?: string;
|
|
219
|
+
}
|
|
220
|
+
declare const OraculoSeccionVirtuales: React.FC<OraculoSeccionVirtualesProps>;
|
|
221
|
+
|
|
222
|
+
export { OraculoButton, type OraculoButtonProps, OraculoCarousel, type OraculoCarouselOptions, type OraculoCarouselProps, type OraculoCarouselRef, type OraculoDestacadoItem, OraculoGameCard, type OraculoGameCardProps, type OraculoGameItem, OraculoGameRankCard, type OraculoGameRankCardProps, type OraculoGameRankCardSizes, OraculoGameSlide, type OraculoGameSlideItem, type OraculoGameSlideProps, OraculoLiveCasinoCard, type OraculoLiveCasinoCardProps, type OraculoLiveCasinoItem, OraculoSeccionCasino, OraculoSeccionCasinoEnVivo, type OraculoSeccionCasinoEnVivoProps, type OraculoSeccionCasinoProps, OraculoSeccionDestacados, type OraculoSeccionDestacadosProps, OraculoSeccionTopJuegos, type OraculoSeccionTopJuegosProps, OraculoSeccionVirtuales, type OraculoSeccionVirtualesProps, OraculoSectionTitle, type OraculoSectionTitleProps, type OraculoTopJuegoItem };
|