@opentiny/vue-drawer 3.12.0 → 3.13.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/index.js CHANGED
@@ -16,10 +16,12 @@ import { $prefix, $props, $setup } from "@opentiny/vue-common";
16
16
  import PcTemplate from "./pc.js";
17
17
  import MobileFirstTemplate from "./mobile-first.js";
18
18
  var template = function template2(mode) {
19
- if ("pc" === (process.env.TINY_MODE || mode)) {
19
+ var _process$env;
20
+ var tinyMode = typeof process === "object" ? (_process$env = process.env) == null ? void 0 : _process$env.TINY_MODE : null;
21
+ if ("pc" === (tinyMode || mode)) {
20
22
  return PcTemplate;
21
23
  }
22
- if ("mobile-first" === (process.env.TINY_MODE || mode)) {
24
+ if ("mobile-first" === (tinyMode || mode)) {
23
25
  return MobileFirstTemplate;
24
26
  }
25
27
  return PcTemplate;
@@ -97,7 +99,7 @@ var Drawer = {
97
99
  });
98
100
  }
99
101
  };
100
- var version = "3.12.0";
102
+ var version = "3.13.0";
101
103
  Drawer.model = {
102
104
  prop: "modelValue",
103
105
  event: "update:modelValue"
package/package.json CHANGED
@@ -1,15 +1,15 @@
1
1
  {
2
2
  "name": "@opentiny/vue-drawer",
3
- "version": "3.12.0",
3
+ "version": "3.13.0",
4
4
  "description": "",
5
5
  "main": "./lib/index.js",
6
6
  "module": "./lib/index.js",
7
7
  "sideEffects": false,
8
8
  "type": "module",
9
9
  "dependencies": {
10
- "@opentiny/vue-button": "~3.12.0",
11
- "@opentiny/vue-common": "~3.12.0",
12
- "@opentiny/vue-renderless": "~3.12.0"
10
+ "@opentiny/vue-button": "~3.13.0",
11
+ "@opentiny/vue-common": "~3.13.0",
12
+ "@opentiny/vue-renderless": "~3.13.0"
13
13
  },
14
14
  "license": "MIT",
15
15
  "types": "index.d.ts"
@@ -26,7 +26,6 @@ declare const _default: import("@vue/runtime-core").DefineComponent<Readonly<{
26
26
  d: (props: any) => void;
27
27
  dp: (props: any) => void;
28
28
  gcls: (key: any) => any;
29
- m: (...cssClasses: any[]) => string;
30
29
  }, unknown, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {}, string, import("@vue/runtime-core").VNodeProps & import("@vue/runtime-core").AllowedComponentProps & import("@vue/runtime-core").ComponentCustomProps, Readonly<import("@vue/runtime-core").ExtractPropTypes<Readonly<{
31
30
  title?: any;
32
31
  tiny_mode?: any;
package/src/pc.vue.d.ts CHANGED
@@ -28,7 +28,6 @@ declare const _default: import("@vue/runtime-core").DefineComponent<Readonly<{
28
28
  d: (props: any) => void;
29
29
  dp: (props: any) => void;
30
30
  gcls: (key: any) => any;
31
- m: (...cssClasses: any[]) => string;
32
31
  }, unknown, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {}, string, import("@vue/runtime-core").VNodeProps & import("@vue/runtime-core").AllowedComponentProps & import("@vue/runtime-core").ComponentCustomProps, Readonly<import("@vue/runtime-core").ExtractPropTypes<Readonly<{
33
32
  title?: any;
34
33
  tiny_mode?: any;