@opentinyvue/vue-dropdown-item 2.22.0 → 2.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
|
@@ -48,9 +48,9 @@ var render = function render2() {
|
|
|
48
48
|
var _h = _vm.$createElement;
|
|
49
49
|
var _c = _vm._self._c || _h;
|
|
50
50
|
return _c("li", {
|
|
51
|
-
class: _vm.m("rounded-sm list-none leading-10 sm:leading-
|
|
51
|
+
class: _vm.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", _vm.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", {
|
|
52
52
|
"text-color-brand-focus bg-color-fill-6": _vm.dataStore.checkedStatus && _vm.selected
|
|
53
|
-
}, _vm.dataStore.multiStage ? "!px-0
|
|
53
|
+
}, _vm.dataStore.multiStage ? "!px-0" : "[&:not(:last-of-type)]:mb-1"),
|
|
54
54
|
attrs: {
|
|
55
55
|
"data-tag": "tiny-dropdown-item",
|
|
56
56
|
"aria-disabled": _vm.disabled,
|
|
@@ -66,7 +66,7 @@ var render = function render2() {
|
|
|
66
66
|
}
|
|
67
67
|
}, [_c("div", {
|
|
68
68
|
ref: "level",
|
|
69
|
-
class: ["
|
|
69
|
+
class: ["text-xs", _vm.level === "2" ? "mx-6 overflow-hidden text-ellipsis whitespace-nowrap" : "mx-4 sm:mx-3 overflow-hidden text-ellipsis whitespace-nowrap"],
|
|
70
70
|
attrs: {
|
|
71
71
|
"data-tag": "tiny-dropdown-level"
|
|
72
72
|
}
|
package/package.json
CHANGED
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@opentinyvue/vue-dropdown-item",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "2.
|
|
4
|
+
"version": "2.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": "~2.
|
|
12
|
-
"@opentinyvue/vue-directive": "~2.
|
|
13
|
-
"@opentinyvue/vue-icon": "~2.
|
|
14
|
-
"@opentinyvue/vue-renderless": "~3.
|
|
15
|
-
"@opentinyvue/vue-theme": "~3.
|
|
11
|
+
"@opentinyvue/vue-common": "~2.23.0",
|
|
12
|
+
"@opentinyvue/vue-directive": "~2.23.0",
|
|
13
|
+
"@opentinyvue/vue-icon": "~2.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": {
|