@posiwise/core-styles 1.0.2 → 1.0.3

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@posiwise/core-styles",
3
- "version": "1.0.2",
3
+ "version": "1.0.3",
4
4
  "main": "index.js",
5
5
  "scripts": {
6
6
  "test": "echo \"Error: no test specified\" && exit 1"
@@ -1097,7 +1097,10 @@ button.p-autocomplete-dropdown {
1097
1097
  box-shadow: 0 0 0 0.1rem var(--tabs_bg) !important;
1098
1098
  outline: none !important;
1099
1099
  }
1100
- .p-dropdown:not(.p-disabled).p-focus {
1100
+ .p-dropdown:not(.p-disabled).p-focus,
1101
+ .p-select:not(.p-disabled).p-focus,
1102
+ .p-inputwrapper.p-select.p-focus,
1103
+ .p-inputwrapper.p-select.p-inputwrapper-focus {
1101
1104
  border-color: var(--tabs_bg) !important; /* Change to your custom color */
1102
1105
  box-shadow: 0 0 0 0.1rem var(--tabs_bg) !important; /* Adjust as needed */
1103
1106
  outline: none !important; /* Keep the outline removed */
@@ -512,9 +512,10 @@ body {
512
512
  width: 100%;
513
513
  }
514
514
 
515
- /* PrimeNG 19: Support both old (ui-*) and new (p-*) class names */
515
+ /* PrimeNG 19: Support both old (ui-*), new (p-*), and Select (p-select) class names */
516
516
  .ui-dropdown,
517
- .p-dropdown {
517
+ .p-dropdown,
518
+ .p-select {
518
519
  background: rgb(255 255 255);
519
520
  border: 1px solid $ui-input-text;
520
521
  transition:
@@ -534,12 +535,14 @@ body {
534
535
  }
535
536
 
536
537
  .ui-dropdown-label,
537
- .p-dropdown-label {
538
+ .p-dropdown-label,
539
+ .p-select-label {
538
540
  padding-right: 2em;
539
541
  }
540
542
 
541
543
  .ui-dropdown-trigger,
542
- .p-dropdown-trigger {
544
+ .p-dropdown-trigger,
545
+ .p-select-trigger {
543
546
  background-color: rgb(255 255 255);
544
547
  color: $font-color-main;
545
548
  line-height: 2em;
@@ -549,7 +552,8 @@ body {
549
552
  }
550
553
 
551
554
  &:not(.ui-state-disabled):not(.p-disabled).ui-state-focus,
552
- &:not(.p-disabled).p-focus {
555
+ &:not(.p-disabled).p-focus,
556
+ &.p-inputwrapper-focus {
553
557
  border-color: $toggleButton;
554
558
  box-shadow: 0 0 6px 0 rgb(0 0 0 / 16%);
555
559
  outline: 0 none;