svelte-tweakpane-ui 1.2.7 → 1.3.1

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 (68) hide show
  1. package/dist/control/Button.svelte.d.ts +2 -2
  2. package/dist/control/ButtonGrid.svelte +1 -1
  3. package/dist/control/ButtonGrid.svelte.d.ts +5 -5
  4. package/dist/control/Checkbox.svelte.d.ts +2 -2
  5. package/dist/control/Color.svelte +1 -1
  6. package/dist/control/Color.svelte.d.ts +13 -13
  7. package/dist/control/CubicBezier.svelte +2 -2
  8. package/dist/control/CubicBezier.svelte.d.ts +7 -7
  9. package/dist/control/Image.svelte +1 -1
  10. package/dist/control/Image.svelte.d.ts +4 -4
  11. package/dist/control/IntervalSlider.svelte +19 -2
  12. package/dist/control/IntervalSlider.svelte.d.ts +16 -9
  13. package/dist/control/List.svelte.d.ts +3 -3
  14. package/dist/control/Point.svelte.d.ts +26 -26
  15. package/dist/control/RadioGrid.svelte +1 -1
  16. package/dist/control/RadioGrid.svelte.d.ts +7 -7
  17. package/dist/control/Ring.svelte +1 -1
  18. package/dist/control/Ring.svelte.d.ts +16 -16
  19. package/dist/control/RotationEuler.svelte +1 -1
  20. package/dist/control/RotationEuler.svelte.d.ts +13 -40
  21. package/dist/control/RotationQuaternion.svelte +1 -1
  22. package/dist/control/RotationQuaternion.svelte.d.ts +11 -47
  23. package/dist/control/Slider.svelte +12 -1
  24. package/dist/control/Slider.svelte.d.ts +15 -8
  25. package/dist/control/Text.svelte.d.ts +3 -3
  26. package/dist/control/Textarea.svelte +1 -1
  27. package/dist/control/Textarea.svelte.d.ts +5 -5
  28. package/dist/control/Wheel.svelte +1 -1
  29. package/dist/control/Wheel.svelte.d.ts +14 -14
  30. package/dist/core/Binding.svelte.d.ts +4 -3
  31. package/dist/core/Blade.svelte.d.ts +3 -2
  32. package/dist/core/Folder.svelte.d.ts +7 -8
  33. package/dist/core/Pane.svelte.d.ts +29 -27
  34. package/dist/core/Separator.svelte.d.ts +4 -2
  35. package/dist/core/TabGroup.svelte.d.ts +4 -2
  36. package/dist/core/TabPage.svelte.d.ts +5 -3
  37. package/dist/extra/AutoObject.svelte +4 -4
  38. package/dist/extra/AutoObject.svelte.d.ts +1 -1
  39. package/dist/extra/AutoValue.svelte.d.ts +2 -2
  40. package/dist/extra/Element.svelte.d.ts +6 -4
  41. package/dist/index.d.ts +26 -26
  42. package/dist/internal/ClsPad.svelte.d.ts +5 -71
  43. package/dist/internal/GenericBinding.svelte.d.ts +2 -2
  44. package/dist/internal/GenericBladeFolding.svelte.d.ts +6 -6
  45. package/dist/internal/GenericInput.svelte.d.ts +2 -2
  46. package/dist/internal/GenericInputFolding.svelte.d.ts +6 -6
  47. package/dist/internal/GenericMonitor.svelte.d.ts +5 -5
  48. package/dist/internal/GenericPane.svelte.d.ts +6 -4
  49. package/dist/internal/GenericSlider.svelte +2 -1
  50. package/dist/internal/GenericSlider.svelte.d.ts +13 -7
  51. package/dist/internal/InternalMonitorBoolean.svelte.d.ts +7 -5
  52. package/dist/internal/InternalMonitorNumber.svelte.d.ts +11 -9
  53. package/dist/internal/InternalMonitorString.svelte.d.ts +9 -7
  54. package/dist/internal/InternalPaneDraggable.svelte +1 -1
  55. package/dist/internal/InternalPaneDraggable.svelte.d.ts +16 -14
  56. package/dist/internal/InternalPaneFixed.svelte.d.ts +9 -7
  57. package/dist/internal/InternalPaneInline.svelte.d.ts +7 -5
  58. package/dist/monitor/FpsGraph.svelte +1 -1
  59. package/dist/monitor/FpsGraph.svelte.d.ts +57 -57
  60. package/dist/monitor/Monitor.svelte.d.ts +31 -31
  61. package/dist/monitor/Profiler.svelte +1 -1
  62. package/dist/monitor/Profiler.svelte.d.ts +61 -65
  63. package/dist/monitor/WaveformMonitor.svelte +1 -1
  64. package/dist/monitor/WaveformMonitor.svelte.d.ts +14 -12
  65. package/dist/theme.d.ts +2 -2
  66. package/dist/theme.js +1 -1
  67. package/package.json +43 -37
  68. package/readme.md +7 -0
