@lumiapassport/ui-kit 1.14.10 → 1.14.12
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/README.md +0 -1
- package/dist/iframe/index.html +4 -4
- package/dist/iframe/main.js +3 -3
- package/dist/iframe/main.js.map +1 -1
- package/dist/index.cjs +1743 -1414
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +3 -4
- package/dist/index.d.ts +3 -4
- package/dist/index.js +1532 -1203
- package/dist/index.js.map +1 -1
- package/dist/styles.css +1 -1
- package/package.json +4 -3
package/dist/index.d.cts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
2
|
import * as React$1 from 'react';
|
|
3
|
-
import React__default, { ReactNode, MutableRefObject, FC, HTMLAttributes, PropsWithChildren } from 'react';
|
|
3
|
+
import React__default, { ReactNode, MutableRefObject, FC, HTMLAttributes, PropsWithChildren, ButtonHTMLAttributes } from 'react';
|
|
4
4
|
import * as viem from 'viem';
|
|
5
5
|
import { Address as Address$1, Hex, Chain, Hash as Hash$1, TransactionReceipt } from 'viem';
|
|
6
6
|
import * as _tanstack_react_query from '@tanstack/react-query';
|
|
@@ -183,7 +183,6 @@ interface LumiaPassportConfig {
|
|
|
183
183
|
social: {
|
|
184
184
|
enabled: boolean;
|
|
185
185
|
providers: SocialProvider[];
|
|
186
|
-
gridColumns: number;
|
|
187
186
|
};
|
|
188
187
|
wallet: {
|
|
189
188
|
enabled: boolean;
|
|
@@ -205,7 +204,7 @@ interface LumiaPassportConfig {
|
|
|
205
204
|
subtitle?: string;
|
|
206
205
|
useExternalIcons?: boolean;
|
|
207
206
|
dialogClassName?: string;
|
|
208
|
-
authOrder?:
|
|
207
|
+
authOrder?: ('email' | 'social' | 'wallet')[];
|
|
209
208
|
branding: {
|
|
210
209
|
logo?: React__default.ComponentType<{
|
|
211
210
|
size?: number;
|
|
@@ -820,7 +819,7 @@ declare const buttonVariants: (props?: {
|
|
|
820
819
|
variant?: "default" | "outline" | "ghost";
|
|
821
820
|
size?: "small" | "large" | "medium" | "icon";
|
|
822
821
|
} & class_variance_authority_types.ClassProp) => string;
|
|
823
|
-
interface ButtonProps extends
|
|
822
|
+
interface ButtonProps extends ButtonHTMLAttributes<HTMLButtonElement>, VariantProps<typeof buttonVariants> {
|
|
824
823
|
asChild?: boolean;
|
|
825
824
|
}
|
|
826
825
|
|
package/dist/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
2
|
import * as React$1 from 'react';
|
|
3
|
-
import React__default, { ReactNode, MutableRefObject, FC, HTMLAttributes, PropsWithChildren } from 'react';
|
|
3
|
+
import React__default, { ReactNode, MutableRefObject, FC, HTMLAttributes, PropsWithChildren, ButtonHTMLAttributes } from 'react';
|
|
4
4
|
import * as viem from 'viem';
|
|
5
5
|
import { Address as Address$1, Hex, Chain, Hash as Hash$1, TransactionReceipt } from 'viem';
|
|
6
6
|
import * as _tanstack_react_query from '@tanstack/react-query';
|
|
@@ -183,7 +183,6 @@ interface LumiaPassportConfig {
|
|
|
183
183
|
social: {
|
|
184
184
|
enabled: boolean;
|
|
185
185
|
providers: SocialProvider[];
|
|
186
|
-
gridColumns: number;
|
|
187
186
|
};
|
|
188
187
|
wallet: {
|
|
189
188
|
enabled: boolean;
|
|
@@ -205,7 +204,7 @@ interface LumiaPassportConfig {
|
|
|
205
204
|
subtitle?: string;
|
|
206
205
|
useExternalIcons?: boolean;
|
|
207
206
|
dialogClassName?: string;
|
|
208
|
-
authOrder?:
|
|
207
|
+
authOrder?: ('email' | 'social' | 'wallet')[];
|
|
209
208
|
branding: {
|
|
210
209
|
logo?: React__default.ComponentType<{
|
|
211
210
|
size?: number;
|
|
@@ -820,7 +819,7 @@ declare const buttonVariants: (props?: {
|
|
|
820
819
|
variant?: "default" | "outline" | "ghost";
|
|
821
820
|
size?: "small" | "large" | "medium" | "icon";
|
|
822
821
|
} & class_variance_authority_types.ClassProp) => string;
|
|
823
|
-
interface ButtonProps extends
|
|
822
|
+
interface ButtonProps extends ButtonHTMLAttributes<HTMLButtonElement>, VariantProps<typeof buttonVariants> {
|
|
824
823
|
asChild?: boolean;
|
|
825
824
|
}
|
|
826
825
|
|