@plexui/styles 0.1.26 → 0.1.27

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.
@@ -41,6 +41,11 @@
41
41
  }/* Hide all spans in header when collapsed, except the collapse trigger's own */:global([data-sidebar="collapsed"]) .Header span:not(:where(.Trigger, .Trigger *)) {
42
42
  opacity: 0;
43
43
  pointer-events: none;
44
+ }/* A title beside the trigger also gives up its width, so the trigger stands
45
+ on the icons' axis rather than half a title to the right */:global([data-sidebar="collapsed"]) .Header > span:not(:where(.Trigger, .Trigger *)) {
46
+ max-width: 0;
47
+ overflow: hidden;
48
+ white-space: nowrap;
44
49
  }/* Keep only the logo icon visible (first element with fixed size). A wrapper
45
50
  around the trigger (a Tooltip, say) keeps its own size. */:global([data-sidebar="collapsed"]) .Header > div:not(:has(.Trigger)) {
46
51
  width: 32px;
@@ -986,6 +991,9 @@ background: var(--gray-300);
986
991
  flex-shrink: 0;
987
992
  width: 40px;
988
993
  }.App .Footer {
994
+ /* The person row is twice as tall as the icon axis is far from its edge
995
+ (40px): the round end of its highlight is then concentric with an avatar */
996
+ --sidebar-menu-item-height-desktop: 40px;
989
997
  --sidebar-menu-item-margin-desktop: 0;
990
998
  position: relative;
991
999
  min-height: 49px;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@plexui/styles",
3
- "version": "0.1.26",
3
+ "version": "0.1.27",
4
4
  "description": "Framework-agnostic CSS for Plex UI: design tokens, globals and component styles",
5
5
  "type": "module",
6
6
  "license": "MIT",