@apliteni/apliteni-ui 0.163.0 → 0.163.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.
package/docs/components.md
CHANGED
|
@@ -771,7 +771,7 @@ and Escape closes the top overlay. Tab is trapped in the panel. Home and End sta
|
|
|
771
771
|
caret, which is what the ARIA combobox pattern gives them for, and Ctrl+K inside another text
|
|
772
772
|
box is left alone, because it is kill-to-end-of-line there — Cmd+K still opens from one.
|
|
773
773
|
**Focus opens in the text box and never leaves it while the palette is open**, over an inert page.
|
|
774
|
-
The search row shows the accent ring inside its edges while the text box has keyboard focus, and
|
|
774
|
+
The search row shows the accent ring inside its edges while the text box has keyboard focus. The ring follows the panel's top corners, and the divider hides under the ring.
|
|
775
775
|
**It opens empty**, and **it paints one step above the drawer and one below the confirm**. A
|
|
776
776
|
confirm opened by a row appears over both and answers the first Escape.
|
|
777
777
|
|
package/docs/foundations.md
CHANGED
|
@@ -357,8 +357,9 @@ override reaches every control. There is no gap colour to hand down.
|
|
|
357
357
|
|
|
358
358
|
**`--ring-scroll` is the indicator a box takes when its own edges are a surface's edges.** It uses
|
|
359
359
|
the same 1px gap and 2px band, but draws them inward. A scroll region inside a surface is one such
|
|
360
|
-
box. A link filling a table cell is another, and so is a line of text inside a cell that clips.
|
|
361
|
-
|
|
360
|
+
box. A link filling a table cell is another, and so is a line of text inside a cell that clips.
|
|
361
|
+
A navigation rail row takes it too, because the rows stand 2px apart and an outward band covers
|
|
362
|
+
the next row. You need both values, or the band appears outside the box.
|
|
362
363
|
|
|
363
364
|
**Every focusable control the kit ships draws the band**, including a roving row the keyboard
|
|
364
365
|
reaches with an arrow key rather than Tab. None falls back to the browser's own outline, which
|
package/package.json
CHANGED
|
@@ -97,6 +97,8 @@
|
|
|
97
97
|
gap: var(--space-3);
|
|
98
98
|
padding: 0 var(--space-4);
|
|
99
99
|
border-bottom: 1px solid var(--border);
|
|
100
|
+
/* The panel's inner corner, so the inward ring follows it. */
|
|
101
|
+
border-radius: calc(var(--radius-lg) - 1px) calc(var(--radius-lg) - 1px) 0 0;
|
|
100
102
|
}
|
|
101
103
|
.ui-cmdk__search-ic {
|
|
102
104
|
display: inline-flex;
|
package/src/styles/layout.css
CHANGED
|
@@ -377,7 +377,7 @@
|
|
|
377
377
|
.ui-app__search:focus-visible { outline: var(--ring); outline-offset: var(--ring-offset); }
|
|
378
378
|
/* The same glyph the palette draws in its own search box, at the same box and the
|
|
379
379
|
same stroke: the trigger and the thing it opens are not two search marks.
|
|
380
|
-
src/styles/command-palette.css:
|
|
380
|
+
src/styles/command-palette.css:110 `.ui-cmdk__search-ic svg` */
|
|
381
381
|
.ui-app__search-ic { display: flex; flex: none; }
|
|
382
382
|
.ui-app__search-ic svg { width: 17px; height: 17px; stroke: currentColor; fill: none; stroke-width: 2.2; }
|
|
383
383
|
/* Part of the button's name, so it is squeezed rather than dropped: an ellipsis
|
package/src/styles/nav.css
CHANGED
|
@@ -86,8 +86,10 @@
|
|
|
86
86
|
ground the rail stands on, so layout.css takes it the next rung where the rail
|
|
87
87
|
is itself --surface. #475 r33/r34. why: docs/components.md#the-page-shell */
|
|
88
88
|
|
|
89
|
-
|
|
90
|
-
.
|
|
89
|
+
/* Drawn inward: rows stand 2px apart, so an outward band crossed into the next row.
|
|
90
|
+
why: docs/foundations.md#the-focus-ring */
|
|
91
|
+
.ui-nav__item:focus-visible { outline: var(--ring-scroll); outline-offset: var(--ring-scroll-offset); }
|
|
92
|
+
.ui-nav__item.is-active:focus-visible { outline: var(--ring-scroll); outline-offset: var(--ring-scroll-offset); }
|
|
91
93
|
|
|
92
94
|
.ui-nav__ic { display: inline-flex; flex: none; }
|
|
93
95
|
.ui-nav__ic svg { width: 17px; height: 17px; stroke: currentColor; fill: none; stroke-width: 2.2; opacity: 0.72; }
|