@elliemae/ds-form 3.4.3-rc.1 → 3.5.0-rc.10

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 (422) hide show
  1. package/dist/cjs/Checkbox/index.js +4 -1
  2. package/dist/cjs/Checkbox/index.js.map +1 -1
  3. package/dist/cjs/CheckboxGroup/DSCheckboxGroup.js +35 -24
  4. package/dist/cjs/CheckboxGroup/DSCheckboxGroup.js.map +2 -2
  5. package/dist/cjs/CheckboxGroup/defaultProps.js +4 -1
  6. package/dist/cjs/CheckboxGroup/defaultProps.js.map +1 -1
  7. package/dist/cjs/CheckboxGroup/index.js +4 -1
  8. package/dist/cjs/CheckboxGroup/index.js.map +1 -1
  9. package/dist/cjs/CheckboxGroup/props.js +12 -5
  10. package/dist/cjs/CheckboxGroup/props.js.map +2 -2
  11. package/dist/cjs/ComboBox/index.js +4 -1
  12. package/dist/cjs/ComboBox/index.js.map +1 -1
  13. package/dist/cjs/ComboBoxFreeSolo/ComboBoxFreeSolo.js +6 -3
  14. package/dist/cjs/ComboBoxFreeSolo/ComboBoxFreeSolo.js.map +2 -2
  15. package/dist/cjs/ComboBoxFreeSolo/components/MultiValueLabel.js +17 -6
  16. package/dist/cjs/ComboBoxFreeSolo/components/MultiValueLabel.js.map +1 -1
  17. package/dist/cjs/ComboBoxFreeSolo/components/MultiValueRemove.js +11 -5
  18. package/dist/cjs/ComboBoxFreeSolo/components/MultiValueRemove.js.map +1 -1
  19. package/dist/cjs/ComboBoxFreeSolo/components/SingleValue.js +10 -6
  20. package/dist/cjs/ComboBoxFreeSolo/components/SingleValue.js.map +1 -1
  21. package/dist/cjs/ComboBoxFreeSolo/components/SingleValueRemove.js +18 -14
  22. package/dist/cjs/ComboBoxFreeSolo/components/SingleValueRemove.js.map +1 -1
  23. package/dist/cjs/ComboBoxFreeSolo/index.js +4 -1
  24. package/dist/cjs/ComboBoxFreeSolo/index.js.map +1 -1
  25. package/dist/cjs/DateInput/DSDateInput.js +8 -4
  26. package/dist/cjs/DateInput/DSDateInput.js.map +1 -1
  27. package/dist/cjs/DateInput/components/DateInputImpl.js +23 -18
  28. package/dist/cjs/DateInput/components/DateInputImpl.js.map +2 -2
  29. package/dist/cjs/DateInput/components/DateInputs.js +37 -19
  30. package/dist/cjs/DateInput/components/DateInputs.js.map +2 -2
  31. package/dist/cjs/DateInput/components/utils.js +4 -1
  32. package/dist/cjs/DateInput/components/utils.js.map +2 -2
  33. package/dist/cjs/DateInput/defaultProps.js +4 -1
  34. package/dist/cjs/DateInput/defaultProps.js.map +1 -1
  35. package/dist/cjs/DateInput/index.js +4 -1
  36. package/dist/cjs/DateInput/index.js.map +1 -1
  37. package/dist/cjs/DateInput/props.js +34 -11
  38. package/dist/cjs/DateInput/props.js.map +1 -1
  39. package/dist/cjs/DateInputV2/components/DSDateInput.js +7 -4
  40. package/dist/cjs/DateInputV2/components/DSDateInput.js.map +1 -1
  41. package/dist/cjs/DateInputV2/components/DateInputs.js +34 -19
  42. package/dist/cjs/DateInputV2/components/DateInputs.js.map +2 -2
  43. package/dist/cjs/DateInputV2/components/helpers.js +4 -1
  44. package/dist/cjs/DateInputV2/components/helpers.js.map +1 -1
  45. package/dist/cjs/DateInputV2/components/props.js +28 -9
  46. package/dist/cjs/DateInputV2/components/props.js.map +1 -1
  47. package/dist/cjs/DateInputV2/components/propsTypes.js +4 -1
  48. package/dist/cjs/DateInputV2/components/propsTypes.js.map +2 -2
  49. package/dist/cjs/DateInputV2/components/styled.js +4 -1
  50. package/dist/cjs/DateInputV2/components/styled.js.map +1 -1
  51. package/dist/cjs/DateInputV2/components/utils.js +8 -2
  52. package/dist/cjs/DateInputV2/components/utils.js.map +2 -2
  53. package/dist/cjs/DateInputV2/index.js +4 -1
  54. package/dist/cjs/DateInputV2/index.js.map +1 -1
  55. package/dist/cjs/ExpandableInput/DSExpandableInput.js +9 -5
  56. package/dist/cjs/ExpandableInput/DSExpandableInput.js.map +1 -1
  57. package/dist/cjs/ExpandableInput/ExpandableInputImpl.js +20 -14
  58. package/dist/cjs/ExpandableInput/ExpandableInputImpl.js.map +2 -2
  59. package/dist/cjs/ExpandableInput/index.js +4 -1
  60. package/dist/cjs/ExpandableInput/index.js.map +1 -1
  61. package/dist/cjs/FloatingLabelInput/DSFloatingLabelInput.js +6 -3
  62. package/dist/cjs/FloatingLabelInput/DSFloatingLabelInput.js.map +1 -1
  63. package/dist/cjs/FloatingLabelInput/FloatingLabelInputImpl.js +35 -17
  64. package/dist/cjs/FloatingLabelInput/FloatingLabelInputImpl.js.map +2 -2
  65. package/dist/cjs/FloatingLabelInput/getSvgPath.js +4 -1
  66. package/dist/cjs/FloatingLabelInput/getSvgPath.js.map +1 -1
  67. package/dist/cjs/FloatingLabelInput/index.js +4 -1
  68. package/dist/cjs/FloatingLabelInput/index.js.map +1 -1
  69. package/dist/cjs/FormItem/DSFormItemLayout.js +68 -35
  70. package/dist/cjs/FormItem/DSFormItemLayout.js.map +1 -1
  71. package/dist/cjs/FormItem/Error/DSError.js +9 -5
  72. package/dist/cjs/FormItem/Error/DSError.js.map +1 -1
  73. package/dist/cjs/FormItem/Feedback.js +9 -5
  74. package/dist/cjs/FormItem/Feedback.js.map +1 -1
  75. package/dist/cjs/FormItem/Label/DSLabel.js +19 -10
  76. package/dist/cjs/FormItem/Label/DSLabel.js.map +2 -2
  77. package/dist/cjs/FormItem/Suffix/Suffix.js +4 -1
  78. package/dist/cjs/FormItem/Suffix/Suffix.js.map +1 -1
  79. package/dist/cjs/FormItem/ValidationFieldWrapper.js +4 -1
  80. package/dist/cjs/FormItem/ValidationFieldWrapper.js.map +1 -1
  81. package/dist/cjs/FormItem/defaultProps.js +4 -1
  82. package/dist/cjs/FormItem/defaultProps.js.map +1 -1
  83. package/dist/cjs/FormItem/index.js +4 -1
  84. package/dist/cjs/FormItem/index.js.map +1 -1
  85. package/dist/cjs/FormItem/props.js +10 -3
  86. package/dist/cjs/FormItem/props.js.map +1 -1
  87. package/dist/cjs/FormItem/variants.js +4 -1
  88. package/dist/cjs/FormItem/variants.js.map +1 -1
  89. package/dist/cjs/Input/DSInput.js +4 -1
  90. package/dist/cjs/Input/DSInput.js.map +1 -1
  91. package/dist/cjs/Input/InputAddonWrapper.js +4 -1
  92. package/dist/cjs/Input/InputAddonWrapper.js.map +1 -1
  93. package/dist/cjs/Input/InputImpl.js +4 -1
  94. package/dist/cjs/Input/InputImpl.js.map +1 -1
  95. package/dist/cjs/Input/index.js +4 -1
  96. package/dist/cjs/Input/index.js.map +1 -1
  97. package/dist/cjs/InputGroup/AddonWrapper.js +18 -5
  98. package/dist/cjs/InputGroup/AddonWrapper.js.map +1 -1
  99. package/dist/cjs/InputGroup/DSInputGroup.js +9 -5
  100. package/dist/cjs/InputGroup/DSInputGroup.js.map +1 -1
  101. package/dist/cjs/InputGroup/defaultProps.js +4 -1
  102. package/dist/cjs/InputGroup/defaultProps.js.map +1 -1
  103. package/dist/cjs/InputGroup/index.js +4 -1
  104. package/dist/cjs/InputGroup/index.js.map +1 -1
  105. package/dist/cjs/InputGroup/props.js +13 -4
  106. package/dist/cjs/InputGroup/props.js.map +1 -1
  107. package/dist/cjs/InputMask/DSInputMask.js +19 -8
  108. package/dist/cjs/InputMask/DSInputMask.js.map +1 -1
  109. package/dist/cjs/InputMask/DSInputMaskDeprecated.js +43 -33
  110. package/dist/cjs/InputMask/DSInputMaskDeprecated.js.map +2 -2
  111. package/dist/cjs/InputMask/InputMaskContext.js +4 -1
  112. package/dist/cjs/InputMask/InputMaskContext.js.map +2 -2
  113. package/dist/cjs/InputMask/MaskPipes.js +4 -1
  114. package/dist/cjs/InputMask/MaskPipes.js.map +1 -1
  115. package/dist/cjs/InputMask/MaskTypes.js +4 -1
  116. package/dist/cjs/InputMask/MaskTypes.js.map +1 -1
  117. package/dist/cjs/InputMask/addons/AutoCorrectedDatePipe.js +16 -4
  118. package/dist/cjs/InputMask/addons/AutoCorrectedDatePipe.js.map +1 -1
  119. package/dist/cjs/InputMask/defaultProps.js +4 -1
  120. package/dist/cjs/InputMask/defaultProps.js.map +1 -1
  121. package/dist/cjs/InputMask/index.js +4 -1
  122. package/dist/cjs/InputMask/index.js.map +1 -1
  123. package/dist/cjs/InputMask/mask_types/DateInputMask.js +54 -34
  124. package/dist/cjs/InputMask/mask_types/DateInputMask.js.map +1 -1
  125. package/dist/cjs/InputMask/mask_types/DateTimeInputMask.js +54 -34
  126. package/dist/cjs/InputMask/mask_types/DateTimeInputMask.js.map +1 -1
  127. package/dist/cjs/InputMask/mask_types/DictionaryInputMask.js +59 -35
  128. package/dist/cjs/InputMask/mask_types/DictionaryInputMask.js.map +1 -1
  129. package/dist/cjs/InputMask/mask_types/NumberInputMask.js +76 -57
  130. package/dist/cjs/InputMask/mask_types/NumberInputMask.js.map +1 -1
  131. package/dist/cjs/InputMask/mask_types/PhoneInputMask.js +54 -34
  132. package/dist/cjs/InputMask/mask_types/PhoneInputMask.js.map +1 -1
  133. package/dist/cjs/InputMask/mask_types/PhoneInternationalInputMask.js +54 -34
  134. package/dist/cjs/InputMask/mask_types/PhoneInternationalInputMask.js.map +1 -1
  135. package/dist/cjs/InputMask/mask_types/SsnInputMask.js +54 -34
  136. package/dist/cjs/InputMask/mask_types/SsnInputMask.js.map +1 -1
  137. package/dist/cjs/InputMask/mask_types/UsZipCodeInputMask.js +50 -34
  138. package/dist/cjs/InputMask/mask_types/UsZipCodeInputMask.js.map +1 -1
  139. package/dist/cjs/InputMask/mask_types/ZipCodeSearchInputMask.js +54 -34
  140. package/dist/cjs/InputMask/mask_types/ZipCodeSearchInputMask.js.map +1 -1
  141. package/dist/cjs/InputMask/mask_types/index.js +15 -12
  142. package/dist/cjs/InputMask/mask_types/index.js.map +1 -1
  143. package/dist/cjs/InputMask/props.js +65 -22
  144. package/dist/cjs/InputMask/props.js.map +1 -1
  145. package/dist/cjs/InputMask/types/index.js +4 -1
  146. package/dist/cjs/InputMask/types/index.js.map +1 -1
  147. package/dist/cjs/InputMask/utils/setCaretPosition.js +4 -1
  148. package/dist/cjs/InputMask/utils/setCaretPosition.js.map +1 -1
  149. package/dist/cjs/InputProtected/DSInputProtected.js +38 -31
  150. package/dist/cjs/InputProtected/DSInputProtected.js.map +1 -1
  151. package/dist/cjs/InputProtected/defaultProps.js +4 -1
  152. package/dist/cjs/InputProtected/defaultProps.js.map +1 -1
  153. package/dist/cjs/InputProtected/index.js +4 -1
  154. package/dist/cjs/InputProtected/index.js.map +1 -1
  155. package/dist/cjs/InputProtected/options.js +4 -1
  156. package/dist/cjs/InputProtected/options.js.map +1 -1
  157. package/dist/cjs/InputProtected/props.js +17 -6
  158. package/dist/cjs/InputProtected/props.js.map +1 -1
  159. package/dist/cjs/LargeInputText/DSLargeInputText.js +67 -46
  160. package/dist/cjs/LargeInputText/DSLargeInputText.js.map +1 -1
  161. package/dist/cjs/LargeInputText/defaultProps.js +4 -1
  162. package/dist/cjs/LargeInputText/defaultProps.js.map +1 -1
  163. package/dist/cjs/LargeInputText/index.js +4 -1
  164. package/dist/cjs/LargeInputText/index.js.map +1 -1
  165. package/dist/cjs/LargeInputText/props.js +46 -15
  166. package/dist/cjs/LargeInputText/props.js.map +1 -1
  167. package/dist/cjs/MenuItem/components/MenuItem/index.js +4 -1
  168. package/dist/cjs/MenuItem/components/MenuItem/index.js.map +1 -1
  169. package/dist/cjs/MenuItem/components/MenuItem/styled.js +4 -1
  170. package/dist/cjs/MenuItem/components/MenuItem/styled.js.map +1 -1
  171. package/dist/cjs/MenuItem/components/MultiMenuItem/MultiMenuItem.js +4 -1
  172. package/dist/cjs/MenuItem/components/MultiMenuItem/MultiMenuItem.js.map +1 -1
  173. package/dist/cjs/MenuItem/components/MultiMenuItem/styled.js +4 -1
  174. package/dist/cjs/MenuItem/components/MultiMenuItem/styled.js.map +1 -1
  175. package/dist/cjs/MenuItem/components/Section/index.js +4 -1
  176. package/dist/cjs/MenuItem/components/Section/index.js.map +1 -1
  177. package/dist/cjs/MenuItem/components/Section/props.js +4 -1
  178. package/dist/cjs/MenuItem/components/Section/props.js.map +1 -1
  179. package/dist/cjs/MenuItem/components/Section/styled.js +4 -1
  180. package/dist/cjs/MenuItem/components/Section/styled.js.map +1 -1
  181. package/dist/cjs/MenuItem/components/Separator/index.js +4 -1
  182. package/dist/cjs/MenuItem/components/Separator/index.js.map +1 -1
  183. package/dist/cjs/MenuItem/components/Separator/styled.js +4 -1
  184. package/dist/cjs/MenuItem/components/Separator/styled.js.map +1 -1
  185. package/dist/cjs/MenuItem/components/SingleMenuItem/SingleMenuItem.js +4 -1
  186. package/dist/cjs/MenuItem/components/SingleMenuItem/SingleMenuItem.js.map +1 -1
  187. package/dist/cjs/MenuItem/components/SubmenuItem/index.js +4 -1
  188. package/dist/cjs/MenuItem/components/SubmenuItem/index.js.map +1 -1
  189. package/dist/cjs/MenuItem/components/SubmenuItem/styled.js +4 -1
  190. package/dist/cjs/MenuItem/components/SubmenuItem/styled.js.map +1 -1
  191. package/dist/cjs/MenuItem/components/index.js +4 -1
  192. package/dist/cjs/MenuItem/components/index.js.map +1 -1
  193. package/dist/cjs/MenuItem/components/styled.js +4 -1
  194. package/dist/cjs/MenuItem/components/styled.js.map +1 -1
  195. package/dist/cjs/MenuItem/index.js +4 -1
  196. package/dist/cjs/MenuItem/index.js.map +1 -1
  197. package/dist/cjs/MenuItem/props.js +4 -1
  198. package/dist/cjs/MenuItem/props.js.map +1 -1
  199. package/dist/cjs/Radio/Circle.js +14 -10
  200. package/dist/cjs/Radio/Circle.js.map +1 -1
  201. package/dist/cjs/Radio/DSRadio.js +68 -50
  202. package/dist/cjs/Radio/DSRadio.js.map +1 -1
  203. package/dist/cjs/Radio/index.js +4 -1
  204. package/dist/cjs/Radio/index.js.map +1 -1
  205. package/dist/cjs/RadioGroup/DSRadioGroup.js +36 -25
  206. package/dist/cjs/RadioGroup/DSRadioGroup.js.map +2 -2
  207. package/dist/cjs/RadioGroup/defaultProps.js +4 -1
  208. package/dist/cjs/RadioGroup/defaultProps.js.map +1 -1
  209. package/dist/cjs/RadioGroup/index.js +4 -1
  210. package/dist/cjs/RadioGroup/index.js.map +1 -1
  211. package/dist/cjs/RadioGroup/props.js +4 -1
  212. package/dist/cjs/RadioGroup/props.js.map +2 -2
  213. package/dist/cjs/RequiredMark/RequiredMark.js +13 -8
  214. package/dist/cjs/RequiredMark/RequiredMark.js.map +1 -1
  215. package/dist/cjs/RequiredMark/index.js +4 -1
  216. package/dist/cjs/RequiredMark/index.js.map +1 -1
  217. package/dist/cjs/SearchBox/index.js +4 -1
  218. package/dist/cjs/SearchBox/index.js.map +1 -1
  219. package/dist/cjs/TextBox/index.js +4 -1
  220. package/dist/cjs/TextBox/index.js.map +1 -1
  221. package/dist/cjs/TimeInput/DSTimeInput.js +22 -9
  222. package/dist/cjs/TimeInput/DSTimeInput.js.map +1 -1
  223. package/dist/cjs/TimeInput/TimeInputImpl.js +24 -17
  224. package/dist/cjs/TimeInput/TimeInputImpl.js.map +2 -2
  225. package/dist/cjs/TimeInput/TimeInputs.js +28 -19
  226. package/dist/cjs/TimeInput/TimeInputs.js.map +2 -2
  227. package/dist/cjs/TimeInput/index.js +4 -1
  228. package/dist/cjs/TimeInput/index.js.map +1 -1
  229. package/dist/cjs/TimeInput/utils.js +4 -1
  230. package/dist/cjs/TimeInput/utils.js.map +2 -2
  231. package/dist/cjs/Toggle/DSToggle.js +6 -3
  232. package/dist/cjs/Toggle/DSToggle.js.map +1 -1
  233. package/dist/cjs/Toggle/DSToggleImpl.js +6 -2
  234. package/dist/cjs/Toggle/DSToggleImpl.js.map +2 -2
  235. package/dist/cjs/Toggle/DSToggleRender.js +49 -36
  236. package/dist/cjs/Toggle/DSToggleRender.js.map +1 -1
  237. package/dist/cjs/Toggle/index.js +4 -1
  238. package/dist/cjs/Toggle/index.js.map +1 -1
  239. package/dist/cjs/Toggle/props.js +4 -1
  240. package/dist/cjs/Toggle/props.js.map +2 -2
  241. package/dist/cjs/Toggle/toggleHelper.js +4 -1
  242. package/dist/cjs/Toggle/toggleHelper.js.map +1 -1
  243. package/dist/cjs/index.js +4 -1
  244. package/dist/cjs/index.js.map +1 -1
  245. package/dist/esm/Checkbox/index.js.map +1 -1
  246. package/dist/esm/CheckboxGroup/DSCheckboxGroup.js +31 -23
  247. package/dist/esm/CheckboxGroup/DSCheckboxGroup.js.map +2 -2
  248. package/dist/esm/CheckboxGroup/defaultProps.js.map +1 -1
  249. package/dist/esm/CheckboxGroup/index.js.map +1 -1
  250. package/dist/esm/CheckboxGroup/props.js +8 -4
  251. package/dist/esm/CheckboxGroup/props.js.map +1 -1
  252. package/dist/esm/ComboBox/index.js.map +1 -1
  253. package/dist/esm/ComboBoxFreeSolo/ComboBoxFreeSolo.js +2 -2
  254. package/dist/esm/ComboBoxFreeSolo/ComboBoxFreeSolo.js.map +1 -1
  255. package/dist/esm/ComboBoxFreeSolo/components/MultiValueLabel.js +13 -5
  256. package/dist/esm/ComboBoxFreeSolo/components/MultiValueLabel.js.map +1 -1
  257. package/dist/esm/ComboBoxFreeSolo/components/MultiValueRemove.js +7 -4
  258. package/dist/esm/ComboBoxFreeSolo/components/MultiValueRemove.js.map +1 -1
  259. package/dist/esm/ComboBoxFreeSolo/components/SingleValue.js +6 -5
  260. package/dist/esm/ComboBoxFreeSolo/components/SingleValue.js.map +1 -1
  261. package/dist/esm/ComboBoxFreeSolo/components/SingleValueRemove.js +14 -13
  262. package/dist/esm/ComboBoxFreeSolo/components/SingleValueRemove.js.map +1 -1
  263. package/dist/esm/ComboBoxFreeSolo/index.js.map +1 -1
  264. package/dist/esm/DateInput/DSDateInput.js +4 -3
  265. package/dist/esm/DateInput/DSDateInput.js.map +1 -1
  266. package/dist/esm/DateInput/components/DateInputImpl.js +19 -17
  267. package/dist/esm/DateInput/components/DateInputImpl.js.map +1 -1
  268. package/dist/esm/DateInput/components/DateInputs.js +33 -18
  269. package/dist/esm/DateInput/components/DateInputs.js.map +2 -2
  270. package/dist/esm/DateInput/components/utils.js.map +1 -1
  271. package/dist/esm/DateInput/defaultProps.js.map +1 -1
  272. package/dist/esm/DateInput/index.js.map +1 -1
  273. package/dist/esm/DateInput/props.js +30 -10
  274. package/dist/esm/DateInput/props.js.map +1 -1
  275. package/dist/esm/DateInputV2/components/DSDateInput.js +3 -3
  276. package/dist/esm/DateInputV2/components/DSDateInput.js.map +1 -1
  277. package/dist/esm/DateInputV2/components/DateInputs.js +30 -18
  278. package/dist/esm/DateInputV2/components/DateInputs.js.map +2 -2
  279. package/dist/esm/DateInputV2/components/helpers.js.map +1 -1
  280. package/dist/esm/DateInputV2/components/props.js +24 -8
  281. package/dist/esm/DateInputV2/components/props.js.map +1 -1
  282. package/dist/esm/DateInputV2/components/propsTypes.js.map +1 -1
  283. package/dist/esm/DateInputV2/components/styled.js.map +1 -1
  284. package/dist/esm/DateInputV2/components/utils.js +4 -1
  285. package/dist/esm/DateInputV2/components/utils.js.map +1 -1
  286. package/dist/esm/DateInputV2/index.js.map +1 -1
  287. package/dist/esm/ExpandableInput/DSExpandableInput.js +5 -4
  288. package/dist/esm/ExpandableInput/DSExpandableInput.js.map +1 -1
  289. package/dist/esm/ExpandableInput/ExpandableInputImpl.js +16 -13
  290. package/dist/esm/ExpandableInput/ExpandableInputImpl.js.map +2 -2
  291. package/dist/esm/ExpandableInput/index.js.map +1 -1
  292. package/dist/esm/FloatingLabelInput/DSFloatingLabelInput.js +2 -2
  293. package/dist/esm/FloatingLabelInput/DSFloatingLabelInput.js.map +1 -1
  294. package/dist/esm/FloatingLabelInput/FloatingLabelInputImpl.js +31 -16
  295. package/dist/esm/FloatingLabelInput/FloatingLabelInputImpl.js.map +2 -2
  296. package/dist/esm/FloatingLabelInput/getSvgPath.js.map +1 -1
  297. package/dist/esm/FloatingLabelInput/index.js.map +1 -1
  298. package/dist/esm/FormItem/DSFormItemLayout.js +64 -34
  299. package/dist/esm/FormItem/DSFormItemLayout.js.map +1 -1
  300. package/dist/esm/FormItem/Error/DSError.js +5 -4
  301. package/dist/esm/FormItem/Error/DSError.js.map +1 -1
  302. package/dist/esm/FormItem/Feedback.js +5 -4
  303. package/dist/esm/FormItem/Feedback.js.map +1 -1
  304. package/dist/esm/FormItem/Label/DSLabel.js +15 -9
  305. package/dist/esm/FormItem/Label/DSLabel.js.map +1 -1
  306. package/dist/esm/FormItem/Suffix/Suffix.js.map +1 -1
  307. package/dist/esm/FormItem/ValidationFieldWrapper.js.map +1 -1
  308. package/dist/esm/FormItem/defaultProps.js.map +1 -1
  309. package/dist/esm/FormItem/index.js.map +2 -2
  310. package/dist/esm/FormItem/props.js +6 -2
  311. package/dist/esm/FormItem/props.js.map +1 -1
  312. package/dist/esm/FormItem/variants.js.map +1 -1
  313. package/dist/esm/Input/DSInput.js.map +1 -1
  314. package/dist/esm/Input/InputAddonWrapper.js.map +1 -1
  315. package/dist/esm/Input/InputImpl.js.map +1 -1
  316. package/dist/esm/Input/index.js.map +2 -2
  317. package/dist/esm/InputGroup/AddonWrapper.js +14 -4
  318. package/dist/esm/InputGroup/AddonWrapper.js.map +1 -1
  319. package/dist/esm/InputGroup/DSInputGroup.js +5 -4
  320. package/dist/esm/InputGroup/DSInputGroup.js.map +1 -1
  321. package/dist/esm/InputGroup/defaultProps.js.map +1 -1
  322. package/dist/esm/InputGroup/index.js.map +2 -2
  323. package/dist/esm/InputGroup/props.js +9 -3
  324. package/dist/esm/InputGroup/props.js.map +1 -1
  325. package/dist/esm/InputMask/DSInputMask.js +15 -7
  326. package/dist/esm/InputMask/DSInputMask.js.map +1 -1
  327. package/dist/esm/InputMask/DSInputMaskDeprecated.js +39 -32
  328. package/dist/esm/InputMask/DSInputMaskDeprecated.js.map +2 -2
  329. package/dist/esm/InputMask/InputMaskContext.js.map +2 -2
  330. package/dist/esm/InputMask/MaskPipes.js.map +1 -1
  331. package/dist/esm/InputMask/MaskTypes.js.map +1 -1
  332. package/dist/esm/InputMask/addons/AutoCorrectedDatePipe.js +12 -3
  333. package/dist/esm/InputMask/addons/AutoCorrectedDatePipe.js.map +1 -1
  334. package/dist/esm/InputMask/defaultProps.js.map +1 -1
  335. package/dist/esm/InputMask/index.js.map +1 -1
  336. package/dist/esm/InputMask/mask_types/DateInputMask.js +50 -33
  337. package/dist/esm/InputMask/mask_types/DateInputMask.js.map +1 -1
  338. package/dist/esm/InputMask/mask_types/DateTimeInputMask.js +50 -33
  339. package/dist/esm/InputMask/mask_types/DateTimeInputMask.js.map +1 -1
  340. package/dist/esm/InputMask/mask_types/DictionaryInputMask.js +55 -34
  341. package/dist/esm/InputMask/mask_types/DictionaryInputMask.js.map +1 -1
  342. package/dist/esm/InputMask/mask_types/NumberInputMask.js +72 -56
  343. package/dist/esm/InputMask/mask_types/NumberInputMask.js.map +1 -1
  344. package/dist/esm/InputMask/mask_types/PhoneInputMask.js +50 -33
  345. package/dist/esm/InputMask/mask_types/PhoneInputMask.js.map +1 -1
  346. package/dist/esm/InputMask/mask_types/PhoneInternationalInputMask.js +50 -33
  347. package/dist/esm/InputMask/mask_types/PhoneInternationalInputMask.js.map +1 -1
  348. package/dist/esm/InputMask/mask_types/SsnInputMask.js +50 -33
  349. package/dist/esm/InputMask/mask_types/SsnInputMask.js.map +1 -1
  350. package/dist/esm/InputMask/mask_types/UsZipCodeInputMask.js +46 -33
  351. package/dist/esm/InputMask/mask_types/UsZipCodeInputMask.js.map +1 -1
  352. package/dist/esm/InputMask/mask_types/ZipCodeSearchInputMask.js +50 -33
  353. package/dist/esm/InputMask/mask_types/ZipCodeSearchInputMask.js.map +1 -1
  354. package/dist/esm/InputMask/mask_types/index.js +11 -11
  355. package/dist/esm/InputMask/mask_types/index.js.map +1 -1
  356. package/dist/esm/InputMask/props.js +61 -21
  357. package/dist/esm/InputMask/props.js.map +1 -1
  358. package/dist/esm/InputMask/types/index.js.map +1 -1
  359. package/dist/esm/InputMask/utils/setCaretPosition.js.map +1 -1
  360. package/dist/esm/InputProtected/DSInputProtected.js +34 -30
  361. package/dist/esm/InputProtected/DSInputProtected.js.map +1 -1
  362. package/dist/esm/InputProtected/defaultProps.js.map +1 -1
  363. package/dist/esm/InputProtected/index.js.map +1 -1
  364. package/dist/esm/InputProtected/options.js.map +1 -1
  365. package/dist/esm/InputProtected/props.js +13 -5
  366. package/dist/esm/InputProtected/props.js.map +1 -1
  367. package/dist/esm/LargeInputText/DSLargeInputText.js +63 -45
  368. package/dist/esm/LargeInputText/DSLargeInputText.js.map +1 -1
  369. package/dist/esm/LargeInputText/defaultProps.js.map +1 -1
  370. package/dist/esm/LargeInputText/index.js.map +2 -2
  371. package/dist/esm/LargeInputText/props.js +42 -14
  372. package/dist/esm/LargeInputText/props.js.map +1 -1
  373. package/dist/esm/MenuItem/components/MenuItem/index.js.map +1 -1
  374. package/dist/esm/MenuItem/components/MenuItem/styled.js.map +1 -1
  375. package/dist/esm/MenuItem/components/MultiMenuItem/MultiMenuItem.js.map +1 -1
  376. package/dist/esm/MenuItem/components/MultiMenuItem/styled.js.map +1 -1
  377. package/dist/esm/MenuItem/components/Section/index.js.map +1 -1
  378. package/dist/esm/MenuItem/components/Section/props.js.map +1 -1
  379. package/dist/esm/MenuItem/components/Section/styled.js.map +1 -1
  380. package/dist/esm/MenuItem/components/Separator/index.js.map +1 -1
  381. package/dist/esm/MenuItem/components/Separator/styled.js.map +1 -1
  382. package/dist/esm/MenuItem/components/SingleMenuItem/SingleMenuItem.js.map +1 -1
  383. package/dist/esm/MenuItem/components/SubmenuItem/index.js.map +1 -1
  384. package/dist/esm/MenuItem/components/SubmenuItem/styled.js.map +1 -1
  385. package/dist/esm/MenuItem/components/index.js.map +1 -1
  386. package/dist/esm/MenuItem/components/styled.js.map +1 -1
  387. package/dist/esm/MenuItem/index.js.map +1 -1
  388. package/dist/esm/MenuItem/props.js.map +1 -1
  389. package/dist/esm/Radio/Circle.js +10 -9
  390. package/dist/esm/Radio/Circle.js.map +1 -1
  391. package/dist/esm/Radio/DSRadio.js +64 -49
  392. package/dist/esm/Radio/DSRadio.js.map +1 -1
  393. package/dist/esm/Radio/index.js.map +1 -1
  394. package/dist/esm/RadioGroup/DSRadioGroup.js +32 -24
  395. package/dist/esm/RadioGroup/DSRadioGroup.js.map +2 -2
  396. package/dist/esm/RadioGroup/defaultProps.js.map +1 -1
  397. package/dist/esm/RadioGroup/index.js.map +1 -1
  398. package/dist/esm/RadioGroup/props.js.map +1 -1
  399. package/dist/esm/RequiredMark/RequiredMark.js +9 -7
  400. package/dist/esm/RequiredMark/RequiredMark.js.map +1 -1
  401. package/dist/esm/RequiredMark/index.js.map +1 -1
  402. package/dist/esm/SearchBox/index.js.map +1 -1
  403. package/dist/esm/TextBox/index.js.map +1 -1
  404. package/dist/esm/TimeInput/DSTimeInput.js +18 -8
  405. package/dist/esm/TimeInput/DSTimeInput.js.map +1 -1
  406. package/dist/esm/TimeInput/TimeInputImpl.js +20 -16
  407. package/dist/esm/TimeInput/TimeInputImpl.js.map +1 -1
  408. package/dist/esm/TimeInput/TimeInputs.js +24 -18
  409. package/dist/esm/TimeInput/TimeInputs.js.map +2 -2
  410. package/dist/esm/TimeInput/index.js.map +1 -1
  411. package/dist/esm/TimeInput/utils.js.map +1 -1
  412. package/dist/esm/Toggle/DSToggle.js +2 -2
  413. package/dist/esm/Toggle/DSToggle.js.map +1 -1
  414. package/dist/esm/Toggle/DSToggleImpl.js +2 -1
  415. package/dist/esm/Toggle/DSToggleImpl.js.map +2 -2
  416. package/dist/esm/Toggle/DSToggleRender.js +45 -35
  417. package/dist/esm/Toggle/DSToggleRender.js.map +1 -1
  418. package/dist/esm/Toggle/index.js.map +2 -2
  419. package/dist/esm/Toggle/props.js.map +1 -1
  420. package/dist/esm/Toggle/toggleHelper.js.map +1 -1
  421. package/dist/esm/index.js.map +1 -1
  422. package/package.json +12 -12
