@wistia/ui 0.18.18-beta.60c739ab.0edacec → 0.18.18-beta.97557728.199753

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.mjs CHANGED
@@ -1,6 +1,6 @@
1
1
 
2
2
  /*
3
- * @license @wistia/ui v0.18.18-beta.60c739ab.0edacec
3
+ * @license @wistia/ui v0.18.18-beta.97557728.199753
4
4
  *
5
5
  * Copyright (c) 2024-2025, Wistia, Inc. and its affiliates.
6
6
  *
@@ -15085,11 +15085,23 @@ var FormErrorSummary = ({ description }) => {
15085
15085
 
15086
15086
  // src/components/FormField/FormField.tsx
15087
15087
  import { Children as Children10, cloneElement as cloneElement8, useContext as useContext13 } from "react";
15088
- import { styled as styled68 } from "styled-components";
15088
+ import { styled as styled68, css as css36 } from "styled-components";
15089
15089
  import { isArray as isArray4, isNotNil as isNotNil28, isNotUndefined as isNotUndefined12, isUndefined as isUndefined4 } from "@wistia/type-guards";
15090
- import { Fragment as Fragment9, jsx as jsx293, jsxs as jsxs47 } from "react/jsx-runtime";
15090
+ import { jsx as jsx293, jsxs as jsxs47 } from "react/jsx-runtime";
15091
+ var inlineErrorStyles = css36`
15092
+ grid-template-rows: 1fr auto;
15093
+ grid-template-areas: 'label-description input' '. error';
15094
+ `;
15095
+ var inlineBaseGridAreaStyles = css36`
15096
+ grid-template-rows: 1fr;
15097
+ grid-template-areas: 'label-description input';
15098
+ `;
15099
+ var blockGridErrorStyles = css36`
15100
+ grid-template-rows: auto 1fr auto;
15101
+ grid-template-areas: 'label-description' 'input' 'error';
15102
+ `;
15091
15103
  var StyledFormField = styled68.div`
15092
- --form-field-spacing: var(--wui-space-01);
15104
+ --form-field-spacing: var(--wui-space-02);
15093
15105
  --form-field-spacing-inline: var(--wui-space-02);
15094
15106
  --form-field-error-color: var(--wui-color-text-secondary-error);
15095
15107
 
@@ -15103,21 +15115,28 @@ var StyledFormField = styled68.div`
15103
15115
  &[data-label-position='inline-compact'] {
15104
15116
  gap: var(--form-field-spacing-inline);
15105
15117
  grid-template-columns: auto 1fr;
15106
- grid-template-rows: 1fr auto;
15118
+ ${inlineBaseGridAreaStyles}
15119
+ ${({ $hasError }) => $hasError && inlineErrorStyles}
15107
15120
  }
15108
15121
 
15109
15122
  &[data-label-position='inline'] {
15110
15123
  gap: var(--form-field-spacing-inline);
15111
15124
  grid-template-columns: minmax(auto, 1fr) 1fr;
15112
- grid-template-rows: 1fr auto;
15125
+ ${inlineBaseGridAreaStyles}
15126
+ ${({ $hasError }) => $hasError && inlineErrorStyles}
15113
15127
  }
15114
15128
 
15115
15129
  &[data-label-position='block'] {
15116
15130
  gap: var(--form-field-spacing);
15117
15131
  grid-template-columns: 1fr;
15118
- grid-template-rows: 1fr;
15132
+ grid-template-rows: auto 1fr;
15133
+ grid-template-areas: 'label-description' 'input';
15134
+ ${({ $hasError }) => $hasError && blockGridErrorStyles}
15119
15135
  }
15120
15136
  `;
15137
+ var ErrorText = styled68(Text)`
15138
+ grid-area: error;
15139
+ `;
15121
15140
  var StyledErrorList = styled68.ul`
15122
15141
  margin: 0;
15123
15142
  padding: 0;
@@ -15125,13 +15144,14 @@ var StyledErrorList = styled68.ul`
15125
15144
  display: flex;
15126
15145
  flex-direction: column;
15127
15146
  gap: var(--wui-space-01);
15147
+ grid-area: error;
15128
15148
  `;
15129
15149
  var ErrorMessages = ({ errors, id }) => {
15130
15150
  const isErrorArray = isArray4(errors);
15131
15151
  const isMultipleErrors = isErrorArray && errors.length > 1;
15132
15152
  if (!isErrorArray) {
15133
15153
  return /* @__PURE__ */ jsx293(
15134
- Text,
15154
+ ErrorText,
15135
15155
  {
15136
15156
  colorScheme: "error",
15137
15157
  id,
@@ -15144,7 +15164,7 @@ var ErrorMessages = ({ errors, id }) => {
15144
15164
  }
15145
15165
  if (!isMultipleErrors) {
15146
15166
  return /* @__PURE__ */ jsx293(
15147
- Text,
15167
+ ErrorText,
15148
15168
  {
15149
15169
  colorScheme: "error",
15150
15170
  id,
@@ -15189,12 +15209,16 @@ var FormField = ({
15189
15209
  const descriptionId = `${computedId}-description`;
15190
15210
  const errorId = `${computedId}-error`;
15191
15211
  const ariaDescribedby = [descriptionId, errorId].filter(Boolean).join(" ") || void 0;
15212
+ const hasDescription = isNotNil28(description);
15213
+ const hasError = isNotNil28(computedError);
15214
+ const shouldRenderLabelDescriptionWrapper = !isIntegratedLabel || hasDescription;
15192
15215
  let childProps = {
15193
15216
  name,
15194
15217
  id: computedId,
15195
15218
  label: isIntegratedLabel ? label : void 0,
15196
15219
  "aria-describedby": ariaDescribedby,
15197
- "aria-invalid": isNotNil28(computedError),
15220
+ "aria-invalid": hasError,
15221
+ style: { gridArea: "input" },
15198
15222
  ...props
15199
15223
  };
15200
15224
  if (isUndefined4(value) && isNotUndefined12(defaultValue)) {
@@ -15224,28 +15248,38 @@ var FormField = ({
15224
15248
  StyledFormField,
15225
15249
  {
15226
15250
  ...props,
15251
+ $hasError: hasError,
15227
15252
  "data-label-position": labelPosition ?? formState.labelPosition,
15228
15253
  children: [
15229
- !isIntegratedLabel && /* @__PURE__ */ jsx293(
15230
- Label,
15254
+ shouldRenderLabelDescriptionWrapper ? /* @__PURE__ */ jsxs47(
15255
+ Stack,
15231
15256
  {
15232
- htmlFor: computedId,
15233
- required,
15234
- children: label
15257
+ direction: "vertical",
15258
+ gap: "space-01",
15259
+ style: {
15260
+ gridArea: "label-description"
15261
+ },
15262
+ children: [
15263
+ !isIntegratedLabel && /* @__PURE__ */ jsx293(
15264
+ Label,
15265
+ {
15266
+ htmlFor: computedId,
15267
+ required,
15268
+ children: label
15269
+ }
15270
+ ),
15271
+ hasDescription ? /* @__PURE__ */ jsx293(FormControlLabelDescription, { id: descriptionId, children: description }) : null
15272
+ ]
15235
15273
  }
15236
- ),
15237
- isNotNil28(description) ? /* @__PURE__ */ jsx293(FormControlLabelDescription, { id: descriptionId, children: description }) : null,
15274
+ ) : null,
15238
15275
  cloneElement8(children, childProps),
15239
- isNotNil28(computedError) ? /* @__PURE__ */ jsxs47(Fragment9, { children: [
15240
- /* @__PURE__ */ jsx293("div", {}),
15241
- /* @__PURE__ */ jsx293(
15242
- ErrorMessages,
15243
- {
15244
- errors: computedError,
15245
- id: errorId
15246
- }
15247
- )
15248
- ] }) : null
15276
+ hasError ? /* @__PURE__ */ jsx293(
15277
+ ErrorMessages,
15278
+ {
15279
+ errors: computedError,
15280
+ id: errorId
15281
+ }
15282
+ ) : null
15249
15283
  ]
15250
15284
  }
15251
15285
  );
@@ -15281,24 +15315,24 @@ RadioGroup.displayName = "RadioGroup_UI";
15281
15315
 
15282
15316
  // src/components/Grid/Grid.tsx
15283
15317
  import { forwardRef as forwardRef22 } from "react";
15284
- import { styled as styled69, css as css36 } from "styled-components";
15318
+ import { styled as styled69, css as css37 } from "styled-components";
15285
15319
  import { isRecord as isRecord5 } from "@wistia/type-guards";
15286
15320
  import { jsx as jsx295 } from "react/jsx-runtime";
15287
15321
  var DEFAULT_ELEMENT5 = "div";
15288
15322
  var getGridTemplateColumns = (maxColumns, minChildWidth, expandItems) => {
15289
15323
  if (minChildWidth === "auto" && maxColumns === "auto") {
15290
- return css36`
15324
+ return css37`
15291
15325
  grid-template-columns: repeat(auto-fit, minmax(0, 1fr));
15292
15326
  `;
15293
15327
  }
15294
15328
  const gridMode = expandItems ? "auto-fit" : "auto-fill";
15295
15329
  const minChildWidthValue = minChildWidth === "auto" ? 0 : minChildWidth;
15296
15330
  if (maxColumns === "auto") {
15297
- return css36`
15331
+ return css37`
15298
15332
  grid-template-columns: repeat(${gridMode}, minmax(${minChildWidthValue}px, 1fr));
15299
15333
  `;
15300
15334
  }
15301
- return css36`
15335
+ return css37`
15302
15336
  /* Adapted from https://9elements.com/blog/building-a-rock-solid-auto-grid/ */
15303
15337
  --wui-grid-total-column-gap-width: calc(${maxColumns - 1} * var(--wui-grid-column-gap));
15304
15338
  --wui-grid-max-column-width: calc(
@@ -15582,7 +15616,7 @@ KeyboardShortcut.displayName = "KeyboardShortcut_UI";
15582
15616
 
15583
15617
  // src/components/List/List.tsx
15584
15618
  import { isNotNil as isNotNil30 } from "@wistia/type-guards";
15585
- import { styled as styled74, css as css37 } from "styled-components";
15619
+ import { styled as styled74, css as css38 } from "styled-components";
15586
15620
 
15587
15621
  // src/components/List/ListItem.tsx
15588
15622
  import { styled as styled73 } from "styled-components";
@@ -15601,7 +15635,7 @@ ListItem.displayName = "ListItem_UI";
15601
15635
 
15602
15636
  // src/components/List/List.tsx
15603
15637
  import { jsx as jsx300, jsxs as jsxs49 } from "react/jsx-runtime";
15604
- var spacesStyle = css37`
15638
+ var spacesStyle = css38`
15605
15639
  overflow: hidden;
15606
15640
  padding-left: 0;
15607
15641
  vertical-align: bottom;
@@ -15623,7 +15657,7 @@ var spacesStyle = css37`
15623
15657
  }
15624
15658
  }
15625
15659
  `;
15626
- var commasStyle = css37`
15660
+ var commasStyle = css38`
15627
15661
  ${spacesStyle};
15628
15662
 
15629
15663
  li {
@@ -15633,7 +15667,7 @@ var commasStyle = css37`
15633
15667
  }
15634
15668
  }
15635
15669
  `;
15636
- var slashesStyle = css37`
15670
+ var slashesStyle = css38`
15637
15671
  ${spacesStyle};
15638
15672
 
15639
15673
  li {
@@ -15644,7 +15678,7 @@ var slashesStyle = css37`
15644
15678
  }
15645
15679
  }
15646
15680
  `;
15647
- var breadcrumbsStyle = css37`
15681
+ var breadcrumbsStyle = css38`
15648
15682
  ${spacesStyle};
15649
15683
 
15650
15684
  li {
@@ -15655,7 +15689,7 @@ var breadcrumbsStyle = css37`
15655
15689
  }
15656
15690
  }
15657
15691
  `;
15658
- var unbulletedStyle = css37`
15692
+ var unbulletedStyle = css38`
15659
15693
  list-style: none;
15660
15694
  padding-left: 0;
15661
15695
  `;
@@ -15837,7 +15871,7 @@ var ModalHeader = ({
15837
15871
 
15838
15872
  // src/components/Modal/ModalContent.tsx
15839
15873
  import { forwardRef as forwardRef25 } from "react";
15840
- import { styled as styled78, css as css38, keyframes as keyframes5 } from "styled-components";
15874
+ import { styled as styled78, css as css39, keyframes as keyframes5 } from "styled-components";
15841
15875
  import { Content as DialogContent } from "@radix-ui/react-dialog";
15842
15876
 
15843
15877
  // src/private/hooks/useFocusRestore/useFocusRestore.ts
@@ -15883,7 +15917,7 @@ var modalExit = keyframes5`
15883
15917
  transform: translateX(-50%) translateY(calc(var(--wui-modal-translate-y) + 24px));
15884
15918
  }
15885
15919
  `;
15886
- var centeredModalStyles = css38`
15920
+ var centeredModalStyles = css39`
15887
15921
  --wui-modal-screen-offset: var(--wui-space-05);
15888
15922
  --wui-modal-translate-y: -50%;
15889
15923
 
@@ -15899,7 +15933,7 @@ var centeredModalStyles = css38`
15899
15933
  animation: ${modalExit} var(--wui-motion-duration-03) var(--wui-motion-ease-out);
15900
15934
  }
15901
15935
  `;
15902
- var fixedTopModalStyles = css38`
15936
+ var fixedTopModalStyles = css39`
15903
15937
  --wui-modal-screen-offset-top: 15vh;
15904
15938
  --wui-modal-screen-offset-bottom: 5vh;
15905
15939
  --wui-modal-translate-y: 0%;
@@ -15940,7 +15974,7 @@ var slideOutRight = keyframes5`
15940
15974
  transform: translateX(100%);
15941
15975
  }
15942
15976
  `;
15943
- var rightSidePanelModalStyles = css38`
15977
+ var rightSidePanelModalStyles = css39`
15944
15978
  --wui-modal-screen-offset: var(--wui-space-05);
15945
15979
 
15946
15980
  height: calc(100vh - var(--wui-modal-screen-offset) * 2);
@@ -16138,7 +16172,7 @@ ModalCallout.displayName = "ModalCallout_UI";
16138
16172
 
16139
16173
  // src/components/Popover/Popover.tsx
16140
16174
  import { Root as Root2, Trigger as Trigger2, Portal, Content as Content2, Close } from "@radix-ui/react-popover";
16141
- import { styled as styled82, css as css40 } from "styled-components";
16175
+ import { styled as styled82, css as css41 } from "styled-components";
16142
16176
 
16143
16177
  // src/private/helpers/getControls/getControlProps.tsx
16144
16178
  import { isNotNil as isNotNil33 } from "@wistia/type-guards";
@@ -16148,7 +16182,7 @@ var getControlProps = (isOpen, onOpenChange) => {
16148
16182
 
16149
16183
  // src/components/Popover/PopoverArrow.tsx
16150
16184
  import { PopoverArrow as RadixPopoverArrow } from "@radix-ui/react-popover";
16151
- import { styled as styled81, css as css39, keyframes as keyframes7 } from "styled-components";
16185
+ import { styled as styled81, css as css40, keyframes as keyframes7 } from "styled-components";
16152
16186
  import { jsx as jsx307, jsxs as jsxs53 } from "react/jsx-runtime";
16153
16187
  var StyledPath = styled81.path`
16154
16188
  fill: var(--wui-color-border-secondary);
@@ -16182,7 +16216,7 @@ var StyledCircle = styled81.circle`
16182
16216
  }
16183
16217
 
16184
16218
  @media (prefers-reduced-motion: no-preference) {
16185
- ${({ $isAnimated }) => $isAnimated && css39`
16219
+ ${({ $isAnimated }) => $isAnimated && css40`
16186
16220
  animation-name: ${circleAnimation};
16187
16221
  `}
16188
16222
  }
@@ -16231,7 +16265,7 @@ import { jsx as jsx308, jsxs as jsxs54 } from "react/jsx-runtime";
16231
16265
  var StyledContent2 = styled82(Content2)`
16232
16266
  z-index: var(--wui-zindex-popover);
16233
16267
  ${({ $colorScheme }) => getColorScheme($colorScheme)};
16234
- ${({ $unstyled }) => !$unstyled && css40`
16268
+ ${({ $unstyled }) => !$unstyled && css41`
16235
16269
  border-radius: var(--wui-border-radius-02);
16236
16270
  padding: var(--wui-space-04);
16237
16271
  max-width: var(--wui-popover-max-width, 320px);
@@ -16381,17 +16415,17 @@ ProgressBar.displayName = "ProgressBar_UI";
16381
16415
  // src/components/Radio/Radio.tsx
16382
16416
  import { isNonEmptyString as isNonEmptyString7, isNotUndefined as isNotUndefined13 } from "@wistia/type-guards";
16383
16417
  import { forwardRef as forwardRef27, useId as useId5 } from "react";
16384
- import { styled as styled84, css as css41 } from "styled-components";
16418
+ import { styled as styled84, css as css42 } from "styled-components";
16385
16419
  import { jsx as jsx310, jsxs as jsxs56 } from "react/jsx-runtime";
16386
- var sizeSmall2 = css41`
16420
+ var sizeSmall2 = css42`
16387
16421
  --wui-radio-size: 14px;
16388
16422
  --wui-radio-icon-size: 7px;
16389
16423
  `;
16390
- var sizeMedium2 = css41`
16424
+ var sizeMedium2 = css42`
16391
16425
  --wui-radio-size: 16px;
16392
16426
  --wui-radio-icon-size: 8px;
16393
16427
  `;
16394
- var sizeLarge2 = css41`
16428
+ var sizeLarge2 = css42`
16395
16429
  --wui-radio-size: 20px;
16396
16430
  --wui-radio-icon-size: 10px;
16397
16431
  `;
@@ -16532,17 +16566,17 @@ import { forwardRef as forwardRef29 } from "react";
16532
16566
 
16533
16567
  // src/components/RadioCard/RadioCardRoot.tsx
16534
16568
  import { forwardRef as forwardRef28, useId as useId6 } from "react";
16535
- import { styled as styled85, css as css42 } from "styled-components";
16569
+ import { styled as styled85, css as css43 } from "styled-components";
16536
16570
  import { isNonEmptyString as isNonEmptyString8, isNotUndefined as isNotUndefined14 } from "@wistia/type-guards";
16537
16571
  import { jsx as jsx311, jsxs as jsxs57 } from "react/jsx-runtime";
16538
- var checkedStyles = css42`
16572
+ var checkedStyles = css43`
16539
16573
  --wui-radio-card-border-color: var(--wui-color-focus-ring);
16540
16574
  --wui-color-icon: var(--wui-color-icon-selected);
16541
16575
  --wui-radio-card-background-color: var(--wui-color-bg-surface-info);
16542
16576
  --wui-color-text: var(--wui-color-text-info);
16543
16577
  --wui-color-text-secondary: var(--wui-color-text-info);
16544
16578
  `;
16545
- var disabledStyles = css42`
16579
+ var disabledStyles = css43`
16546
16580
  --wui-radio-card-border-color: var(--wui-color-border-disabled);
16547
16581
  --wui-radio-card-background-color: var(--wui-color-bg-surface-disabled);
16548
16582
  --wui-radio-card-cursor: not-allowed;
@@ -16550,10 +16584,10 @@ var disabledStyles = css42`
16550
16584
  --wui-color-text: var(--wui-color-text-disabled);
16551
16585
  --wui-color-text-secondary: var(--wui-color-text-disabled);
16552
16586
  `;
16553
- var focusStyles = css42`
16587
+ var focusStyles = css43`
16554
16588
  outline: 2px solid var(--wui-color-focus-ring);
16555
16589
  `;
16556
- var imageCoverStyles = css42`
16590
+ var imageCoverStyles = css43`
16557
16591
  --wui-radio-card-image-inset: 0px;
16558
16592
  --wui-radio-card-border-width: 0px;
16559
16593
  --wui-inset-shadow-width: 1px;
@@ -16959,7 +16993,7 @@ ScrollArea.displayName = "ScrollArea_UI";
16959
16993
 
16960
16994
  // src/components/SegmentedControl/SegmentedControl.tsx
16961
16995
  import { forwardRef as forwardRef32 } from "react";
16962
- import { styled as styled91, css as css44 } from "styled-components";
16996
+ import { styled as styled91, css as css45 } from "styled-components";
16963
16997
  import { Root as ToggleGroupRoot2 } from "@radix-ui/react-toggle-group";
16964
16998
  import { isNil as isNil18 } from "@wistia/type-guards";
16965
16999
 
@@ -16997,7 +17031,7 @@ var useSelectedItemStyle = () => {
16997
17031
  };
16998
17032
 
16999
17033
  // src/components/SegmentedControl/SelectedItemIndicator.tsx
17000
- import { styled as styled90, css as css43 } from "styled-components";
17034
+ import { styled as styled90, css as css44 } from "styled-components";
17001
17035
  import { isUndefined as isUndefined5 } from "@wistia/type-guards";
17002
17036
 
17003
17037
  // src/components/SegmentedControl/useSegmentedControlValue.tsx
@@ -17014,7 +17048,7 @@ var useSegmentedControlValue = () => {
17014
17048
 
17015
17049
  // src/components/SegmentedControl/SelectedItemIndicator.tsx
17016
17050
  import { jsx as jsx317 } from "react/jsx-runtime";
17017
- var selectedItemIndicatorStyles = css43`
17051
+ var selectedItemIndicatorStyles = css44`
17018
17052
  background-color: var(--wui-color-bg-fill-white);
17019
17053
  border-radius: var(--wui-border-radius-rounded);
17020
17054
  box-shadow: var(--wui-elevation-01);
@@ -17046,7 +17080,7 @@ var SelectedItemIndicator = () => {
17046
17080
 
17047
17081
  // src/components/SegmentedControl/SegmentedControl.tsx
17048
17082
  import { jsx as jsx318, jsxs as jsxs60 } from "react/jsx-runtime";
17049
- var segmentedControlStyles = css44`
17083
+ var segmentedControlStyles = css45`
17050
17084
  display: inline-flex;
17051
17085
  background-color: var(--wui-color-bg-surface-secondary);
17052
17086
  border-radius: var(--wui-border-radius-rounded);
@@ -17096,11 +17130,11 @@ SegmentedControl.displayName = "SegmentedControl_UI";
17096
17130
 
17097
17131
  // src/components/SegmentedControl/SegmentedControlItem.tsx
17098
17132
  import { forwardRef as forwardRef33, useEffect as useEffect21, useRef as useRef22 } from "react";
17099
- import { styled as styled92, css as css45 } from "styled-components";
17133
+ import { styled as styled92, css as css46 } from "styled-components";
17100
17134
  import { Item as ToggleGroupItem2 } from "@radix-ui/react-toggle-group";
17101
17135
  import { isNotNil as isNotNil36 } from "@wistia/type-guards";
17102
17136
  import { jsxs as jsxs61 } from "react/jsx-runtime";
17103
- var segmentedControlItemStyles = css45`
17137
+ var segmentedControlItemStyles = css46`
17104
17138
  all: unset; /* ToggleGroupItem is a button element */
17105
17139
  align-items: center;
17106
17140
  border-radius: var(--wui-border-radius-rounded);
@@ -17241,7 +17275,7 @@ import {
17241
17275
  ScrollDownButton
17242
17276
  } from "@radix-ui/react-select";
17243
17277
  import { forwardRef as forwardRef34 } from "react";
17244
- import { styled as styled93, css as css46 } from "styled-components";
17278
+ import { styled as styled93, css as css47 } from "styled-components";
17245
17279
  import { jsx as jsx319, jsxs as jsxs62 } from "react/jsx-runtime";
17246
17280
  var StyledTrigger2 = styled93(Trigger3)`
17247
17281
  ${({ $colorScheme }) => getColorScheme($colorScheme)};
@@ -17312,7 +17346,7 @@ var StyledContent3 = styled93(Content3)`
17312
17346
  margin: var(--wui-space-02) 0;
17313
17347
  }
17314
17348
  `;
17315
- var scrollButtonStyles = css46`
17349
+ var scrollButtonStyles = css47`
17316
17350
  align-items: center;
17317
17351
  display: flex;
17318
17352
  justify-content: center;
@@ -17598,25 +17632,25 @@ var Slider = ({
17598
17632
  Slider.displayName = "Slider_UI";
17599
17633
 
17600
17634
  // src/components/Table/Table.tsx
17601
- import { styled as styled97, css as css47 } from "styled-components";
17635
+ import { styled as styled97, css as css48 } from "styled-components";
17602
17636
  import { jsx as jsx323 } from "react/jsx-runtime";
17603
17637
  var StyledTable = styled97.table`
17604
17638
  width: 100%;
17605
17639
  border-collapse: collapse;
17606
17640
 
17607
- ${({ $divided }) => $divided && css47`
17641
+ ${({ $divided }) => $divided && css48`
17608
17642
  tr {
17609
17643
  border-bottom: 1px solid var(--wui-color-border);
17610
17644
  }
17611
17645
  `}
17612
17646
 
17613
- ${({ $striped }) => $striped && css47`
17647
+ ${({ $striped }) => $striped && css48`
17614
17648
  tbody tr:nth-child(even) {
17615
17649
  background-color: var(--wui-color-bg-surface-secondary);
17616
17650
  }
17617
17651
  `}
17618
17652
 
17619
- ${({ $visuallyHiddenHeader }) => $visuallyHiddenHeader && css47`
17653
+ ${({ $visuallyHiddenHeader }) => $visuallyHiddenHeader && css48`
17620
17654
  thead {
17621
17655
  ${visuallyHiddenStyle}
17622
17656
  }
@@ -17659,9 +17693,9 @@ var TableBody = ({ children, ...props }) => {
17659
17693
 
17660
17694
  // src/components/Table/TableCell.tsx
17661
17695
  import { useContext as useContext17 } from "react";
17662
- import { styled as styled99, css as css48 } from "styled-components";
17696
+ import { styled as styled99, css as css49 } from "styled-components";
17663
17697
  import { jsx as jsx325 } from "react/jsx-runtime";
17664
- var sharedStyles = css48`
17698
+ var sharedStyles = css49`
17665
17699
  color: var(--wui-color-text);
17666
17700
  padding: var(--wui-space-02);
17667
17701
  text-align: left;
@@ -17944,9 +17978,9 @@ import {
17944
17978
 
17945
17979
  // src/private/helpers/getBackgroundGradient/getBackgroundGradient.ts
17946
17980
  import { isNotNil as isNotNil41 } from "@wistia/type-guards";
17947
- import { css as css49 } from "styled-components";
17981
+ import { css as css50 } from "styled-components";
17948
17982
  var gradients = {
17949
- defaultDarkOne: css49`
17983
+ defaultDarkOne: css50`
17950
17984
  background-color: #222d66;
17951
17985
  background-image:
17952
17986
  radial-gradient(farthest-corner at top right, #222d66, transparent 70%),
@@ -17954,7 +17988,7 @@ var gradients = {
17954
17988
  radial-gradient(farthest-corner at bottom left, #6b84ff, transparent 57%),
17955
17989
  radial-gradient(farthest-corner at top left, #2949e5, transparent 68%);
17956
17990
  `,
17957
- defaultDarkTwo: css49`
17991
+ defaultDarkTwo: css50`
17958
17992
  background-color: #222d66;
17959
17993
  background-image:
17960
17994
  radial-gradient(farthest-corner at top left, #6b84ff, transparent 100%),
@@ -17962,7 +17996,7 @@ var gradients = {
17962
17996
  radial-gradient(farthest-corner at bottom right, #2949e5, transparent 50%),
17963
17997
  radial-gradient(farthest-corner at top right, #2949e5, transparent 70%);
17964
17998
  `,
17965
- defaultLightOne: css49`
17999
+ defaultLightOne: css50`
17966
18000
  background-color: #ccd5ff;
17967
18001
  background-image:
17968
18002
  radial-gradient(farthest-corner at bottom right, #ccd5ff, transparent 55%),
@@ -17970,13 +18004,13 @@ var gradients = {
17970
18004
  radial-gradient(farthest-corner at top right, #6b84ff, transparent 50%),
17971
18005
  radial-gradient(farthest-corner at bottom left, #f7f8ff, transparent 50%);
17972
18006
  `,
17973
- defaultLightTwo: css49`
18007
+ defaultLightTwo: css50`
17974
18008
  background-color: #ccd5ff;
17975
18009
  background-image:
17976
18010
  radial-gradient(ellipse at top, #ccd5ff, transparent),
17977
18011
  radial-gradient(ellipse at bottom, #6b84ff, transparent);
17978
18012
  `,
17979
- defaultMidOne: css49`
18013
+ defaultMidOne: css50`
17980
18014
  background-color: #6b84ff;
17981
18015
  background-image:
17982
18016
  radial-gradient(farthest-corner at top right, #2949e5, transparent 70%),
@@ -17984,13 +18018,13 @@ var gradients = {
17984
18018
  radial-gradient(farthest-corner at top left, #6b84ff, transparent 80%),
17985
18019
  radial-gradient(farthest-corner at bottom left, #222d66, transparent 57%);
17986
18020
  `,
17987
- defaultMidTwo: css49`
18021
+ defaultMidTwo: css50`
17988
18022
  background-color: #6b84ff;
17989
18023
  background-image:
17990
18024
  radial-gradient(ellipse at top, #2949e5, transparent),
17991
18025
  radial-gradient(ellipse at bottom, #ccd5ff, transparent);
17992
18026
  `,
17993
- green: css49`
18027
+ green: css50`
17994
18028
  background-color: #fafffa;
17995
18029
  background-image:
17996
18030
  radial-gradient(farthest-corner at bottom left, #b0e5a5, transparent 50%),
@@ -17998,7 +18032,7 @@ var gradients = {
17998
18032
  radial-gradient(farthest-corner at top left, #44b62d, transparent 65%),
17999
18033
  radial-gradient(farthest-corner at bottom right, #44b62d, transparent 55%);
18000
18034
  `,
18001
- greenWithPop: css49`
18035
+ greenWithPop: css50`
18002
18036
  background-color: #fafffa;
18003
18037
  background-image:
18004
18038
  radial-gradient(farthest-corner at bottom left, #b0e5a5, transparent 50%),
@@ -18006,7 +18040,7 @@ var gradients = {
18006
18040
  radial-gradient(farthest-corner at top left, #44b62d, transparent 65%),
18007
18041
  radial-gradient(farthest-corner at bottom right, #44b62d, transparent 55%);
18008
18042
  `,
18009
- pink: css49`
18043
+ pink: css50`
18010
18044
  background-color: #fffff0;
18011
18045
  background-image:
18012
18046
  radial-gradient(farthest-corner at bottom left, #ffc7e8, transparent 50%),
@@ -18014,7 +18048,7 @@ var gradients = {
18014
18048
  radial-gradient(farthest-corner at top left, #ff40b3, transparent 65%),
18015
18049
  radial-gradient(farthest-corner at bottom right, #ff40b3, transparent 55%);
18016
18050
  `,
18017
- pinkWithPop: css49`
18051
+ pinkWithPop: css50`
18018
18052
  background-color: #fffff0;
18019
18053
  background-image:
18020
18054
  radial-gradient(farthest-corner at top right, #e0128e, transparent 70%),
@@ -18022,7 +18056,7 @@ var gradients = {
18022
18056
  radial-gradient(farthest-corner at bottom right, #ff40b3, transparent 55%),
18023
18057
  radial-gradient(farthest-corner at bottom left, #2949e5, transparent 50%);
18024
18058
  `,
18025
- playfulGradientOne: css49`
18059
+ playfulGradientOne: css50`
18026
18060
  background-color: #f7f8ff;
18027
18061
  background-image:
18028
18062
  radial-gradient(farthest-corner at top left, #d65cff, transparent 68%),
@@ -18030,7 +18064,7 @@ var gradients = {
18030
18064
  radial-gradient(farthest-corner at bottom left, #ffc7e8, transparent 57%),
18031
18065
  radial-gradient(farthest-corner at top right, #ffcaba, transparent 70%);
18032
18066
  `,
18033
- playfulGradientTwo: css49`
18067
+ playfulGradientTwo: css50`
18034
18068
  background-color: #f7f8ff;
18035
18069
  background-image:
18036
18070
  radial-gradient(farthest-corner at top left, #44b62d, transparent 68%),
@@ -18038,13 +18072,13 @@ var gradients = {
18038
18072
  radial-gradient(farthest-corner at bottom left, #ccd5ff, transparent 57%),
18039
18073
  radial-gradient(farthest-corner at top right, #2949e5, transparent 70%);
18040
18074
  `,
18041
- purple: css49`
18075
+ purple: css50`
18042
18076
  background-color: #f2caff;
18043
18077
  background-image:
18044
18078
  radial-gradient(ellipse at 0% 100%, #f9e5ff, transparent 50%),
18045
18079
  radial-gradient(ellipse at 100% 0%, #e093fa, transparent 70%);
18046
18080
  `,
18047
- purpleWithPop: css49`
18081
+ purpleWithPop: css50`
18048
18082
  background-color: #f2caff;
18049
18083
  background-image:
18050
18084
  radial-gradient(farthest-corner at bottom left, #f2caff, transparent 50%),
@@ -18052,7 +18086,7 @@ var gradients = {
18052
18086
  radial-gradient(farthest-corner at bottom right, #d65cff, transparent 55%),
18053
18087
  radial-gradient(farthest-corner at top right, #2949e5, transparent 70%);
18054
18088
  `,
18055
- yellow: css49`
18089
+ yellow: css50`
18056
18090
  background-color: #fffff0;
18057
18091
  background-image:
18058
18092
  radial-gradient(farthest-corner at bottom left, #eff18d, transparent 50%),
@@ -18060,7 +18094,7 @@ var gradients = {
18060
18094
  radial-gradient(farthest-corner at top left, #e8ec1e, transparent 65%),
18061
18095
  radial-gradient(farthest-corner at bottom right, #e8ec1e, transparent 55%);
18062
18096
  `,
18063
- yellowWithPop: css49`
18097
+ yellowWithPop: css50`
18064
18098
  background-color: #fffff0;
18065
18099
  background-image:
18066
18100
  radial-gradient(farthest-corner at bottom left, #eff18d, transparent 50%),
@@ -18521,7 +18555,7 @@ var ThumbnailCollage = ({
18521
18555
  };
18522
18556
 
18523
18557
  // src/components/WistiaLogo/WistiaLogo.tsx
18524
- import { styled as styled110, css as css50 } from "styled-components";
18558
+ import { styled as styled110, css as css51 } from "styled-components";
18525
18559
  import { isNotNil as isNotNil44 } from "@wistia/type-guards";
18526
18560
  import { jsx as jsx337, jsxs as jsxs71 } from "react/jsx-runtime";
18527
18561
  var renderBrandmark = (brandmarkColor, iconOnly) => {
@@ -18579,12 +18613,12 @@ var WistiaLogoComponent = styled110.svg`
18579
18613
  ${({ $opticallyCentered, $iconOnly }) => {
18580
18614
  if ($opticallyCentered) {
18581
18615
  if ($iconOnly) {
18582
- return css50`
18616
+ return css51`
18583
18617
  aspect-ratio: 1;
18584
18618
  padding: 11.85% 3.12% 13.91%;
18585
18619
  `;
18586
18620
  }
18587
- return css50`
18621
+ return css51`
18588
18622
  aspect-ratio: 127 / 32;
18589
18623
  `;
18590
18624
  }