@protonradio/proton-ui 0.10.13-beta.5 → 0.10.13-beta.6

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.d.ts CHANGED
@@ -401,6 +401,8 @@ declare interface ImageBackgroundProps {
401
401
  */
402
402
  export declare const Input: default_2.ForwardRefExoticComponent<BaseInputProps & default_2.RefAttributes<HTMLInputElement>>;
403
403
 
404
+ export declare function MenuTrigger({ renderTrigger, menuId, size, actions, disabled, onClose, testId: triggerTestId, menuTestId, }: ResponsiveMenuProps): JSX_2.Element;
405
+
404
406
  export declare const Modal: (({ isOpen, onClose, title, subtitle, body, children, isOverlay, "data-testid": dataTestId, }: ModalProps) => JSX_2.Element) & {
405
407
  Title: ({ children }: {
406
408
  children: React.ReactNode;
@@ -562,8 +564,6 @@ declare interface ResponsiveMenuProps {
562
564
  menuTestId?: string;
563
565
  }
564
566
 
565
- export declare function ResponsiveMenuTrigger({ renderTrigger, menuId, size, actions, disabled, onClose, testId: triggerTestId, menuTestId, }: ResponsiveMenuProps): JSX_2.Element;
566
-
567
567
  export declare const Row: <T = object>(props: ProtonRowProps<T>) => JSX.Element;
568
568
 
569
569
  /**
package/dist/index.es.js CHANGED
@@ -1,8 +1,8 @@
1
1
  import B, { useRef as M, useCallback as X, useState as j, useContext as G, useEffect as O, createContext as Q, useMemo as W, forwardRef as lt, createElement as po, isValidElement as kc, useLayoutEffect as Bc, cloneElement as Kc } from "react";
2
2
  import { THEMES as je, BREAKPOINTS as Dr } from "./constants.es.js";
3
3
  import { transparentize as et, parseToRgba as Mc, mix as bl } from "color2k";
4
- import { L as _c, D as ml, G as he, e as de } from "./palettes-BDp2VnQU.mjs";
5
- import { i as Tr, c as U, h as vo, t as gl } from "./utils-CRsxDkRV.mjs";
4
+ import { L as _c, D as ml, G as he, e as de } from "./palettes-z3K7XIpT.mjs";
5
+ import { i as Tr, c as U, h as vo, t as gl } from "./utils-vY_RWAmK.mjs";
6
6
  import { u as Ic, a as ho, b as Ar } from "./useBreakpoint-y9OWm50p.mjs";
7
7
  import kr, { flushSync as Fc, createPortal as bo } from "react-dom";
8
8
  var nr = { exports: {} }, _t = {};
@@ -11893,9 +11893,9 @@ export {
11893
11893
  Yh as Icon,
11894
11894
  Gh as ImageBackground,
11895
11895
  Qr as Input,
11896
+ Qh as MenuTrigger,
11896
11897
  d4 as Modal,
11897
11898
  Uu as Popover,
11898
- Qh as ResponsiveMenuTrigger,
11899
11899
  l4 as Row,
11900
11900
  Jr as ScreenOverlay,
11901
11901
  qh as SearchInput,