Skip to content

Commit

Permalink
build(knapsack): update knapsack and enable prototyping
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions committed Oct 1, 2024
1 parent fb895e7 commit 89fdb7a
Show file tree
Hide file tree
Showing 7 changed files with 361 additions and 232 deletions.
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

0 comments on commit 89fdb7a

Please sign in to comment.