@wistia/vhs 2.75.3-beta.219b5fcf.3bc39d3 → 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/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
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};
|