@@ -3,43 +3,83 @@ import { PropTypes } from "@elliemae/ds-utilities";
3
3
  const inputProps = {
4
4
  autoFocus: PropTypes.bool.description("Should component focus automatically"),
5
5
  style: PropTypes.object.description("Set style for the input mask"),
6
- disabled: PropTypes.bool.description("Whether the input mask is disabled or not"),
6
+ disabled: PropTypes.bool.description(
7
+ "Whether the input mask is disabled or not"
8
+ ),
7
9
  disableTooltip: PropTypes.bool.description("Whether to show a tooltip or not when text does not fit").defaultValue(true),
8
10
  className: PropTypes.string.description("css class"),
9
11
  name: PropTypes.string.description("html name prop for form"),
10
12
  maxLength: PropTypes.number.description("Max length for the input mask"),
11
13
  minLength: PropTypes.number.description("Min length for the input mask"),
12
- fluidWidth: PropTypes.bool.description("Whether to make the content of the input mask fit the container or not"),
13
- isShowElipsisActive: PropTypes.bool.description("Wheter to enable the ellipsis and tooltip functionality or not").defaultValue(true),
14
- placeholder: PropTypes.node.description("Component that works as placeholder"),
15
- onKeyDown: PropTypes.func.description("Allows a function that is triggered once a key is being pressed"),
16
- onClick: PropTypes.func.description("Allows a function that is triggered once the input mask is clicked"),
17
- onChange: PropTypes.func.description("Allows a function that is triggered once the input mask changes"),
18
- onFocus: PropTypes.func.description("Allows a function that is triggered once the input mask is focused"),
19
- onBlur: PropTypes.func.description("Allows a function that is triggered once the input mask loses focus"),
20
- onPaste: PropTypes.func.description("Allows a function that is triggered once the input mask is pasted"),
21
- onKeyUp: PropTypes.func.description("Allows a function that is triggered once in the input mask a keyboard key is released"),
22
- value: PropTypes.string.description("Default value once the component is initialized"),
23
- hasError: PropTypes.bool.description("Whether the input mask has error or not"),
24
- readOnly: PropTypes.bool.description("Whether the input mask is read only or not"),
14
+ fluidWidth: PropTypes.bool.description(
15
+ "Whether to make the content of the input mask fit the container or not"
16
+ ),
17
+ isShowElipsisActive: PropTypes.bool.description(
18
+ "Wheter to enable the ellipsis and tooltip functionality or not"
19
+ ).defaultValue(true),
20
+ placeholder: PropTypes.node.description(
21
+ "Component that works as placeholder"
22
+ ),
23
+ onKeyDown: PropTypes.func.description(
24
+ "Allows a function that is triggered once a key is being pressed"
25
+ ),
26
+ onClick: PropTypes.func.description(
27
+ "Allows a function that is triggered once the input mask is clicked"
28
+ ),
29
+ onChange: PropTypes.func.description(
30
+ "Allows a function that is triggered once the input mask changes"
31
+ ),
32
+ onFocus: PropTypes.func.description(
33
+ "Allows a function that is triggered once the input mask is focused"
34
+ ),
35
+ onBlur: PropTypes.func.description(
36
+ "Allows a function that is triggered once the input mask loses focus"
37
+ ),
38
+ onPaste: PropTypes.func.description(
39
+ "Allows a function that is triggered once the input mask is pasted"
40
+ ),
41
+ onKeyUp: PropTypes.func.description(
42
+ "Allows a function that is triggered once in the input mask a keyboard key is released"
43
+ ),
44
+ value: PropTypes.string.description(
45
+ "Default value once the component is initialized"
46
+ ),
47
+ hasError: PropTypes.bool.description(
48
+ "Whether the input mask has error or not"
49
+ ),
50
+ readOnly: PropTypes.bool.description(
51
+ "Whether the input mask is read only or not"
52
+ ),
25
53
  innerRef: PropTypes.oneOfType([
26
54
  PropTypes.func,
27
55
  PropTypes.shape({ current: PropTypes.any })
28
56
  ]).description("Whether the input mask is read only or not"),
29
57
  type: PropTypes.string.description("Type of input. Ex: 'text'"),
30
- clearable: PropTypes.bool.description("Whether the input mask is clearable or not"),
31
- leftComponent: PropTypes.node.description("Component to be added at the right side of the input"),
32
- rightComponent: PropTypes.node.description("Component to be added at the right side of the input"),
58
+ clearable: PropTypes.bool.description(
59
+ "Whether the input mask is clearable or not"
60
+ ),
61
+ leftComponent: PropTypes.node.description(
62
+ "Component to be added at the right side of the input"
63
+ ),
64
+ rightComponent: PropTypes.node.description(
65
+ "Component to be added at the right side of the input"
66
+ ),
33
67
  mask: PropTypes.oneOfType([
34
68
  PropTypes.array,
35
69
  PropTypes.string,
36
70
  PropTypes.func,
37
71
  PropTypes.object
38
- ]).description("Mask that has to match with the input information entered. ['DATE', 'PHONE', 'PHONE_INTENATIONAL', 'SSN', 'US_ZIP_CODE', 'NUMBER', 'PERCENT', 'ZIP_CODE_SEARCH']"),
39
- pipe: PropTypes.func.description("Expects pipe functions. i.e. autoCorrectedDatePipe"),
72
+ ]).description(
73
+ "Mask that has to match with the input information entered. ['DATE', 'PHONE', 'PHONE_INTENATIONAL', 'SSN', 'US_ZIP_CODE', 'NUMBER', 'PERCENT', 'ZIP_CODE_SEARCH']"
74
+ ),
75
+ pipe: PropTypes.func.description(
76
+ "Expects pipe functions. i.e. autoCorrectedDatePipe"
77
+ ),
40
78
  useSubfix: PropTypes.string.description("Put a sufix after the input mask"),
