@descope/flow-components 2.0.38 → 2.0.40

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.
Files changed (157) hide show
  1. package/dist/index.cjs.js +1 -93
  2. package/dist/index.d.ts +2 -54
  3. package/dist/index.esm.js +2 -92
  4. package/package.json +8 -9
  5. package/.eslintrc +0 -119
  6. package/.github/actions/setup/action.yml +0 -42
  7. package/.github/workflows/ci.yml +0 -105
  8. package/.github/workflows/publish.yml +0 -41
  9. package/.github/workflows/release.yml +0 -44
  10. package/.husky/pre-commit +0 -1
  11. package/.prettierrc +0 -8
  12. package/.storybook/main.js +0 -23
  13. package/.storybook/manager.js +0 -10
  14. package/.storybook/preview-head.html +0 -29
  15. package/.storybook/preview.js +0 -44
  16. package/LICENSE +0 -21
  17. package/babel.config.js +0 -7
  18. package/jest.config.js +0 -33
  19. package/jest.setup.js +0 -2
  20. package/renovate.json +0 -4
  21. package/rollup.config.mjs +0 -47
  22. package/src/Boolean/Boolean.tsx +0 -24
  23. package/src/Boolean/index.ts +0 -1
  24. package/src/Button/Button.tsx +0 -49
  25. package/src/Button/index.ts +0 -1
  26. package/src/Checkbox/Checkbox.tsx +0 -16
  27. package/src/Checkbox/index.ts +0 -1
  28. package/src/Code/Code.tsx +0 -21
  29. package/src/Code/index.ts +0 -1
  30. package/src/Container/Container.tsx +0 -111
  31. package/src/Container/index.ts +0 -1
  32. package/src/CssVarImage/CssVarImage.tsx +0 -38
  33. package/src/CssVarImage/index.ts +0 -1
  34. package/src/Divider/Divider.tsx +0 -33
  35. package/src/Divider/index.ts +0 -1
  36. package/src/EmailField/EmailField.tsx +0 -20
  37. package/src/EmailField/index.ts +0 -1
  38. package/src/Image/Image.tsx +0 -32
  39. package/src/Image/index.ts +0 -1
  40. package/src/Input/Input.tsx +0 -27
  41. package/src/Input/index.ts +0 -1
  42. package/src/Link/Link.tsx +0 -33
  43. package/src/Link/index.ts +0 -1
  44. package/src/Loader/Loader.tsx +0 -40
  45. package/src/Loader/index.ts +0 -1
  46. package/src/Logo/Logo.tsx +0 -27
  47. package/src/Logo/index.ts +0 -1
  48. package/src/NewPassword/NewPassword.tsx +0 -25
  49. package/src/NewPassword/index.ts +0 -1
  50. package/src/NumberField/NumberField.tsx +0 -20
  51. package/src/NumberField/index.ts +0 -1
  52. package/src/Password/Password.tsx +0 -20
  53. package/src/Password/index.ts +0 -1
  54. package/src/Phone/Phone.tsx +0 -22
  55. package/src/Phone/index.ts +0 -1
  56. package/src/Select/Select.tsx +0 -29
  57. package/src/Select/index.ts +0 -1
  58. package/src/Switch/Switch.tsx +0 -21
  59. package/src/Switch/index.ts +0 -1
  60. package/src/TOTPImage/TOTPImage.tsx +0 -18
  61. package/src/TOTPImage/index.ts +0 -1
  62. package/src/TOTPLink/TOTPLink.tsx +0 -16
  63. package/src/TOTPLink/index.ts +0 -1
  64. package/src/Text/Text.tsx +0 -36
  65. package/src/Text/index.ts +0 -1
  66. package/src/TextField/TextField.tsx +0 -20
  67. package/src/TextField/index.ts +0 -1
  68. package/src/Textarea/Textarea.tsx +0 -20
  69. package/src/Textarea/index.ts +0 -1
  70. package/src/icons/apple.tsx +0 -14
  71. package/src/icons/discord.tsx +0 -14
  72. package/src/icons/facebook.tsx +0 -14
  73. package/src/icons/fingerprint.tsx +0 -14
  74. package/src/icons/github.tsx +0 -14
  75. package/src/icons/gitlab.tsx +0 -41
  76. package/src/icons/google.tsx +0 -29
  77. package/src/icons/index.ts +0 -11
  78. package/src/icons/input-hidden.tsx +0 -17
  79. package/src/icons/input-visible.tsx +0 -17
  80. package/src/icons/linkedin.tsx +0 -18
  81. package/src/icons/microsoft.tsx +0 -41
  82. package/src/icons/passkey.tsx +0 -16
  83. package/src/icons/sso.tsx +0 -14
  84. package/src/index.ts +0 -29
  85. package/src/inputHelpers.ts +0 -41
  86. package/src/themeToCssVars/constants.ts +0 -13
  87. package/src/themeToCssVars/index.ts +0 -153
  88. package/src/themeToCssVars/types.ts +0 -56
  89. package/src/types.ts +0 -52
  90. package/src/utils.tsx +0 -69
  91. package/stories/Boolean.stories.jsx +0 -37
  92. package/stories/Button.stories.jsx +0 -71
  93. package/stories/Checkbox.stories.jsx +0 -29
  94. package/stories/Code.stories.jsx +0 -60
  95. package/stories/Container.stories.jsx +0 -53
  96. package/stories/Divider.stories.jsx +0 -23
  97. package/stories/EmailField.stories.jsx +0 -36
  98. package/stories/Image.stories.jsx +0 -16
  99. package/stories/Input.stories.jsx +0 -63
  100. package/stories/Link.stories.jsx +0 -21
  101. package/stories/Loader.stories.jsx +0 -34
  102. package/stories/Logo.stories.jsx +0 -14
  103. package/stories/NewPassword.stories.jsx +0 -52
  104. package/stories/NumberField.stories.jsx +0 -35
  105. package/stories/Password.stories.jsx +0 -37
  106. package/stories/Phone.stories.jsx +0 -61
  107. package/stories/Switch.stories.jsx +0 -29
  108. package/stories/TOTPImage.stories.jsx +0 -22
  109. package/stories/TOTPLink.stories.jsx +0 -20
  110. package/stories/Text.stories.jsx +0 -35
  111. package/stories/TextField.stories.jsx +0 -39
  112. package/stories/Textarea.stories.jsx +0 -25
  113. package/storybook-static/favicon.ico +0 -0
  114. package/test/__snapshots__/boolean.test.tsx.snap +0 -47
  115. package/test/__snapshots__/buttons.test.tsx.snap +0 -843
  116. package/test/__snapshots__/checkbox.test.tsx.snap +0 -51
  117. package/test/__snapshots__/code.test.tsx.snap +0 -1184
  118. package/test/__snapshots__/container.test.tsx.snap +0 -218
  119. package/test/__snapshots__/divider.test.tsx.snap +0 -73
  120. package/test/__snapshots__/image.test.tsx.snap +0 -62
  121. package/test/__snapshots__/input.test.tsx.snap +0 -80
  122. package/test/__snapshots__/link.test.tsx.snap +0 -120
  123. package/test/__snapshots__/loader.test.tsx.snap +0 -53
  124. package/test/__snapshots__/logo.test.tsx.snap +0 -10
  125. package/test/__snapshots__/newPassword.test.tsx.snap +0 -69
  126. package/test/__snapshots__/numeric-input.test.tsx.snap +0 -21
  127. package/test/__snapshots__/password.test.tsx.snap +0 -26
  128. package/test/__snapshots__/phone.test.tsx.snap +0 -504
  129. package/test/__snapshots__/switch.test.tsx.snap +0 -51
  130. package/test/__snapshots__/text.test.tsx.snap +0 -89
  131. package/test/__snapshots__/textarea.test.tsx.snap +0 -73
  132. package/test/__snapshots__/themeToCssVars.test.ts.snap +0 -45
  133. package/test/__snapshots__/totpImage.test.tsx.snap +0 -10
  134. package/test/__snapshots__/totpLink.test.tsx.snap +0 -13
  135. package/test/boolean.test.tsx +0 -28
  136. package/test/buttons.test.tsx +0 -66
  137. package/test/checkbox.test.tsx +0 -67
  138. package/test/code.test.tsx +0 -182
  139. package/test/container.test.tsx +0 -91
  140. package/test/divider.test.tsx +0 -50
  141. package/test/image.test.tsx +0 -40
  142. package/test/input.test.tsx +0 -82
  143. package/test/inputHelpers.test.tsx +0 -58
  144. package/test/link.test.tsx +0 -71
  145. package/test/loader.test.tsx +0 -25
  146. package/test/logo.test.tsx +0 -10
  147. package/test/newPassword.test.tsx +0 -132
  148. package/test/numeric-input.test.tsx +0 -114
  149. package/test/password.test.tsx +0 -55
  150. package/test/phone.test.tsx +0 -158
  151. package/test/switch.test.tsx +0 -67
  152. package/test/text.test.tsx +0 -60
  153. package/test/textarea.test.tsx +0 -64
  154. package/test/themeToCssVars.test.ts +0 -82
  155. package/test/totpImage.test.tsx +0 -10
  156. package/test/totpLink.test.tsx +0 -10
  157. package/tsconfig.json +0 -20
