@wistia/ui 0.6.24 → 0.6.25

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.mjs CHANGED
@@ -1,6 +1,6 @@
1
1
 
2
2
  /*
3
- * @license @wistia/ui v0.6.24
3
+ * @license @wistia/ui v0.6.25
4
4
  *
5
5
  * Copyright (c) 2024-2025, Wistia, Inc. and its affiliates.
6
6
  *
@@ -7554,7 +7554,7 @@ var CheckIcon = () => /* @__PURE__ */ jsx202(
7554
7554
  )
7555
7555
  }
7556
7556
  );
7557
- var inputSizeSmall = css20`
7557
+ var sizeSmall = css20`
7558
7558
  width: 14px;
7559
7559
  height: 14px;
7560
7560
  min-width: 14px;
@@ -7565,7 +7565,7 @@ var inputSizeSmall = css20`
7565
7565
  height: 7px;
7566
7566
  }
7567
7567
  `;
7568
- var inputSizeMedium = css20`
7568
+ var sizeMedium = css20`
7569
7569
  width: 16px;
7570
7570
  height: 16px;
7571
7571
  min-width: 16px;
@@ -7576,7 +7576,7 @@ var inputSizeMedium = css20`
7576
7576
  height: 9px;
7577
7577
  }
7578
7578
  `;
7579
- var inputSizeLarge = css20`
7579
+ var sizeLarge = css20`
7580
7580
  width: 20px;
7581
7581
  height: 20px;
7582
7582
  min-width: 20px;
@@ -7588,9 +7588,9 @@ var inputSizeLarge = css20`
7588
7588
  }
7589
7589
  `;
7590
7590
  var getSizeCss = (size) => {
7591
- if (size === "sm") return inputSizeSmall;
7592
- if (size === "lg") return inputSizeLarge;
7593
- return inputSizeMedium;
7591
+ if (size === "sm") return sizeSmall;
7592
+ if (size === "lg") return sizeLarge;
7593
+ return sizeMedium;
7594
7594
  };
7595
7595
  var StyledCheckboxWrapper = styled18.div`
7596
7596
  display: flex;
@@ -10299,7 +10299,7 @@ var RadioIcon = () => /* @__PURE__ */ jsx241(
10299
10299
  )
10300
10300
  }
10301
10301
  );
10302
- var inputSizeSmall2 = css30`
10302
+ var sizeSmall2 = css30`
10303
10303
  width: 14px;
10304
10304
  height: 14px;
10305
10305
  min-width: 14px;
@@ -10310,7 +10310,7 @@ var inputSizeSmall2 = css30`
10310
10310
  height: 7px;
10311
10311
  }
10312
10312
  `;
10313
- var inputSizeMedium2 = css30`
10313
+ var sizeMedium2 = css30`
10314
10314
  width: 16px;
10315
10315
  height: 16px;
10316
10316
  min-width: 16px;
@@ -10321,7 +10321,7 @@ var inputSizeMedium2 = css30`
10321
10321
  height: 8px;
10322
10322
  }
10323
10323
  `;
10324
- var inputSizeLarge2 = css30`
10324
+ var sizeLarge2 = css30`
10325
10325
  width: 20px;
10326
10326
  height: 20px;
10327
10327
  min-width: 20px;
@@ -10333,9 +10333,9 @@ var inputSizeLarge2 = css30`
10333
10333
  }
10334
10334
  `;
10335
10335
  var getSizeCss2 = (size) => {
10336
- if (size === "sm") return inputSizeSmall2;
10337
- if (size === "lg") return inputSizeLarge2;
10338
- return inputSizeMedium2;
10336
+ if (size === "sm") return sizeSmall2;
10337
+ if (size === "lg") return sizeLarge2;
10338
+ return sizeMedium2;
10339
10339
  };
10340
10340
  var StyledRadioWrapper = styled49.div`
10341
10341
  display: flex;
@@ -10926,20 +10926,183 @@ var SelectOptionGroup = ({ children, label, ...props }) => {
10926
10926
  ] });
10927
10927
  };
10928
10928
 
10929
- // src/components/Table/Table.tsx
10929
+ // src/components/Switch/Switch.tsx
10930
+ import { forwardRef as forwardRef23, useId as useId4 } from "react";
10930
10931
  import styled56, { css as css33 } from "styled-components";