41
- placeholderChar: PropTypes.string.description(`The placeholder character represents the fillable spot in the mask.
42
- The default placeholder character is underscore, _.`).defaultValue("_")
79
+ placeholderChar: PropTypes.string.description(
80
+ `The placeholder character represents the fillable spot in the mask.
81
+ The default placeholder character is underscore, _.`
82
+ ).defaultValue("_")
43
83
  };
44
84
  export {
45
85
  inputProps
@@ -2,6 +2,6 @@
2
2
  "version": 3,
3
3
  "sources": ["../../../../../scripts/build/transpile/react-shim.js", "../../../src/InputMask/props.tsx"],
4
4
  "sourcesContent": ["import * as React from 'react';\nexport { React };\n", "import { PropTypes } from '@elliemae/ds-utilities';\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(\n 'Whether the input mask is disabled or not',\n ),\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(\n 'Whether to make the content of the input mask fit the container or not',\n ),\n /** isShowElipsisActive */\n isShowElipsisActive: PropTypes.bool\n .description(\n 'Wheter to enable the ellipsis and tooltip functionality or not',\n )\n .defaultValue(true),\n /**\n * Component that works as placeholder\n */\n placeholder: PropTypes.node.description(\n 'Component that works as placeholder',\n ),\n /**\n * Allows a function that is triggered once a key is being pressed\n */\n onKeyDown: PropTypes.func.description(\n 'Allows a function that is triggered once a key is being pressed',\n ),\n /**\n * Allows a function that is triggered once the input mask is clicked\n */\n onClick: PropTypes.func.description(\n 'Allows a function that is triggered once the input mask is clicked',\n ),\n /**\n * Allows a function that is triggered once the input mask changes\n */\n onChange: PropTypes.func.description(\n 'Allows a function that is triggered once the input mask changes',\n ),\n /**\n * Allows a function that is triggered once the input mask is focused\n */\n onFocus: PropTypes.func.description(\n 'Allows a function that is triggered once the input mask is focused',\n ),\n /**\n * Allows a function that is triggered once the input mask loses focus\n */\n onBlur: PropTypes.func.description(\n 'Allows a function that is triggered once the input mask loses focus',\n ),\n /**\n * Allows a function that is triggered once the input mask is pasted\n */\n onPaste: PropTypes.func.description(\n 'Allows a function that is triggered once the input mask is pasted',\n ),\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(\n 'Default value once the component is initialized',\n ),\n /**\n * Whether the input mask has error or not\n */\n hasError: PropTypes.bool.description(\n 'Whether the input mask has error or not',\n ),\n /**\n * Whether the input mask is read only or not\n */\n readOnly: PropTypes.bool.description(\n 'Whether the input mask is read only or not',\n ),\n innerRef: PropTypes.oneOfType([\n PropTypes.func,\n PropTypes.shape({ current: PropTypes.any }),\n ]).description('Whether the input mask is read only or not'),\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(\n 'Whether the input mask is clearable or not',\n ),\n /**\n * Component to be added at the right side of the input\n */\n leftComponent: PropTypes.node.description(\n 'Component to be added at the right side of the input',\n ),\n /**\n * Component to be added at the right side of the input\n */\n rightComponent: PropTypes.node.description(\n 'Component to be added at the right side of the input',\n ),\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([\n PropTypes.array,\n PropTypes.string,\n PropTypes.func,\n PropTypes.object,\n ]).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(\n 'Expects pipe functions. i.e. autoCorrectedDatePipe',\n ),\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"],
5
- "mappings": "AAAA;ACAA;AAEO,MAAM,aAAa;AAAA,EAExB,WAAW,UAAU,KAAK,YAAY,sCAAsC;AAAA,EAI5E,OAAO,UAAU,OAAO,YAAY,8BAA8B;AAAA,EAIlE,UAAU,UAAU,KAAK,YACvB,2CACF;AAAA,EAEA,gBAAgB,UAAU,KACvB,YAAY,yDAAyD,EACrE,aAAa,IAAI;AAAA,EAEpB,WAAW,UAAU,OAAO,YAAY,WAAW;AAAA,EAEnD,MAAM,UAAU,OAAO,YAAY,yBAAyB;AAAA,EAI5D,WAAW,UAAU,OAAO,YAAY,+BAA+B;AAAA,EAIvE,WAAW,UAAU,OAAO,YAAY,+BAA+B;AAAA,EAIvE,YAAY,UAAU,KAAK,YACzB,wEACF;AAAA,EAEA,qBAAqB,UAAU,KAC5B,YACC,gEACF,EACC,aAAa,IAAI;AAAA,EAIpB,aAAa,UAAU,KAAK,YAC1B,qCACF;AAAA,EAIA,WAAW,UAAU,KAAK,YACxB,iEACF;AAAA,EAIA,SAA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AgB,UAAU,KAAK;AAAA,IAC7B;AAAA,EACF;AAAA,EAKA,MAAM,UAAU,UAAU;AAAA,IACxB,UAAU;AAAA,IACV,UAAU;AAAA,IACV,UAAU;AAAA,IACV,UAAU;AAAA,EACZ,CAAC,EAAE;AAAA,IACD;AAAA,EACF;AAAA,EAKA,MAAM,UAAU,KAAK;AAAA,IACnB;AAAA,EACF;AAAA,EAIA,WAAW,UAAU,OAAO,YAAY,kCAAkC;AAAA,EAK1E,iBAAiB,UAAU,OACxB;AAAA,IACC;AAAA;AAAA,EAEF,EACC,aAAa,GAAG;AACrB;",
6
6
  "names": []
7
7
  }
