@rainersoft/design-tokens 1.0.5 → 2.0.0
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/README.md +105 -62
- package/dist/index.d.ts +1390 -69
- package/dist/index.mjs +2 -2
- package/dist/index.mjs.map +1 -1
- package/formats/tailwind.config.ts +60 -3
- package/formats/tokens.json +2 -2
- package/package.json +34 -26
- package/themes/dark.ts +2 -2
- package/themes/index.ts +2 -2
- package/themes/light.ts +2 -2
- package/tokens/accessibility.ts +1 -1
- package/tokens/animations.json +83 -0
- package/tokens/breakpoints.json +30 -0
- package/tokens/components/celestial-background.json +106 -0
- package/tokens/effects.json +125 -0
- package/tokens/hero.json +69 -0
- package/tokens/index.ts +156 -9
- package/tokens/motion.json +33 -0
- package/tokens/utilities.ts +594 -283
- package/tokens/z-index.json +27 -0
package/dist/index.d.ts
CHANGED
|
@@ -972,12 +972,156 @@ var animations = {
|
|
|
972
972
|
opacity: "1"
|
|
973
973
|
}
|
|
974
974
|
}
|
|
975
|
+
},
|
|
976
|
+
glitch: {
|
|
977
|
+
name: "glitch",
|
|
978
|
+
duration: "4s",
|
|
979
|
+
timingFunction: "linear",
|
|
980
|
+
iterationCount: "infinite",
|
|
981
|
+
keyframes: {
|
|
982
|
+
"0%, 100%": {
|
|
983
|
+
transform: "translate(0)"
|
|
984
|
+
},
|
|
985
|
+
"10%": {
|
|
986
|
+
transform: "translate(-2px, 2px)"
|
|
987
|
+
},
|
|
988
|
+
"20%": {
|
|
989
|
+
transform: "translate(2px, -2px)"
|
|
990
|
+
},
|
|
991
|
+
"30%, 50%, 70%, 90%": {
|
|
992
|
+
transform: "translate(0)"
|
|
993
|
+
}
|
|
994
|
+
}
|
|
995
|
+
},
|
|
996
|
+
"neon-pulse": {
|
|
997
|
+
name: "neon-pulse",
|
|
998
|
+
duration: "2s",
|
|
999
|
+
timingFunction: "ease-in-out",
|
|
1000
|
+
iterationCount: "infinite",
|
|
1001
|
+
direction: "alternate",
|
|
1002
|
+
keyframes: {
|
|
1003
|
+
"0%, 100%": {
|
|
1004
|
+
filter: "brightness(1) saturate(1)"
|
|
1005
|
+
},
|
|
1006
|
+
"50%": {
|
|
1007
|
+
filter: "brightness(1.3) saturate(1.2)"
|
|
1008
|
+
}
|
|
1009
|
+
}
|
|
1010
|
+
},
|
|
1011
|
+
flicker: {
|
|
1012
|
+
name: "flicker",
|
|
1013
|
+
duration: "2s",
|
|
1014
|
+
timingFunction: "linear",
|
|
1015
|
+
iterationCount: "infinite",
|
|
1016
|
+
keyframes: {
|
|
1017
|
+
"0%, 19.999%, 22%, 62.999%, 64%, 64.999%, 70%, 100%": {
|
|
1018
|
+
opacity: "1",
|
|
1019
|
+
filter: "brightness(1.2)"
|
|
1020
|
+
},
|
|
1021
|
+
"20%, 21.999%, 63%, 63.999%, 65%, 69.999%": {
|
|
1022
|
+
opacity: "0.85",
|
|
1023
|
+
filter: "brightness(0.9)"
|
|
1024
|
+
}
|
|
1025
|
+
}
|
|
1026
|
+
},
|
|
1027
|
+
"scan-line": {
|
|
1028
|
+
name: "scan-line",
|
|
1029
|
+
duration: "4s",
|
|
1030
|
+
timingFunction: "linear",
|
|
1031
|
+
iterationCount: "infinite",
|
|
1032
|
+
keyframes: {
|
|
1033
|
+
"0%": {
|
|
1034
|
+
top: "0"
|
|
1035
|
+
},
|
|
1036
|
+
"100%": {
|
|
1037
|
+
top: "100%"
|
|
1038
|
+
}
|
|
1039
|
+
}
|
|
1040
|
+
},
|
|
1041
|
+
"glitch-after": {
|
|
1042
|
+
name: "glitch-after",
|
|
1043
|
+
duration: "3s",
|
|
1044
|
+
timingFunction: "linear",
|
|
1045
|
+
iterationCount: "infinite",
|
|
1046
|
+
keyframes: {
|
|
1047
|
+
"0%, 100%": {
|
|
1048
|
+
opacity: "0"
|
|
1049
|
+
},
|
|
1050
|
+
"5%, 10%": {
|
|
1051
|
+
opacity: "0.8",
|
|
1052
|
+
transform: "translate(-3px, 3px)"
|
|
1053
|
+
},
|
|
1054
|
+
"15%, 95%": {
|
|
1055
|
+
opacity: "0"
|
|
1056
|
+
}
|
|
1057
|
+
}
|
|
975
1058
|
}
|
|
976
1059
|
};
|
|
977
1060
|
var animations$1 = {
|
|
978
1061
|
animations: animations
|
|
979
1062
|
};
|
|
980
1063
|
|
|
1064
|
+
var motion = {
|
|
1065
|
+
duration: {
|
|
1066
|
+
instant: "0ms",
|
|
1067
|
+
fast: "100ms",
|
|
1068
|
+
normal: "200ms",
|
|
1069
|
+
slow: "300ms",
|
|
1070
|
+
slower: "500ms",
|
|
1071
|
+
slowest: "800ms"
|
|
1072
|
+
},
|
|
1073
|
+
easing: {
|
|
1074
|
+
linear: "linear",
|
|
1075
|
+
easeIn: "cubic-bezier(0.4, 0, 1, 1)",
|
|
1076
|
+
easeOut: "cubic-bezier(0, 0, 0.2, 1)",
|
|
1077
|
+
easeInOut: "cubic-bezier(0.4, 0, 0.2, 1)",
|
|
1078
|
+
easeInQuad: "cubic-bezier(0.55, 0.085, 0.68, 0.53)",
|
|
1079
|
+
easeOutQuad: "cubic-bezier(0.25, 0.46, 0.45, 0.94)",
|
|
1080
|
+
easeInOutQuad: "cubic-bezier(0.455, 0.03, 0.515, 0.955)",
|
|
1081
|
+
easeInCubic: "cubic-bezier(0.55, 0.055, 0.675, 0.19)",
|
|
1082
|
+
easeOutCubic: "cubic-bezier(0.215, 0.61, 0.355, 1)",
|
|
1083
|
+
easeInOutCubic: "cubic-bezier(0.645, 0.045, 0.355, 1)",
|
|
1084
|
+
spring: "cubic-bezier(0.68, -0.55, 0.265, 1.55)"
|
|
1085
|
+
},
|
|
1086
|
+
delay: {
|
|
1087
|
+
none: "0ms",
|
|
1088
|
+
short: "50ms",
|
|
1089
|
+
medium: "100ms",
|
|
1090
|
+
long: "200ms"
|
|
1091
|
+
}
|
|
1092
|
+
};
|
|
1093
|
+
var motion$1 = {
|
|
1094
|
+
motion: motion
|
|
1095
|
+
};
|
|
1096
|
+
|
|
1097
|
+
var breakpoints = {
|
|
1098
|
+
xs: "0px",
|
|
1099
|
+
sm: "640px",
|
|
1100
|
+
md: "768px",
|
|
1101
|
+
lg: "1024px",
|
|
1102
|
+
xl: "1280px",
|
|
1103
|
+
"2xl": "1536px",
|
|
1104
|
+
"3xl": "1920px"
|
|
1105
|
+
};
|
|
1106
|
+
var breakpoints$1 = {
|
|
1107
|
+
breakpoints: breakpoints};
|
|
1108
|
+
|
|
1109
|
+
var zIndex = {
|
|
1110
|
+
base: 0,
|
|
1111
|
+
dropdown: 1000,
|
|
1112
|
+
sticky: 1020,
|
|
1113
|
+
fixed: 1030,
|
|
1114
|
+
modalBackdrop: 1040,
|
|
1115
|
+
modal: 1050,
|
|
1116
|
+
popover: 1060,
|
|
1117
|
+
tooltip: 1070,
|
|
1118
|
+
toast: 1080,
|
|
1119
|
+
notification: 1090,
|
|
1120
|
+
max: 9999
|
|
1121
|
+
};
|
|
1122
|
+
var zIndex$1 = {
|
|
1123
|
+
zIndex: zIndex};
|
|
1124
|
+
|
|
981
1125
|
/**
|
|
982
1126
|
* @fileoverview Tokens utilitários - Classes Tailwind CSS
|
|
983
1127
|
*
|
|
@@ -987,7 +1131,7 @@ var animations$1 = {
|
|
|
987
1131
|
* facilitando o desenvolvimento e garantindo consistência visual.
|
|
988
1132
|
*
|
|
989
1133
|
* @module tokens/utilities
|
|
990
|
-
* @version
|
|
1134
|
+
* @version 2.0.0
|
|
991
1135
|
* @author Rainer Teixeira
|
|
992
1136
|
* @since 1.0.0
|
|
993
1137
|
*/
|
|
@@ -1013,7 +1157,7 @@ var animations$1 = {
|
|
|
1013
1157
|
*
|
|
1014
1158
|
* @example
|
|
1015
1159
|
* ```typescript
|
|
1016
|
-
* import { GRADIENT_DIRECTIONS } from '
|
|
1160
|
+
* import { GRADIENT_DIRECTIONS } from '@rainersoft/design-tokens';
|
|
1017
1161
|
*
|
|
1018
1162
|
* // Aplicar gradiente de cima para baixo
|
|
1019
1163
|
* <div className={GRADIENT_DIRECTIONS.TO_BOTTOM}>
|
|
@@ -1049,7 +1193,7 @@ declare const GRADIENT_DIRECTIONS: {
|
|
|
1049
1193
|
*
|
|
1050
1194
|
* @example
|
|
1051
1195
|
* ```typescript
|
|
1052
|
-
* import { GRADIENTS } from '
|
|
1196
|
+
* import { GRADIENTS } from '@rainersoft/design-tokens';
|
|
1053
1197
|
*
|
|
1054
1198
|
* // Aplicar gradiente em texto
|
|
1055
1199
|
* <h1 className={GRADIENTS.TEXT_PRIMARY}>Título com Gradiente</h1>
|
|
@@ -1088,7 +1232,7 @@ declare const GRADIENTS: {
|
|
|
1088
1232
|
*
|
|
1089
1233
|
* @example
|
|
1090
1234
|
* ```typescript
|
|
1091
|
-
* import { BACKGROUND } from '
|
|
1235
|
+
* import { BACKGROUND } from '@rainersoft/design-tokens';
|
|
1092
1236
|
*
|
|
1093
1237
|
* // Aplicar background de seção
|
|
1094
1238
|
* <section className={BACKGROUND.SECTION_CYAN}>
|
|
@@ -1194,6 +1338,280 @@ declare const BACKGROUND: {
|
|
|
1194
1338
|
* Útil para type-checking e autocomplete em IDEs.
|
|
1195
1339
|
*/
|
|
1196
1340
|
type GradientDirections = typeof GRADIENT_DIRECTIONS;
|
|
1341
|
+
/**
|
|
1342
|
+
* Utilidades responsivas para breakpoints
|
|
1343
|
+
*
|
|
1344
|
+
* @description
|
|
1345
|
+
* Classes e helpers para trabalhar com breakpoints responsivos,
|
|
1346
|
+
* facilitando a criação de layouts mobile-first.
|
|
1347
|
+
*
|
|
1348
|
+
* @type {Object}
|
|
1349
|
+
* @constant
|
|
1350
|
+
* @readonly
|
|
1351
|
+
*
|
|
1352
|
+
* @example
|
|
1353
|
+
* ```typescript
|
|
1354
|
+
* import { RESPONSIVE } from '@rainersoft/design-tokens';
|
|
1355
|
+
*
|
|
1356
|
+
* // Usar classes responsivas
|
|
1357
|
+
* <div className={RESPONSIVE.HIDE_ON_MOBILE}>
|
|
1358
|
+
* Visível apenas em desktop
|
|
1359
|
+
* </div>
|
|
1360
|
+
*
|
|
1361
|
+
* // Usar container responsivo
|
|
1362
|
+
* <div className={RESPONSIVE.CONTAINER.DEFAULT}>
|
|
1363
|
+
* Container com largura máxima responsiva
|
|
1364
|
+
* </div>
|
|
1365
|
+
* ```
|
|
1366
|
+
*/
|
|
1367
|
+
declare const RESPONSIVE: {
|
|
1368
|
+
readonly HIDE_ON_MOBILE: "hidden sm:block";
|
|
1369
|
+
readonly HIDE_ON_TABLET: "hidden lg:block";
|
|
1370
|
+
readonly HIDE_ON_DESKTOP: "block lg:hidden";
|
|
1371
|
+
readonly SHOW_ON_MOBILE: "block sm:hidden";
|
|
1372
|
+
readonly SHOW_ON_TABLET: "block lg:hidden";
|
|
1373
|
+
readonly SHOW_ON_DESKTOP: "hidden lg:block";
|
|
1374
|
+
readonly CONTAINER: {
|
|
1375
|
+
readonly DEFAULT: "w-full mx-auto px-4 sm:px-6 lg:px-8 max-w-7xl";
|
|
1376
|
+
readonly FLUID: "w-full px-4 sm:px-6 lg:px-8";
|
|
1377
|
+
readonly TIGHT: "w-full mx-auto px-4 sm:px-6 lg:px-8 max-w-4xl";
|
|
1378
|
+
readonly WIDE: "w-full mx-auto px-4 sm:px-6 lg:px-8 max-w-screen-2xl";
|
|
1379
|
+
readonly PROSE: "w-full mx-auto px-4 sm:px-6 lg:px-8 max-w-prose";
|
|
1380
|
+
};
|
|
1381
|
+
readonly GRID: {
|
|
1382
|
+
readonly COLS_1_2: "grid grid-cols-1 md:grid-cols-2 gap-4";
|
|
1383
|
+
readonly COLS_1_3: "grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-4";
|
|
1384
|
+
readonly COLS_1_4: "grid grid-cols-1 md:grid-cols-2 lg:grid-cols-4 gap-4";
|
|
1385
|
+
readonly COLS_2_3: "grid grid-cols-2 lg:grid-cols-3 gap-4";
|
|
1386
|
+
readonly COLS_2_4: "grid grid-cols-2 md:grid-cols-3 lg:grid-cols-4 gap-4";
|
|
1387
|
+
};
|
|
1388
|
+
readonly FLEX: {
|
|
1389
|
+
readonly MOBILE_COLUMN: "flex flex-col sm:flex-row";
|
|
1390
|
+
readonly TABLET_COLUMN: "flex flex-col lg:flex-row";
|
|
1391
|
+
readonly MOBILE_REVERSE: "flex flex-col-reverse sm:flex-row";
|
|
1392
|
+
readonly TABLET_REVERSE: "flex flex-col-reverse lg:flex-row";
|
|
1393
|
+
};
|
|
1394
|
+
readonly TEXT: {
|
|
1395
|
+
readonly MOBILE_CENTER: "text-center sm:text-left";
|
|
1396
|
+
readonly TABLET_CENTER: "text-center lg:text-left";
|
|
1397
|
+
readonly RESPONSIVE_SIZE: "text-sm sm:text-base lg:text-lg";
|
|
1398
|
+
readonly HEADING_SIZE: "text-2xl sm:text-3xl lg:text-4xl xl:text-5xl";
|
|
1399
|
+
};
|
|
1400
|
+
readonly SPACING: {
|
|
1401
|
+
readonly MOBILE_TIGHT: "p-2 sm:p-4 lg:p-6";
|
|
1402
|
+
readonly TABLET_TIGHT: "p-4 lg:p-8";
|
|
1403
|
+
readonly RESPONSIVE_Y: "py-4 sm:py-6 lg:py-8 xl:py-12";
|
|
1404
|
+
readonly RESPONSIVE_X: "px-4 sm:px-6 lg:px-8";
|
|
1405
|
+
};
|
|
1406
|
+
};
|
|
1407
|
+
/**
|
|
1408
|
+
* Helpers de motion para animações
|
|
1409
|
+
*
|
|
1410
|
+
* @description
|
|
1411
|
+
* Classes utilitárias para aplicar motion tokens diretamente
|
|
1412
|
+
* em elementos usando Tailwind CSS.
|
|
1413
|
+
*
|
|
1414
|
+
* @type {Object}
|
|
1415
|
+
* @constant
|
|
1416
|
+
* @readonly
|
|
1417
|
+
*
|
|
1418
|
+
* @example
|
|
1419
|
+
* ```typescript
|
|
1420
|
+
* import { MOTION } from '@rainersoft/design-tokens';
|
|
1421
|
+
*
|
|
1422
|
+
* // Aplicar transição suave
|
|
1423
|
+
* <button className={MOTION.TRANSITION.DEFAULT}>
|
|
1424
|
+
* Clique aqui
|
|
1425
|
+
* </button>
|
|
1426
|
+
*
|
|
1427
|
+
* // Aplicar animação de entrada
|
|
1428
|
+
* <div className={MOTION.ANIMATE.FADE_IN}>
|
|
1429
|
+
* Conteúdo animado
|
|
1430
|
+
* </div>
|
|
1431
|
+
* ```
|
|
1432
|
+
*/
|
|
1433
|
+
declare const MOTION: {
|
|
1434
|
+
readonly TRANSITION: {
|
|
1435
|
+
readonly DEFAULT: "transition-all duration-200 ease-in-out";
|
|
1436
|
+
readonly FAST: "transition-all duration-100 ease-out";
|
|
1437
|
+
readonly SLOW: "transition-all duration-300 ease-in-out";
|
|
1438
|
+
readonly COLOR: "transition-colors duration-200 ease-in-out";
|
|
1439
|
+
readonly TRANSFORM: "transition-transform duration-200 ease-in-out";
|
|
1440
|
+
readonly OPACITY: "transition-opacity duration-150 ease-in-out";
|
|
1441
|
+
readonly SHADOW: "transition-shadow duration-200 ease-in-out";
|
|
1442
|
+
};
|
|
1443
|
+
readonly ANIMATE: {
|
|
1444
|
+
readonly FADE_IN: "animate-fadeIn";
|
|
1445
|
+
readonly FADE_OUT: "animate-fadeOut";
|
|
1446
|
+
readonly SLIDE_IN_UP: "animate-slideInUp";
|
|
1447
|
+
readonly SLIDE_IN_DOWN: "animate-slideInDown";
|
|
1448
|
+
readonly SLIDE_IN_LEFT: "animate-slideInLeft";
|
|
1449
|
+
readonly SLIDE_IN_RIGHT: "animate-slideInRight";
|
|
1450
|
+
readonly SCALE_IN: "animate-scaleIn";
|
|
1451
|
+
readonly SCALE_OUT: "animate-scaleOut";
|
|
1452
|
+
readonly ROTATE: "animate-rotate";
|
|
1453
|
+
readonly PULSE: "animate-pulse";
|
|
1454
|
+
readonly BOUNCE: "animate-bounce";
|
|
1455
|
+
readonly SHAKE: "animate-shake";
|
|
1456
|
+
readonly FLASH: "animate-flash";
|
|
1457
|
+
};
|
|
1458
|
+
readonly DURATION: {
|
|
1459
|
+
readonly INSTANT: "duration-0";
|
|
1460
|
+
readonly FAST: "duration-100";
|
|
1461
|
+
readonly NORMAL: "duration-200";
|
|
1462
|
+
readonly SLOW: "duration-300";
|
|
1463
|
+
readonly SLOWER: "duration-500";
|
|
1464
|
+
readonly SLOWEST: "duration-700";
|
|
1465
|
+
};
|
|
1466
|
+
readonly DELAY: {
|
|
1467
|
+
readonly NONE: "delay-0";
|
|
1468
|
+
readonly SHORT: "delay-75";
|
|
1469
|
+
readonly MEDIUM: "delay-150";
|
|
1470
|
+
readonly LONG: "delay-300";
|
|
1471
|
+
readonly LONGER: "delay-500";
|
|
1472
|
+
};
|
|
1473
|
+
};
|
|
1474
|
+
/**
|
|
1475
|
+
* Constantes de cores principais para uso direto
|
|
1476
|
+
*
|
|
1477
|
+
* @description
|
|
1478
|
+
* Cores principais do tema light para uso direto em componentes.
|
|
1479
|
+
* Retorna valores hexadecimais das cores base.
|
|
1480
|
+
*
|
|
1481
|
+
* @type {Object}
|
|
1482
|
+
* @constant
|
|
1483
|
+
* @readonly
|
|
1484
|
+
*
|
|
1485
|
+
* @example
|
|
1486
|
+
* ```typescript
|
|
1487
|
+
* import { COLORS } from '@rainersoft/design-tokens';
|
|
1488
|
+
*
|
|
1489
|
+
* // Usar cor primária
|
|
1490
|
+
* const primaryColor = COLORS.primary; // "#0891b2"
|
|
1491
|
+
*
|
|
1492
|
+
* // Usar em estilo inline
|
|
1493
|
+
* <div style={{ color: COLORS.primary }}>
|
|
1494
|
+
* Texto com cor primária
|
|
1495
|
+
* </div>
|
|
1496
|
+
* ```
|
|
1497
|
+
*/
|
|
1498
|
+
declare const COLORS: {
|
|
1499
|
+
readonly primary: "#0891b2";
|
|
1500
|
+
readonly secondary: "#9333ea";
|
|
1501
|
+
readonly accent: "#db2777";
|
|
1502
|
+
readonly success: "#22c55e";
|
|
1503
|
+
readonly warning: "#f59e0b";
|
|
1504
|
+
readonly error: "#ef4444";
|
|
1505
|
+
readonly info: "#0891b2";
|
|
1506
|
+
};
|
|
1507
|
+
/**
|
|
1508
|
+
* Estrutura de navegação padrão
|
|
1509
|
+
*
|
|
1510
|
+
* @description
|
|
1511
|
+
* Array de itens de navegação para uso em componentes de layout.
|
|
1512
|
+
* Pode ser sobrescrito ou estendido conforme necessário.
|
|
1513
|
+
*
|
|
1514
|
+
* @type {Array<{href: string, label: string}>}
|
|
1515
|
+
* @constant
|
|
1516
|
+
*
|
|
1517
|
+
* @example
|
|
1518
|
+
* ```typescript
|
|
1519
|
+
* import { NAVIGATION } from '@rainersoft/design-tokens';
|
|
1520
|
+
*
|
|
1521
|
+
* // Usar em componente
|
|
1522
|
+
* {NAVIGATION.map(item => (
|
|
1523
|
+
* <Link key={item.href} href={item.href}>
|
|
1524
|
+
* {item.label}
|
|
1525
|
+
* </Link>
|
|
1526
|
+
* ))}
|
|
1527
|
+
* ```
|
|
1528
|
+
*/
|
|
1529
|
+
declare const NAVIGATION: Array<{
|
|
1530
|
+
href: string;
|
|
1531
|
+
label: string;
|
|
1532
|
+
}>;
|
|
1533
|
+
/**
|
|
1534
|
+
* Helpers de shadows (sombras) como classes Tailwind CSS
|
|
1535
|
+
*
|
|
1536
|
+
* @description
|
|
1537
|
+
* Classes utilitárias para aplicar shadows tokens consistentes
|
|
1538
|
+
* usando valores pré-definidos do tema light.
|
|
1539
|
+
*
|
|
1540
|
+
* @type {Object}
|
|
1541
|
+
* @constant
|
|
1542
|
+
* @readonly
|
|
1543
|
+
*
|
|
1544
|
+
* @example
|
|
1545
|
+
* ```typescript
|
|
1546
|
+
* import { SHADOWS } from '@rainersoft/design-tokens';
|
|
1547
|
+
*
|
|
1548
|
+
* // Aplicar shadow large
|
|
1549
|
+
* <div className={SHADOWS.LARGE}>
|
|
1550
|
+
* Content with large shadow
|
|
1551
|
+
* </div>
|
|
1552
|
+
* ```
|
|
1553
|
+
*/
|
|
1554
|
+
declare const SHADOWS: {
|
|
1555
|
+
readonly XS: "shadow-xs";
|
|
1556
|
+
readonly SMALL: "shadow-sm";
|
|
1557
|
+
readonly BASE: "shadow";
|
|
1558
|
+
readonly MEDIUM: "shadow-md";
|
|
1559
|
+
readonly LARGE: "shadow-lg";
|
|
1560
|
+
readonly XL: "shadow-xl";
|
|
1561
|
+
readonly '2XL': "shadow-2xl";
|
|
1562
|
+
readonly INNER: "shadow-inner";
|
|
1563
|
+
};
|
|
1564
|
+
/**
|
|
1565
|
+
* Helpers de z-index para camadas
|
|
1566
|
+
*
|
|
1567
|
+
* @description
|
|
1568
|
+
* Classes utilitárias para aplicar z-index tokens consistentes
|
|
1569
|
+
* usando valores pré-definidos.
|
|
1570
|
+
*
|
|
1571
|
+
* @type {Object}
|
|
1572
|
+
* @constant
|
|
1573
|
+
* @readonly
|
|
1574
|
+
*
|
|
1575
|
+
* @example
|
|
1576
|
+
* ```typescript
|
|
1577
|
+
* import { Z_INDEX } from '@rainersoft/design-tokens';
|
|
1578
|
+
*
|
|
1579
|
+
* // Aplicar z-index para modal
|
|
1580
|
+
* <div className={Z_INDEX.MODAL}>
|
|
1581
|
+
* Modal content
|
|
1582
|
+
* </div>
|
|
1583
|
+
* ```
|
|
1584
|
+
*/
|
|
1585
|
+
declare const Z_INDEX: {
|
|
1586
|
+
readonly BASE: "z-0";
|
|
1587
|
+
readonly DROPDOWN: "z-[1000]";
|
|
1588
|
+
readonly STICKY: "z-[1020]";
|
|
1589
|
+
readonly FIXED: "z-[1030]";
|
|
1590
|
+
readonly BACKDROP: "z-[1040]";
|
|
1591
|
+
readonly MODAL: "z-[1050]";
|
|
1592
|
+
readonly POPOVER: "z-[1060]";
|
|
1593
|
+
readonly TOOLTIP: "z-[1070]";
|
|
1594
|
+
readonly TOAST: "z-[1080]";
|
|
1595
|
+
readonly SPOTLIGHT: "z-[1090]";
|
|
1596
|
+
readonly PRIORITY: "z-[1100]";
|
|
1597
|
+
readonly MAX: "z-[2147483647]";
|
|
1598
|
+
};
|
|
1599
|
+
/**
|
|
1600
|
+
* Tipo TypeScript para cores
|
|
1601
|
+
*
|
|
1602
|
+
* @typedef {Object} Colors
|
|
1603
|
+
* @description
|
|
1604
|
+
* Tipo que representa todas as cores principais disponíveis.
|
|
1605
|
+
*/
|
|
1606
|
+
type Colors = typeof COLORS;
|
|
1607
|
+
/**
|
|
1608
|
+
* Tipo TypeScript para navegação
|
|
1609
|
+
*
|
|
1610
|
+
* @typedef {Array<{href: string, label: string}>} Navigation
|
|
1611
|
+
* @description
|
|
1612
|
+
* Tipo que representa a estrutura de navegação.
|
|
1613
|
+
*/
|
|
1614
|
+
type Navigation = typeof NAVIGATION;
|
|
1197
1615
|
/**
|
|
1198
1616
|
* Tipo TypeScript para gradientes
|
|
1199
1617
|
*
|
|
@@ -1236,7 +1654,7 @@ type Background = typeof BACKGROUND;
|
|
|
1236
1654
|
* qualquer ambiente (web, mobile, desktop).
|
|
1237
1655
|
*
|
|
1238
1656
|
* @module tokens/accessibility
|
|
1239
|
-
* @version
|
|
1657
|
+
* @version 2.0.0
|
|
1240
1658
|
* @author Rainer Teixeira
|
|
1241
1659
|
* @since 1.0.0
|
|
1242
1660
|
*/
|
|
@@ -1411,7 +1829,7 @@ declare function validateContrast(foreground: string, background: string, option
|
|
|
1411
1829
|
* framework ou tecnologia, garantindo consistência visual.
|
|
1412
1830
|
*
|
|
1413
1831
|
* @module tokens
|
|
1414
|
-
* @version
|
|
1832
|
+
* @version 2.0.0
|
|
1415
1833
|
* @author Rainer Teixeira
|
|
1416
1834
|
* @since 1.0.0
|
|
1417
1835
|
*/
|
|
@@ -1438,7 +1856,7 @@ declare function validateContrast(foreground: string, background: string, option
|
|
|
1438
1856
|
*
|
|
1439
1857
|
* @example
|
|
1440
1858
|
* ```typescript
|
|
1441
|
-
* import { tokens } from '
|
|
1859
|
+
* import { tokens } from '@rainersoft/design-tokens';
|
|
1442
1860
|
*
|
|
1443
1861
|
* // Acessar cor primária do tema claro
|
|
1444
1862
|
* const primaryColor = tokens.colors.light.brand.primary;
|
|
@@ -2401,57 +2819,483 @@ declare const tokens: {
|
|
|
2401
2819
|
};
|
|
2402
2820
|
};
|
|
2403
2821
|
};
|
|
2822
|
+
glitch: {
|
|
2823
|
+
name: string;
|
|
2824
|
+
duration: string;
|
|
2825
|
+
timingFunction: string;
|
|
2826
|
+
iterationCount: string;
|
|
2827
|
+
keyframes: {
|
|
2828
|
+
"0%, 100%": {
|
|
2829
|
+
transform: string;
|
|
2830
|
+
};
|
|
2831
|
+
"10%": {
|
|
2832
|
+
transform: string;
|
|
2833
|
+
};
|
|
2834
|
+
"20%": {
|
|
2835
|
+
transform: string;
|
|
2836
|
+
};
|
|
2837
|
+
"30%, 50%, 70%, 90%": {
|
|
2838
|
+
transform: string;
|
|
2839
|
+
};
|
|
2840
|
+
};
|
|
2841
|
+
};
|
|
2842
|
+
"neon-pulse": {
|
|
2843
|
+
name: string;
|
|
2844
|
+
duration: string;
|
|
2845
|
+
timingFunction: string;
|
|
2846
|
+
iterationCount: string;
|
|
2847
|
+
direction: string;
|
|
2848
|
+
keyframes: {
|
|
2849
|
+
"0%, 100%": {
|
|
2850
|
+
filter: string;
|
|
2851
|
+
};
|
|
2852
|
+
"50%": {
|
|
2853
|
+
filter: string;
|
|
2854
|
+
};
|
|
2855
|
+
};
|
|
2856
|
+
};
|
|
2857
|
+
flicker: {
|
|
2858
|
+
name: string;
|
|
2859
|
+
duration: string;
|
|
2860
|
+
timingFunction: string;
|
|
2861
|
+
iterationCount: string;
|
|
2862
|
+
keyframes: {
|
|
2863
|
+
"0%, 19.999%, 22%, 62.999%, 64%, 64.999%, 70%, 100%": {
|
|
2864
|
+
opacity: string;
|
|
2865
|
+
filter: string;
|
|
2866
|
+
};
|
|
2867
|
+
"20%, 21.999%, 63%, 63.999%, 65%, 69.999%": {
|
|
2868
|
+
opacity: string;
|
|
2869
|
+
filter: string;
|
|
2870
|
+
};
|
|
2871
|
+
};
|
|
2872
|
+
};
|
|
2873
|
+
"scan-line": {
|
|
2874
|
+
name: string;
|
|
2875
|
+
duration: string;
|
|
2876
|
+
timingFunction: string;
|
|
2877
|
+
iterationCount: string;
|
|
2878
|
+
keyframes: {
|
|
2879
|
+
"0%": {
|
|
2880
|
+
top: string;
|
|
2881
|
+
};
|
|
2882
|
+
"100%": {
|
|
2883
|
+
top: string;
|
|
2884
|
+
};
|
|
2885
|
+
};
|
|
2886
|
+
};
|
|
2887
|
+
"glitch-after": {
|
|
2888
|
+
name: string;
|
|
2889
|
+
duration: string;
|
|
2890
|
+
timingFunction: string;
|
|
2891
|
+
iterationCount: string;
|
|
2892
|
+
keyframes: {
|
|
2893
|
+
"0%, 100%": {
|
|
2894
|
+
opacity: string;
|
|
2895
|
+
};
|
|
2896
|
+
"5%, 10%": {
|
|
2897
|
+
opacity: string;
|
|
2898
|
+
transform: string;
|
|
2899
|
+
};
|
|
2900
|
+
"15%, 95%": {
|
|
2901
|
+
opacity: string;
|
|
2902
|
+
};
|
|
2903
|
+
};
|
|
2904
|
+
};
|
|
2404
2905
|
};
|
|
2405
|
-
|
|
2406
|
-
|
|
2407
|
-
|
|
2408
|
-
|
|
2409
|
-
|
|
2410
|
-
|
|
2411
|
-
|
|
2412
|
-
|
|
2413
|
-
|
|
2414
|
-
|
|
2415
|
-
|
|
2416
|
-
|
|
2417
|
-
|
|
2418
|
-
|
|
2419
|
-
|
|
2420
|
-
|
|
2421
|
-
|
|
2422
|
-
|
|
2423
|
-
|
|
2424
|
-
|
|
2425
|
-
|
|
2426
|
-
|
|
2427
|
-
|
|
2428
|
-
|
|
2429
|
-
|
|
2430
|
-
|
|
2431
|
-
|
|
2432
|
-
|
|
2433
|
-
|
|
2434
|
-
|
|
2435
|
-
|
|
2436
|
-
|
|
2437
|
-
|
|
2438
|
-
|
|
2439
|
-
|
|
2440
|
-
|
|
2441
|
-
|
|
2442
|
-
|
|
2443
|
-
|
|
2444
|
-
|
|
2445
|
-
|
|
2446
|
-
|
|
2447
|
-
|
|
2448
|
-
|
|
2449
|
-
|
|
2450
|
-
|
|
2451
|
-
|
|
2452
|
-
|
|
2453
|
-
|
|
2454
|
-
|
|
2906
|
+
readonly motion: {
|
|
2907
|
+
duration: {
|
|
2908
|
+
instant: string;
|
|
2909
|
+
fast: string;
|
|
2910
|
+
normal: string;
|
|
2911
|
+
slow: string;
|
|
2912
|
+
slower: string;
|
|
2913
|
+
slowest: string;
|
|
2914
|
+
};
|
|
2915
|
+
easing: {
|
|
2916
|
+
linear: string;
|
|
2917
|
+
easeIn: string;
|
|
2918
|
+
easeOut: string;
|
|
2919
|
+
easeInOut: string;
|
|
2920
|
+
easeInQuad: string;
|
|
2921
|
+
easeOutQuad: string;
|
|
2922
|
+
easeInOutQuad: string;
|
|
2923
|
+
easeInCubic: string;
|
|
2924
|
+
easeOutCubic: string;
|
|
2925
|
+
easeInOutCubic: string;
|
|
2926
|
+
spring: string;
|
|
2927
|
+
};
|
|
2928
|
+
delay: {
|
|
2929
|
+
none: string;
|
|
2930
|
+
short: string;
|
|
2931
|
+
medium: string;
|
|
2932
|
+
long: string;
|
|
2933
|
+
};
|
|
2934
|
+
};
|
|
2935
|
+
readonly breakpoints: {
|
|
2936
|
+
xs: string;
|
|
2937
|
+
sm: string;
|
|
2938
|
+
md: string;
|
|
2939
|
+
lg: string;
|
|
2940
|
+
xl: string;
|
|
2941
|
+
"2xl": string;
|
|
2942
|
+
"3xl": string;
|
|
2943
|
+
};
|
|
2944
|
+
readonly zIndex: {
|
|
2945
|
+
base: number;
|
|
2946
|
+
dropdown: number;
|
|
2947
|
+
sticky: number;
|
|
2948
|
+
fixed: number;
|
|
2949
|
+
modalBackdrop: number;
|
|
2950
|
+
modal: number;
|
|
2951
|
+
popover: number;
|
|
2952
|
+
tooltip: number;
|
|
2953
|
+
toast: number;
|
|
2954
|
+
notification: number;
|
|
2955
|
+
max: number;
|
|
2956
|
+
};
|
|
2957
|
+
readonly hero: {
|
|
2958
|
+
title: {
|
|
2959
|
+
fontSize: {
|
|
2960
|
+
mobile: string;
|
|
2961
|
+
responsive: string;
|
|
2962
|
+
desktop: string;
|
|
2963
|
+
clamp: string;
|
|
2964
|
+
};
|
|
2965
|
+
lineHeight: string;
|
|
2966
|
+
letterSpacing: string;
|
|
2967
|
+
wordSpacing: string;
|
|
2968
|
+
fontWeight: string;
|
|
2969
|
+
filter: string;
|
|
2970
|
+
textShadow: {
|
|
2971
|
+
dark: string;
|
|
2972
|
+
light: string;
|
|
2973
|
+
};
|
|
2974
|
+
};
|
|
2975
|
+
subtitle: {
|
|
2976
|
+
fontSize: {
|
|
2977
|
+
mobile: string;
|
|
2978
|
+
responsive: string;
|
|
2979
|
+
desktop: string;
|
|
2980
|
+
clamp: string;
|
|
2981
|
+
};
|
|
2982
|
+
lineHeight: string;
|
|
2983
|
+
letterSpacing: string;
|
|
2984
|
+
fontWeight: string;
|
|
2985
|
+
maxWidth: string;
|
|
2986
|
+
textShadow: {
|
|
2987
|
+
dark: string;
|
|
2988
|
+
light: string;
|
|
2989
|
+
};
|
|
2990
|
+
};
|
|
2991
|
+
container: {
|
|
2992
|
+
maxWidth: {
|
|
2993
|
+
mobile: string;
|
|
2994
|
+
sm: string;
|
|
2995
|
+
md: string;
|
|
2996
|
+
lg: string;
|
|
2997
|
+
};
|
|
2998
|
+
padding: {
|
|
2999
|
+
top: string;
|
|
3000
|
+
bottom: string;
|
|
3001
|
+
x: {
|
|
3002
|
+
mobile: string;
|
|
3003
|
+
sm: string;
|
|
3004
|
+
md: string;
|
|
3005
|
+
};
|
|
3006
|
+
};
|
|
3007
|
+
gap: string;
|
|
3008
|
+
};
|
|
3009
|
+
effects: {
|
|
3010
|
+
cyberpunk: {
|
|
3011
|
+
glitch: {
|
|
3012
|
+
animation: string;
|
|
3013
|
+
animationDelay: string;
|
|
3014
|
+
};
|
|
3015
|
+
neon: {
|
|
3016
|
+
animation: string;
|
|
3017
|
+
};
|
|
3018
|
+
flicker: {
|
|
3019
|
+
animation: string;
|
|
3020
|
+
};
|
|
3021
|
+
};
|
|
3022
|
+
};
|
|
3023
|
+
};
|
|
3024
|
+
readonly effects: {
|
|
3025
|
+
filter: {
|
|
3026
|
+
brightness: {
|
|
3027
|
+
subtle: string;
|
|
3028
|
+
moderate: string;
|
|
3029
|
+
intense: string;
|
|
3030
|
+
strong: string;
|
|
3031
|
+
extreme: string;
|
|
3032
|
+
};
|
|
3033
|
+
contrast: {
|
|
3034
|
+
subtle: string;
|
|
3035
|
+
moderate: string;
|
|
3036
|
+
strong: string;
|
|
3037
|
+
intense: string;
|
|
3038
|
+
};
|
|
3039
|
+
saturate: {
|
|
3040
|
+
subtle: string;
|
|
3041
|
+
moderate: string;
|
|
3042
|
+
strong: string;
|
|
3043
|
+
intense: string;
|
|
3044
|
+
};
|
|
3045
|
+
combined: {
|
|
3046
|
+
"neon-subtle": string;
|
|
3047
|
+
"neon-moderate": string;
|
|
3048
|
+
"neon-intense": string;
|
|
3049
|
+
"neon-extreme": string;
|
|
3050
|
+
glass: string;
|
|
3051
|
+
frosted: string;
|
|
3052
|
+
};
|
|
3053
|
+
};
|
|
3054
|
+
blur: {
|
|
3055
|
+
none: string;
|
|
3056
|
+
xs: string;
|
|
3057
|
+
sm: string;
|
|
3058
|
+
base: string;
|
|
3059
|
+
md: string;
|
|
3060
|
+
lg: string;
|
|
3061
|
+
xl: string;
|
|
3062
|
+
"2xl": string;
|
|
3063
|
+
"3xl": string;
|
|
3064
|
+
};
|
|
3065
|
+
backdrop: {
|
|
3066
|
+
blur: {
|
|
3067
|
+
none: string;
|
|
3068
|
+
sm: string;
|
|
3069
|
+
base: string;
|
|
3070
|
+
md: string;
|
|
3071
|
+
lg: string;
|
|
3072
|
+
xl: string;
|
|
3073
|
+
"2xl": string;
|
|
3074
|
+
"3xl": string;
|
|
3075
|
+
};
|
|
3076
|
+
saturate: {
|
|
3077
|
+
default: string;
|
|
3078
|
+
enhanced: string;
|
|
3079
|
+
strong: string;
|
|
3080
|
+
};
|
|
3081
|
+
};
|
|
3082
|
+
glow: {
|
|
3083
|
+
star: {
|
|
3084
|
+
small: {
|
|
3085
|
+
radius: string;
|
|
3086
|
+
color: string;
|
|
3087
|
+
};
|
|
3088
|
+
medium: {
|
|
3089
|
+
radius: string;
|
|
3090
|
+
color: string;
|
|
3091
|
+
};
|
|
3092
|
+
large: {
|
|
3093
|
+
radius: string;
|
|
3094
|
+
color: string;
|
|
3095
|
+
};
|
|
3096
|
+
};
|
|
3097
|
+
neon: {
|
|
3098
|
+
cyan: {
|
|
3099
|
+
subtle: string;
|
|
3100
|
+
moderate: string;
|
|
3101
|
+
intense: string;
|
|
3102
|
+
};
|
|
3103
|
+
purple: {
|
|
3104
|
+
subtle: string;
|
|
3105
|
+
moderate: string;
|
|
3106
|
+
intense: string;
|
|
3107
|
+
};
|
|
3108
|
+
pink: {
|
|
3109
|
+
subtle: string;
|
|
3110
|
+
moderate: string;
|
|
3111
|
+
intense: string;
|
|
3112
|
+
};
|
|
3113
|
+
green: {
|
|
3114
|
+
subtle: string;
|
|
3115
|
+
moderate: string;
|
|
3116
|
+
intense: string;
|
|
3117
|
+
};
|
|
3118
|
+
};
|
|
3119
|
+
};
|
|
3120
|
+
textShadow: {
|
|
3121
|
+
glow: {
|
|
3122
|
+
"cyan-subtle": string;
|
|
3123
|
+
"cyan-moderate": string;
|
|
3124
|
+
"cyan-intense": string;
|
|
3125
|
+
};
|
|
3126
|
+
depth: {
|
|
3127
|
+
subtle: string;
|
|
3128
|
+
moderate: string;
|
|
3129
|
+
strong: string;
|
|
3130
|
+
};
|
|
3131
|
+
};
|
|
3132
|
+
boxShadow: {
|
|
3133
|
+
cyberpunk: {
|
|
3134
|
+
card: string;
|
|
3135
|
+
cardHover: string;
|
|
3136
|
+
elevated: string;
|
|
3137
|
+
};
|
|
3138
|
+
glass: {
|
|
3139
|
+
subtle: string;
|
|
3140
|
+
moderate: string;
|
|
3141
|
+
strong: string;
|
|
3142
|
+
};
|
|
3143
|
+
};
|
|
3144
|
+
};
|
|
3145
|
+
readonly components: {
|
|
3146
|
+
readonly celestialBackground: {
|
|
3147
|
+
stars: {
|
|
3148
|
+
default: {
|
|
3149
|
+
count: number;
|
|
3150
|
+
sizes: number[];
|
|
3151
|
+
opacity: number[];
|
|
3152
|
+
glow: {
|
|
3153
|
+
color: string;
|
|
3154
|
+
radius: number;
|
|
3155
|
+
};
|
|
3156
|
+
};
|
|
3157
|
+
dense: {
|
|
3158
|
+
count: number;
|
|
3159
|
+
sizes: number[];
|
|
3160
|
+
opacity: number[];
|
|
3161
|
+
glow: {
|
|
3162
|
+
color: string;
|
|
3163
|
+
radius: number;
|
|
3164
|
+
};
|
|
3165
|
+
};
|
|
3166
|
+
sparse: {
|
|
3167
|
+
count: number;
|
|
3168
|
+
sizes: number[];
|
|
3169
|
+
opacity: number[];
|
|
3170
|
+
glow: {
|
|
3171
|
+
color: string;
|
|
3172
|
+
radius: number;
|
|
3173
|
+
};
|
|
3174
|
+
};
|
|
3175
|
+
};
|
|
3176
|
+
nebula: {
|
|
3177
|
+
cyan: {
|
|
3178
|
+
position: {
|
|
3179
|
+
top: string;
|
|
3180
|
+
left: string;
|
|
3181
|
+
};
|
|
3182
|
+
size: {
|
|
3183
|
+
width: string;
|
|
3184
|
+
height: string;
|
|
3185
|
+
};
|
|
3186
|
+
gradient: {
|
|
3187
|
+
type: string;
|
|
3188
|
+
center: string;
|
|
3189
|
+
colorStops: {
|
|
3190
|
+
color: string;
|
|
3191
|
+
alpha: number;
|
|
3192
|
+
position: string;
|
|
3193
|
+
}[];
|
|
3194
|
+
};
|
|
3195
|
+
blur: string;
|
|
3196
|
+
};
|
|
3197
|
+
purple: {
|
|
3198
|
+
position: {
|
|
3199
|
+
top: string;
|
|
3200
|
+
right: string;
|
|
3201
|
+
};
|
|
3202
|
+
size: {
|
|
3203
|
+
width: string;
|
|
3204
|
+
height: string;
|
|
3205
|
+
};
|
|
3206
|
+
gradient: {
|
|
3207
|
+
type: string;
|
|
3208
|
+
center: string;
|
|
3209
|
+
colorStops: {
|
|
3210
|
+
color: string;
|
|
3211
|
+
alpha: number;
|
|
3212
|
+
position: string;
|
|
3213
|
+
}[];
|
|
3214
|
+
};
|
|
3215
|
+
blur: string;
|
|
3216
|
+
};
|
|
3217
|
+
pink: {
|
|
3218
|
+
position: {
|
|
3219
|
+
bottom: string;
|
|
3220
|
+
left: string;
|
|
3221
|
+
};
|
|
3222
|
+
size: {
|
|
3223
|
+
width: string;
|
|
3224
|
+
height: string;
|
|
3225
|
+
};
|
|
3226
|
+
gradient: {
|
|
3227
|
+
type: string;
|
|
3228
|
+
center: string;
|
|
3229
|
+
colorStops: {
|
|
3230
|
+
color: string;
|
|
3231
|
+
alpha: number;
|
|
3232
|
+
position: string;
|
|
3233
|
+
}[];
|
|
3234
|
+
};
|
|
3235
|
+
blur: string;
|
|
3236
|
+
};
|
|
3237
|
+
};
|
|
3238
|
+
baseGradient: {
|
|
3239
|
+
direction: string;
|
|
3240
|
+
from: string;
|
|
3241
|
+
via: {
|
|
3242
|
+
color: string;
|
|
3243
|
+
alpha: number;
|
|
3244
|
+
};
|
|
3245
|
+
to: string;
|
|
3246
|
+
};
|
|
3247
|
+
};
|
|
3248
|
+
};
|
|
3249
|
+
};
|
|
3250
|
+
/**
|
|
3251
|
+
* Cores do tema claro
|
|
3252
|
+
*
|
|
3253
|
+
* @description
|
|
3254
|
+
* Exporta apenas as cores do tema claro para uso direto.
|
|
3255
|
+
*
|
|
3256
|
+
* @type {Object}
|
|
3257
|
+
* @constant
|
|
3258
|
+
* @readonly
|
|
3259
|
+
*
|
|
3260
|
+
* @example
|
|
3261
|
+
* ```typescript
|
|
3262
|
+
* import { lightThemeColors } from '@rainersoft/design-tokens';
|
|
3263
|
+
*
|
|
3264
|
+
* const primaryColor = lightThemeColors.brand.primary;
|
|
3265
|
+
* ```
|
|
3266
|
+
*/
|
|
3267
|
+
declare const lightThemeColors: {
|
|
3268
|
+
primary: {
|
|
3269
|
+
base: string;
|
|
3270
|
+
hover: string;
|
|
3271
|
+
active: string;
|
|
3272
|
+
disabled: string;
|
|
3273
|
+
focus: string;
|
|
3274
|
+
background: string;
|
|
3275
|
+
backgroundHover: string;
|
|
3276
|
+
backgroundActive: string;
|
|
3277
|
+
border: string;
|
|
3278
|
+
borderHover: string;
|
|
3279
|
+
borderFocus: string;
|
|
3280
|
+
text: string;
|
|
3281
|
+
textHover: string;
|
|
3282
|
+
textDisabled: string;
|
|
3283
|
+
};
|
|
3284
|
+
secondary: {
|
|
3285
|
+
base: string;
|
|
3286
|
+
hover: string;
|
|
3287
|
+
active: string;
|
|
3288
|
+
disabled: string;
|
|
3289
|
+
focus: string;
|
|
3290
|
+
background: string;
|
|
3291
|
+
backgroundHover: string;
|
|
3292
|
+
backgroundActive: string;
|
|
3293
|
+
border: string;
|
|
3294
|
+
borderHover: string;
|
|
3295
|
+
borderFocus: string;
|
|
3296
|
+
text: string;
|
|
3297
|
+
textHover: string;
|
|
3298
|
+
textDisabled: string;
|
|
2455
3299
|
};
|
|
2456
3300
|
accent: {
|
|
2457
3301
|
base: string;
|
|
@@ -2700,7 +3544,7 @@ declare const lightThemeColors: {
|
|
|
2700
3544
|
*
|
|
2701
3545
|
* @example
|
|
2702
3546
|
* ```typescript
|
|
2703
|
-
* import { darkThemeColors } from '
|
|
3547
|
+
* import { darkThemeColors } from '@rainersoft/design-tokens';
|
|
2704
3548
|
*
|
|
2705
3549
|
* const neonColor = darkThemeColors.accent.cyan;
|
|
2706
3550
|
* ```
|
|
@@ -3010,7 +3854,7 @@ declare const darkThemeColors: {
|
|
|
3010
3854
|
*
|
|
3011
3855
|
* @example
|
|
3012
3856
|
* ```typescript
|
|
3013
|
-
* import { typographyTokens } from '
|
|
3857
|
+
* import { typographyTokens } from '@rainersoft/design-tokens';
|
|
3014
3858
|
*
|
|
3015
3859
|
* const fontSize = typographyTokens.fontSize.lg;
|
|
3016
3860
|
* const fontFamily = typographyTokens.fontFamily.sans;
|
|
@@ -3289,7 +4133,7 @@ declare const typographyTokens: {
|
|
|
3289
4133
|
*
|
|
3290
4134
|
* @example
|
|
3291
4135
|
* ```typescript
|
|
3292
|
-
* import { spacingTokens } from '
|
|
4136
|
+
* import { spacingTokens } from '@rainersoft/design-tokens';
|
|
3293
4137
|
*
|
|
3294
4138
|
* const margin = spacingTokens.md;
|
|
3295
4139
|
* const padding = spacingTokens.lg;
|
|
@@ -3344,7 +4188,7 @@ declare const spacingTokens: {
|
|
|
3344
4188
|
*
|
|
3345
4189
|
* @example
|
|
3346
4190
|
* ```typescript
|
|
3347
|
-
* import { radiusTokens } from '
|
|
4191
|
+
* import { radiusTokens } from '@rainersoft/design-tokens';
|
|
3348
4192
|
*
|
|
3349
4193
|
* const borderRadius = radiusTokens.md;
|
|
3350
4194
|
* ```
|
|
@@ -3373,7 +4217,7 @@ declare const radiusTokens: {
|
|
|
3373
4217
|
*
|
|
3374
4218
|
* @example
|
|
3375
4219
|
* ```typescript
|
|
3376
|
-
* import { shadowTokens } from '
|
|
4220
|
+
* import { shadowTokens } from '@rainersoft/design-tokens';
|
|
3377
4221
|
*
|
|
3378
4222
|
* const shadow = shadowTokens.light.md;
|
|
3379
4223
|
* const glow = shadowTokens.dark.glow.cyan;
|
|
@@ -3420,7 +4264,7 @@ declare const shadowTokens: {
|
|
|
3420
4264
|
*
|
|
3421
4265
|
* @example
|
|
3422
4266
|
* ```typescript
|
|
3423
|
-
* import { animationTokens } from '
|
|
4267
|
+
* import { animationTokens } from '@rainersoft/design-tokens';
|
|
3424
4268
|
*
|
|
3425
4269
|
* const slideIn = animationTokens['slide-in'];
|
|
3426
4270
|
* const fadeIn = animationTokens['fade-in'];
|
|
@@ -3481,6 +4325,459 @@ declare const animationTokens: {
|
|
|
3481
4325
|
};
|
|
3482
4326
|
};
|
|
3483
4327
|
};
|
|
4328
|
+
glitch: {
|
|
4329
|
+
name: string;
|
|
4330
|
+
duration: string;
|
|
4331
|
+
timingFunction: string;
|
|
4332
|
+
iterationCount: string;
|
|
4333
|
+
keyframes: {
|
|
4334
|
+
"0%, 100%": {
|
|
4335
|
+
transform: string;
|
|
4336
|
+
};
|
|
4337
|
+
"10%": {
|
|
4338
|
+
transform: string;
|
|
4339
|
+
};
|
|
4340
|
+
"20%": {
|
|
4341
|
+
transform: string;
|
|
4342
|
+
};
|
|
4343
|
+
"30%, 50%, 70%, 90%": {
|
|
4344
|
+
transform: string;
|
|
4345
|
+
};
|
|
4346
|
+
};
|
|
4347
|
+
};
|
|
4348
|
+
"neon-pulse": {
|
|
4349
|
+
name: string;
|
|
4350
|
+
duration: string;
|
|
4351
|
+
timingFunction: string;
|
|
4352
|
+
iterationCount: string;
|
|
4353
|
+
direction: string;
|
|
4354
|
+
keyframes: {
|
|
4355
|
+
"0%, 100%": {
|
|
4356
|
+
filter: string;
|
|
4357
|
+
};
|
|
4358
|
+
"50%": {
|
|
4359
|
+
filter: string;
|
|
4360
|
+
};
|
|
4361
|
+
};
|
|
4362
|
+
};
|
|
4363
|
+
flicker: {
|
|
4364
|
+
name: string;
|
|
4365
|
+
duration: string;
|
|
4366
|
+
timingFunction: string;
|
|
4367
|
+
iterationCount: string;
|
|
4368
|
+
keyframes: {
|
|
4369
|
+
"0%, 19.999%, 22%, 62.999%, 64%, 64.999%, 70%, 100%": {
|
|
4370
|
+
opacity: string;
|
|
4371
|
+
filter: string;
|
|
4372
|
+
};
|
|
4373
|
+
"20%, 21.999%, 63%, 63.999%, 65%, 69.999%": {
|
|
4374
|
+
opacity: string;
|
|
4375
|
+
filter: string;
|
|
4376
|
+
};
|
|
4377
|
+
};
|
|
4378
|
+
};
|
|
4379
|
+
"scan-line": {
|
|
4380
|
+
name: string;
|
|
4381
|
+
duration: string;
|
|
4382
|
+
timingFunction: string;
|
|
4383
|
+
iterationCount: string;
|
|
4384
|
+
keyframes: {
|
|
4385
|
+
"0%": {
|
|
4386
|
+
top: string;
|
|
4387
|
+
};
|
|
4388
|
+
"100%": {
|
|
4389
|
+
top: string;
|
|
4390
|
+
};
|
|
4391
|
+
};
|
|
4392
|
+
};
|
|
4393
|
+
"glitch-after": {
|
|
4394
|
+
name: string;
|
|
4395
|
+
duration: string;
|
|
4396
|
+
timingFunction: string;
|
|
4397
|
+
iterationCount: string;
|
|
4398
|
+
keyframes: {
|
|
4399
|
+
"0%, 100%": {
|
|
4400
|
+
opacity: string;
|
|
4401
|
+
};
|
|
4402
|
+
"5%, 10%": {
|
|
4403
|
+
opacity: string;
|
|
4404
|
+
transform: string;
|
|
4405
|
+
};
|
|
4406
|
+
"15%, 95%": {
|
|
4407
|
+
opacity: string;
|
|
4408
|
+
};
|
|
4409
|
+
};
|
|
4410
|
+
};
|
|
4411
|
+
};
|
|
4412
|
+
/**
|
|
4413
|
+
* Tokens de efeitos visuais
|
|
4414
|
+
*
|
|
4415
|
+
* @description
|
|
4416
|
+
* Exporta todos os tokens de efeitos visuais, incluindo filters, blur,
|
|
4417
|
+
* glow, backdrop effects e outros efeitos para criar elementos visuais sofisticados.
|
|
4418
|
+
*
|
|
4419
|
+
* @type {Object}
|
|
4420
|
+
* @constant
|
|
4421
|
+
* @readonly
|
|
4422
|
+
*
|
|
4423
|
+
* @example
|
|
4424
|
+
* ```typescript
|
|
4425
|
+
* import { effectTokens } from '@rainersoft/design-tokens';
|
|
4426
|
+
*
|
|
4427
|
+
* const blur = effectTokens.blur.md;
|
|
4428
|
+
* const glow = effectTokens.glow.neon.cyan.moderate;
|
|
4429
|
+
* ```
|
|
4430
|
+
*/
|
|
4431
|
+
declare const effectTokens: {
|
|
4432
|
+
filter: {
|
|
4433
|
+
brightness: {
|
|
4434
|
+
subtle: string;
|
|
4435
|
+
moderate: string;
|
|
4436
|
+
intense: string;
|
|
4437
|
+
strong: string;
|
|
4438
|
+
extreme: string;
|
|
4439
|
+
};
|
|
4440
|
+
contrast: {
|
|
4441
|
+
subtle: string;
|
|
4442
|
+
moderate: string;
|
|
4443
|
+
strong: string;
|
|
4444
|
+
intense: string;
|
|
4445
|
+
};
|
|
4446
|
+
saturate: {
|
|
4447
|
+
subtle: string;
|
|
4448
|
+
moderate: string;
|
|
4449
|
+
strong: string;
|
|
4450
|
+
intense: string;
|
|
4451
|
+
};
|
|
4452
|
+
combined: {
|
|
4453
|
+
"neon-subtle": string;
|
|
4454
|
+
"neon-moderate": string;
|
|
4455
|
+
"neon-intense": string;
|
|
4456
|
+
"neon-extreme": string;
|
|
4457
|
+
glass: string;
|
|
4458
|
+
frosted: string;
|
|
4459
|
+
};
|
|
4460
|
+
};
|
|
4461
|
+
blur: {
|
|
4462
|
+
none: string;
|
|
4463
|
+
xs: string;
|
|
4464
|
+
sm: string;
|
|
4465
|
+
base: string;
|
|
4466
|
+
md: string;
|
|
4467
|
+
lg: string;
|
|
4468
|
+
xl: string;
|
|
4469
|
+
"2xl": string;
|
|
4470
|
+
"3xl": string;
|
|
4471
|
+
};
|
|
4472
|
+
backdrop: {
|
|
4473
|
+
blur: {
|
|
4474
|
+
none: string;
|
|
4475
|
+
sm: string;
|
|
4476
|
+
base: string;
|
|
4477
|
+
md: string;
|
|
4478
|
+
lg: string;
|
|
4479
|
+
xl: string;
|
|
4480
|
+
"2xl": string;
|
|
4481
|
+
"3xl": string;
|
|
4482
|
+
};
|
|
4483
|
+
saturate: {
|
|
4484
|
+
default: string;
|
|
4485
|
+
enhanced: string;
|
|
4486
|
+
strong: string;
|
|
4487
|
+
};
|
|
4488
|
+
};
|
|
4489
|
+
glow: {
|
|
4490
|
+
star: {
|
|
4491
|
+
small: {
|
|
4492
|
+
radius: string;
|
|
4493
|
+
color: string;
|
|
4494
|
+
};
|
|
4495
|
+
medium: {
|
|
4496
|
+
radius: string;
|
|
4497
|
+
color: string;
|
|
4498
|
+
};
|
|
4499
|
+
large: {
|
|
4500
|
+
radius: string;
|
|
4501
|
+
color: string;
|
|
4502
|
+
};
|
|
4503
|
+
};
|
|
4504
|
+
neon: {
|
|
4505
|
+
cyan: {
|
|
4506
|
+
subtle: string;
|
|
4507
|
+
moderate: string;
|
|
4508
|
+
intense: string;
|
|
4509
|
+
};
|
|
4510
|
+
purple: {
|
|
4511
|
+
subtle: string;
|
|
4512
|
+
moderate: string;
|
|
4513
|
+
intense: string;
|
|
4514
|
+
};
|
|
4515
|
+
pink: {
|
|
4516
|
+
subtle: string;
|
|
4517
|
+
moderate: string;
|
|
4518
|
+
intense: string;
|
|
4519
|
+
};
|
|
4520
|
+
green: {
|
|
4521
|
+
subtle: string;
|
|
4522
|
+
moderate: string;
|
|
4523
|
+
intense: string;
|
|
4524
|
+
};
|
|
4525
|
+
};
|
|
4526
|
+
};
|
|
4527
|
+
textShadow: {
|
|
4528
|
+
glow: {
|
|
4529
|
+
"cyan-subtle": string;
|
|
4530
|
+
"cyan-moderate": string;
|
|
4531
|
+
"cyan-intense": string;
|
|
4532
|
+
};
|
|
4533
|
+
depth: {
|
|
4534
|
+
subtle: string;
|
|
4535
|
+
moderate: string;
|
|
4536
|
+
strong: string;
|
|
4537
|
+
};
|
|
4538
|
+
};
|
|
4539
|
+
boxShadow: {
|
|
4540
|
+
cyberpunk: {
|
|
4541
|
+
card: string;
|
|
4542
|
+
cardHover: string;
|
|
4543
|
+
elevated: string;
|
|
4544
|
+
};
|
|
4545
|
+
glass: {
|
|
4546
|
+
subtle: string;
|
|
4547
|
+
moderate: string;
|
|
4548
|
+
strong: string;
|
|
4549
|
+
};
|
|
4550
|
+
};
|
|
4551
|
+
};
|
|
4552
|
+
/**
|
|
4553
|
+
* Tokens de componentes
|
|
4554
|
+
*
|
|
4555
|
+
* @description
|
|
4556
|
+
* Exporta todos os tokens específicos de componentes, incluindo configurações
|
|
4557
|
+
* para celestial background, carousels e outros componentes visuais.
|
|
4558
|
+
*
|
|
4559
|
+
* @type {Object}
|
|
4560
|
+
* @constant
|
|
4561
|
+
* @readonly
|
|
4562
|
+
*
|
|
4563
|
+
* @example
|
|
4564
|
+
* ```typescript
|
|
4565
|
+
* import { componentTokens } from '@rainersoft/design-tokens';
|
|
4566
|
+
*
|
|
4567
|
+
* const starConfig = componentTokens.celestialBackground.stars.default;
|
|
4568
|
+
* ```
|
|
4569
|
+
*/
|
|
4570
|
+
declare const componentTokens: {
|
|
4571
|
+
celestialBackground: {
|
|
4572
|
+
stars: {
|
|
4573
|
+
default: {
|
|
4574
|
+
count: number;
|
|
4575
|
+
sizes: number[];
|
|
4576
|
+
opacity: number[];
|
|
4577
|
+
glow: {
|
|
4578
|
+
color: string;
|
|
4579
|
+
radius: number;
|
|
4580
|
+
};
|
|
4581
|
+
};
|
|
4582
|
+
dense: {
|
|
4583
|
+
count: number;
|
|
4584
|
+
sizes: number[];
|
|
4585
|
+
opacity: number[];
|
|
4586
|
+
glow: {
|
|
4587
|
+
color: string;
|
|
4588
|
+
radius: number;
|
|
4589
|
+
};
|
|
4590
|
+
};
|
|
4591
|
+
sparse: {
|
|
4592
|
+
count: number;
|
|
4593
|
+
sizes: number[];
|
|
4594
|
+
opacity: number[];
|
|
4595
|
+
glow: {
|
|
4596
|
+
color: string;
|
|
4597
|
+
radius: number;
|
|
4598
|
+
};
|
|
4599
|
+
};
|
|
4600
|
+
};
|
|
4601
|
+
nebula: {
|
|
4602
|
+
cyan: {
|
|
4603
|
+
position: {
|
|
4604
|
+
top: string;
|
|
4605
|
+
left: string;
|
|
4606
|
+
};
|
|
4607
|
+
size: {
|
|
4608
|
+
width: string;
|
|
4609
|
+
height: string;
|
|
4610
|
+
};
|
|
4611
|
+
gradient: {
|
|
4612
|
+
type: string;
|
|
4613
|
+
center: string;
|
|
4614
|
+
colorStops: {
|
|
4615
|
+
color: string;
|
|
4616
|
+
alpha: number;
|
|
4617
|
+
position: string;
|
|
4618
|
+
}[];
|
|
4619
|
+
};
|
|
4620
|
+
blur: string;
|
|
4621
|
+
};
|
|
4622
|
+
purple: {
|
|
4623
|
+
position: {
|
|
4624
|
+
top: string;
|
|
4625
|
+
right: string;
|
|
4626
|
+
};
|
|
4627
|
+
size: {
|
|
4628
|
+
width: string;
|
|
4629
|
+
height: string;
|
|
4630
|
+
};
|
|
4631
|
+
gradient: {
|
|
4632
|
+
type: string;
|
|
4633
|
+
center: string;
|
|
4634
|
+
colorStops: {
|
|
4635
|
+
color: string;
|
|
4636
|
+
alpha: number;
|
|
4637
|
+
position: string;
|
|
4638
|
+
}[];
|
|
4639
|
+
};
|
|
4640
|
+
blur: string;
|
|
4641
|
+
};
|
|
4642
|
+
pink: {
|
|
4643
|
+
position: {
|
|
4644
|
+
bottom: string;
|
|
4645
|
+
left: string;
|
|
4646
|
+
};
|
|
4647
|
+
size: {
|
|
4648
|
+
width: string;
|
|
4649
|
+
height: string;
|
|
4650
|
+
};
|
|
4651
|
+
gradient: {
|
|
4652
|
+
type: string;
|
|
4653
|
+
center: string;
|
|
4654
|
+
colorStops: {
|
|
4655
|
+
color: string;
|
|
4656
|
+
alpha: number;
|
|
4657
|
+
position: string;
|
|
4658
|
+
}[];
|
|
4659
|
+
};
|
|
4660
|
+
blur: string;
|
|
4661
|
+
};
|
|
4662
|
+
};
|
|
4663
|
+
baseGradient: {
|
|
4664
|
+
direction: string;
|
|
4665
|
+
from: string;
|
|
4666
|
+
via: {
|
|
4667
|
+
color: string;
|
|
4668
|
+
alpha: number;
|
|
4669
|
+
};
|
|
4670
|
+
to: string;
|
|
4671
|
+
};
|
|
4672
|
+
};
|
|
4673
|
+
};
|
|
4674
|
+
/**
|
|
4675
|
+
* Tokens de motion
|
|
4676
|
+
*
|
|
4677
|
+
* @description
|
|
4678
|
+
* Exporta todos os tokens relacionados a motion e animações, incluindo
|
|
4679
|
+
* durações, easings, keyframes e transições seguindo Material Design e Fluent Design.
|
|
4680
|
+
*
|
|
4681
|
+
* @type {Object}
|
|
4682
|
+
* @constant
|
|
4683
|
+
* @readonly
|
|
4684
|
+
*
|
|
4685
|
+
* @example
|
|
4686
|
+
* ```typescript
|
|
4687
|
+
* import { motionTokens } from '@rainersoft/design-tokens';
|
|
4688
|
+
*
|
|
4689
|
+
* const duration = motionTokens.duration.normal;
|
|
4690
|
+
* const easing = motionTokens.easing.standard.productive;
|
|
4691
|
+
* ```
|
|
4692
|
+
*/
|
|
4693
|
+
declare const motionTokens: {
|
|
4694
|
+
duration: {
|
|
4695
|
+
instant: string;
|
|
4696
|
+
fast: string;
|
|
4697
|
+
normal: string;
|
|
4698
|
+
slow: string;
|
|
4699
|
+
slower: string;
|
|
4700
|
+
slowest: string;
|
|
4701
|
+
};
|
|
4702
|
+
easing: {
|
|
4703
|
+
linear: string;
|
|
4704
|
+
easeIn: string;
|
|
4705
|
+
easeOut: string;
|
|
4706
|
+
easeInOut: string;
|
|
4707
|
+
easeInQuad: string;
|
|
4708
|
+
easeOutQuad: string;
|
|
4709
|
+
easeInOutQuad: string;
|
|
4710
|
+
easeInCubic: string;
|
|
4711
|
+
easeOutCubic: string;
|
|
4712
|
+
easeInOutCubic: string;
|
|
4713
|
+
spring: string;
|
|
4714
|
+
};
|
|
4715
|
+
delay: {
|
|
4716
|
+
none: string;
|
|
4717
|
+
short: string;
|
|
4718
|
+
medium: string;
|
|
4719
|
+
long: string;
|
|
4720
|
+
};
|
|
4721
|
+
};
|
|
4722
|
+
/**
|
|
4723
|
+
* Tokens de breakpoints
|
|
4724
|
+
*
|
|
4725
|
+
* @description
|
|
4726
|
+
* Exporta todos os tokens de breakpoints responsivos para criar layouts
|
|
4727
|
+
* mobile-first consistentes em todas as plataformas.
|
|
4728
|
+
*
|
|
4729
|
+
* @type {Object}
|
|
4730
|
+
* @constant
|
|
4731
|
+
* @readonly
|
|
4732
|
+
*
|
|
4733
|
+
* @example
|
|
4734
|
+
* ```typescript
|
|
4735
|
+
* import { breakpointTokens } from '@rainersoft/design-tokens';
|
|
4736
|
+
*
|
|
4737
|
+
* const tabletSize = breakpointTokens.md;
|
|
4738
|
+
* const mediaQuery = breakpointTokens.mediaQueries.lg;
|
|
4739
|
+
* ```
|
|
4740
|
+
*/
|
|
4741
|
+
declare const breakpointTokens: {
|
|
4742
|
+
xs: string;
|
|
4743
|
+
sm: string;
|
|
4744
|
+
md: string;
|
|
4745
|
+
lg: string;
|
|
4746
|
+
xl: string;
|
|
4747
|
+
"2xl": string;
|
|
4748
|
+
"3xl": string;
|
|
4749
|
+
};
|
|
4750
|
+
/**
|
|
4751
|
+
* Tokens de z-index
|
|
4752
|
+
*
|
|
4753
|
+
* @description
|
|
4754
|
+
* Exporta todos os tokens de z-index para gerenciar camadas e sobreposições
|
|
4755
|
+
* de forma consistente e escalável.
|
|
4756
|
+
*
|
|
4757
|
+
* @type {Object}
|
|
4758
|
+
* @constant
|
|
4759
|
+
* @readonly
|
|
4760
|
+
*
|
|
4761
|
+
* @example
|
|
4762
|
+
* ```typescript
|
|
4763
|
+
* import { zIndexTokens } from '@rainersoft/design-tokens';
|
|
4764
|
+
*
|
|
4765
|
+
* const modalLayer = zIndexTokens.modal;
|
|
4766
|
+
* const tooltipLayer = zIndexTokens.tooltip;
|
|
4767
|
+
* ```
|
|
4768
|
+
*/
|
|
4769
|
+
declare const zIndexTokens: {
|
|
4770
|
+
base: number;
|
|
4771
|
+
dropdown: number;
|
|
4772
|
+
sticky: number;
|
|
4773
|
+
fixed: number;
|
|
4774
|
+
modalBackdrop: number;
|
|
4775
|
+
modal: number;
|
|
4776
|
+
popover: number;
|
|
4777
|
+
tooltip: number;
|
|
4778
|
+
toast: number;
|
|
4779
|
+
notification: number;
|
|
4780
|
+
max: number;
|
|
3484
4781
|
};
|
|
3485
4782
|
/**
|
|
3486
4783
|
* Tipo TypeScript para todos os tokens
|
|
@@ -3547,6 +4844,30 @@ type Shadows = typeof shadows$1.shadows;
|
|
|
3547
4844
|
* Tipo que representa todos os tokens de animações.
|
|
3548
4845
|
*/
|
|
3549
4846
|
type Animations = typeof animations$1.animations;
|
|
4847
|
+
/**
|
|
4848
|
+
* Tipo TypeScript para tokens de motion
|
|
4849
|
+
*
|
|
4850
|
+
* @typedef {Object} Motion
|
|
4851
|
+
* @description
|
|
4852
|
+
* Tipo que representa todos os tokens de motion.
|
|
4853
|
+
*/
|
|
4854
|
+
type Motion = typeof motion$1.motion;
|
|
4855
|
+
/**
|
|
4856
|
+
* Tipo TypeScript para tokens de breakpoints
|
|
4857
|
+
*
|
|
4858
|
+
* @typedef {Object} Breakpoints
|
|
4859
|
+
* @description
|
|
4860
|
+
* Tipo que representa todos os tokens de breakpoints responsivos.
|
|
4861
|
+
*/
|
|
4862
|
+
type Breakpoints = typeof breakpoints$1.breakpoints;
|
|
4863
|
+
/**
|
|
4864
|
+
* Tipo TypeScript para tokens de z-index
|
|
4865
|
+
*
|
|
4866
|
+
* @typedef {Object} ZIndex
|
|
4867
|
+
* @description
|
|
4868
|
+
* Tipo que representa todos os tokens de z-index.
|
|
4869
|
+
*/
|
|
4870
|
+
type ZIndex = typeof zIndex$1.zIndex;
|
|
3550
4871
|
|
|
3551
4872
|
/**
|
|
3552
4873
|
* @fileoverview Tema Claro - Rainer Design System
|
|
@@ -3558,7 +4879,7 @@ type Animations = typeof animations$1.animations;
|
|
|
3558
4879
|
* e profissionalismo.
|
|
3559
4880
|
*
|
|
3560
4881
|
* @module themes/light
|
|
3561
|
-
* @version
|
|
4882
|
+
* @version 2.0.0
|
|
3562
4883
|
* @author Rainer Teixeira
|
|
3563
4884
|
* @since 1.0.0
|
|
3564
4885
|
*/
|
|
@@ -3582,7 +4903,7 @@ type Animations = typeof animations$1.animations;
|
|
|
3582
4903
|
*
|
|
3583
4904
|
* @example
|
|
3584
4905
|
* ```typescript
|
|
3585
|
-
* import { lightTheme } from '
|
|
4906
|
+
* import { lightTheme } from '@rainersoft/design-tokens';
|
|
3586
4907
|
*
|
|
3587
4908
|
* // Acessar cores do tema claro
|
|
3588
4909
|
* const primaryColor = lightTheme.colors.brand.primary;
|
|
@@ -4213,7 +5534,7 @@ type LightTheme = typeof lightTheme;
|
|
|
4213
5534
|
* aplicações que buscam um visual futurista e impactante.
|
|
4214
5535
|
*
|
|
4215
5536
|
* @module themes/dark
|
|
4216
|
-
* @version
|
|
5537
|
+
* @version 2.0.0
|
|
4217
5538
|
* @author Rainer Teixeira
|
|
4218
5539
|
* @since 1.0.0
|
|
4219
5540
|
*/
|
|
@@ -4237,7 +5558,7 @@ type LightTheme = typeof lightTheme;
|
|
|
4237
5558
|
*
|
|
4238
5559
|
* @example
|
|
4239
5560
|
* ```typescript
|
|
4240
|
-
* import { darkTheme } from '
|
|
5561
|
+
* import { darkTheme } from '@rainersoft/design-tokens';
|
|
4241
5562
|
*
|
|
4242
5563
|
* // Acessar cores neon do tema escuro
|
|
4243
5564
|
* const neonCyan = darkTheme.colors.accent.cyan;
|
|
@@ -4898,7 +6219,7 @@ type DarkTheme = typeof darkTheme;
|
|
|
4898
6219
|
* facilitando a aplicação de temas completos na aplicação.
|
|
4899
6220
|
*
|
|
4900
6221
|
* @module themes
|
|
4901
|
-
* @version
|
|
6222
|
+
* @version 2.0.0
|
|
4902
6223
|
* @author Rainer Teixeira
|
|
4903
6224
|
* @since 1.0.0
|
|
4904
6225
|
*
|
|
@@ -6140,4 +7461,4 @@ declare const themes: {
|
|
|
6140
7461
|
*/
|
|
6141
7462
|
type Themes = typeof themes;
|
|
6142
7463
|
|
|
6143
|
-
export { type Animations, BACKGROUND, type Background, type DarkColors, type DarkTheme, GRADIENTS, GRADIENT_COLORS, GRADIENT_COMPOSITES, GRADIENT_DIRECTIONS, type GradientColors, type GradientComposites, type GradientDirections, type Gradients, type LightColors, type LightTheme, type Radius, type Shadows, type Spacing, type Themes, type Tokens, type Typography, animationTokens, darkTheme, darkThemeColors, getContrast, getContrastInfo, getLuminance, hexToRgb, lightTheme, lightThemeColors, meetsWCAGAA, meetsWCAGAAA, radiusTokens, shadowTokens, spacingTokens, themes, tokens, typographyTokens, validateContrast };
|
|
7464
|
+
export { type Animations, BACKGROUND, type Background, type Breakpoints, COLORS, type Colors, type DarkColors, type DarkTheme, GRADIENTS, GRADIENT_COLORS, GRADIENT_COMPOSITES, GRADIENT_DIRECTIONS, type GradientColors, type GradientComposites, type GradientDirections, type Gradients, type LightColors, type LightTheme, MOTION, type Motion, NAVIGATION, type Navigation, RESPONSIVE, type Radius, SHADOWS, type Shadows, type Spacing, type Themes, type Tokens, type Typography, type ZIndex, Z_INDEX, animationTokens, breakpointTokens, componentTokens, darkTheme, darkThemeColors, effectTokens, getContrast, getContrastInfo, getLuminance, hexToRgb, lightTheme, lightThemeColors, meetsWCAGAA, meetsWCAGAAA, motionTokens, radiusTokens, shadowTokens, spacingTokens, themes, tokens, typographyTokens, validateContrast, zIndexTokens };
|