@apliteni/apliteni-ui 0.179.0 → 0.179.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/README.md +1 -1
- package/docs/components.md +1188 -1467
- package/docs/foundations.md +35 -45
- package/package.json +1 -1
- package/react/README.md +2 -2
- package/react/dist/index.d.ts +2 -2
- package/src/html.js +1 -1
- package/src/index.d.ts +6 -6
- package/src/logic/accents.js +1 -1
- package/src/logic/account-nav.js +1 -1
- package/src/logic/chart.js +1 -1
- package/src/logic/dropdown-placement.js +11 -11
- package/src/logic/filter-bar.js +4 -4
- package/src/styles/back.css +2 -2
- package/src/styles/button.css +2 -2
- package/src/styles/card.css +1 -1
- package/src/styles/chart.css +2 -2
- package/src/styles/command-palette.css +2 -2
- package/src/styles/drawer.css +2 -2
- package/src/styles/dropdown.css +27 -27
- package/src/styles/file-drop.css +1 -1
- package/src/styles/filter-bar.css +7 -7
- package/src/styles/input.css +1 -1
- package/src/styles/layout.css +28 -28
- package/src/styles/loading.css +1 -1
- package/src/styles/nav.css +4 -4
- package/src/styles/segmented.css +3 -3
- package/src/styles/table.css +3 -3
- package/src/styles/tooltip.css +1 -1
- package/src/styles/topbar.css +7 -7
- package/src/tokens/tokens.css +1 -1
package/src/styles/topbar.css
CHANGED
|
@@ -149,7 +149,7 @@
|
|
|
149
149
|
/* The same cap `.ui-dropdown__panel` writes itself, in bespoke clothes: this
|
|
150
150
|
menu is `wireDropdown()` too, so wireDropdown() measures it the same way and
|
|
151
151
|
writes the same two properties. #489
|
|
152
|
-
why: docs/components.md#
|
|
152
|
+
why: docs/components.md#dropdown */
|
|
153
153
|
max-height: min(var(--ui-dropdown-cap, 100dvh), var(--ui-dropdown-avail, calc(100dvh - 16px)));
|
|
154
154
|
overflow-y: auto;
|
|
155
155
|
overscroll-behavior: contain;
|
|
@@ -157,7 +157,7 @@
|
|
|
157
157
|
visibility: hidden;
|
|
158
158
|
/* Drawn for the whole of the fade out, so the rows do not vanish mid-fade — and a box
|
|
159
159
|
that is drawn is a box that is hit. The open rule takes this back.
|
|
160
|
-
why: docs/components.md#
|
|
160
|
+
why: docs/components.md#dropdown */
|
|
161
161
|
pointer-events: none;
|
|
162
162
|
transform: translateY(-6px);
|
|
163
163
|
/* Named properties, not the bare shorthand: `transition: 0.18s` is `all`, and `all`
|
|
@@ -182,7 +182,7 @@
|
|
|
182
182
|
open transition, because the frame the open class lands is the frame the wiring moves
|
|
183
183
|
focus onto a row in and a browser will not focus inside a hidden box; and
|
|
184
184
|
`pointer-events` back on, because the closed rule turned it off.
|
|
185
|
-
why: docs/components.md#
|
|
185
|
+
why: docs/components.md#dropdown */
|
|
186
186
|
.vsw.open .vsw__menu {
|
|
187
187
|
opacity: 1;
|
|
188
188
|
visibility: visible;
|
|
@@ -335,7 +335,7 @@
|
|
|
335
335
|
the ring cross the edge. #489's cap takes that choice away — `overflow-y: auto` clips
|
|
336
336
|
again, because a menu that scrolls has to stop its content at its own edge — so this
|
|
337
337
|
reserves the room instead, the same 6px `.vsw__menu` and `.ui-dropdown__panel` already
|
|
338
|
-
keep rather than a new figure. why: docs/components.md#
|
|
338
|
+
keep rather than a new figure. why: docs/components.md#dropdown */
|
|
339
339
|
padding: 6px;
|
|
340
340
|
/* The same cap `.ui-dropdown__panel` writes itself — see .vsw__menu above. #489 */
|
|
341
341
|
max-height: min(var(--ui-dropdown-cap, 100dvh), var(--ui-dropdown-avail, calc(100dvh - 16px)));
|
|
@@ -346,7 +346,7 @@
|
|
|
346
346
|
reserves that room while the menu stands still; this keeps it reserved once
|
|
347
347
|
scrolling the menu — reaching the first row this PR made it do — puts a
|
|
348
348
|
focused row at either end. #641's danger 2.
|
|
349
|
-
why: docs/components.md#
|
|
349
|
+
why: docs/components.md#dropdown */
|
|
350
350
|
scroll-padding-block: 3px;
|
|
351
351
|
opacity: 0;
|
|
352
352
|
visibility: hidden;
|
|
@@ -377,7 +377,7 @@
|
|
|
377
377
|
the border-bottom hairline reaches the panel's edge instead of stopping a
|
|
378
378
|
notch short of it. #641's warning. The 5px below is the kit head's own gap, so the first
|
|
379
379
|
row's fill and ring stand clear of the hairline. #824
|
|
380
|
-
why: docs/components.md#
|
|
380
|
+
why: docs/components.md#dropdown */
|
|
381
381
|
.amenu .ahead {
|
|
382
382
|
padding: 13px 15px;
|
|
383
383
|
margin: -6px -6px 5px;
|
|
@@ -394,7 +394,7 @@
|
|
|
394
394
|
above: Chromium's own focus-follow scroll honoured the padding scrolling
|
|
395
395
|
toward the end of the list and not the start, so the row carries its own
|
|
396
396
|
reserve too rather than leaving the start of the list short. #641's danger 2.
|
|
397
|
-
why: docs/components.md#
|
|
397
|
+
why: docs/components.md#dropdown */
|
|
398
398
|
.amenu a { display: flex; align-items: center; gap: 11px; padding: 10px 15px; color: var(--text); text-decoration: none; font-family: var(--font-sans); font-size: var(--text-sm); cursor: pointer; scroll-margin-block: 3px; }
|
|
399
399
|
/* The row is a `.ui-dropdown__item`, so the kit's menu row draws its hover fill, its corner
|
|
400
400
|
and its inward ring. A pointer draws no edge on a row. #824 */
|
package/src/tokens/tokens.css
CHANGED
|
@@ -340,7 +340,7 @@
|
|
|
340
340
|
|
|
341
341
|
/* Chart series tones (#740, the "Soft fade" palette), the same under every accent. A tone is the bar's data
|
|
342
342
|
end and clears 3:1 on the card and the page; its -fade is the bar's base, a tint
|
|
343
|
-
of the tone that does not clear 3:1 on the card by design. why: docs/components.md#
|
|
343
|
+
of the tone that does not clear 3:1 on the card by design. why: docs/components.md#chart */
|
|
344
344
|
--chart-accent: #347bcd;
|
|
345
345
|
--chart-accent-fade: #2b5185;
|
|
346
346
|
--chart-accent-soft: #26a7a9;
|