@wistia/vhs 2.75.3-beta.076e3887.8faed76 → 2.75.3-beta.90280b8c.8d1520d
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/components/ActionModal/getModalBackgroundGradient.d.ts +1 -1
- package/dist/components/ActionModal/getModalBackgroundGradient.d.ts.map +1 -1
- package/dist/components/CollapsibleGroup/CollapsibleGroup.d.ts.map +1 -1
- package/dist/helpers/getBackgroundGradient/getBackgroundGradient.d.ts +18 -18
- package/dist/helpers/getBackgroundGradient/getBackgroundGradient.d.ts.map +1 -1
- package/dist/index.cjs +2 -2
- package/dist/index.cjs.map +2 -2
- package/dist/index.mjs +2 -2
- package/dist/index.mjs.map +2 -2
- package/package.json +1 -1
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const getModalBackgroundGradient: (illustrationBackgroundColor: string) => import("styled-components").
|
|
1
|
+
export declare const getModalBackgroundGradient: (illustrationBackgroundColor: string) => import("styled-components").FlattenInterpolation<import("styled-components").ThemedStyledProps<object, import("styled-components").DefaultTheme>>;
|
|
2
2
|
//# sourceMappingURL=getModalBackgroundGradient.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getModalBackgroundGradient.d.ts","sourceRoot":"","sources":["../../../src/components/ActionModal/getModalBackgroundGradient.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,0BAA0B,GAAI,6BAA6B,MAAM,
|
|
1
|
+
{"version":3,"file":"getModalBackgroundGradient.d.ts","sourceRoot":"","sources":["../../../src/components/ActionModal/getModalBackgroundGradient.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,0BAA0B,GAAI,6BAA6B,MAAM,sJAmB7E,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CollapsibleGroup.d.ts","sourceRoot":"","sources":["../../../src/components/CollapsibleGroup/CollapsibleGroup.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EA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AC,EAAE,OAAO,CAAC;IACjB;;qCAEiC;IACjC,KAAK,CAAC,EAAE,SAAS,GAAG,CAAC,CAAC,EAAE,IAAI,EAAE,KAAK,EAAE,EAAE;QAAE,IAAI,EAAE,OAAO,CAAC;QAAC,KAAK,EAAE,GAAG,CAAC,OAAO,CAAA;KAAE,KAAK,SAAS,CAAC,CAAC;IAC5F;;OAEG;IACH,MAAM,CAAC,EAAE,SAAS,GAAG,UAAU,CAAC;IAChC;;OAEG;IACH,OAAO,CAAC,EAAE,MAAM,OAAO,CAAC;IACxB;;OAEG;IACH,YAAY,CAAC,EAAE,CAAC,OAAO,EAAE,OAAO,KAAK,OAAO,CAAC;IAC7C;;;OAGG;IACH,kBAAkB,CAAC,EAAE,OAAO,CAAC;IAC7B;;OAEG;IACH,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB;;OAEG;IACH,OAAO,CAAC,EAAE,OAAO,kBAAkB,CAAC;CACrC,CAAC;AAOF,eAAO,MAAM,gBAAgB;6LAgB1B,qBAAqB;;CA+GvB,CAAC"}
|
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { css } from 'styled-components';
|
|
2
2
|
declare const gradients: {
|
|
3
|
-
defaultDarkOne: FlattenSimpleInterpolation;
|
|
4
|
-
defaultDarkTwo: FlattenSimpleInterpolation;
|
|
5
|
-
defaultLightOne: FlattenSimpleInterpolation;
|
|
6
|
-
defaultLightTwo: FlattenSimpleInterpolation;
|
|
7
|
-
defaultMidOne: FlattenSimpleInterpolation;
|
|
8
|
-
defaultMidTwo: FlattenSimpleInterpolation;
|
|
9
|
-
green: FlattenSimpleInterpolation;
|
|
10
|
-
greenWithPop: FlattenSimpleInterpolation;
|
|
11
|
-
pink: FlattenSimpleInterpolation;
|
|
12
|
-
pinkWithPop: FlattenSimpleInterpolation;
|
|
13
|
-
playfulGradientOne: FlattenSimpleInterpolation;
|
|
14
|
-
playfulGradientTwo: FlattenSimpleInterpolation;
|
|
15
|
-
purple: FlattenSimpleInterpolation;
|
|
16
|
-
purpleWithPop: FlattenSimpleInterpolation;
|
|
17
|
-
yellow: FlattenSimpleInterpolation;
|
|
18
|
-
yellowWithPop: FlattenSimpleInterpolation;
|
|
3
|
+
defaultDarkOne: import("styled-components").FlattenSimpleInterpolation;
|
|
4
|
+
defaultDarkTwo: import("styled-components").FlattenSimpleInterpolation;
|
|
5
|
+
defaultLightOne: import("styled-components").FlattenSimpleInterpolation;
|
|
6
|
+
defaultLightTwo: import("styled-components").FlattenSimpleInterpolation;
|
|
7
|
+
defaultMidOne: import("styled-components").FlattenSimpleInterpolation;
|
|
8
|
+
defaultMidTwo: import("styled-components").FlattenSimpleInterpolation;
|
|
9
|
+
green: import("styled-components").FlattenSimpleInterpolation;
|
|
10
|
+
greenWithPop: import("styled-components").FlattenSimpleInterpolation;
|
|
11
|
+
pink: import("styled-components").FlattenSimpleInterpolation;
|
|
12
|
+
pinkWithPop: import("styled-components").FlattenSimpleInterpolation;
|
|
13
|
+
playfulGradientOne: import("styled-components").FlattenSimpleInterpolation;
|
|
14
|
+
playfulGradientTwo: import("styled-components").FlattenSimpleInterpolation;
|
|
15
|
+
purple: import("styled-components").FlattenSimpleInterpolation;
|
|
16
|
+
purpleWithPop: import("styled-components").FlattenSimpleInterpolation;
|
|
17
|
+
yellow: import("styled-components").FlattenSimpleInterpolation;
|
|
18
|
+
yellowWithPop: import("styled-components").FlattenSimpleInterpolation;
|
|
19
19
|
};
|
|
20
20
|
export type GradientNameType = keyof typeof gradients;
|
|
21
21
|
export declare const gradientMap: GradientNameType[];
|
|
@@ -26,6 +26,6 @@ export type GetBackgroundGradientType = GradientNameType | undefined;
|
|
|
26
26
|
* @param {GradientName} gradientName - The name of the gradient to retrieve.
|
|
27
27
|
* @returns {FlattenSimpleInterpolation} The CSS string representing the specified gradient.
|
|
28
28
|
*/
|
|
29
|
-
export declare const getBackgroundGradient: (gradientName?: GetBackgroundGradientType) =>
|
|
29
|
+
export declare const getBackgroundGradient: (gradientName?: GetBackgroundGradientType) => ReturnType<typeof css>;
|
|
30
30
|
export {};
|
|
31
31
|
//# sourceMappingURL=getBackgroundGradient.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getBackgroundGradient.d.ts","sourceRoot":"","sources":["../../../src/helpers/getBackgroundGradient/getBackgroundGradient.ts"],"names":[],"mappings":"AACA,OAAO,
|
|
1
|
+
{"version":3,"file":"getBackgroundGradient.d.ts","sourceRoot":"","sources":["../../../src/helpers/getBackgroundGradient/getBackgroundGradient.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AAExC,QAAA,MAAM,SAAS;;;;;;;;;;;;;;;;;CA2Hd,CAAC;AAEF,MAAM,MAAM,gBAAgB,GAAG,MAAM,OAAO,SAAS,CAAC;AAEtD,eAAO,MAAM,WAAW,EAAE,gBAAgB,EAAiD,CAAC;AAE5F,MAAM,MAAM,yBAAyB,GAAG,gBAAgB,GAAG,SAAS,CAAC;AAErE;;;;;GAKG;AACH,eAAO,MAAM,qBAAqB,GAChC,eAAc,yBAAqC,KAClD,UAAU,CAAC,OAAO,GAAG,CAEvB,CAAC"}
|
package/dist/index.cjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
|
|
2
2
|
/*
|
|
3
|
-
* @license @wistia/vhs v2.75.3-beta.
|
|
3
|
+
* @license @wistia/vhs v2.75.3-beta.90280b8c.8d1520d
|
|
4
4
|
*
|
|
5
5
|
* Copyright (c) 2021-2025, Wistia, Inc. and its affiliates.
|
|
6
6
|
*
|
|
@@ -1606,7 +1606,7 @@
|
|
|
1606
1606
|
right: 0;
|
|
1607
1607
|
top: 0;
|
|
1608
1608
|
}
|
|
1609
|
-
`,H3=(0,KE.forwardRef)(({accept:e,children:t,disabled:r=!1,id:n,maxSize:o=gU,multiple:a=!1,name:s="file-upload",onClick:l,onChange:u,onError:c,...p},d)=>(0,p1.jsxs)(vU,{
|
|
1609
|
+
`,H3=(0,KE.forwardRef)(({accept:e,children:t,disabled:r=!1,id:n,maxSize:o=gU,multiple:a=!1,name:s="file-upload",onClick:l,onChange:u,onError:c,...p},d)=>(0,p1.jsxs)(vU,{"aria-controls":"filename",disabled:r,htmlFor:n,...p,children:[t,(0,p1.jsx)("input",{ref:d,accept:e,"data-testid":"file-select-input",disabled:r,id:n,multiple:a,name:s,onChange:g=>{let{files:v}=g.target;if(o&&v){let m=o*1024*1024;if(Array.from(v).some(b=>b.size>m))return c&&c(new Error(`File not accepted. Please choose a file under ${o}MB.`)),!1}return u&&u(g),!0},onClick:l,tabIndex:-1,type:"file"})]}));H3.displayName="FileSelect_VHS";i();i();var si=require("react");i();i();var XE=require("react");var Qs=k(require("styled-components"));var uo=require("react/jsx-runtime"),yU=Qs.default.div`
|
|
1610
1610
|
border-left: 4px solid;
|
|
1611
1611
|
border-left-color: ${({theme:e})=>e.color.error500};
|
|
1612
1612
|
margin-bottom: ${({theme:e})=>e.spacing.space07};
|