From 3236f58a360bcd5c2f77277a524f24498f384212 Mon Sep 17 00:00:00 2001 From: "knapsack-cloud[bot]" <57459571+knapsack-cloud[bot]@users.noreply.github.com> Date: Thu, 1 Feb 2024 17:19:54 +0000 Subject: [PATCH] testing cloud authoring - Josh Mabry --- knapsack/data/blocks/block.d0NgtEmWM.json | 7 + knapsack/data/blocks/block.yQUYdOcLyh.json | 7 + knapsack/data/blocks/block.yakWym5jjp.json | 7 + knapsack/data/db.yml | 27 + knapsack/data/demos/demo.1OH1Dga5C0.json | 65 + knapsack/data/demos/demo.3HxZQWfBi9.json | 13 + knapsack/data/demos/demo.3VTw68n4F5.json | 30 + knapsack/data/demos/demo.5aKkBtql-E.json | 31 + knapsack/data/demos/demo.5lBJhPKvTj.json | 23 + knapsack/data/demos/demo.7gFch0E4yr.json | 26 + knapsack/data/demos/demo.8QAZfNvobo.json | 44 + knapsack/data/demos/demo.BueNSFTYn.json | 13 + knapsack/data/demos/demo.CkH7TzkgbA.json | 21 + knapsack/data/demos/demo.E5ymzzEPs.json | 13 + knapsack/data/demos/demo.F84crA5Gx4.json | 23 + knapsack/data/demos/demo.FTt0oVydi1.json | 30 + knapsack/data/demos/demo.GOJxN1FZx.json | 32 + knapsack/data/demos/demo.HJPgdqmwj.json | 37 + knapsack/data/demos/demo.HY3BFMh0AM.json | 11 + knapsack/data/demos/demo.L87CMmCK4T.json | 11 + knapsack/data/demos/demo.NXMdeiHjKO.json | 32 + knapsack/data/demos/demo.R-bXJMtJi.json | 26 + knapsack/data/demos/demo.R8F5cdPVrq.json | 46 + knapsack/data/demos/demo.RMPpKHlzd.json | 11 + knapsack/data/demos/demo.RQLhdtbJlh.json | 48 + knapsack/data/demos/demo.RV5V-zEoUJ.json | 21 + knapsack/data/demos/demo.RjMe6Q4mA.json | 32 + knapsack/data/demos/demo.U89p0LyOsP.json | 11 + knapsack/data/demos/demo.V0duRbXK9s.json | 11 + knapsack/data/demos/demo.V1YF-oKSJk.json | 20 + knapsack/data/demos/demo.WWgMBRroJw.json | 20 + knapsack/data/demos/demo.XqxbTjPFZB.json | 21 + knapsack/data/demos/demo.YHuTizup8.json | 20 + knapsack/data/demos/demo.b7gHexlITw.json | 13 + knapsack/data/demos/demo.bn4zy44TYR.json | 18 + knapsack/data/demos/demo.boILoye9Gi.json | 11 + knapsack/data/demos/demo.ee2EneFvzS.json | 15 + knapsack/data/demos/demo.iH3DCGMPTw.json | 21 + knapsack/data/demos/demo.l5OMMCwUDB.json | 18 + knapsack/data/demos/demo.lXYaxeRM4L.json | 11 + knapsack/data/demos/demo.oY0W5ALQ1q.json | 20 + knapsack/data/demos/demo.pTyIIHqJtL.json | 11 + knapsack/data/demos/demo.pvszcppjX8.json | 21 + knapsack/data/demos/demo.qgGc8WUNHQ.json | 39 + knapsack/data/demos/demo.sWH6jqeBc.json | 26 + knapsack/data/demos/demo.tnvgSz6pjh.json | 24 + knapsack/data/demos/demo.uKKiquKOJq.json | 21 + knapsack/data/demos/demo.x9f-h1BpY.json | 11 + knapsack/data/demos/demo.xrVH4M3t6W.json | 24 + knapsack/data/demos/demo.yovRt8o986.json | 37 + knapsack/data/demos/demo.zYujvGxjlZ.json | 11 + .../data/knapsack.custom-page.homepage.yml | 16 + .../data/knapsack.custom-page.test-page.yml | 5 + knapsack/data/knapsack.custom-page.test.yml | 3 + knapsack/data/knapsack.design-tokens.json | 1899 +++++++++++++++++ knapsack/data/knapsack.files.json | 3 + knapsack/data/knapsack.navs.yml | 255 +++ .../data/knapsack.pattern.action-ribbon.json | 61 + knapsack/data/knapsack.pattern.alert.json | 72 + knapsack/data/knapsack.pattern.app-shell.json | 76 + .../data/knapsack.pattern.breadcrumbs.json | 48 + knapsack/data/knapsack.pattern.button.json | 69 + knapsack/data/knapsack.pattern.card.json | 70 + knapsack/data/knapsack.pattern.checkbox.json | 52 + .../knapsack.pattern.circular-progress.json | 52 + .../data/knapsack.pattern.code-snippet.json | 62 + knapsack/data/knapsack.pattern.dialog.json | 86 + .../data/knapsack.pattern.empty-state.json | 63 + .../knapsack.pattern.expansion-panel.json | 20 + .../data/knapsack.pattern.icon-button.json | 49 + .../data/knapsack.pattern.icon-checkbox.json | 53 + .../data/knapsack.pattern.icon-radio.json | 55 + knapsack/data/knapsack.pattern.icon.json | 52 + .../knapsack.pattern.linear-progress.json | 59 + knapsack/data/knapsack.pattern.list-item.json | 70 + knapsack/data/knapsack.pattern.list.json | 50 + knapsack/data/knapsack.pattern.menu.json | 49 + knapsack/data/knapsack.pattern.radio.json | 48 + knapsack/data/knapsack.pattern.select.json | 64 + .../data/knapsack.pattern.side-sheet.json | 57 + knapsack/data/knapsack.pattern.slider.json | 87 + knapsack/data/knapsack.pattern.snackbar.json | 70 + .../knapsack.pattern.status-header-item.json | 53 + .../data/knapsack.pattern.status-header.json | 82 + knapsack/data/knapsack.pattern.switch.json | 35 + knapsack/data/knapsack.pattern.tab.json | 52 + knapsack/data/knapsack.pattern.tabs.json | 50 + knapsack/data/knapsack.pattern.text-area.json | 62 + .../data/knapsack.pattern.text-lockup.json | 55 + knapsack/data/knapsack.pattern.text.json | 66 + knapsack/data/knapsack.pattern.textfield.json | 35 + knapsack/data/knapsack.pattern.toolbar.json | 55 + knapsack/data/knapsack.pattern.tooltip.json | 53 + .../knapsack.pattern.top-app-bar-fixed.json | 77 + .../data/knapsack.pattern.top-app-bar.json | 77 + .../data/knapsack.pattern.tree-list-item.json | 60 + knapsack/data/knapsack.pattern.tree-list.json | 51 + knapsack/data/knapsack.patterns.json | 35 + 98 files changed, 5715 insertions(+) create mode 100644 knapsack/data/blocks/block.d0NgtEmWM.json create mode 100644 knapsack/data/blocks/block.yQUYdOcLyh.json create mode 100644 knapsack/data/blocks/block.yakWym5jjp.json create mode 100644 knapsack/data/db.yml create mode 100644 knapsack/data/demos/demo.1OH1Dga5C0.json create mode 100644 knapsack/data/demos/demo.3HxZQWfBi9.json create mode 100644 knapsack/data/demos/demo.3VTw68n4F5.json create mode 100644 knapsack/data/demos/demo.5aKkBtql-E.json create mode 100644 knapsack/data/demos/demo.5lBJhPKvTj.json create mode 100644 knapsack/data/demos/demo.7gFch0E4yr.json create mode 100644 knapsack/data/demos/demo.8QAZfNvobo.json create mode 100644 knapsack/data/demos/demo.BueNSFTYn.json create mode 100644 knapsack/data/demos/demo.CkH7TzkgbA.json create mode 100644 knapsack/data/demos/demo.E5ymzzEPs.json create mode 100644 knapsack/data/demos/demo.F84crA5Gx4.json create mode 100644 knapsack/data/demos/demo.FTt0oVydi1.json create mode 100644 knapsack/data/demos/demo.GOJxN1FZx.json create mode 100644 knapsack/data/demos/demo.HJPgdqmwj.json create mode 100644 knapsack/data/demos/demo.HY3BFMh0AM.json create mode 100644 knapsack/data/demos/demo.L87CMmCK4T.json create mode 100644 knapsack/data/demos/demo.NXMdeiHjKO.json create mode 100644 knapsack/data/demos/demo.R-bXJMtJi.json create mode 100644 knapsack/data/demos/demo.R8F5cdPVrq.json create mode 100644 knapsack/data/demos/demo.RMPpKHlzd.json create mode 100644 knapsack/data/demos/demo.RQLhdtbJlh.json create mode 100644 knapsack/data/demos/demo.RV5V-zEoUJ.json create mode 100644 knapsack/data/demos/demo.RjMe6Q4mA.json create mode 100644 knapsack/data/demos/demo.U89p0LyOsP.json create mode 100644 knapsack/data/demos/demo.V0duRbXK9s.json create mode 100644 knapsack/data/demos/demo.V1YF-oKSJk.json create mode 100644 knapsack/data/demos/demo.WWgMBRroJw.json create mode 100644 knapsack/data/demos/demo.XqxbTjPFZB.json create mode 100644 knapsack/data/demos/demo.YHuTizup8.json create mode 100644 knapsack/data/demos/demo.b7gHexlITw.json create mode 100644 knapsack/data/demos/demo.bn4zy44TYR.json create mode 100644 knapsack/data/demos/demo.boILoye9Gi.json create mode 100644 knapsack/data/demos/demo.ee2EneFvzS.json create mode 100644 knapsack/data/demos/demo.iH3DCGMPTw.json create mode 100644 knapsack/data/demos/demo.l5OMMCwUDB.json create mode 100644 knapsack/data/demos/demo.lXYaxeRM4L.json create mode 100644 knapsack/data/demos/demo.oY0W5ALQ1q.json create mode 100644 knapsack/data/demos/demo.pTyIIHqJtL.json create mode 100644 knapsack/data/demos/demo.pvszcppjX8.json create mode 100644 knapsack/data/demos/demo.qgGc8WUNHQ.json create mode 100644 knapsack/data/demos/demo.sWH6jqeBc.json create mode 100644 knapsack/data/demos/demo.tnvgSz6pjh.json create mode 100644 knapsack/data/demos/demo.uKKiquKOJq.json create mode 100644 knapsack/data/demos/demo.x9f-h1BpY.json create mode 100644 knapsack/data/demos/demo.xrVH4M3t6W.json create mode 100644 knapsack/data/demos/demo.yovRt8o986.json create mode 100644 knapsack/data/demos/demo.zYujvGxjlZ.json create mode 100644 knapsack/data/knapsack.custom-page.homepage.yml create mode 100644 knapsack/data/knapsack.custom-page.test-page.yml create mode 100644 knapsack/data/knapsack.custom-page.test.yml create mode 100644 knapsack/data/knapsack.design-tokens.json create mode 100644 knapsack/data/knapsack.files.json create mode 100644 knapsack/data/knapsack.navs.yml create mode 100644 knapsack/data/knapsack.pattern.action-ribbon.json create mode 100644 knapsack/data/knapsack.pattern.alert.json create mode 100644 knapsack/data/knapsack.pattern.app-shell.json create mode 100644 knapsack/data/knapsack.pattern.breadcrumbs.json create mode 100644 knapsack/data/knapsack.pattern.button.json create mode 100644 knapsack/data/knapsack.pattern.card.json create mode 100644 knapsack/data/knapsack.pattern.checkbox.json create mode 100644 knapsack/data/knapsack.pattern.circular-progress.json create mode 100644 knapsack/data/knapsack.pattern.code-snippet.json create mode 100644 knapsack/data/knapsack.pattern.dialog.json create mode 100644 knapsack/data/knapsack.pattern.empty-state.json create mode 100644 knapsack/data/knapsack.pattern.expansion-panel.json create mode 100644 knapsack/data/knapsack.pattern.icon-button.json create mode 100644 knapsack/data/knapsack.pattern.icon-checkbox.json create mode 100644 knapsack/data/knapsack.pattern.icon-radio.json create mode 100644 knapsack/data/knapsack.pattern.icon.json create mode 100644 knapsack/data/knapsack.pattern.linear-progress.json create mode 100644 knapsack/data/knapsack.pattern.list-item.json create mode 100644 knapsack/data/knapsack.pattern.list.json create mode 100644 knapsack/data/knapsack.pattern.menu.json create mode 100644 knapsack/data/knapsack.pattern.radio.json create mode 100644 knapsack/data/knapsack.pattern.select.json create mode 100644 knapsack/data/knapsack.pattern.side-sheet.json create mode 100644 knapsack/data/knapsack.pattern.slider.json create mode 100644 knapsack/data/knapsack.pattern.snackbar.json create mode 100644 knapsack/data/knapsack.pattern.status-header-item.json create mode 100644 knapsack/data/knapsack.pattern.status-header.json create mode 100644 knapsack/data/knapsack.pattern.switch.json create mode 100644 knapsack/data/knapsack.pattern.tab.json create mode 100644 knapsack/data/knapsack.pattern.tabs.json create mode 100644 knapsack/data/knapsack.pattern.text-area.json create mode 100644 knapsack/data/knapsack.pattern.text-lockup.json create mode 100644 knapsack/data/knapsack.pattern.text.json create mode 100644 knapsack/data/knapsack.pattern.textfield.json create mode 100644 knapsack/data/knapsack.pattern.toolbar.json create mode 100644 knapsack/data/knapsack.pattern.tooltip.json create mode 100644 knapsack/data/knapsack.pattern.top-app-bar-fixed.json create mode 100644 knapsack/data/knapsack.pattern.top-app-bar.json create mode 100644 knapsack/data/knapsack.pattern.tree-list-item.json create mode 100644 knapsack/data/knapsack.pattern.tree-list.json create mode 100644 knapsack/data/knapsack.patterns.json diff --git a/knapsack/data/blocks/block.d0NgtEmWM.json b/knapsack/data/blocks/block.d0NgtEmWM.json new file mode 100644 index 0000000000..f365fe10b4 --- /dev/null +++ b/knapsack/data/blocks/block.d0NgtEmWM.json @@ -0,0 +1,7 @@ +{ + "id": "d0NgtEmWM", + "blockType": "text-editor", + "data": { + "content": {} + } +} diff --git a/knapsack/data/blocks/block.yQUYdOcLyh.json b/knapsack/data/blocks/block.yQUYdOcLyh.json new file mode 100644 index 0000000000..1fedaad0b8 --- /dev/null +++ b/knapsack/data/blocks/block.yQUYdOcLyh.json @@ -0,0 +1,7 @@ +{ + "id": "yQUYdOcLyh", + "blockType": "pattern-status-table-block", + "data": { + "excludeHiddenNavItems": false + } +} diff --git a/knapsack/data/blocks/block.yakWym5jjp.json b/knapsack/data/blocks/block.yakWym5jjp.json new file mode 100644 index 0000000000..e8e08f7f79 --- /dev/null +++ b/knapsack/data/blocks/block.yakWym5jjp.json @@ -0,0 +1,7 @@ +{ + "id": "yakWym5jjp", + "blockType": "text-editor", + "data": { + "content": {} + } +} diff --git a/knapsack/data/db.yml b/knapsack/data/db.yml new file mode 100644 index 0000000000..1d05c884cb --- /dev/null +++ b/knapsack/data/db.yml @@ -0,0 +1,27 @@ +blocks: + settings: + tokens: + rootFontSize: 16px +demos: + settings: {} +settings: + logoUrl: '' + theme: + appearance: + customFonts: [] + navigation: + primaryNav: {} + secondaryNav: {} + tabs: {} + pageElements: + bodyText: {} + headingLarge: {} + headingMedium: {} + headingSmall: {} + headingXLarge: {} + headingXSmall: {} + link: {} + pageDescription: {} + pageTitle: {} + version: 10 + title: '' diff --git a/knapsack/data/demos/demo.1OH1Dga5C0.json b/knapsack/data/demos/demo.1OH1Dga5C0.json new file mode 100644 index 0000000000..fb90ec9158 --- /dev/null +++ b/knapsack/data/demos/demo.1OH1Dga5C0.json @@ -0,0 +1,65 @@ +{ + "id": "1OH1Dga5C0", + "title": "Main", + "type": "data", + "patternId": "status-header", + "templateId": "web-components-UDLnfGbB2W", + "data": { + "props": { + "titleText": "Active item details", + "statusText": "In progress", + "statusHelper": "the helper text for the status", + "state": "active" + }, + "slots": { + "status-header-actions": [ + { + "type": "template-demo", + "patternId": "icon-button", + "templateId": "web-components-ctiCe2sAX", + "demoId": "BueNSFTYn" + } + ], + "status-header-icon": [ + { + "type": "template-demo", + "patternId": "circular-progress", + "templateId": "web-components-iMsVIQ6gtb", + "demoId": "b7gHexlITw" + } + ], + "status-header-text": [ + { + "type": "template-demo", + "patternId": "status-header-item", + "templateId": "web-components-55FkYSafco", + "demoId": "YHuTizup8" + }, + { + "type": "template-demo", + "patternId": "status-header-item", + "templateId": "web-components-55FkYSafco", + "demoId": "YHuTizup8" + }, + { + "type": "template-demo", + "patternId": "status-header-item", + "templateId": "web-components-55FkYSafco", + "demoId": "YHuTizup8" + }, + { + "type": "template-demo", + "patternId": "status-header-item", + "templateId": "web-components-55FkYSafco", + "demoId": "YHuTizup8" + }, + { + "type": "template-demo", + "patternId": "status-header-item", + "templateId": "web-components-55FkYSafco", + "demoId": "YHuTizup8" + } + ] + } + } +} diff --git a/knapsack/data/demos/demo.3HxZQWfBi9.json b/knapsack/data/demos/demo.3HxZQWfBi9.json new file mode 100644 index 0000000000..03e23b2fb0 --- /dev/null +++ b/knapsack/data/demos/demo.3HxZQWfBi9.json @@ -0,0 +1,13 @@ +{ + "id": "3HxZQWfBi9", + "title": "Main", + "type": "data", + "patternId": "tab", + "templateId": "web-components-1-Bf2NwL1T", + "data": { + "props": { + "label": "Tab label " + }, + "slots": {} + } +} diff --git a/knapsack/data/demos/demo.3VTw68n4F5.json b/knapsack/data/demos/demo.3VTw68n4F5.json new file mode 100644 index 0000000000..4af425554f --- /dev/null +++ b/knapsack/data/demos/demo.3VTw68n4F5.json @@ -0,0 +1,30 @@ +{ + "id": "3VTw68n4F5", + "title": "Main", + "type": "data", + "patternId": "icon-radio", + "templateId": "web-components-gmBL6Mhy4", + "data": { + "props": {}, + "slots": { + "icon": [ + { + "type": "template-demo", + "patternId": "icon", + "templateId": "web-components-N8bzRbfpuX", + "demoId": "bn4zy44TYR" + } + ], + "text": [ + { + "type": "text", + "text": "Balance" + }, + { + "type": "text", + "text": "Every week" + } + ] + } + } +} diff --git a/knapsack/data/demos/demo.5aKkBtql-E.json b/knapsack/data/demos/demo.5aKkBtql-E.json new file mode 100644 index 0000000000..4c52205066 --- /dev/null +++ b/knapsack/data/demos/demo.5aKkBtql-E.json @@ -0,0 +1,31 @@ +{ + "id": "5aKkBtql-E", + "title": "Main", + "type": "data", + "patternId": "snackbar", + "templateId": "web-components-3ERE1Ai9lo", + "data": { + "props": { + "open": true, + "labelText": "Can't send photo. Retry in 5 seconds." + }, + "slots": { + "action": [ + { + "type": "template-demo", + "patternId": "button", + "templateId": "web-components-raE1x4tYL", + "demoId": "E5ymzzEPs" + } + ], + "dismiss": [ + { + "type": "template-demo", + "patternId": "icon-button", + "templateId": "web-components-ctiCe2sAX", + "demoId": "BueNSFTYn" + } + ] + } + } +} diff --git a/knapsack/data/demos/demo.5lBJhPKvTj.json b/knapsack/data/demos/demo.5lBJhPKvTj.json new file mode 100644 index 0000000000..d400d22406 --- /dev/null +++ b/knapsack/data/demos/demo.5lBJhPKvTj.json @@ -0,0 +1,23 @@ +{ + "id": "5lBJhPKvTj", + "title": "Main", + "type": "data", + "patternId": "app-shell", + "templateId": "web-components-z8r4uoVkf", + "data": { + "props": { + "appName": "[App name]", + "sectionName": "[Section name]" + }, + "slots": { + "section-action": [ + { + "type": "template-demo", + "patternId": "icon-button", + "templateId": "web-components-ctiCe2sAX", + "demoId": "BueNSFTYn" + } + ] + } + } +} diff --git a/knapsack/data/demos/demo.7gFch0E4yr.json b/knapsack/data/demos/demo.7gFch0E4yr.json new file mode 100644 index 0000000000..a773ef6e2b --- /dev/null +++ b/knapsack/data/demos/demo.7gFch0E4yr.json @@ -0,0 +1,26 @@ +{ + "id": "7gFch0E4yr", + "title": "Main", + "type": "data", + "patternId": "tree-list-item", + "templateId": "web-components-1jOFYZB9ms", + "data": { + "props": { + "icon": "description" + }, + "slots": { + "label": [ + { + "type": "text", + "text": "Tree list item" + } + ], + "extraContent": [ + { + "type": "text", + "text": "Secondary text" + } + ] + } + } +} diff --git a/knapsack/data/demos/demo.8QAZfNvobo.json b/knapsack/data/demos/demo.8QAZfNvobo.json new file mode 100644 index 0000000000..b4161f4643 --- /dev/null +++ b/knapsack/data/demos/demo.8QAZfNvobo.json @@ -0,0 +1,44 @@ +{ + "id": "8QAZfNvobo", + "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", + "patternId": "button", + "templateId": "web-components-raE1x4tYL", + "demoId": "E5ymzzEPs" + }, + { + "type": "template-demo", + "patternId": "button", + "templateId": "web-components-raE1x4tYL", + "demoId": "E5ymzzEPs" + } + ], + "buttons": [ + { + "type": "template-demo", + "patternId": "button", + "templateId": "web-components-raE1x4tYL", + "demoId": "E5ymzzEPs" + }, + { + "type": "template-demo", + "patternId": "button", + "templateId": "web-components-raE1x4tYL", + "demoId": "E5ymzzEPs" + } + ] + } + } +} diff --git a/knapsack/data/demos/demo.BueNSFTYn.json b/knapsack/data/demos/demo.BueNSFTYn.json new file mode 100644 index 0000000000..e4615967ee --- /dev/null +++ b/knapsack/data/demos/demo.BueNSFTYn.json @@ -0,0 +1,13 @@ +{ + "id": "BueNSFTYn", + "title": "Main", + "type": "data", + "patternId": "icon-button", + "templateId": "web-components-ctiCe2sAX", + "data": { + "props": { + "icon": "houseboat" + }, + "slots": {} + } +} diff --git a/knapsack/data/demos/demo.CkH7TzkgbA.json b/knapsack/data/demos/demo.CkH7TzkgbA.json new file mode 100644 index 0000000000..cd6488db67 --- /dev/null +++ b/knapsack/data/demos/demo.CkH7TzkgbA.json @@ -0,0 +1,21 @@ +{ + "id": "CkH7TzkgbA", + "title": "Headline 3", + "description": "A description", + "type": "data", + "patternId": "text", + "templateId": "web-components-FXCMXD35mF", + "data": { + "props": { + "scale": "headline3" + }, + "slots": { + "default": [ + { + "type": "text", + "text": "The quick brown fox jumps over the lazy dog" + } + ] + } + } +} diff --git a/knapsack/data/demos/demo.E5ymzzEPs.json b/knapsack/data/demos/demo.E5ymzzEPs.json new file mode 100644 index 0000000000..8c0389df6f --- /dev/null +++ b/knapsack/data/demos/demo.E5ymzzEPs.json @@ -0,0 +1,13 @@ +{ + "id": "E5ymzzEPs", + "title": "Main", + "type": "data", + "patternId": "button", + "templateId": "web-components-raE1x4tYL", + "data": { + "props": { + "label": "test" + }, + "slots": {} + } +} diff --git a/knapsack/data/demos/demo.F84crA5Gx4.json b/knapsack/data/demos/demo.F84crA5Gx4.json new file mode 100644 index 0000000000..6516be3ddf --- /dev/null +++ b/knapsack/data/demos/demo.F84crA5Gx4.json @@ -0,0 +1,23 @@ +{ + "id": "F84crA5Gx4", + "title": "Main", + "type": "data", + "patternId": "side-sheet", + "templateId": "web-components-UMR43JQszt", + "data": { + "props": { + "open": true, + "heading": "Sample side sheet" + }, + "slots": { + "default": [ + { + "type": "text", + "text": "Here lies the side sheet content" + } + ] + } + }, + "height": 502, + "width": 895 +} diff --git a/knapsack/data/demos/demo.FTt0oVydi1.json b/knapsack/data/demos/demo.FTt0oVydi1.json new file mode 100644 index 0000000000..de3b29062c --- /dev/null +++ b/knapsack/data/demos/demo.FTt0oVydi1.json @@ -0,0 +1,30 @@ +{ + "id": "FTt0oVydi1", + "title": "Main", + "type": "data", + "patternId": "icon-checkbox", + "templateId": "web-components-jTiv8OpG9M", + "data": { + "props": {}, + "slots": { + "icon": [ + { + "type": "template-demo", + "patternId": "icon", + "templateId": "web-components-N8bzRbfpuX", + "demoId": "bn4zy44TYR" + } + ], + "text": [ + { + "type": "text", + "text": "Balance" + }, + { + "type": "text", + "text": "Every week" + } + ] + } + } +} diff --git a/knapsack/data/demos/demo.GOJxN1FZx.json b/knapsack/data/demos/demo.GOJxN1FZx.json new file mode 100644 index 0000000000..4ed0f0854d --- /dev/null +++ b/knapsack/data/demos/demo.GOJxN1FZx.json @@ -0,0 +1,32 @@ +{ + "id": "GOJxN1FZx", + "title": "Main", + "type": "data", + "patternId": "tabs", + "templateId": "web-components-kjFGUA31tg", + "data": { + "props": {}, + "slots": { + "default": [ + { + "type": "template-demo", + "patternId": "tab", + "templateId": "web-components-1-Bf2NwL1T", + "demoId": "3HxZQWfBi9" + }, + { + "type": "template-demo", + "patternId": "tab", + "templateId": "web-components-1-Bf2NwL1T", + "demoId": "3HxZQWfBi9" + }, + { + "type": "template-demo", + "patternId": "tab", + "templateId": "web-components-1-Bf2NwL1T", + "demoId": "3HxZQWfBi9" + } + ] + } + } +} diff --git a/knapsack/data/demos/demo.HJPgdqmwj.json b/knapsack/data/demos/demo.HJPgdqmwj.json new file mode 100644 index 0000000000..8a790fe28e --- /dev/null +++ b/knapsack/data/demos/demo.HJPgdqmwj.json @@ -0,0 +1,37 @@ +{ + "id": "HJPgdqmwj", + "title": "Main", + "type": "data", + "patternId": "code-snippet", + "templateId": "web-components-MmKtwF24Vv", + "data": { + "props": { + "label": "Example.sql", + "language": "sql" + }, + "slots": { + "default": [ + { + "type": "text", + "text": "SELECT * FROM load_to_teradata (\nON (\n SELECT \"class\" AS class_col,\n \"variable\" AS variable_col,\n \"type\" AS type_col,\n category,\n cnt,\n \"sum\" AS sum_col,\n \"sumSq\",\n \"totalCnt\"\n FROM aster_nb_modelSC\n )\n tdpid ('sdt12432.labs.teradata.com')\n username ('sample_user')\n password ('sample_user')\n target_table ('td_nb_modelSC')\n);" + } + ], + "action-items": [ + { + "type": "template-demo", + "patternId": "button", + "templateId": "web-components-raE1x4tYL", + "demoId": "E5ymzzEPs" + } + ], + "actionItems": [ + { + "type": "template-demo", + "patternId": "button", + "templateId": "web-components-raE1x4tYL", + "demoId": "E5ymzzEPs" + } + ] + } + } +} diff --git a/knapsack/data/demos/demo.HY3BFMh0AM.json b/knapsack/data/demos/demo.HY3BFMh0AM.json new file mode 100644 index 0000000000..7fb84d5f5a --- /dev/null +++ b/knapsack/data/demos/demo.HY3BFMh0AM.json @@ -0,0 +1,11 @@ +{ + "id": "HY3BFMh0AM", + "title": "Main", + "type": "data", + "patternId": "slider", + "templateId": "web-components-33Z9-C4Qs", + "data": { + "props": {}, + "slots": {} + } +} diff --git a/knapsack/data/demos/demo.L87CMmCK4T.json b/knapsack/data/demos/demo.L87CMmCK4T.json new file mode 100644 index 0000000000..4f7e3df027 --- /dev/null +++ b/knapsack/data/demos/demo.L87CMmCK4T.json @@ -0,0 +1,11 @@ +{ + "id": "L87CMmCK4T", + "title": "Main", + "type": "data", + "patternId": "text-area", + "templateId": "web-components-48rzn99y9G", + "data": { + "props": {}, + "slots": {} + } +} diff --git a/knapsack/data/demos/demo.NXMdeiHjKO.json b/knapsack/data/demos/demo.NXMdeiHjKO.json new file mode 100644 index 0000000000..a681a9eb7d --- /dev/null +++ b/knapsack/data/demos/demo.NXMdeiHjKO.json @@ -0,0 +1,32 @@ +{ + "id": "NXMdeiHjKO", + "title": "Main", + "type": "data", + "patternId": "toolbar", + "templateId": "web-components-A6-16QhSaM", + "data": { + "props": {}, + "slots": { + "title": [ + { + "type": "text", + "text": "Title toolbar" + } + ], + "actionItems": [ + { + "type": "template-demo", + "patternId": "button", + "templateId": "web-components-raE1x4tYL", + "demoId": "E5ymzzEPs" + }, + { + "type": "template-demo", + "patternId": "icon-button", + "templateId": "web-components-ctiCe2sAX", + "demoId": "BueNSFTYn" + } + ] + } + } +} diff --git a/knapsack/data/demos/demo.R-bXJMtJi.json b/knapsack/data/demos/demo.R-bXJMtJi.json new file mode 100644 index 0000000000..7be9c9197c --- /dev/null +++ b/knapsack/data/demos/demo.R-bXJMtJi.json @@ -0,0 +1,26 @@ +{ + "id": "R-bXJMtJi", + "title": "Main", + "type": "data", + "patternId": "list", + "templateId": "web-components-fObxCsu2i8", + "data": { + "props": {}, + "slots": { + "default": [ + { + "type": "template-demo", + "patternId": "list-item", + "templateId": "web-components-ytRTf8wtxn", + "demoId": "qgGc8WUNHQ" + }, + { + "type": "template-demo", + "patternId": "list-item", + "templateId": "web-components-ytRTf8wtxn", + "demoId": "qgGc8WUNHQ" + } + ] + } + } +} diff --git a/knapsack/data/demos/demo.R8F5cdPVrq.json b/knapsack/data/demos/demo.R8F5cdPVrq.json new file mode 100644 index 0000000000..acb10d4167 --- /dev/null +++ b/knapsack/data/demos/demo.R8F5cdPVrq.json @@ -0,0 +1,46 @@ +{ + "id": "R8F5cdPVrq", + "title": "Main", + "type": "data", + "patternId": "top-app-bar", + "templateId": "web-components-bdJKZJwv0h", + "data": { + "props": {}, + "slots": { + "actionItems": [ + { + "type": "template-demo", + "patternId": "icon-button", + "templateId": "web-components-ctiCe2sAX", + "demoId": "BueNSFTYn" + } + ], + "title": [ + { + "type": "text", + "text": "App Bar Title" + } + ], + "navigationIcon": [ + { + "type": "text", + "text": "" + }, + { + "type": "template-demo", + "patternId": "icon-button", + "templateId": "web-components-ctiCe2sAX", + "demoId": "BueNSFTYn" + } + ], + "default": [ + { + "type": "template-demo", + "patternId": "empty-state", + "templateId": "web-components-E0GwXgHJv", + "demoId": "8QAZfNvobo" + } + ] + } + } +} diff --git a/knapsack/data/demos/demo.RMPpKHlzd.json b/knapsack/data/demos/demo.RMPpKHlzd.json new file mode 100644 index 0000000000..71f894fa95 --- /dev/null +++ b/knapsack/data/demos/demo.RMPpKHlzd.json @@ -0,0 +1,11 @@ +{ + "id": "RMPpKHlzd", + "title": "Main", + "type": "data", + "patternId": "radio", + "templateId": "web-components-qk2MWcBipT", + "data": { + "props": {}, + "slots": {} + } +} diff --git a/knapsack/data/demos/demo.RQLhdtbJlh.json b/knapsack/data/demos/demo.RQLhdtbJlh.json new file mode 100644 index 0000000000..64994249e6 --- /dev/null +++ b/knapsack/data/demos/demo.RQLhdtbJlh.json @@ -0,0 +1,48 @@ +{ + "id": "RQLhdtbJlh", + "title": "Main", + "type": "data", + "patternId": "top-app-bar-fixed", + "templateId": "web-components-d0oZXgy7Uj", + "data": { + "props": {}, + "slots": { + "title": [ + { + "type": "text", + "text": "App Bar Title" + } + ], + "navigationIcon": [ + { + "type": "template-demo", + "patternId": "icon-button", + "templateId": "web-components-ctiCe2sAX", + "demoId": "BueNSFTYn" + } + ], + "actionItems": [ + { + "type": "template-demo", + "patternId": "button", + "templateId": "web-components-raE1x4tYL", + "demoId": "E5ymzzEPs" + }, + { + "type": "template-demo", + "patternId": "button", + "templateId": "web-components-raE1x4tYL", + "demoId": "E5ymzzEPs" + } + ], + "default": [ + { + "type": "template-demo", + "patternId": "empty-state", + "templateId": "web-components-E0GwXgHJv", + "demoId": "8QAZfNvobo" + } + ] + } + } +} diff --git a/knapsack/data/demos/demo.RV5V-zEoUJ.json b/knapsack/data/demos/demo.RV5V-zEoUJ.json new file mode 100644 index 0000000000..5515a1594d --- /dev/null +++ b/knapsack/data/demos/demo.RV5V-zEoUJ.json @@ -0,0 +1,21 @@ +{ + "id": "RV5V-zEoUJ", + "title": "Headline 1", + "description": "A description", + "type": "data", + "patternId": "text", + "templateId": "web-components-FXCMXD35mF", + "data": { + "props": { + "scale": "headline1" + }, + "slots": { + "default": [ + { + "type": "text", + "text": "The quick brown fox jumps over the lazy dog" + } + ] + } + } +} diff --git a/knapsack/data/demos/demo.RjMe6Q4mA.json b/knapsack/data/demos/demo.RjMe6Q4mA.json new file mode 100644 index 0000000000..a373459ffb --- /dev/null +++ b/knapsack/data/demos/demo.RjMe6Q4mA.json @@ -0,0 +1,32 @@ +{ + "id": "RjMe6Q4mA", + "title": "Main", + "type": "data", + "patternId": "tree-list", + "templateId": "web-components-Ue0Hy3Asb", + "data": { + "props": {}, + "slots": { + "default": [ + { + "type": "template-demo", + "patternId": "tree-list-item", + "templateId": "web-components-1jOFYZB9ms", + "demoId": "7gFch0E4yr" + }, + { + "type": "template-demo", + "patternId": "tree-list-item", + "templateId": "web-components-1jOFYZB9ms", + "demoId": "7gFch0E4yr" + }, + { + "type": "template-demo", + "patternId": "tree-list-item", + "templateId": "web-components-1jOFYZB9ms", + "demoId": "7gFch0E4yr" + } + ] + } + } +} diff --git a/knapsack/data/demos/demo.U89p0LyOsP.json b/knapsack/data/demos/demo.U89p0LyOsP.json new file mode 100644 index 0000000000..1a4f3a191f --- /dev/null +++ b/knapsack/data/demos/demo.U89p0LyOsP.json @@ -0,0 +1,11 @@ +{ + "id": "U89p0LyOsP", + "title": "Main", + "type": "data", + "patternId": "switch", + "templateId": "web-components-tGj2TvSrpD", + "data": { + "props": {}, + "slots": {} + } +} diff --git a/knapsack/data/demos/demo.V0duRbXK9s.json b/knapsack/data/demos/demo.V0duRbXK9s.json new file mode 100644 index 0000000000..0a80ece57b --- /dev/null +++ b/knapsack/data/demos/demo.V0duRbXK9s.json @@ -0,0 +1,11 @@ +{ + "id": "V0duRbXK9s", + "title": "Main", + "type": "data", + "patternId": "breadcrumbs", + "templateId": "angular-1nXQuOw1fn", + "data": { + "props": {}, + "slots": {} + } +} diff --git a/knapsack/data/demos/demo.V1YF-oKSJk.json b/knapsack/data/demos/demo.V1YF-oKSJk.json new file mode 100644 index 0000000000..ca07442b1f --- /dev/null +++ b/knapsack/data/demos/demo.V1YF-oKSJk.json @@ -0,0 +1,20 @@ +{ + "id": "V1YF-oKSJk", + "title": "Main", + "type": "data", + "patternId": "tooltip", + "templateId": "web-components-erhVvpq9vk", + "data": { + "props": { + "open": true + }, + "slots": { + "default": [ + { + "type": "text", + "text": "Im a tooltip" + } + ] + } + } +} diff --git a/knapsack/data/demos/demo.WWgMBRroJw.json b/knapsack/data/demos/demo.WWgMBRroJw.json new file mode 100644 index 0000000000..251ff853a7 --- /dev/null +++ b/knapsack/data/demos/demo.WWgMBRroJw.json @@ -0,0 +1,20 @@ +{ + "id": "WWgMBRroJw", + "title": "Main", + "type": "data", + "patternId": "text-lockup", + "templateId": "web-components-4Aa-qjh3vF", + "data": { + "props": { + "subText": "environment Id" + }, + "slots": { + "default": [ + { + "type": "text", + "text": "BXCVP-8523411" + } + ] + } + } +} diff --git a/knapsack/data/demos/demo.XqxbTjPFZB.json b/knapsack/data/demos/demo.XqxbTjPFZB.json new file mode 100644 index 0000000000..e74f7f94f3 --- /dev/null +++ b/knapsack/data/demos/demo.XqxbTjPFZB.json @@ -0,0 +1,21 @@ +{ + "id": "XqxbTjPFZB", + "title": "Headline 4", + "description": "A description", + "type": "data", + "patternId": "text", + "templateId": "web-components-FXCMXD35mF", + "data": { + "props": { + "scale": "headline4" + }, + "slots": { + "default": [ + { + "type": "text", + "text": "The quick brown fox jumps over the lazy dog" + } + ] + } + } +} diff --git a/knapsack/data/demos/demo.YHuTizup8.json b/knapsack/data/demos/demo.YHuTizup8.json new file mode 100644 index 0000000000..08989f6b53 --- /dev/null +++ b/knapsack/data/demos/demo.YHuTizup8.json @@ -0,0 +1,20 @@ +{ + "id": "YHuTizup8", + "title": "Main", + "type": "data", + "patternId": "status-header", + "templateId": "web-components-55FkYSafco", + "data": { + "props": { + "label": "Status header item label" + }, + "slots": { + "default": [ + { + "type": "text", + "text": "Status header item value" + } + ] + } + } +} diff --git a/knapsack/data/demos/demo.b7gHexlITw.json b/knapsack/data/demos/demo.b7gHexlITw.json new file mode 100644 index 0000000000..6ebae0a016 --- /dev/null +++ b/knapsack/data/demos/demo.b7gHexlITw.json @@ -0,0 +1,13 @@ +{ + "id": "b7gHexlITw", + "title": "Main", + "type": "data", + "patternId": "circular-progress", + "templateId": "web-components-iMsVIQ6gtb", + "data": { + "props": { + "indeterminate": true + }, + "slots": {} + } +} diff --git a/knapsack/data/demos/demo.bn4zy44TYR.json b/knapsack/data/demos/demo.bn4zy44TYR.json new file mode 100644 index 0000000000..6b2bd47b60 --- /dev/null +++ b/knapsack/data/demos/demo.bn4zy44TYR.json @@ -0,0 +1,18 @@ +{ + "id": "bn4zy44TYR", + "title": "Main", + "type": "data", + "patternId": "icon", + "templateId": "web-components-N8bzRbfpuX", + "data": { + "props": {}, + "slots": { + "default": [ + { + "type": "text", + "text": "houseboat" + } + ] + } + } +} diff --git a/knapsack/data/demos/demo.boILoye9Gi.json b/knapsack/data/demos/demo.boILoye9Gi.json new file mode 100644 index 0000000000..761a0fc6c7 --- /dev/null +++ b/knapsack/data/demos/demo.boILoye9Gi.json @@ -0,0 +1,11 @@ +{ + "id": "boILoye9Gi", + "title": "Main", + "type": "data", + "patternId": "menu", + "templateId": "web-components-hY3y1MyhrP", + "data": { + "props": {}, + "slots": {} + } +} diff --git a/knapsack/data/demos/demo.ee2EneFvzS.json b/knapsack/data/demos/demo.ee2EneFvzS.json new file mode 100644 index 0000000000..1547388699 --- /dev/null +++ b/knapsack/data/demos/demo.ee2EneFvzS.json @@ -0,0 +1,15 @@ +{ + "id": "ee2EneFvzS", + "title": "Main", + "type": "data", + "patternId": "checkbox", + "templateId": "web-components-29FbeDQWhM", + "data": { + "props": { + "checked": true + }, + "slots": { + "default": [] + } + } +} diff --git a/knapsack/data/demos/demo.iH3DCGMPTw.json b/knapsack/data/demos/demo.iH3DCGMPTw.json new file mode 100644 index 0000000000..9514dca134 --- /dev/null +++ b/knapsack/data/demos/demo.iH3DCGMPTw.json @@ -0,0 +1,21 @@ +{ + "id": "iH3DCGMPTw", + "title": "Headline 5", + "description": "A description", + "type": "data", + "patternId": "text", + "templateId": "web-components-FXCMXD35mF", + "data": { + "props": { + "scale": "headline5" + }, + "slots": { + "default": [ + { + "type": "text", + "text": "The quick brown fox jumps over the lazy dog" + } + ] + } + } +} diff --git a/knapsack/data/demos/demo.l5OMMCwUDB.json b/knapsack/data/demos/demo.l5OMMCwUDB.json new file mode 100644 index 0000000000..3e0716b1a1 --- /dev/null +++ b/knapsack/data/demos/demo.l5OMMCwUDB.json @@ -0,0 +1,18 @@ +{ + "id": "l5OMMCwUDB", + "title": "Main", + "type": "data", + "patternId": "breadcrumbs", + "templateId": "angular-kJmJyws4E", + "data": { + "props": {}, + "slots": { + "default": [ + { + "type": "text", + "text": "Home" + } + ] + } + } +} diff --git a/knapsack/data/demos/demo.lXYaxeRM4L.json b/knapsack/data/demos/demo.lXYaxeRM4L.json new file mode 100644 index 0000000000..90718d6514 --- /dev/null +++ b/knapsack/data/demos/demo.lXYaxeRM4L.json @@ -0,0 +1,11 @@ +{ + "id": "lXYaxeRM4L", + "title": "Main", + "type": "data", + "patternId": "linear-progress", + "templateId": "web-components-2ew8-hMQkv", + "data": { + "props": {}, + "slots": {} + } +} diff --git a/knapsack/data/demos/demo.oY0W5ALQ1q.json b/knapsack/data/demos/demo.oY0W5ALQ1q.json new file mode 100644 index 0000000000..6e1c2e728b --- /dev/null +++ b/knapsack/data/demos/demo.oY0W5ALQ1q.json @@ -0,0 +1,20 @@ +{ + "id": "oY0W5ALQ1q", + "title": "Body 1", + "type": "data", + "patternId": "text", + "templateId": "web-components-FXCMXD35mF", + "data": { + "props": { + "scale": "body1" + }, + "slots": { + "default": [ + { + "type": "text", + "text": "The quick brown fox jumps over the lazy dog" + } + ] + } + } +} diff --git a/knapsack/data/demos/demo.pTyIIHqJtL.json b/knapsack/data/demos/demo.pTyIIHqJtL.json new file mode 100644 index 0000000000..8264dd6314 --- /dev/null +++ b/knapsack/data/demos/demo.pTyIIHqJtL.json @@ -0,0 +1,11 @@ +{ + "id": "pTyIIHqJtL", + "title": "Main", + "type": "data", + "patternId": "card", + "templateId": "web-components-mU8MX1FHrF", + "data": { + "props": {}, + "slots": {} + } +} diff --git a/knapsack/data/demos/demo.pvszcppjX8.json b/knapsack/data/demos/demo.pvszcppjX8.json new file mode 100644 index 0000000000..34cefc6f37 --- /dev/null +++ b/knapsack/data/demos/demo.pvszcppjX8.json @@ -0,0 +1,21 @@ +{ + "id": "pvszcppjX8", + "title": "Body 2", + "description": "A description", + "type": "data", + "patternId": "text", + "templateId": "web-components-FXCMXD35mF", + "data": { + "props": { + "scale": "body2" + }, + "slots": { + "default": [ + { + "type": "text", + "text": "The quick brown fox jumps over the lazy dog" + } + ] + } + } +} diff --git a/knapsack/data/demos/demo.qgGc8WUNHQ.json b/knapsack/data/demos/demo.qgGc8WUNHQ.json new file mode 100644 index 0000000000..f7bb8c85d1 --- /dev/null +++ b/knapsack/data/demos/demo.qgGc8WUNHQ.json @@ -0,0 +1,39 @@ +{ + "id": "qgGc8WUNHQ", + "title": "Main", + "type": "data", + "patternId": "list-item", + "templateId": "web-components-ytRTf8wtxn", + "data": { + "props": { + "twoLine": false, + "graphic": "avatar" + }, + "slots": { + "default": [ + { + "type": "text", + "text": "List item" + } + ], + "secondary": [ + { + "type": "text", + "text": "secondary text" + } + ], + "graphic": [ + { + "type": "text", + "text": "" + }, + { + "type": "template-demo", + "patternId": "icon", + "templateId": "web-components-N8bzRbfpuX", + "demoId": "bn4zy44TYR" + } + ] + } + } +} diff --git a/knapsack/data/demos/demo.sWH6jqeBc.json b/knapsack/data/demos/demo.sWH6jqeBc.json new file mode 100644 index 0000000000..f92e101f61 --- /dev/null +++ b/knapsack/data/demos/demo.sWH6jqeBc.json @@ -0,0 +1,26 @@ +{ + "id": "sWH6jqeBc", + "title": "Main", + "type": "data", + "patternId": "select", + "templateId": "web-components-qWXTtv81jY", + "data": { + "props": {}, + "slots": { + "default": [ + { + "type": "template-demo", + "patternId": "list-item", + "templateId": "web-components-ytRTf8wtxn", + "demoId": "qgGc8WUNHQ" + }, + { + "type": "template-demo", + "patternId": "list-item", + "templateId": "web-components-ytRTf8wtxn", + "demoId": "qgGc8WUNHQ" + } + ] + } + } +} diff --git a/knapsack/data/demos/demo.tnvgSz6pjh.json b/knapsack/data/demos/demo.tnvgSz6pjh.json new file mode 100644 index 0000000000..e0653399f1 --- /dev/null +++ b/knapsack/data/demos/demo.tnvgSz6pjh.json @@ -0,0 +1,24 @@ +{ + "id": "tnvgSz6pjh", + "title": "Main", + "type": "data", + "patternId": "alert", + "templateId": "web-components-4qjJYWsUZi", + "data": { + "props": { + "titleText": "Alert title", + "descriptionText": "Alert description", + "icon": "info" + }, + "slots": { + "action-items": [ + { + "type": "template-demo", + "patternId": "button", + "templateId": "web-components-raE1x4tYL", + "demoId": "E5ymzzEPs" + } + ] + } + } +} diff --git a/knapsack/data/demos/demo.uKKiquKOJq.json b/knapsack/data/demos/demo.uKKiquKOJq.json new file mode 100644 index 0000000000..35bc8c5a90 --- /dev/null +++ b/knapsack/data/demos/demo.uKKiquKOJq.json @@ -0,0 +1,21 @@ +{ + "id": "uKKiquKOJq", + "title": "Headline 2", + "description": "A description", + "type": "data", + "patternId": "text", + "templateId": "web-components-FXCMXD35mF", + "data": { + "props": { + "scale": "headline2" + }, + "slots": { + "default": [ + { + "type": "text", + "text": "The quick brown fox jumps over the lazy dog" + } + ] + } + } +} diff --git a/knapsack/data/demos/demo.x9f-h1BpY.json b/knapsack/data/demos/demo.x9f-h1BpY.json new file mode 100644 index 0000000000..c14ff513cc --- /dev/null +++ b/knapsack/data/demos/demo.x9f-h1BpY.json @@ -0,0 +1,11 @@ +{ + "id": "x9f-h1BpY", + "title": "Main", + "type": "data", + "patternId": "slider", + "templateId": "web-components-LpKATlK5H", + "data": { + "props": {}, + "slots": {} + } +} diff --git a/knapsack/data/demos/demo.xrVH4M3t6W.json b/knapsack/data/demos/demo.xrVH4M3t6W.json new file mode 100644 index 0000000000..7c6b9667da --- /dev/null +++ b/knapsack/data/demos/demo.xrVH4M3t6W.json @@ -0,0 +1,24 @@ +{ + "id": "xrVH4M3t6W", + "title": "Main", + "type": "data", + "patternId": "action-ribbon", + "templateId": "web-components-v3gk7O39kO", + "data": { + "props": { + "labelText": "You have unsaved changes", + "state": "active", + "icon": "info" + }, + "slots": { + "action-items": [ + { + "type": "template-demo", + "patternId": "button", + "templateId": "web-components-raE1x4tYL", + "demoId": "E5ymzzEPs" + } + ] + } + } +} diff --git a/knapsack/data/demos/demo.yovRt8o986.json b/knapsack/data/demos/demo.yovRt8o986.json new file mode 100644 index 0000000000..bb59188d97 --- /dev/null +++ b/knapsack/data/demos/demo.yovRt8o986.json @@ -0,0 +1,37 @@ +{ + "id": "yovRt8o986", + "title": "Main", + "type": "data", + "patternId": "dialog", + "templateId": "web-components-S9Ia0KOrya", + "data": { + "props": { + "heading": "Sample dialog title", + "open": true + }, + "slots": { + "default": [ + { + "type": "text", + "text": "Sample dialog content goes here" + } + ], + "secondaryAction": [ + { + "type": "template-demo", + "patternId": "button", + "templateId": "web-components-raE1x4tYL", + "demoId": "E5ymzzEPs" + } + ], + "primaryAction": [ + { + "type": "template-demo", + "patternId": "button", + "templateId": "web-components-raE1x4tYL", + "demoId": "E5ymzzEPs" + } + ] + } + } +} diff --git a/knapsack/data/demos/demo.zYujvGxjlZ.json b/knapsack/data/demos/demo.zYujvGxjlZ.json new file mode 100644 index 0000000000..29d8c62b42 --- /dev/null +++ b/knapsack/data/demos/demo.zYujvGxjlZ.json @@ -0,0 +1,11 @@ +{ + "id": "zYujvGxjlZ", + "title": "Main", + "type": "data", + "patternId": "textfield", + "templateId": "web-components-M4zyalwdNJ", + "data": { + "props": {}, + "slots": {} + } +} diff --git a/knapsack/data/knapsack.custom-page.homepage.yml b/knapsack/data/knapsack.custom-page.homepage.yml new file mode 100644 index 0000000000..c8da47457c --- /dev/null +++ b/knapsack/data/knapsack.custom-page.homepage.yml @@ -0,0 +1,16 @@ +id: homepage +title: Hey this works +blockIds: [] +settings: + pageHeader: + backgroundColor: + colorValue: '#6A4CEC' + type: value + textColorTitle: + colorValue: '#FFFFFF' + type: value + textColorDescription: + colorValue: '#FFFFFF' + type: value + size: large +description: covalent design system diff --git a/knapsack/data/knapsack.custom-page.test-page.yml b/knapsack/data/knapsack.custom-page.test-page.yml new file mode 100644 index 0000000000..12f7dcf747 --- /dev/null +++ b/knapsack/data/knapsack.custom-page.test-page.yml @@ -0,0 +1,5 @@ +title: components +id: test-page +blockIds: + - d0NgtEmWM + - yQUYdOcLyh diff --git a/knapsack/data/knapsack.custom-page.test.yml b/knapsack/data/knapsack.custom-page.test.yml new file mode 100644 index 0000000000..d8de31e1f7 --- /dev/null +++ b/knapsack/data/knapsack.custom-page.test.yml @@ -0,0 +1,3 @@ +id: test +title: test +blockIds: [] diff --git a/knapsack/data/knapsack.design-tokens.json b/knapsack/data/knapsack.design-tokens.json new file mode 100644 index 0000000000..2741302d79 --- /dev/null +++ b/knapsack/data/knapsack.design-tokens.json @@ -0,0 +1,1899 @@ +{ + "light": { + "primary": { + "$value": "#007373", + "$type": "color" + }, + "secondary": { + "$value": "#007373", + "$type": "color" + }, + "error": { + "$value": "#b11d00", + "$type": "color" + }, + "positive": { + "$value": "#0a7e07", + "$type": "color" + }, + "caution": { + "$value": "#ff8f00", + "$type": "color" + }, + "negative": { + "$value": "#b11d00", + "$type": "color" + }, + "on-primary": { + "$value": "white", + "$type": "color" + }, + "on-secondary": { + "$value": "white", + "$type": "color" + }, + "on-background": { + "$value": "rgba(0, 0, 0, 0.87)", + "$type": "color" + }, + "on-surface": { + "$value": "rgba(0, 0, 0, 0.87)", + "$type": "color" + }, + "on-error": { + "$value": "white", + "$type": "color" + }, + "divider": { + "$value": "rgba(0, 0, 0, 0.12)", + "$type": "color" + }, + "emphasis": { + "$value": "#546e7a", + "$type": "color" + }, + "accent": { + "$value": "#007373", + "$type": "color" + }, + "code-snippet-color": { + "$value": "#383a42", + "$type": "color" + }, + "code-snippet-comment": { + "$value": "#a0a1a7", + "$type": "color" + }, + "code-snippet-keyword": { + "$value": "#a626a4", + "$type": "color" + }, + "code-snippet-selector": { + "$value": "#e45649", + "$type": "color" + }, + "code-snippet-literal": { + "$value": "#0184bb", + "$type": "color" + }, + "code-snippet-string": { + "$value": "#50a14f", + "$type": "color" + }, + "code-snippet-variable": { + "$value": "#986801", + "$type": "color" + }, + "code-snippet-title": { + "$value": "#4078f2", + "$type": "color" + }, + "code-snippet-class": { + "$value": "#c18401", + "$type": "color" + }, + "background": { + "$value": "#f5f5f5", + "$type": "color" + }, + "surface": { + "$value": "white", + "$type": "color" + }, + "surface-canvas": { + "$value": "#eee", + "$type": "color" + }, + "surface-primary": { + "$value": "#85dddc", + "$type": "color" + }, + "surface-primary-highlight": { + "$value": "rgba(#85dddc, 0.1)" + }, + "surface-primary-highlight-hover": { + "$value": "rgba(#85dddc, 0.2)" + }, + "surface-accent": { + "$value": "#85dddc", + "$type": "color" + }, + "surface-accent-highlight": { + "$value": "rgba(#85dddc, 0.1)" + }, + "surface-accent-highlight-hover": { + "$value": "rgba(#85dddc, 0.2)" + }, + "surface-secondary": { + "$value": "#85dddc", + "$type": "color" + }, + "surface-secondary-highlight": { + "$value": "rgba(#85dddc, 0.1)" + }, + "surface-secondary-highlight-hover": { + "$value": "rgba(#85dddc, 0.2)" + }, + "surface-positive": { + "$value": "#a5d6a7", + "$type": "color" + }, + "surface-positive-highlight": { + "$value": "rgba(#a5d6a7, 0.1)" + }, + "surface-positive-highlight-hover": { + "$value": "rgba(#a5d6a7, 0.2)" + }, + "surface-caution": { + "$value": "#ffb74d", + "$type": "color" + }, + "surface-caution-highlight": { + "$value": "rgba(#ffb74d, 0.1)" + }, + "surface-caution-highlight-hover": { + "$value": "rgba(#ffb74d, 0.2)" + }, + "surface-negative": { + "$value": "#e57373", + "$type": "color" + }, + "surface-negative-highlight": { + "$value": "rgba(#e57373, 0.1)" + }, + "surface-negative-highlight-hover": { + "$value": "rgba(#e57373, 0.2)" + }, + "surface-neutral": { + "$value": "#bdbdbd", + "$type": "color" + }, + "surface-neutral-highlight": { + "$value": "rgba(#bdbdbd, 0.04)" + }, + "surface-neutral-highlight-hover": { + "$value": "rgba(#bdbdbd, 0.08)" + }, + "surface-emphasis": { + "$value": "#afb6b9", + "$type": "color" + }, + "surface-emphasis-highlight": { + "$value": "rgba(#afb6b9, 0.1)" + }, + "surface-emphasis-highlight-hover": { + "$value": "rgba(#afb6b9, 0.2)" + }, + "text-primary-on-background": { + "$value": "rgba(0, 0, 0, 0.87)", + "$type": "color" + }, + "text-secondary-on-background": { + "$value": "rgba(0, 0, 0, 0.54)", + "$type": "color" + }, + "text-hint-on-background": { + "$value": "rgba(0, 0, 0, 0.38)", + "$type": "color" + }, + "text-disabled-on-background": { + "$value": "rgba(0, 0, 0, 0.38)", + "$type": "color" + }, + "text-icon-on-background": { + "$value": "rgba(0, 0, 0, 0.54)", + "$type": "color" + }, + "text-logo-on-background": { + "$value": "#354145", + "$type": "color" + }, + "text-primary-on-light": { + "$value": "rgba(0, 0, 0, 0.87)", + "$type": "color" + }, + "text-secondary-on-light": { + "$value": "rgba(0, 0, 0, 0.54)", + "$type": "color" + }, + "text-hint-on-light": { + "$value": "rgba(0, 0, 0, 0.38)", + "$type": "color" + }, + "text-disabled-on-light": { + "$value": "rgba(0, 0, 0, 0.38)", + "$type": "color" + }, + "text-icon-on-light": { + "$value": "rgba(0, 0, 0, 0.54)", + "$type": "color" + }, + "text-primary-on-dark": { + "$value": "white", + "$type": "color" + }, + "text-secondary-on-dark": { + "$value": "rgba(255, 255, 255, 0.7)", + "$type": "color" + }, + "text-hint-on-dark": { + "$value": "rgba(255, 255, 255, 0.5)", + "$type": "color" + }, + "text-disabled-on-dark": { + "$value": "rgba(255, 255, 255, 0.5)", + "$type": "color" + }, + "text-icon-on-dark": { + "$value": "white", + "$type": "color" + } + }, + "dark": { + "primary": { + "$value": "#59cecd", + "$type": "color" + }, + "secondary": { + "$value": "#59cecd", + "$type": "color" + }, + "error": { + "$value": "#f46f5a", + "$type": "color" + }, + "positive": { + "$value": "#42bd41", + "$type": "color" + }, + "caution": { + "$value": "#ffb74d", + "$type": "color" + }, + "negative": { + "$value": "#f46f5a", + "$type": "color" + }, + "on-primary": { + "$value": "rgba(0, 0, 0, 0.87)", + "$type": "color" + }, + "on-secondary": { + "$value": "rgba(0, 0, 0, 0.87)", + "$type": "color" + }, + "on-background": { + "$value": "white", + "$type": "color" + }, + "on-surface": { + "$value": "white", + "$type": "color" + }, + "on-error": { + "$value": "rgba(0, 0, 0, 0.87)", + "$type": "color" + }, + "divider": { + "$value": "rgba(255, 255, 255, 0.2)", + "$type": "color" + }, + "emphasis": { + "$value": "#b0bec5", + "$type": "color" + }, + "accent": { + "$value": "#59cecd", + "$type": "color" + }, + "code-snippet-color": { + "$value": "#abb2bf", + "$type": "color" + }, + "code-snippet-comment": { + "$value": "#5c6370", + "$type": "color" + }, + "code-snippet-keyword": { + "$value": "#c678dd", + "$type": "color" + }, + "code-snippet-selector": { + "$value": "#e06c75", + "$type": "color" + }, + "code-snippet-literal": { + "$value": "#56b6c2", + "$type": "color" + }, + "code-snippet-string": { + "$value": "#98c379", + "$type": "color" + }, + "code-snippet-variable": { + "$value": "#d19a66", + "$type": "color" + }, + "code-snippet-title": { + "$value": "#61aeee", + "$type": "color" + }, + "code-snippet-class": { + "$value": "#e6c07b", + "$type": "color" + }, + "background": { + "$value": "#161c1f", + "$type": "color" + }, + "surface": { + "$value": "#28353b", + "$type": "color" + }, + "surface-canvas": { + "$value": "#101314", + "$type": "color" + }, + "surface-primary": { + "$value": "#045c5c", + "$type": "color" + }, + "surface-primary-highlight": { + "$value": "rgba(#045c5c, 0.4)" + }, + "surface-primary-highlight-hover": { + "$value": "rgba(#045c5c, 0.6)" + }, + "surface-accent": { + "$value": "#045c5c", + "$type": "color" + }, + "surface-accent-highlight": { + "$value": "rgba(#045c5c, 0.4)" + }, + "surface-accent-highlight-hover": { + "$value": "rgba(#045c5c, 0.6)" + }, + "surface-secondary": { + "$value": "#045c5c", + "$type": "color" + }, + "surface-secondary-highlight": { + "$value": "rgba(#045c5c, 0.4)" + }, + "surface-secondary-highlight-hover": { + "$value": "rgba(#045c5c, 0.6)" + }, + "surface-positive": { + "$value": "#336033", + "$type": "color" + }, + "surface-positive-highlight": { + "$value": "rgba(#336033, 0.4)" + }, + "surface-positive-highlight-hover": { + "$value": "rgba(#336033, 0.6)" + }, + "surface-caution": { + "$value": "#704C16", + "$type": "color" + }, + "surface-caution-highlight": { + "$value": "rgba(#704C16, 0.4)" + }, + "surface-caution-highlight-hover": { + "$value": "rgba(#704C16, 0.6)" + }, + "surface-negative": { + "$value": "#883E32", + "$type": "color" + }, + "surface-negative-highlight": { + "$value": "rgba(#883E32, 0.4)" + }, + "surface-negative-highlight-hover": { + "$value": "rgba(#883E32, 0.6)" + }, + "surface-neutral": { + "$value": "#43515a", + "$type": "color" + }, + "surface-neutral-highlight": { + "$value": "rgba(#43515a, 0.4)" + }, + "surface-neutral-highlight-hover": { + "$value": "rgba(#43515a, 0.6)" + }, + "surface-emphasis": { + "$value": "#43515a", + "$type": "color" + }, + "surface-emphasis-highlight": { + "$value": "rgba(#43515a, 0.4)" + }, + "surface-emphasis-highlight-hover": { + "$value": "rgba(#43515a, 0.6)" + }, + "text-primary-on-background": { + "$value": "white", + "$type": "color" + }, + "text-secondary-on-background": { + "$value": "rgba(255, 255, 255, 0.7)", + "$type": "color" + }, + "text-hint-on-background": { + "$value": "rgba(255, 255, 255, 0.5)", + "$type": "color" + }, + "text-disabled-on-background": { + "$value": "rgba(255, 255, 255, 0.5)", + "$type": "color" + }, + "text-icon-on-background": { + "$value": "white", + "$type": "color" + }, + "text-logo-on-background": { + "$value": "white", + "$type": "color" + }, + "text-primary-on-light": { + "$value": "rgba(0, 0, 0, 0.87)", + "$type": "color" + }, + "text-secondary-on-light": { + "$value": "rgba(0, 0, 0, 0.54)", + "$type": "color" + }, + "text-hint-on-light": { + "$value": "rgba(0, 0, 0, 0.38)", + "$type": "color" + }, + "text-disabled-on-light": { + "$value": "rgba(0, 0, 0, 0.38)", + "$type": "color" + }, + "text-icon-on-light": { + "$value": "rgba(0, 0, 0, 0.54)", + "$type": "color" + }, + "text-primary-on-dark": { + "$value": "white", + "$type": "color" + }, + "text-secondary-on-dark": { + "$value": "rgba(255, 255, 255, 0.7)", + "$type": "color" + }, + "text-hint-on-dark": { + "$value": "rgba(255, 255, 255, 0.5)", + "$type": "color" + }, + "text-disabled-on-dark": { + "$value": "rgba(255, 255, 255, 0.5)", + "$type": "color" + }, + "text-icon-on-dark": { + "$value": "white", + "$type": "color" + } + }, + "material": { + "red-50": { + "$value": "#ffebee", + "$type": "color" + }, + "red-100": { + "$value": "#ffcdd2", + "$type": "color" + }, + "red-200": { + "$value": "#ef9a9a", + "$type": "color" + }, + "red-300": { + "$value": "#e57373", + "$type": "color" + }, + "red-400": { + "$value": "#ef5350", + "$type": "color" + }, + "red-500": { + "$value": "#f44336", + "$type": "color" + }, + "red-600": { + "$value": "#e53935", + "$type": "color" + }, + "red-700": { + "$value": "#d32f2f", + "$type": "color" + }, + "red-800": { + "$value": "#c62828", + "$type": "color" + }, + "red-900": { + "$value": "#b71c1c", + "$type": "color" + }, + "red-a100": { + "$value": "#ff8a80", + "$type": "color" + }, + "red-a200": { + "$value": "#ff5252", + "$type": "color" + }, + "red-a400": { + "$value": "#ff1744", + "$type": "color" + }, + "red-a700": { + "$value": "#d50000", + "$type": "color" + }, + "pink-50": { + "$value": "#fce4ec", + "$type": "color" + }, + "pink-100": { + "$value": "#f8bbd0", + "$type": "color" + }, + "pink-200": { + "$value": "#f48fb1", + "$type": "color" + }, + "pink-300": { + "$value": "#f06292", + "$type": "color" + }, + "pink-400": { + "$value": "#ec407a", + "$type": "color" + }, + "pink-500": { + "$value": "#e91e63", + "$type": "color" + }, + "pink-600": { + "$value": "#d81b60", + "$type": "color" + }, + "pink-700": { + "$value": "#c2185b", + "$type": "color" + }, + "pink-800": { + "$value": "#ad1457", + "$type": "color" + }, + "pink-900": { + "$value": "#880e4f", + "$type": "color" + }, + "pink-a100": { + "$value": "#ff80ab", + "$type": "color" + }, + "pink-a200": { + "$value": "#ff4081", + "$type": "color" + }, + "pink-a400": { + "$value": "#f50057", + "$type": "color" + }, + "pink-a700": { + "$value": "#c51162", + "$type": "color" + }, + "purple-50": { + "$value": "#f3e5f5", + "$type": "color" + }, + "purple-100": { + "$value": "#e1bee7", + "$type": "color" + }, + "purple-200": { + "$value": "#ce93d8", + "$type": "color" + }, + "purple-300": { + "$value": "#ba68c8", + "$type": "color" + }, + "purple-400": { + "$value": "#ab47bc", + "$type": "color" + }, + "purple-500": { + "$value": "#9c27b0", + "$type": "color" + }, + "purple-600": { + "$value": "#8e24aa", + "$type": "color" + }, + "purple-700": { + "$value": "#7b1fa2", + "$type": "color" + }, + "purple-800": { + "$value": "#6a1b9a", + "$type": "color" + }, + "purple-900": { + "$value": "#4a148c", + "$type": "color" + }, + "purple-a100": { + "$value": "#ea80fc", + "$type": "color" + }, + "purple-a200": { + "$value": "#e040fb", + "$type": "color" + }, + "purple-a400": { + "$value": "#d500f9", + "$type": "color" + }, + "purple-a700": { + "$value": "#a0f", + "$type": "color" + }, + "deep-purple-50": { + "$value": "#ede7f6", + "$type": "color" + }, + "deep-purple-100": { + "$value": "#d1c4e9", + "$type": "color" + }, + "deep-purple-200": { + "$value": "#b39ddb", + "$type": "color" + }, + "deep-purple-300": { + "$value": "#9575cd", + "$type": "color" + }, + "deep-purple-400": { + "$value": "#7e57c2", + "$type": "color" + }, + "deep-purple-500": { + "$value": "#673ab7", + "$type": "color" + }, + "deep-purple-600": { + "$value": "#5e35b1", + "$type": "color" + }, + "deep-purple-700": { + "$value": "#512da8", + "$type": "color" + }, + "deep-purple-800": { + "$value": "#4527a0", + "$type": "color" + }, + "deep-purple-900": { + "$value": "#311b92", + "$type": "color" + }, + "deep-purple-a100": { + "$value": "#b388ff", + "$type": "color" + }, + "deep-purple-a200": { + "$value": "#7c4dff", + "$type": "color" + }, + "deep-purple-a400": { + "$value": "#651fff", + "$type": "color" + }, + "deep-purple-a700": { + "$value": "#6200ea", + "$type": "color" + }, + "indigo-50": { + "$value": "#e8eaf6", + "$type": "color" + }, + "indigo-100": { + "$value": "#c5cae9", + "$type": "color" + }, + "indigo-200": { + "$value": "#9fa8da", + "$type": "color" + }, + "indigo-300": { + "$value": "#7986cb", + "$type": "color" + }, + "indigo-400": { + "$value": "#5c6bc0", + "$type": "color" + }, + "indigo-500": { + "$value": "#3f51b5", + "$type": "color" + }, + "indigo-600": { + "$value": "#3949ab", + "$type": "color" + }, + "indigo-700": { + "$value": "#303f9f", + "$type": "color" + }, + "indigo-800": { + "$value": "#283593", + "$type": "color" + }, + "indigo-900": { + "$value": "#1a237e", + "$type": "color" + }, + "indigo-a100": { + "$value": "#8c9eff", + "$type": "color" + }, + "indigo-a200": { + "$value": "#536dfe", + "$type": "color" + }, + "indigo-a400": { + "$value": "#3d5afe", + "$type": "color" + }, + "indigo-a700": { + "$value": "#304ffe", + "$type": "color" + }, + "blue-50": { + "$value": "#e3f2fd", + "$type": "color" + }, + "blue-100": { + "$value": "#bbdefb", + "$type": "color" + }, + "blue-200": { + "$value": "#90caf9", + "$type": "color" + }, + "blue-300": { + "$value": "#64b5f6", + "$type": "color" + }, + "blue-400": { + "$value": "#42a5f5", + "$type": "color" + }, + "blue-500": { + "$value": "#2196f3", + "$type": "color" + }, + "blue-600": { + "$value": "#1e88e5", + "$type": "color" + }, + "blue-700": { + "$value": "#1976d2", + "$type": "color" + }, + "blue-800": { + "$value": "#1565c0", + "$type": "color" + }, + "blue-900": { + "$value": "#0d47a1", + "$type": "color" + }, + "blue-a100": { + "$value": "#82b1ff", + "$type": "color" + }, + "blue-a200": { + "$value": "#448aff", + "$type": "color" + }, + "blue-a400": { + "$value": "#2979ff", + "$type": "color" + }, + "blue-a700": { + "$value": "#2962ff", + "$type": "color" + }, + "light-blue-50": { + "$value": "#e1f5fe", + "$type": "color" + }, + "light-blue-100": { + "$value": "#b3e5fc", + "$type": "color" + }, + "light-blue-200": { + "$value": "#81d4fa", + "$type": "color" + }, + "light-blue-300": { + "$value": "#4fc3f7", + "$type": "color" + }, + "light-blue-400": { + "$value": "#29b6f6", + "$type": "color" + }, + "light-blue-500": { + "$value": "#03a9f4", + "$type": "color" + }, + "light-blue-600": { + "$value": "#039be5", + "$type": "color" + }, + "light-blue-700": { + "$value": "#0288d1", + "$type": "color" + }, + "light-blue-800": { + "$value": "#0277bd", + "$type": "color" + }, + "light-blue-900": { + "$value": "#01579b", + "$type": "color" + }, + "light-blue-a100": { + "$value": "#80d8ff", + "$type": "color" + }, + "light-blue-a200": { + "$value": "#40c4ff", + "$type": "color" + }, + "light-blue-a400": { + "$value": "#00b0ff", + "$type": "color" + }, + "light-blue-a700": { + "$value": "#0091ea", + "$type": "color" + }, + "cyan-50": { + "$value": "#e0f7fa", + "$type": "color" + }, + "cyan-100": { + "$value": "#b2ebf2", + "$type": "color" + }, + "cyan-200": { + "$value": "#80deea", + "$type": "color" + }, + "cyan-300": { + "$value": "#4dd0e1", + "$type": "color" + }, + "cyan-400": { + "$value": "#26c6da", + "$type": "color" + }, + "cyan-500": { + "$value": "#00bcd4", + "$type": "color" + }, + "cyan-600": { + "$value": "#00acc1", + "$type": "color" + }, + "cyan-700": { + "$value": "#0097a7", + "$type": "color" + }, + "cyan-800": { + "$value": "#00838f", + "$type": "color" + }, + "cyan-900": { + "$value": "#006064", + "$type": "color" + }, + "cyan-a100": { + "$value": "#84ffff", + "$type": "color" + }, + "cyan-a200": { + "$value": "#18ffff", + "$type": "color" + }, + "cyan-a400": { + "$value": "#00e5ff", + "$type": "color" + }, + "cyan-a700": { + "$value": "#00b8d4", + "$type": "color" + }, + "teal-50": { + "$value": "#e0f2f1", + "$type": "color" + }, + "teal-100": { + "$value": "#b2dfdb", + "$type": "color" + }, + "teal-200": { + "$value": "#80cbc4", + "$type": "color" + }, + "teal-300": { + "$value": "#4db6ac", + "$type": "color" + }, + "teal-400": { + "$value": "#26a69a", + "$type": "color" + }, + "teal-500": { + "$value": "#009688", + "$type": "color" + }, + "teal-600": { + "$value": "#00897b", + "$type": "color" + }, + "teal-700": { + "$value": "#00796b", + "$type": "color" + }, + "teal-800": { + "$value": "#00695c", + "$type": "color" + }, + "teal-900": { + "$value": "#004d40", + "$type": "color" + }, + "teal-a100": { + "$value": "#a7ffeb", + "$type": "color" + }, + "teal-a200": { + "$value": "#64ffda", + "$type": "color" + }, + "teal-a400": { + "$value": "#1de9b6", + "$type": "color" + }, + "teal-a700": { + "$value": "#00bfa5", + "$type": "color" + }, + "green-50": { + "$value": "#e8f5e9", + "$type": "color" + }, + "green-100": { + "$value": "#c8e6c9", + "$type": "color" + }, + "green-200": { + "$value": "#a5d6a7", + "$type": "color" + }, + "green-300": { + "$value": "#81c784", + "$type": "color" + }, + "green-400": { + "$value": "#66bb6a", + "$type": "color" + }, + "green-500": { + "$value": "#4caf50", + "$type": "color" + }, + "green-600": { + "$value": "#43a047", + "$type": "color" + }, + "green-700": { + "$value": "#388e3c", + "$type": "color" + }, + "green-800": { + "$value": "#2e7d32", + "$type": "color" + }, + "green-900": { + "$value": "#1b5e20", + "$type": "color" + }, + "green-a100": { + "$value": "#b9f6ca", + "$type": "color" + }, + "green-a200": { + "$value": "#69f0ae", + "$type": "color" + }, + "green-a400": { + "$value": "#00e676", + "$type": "color" + }, + "green-a700": { + "$value": "#00c853", + "$type": "color" + }, + "light-green-50": { + "$value": "#f1f8e9", + "$type": "color" + }, + "light-green-100": { + "$value": "#dcedc8", + "$type": "color" + }, + "light-green-200": { + "$value": "#c5e1a5", + "$type": "color" + }, + "light-green-300": { + "$value": "#aed581", + "$type": "color" + }, + "light-green-400": { + "$value": "#9ccc65", + "$type": "color" + }, + "light-green-500": { + "$value": "#8bc34a", + "$type": "color" + }, + "light-green-600": { + "$value": "#7cb342", + "$type": "color" + }, + "light-green-700": { + "$value": "#689f38", + "$type": "color" + }, + "light-green-800": { + "$value": "#558b2f", + "$type": "color" + }, + "light-green-900": { + "$value": "#33691e", + "$type": "color" + }, + "light-green-a100": { + "$value": "#ccff90", + "$type": "color" + }, + "light-green-a200": { + "$value": "#b2ff59", + "$type": "color" + }, + "light-green-a400": { + "$value": "#76ff03", + "$type": "color" + }, + "light-green-a700": { + "$value": "#64dd17", + "$type": "color" + }, + "lime-50": { + "$value": "#f9fbe7", + "$type": "color" + }, + "lime-100": { + "$value": "#f0f4c3", + "$type": "color" + }, + "lime-200": { + "$value": "#e6ee9c", + "$type": "color" + }, + "lime-300": { + "$value": "#dce775", + "$type": "color" + }, + "lime-400": { + "$value": "#d4e157", + "$type": "color" + }, + "lime-500": { + "$value": "#cddc39", + "$type": "color" + }, + "lime-600": { + "$value": "#c0ca33", + "$type": "color" + }, + "lime-700": { + "$value": "#afb42b", + "$type": "color" + }, + "lime-800": { + "$value": "#9e9d24", + "$type": "color" + }, + "lime-900": { + "$value": "#827717", + "$type": "color" + }, + "lime-a100": { + "$value": "#f4ff81", + "$type": "color" + }, + "lime-a200": { + "$value": "#eeff41", + "$type": "color" + }, + "lime-a400": { + "$value": "#c6ff00", + "$type": "color" + }, + "lime-a700": { + "$value": "#aeea00", + "$type": "color" + }, + "yellow-50": { + "$value": "#fffde7", + "$type": "color" + }, + "yellow-100": { + "$value": "#fff9c4", + "$type": "color" + }, + "yellow-200": { + "$value": "#fff59d", + "$type": "color" + }, + "yellow-300": { + "$value": "#fff176", + "$type": "color" + }, + "yellow-400": { + "$value": "#ffee58", + "$type": "color" + }, + "yellow-500": { + "$value": "#ffeb3b", + "$type": "color" + }, + "yellow-600": { + "$value": "#fdd835", + "$type": "color" + }, + "yellow-700": { + "$value": "#fbc02d", + "$type": "color" + }, + "yellow-800": { + "$value": "#f9a825", + "$type": "color" + }, + "yellow-900": { + "$value": "#f57f17", + "$type": "color" + }, + "yellow-a100": { + "$value": "#ffff8d", + "$type": "color" + }, + "yellow-a200": { + "$value": "#ff0", + "$type": "color" + }, + "yellow-a400": { + "$value": "#ffea00", + "$type": "color" + }, + "yellow-a700": { + "$value": "#ffd600", + "$type": "color" + }, + "amber-50": { + "$value": "#fff8e1", + "$type": "color" + }, + "amber-100": { + "$value": "#ffecb3", + "$type": "color" + }, + "amber-200": { + "$value": "#ffe082", + "$type": "color" + }, + "amber-300": { + "$value": "#ffd54f", + "$type": "color" + }, + "amber-400": { + "$value": "#ffca28", + "$type": "color" + }, + "amber-500": { + "$value": "#ffc107", + "$type": "color" + }, + "amber-600": { + "$value": "#ffb300", + "$type": "color" + }, + "amber-700": { + "$value": "#ffa000", + "$type": "color" + }, + "amber-800": { + "$value": "#ff8f00", + "$type": "color" + }, + "amber-900": { + "$value": "#ff6f00", + "$type": "color" + }, + "amber-a100": { + "$value": "#ffe57f", + "$type": "color" + }, + "amber-a200": { + "$value": "#ffd740", + "$type": "color" + }, + "amber-a400": { + "$value": "#ffc400", + "$type": "color" + }, + "amber-a700": { + "$value": "#ffab00", + "$type": "color" + }, + "orange-50": { + "$value": "#fff3e0", + "$type": "color" + }, + "orange-100": { + "$value": "#ffe0b2", + "$type": "color" + }, + "orange-200": { + "$value": "#ffcc80", + "$type": "color" + }, + "orange-300": { + "$value": "#ffb74d", + "$type": "color" + }, + "orange-400": { + "$value": "#ffa726", + "$type": "color" + }, + "orange-500": { + "$value": "#ff9800", + "$type": "color" + }, + "orange-600": { + "$value": "#fb8c00", + "$type": "color" + }, + "orange-700": { + "$value": "#f57c00", + "$type": "color" + }, + "orange-800": { + "$value": "#ef6c00", + "$type": "color" + }, + "orange-900": { + "$value": "#e65100", + "$type": "color" + }, + "orange-a100": { + "$value": "#ffd180", + "$type": "color" + }, + "orange-a200": { + "$value": "#ffab40", + "$type": "color" + }, + "orange-a400": { + "$value": "#ff9100", + "$type": "color" + }, + "orange-a700": { + "$value": "#ff6d00", + "$type": "color" + }, + "deep-orange-50": { + "$value": "#fbe9e7", + "$type": "color" + }, + "deep-orange-100": { + "$value": "#ffccbc", + "$type": "color" + }, + "deep-orange-200": { + "$value": "#ffab91", + "$type": "color" + }, + "deep-orange-300": { + "$value": "#ff8a65", + "$type": "color" + }, + "deep-orange-400": { + "$value": "#ff7043", + "$type": "color" + }, + "deep-orange-500": { + "$value": "#ff5722", + "$type": "color" + }, + "deep-orange-600": { + "$value": "#f4511e", + "$type": "color" + }, + "deep-orange-700": { + "$value": "#e64a19", + "$type": "color" + }, + "deep-orange-800": { + "$value": "#d84315", + "$type": "color" + }, + "deep-orange-900": { + "$value": "#bf360c", + "$type": "color" + }, + "deep-orange-a100": { + "$value": "#ff9e80", + "$type": "color" + }, + "deep-orange-a200": { + "$value": "#ff6e40", + "$type": "color" + }, + "deep-orange-a400": { + "$value": "#ff3d00", + "$type": "color" + }, + "deep-orange-a700": { + "$value": "#dd2c00", + "$type": "color" + }, + "brown-50": { + "$value": "#efebe9", + "$type": "color" + }, + "brown-100": { + "$value": "#d7ccc8", + "$type": "color" + }, + "brown-200": { + "$value": "#bcaaa4", + "$type": "color" + }, + "brown-300": { + "$value": "#a1887f", + "$type": "color" + }, + "brown-400": { + "$value": "#8d6e63", + "$type": "color" + }, + "brown-500": { + "$value": "#795548", + "$type": "color" + }, + "brown-600": { + "$value": "#6d4c41", + "$type": "color" + }, + "brown-700": { + "$value": "#5d4037", + "$type": "color" + }, + "brown-800": { + "$value": "#4e342e", + "$type": "color" + }, + "brown-900": { + "$value": "#3e2723", + "$type": "color" + }, + "grey-50": { + "$value": "#fafafa", + "$type": "color" + }, + "grey-100": { + "$value": "#f5f5f5", + "$type": "color" + }, + "grey-200": { + "$value": "#eee", + "$type": "color" + }, + "grey-300": { + "$value": "#e0e0e0", + "$type": "color" + }, + "grey-400": { + "$value": "#bdbdbd", + "$type": "color" + }, + "grey-500": { + "$value": "#9e9e9e", + "$type": "color" + }, + "grey-600": { + "$value": "#757575", + "$type": "color" + }, + "grey-700": { + "$value": "#616161", + "$type": "color" + }, + "grey-800": { + "$value": "#424242", + "$type": "color" + }, + "grey-900": { + "$value": "#212121", + "$type": "color" + }, + "blue-grey-50": { + "$value": "#eceff1", + "$type": "color" + }, + "blue-grey-100": { + "$value": "#cfd8dc", + "$type": "color" + }, + "blue-grey-200": { + "$value": "#b0bec5", + "$type": "color" + }, + "blue-grey-300": { + "$value": "#90a4ae", + "$type": "color" + }, + "blue-grey-400": { + "$value": "#78909c", + "$type": "color" + }, + "blue-grey-500": { + "$value": "#607d8b", + "$type": "color" + }, + "blue-grey-600": { + "$value": "#546e7a", + "$type": "color" + }, + "blue-grey-700": { + "$value": "#455a64", + "$type": "color" + }, + "blue-grey-800": { + "$value": "#37474f", + "$type": "color" + }, + "blue-grey-900": { + "$value": "#263238", + "$type": "color" + } + }, + "teradata": { + "teal-50": { + "$value": "#def9f8", + "$type": "color" + }, + "teal-100": { + "$value": "#b2ebea", + "$type": "color" + }, + "teal-200": { + "$value": "#85dddc", + "$type": "color" + }, + "teal-300": { + "$value": "#59cecd", + "$type": "color" + }, + "teal-400": { + "$value": "#2cc0bf", + "$type": "color" + }, + "teal-500": { + "$value": "#00b2b1", + "$type": "color" + }, + "teal-600": { + "$value": "#00a2a2", + "$type": "color" + }, + "teal-700": { + "$value": "#009392", + "$type": "color" + }, + "teal-800": { + "$value": "#008383", + "$type": "color" + }, + "teal-900": { + "$value": "#007373", + "$type": "color" + }, + "teal-1000": { + "$value": "#016b6b", + "$type": "color" + }, + "teal-1100": { + "$value": "#036464", + "$type": "color" + }, + "teal-1200": { + "$value": "#045c5c", + "$type": "color" + }, + "teal-1300": { + "$value": "#055454", + "$type": "color" + }, + "teal-1400": { + "$value": "#074d4d", + "$type": "color" + }, + "teal-1500": { + "$value": "#084545", + "$type": "color" + }, + "teal-1600": { + "$value": "#0a3e3e", + "$type": "color" + }, + "teal-1700": { + "$value": "#0b3636", + "$type": "color" + }, + "teal-1800": { + "$value": "#0c2e2e", + "$type": "color" + }, + "teal-1900": { + "$value": "#0e2727", + "$type": "color" + }, + "teal-2000": { + "$value": "#0f1f1f", + "$type": "color" + }, + "slate-50": { + "$value": "#e3e7e8", + "$type": "color" + }, + "slate-100": { + "$value": "#c9cfd1", + "$type": "color" + }, + "slate-200": { + "$value": "#afb6b9", + "$type": "color" + }, + "slate-300": { + "$value": "#959ea2", + "$type": "color" + }, + "slate-400": { + "$value": "#7b858a", + "$type": "color" + }, + "slate-500": { + "$value": "#616d73", + "$type": "color" + }, + "slate-600": { + "$value": "#57646b", + "$type": "color" + }, + "slate-700": { + "$value": "#4d5b62", + "$type": "color" + }, + "slate-800": { + "$value": "#43515a", + "$type": "color" + }, + "slate-900": { + "$value": "#394851", + "$type": "color" + }, + "slate-1000": { + "$value": "#2e3d42", + "$type": "color" + }, + "slate-1100": { + "$value": "#28353b", + "$type": "color" + }, + "slate-1200": { + "$value": "#222e33", + "$type": "color" + }, + "slate-1300": { + "$value": "#1f282e", + "$type": "color" + }, + "slate-1400": { + "$value": "#1a2126", + "$type": "color" + }, + "slate-1500": { + "$value": "#161c1f", + "$type": "color" + }, + "slate-1600": { + "$value": "#14171a", + "$type": "color" + }, + "slate-1700": { + "$value": "#101314", + "$type": "color" + }, + "slate-1800": { + "$value": "#0c0e0f", + "$type": "color" + }, + "slate-1900": { + "$value": "#060708", + "$type": "color" + }, + "slate-2000": { + "$value": "#020203", + "$type": "color" + }, + "orange-100": { + "$value": "#FFCFB3", + "$type": "color" + }, + "orange-200": { + "$value": "#FFAF81", + "$type": "color" + }, + "orange-300": { + "$value": "#FF8F4E", + "$type": "color" + }, + "orange-400": { + "$value": "#FF7728", + "$type": "color" + }, + "orange-500": { + "$value": "#FF5F02", + "$type": "color" + }, + "orange-600": { + "$value": "#F05800", + "$type": "color" + }, + "orange-700": { + "$value": "#E54900", + "$type": "color" + }, + "orange-800": { + "$value": "#D83B03", + "$type": "color" + }, + "orange-900": { + "$value": "#C23200", + "$type": "color" + } + }, + "typography": { + "font-family": { + "$value": "Arial, sans-serif" + }, + "headline1-font-family": { + "$value": "'Inter', sans-serif" + }, + "headline1-font-size": { + "$value": "96px", + "$type": "dimension" + }, + "headline1-font-weight": { + "$value": "500" + }, + "headline1-line-height": { + "$value": "112px", + "$type": "dimension" + }, + "headline2-font-family": { + "$value": "'Inter', sans-serif" + }, + "headline2-font-size": { + "$value": "60px", + "$type": "dimension" + }, + "headline2-font-weight": { + "$value": "600" + }, + "headline2-line-height": { + "$value": "84px", + "$type": "dimension" + }, + "headline3-font-family": { + "$value": "'Inter', sans-serif" + }, + "headline3-font-size": { + "$value": "48px", + "$type": "dimension" + }, + "headline3-font-weight": { + "$value": "600" + }, + "headline3-line-height": { + "$value": "64px", + "$type": "dimension" + }, + "headline4-font-family": { + "$value": "'Inter', sans-serif" + }, + "headline4-font-size": { + "$value": "34px", + "$type": "dimension" + }, + "headline4-font-weight": { + "$value": "700" + }, + "headline4-line-height": { + "$value": "48px", + "$type": "dimension" + }, + "headline5-font-family": { + "$value": "'Inter', sans-serif" + }, + "headline5-font-size": { + "$value": "24px", + "$type": "dimension" + }, + "headline5-font-weight": { + "$value": "700" + }, + "headline5-line-height": { + "$value": "36px", + "$type": "dimension" + }, + "headline6-font-family": { + "$value": "'Inter', sans-serif" + }, + "headline6-font-size": { + "$value": "20px", + "$type": "dimension" + }, + "headline6-font-weight": { + "$value": "700" + }, + "headline6-line-height": { + "$value": "28px", + "$type": "dimension" + }, + "subtitle1-font-family": { + "$value": "'Inter', sans-serif" + }, + "subtitle1-font-size": { + "$value": "14px", + "$type": "dimension" + }, + "subtitle1-font-weight": { + "$value": "600" + }, + "subtitle1-line-height": { + "$value": "20px", + "$type": "dimension" + }, + "subtitle2-font-family": { + "$value": "'Inter', sans-serif" + }, + "subtitle2-font-size": { + "$value": "16px", + "$type": "dimension" + }, + "subtitle2-font-weight": { + "$value": "600" + }, + "subtitle2-line-height": { + "$value": "24px", + "$type": "dimension" + }, + "body1-font-family": { + "$value": "Arial, sans-serif" + }, + "body1-font-size": { + "$value": "16px", + "$type": "dimension" + }, + "body1-font-weight": { + "$value": "400" + }, + "body1-line-height": { + "$value": "24px", + "$type": "dimension" + }, + "body2-font-family": { + "$value": "Arial, sans-serif" + }, + "body2-font-size": { + "$value": "14px", + "$type": "dimension" + }, + "body2-font-weight": { + "$value": "400" + }, + "body2-line-height": { + "$value": "20px", + "$type": "dimension" + }, + "button-font-family": { + "$value": "'Inter', sans-serif" + }, + "button-font-size": { + "$value": "14px", + "$type": "dimension" + }, + "button-font-weight": { + "$value": "600" + }, + "button-line-height": { + "$value": "16px", + "$type": "dimension" + }, + "caption-font-family": { + "$value": "Arial, sans-serif" + }, + "caption-font-size": { + "$value": "12px", + "$type": "dimension" + }, + "caption-font-weight": { + "$value": "400" + }, + "caption-line-height": { + "$value": "16px", + "$type": "dimension" + } + } +} diff --git a/knapsack/data/knapsack.files.json b/knapsack/data/knapsack.files.json new file mode 100644 index 0000000000..be32275d38 --- /dev/null +++ b/knapsack/data/knapsack.files.json @@ -0,0 +1,3 @@ +{ + "files": {} +} diff --git a/knapsack/data/knapsack.navs.yml b/knapsack/data/knapsack.navs.yml new file mode 100644 index 0000000000..951a7fcc9e --- /dev/null +++ b/knapsack/data/knapsack.navs.yml @@ -0,0 +1,255 @@ +byId: + action-ribbon: + id: action-ribbon + name: Action ribbon + parentId: test-page + path: /pattern/action-ribbon + alert: + id: alert + name: Alert + parentId: test-page + path: /pattern/alert + app-shell: + id: app-shell + name: App shell + parentId: test-page + path: /pattern/app-shell + breadcrumbs: + id: breadcrumbs + name: Breadcrumbs + parentId: test-page + path: /pattern/breadcrumbs + button: + id: button + name: Button + parentId: test-page + path: /pattern/button + card: + id: card + name: Card + parentId: test-page + path: /pattern/card + checkbox: + id: checkbox + name: Checkbox + parentId: test-page + path: /pattern/checkbox + circular-progress: + id: circular-progress + name: Circular progress + parentId: test-page + path: /pattern/circular-progress + code-snippet: + id: code-snippet + name: Code snippet + parentId: test-page + path: /pattern/code-snippet + dialog: + id: dialog + name: Dialog + parentId: test-page + path: /pattern/dialog + empty-state: + id: empty-state + name: Empty state + parentId: test-page + path: /pattern/empty-state + expansion-panel: + id: expansion-panel + name: Expansion panel + parentId: test-page + path: /pattern/expansion-panel + icon: + id: icon + name: Icon + parentId: test-page + path: /pattern/icon + icon-button: + id: icon-button + name: Icon button + parentId: test-page + path: /pattern/icon-button + icon-checkbox: + id: icon-checkbox + name: Icon checkbox + parentId: test-page + path: /pattern/icon-checkbox + icon-radio: + id: icon-radio + name: Icon radio + parentId: test-page + path: /pattern/icon-radio + linear-progress: + id: linear-progress + name: Linear progress + parentId: test-page + path: /pattern/linear-progress + list: + id: list + name: List + parentId: test-page + path: /pattern/list + list-item: + id: list-item + name: List item + parentId: list + path: /pattern/list-item + menu: + id: menu + name: Menu + parentId: test-page + path: /pattern/menu + radio: + id: radio + name: Radio + parentId: test-page + path: /pattern/radio + select: + id: select + name: Select + parentId: test-page + path: /pattern/select + side-sheet: + id: side-sheet + name: Side sheet + parentId: test-page + path: /pattern/side-sheet + slider: + id: slider + name: Slider + parentId: test-page + path: /pattern/slider + snackbar: + id: snackbar + name: Snackbar + parentId: test-page + path: /pattern/snackbar + status-header: + id: status-header + name: Status header + parentId: test-page + path: /pattern/status-header + status-header-item: + id: status-header-item + name: Status header item + parentId: status-header + path: /pattern/status-header-item + switch: + id: switch + name: Switch + parentId: test-page + path: /pattern/switch + tab: + hidden: true + id: tab + name: tab + parentId: tabs + path: /pattern/tab + tabs: + id: tabs + name: Tabs + parentId: test-page + path: /pattern/tabs + test: + id: test + name: test + parentId: root + path: /pages/test + test-page: + id: test-page + name: components + parentId: root + path: /pages/test-page + text: + id: text + name: Typography + parentId: test-page + path: /pattern/text + text-area: + id: text-area + name: Text area + parentId: test-page + path: /pattern/text-area + text-lockup: + id: text-lockup + name: Text lockup + parentId: test-page + path: /pattern/text-lockup + textfield: + id: textfield + name: Text field + parentId: test-page + path: /pattern/textfield + toolbar: + id: toolbar + name: Toolbar + parentId: test-page + path: /pattern/toolbar + tooltip: + id: tooltip + name: Tooltip + parentId: test-page + path: /pattern/tooltip + top-app-bar: + id: top-app-bar + name: Top app bar + parentId: test-page + path: /pattern/top-app-bar + top-app-bar-fixed: + id: top-app-bar-fixed + name: Top app bar fixed + parentId: top-app-bar + path: /pattern/top-app-bar-fixed + tree-list: + id: tree-list + name: Tree list + parentId: test-page + path: /pattern/tree-list + tree-list-item: + id: tree-list-item + name: Tree list item + parentId: tree-list + path: /pattern/tree-list-item +order: + - test-page + - alert + - action-ribbon + - app-shell + - button + - card + - checkbox + - text + - textfield + - text-area + - text-lockup + - icon + - icon-button + - icon-checkbox + - icon-radio + - breadcrumbs + - code-snippet + - circular-progress + - slider + - toolbar + - dialog + - empty-state + - expansion-panel + - linear-progress + - list + - list-item + - menu + - radio + - select + - side-sheet + - snackbar + - status-header + - status-header-item + - switch + - tabs + - tab + - tooltip + - top-app-bar + - top-app-bar-fixed + - tree-list + - tree-list-item + - test diff --git a/knapsack/data/knapsack.pattern.action-ribbon.json b/knapsack/data/knapsack.pattern.action-ribbon.json new file mode 100644 index 0000000000..0047db1fb6 --- /dev/null +++ b/knapsack/data/knapsack.pattern.action-ribbon.json @@ -0,0 +1,61 @@ +{ + "id": "action-ribbon", + "title": "Action ribbon", + "description": "", + "statuses": {}, + "templates": [ + { + "id": "web-components-v3gk7O39kO", + "title": "Web components", + "path": "../../dist/libs/components/action-ribbon.mjs", + "alias": "cv-action-ribbon", + "templateLanguageId": "web-components", + "spec": { + "slots": { + "action-items": { + "allowedPatternIds": ["button", "checkbox"], + "title": "action-items" + } + }, + "props": { + "$schema": "http://json-schema.org/draft-07/schema", + "description": "", + "type": "object", + "required": [], + "properties": { + "labelText": { + "type": "string", + "default": "You have unsaved changes" + }, + "state": { + "type": "string", + "default": "active" + }, + "icon": { + "type": "string" + } + } + } + }, + "demoIds": ["xrVH4M3t6W"], + "blockIds": [] + } + ], + "tabs": [ + { + "type": "subPage", + "id": "overview" + }, + { + "type": "template", + "id": "web-components-v3gk7O39kO" + } + ], + "subPages": [ + { + "id": "overview", + "title": "Overview", + "blockIds": [] + } + ] +} diff --git a/knapsack/data/knapsack.pattern.alert.json b/knapsack/data/knapsack.pattern.alert.json new file mode 100644 index 0000000000..3c4501c22c --- /dev/null +++ b/knapsack/data/knapsack.pattern.alert.json @@ -0,0 +1,72 @@ +{ + "id": "alert", + "title": "Alert", + "description": "", + "statuses": {}, + "templates": [ + { + "id": "web-components-4qjJYWsUZi", + "title": "Web components", + "path": "../../dist/libs/components/alert.mjs", + "alias": "cv-alert", + "templateLanguageId": "web-components", + "spec": { + "slots": { + "action-items": { + "allowedPatternIds": ["button", "checkbox"], + "title": "action-items" + } + }, + "props": { + "$schema": "http://json-schema.org/draft-07/schema", + "description": "", + "type": "object", + "required": [], + "properties": { + "titleText": { + "type": "string", + "default": "Alert title" + }, + "descriptionText": { + "type": "string", + "default": "Alert description" + }, + "icon": { + "type": "string", + "default": "info" + }, + "state": { + "type": "string" + }, + "iconAriaLabel": { + "type": "string", + "title": "Alert title" + }, + "inline": { + "type": "boolean" + } + } + } + }, + "demoIds": ["tnvgSz6pjh"], + "blockIds": [] + } + ], + "tabs": [ + { + "type": "subPage", + "id": "overview" + }, + { + "type": "template", + "id": "web-components-4qjJYWsUZi" + } + ], + "subPages": [ + { + "id": "overview", + "title": "Overview", + "blockIds": [] + } + ] +} diff --git a/knapsack/data/knapsack.pattern.app-shell.json b/knapsack/data/knapsack.pattern.app-shell.json new file mode 100644 index 0000000000..2a75485848 --- /dev/null +++ b/knapsack/data/knapsack.pattern.app-shell.json @@ -0,0 +1,76 @@ +{ + "id": "app-shell", + "title": "App shell", + "description": "", + "statuses": {}, + "templates": [ + { + "id": "web-components-z8r4uoVkf", + "title": "Web components", + "path": "../../dist/libs/components/app-shell.mjs", + "alias": "cv-app-shell", + "templateLanguageId": "web-components", + "spec": { + "slots": { + "default": { + "title": "default" + }, + "logo": { + "title": "logo" + }, + "navigation": { + "title": "navigation" + }, + "help": { + "title": "help" + }, + "section-action": { + "allowedPatternIds": ["icon-button"], + "title": "section-action" + }, + "user-menu": { + "title": "user-menu" + } + }, + "props": { + "$schema": "http://json-schema.org/draft-07/schema", + "description": "", + "type": "object", + "required": [], + "properties": { + "appName": { + "type": "string", + "default": "[App name]" + }, + "sectionName": { + "type": "string", + "default": "[Section name]" + }, + "helpOpen": { + "type": "boolean" + } + } + } + }, + "demoIds": ["5lBJhPKvTj"], + "blockIds": [] + } + ], + "tabs": [ + { + "type": "subPage", + "id": "overview" + }, + { + "type": "template", + "id": "web-components-z8r4uoVkf" + } + ], + "subPages": [ + { + "id": "overview", + "title": "Overview", + "blockIds": [] + } + ] +} diff --git a/knapsack/data/knapsack.pattern.breadcrumbs.json b/knapsack/data/knapsack.pattern.breadcrumbs.json new file mode 100644 index 0000000000..82ef32c99e --- /dev/null +++ b/knapsack/data/knapsack.pattern.breadcrumbs.json @@ -0,0 +1,48 @@ +{ + "id": "breadcrumbs", + "title": "Breadcrumbs", + "description": "", + "statuses": {}, + "templates": [ + { + "id": "angular-kJmJyws4E", + "title": "Angular", + "path": "../../dist/libs/angular/fesm2022/covalent-core-breadcrumbs.mjs", + "alias": "TdBreadcrumbComponent", + "templateLanguageId": "angular", + "spec": { + "slots": { + "default": { + "title": "default" + } + }, + "props": { + "$schema": "http://json-schema.org/draft-07/schema", + "description": "", + "type": "object", + "required": [], + "properties": {} + } + }, + "demoIds": ["l5OMMCwUDB"], + "blockIds": [] + } + ], + "tabs": [ + { + "type": "subPage", + "id": "overview" + }, + { + "type": "template", + "id": "angular-kJmJyws4E" + } + ], + "subPages": [ + { + "id": "overview", + "title": "Overview", + "blockIds": ["yakWym5jjp"] + } + ] +} diff --git a/knapsack/data/knapsack.pattern.button.json b/knapsack/data/knapsack.pattern.button.json new file mode 100644 index 0000000000..81b4d5a99f --- /dev/null +++ b/knapsack/data/knapsack.pattern.button.json @@ -0,0 +1,69 @@ +{ + "id": "button", + "title": "Button", + "description": "", + "statuses": { + "main": "needsDev" + }, + "templates": [ + { + "id": "web-components-raE1x4tYL", + "title": "Web component", + "path": "../../dist/libs/components/button.js", + "alias": "cv-button", + "templateLanguageId": "web-components", + "spec": { + "slots": {}, + "props": { + "$schema": "http://json-schema.org/draft-07/schema", + "description": "", + "type": "object", + "required": [], + "properties": { + "label": { + "type": "string" + }, + "outlined": { + "type": "boolean", + "default": true + }, + "raised": { + "type": "boolean", + "default": false + }, + "icon": { + "type": "string" + }, + "trailingIcon": { + "type": "boolean", + "default": false + }, + "dense": { + "type": "boolean", + "default": false + } + } + } + }, + "demoIds": ["E5ymzzEPs"], + "blockIds": [] + } + ], + "tabs": [ + { + "type": "subPage", + "id": "overview" + }, + { + "type": "template", + "id": "web-components-raE1x4tYL" + } + ], + "subPages": [ + { + "id": "overview", + "title": "Overview", + "blockIds": [] + } + ] +} diff --git a/knapsack/data/knapsack.pattern.card.json b/knapsack/data/knapsack.pattern.card.json new file mode 100644 index 0000000000..d5503e49e9 --- /dev/null +++ b/knapsack/data/knapsack.pattern.card.json @@ -0,0 +1,70 @@ +{ + "id": "card", + "title": "Card", + "description": "", + "statuses": {}, + "templates": [ + { + "id": "web-components-mU8MX1FHrF", + "title": "Web components", + "path": "../../dist/libs/components/card.mjs", + "alias": "cv-card", + "templateLanguageId": "web-components", + "spec": { + "slots": { + "default": { + "title": "default" + }, + "card-actions": { + "allowedPatternIds": [ + "button", + "checkbox", + "text", + "switch", + "icon", + "icon-button" + ], + "title": "card-actions" + } + }, + "props": { + "$schema": "http://json-schema.org/draft-07/schema", + "description": "", + "type": "object", + "required": [], + "properties": { + "cardTitle": { + "type": "string", + "default": "Card title" + }, + "outlined": { + "type": "boolean" + }, + "actionBar": { + "type": "boolean" + } + } + } + }, + "demoIds": ["pTyIIHqJtL"], + "blockIds": [] + } + ], + "tabs": [ + { + "type": "subPage", + "id": "overview" + }, + { + "type": "template", + "id": "web-components-mU8MX1FHrF" + } + ], + "subPages": [ + { + "id": "overview", + "title": "Overview", + "blockIds": [] + } + ] +} diff --git a/knapsack/data/knapsack.pattern.checkbox.json b/knapsack/data/knapsack.pattern.checkbox.json new file mode 100644 index 0000000000..8ede2d36a2 --- /dev/null +++ b/knapsack/data/knapsack.pattern.checkbox.json @@ -0,0 +1,52 @@ +{ + "id": "checkbox", + "title": "Checkbox", + "description": "", + "statuses": {}, + "templates": [ + { + "id": "web-components-29FbeDQWhM", + "title": "Web components", + "path": "../../dist/libs/components/checkbox.mjs", + "alias": "cv-checkbox", + "templateLanguageId": "web-components", + "spec": { + "slots": { + "default": { + "title": "default" + } + }, + "props": { + "$schema": "http://json-schema.org/draft-07/schema", + "description": "", + "type": "object", + "required": [], + "properties": { + "checked": { + "type": "boolean" + } + } + } + }, + "demoIds": ["ee2EneFvzS"], + "blockIds": [] + } + ], + "tabs": [ + { + "type": "subPage", + "id": "overview" + }, + { + "type": "template", + "id": "web-components-29FbeDQWhM" + } + ], + "subPages": [ + { + "id": "overview", + "title": "Overview", + "blockIds": [] + } + ] +} diff --git a/knapsack/data/knapsack.pattern.circular-progress.json b/knapsack/data/knapsack.pattern.circular-progress.json new file mode 100644 index 0000000000..a5e463a95d --- /dev/null +++ b/knapsack/data/knapsack.pattern.circular-progress.json @@ -0,0 +1,52 @@ +{ + "id": "circular-progress", + "title": "Circular progress", + "description": "", + "statuses": {}, + "templates": [ + { + "id": "web-components-iMsVIQ6gtb", + "title": "Web components", + "path": "../../dist/libs/components/circular-progress.mjs", + "alias": "cv-circular-progress", + "templateLanguageId": "web-components", + "spec": { + "slots": {}, + "props": { + "$schema": "http://json-schema.org/draft-07/schema", + "description": "", + "type": "object", + "required": [], + "properties": { + "indeterminate": { + "type": "boolean", + "default": true + }, + "progress": { + "type": "number" + } + } + } + }, + "demoIds": ["b7gHexlITw"], + "blockIds": [] + } + ], + "tabs": [ + { + "type": "subPage", + "id": "overview" + }, + { + "type": "template", + "id": "web-components-iMsVIQ6gtb" + } + ], + "subPages": [ + { + "id": "overview", + "title": "Overview", + "blockIds": [] + } + ] +} diff --git a/knapsack/data/knapsack.pattern.code-snippet.json b/knapsack/data/knapsack.pattern.code-snippet.json new file mode 100644 index 0000000000..f7c9bb21f7 --- /dev/null +++ b/knapsack/data/knapsack.pattern.code-snippet.json @@ -0,0 +1,62 @@ +{ + "id": "code-snippet", + "title": "Code snippet", + "description": "", + "statuses": {}, + "templates": [ + { + "id": "web-components-MmKtwF24Vv", + "title": "Web components", + "path": "../../dist/libs/components/code-snippet.mjs", + "alias": "cv-code-snippet", + "templateLanguageId": "web-components", + "spec": { + "slots": { + "default": { + "title": "default" + }, + "actionItems": { + "allowedPatternIds": ["button", "icon-button"], + "title": "actionItems", + "disallowText": true + } + }, + "props": { + "$schema": "http://json-schema.org/draft-07/schema", + "description": "", + "type": "object", + "required": [], + "properties": { + "label": { + "type": "string", + "default": "Example.sql" + }, + "language": { + "type": "string", + "default": "sql" + } + } + } + }, + "demoIds": ["HJPgdqmwj"], + "blockIds": [] + } + ], + "tabs": [ + { + "type": "subPage", + "id": "overview" + }, + { + "type": "template", + "id": "web-components-MmKtwF24Vv" + } + ], + "subPages": [ + { + "id": "overview", + "title": "Overview", + "blockIds": [] + } + ] +} diff --git a/knapsack/data/knapsack.pattern.dialog.json b/knapsack/data/knapsack.pattern.dialog.json new file mode 100644 index 0000000000..7b1f1f9998 --- /dev/null +++ b/knapsack/data/knapsack.pattern.dialog.json @@ -0,0 +1,86 @@ +{ + "id": "dialog", + "title": "Dialog", + "description": "", + "statuses": {}, + "templates": [ + { + "id": "web-components-S9Ia0KOrya", + "title": "Web components", + "path": "../../dist/libs/components/dialog.mjs", + "alias": "cv-dialog", + "templateLanguageId": "web-components", + "spec": { + "slots": { + "default": { + "title": "default" + }, + "secondaryAction": { + "allowedPatternIds": [ + "button", + "checkbox", + "icon", + "switch", + "icon-button" + ], + "title": "secondaryAction", + "disallowText": true, + "allowOnlyOne": false + }, + "primaryAction": { + "allowedPatternIds": [ + "button", + "checkbox", + "icon", + "icon-button", + "switch" + ], + "title": "primaryAction", + "disallowText": true + }, + "newSlot": { + "title": "New Slot" + } + }, + "props": { + "$schema": "http://json-schema.org/draft-07/schema", + "description": "", + "type": "object", + "required": ["open"], + "properties": { + "heading": { + "type": "string", + "default": "Sample dialog title" + }, + "open": { + "type": "boolean", + "default": true + }, + "hideActions": { + "type": "boolean" + } + } + } + }, + "demoIds": ["yovRt8o986"], + "blockIds": [] + } + ], + "tabs": [ + { + "type": "subPage", + "id": "overview" + }, + { + "type": "template", + "id": "web-components-S9Ia0KOrya" + } + ], + "subPages": [ + { + "id": "overview", + "title": "Overview", + "blockIds": [] + } + ] +} diff --git a/knapsack/data/knapsack.pattern.empty-state.json b/knapsack/data/knapsack.pattern.empty-state.json new file mode 100644 index 0000000000..5d21d7d733 --- /dev/null +++ b/knapsack/data/knapsack.pattern.empty-state.json @@ -0,0 +1,63 @@ +{ + "id": "empty-state", + "title": "Empty state", + "description": "", + "statuses": {}, + "templates": [ + { + "id": "web-components-E0GwXgHJv", + "title": "Web components", + "path": "../../dist/libs/components/empty-state.mjs", + "alias": "cv-empty-state", + "templateLanguageId": "web-components", + "spec": { + "slots": { + "buttons": { + "allowedPatternIds": ["button"], + "title": "buttons", + "disallowText": true + } + }, + "props": { + "$schema": "http://json-schema.org/draft-07/schema", + "description": "", + "type": "object", + "required": [], + "properties": { + "headline": { + "type": "string", + "default": "You don't have access to this area" + }, + "subtitle": { + "type": "string", + "default": "You don't have permission to view this application. Please contact your system administrator for further details." + }, + "icon": { + "type": "string", + "default": "lock" + } + } + } + }, + "demoIds": ["8QAZfNvobo"], + "blockIds": [] + } + ], + "tabs": [ + { + "type": "subPage", + "id": "overview" + }, + { + "type": "template", + "id": "web-components-E0GwXgHJv" + } + ], + "subPages": [ + { + "id": "overview", + "title": "Overview", + "blockIds": [] + } + ] +} diff --git a/knapsack/data/knapsack.pattern.expansion-panel.json b/knapsack/data/knapsack.pattern.expansion-panel.json new file mode 100644 index 0000000000..6cfca7e06b --- /dev/null +++ b/knapsack/data/knapsack.pattern.expansion-panel.json @@ -0,0 +1,20 @@ +{ + "id": "expansion-panel", + "title": "Expansion panel", + "description": "", + "statuses": {}, + "templates": [], + "tabs": [ + { + "type": "subPage", + "id": "overview" + } + ], + "subPages": [ + { + "id": "overview", + "title": "Overview", + "blockIds": [] + } + ] +} diff --git a/knapsack/data/knapsack.pattern.icon-button.json b/knapsack/data/knapsack.pattern.icon-button.json new file mode 100644 index 0000000000..5a0c85f0a8 --- /dev/null +++ b/knapsack/data/knapsack.pattern.icon-button.json @@ -0,0 +1,49 @@ +{ + "id": "icon-button", + "title": "Icon button", + "description": "", + "statuses": {}, + "templates": [ + { + "id": "web-components-ctiCe2sAX", + "title": "Web components", + "path": "../../dist/libs/components/icon-button.mjs", + "alias": "cv-icon-button", + "templateLanguageId": "web-components", + "spec": { + "slots": {}, + "props": { + "$schema": "http://json-schema.org/draft-07/schema", + "description": "", + "type": "object", + "required": [], + "properties": { + "icon": { + "type": "string", + "default": "houseboat" + } + } + } + }, + "demoIds": ["BueNSFTYn"], + "blockIds": [] + } + ], + "tabs": [ + { + "type": "subPage", + "id": "overview" + }, + { + "type": "template", + "id": "web-components-ctiCe2sAX" + } + ], + "subPages": [ + { + "id": "overview", + "title": "Overview", + "blockIds": [] + } + ] +} diff --git a/knapsack/data/knapsack.pattern.icon-checkbox.json b/knapsack/data/knapsack.pattern.icon-checkbox.json new file mode 100644 index 0000000000..529c2155dc --- /dev/null +++ b/knapsack/data/knapsack.pattern.icon-checkbox.json @@ -0,0 +1,53 @@ +{ + "id": "icon-checkbox", + "title": "Icon checkbox", + "description": "", + "statuses": {}, + "templates": [ + { + "id": "web-components-jTiv8OpG9M", + "title": "Web components", + "path": "../../dist/libs/components/icon-check-toggle.mjs", + "alias": "cv-checkbox-icon", + "templateLanguageId": "web-components", + "spec": { + "slots": { + "text": { + "title": "text" + }, + "icon": { + "allowedPatternIds": ["icon"], + "title": "icon", + "disallowText": true + } + }, + "props": { + "$schema": "http://json-schema.org/draft-07/schema", + "description": "", + "type": "object", + "required": [], + "properties": {} + } + }, + "demoIds": ["FTt0oVydi1"], + "blockIds": [] + } + ], + "tabs": [ + { + "type": "subPage", + "id": "overview" + }, + { + "type": "template", + "id": "web-components-jTiv8OpG9M" + } + ], + "subPages": [ + { + "id": "overview", + "title": "Overview", + "blockIds": [] + } + ] +} diff --git a/knapsack/data/knapsack.pattern.icon-radio.json b/knapsack/data/knapsack.pattern.icon-radio.json new file mode 100644 index 0000000000..7e51465216 --- /dev/null +++ b/knapsack/data/knapsack.pattern.icon-radio.json @@ -0,0 +1,55 @@ +{ + "id": "icon-radio", + "title": "Icon radio", + "description": "", + "statuses": {}, + "templates": [ + { + "id": "web-components-gmBL6Mhy4", + "title": "Web components", + "path": "../../dist/libs/components/icon-radio-toggle.mjs", + "alias": "cv-radio-icon", + "templateLanguageId": "web-components", + "spec": { + "slots": { + "icon": { + "allowedPatternIds": ["icon"], + "title": "icon", + "disallowText": true + }, + "text": { + "title": "text", + "allowOnlyOne": false, + "isRequired": true + } + }, + "props": { + "$schema": "http://json-schema.org/draft-07/schema", + "description": "", + "type": "object", + "required": [], + "properties": {} + } + }, + "demoIds": ["3VTw68n4F5"], + "blockIds": [] + } + ], + "tabs": [ + { + "type": "subPage", + "id": "overview" + }, + { + "type": "template", + "id": "web-components-gmBL6Mhy4" + } + ], + "subPages": [ + { + "id": "overview", + "title": "Overview", + "blockIds": [] + } + ] +} diff --git a/knapsack/data/knapsack.pattern.icon.json b/knapsack/data/knapsack.pattern.icon.json new file mode 100644 index 0000000000..8b188a85b1 --- /dev/null +++ b/knapsack/data/knapsack.pattern.icon.json @@ -0,0 +1,52 @@ +{ + "id": "icon", + "title": "Icon", + "description": "", + "statuses": {}, + "templates": [ + { + "id": "web-components-N8bzRbfpuX", + "title": "Web components", + "path": "../../dist/libs/components/icon.mjs", + "alias": "cv-icon", + "templateLanguageId": "web-components", + "spec": { + "slots": { + "default": { + "title": "default", + "disallowText": false, + "allowOnlyOne": true, + "isTemplateReference": false, + "isRequired": true + } + }, + "props": { + "$schema": "http://json-schema.org/draft-07/schema", + "description": "", + "type": "object", + "required": [], + "properties": {} + } + }, + "demoIds": ["bn4zy44TYR"], + "blockIds": [] + } + ], + "tabs": [ + { + "type": "subPage", + "id": "overview" + }, + { + "type": "template", + "id": "web-components-N8bzRbfpuX" + } + ], + "subPages": [ + { + "id": "overview", + "title": "Overview", + "blockIds": [] + } + ] +} diff --git a/knapsack/data/knapsack.pattern.linear-progress.json b/knapsack/data/knapsack.pattern.linear-progress.json new file mode 100644 index 0000000000..7616dc77db --- /dev/null +++ b/knapsack/data/knapsack.pattern.linear-progress.json @@ -0,0 +1,59 @@ +{ + "id": "linear-progress", + "title": "Linear progress", + "description": "", + "statuses": {}, + "templates": [ + { + "id": "web-components-2ew8-hMQkv", + "title": "Web components", + "path": "../../dist/libs/components/linear-progress.mjs", + "alias": "cv-linear-progress", + "templateLanguageId": "web-components", + "spec": { + "slots": {}, + "props": { + "$schema": "http://json-schema.org/draft-07/schema", + "description": "", + "type": "object", + "required": [], + "properties": { + "indeterminate": { + "type": "boolean", + "default": true + }, + "buffer": { + "type": "number" + }, + "progress": { + "type": "string" + }, + "reverse": { + "type": "boolean", + "default": true + } + } + } + }, + "demoIds": ["lXYaxeRM4L"], + "blockIds": [] + } + ], + "tabs": [ + { + "type": "subPage", + "id": "overview" + }, + { + "type": "template", + "id": "web-components-2ew8-hMQkv" + } + ], + "subPages": [ + { + "id": "overview", + "title": "Overview", + "blockIds": [] + } + ] +} diff --git a/knapsack/data/knapsack.pattern.list-item.json b/knapsack/data/knapsack.pattern.list-item.json new file mode 100644 index 0000000000..6fef413b54 --- /dev/null +++ b/knapsack/data/knapsack.pattern.list-item.json @@ -0,0 +1,70 @@ +{ + "id": "list-item", + "title": "List item", + "description": "", + "statuses": {}, + "templates": [ + { + "id": "web-components-ytRTf8wtxn", + "title": "Web components", + "path": "../../dist/libs/components/list-item.mjs", + "alias": "cv-list-item", + "templateLanguageId": "web-components", + "spec": { + "slots": { + "default": { + "title": "default" + }, + "secondary": { + "title": "secondary" + }, + "graphic": { + "allowedPatternIds": ["circular-progress", "icon"], + "title": "graphic" + }, + "meta": { + "allowedPatternIds": ["icon"], + "title": "meta" + } + }, + "props": { + "$schema": "http://json-schema.org/draft-07/schema", + "description": "", + "type": "object", + "required": [], + "properties": { + "graphic": { + "type": "string" + }, + "twoLine": { + "type": "boolean" + }, + "value": { + "type": "string", + "default": "list item value" + } + } + } + }, + "demoIds": ["qgGc8WUNHQ"], + "blockIds": [] + } + ], + "tabs": [ + { + "type": "subPage", + "id": "overview" + }, + { + "type": "template", + "id": "web-components-ytRTf8wtxn" + } + ], + "subPages": [ + { + "id": "overview", + "title": "Overview", + "blockIds": [] + } + ] +} diff --git a/knapsack/data/knapsack.pattern.list.json b/knapsack/data/knapsack.pattern.list.json new file mode 100644 index 0000000000..51d0913ec8 --- /dev/null +++ b/knapsack/data/knapsack.pattern.list.json @@ -0,0 +1,50 @@ +{ + "id": "list", + "title": "List", + "description": "", + "statuses": {}, + "templates": [ + { + "id": "web-components-fObxCsu2i8", + "title": "Web components", + "path": "../../dist/libs/components/list-item.mjs", + "alias": "cv-list-item", + "templateLanguageId": "web-components", + "spec": { + "slots": { + "default": { + "allowedPatternIds": ["list-item"], + "title": "default", + "disallowText": true + } + }, + "props": { + "$schema": "http://json-schema.org/draft-07/schema", + "description": "", + "type": "object", + "required": [], + "properties": {} + } + }, + "demoIds": ["R-bXJMtJi"], + "blockIds": [] + } + ], + "tabs": [ + { + "type": "subPage", + "id": "overview" + }, + { + "type": "template", + "id": "web-components-fObxCsu2i8" + } + ], + "subPages": [ + { + "id": "overview", + "title": "Overview", + "blockIds": [] + } + ] +} diff --git a/knapsack/data/knapsack.pattern.menu.json b/knapsack/data/knapsack.pattern.menu.json new file mode 100644 index 0000000000..2eb54490b1 --- /dev/null +++ b/knapsack/data/knapsack.pattern.menu.json @@ -0,0 +1,49 @@ +{ + "id": "menu", + "title": "Menu", + "description": "", + "statuses": {}, + "templates": [ + { + "id": "web-components-hY3y1MyhrP", + "title": "Web components", + "path": "../../dist/libs/components/menu.mjs", + "alias": "cv-menu", + "templateLanguageId": "web-components", + "spec": { + "slots": {}, + "props": { + "$schema": "http://json-schema.org/draft-07/schema", + "description": "", + "type": "object", + "required": [], + "properties": { + "open": { + "type": "boolean", + "default": true + } + } + } + }, + "demoIds": ["boILoye9Gi"], + "blockIds": [] + } + ], + "tabs": [ + { + "type": "subPage", + "id": "overview" + }, + { + "type": "template", + "id": "web-components-hY3y1MyhrP" + } + ], + "subPages": [ + { + "id": "overview", + "title": "Overview", + "blockIds": [] + } + ] +} diff --git a/knapsack/data/knapsack.pattern.radio.json b/knapsack/data/knapsack.pattern.radio.json new file mode 100644 index 0000000000..4e4f15cfba --- /dev/null +++ b/knapsack/data/knapsack.pattern.radio.json @@ -0,0 +1,48 @@ +{ + "id": "radio", + "title": "Radio", + "description": "", + "statuses": {}, + "templates": [ + { + "id": "web-components-qk2MWcBipT", + "title": "Web components", + "path": "../../dist/libs/components/radio.mjs", + "alias": "cv-radio", + "templateLanguageId": "web-components", + "spec": { + "slots": {}, + "props": { + "$schema": "http://json-schema.org/draft-07/schema", + "description": "", + "type": "object", + "required": [], + "properties": { + "disabled": { + "type": "boolean" + } + } + } + }, + "demoIds": ["RMPpKHlzd"], + "blockIds": [] + } + ], + "tabs": [ + { + "type": "subPage", + "id": "overview" + }, + { + "type": "template", + "id": "web-components-qk2MWcBipT" + } + ], + "subPages": [ + { + "id": "overview", + "title": "Overview", + "blockIds": [] + } + ] +} diff --git a/knapsack/data/knapsack.pattern.select.json b/knapsack/data/knapsack.pattern.select.json new file mode 100644 index 0000000000..f940d0266e --- /dev/null +++ b/knapsack/data/knapsack.pattern.select.json @@ -0,0 +1,64 @@ +{ + "id": "select", + "title": "Select", + "description": "", + "statuses": {}, + "templates": [ + { + "id": "web-components-qWXTtv81jY", + "title": "Web components", + "path": "../../dist/libs/components/select.mjs", + "alias": "cv-select", + "templateLanguageId": "web-components", + "spec": { + "slots": { + "default": { + "allowedPatternIds": ["list-item"], + "title": "default", + "disallowText": true + } + }, + "props": { + "$schema": "http://json-schema.org/draft-07/schema", + "description": "", + "type": "object", + "required": ["required", "outlined"], + "properties": { + "label": { + "type": "string" + }, + "validationMessage": { + "type": "string" + }, + "required": { + "type": "string" + }, + "outlined": { + "type": "boolean", + "default": true + } + } + } + }, + "demoIds": ["sWH6jqeBc"], + "blockIds": [] + } + ], + "tabs": [ + { + "type": "subPage", + "id": "overview" + }, + { + "type": "template", + "id": "web-components-qWXTtv81jY" + } + ], + "subPages": [ + { + "id": "overview", + "title": "Overview", + "blockIds": [] + } + ] +} diff --git a/knapsack/data/knapsack.pattern.side-sheet.json b/knapsack/data/knapsack.pattern.side-sheet.json new file mode 100644 index 0000000000..a966ee47c3 --- /dev/null +++ b/knapsack/data/knapsack.pattern.side-sheet.json @@ -0,0 +1,57 @@ +{ + "id": "side-sheet", + "title": "Side sheet", + "description": "", + "statuses": {}, + "templates": [ + { + "id": "web-components-UMR43JQszt", + "title": "Web components", + "path": "../../dist/libs/components/side-sheet.mjs", + "alias": "cv-side-sheet", + "templateLanguageId": "web-components", + "spec": { + "slots": { + "default": { + "title": "default" + } + }, + "props": { + "$schema": "http://json-schema.org/draft-07/schema", + "description": "", + "type": "object", + "required": ["open"], + "properties": { + "open": { + "type": "boolean", + "default": true + }, + "heading": { + "type": "string", + "default": "Sample side sheet" + } + } + } + }, + "demoIds": ["F84crA5Gx4"], + "blockIds": [] + } + ], + "tabs": [ + { + "type": "subPage", + "id": "overview" + }, + { + "type": "template", + "id": "web-components-UMR43JQszt" + } + ], + "subPages": [ + { + "id": "overview", + "title": "Overview", + "blockIds": [] + } + ] +} diff --git a/knapsack/data/knapsack.pattern.slider.json b/knapsack/data/knapsack.pattern.slider.json new file mode 100644 index 0000000000..7f54fc18e2 --- /dev/null +++ b/knapsack/data/knapsack.pattern.slider.json @@ -0,0 +1,87 @@ +{ + "id": "slider", + "title": "Slider", + "description": "", + "statuses": {}, + "templates": [ + { + "id": "web-components-LpKATlK5H", + "title": "Web components", + "path": "../../dist/libs/components/slider.mjs", + "alias": "cv-slider", + "templateLanguageId": "web-components", + "spec": { + "slots": {}, + "props": { + "$schema": "http://json-schema.org/draft-07/schema", + "description": "", + "type": "object", + "required": [], + "properties": { + "markers": { + "type": "boolean" + }, + "disabled": { + "type": "boolean" + }, + "discrete": { + "type": "boolean" + } + } + } + }, + "demoIds": ["x9f-h1BpY"], + "blockIds": [] + }, + { + "id": "web-components-33Z9-C4Qs", + "title": "Web components - Range", + "path": "../../dist/libs/components/slider-range.mjs", + "alias": "cv-slider-range", + "templateLanguageId": "web-components", + "spec": { + "slots": {}, + "props": { + "$schema": "http://json-schema.org/draft-07/schema", + "description": "", + "type": "object", + "required": [], + "properties": { + "disable": { + "type": "boolean" + }, + "discrete": { + "type": "boolean" + }, + "markers": { + "type": "boolean" + } + } + } + }, + "demoIds": ["HY3BFMh0AM"], + "blockIds": [] + } + ], + "tabs": [ + { + "type": "subPage", + "id": "overview" + }, + { + "type": "template", + "id": "web-components-LpKATlK5H" + }, + { + "type": "template", + "id": "web-components-33Z9-C4Qs" + } + ], + "subPages": [ + { + "id": "overview", + "title": "Overview", + "blockIds": [] + } + ] +} diff --git a/knapsack/data/knapsack.pattern.snackbar.json b/knapsack/data/knapsack.pattern.snackbar.json new file mode 100644 index 0000000000..d0bddf216d --- /dev/null +++ b/knapsack/data/knapsack.pattern.snackbar.json @@ -0,0 +1,70 @@ +{ + "id": "snackbar", + "title": "Snackbar", + "description": "", + "statuses": {}, + "templates": [ + { + "id": "web-components-3ERE1Ai9lo", + "title": "Web components", + "path": "../../dist/libs/components/snackbar.mjs", + "alias": "cv-snackbar", + "templateLanguageId": "web-components", + "spec": { + "slots": { + "action": { + "allowedPatternIds": ["button", "icon-button"], + "title": "action", + "disallowText": true + }, + "dismiss": { + "allowedPatternIds": ["icon-button"], + "title": "dismiss", + "disallowText": true + } + }, + "props": { + "$schema": "http://json-schema.org/draft-07/schema", + "description": "", + "type": "object", + "required": ["open"], + "properties": { + "open": { + "type": "boolean", + "default": true + }, + "labelText": { + "type": "string", + "default": "Can't send photo. Retry in 5 seconds." + }, + "stacked": { + "type": "boolean" + }, + "leading": { + "type": "boolean" + } + } + } + }, + "demoIds": ["5aKkBtql-E"], + "blockIds": [] + } + ], + "tabs": [ + { + "type": "subPage", + "id": "overview" + }, + { + "type": "template", + "id": "web-components-3ERE1Ai9lo" + } + ], + "subPages": [ + { + "id": "overview", + "title": "Overview", + "blockIds": [] + } + ] +} diff --git a/knapsack/data/knapsack.pattern.status-header-item.json b/knapsack/data/knapsack.pattern.status-header-item.json new file mode 100644 index 0000000000..1d8a48feb2 --- /dev/null +++ b/knapsack/data/knapsack.pattern.status-header-item.json @@ -0,0 +1,53 @@ +{ + "id": "status-header-item", + "title": "Status header item", + "description": "", + "statuses": {}, + "templates": [ + { + "id": "web-components-55FkYSafco", + "title": "Web components", + "path": "../../dist/libs/components/status-header-item.js", + "alias": "cv-status-header-item", + "templateLanguageId": "web-components", + "spec": { + "slots": { + "default": { + "title": "default" + } + }, + "props": { + "$schema": "http://json-schema.org/draft-07/schema", + "description": "", + "type": "object", + "required": [], + "properties": { + "label": { + "type": "string", + "default": "Status header item label" + } + } + } + }, + "demoIds": ["YHuTizup8"], + "blockIds": [] + } + ], + "tabs": [ + { + "type": "subPage", + "id": "overview" + }, + { + "type": "template", + "id": "web-components-55FkYSafco" + } + ], + "subPages": [ + { + "id": "overview", + "title": "Overview", + "blockIds": [] + } + ] +} diff --git a/knapsack/data/knapsack.pattern.status-header.json b/knapsack/data/knapsack.pattern.status-header.json new file mode 100644 index 0000000000..428b84b1a1 --- /dev/null +++ b/knapsack/data/knapsack.pattern.status-header.json @@ -0,0 +1,82 @@ +{ + "id": "status-header", + "title": "Status header", + "description": "", + "statuses": {}, + "templates": [ + { + "id": "web-components-UDLnfGbB2W", + "title": "Web components", + "path": "../../dist/libs/components/status-header.mjs", + "alias": "cv-status-header", + "templateLanguageId": "web-components", + "spec": { + "slots": { + "status-header-actions": { + "allowedPatternIds": ["icon-button"], + "title": "status-header-actions", + "disallowText": true + }, + "status-header-icon": { + "allowedPatternIds": ["icon", "circular-progress"], + "title": "status-header-icon", + "disallowText": true, + "allowOnlyOne": true, + "isTemplateReference": false + }, + "status-header-text": { + "allowedPatternIds": ["status-header-item"], + "title": "status-header-text", + "disallowText": true + }, + "default": { + "title": "default" + } + }, + "props": { + "$schema": "http://json-schema.org/draft-07/schema", + "description": "", + "type": "object", + "required": [], + "properties": { + "titleText": { + "type": "string", + "default": "Active item details" + }, + "statusText": { + "type": "string", + "default": "In progress" + }, + "statusHelper": { + "type": "string", + "default": "the helper text for the status" + }, + "state": { + "type": "string", + "default": "active" + } + } + } + }, + "demoIds": ["1OH1Dga5C0"], + "blockIds": [] + } + ], + "tabs": [ + { + "type": "subPage", + "id": "overview" + }, + { + "type": "template", + "id": "web-components-UDLnfGbB2W" + } + ], + "subPages": [ + { + "id": "overview", + "title": "Overview", + "blockIds": [] + } + ] +} diff --git a/knapsack/data/knapsack.pattern.switch.json b/knapsack/data/knapsack.pattern.switch.json new file mode 100644 index 0000000000..b9bd009796 --- /dev/null +++ b/knapsack/data/knapsack.pattern.switch.json @@ -0,0 +1,35 @@ +{ + "id": "switch", + "title": "Switch", + "description": "", + "statuses": {}, + "templates": [ + { + "id": "web-components-tGj2TvSrpD", + "title": "Web components", + "path": "../../dist/libs/components/switch.mjs", + "alias": "cv-switch", + "templateLanguageId": "web-components", + "spec": {}, + "demoIds": ["U89p0LyOsP"], + "blockIds": [] + } + ], + "tabs": [ + { + "type": "subPage", + "id": "overview" + }, + { + "type": "template", + "id": "web-components-tGj2TvSrpD" + } + ], + "subPages": [ + { + "id": "overview", + "title": "Overview", + "blockIds": [] + } + ] +} diff --git a/knapsack/data/knapsack.pattern.tab.json b/knapsack/data/knapsack.pattern.tab.json new file mode 100644 index 0000000000..d28c8c9f16 --- /dev/null +++ b/knapsack/data/knapsack.pattern.tab.json @@ -0,0 +1,52 @@ +{ + "id": "tab", + "title": "tab", + "description": "", + "statuses": {}, + "templates": [ + { + "id": "web-components-1-Bf2NwL1T", + "title": "Web components", + "path": "../../dist/libs/components/tab.mjs", + "alias": "cv-tab", + "templateLanguageId": "web-components", + "spec": { + "slots": {}, + "props": { + "$schema": "http://json-schema.org/draft-07/schema", + "description": "", + "type": "object", + "required": ["label"], + "properties": { + "label": { + "type": "string", + "default": "Tab label " + }, + "icon": { + "type": "string" + } + } + } + }, + "demoIds": ["3HxZQWfBi9"], + "blockIds": [] + } + ], + "tabs": [ + { + "type": "subPage", + "id": "overview" + }, + { + "type": "template", + "id": "web-components-1-Bf2NwL1T" + } + ], + "subPages": [ + { + "id": "overview", + "title": "Overview", + "blockIds": [] + } + ] +} diff --git a/knapsack/data/knapsack.pattern.tabs.json b/knapsack/data/knapsack.pattern.tabs.json new file mode 100644 index 0000000000..ed275c0fe9 --- /dev/null +++ b/knapsack/data/knapsack.pattern.tabs.json @@ -0,0 +1,50 @@ +{ + "id": "tabs", + "title": "Tabs", + "description": "", + "statuses": {}, + "templates": [ + { + "id": "web-components-kjFGUA31tg", + "title": "Web components", + "path": "../../dist/libs/components/tab-bar.mjs", + "alias": "cv-tab-bar", + "templateLanguageId": "web-components", + "spec": { + "slots": { + "default": { + "allowedPatternIds": ["tab"], + "title": "default", + "disallowText": true + } + }, + "props": { + "$schema": "http://json-schema.org/draft-07/schema", + "description": "", + "type": "object", + "required": [], + "properties": {} + } + }, + "demoIds": ["GOJxN1FZx"], + "blockIds": [] + } + ], + "tabs": [ + { + "type": "subPage", + "id": "overview" + }, + { + "type": "template", + "id": "web-components-kjFGUA31tg" + } + ], + "subPages": [ + { + "id": "overview", + "title": "Overview", + "blockIds": [] + } + ] +} diff --git a/knapsack/data/knapsack.pattern.text-area.json b/knapsack/data/knapsack.pattern.text-area.json new file mode 100644 index 0000000000..d299020d8a --- /dev/null +++ b/knapsack/data/knapsack.pattern.text-area.json @@ -0,0 +1,62 @@ +{ + "id": "text-area", + "title": "Text area", + "description": "", + "statuses": {}, + "templates": [ + { + "id": "web-components-48rzn99y9G", + "title": "Web components", + "path": "../../dist/libs/components/textarea.mjs", + "alias": "cv-textarea", + "templateLanguageId": "web-components", + "spec": { + "slots": {}, + "props": { + "$schema": "http://json-schema.org/draft-07/schema", + "description": "", + "type": "object", + "required": [], + "properties": { + "label": { + "type": "string", + "default": "Text area label" + }, + "placeholder": { + "type": "string" + }, + "helper": { + "type": "string" + }, + "outlined": { + "type": "boolean", + "default": true + }, + "required": { + "type": "boolean" + } + } + } + }, + "demoIds": ["L87CMmCK4T"], + "blockIds": [] + } + ], + "tabs": [ + { + "type": "subPage", + "id": "overview" + }, + { + "type": "template", + "id": "web-components-48rzn99y9G" + } + ], + "subPages": [ + { + "id": "overview", + "title": "Overview", + "blockIds": [] + } + ] +} diff --git a/knapsack/data/knapsack.pattern.text-lockup.json b/knapsack/data/knapsack.pattern.text-lockup.json new file mode 100644 index 0000000000..fabb1d4fca --- /dev/null +++ b/knapsack/data/knapsack.pattern.text-lockup.json @@ -0,0 +1,55 @@ +{ + "id": "text-lockup", + "title": "Text lockup", + "description": "", + "statuses": {}, + "templates": [ + { + "id": "web-components-4Aa-qjh3vF", + "title": "Web components", + "path": "../../dist/libs/components/text-lockup.mjs", + "alias": "cv-text-lockup", + "templateLanguageId": "web-components", + "spec": { + "slots": { + "default": { + "title": "default" + } + }, + "props": { + "$schema": "http://json-schema.org/draft-07/schema", + "description": "", + "type": "object", + "required": [], + "properties": { + "subText": { + "type": "string" + }, + "scale": { + "type": "string" + } + } + } + }, + "demoIds": ["WWgMBRroJw"], + "blockIds": [] + } + ], + "tabs": [ + { + "type": "subPage", + "id": "overview" + }, + { + "type": "template", + "id": "web-components-4Aa-qjh3vF" + } + ], + "subPages": [ + { + "id": "overview", + "title": "Overview", + "blockIds": [] + } + ] +} diff --git a/knapsack/data/knapsack.pattern.text.json b/knapsack/data/knapsack.pattern.text.json new file mode 100644 index 0000000000..011d85fc4e --- /dev/null +++ b/knapsack/data/knapsack.pattern.text.json @@ -0,0 +1,66 @@ +{ + "id": "text", + "title": "Typography", + "description": "", + "statuses": { + "main": "needsDev" + }, + "templates": [ + { + "id": "web-components-FXCMXD35mF", + "title": "Web components", + "path": "../../dist/libs/components/typography.mjs", + "alias": "cv-typography", + "templateLanguageId": "web-components", + "spec": { + "slots": { + "default": { + "allowedPatternIds": [], + "title": "default", + "disallowText": false, + "isRequired": true, + "allowOnlyOne": true + } + }, + "props": { + "$schema": "http://json-schema.org/draft-07/schema", + "description": "", + "type": "object", + "required": ["scale"], + "properties": { + "scale": { + "type": "string" + } + } + } + }, + "demoIds": [ + "RV5V-zEoUJ", + "uKKiquKOJq", + "XqxbTjPFZB", + "CkH7TzkgbA", + "iH3DCGMPTw", + "oY0W5ALQ1q", + "pvszcppjX8" + ], + "blockIds": [] + } + ], + "tabs": [ + { + "type": "subPage", + "id": "overview" + }, + { + "type": "template", + "id": "web-components-FXCMXD35mF" + } + ], + "subPages": [ + { + "id": "overview", + "title": "Overview", + "blockIds": [] + } + ] +} diff --git a/knapsack/data/knapsack.pattern.textfield.json b/knapsack/data/knapsack.pattern.textfield.json new file mode 100644 index 0000000000..60a4f88634 --- /dev/null +++ b/knapsack/data/knapsack.pattern.textfield.json @@ -0,0 +1,35 @@ +{ + "id": "textfield", + "title": "Text field", + "description": "", + "statuses": {}, + "templates": [ + { + "id": "web-components-M4zyalwdNJ", + "title": "Web components", + "path": "../../dist/libs/components/textfield.mjs", + "alias": "cv-textfield", + "templateLanguageId": "web-components", + "spec": {}, + "demoIds": ["zYujvGxjlZ"], + "blockIds": [] + } + ], + "tabs": [ + { + "type": "subPage", + "id": "overview" + }, + { + "type": "template", + "id": "web-components-M4zyalwdNJ" + } + ], + "subPages": [ + { + "id": "overview", + "title": "Overview", + "blockIds": [] + } + ] +} diff --git a/knapsack/data/knapsack.pattern.toolbar.json b/knapsack/data/knapsack.pattern.toolbar.json new file mode 100644 index 0000000000..34e611bcb6 --- /dev/null +++ b/knapsack/data/knapsack.pattern.toolbar.json @@ -0,0 +1,55 @@ +{ + "id": "toolbar", + "title": "Toolbar", + "description": "", + "statuses": {}, + "templates": [ + { + "id": "web-components-A6-16QhSaM", + "title": "Web components", + "path": "../../dist/libs/components/toolbar.mjs", + "alias": "cv-toolbar", + "templateLanguageId": "web-components", + "spec": { + "slots": { + "title": { + "title": "title" + }, + "actionItems": { + "title": "actionItems" + } + }, + "props": { + "$schema": "http://json-schema.org/draft-07/schema", + "description": "", + "type": "object", + "required": [], + "properties": { + "dense": { + "type": "boolean" + } + } + } + }, + "demoIds": ["NXMdeiHjKO"], + "blockIds": [] + } + ], + "tabs": [ + { + "type": "subPage", + "id": "overview" + }, + { + "type": "template", + "id": "web-components-A6-16QhSaM" + } + ], + "subPages": [ + { + "id": "overview", + "title": "Overview", + "blockIds": [] + } + ] +} diff --git a/knapsack/data/knapsack.pattern.tooltip.json b/knapsack/data/knapsack.pattern.tooltip.json new file mode 100644 index 0000000000..7a44c6da5a --- /dev/null +++ b/knapsack/data/knapsack.pattern.tooltip.json @@ -0,0 +1,53 @@ +{ + "id": "tooltip", + "title": "Tooltip", + "description": "", + "statuses": {}, + "templates": [ + { + "id": "web-components-erhVvpq9vk", + "title": "Web components", + "path": "../../dist/libs/components/tooltip.mjs", + "alias": "cv-tooltip", + "templateLanguageId": "web-components", + "spec": { + "slots": { + "default": { + "title": "default" + } + }, + "props": { + "$schema": "http://json-schema.org/draft-07/schema", + "description": "", + "type": "object", + "required": [], + "properties": { + "open": { + "type": "boolean", + "default": true + } + } + } + }, + "demoIds": ["V1YF-oKSJk"], + "blockIds": [] + } + ], + "tabs": [ + { + "type": "subPage", + "id": "overview" + }, + { + "type": "template", + "id": "web-components-erhVvpq9vk" + } + ], + "subPages": [ + { + "id": "overview", + "title": "Overview", + "blockIds": [] + } + ] +} diff --git a/knapsack/data/knapsack.pattern.top-app-bar-fixed.json b/knapsack/data/knapsack.pattern.top-app-bar-fixed.json new file mode 100644 index 0000000000..3c74dd07ca --- /dev/null +++ b/knapsack/data/knapsack.pattern.top-app-bar-fixed.json @@ -0,0 +1,77 @@ +{ + "id": "top-app-bar-fixed", + "title": "Top app bar fixed", + "description": "", + "statuses": {}, + "templates": [ + { + "id": "web-components-d0oZXgy7Uj", + "title": "Web components", + "path": "../../dist/libs/components/top-app-bar-fixed.mjs", + "alias": "cv-top-app-bar-fixed", + "templateLanguageId": "web-components", + "spec": { + "slots": { + "navigationIcon": { + "allowedPatternIds": ["icon", "icon-button"], + "title": "navigationIcon" + }, + "title": { + "title": "title" + }, + "actionItems": { + "allowedPatternIds": [ + "button", + "checkbox", + "text", + "icon-button", + "radio", + "icon", + "switch" + ], + "title": "actionItems" + }, + "default": { + "title": "default" + } + }, + "props": { + "$schema": "http://json-schema.org/draft-07/schema", + "description": "", + "type": "object", + "required": [], + "properties": { + "centerTitle": { + "type": "boolean" + }, + "prominent": { + "type": "boolean" + }, + "dense": { + "type": "boolean" + } + } + } + }, + "demoIds": ["RQLhdtbJlh"], + "blockIds": [] + } + ], + "tabs": [ + { + "type": "subPage", + "id": "overview" + }, + { + "type": "template", + "id": "web-components-d0oZXgy7Uj" + } + ], + "subPages": [ + { + "id": "overview", + "title": "Overview", + "blockIds": [] + } + ] +} diff --git a/knapsack/data/knapsack.pattern.top-app-bar.json b/knapsack/data/knapsack.pattern.top-app-bar.json new file mode 100644 index 0000000000..148485a37e --- /dev/null +++ b/knapsack/data/knapsack.pattern.top-app-bar.json @@ -0,0 +1,77 @@ +{ + "id": "top-app-bar", + "title": "Top app bar", + "description": "", + "statuses": {}, + "templates": [ + { + "id": "web-components-bdJKZJwv0h", + "title": "Web components", + "path": "../../dist/libs/components/top-app-bar.mjs", + "alias": "cv-top-app-bar", + "templateLanguageId": "web-components", + "spec": { + "slots": { + "navigationIcon": { + "allowedPatternIds": ["icon", "icon-button"], + "title": "navigationIcon" + }, + "title": { + "title": "title" + }, + "actionItems": { + "allowedPatternIds": [ + "button", + "checkbox", + "text", + "icon-button", + "radio", + "icon", + "switch" + ], + "title": "actionItems" + }, + "default": { + "title": "default" + } + }, + "props": { + "$schema": "http://json-schema.org/draft-07/schema", + "description": "", + "type": "object", + "required": [], + "properties": { + "centerTitle": { + "type": "boolean" + }, + "prominent": { + "type": "boolean" + }, + "dense": { + "type": "boolean" + } + } + } + }, + "demoIds": ["R8F5cdPVrq"], + "blockIds": [] + } + ], + "tabs": [ + { + "type": "subPage", + "id": "overview" + }, + { + "type": "template", + "id": "web-components-bdJKZJwv0h" + } + ], + "subPages": [ + { + "id": "overview", + "title": "Overview", + "blockIds": [] + } + ] +} diff --git a/knapsack/data/knapsack.pattern.tree-list-item.json b/knapsack/data/knapsack.pattern.tree-list-item.json new file mode 100644 index 0000000000..6af8ba9799 --- /dev/null +++ b/knapsack/data/knapsack.pattern.tree-list-item.json @@ -0,0 +1,60 @@ +{ + "id": "tree-list-item", + "title": "Tree list item", + "description": "", + "statuses": {}, + "templates": [ + { + "id": "web-components-1jOFYZB9ms", + "title": "Web components", + "path": "../../dist/libs/components/tree-list.mjs", + "alias": "cv-tree-list-item", + "templateLanguageId": "web-components", + "spec": { + "slots": { + "label": { + "title": "label" + }, + "extraContent": { + "title": "extraContent" + }, + "nest": { + "allowedPatternIds": ["tree-list-item"], + "title": "nest", + "disallowText": true + } + }, + "props": { + "$schema": "http://json-schema.org/draft-07/schema", + "description": "", + "type": "object", + "required": [], + "properties": { + "icon": { + "type": "string" + } + } + } + }, + "demoIds": ["7gFch0E4yr"], + "blockIds": [] + } + ], + "tabs": [ + { + "type": "subPage", + "id": "overview" + }, + { + "type": "template", + "id": "web-components-1jOFYZB9ms" + } + ], + "subPages": [ + { + "id": "overview", + "title": "Overview", + "blockIds": [] + } + ] +} diff --git a/knapsack/data/knapsack.pattern.tree-list.json b/knapsack/data/knapsack.pattern.tree-list.json new file mode 100644 index 0000000000..7d8cb7fe4a --- /dev/null +++ b/knapsack/data/knapsack.pattern.tree-list.json @@ -0,0 +1,51 @@ +{ + "id": "tree-list", + "title": "Tree list", + "description": "", + "statuses": {}, + "templates": [ + { + "id": "web-components-Ue0Hy3Asb", + "title": "Web components", + "path": "../../dist/libs/components/tree-list.mjs", + "alias": "cv-tree-list", + "templateLanguageId": "web-components", + "spec": { + "slots": { + "default": { + "allowedPatternIds": ["tree-list-item"], + "title": "default", + "disallowText": true, + "isRequired": true + } + }, + "props": { + "$schema": "http://json-schema.org/draft-07/schema", + "description": "", + "type": "object", + "required": [], + "properties": {} + } + }, + "demoIds": ["RjMe6Q4mA"], + "blockIds": [] + } + ], + "tabs": [ + { + "type": "subPage", + "id": "overview" + }, + { + "type": "template", + "id": "web-components-Ue0Hy3Asb" + } + ], + "subPages": [ + { + "id": "overview", + "title": "Overview", + "blockIds": [] + } + ] +} diff --git a/knapsack/data/knapsack.patterns.json b/knapsack/data/knapsack.patterns.json new file mode 100644 index 0000000000..13a8f434b2 --- /dev/null +++ b/knapsack/data/knapsack.patterns.json @@ -0,0 +1,35 @@ +{ + "statusSets": [ + { + "id": "main", + "title": "Status", + "statuses": [ + { + "id": "draft", + "title": "Draft", + "color": "#9b9b9b" + }, + { + "id": "needsDesign", + "title": "Needs Design", + "color": "#FC0" + }, + { + "id": "needsDev", + "title": "Needs Development", + "color": "#FC0" + }, + { + "id": "needsReview", + "title": "Needs Review", + "color": "#FC0" + }, + { + "id": "ready", + "title": "Ready", + "color": "#2ECC40" + } + ] + } + ] +}