@7onic-ui/react 0.3.8 → 0.3.9

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/llms.txt CHANGED
@@ -1179,6 +1179,8 @@ import { Button, Popover, PopoverArrow, PopoverContent, PopoverPortal, PopoverTr
1179
1179
 
1180
1180
  **Sub-components:** Popover.Trigger, Popover.Content, Popover.Arrow, Popover.Close, Popover.Anchor, Popover.Portal
1181
1181
 
1182
+ **Height:** PopoverContent never grows past the space left in the viewport; taller content scrolls inside it. Put layout classes (`flex`, `grid`, `gap-*`) on your own child element, not on `PopoverContent`.
1183
+
1182
1184
  ---
1183
1185
 
1184
1186
  ## Feedback
@@ -1453,6 +1455,8 @@ import { NavigationMenu, NavigationMenuContent, NavigationMenuGroup, NavigationM
1453
1455
  | orientation | `'horizontal' \| 'vertical'` | `'horizontal'` | Layout mode |
1454
1456
  | size | `'sm' \| 'md' \| 'default' \| 'lg'` | `'default'` | Item size |
1455
1457
  | collapsed | `boolean` | `false` | Icon-only mode (vertical) |
1458
+ | width | `number \| string` | `256` | Vertical width (px or CSS string). Inside a sidebar container that sets its own width, pass `"100%"` so the menu fits the container instead of overflowing it |
1459
+ | collapsedWidth | `number \| string` | sm 56 / md 60 / default 64 / lg 72 | Vertical width while `collapsed` |
1456
1460
  | radius | Same as Button | `'lg'` | Border radius |
1457
1461
  | fontWeight | `'normal' \| 'semibold'` | `'normal'` | Font weight |
1458
1462
  | delayDuration | `number` | `200` | Hover delay before content opens (horizontal only, ms) |
@@ -2103,10 +2107,10 @@ const chartConfig = {
2103
2107
  ```
2104
2108
 
2105
2109
  **Z-index hierarchy (automatic via tokens) — never set custom z-index:**
2106
- 1. `z-dropdown` (1000) — Dropdown, Select
2110
+ 1. `z-dropdown` (1000) — NavigationMenu sub-menu
2107
2111
  2. `z-overlay` (1100) — Modal/Drawer overlay
2108
2112
  3. `z-modal` (2000) — Modal/Drawer content
2109
- 4. `z-popover` (2100) — Popover
2113
+ 4. `z-popover` (2100) — Popover, Dropdown, Select (same layer: the one opened last stays on top, so a Select or Dropdown opened inside a Modal, Drawer or Popover is never hidden)
2110
2114
  5. `z-tooltip` (2200) — Tooltip
2111
2115
  6. `z-toast` (3000) — Toast
2112
2116
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@7onic-ui/react",
3
- "version": "0.3.8",
3
+ "version": "0.3.9",
4
4
  "private": false,
5
5
  "sideEffects": [
6
6
  "*.css"