@jsenv/navi 0.12.21 → 0.12.22
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/dist/jsenv_navi.js +6 -3
- package/dist/jsenv_navi.js.map +4 -4
- package/package.json +1 -1
package/dist/jsenv_navi.js
CHANGED
|
@@ -21820,12 +21820,13 @@ installImportMetaCss(import.meta);import.meta.css = /* css */`
|
|
|
21820
21820
|
|
|
21821
21821
|
@media (prefers-color-scheme: dark) {
|
|
21822
21822
|
.navi_caption {
|
|
21823
|
-
--color: rgb(
|
|
21823
|
+
--color: rgb(129, 134, 140);
|
|
21824
21824
|
}
|
|
21825
21825
|
}
|
|
21826
21826
|
}
|
|
21827
21827
|
|
|
21828
21828
|
.navi_caption {
|
|
21829
|
+
display: inline;
|
|
21829
21830
|
color: var(--color);
|
|
21830
21831
|
}
|
|
21831
21832
|
`;
|
|
@@ -21837,8 +21838,10 @@ const Caption = ({
|
|
|
21837
21838
|
...rest
|
|
21838
21839
|
}) => {
|
|
21839
21840
|
return jsx(Text, {
|
|
21840
|
-
as: "
|
|
21841
|
-
|
|
21841
|
+
as: "div",
|
|
21842
|
+
inline: true,
|
|
21843
|
+
size: "0.8em" // We use em to be relative to the parent (we want to be smaller than the surrounding text)
|
|
21844
|
+
,
|
|
21842
21845
|
marginTop: "sm",
|
|
21843
21846
|
marginBottom: "sm",
|
|
21844
21847
|
className: withPropsClassName("navi_caption", className),
|