Skip to content

Commit a67b2dd

Browse files
author
R. S. Doiel
committed
commiting to main
1 parent cadbebc commit a67b2dd

21 files changed

+236
-17
lines changed

CITATION.cff

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,8 @@ contacts:
2727
2828

2929
repository-code: "https://github.com/caltechlibrary/CL-web-components"
30-
version: 0.0.5
31-
date-released: NaN-NaN-NaN
30+
version: 0.0.6
31+
date-released: 2025-05-13
3232

3333
license-url: "https://caltechlibrary.github.io/CL-web-components/LICENSE"
3434
keywords:

README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,9 @@ The following are the components currently provided.
1212
`a-to-z-ul`
1313
: 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.
1414

15+
`sortable-table`
16+
: 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.
17+
1518
One additional helper module is currently provided, `parseCSV.js`, that provides stringify and parse functions for CSV rows and strings.
1619

1720
## Release Notes

about.html

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -19,11 +19,11 @@
1919
</nav>
2020
<section>
2121
<h1 id="about-this-software">About this software</h1>
22-
<h2 id="cl-web-components-0.0.5">CL-web-components 0.0.5</h2>
23-
<p>Added an optional function `customCleanupFilter` to the csvtextarea
24-
web component. The function is expected to operate on an HTML object
25-
containing the row being evalated. If the user defined function returns
26-
true the row is accepted. If false the row will be removed.</p>
22+
<h2 id="cl-web-components-0.0.6">CL-web-components 0.0.6</h2>
23+
<p>This release includes a new web component called `sortable-table`.
24+
The web component wraps an HTML table element and makes the table
25+
sortable by columns and provides a filter search input based on column
26+
value.</p>
2727
<h3 id="authors">Authors</h3>
2828
<ul>
2929
<li>R. S. Doiel, <a href="https://orcid.org/0000-0003-0900-6903"

about.md

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ maintainer:
2626
id: https://orcid.org/0000-0003-0900-6903
2727

2828
repository_code: https://github.com/caltechlibrary/CL-web-components
29-
version: 0.0.5
29+
version: 0.0.6
3030
license_url: https://caltechlibrary.github.io/CL-web-components/LICENSE
3131

3232
programming_language:
@@ -41,28 +41,31 @@ keywords:
4141
- ES6
4242
- Web Components
4343

44-
date_released: NaN-NaN-NaN
44+
date_released: 2025-05-13
4545
---
4646

4747
About this software
4848
===================
4949

50-
## CL-web-components 0.0.5
50+
## CL-web-components 0.0.6
5151

52-
Added an optional function &#x60;customCleanupFilter&#x60; to the csvtextarea web component. The function is expected to operate on an HTML object containing the row being evalated. If the user defined function returns true the row is accepted. If false the row will be removed.
52+
This release includes a new web component called &#x60;sortable-table&#x60;. The web component wraps an HTML table element and makes the table sortable by columns and provides a filter search input based on column value.
5353

5454
### Authors
5555

5656
- R. S. Doiel, <https://orcid.org/0000-0003-0900-6903>
5757

58+
5859
### Contributors
5960

6061
- Mistral, <https://mistral.ai>
6162

63+
6264
### Maintainers
6365

6466
- R. S. Doiel, <https://orcid.org/0000-0003-0900-6903>
6567

68+
6669
CL-web-components provides a collection of Web Components used by Caltech Library in various web sites and projects.
6770

6871
The following are the components currently provided.

codemeta.json

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,8 @@
2828
}
2929
],
3030
"dateCreated": "2025-02-26",
31-
"dateModified": "2025-03-32",
32-
"datePublished": "2025-03-32",
31+
"dateModified": "2025-05-13",
32+
"datePublished": "2025-05-13",
3333
"description": "CL-web-components provides a collection of Web Components used by Caltech Library in various web sites and projects.\n\nThe following are the components currently provided.\n\n`csv-textarea`\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`a-to-z-ul`\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\nOne additional helper module is currently provided, `parseCSV.js`, that provides stringify and parse functions for CSV rows and strings.",
3434
"funder": [
3535
"Caltech Library"
@@ -53,9 +53,11 @@
5353
"https://github.com/caltechlibrary/a_to_z_ul"
5454
],
5555
"runtimePlatform": "- HTML5-compatible web browser",
56-
"version": "0.0.5",
56+
"version": "0.0.6",
5757
"developmentStatus": "wip",
5858
"issueTracker": "https://github.com/caltechlibrary/CL-web-components/issues",
5959
"downloadUrl": "https://github.com/caltechlibrary/CL-web-components/releases",
60-
"releaseNotes": "Added an optional function `customCleanupFilter` to the csvtextarea web component. The function is expected to operate on an HTML object containing the row being evalated. If the user defined function returns true the row is accepted. If false the row will be removed."
60+
"releaseNotes": "This release includes a new web component called `sortable-table`. The web component wraps an HTML table element and makes the table sortable by columns and provides a filter search input based on column value.",
61+
"copyrightYear": 2025,
62+
"copyrightHolder": "California Institute of Technology"
6163
}

index.html

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,12 @@ <h1 id="cl-web-components-0.0.4">CL-web-components 0.0.4</h1>
3434
then turned into an A to Z navigatable UL List. If JavaScript is
3535
unavailable then the innerHTML UL remains as a fallback.
3636
</dd>
37+
<dt><code>sortable-table</code></dt>
38+
<dd>
39+
This is a component that takes an innerHTML containing table. It makes
40+
the table sortable by the column headings and provides a filter input
41+
that lets you enter text to filter by and pick a column to filter on.
42+
</dd>
3743
</dl>
3844
<p>One additional helper module is currently provided,
3945
<code>parseCSV.js</code>, that provides stringify and parse functions
437 Bytes
Binary file not shown.
863 Bytes
Binary file not shown.
240 Bytes
Binary file not shown.
399 Bytes
Binary file not shown.

0 commit comments

Comments
 (0)