Skip to content

Commit

Permalink
docs(knapsack): update to components config, arrangement (#2113)
Browse files Browse the repository at this point in the history
  • Loading branch information
owilliams320 authored Feb 29, 2024
1 parent 78a5418 commit 81d8334
Show file tree
Hide file tree
Showing 74 changed files with 1,520 additions and 86 deletions.
23 changes: 23 additions & 0 deletions apps/knapsack/data/demos/demo.0n-okWquA.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
{
"id": "0n-okWquA",
"title": "Radio",
"description": "A description",
"type": "data",
"patternId": "form-field",
"templateId": "web-components-I5Sx1HQnJ",
"data": {
"props": {
"label": "Radio field label"
},
"slots": {
"default": [
{
"type": "template-demo",
"patternId": "radio",
"templateId": "web-components-qk2MWcBipT",
"demoId": "RMPpKHlzd"
}
]
}
}
}
2 changes: 1 addition & 1 deletion apps/knapsack/data/demos/demo.1OH1Dga5C0.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
"type": "template-demo",
"patternId": "icon-button",
"templateId": "web-components-ctiCe2sAX",
"demoId": "BueNSFTYn"
"demoId": "IxXMQMFkBT"
}
],
"status-header-icon": [
Expand Down
23 changes: 23 additions & 0 deletions apps/knapsack/data/demos/demo.1cr3GRlfdT.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
{
"id": "1cr3GRlfdT",
"title": "Switch",
"description": "A description",
"type": "data",
"patternId": "form-field",
"templateId": "web-components-I5Sx1HQnJ",
"data": {
"props": {
"label": "Form field label"
},
"slots": {
"default": [
{
"type": "template-demo",
"patternId": "switch",
"templateId": "web-components-tGj2TvSrpD",
"demoId": "U89p0LyOsP"
}
]
}
}
}
37 changes: 35 additions & 2 deletions apps/knapsack/data/demos/demo.5lBJhPKvTj.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,15 +7,48 @@
"data": {
"props": {
"appName": "[App name]",
"sectionName": "[Section name]"
"sectionName": "[Section name]",
"contained": true,
"forcedOpen": true,
"open": true
},
"slots": {
"section-action": [
{
"type": "template-demo",
"patternId": "icon-button",
"templateId": "web-components-ctiCe2sAX",
"demoId": "BueNSFTYn"
"demoId": "MQBKTe4GON"
}
],
"default": [
{
"type": "template-demo",
"patternId": "tabs",
"templateId": "web-components-kjFGUA31tg",
"demoId": "GOJxN1FZx"
},
{
"type": "template-demo",
"patternId": "empty-state",
"templateId": "web-components-E0GwXgHJv",
"demoId": "8QAZfNvobo"
}
],
"navigation": [
{
"type": "template-demo",
"patternId": "list",
"templateId": "web-components-fObxCsu2i8",
"demoId": "hjXCY4fSqY"
}
],
"user-menu": [
{
"type": "template-demo",
"patternId": "toolbar",
"templateId": "web-components-A6-16QhSaM",
"demoId": "NXMdeiHjKO"
}
]
}
Expand Down
19 changes: 19 additions & 0 deletions apps/knapsack/data/demos/demo.8VqxwwTyJ.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
{
"id": "8VqxwwTyJ",
"title": "Arrow back",
"description": "A description",
"type": "data",
"patternId": "icon",
"templateId": "web-components-N8bzRbfpuX",
"data": {
"props": {},
"slots": {
"default": [
{
"type": "text",
"text": "arrow_back"
}
]
}
}
}
38 changes: 38 additions & 0 deletions apps/knapsack/data/demos/demo.CvFKcI1eN0.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
{
"id": "CvFKcI1eN0",
"title": "Main",
"type": "data",
"patternId": "check-list-item",
"templateId": "web-components-M18BFFHM3h",
"data": {
"props": {
"graphic": "avatar",
"selected": true,
"left": false,
"hasMeta": true,
"twoLine": true
},
"slots": {
"default": [
{
"type": "text",
"text": "Check list item"
}
],
"graphic": [
{
"type": "template-demo",
"patternId": "icon",
"templateId": "web-components-N8bzRbfpuX",
"demoId": "bn4zy44TYR"
}
],
"secondary": [
{
"type": "text",
"text": "secondary text"
}
]
}
}
}
37 changes: 37 additions & 0 deletions apps/knapsack/data/demos/demo.E5NLCltz6.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
{
"id": "E5NLCltz6",
"title": "Main",
"type": "data",
"patternId": "naviigation-list-item",
"templateId": "web-components-Qtmmi7N-aL",
"data": {
"props": {
"hasChildren": true,
"graphic": "avatar"
},
"slots": {
"default": [
{
"type": "text",
"text": "Navigation item"
}
],
"graphic": [
{
"type": "template-demo",
"patternId": "icon",
"templateId": "web-components-N8bzRbfpuX",
"demoId": "bn4zy44TYR"
}
],
"expansion-panel": [
{
"type": "template-demo",
"patternId": "list",
"templateId": "web-components-fObxCsu2i8",
"demoId": "SIyOkmonoE"
}
]
}
}
}
14 changes: 14 additions & 0 deletions apps/knapsack/data/demos/demo.MQBKTe4GON.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
{
"id": "MQBKTe4GON",
"title": "Arrow back",
"description": "A description",
"type": "data",
"patternId": "icon-button",
"templateId": "web-components-ctiCe2sAX",
"data": {
"props": {
"icon": "arrow_back"
},
"slots": {}
}
}
28 changes: 28 additions & 0 deletions apps/knapsack/data/demos/demo.MzuUqdOHZA.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
{
"id": "MzuUqdOHZA",
"title": "Main",
"type": "data",
"patternId": "radio-list-item",
"templateId": "web-components-fwKtEBOnv",
"data": {
"props": {
"graphic": "avatar"
},
"slots": {
"default": [
{
"type": "text",
"text": "Radio list item"
}
],
"graphic": [
{
"type": "template-demo",
"patternId": "icon",
"templateId": "web-components-N8bzRbfpuX",
"demoId": "bn4zy44TYR"
}
]
}
}
}
2 changes: 1 addition & 1 deletion apps/knapsack/data/demos/demo.NXMdeiHjKO.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
"type": "template-demo",
"patternId": "icon-button",
"templateId": "web-components-ctiCe2sAX",
"demoId": "BueNSFTYn"
"demoId": "i-aFgnERP"
}
]
}
Expand Down
42 changes: 42 additions & 0 deletions apps/knapsack/data/demos/demo.SIyOkmonoE.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
{
"id": "SIyOkmonoE",
"title": "Sub navigation",
"description": "A description",
"type": "data",
"patternId": "list",
"templateId": "web-components-fObxCsu2i8",
"data": {
"props": {
"activatible": true,
"graphic": "avatar"
},
"slots": {
"default": [
{
"type": "template-demo",
"patternId": "naviigation-list-item",
"templateId": "web-components-Qtmmi7N-aL",
"demoId": "v3IaS3HWdf"
},
{
"type": "template-demo",
"patternId": "naviigation-list-item",
"templateId": "web-components-Qtmmi7N-aL",
"demoId": "v3IaS3HWdf"
},
{
"type": "template-demo",
"patternId": "naviigation-list-item",
"templateId": "web-components-Qtmmi7N-aL",
"demoId": "v3IaS3HWdf"
},
{
"type": "template-demo",
"patternId": "naviigation-list-item",
"templateId": "web-components-Qtmmi7N-aL",
"demoId": "v3IaS3HWdf"
}
]
}
}
}
19 changes: 19 additions & 0 deletions apps/knapsack/data/demos/demo.Xr7IHJQ1.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
{
"id": "Xr7IHJQ1",
"title": "Close",
"description": "A description",
"type": "data",
"patternId": "icon",
"templateId": "web-components-N8bzRbfpuX",
"data": {
"props": {},
"slots": {
"default": [
{
"type": "text",
"text": "close"
}
]
}
}
}
19 changes: 19 additions & 0 deletions apps/knapsack/data/demos/demo.ezyQjAA-T1.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
{
"id": "ezyQjAA-T1",
"title": "Chevron",
"description": "A description",
"type": "data",
"patternId": "icon",
"templateId": "web-components-N8bzRbfpuX",
"data": {
"props": {},
"slots": {
"default": [
{
"type": "text",
"text": "chevron_right"
}
]
}
}
}
35 changes: 35 additions & 0 deletions apps/knapsack/data/demos/demo.hjXCY4fSqY.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
{
"id": "hjXCY4fSqY",
"title": "Navigation list",
"description": "A description",
"type": "data",
"patternId": "list",
"templateId": "web-components-fObxCsu2i8",
"data": {
"props": {
"activatible": true
},
"slots": {
"default": [
{
"type": "template-demo",
"patternId": "naviigation-list-item",
"templateId": "web-components-Qtmmi7N-aL",
"demoId": "E5NLCltz6"
},
{
"type": "template-demo",
"patternId": "naviigation-list-item",
"templateId": "web-components-Qtmmi7N-aL",
"demoId": "E5NLCltz6"
},
{
"type": "template-demo",
"patternId": "naviigation-list-item",
"templateId": "web-components-Qtmmi7N-aL",
"demoId": "E5NLCltz6"
}
]
}
}
}
14 changes: 14 additions & 0 deletions apps/knapsack/data/demos/demo.i-aFgnERP.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
{
"id": "i-aFgnERP",
"title": "help",
"description": "A description",
"type": "data",
"patternId": "icon-button",
"templateId": "web-components-ctiCe2sAX",
"data": {
"props": {
"icon": "help"
},
"slots": {}
}
}
Loading

0 comments on commit 81d8334

Please sign in to comment.