@wistia/vhs 2.44.0-beta.919ea4fc.e390dc1 → 2.44.0-beta.f4a06a01.fc8861e

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.44.0-beta.919ea4fc.e390dc1
3
+ * @license VHS v2.44.0-beta.f4a06a01.fc8861e
4
4
  *
5
5
  * Copyright (c) 2021-2024, Wistia, Inc. and its affiliates.
6
6
  *
@@ -1170,7 +1170,7 @@
1170
1170
  ${({elOverflow:e})=>RM(e)};
1171
1171
  position: relative;
1172
1172
  width: ${({elWidth:e})=>e};
1173
- `,pm=({children:e=void 0,attachment:t="scroll",clip:r="border-box",color:n=void 0,height:o="auto",origin:a=void 0,overflow:s="hidden",position:u="center",repeat:l="no-repeat",size:c="cover",src:p=void 0,width:m="100%",...g})=>(0,Z9.jsx)(IM,{bgAttachment:t,bgClip:r,bgColor:n,bgImage:p,bgOrigin:a,bgPosition:u,bgRepeat:l,bgSize:c,elHeight:o,elOverflow:s,elWidth:m,...g,children:e});pm.displayName="BackgroundImage_VHS";i();i();var Q9=G(require("styled-components"));i();var J9=(e,t)=>{switch(e){case"green":return{backgroundColor:t.green100,textColor:t.green600};case"grey":return{backgroundColor:t.grey100,textColor:t.grey700};case"pink":return{backgroundColor:t.pink100,textColor:t.pink500};case"purple":return{backgroundColor:t.purple100,textColor:t.purple600};case"red":return{backgroundColor:t.red100,textColor:t.red600};case"yellow":return{backgroundColor:t.yellow100,textColor:t.yellow600};case"brandBlue":default:return{backgroundColor:t.brandBlue100,textColor:t.brandBlue500}}};var js=require("react/jsx-runtime"),MM=Q9.default.div`
1173
+ `,pm=({children:e=void 0,attachment:t="scroll",clip:r="border-box",color:n=void 0,height:o="auto",origin:a=void 0,overflow:s="hidden",position:u="center",repeat:l="no-repeat",size:c="cover",src:p=void 0,width:m="100%",...g})=>(0,Z9.jsx)(IM,{bgAttachment:t,bgClip:r,bgColor:n,bgImage:p,bgOrigin:a,bgPosition:u,bgRepeat:l,bgSize:c,elHeight:o,elOverflow:s,elWidth:m,...g,children:e});pm.displayName="BackgroundImage_VHS";i();i();var Q9=G(require("styled-components"));i();var J9=(e,t)=>{switch(e){case"error":return{backgroundColor:t.error300,iconColor:t.error600,textColor:t.error800};case"green":return{backgroundColor:t.green300,iconColor:t.green600,textColor:t.green800};case"grey":return{backgroundColor:t.grey300,iconColor:t.grey800,textColor:t.grey1000};case"orange":return{backgroundColor:t.orange200,iconColor:t.orange600,textColor:t.orange800};case"pink":return{backgroundColor:t.pink300,iconColor:t.pink600,textColor:t.pink800};case"purple":return{backgroundColor:t.purple300,iconColor:t.purple600,textColor:t.purple800};case"red":return{backgroundColor:t.red300,iconColor:t.red600,textColor:t.red800};case"success":return{backgroundColor:t.success200,iconColor:t.success600,textColor:t.success800};case"warning":return{backgroundColor:t.warning300,iconColor:t.warning700,textColor:t.warning800};case"yellow":return{backgroundColor:t.yellow200,iconColor:t.yellow700,textColor:t.yellow800};case"brandBlue":default:return{backgroundColor:t.brandBlue200,iconColor:t.brandBlue500,textColor:t.brandBlue700}}};var js=require("react/jsx-runtime"),MM=Q9.default.div`
1174
1174
  align-items: center;
1175
1175
  background: ${({backgroundColor:e})=>e};
1176
1176
  border-radius: 999px;
@@ -1182,7 +1182,7 @@
1182
1182
  padding-left: ${({hasIcon:e})=>e?"4px":"6px"};
1183
1183
  padding-right: 6px;
1184
1184
  width: fit-content;
1185
- `,mm=({colorScheme:e="brandBlue",label:t,icon:r,...n})=>{let{backgroundColor:o,textColor:a}=J9(e,He());return(0,js.jsxs)(MM,{...n,backgroundColor:o,hasIcon:O(r),textColor:a,children:[O(r)&&(0,js.jsx)(Te,{"data-testid":"badge-icon",size:"sm",type:r}),(0,js.jsx)("span",{children:t})]})};mm.displayName="Badge_VHS";i();i();var Tc=G(require("styled-components"));i();var di=G(require("styled-components"));var Sc=require("react/jsx-runtime"),kM=di.default.div`
1185
+ `,mm=({colorScheme:e="brandBlue",label:t,icon:r,...n})=>{let{backgroundColor:o,iconColor:a,textColor:s}=J9(e,He());return(0,js.jsxs)(MM,{...n,backgroundColor:o,hasIcon:O(r),textColor:s,children:[O(r)&&(0,js.jsx)(Te,{color:a,"data-testid":"badge-icon",size:"sm",type:r}),(0,js.jsx)("span",{children:t})]})};mm.displayName="Badge_VHS";i();i();var Tc=G(require("styled-components"));i();var di=G(require("styled-components"));var Sc=require("react/jsx-runtime"),kM=di.default.div`
1186
1186
  color: ${({theme:e})=>e.color.grey900};
1187
1187
  flex: 1;
1188
1188
  font-size: 14px;