@antimatter-audio/antimatter-ui 16.6.0 → 16.7.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.js +249 -234
- package/dist/index.js.map +1 -1
- package/dist/types/common/types.d.ts +11 -1
- package/dist/types/common/types.d.ts.map +1 -1
- package/dist/types/common/utils.d.ts +17 -14
- package/dist/types/common/utils.d.ts.map +1 -1
- package/dist/types/core/Slider/BarSlider.d.ts +5 -2
- package/dist/types/core/Slider/BarSlider.d.ts.map +1 -1
- package/dist/types/core/Slider/Slider.d.ts.map +1 -1
- package/dist/types/hooks/useCombobox.d.ts +2 -2
- package/dist/types/hooks/useCombobox.d.ts.map +1 -1
- package/dist/types/hooks/useGroupFocus.d.ts +2 -1
- package/dist/types/hooks/useGroupFocus.d.ts.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -193,7 +193,19 @@ var IncrementType;
|
|
|
193
193
|
IncrementType["fine"] = "fine";
|
|
194
194
|
IncrementType["standard"] = "standard";
|
|
195
195
|
IncrementType["button"] = "button";
|
|
196
|
+
IncrementType["index"] = "index";
|
|
197
|
+
IncrementType["indexButton"] = "indexButton";
|
|
196
198
|
})(IncrementType || (IncrementType = {}));
|
|
199
|
+
var NumberType;
|
|
200
|
+
(function(NumberType) {
|
|
201
|
+
NumberType["float"] = "float";
|
|
202
|
+
NumberType["integer"] = "integer";
|
|
203
|
+
})(NumberType || (NumberType = {}));
|
|
204
|
+
var StepDirection;
|
|
205
|
+
(function(StepDirection) {
|
|
206
|
+
StepDirection["up"] = "up";
|
|
207
|
+
StepDirection["down"] = "down";
|
|
208
|
+
})(StepDirection || (StepDirection = {}));
|
|
197
209
|
|
|
198
210
|
var SliderType;
|
|
199
211
|
(function(SliderType) {
|
|
@@ -371,25 +383,19 @@ const randomizeValue = (min, max)=>{
|
|
|
371
383
|
// min?: number;
|
|
372
384
|
// max?: number;
|
|
373
385
|
// }
|
|
374
|
-
const incrementValue = ({ incrementType, numSteps, delta,
|
|
375
|
-
const
|
|
376
|
-
const
|
|
377
|
-
|
|
378
|
-
|
|
379
|
-
|
|
380
|
-
const
|
|
381
|
-
|
|
382
|
-
|
|
383
|
-
|
|
384
|
-
|
|
385
|
-
|
|
386
|
-
|
|
387
|
-
} else {
|
|
388
|
-
spreadMultiplier = 4;
|
|
389
|
-
}
|
|
390
|
-
}
|
|
391
|
-
const velocityMultiplier = Math.max(velocity, 1);
|
|
392
|
-
return velocity && velocity > 0.5 ? selectedIndex + incrementBy * velocityMultiplier * spreadMultiplier : selectedIndex + incrementBy;
|
|
386
|
+
const incrementValue = ({ incrementType, numSteps, delta, startingValue, buttonIncrement, buttonDirection = StepDirection.up, interval })=>{
|
|
387
|
+
const hasButtonIncrementType = incrementType === IncrementType.button || incrementType === IncrementType.indexButton;
|
|
388
|
+
// const hasVelocity =
|
|
389
|
+
// incrementType === IncrementType.standard ||
|
|
390
|
+
// incrementType === IncrementType.index;
|
|
391
|
+
const isFloatValue = incrementType === IncrementType.standard || incrementType === IncrementType.fine || incrementType === IncrementType.button;
|
|
392
|
+
// const velocityMultiplier: number = 1;
|
|
393
|
+
const buttonIncrementMultiplier = incrementType === IncrementType.button && buttonIncrement ? Math.abs(buttonIncrement) : 1;
|
|
394
|
+
const totalNumStepsMultiplier = incrementType === IncrementType.standard ? Math.abs(numSteps * 0.01) : 1;
|
|
395
|
+
const signMultiplier = hasButtonIncrementType ? Math.sign(buttonDirection === StepDirection.down ? -1 : 1) : delta ?? 1;
|
|
396
|
+
const returnVal = (startingValue ?? 0) + (interval ?? 0) * // velocityMultiplier *
|
|
397
|
+
buttonIncrementMultiplier * totalNumStepsMultiplier * signMultiplier;
|
|
398
|
+
return isFloatValue ? parseFloat(returnVal?.toFixed(2)) : Math.round(returnVal);
|
|
393
399
|
};
|
|
394
400
|
const generateDropShadowFilterString = (colors, radius)=>{
|
|
395
401
|
let output = [];
|
|
@@ -405,7 +411,7 @@ const generateDropShadowFilterString = (colors, radius)=>{
|
|
|
405
411
|
};
|
|
406
412
|
const getTextOuterGlowString = (outerGlowColor, outerGlowRadius)=>`${outerGlowColor} 0px 0px ${outerGlowRadius / 2}px, ${outerGlowColor} 0px 0px ${outerGlowRadius}px`;
|
|
407
413
|
const getNumericValue = (value)=>typeof value === 'string' ? +(value?.match(/\d+/)?.[0] ?? '') : value;
|
|
408
|
-
const
|
|
414
|
+
const getUnit = (value)=>typeof value === 'string' ? value.match(/[a-z]/g)?.[0] : 'px';
|
|
409
415
|
const getStringSizeValue = (value, increment = 'px')=>typeof value === 'string' ? value : `${value}${increment}`;
|
|
410
416
|
const getBorderValue = (borderArray, borderDirection, returnNumericValue)=>{
|
|
411
417
|
switch(borderDirection){
|
|
@@ -1911,8 +1917,6 @@ const useCombobox = ({ id, label, items = [], filter, onChange, displayValInHead
|
|
|
1911
1917
|
const [properties, setProperties] = useState(comboBoxState?.properties);
|
|
1912
1918
|
const [selectedIndex, setSelectedIndex] = useState(comboBoxState?.getChoiceIndex());
|
|
1913
1919
|
const prevIndex = useRef(null);
|
|
1914
|
-
const nextIndex = useRef(null);
|
|
1915
|
-
const prevDragDirection = useRef(null);
|
|
1916
1920
|
const { highlightedItemChanged, getModSlotPreview, updateModSlotRowTarget } = useGlobalContext();
|
|
1917
1921
|
const modSlotPreview = getModSlotPreview();
|
|
1918
1922
|
//TODO: Filter choices for subsequent rows
|
|
@@ -1978,7 +1982,7 @@ const useCombobox = ({ id, label, items = [], filter, onChange, displayValInHead
|
|
|
1978
1982
|
const filteredChoices = getFilteredChoices(items, filter);
|
|
1979
1983
|
// Used in RotaryCombobox
|
|
1980
1984
|
const bindDrag = useGesture({
|
|
1981
|
-
onDrag: ({ direction,
|
|
1985
|
+
onDrag: ({ direction, delta })=>{
|
|
1982
1986
|
//TODO: Move this out of useSlider
|
|
1983
1987
|
if (updateModSlotPreview) {
|
|
1984
1988
|
updateModSlotRowTarget({
|
|
@@ -1987,33 +1991,15 @@ const useCombobox = ({ id, label, items = [], filter, onChange, displayValInHead
|
|
|
1987
1991
|
saveToBackend: false
|
|
1988
1992
|
});
|
|
1989
1993
|
}
|
|
1990
|
-
|
|
1991
|
-
|
|
1992
|
-
|
|
1993
|
-
|
|
1994
|
-
|
|
1995
|
-
|
|
1996
|
-
|
|
1997
|
-
// throttle(() => {
|
|
1998
|
-
nextIndex.current = incrementIndex({
|
|
1999
|
-
velocity: velocity[1],
|
|
2000
|
-
incrementBy: 1,
|
|
2001
|
-
numOptions: properties?.choices?.length,
|
|
2002
|
-
selectedIndex
|
|
2003
|
-
});
|
|
2004
|
-
// }, 90);
|
|
2005
|
-
} else if (selectedIndex > 0 && directionY && directionY === -1) {
|
|
2006
|
-
// throttle(() => {
|
|
2007
|
-
nextIndex.current = incrementIndex({
|
|
2008
|
-
velocity: velocity[1],
|
|
2009
|
-
incrementBy: -1,
|
|
2010
|
-
numOptions: properties?.choices?.length,
|
|
2011
|
-
selectedIndex
|
|
1994
|
+
if (selectedIndex > 0 && selectedIndex < choices.length) {
|
|
1995
|
+
const newValue = incrementValue({
|
|
1996
|
+
delta: delta[1] * -1,
|
|
1997
|
+
incrementType: IncrementType.index,
|
|
1998
|
+
startingValue: selectedIndex,
|
|
1999
|
+
interval: properties?.interval ?? 0,
|
|
2000
|
+
numSteps: properties?.numSteps ?? 0
|
|
2012
2001
|
});
|
|
2013
|
-
|
|
2014
|
-
}
|
|
2015
|
-
if (nextIndex.current !== null && nextIndex.current !== undefined && nextIndex.current !== selectedIndex.current) {
|
|
2016
|
-
comboBoxState?.setChoiceIndex(nextIndex.current);
|
|
2002
|
+
comboBoxState?.setChoiceIndex(newValue);
|
|
2017
2003
|
}
|
|
2018
2004
|
}
|
|
2019
2005
|
}, {
|
|
@@ -2055,20 +2041,23 @@ const useCombobox = ({ id, label, items = [], filter, onChange, displayValInHead
|
|
|
2055
2041
|
});
|
|
2056
2042
|
}
|
|
2057
2043
|
};
|
|
2058
|
-
const
|
|
2044
|
+
const incrementComboboxButton = ()=>{
|
|
2059
2045
|
if (selectedIndex < properties.choices.length - 1) {
|
|
2060
|
-
const newIndex =
|
|
2061
|
-
|
|
2062
|
-
|
|
2046
|
+
const newIndex = incrementValue({
|
|
2047
|
+
interval: properties?.interval,
|
|
2048
|
+
startingValue: selectedIndex,
|
|
2049
|
+
incrementType: IncrementType.indexButton,
|
|
2050
|
+
numSteps: properties?.choices?.length
|
|
2063
2051
|
});
|
|
2064
2052
|
handleChange(newIndex);
|
|
2065
2053
|
}
|
|
2066
2054
|
};
|
|
2067
|
-
const
|
|
2055
|
+
const decrementComboboxButton = ()=>{
|
|
2068
2056
|
if (selectedIndex > 0) {
|
|
2069
|
-
const newIndex =
|
|
2070
|
-
selectedIndex,
|
|
2071
|
-
|
|
2057
|
+
const newIndex = incrementValue({
|
|
2058
|
+
startingValue: selectedIndex,
|
|
2059
|
+
incrementType: IncrementType.indexButton,
|
|
2060
|
+
numSteps: properties?.choices?.length
|
|
2072
2061
|
});
|
|
2073
2062
|
handleChange(newIndex);
|
|
2074
2063
|
}
|
|
@@ -2086,8 +2075,8 @@ const useCombobox = ({ id, label, items = [], filter, onChange, displayValInHead
|
|
|
2086
2075
|
onClick,
|
|
2087
2076
|
onDoubleClick,
|
|
2088
2077
|
bindDrag,
|
|
2089
|
-
|
|
2090
|
-
|
|
2078
|
+
incrementComboboxButton,
|
|
2079
|
+
decrementComboboxButton
|
|
2091
2080
|
};
|
|
2092
2081
|
};
|
|
2093
2082
|
|
|
@@ -2206,7 +2195,7 @@ function ComboboxComponent({ id, anchorTo, excludeItems = [], items, onChange, c
|
|
|
2206
2195
|
style: {
|
|
2207
2196
|
visibility: numVisibleItems === 0 ? 'hidden' : 'visible',
|
|
2208
2197
|
// bottom: `${-(listItemHeight * numVisibleItems)}px`,
|
|
2209
|
-
height: getStringSizeValue(getNumericValue(listItemHeight) * numVisibleItems,
|
|
2198
|
+
height: getStringSizeValue(getNumericValue(listItemHeight) * numVisibleItems, getUnit(listItemHeight)),
|
|
2210
2199
|
border: `${dropdownBorderWidth}px solid ${dropdownBorderColor}`,
|
|
2211
2200
|
background: dropdownBackgroundColor,
|
|
2212
2201
|
width: width && getStringSizeValue(width)
|
|
@@ -2247,7 +2236,7 @@ function Combobox$1({ label, showLabel, color = 'var(--color-text)', labelColor,
|
|
|
2247
2236
|
0,
|
|
2248
2237
|
0
|
|
2249
2238
|
], buttonBackgroundColor = 'var(--bg-lv4)', buttonHighlightColor, buttonHeight = 34, outerGlowRadius, outerGlowColors, className, onChange, isDisabled, anchorTo = AnchorTo.bottomLeft, width = 110, listItemHeight = 34, id, style }) {
|
|
2250
|
-
const { selectedIndexLabel, choices, onMouseEnter, onMouseExit, handleChange, onClick,
|
|
2239
|
+
const { selectedIndexLabel, choices, onMouseEnter, onMouseExit, handleChange, onClick, incrementComboboxButton, properties, decrementComboboxButton } = useCombobox({
|
|
2251
2240
|
id,
|
|
2252
2241
|
label,
|
|
2253
2242
|
onChange
|
|
@@ -2385,7 +2374,7 @@ function Combobox$1({ label, showLabel, color = 'var(--color-text)', labelColor,
|
|
|
2385
2374
|
IconButton.padding.xSmall,
|
|
2386
2375
|
IconButton.padding.small
|
|
2387
2376
|
],
|
|
2388
|
-
onClick:
|
|
2377
|
+
onClick: decrementComboboxButton
|
|
2389
2378
|
}),
|
|
2390
2379
|
jsx(IconButton, {
|
|
2391
2380
|
id: "Combobox-down-arrow",
|
|
@@ -2405,7 +2394,7 @@ function Combobox$1({ label, showLabel, color = 'var(--color-text)', labelColor,
|
|
|
2405
2394
|
IconButton.padding.small,
|
|
2406
2395
|
IconButton.padding.small
|
|
2407
2396
|
],
|
|
2408
|
-
onClick:
|
|
2397
|
+
onClick: incrementComboboxButton
|
|
2409
2398
|
})
|
|
2410
2399
|
]
|
|
2411
2400
|
})
|
|
@@ -2821,7 +2810,7 @@ const useSlider = ({ id, rowId, label, displayValInHeader = true, mockProperties
|
|
|
2821
2810
|
const newValue = incrementValue({
|
|
2822
2811
|
delta: deltaVal,
|
|
2823
2812
|
incrementType: optionIsDown ? IncrementType.fine : IncrementType.standard,
|
|
2824
|
-
|
|
2813
|
+
startingValue: previousScaledValueRef.current || 0,
|
|
2825
2814
|
interval: properties?.interval ?? 0,
|
|
2826
2815
|
numSteps: properties?.numSteps ?? 0
|
|
2827
2816
|
});
|
|
@@ -3533,13 +3522,14 @@ activeColor = 'var(--color-brand)', inactiveColor = 'var(--bg-lv1)', shape = Ind
|
|
|
3533
3522
|
});
|
|
3534
3523
|
}
|
|
3535
3524
|
|
|
3536
|
-
function useGroupFocus({ isDisabled, id, inputRef }) {
|
|
3525
|
+
function useGroupFocus({ isDisabled, id, inputRef, incrementBy }) {
|
|
3537
3526
|
const [isFocused, setIsFocused] = useState(false);
|
|
3538
3527
|
const isOptionPressed = useRef(false);
|
|
3539
3528
|
const groupId = `${id}-control-group`;
|
|
3540
3529
|
const inputId = `${id}-input`;
|
|
3541
3530
|
const sliderState = Juce.getSliderState(id);
|
|
3542
3531
|
const comboBoxState = Juce.getComboBoxState(id);
|
|
3532
|
+
const isMainSliderACombobox = comboBoxState?.properties?.choices?.length > 0;
|
|
3543
3533
|
const mousedownListener = (event)=>{
|
|
3544
3534
|
if (!isDisabled) {
|
|
3545
3535
|
if (event.target.closest('.ControlGroup')?.id === groupId) {
|
|
@@ -3566,14 +3556,13 @@ function useGroupFocus({ isDisabled, id, inputRef }) {
|
|
|
3566
3556
|
}
|
|
3567
3557
|
};
|
|
3568
3558
|
const increment = ()=>{
|
|
3569
|
-
const isMainSliderACombobox = comboBoxState?.properties?.choices?.length > 0;
|
|
3570
3559
|
if (!isMainSliderACombobox) {
|
|
3571
3560
|
const scaledVal = sliderState?.scaledValue;
|
|
3572
3561
|
const newValue = incrementValue({
|
|
3573
3562
|
incrementType: IncrementType.button,
|
|
3574
|
-
incrementBy: 5,
|
|
3575
3563
|
numSteps: sliderState?.properties?.numSteps,
|
|
3576
|
-
|
|
3564
|
+
startingValue: scaledVal,
|
|
3565
|
+
buttonDirection: StepDirection.up,
|
|
3577
3566
|
interval: sliderState?.properties?.interval
|
|
3578
3567
|
});
|
|
3579
3568
|
sliderState.setScaledValue(newValue);
|
|
@@ -3583,14 +3572,13 @@ function useGroupFocus({ isDisabled, id, inputRef }) {
|
|
|
3583
3572
|
}
|
|
3584
3573
|
};
|
|
3585
3574
|
const decrement = ()=>{
|
|
3586
|
-
const isMainSliderACombobox = comboBoxState?.properties?.choices?.length > 0;
|
|
3587
3575
|
if (!isMainSliderACombobox) {
|
|
3588
3576
|
const scaledVal = sliderState?.scaledValue;
|
|
3589
3577
|
const newValue = incrementValue({
|
|
3590
3578
|
incrementType: IncrementType.button,
|
|
3591
|
-
incrementBy: -5,
|
|
3592
3579
|
numSteps: sliderState?.properties?.numSteps,
|
|
3593
|
-
|
|
3580
|
+
startingValue: scaledVal,
|
|
3581
|
+
buttonDirection: StepDirection.down,
|
|
3594
3582
|
interval: sliderState?.properties?.interval
|
|
3595
3583
|
});
|
|
3596
3584
|
sliderState?.setScaledValue(newValue);
|
|
@@ -3638,6 +3626,14 @@ function useGroupFocus({ isDisabled, id, inputRef }) {
|
|
|
3638
3626
|
event.preventDefault();
|
|
3639
3627
|
increment();
|
|
3640
3628
|
}
|
|
3629
|
+
if (event.key === 'ArrowUp') {
|
|
3630
|
+
event.preventDefault();
|
|
3631
|
+
increment();
|
|
3632
|
+
}
|
|
3633
|
+
if (event.key === 'ArrowDown') {
|
|
3634
|
+
event.preventDefault();
|
|
3635
|
+
decrement();
|
|
3636
|
+
}
|
|
3641
3637
|
}
|
|
3642
3638
|
}
|
|
3643
3639
|
}
|
|
@@ -3804,7 +3800,7 @@ RotarySlider.trackWidth = TrackWidths;
|
|
|
3804
3800
|
var css_248z$9 = ".BarSlider-innerWrapper:hover {\n cursor: pointer;\n}\n\n.BarSlider-Track {\n touch-action: none;\n position: relative;\n width: 100%;\n height: 100%;\n max-height: 100%;\n max-width: 100%;\n background-color: var(--bg-lv5);\n}\n\n.BarSlider-Track.isHighlighted {\n background-color: var(--bg-lv6);\n}\n.Barslider-IndicatorLineWrapper,\n.BarSlider-HandleWrapper {\n position: absolute;\n pointer-events: none;\n}\n\n.BarSlider-IndicatorLine {\n position: absolute;\n top: 0;\n /* left: 0; */\n right: 0;\n bottom: 0;\n pointer-events: none;\n}\n.BarSlider-Handle {\n position: absolute;\n pointer-events: none;\n}\n\n.BarSliderHandle {\n pointer-events: auto;\n}\n.Barslider-IndicatorLineWrapper {\n /* border-radius: var(--trackBorderRadius); */\n overflow: hidden;\n}\n\n.BarSlider-Input {\n font-weight: bold;\n width: 100%;\n}\n\n.BarSlider-Input.includeValueInHeightIsFalse {\n position: absolute;\n bottom: -1.7em;\n left: 0;\n right: 0;\n z-index: 10;\n}\n";
|
|
3805
3801
|
styleInject(css_248z$9);
|
|
3806
3802
|
|
|
3807
|
-
function Slider$1({ polarity = Polarity.unipolar, orientation = Orientation.vertical, dragOrientation = DragOrientation.followCursor, isRandomizable = false, randomizerObject, isStandalone = true, isHighlighted = false, showValue = true, showHandle = true, showLabel = true, showInsetBoxShadow = true, resetterObject, className, id, width, height =
|
|
3803
|
+
function Slider$1({ polarity = Polarity.unipolar, orientation = Orientation.vertical, dragOrientation = DragOrientation.followCursor, isRandomizable = false, randomizerObject, isStandalone = true, isHighlighted = false, showValue = true, showHandle = true, showLabel = true, showInsetBoxShadow = true, resetterObject, className, id, width, height = Height.full, onChange, outerGlowRadius, outerGlowColors, trackBorderRadius = 20, blur, style, indicatorLineColor = 'var(--color-brand)', indicatorLineGradient, trackColor = 'var(--bg-lv3)', markColor = 'var(--bg-lv7)', markHighlightColor = 'var(--color-text)', trackStrokeColor, handleFillColor, handleStrokeColor, cornerBorderHighlightColor, trackWidth = TrackWidths.small, label, labelColor, marks = [], inputHighlightColor = 'var(--color-brand)', includeValueInHeight = true, // Mocks the initial scaled value of the slider for web veiws outside of JUCE
|
|
3808
3804
|
mockInitialNormalisedValue = 0, mockProperties = {
|
|
3809
3805
|
start: 20.0,
|
|
3810
3806
|
end: 15000.0,
|
|
@@ -3814,6 +3810,7 @@ mockInitialNormalisedValue = 0, mockProperties = {
|
|
|
3814
3810
|
const sliderElementRef = useRef(null);
|
|
3815
3811
|
const handleElementRef = useRef(null);
|
|
3816
3812
|
const barSliderIndicatorRef = useRef(null);
|
|
3813
|
+
const inputRef = useRef(null);
|
|
3817
3814
|
const isHorizontal = orientation === Orientation.horizontal;
|
|
3818
3815
|
const isVertical = orientation === Orientation.vertical;
|
|
3819
3816
|
const handleWidth = 18;
|
|
@@ -3822,6 +3819,10 @@ mockInitialNormalisedValue = 0, mockProperties = {
|
|
|
3822
3819
|
// const elementRef = useRef<HTMLDivElement>(null);
|
|
3823
3820
|
const animationFrameRef = useRef(null);
|
|
3824
3821
|
const prevValRef = useRef(null);
|
|
3822
|
+
const { isFocused } = useGroupFocus({
|
|
3823
|
+
id,
|
|
3824
|
+
inputRef
|
|
3825
|
+
});
|
|
3825
3826
|
const animate = animateBarChart({
|
|
3826
3827
|
animationFrameRef,
|
|
3827
3828
|
elementRef: barSliderIndicatorRef,
|
|
@@ -3854,6 +3855,7 @@ mockInitialNormalisedValue = 0, mockProperties = {
|
|
|
3854
3855
|
marks
|
|
3855
3856
|
});
|
|
3856
3857
|
const drag = isStandalone ? bindDrag : bindSequenceDrag;
|
|
3858
|
+
// const focusBorderMargin = 10;
|
|
3857
3859
|
useEffect(()=>{
|
|
3858
3860
|
if (normalisedValue !== null && normalisedValue !== undefined && normalisedValue !== prevValRef.current) {
|
|
3859
3861
|
animate(normalisedValue);
|
|
@@ -3879,6 +3881,7 @@ mockInitialNormalisedValue = 0, mockProperties = {
|
|
|
3879
3881
|
[GradientStyles.multicolor]: multiColorGradient,
|
|
3880
3882
|
[GradientStyles.unicolor]: singleColorGradient
|
|
3881
3883
|
};
|
|
3884
|
+
const marginSize = Spacing.mediumSmall;
|
|
3882
3885
|
// const handleRef = useRef(null);
|
|
3883
3886
|
// useEffect(() => {
|
|
3884
3887
|
// console.log(normalisedValue, 'NORMALIZEDVAL');
|
|
@@ -3890,7 +3893,7 @@ mockInitialNormalisedValue = 0, mockProperties = {
|
|
|
3890
3893
|
className: classnames('BarSlider', isVertical && 'BarSlider--isVertical', isHorizontal && 'BarSlider--isHorizontal', className),
|
|
3891
3894
|
id: id,
|
|
3892
3895
|
ref: sliderElementRef,
|
|
3893
|
-
gap: Box.gap.
|
|
3896
|
+
gap: Box.gap.none,
|
|
3894
3897
|
height: isVertical ? height : 'auto',
|
|
3895
3898
|
width: isHorizontal ? width : width ?? '100%',
|
|
3896
3899
|
style: {
|
|
@@ -3904,185 +3907,196 @@ mockInitialNormalisedValue = 0, mockProperties = {
|
|
|
3904
3907
|
color: labelColor,
|
|
3905
3908
|
outerGlowRadius: outerGlowRadius,
|
|
3906
3909
|
outerGlowColor: labelColor,
|
|
3907
|
-
blur: blur
|
|
3908
|
-
padding: [
|
|
3909
|
-
Label.padding.none,
|
|
3910
|
-
Label.padding.none,
|
|
3911
|
-
Label.padding.small,
|
|
3912
|
-
Label.padding.none
|
|
3913
|
-
]
|
|
3910
|
+
blur: blur
|
|
3914
3911
|
}) : null,
|
|
3915
3912
|
polarity === Polarity.bipolar && jsx("div", {
|
|
3916
3913
|
className: 'Slider-center-marker'
|
|
3917
3914
|
}),
|
|
3918
|
-
jsxs(
|
|
3919
|
-
|
|
3920
|
-
|
|
3921
|
-
|
|
3922
|
-
|
|
3923
|
-
|
|
3924
|
-
|
|
3925
|
-
Label.padding.none,
|
|
3926
|
-
Label.padding.small,
|
|
3927
|
-
Label.padding.none
|
|
3928
|
-
],
|
|
3915
|
+
jsxs(ControlGroupWrapper, {
|
|
3916
|
+
id: id,
|
|
3917
|
+
width: '100%',
|
|
3918
|
+
height: '100%',
|
|
3919
|
+
isFocused: isFocused,
|
|
3920
|
+
className: `RotarySlider-HighlightWrapper`,
|
|
3921
|
+
borderHighlightColor: cornerBorderHighlightColor,
|
|
3929
3922
|
children: [
|
|
3930
|
-
|
|
3931
|
-
width: '2.5rem',
|
|
3932
|
-
height: '2rem',
|
|
3933
|
-
flexDirection: Box.flexDirection.column,
|
|
3934
|
-
style: {
|
|
3935
|
-
position: 'absolute',
|
|
3936
|
-
pointerEvents: 'none',
|
|
3937
|
-
top: `1px`,
|
|
3938
|
-
height: '2rem',
|
|
3939
|
-
width: '2rem',
|
|
3940
|
-
left: `calc(${item?.value * 100}% - 1rem)`,
|
|
3941
|
-
zIndex: 1
|
|
3942
|
-
},
|
|
3943
|
-
children: [
|
|
3944
|
-
jsx("div", {
|
|
3945
|
-
className: "BarSlider-Mark",
|
|
3946
|
-
style: {
|
|
3947
|
-
width: '5px',
|
|
3948
|
-
height: '5px',
|
|
3949
|
-
borderRadius: '100%',
|
|
3950
|
-
background: hoveredMark === item?.label ? markHighlightColor : markColor,
|
|
3951
|
-
zIndex: 1,
|
|
3952
|
-
cursor: 'pointer',
|
|
3953
|
-
pointerEvents: 'auto'
|
|
3954
|
-
},
|
|
3955
|
-
onMouseEnter: ()=>setHoveredMark(item?.label),
|
|
3956
|
-
onMouseLeave: ()=>setHoveredMark(null),
|
|
3957
|
-
onClick: ()=>{
|
|
3958
|
-
setNormalisedState(item?.value);
|
|
3959
|
-
}
|
|
3960
|
-
}),
|
|
3961
|
-
item?.label ? jsx(Label, {
|
|
3962
|
-
id: item?.label,
|
|
3963
|
-
value: item?.label,
|
|
3964
|
-
fontSize: Label.fontSize.xXSmall,
|
|
3965
|
-
onMouseEnter: ()=>setHoveredMark(item?.label),
|
|
3966
|
-
onMouseLeave: ()=>setHoveredMark(null),
|
|
3967
|
-
color: +normalisedValue?.toFixed(2) === +item?.value?.toFixed(2) || hoveredMark === item?.label ? markHighlightColor : markColor,
|
|
3968
|
-
highlightColor: markHighlightColor,
|
|
3969
|
-
onClick: ()=>{
|
|
3970
|
-
setNormalisedState(item?.value);
|
|
3971
|
-
},
|
|
3972
|
-
style: {
|
|
3973
|
-
cursor: 'pointer',
|
|
3974
|
-
pointerEvents: 'auto'
|
|
3975
|
-
}
|
|
3976
|
-
}) : null
|
|
3977
|
-
]
|
|
3978
|
-
})) : null,
|
|
3979
|
-
jsx(Box, {
|
|
3980
|
-
className: "BarSlider-innerWrapper",
|
|
3981
|
-
height: isHorizontal && showHandle ? `${handleWidth}px` : isHorizontal && !showHandle ? 'auto' : '100%',
|
|
3982
|
-
width: isVertical && showHandle ? `${handleWidth}px` : '100%',
|
|
3923
|
+
jsxs(Box, {
|
|
3983
3924
|
style: {
|
|
3984
|
-
|
|
3985
|
-
touchAction: 'none'
|
|
3925
|
+
position: 'relative'
|
|
3986
3926
|
},
|
|
3987
|
-
|
|
3988
|
-
|
|
3989
|
-
|
|
3990
|
-
|
|
3991
|
-
|
|
3992
|
-
|
|
3993
|
-
|
|
3994
|
-
|
|
3995
|
-
|
|
3996
|
-
|
|
3997
|
-
|
|
3998
|
-
|
|
3999
|
-
|
|
4000
|
-
|
|
4001
|
-
|
|
4002
|
-
|
|
4003
|
-
children: [
|
|
4004
|
-
normalisedValue !== null && normalisedValue !== undefined ? jsx("div", {
|
|
4005
|
-
className: "Barslider-IndicatorLineWrapper",
|
|
3927
|
+
fullHeight: true,
|
|
3928
|
+
padding: isStandalone ? isVertical ? [
|
|
3929
|
+
Box.padding.none
|
|
3930
|
+
] : [
|
|
3931
|
+
marginSize,
|
|
3932
|
+
Box.padding.small,
|
|
3933
|
+
Box.padding.none,
|
|
3934
|
+
Box.padding.small
|
|
3935
|
+
] : [
|
|
3936
|
+
Box.padding.none
|
|
3937
|
+
],
|
|
3938
|
+
children: [
|
|
3939
|
+
marks && marks?.length > 0 ? marks?.map((item)=>jsxs(Box, {
|
|
3940
|
+
width: '2.5rem',
|
|
3941
|
+
height: '2rem',
|
|
3942
|
+
flexDirection: Box.flexDirection.column,
|
|
4006
3943
|
style: {
|
|
4007
|
-
|
|
4008
|
-
|
|
4009
|
-
|
|
4010
|
-
|
|
4011
|
-
|
|
3944
|
+
position: 'absolute',
|
|
3945
|
+
pointerEvents: 'none',
|
|
3946
|
+
top: `var(--spacing-${marginSize})`,
|
|
3947
|
+
height: '2rem',
|
|
3948
|
+
width: '2rem',
|
|
3949
|
+
left: `calc(${item?.value * 100}% - 1rem)`,
|
|
3950
|
+
zIndex: 1
|
|
4012
3951
|
},
|
|
4013
|
-
children:
|
|
4014
|
-
|
|
4015
|
-
|
|
4016
|
-
|
|
4017
|
-
|
|
4018
|
-
|
|
4019
|
-
|
|
4020
|
-
|
|
4021
|
-
|
|
4022
|
-
|
|
4023
|
-
|
|
4024
|
-
|
|
4025
|
-
|
|
4026
|
-
|
|
4027
|
-
|
|
4028
|
-
|
|
4029
|
-
|
|
4030
|
-
|
|
4031
|
-
|
|
4032
|
-
|
|
3952
|
+
children: [
|
|
3953
|
+
jsx("div", {
|
|
3954
|
+
className: "BarSlider-Mark",
|
|
3955
|
+
style: {
|
|
3956
|
+
width: '5px',
|
|
3957
|
+
height: '5px',
|
|
3958
|
+
borderRadius: '100%',
|
|
3959
|
+
background: hoveredMark === item?.label ? markHighlightColor : markColor,
|
|
3960
|
+
zIndex: 1,
|
|
3961
|
+
cursor: 'pointer',
|
|
3962
|
+
pointerEvents: 'auto'
|
|
3963
|
+
},
|
|
3964
|
+
onMouseEnter: ()=>setHoveredMark(item?.label),
|
|
3965
|
+
onMouseLeave: ()=>setHoveredMark(null),
|
|
3966
|
+
onClick: ()=>{
|
|
3967
|
+
setNormalisedState(item?.value);
|
|
3968
|
+
}
|
|
3969
|
+
}),
|
|
3970
|
+
item?.label ? jsx(Label, {
|
|
3971
|
+
id: item?.label,
|
|
3972
|
+
value: item?.label,
|
|
3973
|
+
fontSize: Label.fontSize.xXSmall,
|
|
3974
|
+
onMouseEnter: ()=>setHoveredMark(item?.label),
|
|
3975
|
+
onMouseLeave: ()=>setHoveredMark(null),
|
|
3976
|
+
color: +normalisedValue?.toFixed(2) === +item?.value?.toFixed(2) || hoveredMark === item?.label ? markHighlightColor : markColor,
|
|
3977
|
+
highlightColor: markHighlightColor,
|
|
3978
|
+
onClick: ()=>{
|
|
3979
|
+
setNormalisedState(item?.value);
|
|
3980
|
+
},
|
|
3981
|
+
style: {
|
|
3982
|
+
cursor: 'pointer',
|
|
3983
|
+
pointerEvents: 'auto'
|
|
3984
|
+
}
|
|
3985
|
+
}) : null
|
|
3986
|
+
]
|
|
3987
|
+
})) : null,
|
|
3988
|
+
jsx(Box, {
|
|
3989
|
+
className: "BarSlider-innerWrapper",
|
|
3990
|
+
height: isHorizontal && showHandle ? `${handleWidth}px` : isHorizontal && !showHandle ? 'auto' : '100%',
|
|
3991
|
+
width: isVertical && showHandle ? `${handleWidth}px` : '100%',
|
|
3992
|
+
style: {
|
|
3993
|
+
filter: `blur(${blur}px)`,
|
|
3994
|
+
touchAction: 'none'
|
|
3995
|
+
},
|
|
3996
|
+
"data-sliderElement": "true",
|
|
3997
|
+
...drag(),
|
|
3998
|
+
children: jsxs("div", {
|
|
3999
|
+
className: classnames('BarSlider-Track', isHighlighted && 'isHighlighted'),
|
|
4000
|
+
// onMouseEnter={onMouseEnter}
|
|
4001
|
+
id: id,
|
|
4033
4002
|
style: {
|
|
4034
|
-
|
|
4035
|
-
|
|
4036
|
-
width: isHorizontal ?
|
|
4037
|
-
height: isHorizontal ?
|
|
4038
|
-
|
|
4003
|
+
background: trackColor,
|
|
4004
|
+
stroke: trackStrokeColor ? `1px solid ${trackStrokeColor}` : 'none',
|
|
4005
|
+
width: isHorizontal ? '100%' : trackStringWidth,
|
|
4006
|
+
height: isHorizontal ? trackStringWidth : '100%',
|
|
4007
|
+
borderRadius: trackBorderRadius ? `${trackBorderRadius}px` : '0',
|
|
4008
|
+
boxShadow: showInsetBoxShadow ? `inset 0px 2px 6px rgba(0, 0, 0, 0.25)` : 'none',
|
|
4009
|
+
filter: generateDropShadowFilterString(outerGlowColors, outerGlowRadius),
|
|
4010
|
+
...style
|
|
4039
4011
|
},
|
|
4040
|
-
children:
|
|
4041
|
-
|
|
4042
|
-
|
|
4043
|
-
|
|
4044
|
-
|
|
4045
|
-
|
|
4046
|
-
|
|
4047
|
-
|
|
4048
|
-
|
|
4049
|
-
|
|
4050
|
-
|
|
4051
|
-
|
|
4052
|
-
|
|
4053
|
-
|
|
4054
|
-
|
|
4055
|
-
|
|
4056
|
-
|
|
4012
|
+
children: [
|
|
4013
|
+
normalisedValue !== null && normalisedValue !== undefined ? jsx("div", {
|
|
4014
|
+
className: "Barslider-IndicatorLineWrapper",
|
|
4015
|
+
style: {
|
|
4016
|
+
borderRadius: trackBorderRadius ? `${trackBorderRadius}px` : '0',
|
|
4017
|
+
bottom: '0',
|
|
4018
|
+
left: '0',
|
|
4019
|
+
width: isHorizontal ? '100%' : trackStringWidth,
|
|
4020
|
+
height: '100%'
|
|
4021
|
+
},
|
|
4022
|
+
children: jsx("div", {
|
|
4023
|
+
// TODO: Why aren't the Tailwind classes working?
|
|
4024
|
+
// className={classnames('h-full', 'w-full', 'absolute', 'bg-panel')}
|
|
4025
|
+
ref: barSliderIndicatorRef,
|
|
4026
|
+
className: "BarSlider-IndicatorLine",
|
|
4027
|
+
style: {
|
|
4028
|
+
background: indicatorLineGradient ? selectedGradientMap[indicatorLineGradient] : indicatorLineColor,
|
|
4029
|
+
opacity: isStandalone || isHighlighted ? '100%' : '80%',
|
|
4030
|
+
top: `${isHorizontal && 'calc(50% - 3px)'}`,
|
|
4031
|
+
left: `${isVertical && 'calc(50% - 3px)'}`,
|
|
4032
|
+
filter: generateDropShadowFilterString(outerGlowColors, outerGlowRadius),
|
|
4033
|
+
...getBarTransformStyles({
|
|
4034
|
+
orientation: orientation,
|
|
4035
|
+
polarity
|
|
4036
|
+
})
|
|
4037
|
+
}
|
|
4038
|
+
})
|
|
4039
|
+
}) : '',
|
|
4040
|
+
showHandle ? jsx("div", {
|
|
4041
|
+
className: "BarSlider-HandleWrapper",
|
|
4042
|
+
style: {
|
|
4043
|
+
top: isHorizontal ? 0 : handleMargin / 2,
|
|
4044
|
+
left: isHorizontal ? handleMargin / 2 : 0,
|
|
4045
|
+
width: isHorizontal ? `calc(100% - ${handleMargin}px)` : '100%',
|
|
4046
|
+
height: isHorizontal ? '100%' : `calc(100% - ${handleMargin}px)`,
|
|
4047
|
+
zIndex: 2
|
|
4048
|
+
},
|
|
4049
|
+
children: jsx("div", {
|
|
4050
|
+
ref: handleElementRef,
|
|
4051
|
+
className: "BarSlider-Handle",
|
|
4052
|
+
style: {
|
|
4053
|
+
borderRadius: trackBorderRadius ? `${trackBorderRadius}px` : 'none'
|
|
4054
|
+
},
|
|
4055
|
+
children: jsx(BarSliderHandle, {
|
|
4056
|
+
handleFillColor: handleFillColor,
|
|
4057
|
+
handleStrokeColor: handleStrokeColor,
|
|
4058
|
+
strokeWidth: 5,
|
|
4059
|
+
width: handleWidth
|
|
4060
|
+
})
|
|
4061
|
+
})
|
|
4062
|
+
}) : null
|
|
4063
|
+
]
|
|
4064
|
+
})
|
|
4065
|
+
})
|
|
4066
|
+
]
|
|
4067
|
+
}),
|
|
4068
|
+
showValue ? jsx(Input, {
|
|
4069
|
+
className: `BarSlider-Input ${includeValueInHeight ? 'includeValueInHeightIsTrue' : 'includeValueInHeightIsFalse'}`,
|
|
4070
|
+
ref: inputRef,
|
|
4071
|
+
value: scaledValue,
|
|
4072
|
+
id: id,
|
|
4073
|
+
min: properties?.start || 0,
|
|
4074
|
+
max: properties?.end || 0,
|
|
4075
|
+
type: Input.type.number,
|
|
4076
|
+
textColor: labelColor,
|
|
4077
|
+
highlightColor: inputHighlightColor,
|
|
4078
|
+
outerGlowRadius: outerGlowRadius,
|
|
4079
|
+
outerGlowColor: labelColor,
|
|
4080
|
+
style: {
|
|
4081
|
+
},
|
|
4082
|
+
blur: blur,
|
|
4083
|
+
textAlign: Input.textAlign.center,
|
|
4084
|
+
onComplete: (value)=>{
|
|
4085
|
+
// normalisedValue !== undefined &&
|
|
4086
|
+
// setScaledState(normalisedValue);
|
|
4087
|
+
value !== undefined && setScaledState(value);
|
|
4088
|
+
}
|
|
4089
|
+
}) : null
|
|
4057
4090
|
]
|
|
4058
|
-
})
|
|
4059
|
-
showValue ? jsx(Input, {
|
|
4060
|
-
className: `BarSlider-Input ${includeValueInHeight ? 'includeValueInHeightIsTrue' : 'includeValueInHeightIsFalse'}`,
|
|
4061
|
-
value: scaledValue,
|
|
4062
|
-
id: id,
|
|
4063
|
-
min: properties?.start || 0,
|
|
4064
|
-
max: properties?.end || 0,
|
|
4065
|
-
type: Input.type.number,
|
|
4066
|
-
textColor: labelColor,
|
|
4067
|
-
highlightColor: inputHighlightColor,
|
|
4068
|
-
outerGlowRadius: outerGlowRadius,
|
|
4069
|
-
outerGlowColor: labelColor,
|
|
4070
|
-
style: {
|
|
4071
|
-
},
|
|
4072
|
-
blur: blur,
|
|
4073
|
-
textAlign: Input.textAlign.center,
|
|
4074
|
-
onComplete: (value)=>{
|
|
4075
|
-
// normalisedValue !== undefined &&
|
|
4076
|
-
// setScaledState(normalisedValue);
|
|
4077
|
-
value !== undefined && setScaledState(value);
|
|
4078
|
-
}
|
|
4079
|
-
}) : null
|
|
4091
|
+
})
|
|
4080
4092
|
]
|
|
4081
4093
|
});
|
|
4082
4094
|
}
|
|
4083
4095
|
Slider$1.sliderType = SliderType;
|
|
4084
4096
|
Slider$1.polarity = Polarity;
|
|
4085
4097
|
Slider$1.orientation = Orientation;
|
|
4098
|
+
Slider$1.width = Width;
|
|
4099
|
+
Slider$1.height = Height;
|
|
4086
4100
|
|
|
4087
4101
|
// Rotary Slider UI component.
|
|
4088
4102
|
// Connects to Juce's Slider element
|
|
@@ -4286,6 +4300,7 @@ mockInitialNormalisedValue = 0, showValue, includeValueInHeight, marks, isRandom
|
|
|
4286
4300
|
isStandalone: isStandalone,
|
|
4287
4301
|
isHighlighted: isHighlighted,
|
|
4288
4302
|
includeValueInHeight: includeValueInHeight,
|
|
4303
|
+
cornerBorderHighlightColor: cornerBorderHighlightColor,
|
|
4289
4304
|
randomizerObject: randomizerObject,
|
|
4290
4305
|
blur: blur
|
|
4291
4306
|
}) : null
|
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sources":["../node_modules/style-inject/dist/style-inject.es.js"],"sourcesContent":["function styleInject(css, ref) {\n if ( ref === void 0 ) ref = {};\n var insertAt = ref.insertAt;\n\n if (!css || typeof document === 'undefined') { return; }\n\n var head = document.head || document.getElementsByTagName('head')[0];\n var style = document.createElement('style');\n style.type = 'text/css';\n\n if (insertAt === 'top') {\n if (head.firstChild) {\n head.insertBefore(style, head.firstChild);\n } else {\n head.appendChild(style);\n }\n } else {\n head.appendChild(style);\n }\n\n if (style.styleSheet) {\n style.styleSheet.cssText = css;\n } else {\n style.appendChild(document.createTextNode(css));\n }\n}\n\nexport default styleInject;\n"],"names":[],"mappings":";;;;;;;;;AAAA,SAAS,WAAW,CAAC,GAAG,EAAE,GAAG,EAAE;AAC/B,EAAE,KAAK,GAAG,KAAK,MAAM,GAAG,GAAG,GAAG,EAAE;AAChC,EAAE,IAAI,QAAQ,GAAG,GAAG,CAAC,QAAQ;;AAE7B,EAAE,IAAI,CAAC,GAAG,IAAI,OAAO,QAAQ,KAAK,WAAW,EAAE,EAAE,OAAO,CAAC;;AAEzD,EAAE,IAAI,IAAI,GAAG,QAAQ,CAAC,IAAI,IAAI,QAAQ,CAAC,oBAAoB,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC;AACtE,EAAE,IAAI,KAAK,GAAG,QAAQ,CAAC,aAAa,CAAC,OAAO,CAAC;AAC7C,EAAE,KAAK,CAAC,IAAI,GAAG,UAAU;;AAEzB,EAAE,IAAI,QAAQ,KAAK,KAAK,EAAE;AAC1B,IAAI,IAAI,IAAI,CAAC,UAAU,EAAE;AACzB,MAAM,IAAI,CAAC,YAAY,CAAC,KAAK,EAAE,IAAI,CAAC,UAAU,CAAC;AAC/C,IAAI,CAAC,MAAM;AACX,MAAM,IAAI,CAAC,WAAW,CAAC,KAAK,CAAC;AAC7B,IAAI;AACJ,EAAE,CAAC,MAAM;AACT,IAAI,IAAI,CAAC,WAAW,CAAC,KAAK,CAAC;AAC3B,EAAE;;AAEF,EAAE,IAAI,KAAK,CAAC,UAAU,EAAE;AACxB,IAAI,KAAK,CAAC,UAAU,CAAC,OAAO,GAAG,GAAG;AAClC,EAAE,CAAC,MAAM;AACT,IAAI,KAAK,CAAC,WAAW,CAAC,QAAQ,CAAC,cAAc,CAAC,GAAG,CAAC,CAAC;AACnD,EAAE;AACF
|
|
1
|
+
{"version":3,"file":"index.js","sources":["../node_modules/style-inject/dist/style-inject.es.js"],"sourcesContent":["function styleInject(css, ref) {\n if ( ref === void 0 ) ref = {};\n var insertAt = ref.insertAt;\n\n if (!css || typeof document === 'undefined') { return; }\n\n var head = document.head || document.getElementsByTagName('head')[0];\n var style = document.createElement('style');\n style.type = 'text/css';\n\n if (insertAt === 'top') {\n if (head.firstChild) {\n head.insertBefore(style, head.firstChild);\n } else {\n head.appendChild(style);\n }\n } else {\n head.appendChild(style);\n }\n\n if (style.styleSheet) {\n style.styleSheet.cssText = css;\n } else {\n style.appendChild(document.createTextNode(css));\n }\n}\n\nexport default styleInject;\n"],"names":[],"mappings":";;;;;;;;;AAAA,SAAS,WAAW,CAAC,GAAG,EAAE,GAAG,EAAE;AAC/B,EAAE,KAAK,GAAG,KAAK,MAAM,GAAG,GAAG,GAAG,EAAE;AAChC,EAAE,IAAI,QAAQ,GAAG,GAAG,CAAC,QAAQ;;AAE7B,EAAE,IAAI,CAAC,GAAG,IAAI,OAAO,QAAQ,KAAK,WAAW,EAAE,EAAE,OAAO,CAAC;;AAEzD,EAAE,IAAI,IAAI,GAAG,QAAQ,CAAC,IAAI,IAAI,QAAQ,CAAC,oBAAoB,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC;AACtE,EAAE,IAAI,KAAK,GAAG,QAAQ,CAAC,aAAa,CAAC,OAAO,CAAC;AAC7C,EAAE,KAAK,CAAC,IAAI,GAAG,UAAU;;AAEzB,EAAE,IAAI,QAAQ,KAAK,KAAK,EAAE;AAC1B,IAAI,IAAI,IAAI,CAAC,UAAU,EAAE;AACzB,MAAM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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","x_google_ignoreList":[0]}
|
|
@@ -150,6 +150,16 @@ export interface Mark {
|
|
|
150
150
|
export declare enum IncrementType {
|
|
151
151
|
fine = "fine",
|
|
152
152
|
standard = "standard",
|
|
153
|
-
button = "button"
|
|
153
|
+
button = "button",
|
|
154
|
+
index = "index",
|
|
155
|
+
indexButton = "indexButton"
|
|
156
|
+
}
|
|
157
|
+
export declare enum NumberType {
|
|
158
|
+
float = "float",
|
|
159
|
+
integer = "integer"
|
|
160
|
+
}
|
|
161
|
+
export declare enum StepDirection {
|
|
162
|
+
up = "up",
|
|
163
|
+
down = "down"
|
|
154
164
|
}
|
|
155
165
|
//# sourceMappingURL=types.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/common/types.ts"],"names":[],"mappings":"AAAA,oBAAY,OAAO;IACjB,IAAI,SAAS;IACb,MAAM,OAAO;IACb,KAAK,OAAO;IACZ,WAAW,OAAO;IAClB,MAAM,OAAO;IACb,WAAW,OAAO;IAClB,KAAK,OAAO;IACZ,MAAM,OAAO;CACd;AAED,oBAAY,UAAU;IACpB,KAAK,UAAU;IACf,MAAM,WAAW;IACjB,KAAK,UAAU;IACf,IAAI,SAAS;IACb,IAAI,SAAS;CACd;AAED,oBAAY,aAAa;IACvB,GAAG,QAAQ;IACX,MAAM,WAAW;CAClB;AAED,oBAAY,SAAS;IACnB,SAAS,eAAe;IACxB,OAAO,aAAa;IACpB,MAAM,WAAW;CAClB;AAED,oBAAY,SAAS;IACnB,IAAI,SAAS;IACb,MAAM,WAAW;IACjB,KAAK,UAAU;CAChB;AAED,oBAAY,QAAQ;IAClB,IAAI,SAAS;IACb,MAAM,WAAW;CAClB;AAED,oBAAY,cAAc;IACxB,SAAS,eAAe;IACxB,OAAO,aAAa;IACp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IACb,QAAQ,aAAa;IACrB,MAAM,WAAW;IACjB,KAAK,UAAU;IACf,WAAW,gBAAgB;CAC5B;AAED,oBAAY,UAAU;IACpB,KAAK,UAAU;IACf,OAAO,YAAY;CACpB;AAED,oBAAY,aAAa;IACvB,EAAE,OAAO;IACT,IAAI,SAAS;CACd"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { JuceSliderProperties, RotarySliderHandleShapes } from '../core/Slider/types';
|
|
2
|
-
import { Polarity, Orientation, BorderDirections, IncrementType } from './types';
|
|
2
|
+
import { Polarity, Orientation, BorderDirections, IncrementType, StepDirection } from './types';
|
|
3
3
|
export declare function normalisedToScaled({ normalisedValue, properties, }: {
|
|
4
4
|
normalisedValue: number;
|
|
5
5
|
properties?: JuceSliderProperties;
|
|
@@ -46,31 +46,34 @@ export declare const getBarTransformStyles: ({ polarity, orientation, isDisabled
|
|
|
46
46
|
top?: undefined;
|
|
47
47
|
} | undefined;
|
|
48
48
|
export declare const randomizeValue: (min: number, max: number) => number;
|
|
49
|
-
export declare const incrementValue: ({ incrementType, numSteps, delta,
|
|
50
|
-
incrementType: IncrementType.fine | IncrementType.standard;
|
|
49
|
+
export declare const incrementValue: ({ incrementType, numSteps, delta, startingValue, buttonIncrement, buttonDirection, interval, }: ({
|
|
50
|
+
incrementType: IncrementType.fine | IncrementType.standard | IncrementType.index;
|
|
51
51
|
delta?: number;
|
|
52
|
-
|
|
52
|
+
buttonIncrement?: never;
|
|
53
|
+
buttonDirection?: never;
|
|
54
|
+
interval?: number;
|
|
53
55
|
} | {
|
|
54
56
|
incrementType: IncrementType.button;
|
|
55
57
|
delta?: never;
|
|
56
|
-
|
|
58
|
+
buttonIncrement?: number;
|
|
59
|
+
buttonDirection?: StepDirection;
|
|
60
|
+
interval?: number;
|
|
61
|
+
} | {
|
|
62
|
+
incrementType: IncrementType.indexButton;
|
|
63
|
+
delta?: never;
|
|
64
|
+
buttonIncrement?: never;
|
|
65
|
+
buttonDirection?: StepDirection;
|
|
66
|
+
interval?: never;
|
|
57
67
|
}) & {
|
|
58
|
-
|
|
59
|
-
interval: number;
|
|
68
|
+
startingValue: number;
|
|
60
69
|
numSteps: number;
|
|
61
70
|
}) => number;
|
|
62
71
|
export declare function throttle(mainFunction: any, delay: number): (...args: any) => void;
|
|
63
|
-
export declare const incrementIndex: ({ velocity, numOptions, incrementBy, selectedIndex, }: {
|
|
64
|
-
velocity?: number;
|
|
65
|
-
incrementBy: number;
|
|
66
|
-
numOptions?: number;
|
|
67
|
-
selectedIndex: number;
|
|
68
|
-
}) => number;
|
|
69
72
|
export declare const stringToInt: (value: string) => number;
|
|
70
73
|
export declare const generateDropShadowFilterString: (colors?: Array<string>, radius?: number) => string;
|
|
71
74
|
export declare const getTextOuterGlowString: (outerGlowColor: string, outerGlowRadius: number) => string;
|
|
72
75
|
export declare const getNumericValue: (value: string | number) => number;
|
|
73
|
-
export declare const
|
|
76
|
+
export declare const getUnit: (value: string | number) => string | undefined;
|
|
74
77
|
export declare const getStringSizeValue: (value: string | number, increment?: string) => string;
|
|
75
78
|
export declare const getBorderValue: (borderArray: Array<number | string>, borderDirection: BorderDirections, returnNumericValue?: boolean) => string | number;
|
|
76
79
|
export declare const animateBarChart: ({ animationFrameRef, elementRef, prevValRef, polarity, orientation, }: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../../src/common/utils.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,oBAAoB,EACpB,wBAAwB,EACzB,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EACL,QAAQ,EACR,WAAW,EACX,gBAAgB,EAChB,aAAa,EACd,MAAM,SAAS,CAAC;AAOjB,wBAAgB,kBAAkB,CAAC,EACjC,eAAe,EACf,UAAU,GACX,EAAE;IACD,eAAe,EAAE,MAAM,CAAC;IACxB,UAAU,CAAC,EAAE,oBAAoB,CAAC;CACnC,sBAOA;AAGD,wBAAgB,kBAAkB,CAAC,EACjC,WAA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E,MAAM,CAAC;IACnB,QAAQ,EAAE,QAAQ,CAAC;IACnB,IAAI,EAAE,MAAM,CAAC;CACd,MACS,OAAO,MAAM,SAetB,CAAC;AAEF,eAAO,MAAM,mBAAmB,GAAI,6DAKjC;IACD,iBAAiB,EAAE,GAAG,CAAC;IACvB,UAAU,EAAE,KAAK,CAAC,SAAS,CAAC,UAAU,GAAG,IAAI,CAAC,CAAC;IAC/C,UAAU,EAAE,KAAK,CAAC,SAAS,CAAC,MAAM,GAAG,IAAI,CAAC,CAAC;IAC3C,WAAW,EAAE,wBAAwB,CAAC;CACvC,MACS,OAAO,MAAM,SAgBtB,CAAC;AAEF,eAAO,MAAM,sBAAsB,GAAI,YAAY,gBAAgB,SAIlE,CAAC"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import '../Input/Input';
|
|
3
3
|
import { SliderType, JuceSliderProperties, TrackWidths } from './types';
|
|
4
|
-
import { Polarity, Orientation, DragOrientation, GradientStyles, Observable, Mark } from '../../common/types';
|
|
4
|
+
import { Polarity, Orientation, DragOrientation, GradientStyles, Observable, Mark, Width, Height } from '../../common/types';
|
|
5
5
|
import './BarSlider.css';
|
|
6
6
|
export interface SliderProps {
|
|
7
7
|
id: any;
|
|
@@ -27,6 +27,7 @@ export interface SliderProps {
|
|
|
27
27
|
indicatorLineGradient?: GradientStyles;
|
|
28
28
|
handleFillColor?: string;
|
|
29
29
|
handleStrokeColor?: string;
|
|
30
|
+
cornerBorderHighlightColor?: string;
|
|
30
31
|
outerGlowRadius?: number;
|
|
31
32
|
trackWidth?: TrackWidths | number;
|
|
32
33
|
outerGlowColors?: Array<string>;
|
|
@@ -50,11 +51,13 @@ export interface SliderProps {
|
|
|
50
51
|
mockInitialNormalisedValue?: number;
|
|
51
52
|
mockProperties?: JuceSliderProperties;
|
|
52
53
|
}
|
|
53
|
-
declare function Slider({ polarity, orientation, dragOrientation, isRandomizable, randomizerObject, isStandalone, isHighlighted, showValue, showHandle, showLabel, showInsetBoxShadow, resetterObject, className, id, width, height, onChange, outerGlowRadius, outerGlowColors, trackBorderRadius, blur, style, indicatorLineColor, indicatorLineGradient, trackColor, markColor, markHighlightColor, trackStrokeColor, handleFillColor, handleStrokeColor, trackWidth, label, labelColor, marks, inputHighlightColor, includeValueInHeight, mockInitialNormalisedValue, mockProperties, }: React.PropsWithChildren<SliderProps>): import("react/jsx-runtime").JSX.Element;
|
|
54
|
+
declare function Slider({ polarity, orientation, dragOrientation, isRandomizable, randomizerObject, isStandalone, isHighlighted, showValue, showHandle, showLabel, showInsetBoxShadow, resetterObject, className, id, width, height, onChange, outerGlowRadius, outerGlowColors, trackBorderRadius, blur, style, indicatorLineColor, indicatorLineGradient, trackColor, markColor, markHighlightColor, trackStrokeColor, handleFillColor, handleStrokeColor, cornerBorderHighlightColor, trackWidth, label, labelColor, marks, inputHighlightColor, includeValueInHeight, mockInitialNormalisedValue, mockProperties, }: React.PropsWithChildren<SliderProps>): import("react/jsx-runtime").JSX.Element;
|
|
54
55
|
declare namespace Slider {
|
|
55
56
|
var sliderType: typeof SliderType;
|
|
56
57
|
var polarity: typeof Polarity;
|
|
57
58
|
var orientation: typeof Orientation;
|
|
59
|
+
var width: typeof Width;
|
|
60
|
+
var height: typeof Height;
|
|
58
61
|
}
|
|
59
62
|
export default Slider;
|
|
60
63
|
//# sourceMappingURL=BarSlider.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"BarSlider.d.ts","sourceRoot":"","sources":["../../../../src/core/Slider/BarSlider.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAsC,MAAM,OAAO,CAAC;AAE3D,OAAO,gBAAgB,CAAC;AACxB,OAAO,EAAE,UAAU,EAAE,oBAAoB,EAAE,WAAW,EAAE,MAAM,SAAS,CAAC;AACxE,OAAO,EACL,QAAQ,EACR,WAAW,EACX,eAAe,EACf,cAAc,EACd,UAAU,EACV,IAAI,EACL,MAAM,oBAAoB,CAAC;
|
|
1
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T,oBAAoB,EACpB,KAAK,EACL,cAAc,EACd,gBAAgB,EAChB,cAAc,EACd,gBAAgB,EAChB,WAAW,EACX,eAAe,EACf,YAAY,EACZ,aAAa,EACb,cAKC,EACD,KAAK,GACN,EAAE,KAAK,CAAC,iBAAiB,CAAC,WAAW,CAAC,2CA+GtC;kBAjKQ,MAAM;;;;;;;;;;AA2Kf,eAAe,MAAM,CAAC"}
|
|
@@ -28,8 +28,8 @@ declare const useCombobox: ({ id, label, items, filter, onChange, displayValInHe
|
|
|
28
28
|
onClick: () => void;
|
|
29
29
|
onDoubleClick?: () => void;
|
|
30
30
|
bindDrag?: () => void;
|
|
31
|
-
|
|
32
|
-
|
|
31
|
+
incrementComboboxButton: () => void;
|
|
32
|
+
decrementComboboxButton: () => void;
|
|
33
33
|
};
|
|
34
34
|
export default useCombobox;
|
|
35
35
|
//# sourceMappingURL=useCombobox.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useCombobox.d.ts","sourceRoot":"","sources":["../../../src/hooks/useCombobox.ts"],"names":[],"mappings":"AAKA,OAAO,
|
|
1
|
+
{"version":3,"file":"useCombobox.d.ts","sourceRoot":"","sources":["../../../src/hooks/useCombobox.ts"],"names":[],"mappings":"AAKA,OAAO,EAAiB,UAAU,EAAE,MAAM,iBAAiB,CAAC;AAE5D,UAAU,MAAM;IACd,OAAO,EAAE,MAAM,CAAC;IAChB,OAAO,EAAE,MAAM,GAAG,KAAK,CAAC,MAAM,CAAC,CAAC;CACjC;AAED,QAAA,MAAM,WAAW,GAAI,2JAYlB;IACD,EAAE,EAAE,MAAM,CAAC;IACX,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,KAAK,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;IACtB,oBAAoB,CAAC,EAAE,OAAO,CAAC;IAC/B,wBAAwB,CAAC,EAAE,OAAO,CAAC;IACnC,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB,gBAAgB,CAAC,EAAE,UAAU,CAAC;IAC9B,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,QAAQ,CAAC,EACL,CAAC,CAAC,KAAK,EAAE,MAAM,EAAE,EAAE,EAAE,MAAM,KAAK,OAAO,GAAG,IAAI,CAAC,GAC/C,KAAK,CAAC,QAAQ,CAAC,KAAK,CAAC,cAAc,CAAC,GAAG,CAAC,CAAC,CAAC;IAE9C,kBAAkB,CAAC,EAAE,OAAO,CAAC;IAC7B,UAAU,CAAC,EAAE,OAAO,CAAC;CACtB,KAAG;IACF,aAAa,EAAE,MAAM,CAAC;IACtB,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAC5B,UAAU,CAAC,EAAE,GAAG,CAAC;IACjB,gBAAgB,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IAC3C,YAAY,EAAE,CAAC,KAAK,EAAE,MAAM,GAAG,MAAM,KAAK,IAAI,CAAC;IAC/C,OAAO,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;IACvB,eAAe,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;IAC/B,YAAY,EAAE,MAAM,IAAI,CAAC;IACzB,WAAW,EAAE,MAAM,IAAI,CAAC;IACxB,OAAO,EAAE,MAAM,IAAI,CAAC;IACpB,aAAa,CAAC,EAAE,MAAM,IAAI,CAAC;IAC3B,QAAQ,CAAC,EAAE,MAAM,IAAI,CAAC;IACtB,uBAAuB,EAAE,MAAM,IAAI,CAAC;IACpC,uBAAuB,EAAE,MAAM,IAAI,CAAC;CA6MrC,CAAC;AAEF,eAAe,WAAW,CAAC"}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
declare function useGroupFocus({ isDisabled, id, inputRef, }: {
|
|
1
|
+
declare function useGroupFocus({ isDisabled, id, inputRef, incrementBy, }: {
|
|
2
2
|
isDisabled?: boolean;
|
|
3
|
+
incrementBy?: number;
|
|
3
4
|
id: string;
|
|
4
5
|
inputRef?: React.RefObject<HTMLInputElement | null> | null;
|
|
5
6
|
}): {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useGroupFocus.d.ts","sourceRoot":"","sources":["../../../src/hooks/useGroupFocus.ts"],"names":[],"mappings":"AAKA,iBAAS,aAAa,CAAC,EACrB,UAAU,EACV,EAAE,EACF,QAAQ,
|
|
1
|
+
{"version":3,"file":"useGroupFocus.d.ts","sourceRoot":"","sources":["../../../src/hooks/useGroupFocus.ts"],"names":[],"mappings":"AAKA,iBAAS,aAAa,CAAC,EACrB,UAAU,EACV,EAAE,EACF,QAAQ,EACR,WAAW,GACZ,EAAE;IACD,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,EAAE,EAAE,MAAM,CAAC;IACX,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC,gBAAgB,GAAG,IAAI,CAAC,GAAG,IAAI,CAAC;CAC5D;;EAoKA;AAED,eAAe,aAAa,CAAC"}
|