@plexui/styles 0.1.26 → 0.1.28

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