CL-web-components
CL-web-components provides a collection of Web Components used by
Caltech Library across sites and projects.
The following are the components currently provided.
footer-global
-
This component provides a standard footer with detailed information
about the library
footer-global-lite
-
This component provides a lighter weight version of the
footer-global
component
ul-a-to-z
-
This component takes an innerHTML containing a UL list. The UL list is
then turned into an A to Z navigatable UL List. If JavaScript is
unavailable then the innerHTML UL remains as a fallback.
textarea-csv
-
This is a textarea like component who’s innerHTML content is CSV data.
The component will display this as an editable table.
textarea-agent-list
-
This element wraps a textarea containing a list of agents expressed as
JSON.
table-sortable
-
This is a component that takes an innerHTML containing table. It makes
the table sortable by the column headings and provides a filter input
that lets you enter text to filter by and pick a column to filter on.
Release Notes
- version: 0.0.15
- status: wip
- released: 2025-08-07
This release includes an improved <footer-global> component.
This include better support for social media representation.
A new CSS file was added, `css/code-blocks.css` and JavaScript
modules, `copyToClipboard.js` for enhancing codeblocks.
A publish_to_s3.bash script was added to make management more
convient for where we retrieve our production assets.
Authors
- Doiel, R. S.
- Smith, Twila
Maintainers
Software Requirements
- Deno >= 2.4.3 (for bundling dependencies)
Software Suggestions
- CMTools >= 0.0.40
- Pandoc >= 3.1
- PageFind >= 1.3
HTML5-compatible web browser