@wistia/vhs 5.0.1-beta.2b4d95c2.c66d06d → 5.0.1-beta.2e2c529d.37fd4aa
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 +8 -7
- package/dist/index.js.map +1 -1
- package/package.json +24 -29
package/dist/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
|
|
2
2
|
/*
|
|
3
|
-
* @license @wistia/vhs v5.0.1-beta.
|
|
3
|
+
* @license @wistia/vhs v5.0.1-beta.2e2c529d.37fd4aa
|
|
4
4
|
*
|
|
5
5
|
* Copyright (c) 2021-2026, Wistia, Inc. and its affiliates.
|
|
6
6
|
*
|
|
@@ -11217,7 +11217,6 @@ var MenuComponent = styled54.div`
|
|
|
11217
11217
|
}
|
|
11218
11218
|
`;
|
|
11219
11219
|
var dangerousMenuItemStyles2 = css25`
|
|
11220
|
-
/* stylelint-disable no-descending-specificity */
|
|
11221
11220
|
button,
|
|
11222
11221
|
a {
|
|
11223
11222
|
&:hover {
|
|
@@ -12331,7 +12330,7 @@ var RangeSelectorCalendar = ({
|
|
|
12331
12330
|
}, [internalRange, onIsValidChangeDebounced]);
|
|
12332
12331
|
useEffect22(() => {
|
|
12333
12332
|
if (isValidRange(range)) {
|
|
12334
|
-
let date;
|
|
12333
|
+
let date = void 0;
|
|
12335
12334
|
if (priorInternalRange && !isEqual3(range.start, priorInternalRange.start)) {
|
|
12336
12335
|
date = range.start;
|
|
12337
12336
|
}
|
|
@@ -12557,7 +12556,7 @@ import isEqual4 from "react-fast-compare";
|
|
|
12557
12556
|
// src/private/components/RangeSelectorInput/utils.ts
|
|
12558
12557
|
import { isValid as isValid2, getDaysInMonth, getYear, isBefore as isBefore3, isSameDay as isSameDay2, compareAsc as compareAsc2 } from "date-fns";
|
|
12559
12558
|
import { isNotNil as isNotNil39 } from "@wistia/type-guards";
|
|
12560
|
-
var timeout;
|
|
12559
|
+
var timeout = void 0;
|
|
12561
12560
|
var preventDoubleClick = (event) => {
|
|
12562
12561
|
const delay = 200;
|
|
12563
12562
|
if (isNotNil39(timeout)) {
|
|
@@ -12802,7 +12801,7 @@ var getNextValue = ({
|
|
|
12802
12801
|
return { nextValue, nextKeyCount, shouldApply };
|
|
12803
12802
|
};
|
|
12804
12803
|
var getNextSelection = ({ event, currentSelection }) => {
|
|
12805
|
-
let nextSelection;
|
|
12804
|
+
let nextSelection = void 0;
|
|
12806
12805
|
if (isMoveRightChar(event)) {
|
|
12807
12806
|
nextSelection = getSelectionFromMove(currentSelection, 1, DATE_PART_POSITIONS);
|
|
12808
12807
|
if (!isEqual4(nextSelection, currentSelection)) {
|
|
@@ -13398,10 +13397,11 @@ var Slider = ({
|
|
|
13398
13397
|
);
|
|
13399
13398
|
},
|
|
13400
13399
|
renderThumb: (thumbProps, thumbState) => {
|
|
13401
|
-
const { key, as, ...restProps } = thumbProps;
|
|
13400
|
+
const { key, as, ref, ...restProps } = thumbProps;
|
|
13402
13401
|
return /* @__PURE__ */ jsx209(
|
|
13403
13402
|
StyledThumb,
|
|
13404
13403
|
{
|
|
13404
|
+
ref,
|
|
13405
13405
|
...restProps,
|
|
13406
13406
|
"data-testid": `${dataTestId}-thumb-${thumbState.index}`
|
|
13407
13407
|
},
|
|
@@ -13409,10 +13409,11 @@ var Slider = ({
|
|
|
13409
13409
|
);
|
|
13410
13410
|
},
|
|
13411
13411
|
renderTrack: (trackProps, trackState) => {
|
|
13412
|
-
const { key, as, ...restProps } = trackProps;
|
|
13412
|
+
const { key, as, ref, ...restProps } = trackProps;
|
|
13413
13413
|
return /* @__PURE__ */ jsx209(
|
|
13414
13414
|
StyledTrack,
|
|
13415
13415
|
{
|
|
13416
|
+
ref,
|
|
13416
13417
|
...restProps,
|
|
13417
13418
|
$isFilledTrack: checkIfFilledTrack(trackState),
|
|
13418
13419
|
"data-testid": `${dataTestId}-track-${trackState.index}`
|