@wistia/ui 0.6.6-beta.8a5013fa.ed1975e → 0.6.6

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.cjs CHANGED
@@ -1,6 +1,6 @@
1
1
 
2
2
  /*
3
- * @license @wistia/ui v0.6.6-beta.8a5013fa.ed1975e
3
+ * @license @wistia/ui v0.6.6
4
4
  *
5
5
  * Copyright (c) 2024-2025, Wistia, Inc. and its affiliates.
6
6
  *
@@ -9639,9 +9639,8 @@ var SelectedItemIndicatorDiv = import_styled_components62.default.div`
9639
9639
  left: 0;
9640
9640
  position: absolute;
9641
9641
  top: 0;
9642
- box-shadow: var(--wui-elevation-01);
9643
9642
  transition:
9644
- transform var(--wui-motion-duration-02) var(--wui-motion-ease-out),
9643
+ transform var(--wui-motion-duration-03) var(--wui-motion-ease-out),
9645
9644
  width var(--wui-motion-duration-02) var(--wui-motion-ease-out);
9646
9645
  z-index: ${Z_INDEX_TO_SIT_BEHIND_SIBLINGS};
9647
9646
  `;
@@ -9749,16 +9748,13 @@ var segmentedControlItemStyles = import_styled_components64.css`
9749
9748
  color: var(--wui-color-text-secondary);
9750
9749
  cursor: pointer;
9751
9750
  display: flex;
9752
- gap: 2px;
9753
9751
  flex-grow: 1;
9754
9752
  flex-shrink: 1;
9755
9753
  font-size: var(--wui-typography-label-3-size);
9756
9754
  font-weight: var(--wui-typography-label-3-weight);
9757
- line-height: var(--wui-typography-label-3-line-height);
9758
9755
  justify-content: center;
9759
- padding: 6px ${({ $hasLabel }) => $hasLabel ? "12px" : "6px"};
9756
+ padding: 6px ${({ $hasLabel }) => $hasLabel ? "8px" : "6px"};
9760
9757
  user-select: none;
9761
- transition: background-color var(--wui-motion-duration-01) var(--wui-motion-ease);
9762
9758
 
9763
9759
  /* Icon component */
9764
9760
  svg {
@@ -9782,9 +9778,13 @@ var segmentedControlItemStyles = import_styled_components64.css`
9782
9778
  &[data-state='active'] {
9783
9779
  color: var(--wui-color-text-selected);
9784
9780
  cursor: default;
9781
+ }
9785
9782
 
9783
+ &:focus-visible,
9784
+ &[data-state='on'],
9785
+ &[data-state='active'] {
9786
9786
  svg path {
9787
- fill: var(--wui-color-icon-selected);
9787
+ fill: var(--wui-color-focus-ring);
9788
9788
  }
9789
9789
  }
9790
9790
 
@@ -10355,21 +10355,6 @@ var WistiaLogoComponent = import_styled_components70.default.svg`
10355
10355
  ${({ $hoverColor }) => $hoverColor !== void 0 ? `fill: ${$hoverColor}` : null};
10356
10356
  }
10357
10357
  }
10358
-
10359
- ${({ $opticallyCentered, $iconOnly }) => {
10360
- if ($opticallyCentered) {
10361
- if ($iconOnly) {
10362
- return import_styled_components70.css`
10363
- aspect-ratio: 1;
10364
- padding: 11.85% 3.12% 13.91%;
10365
- `;
10366
- }
10367
- return import_styled_components70.css`
10368
- aspect-ratio: 127 / 32;
10369
- `;
10370
- }
10371
- return null;
10372
- }}
10373
10358
  `;
10374
10359
  var WistiaLogo = ({
10375
10360
  description = void 0,
@@ -10377,7 +10362,6 @@ var WistiaLogo = ({
10377
10362
  hoverColor = void 0,
10378
10363
  href = void 0,
10379
10364
  iconOnly = false,
10380
- opticallyCentered = false,
10381
10365
  title = "Wistia Logo",
10382
10366
  variant = "standard",
10383
10367
  ...otherProps
@@ -10405,10 +10389,7 @@ var WistiaLogo = ({
10405
10389
  WistiaLogoComponent,
10406
10390
  {
10407
10391
  $hoverColor: hoverColor,
10408
- $iconOnly: iconOnly,
10409
- $opticallyCentered: opticallyCentered,
10410
10392
  height,
10411
- preserveAspectRatio: opticallyCentered ? "xMidYMin" : void 0,
10412
10393
  role: "img",
10413
10394
  viewBox: computedViewBox(iconOnly),
10414
10395
  xmlns: "http://www.w3.org/2000/svg",