@neuravision/construct 2.1.5 → 2.1.6
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/CHANGELOG.md +11 -0
- package/components/card.css +5 -0
- package/components/datum.css +6 -0
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -5,6 +5,17 @@ All notable changes to `@neuravision/construct` will be documented in this file.
|
|
|
5
5
|
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
|
|
6
6
|
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
|
7
7
|
|
|
8
|
+
## [2.1.6] - 2026-07-19
|
|
9
|
+
|
|
10
|
+
### Fixed
|
|
11
|
+
|
|
12
|
+
- Datum registration marks on `ct-datum-frame` and `ct-card--datum` now establish an
|
|
13
|
+
isolated component stacking context and render above component-local chrome. Opaque,
|
|
14
|
+
positioned headers (such as terminal captions at `z-index: 1`) previously painted over
|
|
15
|
+
the orange corner even though `ct-datum-frame` explicitly supports code samples. The
|
|
16
|
+
mark remains contained below global overlays, and the Storybook contract now covers a
|
|
17
|
+
clipped, rounded code frame with layered chrome.
|
|
18
|
+
|
|
8
19
|
## [2.1.5] - 2026-07-17
|
|
9
20
|
|
|
10
21
|
### Fixed
|
package/components/card.css
CHANGED
|
@@ -110,6 +110,9 @@
|
|
|
110
110
|
Both are opt-in and additive — they don't change default cards. */
|
|
111
111
|
.ct-card--datum {
|
|
112
112
|
position: relative;
|
|
113
|
+
/* Contain the datum's internal paint layer so it cannot overlap adjacent
|
|
114
|
+
cards or consumer overlays. */
|
|
115
|
+
isolation: isolate;
|
|
113
116
|
}
|
|
114
117
|
|
|
115
118
|
.ct-card--datum::before {
|
|
@@ -122,6 +125,8 @@
|
|
|
122
125
|
border-block-start: var(--border-medium) solid var(--color-brand-accent);
|
|
123
126
|
border-inline-start: var(--border-medium) solid var(--color-brand-accent);
|
|
124
127
|
border-start-start-radius: var(--radius-lg);
|
|
128
|
+
/* Card chrome may use layer 1; the registration mark stays above it. */
|
|
129
|
+
z-index: 2;
|
|
125
130
|
pointer-events: none;
|
|
126
131
|
}
|
|
127
132
|
|
package/components/datum.css
CHANGED
|
@@ -255,6 +255,9 @@
|
|
|
255
255
|
forced colors keeps the borders via CanvasText automatically. */
|
|
256
256
|
.ct-datum-frame {
|
|
257
257
|
position: relative;
|
|
258
|
+
/* Keep the datum's internal paint layer above local figure chrome without
|
|
259
|
+
allowing it to participate in the consumer's global overlay stack. */
|
|
260
|
+
isolation: isolate;
|
|
258
261
|
}
|
|
259
262
|
|
|
260
263
|
.ct-datum-frame::before {
|
|
@@ -267,6 +270,9 @@
|
|
|
267
270
|
border-block-start: var(--border-medium) solid var(--color-brand-accent);
|
|
268
271
|
border-inline-start: var(--border-medium) solid var(--color-brand-accent);
|
|
269
272
|
border-start-start-radius: var(--radius-lg);
|
|
273
|
+
/* Code-frame headers commonly occupy layer 1. The datum must remain visible
|
|
274
|
+
above that chrome because it is the frame's registration mark. */
|
|
275
|
+
z-index: 2;
|
|
270
276
|
pointer-events: none;
|
|
271
277
|
}
|
|
272
278
|
|