@linkdesk/plugin-docs 0.1.55 → 0.1.56
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -380,6 +380,9 @@
|
|
|
380
380
|
"minimum": { "type": "number", "description": "Numeric lower bound — applies when type is number (range of the slider/numeric control)" },
|
|
381
381
|
"maximum": { "type": "number", "description": "Numeric upper bound — applies when type is number (range of the slider/numeric control)" },
|
|
382
382
|
"step": { "type": "number", "description": "Slider step — meaningful only with uiHint \"slider\". Defaults are derived by SettingsView from the range (0.01 for floating-point ranges)." },
|
|
383
|
+
"unit": { "type": "string", "description": "Value label unit for uiHint \"slider\" — shown with the current value (e.g. \"px\", \"ms\", \"×\" for multipliers). Declaring unit turns the value label on; omitting it keeps a bare slider. An empty string means a label showing the bare value with no unit." },
|
|
384
|
+
"unitPosition": { "type": "string", "description": "Value label position for uiHint \"slider\" — \"before\" | \"after\" (default) place the label outside the stepper buttons on the same row; \"above\" | \"below\" center it over/under the track (intended for custom plugin layouts — keep the default for configuration rows, which have a fixed row height)." },
|
|
385
|
+
"stepper": { "type": "boolean", "description": "Fine-tune stepper for uiHint \"slider\" — renders persistent −/+ buttons on both sides of the track (one step per click, clamped to min/max, disabled at the bounds and when the slider is disabled). Omit for a bare slider." },
|
|
383
386
|
"group": { "type": "string", "description": "Second-level heading within a group — keys sharing a group are rendered under a subheading on the settings page; without a group they stay flat (zero intrusion for third parties)" }
|
|
384
387
|
},
|
|
385
388
|
"additionalProperties": false
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@linkdesk/plugin-docs",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.56",
|
|
4
4
|
"description": "LinkDesk 插件作者文档(离线包)——作者面文档树的发布产物(英文 `docs/03-plugin-authoring` 在包根、中文 `docs/03-插件制造` 在 `zh/`):从零学会做一个插件(导览 / 三档动线 / 区域地图 / 组件速查 / 主题 / API 入口)。",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"files": [
|