zartui 3.1.68 → 3.1.69

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/lib/zartui.cjs.js CHANGED
@@ -3956,6 +3956,7 @@ var stdin_default$1D = vue.defineComponent({
3956
3956
  scrollable
3957
3957
  } = props;
3958
3958
  const isCard = type === "card";
3959
+ const isCapsule = type === "capsule";
3959
3960
  if (color && isCard) {
3960
3961
  style2.borderColor = color;
3961
3962
  if (!disabled) {
@@ -3966,6 +3967,17 @@ var stdin_default$1D = vue.defineComponent({
3966
3967
  }
3967
3968
  }
3968
3969
  }
3970
+ if (isCapsule) {
3971
+ if (!disabled) {
3972
+ if (isActive) {
3973
+ style2.backgroundImage = "linear-gradient(-80deg, #85C0FF 0%, #3388FF 100%)";
3974
+ style2.borderRadius = "14px";
3975
+ style2.color = "#ffffff";
3976
+ } else {
3977
+ style2.backgroundColor = "#ffffff";
3978
+ }
3979
+ }
3980
+ }
3969
3981
  const titleColor = isActive ? activeColor : inactiveColor;
3970
3982
  if (titleColor) {
3971
3983
  style2.color = titleColor;
@@ -23408,7 +23420,7 @@ const Lazyload = {
23408
23420
  });
23409
23421
  }
23410
23422
  };
23411
- const version = "3.1.68";
23423
+ const version = "3.1.69";
23412
23424
  function install(app) {
23413
23425
  const components = [
23414
23426
  ActionSheet,
package/lib/zartui.es.js CHANGED
@@ -3954,6 +3954,7 @@ var stdin_default$1D = defineComponent({
3954
3954
  scrollable
3955
3955
  } = props;
3956
3956
  const isCard = type === "card";
3957
+ const isCapsule = type === "capsule";
3957
3958
  if (color && isCard) {
3958
3959
  style2.borderColor = color;
3959
3960
  if (!disabled) {
@@ -3964,6 +3965,17 @@ var stdin_default$1D = defineComponent({
3964
3965
  }
3965
3966
  }
3966
3967
  }
3968
+ if (isCapsule) {
3969
+ if (!disabled) {
3970
+ if (isActive) {
3971
+ style2.backgroundImage = "linear-gradient(-80deg, #85C0FF 0%, #3388FF 100%)";
3972
+ style2.borderRadius = "14px";
3973
+ style2.color = "#ffffff";
3974
+ } else {
3975
+ style2.backgroundColor = "#ffffff";
3976
+ }
3977
+ }
3978
+ }
3967
3979
  const titleColor = isActive ? activeColor : inactiveColor;
3968
3980
  if (titleColor) {
3969
3981
  style2.color = titleColor;
@@ -23406,7 +23418,7 @@ const Lazyload = {
23406
23418
  });
23407
23419
  }
23408
23420
  };
23409
- const version = "3.1.68";
23421
+ const version = "3.1.69";
23410
23422
  function install(app) {
23411
23423
  const components = [
23412
23424
  ActionSheet,
package/lib/zartui.js CHANGED
@@ -4223,6 +4223,7 @@
4223
4223
  scrollable
4224
4224
  } = props;
4225
4225
  const isCard = type === "card";
4226
+ const isCapsule = type === "capsule";
4226
4227
  if (color && isCard) {
4227
4228
  style2.borderColor = color;
4228
4229
  if (!disabled) {
@@ -4233,6 +4234,17 @@
4233
4234
  }
4234
4235
  }
4235
4236
  }
4237
+ if (isCapsule) {
4238
+ if (!disabled) {
4239
+ if (isActive) {
4240
+ style2.backgroundImage = "linear-gradient(-80deg, #85C0FF 0%, #3388FF 100%)";
4241
+ style2.borderRadius = "14px";
4242
+ style2.color = "#ffffff";
4243
+ } else {
4244
+ style2.backgroundColor = "#ffffff";
4245
+ }
4246
+ }
4247
+ }
4236
4248
  const titleColor = isActive ? activeColor : inactiveColor;
4237
4249
  if (titleColor) {
4238
4250
  style2.color = titleColor;
@@ -27468,7 +27480,7 @@
27468
27480
  });
27469
27481
  }
27470
27482
  };
27471
- const version = "3.1.68";
27483
+ const version = "3.1.69";
27472
27484
  function install(app) {
27473
27485
  const components = [
27474
27486
  ActionSheet,