Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Web-Components - POAM: October '24 #78

Merged
merged 2 commits into from
Oct 16, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
346 changes: 173 additions & 173 deletions custom-elements.json
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Running npm install on the develop branch moves the usa-link manifest to the bottom of the file

Original file line number Diff line number Diff line change
Expand Up @@ -208,179 +208,6 @@
}
]
},
{
"kind": "javascript-module",
"path": "src/components/usa-link/index.js",
"declarations": [
{
"kind": "class",
"description": "",
"name": "UsaLink",
"cssProperties": [
{
"description": "Sets the link color",
"name": "--theme-link-color"
},
{
"description": "Sets the color for visited links",
"name": "--theme-link-visited-color"
},
{
"description": "Sets the hover state link color",
"name": "--theme-link-hover-color"
},
{
"description": "Sets the active state link color",
"name": "--theme-link-active-color"
}
],
"slots": [
{
"description": "This element has a slot",
"name": ""
}
],
"members": [
{
"kind": "method",
"name": "hasLinkChild"
},
{
"kind": "method",
"name": "templateWithChildren"
},
{
"kind": "method",
"name": "templateWithSlots"
},
{
"kind": "field",
"name": "href",
"privacy": "public",
"attribute": "href"
}
],
"attributes": [
{
"type": {
"text": "String"
},
"description": "The url for the link",
"name": "href",
"fieldName": "href"
}
],
"superclass": {
"name": "LitElement",
"package": "lit"
},
"tagName": "usa-link",
"summary": "The usa-link component.",
"customElement": true
}
],
"exports": [
{
"kind": "js",
"name": "UsaLink",
"declaration": {
"name": "UsaLink",
"module": "src/components/usa-link/index.js"
}
},
{
"kind": "custom-element-definition",
"name": "usa-link",
"declaration": {
"name": "UsaLink",
"module": "src/components/usa-link/index.js"
}
}
]
},
{
"kind": "javascript-module",
"path": "src/components/usa-link/link.stories.js",
"declarations": [
{
"kind": "variable",
"name": "Default",
"type": {
"text": "object"
},
"default": "{}"
},
{
"kind": "variable",
"name": "ChildLink",
"type": {
"text": "object"
},
"default": "{ parameters: { a11y: { config: { rules: [ { // It seems like this is just an issue with the test not // knowing about shadow DOM content projecting into the slot // but this should be verified manually id: \"link-name\", reviewOnFail: true, }, ], }, }, }, render: ({ href, label }) => html` <usa-link> <a href=\"${href}\">${label}</a> </usa-link> `, }"
},
{
"kind": "variable",
"name": "Inverse",
"type": {
"text": "object"
},
"default": "{ parameters: { backgrounds: { default: \"dark\" }, }, }"
}
],
"exports": [
{
"kind": "js",
"name": "default",
"declaration": {
"module": "src/components/usa-link/link.stories.js"
}
},
{
"kind": "js",
"name": "Default",
"declaration": {
"name": "Default",
"module": "src/components/usa-link/link.stories.js"
}
},
{
"kind": "js",
"name": "ChildLink",
"declaration": {
"name": "ChildLink",
"module": "src/components/usa-link/link.stories.js"
}
},
{
"kind": "js",
"name": "Inverse",
"declaration": {
"name": "Inverse",
"module": "src/components/usa-link/link.stories.js"
}
}
]
},
{
"kind": "javascript-module",
"path": "src/components/usa-link/usa-link.css.js",
"declarations": [],
"exports": [
{
"kind": "js",
"name": "default",
"declaration": {
"module": "src/components/usa-link/usa-link.css.js"
}
}
]
},
{
"kind": "javascript-module",
"path": "src/components/usa-link/usa-link.spec.js",
"declarations": [],
"exports": []
},
{
"kind": "javascript-module",
"path": "src/components/usa-banner/banner.stories.js",
Expand Down Expand Up @@ -696,6 +523,179 @@
}
}
]
},
{
"kind": "javascript-module",
"path": "src/components/usa-link/index.js",
"declarations": [
{
"kind": "class",
"description": "",
"name": "UsaLink",
"cssProperties": [
{
"description": "Sets the link color",
"name": "--theme-link-color"
},
{
"description": "Sets the color for visited links",
"name": "--theme-link-visited-color"
},
{
"description": "Sets the hover state link color",
"name": "--theme-link-hover-color"
},
{
"description": "Sets the active state link color",
"name": "--theme-link-active-color"
}
],
"slots": [
{
"description": "This element has a slot",
"name": ""
}
],
"members": [
{
"kind": "method",
"name": "hasLinkChild"
},
{
"kind": "method",
"name": "templateWithChildren"
},
{
"kind": "method",
"name": "templateWithSlots"
},
{
"kind": "field",
"name": "href",
"privacy": "public",
"attribute": "href"
}
],
"attributes": [
{
"type": {
"text": "String"
},
"description": "The url for the link",
"name": "href",
"fieldName": "href"
}
],
"superclass": {
"name": "LitElement",
"package": "lit"
},
"tagName": "usa-link",
"summary": "The usa-link component.",
"customElement": true
}
],
"exports": [
{
"kind": "js",
"name": "UsaLink",
"declaration": {
"name": "UsaLink",
"module": "src/components/usa-link/index.js"
}
},
{
"kind": "custom-element-definition",
"name": "usa-link",
"declaration": {
"name": "UsaLink",
"module": "src/components/usa-link/index.js"
}
}
]
},
{
"kind": "javascript-module",
"path": "src/components/usa-link/link.stories.js",
"declarations": [
{
"kind": "variable",
"name": "Default",
"type": {
"text": "object"
},
"default": "{}"
},
{
"kind": "variable",
"name": "ChildLink",
"type": {
"text": "object"
},
"default": "{ parameters: { a11y: { config: { rules: [ { // It seems like this is just an issue with the test not // knowing about shadow DOM content projecting into the slot // but this should be verified manually id: \"link-name\", reviewOnFail: true, }, ], }, }, }, render: ({ href, label }) => html` <usa-link> <a href=\"${href}\">${label}</a> </usa-link> `, }"
},
{
"kind": "variable",
"name": "Inverse",
"type": {
"text": "object"
},
"default": "{ parameters: { backgrounds: { default: \"dark\" }, }, }"
}
],
"exports": [
{
"kind": "js",
"name": "default",
"declaration": {
"module": "src/components/usa-link/link.stories.js"
}
},
{
"kind": "js",
"name": "Default",
"declaration": {
"name": "Default",
"module": "src/components/usa-link/link.stories.js"
}
},
{
"kind": "js",
"name": "ChildLink",
"declaration": {
"name": "ChildLink",
"module": "src/components/usa-link/link.stories.js"
}
},
{
"kind": "js",
"name": "Inverse",
"declaration": {
"name": "Inverse",
"module": "src/components/usa-link/link.stories.js"
}
}
]
},
{
"kind": "javascript-module",
"path": "src/components/usa-link/usa-link.css.js",
"declarations": [],
"exports": [
{
"kind": "js",
"name": "default",
"declaration": {
"module": "src/components/usa-link/usa-link.css.js"
}
}
]
},
{
"kind": "javascript-module",
"path": "src/components/usa-link/usa-link.spec.js",
"declarations": [],
"exports": []
}
]
}
Loading