@@ -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;",
5
+ "mappings": "AAAA,YAAY,WAAW;",
6
6
  "names": []
7
7
  }
@@ -2,6 +2,6 @@
2
2
  "version": 3,
3
3
  "sources": ["../../../../../../scripts/build/transpile/react-shim.js", "../../../../src/InputMask/utils/setCaretPosition.tsx"],
4
4
  "sourcesContent": ["import * as React from 'react';\nexport { React };\n", "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"],
5
- "mappings": "AAAA;ACAA,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,YAAY,WAAW;ACAvB,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
  }
@@ -1,5 +1,6 @@
1
1
  import * as React from "react";
2
- import React2, { useState, useCallback, useEffect } from "react";
2
+ import { jsx } from "react/jsx-runtime";
3
+ import { useState, useCallback, useEffect } from "react";
3
4
  import { describe } from "@elliemae/ds-utilities";
4
5
  import { LockUnlocked, LockLocked, VisibleView, InvisibleHide } from "@elliemae/ds-icons";
5
6
  import { DSButton } from "@elliemae/ds-button";
@@ -9,10 +10,10 @@ import { inputProtectedProps } from "./props";
9
10
  import { defaultProps } from "./defaultProps";
10
11
  import { LEFT_ADDON_OPTIONS, RIGHT_ADDON_OPTIONS } from "./options";
