@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.
@@ -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-XSP6YUEA.mjs.map
3218
- //# sourceMappingURL=chunk-XSP6YUEA.mjs.map
3219
+ //# sourceMappingURL=chunk-ECG3QVQ7.mjs.map
3220
+ //# sourceMappingURL=chunk-ECG3QVQ7.mjs.map