Skip to content

Commit

Permalink
adding card
Browse files Browse the repository at this point in the history
  • Loading branch information
EvanLovely committed Oct 17, 2023
1 parent de7009b commit d8f6a0e
Show file tree
Hide file tree
Showing 3 changed files with 70 additions and 0 deletions.
27 changes: 27 additions & 0 deletions knapsack/data/db.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,33 @@ demos:
title: Main
type: data
width: 324
_2PSFV0BFV:
data:
props: {}
slots: {}
id: _2PSFV0BFV
patternId: panel
templateId: react-Veo93IBHtY
title: Main
type: data
tdaOkPjdv_:
data:
props: {}
slots:
children:
- text: Some words
type: text
- demoId: KyCPvfifwG
patternId: button
templateId: react-4z44n8JqaB
type: template-demo
height: 251
id: tdaOkPjdv_
patternId: card
templateId: react-M4VuHaS0vq
title: Main
type: data
width: 881
settings: {}
settings:
logoUrl: ''
Expand Down
6 changes: 6 additions & 0 deletions knapsack/data/knapsack.navs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,11 @@ byId:
name: Button
parentId: components
path: /pattern/button
card:
id: card
name: Card
parentId: components
path: /pattern/card
components:
id: components
name: Components
Expand All @@ -12,3 +17,4 @@ byId:
order:
- components
- button
- card
37 changes: 37 additions & 0 deletions knapsack/data/knapsack.pattern.card.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
{
"id": "card",
"title": "Card",
"description": "",
"statuses": {},
"templates": [
{
"id": "react-M4VuHaS0vq",
"title": "React",
"path": "@salt-ds/core",
"alias": "Card",
"templateLanguageId": "react",
"spec": {
"isInferred": true
},
"demoIds": ["tdaOkPjdv_"],
"blockIds": []
}
],
"tabs": [
{
"type": "template",
"id": "react-M4VuHaS0vq"
},
{
"type": "subPage",
"id": "overview"
}
],
"subPages": [
{
"id": "overview",
"title": "Overview",
"blockIds": []
}
]
}

0 comments on commit d8f6a0e

Please sign in to comment.