Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

build(knapsack): update knapsack and enable prototyping #2253

Merged
merged 1 commit into from
Oct 1, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions apps/knapsack/data/db.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,8 @@ settings:
favicon: https://knapsack.imgix.net/site/covalent/favicon-4v5hnagck0ico
hideTitleInNavigation: false
logoUrl: https://knapsack.imgix.net/site/covalent/teradata-zalegzixrisvg
prototyping:
patternId: prototypes
theme:
appearance:
customFonts:
Expand Down
30 changes: 30 additions & 0 deletions apps/knapsack/data/knapsack.pattern.prototypes.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
{
"id": "prototypes",
"title": "Prototyping",
"hideFromComponentBlocks": true,
"hideFromOverviewBlocks": true,
"templates": [
{
"id": "web-components",
"templateLanguageId": "web-components",
"title": "Web Components",
"path": "",
"alias": "div",
"spec": {
"isInferred": false,
"props": {
"type": "object",
"properties": {}
},
"slots": {
"default": {
"title": "Content"
}
}
},
"demoIds": [],
"blockIds": []
}
],
"tabs": []
}
13 changes: 12 additions & 1 deletion apps/knapsack/dist/meta/knapsack.html-data.json
Original file line number Diff line number Diff line change
Expand Up @@ -830,7 +830,7 @@
],
"attributes": [
{
"name": "toggledOn",
"name": "on",
"description": "boolean Whether the toggle is activated."
},
{
Expand Down Expand Up @@ -2469,6 +2469,17 @@
"description": "How much left padding (px) to add for nested elements."
}
]
},
{
"name": "div",
"description": "",
"references": [
{
"name": "Knapsack Docs",
"url": "http://localhost:3999/pattern/prototypes/web-components"
}
],
"attributes": []
}
]
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
/**
* patternId: "prototypes" templateId: "web-components"
* This file was automatically generated by Knapsack.
* DO NOT MODIFY IT BY HAND.
* Instead, adjust it's spec, by either:
* 1) go to "/patterns/prototypes/web-components" and use the UI to edit the spec
* 2) OR edit the "knapsack.pattern.prototypes.json" file's "spec.props".
* Run Knapsack again to regenerate this file.
*/

export interface Prototypes {}
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"type": "object",
"properties": {}
}
Loading
Loading