@basis-ng/styles 0.0.1-alpha.187 → 0.0.1-alpha.189

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": "@basis-ng/styles",
3
- "version": "0.0.1-alpha.187",
3
+ "version": "0.0.1-alpha.189",
4
4
  "description": "CSS foundation for @basis-ng/primitives components",
5
5
  "main": "src/index.css",
6
6
  "exports": {
@@ -60,21 +60,23 @@ b-select {
60
60
  }
61
61
  }
62
62
  }
63
+ }
63
64
 
64
- &.ng-invalid.ng-touched {
65
- button[b-select-trigger] {
66
- @apply text-destructive inset-ring-destructive/20 bg-destructive/10 hover:bg-destructive/20;
67
- @apply dark:text-destructive-dark dark:inset-ring-destructive-dark/20 dark:bg-destructive-dark/10 dark:hover:bg-destructive-dark/20;
65
+ /* Invalid state - Angular applies ng-invalid/ng-touched to parent wrapper components, not b-select */
66
+ .ng-invalid.ng-touched b-select,
67
+ b-select.ng-invalid.ng-touched {
68
+ button[b-select-trigger] {
69
+ @apply text-destructive inset-ring-destructive/20 bg-destructive/10 hover:bg-destructive/20;
70
+ @apply dark:text-destructive-dark dark:inset-ring-destructive-dark/20 dark:bg-destructive-dark/10 dark:hover:bg-destructive-dark/20;
68
71
 
69
- b-select-value {
70
- @apply text-destructive;
71
- @apply dark:text-destructive-dark;
72
- }
72
+ b-select-value {
73
+ @apply text-destructive;
74
+ @apply dark:text-destructive-dark;
75
+ }
73
76
 
74
- &:focus-visible {
75
- @apply outline-destructive;
76
- @apply dark:outline-destructive-dark;
77
- }
77
+ &:focus-visible {
78
+ @apply outline-destructive;
79
+ @apply dark:outline-destructive-dark;
78
80
  }
79
81
  }
80
82
  }