@@ -11,7 +11,7 @@ declare const __propDef: {
11
11
  * @default `0`
12
12
  * @bindable
13
13
  * */
14
- x?: number | undefined;
14
+ x?: number;
15
15
  /**
16
16
  * Vertical position of the pane relative to the top of the window, in pixels.
17
17
  *
@@ -22,30 +22,30 @@ declare const __propDef: {
22
22
  * @default `0`
23
23
  * @bindable
24
24
  * */
25
- y?: number | undefined;
25
+ y?: number;
26
26
  /**
27
27
  * Minimum pane width in pixels.
28
28
  * @default `200`
29
29
  * */
30
- minWidth?: number | undefined;
30
+ minWidth?: number;
31
31
  /**
32
32
  * Maximum pane width in pixels.
33
33
  * @default `600`
34
34
  * */
35
- maxWidth?: number | undefined;
35
+ maxWidth?: number;
36
36
  /**
37
37
  * Automatically collapse open panels when the available window size is less than the height
38
38
  * of the pane.
39
39
  *
40
40
  * @default `false`
41
41
  * */
42
- collapseChildrenToFit?: boolean | undefined;
42
+ collapseChildrenToFit?: boolean;
43
43
  /**
44
44
  * Identifier to be used if multiple `<Pane position="draggable">` components with
45
45
  * `storePositionLocally` set to true are used on the same page.
46
46
  * @default `'1'`
47
47
  */
48
- localStoreId?: string | undefined;
48
+ localStoreId?: string;
49
49
  /**
50
50
  * CSS [padding property string](https://developer.mozilla.org/en-US/docs/Web/CSS/padding)
51
51
  * to apply to the draggable pane container to prevent it from being dragged all the way to
@@ -54,13 +54,13 @@ declare const __propDef: {
54
54
  * Useful for keeping the pane away from of menu bars, etc.
55
55
  * @default `'0'`
56
56
  */
57
- padding?: string | undefined;
57
+ padding?: string;
58
58
  /**
59
59
  * Allow the user to resize the width of the pane by dragging the right corner of the title
60
60
  * bar.
61
61
  * @default `true`
62
62
  * */
63
- resizable?: boolean | undefined;
63
+ resizable?: boolean;
64
64
  /**
65
65
  * Store the pane's position and width when the user changes it interactively.
66
66
  *
@@ -68,7 +68,7 @@ declare const __propDef: {
68
68
  * `storePositionLocally` set to `true`.
69
69
  * @default `true`
70
70
  * */
71
- storePositionLocally?: boolean | undefined;
71
+ storePositionLocally?: boolean;
72
72
  /**
73
73
  * Width of the pane, in pixels.
74
74
  *
@@ -84,7 +84,7 @@ declare const __propDef: {
84
84
  * @default `256`
85
85
  * @bindable
86
86
  * */
87
- width?: number | undefined;
87
+ width?: number;
88
88
  } & Omit<
