@nutui/nutui 4.0.1-beta.2 → 4.0.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 +45 -0
- package/dist/nutui.es.js +10 -17
- package/dist/nutui.umd.js +2 -158
- package/dist/packages/_es/Address.js +3 -0
- package/dist/packages/_es/Audio.js +6 -0
- package/dist/packages/_es/AudioOperate.js +1 -0
- package/dist/packages/_es/Avatar.js +2 -0
- package/dist/packages/_es/AvatarGroup.js +1 -0
- package/dist/packages/_es/Badge.js +5 -1
- package/dist/packages/_es/Barrage.js +5 -3
- package/dist/packages/_es/Calendar.js +7 -2
- package/dist/packages/_es/CalendarItem.js +1 -1
- package/dist/packages/_es/Cascader.js +2 -0
- package/dist/packages/_es/Category.js +2 -0
- package/dist/packages/_es/CategoryPane.js +3 -0
- package/dist/packages/_es/Cell.js +1 -0
- package/dist/packages/_es/Checkbox.js +17 -2
- package/dist/packages/_es/CollapseItem.js +1 -0
- package/dist/packages/_es/Comment.js +5 -0
- package/dist/packages/_es/Countdown.js +8 -0
- package/dist/packages/_es/Countup.js +10 -0
- package/dist/packages/_es/DatePicker.js +2 -0
- package/dist/packages/_es/Dialog.js +3 -0
- package/dist/packages/_es/Ellipsis.js +2 -0
- package/dist/packages/_es/Empty.js +3 -0
- package/dist/packages/_es/Grid.js +1 -1
- package/dist/packages/_es/GridItem.js +2 -1
- package/dist/packages/_es/ImagePreview.js +1 -0
- package/dist/packages/_es/Input.js +20 -12
- package/dist/packages/_es/Invoice.js +5 -3
- package/dist/packages/_es/Navbar.js +6 -0
- package/dist/packages/_es/Noticebar.js +50 -18
- package/dist/packages/_es/Notify.js +3 -0
- package/dist/packages/_es/Picker.js +2 -0
- package/dist/packages/_es/PullRefresh.js +4 -0
- package/dist/packages/_es/Radio.js +1 -1
- package/dist/packages/_es/RadioGroup.js +1 -1
- package/dist/packages/_es/Searchbar.js +1 -0
- package/dist/packages/_es/ShortPassword.js +1 -0
- package/dist/packages/_es/Signature.js +1 -1
- package/dist/packages/_es/Skeleton.js +10 -0
- package/dist/packages/_es/Sku.js +14 -0
- package/dist/packages/_es/Swiper.js +5 -2
- package/dist/packages/_es/TabbarItem.js +5 -0
- package/dist/packages/_es/Tabs.js +2 -0
- package/dist/packages/_es/Textarea.js +1 -0
- package/dist/packages/_es/Toast.js +8 -0
- package/dist/packages/_es/Tour.js +1 -0
- package/dist/packages/_es/Uploader.js +5 -2
- package/dist/packages/_es/Video.js +18 -0
- package/dist/packages/_es/{common-05c67d9a.js → common-0c815463.js} +8 -0
- package/dist/packages/_es/{index-4f2972bc.js → index-0432a798.js} +147 -32
- package/dist/packages/_es/{index.vue_vue_type_script_lang-ee936659.js → index.vue_vue_type_script_lang-0725f0ae.js} +1 -0
- package/dist/packages/_es/{index.vue_vue_type_script_lang-8b9f3de5.js → index.vue_vue_type_script_lang-9c679f64.js} +1 -0
- package/dist/packages/badge/index.scss +3 -0
- package/dist/packages/checkbox/index.scss +41 -0
- package/dist/packages/input/index.scss +6 -8
- package/dist/packages/noticebar/index.scss +4 -0
- package/dist/packages/uploader/index.scss +7 -2
- package/dist/resolver/index.d.ts +6 -0
- package/dist/resolver/index.js +1 -0
- package/dist/resolver/index.mjs +24 -0
- package/dist/smartips/web-types.json +20 -2
- package/dist/style.css +1 -1
- package/dist/styles/themes/default.scss +47 -47
- package/dist/styles/themes/jdb.scss +47 -47
- package/dist/styles/themes/jddkh.scss +47 -47
- package/dist/styles/themes/jdt.scss +47 -47
- package/dist/styles/variables-jdb.scss +9 -1
- package/dist/styles/variables-jddkh.scss +9 -1
- package/dist/styles/variables-jdt.scss +8 -0
- package/dist/styles/variables.scss +8 -0
- package/dist/types/__VUE/badge/index.vue.d.ts +9 -0
- package/dist/types/__VUE/calendaritem/type.d.ts +1 -0
- package/dist/types/__VUE/grid/index.vue.d.ts +1 -1
- package/dist/types/__VUE/noticebar/index.vue.d.ts +1 -0
- package/dist/types/__VUE/swiper/index.vue.d.ts +8 -1
- package/dist/types/index.d.ts +1 -2
- package/dist/types/resolver/index.d.ts +6 -0
- package/dist/types/utils/date.d.ts +4 -0
- package/package.json +6 -7
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,48 @@
|
|
|
1
|
+
## v4.0.1
|
|
2
|
+
|
|
3
|
+
`2023-02-10`
|
|
4
|
+
|
|
5
|
+
NutUI 非常感谢您对开源事业做出的贡献!🌷🌷🌷
|
|
6
|
+
本次社区贡献者 @dongj0316 @mikasayw @rocwong-cn @thx125 @gyt95
|
|
7
|
+
|
|
8
|
+
* :zap: feat(checkbox): add checkbox new props of shape (#1978) @mikasayw
|
|
9
|
+
* :zap: feat(tabs): title bar supports automatic scrolling (#2035) @gyt95
|
|
10
|
+
* :zap: feat: calendar 添加自定义方法 (#2084) @lkjh3214
|
|
11
|
+
* :zap: feat: 增加 unplugin 插件配置导出 (#2097) @eiinu
|
|
12
|
+
* :zap: feat: 日历组件新增 周选择功能 (#2102) @lkjh3214
|
|
13
|
+
* :zap: feat(input): 新增slots (#2098) @lkjh3214
|
|
14
|
+
* :zap: feat(badge): 新增bubble样式 (#2091) @dongj0316
|
|
15
|
+
* :bug: fix(list): list 虚拟列表未设置height,滚动加载有问题 #2088 @szg2008
|
|
16
|
+
* :bug: fix(list): 虚拟列表在ios手机上,滚动条滚动到顶部会出现白屏。 #2031 @szg2008
|
|
17
|
+
* :bug: fix: barrage,sinature demo修改 @Ymm0008
|
|
18
|
+
* :bug: fix(address): 地址问题修改 (#2054) @yangxiaolu1993
|
|
19
|
+
* :bug: fix: drag,configprovide,badge 修改demo @Drjingfubo
|
|
20
|
+
* :bug: fix: taro h5 demo修改 @szg2008
|
|
21
|
+
* :bug: fix: jdt-style error @Drjingfubo
|
|
22
|
+
* :bug: fix: sku组件修改 (#2056) @yangxiaolu1993
|
|
23
|
+
* :bug: fix: collapse,textarea 优化 @Ymm0008
|
|
24
|
+
* :bug: fix(tour): demo style edit @Drjingfubo
|
|
25
|
+
* :bug: fix(menu): change style @Drjingfubo
|
|
26
|
+
* :bug: fix(calendar): demo样式修改,文档修改 (#2052) @lkjh3214
|
|
27
|
+
* :bug: fix(config-provider): 覆盖nut-icon属性 (#2022) @thx125
|
|
28
|
+
* :bug: fix(table): demo optimization @Drjingfubo
|
|
29
|
+
* :bug: fix: imagepreview问题修改 (#2068) @yangxiaolu1993
|
|
30
|
+
* :bug: fix: 修复uploader组件的is-deletable在列表模式下不生效 (#2073) @rocwong-cn
|
|
31
|
+
* :bug: fix(input): 事件触发修改 (#2081) @lkjh3214
|
|
32
|
+
* :bug: fix(notify): resolve teleport warn @Drjingfubo
|
|
33
|
+
* :bug: fix(uploader): 修复图片拉伸样式问题 #2026 @richard1015
|
|
34
|
+
* :bug: fix: change sideEffects & default export (#2094) @eiinu
|
|
35
|
+
* :bug: fix: 公告栏 noticebar 插槽使用时不更新问题修改 (#2104) @yangxiaolu1993
|
|
36
|
+
* :bug: fix: 公告栏demo修改 (#2105) @yangxiaolu1993
|
|
37
|
+
* :bug: fix: timer ts error resolve @szg2008
|
|
38
|
+
* :bug: fix: 签名组件交互优化 @Ymm0008
|
|
39
|
+
* 📖 docs(addresslist): taro env use edit @richard1015
|
|
40
|
+
* 📖 docs: popover修改 (#2053) @yangxiaolu1993
|
|
41
|
+
* 📖 docs: price 文档问题 (#2064) @ailululu
|
|
42
|
+
* 📖 docs: card edit @Drjingfubo
|
|
43
|
+
* 📖 docs(tabbar): taro add punctuation @Drjingfubo
|
|
44
|
+
* 📖 docs: 新增4.0介绍 (#2086) @yangxiaolu1993
|
|
45
|
+
|
|
1
46
|
## v4.0.0 🚀
|
|
2
47
|
|
|
3
48
|
`2023-01-12`
|
package/dist/nutui.es.js
CHANGED
|
@@ -202,26 +202,19 @@ import { Category } from "./packages/category/index.mjs";
|
|
|
202
202
|
import { CategoryPane } from "./packages/categorypane/index.mjs";
|
|
203
203
|
import { Comment } from "./packages/comment/index.mjs";
|
|
204
204
|
import { Invoice } from "./packages/invoice/index.mjs";
|
|
205
|
-
|
|
206
|
-
function install(app) {
|
|
205
|
+
export { Locale } from "./packages/locale/lang";
|
|
206
|
+
export function install(app) {
|
|
207
207
|
const packages = [Button,Cell,CellGroup,Overlay,Popup,ConfigProvider,Image,Layout,Col,Row,Sticky,Divider,Grid,GridItem,Navbar,FixedNav,Menu,MenuItem,Tabbar,TabbarItem,Elevator,Pagination,Tabs,TabPane,Indicator,SideNavbar,SideNavbarItem,SubSideNavbar,Range,Searchbar,Cascader,Calendar,Checkbox,CheckboxGroup,DatePicker,InputNumber,Input,Radio,RadioGroup,Rate,CalendarItem,Picker,ShortPassword,Textarea,Uploader,NumberKeyboard,Form,FormItem,Swipe,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];
|
|
208
208
|
packages.forEach((item) => {
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
209
|
+
if (item.install) {
|
|
210
|
+
app.use(item);
|
|
211
|
+
} else if (item.name) {
|
|
212
|
+
app.component(item.name, item);
|
|
213
|
+
}
|
|
214
214
|
});
|
|
215
215
|
}
|
|
216
|
-
const version = '4.0.1
|
|
217
|
-
|
|
216
|
+
export const version = '4.0.1';
|
|
217
|
+
export default {
|
|
218
218
|
install,
|
|
219
|
-
version
|
|
220
|
-
Locale
|
|
221
|
-
};
|
|
222
|
-
export {
|
|
223
|
-
stdin_default as default,
|
|
224
|
-
install,
|
|
225
|
-
version,
|
|
226
|
-
Locale
|
|
219
|
+
version
|
|
227
220
|
};
|