10931
- import { jsx as jsx248 } from "react/jsx-runtime";
10932
- var StyledTable = styled56.table`
10932
+ import { isNonEmptyString as isNonEmptyString4 } from "@wistia/type-guards";
10933
+ import { jsx as jsx248, jsxs as jsxs38 } from "react/jsx-runtime";
10934
+ var sizeSmall3 = css33`
10935
+ --wui-size-small-width: 24px;
10936
+ --wui-size-small-height: 14px;
10937
+
10938
+ width: var(--wui-size-small-width);
10939
+ height: var(--wui-size-small-height);
10940
+ min-width: var(--wui-size-small-width);
10941
+ min-height: var(--wui-size-small-height);
10942
+ border-radius: calc(var(--wui-size-small-height) / 2);
10943
+
10944
+ &::after {
10945
+ width: calc(var(--wui-size-small-width) / 2);
10946
+ height: calc(var(--wui-size-small-width) / 2);
10947
+ }
10948
+ `;
10949
+ var sizeMedium3 = css33`
10950
+ --wui-size-medium-width: 32px;
10951
+ --wui-size-medium-height: 18px;
10952
+
10953
+ width: var(--wui-size-medium-width);
10954
+ height: var(--wui-size-medium-height);
10955
+ min-width: var(--wui-size-medium-width);
10956
+ min-height: var(--wui-size-medium-height);
10957
+ border-radius: calc(var(--wui-size-medium-height) / 2);
10958
+
10959
+ &::after {
10960
+ width: calc(var(--wui-size-medium-width) / 2);
10961
+ height: calc(var(--wui-size-medium-width) / 2);
10962
+ }
10963
+ `;
10964
+ var sizeLarge3 = css33`
10965
+ --wui-size-large-width: 40px;
10966
+ --wui-size-large-height: 22px;
10967
+
10968
+ width: var(--wui-size-large-width);
10969
+ height: var(--wui-size-large-height);
10970
+ min-width: var(--wui-size-large-width);
10971
+ min-height: var(--wui-size-large-height);
10972
+ border-radius: calc(var(--wui-size-large-height) / 2);
10973
+
10974
+ &::after {
10975
+ width: calc(var(--wui-size-large-width) / 2);
10976
+ height: calc(var(--wui-size-large-width) / 2);
10977
+ }
10978
+ `;
10979
+ var getSizeCss3 = (size) => {
10980
+ if (size === "sm") return sizeSmall3;
10981
+ if (size === "lg") return sizeLarge3;
10982
+ return sizeMedium3;
10983
+ };
10984
+ var StyledSwitchWrapper = styled56.div`
10985
+ display: flex;
10986
+ margin: 0;
10987
+
10988
+ /* TODO this solves a problem but potentially causes and a11y issue */
10989
+ user-select: none;
10990
+ `;
10991
+ var StyledSwitchInput = styled56.div`
10992
+ ${({ $size }) => getSizeCss3($size)}
10993
+ line-height: 0;
10994
+ margin: 0;
10995
+ display: grid;
10996
+ place-content: center;
10997
+ align-self: flex-start;
10998
+ position: relative;
10999
+ transition: all 0.2s ease-in-out;
11000
+ border-width: 1px;
11001
+ border-style: solid;
11002
+ border-color: ${({ $disabled }) => $disabled ? "var(--wui-color-bg-border-disabled)" : "var(--wui-color-border)"}; /* "off state" border */
11003
+
11004
+ background-color: ${({ $disabled }) => $disabled ? "var(--wui-color-bg-surface-disabled)" : "var(--wui-color-bg-surface-secondary)"}; /* "off state" background */
11005
+
11006
+ &::after {
11007
+ content: '';
11008
+ position: absolute;
11009
+ left: 0;
11010
+ top: 50%;
11011
+ transform: translateY(-50%);
11012
+ border-radius: 50%;
11013
+ box-shadow: 1px 0 1px rgb(0 0 0 / 10%); /* "off state" shadow - cast horizontally right */
11014
+ background-color: ${({ $disabled }) => $disabled ? "var(--wui-color-bg-surface-disabled)" : "var(--wui-color-bg-fill-white)"}; /* "off state" dot color */
11015
+
11016
+ transition: all 0.2s ease-in-out;
11017
+ }
11018
+ `;
11019
+ var StyledHiddenSwitchInput = styled56.input`
11020
+ ${visuallyHiddenStyle}
11021
+
11022
+ /* toggles display of faux-input background-color and toggle position */
11023
+ &:checked + label [data-wui-faux-input='true'] {
11024
+ border-color: ${({ disabled }) => disabled ? void 0 : "var(--wui-color-bg-fill)"}; /* "on state" border */
11025
+
11026
+ background-color: ${({ disabled }) => disabled ? "var(--wui-color-bg-surface-disabled)" : "var(--wui-color-bg-fill)"}; /* "on state" background */
11027
+
11028
+ &::after {
11029
+ transform: translate(calc(100% - 2px), -50%); /* 2px is the border width */
11030
+ box-shadow: -1px 0 1px rgb(0 0 0 / 10%); /* "on state" shadow - cast horizontally left */
11031
+ background-color: ${({ disabled }) => disabled ? "var(--wui-color-bg-surface-disabled)" : "var(--wui-color-bg-fill-white)"}; /* "on state" dot color */
11032
+ }
11033
+ }
11034
+ `;
11035
+ var Switch = forwardRef23(
11036
+ ({
11037
+ checked,
11038
+ disabled = false,
11039
+ id,
11040
+ label,
11041
+ description,
11042
+ name,
11043
+ onChange,
11044
+ size = "md",
11045
+ value,
11046
+ required = false,
11047
+ hideLabel = false,
11048
+ ...props
11049
+ }, ref) => {
11050
+ const generatedId = useId4();
11051
+ const computedId = isNonEmptyString4(id) ? id : `wistia-ui-switch-${generatedId}`;
11052
+ return /* @__PURE__ */ jsxs38(StyledSwitchWrapper, { $disabled: disabled, children: [
11053
+ /* @__PURE__ */ jsx248(
11054
+ StyledHiddenSwitchInput,
11055
+ {
11056
+ ...props,
11057
+ ref,
11058
+ checked,
11059
+ disabled,
11060
+ id: computedId,
11061
+ name,
11062
+ onChange,
11063
+ required,
11064
+ type: "checkbox",
11065
+ value
11066
+ }
11067
+ ),
11068
+ /* @__PURE__ */ jsx248(
11069
+ FormControlLabel,
11070
+ {
11071
+ controlSlot: /* @__PURE__ */ jsx248(
11072
+ StyledSwitchInput,
11073
+ {
11074
+ $disabled: disabled,
11075
+ $size: size,
11076
+ "data-testid": "wui-faux-input",
11077
+ "data-wui-faux-input": "true"
11078
+ }
11079
+ ),
11080
+ description,
11081
+ disabled,
11082
+ hideLabel,
11083
+ htmlFor: computedId,
11084
+ label
11085
+ }
11086
+ )
11087
+ ] });
11088
+ }
11089
+ );
11090
+ Switch.displayName = "Switch";
11091
+
11092
+ // src/components/Table/Table.tsx
11093
+ import styled57, { css as css34 } from "styled-components";
11094
+ import { jsx as jsx249 } from "react/jsx-runtime";
11095
+ var StyledTable = styled57.table`
10933
11096
  width: 100%;
10934
11097
  border-collapse: collapse;
10935
11098
 
