@public-ui/hydrate 2.2.2 → 2.2.3
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 +8 -0
- package/dist/index.js +1 -1
- package/dist/index.mjs +1 -1
- package/package.json +3 -3
package/README.md
CHANGED
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
# KoliBri - Hydrate-Adapter
|
|
2
2
|
|
|
3
|
+
[](https://www.npmjs.com/package/@public-ui/components)
|
|
4
|
+
[](https://github.com/public-ui/kolibri/blob/main/LICENSE)
|
|
5
|
+
[](https://www.npmjs.com/package/@public-ui/hydrate)
|
|
6
|
+
[](https://github.com/public-ui/kolibri/issues)
|
|
7
|
+
[](https://github.com/public-ui/kolibri/pulls)
|
|
8
|
+
[](https://bundlephobia.com/result?p=@public-ui/hydrate)
|
|
9
|
+

|
|
10
|
+
|
|
3
11
|
## Motivation
|
|
4
12
|
|
|
5
13
|
Provide an adapter for Server Side Rendering of KoliBri components.
|
package/dist/index.js
CHANGED
|
@@ -9734,7 +9734,7 @@ function transformObjectProperties(obj) {
|
|
|
9734
9734
|
|
|
9735
9735
|
const FormFieldMsgFc = ({ _alert, _msg, _hideError, _id }) => {
|
|
9736
9736
|
const msg = transformObjectProperties(_msg || {});
|
|
9737
|
-
return (hAsync(KolAlertFc$1, Object.assign({
|
|
9737
|
+
return (hAsync(KolAlertFc$1, Object.assign({ id: `${_id}-error`, alert: _alert, type: "error", class: clsx({
|
|
9738
9738
|
error: true,
|
|
9739
9739
|
'visually-hidden': _hideError === true,
|
|
9740
9740
|
}) }, msg), (_msg === null || _msg === void 0 ? void 0 : _msg._description) || undefined));
|
package/dist/index.mjs
CHANGED
|
@@ -9730,7 +9730,7 @@ function transformObjectProperties(obj) {
|
|
|
9730
9730
|
|
|
9731
9731
|
const FormFieldMsgFc = ({ _alert, _msg, _hideError, _id }) => {
|
|
9732
9732
|
const msg = transformObjectProperties(_msg || {});
|
|
9733
|
-
return (hAsync(KolAlertFc$1, Object.assign({
|
|
9733
|
+
return (hAsync(KolAlertFc$1, Object.assign({ id: `${_id}-error`, alert: _alert, type: "error", class: clsx({
|
|
9734
9734
|
error: true,
|
|
9735
9735
|
'visually-hidden': _hideError === true,
|
|
9736
9736
|
}) }, msg), (_msg === null || _msg === void 0 ? void 0 : _msg._description) || undefined));
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@public-ui/hydrate",
|
|
3
|
-
"version": "2.2.
|
|
3
|
+
"version": "2.2.3",
|
|
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.3"
|
|
50
50
|
},
|
|
51
51
|
"peerDependencies": {
|
|
52
|
-
"@public-ui/components": "2.2.
|
|
52
|
+
"@public-ui/components": "2.2.3"
|
|
53
53
|
},
|
|
54
54
|
"sideEffects": false,
|
|
55
55
|
"type": "commonjs",
|