From 1cf53307a850375d6c7c54fdd2859851defce11f Mon Sep 17 00:00:00 2001 From: Keith Cirkel Date: Fri, 5 Mar 2021 12:15:30 +0000 Subject: [PATCH 01/22] add missing elements --- bower.json | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/bower.json b/bower.json index d65505e..0f386d6 100644 --- a/bower.json +++ b/bower.json @@ -13,6 +13,8 @@ "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", @@ -20,6 +22,8 @@ "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", + "remote-input-element": "github/remote-input-element", "time-elements": "github/time-elements" } } From 9259b14c01c2818f8f5a4003e2042a14c55b3200 Mon Sep 17 00:00:00 2001 From: Keith Cirkel Date: Fri, 5 Mar 2021 14:48:13 +0000 Subject: [PATCH 02/22] add generate script --- generate.js | 82 ++++++++++++++++++++++++++++++++++++++++++++++++++ package.json | 18 +++++++++++ readme.head.md | 3 ++ readme.tail.md | 0 4 files changed, 103 insertions(+) create mode 100755 generate.js create mode 100644 package.json create mode 100644 readme.head.md create mode 100644 readme.tail.md diff --git a/generate.js b/generate.js new file mode 100755 index 0000000..41cf3ab --- /dev/null +++ b/generate.js @@ -0,0 +1,82 @@ +#!/usr/bin/env node +import {request} from 'https' +import {readFileSync, writeFileSync} from 'fs' +const escapeMap = { + '&': '&', + '<': '<', + '>': '>', + "'": ''', + '"': '&#quot;', +} +function escape(str) { + let newStr = '' + for(const char of str) newStr += char in escapeMap ? escapeMap[char] : char + return newStr +} + +function json(url) { + return new Promise((resolve, reject) => { + const req = request(url, { + headers: { + 'User-Agent': `nodejs ${process.version}`, + 'Authorization': `Bearer ${process.env['GITHUB_TOKEN']}`, + 'Accept': 'application/vnd.github.mercy-preview+json' + } + }, async res => { + res.on('error', reject) + let body = '' + for await (const chunk of res) { + body += chunk + } + resolve(JSON.parse(body)) + }) + req.on('error', reject) + req.end() + }) +} + +async function *getRepos() { + for(let page = 1; page < 1000; page += 1) { + const repos = await json(`https://api.github.com/orgs/github/repos?type=public&per_page=100&page=${page}`) + if (!repos.length) return + for (const repo of repos) { + if (!repo.topics) continue + if (repo.private) continue + if (repo.fork) continue + if (!repo.topics.includes('web-components')) continue + if (!repo.topics.includes('custom-elements')) continue + yield repo + } + } +} + +let readme = readFileSync('readme.head.md', 'utf-8') +const bowerJson = JSON.parse(readFileSync('bower.json', 'utf-8')) +bowerJson.dependencies = {} +const packageJson = JSON.parse(readFileSync('package.json', 'utf-8')) +packageJson.dependencies = {} +let repos = [] +for await (const repo of getRepos()) { + if (repo.full_name === 'github/custom-element-boilerplate') continue + repos.push(repo) +} +repos.sort((a, b) => a.full_name.localeCompare(b.full_name)) +readme += ` +We have ${repos.length} open source custom elements: +` +for (const repo of repos) { + bowerJson.dependencies[repo.name] = repo.full_name + packageJson.dependencies[`@${repo.full_name}`] = '*' + readme += ` +### [${escape(repo.full_name)}](${repo.html_url}) + +${escape(repo.description)} + +[Link](${repo.html_url}) +` +} +readme += readFileSync('readme.tail.md', 'utf-8') +writeFileSync('README.md', readme) +writeFileSync('bower.json', JSON.stringify(bowerJson, null, 2)) +writeFileSync('package.json', JSON.stringify(packageJson, null, 2)) + diff --git a/package.json b/package.json new file mode 100644 index 0000000..295d8d3 --- /dev/null +++ b/package.json @@ -0,0 +1,18 @@ +{ + "name": "github-elements", + "private": true, + "description": "GitHub's Web Component collection.", + "keywords": [ + "element-collection" + ], + "repository": { + "type": "git", + "url": "git+https://github.com/github/github-elements.git" + }, + "license": "MIT", + "type": "module", + "main": "", + "scripts": { + "generate": "node generate.js" + } +} diff --git a/readme.head.md b/readme.head.md new file mode 100644 index 0000000..006fd33 --- /dev/null +++ b/readme.head.md @@ -0,0 +1,3 @@ +# github-elements + +GitHub's Web Component collection. diff --git a/readme.tail.md b/readme.tail.md new file mode 100644 index 0000000..e69de29 From 2999347ac1dbe266ab6ce7229c4bf1d6d88db293 Mon Sep 17 00:00:00 2001 From: Keith Cirkel Date: Fri, 5 Mar 2021 15:16:53 +0000 Subject: [PATCH 03/22] chore: npm run generate --- README.md | 99 ++++++++++++++++++++++++++++++++++++++++++++++++++++ bower.json | 5 ++- package.json | 20 ++++++++++- 3 files changed, 122 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index b6858d3..dcab746 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,101 @@ # github-elements + GitHub's Web Component collection. + +We have 16 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. + +[Link](https://github.com/github/auto-check-element) + +### [github/auto-complete-element](https://github.com/github/auto-complete-element) + +Auto-complete input values from server search results. + +[Link](https://github.com/github/auto-complete-element) + +### [github/clipboard-copy-element](https://github.com/github/clipboard-copy-element) + +Copy element text content or input values to the clipboard. + +[Link](https://github.com/github/clipboard-copy-element) + +### [github/details-dialog-element](https://github.com/github/details-dialog-element) + +A modal dialog that's opened with <details>. + +[Link](https://github.com/github/details-dialog-element) + +### [github/details-menu-element](https://github.com/github/details-menu-element) + +A menu opened with <details>. + +[Link](https://github.com/github/details-menu-element) + +### [github/file-attachment-element](https://github.com/github/file-attachment-element) + +Attach files via drag and drop or file input. + +[Link](https://github.com/github/file-attachment-element) + +### [github/filter-input-element](https://github.com/github/filter-input-element) + +Display elements in a subtree that match filter input text. + +[Link](https://github.com/github/filter-input-element) + +### [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. + +[Link](https://github.com/github/g-emoji-element) + +### [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. + +[Link](https://github.com/github/image-crop-element) + +### [github/include-fragment-element](https://github.com/github/include-fragment-element) + +A client-side includes tag. + +[Link](https://github.com/github/include-fragment-element) + +### [github/markdown-toolbar-element](https://github.com/github/markdown-toolbar-element) + +Markdown formatting buttons for text inputs. + +[Link](https://github.com/github/markdown-toolbar-element) + +### [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. + +[Link](https://github.com/github/remote-input-element) + +### [github/tab-container-element](https://github.com/github/tab-container-element) + +An accessible tab container element with keyboard support. + +[Link](https://github.com/github/tab-container-element) + +### [github/task-lists-element](https://github.com/github/task-lists-element) + +Drag and drop task list items. + +[Link](https://github.com/github/task-lists-element) + +### [github/text-expander-element](https://github.com/github/text-expander-element) + +Activates a suggestion menu to expand text snippets as you type. + +[Link](https://github.com/github/text-expander-element) + +### [github/time-elements](https://github.com/github/time-elements) + +Web component extensions to the standard <time> element. + +[Link](https://github.com/github/time-elements) diff --git a/bower.json b/bower.json index d65505e..bfa6c18 100644 --- a/bower.json +++ b/bower.json @@ -13,6 +13,8 @@ "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", @@ -20,6 +22,7 @@ "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" } -} +} \ No newline at end of file diff --git a/package.json b/package.json index 295d8d3..dccece3 100644 --- a/package.json +++ b/package.json @@ -14,5 +14,23 @@ "main": "", "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/remote-input-element": "*", + "@github/tab-container-element": "*", + "@github/task-lists-element": "*", + "@github/text-expander-element": "*", + "@github/time-elements": "*" } -} +} \ No newline at end of file From bf5c3a6c59fcb5c6d5ef44513b5f3c297a626076 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kristj=C3=A1n=20Oddsson?= Date: Fri, 12 Mar 2021 11:02:07 +0000 Subject: [PATCH 04/22] Bail if there is no token before making request --- generate.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/generate.js b/generate.js index 41cf3ab..1ad02b1 100755 --- a/generate.js +++ b/generate.js @@ -16,6 +16,10 @@ function escape(str) { function json(url) { return new Promise((resolve, reject) => { + if (!process.env['GITHUB_TOKEN']) { + return reject(new Error('GITHUB_TOKEN is not defined')) + } + const req = request(url, { headers: { 'User-Agent': `nodejs ${process.version}`, From 2edd1e26b8133b38c1b05dfbd1700f9c79841fe1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kristj=C3=A1n=20Oddsson?= Date: Fri, 12 Mar 2021 11:12:08 +0000 Subject: [PATCH 05/22] Create node.js.yml --- .github/workflows/node.js.yml | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 .github/workflows/node.js.yml diff --git a/.github/workflows/node.js.yml b/.github/workflows/node.js.yml new file mode 100644 index 0000000..26b62ea --- /dev/null +++ b/.github/workflows/node.js.yml @@ -0,0 +1,30 @@ +# This workflow will do a clean install of node dependencies, build the source code and run tests across different versions of node +# For more information see: https://help.github.com/actions/language-and-framework-guides/using-nodejs-with-github-actions + +name: Node.js CI + +on: + push: + branches: [ main ] + schedule: + - cron: "0 8 * * *" + workflow_dispatch: + +jobs: + build: + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v2 + - name: Generate data + uses: actions/setup-node@v1 + with: + node-version: latest + - run: node generate.js + - name: Commit & Push Generated Data + run: | + git config --local user.email "actions@github.com" + git config --local user.name "Actions Auto Build" + git add -f . + git commit -m "docs: generate documents" || true + git push --force origin HEAD:refs/heads/main From c6e81688edc31ed5194d73acb7922569b83be737 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kristj=C3=A1n=20Oddsson?= Date: Fri, 12 Mar 2021 11:13:58 +0000 Subject: [PATCH 06/22] Change name of action & remove comments --- .github/workflows/node.js.yml | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/.github/workflows/node.js.yml b/.github/workflows/node.js.yml index 26b62ea..5f35457 100644 --- a/.github/workflows/node.js.yml +++ b/.github/workflows/node.js.yml @@ -1,7 +1,4 @@ -# This workflow will do a clean install of node dependencies, build the source code and run tests across different versions of node -# For more information see: https://help.github.com/actions/language-and-framework-guides/using-nodejs-with-github-actions - -name: Node.js CI +name: Update data on: push: From 8a04d2892d14546ad03a9692abe83e015710eeee Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kristj=C3=A1n=20Oddsson?= Date: Fri, 12 Mar 2021 11:15:55 +0000 Subject: [PATCH 07/22] Trigger action for PRs --- .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 5f35457..7561c8a 100644 --- a/.github/workflows/node.js.yml +++ b/.github/workflows/node.js.yml @@ -3,6 +3,9 @@ name: Update data on: push: branches: [ main ] + pull_request: + branches: + - main schedule: - cron: "0 8 * * *" workflow_dispatch: From 2d905a542c78ca4dca2ce2e3b623aa6188780780 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kristj=C3=A1n=20Oddsson?= Date: Fri, 12 Mar 2021 11:16:53 +0000 Subject: [PATCH 08/22] Fix indent --- .github/workflows/node.js.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/node.js.yml b/.github/workflows/node.js.yml index 7561c8a..4c1b56e 100644 --- a/.github/workflows/node.js.yml +++ b/.github/workflows/node.js.yml @@ -3,9 +3,9 @@ name: Update data on: push: branches: [ main ] - pull_request: - branches: - - main + pull_request: + branches: + - main schedule: - cron: "0 8 * * *" workflow_dispatch: From bbea527e4ca56411cccacedfd8a43b43530254fd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kristj=C3=A1n=20Oddsson?= Date: Fri, 12 Mar 2021 11:18:01 +0000 Subject: [PATCH 09/22] Set node version specifically in action --- .github/workflows/node.js.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/node.js.yml b/.github/workflows/node.js.yml index 4c1b56e..acdabbf 100644 --- a/.github/workflows/node.js.yml +++ b/.github/workflows/node.js.yml @@ -19,7 +19,7 @@ jobs: - name: Generate data uses: actions/setup-node@v1 with: - node-version: latest + node-version: 15.x - run: node generate.js - name: Commit & Push Generated Data run: | From 92d85b28c13889664fb98388102ce62b181bbd04 Mon Sep 17 00:00:00 2001 From: Actions Auto Build Date: Fri, 12 Mar 2021 11:18:33 +0000 Subject: [PATCH 10/22] docs: generate documents --- README.md | 98 +--------------------------------------------------- bower.json | 20 +---------- package.json | 19 +--------- 3 files changed, 3 insertions(+), 134 deletions(-) diff --git a/README.md b/README.md index dcab746..f491ba4 100644 --- a/README.md +++ b/README.md @@ -2,100 +2,4 @@ GitHub's Web Component collection. -We have 16 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. - -[Link](https://github.com/github/auto-check-element) - -### [github/auto-complete-element](https://github.com/github/auto-complete-element) - -Auto-complete input values from server search results. - -[Link](https://github.com/github/auto-complete-element) - -### [github/clipboard-copy-element](https://github.com/github/clipboard-copy-element) - -Copy element text content or input values to the clipboard. - -[Link](https://github.com/github/clipboard-copy-element) - -### [github/details-dialog-element](https://github.com/github/details-dialog-element) - -A modal dialog that's opened with <details>. - -[Link](https://github.com/github/details-dialog-element) - -### [github/details-menu-element](https://github.com/github/details-menu-element) - -A menu opened with <details>. - -[Link](https://github.com/github/details-menu-element) - -### [github/file-attachment-element](https://github.com/github/file-attachment-element) - -Attach files via drag and drop or file input. - -[Link](https://github.com/github/file-attachment-element) - -### [github/filter-input-element](https://github.com/github/filter-input-element) - -Display elements in a subtree that match filter input text. - -[Link](https://github.com/github/filter-input-element) - -### [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. - -[Link](https://github.com/github/g-emoji-element) - -### [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. - -[Link](https://github.com/github/image-crop-element) - -### [github/include-fragment-element](https://github.com/github/include-fragment-element) - -A client-side includes tag. - -[Link](https://github.com/github/include-fragment-element) - -### [github/markdown-toolbar-element](https://github.com/github/markdown-toolbar-element) - -Markdown formatting buttons for text inputs. - -[Link](https://github.com/github/markdown-toolbar-element) - -### [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. - -[Link](https://github.com/github/remote-input-element) - -### [github/tab-container-element](https://github.com/github/tab-container-element) - -An accessible tab container element with keyboard support. - -[Link](https://github.com/github/tab-container-element) - -### [github/task-lists-element](https://github.com/github/task-lists-element) - -Drag and drop task list items. - -[Link](https://github.com/github/task-lists-element) - -### [github/text-expander-element](https://github.com/github/text-expander-element) - -Activates a suggestion menu to expand text snippets as you type. - -[Link](https://github.com/github/text-expander-element) - -### [github/time-elements](https://github.com/github/time-elements) - -Web component extensions to the standard <time> element. - -[Link](https://github.com/github/time-elements) +We have 0 open source custom elements: diff --git a/bower.json b/bower.json index c0ae04b..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", - "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", - "remote-input-element": "github/remote-input-element", - "time-elements": "github/time-elements" - } + "dependencies": {} } \ No newline at end of file diff --git a/package.json b/package.json index dccece3..5491132 100644 --- a/package.json +++ b/package.json @@ -15,22 +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/remote-input-element": "*", - "@github/tab-container-element": "*", - "@github/task-lists-element": "*", - "@github/text-expander-element": "*", - "@github/time-elements": "*" - } + "dependencies": {} } \ No newline at end of file From 34bb2471c5b8df99018d16395b444266323b2e7d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kristj=C3=A1n=20Oddsson?= Date: Fri, 12 Mar 2021 11:23:23 +0000 Subject: [PATCH 11/22] pass github token to node process --- .github/workflows/node.js.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/node.js.yml b/.github/workflows/node.js.yml index acdabbf..1fdefc1 100644 --- a/.github/workflows/node.js.yml +++ b/.github/workflows/node.js.yml @@ -21,6 +21,8 @@ jobs: with: node-version: 15.x - run: node generate.js + - with: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - name: Commit & Push Generated Data run: | git config --local user.email "actions@github.com" From 225c6b0e04ee95b4ce707b4955dfaffb492cd2cc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kristj=C3=A1n=20Oddsson?= Date: Fri, 12 Mar 2021 11:24:51 +0000 Subject: [PATCH 12/22] it's `env` not `with` --- .github/workflows/node.js.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/node.js.yml b/.github/workflows/node.js.yml index 1fdefc1..171b001 100644 --- a/.github/workflows/node.js.yml +++ b/.github/workflows/node.js.yml @@ -21,7 +21,7 @@ jobs: with: node-version: 15.x - run: node generate.js - - with: + env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - name: Commit & Push Generated Data run: | From d10623033a1a3c34499c367a139333f2376a93fd Mon Sep 17 00:00:00 2001 From: Actions Auto Build Date: Fri, 12 Mar 2021 11:25:10 +0000 Subject: [PATCH 13/22] docs: generate documents --- README.md | 98 +++++++++++++++++++++++++++++++++++++++++++++++++++- bower.json | 19 +++++++++- package.json | 19 +++++++++- 3 files changed, 133 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index f491ba4..dcab746 100644 --- a/README.md +++ b/README.md @@ -2,4 +2,100 @@ GitHub's Web Component collection. -We have 0 open source custom elements: +We have 16 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. + +[Link](https://github.com/github/auto-check-element) + +### [github/auto-complete-element](https://github.com/github/auto-complete-element) + +Auto-complete input values from server search results. + +[Link](https://github.com/github/auto-complete-element) + +### [github/clipboard-copy-element](https://github.com/github/clipboard-copy-element) + +Copy element text content or input values to the clipboard. + +[Link](https://github.com/github/clipboard-copy-element) + +### [github/details-dialog-element](https://github.com/github/details-dialog-element) + +A modal dialog that's opened with <details>. + +[Link](https://github.com/github/details-dialog-element) + +### [github/details-menu-element](https://github.com/github/details-menu-element) + +A menu opened with <details>. + +[Link](https://github.com/github/details-menu-element) + +### [github/file-attachment-element](https://github.com/github/file-attachment-element) + +Attach files via drag and drop or file input. + +[Link](https://github.com/github/file-attachment-element) + +### [github/filter-input-element](https://github.com/github/filter-input-element) + +Display elements in a subtree that match filter input text. + +[Link](https://github.com/github/filter-input-element) + +### [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. + +[Link](https://github.com/github/g-emoji-element) + +### [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. + +[Link](https://github.com/github/image-crop-element) + +### [github/include-fragment-element](https://github.com/github/include-fragment-element) + +A client-side includes tag. + +[Link](https://github.com/github/include-fragment-element) + +### [github/markdown-toolbar-element](https://github.com/github/markdown-toolbar-element) + +Markdown formatting buttons for text inputs. + +[Link](https://github.com/github/markdown-toolbar-element) + +### [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. + +[Link](https://github.com/github/remote-input-element) + +### [github/tab-container-element](https://github.com/github/tab-container-element) + +An accessible tab container element with keyboard support. + +[Link](https://github.com/github/tab-container-element) + +### [github/task-lists-element](https://github.com/github/task-lists-element) + +Drag and drop task list items. + +[Link](https://github.com/github/task-lists-element) + +### [github/text-expander-element](https://github.com/github/text-expander-element) + +Activates a suggestion menu to expand text snippets as you type. + +[Link](https://github.com/github/text-expander-element) + +### [github/time-elements](https://github.com/github/time-elements) + +Web component extensions to the standard <time> element. + +[Link](https://github.com/github/time-elements) diff --git a/bower.json b/bower.json index fc2784e..bfa6c18 100644 --- a/bower.json +++ b/bower.json @@ -7,5 +7,22 @@ "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", + "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" + } } \ No newline at end of file diff --git a/package.json b/package.json index 5491132..dccece3 100644 --- a/package.json +++ b/package.json @@ -15,5 +15,22 @@ "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/remote-input-element": "*", + "@github/tab-container-element": "*", + "@github/task-lists-element": "*", + "@github/text-expander-element": "*", + "@github/time-elements": "*" + } } \ No newline at end of file From a4d490f936cd266d4f7e66507d961e4e46aab826 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kristj=C3=A1n=20Oddsson?= Date: Fri, 12 Mar 2021 11:38:29 +0000 Subject: [PATCH 14/22] Update node.js.yml --- .github/workflows/node.js.yml | 5 ----- 1 file changed, 5 deletions(-) diff --git a/.github/workflows/node.js.yml b/.github/workflows/node.js.yml index 171b001..dc12ee1 100644 --- a/.github/workflows/node.js.yml +++ b/.github/workflows/node.js.yml @@ -1,11 +1,6 @@ name: Update data on: - push: - branches: [ main ] - pull_request: - branches: - - main schedule: - cron: "0 8 * * *" workflow_dispatch: From 0756615bd00237f05fbdd1e555ef370311742033 Mon Sep 17 00:00:00 2001 From: Simon Willison Date: Fri, 12 Mar 2021 10:54:12 -0800 Subject: [PATCH 15/22] Link to example, if available Repos tagged custom-element use the homepage field to link to their examples. Expose those in this README. --- generate.js | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/generate.js b/generate.js index 1ad02b1..5dda923 100755 --- a/generate.js +++ b/generate.js @@ -71,12 +71,16 @@ We have ${repos.length} open source custom elements: for (const repo of repos) { bowerJson.dependencies[repo.name] = repo.full_name packageJson.dependencies[`@${repo.full_name}`] = '*' + let exampleLink = ''; + if (repo.homepage) { + exampleLink = ` | [Example](${repo.homepage})` + } readme += ` ### [${escape(repo.full_name)}](${repo.html_url}) ${escape(repo.description)} -[Link](${repo.html_url}) +[Repository](${repo.html_url})${exampleLink} ` } readme += readFileSync('readme.tail.md', 'utf-8') From ac60d40e4d46768c250c8a5fd0c9bd650fe60a47 Mon Sep 17 00:00:00 2001 From: Actions Auto Build Date: Fri, 12 Mar 2021 22:40:27 +0000 Subject: [PATCH 16/22] docs: generate documents --- README.md | 32 ++++++++++++++++---------------- 1 file changed, 16 insertions(+), 16 deletions(-) diff --git a/README.md b/README.md index dcab746..3aa4816 100644 --- a/README.md +++ b/README.md @@ -8,94 +8,94 @@ We have 16 open source custom elements: An input element that validates its value with a server endpoint. -[Link](https://github.com/github/auto-check-element) +[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. -[Link](https://github.com/github/auto-complete-element) +[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. -[Link](https://github.com/github/clipboard-copy-element) +[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>. -[Link](https://github.com/github/details-dialog-element) +[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>. -[Link](https://github.com/github/details-menu-element) +[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. -[Link](https://github.com/github/file-attachment-element) +[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. -[Link](https://github.com/github/filter-input-element) +[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. -[Link](https://github.com/github/g-emoji-element) +[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. -[Link](https://github.com/github/image-crop-element) +[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. -[Link](https://github.com/github/include-fragment-element) +[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. -[Link](https://github.com/github/markdown-toolbar-element) +[Repository](https://github.com/github/markdown-toolbar-element) | [Example](https://github.github.com/markdown-toolbar-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. -[Link](https://github.com/github/remote-input-element) +[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. -[Link](https://github.com/github/tab-container-element) +[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. -[Link](https://github.com/github/task-lists-element) +[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. -[Link](https://github.com/github/text-expander-element) +[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. -[Link](https://github.com/github/time-elements) +[Repository](https://github.com/github/time-elements) | [Example](https://github.github.io/time-elements/examples/) From b9148ebb317a952942741602718f4a675ef73698 Mon Sep 17 00:00:00 2001 From: Actions Auto Build Date: Wed, 21 Apr 2021 08:04:53 +0000 Subject: [PATCH 17/22] docs: generate documents --- README.md | 8 +++++++- bower.json | 3 ++- package.json | 3 ++- 3 files changed, 11 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 3aa4816..b080c39 100644 --- a/README.md +++ b/README.md @@ -2,7 +2,7 @@ GitHub's Web Component collection. -We have 16 open source custom elements: +We have 17 open source custom elements: ### [github/auto-check-element](https://github.com/github/auto-check-element) @@ -99,3 +99,9 @@ Activates a suggestion menu to expand text snippets as you type. 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 + +[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 bfa6c18..bb281b1 100644 --- a/bower.json +++ b/bower.json @@ -23,6 +23,7 @@ "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" + "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 dccece3..28fe226 100644 --- a/package.json +++ b/package.json @@ -31,6 +31,7 @@ "@github/tab-container-element": "*", "@github/task-lists-element": "*", "@github/text-expander-element": "*", - "@github/time-elements": "*" + "@github/time-elements": "*", + "@github/typing-effect-element": "*" } } \ No newline at end of file From c1d665ca405416721d40fd9b867bfad068a0fa37 Mon Sep 17 00:00:00 2001 From: Keith Cirkel Date: Fri, 23 Sep 2022 18:02:29 +0100 Subject: [PATCH 18/22] 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 19/22] 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 20/22] 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 21/22] 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 22/22] 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 pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy