@sikka/hawa 0.30.0-next → 0.30.2-next
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/alert/index.d.mts +5 -4
- package/dist/alert/index.d.ts +5 -4
- package/dist/alert/index.js +10 -6
- package/dist/alert/index.js.map +1 -1
- package/dist/alert/index.mjs +10 -6
- package/dist/alert/index.mjs.map +1 -1
- package/dist/blocks/auth/index.d.mts +2 -0
- package/dist/blocks/auth/index.d.ts +2 -0
- package/dist/blocks/auth/index.js +11 -6
- package/dist/blocks/auth/index.mjs +11 -6
- package/dist/blocks/index.d.mts +2 -0
- package/dist/blocks/index.d.ts +2 -0
- package/dist/blocks/index.js +11 -6
- package/dist/blocks/index.mjs +2 -1
- package/dist/{chunk-TGB72TYK.mjs → chunk-Q754X27Z.mjs} +10 -6
- package/dist/elements/index.d.mts +5 -4
- package/dist/elements/index.d.ts +5 -4
- package/dist/elements/index.js +10 -6
- package/dist/elements/index.mjs +1 -1
- package/dist/fileDropzone/index.js +10 -6
- package/dist/fileDropzone/index.js.map +1 -1
- package/dist/fileDropzone/index.mjs +10 -6
- package/dist/fileDropzone/index.mjs.map +1 -1
- package/dist/index.d.mts +7 -4
- package/dist/index.d.ts +7 -4
- package/dist/index.js +11 -6
- package/dist/index.mjs +11 -6
- package/package.json +1 -1
package/dist/index.js
CHANGED
@@ -2364,12 +2364,16 @@ var Alert = ({
|
|
2364
2364
|
if (props.onAlertClosed) {
|
2365
2365
|
props.onAlertClosed();
|
2366
2366
|
}
|
2367
|
-
|
2368
|
-
|
2369
|
-
|
2370
|
-
|
2371
|
-
|
2372
|
-
|
2367
|
+
if (!props.noDestroy) {
|
2368
|
+
setClosed(true);
|
2369
|
+
setTimeout(() => {
|
2370
|
+
if (alertRef == null ? void 0 : alertRef.current) {
|
2371
|
+
alertRef == null ? void 0 : alertRef.current.removeChild(
|
2372
|
+
alertRef == null ? void 0 : alertRef.current.children[0]
|
2373
|
+
);
|
2374
|
+
}
|
2375
|
+
}, 200);
|
2376
|
+
}
|
2373
2377
|
}
|
2374
2378
|
},
|
2375
2379
|
/* @__PURE__ */ import_react6.default.createElement("span", { className: "hawa-sr-only" }, "Close"),
|
@@ -9936,6 +9940,7 @@ var RegisterForm = ({
|
|
9936
9940
|
/* @__PURE__ */ import_react48.default.createElement(Card, { dir: props.direction, className: cn((_h = props.classNames) == null ? void 0 : _h.card) }, /* @__PURE__ */ import_react48.default.createElement(CardContent, { headless: true }, /* @__PURE__ */ import_react48.default.createElement("div", null, props.showError && /* @__PURE__ */ import_react48.default.createElement(
|
9937
9941
|
Alert,
|
9938
9942
|
{
|
9943
|
+
direction: props.direction,
|
9939
9944
|
title: props.errorTitle,
|
9940
9945
|
text: props.errorText,
|
9941
9946
|
severity: "error"
|
package/dist/index.mjs
CHANGED
@@ -2129,12 +2129,16 @@ var Alert = ({
|
|
2129
2129
|
if (props.onAlertClosed) {
|
2130
2130
|
props.onAlertClosed();
|
2131
2131
|
}
|
2132
|
-
|
2133
|
-
|
2134
|
-
|
2135
|
-
|
2136
|
-
|
2137
|
-
|
2132
|
+
if (!props.noDestroy) {
|
2133
|
+
setClosed(true);
|
2134
|
+
setTimeout(() => {
|
2135
|
+
if (alertRef == null ? void 0 : alertRef.current) {
|
2136
|
+
alertRef == null ? void 0 : alertRef.current.removeChild(
|
2137
|
+
alertRef == null ? void 0 : alertRef.current.children[0]
|
2138
|
+
);
|
2139
|
+
}
|
2140
|
+
}, 200);
|
2141
|
+
}
|
2138
2142
|
}
|
2139
2143
|
},
|
2140
2144
|
/* @__PURE__ */ React16.createElement("span", { className: "hawa-sr-only" }, "Close"),
|
@@ -9716,6 +9720,7 @@ var RegisterForm = ({
|
|
9716
9720
|
/* @__PURE__ */ React75.createElement(Card, { dir: props.direction, className: cn((_h = props.classNames) == null ? void 0 : _h.card) }, /* @__PURE__ */ React75.createElement(CardContent, { headless: true }, /* @__PURE__ */ React75.createElement("div", null, props.showError && /* @__PURE__ */ React75.createElement(
|
9717
9721
|
Alert,
|
9718
9722
|
{
|
9723
|
+
direction: props.direction,
|
9719
9724
|
title: props.errorTitle,
|
9720
9725
|
text: props.errorText,
|
9721
9726
|
severity: "error"
|