You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: DEVELOPERS.md
+9Lines changed: 9 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -5,3 +5,12 @@ This is a new endeavor for Caltech Library. Our practices are evolving as we dev
5
5
6
6
See the [user manual](user_manual.md) for developer documentation.
7
7
8
+
## Adding new components
9
+
10
+
New web components should be placed in the `src` directory. This is so they can be bundled into the complete `cl-web-components.js`. It also allows us to leverage other JavaScript or type script packages hosted at [jsr.io](https://jsr.io). Bundled versions of the components are presented in the root repository along side the `mod.js` file.
11
+
12
+
## Updating existing web components
13
+
14
+
If you need to update an existing web components you should do so in the `src` directory. If you "fix" the one in the root directory it'll get overwritten the next time the bundler is run.
Copy file name to clipboardExpand all lines: codemeta.json
+4-4Lines changed: 4 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -28,8 +28,8 @@
28
28
}
29
29
],
30
30
"dateCreated": "2025-02-26",
31
-
"dateModified": "2025-07-17",
32
-
"datePublished": "2025-07-17",
31
+
"dateModified": "2025-07-25",
32
+
"datePublished": "2025-07-25",
33
33
"description": "CL-web-components provides a collection of Web Components used by Caltech Library across sites and projects.\n\nThe following are the components currently provided.\n\n\n`ul-a-to-z`\n: 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.\n\n`textarea-csv`\n: This is a textarea like component who's innerHTML content is CSV data. The component will display this as an editable table. \n\n`textarea-agent-list`\n: This element wraps a textarea containing a list of agents expressed as JSON. \n\n`table-sortable`\n: 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.",
"releaseNotes": "This release includes a re-organization of the project source code. Editable code is now maintained in `src/`. The bundled versions\nare retained in the root of the repository. Distribution versions are generating in the `dist/` directory.\n\nDeno 2.4.1 or better is now a requirement to build the bundled versions.\n\nAdditional documentation has been updated and improved in preparation for eventual integration into the Caltech Library design system.\nThe web component, `textarea-csv` now uses the `jsr:@std/csv` library which provides robusts CSV support.",
68
+
"releaseNotes": "This release includes a re-organization of the project source code. Editable code is now maintained in `src/`. The bundled versions\nare retained in the root of the repository. Distribution versions are generating in the `dist/` directory.\n\nDeno 2.4.2 or better is now a requirement to build the bundled versions.\n\nTwo new web components are now included, `<footer-global></footer-global>` and `<footer-global-lite></footer-global-lite>`.",
69
69
"copyrightYear": 2025,
70
70
"copyrightHolder": "California Institute of Technology"
0 commit comments