@klu_dev/ui-klu-green 1.2.19 → 1.2.21
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 +10 -8
- package/dist/index.css +221 -77
- package/dist/index.d.ts +27 -1
- package/dist/index.js +211 -1
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -12,10 +12,13 @@ npm install @klu_dev/ui-klu-green
|
|
|
12
12
|
|
|
13
13
|
## Componentes disponibles
|
|
14
14
|
- Input
|
|
15
|
-
- TextField
|
|
15
|
+
- TextField (Componente similar a Input pero cuadrado)
|
|
16
16
|
- Button
|
|
17
17
|
- BackButton
|
|
18
18
|
- Select
|
|
19
|
+
- SelectField (Componente similar a Select pero cuadrado)
|
|
20
|
+
- SearchSelect
|
|
21
|
+
- SearchSelectField (Componente similar a SearchSelect pero cuadrado)
|
|
19
22
|
- Typography
|
|
20
23
|
- Modal
|
|
21
24
|
- BalanceInfo
|
|
@@ -24,11 +27,10 @@ npm install @klu_dev/ui-klu-green
|
|
|
24
27
|
- PromoBanner
|
|
25
28
|
- SidebarTabs
|
|
26
29
|
- MobileMenuDrawer
|
|
27
|
-
- SearchSelect
|
|
28
30
|
- InputCode
|
|
29
31
|
- GridCard
|
|
30
32
|
- CheckBox
|
|
31
|
-
-
|
|
33
|
+
- PhoneField
|
|
32
34
|
- IconBadge
|
|
33
35
|
|
|
34
36
|
## Antes de comenzar a agregar componentes
|
|
@@ -902,12 +904,12 @@ export default function CheckboxExample() {
|
|
|
902
904
|
|
|
903
905
|
|
|
904
906
|
|
|
905
|
-
## Uso de
|
|
906
|
-
El componente
|
|
907
|
+
## Uso de PhoneField
|
|
908
|
+
El componente PhoneField es un campo de entrada de texto optimizado para la captura de números telefónicos. Permite la selección dinámica de prefijos internacionales (LADAS/códigos de país) mediante un menú desplegable integrado y ofrece soporte nativo para la validación y visualización de estados de error, variantes de tamaño y un comportamiento adaptables (full width).
|
|
907
909
|
|
|
908
910
|
```tsx
|
|
909
911
|
import React, { useState } from 'react';
|
|
910
|
-
import {
|
|
912
|
+
import { PhoneField } from './inputPhoneField';
|
|
911
913
|
|
|
912
914
|
const RegistrationForm = () => {
|
|
913
915
|
const [phoneNumber, setPhoneNumber] = useState('');
|
|
@@ -937,7 +939,7 @@ const RegistrationForm = () => {
|
|
|
937
939
|
return (
|
|
938
940
|
<div style={{ maxWidth: '400px', padding: '20px' }}>
|
|
939
941
|
<label htmlFor="phone">Número de Teléfono</label>
|
|
940
|
-
<
|
|
942
|
+
<PhoneField
|
|
941
943
|
id="phone"
|
|
942
944
|
size="full"
|
|
943
945
|
placeholder="55 0000 0000"
|
|
@@ -954,7 +956,7 @@ const RegistrationForm = () => {
|
|
|
954
956
|
export default RegistrationForm;
|
|
955
957
|
```
|
|
956
958
|
|
|
957
|
-
### Props de
|
|
959
|
+
### Props de PhoneField
|
|
958
960
|
|
|
959
961
|
| Prop | Tipo | Por Defecto | Descripción |
|
|
960
962
|
| :--- | :--- | :--- | :--- |
|
package/dist/index.css
CHANGED
|
@@ -230,6 +230,10 @@ button,
|
|
|
230
230
|
.uiklu-left-0{
|
|
231
231
|
left: 0px;
|
|
232
232
|
|
|
233
|
+
}
|
|
234
|
+
.uiklu-left-1\/2{
|
|
235
|
+
left: 50%;
|
|
236
|
+
|
|
233
237
|
}
|
|
234
238
|
.uiklu-left-2{
|
|
235
239
|
left: 0.5rem;
|
|
@@ -278,14 +282,14 @@ button,
|
|
|
278
282
|
.uiklu-top-8{
|
|
279
283
|
top: 2rem;
|
|
280
284
|
|
|
281
|
-
}
|
|
282
|
-
.uiklu-top-\[2px\]{
|
|
283
|
-
top: 2px;
|
|
284
|
-
|
|
285
285
|
}
|
|
286
286
|
.uiklu-top-\[50\%\]{
|
|
287
287
|
top: 50%;
|
|
288
288
|
|
|
289
|
+
}
|
|
290
|
+
.uiklu-top-full{
|
|
291
|
+
top: 100%;
|
|
292
|
+
|
|
289
293
|
}
|
|
290
294
|
.uiklu-z-0{
|
|
291
295
|
z-index: 0;
|
|
@@ -306,6 +310,10 @@ button,
|
|
|
306
310
|
.uiklu-z-\[200\]{
|
|
307
311
|
z-index: 200;
|
|
308
312
|
|
|
313
|
+
}
|
|
314
|
+
.uiklu-z-\[9999\]{
|
|
315
|
+
z-index: 9999;
|
|
316
|
+
|
|
309
317
|
}
|
|
310
318
|
.uiklu-m-0{
|
|
311
319
|
margin: 0px;
|
|
@@ -366,6 +374,10 @@ button,
|
|
|
366
374
|
.uiklu-mb-\[12px\]{
|
|
367
375
|
margin-bottom: 12px;
|
|
368
376
|
|
|
377
|
+
}
|
|
378
|
+
.uiklu-mb-\[16px\]{
|
|
379
|
+
margin-bottom: 16px;
|
|
380
|
+
|
|
369
381
|
}
|
|
370
382
|
.uiklu-mb-\[18px\]{
|
|
371
383
|
margin-bottom: 18px;
|
|
@@ -374,6 +386,10 @@ button,
|
|
|
374
386
|
.uiklu-mb-\[20px\]{
|
|
375
387
|
margin-bottom: 20px;
|
|
376
388
|
|
|
389
|
+
}
|
|
390
|
+
.uiklu-mb-\[24px\]{
|
|
391
|
+
margin-bottom: 24px;
|
|
392
|
+
|
|
377
393
|
}
|
|
378
394
|
.uiklu-mb-\[5px\]{
|
|
379
395
|
margin-bottom: 5px;
|
|
@@ -403,8 +419,8 @@ button,
|
|
|
403
419
|
margin-left: 1.25rem;
|
|
404
420
|
|
|
405
421
|
}
|
|
406
|
-
.uiklu-ml-\[
|
|
407
|
-
margin-left:
|
|
422
|
+
.uiklu-ml-\[10px\]{
|
|
423
|
+
margin-left: 10px;
|
|
408
424
|
|
|
409
425
|
}
|
|
410
426
|
.uiklu-ml-\[1px\]{
|
|
@@ -446,10 +462,6 @@ button,
|
|
|
446
462
|
.uiklu-mt-3{
|
|
447
463
|
margin-top: 0.75rem;
|
|
448
464
|
|
|
449
|
-
}
|
|
450
|
-
.uiklu-mt-4{
|
|
451
|
-
margin-top: 1rem;
|
|
452
|
-
|
|
453
465
|
}
|
|
454
466
|
.uiklu-mt-6{
|
|
455
467
|
margin-top: 1.5rem;
|
|
@@ -458,6 +470,22 @@ button,
|
|
|
458
470
|
.uiklu-mt-8{
|
|
459
471
|
margin-top: 2rem;
|
|
460
472
|
|
|
473
|
+
}
|
|
474
|
+
.uiklu-mt-\[10px\]{
|
|
475
|
+
margin-top: 10px;
|
|
476
|
+
|
|
477
|
+
}
|
|
478
|
+
.uiklu-mt-\[20px\]{
|
|
479
|
+
margin-top: 20px;
|
|
480
|
+
|
|
481
|
+
}
|
|
482
|
+
.uiklu-mt-\[8px\]{
|
|
483
|
+
margin-top: 8px;
|
|
484
|
+
|
|
485
|
+
}
|
|
486
|
+
.uiklu-mt-auto{
|
|
487
|
+
margin-top: auto;
|
|
488
|
+
|
|
461
489
|
}
|
|
462
490
|
.uiklu-box-border{
|
|
463
491
|
box-sizing: border-box;
|
|
@@ -482,6 +510,10 @@ button,
|
|
|
482
510
|
.uiklu-grid{
|
|
483
511
|
display: grid;
|
|
484
512
|
|
|
513
|
+
}
|
|
514
|
+
.uiklu-hidden{
|
|
515
|
+
display: none;
|
|
516
|
+
|
|
485
517
|
}
|
|
486
518
|
.uiklu-h-12{
|
|
487
519
|
height: 3rem;
|
|
@@ -490,18 +522,10 @@ button,
|
|
|
490
522
|
.uiklu-h-2{
|
|
491
523
|
height: 0.5rem;
|
|
492
524
|
|
|
493
|
-
}
|
|
494
|
-
.uiklu-h-3{
|
|
495
|
-
height: 0.75rem;
|
|
496
|
-
|
|
497
525
|
}
|
|
498
526
|
.uiklu-h-3\.5{
|
|
499
527
|
height: 0.875rem;
|
|
500
528
|
|
|
501
|
-
}
|
|
502
|
-
.uiklu-h-36{
|
|
503
|
-
height: 9rem;
|
|
504
|
-
|
|
505
529
|
}
|
|
506
530
|
.uiklu-h-4{
|
|
507
531
|
height: 1rem;
|
|
@@ -518,10 +542,6 @@ button,
|
|
|
518
542
|
.uiklu-h-6{
|
|
519
543
|
height: 1.5rem;
|
|
520
544
|
|
|
521
|
-
}
|
|
522
|
-
.uiklu-h-7{
|
|
523
|
-
height: 1.75rem;
|
|
524
|
-
|
|
525
545
|
}
|
|
526
546
|
.uiklu-h-8{
|
|
527
547
|
height: 2rem;
|
|
@@ -534,6 +554,10 @@ button,
|
|
|
534
554
|
.uiklu-h-\[14px\]{
|
|
535
555
|
height: 14px;
|
|
536
556
|
|
|
557
|
+
}
|
|
558
|
+
.uiklu-h-\[150px\]{
|
|
559
|
+
height: 150px;
|
|
560
|
+
|
|
537
561
|
}
|
|
538
562
|
.uiklu-h-\[1px\]{
|
|
539
563
|
height: 1px;
|
|
@@ -642,6 +666,10 @@ button,
|
|
|
642
666
|
.uiklu-max-h-screen{
|
|
643
667
|
max-height: 100vh;
|
|
644
668
|
|
|
669
|
+
}
|
|
670
|
+
.uiklu-min-h-\[114px\]{
|
|
671
|
+
min-height: 114px;
|
|
672
|
+
|
|
645
673
|
}
|
|
646
674
|
.uiklu-min-h-\[20px\]{
|
|
647
675
|
min-height: 20px;
|
|
@@ -678,18 +706,10 @@ button,
|
|
|
678
706
|
.uiklu-w-5{
|
|
679
707
|
width: 1.25rem;
|
|
680
708
|
|
|
681
|
-
}
|
|
682
|
-
.uiklu-w-56{
|
|
683
|
-
width: 14rem;
|
|
684
|
-
|
|
685
709
|
}
|
|
686
710
|
.uiklu-w-6{
|
|
687
711
|
width: 1.5rem;
|
|
688
712
|
|
|
689
|
-
}
|
|
690
|
-
.uiklu-w-7{
|
|
691
|
-
width: 1.75rem;
|
|
692
|
-
|
|
693
713
|
}
|
|
694
714
|
.uiklu-w-8{
|
|
695
715
|
width: 2rem;
|
|
@@ -714,10 +734,18 @@ button,
|
|
|
714
734
|
.uiklu-w-\[150px\]{
|
|
715
735
|
width: 150px;
|
|
716
736
|
|
|
737
|
+
}
|
|
738
|
+
.uiklu-w-\[160px\]{
|
|
739
|
+
width: 160px;
|
|
740
|
+
|
|
717
741
|
}
|
|
718
742
|
.uiklu-w-\[162px\]{
|
|
719
743
|
width: 162px;
|
|
720
744
|
|
|
745
|
+
}
|
|
746
|
+
.uiklu-w-\[186px\]{
|
|
747
|
+
width: 186px;
|
|
748
|
+
|
|
721
749
|
}
|
|
722
750
|
.uiklu-w-\[1px\]{
|
|
723
751
|
width: 1px;
|
|
@@ -742,6 +770,10 @@ button,
|
|
|
742
770
|
.uiklu-w-\[26px\]{
|
|
743
771
|
width: 26px;
|
|
744
772
|
|
|
773
|
+
}
|
|
774
|
+
.uiklu-w-\[29px\]{
|
|
775
|
+
width: 29px;
|
|
776
|
+
|
|
745
777
|
}
|
|
746
778
|
.uiklu-w-\[30px\]{
|
|
747
779
|
width: 30px;
|
|
@@ -843,6 +875,10 @@ button,
|
|
|
843
875
|
.uiklu-min-w-\[150px\]{
|
|
844
876
|
min-width: 150px;
|
|
845
877
|
|
|
878
|
+
}
|
|
879
|
+
.uiklu-min-w-\[186px\]{
|
|
880
|
+
min-width: 186px;
|
|
881
|
+
|
|
846
882
|
}
|
|
847
883
|
.uiklu-min-w-\[187px\]{
|
|
848
884
|
min-width: 187px;
|
|
@@ -923,6 +959,14 @@ button,
|
|
|
923
959
|
.uiklu-max-w-\[500px\]{
|
|
924
960
|
max-width: 500px;
|
|
925
961
|
|
|
962
|
+
}
|
|
963
|
+
.uiklu-max-w-\[516px\]{
|
|
964
|
+
max-width: 516px;
|
|
965
|
+
|
|
966
|
+
}
|
|
967
|
+
.uiklu-max-w-\[569px\]{
|
|
968
|
+
max-width: 569px;
|
|
969
|
+
|
|
926
970
|
}
|
|
927
971
|
.uiklu-max-w-\[600px\]{
|
|
928
972
|
max-width: 600px;
|
|
@@ -943,10 +987,6 @@ button,
|
|
|
943
987
|
.uiklu-max-w-md{
|
|
944
988
|
max-width: 28rem;
|
|
945
989
|
|
|
946
|
-
}
|
|
947
|
-
.uiklu-max-w-xl{
|
|
948
|
-
max-width: 36rem;
|
|
949
|
-
|
|
950
990
|
}
|
|
951
991
|
.uiklu-flex-1{
|
|
952
992
|
flex: 1 1 0%;
|
|
@@ -959,6 +999,15 @@ button,
|
|
|
959
999
|
.uiklu-shrink-0{
|
|
960
1000
|
flex-shrink: 0;
|
|
961
1001
|
|
|
1002
|
+
}
|
|
1003
|
+
.uiklu-flex-grow{
|
|
1004
|
+
flex-grow: 1;
|
|
1005
|
+
|
|
1006
|
+
}
|
|
1007
|
+
.uiklu--translate-x-1\/2{
|
|
1008
|
+
--tw-translate-x: -50%;
|
|
1009
|
+
transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
|
|
1010
|
+
|
|
962
1011
|
}
|
|
963
1012
|
.uiklu--translate-y-1\/2{
|
|
964
1013
|
--tw-translate-y: -50%;
|
|
@@ -1095,10 +1144,6 @@ button,
|
|
|
1095
1144
|
.uiklu-gap-4{
|
|
1096
1145
|
gap: 1rem;
|
|
1097
1146
|
|
|
1098
|
-
}
|
|
1099
|
-
.uiklu-gap-5{
|
|
1100
|
-
gap: 1.25rem;
|
|
1101
|
-
|
|
1102
1147
|
}
|
|
1103
1148
|
.uiklu-gap-6{
|
|
1104
1149
|
gap: 1.5rem;
|
|
@@ -1115,6 +1160,10 @@ button,
|
|
|
1115
1160
|
.uiklu-gap-\[14px\]{
|
|
1116
1161
|
gap: 14px;
|
|
1117
1162
|
|
|
1163
|
+
}
|
|
1164
|
+
.uiklu-gap-\[16px\]{
|
|
1165
|
+
gap: 16px;
|
|
1166
|
+
|
|
1118
1167
|
}
|
|
1119
1168
|
.uiklu-gap-\[20px\]{
|
|
1120
1169
|
gap: 20px;
|
|
@@ -1154,6 +1203,12 @@ button,
|
|
|
1154
1203
|
margin-top: calc(0.75rem * calc(1 - var(--tw-space-y-reverse)));
|
|
1155
1204
|
margin-bottom: calc(0.75rem * var(--tw-space-y-reverse));
|
|
1156
1205
|
|
|
1206
|
+
}
|
|
1207
|
+
.uiklu-space-y-3\.5 > :not([hidden]) ~ :not([hidden]){
|
|
1208
|
+
--tw-space-y-reverse: 0;
|
|
1209
|
+
margin-top: calc(0.875rem * calc(1 - var(--tw-space-y-reverse)));
|
|
1210
|
+
margin-bottom: calc(0.875rem * var(--tw-space-y-reverse));
|
|
1211
|
+
|
|
1157
1212
|
}
|
|
1158
1213
|
.uiklu-space-y-4 > :not([hidden]) ~ :not([hidden]){
|
|
1159
1214
|
--tw-space-y-reverse: 0;
|
|
@@ -1219,6 +1274,10 @@ button,
|
|
|
1219
1274
|
.uiklu-break-words{
|
|
1220
1275
|
overflow-wrap: break-word;
|
|
1221
1276
|
|
|
1277
|
+
}
|
|
1278
|
+
.uiklu-break-all{
|
|
1279
|
+
word-break: break-all;
|
|
1280
|
+
|
|
1222
1281
|
}
|
|
1223
1282
|
.uiklu-rounded{
|
|
1224
1283
|
border-radius: 0.25rem;
|
|
@@ -1283,10 +1342,6 @@ button,
|
|
|
1283
1342
|
.uiklu-rounded-none{
|
|
1284
1343
|
border-radius: 0px;
|
|
1285
1344
|
|
|
1286
|
-
}
|
|
1287
|
-
.uiklu-rounded-sm{
|
|
1288
|
-
border-radius: 0.125rem;
|
|
1289
|
-
|
|
1290
1345
|
}
|
|
1291
1346
|
.uiklu-rounded-xl{
|
|
1292
1347
|
border-radius: 0.75rem;
|
|
@@ -1399,11 +1454,6 @@ button,
|
|
|
1399
1454
|
--tw-border-opacity: 1;
|
|
1400
1455
|
border-color: hsl(var(--uiklu-outlinesecondary) / var(--tw-border-opacity, 1));
|
|
1401
1456
|
|
|
1402
|
-
}
|
|
1403
|
-
.uiklu-border-primary{
|
|
1404
|
-
--tw-border-opacity: 1;
|
|
1405
|
-
border-color: hsl(var(--uiklu-primary) / var(--tw-border-opacity, 1));
|
|
1406
|
-
|
|
1407
1457
|
}
|
|
1408
1458
|
.uiklu-border-primary100{
|
|
1409
1459
|
--tw-border-opacity: 1;
|
|
@@ -1447,6 +1497,11 @@ button,
|
|
|
1447
1497
|
--tw-border-opacity: 1;
|
|
1448
1498
|
border-right-color: hsl(var(--uiklu-gray-900) / var(--tw-border-opacity, 1));
|
|
1449
1499
|
|
|
1500
|
+
}
|
|
1501
|
+
.uiklu-border-t-gray900{
|
|
1502
|
+
--tw-border-opacity: 1;
|
|
1503
|
+
border-top-color: hsl(var(--uiklu-gray-900) / var(--tw-border-opacity, 1));
|
|
1504
|
+
|
|
1450
1505
|
}
|
|
1451
1506
|
.uiklu-bg-\[\#002B2B\]{
|
|
1452
1507
|
--tw-bg-opacity: 1;
|
|
@@ -1487,6 +1542,10 @@ button,
|
|
|
1487
1542
|
--tw-bg-opacity: 1;
|
|
1488
1543
|
background-color: hsl(var(--uiklu-basewhite) / var(--tw-bg-opacity, 1));
|
|
1489
1544
|
|
|
1545
|
+
}
|
|
1546
|
+
.uiklu-bg-basewhite\/40{
|
|
1547
|
+
background-color: hsl(var(--uiklu-basewhite) / 0.4);
|
|
1548
|
+
|
|
1490
1549
|
}
|
|
1491
1550
|
.uiklu-bg-black{
|
|
1492
1551
|
--tw-bg-opacity: 1;
|
|
@@ -1505,10 +1564,6 @@ button,
|
|
|
1505
1564
|
--tw-bg-opacity: 1;
|
|
1506
1565
|
background-color: hsl(var(--uiklu-destructive) / var(--tw-bg-opacity, 1));
|
|
1507
1566
|
|
|
1508
|
-
}
|
|
1509
|
-
.uiklu-bg-destructive\/60{
|
|
1510
|
-
background-color: hsl(var(--uiklu-destructive) / 0.6);
|
|
1511
|
-
|
|
1512
1567
|
}
|
|
1513
1568
|
.uiklu-bg-errorbg{
|
|
1514
1569
|
--tw-bg-opacity: 1;
|
|
@@ -1524,6 +1579,11 @@ button,
|
|
|
1524
1579
|
--tw-bg-opacity: 1;
|
|
1525
1580
|
background-color: rgb(249 250 251 / var(--tw-bg-opacity, 1));
|
|
1526
1581
|
|
|
1582
|
+
}
|
|
1583
|
+
.uiklu-bg-gray300{
|
|
1584
|
+
--tw-bg-opacity: 1;
|
|
1585
|
+
background-color: hsl(var(--uiklu-gray-300) / var(--tw-bg-opacity, 1));
|
|
1586
|
+
|
|
1527
1587
|
}
|
|
1528
1588
|
.uiklu-bg-gray50{
|
|
1529
1589
|
--tw-bg-opacity: 1;
|
|
@@ -1544,25 +1604,11 @@ button,
|
|
|
1544
1604
|
--tw-bg-opacity: 1;
|
|
1545
1605
|
background-color: rgb(240 253 244 / var(--tw-bg-opacity, 1));
|
|
1546
1606
|
|
|
1547
|
-
}
|
|
1548
|
-
.uiklu-bg-orange400{
|
|
1549
|
-
--tw-bg-opacity: 1;
|
|
1550
|
-
background-color: hsl(var(--uiklu-orange-400) / var(--tw-bg-opacity, 1));
|
|
1551
|
-
|
|
1552
|
-
}
|
|
1553
|
-
.uiklu-bg-orange400\/60{
|
|
1554
|
-
background-color: hsl(var(--uiklu-orange-400) / 0.6);
|
|
1555
|
-
|
|
1556
1607
|
}
|
|
1557
1608
|
.uiklu-bg-orange500{
|
|
1558
1609
|
--tw-bg-opacity: 1;
|
|
1559
1610
|
background-color: hsl(var(--uiklu-orange-500) / var(--tw-bg-opacity, 1));
|
|
1560
1611
|
|
|
1561
|
-
}
|
|
1562
|
-
.uiklu-bg-outlinesecondary{
|
|
1563
|
-
--tw-bg-opacity: 1;
|
|
1564
|
-
background-color: hsl(var(--uiklu-outlinesecondary) / var(--tw-bg-opacity, 1));
|
|
1565
|
-
|
|
1566
1612
|
}
|
|
1567
1613
|
.uiklu-bg-primary{
|
|
1568
1614
|
--tw-bg-opacity: 1;
|
|
@@ -1607,6 +1653,11 @@ button,
|
|
|
1607
1653
|
--tw-bg-opacity: 1;
|
|
1608
1654
|
background-color: rgb(254 242 242 / var(--tw-bg-opacity, 1));
|
|
1609
1655
|
|
|
1656
|
+
}
|
|
1657
|
+
.uiklu-bg-slate-100{
|
|
1658
|
+
--tw-bg-opacity: 1;
|
|
1659
|
+
background-color: rgb(241 245 249 / var(--tw-bg-opacity, 1));
|
|
1660
|
+
|
|
1610
1661
|
}
|
|
1611
1662
|
.uiklu-bg-slate-50{
|
|
1612
1663
|
--tw-bg-opacity: 1;
|
|
@@ -1727,10 +1778,6 @@ button,
|
|
|
1727
1778
|
.uiklu-p-4{
|
|
1728
1779
|
padding: 1rem;
|
|
1729
1780
|
|
|
1730
|
-
}
|
|
1731
|
-
.uiklu-p-5{
|
|
1732
|
-
padding: 1.25rem;
|
|
1733
|
-
|
|
1734
1781
|
}
|
|
1735
1782
|
.uiklu-p-6{
|
|
1736
1783
|
padding: 1.5rem;
|
|
@@ -1859,6 +1906,11 @@ button,
|
|
|
1859
1906
|
padding-top: 0.75rem;
|
|
1860
1907
|
padding-bottom: 0.75rem;
|
|
1861
1908
|
|
|
1909
|
+
}
|
|
1910
|
+
.uiklu-py-\[10px\]{
|
|
1911
|
+
padding-top: 10px;
|
|
1912
|
+
padding-bottom: 10px;
|
|
1913
|
+
|
|
1862
1914
|
}
|
|
1863
1915
|
.uiklu-py-\[4px\]{
|
|
1864
1916
|
padding-top: 4px;
|
|
@@ -1920,6 +1972,10 @@ button,
|
|
|
1920
1972
|
.uiklu-pr-\[10px\]{
|
|
1921
1973
|
padding-right: 10px;
|
|
1922
1974
|
|
|
1975
|
+
}
|
|
1976
|
+
.uiklu-pt-0\.5{
|
|
1977
|
+
padding-top: 0.125rem;
|
|
1978
|
+
|
|
1923
1979
|
}
|
|
1924
1980
|
.uiklu-pt-4{
|
|
1925
1981
|
padding-top: 1rem;
|
|
@@ -2068,6 +2124,10 @@ button,
|
|
|
2068
2124
|
.uiklu-font-bold{
|
|
2069
2125
|
font-weight: 700;
|
|
2070
2126
|
|
|
2127
|
+
}
|
|
2128
|
+
.uiklu-font-light{
|
|
2129
|
+
font-weight: 300;
|
|
2130
|
+
|
|
2071
2131
|
}
|
|
2072
2132
|
.uiklu-font-medium{
|
|
2073
2133
|
font-weight: 500;
|
|
@@ -2270,6 +2330,11 @@ button,
|
|
|
2270
2330
|
--tw-text-opacity: 1;
|
|
2271
2331
|
color: hsl(var(--uiklu-primary-600) / var(--tw-text-opacity, 1));
|
|
2272
2332
|
|
|
2333
|
+
}
|
|
2334
|
+
.uiklu-text-primary700{
|
|
2335
|
+
--tw-text-opacity: 1;
|
|
2336
|
+
color: hsl(var(--uiklu-primary-700) / var(--tw-text-opacity, 1));
|
|
2337
|
+
|
|
2273
2338
|
}
|
|
2274
2339
|
.uiklu-text-primary800{
|
|
2275
2340
|
--tw-text-opacity: 1;
|
|
@@ -2343,16 +2408,18 @@ button,
|
|
|
2343
2408
|
.uiklu-opacity-90{
|
|
2344
2409
|
opacity: 0.9;
|
|
2345
2410
|
|
|
2346
|
-
}
|
|
2347
|
-
.uiklu-mix-blend-screen{
|
|
2348
|
-
mix-blend-mode: screen;
|
|
2349
|
-
|
|
2350
2411
|
}
|
|
2351
2412
|
.uiklu-shadow-2xl{
|
|
2352
2413
|
--tw-shadow: 0 25px 50px -12px rgb(0 0 0 / 0.25);
|
|
2353
2414
|
--tw-shadow-colored: 0 25px 50px -12px var(--tw-shadow-color);
|
|
2354
2415
|
box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
|
|
2355
2416
|
|
|
2417
|
+
}
|
|
2418
|
+
.uiklu-shadow-\[0_2\.467px_2\.467px_0_rgba\(0\,0\,0\,0\.25\)\]{
|
|
2419
|
+
--tw-shadow: 0 2.467px 2.467px 0 rgba(0,0,0,0.25);
|
|
2420
|
+
--tw-shadow-colored: 0 2.467px 2.467px 0 var(--tw-shadow-color);
|
|
2421
|
+
box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
|
|
2422
|
+
|
|
2356
2423
|
}
|
|
2357
2424
|
.uiklu-shadow-lg{
|
|
2358
2425
|
--tw-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
|
|
@@ -2882,10 +2949,6 @@ input.uiklu-flex:not(:placeholder-shown) {
|
|
|
2882
2949
|
.sm\:uiklu-flex-row{
|
|
2883
2950
|
flex-direction: row;
|
|
2884
2951
|
|
|
2885
|
-
}
|
|
2886
|
-
.sm\:uiklu-items-stretch{
|
|
2887
|
-
align-items: stretch;
|
|
2888
|
-
|
|
2889
2952
|
}
|
|
2890
2953
|
.sm\:uiklu-justify-end{
|
|
2891
2954
|
justify-content: flex-end;
|
|
@@ -2896,6 +2959,11 @@ input.uiklu-flex:not(:placeholder-shown) {
|
|
|
2896
2959
|
margin-right: calc(0.5rem * var(--tw-space-x-reverse));
|
|
2897
2960
|
margin-left: calc(0.5rem * calc(1 - var(--tw-space-x-reverse)));
|
|
2898
2961
|
|
|
2962
|
+
}
|
|
2963
|
+
.sm\:uiklu-break-normal{
|
|
2964
|
+
overflow-wrap: normal;
|
|
2965
|
+
word-break: normal;
|
|
2966
|
+
|
|
2899
2967
|
}
|
|
2900
2968
|
.sm\:uiklu-pt-0{
|
|
2901
2969
|
padding-top: 0px;
|
|
@@ -2936,6 +3004,82 @@ input.uiklu-flex:not(:placeholder-shown) {
|
|
|
2936
3004
|
|
|
2937
3005
|
}
|
|
2938
3006
|
|
|
3007
|
+
@media (min-width: 1024px){
|
|
3008
|
+
.lg\:uiklu-mb-0{
|
|
3009
|
+
margin-bottom: 0px;
|
|
3010
|
+
|
|
3011
|
+
}
|
|
3012
|
+
.lg\:uiklu-mr-\[20px\]{
|
|
3013
|
+
margin-right: 20px;
|
|
3014
|
+
|
|
3015
|
+
}
|
|
3016
|
+
.lg\:uiklu-mt-4{
|
|
3017
|
+
margin-top: 1rem;
|
|
3018
|
+
|
|
3019
|
+
}
|
|
3020
|
+
.lg\:uiklu-mt-\[10px\]{
|
|
3021
|
+
margin-top: 10px;
|
|
3022
|
+
|
|
3023
|
+
}
|
|
3024
|
+
.lg\:uiklu-block{
|
|
3025
|
+
display: block;
|
|
3026
|
+
|
|
3027
|
+
}
|
|
3028
|
+
.lg\:uiklu-flex{
|
|
3029
|
+
display: flex;
|
|
3030
|
+
|
|
3031
|
+
}
|
|
3032
|
+
.lg\:uiklu-hidden{
|
|
3033
|
+
display: none;
|
|
3034
|
+
|
|
3035
|
+
}
|
|
3036
|
+
.lg\:uiklu-h-\[114px\]{
|
|
3037
|
+
height: 114px;
|
|
3038
|
+
|
|
3039
|
+
}
|
|
3040
|
+
.lg\:uiklu-min-w-\[331px\]{
|
|
3041
|
+
min-width: 331px;
|
|
3042
|
+
|
|
3043
|
+
}
|
|
3044
|
+
.lg\:uiklu-max-w-full{
|
|
3045
|
+
max-width: 100%;
|
|
3046
|
+
|
|
3047
|
+
}
|
|
3048
|
+
.lg\:uiklu-flex-row{
|
|
3049
|
+
flex-direction: row;
|
|
3050
|
+
|
|
3051
|
+
}
|
|
3052
|
+
.lg\:uiklu-flex-nowrap{
|
|
3053
|
+
flex-wrap: nowrap;
|
|
3054
|
+
|
|
3055
|
+
}
|
|
3056
|
+
.lg\:uiklu-items-center{
|
|
3057
|
+
align-items: center;
|
|
3058
|
+
|
|
3059
|
+
}
|
|
3060
|
+
.lg\:uiklu-items-stretch{
|
|
3061
|
+
align-items: stretch;
|
|
3062
|
+
|
|
3063
|
+
}
|
|
3064
|
+
.lg\:uiklu-justify-start{
|
|
3065
|
+
justify-content: flex-start;
|
|
3066
|
+
|
|
3067
|
+
}
|
|
3068
|
+
.lg\:uiklu-justify-end{
|
|
3069
|
+
justify-content: flex-end;
|
|
3070
|
+
|
|
3071
|
+
}
|
|
3072
|
+
.lg\:uiklu-justify-between{
|
|
3073
|
+
justify-content: space-between;
|
|
3074
|
+
|
|
3075
|
+
}
|
|
3076
|
+
.lg\:uiklu-text-left{
|
|
3077
|
+
text-align: left;
|
|
3078
|
+
|
|
3079
|
+
}
|
|
3080
|
+
|
|
3081
|
+
}
|
|
3082
|
+
|
|
2939
3083
|
.\[\&\>\[data-slot\=progress-indicator\]\]\:uiklu-bg-primary300>[data-slot=progress-indicator]{
|
|
2940
3084
|
--tw-bg-opacity: 1;
|
|
2941
3085
|
background-color: hsl(var(--uiklu-primary-300) / var(--tw-bg-opacity, 1));
|
package/dist/index.d.ts
CHANGED
|
@@ -144,6 +144,7 @@ declare function MobileMenuDrawer({ isOpen, onClose, items, activeTab, onTabChan
|
|
|
144
144
|
|
|
145
145
|
declare const Icons: {
|
|
146
146
|
CARD: react_jsx_runtime.JSX.Element;
|
|
147
|
+
CARDCIRCLE: react_jsx_runtime.JSX.Element;
|
|
147
148
|
TICKET: react_jsx_runtime.JSX.Element;
|
|
148
149
|
CASH: react_jsx_runtime.JSX.Element;
|
|
149
150
|
CHEVRON_RIGHT: react_jsx_runtime.JSX.Element;
|
|
@@ -159,6 +160,7 @@ declare const Icons: {
|
|
|
159
160
|
ARROW_UP: react_jsx_runtime.JSX.Element;
|
|
160
161
|
ARROW_DOWN: react_jsx_runtime.JSX.Element;
|
|
161
162
|
KLU: react_jsx_runtime.JSX.Element;
|
|
163
|
+
KLUWHITE: react_jsx_runtime.JSX.Element;
|
|
162
164
|
DESIGNEDFREEDOM: react_jsx_runtime.JSX.Element;
|
|
163
165
|
GRAPHIC_TOP: react_jsx_runtime.JSX.Element;
|
|
164
166
|
HOME: react_jsx_runtime.JSX.Element;
|
|
@@ -200,6 +202,9 @@ declare const Icons: {
|
|
|
200
202
|
WARNING: react_jsx_runtime.JSX.Element;
|
|
201
203
|
CHECK: react_jsx_runtime.JSX.Element;
|
|
202
204
|
DOWNLOAD: react_jsx_runtime.JSX.Element;
|
|
205
|
+
MASTERCARD: react_jsx_runtime.JSX.Element;
|
|
206
|
+
LOCKOPEN: react_jsx_runtime.JSX.Element;
|
|
207
|
+
LOCK: react_jsx_runtime.JSX.Element;
|
|
203
208
|
};
|
|
204
209
|
|
|
205
210
|
declare const searchSelectTriggerVariants: (props?: ({
|
|
@@ -343,4 +348,25 @@ interface PhoneFieldProps extends Omit<React.InputHTMLAttributes<HTMLInputElemen
|
|
|
343
348
|
}
|
|
344
349
|
declare const PhoneField: React.ForwardRefExoticComponent<PhoneFieldProps & React.RefAttributes<HTMLInputElement>>;
|
|
345
350
|
|
|
346
|
-
|
|
351
|
+
interface StatusCardSummaryItem {
|
|
352
|
+
label: string;
|
|
353
|
+
value: string;
|
|
354
|
+
}
|
|
355
|
+
interface StatusCardProps {
|
|
356
|
+
type: 'success' | 'error';
|
|
357
|
+
title: string;
|
|
358
|
+
subTitle?: string;
|
|
359
|
+
summaryTitle?: string;
|
|
360
|
+
summaryItems?: StatusCardSummaryItem[];
|
|
361
|
+
extraSectionTitle?: string;
|
|
362
|
+
extraSectionContent?: string;
|
|
363
|
+
extraSectionSubtext?: string;
|
|
364
|
+
primaryButtonText?: string;
|
|
365
|
+
secondaryButtonText?: string;
|
|
366
|
+
onPrimaryAction: () => void;
|
|
367
|
+
onSecondaryAction: () => void;
|
|
368
|
+
className?: string;
|
|
369
|
+
}
|
|
370
|
+
declare const StatusCard: React__default.FC<StatusCardProps>;
|
|
371
|
+
|
|
372
|
+
export { BackButton, BalanceInfo, Button, Checkbox, type CheckboxProps, DetailCard, type DetailCardItem, type DetailCardProps, GridCard, IconBadge, type IconBadgeProps, Icons, Input, InputCode, type LadaOption, LoadingScreen, MobileMenuDrawer, Modal, PhoneField, type PhoneFieldProps, PromoBanner, SearchSelect, SearchSelectField, type SearchSelectFieldProps, Select, SelectContent, SelectField, type SelectFieldProps, SelectGroup, SelectItem, SelectValue, SidebarTabs, StatusCard, type StatusCardProps, type StatusCardSummaryItem, TextField, type TextFieldProps, ToastAction, Toaster, Typography, useToast };
|