@apliteni/apliteni-ui 0.123.0 → 0.124.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.123.0",
3
+ "version": "0.124.0",
4
4
  "workspaces": [
5
5
  "react"
6
6
  ],
@@ -69,15 +69,22 @@
69
69
  selector for the markup this component emits, and the spelling that keeps a
70
70
  rule about an ENABLED control out of the disabled-rule sweep in
71
71
  stories/guidelines/accessibility-floor.test.js, which reads selector text. */
72
- /* The one selected mark #578 round r34 LEFT as an edge, and why. A pager stands on
73
- the page in one showcase and on a card in another; --surface steps off the page at
74
- 1.110:1 and off a card at 1.000:1, so a fill that marks the current page on one
75
- ground marks nothing on the other. The hairline is what survives both. Open for
76
- Artur on #578. */
72
+ /* #615: an accent fill stands off page and card alike, as the Segmented pill does. */
77
73
  .ui-pager__page.is-current:not([disabled]) {
78
- background: var(--surface); /* code-bg: inherit — control paint; the containing surface is the ground, for a chip and for a band alike. */
79
- border-color: var(--border);
80
- color: var(--strong);
74
+ background: var(--accent);
75
+ color: var(--accent-contrast);
76
+ font-weight: var(--weight-semibold);
77
+ }
78
+ /* White ink falls below the text floor on the lighter dark-theme accents. */
79
+ :where(:root[data-theme="dark"]) .ui-pager__page.is-current:not([disabled]) {
80
+ color: var(--signal-contrast);
81
+ }
82
+
83
+ /* #615: a disabled current page keeps the mark a disabled selected Segmented pill keeps: the quiet
84
+ fill and the semibold weight, in the disabled ink. A busy pager still does not look live. */
85
+ .ui-pager__page.is-current[disabled] {
86
+ background: var(--surface-3); /* code-bg: inherit — the selected control's own fill. */
87
+ /* muted-ink: state — unavailable control */ color: var(--disabled-ink);
81
88
  font-weight: var(--weight-semibold);
82
89
  }
83
90