From c1d665ca405416721d40fd9b867bfad068a0fa37 Mon Sep 17 00:00:00 2001 From: Keith Cirkel Date: Fri, 23 Sep 2022 18:02:29 +0100 Subject: [PATCH 1/9] move AOR to primer --- CODEOWNERS | 1 + 1 file changed, 1 insertion(+) create mode 100644 CODEOWNERS diff --git a/CODEOWNERS b/CODEOWNERS new file mode 100644 index 0000000..68f394d --- /dev/null +++ b/CODEOWNERS @@ -0,0 +1 @@ +* @github/primer-reviewers From 305f35294f13a9a27ec4b2894502c80083abbd71 Mon Sep 17 00:00:00 2001 From: Actions Auto Build Date: Wed, 2 Nov 2022 08:05:08 +0000 Subject: [PATCH 2/9] docs: generate documents --- README.md | 12 ++++++------ bower.json | 2 +- package.json | 2 +- 3 files changed, 8 insertions(+), 8 deletions(-) diff --git a/README.md b/README.md index b080c39..8cfea74 100644 --- a/README.md +++ b/README.md @@ -70,6 +70,12 @@ Markdown formatting buttons for text inputs. [Repository](https://github.com/github/markdown-toolbar-element) | [Example](https://github.github.com/markdown-toolbar-element/examples/) +### [github/relative-time-element](https://github.com/github/relative-time-element) + +Web component extensions to the standard <time> element. + +[Repository](https://github.com/github/relative-time-element) | [Example](https://github.github.io/time-elements/examples/) + ### [github/remote-input-element](https://github.com/github/remote-input-element) An input element that sends its value to a server endpoint and renders the response body. @@ -94,12 +100,6 @@ Activates a suggestion menu to expand text snippets as you type. [Repository](https://github.com/github/text-expander-element) | [Example](http://github.github.io/text-expander-element/examples) -### [github/time-elements](https://github.com/github/time-elements) - -Web component extensions to the standard <time> element. - -[Repository](https://github.com/github/time-elements) | [Example](https://github.github.io/time-elements/examples/) - ### [github/typing-effect-element](https://github.com/github/typing-effect-element) A custom element that shows text as if it were being typed diff --git a/bower.json b/bower.json index bb281b1..fbb349c 100644 --- a/bower.json +++ b/bower.json @@ -19,11 +19,11 @@ "image-crop-element": "github/image-crop-element", "include-fragment-element": "github/include-fragment-element", "markdown-toolbar-element": "github/markdown-toolbar-element", + "relative-time-element": "github/relative-time-element", "remote-input-element": "github/remote-input-element", "tab-container-element": "github/tab-container-element", "task-lists-element": "github/task-lists-element", "text-expander-element": "github/text-expander-element", - "time-elements": "github/time-elements", "typing-effect-element": "github/typing-effect-element" } } \ No newline at end of file diff --git a/package.json b/package.json index 28fe226..68fa6ff 100644 --- a/package.json +++ b/package.json @@ -27,11 +27,11 @@ "@github/image-crop-element": "*", "@github/include-fragment-element": "*", "@github/markdown-toolbar-element": "*", + "@github/relative-time-element": "*", "@github/remote-input-element": "*", "@github/tab-container-element": "*", "@github/task-lists-element": "*", "@github/text-expander-element": "*", - "@github/time-elements": "*", "@github/typing-effect-element": "*" } } \ No newline at end of file From c8ab6182dca99c4b1c3e4db6944ce3978282e859 Mon Sep 17 00:00:00 2001 From: Actions Auto Build Date: Thu, 3 Nov 2022 08:04:49 +0000 Subject: [PATCH 3/9] docs: generate documents --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 8cfea74..9edb38a 100644 --- a/README.md +++ b/README.md @@ -74,7 +74,7 @@ Markdown formatting buttons for text inputs. Web component extensions to the standard <time> element. -[Repository](https://github.com/github/relative-time-element) | [Example](https://github.github.io/time-elements/examples/) +[Repository](https://github.com/github/relative-time-element) | [Example](https://github.github.io/relative-time-element/examples/) ### [github/remote-input-element](https://github.com/github/remote-input-element) From 21c02b628b94161a5ee316b0b56a224d72b9728e Mon Sep 17 00:00:00 2001 From: Actions Auto Build Date: Mon, 26 May 2025 08:08:33 +0000 Subject: [PATCH 4/9] docs: generate documents --- README.md | 104 +-------------------------------------------------- bower.json | 20 +--------- package.json | 20 +--------- 3 files changed, 3 insertions(+), 141 deletions(-) diff --git a/README.md b/README.md index 9edb38a..f491ba4 100644 --- a/README.md +++ b/README.md @@ -2,106 +2,4 @@ GitHub's Web Component collection. -We have 17 open source custom elements: - -### [github/auto-check-element](https://github.com/github/auto-check-element) - -An input element that validates its value with a server endpoint. - -[Repository](https://github.com/github/auto-check-element) | [Example](https://github.github.com/auto-check-element/examples/) - -### [github/auto-complete-element](https://github.com/github/auto-complete-element) - -Auto-complete input values from server search results. - -[Repository](https://github.com/github/auto-complete-element) | [Example](https://github.github.com/auto-complete-element/examples/) - -### [github/clipboard-copy-element](https://github.com/github/clipboard-copy-element) - -Copy element text content or input values to the clipboard. - -[Repository](https://github.com/github/clipboard-copy-element) | [Example](https://github.github.io/clipboard-copy-element/examples/) - -### [github/details-dialog-element](https://github.com/github/details-dialog-element) - -A modal dialog that's opened with <details>. - -[Repository](https://github.com/github/details-dialog-element) | [Example](https://github.github.io/details-dialog-element/example/index.html) - -### [github/details-menu-element](https://github.com/github/details-menu-element) - -A menu opened with <details>. - -[Repository](https://github.com/github/details-menu-element) | [Example](https://github.github.io/details-menu-element/examples) - -### [github/file-attachment-element](https://github.com/github/file-attachment-element) - -Attach files via drag and drop or file input. - -[Repository](https://github.com/github/file-attachment-element) | [Example](https://github.github.com/file-attachment-element/examples/) - -### [github/filter-input-element](https://github.com/github/filter-input-element) - -Display elements in a subtree that match filter input text. - -[Repository](https://github.com/github/filter-input-element) | [Example](https://github.github.io/filter-input-element/examples/) - -### [github/g-emoji-element](https://github.com/github/g-emoji-element) - -Backports native emoji characters to browsers that don't support them by replacing the characters with fallback images. - -[Repository](https://github.com/github/g-emoji-element) | [Example](https://github.github.io/g-emoji-element/examples/) - -### [github/image-crop-element](https://github.com/github/image-crop-element) - -A custom element for cropping a square image. Returns x, y, width, and height. - -[Repository](https://github.com/github/image-crop-element) | [Example](https://github.github.io/image-crop-element/examples/) - -### [github/include-fragment-element](https://github.com/github/include-fragment-element) - -A client-side includes tag. - -[Repository](https://github.com/github/include-fragment-element) | [Example](https://github.github.io/include-fragment-element/examples) - -### [github/markdown-toolbar-element](https://github.com/github/markdown-toolbar-element) - -Markdown formatting buttons for text inputs. - -[Repository](https://github.com/github/markdown-toolbar-element) | [Example](https://github.github.com/markdown-toolbar-element/examples/) - -### [github/relative-time-element](https://github.com/github/relative-time-element) - -Web component extensions to the standard <time> element. - -[Repository](https://github.com/github/relative-time-element) | [Example](https://github.github.io/relative-time-element/examples/) - -### [github/remote-input-element](https://github.com/github/remote-input-element) - -An input element that sends its value to a server endpoint and renders the response body. - -[Repository](https://github.com/github/remote-input-element) | [Example](https://github.github.io/remote-input-element/examples) - -### [github/tab-container-element](https://github.com/github/tab-container-element) - -An accessible tab container element with keyboard support. - -[Repository](https://github.com/github/tab-container-element) | [Example](https://github.github.com/tab-container-element/examples/) - -### [github/task-lists-element](https://github.com/github/task-lists-element) - -Drag and drop task list items. - -[Repository](https://github.com/github/task-lists-element) | [Example](https://github.github.io/task-lists-element/examples/) - -### [github/text-expander-element](https://github.com/github/text-expander-element) - -Activates a suggestion menu to expand text snippets as you type. - -[Repository](https://github.com/github/text-expander-element) | [Example](http://github.github.io/text-expander-element/examples) - -### [github/typing-effect-element](https://github.com/github/typing-effect-element) - -A custom element that shows text as if it were being typed - -[Repository](https://github.com/github/typing-effect-element) | [Example](https://github.github.com/typing-effect-element/examples/) +We have 0 open source custom elements: diff --git a/bower.json b/bower.json index fbb349c..fc2784e 100644 --- a/bower.json +++ b/bower.json @@ -7,23 +7,5 @@ "element-collection" ], "license": "MIT", - "dependencies": { - "auto-check-element": "github/auto-check-element", - "auto-complete-element": "github/auto-complete-element", - "clipboard-copy-element": "github/clipboard-copy-element", - "details-dialog-element": "github/details-dialog-element", - "details-menu-element": "github/details-menu-element", - "file-attachment-element": "github/file-attachment-element", - "filter-input-element": "github/filter-input-element", - "g-emoji-element": "github/g-emoji-element", - "image-crop-element": "github/image-crop-element", - "include-fragment-element": "github/include-fragment-element", - "markdown-toolbar-element": "github/markdown-toolbar-element", - "relative-time-element": "github/relative-time-element", - "remote-input-element": "github/remote-input-element", - "tab-container-element": "github/tab-container-element", - "task-lists-element": "github/task-lists-element", - "text-expander-element": "github/text-expander-element", - "typing-effect-element": "github/typing-effect-element" - } + "dependencies": {} } \ No newline at end of file diff --git a/package.json b/package.json index 68fa6ff..5491132 100644 --- a/package.json +++ b/package.json @@ -15,23 +15,5 @@ "scripts": { "generate": "node generate.js" }, - "dependencies": { - "@github/auto-check-element": "*", - "@github/auto-complete-element": "*", - "@github/clipboard-copy-element": "*", - "@github/details-dialog-element": "*", - "@github/details-menu-element": "*", - "@github/file-attachment-element": "*", - "@github/filter-input-element": "*", - "@github/g-emoji-element": "*", - "@github/image-crop-element": "*", - "@github/include-fragment-element": "*", - "@github/markdown-toolbar-element": "*", - "@github/relative-time-element": "*", - "@github/remote-input-element": "*", - "@github/tab-container-element": "*", - "@github/task-lists-element": "*", - "@github/text-expander-element": "*", - "@github/typing-effect-element": "*" - } + "dependencies": {} } \ No newline at end of file From b2ffb62d5f958a96c03be64b4f8482be3a5f99b5 Mon Sep 17 00:00:00 2001 From: Actions Auto Build Date: Tue, 27 May 2025 08:06:29 +0000 Subject: [PATCH 5/9] docs: generate documents --- README.md | 104 ++++++++++++++++++++++++++++++++++++++++++++++++++- bower.json | 20 +++++++++- package.json | 20 +++++++++- 3 files changed, 141 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index f491ba4..9edb38a 100644 --- a/README.md +++ b/README.md @@ -2,4 +2,106 @@ GitHub's Web Component collection. -We have 0 open source custom elements: +We have 17 open source custom elements: + +### [github/auto-check-element](https://github.com/github/auto-check-element) + +An input element that validates its value with a server endpoint. + +[Repository](https://github.com/github/auto-check-element) | [Example](https://github.github.com/auto-check-element/examples/) + +### [github/auto-complete-element](https://github.com/github/auto-complete-element) + +Auto-complete input values from server search results. + +[Repository](https://github.com/github/auto-complete-element) | [Example](https://github.github.com/auto-complete-element/examples/) + +### [github/clipboard-copy-element](https://github.com/github/clipboard-copy-element) + +Copy element text content or input values to the clipboard. + +[Repository](https://github.com/github/clipboard-copy-element) | [Example](https://github.github.io/clipboard-copy-element/examples/) + +### [github/details-dialog-element](https://github.com/github/details-dialog-element) + +A modal dialog that's opened with <details>. + +[Repository](https://github.com/github/details-dialog-element) | [Example](https://github.github.io/details-dialog-element/example/index.html) + +### [github/details-menu-element](https://github.com/github/details-menu-element) + +A menu opened with <details>. + +[Repository](https://github.com/github/details-menu-element) | [Example](https://github.github.io/details-menu-element/examples) + +### [github/file-attachment-element](https://github.com/github/file-attachment-element) + +Attach files via drag and drop or file input. + +[Repository](https://github.com/github/file-attachment-element) | [Example](https://github.github.com/file-attachment-element/examples/) + +### [github/filter-input-element](https://github.com/github/filter-input-element) + +Display elements in a subtree that match filter input text. + +[Repository](https://github.com/github/filter-input-element) | [Example](https://github.github.io/filter-input-element/examples/) + +### [github/g-emoji-element](https://github.com/github/g-emoji-element) + +Backports native emoji characters to browsers that don't support them by replacing the characters with fallback images. + +[Repository](https://github.com/github/g-emoji-element) | [Example](https://github.github.io/g-emoji-element/examples/) + +### [github/image-crop-element](https://github.com/github/image-crop-element) + +A custom element for cropping a square image. Returns x, y, width, and height. + +[Repository](https://github.com/github/image-crop-element) | [Example](https://github.github.io/image-crop-element/examples/) + +### [github/include-fragment-element](https://github.com/github/include-fragment-element) + +A client-side includes tag. + +[Repository](https://github.com/github/include-fragment-element) | [Example](https://github.github.io/include-fragment-element/examples) + +### [github/markdown-toolbar-element](https://github.com/github/markdown-toolbar-element) + +Markdown formatting buttons for text inputs. + +[Repository](https://github.com/github/markdown-toolbar-element) | [Example](https://github.github.com/markdown-toolbar-element/examples/) + +### [github/relative-time-element](https://github.com/github/relative-time-element) + +Web component extensions to the standard <time> element. + +[Repository](https://github.com/github/relative-time-element) | [Example](https://github.github.io/relative-time-element/examples/) + +### [github/remote-input-element](https://github.com/github/remote-input-element) + +An input element that sends its value to a server endpoint and renders the response body. + +[Repository](https://github.com/github/remote-input-element) | [Example](https://github.github.io/remote-input-element/examples) + +### [github/tab-container-element](https://github.com/github/tab-container-element) + +An accessible tab container element with keyboard support. + +[Repository](https://github.com/github/tab-container-element) | [Example](https://github.github.com/tab-container-element/examples/) + +### [github/task-lists-element](https://github.com/github/task-lists-element) + +Drag and drop task list items. + +[Repository](https://github.com/github/task-lists-element) | [Example](https://github.github.io/task-lists-element/examples/) + +### [github/text-expander-element](https://github.com/github/text-expander-element) + +Activates a suggestion menu to expand text snippets as you type. + +[Repository](https://github.com/github/text-expander-element) | [Example](http://github.github.io/text-expander-element/examples) + +### [github/typing-effect-element](https://github.com/github/typing-effect-element) + +A custom element that shows text as if it were being typed + +[Repository](https://github.com/github/typing-effect-element) | [Example](https://github.github.com/typing-effect-element/examples/) diff --git a/bower.json b/bower.json index fc2784e..fbb349c 100644 --- a/bower.json +++ b/bower.json @@ -7,5 +7,23 @@ "element-collection" ], "license": "MIT", - "dependencies": {} + "dependencies": { + "auto-check-element": "github/auto-check-element", + "auto-complete-element": "github/auto-complete-element", + "clipboard-copy-element": "github/clipboard-copy-element", + "details-dialog-element": "github/details-dialog-element", + "details-menu-element": "github/details-menu-element", + "file-attachment-element": "github/file-attachment-element", + "filter-input-element": "github/filter-input-element", + "g-emoji-element": "github/g-emoji-element", + "image-crop-element": "github/image-crop-element", + "include-fragment-element": "github/include-fragment-element", + "markdown-toolbar-element": "github/markdown-toolbar-element", + "relative-time-element": "github/relative-time-element", + "remote-input-element": "github/remote-input-element", + "tab-container-element": "github/tab-container-element", + "task-lists-element": "github/task-lists-element", + "text-expander-element": "github/text-expander-element", + "typing-effect-element": "github/typing-effect-element" + } } \ No newline at end of file diff --git a/package.json b/package.json index 5491132..68fa6ff 100644 --- a/package.json +++ b/package.json @@ -15,5 +15,23 @@ "scripts": { "generate": "node generate.js" }, - "dependencies": {} + "dependencies": { + "@github/auto-check-element": "*", + "@github/auto-complete-element": "*", + "@github/clipboard-copy-element": "*", + "@github/details-dialog-element": "*", + "@github/details-menu-element": "*", + "@github/file-attachment-element": "*", + "@github/filter-input-element": "*", + "@github/g-emoji-element": "*", + "@github/image-crop-element": "*", + "@github/include-fragment-element": "*", + "@github/markdown-toolbar-element": "*", + "@github/relative-time-element": "*", + "@github/remote-input-element": "*", + "@github/tab-container-element": "*", + "@github/task-lists-element": "*", + "@github/text-expander-element": "*", + "@github/typing-effect-element": "*" + } } \ No newline at end of file From 6a91b9133184444f07b38ea6234ab44a48cbcfee Mon Sep 17 00:00:00 2001 From: Leslie Cohn-Wein Date: Fri, 14 Nov 2025 12:02:01 -0600 Subject: [PATCH 6/9] Mark details-dialog-element as archived and update recommendation Mark details-dialog-element as archived and suggest using Primer::Alpha::Dialog instead. --- README.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 9edb38a..29614c5 100644 --- a/README.md +++ b/README.md @@ -22,7 +22,9 @@ Copy element text content or input values to the clipboard. [Repository](https://github.com/github/clipboard-copy-element) | [Example](https://github.github.io/clipboard-copy-element/examples/) -### [github/details-dialog-element](https://github.com/github/details-dialog-element) +### [github/details-dialog-element](https://github.com/github/details-dialog-element) (archived) + +‼️ Use Primer::Alpha::Dialog instead: https://primer.style/product/getting-started/rails/migration-guides/primer-dialog/ A modal dialog that's opened with <details>. From 9a4859270189b25ce81622d191d10470fd16f222 Mon Sep 17 00:00:00 2001 From: Actions Auto Build Date: Sat, 15 Nov 2025 08:05:44 +0000 Subject: [PATCH 7/9] docs: generate documents --- README.md | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/README.md b/README.md index 29614c5..9edb38a 100644 --- a/README.md +++ b/README.md @@ -22,9 +22,7 @@ Copy element text content or input values to the clipboard. [Repository](https://github.com/github/clipboard-copy-element) | [Example](https://github.github.io/clipboard-copy-element/examples/) -### [github/details-dialog-element](https://github.com/github/details-dialog-element) (archived) - -‼️ Use Primer::Alpha::Dialog instead: https://primer.style/product/getting-started/rails/migration-guides/primer-dialog/ +### [github/details-dialog-element](https://github.com/github/details-dialog-element) A modal dialog that's opened with <details>. From a216ac0494340c85a3c55c18517db36516f23026 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Mon, 8 Dec 2025 18:39:30 +0000 Subject: [PATCH 8/9] Initial plan From f700782916928e9a76bad9a6b8b47f6b6d4a5230 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Mon, 8 Dec 2025 18:42:11 +0000 Subject: [PATCH 9/9] feat: add explicit permissions to workflow file Co-authored-by: jonrohan <54012+jonrohan@users.noreply.github.com> --- .github/workflows/node.js.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/node.js.yml b/.github/workflows/node.js.yml index dc12ee1..904df3f 100644 --- a/.github/workflows/node.js.yml +++ b/.github/workflows/node.js.yml @@ -5,6 +5,9 @@ on: - cron: "0 8 * * *" workflow_dispatch: +permissions: + contents: write + jobs: build: runs-on: ubuntu-latest