Skip to content

Commit 4975fed

Browse files
author
R. S. Doiel
committed
commiting to main
1 parent 100372c commit 4975fed

22 files changed

+199
-100
lines changed

CITATION.cff

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ contacts:
3232
3333

3434
repository-code: "https://github.com/caltechlibrary/CL-web-components"
35-
version: 0.0.9
35+
version: 0.0.10
3636
date-released: 2025-07-03
3737

3838
license-url: "https://caltechlibrary.github.io/CL-web-components/LICENSE"

about.html

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,10 +19,9 @@
1919
</nav>
2020
<section>
2121
<h1 id="about-this-software">About this software</h1>
22-
<h2 id="cl-web-components-0.0.9">CL-web-components 0.0.9</h2>
23-
<p>Fix a bug in my regex for validating the ORCID element of a person
24-
agent input for the new
25-
`&lt;input-agent-list&gt;&lt;/input-agent-list&gt;` web component.</p>
22+
<h2 id="cl-web-components-0.0.10">CL-web-components 0.0.10</h2>
23+
<p>Added support for "people-only" and "organization-only" attributes in
24+
`&lt;input-agent-list&gt;&lt;/input-agent-list&gt;`.</p>
2625
<h3 id="authors">Authors</h3>
2726
<ul>
2827
<li>R. S. Doiel, <a href="https://orcid.org/0000-0003-0900-6903"

about.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ maintainer:
2828
id: https://orcid.org/0000-0003-0900-6903
2929

3030
repository_code: https://github.com/caltechlibrary/CL-web-components
31-
version: 0.0.9
31+
version: 0.0.10
3232
license_url: https://caltechlibrary.github.io/CL-web-components/LICENSE
3333

3434
programming_language:
@@ -49,9 +49,9 @@ date_released: 2025-07-03
4949
About this software
5050
===================
5151

52-
## CL-web-components 0.0.9
52+
## CL-web-components 0.0.10
5353

54-
Fix a bug in my regex for validating the ORCID element of a person agent input for the new &#x60;&lt;input-agent-list&gt;&lt;/input-agent-list&gt;&#x60; web component.
54+
Added support for &quot;people-only&quot; and &quot;organization-only&quot; attributes in &#x60;&lt;input-agent-list&gt;&lt;/input-agent-list&gt;&#x60;.
5555

5656
### Authors
5757

codemeta.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,11 +46,11 @@
4646
"https://github.com/caltechlibrary/a_to_z_ul"
4747
],
4848
"runtimePlatform": "- HTML5-compatible web browser",
49-
"version": "0.0.9",
49+
"version": "0.0.10",
5050
"developmentStatus": "wip",
5151
"issueTracker": "https://github.com/caltechlibrary/CL-web-components/issues",
5252
"downloadUrl": "https://github.com/caltechlibrary/CL-web-components/releases",
53-
"releaseNotes": "Fix a bug in my regex for validating the ORCID element of a person agent input for the new `<input-agent-list></input-agent-list>` web component.",
53+
"releaseNotes": "Added support for \"people-only\" and \"organization-only\" attributes in `<input-agent-list></input-agent-list>`.",
5454
"copyrightYear": 2025,
5555
"copyrightHolder": "California Institute of Technology"
5656
}

demo_input_agent_list.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<head>
44
<meta charset="UTF-8">
55
<meta name="viewport" content="width=device-width, initial-scale=1.0">
6-
<title>Agent List Input</title>
6+
<title>Input Agent List</title>
77
<script src="input-agent-list.js" type="module"></script>
88
</head>
99
<body>

demo_input_organization_list.html

Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
<!DOCTYPE html>
2+
<html lang="en">
3+
<head>
4+
<meta charset="UTF-8">
5+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
6+
<title>Agent List Input (Organization only)</title>
7+
<script src="input-agent-list.js" type="module"></script>
8+
</head>
9+
<body>
10+
11+
<h1>Example of an input element for lists of agents (organizations only)</h1>
12+
13+
<h2>An empty list, read to add organizations</h2>
14+
15+
<input-agent-list organization-only>
16+
<textarea></textarea>
17+
</input-agent-list>
18+
19+
20+
<h2>A populated list of organizations example</h2>
21+
22+
<input-agent-list organization-only>
23+
<textarea>
24+
[
25+
{
26+
"name": "California Institute of Technology",
27+
"ror": "https://ror.org/05dxps055"
28+
},
29+
{
30+
"name": "California Institute of the Arts",
31+
"ror": "https://ror.org/024e4df17"
32+
}
33+
]
34+
</textarea>
35+
</input-agent-list>
36+
37+
38+
<script>
39+
</script>
40+
41+
</body>
42+
</html>

demo_input_person_list.html

Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
<!DOCTYPE html>
2+
<html lang="en">
3+
<head>
4+
<meta charset="UTF-8">
5+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
6+
<title>Input Agent List (people only)</title>
7+
<script src="input-agent-list.js" type="module"></script>
8+
</head>
9+
<body>
10+
11+
<h1>Example of an input element for lists of agents (people only)</h1>
12+
13+
<h2>An empty list, read to add people</h2>
14+
15+
<input-agent-list people-only>
16+
<textarea></textarea>
17+
</input-agent-list>
18+
19+
20+
<h2>A populated list of people example</h2>
21+
22+
<input-agent-list people-only>
23+
<textarea>
24+
[
25+
{
26+
"family_name": "Doe",
27+
"given_name": "John",
28+
"orcid": "0000-0000-0000-0000"
29+
},
30+
{
31+
"family_name": "Doe",
32+
"given_name": "Jane",
33+
"orcid": "0000-0000-0000-0001"
34+
}
35+
]
36+
</textarea>
37+
</input-agent-list>
38+
39+
40+
<script>
41+
</script>
42+
43+
</body>
44+
</html>

0 commit comments

Comments
 (0)