@opentinyvue/vue-dropdown-item 3.22.1 → 3.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.
@@ -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-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", _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", {
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 mb-1" : "[&:not(:last-of-type)]:mb-1")),
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(["sm:text-xs text-sm", _ctx.level === "2" ? "mx-6 overflow-hidden text-ellipsis whitespace-nowrap" : "mx-4 sm:mx-3 overflow-hidden text-ellipsis whitespace-nowrap"])
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.22.1",
4
+ "version": "3.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": "~3.22.0",
12
- "@opentinyvue/vue-directive": "~3.22.0",
13
- "@opentinyvue/vue-icon": "~3.22.0",
14
- "@opentinyvue/vue-renderless": "~3.22.0",
15
- "@opentinyvue/vue-theme": "~3.22.0"
11
+ "@opentinyvue/vue-common": "~3.24.0",
12
+ "@opentinyvue/vue-directive": "~3.24.0",
13
+ "@opentinyvue/vue-icon": "~3.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: import("@vue/runtime-core").DefineComponent<{
@@ -162,6 +163,7 @@ declare const _default: import("@vue/runtime-core").DefineComponent<{
162
163
  tiny_template: (ObjectConstructor | FunctionConstructor)[];
163
164
  tiny_renderless: FunctionConstructor;
164
165
  tiny_theme: StringConstructor;
166
+ tiny_mcp_config: ObjectConstructor;
165
167
  tiny_chart_theme: ObjectConstructor;
166
168
  }, () => import("@vue/runtime-core").VNode<import("@vue/runtime-core").RendererNode, import("@vue/runtime-core").RendererElement, {
167
169
  [key: string]: any;
@@ -238,6 +240,7 @@ declare const _default: import("@vue/runtime-core").DefineComponent<{
238
240
  tiny_template: (ObjectConstructor | FunctionConstructor)[];
239
241
  tiny_renderless: FunctionConstructor;
240
242
  tiny_theme: StringConstructor;
243
+ tiny_mcp_config: ObjectConstructor;
241
244
  tiny_chart_theme: ObjectConstructor;
242
245
  }>>, {
243
246
  disabled: boolean;
@@ -11,6 +11,7 @@ declare const _default: import("@vue/runtime-core").DefineComponent<Readonly<{
11
11
  _constants?: any;
12
12
  tiny_theme?: any;
13
13
  tiny_chart_theme?: any;
14
+ tiny_mcp_config?: any;
14
15
  itemData?: any;
15
16
  currentIndex?: any;
16
17
  tooltipContent?: any;
@@ -27,6 +28,7 @@ declare const _default: import("@vue/runtime-core").DefineComponent<Readonly<{
27
28
  _constants?: any;
28
29
  tiny_theme?: any;
29
30
  tiny_chart_theme?: any;
31
+ tiny_mcp_config?: any;
30
32
  itemData?: any;
31
33
  currentIndex?: any;
32
34
  tooltipContent?: any;
@@ -52,6 +54,7 @@ declare const _default: import("@vue/runtime-core").DefineComponent<Readonly<{
52
54
  readonly _constants?: any;
53
55
  readonly tiny_theme?: any;
54
56
  readonly tiny_chart_theme?: any;
57
+ readonly tiny_mcp_config?: any;
55
58
  readonly itemData?: any;
56
59
  readonly currentIndex?: any;
57
60
  readonly tooltipContent?: any;
package/src/pc.vue.d.ts CHANGED
@@ -16,6 +16,7 @@ declare const _default: import("@vue/runtime-core").DefineComponent<Readonly<{
16
16
  _constants?: any;
17
17
  tiny_theme?: any;
18
18
  tiny_chart_theme?: any;
19
+ tiny_mcp_config?: any;
19
20
  effect?: any;
20
21
  multiStage?: any;
21
22
  textField?: any;
@@ -43,6 +44,7 @@ declare const _default: import("@vue/runtime-core").DefineComponent<Readonly<{
43
44
  _constants?: any;
44
45
  tiny_theme?: any;
45
46
  tiny_chart_theme?: any;
47
+ tiny_mcp_config?: any;
46
48
  effect?: any;
47
49
  multiStage?: any;
48
50
  textField?: any;
@@ -80,6 +82,7 @@ declare const _default: import("@vue/runtime-core").DefineComponent<Readonly<{
80
82
  readonly _constants?: any;
81
83
  readonly tiny_theme?: any;
82
84
  readonly tiny_chart_theme?: any;
85
+ readonly tiny_mcp_config?: any;
83
86
  readonly effect?: any;
84
87
  readonly multiStage?: any;
85
88
  readonly textField?: any;