89
89
  {
90
90
  /**
@@ -100,13 +100,13 @@ declare const __propDef: {
100
100
  * Hides the collapse button from the title bar when `false`.
101
101
  * @default `true`
102
102
  */
103
- userExpandable?: boolean | undefined;
103
+ userExpandable?: boolean;
104
104
  /**
105
105
  * Expand or collapse the pane into its title bar.
106
106
  * @default `true`
107
107
  * @bindable
108
108
  */
109
- expanded?: boolean | undefined;
109
+ expanded?: boolean;
110
110
  /**
111
111
  * Custom color scheme.
112
112
  *
@@ -139,9 +139,9 @@ declare const __propDef: {
139
139
  * Negative values are ignored.
140
140
  * @default `1`
141
141
  */
142
- scale?: number | undefined;
142
+ scale?: number;
143
143
  /** Internal use only. */
144
- userCreatedPane?: boolean | undefined;
144
+ userCreatedPane?: boolean;
145
145
  /**
146
146
  * The internal Tweakpane [`Pane`](https://tweakpane.github.io/docs/api/classes/Pane.html) object.
147
147
  *
@@ -169,6 +169,8 @@ declare const __propDef: {
169
169
  */
170
170
  default: {};
171
171
  };
172
+ exports?: {} | undefined;
173
+ bindings?: string | undefined;
172
174
  };
173
175
  export type InternalPaneDraggableProps = typeof __propDef.props;
174
176
  export type InternalPaneDraggableEvents = typeof __propDef.events;
@@ -9,7 +9,7 @@ declare const __propDef: {
9
9
  * @default `undefined` \
10
10
  * 8 pixels from the right edge of the window.
11
11
  * */
12
- x?: number | undefined;
12
+ x?: number;
13
13
  /**
14
14
  * Vertical position of the pane relative to the top of the window, in pixels.
15
15
  *
@@ -18,12 +18,12 @@ declare const __propDef: {
18
18
  * @default `undefined` \
19
19
  * 8 pixels from the top edge of the window.
20
20
  * */
21
- y?: number | undefined;
21
+ y?: number;
22
22
  /**
23
23
  * Width of the pane, in pixels.
24
24
  * @default `256`
25
25
  * */
26
- width?: number | undefined;
26
+ width?: number;
27
27
  } & Omit<
28
28
  {
29
29
  /**
@@ -39,13 +39,13 @@ declare const __propDef: {
39
39
  * Hides the collapse button from the title bar when `false`.
40
40
  * @default `true`
41
41
  */
42
- userExpandable?: boolean | undefined;
42
+ userExpandable?: boolean;
43
43
  /**
44
44
  * Expand or collapse the pane into its title bar.
45
45
  * @default `true`
46
46
  * @bindable
47
47
  */
48
- expanded?: boolean | undefined;
48
+ expanded?: boolean;
49
49
  /**
50
50
  * Custom color scheme.
51
51
  *
@@ -78,9 +78,9 @@ declare const __propDef: {
78
78
  * Negative values are ignored.
79
79
  * @default `1`
80
80
  */
81
- scale?: number | undefined;
81
+ scale?: number;
82
82
  /** Internal use only. */
83
- userCreatedPane?: boolean | undefined;
83
+ userCreatedPane?: boolean;
84
84
  /**
85
85
  * The internal Tweakpane [`Pane`](https://tweakpane.github.io/docs/api/classes/Pane.html) object.
86
86
  *
@@ -108,6 +108,8 @@ declare const __propDef: {
108
108
  */
109
109
  default: {};
110
110
  };
111
+ exports?: {} | undefined;
112
+ bindings?: string | undefined;
111
113
  };
112
114
  export type InternalPaneFixedProps = typeof __propDef.props;
113
115
  export type InternalPaneFixedEvents = typeof __propDef.events;
