one-design-next 0.0.34 → 0.0.35

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.
@@ -2,7 +2,7 @@ var _excluded = ["className", "style", "length", "size", "disabled", "autoFocus"
2
2
  function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
3
3
  function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
4
4
  function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
5
- import { OTPFieldPreview as OTPField } from '@base-ui/react/otp-field';
5
+ import { OTPField } from '@base-ui/react/otp-field';
6
6
  import React, { useEffect, useImperativeHandle, useRef } from 'react';
7
7
  import "./style";
8
8
  var InputOtp = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
@@ -123,6 +123,7 @@ html {
123
123
  [data-odn-pagination-extra] {
124
124
  display: flex;
125
125
  align-items: center;
126
+ margin-right: 12px;
126
127
  gap: 4px;
127
128
  font-size: 14px;
128
129
  color: rgba(0, 0, 0, 0.95);
package/package.json CHANGED
@@ -1,8 +1,8 @@
1
1
  {
2
2
  "name": "one-design-next",
3
- "version": "0.0.34",
3
+ "version": "0.0.35",
4
4
  "description": "One Design Next from TAD@tencent.com",
5
- "packageManager": "pnpm@10.33.0",
5
+ "packageManager": "pnpm@11.8.0",
6
6
  "module": "dist/index.js",
7
7
  "types": "dist/index.d.ts",
8
8
  "type": "module",
@@ -88,7 +88,7 @@
88
88
  "@fontsource/jetbrains-mono": "^5.2.8",
89
89
  "@fontsource/noto-sans-sc": "^5.2.9",
90
90
  "@tailwindcss/postcss": "^4",
91
- "@tailwindcss/vite": "^4.3.0",
91
+ "@tailwindcss/vite": "^4.3.1",
92
92
  "@testing-library/dom": "^10.4.1",
93
93
  "@testing-library/jest-dom": "^6.9.1",
94
94
  "@testing-library/react": "^16.3.2",
@@ -97,24 +97,26 @@
97
97
  "@types/d3": "^7.4.3",
98
98
  "@types/d3-cloud": "^1.2.9",
99
99
  "@types/fs-extra": "^11.0.4",
100
+ "@types/node": "^20.5.1",
100
101
  "@types/pngjs": "^6.0.5",
101
102
  "@types/react": "^18.0.0",
102
103
  "@types/react-dom": "^18.0.0",
103
104
  "@umijs/lint": "latest",
104
105
  "@umijs/plugins": "latest",
105
- "@vitejs/plugin-react": "^4.0.0",
106
- "@vitest/browser": "^3.2.4",
107
- "@vitest/coverage-v8": "^3.2.4",
108
- "@xyflow/react": "^12.10.2",
106
+ "@vitejs/plugin-react": "^6.0.2",
107
+ "@vitest/browser": "^4.1.9",
108
+ "@vitest/browser-playwright": "4.1.9",
109
+ "@vitest/coverage-v8": "^4.1.9",
110
+ "@xyflow/react": "^12.11.0",
109
111
  "copy-to-clipboard": "latest",
110
112
  "d3": "^7.9.0",
111
113
  "d3-cloud": "^1.2.9",
112
114
  "dumi": "latest",
113
- "echarts": "^6.0.0",
115
+ "echarts": "^6.1.0",
114
116
  "echarts-for-react": "^3.0.6",
115
117
  "eslint": "^9.32.0",
116
118
  "father": "^4.1.0",
117
- "fs-extra": "^11.3.3",
119
+ "fs-extra": "^11.3.5",
118
120
  "github-slugger": "^2.0.0",
119
121
  "glob": "latest",
120
122
  "husky": "^8.0.1",
@@ -122,11 +124,11 @@
122
124
  "lucide-react": "latest",
123
125
  "p5i": "^0.6.0",
124
126
  "pixelmatch": "^7.2.0",
125
- "playwright": "^1.60.0",
127
+ "playwright": "^1.61.0",
126
128
  "pngjs": "^7.0.0",
127
- "prettier": "^3.7.4",
129
+ "prettier": "^3.8.4",
128
130
  "prettier-plugin-organize-imports": "^4.3.0",
129
- "prettier-plugin-packagejson": "^2.5.20",
131
+ "prettier-plugin-packagejson": "^3.0.2",
130
132
  "prism-react-renderer": "^2.4.1",
131
133
  "react": "^18.0.0",
132
134
  "react-d3-cloud": "^1.0.6",
@@ -139,20 +141,21 @@
139
141
  "tailwind-merge": "^3.6.0",
140
142
  "tailwindcss": "^4",
141
143
  "tweakpane": "latest",
142
- "typescript": "^5.8.3",
143
- "vitest": "^3.2.4"
144
+ "typescript": "^6.0.3",
145
+ "vite": "^8.0.16",
146
+ "vitest": "^4.1.9"
144
147
  },
145
148
  "dependencies": {
146
- "@base-ui/react": "^1.5.0",
149
+ "@base-ui/react": "^1.6.0",
147
150
  "@daypicker/react": "^10.0.1",
148
151
  "@floating-ui/react": "^0.27.19",
149
152
  "@number-flow/react": "^0.6.0",
150
153
  "@paper-design/shaders-react": "^0.0.76",
151
- "@radix-ui/react-slot": "^1.2.4",
154
+ "@radix-ui/react-slot": "^1.3.0",
152
155
  "clsx": "^2.1.1",
153
156
  "echarts-for-react": "^3.0.6",
154
157
  "ldrs": "^1.1.9",
155
- "motion": "^12.39.0",
158
+ "motion": "^12.40.0",
156
159
  "rc-cascader": "^3.34.0",
157
160
  "rc-select": "^14.16.8",
158
161
  "rc-slider": "^11.1.9",