nave-ui-library 1.0.0-beta.29 → 1.0.0-beta.30
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/react/index.cjs +1396 -495
- package/dist/react/index.js +1396 -495
- package/dist/styles.css +1 -1
- package/dist/wc/index.cjs +32 -32
- package/dist/wc/index.js +32 -32
- package/package.json +1 -1
package/dist/react/index.cjs
CHANGED
|
@@ -3185,7 +3185,7 @@ function EmptyState({
|
|
|
3185
3185
|
size = "medium",
|
|
3186
3186
|
tokens
|
|
3187
3187
|
}) {
|
|
3188
|
-
var _a2, _b, _c, _d, _e, _f, _g, _h, _i, _j, _k, _l, _m, _n, _o, _p, _q;
|
|
3188
|
+
var _a2, _b, _c, _d, _e, _f, _g, _h, _i, _j, _k, _l, _m, _n, _o, _p, _q, _r, _s, _t, _u, _v, _w, _x, _y, _z;
|
|
3189
3189
|
const theme = useTheme();
|
|
3190
3190
|
const mergedTokens = (_a2 = resolveTokens(
|
|
3191
3191
|
{
|
|
@@ -3195,30 +3195,30 @@ function EmptyState({
|
|
|
3195
3195
|
theme
|
|
3196
3196
|
)) != null ? _a2 : {};
|
|
3197
3197
|
const isCenter = align === "center";
|
|
3198
|
-
const iconSize = mergedTokens.icon.size[size];
|
|
3199
|
-
const titleSize = mergedTokens.title.size[size];
|
|
3200
|
-
const descriptionSize = mergedTokens.description.size[size];
|
|
3198
|
+
const iconSize = (_d = (_c = (_b = mergedTokens == null ? void 0 : mergedTokens.icon) == null ? void 0 : _b.size) == null ? void 0 : _c[size]) != null ? _d : {};
|
|
3199
|
+
const titleSize = (_g = (_f = (_e = mergedTokens == null ? void 0 : mergedTokens.title) == null ? void 0 : _e.size) == null ? void 0 : _f[size]) != null ? _g : {};
|
|
3200
|
+
const descriptionSize = (_j = (_i = (_h = mergedTokens == null ? void 0 : mergedTokens.description) == null ? void 0 : _h.size) == null ? void 0 : _i[size]) != null ? _j : {};
|
|
3201
3201
|
const styles = {
|
|
3202
3202
|
/* Container */
|
|
3203
|
-
"--es-bg": (
|
|
3204
|
-
"--es-padding": (
|
|
3205
|
-
"--es-min-height": (
|
|
3206
|
-
"--es-width": (
|
|
3207
|
-
"--es-gap": (
|
|
3203
|
+
"--es-bg": (_k = mergedTokens == null ? void 0 : mergedTokens.container) == null ? void 0 : _k.background,
|
|
3204
|
+
"--es-padding": (_l = mergedTokens == null ? void 0 : mergedTokens.container) == null ? void 0 : _l.padding,
|
|
3205
|
+
"--es-min-height": (_n = (_m = mergedTokens == null ? void 0 : mergedTokens.container) == null ? void 0 : _m.minHeight) != null ? _n : "300px",
|
|
3206
|
+
"--es-width": (_p = (_o = mergedTokens == null ? void 0 : mergedTokens.container) == null ? void 0 : _o.width) != null ? _p : "380px",
|
|
3207
|
+
"--es-gap": (_r = (_q = mergedTokens == null ? void 0 : mergedTokens.container) == null ? void 0 : _q.gap) != null ? _r : "24px",
|
|
3208
3208
|
/* Icon */
|
|
3209
3209
|
"--es-icon-size": iconSize,
|
|
3210
|
-
"--es-icon-color": (
|
|
3211
|
-
"--es-icon-radius": (
|
|
3210
|
+
"--es-icon-color": (_s = mergedTokens == null ? void 0 : mergedTokens.icon) == null ? void 0 : _s.color,
|
|
3211
|
+
"--es-icon-radius": (_t = mergedTokens == null ? void 0 : mergedTokens.icon) == null ? void 0 : _t.containerRadius,
|
|
3212
3212
|
/* Title */
|
|
3213
|
-
"--es-title-color": (
|
|
3214
|
-
"--es-title-weight": (
|
|
3213
|
+
"--es-title-color": (_u = mergedTokens == null ? void 0 : mergedTokens.title) == null ? void 0 : _u.color,
|
|
3214
|
+
"--es-title-weight": (_v = mergedTokens == null ? void 0 : mergedTokens.title) == null ? void 0 : _v.fontWeight,
|
|
3215
3215
|
"--es-title-size": titleSize,
|
|
3216
3216
|
/* Description */
|
|
3217
|
-
"--es-desc-color": (
|
|
3218
|
-
"--es-desc-weight": (
|
|
3217
|
+
"--es-desc-color": (_w = mergedTokens == null ? void 0 : mergedTokens.description) == null ? void 0 : _w.color,
|
|
3218
|
+
"--es-desc-weight": (_x = mergedTokens == null ? void 0 : mergedTokens.description) == null ? void 0 : _x.fontWeight,
|
|
3219
3219
|
"--es-desc-size": descriptionSize,
|
|
3220
3220
|
/* Actions */
|
|
3221
|
-
"--es-actions-gap": (
|
|
3221
|
+
"--es-actions-gap": (_z = (_y = mergedTokens == null ? void 0 : mergedTokens.actions) == null ? void 0 : _y.gap) != null ? _z : "8px"
|
|
3222
3222
|
};
|
|
3223
3223
|
return /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(
|
|
3224
3224
|
"section",
|
|
@@ -3528,7 +3528,7 @@ function FileUpload({
|
|
|
3528
3528
|
onFilesChange,
|
|
3529
3529
|
onError
|
|
3530
3530
|
}) {
|
|
3531
|
-
var _a2;
|
|
3531
|
+
var _a2, _b, _c, _d, _e, _f, _g, _h, _i, _j, _k, _l, _m, _n, _o, _p, _q, _r, _s, _t;
|
|
3532
3532
|
const theme = useTheme();
|
|
3533
3533
|
const mergedTokens = (_a2 = resolveTokens(
|
|
3534
3534
|
{
|
|
@@ -3539,28 +3539,28 @@ function FileUpload({
|
|
|
3539
3539
|
)) != null ? _a2 : {};
|
|
3540
3540
|
const styles = {
|
|
3541
3541
|
/* Container */
|
|
3542
|
-
"--fu-bg": mergedTokens.container.background,
|
|
3543
|
-
"--fu-padding": mergedTokens.container.padding,
|
|
3544
|
-
"--fu-radius": mergedTokens.container.radius,
|
|
3542
|
+
"--fu-bg": (_b = mergedTokens == null ? void 0 : mergedTokens.container) == null ? void 0 : _b.background,
|
|
3543
|
+
"--fu-padding": (_c = mergedTokens == null ? void 0 : mergedTokens.container) == null ? void 0 : _c.padding,
|
|
3544
|
+
"--fu-radius": (_d = mergedTokens == null ? void 0 : mergedTokens.container) == null ? void 0 : _d.radius,
|
|
3545
3545
|
/* Dropzone */
|
|
3546
|
-
"--fu-border-color": mergedTokens.dropzone.borderColor[state],
|
|
3547
|
-
"--fu-border-width": mergedTokens.dropzone.borderWidth,
|
|
3548
|
-
"--fu-border-style": mergedTokens.dropzone.borderStyle,
|
|
3549
|
-
"--fu-gap": mergedTokens.dropzone.gap,
|
|
3546
|
+
"--fu-border-color": (_f = (_e = mergedTokens == null ? void 0 : mergedTokens.dropzone) == null ? void 0 : _e.borderColor) == null ? void 0 : _f[state],
|
|
3547
|
+
"--fu-border-width": (_g = mergedTokens == null ? void 0 : mergedTokens.dropzone) == null ? void 0 : _g.borderWidth,
|
|
3548
|
+
"--fu-border-style": (_h = mergedTokens == null ? void 0 : mergedTokens.dropzone) == null ? void 0 : _h.borderStyle,
|
|
3549
|
+
"--fu-gap": (_i = mergedTokens == null ? void 0 : mergedTokens.dropzone) == null ? void 0 : _i.gap,
|
|
3550
3550
|
/* Icon */
|
|
3551
|
-
"--fu-icon-size": mergedTokens.icon.size,
|
|
3552
|
-
"--fu-icon-wrapper-size": mergedTokens.icon.wrapperSize,
|
|
3553
|
-
"--fu-icon-color": mergedTokens.icon.color,
|
|
3554
|
-
"--fu-icon-bg": mergedTokens.icon.wrapperBg,
|
|
3555
|
-
"--fu-icon-radius": mergedTokens.icon.wrapperRadius,
|
|
3551
|
+
"--fu-icon-size": (_j = mergedTokens == null ? void 0 : mergedTokens.icon) == null ? void 0 : _j.size,
|
|
3552
|
+
"--fu-icon-wrapper-size": (_k = mergedTokens == null ? void 0 : mergedTokens.icon) == null ? void 0 : _k.wrapperSize,
|
|
3553
|
+
"--fu-icon-color": (_l = mergedTokens == null ? void 0 : mergedTokens.icon) == null ? void 0 : _l.color,
|
|
3554
|
+
"--fu-icon-bg": (_m = mergedTokens == null ? void 0 : mergedTokens.icon) == null ? void 0 : _m.wrapperBg,
|
|
3555
|
+
"--fu-icon-radius": (_n = mergedTokens == null ? void 0 : mergedTokens.icon) == null ? void 0 : _n.wrapperRadius,
|
|
3556
3556
|
/* Title */
|
|
3557
|
-
"--fu-title-color": mergedTokens.title.color,
|
|
3558
|
-
"--fu-title-size": mergedTokens.title.fontSize,
|
|
3559
|
-
"--fu-title-weight": mergedTokens.title.fontWeight,
|
|
3557
|
+
"--fu-title-color": (_o = mergedTokens == null ? void 0 : mergedTokens.title) == null ? void 0 : _o.color,
|
|
3558
|
+
"--fu-title-size": (_p = mergedTokens == null ? void 0 : mergedTokens.title) == null ? void 0 : _p.fontSize,
|
|
3559
|
+
"--fu-title-weight": (_q = mergedTokens == null ? void 0 : mergedTokens.title) == null ? void 0 : _q.fontWeight,
|
|
3560
3560
|
/* Description */
|
|
3561
|
-
"--fu-desc-color": mergedTokens.description.color,
|
|
3562
|
-
"--fu-desc-size": mergedTokens.description.fontSize,
|
|
3563
|
-
"--fu-desc-weight": mergedTokens.description.fontWeight
|
|
3561
|
+
"--fu-desc-color": (_r = mergedTokens == null ? void 0 : mergedTokens.description) == null ? void 0 : _r.color,
|
|
3562
|
+
"--fu-desc-size": (_s = mergedTokens == null ? void 0 : mergedTokens.description) == null ? void 0 : _s.fontSize,
|
|
3563
|
+
"--fu-desc-weight": (_t = mergedTokens == null ? void 0 : mergedTokens.description) == null ? void 0 : _t.fontWeight
|
|
3564
3564
|
};
|
|
3565
3565
|
const inputRef = React2.useRef(null);
|
|
3566
3566
|
const isDisabled = state === "disabled";
|
|
@@ -8319,89 +8319,237 @@ var themeDefault = {
|
|
|
8319
8319
|
version: "1.0.0",
|
|
8320
8320
|
tokens: {
|
|
8321
8321
|
meta: {
|
|
8322
|
-
theme: "default"
|
|
8322
|
+
theme: "default-v-4.0.1"
|
|
8323
8323
|
},
|
|
8324
8324
|
foundations: {
|
|
8325
8325
|
colors: {
|
|
8326
8326
|
brand: {
|
|
8327
|
-
|
|
8328
|
-
|
|
8329
|
-
|
|
8330
|
-
|
|
8331
|
-
|
|
8332
|
-
|
|
8333
|
-
|
|
8334
|
-
|
|
8335
|
-
|
|
8327
|
+
50: "#F6F2FD",
|
|
8328
|
+
100: "#E6DCFA",
|
|
8329
|
+
200: "#F4F0FF",
|
|
8330
|
+
// Agregado: Para active states
|
|
8331
|
+
300: "#A78BFA",
|
|
8332
|
+
500: "#652BDF",
|
|
8333
|
+
// primary
|
|
8334
|
+
700: "#3C168E",
|
|
8335
|
+
// hover
|
|
8336
|
+
900: "#1E0A52"
|
|
8336
8337
|
},
|
|
8337
8338
|
neutral: {
|
|
8338
8339
|
0: "#FFFFFF",
|
|
8339
|
-
50: "#
|
|
8340
|
-
100: "#
|
|
8341
|
-
|
|
8342
|
-
|
|
8343
|
-
|
|
8344
|
-
|
|
8345
|
-
|
|
8346
|
-
|
|
8347
|
-
|
|
8348
|
-
|
|
8349
|
-
|
|
8350
|
-
|
|
8351
|
-
|
|
8352
|
-
|
|
8353
|
-
|
|
8354
|
-
|
|
8355
|
-
|
|
8356
|
-
|
|
8357
|
-
|
|
8358
|
-
|
|
8359
|
-
|
|
8360
|
-
|
|
8361
|
-
|
|
8362
|
-
|
|
8363
|
-
|
|
8364
|
-
|
|
8365
|
-
|
|
8340
|
+
50: "#F9FAFB",
|
|
8341
|
+
100: "#F3F4F6",
|
|
8342
|
+
125: "#F0F0F0",
|
|
8343
|
+
// Agregado: Para icon wrappers
|
|
8344
|
+
150: "#E2E5E9",
|
|
8345
|
+
200: "#E5E7EB",
|
|
8346
|
+
225: "#EEF2F7",
|
|
8347
|
+
// Agregado: Para subtle borders
|
|
8348
|
+
300: "#D1D5DB",
|
|
8349
|
+
350: "#C3C7D1",
|
|
8350
|
+
400: "#9CA3AF",
|
|
8351
|
+
450: "#A3AAB8",
|
|
8352
|
+
500: "#6B7280",
|
|
8353
|
+
550: "#9DA5B5",
|
|
8354
|
+
600: "#4B5563",
|
|
8355
|
+
650: "#6E7991",
|
|
8356
|
+
700: "#374151",
|
|
8357
|
+
750: "#3A3F4B",
|
|
8358
|
+
800: "#1F2937",
|
|
8359
|
+
850: "#020303",
|
|
8360
|
+
900: "#111827",
|
|
8361
|
+
950: "#F9F9FA"
|
|
8362
|
+
},
|
|
8363
|
+
feedback: {
|
|
8364
|
+
success: {
|
|
8365
|
+
50: "#F2FDF8",
|
|
8366
|
+
500: "#16A34A",
|
|
8367
|
+
700: "#128751"
|
|
8368
|
+
},
|
|
8369
|
+
warning: {
|
|
8370
|
+
50: "#FEFAF0",
|
|
8371
|
+
100: "#FEF3C7",
|
|
8372
|
+
// Agregado: Para promo banner
|
|
8373
|
+
500: "#F59E0B",
|
|
8374
|
+
700: "#C26E04"
|
|
8375
|
+
},
|
|
8376
|
+
error: {
|
|
8377
|
+
50: "#FEEEEB",
|
|
8378
|
+
100: "#FEF2F2",
|
|
8379
|
+
// Agregado: Para destructive alerts
|
|
8380
|
+
500: "#DC2626",
|
|
8381
|
+
600: "#FB3131",
|
|
8382
|
+
700: "#C2040C",
|
|
8383
|
+
800: "#FECFCD"
|
|
8384
|
+
},
|
|
8385
|
+
info: {
|
|
8386
|
+
50: "#F0F5FE",
|
|
8387
|
+
500: "#2563EB",
|
|
8388
|
+
700: "#0465C2"
|
|
8389
|
+
}
|
|
8366
8390
|
}
|
|
8367
8391
|
},
|
|
8368
|
-
borderWidths: {
|
|
8369
|
-
sm: "1px",
|
|
8370
|
-
md: "2px"
|
|
8371
|
-
},
|
|
8372
8392
|
typography: {
|
|
8373
|
-
|
|
8374
|
-
|
|
8375
|
-
sm: "14px",
|
|
8376
|
-
md: "16px",
|
|
8377
|
-
lg: "18px",
|
|
8378
|
-
xl: "20px"
|
|
8393
|
+
fontFamily: {
|
|
8394
|
+
base: "inherit"
|
|
8379
8395
|
},
|
|
8380
|
-
|
|
8381
|
-
|
|
8382
|
-
|
|
8383
|
-
|
|
8384
|
-
|
|
8396
|
+
size: {
|
|
8397
|
+
10: "10px",
|
|
8398
|
+
12: "12px",
|
|
8399
|
+
13: "13px",
|
|
8400
|
+
// Agregado: Para dropdown icons
|
|
8401
|
+
14: "14px",
|
|
8402
|
+
16: "16px",
|
|
8403
|
+
18: "18px",
|
|
8404
|
+
20: "20px",
|
|
8405
|
+
24: "24px",
|
|
8406
|
+
30: "30px",
|
|
8407
|
+
// Agregado: Para file upload icons
|
|
8408
|
+
32: "32px"
|
|
8409
|
+
// Agregado: Para cifras destacadas (overview)
|
|
8385
8410
|
},
|
|
8386
|
-
|
|
8411
|
+
weight: {
|
|
8412
|
+
400: 400,
|
|
8413
|
+
500: 500,
|
|
8414
|
+
550: 550,
|
|
8415
|
+
600: 600,
|
|
8416
|
+
700: 700
|
|
8417
|
+
},
|
|
8418
|
+
lineHeight: {
|
|
8387
8419
|
tight: "1.2",
|
|
8388
8420
|
normal: "1.4",
|
|
8389
8421
|
relaxed: "1.6"
|
|
8422
|
+
},
|
|
8423
|
+
letterSpacing: {
|
|
8424
|
+
normal: "0",
|
|
8425
|
+
tight: "-0.02em",
|
|
8426
|
+
tighter: "-0.04em"
|
|
8427
|
+
}
|
|
8428
|
+
},
|
|
8429
|
+
spacing: {
|
|
8430
|
+
0: "0px",
|
|
8431
|
+
0.5: "2px",
|
|
8432
|
+
// Agregado: Para padding compacto
|
|
8433
|
+
1: "4px",
|
|
8434
|
+
1.25: "5px",
|
|
8435
|
+
// Agregado: Para micro desplazamientos
|
|
8436
|
+
1.5: "6px",
|
|
8437
|
+
// Agregado: Para gaps compactos
|
|
8438
|
+
1.75: "7px",
|
|
8439
|
+
// Agregado: Para offsets pequeños
|
|
8440
|
+
2: "8px",
|
|
8441
|
+
2.5: "10px",
|
|
8442
|
+
3: "12px",
|
|
8443
|
+
4: "16px",
|
|
8444
|
+
4.5: "18px",
|
|
8445
|
+
// Agregado: Para separator vertical
|
|
8446
|
+
5: "20px",
|
|
8447
|
+
6: "24px",
|
|
8448
|
+
6.5: "26px",
|
|
8449
|
+
// Agregado: Para switch small
|
|
8450
|
+
7: "28px",
|
|
8451
|
+
8: "32px",
|
|
8452
|
+
8.5: "34px",
|
|
8453
|
+
// Agregado: Para switch regular
|
|
8454
|
+
9: "36px",
|
|
8455
|
+
10: "40px",
|
|
8456
|
+
11: "44px",
|
|
8457
|
+
12: "48px",
|
|
8458
|
+
14: "56px",
|
|
8459
|
+
// Agregado: Para file upload padding
|
|
8460
|
+
16: "64px",
|
|
8461
|
+
// Agregado: Para navbar height y sidebar collapsed
|
|
8462
|
+
60: "240px"
|
|
8463
|
+
// Agregado: Para sidebar width
|
|
8464
|
+
},
|
|
8465
|
+
maxWidth: {
|
|
8466
|
+
compact: "360px",
|
|
8467
|
+
// Agregado: Para banner compact
|
|
8468
|
+
full: "1184px",
|
|
8469
|
+
// Agregado: Para banner full
|
|
8470
|
+
container: "1440px",
|
|
8471
|
+
// Agregado: Para navbar container
|
|
8472
|
+
dashboardMain: "767px",
|
|
8473
|
+
// Agregado: Para cards principales
|
|
8474
|
+
dashboardRight: "337px",
|
|
8475
|
+
// Agregado: Para columna derecha
|
|
8476
|
+
dashboardAccred: "347px",
|
|
8477
|
+
// Agregado: Para acreditaciones (columna)
|
|
8478
|
+
sidebar: "240px",
|
|
8479
|
+
// Agregado: Para sidebar
|
|
8480
|
+
dropdown: "12rem"
|
|
8481
|
+
// Agregado: Para dropdown minWidth
|
|
8482
|
+
},
|
|
8483
|
+
radius: {
|
|
8484
|
+
none: "0px",
|
|
8485
|
+
xs: "2px",
|
|
8486
|
+
sm: "6px",
|
|
8487
|
+
md: "8px",
|
|
8488
|
+
lg: "12px",
|
|
8489
|
+
xl: "16px",
|
|
8490
|
+
"2xl": "18px",
|
|
8491
|
+
full: "9999px"
|
|
8492
|
+
},
|
|
8493
|
+
shadow: {
|
|
8494
|
+
none: "none",
|
|
8495
|
+
xs: "0 1px 2px rgba(0,0,0,0.04)",
|
|
8496
|
+
sm: "0 1px 3px rgba(0,0,0,0.08)",
|
|
8497
|
+
md: "0 4px 12px rgba(0,0,0,0.1)",
|
|
8498
|
+
lg: "0 8px 24px rgba(0,0,0,0.12)",
|
|
8499
|
+
focus: "0px 0px 0px 4px",
|
|
8500
|
+
focusSm: "0px 0px 0px 2px",
|
|
8501
|
+
dropdown: "0px 2px 4px -1px rgba(0,0,0,0.06), 0px 4px 6px -1px rgba(0,0,0,0.1)",
|
|
8502
|
+
drawer: "0px 4px 6px -2px rgba(0, 0, 0, 0.05), 0px 6px 12px -4px rgba(0, 0, 0, 0.1)"
|
|
8503
|
+
},
|
|
8504
|
+
border: {
|
|
8505
|
+
width: {
|
|
8506
|
+
0: "0",
|
|
8507
|
+
1: "1px",
|
|
8508
|
+
2: "2px",
|
|
8509
|
+
4: "4px"
|
|
8390
8510
|
}
|
|
8391
8511
|
},
|
|
8392
8512
|
motion: {
|
|
8393
8513
|
duration: {
|
|
8394
|
-
fast: "
|
|
8395
|
-
normal: "
|
|
8514
|
+
fast: "120ms",
|
|
8515
|
+
normal: "200ms",
|
|
8516
|
+
slow: "300ms"
|
|
8396
8517
|
},
|
|
8397
8518
|
easing: {
|
|
8398
|
-
|
|
8399
|
-
out: "ease-out"
|
|
8519
|
+
in: "ease-in",
|
|
8520
|
+
out: "ease-out",
|
|
8521
|
+
inOut: "ease-in-out",
|
|
8522
|
+
standard: "cubic-bezier(0.2, 0, 0, 1)"
|
|
8400
8523
|
}
|
|
8401
8524
|
},
|
|
8402
|
-
|
|
8403
|
-
|
|
8404
|
-
|
|
8525
|
+
opacity: {
|
|
8526
|
+
disabled: 0.4,
|
|
8527
|
+
muted: 0.7,
|
|
8528
|
+
overlay: 0.5
|
|
8529
|
+
},
|
|
8530
|
+
zIndex: {
|
|
8531
|
+
base: 1,
|
|
8532
|
+
dropdown: 1e3,
|
|
8533
|
+
modal: 1100,
|
|
8534
|
+
overlay: 1200,
|
|
8535
|
+
toast: 1300,
|
|
8536
|
+
tooltip: 1400
|
|
8537
|
+
},
|
|
8538
|
+
other: {
|
|
8539
|
+
backdropBlur: "4px",
|
|
8540
|
+
// Agregado: Para drawer overlay
|
|
8541
|
+
cursor: {
|
|
8542
|
+
grab: "grab",
|
|
8543
|
+
grabbing: "grabbing"
|
|
8544
|
+
},
|
|
8545
|
+
borderStyle: {
|
|
8546
|
+
dashed: "dashed"
|
|
8547
|
+
},
|
|
8548
|
+
scrollBehavior: "smooth",
|
|
8549
|
+
maxHeight: "80vh",
|
|
8550
|
+
// Agregado: Para drawer content
|
|
8551
|
+
transparent: "transparent",
|
|
8552
|
+
auto: "auto"
|
|
8405
8553
|
}
|
|
8406
8554
|
},
|
|
8407
8555
|
semanticTokens: {
|
|
@@ -8413,118 +8561,517 @@ var themeDefault = {
|
|
|
8413
8561
|
},
|
|
8414
8562
|
surface: {
|
|
8415
8563
|
default: "{foundations.colors.neutral.0}",
|
|
8416
|
-
muted: "{foundations.colors.neutral.
|
|
8417
|
-
hover: "{foundations.colors.neutral.
|
|
8564
|
+
muted: "{foundations.colors.neutral.50}",
|
|
8565
|
+
hover: "{foundations.colors.neutral.100}",
|
|
8566
|
+
selected: "{foundations.colors.brand.50}"
|
|
8418
8567
|
},
|
|
8419
8568
|
border: {
|
|
8420
|
-
default: "{foundations.colors.neutral.
|
|
8421
|
-
focus: "{foundations.colors.
|
|
8569
|
+
default: "{foundations.colors.neutral.200}",
|
|
8570
|
+
focus: "{foundations.colors.brand.500}",
|
|
8571
|
+
subtle: "{foundations.colors.neutral.100}"
|
|
8422
8572
|
},
|
|
8423
8573
|
action: {
|
|
8424
|
-
primary: "{foundations.colors.
|
|
8425
|
-
primaryHover: "{foundations.colors.
|
|
8426
|
-
secondary: "{foundations.colors.neutral.
|
|
8574
|
+
primary: "{foundations.colors.brand.500}",
|
|
8575
|
+
primaryHover: "{foundations.colors.brand.700}",
|
|
8576
|
+
secondary: "{foundations.colors.neutral.100}",
|
|
8427
8577
|
disabled: "{foundations.colors.neutral.300}"
|
|
8428
8578
|
},
|
|
8429
|
-
|
|
8430
|
-
|
|
8431
|
-
|
|
8432
|
-
|
|
8579
|
+
feedback: {
|
|
8580
|
+
success: {
|
|
8581
|
+
bg: "{foundations.colors.feedback.success.50}",
|
|
8582
|
+
text: "{foundations.colors.feedback.success.700}",
|
|
8583
|
+
border: "{foundations.colors.feedback.success.500}",
|
|
8584
|
+
iconBg: "{semanticTokens.surface.muted}",
|
|
8585
|
+
action: "{semanticTokens.text.primary}"
|
|
8586
|
+
},
|
|
8587
|
+
error: {
|
|
8588
|
+
bg: "{foundations.colors.feedback.error.50}",
|
|
8589
|
+
text: "{foundations.colors.feedback.error.700}",
|
|
8590
|
+
border: "{foundations.colors.feedback.error.500}"
|
|
8591
|
+
},
|
|
8592
|
+
warning: {
|
|
8593
|
+
bg: "{foundations.colors.feedback.warning.50}",
|
|
8594
|
+
text: "{foundations.colors.feedback.warning.700}",
|
|
8595
|
+
border: "{foundations.colors.feedback.warning.500}"
|
|
8596
|
+
},
|
|
8597
|
+
info: {
|
|
8598
|
+
bg: "{foundations.colors.feedback.info.50}",
|
|
8599
|
+
text: "{foundations.colors.feedback.info.700}",
|
|
8600
|
+
border: "{foundations.colors.feedback.info.500}"
|
|
8601
|
+
}
|
|
8602
|
+
},
|
|
8603
|
+
state: {
|
|
8604
|
+
disabled: {
|
|
8605
|
+
bg: "{foundations.colors.neutral.200}",
|
|
8606
|
+
text: "{foundations.colors.neutral.400}",
|
|
8607
|
+
border: "{foundations.colors.neutral.300}"
|
|
8608
|
+
}
|
|
8433
8609
|
}
|
|
8434
8610
|
},
|
|
8435
8611
|
components: {
|
|
8436
8612
|
button: {
|
|
8437
8613
|
base: {
|
|
8438
8614
|
radius: "{foundations.radius.md}",
|
|
8439
|
-
fontWeight: "{foundations.typography.
|
|
8440
|
-
transition: "{foundations.motion.duration.fast}"
|
|
8615
|
+
fontWeight: "{foundations.typography.weight.400}",
|
|
8616
|
+
transition: "{foundations.motion.duration.fast}",
|
|
8617
|
+
display: "inline-flex",
|
|
8618
|
+
alignItems: "center",
|
|
8619
|
+
justifyContent: "center",
|
|
8620
|
+
gap: "{foundations.spacing.2}",
|
|
8621
|
+
outline: "none"
|
|
8622
|
+
},
|
|
8623
|
+
sizes: {
|
|
8624
|
+
small: {
|
|
8625
|
+
height: "{foundations.spacing.9}",
|
|
8626
|
+
paddingX: '{foundations.spacing.["2.5"]}',
|
|
8627
|
+
fontSize: "{foundations.typography.size.14}",
|
|
8628
|
+
fontWeight: "{foundations.typography.weight.550}"
|
|
8629
|
+
},
|
|
8630
|
+
medium: {
|
|
8631
|
+
height: "{foundations.spacing.10}",
|
|
8632
|
+
paddingX: "{foundations.spacing.3}",
|
|
8633
|
+
fontSize: "{foundations.typography.size.14}",
|
|
8634
|
+
fontWeight: "{foundations.typography.weight.550}"
|
|
8635
|
+
},
|
|
8636
|
+
large: {
|
|
8637
|
+
height: "{foundations.spacing.11}",
|
|
8638
|
+
paddingX: "{foundations.spacing.4}",
|
|
8639
|
+
fontSize: "{foundations.typography.size.16}",
|
|
8640
|
+
fontWeight: "{foundations.typography.weight.550}"
|
|
8641
|
+
}
|
|
8441
8642
|
},
|
|
8442
8643
|
variants: {
|
|
8443
8644
|
primary: {
|
|
8444
|
-
background: "{
|
|
8445
|
-
|
|
8446
|
-
|
|
8645
|
+
background: "{foundations.colors.brand.500}",
|
|
8646
|
+
color: "{foundations.colors.neutral.0}",
|
|
8647
|
+
hover: {
|
|
8648
|
+
background: "{foundations.colors.brand.700}"
|
|
8649
|
+
},
|
|
8650
|
+
focus: {
|
|
8651
|
+
boxShadow: "{foundations.shadow.focus} {foundations.colors.brand.500}"
|
|
8652
|
+
},
|
|
8653
|
+
disabled: {
|
|
8654
|
+
background: "{foundations.colors.neutral.150}",
|
|
8655
|
+
color: "{foundations.colors.neutral.450}"
|
|
8656
|
+
}
|
|
8447
8657
|
},
|
|
8448
8658
|
secondary: {
|
|
8449
|
-
background: "{
|
|
8450
|
-
color: "{
|
|
8659
|
+
background: "{foundations.colors.neutral.0}",
|
|
8660
|
+
color: "{foundations.colors.brand.500}",
|
|
8661
|
+
hover: {
|
|
8662
|
+
background: "{foundations.colors.brand.100}",
|
|
8663
|
+
color: "{foundations.colors.brand.700}"
|
|
8664
|
+
},
|
|
8665
|
+
focus: {
|
|
8666
|
+
boxShadow: "{foundations.shadow.focus} {foundations.colors.brand.500}"
|
|
8667
|
+
},
|
|
8668
|
+
disabled: {
|
|
8669
|
+
background: "{foundations.other.transparent}",
|
|
8670
|
+
color: "{foundations.colors.neutral.450}",
|
|
8671
|
+
border: "{foundations.colors.neutral.150}"
|
|
8672
|
+
}
|
|
8673
|
+
},
|
|
8674
|
+
tertiary: {
|
|
8675
|
+
background: "{foundations.other.transparent}",
|
|
8676
|
+
color: "{foundations.colors.brand.500}",
|
|
8677
|
+
hover: {
|
|
8678
|
+
background: "{foundations.other.transparent}",
|
|
8679
|
+
color: "{foundations.colors.brand.700}"
|
|
8680
|
+
},
|
|
8681
|
+
focus: {
|
|
8682
|
+
boxShadow: "{foundations.shadow.focus} {foundations.colors.brand.500}",
|
|
8683
|
+
color: "{foundations.colors.brand.500}"
|
|
8684
|
+
},
|
|
8685
|
+
disabled: {
|
|
8686
|
+
color: "{foundations.colors.neutral.450}",
|
|
8687
|
+
background: "{foundations.other.transparent}"
|
|
8688
|
+
}
|
|
8451
8689
|
}
|
|
8452
8690
|
}
|
|
8453
8691
|
},
|
|
8454
8692
|
label: {
|
|
8455
|
-
fontSize: "{foundations.typography.
|
|
8693
|
+
fontSize: "{foundations.typography.size.14}",
|
|
8456
8694
|
color: "{semanticTokens.text.primary}",
|
|
8457
|
-
padding: "{foundations.spacing.
|
|
8458
|
-
fontWeight: "{foundations.typography.
|
|
8695
|
+
padding: "{foundations.spacing.2} {foundations.spacing.3}",
|
|
8696
|
+
fontWeight: "{foundations.typography.weight.500}"
|
|
8459
8697
|
},
|
|
8460
8698
|
input: {
|
|
8461
|
-
|
|
8462
|
-
|
|
8463
|
-
|
|
8464
|
-
|
|
8465
|
-
|
|
8699
|
+
base: {
|
|
8700
|
+
background: "{foundations.colors.neutral.0}",
|
|
8701
|
+
boxShadow: "{foundations.shadow.xs}",
|
|
8702
|
+
color: "{foundations.colors.neutral.850}",
|
|
8703
|
+
border: "{foundations.border.width.1} solid {foundations.colors.neutral.150}",
|
|
8704
|
+
radius: "{foundations.radius.md}",
|
|
8705
|
+
hover: {
|
|
8706
|
+
color: "{foundations.colors.neutral.850}",
|
|
8707
|
+
background: "{foundations.colors.neutral.0}",
|
|
8708
|
+
border: "{foundations.border.width.1} solid {foundations.colors.neutral.350}"
|
|
8709
|
+
},
|
|
8710
|
+
focus: {
|
|
8711
|
+
border: "{foundations.border.width.1} solid {foundations.colors.brand.500}",
|
|
8712
|
+
boxShadow: "{foundations.shadow.focusSm} {foundations.colors.brand.100}",
|
|
8713
|
+
color: "{foundations.colors.neutral.850}"
|
|
8714
|
+
},
|
|
8715
|
+
filled: {
|
|
8716
|
+
color: "{foundations.colors.neutral.850}",
|
|
8717
|
+
background: "{foundations.colors.neutral.950}",
|
|
8718
|
+
boxShadow: "{foundations.shadow.xs}"
|
|
8719
|
+
},
|
|
8720
|
+
disabled: {
|
|
8721
|
+
background: "{foundations.colors.neutral.150}",
|
|
8722
|
+
color: "{foundations.colors.neutral.550}",
|
|
8723
|
+
border: "{foundations.border.width.1} solid {foundations.colors.neutral.350}",
|
|
8724
|
+
boxShadow: "{foundations.shadow.xs}"
|
|
8725
|
+
},
|
|
8726
|
+
error: {
|
|
8727
|
+
background: "{foundations.colors.neutral.0}",
|
|
8728
|
+
border: "{foundations.border.width.1} solid {foundations.colors.feedback.error.600}",
|
|
8729
|
+
color: "{foundations.colors.feedback.error.600}",
|
|
8730
|
+
boxShadow: "{foundations.shadow.xs}",
|
|
8731
|
+
filled: {
|
|
8732
|
+
border: "{foundations.border.width.1} solid {foundations.colors.feedback.error.600}",
|
|
8733
|
+
color: "{foundations.colors.neutral.850}",
|
|
8734
|
+
boxShadow: "{foundations.shadow.xs}"
|
|
8735
|
+
},
|
|
8736
|
+
focus: {
|
|
8737
|
+
border: "{foundations.border.width.1} solid {foundations.colors.feedback.error.600}",
|
|
8738
|
+
boxShadow: "{foundations.shadow.focusSm} {foundations.colors.feedback.error.800}",
|
|
8739
|
+
color: "{foundations.colors.neutral.850}"
|
|
8740
|
+
},
|
|
8741
|
+
hover: {
|
|
8742
|
+
border: "{foundations.border.width.1} solid {foundations.colors.feedback.error.700}",
|
|
8743
|
+
boxShadow: "{foundations.shadow.focusSm} {foundations.colors.feedback.error.800}",
|
|
8744
|
+
color: "{foundations.colors.neutral.850}"
|
|
8745
|
+
}
|
|
8746
|
+
}
|
|
8747
|
+
},
|
|
8748
|
+
sizes: {
|
|
8749
|
+
medium: {
|
|
8750
|
+
height: "{foundations.spacing.11}",
|
|
8751
|
+
padding: "{foundations.spacing.3}",
|
|
8752
|
+
labelFontSize: "{foundations.typography.size.14}",
|
|
8753
|
+
inputFontSize: "{foundations.typography.size.16}",
|
|
8754
|
+
helperFontSize: "{foundations.typography.size.14}",
|
|
8755
|
+
labelFontWeight: "{foundations.typography.weight.550}",
|
|
8756
|
+
inputFontWeight: "{foundations.typography.weight.400}",
|
|
8757
|
+
helperFontWeight: "{foundations.typography.weight.400}",
|
|
8758
|
+
labelColor: "{foundations.colors.neutral.850}",
|
|
8759
|
+
helperColor: "{foundations.colors.neutral.650}",
|
|
8760
|
+
iconSize: "{foundations.typography.size.16}"
|
|
8761
|
+
},
|
|
8762
|
+
small: {
|
|
8763
|
+
height: "{foundations.spacing.8}",
|
|
8764
|
+
padding: '{foundations.spacing.3} {foundations.spacing.["2.5"]}',
|
|
8765
|
+
labelFontSize: "{foundations.typography.size.14}",
|
|
8766
|
+
inputFontSize: "{foundations.typography.size.14}",
|
|
8767
|
+
helperFontSize: "{foundations.typography.size.14}",
|
|
8768
|
+
labelFontWeight: "{foundations.typography.weight.550}",
|
|
8769
|
+
inputFontWeight: "{foundations.typography.weight.400}",
|
|
8770
|
+
helperFontWeight: "{foundations.typography.weight.400}",
|
|
8771
|
+
labelColor: "{foundations.colors.neutral.850}",
|
|
8772
|
+
helperColor: "{foundations.colors.neutral.650}",
|
|
8773
|
+
iconSize: "{foundations.typography.size.16}"
|
|
8774
|
+
}
|
|
8775
|
+
}
|
|
8776
|
+
},
|
|
8777
|
+
emptyState: {
|
|
8778
|
+
base: {
|
|
8779
|
+
container: {
|
|
8780
|
+
background: "{foundations.other.transparent}",
|
|
8781
|
+
padding: "{foundations.spacing.6}"
|
|
8782
|
+
},
|
|
8783
|
+
icon: {
|
|
8784
|
+
size: {
|
|
8785
|
+
small: "{foundations.spacing.5}",
|
|
8786
|
+
medium: "{foundations.spacing.6}"
|
|
8787
|
+
},
|
|
8788
|
+
color: "{foundations.colors.neutral.650}",
|
|
8789
|
+
containerRadius: "{foundations.radius.xs}"
|
|
8790
|
+
},
|
|
8791
|
+
title: {
|
|
8792
|
+
color: "{foundations.colors.neutral.850}",
|
|
8793
|
+
fontWeight: "{foundations.typography.weight.550}",
|
|
8794
|
+
size: {
|
|
8795
|
+
small: "{foundations.typography.size.16}",
|
|
8796
|
+
medium: "{foundations.typography.size.18}"
|
|
8797
|
+
}
|
|
8798
|
+
},
|
|
8799
|
+
description: {
|
|
8800
|
+
color: "{foundations.colors.neutral.650}",
|
|
8801
|
+
fontWeight: "{foundations.typography.weight.400}",
|
|
8802
|
+
size: {
|
|
8803
|
+
small: "{foundations.typography.size.12}",
|
|
8804
|
+
medium: "{foundations.typography.size.14}"
|
|
8805
|
+
}
|
|
8806
|
+
},
|
|
8807
|
+
actions: {
|
|
8808
|
+
gap: "{foundations.spacing.2}"
|
|
8809
|
+
}
|
|
8810
|
+
}
|
|
8811
|
+
},
|
|
8812
|
+
fileUpload: {
|
|
8813
|
+
base: {
|
|
8814
|
+
container: {
|
|
8815
|
+
background: "{foundations.other.transparent}",
|
|
8816
|
+
padding: "{foundations.spacing.6}"
|
|
8817
|
+
},
|
|
8818
|
+
dropzone: {
|
|
8819
|
+
radius: "{foundations.radius.xl}",
|
|
8820
|
+
borderStyle: "{foundations.other.borderStyle.dashed}",
|
|
8821
|
+
borderWidth: "{foundations.border.width.1}",
|
|
8822
|
+
borderColor: "{semanticTokens.border.default}",
|
|
8823
|
+
paddingX: "{foundations.spacing.10}",
|
|
8824
|
+
paddingY: "{foundations.spacing.14}",
|
|
8825
|
+
gap: "{foundations.spacing.4}"
|
|
8826
|
+
},
|
|
8827
|
+
icon: {
|
|
8828
|
+
size: "{foundations.typography.size.30}",
|
|
8829
|
+
color: "{foundations.colors.neutral.650}",
|
|
8830
|
+
wrapperSize: "{foundations.spacing.12}",
|
|
8831
|
+
wrapperRadius: "{foundations.spacing.6}",
|
|
8832
|
+
wrapperBg: "{foundations.colors.neutral.125}"
|
|
8833
|
+
},
|
|
8834
|
+
title: {
|
|
8835
|
+
color: "{foundations.colors.neutral.850}",
|
|
8836
|
+
fontSize: "{foundations.typography.size.16}",
|
|
8837
|
+
fontWeight: "{foundations.typography.weight.550}"
|
|
8838
|
+
},
|
|
8839
|
+
description: {
|
|
8840
|
+
color: "{foundations.colors.neutral.650}",
|
|
8841
|
+
fontSize: "{foundations.typography.size.14}",
|
|
8842
|
+
fontWeight: "{foundations.typography.weight.400}"
|
|
8843
|
+
},
|
|
8844
|
+
actions: {
|
|
8845
|
+
gap: "{foundations.spacing.2}"
|
|
8846
|
+
}
|
|
8847
|
+
}
|
|
8466
8848
|
},
|
|
8467
8849
|
select: {
|
|
8468
|
-
|
|
8469
|
-
|
|
8470
|
-
|
|
8471
|
-
|
|
8472
|
-
|
|
8850
|
+
base: {
|
|
8851
|
+
background: "{foundations.colors.neutral.0}",
|
|
8852
|
+
boxShadow: "{foundations.shadow.xs}",
|
|
8853
|
+
color: "{foundations.colors.neutral.850}",
|
|
8854
|
+
border: "{foundations.border.width.1} solid {foundations.colors.neutral.150}",
|
|
8855
|
+
radius: "{foundations.radius.md}",
|
|
8856
|
+
hover: {
|
|
8857
|
+
color: "{foundations.colors.neutral.850}",
|
|
8858
|
+
background: "{foundations.colors.neutral.0}",
|
|
8859
|
+
border: "{foundations.border.width.1} solid {foundations.colors.neutral.350}"
|
|
8860
|
+
},
|
|
8861
|
+
focus: {
|
|
8862
|
+
border: "{foundations.border.width.1} solid {foundations.colors.brand.500}",
|
|
8863
|
+
boxShadow: "{foundations.shadow.focusSm} {foundations.colors.brand.100}",
|
|
8864
|
+
color: "{foundations.colors.neutral.850}"
|
|
8865
|
+
},
|
|
8866
|
+
filled: {
|
|
8867
|
+
color: "{foundations.colors.neutral.850}",
|
|
8868
|
+
background: "{foundations.colors.neutral.950}",
|
|
8869
|
+
boxShadow: "{foundations.shadow.xs}"
|
|
8870
|
+
},
|
|
8871
|
+
disabled: {
|
|
8872
|
+
background: "{foundations.colors.neutral.150}",
|
|
8873
|
+
color: "{foundations.colors.neutral.550}",
|
|
8874
|
+
border: "{foundations.border.width.1} solid {foundations.colors.neutral.350}",
|
|
8875
|
+
boxShadow: "{foundations.shadow.xs}"
|
|
8876
|
+
},
|
|
8877
|
+
error: {
|
|
8878
|
+
background: "{foundations.colors.neutral.0}",
|
|
8879
|
+
border: "{foundations.border.width.1} solid {foundations.colors.feedback.error.600}",
|
|
8880
|
+
color: "{foundations.colors.feedback.error.600}",
|
|
8881
|
+
boxShadow: "{foundations.shadow.xs}",
|
|
8882
|
+
filled: {
|
|
8883
|
+
border: "{foundations.border.width.1} solid {foundations.colors.feedback.error.600}",
|
|
8884
|
+
color: "{foundations.colors.neutral.850}",
|
|
8885
|
+
boxShadow: "{foundations.shadow.xs}"
|
|
8886
|
+
},
|
|
8887
|
+
focus: {
|
|
8888
|
+
border: "{foundations.border.width.1} solid {foundations.colors.feedback.error.600}",
|
|
8889
|
+
boxShadow: "{foundations.shadow.focusSm} {foundations.colors.feedback.error.800}",
|
|
8890
|
+
color: "{foundations.colors.neutral.850}"
|
|
8891
|
+
},
|
|
8892
|
+
hover: {
|
|
8893
|
+
border: "{foundations.border.width.1} solid {foundations.colors.feedback.error.700}",
|
|
8894
|
+
boxShadow: "{foundations.shadow.focusSm} {foundations.colors.feedback.error.800}",
|
|
8895
|
+
color: "{foundations.colors.neutral.850}"
|
|
8896
|
+
}
|
|
8897
|
+
}
|
|
8898
|
+
},
|
|
8899
|
+
sizes: {
|
|
8900
|
+
medium: {
|
|
8901
|
+
height: "{foundations.spacing.11}",
|
|
8902
|
+
padding: "{foundations.spacing.3}",
|
|
8903
|
+
labelFontSize: "{foundations.typography.size.14}",
|
|
8904
|
+
inputFontSize: "{foundations.typography.size.16}",
|
|
8905
|
+
helperFontSize: "{foundations.typography.size.14}",
|
|
8906
|
+
labelFontWeight: "{foundations.typography.weight.550}",
|
|
8907
|
+
inputFontWeight: "{foundations.typography.weight.400}",
|
|
8908
|
+
helperFontWeight: "{foundations.typography.weight.400}",
|
|
8909
|
+
labelColor: "{foundations.colors.neutral.850}",
|
|
8910
|
+
helperColor: "{foundations.colors.neutral.650}",
|
|
8911
|
+
iconSize: "{foundations.typography.size.16}"
|
|
8912
|
+
},
|
|
8913
|
+
small: {
|
|
8914
|
+
height: "{foundations.spacing.8}",
|
|
8915
|
+
padding: '{foundations.spacing.3} {foundations.spacing.["2.5"]}',
|
|
8916
|
+
labelFontSize: "{foundations.typography.size.14}",
|
|
8917
|
+
inputFontSize: "{foundations.typography.size.14}",
|
|
8918
|
+
helperFontSize: "{foundations.typography.size.14}",
|
|
8919
|
+
labelFontWeight: "{foundations.typography.weight.550}",
|
|
8920
|
+
inputFontWeight: "{foundations.typography.weight.400}",
|
|
8921
|
+
helperFontWeight: "{foundations.typography.weight.400}",
|
|
8922
|
+
labelColor: "{foundations.colors.neutral.850}",
|
|
8923
|
+
helperColor: "{foundations.colors.neutral.650}",
|
|
8924
|
+
iconSize: "{foundations.typography.size.16}"
|
|
8925
|
+
}
|
|
8926
|
+
}
|
|
8473
8927
|
},
|
|
8474
8928
|
tooltip: {
|
|
8475
|
-
background: "{foundations.colors.neutral.
|
|
8476
|
-
color: "{
|
|
8477
|
-
radius: "{foundations.radius.sm}"
|
|
8929
|
+
background: "{foundations.colors.neutral.850}",
|
|
8930
|
+
color: "{foundations.colors.neutral.0}",
|
|
8931
|
+
radius: "{foundations.radius.sm}",
|
|
8932
|
+
fontSize: "{foundations.typography.size.14}",
|
|
8933
|
+
fontWeight: "{foundations.typography.weight.400}",
|
|
8934
|
+
lineHeight: "{foundations.typography.lineHeight.tight}",
|
|
8935
|
+
letterSpacing: "{foundations.typography.letterSpacing.tighter}",
|
|
8936
|
+
textAlign: "center",
|
|
8937
|
+
caretColor: "{foundations.colors.neutral.850}"
|
|
8478
8938
|
},
|
|
8479
8939
|
accordion: {
|
|
8480
|
-
|
|
8481
|
-
|
|
8482
|
-
|
|
8483
|
-
|
|
8940
|
+
base: {
|
|
8941
|
+
radius: "{foundations.radius.sm}",
|
|
8942
|
+
borderWidth: "{foundations.border.width.1}",
|
|
8943
|
+
borderColor: "{foundations.colors.neutral.150}",
|
|
8944
|
+
background: "{foundations.colors.neutral.0}",
|
|
8945
|
+
transition: "{foundations.motion.duration.fast}",
|
|
8946
|
+
text: {
|
|
8947
|
+
title: "{foundations.colors.neutral.850}",
|
|
8948
|
+
content: "{foundations.colors.neutral.750}",
|
|
8949
|
+
icon: "{foundations.colors.neutral.650}"
|
|
8950
|
+
},
|
|
8951
|
+
states: {
|
|
8952
|
+
default: {
|
|
8953
|
+
background: "{foundations.colors.neutral.0}",
|
|
8954
|
+
borderColor: "{foundations.other.transparent}",
|
|
8955
|
+
text: "{foundations.colors.neutral.850}"
|
|
8956
|
+
},
|
|
8957
|
+
hover: {
|
|
8958
|
+
text: "{foundations.colors.brand.500}",
|
|
8959
|
+
icon: "{foundations.colors.brand.500}"
|
|
8960
|
+
},
|
|
8961
|
+
focus: {
|
|
8962
|
+
borderColor: "{foundations.colors.brand.500}",
|
|
8963
|
+
ring: "{foundations.shadow.focus} {foundations.colors.brand.500}"
|
|
8964
|
+
}
|
|
8965
|
+
}
|
|
8966
|
+
},
|
|
8967
|
+
sizes: {
|
|
8968
|
+
small: {
|
|
8969
|
+
trigger: {
|
|
8970
|
+
paddingY: "{foundations.spacing.3}",
|
|
8971
|
+
fontSize: "{foundations.typography.size.14}"
|
|
8972
|
+
},
|
|
8973
|
+
content: {
|
|
8974
|
+
fontSize: "{foundations.typography.size.14}",
|
|
8975
|
+
paddingTop: "{foundations.spacing.2}",
|
|
8976
|
+
paddingBottom: "{foundations.spacing.3}"
|
|
8977
|
+
},
|
|
8978
|
+
icon: {
|
|
8979
|
+
size: "{foundations.typography.size.14}"
|
|
8980
|
+
}
|
|
8981
|
+
},
|
|
8982
|
+
medium: {
|
|
8983
|
+
trigger: {
|
|
8984
|
+
paddingY: "{foundations.spacing.4}",
|
|
8985
|
+
fontSize: "{foundations.typography.size.16}"
|
|
8986
|
+
},
|
|
8987
|
+
content: {
|
|
8988
|
+
fontSize: "{foundations.typography.size.16}",
|
|
8989
|
+
paddingTop: "{foundations.spacing.3}",
|
|
8990
|
+
paddingBottom: "{foundations.spacing.4}"
|
|
8991
|
+
},
|
|
8992
|
+
icon: {
|
|
8993
|
+
size: "{foundations.typography.size.16}"
|
|
8994
|
+
}
|
|
8995
|
+
}
|
|
8996
|
+
}
|
|
8484
8997
|
},
|
|
8485
8998
|
checkbox: {
|
|
8486
|
-
|
|
8487
|
-
|
|
8488
|
-
|
|
8489
|
-
|
|
8490
|
-
|
|
8491
|
-
|
|
8492
|
-
|
|
8493
|
-
|
|
8494
|
-
|
|
8495
|
-
|
|
8496
|
-
|
|
8497
|
-
|
|
8498
|
-
|
|
8499
|
-
|
|
8500
|
-
|
|
8501
|
-
|
|
8502
|
-
|
|
8503
|
-
|
|
8504
|
-
|
|
8999
|
+
base: {
|
|
9000
|
+
fontWeight: "{foundations.typography.weight.400}",
|
|
9001
|
+
lineHeight: "{foundations.typography.lineHeight.normal}",
|
|
9002
|
+
gap: "{foundations.spacing.3}",
|
|
9003
|
+
track: {
|
|
9004
|
+
radius: "{foundations.radius.sm}",
|
|
9005
|
+
background: "{semanticTokens.surface.muted}",
|
|
9006
|
+
border: "{semanticTokens.border.default}",
|
|
9007
|
+
focusBorder: "{semanticTokens.border.focus}"
|
|
9008
|
+
},
|
|
9009
|
+
checked: {
|
|
9010
|
+
background: "{foundations.colors.brand.500}",
|
|
9011
|
+
backgroundHover: "{foundations.colors.brand.700}"
|
|
9012
|
+
},
|
|
9013
|
+
disabled: {
|
|
9014
|
+
background: "{foundations.colors.neutral.150}",
|
|
9015
|
+
border: "{foundations.colors.neutral.150}",
|
|
9016
|
+
text: "{foundations.colors.neutral.450}"
|
|
9017
|
+
},
|
|
9018
|
+
thumb: {
|
|
9019
|
+
color: "{semanticTokens.surface.default}"
|
|
9020
|
+
},
|
|
9021
|
+
motion: {
|
|
9022
|
+
duration: "{foundations.motion.duration.fast}"
|
|
9023
|
+
}
|
|
8505
9024
|
},
|
|
8506
|
-
|
|
8507
|
-
|
|
9025
|
+
sizes: {
|
|
9026
|
+
regular: {
|
|
9027
|
+
control: "{foundations.spacing.5}",
|
|
9028
|
+
labelFontSize: "{foundations.typography.size.16}",
|
|
9029
|
+
descriptionFontSize: "{foundations.typography.size.14}",
|
|
9030
|
+
labelFontWeight: "{foundations.typography.weight.400}",
|
|
9031
|
+
descriptionFontWeight: "{foundations.typography.weight.400}",
|
|
9032
|
+
labelColor: "{foundations.colors.neutral.850}",
|
|
9033
|
+
descriptionColor: "{foundations.colors.neutral.650}",
|
|
9034
|
+
icon: "{foundations.typography.size.16}"
|
|
9035
|
+
},
|
|
9036
|
+
small: {
|
|
9037
|
+
control: "{foundations.spacing.4}",
|
|
9038
|
+
labelFontSize: "{foundations.typography.size.14}",
|
|
9039
|
+
descriptionFontSize: "{foundations.typography.size.12}",
|
|
9040
|
+
labelFontWeight: "{foundations.typography.weight.400}",
|
|
9041
|
+
descriptionFontWeight: "{foundations.typography.weight.400}",
|
|
9042
|
+
labelColor: "{foundations.colors.neutral.850}",
|
|
9043
|
+
descriptionColor: "{foundations.colors.neutral.650}",
|
|
9044
|
+
icon: "{foundations.typography.size.14}"
|
|
9045
|
+
},
|
|
9046
|
+
extraSmall: {
|
|
9047
|
+
control: "{foundations.typography.size.14}",
|
|
9048
|
+
labelFontSize: "{foundations.typography.size.12}",
|
|
9049
|
+
descriptionFontSize: "{foundations.typography.size.12}",
|
|
9050
|
+
labelFontWeight: "{foundations.typography.weight.400}",
|
|
9051
|
+
descriptionFontWeight: "{foundations.typography.weight.400}",
|
|
9052
|
+
labelColor: "{foundations.colors.neutral.850}",
|
|
9053
|
+
descriptionColor: "{foundations.colors.neutral.650}",
|
|
9054
|
+
icon: "{foundations.typography.size.12}"
|
|
9055
|
+
}
|
|
8508
9056
|
}
|
|
8509
9057
|
},
|
|
8510
9058
|
badge: {
|
|
8511
|
-
|
|
8512
|
-
fontWeight: "{foundations.typography.
|
|
8513
|
-
|
|
8514
|
-
lineHeight: "{foundations.typography.lineHeights.tight}"
|
|
9059
|
+
base: {
|
|
9060
|
+
fontWeight: "{foundations.typography.weight.550}",
|
|
9061
|
+
lineHeight: "{foundations.typography.lineHeight.normal}"
|
|
8515
9062
|
},
|
|
8516
9063
|
sizes: {
|
|
8517
9064
|
small: {
|
|
8518
|
-
fontSize: "{foundations.typography.
|
|
8519
|
-
padding:
|
|
9065
|
+
fontSize: "{foundations.typography.size.12}",
|
|
9066
|
+
padding: '{foundations.spacing.["0.5"]} {foundations.spacing.2}'
|
|
8520
9067
|
},
|
|
8521
9068
|
medium: {
|
|
8522
|
-
fontSize: "{foundations.typography.
|
|
8523
|
-
padding:
|
|
9069
|
+
fontSize: "{foundations.typography.size.14}",
|
|
9070
|
+
padding: '{foundations.spacing.1} {foundations.spacing.["2.5"]}'
|
|
8524
9071
|
},
|
|
8525
9072
|
large: {
|
|
8526
|
-
fontSize: "{foundations.typography.
|
|
8527
|
-
padding:
|
|
9073
|
+
fontSize: "{foundations.typography.size.16}",
|
|
9074
|
+
padding: '{foundations.spacing.["1.5"]} {foundations.spacing.3}'
|
|
8528
9075
|
}
|
|
8529
9076
|
},
|
|
8530
9077
|
shapes: {
|
|
@@ -8537,92 +9084,93 @@ var themeDefault = {
|
|
|
8537
9084
|
},
|
|
8538
9085
|
tones: {
|
|
8539
9086
|
success: {
|
|
8540
|
-
background: "{foundations.colors.
|
|
8541
|
-
color: "{
|
|
9087
|
+
background: "{foundations.colors.feedback.success.50}",
|
|
9088
|
+
color: "{foundations.colors.feedback.success.700}"
|
|
8542
9089
|
},
|
|
8543
9090
|
warning: {
|
|
8544
|
-
background: "{foundations.colors.
|
|
8545
|
-
color: "{
|
|
9091
|
+
background: "{foundations.colors.feedback.warning.50}",
|
|
9092
|
+
color: "{foundations.colors.feedback.warning.700}"
|
|
8546
9093
|
},
|
|
8547
9094
|
error: {
|
|
8548
|
-
background: "{foundations.colors.
|
|
8549
|
-
color: "{
|
|
9095
|
+
background: "{foundations.colors.feedback.error.50}",
|
|
9096
|
+
color: "{foundations.colors.feedback.error.700}"
|
|
8550
9097
|
},
|
|
8551
9098
|
info: {
|
|
8552
|
-
background: "{foundations.colors.
|
|
8553
|
-
color: "{
|
|
9099
|
+
background: "{foundations.colors.feedback.info.50}",
|
|
9100
|
+
color: "{foundations.colors.feedback.info.700}"
|
|
8554
9101
|
},
|
|
8555
9102
|
neutral: {
|
|
8556
|
-
background: "{
|
|
8557
|
-
color: "{
|
|
8558
|
-
border: "{
|
|
9103
|
+
background: "{foundations.colors.neutral.950}",
|
|
9104
|
+
color: "{foundations.colors.neutral.750}",
|
|
9105
|
+
border: "{foundations.colors.neutral.150}"
|
|
8559
9106
|
},
|
|
8560
9107
|
brand: {
|
|
8561
|
-
background: "{foundations.colors.brand.
|
|
8562
|
-
color: "{
|
|
9108
|
+
background: "{foundations.colors.brand.50}",
|
|
9109
|
+
color: "{foundations.colors.brand.500}"
|
|
8563
9110
|
}
|
|
8564
9111
|
}
|
|
8565
9112
|
},
|
|
8566
9113
|
banner: {
|
|
8567
9114
|
base: {
|
|
8568
9115
|
radius: "{foundations.radius.lg}",
|
|
8569
|
-
paddingX: "
|
|
8570
|
-
paddingY: "
|
|
9116
|
+
paddingX: "{foundations.spacing.4}",
|
|
9117
|
+
paddingY: "{foundations.spacing.4}"
|
|
8571
9118
|
},
|
|
8572
9119
|
sizes: {
|
|
8573
9120
|
full: {
|
|
8574
|
-
maxWidth: "
|
|
9121
|
+
maxWidth: "{foundations.maxWidth.full}"
|
|
8575
9122
|
},
|
|
8576
9123
|
compact: {
|
|
8577
|
-
maxWidth: "
|
|
9124
|
+
maxWidth: "{foundations.maxWidth.compact}"
|
|
8578
9125
|
}
|
|
8579
9126
|
},
|
|
8580
9127
|
tones: {
|
|
8581
9128
|
success: {
|
|
8582
|
-
background: "{foundations.colors.
|
|
8583
|
-
border: "
|
|
9129
|
+
background: "{foundations.colors.feedback.success.50}",
|
|
9130
|
+
border: "{foundations.colors.feedback.success.700}",
|
|
8584
9131
|
text: "{semanticTokens.text.primary}",
|
|
8585
|
-
iconBg: "{semanticTokens.
|
|
8586
|
-
iconColor: "
|
|
8587
|
-
action: "{semanticTokens.
|
|
9132
|
+
iconBg: "{semanticTokens.feedback.success.iconBg}",
|
|
9133
|
+
iconColor: "{foundations.colors.feedback.success.700}",
|
|
9134
|
+
action: "{semanticTokens.feedback.success.action}"
|
|
8588
9135
|
},
|
|
8589
9136
|
warning: {
|
|
8590
|
-
background: "{foundations.colors.
|
|
8591
|
-
border: "
|
|
9137
|
+
background: "{foundations.colors.feedback.warning.50}",
|
|
9138
|
+
border: "{foundations.colors.feedback.warning.700}",
|
|
8592
9139
|
text: "{semanticTokens.text.primary}",
|
|
8593
9140
|
iconBg: "{semanticTokens.surface.muted}",
|
|
8594
|
-
iconColor: "
|
|
9141
|
+
iconColor: "{foundations.colors.feedback.warning.700}",
|
|
8595
9142
|
action: "{semanticTokens.text.primary}"
|
|
8596
9143
|
},
|
|
8597
9144
|
error: {
|
|
8598
|
-
background: "{foundations.colors.
|
|
8599
|
-
border: "
|
|
9145
|
+
background: "{foundations.colors.feedback.error.50}",
|
|
9146
|
+
border: "{foundations.colors.feedback.error.700}",
|
|
8600
9147
|
text: "{semanticTokens.text.primary}",
|
|
8601
9148
|
iconBg: "{semanticTokens.surface.muted}",
|
|
8602
|
-
iconColor: "
|
|
9149
|
+
iconColor: "{foundations.colors.feedback.error.700}",
|
|
8603
9150
|
action: "{semanticTokens.text.primary}"
|
|
8604
9151
|
},
|
|
8605
9152
|
info: {
|
|
8606
|
-
background: "{foundations.colors.
|
|
8607
|
-
border: "
|
|
9153
|
+
background: "{foundations.colors.feedback.info.50}",
|
|
9154
|
+
border: "{foundations.colors.feedback.info.700}",
|
|
8608
9155
|
text: "{semanticTokens.text.primary}",
|
|
8609
9156
|
iconBg: "{semanticTokens.surface.muted}",
|
|
8610
|
-
iconColor: "
|
|
9157
|
+
iconColor: "{foundations.colors.feedback.info.700}",
|
|
8611
9158
|
action: "{semanticTokens.text.primary}"
|
|
8612
9159
|
},
|
|
8613
9160
|
neutral: {
|
|
8614
|
-
background: "{
|
|
8615
|
-
border: "
|
|
9161
|
+
background: "{foundations.colors.neutral.950}",
|
|
9162
|
+
border: "{foundations.colors.neutral.150}",
|
|
8616
9163
|
text: "{semanticTokens.text.primary}",
|
|
8617
9164
|
iconBg: "{semanticTokens.surface.muted}",
|
|
8618
|
-
iconColor: "{
|
|
9165
|
+
iconColor: "{foundations.colors.neutral.750}",
|
|
8619
9166
|
action: "{semanticTokens.text.primary}"
|
|
8620
9167
|
},
|
|
8621
9168
|
brand: {
|
|
8622
|
-
background: "{foundations.colors.brand.
|
|
9169
|
+
background: "{foundations.colors.brand.50}",
|
|
9170
|
+
color: "{foundations.colors.brand.500}",
|
|
8623
9171
|
text: "{semanticTokens.text.primary}",
|
|
8624
9172
|
iconBg: "{semanticTokens.surface.muted}",
|
|
8625
|
-
iconColor: "{foundations.colors.brand.
|
|
9173
|
+
iconColor: "{foundations.colors.brand.500}",
|
|
8626
9174
|
action: "{semanticTokens.text.primary}"
|
|
8627
9175
|
}
|
|
8628
9176
|
}
|
|
@@ -8633,42 +9181,82 @@ var themeDefault = {
|
|
|
8633
9181
|
color: "{semanticTokens.text.inverse}",
|
|
8634
9182
|
linkColor: "{semanticTokens.text.inverse}",
|
|
8635
9183
|
linkUnderline: true,
|
|
8636
|
-
borderRadius: "
|
|
8637
|
-
padding: "{foundations.spacing.
|
|
8638
|
-
imageBg: "
|
|
9184
|
+
borderRadius: "{foundations.radius.xl}",
|
|
9185
|
+
padding: "{foundations.spacing.3} {foundations.spacing.4}",
|
|
9186
|
+
imageBg: "{foundations.colors.neutral.200}"
|
|
8639
9187
|
},
|
|
8640
9188
|
secondary: {
|
|
8641
|
-
background: "{foundations.colors.brand.
|
|
9189
|
+
background: "{foundations.colors.brand.100}",
|
|
8642
9190
|
color: "{semanticTokens.text.primary}",
|
|
8643
|
-
linkColor: "{foundations.colors.brand.
|
|
9191
|
+
linkColor: "{foundations.colors.brand.500}",
|
|
8644
9192
|
linkUnderline: false,
|
|
8645
|
-
borderRadius: "{foundations.radius.
|
|
8646
|
-
padding: "{foundations.spacing.
|
|
9193
|
+
borderRadius: "{foundations.radius.xl}",
|
|
9194
|
+
padding: "{foundations.spacing.3} {foundations.spacing.4}",
|
|
8647
9195
|
imageBg: "{foundations.colors.neutral.200}"
|
|
8648
9196
|
},
|
|
8649
9197
|
tertiary: {
|
|
8650
|
-
background: "{foundations.colors.
|
|
9198
|
+
background: "{foundations.colors.feedback.warning.50}",
|
|
8651
9199
|
color: "{semanticTokens.text.primary}",
|
|
8652
|
-
linkColor: "{foundations.colors.
|
|
9200
|
+
linkColor: "{foundations.colors.feedback.warning.500}",
|
|
8653
9201
|
linkUnderline: true,
|
|
8654
|
-
borderRadius: "{foundations.radius.
|
|
8655
|
-
padding: "{foundations.spacing.
|
|
8656
|
-
imageBg: "{foundations.colors.
|
|
9202
|
+
borderRadius: "{foundations.radius.xl}",
|
|
9203
|
+
padding: "{foundations.spacing.3} {foundations.spacing.4}",
|
|
9204
|
+
imageBg: "{foundations.colors.feedback.warning.100}"
|
|
8657
9205
|
}
|
|
8658
9206
|
},
|
|
8659
9207
|
alert: {
|
|
8660
9208
|
base: {
|
|
8661
9209
|
radius: "{foundations.radius.lg}",
|
|
8662
|
-
paddingX: "
|
|
8663
|
-
paddingY: "
|
|
9210
|
+
paddingX: "{foundations.spacing.4}",
|
|
9211
|
+
paddingY: "{foundations.spacing.3}"
|
|
8664
9212
|
},
|
|
8665
9213
|
tones: {
|
|
9214
|
+
success: {
|
|
9215
|
+
background: "{foundations.colors.feedback.success.50}",
|
|
9216
|
+
border: "{foundations.colors.feedback.success.700}",
|
|
9217
|
+
text: "{semanticTokens.text.primary}",
|
|
9218
|
+
iconBg: "{semanticTokens.feedback.success.iconBg}",
|
|
9219
|
+
iconColor: "{foundations.colors.feedback.success.700}",
|
|
9220
|
+
action: "{semanticTokens.feedback.success.action}"
|
|
9221
|
+
},
|
|
9222
|
+
warning: {
|
|
9223
|
+
background: "{foundations.colors.feedback.warning.50}",
|
|
9224
|
+
border: "{foundations.colors.feedback.warning.700}",
|
|
9225
|
+
text: "{semanticTokens.text.primary}",
|
|
9226
|
+
iconBg: "{semanticTokens.surface.muted}",
|
|
9227
|
+
iconColor: "{foundations.colors.feedback.warning.700}",
|
|
9228
|
+
action: "{semanticTokens.text.primary}"
|
|
9229
|
+
},
|
|
9230
|
+
error: {
|
|
9231
|
+
background: "{foundations.colors.feedback.error.50}",
|
|
9232
|
+
border: "{foundations.colors.feedback.error.700}",
|
|
9233
|
+
text: "{semanticTokens.text.primary}",
|
|
9234
|
+
iconBg: "{semanticTokens.surface.muted}",
|
|
9235
|
+
iconColor: "{foundations.colors.feedback.error.700}",
|
|
9236
|
+
action: "{semanticTokens.text.primary}"
|
|
9237
|
+
},
|
|
9238
|
+
info: {
|
|
9239
|
+
background: "{foundations.colors.feedback.info.50}",
|
|
9240
|
+
border: "{foundations.colors.feedback.info.700}",
|
|
9241
|
+
text: "{semanticTokens.text.primary}",
|
|
9242
|
+
iconBg: "{semanticTokens.surface.muted}",
|
|
9243
|
+
iconColor: "{foundations.colors.feedback.info.700}",
|
|
9244
|
+
action: "{semanticTokens.text.primary}"
|
|
9245
|
+
},
|
|
8666
9246
|
neutral: {
|
|
8667
|
-
background: "{
|
|
8668
|
-
border: "{
|
|
9247
|
+
background: "{foundations.colors.neutral.950}",
|
|
9248
|
+
border: "{foundations.colors.neutral.150}",
|
|
8669
9249
|
text: "{semanticTokens.text.primary}",
|
|
8670
|
-
iconBg: "{semanticTokens.surface.
|
|
8671
|
-
iconColor: "{
|
|
9250
|
+
iconBg: "{semanticTokens.surface.muted}",
|
|
9251
|
+
iconColor: "{foundations.colors.neutral.750}",
|
|
9252
|
+
action: "{semanticTokens.text.primary}"
|
|
9253
|
+
},
|
|
9254
|
+
destructive: {
|
|
9255
|
+
background: "{foundations.colors.feedback.error.100}",
|
|
9256
|
+
border: "{foundations.colors.feedback.error.500}",
|
|
9257
|
+
text: "{semanticTokens.text.primary}",
|
|
9258
|
+
iconBg: "{semanticTokens.surface.muted}",
|
|
9259
|
+
iconColor: "{foundations.colors.feedback.error.500}",
|
|
8672
9260
|
action: "{semanticTokens.text.primary}"
|
|
8673
9261
|
}
|
|
8674
9262
|
}
|
|
@@ -8676,107 +9264,253 @@ var themeDefault = {
|
|
|
8676
9264
|
avatar: {
|
|
8677
9265
|
sizes: {
|
|
8678
9266
|
sm: {
|
|
8679
|
-
size: "{foundations.spacing.
|
|
8680
|
-
fontSize: "{foundations.typography.
|
|
9267
|
+
size: "{foundations.spacing.8}",
|
|
9268
|
+
fontSize: "{foundations.typography.size.12}"
|
|
8681
9269
|
},
|
|
8682
9270
|
md: {
|
|
8683
|
-
size: "{foundations.spacing.
|
|
8684
|
-
fontSize: "{foundations.typography.
|
|
9271
|
+
size: "{foundations.spacing.9}",
|
|
9272
|
+
fontSize: "{foundations.typography.size.14}"
|
|
8685
9273
|
},
|
|
8686
9274
|
lg: {
|
|
8687
|
-
size:
|
|
8688
|
-
fontSize: "{foundations.typography.
|
|
9275
|
+
size: "{foundations.spacing.11}",
|
|
9276
|
+
fontSize: "{foundations.typography.size.14}"
|
|
8689
9277
|
}
|
|
8690
9278
|
},
|
|
8691
|
-
|
|
8692
|
-
|
|
9279
|
+
base: {
|
|
9280
|
+
fallback: {
|
|
9281
|
+
background: "{foundations.colors.neutral.950}",
|
|
9282
|
+
color: "{foundations.colors.neutral.850}",
|
|
9283
|
+
fontWeight: "{foundations.typography.weight.550}"
|
|
9284
|
+
}
|
|
8693
9285
|
},
|
|
8694
|
-
|
|
8695
|
-
|
|
8696
|
-
color: "{semanticTokens.text.primary}",
|
|
8697
|
-
fontWeight: "{foundations.typography.weights.medium}"
|
|
9286
|
+
shapes: {
|
|
9287
|
+
radius: "{foundations.radius.full}"
|
|
8698
9288
|
}
|
|
8699
9289
|
},
|
|
8700
9290
|
radio: {
|
|
8701
|
-
|
|
8702
|
-
|
|
8703
|
-
|
|
8704
|
-
|
|
8705
|
-
|
|
8706
|
-
|
|
8707
|
-
|
|
8708
|
-
|
|
8709
|
-
|
|
8710
|
-
|
|
8711
|
-
|
|
8712
|
-
|
|
8713
|
-
|
|
8714
|
-
|
|
8715
|
-
|
|
8716
|
-
|
|
8717
|
-
|
|
8718
|
-
|
|
8719
|
-
|
|
9291
|
+
base: {
|
|
9292
|
+
fontWeight: "{foundations.typography.weight.400}",
|
|
9293
|
+
lineHeight: "{foundations.typography.lineHeight.normal}",
|
|
9294
|
+
gap: "{foundations.spacing.3}",
|
|
9295
|
+
outer: {
|
|
9296
|
+
radius: "{foundations.radius.full}",
|
|
9297
|
+
background: "{foundations.colors.neutral.0}",
|
|
9298
|
+
border: "{foundations.colors.neutral.150}",
|
|
9299
|
+
hoverBorder: "{foundations.colors.neutral.350}",
|
|
9300
|
+
focusBorder: "{semanticTokens.border.focus}"
|
|
9301
|
+
},
|
|
9302
|
+
checked: {
|
|
9303
|
+
background: "{foundations.colors.brand.500}",
|
|
9304
|
+
backgroundHover: "{foundations.colors.brand.700}"
|
|
9305
|
+
},
|
|
9306
|
+
disabled: {
|
|
9307
|
+
background: "{foundations.colors.neutral.150}",
|
|
9308
|
+
border: "{foundations.colors.neutral.350}",
|
|
9309
|
+
dot: "{foundations.colors.neutral.450}"
|
|
9310
|
+
},
|
|
9311
|
+
motion: {
|
|
9312
|
+
duration: "{foundations.motion.duration.fast}"
|
|
9313
|
+
}
|
|
8720
9314
|
},
|
|
8721
|
-
|
|
8722
|
-
|
|
9315
|
+
sizes: {
|
|
9316
|
+
regular: {
|
|
9317
|
+
outer: {
|
|
9318
|
+
size: "{foundations.spacing.5}"
|
|
9319
|
+
},
|
|
9320
|
+
dot: {
|
|
9321
|
+
size: "{foundations.spacing.3}"
|
|
9322
|
+
},
|
|
9323
|
+
labelFontSize: "{foundations.typography.size.16}",
|
|
9324
|
+
descriptionFontSize: "{foundations.typography.size.14}",
|
|
9325
|
+
labelFontWeight: "{foundations.typography.weight.400}",
|
|
9326
|
+
descriptionFontWeight: "{foundations.typography.weight.400}",
|
|
9327
|
+
labelColor: "{foundations.colors.neutral.850}",
|
|
9328
|
+
descriptionColor: "{foundations.colors.neutral.650}"
|
|
9329
|
+
},
|
|
9330
|
+
small: {
|
|
9331
|
+
outer: {
|
|
9332
|
+
size: "{foundations.spacing.4}"
|
|
9333
|
+
},
|
|
9334
|
+
dot: {
|
|
9335
|
+
size: "{foundations.spacing.2}"
|
|
9336
|
+
},
|
|
9337
|
+
labelFontSize: "{foundations.typography.size.14}",
|
|
9338
|
+
descriptionFontSize: "{foundations.typography.size.12}",
|
|
9339
|
+
labelFontWeight: "{foundations.typography.weight.400}",
|
|
9340
|
+
descriptionFontWeight: "{foundations.typography.weight.400}",
|
|
9341
|
+
labelColor: "{foundations.colors.neutral.850}",
|
|
9342
|
+
descriptionColor: "{foundations.colors.neutral.650}"
|
|
9343
|
+
},
|
|
9344
|
+
extraSmall: {
|
|
9345
|
+
outer: {
|
|
9346
|
+
size: "{foundations.spacing.4}"
|
|
9347
|
+
},
|
|
9348
|
+
dot: {
|
|
9349
|
+
size: "{foundations.spacing.2}"
|
|
9350
|
+
},
|
|
9351
|
+
labelFontWeight: "{foundations.typography.weight.400}",
|
|
9352
|
+
descriptionFontWeight: "{foundations.typography.weight.400}",
|
|
9353
|
+
labelFontSize: "{foundations.typography.size.14}",
|
|
9354
|
+
descriptionFontSize: "{foundations.typography.size.12}",
|
|
9355
|
+
labelColor: "{foundations.colors.neutral.850}",
|
|
9356
|
+
descriptionColor: "{foundations.colors.neutral.650}"
|
|
9357
|
+
}
|
|
8723
9358
|
}
|
|
8724
9359
|
},
|
|
8725
9360
|
switch: {
|
|
8726
|
-
|
|
8727
|
-
|
|
8728
|
-
|
|
8729
|
-
|
|
8730
|
-
|
|
8731
|
-
|
|
8732
|
-
|
|
8733
|
-
|
|
8734
|
-
|
|
8735
|
-
|
|
8736
|
-
|
|
8737
|
-
|
|
8738
|
-
|
|
8739
|
-
|
|
8740
|
-
|
|
9361
|
+
base: {
|
|
9362
|
+
fontWeight: "{foundations.typography.weight.400}",
|
|
9363
|
+
lineHeight: "{foundations.typography.lineHeight.normal}",
|
|
9364
|
+
gap: "{foundations.spacing.3}",
|
|
9365
|
+
background: "{foundations.colors.neutral.350}",
|
|
9366
|
+
track: {
|
|
9367
|
+
offBackground: "{foundations.colors.neutral.150}",
|
|
9368
|
+
offBackgroundHover: "{foundations.colors.neutral.450}",
|
|
9369
|
+
onBackground: "{foundations.colors.brand.500}",
|
|
9370
|
+
onBackgroundHover: "{foundations.colors.brand.700}"
|
|
9371
|
+
},
|
|
9372
|
+
disabled: {
|
|
9373
|
+
track: "{foundations.colors.neutral.450}",
|
|
9374
|
+
handle: "{foundations.colors.neutral.150}",
|
|
9375
|
+
background: "{foundations.colors.neutral.150}"
|
|
9376
|
+
},
|
|
9377
|
+
motion: {
|
|
9378
|
+
duration: "{foundations.motion.duration.fast}"
|
|
9379
|
+
}
|
|
8741
9380
|
},
|
|
8742
|
-
|
|
8743
|
-
|
|
9381
|
+
sizes: {
|
|
9382
|
+
regular: {
|
|
9383
|
+
track: {
|
|
9384
|
+
width: '{foundations.spacing.["8.5"]}',
|
|
9385
|
+
height: "{foundations.spacing.5}"
|
|
9386
|
+
},
|
|
9387
|
+
handle: {
|
|
9388
|
+
size: "{foundations.spacing.4}",
|
|
9389
|
+
translate: '{foundations.spacing.["1.75"]}'
|
|
9390
|
+
},
|
|
9391
|
+
labelFontSize: "{foundations.typography.size.16}",
|
|
9392
|
+
descriptionFontSize: "{foundations.typography.size.14}",
|
|
9393
|
+
labelFontWeight: "{foundations.typography.weight.400}",
|
|
9394
|
+
descriptionFontWeight: "{foundations.typography.weight.400}",
|
|
9395
|
+
labelColor: "{foundations.colors.neutral.850}",
|
|
9396
|
+
descriptionColor: "{foundations.colors.neutral.650}"
|
|
9397
|
+
},
|
|
9398
|
+
small: {
|
|
9399
|
+
track: {
|
|
9400
|
+
width: '{foundations.spacing.["6.5"]}',
|
|
9401
|
+
height: "{foundations.spacing.4}"
|
|
9402
|
+
},
|
|
9403
|
+
handle: {
|
|
9404
|
+
size: "{foundations.spacing.3}",
|
|
9405
|
+
translate: '{foundations.spacing.["1.25"]}'
|
|
9406
|
+
},
|
|
9407
|
+
labelFontSize: "{foundations.typography.size.12}",
|
|
9408
|
+
descriptionFontSize: "{foundations.typography.size.12}",
|
|
9409
|
+
labelFontWeight: "{foundations.typography.weight.400}",
|
|
9410
|
+
descriptionFontWeight: "{foundations.typography.weight.400}",
|
|
9411
|
+
labelColor: "{foundations.colors.neutral.850}",
|
|
9412
|
+
descriptionColor: "{foundations.colors.neutral.650}"
|
|
9413
|
+
},
|
|
9414
|
+
extraSmall: {
|
|
9415
|
+
track: {
|
|
9416
|
+
width: '{foundations.spacing.["6.5"]}',
|
|
9417
|
+
height: "{foundations.spacing.4}"
|
|
9418
|
+
},
|
|
9419
|
+
handle: {
|
|
9420
|
+
size: "{foundations.spacing.3}",
|
|
9421
|
+
translate: '{foundations.spacing.["1.25"]}'
|
|
9422
|
+
},
|
|
9423
|
+
labelFontWeight: "{foundations.typography.weight.400}",
|
|
9424
|
+
descriptionFontWeight: "{foundations.typography.weight.400}",
|
|
9425
|
+
labelFontSize: "{foundations.typography.size.12}",
|
|
9426
|
+
descriptionFontSize: "{foundations.typography.size.12}",
|
|
9427
|
+
labelColor: "{foundations.colors.neutral.850}",
|
|
9428
|
+
descriptionColor: "{foundations.colors.neutral.650}"
|
|
9429
|
+
}
|
|
8744
9430
|
}
|
|
8745
9431
|
},
|
|
8746
9432
|
dropdown: {
|
|
8747
|
-
background: "{
|
|
8748
|
-
|
|
9433
|
+
background: "{foundations.colors.neutral.0}",
|
|
9434
|
+
color: "{foundations.colors.neutral.850}",
|
|
9435
|
+
border: "{foundations.border.width.1} solid {foundations.colors.neutral.150}",
|
|
8749
9436
|
radius: "{foundations.radius.md}",
|
|
8750
|
-
shadow: "{foundations.shadow.
|
|
8751
|
-
|
|
8752
|
-
|
|
8753
|
-
|
|
8754
|
-
|
|
8755
|
-
},
|
|
8756
|
-
|
|
8757
|
-
|
|
8758
|
-
|
|
8759
|
-
|
|
9437
|
+
shadow: "{foundations.shadow.dropdown}",
|
|
9438
|
+
paddingX: "{foundations.spacing.2}",
|
|
9439
|
+
paddingY: "{foundations.spacing.1}",
|
|
9440
|
+
minWidth: "{foundations.maxWidth.dropdown}",
|
|
9441
|
+
fontSize: "{foundations.typography.size.14}",
|
|
9442
|
+
fontWeight: "{foundations.typography.weight.400}",
|
|
9443
|
+
lineHeight: "{foundations.typography.lineHeight.normal}",
|
|
9444
|
+
animation: {
|
|
9445
|
+
duration: "{foundations.motion.duration.fast}",
|
|
9446
|
+
easing: "{foundations.motion.easing.out}"
|
|
8760
9447
|
},
|
|
8761
|
-
|
|
8762
|
-
|
|
8763
|
-
|
|
9448
|
+
item: {
|
|
9449
|
+
height: "{foundations.spacing.9}",
|
|
9450
|
+
gap: "{foundations.spacing.1}",
|
|
9451
|
+
color: "{foundations.colors.neutral.850}",
|
|
9452
|
+
background: "{foundations.colors.neutral.0}",
|
|
9453
|
+
hoverBackground: "{foundations.colors.neutral.950}",
|
|
9454
|
+
activeBackground: "{foundations.colors.neutral.150}",
|
|
9455
|
+
disabledOpacity: "{foundations.opacity.disabled}",
|
|
9456
|
+
borderRadius: "{foundations.radius.md}",
|
|
9457
|
+
iconSize: "{foundations.typography.size.13}",
|
|
9458
|
+
iconColor: "{foundations.colors.brand.500}",
|
|
9459
|
+
fontSize: "{foundations.typography.size.14}",
|
|
9460
|
+
fontWeight: "{foundations.typography.weight.400}"
|
|
8764
9461
|
},
|
|
8765
|
-
|
|
8766
|
-
|
|
9462
|
+
section: {
|
|
9463
|
+
labelColor: "{foundations.colors.neutral.650}",
|
|
9464
|
+
separatorColor: "{foundations.colors.neutral.150}"
|
|
9465
|
+
}
|
|
9466
|
+
},
|
|
9467
|
+
separator: {
|
|
9468
|
+
base: {
|
|
9469
|
+
orientation: {
|
|
9470
|
+
vertical: {
|
|
9471
|
+
width: "{foundations.border.width.1}",
|
|
9472
|
+
height: '{foundations.spacing.["4.5"]}'
|
|
9473
|
+
},
|
|
9474
|
+
horizontal: {
|
|
9475
|
+
width: "{foundations.other.auto}",
|
|
9476
|
+
height: "{foundations.border.width.1}"
|
|
9477
|
+
}
|
|
9478
|
+
},
|
|
9479
|
+
color: "{foundations.colors.neutral.150}",
|
|
9480
|
+
opacity: "{foundations.opacity.muted}"
|
|
9481
|
+
}
|
|
9482
|
+
},
|
|
9483
|
+
alertDialog: {
|
|
9484
|
+
base: {
|
|
9485
|
+
overlay: {
|
|
9486
|
+
background: "rgba(0,0,0,{foundations.opacity.overlay})"
|
|
9487
|
+
},
|
|
9488
|
+
content: {
|
|
9489
|
+
background: "{foundations.colors.neutral.0}",
|
|
9490
|
+
radius: "{foundations.radius.2xl}",
|
|
9491
|
+
borderColor: "{foundations.colors.neutral.150}"
|
|
9492
|
+
},
|
|
9493
|
+
title: {
|
|
9494
|
+
color: "{foundations.colors.neutral.850}",
|
|
9495
|
+
fontSize: "{foundations.typography.size.18}"
|
|
9496
|
+
},
|
|
9497
|
+
description: {
|
|
9498
|
+
color: "{foundations.colors.neutral.650}",
|
|
9499
|
+
fontSize: "{foundations.typography.size.16}"
|
|
9500
|
+
}
|
|
8767
9501
|
}
|
|
8768
9502
|
},
|
|
8769
9503
|
card: {
|
|
8770
9504
|
backgroundColor: "{semanticTokens.surface.default}",
|
|
8771
9505
|
borderColor: "{semanticTokens.border.default}",
|
|
8772
|
-
color: "{
|
|
9506
|
+
color: "{foundations.colors.neutral.900}",
|
|
8773
9507
|
borderRadius: "{foundations.radius.lg}",
|
|
8774
|
-
padding: "
|
|
9508
|
+
padding: "{foundations.spacing.4}",
|
|
8775
9509
|
title: {
|
|
8776
|
-
fontSize: "{foundations.typography.
|
|
8777
|
-
fontWeight: "{foundations.typography.
|
|
8778
|
-
lineHeight: "
|
|
8779
|
-
letterSpacing: "
|
|
9510
|
+
fontSize: "{foundations.typography.size.18}",
|
|
9511
|
+
fontWeight: "{foundations.typography.weight.550}",
|
|
9512
|
+
lineHeight: "{foundations.typography.lineHeight.tight}",
|
|
9513
|
+
letterSpacing: "{foundations.typography.letterSpacing.tighter}"
|
|
8780
9514
|
},
|
|
8781
9515
|
variants: {
|
|
8782
9516
|
primary: {
|
|
@@ -8784,264 +9518,470 @@ var themeDefault = {
|
|
|
8784
9518
|
borderColor: "{foundations.colors.neutral.200}"
|
|
8785
9519
|
},
|
|
8786
9520
|
secondary: {
|
|
8787
|
-
backgroundColor: "{foundations.colors.neutral.
|
|
8788
|
-
borderColor: "transparent"
|
|
9521
|
+
backgroundColor: "{foundations.colors.neutral.50}",
|
|
9522
|
+
borderColor: "{foundations.other.transparent}"
|
|
8789
9523
|
},
|
|
8790
9524
|
tertiary: {
|
|
8791
9525
|
backgroundColor: "{foundations.colors.neutral.0}",
|
|
8792
|
-
borderColor: "
|
|
9526
|
+
borderColor: "{foundations.colors.brand.500}"
|
|
8793
9527
|
}
|
|
8794
9528
|
}
|
|
8795
9529
|
},
|
|
8796
9530
|
integrationCard: {
|
|
8797
|
-
backgroundColor: "{foundations.colors.neutral.
|
|
9531
|
+
backgroundColor: "{foundations.colors.neutral.950}",
|
|
8798
9532
|
borderColor: "{foundations.colors.neutral.200}",
|
|
8799
|
-
borderRadius: "{foundations.radius.
|
|
9533
|
+
borderRadius: "{foundations.radius.xl}",
|
|
8800
9534
|
title: {
|
|
8801
|
-
color: "{
|
|
8802
|
-
fontSize: "{foundations.typography.
|
|
8803
|
-
fontWeight: "{foundations.typography.
|
|
9535
|
+
color: "{foundations.colors.neutral.900}",
|
|
9536
|
+
fontSize: "{foundations.typography.size.16}",
|
|
9537
|
+
fontWeight: "{foundations.typography.weight.550}"
|
|
8804
9538
|
},
|
|
8805
9539
|
description: {
|
|
8806
9540
|
color: "{foundations.colors.neutral.500}",
|
|
8807
|
-
fontSize: "{foundations.typography.
|
|
9541
|
+
fontSize: "{foundations.typography.size.14}"
|
|
8808
9542
|
},
|
|
8809
9543
|
link: {
|
|
8810
|
-
color: "{foundations.colors.brand.
|
|
8811
|
-
fontSize: "{foundations.typography.
|
|
8812
|
-
fontWeight: "{foundations.typography.
|
|
9544
|
+
color: "{foundations.colors.brand.500}",
|
|
9545
|
+
fontSize: "{foundations.typography.size.14}",
|
|
9546
|
+
fontWeight: "{foundations.typography.weight.550}"
|
|
8813
9547
|
},
|
|
8814
9548
|
variants: {
|
|
8815
|
-
default: {
|
|
8816
|
-
|
|
8817
|
-
|
|
9549
|
+
default: {
|
|
9550
|
+
borderColor: "{foundations.colors.neutral.200}"
|
|
9551
|
+
},
|
|
9552
|
+
subtle: {
|
|
9553
|
+
borderColor: "{foundations.colors.neutral.225}"
|
|
9554
|
+
},
|
|
9555
|
+
none: {
|
|
9556
|
+
borderColor: "{foundations.other.transparent}"
|
|
9557
|
+
}
|
|
8818
9558
|
}
|
|
8819
9559
|
},
|
|
8820
9560
|
dragslider: {
|
|
8821
|
-
gap: "
|
|
8822
|
-
cursorGrab: "grab",
|
|
8823
|
-
cursorGrabbing: "grabbing",
|
|
8824
|
-
scrollBehavior: "
|
|
9561
|
+
gap: "{foundations.spacing.4}",
|
|
9562
|
+
cursorGrab: "{foundations.other.cursor.grab}",
|
|
9563
|
+
cursorGrabbing: "{foundations.other.cursor.grabbing}",
|
|
9564
|
+
scrollBehavior: "{foundations.other.scrollBehavior}"
|
|
8825
9565
|
},
|
|
8826
9566
|
calendar: {
|
|
8827
|
-
|
|
8828
|
-
|
|
8829
|
-
|
|
8830
|
-
|
|
8831
|
-
|
|
8832
|
-
|
|
9567
|
+
base: {
|
|
9568
|
+
background: "{semanticTokens.surface.default}",
|
|
9569
|
+
radius: "{foundations.radius.md}",
|
|
9570
|
+
text: "{semanticTokens.text.primary}",
|
|
9571
|
+
muted: "{semanticTokens.text.muted}",
|
|
9572
|
+
border: "{semanticTokens.border.default}",
|
|
9573
|
+
item: {
|
|
9574
|
+
size: "{foundations.spacing.8}",
|
|
9575
|
+
radius: "{foundations.radius.sm}",
|
|
9576
|
+
default: {
|
|
9577
|
+
color: "{semanticTokens.text.primary}",
|
|
9578
|
+
background: "{foundations.other.transparent}"
|
|
9579
|
+
},
|
|
9580
|
+
hover: {
|
|
9581
|
+
background: "{foundations.colors.neutral.150}",
|
|
9582
|
+
color: "{semanticTokens.text.primary}"
|
|
9583
|
+
},
|
|
9584
|
+
current: {
|
|
9585
|
+
background: "{foundations.colors.neutral.150}",
|
|
9586
|
+
color: "{semanticTokens.text.primary}"
|
|
9587
|
+
},
|
|
9588
|
+
active: {
|
|
9589
|
+
background: "{foundations.colors.brand.500}",
|
|
9590
|
+
color: "{semanticTokens.text.inverse}"
|
|
9591
|
+
}
|
|
9592
|
+
}
|
|
9593
|
+
}
|
|
8833
9594
|
},
|
|
8834
9595
|
popover: {
|
|
8835
|
-
background: "{
|
|
8836
|
-
|
|
8837
|
-
|
|
8838
|
-
|
|
9596
|
+
background: "{foundations.colors.neutral.0}",
|
|
9597
|
+
color: "{foundations.colors.neutral.850}",
|
|
9598
|
+
border: "{foundations.colors.neutral.150}",
|
|
9599
|
+
radius: "{foundations.radius.lg}",
|
|
9600
|
+
shadow: "{foundations.shadow.dropdown}",
|
|
9601
|
+
padding: "{foundations.spacing.3}",
|
|
9602
|
+
fontSize: "{foundations.typography.size.16}",
|
|
9603
|
+
fontWeight: "{foundations.typography.weight.400}",
|
|
9604
|
+
lineHeight: "{foundations.typography.lineHeight.normal}",
|
|
9605
|
+
header: {
|
|
9606
|
+
fontSize: "{foundations.typography.size.16}",
|
|
9607
|
+
fontWeight: "{foundations.typography.weight.400}",
|
|
9608
|
+
color: "{foundations.colors.neutral.850}"
|
|
9609
|
+
},
|
|
9610
|
+
description: {
|
|
9611
|
+
fontSize: "{foundations.typography.size.14}",
|
|
9612
|
+
fontWeight: "{foundations.typography.weight.400}",
|
|
9613
|
+
color: "{foundations.colors.neutral.650}"
|
|
9614
|
+
},
|
|
9615
|
+
divider: {
|
|
9616
|
+
color: "{foundations.colors.neutral.150}"
|
|
9617
|
+
},
|
|
9618
|
+
motion: {
|
|
9619
|
+
duration: "{foundations.motion.duration.normal}",
|
|
9620
|
+
easing: "{foundations.motion.easing.out}"
|
|
9621
|
+
},
|
|
9622
|
+
zIndex: "{foundations.zIndex.dropdown}"
|
|
8839
9623
|
},
|
|
8840
9624
|
pagination: {
|
|
8841
|
-
|
|
8842
|
-
|
|
8843
|
-
|
|
8844
|
-
|
|
8845
|
-
|
|
8846
|
-
|
|
9625
|
+
base: {
|
|
9626
|
+
// Contenedor y General
|
|
9627
|
+
radius: "{foundations.radius.md}",
|
|
9628
|
+
gap: "{foundations.spacing.2}",
|
|
9629
|
+
// Espacio entre botones
|
|
9630
|
+
// Botón de número de página (PageNumber - Required)
|
|
9631
|
+
pageNumber: {
|
|
9632
|
+
fontSize: "{foundations.typography.size.14}",
|
|
9633
|
+
fontWeight: "{foundations.typography.weight.500}",
|
|
9634
|
+
color: "{semanticTokens.text.primary}"
|
|
9635
|
+
},
|
|
9636
|
+
// Iconos (Previous/Next/Ellipsis Icons - Required)
|
|
9637
|
+
icon: {
|
|
9638
|
+
size: "{foundations.typography.size.16}",
|
|
9639
|
+
color: "{foundations.colors.neutral.500}"
|
|
9640
|
+
},
|
|
9641
|
+
// Estados de los items (Links)
|
|
9642
|
+
item: {
|
|
9643
|
+
default: {
|
|
9644
|
+
background: "{semanticTokens.surface.default}",
|
|
9645
|
+
border: "{semanticTokens.border.default}",
|
|
9646
|
+
color: "{semanticTokens.text.primary}"
|
|
9647
|
+
},
|
|
9648
|
+
hover: {
|
|
9649
|
+
background: "{foundations.colors.brand.100}",
|
|
9650
|
+
border: "{semanticTokens.border.default}"
|
|
9651
|
+
},
|
|
9652
|
+
active: {
|
|
9653
|
+
// Current Page - Required
|
|
9654
|
+
background: "{foundations.colors.brand.200}",
|
|
9655
|
+
text: "{semanticTokens.action.primary}",
|
|
9656
|
+
border: "{foundations.other.transparent}"
|
|
9657
|
+
},
|
|
9658
|
+
focus: {
|
|
9659
|
+
// Active Focus - Required
|
|
9660
|
+
border: "{semanticTokens.border.focus}"
|
|
9661
|
+
},
|
|
9662
|
+
disabled: {
|
|
9663
|
+
// Disabled state - Required
|
|
9664
|
+
background: "{foundations.colors.neutral.0}",
|
|
9665
|
+
text: "{foundations.colors.neutral.400}",
|
|
9666
|
+
opacity: "{foundations.opacity.overlay}"
|
|
9667
|
+
}
|
|
9668
|
+
}
|
|
9669
|
+
}
|
|
8847
9670
|
},
|
|
8848
9671
|
tabs: {
|
|
8849
|
-
|
|
8850
|
-
|
|
8851
|
-
|
|
8852
|
-
|
|
8853
|
-
|
|
8854
|
-
tabsTrigger: {
|
|
8855
|
-
color: "{semanticTokens.text.primary}",
|
|
8856
|
-
active: {
|
|
8857
|
-
background: "{semanticTokens.action.primary}",
|
|
8858
|
-
border: "{semanticTokens.border.default}",
|
|
8859
|
-
color: "{semanticTokens.text.inverse}"
|
|
9672
|
+
base: {
|
|
9673
|
+
tabsList: {
|
|
9674
|
+
background: "{foundations.colors.neutral.150}",
|
|
9675
|
+
color: "{foundations.colors.neutral.750}",
|
|
9676
|
+
radius: "{foundations.radius.sm}"
|
|
8860
9677
|
},
|
|
8861
|
-
|
|
8862
|
-
|
|
9678
|
+
tabsTrigger: {
|
|
9679
|
+
color: "{foundations.colors.neutral.750}",
|
|
9680
|
+
hover: {
|
|
9681
|
+
background: "{foundations.colors.neutral.950}",
|
|
9682
|
+
color: "{foundations.colors.neutral.850}"
|
|
9683
|
+
},
|
|
9684
|
+
active: {
|
|
9685
|
+
background: "{foundations.colors.neutral.0}",
|
|
9686
|
+
color: "{foundations.colors.neutral.850}"
|
|
9687
|
+
},
|
|
9688
|
+
disabled: {
|
|
9689
|
+
background: "{foundations.colors.neutral.0}",
|
|
9690
|
+
color: "{foundations.colors.neutral.550}",
|
|
9691
|
+
opacity: "{foundations.opacity.overlay}"
|
|
9692
|
+
}
|
|
9693
|
+
},
|
|
9694
|
+
tabsFocusRing: {
|
|
9695
|
+
innerColor: "{foundations.colors.neutral.0}",
|
|
9696
|
+
outerColor: "{foundations.colors.brand.500}",
|
|
9697
|
+
innerSize: "{foundations.border.width.2}",
|
|
9698
|
+
outerSize: "{foundations.border.width.4}"
|
|
8863
9699
|
}
|
|
8864
9700
|
},
|
|
8865
|
-
|
|
8866
|
-
|
|
8867
|
-
|
|
8868
|
-
|
|
8869
|
-
|
|
9701
|
+
sizes: {
|
|
9702
|
+
medium: {
|
|
9703
|
+
fontSize: "{foundations.typography.size.14}",
|
|
9704
|
+
fontWeight: "{foundations.typography.weight.500}"
|
|
9705
|
+
},
|
|
9706
|
+
small: {
|
|
9707
|
+
fontSize: "{foundations.typography.size.12}",
|
|
9708
|
+
fontWeight: "{foundations.typography.weight.500}"
|
|
9709
|
+
}
|
|
8870
9710
|
}
|
|
8871
9711
|
},
|
|
8872
9712
|
table: {
|
|
8873
|
-
|
|
8874
|
-
|
|
8875
|
-
|
|
8876
|
-
|
|
8877
|
-
|
|
8878
|
-
|
|
8879
|
-
|
|
9713
|
+
base: {
|
|
9714
|
+
// Estilos del contenedor
|
|
9715
|
+
background: "{semanticTokens.surface.default}",
|
|
9716
|
+
border: "{semanticTokens.border.default}",
|
|
9717
|
+
radius: "{foundations.radius.md}",
|
|
9718
|
+
shadow: "{foundations.shadow.md}",
|
|
9719
|
+
// Header (Cabeceras)
|
|
9720
|
+
headerBackground: "{foundations.colors.neutral.950}",
|
|
9721
|
+
headerTextColor: "{foundations.colors.neutral.650}",
|
|
9722
|
+
headerFontSize: "{foundations.typography.size.12}",
|
|
9723
|
+
headerFontWeight: "{foundations.typography.weight.600}",
|
|
9724
|
+
// Filas y Celdas
|
|
9725
|
+
rowHoverBackground: "{semanticTokens.surface.hover}",
|
|
9726
|
+
rowSelectedBackground: "{foundations.colors.brand.200}",
|
|
9727
|
+
cellTextColor: "{semanticTokens.text.primary}",
|
|
9728
|
+
cellFontSize: "{foundations.typography.size.14}",
|
|
9729
|
+
// Subtítulo de celda (Cell Description)
|
|
9730
|
+
descriptionColor: "{foundations.colors.neutral.650}",
|
|
9731
|
+
descriptionFontSize: "{foundations.typography.size.12}",
|
|
9732
|
+
descriptionFontWeight: "{foundations.typography.weight.400}"
|
|
9733
|
+
}
|
|
8880
9734
|
},
|
|
8881
9735
|
breadcrumb: {
|
|
8882
|
-
|
|
8883
|
-
|
|
8884
|
-
|
|
8885
|
-
|
|
8886
|
-
|
|
8887
|
-
|
|
8888
|
-
|
|
9736
|
+
base: {
|
|
9737
|
+
gap: "{foundations.spacing.3}",
|
|
9738
|
+
link: {
|
|
9739
|
+
default: {
|
|
9740
|
+
color: "{foundations.colors.brand.500}",
|
|
9741
|
+
fontWeight: "{foundations.typography.weight.600}"
|
|
9742
|
+
},
|
|
9743
|
+
hover: {
|
|
9744
|
+
color: "{foundations.colors.brand.700}"
|
|
9745
|
+
}
|
|
9746
|
+
},
|
|
9747
|
+
page: {
|
|
9748
|
+
color: "{foundations.colors.neutral.650}",
|
|
9749
|
+
fontWeight: "{foundations.typography.weight.550}"
|
|
9750
|
+
},
|
|
9751
|
+
separator: {
|
|
9752
|
+
color: "{foundations.colors.neutral.400}",
|
|
9753
|
+
size: "{foundations.typography.size.14}"
|
|
9754
|
+
}
|
|
8889
9755
|
},
|
|
8890
|
-
|
|
8891
|
-
|
|
9756
|
+
sizes: {
|
|
9757
|
+
medium: {
|
|
9758
|
+
fontSize: "{foundations.typography.size.14}",
|
|
9759
|
+
gap: "{foundations.spacing.3}"
|
|
9760
|
+
},
|
|
9761
|
+
small: {
|
|
9762
|
+
fontSize: "{foundations.typography.size.12}",
|
|
9763
|
+
gap: "{foundations.spacing.2}"
|
|
9764
|
+
}
|
|
8892
9765
|
}
|
|
8893
9766
|
},
|
|
8894
9767
|
loader: {
|
|
8895
9768
|
sizes: {
|
|
8896
|
-
|
|
8897
|
-
|
|
8898
|
-
|
|
8899
|
-
|
|
8900
|
-
|
|
8901
|
-
|
|
9769
|
+
small: {
|
|
9770
|
+
size: "{foundations.typography.size.16}",
|
|
9771
|
+
labelFontWeight: "{foundations.typography.weight.550}",
|
|
9772
|
+
descriptionFontWeight: "{foundations.typography.weight.400}",
|
|
9773
|
+
labelFontSize: "{foundations.typography.size.16}",
|
|
9774
|
+
descriptionFontSize: "{foundations.typography.size.12}",
|
|
9775
|
+
labelColor: "{foundations.colors.neutral.850}",
|
|
9776
|
+
descriptionColor: "{foundations.colors.neutral.650}"
|
|
9777
|
+
},
|
|
9778
|
+
medium: {
|
|
9779
|
+
size: "{foundations.typography.size.20}",
|
|
9780
|
+
labelFontWeight: "{foundations.typography.weight.550}",
|
|
9781
|
+
descriptionFontWeight: "{foundations.typography.weight.400}",
|
|
9782
|
+
labelFontSize: "{foundations.typography.size.18}",
|
|
9783
|
+
descriptionFontSize: "{foundations.typography.size.14}",
|
|
9784
|
+
labelColor: "{foundations.colors.neutral.850}",
|
|
9785
|
+
descriptionColor: "{foundations.colors.neutral.650}"
|
|
9786
|
+
},
|
|
9787
|
+
large: {
|
|
9788
|
+
size: "{foundations.typography.size.24}",
|
|
9789
|
+
labelFontWeight: "{foundations.typography.weight.550}",
|
|
9790
|
+
descriptionFontWeight: "{foundations.typography.weight.400}",
|
|
9791
|
+
labelFontSize: "{foundations.typography.size.18}",
|
|
9792
|
+
descriptionFontSize: "{foundations.typography.size.14}",
|
|
9793
|
+
labelColor: "{foundations.colors.neutral.850}",
|
|
9794
|
+
descriptionColor: "{foundations.colors.neutral.650}"
|
|
9795
|
+
},
|
|
9796
|
+
extraLarge: {
|
|
9797
|
+
size: "{foundations.typography.size.32}",
|
|
9798
|
+
labelFontWeight: "{foundations.typography.weight.550}",
|
|
9799
|
+
descriptionFontWeight: "{foundations.typography.weight.400}",
|
|
9800
|
+
labelFontSize: "{foundations.typography.size.18}",
|
|
9801
|
+
descriptionFontSize: "{foundations.typography.size.14}",
|
|
9802
|
+
labelColor: "{foundations.colors.neutral.850}",
|
|
9803
|
+
descriptionColor: "{foundations.colors.neutral.650}"
|
|
9804
|
+
}
|
|
8902
9805
|
},
|
|
8903
9806
|
variants: {
|
|
8904
9807
|
default: {
|
|
8905
|
-
color: "{
|
|
9808
|
+
color: "{foundations.colors.brand.500}"
|
|
8906
9809
|
},
|
|
8907
9810
|
primary: {
|
|
8908
|
-
color: "{
|
|
8909
|
-
},
|
|
8910
|
-
secondary: {
|
|
8911
|
-
color: "{foundations.colors.brand.secondary}"
|
|
9811
|
+
color: "{foundations.colors.brand.500}"
|
|
8912
9812
|
}
|
|
8913
9813
|
}
|
|
8914
9814
|
},
|
|
8915
9815
|
progress: {
|
|
9816
|
+
base: {
|
|
9817
|
+
// Título y Porcentaje (Arriba)
|
|
9818
|
+
labelColor: "{semanticTokens.text.primary}",
|
|
9819
|
+
labelFontSize: "{foundations.typography.size.14}",
|
|
9820
|
+
labelFontWeight: "{foundations.typography.weight.550}",
|
|
9821
|
+
// Semi Bold según Figma
|
|
9822
|
+
// Descripción / Tiempo (Abajo)
|
|
9823
|
+
descriptionColor: "{semanticTokens.text.muted}",
|
|
9824
|
+
descriptionFontSize: "{foundations.typography.size.12}",
|
|
9825
|
+
descriptionFontWeight: "{foundations.typography.weight.400}",
|
|
9826
|
+
// Espaciado entre la barra y los textos
|
|
9827
|
+
gap: '{foundations.spacing.["1.5"]}'
|
|
9828
|
+
},
|
|
8916
9829
|
track: {
|
|
8917
|
-
height: "
|
|
8918
|
-
|
|
9830
|
+
height: '{foundations.spacing.["1.5"]}',
|
|
9831
|
+
// Grosor de la barra según Figma
|
|
9832
|
+
radius: "{foundations.radius.full}",
|
|
8919
9833
|
background: "{semanticTokens.surface.muted}"
|
|
9834
|
+
// Color del Track (fondo)
|
|
8920
9835
|
},
|
|
8921
9836
|
indicator: {
|
|
8922
9837
|
background: "{semanticTokens.action.primary}"
|
|
9838
|
+
// Color del Filled Track (relleno)
|
|
8923
9839
|
},
|
|
8924
9840
|
motion: {
|
|
8925
|
-
duration: "{foundations.motion.duration.
|
|
8926
|
-
easing: "{foundations.motion.easing.
|
|
9841
|
+
duration: "{foundations.motion.duration.normal}",
|
|
9842
|
+
easing: "{foundations.motion.easing.standard}"
|
|
8927
9843
|
}
|
|
8928
9844
|
},
|
|
8929
9845
|
sidebar: {
|
|
8930
|
-
|
|
8931
|
-
|
|
8932
|
-
|
|
8933
|
-
|
|
8934
|
-
|
|
8935
|
-
|
|
8936
|
-
|
|
8937
|
-
titleColor: "{semanticTokens.text.muted}"
|
|
8938
|
-
},
|
|
8939
|
-
item: {
|
|
8940
|
-
color: "{semanticTokens.text.muted}",
|
|
8941
|
-
hover: {
|
|
8942
|
-
background: "{semanticTokens.surface.hover}",
|
|
8943
|
-
color: "{semanticTokens.text.primary}"
|
|
9846
|
+
base: {
|
|
9847
|
+
container: {
|
|
9848
|
+
background: "{semanticTokens.surface.default}",
|
|
9849
|
+
border: "{semanticTokens.border.default}",
|
|
9850
|
+
width: "{foundations.maxWidth.sidebar}",
|
|
9851
|
+
collapsedWidth: "{foundations.spacing.16}",
|
|
9852
|
+
padding: "{foundations.spacing.2}"
|
|
8944
9853
|
},
|
|
8945
|
-
|
|
8946
|
-
|
|
8947
|
-
|
|
9854
|
+
header: {
|
|
9855
|
+
minHeight: "{foundations.spacing.14}",
|
|
9856
|
+
titleColor: "{semanticTokens.text.muted}",
|
|
9857
|
+
titleFontSize: "{foundations.typography.size.14}",
|
|
9858
|
+
titleFontWeight: "{foundations.typography.weight.500}"
|
|
9859
|
+
},
|
|
9860
|
+
item: {
|
|
9861
|
+
radius: "{foundations.radius.md}",
|
|
9862
|
+
height: "{foundations.spacing.9}",
|
|
9863
|
+
paddingX: "{foundations.spacing.2}",
|
|
9864
|
+
gap: "{foundations.spacing.3}",
|
|
9865
|
+
fontSize: "{foundations.typography.size.14}",
|
|
9866
|
+
fontWeight: "{foundations.typography.weight.500}",
|
|
9867
|
+
color: "{semanticTokens.text.muted}",
|
|
9868
|
+
hover: {
|
|
9869
|
+
background: "{semanticTokens.surface.hover}",
|
|
9870
|
+
color: "{semanticTokens.text.primary}"
|
|
9871
|
+
},
|
|
9872
|
+
active: {
|
|
9873
|
+
background: "{foundations.colors.brand.200}",
|
|
9874
|
+
color: "{semanticTokens.action.primary}"
|
|
9875
|
+
}
|
|
9876
|
+
},
|
|
9877
|
+
section: {
|
|
9878
|
+
titleColor: "{foundations.colors.neutral.400}",
|
|
9879
|
+
titleFontSize: "{foundations.typography.size.10}",
|
|
9880
|
+
gap: "{foundations.spacing.4}"
|
|
9881
|
+
},
|
|
9882
|
+
toggle: {
|
|
9883
|
+
color: "{foundations.colors.neutral.400}",
|
|
9884
|
+
hoverColor: "{foundations.colors.neutral.500}"
|
|
9885
|
+
},
|
|
9886
|
+
motion: {
|
|
9887
|
+
duration: "{foundations.motion.duration.normal}"
|
|
8948
9888
|
}
|
|
8949
|
-
},
|
|
8950
|
-
toggle: {
|
|
8951
|
-
color: "{foundations.colors.neutral.400}",
|
|
8952
|
-
hoverColor: "{foundations.colors.neutral.500}"
|
|
8953
|
-
},
|
|
8954
|
-
motion: {
|
|
8955
|
-
duration: "{foundations.motion.duration.normal}"
|
|
8956
9889
|
}
|
|
8957
9890
|
},
|
|
8958
9891
|
navbar: {
|
|
8959
9892
|
container: {
|
|
8960
|
-
height: "
|
|
8961
|
-
background: "{
|
|
8962
|
-
border: "{
|
|
8963
|
-
radius: "{foundations.radius.md}"
|
|
9893
|
+
height: "{foundations.spacing.16}",
|
|
9894
|
+
background: "{foundations.colors.neutral.0}",
|
|
9895
|
+
border: "{foundations.colors.neutral.150}",
|
|
9896
|
+
radius: "{foundations.radius.md}",
|
|
9897
|
+
iconColor: "{foundations.colors.neutral.550}"
|
|
8964
9898
|
},
|
|
8965
9899
|
content: {
|
|
8966
|
-
maxWidth: "
|
|
8967
|
-
paddingX: "{foundations.spacing.
|
|
9900
|
+
maxWidth: "{foundations.maxWidth.container}",
|
|
9901
|
+
paddingX: "{foundations.spacing.6}"
|
|
8968
9902
|
},
|
|
8969
9903
|
merchant: {
|
|
8970
|
-
color: "{
|
|
8971
|
-
|
|
9904
|
+
color: "{foundations.colors.neutral.850}",
|
|
9905
|
+
fontSize: "{foundations.typography.size.14}",
|
|
9906
|
+
fontWeight: "{foundations.typography.weight.550}"
|
|
8972
9907
|
},
|
|
8973
9908
|
action: {
|
|
8974
|
-
gap: "{foundations.spacing.
|
|
9909
|
+
gap: "{foundations.spacing.3}"
|
|
8975
9910
|
},
|
|
8976
9911
|
user: {
|
|
8977
|
-
nameColor: "{
|
|
8978
|
-
roleColor: "{
|
|
9912
|
+
nameColor: "{foundations.colors.neutral.850}",
|
|
9913
|
+
roleColor: "{foundations.colors.neutral.650}",
|
|
9914
|
+
roleFontSize: "{foundations.typography.size.12}",
|
|
9915
|
+
nameFontSize: "{foundations.typography.size.12}",
|
|
9916
|
+
nameFontWeight: "{foundations.typography.weight.550}",
|
|
9917
|
+
roleFontWeight: "{foundations.typography.weight.400}"
|
|
8979
9918
|
},
|
|
8980
9919
|
motion: {
|
|
8981
9920
|
duration: "{foundations.motion.duration.fast}"
|
|
8982
9921
|
}
|
|
8983
9922
|
},
|
|
8984
9923
|
drawer: {
|
|
8985
|
-
|
|
8986
|
-
|
|
8987
|
-
|
|
8988
|
-
|
|
8989
|
-
|
|
8990
|
-
|
|
8991
|
-
|
|
8992
|
-
|
|
8993
|
-
|
|
8994
|
-
|
|
8995
|
-
|
|
8996
|
-
|
|
8997
|
-
|
|
8998
|
-
|
|
8999
|
-
|
|
9000
|
-
|
|
9001
|
-
|
|
9002
|
-
|
|
9003
|
-
|
|
9004
|
-
|
|
9005
|
-
|
|
9006
|
-
|
|
9007
|
-
|
|
9008
|
-
|
|
9009
|
-
|
|
9010
|
-
|
|
9011
|
-
|
|
9012
|
-
|
|
9013
|
-
|
|
9014
|
-
|
|
9015
|
-
|
|
9016
|
-
|
|
9924
|
+
base: {
|
|
9925
|
+
overlay: {
|
|
9926
|
+
background: "rgba(0,0,0,{foundations.opacity.overlay})",
|
|
9927
|
+
opacity: "{foundations.opacity.disabled}",
|
|
9928
|
+
backdropBlur: "{foundations.other.backdropBlur}"
|
|
9929
|
+
},
|
|
9930
|
+
content: {
|
|
9931
|
+
background: "{foundations.colors.neutral.0}",
|
|
9932
|
+
radius: "{foundations.radius.xs}",
|
|
9933
|
+
borderColor: "{foundations.colors.neutral.150}",
|
|
9934
|
+
color: "{semanticTokens.text.primary}",
|
|
9935
|
+
borderWidth: "{foundations.border.width.1}",
|
|
9936
|
+
shadow: "{foundations.shadow.drawer}",
|
|
9937
|
+
padding: "{foundations.spacing.6}",
|
|
9938
|
+
maxHeight: "{foundations.other.maxHeight}"
|
|
9939
|
+
},
|
|
9940
|
+
header: {
|
|
9941
|
+
gap: "{foundations.spacing.2}"
|
|
9942
|
+
},
|
|
9943
|
+
footer: {
|
|
9944
|
+
paddingTop: "{foundations.spacing.4}",
|
|
9945
|
+
gap: "{foundations.spacing.2}",
|
|
9946
|
+
align: "end"
|
|
9947
|
+
},
|
|
9948
|
+
title: {
|
|
9949
|
+
color: "{foundations.colors.neutral.850}",
|
|
9950
|
+
fontSize: "{foundations.typography.size.24}"
|
|
9951
|
+
},
|
|
9952
|
+
description: {
|
|
9953
|
+
color: "{foundations.colors.neutral.650}",
|
|
9954
|
+
fontSize: "{foundations.typography.size.16}"
|
|
9955
|
+
},
|
|
9956
|
+
close: {
|
|
9957
|
+
size: "{foundations.typography.size.12}",
|
|
9958
|
+
color: "{foundations.colors.neutral.850}"
|
|
9959
|
+
}
|
|
9017
9960
|
}
|
|
9018
9961
|
},
|
|
9019
9962
|
icon: {
|
|
9020
9963
|
base: {
|
|
9021
|
-
color: "{semanticTokens.
|
|
9964
|
+
color: "{semanticTokens.action.primary}"
|
|
9022
9965
|
},
|
|
9023
9966
|
sizes: {
|
|
9024
|
-
xs: 12,
|
|
9025
|
-
sm: 16,
|
|
9026
|
-
md: 20,
|
|
9027
|
-
lg: 24,
|
|
9028
|
-
xl: 32
|
|
9967
|
+
xs: "{foundations.typography.size.12}",
|
|
9968
|
+
sm: "{foundations.typography.size.16}",
|
|
9969
|
+
md: "{foundations.typography.size.20}",
|
|
9970
|
+
lg: "{foundations.typography.size.24}",
|
|
9971
|
+
xl: "{foundations.typography.size.32}"
|
|
9029
9972
|
},
|
|
9030
9973
|
variants: {
|
|
9031
9974
|
default: {
|
|
9032
|
-
color: "{semanticTokens.
|
|
9975
|
+
color: "{semanticTokens.action.primary}"
|
|
9033
9976
|
},
|
|
9034
9977
|
muted: {
|
|
9035
9978
|
color: "{semanticTokens.text.muted}"
|
|
9036
9979
|
},
|
|
9037
9980
|
danger: {
|
|
9038
|
-
color: "{foundations.colors.
|
|
9981
|
+
color: "{foundations.colors.feedback.error.500}"
|
|
9039
9982
|
},
|
|
9040
9983
|
success: {
|
|
9041
|
-
color: "{foundations.colors.
|
|
9042
|
-
},
|
|
9043
|
-
primary: {
|
|
9044
|
-
color: "{semanticTokens.action.primary}"
|
|
9984
|
+
color: "{foundations.colors.feedback.success.500}"
|
|
9045
9985
|
}
|
|
9046
9986
|
}
|
|
9047
9987
|
}
|
|
@@ -9049,44 +9989,6 @@ var themeDefault = {
|
|
|
9049
9989
|
}
|
|
9050
9990
|
};
|
|
9051
9991
|
|
|
9052
|
-
// src/theme/resolver/ApiThemeResolver.ts
|
|
9053
|
-
var CACHE = /* @__PURE__ */ new Map();
|
|
9054
|
-
var ApiThemeResolver = class {
|
|
9055
|
-
async resolve(channelId) {
|
|
9056
|
-
var _a2;
|
|
9057
|
-
if (CACHE.has(channelId)) {
|
|
9058
|
-
return CACHE.get(channelId);
|
|
9059
|
-
}
|
|
9060
|
-
try {
|
|
9061
|
-
const res = await fetch(
|
|
9062
|
-
`https://theme-central.free.beeceptor.com/themes/${channelId}`,
|
|
9063
|
-
{ cache: "force-cache" }
|
|
9064
|
-
);
|
|
9065
|
-
if (!res.ok) {
|
|
9066
|
-
throw new Error(`Theme fetch failed: ${res.status}`);
|
|
9067
|
-
}
|
|
9068
|
-
const contentType = (_a2 = res.headers.get("content-type")) != null ? _a2 : "";
|
|
9069
|
-
if (!contentType.includes("application/json")) {
|
|
9070
|
-
console.warn(
|
|
9071
|
-
"[ThemeResolver] non-json content-type, attempting parse anyway:",
|
|
9072
|
-
contentType
|
|
9073
|
-
);
|
|
9074
|
-
}
|
|
9075
|
-
const theme = await res.json();
|
|
9076
|
-
CACHE.set(channelId, theme);
|
|
9077
|
-
return theme;
|
|
9078
|
-
} catch (err) {
|
|
9079
|
-
console.warn("[ThemeResolver] fallback default", err);
|
|
9080
|
-
return themeDefault;
|
|
9081
|
-
}
|
|
9082
|
-
}
|
|
9083
|
-
};
|
|
9084
|
-
|
|
9085
|
-
// src/theme/server/fetchThemeFromApi.ts
|
|
9086
|
-
async function fetchThemeFromApi(channelId) {
|
|
9087
|
-
return new ApiThemeResolver().resolve(channelId);
|
|
9088
|
-
}
|
|
9089
|
-
|
|
9090
9992
|
// src/theme/config.ts
|
|
9091
9993
|
var _a;
|
|
9092
9994
|
var THEME_CDN_BASE_URL = (_a = process.env.NEXT_PUBLIC_THEME_CDN) != null ? _a : "https://e3-ranty-sdk-js.naranjax.com/theme";
|
|
@@ -9134,13 +10036,12 @@ async function resolveTheme(channelId) {
|
|
|
9134
10036
|
const cdnTheme = await fetchThemeFromCdn(channelId);
|
|
9135
10037
|
console.log("CDN Theme:", cdnTheme);
|
|
9136
10038
|
if (cdnTheme) return cdnTheme;
|
|
9137
|
-
return fetchThemeFromApi(channelId);
|
|
9138
10039
|
}
|
|
9139
10040
|
|
|
9140
10041
|
// src/theme/server/setTheme.tsx
|
|
9141
10042
|
var import_jsx_runtime46 = require("react/jsx-runtime");
|
|
9142
10043
|
var themeCache = /* @__PURE__ */ new Map();
|
|
9143
|
-
var EMPTY_THEME =
|
|
10044
|
+
var EMPTY_THEME = themeDefault;
|
|
9144
10045
|
function setTheme({ channelId, theme, children }) {
|
|
9145
10046
|
const [finalTheme, setFinalTheme] = (0, import_react2.useState)(theme);
|
|
9146
10047
|
(0, import_react2.useEffect)(() => {
|
|
@@ -9166,7 +10067,7 @@ function setTheme({ channelId, theme, children }) {
|
|
|
9166
10067
|
};
|
|
9167
10068
|
}, [channelId, theme]);
|
|
9168
10069
|
console.log("Rendering setTheme with channelId:", channelId, "and finalTheme:", finalTheme);
|
|
9169
|
-
return /* @__PURE__ */ (0, import_jsx_runtime46.jsx)(ThemeContext.Provider, { value: finalTheme != null ? finalTheme : EMPTY_THEME, children });
|
|
10070
|
+
return /* @__PURE__ */ (0, import_jsx_runtime46.jsx)(ThemeContext.Provider, { value: finalTheme != null ? finalTheme : EMPTY_THEME.tokens, children });
|
|
9170
10071
|
}
|
|
9171
10072
|
|
|
9172
10073
|
// src/theme/client/ThemeProvider.tsx
|