@varlet/ui 3.10.9 → 3.11.0

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.
@@ -3,5 +3,5 @@ import '../../icon/icon.css'
3
3
  import '../../ripple/ripple.css'
4
4
  import '../../popup/popup.css'
5
5
  import '../actionSheet.css'
6
- import '../ActionSheetSfc.css'
7
6
  import '../ActionItemSfc.css'
7
+ import '../ActionSheetSfc.css'
@@ -20,51 +20,37 @@ import VarTooltip from "../tooltip/index.mjs";
20
20
  import { createNamespace } from "../utils/components.mjs";
21
21
  import { props } from "./props.mjs";
22
22
  const { name, n, classes } = createNamespace("ellipsis");
23
- import { renderSlot as _renderSlot, normalizeClass as _normalizeClass, normalizeStyle as _normalizeStyle, createElementVNode as _createElementVNode, toDisplayString as _toDisplayString, openBlock as _openBlock, createElementBlock as _createElementBlock, resolveComponent as _resolveComponent, normalizeProps as _normalizeProps, guardReactiveProps as _guardReactiveProps, withCtx as _withCtx, createBlock as _createBlock } from "vue";
23
+ import { renderSlot as _renderSlot, createElementVNode as _createElementVNode, toDisplayString as _toDisplayString, openBlock as _openBlock, createElementBlock as _createElementBlock, resolveComponent as _resolveComponent, mergeProps as _mergeProps, withCtx as _withCtx, createBlock as _createBlock } from "vue";
24
24
  const _hoisted_1 = { key: 0 };
25
25
  function __render__(_ctx, _cache) {
26
26
  const _component_var_tooltip = _resolveComponent("var-tooltip");
27
- return _openBlock(), _createBlock(
28
- _component_var_tooltip,
29
- _normalizeProps(_guardReactiveProps(_ctx.tooltipProps)),
30
- {
31
- content: _withCtx(() => [
32
- _renderSlot(_ctx.$slots, "tooltip-content", {}, () => {
33
- var _a;
34
- return [
35
- ((_a = _ctx.tooltipProps) == null ? void 0 : _a.content) ? (_openBlock(), _createElementBlock(
36
- "span",
37
- _hoisted_1,
38
- _toDisplayString(_ctx.tooltipProps.content),
39
- 1
40
- /* TEXT */
41
- )) : _renderSlot(_ctx.$slots, "default", { key: 1 })
42
- ];
43
- })
44
- ]),
45
- default: _withCtx(() => [
46
- _createElementVNode(
47
- "span",
48
- {
49
- class: _normalizeClass(
50
- _ctx.classes(_ctx.n(), [_ctx.lineClamp, _ctx.n("--clamp"), _ctx.n("--line")], [_ctx.expandTrigger, _ctx.n("--cursor")], [_ctx.expanding, _ctx.n("--expand")])
51
- ),
52
- style: _normalizeStyle(_ctx.rootStyles),
53
- onClick: _cache[0] || (_cache[0] = (...args) => _ctx.handleClick && _ctx.handleClick(...args))
54
- },
55
- [
56
- _renderSlot(_ctx.$slots, "default")
57
- ],
58
- 6
59
- /* CLASS, STYLE */
60
- )
61
- ]),
62
- _: 3
63
- /* FORWARDED */
64
- },
65
- 16
66
- /* FULL_PROPS */
67
- );
27
+ return _openBlock(), _createBlock(_component_var_tooltip, _mergeProps({
28
+ class: _ctx.classes(_ctx.n(), [_ctx.lineClamp, _ctx.n("--clamp"), _ctx.n("--line")], [_ctx.expandTrigger, _ctx.n("--cursor")], [_ctx.expanding, _ctx.n("--expand")]),
29
+ "var-ellipsis-cover": "",
30
+ style: _ctx.rootStyles
31
+ }, _ctx.tooltipProps, { onClick: _ctx.handleClick }), {
32
+ content: _withCtx(() => [
33
+ _renderSlot(_ctx.$slots, "tooltip-content", {}, () => {
34
+ var _a;
35
+ return [
36
+ ((_a = _ctx.tooltipProps) == null ? void 0 : _a.content) ? (_openBlock(), _createElementBlock(
37
+ "span",
38
+ _hoisted_1,
39
+ _toDisplayString(_ctx.tooltipProps.content),
40
+ 1
41
+ /* TEXT */
42
+ )) : _renderSlot(_ctx.$slots, "default", { key: 1 })
43
+ ];
44
+ })
45
+ ]),
46
+ default: _withCtx(() => [
47
+ _createElementVNode("span", null, [
48
+ _renderSlot(_ctx.$slots, "default")
49
+ ])
50
+ ]),
51
+ _: 3
52
+ /* FORWARDED */
53
+ }, 16, ["class", "style", "onClick"]);
68
54
  }
69
55
  const __sfc__ = defineComponent({
70
56
  name,
@@ -1 +1 @@
1
- .var-ellipsis { width: 100%; overflow: hidden; vertical-align: bottom; -webkit-tap-highlight-color: transparent;}.var-ellipsis--clamp { display: -webkit-inline-box; -webkit-box-orient: vertical;}.var-ellipsis--line { display: inline-block; white-space: nowrap; text-overflow: ellipsis;}.var-ellipsis--cursor { cursor: pointer;}.var-ellipsis--expand { display: inline-block; white-space: wrap; overflow: visible;}
1
+ .var-ellipsis[var-ellipsis-cover] { width: 100%; overflow: hidden; vertical-align: bottom; -webkit-tap-highlight-color: transparent;}.var-ellipsis--clamp[var-ellipsis-cover] { display: -webkit-inline-box; -webkit-box-orient: vertical;}.var-ellipsis--line[var-ellipsis-cover] { display: inline-block; white-space: nowrap; text-overflow: ellipsis;}.var-ellipsis--cursor[var-ellipsis-cover] { cursor: pointer;}.var-ellipsis--expand[var-ellipsis-cover] { display: inline-block; white-space: wrap; overflow: visible;}
@@ -283,7 +283,7 @@ import './tooltip/style/index.mjs'
283
283
  import './uploader/style/index.mjs'
284
284
  import './watermark/style/index.mjs'
285
285
 
286
- const version = '3.10.9'
286
+ const version = '3.11.0'
287
287
 
288
288
  function install(app) {
289
289
  ActionSheet.install && app.use(ActionSheet)
package/es/index.mjs CHANGED
@@ -188,7 +188,7 @@ export * from './tooltip/index.mjs'
188
188
  export * from './uploader/index.mjs'
189
189
  export * from './watermark/index.mjs'
190
190
 
191
- const version = '3.10.9'
191
+ const version = '3.11.0'
192
192
 
193
193
  function install(app) {
194
194
  ActionSheet.install && app.use(ActionSheet)