@wistia/ui 0.14.31-beta.d65331b5.feef895 → 0.14.31

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.31-beta.d65331b5.feef895
3
+ * @license @wistia/ui v0.14.31
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
  {
@@ -17717,69 +17715,6 @@ var WistiaLogo = ({
17717
17715
  return href !== void 0 ? /* @__PURE__ */ (0, import_jsx_runtime326.jsx)("a", { href, children: Logo }) : Logo;
17718
17716
  };
17719
17717
  WistiaLogo.displayName = "WistiaLogo_UI";
17720
-
17721
- // src/components/SplitButton/SplitButton.tsx
17722
- var import_styled_components128 = __toESM(require("styled-components"));
17723
- var import_jsx_runtime327 = require("react/jsx-runtime");
17724
- var StyledSplitButton = import_styled_components128.default.span`
17725
- > [data-wui-button='true']:first-child {
17726
- border-top-right-radius: 0;
17727
- border-bottom-right-radius: 0;
17728
- }
17729
-
17730
- > [data-wui-button='true']:last-child {
17731
- border-top-left-radius: 0;
17732
- border-bottom-left-radius: 0;
17733
- display: inline-flex;
17734
- }
17735
- `;
17736
- var SplitButton = ({
17737
- children,
17738
- menuLabel,
17739
- menuIcon = /* @__PURE__ */ (0, import_jsx_runtime327.jsx)(Icon, { type: "caret-down" }),
17740
- menuItems,
17741
- disabled = false,
17742
- colorScheme = "default",
17743
- variant = "solid",
17744
- size = "md",
17745
- unstyled = false,
17746
- ...props
17747
- }) => {
17748
- return /* @__PURE__ */ (0, import_jsx_runtime327.jsxs)(StyledSplitButton, { children: [
17749
- /* @__PURE__ */ (0, import_jsx_runtime327.jsx)(
17750
- Button,
17751
- {
17752
- colorScheme,
17753
- disabled,
17754
- size,
17755
- unstyled,
17756
- variant,
17757
- ...props,
17758
- children
17759
- }
17760
- ),
17761
- /* @__PURE__ */ (0, import_jsx_runtime327.jsx)(
17762
- Menu,
17763
- {
17764
- disabled,
17765
- trigger: /* @__PURE__ */ (0, import_jsx_runtime327.jsx)(
17766
- IconButton,
17767
- {
17768
- colorScheme,
17769
- disabled,
17770
- label: menuLabel,
17771
- size,
17772
- unstyled,
17773
- variant,
17774
- children: menuIcon
17775
- }
17776
- ),
17777
- children: menuItems
17778
- }
17779
- )
17780
- ] });
17781
- };
17782
- SplitButton.displayName = "SplitButton_UI";
17783
17718
  // Annotate the CommonJS export names for ESM import in node:
17784
17719
  0 && (module.exports = {
17785
17720
  ActionButton,
@@ -17884,7 +17819,6 @@ SplitButton.displayName = "SplitButton_UI";
17884
17819
  SelectOption,
17885
17820
  SelectOptionGroup,
17886
17821
  Slider,
17887
- SplitButton,
17888
17822
  Stack,
17889
17823
  SubMenu,
17890
17824
  Switch,