@wistia/ui 0.14.29 → 0.14.30-beta.050b84cd.eea74f1

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.14.29
3
+ * @license @wistia/ui v0.14.30-beta.050b84cd.eea74f1
4
4
  *
5
5
  * Copyright (c) 2024-2025, Wistia, Inc. and its affiliates.
6
6
  *
@@ -11898,7 +11898,6 @@ var SaturationAndValuePicker = ({
11898
11898
  SaturationAndValuePicker.displayName = "SaturationAndValuePicker_UI";
11899
11899
 
11900
11900
  // src/components/Combobox/Combobox.tsx
11901
- import * as Ariakit from "@ariakit/react";
11902
11901
  import {
11903
11902
  useMemo as useMemo11,
11904
11903
  useRef as useRef14,
@@ -11908,8 +11907,9 @@ import {
11908
11907
  Children as Children5,
11909
11908
  isValidElement as isValidElement2
11910
11909
  } from "react";
11911
- import { matchSorter } from "match-sorter";
11912
11910
  import styled50 from "styled-components";
11911
+ import * as Ariakit from "@ariakit/react";
11912
+ import { matchSorter } from "match-sorter";
11913
11913
 
11914
11914
  // src/components/Tag/Tag.tsx
11915
11915
  import { forwardRef as forwardRef16 } from "react";
@@ -12089,6 +12089,12 @@ var ComboboxWrapper = styled50.div`
12089
12089
  width: min-content !important;
12090
12090
  }
12091
12091
 
12092
+ /* adjust margin so Tag components do not alter size of input */
12093
+ > [data-tag='combobox-selected-item'] {
12094
+ margin-top: -3px;
12095
+ margin-bottom: -3px;
12096
+ }
12097
+
12092
12098
  &:focus-within {
12093
12099
  outline: 2px solid var(--wui-input-color-border-focus);
12094
12100
  outline-offset: -2px;
@@ -12262,6 +12268,7 @@ var Combobox2 = ({
12262
12268
  value.map((selectedValue) => /* @__PURE__ */ jsx254(
12263
12269
  Tag,
12264
12270
  {
12271
+ "data-tag": "combobox-selected-item",
12265
12272
  href: "https://example.com",
12266
12273
  label: selectedValue,
12267
12274
  onClickRemove: () => handleRemoveValue(selectedValue),
@@ -15894,9 +15901,7 @@ var Container10 = styled87.div`
15894
15901
  flex: 1 1 auto;
15895
15902
  `;
15896
15903
  var ScrollContainer = styled87.div`
15897
- contain: layout;
15898
15904
  overflow: auto;
15899
- position: relative;
15900
15905
  height: 100%;
15901
15906
  width: 100%;
15902
15907
  `;