@wistia/ui 0.18.18-beta.fba14250.ac46dfb → 0.19.0-beta.d1967016.e87d448

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.fba14250.ac46dfb
3
+ * @license @wistia/ui v0.19.0-beta.d1967016.e87d448
4
4
  *
5
5
  * Copyright (c) 2024-2025, Wistia, Inc. and its affiliates.
6
6
  *
@@ -14059,6 +14059,10 @@ var StyledLabel3 = styled58(Heading)`
14059
14059
  &[data-wui-data-card-skeleton='true'] {
14060
14060
  width: 80px;
14061
14061
  }
14062
+
14063
+ button {
14064
+ text-align: left;
14065
+ }
14062
14066
  `;
14063
14067
  var StyledValue = styled58(Heading)`
14064
14068
  grid-area: value;
@@ -14100,7 +14104,7 @@ var DataCardInner = ({
14100
14104
  StyledLabel3,
14101
14105
  {
14102
14106
  "data-wui-data-card-skeleton": isLoading,
14103
- renderAs: "span",
14107
+ renderAs: "div",
14104
14108
  variant: "heading6",
14105
14109
  children: label
14106
14110
  }
@@ -14109,7 +14113,7 @@ var DataCardInner = ({
14109
14113
  StyledValue,
14110
14114
  {
14111
14115
  "data-wui-data-card-skeleton": isLoading,
14112
- renderAs: "span",
14116
+ renderAs: "div",
14113
14117
  variant: "heading3",
14114
14118
  children: value
14115
14119
  }
@@ -14170,20 +14174,18 @@ var StyledDataCards = styled59(Box)`
14170
14174
  );
14171
14175
 
14172
14176
  > * {
14173
- min-width: ${({ $cardMinWidth }) => $cardMinWidth};
14177
+ min-width: 120px;
14174
14178
  flex-basis: var(--wui-data-cards-column-width, 0);
14175
14179
  max-width: ${({ $cardMaxWidth }) => $cardMaxWidth};
14176
14180
  }
14177
14181
  `;
14178
14182
  var DataCards = ({
14179
14183
  children,
14180
- cardMinWidth = "120px",
14181
14184
  cardMaxWidth = "none",
14182
14185
  colorScheme = "inherit",
14183
14186
  columns = "auto",
14184
14187
  ...props
14185
14188
  }) => {
14186
- const responsiveCardMinWidth = useResponsiveProp(cardMinWidth);
14187
14189
  const responsiveCardMaxWidth = useResponsiveProp(cardMaxWidth);
14188
14190
  const responsiveColumns = useResponsiveProp(columns);
14189
14191
  return /* @__PURE__ */ jsx279(
@@ -14191,7 +14193,6 @@ var DataCards = ({
14191
14193
  {
14192
14194
  ...props,
14193
14195
  $cardMaxWidth: responsiveCardMaxWidth,
14194
- $cardMinWidth: responsiveCardMinWidth,
14195
14196
  $colorScheme: colorScheme,
14196
14197
  $columns: responsiveColumns,
14197
14198
  alignItems: "stretch",
@@ -15088,11 +15089,23 @@ var FormErrorSummary = ({ description }) => {
15088
15089
 
15089
15090
  // src/components/FormField/FormField.tsx
15090
15091
  import { Children as Children10, cloneElement as cloneElement8, useContext as useContext13 } from "react";
15091
- import { styled as styled68 } from "styled-components";
15092
+ import { styled as styled68, css as css36 } from "styled-components";
15092
15093
  import { isArray as isArray4, isNotNil as isNotNil28, isNotUndefined as isNotUndefined12, isUndefined as isUndefined4 } from "@wistia/type-guards";
15093
- import { Fragment as Fragment9, jsx as jsx293, jsxs as jsxs47 } from "react/jsx-runtime";
15094
+ import { jsx as jsx293, jsxs as jsxs47 } from "react/jsx-runtime";
15095
+ var inlineErrorStyles = css36`
15096
+ grid-template-rows: 1fr auto;
15097
+ grid-template-areas: 'label-description input' '. error';
15098
+ `;
15099
+ var inlineBaseGridAreaStyles = css36`
15100
+ grid-template-rows: 1fr;
15101
+ grid-template-areas: 'label-description input';
15102
+ `;
15103
+ var blockGridErrorStyles = css36`
15104
+ grid-template-rows: auto 1fr auto;
15105
+ grid-template-areas: 'label-description' 'input' 'error';
15106
+ `;
15094
15107
  var StyledFormField = styled68.div`
15095
- --form-field-spacing: var(--wui-space-01);
15108
+ --form-field-spacing: var(--wui-space-02);
15096
15109
  --form-field-spacing-inline: var(--wui-space-02);
15097
15110
  --form-field-error-color: var(--wui-color-text-secondary-error);
15098
15111
 
