Skip to content

Commit

Permalink
docs(knapsack): updated docs for components (#2125)
Browse files Browse the repository at this point in the history
  • Loading branch information
bsahitya authored Mar 19, 2024
1 parent eedb6c8 commit f8cf004
Show file tree
Hide file tree
Showing 39 changed files with 1,483 additions and 124 deletions.
47 changes: 47 additions & 0 deletions apps/knapsack/data/blocks/block.744NeKvS9M.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
{
"id": "744NeKvS9M",
"blockType": "text-editor",
"data": {
"content": {
"type": "doc",
"content": [
{
"type": "heading",
"attrs": {
"textAlign": "left",
"level": 4
},
"content": [
{
"type": "text",
"text": "References"
}
]
},
{
"type": "paragraph",
"attrs": {
"textAlign": "left"
},
"content": [
{
"type": "text",
"marks": [
{
"type": "link",
"attrs": {
"href": "https://teradata.github.io/covalent/docs/components/?path=/docs/components-cards--overview",
"target": "_blank",
"rel": "noopener noreferrer nofollow",
"class": null
}
}
],
"text": "Covalent design system - Cards"
}
]
}
]
}
}
}
47 changes: 47 additions & 0 deletions apps/knapsack/data/blocks/block.PLFtD8oW-j.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
{
"id": "PLFtD8oW-j",
"blockType": "text-editor",
"data": {
"content": {
"type": "doc",
"content": [
{
"type": "heading",
"attrs": {
"textAlign": "left",
"level": 4
},
"content": [
{
"type": "text",
"text": "References"
}
]
},
{
"type": "paragraph",
"attrs": {
"textAlign": "left"
},
"content": [
{
"type": "text",
"marks": [
{
"type": "link",
"attrs": {
"href": "https://teradata.github.io/covalent/docs/components/?path=/docs/components-badge--overview",
"target": "_blank",
"rel": "noopener noreferrer nofollow",
"class": null
}
}
],
"text": "Covalent design system - Badge"
}
]
}
]
}
}
}
180 changes: 180 additions & 0 deletions apps/knapsack/data/blocks/block.RILkEnTgSL.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,180 @@
{
"id": "RILkEnTgSL",
"blockType": "table",
"data": {
"content": {
"type": "doc",
"content": [
{
"type": "table",
"attrs": {
"equalColumns": true
},
"content": [
{
"type": "tableRow",
"content": [
{
"type": "tableHeader",
"attrs": {
"colspan": 1,
"rowspan": 1,
"colwidth": null
},
"content": [
{
"type": "paragraph",
"attrs": {
"textAlign": "left"
},
"content": [
{
"type": "text",
"text": "Method Signature"
}
]
}
]
},
{
"type": "tableHeader",
"attrs": {
"colspan": 1,
"rowspan": 1,
"colwidth": null
},
"content": [
{
"type": "paragraph",
"attrs": {
"textAlign": "left"
},
"content": [
{
"type": "text",
"text": "Description"
}
]
}
]
}
]
},
{
"type": "tableRow",
"content": [
{
"type": "tableCell",
"attrs": {
"colspan": 1,
"rowspan": 1,
"colwidth": null
},
"content": [
{
"type": "paragraph",
"attrs": {
"textAlign": "left"
},
"content": [
{
"type": "text",
"marks": [
{
"type": "code"
}
],
"text": "show() => void"
}
]
}
]
},
{
"type": "tableCell",
"attrs": {
"colspan": 1,
"rowspan": 1,
"colwidth": null
},
"content": [
{
"type": "paragraph",
"attrs": {
"textAlign": "left"
},
"content": [
{
"type": "text",
"text": "Opens the alert."
}
]
}
]
}
]
},
{
"type": "tableRow",
"content": [
{
"type": "tableCell",
"attrs": {
"colspan": 1,
"rowspan": 1,
"colwidth": null
},
"content": [
{
"type": "paragraph",
"attrs": {
"textAlign": "left"
},
"content": [
{
"type": "text",
"marks": [
{
"type": "code"
}
],
"text": "close(reason: CloseReason) => void"
}
]
}
]
},
{
"type": "tableCell",
"attrs": {
"colspan": 1,
"rowspan": 1,
"colwidth": null
},
"content": [
{
"type": "paragraph",
"attrs": {
"textAlign": "left"
},
"content": [
{
"type": "text",
"text": "Closes the alert, with the specified action indicating why it was closed."
}
]
}
]
}
]
}
]
}
]
}
},
"header": {
"showHeader": true,
"title": "Methods"
}
}
47 changes: 47 additions & 0 deletions apps/knapsack/data/blocks/block.X0XuYUkOFk.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
{
"id": "X0XuYUkOFk",
"blockType": "text-editor",
"data": {
"content": {
"type": "doc",
"content": [
{
"type": "heading",
"attrs": {
"textAlign": "left",
"level": 4
},
"content": [
{
"type": "text",
"text": "References"
}
]
},
{
"type": "paragraph",
"attrs": {
"textAlign": "left"
},
"content": [
{
"type": "text",
"marks": [
{
"type": "link",
"attrs": {
"href": "https://teradata.github.io/covalent/docs/components/?path=/docs/components-code-snippet--overview",
"target": "_blank",
"rel": "noopener noreferrer nofollow",
"class": null
}
}
],
"text": "Covalent design system - Code snippet"
}
]
}
]
}
}
}
70 changes: 70 additions & 0 deletions apps/knapsack/data/blocks/block.Yy3EHn1oaI.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,70 @@
{
"id": "Yy3EHn1oaI",
"blockType": "text-editor",
"data": {
"content": {
"type": "doc",
"content": [
{
"type": "heading",
"attrs": {
"textAlign": "left",
"level": 4
},
"content": [
{
"type": "text",
"text": "References"
}
]
},
{
"type": "paragraph",
"attrs": {
"textAlign": "left"
},
"content": [
{
"type": "text",
"marks": [
{
"type": "link",
"attrs": {
"href": "https://www.npmjs.com/package/@material/mwc-button",
"target": "_blank",
"rel": "noopener noreferrer nofollow",
"class": null
}
}
],
"text": "MWC button"
}
]
},
{
"type": "paragraph",
"attrs": {
"textAlign": "left"
},
"content": [
{
"type": "text",
"marks": [
{
"type": "link",
"attrs": {
"href": "https://teradata.github.io/covalent/docs/components/?path=/docs/components-button--overview",
"target": "_blank",
"rel": "noopener noreferrer nofollow",
"class": null
}
}
],
"text": "Covalent design system - Button"
}
]
}
]
}
}
}
Loading

0 comments on commit f8cf004

Please sign in to comment.