@robosophy/prime-theme 2.0.0 → 3.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/dist/prime.css +33 -36
- package/package.json +1 -1
package/dist/prime.css
CHANGED
|
@@ -394,7 +394,8 @@
|
|
|
394
394
|
.p-inputtext:not(:where(.p-inputtextarea, .p-dropdown-label, .p-select-label, .p-cascadeselect-label, .p-cascade-select-label, .p-multiselect-label, .p-multi-select-label, .p-autocomplete-multiple-container)) {
|
|
395
395
|
font-weight: var(--p-inputtext-font-weight);
|
|
396
396
|
height: 48px;
|
|
397
|
-
|
|
397
|
+
font-size: 16px;
|
|
398
|
+
gap: 8px;
|
|
398
399
|
border-radius: 6px;
|
|
399
400
|
border: 1px solid var(--rs-color-neutral-700);
|
|
400
401
|
background: var(--rs-color-neutral-50);
|
|
@@ -404,10 +405,8 @@
|
|
|
404
405
|
}
|
|
405
406
|
/* Vue-only: PrimeReact 10 no emite clases de tamaño para InputText */
|
|
406
407
|
.p-inputtext-sm {
|
|
407
|
-
height:
|
|
408
|
-
|
|
409
|
-
.p-inputtext-lg {
|
|
410
|
-
height: 52px;
|
|
408
|
+
height: 36px;
|
|
409
|
+
font-size: 14px;
|
|
411
410
|
}
|
|
412
411
|
.p-inputtext:enabled:focus {
|
|
413
412
|
outline: none;
|
|
@@ -492,10 +491,12 @@
|
|
|
492
491
|
.p-multi-select.p-disabled .p-multi-select-label {
|
|
493
492
|
color: var(--rs-color-text-secondary) !important;
|
|
494
493
|
}
|
|
495
|
-
|
|
494
|
+
/* select/dropdown (both: .p-select=Vue, .p-dropdown=both) */
|
|
496
495
|
.p-select, .p-dropdown {
|
|
497
496
|
font-weight: var(--p-select-font-weight);
|
|
498
497
|
height: 48px;
|
|
498
|
+
font-size: 16px;
|
|
499
|
+
gap: 8px;
|
|
499
500
|
border-radius: 6px;
|
|
500
501
|
border: 1px solid var(--rs-color-neutral-700);
|
|
501
502
|
background: var(--rs-color-neutral-50);
|
|
@@ -507,10 +508,8 @@
|
|
|
507
508
|
}
|
|
508
509
|
/* Vue-only: PrimeReact 10 no emite clases de tamaño para Dropdown */
|
|
509
510
|
.p-select-sm, .p-dropdown-sm {
|
|
510
|
-
height:
|
|
511
|
-
|
|
512
|
-
.p-select-lg, .p-dropdown-lg {
|
|
513
|
-
height: 52px;
|
|
511
|
+
height: 36px;
|
|
512
|
+
font-size: 14px;
|
|
514
513
|
}
|
|
515
514
|
.p-select:not(.p-disabled).p-focus, .p-dropdown:not(.p-disabled).p-focus {
|
|
516
515
|
outline: none;
|
|
@@ -542,9 +541,11 @@
|
|
|
542
541
|
border: none;
|
|
543
542
|
background: transparent;
|
|
544
543
|
}
|
|
545
|
-
|
|
544
|
+
/* cascadeselect (both: .p-cascadeselect=React, .p-cascade-select=Vue) */
|
|
546
545
|
.p-cascadeselect, .p-cascade-select {
|
|
547
546
|
height: 48px;
|
|
547
|
+
font-size: 16px;
|
|
548
|
+
gap: 8px;
|
|
548
549
|
border-radius: 6px;
|
|
549
550
|
border: 1px solid var(--rs-color-neutral-700);
|
|
550
551
|
background: var(--rs-color-neutral-50);
|
|
@@ -562,10 +563,8 @@
|
|
|
562
563
|
}
|
|
563
564
|
/* Vue-only: PrimeReact 10 no emite clases de tamaño para CascadeSelect */
|
|
564
565
|
.p-cascadeselect-sm, .p-cascade-select-sm {
|
|
565
|
-
height:
|
|
566
|
-
|
|
567
|
-
.p-cascadeselect-lg, .p-cascade-select-lg {
|
|
568
|
-
height: 52px;
|
|
566
|
+
height: 36px;
|
|
567
|
+
font-size: 14px;
|
|
569
568
|
}
|
|
570
569
|
.p-cascadeselect-label, .p-cascade-select-label {
|
|
571
570
|
align-self: center;
|
|
@@ -579,9 +578,11 @@
|
|
|
579
578
|
border: none;
|
|
580
579
|
background: transparent;
|
|
581
580
|
}
|
|
582
|
-
|
|
581
|
+
/* multiselect (both: .p-multiselect=React, .p-multi-select=Vue) */
|
|
583
582
|
.p-multiselect, .p-multi-select {
|
|
584
583
|
height: 48px;
|
|
584
|
+
font-size: 16px;
|
|
585
|
+
gap: 8px;
|
|
585
586
|
border-radius: 6px;
|
|
586
587
|
border: 1px solid var(--rs-color-neutral-700);
|
|
587
588
|
background: var(--rs-color-neutral-50);
|
|
@@ -599,10 +600,8 @@
|
|
|
599
600
|
}
|
|
600
601
|
/* Vue-only: PrimeReact 10 no emite clases de tamaño para MultiSelect */
|
|
601
602
|
.p-multiselect-sm, .p-multi-select-sm {
|
|
602
|
-
height:
|
|
603
|
-
|
|
604
|
-
.p-multiselect-lg, .p-multi-select-lg {
|
|
605
|
-
height: 52px;
|
|
603
|
+
height: 36px;
|
|
604
|
+
font-size: 14px;
|
|
606
605
|
}
|
|
607
606
|
.p-multiselect-label, .p-multi-select-label {
|
|
608
607
|
align-self: center;
|
|
@@ -620,6 +619,8 @@
|
|
|
620
619
|
/* autocomplete (both) */
|
|
621
620
|
.p-autocomplete {
|
|
622
621
|
height: 48px;
|
|
622
|
+
font-size: 16px;
|
|
623
|
+
gap: 8px;
|
|
623
624
|
}
|
|
624
625
|
/* menu (both: .p-menuitem-text=React, .p-menu-item-label=Vue) */
|
|
625
626
|
.p-menu {
|
|
@@ -675,7 +676,7 @@
|
|
|
675
676
|
.p-button {
|
|
676
677
|
height: 48px;
|
|
677
678
|
border-radius: 6px;
|
|
678
|
-
font-size:
|
|
679
|
+
font-size: 14px;
|
|
679
680
|
font-weight: 400;
|
|
680
681
|
gap: 8px;
|
|
681
682
|
}
|
|
@@ -692,15 +693,15 @@
|
|
|
692
693
|
font-weight: 400;
|
|
693
694
|
}
|
|
694
695
|
.p-button-sm {
|
|
695
|
-
height:
|
|
696
|
-
font-size:
|
|
696
|
+
height: 36px;
|
|
697
|
+
font-size: 14px;
|
|
697
698
|
}
|
|
698
699
|
.p-button-sm:not(.p-button-link):not(.p-button-text):not(.p-button-outlined):not(.p-button-icon-only) {
|
|
699
700
|
padding: 0 16px;
|
|
700
701
|
}
|
|
701
702
|
.p-button-lg {
|
|
702
|
-
height:
|
|
703
|
-
font-size:
|
|
703
|
+
height: 54px;
|
|
704
|
+
font-size: 16px;
|
|
704
705
|
}
|
|
705
706
|
.p-button-lg:not(.p-button-link):not(.p-button-text):not(.p-button-outlined):not(.p-button-icon-only) {
|
|
706
707
|
padding: 0 16px;
|
|
@@ -711,19 +712,15 @@
|
|
|
711
712
|
.p-button-text:not(:disabled):hover {
|
|
712
713
|
background: transparent;
|
|
713
714
|
}
|
|
714
|
-
|
|
715
|
-
|
|
715
|
+
/* Icon-only text buttons - neutral color, no hover background, proper centering */
|
|
716
|
+
.p-button.p-button-icon-only.p-button-text {
|
|
717
|
+
color: var(--rs-color-button-primary);
|
|
716
718
|
}
|
|
717
|
-
.p-button.p-button-
|
|
718
|
-
|
|
719
|
-
}
|
|
720
|
-
/* React: .p-button-warning | Vue: .p-button-warn (ambos usan severity "warning") */
|
|
721
|
-
.p-button.p-button-warning .rs-icon,
|
|
722
|
-
.p-button.p-button-warn .rs-icon {
|
|
723
|
-
color: var(--rs-color-yellow-500);
|
|
719
|
+
.p-button.p-button-icon-only.p-button-text:not(:disabled):hover {
|
|
720
|
+
background: transparent;
|
|
724
721
|
}
|
|
725
|
-
.p-button.p-button-
|
|
726
|
-
|
|
722
|
+
.p-button.p-button-icon-only.p-button-text .p-button-label {
|
|
723
|
+
display: none;
|
|
727
724
|
}
|
|
728
725
|
/* Base button overrides - match fluent-light specificity for React */
|
|
729
726
|
.p-button:not(.p-button-link):not(.p-button-text):not(.p-button-outlined):not(.p-button-success):not(.p-button-info):not(.p-button-warning):not(.p-button-warn):not(.p-button-danger):not(.p-button-secondary) {
|