@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,14 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
type Props = {
|
|
3
|
+
lang?: 'xml' | 'html' | 'javascript' | 'css' | 'json';
|
|
4
|
+
inline?: boolean;
|
|
5
|
+
};
|
|
6
|
+
declare global {
|
|
7
|
+
namespace React.JSX {
|
|
8
|
+
interface IntrinsicElements {
|
|
9
|
+
'descope-code-snippet': React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> & Props;
|
|
10
|
+
}
|
|
11
|
+
}
|
|
12
|
+
}
|
|
13
|
+
declare const CodeSnippet: React.ForwardRefExoticComponent<Props & React.HTMLAttributes<HTMLElement> & React.RefAttributes<HTMLElement>>;
|
|
14
|
+
export default CodeSnippet;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as CodeSnippet } from './CodeSnippet';
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { DescopeInputProps } from '../types';
|
|
3
|
+
type Props = DescopeInputProps & {
|
|
4
|
+
'default-value'?: string;
|
|
5
|
+
'item-label-path'?: string;
|
|
6
|
+
'item-value-path'?: string;
|
|
7
|
+
};
|
|
8
|
+
declare global {
|
|
9
|
+
namespace React.JSX {
|
|
10
|
+
interface IntrinsicElements {
|
|
11
|
+
'descope-combobox': Props;
|
|
12
|
+
}
|
|
13
|
+
}
|
|
14
|
+
}
|
|
15
|
+
declare const ComboBox: React.ForwardRefExoticComponent<Omit<import("../types").HTMLInputAttrs & import("../types").DescopeInputExtraProps & {
|
|
16
|
+
'default-value'?: string;
|
|
17
|
+
'item-label-path'?: string;
|
|
18
|
+
'item-value-path'?: string;
|
|
19
|
+
} & {
|
|
20
|
+
children?: React.JSX.Element[];
|
|
21
|
+
}, "ref"> & React.RefAttributes<HTMLInputElement>>;
|
|
22
|
+
export default ComboBox;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as ComboBox } from './ComboBox';
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { FlexAlignment } from '../types';
|
|
3
|
+
type Never<T extends Record<string, any>> = {
|
|
4
|
+
[K in keyof T]: never;
|
|
5
|
+
};
|
|
6
|
+
type SpaceBetween = '0' | '0.5' | '1' | '1.5' | '2' | '2.5' | '3' | '3.5' | '4' | '5' | '6' | '7' | '8' | '9' | '10' | '11' | '12' | '14' | '16' | '20' | '24' | '28' | '32';
|
|
7
|
+
type Flex = {
|
|
8
|
+
align?: 'start' | 'end' | 'center' | 'baseline' | 'stretch';
|
|
9
|
+
justify?: 'start' | 'center' | 'end' | 'between' | 'around' | 'evenly';
|
|
10
|
+
spaceBetween?: SpaceBetween;
|
|
11
|
+
};
|
|
12
|
+
type ContainerAlignment = {
|
|
13
|
+
'horizontal-alignment'?: FlexAlignment | 'space-between';
|
|
14
|
+
'vertical-alignment'?: FlexAlignment;
|
|
15
|
+
'space-between'?: 'sm' | 'md' | 'lg';
|
|
16
|
+
};
|
|
17
|
+
type Props = {
|
|
18
|
+
direction?: 'row' | 'column';
|
|
19
|
+
shadow?: 'md' | 'lg' | 'xl' | '2xl';
|
|
20
|
+
'border-radius'?: 'sm' | 'md' | 'lg' | 'xl' | '2xl' | '3xl';
|
|
21
|
+
paddingX?: string;
|
|
22
|
+
paddingY?: string;
|
|
23
|
+
background?: string;
|
|
24
|
+
backgroundImageUrl?: string;
|
|
25
|
+
width?: string;
|
|
26
|
+
} & ((Flex & Never<ContainerAlignment>) | (ContainerAlignment & Never<Flex>));
|
|
27
|
+
declare global {
|
|
28
|
+
namespace React.JSX {
|
|
29
|
+
interface IntrinsicElements {
|
|
30
|
+
'descope-container': React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement>;
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
declare const Container: React.ForwardRefExoticComponent<(Props & React.HTMLAttributes<HTMLDivElement>) & React.RefAttributes<HTMLDivElement>>;
|
|
35
|
+
export default Container;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as Container } from './Container';
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
type Props = {
|
|
3
|
+
varName: string;
|
|
4
|
+
fallback?: string;
|
|
5
|
+
width?: number;
|
|
6
|
+
height?: number;
|
|
7
|
+
};
|
|
8
|
+
declare const CssVarImage: React.ForwardRefExoticComponent<Props & React.HTMLAttributes<HTMLImageElement> & React.RefAttributes<HTMLDivElement>>;
|
|
9
|
+
export default CssVarImage;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as CssVarImage } from './CssVarImage';
|
|
@@ -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-date-field': Omit<DescopeInputProps, 'external-input'>;
|
|
7
|
+
}
|
|
8
|
+
}
|
|
9
|
+
}
|
|
10
|
+
declare const DateField: React.ForwardRefExoticComponent<Omit<Omit<DescopeInputProps, "external-input">, "ref"> & React.RefAttributes<HTMLInputElement>>;
|
|
11
|
+
export default DateField;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as DateField } from './DateField';
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { Mode, TypographyVariants } from '../types';
|
|
3
|
+
type Props = {
|
|
4
|
+
vertical?: boolean;
|
|
5
|
+
italic?: boolean;
|
|
6
|
+
variant?: TypographyVariants;
|
|
7
|
+
mode?: Mode;
|
|
8
|
+
children?: React.ReactNode;
|
|
9
|
+
};
|
|
10
|
+
declare global {
|
|
11
|
+
namespace React.JSX {
|
|
12
|
+
interface IntrinsicElements {
|
|
13
|
+
'descope-divider': React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement> & Omit<Props, 'children'>;
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
declare const Divider: React.ForwardRefExoticComponent<Omit<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "size"> & Props, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
18
|
+
export default Divider;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as Divider } from './Divider';
|
|
@@ -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-email-field': DescopeInputProps;
|
|
7
|
+
}
|
|
8
|
+
}
|
|
9
|
+
}
|
|
10
|
+
declare const EmailField: React.ForwardRefExoticComponent<Omit<DescopeInputProps, "ref"> & React.RefAttributes<HTMLInputElement>>;
|
|
11
|
+
export default EmailField;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as EmailField } from './EmailField';
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { ColumnProps } from './types';
|
|
3
|
+
declare global {
|
|
4
|
+
namespace React.JSX {
|
|
5
|
+
interface IntrinsicElements {
|
|
6
|
+
'descope-grid-custom-column': React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement>;
|
|
7
|
+
}
|
|
8
|
+
}
|
|
9
|
+
}
|
|
10
|
+
export declare const GridCustomColumn: React.ForwardRefExoticComponent<ColumnProps & {
|
|
11
|
+
children: React.JSX.Element[];
|
|
12
|
+
} & React.RefAttributes<HTMLInputElement>>;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { ColumnProps } from './types';
|
|
3
|
+
declare global {
|
|
4
|
+
namespace React.JSX {
|
|
5
|
+
interface IntrinsicElements {
|
|
6
|
+
'descope-grid-item-details-column': React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement>;
|
|
7
|
+
}
|
|
8
|
+
}
|
|
9
|
+
}
|
|
10
|
+
export declare const GridItemDetailsColumn: React.ForwardRefExoticComponent<ColumnProps & React.RefAttributes<HTMLInputElement>>;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { ColumnProps } from './types';
|
|
3
|
+
declare global {
|
|
4
|
+
namespace React.JSX {
|
|
5
|
+
interface IntrinsicElements {
|
|
6
|
+
'descope-grid-selection-column': React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement>;
|
|
7
|
+
}
|
|
8
|
+
}
|
|
9
|
+
}
|
|
10
|
+
export declare const GridSelectionColumn: React.ForwardRefExoticComponent<ColumnProps & React.RefAttributes<HTMLInputElement>>;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { ColumnProps } from './types';
|
|
3
|
+
declare global {
|
|
4
|
+
namespace React.JSX {
|
|
5
|
+
interface IntrinsicElements {
|
|
6
|
+
'descope-grid-text-column': React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement>;
|
|
7
|
+
}
|
|
8
|
+
}
|
|
9
|
+
}
|
|
10
|
+
export declare const GridTextColumn: React.ForwardRefExoticComponent<ColumnProps & React.RefAttributes<HTMLInputElement>>;
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { ComponentSize } from '../types';
|
|
3
|
+
type Column = {
|
|
4
|
+
path: '';
|
|
5
|
+
header: string;
|
|
6
|
+
type: 'selection' | 'text';
|
|
7
|
+
attrs: {
|
|
8
|
+
frozen: boolean;
|
|
9
|
+
'auto-width': boolean;
|
|
10
|
+
resizable: boolean;
|
|
11
|
+
};
|
|
12
|
+
};
|
|
13
|
+
type Props = {
|
|
14
|
+
identifier: any;
|
|
15
|
+
children?: React.JSX.Element[];
|
|
16
|
+
size?: Omit<ComponentSize, 'xl'>;
|
|
17
|
+
bordered?: boolean;
|
|
18
|
+
columns?: Column[];
|
|
19
|
+
'column-reordering-allowed'?: boolean;
|
|
20
|
+
data?: Record<string, any>;
|
|
21
|
+
};
|
|
22
|
+
declare global {
|
|
23
|
+
namespace React.JSX {
|
|
24
|
+
interface IntrinsicElements {
|
|
25
|
+
'descope-grid': React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement>;
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
declare const Grid: React.ForwardRefExoticComponent<Props & React.RefAttributes<HTMLInputElement>>;
|
|
30
|
+
export default Grid;
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { ComponentSize, DescopeInputProps, LabelType, PropsToAttrs } from '../types';
|
|
3
|
+
type Props = {
|
|
4
|
+
variant?: 'countrySelection' | 'inputBox';
|
|
5
|
+
'default-code'?: string;
|
|
6
|
+
'phone-input-label'?: string;
|
|
7
|
+
'phone-input-placeholder'?: string;
|
|
8
|
+
'restrict-countries'?: string;
|
|
9
|
+
'full-width'?: boolean;
|
|
10
|
+
bordered?: boolean;
|
|
11
|
+
label?: string;
|
|
12
|
+
placeholder?: string;
|
|
13
|
+
size?: ComponentSize;
|
|
14
|
+
'helper-text'?: string;
|
|
15
|
+
'data-errormessage-pattern-mismatch-email'?: string;
|
|
16
|
+
'data-errormessage-value-missing-email'?: string;
|
|
17
|
+
'data-errormessage-value-missing-phone'?: string;
|
|
18
|
+
'label-type'?: LabelType;
|
|
19
|
+
'external-input'?: boolean;
|
|
20
|
+
} & DescopeInputProps;
|
|
21
|
+
declare global {
|
|
22
|
+
namespace React.JSX {
|
|
23
|
+
interface IntrinsicElements {
|
|
24
|
+
'descope-hybrid-field': React.DetailedHTMLProps<React.HTMLAttributes<HTMLInputElement>, HTMLInputElement> & PropsToAttrs<Props>;
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
|
+
declare const HybridField: React.ForwardRefExoticComponent<Omit<React.ClassAttributes<HTMLDivElement> & React.HTMLAttributes<HTMLDivElement> & {
|
|
29
|
+
variant?: "countrySelection" | "inputBox";
|
|
30
|
+
'default-code'?: string;
|
|
31
|
+
'phone-input-label'?: string;
|
|
32
|
+
'phone-input-placeholder'?: string;
|
|
33
|
+
'restrict-countries'?: string;
|
|
34
|
+
'full-width'?: boolean;
|
|
35
|
+
bordered?: boolean;
|
|
36
|
+
label?: string;
|
|
37
|
+
placeholder?: string;
|
|
38
|
+
size?: ComponentSize;
|
|
39
|
+
'helper-text'?: string;
|
|
40
|
+
'data-errormessage-pattern-mismatch-email'?: string;
|
|
41
|
+
'data-errormessage-value-missing-email'?: string;
|
|
42
|
+
'data-errormessage-value-missing-phone'?: string;
|
|
43
|
+
'label-type'?: LabelType;
|
|
44
|
+
'external-input'?: boolean;
|
|
45
|
+
} & import("../types").HTMLInputAttrs & import("../types").DescopeInputExtraProps, "ref"> & React.RefAttributes<HTMLInputElement>>;
|
|
46
|
+
export default HybridField;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as HybridField } from './HybridField';
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
declare global {
|
|
3
|
+
namespace React.JSX {
|
|
4
|
+
interface IntrinsicElements {
|
|
5
|
+
'descope-icon': React.DetailedHTMLProps<React.HTMLAttributes<HTMLImageElement>, HTMLImageElement> & {
|
|
6
|
+
src?: string;
|
|
7
|
+
};
|
|
8
|
+
}
|
|
9
|
+
}
|
|
10
|
+
}
|
|
11
|
+
declare const Icon: ({ icon, noColor, ...props }: React.JSX.IntrinsicElements["img"] & {
|
|
12
|
+
icon?: string;
|
|
13
|
+
noColor?: boolean;
|
|
14
|
+
}) => React.JSX.Element;
|
|
15
|
+
export default Icon;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as Icon } from './Icon';
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
type Props = {
|
|
3
|
+
width?: string;
|
|
4
|
+
height?: string;
|
|
5
|
+
alt?: string;
|
|
6
|
+
src: string;
|
|
7
|
+
};
|
|
8
|
+
declare global {
|
|
9
|
+
namespace React.JSX {
|
|
10
|
+
interface IntrinsicElements {
|
|
11
|
+
'descope-image': React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> & Props;
|
|
12
|
+
}
|
|
13
|
+
}
|
|
14
|
+
}
|
|
15
|
+
declare const Image: React.ForwardRefExoticComponent<Props & React.HTMLAttributes<HTMLElement> & React.RefAttributes<HTMLElement>>;
|
|
16
|
+
export default Image;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as Image } from './Image';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as Input } from './Input';
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { Mode, TextAlign, TypographyVariants } from '../types';
|
|
3
|
+
type Props = {
|
|
4
|
+
href?: string | undefined;
|
|
5
|
+
italic?: boolean;
|
|
6
|
+
variant?: TypographyVariants;
|
|
7
|
+
mode?: Mode;
|
|
8
|
+
textAlign?: TextAlign;
|
|
9
|
+
'full-width'?: boolean;
|
|
10
|
+
children?: React.ReactNode;
|
|
11
|
+
};
|
|
12
|
+
declare global {
|
|
13
|
+
namespace React.JSX {
|
|
14
|
+
interface IntrinsicElements {
|
|
15
|
+
'descope-link': React.DetailedHTMLProps<React.HTMLAttributes<HTMLAnchorElement>, HTMLAnchorElement> & Omit<Props, 'children'>;
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
declare const Link: React.ForwardRefExoticComponent<Props & React.RefAttributes<HTMLAnchorElement>>;
|
|
20
|
+
export default Link;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as Link } from './Link';
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { PropsToAttrs } from '../types';
|
|
3
|
+
type Props = {
|
|
4
|
+
emptyState?: React.ReactNode;
|
|
5
|
+
children?: React.ReactNode[];
|
|
6
|
+
variant?: 'list' | 'tiles';
|
|
7
|
+
};
|
|
8
|
+
declare global {
|
|
9
|
+
namespace React.JSX {
|
|
10
|
+
interface IntrinsicElements {
|
|
11
|
+
'descope-list': React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> & PropsToAttrs<Props>;
|
|
12
|
+
}
|
|
13
|
+
}
|
|
14
|
+
}
|
|
15
|
+
declare const List: React.ForwardRefExoticComponent<Props & React.RefAttributes<HTMLDivElement>>;
|
|
16
|
+
export default List;
|
|
@@ -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';
|