zds-pickers 4.0.6 → 4.0.7
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/index.cjs.js +13 -12
- package/dist/index.cjs.js.map +1 -0
- package/dist/index.es.js +635 -643
- package/dist/index.es.js.map +1 -0
- package/dist/types/index.d.ts +34 -266
- package/lib/{main.ts → index.ts} +20 -3
- package/package.json +1 -1
- package/tsconfig.json +4 -4
- package/vite.config.ts +9 -6
- package/dist/types/main.d.ts +0 -19
- package/tsconfig.app.json +0 -26
- package/tsconfig.node.json +0 -24
package/dist/types/index.d.ts
CHANGED
|
@@ -1,266 +1,34 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
export
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
export
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
export
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
export
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
export declare const combineStatusWithChannel: (channel: number, status: Status_2) => number;
|
|
36
|
-
|
|
37
|
-
declare type Curve = typeof RESPONSE_CURVE_0 | typeof RESPONSE_CURVE_1 | typeof RESPONSE_CURVE_2 | typeof RESPONSE_CURVE_3 | typeof RESPONSE_CURVE_4 | typeof RESPONSE_CURVE_5 | typeof RESPONSE_CURVE_6 | typeof RESPONSE_CURVE_7;
|
|
38
|
-
|
|
39
|
-
export declare const extractStatusAndChannel: (status: number) => {
|
|
40
|
-
status: Status_2;
|
|
41
|
-
channel: number;
|
|
42
|
-
};
|
|
43
|
-
|
|
44
|
-
export declare const getStatusLabel: (val: Status_2) => string | number | true | ReactElement<any, string | JSXElementConstructor<any>> | Iterable<ReactNode>;
|
|
45
|
-
|
|
46
|
-
declare type InternalValue = number | 'separator';
|
|
47
|
-
|
|
48
|
-
export declare const Knob: (props: KnobProps) => JSX_2.Element;
|
|
49
|
-
|
|
50
|
-
export declare const KnobPicker: ForwardRefExoticComponent<SelectProps<number> & {
|
|
51
|
-
highToLow?: boolean;
|
|
52
|
-
includeLabel?: boolean;
|
|
53
|
-
includePicker?: boolean;
|
|
54
|
-
knobProps?: Partial<KnobPickerProps>;
|
|
55
|
-
max?: number;
|
|
56
|
-
min?: number;
|
|
57
|
-
wheelEnabled?: boolean;
|
|
58
|
-
wheelSensitivity?: number;
|
|
59
|
-
value: number;
|
|
60
|
-
} & RefAttributes<SelectInstance<Option_2<number>, false, GroupBase<Option_2<number>>>>>;
|
|
61
|
-
|
|
62
|
-
declare type KnobPickerProps = SelectProps<number> & {
|
|
63
|
-
highToLow?: boolean;
|
|
64
|
-
includeLabel?: boolean;
|
|
65
|
-
includePicker?: boolean;
|
|
66
|
-
knobProps?: Partial<KnobPickerProps>;
|
|
67
|
-
max?: number;
|
|
68
|
-
min?: number;
|
|
69
|
-
wheelEnabled?: boolean;
|
|
70
|
-
wheelSensitivity?: number;
|
|
71
|
-
value: number;
|
|
72
|
-
};
|
|
73
|
-
|
|
74
|
-
declare type KnobProps = {
|
|
75
|
-
disabled?: boolean;
|
|
76
|
-
max?: number;
|
|
77
|
-
min?: number;
|
|
78
|
-
onChange?: (value: number) => void;
|
|
79
|
-
value?: number;
|
|
80
|
-
wheelEnabled?: boolean;
|
|
81
|
-
wheelSensitivity?: number;
|
|
82
|
-
};
|
|
83
|
-
|
|
84
|
-
export declare const LatchPicker: ForwardRefExoticComponent<LatchPickerProps & RefAttributes<SelectInstance<Option_2<Polarity>, false, GroupBase<Option_2<Polarity>>>>>;
|
|
85
|
-
|
|
86
|
-
declare type LatchPickerProps = SelectProps<Polarity>;
|
|
87
|
-
|
|
88
|
-
export declare const MappingPicker: ForwardRefExoticComponent<SelectProps<string> & {
|
|
89
|
-
allowClearing: boolean;
|
|
90
|
-
} & RefAttributes<SelectInstance<Option_2<string>, false, GroupBase<Option_2<string>>>>>;
|
|
91
|
-
|
|
92
|
-
export declare const MASK_CHANNEL = 15;
|
|
93
|
-
|
|
94
|
-
export declare const MASK_STATUS = 240;
|
|
95
|
-
|
|
96
|
-
export declare const NotePicker: ForwardRefExoticComponent<SelectProps<number> & {
|
|
97
|
-
channel: number;
|
|
98
|
-
disabled?: boolean;
|
|
99
|
-
isMelodicMode?: boolean;
|
|
100
|
-
mapping?: Mapping;
|
|
101
|
-
onChange: (value: number) => void;
|
|
102
|
-
} & RefAttributes<SelectInstance<Option_2<number>, false, GroupBase<Option_2<number>>>>>;
|
|
103
|
-
|
|
104
|
-
export declare const OctavePlayer: ({ format, height, hostname, instrumentName, octave, onChange, onClick, onDoubleClick, onKeyMouseEnter, onKeyMouseLeave, soundfont, Tooltip, width, }: WithProviderProps) => JSX_2.Element;
|
|
105
|
-
|
|
106
|
-
declare type Option_2<T> = {
|
|
107
|
-
label: React.ReactNode;
|
|
108
|
-
value: T;
|
|
109
|
-
};
|
|
110
|
-
|
|
111
|
-
export declare const PianoPicker: ({ format, height, hostname, instrumentName, onChange, onClick, onDoubleClick, onKeyMouseEnter, onKeyMouseLeave, soundfont, width, }: WithProviderProps) => JSX_2.Element;
|
|
112
|
-
|
|
113
|
-
declare type Polarity = 0 | 1;
|
|
114
|
-
|
|
115
|
-
export declare const PolarityPicker: ForwardRefExoticComponent<SelectProps<Polarity> & {
|
|
116
|
-
labelOff?: string;
|
|
117
|
-
labelOn?: string;
|
|
118
|
-
} & RefAttributes<SelectInstance<Option_2<Polarity>, false, GroupBase<Option_2<Polarity>>>>>;
|
|
119
|
-
|
|
120
|
-
declare const RESPONSE_CURVE_0 = 0;
|
|
121
|
-
|
|
122
|
-
declare const RESPONSE_CURVE_1 = 1;
|
|
123
|
-
|
|
124
|
-
declare const RESPONSE_CURVE_2 = 2;
|
|
125
|
-
|
|
126
|
-
declare const RESPONSE_CURVE_3 = 3;
|
|
127
|
-
|
|
128
|
-
declare const RESPONSE_CURVE_4 = 4;
|
|
129
|
-
|
|
130
|
-
declare const RESPONSE_CURVE_5 = 5;
|
|
131
|
-
|
|
132
|
-
declare const RESPONSE_CURVE_6 = 6;
|
|
133
|
-
|
|
134
|
-
declare const RESPONSE_CURVE_7 = 7;
|
|
135
|
-
|
|
136
|
-
export declare const RESPONSE_CURVES: Option_2<Curve>[];
|
|
137
|
-
|
|
138
|
-
export declare type ResponseCurve = {
|
|
139
|
-
value: Curve;
|
|
140
|
-
label: React.ReactNode;
|
|
141
|
-
c1: number;
|
|
142
|
-
c2: number;
|
|
143
|
-
x1: number;
|
|
144
|
-
y1: number;
|
|
145
|
-
x2: number;
|
|
146
|
-
y2: number;
|
|
147
|
-
labelX: number;
|
|
148
|
-
labelY: number;
|
|
149
|
-
};
|
|
150
|
-
|
|
151
|
-
export declare const ResponseCurve: (props: ResponseCurveProps) => JSX_2.Element;
|
|
152
|
-
|
|
153
|
-
export declare const ResponseCurvePicker: ForwardRefExoticComponent<SelectProps<Curve> & {
|
|
154
|
-
inverted?: boolean;
|
|
155
|
-
Tooltip?: React.FC<TooltipProps>;
|
|
156
|
-
} & RefAttributes<SelectInstance<Option_2<Curve>, false, GroupBase<Option_2<Curve>>>>>;
|
|
157
|
-
|
|
158
|
-
declare type ResponseCurveProps = {
|
|
159
|
-
autosize: boolean;
|
|
160
|
-
disabled?: boolean;
|
|
161
|
-
inverted: boolean;
|
|
162
|
-
onChange: (event: {
|
|
163
|
-
target: {
|
|
164
|
-
value: Curve;
|
|
165
|
-
};
|
|
166
|
-
}) => void;
|
|
167
|
-
Tooltip: React.FC<TooltipProps>;
|
|
168
|
-
value: Curve;
|
|
169
|
-
};
|
|
170
|
-
|
|
171
|
-
export declare const Select: <T>(props: SelectProps<T> & {
|
|
172
|
-
ref?: React.ForwardedRef<SelectInstance<Option_2<T>, false, GroupBase<Option_2<T>>>>;
|
|
173
|
-
}) => JSX_3.Element;
|
|
174
|
-
|
|
175
|
-
declare type SelectProps<T> = {
|
|
176
|
-
className?: string;
|
|
177
|
-
components?: object;
|
|
178
|
-
disabled?: boolean;
|
|
179
|
-
filterOptions?: (candidate: Option_2<T>, inputValue: string) => boolean;
|
|
180
|
-
formatOptionLabel?: (option: Option_2<unknown>, { context }: {
|
|
181
|
-
context: 'menu' | 'value';
|
|
182
|
-
}) => React.ReactNode;
|
|
183
|
-
isSearchable?: boolean;
|
|
184
|
-
label?: string;
|
|
185
|
-
onChange: (value: Option_2<T>['value']) => void;
|
|
186
|
-
options: Option_2<T>[] | {
|
|
187
|
-
entries: Option_2<T>[];
|
|
188
|
-
}[];
|
|
189
|
-
preserveMenuWidth?: boolean;
|
|
190
|
-
shrinkLabel?: boolean;
|
|
191
|
-
value: Option_2<T>['value'];
|
|
192
|
-
};
|
|
193
|
-
|
|
194
|
-
declare type Status = (typeof Statuses_2)[keyof typeof Statuses_2]
|
|
195
|
-
|
|
196
|
-
declare type Status_2 = (typeof Statuses)[keyof typeof Statuses];
|
|
197
|
-
|
|
198
|
-
export declare const Statuses: {
|
|
199
|
-
noteOff: number;
|
|
200
|
-
noteOn: number;
|
|
201
|
-
aftertouch: number;
|
|
202
|
-
controlChange: number;
|
|
203
|
-
programChange: number;
|
|
204
|
-
channelPressure: number;
|
|
205
|
-
pitchWheel: number;
|
|
206
|
-
};
|
|
207
|
-
|
|
208
|
-
declare const Statuses_2 = {
|
|
209
|
-
noteOff: 8, // 1000
|
|
210
|
-
noteOn: 9, // 1001
|
|
211
|
-
aftertouch: 10, // 1010
|
|
212
|
-
controlChange: 11, // 1011
|
|
213
|
-
programChange: 12, // 1100
|
|
214
|
-
channelPressure: 13, // 1101
|
|
215
|
-
pitchWheel: 14, // 1110
|
|
216
|
-
};
|
|
217
|
-
|
|
218
|
-
export declare const StatusPicker: ForwardRefExoticComponent<SelectProps<number> & {
|
|
219
|
-
statuses: Option_2<Status>[];
|
|
220
|
-
} & RefAttributes<SelectInstance<Option_2<number>, false, GroupBase<Option_2<number>>>>>;
|
|
221
|
-
|
|
222
|
-
export declare const SVGText: (props: TextProps) => JSX_2.Element;
|
|
223
|
-
|
|
224
|
-
declare type TextProps = Partial<HTMLOrSVGElement> & {
|
|
225
|
-
className?: string;
|
|
226
|
-
dx?: number;
|
|
227
|
-
dy?: number;
|
|
228
|
-
maxHeight?: number;
|
|
229
|
-
maxWidth?: number;
|
|
230
|
-
transform?: string;
|
|
231
|
-
text: string;
|
|
232
|
-
textAnchor?: React.CSSProperties['textAnchor'];
|
|
233
|
-
verticalAnchor?: 'start' | 'middle' | 'end';
|
|
234
|
-
x?: number;
|
|
235
|
-
y?: number;
|
|
236
|
-
};
|
|
237
|
-
|
|
238
|
-
declare type TooltipProps = {
|
|
239
|
-
children?: React.ReactNode;
|
|
240
|
-
placement?: 'left' | 'right' | 'top' | 'bottom';
|
|
241
|
-
title: React.ReactNode;
|
|
242
|
-
};
|
|
243
|
-
|
|
244
|
-
export declare const ValuePicker: ForwardRefExoticComponent<SelectProps<number> & {
|
|
245
|
-
highToLow?: boolean;
|
|
246
|
-
max?: number;
|
|
247
|
-
min?: number;
|
|
248
|
-
} & RefAttributes<SelectInstance<Option_2<number>, false, GroupBase<Option_2<number>>>>>;
|
|
249
|
-
|
|
250
|
-
declare type WithProviderProps = {
|
|
251
|
-
format?: 'mp3' | 'ogg';
|
|
252
|
-
height: number;
|
|
253
|
-
hostname?: string;
|
|
254
|
-
instrumentName: default_2.InstrumentName;
|
|
255
|
-
octave?: number;
|
|
256
|
-
onChange?: (note: number) => void;
|
|
257
|
-
onClick?: (note: number) => void;
|
|
258
|
-
onDoubleClick?: (note: number) => void;
|
|
259
|
-
onKeyMouseEnter?: (note: number) => void;
|
|
260
|
-
onKeyMouseLeave?: (note: number) => void;
|
|
261
|
-
soundfont?: 'MusyngKite' | 'FluidR3_GM';
|
|
262
|
-
Tooltip?: TooltipProps;
|
|
263
|
-
width: number;
|
|
264
|
-
};
|
|
265
|
-
|
|
266
|
-
export { }
|
|
1
|
+
export { default as ChannelMappingPicker } from './pickers/ChannelMappingPicker';
|
|
2
|
+
export { default as ChannelPicker } from './pickers/ChannelPicker';
|
|
3
|
+
export { default as Knob } from './pickers/Knob';
|
|
4
|
+
export { default as KnobPicker } from './pickers/KnobPicker';
|
|
5
|
+
export { default as LatchPicker } from './pickers/LatchPicker';
|
|
6
|
+
export { default as MappingPicker } from './pickers/MappingPicker';
|
|
7
|
+
export { default as NotePicker } from './pickers/NotePicker';
|
|
8
|
+
export { default as OctavePlayer } from './other/OctavePlayer';
|
|
9
|
+
export { default as PianoPicker } from './pickers/PianoPicker';
|
|
10
|
+
export { default as PolarityPicker } from './pickers/PolarityPicker';
|
|
11
|
+
export { default as ResponseCurvePicker } from './pickers/ResponseCurvePicker';
|
|
12
|
+
export { default as Select } from './pickers/Select';
|
|
13
|
+
export { default as StatusPicker } from './pickers/StatusPicker';
|
|
14
|
+
export { default as SVGText } from './other/SVGText';
|
|
15
|
+
export { default as ValuePicker } from './pickers/ValuePicker';
|
|
16
|
+
export type * from './pickers/ChannelMappingPicker';
|
|
17
|
+
export type * from './pickers/ChannelPicker';
|
|
18
|
+
export type * from './pickers/Knob';
|
|
19
|
+
export type * from './pickers/KnobPicker';
|
|
20
|
+
export type * from './pickers/LatchPicker';
|
|
21
|
+
export type * from './pickers/MappingPicker';
|
|
22
|
+
export type * from './pickers/NotePicker';
|
|
23
|
+
export type * from './other/OctavePlayer';
|
|
24
|
+
export type * from './pickers/PianoPicker';
|
|
25
|
+
export type * from './pickers/PolarityPicker';
|
|
26
|
+
export type * from './pickers/ResponseCurvePicker';
|
|
27
|
+
export type * from './pickers/Select';
|
|
28
|
+
export type * from './pickers/StatusPicker';
|
|
29
|
+
export type * from './other/SVGText';
|
|
30
|
+
export type * from './pickers/ValuePicker';
|
|
31
|
+
export type * from './midi/export';
|
|
32
|
+
export { combineStatusWithChannel, extractStatusAndChannel, getStatusLabel, MASK_CHANNEL, MASK_STATUS, Statuses, } from './midi/export';
|
|
33
|
+
export { default as ResponseCurve, RESPONSE_CURVES, } from './pickers/ResponseCurve';
|
|
34
|
+
export { default as ccValues } from './midi/ccValues';
|
package/lib/{main.ts → index.ts}
RENAMED
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
//
|
|
2
|
-
export { default as CCPicker } from './pickers/CCPicker'
|
|
1
|
+
// Components
|
|
3
2
|
export { default as ChannelMappingPicker } from './pickers/ChannelMappingPicker'
|
|
4
3
|
export { default as ChannelPicker } from './pickers/ChannelPicker'
|
|
5
4
|
export { default as Knob } from './pickers/Knob'
|
|
@@ -16,7 +15,25 @@ export { default as StatusPicker } from './pickers/StatusPicker'
|
|
|
16
15
|
export { default as SVGText } from './other/SVGText'
|
|
17
16
|
export { default as ValuePicker } from './pickers/ValuePicker'
|
|
18
17
|
|
|
19
|
-
//
|
|
18
|
+
// Types
|
|
19
|
+
export type * from './pickers/ChannelMappingPicker'
|
|
20
|
+
export type * from './pickers/ChannelPicker'
|
|
21
|
+
export type * from './pickers/Knob'
|
|
22
|
+
export type * from './pickers/KnobPicker'
|
|
23
|
+
export type * from './pickers/LatchPicker'
|
|
24
|
+
export type * from './pickers/MappingPicker'
|
|
25
|
+
export type * from './pickers/NotePicker'
|
|
26
|
+
export type * from './other/OctavePlayer'
|
|
27
|
+
export type * from './pickers/PianoPicker'
|
|
28
|
+
export type * from './pickers/PolarityPicker'
|
|
29
|
+
export type * from './pickers/ResponseCurvePicker'
|
|
30
|
+
export type * from './pickers/Select'
|
|
31
|
+
export type * from './pickers/StatusPicker'
|
|
32
|
+
export type * from './other/SVGText'
|
|
33
|
+
export type * from './pickers/ValuePicker'
|
|
34
|
+
export type * from './midi/export'
|
|
35
|
+
|
|
36
|
+
// MIDI Values & Functions
|
|
20
37
|
export {
|
|
21
38
|
combineStatusWithChannel,
|
|
22
39
|
extractStatusAndChannel,
|
package/package.json
CHANGED
package/tsconfig.json
CHANGED
|
@@ -11,8 +11,8 @@
|
|
|
11
11
|
/* output */
|
|
12
12
|
"declaration": true,
|
|
13
13
|
"declarationDir": "./dist/types",
|
|
14
|
-
"emitDeclarationOnly":
|
|
15
|
-
"
|
|
14
|
+
"emitDeclarationOnly": true,
|
|
15
|
+
// "preserveConstEnums": true, // we don't use enums
|
|
16
16
|
|
|
17
17
|
/* Bundler mode */
|
|
18
18
|
"moduleResolution": "Bundler",
|
|
@@ -25,9 +25,9 @@
|
|
|
25
25
|
"noUnusedLocals": true,
|
|
26
26
|
"noUnusedParameters": true,
|
|
27
27
|
"noFallthroughCasesInSwitch": true,
|
|
28
|
-
"noUncheckedSideEffectImports": true
|
|
28
|
+
"noUncheckedSideEffectImports": true
|
|
29
29
|
|
|
30
|
-
"paths": {}
|
|
30
|
+
// "paths": {}
|
|
31
31
|
},
|
|
32
32
|
"include": ["lib"],
|
|
33
33
|
"exclude": ["node_modules", "**/*.spec.ts", "**/*.spec.tsx", "stories"]
|
package/vite.config.ts
CHANGED
|
@@ -7,6 +7,7 @@ export default defineConfig({
|
|
|
7
7
|
plugins: [
|
|
8
8
|
react(),
|
|
9
9
|
dts({
|
|
10
|
+
tsconfigPath: resolve(__dirname, 'tsconfig.json'),
|
|
10
11
|
include: ['lib'],
|
|
11
12
|
rollupTypes: true,
|
|
12
13
|
entryRoot: 'lib',
|
|
@@ -15,12 +16,12 @@ export default defineConfig({
|
|
|
15
16
|
],
|
|
16
17
|
build: {
|
|
17
18
|
lib: {
|
|
18
|
-
entry: resolve(__dirname, 'lib/
|
|
19
|
-
name: 'zds-pickers',
|
|
20
|
-
formats: ['es', 'cjs'],
|
|
19
|
+
entry: resolve(__dirname, 'lib/index'),
|
|
21
20
|
fileName: format => `index.${format}.js`,
|
|
21
|
+
formats: ['es', 'cjs'],
|
|
22
|
+
name: 'zds-pickers',
|
|
22
23
|
},
|
|
23
|
-
sourcemap:
|
|
24
|
+
sourcemap: true,
|
|
24
25
|
rollupOptions: {
|
|
25
26
|
external: [
|
|
26
27
|
'react',
|
|
@@ -36,10 +37,12 @@ export default defineConfig({
|
|
|
36
37
|
react: 'React',
|
|
37
38
|
'react-dom': 'ReactDOM',
|
|
38
39
|
'react-select': 'ReactSelect',
|
|
40
|
+
'd3-drag': 'd3',
|
|
41
|
+
'd3-scale': 'd3',
|
|
42
|
+
'd3-selection': 'd3',
|
|
39
43
|
},
|
|
40
|
-
preserveModules: false,
|
|
41
44
|
},
|
|
42
45
|
},
|
|
43
|
-
minify: true,
|
|
46
|
+
// minify: true,
|
|
44
47
|
},
|
|
45
48
|
})
|
package/dist/types/main.d.ts
DELETED
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
export { default as CCPicker } from './pickers/CCPicker';
|
|
2
|
-
export { default as ChannelMappingPicker } from './pickers/ChannelMappingPicker';
|
|
3
|
-
export { default as ChannelPicker } from './pickers/ChannelPicker';
|
|
4
|
-
export { default as Knob } from './pickers/Knob';
|
|
5
|
-
export { default as KnobPicker } from './pickers/KnobPicker';
|
|
6
|
-
export { default as LatchPicker } from './pickers/LatchPicker';
|
|
7
|
-
export { default as MappingPicker } from './pickers/MappingPicker';
|
|
8
|
-
export { default as NotePicker } from './pickers/NotePicker';
|
|
9
|
-
export { default as OctavePlayer } from './other/OctavePlayer';
|
|
10
|
-
export { default as PianoPicker } from './pickers/PianoPicker';
|
|
11
|
-
export { default as PolarityPicker } from './pickers/PolarityPicker';
|
|
12
|
-
export { default as ResponseCurvePicker } from './pickers/ResponseCurvePicker';
|
|
13
|
-
export { default as Select } from './pickers/Select';
|
|
14
|
-
export { default as StatusPicker } from './pickers/StatusPicker';
|
|
15
|
-
export { default as SVGText } from './other/SVGText';
|
|
16
|
-
export { default as ValuePicker } from './pickers/ValuePicker';
|
|
17
|
-
export { combineStatusWithChannel, extractStatusAndChannel, getStatusLabel, MASK_CHANNEL, MASK_STATUS, Statuses, } from './midi/export';
|
|
18
|
-
export { default as ResponseCurve, RESPONSE_CURVES, } from './pickers/ResponseCurve';
|
|
19
|
-
export { default as ccValues } from './midi/ccValues';
|
package/tsconfig.app.json
DELETED
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"compilerOptions": {
|
|
3
|
-
"tsBuildInfoFile": "./node_modules/.tmp/tsconfig.app.tsbuildinfo",
|
|
4
|
-
"target": "ES2020",
|
|
5
|
-
"useDefineForClassFields": true,
|
|
6
|
-
"lib": ["ES2020", "DOM", "DOM.Iterable"],
|
|
7
|
-
"module": "ESNext",
|
|
8
|
-
"skipLibCheck": true,
|
|
9
|
-
|
|
10
|
-
/* Bundler mode */
|
|
11
|
-
"moduleResolution": "bundler",
|
|
12
|
-
"allowImportingTsExtensions": true,
|
|
13
|
-
"isolatedModules": true,
|
|
14
|
-
"moduleDetection": "force",
|
|
15
|
-
"noEmit": true,
|
|
16
|
-
"jsx": "react-jsx",
|
|
17
|
-
|
|
18
|
-
/* Linting */
|
|
19
|
-
"strict": true,
|
|
20
|
-
"noUnusedLocals": true,
|
|
21
|
-
"noUnusedParameters": true,
|
|
22
|
-
"noFallthroughCasesInSwitch": true,
|
|
23
|
-
"noUncheckedSideEffectImports": true
|
|
24
|
-
},
|
|
25
|
-
"include": ["src"]
|
|
26
|
-
}
|
package/tsconfig.node.json
DELETED
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"compilerOptions": {
|
|
3
|
-
"tsBuildInfoFile": "./node_modules/.tmp/tsconfig.node.tsbuildinfo",
|
|
4
|
-
"target": "ES2022",
|
|
5
|
-
"lib": ["ES2023"],
|
|
6
|
-
"module": "ESNext",
|
|
7
|
-
"skipLibCheck": true,
|
|
8
|
-
|
|
9
|
-
/* Bundler mode */
|
|
10
|
-
"moduleResolution": "bundler",
|
|
11
|
-
"allowImportingTsExtensions": true,
|
|
12
|
-
"isolatedModules": true,
|
|
13
|
-
"moduleDetection": "force",
|
|
14
|
-
"noEmit": true,
|
|
15
|
-
|
|
16
|
-
/* Linting */
|
|
17
|
-
"strict": true,
|
|
18
|
-
"noUnusedLocals": true,
|
|
19
|
-
"noUnusedParameters": true,
|
|
20
|
-
"noFallthroughCasesInSwitch": true,
|
|
21
|
-
"noUncheckedSideEffectImports": true
|
|
22
|
-
},
|
|
23
|
-
"include": ["vite.config.ts"]
|
|
24
|
-
}
|