@opentinyvue/vue-dropdown-item 2.25.0 → 2.27.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/mobile-first.js +5 -5
- package/lib/pc.js +2 -2
- package/package.json +6 -6
package/lib/mobile-first.js
CHANGED
|
@@ -32,7 +32,7 @@ function normalizeComponent(scriptExports, render, staticRenderFns, functionalTe
|
|
|
32
32
|
}
|
|
33
33
|
|
|
34
34
|
var __vue2_script = defineComponent({
|
|
35
|
-
emits: ["update:modelValue", "change", "closed", "open", "opened", "close", "confirm", "reset"],
|
|
35
|
+
emits: ["update:modelValue", "change", "closed", "open", "opened", "close", "confirm", "reset", "click"],
|
|
36
36
|
props: [].concat(props, ["disabled", "icon", "itemData", "selected", "label", "level", "currentIndex", "tooltipContent"]),
|
|
37
37
|
setup: function setup$1(props2, context) {
|
|
38
38
|
return setup({
|
|
@@ -48,7 +48,7 @@ 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("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", {
|
|
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
53
|
}, _vm.dataStore.multiStage ? "!px-0" : "[&:not(:last-of-type)]:!mb-1"),
|
|
54
54
|
attrs: {
|
|
@@ -66,7 +66,7 @@ var render = function render2() {
|
|
|
66
66
|
}
|
|
67
67
|
}, [_c("div", {
|
|
68
68
|
ref: "level",
|
|
69
|
-
class: ["text-
|
|
69
|
+
class: ["text-sm", _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
|
}
|
|
@@ -83,8 +83,8 @@ function __vue2_injectStyles(context) {
|
|
|
83
83
|
this[o] = __cssModules[o];
|
|
84
84
|
}
|
|
85
85
|
}
|
|
86
|
-
var mobileFirst = /* @__PURE__ */ function() {
|
|
86
|
+
var mobileFirst = /* @__PURE__ */ (function() {
|
|
87
87
|
return __component__.exports;
|
|
88
|
-
}();
|
|
88
|
+
})();
|
|
89
89
|
|
|
90
90
|
export { mobileFirst as default };
|
package/lib/pc.js
CHANGED
|
@@ -153,8 +153,8 @@ function __vue2_injectStyles(context) {
|
|
|
153
153
|
this[o] = __cssModules[o];
|
|
154
154
|
}
|
|
155
155
|
}
|
|
156
|
-
var pc = /* @__PURE__ */ function() {
|
|
156
|
+
var pc = /* @__PURE__ */ (function() {
|
|
157
157
|
return __component__.exports;
|
|
158
|
-
}();
|
|
158
|
+
})();
|
|
159
159
|
|
|
160
160
|
export { pc as default };
|
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.27.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.27.0",
|
|
12
|
+
"@opentinyvue/vue-directive": "~2.27.0",
|
|
13
|
+
"@opentinyvue/vue-icon": "~2.27.0",
|
|
14
|
+
"@opentinyvue/vue-renderless": "~3.27.0",
|
|
15
|
+
"@opentinyvue/vue-theme": "~3.27.0"
|
|
16
16
|
},
|
|
17
17
|
"types": "index.d.ts",
|
|
18
18
|
"scripts": {
|