@atelic-action/ui 3.3.0 → 3.3.1

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/README.md CHANGED
@@ -23,6 +23,7 @@ Every export, grouped by the entry it is imported from. The gallery column links
23
23
  | `IconList` | `@atelic-action/ui/components` | A list whose bullets are icons, one for the list or one per item, each in a tone | [#icon-list](https://ui.atelic.me/#icon-list) |
24
24
  | `DataTable` | `@atelic-action/ui/components` | A table whose first column names each row, sortable, stacking on a phone | [#data-table](https://ui.atelic.me/#data-table) |
25
25
  | `ReportCard` | `@atelic-action/ui/components` | A name, a grade, and a line per row, in labeled groups, each row a link to its section | [#report-card](https://ui.atelic.me/#report-card) |
26
+ | `reportCardLabels`, `ReportCardLabels` | `@atelic-action/ui/components` | The words a screen reader hears around a report card's letters by default, and their type | none |
26
27
  | `Rank` | `@atelic-action/ui/components` | A figure with its badge in a tone, for a table cell: a rank, a place in an answer, or a dash | [#rank](https://ui.atelic.me/#rank) |
27
28
  | `StatRow` | `@atelic-action/ui/components` | A row of large figures with periods, deltas, and trends | [#stat-row](https://ui.atelic.me/#stat-row) |
28
29
  | `Callout` | `@atelic-action/ui/components` | One finding: an icon in its tone, the title, the explainer | [#callout](https://ui.atelic.me/#callout) |
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atelic-action/ui",
3
- "version": "3.3.0",
3
+ "version": "3.3.1",
4
4
  "description": "Shared UI for the Atelic templates: site chrome, base styles, the component library, the access gate, and the app shell they install",
5
5
  "type": "module",
6
6
  "license": "UNLICENSED",
@@ -661,11 +661,23 @@
661
661
  grid-column: 4;
662
662
  }
663
663
  }
664
+ /* A clipping card can defeat a row's break-inside in print engines other
665
+ than Chrome, so the card stops clipping there and the first group
666
+ label rounds its own top corners instead. A label or a heading never
667
+ ends a page alone. */
664
668
  @media print {
665
669
  .atelic-ui .rc-card {
670
+ overflow: visible;
666
671
  box-shadow: none;
667
672
  border-color: var(--neutral-200);
668
673
  }
674
+ .atelic-ui .rc-card > .rc-group:first-child {
675
+ border-radius: calc(var(--radius-md) - 1px) calc(var(--radius-md) - 1px) 0 0;
676
+ }
677
+ .atelic-ui .rc-head,
678
+ .atelic-ui .rc-group {
679
+ break-after: avoid;
680
+ }
669
681
  .atelic-ui .rc-row {
670
682
  break-inside: avoid;
671
683
  }