@descope/flow-components 2.0.297 → 2.0.298
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.cjs.js +6 -6
- package/dist/index.d.ts +3 -3
- package/dist/index.esm.js +5 -5
- package/package.json +1 -1
package/dist/index.cjs.js
CHANGED
|
@@ -473,25 +473,25 @@ SAMLGroupMappings.defaultProps = {
|
|
|
473
473
|
size: 'md'
|
|
474
474
|
};
|
|
475
475
|
|
|
476
|
-
const UserAuthMethod
|
|
476
|
+
const UserAuthMethod = React__default.default.forwardRef(({ methodIcon, buttonIcon, ...props }, ref) => (React__default.default.createElement("descope-user-auth-method", { ...props, ref: ref },
|
|
477
477
|
React__default.default.createElement(Icon, { icon: methodIcon, slot: "method-icon", noColor: true }),
|
|
478
478
|
React__default.default.createElement(Icon, { icon: buttonIcon, slot: "button-icon", noColor: true, width: "1em", height: "1em" }))));
|
|
479
|
-
UserAuthMethod
|
|
479
|
+
UserAuthMethod.defaultProps = {};
|
|
480
480
|
|
|
481
481
|
const UserAttribute = React__default.default.forwardRef((props, ref) => React__default.default.createElement("descope-user-attribute", { ...props, ref: ref }));
|
|
482
482
|
UserAttribute.defaultProps = {
|
|
483
483
|
required: false
|
|
484
484
|
};
|
|
485
485
|
|
|
486
|
-
const
|
|
487
|
-
|
|
486
|
+
const Avatar = React__default.default.forwardRef((props, ref) => React__default.default.createElement("descope-avatar", { ...props, ref: ref }));
|
|
487
|
+
Avatar.defaultProps = {
|
|
488
488
|
size: 'md',
|
|
489
489
|
editable: false
|
|
490
490
|
};
|
|
491
491
|
|
|
492
492
|
const CodeSnippet = React__default.default.forwardRef((props, ref) => React__default.default.createElement("descope-code-snippet", { ...props, ref: ref }));
|
|
493
493
|
|
|
494
|
-
exports.Avatar =
|
|
494
|
+
exports.Avatar = Avatar;
|
|
495
495
|
exports.Badge = Badge;
|
|
496
496
|
exports.Boolean = Boolean;
|
|
497
497
|
exports.Button = Button;
|
|
@@ -531,7 +531,7 @@ exports.TextField = TextField;
|
|
|
531
531
|
exports.Textarea = Textarea;
|
|
532
532
|
exports.UploadFile = UploadFile;
|
|
533
533
|
exports.UserAttribute = UserAttribute;
|
|
534
|
-
exports.UserAuthMethod = UserAuthMethod
|
|
534
|
+
exports.UserAuthMethod = UserAuthMethod;
|
|
535
535
|
exports.apple = apple;
|
|
536
536
|
exports.discord = discord;
|
|
537
537
|
exports.facebook = facebook;
|
package/dist/index.d.ts
CHANGED
|
@@ -719,7 +719,7 @@ declare global {
|
|
|
719
719
|
}
|
|
720
720
|
}
|
|
721
721
|
}
|
|
722
|
-
declare const UserAuthMethod
|
|
722
|
+
declare const UserAuthMethod: React.ForwardRefExoticComponent<Omit<React.ClassAttributes<HTMLDivElement> & React.HTMLAttributes<HTMLDivElement> & {
|
|
723
723
|
label?: string;
|
|
724
724
|
'button-label'?: string;
|
|
725
725
|
fulfilled?: boolean;
|
|
@@ -759,7 +759,7 @@ declare global {
|
|
|
759
759
|
}
|
|
760
760
|
}
|
|
761
761
|
}
|
|
762
|
-
declare const
|
|
762
|
+
declare const Avatar: React.ForwardRefExoticComponent<Omit<React.ClassAttributes<HTMLDivElement> & React.HTMLAttributes<HTMLDivElement> & Props$1, "ref"> & React.RefAttributes<HTMLButtonElement>>;
|
|
763
763
|
|
|
764
764
|
type Props = {
|
|
765
765
|
lang?: 'xml' | 'html' | 'javascript' | 'css' | 'json';
|
|
@@ -774,4 +774,4 @@ declare global {
|
|
|
774
774
|
}
|
|
775
775
|
declare const CodeSnippet: React.ForwardRefExoticComponent<Props & React.HTMLAttributes<HTMLElement> & React.RefAttributes<HTMLElement>>;
|
|
776
776
|
|
|
777
|
-
export {
|
|
777
|
+
export { Avatar, Badge, Boolean, Button, Checkbox, Code, CodeSnippet, ComboBox, Container, Divider, Grid, GridCustomColumn, GridSelectionColumn, GridTextColumn, Image, Input, Link, Loader, Logo, MappingsField, Modal, MultiSelect, NOTPImage, NOTPLink, NewPassword, NumberField, Password, Phone, Recaptcha, SAMLGroupMappings, Select, SingleSelect, Switch, TOTPImage, TOTPLink, Text, TextField, Textarea, UploadFile, UserAttribute, UserAuthMethod, _default$f as apple, _default$6 as discord, _default$e as facebook, _default$c as fingerprint, _default$a as github, _default$9 as gitlab, _default$8 as google, _default$5 as linkedin, _default$7 as microsoft, _default$b as passkey, _default as password, _default$2 as plus, _default$1 as reload, _default$d as slack, _default$4 as sso, _default$3 as whatsapp };
|
package/dist/index.esm.js
CHANGED
|
@@ -467,22 +467,22 @@ SAMLGroupMappings.defaultProps = {
|
|
|
467
467
|
size: 'md'
|
|
468
468
|
};
|
|
469
469
|
|
|
470
|
-
const UserAuthMethod
|
|
470
|
+
const UserAuthMethod = React.forwardRef(({ methodIcon, buttonIcon, ...props }, ref) => (React.createElement("descope-user-auth-method", { ...props, ref: ref },
|
|
471
471
|
React.createElement(Icon, { icon: methodIcon, slot: "method-icon", noColor: true }),
|
|
472
472
|
React.createElement(Icon, { icon: buttonIcon, slot: "button-icon", noColor: true, width: "1em", height: "1em" }))));
|
|
473
|
-
UserAuthMethod
|
|
473
|
+
UserAuthMethod.defaultProps = {};
|
|
474
474
|
|
|
475
475
|
const UserAttribute = React.forwardRef((props, ref) => React.createElement("descope-user-attribute", { ...props, ref: ref }));
|
|
476
476
|
UserAttribute.defaultProps = {
|
|
477
477
|
required: false
|
|
478
478
|
};
|
|
479
479
|
|
|
480
|
-
const
|
|
481
|
-
|
|
480
|
+
const Avatar = React.forwardRef((props, ref) => React.createElement("descope-avatar", { ...props, ref: ref }));
|
|
481
|
+
Avatar.defaultProps = {
|
|
482
482
|
size: 'md',
|
|
483
483
|
editable: false
|
|
484
484
|
};
|
|
485
485
|
|
|
486
486
|
const CodeSnippet = React.forwardRef((props, ref) => React.createElement("descope-code-snippet", { ...props, ref: ref }));
|
|
487
487
|
|
|
488
|
-
export {
|
|
488
|
+
export { Avatar, Badge, Boolean, Button, Checkbox, Code, CodeSnippet, ComboBox, Container, Divider, Grid, GridCustomColumn, GridSelectionColumn, GridTextColumn, Image, Input, Link, Loader, Logo, MappingsField, Modal, MultiSelect, NOTPImage, NOTPLink, NewPassword, NumberField, Password, Phone, Recaptcha, SAMLGroupMappings, Select, SingleSelect, Switch, TOTPImage, TOTPLink, Text, TextField, Textarea, UploadFile, UserAttribute, UserAuthMethod, apple, discord, facebook, fingerprint, github, gitlab, google, linkedin, microsoft, passkey, password, plus, reload, slack, sso, whatsapp };
|