@wistia/ui 0.14.25 → 0.14.26
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 +11 -10
- package/dist/index.cjs.map +1 -1
- package/dist/index.mjs +11 -10
- 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.14.
|
|
3
|
+
* @license @wistia/ui v0.14.26
|
|
4
4
|
*
|
|
5
5
|
* Copyright (c) 2024-2025, Wistia, Inc. and its affiliates.
|
|
6
6
|
*
|
|
@@ -125,7 +125,7 @@ __export(index_exports, {
|
|
|
125
125
|
MenuRadioGroup: () => MenuRadioGroup,
|
|
126
126
|
Modal: () => Modal,
|
|
127
127
|
PersistentFileAmountLimitValidator: () => import_validators.PersistentFileAmountLimitValidator,
|
|
128
|
-
Popover: () =>
|
|
128
|
+
Popover: () => Popover,
|
|
129
129
|
ProgressBar: () => ProgressBar,
|
|
130
130
|
Radio: () => Radio,
|
|
131
131
|
RadioCard: () => RadioCard,
|
|
@@ -12225,7 +12225,7 @@ Tag.displayName = "Tag_UI";
|
|
|
12225
12225
|
|
|
12226
12226
|
// src/components/Combobox/Combobox.tsx
|
|
12227
12227
|
var import_jsx_runtime254 = require("react/jsx-runtime");
|
|
12228
|
-
var
|
|
12228
|
+
var ComboboxWrapper = import_styled_components67.default.div`
|
|
12229
12229
|
${inputCss};
|
|
12230
12230
|
width: ${({ $fullWidth }) => $fullWidth ? "100%" : "auto"};
|
|
12231
12231
|
padding: var(--wui-input-vertical-padding) var(--wui-input-horizontal-padding);
|
|
@@ -12289,7 +12289,7 @@ var ComboboxInput = (0, import_styled_components67.default)(Ariakit.Combobox)`
|
|
|
12289
12289
|
outline-width: 2px;
|
|
12290
12290
|
}
|
|
12291
12291
|
`;
|
|
12292
|
-
var
|
|
12292
|
+
var ComboboxPopover2 = (0, import_styled_components67.default)(Ariakit.ComboboxPopover)`
|
|
12293
12293
|
--wui-combobox-content-border: var(--wui-color-border);
|
|
12294
12294
|
--wui-combobox-content-bg: var(--wui-color-bg-surface);
|
|
12295
12295
|
--wui-combobox-content-border-radius: var(--wui-border-radius-02);
|
|
@@ -12326,7 +12326,9 @@ var ComboboxItem2 = (0, import_styled_components67.default)(Ariakit.ComboboxItem
|
|
|
12326
12326
|
cursor: pointer;
|
|
12327
12327
|
|
|
12328
12328
|
&:hover,
|
|
12329
|
-
&:focus-visible
|
|
12329
|
+
&:focus-visible,
|
|
12330
|
+
&[data-focus-visible='true'],
|
|
12331
|
+
&[data-active-item='true'] {
|
|
12330
12332
|
background-color: var(--wui-combobox-option-bg-hover);
|
|
12331
12333
|
outline: none;
|
|
12332
12334
|
}
|
|
@@ -12409,7 +12411,7 @@ var Combobox2 = ({
|
|
|
12409
12411
|
},
|
|
12410
12412
|
children: [
|
|
12411
12413
|
/* @__PURE__ */ (0, import_jsx_runtime254.jsxs)(
|
|
12412
|
-
|
|
12414
|
+
ComboboxWrapper,
|
|
12413
12415
|
{
|
|
12414
12416
|
ref: comboboxWrapperRef,
|
|
12415
12417
|
$fullWidth: fullWidth,
|
|
@@ -12429,7 +12431,7 @@ var Combobox2 = ({
|
|
|
12429
12431
|
}
|
|
12430
12432
|
),
|
|
12431
12433
|
/* @__PURE__ */ (0, import_jsx_runtime254.jsxs)(
|
|
12432
|
-
|
|
12434
|
+
ComboboxPopover2,
|
|
12433
12435
|
{
|
|
12434
12436
|
"aria-busy": isPending,
|
|
12435
12437
|
gutter: 8,
|
|
@@ -12442,7 +12444,6 @@ var Combobox2 = ({
|
|
|
12442
12444
|
ComboboxItem2,
|
|
12443
12445
|
{
|
|
12444
12446
|
className: "combobox-item",
|
|
12445
|
-
focusOnHover: true,
|
|
12446
12447
|
value: match,
|
|
12447
12448
|
children: [
|
|
12448
12449
|
/* @__PURE__ */ (0, import_jsx_runtime254.jsx)(
|
|
@@ -14723,7 +14724,7 @@ var StyledContent2 = (0, import_styled_components91.default)(import_react_popove
|
|
|
14723
14724
|
right: var(--wui-space-02);
|
|
14724
14725
|
}
|
|
14725
14726
|
`;
|
|
14726
|
-
var
|
|
14727
|
+
var Popover = ({
|
|
14727
14728
|
children,
|
|
14728
14729
|
trigger,
|
|
14729
14730
|
isOpen = false,
|
|
@@ -14769,7 +14770,7 @@ var Popover2 = ({
|
|
|
14769
14770
|
) })
|
|
14770
14771
|
] });
|
|
14771
14772
|
};
|
|
14772
|
-
|
|
14773
|
+
Popover.displayName = "Popover_UI";
|
|
14773
14774
|
|
|
14774
14775
|
// src/components/ProgressBar/ProgressBar.tsx
|
|
14775
14776
|
var import_styled_components92 = __toESM(require("styled-components"));
|