@@ -12,7 +12,7 @@ declare const __propDef: {
12
12
  * element is not provided.
13
13
  * @default `undefined`
14
14
  * */
15
- width?: number | undefined;
15
+ width?: number;
16
16
  } & {
17
17
  /**
18
18
  * Text in the pane's title bar.
@@ -27,13 +27,13 @@ declare const __propDef: {
27
27
  * Hides the collapse button from the title bar when `false`.
28
28
  * @default `true`
29
29
  */
30
- userExpandable?: boolean | undefined;
30
+ userExpandable?: boolean;
31
31
  /**
32
32
  * Expand or collapse the pane into its title bar.
33
33
  * @default `true`
34
34
  * @bindable
35
35
  */
36
- expanded?: boolean | undefined;
36
+ expanded?: boolean;
37
37
  /**
38
38
  * Custom color scheme.
39
39
  *
@@ -66,9 +66,9 @@ declare const __propDef: {
66
66
  * Negative values are ignored.
67
67
  * @default `1`
68
68
  */
69
- scale?: number | undefined;
69
+ scale?: number;
70
70
  /** Internal use only. */
71
- userCreatedPane?: boolean | undefined;
71
+ userCreatedPane?: boolean;
72
72
  /**
73
73
  * The internal Tweakpane [`Pane`](https://tweakpane.github.io/docs/api/classes/Pane.html) object.
74
74
  *
@@ -94,6 +94,8 @@ declare const __propDef: {
94
94
  */
95
95
  default: {};
96
96
  };
97
+ exports?: {} | undefined;
98
+ bindings?: string | undefined;
97
99
  };
98
100
  export type InternalPaneInlineProps = typeof __propDef.props;
99
101
  export type InternalPaneInlineEvents = typeof __propDef.events;
@@ -1,10 +1,10 @@
1
1
  <script context="module"></script>
2
2
 
3
3
  <script>
4
- import * as pluginModule from '@kitschpatrol/tweakpane-plugin-essentials';
5
4
  import Blade from '../core/Blade.svelte';
6
5
  import ClsPad from '../internal/ClsPad.svelte';
7
6
  import { fillWith } from '../utils';
7
+ import * as pluginModule from '@kitschpatrol/tweakpane-plugin-essentials';
8
8
  import { BROWSER } from 'esm-env';
9
9
  import { createEventDispatcher, onDestroy, onMount } from 'svelte';
10
10
  export let rows = void 0;
