@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/index.mjs CHANGED
@@ -1,6 +1,6 @@
1
1
 
2
2
  /*
3
- * @license @wistia/vhs v2.75.3-beta.076e3887.8faed76
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 @@ var CO=Object.create;var Eu=Object.defineProperty;var xO=Object.getOwnPropertyDe
1606
1606
  right: 0;
1607
1607
  top: 0;
1608
1608
  }
1609
- `,AS=zK(({accept:e,children:t,disabled:r=!1,id:n,maxSize:o=jK,multiple:a=!1,name:s="file-upload",onClick:l,onChange:u,onError:c,...p},d)=>UK(WK,{ariaControls:"filename",disabled:r,htmlFor:n,...p,children:[t,_K("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"})]}));AS.displayName="FileSelect_VHS";i();i();import{useState as Dp,useEffect as OS}from"react";i();i();import{forwardRef as KK}from"react";import Rl from"styled-components";import{jsx as Al,jsxs as FS}from"react/jsx-runtime";var qK=Rl.div`
1609
+ `,AS=zK(({accept:e,children:t,disabled:r=!1,id:n,maxSize:o=jK,multiple:a=!1,name:s="file-upload",onClick:l,onChange:u,onError:c,...p},d)=>UK(WK,{"aria-controls":"filename",disabled:r,htmlFor:n,...p,children:[t,_K("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"})]}));AS.displayName="FileSelect_VHS";i();i();import{useState as Dp,useEffect as OS}from"react";i();i();import{forwardRef as KK}from"react";import Rl from"styled-components";import{jsx as Al,jsxs as FS}from"react/jsx-runtime";var qK=Rl.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};