@elliemae/ds-form 3.16.0-next.11 → 3.16.0-next.12

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 (325) hide show
  1. package/dist/cjs/Checkbox/index.js +4 -0
  2. package/dist/cjs/Checkbox/index.js.map +1 -1
  3. package/dist/cjs/CheckboxGroup/DSCheckboxGroup.js +4 -0
  4. package/dist/cjs/CheckboxGroup/DSCheckboxGroup.js.map +1 -1
  5. package/dist/cjs/CheckboxGroup/defaultProps.js +4 -0
  6. package/dist/cjs/CheckboxGroup/defaultProps.js.map +1 -1
  7. package/dist/cjs/CheckboxGroup/index.js +4 -0
  8. package/dist/cjs/CheckboxGroup/index.js.map +1 -1
  9. package/dist/cjs/CheckboxGroup/props.js +22 -0
  10. package/dist/cjs/CheckboxGroup/props.js.map +1 -1
  11. package/dist/cjs/ComboBox/index.js +4 -0
  12. package/dist/cjs/ComboBox/index.js.map +1 -1
  13. package/dist/cjs/ComboBoxFreeSolo/ComboBoxFreeSolo.js +47 -0
  14. package/dist/cjs/ComboBoxFreeSolo/ComboBoxFreeSolo.js.map +1 -1
  15. package/dist/cjs/ComboBoxFreeSolo/components/MultiValueLabel.js +4 -0
  16. package/dist/cjs/ComboBoxFreeSolo/components/MultiValueLabel.js.map +1 -1
  17. package/dist/cjs/ComboBoxFreeSolo/components/MultiValueRemove.js +4 -0
  18. package/dist/cjs/ComboBoxFreeSolo/components/MultiValueRemove.js.map +1 -1
  19. package/dist/cjs/ComboBoxFreeSolo/components/SingleValue.js +4 -0
  20. package/dist/cjs/ComboBoxFreeSolo/components/SingleValue.js.map +1 -1
  21. package/dist/cjs/ComboBoxFreeSolo/components/SingleValueRemove.js +4 -0
  22. package/dist/cjs/ComboBoxFreeSolo/components/SingleValueRemove.js.map +1 -1
  23. package/dist/cjs/ComboBoxFreeSolo/index.js +4 -0
  24. package/dist/cjs/ComboBoxFreeSolo/index.js.map +1 -1
  25. package/dist/cjs/DateInput/DSDateInput.js +5 -0
  26. package/dist/cjs/DateInput/DSDateInput.js.map +1 -1
  27. package/dist/cjs/DateInput/components/DateInputImpl.js +5 -0
  28. package/dist/cjs/DateInput/components/DateInputImpl.js.map +1 -1
  29. package/dist/cjs/DateInput/components/DateInputs.js +7 -0
  30. package/dist/cjs/DateInput/components/DateInputs.js.map +1 -1
  31. package/dist/cjs/DateInput/components/utils.js +5 -1
  32. package/dist/cjs/DateInput/components/utils.js.map +1 -1
  33. package/dist/cjs/DateInput/defaultProps.js +5 -1
  34. package/dist/cjs/DateInput/defaultProps.js.map +1 -1
  35. package/dist/cjs/DateInput/index.js +4 -0
  36. package/dist/cjs/DateInput/index.js.map +1 -1
  37. package/dist/cjs/DateInput/props.js +46 -0
  38. package/dist/cjs/DateInput/props.js.map +1 -1
  39. package/dist/cjs/DateInputV2/components/DSDateInput.js +4 -0
  40. package/dist/cjs/DateInputV2/components/DSDateInput.js.map +1 -1
  41. package/dist/cjs/DateInputV2/components/DateInputs.js +5 -0
  42. package/dist/cjs/DateInputV2/components/DateInputs.js.map +1 -1
  43. package/dist/cjs/DateInputV2/components/helpers.js +4 -0
  44. package/dist/cjs/DateInputV2/components/helpers.js.map +1 -1
  45. package/dist/cjs/DateInputV2/components/props.js +34 -0
  46. package/dist/cjs/DateInputV2/components/props.js.map +1 -1
  47. package/dist/cjs/DateInputV2/components/propsTypes.js +4 -0
  48. package/dist/cjs/DateInputV2/components/propsTypes.js.map +1 -1
  49. package/dist/cjs/DateInputV2/components/styled.js +4 -0
  50. package/dist/cjs/DateInputV2/components/styled.js.map +1 -1
  51. package/dist/cjs/DateInputV2/components/utils.js +5 -1
  52. package/dist/cjs/DateInputV2/components/utils.js.map +1 -1
  53. package/dist/cjs/DateInputV2/index.js +4 -0
  54. package/dist/cjs/DateInputV2/index.js.map +1 -1
  55. package/dist/cjs/ExpandableInput/DSExpandableInput.js +4 -0
  56. package/dist/cjs/ExpandableInput/DSExpandableInput.js.map +1 -1
  57. package/dist/cjs/ExpandableInput/ExpandableInputImpl.js +4 -0
  58. package/dist/cjs/ExpandableInput/ExpandableInputImpl.js.map +1 -1
  59. package/dist/cjs/ExpandableInput/index.js +4 -0
  60. package/dist/cjs/ExpandableInput/index.js.map +1 -1
  61. package/dist/cjs/FloatingLabelInput/DSFloatingLabelInput.js +67 -0
  62. package/dist/cjs/FloatingLabelInput/DSFloatingLabelInput.js.map +1 -1
  63. package/dist/cjs/FloatingLabelInput/FloatingLabelInputImpl.js +4 -0
  64. package/dist/cjs/FloatingLabelInput/FloatingLabelInputImpl.js.map +1 -1
  65. package/dist/cjs/FloatingLabelInput/getSvgPath.js +7 -1
  66. package/dist/cjs/FloatingLabelInput/getSvgPath.js.map +1 -1
  67. package/dist/cjs/FloatingLabelInput/index.js +4 -0
  68. package/dist/cjs/FloatingLabelInput/index.js.map +1 -1
  69. package/dist/cjs/FormItem/DSFormItemLayout.js +6 -0
  70. package/dist/cjs/FormItem/DSFormItemLayout.js.map +1 -1
  71. package/dist/cjs/FormItem/Error/DSError.js +6 -0
  72. package/dist/cjs/FormItem/Error/DSError.js.map +1 -1
  73. package/dist/cjs/FormItem/Feedback.js +4 -0
  74. package/dist/cjs/FormItem/Feedback.js.map +1 -1
  75. package/dist/cjs/FormItem/Label/DSLabel.js +4 -0
  76. package/dist/cjs/FormItem/Label/DSLabel.js.map +1 -1
  77. package/dist/cjs/FormItem/Suffix/Suffix.js +4 -0
  78. package/dist/cjs/FormItem/Suffix/Suffix.js.map +1 -1
  79. package/dist/cjs/FormItem/ValidationFieldWrapper.js +5 -0
  80. package/dist/cjs/FormItem/ValidationFieldWrapper.js.map +1 -1
  81. package/dist/cjs/FormItem/defaultProps.js +4 -0
  82. package/dist/cjs/FormItem/defaultProps.js.map +1 -1
  83. package/dist/cjs/FormItem/index.js +4 -0
  84. package/dist/cjs/FormItem/index.js.map +1 -1
  85. package/dist/cjs/FormItem/props.js +44 -0
  86. package/dist/cjs/FormItem/props.js.map +1 -1
  87. package/dist/cjs/FormItem/variants.js +4 -0
  88. package/dist/cjs/FormItem/variants.js.map +1 -1
  89. package/dist/cjs/Input/DSInput.js +4 -0
  90. package/dist/cjs/Input/DSInput.js.map +1 -1
  91. package/dist/cjs/Input/InputAddonWrapper.js +4 -0
  92. package/dist/cjs/Input/InputAddonWrapper.js.map +1 -1
  93. package/dist/cjs/Input/InputImpl.js +4 -0
  94. package/dist/cjs/Input/InputImpl.js.map +1 -1
  95. package/dist/cjs/Input/index.js +4 -0
  96. package/dist/cjs/Input/index.js.map +1 -1
  97. package/dist/cjs/InputGroup/AddonWrapper.js +4 -0
  98. package/dist/cjs/InputGroup/AddonWrapper.js.map +1 -1
  99. package/dist/cjs/InputGroup/DSInputGroup.js +5 -0
  100. package/dist/cjs/InputGroup/DSInputGroup.js.map +1 -1
  101. package/dist/cjs/InputGroup/defaultProps.js +4 -0
  102. package/dist/cjs/InputGroup/defaultProps.js.map +1 -1
  103. package/dist/cjs/InputGroup/index.js +4 -0
  104. package/dist/cjs/InputGroup/index.js.map +1 -1
  105. package/dist/cjs/InputGroup/props.js +19 -0
  106. package/dist/cjs/InputGroup/props.js.map +1 -1
  107. package/dist/cjs/InputMask/DSInputMask.js +4 -0
  108. package/dist/cjs/InputMask/DSInputMask.js.map +1 -1
  109. package/dist/cjs/InputMask/DSInputMaskDeprecated.js +11 -0
  110. package/dist/cjs/InputMask/DSInputMaskDeprecated.js.map +1 -1
  111. package/dist/cjs/InputMask/InputMaskContext.js +4 -0
  112. package/dist/cjs/InputMask/InputMaskContext.js.map +1 -1
  113. package/dist/cjs/InputMask/MaskPipes.js +4 -0
  114. package/dist/cjs/InputMask/MaskPipes.js.map +1 -1
  115. package/dist/cjs/InputMask/MaskTypes.js +4 -0
  116. package/dist/cjs/InputMask/MaskTypes.js.map +1 -1
  117. package/dist/cjs/InputMask/addons/AutoCorrectedDatePipe.js +4 -0
  118. package/dist/cjs/InputMask/addons/AutoCorrectedDatePipe.js.map +1 -1
  119. package/dist/cjs/InputMask/defaultProps.js +4 -0
  120. package/dist/cjs/InputMask/defaultProps.js.map +1 -1
  121. package/dist/cjs/InputMask/index.js +4 -0
  122. package/dist/cjs/InputMask/index.js.map +1 -1
  123. package/dist/cjs/InputMask/mask_types/DateInputMask.js +4 -0
  124. package/dist/cjs/InputMask/mask_types/DateInputMask.js.map +1 -1
  125. package/dist/cjs/InputMask/mask_types/DateTimeInputMask.js +4 -0
  126. package/dist/cjs/InputMask/mask_types/DateTimeInputMask.js.map +1 -1
  127. package/dist/cjs/InputMask/mask_types/DictionaryInputMask.js +4 -0
  128. package/dist/cjs/InputMask/mask_types/DictionaryInputMask.js.map +1 -1
  129. package/dist/cjs/InputMask/mask_types/NumberInputMask.js +4 -0
  130. package/dist/cjs/InputMask/mask_types/NumberInputMask.js.map +1 -1
  131. package/dist/cjs/InputMask/mask_types/PhoneInputMask.js +4 -0
  132. package/dist/cjs/InputMask/mask_types/PhoneInputMask.js.map +1 -1
  133. package/dist/cjs/InputMask/mask_types/PhoneInternationalInputMask.js +4 -0
  134. package/dist/cjs/InputMask/mask_types/PhoneInternationalInputMask.js.map +1 -1
  135. package/dist/cjs/InputMask/mask_types/SsnInputMask.js +4 -0
  136. package/dist/cjs/InputMask/mask_types/SsnInputMask.js.map +1 -1
  137. package/dist/cjs/InputMask/mask_types/UsZipCodeInputMask.js +4 -0
  138. package/dist/cjs/InputMask/mask_types/UsZipCodeInputMask.js.map +1 -1
  139. package/dist/cjs/InputMask/mask_types/ZipCodeSearchInputMask.js +4 -0
  140. package/dist/cjs/InputMask/mask_types/ZipCodeSearchInputMask.js.map +1 -1
  141. package/dist/cjs/InputMask/mask_types/index.js +4 -0
  142. package/dist/cjs/InputMask/mask_types/index.js.map +1 -1
  143. package/dist/cjs/InputMask/props.js +84 -0
  144. package/dist/cjs/InputMask/props.js.map +1 -1
  145. package/dist/cjs/InputMask/types/index.js +4 -0
  146. package/dist/cjs/InputMask/types/index.js.map +1 -1
  147. package/dist/cjs/InputMask/utils/setCaretPosition.js +4 -0
  148. package/dist/cjs/InputMask/utils/setCaretPosition.js.map +1 -1
  149. package/dist/cjs/InputProtected/DSInputProtected.js +4 -0
  150. package/dist/cjs/InputProtected/DSInputProtected.js.map +1 -1
  151. package/dist/cjs/InputProtected/defaultProps.js +4 -0
  152. package/dist/cjs/InputProtected/defaultProps.js.map +1 -1
  153. package/dist/cjs/InputProtected/index.js +4 -0
  154. package/dist/cjs/InputProtected/index.js.map +1 -1
  155. package/dist/cjs/InputProtected/options.js +4 -0
  156. package/dist/cjs/InputProtected/options.js.map +1 -1
  157. package/dist/cjs/InputProtected/props.js +8 -0
  158. package/dist/cjs/InputProtected/props.js.map +1 -1
  159. package/dist/cjs/LargeInputText/DSLargeInputText.js +4 -0
  160. package/dist/cjs/LargeInputText/DSLargeInputText.js.map +1 -1
  161. package/dist/cjs/LargeInputText/defaultProps.js +4 -0
  162. package/dist/cjs/LargeInputText/defaultProps.js.map +1 -1
  163. package/dist/cjs/LargeInputText/index.js +4 -0
  164. package/dist/cjs/LargeInputText/index.js.map +1 -1
  165. package/dist/cjs/LargeInputText/props.js +70 -0
  166. package/dist/cjs/LargeInputText/props.js.map +1 -1
  167. package/dist/cjs/MenuItem/components/MenuItem/index.js +4 -0
  168. package/dist/cjs/MenuItem/components/MenuItem/index.js.map +1 -1
  169. package/dist/cjs/MenuItem/components/MenuItem/styled.js +4 -0
  170. package/dist/cjs/MenuItem/components/MenuItem/styled.js.map +1 -1
  171. package/dist/cjs/MenuItem/components/MultiMenuItem/MultiMenuItem.js +4 -0
  172. package/dist/cjs/MenuItem/components/MultiMenuItem/MultiMenuItem.js.map +1 -1
  173. package/dist/cjs/MenuItem/components/MultiMenuItem/styled.js +4 -0
  174. package/dist/cjs/MenuItem/components/MultiMenuItem/styled.js.map +1 -1
  175. package/dist/cjs/MenuItem/components/Section/index.js +4 -0
  176. package/dist/cjs/MenuItem/components/Section/index.js.map +1 -1
  177. package/dist/cjs/MenuItem/components/Section/props.js +4 -0
  178. package/dist/cjs/MenuItem/components/Section/props.js.map +1 -1
  179. package/dist/cjs/MenuItem/components/Section/styled.js +4 -0
  180. package/dist/cjs/MenuItem/components/Section/styled.js.map +1 -1
  181. package/dist/cjs/MenuItem/components/Separator/index.js +4 -0
  182. package/dist/cjs/MenuItem/components/Separator/index.js.map +1 -1
  183. package/dist/cjs/MenuItem/components/Separator/styled.js +4 -0
  184. package/dist/cjs/MenuItem/components/Separator/styled.js.map +1 -1
  185. package/dist/cjs/MenuItem/components/SingleMenuItem/SingleMenuItem.js +4 -0
  186. package/dist/cjs/MenuItem/components/SingleMenuItem/SingleMenuItem.js.map +1 -1
  187. package/dist/cjs/MenuItem/components/SubmenuItem/index.js +4 -0
  188. package/dist/cjs/MenuItem/components/SubmenuItem/index.js.map +1 -1
  189. package/dist/cjs/MenuItem/components/SubmenuItem/styled.js +4 -0
  190. package/dist/cjs/MenuItem/components/SubmenuItem/styled.js.map +1 -1
  191. package/dist/cjs/MenuItem/components/index.js +4 -0
  192. package/dist/cjs/MenuItem/components/index.js.map +1 -1
  193. package/dist/cjs/MenuItem/components/styled.js +4 -0
  194. package/dist/cjs/MenuItem/components/styled.js.map +1 -1
  195. package/dist/cjs/MenuItem/index.js +4 -0
  196. package/dist/cjs/MenuItem/index.js.map +1 -1
  197. package/dist/cjs/MenuItem/props.js +4 -0
  198. package/dist/cjs/MenuItem/props.js.map +1 -1
  199. package/dist/cjs/Radio/Circle.js +4 -0
  200. package/dist/cjs/Radio/Circle.js.map +1 -1
  201. package/dist/cjs/Radio/DSRadio.js +34 -0
  202. package/dist/cjs/Radio/DSRadio.js.map +1 -1
  203. package/dist/cjs/Radio/index.js +4 -0
  204. package/dist/cjs/Radio/index.js.map +1 -1
  205. package/dist/cjs/RadioGroup/DSRadioGroup.js +4 -0
  206. package/dist/cjs/RadioGroup/DSRadioGroup.js.map +1 -1
  207. package/dist/cjs/RadioGroup/defaultProps.js +4 -0
  208. package/dist/cjs/RadioGroup/defaultProps.js.map +1 -1
  209. package/dist/cjs/RadioGroup/index.js +4 -0
  210. package/dist/cjs/RadioGroup/index.js.map +1 -1
  211. package/dist/cjs/RadioGroup/props.js +20 -0
  212. package/dist/cjs/RadioGroup/props.js.map +1 -1
  213. package/dist/cjs/RequiredMark/RequiredMark.js +4 -0
  214. package/dist/cjs/RequiredMark/RequiredMark.js.map +1 -1
  215. package/dist/cjs/RequiredMark/index.js +4 -0
  216. package/dist/cjs/RequiredMark/index.js.map +1 -1
  217. package/dist/cjs/SearchBox/index.js +4 -0
  218. package/dist/cjs/SearchBox/index.js.map +1 -1
  219. package/dist/cjs/TextBox/index.js +4 -0
  220. package/dist/cjs/TextBox/index.js.map +1 -1
  221. package/dist/cjs/TimeInput/DSTimeInput.js +27 -0
  222. package/dist/cjs/TimeInput/DSTimeInput.js.map +1 -1
  223. package/dist/cjs/TimeInput/TimeInputImpl.js +31 -0
  224. package/dist/cjs/TimeInput/TimeInputImpl.js.map +1 -1
  225. package/dist/cjs/TimeInput/TimeInputs.js +5 -0
  226. package/dist/cjs/TimeInput/TimeInputs.js.map +1 -1
  227. package/dist/cjs/TimeInput/index.js +4 -0
  228. package/dist/cjs/TimeInput/index.js.map +1 -1
  229. package/dist/cjs/TimeInput/utils.js +4 -0
  230. package/dist/cjs/TimeInput/utils.js.map +1 -1
  231. package/dist/cjs/Toggle/DSToggle.js +37 -0
  232. package/dist/cjs/Toggle/DSToggle.js.map +1 -1
  233. package/dist/cjs/Toggle/DSToggleImpl.js +37 -0
  234. package/dist/cjs/Toggle/DSToggleImpl.js.map +1 -1
  235. package/dist/cjs/Toggle/DSToggleRender.js +4 -0
  236. package/dist/cjs/Toggle/DSToggleRender.js.map +1 -1
  237. package/dist/cjs/Toggle/index.js +4 -0
  238. package/dist/cjs/Toggle/index.js.map +1 -1
  239. package/dist/cjs/Toggle/props.js +37 -0
  240. package/dist/cjs/Toggle/props.js.map +1 -1
  241. package/dist/cjs/Toggle/toggleHelper.js +4 -0
  242. package/dist/cjs/Toggle/toggleHelper.js.map +1 -1
  243. package/dist/cjs/index.js +4 -0
  244. package/dist/cjs/index.js.map +1 -1
  245. package/dist/esm/CheckboxGroup/DSCheckboxGroup.js.map +1 -1
  246. package/dist/esm/CheckboxGroup/props.js +18 -0
  247. package/dist/esm/CheckboxGroup/props.js.map +1 -1
  248. package/dist/esm/ComboBoxFreeSolo/ComboBoxFreeSolo.js +43 -0
  249. package/dist/esm/ComboBoxFreeSolo/ComboBoxFreeSolo.js.map +1 -1
  250. package/dist/esm/ComboBoxFreeSolo/components/MultiValueLabel.js.map +1 -1
  251. package/dist/esm/DateInput/DSDateInput.js +1 -0
  252. package/dist/esm/DateInput/DSDateInput.js.map +1 -1
  253. package/dist/esm/DateInput/components/DateInputImpl.js +1 -0
  254. package/dist/esm/DateInput/components/DateInputImpl.js.map +1 -1
  255. package/dist/esm/DateInput/components/DateInputs.js +3 -0
  256. package/dist/esm/DateInput/components/DateInputs.js.map +1 -1
  257. package/dist/esm/DateInput/components/utils.js +1 -1
  258. package/dist/esm/DateInput/components/utils.js.map +1 -1
  259. package/dist/esm/DateInput/defaultProps.js +1 -1
  260. package/dist/esm/DateInput/defaultProps.js.map +1 -1
  261. package/dist/esm/DateInput/props.js +42 -0
  262. package/dist/esm/DateInput/props.js.map +1 -1
  263. package/dist/esm/DateInputV2/components/DateInputs.js +1 -0
  264. package/dist/esm/DateInputV2/components/DateInputs.js.map +1 -1
  265. package/dist/esm/DateInputV2/components/props.js +30 -0
  266. package/dist/esm/DateInputV2/components/props.js.map +1 -1
  267. package/dist/esm/DateInputV2/components/styled.js.map +1 -1
  268. package/dist/esm/DateInputV2/components/utils.js +1 -1
  269. package/dist/esm/DateInputV2/components/utils.js.map +1 -1
  270. package/dist/esm/FloatingLabelInput/DSFloatingLabelInput.js +63 -0
  271. package/dist/esm/FloatingLabelInput/DSFloatingLabelInput.js.map +1 -1
  272. package/dist/esm/FloatingLabelInput/getSvgPath.js +3 -1
  273. package/dist/esm/FloatingLabelInput/getSvgPath.js.map +1 -1
  274. package/dist/esm/FormItem/DSFormItemLayout.js +2 -0
  275. package/dist/esm/FormItem/DSFormItemLayout.js.map +1 -1
  276. package/dist/esm/FormItem/Error/DSError.js +2 -0
  277. package/dist/esm/FormItem/Error/DSError.js.map +1 -1
  278. package/dist/esm/FormItem/ValidationFieldWrapper.js +1 -0
  279. package/dist/esm/FormItem/ValidationFieldWrapper.js.map +1 -1
  280. package/dist/esm/FormItem/props.js +40 -0
  281. package/dist/esm/FormItem/props.js.map +1 -1
  282. package/dist/esm/InputGroup/DSInputGroup.js +1 -0
  283. package/dist/esm/InputGroup/DSInputGroup.js.map +1 -1
  284. package/dist/esm/InputGroup/props.js +15 -0
  285. package/dist/esm/InputGroup/props.js.map +1 -1
  286. package/dist/esm/InputMask/DSInputMask.js.map +1 -1
  287. package/dist/esm/InputMask/DSInputMaskDeprecated.js +7 -0
  288. package/dist/esm/InputMask/DSInputMaskDeprecated.js.map +1 -1
  289. package/dist/esm/InputMask/addons/AutoCorrectedDatePipe.js.map +1 -1
  290. package/dist/esm/InputMask/mask_types/DateInputMask.js.map +1 -1
  291. package/dist/esm/InputMask/mask_types/DateTimeInputMask.js.map +1 -1
  292. package/dist/esm/InputMask/mask_types/DictionaryInputMask.js.map +1 -1
  293. package/dist/esm/InputMask/mask_types/NumberInputMask.js.map +1 -1
  294. package/dist/esm/InputMask/mask_types/PhoneInputMask.js.map +1 -1
  295. package/dist/esm/InputMask/mask_types/PhoneInternationalInputMask.js.map +1 -1
  296. package/dist/esm/InputMask/mask_types/SsnInputMask.js.map +1 -1
  297. package/dist/esm/InputMask/mask_types/UsZipCodeInputMask.js.map +1 -1
  298. package/dist/esm/InputMask/mask_types/ZipCodeSearchInputMask.js.map +1 -1
  299. package/dist/esm/InputMask/mask_types/index.js.map +1 -1
  300. package/dist/esm/InputMask/props.js +80 -0
  301. package/dist/esm/InputMask/props.js.map +1 -1
  302. package/dist/esm/InputProtected/DSInputProtected.js.map +1 -1
  303. package/dist/esm/InputProtected/props.js +4 -0
  304. package/dist/esm/InputProtected/props.js.map +1 -1
  305. package/dist/esm/LargeInputText/props.js +66 -0
  306. package/dist/esm/LargeInputText/props.js.map +1 -1
  307. package/dist/esm/Radio/Circle.js.map +1 -1
  308. package/dist/esm/Radio/DSRadio.js +30 -0
  309. package/dist/esm/Radio/DSRadio.js.map +1 -1
  310. package/dist/esm/RadioGroup/DSRadioGroup.js.map +1 -1
  311. package/dist/esm/RadioGroup/props.js +16 -0
  312. package/dist/esm/RadioGroup/props.js.map +1 -1
  313. package/dist/esm/TimeInput/DSTimeInput.js +23 -0
  314. package/dist/esm/TimeInput/DSTimeInput.js.map +1 -1
  315. package/dist/esm/TimeInput/TimeInputImpl.js +27 -0
  316. package/dist/esm/TimeInput/TimeInputImpl.js.map +1 -1
  317. package/dist/esm/TimeInput/TimeInputs.js +1 -0
  318. package/dist/esm/TimeInput/TimeInputs.js.map +1 -1
  319. package/dist/esm/Toggle/DSToggle.js +33 -0
  320. package/dist/esm/Toggle/DSToggle.js.map +1 -1
  321. package/dist/esm/Toggle/DSToggleImpl.js +33 -0
  322. package/dist/esm/Toggle/DSToggleImpl.js.map +1 -1
  323. package/dist/esm/Toggle/props.js +33 -0
  324. package/dist/esm/Toggle/props.js.map +1 -1
  325. package/package.json +16 -16