@@ -11,7 +11,7 @@ declare const __propDef: {
11
11
  * the page.
12
12
  * @default `undefined`
13
13
  */
14
- begin?: (() => void) | undefined;
14
+ begin?: () => void;
15
15
  /**
16
16
  * Function to end a single frame measurement sample.
17
17
  *
@@ -19,18 +19,18 @@ declare const __propDef: {
19
19
  * the page.
20
20
  * @default `undefined`
21
21
  */
22
- end?: (() => void) | undefined;
23
- } & {
22
+ end?: () => void;
23
+ } & ({
24
24
  /**
25
25
  * Lower bound of the FPS graph.
26
26
  * @default `0`
27
27
  * */
28
- min?: number | undefined;
28
+ min?: number;
29
29
  /**
30
30
  * Upper bound of the FPS graph.
31
31
  * @default `90`
32
32
  * */
33
- max?: number | undefined;
33
+ max?: number;
34
34
  /**
35
35
  * Function to start a single frame measurement sample.
36
36
  *
@@ -38,7 +38,7 @@ declare const __propDef: {
38
38
  * the page.
39
39
  * @default `undefined`
40
40
  * */
41
- begin?: (() => void) | undefined;
41
+ begin?: () => void;
42
42
  /**
43
43
  * Function to end a single frame measurement sample.
44
44
  *
@@ -46,70 +46,70 @@ declare const __propDef: {
46
46
  * the page.
47
47
  * @default `undefined`
48
48
  * */
49
- end?: (() => void) | undefined;
49
+ end?: () => void;
50
50
  /**
51
51
  * Time in milliseconds between updates to the graph.
52
52
  * @default `1000`
53
53
  * */
54
- interval?: number | undefined;
54
+ interval?: number;
55
55
  /**
56
56
  * Text displayed next to the FPS graph.
57
57
  * @default `undefined`
58
58
  * */
59
- label?: string | undefined;
59
+ label?: string;
60
60
  /**
61
61
  * Height of the FPS graph, in rows.
62
62
  * @default `2`
63
63
  * */
64
- rows?: number | undefined;
64
+ rows?: number;
65
65
  } & Omit<
66
- {
67
- /**
68
- * Blade configuration exposing Tweakpane's internal
69
- * [`BladeParams`](https://tweakpane.github.io/docs/api/interfaces/BaseBladeParams.html).
70
- *
71
- */
72
- options: FpsGraphOptions;
73
- /**
74
- * Prevent interactivity and gray out the control.
75
- * @default `false`
76
- */
77
- disabled?: boolean | undefined;
78
- /**
79
- * Custom color scheme.
80
- * @default `undefined` \
81
- * Inherits default Tweakpane theme equivalent to `ThemeUtils.presets.standard`, or the theme
82
- * set with `setGlobalDefaultTheme()`.
83
- */
84
- theme?: import('..').Theme | undefined;
85
- /**
86
- * Reference to internal Tweakpane
87
- * [`BladeApi`](https://tweakpane.github.io/docs/api/classes/BladeApi.html) for this blade.
88
- *
89
- * This property is exposed for advanced use cases only, such as when implementing convenience
90
- * components wrapping `<Blade>`'s functionality.
91
- *
92
- * Direct manipulation of Tweakpane's internals can break _Svelte Tweakpane UI_ abstractions.
93
- *
94
- * @bindable
95
- * @readonly
96
- */
97
- ref?: FpsGraphRef | undefined;
98
- /**
99
- * Imported Tweakpane `TpPluginBundle` (aliased as `Plugin`) module to automatically register in
100
- * the `<Blade>`'s containing `<Pane>`.
101
- *
102
- * This property is exposed for advanced use cases only, such as when implementing convenience
103
- * components wrapping `<Blade>`'s functionality in combination with a Tweakpane plugin.
104
- *
105
- * Direct manipulation of Tweakpane's internals can break _Svelte Tweakpane UI_ abstractions.
106
- *
107
- * @default `undefined`
108
- */
109
- plugin?: import('tweakpane').TpPluginBundle | undefined;
110
- },
111
- 'ref' | 'options' | 'plugin'
112
- >;
66
+ {
67
+ /**
68
+ * Blade configuration exposing Tweakpane's internal
69
+ * [`BladeParams`](https://tweakpane.github.io/docs/api/interfaces/BaseBladeParams.html).
70
+ *
71
+ */
72
+ options: FpsGraphOptions;
73
+ /**
74
+ * Prevent interactivity and gray out the control.
75
+ * @default `false`
76
+ */
77
+ disabled?: boolean;
78
+ /**
79
+ * Custom color scheme.
80
+ * @default `undefined` \
81
+ * Inherits default Tweakpane theme equivalent to `ThemeUtils.presets.standard`, or the theme
82
+ * set with `setGlobalDefaultTheme()`.
83
+ */
84
+ theme?: import('..').Theme | undefined;
85
+ /**
86
+ * Reference to internal Tweakpane
87
+ * [`BladeApi`](https://tweakpane.github.io/docs/api/classes/BladeApi.html) for this blade.
88
+ *
89
+ * This property is exposed for advanced use cases only, such as when implementing convenience
90
+ * components wrapping `<Blade>`'s functionality.
91
+ *
92
+ * Direct manipulation of Tweakpane's internals can break _Svelte Tweakpane UI_ abstractions.
93
+ *
94
+ * @bindable
95
+ * @readonly
96
+ */
97
+ ref?: FpsGraphRef | undefined;
98
+ /**
99
+ * Imported Tweakpane `TpPluginBundle` (aliased as `Plugin`) module to automatically register in
100
+ * the `<Blade>`'s containing `<Pane>`.
101
+ *
102
+ * This property is exposed for advanced use cases only, such as when implementing convenience
103
+ * components wrapping `<Blade>`'s functionality in combination with a Tweakpane plugin.
104
+ *
105
+ * Direct manipulation of Tweakpane's internals can break _Svelte Tweakpane UI_ abstractions.
106
+ *
107
+ * @default `undefined`
108
+ */
109
+ plugin?: import('../utils.js').Plugin | undefined;
110
+ },
111
+ 'ref' | 'options' | 'plugin'
112
+ >);
113
113
  slots: {};
