@varlet/ui 3.20.3 → 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.3",
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.3",
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,
@@ -27196,7 +27205,9 @@ var stdin_default$329 = {
27196
27205
  "--cell-description-color": "#aaa",
27197
27206
  "--cell-color": "var(--color-text)",
27198
27207
  "--cell-font-size": "var(--font-size-md)",
27208
+ "--cell-title-line-height": "1.5",
27199
27209
  "--cell-description-font-size": "var(--font-size-sm)",
27210
+ "--cell-description-line-height": "1.5",
27200
27211
  "--cell-description-margin-top": "4px",
27201
27212
  "--cell-padding": "10px 12px",
27202
27213
  "--cell-min-height": "40px",
@@ -27539,7 +27550,7 @@ var stdin_default$311 = {
27539
27550
  "--image-preview-swipe-indicators-text-color": "#ddd",
27540
27551
  "--image-preview-swipe-indicators-padding": "16px 0",
27541
27552
  "--image-preview-zoom-container-background": "#000",
27542
- "--image-preview-close-icon-top": "14px",
27553
+ "--image-preview-close-icon-top": "8px",
27543
27554
  "--image-preview-close-icon-right": "14px",
27544
27555
  "--image-preview-extra-top": "14px",
27545
27556
  "--image-preview-extra-left": "14px",
@@ -28573,7 +28584,9 @@ var stdin_default$253 = {
28573
28584
  "--cell-description-color": "var(--color-on-surface-variant)",
28574
28585
  "--cell-color": "var(--color-text)",
28575
28586
  "--cell-font-size": "var(--font-size-md)",
28587
+ "--cell-title-line-height": "1.5",
28576
28588
  "--cell-description-font-size": "var(--font-size-sm)",
28589
+ "--cell-description-line-height": "1.5",
28577
28590
  "--cell-description-margin-top": "4px",
28578
28591
  "--cell-padding": "10px 12px",
28579
28592
  "--cell-min-height": "40px",
@@ -28916,7 +28929,7 @@ var stdin_default$235 = {
28916
28929
  "--image-preview-swipe-indicators-text-color": "#ddd",
28917
28930
  "--image-preview-swipe-indicators-padding": "16px 0",
28918
28931
  "--image-preview-zoom-container-background": "#000",
28919
- "--image-preview-close-icon-top": "14px",
28932
+ "--image-preview-close-icon-top": "8px",
28920
28933
  "--image-preview-close-icon-right": "14px",
28921
28934
  "--image-preview-extra-top": "14px",
28922
28935
  "--image-preview-extra-left": "14px",
@@ -29936,7 +29949,9 @@ var stdin_default$177 = {
29936
29949
  "--cell-description-color": "var(--color-on-surface-variant)",
29937
29950
  "--cell-color": "var(--color-text)",
29938
29951
  "--cell-font-size": "var(--font-size-md)",
29952
+ "--cell-title-line-height": "1.5",
29939
29953
  "--cell-description-font-size": "var(--font-size-sm)",
29954
+ "--cell-description-line-height": "1.5",
29940
29955
  "--cell-description-margin-top": "4px",
29941
29956
  "--cell-padding": "10px 12px",
29942
29957
  "--cell-min-height": "40px",
@@ -30279,7 +30294,7 @@ var stdin_default$159 = {
30279
30294
  "--image-preview-swipe-indicators-text-color": "#ddd",
30280
30295
  "--image-preview-swipe-indicators-padding": "16px 0",
30281
30296
  "--image-preview-zoom-container-background": "#000",
30282
- "--image-preview-close-icon-top": "14px",
30297
+ "--image-preview-close-icon-top": "8px",
30283
30298
  "--image-preview-close-icon-right": "14px",
30284
30299
  "--image-preview-extra-top": "14px",
30285
30300
  "--image-preview-extra-left": "14px",
@@ -32830,7 +32845,7 @@ var _WatermarkComponent = stdin_default$108;
32830
32845
  var stdin_default$102 = stdin_default$108;
32831
32846
  //#endregion
32832
32847
  //#region es/index.bundle.mjs
32833
- var version = "3.20.3";
32848
+ var version = "3.20.5";
32834
32849
  function install(app) {
32835
32850
  stdin_default.install && app.use(stdin_default);
32836
32851
  stdin_default$1.install && app.use(stdin_default$1);