@alfadocs/ui-kit 0.84.0 → 0.84.1

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.
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "schemaVersion": 1,
3
- "packageVersion": "0.84.0",
3
+ "packageVersion": "0.84.1",
4
4
  "components": [
5
5
  {
6
6
  "kind": "component",
@@ -69,11 +69,14 @@ export interface SelectProps<T extends string = string> {
69
69
  'aria-label'?: string;
70
70
  className?: string;
71
71
  /**
72
- * Portal target for the listbox. Defaults to `document.body`. Set this to a
73
- * parent overlay's content element (e.g. a Popover) when the Select is nested
74
- * inside one, so the listbox shares that stacking context and renders above
75
- * it instead of behind it (the global z-scale puts `--z-dropdown` below
76
- * `--z-popover`).
72
+ * Portal target for the listbox. Defaults to `document.body`, which is
73
+ * almost always correct.
74
+ *
75
+ * You do not need this to fix stacking. `--z-dropdown` and `--z-popover`
76
+ * are one layer, so a Select nested inside a Popover already paints over it
77
+ * by portal order (the listbox mounts last). Only pass a container when the
78
+ * listbox must live inside a specific subtree — e.g. a shadow root, or a
79
+ * scroll container that would otherwise clip it.
77
80
  */
78
81
  container?: HTMLElement | null;
79
82
  }