11
12
  const ADDON_ICON_OPTIONS = {
12
- LockUnlocked: /* @__PURE__ */ React2.createElement(LockUnlocked, null),
13
- LockLocked: /* @__PURE__ */ React2.createElement(LockLocked, null),
14
- VisibleView: /* @__PURE__ */ React2.createElement(VisibleView, null),
15
- InvisibleHide: /* @__PURE__ */ React2.createElement(InvisibleHide, null)
13
+ LockUnlocked: /* @__PURE__ */ jsx(LockUnlocked, {}),
14
+ LockLocked: /* @__PURE__ */ jsx(LockLocked, {}),
15
+ VisibleView: /* @__PURE__ */ jsx(VisibleView, {}),
16
+ InvisibleHide: /* @__PURE__ */ jsx(InvisibleHide, {})
16
17
  };
17
18
  const DSInputProtected = ({
18
19
  leftAddon,
@@ -39,31 +40,34 @@ const DSInputProtected = ({
39
40
  const handleRight = useCallback(() => {
40
41
  setHidden(!inputHidden);
41
42
  }, [inputHidden]);
42
- return /* @__PURE__ */ React2.createElement("div", null, /* @__PURE__ */ React2.createElement(DSInputGroup, {
43
- leftAddon: left ? /* @__PURE__ */ React2.createElement(DSButton, {
44
- "aria-label": `${inputLocked ? "Allow" : "Disallow"} Edition`,
45
- buttonType: "secondary",
46
- icon: ADDON_ICON_OPTIONS[inputLocked ? LEFT_ADDON_OPTIONS.LockLocked : LEFT_ADDON_OPTIONS.LockUnlocked],
47
- onClick: handleLeft
48
- }) : void 0,
49
- rightAddon: right ? /* @__PURE__ */ React2.createElement(DSButton, {
50
- "aria-label": `${inputHidden ? "Show" : "Hide"} Characters`,
51
- buttonType: "secondary",
52
- icon: ADDON_ICON_OPTIONS[inputHidden ? RIGHT_ADDON_OPTIONS.InvisibleHide : RIGHT_ADDON_OPTIONS.VisibleView],
53
- onClick: handleRight,
54
- containerProps: {
55
- "data-testid": "inputprotected-show-hide-button"
56
- }
57
- }) : void 0
58
- }, /* @__PURE__ */ React2.createElement(DSInputMask, {
59
- ...rest,
60
- mask,
61
- placeholderChar,
62
- onChange,
63
- disabled: left ? inputLocked : readOnly,
64
- type: right && inputHidden ? "password" : type,
65
- value
66
- })));
43
+ return /* @__PURE__ */ jsx("div", {
44
+ children: /* @__PURE__ */ jsx(DSInputGroup, {
45
+ leftAddon: left ? /* @__PURE__ */ jsx(DSButton, {
46
+ "aria-label": `${inputLocked ? "Allow" : "Disallow"} Edition`,
47
+ buttonType: "secondary",
48
+ icon: ADDON_ICON_OPTIONS[inputLocked ? LEFT_ADDON_OPTIONS.LockLocked : LEFT_ADDON_OPTIONS.LockUnlocked],
49
+ onClick: handleLeft
50
+ }) : void 0,
51
+ rightAddon: right ? /* @__PURE__ */ jsx(DSButton, {
52
+ "aria-label": `${inputHidden ? "Show" : "Hide"} Characters`,
53
+ buttonType: "secondary",
54
+ icon: ADDON_ICON_OPTIONS[inputHidden ? RIGHT_ADDON_OPTIONS.InvisibleHide : RIGHT_ADDON_OPTIONS.VisibleView],
55
+ onClick: handleRight,
56
+ containerProps: {
57
+ "data-testid": "inputprotected-show-hide-button"
58
+ }
59
+ }) : void 0,
60
+ children: /* @__PURE__ */ jsx(DSInputMask, {
61
+ ...rest,
62
+ mask,
63
+ placeholderChar,
64
+ onChange,
65
+ disabled: left ? inputLocked : readOnly,
66
+ type: right && inputHidden ? "password" : type,
67
+ value
68
+ })
69
+ })
70
+ });
67
71
  };
68
72
  DSInputProtected.propTypes = inputProtectedProps;
69
73
  DSInputProtected.defaultProps = defaultProps;
@@ -2,6 +2,6 @@
2
2
  "version": 3,
3
3
  "sources": ["../../../../../scripts/build/transpile/react-shim.js", "../../../src/InputProtected/DSInputProtected.tsx"],
4
4
  "sourcesContent": ["import * as React from 'react';\nexport { React };\n", "/* eslint-disable import/no-unresolved */\n/* eslint-disable max-lines */\n/* eslint-disable complexity */\nimport React, { useState, useCallback, useEffect } from 'react';\nimport { describe } from '@elliemae/ds-utilities';\nimport { LockUnlocked, LockLocked, VisibleView, InvisibleHide } from '@elliemae/ds-icons';\nimport { DSButton } from '@elliemae/ds-button';\nimport { DSInputGroup } from '../InputGroup';\nimport { DSInputMask } from '../InputMask';\nimport { inputProtectedProps } from './props';\nimport { defaultProps } from './defaultProps';\nimport { LEFT_ADDON_OPTIONS, RIGHT_ADDON_OPTIONS } from './options';\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 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"],
5
- "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,UAAU,CAAC;AAE1B,QAAM,aAAa,YAAY,MAAM;AACnC,cAAU,CAAC,WAAW;AAAA,EACxB,GAAG,CAAC,WAAW,CAAC;AAChB,QAAM,cAAc,YAAY,MAAM;AACpC,cAAU,CAAC,WAAW;AAAA,EACxB,GAAG,CAAC,WAAW,CAAC;AAEhB,SACE,oBAAC;AAAA,IACC,8BAAC;AAAA,MACC,WACE,OACE,oBAAC;AAAA,QACC,cAAY,GAAG,cAAc,UAAU;AAAA,QACvC,YAAW;AAAA,QACX,MAAM,mBAAmB,cAAc,mBAAmB,aAAa,mBAAmB;AAAA,QAC1F,SAAS;AAAA,OACX,IACE;AAAA,MAEN,YACE,QACE,oBAAC;AAAA,QACC,cAAY,GAAG,cAAc,SAAS;AAAA,QACtC,YAAW;AAAA,QACX,MACE,mBAAmB,cAAc,oBAAoB,gBAAgB,oBAAoB;AAAA,QAE3F,SAAS;AAAA,QACT,gBAAgB;AAAA,UACd,eAAe;AAAA,QACjB;AAAA,OACF,IACE;AAAA,MAGN,8BAAC;AAAA,QACE,GAAG;AAAA,QACJ;AAAA,QACA;AAAA,QACA;AAAA,QACA,UAAU,OAAO,cAAc;AAAA,QAC/B,MAAM,SAAS,cAAc,aAAa;AAAA,QAC1C;AAAA,OACF;AAAA,KACF;AAAA,GACF;AAEJ;AAEA,iBAAiB,YAAY;AAC7B,iBAAiB,eAAe;AAChC,iBAAiB,cAAc;AAC/B,MAAM,6BAA6B,SAAS,gBAAgB;AAC5D,2BAA2B,YAAY;AAGvC,IAAO,2BAAQ;",
6
6
  "names": []
7
7
  }
@@ -2,6 +2,6 @@
2
2
  "version": 3,
3
3
  "sources": ["../../../../../scripts/build/transpile/react-shim.js", "../../../src/InputProtected/defaultProps.tsx"],
4
4
  "sourcesContent": ["import * as React from 'react';\nexport { React };\n", "import { RIGHT_ADDON_OPTIONS } from './options';\n\nexport const defaultProps = {\n rightAddon: RIGHT_ADDON_OPTIONS.InvisibleHide,\n mask: (data) => new Array(data.length).fill(/./),\n};\n"],
5
- "mappings": "AAAA;ACAA;AAEO,MAAM,eAAe;AAAA,EAC1B,YAAY,oBAAoB;AAAA,EAChC,MAAM,CAAC,SAAS,IAAI,MAAM,KAAK,MAAM,EAAE,KAAK,GAAG;AACjD;",
5
+ "mappings": "AAAA,YAAY,WAAW;ACAvB,SAAS,2BAA2B;AAE7B,MAAM,eAAe;AAAA,EAC1B,YAAY,oBAAoB;AAAA,EAChC,MAAM,CAAC,SAAS,IAAI,MAAM,KAAK,MAAM,EAAE,KAAK,GAAG;AACjD;",
6
6
  "names": []
7
7
  }
@@ -2,6 +2,6 @@
2
2
  "version": 3,
3
3
  "sources": ["../../../../../scripts/build/transpile/react-shim.js", "../../../src/InputProtected/index.tsx"],
4
4
  "sourcesContent": ["import * as React from 'react';\nexport { React };\n", "export * from './DSInputProtected';\nexport * from './options';\n"],
5
- "mappings": "AAAA;ACAA;AACA;",
5
+ "mappings": "AAAA,YAAY,WAAW;ACAvB,cAAc;AACd,cAAc;",
6
6
  "names": []
7
7
  }