@@ -18,6 +18,10 @@ var __copyProps = (to, from, except, desc) => {
18
18
  return to;
19
19
  };
20
20
  var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
21
+ // If the importer is in node compatibility mode or this is not an ESM
22
+ // file that has been converted to a CommonJS file using a Babel-
23
+ // compatible transform (i.e. "__esModule" has not been set), then set
24
+ // "default" to the CommonJS "module.exports" for node compatibility.
21
25
  isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
22
26
  mod
23
27
  ));
@@ -30,41 +34,121 @@ module.exports = __toCommonJS(props_exports);
30
34
  var React = __toESM(require("react"));
31
35
  var import_ds_props_helpers = require("@elliemae/ds-props-helpers");
32
36
  const inputProps = {
37
+ /** Should component focus automatically */
33
38
  autoFocus: import_ds_props_helpers.PropTypes.bool.description("Should component focus automatically"),
39
+ /**
40
+ * Set style for the input mask
41
+ */
34
42
  style: import_ds_props_helpers.PropTypes.object.description("Set style for the input mask"),
43
+ /**
44
+ * Whether the input mask is disabled or not
45
+ */
35
46
  disabled: import_ds_props_helpers.PropTypes.bool.description("Whether the input mask is disabled or not"),
47
+ /** disableTooltip */
36
48
  disableTooltip: import_ds_props_helpers.PropTypes.bool.description("Whether to show a tooltip or not when text does not fit").defaultValue(true),
49
+ /** css class */
37
50
  className: import_ds_props_helpers.PropTypes.string.description("css class"),
51
+ /** html name prop for form */
38
52
  name: import_ds_props_helpers.PropTypes.string.description("html name prop for form"),
53
+ /**
54
+ * Max length for the input mask
55
+ */
39
56
  maxLength: import_ds_props_helpers.PropTypes.number.description("Max length for the input mask"),
57
+ /**
58
+ * Min length for the input mask
59
+ */
40
60
  minLength: import_ds_props_helpers.PropTypes.number.description("Min length for the input mask"),
61
+ /**
62
+ * Whether to make the content of the input mask fit the container or not
63
+ */
41
64
  fluidWidth: import_ds_props_helpers.PropTypes.bool.description("Whether to make the content of the input mask fit the container or not"),
65
+ /** isShowElipsisActive */
42
66
  isShowElipsisActive: import_ds_props_helpers.PropTypes.bool.description("Wheter to enable the ellipsis and tooltip functionality or not").defaultValue(true),
67
+ /**
68
+ * Component that works as placeholder
69
+ */
43
70
  placeholder: import_ds_props_helpers.PropTypes.node.description("Component that works as placeholder"),
71
+ /**
72
+ * Allows a function that is triggered once a key is being pressed
73
+ */
44
74
  onKeyDown: import_ds_props_helpers.PropTypes.func.description("Allows a function that is triggered once a key is being pressed"),
75
+ /**
76
+ * Allows a function that is triggered once the input mask is clicked
77
+ */
45
78
  onClick: import_ds_props_helpers.PropTypes.func.description("Allows a function that is triggered once the input mask is clicked"),
79
+ /**
80
+ * Allows a function that is triggered once the input mask changes
81
+ */
46
82
  onChange: import_ds_props_helpers.PropTypes.func.description("Allows a function that is triggered once the input mask changes"),
83
+ /**
84
+ * Allows a function that is triggered once the input mask is focused
85
+ */
47
86
  onFocus: import_ds_props_helpers.PropTypes.func.description("Allows a function that is triggered once the input mask is focused"),
87
+ /**
88
+ * Allows a function that is triggered once the input mask loses focus
89
+ */
48
90
  onBlur: import_ds_props_helpers.PropTypes.func.description("Allows a function that is triggered once the input mask loses focus"),
91
+ /**
92
+ * Allows a function that is triggered once the input mask is pasted
93
+ */
49
94
  onPaste: import_ds_props_helpers.PropTypes.func.description("Allows a function that is triggered once the input mask is pasted"),
95
+ /**
96
+ * Allows a function that is triggered once in the input mask a keyboard key is released
97
+ */
50
98
  onKeyUp: import_ds_props_helpers.PropTypes.func.description(
51
99
  "Allows a function that is triggered once in the input mask a keyboard key is released"
52
100
  ),
101
+ /**
102
+ * Default value once the component is initialized
103
+ */
53
104
  value: import_ds_props_helpers.PropTypes.string.description("Default value once the component is initialized"),
105
+ /**
106
+ * Whether the input mask has error or not
107
+ */
54
108
  hasError: import_ds_props_helpers.PropTypes.bool.description("Whether the input mask has error or not"),
109
+ /**
110
+ * Whether the input mask is read only or not
111
+ */
55
112
  readOnly: import_ds_props_helpers.PropTypes.bool.description("Whether the input mask is read only or not"),
56
113
  innerRef: import_ds_props_helpers.PropTypes.oneOfType([import_ds_props_helpers.PropTypes.func, import_ds_props_helpers.PropTypes.shape({ current: import_ds_props_helpers.PropTypes.any })]).description(
57
114
  "Whether the input mask is read only or not"
58
115
  ),
116
+ /**
117
+ * Type of input. Ex: 'text'
118
+ */
59
119
  type: import_ds_props_helpers.PropTypes.string.description("Type of input. Ex: 'text'"),
120
+ /**
121
+ * Whether the input mask is clearable or not
122
+ */
60
123
  clearable: import_ds_props_helpers.PropTypes.bool.description("Whether the input mask is clearable or not"),
124
+ /**
125
+ * Component to be added at the right side of the input
126
+ */
61
127
  leftComponent: import_ds_props_helpers.PropTypes.node.description("Component to be added at the right side of the input"),
128
+ /**
129
+ * Component to be added at the right side of the input
130
+ */
62
131
  rightComponent: import_ds_props_helpers.PropTypes.node.description("Component to be added at the right side of the input"),
132
+ /**
133
+ * Mask that has to match with the input information entered
134
+ * ['DATE', 'PHONE', 'PHONE_INTENATIONAL', 'SSN', 'US_ZIP_CODE', 'NUMBER', 'PERCENT']
135
+ */
63
136
  mask: import_ds_props_helpers.PropTypes.oneOfType([import_ds_props_helpers.PropTypes.array, import_ds_props_helpers.PropTypes.string, import_ds_props_helpers.PropTypes.func, import_ds_props_helpers.PropTypes.object]).description(
64
137
  "Mask that has to match with the input information entered. ['DATE', 'PHONE', 'PHONE_INTENATIONAL', 'SSN', 'US_ZIP_CODE', 'NUMBER', 'PERCENT', 'ZIP_CODE_SEARCH']"
65
138
  ),
139
+ /**
140
+ Expects pipe functions. i.e. autoCorrectedDatePipe
141
+ link a docu de text-mask
142
+ */
66
143
  pipe: import_ds_props_helpers.PropTypes.func.description("Expects pipe functions. i.e. autoCorrectedDatePipe"),
144
+ /**
145
+ * Put a sufix after the input mask
146
+ */
67
147
  useSubfix: import_ds_props_helpers.PropTypes.string.description("Put a sufix after the input mask"),
148
+ /**
149
+ * The placeholder character represents the fillable spot in the mask.
150
+ * The default placeholder character is underscore, _
151
+ */
68
152
  placeholderChar: import_ds_props_helpers.PropTypes.string.description(
69
153
  `The placeholder character represents the fillable spot in the mask.
70
154
  The default placeholder character is underscore, _.`
@@ -2,6 +2,6 @@
2
2
  "version": 3,
3
3
  "sources": ["../../../src/InputMask/props.tsx", "../../../../../scripts/build/transpile/react-shim.js"],
4
4
  "sourcesContent": ["import { PropTypes } from '@elliemae/ds-props-helpers';\n\nexport const inputProps = {\n /** Should component focus automatically */\n autoFocus: PropTypes.bool.description('Should component focus automatically'),\n /**\n * Set style for the input mask\n */\n style: PropTypes.object.description('Set style for the input mask'),\n /**\n * Whether the input mask is disabled or not\n */\n disabled: PropTypes.bool.description('Whether the input mask is disabled or not'),\n /** disableTooltip */\n disableTooltip: PropTypes.bool\n .description('Whether to show a tooltip or not when text does not fit')\n .defaultValue(true),\n /** css class */\n className: PropTypes.string.description('css class'),\n /** html name prop for form */\n name: PropTypes.string.description('html name prop for form'),\n /**\n * Max length for the input mask\n */\n maxLength: PropTypes.number.description('Max length for the input mask'),\n /**\n * Min length for the input mask\n */\n minLength: PropTypes.number.description('Min length for the input mask'),\n /**\n * Whether to make the content of the input mask fit the container or not\n */\n fluidWidth: PropTypes.bool.description('Whether to make the content of the input mask fit the container or not'),\n /** isShowElipsisActive */\n isShowElipsisActive: PropTypes.bool\n .description('Wheter to enable the ellipsis and tooltip functionality or not')\n .defaultValue(true),\n /**\n * Component that works as placeholder\n */\n placeholder: PropTypes.node.description('Component that works as placeholder'),\n /**\n * Allows a function that is triggered once a key is being pressed\n */\n onKeyDown: PropTypes.func.description('Allows a function that is triggered once a key is being pressed'),\n /**\n * Allows a function that is triggered once the input mask is clicked\n */\n onClick: PropTypes.func.description('Allows a function that is triggered once the input mask is clicked'),\n /**\n * Allows a function that is triggered once the input mask changes\n */\n onChange: PropTypes.func.description('Allows a function that is triggered once the input mask changes'),\n /**\n * Allows a function that is triggered once the input mask is focused\n */\n onFocus: PropTypes.func.description('Allows a function that is triggered once the input mask is focused'),\n /**\n * Allows a function that is triggered once the input mask loses focus\n */\n onBlur: PropTypes.func.description('Allows a function that is triggered once the input mask loses focus'),\n /**\n * Allows a function that is triggered once the input mask is pasted\n */\n onPaste: PropTypes.func.description('Allows a function that is triggered once the input mask is pasted'),\n /**\n * Allows a function that is triggered once in the input mask a keyboard key is released\n */\n onKeyUp: PropTypes.func.description(\n 'Allows a function that is triggered once in the input mask a keyboard key is released',\n ),\n /**\n * Default value once the component is initialized\n */\n value: PropTypes.string.description('Default value once the component is initialized'),\n /**\n * Whether the input mask has error or not\n */\n hasError: PropTypes.bool.description('Whether the input mask has error or not'),\n /**\n * Whether the input mask is read only or not\n */\n readOnly: PropTypes.bool.description('Whether the input mask is read only or not'),\n innerRef: PropTypes.oneOfType([PropTypes.func, PropTypes.shape({ current: PropTypes.any })]).description(\n 'Whether the input mask is read only or not',\n ),\n /**\n * Type of input. Ex: 'text'\n */\n type: PropTypes.string.description(\"Type of input. Ex: 'text'\"),\n /**\n * Whether the input mask is clearable or not\n */\n clearable: PropTypes.bool.description('Whether the input mask is clearable or not'),\n /**\n * Component to be added at the right side of the input\n */\n leftComponent: PropTypes.node.description('Component to be added at the right side of the input'),\n /**\n * Component to be added at the right side of the input\n */\n rightComponent: PropTypes.node.description('Component to be added at the right side of the input'),\n /**\n * Mask that has to match with the input information entered\n * ['DATE', 'PHONE', 'PHONE_INTENATIONAL', 'SSN', 'US_ZIP_CODE', 'NUMBER', 'PERCENT']\n */\n mask: PropTypes.oneOfType([PropTypes.array, PropTypes.string, PropTypes.func, PropTypes.object]).description(\n \"Mask that has to match with the input information entered. ['DATE', 'PHONE', 'PHONE_INTENATIONAL', 'SSN', 'US_ZIP_CODE', 'NUMBER', 'PERCENT', 'ZIP_CODE_SEARCH']\",\n ),\n /**\n Expects pipe functions. i.e. autoCorrectedDatePipe\n link a docu de text-mask\n */\n pipe: PropTypes.func.description('Expects pipe functions. i.e. autoCorrectedDatePipe'),\n /**\n * Put a sufix after the input mask\n */\n useSubfix: PropTypes.string.description('Put a sufix after the input mask'),\n /**\n * The placeholder character represents the fillable spot in the mask.\n * The default placeholder character is underscore, _\n */\n placeholderChar: PropTypes.string\n .description(\n `The placeholder character represents the fillable spot in the mask.\n The default placeholder character is underscore, _.`,\n )\n .defaultValue('_'),\n};\n", "import * as React from 'react';\nexport { React };\n"],
5
- "mappings": ";;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;ACAA,YAAuB;ADAvB,8BAA0B;AAEnB,MAAM,aAAa;AAAA,EAExB,WAAW,kCAAU,KAAK,YAAY,sCAAsC;AAAA,EAI5E,OAAO,kCAAU,OAAO,YAAY,8BAA8B;AAAA,EAIlE,UAAU,kCAAU,KAAK,YAAY,2CAA2C;AAAA,EAEhF,gBAAgB,kCAAU,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E,iBAAiB,kCAAU,OACxB;AAAA,IACC;AAAA;AAAA,EAEF,EACC,aAAa,GAAG;AACrB;",
6
6
  "names": []
7
7
  }
@@ -14,6 +14,10 @@ var __copyProps = (to, from, except, desc) => {
14
14
  return to;
15
15
  };
16
16
  var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
17
+ // If the importer is in node compatibility mode or this is not an ESM
18
+ // file that has been converted to a CommonJS file using a Babel-
19
+ // compatible transform (i.e. "__esModule" has not been set), then set
20
+ // "default" to the CommonJS "module.exports" for node compatibility.
17
21
  isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
18
22
  mod
19
23
  ));
