@basis-ng/styles 0.0.1-alpha.168 → 0.0.1-alpha.169

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.168",
3
+ "version": "0.0.1-alpha.169",
4
4
  "description": "CSS foundation for @basis-ng/primitives components",
5
5
  "main": "src/index.css",
6
6
  "exports": {
@@ -17,6 +17,17 @@ b-select {
17
17
  @apply size-5;
18
18
  }
19
19
 
20
+ /* Ensure the selected value doesn't wrap and shows ellipsis when too long */
21
+ b-select-value {
22
+ /* allow shrinking in flex containers and truncate overflow */
23
+ @apply flex-1 min-w-0 truncate;
24
+
25
+ /* Fallback explicit properties for environments without the utility */
26
+ overflow: hidden;
27
+ text-overflow: ellipsis;
28
+ white-space: nowrap;
29
+ }
30
+
20
31
  /* Match button focus outline for accessibility/consistency */
21
32
  &:focus-visible {
22
33
  @apply outline-2 outline-offset-4 outline-primary;