diff --git a/resources/docs/docs/widgets/properties-reference.md b/resources/docs/docs/widgets/properties-reference.md
index 8c568fb4..5af1541a 100644
--- a/resources/docs/docs/widgets/properties-reference.md
+++ b/resources/docs/docs/widgets/properties-reference.md
@@ -41,8 +41,9 @@
|
alphaStroke
| `number` | "auto" | Stroke color opacity. |
| alphaFillOff
| `number` | "auto" | Fill color opacity (off). |
| alphaFillOn
| `number` | "auto" | Fill color opacity (on). |
+ | lineWidth
| `number` | "auto" | Stroke width. |
| padding
| `number` | "auto" | Inner spacing. |
- | css
| `string` | "" | CSS rules. See documentation.
Available css variables:
- `--color-background`: `colorBg`
- `--color-widget`: `colorWidget`
- `--color-fill`: `colorFill`
- `--color-stroke`: `colorStroke`
- `--color-text`: `colorText`
- `--widget-padding`: `padding`
- `--alpha-fill-on`: `alphaFillOn`
- `--alpha-fill-off`: `alphaFillOff`
- `--alpha-stroke`: `alphaStroke` |
+ | css
| `string` | "" | CSS rules. See documentation.
Available css variables:
- `--color-background`: `colorBg`
- `--color-widget`: `colorWidget`
- `--color-fill`: `colorFill`
- `--color-stroke`: `colorStroke`
- `--color-text`: `colorText`
- `--widget-padding`: `padding`
- `--line-width`: `lineWidth`
- `--alpha-fill-on`: `alphaFillOn`
- `--alpha-fill-off`: `alphaFillOff`
- `--alpha-stroke`: `alphaStroke` |
=== "value"
@@ -75,7 +76,7 @@
| property | type |default | description |
| --- | --- | --- | --- |
- | | `string` | "" | CSS rules. See documentation.
Available css variables:
- `--color-background`: `colorBg`
- `--color-widget`: `colorWidget`
- `--color-fill`: `colorFill`
- `--color-stroke`: `colorStroke`
- `--color-text`: `colorText`
- `--widget-padding`: `padding`
- `--alpha-fill-on`: `alphaFillOn`
- `--alpha-fill-off`: `alphaFillOff`
- `--alpha-stroke`: `alphaStroke`
- `--color-text-on`: `colorTextOn` |
+ | | `string` | "" | CSS rules. See documentation.
Available css variables:
- `--color-background`: `colorBg`
- `--color-widget`: `colorWidget`
- `--color-fill`: `colorFill`
- `--color-stroke`: `colorStroke`
- `--color-text`: `colorText`
- `--widget-padding`: `padding`
- `--line-width`: `lineWidth`
- `--alpha-fill-on`: `alphaFillOn`
- `--alpha-fill-off`: `alphaFillOff`
- `--alpha-stroke`: `alphaStroke`
- `--color-text-on`: `colorTextOn` |
=== "button"
@@ -95,7 +96,7 @@
| property | type |default | description |
| --- | --- | --- | --- |
- | css
| `string` | "" | CSS rules. See documentation.
Available css variables:
- `--color-background`: `colorBg`
- `--color-widget`: `colorWidget`
- `--color-fill`: `colorFill`
- `--color-stroke`: `colorStroke`
- `--color-text`: `colorText`
- `--widget-padding`: `padding`
- `--alpha-fill-on`: `alphaFillOn`
- `--alpha-fill-off`: `alphaFillOff`
- `--alpha-stroke`: `alphaStroke`
- `--color-text-on`: `colorTextOn` |
+ | css
| `string` | "" | CSS rules. See documentation.
Available css variables:
- `--color-background`: `colorBg`
- `--color-widget`: `colorWidget`
- `--color-fill`: `colorFill`
- `--color-stroke`: `colorStroke`
- `--color-text`: `colorText`
- `--widget-padding`: `padding`
- `--line-width`: `lineWidth`
- `--alpha-fill-on`: `alphaFillOn`
- `--alpha-fill-off`: `alphaFillOff`
- `--alpha-stroke`: `alphaStroke`
- `--color-text-on`: `colorTextOn` |
=== "switch"
@@ -409,7 +410,7 @@
| property | type |default | description |
| --- | --- | --- | --- |
- | svg
| `string` | "" | Svg xml definition:
- will be wrapped in a `< svg />` element
- `` commands support a special percent notation (`%x` and `%y`) |
+ | svg
| `string` | "" | Svg xml definition (will be wrapped in a `< svg />` element) |
??? api "html
"
Simple HTML parser.
@@ -595,13 +596,14 @@
| property | type |default | description |
| --- | --- | --- | --- |
- | css
| `string` | "" | CSS rules. See documentation.
Available css variables:
- `--color-background`: `colorBg`
- `--color-widget`: `colorWidget`
- `--color-fill`: `colorFill`
- `--color-stroke`: `colorStroke`
- `--color-text`: `colorText`
- `--widget-padding`: `padding`
- `--alpha-fill-on`: `alphaFillOn`
- `--alpha-fill-off`: `alphaFillOff`
- `--alpha-stroke`: `alphaStroke`
- `--alpha-pips`: `alphaPips`
- `--alpha-pips-text`: `alphaPipsText` |
+ | css
| `string` | "" | CSS rules. See documentation.
Available css variables:
- `--color-background`: `colorBg`
- `--color-widget`: `colorWidget`
- `--color-fill`: `colorFill`
- `--color-stroke`: `colorStroke`
- `--color-text`: `colorText`
- `--widget-padding`: `padding`
- `--line-width`: `lineWidth`
- `--alpha-fill-on`: `alphaFillOn`
- `--alpha-fill-off`: `alphaFillOff`
- `--alpha-stroke`: `alphaStroke`
- `--alpha-pips`: `alphaPips`
- `--alpha-pips-text`: `alphaPipsText`
- `--knob-size`: `knobSize` |
=== "fader"
| property | type |default | description |
| --- | --- | --- | --- |
| design
| `string` | "default" | Design style
Choices: `default`, `round`, `compact` |
+ | knobSize
| `number` | "auto" | Fader knob size |
| horizontal
| `boolean` | false | Set to `true` to display the fader horizontally |
| pips
| `boolean` | false | Set to `true` to show range breakpoints (ignored if `design` is `compact`) |
| dashed
| `boolean`|
`array` | false | Set to `true` to display a dashed gauge. Can be set as an `array` of two numbers : `[dash_size, gap_size]` |
@@ -628,16 +630,17 @@
| property | type |default | description |
| --- | --- | --- | --- |
- | css
| `string` | "" | CSS rules. See documentation.
Available css variables:
- `--color-background`: `colorBg`
- `--color-widget`: `colorWidget`
- `--color-fill`: `colorFill`
- `--color-stroke`: `colorStroke`
- `--color-text`: `colorText`
- `--widget-padding`: `padding`
- `--alpha-fill-on`: `alphaFillOn`
- `--alpha-fill-off`: `alphaFillOff`
- `--alpha-stroke`: `alphaStroke`
- `--alpha-pips`: `alphaPips`
- `--alpha-pips-text`: `alphaPipsText` |
+ | css
| `string` | "" | CSS rules. See documentation.
Available css variables:
- `--color-background`: `colorBg`
- `--color-widget`: `colorWidget`
- `--color-fill`: `colorFill`
- `--color-stroke`: `colorStroke`
- `--color-text`: `colorText`
- `--widget-padding`: `padding`
- `--line-width`: `lineWidth`
- `--alpha-fill-on`: `alphaFillOn`
- `--alpha-fill-off`: `alphaFillOff`
- `--alpha-stroke`: `alphaStroke`
- `--alpha-pips`: `alphaPips`
- `--alpha-pips-text`: `alphaPipsText` |
=== "knob"
| property | type |default | description |
| --- | --- | --- | --- |
+ | design
| `string` | "default" | Design style
Note: "solid" design uses "colorStroke" for the central knob color.
Choices: `default`, `solid`, `line` |
| mode
| `string` | "vertical" | - `circular`: relative move in circular motion
- `snap`: snap to touch position and move in vertical motion
- `vertical`: relative move in vertical motion
Choices: `vertical`, `circular`, `snap` |
| spring
| `boolean` | false | When set to `true`, the widget will go back to its `default` value when released |
| pips
| `boolean` | false | Set to `true` to show the scale's breakpoints |
- | dashed
| `boolean` | false | Set to `true` to display a dashed gauge |
+ | dashed
| `boolean`|
`array` | false | Set to `true` to display a dashed gauge. Can be set as an `array` of two numbers : `[dash_size, gap_size]` |
| angle
| `number` | 270 | Defines the angle's width of the knob, in degrees |
| doubleTap
| `boolean` | false | Set to `true` to make the knob reset to its `default` value when receiving a double tap.
Can also be an osc address, in which case the widget will just send an osc message (`/ `) |
| range
| `object` | \{
"min": 0,
"max": 1
} | Defines the breakpoints of the fader's scale:
- keys can be percentages and/or `min` / `max`
- values can be `number` or `object` if a custom label is needed
Example: (`{min:{"-inf": 0}, "50%": 0.25, max: {"+inf": 1}}`) |
@@ -679,13 +682,14 @@
| property | type |default | description |
| --- | --- | --- | --- |
- | css
| `string` | "" | CSS rules. See documentation.
Available css variables:
- `--color-background`: `colorBg`
- `--color-widget`: `colorWidget`
- `--color-fill`: `colorFill`
- `--color-stroke`: `colorStroke`
- `--color-text`: `colorText`
- `--widget-padding`: `padding`
- `--alpha-fill-on`: `alphaFillOn`
- `--alpha-fill-off`: `alphaFillOff`
- `--alpha-stroke`: `alphaStroke`
- `--alpha-pips`: `alphaPips`
- `--alpha-pips-text`: `alphaPipsText` |
+ | css
| `string` | "" | CSS rules. See documentation.
Available css variables:
- `--color-background`: `colorBg`
- `--color-widget`: `colorWidget`
- `--color-fill`: `colorFill`
- `--color-stroke`: `colorStroke`
- `--color-text`: `colorText`
- `--widget-padding`: `padding`
- `--line-width`: `lineWidth`
- `--alpha-fill-on`: `alphaFillOn`
- `--alpha-fill-off`: `alphaFillOff`
- `--alpha-stroke`: `alphaStroke`
- `--alpha-pips`: `alphaPips`
- `--alpha-pips-text`: `alphaPipsText`
- `--knob-size`: `knobSize` |
=== "fader"
| property | type |default | description |
| --- | --- | --- | --- |
| design
| `string` | "default" | Design style
Choices: `default`, `round`, `compact` |
+ | knobSize
| `number` | "auto" | Fader knob size |
| horizontal
| `boolean` | false | Set to `true` to display the fader horizontally |
| pips
| `boolean` | false | Set to `true` to show range breakpoints (ignored if `design` is `compact`) |
| dashed
| `boolean`|
`array` | false | Set to `true` to display a dashed gauge. Can be set as an `array` of two numbers : `[dash_size, gap_size]` |