@nutui/nutui 4.3.14 → 4.3.15-beta.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/CHANGELOG.md +19 -0
- package/README.md +2 -2
- package/dist/nutui.es.js +1 -1
- package/dist/nutui.js +4 -2
- package/dist/nutui.umd.js +1 -1
- package/dist/packages/dialog/Dialog.js +1 -0
- package/dist/packages/drag/Drag.js +4 -3
- package/dist/smartips/web-types.json +10 -1
- package/dist/styles/base-jda.css +1 -0
- package/dist/styles/themes/jda.scss +107 -0
- package/dist/styles/variables-jda.scss +945 -0
- package/dist/types/__VUE/dialog/index.d.ts +1 -0
- package/dist/types/index.d.ts +1 -1
- package/package.json +96 -19
package/dist/types/index.d.ts
CHANGED
|
@@ -154,7 +154,7 @@ import Invoice from './__VUE/invoice/index';
|
|
|
154
154
|
export * from './__VUE/invoice/index';
|
|
155
155
|
import AvatarCropper from './__VUE/avatarcropper/index.vue';
|
|
156
156
|
declare function install(app: App): void;
|
|
157
|
-
declare const version = "4.3.
|
|
157
|
+
declare const version = "4.3.15";
|
|
158
158
|
export { install, version, Locale, Button, Cell, CellGroup, Overlay, Popup, ConfigProvider, Image, Layout, Col, Row, Sticky, Divider, Grid, GridItem, Space, Navbar, FixedNav, Menu, MenuItem, Tabbar, TabbarItem, Elevator, Pagination, Tabs, TabPane, Indicator, SideNavbar, SideNavbarItem, SubSideNavbar, Range, Searchbar, Cascader, Calendar, CalendarCard, Checkbox, CheckboxGroup, DatePicker, InputNumber, Input, Radio, RadioGroup, Rate, Picker, ShortPassword, Textarea, Uploader, NumberKeyboard, Form, FormItem, Swipe, SwipeGroup, ActionSheet, Backtop, Drag, Dialog, InfiniteLoading, PullRefresh, Notify, Switch, Toast, Audio, AudioOperate, Avatar, AvatarGroup, List, Progress, CircleProgress, Noticebar, Empty, Video, Steps, Step, Swiper, SwiperItem, Price, ImagePreview, Countup, Countdown, Badge, Tag, Popover, Skeleton, Collapse, CollapseItem, Table, Animate, Ellipsis, Watermark, TrendArrow, Tour, Address, Barrage, Signature, TimeSelect, TimePannel, TimeDetail, Sku, Card, Ecard, AddressList, Category, CategoryPane, Comment, Invoice, AvatarCropper, showDialog, showNotify, showToast, showImagePreview };
|
|
159
159
|
declare const _default: {
|
|
160
160
|
install: typeof install;
|
package/package.json
CHANGED
|
@@ -1,16 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nutui/nutui",
|
|
3
|
-
"version": "4.3.
|
|
3
|
+
"version": "4.3.15-beta.1",
|
|
4
4
|
"description": "京东风格的轻量级移动端 Vue2、Vue3 组件库(支持小程序开发)",
|
|
5
5
|
"main": "dist/nutui.umd.js",
|
|
6
6
|
"module": "dist/nutui.es.js",
|
|
7
7
|
"style": "dist/style.css",
|
|
8
|
+
"type": "module",
|
|
8
9
|
"typings": "dist/types/index.d.ts",
|
|
9
|
-
"sideEffects": [
|
|
10
|
-
"dist/packages/**/style/*.mjs",
|
|
11
|
-
"*.scss",
|
|
12
|
-
"*.css"
|
|
13
|
-
],
|
|
14
10
|
"web-types": "dist/smartips/web-types.json",
|
|
15
11
|
"keywords": [
|
|
16
12
|
"nutui",
|
|
@@ -32,26 +28,107 @@
|
|
|
32
28
|
"access": "public",
|
|
33
29
|
"registry": "https://registry.npmjs.org/"
|
|
34
30
|
},
|
|
31
|
+
"files": [
|
|
32
|
+
"dist",
|
|
33
|
+
"README.md",
|
|
34
|
+
"package.json",
|
|
35
|
+
"LICENSE",
|
|
36
|
+
"CHANGELOG.md"
|
|
37
|
+
],
|
|
35
38
|
"scripts": {
|
|
36
|
-
"
|
|
37
|
-
"
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
"
|
|
41
|
-
"
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
"
|
|
45
|
-
|
|
46
|
-
|
|
39
|
+
"preinstall": "npx only-allow pnpm",
|
|
40
|
+
"prepare": "husky && node scripts/generate-nutui.cjs && node scripts/generate-nutui-taro-vue.cjs && node ./scripts/generate-taro-route.cjs",
|
|
41
|
+
"dev": "vite --open --force",
|
|
42
|
+
"dev:h5": "pnpm --dir ./packages/nutui-taro-demo dev h5",
|
|
43
|
+
"dev:weapp": "pnpm --dir ./packages/nutui-taro-demo dev weapp",
|
|
44
|
+
"dev:taro": "pnpm --dir ./packages/nutui-taro-demo dev",
|
|
45
|
+
"build:demo": "vue-tsc --declaration --emitDeclarationOnly -p ./tsconfig.json && vite build",
|
|
46
|
+
"build:h5": "pnpm --dir ./packages/nutui-taro-demo build h5",
|
|
47
|
+
"build:weapp": "pnpm --dir ./packages/nutui-taro-demo build weapp",
|
|
48
|
+
"build": "vite build --config vite.config.build.ts && vite build --config vite.config.build.disperse.ts && pnpm generate:themes && vite build --config vite.config.build.css.ts && vite build --config vite.config.build.locale.ts && vite build --config vite.config.build.resolver.ts && pnpm dts && pnpm attrs && node scripts/generate-unplugin-deps.cjs nutui && node scripts/copy-dist.cjs nutui",
|
|
49
|
+
"build:taro": "vite build --config vite.config.build.taro.vue.ts && vite build --config vite.config.build.taro.vue.disperse.ts && pnpm generate:themes:taro && vite build --config vite.config.build.css.ts && vite build --config vite.config.build.locale.ts && vite build --config vite.config.build.resolver.ts && pnpm dts:taro && pnpm attrs:taro && node scripts/generate-unplugin-deps.cjs nutui-taro && node scripts/copy-dist.cjs nutui-taro",
|
|
50
|
+
"add": "node scripts/createComponentMode.js",
|
|
51
|
+
"generate:types": "rimraf ./dist/types && node scripts/generate-types.cjs",
|
|
52
|
+
"generate:types:taro": "rimraf ./dist/types && node scripts/generate-types-taro.cjs",
|
|
53
|
+
"generate:themes": "node scripts/generate-themes.cjs",
|
|
54
|
+
"generate:themes:taro": "node scripts/generate-themes.cjs taro",
|
|
55
|
+
"test": "vitest",
|
|
56
|
+
"test:ui": "vitest --ui --coverage",
|
|
57
|
+
"test:c": "vitest --coverage",
|
|
58
|
+
"lint": "eslint ./src ./packages/**/src",
|
|
59
|
+
"lint:fix": "pnpm lint --fix",
|
|
60
|
+
"lint:ui": "pnpm eslint-config-inspector",
|
|
61
|
+
"copydocs": "node ./scripts/copymd.cjs",
|
|
62
|
+
"attrs": "node ./scripts/createAttributes.cjs",
|
|
63
|
+
"attrs:taro": "node ./scripts/createAttributes.cjs taro",
|
|
64
|
+
"dts": "rimraf ./tsc/type && vue-tsc --declaration --emitDeclarationOnly -p ./tsconfig.h5.json && pnpm generate:types",
|
|
65
|
+
"dts:taro": "rimraf ./tsc/type && vue-tsc --declaration --emitDeclarationOnly -p ./tsconfig.taro.json && pnpm generate:types:taro",
|
|
66
|
+
"copy:h5": "node ./scripts/copyh5.cjs",
|
|
67
|
+
"copy:taro": "node ./scripts/copytaro.cjs",
|
|
68
|
+
"copy:info": "node ./scripts/copy-dist.cjs nutui && node ./scripts/copy-dist.cjs nutui-taro",
|
|
69
|
+
"changelog": "node ./scripts/generate-changelog.cjs",
|
|
70
|
+
"gen:setup": "node ./scripts/generate-script-setup.cjs",
|
|
71
|
+
"publish:h5:beta": "pnpm --dir ./publish/nutui publish:beta",
|
|
72
|
+
"publish:taro:beta": "pnpm --dir ./publish/nutui-taro publish:beta"
|
|
47
73
|
},
|
|
48
74
|
"dependencies": {
|
|
49
75
|
"@nutui/icons-vue": "^0.1.1",
|
|
50
|
-
"
|
|
76
|
+
"@nutui/icons-vue-taro": "^0.0.9",
|
|
77
|
+
"@nutui/touch-emulator": "workspace:^",
|
|
78
|
+
"sass": "^1.77.6",
|
|
79
|
+
"vue-router": "^4.4.0"
|
|
80
|
+
},
|
|
81
|
+
"devDependencies": {
|
|
82
|
+
"@commitlint/cli": "^19.3.0",
|
|
83
|
+
"@commitlint/config-conventional": "^19.2.2",
|
|
84
|
+
"@eslint/config-inspector": "^0.5.1",
|
|
85
|
+
"@eslint/eslintrc": "^3.1.0",
|
|
86
|
+
"@nutui/eslint-config": "workspace:*",
|
|
87
|
+
"@nutui/vite-plugins": "workspace:*",
|
|
88
|
+
"@tarojs/taro": "3.6.34",
|
|
89
|
+
"@types/node": "^20.14.9",
|
|
90
|
+
"@vitejs/plugin-vue": "^5.0.5",
|
|
91
|
+
"@vitejs/plugin-vue-jsx": "^4.0.0",
|
|
92
|
+
"@vitest/coverage-istanbul": "^2.0.1",
|
|
93
|
+
"@vitest/coverage-v8": "^2.0.1",
|
|
94
|
+
"@vitest/ui": "^2.0.1",
|
|
95
|
+
"@vue/test-utils": "^2.4.6",
|
|
96
|
+
"autoprefixer": "^10.4.19",
|
|
97
|
+
"codesandbox": "^2.2.3",
|
|
98
|
+
"eslint": "^9.6.0",
|
|
99
|
+
"eslint-config-flat-gitignore": "^0.1.5",
|
|
100
|
+
"fs-extra": "^11.2.0",
|
|
101
|
+
"happy-dom": "^14.12.3",
|
|
102
|
+
"husky": "^9.0.11",
|
|
103
|
+
"inquirer": "^10.0.1",
|
|
104
|
+
"lzutf8": "^0.6.3",
|
|
105
|
+
"markdown-it": "^14.1.0",
|
|
106
|
+
"nano-staged": "^0.8.0",
|
|
107
|
+
"prettier": "^3.3.2",
|
|
108
|
+
"prettier-markdown-table": "^1.0.2",
|
|
109
|
+
"rimraf": "^6.0.0",
|
|
110
|
+
"typescript": "^5.4.5",
|
|
111
|
+
"unplugin-vue-components": "^0.27.2",
|
|
112
|
+
"vite": "^5.3.2",
|
|
113
|
+
"vite-plugin-vue-devtools": "^7.2.1",
|
|
114
|
+
"vitest": "^2.0.1",
|
|
115
|
+
"vitest-canvas-mock": "^0.3.3",
|
|
116
|
+
"vue": "^3.5.10",
|
|
117
|
+
"vue-tsc": "^1.8.27"
|
|
118
|
+
},
|
|
119
|
+
"engines": {
|
|
120
|
+
"node": "^18.0.0 || >=20.0.0",
|
|
121
|
+
"pnpm": ">= 9.0.0"
|
|
122
|
+
},
|
|
123
|
+
"nano-staged": {
|
|
124
|
+
"*.{css,scss,md}": "prettier --write",
|
|
125
|
+
"*.{ts,tsx,js,jsx,vue}": "eslint --fix"
|
|
51
126
|
},
|
|
52
127
|
"repository": {
|
|
53
128
|
"type": "git",
|
|
54
129
|
"url": "https://github.com/jd-opensource/nutui.git"
|
|
55
130
|
},
|
|
56
|
-
"
|
|
131
|
+
"resolutions": {
|
|
132
|
+
"@typescript-eslint/utils": "^8.0.0-alpha.16"
|
|
133
|
+
}
|
|
57
134
|
}
|