svelte-tweakpane-ui 1.5.16 → 1.5.17

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 (58) hide show
  1. package/dist/control/Button.svelte +3 -1
  2. package/dist/control/Button.svelte.d.ts +7 -1
  3. package/dist/control/ButtonGrid.svelte.d.ts +38 -24
  4. package/dist/control/Checkbox.svelte.d.ts +46 -24
  5. package/dist/control/Color.svelte.d.ts +58 -28
  6. package/dist/control/CubicBezier.svelte.d.ts +41 -20
  7. package/dist/control/File.svelte.d.ts +48 -22
  8. package/dist/control/Image.svelte.d.ts +47 -22
  9. package/dist/control/IntervalSlider.svelte.d.ts +71 -35
  10. package/dist/control/List.svelte.d.ts +35 -19
  11. package/dist/control/Point.svelte.d.ts +104 -55
  12. package/dist/control/RadioGrid.svelte.d.ts +66 -32
  13. package/dist/control/Ring.svelte.d.ts +82 -42
  14. package/dist/control/RotationEuler.svelte.d.ts +73 -38
  15. package/dist/control/RotationQuaternion.svelte.d.ts +67 -35
  16. package/dist/control/Slider.svelte.d.ts +70 -35
  17. package/dist/control/Stepper.svelte.d.ts +70 -35
  18. package/dist/control/Text.svelte.d.ts +49 -24
  19. package/dist/control/Textarea.svelte.d.ts +48 -22
  20. package/dist/control/Wheel.svelte.d.ts +74 -37
  21. package/dist/core/Binding.svelte +3 -1
  22. package/dist/core/Binding.svelte.d.ts +43 -22
  23. package/dist/core/Blade.svelte +3 -1
  24. package/dist/core/Blade.svelte.d.ts +22 -13
  25. package/dist/core/Folder.svelte.d.ts +15 -6
  26. package/dist/core/Pane.svelte.d.ts +255 -161
  27. package/dist/core/Separator.svelte.d.ts +22 -13
  28. package/dist/core/TabGroup.svelte +3 -1
  29. package/dist/core/TabGroup.svelte.d.ts +10 -5
  30. package/dist/core/TabPage.svelte.d.ts +9 -3
  31. package/dist/extra/AutoObject.svelte +3 -1
  32. package/dist/extra/AutoObject.svelte.d.ts +19 -10
  33. package/dist/extra/AutoValue.svelte.d.ts +44 -22
  34. package/dist/extra/Element.svelte.d.ts +27 -15
  35. package/dist/internal/GenericBinding.svelte.d.ts +37 -19
  36. package/dist/internal/GenericBladeFolding.svelte.d.ts +30 -15
  37. package/dist/internal/GenericInput.svelte.d.ts +37 -19
  38. package/dist/internal/GenericInputFolding.svelte.d.ts +43 -20
  39. package/dist/internal/GenericMonitor.svelte.d.ts +50 -26
  40. package/dist/internal/GenericPane.svelte.d.ts +37 -24
  41. package/dist/internal/GenericSlider.svelte.d.ts +62 -32
  42. package/dist/internal/InternalMonitorBoolean.svelte.d.ts +49 -26
  43. package/dist/internal/InternalMonitorNumber.svelte.d.ts +58 -29
  44. package/dist/internal/InternalMonitorString.svelte.d.ts +50 -26
  45. package/dist/internal/InternalPaneDraggable.svelte.d.ts +84 -50
  46. package/dist/internal/InternalPaneFixed.svelte.d.ts +56 -34
  47. package/dist/internal/InternalPaneInline.svelte.d.ts +43 -29
  48. package/dist/monitor/FpsGraph.svelte.d.ts +42 -23
  49. package/dist/monitor/Monitor.svelte.d.ts +264 -133
  50. package/dist/monitor/Profiler.svelte +3 -1
  51. package/dist/monitor/Profiler.svelte.d.ts +83 -49
  52. package/dist/monitor/WaveformMonitor.svelte.d.ts +54 -26
  53. package/dist/theme.d.ts +5 -4
  54. package/dist/theme.js +5 -4
  55. package/dist/utils.d.ts +34 -21
  56. package/dist/utils.js +34 -16
  57. package/package.json +21 -20
  58. package/readme.md +7 -3
