@wistia/vhs 2.19.0 → 2.20.0-beta.efebcb67.1f26244

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.js CHANGED
@@ -1,6 +1,6 @@
1
1
 
2
2
  /*
3
- * @license VHS v2.19.0
3
+ * @license VHS v2.20.0-beta.efebcb67.1f26244
4
4
  *
5
5
  * Copyright (c) 2021-2023, Wistia, Inc. and its affiliates.
6
6
  *
@@ -407,7 +407,7 @@
407
407
  transition: all ${({theme:e})=>e.duration.productive.moderate};
408
408
  ${({disabled:e})=>e?JP:void 0}
409
409
  ${({size:e})=>e==="sm"?qP:e==="md"?XP:YP};
410
- `,Rr=(0,$l.forwardRef)(({colorOverride:e,componentStyle:t="dark",disabled:r=!1,icon:n,label:o,onClick:a,preventTooltip:i=!1,size:u="md",...l},c)=>{let f=eF(e,t,ze()),p=(0,$l.useMemo)(()=>(0,Vn.jsxs)(tF,{ref:c,componentStyle:t,disabled:r,iconButtonColor:f,onClick:a,size:u,...l,children:[(0,Vn.jsx)(Vn.Fragment,{children:n}),(0,Vn.jsx)(_a,{children:o})]}),[t,r,n,f,o,a,l,c,u]);return i?p:(0,Vn.jsx)(Va,{label:o,children:p})});Rr.displayName="IconButton_VHS";var Re=require("react/jsx-runtime"),rF=B4.default.div`
410
+ `,Rr=(0,$l.forwardRef)(({colorOverride:e,componentStyle:t="dark",disabled:r=!1,icon:n,label:o,onClick:a,preventTooltip:i=!1,size:u="md",tooltipDirection:l="top",...c},f)=>{let p=eF(e,t,ze()),h=(0,$l.useMemo)(()=>(0,Vn.jsxs)(tF,{ref:f,componentStyle:t,disabled:r,iconButtonColor:p,onClick:a,size:u,...c,children:[(0,Vn.jsx)(Vn.Fragment,{children:n}),(0,Vn.jsx)(_a,{children:o})]}),[t,r,n,p,o,a,c,f,u]);return i?h:(0,Vn.jsx)(Va,{direction:l,label:o,children:h})});Rr.displayName="IconButton_VHS";var Re=require("react/jsx-runtime"),rF=B4.default.div`
411
411
  background: white;
412
412
  border-bottom: 1px solid ${({theme:e})=>e.color.grey400};
413
413
  display: flex;