1mpacto-react-ui 0.0.27 → 0.0.29

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.mjs CHANGED
@@ -5189,18 +5189,18 @@ const Vy = "_container_hlqmp_1", ky = "_input_hlqmp_7", _y = "_label_hlqmp_33",
5189
5189
  ] });
5190
5190
  });
5191
5191
  Ny.displayName = "InputFloatingInner";
5192
- const Oy = "_label_1v0ql_4", Ly = "_disabled_1v0ql_9", Gy = "_input_1v0ql_15", Hy = "_error_1v0ql_40", Gt = {
5193
- "container-large": "_container-large_1v0ql_1",
5192
+ const Oy = "_label_1qiju_4", Ly = "_disabled_1qiju_9", Gy = "_input_1qiju_15", Hy = "_error_1qiju_40", Gt = {
5193
+ "container-large": "_container-large_1qiju_1",
5194
5194
  label: Oy,
5195
5195
  disabled: Ly,
5196
- "container-input": "_container-input_1v0ql_12",
5196
+ "container-input": "_container-input_1qiju_12",
5197
5197
  input: Gy,
5198
5198
  error: Hy,
5199
- "isset-icon": "_isset-icon_1v0ql_49",
5200
- "end-icon": "_end-icon_1v0ql_52",
5201
- "label-error": "_label-error_1v0ql_55",
5202
- "container-medium": "_container-medium_1v0ql_64",
5203
- "container-small": "_container-small_1v0ql_127"
5199
+ "isset-icon": "_isset-icon_1qiju_49",
5200
+ "end-icon": "_end-icon_1qiju_52",
5201
+ "label-error": "_label-error_1qiju_55",
5202
+ "container-medium": "_container-medium_1qiju_64",
5203
+ "container-small": "_container-small_1qiju_127"
5204
5204
  }, Wy = Ft((e, t) => {
5205
5205
  const {
5206
5206
  isRequired: n,
@@ -23689,11 +23689,11 @@ function N$(e, t = 0) {
23689
23689
  [e, t]
23690
23690
  );
23691
23691
  }
23692
- const O$ = () => {
23693
- const [e, t] = te({
23692
+ const O$ = (e) => {
23693
+ const [t, n] = te({
23694
23694
  width: window.innerWidth,
23695
23695
  height: window.innerHeight
23696
- }), [n, r] = te({
23696
+ }), [r, a] = te({
23697
23697
  width: 0,
23698
23698
  height: 0,
23699
23699
  top: 0,
@@ -23702,32 +23702,32 @@ const O$ = () => {
23702
23702
  right: 0,
23703
23703
  x: 0,
23704
23704
  y: 0
23705
- }), a = be(null);
23705
+ }), o = be(null);
23706
23706
  return qa(() => {
23707
- const o = () => {
23708
- t({
23707
+ const i = () => {
23708
+ n({
23709
23709
  width: window.innerWidth,
23710
23710
  height: window.innerHeight
23711
23711
  });
23712
- }, i = (l) => {
23713
- for (const c of l) {
23714
- const { width: f, height: g, top: d, left: m, bottom: h, right: v, x: p, y: b } = c.contentRect;
23715
- r({
23716
- width: f,
23717
- height: g,
23718
- top: d,
23719
- left: m,
23720
- bottom: h,
23721
- right: v,
23722
- x: p,
23723
- y: b
23712
+ }, u = (c) => {
23713
+ for (const f of c) {
23714
+ const { width: g, height: d, top: m, left: h, bottom: v, right: p, x: b, y } = f.contentRect;
23715
+ a({
23716
+ width: g,
23717
+ height: d,
23718
+ top: m,
23719
+ left: h,
23720
+ bottom: v,
23721
+ right: p,
23722
+ x: b,
23723
+ y
23724
23724
  });
23725
23725
  }
23726
- }, u = a.current, s = new ResizeObserver(i);
23727
- return u && s.observe(u), window.addEventListener("resize", o), () => {
23728
- u && s.unobserve(u), window.removeEventListener("resize", o);
23726
+ }, s = o.current, l = new ResizeObserver(u);
23727
+ return s && l.observe(s), window.addEventListener("resize", i), () => {
23728
+ s && l.unobserve(s), window.removeEventListener("resize", i);
23729
23729
  };
23730
- }, []), { ref: a, windowSize: e, contentRect: n };
23730
+ }, [e]), { ref: o, windowSize: t, contentRect: r };
23731
23731
  };
23732
23732
  export {
23733
23733
  cS as Badges,