@clerk/ui 0.1.28 → 0.2.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/{chunk-F2ASRJ6X.mjs → chunk-DQ7KNLMX.mjs} +3 -3
- package/dist/{chunk-F2ASRJ6X.mjs.map → chunk-DQ7KNLMX.mjs.map} +1 -1
- package/dist/{chunk-XSP6YUEA.mjs → chunk-ECG3QVQ7.mjs} +6 -4
- package/dist/chunk-ECG3QVQ7.mjs.map +1 -0
- package/dist/components/sign-in.js +3 -1
- package/dist/components/sign-in.js.map +1 -1
- package/dist/components/sign-in.mjs +2 -2
- package/dist/components/sign-up.js +3 -1
- package/dist/components/sign-up.js.map +1 -1
- package/dist/components/sign-up.mjs +2 -2
- package/dist/contexts.js +3 -2
- package/dist/contexts.js.map +1 -1
- package/dist/contexts.mjs +1 -1
- package/dist/styles.css +1 -1
- package/package.json +7 -7
- package/dist/chunk-XSP6YUEA.mjs.map +0 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { createContextAndHook, useClerk, useOptionsContext, useDeepEqualMemo } from '@clerk/shared/react';
|
|
2
2
|
import * as Common from '@clerk/elements/common';
|
|
3
|
-
import { OAUTH_PROVIDERS, WEB3_PROVIDERS } from '@clerk/types';
|
|
3
|
+
import { OAUTH_PROVIDERS as OAUTH_PROVIDERS$1, WEB3_PROVIDERS as WEB3_PROVIDERS$1 } from '@clerk/types';
|
|
4
4
|
import { enUS } from '@clerk/localizations';
|
|
5
5
|
import { fastDeepMergeAndReplace } from '@clerk/shared/utils';
|
|
6
6
|
import { dequal } from 'dequal';
|
|
@@ -11,6 +11,8 @@ import { clsx } from 'clsx';
|
|
|
11
11
|
import { cx as cx$1 } from 'cva';
|
|
12
12
|
import { jsxs, jsx, Fragment } from 'react/jsx-runtime';
|
|
13
13
|
import { mergeProps } from 'react-aria';
|
|
14
|
+
import { OAUTH_PROVIDERS } from '@clerk/shared/oauth';
|
|
15
|
+
import { WEB3_PROVIDERS } from '@clerk/shared/web3';
|
|
14
16
|
|
|
15
17
|
// src/contexts/AppearanceContext.tsx
|
|
16
18
|
function useEnabledConnections() {
|
|
@@ -21,7 +23,7 @@ function useEnabledConnections() {
|
|
|
21
23
|
...web3FirstFactors,
|
|
22
24
|
...authenticatableSocialStrategies
|
|
23
25
|
]);
|
|
24
|
-
return [...OAUTH_PROVIDERS, ...WEB3_PROVIDERS].filter((provider) => enabledConnections.has(provider.strategy));
|
|
26
|
+
return [...OAUTH_PROVIDERS$1, ...WEB3_PROVIDERS$1].filter((provider) => enabledConnections.has(provider.strategy));
|
|
25
27
|
}
|
|
26
28
|
var readObjectPath = (obj, path) => {
|
|
27
29
|
const props = (path || "").split(".");
|
|
@@ -3214,5 +3216,5 @@ var AppearanceProvider = (props) => {
|
|
|
3214
3216
|
};
|
|
3215
3217
|
|
|
3216
3218
|
export { Actions, Alert, AppearanceProvider, Body, Button, Checkbox, Connections, Content, Description, Footer, FooterAction, FooterActionButton, FooterActionLink, FooterActionText, Header, Hint, Icon, Input, InputGroup, InputGroupEnd, Label, LabelEnd, Logo, Message, Root, Root2, Separator, Title, cx, mergeDescriptors, translatePasswordError, useAppearance, useEnabledConnections, useLocalizations, useOptions };
|
|
3217
|
-
//# sourceMappingURL=chunk-
|
|
3218
|
-
//# sourceMappingURL=chunk-
|
|
3219
|
+
//# sourceMappingURL=chunk-ECG3QVQ7.mjs.map
|
|
3220
|
+
//# sourceMappingURL=chunk-ECG3QVQ7.mjs.map
|