@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 +1 -1
- package/src/styles/pagination.css +15 -8
package/package.json
CHANGED
|
@@ -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
|
-
/*
|
|
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(--
|
|
79
|
-
|
|
80
|
-
|
|
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
|
|