@@ -15106,21 +15119,28 @@ var StyledFormField = styled68.div`
15106
15119
  &[data-label-position='inline-compact'] {
15107
15120
  gap: var(--form-field-spacing-inline);
15108
15121
  grid-template-columns: auto 1fr;
15109
- grid-template-rows: 1fr auto;
15122
+ ${inlineBaseGridAreaStyles}
15123
+ ${({ $hasError }) => $hasError && inlineErrorStyles}
15110
15124
  }
15111
15125
 
15112
15126
  &[data-label-position='inline'] {
15113
15127
  gap: var(--form-field-spacing-inline);
15114
15128
  grid-template-columns: minmax(auto, 1fr) 1fr;
15115
- grid-template-rows: 1fr auto;
15129
+ ${inlineBaseGridAreaStyles}
15130
+ ${({ $hasError }) => $hasError && inlineErrorStyles}
15116
15131
  }
15117
15132
 
15118
15133
  &[data-label-position='block'] {
15119
15134
  gap: var(--form-field-spacing);
15120
15135
  grid-template-columns: 1fr;
15121
- grid-template-rows: 1fr;
15136
+ grid-template-rows: auto 1fr;
15137
+ grid-template-areas: 'label-description' 'input';
15138
+ ${({ $hasError }) => $hasError && blockGridErrorStyles}
15122
15139
  }
15123
15140
  `;
15141
+ var ErrorText = styled68(Text)`
15142
+ grid-area: error;
15143
+ `;
15124
15144
  var StyledErrorList = styled68.ul`
15125
15145
  margin: 0;
15126
15146
  padding: 0;
@@ -15128,13 +15148,14 @@ var StyledErrorList = styled68.ul`
15128
15148
  display: flex;
15129
15149
  flex-direction: column;
15130
15150
  gap: var(--wui-space-01);
15151
+ grid-area: error;
15131
15152
  `;
15132
15153
  var ErrorMessages = ({ errors, id }) => {
15133
15154
  const isErrorArray = isArray4(errors);
15134
15155
  const isMultipleErrors = isErrorArray && errors.length > 1;
15135
15156
  if (!isErrorArray) {
15136
15157
  return /* @__PURE__ */ jsx293(
15137
- Text,
15158
+ ErrorText,
15138
15159
  {
15139
15160
  colorScheme: "error",
15140
15161
  id,
@@ -15147,7 +15168,7 @@ var ErrorMessages = ({ errors, id }) => {
15147
15168
  }
15148
15169
  if (!isMultipleErrors) {
15149
15170
  return /* @__PURE__ */ jsx293(
15150
- Text,
15171
+ ErrorText,
15151
15172
  {
15152
15173
  colorScheme: "error",
15153
15174
  id,
@@ -15192,12 +15213,16 @@ var FormField = ({
15192
15213
  const descriptionId = `${computedId}-description`;
15193
15214
  const errorId = `${computedId}-error`;
15194
15215
  const ariaDescribedby = [descriptionId, errorId].filter(Boolean).join(" ") || void 0;
15216
+ const hasDescription = isNotNil28(description);
15217
+ const hasError = isNotNil28(computedError);
15218
+ const shouldRenderLabelDescriptionWrapper = !isIntegratedLabel || hasDescription;
15195
15219
  let childProps = {
15196
15220
  name,
15197
15221
  id: computedId,
15198
15222
  label: isIntegratedLabel ? label : void 0,
15199
15223
  "aria-describedby": ariaDescribedby,
15200
- "aria-invalid": isNotNil28(computedError),
15224
+ "aria-invalid": hasError,
15225
+ style: { gridArea: "input" },
15201
15226
  ...props
15202
15227
  };
15203
15228
  if (isUndefined4(value) && isNotUndefined12(defaultValue)) {
@@ -15227,28 +15252,38 @@ var FormField = ({
15227
15252
  StyledFormField,
15228
15253
  {
15229
15254
  ...props,
15255
+ $hasError: hasError,
15230
15256
  "data-label-position": labelPosition ?? formState.labelPosition,
15231
15257
  children: [
15232
- !isIntegratedLabel && /* @__PURE__ */ jsx293(
15233
- Label,
15258
+ shouldRenderLabelDescriptionWrapper ? /* @__PURE__ */ jsxs47(
15259
+ Stack,
15234
15260
  {
15235
- htmlFor: computedId,
15236
- required,
15237
- children: label
15261
+ direction: "vertical",
15262
+ gap: "space-01",
15263
+ style: {
15264
+ gridArea: "label-description"
15265
+ },
15266
+ children: [
15267
+ !isIntegratedLabel && /* @__PURE__ */ jsx293(
15268
+ Label,
15269
+ {
15270
+ htmlFor: computedId,
15271
+ required,
15272
+ children: label
15273
+ }
15274
+ ),
15275
+ hasDescription ? /* @__PURE__ */ jsx293(FormControlLabelDescription, { id: descriptionId, children: description }) : null
15276
+ ]
15238
15277
  }
15239
- ),
15240
- isNotNil28(description) ? /* @__PURE__ */ jsx293(FormControlLabelDescription, { id: descriptionId, children: description }) : null,
15278
+ ) : null,
15241
15279
  cloneElement8(children, childProps),
15242
- isNotNil28(computedError) ? /* @__PURE__ */ jsxs47(Fragment9, { children: [
15243
- /* @__PURE__ */ jsx293("div", {}),
15244
- /* @__PURE__ */ jsx293(
15245
- ErrorMessages,
15246
- {
15247
- errors: computedError,
15248
- id: errorId
15249
- }
15250
- )
15251
- ] }) : null
15280
+ hasError ? /* @__PURE__ */ jsx293(
15281
+ ErrorMessages,
15282
+ {
15283
+ errors: computedError,
15284
+ id: errorId
15285
+ }
15286
+ ) : null
15252
15287
  ]
15253
15288
  }
15254
15289
  );
@@ -15284,24 +15319,24 @@ RadioGroup.displayName = "RadioGroup_UI";
15284
15319
 
15285
15320
  // src/components/Grid/Grid.tsx
15286
15321
  import { forwardRef as forwardRef22 } from "react";
15287
- import { styled as styled69, css as css36 } from "styled-components";
15322
+ import { styled as styled69, css as css37 } from "styled-components";
15288
15323
  import { isRecord as isRecord5 } from "@wistia/type-guards";
15289
15324
  import { jsx as jsx295 } from "react/jsx-runtime";
15290
15325
  var DEFAULT_ELEMENT5 = "div";
15291
15326
  var getGridTemplateColumns = (maxColumns, minChildWidth, expandItems) => {
15292
15327
  if (minChildWidth === "auto" && maxColumns === "auto") {
15293
- return css36`
15328
+ return css37`
15294
15329
  grid-template-columns: repeat(auto-fit, minmax(0, 1fr));
15295
15330
  `;
