@tremolo-ui/vue 0.7.0 → 0.8.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/dist/index.d.cts +25 -25
- package/dist/index.d.ts +25 -25
- package/package.json +4 -4
package/dist/index.d.cts
CHANGED
|
@@ -160,8 +160,8 @@ export declare const FileInput: import("vue").DefineComponent<import("vue").Extr
|
|
|
160
160
|
/** Make the input unusable. The parts carry `data-disabled`. */
|
|
161
161
|
disabled: BooleanConstructor;
|
|
162
162
|
}>> & Readonly<{
|
|
163
|
-
onChange?: ((files: File[]) => any) | undefined;
|
|
164
163
|
onReject?: ((files: File[]) => any) | undefined;
|
|
164
|
+
onChange?: ((files: File[]) => any) | undefined;
|
|
165
165
|
}>, {
|
|
166
166
|
multiple: boolean;
|
|
167
167
|
disabled: boolean;
|
|
@@ -233,7 +233,7 @@ export declare const Knob: import("vue").DefineComponent<import("vue").ExtractPr
|
|
|
233
233
|
/** Where the active arc starts. @default min */
|
|
234
234
|
startValue: NumberConstructor;
|
|
235
235
|
/** Width and height of the knob. Sets `--knob-size`. */
|
|
236
|
-
size: (
|
|
236
|
+
size: (StringConstructor | NumberConstructor)[];
|
|
237
237
|
/** The cursor to show while dragging. @default { cursor: 'grabbing' } */
|
|
238
238
|
externalStyles: PropType<{
|
|
239
239
|
cursor?: string;
|
|
@@ -304,7 +304,7 @@ export declare const Knob: import("vue").DefineComponent<import("vue").ExtractPr
|
|
|
304
304
|
/** Where the active arc starts. @default min */
|
|
305
305
|
startValue: NumberConstructor;
|
|
306
306
|
/** Width and height of the knob. Sets `--knob-size`. */
|
|
307
|
-
size: (
|
|
307
|
+
size: (StringConstructor | NumberConstructor)[];
|
|
308
308
|
/** The cursor to show while dragging. @default { cursor: 'grabbing' } */
|
|
309
309
|
externalStyles: PropType<{
|
|
310
310
|
cursor?: string;
|
|
@@ -343,8 +343,8 @@ export declare const Knob: import("vue").DefineComponent<import("vue").ExtractPr
|
|
|
343
343
|
}>> & Readonly<{
|
|
344
344
|
"onUpdate:modelValue"?: ((value: number) => any) | undefined;
|
|
345
345
|
}>, {
|
|
346
|
-
wheel: ModifierValue<InputEventOption> | null;
|
|
347
346
|
disabled: boolean;
|
|
347
|
+
wheel: ModifierValue<InputEventOption> | null;
|
|
348
348
|
step: number;
|
|
349
349
|
keyboard: ModifierValue<InputEventOption> | null;
|
|
350
350
|
dragSensitivity: ModifierValue<number>;
|
|
@@ -363,7 +363,7 @@ export declare const KnobActiveLine: import("vue").DefineComponent<import("vue")
|
|
|
363
363
|
default: string;
|
|
364
364
|
};
|
|
365
365
|
strokeWidth: {
|
|
366
|
-
type: (
|
|
366
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
367
367
|
default: number;
|
|
368
368
|
};
|
|
369
369
|
}>, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
@@ -374,7 +374,7 @@ export declare const KnobActiveLine: import("vue").DefineComponent<import("vue")
|
|
|
374
374
|
default: string;
|
|
375
375
|
};
|
|
376
376
|
strokeWidth: {
|
|
377
|
-
type: (
|
|
377
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
378
378
|
default: number;
|
|
379
379
|
};
|
|
380
380
|
}>> & Readonly<{}>, {
|
|
@@ -393,7 +393,7 @@ export declare const KnobInactiveLine: import("vue").DefineComponent<import("vue
|
|
|
393
393
|
default: string;
|
|
394
394
|
};
|
|
395
395
|
strokeWidth: {
|
|
396
|
-
type: (
|
|
396
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
397
397
|
default: number;
|
|
398
398
|
};
|
|
399
399
|
}>, () => (import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
@@ -404,7 +404,7 @@ export declare const KnobInactiveLine: import("vue").DefineComponent<import("vue
|
|
|
404
404
|
default: string;
|
|
405
405
|
};
|
|
406
406
|
strokeWidth: {
|
|
407
|
-
type: (
|
|
407
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
408
408
|
default: number;
|
|
409
409
|
};
|
|
410
410
|
}>> & Readonly<{}>, {
|
|
@@ -686,9 +686,9 @@ export declare const NumberInput: import("vue").DefineComponent<import("vue").Ex
|
|
|
686
686
|
}>> & Readonly<{
|
|
687
687
|
"onUpdate:modelValue"?: ((value: number) => any) | undefined;
|
|
688
688
|
}>, {
|
|
689
|
+
disabled: boolean;
|
|
689
690
|
drag: number | null;
|
|
690
691
|
wheel: import("@tremolo-ui/dom").ModifierValue<import("@tremolo-ui/dom").InputEventOption> | null;
|
|
691
|
-
disabled: boolean;
|
|
692
692
|
step: number;
|
|
693
693
|
keyboard: import("@tremolo-ui/dom").ModifierValue<import("@tremolo-ui/dom").InputEventOption> | null;
|
|
694
694
|
dragSensitivity: import("@tremolo-ui/dom").ModifierValue<number>;
|
|
@@ -985,8 +985,8 @@ export declare const PointsEditor: import("vue").DefineComponent<import("vue").E
|
|
|
985
985
|
}>> & Readonly<{
|
|
986
986
|
"onUpdate:selection"?: ((selection: string[]) => any) | undefined;
|
|
987
987
|
}>, {
|
|
988
|
-
wheel: ModifierValue<InputEventOption> | null;
|
|
989
988
|
disabled: boolean;
|
|
989
|
+
wheel: ModifierValue<InputEventOption> | null;
|
|
990
990
|
keyboard: ModifierValue<InputEventOption> | null;
|
|
991
991
|
dragSensitivity: ModifierValue<number>;
|
|
992
992
|
readonly: boolean;
|
|
@@ -1098,8 +1098,8 @@ export declare const PointsEditorPoint: import("vue").DefineComponent<import("vu
|
|
|
1098
1098
|
onDragStart?: ((value: PointPosition) => any) | undefined;
|
|
1099
1099
|
onDragEnd?: ((value: PointPosition) => any) | undefined;
|
|
1100
1100
|
}>, {
|
|
1101
|
-
wheel: ModifierValue<InputEventOption> | null;
|
|
1102
1101
|
disabled: boolean;
|
|
1102
|
+
wheel: ModifierValue<InputEventOption> | null;
|
|
1103
1103
|
keyboard: ModifierValue<InputEventOption> | null;
|
|
1104
1104
|
readonly: boolean;
|
|
1105
1105
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
@@ -1252,9 +1252,9 @@ export declare const Slider: import("vue").DefineComponent<import("vue").Extract
|
|
|
1252
1252
|
onDragStart?: ((value: number) => any) | undefined;
|
|
1253
1253
|
onDragEnd?: ((value: number) => any) | undefined;
|
|
1254
1254
|
}>, {
|
|
1255
|
+
disabled: boolean;
|
|
1255
1256
|
reverse: boolean;
|
|
1256
1257
|
wheel: import("@tremolo-ui/dom").ModifierValue<import("@tremolo-ui/dom").InputEventOption> | null;
|
|
1257
|
-
disabled: boolean;
|
|
1258
1258
|
step: number;
|
|
1259
1259
|
vertical: boolean;
|
|
1260
1260
|
keyboard: import("@tremolo-ui/dom").ModifierValue<import("@tremolo-ui/dom").InputEventOption> | null;
|
|
@@ -1267,7 +1267,7 @@ export declare const Slider: import("vue").DefineComponent<import("vue").Extract
|
|
|
1267
1267
|
/** The marks along the slider: written out as options, or built from `options`. */
|
|
1268
1268
|
export declare const SliderMarks: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
1269
1269
|
/** Space between the marks and the track. Sets `--gap`. */
|
|
1270
|
-
gap: (
|
|
1270
|
+
gap: (StringConstructor | NumberConstructor)[];
|
|
1271
1271
|
/**
|
|
1272
1272
|
* Build the marks instead of writing `SliderMarksOption` out: a number
|
|
1273
1273
|
* puts one every that many, `'step'` one every `step`. The default slot
|
|
@@ -1278,7 +1278,7 @@ export declare const SliderMarks: import("vue").DefineComponent<import("vue").Ex
|
|
|
1278
1278
|
[key: string]: any;
|
|
1279
1279
|
}>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
1280
1280
|
/** Space between the marks and the track. Sets `--gap`. */
|
|
1281
|
-
gap: (
|
|
1281
|
+
gap: (StringConstructor | NumberConstructor)[];
|
|
1282
1282
|
/**
|
|
1283
1283
|
* Build the marks instead of writing `SliderMarksOption` out: a number
|
|
1284
1284
|
* puts one every that many, `'step'` one every `step`. The default slot
|
|
@@ -1309,11 +1309,11 @@ export declare const SliderMarksOption: import("vue").DefineComponent<import("vu
|
|
|
1309
1309
|
default: undefined;
|
|
1310
1310
|
};
|
|
1311
1311
|
/** Thickness of the mark. Sets `--thickness`. */
|
|
1312
|
-
thickness: (
|
|
1312
|
+
thickness: (StringConstructor | NumberConstructor)[];
|
|
1313
1313
|
/** Length of the mark. Sets `--length`. */
|
|
1314
|
-
length: (
|
|
1314
|
+
length: (StringConstructor | NumberConstructor)[];
|
|
1315
1315
|
/** Space between the mark and the label. Sets `--gap`. */
|
|
1316
|
-
gap: (
|
|
1316
|
+
gap: (StringConstructor | NumberConstructor)[];
|
|
1317
1317
|
/** Classes for the mark and the label inside the option. */
|
|
1318
1318
|
classes: PropType<{
|
|
1319
1319
|
mark?: string;
|
|
@@ -1346,11 +1346,11 @@ export declare const SliderMarksOption: import("vue").DefineComponent<import("vu
|
|
|
1346
1346
|
default: undefined;
|
|
1347
1347
|
};
|
|
1348
1348
|
/** Thickness of the mark. Sets `--thickness`. */
|
|
1349
|
-
thickness: (
|
|
1349
|
+
thickness: (StringConstructor | NumberConstructor)[];
|
|
1350
1350
|
/** Length of the mark. Sets `--length`. */
|
|
1351
|
-
length: (
|
|
1351
|
+
length: (StringConstructor | NumberConstructor)[];
|
|
1352
1352
|
/** Space between the mark and the label. Sets `--gap`. */
|
|
1353
|
-
gap: (
|
|
1353
|
+
gap: (StringConstructor | NumberConstructor)[];
|
|
1354
1354
|
/** Classes for the mark and the label inside the option. */
|
|
1355
1355
|
classes: PropType<{
|
|
1356
1356
|
mark?: string;
|
|
@@ -1385,9 +1385,9 @@ export declare const SliderThumb: import("vue").DefineComponent<import("vue").Ex
|
|
|
1385
1385
|
/** The track the thumb runs along, and what the pointer is measured against. */
|
|
1386
1386
|
export declare const SliderTrack: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
1387
1387
|
/** How long the track is along the axis the slider runs. Sets `--length`. */
|
|
1388
|
-
length: (
|
|
1388
|
+
length: (StringConstructor | NumberConstructor)[];
|
|
1389
1389
|
/** How thick the track is across that axis. Sets `--thickness`. */
|
|
1390
|
-
thickness: (
|
|
1390
|
+
thickness: (StringConstructor | NumberConstructor)[];
|
|
1391
1391
|
/** Colour of the part from `min` to the value. Sets `--active`. */
|
|
1392
1392
|
active: StringConstructor;
|
|
1393
1393
|
/** Colour of the rest of the track. Sets `--inactive`. */
|
|
@@ -1396,9 +1396,9 @@ export declare const SliderTrack: import("vue").DefineComponent<import("vue").Ex
|
|
|
1396
1396
|
[key: string]: any;
|
|
1397
1397
|
}>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
1398
1398
|
/** How long the track is along the axis the slider runs. Sets `--length`. */
|
|
1399
|
-
length: (
|
|
1399
|
+
length: (StringConstructor | NumberConstructor)[];
|
|
1400
1400
|
/** How thick the track is across that axis. Sets `--thickness`. */
|
|
1401
|
-
thickness: (
|
|
1401
|
+
thickness: (StringConstructor | NumberConstructor)[];
|
|
1402
1402
|
/** Colour of the part from `min` to the value. Sets `--active`. */
|
|
1403
1403
|
active: StringConstructor;
|
|
1404
1404
|
/** Colour of the rest of the track. Sets `--inactive`. */
|
|
@@ -1546,9 +1546,9 @@ export declare const XYPad: import("vue").DefineComponent<import("vue").ExtractP
|
|
|
1546
1546
|
onDragStart?: ((value: XY<number>) => any) | undefined;
|
|
1547
1547
|
onDragEnd?: ((value: XY<number>) => any) | undefined;
|
|
1548
1548
|
}>, {
|
|
1549
|
+
disabled: boolean;
|
|
1549
1550
|
reverse: boolean | readonly [x: boolean, y: boolean];
|
|
1550
1551
|
wheel: ModifierValue<InputEventOption> | null;
|
|
1551
|
-
disabled: boolean;
|
|
1552
1552
|
step: number | readonly [x: number, y: number];
|
|
1553
1553
|
keyboard: ModifierValue<InputEventOption> | null;
|
|
1554
1554
|
dragSensitivity: ModifierValue<number>;
|
package/dist/index.d.ts
CHANGED
|
@@ -160,8 +160,8 @@ export declare const FileInput: import("vue").DefineComponent<import("vue").Extr
|
|
|
160
160
|
/** Make the input unusable. The parts carry `data-disabled`. */
|
|
161
161
|
disabled: BooleanConstructor;
|
|
162
162
|
}>> & Readonly<{
|
|
163
|
-
onChange?: ((files: File[]) => any) | undefined;
|
|
164
163
|
onReject?: ((files: File[]) => any) | undefined;
|
|
164
|
+
onChange?: ((files: File[]) => any) | undefined;
|
|
165
165
|
}>, {
|
|
166
166
|
multiple: boolean;
|
|
167
167
|
disabled: boolean;
|
|
@@ -233,7 +233,7 @@ export declare const Knob: import("vue").DefineComponent<import("vue").ExtractPr
|
|
|
233
233
|
/** Where the active arc starts. @default min */
|
|
234
234
|
startValue: NumberConstructor;
|
|
235
235
|
/** Width and height of the knob. Sets `--knob-size`. */
|
|
236
|
-
size: (
|
|
236
|
+
size: (StringConstructor | NumberConstructor)[];
|
|
237
237
|
/** The cursor to show while dragging. @default { cursor: 'grabbing' } */
|
|
238
238
|
externalStyles: PropType<{
|
|
239
239
|
cursor?: string;
|
|
@@ -304,7 +304,7 @@ export declare const Knob: import("vue").DefineComponent<import("vue").ExtractPr
|
|
|
304
304
|
/** Where the active arc starts. @default min */
|
|
305
305
|
startValue: NumberConstructor;
|
|
306
306
|
/** Width and height of the knob. Sets `--knob-size`. */
|
|
307
|
-
size: (
|
|
307
|
+
size: (StringConstructor | NumberConstructor)[];
|
|
308
308
|
/** The cursor to show while dragging. @default { cursor: 'grabbing' } */
|
|
309
309
|
externalStyles: PropType<{
|
|
310
310
|
cursor?: string;
|
|
@@ -343,8 +343,8 @@ export declare const Knob: import("vue").DefineComponent<import("vue").ExtractPr
|
|
|
343
343
|
}>> & Readonly<{
|
|
344
344
|
"onUpdate:modelValue"?: ((value: number) => any) | undefined;
|
|
345
345
|
}>, {
|
|
346
|
-
wheel: ModifierValue<InputEventOption> | null;
|
|
347
346
|
disabled: boolean;
|
|
347
|
+
wheel: ModifierValue<InputEventOption> | null;
|
|
348
348
|
step: number;
|
|
349
349
|
keyboard: ModifierValue<InputEventOption> | null;
|
|
350
350
|
dragSensitivity: ModifierValue<number>;
|
|
@@ -363,7 +363,7 @@ export declare const KnobActiveLine: import("vue").DefineComponent<import("vue")
|
|
|
363
363
|
default: string;
|
|
364
364
|
};
|
|
365
365
|
strokeWidth: {
|
|
366
|
-
type: (
|
|
366
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
367
367
|
default: number;
|
|
368
368
|
};
|
|
369
369
|
}>, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
@@ -374,7 +374,7 @@ export declare const KnobActiveLine: import("vue").DefineComponent<import("vue")
|
|
|
374
374
|
default: string;
|
|
375
375
|
};
|
|
376
376
|
strokeWidth: {
|
|
377
|
-
type: (
|
|
377
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
378
378
|
default: number;
|
|
379
379
|
};
|
|
380
380
|
}>> & Readonly<{}>, {
|
|
@@ -393,7 +393,7 @@ export declare const KnobInactiveLine: import("vue").DefineComponent<import("vue
|
|
|
393
393
|
default: string;
|
|
394
394
|
};
|
|
395
395
|
strokeWidth: {
|
|
396
|
-
type: (
|
|
396
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
397
397
|
default: number;
|
|
398
398
|
};
|
|
399
399
|
}>, () => (import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
@@ -404,7 +404,7 @@ export declare const KnobInactiveLine: import("vue").DefineComponent<import("vue
|
|
|
404
404
|
default: string;
|
|
405
405
|
};
|
|
406
406
|
strokeWidth: {
|
|
407
|
-
type: (
|
|
407
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
408
408
|
default: number;
|
|
409
409
|
};
|
|
410
410
|
}>> & Readonly<{}>, {
|
|
@@ -686,9 +686,9 @@ export declare const NumberInput: import("vue").DefineComponent<import("vue").Ex
|
|
|
686
686
|
}>> & Readonly<{
|
|
687
687
|
"onUpdate:modelValue"?: ((value: number) => any) | undefined;
|
|
688
688
|
}>, {
|
|
689
|
+
disabled: boolean;
|
|
689
690
|
drag: number | null;
|
|
690
691
|
wheel: import("@tremolo-ui/dom").ModifierValue<import("@tremolo-ui/dom").InputEventOption> | null;
|
|
691
|
-
disabled: boolean;
|
|
692
692
|
step: number;
|
|
693
693
|
keyboard: import("@tremolo-ui/dom").ModifierValue<import("@tremolo-ui/dom").InputEventOption> | null;
|
|
694
694
|
dragSensitivity: import("@tremolo-ui/dom").ModifierValue<number>;
|
|
@@ -985,8 +985,8 @@ export declare const PointsEditor: import("vue").DefineComponent<import("vue").E
|
|
|
985
985
|
}>> & Readonly<{
|
|
986
986
|
"onUpdate:selection"?: ((selection: string[]) => any) | undefined;
|
|
987
987
|
}>, {
|
|
988
|
-
wheel: ModifierValue<InputEventOption> | null;
|
|
989
988
|
disabled: boolean;
|
|
989
|
+
wheel: ModifierValue<InputEventOption> | null;
|
|
990
990
|
keyboard: ModifierValue<InputEventOption> | null;
|
|
991
991
|
dragSensitivity: ModifierValue<number>;
|
|
992
992
|
readonly: boolean;
|
|
@@ -1098,8 +1098,8 @@ export declare const PointsEditorPoint: import("vue").DefineComponent<import("vu
|
|
|
1098
1098
|
onDragStart?: ((value: PointPosition) => any) | undefined;
|
|
1099
1099
|
onDragEnd?: ((value: PointPosition) => any) | undefined;
|
|
1100
1100
|
}>, {
|
|
1101
|
-
wheel: ModifierValue<InputEventOption> | null;
|
|
1102
1101
|
disabled: boolean;
|
|
1102
|
+
wheel: ModifierValue<InputEventOption> | null;
|
|
1103
1103
|
keyboard: ModifierValue<InputEventOption> | null;
|
|
1104
1104
|
readonly: boolean;
|
|
1105
1105
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
@@ -1252,9 +1252,9 @@ export declare const Slider: import("vue").DefineComponent<import("vue").Extract
|
|
|
1252
1252
|
onDragStart?: ((value: number) => any) | undefined;
|
|
1253
1253
|
onDragEnd?: ((value: number) => any) | undefined;
|
|
1254
1254
|
}>, {
|
|
1255
|
+
disabled: boolean;
|
|
1255
1256
|
reverse: boolean;
|
|
1256
1257
|
wheel: import("@tremolo-ui/dom").ModifierValue<import("@tremolo-ui/dom").InputEventOption> | null;
|
|
1257
|
-
disabled: boolean;
|
|
1258
1258
|
step: number;
|
|
1259
1259
|
vertical: boolean;
|
|
1260
1260
|
keyboard: import("@tremolo-ui/dom").ModifierValue<import("@tremolo-ui/dom").InputEventOption> | null;
|
|
@@ -1267,7 +1267,7 @@ export declare const Slider: import("vue").DefineComponent<import("vue").Extract
|
|
|
1267
1267
|
/** The marks along the slider: written out as options, or built from `options`. */
|
|
1268
1268
|
export declare const SliderMarks: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
1269
1269
|
/** Space between the marks and the track. Sets `--gap`. */
|
|
1270
|
-
gap: (
|
|
1270
|
+
gap: (StringConstructor | NumberConstructor)[];
|
|
1271
1271
|
/**
|
|
1272
1272
|
* Build the marks instead of writing `SliderMarksOption` out: a number
|
|
1273
1273
|
* puts one every that many, `'step'` one every `step`. The default slot
|
|
@@ -1278,7 +1278,7 @@ export declare const SliderMarks: import("vue").DefineComponent<import("vue").Ex
|
|
|
1278
1278
|
[key: string]: any;
|
|
1279
1279
|
}>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
1280
1280
|
/** Space between the marks and the track. Sets `--gap`. */
|
|
1281
|
-
gap: (
|
|
1281
|
+
gap: (StringConstructor | NumberConstructor)[];
|
|
1282
1282
|
/**
|
|
1283
1283
|
* Build the marks instead of writing `SliderMarksOption` out: a number
|
|
1284
1284
|
* puts one every that many, `'step'` one every `step`. The default slot
|
|
@@ -1309,11 +1309,11 @@ export declare const SliderMarksOption: import("vue").DefineComponent<import("vu
|
|
|
1309
1309
|
default: undefined;
|
|
1310
1310
|
};
|
|
1311
1311
|
/** Thickness of the mark. Sets `--thickness`. */
|
|
1312
|
-
thickness: (
|
|
1312
|
+
thickness: (StringConstructor | NumberConstructor)[];
|
|
1313
1313
|
/** Length of the mark. Sets `--length`. */
|
|
1314
|
-
length: (
|
|
1314
|
+
length: (StringConstructor | NumberConstructor)[];
|
|
1315
1315
|
/** Space between the mark and the label. Sets `--gap`. */
|
|
1316
|
-
gap: (
|
|
1316
|
+
gap: (StringConstructor | NumberConstructor)[];
|
|
1317
1317
|
/** Classes for the mark and the label inside the option. */
|
|
1318
1318
|
classes: PropType<{
|
|
1319
1319
|
mark?: string;
|
|
@@ -1346,11 +1346,11 @@ export declare const SliderMarksOption: import("vue").DefineComponent<import("vu
|
|
|
1346
1346
|
default: undefined;
|
|
1347
1347
|
};
|
|
1348
1348
|
/** Thickness of the mark. Sets `--thickness`. */
|
|
1349
|
-
thickness: (
|
|
1349
|
+
thickness: (StringConstructor | NumberConstructor)[];
|
|
1350
1350
|
/** Length of the mark. Sets `--length`. */
|
|
1351
|
-
length: (
|
|
1351
|
+
length: (StringConstructor | NumberConstructor)[];
|
|
1352
1352
|
/** Space between the mark and the label. Sets `--gap`. */
|
|
1353
|
-
gap: (
|
|
1353
|
+
gap: (StringConstructor | NumberConstructor)[];
|
|
1354
1354
|
/** Classes for the mark and the label inside the option. */
|
|
1355
1355
|
classes: PropType<{
|
|
1356
1356
|
mark?: string;
|
|
@@ -1385,9 +1385,9 @@ export declare const SliderThumb: import("vue").DefineComponent<import("vue").Ex
|
|
|
1385
1385
|
/** The track the thumb runs along, and what the pointer is measured against. */
|
|
1386
1386
|
export declare const SliderTrack: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
1387
1387
|
/** How long the track is along the axis the slider runs. Sets `--length`. */
|
|
1388
|
-
length: (
|
|
1388
|
+
length: (StringConstructor | NumberConstructor)[];
|
|
1389
1389
|
/** How thick the track is across that axis. Sets `--thickness`. */
|
|
1390
|
-
thickness: (
|
|
1390
|
+
thickness: (StringConstructor | NumberConstructor)[];
|
|
1391
1391
|
/** Colour of the part from `min` to the value. Sets `--active`. */
|
|
1392
1392
|
active: StringConstructor;
|
|
1393
1393
|
/** Colour of the rest of the track. Sets `--inactive`. */
|
|
@@ -1396,9 +1396,9 @@ export declare const SliderTrack: import("vue").DefineComponent<import("vue").Ex
|
|
|
1396
1396
|
[key: string]: any;
|
|
1397
1397
|
}>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
1398
1398
|
/** How long the track is along the axis the slider runs. Sets `--length`. */
|
|
1399
|
-
length: (
|
|
1399
|
+
length: (StringConstructor | NumberConstructor)[];
|
|
1400
1400
|
/** How thick the track is across that axis. Sets `--thickness`. */
|
|
1401
|
-
thickness: (
|
|
1401
|
+
thickness: (StringConstructor | NumberConstructor)[];
|
|
1402
1402
|
/** Colour of the part from `min` to the value. Sets `--active`. */
|
|
1403
1403
|
active: StringConstructor;
|
|
1404
1404
|
/** Colour of the rest of the track. Sets `--inactive`. */
|
|
@@ -1546,9 +1546,9 @@ export declare const XYPad: import("vue").DefineComponent<import("vue").ExtractP
|
|
|
1546
1546
|
onDragStart?: ((value: XY<number>) => any) | undefined;
|
|
1547
1547
|
onDragEnd?: ((value: XY<number>) => any) | undefined;
|
|
1548
1548
|
}>, {
|
|
1549
|
+
disabled: boolean;
|
|
1549
1550
|
reverse: boolean | readonly [x: boolean, y: boolean];
|
|
1550
1551
|
wheel: ModifierValue<InputEventOption> | null;
|
|
1551
|
-
disabled: boolean;
|
|
1552
1552
|
step: number | readonly [x: number, y: number];
|
|
1553
1553
|
keyboard: ModifierValue<InputEventOption> | null;
|
|
1554
1554
|
dragSensitivity: ModifierValue<number>;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tremolo-ui/vue",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.8.0",
|
|
4
4
|
"description": "Vue component library for audio app",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"sideEffects": false,
|
|
@@ -26,7 +26,7 @@
|
|
|
26
26
|
"@testing-library/vue": "8.1.0",
|
|
27
27
|
"@vitejs/plugin-vue": "6.0.9",
|
|
28
28
|
"@vue/test-utils": "2.5.1",
|
|
29
|
-
"esbuild": "0.28.
|
|
29
|
+
"esbuild": "0.28.2",
|
|
30
30
|
"storybook": "10.6.0",
|
|
31
31
|
"vue-tsc": "3.3.11",
|
|
32
32
|
"vue": "3.5.43"
|
|
@@ -35,8 +35,8 @@
|
|
|
35
35
|
"vue": "^3.5.0"
|
|
36
36
|
},
|
|
37
37
|
"dependencies": {
|
|
38
|
-
"@tremolo-ui/dom": "^0.
|
|
39
|
-
"@tremolo-ui/functions": "^0.
|
|
38
|
+
"@tremolo-ui/dom": "^0.8.0",
|
|
39
|
+
"@tremolo-ui/functions": "^0.8.0"
|
|
40
40
|
},
|
|
41
41
|
"files": [
|
|
42
42
|
"dist",
|