diff --git a/CHANGELOG.md b/CHANGELOG.md index 3a7e306..66edd9a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,9 @@ All notable changes to the "Range Slider Panel" plugin will be documented in thi The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). +## [1.1.4] - 2024-01-23 +- Fix min and max threshold not being displayed + ## [1.1.0] - 2024-01-23 - Allow only variables of type `textbox` to be selected - Remove default min and max values and use the values from the current variable value diff --git a/package.json b/package.json index a1a521b..8226d9e 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "my-first-plugin", - "version": "1.0.0", + "version": "1.1.4", "description": "Ui for textbox input variable", "scripts": { "build": "webpack -c ./.config/webpack/webpack.config.ts --env production", diff --git a/src/module.ts b/src/module.ts index 66622b2..3630ed2 100644 --- a/src/module.ts +++ b/src/module.ts @@ -25,6 +25,16 @@ export const plugin = new PanelPlugin(SimplePanel).setPanelOption description: 'The user-friendly label of the variable', defaultValue: 'My First Variable', }) + .addTextInput({ + path: 'variableMinimumThreshold', + name: 'Minimum threshold', + defaultValue: '0', + }) + .addTextInput({ + path: 'variableMaximumThreshold', + name: 'Maximum threshold', + defaultValue: '100', + }) .addTextInput({ path: 'rangePrefix', name: 'Range Prefix', diff --git a/src/plugin.json b/src/plugin.json index 9c13b08..b6fdc97 100644 --- a/src/plugin.json +++ b/src/plugin.json @@ -20,7 +20,7 @@ } ], "screenshots": [], - "version": "1.1.0", + "version": "1.1.4", "updated": "2024-01-08" }, "dependencies": {