@@ -17,7 +17,9 @@
17
17
  let button
18
18
  let index
19
19
  function create() {
20
- if (button) button.dispose()
20
+ if (button) {
21
+ button.dispose()
22
+ }
21
23
  button = $parentStore?.addButton({
22
24
  disabled,
23
25
  index,
@@ -5,28 +5,34 @@ declare const __propDef: {
5
5
  props: {
6
6
  /**
7
7
  * Text inside of the button.
8
+ *
8
9
  * @default `'Button'`
9
10
  */ title?: string
10
11
  /**
11
12
  * Text displayed next to the button.
13
+ *
12
14
  * @default `undefined`
13
15
  */ label?: string | undefined
14
16
  /**
15
17
  * Prevent interactivity and gray out the control.
18
+ *
16
19
  * @default `false`
17
20
  */ disabled?: boolean
18
21
  /**
19
22
  * Custom color scheme.
20
- * @default `undefined` \
23
+ *
21
24
  * Inherits default Tweakpane theme equivalent to
22
25
  * `ThemeUtils.presets.standard`, or the theme set with
23
26
  * `setGlobalDefaultTheme()`.)
27
+ *
28
+ * @default `undefined`
24
29
  */ theme?: Theme | undefined
25
30
  }
26
31
  slots: {}
27
32
  events: {
28
33
  /**
29
34
  * Fires when the button is clicked.
35
+ *
30
36
  * @event
31
37
  */
32
38
  click: ButtonClickEvent
@@ -15,41 +15,50 @@ declare const __propDef: {
15
15
  /**
16
16
  * Blade configuration exposing Tweakpane's internal
17
17
  * [`BladeParams`](https://tweakpane.github.io/docs/api/interfaces/BaseBladeParams.html).
18
- *
19
18
  */
20
19
  options: ButtonGridOptions
21
20
  /**
22
21
  * Prevent interactivity and gray out the control.
22
+ *
23
23
  * @default `false`
24
24
  */
25
25
  disabled?: boolean
26
26
  /**
27
27
  * Custom color scheme.
28
- * @default `undefined` \
29
- * Inherits default Tweakpane theme equivalent to `ThemeUtils.presets.standard`, or the theme
30
- * set with `setGlobalDefaultTheme()`.
28
+ *
29
+ * If undefined, inherits default Tweakpane theme equivalent to
30
+ * `ThemeUtils.presets.standard`, or the theme set with
31
+ * `setGlobalDefaultTheme()`.
32
+ *
33
+ * @default `undefined`
31
34
  */
32
35
  theme?: import('..').Theme | undefined
33
36
  /**
34
37
  * Reference to internal Tweakpane
35
- * [`BladeApi`](https://tweakpane.github.io/docs/api/classes/BladeApi.html) for this blade.
38
+ * [`BladeApi`](https://tweakpane.github.io/docs/api/classes/BladeApi.html)
39
+ * for this blade.
40
+ *
41
+ * This property is exposed for advanced use cases only, such as when
42
+ * implementing convenience components wrapping `<Blade>`'s functionality.
36
43
  *
37
- * This property is exposed for advanced use cases only, such as when implementing convenience
38
- * components wrapping `<Blade>`'s functionality.
44
+ * Direct manipulation of Tweakpane's internals can break _Svelte Tweakpane
45
+ * UI_ abstractions.
39
46
  *
40
- * Direct manipulation of Tweakpane's internals can break _Svelte Tweakpane UI_ abstractions.
41
47
  * @bindable
42
48
  * @readonly
43
49
  */
44
50
  ref?: ButtonGridRef | undefined
45
51
  /**
46
- * Imported Tweakpane `TpPluginBundle` (aliased as `Plugin`) module to automatically register in
47
- * the `<Blade>`'s containing `<Pane>`.
52
+ * Imported Tweakpane `TpPluginBundle` (aliased as `Plugin`) module to
53
+ * automatically register in the `<Blade>`'s containing `<Pane>`.
54
+ *
55
+ * This property is exposed for advanced use cases only, such as when
56
+ * implementing convenience components wrapping `<Blade>`'s functionality in
57
+ * combination with a Tweakpane plugin.
48
58
  *
49
- * This property is exposed for advanced use cases only, such as when implementing convenience
50
- * components wrapping `<Blade>`'s functionality in combination with a Tweakpane plugin.
59
+ * Direct manipulation of Tweakpane's internals can break _Svelte Tweakpane
60
+ * UI_ abstractions.
51
61
  *
52
- * Direct manipulation of Tweakpane's internals can break _Svelte Tweakpane UI_ abstractions.
53
62
  * @default `undefined`
54
63
  */
55
64
  plugin?: import('../utils.js').Plugin | undefined
@@ -57,30 +66,34 @@ declare const __propDef: {
57
66
  'ref' | 'options' | 'plugin'
58
67
  > & {
59
68
  /**
60
- * Array of names, each of which will become the title of a button in the grid.
69
+ * Array of names, each of which will become the title of a button in the
70
+ * grid.
61
71
  */
62
72
  buttons: string[]
63
73
  /**
64
74
  * Number of columns to arrange the buttons into.
65
75
  *
66
- * Setting `columns` without setting `rows` will lock the column count and allow the row
67
- * count to change dynamically based on the number of buttons.
68
- * @default `undefined` \
69
- * Dynamic based on quantity of `buttons`.
76
+ * Setting `columns` without setting `rows` will lock the column count and
77
+ * allow the row count to change dynamically based on the number of
78
+ * buttons.
79
+ *
80
+ * @default `undefined`
70
81
  */
71
82
  columns?: number
72
83
  /**
73
84
  * Text displayed next to the button grid.
85
+ *
74
86
  * @default `undefined`
75
87
  */
76
88
  label?: string
77
89
  /**
78
90
  * Number of rows to arrange the buttons into.
79
91
  *
80
- * Setting `rows` without setting `columns` will lock the column count and allow the column
81
- * count to change dynamically based on the number of buttons.
82
- * @default `undefined` \
83
- * Dynamic based on quantity of `buttons`.
92
+ * Setting `rows` without setting `columns` will lock the column count and
93
+ * allow the column count to change dynamically based on the number of
94
+ * buttons.
95
+ *
96
+ * @default `undefined`
84
97
  */
85
98
  rows?: number
86
99
  }
@@ -89,8 +102,9 @@ declare const __propDef: {
89
102
  /**
90
103
  * Fires when a button is clicked.
91
104
  *
92
- * Note that the values described in the `ButtonGridClickEvent` type are available on the
93
- * `event.detail` parameter.
105
+ * Note that the values described in the `ButtonGridClickEvent` type are
106
+ * available on the `event.detail` parameter.
107
+ *
94
108
  * @event
95
109
  */
96
110
  click: ButtonGridClickEvent
@@ -7,62 +7,79 @@ declare const __propDef: {
7
7
  {
8
8
  /**
9
9
  * The binding's target object with values to manipulate.
10
+ *
10
11
  * @bindable
11
12
  */
12
13
  object: import('@tweakpane/core').Bindable & Record<string, boolean>
13
- /** The key for the value in the target `object` that the control should manipulate. */
14
+ /**
15
+ * The key for the value in the target `object` that the control should
16
+ * manipulate.
17
+ */
14
18
  key: string
15
19
  /**
16
20
  * Prevent interactivity and gray out the control.
21
+ *
17
22
  * @default `false`
18
23
  */
19
24
  disabled?: boolean
20
25
  /**
21
26
  * Text displayed next to control.
27
+ *
22
28
  * @default `undefined`
23
29
  */
24
30
  label?: string | undefined
25
31
  /**
26
32
  * Tweakpane's internal options object.
27
33
  *
28
- * See [`BindingParams`](https://tweakpane.github.io/docs/api/types/BindingParams.html).
34
+ * See
35
+ * [`BindingParams`](https://tweakpane.github.io/docs/api/types/BindingParams.html).
36
+ *
37
+ * Valid types are contingent on the type of the value `key` points to in
38
+ * `object`.
29
39
  *
30
- * Valid types are contingent on the type of the value `key` points to in `object`.
40
+ * This is intended internal use, when implementing convenience components
41
+ * wrapping Binding's functionality. Options of interest are instead exposed
42
+ * as top-level props in _Svelte Tweakpane UI_.
31
43
  *
32
- * This is intended internal use, when implementing convenience components wrapping Binding's
33
- * functionality. Options of interest are instead exposed as top-level props in _Svelte
34
- * Tweakpane UI_.
35
44
  * @default `undefined`
36
45
  */
37
46
  options?: import('@tweakpane/core').BaseInputParams | undefined
38
47
  /**
39
48
  * Custom color scheme.
40
- * @default `undefined` \
41
- * Inherits default Tweakpane theme equivalent to `ThemeUtils.presets.standard`, or the theme
42
- * set with `setGlobalDefaultTheme()`.
49
+ *
50
+ * If undefined, inherits default Tweakpane theme equivalent to
51
+ * `ThemeUtils.presets.standard`, or the theme set with
52
+ * `setGlobalDefaultTheme()`.
53
+ *
54
+ * @default `undefined`
43
55
  */
44
56
  theme?: import('..').Theme | undefined
45
57
  /**
46
58
  * Reference to internal Tweakpane
47
- * [`BindingApi`](https://tweakpane.github.io/docs/api/classes/_internal_.BindingApi.html) for
48
- * this control.
59
+ * [`BindingApi`](https://tweakpane.github.io/docs/api/classes/_internal_.BindingApi.html)
60
+ * for this control.
49
61
  *
50
- * This property is exposed for advanced use cases only, such as when implementing convenience
51
- * components wrapping `<Binding>`'s functionality.
62
+ * This property is exposed for advanced use cases only, such as when
63
+ * implementing convenience components wrapping `<Binding>`'s functionality.
64
+ *
65
+ * Direct manipulation of Tweakpane's internals can break _Svelte Tweakpane
66
+ * UI_ abstractions.
52
67
  *
53
- * Direct manipulation of Tweakpane's internals can break _Svelte Tweakpane UI_ abstractions.
54
68
  * @bindable
55
69
  * @readonly
56
70
  */
57
71
  ref?: import('../internal/GenericInput.svelte').GenericInputRef | undefined
58
72
  /**
59
- * Imported Tweakpane `TpPluginBundle` (aliased as `Plugin`) module to automatically register in
60
- * the `<Binding>`'s containing `<Pane>`.
73
+ * Imported Tweakpane `TpPluginBundle` (aliased as `Plugin`) module to
74
+ * automatically register in the `<Binding>`'s containing `<Pane>`.
75
+ *
76
+ * This property is exposed for advanced use cases only, such as when
77
+ * implementing convenience components wrapping `<Binding>`'s functionality in
78
+ * combination with a Tweakpane plugin.
61
79
  *
62
- * This property is exposed for advanced use cases only, such as when implementing convenience
63
- * components wrapping `<Binding>`'s functionality in combination with a Tweakpane plugin.
80
+ * Direct manipulation of Tweakpane's internals can break _Svelte Tweakpane
81
+ * UI_ abstractions.
64
82
  *
65
- * Direct manipulation of Tweakpane's internals can break _Svelte Tweakpane UI_ abstractions.
66
83
  * @default `undefined`
67
84
  */
68
85
  plugin?: import('../utils.js').Plugin | undefined
@@ -71,6 +88,7 @@ declare const __propDef: {
71
88
  > & {
72
89
  /**
73
90
  * The value to control.
91
+ *
74
92
  * @bindable
75
93
  */
76
94
  value: boolean
@@ -82,10 +100,14 @@ declare const __propDef: {
82
100
  /**
83
101
  * Fires when `value` changes.
84
102
  *
85
- * _This event is provided for advanced use cases. It's usually preferred to bind to the `value` prop instead._
103
+ * _This event is provided for advanced use cases. It's usually preferred to
104
+ * bind to the `value` prop instead._
105
+ *
106
+ * The `event.details` payload includes a copy of the value and an `origin`
107
+ * field to distinguish between user-interactive changes (`internal`) and
108
+ * changes resulting from programmatic manipulation of the `value`
109
+ * (`external`).
86
110
  *
87
- * The `event.details` payload includes a copy of the value and an `origin` field to distinguish between user-interactive changes (`internal`)
88
- * and changes resulting from programmatic manipulation of the `value` (`external`).
89
111
  * @extends ValueChangeEvent
90
112
  * @event
91
113
  */
@@ -107,9 +129,9 @@ export type CheckboxSlots = typeof __propDef.slots
107
129
  * @example
108
130
  * ```svelte
109
131
  * <script lang="ts">
110
- * import { Checkbox } from 'svelte-tweakpane-ui'
132
+ * import { Checkbox } from 'svelte-tweakpane-ui'
111
133
  *
112
- * let reticulationEnabled: boolean = false
134
+ * let reticulationEnabled: boolean = false
113
135
  * </script>
114
136
  *
115
137
  * <Checkbox bind:value={reticulationEnabled} label="Reticulation" />
@@ -24,62 +24,79 @@ declare const __propDef: {
24
24
  {
25
25
  /**
26
26
  * The binding's target object with values to manipulate.
27
+ *
27
28
  * @bindable
28
29
  */
29
30
  object: import('@tweakpane/core').Bindable & Record<string, ColorValue>
30
- /** The key for the value in the target `object` that the control should manipulate. */
31
+ /**
32
+ * The key for the value in the target `object` that the control should
33
+ * manipulate.
34
+ */
31
35
  key: string
32
36
  /**
33
37
  * Prevent interactivity and gray out the control.
38
+ *
34
39
  * @default `false`
35
40
  */
36
41
  disabled?: boolean
37
42
  /**
38
43
  * Text displayed next to control.
44
+ *
39
45
  * @default `undefined`
40
46
  */
41
47
  label?: string | undefined
42
48
  /**
43
49
  * Tweakpane's internal options object.
44
50
  *
45
- * See [`BindingParams`](https://tweakpane.github.io/docs/api/types/BindingParams.html).
51
+ * See
52
+ * [`BindingParams`](https://tweakpane.github.io/docs/api/types/BindingParams.html).
46
53
  *
47
- * Valid types are contingent on the type of the value `key` points to in `object`.
54
+ * Valid types are contingent on the type of the value `key` points to in
55
+ * `object`.
56
+ *
57
+ * This is intended internal use, when implementing convenience components
58
+ * wrapping Binding's functionality. Options of interest are instead exposed
59
+ * as top-level props in _Svelte Tweakpane UI_.
48
60
  *
49
- * This is intended internal use, when implementing convenience components wrapping Binding's
50
- * functionality. Options of interest are instead exposed as top-level props in _Svelte
51
- * Tweakpane UI_.
52
61
  * @default `undefined`
53
62
  */
54
63
  options?: ColorOptions | undefined
55
64
  /**
56
65
  * Custom color scheme.
57
- * @default `undefined` \
58
- * Inherits default Tweakpane theme equivalent to `ThemeUtils.presets.standard`, or the theme
59
- * set with `setGlobalDefaultTheme()`.
66
+ *
67
+ * If undefined, inherits default Tweakpane theme equivalent to
68
+ * `ThemeUtils.presets.standard`, or the theme set with
69
+ * `setGlobalDefaultTheme()`.
70
+ *
71
+ * @default `undefined`
60
72
  */
61
73
  theme?: import('..').Theme | undefined
62
74
  /**
63
75
  * Reference to internal Tweakpane
64
- * [`BindingApi`](https://tweakpane.github.io/docs/api/classes/_internal_.BindingApi.html) for
65
- * this control.
76
+ * [`BindingApi`](https://tweakpane.github.io/docs/api/classes/_internal_.BindingApi.html)
77
+ * for this control.
78
+ *
79
+ * This property is exposed for advanced use cases only, such as when
80
+ * implementing convenience components wrapping `<Binding>`'s functionality.
66
81
  *
67
- * This property is exposed for advanced use cases only, such as when implementing convenience
68
- * components wrapping `<Binding>`'s functionality.
82
+ * Direct manipulation of Tweakpane's internals can break _Svelte Tweakpane
83
+ * UI_ abstractions.
69
84
  *
70
- * Direct manipulation of Tweakpane's internals can break _Svelte Tweakpane UI_ abstractions.
71
85
  * @bindable
72
86
  * @readonly
73
87
  */
74
88
  ref?: import('../internal/GenericInput.svelte').GenericInputRef | undefined
75
89
  /**
76
- * Imported Tweakpane `TpPluginBundle` (aliased as `Plugin`) module to automatically register in
77
- * the `<Binding>`'s containing `<Pane>`.
90
+ * Imported Tweakpane `TpPluginBundle` (aliased as `Plugin`) module to
91
+ * automatically register in the `<Binding>`'s containing `<Pane>`.
78
92
  *
79
- * This property is exposed for advanced use cases only, such as when implementing convenience
80
- * components wrapping `<Binding>`'s functionality in combination with a Tweakpane plugin.
93
+ * This property is exposed for advanced use cases only, such as when
94
+ * implementing convenience components wrapping `<Binding>`'s functionality in
95
+ * combination with a Tweakpane plugin.
96
+ *
97
+ * Direct manipulation of Tweakpane's internals can break _Svelte Tweakpane
98
+ * UI_ abstractions.
81
99
  *
82
- * Direct manipulation of Tweakpane's internals can break _Svelte Tweakpane UI_ abstractions.
83
100
  * @default `undefined`
84
101
  */
85
102
  plugin?: import('../utils.js').Plugin | undefined
@@ -89,30 +106,36 @@ declare const __propDef: {
89
106
  /**
90
107
  * A color value to control.
91
108
  *
92
- * Use either a color-like string (e.g. #ff00ff), or an object with `r`, `b`, `g`, and
93
- * optional `a` keys.
109
+ * Use either a color-like string (e.g. #ff00ff), or an object with `r`,
110
+ * `b`, `g`, and optional `a` keys.
111
+ *
94
112
  * @bindable
95
113
  */
96
114
  value: ColorValue
97
115
  } & {
98
116
  /**
99
- * DOM class name of the button used to expand and collapse the input's picker.
117
+ * DOM class name of the button used to expand and collapse the input's
118
+ * picker.
119
+ *
100
120
  * @default `undefined`
101
121
  */
102
122
  buttonClass?: string
103
123
  /**
104
124
  * Expand or collapse the input's picker.
125
+ *
105
126
  * @default `false`
106
127
  * @bindable
107
128
  */
108
129
  expanded?: boolean
109
130
  /**
110
131
  * The style of value "picker" to use in the input.
132
+ *
111
133
  * @default `'popup'`
112
134
  */
113
135
  picker?: 'inline' | 'popup'
114
136
  /**
115
137
  * Allow users to interactively expand / contract the picker.
138
+ *
116
139
  * @default `true`
117
140
  */
118
141
  userExpandable?: boolean
@@ -122,13 +145,16 @@ declare const __propDef: {
122
145
  /**
123
146
  * A color value to control.
124
147
  *
125
- * Use either a color-like string (e.g. #ff00ff), or an object with `r`, `b`, `g`, and
126
- * optional `a` keys.
148
+ * Use either a color-like string (e.g. #ff00ff), or an object with `r`,
149
+ * `b`, `g`, and optional `a` keys.
150
+ *
127
151
  * @bindable
128
152
  */
129
153
  value: ColorValue
130
154
  /**
131
- * Whether to treat values as floats from 0.0 to 1.0, or integers from 0 to 255.
155
+ * Whether to treat values as floats from 0.0 to 1.0, or integers from 0 to
156
+ * 255.
157
+ *
132
158
  * @default `'int'`
133
159
  */
134
160
  type?: 'float' | 'int'
@@ -138,10 +164,14 @@ declare const __propDef: {
138
164
  /**
139
165
  * Fires when `value` changes.
140
166
  *
141
- * _This event is provided for advanced use cases. It's usually preferred to bind to the `value` prop instead._
167
+ * _This event is provided for advanced use cases. It's usually preferred to
168
+ * bind to the `value` prop instead._
169
+ *
170
+ * The `event.details` payload includes a copy of the value and an `origin`
171
+ * field to distinguish between user-interactive changes (`internal`) and
172
+ * changes resulting from programmatic manipulation of the `value`
173
+ * (`external`).
142
174
  *
143
- * The `event.details` payload includes a copy of the value and an `origin` field to distinguish between user-interactive changes (`internal`)
144
- * and changes resulting from programmatic manipulation of the `value` (`external`).
145
175
  * @extends ValueChangeEvent
146
176
  * @event
147
177
  */
@@ -17,65 +17,80 @@ declare const __propDef: {
17
17
  /**
18
18
  * Blade configuration exposing Tweakpane's internal
19
19
  * [`BladeParams`](https://tweakpane.github.io/docs/api/interfaces/BaseBladeParams.html).
20
- *
21
20
  */
22
21
  options: CubicBezierOptions
23
22
  /**
24
23
  * Prevent interactivity and gray out the control.
24
+ *
25
25
  * @default `false`
26
26
  */
27
27
  disabled?: boolean
28
28
  /**
29
29
  * Custom color scheme.
30
- * @default `undefined` \
31
- * Inherits default Tweakpane theme equivalent to `ThemeUtils.presets.standard`, or the theme
32
- * set with `setGlobalDefaultTheme()`.
30
+ *
31
+ * If undefined, inherits default Tweakpane theme equivalent to
32
+ * `ThemeUtils.presets.standard`, or the theme set with
33
+ * `setGlobalDefaultTheme()`.
34
+ *
35
+ * @default `undefined`
33
36
  */
34
37
  theme?: import('..').Theme | undefined
35
38
  /**
36
39
  * Reference to internal Tweakpane
37
- * [`BladeApi`](https://tweakpane.github.io/docs/api/classes/BladeApi.html) for this blade.
40
+ * [`BladeApi`](https://tweakpane.github.io/docs/api/classes/BladeApi.html)
41
+ * for this blade.
42
+ *
43
+ * This property is exposed for advanced use cases only, such as when
44
+ * implementing convenience components wrapping `<Blade>`'s functionality.
38
45
  *
39
- * This property is exposed for advanced use cases only, such as when implementing convenience
40
- * components wrapping `<Blade>`'s functionality.
46
+ * Direct manipulation of Tweakpane's internals can break _Svelte Tweakpane
47
+ * UI_ abstractions.
41
48
  *
42
- * Direct manipulation of Tweakpane's internals can break _Svelte Tweakpane UI_ abstractions.
43
49
  * @bindable
44
50
  * @readonly
45
51
  */
46
52
  ref?: CubicBezierRef | undefined
47
53
  /**
48
- * Imported Tweakpane `TpPluginBundle` (aliased as `Plugin`) module to automatically register in
49
- * the `<Blade>`'s containing `<Pane>`.
54
+ * Imported Tweakpane `TpPluginBundle` (aliased as `Plugin`) module to
55
+ * automatically register in the `<Blade>`'s containing `<Pane>`.
56
+ *
57
+ * This property is exposed for advanced use cases only, such as when
58
+ * implementing convenience components wrapping `<Blade>`'s functionality in
59
+ * combination with a Tweakpane plugin.
50
60
  *
51
- * This property is exposed for advanced use cases only, such as when implementing convenience
52
- * components wrapping `<Blade>`'s functionality in combination with a Tweakpane plugin.
61
+ * Direct manipulation of Tweakpane's internals can break _Svelte Tweakpane
62
+ * UI_ abstractions.
53
63
  *
54
- * Direct manipulation of Tweakpane's internals can break _Svelte Tweakpane UI_ abstractions.
55
64
  * @default `undefined`
56
65
  */
57
66
  plugin?: import('../utils.js').Plugin | undefined
58
67
  } & {
59
68
  /**
60
- * DOM class name of the button used to expand and collapse the blade's picker.
69
+ * DOM class name of the button used to expand and collapse the blade's
70
+ * picker.
71
+ *
61
72
  * @default `undefined`
62
73
  */
63
74
  buttonClass?: string
64
75
  /**
65
76
  * Expand or collapse the blade's picker.
77
+ *
66
78
  * @default `true`
67
79
  * @bindable
68
80
  */
69
81
  expanded?: boolean
70
82
  /**
71
83
  * The style of value "picker" to use in the blade.
84
+ *
72
85
  * @default `'popup'`
73
86
  */
74
87
  picker?: 'inline' | 'popup'
75
88
  /**
76
- * Allow users to interactively expand / contract the value picker by clicking its icon.
89
+ * Allow users to interactively expand / contract the value picker by
90
+ * clicking its icon.
77
91
  *
78
92
  * Most useful when `picker` is `inline`.
93
+ *
79
94
  * @default `true`
80
95
  */
81
96
  userExpandable?: boolean
@@ -85,13 +100,15 @@ declare const __propDef: {
85
100
  /**
86
101
  * The cubic bezier value to control.
87
102
  *
88
- * Object value type is a convenience added by _Svelte Tweakpane UI_, and is not part of the
89
- * original `@tweakpane/plugin-essentials` API.
103
+ * Object value type is a convenience added by _Svelte Tweakpane UI_, and is
104
+ * not part of the original `@tweakpane/plugin-essentials` API.
105
+ *
90
106
  * @bindable
91
107
  */
92
108
  value: CubicBezierValue
93
109
  /**
94
110
  * Text displayed next to the control.
111
+ *
95
112
  * @default `undefined`
96
113
  */
97
114
  label?: string
@@ -101,10 +118,14 @@ declare const __propDef: {
101
118
  /**
102
119
  * Fires when `value` changes.
103
120
  *
104
- * _This event is provided for advanced use cases. It's usually preferred to bind to the `value` prop instead._
121
+ * _This event is provided for advanced use cases. It's usually preferred to
122
+ * bind to the `value` prop instead._
123
+ *
124
+ * The `event.details` payload includes a copy of the value and an `origin`
125
+ * field to distinguish between user-interactive changes (`internal`) and
126
+ * changes resulting from programmatic manipulation of the `value`
127
+ * (`external`).
105
128
  *
106
- * The `event.details` payload includes a copy of the value and an `origin` field to distinguish between user-interactive changes (`internal`)
107
- * and changes resulting from programmatic manipulation of the `value` (`external`).
108
129
  * @extends ValueChangeEvent
109
130
  * @event
110
131
  */