@wistia/vhs 5.0.2-beta.610e0941.a72c47b → 5.0.2-beta.a4e799bc.91b0a49
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 +3 -3
- package/dist/index.js.map +1 -1
- package/package.json +3 -3
package/dist/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
|
|
2
2
|
/*
|
|
3
|
-
* @license @wistia/vhs v5.0.2-beta.
|
|
3
|
+
* @license @wistia/vhs v5.0.2-beta.a4e799bc.91b0a49
|
|
4
4
|
*
|
|
5
5
|
* Copyright (c) 2021-2026, Wistia, Inc. and its affiliates.
|
|
6
6
|
*
|
|
@@ -13382,7 +13382,7 @@ var Slider = ({
|
|
|
13382
13382
|
ariaValuetext: (state) => ariaValuetext(state)
|
|
13383
13383
|
},
|
|
13384
13384
|
...isString8(ariaValuetext) && { ariaValuetext },
|
|
13385
|
-
...isNumber(initialValue) ? { defaultValue: initialValue } : {},
|
|
13385
|
+
...isNumber(initialValue) || isNonEmptyArray(initialValue) ? { defaultValue: initialValue } : {},
|
|
13386
13386
|
disabled,
|
|
13387
13387
|
marks: step,
|
|
13388
13388
|
max,
|
|
@@ -13425,7 +13425,7 @@ var Slider = ({
|
|
|
13425
13425
|
);
|
|
13426
13426
|
},
|
|
13427
13427
|
step,
|
|
13428
|
-
...isNumber(value) ? { value } : {}
|
|
13428
|
+
...isNumber(value) || isNonEmptyArray(value) ? { value } : {}
|
|
13429
13429
|
}
|
|
13430
13430
|
)
|
|
13431
13431
|
}
|