@@ -2,6 +2,6 @@
2
2
  "version": 3,
3
3
  "sources": ["../../../../../scripts/build/transpile/react-shim.js", "../../../src/InputProtected/options.tsx"],
4
4
  "sourcesContent": ["import * as React from 'react';\nexport { React };\n", "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"],
5
- "mappings": "AAAA;ACAO,MAAM,qBAAqB;AAAA,EAChC,cAAc;AAAA,EACd,YAAY;AACd;AAEO,MAAM,sBAAsB;AAAA,EACjC,aAAa;AAAA,EACb,eAAe;AACjB;",
5
+ "mappings": "AAAA,YAAY,WAAW;ACAhB,MAAM,qBAAqB;AAAA,EAChC,cAAc;AAAA,EACd,YAAY;AACd;AAEO,MAAM,sBAAsB;AAAA,EACjC,aAAa;AAAA,EACb,eAAe;AACjB;",
6
6
  "names": []
7
7
  }
@@ -10,8 +10,12 @@ const inputProtectedProps = {
10
10
  RIGHT_ADDON_OPTIONS.VisibleView,
11
11
  RIGHT_ADDON_OPTIONS.InvisibleHide
12
12
  ]).description("right addon component to display").defaultValue(RIGHT_ADDON_OPTIONS.InvisibleHide),
13
- onChange: PropTypes.func.description("Function executed when input s value changes"),
14
- value: PropTypes.oneOfType([PropTypes.string, PropTypes.number]).description("input s value"),
13
+ onChange: PropTypes.func.description(
14
+ "Function executed when input s value changes"
15
+ ),
16
+ value: PropTypes.oneOfType([PropTypes.string, PropTypes.number]).description(
17
+ "input s value"
18
+ ),
15
19
  readOnly: PropTypes.bool.description("Whether the input is read-only or not").defaultValue(false),
16
20
  mask: PropTypes.oneOfType([
17
21
  PropTypes.array,
@@ -19,9 +23,13 @@ const inputProtectedProps = {
19
23
  PropTypes.object,
20
24
  PropTypes.string
21
25
  ]).description("mask to apply"),
22
- type: PropTypes.oneOf(["password", "number", "text"]).description("type of input"),
23
- placeholderChar: PropTypes.string.description(`The placeholder character represents the fillable spot in the mask.
24
- * The default placeholder character is underscore, _.`)
26
+ type: PropTypes.oneOf(["password", "number", "text"]).description(
27
+ "type of input"
28
+ ),
29
+ placeholderChar: PropTypes.string.description(
30
+ `The placeholder character represents the fillable spot in the mask.
31
+ * The default placeholder character is underscore, _.`
32
+ )
25
33
  };
