Skip to content

Commit

Permalink
docs(knapsack): docs for full screen dialog and focused page
Browse files Browse the repository at this point in the history
  • Loading branch information
bsahitya committed Nov 6, 2024
1 parent 8a4b501 commit 22ae283
Show file tree
Hide file tree
Showing 48 changed files with 3,113 additions and 4,832 deletions.
67 changes: 67 additions & 0 deletions apps/knapsack/data/blocks/block.E9Z5cUZDb.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,67 @@
{
"id": "E9Z5cUZDb",
"blockType": "text-editor",
"data": {
"content": {
"type": "doc",
"content": [
{
"type": "heading",
"attrs": {
"textAlign": "left",
"level": 3
},
"content": [
{
"type": "text",
"text": "Methods, listeners & events"
}
]
},
{
"type": "paragraph",
"attrs": {
"textAlign": "left"
},
"content": [
{
"type": "text",
"text": "This component extends "
},
{
"type": "text",
"marks": [
{
"type": "code"
}
],
"text": "cv-dialog"
},
{
"type": "text",
"text": ". Refer to "
},
{
"type": "text",
"marks": [
{
"type": "link",
"attrs": {
"href": "/pattern/dialog?templateId=web-components-S9Ia0KOrya",
"rel": "noopener noreferrer nofollow",
"class": null
}
}
],
"text": "dialog documentation"
},
{
"type": "text",
"text": " for a complete list of available methods, listeners and events."
}
]
}
]
}
}
}
46 changes: 46 additions & 0 deletions apps/knapsack/data/blocks/block.FpMdtnA4dy.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
{
"id": "FpMdtnA4dy",
"blockType": "text-editor",
"data": {
"content": {
"type": "doc",
"content": [
{
"type": "heading",
"attrs": {
"textAlign": "left",
"level": 3
},
"content": [
{
"type": "text",
"text": "References"
}
]
},
{
"type": "paragraph",
"attrs": {
"textAlign": "left"
},
"content": [
{
"type": "text",
"marks": [
{
"type": "link",
"attrs": {
"href": "http://localhost:50187/?path=/story/components-focused-page--basic",
"rel": "noopener noreferrer nofollow",
"class": null
}
}
],
"text": "Covalent design system - Focused page"
}
]
}
]
}
}
}
68 changes: 68 additions & 0 deletions apps/knapsack/data/blocks/block.nWcNDJiFHd.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,68 @@
{
"id": "nWcNDJiFHd",
"blockType": "text-editor",
"data": {
"content": {
"type": "doc",
"content": [
{
"type": "heading",
"attrs": {
"textAlign": "left",
"level": 3
},
"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-dialog",
"rel": "noopener noreferrer nofollow",
"class": null
}
}
],
"text": "MWC dialog"
}
]
},
{
"type": "paragraph",
"attrs": {
"textAlign": "left"
},
"content": [
{
"type": "text",
"marks": [
{
"type": "link",
"attrs": {
"href": "http://localhost:50187/?path=/story/components-full-screen-dialog--basic",
"rel": "noopener noreferrer nofollow",
"class": null
}
}
],
"text": "Covalent design system - Full-screen dialog"
}
]
}
]
}
}
}
44 changes: 44 additions & 0 deletions apps/knapsack/data/demos/demo.06ZgV078BY.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
{
"id": "06ZgV078BY",
"title": "Main",
"type": "data",
"patternId": "empty-state",
"templateId": "web-components-E0GwXgHJv",
"data": {
"props": {
"headline": "You don't have access to this area",
"subtitle": "You don't have permission to view this application. Please contact your system administrator for further details.",
"icon": "lock"
},
"slots": {
"button": [
{
"type": "template-demo",
"demoId": "bYK-p54OKe",
"patternId": "button",
"templateId": "web-components-raE1x4tYL"
},
{
"type": "template-demo",
"demoId": "wmK8olelRV",
"patternId": "button",
"templateId": "web-components-raE1x4tYL"
}
],
"buttons": [
{
"type": "template-demo",
"demoId": "13qmsOIQun",
"patternId": "button",
"templateId": "web-components-raE1x4tYL"
},
{
"type": "template-demo",
"demoId": "oKkEC8tFJ",
"patternId": "button",
"templateId": "web-components-raE1x4tYL"
}
]
}
}
}
21 changes: 21 additions & 0 deletions apps/knapsack/data/demos/demo.13qmsOIQun.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
{
"id": "13qmsOIQun",
"title": "Main",
"type": "data",
"patternId": "button",
"templateId": "web-components-raE1x4tYL",
"data": {
"props": {
"label": "test",
"trailingIcon": false,
"raised": false,
"unelevated": false,
"outlined": false,
"dense": false,
"disabled": false,
"expandContent": false,
"fullwidth": false
},
"slots": {}
}
}
21 changes: 21 additions & 0 deletions apps/knapsack/data/demos/demo.3dzl1jfQd.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
{
"id": "3dzl1jfQd",
"title": "Main",
"type": "data",
"patternId": "button",
"templateId": "web-components-raE1x4tYL",
"data": {
"props": {
"label": "test",
"trailingIcon": false,
"raised": false,
"unelevated": false,
"outlined": false,
"dense": false,
"disabled": false,
"expandContent": false,
"fullwidth": false
},
"slots": {}
}
}
44 changes: 44 additions & 0 deletions apps/knapsack/data/demos/demo.5QIssuXE3s.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
{
"id": "5QIssuXE3s",
"title": "Main",
"type": "data",
"patternId": "empty-state",
"templateId": "web-components-E0GwXgHJv",
"data": {
"props": {
"headline": "You don't have access to this area",
"subtitle": "You don't have permission to view this application. Please contact your system administrator for further details.",
"icon": "lock"
},
"slots": {
"button": [
{
"type": "template-demo",
"demoId": "kGB17Yklab",
"patternId": "button",
"templateId": "web-components-raE1x4tYL"
},
{
"type": "template-demo",
"demoId": "WrxE56n9M1",
"patternId": "button",
"templateId": "web-components-raE1x4tYL"
}
],
"buttons": [
{
"type": "template-demo",
"demoId": "X0tZctZ8Lt",
"patternId": "button",
"templateId": "web-components-raE1x4tYL"
},
{
"type": "template-demo",
"demoId": "3dzl1jfQd",
"patternId": "button",
"templateId": "web-components-raE1x4tYL"
}
]
}
}
}
26 changes: 26 additions & 0 deletions apps/knapsack/data/demos/demo.7neD2HUsv2.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
{
"id": "7neD2HUsv2",
"title": "Main",
"type": "data",
"patternId": "toolbar",
"templateId": "web-components-A6-16QhSaM",
"data": {
"props": {},
"slots": {
"title": [
{
"text": "Help",
"type": "text"
}
],
"actionItems": [
{
"type": "template-demo",
"demoId": "i9bqgQBzGV",
"patternId": "icon-button",
"templateId": "web-components-ctiCe2sAX"
}
]
}
}
}
Loading

0 comments on commit 22ae283

Please sign in to comment.