@nutui/nutui-react-taro 2.0.0-alpha.4 → 2.0.0-alpha.5
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 +15 -0
- package/dist/esm/Address.js +3 -5
- package/dist/esm/Audio.js +3 -4
- package/dist/esm/Avatar.js +6 -5
- package/dist/esm/AvatarGroup.js +3 -7
- package/dist/esm/Calendar.js +3 -4
- package/dist/esm/CalendarItem.js +2 -3
- package/dist/esm/CellGroup.js +1 -1
- package/dist/esm/Checkbox.js +3 -3
- package/dist/esm/CheckboxGroup.js +3 -3
- package/dist/esm/ConfigProvider.js +2 -3
- package/dist/esm/CountDown.js +2 -3
- package/dist/esm/DatePicker.js +3 -4
- package/dist/esm/Dialog.js +2 -3
- package/dist/esm/Elevator.js +1 -1
- package/dist/esm/Ellipsis.js +3 -4
- package/dist/esm/Empty.js +3 -5
- package/dist/esm/FixedNav.js +2 -3
- package/dist/esm/Form.js +2 -2
- package/dist/esm/Grid.js +3 -4
- package/dist/esm/GridItem.js +2 -3
- package/dist/esm/Image.js +2 -3
- package/dist/esm/Infiniteloading.js +2 -3
- package/dist/esm/Input.js +2 -3
- package/dist/esm/NumberKeyboard.js +2 -3
- package/dist/esm/Pagination.js +2 -3
- package/dist/esm/Picker.js +2 -3
- package/dist/esm/PullToRefresh.js +2 -3
- package/dist/esm/Range.js +2 -3
- package/dist/esm/SearchBar.js +2 -3
- package/dist/esm/ShortPassword.js +2 -3
- package/dist/esm/Signature.js +2 -3
- package/dist/esm/Skeleton.js +8 -5
- package/dist/esm/Swipe.js +1 -1
- package/dist/esm/Tabbar/style/index.js +1 -1
- package/dist/esm/Table.js +2 -3
- package/dist/esm/TextArea.js +2 -3
- package/dist/esm/TimeDetail.js +2 -3
- package/dist/esm/TimePannel.js +2 -3
- package/dist/esm/TimeSelect.js +4 -5
- package/dist/esm/Uploader.js +2 -3
- package/dist/esm/VirtualList.js +2 -3
- package/dist/esm/WaterMark.js +2 -3
- package/dist/esm/{address.taro-67e32c33.js → address.taro-cab0ea22.js} +18 -4
- package/dist/esm/{audio.taro-51eafc9d.js → audio.taro-ff280f5e.js} +2 -2
- package/dist/esm/{avatar.taro-a840f345.js → avatar.taro-6e8f1f5c.js} +31 -29
- package/dist/esm/{avatargroup-0eadb514.js → avatargroup-f4375806.js} +9 -12
- package/dist/esm/{calendar.taro-b3ebdc35.js → calendar.taro-2fc9b899.js} +2 -2
- package/dist/esm/{calendaritem.taro-ab1ec154.js → calendaritem.taro-2d4a8c34.js} +1 -1
- package/dist/esm/{cellgroup.taro-660faffc.js → cellgroup.taro-e05ea802.js} +3 -2
- package/dist/esm/checkbox.taro-9d02f86c.js +175 -0
- package/dist/esm/{zh-CN-b4f493ba.js → configprovider.taro-ce34d482.js} +44 -1
- package/dist/esm/{countdown.taro-c14b5c1f.js → countdown.taro-3118ba23.js} +1 -1
- package/dist/esm/{datepicker.taro-7d522ff8.js → datepicker.taro-2e3e955b.js} +2 -2
- package/dist/esm/{dialog.taro-f9ca73a2.js → dialog.taro-eab19eab.js} +1 -1
- package/dist/esm/{elevator.taro-360a831f.js → elevator.taro-1a4e3356.js} +16 -8
- package/dist/esm/{ellipsis.taro-79044d54.js → ellipsis.taro-e1ac99a1.js} +7 -4
- package/dist/esm/{empty.taro-f8585835.js → empty.taro-26363c66.js} +12 -18
- package/dist/esm/{fixednav.taro-cca9a6df.js → fixednav.taro-ddb21e87.js} +1 -1
- package/dist/esm/{form.taro-7413d868.js → form.taro-423b0f0a.js} +1 -1
- package/dist/esm/{grid.taro-10eb7716.js → grid.taro-883a9c35.js} +1 -1
- package/dist/esm/{griditem.taro-fb15eeec.js → griditem.taro-16c7055b.js} +1 -1
- package/dist/esm/{image.taro-b897a058.js → image.taro-3025e659.js} +1 -1
- package/dist/esm/{infiniteloading.taro-cce53c60.js → infiniteloading.taro-721bca1f.js} +1 -1
- package/dist/esm/{input.taro-1aca4a45.js → input.taro-06c1e4d5.js} +1 -1
- package/dist/esm/{numberkeyboard.taro-10ab54d6.js → numberkeyboard.taro-d9b1721b.js} +1 -1
- package/dist/esm/nutui-react.es.js +41 -43
- package/dist/esm/{pagination.taro-df441058.js → pagination.taro-94f9be5e.js} +1 -1
- package/dist/esm/{picker.taro-9f1bb6a4.js → picker.taro-e16b4312.js} +1 -1
- package/dist/esm/{pulltorefresh.taro-37dadbc5.js → pulltorefresh.taro-016d0079.js} +1 -1
- package/dist/esm/{range.taro-432d20d7.js → range.taro-8953e8c3.js} +1 -1
- package/dist/esm/{searchbar.taro-4aa300df.js → searchbar.taro-4467040f.js} +1 -1
- package/dist/esm/{shortpassword.taro-99645f99.js → shortpassword.taro-433b86a4.js} +1 -1
- package/dist/esm/{signature.taro-e5ede25a.js → signature.taro-a4d9b5c9.js} +1 -1
- package/dist/esm/{skeleton.taro-fabd423a.js → skeleton.taro-8ec11af9.js} +2 -2
- package/dist/esm/{swipe.taro-b18a73ff.js → swipe.taro-0b8cc872.js} +3 -5
- package/dist/esm/{table.taro-eca757f3.js → table.taro-327b4248.js} +1 -1
- package/dist/esm/{textarea.taro-e256e741.js → textarea.taro-add72cf3.js} +1 -1
- package/dist/esm/{timedetail.taro-cae362b9.js → timedetail.taro-82a2900b.js} +1 -1
- package/dist/esm/{timepannel.taro-d6f4cf80.js → timepannel.taro-0573bb65.js} +1 -1
- package/dist/esm/{timeselect.taro-804199f9.js → timeselect.taro-29124a34.js} +3 -3
- package/dist/esm/{uploader.taro-716f9a50.js → uploader.taro-c70d00de.js} +1 -1
- package/dist/esm/{virtuallist.taro-0bd611cb.js → virtuallist.taro-ba8e1f21.js} +1 -1
- package/dist/esm/{watermark.taro-8966896a.js → watermark.taro-168cdac5.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/locales/zh-UG.js +1 -1
- package/dist/nutui.react.mjs +421 -331
- package/dist/nutui.react.umd.js +421 -331
- package/dist/packages/cellgroup/cellgroup.scss +20 -16
- package/dist/packages/checkbox/checkbox.scss +8 -11
- package/dist/packages/empty/empty.scss +0 -9
- package/dist/packages/tabbar/tabbar.scss +1 -0
- package/dist/style.css +1 -1
- package/dist/style.mjs +1 -1
- package/dist/styles/themes/default.scss +0 -1
- package/dist/types/index.d.ts +38 -45
- package/package.json +1 -1
- package/dist/esm/Icon.js +0 -64
- package/dist/esm/checkbox.taro-ae460d3a.js +0 -168
- package/dist/esm/configprovider-9960f0fb.js +0 -19
- package/dist/esm/configprovider.taro-43a3c646.js +0 -45
- package/dist/packages/icon/icon.scss +0 -0
- /package/dist/esm/{AvatarContext-c96afdcc.js → context-c96afdcc.js} +0 -0
|
@@ -27,25 +27,29 @@
|
|
|
27
27
|
overflow: hidden;
|
|
28
28
|
background-color: $cell-group-background-color;
|
|
29
29
|
margin: 10px 0;
|
|
30
|
+
.nut-cell {
|
|
31
|
+
margin: 0;
|
|
32
|
+
box-shadow: none;
|
|
33
|
+
border-radius: 0;
|
|
34
|
+
}
|
|
30
35
|
}
|
|
31
36
|
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
box-shadow: none;
|
|
35
|
-
border-radius: 0;
|
|
36
|
-
&__divider {
|
|
37
|
-
position: absolute;
|
|
38
|
-
box-sizing: border-box;
|
|
39
|
-
pointer-events: none;
|
|
40
|
-
right: $cell-divider-right;
|
|
41
|
-
bottom: 0;
|
|
42
|
-
left: $cell-divider-left;
|
|
43
|
-
transform: scaleY(0.5);
|
|
44
|
-
border-bottom: $cell-divider-border-bottom;
|
|
45
|
-
}
|
|
46
|
-
&:last-child {
|
|
37
|
+
&__wrap--divider {
|
|
38
|
+
.nut-cell {
|
|
47
39
|
&__divider {
|
|
48
|
-
|
|
40
|
+
position: absolute;
|
|
41
|
+
box-sizing: border-box;
|
|
42
|
+
pointer-events: none;
|
|
43
|
+
right: $cell-divider-right;
|
|
44
|
+
bottom: 0;
|
|
45
|
+
left: $cell-divider-left;
|
|
46
|
+
transform: scaleY(0.5);
|
|
47
|
+
border-top: $cell-divider-border-bottom;
|
|
48
|
+
}
|
|
49
|
+
&:last-child {
|
|
50
|
+
.nut-cell__divider {
|
|
51
|
+
border-top: 0 !important;
|
|
52
|
+
}
|
|
49
53
|
}
|
|
50
54
|
}
|
|
51
55
|
}
|
|
@@ -1,47 +1,44 @@
|
|
|
1
1
|
|
|
2
|
-
.nut-theme-dark {
|
|
3
|
-
.nut-checkbox {
|
|
4
|
-
&__label {
|
|
5
|
-
color: $dark1;
|
|
6
|
-
&--disabled {
|
|
7
|
-
color: $checkbox-label-disable-color;
|
|
8
|
-
}
|
|
9
|
-
}
|
|
10
|
-
}
|
|
11
|
-
}
|
|
12
|
-
|
|
13
2
|
.nut-checkbox {
|
|
14
3
|
display: flex;
|
|
15
4
|
align-items: center;
|
|
5
|
+
|
|
16
6
|
&--reverse {
|
|
17
7
|
flex-direction: row-reverse;
|
|
8
|
+
|
|
18
9
|
.nut-checkbox__label {
|
|
19
10
|
margin-right: $checkbox-label-margin-left;
|
|
20
11
|
margin-left: 0;
|
|
21
12
|
}
|
|
22
13
|
}
|
|
14
|
+
|
|
23
15
|
&__label {
|
|
24
16
|
margin-left: $checkbox-label-margin-left;
|
|
25
17
|
font-size: $checkbox-label-font-size;
|
|
26
18
|
color: $checkbox-label-color;
|
|
19
|
+
|
|
27
20
|
&--disabled {
|
|
28
21
|
color: $checkbox-label-disable-color;
|
|
29
22
|
}
|
|
30
23
|
}
|
|
24
|
+
|
|
31
25
|
&__icon {
|
|
32
26
|
color: $primary-color;
|
|
33
27
|
font-size: $checkbox-icon-font-size;
|
|
34
28
|
transition-duration: 0.3s;
|
|
35
29
|
transition-property: color, border-color, background-color;
|
|
36
30
|
}
|
|
31
|
+
|
|
37
32
|
&__icon--unchecked {
|
|
38
33
|
color: $checkbox-icon-disable-color;
|
|
39
34
|
font-size: $checkbox-icon-font-size;
|
|
40
35
|
}
|
|
36
|
+
|
|
41
37
|
&__icon--indeterminate {
|
|
42
38
|
color: $primary-color;
|
|
43
39
|
font-size: $checkbox-icon-font-size;
|
|
44
40
|
}
|
|
41
|
+
|
|
45
42
|
&__icon--disable {
|
|
46
43
|
color: $disable-color;
|
|
47
44
|
font-size: $checkbox-icon-font-size;
|