10936
- ${({ $striped }) => $striped && css33`
11099
+ ${({ $striped }) => $striped && css34`
10937
11100
  tbody tr:nth-child(even) {
10938
11101
  background-color: var(--wui-color-bg-surface-secondary);
10939
11102
  }
10940
11103
  `}
10941
11104
 
10942
- ${({ $divided }) => $divided && css33`
11105
+ ${({ $divided }) => $divided && css34`
10943
11106
  tr {
10944
11107
  border-bottom: 1px solid var(--wui-color-border);
10945
11108
  }
@@ -10951,7 +11114,7 @@ var Table = ({
10951
11114
  divided = false,
10952
11115
  ...props
10953
11116
  }) => {
10954
- return /* @__PURE__ */ jsx248(
11117
+ return /* @__PURE__ */ jsx249(
10955
11118
  StyledTable,
10956
11119
  {
10957
11120
  $divided: divided,
@@ -10963,35 +11126,35 @@ var Table = ({
10963
11126
  };
10964
11127
 
10965
11128
  // src/components/Table/TableBody.tsx
10966
- import styled57 from "styled-components";
11129
+ import styled58 from "styled-components";
10967
11130
 
10968
11131
  // src/components/Table/TableSectionContext.ts
10969
11132
  import { createContext as createContext8 } from "react";
10970
11133
  var TableSectionContext = createContext8(null);
10971
11134
 
10972
11135
  // src/components/Table/TableBody.tsx
10973
- import { jsx as jsx249 } from "react/jsx-runtime";
10974
- var StyledTbody = styled57.tbody``;
11136
+ import { jsx as jsx250 } from "react/jsx-runtime";
11137
+ var StyledTbody = styled58.tbody``;
10975
11138
  var TableBody = ({ children, ...props }) => {
10976
- return /* @__PURE__ */ jsx249(TableSectionContext.Provider, { value: "body", children: /* @__PURE__ */ jsx249(StyledTbody, { ...props, children }) });
11139
+ return /* @__PURE__ */ jsx250(TableSectionContext.Provider, { value: "body", children: /* @__PURE__ */ jsx250(StyledTbody, { ...props, children }) });
10977
11140
  };
10978
11141
 
10979
11142
  // src/components/Table/TableCell.tsx
10980
11143
  import { useContext as useContext7 } from "react";
10981
- import styled58, { css as css34 } from "styled-components";
10982
- import { jsx as jsx250 } from "react/jsx-runtime";
10983
- var sharedStyles = css34`
11144
+ import styled59, { css as css35 } from "styled-components";
11145
+ import { jsx as jsx251 } from "react/jsx-runtime";
11146
+ var sharedStyles = css35`
10984
11147
  color: var(--wui-color-text);
10985
11148
  padding: var(--wui-space-02);
10986
11149
  text-align: left;
10987
11150
  `;
10988
- var StyledTh = styled58.th`
11151
+ var StyledTh = styled59.th`
10989
11152
  ${sharedStyles}
10990
11153
  font-size: var(--wui-typography-body-4-size);
10991
11154
  font-weight: var(--wui-typography-weight-label-bold);
10992
11155
  line-height: var(--wui-typography-body-4-line-height);
10993
11156
  `;
10994
- var StyledTd = styled58.td`
11157
+ var StyledTd = styled59.td`
10995
11158
  ${sharedStyles}
10996
11159
  font-size: var(--wui-typography-body-2-size);
10997
11160
  font-weight: var(--wui-typography-body-2-weight);
@@ -11000,51 +11163,51 @@ var StyledTd = styled58.td`
11000
11163
  var TableCell = ({ children, ...props }) => {
11001
11164
  const section = useContext7(TableSectionContext);
11002
11165
  if (section === "head") {
11003
- return /* @__PURE__ */ jsx250(StyledTh, { ...props, children });
11166
+ return /* @__PURE__ */ jsx251(StyledTh, { ...props, children });
11004
11167
  }
11005
- return /* @__PURE__ */ jsx250(StyledTd, { ...props, children });
11168
+ return /* @__PURE__ */ jsx251(StyledTd, { ...props, children });
11006
11169
  };
11007
11170
 
11008
11171
  // src/components/Table/TableFooter.tsx
11009
- import styled59 from "styled-components";
11010
- import { jsx as jsx251 } from "react/jsx-runtime";
11011
- var StyledTfoot = styled59.tfoot``;
11172
+ import styled60 from "styled-components";
11173
+ import { jsx as jsx252 } from "react/jsx-runtime";
11174
+ var StyledTfoot = styled60.tfoot``;
11012
11175
  var TableFooter = ({ children, ...props }) => {
11013
- return /* @__PURE__ */ jsx251(TableSectionContext.Provider, { value: "footer", children: /* @__PURE__ */ jsx251(StyledTfoot, { ...props, children }) });
11176
+ return /* @__PURE__ */ jsx252(TableSectionContext.Provider, { value: "footer", children: /* @__PURE__ */ jsx252(StyledTfoot, { ...props, children }) });
11014
11177
  };
11015
11178
 
11016
11179
  // src/components/Table/TableHead.tsx
11017
- import styled60 from "styled-components";
11018
- import { jsx as jsx252 } from "react/jsx-runtime";
11019
- var StyledThead = styled60.thead``;
11180
+ import styled61 from "styled-components";
11181
+ import { jsx as jsx253 } from "react/jsx-runtime";
11182
+ var StyledThead = styled61.thead``;
11020
11183
  var TableHead = ({ children, ...props }) => {
11021
- return /* @__PURE__ */ jsx252(TableSectionContext.Provider, { value: "head", children: /* @__PURE__ */ jsx252(StyledThead, { ...props, children }) });
11184
+ return /* @__PURE__ */ jsx253(TableSectionContext.Provider, { value: "head", children: /* @__PURE__ */ jsx253(StyledThead, { ...props, children }) });
11022
11185
  };
11023
11186
 
11024
11187
  // src/components/Table/TableRow.tsx
11025
- import styled61 from "styled-components";
11026
- import { jsx as jsx253 } from "react/jsx-runtime";
11027
- var StyledTr = styled61.tr``;
11188
+ import styled62 from "styled-components";
11189
+ import { jsx as jsx254 } from "react/jsx-runtime";
11190
+ var StyledTr = styled62.tr``;
11028
11191
  var TableRow = ({ children, ...props }) => {
11029
- return /* @__PURE__ */ jsx253(StyledTr, { ...props, children });
11192
+ return /* @__PURE__ */ jsx254(StyledTr, { ...props, children });
11030
11193
  };
11031
11194
 
11032
11195
  // src/components/Tabs/Tabs.tsx
11033
- import { forwardRef as forwardRef24, useState as useState10 } from "react";
11196
+ import { forwardRef as forwardRef25, useState as useState10 } from "react";
11034
11197
  import { Root as TabsRoot } from "@radix-ui/react-tabs";
11035
11198
  import { isNotNil as isNotNil24, isNil as isNil15 } from "@wistia/type-guards";
11036
- import styled66 from "styled-components";
11199
+ import styled67 from "styled-components";
11037
11200
 
11038
11201
  // src/components/Tabs/TabPanel.tsx
11039
- import styled62 from "styled-components";
11202
+ import styled63 from "styled-components";
11040
11203
  import { Content as TabsContent } from "@radix-ui/react-tabs";
11041
- import { jsx as jsx254 } from "react/jsx-runtime";
11042
- var StyledTabPanel = styled62(TabsContent)`
11204
+ import { jsx as jsx255 } from "react/jsx-runtime";
11205
+ var StyledTabPanel = styled63(TabsContent)`
11043
11206
  display: flex;
11044
11207
  flex-direction: column;
11045
11208
  `;
11046
11209
  var TabPanel = ({ children, value, ...props }) => {
11047
- return /* @__PURE__ */ jsx254(
11210
+ return /* @__PURE__ */ jsx255(
11048
11211
  StyledTabPanel,
11049
11212
  {
11050
11213
  value,
@@ -11056,10 +11219,10 @@ var TabPanel = ({ children, value, ...props }) => {
11056
11219
  TabPanel.displayName = "TabPanel";
11057
11220
 
11058
11221
  // src/components/Tabs/TabList.tsx
11059
- import styled63 from "styled-components";
11222
+ import styled64 from "styled-components";
11060
11223
  import { List as RadixTabList } from "@radix-ui/react-tabs";
11061
- import { jsx as jsx255 } from "react/jsx-runtime";
11062
- var StyledTabList = styled63(RadixTabList)`
11224
+ import { jsx as jsx256 } from "react/jsx-runtime";
11225
+ var StyledTabList = styled64(RadixTabList)`
11063
11226
  ${segmentedControlStyles}
11064
11227
 
11065
11228
  margin-bottom: var(--wui-space-04);
@@ -11072,7 +11235,7 @@ var TabList = ({
11072
11235
  ariaLabel,
11073
11236
  ...props
11074
11237
  }) => {
11075
- return /* @__PURE__ */ jsx255(
11238
+ return /* @__PURE__ */ jsx256(
11076
11239
  StyledTabList,
11077
11240
  {
11078
11241
  $fullWidth: fullWidth,
@@ -11085,8 +11248,8 @@ var TabList = ({
11085
11248
  TabList.displayName = "TabList";
11086
11249
 
11087
11250
  // src/components/Tabs/TabItem.tsx
11088
- import { forwardRef as forwardRef23, useEffect as useEffect7, useRef as useRef10 } from "react";
11089
- import styled64 from "styled-components";
11251
+ import { forwardRef as forwardRef24, useEffect as useEffect7, useRef as useRef10 } from "react";
11252
+ import styled65 from "styled-components";
11090
11253
  import { Trigger as RadixTab } from "@radix-ui/react-tabs";
11091
11254
  import { isNotNil as isNotNil23 } from "@wistia/type-guards";
11092
11255
 
@@ -11103,15 +11266,15 @@ var useTabsValue = () => {
11103
11266
  };
11104
11267
 
11105
11268
  // src/components/Tabs/TabItem.tsx
11106
- import { jsxs as jsxs38 } from "react/jsx-runtime";
11107
- var StyledTabItem = styled64(RadixTab)`
11269
+ import { jsxs as jsxs39 } from "react/jsx-runtime";
11270
+ var StyledTabItem = styled65(RadixTab)`
11108
11271
  ${segmentedControlItemStyles}
11109
11272
 
11110
11273
  &:focus-visible {
11111
11274
  outline: none;
11112
11275
  }
11113
11276
  `;
11114
- var TabItem = forwardRef23(
11277
+ var TabItem = forwardRef24(
11115
11278
  ({ disabled = false, icon, label, "aria-label": ariaLabel, value }, forwardedRef) => {
11116
11279
  const selectedValue = useTabsValue();
11117
11280
  const { setSelectedItemMeasurements } = useSelectedItemMeasurements();
@@ -11142,7 +11305,7 @@ var TabItem = forwardRef23(
11142
11305
  resizeObserver.disconnect();
11143
11306
  };
11144
11307
  }, [selectedValue, setSelectedItemMeasurements, value]);
11145
- return /* @__PURE__ */ jsxs38(
11308
+ return /* @__PURE__ */ jsxs39(
11146
11309
  StyledTabItem,
11147
11310
  {
11148
11311
  ref: combinedRef,
@@ -11184,9 +11347,9 @@ var extractTabItems = (children) => {
11184
11347
 
11185
11348
  // src/components/Tabs/SelectedItemIndicator.tsx
11186
11349
  import { useMemo as useMemo10 } from "react";
11187
- import styled65 from "styled-components";
11188
- import { jsx as jsx256 } from "react/jsx-runtime";
11189
- var TabsSelectedItemIndicatorDiv = styled65(SelectedItemIndicatorDiv)`
11350
+ import styled66 from "styled-components";
11351
+ import { jsx as jsx257 } from "react/jsx-runtime";
11352
+ var TabsSelectedItemIndicatorDiv = styled66(SelectedItemIndicatorDiv)`
11190
11353
  &:has(~ ${StyledTabItem}:focus-visible) {
11191
11354
  outline: 2px solid var(--wui-color-focus-ring);
11192
11355
  }
@@ -11205,7 +11368,7 @@ var SelectedItemIndicator2 = () => {
11205
11368
  if (selectedValue == null) {
11206
11369
  return null;
11207
11370
  }
11208
- return /* @__PURE__ */ jsx256(
11371
+ return /* @__PURE__ */ jsx257(
11209
11372
  TabsSelectedItemIndicatorDiv,
11210
11373
  {
11211
11374
  style: {
@@ -11218,24 +11381,24 @@ var SelectedItemIndicator2 = () => {
11218
11381
  };
11219
11382
 
11220
11383
  // src/components/Tabs/Tabs.tsx
11221
- import { jsx as jsx257, jsxs as jsxs39 } from "react/jsx-runtime";
11222
- var TabsContainer = styled66.div`
11384
+ import { jsx as jsx258, jsxs as jsxs40 } from "react/jsx-runtime";
11385
+ var TabsContainer = styled67.div`
11223
11386
  display: flex;
11224
11387
  flex-direction: column;
11225
11388
  height: ${({ $stickyHeaders }) => $stickyHeaders ? "100%" : "auto"};
11226
11389
  overflow: ${({ $stickyHeaders }) => $stickyHeaders ? "hidden" : "visible"};
11227
11390
  `;
11228
- var StickyTabContent = styled66.div`
11391
+ var StickyTabContent = styled67.div`
11229
11392
  flex: ${({ $stickyHeaders }) => $stickyHeaders ? "1" : "initial"};
11230
11393
  overflow-y: ${({ $stickyHeaders }) => $stickyHeaders ? "auto" : "visible"};
11231
11394
  overflow-x: ${({ $stickyHeaders }) => $stickyHeaders ? "hidden" : "visible"};
11232
11395
  `;
11233
- var StyledTabsRoot = styled66(TabsRoot)`
11396
+ var StyledTabsRoot = styled67(TabsRoot)`
11234
11397
  display: flex;
11235
11398
  flex-direction: column;
11236
11399
  height: ${({ $stickyHeaders }) => $stickyHeaders ? "100%" : "auto"};
11237
11400
  `;
11238
- var Tabs = forwardRef24(
11401
+ var Tabs = forwardRef25(
11239
11402
  ({
11240
11403
  children,
11241
11404
  fullWidth = true,
@@ -11253,7 +11416,7 @@ var Tabs = forwardRef24(
11253
11416
  onValueChange: setInternalSelectedValue
11254
11417
  } : { value: selectedValue, onValueChange: onSelectedValueChange };
11255
11418
  const currentValue = defaultSelectedValue !== void 0 ? internalSelectedValue : selectedValue;
11256
- return /* @__PURE__ */ jsx257(TabsContainer, { $stickyHeaders: stickyHeaders, children: /* @__PURE__ */ jsx257(
11419
+ return /* @__PURE__ */ jsx258(TabsContainer, { $stickyHeaders: stickyHeaders, children: /* @__PURE__ */ jsx258(
11257
11420
  StyledTabsRoot,
11258
11421
  {
11259
11422
  ref,
@@ -11261,14 +11424,14 @@ var Tabs = forwardRef24(
11261
11424
  activationMode: "automatic",
11262
11425
  ...otherProps,
11263
11426
  ...modeProps,
11264
- children: /* @__PURE__ */ jsx257(TabsValueProvider, { value: currentValue, children: /* @__PURE__ */ jsxs39(SelectedItemMeasurementsProvider, { children: [
11265
- /* @__PURE__ */ jsxs39(
11427
+ children: /* @__PURE__ */ jsx258(TabsValueProvider, { value: currentValue, children: /* @__PURE__ */ jsxs40(SelectedItemMeasurementsProvider, { children: [
11428
+ /* @__PURE__ */ jsxs40(
11266
11429
  TabList,
11267
11430
  {
11268
11431
  ariaLabel,
11269
11432
  fullWidth,
11270
11433
  children: [
11271
- /* @__PURE__ */ jsx257(SelectedItemIndicator2, {}),
11434
+ /* @__PURE__ */ jsx258(SelectedItemIndicator2, {}),
11272
11435
  tabItems.map((tab) => {
11273
11436
  const {
11274
11437
  value,
@@ -11278,7 +11441,7 @@ var Tabs = forwardRef24(
11278
11441
  "aria-label": ariaLabelForTab
11279
11442
  } = tab.props;
11280
11443
  if (isNil15(icon)) {
11281
- return /* @__PURE__ */ jsx257(
11444
+ return /* @__PURE__ */ jsx258(
11282
11445
  TabItem,
11283
11446
  {
11284
11447
  disabled,
@@ -11289,7 +11452,7 @@ var Tabs = forwardRef24(
11289
11452
  );
11290
11453
  }
11291
11454
  if (isNotNil24(label)) {
11292
- return /* @__PURE__ */ jsx257(
11455
+ return /* @__PURE__ */ jsx258(
11293
11456
  TabItem,
11294
11457
  {
11295
11458
  disabled,
@@ -11301,7 +11464,7 @@ var Tabs = forwardRef24(
11301
11464
  );
11302
11465
  }
11303
11466
  if (isNotNil24(ariaLabelForTab)) {
11304
- return /* @__PURE__ */ jsx257(
11467
+ return /* @__PURE__ */ jsx258(
11305
11468
  TabItem,
11306
11469
  {
11307
11470
  "aria-label": ariaLabelForTab,
@@ -11317,7 +11480,7 @@ var Tabs = forwardRef24(
11317
11480
  ]
11318
11481
  }
11319
11482
  ),
11320
- /* @__PURE__ */ jsx257(StickyTabContent, { $stickyHeaders: stickyHeaders, children: tabItems.map((tab) => /* @__PURE__ */ jsx257(
11483
+ /* @__PURE__ */ jsx258(StickyTabContent, { $stickyHeaders: stickyHeaders, children: tabItems.map((tab) => /* @__PURE__ */ jsx258(
11321
11484
  TabPanel,
11322
11485
  {
11323
11486
  value: tab.props.value,
@@ -11333,19 +11496,19 @@ var Tabs = forwardRef24(
11333
11496
  Tabs.displayName = "Tabs";
11334
11497
 
11335
11498
  // src/components/Tabs/Tab.tsx
11336
- import { forwardRef as forwardRef25 } from "react";
11337
- import { jsx as jsx258 } from "react/jsx-runtime";
11338
- var Tab = forwardRef25(({ children }, ref) => {
11339
- return /* @__PURE__ */ jsx258("div", { ref, children });
11499
+ import { forwardRef as forwardRef26 } from "react";
11500
+ import { jsx as jsx259 } from "react/jsx-runtime";
11501
+ var Tab = forwardRef26(({ children }, ref) => {
11502
+ return /* @__PURE__ */ jsx259("div", { ref, children });
11340
11503
  });
11341
11504
  Tab.displayName = "Tab";
11342
11505
 
11343
11506
  // src/components/Tag/Tag.tsx
11344
- import { forwardRef as forwardRef26 } from "react";
11345
- import styled67 from "styled-components";
11346
- import { isNil as isNil16, isNotNil as isNotNil25, isNonEmptyString as isNonEmptyString4 } from "@wistia/type-guards";
11347
- import { Fragment as Fragment8, jsx as jsx259, jsxs as jsxs40 } from "react/jsx-runtime";
11348
- var TagLabel = styled67.a`
11507
+ import { forwardRef as forwardRef27 } from "react";
11508
+ import styled68 from "styled-components";
11509
+ import { isNil as isNil16, isNotNil as isNotNil25, isNonEmptyString as isNonEmptyString5 } from "@wistia/type-guards";
11510
+ import { Fragment as Fragment8, jsx as jsx260, jsxs as jsxs41 } from "react/jsx-runtime";
11511
+ var TagLabel = styled68.a`
11349
11512
  ${({ $colorScheme }) => getColorScheme($colorScheme)};
11350
11513
  font-size: var(--wui-typography-label-4-size);
11351
11514
  font-weight: var(--wui-typography-label-4-weight);
@@ -11380,14 +11543,14 @@ var TagLabel = styled67.a`
11380
11543
  box-shadow: inset 0 0 0 2px var(--wui-color-border-secondary);
11381
11544
  }
11382
11545
  `;
11383
- var TagDivider = styled67.div`
11546
+ var TagDivider = styled68.div`
11384
11547
  ${({ $colorScheme }) => getColorScheme($colorScheme)};
11385
11548
  border-left: 1px solid var(--wui-color-border);
11386
11549
  display: flex;
11387
11550
  height: 14px;
11388
11551
  width: 1px;
11389
11552
  `;
11390
- var StyledRemoveButton = styled67.button`
11553
+ var StyledRemoveButton = styled68.button`
11391
11554
  ${({ $colorScheme }) => getColorScheme($colorScheme)};
11392
11555
  all: unset;
11393
11556
  cursor: pointer;
@@ -11415,7 +11578,7 @@ var StyledRemoveButton = styled67.button`
11415
11578
  box-shadow: inset 0 0 0 2px var(--wui-color-border-secondary);
11416
11579
  }
11417
11580
  `;
11418
- var StyledTag = styled67.div`
11581
+ var StyledTag = styled68.div`
11419
11582
  ${({ $colorScheme }) => getColorScheme($colorScheme)};
11420
11583
  align-items: center;
11421
11584
  background-color: var(--wui-color-bg-surface-secondary);
@@ -11436,29 +11599,29 @@ var RemoveButton = ({ onClickRemove, onClickRemoveLabel, colorScheme }) => {
11436
11599
  "for accessibility, onClickRemoveLabel must be provided if onClickRemove is provided"
11437
11600
  );
11438
11601
  }
11439
- return /* @__PURE__ */ jsxs40(Fragment8, { children: [
11440
- /* @__PURE__ */ jsx259(TagDivider, { $colorScheme: colorScheme }),
11441
- /* @__PURE__ */ jsxs40(
11602
+ return /* @__PURE__ */ jsxs41(Fragment8, { children: [
11603
+ /* @__PURE__ */ jsx260(TagDivider, { $colorScheme: colorScheme }),
11604
+ /* @__PURE__ */ jsxs41(
11442
11605
  StyledRemoveButton,
11443
11606
  {
11444
11607
  $colorScheme: colorScheme,
11445
11608
  onClick: onClickRemove,
11446
11609
  type: "button",
11447
11610
  children: [
11448
- /* @__PURE__ */ jsx259(
11611
+ /* @__PURE__ */ jsx260(
11449
11612
  Icon,
11450
11613
  {
11451
11614
  size: "sm",
11452
11615
  type: "close"
11453
11616
  }
11454
11617
  ),
11455
- /* @__PURE__ */ jsx259(ScreenReaderOnly, { children: onClickRemoveLabel })
11618
+ /* @__PURE__ */ jsx260(ScreenReaderOnly, { children: onClickRemoveLabel })
11456
11619
  ]
11457
11620
  }
11458
11621
  )
11459
11622
  ] });
11460
11623
  };
11461
- var Tag = forwardRef26(
11624
+ var Tag = forwardRef27(
11462
11625
  ({
11463
11626
  onClickRemove,
11464
11627
  colorScheme = "inherit",
@@ -11469,15 +11632,15 @@ var Tag = forwardRef26(
11469
11632
  ...otherProps
11470
11633
  }, ref) => {
11471
11634
  const hasIcon = isNotNil25(icon);
11472
- const labelProps = isNotNil25(href) && isNonEmptyString4(href) ? { href, as: "a" } : { as: "span" };
11473
- return /* @__PURE__ */ jsxs40(
11635
+ const labelProps = isNotNil25(href) && isNonEmptyString5(href) ? { href, as: "a" } : { as: "span" };
11636
+ return /* @__PURE__ */ jsxs41(
11474
11637
  StyledTag,
11475
11638
  {
11476
11639
  ref,
11477
11640
  $colorScheme: colorScheme,
11478
11641
  ...otherProps,
11479
11642
  children: [
11480
- /* @__PURE__ */ jsxs40(
11643
+ /* @__PURE__ */ jsxs41(
11481
11644
  TagLabel,
11482
11645
  {
11483
11646
  ...labelProps,
@@ -11488,7 +11651,7 @@ var Tag = forwardRef26(
11488
11651
  ]
11489
11652
  }
11490
11653
  ),
11491
- /* @__PURE__ */ jsx259(
11654
+ /* @__PURE__ */ jsx260(
11492
11655
  RemoveButton,
11493
11656
  {
11494
11657
  colorScheme,
@@ -11504,26 +11667,26 @@ var Tag = forwardRef26(
11504
11667
  Tag.displayName = "Tag";
11505
11668
 
11506
11669
  // src/components/WistiaLogo/WistiaLogo.tsx
11507
- import styled68, { css as css35 } from "styled-components";
11670
+ import styled69, { css as css36 } from "styled-components";
11508
11671
  import { isNotNil as isNotNil26 } from "@wistia/type-guards";
11509
- import { jsx as jsx260, jsxs as jsxs41 } from "react/jsx-runtime";
11672
+ import { jsx as jsx261, jsxs as jsxs42 } from "react/jsx-runtime";
11510
11673
  var renderBrandmark = (brandmarkColor, iconOnly) => {
11511
11674
  if (iconOnly) {
11512
- return /* @__PURE__ */ jsx260(
11675
+ return /* @__PURE__ */ jsx261(
11513
11676
  "g",
11514
11677
  {
11515
11678
  "data-testid": "ui-wistia-logo-brandmark",
11516
11679
  fill: brandmarkColor,
11517
- children: /* @__PURE__ */ jsx260("path", { d: "M16.09 17.1h-5.2c-1.58 0-3.08.68-4.11 1.87L.21 26.53c4.78.25 9.78.25 13.3.25 18.31 0 20.89-11.27 20.89-16.55-1.59 1.93-6.06 6.87-18.32 6.87ZM32.14 0c-.08.92-.59 4.69-11.31 4.69-8.72 0-12.24 0-20.83-.17l6.44 7.4a6.657 6.657 0 0 0 4.96 2.3c2.13.03 5.05.06 5.53.06 11.01 0 17.19-5.05 17.19-9.89 0-2.01-.67-3.44-1.97-4.4Z" })
11680
+ children: /* @__PURE__ */ jsx261("path", { d: "M16.09 17.1h-5.2c-1.58 0-3.08.68-4.11 1.87L.21 26.53c4.78.25 9.78.25 13.3.25 18.31 0 20.89-11.27 20.89-16.55-1.59 1.93-6.06 6.87-18.32 6.87ZM32.14 0c-.08.92-.59 4.69-11.31 4.69-8.72 0-12.24 0-20.83-.17l6.44 7.4a6.657 6.657 0 0 0 4.96 2.3c2.13.03 5.05.06 5.53.06 11.01 0 17.19-5.05 17.19-9.89 0-2.01-.67-3.44-1.97-4.4Z" })
11518
11681
  }
11519
11682
  );
11520
11683
  }
11521
- return /* @__PURE__ */ jsx260(
11684
+ return /* @__PURE__ */ jsx261(
11522
11685
  "g",
11523
11686
  {
11524
11687
  "data-testid": "ui-wistia-logo-brandmark",
11525
11688
  fill: brandmarkColor,
11526
- children: /* @__PURE__ */ jsx260("path", { d: "M16.09 21.37h-5.2c-1.58 0-3.08.68-4.11 1.87L.21 30.8c4.78.25 9.78.25 13.3.25 18.31 0 20.89-11.27 20.89-16.55-1.59 1.93-6.06 6.87-18.32 6.87Zm16.05-17.1c-.08.92-.59 4.69-11.31 4.69-8.72 0-12.24 0-20.83-.17l6.44 7.4a6.657 6.657 0 0 0 4.96 2.3c2.13.03 5.05.06 5.53.06 11.01 0 17.19-5.05 17.19-9.89 0-2.01-.67-3.44-1.97-4.4Z" })
11689
+ children: /* @__PURE__ */ jsx261("path", { d: "M16.09 21.37h-5.2c-1.58 0-3.08.68-4.11 1.87L.21 30.8c4.78.25 9.78.25 13.3.25 18.31 0 20.89-11.27 20.89-16.55-1.59 1.93-6.06 6.87-18.32 6.87Zm16.05-17.1c-.08.92-.59 4.69-11.31 4.69-8.72 0-12.24 0-20.83-.17l6.44 7.4a6.657 6.657 0 0 0 4.96 2.3c2.13.03 5.05.06 5.53.06 11.01 0 17.19-5.05 17.19-9.89 0-2.01-.67-3.44-1.97-4.4Z" })
11527
11690
  }
11528
11691
  );
11529
11692
  };
@@ -11531,12 +11694,12 @@ var renderLogotype = (logotypeColor, iconOnly) => {
11531
11694
  if (iconOnly) {
11532
11695
  return null;
11533
11696
  }
11534
- return /* @__PURE__ */ jsx260(
11697
+ return /* @__PURE__ */ jsx261(
11535
11698
  "g",
11536
11699
  {
11537
11700
  "data-testid": "ui-wistia-logo-logotype",
11538
11701
  fill: logotypeColor,
11539
- children: /* @__PURE__ */ jsx260("path", { d: "M70.16 8.66v15.18c0 1.68-.35 3.09-1.05 4.23a6.612 6.612 0 0 1-2.85 2.54c-1.19.55-2.52.82-4.01.82s-2.8-.28-4.01-.85a6.655 6.655 0 0 1-3.11-2.96c-.08.15-.16.29-.24.42a6.552 6.552 0 0 1-2.87 2.54c-1.2.56-2.54.85-4.01.85s-2.8-.27-3.94-.82a6.214 6.214 0 0 1-2.71-2.52c-.67-1.14-1.01-2.56-1.02-4.25l-.22-15.18h7.34V22.3c0 .82.19 1.37.56 1.67.39.28.85.42 1.38.42s1.02-.15 1.45-.45c.43-.3.65-.85.65-1.65V8.65h7.3v13.64c0 .8.22 1.35.65 1.65.43.3.91.45 1.45.45s.99-.14 1.36-.42c.39-.3.58-.85.58-1.67V8.66h7.34Zm2.45 0v22.26h7.34V8.66h-7.34Zm5.67-1.87c.61-.3 1.08-.71 1.42-1.25.36-.55.53-1.19.53-1.94s-.18-1.34-.53-1.89A3.43 3.43 0 0 0 78.28.44c-.59-.3-1.25-.45-1.98-.45s-1.42.15-2.02.45c-.59.3-1.07.72-1.42 1.27-.36.55-.53 1.18-.53 1.89 0 1.1.38 1.97 1.13 2.63.76.65 1.71.98 2.85.98.73 0 1.39-.14 1.98-.42Zm8.86 1.96c-1.42.4-2.6 1.11-3.54 2.14-.93 1.02-1.4 2.4-1.4 4.12 0 1.11.17 2.09.51 2.94.36.85.82 1.62 1.38 2.34.22.28.55.65.98 1.11.37.4.64.72.8.96.18.24.27.47.27.69 0 .5-.4.87-1.2 1.09-.8.21-1.62.31-2.47.31-.1-.01-.22-.02-.33-.02l1.02 6.94c.42.07.92.11 1.51.11 1.9 0 3.6-.28 5.1-.85 1.5-.56 2.68-1.42 3.54-2.56.88-1.14 1.31-2.55 1.31-4.23 0-.68-.07-1.31-.22-1.87-.13-.58-.32-1.09-.56-1.54a6.64 6.64 0 0 0-.8-1.27c-.3-.37-.74-.82-1.34-1.36-.39-.33-.67-.59-.85-.8-.18-.22-.27-.45-.27-.67 0-.46.26-.79.78-.98.53-.19 1.17-.29 1.91-.29.25 0 .51.01.78.04l-.71-6.88a10.4 10.4 0 0 0-1.56-.11c-1.66 0-3.21.21-4.65.62Zm19.54 15.71c-.99 0-1.71-.23-2.14-.69-.42-.47-.62-1.18-.62-2.11v-6.57h4.21V8.66h-4.21V3.38l-7.34 1.85V24.1c0 2.45.47 4.29 1.4 5.52.95 1.22 2.45 1.83 4.49 1.83.95 0 1.86-.07 2.74-.22.88-.13 1.62-.34 2.25-.62l1.38-6.3c-.55.1-1.27.16-2.16.16Zm4.13-15.8v22.26h7.34V8.66h-7.34Zm5.67-1.87c.61-.3 1.08-.71 1.42-1.25.36-.55.53-1.19.53-1.94s-.18-1.34-.53-1.89a3.43 3.43 0 0 0-1.42-1.27c-.59-.3-1.25-.45-1.98-.45s-1.42.15-2.02.45c-.59.3-1.07.72-1.42 1.27-.36.55-.53 1.18-.53 1.89 0 1.1.38 1.97 1.14 2.63.76.65 1.71.98 2.85.98.73 0 1.39-.14 1.98-.42Zm27.51 1.87v22.26h-7.34v-2.28c-.41.43-.85.83-1.34 1.19-1.44 1.07-3.12 1.6-5.05 1.6s-3.61-.52-5.1-1.56c-1.48-1.05-2.63-2.47-3.45-4.25-.82-1.78-1.22-3.73-1.22-5.85s.41-4.07 1.22-5.83c.82-1.78 1.97-3.19 3.45-4.23 1.48-1.05 3.18-1.58 5.1-1.58s3.61.53 5.05 1.6c.48.36.93.75 1.34 1.19V8.66h7.34Zm-7.1 11.11c0-.8-.19-1.53-.56-2.18-.37-.67-.88-1.19-1.54-1.58-.64-.39-1.34-.58-2.09-.58s-1.45.19-2.09.58c-.64.39-1.15.91-1.54 1.58-.37.67-.56 1.39-.56 2.18s.19 1.51.56 2.18c.39.67.9 1.19 1.54 1.58.64.39 1.34.58 2.09.58s1.45-.19 2.09-.58c.65-.39 1.16-.91 1.54-1.56.37-.67.56-1.4.56-2.2Z" })
11702
+ children: /* @__PURE__ */ jsx261("path", { d: "M70.16 8.66v15.18c0 1.68-.35 3.09-1.05 4.23a6.612 6.612 0 0 1-2.85 2.54c-1.19.55-2.52.82-4.01.82s-2.8-.28-4.01-.85a6.655 6.655 0 0 1-3.11-2.96c-.08.15-.16.29-.24.42a6.552 6.552 0 0 1-2.87 2.54c-1.2.56-2.54.85-4.01.85s-2.8-.27-3.94-.82a6.214 6.214 0 0 1-2.71-2.52c-.67-1.14-1.01-2.56-1.02-4.25l-.22-15.18h7.34V22.3c0 .82.19 1.37.56 1.67.39.28.85.42 1.38.42s1.02-.15 1.45-.45c.43-.3.65-.85.65-1.65V8.65h7.3v13.64c0 .8.22 1.35.65 1.65.43.3.91.45 1.45.45s.99-.14 1.36-.42c.39-.3.58-.85.58-1.67V8.66h7.34Zm2.45 0v22.26h7.34V8.66h-7.34Zm5.67-1.87c.61-.3 1.08-.71 1.42-1.25.36-.55.53-1.19.53-1.94s-.18-1.34-.53-1.89A3.43 3.43 0 0 0 78.28.44c-.59-.3-1.25-.45-1.98-.45s-1.42.15-2.02.45c-.59.3-1.07.72-1.42 1.27-.36.55-.53 1.18-.53 1.89 0 1.1.38 1.97 1.13 2.63.76.65 1.71.98 2.85.98.73 0 1.39-.14 1.98-.42Zm8.86 1.96c-1.42.4-2.6 1.11-3.54 2.14-.93 1.02-1.4 2.4-1.4 4.12 0 1.11.17 2.09.51 2.94.36.85.82 1.62 1.38 2.34.22.28.55.65.98 1.11.37.4.64.72.8.96.18.24.27.47.27.69 0 .5-.4.87-1.2 1.09-.8.21-1.62.31-2.47.31-.1-.01-.22-.02-.33-.02l1.02 6.94c.42.07.92.11 1.51.11 1.9 0 3.6-.28 5.1-.85 1.5-.56 2.68-1.42 3.54-2.56.88-1.14 1.31-2.55 1.31-4.23 0-.68-.07-1.31-.22-1.87-.13-.58-.32-1.09-.56-1.54a6.64 6.64 0 0 0-.8-1.27c-.3-.37-.74-.82-1.34-1.36-.39-.33-.67-.59-.85-.8-.18-.22-.27-.45-.27-.67 0-.46.26-.79.78-.98.53-.19 1.17-.29 1.91-.29.25 0 .51.01.78.04l-.71-6.88a10.4 10.4 0 0 0-1.56-.11c-1.66 0-3.21.21-4.65.62Zm19.54 15.71c-.99 0-1.71-.23-2.14-.69-.42-.47-.62-1.18-.62-2.11v-6.57h4.21V8.66h-4.21V3.38l-7.34 1.85V24.1c0 2.45.47 4.29 1.4 5.52.95 1.22 2.45 1.83 4.49 1.83.95 0 1.86-.07 2.74-.22.88-.13 1.62-.34 2.25-.62l1.38-6.3c-.55.1-1.27.16-2.16.16Zm4.13-15.8v22.26h7.34V8.66h-7.34Zm5.67-1.87c.61-.3 1.08-.71 1.42-1.25.36-.55.53-1.19.53-1.94s-.18-1.34-.53-1.89a3.43 3.43 0 0 0-1.42-1.27c-.59-.3-1.25-.45-1.98-.45s-1.42.15-2.02.45c-.59.3-1.07.72-1.42 1.27-.36.55-.53 1.18-.53 1.89 0 1.1.38 1.97 1.14 2.63.76.65 1.71.98 2.85.98.73 0 1.39-.14 1.98-.42Zm27.51 1.87v22.26h-7.34v-2.28c-.41.43-.85.83-1.34 1.19-1.44 1.07-3.12 1.6-5.05 1.6s-3.61-.52-5.1-1.56c-1.48-1.05-2.63-2.47-3.45-4.25-.82-1.78-1.22-3.73-1.22-5.85s.41-4.07 1.22-5.83c.82-1.78 1.97-3.19 3.45-4.23 1.48-1.05 3.18-1.58 5.1-1.58s3.61.53 5.05 1.6c.48.36.93.75 1.34 1.19V8.66h7.34Zm-7.1 11.11c0-.8-.19-1.53-.56-2.18-.37-.67-.88-1.19-1.54-1.58-.64-.39-1.34-.58-2.09-.58s-1.45.19-2.09.58c-.64.39-1.15.91-1.54 1.58-.37.67-.56 1.39-.56 2.18s.19 1.51.56 2.18c.39.67.9 1.19 1.54 1.58.64.39 1.34.58 2.09.58s1.45-.19 2.09-.58c.65-.39 1.16-.91 1.54-1.56.37-.67.56-1.4.56-2.2Z" })
11540
11703
  }
11541
11704
  );
11542
11705
  };
@@ -11546,7 +11709,7 @@ var computedViewBox = (iconOnly) => {
11546
11709
  }
11547
11710
  return "0 0 144 31.47";
11548
11711
  };
11549
- var WistiaLogoComponent = styled68.svg`
11712
+ var WistiaLogoComponent = styled69.svg`
11550
11713
  height: ${({ height }) => `${height}px`};
11551
11714
 
11552
11715
  /* ensure it will always fit on mobile */
@@ -11562,12 +11725,12 @@ var WistiaLogoComponent = styled68.svg`
11562
11725
  ${({ $opticallyCentered, $iconOnly }) => {
11563
11726
  if ($opticallyCentered) {
11564
11727
  if ($iconOnly) {
11565
- return css35`
11728
+ return css36`
11566
11729
  aspect-ratio: 1;
11567
11730
  padding: 11.85% 3.12% 13.91%;
11568
11731
  `;
11569
11732
  }
11570
- return css35`
11733
+ return css36`
11571
11734
  aspect-ratio: 127 / 32;
11572
11735
  `;
11573
11736
  }
@@ -11604,7 +11767,7 @@ var WistiaLogo = ({
11604
11767
  };
11605
11768
  const brandmarkColor = VARIANT_COLORS[variant].brandmark;
11606
11769
  const logotypeColor = VARIANT_COLORS[variant].logotype;
11607
- const Logo = /* @__PURE__ */ jsxs41(
11770
+ const Logo = /* @__PURE__ */ jsxs42(
11608
11771
  WistiaLogoComponent,
11609
11772
  {
11610
11773
  $hoverColor: hoverColor,
@@ -11617,14 +11780,14 @@ var WistiaLogo = ({
11617
11780
  xmlns: "http://www.w3.org/2000/svg",
11618
11781
  ...otherProps,
11619
11782
  children: [
11620
- /* @__PURE__ */ jsx260("title", { children: title }),
11621
- isNotNil26(description) ? /* @__PURE__ */ jsx260("desc", { children: description }) : null,
11783
+ /* @__PURE__ */ jsx261("title", { children: title }),
11784
+ isNotNil26(description) ? /* @__PURE__ */ jsx261("desc", { children: description }) : null,
11622
11785
  renderBrandmark(brandmarkColor, iconOnly),
11623
11786
  renderLogotype(logotypeColor, iconOnly)
11624
11787
  ]
11625
11788
  }
11626
11789
  );
11627
- return href !== void 0 ? /* @__PURE__ */ jsx260("a", { href, children: Logo }) : Logo;
11790
+ return href !== void 0 ? /* @__PURE__ */ jsx261("a", { href, children: Logo }) : Logo;
11628
11791
  };
11629
11792
  WistiaLogo.displayName = "WistiaLogo";
11630
11793
  export {
@@ -11687,6 +11850,7 @@ export {
11687
11850
  SelectOptionGroup,
11688
11851
  Stack,
11689
11852
  SubMenu,
11853
+ Switch,
11690
11854
  Tab,
11691
11855
  Table,
11692
11856
  TableBody,