@opentinyvue/vue-dropdown 3.25.0 → 3.26.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.
@@ -124,9 +124,9 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
124
124
  }
125
125
  var defaultIcon = createVNode("span", {
126
126
  "class": "block text-[0]"
127
- }, [createVNode(resolveComponent("icon-chevron-down"), {
127
+ }, [state.current !== "default" ? createVNode(resolveComponent("icon-chevron-down"), {
128
128
  "class": "sm:block hidden will-change-transform"
129
- }, null), createVNode(resolveComponent("icon-arrow-bottom"), {
129
+ }, null) : createVNode(resolveComponent("icon-arrow-bottom"), {
130
130
  "class": "sm:hidden block will-change-transform"
131
131
  }, null)]);
132
132
  var suffixInner = state.showIcon && createVNode("span", {
@@ -158,7 +158,7 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
158
158
  }
159
159
  var menuElm = disabled ? null : slots.dropdown && slots.dropdown();
160
160
  return withDirectives(createVNode("div", {
161
- "class": ["relative inline-block [&>span:nth-of-type(1)]:text-color-brand-focus [&>span:nth-of-type(1)]:text-sm sm:[&>span:nth-of-type(1)]:text-xs", disabled && "[&>span:nth-of-type(1)]:text-color-brand-focus", state.showSelfIcon && "leading-4 h-4 [&_svg]:align-top [&_svg]:rotate-0"],
161
+ "class": ["relative inline-block [&>span:nth-of-type(1)]:text-color-brand-focus [&>span:nth-of-type(1)]:text-sm sm:[&>span:nth-of-type(1)]:text-sm", disabled && "[&>span:nth-of-type(1)]:text-color-brand-focus", state.showSelfIcon && "leading-4 h-4 [&_svg]:align-top [&_svg]:rotate-0"],
162
162
  "aria-disabled": disabled,
163
163
  "data-tag": "tiny-dropdown"
164
164
  }, [triggerElm, menuElm]), [[resolveDirective("clickoutside"), clickOutside]]);
package/package.json CHANGED
@@ -1,21 +1,21 @@
1
1
  {
2
2
  "name": "@opentinyvue/vue-dropdown",
3
3
  "type": "module",
4
- "version": "3.25.0",
4
+ "version": "3.26.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-button": "~3.25.0",
12
- "@opentinyvue/vue-button-group": "~3.25.0",
13
- "@opentinyvue/vue-common": "~3.25.0",
14
- "@opentinyvue/vue-directive": "~3.25.0",
15
- "@opentinyvue/vue-dropdown-menu": "~3.25.0",
16
- "@opentinyvue/vue-icon": "~3.25.0",
17
- "@opentinyvue/vue-renderless": "~3.25.0",
18
- "@opentinyvue/vue-theme": "~3.25.0"
11
+ "@opentinyvue/vue-button": "~3.26.0",
12
+ "@opentinyvue/vue-button-group": "~3.26.0",
13
+ "@opentinyvue/vue-common": "~3.26.0",
14
+ "@opentinyvue/vue-directive": "~3.26.0",
15
+ "@opentinyvue/vue-dropdown-menu": "~3.26.0",
16
+ "@opentinyvue/vue-icon": "~3.26.0",
17
+ "@opentinyvue/vue-renderless": "~3.26.0",
18
+ "@opentinyvue/vue-theme": "~3.26.0"
19
19
  },
20
20
  "types": "index.d.ts",
21
21
  "scripts": {