@klu_dev/ui-klu-green 1.2.27 → 1.2.29
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/index.css +164 -2
- package/dist/index.d.ts +25 -1
- package/dist/index.js +179 -1
- package/dist/index.js.map +1 -1
- package/dist/sesion-Y4GRW2FA.png +0 -0
- package/package.json +1 -1
package/dist/index.css
CHANGED
|
@@ -136,8 +136,8 @@
|
|
|
136
136
|
--uiklu-orange-300: 36 95% 66%;
|
|
137
137
|
--uiklu-accent: 45 100% 50%;
|
|
138
138
|
--uiklu-accent-foreground: 0 0% 0%;
|
|
139
|
-
--uiklu-muted:
|
|
140
|
-
--uiklu-muted-foreground:
|
|
139
|
+
--uiklu-muted: 240 5% 96%;
|
|
140
|
+
--uiklu-muted-foreground: 240 4% 46%;
|
|
141
141
|
--uiklu-destructive: 0 72% 51%;
|
|
142
142
|
--uiklu-destructive-foreground: 0 0% 100%;
|
|
143
143
|
--uiklu-border: 214.3 31.8% 91.4%;
|
|
@@ -518,6 +518,14 @@ button,
|
|
|
518
518
|
.uiklu-hidden{
|
|
519
519
|
display: none;
|
|
520
520
|
|
|
521
|
+
}
|
|
522
|
+
.uiklu-aspect-square{
|
|
523
|
+
aspect-ratio: 1 / 1;
|
|
524
|
+
|
|
525
|
+
}
|
|
526
|
+
.uiklu-h-10{
|
|
527
|
+
height: 2.5rem;
|
|
528
|
+
|
|
521
529
|
}
|
|
522
530
|
.uiklu-h-12{
|
|
523
531
|
height: 3rem;
|
|
@@ -546,10 +554,18 @@ button,
|
|
|
546
554
|
.uiklu-h-6{
|
|
547
555
|
height: 1.5rem;
|
|
548
556
|
|
|
557
|
+
}
|
|
558
|
+
.uiklu-h-7{
|
|
559
|
+
height: 1.75rem;
|
|
560
|
+
|
|
549
561
|
}
|
|
550
562
|
.uiklu-h-8{
|
|
551
563
|
height: 2rem;
|
|
552
564
|
|
|
565
|
+
}
|
|
566
|
+
.uiklu-h-\[100\%\]{
|
|
567
|
+
height: 100%;
|
|
568
|
+
|
|
553
569
|
}
|
|
554
570
|
.uiklu-h-\[100px\]{
|
|
555
571
|
height: 100px;
|
|
@@ -586,6 +602,10 @@ button,
|
|
|
586
602
|
.uiklu-h-\[30px\]{
|
|
587
603
|
height: 30px;
|
|
588
604
|
|
|
605
|
+
}
|
|
606
|
+
.uiklu-h-\[32px\]{
|
|
607
|
+
height: 32px;
|
|
608
|
+
|
|
589
609
|
}
|
|
590
610
|
.uiklu-h-\[34px\]{
|
|
591
611
|
height: 34px;
|
|
@@ -626,6 +646,10 @@ button,
|
|
|
626
646
|
.uiklu-h-\[60px\]{
|
|
627
647
|
height: 60px;
|
|
628
648
|
|
|
649
|
+
}
|
|
650
|
+
.uiklu-h-\[62\%\]{
|
|
651
|
+
height: 62%;
|
|
652
|
+
|
|
629
653
|
}
|
|
630
654
|
.uiklu-h-\[6px\]{
|
|
631
655
|
height: 6px;
|
|
@@ -686,10 +710,22 @@ button,
|
|
|
686
710
|
.uiklu-min-h-\[500px\]{
|
|
687
711
|
min-height: 500px;
|
|
688
712
|
|
|
713
|
+
}
|
|
714
|
+
.uiklu-min-h-\[600px\]{
|
|
715
|
+
min-height: 600px;
|
|
716
|
+
|
|
689
717
|
}
|
|
690
718
|
.uiklu-min-h-screen{
|
|
691
719
|
min-height: 100vh;
|
|
692
720
|
|
|
721
|
+
}
|
|
722
|
+
.\!uiklu-w-\[218px\]{
|
|
723
|
+
width: 218px !important;
|
|
724
|
+
|
|
725
|
+
}
|
|
726
|
+
.uiklu-w-10{
|
|
727
|
+
width: 2.5rem;
|
|
728
|
+
|
|
693
729
|
}
|
|
694
730
|
.uiklu-w-12{
|
|
695
731
|
width: 3rem;
|
|
@@ -714,6 +750,10 @@ button,
|
|
|
714
750
|
.uiklu-w-6{
|
|
715
751
|
width: 1.5rem;
|
|
716
752
|
|
|
753
|
+
}
|
|
754
|
+
.uiklu-w-7{
|
|
755
|
+
width: 1.75rem;
|
|
756
|
+
|
|
717
757
|
}
|
|
718
758
|
.uiklu-w-8{
|
|
719
759
|
width: 2rem;
|
|
@@ -722,6 +762,14 @@ button,
|
|
|
722
762
|
.uiklu-w-9{
|
|
723
763
|
width: 2.25rem;
|
|
724
764
|
|
|
765
|
+
}
|
|
766
|
+
.uiklu-w-\[100\%\]{
|
|
767
|
+
width: 100%;
|
|
768
|
+
|
|
769
|
+
}
|
|
770
|
+
.uiklu-w-\[100px\]{
|
|
771
|
+
width: 100px;
|
|
772
|
+
|
|
725
773
|
}
|
|
726
774
|
.uiklu-w-\[140px\]{
|
|
727
775
|
width: 140px;
|
|
@@ -786,6 +834,10 @@ button,
|
|
|
786
834
|
.uiklu-w-\[317px\]{
|
|
787
835
|
width: 317px;
|
|
788
836
|
|
|
837
|
+
}
|
|
838
|
+
.uiklu-w-\[32px\]{
|
|
839
|
+
width: 32px;
|
|
840
|
+
|
|
789
841
|
}
|
|
790
842
|
.uiklu-w-\[350px\]{
|
|
791
843
|
width: 350px;
|
|
@@ -834,6 +886,10 @@ button,
|
|
|
834
886
|
.uiklu-w-\[600px\]{
|
|
835
887
|
width: 600px;
|
|
836
888
|
|
|
889
|
+
}
|
|
890
|
+
.uiklu-w-\[62\%\]{
|
|
891
|
+
width: 62%;
|
|
892
|
+
|
|
837
893
|
}
|
|
838
894
|
.uiklu-w-\[70px\]{
|
|
839
895
|
width: 70px;
|
|
@@ -846,6 +902,10 @@ button,
|
|
|
846
902
|
.uiklu-w-\[80px\]{
|
|
847
903
|
width: 80px;
|
|
848
904
|
|
|
905
|
+
}
|
|
906
|
+
.uiklu-w-\[calc\(100\%-32px\)\]{
|
|
907
|
+
width: calc(100% - 32px);
|
|
908
|
+
|
|
849
909
|
}
|
|
850
910
|
.uiklu-w-\[var\(--radix-select-trigger-width\)\]{
|
|
851
911
|
width: var(--radix-select-trigger-width);
|
|
@@ -919,6 +979,10 @@ button,
|
|
|
919
979
|
.uiklu-min-w-\[var\(--radix-select-trigger-width\)\]{
|
|
920
980
|
min-width: var(--radix-select-trigger-width);
|
|
921
981
|
|
|
982
|
+
}
|
|
983
|
+
.\!uiklu-max-w-\[586px\]{
|
|
984
|
+
max-width: 586px !important;
|
|
985
|
+
|
|
922
986
|
}
|
|
923
987
|
.uiklu-max-w-\[141px\]{
|
|
924
988
|
max-width: 141px;
|
|
@@ -991,6 +1055,10 @@ button,
|
|
|
991
1055
|
.uiklu-max-w-md{
|
|
992
1056
|
max-width: 28rem;
|
|
993
1057
|
|
|
1058
|
+
}
|
|
1059
|
+
.uiklu-max-w-xs{
|
|
1060
|
+
max-width: 20rem;
|
|
1061
|
+
|
|
994
1062
|
}
|
|
995
1063
|
.uiklu-flex-1{
|
|
996
1064
|
flex: 1 1 0%;
|
|
@@ -1007,6 +1075,10 @@ button,
|
|
|
1007
1075
|
.uiklu-flex-grow{
|
|
1008
1076
|
flex-grow: 1;
|
|
1009
1077
|
|
|
1078
|
+
}
|
|
1079
|
+
.uiklu-border-collapse{
|
|
1080
|
+
border-collapse: collapse;
|
|
1081
|
+
|
|
1010
1082
|
}
|
|
1011
1083
|
.uiklu--translate-x-1\/2{
|
|
1012
1084
|
--tw-translate-x: -50%;
|
|
@@ -1294,6 +1366,10 @@ button,
|
|
|
1294
1366
|
.uiklu-rounded-2xl{
|
|
1295
1367
|
border-radius: 1rem;
|
|
1296
1368
|
|
|
1369
|
+
}
|
|
1370
|
+
.uiklu-rounded-\[100px\]{
|
|
1371
|
+
border-radius: 100px;
|
|
1372
|
+
|
|
1297
1373
|
}
|
|
1298
1374
|
.uiklu-rounded-\[10px\]{
|
|
1299
1375
|
border-radius: 10px;
|
|
@@ -1386,6 +1462,10 @@ button,
|
|
|
1386
1462
|
.uiklu-border-t{
|
|
1387
1463
|
border-top-width: 1px;
|
|
1388
1464
|
|
|
1465
|
+
}
|
|
1466
|
+
.uiklu-border-t-\[1px\]{
|
|
1467
|
+
border-top-width: 1px;
|
|
1468
|
+
|
|
1389
1469
|
}
|
|
1390
1470
|
.uiklu-border-solid{
|
|
1391
1471
|
border-style: solid;
|
|
@@ -1525,6 +1605,16 @@ button,
|
|
|
1525
1605
|
--tw-bg-opacity: 1;
|
|
1526
1606
|
background-color: rgb(6 55 45 / var(--tw-bg-opacity, 1));
|
|
1527
1607
|
|
|
1608
|
+
}
|
|
1609
|
+
.uiklu-bg-\[\#0C3D34\]{
|
|
1610
|
+
--tw-bg-opacity: 1;
|
|
1611
|
+
background-color: rgb(12 61 52 / var(--tw-bg-opacity, 1));
|
|
1612
|
+
|
|
1613
|
+
}
|
|
1614
|
+
.uiklu-bg-\[\#3D8B7E\]{
|
|
1615
|
+
--tw-bg-opacity: 1;
|
|
1616
|
+
background-color: rgb(61 139 126 / var(--tw-bg-opacity, 1));
|
|
1617
|
+
|
|
1528
1618
|
}
|
|
1529
1619
|
.uiklu-bg-\[\#E5F3F3\]{
|
|
1530
1620
|
--tw-bg-opacity: 1;
|
|
@@ -1535,11 +1625,21 @@ button,
|
|
|
1535
1625
|
--tw-bg-opacity: 1;
|
|
1536
1626
|
background-color: rgb(234 144 51 / var(--tw-bg-opacity, 1));
|
|
1537
1627
|
|
|
1628
|
+
}
|
|
1629
|
+
.uiklu-bg-\[\#F4F6F6\]{
|
|
1630
|
+
--tw-bg-opacity: 1;
|
|
1631
|
+
background-color: rgb(244 246 246 / var(--tw-bg-opacity, 1));
|
|
1632
|
+
|
|
1538
1633
|
}
|
|
1539
1634
|
.uiklu-bg-\[\#FFF7ED\]{
|
|
1540
1635
|
--tw-bg-opacity: 1;
|
|
1541
1636
|
background-color: rgb(255 247 237 / var(--tw-bg-opacity, 1));
|
|
1542
1637
|
|
|
1638
|
+
}
|
|
1639
|
+
.uiklu-bg-\[\#f5f5f5\]{
|
|
1640
|
+
--tw-bg-opacity: 1;
|
|
1641
|
+
background-color: rgb(245 245 245 / var(--tw-bg-opacity, 1));
|
|
1642
|
+
|
|
1543
1643
|
}
|
|
1544
1644
|
.uiklu-bg-background{
|
|
1545
1645
|
--tw-bg-opacity: 1;
|
|
@@ -1567,6 +1667,10 @@ button,
|
|
|
1567
1667
|
.uiklu-bg-black\/40{
|
|
1568
1668
|
background-color: rgb(0 0 0 / 0.4);
|
|
1569
1669
|
|
|
1670
|
+
}
|
|
1671
|
+
.uiklu-bg-black\/50{
|
|
1672
|
+
background-color: rgb(0 0 0 / 0.5);
|
|
1673
|
+
|
|
1570
1674
|
}
|
|
1571
1675
|
.uiklu-bg-destructive{
|
|
1572
1676
|
--tw-bg-opacity: 1;
|
|
@@ -1612,6 +1716,11 @@ button,
|
|
|
1612
1716
|
--tw-bg-opacity: 1;
|
|
1613
1717
|
background-color: rgb(240 253 244 / var(--tw-bg-opacity, 1));
|
|
1614
1718
|
|
|
1719
|
+
}
|
|
1720
|
+
.uiklu-bg-muted{
|
|
1721
|
+
--tw-bg-opacity: 1;
|
|
1722
|
+
background-color: hsl(var(--uiklu-muted) / var(--tw-bg-opacity, 1));
|
|
1723
|
+
|
|
1615
1724
|
}
|
|
1616
1725
|
.uiklu-bg-orange500{
|
|
1617
1726
|
--tw-bg-opacity: 1;
|
|
@@ -1749,6 +1858,15 @@ button,
|
|
|
1749
1858
|
.uiklu-bg-origin-border{
|
|
1750
1859
|
background-origin: border-box;
|
|
1751
1860
|
|
|
1861
|
+
}
|
|
1862
|
+
.uiklu-fill-mutedForeground{
|
|
1863
|
+
fill: hsl(var(--uiklu-muted-foreground) / 1);
|
|
1864
|
+
|
|
1865
|
+
}
|
|
1866
|
+
.uiklu-object-contain{
|
|
1867
|
+
-o-object-fit: contain;
|
|
1868
|
+
object-fit: contain;
|
|
1869
|
+
|
|
1752
1870
|
}
|
|
1753
1871
|
.uiklu-object-cover{
|
|
1754
1872
|
-o-object-fit: cover;
|
|
@@ -1810,6 +1928,10 @@ button,
|
|
|
1810
1928
|
.uiklu-p-\[16px\]{
|
|
1811
1929
|
padding: 16px;
|
|
1812
1930
|
|
|
1931
|
+
}
|
|
1932
|
+
.uiklu-p-\[24px\]{
|
|
1933
|
+
padding: 24px;
|
|
1934
|
+
|
|
1813
1935
|
}
|
|
1814
1936
|
.uiklu-p-\[2px\]{
|
|
1815
1937
|
padding: 2px;
|
|
@@ -1918,6 +2040,11 @@ button,
|
|
|
1918
2040
|
padding-top: 0.75rem;
|
|
1919
2041
|
padding-bottom: 0.75rem;
|
|
1920
2042
|
|
|
2043
|
+
}
|
|
2044
|
+
.uiklu-py-3\.5{
|
|
2045
|
+
padding-top: 0.875rem;
|
|
2046
|
+
padding-bottom: 0.875rem;
|
|
2047
|
+
|
|
1921
2048
|
}
|
|
1922
2049
|
.uiklu-py-\[10px\]{
|
|
1923
2050
|
padding-top: 10px;
|
|
@@ -1996,6 +2123,10 @@ button,
|
|
|
1996
2123
|
.uiklu-pt-\[10px\]{
|
|
1997
2124
|
padding-top: 10px;
|
|
1998
2125
|
|
|
2126
|
+
}
|
|
2127
|
+
.uiklu-pt-\[16px\]{
|
|
2128
|
+
padding-top: 16px;
|
|
2129
|
+
|
|
1999
2130
|
}
|
|
2000
2131
|
.uiklu-pt-\[20px\]{
|
|
2001
2132
|
padding-top: 20px;
|
|
@@ -2024,6 +2155,10 @@ button,
|
|
|
2024
2155
|
.uiklu-font-sans{
|
|
2025
2156
|
font-family: 'Google Sans Flex', sans-serif;
|
|
2026
2157
|
|
|
2158
|
+
}
|
|
2159
|
+
.\!uiklu-text-\[16px\]{
|
|
2160
|
+
font-size: 16px !important;
|
|
2161
|
+
|
|
2027
2162
|
}
|
|
2028
2163
|
.uiklu-text-2xl{
|
|
2029
2164
|
font-size: 16px;
|
|
@@ -2156,6 +2291,10 @@ button,
|
|
|
2156
2291
|
.uiklu-uppercase{
|
|
2157
2292
|
text-transform: uppercase;
|
|
2158
2293
|
|
|
2294
|
+
}
|
|
2295
|
+
.\!uiklu-leading-tight{
|
|
2296
|
+
line-height: 1.25 !important;
|
|
2297
|
+
|
|
2159
2298
|
}
|
|
2160
2299
|
.uiklu-leading-none{
|
|
2161
2300
|
line-height: 1;
|
|
@@ -2176,6 +2315,10 @@ button,
|
|
|
2176
2315
|
.uiklu-leading-tight{
|
|
2177
2316
|
line-height: 1.25;
|
|
2178
2317
|
|
|
2318
|
+
}
|
|
2319
|
+
.\!uiklu-tracking-normal{
|
|
2320
|
+
letter-spacing: 0em !important;
|
|
2321
|
+
|
|
2179
2322
|
}
|
|
2180
2323
|
.uiklu-tracking-tight{
|
|
2181
2324
|
letter-spacing: -0.025em;
|
|
@@ -2197,6 +2340,11 @@ button,
|
|
|
2197
2340
|
--tw-text-opacity: 1 !important;
|
|
2198
2341
|
color: hsl(var(--uiklu-destructive) / var(--tw-text-opacity, 1)) !important;
|
|
2199
2342
|
|
|
2343
|
+
}
|
|
2344
|
+
.uiklu-text-\[\#1A3A34\]{
|
|
2345
|
+
--tw-text-opacity: 1;
|
|
2346
|
+
color: rgb(26 58 52 / var(--tw-text-opacity, 1));
|
|
2347
|
+
|
|
2200
2348
|
}
|
|
2201
2349
|
.uiklu-text-\[\#9A3412\]{
|
|
2202
2350
|
--tw-text-opacity: 1;
|
|
@@ -2715,6 +2863,12 @@ input.uiklu-flex:not(:placeholder-shown) {
|
|
|
2715
2863
|
|
|
2716
2864
|
}
|
|
2717
2865
|
|
|
2866
|
+
.hover\:uiklu-bg-muted:hover{
|
|
2867
|
+
--tw-bg-opacity: 1;
|
|
2868
|
+
background-color: hsl(var(--uiklu-muted) / var(--tw-bg-opacity, 1));
|
|
2869
|
+
|
|
2870
|
+
}
|
|
2871
|
+
|
|
2718
2872
|
.hover\:uiklu-bg-orange500\/90:hover{
|
|
2719
2873
|
background-color: hsl(var(--uiklu-orange-500) / 0.9);
|
|
2720
2874
|
|
|
@@ -2992,6 +3146,14 @@ input.uiklu-flex:not(:placeholder-shown) {
|
|
|
2992
3146
|
.md\:uiklu-min-h-\[262px\]{
|
|
2993
3147
|
min-height: 262px;
|
|
2994
3148
|
|
|
3149
|
+
}
|
|
3150
|
+
.md\:uiklu-min-h-\[310px\]{
|
|
3151
|
+
min-height: 310px;
|
|
3152
|
+
|
|
3153
|
+
}
|
|
3154
|
+
.md\:\!uiklu-w-\[586px\]{
|
|
3155
|
+
width: 586px !important;
|
|
3156
|
+
|
|
2995
3157
|
}
|
|
2996
3158
|
.md\:uiklu-max-w-\[400px\]{
|
|
2997
3159
|
max-width: 400px;
|
package/dist/index.d.ts
CHANGED
|
@@ -149,6 +149,7 @@ declare const Icons: {
|
|
|
149
149
|
TICKET: react_jsx_runtime.JSX.Element;
|
|
150
150
|
CASH: react_jsx_runtime.JSX.Element;
|
|
151
151
|
CHEVRON_RIGHT: react_jsx_runtime.JSX.Element;
|
|
152
|
+
CHEVRON_LEFT: react_jsx_runtime.JSX.Element;
|
|
152
153
|
CHEVRON_DOWN: react_jsx_runtime.JSX.Element;
|
|
153
154
|
SHIELD_CHECK: react_jsx_runtime.JSX.Element;
|
|
154
155
|
CLOSE: react_jsx_runtime.JSX.Element;
|
|
@@ -162,6 +163,7 @@ declare const Icons: {
|
|
|
162
163
|
ARROW_DOWN: react_jsx_runtime.JSX.Element;
|
|
163
164
|
KLU: react_jsx_runtime.JSX.Element;
|
|
164
165
|
KLUWHITE: react_jsx_runtime.JSX.Element;
|
|
166
|
+
KLUDARK: react_jsx_runtime.JSX.Element;
|
|
165
167
|
DESIGNEDFREEDOM: react_jsx_runtime.JSX.Element;
|
|
166
168
|
GRAPHIC_TOP: react_jsx_runtime.JSX.Element;
|
|
167
169
|
HOME: react_jsx_runtime.JSX.Element;
|
|
@@ -173,6 +175,7 @@ declare const Icons: {
|
|
|
173
175
|
BOXES: react_jsx_runtime.JSX.Element;
|
|
174
176
|
MENU: react_jsx_runtime.JSX.Element;
|
|
175
177
|
CIRCLE_MOVEMENTS: react_jsx_runtime.JSX.Element;
|
|
178
|
+
REFRESH: react_jsx_runtime.JSX.Element;
|
|
176
179
|
TELEPHONY: react_jsx_runtime.JSX.Element;
|
|
177
180
|
MOBILITY: react_jsx_runtime.JSX.Element;
|
|
178
181
|
HOMESERVICE: react_jsx_runtime.JSX.Element;
|
|
@@ -393,4 +396,25 @@ interface PlasticCardProps {
|
|
|
393
396
|
}
|
|
394
397
|
declare const PlasticCard: ({ isBlocked, last4, }: PlasticCardProps) => react_jsx_runtime.JSX.Element;
|
|
395
398
|
|
|
396
|
-
|
|
399
|
+
interface SecureModalProps {
|
|
400
|
+
open: boolean;
|
|
401
|
+
onOpenChange: (open: boolean) => void;
|
|
402
|
+
title?: string;
|
|
403
|
+
icon?: ReactNode;
|
|
404
|
+
message?: string;
|
|
405
|
+
mainActionButtonText?: string;
|
|
406
|
+
onMainAction: () => void;
|
|
407
|
+
}
|
|
408
|
+
declare const SecureModal: ({ open, onOpenChange, title, icon, message, mainActionButtonText, onMainAction, }: SecureModalProps) => react_jsx_runtime.JSX.Element;
|
|
409
|
+
|
|
410
|
+
type BankAvatarSize = 'sm' | 'md' | 'lg' | 'responsive';
|
|
411
|
+
interface BankAvatarProps {
|
|
412
|
+
bankName: string;
|
|
413
|
+
/**
|
|
414
|
+
* @default 'responsive'
|
|
415
|
+
*/
|
|
416
|
+
size?: BankAvatarSize;
|
|
417
|
+
}
|
|
418
|
+
declare const BankAvatar: React.FC<BankAvatarProps>;
|
|
419
|
+
|
|
420
|
+
export { BackButton, BalanceInfo, BankAvatar, type BankAvatarProps, Button, Checkbox, type CheckboxProps, CorporateCard, DetailCard, type DetailCardItem, type DetailCardProps, GridCard, IconBadge, type IconBadgeProps, Icons, Input, InputCode, type LadaOption, LoadingScreen, MobileMenuDrawer, Modal, PhoneField, type PhoneFieldProps, PlasticCard, PromoBanner, SearchSelect, SearchSelectField, type SearchSelectFieldProps, SecureModal, Select, SelectContent, SelectField, type SelectFieldProps, SelectGroup, SelectItem, SelectValue, SidebarTabs, StatusCard, type StatusCardProps, type StatusCardSummaryItem, Switch, TextField, type TextFieldProps, ToastAction, Toaster, Typography, useToast };
|
package/dist/index.js
CHANGED
|
@@ -82,6 +82,24 @@ var ChevronRightIcon = ({ className }) => /* @__PURE__ */ jsx(
|
|
|
82
82
|
)
|
|
83
83
|
}
|
|
84
84
|
);
|
|
85
|
+
var ChevronLeftIcon = ({ className }) => /* @__PURE__ */ jsx(
|
|
86
|
+
"svg",
|
|
87
|
+
{
|
|
88
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
89
|
+
width: "24",
|
|
90
|
+
height: "24",
|
|
91
|
+
viewBox: "0 0 24 24",
|
|
92
|
+
fill: "none",
|
|
93
|
+
className,
|
|
94
|
+
children: /* @__PURE__ */ jsx(
|
|
95
|
+
"path",
|
|
96
|
+
{
|
|
97
|
+
d: "M15.5307 18.9698C15.6004 19.0395 15.6557 19.1222 15.6934 19.2132C15.7311 19.3043 15.7505 19.4019 15.7505 19.5004C15.7505 19.599 15.7311 19.6965 15.6934 19.7876C15.6557 19.8786 15.6004 19.9614 15.5307 20.031C15.461 20.1007 15.3783 20.156 15.2873 20.1937C15.1962 20.2314 15.0986 20.2508 15.0001 20.2508C14.9016 20.2508 14.804 20.2314 14.7129 20.1937C14.6219 20.156 14.5392 20.1007 14.4695 20.031L6.96948 12.531C6.89974 12.4614 6.84443 12.3787 6.80668 12.2876C6.76894 12.1966 6.74951 12.099 6.74951 12.0004C6.74951 11.9019 6.76894 11.8043 6.80668 11.7132C6.84443 11.6222 6.89974 11.5394 6.96948 11.4698L14.4695 3.96979C14.6102 3.82906 14.8011 3.75 15.0001 3.75C15.1991 3.75 15.39 3.82906 15.5307 3.96979C15.6715 4.11052 15.7505 4.30139 15.7505 4.50042C15.7505 4.69944 15.6715 4.89031 15.5307 5.03104L8.56041 12.0004L15.5307 18.9698Z",
|
|
98
|
+
fill: "currentColor"
|
|
99
|
+
}
|
|
100
|
+
)
|
|
101
|
+
}
|
|
102
|
+
);
|
|
85
103
|
var ChevronDownIcon = ({ className }) => /* @__PURE__ */ jsx(
|
|
86
104
|
"svg",
|
|
87
105
|
{
|
|
@@ -148,6 +166,18 @@ var KluWhite = ({ className }) => /* @__PURE__ */ jsxs("svg", { xmlns: "http://w
|
|
|
148
166
|
/* @__PURE__ */ jsx("path", { d: "M10.1804 11.6049L6.01451 5.60153C7.70118 4.00699 9.19091 2.1234 10.1804 0H7.86794C6.52274 2.35369 4.51843 4.46915 2.2346 5.95093V0H0V13.2375H2.23619V8.35544C2.96358 7.94886 3.66398 7.49623 4.32943 7.00231L8.53816 13.2391H11.3127L10.1788 11.6065L10.1804 11.6049Z", fill: "white" }),
|
|
149
167
|
/* @__PURE__ */ jsx("path", { d: "M27.5089 13.2204C28.3325 13.2204 29.0002 12.5527 29.0002 11.7291C29.0002 10.9055 28.3325 10.2378 27.5089 10.2378C26.6853 10.2378 26.0176 10.9055 26.0176 11.7291C26.0176 12.5527 26.6853 13.2204 27.5089 13.2204Z", fill: "#FDA400" })
|
|
150
168
|
] });
|
|
169
|
+
var KluDark = ({ className }) => /* @__PURE__ */ jsxs("svg", { xmlns: "http://www.w3.org/2000/svg", width: "20", height: "10", viewBox: "0 0 20 10", fill: "none", className, children: [
|
|
170
|
+
/* @__PURE__ */ jsx("path", { d: "M15.4494 6.22902C15.4494 7.1874 14.7352 7.88838 13.8261 7.88838C12.9937 7.88838 12.2029 7.31335 12.2029 6.31335V2.43164H10.8064V6.46012C10.8064 7.47327 11.3716 8.35498 12.2029 8.80733C12.5797 9.01215 13.0003 9.12935 13.4713 9.12935C14.1405 9.12935 14.962 8.79309 15.4494 8.25969V9.12935H16.8459V2.43164H15.4494V6.22792V6.22902Z", fill: "#0B3C36" }),
|
|
171
|
+
/* @__PURE__ */ jsx("path", { d: "M8.21997 9.12925H9.61648V0H8.21997V9.12925Z", fill: "#0B3C36" }),
|
|
172
|
+
/* @__PURE__ */ jsx("path", { d: "M7.02089 8.00329L4.14791 3.86309C5.31112 2.76342 6.33851 1.4644 7.02089 0H5.42613C4.4984 1.62322 3.11613 3.08215 1.54109 4.10406V0H0V9.12925H1.54219V5.76233C2.04383 5.48193 2.52686 5.16978 2.98579 4.82914L5.88834 9.13035H7.80184L7.01979 8.00439L7.02089 8.00329Z", fill: "#0B3C36" }),
|
|
173
|
+
/* @__PURE__ */ jsx(
|
|
174
|
+
"path",
|
|
175
|
+
{
|
|
176
|
+
d: "M18.9716 9.1175C19.5396 9.1175 20.0001 8.65704 20.0001 8.08903C20.0001 7.52101 19.5396 7.06055 18.9716 7.06055C18.4036 7.06055 17.9431 7.52101 17.9431 8.08903C17.9431 8.65704 18.4036 9.1175 18.9716 9.1175Z",
|
|
177
|
+
fill: "#FDA400"
|
|
178
|
+
}
|
|
179
|
+
)
|
|
180
|
+
] });
|
|
151
181
|
var MasterCard = ({ className }) => /* @__PURE__ */ jsxs(
|
|
152
182
|
"svg",
|
|
153
183
|
{
|
|
@@ -306,6 +336,43 @@ var MovementsIconCircle = ({ className }) => /* @__PURE__ */ jsxs(
|
|
|
306
336
|
]
|
|
307
337
|
}
|
|
308
338
|
);
|
|
339
|
+
var Refresh = ({ className }) => /* @__PURE__ */ jsxs(
|
|
340
|
+
"svg",
|
|
341
|
+
{
|
|
342
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
343
|
+
width: "24",
|
|
344
|
+
height: "24",
|
|
345
|
+
viewBox: "0 0 24 24",
|
|
346
|
+
fill: "none",
|
|
347
|
+
className,
|
|
348
|
+
style: {
|
|
349
|
+
display: "flex",
|
|
350
|
+
width: "24px",
|
|
351
|
+
height: "24px",
|
|
352
|
+
justifyContent: "center",
|
|
353
|
+
alignItems: "center",
|
|
354
|
+
aspectRatio: "1/1"
|
|
355
|
+
},
|
|
356
|
+
children: [
|
|
357
|
+
/* @__PURE__ */ jsx(
|
|
358
|
+
"rect",
|
|
359
|
+
{
|
|
360
|
+
width: "24",
|
|
361
|
+
height: "24",
|
|
362
|
+
rx: "24",
|
|
363
|
+
fill: "var(--Paleta-Verde-Bosque-Oscuro-Key-Verde-Bosque-Oscuro-300, #49A6A4)"
|
|
364
|
+
}
|
|
365
|
+
),
|
|
366
|
+
/* @__PURE__ */ jsx("g", { transform: "translate(4.2, 4.2) scale(0.975)", children: /* @__PURE__ */ jsx(
|
|
367
|
+
"path",
|
|
368
|
+
{
|
|
369
|
+
d: "M5.5 6.49986H2.5C2.36739 6.49986 2.24021 6.44719 2.14645 6.35342C2.05268 6.25965 2 6.13247 2 5.99986V2.99986C2 2.86726 2.05268 2.74008 2.14645 2.64631C2.24021 2.55254 2.36739 2.49986 2.5 2.49986C2.63261 2.49986 2.75979 2.55254 2.85355 2.64631C2.94732 2.74008 3 2.86726 3 2.99986V4.79299L3.91438 3.87861C5.02951 2.75787 6.544 2.12573 8.125 2.12111H8.15812C9.72568 2.11708 11.2317 2.73076 12.35 3.82924C12.4413 3.92265 12.4924 4.04809 12.4924 4.17872C12.4925 4.30934 12.4413 4.43479 12.35 4.52821C12.2587 4.62163 12.1345 4.67562 12.0039 4.67861C11.8733 4.68161 11.7467 4.63338 11.6512 4.54424C10.7191 3.62929 9.46427 3.11805 8.15812 3.12111H8.13C6.81261 3.12517 5.55067 3.65184 4.62125 4.58549L3.70688 5.49986H5.5C5.63261 5.49986 5.75979 5.55254 5.85355 5.64631C5.94732 5.74008 6 5.86726 6 5.99986C6 6.13247 5.94732 6.25965 5.85355 6.35342C5.75979 6.44719 5.63261 6.49986 5.5 6.49986ZM13.5 9.49986H10.5C10.3674 9.49986 10.2402 9.55254 10.1464 9.64631C10.0527 9.74008 10 9.86726 10 9.99986C10 10.1325 10.0527 10.2597 10.1464 10.3534C10.2402 10.4472 10.3674 10.4999 10.5 10.4999H12.2931L11.3787 11.4142C10.4495 12.3477 9.1878 12.8744 7.87063 12.8786H7.8425C6.53636 12.8817 5.28151 12.3704 4.34937 11.4555C4.3028 11.4078 4.24718 11.37 4.18578 11.3441C4.12437 11.3183 4.05842 11.305 3.99179 11.305C3.92517 11.305 3.85922 11.3183 3.79781 11.3442C3.73641 11.37 3.68079 11.4079 3.63423 11.4555C3.58766 11.5032 3.55109 11.5597 3.52665 11.6216C3.50222 11.6836 3.49042 11.7499 3.49195 11.8165C3.49348 11.8831 3.5083 11.9487 3.53555 12.0095C3.5628 12.0703 3.60192 12.125 3.65062 12.1705C4.76892 13.269 6.27495 13.8827 7.8425 13.8786H7.875C9.45579 13.8738 10.97 13.2417 12.085 12.1211L13 11.2067V12.9999C13 13.1325 13.0527 13.2597 13.1464 13.3534C13.2402 13.4472 13.3674 13.4999 13.5 13.4999C13.6326 13.4999 13.7598 13.4472 13.8536 13.3534C13.9473 13.2597 14 13.1325 14 12.9999V9.99986C14 9.86726 13.9473 9.74008 13.8536 9.64631C13.7598 9.55254 13.6326 9.49986 13.5 9.49986Z",
|
|
370
|
+
fill: "white"
|
|
371
|
+
}
|
|
372
|
+
) })
|
|
373
|
+
]
|
|
374
|
+
}
|
|
375
|
+
);
|
|
309
376
|
var Telephony = ({ className }) => /* @__PURE__ */ jsx(
|
|
310
377
|
"svg",
|
|
311
378
|
{
|
|
@@ -1037,6 +1104,7 @@ var Icons = {
|
|
|
1037
1104
|
TICKET: /* @__PURE__ */ jsx(TicketIcon, {}),
|
|
1038
1105
|
CASH: /* @__PURE__ */ jsx(CashIcon, {}),
|
|
1039
1106
|
CHEVRON_RIGHT: /* @__PURE__ */ jsx(ChevronRightIcon, {}),
|
|
1107
|
+
CHEVRON_LEFT: /* @__PURE__ */ jsx(ChevronLeftIcon, {}),
|
|
1040
1108
|
CHEVRON_DOWN: /* @__PURE__ */ jsx(ChevronDownIcon, {}),
|
|
1041
1109
|
SHIELD_CHECK: /* @__PURE__ */ jsx(ShieldCheckIcon, {}),
|
|
1042
1110
|
CLOSE: /* @__PURE__ */ jsx(CloseIcon, {}),
|
|
@@ -1050,6 +1118,7 @@ var Icons = {
|
|
|
1050
1118
|
ARROW_DOWN: /* @__PURE__ */ jsx(ArrowDownIcon, {}),
|
|
1051
1119
|
KLU: /* @__PURE__ */ jsx(KluIcon, {}),
|
|
1052
1120
|
KLUWHITE: /* @__PURE__ */ jsx(KluWhite, {}),
|
|
1121
|
+
KLUDARK: /* @__PURE__ */ jsx(KluDark, {}),
|
|
1053
1122
|
DESIGNEDFREEDOM: /* @__PURE__ */ jsx(DesignedFreedom, {}),
|
|
1054
1123
|
GRAPHIC_TOP: /* @__PURE__ */ jsx(GraphicTop, {}),
|
|
1055
1124
|
HOME: /* @__PURE__ */ jsx(HomeIcon, {}),
|
|
@@ -1061,6 +1130,7 @@ var Icons = {
|
|
|
1061
1130
|
BOXES: /* @__PURE__ */ jsx(BoxesIcon, {}),
|
|
1062
1131
|
MENU: /* @__PURE__ */ jsx(IconMenu, {}),
|
|
1063
1132
|
CIRCLE_MOVEMENTS: /* @__PURE__ */ jsx(MovementsIconCircle, {}),
|
|
1133
|
+
REFRESH: /* @__PURE__ */ jsx(Refresh, {}),
|
|
1064
1134
|
TELEPHONY: /* @__PURE__ */ jsx(Telephony, {}),
|
|
1065
1135
|
MOBILITY: /* @__PURE__ */ jsx(Mobility, {}),
|
|
1066
1136
|
HOMESERVICE: /* @__PURE__ */ jsx(Home, {}),
|
|
@@ -1455,7 +1525,7 @@ var SelectItem = React4.forwardRef(({ className, children, ...props }, ref) => /
|
|
|
1455
1525
|
));
|
|
1456
1526
|
SelectItem.displayName = SelectPrimitive.Item.displayName;
|
|
1457
1527
|
|
|
1458
|
-
// src/components/ui/typography/typography.tsx
|
|
1528
|
+
// src/components/ui/stories/Foundations/typography/typography.tsx
|
|
1459
1529
|
import * as React5 from "react";
|
|
1460
1530
|
import { cva as cva3 } from "class-variance-authority";
|
|
1461
1531
|
import { Fragment, jsx as jsx6, jsxs as jsxs6 } from "react/jsx-runtime";
|
|
@@ -3934,9 +4004,116 @@ var StatusCard = ({
|
|
|
3934
4004
|
] })
|
|
3935
4005
|
] });
|
|
3936
4006
|
};
|
|
4007
|
+
|
|
4008
|
+
// src/assets/images/sesion.png
|
|
4009
|
+
var sesion_default = "./sesion-Y4GRW2FA.png";
|
|
4010
|
+
|
|
4011
|
+
// src/components/ui/secureModal/secureModal.tsx
|
|
4012
|
+
import { jsx as jsx33, jsxs as jsxs28 } from "react/jsx-runtime";
|
|
4013
|
+
var SecureModal = ({
|
|
4014
|
+
open,
|
|
4015
|
+
onOpenChange,
|
|
4016
|
+
title = "Sesi\xF3n expirada",
|
|
4017
|
+
icon = Icons.REFRESH,
|
|
4018
|
+
message = "Tu sesi\xF3n ha expirado por inactividad. Inicia sesi\xF3n nuevamente para continuar.",
|
|
4019
|
+
mainActionButtonText = "Iniciar sesi\xF3n",
|
|
4020
|
+
onMainAction
|
|
4021
|
+
}) => {
|
|
4022
|
+
return /* @__PURE__ */ jsxs28(Dialog, { open, onOpenChange, children: [
|
|
4023
|
+
/* @__PURE__ */ jsx33(DialogOverlay, { className: "uiklu-bg-black/50 uiklu-backdrop-blur-sm uiklu-fixed uiklu-inset-0 uiklu-z-50" }),
|
|
4024
|
+
/* @__PURE__ */ jsxs28(DialogContent, { className: "uiklu-fixed uiklu-top-[50%] uiklu-left-[50%] uiklu-translate-x-[-50%] \n uiklu-translate-y-[-50%] uiklu-z-50 uiklu-bg-white uiklu-rounded-[16px] uiklu-p-[24px] uiklu-shadow-lg \n uiklu-outline-none uiklu-box-border uiklu-font-sans \n uiklu-w-[calc(100%-32px)] !uiklu-max-w-[586px] md:!uiklu-w-[586px] \n uiklu-h-auto md:uiklu-min-h-[310px] \n uiklu-flex uiklu-flex-col uiklu-justify-between uiklu-gap-[20px]", children: [
|
|
4025
|
+
/* @__PURE__ */ jsxs28("div", { className: "uiklu-w-full", children: [
|
|
4026
|
+
/* @__PURE__ */ jsx33("div", { className: "uiklu-flex uiklu-items-center uiklu-justify-between uiklu-mb-[10px]", children: /* @__PURE__ */ jsxs28("div", { className: "uiklu-flex uiklu-items-center uiklu-gap-[10px]", children: [
|
|
4027
|
+
icon && /* @__PURE__ */ jsx33("div", { className: "uiklu-shrink-0 uiklu-w-7 uiklu-h-7 uiklu-flex uiklu-items-center \n uiklu-justify-center", children: icon }),
|
|
4028
|
+
/* @__PURE__ */ jsx33(DialogTitle, { className: "uiklu-text-primary900 !uiklu-text-[16px] uiklu-font-bold\n !uiklu-leading-tight !uiklu-tracking-normal ", children: title })
|
|
4029
|
+
] }) }),
|
|
4030
|
+
/* @__PURE__ */ jsx33("div", { className: "uiklu-border-t-[1px] uiklu-border-gray300 uiklu-pt-[16px]", children: /* @__PURE__ */ jsx33("p", { className: "uiklu-text-gray700 uiklu-text-[14px] uiklu-leading-relaxed uiklu-m-0", children: message }) })
|
|
4031
|
+
] }),
|
|
4032
|
+
/* @__PURE__ */ jsx33("div", { className: "uiklu-w-full uiklu-flex uiklu-justify-center uiklu-items-center", children: /* @__PURE__ */ jsx33(
|
|
4033
|
+
"img",
|
|
4034
|
+
{
|
|
4035
|
+
src: sesion_default,
|
|
4036
|
+
alt: "Sesi\xF3n Expirada",
|
|
4037
|
+
className: "uiklu-w-[100px] uiklu-h-[100px] uiklu-object-contain"
|
|
4038
|
+
}
|
|
4039
|
+
) }),
|
|
4040
|
+
/* @__PURE__ */ jsx33("div", { className: "uiklu-w-full uiklu-flex uiklu-justify-center", children: /* @__PURE__ */ jsx33(
|
|
4041
|
+
Button,
|
|
4042
|
+
{
|
|
4043
|
+
onClick: onMainAction,
|
|
4044
|
+
variant: "primary",
|
|
4045
|
+
className: "uiklu-bg-[#0C3D34] uiklu-text-white uiklu-text-[16px] uiklu-font-medium \n uiklu-rounded-[100px] !uiklu-w-[218px] uiklu-py-3.5 uiklu-hover:opacity-90",
|
|
4046
|
+
children: mainActionButtonText
|
|
4047
|
+
}
|
|
4048
|
+
) })
|
|
4049
|
+
] })
|
|
4050
|
+
] });
|
|
4051
|
+
};
|
|
4052
|
+
|
|
4053
|
+
// src/components/ui/bankAvatar/bankAvatar.tsx
|
|
4054
|
+
import * as React20 from "react";
|
|
4055
|
+
import { jsx as jsx34 } from "react/jsx-runtime";
|
|
4056
|
+
var sizeMap2 = {
|
|
4057
|
+
sm: {
|
|
4058
|
+
container: "uiklu-w-[24px] uiklu-h-[24px]",
|
|
4059
|
+
logoClass: "uiklu-w-[14px] uiklu-h-[14px]"
|
|
4060
|
+
},
|
|
4061
|
+
md: {
|
|
4062
|
+
container: "uiklu-w-[32px] uiklu-h-[32px]",
|
|
4063
|
+
logoClass: "uiklu-w-[20px] uiklu-h-[20px]"
|
|
4064
|
+
},
|
|
4065
|
+
lg: {
|
|
4066
|
+
container: "uiklu-w-[40px] uiklu-h-[40px]",
|
|
4067
|
+
logoClass: "uiklu-w-[26px] uiklu-h-[26px]"
|
|
4068
|
+
},
|
|
4069
|
+
responsive: {
|
|
4070
|
+
container: "uiklu-w-full uiklu-h-full uiklu-aspect-square",
|
|
4071
|
+
logoClass: "uiklu-w-[62%] uiklu-h-[62%]"
|
|
4072
|
+
}
|
|
4073
|
+
};
|
|
4074
|
+
var BankAvatar = ({
|
|
4075
|
+
bankName,
|
|
4076
|
+
size = "responsive"
|
|
4077
|
+
}) => {
|
|
4078
|
+
const currentSize = sizeMap2[size];
|
|
4079
|
+
const cleanName = bankName.trim().toUpperCase();
|
|
4080
|
+
const isKlu = cleanName === "KLU";
|
|
4081
|
+
const getInitials = (name) => {
|
|
4082
|
+
if (!name) return "";
|
|
4083
|
+
return name.replace(/\s+/g, "").substring(0, 2).toUpperCase();
|
|
4084
|
+
};
|
|
4085
|
+
return /* @__PURE__ */ jsx34("div", { className: `uiklu-flex uiklu-items-center uiklu-justify-center uiklu-rounded-full
|
|
4086
|
+
uiklu-bg-appearance-muted uiklu-bg-muted uiklu-leading-none
|
|
4087
|
+
uiklu-select-none uiklu-overflow-hidden ${currentSize.container}`, children: isKlu ? React20.cloneElement(Icons.KLUDARK, {
|
|
4088
|
+
className: `uiklu-block uiklu-object-contain ${Icons.KLU.props.className || ""} ${currentSize.logoClass}`.trim()
|
|
4089
|
+
}) : /* @__PURE__ */ jsx34(
|
|
4090
|
+
"svg",
|
|
4091
|
+
{
|
|
4092
|
+
viewBox: "0 0 100 100",
|
|
4093
|
+
className: "uiklu-w-[100%] uiklu-h-[100%] uiklu-block",
|
|
4094
|
+
children: /* @__PURE__ */ jsx34(
|
|
4095
|
+
"text",
|
|
4096
|
+
{
|
|
4097
|
+
x: "50%",
|
|
4098
|
+
y: "52%",
|
|
4099
|
+
dominantBaseline: "middle",
|
|
4100
|
+
textAnchor: "middle",
|
|
4101
|
+
fontSize: "45",
|
|
4102
|
+
fontWeight: "400",
|
|
4103
|
+
fontFamily: "ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif",
|
|
4104
|
+
className: "uiklu-fill-mutedForeground",
|
|
4105
|
+
fill: "currentColor",
|
|
4106
|
+
style: { color: "var(--muted-foreground, #71717A)" },
|
|
4107
|
+
children: getInitials(bankName)
|
|
4108
|
+
}
|
|
4109
|
+
)
|
|
4110
|
+
}
|
|
4111
|
+
) });
|
|
4112
|
+
};
|
|
3937
4113
|
export {
|
|
3938
4114
|
BackButton,
|
|
3939
4115
|
BalanceInfo,
|
|
4116
|
+
BankAvatar,
|
|
3940
4117
|
Button,
|
|
3941
4118
|
Checkbox,
|
|
3942
4119
|
CorporateCard,
|
|
@@ -3954,6 +4131,7 @@ export {
|
|
|
3954
4131
|
PromoBanner,
|
|
3955
4132
|
SearchSelect,
|
|
3956
4133
|
SearchSelectField,
|
|
4134
|
+
SecureModal,
|
|
3957
4135
|
Select,
|
|
3958
4136
|
SelectContent2 as SelectContent,
|
|
3959
4137
|
SelectField,
|