@wistia/vhs 2.60.1-beta.900794ea.1614150 → 2.60.1-beta.b186b32b.321774f
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/components/ClickArea/ClickArea.d.ts +13 -0
- package/dist/components/ClickArea/ClickArea.d.ts.map +1 -1
- package/dist/components/KeyboardShortcut/KeyboardShortcut.d.ts.map +1 -1
- package/dist/index.cjs +2 -2
- package/dist/index.cjs.map +3 -3
- package/dist/index.mjs +2 -2
- package/dist/index.mjs.map +3 -3
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
|
|
2
2
|
/*
|
|
3
|
-
* @license VHS v2.60.1-beta.
|
|
3
|
+
* @license VHS v2.60.1-beta.b186b32b.321774f
|
|
4
4
|
*
|
|
5
5
|
* Copyright (c) 2021-2024, Wistia, Inc. and its affiliates.
|
|
6
6
|
*
|
|
@@ -1926,7 +1926,7 @@ var lB=Object.create;var dl=Object.defineProperty;var cB=Object.getOwnPropertyDe
|
|
|
1926
1926
|
`,bee=ud.div`
|
|
1927
1927
|
display: flex;
|
|
1928
1928
|
gap: ${({theme:e})=>e.spacing.space01};
|
|
1929
|
-
`,Cee=e=>{switch(e){case"ArrowDown":return"\u2193";case"ArrowLeft":return"\u2190";case"ArrowRight":return"\u2192";case"ArrowUp":return"\u2191";case"Alt":return"Alt";case"Cmd":case"Meta":return/Mac|iPhone|iPad/.test(window.navigator.userAgent)?"\u2318":window.navigator.userAgent.includes("Win")?"\u229E":"^";case"Ctrl":return"Ctrl";case"Option":return"\u2325";case"Shift":return"\u21E7";case"Enter":return"\u21B5";case"Space":return"Space";case"Tab":return"Tab";case"Backspace":return"Del";case"Esc":return"Esc";default:return e.toUpperCase()}},KT=({label:e,keyboardKeys:t,fullWidth:r=!1,componentStyle:n="dark",...o})=>xee(gee,{componentStyle:n,fullWidth:r,...o,children:[B(e)&&M2(yee,{componentStyle:n,children:e}),M2(bee,{children:[...t].map(a=>M2(vee,{componentStyle:n,children:Cee(a)},
|
|
1929
|
+
`,Cee=e=>{switch(e){case"ArrowDown":return"\u2193";case"ArrowLeft":return"\u2190";case"ArrowRight":return"\u2192";case"ArrowUp":return"\u2191";case"Alt":return"Alt";case"Cmd":case"Meta":return/Mac|iPhone|iPad/.test(window.navigator.userAgent)?"\u2318":window.navigator.userAgent.includes("Win")?"\u229E":"^";case"Ctrl":return"Ctrl";case"Option":return"\u2325";case"Shift":return"\u21E7";case"Enter":return"\u21B5";case"Space":return"Space";case"Tab":return"Tab";case"Backspace":return"Del";case"Esc":return"Esc";default:return e.toUpperCase()}},KT=({label:e,keyboardKeys:t,fullWidth:r=!1,componentStyle:n="dark",...o})=>xee(gee,{componentStyle:n,fullWidth:r,...o,children:[B(e)&&M2(yee,{componentStyle:n,children:e}),M2(bee,{children:[...t].map((a,s)=>M2(vee,{componentStyle:n,children:Cee(a)},s))})]});KT.displayName="KeyboardShortcut_VHS";i();i();i();import{forwardRef as wee}from"react";import Dee from"styled-components";import{jsx as Tee}from"react/jsx-runtime";var See=e=>e.key==="Enter"||e.key===" "||e.key==="Spacebar",Eee=Dee.span`
|
|
1930
1930
|
${({noStyle:e})=>e?void 0:Yf};
|
|
1931
1931
|
|
|
1932
1932
|
&[tabindex] {
|