@julien-wiegandt/open-ui 0.1.37 → 0.1.38

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.
@@ -1,6 +1,6 @@
1
1
  import { ToastProps } from '.';
2
2
  export declare const StyledToast: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components/dist/types').Substitute<{
3
- elevation?: import('../../theme/types').Elevation;
3
+ elevation?: import('../..').Elevation;
4
4
  direction?: import('../flex').FlexDirection;
5
5
  gap?: string | number;
6
6
  align?: import('../flex').FlexAlign;
@@ -12,7 +12,7 @@ export declare const StyledToast: import('styled-components/dist/types').IStyled
12
12
  minheight?: string;
13
13
  hoverstyle?: import('styled-components/dist/types').Styles<object>;
14
14
  } & import('../common/types').MarginProps & import('../common/types').PaddingProps & import('react').HTMLAttributes<HTMLDivElement> & import('react').RefAttributes<HTMLDivElement>, Omit<ToastProps, "id">>> & string & Omit<import('react').ForwardRefExoticComponent<{
15
- elevation?: import('../../theme/types').Elevation;
15
+ elevation?: import('../..').Elevation;
16
16
  direction?: import('../flex').FlexDirection;
17
17
  gap?: string | number;
18
18
  align?: import('../flex').FlexAlign;
package/dist/index.d.ts CHANGED
@@ -16,3 +16,4 @@ export * from './components/toast';
16
16
  export * from './context/toast';
17
17
  export * from './hooks';
18
18
  export * from './theme/index';
19
+ export * from './theme/types';
package/dist/open-ui.js CHANGED
@@ -5970,9 +5970,9 @@ const Oc = za({
5970
5970
  return /* @__PURE__ */ M.jsx(ld, { theme: e, children: n });
5971
5971
  }, mh = ({
5972
5972
  children: n,
5973
- theme: e,
5973
+ themes: e,
5974
5974
  settings: t
5975
- }) => /* @__PURE__ */ M.jsx(ah, { themes: [e], children: /* @__PURE__ */ M.jsx(lh, { children: /* @__PURE__ */ M.jsxs(oh, { settings: t?.toasts, children: [
5975
+ }) => /* @__PURE__ */ M.jsx(ah, { themes: e, children: /* @__PURE__ */ M.jsx(lh, { children: /* @__PURE__ */ M.jsxs(oh, { settings: t?.toasts, children: [
5976
5976
  /* @__PURE__ */ M.jsx("div", { id: "modal" }),
5977
5977
  n
5978
5978
  ] }) }) });