@canaia/ui-kit 0.0.12-alpha.30 → 0.0.12-alpha.32
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,15 +37216,16 @@ const YEA = ({
|
|
|
37216
37216
|
onConfirm: r,
|
|
37217
37217
|
children: o,
|
|
37218
37218
|
secondButton: a = !1,
|
|
37219
|
-
|
|
37220
|
-
|
|
37221
|
-
|
|
37222
|
-
|
|
37223
|
-
|
|
37224
|
-
|
|
37225
|
-
|
|
37219
|
+
fontFamily: s = "heading",
|
|
37220
|
+
optionalFunction: l,
|
|
37221
|
+
optionalButtonText: c,
|
|
37222
|
+
hideCloseButton: g = !1,
|
|
37223
|
+
closeOnEsc: B = !0,
|
|
37224
|
+
closeOnOverlayClick: u = !0,
|
|
37225
|
+
descriptionSecondary: I = "",
|
|
37226
|
+
...f
|
|
37226
37227
|
}) => {
|
|
37227
|
-
const
|
|
37228
|
+
const d = {
|
|
37228
37229
|
assist: "#2F93DF",
|
|
37229
37230
|
elevate: "#FF6F9A",
|
|
37230
37231
|
play: "#FB8E79",
|
|
@@ -37236,9 +37237,9 @@ const YEA = ({
|
|
|
37236
37237
|
isOpen: A,
|
|
37237
37238
|
onClose: e,
|
|
37238
37239
|
isCentered: !0,
|
|
37239
|
-
closeOnEsc:
|
|
37240
|
-
closeOnOverlayClick:
|
|
37241
|
-
...
|
|
37240
|
+
closeOnEsc: B,
|
|
37241
|
+
closeOnOverlayClick: u,
|
|
37242
|
+
...f,
|
|
37242
37243
|
children: [
|
|
37243
37244
|
/* @__PURE__ */ E.jsx(ai, {}),
|
|
37244
37245
|
/* @__PURE__ */ E.jsxs(
|
|
@@ -37253,7 +37254,7 @@ const YEA = ({
|
|
|
37253
37254
|
maxW: { base: "92vw", md: "500px" },
|
|
37254
37255
|
minW: "400px",
|
|
37255
37256
|
children: [
|
|
37256
|
-
!
|
|
37257
|
+
!g && /* @__PURE__ */ E.jsx(
|
|
37257
37258
|
Et,
|
|
37258
37259
|
{
|
|
37259
37260
|
"aria-label": "Cerrar modal",
|
|
@@ -37288,8 +37289,8 @@ const YEA = ({
|
|
|
37288
37289
|
/* @__PURE__ */ E.jsx(MA, { w: "45px", minW: "45px", flexShrink: 0, display: "flex", justifyContent: "center", children: /* @__PURE__ */ E.jsx(
|
|
37289
37290
|
stA,
|
|
37290
37291
|
{
|
|
37291
|
-
color:
|
|
37292
|
-
width:
|
|
37292
|
+
color: d[i] || d.primary,
|
|
37293
|
+
width: I ? 52 : 24
|
|
37293
37294
|
}
|
|
37294
37295
|
) }),
|
|
37295
37296
|
/* @__PURE__ */ E.jsxs(XA, { direction: "column", align: "center", textAlign: "center", children: [
|
|
@@ -37297,20 +37298,20 @@ const YEA = ({
|
|
|
37297
37298
|
DA,
|
|
37298
37299
|
{
|
|
37299
37300
|
fontSize: "19px",
|
|
37300
|
-
fontFamily: "
|
|
37301
|
+
fontFamily: "lato",
|
|
37301
37302
|
wordBreak: "break-word",
|
|
37302
37303
|
whiteSpace: "pre-wrap",
|
|
37303
37304
|
children: t
|
|
37304
37305
|
}
|
|
37305
37306
|
),
|
|
37306
|
-
|
|
37307
|
+
I && /* @__PURE__ */ E.jsx(
|
|
37307
37308
|
DA,
|
|
37308
37309
|
{
|
|
37309
37310
|
fontSize: "19px",
|
|
37310
37311
|
mt: 2,
|
|
37311
37312
|
wordBreak: "break-word",
|
|
37312
37313
|
whiteSpace: "pre-wrap",
|
|
37313
|
-
children:
|
|
37314
|
+
children: I
|
|
37314
37315
|
}
|
|
37315
37316
|
)
|
|
37316
37317
|
] })
|
|
@@ -37326,13 +37327,13 @@ const YEA = ({
|
|
|
37326
37327
|
backgroundColor: "#fff",
|
|
37327
37328
|
border: "1px solid",
|
|
37328
37329
|
fontSize: "18px",
|
|
37329
|
-
fontFamily:
|
|
37330
|
+
fontFamily: s,
|
|
37330
37331
|
borderColor: `${i}.500`,
|
|
37331
37332
|
color: `${i}.500`,
|
|
37332
|
-
onClick:
|
|
37333
|
+
onClick: l,
|
|
37333
37334
|
_hover: { backgroundColor: "#f7fcffff" },
|
|
37334
37335
|
marginRight: "1.5rem",
|
|
37335
|
-
children:
|
|
37336
|
+
children: c
|
|
37336
37337
|
}
|
|
37337
37338
|
),
|
|
37338
37339
|
/* @__PURE__ */ E.jsx(
|
|
@@ -37340,7 +37341,7 @@ const YEA = ({
|
|
|
37340
37341
|
{
|
|
37341
37342
|
backgroundColor: `${i}.500`,
|
|
37342
37343
|
fontSize: "18px",
|
|
37343
|
-
fontFamily:
|
|
37344
|
+
fontFamily: s,
|
|
37344
37345
|
color: "white",
|
|
37345
37346
|
_hover: { backgroundColor: `${i}.600` },
|
|
37346
37347
|
onClick: r,
|