mirror of
https://github.com/lucide-icons/lucide.git
synced 2026-11-17 14:28:25 +00:00
feat(metadata|docs): reusable tag groups with $group: (#5037)
* feat(metadata): reusable tag groups with `$group:` A `$group:<group-name>` marker in `tags` is replaced in place with the tags of `groups/<group-name>.json`: a small set of tags for what a variant suffix means, such as `-minus` → remove, delete. - Read groups in `readGroups` and resolve markers next to `$extends:`, failing on unknown groups and on `$group:` outside `tags` - Add `group.schema.json` and lint, spell-check and format `groups/*.json` - `pnpm checkIcons` also fails on literals a group already provides, and warns about icons that list a group's tags by hand and unused groups - Add the `minus`, `plus` and `x` groups and use them in `alarm-clock-minus`, `file-minus`, `file-plus` and `file-x` Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * Fix group checker * Apply batched suggestions from code review Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> * feat(metadata): reusable tag groups with `$group:` A `$group:<group-name>` marker in `tags` is replaced in place with the tags of `groups/<group-name>.json`: a small set of tags for what a variant suffix means, such as `-minus` → remove, delete. - Read groups in `readGroups` and resolve markers next to `$extends:`, failing on unknown groups and on `$group:` outside `tags` - Add `group.schema.json` and lint, spell-check and format `groups/*.json` - `pnpm checkIcons` also fails on literals a group already provides, and warns about icons that list a group's tags by hand and unused groups - Add the `minus`, `plus` and `x` groups and use them in `alarm-clock-minus`, `file-minus`, `file-plus` and `file-x` Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * Fix group checker * Apply batched suggestions from code review Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> * feat(metadata): reusable tag groups with `$group:` A `$group:<group-name>` marker in `tags` is replaced in place with the tags of `groups/<group-name>.json`: a small set of tags for what a variant suffix means, such as `-minus` → remove, delete. - Read groups in `readGroups` and resolve markers next to `$extends:`, failing on unknown groups and on `$group:` outside `tags` - Add `group.schema.json` and lint, spell-check and format `groups/*.json` - `pnpm checkIcons` also fails on literals a group already provides, and warns about icons that list a group's tags by hand and unused groups - Add the `minus`, `plus` and `x` groups and use them in `alarm-clock-minus`, `file-minus`, `file-plus` and `file-x` Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * Fix group checker * Apply batched suggestions from code review Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> * feat(metadata): reusable tag groups with `$group:` A `$group:<group-name>` marker in `tags` is replaced in place with the tags of `groups/<group-name>.json`: a small set of tags for what a variant suffix means, such as `-minus` → remove, delete. - Read groups in `readGroups` and resolve markers next to `$extends:`, failing on unknown groups and on `$group:` outside `tags` - Add `group.schema.json` and lint, spell-check and format `groups/*.json` - `pnpm checkIcons` also fails on literals a group already provides, and warns about icons that list a group's tags by hand and unused groups - Add the `minus`, `plus` and `x` groups and use them in `alarm-clock-minus`, `file-minus`, `file-plus` and `file-x` Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * Fix group checker * Apply batched suggestions from code review Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> --------- Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com> Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
This commit is contained in:
co-authored by
Claude Opus 5.5
github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
parent
7bf67d3b1c
commit
831740411f
@@ -6,13 +6,19 @@
|
||||
"jguddas",
|
||||
"karsa-mistmere"
|
||||
],
|
||||
"use-cases": [],
|
||||
"use-cases": [
|
||||
"Removing a scheduled wake-up alert from a clock app",
|
||||
"Deleting an existing alarm from a reminder or scheduling interface"
|
||||
],
|
||||
"tags": [
|
||||
"$extends:alarm-clock",
|
||||
"remove"
|
||||
"$group:minus",
|
||||
"reminder",
|
||||
"unschedule"
|
||||
],
|
||||
"categories": [
|
||||
"$extends:alarm-clock"
|
||||
"$extends:alarm-clock",
|
||||
"notifications"
|
||||
],
|
||||
"aliases": [
|
||||
{
|
||||
|
||||
@@ -5,14 +5,18 @@
|
||||
"ericfennis",
|
||||
"danielbayley"
|
||||
],
|
||||
"use-cases": [],
|
||||
"use-cases": [
|
||||
"Removing a document from a file manager",
|
||||
"Removing an attachment from a form"
|
||||
],
|
||||
"tags": [
|
||||
"delete",
|
||||
"remove",
|
||||
"$extends:file",
|
||||
"$group:minus",
|
||||
"erase",
|
||||
"document"
|
||||
"discard",
|
||||
"exclude"
|
||||
],
|
||||
"categories": [
|
||||
"files"
|
||||
"$extends:file"
|
||||
]
|
||||
}
|
||||
|
||||
@@ -5,14 +5,16 @@
|
||||
"ericfennis",
|
||||
"danielbayley"
|
||||
],
|
||||
"use-cases": [],
|
||||
"use-cases": [
|
||||
"Creating a new document in a text editor",
|
||||
"Adding a file to a project or workspace",
|
||||
"Starting file creation in a file manager"
|
||||
],
|
||||
"tags": [
|
||||
"add",
|
||||
"create",
|
||||
"new",
|
||||
"document"
|
||||
"$extends:file",
|
||||
"$group:plus"
|
||||
],
|
||||
"categories": [
|
||||
"files"
|
||||
"$extends:file"
|
||||
]
|
||||
}
|
||||
|
||||
+9
-6
@@ -4,14 +4,17 @@
|
||||
"ericfennis",
|
||||
"danielbayley"
|
||||
],
|
||||
"use-cases": [],
|
||||
"use-cases": [
|
||||
"Removing a document from a file manager",
|
||||
"Canceling a file operation or selection",
|
||||
"Marking a document as deleted or unavailable"
|
||||
],
|
||||
"tags": [
|
||||
"lost",
|
||||
"delete",
|
||||
"remove",
|
||||
"document"
|
||||
"$extends:file",
|
||||
"$group:x",
|
||||
"lost"
|
||||
],
|
||||
"categories": [
|
||||
"files"
|
||||
"$extends:file"
|
||||
]
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user