Skip to content

Commit

Permalink
docs(docs): added new component to docs
Browse files Browse the repository at this point in the history
added ic-skip-link to docs package
  • Loading branch information
GCHQ-Developer-741 committed Feb 7, 2025
1 parent e6e52bf commit d67a949
Showing 1 changed file with 209 additions and 1 deletion.
210 changes: 209 additions & 1 deletion packages/docs/docs.json
Original file line number Diff line number Diff line change
Expand Up @@ -7579,7 +7579,8 @@
"parts": [],
"dependents": [
"ic-breadcrumb",
"ic-footer-link"
"ic-footer-link",
"ic-skip-link"
],
"dependencies": [],
"dependencyGraph": {
Expand All @@ -7588,6 +7589,9 @@
],
"ic-footer-link": [
"ic-link"
],
"ic-skip-link": [
"ic-link"
]
}
},
Expand Down Expand Up @@ -14431,6 +14435,210 @@
"dependencies": [],
"dependencyGraph": {}
},
{
"filePath": "src/components/ic-skip-link/ic-skip-link.tsx",
"encapsulation": "shadow",
"tag": "ic-skip-link",
"readme": "# ic-skip-link\r\n\r\n\r\n\r",
"docs": "",
"docsTags": [
{
"name": "slot",
"text": "router-item - Handle routing by nesting your routes in this slot."
}
],
"usage": {},
"props": [
{
"name": "fullWidth",
"type": "boolean",
"complexType": {
"original": "boolean",
"resolved": "boolean",
"references": {}
},
"mutable": false,
"attr": "full-width",
"reflectToAttr": false,
"docs": "If `true`, the element will fill the width of the container.",
"docsTags": [],
"default": "false",
"values": [
{
"type": "boolean"
}
],
"optional": false,
"required": false
},
{
"name": "inline",
"type": "boolean",
"complexType": {
"original": "boolean",
"resolved": "boolean",
"references": {}
},
"mutable": false,
"attr": "inline",
"reflectToAttr": false,
"docs": "If `true`, the element will appear inline with surrounding page content when focused.",
"docsTags": [],
"default": "false",
"values": [
{
"type": "boolean"
}
],
"optional": false,
"required": false
},
{
"name": "label",
"type": "string",
"complexType": {
"original": "string",
"resolved": "string",
"references": {}
},
"mutable": false,
"attr": "label",
"reflectToAttr": false,
"docs": "The label displayed when the element is focused.",
"docsTags": [],
"default": "\"Skip to main content\"",
"values": [
{
"type": "string"
}
],
"optional": false,
"required": false
},
{
"name": "monochrome",
"type": "boolean",
"complexType": {
"original": "boolean",
"resolved": "boolean",
"references": {}
},
"mutable": false,
"attr": "monochrome",
"reflectToAttr": false,
"docs": "If `true`, the link will display as black in the light theme, and white in the dark theme.",
"docsTags": [],
"default": "false",
"values": [
{
"type": "boolean"
}
],
"optional": false,
"required": false
},
{
"name": "target",
"type": "string",
"complexType": {
"original": "string",
"resolved": "string",
"references": {}
},
"mutable": false,
"attr": "target",
"reflectToAttr": false,
"docs": "The target id for the element which should receive focus when triggering the skip link.\nNot necessary if using the `router-item` slot.",
"docsTags": [],
"values": [
{
"type": "string"
}
],
"optional": true,
"required": false
},
{
"name": "theme",
"type": "\"dark\" | \"inherit\" | \"light\"",
"complexType": {
"original": "IcThemeMode",
"resolved": "\"dark\" | \"inherit\" | \"light\"",
"references": {
"IcThemeMode": {
"location": "import",
"path": "../../utils/types",
"id": "src/utils/types.ts::IcThemeMode"
}
}
},
"mutable": false,
"attr": "theme",
"reflectToAttr": false,
"docs": "Sets the theme color to the dark or light theme color. `inherit` will set the color based on the system settings or ic-theme component.",
"docsTags": [],
"default": "\"inherit\"",
"values": [
{
"value": "dark",
"type": "string"
},
{
"value": "inherit",
"type": "string"
},
{
"value": "light",
"type": "string"
}
],
"optional": false,
"required": false
},
{
"name": "transparentBackground",
"type": "boolean",
"complexType": {
"original": "boolean",
"resolved": "boolean",
"references": {}
},
"mutable": false,
"attr": "transparent-background",
"reflectToAttr": false,
"docs": "Determines whether the background should be hidden.",
"docsTags": [],
"default": "false",
"values": [
{
"type": "boolean"
}
],
"optional": false,
"required": false
}
],
"methods": [],
"events": [],
"listeners": [],
"styles": [],
"slots": [
{
"name": "router-item",
"docs": "Handle routing by nesting your routes in this slot."
}
],
"parts": [],
"dependents": [],
"dependencies": [
"ic-link"
],
"dependencyGraph": {
"ic-skip-link": [
"ic-link"
]
}
},
{
"filePath": "src/components/ic-status-tag/ic-status-tag.tsx",
"encapsulation": "shadow",
Expand Down

0 comments on commit d67a949

Please sign in to comment.