comand-component-library 4.0.51 → 4.0.52

Sign up to get free protection for your applications and to get access to all the features.
@@ -4975,6 +4975,13 @@ const Xa = {
4975
4975
  type: Object,
4976
4976
  required: !1
4977
4977
  },
4978
+ /**
4979
+ * activate if image should be wrapped by figure-tag
4980
+ */
4981
+ useFigureTag: {
4982
+ type: Boolean,
4983
+ default: !0
4984
+ },
4978
4985
  /**
4979
4986
  * figcaption-object including visibility, position (top/bottom), text
4980
4987
  */
@@ -5237,7 +5244,7 @@ function cr(e, n, t, s, o, i) {
5237
5244
  ];
5238
5245
  }),
5239
5246
  _: 1
5240
- }, 8, ["componentProps", "componentPath", "allowDeleteComponent", "itemProvider"])) : (h = t.figcaption) != null && h.show ? (l(), a("figure", {
5247
+ }, 8, ["componentProps", "componentPath", "allowDeleteComponent", "itemProvider"])) : t.useFigureTag || (h = t.figcaption) != null && h.show ? (l(), a("figure", {
5241
5248
  key: 1,
5242
5249
  class: b(["cmd-image", i.textAlign])
5243
5250
  }, [