@@ -1,27 +0,0 @@
1
- import React from 'react';
2
- import { NumberField } from '../NumberField';
3
- import { EmailField } from '../EmailField';
4
- import { TextField } from '../TextField';
5
- import { PasswordField } from '../Password';
6
- import { DescopeInputProps } from '../types';
7
-
8
- const Input = React.forwardRef<HTMLInputElement, DescopeInputProps>(
9
- ({ type, ...rest }, ref) => {
10
- switch (type) {
11
- case 'email':
12
- return <EmailField {...rest} ref={ref} />;
13
- case 'password':
14
- return <PasswordField {...rest} ref={ref} />;
15
- case 'number':
16
- return <NumberField {...rest} ref={ref} />;
17
- default:
18
- return <TextField {...rest} ref={ref} />;
19
- }
20
- }
21
- );
22
-
23
- Input.defaultProps = {
24
- size: 'md'
25
- };
26
-
27
- export default Input;
@@ -1 +0,0 @@
1
- export { default as Input } from './Input';
package/src/Link/Link.tsx DELETED
@@ -1,33 +0,0 @@
1
- import React from 'react';
2
- import { Mode, TextAlign, TypographyVariants } from '../types';
3
-
4
- type Props = {
5
- italic?: boolean;
6
- variant?: TypographyVariants;
7
- mode?: Mode;
8
- textAlign?: TextAlign;
9
- 'full-width'?: boolean;
10
- children?: JSX.Element;
11
- };
12
-
13
- declare global {
14
- namespace JSX {
15
- interface IntrinsicElements {
16
- 'descope-link': React.DetailedHTMLProps<
17
- React.HTMLAttributes<HTMLAnchorElement>,
18
- HTMLAnchorElement
19
- > &
20
- Omit<Props, 'children'>;
21
- }
22
- }
23
- }
24
-
25
- const Link = React.forwardRef<HTMLAnchorElement, Props>(
26
- ({ children, ...restProps }, ref) => (
27
- <descope-link {...restProps} ref={ref}>
28
- {children}
29
- </descope-link>
30
- )
31
- );
32
-
33
- export default Link;
package/src/Link/index.ts DELETED
@@ -1 +0,0 @@
1
- export { default as Link } from './Link';
@@ -1,40 +0,0 @@
1
- import React from 'react';
2
- import { Mode, PropsToAttrs } from '../types';
3
-
4
- type Props = {
5
- variant?: 'linear' | 'radial';
6
- size?: 'xs' | 'sm' | 'md' | 'lg';
7
- color?: Mode;
8
- };
9
-
10
- type LoaderType = React.DetailedHTMLProps<
11
- React.HTMLAttributes<HTMLElement>,
12
- HTMLElement
13
- > &
14
- PropsToAttrs<Props>;
15
-
16
- declare global {
17
- namespace JSX {
18
- interface IntrinsicElements {
19
- 'descope-loader-linear': LoaderType;
20
- 'descope-loader-radial': LoaderType;
21
- }
22
- }
23
- }
24
-
25
- const Loader = React.forwardRef<HTMLDivElement, Props>(
26
- ({ variant, color, ...restProps }, ref) => {
27
- const props = { mode: color, ...restProps, ref };
28
-
29
- switch (variant) {
30
- case 'linear':
31
- return <descope-loader-linear {...props} />;
32
- case 'radial':
33
- return <descope-loader-radial {...props} />;
34
- default:
35
- return null;
36
- }
37
- }
38
- );
39
-
40
- export default Loader;
@@ -1 +0,0 @@
1
- export { default as Loader } from './Loader';
package/src/Logo/Logo.tsx DELETED
@@ -1,27 +0,0 @@
1
- import React from 'react';
2
- import { PropsToAttrs } from '../types';
3
-
4
- type Props = {
5
- width?: string;
6
- height?: string;
7
- };
8
-
9
- declare global {
10
- namespace JSX {
11
- interface IntrinsicElements {
12
- 'descope-logo': React.DetailedHTMLProps<
13
- React.HTMLAttributes<HTMLElement>,
14
- HTMLElement
15
- > &
16
- PropsToAttrs<Props>;
17
- }
18
- }
19
- }
20
-
21
- const Logo = React.forwardRef<HTMLDivElement, Props>(
22
- ({ width, height }, ref) => (
23
- <descope-logo st-width={width} st-height={height} ref={ref} />
24
- )
25
- );
26
-
27
- export default Logo;
package/src/Logo/index.ts DELETED
@@ -1 +0,0 @@
1
- export { default as Logo } from './Logo';
@@ -1,25 +0,0 @@
1
- import React from 'react';
2
- import { DescopeInputProps } from '../types';
3
-
4
- export type Props = {
5
- 'password-label'?: string;
6
- 'password-placeholder'?: string;
7
- 'confirm-label'?: string;
8
- 'confirm-placeholder'?: string;
9
- 'has-confirm'?: boolean;
10
- };
11
-
12
- declare global {
13
- namespace JSX {
14
- interface IntrinsicElements {
15
- 'descope-new-password': DescopeInputProps & Props;
16
- }
17
- }
18
- }
19
-
20
- const NewPassword = React.forwardRef<
21
- HTMLInputElement,
22
- DescopeInputProps & Props
23
- >((props, ref) => <descope-new-password {...props} ref={ref} />);
24
-
25
- export default NewPassword;
@@ -1 +0,0 @@
1
- export { default as NewPassword } from './NewPassword';
@@ -1,20 +0,0 @@
1
- import React from 'react';
2
- import { DescopeInputProps } from '../types';
3
-
4
- declare global {
5
- namespace JSX {
6
- interface IntrinsicElements {
7
- 'descope-number-field': DescopeInputProps;
8
- }
9
- }
10
- }
11
-
12
- const NumberField = React.forwardRef<HTMLInputElement, DescopeInputProps>(
13
- (props, ref) => <descope-number-field {...props} ref={ref} />
14
- );
15
-
16
- NumberField.defaultProps = {
17
- size: 'md'
18
- };
19
-
20
- export default NumberField;
@@ -1 +0,0 @@
1
- export { default as NumberField } from './NumberField';
@@ -1,20 +0,0 @@
1
- import React from 'react';
2
- import { DescopeInputProps } from '../types';
3
-
4
- declare global {
5
- namespace JSX {
6
- interface IntrinsicElements {
7
- 'descope-password-field': DescopeInputProps;
8
- }
9
- }
10
- }
11
-
12
- const PasswordField = React.forwardRef<HTMLInputElement, DescopeInputProps>(
13
- (props, ref) => <descope-password-field {...props} ref={ref} />
14
- );
15
-
16
- PasswordField.defaultProps = {
17
- size: 'md'
18
- };
19
-
20
- export default PasswordField;
@@ -1 +0,0 @@
1
- export { default as PasswordField } from './Password';
@@ -1,22 +0,0 @@
1
- import React from 'react';
2
- import { DescopeInputProps } from '../types';
3
-
4
- type Props = {
5
- 'default-code'?: string;
6
- 'phone-input-placeholder'?: string;
7
- 'country-input-placeholder'?: string;
8
- };
9
-
10
- declare global {
11
- namespace JSX {
12
- interface IntrinsicElements {
13
- 'descope-phone-field': DescopeInputProps & Props;
14
- }
15
- }
16
- }
17
-
18
- const Phone = React.forwardRef<HTMLInputElement, DescopeInputProps & Props>(
19
- (props, ref) => <descope-phone-field {...props} ref={ref} />
20
- );
21
-
22
- export default Phone;
@@ -1 +0,0 @@
1
- export { default as Phone } from './Phone';
@@ -1,29 +0,0 @@
1
- import React from 'react';
2
- import { DescopeInputProps } from '../types';
3
-
4
- type Props = {
5
- children?: JSX.Element[];
6
- };
7
-
8
- declare global {
9
- namespace JSX {
10
- interface IntrinsicElements {
11
- 'descope-combo-box': DescopeInputProps;
12
- }
13
- }
14
- }
15
-
16
- const Select = React.forwardRef<HTMLInputElement, DescopeInputProps & Props>(
17
- ({ children, ...restProps }, ref) => (
18
- <descope-combo-box {...restProps} ref={ref}>
19
- {children}
20
- </descope-combo-box>
21
- )
22
- );
23
-
24
- Select.defaultProps = {
25
- // eslint-disable-next-line react/default-props-match-prop-types
26
- size: 'md'
27
- };
28
-
29
- export default Select;
@@ -1 +0,0 @@
1
- export { default as Select } from './Select';
@@ -1,21 +0,0 @@
1
- import React from 'react';
2
- import { DescopeInputProps } from '../types';
3
-
4
- declare global {
5
- namespace JSX {
6
- interface IntrinsicElements {
7
- 'descope-switch-toggle': DescopeInputProps;
8
- }
9
- }
10
- }
11
-
12
- const Switch = React.forwardRef<HTMLInputElement, DescopeInputProps>(
13
- (props, ref) => <descope-switch-toggle {...props} ref={ref} />
14
- );
15
-
16
- Switch.defaultProps = {
17
- // eslint-disable-next-line react/default-props-match-prop-types
18
- size: 'md'
19
- };
20
-
21
- export default Switch;
@@ -1 +0,0 @@
1
- export { default as Switch } from './Switch';
@@ -1,18 +0,0 @@
1
- import React from 'react';
2
- import { CssVarImage } from '../CssVarImage';
3
-
4
- type Props = Omit<
5
- React.ComponentProps<typeof CssVarImage>,
6
- 'varName' | 'fallback'
7
- >;
8
-
9
- // The reason we define TOTPImage as a component, and not injecting the style from another place,
10
- // is to restrict the dependency between the code that injects this variable style (web-component) to this place only
11
- // Note: be careful when changing variables here, this can affect other packages implicitly
12
- const TOTPImage = React.forwardRef<HTMLDivElement, Props>(
13
- ({ ...props }, ref) => (
14
- <CssVarImage ref={ref} varName="totp-image" {...props} />
15
- )
16
- );
17
-
18
- export default TOTPImage;
@@ -1 +0,0 @@
1
- export { default as TOTPImage } from './TOTPImage';
@@ -1,16 +0,0 @@
1
- import React from 'react';
2
- import { Link } from '../Link';
3
-
4
- type Props = Omit<React.ComponentProps<typeof Link>, 'href'>;
5
-
6
- // The reason we define TOTPLink as a component, and not injecting the style from another place,
7
- // is to restrict the dependency between the code that injects this variable style (web-component) to this place only
8
- // Note: be careful when changing variables here, this can affect other packages implicitly
9
- const TOTPLink = React.forwardRef<HTMLAnchorElement, Props>(
10
- ({ ...props }, ref) => {
11
- const readyProps = { ...props, 'data-type': 'totp-link' };
12
- return <Link ref={ref} {...readyProps} />;
13
- }
14
- );
15
-
16
- export default TOTPLink;
@@ -1 +0,0 @@
1
- export { default as TOTPLink } from './TOTPLink';
package/src/Text/Text.tsx DELETED
@@ -1,36 +0,0 @@
1
- import React from 'react';
2
- import { TextAlign, TypographyVariants } from '../types';
3
-
4
- type Props = {
5
- italic?: boolean;
6
- variant?: string;
7
- mode?: string;
8
- 'full-width'?: boolean;
9
- 'text-align'?: TextAlign;
10
- };
11
-
12
- declare global {
13
- namespace JSX {
14
- interface IntrinsicElements {
15
- 'descope-text': React.DetailedHTMLProps<
16
- React.HTMLAttributes<HTMLElement>,
17
- HTMLElement
18
- > &
19
- Props;
20
- }
21
- }
22
- }
23
-
24
- const Text = React.forwardRef<
25
- HTMLElement,
26
- Props & { typography?: TypographyVariants } & Omit<
27
- React.HTMLProps<HTMLSpanElement>,
28
- 'mode'
29
- >
30
- >((props, ref) => (
31
- <descope-text {...props} ref={ref}>
32
- {props.children}
33
- </descope-text>
34
- ));
35
-
36
- export default Text;
package/src/Text/index.ts DELETED
@@ -1 +0,0 @@
1
- export { default as Text } from './Text';
@@ -1,20 +0,0 @@
1
- import React from 'react';
2
- import { DescopeInputProps } from '../types';
3
-
4
- declare global {
5
- namespace JSX {
6
- interface IntrinsicElements {
7
- 'descope-text-field': DescopeInputProps;
8
- }
9
- }
10
- }
11
-
12
- const TextField = React.forwardRef<HTMLInputElement, DescopeInputProps>(
13
- (props, ref) => <descope-text-field {...props} ref={ref} />
14
- );
15
-
16
- TextField.defaultProps = {
17
- size: 'md'
18
- };
19
-
20
- export default TextField;
@@ -1 +0,0 @@
1
- export { default as TextField } from './TextField';
@@ -1,20 +0,0 @@
1
- import React from 'react';
2
- import { DescopeInputProps } from '../types';
3
-
4
- declare global {
5
- namespace JSX {
6
- interface IntrinsicElements {
7
- 'descope-text-area': DescopeInputProps;
8
- }
9
- }
10
- }
11
-
12
- const Textarea = React.forwardRef<HTMLInputElement, DescopeInputProps>(
13
- (props, ref) => <descope-text-area {...props} ref={ref} />
14
- );
15
-
16
- Textarea.defaultProps = {
17
- size: 'md'
18
- };
19
-
20
- export default Textarea;
@@ -1 +0,0 @@
1
- export { default as Textarea } from './Textarea';
@@ -1,14 +0,0 @@
1
- import React from 'react';
2
-
3
- export default ({ noColor }) => (
4
- <svg
5
- width="1.5em"
6
- height="1.5em"
7
- viewBox="0 0 800 1000"
8
- xmlns="http://www.w3.org/2000/svg"
9
- fill={noColor ? 'currentColor' : '#000000'}
10
- data-icon="apple"
11
- >
12
- <path d="M788.1 340.9c-5.8 4.5-108.2 62.2-108.2 190.5 0 148.4 130.3 200.9 134.2 202.2-.6 3.2-20.7 71.9-68.7 141.9-42.8 61.6-87.5 123.1-155.5 123.1s-85.5-39.5-164-39.5c-76.5 0-103.7 40.8-165.9 40.8s-105.6-57-155.5-127C46.7 790.7 0 663 0 541.8c0-194.4 126.4-297.5 250.8-297.5 66.1 0 121.2 43.4 162.7 43.4 39.5 0 101.1-46 176.3-46 28.5 0 130.9 2.6 198.3 99.2zm-234-181.5c31.1-36.9 53.1-88.1 53.1-139.3 0-7.1-.6-14.3-1.9-20.1-50.6 1.9-110.8 33.7-147.1 75.8-28.5 32.4-55.1 83.6-55.1 135.5 0 7.8 1.3 15.6 1.9 18.1 3.2.6 8.4 1.3 13.6 1.3 45.4 0 102.5-30.4 135.5-71.3z" />
13
- </svg>
14
- );
@@ -1,14 +0,0 @@
1
- import React from 'react';
2
-
3
- export default ({ noColor }) => (
4
- <svg
5
- xmlns="http://www.w3.org/2000/svg"
6
- width="1.5em"
7
- height="1.5em"
8
- viewBox="0 0 256 200"
9
- fill={noColor ? 'currentColor' : '#5566fb'}
10
- data-icon="discord"
11
- >
12
- <path d="M216.856339,16.5966031 C200.285002,8.84328665 182.566144,3.2084988 164.041564,0 C161.766523,4.11318106 159.108624,9.64549908 157.276099,14.0464379 C137.583995,11.0849896 118.072967,11.0849896 98.7430163,14.0464379 C96.9108417,9.64549908 94.1925838,4.11318106 91.8971895,0 C73.3526068,3.2084988 55.6133949,8.86399117 39.0420583,16.6376612 C5.61752293,67.146514 -3.4433191,116.400813 1.08711069,164.955721 C23.2560196,181.510915 44.7403634,191.567697 65.8621325,198.148576 C71.0772151,190.971126 75.7283628,183.341335 79.7352139,175.300261 C72.104019,172.400575 64.7949724,168.822202 57.8887866,164.667963 C59.7209612,163.310589 61.5131304,161.891452 63.2445898,160.431257 C105.36741,180.133187 151.134928,180.133187 192.754523,160.431257 C194.506336,161.891452 196.298154,163.310589 198.110326,164.667963 C191.183787,168.842556 183.854737,172.420929 176.223542,175.320965 C180.230393,183.341335 184.861538,190.991831 190.096624,198.16893 C211.238746,191.588051 232.743023,181.531619 254.911949,164.955721 C260.227747,108.668201 245.831087,59.8662432 216.856339,16.5966031 Z M85.4738752,135.09489 C72.8290281,135.09489 62.4592217,123.290155 62.4592217,108.914901 C62.4592217,94.5396472 72.607595,82.7145587 85.4738752,82.7145587 C98.3405064,82.7145587 108.709962,94.5189427 108.488529,108.914901 C108.508531,123.290155 98.3405064,135.09489 85.4738752,135.09489 Z M170.525237,135.09489 C157.88039,135.09489 147.510584,123.290155 147.510584,108.914901 C147.510584,94.5396472 157.658606,82.7145587 170.525237,82.7145587 C183.391518,82.7145587 193.761324,94.5189427 193.539891,108.914901 C193.539891,123.290155 183.391518,135.09489 170.525237,135.09489 Z" />
13
- </svg>
14
- );
@@ -1,14 +0,0 @@
1
- import React from 'react';
2
-
3
- export default ({ noColor }) => (
4
- <svg
5
- xmlns="http://www.w3.org/2000/svg"
6
- width="1.5em"
7
- height="1.5em"
8
- viewBox="5 5 20 20"
9
- fill={noColor ? 'currentColor' : '#1877F2'}
10
- data-icon="facebook"
11
- >
12
- <path d="M25 15.0609C25 9.50385 20.5234 5 15 5C9.47658 5 5 9.50385 5 15.0609C5 20.0835 8.65625 24.2454 13.4375 25V17.9691H10.8984V15.0609H13.4375V12.8444C13.4375 10.3232 14.9297 8.93004 17.2148 8.93004C18.3086 8.93004 19.4531 9.12655 19.4531 9.12655V11.6025H18.1914C16.9492 11.6025 16.5625 12.3787 16.5625 13.1745V15.0609H19.3359L18.8926 17.9691H16.5625V25C21.3437 24.2454 25 20.0835 25 15.0609Z" />
13
- </svg>
14
- );
@@ -1,14 +0,0 @@
1
- import React from 'react';
2
-
3
- export default ({ noColor }) => (
4
- <svg
5
- xmlns="http://www.w3.org/2000/svg"
6
- viewBox="0 0 29 30"
7
- width="1.5em"
8
- height="1.5em"
9
- fill={noColor ? 'currentColor' : '#000000'}
10
- data-icon="fingerprint"
11
- >
12
- <path d="M21.5204 5.5875C21.4238 5.5875 21.3271 5.5625 21.2425 5.5125C18.9225 4.275 16.9167 3.75 14.5121 3.75C12.1196 3.75 9.84792 4.3375 7.78167 5.5125C7.49167 5.675 7.12917 5.5625 6.96 5.2625C6.80292 4.9625 6.91167 4.575 7.20167 4.4125C9.44917 3.15 11.9142 2.5 14.5121 2.5C17.0858 2.5 19.3333 3.0875 21.7983 4.4C22.1004 4.5625 22.2092 4.9375 22.0521 5.2375C21.9433 5.4625 21.7379 5.5875 21.5204 5.5875V5.5875ZM4.22917 12.15C4.10834 12.15 3.9875 12.1125 3.87875 12.0375C3.60084 11.8375 3.54042 11.45 3.73375 11.1625C4.93 9.4125 6.4525 8.0375 8.265 7.075C12.0592 5.05 16.9167 5.0375 20.7229 7.0625C22.5354 8.025 24.0579 9.3875 25.2542 11.125C25.4475 11.4 25.3871 11.8 25.1092 12C24.8313 12.2 24.4567 12.1375 24.2633 11.85C23.1758 10.275 21.7983 9.0375 20.1671 8.175C16.6992 6.3375 12.2646 6.3375 8.80875 8.1875C7.16542 9.0625 5.78792 10.3125 4.70042 11.8875C4.60375 12.0625 4.4225 12.15 4.22917 12.15V12.15ZM11.7813 27.2375C11.6242 27.2375 11.4671 27.175 11.3583 27.05C10.3071 25.9625 9.73917 25.2625 8.92959 23.75C8.09584 22.2125 7.66084 20.3375 7.66084 18.325C7.66084 14.6125 10.73 11.5875 14.5 11.5875C18.27 11.5875 21.3392 14.6125 21.3392 18.325C21.3392 18.675 21.0733 18.95 20.735 18.95C20.3967 18.95 20.1308 18.675 20.1308 18.325C20.1308 15.3 17.6054 12.8375 14.5 12.8375C11.3946 12.8375 8.86917 15.3 8.86917 18.325C8.86917 20.125 9.25584 21.7875 9.99292 23.1375C10.7663 24.575 11.2979 25.1875 12.2283 26.1625C12.4579 26.4125 12.4579 26.8 12.2283 27.05C12.0954 27.175 11.9383 27.2375 11.7813 27.2375ZM20.445 24.925C19.0071 24.925 17.7383 24.55 16.6992 23.8125C14.8988 22.55 13.8233 20.5 13.8233 18.325C13.8233 17.975 14.0892 17.7 14.4275 17.7C14.7658 17.7 15.0317 17.975 15.0317 18.325C15.0317 20.0875 15.9017 21.75 17.3758 22.775C18.2338 23.375 19.2367 23.6625 20.445 23.6625C20.735 23.6625 21.2183 23.625 21.7017 23.5375C22.0279 23.475 22.3421 23.7 22.4025 24.05C22.4629 24.3875 22.2454 24.7125 21.9071 24.775C21.2183 24.9125 20.6142 24.925 20.445 24.925V24.925ZM18.0163 27.5C17.9679 27.5 17.9075 27.4875 17.8592 27.475C15.9379 26.925 14.6813 26.1875 13.3642 24.85C11.6725 23.1125 10.7421 20.8 10.7421 18.325C10.7421 16.3 12.4096 14.65 14.4638 14.65C16.5179 14.65 18.1854 16.3 18.1854 18.325C18.1854 19.6625 19.3092 20.75 20.6988 20.75C22.0883 20.75 23.2121 19.6625 23.2121 18.325C23.2121 13.6125 19.285 9.7875 14.4517 9.7875C11.02 9.7875 7.87834 11.7625 6.46459 14.825C5.99334 15.8375 5.75167 17.025 5.75167 18.325C5.75167 19.3 5.83625 20.8375 6.56125 22.8375C6.68209 23.1625 6.525 23.525 6.21084 23.6375C5.89667 23.7625 5.54625 23.5875 5.4375 23.275C4.84542 21.6375 4.55542 20.0125 4.55542 18.325C4.55542 16.825 4.83334 15.4625 5.37709 14.275C6.98417 10.7875 10.5488 8.525 14.4517 8.525C19.9496 8.525 24.4204 12.9125 24.4204 18.3125C24.4204 20.3375 22.7529 21.9875 20.6988 21.9875C18.6446 21.9875 16.9771 20.3375 16.9771 18.3125C16.9771 16.975 15.8533 15.8875 14.4638 15.8875C13.0742 15.8875 11.9504 16.975 11.9504 18.3125C11.9504 20.45 12.7479 22.45 14.21 23.95C15.3579 25.125 16.4575 25.775 18.1613 26.2625C18.4875 26.35 18.6688 26.7 18.5842 27.025C18.5238 27.3125 18.27 27.5 18.0163 27.5V27.5Z" />
13
- </svg>
14
- );
@@ -1,14 +0,0 @@
1
- import React from 'react';
2
-
3
- export default ({ noColor }) => (
4
- <svg
5
- width="1.5em"
6
- height="1.5em"
7
- xmlns="http://www.w3.org/2000/svg"
8
- fill={noColor ? 'currentColor' : '#000000'}
9
- viewBox="2.5 2.5 25 25"
10
- data-icon="github"
11
- >
12
- <path d="M15,3C8.373,3,3,8.373,3,15c0,5.623,3.872,10.328,9.092,11.63C12.036,26.468,12,26.28,12,26.047v-2.051 c-0.487,0-1.303,0-1.508,0c-0.821,0-1.551-0.353-1.905-1.009c-0.393-0.729-0.461-1.844-1.435-2.526 c-0.289-0.227-0.069-0.486,0.264-0.451c0.615,0.174,1.125,0.596,1.605,1.222c0.478,0.627,0.703,0.769,1.596,0.769 c0.433,0,1.081-0.025,1.691-0.121c0.328-0.833,0.895-1.6,1.588-1.962c-3.996-0.411-5.903-2.399-5.903-5.098 c0-1.162,0.495-2.286,1.336-3.233C9.053,10.647,8.706,8.73,9.435,8c1.798,0,2.885,1.166,3.146,1.481C13.477,9.174,14.461,9,15.495,9 c1.036,0,2.024,0.174,2.922,0.483C18.675,9.17,19.763,8,21.565,8c0.732,0.731,0.381,2.656,0.102,3.594 c0.836,0.945,1.328,2.066,1.328,3.226c0,2.697-1.904,4.684-5.894,5.097C18.199,20.49,19,22.1,19,23.313v2.734 c0,0.104-0.023,0.179-0.035,0.268C23.641,24.676,27,20.236,27,15C27,8.373,21.627,3,15,3z" />
13
- </svg>
14
- );
@@ -1,41 +0,0 @@
1
- import React from 'react';
2
-
3
- export default ({ noColor }) => (
4
- <svg
5
- xmlns="http://www.w3.org/2000/svg"
6
- width="1.5em"
7
- height="1.5em"
8
- viewBox="0 0 256 236"
9
- fill={noColor ? 'currentColor' : ''}
10
- data-icon="gitlab"
11
- >
12
- <path
13
- d="M128.075 236.075l47.104-144.97H80.97l47.104 144.97z"
14
- fill={noColor ? '' : '#E24329'}
15
- />
16
- <path
17
- d="M128.075 236.074L80.97 91.104H14.956l113.119 144.97z"
18
- fill={noColor ? '' : '#FC6D26'}
19
- />
20
- <path
21
- d="M14.956 91.104L.642 135.16a9.752 9.752 0 0 0 3.542 10.903l123.891 90.012-113.12-144.97z"
22
- fill={noColor ? '' : '#FCA326'}
23
- />
24
- <path
25
- d="M14.956 91.105H80.97L52.601 3.79c-1.46-4.493-7.816-4.492-9.275 0l-28.37 87.315z"
26
- fill={noColor ? '' : '#E24329'}
27
- />
28
- <path
29
- d="M128.075 236.074l47.104-144.97h66.015l-113.12 144.97z"
30
- fill={noColor ? '' : '#FC6D26'}
31
- />
32
- <path
33
- d="M241.194 91.104l14.314 44.056a9.752 9.752 0 0 1-3.543 10.903l-123.89 90.012 113.119-144.97z"
34
- fill={noColor ? '' : '#FCA326'}
35
- />
36
- <path
37
- d="M241.194 91.105h-66.015l28.37-87.315c1.46-4.493 7.816-4.492 9.275 0l28.37 87.315z"
38
- fill={noColor ? '' : '#E24329'}
39
- />
40
- </svg>
41
- );
@@ -1,29 +0,0 @@
1
- import React from 'react';
2
-
3
- export default ({ noColor }) => (
4
- <svg
5
- width="1.5em"
6
- height="1.5em"
7
- viewBox="3 3 24 24"
8
- xmlns="http://www.w3.org/2000/svg"
9
- fill={noColor ? 'currentColor' : ''}
10
- data-icon="google"
11
- >
12
- <path
13
- d="M24.577 15.2205C24.577 14.5622 24.5187 13.9371 24.4187 13.3287H15.0013V17.0874H20.3934C20.1517 18.3208 19.4433 19.3625 18.3932 20.0709V22.5711H21.6101C23.4936 20.8293 24.577 18.2624 24.577 15.2205Z"
14
- fill={noColor ? '' : '#0152E6'}
15
- />
16
- <path
17
- d="M14.9959 24.9999C17.6961 24.9999 19.9546 24.0999 21.6048 22.5748L18.3879 20.0746C17.4878 20.6746 16.346 21.0413 14.9959 21.0413C12.3874 21.0413 10.1789 19.2828 9.38717 16.9077H6.07025V19.4829C7.71204 22.7498 11.0873 24.9999 14.9959 24.9999Z"
18
- fill={noColor ? '' : '#34A853'}
19
- />
20
- <path
21
- d="M9.392 16.9086C9.18365 16.3086 9.07531 15.6669 9.07531 15.0002C9.07531 14.3334 9.19199 13.6917 9.392 13.0917V10.5165H6.07508C5.3917 11.8666 5 13.3834 5 15.0002C5 16.6169 5.3917 18.1337 6.07508 19.4838L9.392 16.9086Z"
22
- fill={noColor ? '' : '#FBBC05'}
23
- />
24
- <path
25
- d="M14.9959 8.95864C16.471 8.95864 17.7878 9.46701 18.8296 10.4588L21.6798 7.60853C19.9546 5.99174 17.6961 5 14.9959 5C11.0873 5 7.71204 7.25017 6.07025 10.5171L9.38717 13.0923C10.1789 10.7171 12.3874 8.95864 14.9959 8.95864Z"
26
- fill={noColor ? '' : '#EA4335'}
27
- />
28
- </svg>
29
- );
@@ -1,11 +0,0 @@
1
- export { default as apple } from './apple';
2
- export { default as facebook } from './facebook';
3
- export { default as fingerprint } from './fingerprint';
4
- export { default as passkey } from './passkey';
5
- export { default as github } from './github';
6
- export { default as gitlab } from './gitlab';
7
- export { default as google } from './google';
8
- export { default as microsoft } from './microsoft';
9
- export { default as discord } from './discord';
10
- export { default as linkedin } from './linkedin';
11
- export { default as sso } from './sso';
@@ -1,17 +0,0 @@
1
- import React from 'react';
2
-
3
- export default ({ noColor }) => (
4
- <svg
5
- width="24"
6
- height="24"
7
- viewBox="0 0 24 24"
8
- fill={noColor ? 'currentColor' : '#000000'}
9
- xmlns="http://www.w3.org/2000/svg"
10
- >
11
- <path
12
- d="M12 6.0002C15.79 6.0002 19.17 8.1302 20.82 11.5002C20.23 12.7202 19.4 13.7702 18.41 14.6202L19.82 16.0302C21.21 14.8002 22.31 13.2602 23 11.5002C21.27 7.1102 17 4.0002 12 4.0002C10.73 4.0002 9.51 4.2002 8.36 4.5702L10.01 6.2202C10.66 6.0902 11.32 6.0002 12 6.0002ZM10.93 7.14019L13 9.2102C13.57 9.4602 14.03 9.9202 14.28 10.4902L16.35 12.5602C16.43 12.2202 16.49 11.8602 16.49 11.4902C16.5 9.0102 14.48 7.0002 12 7.0002C11.63 7.0002 11.28 7.05019 10.93 7.14019ZM2.01 3.8702L4.69 6.5502C3.06 7.8302 1.77 9.5302 1 11.5002C2.73 15.8902 7 19.0002 12 19.0002C13.52 19.0002 14.98 18.7102 16.32 18.1802L19.74 21.6002L21.15 20.1902L3.42 2.4502L2.01 3.8702ZM9.51 11.3702L12.12 13.9802C12.08 13.9902 12.04 14.0002 12 14.0002C10.62 14.0002 9.5 12.8802 9.5 11.5002C9.5 11.4502 9.51 11.4202 9.51 11.3702V11.3702ZM6.11 7.97019L7.86 9.7202C7.63 10.2702 7.5 10.8702 7.5 11.5002C7.5 13.9802 9.52 16.0002 12 16.0002C12.63 16.0002 13.23 15.8702 13.77 15.6402L14.75 16.6202C13.87 16.8602 12.95 17.0002 12 17.0002C8.21 17.0002 4.83 14.8702 3.18 11.5002C3.88 10.0702 4.9 8.89019 6.11 7.97019Z"
13
- fill="black"
14
- fillOpacity="0.54"
15
- />
16
- </svg>
17
- );
@@ -1,17 +0,0 @@
1
- import React from 'react';
2
-
3
- export default ({ noColor }) => (
4
- <svg
5
- width="24"
6
- height="24"
7
- viewBox="0 0 24 24"
8
- fill={noColor ? 'currentColor' : '#000000'}
9
- xmlns="http://www.w3.org/2000/svg"
10
- >
11
- <path
12
- d="M12 6C15.79 6 19.17 8.13 20.82 11.5C19.17 14.87 15.79 17 12 17C8.21 17 4.83 14.87 3.18 11.5C4.83 8.13 8.21 6 12 6ZM12 4C7 4 2.73 7.11 1 11.5C2.73 15.89 7 19 12 19C17 19 21.27 15.89 23 11.5C21.27 7.11 17 4 12 4ZM12 9C13.38 9 14.5 10.12 14.5 11.5C14.5 12.88 13.38 14 12 14C10.62 14 9.5 12.88 9.5 11.5C9.5 10.12 10.62 9 12 9ZM12 7C9.52 7 7.5 9.02 7.5 11.5C7.5 13.98 9.52 16 12 16C14.48 16 16.5 13.98 16.5 11.5C16.5 9.02 14.48 7 12 7Z"
13
- fill="black"
14
- fillOpacity="0.54"
15
- />
16
- </svg>
17
- );