@wistia/ui 0.6.13 → 0.6.14

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.6.13
3
+ * @license @wistia/ui v0.6.14
4
4
  *
5
5
  * Copyright (c) 2024-2025, Wistia, Inc. and its affiliates.
6
6
  *
@@ -9563,13 +9563,14 @@ var StyledSubTrigger = (0, import_styled_components55.default)(import_react_drop
9563
9563
  background-color: var(--wui-color-bg-surface-hover);
9564
9564
  }
9565
9565
  `;
9566
- var SubMenuTrigger = (props) => {
9566
+ var SubMenuTrigger = ({ icon, ...props }) => {
9567
9567
  const { isSmAndUp } = useMq();
9568
9568
  const Trigger4 = isSmAndUp ? StyledSubTrigger : import_react_dropdown_menu3.DropdownMenuItem;
9569
9569
  return /* @__PURE__ */ (0, import_jsx_runtime228.jsx)(Trigger4, { asChild: true, children: /* @__PURE__ */ (0, import_jsx_runtime228.jsx)(
9570
9570
  MenuItemButton,
9571
9571
  {
9572
9572
  ...props,
9573
+ leftIcon: icon,
9573
9574
  rightIcon: /* @__PURE__ */ (0, import_jsx_runtime228.jsx)(Icon, { type: "caret-right" })
9574
9575
  }
9575
9576
  ) });