@basis-ng/styles 0.0.1-alpha.116 → 0.0.1-alpha.118

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.116",
3
+ "version": "0.0.1-alpha.118",
4
4
  "description": "CSS foundation for @basis-ng/primitives components",
5
5
  "main": "src/index.css",
6
6
  "exports": {
@@ -85,11 +85,16 @@ b-menu {
85
85
  button[b-menu-item],
86
86
  button[b-menu-item-radio],
87
87
  button[b-menu-item-checkbox] {
88
- @apply flex gap-2 cursor-pointer;
88
+ @apply flex items-center gap-2 cursor-pointer;
89
89
  @apply hover:bg-secondary/50;
90
90
  @apply dark:hover:bg-secondary-dark/50;
91
91
 
92
- /* .squared ahora se define por size arriba */
92
+ &.destructive {
93
+ @apply bg-destructive/10 text-destructive;
94
+ @apply dark:bg-destructive-dark/10 dark:text-destructive-dark;
95
+ @apply hover:bg-destructive/20;
96
+ @apply dark:hover:bg-destructive-dark/20;
97
+ }
93
98
 
94
99
  &:focus-visible {
95
100
  @apply outline-2 outline-offset-4 outline-primary;
@@ -61,13 +61,15 @@ ul[b-select-content] {
61
61
  @apply list-none box-border m-0 relative bg-background shadow-xs inset-ring-1 inset-ring-secondary flex flex-col w-full overflow-y-auto;
62
62
  @apply dark:bg-background-dark dark:shadow-xs dark:inset-ring-secondary-dark;
63
63
  @apply outline-none;
64
+ max-height: 320px;
64
65
 
65
66
  .no-options-message {
66
67
  @apply py-1 px-2 text-sm;
67
68
  }
68
69
 
69
70
  input[b-input] {
70
- @apply outline-none;
71
+ @apply outline-none sticky top-0 z-10 bg-background;
72
+ @apply dark:bg-background-dark;
71
73
  }
72
74
 
73
75
  &.b-select-content-entering-top {