Skip to content

Commit

Permalink
5.1.0 (#47)
Browse files Browse the repository at this point in the history
  • Loading branch information
aaronbushnell authored Apr 9, 2024
1 parent 326bd3c commit e720303
Show file tree
Hide file tree
Showing 5 changed files with 39 additions and 9 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
# Release Notes for Palette

## 5.1.0 - 2024-04-09

### Added
- Show links to section-specific entries (Thanks, @kylecotter)

## 5.0.0 - 2024-03-27

### Added
Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "trendyminds/craft-palette",
"description": "A command palette to easily jump to specific areas within Craft",
"type": "craft-plugin",
"version": "5.0.0",
"version": "5.1.0",
"keywords": ["palette", "craft", "craft cms", "cmdk", "spotlight", "craft plugin"],
"license": "MIT",
"authors": [
Expand Down
5 changes: 5 additions & 0 deletions scripts/Icon.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ import {
CodeBracketSquareIcon,
Cog8ToothIcon,
DocumentIcon,
DocumentDuplicateIcon,
GlobeAltIcon,
MagnifyingGlassIcon,
PaperClipIcon,
Expand Down Expand Up @@ -69,6 +70,10 @@ export default function Icon({ name, ...props }) {
return <AdjustmentsVerticalIcon {...props} />
}

if (name === 'docs') {
return <DocumentDuplicateIcon {...props} />
}

if (name === 'user') {
return <UserCircleIcon {...props} />
}
Expand Down
Loading

0 comments on commit e720303

Please sign in to comment.