Skip to content

Commit

Permalink
feat(components): moving subnav property to nav-item component (#2153)
Browse files Browse the repository at this point in the history
  • Loading branch information
owilliams320 committed May 23, 2024
1 parent 37cb5df commit bc09f20
Show file tree
Hide file tree
Showing 13 changed files with 141 additions and 136 deletions.
4 changes: 3 additions & 1 deletion apps/knapsack/data/demos/demo.v3IaS3HWdf.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,9 @@
"templateId": "web-components-Qtmmi7N-aL",
"data": {
"props": {
"hasChildren": false
"hasChildren": false,
"tabindex": -1,
"subnav": true
},
"slots": {
"default": [
Expand Down
4 changes: 0 additions & 4 deletions apps/knapsack/data/knapsack.pattern.list.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,10 +37,6 @@
"default": true,
"description": "Sets activated attribute on selected items which provides a focus-persistent highlight."
},
"subNav": {
"type": "boolean",
"default": true
},
"rootTabbable": {
"description": "When true, sets tabindex=\"0\" on the internal list. Otherwise sets tabindex=\"-1\".",
"type": "boolean"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,9 @@
"selected": {
"description": "Denotes that the list item is selected.",
"type": "boolean"
},
"subnav": {
"type": "boolean"
}
}
}
Expand Down

0 comments on commit bc09f20

Please sign in to comment.