@opentinyvue/vue-dropdown-item 3.22.1 → 3.23.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.
- package/lib/index.js +1 -1
- package/lib/mobile-first.js +3 -3
- package/package.json +6 -6
package/lib/index.js
CHANGED
package/lib/mobile-first.js
CHANGED
|
@@ -57,9 +57,9 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
57
57
|
onMouseleave: _cache[1] || (_cache[1] = function() {
|
|
58
58
|
return _ctx.mouseLeave && _ctx.mouseLeave.apply(_ctx, arguments);
|
|
59
59
|
}),
|
|
60
|
-
class: normalizeClass(_ctx.m("rounded-sm list-none leading-10 sm:leading-
|
|
60
|
+
class: normalizeClass(_ctx.m("mb-1 rounded-sm list-none leading-10 sm:leading-5.5 outline-0 min-w-[theme(spacing.18)] max-w-[theme(spacing.52)] w-full [&_svg]:sm:w-3.5 [&_svg]:sm:h-3.5 [&_svg]:sm:mr-1.5 [&_svg]:mr-2 [&_svg]:align-text-bottom", _ctx.disabled ? "cursor-not-allowed text-color-text-disabled [&_svg]:fill-color-text-disabled" : "text-color-text-primary active:bg-color-bg-4 visited:text-color-brand hover:bg-color-bg-2 focus:bg-color-bg-4 cursor-pointer", {
|
|
61
61
|
"text-color-brand-focus bg-color-fill-6": _ctx.dataStore.checkedStatus && _ctx.selected
|
|
62
|
-
}, _ctx.dataStore.multiStage ? "!px-0
|
|
62
|
+
}, _ctx.dataStore.multiStage ? "!px-0" : "[&:not(:last-of-type)]:mb-1")),
|
|
63
63
|
onClick: _cache[2] || (_cache[2] = withModifiers(function() {
|
|
64
64
|
return _ctx.handleClick && _ctx.handleClick.apply(_ctx, arguments);
|
|
65
65
|
}, ["stop"])),
|
|
@@ -70,7 +70,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
70
70
|
{
|
|
71
71
|
"data-tag": "tiny-dropdown-level",
|
|
72
72
|
ref: "level",
|
|
73
|
-
class: normalizeClass(["
|
|
73
|
+
class: normalizeClass(["text-xs", _ctx.level === "2" ? "mx-6 overflow-hidden text-ellipsis whitespace-nowrap" : "mx-4 sm:mx-3 overflow-hidden text-ellipsis whitespace-nowrap"])
|
|
74
74
|
},
|
|
75
75
|
[_ctx.icon ? (openBlock(), createBlock(resolveDynamicComponent(_ctx.icon), {
|
|
76
76
|
key: 0,
|
package/package.json
CHANGED
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@opentinyvue/vue-dropdown-item",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.23.0",
|
|
5
5
|
"description": "",
|
|
6
6
|
"license": "MIT",
|
|
7
7
|
"sideEffects": false,
|
|
8
8
|
"main": "./lib/index.js",
|
|
9
9
|
"module": "./lib/index.js",
|
|
10
10
|
"dependencies": {
|
|
11
|
-
"@opentinyvue/vue-common": "~3.
|
|
12
|
-
"@opentinyvue/vue-directive": "~3.
|
|
13
|
-
"@opentinyvue/vue-icon": "~3.
|
|
14
|
-
"@opentinyvue/vue-renderless": "~3.
|
|
15
|
-
"@opentinyvue/vue-theme": "~3.
|
|
11
|
+
"@opentinyvue/vue-common": "~3.23.0",
|
|
12
|
+
"@opentinyvue/vue-directive": "~3.23.0",
|
|
13
|
+
"@opentinyvue/vue-icon": "~3.23.0",
|
|
14
|
+
"@opentinyvue/vue-renderless": "~3.23.0",
|
|
15
|
+
"@opentinyvue/vue-theme": "~3.23.0"
|
|
16
16
|
},
|
|
17
17
|
"types": "index.d.ts",
|
|
18
18
|
"scripts": {
|