@opentinyvue/vue-dropdown 2.25.0 → 2.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.
@@ -155,9 +155,9 @@ var __vue2_script = defineComponent({
155
155
  }
156
156
  var defaultIcon = h2("span", {
157
157
  "class": "block text-[0]"
158
- }, [h2("icon-chevron-down", {
158
+ }, [state.current !== "default" ? h2("icon-chevron-down", {
159
159
  "class": "sm:block hidden will-change-transform"
160
- }), h2("icon-arrow-bottom", {
160
+ }) : h2("icon-arrow-bottom", {
161
161
  "class": "sm:hidden block will-change-transform"
162
162
  })]);
163
163
  var suffixInner = state.showIcon && h2("span", {
@@ -189,7 +189,7 @@ var __vue2_script = defineComponent({
189
189
  }
190
190
  var menuElm = disabled ? null : slots.dropdown && slots.dropdown();
191
191
  return h2("div", {
192
- "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"],
192
+ "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"],
193
193
  "directives": [{
194
194
  name: "clickoutside",
195
195
  value: clickOutside
@@ -209,8 +209,8 @@ function __vue2_injectStyles(context) {
209
209
  this[o] = __cssModules[o];
210
210
  }
211
211
  }
212
- var mobileFirst = /* @__PURE__ */ function() {
212
+ var mobileFirst = /* @__PURE__ */ (function() {
213
213
  return __component__.exports;
214
- }();
214
+ })();
215
215
 
216
216
  export { mobileFirst as default };
package/lib/pc.js CHANGED
@@ -241,8 +241,8 @@ function __vue2_injectStyles(context) {
241
241
  this[o] = __cssModules[o];
242
242
  }
243
243
  }
244
- var pc = /* @__PURE__ */ function() {
244
+ var pc = /* @__PURE__ */ (function() {
245
245
  return __component__.exports;
246
- }();
246
+ })();
247
247
 
248
248
  export { pc as default };
package/package.json CHANGED
@@ -1,21 +1,21 @@
1
1
  {
2
2
  "name": "@opentinyvue/vue-dropdown",
3
3
  "type": "module",
4
- "version": "2.25.0",
4
+ "version": "2.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": "~2.25.0",
12
- "@opentinyvue/vue-button-group": "~2.25.0",
13
- "@opentinyvue/vue-common": "~2.25.0",
14
- "@opentinyvue/vue-directive": "~2.25.0",
15
- "@opentinyvue/vue-dropdown-menu": "~2.25.0",
16
- "@opentinyvue/vue-icon": "~2.25.0",
17
- "@opentinyvue/vue-renderless": "~3.25.0",
18
- "@opentinyvue/vue-theme": "~3.25.0"
11
+ "@opentinyvue/vue-button": "~2.26.0",
12
+ "@opentinyvue/vue-button-group": "~2.26.0",
13
+ "@opentinyvue/vue-common": "~2.26.0",
14
+ "@opentinyvue/vue-directive": "~2.26.0",
15
+ "@opentinyvue/vue-dropdown-menu": "~2.26.0",
16
+ "@opentinyvue/vue-icon": "~2.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": {