@filipgutica/design-system 1.0.31 → 1.0.32
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/language/components.html
CHANGED
|
@@ -476,7 +476,7 @@
|
|
|
476
476
|
|
|
477
477
|
/* Pager: previous at the start, next always at the end. */
|
|
478
478
|
.pager { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-4); width: 100%; padding-top: var(--space-6); border-top: 1px solid var(--color-border-subtle); }
|
|
479
|
-
.pager a { display: grid; align-content: start; gap: 0.125rem; padding: var(--space-3) var(--space-4); border: 1px solid transparent; border-radius: var(--radius-field); color: var(--color-text); text-decoration: none; transition: background-color var(--duration-fast) var(--ease-out); }
|
|
479
|
+
.pager a { display: grid; align-content: start; gap: 0.125rem; overflow-wrap: anywhere; padding: var(--space-3) var(--space-4); border: 1px solid transparent; border-radius: var(--radius-field); color: var(--color-text); text-decoration: none; transition: background-color var(--duration-fast) var(--ease-out); }
|
|
480
480
|
.pager a.is-hover { background: var(--color-row-hover); }
|
|
481
481
|
@media (hover: hover) { .pager a:hover { background: var(--color-row-hover); } }
|
|
482
482
|
.pager a[rel="next"] { grid-column: 2; justify-items: end; text-align: end; }
|
|
@@ -869,8 +869,6 @@
|
|
|
869
869
|
.crumbs ol:has(> li:nth-child(3)) > li::before { content: none; }
|
|
870
870
|
.crumbs ol:has(> li:nth-child(3)) > li:nth-last-child(2) a { position: relative; padding-inline-start: 0.875rem; }
|
|
871
871
|
.crumbs ol:has(> li:nth-child(3)) > li:nth-last-child(2) a::before { content: ""; position: absolute; inset-inline-start: 0.25rem; top: 50%; transform: translateY(-50%) rotate(-135deg); }
|
|
872
|
-
.pager { grid-template-columns: minmax(0, 1fr); }
|
|
873
|
-
.pager a[rel="next"] { grid-column: 1; }
|
|
874
872
|
.definitions { grid-template-columns: minmax(0, 1fr); row-gap: var(--space-1); }
|
|
875
873
|
.definitions dd + dt { margin-top: var(--space-3); }
|
|
876
874
|
.frame { width: calc(100% - var(--space-8)); }
|
package/language/components.md
CHANGED
|
@@ -387,7 +387,7 @@ Layer: Core.
|
|
|
387
387
|
- **States.** Hover: `--color-row-hover` fill. Focus-visible: the focus ring. There is no current state.
|
|
388
388
|
- **Do.** Use a pager for pages a reader goes through in order, such as a guide's chapters or the skills in one group.
|
|
389
389
|
- **Don't.** A pager on pages with no reading order, or one per section on a page with a section rail.
|
|
390
|
-
- **Phone.**
|
|
390
|
+
- **Phone.** No change: the two columns stay, so Previous and Next share one row, and a long title wraps inside its column, breaking inside a word when it must.
|
|
391
391
|
- **Keyboard and screen reader.** The direction and the title are both inside the link, so it reads as one name, such as "Next Application example".
|
|
392
392
|
- **Motion.** The fill changes over `--duration-fast` with `--ease-out`.
|
|
393
393
|
- **Forced colors.** Each link's transparent border draws in the system link colour, so both links read as boxes, and the hover fill drops.
|