@@ -2,6 +2,6 @@
2
2
  "version": 3,
3
3
  "sources": ["../../../../src/InputMask/types/index.ts", "../../../../../../scripts/build/transpile/react-shim.js"],
4
4
  "sourcesContent": ["export type TCharsToAdd = [string, number][];\n\nexport type TLastkey = { code: number; key: string };\n", "import * as React from 'react';\nexport { React };\n"],
5
- "mappings": ";;;;;;;;;;;;;;;;;;;;AAAA;AAAA;ACAA,YAAuB;",
5
+ "mappings": ";;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;ACAA,YAAuB;",
6
6
  "names": []
7
7
  }
@@ -18,6 +18,10 @@ var __copyProps = (to, from, except, desc) => {
18
18
  return to;
19
19
  };
20
20
  var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
21
+ // If the importer is in node compatibility mode or this is not an ESM
22
+ // file that has been converted to a CommonJS file using a Babel-
23
+ // compatible transform (i.e. "__esModule" has not been set), then set
24
+ // "default" to the CommonJS "module.exports" for node compatibility.
21
25
  isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
22
26
  mod
23
27
  ));
@@ -2,6 +2,6 @@
2
2
  "version": 3,
3
3
  "sources": ["../../../../src/InputMask/utils/setCaretPosition.tsx", "../../../../../../scripts/build/transpile/react-shim.js"],