114
114
  events: {
115
115
  /**
@@ -8,14 +8,14 @@ declare class __sveltets_Render<W extends number | string | boolean | unknown> {
8
8
  * @default `1` \
9
9
  * Or `64` if value is `number` and `graph` is `true`.
10
10
  */
11
- bufferSize?: number | undefined;
11
+ bufferSize?: number;
12
12
  /**
13
13
  * Time between value samples in milliseconds.
14
14
  *
15
15
  * Useful when `graph` is true. Defaults to reactive value updates only (`interval={0}`).
16
16
  * @default `0`
17
17
  */
18
- interval?: number | undefined;
18
+ interval?: number;
19
19
  /**
20
20
  * Number of visible rows of state history.
21
21
  *
@@ -24,7 +24,7 @@ declare class __sveltets_Render<W extends number | string | boolean | unknown> {
24
24
  * @default `1` \
25
25
  * Or `3` if value is `string` and `multiline` is `true`.
26
26
  */
27
- rows?: number | undefined;
27
+ rows?: number;
28
28
  } & {
29
29
  /**
30
30
  * A value to monitor.
@@ -44,7 +44,7 @@ declare class __sveltets_Render<W extends number | string | boolean | unknown> {
44
44
  * Prevent interactivity and gray out the control.
45
45
  * @default `false`
46
46
  */
47
- disabled?: boolean | undefined;
47
+ disabled?: boolean;
48
48
  /**
49
49
  * Text displayed next to control.
50
50
  * @default `undefined`
@@ -108,7 +108,7 @@ declare class __sveltets_Render<W extends number | string | boolean | unknown> {
108
108
  *
109
109
  * @default `undefined`
110
110
  */
111
- plugin?: import('tweakpane').TpPluginBundle | undefined;
111
+ plugin?: import('..').Plugin | undefined;
112
112
  },
113
113
  'object' | 'key'
114
114
  >,
@@ -127,7 +127,7 @@ declare class __sveltets_Render<W extends number | string | boolean | unknown> {
127
127
  * Display multiline strings.
128
128
  * @default `false`
129
129
  */
130
- multiline?: boolean | undefined;
130
+ multiline?: boolean;
131
131
  } & Omit<
132
132
  {
133
133
  /**
@@ -135,14 +135,14 @@ declare class __sveltets_Render<W extends number | string | boolean | unknown> {
135
135
  * @default `1` \
136
136
  * Or `64` if value is `number` and `graph` is `true`.
137
137
  */
138
- bufferSize?: number | undefined;
138
+ bufferSize?: number;
139
139
  /**
140
140
  * Time between value samples in milliseconds.
141
141
  *
142
142
  * Useful when `graph` is true. Defaults to reactive value updates only (`interval={0}`).
143
143
  * @default `0`
144
144
  */
145
- interval?: number | undefined;
145
+ interval?: number;
146
146
  /**
147
147
  * Number of visible rows of state history.
148
148
  *
@@ -151,7 +151,7 @@ declare class __sveltets_Render<W extends number | string | boolean | unknown> {
151
151
  * @default `1` \
152
152
  * Or `3` if value is `string` and `multiline` is `true`.
153
153
  */
154
- rows?: number | undefined;
154
+ rows?: number;
155
155
  } & {
156
156
  /**
157
157
  * A value to monitor.
@@ -171,7 +171,7 @@ declare class __sveltets_Render<W extends number | string | boolean | unknown> {
171
171
  * Prevent interactivity and gray out the control.
172
172
  * @default `false`
173
173
  */
174
- disabled?: boolean | undefined;
174
+ disabled?: boolean;
175
175
  /**
176
176
  * Text displayed next to control.
177
177
  * @default `undefined`
@@ -225,7 +225,7 @@ declare class __sveltets_Render<W extends number | string | boolean | unknown> {
225
225
  *
226
226
  * @default `undefined`
227
227
  */
228
- plugin?: import('tweakpane').TpPluginBundle | undefined;
228
+ plugin?: import('..').Plugin | undefined;
229
229
  },
