Skip to content
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 22 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,28 @@

Each version's section is written by the pull request that changes the version, from the pull requests merged since the previous version, as the [README](README.md#releases) says; other pull requests don't edit this file.

## 0.0.48

- `@noldova/ui.components.angular`: a binary file's row in `nol-diff-view` no longer shows "+0 −0". It shows the app's note where the counts were, or nothing there. `DiffBinary` takes the app's message, a note for its row and a detail line under the message, as `new DiffBinary(message?, note?, detail?)`; `new DiffBinary()` shows what it showed before. `DiffFile` takes an optional `pathTooltip`, its 9th parameter, which shows over its row's path and is read by screen readers (#282).
- `@noldova/ui.components.angular`: `nolTooltip` takes `nolTooltipAnchor`, a selector for the part of the host the tooltip opens over, such as a header's path text. The host still opens the tooltip and is the element it describes. When the selector finds nothing, the tooltip opens over the host (#282).
- `@noldova/ui.components.angular`: three site parts join the site entry and the main entry, each with an entry of its own. `@noldova/ui.components.angular/site/strip` gives `SiteStripComponent` (`nol-site-strip`), a centred row of names under a title, and `SiteStripItemComponent` (`nol-site-strip-item`), whose mark is a mask, a `SiteMark` or projected content. `@noldova/ui.components.angular/site/repository` gives `SiteRepositoryComponent` (`nol-site-repository`), copy and a text link beside a tilted card of a repository with its `SiteFact`s. `@noldova/ui.components.angular/site/questions` gives `SiteQuestionsComponent` (`nol-site-questions`) and `SiteQuestionComponent` (`nol-site-question`), native disclosures of which only one is open at a time in every supported browser (#151).
- `@noldova/ui.components.angular`: a new entry, `@noldova/ui.components.angular/site/code-block`, gives `SiteCodeBlockComponent` (`nol-site-code-block`), with `ShellRun`, `ShellRunState` and `ClipboardWriter`. Its toolbar's tooltips load their engine only once the block renders, so a website's start that shows a code block holds neither the tooltip engine nor the Angular CDK's dialog, overlay and portal. `CodeBlockComponent` from the main and code-block entries keeps its tooltip in the start, as before (#245).
- `@noldova/ui.components.angular`: the site entry exports `TextFieldComponent`, `TextFieldBoxComponent` and `TextFieldEndDirective`, the same classes as the main entry's, so a site needs no main entry for a search field (#138). `input[nol-text-field]` and `textarea[nol-text-field]` take `large`, false by default: at least `--nol-site-field-height` (3rem) high, `--nol-site-field-padding` (1rem) at each side, the site radius (0.75rem) and the site text. Inside `nol-text-field-box`, the box takes the large height and padding too (#223).
- `@noldova/ui.components.angular`: the typography entry no longer reads the kit's shared strings. An app whose start imports only entries such as button and typography no longer holds `resources.js`, about 15 kB. A lazy page's parts no longer add the kit's strings to a start that doesn't use them (#16).
- `@noldova/ui.components.angular`: the anchored overlay, the popover trigger, the site header's menu and the virtual list no longer call `checkVisibility()`, which Safari has only since 17.4. They now work in Safari 16.5 to 17.3, where those calls threw before (#233).
- `@noldova/ui.components.angular`: a code block is as tall when its line scrolls as when the line fits. Its bottom padding now gives up only the room its sideways scrollbar takes, measured as `--nol-code-scrollbar-height`. An overlay scrollbar, as on a phone, takes no room, so the padding stays 0.875rem (#18).
- `@noldova/ui.components.angular`: a code pattern that fails to compile is no longer cached. Later highlighters on the page compile it again instead of skipping it, so their code no longer reads as plain (#28).
- `@noldova/ui.components.angular`: in the default `nol-site-card-grid`, a last card that would sit alone on its row spans the row: in two columns from 37.25rem when the count is odd, and in three from 56.5rem when the count is 3n+1. The span needs no script, so a prerendered page draws it too. The grid is now an inline-size container named `nol-site-card-grid`, so it needs a definite width. Grids with `columns` set keep their layout (#234).
- `@noldova/ui.components.angular`: a site card's text is at most `36em` wide, about 75 characters a line. A card that spans its row keeps no 4.625rem least height. Content projected under a card's text, such as an action, ends at the card's bottom edge, level across the row (#239).
- `@noldova/ui.components.angular`: the site footer's fine print is at most about 75 characters a line (21.75rem at its 0.6rem size) at every width, and still wraps under the rest as its own row (#236).
- `@noldova/ui.components.angular`: at 47.5rem and narrower, the site footer's © notice comes after the link groups, in the order it is drawn and reached by Tab. Wider footers keep it under the line in the brand column. The footer now holds two `.nol-site-footer-notice` elements, one hidden at each width, so a site's test that expects one such element should pick the shown one (#238).
- `@noldova/ui.components.angular`: `SiteHeroComponent`'s heading has a space between its title and its accent, and its side text has a space before its closing words. Search, reader and copy views no longer run the words together. The layout doesn't change (#160).
- `@noldova/ui.components.angular`: the kit's `glyphs.json` gains `models` beside `parts`, listing the glyphs the kit's models hold, such as `LinkReferenceAction`'s `open_in_new`. The symbols tool adds a model's list wherever a site imports that model, so a site that uses the default no longer has to name the glyph itself. The tool also reads a `glyphs.json` from before models (#244).
- `@noldova/ui.components.angular`: the symbols tool's `MaterialSymbolsSite` takes `moreCode`, other folders of code a site's pages show, and `wholeFontParts`, parts shown only on pages that load the whole font, whose lists the subset leaves out. The tool also keeps a glyph held in a field whose name starts with `glyph`, such as `glyphShield` (#231).
- The docs site serves only the Material Symbols glyphs it draws, about 9.2 KB in place of the whole 5.4 MB font, on every page except the icon chooser's (#231).
- The docs site gives every site part a page in its Site group: Site header, footer, hero, section, card, card grid, closing, code block, question and strip item, plus pages for the strip, repository and questions (#261, #151).
- The docs site's keyboard gaps are closed. Tab out of the search, or Escape from a result, closes the results. Tab past the phone menu's last link closes the menu. Following an outline link moves the focus to its heading (#26).

## 0.0.47

- `@noldova/ui.components.angular`: the site header draws its menu wherever its lockup, links and actions don't fit on one row with at least the links' own gap between them, which it measures at any width and for any number of links, as well as below 47.5rem; drawn so above 47.5rem, it keeps its own height and insets. Until it has measured, as on a prerendered page, its row hides a link that doesn't fit rather than draw it over the lockup or under the actions. The menu is drawn by a class the header sets, not a container style query, so every supported browser draws it, Safari from 16.5 and Firefox from 117 included (#228).
Expand Down
2 changes: 1 addition & 1 deletion version.json
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{ "version": "0.0.47" }
{ "version": "0.0.48" }
Loading