layered-ui-rails 0.25.0 → 0.25.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.
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 7fca71b900dc06471df68edb3bce0aa6a18eb80e8a809e0c0ba29fb7ba87700b
|
|
4
|
+
data.tar.gz: 3f41da89e1205b91cddcb8ab24b74d14693dd7ec5fc0f5dc454b6eee8f932576
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 1836f7648503665b604ab1189aa4c7788ef2cf5127382be98e3cd39c0dd22c70efc1635ad988fe20dd1aa469271d3bdf1c3c053b0c86421f03199dac0a17ae0e
|
|
7
|
+
data.tar.gz: c2e4a618ae4a466860e71e307aa1bb0dda0ea94f987feb65d982d4cd8feecc1b70c8321ad6ff60d9baca276d3be721ce95a58b59f6ebde700e49132943ea8905
|
|
@@ -346,6 +346,8 @@ The listbox and filtered-out options are hidden with the `hidden` attribute, so
|
|
|
346
346
|
.l-ui-popover__menu-divider Horizontal rule separating groups of items (apply to an <hr>)
|
|
347
347
|
```
|
|
348
348
|
|
|
349
|
+
The panel takes `overflow: visible`, overriding the UA stylesheet's `overflow: auto` for `[popover]`. It is `height: fit-content` with no max-height, so in-flow content can't overflow it anyway, and the UA rule only did harm: it made the panel a scroll container that clipped any child painting outside it - a combobox's absolutely positioned listbox above all, which is out of flow and so never counted in the panel's height. A popover lives in the top layer, so a child hanging past its edge paints cleanly over the page. Give a popover that genuinely needs to scroll its own `max-height` and `overflow-y`.
|
|
350
|
+
|
|
349
351
|
## Breadcrumbs
|
|
350
352
|
|
|
351
353
|
```
|
data/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,12 @@
|
|
|
2
2
|
|
|
3
3
|
All notable changes to this project will be documented in this file. This project follows [Semantic Versioning](https://semver.org/).
|
|
4
4
|
|
|
5
|
+
## [0.25.1] - 2026-08-28
|
|
6
|
+
|
|
7
|
+
### Fixed
|
|
8
|
+
|
|
9
|
+
- A popover no longer clips its content. `[popover]` takes `overflow: auto` from the UA stylesheet, which made the panel a scroll container; since the panel is `height: fit-content`, an absolutely positioned child never counted towards its height and so was cut off - a combobox inside a popover showed a listbox clipped to the height of its own label and input. `.l-ui-popover` now sets `overflow: visible`, and a popover that genuinely needs to scroll can set its own `max-height` and `overflow-y`.
|
|
10
|
+
|
|
5
11
|
## [0.25.0] - 2026-08-23
|
|
6
12
|
|
|
7
13
|
### Added
|
|
@@ -2647,6 +2647,15 @@ pre.l-ui-surface {
|
|
|
2647
2647
|
text-sm text-foreground
|
|
2648
2648
|
bg-background
|
|
2649
2649
|
border border-border rounded-sm;
|
|
2650
|
+
|
|
2651
|
+
/* The UA stylesheet gives [popover] `overflow: auto`, which makes the panel
|
|
2652
|
+
a scroll container and so clips any child that paints outside it - a
|
|
2653
|
+
combobox's absolutely positioned listbox, most of all, which is out of
|
|
2654
|
+
flow and therefore never counted in the panel's height. The panel is
|
|
2655
|
+
`height: fit-content` with no max-height, so in-flow content can't
|
|
2656
|
+
overflow it and the UA rule has nothing else to do; a popover lives in the
|
|
2657
|
+
top layer, so a child hanging past its edge paints cleanly over the page. */
|
|
2658
|
+
overflow: visible;
|
|
2650
2659
|
}
|
|
2651
2660
|
|
|
2652
2661
|
/* A list of actions inside a popover (e.g. a table row's "more" menu).
|
data/lib/layered/ui/version.rb
CHANGED