@canaia/ui-kit 0.0.12-alpha.32 → 0.0.12-alpha.34
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/canaia-ui-kit.es.js
CHANGED
|
@@ -21800,12 +21800,12 @@ const $j = {
|
|
|
21800
21800
|
initialColorMode: "light",
|
|
21801
21801
|
useSystemColorMode: !1
|
|
21802
21802
|
}, tO = {
|
|
21803
|
-
|
|
21804
|
-
|
|
21805
|
-
|
|
21806
|
-
|
|
21807
|
-
|
|
21808
|
-
|
|
21803
|
+
Body: "Sansation-Regular, sans-serif",
|
|
21804
|
+
Heading: "Sansation-Bold, sans-serif",
|
|
21805
|
+
Lato: "Lato-Regular, sans-serif",
|
|
21806
|
+
LatoBold: "Lato-Bold, sans-serif",
|
|
21807
|
+
SansationBold: "Sansation-Bold, sans-serif",
|
|
21808
|
+
SansationRegular: "Sansation-Regular, sans-serif"
|
|
21809
21809
|
}, Qo = AJ({
|
|
21810
21810
|
config: eO,
|
|
21811
21811
|
colors: tt,
|
|
@@ -37216,16 +37216,15 @@ const YEA = ({
|
|
|
37216
37216
|
onConfirm: r,
|
|
37217
37217
|
children: o,
|
|
37218
37218
|
secondButton: a = !1,
|
|
37219
|
-
|
|
37220
|
-
|
|
37221
|
-
|
|
37222
|
-
|
|
37223
|
-
|
|
37224
|
-
|
|
37225
|
-
|
|
37226
|
-
...f
|
|
37219
|
+
optionalFunction: s,
|
|
37220
|
+
optionalButtonText: l,
|
|
37221
|
+
hideCloseButton: c = !1,
|
|
37222
|
+
closeOnEsc: g = !0,
|
|
37223
|
+
closeOnOverlayClick: B = !0,
|
|
37224
|
+
descriptionSecondary: u = "",
|
|
37225
|
+
...I
|
|
37227
37226
|
}) => {
|
|
37228
|
-
const
|
|
37227
|
+
const f = {
|
|
37229
37228
|
assist: "#2F93DF",
|
|
37230
37229
|
elevate: "#FF6F9A",
|
|
37231
37230
|
play: "#FB8E79",
|
|
@@ -37237,9 +37236,9 @@ const YEA = ({
|
|
|
37237
37236
|
isOpen: A,
|
|
37238
37237
|
onClose: e,
|
|
37239
37238
|
isCentered: !0,
|
|
37240
|
-
closeOnEsc:
|
|
37241
|
-
closeOnOverlayClick:
|
|
37242
|
-
...
|
|
37239
|
+
closeOnEsc: g,
|
|
37240
|
+
closeOnOverlayClick: B,
|
|
37241
|
+
...I,
|
|
37243
37242
|
children: [
|
|
37244
37243
|
/* @__PURE__ */ E.jsx(ai, {}),
|
|
37245
37244
|
/* @__PURE__ */ E.jsxs(
|
|
@@ -37254,7 +37253,7 @@ const YEA = ({
|
|
|
37254
37253
|
maxW: { base: "92vw", md: "500px" },
|
|
37255
37254
|
minW: "400px",
|
|
37256
37255
|
children: [
|
|
37257
|
-
!
|
|
37256
|
+
!c && /* @__PURE__ */ E.jsx(
|
|
37258
37257
|
Et,
|
|
37259
37258
|
{
|
|
37260
37259
|
"aria-label": "Cerrar modal",
|
|
@@ -37274,7 +37273,7 @@ const YEA = ({
|
|
|
37274
37273
|
{
|
|
37275
37274
|
fontWeight: "bold",
|
|
37276
37275
|
color: "success.400",
|
|
37277
|
-
fontFamily: "
|
|
37276
|
+
fontFamily: "Sansation-Bold",
|
|
37278
37277
|
fontSize: "20px",
|
|
37279
37278
|
children: "¡Enhorabuena!"
|
|
37280
37279
|
}
|
|
@@ -37289,8 +37288,8 @@ const YEA = ({
|
|
|
37289
37288
|
/* @__PURE__ */ E.jsx(MA, { w: "45px", minW: "45px", flexShrink: 0, display: "flex", justifyContent: "center", children: /* @__PURE__ */ E.jsx(
|
|
37290
37289
|
stA,
|
|
37291
37290
|
{
|
|
37292
|
-
color:
|
|
37293
|
-
width:
|
|
37291
|
+
color: f[i] || f.primary,
|
|
37292
|
+
width: u ? 52 : 24
|
|
37294
37293
|
}
|
|
37295
37294
|
) }),
|
|
37296
37295
|
/* @__PURE__ */ E.jsxs(XA, { direction: "column", align: "center", textAlign: "center", children: [
|
|
@@ -37298,20 +37297,21 @@ const YEA = ({
|
|
|
37298
37297
|
DA,
|
|
37299
37298
|
{
|
|
37300
37299
|
fontSize: "19px",
|
|
37301
|
-
fontFamily: "
|
|
37300
|
+
fontFamily: "Lato",
|
|
37302
37301
|
wordBreak: "break-word",
|
|
37303
37302
|
whiteSpace: "pre-wrap",
|
|
37304
37303
|
children: t
|
|
37305
37304
|
}
|
|
37306
37305
|
),
|
|
37307
|
-
|
|
37306
|
+
u && /* @__PURE__ */ E.jsx(
|
|
37308
37307
|
DA,
|
|
37309
37308
|
{
|
|
37310
37309
|
fontSize: "19px",
|
|
37311
37310
|
mt: 2,
|
|
37311
|
+
fontFamily: "Lato",
|
|
37312
37312
|
wordBreak: "break-word",
|
|
37313
37313
|
whiteSpace: "pre-wrap",
|
|
37314
|
-
children:
|
|
37314
|
+
children: u
|
|
37315
37315
|
}
|
|
37316
37316
|
)
|
|
37317
37317
|
] })
|
|
@@ -37327,13 +37327,13 @@ const YEA = ({
|
|
|
37327
37327
|
backgroundColor: "#fff",
|
|
37328
37328
|
border: "1px solid",
|
|
37329
37329
|
fontSize: "18px",
|
|
37330
|
-
fontFamily:
|
|
37330
|
+
fontFamily: "Heading",
|
|
37331
37331
|
borderColor: `${i}.500`,
|
|
37332
37332
|
color: `${i}.500`,
|
|
37333
|
-
onClick:
|
|
37333
|
+
onClick: s,
|
|
37334
37334
|
_hover: { backgroundColor: "#f7fcffff" },
|
|
37335
37335
|
marginRight: "1.5rem",
|
|
37336
|
-
children:
|
|
37336
|
+
children: l
|
|
37337
37337
|
}
|
|
37338
37338
|
),
|
|
37339
37339
|
/* @__PURE__ */ E.jsx(
|
|
@@ -37341,7 +37341,7 @@ const YEA = ({
|
|
|
37341
37341
|
{
|
|
37342
37342
|
backgroundColor: `${i}.500`,
|
|
37343
37343
|
fontSize: "18px",
|
|
37344
|
-
fontFamily:
|
|
37344
|
+
fontFamily: "Heading",
|
|
37345
37345
|
color: "white",
|
|
37346
37346
|
_hover: { backgroundColor: `${i}.600` },
|
|
37347
37347
|
onClick: r,
|