@dartcom/ui-kit 3.8.3 → 3.8.4
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.cjs
CHANGED
|
@@ -47002,7 +47002,7 @@ const AuthProvider = ({ onUnauthorized, children, }) => {
|
|
|
47002
47002
|
}, [authStore.isUnauthorized]);
|
|
47003
47003
|
return jsxRuntime.jsx(React__namespace.Fragment, { children: children });
|
|
47004
47004
|
};
|
|
47005
|
-
var auth
|
|
47005
|
+
var auth = observer(AuthProvider);
|
|
47006
47006
|
|
|
47007
47007
|
class RootStore {
|
|
47008
47008
|
authStore = new AuthStore();
|
|
@@ -63930,7 +63930,6 @@ const AuthPage = ({ onSuccessSignIn }) => {
|
|
|
63930
63930
|
alignItems: 'center',
|
|
63931
63931
|
}, children: [jsxRuntime.jsx(Typography, { variant: "h4", children: "Authorization" }), jsxRuntime.jsx(CustomInput, { ...register('username'), label: "Login", placeholder: "Enter your login" }), jsxRuntime.jsx(CustomInput, { ...register('password'), label: "Password", placeholder: "Enter your password", type: "password" }), jsxRuntime.jsx(Button$1, { type: "submit", variant: "contained", disabled: !isValid, children: "Sign in" })] }) }));
|
|
63932
63932
|
};
|
|
63933
|
-
var auth = observer(AuthPage);
|
|
63934
63933
|
|
|
63935
63934
|
// define() gets called for each chunk generated by the first Rollup pass.
|
|
63936
63935
|
// The order the chunks are called in is controlled by the imports in bundle.js:
|
|
@@ -63987,12 +63986,12 @@ var tangram_min = /*#__PURE__*/Object.freeze({
|
|
|
63987
63986
|
});
|
|
63988
63987
|
|
|
63989
63988
|
exports.ApiService = ApiService;
|
|
63990
|
-
exports.AuthPage =
|
|
63989
|
+
exports.AuthPage = AuthPage;
|
|
63991
63990
|
exports.AuthStore = AuthStore;
|
|
63992
63991
|
exports.Button = Button$1;
|
|
63993
63992
|
exports.Card = CustomCard;
|
|
63994
63993
|
exports.Checkbox = CustomCheckbox;
|
|
63995
|
-
exports.DartcomAuthProvider = auth
|
|
63994
|
+
exports.DartcomAuthProvider = auth;
|
|
63996
63995
|
exports.DartcomMobxProvider = DartcomMobxProvider;
|
|
63997
63996
|
exports.DartcomProviders = DartcomProviders;
|
|
63998
63997
|
exports.DeleteButton = DeleteButton;
|