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.
- package/dist/control/Button.svelte.d.ts +2 -2
- package/dist/control/ButtonGrid.svelte +1 -1
- package/dist/control/ButtonGrid.svelte.d.ts +5 -5
- package/dist/control/Checkbox.svelte.d.ts +2 -2
- package/dist/control/Color.svelte +1 -1
- package/dist/control/Color.svelte.d.ts +13 -13
- package/dist/control/CubicBezier.svelte +2 -2
- package/dist/control/CubicBezier.svelte.d.ts +7 -7
- package/dist/control/Image.svelte +1 -1
- package/dist/control/Image.svelte.d.ts +4 -4
- package/dist/control/IntervalSlider.svelte +19 -2
- package/dist/control/IntervalSlider.svelte.d.ts +16 -9
- package/dist/control/List.svelte.d.ts +3 -3
- package/dist/control/Point.svelte.d.ts +26 -26
- package/dist/control/RadioGrid.svelte +1 -1
- package/dist/control/RadioGrid.svelte.d.ts +7 -7
- package/dist/control/Ring.svelte +1 -1
- package/dist/control/Ring.svelte.d.ts +16 -16
- package/dist/control/RotationEuler.svelte +1 -1
- package/dist/control/RotationEuler.svelte.d.ts +13 -40
- package/dist/control/RotationQuaternion.svelte +1 -1
- package/dist/control/RotationQuaternion.svelte.d.ts +11 -47
- package/dist/control/Slider.svelte +12 -1
- package/dist/control/Slider.svelte.d.ts +15 -8
- package/dist/control/Text.svelte.d.ts +3 -3
- package/dist/control/Textarea.svelte +1 -1
- package/dist/control/Textarea.svelte.d.ts +5 -5
- package/dist/control/Wheel.svelte +1 -1
- package/dist/control/Wheel.svelte.d.ts +14 -14
- package/dist/core/Binding.svelte.d.ts +4 -3
- package/dist/core/Blade.svelte.d.ts +3 -2
- package/dist/core/Folder.svelte.d.ts +7 -8
- package/dist/core/Pane.svelte.d.ts +29 -27
- package/dist/core/Separator.svelte.d.ts +4 -2
- package/dist/core/TabGroup.svelte.d.ts +4 -2
- package/dist/core/TabPage.svelte.d.ts +5 -3
- package/dist/extra/AutoObject.svelte +4 -4
- package/dist/extra/AutoObject.svelte.d.ts +1 -1
- package/dist/extra/AutoValue.svelte.d.ts +2 -2
- package/dist/extra/Element.svelte.d.ts +6 -4
- package/dist/index.d.ts +26 -26
- package/dist/internal/ClsPad.svelte.d.ts +5 -71
- package/dist/internal/GenericBinding.svelte.d.ts +2 -2
- package/dist/internal/GenericBladeFolding.svelte.d.ts +6 -6
- package/dist/internal/GenericInput.svelte.d.ts +2 -2
- package/dist/internal/GenericInputFolding.svelte.d.ts +6 -6
- package/dist/internal/GenericMonitor.svelte.d.ts +5 -5
- package/dist/internal/GenericPane.svelte.d.ts +6 -4
- package/dist/internal/GenericSlider.svelte +2 -1
- package/dist/internal/GenericSlider.svelte.d.ts +13 -7
- package/dist/internal/InternalMonitorBoolean.svelte.d.ts +7 -5
- package/dist/internal/InternalMonitorNumber.svelte.d.ts +11 -9
- package/dist/internal/InternalMonitorString.svelte.d.ts +9 -7
- package/dist/internal/InternalPaneDraggable.svelte +1 -1
- package/dist/internal/InternalPaneDraggable.svelte.d.ts +16 -14
- package/dist/internal/InternalPaneFixed.svelte.d.ts +9 -7
- package/dist/internal/InternalPaneInline.svelte.d.ts +7 -5
- package/dist/monitor/FpsGraph.svelte +1 -1
- package/dist/monitor/FpsGraph.svelte.d.ts +57 -57
- package/dist/monitor/Monitor.svelte.d.ts +31 -31
- package/dist/monitor/Profiler.svelte +1 -1
- package/dist/monitor/Profiler.svelte.d.ts +61 -65
- package/dist/monitor/WaveformMonitor.svelte +1 -1
- package/dist/monitor/WaveformMonitor.svelte.d.ts +14 -12
- package/dist/theme.d.ts +2 -2
- package/dist/theme.js +1 -1
- package/package.json +43 -37
- package/readme.md +7 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { SvelteComponent } from 'svelte';
|
|
2
|
-
import type { ProfilerBladeMeasureHandler } from '@kitschpatrol/tweakpane-plugin-profiler';
|
|
3
2
|
import type { Simplify } from '../utils';
|
|
3
|
+
import type { ProfilerBladeMeasureHandler } from '@kitschpatrol/tweakpane-plugin-profiler';
|
|
4
4
|
export type ProfilerCalcMode = 'frame' | 'mean' | 'median';
|
|
5
5
|
export type ProfilerMeasure = (name: string, functionToMeasure: () => void) => void;
|
|
6
6
|
export type ProfilerMeasureAsync = (
|
|
@@ -36,13 +36,13 @@ declare const __propDef: {
|
|
|
36
36
|
* @default `undefined`
|
|
37
37
|
*/
|
|
38
38
|
measureAsync?: ProfilerMeasureAsync | undefined;
|
|
39
|
-
} & {
|
|
39
|
+
} & ({
|
|
40
40
|
/**
|
|
41
41
|
* Number of duration samples from which to calculate the delta value when `calcMode` is
|
|
42
42
|
* `'mean'` or `'median'`.
|
|
43
43
|
* @default `30`
|
|
44
44
|
*/
|
|
45
|
-
bufferSize?: number
|
|
45
|
+
bufferSize?: number;
|
|
46
46
|
/**
|
|
47
47
|
* How to calculate the delta value.
|
|
48
48
|
*
|
|
@@ -50,7 +50,7 @@ declare const __propDef: {
|
|
|
50
50
|
* calculated from the samples in the buffer.
|
|
51
51
|
* @default `'mean'`
|
|
52
52
|
*/
|
|
53
|
-
calcMode?: ProfilerCalcMode
|
|
53
|
+
calcMode?: ProfilerCalcMode;
|
|
54
54
|
/**
|
|
55
55
|
* Label suffix for the delta values shown in the control.
|
|
56
56
|
*
|
|
@@ -58,12 +58,12 @@ declare const __propDef: {
|
|
|
58
58
|
* measuring something other than time.
|
|
59
59
|
* @default `'ms'`
|
|
60
60
|
* */
|
|
61
|
-
deltaUnit?: string
|
|
61
|
+
deltaUnit?: string;
|
|
62
62
|
/**
|
|
63
63
|
* Precision of the delta values shown in the control.
|
|
64
64
|
* @default `2`
|
|
65
65
|
*/
|
|
66
|
-
fractionDigits?: number
|
|
66
|
+
fractionDigits?: number;
|
|
67
67
|
/**
|
|
68
68
|
* Milliseconds between updates to the profiler visualization and delta label text.
|
|
69
69
|
*
|
|
@@ -71,12 +71,12 @@ declare const __propDef: {
|
|
|
71
71
|
* is determined by your calls to the bound `measure` function.
|
|
72
72
|
* @default `500`
|
|
73
73
|
*/
|
|
74
|
-
interval?: number
|
|
74
|
+
interval?: number;
|
|
75
75
|
/**
|
|
76
76
|
* Text displayed next to the profiler visualization.
|
|
77
77
|
* @default `undefined`
|
|
78
78
|
* */
|
|
79
|
-
label?: string
|
|
79
|
+
label?: string;
|
|
80
80
|
/**
|
|
81
81
|
* Function handle that wraps another function to measure its execution duration.
|
|
82
82
|
*
|
|
@@ -89,7 +89,7 @@ declare const __propDef: {
|
|
|
89
89
|
* @readonly
|
|
90
90
|
* @default `undefined`
|
|
91
91
|
*/
|
|
92
|
-
measure?: ProfilerMeasure
|
|
92
|
+
measure?: ProfilerMeasure;
|
|
93
93
|
/**
|
|
94
94
|
* Async variation of function handle that wraps another function to measure its execution
|
|
95
95
|
* duration.
|
|
@@ -101,7 +101,7 @@ declare const __propDef: {
|
|
|
101
101
|
* @readonly
|
|
102
102
|
* @default `undefined`
|
|
103
103
|
*/
|
|
104
|
-
measureAsync?: ProfilerMeasureAsync
|
|
104
|
+
measureAsync?: ProfilerMeasureAsync;
|
|
105
105
|
/**
|
|
106
106
|
* Function wrapping the `measure` function.
|
|
107
107
|
*
|
|
@@ -109,65 +109,61 @@ declare const __propDef: {
|
|
|
109
109
|
* @default [`new
|
|
110
110
|
* ProfilerBladeDefaultMeasureHandler()`](https://github.com/kitschpatrol/tweakpane-plugin-profiler/blob/dev/src/ProfilerBladeDefaultMeasureHandler.ts)
|
|
111
111
|
*/
|
|
112
|
-
measureHandler?:
|
|
113
|
-
| {
|
|
114
|
-
measureStart: () => () => number | Promise<number>;
|
|
115
|
-
}
|
|
116
|
-
| undefined;
|
|
112
|
+
measureHandler?: ProfilerMeasureHandler;
|
|
117
113
|
/**
|
|
118
114
|
* Determines the horizontal scale and color mapping of the profiler visualization bars.
|
|
119
115
|
* @default `16.67` \
|
|
120
116
|
* 60fps.
|
|
121
117
|
*/
|
|
122
|
-
targetDelta?: number
|
|
118
|
+
targetDelta?: number;
|
|
123
119
|
} & Omit<
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
120
|
+
{
|
|
121
|
+
/**
|
|
122
|
+
* Blade configuration exposing Tweakpane's internal
|
|
123
|
+
* [`BladeParams`](https://tweakpane.github.io/docs/api/interfaces/BaseBladeParams.html).
|
|
124
|
+
*
|
|
125
|
+
*/
|
|
126
|
+
options: ProfilerOptions;
|
|
127
|
+
/**
|
|
128
|
+
* Prevent interactivity and gray out the control.
|
|
129
|
+
* @default `false`
|
|
130
|
+
*/
|
|
131
|
+
disabled?: boolean;
|
|
132
|
+
/**
|
|
133
|
+
* Custom color scheme.
|
|
134
|
+
* @default `undefined` \
|
|
135
|
+
* Inherits default Tweakpane theme equivalent to `ThemeUtils.presets.standard`, or the theme
|
|
136
|
+
* set with `setGlobalDefaultTheme()`.
|
|
137
|
+
*/
|
|
138
|
+
theme?: import('..').Theme | undefined;
|
|
139
|
+
/**
|
|
140
|
+
* Reference to internal Tweakpane
|
|
141
|
+
* [`BladeApi`](https://tweakpane.github.io/docs/api/classes/BladeApi.html) for this blade.
|
|
142
|
+
*
|
|
143
|
+
* This property is exposed for advanced use cases only, such as when implementing convenience
|
|
144
|
+
* components wrapping `<Blade>`'s functionality.
|
|
145
|
+
*
|
|
146
|
+
* Direct manipulation of Tweakpane's internals can break _Svelte Tweakpane UI_ abstractions.
|
|
147
|
+
*
|
|
148
|
+
* @bindable
|
|
149
|
+
* @readonly
|
|
150
|
+
*/
|
|
151
|
+
ref?: ProfilerRef | undefined;
|
|
152
|
+
/**
|
|
153
|
+
* Imported Tweakpane `TpPluginBundle` (aliased as `Plugin`) module to automatically register in
|
|
154
|
+
* the `<Blade>`'s containing `<Pane>`.
|
|
155
|
+
*
|
|
156
|
+
* This property is exposed for advanced use cases only, such as when implementing convenience
|
|
157
|
+
* components wrapping `<Blade>`'s functionality in combination with a Tweakpane plugin.
|
|
158
|
+
*
|
|
159
|
+
* Direct manipulation of Tweakpane's internals can break _Svelte Tweakpane UI_ abstractions.
|
|
160
|
+
*
|
|
161
|
+
* @default `undefined`
|
|
162
|
+
*/
|
|
163
|
+
plugin?: import('../utils').Plugin | undefined;
|
|
164
|
+
},
|
|
165
|
+
'ref' | 'options' | 'plugin'
|
|
166
|
+
>);
|
|
171
167
|
slots: {};
|
|
172
168
|
events: {
|
|
173
169
|
/**
|
|
@@ -189,8 +185,8 @@ export type ProfilerSlots = typeof __propDef.slots;
|
|
|
189
185
|
* Configured to measure a function's execution duration by default, but can be customized to measure
|
|
190
186
|
* anything.
|
|
191
187
|
*
|
|
192
|
-
* Integrates [
|
|
193
|
-
* [tweakpane-plugin-profiler](https://github.com/
|
|
188
|
+
* Integrates [0b5vr's](https://0b5vr.com)
|
|
189
|
+
* [tweakpane-plugin-profiler](https://github.com/0b5vr/tweakpane-plugin-profiler).
|
|
194
190
|
*
|
|
195
191
|
* See `<FpsGraph>` for a simpler alternative optimized for framerate visualization.
|
|
196
192
|
*
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
<script context="module"></script>
|
|
2
2
|
|
|
3
3
|
<script>
|
|
4
|
-
import * as pluginModule from '@kitschpatrol/tweakpane-plugin-waveform';
|
|
5
4
|
import ClsPad from '../internal/ClsPad.svelte';
|
|
6
5
|
import GenericMonitor from '../internal/GenericMonitor.svelte';
|
|
7
6
|
import { fillWith } from '../utils';
|
|
7
|
+
import * as pluginModule from '@kitschpatrol/tweakpane-plugin-waveform';
|
|
8
8
|
import { BROWSER } from 'esm-env';
|
|
9
9
|
export let value;
|
|
10
10
|
export let max = void 0;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { SvelteComponent } from 'svelte';
|
|
2
|
-
export type WaveformMonitorValue = Uint8Array | Uint16Array | Uint32Array
|
|
2
|
+
export type WaveformMonitorValue = number[] | Uint8Array | Uint16Array | Uint32Array;
|
|
3
3
|
import type { WaveformStyles as WaveformMonitorLineStyle } from '@kitschpatrol/tweakpane-plugin-waveform/dist/types/view/waveform.js';
|
|
4
4
|
declare const __propDef: {
|
|
5
5
|
props: {
|
|
@@ -12,17 +12,17 @@ declare const __propDef: {
|
|
|
12
12
|
* Minimum graph bound.
|
|
13
13
|
* @default `0`
|
|
14
14
|
* */
|
|
15
|
-
min?: number
|
|
15
|
+
min?: number;
|
|
16
16
|
/**
|
|
17
17
|
* Maximum graph bound.
|
|
18
18
|
* @default `100`
|
|
19
19
|
* */
|
|
20
|
-
max?: number
|
|
20
|
+
max?: number;
|
|
21
21
|
/**
|
|
22
22
|
* Line style.
|
|
23
23
|
* @default `'linear''`
|
|
24
24
|
* */
|
|
25
|
-
lineStyle?: '
|
|
25
|
+
lineStyle?: 'bezier' | 'linear';
|
|
26
26
|
} & Omit<
|
|
27
27
|
{
|
|
28
28
|
/**
|
|
@@ -30,14 +30,14 @@ declare const __propDef: {
|
|
|
30
30
|
* @default `1` \
|
|
31
31
|
* Or `64` if value is `number` and `graph` is `true`.
|
|
32
32
|
*/
|
|
33
|
-
bufferSize?: number
|
|
33
|
+
bufferSize?: number;
|
|
34
34
|
/**
|
|
35
35
|
* Time between value samples in milliseconds.
|
|
36
36
|
*
|
|
37
37
|
* Useful when `graph` is true. Defaults to reactive value updates only (`interval={0}`).
|
|
38
38
|
* @default `0`
|
|
39
39
|
*/
|
|
40
|
-
interval?: number
|
|
40
|
+
interval?: number;
|
|
41
41
|
/**
|
|
42
42
|
* Number of visible rows of state history.
|
|
43
43
|
*
|
|
@@ -46,7 +46,7 @@ declare const __propDef: {
|
|
|
46
46
|
* @default `1` \
|
|
47
47
|
* Or `3` if value is `string` and `multiline` is `true`.
|
|
48
48
|
*/
|
|
49
|
-
rows?: number
|
|
49
|
+
rows?: number;
|
|
50
50
|
} & {
|
|
51
51
|
/**
|
|
52
52
|
* Waveform values.
|
|
@@ -66,7 +66,7 @@ declare const __propDef: {
|
|
|
66
66
|
* Prevent interactivity and gray out the control.
|
|
67
67
|
* @default `false`
|
|
68
68
|
*/
|
|
69
|
-
disabled?: boolean
|
|
69
|
+
disabled?: boolean;
|
|
70
70
|
/**
|
|
71
71
|
* Text displayed next to control.
|
|
72
72
|
* @default `undefined`
|
|
@@ -86,9 +86,9 @@ declare const __propDef: {
|
|
|
86
86
|
*/
|
|
87
87
|
options?:
|
|
88
88
|
| ({
|
|
89
|
-
min?: number
|
|
90
|
-
max?: number
|
|
91
|
-
lineStyle?: WaveformMonitorLineStyle
|
|
89
|
+
min?: number;
|
|
90
|
+
max?: number;
|
|
91
|
+
lineStyle?: WaveformMonitorLineStyle;
|
|
92
92
|
} & import('@tweakpane/core').BaseMonitorParams)
|
|
93
93
|
| undefined;
|
|
94
94
|
/**
|
|
@@ -124,7 +124,7 @@ declare const __propDef: {
|
|
|
124
124
|
*
|
|
125
125
|
* @default `undefined`
|
|
126
126
|
*/
|
|
127
|
-
plugin?: import('
|
|
127
|
+
plugin?: import('../utils').Plugin | undefined;
|
|
128
128
|
},
|
|
129
129
|
'object' | 'key'
|
|
130
130
|
>,
|
|
@@ -134,6 +134,8 @@ declare const __propDef: {
|
|
|
134
134
|
[evt: string]: CustomEvent<any>;
|
|
135
135
|
};
|
|
136
136
|
slots: {};
|
|
137
|
+
exports?: {} | undefined;
|
|
138
|
+
bindings?: string | undefined;
|
|
137
139
|
};
|
|
138
140
|
export type WaveformMonitorProps = typeof __propDef.props;
|
|
139
141
|
export type WaveformMonitorEvents = typeof __propDef.events;
|
package/dist/theme.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { type RgbColorObject, type RgbaColorObject } from '@tweakpane/core';
|
|
2
1
|
import type { Simplify } from './utils';
|
|
3
|
-
|
|
2
|
+
import { type RgbaColorObject, type RgbColorObject } from '@tweakpane/core';
|
|
3
|
+
export type ThemeColorValue = Simplify<RgbaColorObject | RgbColorObject | string>;
|
|
4
4
|
export type Theme = CustomThemeKeys & ThemeKeys;
|
|
5
5
|
type ThemeKeys = {
|
|
6
6
|
baseBackgroundColor?: ThemeColorValue;
|
package/dist/theme.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { getWindowDocument,
|
|
1
|
+
import { getWindowDocument, isRgbaColorObject, isRgbColorObject } from '@tweakpane/core';
|
|
2
2
|
// Standard Tweakpane themes from https://tweakpane.github.io/docs/theming/#builder Must be kept in
|
|
3
3
|
// sync with TP...
|
|
4
4
|
const standard = {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "svelte-tweakpane-ui",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.3.1",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "A Svelte component library wrapping UI elements from Tweakpane, plus some additional functionality for convenience and flexibility.",
|
|
6
6
|
"repository": {
|
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
"license": "MIT",
|
|
21
21
|
"engines": {
|
|
22
22
|
"node": ">=18.0.0",
|
|
23
|
-
"pnpm": ">=
|
|
23
|
+
"pnpm": ">=9.0.0"
|
|
24
24
|
},
|
|
25
25
|
"exports": {
|
|
26
26
|
".": {
|
|
@@ -178,57 +178,62 @@
|
|
|
178
178
|
"svelte-components",
|
|
179
179
|
"ui-components",
|
|
180
180
|
"components-library",
|
|
181
|
+
"front-end",
|
|
181
182
|
"npm-package"
|
|
182
183
|
],
|
|
183
184
|
"peerDependencies": {
|
|
184
185
|
"svelte": "^4.0.0"
|
|
185
186
|
},
|
|
186
187
|
"dependencies": {
|
|
187
|
-
"@kitschpatrol/tweakpane-plugin-camerakit": "
|
|
188
|
-
"@kitschpatrol/tweakpane-plugin-essentials": "
|
|
189
|
-
"@kitschpatrol/tweakpane-plugin-image": "
|
|
190
|
-
"@kitschpatrol/tweakpane-plugin-profiler": "
|
|
191
|
-
"@kitschpatrol/tweakpane-plugin-rotation": "
|
|
192
|
-
"@kitschpatrol/tweakpane-plugin-textarea": "
|
|
193
|
-
"@kitschpatrol/tweakpane-plugin-waveform": "
|
|
194
|
-
"@tweakpane/core": "2.0.
|
|
188
|
+
"@kitschpatrol/tweakpane-plugin-camerakit": "0.3.1-beta.2",
|
|
189
|
+
"@kitschpatrol/tweakpane-plugin-essentials": "0.2.2-beta.2",
|
|
190
|
+
"@kitschpatrol/tweakpane-plugin-image": "2.0.1-beta.4",
|
|
191
|
+
"@kitschpatrol/tweakpane-plugin-profiler": "0.4.2-beta.2",
|
|
192
|
+
"@kitschpatrol/tweakpane-plugin-rotation": "0.2.1-beta.1",
|
|
193
|
+
"@kitschpatrol/tweakpane-plugin-textarea": "2.0.1-beta.1",
|
|
194
|
+
"@kitschpatrol/tweakpane-plugin-waveform": "1.0.4-beta.2",
|
|
195
|
+
"@tweakpane/core": "2.0.4",
|
|
195
196
|
"esm-env": "1.0.0",
|
|
196
|
-
"fast-copy": "3.0.
|
|
197
|
+
"fast-copy": "3.0.2",
|
|
197
198
|
"fast-equals": "5.0.1",
|
|
198
199
|
"nanoid": "5.0.6",
|
|
199
|
-
"svelte-
|
|
200
|
-
"tweakpane": "4.0.
|
|
200
|
+
"svelte-persisted-store": "0.11.0",
|
|
201
|
+
"tweakpane": "4.0.4"
|
|
201
202
|
},
|
|
202
203
|
"devDependencies": {
|
|
203
|
-
"@kitschpatrol/shared-config": "^4.
|
|
204
|
+
"@kitschpatrol/shared-config": "^4.7.10",
|
|
204
205
|
"@phenomnomnominal/tsquery": "^6.1.3",
|
|
205
|
-
"@playwright/test": "^1.
|
|
206
|
+
"@playwright/test": "^1.47.1",
|
|
206
207
|
"@stkb/rewrap": "^0.1.0",
|
|
207
|
-
"@sveltejs/adapter-static": "^3.0.
|
|
208
|
-
"@sveltejs/kit": "^2.5.
|
|
209
|
-
"@sveltejs/package": "^2.3.
|
|
210
|
-
"@sveltejs/vite-plugin-svelte": "^3.1.
|
|
211
|
-
"@types/eslint": "^8.56.
|
|
208
|
+
"@sveltejs/adapter-static": "^3.0.4",
|
|
209
|
+
"@sveltejs/kit": "^2.5.27",
|
|
210
|
+
"@sveltejs/package": "^2.3.5",
|
|
211
|
+
"@sveltejs/vite-plugin-svelte": "^3.1.2",
|
|
212
|
+
"@types/eslint": "^8.56.12",
|
|
212
213
|
"@types/fs-extra": "^11.0.4",
|
|
213
|
-
"@types/node": "
|
|
214
|
-
"bumpp": "^9.
|
|
214
|
+
"@types/node": "18.0.0",
|
|
215
|
+
"bumpp": "^9.5.2",
|
|
215
216
|
"eslint": "^8.57.0",
|
|
216
217
|
"fs-extra": "^11.2.0",
|
|
217
|
-
"glob": "^
|
|
218
|
+
"glob": "^11.0.0",
|
|
218
219
|
"npm-run-all": "^4.1.5",
|
|
219
220
|
"postcss-html": "^1.7.0",
|
|
220
|
-
"publint": "^0.2.
|
|
221
|
+
"publint": "^0.2.10",
|
|
221
222
|
"read-package-up": "^11.0.0",
|
|
222
|
-
"
|
|
223
|
-
"svelte
|
|
224
|
-
"svelte-
|
|
225
|
-
"
|
|
226
|
-
"
|
|
227
|
-
"
|
|
228
|
-
"
|
|
229
|
-
"
|
|
230
|
-
"
|
|
231
|
-
"
|
|
223
|
+
"remark-mdat": "^0.7.3",
|
|
224
|
+
"svelte": "^4.2.19",
|
|
225
|
+
"svelte-check": "^4.0.2",
|
|
226
|
+
"svelte-language-server": "^0.17.0",
|
|
227
|
+
"svelte2tsx": "^0.7.19",
|
|
228
|
+
"ts-morph": "^23.0.0",
|
|
229
|
+
"tslib": "^2.7.0",
|
|
230
|
+
"tsx": "^4.19.1",
|
|
231
|
+
"typescript": "^5.6.2",
|
|
232
|
+
"vite": "^5.4.5",
|
|
233
|
+
"yaml": "^2.5.1"
|
|
234
|
+
},
|
|
235
|
+
"publishConfig": {
|
|
236
|
+
"access": "public"
|
|
232
237
|
},
|
|
233
238
|
"scripts": {
|
|
234
239
|
"build": "run-s --print-label build:*",
|
|
@@ -245,12 +250,13 @@
|
|
|
245
250
|
"build:11-examples-to-docs": "tsx ./scripts/generate-example-components.ts",
|
|
246
251
|
"build:12-acknowledgments-data": "mkdir -p ./docs/src/content/acknowledgments && pnpm licenses list --json > ./docs/src/content/acknowledgments/acknowledgments-lib.json",
|
|
247
252
|
"build:13-build-docs": "pnpm run docs-build",
|
|
248
|
-
"check": "svelte-kit sync && svelte-check --
|
|
253
|
+
"check": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json",
|
|
249
254
|
"check-watch": "svelte-kit sync && svelte-check --ignore ./scratch --tsconfig ./tsconfig.json --watch",
|
|
250
|
-
"clean": "git clean -fdX",
|
|
255
|
+
"clean": "rm pnpm-lock.yaml ; git clean -fdX",
|
|
251
256
|
"docs-build": "pnpm -C ./docs run build",
|
|
252
257
|
"docs-dev": "pnpm -C ./docs run dev",
|
|
253
258
|
"docs-preview": "pnpm -C ./docs run preview",
|
|
259
|
+
"fix": "shared-config --fix",
|
|
254
260
|
"format": "run-s --print-label format:*",
|
|
255
261
|
"format:1-shared": "shared-config --fix",
|
|
256
262
|
"format:2-embedded": "tsx ./scripts/format-embedded-code.ts",
|
|
@@ -261,7 +267,7 @@
|
|
|
261
267
|
"lint": "shared-config --check",
|
|
262
268
|
"release": "run-s --print-label release:*",
|
|
263
269
|
"release:1-build": "pnpm run build",
|
|
264
|
-
"release:2-version": "
|
|
270
|
+
"release:2-version": "bumpp --commit 'Release: %s'",
|
|
265
271
|
"release:3-publish": "pnpm publish --ignore-scripts --otp $(op read 'op://Personal/Npmjs/one-time password?attribute=otp')",
|
|
266
272
|
"rewrap": "rewrap -i --column 100 `find src \\( -name '*.svelte' -o -name '*.ts' -o -name '*.html' \\) -type f | grep -v src/examples`",
|
|
267
273
|
"test": "run-s --print-label test:*",
|
package/readme.md
CHANGED
|
@@ -26,6 +26,7 @@
|
|
|
26
26
|
}
|
|
27
27
|
} -->
|
|
28
28
|
|
|
29
|
+
[](https://npmjs.com/package/svelte-tweakpane-ui)
|
|
29
30
|
[](https://npmjs.com/package/svelte-tweakpane-ui)
|
|
30
31
|
[](https://opensource.org/licenses/MIT)
|
|
31
32
|
[](https://madewithsvelte.com/p/svelte-tweakpane-ui/shield-link)
|
|
@@ -152,6 +153,12 @@ npm install svelte-tweakpane-ui
|
|
|
152
153
|
|
|
153
154
|
[@kitschpatrol](https://github.com/kitschpatrol)
|
|
154
155
|
|
|
156
|
+
## Acknowledgments
|
|
157
|
+
|
|
158
|
+
Thank you to [Hiroki Kokubun](https://cocopon.me) for creating the [Tweakpane](https://tweakpane.github.io/docs/) library.
|
|
159
|
+
|
|
160
|
+
Additional acknowledgments are listed [on the documentation site](https://kitschpatrol.com/svelte-tweakpane-ui/docs/acknowledgments).
|
|
161
|
+
|
|
155
162
|
<!-- footer -->
|
|
156
163
|
|
|
157
164
|
## Contributing
|