26
34
  export {
27
35
  inputProtectedProps
@@ -2,6 +2,6 @@
2
2
  "version": 3,
3
3
  "sources": ["../../../../../scripts/build/transpile/react-shim.js", "../../../src/InputProtected/props.tsx"],
4
4
  "sourcesContent": ["import * as React from 'react';\nexport { React };\n", "import { PropTypes } from '@elliemae/ds-utilities';\nimport { LEFT_ADDON_OPTIONS, RIGHT_ADDON_OPTIONS } from './options';\n\nexport const inputProtectedProps = {\n leftAddon: PropTypes.oneOf([\n LEFT_ADDON_OPTIONS.LockLocked,\n LEFT_ADDON_OPTIONS.LockUnlocked,\n ]).description('left addon component to display'),\n rightAddon: PropTypes.oneOf([\n RIGHT_ADDON_OPTIONS.VisibleView,\n RIGHT_ADDON_OPTIONS.InvisibleHide,\n ])\n .description('right addon component to display')\n .defaultValue(RIGHT_ADDON_OPTIONS.InvisibleHide),\n onChange: PropTypes.func.description(\n 'Function executed when input s value changes',\n ),\n value: PropTypes.oneOfType([PropTypes.string, PropTypes.number]).description(\n 'input s value',\n ),\n readOnly: PropTypes.bool\n .description('Whether the input is read-only or not')\n .defaultValue(false),\n mask: PropTypes.oneOfType([\n PropTypes.array,\n PropTypes.func,\n PropTypes.object,\n PropTypes.string,\n ]).description('mask to apply'),\n type: PropTypes.oneOf(['password', 'number', 'text']).description(\n 'type of input',\n ),\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"],
5
- "mappings": "AAAA;ACAA;AACA;AAEO,MAAM,sBAAsB;AAAA,EACjC,WAAW,UAAU,MAAM;AAAA,IACzB,mBAAmB;AAAA,IACnB,mBAAmB;AAAA,EACrB,CAAC,EAAE,YAAY,iCAAiC;AAAA,EAChD,YAAY,UAAU,MAAM;AAAA,IAC1B,oBAAoB;AAAA,IACpB,oBAAoB;AAAA,EACtB,CAAC,EACE,YAAY,kCAAkC,EAC9C,aAAa,oBAAoB,aAAa;AAAA,EACjD,UAAU,UAAU,KAAK,YACvB,8CACF;AAAA,EACA,OAAO,UAAU,UAAU,CAAC,UAAU,QAAQ,UAAU,MAAM,CAAC,EAAE,YAC/D,eACF;AAAA,EACA,UAAU,UAAU,KACjB,YAAY,uCAAuC,EACnD,aAAa,KAAK;AAAA,EACrB,MAAM,UAAU,UAAU;AAAA,IACxB,UAAU;AAAA,IACV,UAAU;AAAA,IACV,UAAU;AAAA,IACV,UAAU;AAAA,EACZ,CAAC,EAAE,YAAY,eAAe;AAAA,EAC9B,MAAM,UAAU,MAAM,CAAC,YAAY,UAAU,MAAM,CAAC,EAAE,YACpD,eACF;AAAA,EAKA,iBAAiB,UAAU,OAAO,YAChC;AAAA,wDAEF;AACF;",
5
+ "mappings": "AAAA,YAAY,WAAW;ACAvB,SAAS,iBAAiB;AAC1B,SAAS,oBAAoB,2BAA2B;AAEjD,MAAM,sBAAsB;AAAA,EACjC,WAAW,UAAU,MAAM;AAAA,IACzB,mBAAmB;AAAA,IACnB,mBAAmB;AAAA,EACrB,CAAC,EAAE,YAAY,iCAAiC;AAAA,EAChD,YAAY,UAAU,MAAM;AAAA,IAC1B,oBAAoB;AAAA,IACpB,oBAAoB;AAAA,EACtB,CAAC,EACE,YAAY,kCAAkC,EAC9C,aAAa,oBAAoB,aAAa;AAAA,EACjD,UAAU,UAAU,KAAK;AAAA,IACvB;AAAA,EACF;AAAA,EACA,OAAO,UAAU,UAAU,CAAC,UAAU,QAAQ,UAAU,MAAM,CAAC,EAAE;AAAA,IAC/D;AAAA,EACF;AAAA,EACA,UAAU,UAAU,KACjB,YAAY,uCAAuC,EACnD,aAAa,KAAK;AAAA,EACrB,MAAM,UAAU,UAAU;AAAA,IACxB,UAAU;AAAA,IACV,UAAU;AAAA,IACV,UAAU;AAAA,IACV,UAAU;AAAA,EACZ,CAAC,EAAE,YAAY,eAAe;AAAA,EAC9B,MAAM,UAAU,MAAM,CAAC,YAAY,UAAU,MAAM,CAAC,EAAE;AAAA,IACpD;AAAA,EACF;AAAA,EAKA,iBAAiB,UAAU,OAAO;AAAA,IAChC;AAAA;AAAA,EAEF;AACF;",
6
6
  "names": []
7
7
  }
@@ -1,5 +1,6 @@
1
1
  import * as React from "react";
2
- import React2, { useMemo } from "react";
2
+ import { Fragment, jsx, jsxs } from "react/jsx-runtime";
3
+ import { useMemo } from "react";
3
4
  import { describe } from "@elliemae/ds-utilities";
