@descope/flow-components 2.0.412 → 2.0.413
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/dts/Alert/Alert.d.ts +20 -0
- package/dist/dts/Alert/index.d.ts +1 -0
- package/dist/dts/AppsList/AppsList.d.ts +17 -0
- package/dist/dts/AppsList/index.d.ts +1 -0
- package/dist/dts/Avatar/Avatar.d.ts +16 -0
- package/dist/dts/Avatar/index.d.ts +1 -0
- package/dist/dts/Badge/Badge.d.ts +16 -0
- package/dist/dts/Badge/index.d.ts +1 -0
- package/dist/dts/Boolean/Boolean.d.ts +9 -0
- package/dist/dts/Boolean/index.d.ts +1 -0
- package/dist/dts/Button/Button.d.ts +23 -0
- package/dist/dts/Button/index.d.ts +1 -0
- package/dist/dts/ButtonMultiSelectionGroup/ButtonMultiSelectionGroup.d.ts +26 -0
- package/dist/dts/ButtonMultiSelectionGroup/index.d.ts +1 -0
- package/dist/dts/ButtonSelectionGroup/ButtonSelectionGroup.d.ts +24 -0
- package/dist/dts/ButtonSelectionGroup/index.d.ts +1 -0
- package/dist/dts/Checkbox/Checkbox.d.ts +11 -0
- package/dist/dts/Checkbox/index.d.ts +1 -0
- package/dist/dts/Code/Code.d.ts +14 -0
- package/dist/dts/Code/index.d.ts +1 -0
- package/dist/dts/CodeSnippet/CodeSnippet.d.ts +14 -0
- package/dist/dts/CodeSnippet/index.d.ts +1 -0
- package/dist/dts/ComboBox/ComboBox.d.ts +22 -0
- package/dist/dts/ComboBox/index.d.ts +1 -0
- package/dist/dts/Container/Container.d.ts +35 -0
- package/dist/dts/Container/index.d.ts +1 -0
- package/dist/dts/CssVarImage/CssVarImage.d.ts +9 -0
- package/dist/dts/CssVarImage/index.d.ts +1 -0
- package/dist/dts/DateField/DateField.d.ts +11 -0
- package/dist/dts/DateField/index.d.ts +1 -0
- package/dist/dts/Divider/Divider.d.ts +18 -0
- package/dist/dts/Divider/index.d.ts +1 -0
- package/dist/dts/EmailField/EmailField.d.ts +11 -0
- package/dist/dts/EmailField/index.d.ts +1 -0
- package/dist/dts/Grid/Columns/GridCustomColumn.d.ts +12 -0
- package/dist/dts/Grid/Columns/GridItemDetailsColumn.d.ts +10 -0
- package/dist/dts/Grid/Columns/GridSelectionColumn.d.ts +10 -0
- package/dist/dts/Grid/Columns/GridTextColumn.d.ts +10 -0
- package/dist/dts/Grid/Columns/index.d.ts +4 -0
- package/dist/dts/Grid/Columns/types.d.ts +8 -0
- package/dist/dts/Grid/Grid.d.ts +30 -0
- package/dist/dts/Grid/index.d.ts +2 -0
- package/dist/dts/HybridField/HybridField.d.ts +46 -0
- package/dist/dts/HybridField/index.d.ts +1 -0
- package/dist/dts/Icon/Icon.d.ts +15 -0
- package/dist/dts/Icon/index.d.ts +1 -0
- package/dist/dts/Image/Image.d.ts +16 -0
- package/dist/dts/Image/index.d.ts +1 -0
- package/dist/dts/Input/Input.d.ts +4 -0
- package/dist/dts/Input/index.d.ts +1 -0
- package/dist/dts/Link/Link.d.ts +20 -0
- package/dist/dts/Link/index.d.ts +1 -0
- package/dist/dts/List/List.d.ts +16 -0
- package/dist/dts/List/ListItem.d.ts +15 -0
- package/dist/dts/List/index.d.ts +2 -0
- package/dist/dts/Loader/Loader.d.ts +18 -0
- package/dist/dts/Loader/index.d.ts +1 -0
- package/dist/dts/Logo/Logo.d.ts +15 -0
- package/dist/dts/Logo/index.d.ts +1 -0
- package/dist/dts/MappingsField/MappingsField.d.ts +27 -0
- package/dist/dts/MappingsField/index.d.ts +1 -0
- package/dist/dts/Modal/Modal.d.ts +13 -0
- package/dist/dts/Modal/index.d.ts +1 -0
- package/dist/dts/MultiSelect/MultiSelect.d.ts +18 -0
- package/dist/dts/MultiSelect/index.d.ts +1 -0
- package/dist/dts/MultiSelectComboBox/MultiSelectComboBox.d.ts +27 -0
- package/dist/dts/MultiSelectComboBox/index.d.ts +1 -0
- package/dist/dts/NOTPImage/NOTPImage.d.ts +15 -0
- package/dist/dts/NOTPImage/index.d.ts +1 -0
- package/dist/dts/NOTPLink/NOTPLink.d.ts +5 -0
- package/dist/dts/NOTPLink/index.d.ts +1 -0
- package/dist/dts/NewPassword/NewPassword.d.ts +34 -0
- package/dist/dts/NewPassword/index.d.ts +1 -0
- package/dist/dts/NumberField/NumberField.d.ts +11 -0
- package/dist/dts/NumberField/index.d.ts +1 -0
- package/dist/dts/Password/Password.d.ts +11 -0
- package/dist/dts/Password/index.d.ts +1 -0
- package/dist/dts/Phone/Phone.d.ts +11 -0
- package/dist/dts/Phone/index.d.ts +1 -0
- package/dist/dts/PhoneCountrySelection/PhoneCountrySelection.d.ts +16 -0
- package/dist/dts/PhoneCountrySelection/index.d.ts +1 -0
- package/dist/dts/PhoneInputBox/PhoneInputBox.d.ts +16 -0
- package/dist/dts/PhoneInputBox/index.d.ts +1 -0
- package/dist/dts/RadioGroup/RadioGroup.d.ts +22 -0
- package/dist/dts/RadioGroup/index.d.ts +1 -0
- package/dist/dts/Recaptcha/Recaptcha.d.ts +27 -0
- package/dist/dts/Recaptcha/index.d.ts +1 -0
- package/dist/dts/RecaptchaV2/RecaptchaV2.d.ts +15 -0
- package/dist/dts/RecaptchaV2/index.d.ts +1 -0
- package/dist/dts/SAMLGroupMappings/SAMLGroupMappings.d.ts +26 -0
- package/dist/dts/SAMLGroupMappings/index.d.ts +1 -0
- package/dist/dts/ScopesList/ScopesList.d.ts +22 -0
- package/dist/dts/ScopesList/index.d.ts +1 -0
- package/dist/dts/SecurityQuestionsSetup/SecurityQuestionsSetup.d.ts +27 -0
- package/dist/dts/SecurityQuestionsSetup/index.d.ts +1 -0
- package/dist/dts/SecurityQuestionsVerify/SecurityQuestionsVerify.d.ts +26 -0
- package/dist/dts/SecurityQuestionsVerify/index.d.ts +1 -0
- package/dist/dts/Select/Select.d.ts +17 -0
- package/dist/dts/Select/index.d.ts +1 -0
- package/dist/dts/SingleSelect/SingleSelect.d.ts +17 -0
- package/dist/dts/SingleSelect/index.d.ts +1 -0
- package/dist/dts/Switch/Switch.d.ts +11 -0
- package/dist/dts/Switch/index.d.ts +1 -0
- package/dist/dts/TOTPImage/TOTPImage.d.ts +15 -0
- package/dist/dts/TOTPImage/index.d.ts +1 -0
- package/dist/dts/TOTPLink/TOTPLink.d.ts +5 -0
- package/dist/dts/TOTPLink/index.d.ts +1 -0
- package/dist/dts/Text/Text.d.ts +25 -0
- package/dist/dts/Text/index.d.ts +1 -0
- package/dist/dts/TextField/TextField.d.ts +11 -0
- package/dist/dts/TextField/index.d.ts +1 -0
- package/dist/dts/Textarea/Textarea.d.ts +11 -0
- package/dist/dts/Textarea/index.d.ts +1 -0
- package/dist/dts/ThirdPartyAppLogo/ThirdPartyAppLogo.d.ts +14 -0
- package/dist/dts/ThirdPartyAppLogo/index.d.ts +1 -0
- package/dist/dts/UploadFile/UploadFile.d.ts +27 -0
- package/dist/dts/UploadFile/index.d.ts +1 -0
- package/dist/dts/UserAttribute/UserAttribute.d.ts +19 -0
- package/dist/dts/UserAttribute/index.d.ts +1 -0
- package/dist/dts/UserAuthMethod/UserAuthMethod.d.ts +20 -0
- package/dist/dts/UserAuthMethod/index.d.ts +1 -0
- package/dist/dts/icons/index.d.ts +19 -0
- package/dist/dts/index.d.ts +143 -0
- package/dist/dts/inputHelpers.d.ts +1 -0
- package/dist/dts/types.d.ts +37 -0
- package/dist/index.cjs.js +165 -138
- package/dist/index.d.ts +193 -65
- package/dist/index.esm.js +106 -139
- package/dist/types/src/Alert/Alert.d.ts +20 -0
- package/dist/types/src/Alert/index.d.ts +1 -0
- package/dist/types/src/AppsList/AppsList.d.ts +17 -0
- package/dist/types/src/AppsList/index.d.ts +1 -0
- package/dist/types/src/Avatar/Avatar.d.ts +16 -0
- package/dist/types/src/Avatar/index.d.ts +1 -0
- package/dist/types/src/Badge/Badge.d.ts +16 -0
- package/dist/types/src/Badge/index.d.ts +1 -0
- package/dist/types/src/Boolean/Boolean.d.ts +9 -0
- package/dist/types/src/Boolean/index.d.ts +1 -0
- package/dist/types/src/Button/Button.d.ts +23 -0
- package/dist/types/src/Button/index.d.ts +1 -0
- package/dist/types/src/ButtonMultiSelectionGroup/ButtonMultiSelectionGroup.d.ts +26 -0
- package/dist/types/src/ButtonMultiSelectionGroup/index.d.ts +1 -0
- package/dist/types/src/ButtonSelectionGroup/ButtonSelectionGroup.d.ts +24 -0
- package/dist/types/src/ButtonSelectionGroup/index.d.ts +1 -0
- package/dist/types/src/Checkbox/Checkbox.d.ts +11 -0
- package/dist/types/src/Checkbox/index.d.ts +1 -0
- package/dist/types/src/Code/Code.d.ts +14 -0
- package/dist/types/src/Code/index.d.ts +1 -0
- package/dist/types/src/CodeSnippet/CodeSnippet.d.ts +14 -0
- package/dist/types/src/CodeSnippet/index.d.ts +1 -0
- package/dist/types/src/ComboBox/ComboBox.d.ts +22 -0
- package/dist/types/src/ComboBox/index.d.ts +1 -0
- package/dist/types/src/Container/Container.d.ts +35 -0
- package/dist/types/src/Container/index.d.ts +1 -0
- package/dist/types/src/CssVarImage/CssVarImage.d.ts +9 -0
- package/dist/types/src/CssVarImage/index.d.ts +1 -0
- package/dist/types/src/DateField/DateField.d.ts +11 -0
- package/dist/types/src/DateField/index.d.ts +1 -0
- package/dist/types/src/Divider/Divider.d.ts +18 -0
- package/dist/types/src/Divider/index.d.ts +1 -0
- package/dist/types/src/EmailField/EmailField.d.ts +11 -0
- package/dist/types/src/EmailField/index.d.ts +1 -0
- package/dist/types/src/Grid/Columns/GridCustomColumn.d.ts +12 -0
- package/dist/types/src/Grid/Columns/GridItemDetailsColumn.d.ts +10 -0
- package/dist/types/src/Grid/Columns/GridSelectionColumn.d.ts +10 -0
- package/dist/types/src/Grid/Columns/GridTextColumn.d.ts +10 -0
- package/dist/types/src/Grid/Columns/index.d.ts +4 -0
- package/dist/types/src/Grid/Columns/types.d.ts +8 -0
- package/dist/types/src/Grid/Grid.d.ts +30 -0
- package/dist/types/src/Grid/index.d.ts +2 -0
- package/dist/types/src/HybridField/HybridField.d.ts +46 -0
- package/dist/types/src/HybridField/index.d.ts +1 -0
- package/dist/types/src/Icon/Icon.d.ts +15 -0
- package/dist/types/src/Icon/index.d.ts +1 -0
- package/dist/types/src/Image/Image.d.ts +16 -0
- package/dist/types/src/Image/index.d.ts +1 -0
- package/dist/types/src/Input/Input.d.ts +4 -0
- package/dist/types/src/Input/index.d.ts +1 -0
- package/dist/types/src/Link/Link.d.ts +20 -0
- package/dist/types/src/Link/index.d.ts +1 -0
- package/dist/types/src/List/List.d.ts +16 -0
- package/dist/types/src/List/ListItem.d.ts +15 -0
- package/dist/types/src/List/index.d.ts +2 -0
- package/dist/types/src/Loader/Loader.d.ts +18 -0
- package/dist/types/src/Loader/index.d.ts +1 -0
- package/dist/types/src/Logo/Logo.d.ts +15 -0
- package/dist/types/src/Logo/index.d.ts +1 -0
- package/dist/types/src/MappingsField/MappingsField.d.ts +27 -0
- package/dist/types/src/MappingsField/index.d.ts +1 -0
- package/dist/types/src/Modal/Modal.d.ts +13 -0
- package/dist/types/src/Modal/index.d.ts +1 -0
- package/dist/types/src/MultiSelect/MultiSelect.d.ts +18 -0
- package/dist/types/src/MultiSelect/index.d.ts +1 -0
- package/dist/types/src/MultiSelectComboBox/MultiSelectComboBox.d.ts +27 -0
- package/dist/types/src/MultiSelectComboBox/index.d.ts +1 -0
- package/dist/types/src/NOTPImage/NOTPImage.d.ts +15 -0
- package/dist/types/src/NOTPImage/index.d.ts +1 -0
- package/dist/types/src/NOTPLink/NOTPLink.d.ts +5 -0
- package/dist/types/src/NOTPLink/index.d.ts +1 -0
- package/dist/types/src/NewPassword/NewPassword.d.ts +34 -0
- package/dist/types/src/NewPassword/index.d.ts +1 -0
- package/dist/types/src/NumberField/NumberField.d.ts +11 -0
- package/dist/types/src/NumberField/index.d.ts +1 -0
- package/dist/types/src/Password/Password.d.ts +11 -0
- package/dist/types/src/Password/index.d.ts +1 -0
- package/dist/types/src/Phone/Phone.d.ts +11 -0
- package/dist/types/src/Phone/index.d.ts +1 -0
- package/dist/types/src/PhoneCountrySelection/PhoneCountrySelection.d.ts +16 -0
- package/dist/types/src/PhoneCountrySelection/index.d.ts +1 -0
- package/dist/types/src/PhoneInputBox/PhoneInputBox.d.ts +16 -0
- package/dist/types/src/PhoneInputBox/index.d.ts +1 -0
- package/dist/types/src/RadioGroup/RadioGroup.d.ts +22 -0
- package/dist/types/src/RadioGroup/index.d.ts +1 -0
- package/dist/types/src/Recaptcha/Recaptcha.d.ts +27 -0
- package/dist/types/src/Recaptcha/index.d.ts +1 -0
- package/dist/types/src/RecaptchaV2/RecaptchaV2.d.ts +15 -0
- package/dist/types/src/RecaptchaV2/index.d.ts +1 -0
- package/dist/types/src/SAMLGroupMappings/SAMLGroupMappings.d.ts +26 -0
- package/dist/types/src/SAMLGroupMappings/index.d.ts +1 -0
- package/dist/types/src/ScopesList/ScopesList.d.ts +22 -0
- package/dist/types/src/ScopesList/index.d.ts +1 -0
- package/dist/types/src/SecurityQuestionsSetup/SecurityQuestionsSetup.d.ts +27 -0
- package/dist/types/src/SecurityQuestionsSetup/index.d.ts +1 -0
- package/dist/types/src/SecurityQuestionsVerify/SecurityQuestionsVerify.d.ts +26 -0
- package/dist/types/src/SecurityQuestionsVerify/index.d.ts +1 -0
- package/dist/types/src/Select/Select.d.ts +17 -0
- package/dist/types/src/Select/index.d.ts +1 -0
- package/dist/types/src/SingleSelect/SingleSelect.d.ts +17 -0
- package/dist/types/src/SingleSelect/index.d.ts +1 -0
- package/dist/types/src/Switch/Switch.d.ts +11 -0
- package/dist/types/src/Switch/index.d.ts +1 -0
- package/dist/types/src/TOTPImage/TOTPImage.d.ts +15 -0
- package/dist/types/src/TOTPImage/index.d.ts +1 -0
- package/dist/types/src/TOTPLink/TOTPLink.d.ts +5 -0
- package/dist/types/src/TOTPLink/index.d.ts +1 -0
- package/dist/types/src/Text/Text.d.ts +25 -0
- package/dist/types/src/Text/index.d.ts +1 -0
- package/dist/types/src/TextField/TextField.d.ts +11 -0
- package/dist/types/src/TextField/index.d.ts +1 -0
- package/dist/types/src/Textarea/Textarea.d.ts +11 -0
- package/dist/types/src/Textarea/index.d.ts +1 -0
- package/dist/types/src/ThirdPartyAppLogo/ThirdPartyAppLogo.d.ts +14 -0
- package/dist/types/src/ThirdPartyAppLogo/index.d.ts +1 -0
- package/dist/types/src/UploadFile/UploadFile.d.ts +27 -0
- package/dist/types/src/UploadFile/index.d.ts +1 -0
- package/dist/types/src/UserAttribute/UserAttribute.d.ts +19 -0
- package/dist/types/src/UserAttribute/index.d.ts +1 -0
- package/dist/types/src/UserAuthMethod/UserAuthMethod.d.ts +20 -0
- package/dist/types/src/UserAuthMethod/index.d.ts +1 -0
- package/dist/types/src/icons/index.d.ts +19 -0
- package/dist/types/src/index.d.ts +143 -0
- package/dist/types/src/inputHelpers.d.ts +1 -0
- package/dist/types/src/types.d.ts +37 -0
- package/dist/types/test/boolean.test.d.ts +1 -0
- package/dist/types/test/buttons.test.d.ts +1 -0
- package/dist/types/test/checkbox.test.d.ts +1 -0
- package/dist/types/test/code.test.d.ts +1 -0
- package/dist/types/test/container.test.d.ts +1 -0
- package/dist/types/test/divider.test.d.ts +1 -0
- package/dist/types/test/image.test.d.ts +1 -0
- package/dist/types/test/input.test.d.ts +1 -0
- package/dist/types/test/inputHelpers.test.d.ts +1 -0
- package/dist/types/test/link.test.d.ts +1 -0
- package/dist/types/test/loader.test.d.ts +1 -0
- package/dist/types/test/logo.test.d.ts +1 -0
- package/dist/types/test/newPassword.test.d.ts +1 -0
- package/dist/types/test/notpImage.test.d.ts +1 -0
- package/dist/types/test/notpLink.test.d.ts +1 -0
- package/dist/types/test/numeric-input.test.d.ts +1 -0
- package/dist/types/test/password.test.d.ts +1 -0
- package/dist/types/test/phone.test.d.ts +1 -0
- package/dist/types/test/switch.test.d.ts +1 -0
- package/dist/types/test/text.test.d.ts +1 -0
- package/dist/types/test/textarea.test.d.ts +1 -0
- package/dist/types/test/totpImage.test.d.ts +1 -0
- package/dist/types/test/totpLink.test.d.ts +1 -0
- package/package.json +7 -6
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { PropsToAttrs } from '../types';
|
|
3
|
+
type Props = {
|
|
4
|
+
variant?: 'row' | 'tile';
|
|
5
|
+
children?: React.ReactNode;
|
|
6
|
+
};
|
|
7
|
+
declare global {
|
|
8
|
+
namespace React.JSX {
|
|
9
|
+
interface IntrinsicElements {
|
|
10
|
+
'descope-list-item': React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> & PropsToAttrs<Props>;
|
|
11
|
+
}
|
|
12
|
+
}
|
|
13
|
+
}
|
|
14
|
+
declare const ListItem: React.ForwardRefExoticComponent<Props & React.RefAttributes<HTMLDivElement>>;
|
|
15
|
+
export default ListItem;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { Mode, PropsToAttrs } from '../types';
|
|
3
|
+
type Props = {
|
|
4
|
+
variant?: 'linear' | 'radial';
|
|
5
|
+
size?: 'xs' | 'sm' | 'md' | 'lg';
|
|
6
|
+
color?: Mode;
|
|
7
|
+
};
|
|
8
|
+
type LoaderType = React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> & PropsToAttrs<Props>;
|
|
9
|
+
declare global {
|
|
10
|
+
namespace React.JSX {
|
|
11
|
+
interface IntrinsicElements {
|
|
12
|
+
'descope-loader-linear': LoaderType;
|
|
13
|
+
'descope-loader-radial': LoaderType;
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
declare const Loader: React.ForwardRefExoticComponent<Props & React.RefAttributes<HTMLDivElement>>;
|
|
18
|
+
export default Loader;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as Loader } from './Loader';
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { PropsToAttrs } from '../types';
|
|
3
|
+
type Props = {
|
|
4
|
+
width?: string;
|
|
5
|
+
height?: string;
|
|
6
|
+
};
|
|
7
|
+
declare global {
|
|
8
|
+
namespace React.JSX {
|
|
9
|
+
interface IntrinsicElements {
|
|
10
|
+
'descope-logo': React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> & PropsToAttrs<Props>;
|
|
11
|
+
}
|
|
12
|
+
}
|
|
13
|
+
}
|
|
14
|
+
declare const Logo: React.ForwardRefExoticComponent<Props & React.RefAttributes<HTMLDivElement>>;
|
|
15
|
+
export default Logo;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as Logo } from './Logo';
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { DescopeInputProps } from '../types';
|
|
3
|
+
type Item = {
|
|
4
|
+
label: string;
|
|
5
|
+
value: string;
|
|
6
|
+
};
|
|
7
|
+
type Props = Omit<DescopeInputProps, 'bordered' | 'label' | 'placeholder' | 'helper-text' | 'data-errormessage-pattern-mismatch' | 'data-errormessage-value-missing'> & {
|
|
8
|
+
'label-value'?: string;
|
|
9
|
+
'label-attr'?: string;
|
|
10
|
+
'button-label'?: string;
|
|
11
|
+
separator?: string;
|
|
12
|
+
size?: 'xs' | 'sm' | 'md' | 'lg';
|
|
13
|
+
'default-values'?: Record<string, string>[];
|
|
14
|
+
options?: Item[];
|
|
15
|
+
};
|
|
16
|
+
declare global {
|
|
17
|
+
namespace React.JSX {
|
|
18
|
+
interface IntrinsicElements {
|
|
19
|
+
'descope-mappings-field': Omit<Props, 'default-values' | 'options'> & {
|
|
20
|
+
'default-values'?: string;
|
|
21
|
+
options?: string;
|
|
22
|
+
};
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
declare const MappingsField: React.ForwardRefExoticComponent<Omit<Props, "ref"> & React.RefAttributes<HTMLInputElement>>;
|
|
27
|
+
export default MappingsField;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as MappingsField } from './MappingsField';
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
declare global {
|
|
3
|
+
namespace React.JSX {
|
|
4
|
+
interface IntrinsicElements {
|
|
5
|
+
'descope-modal': React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement>;
|
|
6
|
+
}
|
|
7
|
+
}
|
|
8
|
+
}
|
|
9
|
+
type Props = {
|
|
10
|
+
opened?: boolean;
|
|
11
|
+
};
|
|
12
|
+
declare const Modal: React.ForwardRefExoticComponent<Props & React.RefAttributes<HTMLDivElement>>;
|
|
13
|
+
export default Modal;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as Modal } from './Modal';
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { ButtonMultiSelectionGroup } from '../ButtonMultiSelectionGroup';
|
|
3
|
+
type Item = {
|
|
4
|
+
label: string;
|
|
5
|
+
value: string;
|
|
6
|
+
};
|
|
7
|
+
type MultiSelectType = {
|
|
8
|
+
variant?: 'buttonSelectionGroup' | 'combobox' | 'dynamicCombobox';
|
|
9
|
+
data?: Item[];
|
|
10
|
+
'min-items-selection'?: number;
|
|
11
|
+
'max-items-selection'?: number;
|
|
12
|
+
'label-type'?: string;
|
|
13
|
+
};
|
|
14
|
+
type Props = Omit<React.ComponentProps<typeof ButtonMultiSelectionGroup>, 'default-values'> & MultiSelectType & {
|
|
15
|
+
'default-values'?: string[];
|
|
16
|
+
};
|
|
17
|
+
declare const MultiSelect: React.ForwardRefExoticComponent<Omit<Props, "ref"> & React.RefAttributes<HTMLInputElement>>;
|
|
18
|
+
export default MultiSelect;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as MultiSelect } from './MultiSelect';
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { DescopeInputProps, MultiSelectProps } from '../types';
|
|
3
|
+
type Props = DescopeInputProps & {
|
|
4
|
+
size?: 'xs' | 'sm' | 'md' | 'lg';
|
|
5
|
+
'min-items-selection'?: number;
|
|
6
|
+
'max-items-selection'?: number;
|
|
7
|
+
data?: string;
|
|
8
|
+
};
|
|
9
|
+
declare global {
|
|
10
|
+
namespace React.JSX {
|
|
11
|
+
interface IntrinsicElements {
|
|
12
|
+
'descope-multi-select-combo-box': Props & {
|
|
13
|
+
'default-values'?: string;
|
|
14
|
+
'allow-custom-value'?: string;
|
|
15
|
+
'item-label-path'?: string;
|
|
16
|
+
'item-value-path'?: string;
|
|
17
|
+
};
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
}
|
|
21
|
+
declare const MultiSelectComboBox: React.ForwardRefExoticComponent<Omit<import("../types").HTMLInputAttrs & import("../types").DescopeInputExtraProps & {
|
|
22
|
+
size?: "xs" | "sm" | "md" | "lg";
|
|
23
|
+
'min-items-selection'?: number;
|
|
24
|
+
'max-items-selection'?: number;
|
|
25
|
+
data?: string;
|
|
26
|
+
} & MultiSelectProps, "ref"> & React.RefAttributes<HTMLInputElement>>;
|
|
27
|
+
export default MultiSelectComboBox;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as MultiSelectComboBox } from './MultiSelectComboBox';
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { PropsToAttrs } from '../types';
|
|
3
|
+
type Props = {
|
|
4
|
+
width?: string;
|
|
5
|
+
height?: string;
|
|
6
|
+
};
|
|
7
|
+
declare global {
|
|
8
|
+
namespace React.JSX {
|
|
9
|
+
interface IntrinsicElements {
|
|
10
|
+
'descope-notp-image': React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> & PropsToAttrs<Props>;
|
|
11
|
+
}
|
|
12
|
+
}
|
|
13
|
+
}
|
|
14
|
+
declare const NOTPImage: React.ForwardRefExoticComponent<Props & React.RefAttributes<HTMLDivElement>>;
|
|
15
|
+
export default NOTPImage;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as NOTPImage } from './NOTPImage';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as NOTPLink } from './NOTPLink';
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { DescopeInputProps } from '../types';
|
|
3
|
+
export type Props = {
|
|
4
|
+
'password-label'?: string;
|
|
5
|
+
'password-placeholder'?: string;
|
|
6
|
+
'confirm-label'?: string;
|
|
7
|
+
'confirm-placeholder'?: string;
|
|
8
|
+
'has-confirm'?: boolean;
|
|
9
|
+
'policy-label'?: string;
|
|
10
|
+
'has-validation'?: boolean;
|
|
11
|
+
'active-policies'?: string[];
|
|
12
|
+
'data-password-policy-pattern-minlength'?: string;
|
|
13
|
+
'data-password-policy-pattern-lowercase'?: string;
|
|
14
|
+
'data-password-policy-pattern-uppercase'?: string;
|
|
15
|
+
'data-password-policy-pattern-number'?: string;
|
|
16
|
+
'data-password-policy-pattern-nonalphanumeric'?: string;
|
|
17
|
+
'data-password-policy-message-minlength'?: string;
|
|
18
|
+
'data-password-policy-message-lowercase'?: string;
|
|
19
|
+
'data-password-policy-message-uppercase'?: string;
|
|
20
|
+
'data-password-policy-message-number'?: string;
|
|
21
|
+
'data-password-policy-message-nonalphanumeric'?: string;
|
|
22
|
+
'data-password-policy-value-minlength'?: string;
|
|
23
|
+
'st-policy-preview-background-color'?: string;
|
|
24
|
+
'st-policy-preview-padding'?: string;
|
|
25
|
+
};
|
|
26
|
+
declare global {
|
|
27
|
+
namespace React.JSX {
|
|
28
|
+
interface IntrinsicElements {
|
|
29
|
+
'descope-new-password': DescopeInputProps & Props;
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
declare const NewPassword: React.ForwardRefExoticComponent<Omit<import("../types").HTMLInputAttrs & import("../types").DescopeInputExtraProps & Props, "ref"> & React.RefAttributes<HTMLInputElement>>;
|
|
34
|
+
export default NewPassword;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as NewPassword } from './NewPassword';
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { DescopeInputProps } from '../types';
|
|
3
|
+
declare global {
|
|
4
|
+
namespace React.JSX {
|
|
5
|
+
interface IntrinsicElements {
|
|
6
|
+
'descope-number-field': DescopeInputProps;
|
|
7
|
+
}
|
|
8
|
+
}
|
|
9
|
+
}
|
|
10
|
+
declare const NumberField: React.ForwardRefExoticComponent<Omit<DescopeInputProps, "ref"> & React.RefAttributes<HTMLInputElement>>;
|
|
11
|
+
export default NumberField;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as NumberField } from './NumberField';
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { DescopeInputProps } from '../types';
|
|
3
|
+
declare global {
|
|
4
|
+
namespace React.JSX {
|
|
5
|
+
interface IntrinsicElements {
|
|
6
|
+
'descope-password': DescopeInputProps;
|
|
7
|
+
}
|
|
8
|
+
}
|
|
9
|
+
}
|
|
10
|
+
declare const Password: React.ForwardRefExoticComponent<Omit<DescopeInputProps, "ref"> & React.RefAttributes<HTMLInputElement>>;
|
|
11
|
+
export default Password;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as Password } from './Password';
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { DescopeInputProps } from '../types';
|
|
3
|
+
type Props = {
|
|
4
|
+
variant: 'countrySelection' | 'inputBox';
|
|
5
|
+
'default-code'?: string;
|
|
6
|
+
'phone-input-placeholder'?: string;
|
|
7
|
+
'country-input-placeholder'?: string;
|
|
8
|
+
'restrict-countries'?: string;
|
|
9
|
+
} & DescopeInputProps;
|
|
10
|
+
declare const Phone: React.ForwardRefExoticComponent<Omit<Props, "ref"> & React.RefAttributes<HTMLInputElement>>;
|
|
11
|
+
export default Phone;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as Phone } from './Phone';
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { DescopeInputProps } from '../types';
|
|
3
|
+
type Props = {
|
|
4
|
+
'default-code'?: string;
|
|
5
|
+
'phone-input-placeholder'?: string;
|
|
6
|
+
'country-input-placeholder'?: string;
|
|
7
|
+
};
|
|
8
|
+
declare global {
|
|
9
|
+
namespace React.JSX {
|
|
10
|
+
interface IntrinsicElements {
|
|
11
|
+
'descope-phone-field': DescopeInputProps & Props;
|
|
12
|
+
}
|
|
13
|
+
}
|
|
14
|
+
}
|
|
15
|
+
declare const PhoneCountrySelection: React.ForwardRefExoticComponent<Omit<import("../types").HTMLInputAttrs & import("../types").DescopeInputExtraProps & Props, "ref"> & React.RefAttributes<HTMLInputElement>>;
|
|
16
|
+
export default PhoneCountrySelection;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as PhoneCountrySelection } from './PhoneCountrySelection';
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { DescopeInputProps } from '../types';
|
|
3
|
+
type Props = {
|
|
4
|
+
'default-code'?: string;
|
|
5
|
+
'phone-input-placeholder'?: string;
|
|
6
|
+
'country-input-placeholder'?: string;
|
|
7
|
+
};
|
|
8
|
+
declare global {
|
|
9
|
+
namespace React.JSX {
|
|
10
|
+
interface IntrinsicElements {
|
|
11
|
+
'descope-phone-input-box-field': DescopeInputProps & Props;
|
|
12
|
+
}
|
|
13
|
+
}
|
|
14
|
+
}
|
|
15
|
+
declare const PhoneInputBox: React.ForwardRefExoticComponent<Omit<import("../types").HTMLInputAttrs & import("../types").DescopeInputExtraProps & Props, "ref"> & React.RefAttributes<HTMLInputElement>>;
|
|
16
|
+
export default PhoneInputBox;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as PhoneInputBox } from './PhoneInputBox';
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { DescopeInputProps, MultiSelectProps } from '../types';
|
|
3
|
+
type Props = DescopeInputProps & {
|
|
4
|
+
layout?: 'horizontal' | 'vertical';
|
|
5
|
+
};
|
|
6
|
+
declare global {
|
|
7
|
+
namespace React.JSX {
|
|
8
|
+
interface IntrinsicElements {
|
|
9
|
+
'descope-radio-group': Props & {
|
|
10
|
+
'default-value'?: string;
|
|
11
|
+
};
|
|
12
|
+
'descope-radio-button': React.JSX.IntrinsicElements['span'] & {
|
|
13
|
+
value: string;
|
|
14
|
+
children: string;
|
|
15
|
+
};
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
declare const RadioGroup: React.ForwardRefExoticComponent<Omit<import("../types").HTMLInputAttrs & import("../types").DescopeInputExtraProps & {
|
|
20
|
+
layout?: "horizontal" | "vertical";
|
|
21
|
+
} & MultiSelectProps, "ref"> & React.RefAttributes<HTMLInputElement>>;
|
|
22
|
+
export default RadioGroup;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as RadioGroup } from './RadioGroup';
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { Mode, TextAlign, TypographyVariants } from '../types';
|
|
3
|
+
type Props = {
|
|
4
|
+
enabled?: boolean;
|
|
5
|
+
'site-key'?: string;
|
|
6
|
+
enterprise?: boolean;
|
|
7
|
+
action?: string;
|
|
8
|
+
variant?: 'text';
|
|
9
|
+
textLabel?: string;
|
|
10
|
+
textVariant?: TypographyVariants;
|
|
11
|
+
textMode?: Mode;
|
|
12
|
+
textAlign?: TextAlign;
|
|
13
|
+
'full-width'?: boolean;
|
|
14
|
+
readOnly?: boolean;
|
|
15
|
+
};
|
|
16
|
+
declare global {
|
|
17
|
+
interface Window {
|
|
18
|
+
onRecaptchaLoadCallback: () => void;
|
|
19
|
+
}
|
|
20
|
+
namespace React.JSX {
|
|
21
|
+
interface IntrinsicElements {
|
|
22
|
+
'descope-recaptcha': React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> & Props;
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
declare const Recaptcha: React.ForwardRefExoticComponent<Props & React.HTMLAttributes<HTMLDivElement> & React.RefAttributes<HTMLDivElement>>;
|
|
27
|
+
export default Recaptcha;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as Recaptcha } from './Recaptcha';
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { Mode, TextAlign, TypographyVariants } from '../types';
|
|
3
|
+
type Props = {
|
|
4
|
+
connector?: string;
|
|
5
|
+
enterprise?: boolean;
|
|
6
|
+
action?: string;
|
|
7
|
+
textLabel?: string;
|
|
8
|
+
textVariant?: TypographyVariants;
|
|
9
|
+
textMode?: Mode;
|
|
10
|
+
textAlign?: TextAlign;
|
|
11
|
+
'full-width'?: boolean;
|
|
12
|
+
readOnly?: boolean;
|
|
13
|
+
};
|
|
14
|
+
declare const RecaptchaV2: React.ForwardRefExoticComponent<Props & React.HTMLAttributes<HTMLDivElement> & React.RefAttributes<HTMLDivElement>>;
|
|
15
|
+
export default RecaptchaV2;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as RecaptchaV2 } from './RecaptchaV2';
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { DescopeInputProps } from '../types';
|
|
3
|
+
type Item = {
|
|
4
|
+
label: string;
|
|
5
|
+
value: string;
|
|
6
|
+
};
|
|
7
|
+
type Props = Omit<DescopeInputProps, 'bordered' | 'label' | 'placeholder' | 'helper-text' | 'data-errormessage-pattern-mismatch' | 'data-errormessage-value-missing'> & {
|
|
8
|
+
'label-value'?: string;
|
|
9
|
+
'label-attr'?: string;
|
|
10
|
+
'label-group'?: string;
|
|
11
|
+
'button-label'?: string;
|
|
12
|
+
separator?: string;
|
|
13
|
+
size?: 'xs' | 'sm' | 'md' | 'lg';
|
|
14
|
+
options?: Item[];
|
|
15
|
+
};
|
|
16
|
+
declare global {
|
|
17
|
+
namespace React.JSX {
|
|
18
|
+
interface IntrinsicElements {
|
|
19
|
+
'descope-saml-group-mappings': Omit<Props, 'options'> & {
|
|
20
|
+
options?: string;
|
|
21
|
+
};
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
declare const SAMLGroupMappings: React.ForwardRefExoticComponent<Omit<Props, "ref"> & React.RefAttributes<HTMLInputElement>>;
|
|
26
|
+
export default SAMLGroupMappings;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as SAMLGroupMappings } from './SAMLGroupMappings';
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { PropsToAttrs } from '../types';
|
|
3
|
+
type Item = {
|
|
4
|
+
desc: string;
|
|
5
|
+
id: string;
|
|
6
|
+
required?: boolean;
|
|
7
|
+
};
|
|
8
|
+
type Props = {
|
|
9
|
+
variant?: 'checkbox' | 'switch';
|
|
10
|
+
data?: Item[];
|
|
11
|
+
readonly?: boolean;
|
|
12
|
+
size: 'xs' | 'sm' | 'md' | 'lg';
|
|
13
|
+
};
|
|
14
|
+
declare global {
|
|
15
|
+
namespace React.JSX {
|
|
16
|
+
interface IntrinsicElements {
|
|
17
|
+
'descope-scopes-list': React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> & PropsToAttrs<Props>;
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
}
|
|
21
|
+
declare const ScopesList: React.ForwardRefExoticComponent<Props & React.RefAttributes<HTMLDivElement>>;
|
|
22
|
+
export default ScopesList;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as ScopesList } from './ScopesList';
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { PropsToAttrs } from '../types';
|
|
3
|
+
type Question = {
|
|
4
|
+
id: string;
|
|
5
|
+
text: string;
|
|
6
|
+
};
|
|
7
|
+
type Props = {
|
|
8
|
+
questions?: Question[];
|
|
9
|
+
readonly?: boolean;
|
|
10
|
+
size?: 'xs' | 'sm' | 'md' | 'lg';
|
|
11
|
+
'st-gap'?: string;
|
|
12
|
+
count?: number;
|
|
13
|
+
'full-width'?: boolean;
|
|
14
|
+
'question-label'?: string;
|
|
15
|
+
'answer-label'?: string;
|
|
16
|
+
'question-placeholder'?: string;
|
|
17
|
+
'answer-placeholder'?: string;
|
|
18
|
+
};
|
|
19
|
+
declare global {
|
|
20
|
+
namespace React.JSX {
|
|
21
|
+
interface IntrinsicElements {
|
|
22
|
+
'descope-security-questions-setup': React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> & PropsToAttrs<Props>;
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
declare const SecurityQuestionsSetup: React.ForwardRefExoticComponent<Props & React.RefAttributes<HTMLDivElement>>;
|
|
27
|
+
export default SecurityQuestionsSetup;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as SecurityQuestionsSetup } from './SecurityQuestionsSetup';
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { PropsToAttrs } from '../types';
|
|
3
|
+
type Question = {
|
|
4
|
+
id: string;
|
|
5
|
+
text: string;
|
|
6
|
+
};
|
|
7
|
+
type Props = {
|
|
8
|
+
questions?: Question[];
|
|
9
|
+
readonly?: boolean;
|
|
10
|
+
size?: 'xs' | 'sm' | 'md' | 'lg';
|
|
11
|
+
'st-gap'?: string;
|
|
12
|
+
'full-width'?: boolean;
|
|
13
|
+
'answer-placeholder'?: string;
|
|
14
|
+
'question-mode'?: string;
|
|
15
|
+
'st-question-text-align'?: string;
|
|
16
|
+
'answer-data-errormessage-value-missing'?: string;
|
|
17
|
+
};
|
|
18
|
+
declare global {
|
|
19
|
+
namespace React.JSX {
|
|
20
|
+
interface IntrinsicElements {
|
|
21
|
+
'descope-security-questions-verify': React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> & PropsToAttrs<Props>;
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
declare const SecurityQuestionsVerify: React.ForwardRefExoticComponent<Props & React.RefAttributes<HTMLDivElement>>;
|
|
26
|
+
export default SecurityQuestionsVerify;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as SecurityQuestionsVerify } from './SecurityQuestionsVerify';
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { DescopeInputProps } from '../types';
|
|
3
|
+
type Props = {
|
|
4
|
+
children?: React.JSX.Element[];
|
|
5
|
+
data?: string | Record<string, string>[];
|
|
6
|
+
};
|
|
7
|
+
declare global {
|
|
8
|
+
namespace React.JSX {
|
|
9
|
+
interface IntrinsicElements {
|
|
10
|
+
'descope-combo-box': DescopeInputProps & {
|
|
11
|
+
data?: string;
|
|
12
|
+
};
|
|
13
|
+
}
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
declare const Select: React.ForwardRefExoticComponent<Omit<import("../types").HTMLInputAttrs & import("../types").DescopeInputExtraProps & Props, "ref"> & React.RefAttributes<HTMLInputElement>>;
|
|
17
|
+
export default Select;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as Select } from './Select';
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { ButtonSelectionGroup } from '../ButtonSelectionGroup';
|
|
3
|
+
import { LabelType } from '../types';
|
|
4
|
+
type Item = {
|
|
5
|
+
label: string;
|
|
6
|
+
value: string;
|
|
7
|
+
};
|
|
8
|
+
type SingleSelectType = {
|
|
9
|
+
variant?: 'buttonSelectionGroup' | 'combobox' | 'radioGroup';
|
|
10
|
+
data?: Item[];
|
|
11
|
+
allowClearValue?: boolean;
|
|
12
|
+
layout?: 'horizontal' | 'vertical';
|
|
13
|
+
'label-type'?: LabelType;
|
|
14
|
+
};
|
|
15
|
+
type Props = Omit<React.ComponentProps<typeof ButtonSelectionGroup>, 'allow-deselect'> & SingleSelectType;
|
|
16
|
+
declare const SingleSelect: React.ForwardRefExoticComponent<Omit<Props, "ref"> & React.RefAttributes<HTMLInputElement>>;
|
|
17
|
+
export default SingleSelect;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as SingleSelect } from './SingleSelect';
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { DescopeInputProps } from '../types';
|
|
3
|
+
declare global {
|
|
4
|
+
namespace React.JSX {
|
|
5
|
+
interface IntrinsicElements {
|
|
6
|
+
'descope-switch-toggle': DescopeInputProps;
|
|
7
|
+
}
|
|
8
|
+
}
|
|
9
|
+
}
|
|
10
|
+
declare const Switch: React.ForwardRefExoticComponent<Omit<DescopeInputProps, "ref"> & React.RefAttributes<HTMLInputElement>>;
|
|
11
|
+
export default Switch;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as Switch } from './Switch';
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { PropsToAttrs } from '../types';
|
|
3
|
+
type Props = {
|
|
4
|
+
width?: string;
|
|
5
|
+
height?: string;
|
|
6
|
+
};
|
|
7
|
+
declare global {
|
|
8
|
+
namespace React.JSX {
|
|
9
|
+
interface IntrinsicElements {
|
|
10
|
+
'descope-totp-image': React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> & PropsToAttrs<Props>;
|
|
11
|
+
}
|
|
12
|
+
}
|
|
13
|
+
}
|
|
14
|
+
declare const TOTPImage: React.ForwardRefExoticComponent<Props & React.RefAttributes<HTMLDivElement>>;
|
|
15
|
+
export default TOTPImage;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as TOTPImage } from './TOTPImage';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as TOTPLink } from './TOTPLink';
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { TextAlign, TypographyVariants } from '../types';
|
|
3
|
+
type Props = {
|
|
4
|
+
italic?: boolean;
|
|
5
|
+
variant?: string;
|
|
6
|
+
mode?: string;
|
|
7
|
+
isEnriched?: boolean;
|
|
8
|
+
'full-width'?: boolean;
|
|
9
|
+
'text-align'?: TextAlign;
|
|
10
|
+
'hide-when-empty'?: boolean;
|
|
11
|
+
};
|
|
12
|
+
declare global {
|
|
13
|
+
namespace React.JSX {
|
|
14
|
+
interface IntrinsicElements {
|
|
15
|
+
'descope-text': React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> & Props;
|
|
16
|
+
'descope-enriched-text': React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> & Props & {
|
|
17
|
+
readonly?: boolean;
|
|
18
|
+
};
|
|
19
|
+
}
|
|
20
|
+
}
|
|
21
|
+
}
|
|
22
|
+
declare const Text: React.ForwardRefExoticComponent<Omit<Props & {
|
|
23
|
+
typography?: TypographyVariants;
|
|
24
|
+
} & Omit<React.HTMLProps<HTMLSpanElement>, "mode">, "ref"> & React.RefAttributes<HTMLElement>>;
|
|
25
|
+
export default Text;
|