@public-ui/hydrate 2.2.5-rc.1 → 2.2.6-4c6dc8594d43ee54834dd9b3395659849b7512d5.0
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/index.js +1 -2
- package/dist/index.mjs +1 -2
- package/package.json +3 -3
package/dist/index.js
CHANGED
|
@@ -7100,7 +7100,6 @@ class KolForm {
|
|
|
7100
7100
|
}, type: "error", variant: "card", label: translate('kol-error-list-message') }, hAsync("nav", { "aria-label": translate('kol-error-list') }, hAsync("ul", null, errorList === null || errorList === void 0 ? void 0 : errorList.map((error, index) => (hAsync("li", { key: index }, hAsync(KolLinkWcTag, { _href: "", _label: error.message, _on: { onClick: typeof error.selector === 'string' ? () => this.handleLinkClick(String(error.selector)) : error.selector }, ref: (el) => {
|
|
7101
7101
|
if (index === 0) {
|
|
7102
7102
|
this.errorListFirstLink = el;
|
|
7103
|
-
this.scrollToErrorList();
|
|
7104
7103
|
}
|
|
7105
7104
|
} }))))))));
|
|
7106
7105
|
}
|
|
@@ -7109,7 +7108,7 @@ class KolForm {
|
|
|
7109
7108
|
}
|
|
7110
7109
|
render() {
|
|
7111
7110
|
const hasErrorList = Array.isArray(this._errorList) && this._errorList.length > 0;
|
|
7112
|
-
return (hAsync(Host, { key: '
|
|
7111
|
+
return (hAsync(Host, { key: '26bf08caa8b0af7b950411d3a24fdaba7aa8099e', class: "kol-form" }, hasErrorList && this.renderErrorList(this._errorList), this.renderFormElement()));
|
|
7113
7112
|
}
|
|
7114
7113
|
scrollToErrorList() {
|
|
7115
7114
|
var _a;
|
package/dist/index.mjs
CHANGED
|
@@ -7096,7 +7096,6 @@ class KolForm {
|
|
|
7096
7096
|
}, type: "error", variant: "card", label: translate('kol-error-list-message') }, hAsync("nav", { "aria-label": translate('kol-error-list') }, hAsync("ul", null, errorList === null || errorList === void 0 ? void 0 : errorList.map((error, index) => (hAsync("li", { key: index }, hAsync(KolLinkWcTag, { _href: "", _label: error.message, _on: { onClick: typeof error.selector === 'string' ? () => this.handleLinkClick(String(error.selector)) : error.selector }, ref: (el) => {
|
|
7097
7097
|
if (index === 0) {
|
|
7098
7098
|
this.errorListFirstLink = el;
|
|
7099
|
-
this.scrollToErrorList();
|
|
7100
7099
|
}
|
|
7101
7100
|
} }))))))));
|
|
7102
7101
|
}
|
|
@@ -7105,7 +7104,7 @@ class KolForm {
|
|
|
7105
7104
|
}
|
|
7106
7105
|
render() {
|
|
7107
7106
|
const hasErrorList = Array.isArray(this._errorList) && this._errorList.length > 0;
|
|
7108
|
-
return (hAsync(Host, { key: '
|
|
7107
|
+
return (hAsync(Host, { key: '26bf08caa8b0af7b950411d3a24fdaba7aa8099e', class: "kol-form" }, hasErrorList && this.renderErrorList(this._errorList), this.renderFormElement()));
|
|
7109
7108
|
}
|
|
7110
7109
|
scrollToErrorList() {
|
|
7111
7110
|
var _a;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@public-ui/hydrate",
|
|
3
|
-
"version": "2.2.
|
|
3
|
+
"version": "2.2.6-4c6dc8594d43ee54834dd9b3395659849b7512d5.0",
|
|
4
4
|
"license": "EUPL-1.2",
|
|
5
5
|
"homepage": "https://public-ui.github.io",
|
|
6
6
|
"repository": {
|
|
@@ -46,10 +46,10 @@
|
|
|
46
46
|
],
|
|
47
47
|
"devDependencies": {
|
|
48
48
|
"rimraf": "6.0.1",
|
|
49
|
-
"@public-ui/components": "2.2.
|
|
49
|
+
"@public-ui/components": "2.2.6-4c6dc8594d43ee54834dd9b3395659849b7512d5.0"
|
|
50
50
|
},
|
|
51
51
|
"peerDependencies": {
|
|
52
|
-
"@public-ui/components": "2.2.
|
|
52
|
+
"@public-ui/components": "2.2.6-4c6dc8594d43ee54834dd9b3395659849b7512d5.0"
|
|
53
53
|
},
|
|
54
54
|
"sideEffects": false,
|
|
55
55
|
"type": "commonjs",
|