@tuya-miniapp/smart-ui 2.1.5-beta-1 → 2.1.5-beta-2
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/field/index.js +1 -1
- package/dist/steps/index.js +1 -1
- package/lib/field/index.js +5 -2
- package/lib/steps/index.js +5 -2
- package/package.json +1 -1
package/dist/field/index.js
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
import { nextTick } from '../common/utils';
|
2
2
|
import { SmartComponent } from '../common/component';
|
3
3
|
import { commonProps, inputProps, textareaProps } from './props';
|
4
|
-
import
|
4
|
+
import Xmark from '@tuya-miniapp/icons/dist/svg/Xmark';
|
5
5
|
SmartComponent({
|
6
6
|
field: true,
|
7
7
|
classes: ['input-class', 'right-icon-class', 'label-class'],
|
package/dist/steps/index.js
CHANGED
package/lib/field/index.js
CHANGED
@@ -10,11 +10,14 @@ var __assign = (this && this.__assign) || function () {
|
|
10
10
|
};
|
11
11
|
return __assign.apply(this, arguments);
|
12
12
|
};
|
13
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
14
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
15
|
+
};
|
13
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
14
17
|
var utils_1 = require("../common/utils");
|
15
18
|
var component_1 = require("../common/component");
|
16
19
|
var props_1 = require("./props");
|
17
|
-
var
|
20
|
+
var Xmark_1 = __importDefault(require("@tuya-miniapp/icons/dist/svg/Xmark"));
|
18
21
|
(0, component_1.SmartComponent)({
|
19
22
|
field: true,
|
20
23
|
classes: ['input-class', 'right-icon-class', 'label-class'],
|
@@ -37,7 +40,7 @@ var icons_1 = require("@tuya-miniapp/icons");
|
|
37
40
|
value: '6.2em',
|
38
41
|
}, clearIcon: {
|
39
42
|
type: String,
|
40
|
-
value:
|
43
|
+
value: Xmark_1.default,
|
41
44
|
}, extraEventParams: {
|
42
45
|
type: Boolean,
|
43
46
|
value: false,
|
package/lib/steps/index.js
CHANGED
@@ -1,6 +1,9 @@
|
|
1
1
|
"use strict";
|
2
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
3
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
4
|
+
};
|
2
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
var
|
6
|
+
var Checkmark_1 = __importDefault(require("@tuya-miniapp/icons/dist/svg/Checkmark"));
|
4
7
|
var component_1 = require("../common/component");
|
5
8
|
var color_1 = require("../common/color");
|
6
9
|
(0, component_1.SmartComponent)({
|
@@ -23,7 +26,7 @@ var color_1 = require("../common/color");
|
|
23
26
|
},
|
24
27
|
activeIcon: {
|
25
28
|
type: String,
|
26
|
-
value:
|
29
|
+
value: Checkmark_1.default,
|
27
30
|
},
|
28
31
|
inactiveIcon: String,
|
29
32
|
},
|