@wistia/ui 1.0.0-beta.585cff3a.34ecdf9 → 1.0.0-beta.db6bcdef.bed5fc6
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 +5 -5
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
|
|
2
2
|
/*
|
|
3
|
-
* @license @wistia/ui v1.0.0-beta.
|
|
3
|
+
* @license @wistia/ui v1.0.0-beta.db6bcdef.bed5fc6
|
|
4
4
|
*
|
|
5
5
|
* Copyright (c) 2024-2026, Wistia, Inc. and its affiliates.
|
|
6
6
|
*
|
|
@@ -775,9 +775,9 @@ const getLocalDateParts = (date) => {
|
|
|
775
775
|
const dayPart = parts.find((part) => part.type === "day");
|
|
776
776
|
if (isNil(yearPart) || isNil(monthPart) || isNil(dayPart)) throw new Error("Failed to parse date parts");
|
|
777
777
|
return {
|
|
778
|
-
year: parseInt(yearPart.value, 10),
|
|
779
|
-
month: parseInt(monthPart.value, 10),
|
|
780
|
-
day: parseInt(dayPart.value, 10)
|
|
778
|
+
year: Number.parseInt(yearPart.value, 10),
|
|
779
|
+
month: Number.parseInt(monthPart.value, 10),
|
|
780
|
+
day: Number.parseInt(dayPart.value, 10)
|
|
781
781
|
};
|
|
782
782
|
};
|
|
783
783
|
//#endregion
|
|
@@ -16269,7 +16269,7 @@ const StyledThumbnail = styled.div`
|
|
|
16269
16269
|
`;
|
|
16270
16270
|
const StoryboardRenderer = ({ storyboard, width, percent, cursorPosition, isStoryboardReady, aspectRatio }) => {
|
|
16271
16271
|
const { url, width: sbWidth, height: sbHeight, frameHeight, frameWidth, frameCount } = storyboard;
|
|
16272
|
-
const targetWidth = isString(width) ? parseInt(width, 10) : Number(width);
|
|
16272
|
+
const targetWidth = isString(width) ? Number.parseInt(width, 10) : Number(width);
|
|
16273
16273
|
return /* @__PURE__ */ jsx(ThumbnailStoryboardViewer, {
|
|
16274
16274
|
cursorPosition: isStoryboardReady ? cursorPosition : null,
|
|
16275
16275
|
frameCount,
|