@opentinyvue/vue-dropdown-item 2.22.1 → 2.24.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.
@@ -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-8 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
- }, _vm.dataStore.multiStage ? "!px-0 mb-1" : "[&:not(:last-of-type)]:mb-1"),
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: ["sm:text-xs text-sm", _vm.level === "2" ? "mx-6 overflow-hidden text-ellipsis whitespace-nowrap" : "mx-4 sm:mx-3 overflow-hidden text-ellipsis whitespace-nowrap"],
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.22.1",
4
+ "version": "2.24.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.22.0",
12
- "@opentinyvue/vue-directive": "~2.22.0",
13
- "@opentinyvue/vue-icon": "~2.22.0",
14
- "@opentinyvue/vue-renderless": "~3.22.0",
15
- "@opentinyvue/vue-theme": "~3.22.0"
11
+ "@opentinyvue/vue-common": "~2.24.0",
12
+ "@opentinyvue/vue-directive": "~2.24.0",
13
+ "@opentinyvue/vue-icon": "~2.24.0",
14
+ "@opentinyvue/vue-renderless": "~3.24.0",
15
+ "@opentinyvue/vue-theme": "~3.24.0"
16
16
  },
17
17
  "types": "index.d.ts",
18
18
  "scripts": {
package/src/index.d.ts CHANGED
@@ -87,6 +87,7 @@ export declare const dropdownItemProps: {
87
87
  tiny_template: (ObjectConstructor | FunctionConstructor)[];
88
88
  tiny_renderless: FunctionConstructor;
89
89
  tiny_theme: StringConstructor;
90
+ tiny_mcp_config: ObjectConstructor;
90
91
  tiny_chart_theme: ObjectConstructor;
91
92
  };
92
93
  declare const _default: any;