dialkit 0.2.2 → 1.0.0
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/README.md +12 -0
- package/dist/index.cjs +474 -141
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +35 -5
- package/dist/index.d.ts +35 -5
- package/dist/index.js +446 -115
- package/dist/index.js.map +1 -1
- package/dist/solid/index.cjs +2569 -0
- package/dist/solid/index.cjs.map +1 -0
- package/dist/solid/index.d.cts +225 -0
- package/dist/solid/index.d.ts +225 -0
- package/dist/solid/index.js +2530 -0
- package/dist/solid/index.js.map +1 -0
- package/dist/styles.css +7 -1
- package/package.json +31 -9
|
@@ -0,0 +1,225 @@
|
|
|
1
|
+
import * as solid_js from 'solid-js';
|
|
2
|
+
import { Accessor, JSX } from 'solid-js';
|
|
3
|
+
|
|
4
|
+
type SpringConfig = {
|
|
5
|
+
type: 'spring';
|
|
6
|
+
stiffness?: number;
|
|
7
|
+
damping?: number;
|
|
8
|
+
mass?: number;
|
|
9
|
+
visualDuration?: number;
|
|
10
|
+
bounce?: number;
|
|
11
|
+
};
|
|
12
|
+
type EasingConfig = {
|
|
13
|
+
type: 'easing';
|
|
14
|
+
duration: number;
|
|
15
|
+
ease: [number, number, number, number];
|
|
16
|
+
};
|
|
17
|
+
type TransitionConfig = SpringConfig | EasingConfig;
|
|
18
|
+
type ActionConfig = {
|
|
19
|
+
type: 'action';
|
|
20
|
+
label?: string;
|
|
21
|
+
};
|
|
22
|
+
type SelectConfig = {
|
|
23
|
+
type: 'select';
|
|
24
|
+
options: (string | {
|
|
25
|
+
value: string;
|
|
26
|
+
label: string;
|
|
27
|
+
})[];
|
|
28
|
+
default?: string;
|
|
29
|
+
};
|
|
30
|
+
type ColorConfig = {
|
|
31
|
+
type: 'color';
|
|
32
|
+
default?: string;
|
|
33
|
+
};
|
|
34
|
+
type TextConfig = {
|
|
35
|
+
type: 'text';
|
|
36
|
+
default?: string;
|
|
37
|
+
placeholder?: string;
|
|
38
|
+
};
|
|
39
|
+
type DialValue = number | boolean | string | SpringConfig | EasingConfig | ActionConfig | SelectConfig | ColorConfig | TextConfig;
|
|
40
|
+
type DialConfig = {
|
|
41
|
+
[key: string]: DialValue | [number, number, number, number?] | DialConfig;
|
|
42
|
+
};
|
|
43
|
+
type ResolvedValues<T extends DialConfig> = {
|
|
44
|
+
[K in keyof T]: T[K] extends [number, number, number, number?] ? number : T[K] extends SpringConfig ? TransitionConfig : T[K] extends EasingConfig ? TransitionConfig : T[K] extends SelectConfig ? string : T[K] extends ColorConfig ? string : T[K] extends TextConfig ? string : T[K] extends DialConfig ? ResolvedValues<T[K]> : T[K];
|
|
45
|
+
};
|
|
46
|
+
type ControlMeta = {
|
|
47
|
+
type: 'slider' | 'toggle' | 'spring' | 'transition' | 'folder' | 'action' | 'select' | 'color' | 'text';
|
|
48
|
+
path: string;
|
|
49
|
+
label: string;
|
|
50
|
+
min?: number;
|
|
51
|
+
max?: number;
|
|
52
|
+
step?: number;
|
|
53
|
+
children?: ControlMeta[];
|
|
54
|
+
defaultOpen?: boolean;
|
|
55
|
+
options?: (string | {
|
|
56
|
+
value: string;
|
|
57
|
+
label: string;
|
|
58
|
+
})[];
|
|
59
|
+
placeholder?: string;
|
|
60
|
+
};
|
|
61
|
+
type PanelConfig = {
|
|
62
|
+
id: string;
|
|
63
|
+
name: string;
|
|
64
|
+
controls: ControlMeta[];
|
|
65
|
+
values: Record<string, DialValue>;
|
|
66
|
+
};
|
|
67
|
+
type Listener = () => void;
|
|
68
|
+
type ActionListener = (action: string) => void;
|
|
69
|
+
type Preset = {
|
|
70
|
+
id: string;
|
|
71
|
+
name: string;
|
|
72
|
+
values: Record<string, DialValue>;
|
|
73
|
+
};
|
|
74
|
+
declare class DialStoreClass {
|
|
75
|
+
private panels;
|
|
76
|
+
private listeners;
|
|
77
|
+
private globalListeners;
|
|
78
|
+
private snapshots;
|
|
79
|
+
private actionListeners;
|
|
80
|
+
private presets;
|
|
81
|
+
private activePreset;
|
|
82
|
+
private baseValues;
|
|
83
|
+
registerPanel(id: string, name: string, config: DialConfig): void;
|
|
84
|
+
updatePanel(id: string, name: string, config: DialConfig): void;
|
|
85
|
+
unregisterPanel(id: string): void;
|
|
86
|
+
updateValue(panelId: string, path: string, value: DialValue): void;
|
|
87
|
+
updateSpringMode(panelId: string, path: string, mode: 'simple' | 'advanced'): void;
|
|
88
|
+
getSpringMode(panelId: string, path: string): 'simple' | 'advanced';
|
|
89
|
+
updateTransitionMode(panelId: string, path: string, mode: 'easing' | 'simple' | 'advanced'): void;
|
|
90
|
+
getTransitionMode(panelId: string, path: string): 'easing' | 'simple' | 'advanced';
|
|
91
|
+
getValue(panelId: string, path: string): DialValue | undefined;
|
|
92
|
+
getValues(panelId: string): Record<string, DialValue>;
|
|
93
|
+
getPanels(): PanelConfig[];
|
|
94
|
+
getPanel(id: string): PanelConfig | undefined;
|
|
95
|
+
subscribe(panelId: string, listener: Listener): () => void;
|
|
96
|
+
subscribeGlobal(listener: Listener): () => void;
|
|
97
|
+
subscribeActions(panelId: string, listener: ActionListener): () => void;
|
|
98
|
+
triggerAction(panelId: string, path: string): void;
|
|
99
|
+
savePreset(panelId: string, name: string): string;
|
|
100
|
+
loadPreset(panelId: string, presetId: string): void;
|
|
101
|
+
deletePreset(panelId: string, presetId: string): void;
|
|
102
|
+
getPresets(panelId: string): Preset[];
|
|
103
|
+
getActivePresetId(panelId: string): string | null;
|
|
104
|
+
clearActivePreset(panelId: string): void;
|
|
105
|
+
private notify;
|
|
106
|
+
private notifyGlobal;
|
|
107
|
+
private initTransitionModes;
|
|
108
|
+
private parseConfig;
|
|
109
|
+
private flattenValues;
|
|
110
|
+
private isSpringConfig;
|
|
111
|
+
private isEasingConfig;
|
|
112
|
+
private isActionConfig;
|
|
113
|
+
private isSelectConfig;
|
|
114
|
+
private isColorConfig;
|
|
115
|
+
private isTextConfig;
|
|
116
|
+
private isHexColor;
|
|
117
|
+
private formatLabel;
|
|
118
|
+
private inferRange;
|
|
119
|
+
private inferStep;
|
|
120
|
+
private normalizePreservedValue;
|
|
121
|
+
private roundToStep;
|
|
122
|
+
private stepPrecision;
|
|
123
|
+
private mapControlsByPath;
|
|
124
|
+
}
|
|
125
|
+
declare const DialStore: DialStoreClass;
|
|
126
|
+
|
|
127
|
+
interface CreateDialOptions {
|
|
128
|
+
onAction?: (action: string) => void;
|
|
129
|
+
}
|
|
130
|
+
declare function createDialKit<T extends DialConfig>(name: string, config: T, options?: CreateDialOptions): Accessor<ResolvedValues<T>>;
|
|
131
|
+
|
|
132
|
+
type DialPosition = 'top-right' | 'top-left' | 'bottom-right' | 'bottom-left';
|
|
133
|
+
interface DialRootProps {
|
|
134
|
+
position?: DialPosition;
|
|
135
|
+
defaultOpen?: boolean;
|
|
136
|
+
}
|
|
137
|
+
declare function DialRoot(props: DialRootProps): solid_js.JSX.Element;
|
|
138
|
+
|
|
139
|
+
interface SliderProps {
|
|
140
|
+
label: string;
|
|
141
|
+
value: number;
|
|
142
|
+
onChange: (value: number) => void;
|
|
143
|
+
min?: number;
|
|
144
|
+
max?: number;
|
|
145
|
+
step?: number;
|
|
146
|
+
unit?: string;
|
|
147
|
+
}
|
|
148
|
+
declare function Slider(props: SliderProps): solid_js.JSX.Element;
|
|
149
|
+
|
|
150
|
+
interface ToggleProps {
|
|
151
|
+
label: string;
|
|
152
|
+
checked: boolean;
|
|
153
|
+
onChange: (checked: boolean) => void;
|
|
154
|
+
}
|
|
155
|
+
declare function Toggle(props: ToggleProps): solid_js.JSX.Element;
|
|
156
|
+
|
|
157
|
+
interface FolderProps {
|
|
158
|
+
title: string;
|
|
159
|
+
children: JSX.Element;
|
|
160
|
+
defaultOpen?: boolean;
|
|
161
|
+
isRoot?: boolean;
|
|
162
|
+
onOpenChange?: (isOpen: boolean) => void;
|
|
163
|
+
toolbar?: JSX.Element;
|
|
164
|
+
}
|
|
165
|
+
declare function Folder(props: FolderProps): JSX.Element;
|
|
166
|
+
|
|
167
|
+
interface ButtonGroupProps {
|
|
168
|
+
buttons: Array<{
|
|
169
|
+
label: string;
|
|
170
|
+
onClick: () => void;
|
|
171
|
+
}>;
|
|
172
|
+
}
|
|
173
|
+
declare function ButtonGroup(props: ButtonGroupProps): solid_js.JSX.Element;
|
|
174
|
+
|
|
175
|
+
interface SpringControlProps {
|
|
176
|
+
panelId: string;
|
|
177
|
+
path: string;
|
|
178
|
+
label: string;
|
|
179
|
+
spring: SpringConfig;
|
|
180
|
+
onChange: (spring: SpringConfig) => void;
|
|
181
|
+
}
|
|
182
|
+
declare function SpringControl(props: SpringControlProps): solid_js.JSX.Element;
|
|
183
|
+
|
|
184
|
+
interface SpringVisualizationProps {
|
|
185
|
+
spring: SpringConfig;
|
|
186
|
+
isSimpleMode: boolean;
|
|
187
|
+
}
|
|
188
|
+
declare function SpringVisualization(props: SpringVisualizationProps): solid_js.JSX.Element;
|
|
189
|
+
|
|
190
|
+
interface TextControlProps {
|
|
191
|
+
label: string;
|
|
192
|
+
value: string;
|
|
193
|
+
onChange: (value: string) => void;
|
|
194
|
+
placeholder?: string;
|
|
195
|
+
}
|
|
196
|
+
declare function TextControl(props: TextControlProps): solid_js.JSX.Element;
|
|
197
|
+
|
|
198
|
+
type SelectOption = string | {
|
|
199
|
+
value: string;
|
|
200
|
+
label: string;
|
|
201
|
+
};
|
|
202
|
+
interface SelectControlProps {
|
|
203
|
+
label: string;
|
|
204
|
+
value: string;
|
|
205
|
+
options: SelectOption[];
|
|
206
|
+
onChange: (value: string) => void;
|
|
207
|
+
}
|
|
208
|
+
declare function SelectControl(props: SelectControlProps): solid_js.JSX.Element;
|
|
209
|
+
|
|
210
|
+
interface ColorControlProps {
|
|
211
|
+
label: string;
|
|
212
|
+
value: string;
|
|
213
|
+
onChange: (value: string) => void;
|
|
214
|
+
}
|
|
215
|
+
declare function ColorControl(props: ColorControlProps): solid_js.JSX.Element;
|
|
216
|
+
|
|
217
|
+
interface PresetManagerProps {
|
|
218
|
+
panelId: string;
|
|
219
|
+
presets: Preset[];
|
|
220
|
+
activePresetId: string | null;
|
|
221
|
+
onAdd: () => void;
|
|
222
|
+
}
|
|
223
|
+
declare function PresetManager(props: PresetManagerProps): solid_js.JSX.Element;
|
|
224
|
+
|
|
225
|
+
export { type ActionConfig, ButtonGroup, type ColorConfig, ColorControl, type ControlMeta, type CreateDialOptions, type DialConfig, type DialPosition, DialRoot, DialStore, type DialValue, Folder, type PanelConfig, type Preset, PresetManager, type ResolvedValues, type SelectConfig, SelectControl, Slider, type SpringConfig, SpringControl, SpringVisualization, type TextConfig, TextControl, Toggle, createDialKit };
|
|
@@ -0,0 +1,225 @@
|
|
|
1
|
+
import * as solid_js from 'solid-js';
|
|
2
|
+
import { Accessor, JSX } from 'solid-js';
|
|
3
|
+
|
|
4
|
+
type SpringConfig = {
|
|
5
|
+
type: 'spring';
|
|
6
|
+
stiffness?: number;
|
|
7
|
+
damping?: number;
|
|
8
|
+
mass?: number;
|
|
9
|
+
visualDuration?: number;
|
|
10
|
+
bounce?: number;
|
|
11
|
+
};
|
|
12
|
+
type EasingConfig = {
|
|
13
|
+
type: 'easing';
|
|
14
|
+
duration: number;
|
|
15
|
+
ease: [number, number, number, number];
|
|
16
|
+
};
|
|
17
|
+
type TransitionConfig = SpringConfig | EasingConfig;
|
|
18
|
+
type ActionConfig = {
|
|
19
|
+
type: 'action';
|
|
20
|
+
label?: string;
|
|
21
|
+
};
|
|
22
|
+
type SelectConfig = {
|
|
23
|
+
type: 'select';
|
|
24
|
+
options: (string | {
|
|
25
|
+
value: string;
|
|
26
|
+
label: string;
|
|
27
|
+
})[];
|
|
28
|
+
default?: string;
|
|
29
|
+
};
|
|
30
|
+
type ColorConfig = {
|
|
31
|
+
type: 'color';
|
|
32
|
+
default?: string;
|
|
33
|
+
};
|
|
34
|
+
type TextConfig = {
|
|
35
|
+
type: 'text';
|
|
36
|
+
default?: string;
|
|
37
|
+
placeholder?: string;
|
|
38
|
+
};
|
|
39
|
+
type DialValue = number | boolean | string | SpringConfig | EasingConfig | ActionConfig | SelectConfig | ColorConfig | TextConfig;
|
|
40
|
+
type DialConfig = {
|
|
41
|
+
[key: string]: DialValue | [number, number, number, number?] | DialConfig;
|
|
42
|
+
};
|
|
43
|
+
type ResolvedValues<T extends DialConfig> = {
|
|
44
|
+
[K in keyof T]: T[K] extends [number, number, number, number?] ? number : T[K] extends SpringConfig ? TransitionConfig : T[K] extends EasingConfig ? TransitionConfig : T[K] extends SelectConfig ? string : T[K] extends ColorConfig ? string : T[K] extends TextConfig ? string : T[K] extends DialConfig ? ResolvedValues<T[K]> : T[K];
|
|
45
|
+
};
|
|
46
|
+
type ControlMeta = {
|
|
47
|
+
type: 'slider' | 'toggle' | 'spring' | 'transition' | 'folder' | 'action' | 'select' | 'color' | 'text';
|
|
48
|
+
path: string;
|
|
49
|
+
label: string;
|
|
50
|
+
min?: number;
|
|
51
|
+
max?: number;
|
|
52
|
+
step?: number;
|
|
53
|
+
children?: ControlMeta[];
|
|
54
|
+
defaultOpen?: boolean;
|
|
55
|
+
options?: (string | {
|
|
56
|
+
value: string;
|
|
57
|
+
label: string;
|
|
58
|
+
})[];
|
|
59
|
+
placeholder?: string;
|
|
60
|
+
};
|
|
61
|
+
type PanelConfig = {
|
|
62
|
+
id: string;
|
|
63
|
+
name: string;
|
|
64
|
+
controls: ControlMeta[];
|
|
65
|
+
values: Record<string, DialValue>;
|
|
66
|
+
};
|
|
67
|
+
type Listener = () => void;
|
|
68
|
+
type ActionListener = (action: string) => void;
|
|
69
|
+
type Preset = {
|
|
70
|
+
id: string;
|
|
71
|
+
name: string;
|
|
72
|
+
values: Record<string, DialValue>;
|
|
73
|
+
};
|
|
74
|
+
declare class DialStoreClass {
|
|
75
|
+
private panels;
|
|
76
|
+
private listeners;
|
|
77
|
+
private globalListeners;
|
|
78
|
+
private snapshots;
|
|
79
|
+
private actionListeners;
|
|
80
|
+
private presets;
|
|
81
|
+
private activePreset;
|
|
82
|
+
private baseValues;
|
|
83
|
+
registerPanel(id: string, name: string, config: DialConfig): void;
|
|
84
|
+
updatePanel(id: string, name: string, config: DialConfig): void;
|
|
85
|
+
unregisterPanel(id: string): void;
|
|
86
|
+
updateValue(panelId: string, path: string, value: DialValue): void;
|
|
87
|
+
updateSpringMode(panelId: string, path: string, mode: 'simple' | 'advanced'): void;
|
|
88
|
+
getSpringMode(panelId: string, path: string): 'simple' | 'advanced';
|
|
89
|
+
updateTransitionMode(panelId: string, path: string, mode: 'easing' | 'simple' | 'advanced'): void;
|
|
90
|
+
getTransitionMode(panelId: string, path: string): 'easing' | 'simple' | 'advanced';
|
|
91
|
+
getValue(panelId: string, path: string): DialValue | undefined;
|
|
92
|
+
getValues(panelId: string): Record<string, DialValue>;
|
|
93
|
+
getPanels(): PanelConfig[];
|
|
94
|
+
getPanel(id: string): PanelConfig | undefined;
|
|
95
|
+
subscribe(panelId: string, listener: Listener): () => void;
|
|
96
|
+
subscribeGlobal(listener: Listener): () => void;
|
|
97
|
+
subscribeActions(panelId: string, listener: ActionListener): () => void;
|
|
98
|
+
triggerAction(panelId: string, path: string): void;
|
|
99
|
+
savePreset(panelId: string, name: string): string;
|
|
100
|
+
loadPreset(panelId: string, presetId: string): void;
|
|
101
|
+
deletePreset(panelId: string, presetId: string): void;
|
|
102
|
+
getPresets(panelId: string): Preset[];
|
|
103
|
+
getActivePresetId(panelId: string): string | null;
|
|
104
|
+
clearActivePreset(panelId: string): void;
|
|
105
|
+
private notify;
|
|
106
|
+
private notifyGlobal;
|
|
107
|
+
private initTransitionModes;
|
|
108
|
+
private parseConfig;
|
|
109
|
+
private flattenValues;
|
|
110
|
+
private isSpringConfig;
|
|
111
|
+
private isEasingConfig;
|
|
112
|
+
private isActionConfig;
|
|
113
|
+
private isSelectConfig;
|
|
114
|
+
private isColorConfig;
|
|
115
|
+
private isTextConfig;
|
|
116
|
+
private isHexColor;
|
|
117
|
+
private formatLabel;
|
|
118
|
+
private inferRange;
|
|
119
|
+
private inferStep;
|
|
120
|
+
private normalizePreservedValue;
|
|
121
|
+
private roundToStep;
|
|
122
|
+
private stepPrecision;
|
|
123
|
+
private mapControlsByPath;
|
|
124
|
+
}
|
|
125
|
+
declare const DialStore: DialStoreClass;
|
|
126
|
+
|
|
127
|
+
interface CreateDialOptions {
|
|
128
|
+
onAction?: (action: string) => void;
|
|
129
|
+
}
|
|
130
|
+
declare function createDialKit<T extends DialConfig>(name: string, config: T, options?: CreateDialOptions): Accessor<ResolvedValues<T>>;
|
|
131
|
+
|
|
132
|
+
type DialPosition = 'top-right' | 'top-left' | 'bottom-right' | 'bottom-left';
|
|
133
|
+
interface DialRootProps {
|
|
134
|
+
position?: DialPosition;
|
|
135
|
+
defaultOpen?: boolean;
|
|
136
|
+
}
|
|
137
|
+
declare function DialRoot(props: DialRootProps): solid_js.JSX.Element;
|
|
138
|
+
|
|
139
|
+
interface SliderProps {
|
|
140
|
+
label: string;
|
|
141
|
+
value: number;
|
|
142
|
+
onChange: (value: number) => void;
|
|
143
|
+
min?: number;
|
|
144
|
+
max?: number;
|
|
145
|
+
step?: number;
|
|
146
|
+
unit?: string;
|
|
147
|
+
}
|
|
148
|
+
declare function Slider(props: SliderProps): solid_js.JSX.Element;
|
|
149
|
+
|
|
150
|
+
interface ToggleProps {
|
|
151
|
+
label: string;
|
|
152
|
+
checked: boolean;
|
|
153
|
+
onChange: (checked: boolean) => void;
|
|
154
|
+
}
|
|
155
|
+
declare function Toggle(props: ToggleProps): solid_js.JSX.Element;
|
|
156
|
+
|
|
157
|
+
interface FolderProps {
|
|
158
|
+
title: string;
|
|
159
|
+
children: JSX.Element;
|
|
160
|
+
defaultOpen?: boolean;
|
|
161
|
+
isRoot?: boolean;
|
|
162
|
+
onOpenChange?: (isOpen: boolean) => void;
|
|
163
|
+
toolbar?: JSX.Element;
|
|
164
|
+
}
|
|
165
|
+
declare function Folder(props: FolderProps): JSX.Element;
|
|
166
|
+
|
|
167
|
+
interface ButtonGroupProps {
|
|
168
|
+
buttons: Array<{
|
|
169
|
+
label: string;
|
|
170
|
+
onClick: () => void;
|
|
171
|
+
}>;
|
|
172
|
+
}
|
|
173
|
+
declare function ButtonGroup(props: ButtonGroupProps): solid_js.JSX.Element;
|
|
174
|
+
|
|
175
|
+
interface SpringControlProps {
|
|
176
|
+
panelId: string;
|
|
177
|
+
path: string;
|
|
178
|
+
label: string;
|
|
179
|
+
spring: SpringConfig;
|
|
180
|
+
onChange: (spring: SpringConfig) => void;
|
|
181
|
+
}
|
|
182
|
+
declare function SpringControl(props: SpringControlProps): solid_js.JSX.Element;
|
|
183
|
+
|
|
184
|
+
interface SpringVisualizationProps {
|
|
185
|
+
spring: SpringConfig;
|
|
186
|
+
isSimpleMode: boolean;
|
|
187
|
+
}
|
|
188
|
+
declare function SpringVisualization(props: SpringVisualizationProps): solid_js.JSX.Element;
|
|
189
|
+
|
|
190
|
+
interface TextControlProps {
|
|
191
|
+
label: string;
|
|
192
|
+
value: string;
|
|
193
|
+
onChange: (value: string) => void;
|
|
194
|
+
placeholder?: string;
|
|
195
|
+
}
|
|
196
|
+
declare function TextControl(props: TextControlProps): solid_js.JSX.Element;
|
|
197
|
+
|
|
198
|
+
type SelectOption = string | {
|
|
199
|
+
value: string;
|
|
200
|
+
label: string;
|
|
201
|
+
};
|
|
202
|
+
interface SelectControlProps {
|
|
203
|
+
label: string;
|
|
204
|
+
value: string;
|
|
205
|
+
options: SelectOption[];
|
|
206
|
+
onChange: (value: string) => void;
|
|
207
|
+
}
|
|
208
|
+
declare function SelectControl(props: SelectControlProps): solid_js.JSX.Element;
|
|
209
|
+
|
|
210
|
+
interface ColorControlProps {
|
|
211
|
+
label: string;
|
|
212
|
+
value: string;
|
|
213
|
+
onChange: (value: string) => void;
|
|
214
|
+
}
|
|
215
|
+
declare function ColorControl(props: ColorControlProps): solid_js.JSX.Element;
|
|
216
|
+
|
|
217
|
+
interface PresetManagerProps {
|
|
218
|
+
panelId: string;
|
|
219
|
+
presets: Preset[];
|
|
220
|
+
activePresetId: string | null;
|
|
221
|
+
onAdd: () => void;
|
|
222
|
+
}
|
|
223
|
+
declare function PresetManager(props: PresetManagerProps): solid_js.JSX.Element;
|
|
224
|
+
|
|
225
|
+
export { type ActionConfig, ButtonGroup, type ColorConfig, ColorControl, type ControlMeta, type CreateDialOptions, type DialConfig, type DialPosition, DialRoot, DialStore, type DialValue, Folder, type PanelConfig, type Preset, PresetManager, type ResolvedValues, type SelectConfig, SelectControl, Slider, type SpringConfig, SpringControl, SpringVisualization, type TextConfig, TextControl, Toggle, createDialKit };
|