@uvalib/web-components 1.7.0 → 1.8.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/CHANGELOG.md +23 -0
- package/README.md +56 -12
- package/dist/base/states.d.ts +12 -0
- package/dist/base/states.js +33 -0
- package/dist/base/states.js.map +1 -0
- package/dist/base.css +15 -5
- package/dist/components/bento-box/BentoBox.js +1 -0
- package/dist/components/bento-box/BentoBox.js.map +1 -1
- package/dist/components/events-section/EventsSection.js +1 -0
- package/dist/components/events-section/EventsSection.js.map +1 -1
- package/dist/components/library-hours/hours-data.js +1 -1
- package/dist/components/library-hours/hours-data.js.map +1 -1
- package/dist/components/library-weekly-hours/LibraryWeeklyHours.js +1 -0
- package/dist/components/library-weekly-hours/LibraryWeeklyHours.js.map +1 -1
- package/dist/components/uvalib-card/UvalibCard.js +6 -0
- package/dist/components/uvalib-card/UvalibCard.js.map +1 -1
- package/dist/components/uvalib-combobox/UvalibCombobox.d.ts +27 -0
- package/dist/components/uvalib-combobox/UvalibCombobox.js +85 -1
- package/dist/components/uvalib-combobox/UvalibCombobox.js.map +1 -1
- package/dist/components/uvalib-contents/UvalibContents.js +5 -0
- package/dist/components/uvalib-contents/UvalibContents.js.map +1 -1
- package/dist/components/uvalib-filter-drawer/UvalibFilterDrawer.d.ts +6 -0
- package/dist/components/uvalib-filter-drawer/UvalibFilterDrawer.js +10 -0
- package/dist/components/uvalib-filter-drawer/UvalibFilterDrawer.js.map +1 -1
- package/dist/components/uvalib-image-regions/UvalibImageRegions.js +2 -0
- package/dist/components/uvalib-image-regions/UvalibImageRegions.js.map +1 -1
- package/dist/components/uvalib-image-regions/regions.d.ts +6 -2
- package/dist/components/uvalib-image-regions/regions.js +6 -3
- package/dist/components/uvalib-image-regions/regions.js.map +1 -1
- package/dist/components/uvalib-lightbox/UvalibLightbox.d.ts +9 -2
- package/dist/components/uvalib-lightbox/UvalibLightbox.js +23 -3
- package/dist/components/uvalib-lightbox/UvalibLightbox.js.map +1 -1
- package/dist/components/uvalib-lightbox/compare.d.ts +30 -3
- package/dist/components/uvalib-lightbox/compare.js +98 -29
- package/dist/components/uvalib-lightbox/compare.js.map +1 -1
- package/dist/components/uvalib-map/UvalibMap.js +2 -2
- package/dist/components/uvalib-map/UvalibMap.js.map +1 -1
- package/dist/components/uvalib-metadata/UvalibMetadata.js +3 -0
- package/dist/components/uvalib-metadata/UvalibMetadata.js.map +1 -1
- package/dist/components/uvalib-pagefind-search/UvalibPagefindSearch.js +3 -1
- package/dist/components/uvalib-pagefind-search/UvalibPagefindSearch.js.map +1 -1
- package/dist/components/uvalib-photo-grid/UvalibPhotoGrid.d.ts +3 -3
- package/dist/components/uvalib-photo-grid/UvalibPhotoGrid.js +16 -8
- package/dist/components/uvalib-photo-grid/UvalibPhotoGrid.js.map +1 -1
- package/dist/components/uvalib-tag-list/UvalibTagList.d.ts +4 -1
- package/dist/components/uvalib-tag-list/UvalibTagList.js +9 -2
- package/dist/components/uvalib-tag-list/UvalibTagList.js.map +1 -1
- package/dist/custom-elements.json +1926 -1637
- package/dist/styles/message.js +4 -0
- package/dist/styles/message.js.map +1 -1
- package/dist/styles/result-list.js +25 -4
- package/dist/styles/result-list.js.map +1 -1
- package/dist/styles/results.js +17 -2
- package/dist/styles/results.js.map +1 -1
- package/dist-cdn/base.css +15 -5
- package/dist-cdn/bento-box.js +1 -0
- package/dist-cdn/bento-box.js.map +1 -1
- package/dist-cdn/chunks/{compare-DV6ltvsJ.js → compare-C0nhByn7.js} +66 -29
- package/dist-cdn/chunks/compare-C0nhByn7.js.map +1 -0
- package/dist-cdn/chunks/{hours-data-Bw6vkIw7.js → hours-data-gMu5uT7H.js} +2 -2
- package/dist-cdn/chunks/hours-data-gMu5uT7H.js.map +1 -0
- package/dist-cdn/chunks/{library-weekly-hours-CrV3TlP5.js → library-weekly-hours-BJgxAyah.js} +3 -2
- package/dist-cdn/chunks/library-weekly-hours-BJgxAyah.js.map +1 -0
- package/dist-cdn/chunks/{regions-B8ExwUGP.js → regions-B-rOwa-v.js} +15 -15
- package/dist-cdn/chunks/regions-B-rOwa-v.js.map +1 -0
- package/dist-cdn/chunks/states-DGXGzcte.js +17 -0
- package/dist-cdn/chunks/states-DGXGzcte.js.map +1 -0
- package/dist-cdn/custom-elements.json +1926 -1637
- package/dist-cdn/events-section.js +1 -0
- package/dist-cdn/events-section.js.map +1 -1
- package/dist-cdn/library-hours-setup.js +1 -1
- package/dist-cdn/library-weekly-hours.js +1 -1
- package/dist-cdn/manifest.json +1 -1
- package/dist-cdn/site-hours-section.js +1 -1
- package/dist-cdn/skills/uvalib-web-components/SKILL.md +5 -4
- package/dist-cdn/skills/uvalib-web-components/reference/components.md +33 -6
- package/dist-cdn/uvalib-card.js +6 -0
- package/dist-cdn/uvalib-card.js.map +1 -1
- package/dist-cdn/uvalib-combobox.js +107 -68
- package/dist-cdn/uvalib-combobox.js.map +1 -1
- package/dist-cdn/uvalib-contents.js +5 -0
- package/dist-cdn/uvalib-contents.js.map +1 -1
- package/dist-cdn/uvalib-filter-drawer.js +27 -25
- package/dist-cdn/uvalib-filter-drawer.js.map +1 -1
- package/dist-cdn/uvalib-image-regions.js +3 -1
- package/dist-cdn/uvalib-image-regions.js.map +1 -1
- package/dist-cdn/uvalib-lightbox.js +80 -69
- package/dist-cdn/uvalib-lightbox.js.map +1 -1
- package/dist-cdn/uvalib-map.js +2 -2
- package/dist-cdn/uvalib-map.js.map +1 -1
- package/dist-cdn/uvalib-metadata.js +3 -0
- package/dist-cdn/uvalib-metadata.js.map +1 -1
- package/dist-cdn/uvalib-pagefind-search.js +2 -1
- package/dist-cdn/uvalib-pagefind-search.js.map +1 -1
- package/dist-cdn/uvalib-photo-grid.js +4 -5
- package/dist-cdn/uvalib-photo-grid.js.map +1 -1
- package/dist-cdn/uvalib-tag-list.js +21 -16
- package/dist-cdn/uvalib-tag-list.js.map +1 -1
- package/package.json +1 -1
- package/skills/uvalib-web-components/SKILL.md +5 -4
- package/skills/uvalib-web-components/reference/components.md +33 -6
- package/dist-cdn/chunks/compare-DV6ltvsJ.js.map +0 -1
- package/dist-cdn/chunks/hours-data-Bw6vkIw7.js.map +0 -1
- package/dist-cdn/chunks/library-weekly-hours-CrV3TlP5.js.map +0 -1
- package/dist-cdn/chunks/regions-B8ExwUGP.js.map +0 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,28 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## v1.8.0 — 2026-11-22
|
|
4
|
+
|
|
5
|
+
### Features
|
|
6
|
+
|
|
7
|
+
- text-wrap balance on short headings, pretty on longer text
|
|
8
|
+
- container queries for the toolbar, result list and photo grid; text-wrap in base.css
|
|
9
|
+
- custom states for the filter drawer, lightbox and tag list; CSS states in the reference
|
|
10
|
+
- the popup in the top layer, anchored to the field, where supported
|
|
11
|
+
- data-version, a link's starting version, issue #31
|
|
12
|
+
|
|
13
|
+
### Fixes
|
|
14
|
+
|
|
15
|
+
- a version's frame may start left of or above it (crops), issue #30
|
|
16
|
+
|
|
17
|
+
### Other
|
|
18
|
+
|
|
19
|
+
- Merge branch 'integrate/modern-web': combobox top layer, custom states, container queries, text-wrap, ES2024
|
|
20
|
+
- ES2024 lib; toSorted and Promise.withResolvers for the copy-sorts and the ready deferred
|
|
21
|
+
- Merge branch 'feat/container-queries-text-wrap' into integrate/modern-web
|
|
22
|
+
- Merge branch 'feat/combobox-top-layer-states' into integrate/modern-web
|
|
23
|
+
- Merge branch 'fix/version-frame-start': crop frames (#30), a link's starting version (#31)
|
|
24
|
+
- uvalib-lightbox.js budget to about 12% over its measured size
|
|
25
|
+
|
|
3
26
|
## v1.7.0 — 2026-11-22
|
|
4
27
|
|
|
5
28
|
### Features
|
package/README.md
CHANGED
|
@@ -577,7 +577,7 @@ lightbox.close({ focus: document.querySelector('h1') }); // <h1 tabindex="-1">
|
|
|
577
577
|
lightbox.addEventListener('uvalib-lightbox-close', (e) => saveScroll(e.detail.id));
|
|
578
578
|
```
|
|
579
579
|
|
|
580
|
-
- **Photo grid.** Each direct child that is an `<a href>` or a `<button>` is one photo. The row is about 220px tall, and 140px when the
|
|
580
|
+
- **Photo grid.** Each direct child that is an `<a href>` or a `<button>` is one photo. The row is about 220px tall, and 140px when the grid itself is narrower than 48rem (767px at the usual 16px), unless `row-height` is set (a bare number is pixels; `rem`, `em` and the other CSS lengths are kept). Each image keeps its shape from its `width` and `height` attributes, or from the loaded image, so the row does not jump. Every item stays a real link or button. An image with no visible text gets a visible caption from its alt, and an alt that repeats that caption is cleared so it is not announced twice. The original alt is kept for a lightbox. A different alt is kept (the accessible name still contains the visible text). An `aria-label` is left as the name. Generated "Photo N" captions renumber when the photos change order. An item with no name is captioned "Photo N" and warned about once. A child that is not a link or a button is skipped, with one warning. A badge sits on the thumbnail: `<span slot="badge">` inside the item, or `data-badge` on the item (“seq”, “3 photos”). It is part of the item’s accessible name; when the item already has an `aria-label`, the badge is appended and the author’s words stay in `data-uvalib-label`. It follows its own width, not the viewport's: the grid is a CSS size container, so in a 250px sidebar or a drawer it takes the shorter rows too. Give it a width when it sits in a shrink-to-fit box (a flex item with no basis, an inline-block), as it no longer sizes to its photos. The grid reports no analytics. Put it inside `<uvalib-lightbox>` and a plain click opens the viewer.
|
|
581
581
|
- **Motion and colour.** `prefers-reduced-motion` turns the dialog's short fade off. The backdrop, surface and focus ring use the dark-mode role tokens. Controls are at least 44px. `no-style` keeps the dialog's structure and, for the grid, the row layout: the thumbnails stay in light DOM, and those rules are what reserve each image's space.
|
|
582
582
|
|
|
583
583
|
#### Versions
|
|
@@ -609,8 +609,21 @@ A photo can have more than one version of the same picture: the original scan, a
|
|
|
609
609
|
- **Full size** offers two named links in every mode: the original and the version shown or compared ("Full size, Original" and "Full size, AI colorization"). The toolbar keeps the same height whatever the mode, and the original is always one click away.
|
|
610
610
|
- **Nothing moves when the mode changes.** The controls for Switch and for Reveal and Fade share one space as tall as the taller of them (the other is hidden and inert), so the photo stays put even on a phone, where the controls wrap.
|
|
611
611
|
- **In the address.** With `url-param`, `version-param="version"` keeps the comparison in sync: `?version=1` (Switch: the version shown, from 0), `?version=wipe:40` or `?version=fade:60` (the percentage of the other version shown), `?version=wipe:40:2` (compared with version 2). It is written with `replaceState` once a change settles (never one history entry per step), dropped on Previous, Next and Close, and read when the viewer opens from the address, so a link can open a photo in colour or half revealed. A click on a thumbnail starts fresh.
|
|
612
|
+
- **Opening on a version.** `data-version` on a link, in the `version-param` format (`1`, `wipe:50`, `fade:50`, `wipe:40:2`), opens that image on that version: a gallery of derived images (AI variants, crops, restorations) can open each on the image the visitor clicked while the original stays first, so it is still compared (and framed) as the original. It applies whenever the viewer arrives at that link: a click, `open()`, and Previous or Next (each link opens on its own start; a link without one opens on the original, in the mode the visitor chose). An address with `version-param` wins when the viewer opens from it. The image's accessible name and the version's note say the starting version at once, and the photo stays hidden until that version (and the original, which sizes a framed box) has loaded, so the original never flashes first and nothing moves. It is not the visitor's change: no `uvalib-lightbox-version` event, no analytics, nothing written to the address. A value that does not name a version of the image (`7` with two versions, `wipe:50:4`, `nope`) is ignored with one console warning, and the image opens on the original. With the `versions` callback, set `data-version` on the link too.
|
|
613
|
+
|
|
614
|
+
```html
|
|
615
|
+
<a
|
|
616
|
+
href="/media/plate-12.jpg"
|
|
617
|
+
data-caption="Plate 12, expanded frame (AI)"
|
|
618
|
+
data-version="1"
|
|
619
|
+
data-versions='[{"label": "Original"}, {"label": "Expanded frame (AI)",
|
|
620
|
+
"href": "/media/expanded/plate-12.jpg", "frame": "percent:18,12,64,70"}]'
|
|
621
|
+
>…</a
|
|
622
|
+
>
|
|
623
|
+
```
|
|
624
|
+
|
|
612
625
|
- **Apps.** The `versions` property is a function from `{ element, id, href, index }` to the versions (or null). An entry without a label, or whose `href` is not http(s), relative or a PNG, JPEG, GIF or WebP `data:` image, is left out with one console warning; with fewer than two usable versions the image is shown as before. Previous and Next show each image's own versions (or none) in the mode the visitor chose.
|
|
613
|
-
- **A different framing.** A version that shows more (or less) than the original, such as an AI-expanded frame, a scan of the whole plate with its border, or a crop, says where the original sits in it with `frame`: the original's box within that version, IIIF / Media Fragments style. `percent:x,y,w,h` is in percent of the version; pixels (`x,y,w,h` or `pixel:x,y,w,h`) are pixels of the version's `width` × `height`, which are then required (give the size of the version's full image, even when the viewer loads a smaller IIIF size). The first version (the original) has no frame; a frame that does not parse, or pixels without `width` and `height`, is ignored with one console warning (the version is shown with the original's framing). The viewer then draws every version at the original's scale in one box big enough for them all, with the original's pixels lined up across versions. The box is reserved from the frames as soon as the original has loaded, so a version loading, or a change of mode, never moves the page. The part of the box a version (or the original) does not cover is empty, shown with a faint hatch, never content. **Switch**: each version at its place (the original at its box, the rest empty; a crop hides the original around it). **Reveal**: the divider spans the whole box; on its start side the version, on its end side the original over its box and empty around it, so the divider shows exactly what was added. **Fade**: the version, with the original over its box fading out, so what was added around it shows from the start. Regions are defined on the original and their outlines stay on the original's box in every mode and version. Say what was added in the version's note:
|
|
626
|
+
- **A different framing.** A version that shows more (or less) than the original, such as an AI-expanded frame, a scan of the whole plate with its border, or a crop, says where the original sits in it with `frame`: the original's box within that version, IIIF / Media Fragments style. `percent:x,y,w,h` is in percent of the version; pixels (`x,y,w,h` or `pixel:x,y,w,h`) are pixels of the version's `width` × `height`, which are then required (give the size of the version's full image, even when the viewer loads a smaller IIIF size). The original may reach past the version: a crop's frame is larger than the crop and starts left of or above it, so `x` and `y` may be negative and `w` and `h` over 100 (or over the version's `width` and `height`); `w` and `h` must be positive. A crop that keeps the middle half each way is `percent:-50,-50,200,200`; one that keeps the right half of a 2000 × 1500 original, 1000 × 1500 itself, is `-1000,0,2000,1500` with `"width": 1000, "height": 1500`. The first version (the original) has no frame; a frame that does not parse, or pixels without `width` and `height`, is ignored with one console warning (the version is shown with the original's framing). The viewer then draws every version at the original's scale in one box big enough for them all, with the original's pixels lined up across versions. The box is reserved from the frames as soon as the original has loaded, so a version loading, or a change of mode, never moves the page. The part of the box a version (or the original) does not cover is empty, shown with a faint hatch, never content. **Switch**: each version at its place (the original at its box, the rest empty; a crop hides the original around it, so the crop shows at its place in the original's box). **Reveal**: the divider spans the whole box; on its start side the version, on its end side the original over its box and empty around it, so the divider shows exactly what was added. A crop's side shows the crop where it exists and is empty around it (the original is not drawn there), so the divider shows exactly what was cut. **Fade**: the version, with the original over its box fading out, so what was added around it shows from the start; with a crop, the original fades out to the crop where it exists and to empty around it. Regions are defined on the original and their outlines stay on the original's box in every mode and version. Say what was added in the version's note:
|
|
614
627
|
|
|
615
628
|
```html
|
|
616
629
|
data-versions='[ {"label": "Original"}, {"label": "Expanded frame (AI)", "href":
|
|
@@ -618,7 +631,7 @@ A photo can have more than one version of the same picture: the original scan, a
|
|
|
618
631
|
original edges is painted by an AI model."} ]'
|
|
619
632
|
```
|
|
620
633
|
|
|
621
|
-
With pixels: `"frame": "430,240,1600,1400", "width": 2500, "height": 2000`.
|
|
634
|
+
With pixels: `"frame": "430,240,1600,1400", "width": 2500, "height": 2000`. A crop (the original reaches past it): `{"label": "Detail", "href": "/media/detail.jpg", "frame": "percent:-25,-25,150,150"}`, the middle two thirds each way.
|
|
622
635
|
|
|
623
636
|
- **Event.** `uvalib-lightbox-version` when the visitor changes the comparison (once a slider settles): `detail: { id, mode, index, value }` (`mode` `switch`, `wipe` or `fade`; `index` the version shown or compared, from 0; `value` the percentage of it shown, `null` in Switch). Not fired on open or for a comparison restored from the address. Bubbles and is composed. Analytics: `['uvalib-lightbox', 'compare', '<mode>', N]` (N the version's place from 1), never a label or URL.
|
|
624
637
|
|
|
@@ -964,6 +977,9 @@ An inline message for the page's own content: a search error, a notice that resu
|
|
|
964
977
|
- **Tokens:** inherited `--uva-*` custom properties (for example `--uva-brand-blue`, `--uva-font-family`), set on `:root` or an ancestor of the component. The full set is in `tokens.css`. Components read tokens with fallbacks and never set them.
|
|
965
978
|
- **Parts (shadow mode):** on a page, `site-page::part(header)`, `site-page::part(footer)` and `site-page::part(main)`. For a standalone element, `site-header::part(header)` or `site-footer::part(footer)`.
|
|
966
979
|
- **Light mode** has no shadow parts; use ordinary selectors, which win over the layered component styles.
|
|
980
|
+
- **States:** runtime state you can style without new attributes, in both modes, through custom states (`ElementInternals.states`): `uvalib-combobox:state(open)` (the popup is showing), `:state(invalid)` (shown as invalid, with `aria-invalid`) and `:state(loading)`; `uvalib-filter-drawer:state(modal)` (at or below the breakpoint) and `:state(open)`; `uvalib-lightbox:state(open)`; `uvalib-tag-list:state(expanded)` (after Show all). They are read-only from the page and never appear as attributes; in a browser without custom states they simply never match, so use them for extra styling, not for anything the page needs.
|
|
981
|
+
- **Own width, not the viewport's:** `<uvalib-photo-grid>`, `<uvalib-card-grid>`, `<uvalib-metadata>`, `<events-section>`, `<bento-box>` and base.css's `.uvalib-toolbar` and `.uvalib-result-list` are CSS size containers (`container-type: inline-size`) and change layout by their own width, so they adapt in a sidebar or a drawer. Container query `em`s are the container's own; inline-size containment means they fill their parent but do not size to their content, so give one a width in a shrink-to-fit box. To query them from your own CSS, name your own container rather than relying on the nearest one.
|
|
982
|
+
- **Line wrapping:** short headings the components render (card titles, list and section headings, the lightbox caption, the empty state's heading, a non-link result title) use `text-wrap: balance`, and longer text (card excerpts, result snippets, metadata values, messages, the empty state's sentence) `text-wrap: pretty`. Never on badges or buttons: balanced lines leave empty space in a box. It is look, so `no-style` drops it in the components (base.css keeps it); browsers without it wrap as before. Override with `text-wrap: wrap`.
|
|
967
983
|
- **Highlight:** `--uva-color-highlight` and `--uva-color-on-highlight` colour highlighted search terms (`<mark>` in `.uvalib-result__snippet`): library.virginia.edu's orange-200 (`--uva-brand-orange-200`, `#ffc999`) with dark text (9.5:1) in light, `#854200` with white text (7.6:1) in dark. Read them for your own highlights, with the light values as fallbacks: `background: var(--uva-color-highlight, #ffc999); color: var(--uva-color-on-highlight, #2b2b2b)`, and keep the highlight bold (or otherwise marked) so it is not colour alone.
|
|
968
984
|
|
|
969
985
|
## Dark mode
|
|
@@ -1155,7 +1171,8 @@ The filter and the date range are controlled: set `value` (and `scopeValue`) fro
|
|
|
1155
1171
|
- **Forms.** The element is form-associated: with `name` it submits the chosen suggestion's `value`, or else the text, in a plain `<form>`. A reset restores the `value` attribute; `required`, `disabled` and a disabled `<fieldset>` work as on an `<input>`.
|
|
1156
1172
|
- **Events.** `select` (`detail: { item }`, the object you gave) when a suggestion is chosen; `change` (`detail: { value, item }`) when the value is committed: a choice, a clear, or leaving the field with changed text. Both bubble and are composed. The field's own `input` events reach the page; its native `change` and `select` do not.
|
|
1157
1173
|
- **Accessibility.** A visible `label` is required (one console warning without it); `description` is a hint read with the field (`aria-describedby`). The field is a real `<input role="combobox">` with `aria-expanded`, `aria-controls` and `aria-activedescendant`; the popup is a `role="listbox"`. A polite status says “5 suggestions”, “No suggestions” or “Loading suggestions” half a second after the list settles, never on the first render. The clear button is a real button named “Clear <label>”, 44px, shown only with text, and returns focus to the field. Suggestions are at least 44px tall; the active one has a fill, a bar at its start and an outline (Highlight in forced colors), not colour alone.
|
|
1158
|
-
- **Layout.** The popup
|
|
1174
|
+
- **Layout.** The popup sits under the field, as wide as it, so it never overflows a 320px screen, and follows the field when the page or a scrolling container scrolls; a long list scrolls inside it with the active suggestion kept in view. Where the browser supports the Popover API and CSS anchor positioning (Chrome, Edge and Safari today), it is a manual popover in the top layer anchored to the field, so an ancestor with `overflow: hidden` or a scrolling panel (such as `<uvalib-filter-drawer>`'s) never clips it, it opens above the field when there is no room below, and inside a modal dialog it shows above the dialog. Elsewhere (Firefox today) it is positioned inside the element, and an ancestor with `overflow: hidden` clips it. Its ARIA is the same either way. Dark mode follows the role tokens. `no-style` keeps the layout, the 44px targets and the hidden status.
|
|
1175
|
+
- **States.** `:state(open)` while the popup shows, `:state(invalid)` while the text is shown as invalid, `:state(loading)` while `src` loads (see [Tokens and theming](#tokens-and-theming)).
|
|
1159
1176
|
- **Before the script loads.** `base.css` shows the label (from the attribute) and holds the field's height, plus one line for a `description`, so nothing below moves on upgrade. A fallback `<input>` child is a working field meanwhile (with `list`, the browser's own suggestions); once upgraded it is disabled so it does not submit twice. Other children stay hidden.
|
|
1160
1177
|
- **Analytics.** `select` with the label and the suggestion's position (from 1), and `clear` with the label. Never the typed text or a suggestion's text or value: they can be people's names.
|
|
1161
1178
|
|
|
@@ -1288,7 +1305,7 @@ For search pages, Virgo-like result lists and digital collections: badges and la
|
|
|
1288
1305
|
</div>
|
|
1289
1306
|
```
|
|
1290
1307
|
|
|
1291
|
-
- **`.uvalib-toolbar`** is a wrapping row with consistent gaps (0.75rem by 1rem), controls aligned on their bottom edge. **`__field`** stacks a label over its control (keep the visible `<label>`); **`__field--grow`** (or a `.uvalib-search-form` in the toolbar) takes the spare width. **`__group`** holds a chip group (`.uvalib-button` toggles with `aria-pressed`; give the group a name with `role="group"` and `aria-label`). **`__summary`** sits at the end in muted text (AAA).
|
|
1308
|
+
- **`.uvalib-toolbar`** is a wrapping row with consistent gaps (0.75rem by 1rem), controls aligned on their bottom edge. **`__field`** stacks a label over its control (keep the visible `<label>`); **`__field--grow`** (or a `.uvalib-search-form` in the toolbar) takes the spare width. **`__group`** holds a chip group (`.uvalib-button` toggles with `aria-pressed`; give the group a name with `role="group"` and `aria-label`). **`__summary`** sits at the end in muted text (AAA). When the toolbar itself is 30em wide or narrower (480px at 16px; a phone, a 250px sidebar or a drawer) every item takes the full width, in source order: it is a CSS size container (`uvalib-toolbar`), so it follows its own width, not the viewport's. In a shrink-to-fit box (a flex item with no basis), give it a width.
|
|
1292
1309
|
- **`<uvalib-results-count>`** writes “Showing 48 of 3,694 shoots” (“Showing all 12 shoots”, “Showing 1 shoot”, “No shoots” for a total or a shown of 0) from `shown`, `total`, `noun` and `singular`, and keeps it in sync at once; a missing or blank `shown` / `total` is unset, not 0. A hidden polite live region announces it once the text has not changed for a second (`announce-delay`), then clears itself after five seconds. The first render is never announced, but when it had no count yet (results still loading), the first count that arrives is. A count that comes back after a different one (a new search with as many results) is announced again. Update `shown` / `total` from your script after each filter change, and leave them unset while loading rather than setting 0. `<bento-box>` and `<uvalib-pagefind-search>` announce their own counts, so do not add one beside them.
|
|
1293
1310
|
|
|
1294
1311
|
```js
|
|
@@ -1342,7 +1359,7 @@ For long result sets (hundreds or thousands of rows that re-render as the visito
|
|
|
1342
1359
|
</ul>
|
|
1343
1360
|
```
|
|
1344
1361
|
|
|
1345
|
-
- **`.uvalib-result-list`** is a `<ul>` without bullets; **`.uvalib-result`** a row, separated by a rule. In a row: **`__meta`** (badges, a date, a format, in small muted text), **`__title`** (the row's one link: on a heading holding the `<a>`, or on the `<a>` itself; only as wide as its text), **`__snippet`** and **`__actions`** (secondary actions, at the end of the row
|
|
1362
|
+
- **`.uvalib-result-list`** is a `<ul>` without bullets; **`.uvalib-result`** a row, separated by a rule. In a row: **`__meta`** (badges, a date, a format, in small muted text), **`__title`** (the row's one link: on a heading holding the `<a>`, or on the `<a>` itself; only as wide as its text), **`__snippet`** and **`__actions`** (secondary actions, at the end of the row when the list is wide and below the text, wrapping, when the list itself is 40em wide or narrower: the list is a CSS size container, `uvalib-result-list`, so a list in a sidebar or a drawer gets the narrow layout as a phone does; in a shrink-to-fit box, give it a width). Put meta, title and snippet first, actions last. Keep one link per row and give each action a unique name (a visually hidden “of <title>, <date>”).
|
|
1346
1363
|
- **Highlights:** a `<mark>` in `__snippet` is bold on `--uva-color-highlight` with `--uva-color-on-highlight` text (9.5:1 light, 7.6:1 dark), and the system Highlight colours in forced colors: never colour alone. A `<mark>` elsewhere is left to the page.
|
|
1347
1364
|
- **Groups:** for date-sorted results, a heading and one list per group (by year, say); none for relevance order.
|
|
1348
1365
|
- **Speed:** each row has `content-visibility: auto` with `contain-intrinsic-block-size: auto 7rem`, so rows off screen are not laid out or painted until they scroll near. They stay in the DOM and the accessibility tree; find-in-page, fragment links and focus still reach them (the browser renders a row as it is found). The rows keep 0.5rem of inline padding because that property also clips painting to the row, and the focus rings need the room. Render the rows as one HTML string or a `DocumentFragment` rather than one element at a time.
|
|
@@ -2436,7 +2453,7 @@ A row of chips: a segmented control or single-select filter (`mode="single"`), f
|
|
|
2436
2453
|
|
|
2437
2454
|
### `<uvalib-combobox>`
|
|
2438
2455
|
|
|
2439
|
-
An editable text field that suggests values as you type, from a local list or a URL: a person, place or subject picker. It follows the WAI-ARIA APG “Editable Combobox With List Autocomplete”: a real `<input role="combobox">` and a `role="listbox"` popup under it. Suggestions come from the `items` property (`{ value, label?, description?, disabled? }` objects, or strings), from `<option>` children (directly or inside a `<datalist>`; the `label` attribute or text is the label, `data-description` the second line), or from `src`, a URL template with `{q}` (fetched 250 ms after the last keystroke once the text has `min-length` characters, default 1; a newer keystroke aborts the older request; the response is a JSON array of the same shape, or anything `transform(data, query)` turns into one). `items` wins over the children while set. Local suggestions match anywhere in the label, ignoring case and accents, those starting with the text first, then those with a word starting with it; at most `max-results` (default 50, 0 for all) are shown, which keeps a list of 16,000 people fast. The matched text is bold and underlined in a `<mark>`. Keys: Down opens the list on the first suggestion and moves (wrapping), Up opens on the last, Alt+Down opens without moving, Alt+Up closes, Enter chooses the active suggestion (and then does not submit the form; with none active, Enter submits as in any field), Escape closes the list and a second Escape clears the field, Home, End, Left and Right move the caret, and Tab leaves without choosing. A real clear button (“Clear <label>”, 44px, shown only with text) empties the field and returns focus to it. Free text is allowed: `value` is whatever is in the field, and `selected` the chosen suggestion (or null); typing after choosing clears it, and leaving the field with text that is exactly one suggestion's label chooses it. `must-choose` makes any other text invalid (“Choose one of the suggestions.”). The element is form-associated: with `name` it submits the chosen suggestion's value, or else the text, and a form reset restores the `value` attribute. `required` and `disabled` (also from a disabled fieldset) work as on an input. A polite status says “5 suggestions”, “50 of 1,234 suggestions”, “No suggestions”, “Loading suggestions” or “Couldn't load suggestions” half a second after the list settles (never on the first render); the popup shows the same notes visibly. A failed load never throws. Before it upgrades, `base.css` shows the label (from the attribute) and holds the field's height. A fallback `<input list>` child works as a plain field meanwhile; on upgrade its text, `name` and `placeholder` carry over, and it is disabled so it does not submit twice.
|
|
2456
|
+
An editable text field that suggests values as you type, from a local list or a URL: a person, place or subject picker. It follows the WAI-ARIA APG “Editable Combobox With List Autocomplete”: a real `<input role="combobox">` and a `role="listbox"` popup under it. Suggestions come from the `items` property (`{ value, label?, description?, disabled? }` objects, or strings), from `<option>` children (directly or inside a `<datalist>`; the `label` attribute or text is the label, `data-description` the second line), or from `src`, a URL template with `{q}` (fetched 250 ms after the last keystroke once the text has `min-length` characters, default 1; a newer keystroke aborts the older request; the response is a JSON array of the same shape, or anything `transform(data, query)` turns into one). `items` wins over the children while set. Local suggestions match anywhere in the label, ignoring case and accents, those starting with the text first, then those with a word starting with it; at most `max-results` (default 50, 0 for all) are shown, which keeps a list of 16,000 people fast. The matched text is bold and underlined in a `<mark>`. Keys: Down opens the list on the first suggestion and moves (wrapping), Up opens on the last, Alt+Down opens without moving, Alt+Up closes, Enter chooses the active suggestion (and then does not submit the form; with none active, Enter submits as in any field), Escape closes the list and a second Escape clears the field, Home, End, Left and Right move the caret, and Tab leaves without choosing. A real clear button (“Clear <label>”, 44px, shown only with text) empties the field and returns focus to it. Free text is allowed: `value` is whatever is in the field, and `selected` the chosen suggestion (or null); typing after choosing clears it, and leaving the field with text that is exactly one suggestion's label chooses it. `must-choose` makes any other text invalid (“Choose one of the suggestions.”). The element is form-associated: with `name` it submits the chosen suggestion's value, or else the text, and a form reset restores the `value` attribute. `required` and `disabled` (also from a disabled fieldset) work as on an input. A polite status says “5 suggestions”, “50 of 1,234 suggestions”, “No suggestions”, “Loading suggestions” or “Couldn't load suggestions” half a second after the list settles (never on the first render); the popup shows the same notes visibly. A failed load never throws. Where the browser supports the Popover API and CSS anchor positioning, the popup is a manual popover in the top layer, anchored under the field and as wide as it (above it when there is no room below), so an ancestor with `overflow: hidden` or a scrolling panel never clips it. Elsewhere it is positioned under the field inside the element, as before. Pages can style the runtime state with `:state(open)`, `:state(invalid)` and `:state(loading)` (no attributes are added). Before it upgrades, `base.css` shows the label (from the attribute) and holds the field's height. A fallback `<input list>` child works as a plain field meanwhile; on upgrade its text, `name` and `placeholder` carry over, and it is disabled so it does not submit twice.
|
|
2440
2457
|
|
|
2441
2458
|
#### Attributes
|
|
2442
2459
|
|
|
@@ -2467,6 +2484,14 @@ An editable text field that suggests values as you type, from a local list or a
|
|
|
2467
2484
|
| `option` | Each suggestion. |
|
|
2468
2485
|
| `description` | The hint under the field. |
|
|
2469
2486
|
|
|
2487
|
+
#### CSS states
|
|
2488
|
+
|
|
2489
|
+
| State | Description |
|
|
2490
|
+
|---|---|
|
|
2491
|
+
| `:state(open)` | The popup is showing (suggestions or a note such as “No suggestions”). |
|
|
2492
|
+
| `:state(invalid)` | The text was shown as invalid (`aria-invalid="true"`: `must-choose` text that is not a suggestion, after leaving the field or pressing Enter). |
|
|
2493
|
+
| `:state(loading)` | Suggestions from `src` are loading. |
|
|
2494
|
+
|
|
2470
2495
|
#### Events
|
|
2471
2496
|
|
|
2472
2497
|
| Event | Description |
|
|
@@ -2683,7 +2708,7 @@ A faceted-search filter: a fieldset of checkboxes (value plus result count), opt
|
|
|
2683
2708
|
|
|
2684
2709
|
### `<uvalib-filter-drawer>`
|
|
2685
2710
|
|
|
2686
|
-
A search page's form and filters: a plain sidebar on wide screens, and on narrow ones a “Search and filters” button that opens them in a modal panel from the side. Put the page's search form, `<uvalib-filter>`s and other facets inside. Above `breakpoint` (default `48rem`) they are shown as written: no button, no dialog role. At and below it only the button is shown; it opens a native `<dialog>` (`showModal()`) with a visible heading (the `label`) and a 44px Close button, which takes focus. Escape, Close and a click on the backdrop close it, and focus returns to the button; widening the window past the breakpoint closes it and keeps focus where it was. While it is open the rest of the page, including `<site-page>`'s header, skip link and alerts, is inert (the browser's modal dialog), so focus cannot leave it except to the browser itself, and nothing else is announced. The children are the same nodes in both layouts (moved, never re-created): typed text, checked boxes, listeners and each filter's state are kept. Inert content is not announced, so results counts and status notices outside the panel would go silent while the visitor filters: name them in `live` (space-separated ids) and the drawer repeats what they announce in its own polite live region while it is open. `count` (the page's number of active filters) is shown on the button when above 0. The drawer never counts by itself: only the page knows which inputs are filters.
|
|
2711
|
+
A search page's form and filters: a plain sidebar on wide screens, and on narrow ones a “Search and filters” button that opens them in a modal panel from the side. Put the page's search form, `<uvalib-filter>`s and other facets inside. Above `breakpoint` (default `48rem`) they are shown as written: no button, no dialog role. At and below it only the button is shown; it opens a native `<dialog>` (`showModal()`) with a visible heading (the `label`) and a 44px Close button, which takes focus. Escape, Close and a click on the backdrop close it, and focus returns to the button; widening the window past the breakpoint closes it and keeps focus where it was. While it is open the rest of the page, including `<site-page>`'s header, skip link and alerts, is inert (the browser's modal dialog), so focus cannot leave it except to the browser itself, and nothing else is announced. The children are the same nodes in both layouts (moved, never re-created): typed text, checked boxes, listeners and each filter's state are kept. Inert content is not announced, so results counts and status notices outside the panel would go silent while the visitor filters: name them in `live` (space-separated ids) and the drawer repeats what they announce in its own polite live region while it is open. `count` (the page's number of active filters) is shown on the button when above 0. The drawer never counts by itself: only the page knows which inputs are filters. Pages can style the runtime layout with `:state(modal)` (at or below the breakpoint: the button and panel) and `:state(open)` (the panel is open).
|
|
2687
2712
|
|
|
2688
2713
|
#### Attributes
|
|
2689
2714
|
|
|
@@ -2715,6 +2740,13 @@ A search page's form and filters: a plain sidebar on wide screens, and on narrow
|
|
|
2715
2740
|
| `close` | The Close button. |
|
|
2716
2741
|
| `body` | The wrapper of the children, in the sidebar or the panel. |
|
|
2717
2742
|
|
|
2743
|
+
#### CSS states
|
|
2744
|
+
|
|
2745
|
+
| State | Description |
|
|
2746
|
+
|---|---|
|
|
2747
|
+
| `:state(modal)` | The viewport is at or below the breakpoint: the button and panel, not the sidebar. |
|
|
2748
|
+
| `:state(open)` | The panel is open. |
|
|
2749
|
+
|
|
2718
2750
|
#### Events
|
|
2719
2751
|
|
|
2720
2752
|
| Event | Description |
|
|
@@ -2797,7 +2829,7 @@ An image with numbered region outlines (people, objects, inscriptions) and a lis
|
|
|
2797
2829
|
|
|
2798
2830
|
### `<uvalib-lightbox>`
|
|
2799
2831
|
|
|
2800
|
-
An accessible image viewer over a set of plain links. With JavaScript a primary click opens a modal dialog; without it (or with a modified click) the link opens the image as before. Wrap the links, or point at them with `selector` (for example `a.pb-image` on a reading page). There is no autoplay and no carousel. The dialog is labelled by the caption (`data-caption`, else the image alt, else the link text). Focus moves to Close on open and back to the trigger on close. Escape and a click on the backdrop close it. With more than one image, Previous and Next and the arrow keys move through the set (wrapping), and a polite “3 of 13” counter is shown. Full size opens the original image in a new tab. A IIIF Image API URL keeps its region; only the size becomes `!W,H` for the viewport. TIFF and JPEG2000 URLs are left as written. `url-param` (for example `photo`) keeps `?photo=<id>` in sync, including on a hash route (`#/text?photo=<id>`): opening pushes a history entry, stepping replaces it, and Back closes. Optional details: children with `slot="details"` (and `data-for` equal to the item's id or its position from 1; without `data-for` they show for every image), or `data-details-id` on a link pointing at an element elsewhere on the page. Either is shown inside the dialog and put back exactly (same place, `hidden` and `slot`) when the viewer moves on or closes. The `data-details-id` element stays in the page (in shadow mode it becomes a child of the lightbox slotted into the dialog), so `getElementById`, the page's CSS (except selectors through its old ancestors) and listeners keep working; nothing is cloned. Details that appear while their image is open (rendered after a fetch) are shown then. `open(idOrIndex)` and `close({ focus })` let the page open or close the viewer itself; `uvalib-lightbox-open` and `uvalib-lightbox-close` say when it did. Optional regions (people, objects, inscriptions): `data-regions` on a link, a JSON array of `{ label, x, y, w, h, unit? }` or `xywh` values each followed by its label, separated by `;` (`percent:10,20,30,40 Person 1; percent:55,15,20,30 Sign`), or the `regions` callback. The open image then shows numbered outlines (`<uvalib-image-regions>`, loaded on first use) and a list of the regions beside it, with a "Show regions" toggle (`aria-pressed`) that hides the outlines. Pixel regions are measured in `data-image-width` × `data-image-height` when set (the viewer shows a resized IIIF image), else in the image's natural size. Or the page's own list, with its own buttons: `data-regions-list="<id>"` on a link (or the `regionsList` callback) names an `<ol>` or `<ul>` of `<li data-xywh>` anywhere in the page, usually `hidden`. While that image is open the list (the same nodes, so the page's listeners keep working) is the region list: in shadow mode it becomes a child of the lightbox slotted into the viewer, not moved into the shadow root, so the page's CSS still applies to it. When the image changes or the viewer closes it goes back where it was, `hidden` as before. It wins over `data-regions`. Optional versions of an image (an original scan and an AI colorization, a restoration, an infrared capture): `data-versions` on a link, a JSON array of `{ label, href?, note? }` whose first entry is the link's own image, or the `versions` callback. The viewer then compares them over the photo (loaded on first use): Switch (a segmented control), Reveal (a divider: click or tap the photo, or use the slider) or Fade (a slider), `compare` choosing the first. A version's `note` shows under the photo while it is visible, and the image's accessible name ends with the label of the version shown. `version-param` (with `url-param`) keeps the comparison in the address: `?version=2` (Switch, the version from 0), `?version=wipe:40` or `?version=fade:60` (the percentage of the other version shown; `wipe:40:2` compares the original with version 2). A version with a different framing (an AI-expanded frame, a crop, the whole plate) gives `frame`, the original's box in it (`percent:x,y,w,h`, or pixels of its `width` × `height`): the viewer draws every version at the original's scale in one box, the original lined up, and regions stay on it.
|
|
2832
|
+
An accessible image viewer over a set of plain links. With JavaScript a primary click opens a modal dialog; without it (or with a modified click) the link opens the image as before. Wrap the links, or point at them with `selector` (for example `a.pb-image` on a reading page). There is no autoplay and no carousel. The dialog is labelled by the caption (`data-caption`, else the image alt, else the link text). Focus moves to Close on open and back to the trigger on close. Escape and a click on the backdrop close it. With more than one image, Previous and Next and the arrow keys move through the set (wrapping), and a polite “3 of 13” counter is shown. Full size opens the original image in a new tab. A IIIF Image API URL keeps its region; only the size becomes `!W,H` for the viewport. TIFF and JPEG2000 URLs are left as written. `url-param` (for example `photo`) keeps `?photo=<id>` in sync, including on a hash route (`#/text?photo=<id>`): opening pushes a history entry, stepping replaces it, and Back closes. Optional details: children with `slot="details"` (and `data-for` equal to the item's id or its position from 1; without `data-for` they show for every image), or `data-details-id` on a link pointing at an element elsewhere on the page. Either is shown inside the dialog and put back exactly (same place, `hidden` and `slot`) when the viewer moves on or closes. The `data-details-id` element stays in the page (in shadow mode it becomes a child of the lightbox slotted into the dialog), so `getElementById`, the page's CSS (except selectors through its old ancestors) and listeners keep working; nothing is cloned. Details that appear while their image is open (rendered after a fetch) are shown then. `open(idOrIndex)` and `close({ focus })` let the page open or close the viewer itself; `uvalib-lightbox-open` and `uvalib-lightbox-close` say when it did. Optional regions (people, objects, inscriptions): `data-regions` on a link, a JSON array of `{ label, x, y, w, h, unit? }` or `xywh` values each followed by its label, separated by `;` (`percent:10,20,30,40 Person 1; percent:55,15,20,30 Sign`), or the `regions` callback. The open image then shows numbered outlines (`<uvalib-image-regions>`, loaded on first use) and a list of the regions beside it, with a "Show regions" toggle (`aria-pressed`) that hides the outlines. Pixel regions are measured in `data-image-width` × `data-image-height` when set (the viewer shows a resized IIIF image), else in the image's natural size. Or the page's own list, with its own buttons: `data-regions-list="<id>"` on a link (or the `regionsList` callback) names an `<ol>` or `<ul>` of `<li data-xywh>` anywhere in the page, usually `hidden`. While that image is open the list (the same nodes, so the page's listeners keep working) is the region list: in shadow mode it becomes a child of the lightbox slotted into the viewer, not moved into the shadow root, so the page's CSS still applies to it. When the image changes or the viewer closes it goes back where it was, `hidden` as before. It wins over `data-regions`. Optional versions of an image (an original scan and an AI colorization, a restoration, an infrared capture): `data-versions` on a link, a JSON array of `{ label, href?, note? }` whose first entry is the link's own image, or the `versions` callback. The viewer then compares them over the photo (loaded on first use): Switch (a segmented control), Reveal (a divider: click or tap the photo, or use the slider) or Fade (a slider), `compare` choosing the first. A version's `note` shows under the photo while it is visible, and the image's accessible name ends with the label of the version shown. `version-param` (with `url-param`) keeps the comparison in the address: `?version=2` (Switch, the version from 0), `?version=wipe:40` or `?version=fade:60` (the percentage of the other version shown; `wipe:40:2` compares the original with version 2). `data-version` on a link (the same values) opens that image on that version, from a click, `open()` or Previous and Next; an address with `version-param` wins. A version with a different framing (an AI-expanded frame, a crop, the whole plate) gives `frame`, the original's box in it (`percent:x,y,w,h`, or pixels of its `width` × `height`): the viewer draws every version at the original's scale in one box, the original lined up, and regions stay on it. Pages can style the element while the viewer is open with `:state(open)`.
|
|
2801
2833
|
|
|
2802
2834
|
#### Attributes
|
|
2803
2835
|
|
|
@@ -2831,6 +2863,12 @@ An accessible image viewer over a set of plain links. With JavaScript a primary
|
|
|
2831
2863
|
| `regions` | The `<uvalib-image-regions>` around an image with regions. |
|
|
2832
2864
|
| `compare` | The version comparison controls and notes under the photo. |
|
|
2833
2865
|
|
|
2866
|
+
#### CSS states
|
|
2867
|
+
|
|
2868
|
+
| State | Description |
|
|
2869
|
+
|---|---|
|
|
2870
|
+
| `:state(open)` | The viewer is open. |
|
|
2871
|
+
|
|
2834
2872
|
#### Events
|
|
2835
2873
|
|
|
2836
2874
|
| Event | Description |
|
|
@@ -3039,13 +3077,13 @@ Previous/next section links, as on a reading page, or a numbered page list. Prev
|
|
|
3039
3077
|
|
|
3040
3078
|
### `<uvalib-photo-grid>`
|
|
3041
3079
|
|
|
3042
|
-
Justified rows of thumbnails. Each direct child that is a link or a button is one photo; its image keeps its shape from the `width` and `height` attributes, or from the loaded image, so the row does not jump when the picture arrives. The row is about 220px tall and shorter
|
|
3080
|
+
Justified rows of thumbnails. Each direct child that is a link or a button is one photo; its image keeps its shape from the `width` and `height` attributes, or from the loaded image, so the row does not jump when the picture arrives. The row is about 220px tall and shorter when the grid is narrow (a phone, a sidebar); `row-height` sets that height. Every item stays a real link or button. An image with no visible text gets a visible caption from its alt (the caption is then the accessible name, and a repeated alt is cleared). The original alt is kept in `data-uvalib-alt` so a lightbox still describes the picture. An item with no name at all is captioned “Photo N” and warned about once; that caption is renumbered when the photos change order. An `aria-label` is left as the name: the grid does not add a caption that would disagree with it. Put the grid inside `<uvalib-lightbox>` and a plain click opens the viewer. A badge sits on the thumbnail: `<span slot="badge">` inside the link or button, or `data-badge` on that item (for example “seq” or “3 photos”). It is read after the caption (“The Lawn, 3 photos”). When the item already has an `aria-label`, the badge is appended to that label (the author’s words stay in `data-uvalib-label`) and an alt that repeats those words is cleared. A badge does not replace the alt caption.
|
|
3043
3081
|
|
|
3044
3082
|
#### Attributes
|
|
3045
3083
|
|
|
3046
3084
|
| Attribute | Type | Default | Description |
|
|
3047
3085
|
|---|---|---|---|
|
|
3048
|
-
| `row-height` | `string` | `''` | Row height. A bare number is pixels (`220` is 220px); `px`, `rem`, `em`, `vh`, `vw`, `vmin`, `vmax`, `ch` and `%` are kept. Empty uses 220px, or 140px when the
|
|
3086
|
+
| `row-height` | `string` | `''` | Row height. A bare number is pixels (`220` is 220px); `px`, `rem`, `em`, `vh`, `vw`, `vmin`, `vmax`, `ch` and `%` are kept. Empty uses 220px, or 140px when the grid itself is narrower than 48rem (a phone, a sidebar, a drawer). |
|
|
3049
3087
|
| `no-shadow-dom` | `boolean` | `false` | |
|
|
3050
3088
|
| `no-style` | `boolean` | `false` | |
|
|
3051
3089
|
|
|
@@ -3139,7 +3177,7 @@ Tabs, as on library.virginia.edu: a row of buttons over one visible panel. Each
|
|
|
3139
3177
|
|
|
3140
3178
|
### `<uvalib-tag-list>`
|
|
3141
3179
|
|
|
3142
|
-
A labelled list of keywords or subjects that wraps: each tag a link (for example a search for that term) or plain text. Link tags are outlined pills in the link colour; plain tags are filled chips (the card chip's colours), so a link never looks like a label. Every tag and the toggle are at least 2rem (34px) tall and wide, 0.5rem apart. Give the tags as children: `<a href>` for a link, any other element (`<span>`) for plain text. A child's `lang` and `dir` are kept, and so is inline markup inside it (`em`, `cite`, `abbr`, `bdi`, a `span lang`…), copied element by element (never parsed as HTML). Or set `href-template` (with `{tag}`, replaced by the URL-encoded text) to make every tag without its own href a link; a blank href counts as none. Apps can set the `items` property (`{ label, href?, lang?, dir? }`) instead; it wins over the children. Children with no text are skipped with one warning. `label` names the list (shown above it, or visually hidden with `hide-label`); without one a console warning is logged. `limit` shows that many tags and a “Show all N” button (`aria-expanded`, `aria-controls`), which reveals the rest in place and keeps focus. Analytics never sends a tag's text (record tags can be user-submitted or machine-made), and by default not the label either, which a template may fill from a record: the name is the list's place among the tag lists on the page, `list N`. Add `track-label` when the label is fixed text the page author wrote (“Subjects”), to send it instead.
|
|
3180
|
+
A labelled list of keywords or subjects that wraps: each tag a link (for example a search for that term) or plain text. Link tags are outlined pills in the link colour; plain tags are filled chips (the card chip's colours), so a link never looks like a label. Every tag and the toggle are at least 2rem (34px) tall and wide, 0.5rem apart. Give the tags as children: `<a href>` for a link, any other element (`<span>`) for plain text. A child's `lang` and `dir` are kept, and so is inline markup inside it (`em`, `cite`, `abbr`, `bdi`, a `span lang`…), copied element by element (never parsed as HTML). Or set `href-template` (with `{tag}`, replaced by the URL-encoded text) to make every tag without its own href a link; a blank href counts as none. Apps can set the `items` property (`{ label, href?, lang?, dir? }`) instead; it wins over the children. Children with no text are skipped with one warning. `label` names the list (shown above it, or visually hidden with `hide-label`); without one a console warning is logged. `limit` shows that many tags and a “Show all N” button (`aria-expanded`, `aria-controls`), which reveals the rest in place and keeps focus. Pages can style the list while every tag is shown with `:state(expanded)`. Analytics never sends a tag's text (record tags can be user-submitted or machine-made), and by default not the label either, which a template may fill from a record: the name is the list's place among the tag lists on the page, `list N`. Add `track-label` when the label is fixed text the page author wrote (“Subjects”), to send it instead.
|
|
3143
3181
|
|
|
3144
3182
|
#### Attributes
|
|
3145
3183
|
|
|
@@ -3153,6 +3191,12 @@ A labelled list of keywords or subjects that wraps: each tag a link (for example
|
|
|
3153
3191
|
| `no-shadow-dom` | `boolean` | `false` | |
|
|
3154
3192
|
| `no-style` | `boolean` | `false` | |
|
|
3155
3193
|
|
|
3194
|
+
#### CSS states
|
|
3195
|
+
|
|
3196
|
+
| State | Description |
|
|
3197
|
+
|---|---|
|
|
3198
|
+
| `:state(expanded)` | Show all was pressed: every tag is shown (the toggle's `aria-expanded="true"`). |
|
|
3199
|
+
|
|
3156
3200
|
#### Events
|
|
3157
3201
|
|
|
3158
3202
|
| Event | Description |
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Custom states (`ElementInternals.states`, matched by `:state(name)`): runtime flags a page
|
|
3
|
+
* can style but not set. They reach CSS only, never assistive technologies, so each one
|
|
4
|
+
* mirrors state the component already exposes (aria-expanded, aria-invalid, a dialog's open).
|
|
5
|
+
*/
|
|
6
|
+
/** The element's internals, or undefined where the browser has none (or they are taken). */
|
|
7
|
+
export declare function attachStateInternals(el: HTMLElement): ElementInternals | undefined;
|
|
8
|
+
/**
|
|
9
|
+
* Turn `name` on or off. A no-op without `states` (older engines), and where only the old
|
|
10
|
+
* `--name` syntax is accepted (Chromium before 125 throws on a plain name).
|
|
11
|
+
*/
|
|
12
|
+
export declare function setState(internals: ElementInternals | undefined, name: string, on: boolean): void;
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Custom states (`ElementInternals.states`, matched by `:state(name)`): runtime flags a page
|
|
3
|
+
* can style but not set. They reach CSS only, never assistive technologies, so each one
|
|
4
|
+
* mirrors state the component already exposes (aria-expanded, aria-invalid, a dialog's open).
|
|
5
|
+
*/
|
|
6
|
+
/** The element's internals, or undefined where the browser has none (or they are taken). */
|
|
7
|
+
export function attachStateInternals(el) {
|
|
8
|
+
try {
|
|
9
|
+
return typeof el.attachInternals === 'function' ? el.attachInternals() : undefined;
|
|
10
|
+
}
|
|
11
|
+
catch {
|
|
12
|
+
return undefined;
|
|
13
|
+
}
|
|
14
|
+
}
|
|
15
|
+
/**
|
|
16
|
+
* Turn `name` on or off. A no-op without `states` (older engines), and where only the old
|
|
17
|
+
* `--name` syntax is accepted (Chromium before 125 throws on a plain name).
|
|
18
|
+
*/
|
|
19
|
+
export function setState(internals, name, on) {
|
|
20
|
+
const states = internals?.states;
|
|
21
|
+
if (!states)
|
|
22
|
+
return;
|
|
23
|
+
try {
|
|
24
|
+
if (on)
|
|
25
|
+
states.add(name);
|
|
26
|
+
else
|
|
27
|
+
states.delete(name);
|
|
28
|
+
}
|
|
29
|
+
catch {
|
|
30
|
+
// Not supported in this form: the state simply never matches.
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
//# sourceMappingURL=states.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"states.js","sourceRoot":"","sources":["../../src/base/states.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,4FAA4F;AAC5F,MAAM,UAAU,oBAAoB,CAAC,EAAe;IAClD,IAAI,CAAC;QACH,OAAO,OAAO,EAAE,CAAC,eAAe,KAAK,UAAU,CAAC,CAAC,CAAC,EAAE,CAAC,eAAe,EAAE,CAAC,CAAC,CAAC,SAAS,CAAC;IACrF,CAAC;IAAC,MAAM,CAAC;QACP,OAAO,SAAS,CAAC;IACnB,CAAC;AACH,CAAC;AAED;;;GAGG;AACH,MAAM,UAAU,QAAQ,CAAC,SAAuC,EAAE,IAAY,EAAE,EAAW;IACzF,MAAM,MAAM,GAAG,SAAS,EAAE,MAAM,CAAC;IACjC,IAAI,CAAC,MAAM;QAAE,OAAO;IACpB,IAAI,CAAC;QACH,IAAI,EAAE;YAAE,MAAM,CAAC,GAAG,CAAC,IAAI,CAAC,CAAC;;YACpB,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC;IAC3B,CAAC;IAAC,MAAM,CAAC;QACP,8DAA8D;IAChE,CAAC;AACH,CAAC"}
|
package/dist/base.css
CHANGED
|
@@ -487,6 +487,7 @@
|
|
|
487
487
|
|
|
488
488
|
/* A results toolbar: search, selects, chip groups and the count, wrapping on phones. */
|
|
489
489
|
.uvalib-toolbar {
|
|
490
|
+
container: uvalib-toolbar / inline-size;
|
|
490
491
|
display: flex;
|
|
491
492
|
flex-wrap: wrap;
|
|
492
493
|
align-items: flex-end;
|
|
@@ -506,7 +507,7 @@
|
|
|
506
507
|
.uvalib-toolbar__field > .uvalib-input {
|
|
507
508
|
inline-size: 100%;
|
|
508
509
|
}
|
|
509
|
-
/* :where keeps it as specific as the
|
|
510
|
+
/* :where keeps it as specific as the narrow rule below, which then wins. */
|
|
510
511
|
.uvalib-toolbar > :where(.uvalib-toolbar__field--grow, .uvalib-search-form) {
|
|
511
512
|
flex: 1 1 16rem;
|
|
512
513
|
}
|
|
@@ -521,7 +522,8 @@
|
|
|
521
522
|
margin-inline-start: auto;
|
|
522
523
|
color: var(--uva-color-text-muted, var(--uva-grey-A, #4f4f4f));
|
|
523
524
|
}
|
|
524
|
-
|
|
525
|
+
/* A narrow toolbar (a phone, a sidebar, a drawer): every item on its own line. */
|
|
526
|
+
@container uvalib-toolbar (width <= 30em) {
|
|
525
527
|
.uvalib-toolbar > * {
|
|
526
528
|
flex: 1 1 100%;
|
|
527
529
|
}
|
|
@@ -554,9 +556,11 @@
|
|
|
554
556
|
.uvalib-empty-state > :is(h2, h3, h4, .uvalib-empty-state__heading) {
|
|
555
557
|
font-size: 1.25rem;
|
|
556
558
|
line-height: 1.3;
|
|
559
|
+
text-wrap: balance;
|
|
557
560
|
}
|
|
558
561
|
.uvalib-empty-state > p {
|
|
559
562
|
color: var(--uva-color-text-muted, var(--uva-grey-A, #4f4f4f));
|
|
563
|
+
text-wrap: pretty;
|
|
560
564
|
}
|
|
561
565
|
|
|
562
566
|
/* Loading placeholders: a box (give it a height or an aspect ratio) and a text line, which
|
|
@@ -637,6 +641,7 @@
|
|
|
637
641
|
color: var(--uva-color-alert-text, var(--uva-grey-darkest, #2b2b2b));
|
|
638
642
|
line-height: 1.5;
|
|
639
643
|
overflow-wrap: anywhere;
|
|
644
|
+
text-wrap: pretty;
|
|
640
645
|
}
|
|
641
646
|
.uvalib-message > :first-child {
|
|
642
647
|
margin-block-start: 0;
|
|
@@ -692,6 +697,7 @@
|
|
|
692
697
|
|
|
693
698
|
.uvalib-result-list {
|
|
694
699
|
display: block;
|
|
700
|
+
container: uvalib-result-list / inline-size;
|
|
695
701
|
margin: 0 0 1rem;
|
|
696
702
|
padding: 0;
|
|
697
703
|
list-style: none;
|
|
@@ -730,6 +736,9 @@
|
|
|
730
736
|
font-weight: 600;
|
|
731
737
|
line-height: 1.4;
|
|
732
738
|
}
|
|
739
|
+
.uvalib-result__title:not(a) {
|
|
740
|
+
text-wrap: balance;
|
|
741
|
+
}
|
|
733
742
|
:is(a.uvalib-result__title, .uvalib-result__title a) {
|
|
734
743
|
color: var(--uva-color-link, var(--uva-brand-blue, #232d4b));
|
|
735
744
|
text-decoration: underline;
|
|
@@ -746,6 +755,7 @@
|
|
|
746
755
|
.uvalib-result__snippet {
|
|
747
756
|
display: block;
|
|
748
757
|
margin-block-start: 0.25rem;
|
|
758
|
+
text-wrap: pretty;
|
|
749
759
|
}
|
|
750
760
|
.uvalib-result__snippet mark {
|
|
751
761
|
padding-inline: 0.1em;
|
|
@@ -754,7 +764,7 @@
|
|
|
754
764
|
color: var(--uva-color-on-highlight, var(--uva-grey-darkest, #2b2b2b));
|
|
755
765
|
font-weight: 700;
|
|
756
766
|
}
|
|
757
|
-
/*
|
|
767
|
+
/* A wide list: the actions at the end of the row, beside its first lines. */
|
|
758
768
|
.uvalib-result > .uvalib-result__actions {
|
|
759
769
|
display: flex;
|
|
760
770
|
flex-wrap: wrap;
|
|
@@ -763,8 +773,8 @@
|
|
|
763
773
|
grid-column: 2;
|
|
764
774
|
grid-row: 1 / span 4;
|
|
765
775
|
}
|
|
766
|
-
/*
|
|
767
|
-
@
|
|
776
|
+
/* A narrow list (a phone, a sidebar, a drawer): the actions below the row's text, wrapping. */
|
|
777
|
+
@container uvalib-result-list (width <= 40em) {
|
|
768
778
|
.uvalib-result > .uvalib-result__actions {
|
|
769
779
|
justify-content: flex-start;
|
|
770
780
|
grid-column: 1;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"BentoBox.js","sourceRoot":"","sources":["../../../src/components/bento-box/BentoBox.ts"],"names":[],"mappings":";;;;;;AAAA,OAAO,EAAE,GAAG,EAAE,OAAO,EAAE,SAAS,EAAuB,MAAM,KAAK,CAAC;AACnE,OAAO,EAAE,IAAI,EAAE,YAAY,EAAE,MAAM,oBAAoB,CAAC;AACxD,OAAO,EAAE,QAAQ,EAAE,KAAK,EAAE,MAAM,mBAAmB,CAAC;AACpD,OAAO,EAAE,qBAAqB,EAAE,MAAM,6BAA6B,CAAC;AACpE,OAAO,EAAE,aAAa,EAAE,MAAM,6BAA6B,CAAC;AAC5D,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AS,EAAE,kBAAkB,EAAE,CAAC;qDAClC;AAQxB;IADC,QAAQ,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,SAAS,EAAE,eAAe,EAAE,CAAC;mDACjC;AAGL;IAAhB,KAAK,EAAE;oDAAuC;AAO9B;IAAhB,KAAK,EAAE;6CAAyC;AAEhC;IAAhB,KAAK,EAAE;6CAA8B;AAErB;IAAhB,KAAK,EAAE;+CAA0B"}
|
|
@@ -142,7 +142,7 @@ export function resetHoursCache() {
|
|
|
142
142
|
/** Libraries by priority placement (missing last), then title. Returns a new array. */
|
|
143
143
|
export function sortLibraries(libs) {
|
|
144
144
|
const rank = (l) => l.priorityPlacement || Infinity;
|
|
145
|
-
return
|
|
145
|
+
return libs.toSorted((a, b) => rank(a) - rank(b) || a.title.localeCompare(b.title));
|
|
146
146
|
}
|
|
147
147
|
// --- dates: all arithmetic on YYYY-MM-DD strings, in UTC -------------------------------
|
|
148
148
|
const utc = (iso) => {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"hours-data.js","sourceRoot":"","sources":["../../../src/components/library-hours/hours-data.ts"],"names":[],"mappings":"AAAA,2FAA2F;AAC3F,8FAA8F;AAE9F,OAAO,EAAE,SAAS,IAAI,aAAa,EAAE,MAAM,0BAA0B,CAAC;AACtE,OAAO,EAAE,SAAS,EAAE,SAAS,EAAE,cAAc,EAAE,MAAM,wBAAwB,CAAC;AAyC9E;;;;;;GAMG;AACH,MAAM,CAAC,MAAM,cAAc,GAAmB;IAC5C,SAAS,EAAE,mEAAmE;IAC9E,KAAK,EACH,+FAA+F;CAClG,CAAC;AAEF;;;GAGG;AACH,MAAM,CAAC,MAAM,WAAW,GAAG,EAAE,OAAO,EAAE,CAAC,EAAE,UAAU,EAAE,IAAI,EAAE,OAAO,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,EAAE,CAAC;AAS3F,yFAAyF;AACzF,MAAM,UAAU,iBAAiB,CAAC,IAAgD;IAChF,KAAK,MAAM,GAA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