oraculo-ui 0.1.12 → 0.1.14

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.
Files changed (76) hide show
  1. package/dist/{OraculoSeccionBonoBienvenida-2APXZQQA.mjs → OraculoSeccionBonoBienvenida-EG5U752J.mjs} +2 -2
  2. package/dist/{OraculoSeccionCasino-ORWFZCMV.mjs → OraculoSeccionCasino-NSM2LPDZ.mjs} +5 -5
  3. package/dist/OraculoSeccionCasino-TFMAW7DD.mjs +12 -0
  4. package/dist/{OraculoSeccionCasinoEnVivo-ISYMJSUN.mjs → OraculoSeccionCasinoEnVivo-DSHBIQFL.mjs} +2 -2
  5. package/dist/{OraculoSeccionClubOlimpo-TV3LABJ5.mjs → OraculoSeccionClubOlimpo-2EZ3LMIL.mjs} +2 -2
  6. package/dist/OraculoSeccionDestacados-JNMBNCDQ.mjs +12 -0
  7. package/dist/OraculoSeccionDestacados-TFPJSEHF.mjs +12 -0
  8. package/dist/OraculoSeccionTopJuegos-55R5XMSK.mjs +12 -0
  9. package/dist/OraculoSeccionTopJuegos-R2K6COO2.mjs +12 -0
  10. package/dist/{OraculoSeccionVirtuales-FKHGLEVT.mjs → OraculoSeccionVirtuales-HZ4BACB3.mjs} +5 -5
  11. package/dist/OraculoSeccionVirtuales-Y7YXRA6S.mjs +12 -0
  12. package/dist/chunk-3MSTKPDC.mjs +38928 -0
  13. package/dist/{chunk-IJQLK4NO.mjs → chunk-DHENVY2Z.mjs} +10 -14
  14. package/dist/chunk-JSQWAWJ2.mjs +103 -0
  15. package/dist/chunk-NPAHCXJM.mjs +239 -0
  16. package/dist/{chunk-FROEVP3X.mjs → chunk-WKDAILVP.mjs} +472 -640
  17. package/dist/chunk-YWS57247.mjs +449 -0
  18. package/dist/index.d.mts +6 -20
  19. package/dist/index.d.ts +6 -20
  20. package/dist/index.js +937 -1165
  21. package/dist/index.mjs +9 -9
  22. package/package.json +1 -1
  23. package/dist/OraculoSeccionBonoBienvenida-4ZHLRFV2.css +0 -221
  24. package/dist/OraculoSeccionBonoBienvenida-4ZHLRFV2.css.map +0 -1
  25. package/dist/OraculoSeccionBonoBienvenida-6L54EBL3.mjs +0 -9
  26. package/dist/OraculoSeccionBonoBienvenida-6L54EBL3.mjs.map +0 -1
  27. package/dist/OraculoSeccionCasino-CPSKAAFH.css +0 -398
  28. package/dist/OraculoSeccionCasino-CPSKAAFH.css.map +0 -1
  29. package/dist/OraculoSeccionCasino-FHD2WBDU.mjs +0 -13
  30. package/dist/OraculoSeccionCasino-FHD2WBDU.mjs.map +0 -1
  31. package/dist/OraculoSeccionCasinoEnVivo-7W64K4YQ.css +0 -157
  32. package/dist/OraculoSeccionCasinoEnVivo-7W64K4YQ.css.map +0 -1
  33. package/dist/OraculoSeccionCasinoEnVivo-EPVIACRV.mjs +0 -9
  34. package/dist/OraculoSeccionCasinoEnVivo-EPVIACRV.mjs.map +0 -1
  35. package/dist/OraculoSeccionClubOlimpo-63QCT4A2.mjs +0 -10
  36. package/dist/OraculoSeccionClubOlimpo-63QCT4A2.mjs.map +0 -1
  37. package/dist/OraculoSeccionClubOlimpo-BLUJXLUC.mjs +0 -8
  38. package/dist/OraculoSeccionClubOlimpo-BLUJXLUC.mjs.map +0 -1
  39. package/dist/OraculoSeccionClubOlimpo-F2AFK4G3.css +0 -274
  40. package/dist/OraculoSeccionClubOlimpo-F2AFK4G3.css.map +0 -1
  41. package/dist/OraculoSeccionClubOlimpo-ZCBMTUL3.css +0 -117
  42. package/dist/OraculoSeccionClubOlimpo-ZCBMTUL3.css.map +0 -1
  43. package/dist/OraculoSeccionDestacados-5RFVEBFL.mjs +0 -13
  44. package/dist/OraculoSeccionDestacados-5RFVEBFL.mjs.map +0 -1
  45. package/dist/OraculoSeccionDestacados-6D4LKX4H.mjs +0 -12
  46. package/dist/OraculoSeccionDestacados-AMMYUK67.css +0 -398
  47. package/dist/OraculoSeccionDestacados-AMMYUK67.css.map +0 -1
  48. package/dist/OraculoSeccionTopJuegos-K6CHEKEP.mjs +0 -13
  49. package/dist/OraculoSeccionTopJuegos-K6CHEKEP.mjs.map +0 -1
  50. package/dist/OraculoSeccionTopJuegos-LEFQWP7T.mjs +0 -12
  51. package/dist/OraculoSeccionTopJuegos-XBGNNR6G.css +0 -398
  52. package/dist/OraculoSeccionTopJuegos-XBGNNR6G.css.map +0 -1
  53. package/dist/OraculoSeccionVirtuales-NEIWD2BT.mjs +0 -13
  54. package/dist/OraculoSeccionVirtuales-NEIWD2BT.mjs.map +0 -1
  55. package/dist/OraculoSeccionVirtuales-SSM6EDST.css +0 -398
  56. package/dist/OraculoSeccionVirtuales-SSM6EDST.css.map +0 -1
  57. package/dist/chunk-2D7ZJMJV.mjs +0 -118
  58. package/dist/chunk-4LBAYKDQ.mjs +0 -475
  59. package/dist/chunk-FIOWVLJP.mjs +0 -7
  60. package/dist/chunk-FIOWVLJP.mjs.map +0 -1
  61. package/dist/chunk-IGAIIVJZ.mjs +0 -74
  62. package/dist/chunk-IGAIIVJZ.mjs.map +0 -1
  63. package/dist/chunk-MC4XEBI3.mjs +0 -1277
  64. package/dist/chunk-MC4XEBI3.mjs.map +0 -1
  65. package/dist/chunk-PVY5Z3JS.mjs +0 -249
  66. package/dist/chunk-PYHDJZX3.mjs +0 -476
  67. package/dist/chunk-PYHDJZX3.mjs.map +0 -1
  68. package/dist/chunk-THUJNRMX.mjs +0 -119
  69. package/dist/chunk-THUJNRMX.mjs.map +0 -1
  70. package/dist/chunk-WTK2IT5O.mjs +0 -250
  71. package/dist/chunk-WTK2IT5O.mjs.map +0 -1
  72. package/dist/chunk-XNMUIY72.mjs +0 -10
  73. package/dist/chunk-XNMUIY72.mjs.map +0 -1
  74. package/dist/index.css.map +0 -1
  75. package/dist/index.js.map +0 -1
  76. package/dist/index.mjs.map +0 -1