4
4
  "sourcesContent": ["const setCaretPosition = (ctrl, pos) => {\n // Modern browsers\n if (ctrl?.setSelectionRange) {\n ctrl?.focus();\n ctrl?.setSelectionRange(pos, pos);\n\n // IE8 and below\n } else if (ctrl?.createTextRange) {\n const range = ctrl?.createTextRange();\n range?.collapse(true);\n range?.moveEnd('character', pos);\n range?.moveStart('character', pos);\n range?.select();\n }\n};\n\nexport { setCaretPosition };\nexport default setCaretPosition;\n", "import * as React from 'react';\nexport { React };\n"],
5
- "mappings": ";;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;ACAA,YAAuB;ADAvB,MAAM,mBAAmB,CAAC,MAAM,QAAQ;AAEtC,MAAI,MAAM,mBAAmB;AAC3B,UAAM,MAAM;AACZ,UAAM,kBAAkB,KAAK,GAAG;AAAA,EAGlC,WAAW,MAAM,iBAAiB;AAChC,UAAM,QAAQ,MAAM,gBAAgB;AACpC,WAAO,SAAS,IAAI;AACpB,WAAO,QAAQ,aAAa,GAAG;AAC/B,WAAO,UAAU,aAAa,GAAG;AACjC,WAAO,OAAO;AAAA,EAChB;AACF;AAGA,IAAO,2BAAQ;",
5
+ "mappings": ";;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;ACAA,YAAuB;ADAvB,MAAM,mBAAmB,CAAC,MAAM,QAAQ;AAEtC,MAAI,MAAM,mBAAmB;AAC3B,UAAM,MAAM;AACZ,UAAM,kBAAkB,KAAK,GAAG;AAAA,EAGlC,WAAW,MAAM,iBAAiB;AAChC,UAAM,QAAQ,MAAM,gBAAgB;AACpC,WAAO,SAAS,IAAI;AACpB,WAAO,QAAQ,aAAa,GAAG;AAC/B,WAAO,UAAU,aAAa,GAAG;AACjC,WAAO,OAAO;AAAA,EAChB;AACF;AAGA,IAAO,2BAAQ;",
6
6
  "names": []
