@wistia/ui 0.8.24 → 0.8.25

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.d.mts CHANGED
@@ -2317,6 +2317,14 @@ type ModalProps = ComponentPropsWithoutRef<'div'> & {
2317
2317
  * The content of the modal.
2318
2318
  */
2319
2319
  children: ReactNode;
2320
+ /**
2321
+ * Horizontally align modal to the left, center, or right of the container
2322
+ */
2323
+ alignHorizontal?: 'center' | 'left' | 'right';
2324
+ /**
2325
+ * Vertically align modal to the top, center, or bottom of the container
2326
+ */
2327
+ alignVertical?: 'bottom' | 'center' | 'top';
2320
2328
  /**
2321
2329
  * Whether or not the modal should take up the full height of the viewport
2322
2330
  */
@@ -2361,6 +2369,14 @@ declare const Modal: react.ForwardRefExoticComponent<Omit<react.DetailedHTMLProp
2361
2369
  * The content of the modal.
2362
2370
  */
2363
2371
  children: ReactNode;
2372
+ /**
2373
+ * Horizontally align modal to the left, center, or right of the container
2374
+ */
2375
+ alignHorizontal?: "center" | "left" | "right";
2376
+ /**
2377
+ * Vertically align modal to the top, center, or bottom of the container
2378
+ */
2379
+ alignVertical?: "bottom" | "center" | "top";
2364
2380
  /**
2365
2381
  * Whether or not the modal should take up the full height of the viewport
2366
2382
  */
package/dist/index.d.ts CHANGED
@@ -2317,6 +2317,14 @@ type ModalProps = ComponentPropsWithoutRef<'div'> & {
2317
2317
  * The content of the modal.
2318
2318
  */
2319
2319
  children: ReactNode;
2320
+ /**
2321
+ * Horizontally align modal to the left, center, or right of the container
2322
+ */
2323
+ alignHorizontal?: 'center' | 'left' | 'right';
2324
+ /**
2325
+ * Vertically align modal to the top, center, or bottom of the container
2326
+ */
2327
+ alignVertical?: 'bottom' | 'center' | 'top';
2320
2328
  /**
2321
2329
  * Whether or not the modal should take up the full height of the viewport
2322
2330
  */
@@ -2361,6 +2369,14 @@ declare const Modal: react.ForwardRefExoticComponent<Omit<react.DetailedHTMLProp
2361
2369
  * The content of the modal.
2362
2370
  */
2363
2371
  children: ReactNode;
2372
+ /**
2373
+ * Horizontally align modal to the left, center, or right of the container
2374
+ */
2375
+ alignHorizontal?: "center" | "left" | "right";
2376
+ /**
2377
+ * Vertically align modal to the top, center, or bottom of the container
2378
+ */
2379
+ alignVertical?: "bottom" | "center" | "top";
2364
2380
  /**
2365
2381
  * Whether or not the modal should take up the full height of the viewport
2366
2382
  */
package/dist/index.mjs CHANGED
@@ -1,6 +1,6 @@
1
1
 
2
2
  /*
3
- * @license @wistia/ui v0.8.24
3
+ * @license @wistia/ui v0.8.25
4
4
  *
5
5
  * Copyright (c) 2024-2025, Wistia, Inc. and its affiliates.
6
6
  *
@@ -10849,7 +10849,7 @@ var ModalHeader = ({
10849
10849
 
10850
10850
  // src/components/Modal/ModalContent.tsx
10851
10851
  import { forwardRef as forwardRef17 } from "react";
10852
- import styled47 from "styled-components";
10852
+ import styled47, { css as css30 } from "styled-components";
10853
10853
  import { Content as DialogContent } from "@radix-ui/react-dialog";
10854
10854
 
10855
10855
  // src/private/hooks/useFocusRestore/useFocusRestore.ts
@@ -10873,6 +10873,36 @@ var useFocusRestore = () => {
10873
10873
 
10874
10874
  // src/components/Modal/ModalContent.tsx
10875
10875
  import { jsx as jsx243 } from "react/jsx-runtime";
10876
+ var alignTopStyles = css30`
10877
+ --wui-modal-translate-y: 0;
10878
+
10879
+ top: 0;
10880
+ `;
10881
+ var alignVerticalCenterStyles = css30`
10882
+ --wui-modal-translate-y: -50%;
10883
+
10884
+ top: 50%;
10885
+ `;
10886
+ var alignBottomStyles = css30`
10887
+ --wui-modal-translate-y: 0;
10888
+
10889
+ bottom: 0;
10890
+ `;
10891
+ var alignHorizontalCenterStyles = css30`
10892
+ --wui-modal-translate-x: -50%;
10893
+
10894
+ left: 50%;
10895
+ `;
10896
+ var alignRightStyles = css30`
10897
+ --wui-modal-translate-x: 0;
10898
+
10899
+ right: 0;
10900
+ `;
10901
+ var alignLeftStyles = css30`
10902
+ --wui-modal-translate-x: 0;
10903
+
10904
+ left: 0;
10905
+ `;
10876
10906
  var StyledModalContent = styled47(DialogContent)`
10877
10907
  background-color: var(--wui-color-bg-app);
10878
10908
  box-sizing: border-box;
@@ -10888,39 +10918,48 @@ var StyledModalContent = styled47(DialogContent)`
10888
10918
  z-index: var(--wui-zindex-modal);
10889
10919
 
10890
10920
  ${mq.smAndUp} {
10891
- animation: contentShow 150ms cubic-bezier(0.16, 1, 0.3, 1);
10921
+ --wui-modal-screen-offset: var(--wui-space-05);
10922
+ --wui-modal-max-height: calc(100vh - var(--wui-modal-screen-offset) * 2);
10923
+ --wui-modal-max-width: calc(100vw - var(--wui-modal-screen-offset) * 2);
10924
+
10925
+ top: unset;
10926
+ left: unset;
10927
+ ${({ $alignVertical }) => $alignVertical === "top" && alignTopStyles}
10928
+ ${({ $alignVertical }) => $alignVertical === "center" && alignVerticalCenterStyles}
10929
+ ${({ $alignVertical }) => $alignVertical === "bottom" && alignBottomStyles}
10930
+ ${({ $alignHorizontal }) => $alignHorizontal === "center" && alignHorizontalCenterStyles}
10931
+ ${({ $alignHorizontal }) => $alignHorizontal === "right" && alignRightStyles}
10932
+ ${({ $alignHorizontal }) => $alignHorizontal === "left" && alignLeftStyles}
10933
+ animation: contentShow var(--wui-motion-duration-03) var(--wui-motion-ease-out);
10892
10934
  border-radius: var(--wui-border-radius-03);
10893
- left: 50%;
10894
- margin: var(--wui-space-02);
10895
10935
  height: ${({ $fullHeight }) => $fullHeight ? "min-content" : "auto"};
10896
- max-height: 90vh;
10936
+ max-height: var(--wui-modal-max-height);
10897
10937
  ${({ $fullHeight }) => $fullHeight ? "min-height: calc(100vh - 48px);" : ""}
10898
- max-width: 90vw;
10899
- top: 50%;
10900
- transform: translate(-50%, -50%);
10938
+ max-width: var(--wui-modal-max-width);
10939
+ translate: var(--wui-modal-translate-x) var(--wui-modal-translate-y);
10901
10940
  min-width: ${({ $width }) => $width ?? DEFAULT_MODAL_WIDTH};
10902
10941
  width: ${({ $width }) => $width ?? DEFAULT_MODAL_WIDTH};
10903
10942
  }
10904
10943
 
10905
10944
  @keyframes contentShow {
10906
10945
  from {
10907
- opacity: 0;
10908
- transform: translate(-50%, -48%) scale(0.96);
10946
+ scale: 0.96;
10909
10947
  }
10910
10948
 
10911
10949
  to {
10912
- opacity: 1;
10913
- transform: translate(-50%, -50%) scale(1);
10950
+ scale: 1;
10914
10951
  }
10915
10952
  }
10916
10953
  `;
10917
10954
  var ModalContent = forwardRef17(
10918
- ({ fullHeight, width, children, ...props }, ref) => {
10955
+ ({ fullHeight, width, alignHorizontal, alignVertical, children, ...props }, ref) => {
10919
10956
  useFocusRestore();
10920
10957
  return /* @__PURE__ */ jsx243(
10921
10958
  StyledModalContent,
10922
10959
  {
10923
10960
  ref,
10961
+ $alignHorizontal: alignHorizontal,
10962
+ $alignVertical: alignVertical,
10924
10963
  $fullHeight: fullHeight,
10925
10964
  $width: width,
10926
10965
  "aria-describedby": void 0,
@@ -10935,7 +10974,6 @@ var ModalContent = forwardRef17(
10935
10974
  import { forwardRef as forwardRef18 } from "react";
10936
10975
  import styled48 from "styled-components";
10937
10976
  import { jsx as jsx244 } from "react/jsx-runtime";
10938
- var backdropAnimationDuration = 150;
10939
10977
  var alignVerticalMap = {
10940
10978
  stretch: "normal",
10941
10979
  top: "start",
@@ -10949,9 +10987,7 @@ var alignHorizontalMap = {
10949
10987
  };
10950
10988
  var BackdropComponent = styled48.div`
10951
10989
  align-items: ${({ $alignVertical }) => alignVerticalMap[$alignVertical]};
10952
- animation-name: backdropShow;
10953
- animation-duration: ${() => `${backdropAnimationDuration}ms`};
10954
- animation-timing-function: cubic-bezier(0.16, 1, 0.3, 1);
10990
+ animation-name: backdropShow var(--wui-motion-duration-03) var(--wui-motion-ease-out);
10955
10991
  background: var(--wui-color-backdrop);
10956
10992
  display: flex;
10957
10993
  inset: 0;
@@ -10995,6 +11031,7 @@ var DEFAULT_MODAL_WIDTH = "532px";
10995
11031
  var ModalBody = styled49.div`
10996
11032
  flex-direction: column;
10997
11033
  display: flex;
11034
+ flex: 1 0 0;
10998
11035
  order: 2;
10999
11036
  `;
11000
11037
  var Modal = forwardRef19(
@@ -11008,6 +11045,8 @@ var Modal = forwardRef19(
11008
11045
  onRequestClose,
11009
11046
  title,
11010
11047
  width = DEFAULT_MODAL_WIDTH,
11048
+ alignHorizontal = "center",
11049
+ alignVertical = "center",
11011
11050
  ...props
11012
11051
  }, ref) => {
11013
11052
  return /* @__PURE__ */ jsx245(
@@ -11025,6 +11064,8 @@ var Modal = forwardRef19(
11025
11064
  ModalContent,
11026
11065
  {
11027
11066
  ref,
11067
+ alignHorizontal,
11068
+ alignVertical,
11028
11069
  fullHeight,
11029
11070
  onOpenAutoFocus: (event) => {
11030
11071
  if (isNotNil24(initialFocusRef) && initialFocusRef.current) {
@@ -11058,7 +11099,7 @@ Modal.displayName = "Modal";
11058
11099
 
11059
11100
  // src/components/Popover/Popover.tsx
11060
11101
  import { Root, Trigger as Trigger2, Portal, Content as Content2, Close } from "@radix-ui/react-popover";
11061
- import styled51, { css as css31 } from "styled-components";
11102
+ import styled51, { css as css32 } from "styled-components";
11062
11103
 
11063
11104
  // src/private/helpers/getControls/getControlProps.tsx
11064
11105
  import { isNotNil as isNotNil25 } from "@wistia/type-guards";
@@ -11068,7 +11109,7 @@ var getControlProps = (isOpen, onOpenChange) => {
11068
11109
 
11069
11110
  // src/components/Popover/PopoverArrow.tsx
11070
11111
  import { PopoverArrow as RadixPopoverArrow } from "@radix-ui/react-popover";
11071
- import styled50, { css as css30, keyframes as keyframes4 } from "styled-components";
11112
+ import styled50, { css as css31, keyframes as keyframes4 } from "styled-components";
11072
11113
  import { jsx as jsx246, jsxs as jsxs33 } from "react/jsx-runtime";
11073
11114
  var StyledPath = styled50.path`
11074
11115
  fill: var(--wui-color-border-secondary);
@@ -11102,7 +11143,7 @@ var StyledCircle = styled50.circle`
11102
11143
  }
11103
11144
 
11104
11145
  @media (prefers-reduced-motion: no-preference) {
11105
- ${({ $isAnimated }) => $isAnimated && css30`
11146
+ ${({ $isAnimated }) => $isAnimated && css31`
11106
11147
  animation-name: ${circleAnimation};
11107
11148
  `}
11108
11149
  }
@@ -11150,7 +11191,7 @@ PopoverArrow.displayName = "PopoverArrow";
11150
11191
  import { jsx as jsx247, jsxs as jsxs34 } from "react/jsx-runtime";
11151
11192
  var StyledContent2 = styled51(Content2)`
11152
11193
  ${({ $colorScheme }) => getColorScheme($colorScheme)};
11153
- ${({ $unstyled }) => !$unstyled && css31`
11194
+ ${({ $unstyled }) => !$unstyled && css32`
11154
11195
  border-radius: var(--wui-border-radius-02);
11155
11196
  padding: var(--wui-space-04);
11156
11197
  max-width: var(--wui-popover-max-width, 320px);
@@ -11296,7 +11337,7 @@ ProgressBar.displayName = "ProgressBar";
11296
11337
 
11297
11338
  // src/components/Radio/Radio.tsx
11298
11339
  import { forwardRef as forwardRef20, useId as useId3 } from "react";
11299
- import styled53, { css as css32 } from "styled-components";
11340
+ import styled53, { css as css33 } from "styled-components";
11300
11341
  import { isNonEmptyString as isNonEmptyString3 } from "@wistia/type-guards";
11301
11342
  import { jsx as jsx249, jsxs as jsxs36 } from "react/jsx-runtime";
11302
11343
  var RadioIcon = () => /* @__PURE__ */ jsx249(
@@ -11318,7 +11359,7 @@ var RadioIcon = () => /* @__PURE__ */ jsx249(
11318
11359
  )
11319
11360
  }
11320
11361
  );
11321
- var sizeSmall2 = css32`
11362
+ var sizeSmall2 = css33`
11322
11363
  width: 14px;
11323
11364
  height: 14px;
11324
11365
  min-width: 14px;
@@ -11329,7 +11370,7 @@ var sizeSmall2 = css32`
11329
11370
  height: 7px;
11330
11371
  }
11331
11372
  `;
11332
- var sizeMedium2 = css32`
11373
+ var sizeMedium2 = css33`
11333
11374
  width: 16px;
11334
11375
  height: 16px;
11335
11376
  min-width: 16px;
@@ -11340,7 +11381,7 @@ var sizeMedium2 = css32`
11340
11381
  height: 8px;
11341
11382
  }
11342
11383
  `;
11343
- var sizeLarge2 = css32`
11384
+ var sizeLarge2 = css33`
11344
11385
  width: 20px;
11345
11386
  height: 20px;
11346
11387
  min-width: 20px;
@@ -11464,7 +11505,7 @@ Radio.displayName = "Radio";
11464
11505
 
11465
11506
  // src/components/SegmentedControl/SegmentedControl.tsx
11466
11507
  import { forwardRef as forwardRef21 } from "react";
11467
- import styled55, { css as css33 } from "styled-components";
11508
+ import styled55, { css as css34 } from "styled-components";
11468
11509
  import { Root as ToggleGroupRoot } from "@radix-ui/react-toggle-group";
11469
11510
  import { isNil as isNil14 } from "@wistia/type-guards";
11470
11511
 
@@ -11543,7 +11584,7 @@ var SelectedItemIndicator = () => {
11543
11584
 
11544
11585
  // src/components/SegmentedControl/SegmentedControl.tsx
11545
11586
  import { jsx as jsx252, jsxs as jsxs37 } from "react/jsx-runtime";
11546
- var segmentedControlStyles = css33`
11587
+ var segmentedControlStyles = css34`
11547
11588
  display: inline-flex;
11548
11589
  background-color: var(--wui-color-bg-surface-secondary);
11549
11590
  border-radius: var(--wui-border-radius-rounded);
@@ -11593,11 +11634,11 @@ SegmentedControl.displayName = "SegmentedControl";
11593
11634
 
11594
11635
  // src/components/SegmentedControl/SegmentedControlItem.tsx
11595
11636
  import { forwardRef as forwardRef22, useEffect as useEffect11, useRef as useRef12 } from "react";
11596
- import styled56, { css as css34 } from "styled-components";
11637
+ import styled56, { css as css35 } from "styled-components";
11597
11638
  import { Item as ToggleGroupItem } from "@radix-ui/react-toggle-group";
11598
11639
  import { isNotNil as isNotNil27 } from "@wistia/type-guards";
11599
11640
  import { jsxs as jsxs38 } from "react/jsx-runtime";
11600
- var segmentedControlItemStyles = css34`
11641
+ var segmentedControlItemStyles = css35`
11601
11642
  all: unset; /* ToggleGroupItem is a button element */
11602
11643
  align-items: center;
11603
11644
  border-radius: var(--wui-border-radius-rounded);
@@ -11922,10 +11963,10 @@ var SelectOptionGroup = ({ children, label, ...props }) => {
11922
11963
 
11923
11964
  // src/components/Switch/Switch.tsx
11924
11965
  import { forwardRef as forwardRef25, useId as useId4 } from "react";
11925
- import styled60, { css as css35 } from "styled-components";
11966
+ import styled60, { css as css36 } from "styled-components";
11926
11967
  import { isNonEmptyString as isNonEmptyString4 } from "@wistia/type-guards";
11927
11968
  import { jsx as jsx256, jsxs as jsxs42 } from "react/jsx-runtime";
11928
- var sizeSmall3 = css35`
11969
+ var sizeSmall3 = css36`
11929
11970
  --wui-size-small-width: 24px;
11930
11971
  --wui-size-small-height: 14px;
11931
11972
 
@@ -11940,7 +11981,7 @@ var sizeSmall3 = css35`
11940
11981
  height: calc(var(--wui-size-small-width) / 2);
11941
11982
  }
11942
11983
  `;
11943
- var sizeMedium3 = css35`
11984
+ var sizeMedium3 = css36`
11944
11985
  --wui-size-medium-width: 32px;
11945
11986
  --wui-size-medium-height: 18px;
11946
11987
 
@@ -11955,7 +11996,7 @@ var sizeMedium3 = css35`
11955
11996
  height: calc(var(--wui-size-medium-width) / 2);
11956
11997
  }
11957
11998
  `;
11958
- var sizeLarge3 = css35`
11999
+ var sizeLarge3 = css36`
11959
12000
  --wui-size-large-width: 40px;
11960
12001
  --wui-size-large-height: 22px;
11961
12002
 
@@ -12084,25 +12125,25 @@ var Switch = forwardRef25(
12084
12125
  Switch.displayName = "Switch";
12085
12126
 
12086
12127
  // src/components/Table/Table.tsx
12087
- import styled61, { css as css36 } from "styled-components";
12128
+ import styled61, { css as css37 } from "styled-components";
12088
12129
  import { jsx as jsx257 } from "react/jsx-runtime";
12089
12130
  var StyledTable = styled61.table`
12090
12131
  width: 100%;
12091
12132
  border-collapse: collapse;
12092
12133
 
12093
- ${({ $divided }) => $divided && css36`
12134
+ ${({ $divided }) => $divided && css37`
12094
12135
  tr {
12095
12136
  border-bottom: 1px solid var(--wui-color-border);
12096
12137
  }
12097
12138
  `}
12098
12139
 
12099
- ${({ $striped }) => $striped && css36`
12140
+ ${({ $striped }) => $striped && css37`
12100
12141
  tbody tr:nth-child(even) {
12101
12142
  background-color: var(--wui-color-bg-surface-secondary);
12102
12143
  }
12103
12144
  `}
12104
12145
 
12105
- ${({ $visuallyHiddenHeader }) => $visuallyHiddenHeader && css36`
12146
+ ${({ $visuallyHiddenHeader }) => $visuallyHiddenHeader && css37`
12106
12147
  thead {
12107
12148
  ${visuallyHiddenStyle}
12108
12149
  }
@@ -12143,9 +12184,9 @@ var TableBody = ({ children, ...props }) => {
12143
12184
 
12144
12185
  // src/components/Table/TableCell.tsx
12145
12186
  import { useContext as useContext8 } from "react";
12146
- import styled63, { css as css37 } from "styled-components";
12187
+ import styled63, { css as css38 } from "styled-components";
12147
12188
  import { jsx as jsx259 } from "react/jsx-runtime";
12148
- var sharedStyles = css37`
12189
+ var sharedStyles = css38`
12149
12190
  color: var(--wui-color-text);
12150
12191
  padding: var(--wui-space-02);
12151
12192
  text-align: left;
@@ -12685,9 +12726,9 @@ import { isNil as isNil17, isNotNil as isNotNil34 } from "@wistia/type-guards";
12685
12726
 
12686
12727
  // src/private/helpers/getBackgroundGradient/getBackgroundGradient.ts
12687
12728
  import { isNotNil as isNotNil33 } from "@wistia/type-guards";
12688
- import { css as css38 } from "styled-components";
12729
+ import { css as css39 } from "styled-components";
12689
12730
  var gradients = {
12690
- defaultDarkOne: css38`
12731
+ defaultDarkOne: css39`
12691
12732
  background-color: #222d66;
12692
12733
  background-image:
12693
12734
  radial-gradient(farthest-corner at top right, #222d66, transparent 70%),
@@ -12695,7 +12736,7 @@ var gradients = {
12695
12736
  radial-gradient(farthest-corner at bottom left, #6b84ff, transparent 57%),
12696
12737
  radial-gradient(farthest-corner at top left, #2949e5, transparent 68%);
12697
12738
  `,
12698
- defaultDarkTwo: css38`
12739
+ defaultDarkTwo: css39`
12699
12740
  background-color: #222d66;
12700
12741
  background-image:
12701
12742
  radial-gradient(farthest-corner at top left, #6b84ff, transparent 100%),
@@ -12703,7 +12744,7 @@ var gradients = {
12703
12744
  radial-gradient(farthest-corner at bottom right, #2949e5, transparent 50%),
12704
12745
  radial-gradient(farthest-corner at top right, #2949e5, transparent 70%);
12705
12746
  `,
12706
- defaultLightOne: css38`
12747
+ defaultLightOne: css39`
12707
12748
  background-color: #ccd5ff;
12708
12749
  background-image:
12709
12750
  radial-gradient(farthest-corner at bottom right, #ccd5ff, transparent 55%),
@@ -12711,13 +12752,13 @@ var gradients = {
12711
12752
  radial-gradient(farthest-corner at top right, #6b84ff, transparent 50%),
12712
12753
  radial-gradient(farthest-corner at bottom left, #f7f8ff, transparent 50%);
12713
12754
  `,
12714
- defaultLightTwo: css38`
12755
+ defaultLightTwo: css39`
12715
12756
  background-color: #ccd5ff;
12716
12757
  background-image:
12717
12758
  radial-gradient(ellipse at top, #ccd5ff, transparent),
12718
12759
  radial-gradient(ellipse at bottom, #6b84ff, transparent);
12719
12760
  `,
12720
- defaultMidOne: css38`
12761
+ defaultMidOne: css39`
12721
12762
  background-color: #6b84ff;
12722
12763
  background-image:
12723
12764
  radial-gradient(farthest-corner at top right, #2949e5, transparent 70%),
@@ -12725,13 +12766,13 @@ var gradients = {
12725
12766
  radial-gradient(farthest-corner at top left, #6b84ff, transparent 80%),
12726
12767
  radial-gradient(farthest-corner at bottom left, #222d66, transparent 57%);
12727
12768
  `,
12728
- defaultMidTwo: css38`
12769
+ defaultMidTwo: css39`
12729
12770
  background-color: #6b84ff;
12730
12771
  background-image:
12731
12772
  radial-gradient(ellipse at top, #2949e5, transparent),
12732
12773
  radial-gradient(ellipse at bottom, #ccd5ff, transparent);
12733
12774
  `,
12734
- green: css38`
12775
+ green: css39`
12735
12776
  background-color: #fafffa;
12736
12777
  background-image:
12737
12778
  radial-gradient(farthest-corner at bottom left, #b0e5a5, transparent 50%),
@@ -12739,7 +12780,7 @@ var gradients = {
12739
12780
  radial-gradient(farthest-corner at top left, #44b62d, transparent 65%),
12740
12781
  radial-gradient(farthest-corner at bottom right, #44b62d, transparent 55%);
12741
12782
  `,
12742
- greenWithPop: css38`
12783
+ greenWithPop: css39`
12743
12784
  background-color: #fafffa;
12744
12785
  background-image:
12745
12786
  radial-gradient(farthest-corner at bottom left, #b0e5a5, transparent 50%),
@@ -12747,7 +12788,7 @@ var gradients = {
12747
12788
  radial-gradient(farthest-corner at top left, #44b62d, transparent 65%),
12748
12789
  radial-gradient(farthest-corner at bottom right, #44b62d, transparent 55%);
12749
12790
  `,
12750
- pink: css38`
12791
+ pink: css39`
12751
12792
  background-color: #fffff0;
12752
12793
  background-image:
12753
12794
  radial-gradient(farthest-corner at bottom left, #ffc7e8, transparent 50%),
@@ -12755,7 +12796,7 @@ var gradients = {
12755
12796
  radial-gradient(farthest-corner at top left, #ff40b3, transparent 65%),
12756
12797
  radial-gradient(farthest-corner at bottom right, #ff40b3, transparent 55%);
12757
12798
  `,
12758
- pinkWithPop: css38`
12799
+ pinkWithPop: css39`
12759
12800
  background-color: #fffff0;
12760
12801
  background-image:
12761
12802
  radial-gradient(farthest-corner at top right, #e0128e, transparent 70%),
@@ -12763,7 +12804,7 @@ var gradients = {
12763
12804
  radial-gradient(farthest-corner at bottom right, #ff40b3, transparent 55%),
12764
12805
  radial-gradient(farthest-corner at bottom left, #2949e5, transparent 50%);
12765
12806
  `,
12766
- playfulGradientOne: css38`
12807
+ playfulGradientOne: css39`
12767
12808
  background-color: #f7f8ff;
12768
12809
  background-image:
12769
12810
  radial-gradient(farthest-corner at top left, #d65cff, transparent 68%),
@@ -12771,7 +12812,7 @@ var gradients = {
12771
12812
  radial-gradient(farthest-corner at bottom left, #ffc7e8, transparent 57%),
12772
12813
  radial-gradient(farthest-corner at top right, #ffcaba, transparent 70%);
12773
12814
  `,
12774
- playfulGradientTwo: css38`
12815
+ playfulGradientTwo: css39`
12775
12816
  background-color: #f7f8ff;
12776
12817
  background-image:
12777
12818
  radial-gradient(farthest-corner at top left, #44b62d, transparent 68%),
@@ -12779,13 +12820,13 @@ var gradients = {
12779
12820
  radial-gradient(farthest-corner at bottom left, #ccd5ff, transparent 57%),
12780
12821
  radial-gradient(farthest-corner at top right, #2949e5, transparent 70%);
12781
12822
  `,
12782
- purple: css38`
12823
+ purple: css39`
12783
12824
  background-color: #f2caff;
12784
12825
  background-image:
12785
12826
  radial-gradient(ellipse at 0% 100%, #f9e5ff, transparent 50%),
12786
12827
  radial-gradient(ellipse at 100% 0%, #e093fa, transparent 70%);
12787
12828
  `,
12788
- purpleWithPop: css38`
12829
+ purpleWithPop: css39`
12789
12830
  background-color: #f2caff;
12790
12831
  background-image:
12791
12832
  radial-gradient(farthest-corner at bottom left, #f2caff, transparent 50%),
@@ -12793,7 +12834,7 @@ var gradients = {
12793
12834
  radial-gradient(farthest-corner at bottom right, #d65cff, transparent 55%),
12794
12835
  radial-gradient(farthest-corner at top right, #2949e5, transparent 70%);
12795
12836
  `,
12796
- yellow: css38`
12837
+ yellow: css39`
12797
12838
  background-color: #fffff0;
12798
12839
  background-image:
12799
12840
  radial-gradient(farthest-corner at bottom left, #eff18d, transparent 50%),
@@ -12801,7 +12842,7 @@ var gradients = {
12801
12842
  radial-gradient(farthest-corner at top left, #e8ec1e, transparent 65%),
12802
12843
  radial-gradient(farthest-corner at bottom right, #e8ec1e, transparent 55%);
12803
12844
  `,
12804
- yellowWithPop: css38`
12845
+ yellowWithPop: css39`
12805
12846
  background-color: #fffff0;
12806
12847
  background-image:
12807
12848
  radial-gradient(farthest-corner at bottom left, #eff18d, transparent 50%),
@@ -13009,7 +13050,7 @@ var ThumbnailCollage = ({
13009
13050
  };
13010
13051
 
13011
13052
  // src/components/WistiaLogo/WistiaLogo.tsx
13012
- import styled76, { css as css39 } from "styled-components";
13053
+ import styled76, { css as css40 } from "styled-components";
13013
13054
  import { isNotNil as isNotNil35 } from "@wistia/type-guards";
13014
13055
  import { jsx as jsx272, jsxs as jsxs48 } from "react/jsx-runtime";
13015
13056
  var renderBrandmark = (brandmarkColor, iconOnly) => {
@@ -13067,12 +13108,12 @@ var WistiaLogoComponent = styled76.svg`
13067
13108
  ${({ $opticallyCentered, $iconOnly }) => {
13068
13109
  if ($opticallyCentered) {
13069
13110
  if ($iconOnly) {
13070
- return css39`
13111
+ return css40`
13071
13112
  aspect-ratio: 1;
13072
13113
  padding: 11.85% 3.12% 13.91%;
13073
13114
  `;
13074
13115
  }
13075
- return css39`
13116
+ return css40`
13076
13117
  aspect-ratio: 127 / 32;
13077
13118
  `;
13078
13119
  }