@vtx/components 4.0.0-beta.51 → 4.0.0-beta.53

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.
@@ -22,7 +22,7 @@ var genVtxStyle = function genVtxStyle(token) {
22
22
  marginBottom: 10
23
23
  }), '.ant-popover-content', _defineProperty(_defineProperty(_defineProperty(_defineProperty({
24
24
  padding: '0 16px 16px 16px',
25
- width: 164
25
+ width: 196
26
26
  }, "".concat(token.antCls, "-tree-node-content-wrapper:hover"), {
27
27
  backgroundColor: 'transparent'
28
28
  }), ".ant-tree-switcher", {
@@ -4,7 +4,6 @@ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t =
4
4
  function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
5
5
  function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : String(i); }
6
6
  function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
7
- import { over } from '@umijs/utils/compiled/lodash';
8
7
  import { useStyle as useAntdStyle } from "../../vtx-provider";
9
8
  var genVtxSelectStyle = function genVtxSelectStyle(token) {
10
9
  var componentCls = token.componentCls;
@@ -28,7 +28,7 @@ var genVtxStyle = function genVtxStyle(token) {
28
28
  marginBottom: 10
29
29
  }), '.ant-popover-content', _defineProperty(_defineProperty(_defineProperty(_defineProperty({
30
30
  padding: '0 16px 16px 16px',
31
- width: 164
31
+ width: 196
32
32
  }, "".concat(token.antCls, "-tree-node-content-wrapper:hover"), {
33
33
  backgroundColor: 'transparent'
34
34
  }), ".ant-tree-switcher", {
@@ -4,7 +4,6 @@ Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
6
  exports.useStyle = useStyle;
7
- var _lodash = require("@umijs/utils/compiled/lodash");
8
7
  var _vtxProvider = require("../../vtx-provider");
9
8
  function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
10
9
  function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vtx/components",
3
- "version": "4.0.0-beta.51",
3
+ "version": "4.0.0-beta.53",
4
4
  "description": "React components for Vortex",
5
5
  "keywords": [
6
6
  "react",
@@ -12,6 +12,34 @@
12
12
  "es"
13
13
  ],
14
14
  "main": "lib/index.js",
15
+ "scripts": {
16
+ "start": "dumi dev",
17
+ "compile": "father build",
18
+ "build": "father build",
19
+ "bootstrap": "node ./scripts/bootstrap.mjs",
20
+ "changelog": "node ./scripts/changelogs.mjs",
21
+ "checkPublish": "npm run sync:tnpm && node ./scripts/checkPublish.mjs && npm run sync:tnpm",
22
+ "deploy": "cross-env SITE_DEPLOY='TRUE' npm run site && gh-pages -d ./dist",
23
+ "dumi": "cross-env SITE_DEPLOY='TRUE' dumi build",
24
+ "docs": "node ./scripts/docs.mjs",
25
+ "docs:dev": "pnpm docs dev",
26
+ "docs:build": "pnpm docs build",
27
+ "docs:preview": "pnpm docs preview",
28
+ "docs:create": "pnpm docs create",
29
+ "docs:check": "pnpm docs check",
30
+ "lint": "eslint --cache --ext .js,.jsx,.ts,.tsx --fix ./ && npm run tsc",
31
+ "prettier": "prettier --write \"**/**.{js,jsx,tsx,ts,less,md,yaml,json}\" --log-level warn",
32
+ "createRelease": "node ./scripts/createRelease.mjs",
33
+ "site": "npm run build && cross-env SITE_DEPLOY='TRUE' dumi build",
34
+ "sync:tnpm": "node -e 'import(\"./scripts/syncTNPM.mjs\").then(m => m.default())'",
35
+ "test": "cross-env TZ=UTC vitest run",
36
+ "test:coverage": "cross-env TZ=UTC TEST_LOG=none vitest run --coverage",
37
+ "test:ui": "cross-env TZ=UTC vitest --ui",
38
+ "test:update": "cross-env TZ=UTC vitest -u",
39
+ "tsc": "tsc --noEmit",
40
+ "publish:beta": "npm publish --tag beta",
41
+ "update:deps": "pnpm up --latest"
42
+ },
15
43
  "homepage": "https://git.cloudhw.cn:3443/front-end/react-components.git",
16
44
  "bugs": "https://git.cloudhw.cn:3443/front-end/react-components/-/issues",
17
45
  "repository": {
@@ -200,39 +228,12 @@
200
228
  "@vtx/utils": "^1.0.25"
201
229
  },
202
230
  "peerDependenciesName": "声明宿主依赖",
231
+ "packageManager": "pnpm@9.6.0",
203
232
  "publishConfig": {
204
233
  "access": "public"
205
234
  },
206
235
  "gitHooks": {
207
236
  "pre-commit": "pretty-quick --staged",
208
237
  "commit-msg": "fabric verify-commit"
209
- },
210
- "scripts": {
211
- "start": "dumi dev",
212
- "compile": "father build",
213
- "build": "father build",
214
- "bootstrap": "node ./scripts/bootstrap.mjs",
215
- "changelog": "node ./scripts/changelogs.mjs",
216
- "checkPublish": "npm run sync:tnpm && node ./scripts/checkPublish.mjs && npm run sync:tnpm",
217
- "deploy": "cross-env SITE_DEPLOY='TRUE' npm run site && gh-pages -d ./dist",
218
- "dumi": "cross-env SITE_DEPLOY='TRUE' dumi build",
219
- "docs": "node ./scripts/docs.mjs",
220
- "docs:dev": "pnpm docs dev",
221
- "docs:build": "pnpm docs build",
222
- "docs:preview": "pnpm docs preview",
223
- "docs:create": "pnpm docs create",
224
- "docs:check": "pnpm docs check",
225
- "lint": "eslint --cache --ext .js,.jsx,.ts,.tsx --fix ./ && npm run tsc",
226
- "prettier": "prettier --write \"**/**.{js,jsx,tsx,ts,less,md,yaml,json}\" --log-level warn",
227
- "createRelease": "node ./scripts/createRelease.mjs",
228
- "site": "npm run build && cross-env SITE_DEPLOY='TRUE' dumi build",
229
- "sync:tnpm": "node -e 'import(\"./scripts/syncTNPM.mjs\").then(m => m.default())'",
230
- "test": "cross-env TZ=UTC vitest run",
231
- "test:coverage": "cross-env TZ=UTC TEST_LOG=none vitest run --coverage",
232
- "test:ui": "cross-env TZ=UTC vitest --ui",
233
- "test:update": "cross-env TZ=UTC vitest -u",
234
- "tsc": "tsc --noEmit",
235
- "publish:beta": "npm publish --tag beta",
236
- "update:deps": "pnpm up --latest"
237
238
  }
238
239
  }