@apliteni/apliteni-ui 0.65.0 → 0.67.0

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@apliteni/apliteni-ui",
3
- "version": "0.65.0",
3
+ "version": "0.67.0",
4
4
  "workspaces": [
5
5
  "react"
6
6
  ],
@@ -8,3 +8,15 @@
8
8
  .ui-filter-bar button:disabled { /* muted-ink: state — disabled filters */ color: var(--disabled-ink); cursor: not-allowed; }
9
9
 
10
10
  .ui-filter-bar .ui-dropdown__pre, .ui-filter-bar .ui-dropdown__value { color: inherit; }
11
+
12
+ /* A chip's panel is as wide as the chip's trigger, never the 240px floor
13
+ .ui-dropdown__panel gives a standalone dropdown. A panel is positioned at its
14
+ trigger's inline start, so on a narrow row a later chip put its panel past the
15
+ screen — shut as well as open, a `visibility: hidden` box still being laid out.
16
+ The percentage resolves against .ui-dropdown, the panel's containing block,
17
+ which is the trigger's width because the trigger is its one in-flow child.
18
+ `overflow-wrap` keeps that a bound rather than a clip: a panel is
19
+ `overflow: visible`, so a value with no break opportunity would run out of it
20
+ and off the page. It inherits, reaching an option's label and description.
21
+ why: docs/specification.md#a-filter-row-holds-its-panels */
22
+ .ui-filter-bar .ui-dropdown__panel { min-width: 100%; max-width: 100%; overflow-wrap: anywhere; }
@@ -30,6 +30,13 @@
30
30
  .ui-table td.ui-table__act { padding-right: 0; text-align: right; }
31
31
  .ui-table tr.is-dead td { /* muted-ink: state — revoked row */ color: var(--muted); }
32
32
  .ui-table tr.is-dead td.ui-table__title { text-decoration: line-through; }
33
+ /* The strike is painted by the cell across its in-flow inline descendants, and an atomic
34
+ inline-level box is not one — so a linked name in a revoked row needs it struck itself.
35
+ On hover it carries both lines: the cell-link hover rule below is a whole `text-decoration`,
36
+ which would otherwise replace the strike with the underline.
37
+ held by: src/styles/table-focus.test.js */
38
+ .ui-table tr.is-dead td.ui-table__title a { text-decoration: line-through; }
39
+ .ui-table tr.is-dead td.ui-table__title a:hover { text-decoration-line: underline line-through; }
33
40
  .ui-table tbody tr { transition: background var(--dur-fast) var(--ease); }
34
41
 
35
42
  /* Row hover: an inset, rounded fill so the highlight never sits flush against a
@@ -89,6 +96,24 @@
89
96
  color: var(--strong);
90
97
  text-decoration: underline;
91
98
  }
99
+ /* A plain link — one carrying no class — is the link these rules are about. An inline-block
100
+ box, so a title link that wraps paints one ring instead of one per line, and the kit's small
101
+ corner for that ring to follow. Anchors the kit already styles (`.ui-btn`, `.ui-identity`,
102
+ `.ui-dropdown__item`, `.ui-nav__item`) keep the box and the corner their own component sets;
103
+ a denylist of them went stale twice before this said what it meant (#510).
104
+ held by: src/styles/table-focus.test.js */
105
+ .ui-table :where(td, th, caption) a:not([class]) {
106
+ display: inline-block;
107
+ border-radius: var(--radius-xs);
108
+ }
109
+ /* And on keyboard focus every link in a table takes the kit ring, at whatever corner it
110
+ carries, so none falls back to the browser's own outline. `.ui-btn` has the ring already.
111
+ why: guidelines/state-set.md#focus-rings
112
+ held by: src/styles/table-focus.test.js */
113
+ .ui-table a:not(.ui-btn):focus-visible {
114
+ outline: 2px solid transparent;
115
+ box-shadow: var(--ring);
116
+ }
92
117
 
93
118
  .ui-table__num { text-align: right; font-variant-numeric: tabular-nums; }
94
119
  .ui-table th.ui-table__num { text-align: right; }