@@ -0,0 +1,449 @@
1
+ import {
2
+ OraculoButton
3
+ } from "./chunk-DHENVY2Z.mjs";
4
+
5
+ // src/organisms/OraculoSeccionBonoBienvenida/OraculoSeccionBonoBienvenida.tsx
6
+ import React4, { useRef as useRef2, useState } from "react";
7
+ import Box2 from "@mui/material/Box";
8
+ import Typography2 from "@mui/material/Typography";
9
+ import useMediaQuery from "@mui/material/useMediaQuery";
10
+
11
+ // src/molecules/OraculoCarousel/OraculoCarousel.tsx
12
+ import React, {
13
+ forwardRef,
14
+ useCallback,
15
+ useImperativeHandle,
16
+ useRef
17
+ } from "react";
18
+ import {
19
+ Splide as SplideRaw,
20
+ SplideSlide as SplideSlideRaw
21
+ } from "@splidejs/react-splide";
22
+ var Splide = SplideRaw;
23
+ var SplideSlide = SplideSlideRaw;
24
+ var OraculoCarousel = forwardRef(
25
+ ({
26
+ items = [],
27
+ renderItem,
28
+ perPage = 1,
29
+ gap = "0px",
30
+ breakpoints,
31
+ options = {},
32
+ className = "",
33
+ onMove
34
+ }, ref) => {
35
+ const splideRef = useRef(null);
36
+ useImperativeHandle(ref, () => ({
37
+ next: () => {
38
+ var _a;
39
+ return (_a = splideRef.current) == null ? void 0 : _a.go(">");
40
+ },
41
+ prev: () => {
42
+ var _a;
43
+ return (_a = splideRef.current) == null ? void 0 : _a.go("<");
44
+ },
45
+ go: (index) => {
46
+ var _a;
47
+ return (_a = splideRef.current) == null ? void 0 : _a.go(index);
48
+ }
49
+ }));
50
+ const handleMove = useCallback(
51
+ (splide) => {
52
+ const index = splide.index;
53
+ const total = splide.length;
54
+ const currentPerPage = splide.options.perPage || 1;
55
+ const isStart = index === 0;
56
+ const isEnd = index >= total - currentPerPage;
57
+ onMove == null ? void 0 : onMove({ index, isStart, isEnd, total });
58
+ },
59
+ [onMove]
60
+ );
61
+ const handleMounted = useCallback(
62
+ (splide) => {
63
+ handleMove(splide);
64
+ },
65
+ [handleMove]
66
+ );
67
+ const mergedOptions = {
68
+ type: "slide",
69
+ trimSpace: false,
70
+ drag: true,
71
+ pagination: false,
72
+ arrows: false,
73
+ rewind: false,
74
+ focus: "start",
75
+ autoWidth: false,
76
+ perPage,
77
+ gap,
78
+ breakpoints,
79
+ ...options
80
+ };
81
+ return /* @__PURE__ */ React.createElement("div", { className, style: { width: "100%" } }, /* @__PURE__ */ React.createElement(
82
+ Splide,
83
+ {
84
+ ref: splideRef,
85
+ options: mergedOptions,
86
+ onMove: handleMove,
87
+ onMounted: handleMounted
88
+ },
89
+ items.map((item, index) => {
90
+ var _a;
91
+ return /* @__PURE__ */ React.createElement(SplideSlide, { key: (_a = item.id) != null ? _a : index }, renderItem(item, index));
92
+ })
93
+ ));
94
+ }
95
+ );
96
+ var OraculoCarousel_default = OraculoCarousel;
97
+
98
+ // src/molecules/OraculoWelcomeBanner/OraculoWelcomeBanner.tsx
99
+ import React2 from "react";
100
+ import Box from "@mui/material/Box";
101
+ import Typography from "@mui/material/Typography";
102
+ var OraculoWelcomeBanner = ({
103
+ title,
104
+ amount,
105
+ subtitle,
106
+ buttonText,
107
+ onButtonClick,
108
+ backgroundImage,
109
+ alt,
110
+ className = "",
111
+ variant = "small"
112
+ }) => {
113
+ const symbol = amount ? amount.slice(0, 2) : "";
114
+ const value = amount ? amount.slice(2) : "";
115
+ const isLarge = variant === "large";
116
+ return /* @__PURE__ */ React2.createElement(
117
+ Box,
118
+ {
119
+ className,
120
+ sx: {
121
+ position: "relative",
122
+ width: "100%",
123
+ maxWidth: {
124
+ xs: 328,
125
+ lg: isLarge ? 618 : 456
126
+ },
127
+ mx: "auto"
128
+ }
129
+ },
130
+ backgroundImage && /* @__PURE__ */ React2.createElement(
131
+ Box,
132
+ {
133
+ sx: {
134
+ position: "relative",
135
+ width: "100%",
136
+ aspectRatio: {
137
+ xs: "328 / 188",
138
+ lg: isLarge ? "618 / 346" : "456 / 272"
139
+ },
140
+ borderRadius: "14px",
141
+ overflow: "hidden"
142
+ }
143
+ },
144
+ /* @__PURE__ */ React2.createElement(
145
+ Box,
146
+ {
147
+ component: "img",
148
+ src: backgroundImage,
149
+ alt: alt != null ? alt : "Fondo promocional",
150
+ sx: {
151
+ width: "100%",
152
+ height: "100%",
153
+ objectFit: "cover",
154
+ objectPosition: {
155
+ xs: "50% 0%",
156
+ lg: "45% 0%"
157
+ },
158
+ display: "block"
159
+ }
160
+ }
161
+ )
162
+ ),
163
+ /* @__PURE__ */ React2.createElement(
164
+ Box,
165
+ {
166
+ sx: {
167
+ position: "absolute",
168
+ inset: 0,
169
+ display: "flex",
170
+ alignItems: "center",
171
+ justifyContent: "flex-end",
172
+ color: "#e7f8ff",
173
+ textAlign: "center",
174
+ pl: "14%",
175
+ pr: { xs: "14%", lg: "15%" }
176
+ }
177
+ },
178
+ /* @__PURE__ */ React2.createElement(
179
+ Box,
180
+ {
181
+ sx: {
182
+ maxWidth: "60%",
183
+ display: "flex",
184
+ flexDirection: "column",
185
+ alignItems: "center"
186
+ }
187
+ },
188
+ title && /* @__PURE__ */ React2.createElement(
189
+ Typography,
190
+ {
191
+ sx: {
192
+ fontSize: { xs: 12, lg: 20 },
193
+ fontWeight: 400,
194
+ color: "#e7f8ff"
195
+ }
196
+ },
197
+ title
198
+ ),
199
+ amount && /* @__PURE__ */ React2.createElement(
200
+ Box,
201
+ {
202
+ component: "p",
203
+ sx: {
204
+ fontFamily: '"secondary", sans-serif',
205
+ lineHeight: { xs: 0.9, lg: 0.87 },
206
+ m: "4px 0",
207
+ background: "linear-gradient(175deg, #EDC421 -12.56%, #FFFABF 17.99%, #EDC421 49.74%)",
208
+ WebkitBackgroundClip: "text",
209
+ WebkitTextFillColor: "transparent",
210
+ WebkitTextStroke: "0.5px #fff8c1",
211
+ filter: "drop-shadow(0px 4px 0px #8D4406) drop-shadow(0px 4px 4px rgba(28, 28, 28, 0.4))",
212
+ display: "flex",
213
+ alignItems: "baseline",
214
+ justifyContent: "center"
215
+ }
216
+ },
217
+ /* @__PURE__ */ React2.createElement(
218
+ Box,
219
+ {
220
+ component: "span",
221
+ sx: { fontSize: { xs: 35, lg: 48 }, mr: 0.5 }
222
+ },
223
+ symbol
224
+ ),
225
+ /* @__PURE__ */ React2.createElement(
226
+ Box,
227
+ {
228
+ component: "span",
229
+ sx: { fontSize: { xs: 52, lg: 77 } }
230
+ },
231
+ value
232
+ )
233
+ ),
234
+ subtitle && /* @__PURE__ */ React2.createElement(
235
+ Typography,
236
+ {
237
+ sx: {
238
+ pb: "20px",
239
+ fontSize: 14,
240
+ fontWeight: 600,
241
+ color: "#e7f8ff"
242
+ }
243
+ },
244
+ subtitle
245
+ ),
246
+ buttonText && /* @__PURE__ */ React2.createElement(OraculoButton, { onClick: onButtonClick }, buttonText)
247
+ )
248
+ )
249
+ );
250
+ };
251
+ var OraculoWelcomeBanner_default = OraculoWelcomeBanner;
252
+
253
+ // src/atoms/OraculoCarouselDots/OraculoCarouselDots.tsx
254
+ import React3 from "react";
255
+ var OraculoCarouselDots = ({
256
+ total,
257
+ active,
258
+ onSelect,
259
+ className = ""
260
+ }) => {
261
+ if (total <= 1) return null;
262
+ const rootClass = ["orc-dots", className].filter(Boolean).join(" ");
263
+ return /* @__PURE__ */ React3.createElement("div", { className: rootClass, role: "tablist" }, Array.from({ length: total }).map((_, i) => /* @__PURE__ */ React3.createElement("span", { key: i, className: "orc-dots__cell" }, /* @__PURE__ */ React3.createElement(
264
+ "button",
265
+ {
266
+ type: "button",
267
+ role: "tab",
268
+ "aria-selected": i === active,
269
+ "aria-label": `Ir al slide ${i + 1}`,
270
+ className: "orc-dots__dot" + (i === active ? " orc-dots__dot--active" : ""),
271
+ onClick: () => onSelect == null ? void 0 : onSelect(i)
272
+ }
273
+ ))));
274
+ };
275
+ var OraculoCarouselDots_default = OraculoCarouselDots;
276
+
277
+ // src/organisms/OraculoSeccionBonoBienvenida/OraculoSeccionBonoBienvenida.tsx
278
+ var buildSectionSx = (bgUrl) => ({
279
+ width: "100vw",
280
+ position: "relative",
281
+ left: "50%",
282
+ right: "50%",
283
+ marginLeft: "-50vw",
284
+ marginRight: "-50vw",
285
+ py: 8,
286
+ color: "#fff",
287
+ backgroundImage: `
288
+ linear-gradient(to bottom,#121212 0%, rgba(18,18,18,0) 10%),
289
+ linear-gradient(to top, #121212 0%, rgba(18,18,18,0) 10%),
290
+ linear-gradient(to left, #121212 0%, rgba(18,18,18,0) 10%),
291
+ linear-gradient(to right, #121212 0%, rgba(18,18,18,0) 10%),
292
+ url("${bgUrl}")
293
+ `,
294
+ backgroundRepeat: "no-repeat",
295
+ backgroundPosition: "center",
296
+ backgroundSize: "cover"
297
+ });
298
+ var headlineBaseSx = {
299
+ textAlign: "center",
300
+ lineHeight: 1.1,
301
+ mb: 1.5
302
+ };
303
+ var hlTopSx = {
304
+ display: "inline-block",
305
+ fontWeight: 600,
306
+ fontSize: 24
307
+ };
308
+ var hlBottomSx = {
309
+ display: "inline-block",
310
+ fontSize: 24,
311
+ lineHeight: 1.1,
312
+ WebkitTextStroke: "0.3px rgba(255, 255, 255, .5)",
313
+ textShadow: `
314
+ 0 0 2px rgba(255, 255, 255, .95),
315
+ 0 0 6px rgba(255, 255, 255, .6),
316
+ 0 1px 0 rgba(137, 137, 137, .85)
317
+ `
318
+ };
319
+ var OraculoSeccionBonoBienvenida = ({
320
+ headline,
321
+ items,
322
+ backgroundImageUrl
323
+ }) => {
324
+ const [hl1 = "", hl2 = ""] = (headline || "").split("\n");
325
+ const isMobile = useMediaQuery("(max-width: 767px)");
326
+ const showDots = items.length > 1;
327
+ const bgUrl = backgroundImageUrl != null ? backgroundImageUrl : "/assets/img/home/BonoBienvenida/Fondobg.png";
328
+ const sectionSx = buildSectionSx(bgUrl);
329
+ const carouselRef = useRef2(null);
330
+ const [navState, setNavState] = useState({ isStart: true, isEnd: false });
331
+ const [activeIndex, setActiveIndex] = useState(0);
332
+ if (isMobile) {
333
+ return /* @__PURE__ */ React4.createElement(
334
+ Box2,
335
+ {
336
+ component: "section",
337
+ sx: {
338
+ ...sectionSx,
339
+ textAlign: "center"
340
+ }
341
+ },
342
+ (hl1 || hl2) && /* @__PURE__ */ React4.createElement(Box2, { sx: headlineBaseSx }, hl1 && /* @__PURE__ */ React4.createElement(Typography2, { component: "span", sx: hlTopSx }, hl1), hl2 && /* @__PURE__ */ React4.createElement(React4.Fragment, null, /* @__PURE__ */ React4.createElement("br", null), /* @__PURE__ */ React4.createElement(Typography2, { component: "span", sx: hlBottomSx }, hl2))),
343
+ /* @__PURE__ */ React4.createElement(Box2, null, /* @__PURE__ */ React4.createElement(
344
+ OraculoCarousel_default,
345
+ {
346
+ ref: carouselRef,
347
+ items,
348
+ perPage: 1,
349
+ gap: "12px",
350
+ breakpoints: {
351
+ 480: {
352
+ perPage: 1,
353
+ gap: "8px",
354
+ padding: { left: "8px", right: "8px" }
355
+ },
356
+ 768: {
357
+ perPage: 1,
358
+ gap: "12px",
359
+ padding: { left: "8px", right: "8px" }
360
+ }
361
+ },
362
+ options: {
363
+ autoWidth: false
364
+ },
365
+ renderItem: (it) => /* @__PURE__ */ React4.createElement(OraculoWelcomeBanner_default, { ...it, onButtonClick: items[0].onButtonClick }),
366
+ onMove: ({ index, isStart, isEnd }) => {
367
+ setNavState({ isStart, isEnd });
368
+ setActiveIndex(index);
369
+ }
370
+ }
371
+ ), showDots && /* @__PURE__ */ React4.createElement(
372
+ OraculoCarouselDots_default,
373
+ {
374
+ total: items.length,
375
+ active: activeIndex,
376
+ onSelect: (i) => {
377
+ var _a;
378
+ setActiveIndex(i);
379
+ (_a = carouselRef.current) == null ? void 0 : _a.go(i);
380
+ }
381
+ }
382
+ ))
383
+ );
384
+ }
385
+ return /* @__PURE__ */ React4.createElement(Box2, { component: "section", sx: sectionSx }, /* @__PURE__ */ React4.createElement(
386
+ Box2,
387
+ {
388
+ sx: {
389
+ maxWidth: 1200,
390
+ mx: 5,
391
+ px: 2,
392
+ display: "grid",
393
+ gridTemplateColumns: "200px auto",
394
+ alignItems: "center"
395
+ }
396
+ },
397
+ (hl1 || hl2) && /* @__PURE__ */ React4.createElement(
398
+ Box2,
399
+ {
400
+ sx: {
401
+ display: "flex",
402
+ alignItems: "center",
403
+ justifyContent: "flex-start",
404
+ minHeight: "100%"
405
+ }
406
+ },
407
+ /* @__PURE__ */ React4.createElement(
408
+ Box2,
409
+ {
410
+ sx: {
411
+ ...headlineBaseSx,
412
+ textAlign: "left",
413
+ mb: 0
414
+ }
415
+ },
416
+ hl1 && /* @__PURE__ */ React4.createElement(Typography2, { component: "span", sx: hlTopSx }, hl1),
417
+ hl2 && /* @__PURE__ */ React4.createElement(React4.Fragment, null, /* @__PURE__ */ React4.createElement("br", null), /* @__PURE__ */ React4.createElement(Typography2, { component: "span", sx: hlBottomSx }, hl2))
418
+ )
419
+ ),
420
+ /* @__PURE__ */ React4.createElement(
421
+ Box2,
422
+ {
423
+ sx: {
424
+ display: "flex",
425
+ justifyContent: "center",
426
+ alignItems: "center",
427
+ flexWrap: "nowrap",
428
+ gap: 4
429
+ }
430
+ },
431
+ items.map((it, idx) => /* @__PURE__ */ React4.createElement(
432
+ OraculoWelcomeBanner_default,
433
+ {
434
+ key: idx,
435
+ onButtonClick: it.onButtonClick,
436
+ ...it
437
+ }
438
+ ))
439
+ )
440
+ ));
441
+ };
442
+ var OraculoSeccionBonoBienvenida_default = OraculoSeccionBonoBienvenida;
443
+
444
+ export {
445
+ OraculoCarouselDots_default,
446
+ OraculoCarousel_default,
447
+ OraculoWelcomeBanner_default,
448
+ OraculoSeccionBonoBienvenida_default
449
+ };
package/dist/index.d.mts CHANGED
@@ -1,4 +1,3 @@
1
- import * as react_jsx_runtime from 'react/jsx-runtime';
2
1
  import React, { ReactNode } from 'react';
