@wistia/ui 0.18.18-beta.f646dff0.af8ca00 → 0.18.18-beta.fba14250.ac46dfb

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.f646dff0.af8ca00
3
+ * @license @wistia/ui v0.18.18-beta.fba14250.ac46dfb
4
4
  *
5
5
  * Copyright (c) 2024-2025, Wistia, Inc. and its affiliates.
6
6
  *
@@ -14100,7 +14100,7 @@ var DataCardInner = ({
14100
14100
  StyledLabel3,
14101
14101
  {
14102
14102
  "data-wui-data-card-skeleton": isLoading,
14103
- renderAs: "dt",
14103
+ renderAs: "span",
14104
14104
  variant: "heading6",
14105
14105
  children: label
14106
14106
  }
@@ -14109,7 +14109,7 @@ var DataCardInner = ({
14109
14109
  StyledValue,
14110
14110
  {
14111
14111
  "data-wui-data-card-skeleton": isLoading,
14112
- renderAs: "dd",
14112
+ renderAs: "span",
14113
14113
  variant: "heading3",
14114
14114
  children: value
14115
14115
  }
@@ -14162,29 +14162,42 @@ import { styled as styled59 } from "styled-components";
14162
14162
  import { jsx as jsx279 } from "react/jsx-runtime";
14163
14163
  var StyledDataCards = styled59(Box)`
14164
14164
  ${({ $colorScheme }) => getColorScheme($colorScheme)};
14165
+ --wui-data-cards-column-count: ${({ $columns }) => $columns === "auto" ? void 0 : $columns};
14166
+ --wui-data-cards-total-column-gap-width: calc(var(--wui-data-cards-column-count) - 1) *
14167
+ var(--wui-space-02);
14168
+ --wui-data-cards-column-width: calc(
14169
+ (100% - var(--wui-data-cards-total-column-gap-width)) / var(--wui-data-cards-column-count)
14170
+ );
14165
14171
 
14166
14172
  > * {
14167
- min-width: 120px;
14173
+ min-width: ${({ $cardMinWidth }) => $cardMinWidth};
14174
+ flex-basis: var(--wui-data-cards-column-width, 0);
14168
14175
  max-width: ${({ $cardMaxWidth }) => $cardMaxWidth};
14169
14176
  }
14170
14177
  `;
14171
14178
  var DataCards = ({
14172
14179
  children,
14180
+ cardMinWidth = "120px",
14173
14181
  cardMaxWidth = "none",
14174
14182
  colorScheme = "inherit",
14183
+ columns = "auto",
14175
14184
  ...props
14176
14185
  }) => {
14186
+ const responsiveCardMinWidth = useResponsiveProp(cardMinWidth);
14187
+ const responsiveCardMaxWidth = useResponsiveProp(cardMaxWidth);
14188
+ const responsiveColumns = useResponsiveProp(columns);
14177
14189
  return /* @__PURE__ */ jsx279(
14178
14190
  StyledDataCards,
14179
14191
  {
14180
14192
  ...props,
14181
- $cardMaxWidth: cardMaxWidth,
14193
+ $cardMaxWidth: responsiveCardMaxWidth,
14194
+ $cardMinWidth: responsiveCardMinWidth,
14182
14195
  $colorScheme: colorScheme,
14196
+ $columns: responsiveColumns,
14183
14197
  alignItems: "stretch",
14184
14198
  direction: "row",
14185
14199
  fill: "horizontal",
14186
14200
  gap: "space-02",
14187
- renderAs: "dl",
14188
14201
  wrapItems: true,
14189
14202
  children
14190
14203
  }
@@ -15075,23 +15088,11 @@ var FormErrorSummary = ({ description }) => {
15075
15088
 
15076
15089
  // src/components/FormField/FormField.tsx
15077
15090
  import { Children as Children10, cloneElement as cloneElement8, useContext as useContext13 } from "react";
15078
- import { styled as styled68, css as css36 } from "styled-components";
15091
+ import { styled as styled68 } from "styled-components";
15079
15092
  import { isArray as isArray4, isNotNil as isNotNil28, isNotUndefined as isNotUndefined12, isUndefined as isUndefined4 } from "@wistia/type-guards";
15080
- import { jsx as jsx293, jsxs as jsxs47 } from "react/jsx-runtime";
15081
- var inlineErrorStyles = css36`
15082
- grid-template-rows: 1fr auto;
15083
- grid-template-areas: 'label-description input' '. error';
15084
- `;
15085
- var inlineBaseGridAreaStyles = css36`
15086
- grid-template-rows: 1fr;
15087
- grid-template-areas: 'label-description input';
15088
- `;
15089
- var blockGridErrorStyles = css36`
15090
- grid-template-rows: auto 1fr auto;
15091
- grid-template-areas: 'label-description' 'input' 'error';
15092
- `;
15093
+ import { Fragment as Fragment9, jsx as jsx293, jsxs as jsxs47 } from "react/jsx-runtime";
15093
15094
  var StyledFormField = styled68.div`
15094
- --form-field-spacing: var(--wui-space-02);
15095
+ --form-field-spacing: var(--wui-space-01);
15095
15096
  --form-field-spacing-inline: var(--wui-space-02);
15096
15097
  --form-field-error-color: var(--wui-color-text-secondary-error);
15097
15098
 
@@ -15105,28 +15106,21 @@ var StyledFormField = styled68.div`
15105
15106
  &[data-label-position='inline-compact'] {
15106
15107
  gap: var(--form-field-spacing-inline);
15107
15108
  grid-template-columns: auto 1fr;
15108
- ${inlineBaseGridAreaStyles}
15109
- ${({ $hasError }) => $hasError && inlineErrorStyles}
15109
+ grid-template-rows: 1fr auto;
15110
15110
  }
15111
15111
 
15112
15112
  &[data-label-position='inline'] {
15113
15113
  gap: var(--form-field-spacing-inline);
15114
15114
  grid-template-columns: minmax(auto, 1fr) 1fr;
15115
- ${inlineBaseGridAreaStyles}
15116
- ${({ $hasError }) => $hasError && inlineErrorStyles}
15115
+ grid-template-rows: 1fr auto;
15117
15116
  }
15118
15117
 
15119
15118
  &[data-label-position='block'] {
15120
15119
  gap: var(--form-field-spacing);
15121
15120
  grid-template-columns: 1fr;
15122
- grid-template-rows: auto 1fr;
15123
- grid-template-areas: 'label-description' 'input';
15124
- ${({ $hasError }) => $hasError && blockGridErrorStyles}
15121
+ grid-template-rows: 1fr;
15125
15122
  }
15126
15123
  `;
15127
- var ErrorText = styled68(Text)`
15128
- grid-area: error;
15129
- `;
15130
15124
  var StyledErrorList = styled68.ul`
15131
15125
  margin: 0;
15132
15126
  padding: 0;
@@ -15134,14 +15128,13 @@ var StyledErrorList = styled68.ul`
15134
15128
  display: flex;
15135
15129
  flex-direction: column;
15136
15130
  gap: var(--wui-space-01);
15137
- grid-area: error;
15138
15131
  `;
15139
15132
  var ErrorMessages = ({ errors, id }) => {
15140
15133
  const isErrorArray = isArray4(errors);
15141
15134
  const isMultipleErrors = isErrorArray && errors.length > 1;
15142
15135
  if (!isErrorArray) {
15143
15136
  return /* @__PURE__ */ jsx293(
15144
- ErrorText,
15137
+ Text,
15145
15138
  {
15146
15139
  colorScheme: "error",
15147
15140
  id,
@@ -15154,7 +15147,7 @@ var ErrorMessages = ({ errors, id }) => {
15154
15147
  }
15155
15148
  if (!isMultipleErrors) {
15156
15149
  return /* @__PURE__ */ jsx293(
15157
- ErrorText,
15150
+ Text,
15158
15151
  {
15159
15152
  colorScheme: "error",
15160
15153
  id,
@@ -15199,16 +15192,12 @@ var FormField = ({
15199
15192
  const descriptionId = `${computedId}-description`;
15200
15193
  const errorId = `${computedId}-error`;
15201
15194
  const ariaDescribedby = [descriptionId, errorId].filter(Boolean).join(" ") || void 0;
15202
- const hasDescription = isNotNil28(description);
15203
- const hasError = isNotNil28(computedError);
15204
- const shouldRenderLabelDescriptionWrapper = !isIntegratedLabel || hasDescription;
15205
15195
  let childProps = {
15206
15196
  name,
15207
15197
  id: computedId,
15208
15198
  label: isIntegratedLabel ? label : void 0,
15209
15199
  "aria-describedby": ariaDescribedby,
15210
- "aria-invalid": hasError,
15211
- style: { gridArea: "input" },
15200
+ "aria-invalid": isNotNil28(computedError),
15212
15201
  ...props
15213
15202
  };
15214
15203
  if (isUndefined4(value) && isNotUndefined12(defaultValue)) {
@@ -15238,38 +15227,28 @@ var FormField = ({
15238
15227
  StyledFormField,
15239
15228
  {
15240
15229
  ...props,
15241
- $hasError: hasError,
15242
15230
  "data-label-position": labelPosition ?? formState.labelPosition,
15243
15231
  children: [
15244
- shouldRenderLabelDescriptionWrapper ? /* @__PURE__ */ jsxs47(
15245
- Stack,
15232
+ !isIntegratedLabel && /* @__PURE__ */ jsx293(
15233
+ Label,
15246
15234
  {
15247
- direction: "vertical",
15248
- gap: "space-01",
15249
- style: {
15250
- gridArea: "label-description"
15251
- },
15252
- children: [
15253
- !isIntegratedLabel && /* @__PURE__ */ jsx293(
15254
- Label,
15255
- {
15256
- htmlFor: computedId,
15257
- required,
15258
- children: label
15259
- }
15260
- ),
15261
- hasDescription ? /* @__PURE__ */ jsx293(FormControlLabelDescription, { id: descriptionId, children: description }) : null
15262
- ]
15235
+ htmlFor: computedId,
15236
+ required,
15237
+ children: label
15263
15238
  }
15264
- ) : null,
15239
+ ),
15240
+ isNotNil28(description) ? /* @__PURE__ */ jsx293(FormControlLabelDescription, { id: descriptionId, children: description }) : null,
15265
15241
  cloneElement8(children, childProps),
15266
- hasError ? /* @__PURE__ */ jsx293(
15267
- ErrorMessages,
15268
- {
15269
- errors: computedError,
15270
- id: errorId
15271
- }
15272
- ) : null
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
15273
15252
  ]
15274
15253
  }
15275
15254
  );
@@ -15305,24 +15284,24 @@ RadioGroup.displayName = "RadioGroup_UI";
15305
15284
 
15306
15285
  // src/components/Grid/Grid.tsx
15307
15286
  import { forwardRef as forwardRef22 } from "react";
15308
- import { styled as styled69, css as css37 } from "styled-components";
15287
+ import { styled as styled69, css as css36 } from "styled-components";
15309
15288
  import { isRecord as isRecord5 } from "@wistia/type-guards";
15310
15289
  import { jsx as jsx295 } from "react/jsx-runtime";
15311
15290
  var DEFAULT_ELEMENT5 = "div";
15312
15291
  var getGridTemplateColumns = (maxColumns, minChildWidth, expandItems) => {
15313
15292
  if (minChildWidth === "auto" && maxColumns === "auto") {
15314
- return css37`
15293
+ return css36`
15315
15294
  grid-template-columns: repeat(auto-fit, minmax(0, 1fr));
15316
15295
  `;
15317
15296
  }
15318
15297
  const gridMode = expandItems ? "auto-fit" : "auto-fill";
15319
15298
  const minChildWidthValue = minChildWidth === "auto" ? 0 : minChildWidth;
15320
15299
  if (maxColumns === "auto") {
15321
- return css37`
15300
+ return css36`
15322
15301
  grid-template-columns: repeat(${gridMode}, minmax(${minChildWidthValue}px, 1fr));
15323
15302
  `;
15324
15303
  }
15325
- return css37`
15304
+ return css36`
15326
15305
  /* Adapted from https://9elements.com/blog/building-a-rock-solid-auto-grid/ */
15327
15306
  --wui-grid-total-column-gap-width: calc(${maxColumns - 1} * var(--wui-grid-column-gap));
15328
15307
  --wui-grid-max-column-width: calc(
@@ -15606,7 +15585,7 @@ KeyboardShortcut.displayName = "KeyboardShortcut_UI";
15606
15585
 
15607
15586
  // src/components/List/List.tsx
15608
15587
  import { isNotNil as isNotNil30 } from "@wistia/type-guards";
15609
- import { styled as styled74, css as css38 } from "styled-components";
15588
+ import { styled as styled74, css as css37 } from "styled-components";
15610
15589
 
15611
15590
  // src/components/List/ListItem.tsx
15612
15591
  import { styled as styled73 } from "styled-components";
@@ -15625,7 +15604,7 @@ ListItem.displayName = "ListItem_UI";
15625
15604
 
15626
15605
  // src/components/List/List.tsx
15627
15606
  import { jsx as jsx300, jsxs as jsxs49 } from "react/jsx-runtime";
15628
- var spacesStyle = css38`
15607
+ var spacesStyle = css37`
15629
15608
  overflow: hidden;
15630
15609
  padding-left: 0;
15631
15610
  vertical-align: bottom;
@@ -15647,7 +15626,7 @@ var spacesStyle = css38`
15647
15626
  }
15648
15627
  }
15649
15628
  `;
15650
- var commasStyle = css38`
15629
+ var commasStyle = css37`
15651
15630
  ${spacesStyle};
15652
15631
 
15653
15632
  li {
@@ -15657,7 +15636,7 @@ var commasStyle = css38`
15657
15636
  }
15658
15637
  }
15659
15638
  `;
15660
- var slashesStyle = css38`
15639
+ var slashesStyle = css37`
15661
15640
  ${spacesStyle};
15662
15641
 
15663
15642
  li {
@@ -15668,7 +15647,7 @@ var slashesStyle = css38`
15668
15647
  }
15669
15648
  }
15670
15649
  `;
15671
- var breadcrumbsStyle = css38`
15650
+ var breadcrumbsStyle = css37`
15672
15651
  ${spacesStyle};
15673
15652
 
15674
15653
  li {
@@ -15679,7 +15658,7 @@ var breadcrumbsStyle = css38`
15679
15658
  }
15680
15659
  }
15681
15660
  `;
15682
- var unbulletedStyle = css38`
15661
+ var unbulletedStyle = css37`
15683
15662
  list-style: none;
15684
15663
  padding-left: 0;
15685
15664
  `;
@@ -15861,7 +15840,7 @@ var ModalHeader = ({
15861
15840
 
15862
15841
  // src/components/Modal/ModalContent.tsx
15863
15842
  import { forwardRef as forwardRef25 } from "react";
15864
- import { styled as styled78, css as css39, keyframes as keyframes5 } from "styled-components";
15843
+ import { styled as styled78, css as css38, keyframes as keyframes5 } from "styled-components";
15865
15844
  import { Content as DialogContent } from "@radix-ui/react-dialog";
15866
15845
 
15867
15846
  // src/private/hooks/useFocusRestore/useFocusRestore.ts
@@ -15907,7 +15886,7 @@ var modalExit = keyframes5`
15907
15886
  transform: translateX(-50%) translateY(calc(var(--wui-modal-translate-y) + 24px));
15908
15887
  }
15909
15888
  `;
15910
- var centeredModalStyles = css39`
15889
+ var centeredModalStyles = css38`
15911
15890
  --wui-modal-screen-offset: var(--wui-space-05);
15912
15891
  --wui-modal-translate-y: -50%;
15913
15892
 
@@ -15923,7 +15902,7 @@ var centeredModalStyles = css39`
15923
15902
  animation: ${modalExit} var(--wui-motion-duration-03) var(--wui-motion-ease-out);
15924
15903
  }
15925
15904
  `;
15926
- var fixedTopModalStyles = css39`
15905
+ var fixedTopModalStyles = css38`
15927
15906
  --wui-modal-screen-offset-top: 15vh;
15928
15907
  --wui-modal-screen-offset-bottom: 5vh;
15929
15908
  --wui-modal-translate-y: 0%;
@@ -15964,7 +15943,7 @@ var slideOutRight = keyframes5`
15964
15943
  transform: translateX(100%);
15965
15944
  }
15966
15945
  `;
15967
- var rightSidePanelModalStyles = css39`
15946
+ var rightSidePanelModalStyles = css38`
15968
15947
  --wui-modal-screen-offset: var(--wui-space-05);
15969
15948
 
15970
15949
  height: calc(100vh - var(--wui-modal-screen-offset) * 2);
@@ -16162,7 +16141,7 @@ ModalCallout.displayName = "ModalCallout_UI";
16162
16141
 
16163
16142
  // src/components/Popover/Popover.tsx
16164
16143
  import { Root as Root2, Trigger as Trigger2, Portal, Content as Content2, Close } from "@radix-ui/react-popover";
16165
- import { styled as styled82, css as css41 } from "styled-components";
16144
+ import { styled as styled82, css as css40 } from "styled-components";
16166
16145
 
16167
16146
  // src/private/helpers/getControls/getControlProps.tsx
16168
16147
  import { isNotNil as isNotNil33 } from "@wistia/type-guards";
@@ -16172,7 +16151,7 @@ var getControlProps = (isOpen, onOpenChange) => {
16172
16151
 
16173
16152
  // src/components/Popover/PopoverArrow.tsx
16174
16153
  import { PopoverArrow as RadixPopoverArrow } from "@radix-ui/react-popover";
16175
- import { styled as styled81, css as css40, keyframes as keyframes7 } from "styled-components";
16154
+ import { styled as styled81, css as css39, keyframes as keyframes7 } from "styled-components";
16176
16155
  import { jsx as jsx307, jsxs as jsxs53 } from "react/jsx-runtime";
16177
16156
  var StyledPath = styled81.path`
16178
16157
  fill: var(--wui-color-border-secondary);
@@ -16206,7 +16185,7 @@ var StyledCircle = styled81.circle`
16206
16185
  }
16207
16186
 
16208
16187
  @media (prefers-reduced-motion: no-preference) {
16209
- ${({ $isAnimated }) => $isAnimated && css40`
16188
+ ${({ $isAnimated }) => $isAnimated && css39`
16210
16189
  animation-name: ${circleAnimation};
16211
16190
  `}
16212
16191
  }
@@ -16255,7 +16234,7 @@ import { jsx as jsx308, jsxs as jsxs54 } from "react/jsx-runtime";
16255
16234
  var StyledContent2 = styled82(Content2)`
16256
16235
  z-index: var(--wui-zindex-popover);
16257
16236
  ${({ $colorScheme }) => getColorScheme($colorScheme)};
16258
- ${({ $unstyled }) => !$unstyled && css41`
16237
+ ${({ $unstyled }) => !$unstyled && css40`
16259
16238
  border-radius: var(--wui-border-radius-02);
16260
16239
  padding: var(--wui-space-04);
16261
16240
  max-width: var(--wui-popover-max-width, 320px);
@@ -16405,17 +16384,17 @@ ProgressBar.displayName = "ProgressBar_UI";
16405
16384
  // src/components/Radio/Radio.tsx
16406
16385
  import { isNonEmptyString as isNonEmptyString7, isNotUndefined as isNotUndefined13 } from "@wistia/type-guards";
16407
16386
  import { forwardRef as forwardRef27, useId as useId5 } from "react";
16408
- import { styled as styled84, css as css42 } from "styled-components";
16387
+ import { styled as styled84, css as css41 } from "styled-components";
16409
16388
  import { jsx as jsx310, jsxs as jsxs56 } from "react/jsx-runtime";
16410
- var sizeSmall2 = css42`
16389
+ var sizeSmall2 = css41`
16411
16390
  --wui-radio-size: 14px;
16412
16391
  --wui-radio-icon-size: 7px;
16413
16392
  `;
16414
- var sizeMedium2 = css42`
16393
+ var sizeMedium2 = css41`
16415
16394
  --wui-radio-size: 16px;
16416
16395
  --wui-radio-icon-size: 8px;
16417
16396
  `;
16418
- var sizeLarge2 = css42`
16397
+ var sizeLarge2 = css41`
16419
16398
  --wui-radio-size: 20px;
16420
16399
  --wui-radio-icon-size: 10px;
16421
16400
  `;
@@ -16556,17 +16535,17 @@ import { forwardRef as forwardRef29 } from "react";
16556
16535
 
16557
16536
  // src/components/RadioCard/RadioCardRoot.tsx
16558
16537
  import { forwardRef as forwardRef28, useId as useId6 } from "react";
16559
- import { styled as styled85, css as css43 } from "styled-components";
16538
+ import { styled as styled85, css as css42 } from "styled-components";
16560
16539
  import { isNonEmptyString as isNonEmptyString8, isNotUndefined as isNotUndefined14 } from "@wistia/type-guards";
16561
16540
  import { jsx as jsx311, jsxs as jsxs57 } from "react/jsx-runtime";
16562
- var checkedStyles = css43`
16541
+ var checkedStyles = css42`
16563
16542
  --wui-radio-card-border-color: var(--wui-color-focus-ring);
16564
16543
  --wui-color-icon: var(--wui-color-icon-selected);
16565
16544
  --wui-radio-card-background-color: var(--wui-color-bg-surface-info);
16566
16545
  --wui-color-text: var(--wui-color-text-info);
16567
16546
  --wui-color-text-secondary: var(--wui-color-text-info);
16568
16547
  `;
16569
- var disabledStyles = css43`
16548
+ var disabledStyles = css42`
16570
16549
  --wui-radio-card-border-color: var(--wui-color-border-disabled);
16571
16550
  --wui-radio-card-background-color: var(--wui-color-bg-surface-disabled);
16572
16551
  --wui-radio-card-cursor: not-allowed;
@@ -16574,10 +16553,10 @@ var disabledStyles = css43`
16574
16553
  --wui-color-text: var(--wui-color-text-disabled);
16575
16554
  --wui-color-text-secondary: var(--wui-color-text-disabled);
16576
16555
  `;
16577
- var focusStyles = css43`
16556
+ var focusStyles = css42`
16578
16557
  outline: 2px solid var(--wui-color-focus-ring);
16579
16558
  `;
16580
- var imageCoverStyles = css43`
16559
+ var imageCoverStyles = css42`
16581
16560
  --wui-radio-card-image-inset: 0px;
16582
16561
  --wui-radio-card-border-width: 0px;
16583
16562
  --wui-inset-shadow-width: 1px;
@@ -16983,7 +16962,7 @@ ScrollArea.displayName = "ScrollArea_UI";
16983
16962
 
16984
16963
  // src/components/SegmentedControl/SegmentedControl.tsx
16985
16964
  import { forwardRef as forwardRef32 } from "react";
16986
- import { styled as styled91, css as css45 } from "styled-components";
16965
+ import { styled as styled91, css as css44 } from "styled-components";
16987
16966
  import { Root as ToggleGroupRoot2 } from "@radix-ui/react-toggle-group";
16988
16967
  import { isNil as isNil18 } from "@wistia/type-guards";
16989
16968
 
@@ -17021,7 +17000,7 @@ var useSelectedItemStyle = () => {
17021
17000
  };
17022
17001
 
17023
17002
  // src/components/SegmentedControl/SelectedItemIndicator.tsx
17024
- import { styled as styled90, css as css44 } from "styled-components";
17003
+ import { styled as styled90, css as css43 } from "styled-components";
17025
17004
  import { isUndefined as isUndefined5 } from "@wistia/type-guards";
17026
17005
 
17027
17006
  // src/components/SegmentedControl/useSegmentedControlValue.tsx
@@ -17038,7 +17017,7 @@ var useSegmentedControlValue = () => {
17038
17017
 
17039
17018
  // src/components/SegmentedControl/SelectedItemIndicator.tsx
17040
17019
  import { jsx as jsx317 } from "react/jsx-runtime";
17041
- var selectedItemIndicatorStyles = css44`
17020
+ var selectedItemIndicatorStyles = css43`
17042
17021
  background-color: var(--wui-color-bg-fill-white);
17043
17022
  border-radius: var(--wui-border-radius-rounded);
17044
17023
  box-shadow: var(--wui-elevation-01);
@@ -17070,7 +17049,7 @@ var SelectedItemIndicator = () => {
17070
17049
 
17071
17050
  // src/components/SegmentedControl/SegmentedControl.tsx
17072
17051
  import { jsx as jsx318, jsxs as jsxs60 } from "react/jsx-runtime";
17073
- var segmentedControlStyles = css45`
17052
+ var segmentedControlStyles = css44`
17074
17053
  display: inline-flex;
17075
17054
  background-color: var(--wui-color-bg-surface-secondary);
17076
17055
  border-radius: var(--wui-border-radius-rounded);
@@ -17120,11 +17099,11 @@ SegmentedControl.displayName = "SegmentedControl_UI";
17120
17099
 
17121
17100
  // src/components/SegmentedControl/SegmentedControlItem.tsx
17122
17101
  import { forwardRef as forwardRef33, useEffect as useEffect21, useRef as useRef22 } from "react";
17123
- import { styled as styled92, css as css46 } from "styled-components";
17102
+ import { styled as styled92, css as css45 } from "styled-components";
17124
17103
  import { Item as ToggleGroupItem2 } from "@radix-ui/react-toggle-group";
17125
17104
  import { isNotNil as isNotNil36 } from "@wistia/type-guards";
17126
17105
  import { jsxs as jsxs61 } from "react/jsx-runtime";
17127
- var segmentedControlItemStyles = css46`
17106
+ var segmentedControlItemStyles = css45`
17128
17107
  all: unset; /* ToggleGroupItem is a button element */
17129
17108
  align-items: center;
17130
17109
  border-radius: var(--wui-border-radius-rounded);
@@ -17265,7 +17244,7 @@ import {
17265
17244
  ScrollDownButton
17266
17245
  } from "@radix-ui/react-select";
17267
17246
  import { forwardRef as forwardRef34 } from "react";
17268
- import { styled as styled93, css as css47 } from "styled-components";
17247
+ import { styled as styled93, css as css46 } from "styled-components";
17269
17248
  import { jsx as jsx319, jsxs as jsxs62 } from "react/jsx-runtime";
17270
17249
  var StyledTrigger2 = styled93(Trigger3)`
17271
17250
  ${({ $colorScheme }) => getColorScheme($colorScheme)};
@@ -17336,7 +17315,7 @@ var StyledContent3 = styled93(Content3)`
17336
17315
  margin: var(--wui-space-02) 0;
17337
17316
  }
17338
17317
  `;
17339
- var scrollButtonStyles = css47`
17318
+ var scrollButtonStyles = css46`
17340
17319
  align-items: center;
17341
17320
  display: flex;
17342
17321
  justify-content: center;
@@ -17622,25 +17601,25 @@ var Slider = ({
17622
17601
  Slider.displayName = "Slider_UI";
17623
17602
 
17624
17603
  // src/components/Table/Table.tsx
17625
- import { styled as styled97, css as css48 } from "styled-components";
17604
+ import { styled as styled97, css as css47 } from "styled-components";
17626
17605
  import { jsx as jsx323 } from "react/jsx-runtime";
17627
17606
  var StyledTable = styled97.table`
17628
17607
  width: 100%;
17629
17608
  border-collapse: collapse;
17630
17609
 
17631
- ${({ $divided }) => $divided && css48`
17610
+ ${({ $divided }) => $divided && css47`
17632
17611
  tr {
17633
17612
  border-bottom: 1px solid var(--wui-color-border);
17634
17613
  }
17635
17614
  `}
17636
17615
 
17637
- ${({ $striped }) => $striped && css48`
17616
+ ${({ $striped }) => $striped && css47`
17638
17617
  tbody tr:nth-child(even) {
17639
17618
  background-color: var(--wui-color-bg-surface-secondary);
17640
17619
  }
17641
17620
  `}
17642
17621
 
17643
- ${({ $visuallyHiddenHeader }) => $visuallyHiddenHeader && css48`
17622
+ ${({ $visuallyHiddenHeader }) => $visuallyHiddenHeader && css47`
17644
17623
  thead {
17645
17624
  ${visuallyHiddenStyle}
17646
17625
  }
@@ -17683,9 +17662,9 @@ var TableBody = ({ children, ...props }) => {
17683
17662
 
17684
17663
  // src/components/Table/TableCell.tsx
17685
17664
  import { useContext as useContext17 } from "react";
17686
- import { styled as styled99, css as css49 } from "styled-components";
17665
+ import { styled as styled99, css as css48 } from "styled-components";
17687
17666
  import { jsx as jsx325 } from "react/jsx-runtime";
17688
- var sharedStyles = css49`
17667
+ var sharedStyles = css48`
17689
17668
  color: var(--wui-color-text);
17690
17669
  padding: var(--wui-space-02);
17691
17670
  text-align: left;
@@ -17968,9 +17947,9 @@ import {
17968
17947
 
17969
17948
  // src/private/helpers/getBackgroundGradient/getBackgroundGradient.ts
17970
17949
  import { isNotNil as isNotNil41 } from "@wistia/type-guards";
17971
- import { css as css50 } from "styled-components";
17950
+ import { css as css49 } from "styled-components";
17972
17951
  var gradients = {
17973
- defaultDarkOne: css50`
17952
+ defaultDarkOne: css49`
17974
17953
  background-color: #222d66;
17975
17954
  background-image:
17976
17955
  radial-gradient(farthest-corner at top right, #222d66, transparent 70%),
@@ -17978,7 +17957,7 @@ var gradients = {
17978
17957
  radial-gradient(farthest-corner at bottom left, #6b84ff, transparent 57%),
17979
17958
  radial-gradient(farthest-corner at top left, #2949e5, transparent 68%);
17980
17959
  `,
17981
- defaultDarkTwo: css50`
17960
+ defaultDarkTwo: css49`
17982
17961
  background-color: #222d66;
17983
17962
  background-image:
17984
17963
  radial-gradient(farthest-corner at top left, #6b84ff, transparent 100%),
@@ -17986,7 +17965,7 @@ var gradients = {
17986
17965
  radial-gradient(farthest-corner at bottom right, #2949e5, transparent 50%),
17987
17966
  radial-gradient(farthest-corner at top right, #2949e5, transparent 70%);
17988
17967
  `,
17989
- defaultLightOne: css50`
17968
+ defaultLightOne: css49`
17990
17969
  background-color: #ccd5ff;
17991
17970
  background-image:
17992
17971
  radial-gradient(farthest-corner at bottom right, #ccd5ff, transparent 55%),
@@ -17994,13 +17973,13 @@ var gradients = {
17994
17973
  radial-gradient(farthest-corner at top right, #6b84ff, transparent 50%),
17995
17974
  radial-gradient(farthest-corner at bottom left, #f7f8ff, transparent 50%);
17996
17975
  `,
17997
- defaultLightTwo: css50`
17976
+ defaultLightTwo: css49`
17998
17977
  background-color: #ccd5ff;
17999
17978
  background-image:
18000
17979
  radial-gradient(ellipse at top, #ccd5ff, transparent),
18001
17980
  radial-gradient(ellipse at bottom, #6b84ff, transparent);
18002
17981
  `,
18003
- defaultMidOne: css50`
17982
+ defaultMidOne: css49`
18004
17983
  background-color: #6b84ff;
18005
17984
  background-image:
18006
17985
  radial-gradient(farthest-corner at top right, #2949e5, transparent 70%),
@@ -18008,13 +17987,13 @@ var gradients = {
18008
17987
  radial-gradient(farthest-corner at top left, #6b84ff, transparent 80%),
18009
17988
  radial-gradient(farthest-corner at bottom left, #222d66, transparent 57%);
18010
17989
  `,
18011
- defaultMidTwo: css50`
17990
+ defaultMidTwo: css49`
18012
17991
  background-color: #6b84ff;
18013
17992
  background-image:
18014
17993
  radial-gradient(ellipse at top, #2949e5, transparent),
18015
17994
  radial-gradient(ellipse at bottom, #ccd5ff, transparent);
18016
17995
  `,
18017
- green: css50`
17996
+ green: css49`
18018
17997
  background-color: #fafffa;
18019
17998
  background-image:
18020
17999
  radial-gradient(farthest-corner at bottom left, #b0e5a5, transparent 50%),
@@ -18022,7 +18001,7 @@ var gradients = {
18022
18001
  radial-gradient(farthest-corner at top left, #44b62d, transparent 65%),
18023
18002
  radial-gradient(farthest-corner at bottom right, #44b62d, transparent 55%);
18024
18003
  `,
18025
- greenWithPop: css50`
18004
+ greenWithPop: css49`
18026
18005
  background-color: #fafffa;
18027
18006
  background-image:
18028
18007
  radial-gradient(farthest-corner at bottom left, #b0e5a5, transparent 50%),
@@ -18030,7 +18009,7 @@ var gradients = {
18030
18009
  radial-gradient(farthest-corner at top left, #44b62d, transparent 65%),
18031
18010
  radial-gradient(farthest-corner at bottom right, #44b62d, transparent 55%);
18032
18011
  `,
18033
- pink: css50`
18012
+ pink: css49`
18034
18013
  background-color: #fffff0;
18035
18014
  background-image:
18036
18015
  radial-gradient(farthest-corner at bottom left, #ffc7e8, transparent 50%),
@@ -18038,7 +18017,7 @@ var gradients = {
18038
18017
  radial-gradient(farthest-corner at top left, #ff40b3, transparent 65%),
18039
18018
  radial-gradient(farthest-corner at bottom right, #ff40b3, transparent 55%);
18040
18019
  `,
18041
- pinkWithPop: css50`
18020
+ pinkWithPop: css49`
18042
18021
  background-color: #fffff0;
18043
18022
  background-image:
18044
18023
  radial-gradient(farthest-corner at top right, #e0128e, transparent 70%),
@@ -18046,7 +18025,7 @@ var gradients = {
18046
18025
  radial-gradient(farthest-corner at bottom right, #ff40b3, transparent 55%),
18047
18026
  radial-gradient(farthest-corner at bottom left, #2949e5, transparent 50%);
18048
18027
  `,
18049
- playfulGradientOne: css50`
18028
+ playfulGradientOne: css49`
18050
18029
  background-color: #f7f8ff;
18051
18030
  background-image:
18052
18031
  radial-gradient(farthest-corner at top left, #d65cff, transparent 68%),
@@ -18054,7 +18033,7 @@ var gradients = {
18054
18033
  radial-gradient(farthest-corner at bottom left, #ffc7e8, transparent 57%),
18055
18034
  radial-gradient(farthest-corner at top right, #ffcaba, transparent 70%);
18056
18035
  `,
18057
- playfulGradientTwo: css50`
18036
+ playfulGradientTwo: css49`
18058
18037
  background-color: #f7f8ff;
18059
18038
  background-image:
18060
18039
  radial-gradient(farthest-corner at top left, #44b62d, transparent 68%),
@@ -18062,13 +18041,13 @@ var gradients = {
18062
18041
  radial-gradient(farthest-corner at bottom left, #ccd5ff, transparent 57%),
18063
18042
  radial-gradient(farthest-corner at top right, #2949e5, transparent 70%);
18064
18043
  `,
18065
- purple: css50`
18044
+ purple: css49`
18066
18045
  background-color: #f2caff;
18067
18046
  background-image:
18068
18047
  radial-gradient(ellipse at 0% 100%, #f9e5ff, transparent 50%),
18069
18048
  radial-gradient(ellipse at 100% 0%, #e093fa, transparent 70%);
18070
18049
  `,
18071
- purpleWithPop: css50`
18050
+ purpleWithPop: css49`
18072
18051
  background-color: #f2caff;
18073
18052
  background-image:
18074
18053
  radial-gradient(farthest-corner at bottom left, #f2caff, transparent 50%),
@@ -18076,7 +18055,7 @@ var gradients = {
18076
18055
  radial-gradient(farthest-corner at bottom right, #d65cff, transparent 55%),
18077
18056
  radial-gradient(farthest-corner at top right, #2949e5, transparent 70%);
18078
18057
  `,
18079
- yellow: css50`
18058
+ yellow: css49`
18080
18059
  background-color: #fffff0;
18081
18060
  background-image:
18082
18061
  radial-gradient(farthest-corner at bottom left, #eff18d, transparent 50%),
@@ -18084,7 +18063,7 @@ var gradients = {
18084
18063
  radial-gradient(farthest-corner at top left, #e8ec1e, transparent 65%),
18085
18064
  radial-gradient(farthest-corner at bottom right, #e8ec1e, transparent 55%);
18086
18065
  `,
18087
- yellowWithPop: css50`
18066
+ yellowWithPop: css49`
18088
18067
  background-color: #fffff0;
18089
18068
  background-image:
18090
18069
  radial-gradient(farthest-corner at bottom left, #eff18d, transparent 50%),
@@ -18545,7 +18524,7 @@ var ThumbnailCollage = ({
18545
18524
  };
18546
18525
 
18547
18526
  // src/components/WistiaLogo/WistiaLogo.tsx
18548
- import { styled as styled110, css as css51 } from "styled-components";
18527
+ import { styled as styled110, css as css50 } from "styled-components";
18549
18528
  import { isNotNil as isNotNil44 } from "@wistia/type-guards";
18550
18529
  import { jsx as jsx337, jsxs as jsxs71 } from "react/jsx-runtime";
18551
18530
  var renderBrandmark = (brandmarkColor, iconOnly) => {
@@ -18603,12 +18582,12 @@ var WistiaLogoComponent = styled110.svg`
18603
18582
  ${({ $opticallyCentered, $iconOnly }) => {
18604
18583
  if ($opticallyCentered) {
18605
18584
  if ($iconOnly) {
18606
- return css51`
18585
+ return css50`
18607
18586
  aspect-ratio: 1;
18608
18587
  padding: 11.85% 3.12% 13.91%;
18609
18588
  `;
18610
18589
  }
18611
- return css51`
18590
+ return css50`
18612
18591
  aspect-ratio: 127 / 32;
18613
18592
  `;
18614
18593
  }