@wistia/ui 0.9.3-beta.8f8ffa2d.2cb2d41 → 0.9.3-beta.b3d52082.0ef44b5
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 +4 -3
- package/dist/index.cjs.map +1 -1
- package/dist/index.mjs +4 -3
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
|
|
2
2
|
/*
|
|
3
|
-
* @license @wistia/ui v0.9.3-beta.
|
|
3
|
+
* @license @wistia/ui v0.9.3-beta.b3d52082.0ef44b5
|
|
4
4
|
*
|
|
5
5
|
* Copyright (c) 2024-2025, Wistia, Inc. and its affiliates.
|
|
6
6
|
*
|
|
@@ -11844,7 +11844,7 @@ var segmentedControlItemStyles = import_styled_components73.css`
|
|
|
11844
11844
|
outline: 2px solid var(--wui-color-focus-ring);
|
|
11845
11845
|
}
|
|
11846
11846
|
|
|
11847
|
-
&:hover:not([data-state='on'], [data-state='active']) {
|
|
11847
|
+
&:hover:not([data-state='on'], [data-state='active'], [aria-selected='true']) {
|
|
11848
11848
|
background-color: var(--wui-color-bg-surface-secondary-hover);
|
|
11849
11849
|
}
|
|
11850
11850
|
|
|
@@ -12518,7 +12518,7 @@ var import_react68 = require("react");
|
|
|
12518
12518
|
var import_type_guards51 = require("@wistia/type-guards");
|
|
12519
12519
|
var import_jsx_runtime268 = require("react/jsx-runtime");
|
|
12520
12520
|
var TabTrigger = (0, import_react68.forwardRef)(
|
|
12521
|
-
({ disabled = false, icon, label, "aria-label": ariaLabel, value }, forwardedRef) => {
|
|
12521
|
+
({ disabled = false, icon, label, "aria-label": ariaLabel, value, ...otherProps }, forwardedRef) => {
|
|
12522
12522
|
const selectedValue = useTabsValue();
|
|
12523
12523
|
const { setSelectedItemMeasurements } = useSelectedItemStyle();
|
|
12524
12524
|
const buttonRef = (0, import_react68.useRef)(null);
|
|
@@ -12551,6 +12551,7 @@ var TabTrigger = (0, import_react68.forwardRef)(
|
|
|
12551
12551
|
return /* @__PURE__ */ (0, import_jsx_runtime268.jsxs)(
|
|
12552
12552
|
StyledRadixTabTrigger,
|
|
12553
12553
|
{
|
|
12554
|
+
...otherProps,
|
|
12554
12555
|
ref: combinedRef,
|
|
12555
12556
|
$hasLabel: (0, import_type_guards51.isNotNil)(label),
|
|
12556
12557
|
"aria-label": (0, import_type_guards51.isNotNil)(label) ? void 0 : ariaLabel,
|