15296
15331
  }
15297
15332
  const gridMode = expandItems ? "auto-fit" : "auto-fill";
15298
15333
  const minChildWidthValue = minChildWidth === "auto" ? 0 : minChildWidth;
15299
15334
  if (maxColumns === "auto") {
15300
- return css36`
15335
+ return css37`
15301
15336
  grid-template-columns: repeat(${gridMode}, minmax(${minChildWidthValue}px, 1fr));
15302
15337
  `;
15303
15338
  }
15304
- return css36`
15339
+ return css37`
15305
15340
  /* Adapted from https://9elements.com/blog/building-a-rock-solid-auto-grid/ */
15306
15341
  --wui-grid-total-column-gap-width: calc(${maxColumns - 1} * var(--wui-grid-column-gap));
15307
15342
  --wui-grid-max-column-width: calc(
@@ -15585,7 +15620,7 @@ KeyboardShortcut.displayName = "KeyboardShortcut_UI";
15585
15620
 
15586
15621
  // src/components/List/List.tsx
15587
15622
  import { isNotNil as isNotNil30 } from "@wistia/type-guards";
15588
- import { styled as styled74, css as css37 } from "styled-components";
15623
+ import { styled as styled74, css as css38 } from "styled-components";
15589
15624
 
15590
15625
  // src/components/List/ListItem.tsx
15591
15626
  import { styled as styled73 } from "styled-components";
@@ -15604,7 +15639,7 @@ ListItem.displayName = "ListItem_UI";
15604
15639
 
15605
15640
  // src/components/List/List.tsx
15606
15641
  import { jsx as jsx300, jsxs as jsxs49 } from "react/jsx-runtime";
15607
- var spacesStyle = css37`
15642
+ var spacesStyle = css38`
15608
15643
  overflow: hidden;
15609
15644
  padding-left: 0;
15610
15645
  vertical-align: bottom;
@@ -15626,7 +15661,7 @@ var spacesStyle = css37`
15626
15661
  }
15627
15662
  }
15628
15663
  `;
15629
- var commasStyle = css37`
15664
+ var commasStyle = css38`
15630
15665
  ${spacesStyle};
15631
15666
 
15632
15667
  li {
@@ -15636,7 +15671,7 @@ var commasStyle = css37`
15636
15671
  }
15637
15672
  }
15638
15673
  `;
15639
- var slashesStyle = css37`
15674
+ var slashesStyle = css38`
15640
15675
  ${spacesStyle};
15641
15676
 
15642
15677
  li {
@@ -15647,7 +15682,7 @@ var slashesStyle = css37`
15647
15682
  }
15648
15683
  }
15649
15684
  `;
15650
- var breadcrumbsStyle = css37`
15685
+ var breadcrumbsStyle = css38`
15651
15686
  ${spacesStyle};
15652
15687
 
15653
15688
  li {
@@ -15658,7 +15693,7 @@ var breadcrumbsStyle = css37`
15658
15693
  }
15659
15694
  }