7
7
  }
@@ -18,6 +18,10 @@ var __copyProps = (to, from, except, desc) => {
18
18
  return to;
19
19
  };
20
20
  var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
21
+ // If the importer is in node compatibility mode or this is not an ESM
22
+ // file that has been converted to a CommonJS file using a Babel-
23
+ // compatible transform (i.e. "__esModule" has not been set), then set
24
+ // "default" to the CommonJS "module.exports" for node compatibility.
21
25
  isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
22
26
  mod
23
27
  ));
@@ -2,6 +2,6 @@
2
2
  "version": 3,
3
3
  "sources": ["../../../src/InputProtected/DSInputProtected.tsx", "../../../../../scripts/build/transpile/react-shim.js"],
4
4
  "sourcesContent": ["/* eslint-disable import/no-unresolved */\n/* eslint-disable max-lines */\n/* eslint-disable complexity */\nimport React, { useState, useCallback, useEffect } from 'react';\nimport { useDeprecateComponent } from '@elliemae/ds-utilities';\nimport { describe } from '@elliemae/ds-props-helpers';\nimport { LockUnlocked, LockLocked, VisibleView, InvisibleHide } from '@elliemae/ds-icons';\nimport { DSButton } from '@elliemae/ds-button';\nimport { DSInputGroup } from '../InputGroup/index.js';\nimport { DSInputMask } from '../InputMask/index.js';\nimport { inputProtectedProps } from './props.js';\nimport { defaultProps } from './defaultProps.js';\nimport { LEFT_ADDON_OPTIONS, RIGHT_ADDON_OPTIONS } from './options.js';\n\nconst ADDON_ICON_OPTIONS = {\n LockUnlocked: <LockUnlocked />,\n LockLocked: <LockLocked />,\n VisibleView: <VisibleView />,\n InvisibleHide: <InvisibleHide />,\n};\n\nconst DSInputProtected = ({\n leftAddon,\n rightAddon,\n onChange,\n value,\n readOnly,\n mask,\n type,\n placeholderChar = undefined,\n ...rest\n}) => {\n useDeprecateComponent({ componentName: 'ds-form/InputProtected', version: 'TBD Date: 2023 Q3' });\n\n const left = leftAddon && ADDON_ICON_OPTIONS[leftAddon];\n const right = rightAddon && ADDON_ICON_OPTIONS[rightAddon];\n const [inputLocked, setLocked] = useState(leftAddon === LEFT_ADDON_OPTIONS.LockLocked);\n const [inputHidden, setHidden] = useState(rightAddon === RIGHT_ADDON_OPTIONS.InvisibleHide);\n\n useEffect(() => {\n setLocked(leftAddon === LEFT_ADDON_OPTIONS.LockLocked);\n setHidden(rightAddon === RIGHT_ADDON_OPTIONS.InvisibleHide);\n }, [leftAddon, rightAddon]);\n\n const handleLeft = useCallback(() => {\n setLocked(!inputLocked);\n }, [inputLocked]);\n const handleRight = useCallback(() => {\n setHidden(!inputHidden);\n }, [inputHidden]);\n\n return (\n <div>\n <DSInputGroup\n leftAddon={\n left ? (\n <DSButton\n aria-label={`${inputLocked ? 'Allow' : 'Disallow'} Edition`}\n buttonType=\"secondary\"\n icon={ADDON_ICON_OPTIONS[inputLocked ? LEFT_ADDON_OPTIONS.LockLocked : LEFT_ADDON_OPTIONS.LockUnlocked]}\n onClick={handleLeft}\n />\n ) : undefined\n }\n rightAddon={\n right ? (\n <DSButton\n aria-label={`${inputHidden ? 'Show' : 'Hide'} Characters`}\n buttonType=\"secondary\"\n icon={\n ADDON_ICON_OPTIONS[inputHidden ? RIGHT_ADDON_OPTIONS.InvisibleHide : RIGHT_ADDON_OPTIONS.VisibleView]\n }\n onClick={handleRight}\n containerProps={{\n 'data-testid': 'inputprotected-show-hide-button',\n }}\n />\n ) : undefined\n }\n >\n <DSInputMask\n {...rest}\n mask={mask}\n placeholderChar={placeholderChar}\n onChange={onChange}\n disabled={left ? inputLocked : readOnly}\n type={right && inputHidden ? 'password' : type}\n value={value}\n />\n </DSInputGroup>\n </div>\n );\n};\n\nDSInputProtected.propTypes = inputProtectedProps;\nDSInputProtected.defaultProps = defaultProps;\nDSInputProtected.displayName = 'DSInputProtected';\nconst DSInputProtectedWithSchema = describe(DSInputProtected);\nDSInputProtectedWithSchema.propTypes = inputProtectedProps;\n\nexport { DSInputProtectedWithSchema, DSInputProtected };\nexport default DSInputProtected;\n", "import * as React from 'react';\nexport { React };\n"],
5
- "mappings": ";;;;;;;;;;;;;;;;;;;;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F;AAAA;AAAA,EACF,GACF;AAEJ;AAEA,iBAAiB,YAAY;AAC7B,iBAAiB,eAAe;AAChC,iBAAiB,cAAc;AAC/B,MAAM,iCAA6B,kCAAS,gBAAgB;AAC5D,2BAA2B,YAAY;AAGvC,IAAO,2BAAQ;",
6
6
  "names": []
7
7
  }
@@ -18,6 +18,10 @@ var __copyProps = (to, from, except, desc) => {
18
18
  return to;
19
19
  };
20
20
  var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
21
+ // If the importer is in node compatibility mode or this is not an ESM
22
+ // file that has been converted to a CommonJS file using a Babel-
23
+ // compatible transform (i.e. "__esModule" has not been set), then set
24
+ // "default" to the CommonJS "module.exports" for node compatibility.
21
25
  isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
22
26
  mod
23
27
  ));
@@ -2,6 +2,6 @@
2
2
  "version": 3,
3
3
  "sources": ["../../../src/InputProtected/defaultProps.tsx", "../../../../../scripts/build/transpile/react-shim.js"],
4
4
  "sourcesContent": ["import { RIGHT_ADDON_OPTIONS } from './options.js';\n\nexport const defaultProps = {\n rightAddon: RIGHT_ADDON_OPTIONS.InvisibleHide,\n mask: (data) => new Array(data.length).fill(/./),\n};\n", "import * as React from 'react';\nexport { React };\n"],
