@wistia/vhs 4.0.0-beta.bad9f076.862ba71 → 4.0.0-beta.bd62e6f9.aa62ddb
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.cjs +5 -6
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.mts +3 -3
- package/dist/index.d.ts +3 -3
- package/dist/index.mjs +5 -6
- package/dist/index.mjs.map +1 -1
- package/package.json +18 -18
package/dist/index.d.mts
CHANGED
|
@@ -2,7 +2,7 @@ import * as styled_components from 'styled-components';
|
|
|
2
2
|
import { css, DefaultTheme } from 'styled-components';
|
|
3
3
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
4
4
|
import * as react from 'react';
|
|
5
|
-
import { JSX, ReactNode, ComponentPropsWithoutRef, Dispatch, SetStateAction, RefObject, MutableRefObject, MouseEvent, ComponentPropsWithRef, ChangeEvent, ElementType, FocusEvent, HTMLInputTypeAttribute, KeyboardEvent as KeyboardEvent$1, ReactElement, ComponentType, PropsWithChildren } from 'react';
|
|
5
|
+
import { JSX, ReactNode, ComponentPropsWithoutRef, Dispatch, SetStateAction, RefObject, MutableRefObject, MouseEvent, ComponentPropsWithRef, ChangeEvent, ElementType, Ref, ComponentClass, ComponentProps, FocusEvent, HTMLInputTypeAttribute, KeyboardEvent as KeyboardEvent$1, ReactElement, ComponentType, PropsWithChildren } from 'react';
|
|
6
6
|
import { FormikProps, FormikHelpers, FormikErrors, Field } from 'formik';
|
|
7
7
|
export { useFormikContext } from 'formik';
|
|
8
8
|
import { DropdownMenuProps, DropdownMenuContentProps, DropdownMenuItemProps, DropdownMenuCheckboxItemProps, DropdownMenuRadioItemProps } from '@radix-ui/react-dropdown-menu';
|
|
@@ -1786,7 +1786,7 @@ type FormProps = {
|
|
|
1786
1786
|
/**
|
|
1787
1787
|
* Ref to access the form's state and API
|
|
1788
1788
|
*/
|
|
1789
|
-
innerRef?:
|
|
1789
|
+
innerRef?: Ref<FormState>;
|
|
1790
1790
|
/**
|
|
1791
1791
|
* On-submit callback
|
|
1792
1792
|
*/
|
|
@@ -1886,7 +1886,7 @@ type FormFieldProps = Omit<ComponentPropsWithRef<'input'>, 'placeholder'> & {
|
|
|
1886
1886
|
/**
|
|
1887
1887
|
* A custom component that acts as a field and that needs access to Formik fields
|
|
1888
1888
|
*/
|
|
1889
|
-
customComponent?:
|
|
1889
|
+
customComponent?: ComponentClass<CustomComponentClass> | ((arg?: ComponentProps<typeof Field>) => ReactNode) | ((arg?: Record<string, unknown>) => ReactNode) | undefined;
|
|
1890
1890
|
/**
|
|
1891
1891
|
* Should the radio buttons be displayed vertically as a column or horizontally as a row
|
|
1892
1892
|
*/
|
package/dist/index.d.ts
CHANGED
|
@@ -2,7 +2,7 @@ import * as styled_components from 'styled-components';
|
|
|
2
2
|
import { css, DefaultTheme } from 'styled-components';
|
|
3
3
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
4
4
|
import * as react from 'react';
|
|
5
|
-
import { JSX, ReactNode, ComponentPropsWithoutRef, Dispatch, SetStateAction, RefObject, MutableRefObject, MouseEvent, ComponentPropsWithRef, ChangeEvent, ElementType, FocusEvent, HTMLInputTypeAttribute, KeyboardEvent as KeyboardEvent$1, ReactElement, ComponentType, PropsWithChildren } from 'react';
|
|
5
|
+
import { JSX, ReactNode, ComponentPropsWithoutRef, Dispatch, SetStateAction, RefObject, MutableRefObject, MouseEvent, ComponentPropsWithRef, ChangeEvent, ElementType, Ref, ComponentClass, ComponentProps, FocusEvent, HTMLInputTypeAttribute, KeyboardEvent as KeyboardEvent$1, ReactElement, ComponentType, PropsWithChildren } from 'react';
|
|
6
6
|
import { FormikProps, FormikHelpers, FormikErrors, Field } from 'formik';
|
|
7
7
|
export { useFormikContext } from 'formik';
|
|
8
8
|
import { DropdownMenuProps, DropdownMenuContentProps, DropdownMenuItemProps, DropdownMenuCheckboxItemProps, DropdownMenuRadioItemProps } from '@radix-ui/react-dropdown-menu';
|
|
@@ -1786,7 +1786,7 @@ type FormProps = {
|
|
|
1786
1786
|
/**
|
|
1787
1787
|
* Ref to access the form's state and API
|
|
1788
1788
|
*/
|
|
1789
|
-
innerRef?:
|
|
1789
|
+
innerRef?: Ref<FormState>;
|
|
1790
1790
|
/**
|
|
1791
1791
|
* On-submit callback
|
|
1792
1792
|
*/
|
|
@@ -1886,7 +1886,7 @@ type FormFieldProps = Omit<ComponentPropsWithRef<'input'>, 'placeholder'> & {
|
|
|
1886
1886
|
/**
|
|
1887
1887
|
* A custom component that acts as a field and that needs access to Formik fields
|
|
1888
1888
|
*/
|
|
1889
|
-
customComponent?:
|
|
1889
|
+
customComponent?: ComponentClass<CustomComponentClass> | ((arg?: ComponentProps<typeof Field>) => ReactNode) | ((arg?: Record<string, unknown>) => ReactNode) | undefined;
|
|
1890
1890
|
/**
|
|
1891
1891
|
* Should the radio buttons be displayed vertically as a column or horizontally as a row
|
|
1892
1892
|
*/
|
package/dist/index.mjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
|
|
2
2
|
/*
|
|
3
|
-
* @license @wistia/vhs v4.0.0-beta.
|
|
3
|
+
* @license @wistia/vhs v4.0.0-beta.bd62e6f9.aa62ddb
|
|
4
4
|
*
|
|
5
5
|
* Copyright (c) 2021-2025, Wistia, Inc. and its affiliates.
|
|
6
6
|
*
|
|
@@ -4976,8 +4976,7 @@ import { isNotNil as isNotNil7 } from "@wistia/type-guards";
|
|
|
4976
4976
|
import { jsx as jsx126 } from "react/jsx-runtime";
|
|
4977
4977
|
var screenReaderOnlyStyle = css7`
|
|
4978
4978
|
border: 0;
|
|
4979
|
-
clip:
|
|
4980
|
-
clip-path: inset(50%); /* modern but less support */
|
|
4979
|
+
clip-path: inset(50%);
|
|
4981
4980
|
height: 1px;
|
|
4982
4981
|
overflow: hidden;
|
|
4983
4982
|
padding: 0;
|
|
@@ -9232,7 +9231,7 @@ import { useSelected, useFocused } from "slate-react";
|
|
|
9232
9231
|
import { styled as styled39, css as css21 } from "styled-components";
|
|
9233
9232
|
import { jsx as jsx170, jsxs as jsxs28 } from "react/jsx-runtime";
|
|
9234
9233
|
var Wrapper = styled39.span`
|
|
9235
|
-
display:
|
|
9234
|
+
display: inline-block;
|
|
9236
9235
|
user-select: none;
|
|
9237
9236
|
`;
|
|
9238
9237
|
var Image = styled39.img`
|
|
@@ -12633,7 +12632,7 @@ var setCursorPosition = (ref, start, end) => {
|
|
|
12633
12632
|
var getSelectionFromMove = (selection, move, positions) => {
|
|
12634
12633
|
const currentIndex = positions.findIndex((pos) => pos.start === selection[0]);
|
|
12635
12634
|
let nextPosition = positions[currentIndex + move];
|
|
12636
|
-
if (nextPosition
|
|
12635
|
+
if (nextPosition?.type === "skip") {
|
|
12637
12636
|
nextPosition = positions[currentIndex + move * 2];
|
|
12638
12637
|
}
|
|
12639
12638
|
if (nextPosition) {
|
|
@@ -13728,7 +13727,7 @@ var ThumbnailCollageContainer = styled71.div`
|
|
|
13728
13727
|
grid-template-columns: 3fr 2fr;
|
|
13729
13728
|
grid-template-rows: 1fr 1fr;
|
|
13730
13729
|
width: 100%;
|
|
13731
|
-
|
|
13730
|
+
gap: ${({ theme: theme2 }) => theme2.spacing.space01};
|
|
13732
13731
|
height: 100%;
|
|
13733
13732
|
`;
|
|
13734
13733
|
var CollageImage2 = styled71.div`
|