@wistia/ui 0.14.31-beta.d65331b5.feef895 → 0.14.31-beta.f2df5bed.91d356b

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-beta.f2df5bed.91d356b
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
  {
@@ -10533,7 +10531,8 @@ var Tooltip = ({
10533
10531
  content,
10534
10532
  children,
10535
10533
  forceOpen,
10536
- hideArrow = false
10534
+ hideArrow = false,
10535
+ container = null
10537
10536
  }) => {
10538
10537
  const rootProps = {};
10539
10538
  if (content === "" || content === null) {
@@ -10549,7 +10548,7 @@ var Tooltip = ({
10549
10548
  ...rootProps,
10550
10549
  children: [
10551
10550
  /* @__PURE__ */ (0, import_jsx_runtime230.jsx)(import_react_tooltip2.Trigger, { asChild: true, children }),
10552
- /* @__PURE__ */ (0, import_jsx_runtime230.jsx)(import_react_tooltip2.Portal, { children: /* @__PURE__ */ (0, import_jsx_runtime230.jsxs)(
10551
+ /* @__PURE__ */ (0, import_jsx_runtime230.jsx)(import_react_tooltip2.Portal, { container, children: /* @__PURE__ */ (0, import_jsx_runtime230.jsxs)(
10553
10552
  StyledContent,
10554
10553
  {
10555
10554
  side: direction,
@@ -17717,69 +17716,6 @@ var WistiaLogo = ({
17717
17716
  return href !== void 0 ? /* @__PURE__ */ (0, import_jsx_runtime326.jsx)("a", { href, children: Logo }) : Logo;
17718
17717
  };
17719
17718
  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
17719
  // Annotate the CommonJS export names for ESM import in node:
17784
17720
  0 && (module.exports = {
17785
17721
  ActionButton,
@@ -17884,7 +17820,6 @@ SplitButton.displayName = "SplitButton_UI";
17884
17820
  SelectOption,
17885
17821
  SelectOptionGroup,
17886
17822
  Slider,
17887
- SplitButton,
17888
17823
  Stack,
17889
17824
  SubMenu,
17890
17825
  Switch,