15660
15695
  `;
15661
- var unbulletedStyle = css37`
15696
+ var unbulletedStyle = css38`
15662
15697
  list-style: none;
15663
15698
  padding-left: 0;
15664
15699
  `;
@@ -15840,7 +15875,7 @@ var ModalHeader = ({
15840
15875
 
15841
15876
  // src/components/Modal/ModalContent.tsx
15842
15877
  import { forwardRef as forwardRef25 } from "react";
15843
- import { styled as styled78, css as css38, keyframes as keyframes5 } from "styled-components";
15878
+ import { styled as styled78, css as css39, keyframes as keyframes5 } from "styled-components";
15844
15879
  import { Content as DialogContent } from "@radix-ui/react-dialog";
15845
15880
 
15846
15881
  // src/private/hooks/useFocusRestore/useFocusRestore.ts
@@ -15886,7 +15921,7 @@ var modalExit = keyframes5`
15886
15921
  transform: translateX(-50%) translateY(calc(var(--wui-modal-translate-y) + 24px));
15887
15922
  }
15888
15923
  `;
15889
- var centeredModalStyles = css38`
15924
+ var centeredModalStyles = css39`
15890
15925
  --wui-modal-screen-offset: var(--wui-space-05);
15891
15926
  --wui-modal-translate-y: -50%;
15892
15927
 
@@ -15902,7 +15937,7 @@ var centeredModalStyles = css38`
15902
15937
  animation: ${modalExit} var(--wui-motion-duration-03) var(--wui-motion-ease-out);
15903
15938
  }
15904
15939
  `;
15905
- var fixedTopModalStyles = css38`
15940
+ var fixedTopModalStyles = css39`
15906
15941
  --wui-modal-screen-offset-top: 15vh;
15907
15942
  --wui-modal-screen-offset-bottom: 5vh;
15908
15943
  --wui-modal-translate-y: 0%;
@@ -15943,7 +15978,7 @@ var slideOutRight = keyframes5`
15943
15978
  transform: translateX(100%);
15944
15979
  }
15945
15980
  `;
15946
- var rightSidePanelModalStyles = css38`
15981
+ var rightSidePanelModalStyles = css39`
15947
15982
  --wui-modal-screen-offset: var(--wui-space-05);
15948
15983
 
15949
15984
  height: calc(100vh - var(--wui-modal-screen-offset) * 2);
@@ -16141,7 +16176,7 @@ ModalCallout.displayName = "ModalCallout_UI";
16141
16176
 
16142
16177
  // src/components/Popover/Popover.tsx
16143
16178
  import { Root as Root2, Trigger as Trigger2, Portal, Content as Content2, Close } from "@radix-ui/react-popover";
16144
- import { styled as styled82, css as css40 } from "styled-components";
16179
+ import { styled as styled82, css as css41 } from "styled-components";
16145
16180
 
16146
16181
  // src/private/helpers/getControls/getControlProps.tsx
16147
16182
  import { isNotNil as isNotNil33 } from "@wistia/type-guards";
@@ -16151,7 +16186,7 @@ var getControlProps = (isOpen, onOpenChange) => {
16151
16186
 
16152
16187
  // src/components/Popover/PopoverArrow.tsx
16153
16188
  import { PopoverArrow as RadixPopoverArrow } from "@radix-ui/react-popover";
16154
- import { styled as styled81, css as css39, keyframes as keyframes7 } from "styled-components";
16189
+ import { styled as styled81, css as css40, keyframes as keyframes7 } from "styled-components";
16155
16190
  import { jsx as jsx307, jsxs as jsxs53 } from "react/jsx-runtime";
16156
16191
  var StyledPath = styled81.path`
16157
16192
  fill: var(--wui-color-border-secondary);
@@ -16185,7 +16220,7 @@ var StyledCircle = styled81.circle`
16185
16220
  }
16186
16221
 
16187
16222
  @media (prefers-reduced-motion: no-preference) {
16188
- ${({ $isAnimated }) => $isAnimated && css39`
16223
+ ${({ $isAnimated }) => $isAnimated && css40`
16189
16224
  animation-name: ${circleAnimation};
16190
16225
  `}
16191
16226
  }
@@ -16234,7 +16269,7 @@ import { jsx as jsx308, jsxs as jsxs54 } from "react/jsx-runtime";
16234
16269
  var StyledContent2 = styled82(Content2)`
16235
16270
  z-index: var(--wui-zindex-popover);
16236
16271
  ${({ $colorScheme }) => getColorScheme($colorScheme)};
16237
- ${({ $unstyled }) => !$unstyled && css40`
16272
+ ${({ $unstyled }) => !$unstyled && css41`
16238
16273
  border-radius: var(--wui-border-radius-02);
16239
16274
  padding: var(--wui-space-04);
16240
16275
  max-width: var(--wui-popover-max-width, 320px);
@@ -16384,17 +16419,17 @@ ProgressBar.displayName = "ProgressBar_UI";
16384
16419
  // src/components/Radio/Radio.tsx
16385
16420
  import { isNonEmptyString as isNonEmptyString7, isNotUndefined as isNotUndefined13 } from "@wistia/type-guards";
16386
16421
  import { forwardRef as forwardRef27, useId as useId5 } from "react";
16387
- import { styled as styled84, css as css41 } from "styled-components";
16422
+ import { styled as styled84, css as css42 } from "styled-components";
16388
16423
  import { jsx as jsx310, jsxs as jsxs56 } from "react/jsx-runtime";
16389
- var sizeSmall2 = css41`
16424
+ var sizeSmall2 = css42`
16390
16425
  --wui-radio-size: 14px;
16391
16426
  --wui-radio-icon-size: 7px;
16392
16427
  `;
16393
- var sizeMedium2 = css41`
16428
+ var sizeMedium2 = css42`
16394
16429
  --wui-radio-size: 16px;
16395
16430
  --wui-radio-icon-size: 8px;
16396
16431
  `;
16397
- var sizeLarge2 = css41`
16432
+ var sizeLarge2 = css42`
16398
16433
  --wui-radio-size: 20px;
16399
16434
  --wui-radio-icon-size: 10px;
16400
16435
  `;
@@ -16535,17 +16570,17 @@ import { forwardRef as forwardRef29 } from "react";
16535
16570
 
16536
16571
  // src/components/RadioCard/RadioCardRoot.tsx
16537
16572
  import { forwardRef as forwardRef28, useId as useId6 } from "react";
16538
- import { styled as styled85, css as css42 } from "styled-components";
16573
+ import { styled as styled85, css as css43 } from "styled-components";
16539
16574
  import { isNonEmptyString as isNonEmptyString8, isNotUndefined as isNotUndefined14 } from "@wistia/type-guards";
16540
16575
  import { jsx as jsx311, jsxs as jsxs57 } from "react/jsx-runtime";
16541
- var checkedStyles = css42`
16576
+ var checkedStyles = css43`
16542
16577
  --wui-radio-card-border-color: var(--wui-color-focus-ring);
16543
16578
  --wui-color-icon: var(--wui-color-icon-selected);
16544
16579
  --wui-radio-card-background-color: var(--wui-color-bg-surface-info);
16545
16580
  --wui-color-text: var(--wui-color-text-info);
16546
16581
  --wui-color-text-secondary: var(--wui-color-text-info);
16547
16582
  `;
16548
- var disabledStyles = css42`
16583
+ var disabledStyles = css43`
16549
16584
  --wui-radio-card-border-color: var(--wui-color-border-disabled);
16550
16585
  --wui-radio-card-background-color: var(--wui-color-bg-surface-disabled);
16551
16586
  --wui-radio-card-cursor: not-allowed;
@@ -16553,10 +16588,10 @@ var disabledStyles = css42`
16553
16588
  --wui-color-text: var(--wui-color-text-disabled);
16554
16589
  --wui-color-text-secondary: var(--wui-color-text-disabled);
16555
16590
  `;
16556
- var focusStyles = css42`
16591
+ var focusStyles = css43`
16557
16592
  outline: 2px solid var(--wui-color-focus-ring);
16558
16593
  `;
16559
- var imageCoverStyles = css42`
16594
+ var imageCoverStyles = css43`
16560
16595
  --wui-radio-card-image-inset: 0px;
16561
16596
  --wui-radio-card-border-width: 0px;
16562
16597
  --wui-inset-shadow-width: 1px;
@@ -16962,7 +16997,7 @@ ScrollArea.displayName = "ScrollArea_UI";
16962
16997
 
16963
16998
  // src/components/SegmentedControl/SegmentedControl.tsx
16964
16999
  import { forwardRef as forwardRef32 } from "react";
16965
- import { styled as styled91, css as css44 } from "styled-components";
17000
+ import { styled as styled91, css as css45 } from "styled-components";
16966
17001
  import { Root as ToggleGroupRoot2 } from "@radix-ui/react-toggle-group";
16967
17002
  import { isNil as isNil18 } from "@wistia/type-guards";
16968
17003
 
@@ -17000,7 +17035,7 @@ var useSelectedItemStyle = () => {
17000
17035
  };
17001
17036
 
17002
17037
  // src/components/SegmentedControl/SelectedItemIndicator.tsx
17003
- import { styled as styled90, css as css43 } from "styled-components";
17038
+ import { styled as styled90, css as css44 } from "styled-components";
17004
17039
  import { isUndefined as isUndefined5 } from "@wistia/type-guards";
17005
17040
 
17006
17041
  // src/components/SegmentedControl/useSegmentedControlValue.tsx
@@ -17017,7 +17052,7 @@ var useSegmentedControlValue = () => {
17017
17052
 
17018
17053
  // src/components/SegmentedControl/SelectedItemIndicator.tsx
17019
17054
  import { jsx as jsx317 } from "react/jsx-runtime";
17020
- var selectedItemIndicatorStyles = css43`
17055
+ var selectedItemIndicatorStyles = css44`
17021
17056
  background-color: var(--wui-color-bg-fill-white);
17022
17057
  border-radius: var(--wui-border-radius-rounded);
17023
17058
  box-shadow: var(--wui-elevation-01);
@@ -17049,7 +17084,7 @@ var SelectedItemIndicator = () => {
17049
17084
 
17050
17085
  // src/components/SegmentedControl/SegmentedControl.tsx
17051
17086
  import { jsx as jsx318, jsxs as jsxs60 } from "react/jsx-runtime";
17052
- var segmentedControlStyles = css44`
17087
+ var segmentedControlStyles = css45`
17053
17088
  display: inline-flex;
17054
17089
  background-color: var(--wui-color-bg-surface-secondary);
17055
17090
  border-radius: var(--wui-border-radius-rounded);
@@ -17099,11 +17134,11 @@ SegmentedControl.displayName = "SegmentedControl_UI";
17099
17134
 
17100
17135
  // src/components/SegmentedControl/SegmentedControlItem.tsx
17101
17136
  import { forwardRef as forwardRef33, useEffect as useEffect21, useRef as useRef22 } from "react";
17102
- import { styled as styled92, css as css45 } from "styled-components";
17137
+ import { styled as styled92, css as css46 } from "styled-components";
17103
17138
  import { Item as ToggleGroupItem2 } from "@radix-ui/react-toggle-group";
17104
17139
  import { isNotNil as isNotNil36 } from "@wistia/type-guards";
17105
17140
  import { jsxs as jsxs61 } from "react/jsx-runtime";
17106
- var segmentedControlItemStyles = css45`
17141
+ var segmentedControlItemStyles = css46`
17107
17142
  all: unset; /* ToggleGroupItem is a button element */
17108
17143
  align-items: center;
17109
17144
  border-radius: var(--wui-border-radius-rounded);
@@ -17244,7 +17279,7 @@ import {
17244
17279
  ScrollDownButton
17245
17280
  } from "@radix-ui/react-select";
17246
17281
  import { forwardRef as forwardRef34 } from "react";
17247
- import { styled as styled93, css as css46 } from "styled-components";
17282
+ import { styled as styled93, css as css47 } from "styled-components";
17248
17283
  import { jsx as jsx319, jsxs as jsxs62 } from "react/jsx-runtime";
17249
17284
  var StyledTrigger2 = styled93(Trigger3)`
17250
17285
  ${({ $colorScheme }) => getColorScheme($colorScheme)};
@@ -17315,7 +17350,7 @@ var StyledContent3 = styled93(Content3)`
17315
17350
  margin: var(--wui-space-02) 0;
17316
17351
  }
17317
17352
  `;
17318
- var scrollButtonStyles = css46`
17353
+ var scrollButtonStyles = css47`
17319
17354
  align-items: center;
17320
17355
  display: flex;
17321
17356
  justify-content: center;
@@ -17601,25 +17636,25 @@ var Slider = ({
17601
17636
  Slider.displayName = "Slider_UI";
17602
17637
 
17603
17638
  // src/components/Table/Table.tsx
17604
- import { styled as styled97, css as css47 } from "styled-components";
17639
+ import { styled as styled97, css as css48 } from "styled-components";
17605
17640
  import { jsx as jsx323 } from "react/jsx-runtime";
17606
17641
  var StyledTable = styled97.table`
17607
17642
  width: 100%;
17608
17643
  border-collapse: collapse;
17609
17644
 
17610
- ${({ $divided }) => $divided && css47`
17645
+ ${({ $divided }) => $divided && css48`
17611
17646
  tr {
17612
17647
  border-bottom: 1px solid var(--wui-color-border);
17613
17648
  }
17614
17649
  `}
17615
17650
 
17616
- ${({ $striped }) => $striped && css47`
17651
+ ${({ $striped }) => $striped && css48`
17617
17652
  tbody tr:nth-child(even) {
17618
17653
  background-color: var(--wui-color-bg-surface-secondary);
17619
17654
  }
17620
17655
  `}
17621
17656
 
17622
- ${({ $visuallyHiddenHeader }) => $visuallyHiddenHeader && css47`
17657
+ ${({ $visuallyHiddenHeader }) => $visuallyHiddenHeader && css48`
17623
17658
  thead {
17624
17659
  ${visuallyHiddenStyle}
17625
17660
  }
@@ -17662,9 +17697,9 @@ var TableBody = ({ children, ...props }) => {
17662
17697
 
17663
17698
  // src/components/Table/TableCell.tsx
17664
17699
  import { useContext as useContext17 } from "react";
17665
- import { styled as styled99, css as css48 } from "styled-components";
17700
+ import { styled as styled99, css as css49 } from "styled-components";
17666
17701
  import { jsx as jsx325 } from "react/jsx-runtime";
17667
- var sharedStyles = css48`
17702
+ var sharedStyles = css49`
17668
17703
  color: var(--wui-color-text);
17669
17704
  padding: var(--wui-space-02);
17670
17705
  text-align: left;
@@ -17947,9 +17982,9 @@ import {
17947
17982
 
17948
17983
  // src/private/helpers/getBackgroundGradient/getBackgroundGradient.ts
17949
17984
  import { isNotNil as isNotNil41 } from "@wistia/type-guards";
17950
- import { css as css49 } from "styled-components";
17985
+ import { css as css50 } from "styled-components";
17951
17986
  var gradients = {
17952
- defaultDarkOne: css49`
17987
+ defaultDarkOne: css50`
17953
17988
  background-color: #222d66;
17954
17989
  background-image:
17955
17990
  radial-gradient(farthest-corner at top right, #222d66, transparent 70%),
@@ -17957,7 +17992,7 @@ var gradients = {
17957
17992
  radial-gradient(farthest-corner at bottom left, #6b84ff, transparent 57%),
17958
17993
  radial-gradient(farthest-corner at top left, #2949e5, transparent 68%);
17959
17994
  `,
17960
- defaultDarkTwo: css49`
17995
+ defaultDarkTwo: css50`
17961
17996
  background-color: #222d66;
17962
17997
  background-image:
17963
17998
  radial-gradient(farthest-corner at top left, #6b84ff, transparent 100%),
@@ -17965,7 +18000,7 @@ var gradients = {
17965
18000
  radial-gradient(farthest-corner at bottom right, #2949e5, transparent 50%),
17966
18001
  radial-gradient(farthest-corner at top right, #2949e5, transparent 70%);
17967
18002
  `,
17968
- defaultLightOne: css49`
18003
+ defaultLightOne: css50`
17969
18004
  background-color: #ccd5ff;
17970
18005
  background-image:
17971
18006
  radial-gradient(farthest-corner at bottom right, #ccd5ff, transparent 55%),
@@ -17973,13 +18008,13 @@ var gradients = {
17973
18008
  radial-gradient(farthest-corner at top right, #6b84ff, transparent 50%),
17974
18009
  radial-gradient(farthest-corner at bottom left, #f7f8ff, transparent 50%);
17975
18010
  `,
17976
- defaultLightTwo: css49`
18011
+ defaultLightTwo: css50`
17977
18012
  background-color: #ccd5ff;
17978
18013
  background-image:
17979
18014
  radial-gradient(ellipse at top, #ccd5ff, transparent),
17980
18015
  radial-gradient(ellipse at bottom, #6b84ff, transparent);
17981
18016
  `,
17982
- defaultMidOne: css49`
18017
+ defaultMidOne: css50`
17983
18018
  background-color: #6b84ff;
17984
18019
  background-image:
17985
18020
  radial-gradient(farthest-corner at top right, #2949e5, transparent 70%),
@@ -17987,13 +18022,13 @@ var gradients = {
17987
18022
  radial-gradient(farthest-corner at top left, #6b84ff, transparent 80%),
17988
18023
  radial-gradient(farthest-corner at bottom left, #222d66, transparent 57%);
17989
18024
  `,
17990
- defaultMidTwo: css49`
18025
+ defaultMidTwo: css50`
17991
18026
  background-color: #6b84ff;
17992
18027
  background-image:
17993
18028
  radial-gradient(ellipse at top, #2949e5, transparent),
17994
18029
  radial-gradient(ellipse at bottom, #ccd5ff, transparent);
17995
18030
  `,
17996
- green: css49`
18031
+ green: css50`
17997
18032
  background-color: #fafffa;
17998
18033
  background-image:
17999
18034
  radial-gradient(farthest-corner at bottom left, #b0e5a5, transparent 50%),
@@ -18001,7 +18036,7 @@ var gradients = {
18001
18036
  radial-gradient(farthest-corner at top left, #44b62d, transparent 65%),
18002
18037
  radial-gradient(farthest-corner at bottom right, #44b62d, transparent 55%);
18003
18038
  `,
18004
- greenWithPop: css49`
18039
+ greenWithPop: css50`
18005
18040
  background-color: #fafffa;
18006
18041
  background-image:
18007
18042
  radial-gradient(farthest-corner at bottom left, #b0e5a5, transparent 50%),
@@ -18009,7 +18044,7 @@ var gradients = {
18009
18044
  radial-gradient(farthest-corner at top left, #44b62d, transparent 65%),
18010
18045
  radial-gradient(farthest-corner at bottom right, #44b62d, transparent 55%);
18011
18046
  `,
18012
- pink: css49`
18047
+ pink: css50`
18013
18048
  background-color: #fffff0;
18014
18049
  background-image:
18015
18050
  radial-gradient(farthest-corner at bottom left, #ffc7e8, transparent 50%),
@@ -18017,7 +18052,7 @@ var gradients = {
18017
18052
  radial-gradient(farthest-corner at top left, #ff40b3, transparent 65%),
18018
18053
  radial-gradient(farthest-corner at bottom right, #ff40b3, transparent 55%);
18019
18054
  `,
18020
- pinkWithPop: css49`
18055
+ pinkWithPop: css50`
18021
18056
  background-color: #fffff0;
18022
18057
  background-image:
18023
18058
  radial-gradient(farthest-corner at top right, #e0128e, transparent 70%),
@@ -18025,7 +18060,7 @@ var gradients = {
18025
18060
  radial-gradient(farthest-corner at bottom right, #ff40b3, transparent 55%),
18026
18061
  radial-gradient(farthest-corner at bottom left, #2949e5, transparent 50%);
18027
18062
  `,
18028
- playfulGradientOne: css49`
18063
+ playfulGradientOne: css50`
18029
18064
  background-color: #f7f8ff;
18030
18065
  background-image:
18031
18066
  radial-gradient(farthest-corner at top left, #d65cff, transparent 68%),
@@ -18033,7 +18068,7 @@ var gradients = {
18033
18068
  radial-gradient(farthest-corner at bottom left, #ffc7e8, transparent 57%),
18034
18069
  radial-gradient(farthest-corner at top right, #ffcaba, transparent 70%);
18035
18070
  `,
18036
- playfulGradientTwo: css49`
18071
+ playfulGradientTwo: css50`
18037
18072
  background-color: #f7f8ff;
18038
18073
  background-image:
18039
18074
  radial-gradient(farthest-corner at top left, #44b62d, transparent 68%),
@@ -18041,13 +18076,13 @@ var gradients = {
18041
18076
  radial-gradient(farthest-corner at bottom left, #ccd5ff, transparent 57%),
18042
18077
  radial-gradient(farthest-corner at top right, #2949e5, transparent 70%);
18043
18078
  `,
18044
- purple: css49`
18079
+ purple: css50`
18045
18080
  background-color: #f2caff;
18046
18081
  background-image:
18047
18082
  radial-gradient(ellipse at 0% 100%, #f9e5ff, transparent 50%),
18048
18083
  radial-gradient(ellipse at 100% 0%, #e093fa, transparent 70%);
18049
18084
  `,
18050
- purpleWithPop: css49`
18085
+ purpleWithPop: css50`
18051
18086
  background-color: #f2caff;
18052
18087
  background-image:
18053
18088
  radial-gradient(farthest-corner at bottom left, #f2caff, transparent 50%),
@@ -18055,7 +18090,7 @@ var gradients = {
18055
18090
  radial-gradient(farthest-corner at bottom right, #d65cff, transparent 55%),
18056
18091
  radial-gradient(farthest-corner at top right, #2949e5, transparent 70%);
18057
18092
  `,
18058
- yellow: css49`
18093
+ yellow: css50`
18059
18094
  background-color: #fffff0;
18060
18095
  background-image:
18061
18096
  radial-gradient(farthest-corner at bottom left, #eff18d, transparent 50%),
@@ -18063,7 +18098,7 @@ var gradients = {
18063
18098
  radial-gradient(farthest-corner at top left, #e8ec1e, transparent 65%),
18064
18099
  radial-gradient(farthest-corner at bottom right, #e8ec1e, transparent 55%);
18065
18100
  `,
18066
- yellowWithPop: css49`
18101
+ yellowWithPop: css50`
18067
18102
  background-color: #fffff0;
18068
18103
  background-image:
18069
18104
  radial-gradient(farthest-corner at bottom left, #eff18d, transparent 50%),
@@ -18524,7 +18559,7 @@ var ThumbnailCollage = ({
18524
18559
  };
18525
18560
 
18526
18561
  // src/components/WistiaLogo/WistiaLogo.tsx
18527
- import { styled as styled110, css as css50 } from "styled-components";
18562
+ import { styled as styled110, css as css51 } from "styled-components";
18528
18563
  import { isNotNil as isNotNil44 } from "@wistia/type-guards";
18529
18564
  import { jsx as jsx337, jsxs as jsxs71 } from "react/jsx-runtime";
18530
18565
  var renderBrandmark = (brandmarkColor, iconOnly) => {
@@ -18582,12 +18617,12 @@ var WistiaLogoComponent = styled110.svg`
18582
18617
  ${({ $opticallyCentered, $iconOnly }) => {
18583
18618
  if ($opticallyCentered) {
18584
18619
  if ($iconOnly) {
18585
- return css50`
18620
+ return css51`
18586
18621
  aspect-ratio: 1;
18587
18622
  padding: 11.85% 3.12% 13.91%;
18588
18623
  `;
18589
18624
  }
18590
- return css50`
18625
+ return css51`
18591
18626
  aspect-ratio: 127 / 32;
18592
18627
  `;
18593
18628
  }