@opentiny/vue-renderless 3.20.2 → 3.20.3-alpha.1

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/anchor/index.js CHANGED
@@ -1,6 +1,6 @@
1
1
  import "../chunk-G2ADBYYC.js";
2
2
  import { addClass, removeClass } from "../common/deps/dom";
3
- const getEleMentBySelect = (parent, selector) => (selector == null ? void 0 : selector.startsWith("#")) ? document.getElementById("selector") : parent.querySelector(selector);
3
+ const getEleMentBySelect = (parent, selector) => (selector == null ? void 0 : selector.startsWith("#")) ? document.getElementById(selector.slice(1)) : parent.querySelector(selector);
4
4
  const setFixAnchor = ({ vm, props }) => () => {
5
5
  const { anchorWrapRef } = vm.$refs;
6
6
  if (anchorWrapRef && props.isAffix) {
package/common/index.js CHANGED
@@ -237,7 +237,7 @@ const CASCADER = {
237
237
  PropsHover: "hoverThreshold",
238
238
  MenuConnector: "cascader-menu-"
239
239
  };
240
- const version = "3.20.2";
240
+ const version = "3.20.3";
241
241
  const log = (data, type = "log") => {
242
242
  uLog.logger[type](data);
243
243
  };
package/common/runtime.js CHANGED
@@ -22,7 +22,7 @@ import vuePopup from "./deps/vue-popup";
22
22
  import validate from "./validate";
23
23
  import memorize from "./deps/memorize";
24
24
  import * as common from ".";
25
- const version = "3.20.2";
25
+ const version = "3.20.3";
26
26
  const Renderless = {
27
27
  browser,
28
28
  array,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@opentiny/vue-renderless",
3
- "version": "3.20.2",
3
+ "version": "3.20.3-alpha.1",
4
4
  "description": "An enterprise-class UI component library, support both Vue.js 2 and Vue.js 3, as well as PC and mobile.",
5
5
  "author": "OpenTiny Team",
6
6
  "license": "MIT",
@@ -28,6 +28,9 @@
28
28
  "color": "4.2.3",
29
29
  "xss": "1.0.11"
30
30
  },
31
+ "peerDependencies": {
32
+ "vue": "^3.5.0 || ^3.4.0"
33
+ },
31
34
  "devDependencies": {
32
35
  "esno": "^4.7.0",
33
36
  "tsup": "7.2.0"
@@ -61,7 +61,7 @@ declare const datePickerProps: {
61
61
  default: boolean;
62
62
  };
63
63
  type: {
64
- type: PropType<"date" | "dates" | "year" | "years" | "yearrange" | "month" | "week" | "daterange" | "datetimerange" | "monthrange" | "datetime">;
64
+ type: PropType<"date" | "dates" | "daterange" | "week" | "month" | "monthrange" | "year" | "years" | "yearrange" | "datetime" | "datetimerange">;
65
65
  default: string;
66
66
  };
67
67
  _constants: {