svelte-tweakpane-ui 1.1.2 → 1.1.4
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.
- package/dist/{core → control}/Button.svelte.d.ts +1 -1
- package/dist/control/ButtonGrid.svelte.d.ts +1 -1
- package/dist/control/Checkbox.svelte.d.ts +1 -1
- package/dist/control/Color.svelte.d.ts +1 -1
- package/dist/control/CubicBezier.svelte.d.ts +1 -1
- package/dist/control/IntervalSlider.svelte.d.ts +1 -1
- package/dist/control/List.svelte.d.ts +1 -1
- package/dist/control/Point.svelte.d.ts +1 -1
- package/dist/control/RadioGrid.svelte.d.ts +1 -1
- package/dist/control/Ring.svelte.d.ts +1 -1
- package/dist/control/RotationEuler.svelte.d.ts +1 -1
- package/dist/control/RotationQuaternion.svelte.d.ts +1 -1
- package/dist/control/Slider.svelte.d.ts +1 -1
- package/dist/control/Text.svelte.d.ts +1 -1
- package/dist/control/Textarea.svelte.d.ts +1 -1
- package/dist/control/Wheel.svelte.d.ts +1 -1
- package/dist/core/Separator.svelte.d.ts +1 -1
- package/dist/extra/AutoValue.svelte.d.ts +1 -1
- package/dist/extra/Element.svelte.d.ts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +2 -2
- package/dist/internal/InternalMonitorBoolean.svelte.d.ts +1 -1
- package/dist/internal/InternalMonitorNumber.svelte.d.ts +1 -1
- package/dist/internal/InternalMonitorString.svelte.d.ts +1 -1
- package/dist/monitor/FpsGraph.svelte.d.ts +1 -1
- package/dist/monitor/Monitor.svelte.d.ts +4 -4
- package/dist/monitor/Profiler.svelte.d.ts +1 -1
- package/dist/monitor/WaveformMonitor.svelte.d.ts +1 -1
- package/package.json +15 -15
- /package/dist/{core → control}/Button.svelte +0 -0
|
@@ -59,7 +59,7 @@ export type ButtonSlots = typeof __propDef.slots;
|
|
|
59
59
|
* ```
|
|
60
60
|
*
|
|
61
61
|
* @sourceLink
|
|
62
|
-
* [Button.svelte](https://github.com/kitschpatrol/svelte-tweakpane-ui/blob/main/src/lib/
|
|
62
|
+
* [Button.svelte](https://github.com/kitschpatrol/svelte-tweakpane-ui/blob/main/src/lib/control/Button.svelte)
|
|
63
63
|
*/
|
|
64
64
|
export default class Button extends SvelteComponent<ButtonProps, ButtonEvents, ButtonSlots> {}
|
|
65
65
|
export {};
|
|
@@ -50,7 +50,7 @@ declare const __propDef: {
|
|
|
50
50
|
*/
|
|
51
51
|
plugin?: import('tweakpane').TpPluginBundle | undefined;
|
|
52
52
|
},
|
|
53
|
-
'
|
|
53
|
+
'ref' | 'options' | 'plugin'
|
|
54
54
|
> & {
|
|
55
55
|
/**
|
|
56
56
|
* Array of names, each of which will become the title of a button in the grid.
|
|
@@ -141,7 +141,7 @@ declare class __sveltets_Render<T extends PointValue2d | PointValue3d | PointVal
|
|
|
141
141
|
*/
|
|
142
142
|
userExpandable?: boolean | undefined;
|
|
143
143
|
},
|
|
144
|
-
'
|
|
144
|
+
'ref' | 'options' | 'plugin' | 'buttonClass'
|
|
145
145
|
> & {
|
|
146
146
|
/**
|
|
147
147
|
* A 2D, 3D, or 4D point object to control.
|
|
@@ -41,7 +41,7 @@ declare const __propDef: {
|
|
|
41
41
|
*/
|
|
42
42
|
plugin?: import('tweakpane').TpPluginBundle | undefined;
|
|
43
43
|
},
|
|
44
|
-
'
|
|
44
|
+
'ref' | 'disabled' | 'options' | 'plugin'
|
|
45
45
|
> & {
|
|
46
46
|
/**
|
|
47
47
|
* Maximum height of the element block, in pixels. By default, the element
|
package/dist/index.d.ts
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
export { type ButtonClickEvent, default as Button } from './control/Button.svelte';
|
|
1
2
|
export { type ButtonGridClickEvent, default as ButtonGrid } from './control/ButtonGrid.svelte';
|
|
2
3
|
export { default as Checkbox } from './control/Checkbox.svelte';
|
|
3
4
|
export {
|
|
@@ -66,7 +67,6 @@ export { default as Textarea } from './control/Textarea.svelte';
|
|
|
66
67
|
export { default as Wheel } from './control/Wheel.svelte';
|
|
67
68
|
export { type BindingOptions, type BindingRef, default as Binding } from './core/Binding.svelte';
|
|
68
69
|
export { type BladeOptions, type BladeRef, default as Blade } from './core/Blade.svelte';
|
|
69
|
-
export { type ButtonClickEvent, default as Button } from './core/Button.svelte';
|
|
70
70
|
export { default as Folder } from './core/Folder.svelte';
|
|
71
71
|
export { type PanePosition, default as Pane } from './core/Pane.svelte';
|
|
72
72
|
export { default as Separator } from './core/Separator.svelte';
|
package/dist/index.js
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
// Components
|
|
2
|
-
|
|
2
|
+
export { default as Button } from './control/Button.svelte';
|
|
3
|
+
// Essentials (1st party plugins)
|
|
3
4
|
export { default as ButtonGrid } from './control/ButtonGrid.svelte';
|
|
4
5
|
export { default as Checkbox } from './control/Checkbox.svelte';
|
|
5
6
|
export { default as Color } from './control/Color.svelte';
|
|
@@ -21,7 +22,6 @@ export { default as Wheel } from './control/Wheel.svelte';
|
|
|
21
22
|
// Core (tweakpane building blocks)
|
|
22
23
|
export { default as Binding } from './core/Binding.svelte';
|
|
23
24
|
export { default as Blade } from './core/Blade.svelte';
|
|
24
|
-
export { default as Button } from './core/Button.svelte';
|
|
25
25
|
export { default as Folder } from './core/Folder.svelte';
|
|
26
26
|
export { default as Pane } from './core/Pane.svelte';
|
|
27
27
|
export { default as Separator } from './core/Separator.svelte';
|
|
@@ -101,7 +101,7 @@ declare class __sveltets_Render<W extends number | string | boolean | unknown> {
|
|
|
101
101
|
*/
|
|
102
102
|
rows?: number | undefined;
|
|
103
103
|
},
|
|
104
|
-
'
|
|
104
|
+
'ref' | 'options' | 'plugin'
|
|
105
105
|
> &
|
|
106
106
|
(W extends string
|
|
107
107
|
? Omit<
|
|
@@ -197,7 +197,7 @@ declare class __sveltets_Render<W extends number | string | boolean | unknown> {
|
|
|
197
197
|
*/
|
|
198
198
|
rows?: number | undefined;
|
|
199
199
|
},
|
|
200
|
-
'
|
|
200
|
+
'ref' | 'options' | 'plugin' | 'interval'
|
|
201
201
|
> & {
|
|
202
202
|
/**
|
|
203
203
|
* A value to monitor.
|
|
@@ -304,7 +304,7 @@ declare class __sveltets_Render<W extends number | string | boolean | unknown> {
|
|
|
304
304
|
*/
|
|
305
305
|
rows?: number | undefined;
|
|
306
306
|
},
|
|
307
|
-
'
|
|
307
|
+
'ref' | 'options' | 'plugin' | 'interval'
|
|
308
308
|
> & {
|
|
309
309
|
/**
|
|
310
310
|
* A value to monitor.
|
|
@@ -406,7 +406,7 @@ declare class __sveltets_Render<W extends number | string | boolean | unknown> {
|
|
|
406
406
|
*/
|
|
407
407
|
rows?: number | undefined;
|
|
408
408
|
},
|
|
409
|
-
'
|
|
409
|
+
'ref' | 'options' | 'plugin'
|
|
410
410
|
> & {
|
|
411
411
|
/**
|
|
412
412
|
* A value to monitor.
|
|
@@ -76,7 +76,7 @@ declare const __propDef: {
|
|
|
76
76
|
*/
|
|
77
77
|
plugin?: import('tweakpane').TpPluginBundle | undefined;
|
|
78
78
|
},
|
|
79
|
-
'
|
|
79
|
+
'ref' | 'options' | 'plugin'
|
|
80
80
|
> & {
|
|
81
81
|
/**
|
|
82
82
|
* Number of duration samples from which to calculate the delta value when `calcMode` is
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "svelte-tweakpane-ui",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.4",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "Wraps UI elements from Tweakpane in a collection of idiomatic Svelte components, and augments Tweakpane with a few extra features for your convenience and enjoyment.",
|
|
6
6
|
"repository": {
|
|
@@ -27,6 +27,10 @@
|
|
|
27
27
|
"types": "./dist/index.d.ts",
|
|
28
28
|
"svelte": "./dist/index.js"
|
|
29
29
|
},
|
|
30
|
+
"./Button.svelte": {
|
|
31
|
+
"types": "./dist/control/Button.svelte.d.ts",
|
|
32
|
+
"svelte": "./dist/control/Button.svelte"
|
|
33
|
+
},
|
|
30
34
|
"./ButtonGrid.svelte": {
|
|
31
35
|
"types": "./dist/control/ButtonGrid.svelte.d.ts",
|
|
32
36
|
"svelte": "./dist/control/ButtonGrid.svelte"
|
|
@@ -99,10 +103,6 @@
|
|
|
99
103
|
"types": "./dist/core/Blade.svelte.d.ts",
|
|
100
104
|
"svelte": "./dist/core/Blade.svelte"
|
|
101
105
|
},
|
|
102
|
-
"./Button.svelte": {
|
|
103
|
-
"types": "./dist/core/Button.svelte.d.ts",
|
|
104
|
-
"svelte": "./dist/core/Button.svelte"
|
|
105
|
-
},
|
|
106
106
|
"./Folder.svelte": {
|
|
107
107
|
"types": "./dist/core/Folder.svelte.d.ts",
|
|
108
108
|
"svelte": "./dist/core/Folder.svelte"
|
|
@@ -188,24 +188,24 @@
|
|
|
188
188
|
"@0b5vr/tweakpane-plugin-rotation": "^0.2.0",
|
|
189
189
|
"@kitschpatrol/tweakpane-image-plugin": "^2.0.0",
|
|
190
190
|
"@kitschpatrol/tweakpane-textarea-plugin": "^2.0.1",
|
|
191
|
-
"@tweakpane/core": "^2.0.
|
|
191
|
+
"@tweakpane/core": "^2.0.3",
|
|
192
192
|
"@tweakpane/plugin-camerakit": "^0.3.0",
|
|
193
193
|
"@tweakpane/plugin-essentials": "^0.2.1",
|
|
194
194
|
"esm-env": "^1.0.0",
|
|
195
195
|
"nanoid": "^5.0.4",
|
|
196
196
|
"svelte-local-storage-store": "^0.6.4",
|
|
197
|
-
"tweakpane": "^4.0.
|
|
197
|
+
"tweakpane": "^4.0.3",
|
|
198
198
|
"tweakpane-plugin-waveform": "^1.0.0"
|
|
199
199
|
},
|
|
200
200
|
"devDependencies": {
|
|
201
|
-
"@kitschpatrol/shared-config": "^4.
|
|
201
|
+
"@kitschpatrol/shared-config": "^4.3.1",
|
|
202
202
|
"@phenomnomnominal/tsquery": "^6.1.3",
|
|
203
203
|
"@stkb/rewrap": "^0.1.0",
|
|
204
|
-
"@sveltejs/adapter-static": "^3.0.
|
|
205
|
-
"@sveltejs/kit": "^2.0.
|
|
206
|
-
"@sveltejs/package": "^2.2.
|
|
204
|
+
"@sveltejs/adapter-static": "^3.0.1",
|
|
205
|
+
"@sveltejs/kit": "^2.0.6",
|
|
206
|
+
"@sveltejs/package": "^2.2.4",
|
|
207
207
|
"@sveltejs/vite-plugin-svelte": "^3.0.1",
|
|
208
|
-
"@types/eslint": "^8.
|
|
208
|
+
"@types/eslint": "^8.56.0",
|
|
209
209
|
"@types/fs-extra": "^11.0.4",
|
|
210
210
|
"@types/node": "^20.10.5",
|
|
211
211
|
"bumpp": "^9.2.1",
|
|
@@ -214,7 +214,7 @@
|
|
|
214
214
|
"glob": "^10.3.10",
|
|
215
215
|
"npm-run-all": "^4.1.5",
|
|
216
216
|
"postcss-html": "^1.5.0",
|
|
217
|
-
"publint": "^0.2.
|
|
217
|
+
"publint": "^0.2.7",
|
|
218
218
|
"read-package-up": "^11.0.0",
|
|
219
219
|
"svelte": "^4.2.8",
|
|
220
220
|
"svelte-check": "^3.6.2",
|
|
@@ -222,7 +222,7 @@
|
|
|
222
222
|
"svelte2tsx": "^0.6.27",
|
|
223
223
|
"ts-morph": "^21.0.1",
|
|
224
224
|
"tslib": "^2.6.2",
|
|
225
|
-
"tsx": "^4.
|
|
225
|
+
"tsx": "^4.7.0",
|
|
226
226
|
"typescript": "^5.3.3",
|
|
227
227
|
"vite": "^5.0.10",
|
|
228
228
|
"yaml": "^2.3.4"
|
|
@@ -258,7 +258,7 @@
|
|
|
258
258
|
"lint": "shared-config --check",
|
|
259
259
|
"release": "run-s --print-label release:*",
|
|
260
260
|
"release:1-build": "pnpm run build",
|
|
261
|
-
"release:2-version": "pnpm bumpp --commit 'Release: %s' --tag '%s'",
|
|
261
|
+
"release:2-version": "pnpm bumpp --commit 'Release: %s' --tag 'v%s'",
|
|
262
262
|
"release:3-publish": "pnpm publish --ignore-scripts --otp $(op read 'op://Personal/Npmjs/one-time password?attribute=otp')",
|
|
263
263
|
"rewrap": "rewrap -i --column 100 `find src \\( -name '*.svelte' -o -name '*.ts' -o -name '*.html' \\) -type f | grep -v src/examples`",
|
|
264
264
|
"type-check": "tsc --noEmit"
|
|
File without changes
|