@notificationapi/react 0.0.30 → 0.0.32

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,4 +1,4 @@
1
- import { w as L, b, _ as c, g as U, I, u as W, d as N, e as R, f as q, c as F, h, a as G } from "./index3.js";
1
+ import { w as L, b, _ as c, g as U, I, u as W, d as N, e as R, c as q, f as h, a as F, h as G } from "./presets.js";
2
2
  import * as d from "react";
3
3
  import x, { useContext as H, useEffect as J } from "react";
4
4
  function S(n) {
@@ -168,15 +168,15 @@ function en() {
168
168
  return n.calculated ? [n.primaryColor, n.secondaryColor] : n.primaryColor;
169
169
  }
170
170
  var rn = ["className", "icon", "spin", "rotate", "tabIndex", "onClick", "twoToneColor"];
171
- $(q.primary);
171
+ $(G.primary);
172
172
  var T = /* @__PURE__ */ d.forwardRef(function(n, o) {
173
- var e = n.className, r = n.icon, t = n.spin, i = n.rotate, l = n.tabIndex, s = n.onClick, y = n.twoToneColor, C = N(n, rn), m = d.useContext(I), a = m.prefixCls, g = a === void 0 ? "anticon" : a, j = m.rootClassName, A = F(j, g, h(h({}, "".concat(g, "-").concat(r.name), !!r.name), "".concat(g, "-spin"), !!t || r.name === "loading"), e), v = l;
173
+ var e = n.className, r = n.icon, t = n.spin, i = n.rotate, l = n.tabIndex, s = n.onClick, y = n.twoToneColor, C = N(n, rn), m = d.useContext(I), a = m.prefixCls, g = a === void 0 ? "anticon" : a, j = m.rootClassName, A = q(j, g, h(h({}, "".concat(g, "-").concat(r.name), !!r.name), "".concat(g, "-spin"), !!t || r.name === "loading"), e), v = l;
174
174
  v === void 0 && s && (v = -1);
175
175
  var P = i ? {
176
176
  msTransform: "rotate(".concat(i, "deg)"),
177
177
  transform: "rotate(".concat(i, "deg)")
178
178
  } : void 0, B = E(y), w = R(B, 2), O = w[0], D = w[1];
179
- return /* @__PURE__ */ d.createElement("span", G({
179
+ return /* @__PURE__ */ d.createElement("span", F({
180
180
  role: "img",
181
181
  "aria-label": r.name
182
182
  }, C, {