@homebridge/plugin-ui-utils 2.2.5 → 2.2.6

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.
package/README.md CHANGED
@@ -414,11 +414,11 @@ homebridge.hideSchemaForm()
414
414
 
415
415
  > `homebridge.createForm(schema: PluginFormSchema, data: any, submitButton?: string, cancelButton?: string): IHomebridgeUiFormHelper;`
416
416
 
417
- Create a new standalone form. You may pass in an arbitrary schema using the same options as the [config.schema.json](https://developers.homebridge.io/#/config-schema).
417
+ Create a new standalone form. You may pass in an arbitrary schema using the same options as the [config.schema.json](https://developers.homebridge.io/#/config-screen/schema).
418
418
 
419
419
  Only one standalone form can be displayed at a time. The main config-schema based form cannot be shown while a standalone form is being displayed.
420
420
 
421
- - `schema`: The [form schema object](https://developers.homebridge.io/#/config-schema), may also contain layout metadata
421
+ - `schema`: The [form schema object](https://developers.homebridge.io/#/config-screen/schema), may also contain layout metadata
422
422
  - `data`: The initial form data
423
423
  - `submitButton`: String. Optional label for a submit button, if not provided, no submit button will be displayed
424
424
  - `cancelButton`: String. Optional label for a cancel button, if not provided, no cancel button will be displayed
@@ -163,7 +163,7 @@ export declare class IHomebridgePluginUi extends EventTarget {
163
163
  * Create a standalone form using a generic schema.
164
164
  * This is not linked to the main config schema model, and you must listen for changes yourself.
165
165
  *
166
- * @param schema the schema used to generate the standalone form. See [schema guide](https://developers.homebridge.io/#/config-schema).
166
+ * @param schema the schema used to generate the standalone form. See [schema guide](https://developers.homebridge.io/#/config-screen/schema).
167
167
  * @param data the initial form data
168
168
  *
169
169
  * @param submitButton
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@homebridge/plugin-ui-utils",
3
3
  "type": "module",
4
- "version": "2.2.5",
4
+ "version": "2.2.6",
5
5
  "description": "A tool to help plugins provide custom UI screens in the Homebridge UI.",
6
6
  "author": {
7
7
  "name": "oznu",
@@ -57,8 +57,8 @@
57
57
  "test-coverage": "echo \"No test-coverage script specified\" && exit 0"
58
58
  },
59
59
  "devDependencies": {
60
- "@antfu/eslint-config": "^9.1.0",
61
- "@types/node": "^26.1.1",
60
+ "@antfu/eslint-config": "^9.3.0",
61
+ "@types/node": "^26.2.0",
62
62
  "eslint-plugin-format": "^2.0.1",
63
63
  "rimraf": "^6.1.3",
64
64
  "ts-node": "^10.9.2",