@uzum-tech/ui 2.1.0 → 2.1.1

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
@@ -26997,6 +26997,10 @@
26997
26997
  nativeFocusBehavior: {
26998
26998
  type: Boolean,
26999
26999
  default: !isSafari
27000
+ },
27001
+ visible: {
27002
+ type: Boolean,
27003
+ default: true
27000
27004
  }
27001
27005
  };
27002
27006
  const Button = vue.defineComponent({
@@ -27412,6 +27416,8 @@
27412
27416
  };
27413
27417
  },
27414
27418
  render() {
27419
+ if (this.visible === false)
27420
+ return null;
27415
27421
  const { mergedClsPrefix, tag: Component, onRender } = this;
27416
27422
  onRender?.();
27417
27423
  const children = resolveWrappedSlot(
@@ -114557,7 +114563,7 @@
114557
114563
  });
114558
114564
  }
114559
114565
 
114560
- var version = "2.1.0";
114566
+ var version = "2.1.1";
114561
114567
 
114562
114568
  function create({
114563
114569
  componentPrefix = "U",
package/dist/index.mjs CHANGED
@@ -26993,6 +26993,10 @@ const buttonProps = {
26993
26993
  nativeFocusBehavior: {
26994
26994
  type: Boolean,
26995
26995
  default: !isSafari
26996
+ },
26997
+ visible: {
26998
+ type: Boolean,
26999
+ default: true
26996
27000
  }
26997
27001
  };
26998
27002
  const Button = defineComponent({
@@ -27408,6 +27412,8 @@ const Button = defineComponent({
27408
27412
  };
27409
27413
  },
27410
27414
  render() {
27415
+ if (this.visible === false)
27416
+ return null;
27411
27417
  const { mergedClsPrefix, tag: Component, onRender } = this;
27412
27418
  onRender?.();
27413
27419
  const children = resolveWrappedSlot(
@@ -114553,7 +114559,7 @@ function useThemeVars() {
114553
114559
  });
114554
114560
  }
114555
114561
 
114556
- var version = "2.1.0";
114562
+ var version = "2.1.1";
114557
114563
 
114558
114564
  function create({
114559
114565
  componentPrefix = "U",