indicator-ui 1.1.104 → 1.1.105

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.js CHANGED
@@ -31861,7 +31861,8 @@ const Voe = "DismissButton-module__xCloseIcon___FdMc3", Noe = {
31861
31861
  };
31862
31862
  function Woe(r) {
31863
31863
  const { onClose: e } = Ls();
31864
- return /* @__PURE__ */ b("div", { className: Noe.xCloseIcon, onClick: e, children: /* @__PURE__ */ b(xr, {}) });
31864
+ if (e)
31865
+ return /* @__PURE__ */ b("div", { className: Noe.xCloseIcon, onClick: e, children: /* @__PURE__ */ b(xr, {}) });
31865
31866
  }
31866
31867
  const Hoe = "IconContainer-module__iconContainer___fW2SM", qoe = "IconContainer-module__infoStyle___-XmFm", $oe = "IconContainer-module__successStyle___CSXbZ", Yoe = "IconContainer-module__warningStyle___0wmYu", zoe = "IconContainer-module__errorStyle___Jb2FF", joe = "IconContainer-module__icon___ckJGB", as = {
31867
31868
  iconContainer: Hoe,
@@ -31935,7 +31936,7 @@ function ase(r) {
31935
31936
  t || s((h) => h + p6);
31936
31937
  });
31937
31938
  pe(() => {
31938
- e != null && o >= e && (i(), u());
31939
+ e != null && o >= e && (i?.(), u());
31939
31940
  }, [o]), pe(() => {
31940
31941
  c(d, p6), s(h6);
31941
31942
  }, [e]);
@@ -1,3 +1,3 @@
1
1
  type PropsType = {};
2
- export declare function DismissButton(props: PropsType): import("react").JSX.Element;
2
+ export declare function DismissButton(props: PropsType): import("react").JSX.Element | undefined;
3
3
  export {};
@@ -1,6 +1,6 @@
1
1
  import { Type } from '../types';
2
2
  export type NotifyContextType = {
3
3
  type: Type;
4
- onClose: () => void;
4
+ onClose?: () => void;
5
5
  };
6
6
  export declare const NotifyContext: import('react').Context<NotifyContextType | null>;
package/package.json CHANGED
@@ -11,7 +11,7 @@
11
11
  "react-components",
12
12
  "ui-kit"
13
13
  ],
14
- "version": "1.1.104",
14
+ "version": "1.1.105",
15
15
  "exports": {
16
16
  ".": {
17
17
  "types": "./dist/types/index.d.ts",