@jsenv/navi 0.29.519 → 0.29.521
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/dev/jsenv_navi.js +11 -1
- package/dist/dev/jsenv_navi.js.map +2 -2
- package/dist/jsenv_navi.js +11 -1
- package/dist/jsenv_navi.js.map +2 -2
- package/docs/drag_to_travel.md +4 -2
- package/docs/mobile_touch.md +4 -2
- package/package.json +2 -2
package/dist/dev/jsenv_navi.js
CHANGED
|
@@ -57861,6 +57861,7 @@ const css$$ = /* css */`@layer navi {
|
|
|
57861
57861
|
|
|
57862
57862
|
&[data-stretch] {
|
|
57863
57863
|
z-index: auto;
|
|
57864
|
+
outline-width: 0;
|
|
57864
57865
|
position: static;
|
|
57865
57866
|
|
|
57866
57867
|
&:after {
|
|
@@ -57868,6 +57869,12 @@ const css$$ = /* css */`@layer navi {
|
|
|
57868
57869
|
position: absolute;
|
|
57869
57870
|
inset: 0;
|
|
57870
57871
|
}
|
|
57872
|
+
|
|
57873
|
+
&[data-focus-visible]:after {
|
|
57874
|
+
border-radius: var(--link-border-radius);
|
|
57875
|
+
outline: var(--link-outline-width) solid var(--link-outline-color);
|
|
57876
|
+
outline-offset: calc(-1 * var(--link-outline-width));
|
|
57877
|
+
}
|
|
57871
57878
|
}
|
|
57872
57879
|
|
|
57873
57880
|
&[data-readonly] > * {
|
|
@@ -58091,7 +58098,10 @@ const LinkPseudoElements = ["::-navi-loader", "::-navi-indicator"];
|
|
|
58091
58098
|
* positioned; navi's `Text` is not. A control in the row that keeps its own
|
|
58092
58099
|
* press sits above the area when it is positioned and comes after the link
|
|
58093
58100
|
* (navi's `Button` is positioned); one written before the link is raised
|
|
58094
|
-
* with a `z-index`. The link is never positioned itself, in any state.
|
|
58101
|
+
* with a `z-index`. The link is never positioned itself, in any state. The
|
|
58102
|
+
* focus ring is drawn inside the press area and cannot read the ancestor's
|
|
58103
|
+
* radius: a rounded ancestor repeats it on the link
|
|
58104
|
+
* (`<Link stretch borderRadius="m">`).
|
|
58095
58105
|
* @param {boolean} [props.hrefFallback] - Use `href` as the visible text when
|
|
58096
58106
|
* no children are given; defaults to `true` unless `anchor`.
|
|
58097
58107
|
* @param {string|{type?: string, duration?: number|string, direction?: "forward"|"back"}} [props.routeTransition] -
|