Skip to content

0.1.6

Compare
Choose a tag to compare
@jonnitto jonnitto released this 26 Nov 00:23
· 24 commits to main since this release
aee37f3

✨ Ratio mode

If the unit i set to %, the min value 0 or bigger, the max value 100 or smaller and ratio is set to true,
it will show the ratio of the two values. For example, if the value is set to 30, the left value will show 30% and
the right value will show 70%.

'Foo.Bar:Element':
  properties:
    ratio:
      type: integer
      ui:
        inspector:
          editor: 'Carbon.RangeEditor/Editor'
          editorOptions:
            ratio: true
            min: 25
            max: 75
            step: 5
Screenshot of the ratio mode

🐛 Fixed

  • The input field is debounced, so it is finally possible to set the value with the keypad
  • Handle arrows keys and page up/down keys in the text input field
  • Check if the value from the input field fits into the step settings

Full Changelog: 0.1.5...0.1.6