@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.cjs 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
  *
@@ -12064,10 +12064,10 @@ var SaturationAndValuePicker = ({
12064
12064
  SaturationAndValuePicker.displayName = "SaturationAndValuePicker_UI";
12065
12065
 
12066
12066
  // src/components/Combobox/Combobox.tsx
12067
- var Ariakit = __toESM(require("@ariakit/react"));
12068
12067
  var import_react54 = require("react");
12069
- var import_match_sorter = require("match-sorter");
12070
12068
  var import_styled_components67 = __toESM(require("styled-components"));
12069
+ var Ariakit = __toESM(require("@ariakit/react"));
12070
+ var import_match_sorter = require("match-sorter");
12071
12071
 
12072
12072
  // src/components/Tag/Tag.tsx
12073
12073
  var import_react53 = require("react");
@@ -12247,6 +12247,12 @@ var ComboboxWrapper = import_styled_components67.default.div`
12247
12247
  width: min-content !important;
12248
12248
  }
12249
12249
 
12250
+ /* adjust margin so Tag components do not alter size of input */
12251
+ > [data-tag='combobox-selected-item'] {
12252
+ margin-top: -3px;
12253
+ margin-bottom: -3px;
12254
+ }
12255
+
12250
12256
  &:focus-within {
12251
12257
  outline: 2px solid var(--wui-input-color-border-focus);
12252
12258
  outline-offset: -2px;
@@ -12420,6 +12426,7 @@ var Combobox2 = ({
12420
12426
  value.map((selectedValue) => /* @__PURE__ */ (0, import_jsx_runtime254.jsx)(
12421
12427
  Tag,
12422
12428
  {
12429
+ "data-tag": "combobox-selected-item",
12423
12430
  href: "https://example.com",
12424
12431
  label: selectedValue,
12425
12432
  onClickRemove: () => handleRemoveValue(selectedValue),
@@ -16019,9 +16026,7 @@ var Container10 = import_styled_components105.default.div`
16019
16026
  flex: 1 1 auto;
16020
16027
  `;
16021
16028
  var ScrollContainer = import_styled_components105.default.div`
16022
- contain: layout;
16023
16029
  overflow: auto;
16024
- position: relative;
16025
16030
  height: 100%;
16026
16031
  width: 100%;
16027
16032
  `;