From 92553cb1f1052311e948afa4867ec6c71ff46482 Mon Sep 17 00:00:00 2001 From: Oliver Date: Thu, 19 Mar 2026 23:32:20 -0600 Subject: [PATCH] Realize I haven't updated the html-data for my custom elements and correct the descriptions --- .vscode/components.html-data.json | 34 +++++++++++++++++++++---------- 1 file changed, 23 insertions(+), 11 deletions(-) diff --git a/.vscode/components.html-data.json b/.vscode/components.html-data.json index e1c3ebd..9177004 100644 --- a/.vscode/components.html-data.json +++ b/.vscode/components.html-data.json @@ -2,24 +2,36 @@ "version": 1.1, "tags": [ { - "name": "dd-incrementer", - "description": "A number input that allows more flexible increase/decrease buttons", + "name": "taf-icon", + "description": "Loads an icon asynchronously, caching the result for future uses", "attributes": [ - { "name": "value", "description": "The initial value to put in the input" }, - { "name": "name", "description": "The form name to use when this input is used to submit data" }, - { "name": "min", "description": "The minimum value that this input can contain" }, - { "name": "max", "description": "The maximum value that this input can contain" }, - { "name": "smallStep", "description": "The value that the input is changed by when clicking a delta button or using the up/down arrow key" }, - { "name": "largeStep", "description": "The value that the input is changed by when clicking a delta button with control held or using the page up/ page down arrow key" } + { "name": "name", "description": "The name of the icon, this is relative to the assets folder of the system" }, + { "name": "path", "description": "The full path of the icon, this will only be used if `name` isn't provided or fails to fetch." } ] }, { - "name": "dd-icon", - "description": "Loads an icon asynchronously, caching the result for future uses", + "name": "taf-svg", + "description": "Loads an SVG file asynchronously, caching the result for future uses", "attributes": [ - { "name": "name", "description": "The name of the icon, this is relative to the assets folder of the dotdungeon system" }, + { "name": "name", "description": "The name of the icon, this is relative to the assets folder of the system" }, { "name": "path", "description": "The full path of the icon, this will only be used if `name` isn't provided or fails to fetch." } ] + }, + { + "name": "taf-toggle", + "description": "A conveniency component for a toggle switch", + "attributes": [ + { + "name": "type", + "description": "The type of toggle that this should be", + "values": [ + { + "name": "round", + "description": "The slider is a full circle" + } + ] + } + ] } ], "globalAttributes": [],