4
5
  import {
5
6
  convertPropToCssClassName,
@@ -7,9 +8,13 @@ import {
7
8
  } from "@elliemae/ds-classnames";
8
9
  import { props } from "./props";
9
10
  import { defaultProps } from "./defaultProps";
10
- const CounterArea = aggregatedClasses("div")("counter", "textarea", ({ limitError }) => ({
11
- "limit-error": limitError
12
- }));
11
+ const CounterArea = aggregatedClasses("div")(
12
+ "counter",
13
+ "textarea",
14
+ ({ limitError }) => ({
15
+ "limit-error": limitError
16
+ })
17
+ );
13
18
  const DSLargeInputText = ({
14
19
  containerProps,
15
20
  autoFocus,
@@ -41,7 +46,10 @@ const DSLargeInputText = ({
41
46
  errorLimit,
42
47
  tabIndex
43
48
  }) => {
44
- const limitError = useMemo(() => characterLimitCounter < String(value).length && characterLimitCounter > 0, [characterLimitCounter, value]);
49
+ const limitError = useMemo(
50
+ () => characterLimitCounter < String(value).length && characterLimitCounter > 0,
51
+ [characterLimitCounter, value]
52
+ );
45
53
  const {
46
54
  cssClassName,
47
55
  classNameElement,
@@ -54,50 +62,60 @@ const DSLargeInputText = ({
54
62
  const handleKeyUp = (e) => {
55
63
  onKeyUp(e);
56
64
  };
57
- return /* @__PURE__ */ React2.createElement(React2.Fragment, null, /* @__PURE__ */ React2.createElement("div", {
58
- ...containerProps,
59
- className: `${cssClassName} ${className}`
60
- }, /* @__PURE__ */ React2.createElement("div", {
61
- className: classNameBlock("wrapper")
62
- }, /* @__PURE__ */ React2.createElement("textarea", {
63
- ref: innerRef,
64
- "aria-autocomplete": ariaAutocomplete,
65
- "aria-label": ariaLabel,
66
- "aria-multiline": true,
67
- "aria-placeholder": placeholder,
68
- "aria-required": required,
69
- autoFocus,
70
- className: classNameElement("textarea"),
71
- "data-testid": "ds-large-input_main-component",
72
- disabled,
73
- id,
74
- maxLength,
75
- minLength,
76
- name,
77
- onBlur,
78
- onChange,
79
- onClick,
80
- onFocus,
81
- onKeyDown,
82
- onKeyUp: handleKeyUp,
83
- onPaste,
84
- placeholder,
85
- role,
86
- rows: String(rows),
87
- style: {
88
- resize
89
- },
90
- value,
91
- tabIndex
92
- }))), characterLimitCounter > 0 && /* @__PURE__ */ React2.createElement(CounterArea, {
93
- classProps: { limitError },
94
- "data-testid": "counter-area"
95
- }, `${limitError ? `${errorLimit} ${characterLimitCounter} characters. ` : ""}${String(value).length} / ${characterLimitCounter}`));
65
+ return /* @__PURE__ */ jsxs(Fragment, {
66
+ children: [
67
+ /* @__PURE__ */ jsx("div", {
68
+ ...containerProps,
69
+ className: `${cssClassName} ${className}`,
70
+ children: /* @__PURE__ */ jsx("div", {
71
+ className: classNameBlock("wrapper"),
72
+ children: /* @__PURE__ */ jsx("textarea", {
73
+ ref: innerRef,
74
+ "aria-autocomplete": ariaAutocomplete,
75
+ "aria-label": ariaLabel,
76
+ "aria-multiline": true,
77
+ "aria-placeholder": placeholder,
78
+ "aria-required": required,
79
+ autoFocus,
80
+ className: classNameElement("textarea"),
81
+ "data-testid": "ds-large-input_main-component",
82
+ disabled,
83
+ id,
84
+ maxLength,
85
+ minLength,
86
+ name,
87
+ onBlur,
88
+ onChange,
89
+ onClick,
90
+ onFocus,
91
+ onKeyDown,
92
+ onKeyUp: handleKeyUp,
93
+ onPaste,
94
+ placeholder,
95
+ role,
96
+ rows: String(rows),
97
+ style: {
98
+ resize
99
+ },
100
+ value,
101
+ tabIndex
102
+ })
103
+ })
104
+ }),
105
+ characterLimitCounter > 0 && /* @__PURE__ */ jsx(CounterArea, {
106
+ classProps: { limitError },
107
+ "data-testid": "counter-area",
108
+ children: `${limitError ? `${errorLimit} ${characterLimitCounter} characters. ` : ""}${String(value).length} / ${characterLimitCounter}`
109
+ })
110
+ ]
111
+ });
96
112
  };
97
113
  DSLargeInputText.propTypes = props;
98
114
  DSLargeInputText.defaultProps = defaultProps;
99
115
  DSLargeInputText.displayName = "DSLargeInputText";
100
- const DSLargeInputTextWithSchema = describe(DSLargeInputText).description("A large input");
116
+ const DSLargeInputTextWithSchema = describe(DSLargeInputText).description(
117
+ "A large input"
118
+ );
101
119
  DSLargeInputTextWithSchema.propTypes = props;
102
120
  var DSLargeInputText_default = DSLargeInputText;
103
121
  export {
@@ -2,6 +2,6 @@
2
2
  "version": 3,
3
3
  "sources": ["../../../../../scripts/build/transpile/react-shim.js", "../../../src/LargeInputText/DSLargeInputText.tsx"],
4
4
  "sourcesContent": ["import * as React from 'react';\nexport { React };\n", "/* eslint-disable max-lines */\n/* eslint-disable jsx-a11y/no-autofocus, react/prop-types */\nimport React, { useMemo } from 'react';\nimport { describe } from '@elliemae/ds-utilities';\nimport {\n convertPropToCssClassName,\n aggregatedClasses,\n} from '@elliemae/ds-classnames';\nimport { props } from './props';\nimport { defaultProps } from './defaultProps';\n\nconst CounterArea = aggregatedClasses('div')(\n 'counter',\n 'textarea',\n ({ limitError }) => ({\n 'limit-error': limitError,\n }),\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 const limitError = useMemo(\n () =>\n characterLimitCounter < String(value).length && characterLimitCounter > 0,\n [characterLimitCounter, value],\n );\n const {\n cssClassName,\n classNameElement,\n classNameBlock,\n } = convertPropToCssClassName('form-element-textarea', 'text', {\n hasError: limitError || hasError,\n readOnly,\n disabled,\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 {`${\n limitError\n ? `${errorLimit} ${characterLimitCounter} characters. `\n : ''\n }${String(value).length} / ${characterLimitCounter}`}\n </CounterArea>\n )}\n </>\n );\n};\n\nDSLargeInputText.propTypes = props;\nDSLargeInputText.defaultProps = defaultProps;\nDSLargeInputText.displayName = 'DSLargeInputText';\nconst DSLargeInputTextWithSchema = describe(DSLargeInputText).description(\n 'A large input',\n);\nDSLargeInputTextWithSchema.propTypes = props;\n\nexport { DSLargeInputTextWithSchema, DSLargeInputText };\n\nexport default DSLargeInputText;\n"],
5
- "mappings": "AAAA;ACEA;AACA;AACA;AAAA;AAAA;AAAA;AAIA;AACA;AAEA,MAAM,cAAc,kBAAkB,KAAK,EACzC,WACA,YACA,CAAC,EAAE,iBAAkB;AAAA,EACnB,eAAe;AACjB,EACF;AAEA,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;AAAA,MACI;AACJ,QAAM,aAAa,QACjB,MACE,wBAAwB,OAAO,KAAK,EAAE,UAAU,wBAAwB,GAC1E,CAAC,uBAAuB,KAAK,CAC/B;AACA,QA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,YACA;AAAA,YACA;AAAA,YACA;AAAA,YACA;AAAA,YACA;AAAA,YACA,SAAS;AAAA,YACT;AAAA,YACA;AAAA,YACA;AAAA,YACA,MAAM,OAAO,IAAI;AAAA,YACjB,OAAO;AAAA,cACL;AAAA,YACF;AAAA,YACA;AAAA,YACA;AAAA,WACF;AAAA,SACF;AAAA,OACF;AAAA,MACC,wBAAwB,KACvB,oBAAC;AAAA,QAAY,YAAY,EAAE,WAAW;AAAA,QAAG,eAAY;AAAA,QAClD,aACC,aACI,GAAG,cAAc,yCACjB,KACH,OAAO,KAAK,EAAE,YAAY;AAAA,OAC/B;AAAA;AAAA,GAEJ;AAEJ;AAEA,iBAAiB,YAAY;AAC7B,iBAAiB,eAAe;AAChC,iBAAiB,cAAc;AAC/B,MAAM,6BAA6B,SAAS,gBAAgB,EAAE;AAAA,EAC5D;AACF;AACA,2BAA2B,YAAY;AAIvC,IAAO,2BAAQ;",
6
6
  "names": []
7
7
  }
@@ -2,6 +2,6 @@
2
2
  "version": 3,
3
3
  "sources": ["../../../../../scripts/build/transpile/react-shim.js", "../../../src/LargeInputText/defaultProps.tsx"],
4
4
  "sourcesContent": ["import * as React from 'react';\nexport { React };\n", "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 tabIndex: '',\n};\n"],
5
- "mappings": "AAAA;ACAO,MAAM,eAAe;AAAA,EAC1B,gBAAgB,CAAC;AAAA,EACjB,WAAW;AAAA,EACX,WAAW;AAAA,EACX,UAAU;AAAA,EACV,MAAM;AAAA,EACN,IAAI;AAAA,EACJ,WAAW;AAAA,EACX,WAAW;AAAA,EACX,aAAa;AAAA,EACb,SAAS,MAAM;AAAA,EACf,UAAU,MAAM;AAAA,EAChB,SAAS,MAAM;AAAA,EACf,QAAQ,MAAM;AAAA,EACd,SAAS,MAAM;AAAA,EACf,WAAW,MAAM;AAAA,EACjB,SAAS,MAAM;AAAA,EACf,OAAO;AAAA,EACP,UAAU;AAAA,EACV,UAAU;AAAA,EACV,UAAU;AAAA,EACV,QAAQ;AAAA,EACR,UAAU;AAAA,EACV,WAAW;AAAA,EACX,kBAAkB;AAAA,EAClB,MAAM;AAAA,EACN,uBAAuB;AAAA,EACvB,MAAM;AAAA,EACN,YAAY;AAAA,EACZ,UAAU;AACZ;",
5
+ "mappings": "AAAA,YAAY,WAAW;ACAhB,MAAM,eAAe;AAAA,EAC1B,gBAAgB,CAAC;AAAA,EACjB,WAAW;AAAA,EACX,WAAW;AAAA,EACX,UAAU;AAAA,EACV,MAAM;AAAA,EACN,IAAI;AAAA,EACJ,WAAW;AAAA,EACX,WAAW;AAAA,EACX,aAAa;AAAA,EACb,SAAS,MAAM;AAAA,EACf,UAAU,MAAM;AAAA,EAChB,SAAS,MAAM;AAAA,EACf,QAAQ,MAAM;AAAA,EACd,SAAS,MAAM;AAAA,EACf,WAAW,MAAM;AAAA,EACjB,SAAS,MAAM;AAAA,EACf,OAAO;AAAA,EACP,UAAU;AAAA,EACV,UAAU;AAAA,EACV,UAAU;AAAA,EACV,QAAQ;AAAA,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
  }
@@ -2,6 +2,6 @@
2
2
  "version": 3,
3
3
  "sources": ["../../../../../scripts/build/transpile/react-shim.js", "../../../src/LargeInputText/index.tsx"],
4
4
  "sourcesContent": ["import * as React from 'react';\nexport { React };\n", "export { default, DSLargeInputTextWithSchema, DSLargeInputText } from './DSLargeInputText';\n"],
5
- "mappings": "AAAA;ACAA;",
6
- "names": []
5
+ "mappings": "AAAA,YAAY,WAAW;ACAvB,SAAS,WAAAA,UAAS,4BAA4B,wBAAwB;",
6
+ "names": ["default"]
7
7
  }
@@ -1,7 +1,9 @@
1
1
  import * as React from "react";
2
2
  import { PropTypes } from "@elliemae/ds-utilities";
3
3
  const props = {
4
- containerProps: PropTypes.object.description("Injected props to wrapper element of component"),
4
+ containerProps: PropTypes.object.description(
5
+ "Injected props to wrapper element of component"
6
+ ),
5
7
  autoFocus: PropTypes.bool.description("Whether uses auto focus or not"),
6
8
  className: PropTypes.string.description("CSS class"),
7
9
  disabled: PropTypes.bool.description("Whether is disabled or not"),
@@ -10,23 +12,49 @@ const props = {
10
12
  maxLength: PropTypes.number.description("Max length for text to be entered"),
11
13
  minLength: PropTypes.number.description("Min length for text to be entered"),
12
14
  placeholder: PropTypes.string.description("Placeholder for the text"),
13
- onClick: PropTypes.func.description("Allows a function that is triggered once the input text is clicked"),
14
- onChange: PropTypes.func.description("Allows a function that is triggered once the input text changes"),
15
- onFocus: PropTypes.func.description("Allows a function that is triggered once the input text is focused"),
16
- onBlur: PropTypes.func.description("Allows a function that is triggered once the input text loses focus"),
17
- onKeyUp: PropTypes.func.description("Allows a function that is triggered once in the input a keyboard key is released"),
18
- onKeyDown: PropTypes.func.description("Allows a function that is triggered once a key is being pressed"),
19
- onPaste: PropTypes.func.description("Allows a function that is triggered once the input text is pasted"),
20
- value: PropTypes.string.description("Default value once the component is initialized"),
21
- hasError: PropTypes.bool.description("Whether the input text has error or not"),
22
- required: PropTypes.bool.description("Whether the input text is required or not"),
23
- readOnly: PropTypes.bool.description("Whether the input text is read only or not"),
24
- resize: PropTypes.string.description("Whether the input text style is vertical or not"),
15
+ onClick: PropTypes.func.description(
16
+ "Allows a function that is triggered once the input text is clicked"
17
+ ),
18
+ onChange: PropTypes.func.description(
19
+ "Allows a function that is triggered once the input text changes"
20
+ ),
21
+ onFocus: PropTypes.func.description(
22
+ "Allows a function that is triggered once the input text is focused"
23
+ ),
24
+ onBlur: PropTypes.func.description(
25
+ "Allows a function that is triggered once the input text loses focus"
26
+ ),
27
+ onKeyUp: PropTypes.func.description(
28
+ "Allows a function that is triggered once in the input a keyboard key is released"
29
+ ),
30
+ onKeyDown: PropTypes.func.description(
31
+ "Allows a function that is triggered once a key is being pressed"
32
+ ),
33
+ onPaste: PropTypes.func.description(
34
+ "Allows a function that is triggered once the input text is pasted"
35
+ ),
36
+ value: PropTypes.string.description(
37
+ "Default value once the component is initialized"
38
+ ),
39
+ hasError: PropTypes.bool.description(
40
+ "Whether the input text has error or not"
41
+ ),
42
+ required: PropTypes.bool.description(
43
+ "Whether the input text is required or not"
44
+ ),
45
+ readOnly: PropTypes.bool.description(
46
+ "Whether the input text is read only or not"
47
+ ),
48
+ resize: PropTypes.string.description(
49
+ "Whether the input text style is vertical or not"
50
+ ),
25
51
  innerRef: PropTypes.func.description("ref forwarded to component"),
26
52
  ariaLabel: PropTypes.string.description("a11y aria label"),
27
53
  ariaAutocomplete: PropTypes.string.description(""),
28
54
  role: PropTypes.string.description("Type of input. Ex: textbox"),
29
- characterLimitCounter: PropTypes.number.description("it will show a counter/limit if the value is greater than 0"),
55
+ characterLimitCounter: PropTypes.number.description(
56
+ "it will show a counter/limit if the value is greater than 0"
57
+ ),
30
58
  tabIndex: PropTypes.string.description("Tab index html property.")
31
59
  };
32
60
  export {