5
- "mappings": ";;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;ACAA,YAAuB;ADAvB,qBAAoC;AAE7B,MAAM,eAAe;AAAA,EAC1B,YAAY,mCAAoB;AAAA,EAChC,MAAM,CAAC,SAAS,IAAI,MAAM,KAAK,MAAM,EAAE,KAAK,GAAG;AACjD;",
5
+ "mappings": ";;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;ACAA,YAAuB;ADAvB,qBAAoC;AAE7B,MAAM,eAAe;AAAA,EAC1B,YAAY,mCAAoB;AAAA,EAChC,MAAM,CAAC,SAAS,IAAI,MAAM,KAAK,MAAM,EAAE,KAAK,GAAG;AACjD;",
6
6
  "names": []
7
7
  }
@@ -15,6 +15,10 @@ var __copyProps = (to, from, except, desc) => {
15
15
  };
16
16
  var __reExport = (target, mod, secondTarget) => (__copyProps(target, mod, "default"), secondTarget && __copyProps(secondTarget, mod, "default"));
17
17
  var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
18
+ // If the importer is in node compatibility mode or this is not an ESM
19
+ // file that has been converted to a CommonJS file using a Babel-
20
+ // compatible transform (i.e. "__esModule" has not been set), then set
21
+ // "default" to the CommonJS "module.exports" for node compatibility.
18
22
  isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
19
23
  mod
20
24
  ));
@@ -2,6 +2,6 @@
2
2
  "version": 3,
3
3
  "sources": ["../../../src/InputProtected/index.tsx", "../../../../../scripts/build/transpile/react-shim.js"],
4
4
  "sourcesContent": ["export * from './DSInputProtected.js';\nexport * from './options.js';\n", "import * as React from 'react';\nexport { React };\n"],
5
- "mappings": ";;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;ACAA,YAAuB;ADAvB,mCAAc,kCAAd;AACA,mCAAc,yBADd;",
5
+ "mappings": ";;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;ACAA,YAAuB;ADAvB,mCAAc,kCAAd;AACA,mCAAc,yBADd;",
6
6
  "names": []
7
7
  }
@@ -18,6 +18,10 @@ var __copyProps = (to, from, except, desc) => {
18
18
  return to;
19
19
  };
20
20
  var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
21
+ // If the importer is in node compatibility mode or this is not an ESM
22
+ // file that has been converted to a CommonJS file using a Babel-
23
+ // compatible transform (i.e. "__esModule" has not been set), then set
24
+ // "default" to the CommonJS "module.exports" for node compatibility.
21
25
  isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
22
26
  mod
23
27
  ));
@@ -2,6 +2,6 @@
2
2
  "version": 3,
3
3
  "sources": ["../../../src/InputProtected/options.tsx", "../../../../../scripts/build/transpile/react-shim.js"],
4
4
  "sourcesContent": ["export const LEFT_ADDON_OPTIONS = {\n LockUnlocked: 'LockUnlocked',\n LockLocked: 'LockLocked',\n};\n\nexport const RIGHT_ADDON_OPTIONS = {\n VisibleView: 'VisibleView',\n InvisibleHide: 'InvisibleHide',\n};\n", "import * as React from 'react';\nexport { React };\n"],
5
- "mappings": ";;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;ACAA,YAAuB;ADAhB,MAAM,qBAAqB;AAAA,EAChC,cAAc;AAAA,EACd,YAAY;AACd;AAEO,MAAM,sBAAsB;AAAA,EACjC,aAAa;AAAA,EACb,eAAe;AACjB;",
5
+ "mappings": ";;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;ACAA,YAAuB;ADAhB,MAAM,qBAAqB;AAAA,EAChC,cAAc;AAAA,EACd,YAAY;AACd;AAEO,MAAM,sBAAsB;AAAA,EACjC,aAAa;AAAA,EACb,eAAe;AACjB;",
6
6
  "names": []
7
7
  }
@@ -18,6 +18,10 @@ var __copyProps = (to, from, except, desc) => {
18
18
  return to;
19
19
  };
20
20
  var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
21
+ // If the importer is in node compatibility mode or this is not an ESM
22
+ // file that has been converted to a CommonJS file using a Babel-
23
+ // compatible transform (i.e. "__esModule" has not been set), then set
24
+ // "default" to the CommonJS "module.exports" for node compatibility.
21
25
  isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
22
26
  mod
23
27
  ));
@@ -42,6 +46,10 @@ const inputProtectedProps = {
42
46
  "mask to apply"
43
47
  ),
44
48
  type: import_ds_props_helpers.PropTypes.oneOf(["password", "number", "text"]).description("type of input"),
49
+ /**
50
+ * PlaceholderChar: The placeholder character represents the fillable spot in the mask.
51
+ * The default placeholder character is underscore, _.
52
+ */
45
53
  placeholderChar: import_ds_props_helpers.PropTypes.string.description(
46
54
  `The placeholder character represents the fillable spot in the mask.
47
55
  * The default placeholder character is underscore, _.`
@@ -2,6 +2,6 @@
2
2
  "version": 3,
3
3
  "sources": ["../../../src/InputProtected/props.tsx", "../../../../../scripts/build/transpile/react-shim.js"],
4
4
  "sourcesContent": ["import { PropTypes } from '@elliemae/ds-props-helpers';\nimport { LEFT_ADDON_OPTIONS, RIGHT_ADDON_OPTIONS } from './options.js';\n\nexport const inputProtectedProps = {\n leftAddon: PropTypes.oneOf([LEFT_ADDON_OPTIONS.LockLocked, LEFT_ADDON_OPTIONS.LockUnlocked]).description(\n 'left addon component to display',\n ),\n rightAddon: PropTypes.oneOf([RIGHT_ADDON_OPTIONS.VisibleView, RIGHT_ADDON_OPTIONS.InvisibleHide])\n .description('right addon component to display')\n .defaultValue(RIGHT_ADDON_OPTIONS.InvisibleHide),\n onChange: PropTypes.func.description('Function executed when input s value changes'),\n value: PropTypes.oneOfType([PropTypes.string, PropTypes.number]).description('input s value'),\n readOnly: PropTypes.bool.description('Whether the input is read-only or not').defaultValue(false),\n mask: PropTypes.oneOfType([PropTypes.array, PropTypes.func, PropTypes.object, PropTypes.string]).description(\n 'mask to apply',\n ),\n type: PropTypes.oneOf(['password', 'number', 'text']).description('type of input'),\n /**\n * PlaceholderChar: The placeholder character represents the fillable spot in the mask.\n * The default placeholder character is underscore, _.\n */\n placeholderChar: PropTypes.string.description(\n `The placeholder character represents the fillable spot in the mask.\n * The default placeholder character is underscore, _.`,\n ),\n};\n", "import * as React from 'react';\nexport { React };\n"],
5
- "mappings": ";;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;ACAA,YAAuB;ADAvB,8BAA0B;AAC1B,qBAAwD;AAEjD,MAAM,sBAAsB;AAAA,EACjC,WAAW,kCAAU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a,KAAK;AAAA,EAChG,MAAM,kCAAU,UAAU,CAAC,kCAAU,OAAO,kCAAU,MAAM,kCAAU,QAAQ,kCAAU,MAAM,CAAC,EAAE;AAAA,IAC/F;AAAA,EACF;AAAA,EACA,MAAM,kCAAU,MAAM,CAAC,YAAY,UAAU,MAAM,CAAC,EAAE,YAAY,eAAe;AAAA;AAAA;AAAA;AAAA;AAAA,EAKjF,iBAAiB,kCAAU,OAAO;AAAA,IAChC;AAAA;AAAA,EAEF;AACF;",
6
6
  "names": []
7
7
  }
@@ -18,6 +18,10 @@ var __copyProps = (to, from, except, desc) => {
18
18
  return to;
19
19
  };
20
20
  var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
21
+ // If the importer is in node compatibility mode or this is not an ESM
22
+ // file that has been converted to a CommonJS file using a Babel-
23
+ // compatible transform (i.e. "__esModule" has not been set), then set
24
+ // "default" to the CommonJS "module.exports" for node compatibility.
21
25
  isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
22
26
  mod
23
27
  ));
@@ -2,6 +2,6 @@
2
2
  "version": 3,
3
3
  "sources": ["../../../src/LargeInputText/DSLargeInputText.tsx", "../../../../../scripts/build/transpile/react-shim.js"],