230
230
  'object' | 'key'
231
231
  >,
@@ -245,14 +245,14 @@ declare class __sveltets_Render<W extends number | string | boolean | unknown> {
245
245
  * @default `1` \
246
246
  * Or `64` if value is `number` and `graph` is `true`.
247
247
  */
248
- bufferSize?: number | undefined;
248
+ bufferSize?: number;
249
249
  /**
250
250
  * Time between value samples in milliseconds.
251
251
  *
252
252
  * Useful when `graph` is true. Defaults to reactive value updates only (`interval={0}`).
253
253
  * @default `0`
254
254
  */
255
- interval?: number | undefined;
255
+ interval?: number;
256
256
  /**
257
257
  * Number of visible rows of state history.
258
258
  *
@@ -261,7 +261,7 @@ declare class __sveltets_Render<W extends number | string | boolean | unknown> {
261
261
  * @default `1` \
262
262
  * Or `3` if value is `string` and `multiline` is `true`.
263
263
  */
264
- rows?: number | undefined;
264
+ rows?: number;
265
265
  } & {
266
266
  /**
267
267
  * A value to monitor.
@@ -281,7 +281,7 @@ declare class __sveltets_Render<W extends number | string | boolean | unknown> {
281
281
  * Prevent interactivity and gray out the control.
282
282
  * @default `false`
283
283
  */
284
- disabled?: boolean | undefined;
284
+ disabled?: boolean;
285
285
  /**
286
286
  * Text displayed next to control.
287
287
  * @default `undefined`
@@ -335,7 +335,7 @@ declare class __sveltets_Render<W extends number | string | boolean | unknown> {
335
335
  *
336
336
  * @default `undefined`
337
337
  */
338
- plugin?: import('tweakpane').TpPluginBundle | undefined;
338
+ plugin?: import('..').Plugin | undefined;
339
339
  },
340
340
  'object' | 'key'
341
341
  >,
@@ -352,23 +352,23 @@ declare class __sveltets_Render<W extends number | string | boolean | unknown> {
352
352
  * Minimum bound when `graph` is true.
353
353
  * @default `0`
354
354
  */
355
- min?: number | undefined;
355
+ min?: number;
356
356
  /**
357
357
  * Maximum bound when `graph` is true.
358
358
  * @default `100`
359
359
  */
360
- max?: number | undefined;
360
+ max?: number;
361
361
  /**
362
362
  * A function to customize the number's string representation (e.g. rounding, etc.).
363
363
  * @default `undefined` \
364
364
  * Normal `.toString()` formatting.
365
365
  */
366
- format?: ((value: number) => string) | undefined;
366
+ format?: (value: number) => string;
367
367
  /**
368
368
  * Display a graph of the value's changes over time.
369
369
  * @default `false`
370
370
  */
371
- graph?: boolean | undefined;
371
+ graph?: boolean;
372
372
  } & Omit<
