@varlet/ui 3.20.4 → 3.20.5

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.
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "$schema": "https://raw.githubusercontent.com/JetBrains/web-types/master/schema/web-types.json",
3
3
  "framework": "vue",
4
- "version": "3.20.4",
4
+ "version": "3.20.5",
5
5
  "name": "VARLET",
6
6
  "contributions": {
7
7
  "html": {
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "$schema": "https://raw.githubusercontent.com/JetBrains/web-types/master/schema/web-types.json",
3
3
  "framework": "vue",
4
- "version": "3.20.4",
4
+ "version": "3.20.5",
5
5
  "name": "VARLET",
6
6
  "contributions": {
7
7
  "html": {
package/lib/varlet.cjs.js CHANGED
@@ -19685,6 +19685,7 @@ function __render__$47(_ctx, _cache) {
19685
19685
  const _component_var_swipe_item = (0, vue.resolveComponent)("var-swipe-item");
19686
19686
  const _component_var_swipe = (0, vue.resolveComponent)("var-swipe");
19687
19687
  const _component_var_icon = (0, vue.resolveComponent)("var-icon");
19688
+ const _component_var_button = (0, vue.resolveComponent)("var-button");
19688
19689
  const _component_var_popup = (0, vue.resolveComponent)("var-popup");
19689
19690
  return (0, vue.openBlock)(), (0, vue.createBlock)(_component_var_popup, {
19690
19691
  show: _ctx.show,
@@ -19756,13 +19757,20 @@ function __render__$47(_ctx, _cache) {
19756
19757
  "loop",
19757
19758
  "onChange"
19758
19759
  ]),
19759
- (0, vue.renderSlot)(_ctx.$slots, "close-icon", {}, () => [_ctx.closeable ? ((0, vue.openBlock)(), (0, vue.createBlock)(_component_var_icon, {
19760
+ (0, vue.renderSlot)(_ctx.$slots, "close-icon", {}, () => [_ctx.closeable ? ((0, vue.openBlock)(), (0, vue.createBlock)(_component_var_button, {
19760
19761
  key: 0,
19761
19762
  class: (0, vue.normalizeClass)(_ctx.n("close-icon")),
19762
- name: "close-circle",
19763
+ text: "",
19764
+ round: "",
19763
19765
  "var-image-preview-cover": "",
19764
19766
  onClick: _ctx.close
19765
- }, null, 8, ["class", "onClick"])) : (0, vue.createCommentVNode)("v-if", true)]),
19767
+ }, {
19768
+ default: (0, vue.withCtx)(() => [(0, vue.createVNode)(_component_var_icon, {
19769
+ class: (0, vue.normalizeClass)(_ctx.n("close-icon-image")),
19770
+ name: "window-close"
19771
+ }, null, 8, ["class"])]),
19772
+ _: 1
19773
+ }, 8, ["class", "onClick"])) : (0, vue.createCommentVNode)("v-if", true)]),
19766
19774
  _ctx.$slots.extra ? ((0, vue.openBlock)(), (0, vue.createElementBlock)("div", {
19767
19775
  key: 0,
19768
19776
  class: (0, vue.normalizeClass)(_ctx.n("extra"))
@@ -19787,6 +19795,7 @@ function __render__$47(_ctx, _cache) {
19787
19795
  var __sfc__$47 = (0, vue.defineComponent)({
19788
19796
  name: name$42,
19789
19797
  components: {
19798
+ VarButton: stdin_default$12,
19790
19799
  VarSwipe: stdin_default$89,
19791
19800
  VarSwipeItem: stdin_default$90,
19792
19801
  VarPopup: stdin_default$65,
@@ -27541,7 +27550,7 @@ var stdin_default$311 = {
27541
27550
  "--image-preview-swipe-indicators-text-color": "#ddd",
27542
27551
  "--image-preview-swipe-indicators-padding": "16px 0",
27543
27552
  "--image-preview-zoom-container-background": "#000",
27544
- "--image-preview-close-icon-top": "14px",
27553
+ "--image-preview-close-icon-top": "8px",
27545
27554
  "--image-preview-close-icon-right": "14px",
27546
27555
  "--image-preview-extra-top": "14px",
27547
27556
  "--image-preview-extra-left": "14px",
@@ -28920,7 +28929,7 @@ var stdin_default$235 = {
28920
28929
  "--image-preview-swipe-indicators-text-color": "#ddd",
28921
28930
  "--image-preview-swipe-indicators-padding": "16px 0",
28922
28931
  "--image-preview-zoom-container-background": "#000",
28923
- "--image-preview-close-icon-top": "14px",
28932
+ "--image-preview-close-icon-top": "8px",
28924
28933
  "--image-preview-close-icon-right": "14px",
28925
28934
  "--image-preview-extra-top": "14px",
28926
28935
  "--image-preview-extra-left": "14px",
@@ -30285,7 +30294,7 @@ var stdin_default$159 = {
30285
30294
  "--image-preview-swipe-indicators-text-color": "#ddd",
30286
30295
  "--image-preview-swipe-indicators-padding": "16px 0",
30287
30296
  "--image-preview-zoom-container-background": "#000",
30288
- "--image-preview-close-icon-top": "14px",
30297
+ "--image-preview-close-icon-top": "8px",
30289
30298
  "--image-preview-close-icon-right": "14px",
30290
30299
  "--image-preview-extra-top": "14px",
30291
30300
  "--image-preview-extra-left": "14px",
@@ -32836,7 +32845,7 @@ var _WatermarkComponent = stdin_default$108;
32836
32845
  var stdin_default$102 = stdin_default$108;
32837
32846
  //#endregion
32838
32847
  //#region es/index.bundle.mjs
32839
- var version = "3.20.4";
32848
+ var version = "3.20.5";
32840
32849
  function install(app) {
32841
32850
  stdin_default.install && app.use(stdin_default);
32842
32851
  stdin_default$1.install && app.use(stdin_default$1);