@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.esm.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
|
|
2
2
|
/*
|
|
3
|
-
* @license VHS v2.
|
|
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 @@ var xD=Object.create;var b1=Object.defineProperty;var wD=Object.getOwnPropertyDe
|
|
|
407
407
|
transition: all ${({theme:e})=>e.duration.productive.moderate};
|
|
408
408
|
${({disabled:e})=>e?sP:void 0}
|
|
409
409
|
${({size:e})=>e==="sm"?oP:e==="md"?aP:iP};
|
|
410
|
-
`,jr=tP(({colorOverride:e,componentStyle:t="dark",disabled:r=!1,icon:n,label:o,onClick:a,preventTooltip:i=!1,size:u="md",...
|
|
410
|
+
`,jr=tP(({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=lP(e,t,ze()),h=rP(()=>dP(cP,{ref:f,componentStyle:t,disabled:r,iconButtonColor:p,onClick:a,size:u,...c,children:[nd(fP,{children:n}),nd(hi,{children:o})]}),[t,r,n,p,o,a,c,f,u]);return i?h:nd(yi,{direction:l,label:o,children:h})});jr.displayName="IconButton_VHS";import{jsx as He,jsxs as vP}from"react/jsx-runtime";var mP=pP.div`
|
|
411
411
|
background: white;
|
|
412
412
|
border-bottom: 1px solid ${({theme:e})=>e.color.grey400};
|
|
413
413
|
display: flex;
|