@oliasoft-open-source/react-ui-library 10.0.0-beta-45 → 10.0.0-beta-46

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.
Files changed (2) hide show
  1. package/dist/index.js +12 -5
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -2655,7 +2655,7 @@ var Io = (e) => e.replace(/^lch\(\s*(\d+(?:\.\d+)?)(?!%)\s+/, "lch($1% "), Lo =
2655
2655
  let t = d(Nr);
2656
2656
  return f(() => {
2657
2657
  e.current = t ? {
2658
- close: () => t.close(),
2658
+ close: () => t.setOpen(!1),
2659
2659
  open: () => {
2660
2660
  t.isOpen || t.open(null, "input");
2661
2661
  }
@@ -2858,11 +2858,18 @@ var Io = (e) => e.replace(/^lch\(\s*(\d+(?:\.\d+)?)(?!%)\s+/, "lch($1% "), Lo =
2858
2858
  c,
2859
2859
  r
2860
2860
  ]), z = u((e) => {
2861
+ if (!c) {
2862
+ var t;
2863
+ (t = m.current) == null || t.close();
2864
+ }
2861
2865
  n == null || n({ target: {} }, e);
2862
- }, [n]), B = u((e = C) => {
2863
- if (!(!t || !e) && (h.current = !0, t(e), D(), !c)) {
2864
- var n;
2865
- (n = m.current) == null || n.close();
2866
+ }, [n, c]), B = u((e = C) => {
2867
+ if (!(!t || !e)) {
2868
+ if (h.current = !0, !c) {
2869
+ var n;
2870
+ (n = m.current) == null || n.close();
2871
+ }
2872
+ t(e), D();
2866
2873
  }
2867
2874
  }, [
2868
2875
  C,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@oliasoft-open-source/react-ui-library",
3
- "version": "10.0.0-beta-45",
3
+ "version": "10.0.0-beta-46",
4
4
  "description": "Reusable UI components for React projects",
5
5
  "homepage": "https://oliasoft-open-source.gitlab.io/react-ui-library",
6
6
  "bugs": {