wini-web-components 2.1.7 → 2.1.8
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/README.md +3 -3
- package/dist/component/date-picker/date-picker.js +1 -1
- package/dist/index.js +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -9,9 +9,9 @@ In the project directory, you can run:
|
|
|
9
9
|
### `npm i wini-web-components`
|
|
10
10
|
|
|
11
11
|
### Using Skin
|
|
12
|
-
add this cdn link into your App.css file
|
|
13
|
-
@import url(https://cdn.jsdelivr.net/gh/WiniGit/web-component@latest/src/skin/root.css);
|
|
14
|
-
@import url(https://cdn.jsdelivr.net/gh/WiniGit/web-component@latest/src/skin/typography.css);
|
|
12
|
+
add this cdn link into your App.css file. \
|
|
13
|
+
@import url(https://cdn.jsdelivr.net/gh/WiniGit/web-component@latest/src/skin/root.css); \
|
|
14
|
+
@import url(https://cdn.jsdelivr.net/gh/WiniGit/web-component@latest/src/skin/typography.css); \
|
|
15
15
|
@import url(https://cdn.jsdelivr.net/gh/WiniGit/web-component@latest/src/skin/layout.css);
|
|
16
16
|
|
|
17
17
|
|
|
@@ -223,7 +223,7 @@ var DatePicker = /** @class */ (function (_super) {
|
|
|
223
223
|
break;
|
|
224
224
|
}
|
|
225
225
|
}
|
|
226
|
-
} : undefined, onBlur: function (ev) {
|
|
226
|
+
} : undefined, onBlur: this.props.pickOnly ? undefined : function (ev) {
|
|
227
227
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s, _t, _u, _v;
|
|
228
228
|
var inputValue = ev.target.value.trim();
|
|
229
229
|
switch (_this.props.pickerType) {
|