blockly-fluid 1.3.7 → 1.3.9

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.
Files changed (2) hide show
  1. package/index.js +3 -0
  2. package/package.json +1 -1
package/index.js CHANGED
@@ -131,6 +131,9 @@ module.exports = (Blockly, { generator: languageGeneratorFallback, generators: l
131
131
  case "number":
132
132
  dummy.appendField(new Blockly.FieldNumber(...[
133
133
  translate((typeof field.default === "function") ? field.default() : (field.default || 0)),
134
+ (typeof field.minimum === "function") ? field.minimum() : (field.minimum || null),
135
+ (typeof field.maximum === "function") ? field.maximum() : (field.maximum || null),
136
+ (typeof field.stepSize === "function") ? field.stepSize() : (field.stepSize || null),
134
137
  ...(field.validator) ? [field.validator] : []
135
138
  ]), token);
136
139
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "blockly-fluid",
3
- "version": "1.3.7",
3
+ "version": "1.3.9",
4
4
  "description": "A flexible proxy wrapper for Blockly blocks.",
5
5
  "main": "index.js",
6
6
  "scripts": {