@wistia/ui 0.14.30-beta.3d63ff68.dbe32d3 → 0.14.30-beta.8d8f6a02.682d4ba

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.30-beta.3d63ff68.dbe32d3
3
+ * @license @wistia/ui v0.14.30-beta.8d8f6a02.682d4ba
4
4
  *
5
5
  * Copyright (c) 2024-2025, Wistia, Inc. and its affiliates.
6
6
  *
@@ -141,7 +141,6 @@ __export(index_exports, {
141
141
  SelectOption: () => SelectOption,
142
142
  SelectOptionGroup: () => SelectOptionGroup,
143
143
  Slider: () => Slider,
144
- SplitButton: () => SplitButton,
145
144
  Stack: () => Stack,
146
145
  SubMenu: () => SubMenu,
147
146
  Switch: () => Switch,
@@ -7555,7 +7554,6 @@ var Button = (0, import_react23.forwardRef)(
7555
7554
  type: "button",
7556
7555
  ...props,
7557
7556
  ...commonProps,
7558
- "data-wui-button": true,
7559
7557
  children: unstyled ? children : /* @__PURE__ */ (0, import_jsx_runtime198.jsx)(
7560
7558
  ButtonContent,
7561
7559
  {
@@ -12066,10 +12064,10 @@ var SaturationAndValuePicker = ({
12066
12064
  SaturationAndValuePicker.displayName = "SaturationAndValuePicker_UI";
12067
12065
 
12068
12066
  // src/components/Combobox/Combobox.tsx
12069
- var Ariakit = __toESM(require("@ariakit/react"));
12070
12067
  var import_react54 = require("react");
12071
- var import_match_sorter = require("match-sorter");
12072
12068
  var import_styled_components67 = __toESM(require("styled-components"));
12069
+ var Ariakit = __toESM(require("@ariakit/react"));
12070
+ var import_match_sorter = require("match-sorter");
12073
12071
 
12074
12072
  // src/components/Tag/Tag.tsx
12075
12073
  var import_react53 = require("react");
@@ -12249,6 +12247,13 @@ var ComboboxWrapper = import_styled_components67.default.div`
12249
12247
  width: min-content !important;
12250
12248
  }
12251
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
+ white-space: nowrap;
12255
+ }
12256
+
12252
12257
  &:focus-within {
12253
12258
  outline: 2px solid var(--wui-input-color-border-focus);
12254
12259
  outline-offset: -2px;
@@ -12422,6 +12427,7 @@ var Combobox2 = ({
12422
12427
  value.map((selectedValue) => /* @__PURE__ */ (0, import_jsx_runtime254.jsx)(
12423
12428
  Tag,
12424
12429
  {
12430
+ "data-tag": "combobox-selected-item",
12425
12431
  href: "https://example.com",
12426
12432
  label: selectedValue,
12427
12433
  onClickRemove: () => handleRemoveValue(selectedValue),
@@ -17715,69 +17721,6 @@ var WistiaLogo = ({
17715
17721
  return href !== void 0 ? /* @__PURE__ */ (0, import_jsx_runtime326.jsx)("a", { href, children: Logo }) : Logo;
17716
17722
  };
17717
17723
  WistiaLogo.displayName = "WistiaLogo_UI";
17718
-
17719
- // src/components/SplitButton/SplitButton.tsx
17720
- var import_styled_components128 = __toESM(require("styled-components"));
17721
- var import_jsx_runtime327 = require("react/jsx-runtime");
17722
- var StyledSplitButton = import_styled_components128.default.span`
17723
- > [data-wui-button='true']:first-child {
17724
- border-top-right-radius: 0;
17725
- border-bottom-right-radius: 0;
17726
- }
17727
-
17728
- > [data-wui-button='true']:last-child {
17729
- border-top-left-radius: 0;
17730
- border-bottom-left-radius: 0;
17731
- display: inline-flex;
17732
- }
17733
- `;
17734
- var SplitButton = ({
17735
- children,
17736
- menuLabel,
17737
- menuIcon = /* @__PURE__ */ (0, import_jsx_runtime327.jsx)(Icon, { type: "caret-down" }),
17738
- menuItems,
17739
- disabled = false,
17740
- colorScheme = "default",
17741
- variant = "solid",
17742
- size = "md",
17743
- unstyled = false,
17744
- ...props
17745
- }) => {
17746
- return /* @__PURE__ */ (0, import_jsx_runtime327.jsxs)(StyledSplitButton, { children: [
17747
- /* @__PURE__ */ (0, import_jsx_runtime327.jsx)(
17748
- Button,
17749
- {
17750
- colorScheme,
17751
- disabled,
17752
- size,
17753
- unstyled,
17754
- variant,
17755
- ...props,
17756
- children
17757
- }
17758
- ),
17759
- /* @__PURE__ */ (0, import_jsx_runtime327.jsx)(
17760
- Menu,
17761
- {
17762
- disabled,
17763
- trigger: /* @__PURE__ */ (0, import_jsx_runtime327.jsx)(
17764
- IconButton,
17765
- {
17766
- colorScheme,
17767
- disabled,
17768
- label: menuLabel,
17769
- size,
17770
- unstyled,
17771
- variant,
17772
- children: menuIcon
17773
- }
17774
- ),
17775
- children: menuItems
17776
- }
17777
- )
17778
- ] });
17779
- };
17780
- SplitButton.displayName = "SplitButton_UI";
17781
17724
  // Annotate the CommonJS export names for ESM import in node:
17782
17725
  0 && (module.exports = {
17783
17726
  ActionButton,
@@ -17882,7 +17825,6 @@ SplitButton.displayName = "SplitButton_UI";
17882
17825
  SelectOption,
17883
17826
  SelectOptionGroup,
17884
17827
  Slider,
17885
- SplitButton,
17886
17828
  Stack,
17887
17829
  SubMenu,
17888
17830
  Switch,