@cscfi/csc-ui 1.3.6 → 1.3.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/dist/cjs/c-autocomplete_34.cjs.entry.js +6 -5
- package/dist/cjs/c-autocomplete_34.cjs.entry.js.map +1 -1
- package/dist/collection/components/c-dropdown/c-dropdown.js +1 -1
- package/dist/collection/components/c-dropdown/c-dropdown.js.map +1 -1
- package/dist/collection/components/c-icon/c-icon.js +4 -1
- package/dist/collection/components/c-icon/c-icon.js.map +1 -1
- package/dist/collection/components/c-input/c-input.js +2 -4
- package/dist/collection/components/c-input/c-input.js.map +1 -1
- package/dist/components/c-dropdown2.js.map +1 -1
- package/dist/components/c-icon2.js +4 -1
- package/dist/components/c-icon2.js.map +1 -1
- package/dist/components/c-input2.js +2 -4
- package/dist/components/c-input2.js.map +1 -1
- package/dist/csc-ui/csc-ui.esm.js +1 -1
- package/dist/csc-ui/p-b67f8551.entry.js +2 -0
- package/dist/csc-ui/p-b67f8551.entry.js.map +1 -0
- package/dist/esm/c-autocomplete_34.entry.js +6 -5
- package/dist/esm/c-autocomplete_34.entry.js.map +1 -1
- package/dist/types/components/c-icon/c-icon.d.ts +2 -0
- package/dist/types/components.d.ts +1 -1
- package/package.json +1 -1
- package/dist/csc-ui/p-c62460b3.entry.js +0 -2
- package/dist/csc-ui/p-c62460b3.entry.js.map +0 -1
|
@@ -950,11 +950,14 @@ const CIcon = class {
|
|
|
950
950
|
this.size = 24;
|
|
951
951
|
this.color = 'currentColor';
|
|
952
952
|
}
|
|
953
|
+
componentDidLoad() {
|
|
954
|
+
this._pathElement.setAttribute('d', this.host.dataset.path);
|
|
955
|
+
}
|
|
953
956
|
render() {
|
|
954
957
|
return (index.h(index.Host, { style: {
|
|
955
958
|
'--_c-icon-size': `${this.size}px`,
|
|
956
959
|
'--_c-icon-default-color': this.color,
|
|
957
|
-
} }, index.h("svg", { viewBox: "0 0 24 24" }, index.h("path", {
|
|
960
|
+
}, "data-path": this.path }, index.h("svg", { viewBox: "0 0 24 24" }, index.h("path", { ref: (el) => (this._pathElement = el) }))));
|
|
958
961
|
}
|
|
959
962
|
get host() { return index.getElement(this); }
|
|
960
963
|
};
|
|
@@ -1026,10 +1029,8 @@ const CInput = class {
|
|
|
1026
1029
|
}, { threshold: 1 });
|
|
1027
1030
|
this._onBlur = () => {
|
|
1028
1031
|
setTimeout(() => {
|
|
1029
|
-
|
|
1030
|
-
|
|
1031
|
-
this._hasBlurred = true;
|
|
1032
|
-
}
|
|
1032
|
+
this.isFocused = false;
|
|
1033
|
+
this._hasBlurred = true;
|
|
1033
1034
|
this._onReset();
|
|
1034
1035
|
}, 100);
|
|
1035
1036
|
};
|