@nutui/nutui-react-taro 1.3.10 → 1.3.11
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 +24 -0
- package/README.md +54 -46
- package/dist/esm/Audio.js +3 -3
- package/dist/esm/Avatar.js +3 -2
- package/dist/esm/Badge.js +2 -2
- package/dist/esm/Button.js +2 -2
- package/dist/esm/Calendar.js +3 -3
- package/dist/esm/CalendarItem.js +2 -2
- package/dist/esm/Card.js +3 -3
- package/dist/esm/Checkbox.js +2 -2
- package/dist/esm/CheckboxGroup.js +2 -2
- package/dist/esm/Col.js +2 -2
- package/dist/esm/Dialog.js +3 -3
- package/dist/esm/ImagePreview.js +3 -3
- package/dist/esm/Infiniteloading.js +2 -2
- package/dist/esm/Input.js +2 -2
- package/dist/esm/MenuItem.js +2 -2
- package/dist/esm/Radio.js +1 -1
- package/dist/esm/RadioGroup.js +2 -2
- package/dist/esm/Rate.js +2 -2
- package/dist/esm/Row.js +2 -2
- package/dist/esm/Signature.js +3 -3
- package/dist/esm/Skeleton.js +4 -3
- package/dist/esm/SwiperItem.js +2 -2
- package/dist/esm/TabbarItem.js +3 -3
- package/dist/esm/Tag.js +2 -2
- package/dist/esm/Uploader.js +3 -3
- package/dist/esm/{audio.taro-b42a082b.js → audio.taro-b4f71d1b.js} +1 -1
- package/dist/esm/{avatar.taro-deabe88a.js → avatar.taro-85ced995.js} +9 -7
- package/dist/esm/{badge.taro-38684262.js → badge.taro-9f72d846.js} +4 -1
- package/dist/esm/{button.taro-7e924b72.js → button.taro-4ce133b9.js} +26 -21
- package/dist/esm/{calendar.taro-533b3219.js → calendar.taro-a1f1a7f8.js} +1 -1
- package/dist/esm/{calendaritem.taro-fe5dd4bd.js → calendaritem.taro-3a12e7f2.js} +1 -1
- package/dist/esm/{card.taro-59f65b66.js → card.taro-a530dfb3.js} +1 -1
- package/dist/esm/{checkbox.taro-d8656076.js → checkbox.taro-0bda9796.js} +1 -1
- package/dist/esm/{col.taro-2a437387.js → col.taro-b61c7cba.js} +5 -2
- package/dist/esm/{dialog.taro-0c35b35f.js → dialog.taro-17e19e5e.js} +1 -1
- package/dist/esm/{imagepreview.taro-1199e977.js → imagepreview.taro-69d47ab0.js} +1 -1
- package/dist/esm/{index.taro-c092d216.js → index.taro-a36f96fb.js} +1 -1
- package/dist/esm/{infiniteloading.taro-b95e62bf.js → infiniteloading.taro-9701755f.js} +3 -1
- package/dist/esm/{input.taro-cc46bbc3.js → input.taro-14380bc6.js} +1 -3
- package/dist/esm/{menuitem.taro-06a135a5.js → menuitem.taro-bb55f482.js} +8 -3
- package/dist/esm/nutui-react.es.js +23 -23
- package/dist/esm/{rate.taro-69c85081.js → rate.taro-10197384.js} +4 -1
- package/dist/esm/{row.taro-cec13a7e.js → row.taro-37a895de.js} +5 -1
- package/dist/esm/{signature.taro-57f8de06.js → signature.taro-6589435b.js} +1 -1
- package/dist/esm/{skeleton.taro-acca102c.js → skeleton.taro-853ce460.js} +1 -1
- package/dist/esm/{swiperitem-d00e7513.js → swiperitem-86a3578a.js} +6 -4
- package/dist/esm/{tabbaritem.taro-fb90f659.js → tabbaritem.taro-8dfb8055.js} +5 -4
- package/dist/esm/{tag.taro-84d40117.js → tag.taro-bd900990.js} +1 -1
- package/dist/esm/types/src/packages/avatar/avatar.d.ts +1 -0
- package/dist/esm/types/src/packages/avatar/avatar.taro.d.ts +1 -1
- package/dist/esm/types/src/packages/button/button.taro.d.ts +4 -1
- package/dist/esm/types/src/packages/menuitem/menuitem.d.ts +2 -2
- package/dist/esm/types/src/packages/menuitem/menuitem.taro.d.ts +2 -2
- package/dist/esm/{uploader.taro-a03bb003.js → uploader.taro-2e16bff6.js} +1 -1
- package/dist/locales/base.js +1 -1
- package/dist/locales/en-US.js +1 -1
- package/dist/locales/id-ID.js +1 -1
- package/dist/locales/zh-CN.js +1 -1
- package/dist/locales/zh-TW.js +1 -1
- package/dist/nutui.react.es.js +77 -46
- package/dist/nutui.react.umd.js +76 -45
- package/dist/packages/avatar/avatar.scss +1 -1
- package/dist/packages/button/button.scss +6 -0
- package/dist/style.css +1 -1
- package/dist/style.es.js +1 -1
- package/dist/types/index.d.ts +5 -3
- package/package.json +9 -3
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
|
|
1
2
|
.nut-button {
|
|
2
3
|
position: relative;
|
|
3
4
|
display: inline-block;
|
|
@@ -14,9 +15,11 @@
|
|
|
14
15
|
-webkit-appearance: none;
|
|
15
16
|
user-select: none;
|
|
16
17
|
touch-action: manipulation;
|
|
18
|
+
|
|
17
19
|
.text {
|
|
18
20
|
margin-left: 5px;
|
|
19
21
|
}
|
|
22
|
+
|
|
20
23
|
&::before {
|
|
21
24
|
position: absolute;
|
|
22
25
|
top: 50%;
|
|
@@ -31,9 +34,11 @@
|
|
|
31
34
|
opacity: 0;
|
|
32
35
|
content: ' ';
|
|
33
36
|
}
|
|
37
|
+
|
|
34
38
|
&:active::before {
|
|
35
39
|
opacity: 0.1;
|
|
36
40
|
}
|
|
41
|
+
|
|
37
42
|
&__warp {
|
|
38
43
|
height: 100%;
|
|
39
44
|
width: 100%;
|
|
@@ -48,6 +53,7 @@
|
|
|
48
53
|
display: none;
|
|
49
54
|
}
|
|
50
55
|
}
|
|
56
|
+
|
|
51
57
|
&--default {
|
|
52
58
|
color: $button-default-color;
|
|
53
59
|
background: $button-default-bg-color;
|