@wistia/vhs 2.62.0-beta.0777e663.cd76af5 → 2.62.0-beta.cacf969e.a239156

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 CHANGED
@@ -1,6 +1,6 @@
1
1
 
2
2
  /*
3
- * @license VHS v2.62.0-beta.0777e663.cd76af5
3
+ * @license VHS v2.62.0-beta.cacf969e.a239156
4
4
  *
5
5
  * Copyright (c) 2021-2024, Wistia, Inc. and its affiliates.
6
6
  *
@@ -1389,7 +1389,7 @@
1389
1389
  ${({forceState:e,hasError:t})=>e==="focus"&&t&&FE};
1390
1390
  ${({forceState:e,hasError:t})=>e==="hover"&&t&&AU};
1391
1391
  `;var so=require("react/jsx-runtime"),Zl=(0,Qs.forwardRef)(({checked:e,direction:t="column",disabled:r=!1,forceState:n,hasError:o=!1,id:a="default",label:s="default",labelDescription:u,name:l,onChange:c,required:p=!1,value:d="false",...h},g)=>{let[v,m]=(0,Qs.useState)(!1);return(0,so.jsxs)(m1,{ref:g,"aria-invalid":(0,h1.isNotUndefined)(o)&&o?"true":"false",direction:t,disabled:r,forceState:n,hasError:o,isFocused:v,...h,children:[(0,so.jsx)(f1,{"aria-checked":e,checked:e,"data-testid":"checkbox-option-wrapper",disabled:r,id:a,name:l,onBlur:()=>m(!1),onChange:c,onFocus:()=>m(!0),required:p,type:"checkbox",value:d}),(0,so.jsxs)(p1,{children:[(0,so.jsx)(so.Fragment,{children:s}),(0,h1.isNonEmptyString)(u)||(0,Qs.isValidElement)(u)?(0,so.jsx)(d1,{"data-testid":"checkbox-option-sub-label",children:u}):null]})]})});Zl.displayName="Checkbox_VHS";i();i();var $E=A(require("styled-components")),zE=A(Q());i();i();var LE=A(require("styled-components"));i();i();var Ql=A(require("styled-components"));var ME=require("react/jsx-runtime"),FU=Ql.css`
1392
- &::after {
1392
+ ::after {
1393
1393
  color: red;
1394
1394
  content: ' *';
1395
1395
  }
@@ -1460,11 +1460,11 @@
1460
1460
  padding: 0;
1461
1461
  }
1462
1462
 
1463
- &:focus {
1463
+ :focus {
1464
1464
  outline: thin dotted ${({theme:e})=>e.color.grey500};
1465
1465
  }
1466
1466
 
1467
- &:hover {
1467
+ :hover {
1468
1468
  color: ${({theme:e})=>e.color.grey900};
1469
1469
  }
1470
1470
  `,G5=({onClick:e,...t})=>(0,H5.jsx)($U,{onClick:e,title:"Close",...t,children:(0,H5.jsx)(b1,{})});G5.displayName="CloseButton_VHS";i();i();var uo=require("react"),En=A(require("styled-components"));var ua=A(Q());var Ir=require("react/jsx-runtime"),zU=.08,C1=48,UE=16,_E=16,KE=16,j5="0.2s",_5="brandblue",HU="up",qE="down",GU="left",XE="right",jU=En.default.div`
@@ -1571,7 +1571,7 @@
1571
1571
 
1572
1572
  /* capture clicks with a large positioned file input with 0 opacity */
1573
1573
  input[type='file'] {
1574
- &::-webkit-file-upload-button {
1574
+ ::-webkit-file-upload-button {
1575
1575
  cursor: ${e=>e.disabled?"not-allowed":"pointer"};
1576
1576
  }
1577
1577
 
@@ -1925,7 +1925,7 @@
1925
1925
  top: ${({theme:e})=>e.spacing.space05};
1926
1926
  width: 42px;
1927
1927
 
1928
- &:hover {
1928
+ :hover {
1929
1929
  color: ${({theme:e})=>e.color.grey900};
1930
1930
  }
1931
1931
  `,Lv=({content:e,toggle:t,backgroundColor:r,initialShownState:n=!1,onBeforeHide:o,onHide:a})=>{let s=Be("grey100");return(0,wu.jsx)(ia,{initialShownState:n,onBeforeHide:o,onHide:a,render:u=>(0,wu.jsxs)(tn,{backgroundColor:(0,iF.isNonEmptyString)(r)?r:s,children:[(0,wu.jsx)(WQ,{noStyle:!0,onClick:u,title:"Close",children:(0,wu.jsx)(b1,{})}),e(u)]}),toggle:t})};Lv.displayName="FullScreenModal_VHS";i();i();var aF=A(require("styled-components")),sF=require("react/jsx-runtime"),UQ=e=>{if(e==="horizontal")return"width: 100%;";if(e==="vertical")return"height: 100%;";if(e===!0)return`