@wistia/ui 0.8.2 → 0.8.3

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.8.2
3
+ * @license @wistia/ui v0.8.3
4
4
  *
5
5
  * Copyright (c) 2024-2025, Wistia, Inc. and its affiliates.
6
6
  *
@@ -10822,6 +10822,7 @@ var getControlProps = (isOpen, onOpenChange) => {
10822
10822
  // src/components/Popover/Popover.tsx
10823
10823
  var import_jsx_runtime244 = require("react/jsx-runtime");
10824
10824
  var StyledContent2 = (0, import_styled_components64.default)(import_react_popover.Content)`
10825
+ ${({ $colorScheme }) => getColorScheme($colorScheme)};
10825
10826
  ${({ $unstyled }) => !$unstyled && import_styled_components64.css`
10826
10827
  border-radius: var(--wui-border-radius-02);
10827
10828
  padding: var(--wui-space-04);
@@ -10848,6 +10849,7 @@ var Popover = ({
10848
10849
  maxHeight = "auto",
10849
10850
  onOpenChange,
10850
10851
  unstyled = false,
10852
+ colorScheme = "inherit",
10851
10853
  ...props
10852
10854
  }) => {
10853
10855
  const style = {
@@ -10859,6 +10861,7 @@ var Popover = ({
10859
10861
  /* @__PURE__ */ (0, import_jsx_runtime244.jsx)(import_react_popover.Portal, { children: /* @__PURE__ */ (0, import_jsx_runtime244.jsxs)(
10860
10862
  StyledContent2,
10861
10863
  {
10864
+ $colorScheme: colorScheme,
10862
10865
  sideOffset: 8,
10863
10866
  ...props,
10864
10867
  $unstyled: unstyled,