@wistia/ui 0.10.9 → 0.10.10-beta.398dcf06.349c242

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.10.9
3
+ * @license @wistia/ui v0.10.10-beta.398dcf06.349c242
4
4
  *
5
5
  * Copyright (c) 2024-2025, Wistia, Inc. and its affiliates.
6
6
  *
@@ -7468,7 +7468,7 @@ var StyledActionButton = (0, import_styled_components22.default)(Button)`
7468
7468
  }
7469
7469
 
7470
7470
  &:hover,
7471
- :focus-visible {
7471
+ &:focus-visible {
7472
7472
  --wui-color-text: var(--wui-color-text-button);
7473
7473
 
7474
7474
  ${({ $hoverColorScheme }) => getColorScheme($hoverColorScheme)};
@@ -8196,7 +8196,7 @@ var HeadingComponent = (0, import_react28.forwardRef)(
8196
8196
  $preventUserSelect: preventUserSelect,
8197
8197
  $truncate: truncate,
8198
8198
  $variant: variant,
8199
- as: renderAs ?? variantElementMap[variant],
8199
+ as: renderAs ?? variantElementMap[variant] ?? DEFAULT_ELEMENT2,
8200
8200
  ...props
8201
8201
  }
8202
8202
  )
@@ -8405,7 +8405,7 @@ var TextComponent = (0, import_react29.forwardRef)(
8405
8405
  $prominence: prominence,
8406
8406
  $truncate: truncate,
8407
8407
  $variant: variant,
8408
- as: renderAs ?? variantElementMap2[variant],
8408
+ as: renderAs ?? variantElementMap2[variant] ?? DEFAULT_ELEMENT3,
8409
8409
  ...props
8410
8410
  }
8411
8411
  );
@@ -9431,19 +9431,19 @@ var TagLabel = import_styled_components46.default.a`
9431
9431
  width: 12px;
9432
9432
  }
9433
9433
 
9434
- :not(:only-child) {
9434
+ &:not(:only-child) {
9435
9435
  padding-right: var(--wui-space-01);
9436
9436
  }
9437
9437
 
9438
- :is(a):hover {
9438
+ &:is(a):hover {
9439
9439
  background: var(--wui-color-bg-surface-secondary-hover);
9440
9440
  }
9441
9441
 
9442
- :is(a):active {
9442
+ &:is(a):active {
9443
9443
  background: var(--wui-color-bg-surface-secondary-active);
9444
9444
  }
9445
9445
 
9446
- :focus-visible {
9446
+ &:focus-visible {
9447
9447
  outline: unset;
9448
9448
  box-shadow: inset 0 0 0 2px var(--wui-color-border-secondary);
9449
9449
  }
@@ -9470,15 +9470,15 @@ var StyledRemoveButton = import_styled_components46.default.button`
9470
9470
  fill: var(--wui-color-icon);
9471
9471
  }
9472
9472
 
9473
- :hover {
9473
+ &:hover {
9474
9474
  background: var(--wui-color-bg-surface-secondary-hover);
9475
9475
  }
9476
9476
 
9477
- :active {
9477
+ &:active {
9478
9478
  background: var(--wui-color-bg-surface-secondary-active);
9479
9479
  }
9480
9480
 
9481
- :focus-visible {
9481
+ &:focus-visible {
9482
9482
  outline: unset;
9483
9483
  box-shadow: inset 0 0 0 2px var(--wui-color-border-secondary);
9484
9484
  }
@@ -10362,8 +10362,8 @@ var StyledInputContainer = import_styled_components54.default.div`
10362
10362
  transform: translateY(-50%);
10363
10363
  }
10364
10364
 
10365
- :has(.wui-input-left-icon) input,
10366
- :has(.wui-input-left-icon) textarea {
10365
+ &:has(.wui-input-left-icon) input,
10366
+ &:has(.wui-input-left-icon) textarea {
10367
10367
  padding-left: 32px;
10368
10368
  }
10369
10369
 
@@ -10376,8 +10376,8 @@ var StyledInputContainer = import_styled_components54.default.div`
10376
10376
  transform: translateY(-50%);
10377
10377
  }
10378
10378
 
10379
- :has(.wui-input-right-icon) input,
10380
- :has(.wui-input-right-icon) textarea {
10379
+ &:has(.wui-input-right-icon) input,
10380
+ &:has(.wui-input-right-icon) textarea {
10381
10381
  padding-right: 32px;
10382
10382
  }
10383
10383
  `;
@@ -11533,7 +11533,7 @@ var StyledButton3 = (0, import_styled_components65.default)(Button)`
11533
11533
  line-height: var(--menu-label-line-height);
11534
11534
  transition: background-color var(--wui-motion-duration-01) var(--wui-motion-ease);
11535
11535
 
11536
- :active {
11536
+ &:active {
11537
11537
  background-color: var(--wui-color-bg-surface-active);
11538
11538
  }
11539
11539