@descope/flow-components 2.0.397 → 2.0.398
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.d.ts +6 -39
- package/package.json +4 -4
package/dist/index.d.ts
CHANGED
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
import React, { SVGProps } from 'react';
|
|
3
2
|
export * from '@descope/web-components-ui';
|
|
4
3
|
|
|
@@ -65,15 +64,7 @@ declare global {
|
|
|
65
64
|
}
|
|
66
65
|
}
|
|
67
66
|
}
|
|
68
|
-
declare const Button: React.ForwardRefExoticComponent<Omit<
|
|
69
|
-
variant?: string;
|
|
70
|
-
color?: string;
|
|
71
|
-
size?: string;
|
|
72
|
-
loading?: boolean;
|
|
73
|
-
startIcon?: string;
|
|
74
|
-
startIconColorText?: boolean;
|
|
75
|
-
'full-width'?: boolean;
|
|
76
|
-
}, "ref"> & React.RefAttributes<HTMLButtonElement>>;
|
|
67
|
+
declare const Button: React.ForwardRefExoticComponent<Omit<any, "ref"> & React.RefAttributes<HTMLButtonElement>>;
|
|
77
68
|
|
|
78
69
|
type Props$B = {
|
|
79
70
|
digits?: number;
|
|
@@ -134,7 +125,7 @@ declare global {
|
|
|
134
125
|
}
|
|
135
126
|
}
|
|
136
127
|
}
|
|
137
|
-
declare const Divider: React.ForwardRefExoticComponent<Omit<Omit<
|
|
128
|
+
declare const Divider: React.ForwardRefExoticComponent<Omit<Omit<any, "size"> & Props$z, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
138
129
|
|
|
139
130
|
declare const ReactComponent: (props: SVGProps<SVGSVGElement>) => JSX.Element;
|
|
140
131
|
|
|
@@ -656,14 +647,7 @@ declare global {
|
|
|
656
647
|
}
|
|
657
648
|
}
|
|
658
649
|
}
|
|
659
|
-
declare const UserAuthMethod: React.ForwardRefExoticComponent<Omit<
|
|
660
|
-
label?: string;
|
|
661
|
-
'button-label'?: string;
|
|
662
|
-
fulfilled?: boolean;
|
|
663
|
-
'full-width'?: boolean;
|
|
664
|
-
methodIcon?: string;
|
|
665
|
-
buttonIcon?: string;
|
|
666
|
-
}, "ref"> & React.RefAttributes<HTMLButtonElement>>;
|
|
650
|
+
declare const UserAuthMethod: React.ForwardRefExoticComponent<Omit<any, "ref"> & React.RefAttributes<HTMLButtonElement>>;
|
|
667
651
|
|
|
668
652
|
type Props$a = {
|
|
669
653
|
'badge-tooltip-text'?: string;
|
|
@@ -681,7 +665,7 @@ declare global {
|
|
|
681
665
|
}
|
|
682
666
|
}
|
|
683
667
|
}
|
|
684
|
-
declare const UserAttribute: React.ForwardRefExoticComponent<Omit<
|
|
668
|
+
declare const UserAttribute: React.ForwardRefExoticComponent<Omit<any, "ref"> & React.RefAttributes<HTMLButtonElement>>;
|
|
685
669
|
|
|
686
670
|
type Props$9 = {
|
|
687
671
|
img?: string;
|
|
@@ -696,7 +680,7 @@ declare global {
|
|
|
696
680
|
}
|
|
697
681
|
}
|
|
698
682
|
}
|
|
699
|
-
declare const Avatar: React.ForwardRefExoticComponent<Omit<
|
|
683
|
+
declare const Avatar: React.ForwardRefExoticComponent<Omit<any, "ref"> & React.RefAttributes<HTMLButtonElement>>;
|
|
700
684
|
|
|
701
685
|
type Props$8 = {
|
|
702
686
|
lang?: 'xml' | 'html' | 'javascript' | 'css' | 'json';
|
|
@@ -868,23 +852,6 @@ declare global {
|
|
|
868
852
|
}
|
|
869
853
|
}
|
|
870
854
|
}
|
|
871
|
-
declare const HybridField: React.ForwardRefExoticComponent<Omit<
|
|
872
|
-
variant?: 'countrySelection' | 'inputBox';
|
|
873
|
-
'default-code'?: string;
|
|
874
|
-
'phone-input-label'?: string;
|
|
875
|
-
'phone-input-placeholder'?: string;
|
|
876
|
-
'restrict-countries'?: string;
|
|
877
|
-
'full-width'?: boolean;
|
|
878
|
-
bordered?: boolean;
|
|
879
|
-
label?: string;
|
|
880
|
-
placeholder?: string;
|
|
881
|
-
size?: ComponentSize;
|
|
882
|
-
'helper-text'?: string;
|
|
883
|
-
'data-errormessage-pattern-mismatch-email'?: string;
|
|
884
|
-
'data-errormessage-value-missing-email'?: string;
|
|
885
|
-
'data-errormessage-value-missing-phone'?: string;
|
|
886
|
-
'label-type'?: LabelType;
|
|
887
|
-
'external-input'?: boolean;
|
|
888
|
-
} & HTMLInputAttrs & DescopeInputExtraProps, "ref"> & React.RefAttributes<HTMLInputElement>>;
|
|
855
|
+
declare const HybridField: React.ForwardRefExoticComponent<Omit<any, "ref"> & React.RefAttributes<HTMLInputElement>>;
|
|
889
856
|
|
|
890
857
|
export { AppsList, Avatar, Badge, Boolean, Button, Checkbox, Code, CodeSnippet, ComboBox, Container, DateField, Divider, Grid, GridCustomColumn, GridItemDetailsColumn, GridSelectionColumn, GridTextColumn, HybridField, Image, Input, Link, List, ListItem, Loader, Logo, MappingsField, Modal, MultiSelect, NOTPImage, NOTPLink, NewPassword, NumberField, Password, Phone, Recaptcha, SAMLGroupMappings, ScopesList, SecurityQuestionsSetup, SecurityQuestionsVerify, Select, SingleSelect, Switch, TOTPImage, TOTPLink, Text, TextField, Textarea, ThirdPartyAppLogo, UploadFile, UserAttribute, UserAuthMethod, ReactComponent as apple, ReactComponent as authenticator, ReactComponent as discord, ReactComponent as edit, ReactComponent as facebook, ReactComponent as fingerprint, ReactComponent as github, ReactComponent as gitlab, ReactComponent as google, ReactComponent as linkedin, ReactComponent as microsoft, ReactComponent as passkey, ReactComponent as password, ReactComponent as plus, ReactComponent as reload, ReactComponent as slack, ReactComponent as sso, ReactComponent as whatsapp };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@descope/flow-components",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.398",
|
|
4
4
|
"description": "",
|
|
5
5
|
"main": "dist/index.cjs.js",
|
|
6
6
|
"module": "dist/index.esm.js",
|
|
@@ -57,7 +57,7 @@
|
|
|
57
57
|
"@testing-library/user-event": "14.5.2",
|
|
58
58
|
"@types/color": "^4.0.0",
|
|
59
59
|
"@types/jest": "^29.0.0",
|
|
60
|
-
"@types/react": "^
|
|
60
|
+
"@types/react": "^19.0.0",
|
|
61
61
|
"@typescript-eslint/eslint-plugin": "^7.0.0",
|
|
62
62
|
"@typescript-eslint/parser": "^7.0.0",
|
|
63
63
|
"autoprefixer": "^10.4.8",
|
|
@@ -87,8 +87,8 @@
|
|
|
87
87
|
"postcss": "^8.4.14",
|
|
88
88
|
"prettier": "2.8.8",
|
|
89
89
|
"pretty-quick": "^4.0.0",
|
|
90
|
-
"react": "^
|
|
91
|
-
"react-dom": "^
|
|
90
|
+
"react": "^19.0.0",
|
|
91
|
+
"react-dom": "^19.0.0",
|
|
92
92
|
"rollup": "^4.0.0",
|
|
93
93
|
"rollup-plugin-auto-external": "^2.0.0",
|
|
94
94
|
"rollup-plugin-copy": "^3.4.0",
|