@nutui/nutui-react-taro 3.0.19-cpp.22-4 → 3.0.19-cpp.22-6
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/dist/cjs/packages/calendarcard/icon.js +7 -5
- package/dist/cjs/packages/calendarcard/style/calendarcard.scss +6 -0
- package/dist/cjs/packages/calendarcard/style/style.css +5 -0
- package/dist/cjs/packages/calendarcard/style/style.harmony.css +5 -0
- package/dist/cjs/packages/calendarcard/style-jmapp/calendarcard.scss +6 -0
- package/dist/cjs/packages/calendarcard/style-jmapp/style.css +5 -0
- package/dist/cjs/packages/calendarcard/style-jrkf/calendarcard.scss +6 -0
- package/dist/cjs/packages/calendarcard/style-jrkf/style.css +5 -0
- package/dist/es/packages/calendarcard/icon.js +7 -5
- package/dist/es/packages/calendarcard/style/calendarcard.scss +6 -0
- package/dist/es/packages/calendarcard/style/style.css +5 -0
- package/dist/es/packages/calendarcard/style/style.harmony.css +5 -0
- package/dist/es/packages/calendarcard/style-jmapp/calendarcard.scss +6 -0
- package/dist/es/packages/calendarcard/style-jmapp/style.css +5 -0
- package/dist/es/packages/calendarcard/style-jrkf/calendarcard.scss +6 -0
- package/dist/es/packages/calendarcard/style-jrkf/style.css +5 -0
- package/dist/nutui.react.umd.js +6 -5
- package/dist/style-jmapp.css +1 -1
- package/dist/style-jmapp.scss +26 -26
- package/dist/style-jrkf.css +1 -1
- package/dist/style-jrkf.scss +21 -21
- package/dist/style.css +1 -1
- package/dist/style.scss +35 -35
- package/package.json +1 -1
|
@@ -25,6 +25,7 @@ _export(exports, {
|
|
|
25
25
|
var _interop_require_default = require("@swc/helpers/_/_interop_require_default");
|
|
26
26
|
var _react = /*#__PURE__*/ _interop_require_default._(require("react"));
|
|
27
27
|
var _components = require("@tarojs/components");
|
|
28
|
+
var _taro = require("@tarojs/taro");
|
|
28
29
|
var left = 'data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmc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hLjc3MS43NzEgMCAwIDEgMC0uOTY0bDMuNDk3LTQuMzcxYS43NzEuNzcxIDAgMCAxIDEuMDg1LS4xMnoiLz48L3N2Zz4=';
|
|
@@ -37,14 +38,15 @@ if (process.env.TARO_ENV === 'jdharmony_cpp') {
|
|
|
37
38
|
}
|
|
38
39
|
var Icon = function Icon(param) {
|
|
39
40
|
var url = param.url;
|
|
40
|
-
var
|
|
41
|
-
width: 18,
|
|
42
|
-
height: 18
|
|
41
|
+
var iconStyle = {
|
|
42
|
+
width: (0, _taro.pxTransform)(18),
|
|
43
|
+
height: (0, _taro.pxTransform)(18)
|
|
43
44
|
};
|
|
44
45
|
return /*#__PURE__*/ _react.default.createElement(_components.Image, {
|
|
46
|
+
className: "nut-calendarcard-icon",
|
|
45
47
|
src: url,
|
|
46
|
-
|
|
47
|
-
|
|
48
|
+
mode: "aspectFit",
|
|
49
|
+
style: iconStyle
|
|
48
50
|
});
|
|
49
51
|
};
|
|
50
52
|
var ArrowLeft = function ArrowLeft() {
|
|
@@ -29,6 +29,11 @@
|
|
|
29
29
|
.nut-calendarcard-header-left .right, .nut-calendarcard-header-right .right {
|
|
30
30
|
margin-right: 8px;
|
|
31
31
|
}
|
|
32
|
+
.nut-calendarcard-icon {
|
|
33
|
+
width: 18px;
|
|
34
|
+
height: 18px;
|
|
35
|
+
display: block;
|
|
36
|
+
}
|
|
32
37
|
.nut-calendarcard-days {
|
|
33
38
|
display: flex;
|
|
34
39
|
flex-direction: row;
|
|
@@ -29,6 +29,11 @@
|
|
|
29
29
|
.nut-calendarcard-header-left .right, .nut-calendarcard-header-right .right {
|
|
30
30
|
margin-right: 8px;
|
|
31
31
|
}
|
|
32
|
+
.nut-calendarcard-icon {
|
|
33
|
+
width: 18px;
|
|
34
|
+
height: 18px;
|
|
35
|
+
display: block;
|
|
36
|
+
}
|
|
32
37
|
.nut-calendarcard-days {
|
|
33
38
|
display: flex;
|
|
34
39
|
flex-direction: row;
|
|
@@ -29,6 +29,11 @@
|
|
|
29
29
|
.nut-calendarcard-header-left .right, .nut-calendarcard-header-right .right {
|
|
30
30
|
margin-right: 8px;
|
|
31
31
|
}
|
|
32
|
+
.nut-calendarcard-icon {
|
|
33
|
+
width: 18px;
|
|
34
|
+
height: 18px;
|
|
35
|
+
display: block;
|
|
36
|
+
}
|
|
32
37
|
.nut-calendarcard-days {
|
|
33
38
|
display: flex;
|
|
34
39
|
flex-direction: row;
|
|
@@ -29,6 +29,11 @@
|
|
|
29
29
|
.nut-calendarcard-header-left .right, .nut-calendarcard-header-right .right {
|
|
30
30
|
margin-right: 8px;
|
|
31
31
|
}
|
|
32
|
+
.nut-calendarcard-icon {
|
|
33
|
+
width: 18px;
|
|
34
|
+
height: 18px;
|
|
35
|
+
display: block;
|
|
36
|
+
}
|
|
32
37
|
.nut-calendarcard-days {
|
|
33
38
|
display: flex;
|
|
34
39
|
flex-direction: row;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import React from "react";
|
|
2
2
|
import { Image } from "@tarojs/components";
|
|
3
|
+
import { pxTransform } from "@tarojs/taro";
|
|
3
4
|
var left = 'data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxOCIgaGVpZ2h0PSIxOCIgdmlld0JveD0iMCAwIDE4IDE4Ij48cGF0aCBkPSJNNi42MDUgOS40OWEuNzcxLjc3MSAwIDAgMSAwLS45OGwzLjYtNC4zNzJhLjc3MS43NzEgMCAwIDEgMS4xOS45ODFMOC4yIDlsMy4xOTcgMy44ODFhLjc3MS43NzEgMCAxIDEtMS4xOTEuOThsLTMuNi00LjM3eiIvPjwvc3ZnPg==';
|
|
4
5
|
var right = 'data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxOCIgaGVpZ2h0PSIxOCIgdmlld0JveD0iMCAwIDE4IDE4Ij48cGF0aCBkPSJNMTEuMzk2IDkuNDlhLjc3MS43NzEgMCAwIDAgMC0uOThsLTMuNi00LjM3MmEuNzcxLjc3MSAwIDAgMC0xLjE5MS45ODFMOS44IDlsLTMuMTk2IDMuODgxYS43NzEuNzcxIDAgMCAwIDEuMTkuOThsMy42LTQuMzd6Ii8+PC9zdmc+';
|
|
5
6
|
var doubleLeft = 'data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxOCIgaGVpZ2h0PSIxOCIgdmlld0JveD0iMCAwIDE4IDE4Ij48cGF0aCBkPSJNMTMuODUzIDQuMDI2YS43NzEuNzcxIDAgMCAxIC4xMiAxLjA4NUwxMC44NjQgOWwzLjExIDMuODg5YS43NzEuNzcxIDAgMSAxLTEuMjA0Ljk2M2wtMy40OTgtNC4zN2EuNzcxLjc3MSAwIDAgMSAwLS45NjRsMy40OTctNC4zNzFhLjc3MS43NzEgMCAwIDEgMS4wODQtLjEyem0tNS4yNDUgMGEuNzcxLjc3MSAwIDAgMSAuMTIgMS4wODVMNS42MTcgOWwzLjExMSAzLjg4OWEuNzcxLjc3MSAwIDAgMS0xLjIwNS45NjNsLTMuNDk3LTQuMzdhLjc3MS43NzEgMCAwIDEgMC0uOTY0bDMuNDk3LTQuMzcxYS43NzEuNzcxIDAgMCAxIDEuMDg1LS4xMnoiLz48L3N2Zz4=';
|
|
@@ -12,14 +13,15 @@ if (process.env.TARO_ENV === 'jdharmony_cpp') {
|
|
|
12
13
|
}
|
|
13
14
|
var Icon = function(param) {
|
|
14
15
|
var url = param.url;
|
|
15
|
-
var
|
|
16
|
-
width: 18,
|
|
17
|
-
height: 18
|
|
16
|
+
var iconStyle = {
|
|
17
|
+
width: pxTransform(18),
|
|
18
|
+
height: pxTransform(18)
|
|
18
19
|
};
|
|
19
20
|
return /*#__PURE__*/ React.createElement(Image, {
|
|
21
|
+
className: "nut-calendarcard-icon",
|
|
20
22
|
src: url,
|
|
21
|
-
|
|
22
|
-
|
|
23
|
+
mode: "aspectFit",
|
|
24
|
+
style: iconStyle
|
|
23
25
|
});
|
|
24
26
|
};
|
|
25
27
|
export var ArrowLeft = function() {
|
|
@@ -29,6 +29,11 @@
|
|
|
29
29
|
.nut-calendarcard-header-left .right, .nut-calendarcard-header-right .right {
|
|
30
30
|
margin-right: 8px;
|
|
31
31
|
}
|
|
32
|
+
.nut-calendarcard-icon {
|
|
33
|
+
width: 18px;
|
|
34
|
+
height: 18px;
|
|
35
|
+
display: block;
|
|
36
|
+
}
|
|
32
37
|
.nut-calendarcard-days {
|
|
33
38
|
display: flex;
|
|
34
39
|
flex-direction: row;
|
|
@@ -29,6 +29,11 @@
|
|
|
29
29
|
.nut-calendarcard-header-left .right, .nut-calendarcard-header-right .right {
|
|
30
30
|
margin-right: 8px;
|
|
31
31
|
}
|
|
32
|
+
.nut-calendarcard-icon {
|
|
33
|
+
width: 18px;
|
|
34
|
+
height: 18px;
|
|
35
|
+
display: block;
|
|
36
|
+
}
|
|
32
37
|
.nut-calendarcard-days {
|
|
33
38
|
display: flex;
|
|
34
39
|
flex-direction: row;
|
|
@@ -29,6 +29,11 @@
|
|
|
29
29
|
.nut-calendarcard-header-left .right, .nut-calendarcard-header-right .right {
|
|
30
30
|
margin-right: 8px;
|
|
31
31
|
}
|
|
32
|
+
.nut-calendarcard-icon {
|
|
33
|
+
width: 18px;
|
|
34
|
+
height: 18px;
|
|
35
|
+
display: block;
|
|
36
|
+
}
|
|
32
37
|
.nut-calendarcard-days {
|
|
33
38
|
display: flex;
|
|
34
39
|
flex-direction: row;
|
|
@@ -29,6 +29,11 @@
|
|
|
29
29
|
.nut-calendarcard-header-left .right, .nut-calendarcard-header-right .right {
|
|
30
30
|
margin-right: 8px;
|
|
31
31
|
}
|
|
32
|
+
.nut-calendarcard-icon {
|
|
33
|
+
width: 18px;
|
|
34
|
+
height: 18px;
|
|
35
|
+
display: block;
|
|
36
|
+
}
|
|
32
37
|
.nut-calendarcard-days {
|
|
33
38
|
display: flex;
|
|
34
39
|
flex-direction: row;
|
package/dist/nutui.react.umd.js
CHANGED
|
@@ -6494,14 +6494,15 @@
|
|
|
6494
6494
|
}
|
|
6495
6495
|
var Icon = function(param) {
|
|
6496
6496
|
var url = param.url;
|
|
6497
|
-
var
|
|
6498
|
-
width: 18,
|
|
6499
|
-
height: 18
|
|
6497
|
+
var iconStyle = {
|
|
6498
|
+
width: Taro.pxTransform(18),
|
|
6499
|
+
height: Taro.pxTransform(18)
|
|
6500
6500
|
};
|
|
6501
6501
|
return /* @__PURE__ */ React.createElement(components.Image, {
|
|
6502
|
+
className: "nut-calendarcard-icon",
|
|
6502
6503
|
src: url,
|
|
6503
|
-
|
|
6504
|
-
|
|
6504
|
+
mode: "aspectFit",
|
|
6505
|
+
style: iconStyle
|
|
6505
6506
|
});
|
|
6506
6507
|
};
|
|
6507
6508
|
var ArrowLeft = function() {
|