@v-miniapp/ui-react 1.0.38 → 1.0.40

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.
@@ -10229,7 +10229,7 @@ const wn = () => {
10229
10229
  ), o = () => {
10230
10230
  let a = i.maxStack;
10231
10231
  return [...e].reverse().map((s, l) => {
10232
- const c = s.location.key, u = n[c]?.keepAlive, f = n[c]?.freeze ?? i.freeze, d = n[c]?.freezeDelay ?? i.freezeDelay, h = typeof u > "u" ? r.keepAlive : u;
10232
+ const c = s.location.key, u = n[c]?.keepAlive, f = n[c]?.freeze ?? i.freeze, d = n[c]?.freezeDelay ?? i.freezeDelay, h = typeof u > "u" ? i.enable : u;
10233
10233
  if (!(!l || a > 0 && h)) return null;
10234
10234
  a--;
10235
10235
  const v = Kr(
package/dist/index.js CHANGED
@@ -3555,7 +3555,7 @@ const fr = () => {
3555
3555
  ), l = () => {
3556
3556
  let o = n.maxStack;
3557
3557
  return [...e].reverse().map((s, c) => {
3558
- const u = s.location.key, d = t[u]?.keepAlive, g = t[u]?.freeze ?? n.freeze, f = t[u]?.freezeDelay ?? n.freezeDelay, b = typeof d > "u" ? a.keepAlive : d;
3558
+ const u = s.location.key, d = t[u]?.keepAlive, g = t[u]?.freeze ?? n.freeze, f = t[u]?.freezeDelay ?? n.freezeDelay, b = typeof d > "u" ? n.enable : d;
3559
3559
  if (!(!c || o > 0 && b)) return null;
3560
3560
  o--;
3561
3561
  const h = Yr(
package/package.json CHANGED
@@ -1,10 +1,10 @@
1
1
  {
2
2
  "name": "@v-miniapp/ui-react",
3
- "version": "1.0.38",
3
+ "version": "1.0.40",
4
4
  "type": "module",
5
5
  "files": [
6
6
  "dist",
7
- "dist-preview"
7
+ "dist-storybook"
8
8
  ],
9
9
  "module": "./dist/index.js",
10
10
  "types": "./dist/index.d.ts",
@@ -16,21 +16,6 @@
16
16
  "./*": "./dist/*",
17
17
  "./tailwind": "./dist/tailwind/styles.css"
18
18
  },
19
- "scripts": {
20
- "dev:example": "vite --config vite.config.example.ts",
21
- "dev:example:showcase": "vite --config vite.config.example.showcase.ts",
22
- "build:lib": "pnpm run build:lib:local && pnpm run build:lib:external",
23
- "build:lib:local": "tsc -p tsconfig.lib.json && vite build --config vite.config.lib.local.ts",
24
- "build:lib:external": "tsc -p tsconfig.lib.json && vite build --config vite.config.lib.external.ts",
25
- "build:example": "tsc -p tsconfig.example.json && vite build --config vite.config.example.ts",
26
- "build:example:showcase": "tsc -p tsconfig.example.json && vite build --config vite.config.example.showcase.ts",
27
- "lint": "eslint .",
28
- "preview": "vite preview",
29
- "storybook": "storybook dev -p 6006",
30
- "build:storybook": "storybook build -o dist-storybook -c .storybook/build && node scripts/clean-storybook.js",
31
- "generate-colors": "./scripts/generate-colors.js",
32
- "generate-icons": "./scripts/generate-icons.js"
33
- },
34
19
  "dependencies": {
35
20
  "@types/lodash": "^4.17.23",
36
21
  "@use-gesture/react": "^10.3.1",
@@ -54,42 +39,7 @@
54
39
  "react": ">=19.0.0",
55
40
  "react-dom": ">=19.0.0"
56
41
  },
57
- "devDependencies": {
58
- "@eslint/js": "^9.33.0",
59
- "@storybook/addon-a11y": "^9.1.5",
60
- "@storybook/addon-docs": "^9.1.5",
61
- "@storybook/addon-vitest": "^9.1.5",
62
- "@storybook/react-vite": "^9.1.5",
63
- "@types/inputmask": "^5.0.7",
64
- "@types/mustache": "^4.2.6",
65
- "@types/node": "^24.3.3",
66
- "@types/react": "19.2.3",
67
- "@types/react-dom": "^19.2.3",
68
- "@types/react-is": "^19.0.0",
69
- "@types/use-sync-external-store": "^1.5.0",
70
- "@vitejs/plugin-react-swc": "^4.0.0",
71
- "@vitest/browser": "^3.2.4",
72
- "@vitest/coverage-v8": "^3.2.4",
73
- "eslint": "^9.33.0",
74
- "eslint-config-prettier": "^10.1.8",
75
- "eslint-plugin-react-hooks": "^5.2.0",
76
- "eslint-plugin-react-refresh": "^0.4.20",
77
- "eslint-plugin-storybook": "^9.1.5",
78
- "globals": "^16.3.0",
79
- "playwright": "^1.55.0",
80
- "sass": "^1.92.1",
81
- "storybook": "^9.1.17",
82
- "typescript": "~5.8.3",
83
- "typescript-eslint": "^8.39.1",
84
- "vite": "^7.1.2",
85
- "vite-plugin-dts": "^4.5.4",
86
- "vite-plugin-eslint": "^1.8.1",
87
- "vite-plugin-static-copy": "^3.1.4",
88
- "vite-plugin-svgr": "^4.5.0",
89
- "vitest": "^3.2.4"
90
- },
91
42
  "engines": {
92
43
  "node": ">=22"
93
- },
94
- "packageManager": "pnpm@10.16.0"
44
+ }
95
45
  }