@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.
Files changed (278) hide show
  1. package/README.md +0 -1
  2. package/dist/dts/Alert/Alert.d.ts +20 -0
  3. package/dist/dts/Alert/index.d.ts +1 -0
  4. package/dist/dts/AppsList/AppsList.d.ts +17 -0
  5. package/dist/dts/AppsList/index.d.ts +1 -0
  6. package/dist/dts/Avatar/Avatar.d.ts +16 -0
  7. package/dist/dts/Avatar/index.d.ts +1 -0
  8. package/dist/dts/Badge/Badge.d.ts +16 -0
  9. package/dist/dts/Badge/index.d.ts +1 -0
  10. package/dist/dts/Boolean/Boolean.d.ts +9 -0
  11. package/dist/dts/Boolean/index.d.ts +1 -0
  12. package/dist/dts/Button/Button.d.ts +23 -0
  13. package/dist/dts/Button/index.d.ts +1 -0
  14. package/dist/dts/ButtonMultiSelectionGroup/ButtonMultiSelectionGroup.d.ts +26 -0
  15. package/dist/dts/ButtonMultiSelectionGroup/index.d.ts +1 -0
  16. package/dist/dts/ButtonSelectionGroup/ButtonSelectionGroup.d.ts +24 -0
  17. package/dist/dts/ButtonSelectionGroup/index.d.ts +1 -0
  18. package/dist/dts/Checkbox/Checkbox.d.ts +11 -0
  19. package/dist/dts/Checkbox/index.d.ts +1 -0
  20. package/dist/dts/Code/Code.d.ts +14 -0
  21. package/dist/dts/Code/index.d.ts +1 -0
  22. package/dist/dts/CodeSnippet/CodeSnippet.d.ts +14 -0
  23. package/dist/dts/CodeSnippet/index.d.ts +1 -0
  24. package/dist/dts/ComboBox/ComboBox.d.ts +22 -0
  25. package/dist/dts/ComboBox/index.d.ts +1 -0
  26. package/dist/dts/Container/Container.d.ts +35 -0
  27. package/dist/dts/Container/index.d.ts +1 -0
  28. package/dist/dts/CssVarImage/CssVarImage.d.ts +9 -0
  29. package/dist/dts/CssVarImage/index.d.ts +1 -0
  30. package/dist/dts/DateField/DateField.d.ts +11 -0
  31. package/dist/dts/DateField/index.d.ts +1 -0
  32. package/dist/dts/Divider/Divider.d.ts +18 -0
  33. package/dist/dts/Divider/index.d.ts +1 -0
  34. package/dist/dts/EmailField/EmailField.d.ts +11 -0
  35. package/dist/dts/EmailField/index.d.ts +1 -0
  36. package/dist/dts/Grid/Columns/GridCustomColumn.d.ts +12 -0
  37. package/dist/dts/Grid/Columns/GridItemDetailsColumn.d.ts +10 -0
  38. package/dist/dts/Grid/Columns/GridSelectionColumn.d.ts +10 -0
  39. package/dist/dts/Grid/Columns/GridTextColumn.d.ts +10 -0
  40. package/dist/dts/Grid/Columns/index.d.ts +4 -0
  41. package/dist/dts/Grid/Columns/types.d.ts +8 -0
  42. package/dist/dts/Grid/Grid.d.ts +30 -0
  43. package/dist/dts/Grid/index.d.ts +2 -0
  44. package/dist/dts/HybridField/HybridField.d.ts +46 -0
  45. package/dist/dts/HybridField/index.d.ts +1 -0
  46. package/dist/dts/Icon/Icon.d.ts +15 -0
  47. package/dist/dts/Icon/index.d.ts +1 -0
  48. package/dist/dts/Image/Image.d.ts +16 -0
  49. package/dist/dts/Image/index.d.ts +1 -0
  50. package/dist/dts/Input/Input.d.ts +4 -0
  51. package/dist/dts/Input/index.d.ts +1 -0
  52. package/dist/dts/Link/Link.d.ts +20 -0
  53. package/dist/dts/Link/index.d.ts +1 -0
  54. package/dist/dts/List/List.d.ts +16 -0
  55. package/dist/dts/List/ListItem.d.ts +15 -0
  56. package/dist/dts/List/index.d.ts +2 -0
  57. package/dist/dts/Loader/Loader.d.ts +18 -0
  58. package/dist/dts/Loader/index.d.ts +1 -0
  59. package/dist/dts/Logo/Logo.d.ts +15 -0
  60. package/dist/dts/Logo/index.d.ts +1 -0
  61. package/dist/dts/MappingsField/MappingsField.d.ts +27 -0
  62. package/dist/dts/MappingsField/index.d.ts +1 -0
  63. package/dist/dts/Modal/Modal.d.ts +13 -0
  64. package/dist/dts/Modal/index.d.ts +1 -0
  65. package/dist/dts/MultiSelect/MultiSelect.d.ts +18 -0
  66. package/dist/dts/MultiSelect/index.d.ts +1 -0
  67. package/dist/dts/MultiSelectComboBox/MultiSelectComboBox.d.ts +27 -0
  68. package/dist/dts/MultiSelectComboBox/index.d.ts +1 -0
  69. package/dist/dts/NOTPImage/NOTPImage.d.ts +15 -0
  70. package/dist/dts/NOTPImage/index.d.ts +1 -0
  71. package/dist/dts/NOTPLink/NOTPLink.d.ts +5 -0
  72. package/dist/dts/NOTPLink/index.d.ts +1 -0
  73. package/dist/dts/NewPassword/NewPassword.d.ts +34 -0
  74. package/dist/dts/NewPassword/index.d.ts +1 -0
  75. package/dist/dts/NumberField/NumberField.d.ts +11 -0
  76. package/dist/dts/NumberField/index.d.ts +1 -0
  77. package/dist/dts/Password/Password.d.ts +11 -0
  78. package/dist/dts/Password/index.d.ts +1 -0
  79. package/dist/dts/Phone/Phone.d.ts +11 -0
  80. package/dist/dts/Phone/index.d.ts +1 -0
  81. package/dist/dts/PhoneCountrySelection/PhoneCountrySelection.d.ts +16 -0
  82. package/dist/dts/PhoneCountrySelection/index.d.ts +1 -0
  83. package/dist/dts/PhoneInputBox/PhoneInputBox.d.ts +16 -0
  84. package/dist/dts/PhoneInputBox/index.d.ts +1 -0
  85. package/dist/dts/RadioGroup/RadioGroup.d.ts +22 -0
  86. package/dist/dts/RadioGroup/index.d.ts +1 -0
  87. package/dist/dts/Recaptcha/Recaptcha.d.ts +27 -0
  88. package/dist/dts/Recaptcha/index.d.ts +1 -0
  89. package/dist/dts/RecaptchaV2/RecaptchaV2.d.ts +15 -0
  90. package/dist/dts/RecaptchaV2/index.d.ts +1 -0
  91. package/dist/dts/SAMLGroupMappings/SAMLGroupMappings.d.ts +26 -0
  92. package/dist/dts/SAMLGroupMappings/index.d.ts +1 -0
  93. package/dist/dts/ScopesList/ScopesList.d.ts +22 -0
  94. package/dist/dts/ScopesList/index.d.ts +1 -0
  95. package/dist/dts/SecurityQuestionsSetup/SecurityQuestionsSetup.d.ts +27 -0
  96. package/dist/dts/SecurityQuestionsSetup/index.d.ts +1 -0
  97. package/dist/dts/SecurityQuestionsVerify/SecurityQuestionsVerify.d.ts +26 -0
  98. package/dist/dts/SecurityQuestionsVerify/index.d.ts +1 -0
  99. package/dist/dts/Select/Select.d.ts +17 -0
  100. package/dist/dts/Select/index.d.ts +1 -0
  101. package/dist/dts/SingleSelect/SingleSelect.d.ts +17 -0
  102. package/dist/dts/SingleSelect/index.d.ts +1 -0
  103. package/dist/dts/Switch/Switch.d.ts +11 -0
  104. package/dist/dts/Switch/index.d.ts +1 -0
  105. package/dist/dts/TOTPImage/TOTPImage.d.ts +15 -0
  106. package/dist/dts/TOTPImage/index.d.ts +1 -0
  107. package/dist/dts/TOTPLink/TOTPLink.d.ts +5 -0
  108. package/dist/dts/TOTPLink/index.d.ts +1 -0
  109. package/dist/dts/Text/Text.d.ts +25 -0
  110. package/dist/dts/Text/index.d.ts +1 -0
  111. package/dist/dts/TextField/TextField.d.ts +11 -0
  112. package/dist/dts/TextField/index.d.ts +1 -0
  113. package/dist/dts/Textarea/Textarea.d.ts +11 -0
  114. package/dist/dts/Textarea/index.d.ts +1 -0
  115. package/dist/dts/ThirdPartyAppLogo/ThirdPartyAppLogo.d.ts +14 -0
  116. package/dist/dts/ThirdPartyAppLogo/index.d.ts +1 -0
  117. package/dist/dts/UploadFile/UploadFile.d.ts +27 -0
  118. package/dist/dts/UploadFile/index.d.ts +1 -0
  119. package/dist/dts/UserAttribute/UserAttribute.d.ts +19 -0
  120. package/dist/dts/UserAttribute/index.d.ts +1 -0
  121. package/dist/dts/UserAuthMethod/UserAuthMethod.d.ts +20 -0
  122. package/dist/dts/UserAuthMethod/index.d.ts +1 -0
  123. package/dist/dts/icons/index.d.ts +19 -0
  124. package/dist/dts/index.d.ts +143 -0
  125. package/dist/dts/inputHelpers.d.ts +1 -0
  126. package/dist/dts/types.d.ts +37 -0
  127. package/dist/index.cjs.js +165 -138
  128. package/dist/index.d.ts +193 -65
  129. package/dist/index.esm.js +106 -139
  130. package/dist/types/src/Alert/Alert.d.ts +20 -0
  131. package/dist/types/src/Alert/index.d.ts +1 -0
  132. package/dist/types/src/AppsList/AppsList.d.ts +17 -0
  133. package/dist/types/src/AppsList/index.d.ts +1 -0
  134. package/dist/types/src/Avatar/Avatar.d.ts +16 -0
  135. package/dist/types/src/Avatar/index.d.ts +1 -0
  136. package/dist/types/src/Badge/Badge.d.ts +16 -0
  137. package/dist/types/src/Badge/index.d.ts +1 -0
  138. package/dist/types/src/Boolean/Boolean.d.ts +9 -0
  139. package/dist/types/src/Boolean/index.d.ts +1 -0
  140. package/dist/types/src/Button/Button.d.ts +23 -0
  141. package/dist/types/src/Button/index.d.ts +1 -0
  142. package/dist/types/src/ButtonMultiSelectionGroup/ButtonMultiSelectionGroup.d.ts +26 -0
  143. package/dist/types/src/ButtonMultiSelectionGroup/index.d.ts +1 -0
  144. package/dist/types/src/ButtonSelectionGroup/ButtonSelectionGroup.d.ts +24 -0
  145. package/dist/types/src/ButtonSelectionGroup/index.d.ts +1 -0
  146. package/dist/types/src/Checkbox/Checkbox.d.ts +11 -0
  147. package/dist/types/src/Checkbox/index.d.ts +1 -0
  148. package/dist/types/src/Code/Code.d.ts +14 -0
  149. package/dist/types/src/Code/index.d.ts +1 -0
  150. package/dist/types/src/CodeSnippet/CodeSnippet.d.ts +14 -0
  151. package/dist/types/src/CodeSnippet/index.d.ts +1 -0
  152. package/dist/types/src/ComboBox/ComboBox.d.ts +22 -0
  153. package/dist/types/src/ComboBox/index.d.ts +1 -0
  154. package/dist/types/src/Container/Container.d.ts +35 -0
  155. package/dist/types/src/Container/index.d.ts +1 -0
  156. package/dist/types/src/CssVarImage/CssVarImage.d.ts +9 -0
  157. package/dist/types/src/CssVarImage/index.d.ts +1 -0
  158. package/dist/types/src/DateField/DateField.d.ts +11 -0
  159. package/dist/types/src/DateField/index.d.ts +1 -0
  160. package/dist/types/src/Divider/Divider.d.ts +18 -0
  161. package/dist/types/src/Divider/index.d.ts +1 -0
  162. package/dist/types/src/EmailField/EmailField.d.ts +11 -0
  163. package/dist/types/src/EmailField/index.d.ts +1 -0
  164. package/dist/types/src/Grid/Columns/GridCustomColumn.d.ts +12 -0
  165. package/dist/types/src/Grid/Columns/GridItemDetailsColumn.d.ts +10 -0
  166. package/dist/types/src/Grid/Columns/GridSelectionColumn.d.ts +10 -0
  167. package/dist/types/src/Grid/Columns/GridTextColumn.d.ts +10 -0
  168. package/dist/types/src/Grid/Columns/index.d.ts +4 -0
  169. package/dist/types/src/Grid/Columns/types.d.ts +8 -0
  170. package/dist/types/src/Grid/Grid.d.ts +30 -0
  171. package/dist/types/src/Grid/index.d.ts +2 -0
  172. package/dist/types/src/HybridField/HybridField.d.ts +46 -0
  173. package/dist/types/src/HybridField/index.d.ts +1 -0
  174. package/dist/types/src/Icon/Icon.d.ts +15 -0
  175. package/dist/types/src/Icon/index.d.ts +1 -0
  176. package/dist/types/src/Image/Image.d.ts +16 -0
  177. package/dist/types/src/Image/index.d.ts +1 -0
  178. package/dist/types/src/Input/Input.d.ts +4 -0
  179. package/dist/types/src/Input/index.d.ts +1 -0
  180. package/dist/types/src/Link/Link.d.ts +20 -0
  181. package/dist/types/src/Link/index.d.ts +1 -0
  182. package/dist/types/src/List/List.d.ts +16 -0
  183. package/dist/types/src/List/ListItem.d.ts +15 -0
  184. package/dist/types/src/List/index.d.ts +2 -0
  185. package/dist/types/src/Loader/Loader.d.ts +18 -0
  186. package/dist/types/src/Loader/index.d.ts +1 -0
  187. package/dist/types/src/Logo/Logo.d.ts +15 -0
  188. package/dist/types/src/Logo/index.d.ts +1 -0
  189. package/dist/types/src/MappingsField/MappingsField.d.ts +27 -0
  190. package/dist/types/src/MappingsField/index.d.ts +1 -0
  191. package/dist/types/src/Modal/Modal.d.ts +13 -0
  192. package/dist/types/src/Modal/index.d.ts +1 -0
  193. package/dist/types/src/MultiSelect/MultiSelect.d.ts +18 -0
  194. package/dist/types/src/MultiSelect/index.d.ts +1 -0
  195. package/dist/types/src/MultiSelectComboBox/MultiSelectComboBox.d.ts +27 -0
  196. package/dist/types/src/MultiSelectComboBox/index.d.ts +1 -0
  197. package/dist/types/src/NOTPImage/NOTPImage.d.ts +15 -0
  198. package/dist/types/src/NOTPImage/index.d.ts +1 -0
  199. package/dist/types/src/NOTPLink/NOTPLink.d.ts +5 -0
  200. package/dist/types/src/NOTPLink/index.d.ts +1 -0
  201. package/dist/types/src/NewPassword/NewPassword.d.ts +34 -0
  202. package/dist/types/src/NewPassword/index.d.ts +1 -0
  203. package/dist/types/src/NumberField/NumberField.d.ts +11 -0
  204. package/dist/types/src/NumberField/index.d.ts +1 -0
  205. package/dist/types/src/Password/Password.d.ts +11 -0
  206. package/dist/types/src/Password/index.d.ts +1 -0
  207. package/dist/types/src/Phone/Phone.d.ts +11 -0
  208. package/dist/types/src/Phone/index.d.ts +1 -0
  209. package/dist/types/src/PhoneCountrySelection/PhoneCountrySelection.d.ts +16 -0
  210. package/dist/types/src/PhoneCountrySelection/index.d.ts +1 -0
  211. package/dist/types/src/PhoneInputBox/PhoneInputBox.d.ts +16 -0
  212. package/dist/types/src/PhoneInputBox/index.d.ts +1 -0
  213. package/dist/types/src/RadioGroup/RadioGroup.d.ts +22 -0
  214. package/dist/types/src/RadioGroup/index.d.ts +1 -0
  215. package/dist/types/src/Recaptcha/Recaptcha.d.ts +27 -0
  216. package/dist/types/src/Recaptcha/index.d.ts +1 -0
  217. package/dist/types/src/RecaptchaV2/RecaptchaV2.d.ts +15 -0
  218. package/dist/types/src/RecaptchaV2/index.d.ts +1 -0
  219. package/dist/types/src/SAMLGroupMappings/SAMLGroupMappings.d.ts +26 -0
  220. package/dist/types/src/SAMLGroupMappings/index.d.ts +1 -0
  221. package/dist/types/src/ScopesList/ScopesList.d.ts +22 -0
  222. package/dist/types/src/ScopesList/index.d.ts +1 -0
  223. package/dist/types/src/SecurityQuestionsSetup/SecurityQuestionsSetup.d.ts +27 -0
  224. package/dist/types/src/SecurityQuestionsSetup/index.d.ts +1 -0
  225. package/dist/types/src/SecurityQuestionsVerify/SecurityQuestionsVerify.d.ts +26 -0
  226. package/dist/types/src/SecurityQuestionsVerify/index.d.ts +1 -0
  227. package/dist/types/src/Select/Select.d.ts +17 -0
  228. package/dist/types/src/Select/index.d.ts +1 -0
  229. package/dist/types/src/SingleSelect/SingleSelect.d.ts +17 -0
  230. package/dist/types/src/SingleSelect/index.d.ts +1 -0
  231. package/dist/types/src/Switch/Switch.d.ts +11 -0
  232. package/dist/types/src/Switch/index.d.ts +1 -0
  233. package/dist/types/src/TOTPImage/TOTPImage.d.ts +15 -0
  234. package/dist/types/src/TOTPImage/index.d.ts +1 -0
  235. package/dist/types/src/TOTPLink/TOTPLink.d.ts +5 -0
  236. package/dist/types/src/TOTPLink/index.d.ts +1 -0
  237. package/dist/types/src/Text/Text.d.ts +25 -0
  238. package/dist/types/src/Text/index.d.ts +1 -0
  239. package/dist/types/src/TextField/TextField.d.ts +11 -0
  240. package/dist/types/src/TextField/index.d.ts +1 -0
  241. package/dist/types/src/Textarea/Textarea.d.ts +11 -0
  242. package/dist/types/src/Textarea/index.d.ts +1 -0
  243. package/dist/types/src/ThirdPartyAppLogo/ThirdPartyAppLogo.d.ts +14 -0
  244. package/dist/types/src/ThirdPartyAppLogo/index.d.ts +1 -0
  245. package/dist/types/src/UploadFile/UploadFile.d.ts +27 -0
  246. package/dist/types/src/UploadFile/index.d.ts +1 -0
  247. package/dist/types/src/UserAttribute/UserAttribute.d.ts +19 -0
  248. package/dist/types/src/UserAttribute/index.d.ts +1 -0
  249. package/dist/types/src/UserAuthMethod/UserAuthMethod.d.ts +20 -0
  250. package/dist/types/src/UserAuthMethod/index.d.ts +1 -0
  251. package/dist/types/src/icons/index.d.ts +19 -0
  252. package/dist/types/src/index.d.ts +143 -0
  253. package/dist/types/src/inputHelpers.d.ts +1 -0
  254. package/dist/types/src/types.d.ts +37 -0
  255. package/dist/types/test/boolean.test.d.ts +1 -0
  256. package/dist/types/test/buttons.test.d.ts +1 -0
  257. package/dist/types/test/checkbox.test.d.ts +1 -0
  258. package/dist/types/test/code.test.d.ts +1 -0
  259. package/dist/types/test/container.test.d.ts +1 -0
  260. package/dist/types/test/divider.test.d.ts +1 -0
  261. package/dist/types/test/image.test.d.ts +1 -0
  262. package/dist/types/test/input.test.d.ts +1 -0
  263. package/dist/types/test/inputHelpers.test.d.ts +1 -0
  264. package/dist/types/test/link.test.d.ts +1 -0
  265. package/dist/types/test/loader.test.d.ts +1 -0
  266. package/dist/types/test/logo.test.d.ts +1 -0
  267. package/dist/types/test/newPassword.test.d.ts +1 -0
  268. package/dist/types/test/notpImage.test.d.ts +1 -0
  269. package/dist/types/test/notpLink.test.d.ts +1 -0
  270. package/dist/types/test/numeric-input.test.d.ts +1 -0
  271. package/dist/types/test/password.test.d.ts +1 -0
  272. package/dist/types/test/phone.test.d.ts +1 -0
  273. package/dist/types/test/switch.test.d.ts +1 -0
  274. package/dist/types/test/text.test.d.ts +1 -0
  275. package/dist/types/test/textarea.test.d.ts +1 -0
  276. package/dist/types/test/totpImage.test.d.ts +1 -0
  277. package/dist/types/test/totpLink.test.d.ts +1 -0
  278. package/package.json +7 -6
