@n1kname/components 0.63.0 → 0.64.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": "@n1kname/components",
3
- "version": "0.63.0",
3
+ "version": "0.64.0",
4
4
  "license": "MIT",
5
5
  "type": "module",
6
6
  "exports": {
@@ -84,13 +84,15 @@ const Heading = `h${level}` as 'h2' | 'h3';
84
84
  border-radius: var(--radius-lg);
85
85
  }
86
86
 
87
+ /* A real heading, a step above the part labels, in the accent text colour like the figures and
88
+ * bullets under it. It was a small label in a heading's place, smaller than the parts. */
87
89
  .glance-title {
88
- margin: 0 0 var(--sp-4);
89
- font-family: var(--font-body);
90
- font-size: var(--text-overline);
90
+ margin: 0 0 var(--sp-5);
91
+ font-family: var(--font-display);
92
+ font-size: var(--text-h3);
91
93
  font-weight: 600;
92
- line-height: var(--leading-overline);
93
- letter-spacing: var(--tracking-overline);
94
+ line-height: var(--leading-h3);
95
+ letter-spacing: var(--tracking-h3);
94
96
  color: var(--c-text-accent);
95
97
  }
96
98
 
@@ -152,7 +152,10 @@ const lineAbove = (stage: Stage, laneIndex: number) => {
152
152
  overflow: hidden;
153
153
  }
154
154
 
155
+ /* Positioned, so the screen-reader labels (absolute) inside it stay inside it: without this they
156
+ * anchored to the page and widened it by the grid's full width. */
155
157
  .scroller {
158
+ position: relative;
156
159
  overflow-x: auto;
157
160
  overscroll-behavior-x: contain;
158
161
  padding: var(--sp-5) var(--sp-5) var(--sp-5) 0;