4
4
  "sourcesContent": ["/* eslint-disable max-lines */\n/* eslint-disable jsx-a11y/no-autofocus, react/prop-types */\nimport React, { useMemo } from 'react';\nimport { useDeprecateComponent } from '@elliemae/ds-utilities';\nimport { describe } from '@elliemae/ds-props-helpers';\nimport { convertPropToCssClassName, aggregatedClasses } from '@elliemae/ds-classnames';\nimport { props } from './props.js';\nimport { defaultProps } from './defaultProps.js';\n\nconst CounterArea = aggregatedClasses('div')('counter', 'textarea', ({ limitError }) => ({\n 'limit-error': limitError,\n}));\n\nconst DSLargeInputText = ({\n containerProps,\n autoFocus,\n className,\n disabled,\n name,\n id,\n maxLength,\n minLength,\n placeholder,\n onClick,\n onChange,\n onFocus,\n onBlur,\n onKeyUp,\n onKeyDown,\n onPaste,\n value,\n hasError,\n required,\n readOnly,\n resize,\n innerRef,\n ariaLabel,\n ariaAutocomplete,\n role,\n characterLimitCounter,\n rows,\n errorLimit,\n tabIndex,\n}) => {\n useDeprecateComponent({ componentName: 'ds-form/LargeInputText', version: 'TBD Date: 2023 Q3' });\n\n const limitError = useMemo(\n () => characterLimitCounter < String(value).length && characterLimitCounter > 0,\n [characterLimitCounter, value],\n );\n const { cssClassName, classNameElement, classNameBlock } = convertPropToCssClassName(\n 'form-element-textarea',\n 'text',\n {\n hasError: limitError || hasError,\n readOnly,\n disabled,\n },\n );\n // auto size when user types\n const handleKeyUp = (e) => {\n // const { target } = e\n onKeyUp(e);\n // if (e.key !== 'Enter') return\n // target.style.cssText = 'height:auto; padding:0'\n // target.style.cssText = `height: ${target.scrollHeight}px`\n };\n return (\n <>\n <div {...containerProps} className={`${cssClassName} ${className}`}>\n <div className={classNameBlock('wrapper')}>\n <textarea\n ref={innerRef}\n aria-autocomplete={ariaAutocomplete}\n aria-label={ariaLabel}\n aria-multiline\n aria-placeholder={placeholder}\n aria-required={required}\n autoFocus={autoFocus}\n className={classNameElement('textarea')}\n data-testid=\"ds-large-input_main-component\"\n disabled={disabled}\n id={id}\n maxLength={maxLength}\n minLength={minLength}\n name={name}\n onBlur={onBlur}\n onChange={onChange}\n onClick={onClick}\n onFocus={onFocus}\n onKeyDown={onKeyDown}\n onKeyUp={handleKeyUp}\n onPaste={onPaste}\n placeholder={placeholder}\n role={role}\n rows={String(rows)}\n style={{\n resize,\n }}\n value={value}\n tabIndex={tabIndex}\n />\n </div>\n </div>\n {characterLimitCounter > 0 && (\n <CounterArea classProps={{ limitError }} data-testid=\"counter-area\">\n {`${limitError ? `${errorLimit} ${characterLimitCounter} characters. ` : ''}${\n String(value).length\n } / ${characterLimitCounter}`}\n </CounterArea>\n )}\n </>\n );\n};\n\nDSLargeInputText.propTypes = props;\nDSLargeInputText.defaultProps = defaultProps;\nDSLargeInputText.displayName = 'DSLargeInputText';\nconst DSLargeInputTextWithSchema = describe(DSLargeInputText).description('A large input');\nDSLargeInputTextWithSchema.propTypes = props;\n\nexport { DSLargeInputTextWithSchema, DSLargeInputText };\n\nexport default DSLargeInputText;\n", "import * as React from 'react';\nexport { React };\n"],
5
- "mappings": ";;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;ACAA,YAAuB;ADoEnB;AAlEJ,mBAA+B;AAC/B,0BAAsC;AACtC,8BAAyB;AACzB,2BAA6D;AAC7D,mBAAsB;AACtB,0BAA6B;AAE7B,MAAM,kBAAc,wCAAkB,KAAK,EAAE,WAAW,YAAY,CAAC,EAAE,WAAW,OAAO;AAAA,EACvF,eAAe;AACjB,EAAE;AAEF,MAAM,mBAAmB,CAAC;AAAA,EACxB;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AACF,MAAM;AACJ,iDAAsB,EAAE,eAAe,0BAA0B,SAAS,oBAAoB,CAAC;AAE/F,QAAM,iBAAa;AAAA,IACjB,MAAM,wBAAwB,OAAO,KAAK,EAAE,UAAU,wBAAwB;AAAA,IAC9E,CAAC,uBAAuB,KAAK;AAAA,EAC/B;AACA,QAAM,EAAE,cAAc,kBAAkB,eAAe,QAAI;AAAA,IACzD;AAAA,IACA;AAAA,IACA;AAAA,MACE,UAAU,cAAc;AAAA,MACxB;AAAA,MACA;AAAA,IACF;AAAA,EACF;AAEA,QAAM,cAAc,CAAC,MAAM;AAEzB,YAAQ,CAAC;AAAA,EAIX;AACA,SACE,4EACE;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QACF;AAAA,QACA;AAAA,QACA;AAAA;AAAA,IACF,GACF,GACF;AAAA,IACC,wBAAwB,KACvB,4CAAC,eAAY,YAAY,EAAE,WAAW,GAAG,eAAY,gBAClD,aAAG,aAAa,GAAG,cAAc,yCAAyC,KACzE,OAAO,KAAK,EAAE,YACV,yBACR;AAAA,KAEJ;AAEJ;AAEA,iBAAiB,YAAY;AAC7B,iBAAiB,eAAe;AAChC,iBAAiB,cAAc;AAC/B,MAAM,iCAA6B,kCAAS,gBAAgB,EAAE,YAAY,eAAe;AACzF,2BAA2B,YAAY;AAIvC,IAAO,2BAAQ;",
6
6
  "names": []
7
7
  }
@@ -18,6 +18,10 @@ var __copyProps = (to, from, except, desc) => {
18
18
  return to;
19
19
  };
20
20
  var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
21
+ // If the importer is in node compatibility mode or this is not an ESM
22
+ // file that has been converted to a CommonJS file using a Babel-
23
+ // compatible transform (i.e. "__esModule" has not been set), then set
24
+ // "default" to the CommonJS "module.exports" for node compatibility.
21
25
  isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
22
26
  mod
23
27
  ));
@@ -2,6 +2,6 @@
2
2
  "version": 3,
3
3
  "sources": ["../../../src/LargeInputText/defaultProps.tsx", "../../../../../scripts/build/transpile/react-shim.js"],
4
4
  "sourcesContent": ["export const defaultProps = {\n containerProps: {},\n autoFocus: false,\n className: '',\n disabled: false,\n name: '',\n id: null,\n maxLength: null,\n minLength: 0,\n placeholder: '',\n onClick: () => null,\n onChange: () => null,\n onFocus: () => null,\n onBlur: () => null,\n onKeyUp: () => null,\n onKeyDown: () => null,\n onPaste: () => null,\n value: '',\n hasError: false,\n required: false,\n readOnly: false,\n resize: 'vertical',\n innerRef: null,\n ariaLabel: 'Enter text',\n ariaAutocomplete: 'none',\n role: 'textbox',\n characterLimitCounter: 0,\n rows: 3,\n errorLimit: 'Please limit your entry to',\n tabInd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A,EACR,UAAU;AAAA,EACV,WAAW;AAAA,EACX,kBAAkB;AAAA,EAClB,MAAM;AAAA,EACN,uBAAuB;AAAA,EACvB,MAAM;AAAA,EACN,YAAY;AAAA,EACZ,UAAU;AACZ;",
6
6
  "names": []
7
7
  }
@@ -18,6 +18,10 @@ var __copyProps = (to, from, except, desc) => {
18
18
  return to;
19
19
  };
20
20
  var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
21
+ // If the importer is in node compatibility mode or this is not an ESM
22
+ // file that has been converted to a CommonJS file using a Babel-
23
+ // compatible transform (i.e. "__esModule" has not been set), then set
24
+ // "default" to the CommonJS "module.exports" for node compatibility.
21
25
  isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
22
26
  mod
23
27
  ));
@@ -2,6 +2,6 @@
2
2
  "version": 3,
3
3
  "sources": ["../../../src/LargeInputText/index.tsx", "../../../../../scripts/build/transpile/react-shim.js"],
4
4
  "sourcesContent": ["export { default, DSLargeInputTextWithSchema, DSLargeInputText } from './DSLargeInputText.js';\n", "import * as React from 'react';\nexport { React };\n"],
5
- "mappings": ";;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;ACAA,YAAuB;ADAvB,8BAAsE;",
5
+ "mappings": ";;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;ACAA,YAAuB;ADAvB,8BAAsE;",
6
6
  "names": []
7
7
  }
@@ -18,6 +18,10 @@ var __copyProps = (to, from, except, desc) => {
18
18
  return to;
19
19
  };
20
20
  var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
21
+ // If the importer is in node compatibility mode or this is not an ESM
22
+ // file that has been converted to a CommonJS file using a Babel-
23
+ // compatible transform (i.e. "__esModule" has not been set), then set
24
+ // "default" to the CommonJS "module.exports" for node compatibility.
21
25
  isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
22
26
  mod
23
27
  ));
@@ -30,34 +34,100 @@ module.exports = __toCommonJS(props_exports);
30
34
  var React = __toESM(require("react"));
31
35
  var import_ds_props_helpers = require("@elliemae/ds-props-helpers");