3
2
  import { Firestore } from 'firebase/firestore';
4
3
 
@@ -20,7 +19,7 @@ interface OraculoButtonProps {
20
19
  rightIcon?: React.ReactNode;
21
20
  iconOnly?: boolean;
22
21
  }
23
- declare function OraculoButton({ children, onClick, href, target, rel, type, disabled, variant, size, fullWidth, fullHeight, className, ariaLabel, leftIcon, rightIcon, iconOnly, }: OraculoButtonProps): react_jsx_runtime.JSX.Element;
22
+ declare function OraculoButton({ children, onClick, href, target, rel, type, disabled, variant, size, fullWidth, fullHeight, className, ariaLabel, leftIcon, rightIcon, iconOnly, }: OraculoButtonProps): React.JSX.Element;
24
23
 
25
24
  interface OraculoSectionTitleProps {
26
25
  title: string;
@@ -28,7 +27,7 @@ interface OraculoSectionTitleProps {
28
27
  size?: "xs" | "sm" | "md" | "lg";
29
28
  className?: string;
30
29
  }
31
- declare function OraculoSectionTitle({ title, iconUrl, size, className, }: OraculoSectionTitleProps): react_jsx_runtime.JSX.Element;
30
+ declare function OraculoSectionTitle({ title, iconUrl, size, className, }: OraculoSectionTitleProps): React.JSX.Element;
32
31
 
33
32
  interface OraculoCarouselDotsProps {
34
33
  total: number;
@@ -94,7 +93,7 @@ interface OraculoGameRankCardProps {
94
93
  onClick?: () => void;
95
94
  sizes?: OraculoGameRankCardSizes;
96
95
  }
97
- declare function OraculoGameRankCard({ imageUrl, orden, onClick, sizes, }: OraculoGameRankCardProps): react_jsx_runtime.JSX.Element;
96
+ declare function OraculoGameRankCard({ imageUrl, orden, onClick, sizes, }: OraculoGameRankCardProps): React.JSX.Element;
98
97
 
99
98
  interface OraculoLiveCasinoCardProps {
100
99
  logo: string;
@@ -169,7 +168,7 @@ interface OraculoSeccionDestacadosProps {
169
168
  className?: string;
170
169
  }
171
170
 
172
- declare function OraculoSeccionDestacados({ items, title, iconUrl, onViewMore, className, }: OraculoSeccionDestacadosProps): react_jsx_runtime.JSX.Element;
171
+ declare function OraculoSeccionDestacados({ items, title, iconUrl, onViewMore, className, }: OraculoSeccionDestacadosProps): React.JSX.Element;
173
172
 
174
173
  interface OraculoGameItem {
175
174
  orden?: number;
@@ -196,7 +195,7 @@ interface OraculoSeccionTopJuegosProps {
196
195
  onCardClick?: (item: OraculoGameItem) => void;
197
196
  }
198
197
 
199
- declare function OraculoSeccionTopJuegos({ items, title, iconUrl, onCardClick, }: OraculoSeccionTopJuegosProps): react_jsx_runtime.JSX.Element;
198
+ declare function OraculoSeccionTopJuegos({ items, title, iconUrl, onCardClick, }: OraculoSeccionTopJuegosProps): React.JSX.Element;
200
199
 
201
200
  interface OraculoSeccionCasinoEnVivoProps {
202
201
  items: OraculoGameItem[];
@@ -275,19 +274,6 @@ interface OraculoSeccionClubOlimpoItems {
275
274
  }
276
275
  declare const OraculoSeccionClubOlimpo: React.FC<OraculoSeccionClubOlimpoItems>;
277
276
 
278
- interface parametros {
279
- bonos: OraculoSeccionBonoProps;
280
- topJuegos: OraculoSeccionTopJuegosProps;
281
- casino: OraculoSeccionCasinoProps;
282
- casinoEnVivo: OraculoSeccionCasinoEnVivoProps;
283
- virtuales: OraculoSeccionVirtualesProps;
284
- clubOlimpo: OraculoSeccionClubOlimpoItem;
285
- destacados: OraculoSeccionDestacadosProps;
286
- }
287
- declare function OraculoPageLanding({ props }: {
288
- props: parametros;
289
- }): react_jsx_runtime.JSX.Element;
290
-
291
277
  type OraculoPageLandingPreviewSection = {
292
278
  id: number;
293
279
  title: string;
@@ -327,4 +313,4 @@ interface OraculoPageLandingPreviewProps {
327
313
  }
328
314
  declare const OraculoPageLandingPreview: React.FC<OraculoPageLandingPreviewProps>;
329
315
 
330
- 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 };
316
+ 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, 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, OraculoPageLandingPreview as default };
package/dist/index.d.ts CHANGED
@@ -1,4 +1,3 @@
1
- import * as react_jsx_runtime from 'react/jsx-runtime';
2
1
  import React, { ReactNode } from 'react';
3
2
  import { Firestore } from 'firebase/firestore';
4
3
 
@@ -20,7 +19,7 @@ interface OraculoButtonProps {
20
19
  rightIcon?: React.ReactNode;
21
20
  iconOnly?: boolean;
22
21
  }
23
- declare function OraculoButton({ children, onClick, href, target, rel, type, disabled, variant, size, fullWidth, fullHeight, className, ariaLabel, leftIcon, rightIcon, iconOnly, }: OraculoButtonProps): react_jsx_runtime.JSX.Element;
22
+ declare function OraculoButton({ children, onClick, href, target, rel, type, disabled, variant, size, fullWidth, fullHeight, className, ariaLabel, leftIcon, rightIcon, iconOnly, }: OraculoButtonProps): React.JSX.Element;
24
23
 
25
24
  interface OraculoSectionTitleProps {
26
25
  title: string;
@@ -28,7 +27,7 @@ interface OraculoSectionTitleProps {
28
27
  size?: "xs" | "sm" | "md" | "lg";
29
28
  className?: string;
30
29
  }
31
- declare function OraculoSectionTitle({ title, iconUrl, size, className, }: OraculoSectionTitleProps): react_jsx_runtime.JSX.Element;
30
+ declare function OraculoSectionTitle({ title, iconUrl, size, className, }: OraculoSectionTitleProps): React.JSX.Element;
32
31
 
33
32
  interface OraculoCarouselDotsProps {
34
33
  total: number;
@@ -94,7 +93,7 @@ interface OraculoGameRankCardProps {
94
93
  onClick?: () => void;
95
94
  sizes?: OraculoGameRankCardSizes;
96
95
  }
97
- declare function OraculoGameRankCard({ imageUrl, orden, onClick, sizes, }: OraculoGameRankCardProps): react_jsx_runtime.JSX.Element;
96
+ declare function OraculoGameRankCard({ imageUrl, orden, onClick, sizes, }: OraculoGameRankCardProps): React.JSX.Element;
98
97
 
99
98
  interface OraculoLiveCasinoCardProps {
100
99
  logo: string;
@@ -169,7 +168,7 @@ interface OraculoSeccionDestacadosProps {
169
168
  className?: string;
170
169
  }
171
170
 
172
- declare function OraculoSeccionDestacados({ items, title, iconUrl, onViewMore, className, }: OraculoSeccionDestacadosProps): react_jsx_runtime.JSX.Element;
171
+ declare function OraculoSeccionDestacados({ items, title, iconUrl, onViewMore, className, }: OraculoSeccionDestacadosProps): React.JSX.Element;
173
172
 
174
173
  interface OraculoGameItem {
175
174
  orden?: number;
@@ -196,7 +195,7 @@ interface OraculoSeccionTopJuegosProps {
196
195
  onCardClick?: (item: OraculoGameItem) => void;
197
196
  }
198
197
 
199
- declare function OraculoSeccionTopJuegos({ items, title, iconUrl, onCardClick, }: OraculoSeccionTopJuegosProps): react_jsx_runtime.JSX.Element;
198
+ declare function OraculoSeccionTopJuegos({ items, title, iconUrl, onCardClick, }: OraculoSeccionTopJuegosProps): React.JSX.Element;
200
199
 
201
200
  interface OraculoSeccionCasinoEnVivoProps {
202
201
  items: OraculoGameItem[];
@@ -275,19 +274,6 @@ interface OraculoSeccionClubOlimpoItems {
275
274
  }
276
275
  declare const OraculoSeccionClubOlimpo: React.FC<OraculoSeccionClubOlimpoItems>;
277
276
 
278
- interface parametros {
279
- bonos: OraculoSeccionBonoProps;
280
- topJuegos: OraculoSeccionTopJuegosProps;
281
- casino: OraculoSeccionCasinoProps;
282
- casinoEnVivo: OraculoSeccionCasinoEnVivoProps;
283
- virtuales: OraculoSeccionVirtualesProps;
284
- clubOlimpo: OraculoSeccionClubOlimpoItem;
285
- destacados: OraculoSeccionDestacadosProps;
286
- }
287
- declare function OraculoPageLanding({ props }: {
288
- props: parametros;
289
- }): react_jsx_runtime.JSX.Element;
290
-
291
277
  type OraculoPageLandingPreviewSection = {
292
278
  id: number;
293
279
  title: string;
@@ -327,4 +313,4 @@ interface OraculoPageLandingPreviewProps {
327
313
  }
328
314
  declare const OraculoPageLandingPreview: React.FC<OraculoPageLandingPreviewProps>;
329
315
 
330
- 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 };
316
+ 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, 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, OraculoPageLandingPreview as default };