@@ -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,5 @@
1
+ import React from 'react';
2
+ import { Link } from '../Link';
3
+ type Props = Omit<React.ComponentProps<typeof Link>, 'href'>;
4
+ declare const TOTPLink: React.ForwardRefExoticComponent<Omit<Props, "ref"> & React.RefAttributes<HTMLAnchorElement>>;
5
+ export default TOTPLink;
@@ -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;
@@ -0,0 +1 @@
1
+ export { default as Text } from './Text';
@@ -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-text-field': DescopeInputProps;
7
+ }
8
+ }
9
+ }
10
+ declare const TextField: React.ForwardRefExoticComponent<Omit<DescopeInputProps, "ref"> & React.RefAttributes<HTMLInputElement>>;
11
+ export default TextField;
@@ -0,0 +1 @@
1
+ export { default as TextField } from './TextField';
@@ -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-text-area': DescopeInputProps;
7
+ }
8
+ }
9
+ }
10
+ declare const Textarea: React.ForwardRefExoticComponent<Omit<DescopeInputProps, "ref"> & React.RefAttributes<HTMLInputElement>>;
11
+ export default Textarea;
@@ -0,0 +1 @@
1
+ export { default as Textarea } from './Textarea';
@@ -0,0 +1,14 @@
1
+ import React from 'react';
2
+ import { PropsToAttrs } from '../types';
3
+ type Props = {
4
+ size: 'xs' | 'sm' | 'md' | 'lg';
5
+ };
6
+ declare global {
7
+ namespace React.JSX {
8
+ interface IntrinsicElements {
9
+ 'descope-third-party-app-logo': React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> & PropsToAttrs<Props>;
10
+ }
11
+ }
12
+ }
13
+ declare const ThirdPartyAppLogo: React.ForwardRefExoticComponent<Props & React.RefAttributes<HTMLDivElement>>;
14
+ export default ThirdPartyAppLogo;
@@ -0,0 +1 @@
1
+ export { default as ThirdPartyAppLogo } from './ThirdPartyAppLogo';
@@ -0,0 +1,27 @@
1
+ import React from 'react';
2
+ import { ComponentSize } from '../types';
3
+ type Props = {
4
+ title?: string;
5
+ description?: string;
6
+ icon?: string;
7
+ size?: ComponentSize;
8
+ 'button-label'?: string;
9
+ 'button-mode'?: string;
10
+ 'button-variant'?: string;
11
+ accept?: string;
12
+ name?: string;
13
+ readonly?: boolean;
14
+ required?: boolean;
15
+ bordered?: boolean;
16
+ 'full-width'?: boolean;
17
+ 'data-errormessage-value-missing'?: string;
18
+ };
19
+ declare global {
20
+ namespace React.JSX {
21
+ interface IntrinsicElements {
22
+ 'descope-upload-file': React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> & Props;
23
+ }
24
+ }
25
+ }
26
+ declare const UploadFile: React.ForwardRefExoticComponent<Props & React.HTMLAttributes<HTMLDivElement> & React.RefAttributes<HTMLDivElement>>;
27
+ export default UploadFile;
@@ -0,0 +1 @@
1
+ export { default as UploadFile } from './UploadFile';
@@ -0,0 +1,19 @@
1
+ import React from 'react';
2
+ type Props = {
3
+ 'badge-tooltip-text'?: string;
4
+ 'badge-label'?: string;
5
+ value?: string;
6
+ placeholder?: string;
7
+ label?: string;
8
+ 'full-width'?: boolean;
9
+ required?: boolean;
10
+ };
11
+ declare global {
12
+ namespace React.JSX {
13
+ interface IntrinsicElements {
14
+ 'descope-user-attribute': React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> & Props;
15
+ }
16
+ }
17
+ }
18
+ declare const UserAttribute: React.ForwardRefExoticComponent<Omit<React.ClassAttributes<HTMLDivElement> & React.HTMLAttributes<HTMLDivElement> & Props, "ref"> & React.RefAttributes<HTMLButtonElement>>;
19
+ export default UserAttribute;
@@ -0,0 +1 @@
1
+ export { default as UserAttribute } from './UserAttribute';
@@ -0,0 +1,20 @@
1
+ import React from 'react';
2
+ declare global {
3
+ namespace React.JSX {
4
+ interface IntrinsicElements {
5
+ 'descope-user-auth-method': React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> & {
6
+ methodIcon?: string;
7
+ buttonIcon?: string;
8
+ };
9
+ }
10
+ }
11
+ }
12
+ declare const UserAuthMethod: React.ForwardRefExoticComponent<Omit<React.ClassAttributes<HTMLDivElement> & React.HTMLAttributes<HTMLDivElement> & {
13
+ label?: string;
14
+ 'button-label'?: string;
15
+ fulfilled?: boolean;
16
+ 'full-width'?: boolean;
17
+ methodIcon?: string;
18
+ buttonIcon?: string;
19
+ }, "ref"> & React.RefAttributes<HTMLButtonElement>>;
20
+ export default UserAuthMethod;
@@ -0,0 +1 @@
1
+ export { default as UserAuthMethod } from './UserAuthMethod';
@@ -0,0 +1,19 @@
1
+ import apple from './apple.svg';
2
+ import facebook from './facebook.svg';
3
+ import slack from './slack.svg';
4
+ import fingerprint from './fingerprint.svg';
5
+ import passkey from './passkey.svg';
6
+ import github from './github.svg';
7
+ import gitlab from './gitlab.svg';
8
+ import google from './google.svg';
9
+ import microsoft from './microsoft.svg';
10
+ import discord from './discord.svg';
11
+ import linkedin from './linkedin.svg';
12
+ import sso from './sso.svg';
13
+ import whatsapp from './whatsapp.svg';
14
+ import plus from './plus.svg';
15
+ import password from './password.svg';
16
+ import reload from './reload.svg';
17
+ import authenticator from './authenticator.svg';
18
+ import edit from './edit.svg';
19
+ export { apple, facebook, slack, fingerprint, passkey, github, gitlab, google, microsoft, discord, linkedin, sso, whatsapp, plus, password, reload, authenticator, edit };