32
36
  const props = {
37
+ /** Injected props to wrapper element of component */
33
38
  containerProps: import_ds_props_helpers.PropTypes.object.description("Injected props to wrapper element of component"),
39
+ /**
40
+ * Whether uses auto focus or not
41
+ */
34
42
  autoFocus: import_ds_props_helpers.PropTypes.bool.description("Whether uses auto focus or not"),
43
+ /** CSS class */
35
44
  className: import_ds_props_helpers.PropTypes.string.description("CSS class"),
45
+ /**
46
+ * Whether is disabled or not
47
+ */
36
48
  disabled: import_ds_props_helpers.PropTypes.bool.description("Whether is disabled or not"),
49
+ /** HTML form name property */
37
50
  name: import_ds_props_helpers.PropTypes.string.description("HTML form name property"),
51
+ /** HTML id */
38
52
  id: import_ds_props_helpers.PropTypes.number.description("HTML id"),
53
+ /**
54
+ * Max length for text to be entered
55
+ */
39
56
  maxLength: import_ds_props_helpers.PropTypes.number.description("Max length for text to be entered"),
57
+ /**
58
+ * Min length for text to be entered
59
+ */
40
60
  minLength: import_ds_props_helpers.PropTypes.number.description("Min length for text to be entered"),
61
+ /**
62
+ * Placeholder for the text
63
+ */
41
64
  placeholder: import_ds_props_helpers.PropTypes.string.description("Placeholder for the text"),
65
+ /**
66
+ * Allows a function that is triggered once the input text is clicked
67
+ */
42
68
  onClick: import_ds_props_helpers.PropTypes.func.description("Allows a function that is triggered once the input text is clicked"),
69
+ /**
70
+ * Allows a function that is triggered once the input text changes
71
+ */
43
72
  onChange: import_ds_props_helpers.PropTypes.func.description("Allows a function that is triggered once the input text changes"),
73
+ /**
74
+ * Allows a function that is triggered once the input text is focused
75
+ */
44
76
  onFocus: import_ds_props_helpers.PropTypes.func.description("Allows a function that is triggered once the input text is focused"),
77
+ /**
78
+ * Allows a function that is triggered once the input text loses focus
79
+ */
45
80
  onBlur: import_ds_props_helpers.PropTypes.func.description("Allows a function that is triggered once the input text loses focus"),
81
+ /**
82
+ * Allows a function that is triggered once in the input a keyboard key is released
83
+ */
46
84
  onKeyUp: import_ds_props_helpers.PropTypes.func.description(
47
85
  "Allows a function that is triggered once in the input a keyboard key is released"
48
86
  ),
87
+ /**
88
+ * Allows a function that is triggered once a key is being pressed
89
+ */
49
90
  onKeyDown: import_ds_props_helpers.PropTypes.func.description("Allows a function that is triggered once a key is being pressed"),
91
+ /**
92
+ * Allows a function that is triggered once the input text is pasted
93
+ */
50
94
  onPaste: import_ds_props_helpers.PropTypes.func.description("Allows a function that is triggered once the input text is pasted"),
95
+ /**
96
+ * Default value once the component is initialized
97
+ */
51
98
  value: import_ds_props_helpers.PropTypes.string.description("Default value once the component is initialized"),
99
+ /**
100
+ * Whether the input text has error or not
101
+ */
52
102
  hasError: import_ds_props_helpers.PropTypes.bool.description("Whether the input text has error or not"),
103
+ /**
104
+ * Whether the input text is required or not
105
+ */
53
106
  required: import_ds_props_helpers.PropTypes.bool.description("Whether the input text is required or not"),
107
+ /**
108
+ * Whether the input text is read only or not
109
+ */
54
110
  readOnly: import_ds_props_helpers.PropTypes.bool.description("Whether the input text is read only or not"),
111
+ /**
112
+ * Whether the input text style is vertical or not
113
+ */
55
114
  resize: import_ds_props_helpers.PropTypes.string.description("Whether the input text style is vertical or not"),
115
+ /** ref forwarded to component */
56
116
  innerRef: import_ds_props_helpers.PropTypes.func.description("ref forwarded to component"),
117
+ /** a11y aria label */
57
118
  ariaLabel: import_ds_props_helpers.PropTypes.string.description("a11y aria label"),
58
119
  ariaAutocomplete: import_ds_props_helpers.PropTypes.string.description(""),
120
+ /**
121
+ * Type of input. Ex: textbox
122
+ */
59
123
  role: import_ds_props_helpers.PropTypes.string.description("Type of input. Ex: textbox"),
124
+ /**
125
+ * it will show a counter/limit if the value is greater than 0
126
+ */
60
127
  characterLimitCounter: import_ds_props_helpers.PropTypes.number.description("it will show a counter/limit if the value is greater than 0"),
128
+ /**
129
+ * Tab index html property.
130
+ */
61
131
  tabIndex: import_ds_props_helpers.PropTypes.string.description("Tab index html property.")
62
132
  };
63
133
  //# sourceMappingURL=props.js.map
@@ -2,6 +2,6 @@
2
2
  "version": 3,
3
3
  "sources": ["../../../src/LargeInputText/props.tsx", "../../../../../scripts/build/transpile/react-shim.js"],
4
4
  "sourcesContent": ["import { PropTypes } from '@elliemae/ds-props-helpers';\n\nexport const props = {\n /** Injected props to wrapper element of component */\n containerProps: PropTypes.object.description('Injected props to wrapper element of component'),\n /**\n * Whether uses auto focus or not\n */\n autoFocus: PropTypes.bool.description('Whether uses auto focus or not'),\n /** CSS class */\n className: PropTypes.string.description('CSS class'),\n /**\n * Whether is disabled or not\n */\n disabled: PropTypes.bool.description('Whether is disabled or not'),\n /** HTML form name property */\n name: PropTypes.string.description('HTML form name property'),\n /** HTML id */\n id: PropTypes.number.description('HTML id'),\n /**\n * Max length for text to be entered\n */\n maxLength: PropTypes.number.description('Max length for text to be entered'),\n /**\n * Min length for text to be entered\n */\n minLength: PropTypes.number.description('Min length for text to be entered'),\n /**\n * Placeholder for the text\n */\n placeholder: PropTypes.string.description('Placeholder for the text'),\n /**\n * Allows a function that is triggered once the input text is clicked\n */\n onClick: PropTypes.func.description('Allows a function that is triggered once the input text is clicked'),\n /**\n * Allows a function that is triggered once the input text changes\n */\n onChange: PropTypes.func.description('Allows a function that is triggered once the input text changes'),\n /**\n * Allows a function that is triggered once the input text is focused\n */\n onFocus: PropTypes.func.description('Allows a function that is triggered once the input text is focused'),\n /**\n * Allows a function that is triggered once the input text loses focus\n */\n onBlur: PropTypes.func.description('Allows a function that is triggered once the input text loses focus'),\n /**\n * Allows a function that is triggered once in the input a keyboard key is released\n */\n onKeyUp: PropTypes.func.description(\n 'Allows a function that is triggered once in the input a keyboard key is released',\n ),\n /**\n * Allows a function that is triggered once a key is being pressed\n */\n onKeyDown: PropTypes.func.description('Allows a function that is triggered once a key is being pressed'),\n /**\n * Allows a function that is triggered once the input text is pasted\n */\n onPaste: PropTypes.func.description('Allows a function that is triggered once the input text is pasted'),\n /**\n * Default value once the component is initialized\n */\n value: PropTypes.string.description('Default value once the component is initialized'),\n /**\n * Whether the input text has error or not\n */\n hasError: PropTypes.bool.description('Whether the input text has error or not'),\n /**\n * Whether the input text is required or not\n */\n required: PropTypes.bool.description('Whether the input text is required or not'),\n /**\n * Whether the input text is read only or not\n */\n readOnly: PropTypes.bool.description('Whether the input text is read only or not'),\n /**\n * Whether the input text style is vertical or not\n */\n resize: PropTypes.string.description('Whether the input text style is vertical or not'),\n /** ref forwarded to component */\n innerRef: PropTypes.func.description('ref forwarded to component'),\n /** a11y aria label */\n ariaLabel: PropTypes.string.description('a11y aria label'),\n ariaAutocomplete: PropTypes.string.description(''),\n /**\n * Type of input. Ex: textbox\n */\n role: PropTypes.string.description('Type of input. Ex: textbox'),\n /**\n * it will show a counter/limit if the value is greater than 0\n */\n characterLimitCounter: PropTypes.number.description('it will show a counter/limit if the value is greater than 0'),\n /**\n * Tab index html property.\n */\n tabIndex: PropTypes.string.description('Tab index html property.'),\n};\n", "import * as React from 'react';\nexport { React };\n"],
5
- "mappings": ";;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;ACAA,YAAuB;ADAvB,8BAA0B;AAEnB,MAAM,QAAQ;AAAA,EAEnB,gBAAgB,kCAAU,OAAO,YAAY,gDAAgD;AAAA,EAI7F,WAAW,kCAAU,KAAK,YAAY,gCAAgC;AAAA,EAEtE,WAAW,kCAAU,OAAO,YAAY,WAAW;AAAA,EAInD,UAAU,kCAAU,KAAK,YAAY,4BAA4B;AAAA,EAEjE,MAAM,kCAAU,OAAO,YAAY,yBAAyB;AAAA,EAE5D,IAAI,kCAAU,OAAO,YAAY,SAAS;AAAA,EAI1C,WAAW,kCAAU,OAAO,YAAY,mCAAmC;AAAA,EAI3E,WAAW,kCAAU,OAAO,YAAY,mCAAmC;AAAA,E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D,kBAAkB,kCAAU,OAAO,YAAY,EAAE;AAAA;AAAA;AAAA;AAAA,EAIjD,MAAM,kCAAU,OAAO,YAAY,4BAA4B;AAAA;AAAA;AAAA;AAAA,EAI/D,uBAAuB,kCAAU,OAAO,YAAY,6DAA6D;AAAA;AAAA;AAAA;AAAA,EAIjH,UAAU,kCAAU,OAAO,YAAY,0BAA0B;AACnE;",
6
6
  "names": []
7
7
  }
@@ -14,6 +14,10 @@ var __copyProps = (to, from, except, desc) => {
14
14
  return to;
15
15
  };
16
16
  var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
17
+ // If the importer is in node compatibility mode or this is not an ESM
18
+ // file that has been converted to a CommonJS file using a Babel-
19
+ // compatible transform (i.e. "__esModule" has not been set), then set
20
+ // "default" to the CommonJS "module.exports" for node compatibility.
17
21
  isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
18
22
  mod
19
23
  ));
@@ -2,6 +2,6 @@
2
2
  "version": 3,
3
3
  "sources": ["../../../../../../../scripts/build/transpile/react-shim.js"],
4
4
  "sourcesContent": ["import * as React from 'react';\nexport { React };\n"],
5
- "mappings": ";;;;;;;;;;;;;;;;;;;AAAA,YAAuB;",
5
+ "mappings": ";;;;;;;;;;;;;;;;;;;;;;;AAAA,YAAuB;",
6
6
  "names": []
7
7
  }
@@ -14,6 +14,10 @@ var __copyProps = (to, from, except, desc) => {
14
14
  return to;
15
15
  };
16
16
  var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
17
+ // If the importer is in node compatibility mode or this is not an ESM
18
+ // file that has been converted to a CommonJS file using a Babel-
19
+ // compatible transform (i.e. "__esModule" has not been set), then set
20
+ // "default" to the CommonJS "module.exports" for node compatibility.
17
21
  isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
18
22
  mod
19
23
  ));
@@ -2,6 +2,6 @@
2
2
  "version": 3,
3
3
  "sources": ["../../../../../../../scripts/build/transpile/react-shim.js"],
4
4
  "sourcesContent": ["import * as React from 'react';\nexport { React };\n"],
5
- "mappings": ";;;;;;;;;;;;;;;;;;;AAAA,YAAuB;",
5
+ "mappings": ";;;;;;;;;;;;;;;;;;;;;;;AAAA,YAAuB;",
6
6
  "names": []
7
7
  }