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

docs(knapsack): docs for full screen dialog and focused page #2275

Merged
merged 3 commits into from
Nov 13, 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
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
Loading