373
373
  {
374
374
  /**
@@ -376,14 +376,14 @@ declare class __sveltets_Render<W extends number | string | boolean | unknown> {
376
376
  * @default `1` \
377
377
  * Or `64` if value is `number` and `graph` is `true`.
378
378
  */
379
- bufferSize?: number | undefined;
379
+ bufferSize?: number;
380
380
  /**
381
381
  * Time between value samples in milliseconds.
382
382
  *
383
383
  * Useful when `graph` is true. Defaults to reactive value updates only (`interval={0}`).
384
384
  * @default `0`
385
385
  */
386
- interval?: number | undefined;
386
+ interval?: number;
387
387
  /**
388
388
  * Number of visible rows of state history.
389
389
  *
@@ -392,7 +392,7 @@ declare class __sveltets_Render<W extends number | string | boolean | unknown> {
392
392
  * @default `1` \
393
393
  * Or `3` if value is `string` and `multiline` is `true`.
394
394
  */
395
- rows?: number | undefined;
395
+ rows?: number;
396
396
  } & {
397
397
  /**
398
398
  * A value to monitor.
@@ -412,7 +412,7 @@ declare class __sveltets_Render<W extends number | string | boolean | unknown> {
412
412
  * Prevent interactivity and gray out the control.
413
413
  * @default `false`
414
414
  */
415
- disabled?: boolean | undefined;
415
+ disabled?: boolean;
416
416
  /**
417
417
  * Text displayed next to control.
418
418
  * @default `undefined`
@@ -466,7 +466,7 @@ declare class __sveltets_Render<W extends number | string | boolean | unknown> {
466
466
  *
467
467
  * @default `undefined`
468
468
  */
469
- plugin?: import('tweakpane').TpPluginBundle | undefined;
469
+ plugin?: import('..').Plugin | undefined;
470
470
  },
471
471
  'object' | 'key'
472
472
  >,
@@ -477,7 +477,7 @@ declare class __sveltets_Render<W extends number | string | boolean | unknown> {
477
477
  * A value to monitor.
478
478
  * @bindable
479
479
  * */
480
- value: string | number | boolean;
480
+ value: boolean | number | string;
481
481
  }
482
482
  : never
483
483
  : never)
@@ -488,14 +488,14 @@ declare class __sveltets_Render<W extends number | string | boolean | unknown> {
488
488
  * @default `1` \
489
489
  * Or `64` if value is `number` and `graph` is `true`.
490
490
  */
491
- bufferSize?: number | undefined;
491
+ bufferSize?: number;
492
492
  /**
493
493
  * Time between value samples in milliseconds.
494
494
  *
495
495
  * Useful when `graph` is true. Defaults to reactive value updates only (`interval={0}`).
496
496
  * @default `0`
497
497
  */
498
- interval?: number | undefined;
498
+ interval?: number;
499
499
  /**
500
500
  * Number of visible rows of state history.
501
501
  *
@@ -504,7 +504,7 @@ declare class __sveltets_Render<W extends number | string | boolean | unknown> {
504
504
  * @default `1` \
505
505
  * Or `3` if value is `string` and `multiline` is `true`.
506
506
  */
507
- rows?: number | undefined;
507
+ rows?: number;
508
508
  } & {
509
509
  /**
510
510
  * A value to monitor.
@@ -525,7 +525,7 @@ declare class __sveltets_Render<W extends number | string | boolean | unknown> {
525
525
  * Prevent interactivity and gray out the control.
526
526
  * @default `false`
527
527
  */
528
- disabled?: boolean | undefined;
528
+ disabled?: boolean;
529
529
  /**
530
530
  * Text displayed next to control.
531
531
  * @default `undefined`
@@ -581,7 +581,7 @@ declare class __sveltets_Render<W extends number | string | boolean | unknown> {
581
581
  *
582
582
  * @default `undefined`
583
583
  */
584
- plugin?: import('tweakpane').TpPluginBundle | undefined;
584
+ plugin?: import('..').Plugin | undefined;
585
585
  },
586
586
  'object' | 'key'
587
587
  >,
@@ -1,10 +1,10 @@
1
1
  <script context="module"></script>
2
2
 
3
3
  <script>
4
- import * as pluginModule from '@kitschpatrol/tweakpane-plugin-profiler';
5
4
  import Blade from '../core/Blade.svelte';
6
5
  import ClsPad from '../internal/ClsPad.svelte';
7
6
  import { fillWith } from '../utils';
7
+ import * as pluginModule from '@kitschpatrol/tweakpane-plugin-profiler';
8
8
  import { BROWSER } from 'esm-env';
9
9
  import { createEventDispatcher, onDestroy } from 'svelte';
10
10
  function _measure(name, functionToMeasure) {