@elliemae/ds-form 3.16.0-next.2 → 3.16.0-next.21

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 (544) 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 +10 -6
  4. package/dist/cjs/CheckboxGroup/DSCheckboxGroup.js.map +2 -2
  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 +5 -1
  8. package/dist/cjs/CheckboxGroup/index.js.map +2 -2
  9. package/dist/cjs/CheckboxGroup/props.js +35 -13
  10. package/dist/cjs/CheckboxGroup/props.js.map +2 -2
  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 +52 -5
  14. package/dist/cjs/ComboBoxFreeSolo/ComboBoxFreeSolo.js.map +2 -2
  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 +6 -2
  20. package/dist/cjs/ComboBoxFreeSolo/components/SingleValue.js.map +2 -2
  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 +5 -1
  24. package/dist/cjs/ComboBoxFreeSolo/index.js.map +2 -2
  25. package/dist/cjs/DateInput/DSDateInput.js +11 -5
  26. package/dist/cjs/DateInput/DSDateInput.js.map +2 -2
  27. package/dist/cjs/DateInput/components/DateInputImpl.js +6 -1
  28. package/dist/cjs/DateInput/components/DateInputImpl.js.map +2 -2
  29. package/dist/cjs/DateInput/components/DateInputs.js +8 -1
  30. package/dist/cjs/DateInput/components/DateInputs.js.map +2 -2
  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 +5 -1
  36. package/dist/cjs/DateInput/index.js.map +2 -2
  37. package/dist/cjs/DateInput/props.js +63 -17
  38. package/dist/cjs/DateInput/props.js.map +2 -2
  39. package/dist/cjs/DateInputV2/components/DSDateInput.js +9 -5
  40. package/dist/cjs/DateInputV2/components/DSDateInput.js.map +2 -2
  41. package/dist/cjs/DateInputV2/components/DateInputs.js +11 -4
  42. package/dist/cjs/DateInputV2/components/DateInputs.js.map +2 -2
  43. package/dist/cjs/DateInputV2/components/helpers.js +5 -1
  44. package/dist/cjs/DateInputV2/components/helpers.js.map +2 -2
  45. package/dist/cjs/DateInputV2/components/props.js +45 -11
  46. package/dist/cjs/DateInputV2/components/props.js.map +2 -2
  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 +6 -2
  54. package/dist/cjs/DateInputV2/index.js.map +2 -2
  55. package/dist/cjs/ExpandableInput/DSExpandableInput.js +5 -1
  56. package/dist/cjs/ExpandableInput/DSExpandableInput.js.map +2 -2
  57. package/dist/cjs/ExpandableInput/ExpandableInputImpl.js +5 -1
  58. package/dist/cjs/ExpandableInput/ExpandableInputImpl.js.map +2 -2
  59. package/dist/cjs/ExpandableInput/index.js +5 -1
  60. package/dist/cjs/ExpandableInput/index.js.map +2 -2
  61. package/dist/cjs/FloatingLabelInput/DSFloatingLabelInput.js +70 -3
  62. package/dist/cjs/FloatingLabelInput/DSFloatingLabelInput.js.map +2 -2
  63. package/dist/cjs/FloatingLabelInput/FloatingLabelInputImpl.js +6 -2
  64. package/dist/cjs/FloatingLabelInput/FloatingLabelInputImpl.js.map +2 -2
  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 +5 -1
  68. package/dist/cjs/FloatingLabelInput/index.js.map +2 -2
  69. package/dist/cjs/FormItem/DSFormItemLayout.js +16 -8
  70. package/dist/cjs/FormItem/DSFormItemLayout.js.map +2 -2
  71. package/dist/cjs/FormItem/Error/DSError.js +10 -4
  72. package/dist/cjs/FormItem/Error/DSError.js.map +2 -2
  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 +5 -1
  76. package/dist/cjs/FormItem/Label/DSLabel.js.map +2 -2
  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 +8 -4
  82. package/dist/cjs/FormItem/defaultProps.js.map +2 -2
  83. package/dist/cjs/FormItem/index.js +6 -2
  84. package/dist/cjs/FormItem/index.js.map +2 -2
  85. package/dist/cjs/FormItem/props.js +89 -45
  86. package/dist/cjs/FormItem/props.js.map +2 -2
  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 +25 -16
  100. package/dist/cjs/InputGroup/DSInputGroup.js.map +2 -2
  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 +5 -1
  104. package/dist/cjs/InputGroup/index.js.map +2 -2
  105. package/dist/cjs/InputGroup/props.js +27 -8
  106. package/dist/cjs/InputGroup/props.js.map +2 -2
  107. package/dist/cjs/InputMask/DSInputMask.js +13 -7
  108. package/dist/cjs/InputMask/DSInputMask.js.map +2 -2
  109. package/dist/cjs/InputMask/DSInputMaskDeprecated.js +13 -2
  110. package/dist/cjs/InputMask/DSInputMaskDeprecated.js.map +2 -2
  111. package/dist/cjs/InputMask/InputMaskContext.js +4 -0
  112. package/dist/cjs/InputMask/InputMaskContext.js.map +2 -2
  113. package/dist/cjs/InputMask/MaskPipes.js +5 -1
  114. package/dist/cjs/InputMask/MaskPipes.js.map +2 -2
  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 +5 -1
  120. package/dist/cjs/InputMask/defaultProps.js.map +2 -2
  121. package/dist/cjs/InputMask/index.js +5 -1
  122. package/dist/cjs/InputMask/index.js.map +2 -2
  123. package/dist/cjs/InputMask/mask_types/DateInputMask.js +6 -2
  124. package/dist/cjs/InputMask/mask_types/DateInputMask.js.map +2 -2
  125. package/dist/cjs/InputMask/mask_types/DateTimeInputMask.js +6 -2
  126. package/dist/cjs/InputMask/mask_types/DateTimeInputMask.js.map +2 -2
  127. package/dist/cjs/InputMask/mask_types/DictionaryInputMask.js +6 -2
  128. package/dist/cjs/InputMask/mask_types/DictionaryInputMask.js.map +2 -2
  129. package/dist/cjs/InputMask/mask_types/NumberInputMask.js +6 -2
  130. package/dist/cjs/InputMask/mask_types/NumberInputMask.js.map +2 -2
  131. package/dist/cjs/InputMask/mask_types/PhoneInputMask.js +6 -2
  132. package/dist/cjs/InputMask/mask_types/PhoneInputMask.js.map +2 -2
  133. package/dist/cjs/InputMask/mask_types/PhoneInternationalInputMask.js +6 -2
  134. package/dist/cjs/InputMask/mask_types/PhoneInternationalInputMask.js.map +2 -2
  135. package/dist/cjs/InputMask/mask_types/SsnInputMask.js +6 -2
  136. package/dist/cjs/InputMask/mask_types/SsnInputMask.js.map +2 -2
  137. package/dist/cjs/InputMask/mask_types/UsZipCodeInputMask.js +6 -2
  138. package/dist/cjs/InputMask/mask_types/UsZipCodeInputMask.js.map +2 -2
  139. package/dist/cjs/InputMask/mask_types/ZipCodeSearchInputMask.js +6 -2
  140. package/dist/cjs/InputMask/mask_types/ZipCodeSearchInputMask.js.map +2 -2
  141. package/dist/cjs/InputMask/mask_types/index.js +13 -9
  142. package/dist/cjs/InputMask/mask_types/index.js.map +2 -2
  143. package/dist/cjs/InputMask/props.js +115 -31
  144. package/dist/cjs/InputMask/props.js.map +2 -2
  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 +12 -6
  150. package/dist/cjs/InputProtected/DSInputProtected.js.map +2 -2
  151. package/dist/cjs/InputProtected/defaultProps.js +5 -1
  152. package/dist/cjs/InputProtected/defaultProps.js.map +2 -2
  153. package/dist/cjs/InputProtected/index.js +6 -2
  154. package/dist/cjs/InputProtected/index.js.map +2 -2
  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 +18 -10
  158. package/dist/cjs/InputProtected/props.js.map +2 -2
  159. package/dist/cjs/LargeInputText/DSLargeInputText.js +9 -3
  160. package/dist/cjs/LargeInputText/DSLargeInputText.js.map +2 -2
  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 +5 -1
  164. package/dist/cjs/LargeInputText/index.js.map +2 -2
  165. package/dist/cjs/LargeInputText/props.js +98 -28
  166. package/dist/cjs/LargeInputText/props.js.map +2 -2
  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 +52 -16
  202. package/dist/cjs/Radio/DSRadio.js.map +2 -2
  203. package/dist/cjs/Radio/index.js +5 -1
  204. package/dist/cjs/Radio/index.js.map +2 -2
  205. package/dist/cjs/RadioGroup/DSRadioGroup.js +10 -6
  206. package/dist/cjs/RadioGroup/DSRadioGroup.js.map +2 -2
  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 +5 -1
  210. package/dist/cjs/RadioGroup/index.js.map +2 -2
  211. package/dist/cjs/RadioGroup/props.js +31 -11
  212. package/dist/cjs/RadioGroup/props.js.map +2 -2
  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 +5 -1
  216. package/dist/cjs/RequiredMark/index.js.map +2 -2
  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 +42 -15
  222. package/dist/cjs/TimeInput/DSTimeInput.js.map +2 -2
  223. package/dist/cjs/TimeInput/TimeInputImpl.js +32 -1
  224. package/dist/cjs/TimeInput/TimeInputImpl.js.map +2 -2
  225. package/dist/cjs/TimeInput/TimeInputs.js +6 -1
  226. package/dist/cjs/TimeInput/TimeInputs.js.map +2 -2
  227. package/dist/cjs/TimeInput/index.js +5 -1
  228. package/dist/cjs/TimeInput/index.js.map +2 -2
  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 +70 -29
  232. package/dist/cjs/Toggle/DSToggle.js.map +2 -2
  233. package/dist/cjs/Toggle/DSToggleImpl.js +40 -3
  234. package/dist/cjs/Toggle/DSToggleImpl.js.map +2 -2
  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 +5 -1
  238. package/dist/cjs/Toggle/index.js.map +2 -2
  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 +25 -21
  244. package/dist/cjs/index.js.map +2 -2
  245. package/dist/cjs/package.json +7 -0
  246. package/dist/esm/CheckboxGroup/DSCheckboxGroup.js +5 -5
  247. package/dist/esm/CheckboxGroup/DSCheckboxGroup.js.map +2 -2
  248. package/dist/esm/CheckboxGroup/index.js +1 -1
  249. package/dist/esm/CheckboxGroup/index.js.map +1 -1
  250. package/dist/esm/CheckboxGroup/props.js +20 -2
  251. package/dist/esm/CheckboxGroup/props.js.map +2 -2
  252. package/dist/esm/ComboBoxFreeSolo/ComboBoxFreeSolo.js +48 -5
  253. package/dist/esm/ComboBoxFreeSolo/ComboBoxFreeSolo.js.map +2 -2
  254. package/dist/esm/ComboBoxFreeSolo/components/MultiValueLabel.js.map +1 -1
  255. package/dist/esm/ComboBoxFreeSolo/components/SingleValue.js +2 -2
  256. package/dist/esm/ComboBoxFreeSolo/components/SingleValue.js.map +1 -1
  257. package/dist/esm/ComboBoxFreeSolo/index.js +1 -1
  258. package/dist/esm/ComboBoxFreeSolo/index.js.map +1 -1
  259. package/dist/esm/DateInput/DSDateInput.js +7 -5
  260. package/dist/esm/DateInput/DSDateInput.js.map +2 -2
  261. package/dist/esm/DateInput/components/DateInputImpl.js +2 -1
  262. package/dist/esm/DateInput/components/DateInputImpl.js.map +2 -2
  263. package/dist/esm/DateInput/components/DateInputs.js +4 -1
  264. package/dist/esm/DateInput/components/DateInputs.js.map +2 -2
  265. package/dist/esm/DateInput/components/utils.js +1 -1
  266. package/dist/esm/DateInput/components/utils.js.map +1 -1
  267. package/dist/esm/DateInput/defaultProps.js +1 -1
  268. package/dist/esm/DateInput/defaultProps.js.map +1 -1
  269. package/dist/esm/DateInput/index.js +1 -1
  270. package/dist/esm/DateInput/index.js.map +1 -1
  271. package/dist/esm/DateInput/props.js +43 -1
  272. package/dist/esm/DateInput/props.js.map +2 -2
  273. package/dist/esm/DateInputV2/components/DSDateInput.js +4 -4
  274. package/dist/esm/DateInputV2/components/DSDateInput.js.map +1 -1
  275. package/dist/esm/DateInputV2/components/DateInputs.js +7 -4
  276. package/dist/esm/DateInputV2/components/DateInputs.js.map +2 -2
  277. package/dist/esm/DateInputV2/components/helpers.js +1 -1
  278. package/dist/esm/DateInputV2/components/helpers.js.map +1 -1
  279. package/dist/esm/DateInputV2/components/props.js +31 -1
  280. package/dist/esm/DateInputV2/components/props.js.map +2 -2
  281. package/dist/esm/DateInputV2/components/styled.js.map +1 -1
  282. package/dist/esm/DateInputV2/components/utils.js +1 -1
  283. package/dist/esm/DateInputV2/components/utils.js.map +1 -1
  284. package/dist/esm/DateInputV2/index.js +2 -2
  285. package/dist/esm/DateInputV2/index.js.map +1 -1
  286. package/dist/esm/ExpandableInput/DSExpandableInput.js +1 -1
  287. package/dist/esm/ExpandableInput/DSExpandableInput.js.map +1 -1
  288. package/dist/esm/ExpandableInput/ExpandableInputImpl.js +1 -1
  289. package/dist/esm/ExpandableInput/ExpandableInputImpl.js.map +1 -1
  290. package/dist/esm/ExpandableInput/index.js +1 -1
  291. package/dist/esm/ExpandableInput/index.js.map +1 -1
  292. package/dist/esm/FloatingLabelInput/DSFloatingLabelInput.js +66 -3
  293. package/dist/esm/FloatingLabelInput/DSFloatingLabelInput.js.map +2 -2
  294. package/dist/esm/FloatingLabelInput/FloatingLabelInputImpl.js +2 -2
  295. package/dist/esm/FloatingLabelInput/FloatingLabelInputImpl.js.map +1 -1
  296. package/dist/esm/FloatingLabelInput/getSvgPath.js +3 -1
  297. package/dist/esm/FloatingLabelInput/getSvgPath.js.map +1 -1
  298. package/dist/esm/FloatingLabelInput/index.js +1 -1
  299. package/dist/esm/FloatingLabelInput/index.js.map +1 -1
  300. package/dist/esm/FormItem/DSFormItemLayout.js +12 -8
  301. package/dist/esm/FormItem/DSFormItemLayout.js.map +2 -2
  302. package/dist/esm/FormItem/Error/DSError.js +3 -1
  303. package/dist/esm/FormItem/Error/DSError.js.map +2 -2
  304. package/dist/esm/FormItem/Label/DSLabel.js +1 -1
  305. package/dist/esm/FormItem/Label/DSLabel.js.map +1 -1
  306. package/dist/esm/FormItem/ValidationFieldWrapper.js +1 -0
  307. package/dist/esm/FormItem/ValidationFieldWrapper.js.map +1 -1
  308. package/dist/esm/FormItem/defaultProps.js +4 -4
  309. package/dist/esm/FormItem/defaultProps.js.map +1 -1
  310. package/dist/esm/FormItem/index.js +2 -2
  311. package/dist/esm/FormItem/index.js.map +1 -1
  312. package/dist/esm/FormItem/props.js +42 -2
  313. package/dist/esm/FormItem/props.js.map +2 -2
  314. package/dist/esm/InputGroup/DSInputGroup.js +21 -16
  315. package/dist/esm/InputGroup/DSInputGroup.js.map +2 -2
  316. package/dist/esm/InputGroup/index.js +1 -1
  317. package/dist/esm/InputGroup/index.js.map +1 -1
  318. package/dist/esm/InputGroup/props.js +16 -1
  319. package/dist/esm/InputGroup/props.js.map +2 -2
  320. package/dist/esm/InputMask/DSInputMask.js +9 -7
  321. package/dist/esm/InputMask/DSInputMask.js.map +2 -2
  322. package/dist/esm/InputMask/DSInputMaskDeprecated.js +9 -2
  323. package/dist/esm/InputMask/DSInputMaskDeprecated.js.map +2 -2
  324. package/dist/esm/InputMask/InputMaskContext.js.map +1 -1
  325. package/dist/esm/InputMask/MaskPipes.js +1 -1
  326. package/dist/esm/InputMask/MaskPipes.js.map +1 -1
  327. package/dist/esm/InputMask/addons/AutoCorrectedDatePipe.js.map +1 -1
  328. package/dist/esm/InputMask/defaultProps.js +1 -1
  329. package/dist/esm/InputMask/defaultProps.js.map +1 -1
  330. package/dist/esm/InputMask/index.js +1 -1
  331. package/dist/esm/InputMask/index.js.map +1 -1
  332. package/dist/esm/InputMask/mask_types/DateInputMask.js +2 -2
  333. package/dist/esm/InputMask/mask_types/DateInputMask.js.map +2 -2
  334. package/dist/esm/InputMask/mask_types/DateTimeInputMask.js +2 -2
  335. package/dist/esm/InputMask/mask_types/DateTimeInputMask.js.map +2 -2
  336. package/dist/esm/InputMask/mask_types/DictionaryInputMask.js +2 -2
  337. package/dist/esm/InputMask/mask_types/DictionaryInputMask.js.map +2 -2
  338. package/dist/esm/InputMask/mask_types/NumberInputMask.js +2 -2
  339. package/dist/esm/InputMask/mask_types/NumberInputMask.js.map +2 -2
  340. package/dist/esm/InputMask/mask_types/PhoneInputMask.js +2 -2
  341. package/dist/esm/InputMask/mask_types/PhoneInputMask.js.map +2 -2
  342. package/dist/esm/InputMask/mask_types/PhoneInternationalInputMask.js +2 -2
  343. package/dist/esm/InputMask/mask_types/PhoneInternationalInputMask.js.map +2 -2
  344. package/dist/esm/InputMask/mask_types/SsnInputMask.js +2 -2
  345. package/dist/esm/InputMask/mask_types/SsnInputMask.js.map +2 -2
  346. package/dist/esm/InputMask/mask_types/UsZipCodeInputMask.js +2 -2
  347. package/dist/esm/InputMask/mask_types/UsZipCodeInputMask.js.map +2 -2
  348. package/dist/esm/InputMask/mask_types/ZipCodeSearchInputMask.js +2 -2
  349. package/dist/esm/InputMask/mask_types/ZipCodeSearchInputMask.js.map +2 -2
  350. package/dist/esm/InputMask/mask_types/index.js +9 -9
  351. package/dist/esm/InputMask/mask_types/index.js.map +2 -2
  352. package/dist/esm/InputMask/props.js +81 -1
  353. package/dist/esm/InputMask/props.js.map +2 -2
  354. package/dist/esm/InputProtected/DSInputProtected.js +8 -6
  355. package/dist/esm/InputProtected/DSInputProtected.js.map +2 -2
  356. package/dist/esm/InputProtected/defaultProps.js +1 -1
  357. package/dist/esm/InputProtected/defaultProps.js.map +1 -1
  358. package/dist/esm/InputProtected/index.js +2 -2
  359. package/dist/esm/InputProtected/index.js.map +1 -1
  360. package/dist/esm/InputProtected/props.js +6 -2
  361. package/dist/esm/InputProtected/props.js.map +2 -2
  362. package/dist/esm/LargeInputText/DSLargeInputText.js +5 -3
  363. package/dist/esm/LargeInputText/DSLargeInputText.js.map +2 -2
  364. package/dist/esm/LargeInputText/index.js +1 -1
  365. package/dist/esm/LargeInputText/index.js.map +1 -1
  366. package/dist/esm/LargeInputText/props.js +67 -1
  367. package/dist/esm/LargeInputText/props.js.map +2 -2
  368. package/dist/esm/Radio/Circle.js.map +1 -1
  369. package/dist/esm/Radio/DSRadio.js +34 -2
  370. package/dist/esm/Radio/DSRadio.js.map +2 -2
  371. package/dist/esm/Radio/index.js +1 -1
  372. package/dist/esm/Radio/index.js.map +1 -1
  373. package/dist/esm/RadioGroup/DSRadioGroup.js +5 -5
  374. package/dist/esm/RadioGroup/DSRadioGroup.js.map +2 -2
  375. package/dist/esm/RadioGroup/index.js +1 -1
  376. package/dist/esm/RadioGroup/index.js.map +1 -1
  377. package/dist/esm/RadioGroup/props.js +17 -1
  378. package/dist/esm/RadioGroup/props.js.map +2 -2
  379. package/dist/esm/RequiredMark/index.js +1 -1
  380. package/dist/esm/RequiredMark/index.js.map +1 -1
  381. package/dist/esm/TimeInput/DSTimeInput.js +26 -3
  382. package/dist/esm/TimeInput/DSTimeInput.js.map +2 -2
  383. package/dist/esm/TimeInput/TimeInputImpl.js +28 -1
  384. package/dist/esm/TimeInput/TimeInputImpl.js.map +2 -2
  385. package/dist/esm/TimeInput/TimeInputs.js +2 -1
  386. package/dist/esm/TimeInput/TimeInputs.js.map +2 -2
  387. package/dist/esm/TimeInput/index.js +1 -1
  388. package/dist/esm/TimeInput/index.js.map +1 -1
  389. package/dist/esm/Toggle/DSToggle.js +55 -18
  390. package/dist/esm/Toggle/DSToggle.js.map +2 -2
  391. package/dist/esm/Toggle/DSToggleImpl.js +36 -3
  392. package/dist/esm/Toggle/DSToggleImpl.js.map +2 -2
  393. package/dist/esm/Toggle/index.js +1 -1
  394. package/dist/esm/Toggle/index.js.map +1 -1
  395. package/dist/esm/Toggle/props.js +33 -0
  396. package/dist/esm/Toggle/props.js.map +1 -1
  397. package/dist/esm/index.js +21 -21
  398. package/dist/esm/index.js.map +1 -1
  399. package/dist/esm/package.json +7 -0
  400. package/package.json +19 -18
  401. package/dist/types/Checkbox/index.d.ts +0 -1
  402. package/dist/types/CheckboxGroup/DSCheckboxGroup.d.ts +0 -46
  403. package/dist/types/CheckboxGroup/defaultProps.d.ts +0 -14
  404. package/dist/types/CheckboxGroup/index.d.ts +0 -1
  405. package/dist/types/CheckboxGroup/props.d.ts +0 -26
  406. package/dist/types/CheckboxGroup/tests/DSCheckboxGroup.events.test.d.ts +0 -1
  407. package/dist/types/ComboBox/index.d.ts +0 -1
  408. package/dist/types/ComboBoxFreeSolo/ComboBoxFreeSolo.d.ts +0 -78
  409. package/dist/types/ComboBoxFreeSolo/components/MultiValueLabel.d.ts +0 -5
  410. package/dist/types/ComboBoxFreeSolo/components/MultiValueRemove.d.ts +0 -5
  411. package/dist/types/ComboBoxFreeSolo/components/SingleValue.d.ts +0 -2
  412. package/dist/types/ComboBoxFreeSolo/components/SingleValueRemove.d.ts +0 -5
  413. package/dist/types/ComboBoxFreeSolo/index.d.ts +0 -1
  414. package/dist/types/DateInput/DSDateInput.d.ts +0 -62
  415. package/dist/types/DateInput/components/DateInputImpl.d.ts +0 -40
  416. package/dist/types/DateInput/components/DateInputs.d.ts +0 -40
  417. package/dist/types/DateInput/components/utils.d.ts +0 -40
  418. package/dist/types/DateInput/defaultProps.d.ts +0 -18
  419. package/dist/types/DateInput/index.d.ts +0 -1
  420. package/dist/types/DateInput/props.d.ts +0 -60
  421. package/dist/types/DateInput/tests/DSDateInput.events.test.d.ts +0 -1
  422. package/dist/types/DateInputV2/components/DSDateInput.d.ts +0 -54
  423. package/dist/types/DateInputV2/components/DateInputs.d.ts +0 -32
  424. package/dist/types/DateInputV2/components/helpers.d.ts +0 -1
  425. package/dist/types/DateInputV2/components/props.d.ts +0 -53
  426. package/dist/types/DateInputV2/components/propsTypes.d.ts +0 -21
  427. package/dist/types/DateInputV2/components/styled.d.ts +0 -5
  428. package/dist/types/DateInputV2/components/utils.d.ts +0 -42
  429. package/dist/types/DateInputV2/index.d.ts +0 -2
  430. package/dist/types/DateInputV2/tests/DateInput.test.d.ts +0 -1
  431. package/dist/types/ExpandableInput/DSExpandableInput.d.ts +0 -15
  432. package/dist/types/ExpandableInput/ExpandableInputImpl.d.ts +0 -7
  433. package/dist/types/ExpandableInput/index.d.ts +0 -1
  434. package/dist/types/FloatingLabelInput/DSFloatingLabelInput.d.ts +0 -47
  435. package/dist/types/FloatingLabelInput/FloatingLabelInputImpl.d.ts +0 -27
  436. package/dist/types/FloatingLabelInput/getSvgPath.d.ts +0 -10
  437. package/dist/types/FloatingLabelInput/index.d.ts +0 -1
  438. package/dist/types/FormItem/DSFormItemLayout.d.ts +0 -180
  439. package/dist/types/FormItem/Error/DSError.d.ts +0 -19
  440. package/dist/types/FormItem/Feedback.d.ts +0 -6
  441. package/dist/types/FormItem/Label/DSLabel.d.ts +0 -23
  442. package/dist/types/FormItem/Suffix/Suffix.d.ts +0 -4
  443. package/dist/types/FormItem/ValidationFieldWrapper.d.ts +0 -19
  444. package/dist/types/FormItem/defaultProps.d.ts +0 -51
  445. package/dist/types/FormItem/index.d.ts +0 -2
  446. package/dist/types/FormItem/props.d.ts +0 -80
  447. package/dist/types/FormItem/tests/DSFormItem.events.test.d.ts +0 -1
  448. package/dist/types/FormItem/variants.d.ts +0 -8
  449. package/dist/types/Input/DSInput.d.ts +0 -0
  450. package/dist/types/Input/InputAddonWrapper.d.ts +0 -0
  451. package/dist/types/Input/InputImpl.d.ts +0 -0
  452. package/dist/types/Input/index.d.ts +0 -1
  453. package/dist/types/Input/tests/Input.test.d.ts +0 -0
  454. package/dist/types/InputGroup/AddonWrapper.d.ts +0 -8
  455. package/dist/types/InputGroup/DSInputGroup.d.ts +0 -40
  456. package/dist/types/InputGroup/defaultProps.d.ts +0 -8
  457. package/dist/types/InputGroup/index.d.ts +0 -1
  458. package/dist/types/InputGroup/props.d.ts +0 -24
  459. package/dist/types/InputGroup/tests/DSInputGroup.events.test.d.ts +0 -1
  460. package/dist/types/InputMask/DSInputMask.d.ts +0 -85
  461. package/dist/types/InputMask/DSInputMaskDeprecated.d.ts +0 -18
  462. package/dist/types/InputMask/InputMaskContext.d.ts +0 -18
  463. package/dist/types/InputMask/MaskPipes.d.ts +0 -18
  464. package/dist/types/InputMask/MaskTypes.d.ts +0 -15
  465. package/dist/types/InputMask/addons/AutoCorrectedDatePipe.d.ts +0 -8
  466. package/dist/types/InputMask/defaultProps.d.ts +0 -28
  467. package/dist/types/InputMask/index.d.ts +0 -1
  468. package/dist/types/InputMask/mask_types/DateInputMask.d.ts +0 -36
  469. package/dist/types/InputMask/mask_types/DateTimeInputMask.d.ts +0 -36
  470. package/dist/types/InputMask/mask_types/DictionaryInputMask.d.ts +0 -39
  471. package/dist/types/InputMask/mask_types/NumberInputMask.d.ts +0 -48
  472. package/dist/types/InputMask/mask_types/PhoneInputMask.d.ts +0 -36
  473. package/dist/types/InputMask/mask_types/PhoneInternationalInputMask.d.ts +0 -36
  474. package/dist/types/InputMask/mask_types/SsnInputMask.d.ts +0 -36
  475. package/dist/types/InputMask/mask_types/UsZipCodeInputMask.d.ts +0 -36
  476. package/dist/types/InputMask/mask_types/ZipCodeSearchInputMask.d.ts +0 -36
  477. package/dist/types/InputMask/mask_types/index.d.ts +0 -41
  478. package/dist/types/InputMask/props.d.ts +0 -112
  479. package/dist/types/InputMask/tests/DSInputMask.test.d.ts +0 -1
  480. package/dist/types/InputMask/tests/NumberInputMask.test.d.ts +0 -1
  481. package/dist/types/InputMask/tests/events/DateInputMask.events.test.d.ts +0 -1
  482. package/dist/types/InputMask/tests/events/DateTimeInputMask.events.test.d.ts +0 -1
  483. package/dist/types/InputMask/tests/events/NumberInputMask.events.test.d.ts +0 -1
  484. package/dist/types/InputMask/tests/events/PercentInputMask.events.test.d.ts +0 -1
  485. package/dist/types/InputMask/tests/events/PhoneInputMask.events.test.d.ts +0 -1
  486. package/dist/types/InputMask/tests/events/PhoneInternationalInputMask.events.test.d.ts +0 -1
  487. package/dist/types/InputMask/tests/events/SsnInputMask.events.test.d.ts +0 -1
  488. package/dist/types/InputMask/tests/events/UsZipCodeInputMask.events.test.d.ts +0 -1
  489. package/dist/types/InputMask/tests/events/ZipCodeSearchInputMask.events.test.d.ts +0 -1
  490. package/dist/types/InputMask/types/index.d.ts +0 -5
  491. package/dist/types/InputMask/utils/setCaretPosition.d.ts +0 -3
  492. package/dist/types/InputProtected/DSInputProtected.d.ts +0 -41
  493. package/dist/types/InputProtected/defaultProps.d.ts +0 -4
  494. package/dist/types/InputProtected/index.d.ts +0 -2
  495. package/dist/types/InputProtected/options.d.ts +0 -8
  496. package/dist/types/InputProtected/props.d.ts +0 -14
  497. package/dist/types/InputProtected/tests/DSInputProtected.events.test.d.ts +0 -1
  498. package/dist/types/InputProtected/tests/DSInputProtected.test.d.ts +0 -1
  499. package/dist/types/LargeInputText/DSLargeInputText.d.ts +0 -127
  500. package/dist/types/LargeInputText/defaultProps.d.ts +0 -31
  501. package/dist/types/LargeInputText/index.d.ts +0 -1
  502. package/dist/types/LargeInputText/props.d.ts +0 -95
  503. package/dist/types/LargeInputText/tests/DSLargeInputText.events.test.d.ts +0 -1
  504. package/dist/types/LargeInputText/tests/DSLargeInputText.test.d.ts +0 -1
  505. package/dist/types/MenuItem/components/MenuItem/index.d.ts +0 -0
  506. package/dist/types/MenuItem/components/MenuItem/styled.d.ts +0 -0
  507. package/dist/types/MenuItem/components/MultiMenuItem/MultiMenuItem.d.ts +0 -0
  508. package/dist/types/MenuItem/components/MultiMenuItem/styled.d.ts +0 -0
  509. package/dist/types/MenuItem/components/Section/index.d.ts +0 -0
  510. package/dist/types/MenuItem/components/Section/props.d.ts +0 -0
  511. package/dist/types/MenuItem/components/Section/styled.d.ts +0 -0
  512. package/dist/types/MenuItem/components/Separator/index.d.ts +0 -0
  513. package/dist/types/MenuItem/components/Separator/styled.d.ts +0 -0
  514. package/dist/types/MenuItem/components/SingleMenuItem/SingleMenuItem.d.ts +0 -0
  515. package/dist/types/MenuItem/components/SubmenuItem/index.d.ts +0 -0
  516. package/dist/types/MenuItem/components/SubmenuItem/styled.d.ts +0 -0
  517. package/dist/types/MenuItem/components/index.d.ts +0 -0
  518. package/dist/types/MenuItem/components/styled.d.ts +0 -0
  519. package/dist/types/MenuItem/index.d.ts +0 -0
  520. package/dist/types/MenuItem/props.d.ts +0 -0
  521. package/dist/types/Radio/Circle.d.ts +0 -8
  522. package/dist/types/Radio/DSRadio.d.ts +0 -87
  523. package/dist/types/Radio/index.d.ts +0 -1
  524. package/dist/types/RadioGroup/DSRadioGroup.d.ts +0 -46
  525. package/dist/types/RadioGroup/defaultProps.d.ts +0 -12
  526. package/dist/types/RadioGroup/index.d.ts +0 -1
  527. package/dist/types/RadioGroup/props.d.ts +0 -25
  528. package/dist/types/RadioGroup/tests/DSRadioGroup.events.test.d.ts +0 -1
  529. package/dist/types/RequiredMark/RequiredMark.d.ts +0 -6
  530. package/dist/types/RequiredMark/index.d.ts +0 -1
  531. package/dist/types/SearchBox/index.d.ts +0 -1
  532. package/dist/types/TextBox/index.d.ts +0 -1
  533. package/dist/types/TimeInput/DSTimeInput.d.ts +0 -71
  534. package/dist/types/TimeInput/TimeInputImpl.d.ts +0 -55
  535. package/dist/types/TimeInput/TimeInputs.d.ts +0 -17
  536. package/dist/types/TimeInput/index.d.ts +0 -1
  537. package/dist/types/TimeInput/utils.d.ts +0 -39
  538. package/dist/types/Toggle/DSToggle.d.ts +0 -86
  539. package/dist/types/Toggle/DSToggleImpl.d.ts +0 -61
  540. package/dist/types/Toggle/DSToggleRender.d.ts +0 -32
  541. package/dist/types/Toggle/index.d.ts +0 -1
  542. package/dist/types/Toggle/props.d.ts +0 -47
  543. package/dist/types/Toggle/toggleHelper.d.ts +0 -24
  544. package/dist/types/index.d.ts +0 -21
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../../../../../../scripts/build/transpile/react-shim.js", "../../../../src/InputMask/mask_types/index.tsx"],
4
- "sourcesContent": ["import * as React from 'react';\nexport { React };\n", "import React from 'react';\nimport { DateInputMask } from './DateInputMask';\nimport { DateTimeInputMask } from './DateTimeInputMask';\nimport { DictionaryInputMask } from './DictionaryInputMask';\nimport { NumberInputMask } from './NumberInputMask';\nimport { PhoneInputMask } from './PhoneInputMask';\nimport { PhoneInternationalInputMask } from './PhoneInternationalInputMask';\nimport { SsnInputMask } from './SsnInputMask';\nimport { UsZipCodeInputMask } from './UsZipCodeInputMask';\nimport { ZipCodeSearchInputMask } from './ZipCodeSearchInputMask';\n\nconst dollarSign = '$';\nconst percentSign = '%';\nconst emptyString = '';\nconst comma = ',';\nconst period = '.';\n\nexport const OutOfTheBoxMaskTypes = {\n 'ds-mask-date': (props) => <DateInputMask {...props} />,\n 'ds-mask-date-time': (props) => <DateTimeInputMask {...props} />,\n 'ds-mask-dictionary': ({ ignoreCase = true, ...rest }) => <DictionaryInputMask ignoreCase={ignoreCase} {...rest} />,\n 'ds-mask-number': ({\n prefix = dollarSign,\n suffix = emptyString,\n includeThousandsSeparator = true,\n thousandsSeparatorSymbol = comma,\n allowDecimal = false,\n decimalSymbol = period,\n decimalLimit = 2,\n requireDecimal = false,\n allowNegative = false,\n allowLeadingZeroes = false,\n integerLimit = null,\n ...rest\n }) => (\n <NumberInputMask\n prefix={prefix}\n suffix={suffix}\n includeThousandsSeparator={includeThousandsSeparator}\n thousandsSeparatorSymbol={thousandsSeparatorSymbol}\n allowDecimal={allowDecimal}\n decimalSymbol={decimalSymbol}\n decimalLimit={decimalLimit}\n requireDecimal={requireDecimal}\n allowNegative={allowNegative}\n allowLeadingZeroes={allowLeadingZeroes}\n integerLimit={integerLimit}\n {...rest}\n />\n ),\n 'ds-mask-percent': ({\n prefix = emptyString,\n suffix = percentSign,\n includeThousandsSeparator = true,\n thousandsSeparatorSymbol = comma,\n allowDecimal = false,\n decimalSymbol = period,\n decimalLimit = 2,\n requireDecimal = false,\n allowNegative = false,\n allowLeadingZeroes = false,\n integerLimit = null,\n ...rest\n }) => (\n <NumberInputMask\n prefix={prefix}\n suffix={suffix}\n includeThousandsSeparator={includeThousandsSeparator}\n thousandsSeparatorSymbol={thousandsSeparatorSymbol}\n allowDecimal={allowDecimal}\n decimalSymbol={decimalSymbol}\n decimalLimit={decimalLimit}\n requireDecimal={requireDecimal}\n allowNegative={allowNegative}\n allowLeadingZeroes={allowLeadingZeroes}\n integerLimit={integerLimit}\n {...rest}\n />\n ),\n 'ds-mask-phone': (props) => <PhoneInputMask {...props} />,\n 'ds-mask-phone-international': (props) => <PhoneInternationalInputMask {...props} />,\n 'ds-mask-ssn': (props) => <SsnInputMask {...props} />,\n 'ds-mask-us-zip-code': (props) => <UsZipCodeInputMask {...props} />,\n 'ds-mask-zip-code-search': (props) => <ZipCodeSearchInputMask {...props} />,\n};\n"],
5
- "mappings": "AAAA,YAAY,WAAW;ACkBM;AAjB7B,SAAS,qBAAqB;AAC9B,SAAS,yBAAyB;AAClC,SAAS,2BAA2B;AACpC,SAAS,uBAAuB;AAChC,SAAS,sBAAsB;AAC/B,SAAS,mCAAmC;AAC5C,SAAS,oBAAoB;AAC7B,SAAS,0BAA0B;AACnC,SAAS,8BAA8B;AAEvC,MAAM,aAAa;AACnB,MAAM,cAAc;AACpB,MAAM,cAAc;AACpB,MAAM,QAAQ;AACd,MAAM,SAAS;AAER,MAAM,uBAAuB;AAAA,EAClC,gBAAgB,CAAC,UAAU,oBAAC,iBAAe,GAAG,OAAO;AAAA,EACrD,qBAAqB,CAAC,UAAU,oBAAC,qBAAmB,GAAG,OAAO;AAAA,EAC9D,sBAAsB,CAAC,EAAE,aAAa,SAAS,KAAK,MAAM,oBAAC,uBAAoB,YAAyB,GAAG,MAAM;AAAA,EACjH,kBAAkB,CAAC;AAAA,IACjB,SAAS;AAAA,IACT,SAAS;AAAA,IACT,4BAA4B;AAAA,IAC5B,2BAA2B;AAAA,IAC3B,eAAe;AAAA,IACf,gBAAgB;AAAA,IAChB,eAAe;AAAA,IACf,iBAAiB;AAAA,IACjB,gBAAgB;AAAA,IAChB,qBAAqB;AAAA,IACrB,eAAe;AAAA,OACZ;AAAA,EACL,MACE;AAAA,IAAC;AAAA;AAAA,MACC;AAAA,MACA;AAAA,MACA;AAAA,MACA;AAAA,MACA;AAAA,MACA;AAAA,MACA;AAAA,MACA;AAAA,MACA;AAAA,MACA;AAAA,MACA;AAAA,MACC,GAAG;AAAA;AAAA,EACN;AAAA,EAEF,mBAAmB,CAAC;AAAA,IAClB,SAAS;AAAA,IACT,SAAS;AAAA,IACT,4BAA4B;AAAA,IAC5B,2BAA2B;AAAA,IAC3B,eAAe;AAAA,IACf,gBAAgB;AAAA,IAChB,eAAe;AAAA,IACf,iBAAiB;AAAA,IACjB,gBAAgB;AAAA,IAChB,qBAAqB;AAAA,IACrB,eAAe;AAAA,OACZ;AAAA,EACL,MACE;AAAA,IAAC;AAAA;AAAA,MACC;AAAA,MACA;AAAA,MACA;AAAA,MACA;AAAA,MACA;AAAA,MACA;AAAA,MACA;AAAA,MACA;AAAA,MACA;AAAA,MACA;AAAA,MACA;AAAA,MACC,GAAG;AAAA;AAAA,EACN;AAAA,EAEF,iBAAiB,CAAC,UAAU,oBAAC,kBAAgB,GAAG,OAAO;AAAA,EACvD,+BAA+B,CAAC,UAAU,oBAAC,+BAA6B,GAAG,OAAO;AAAA,EAClF,eAAe,CAAC,UAAU,oBAAC,gBAAc,GAAG,OAAO;AAAA,EACnD,uBAAuB,CAAC,UAAU,oBAAC,sBAAoB,GAAG,OAAO;AAAA,EACjE,2BAA2B,CAAC,UAAU,oBAAC,0BAAwB,GAAG,OAAO;AAC3E;",
4
+ "sourcesContent": ["import * as React from 'react';\nexport { React };\n", "import React from 'react';\nimport { DateInputMask } from './DateInputMask.js';\nimport { DateTimeInputMask } from './DateTimeInputMask.js';\nimport { DictionaryInputMask } from './DictionaryInputMask.js';\nimport { NumberInputMask } from './NumberInputMask.js';\nimport { PhoneInputMask } from './PhoneInputMask.js';\nimport { PhoneInternationalInputMask } from './PhoneInternationalInputMask.js';\nimport { SsnInputMask } from './SsnInputMask.js';\nimport { UsZipCodeInputMask } from './UsZipCodeInputMask.js';\nimport { ZipCodeSearchInputMask } from './ZipCodeSearchInputMask.js';\n\nconst dollarSign = '$';\nconst percentSign = '%';\nconst emptyString = '';\nconst comma = ',';\nconst period = '.';\n\nexport const OutOfTheBoxMaskTypes = {\n 'ds-mask-date': (props) => <DateInputMask {...props} />,\n 'ds-mask-date-time': (props) => <DateTimeInputMask {...props} />,\n 'ds-mask-dictionary': ({ ignoreCase = true, ...rest }) => <DictionaryInputMask ignoreCase={ignoreCase} {...rest} />,\n 'ds-mask-number': ({\n prefix = dollarSign,\n suffix = emptyString,\n includeThousandsSeparator = true,\n thousandsSeparatorSymbol = comma,\n allowDecimal = false,\n decimalSymbol = period,\n decimalLimit = 2,\n requireDecimal = false,\n allowNegative = false,\n allowLeadingZeroes = false,\n integerLimit = null,\n ...rest\n }) => (\n <NumberInputMask\n prefix={prefix}\n suffix={suffix}\n includeThousandsSeparator={includeThousandsSeparator}\n thousandsSeparatorSymbol={thousandsSeparatorSymbol}\n allowDecimal={allowDecimal}\n decimalSymbol={decimalSymbol}\n decimalLimit={decimalLimit}\n requireDecimal={requireDecimal}\n allowNegative={allowNegative}\n allowLeadingZeroes={allowLeadingZeroes}\n integerLimit={integerLimit}\n {...rest}\n />\n ),\n 'ds-mask-percent': ({\n prefix = emptyString,\n suffix = percentSign,\n includeThousandsSeparator = true,\n thousandsSeparatorSymbol = comma,\n allowDecimal = false,\n decimalSymbol = period,\n decimalLimit = 2,\n requireDecimal = false,\n allowNegative = false,\n allowLeadingZeroes = false,\n integerLimit = null,\n ...rest\n }) => (\n <NumberInputMask\n prefix={prefix}\n suffix={suffix}\n includeThousandsSeparator={includeThousandsSeparator}\n thousandsSeparatorSymbol={thousandsSeparatorSymbol}\n allowDecimal={allowDecimal}\n decimalSymbol={decimalSymbol}\n decimalLimit={decimalLimit}\n requireDecimal={requireDecimal}\n allowNegative={allowNegative}\n allowLeadingZeroes={allowLeadingZeroes}\n integerLimit={integerLimit}\n {...rest}\n />\n ),\n 'ds-mask-phone': (props) => <PhoneInputMask {...props} />,\n 'ds-mask-phone-international': (props) => <PhoneInternationalInputMask {...props} />,\n 'ds-mask-ssn': (props) => <SsnInputMask {...props} />,\n 'ds-mask-us-zip-code': (props) => <UsZipCodeInputMask {...props} />,\n 'ds-mask-zip-code-search': (props) => <ZipCodeSearchInputMask {...props} />,\n};\n"],
5
+ "mappings": "AAAA,YAAY,WAAW;ACkBM;AAjB7B,SAAS,qBAAqB;AAC9B,SAAS,yBAAyB;AAClC,SAAS,2BAA2B;AACpC,SAAS,uBAAuB;AAChC,SAAS,sBAAsB;AAC/B,SAAS,mCAAmC;AAC5C,SAAS,oBAAoB;AAC7B,SAAS,0BAA0B;AACnC,SAAS,8BAA8B;AAEvC,MAAM,aAAa;AACnB,MAAM,cAAc;AACpB,MAAM,cAAc;AACpB,MAAM,QAAQ;AACd,MAAM,SAAS;AAER,MAAM,uBAAuB;AAAA,EAClC,gBAAgB,CAAC,UAAU,oBAAC,iBAAe,GAAG,OAAO;AAAA,EACrD,qBAAqB,CAAC,UAAU,oBAAC,qBAAmB,GAAG,OAAO;AAAA,EAC9D,sBAAsB,CAAC,EAAE,aAAa,MAAM,GAAG,KAAK,MAAM,oBAAC,uBAAoB,YAAyB,GAAG,MAAM;AAAA,EACjH,kBAAkB,CAAC;AAAA,IACjB,SAAS;AAAA,IACT,SAAS;AAAA,IACT,4BAA4B;AAAA,IAC5B,2BAA2B;AAAA,IAC3B,eAAe;AAAA,IACf,gBAAgB;AAAA,IAChB,eAAe;AAAA,IACf,iBAAiB;AAAA,IACjB,gBAAgB;AAAA,IAChB,qBAAqB;AAAA,IACrB,eAAe;AAAA,IACf,GAAG;AAAA,EACL,MACE;AAAA,IAAC;AAAA;AAAA,MACC;AAAA,MACA;AAAA,MACA;AAAA,MACA;AAAA,MACA;AAAA,MACA;AAAA,MACA;AAAA,MACA;AAAA,MACA;AAAA,MACA;AAAA,MACA;AAAA,MACC,GAAG;AAAA;AAAA,EACN;AAAA,EAEF,mBAAmB,CAAC;AAAA,IAClB,SAAS;AAAA,IACT,SAAS;AAAA,IACT,4BAA4B;AAAA,IAC5B,2BAA2B;AAAA,IAC3B,eAAe;AAAA,IACf,gBAAgB;AAAA,IAChB,eAAe;AAAA,IACf,iBAAiB;AAAA,IACjB,gBAAgB;AAAA,IAChB,qBAAqB;AAAA,IACrB,eAAe;AAAA,IACf,GAAG;AAAA,EACL,MACE;AAAA,IAAC;AAAA;AAAA,MACC;AAAA,MACA;AAAA,MACA;AAAA,MACA;AAAA,MACA;AAAA,MACA;AAAA,MACA;AAAA,MACA;AAAA,MACA;AAAA,MACA;AAAA,MACA;AAAA,MACC,GAAG;AAAA;AAAA,EACN;AAAA,EAEF,iBAAiB,CAAC,UAAU,oBAAC,kBAAgB,GAAG,OAAO;AAAA,EACvD,+BAA+B,CAAC,UAAU,oBAAC,+BAA6B,GAAG,OAAO;AAAA,EAClF,eAAe,CAAC,UAAU,oBAAC,gBAAc,GAAG,OAAO;AAAA,EACnD,uBAAuB,CAAC,UAAU,oBAAC,sBAAoB,GAAG,OAAO;AAAA,EACjE,2BAA2B,CAAC,UAAU,oBAAC,0BAAwB,GAAG,OAAO;AAC3E;",
6
6
  "names": []
7
7
  }
@@ -1,41 +1,121 @@
1
1
  import * as React from "react";
2
- import { PropTypes } from "@elliemae/ds-utilities";
2
+ import { PropTypes } from "@elliemae/ds-props-helpers";
3
3
  const inputProps = {
4
+ /** Should component focus automatically */
4
5
  autoFocus: PropTypes.bool.description("Should component focus automatically"),
6
+ /**
7
+ * Set style for the input mask
8
+ */
5
9
  style: PropTypes.object.description("Set style for the input mask"),
10
+ /**
11
+ * Whether the input mask is disabled or not
12
+ */
6
13
  disabled: PropTypes.bool.description("Whether the input mask is disabled or not"),
14
+ /** disableTooltip */
7
15
  disableTooltip: PropTypes.bool.description("Whether to show a tooltip or not when text does not fit").defaultValue(true),
16
+ /** css class */
8
17
  className: PropTypes.string.description("css class"),
18
+ /** html name prop for form */
9
19
  name: PropTypes.string.description("html name prop for form"),
20
+ /**
21
+ * Max length for the input mask
22
+ */
10
23
  maxLength: PropTypes.number.description("Max length for the input mask"),
24
+ /**
25
+ * Min length for the input mask
26
+ */
11
27
  minLength: PropTypes.number.description("Min length for the input mask"),
28
+ /**
29
+ * Whether to make the content of the input mask fit the container or not
30
+ */
12
31
  fluidWidth: PropTypes.bool.description("Whether to make the content of the input mask fit the container or not"),
32
+ /** isShowElipsisActive */
13
33
  isShowElipsisActive: PropTypes.bool.description("Wheter to enable the ellipsis and tooltip functionality or not").defaultValue(true),
34
+ /**
35
+ * Component that works as placeholder
36
+ */
14
37
  placeholder: PropTypes.node.description("Component that works as placeholder"),
38
+ /**
39
+ * Allows a function that is triggered once a key is being pressed
40
+ */
15
41
  onKeyDown: PropTypes.func.description("Allows a function that is triggered once a key is being pressed"),
42
+ /**
43
+ * Allows a function that is triggered once the input mask is clicked
44
+ */
16
45
  onClick: PropTypes.func.description("Allows a function that is triggered once the input mask is clicked"),
46
+ /**
47
+ * Allows a function that is triggered once the input mask changes
48
+ */
17
49
  onChange: PropTypes.func.description("Allows a function that is triggered once the input mask changes"),
50
+ /**
51
+ * Allows a function that is triggered once the input mask is focused
52
+ */
18
53
  onFocus: PropTypes.func.description("Allows a function that is triggered once the input mask is focused"),
54
+ /**
55
+ * Allows a function that is triggered once the input mask loses focus
56
+ */
19
57
  onBlur: PropTypes.func.description("Allows a function that is triggered once the input mask loses focus"),
58
+ /**
59
+ * Allows a function that is triggered once the input mask is pasted
60
+ */
20
61
  onPaste: PropTypes.func.description("Allows a function that is triggered once the input mask is pasted"),
62
+ /**
63
+ * Allows a function that is triggered once in the input mask a keyboard key is released
64
+ */
21
65
  onKeyUp: PropTypes.func.description(
22
66
  "Allows a function that is triggered once in the input mask a keyboard key is released"
23
67
  ),
68
+ /**
69
+ * Default value once the component is initialized
70
+ */
24
71
  value: PropTypes.string.description("Default value once the component is initialized"),
72
+ /**
73
+ * Whether the input mask has error or not
74
+ */
25
75
  hasError: PropTypes.bool.description("Whether the input mask has error or not"),
76
+ /**
77
+ * Whether the input mask is read only or not
78
+ */
26
79
  readOnly: PropTypes.bool.description("Whether the input mask is read only or not"),
27
80
  innerRef: PropTypes.oneOfType([PropTypes.func, PropTypes.shape({ current: PropTypes.any })]).description(
28
81
  "Whether the input mask is read only or not"
29
82
  ),
83
+ /**
84
+ * Type of input. Ex: 'text'
85
+ */
30
86
  type: PropTypes.string.description("Type of input. Ex: 'text'"),
87
+ /**
88
+ * Whether the input mask is clearable or not
89
+ */
31
90
  clearable: PropTypes.bool.description("Whether the input mask is clearable or not"),
91
+ /**
92
+ * Component to be added at the right side of the input
93
+ */
32
94
  leftComponent: PropTypes.node.description("Component to be added at the right side of the input"),
95
+ /**
96
+ * Component to be added at the right side of the input
97
+ */
33
98
  rightComponent: PropTypes.node.description("Component to be added at the right side of the input"),
99
+ /**
100
+ * Mask that has to match with the input information entered
101
+ * ['DATE', 'PHONE', 'PHONE_INTENATIONAL', 'SSN', 'US_ZIP_CODE', 'NUMBER', 'PERCENT']
102
+ */
34
103
  mask: PropTypes.oneOfType([PropTypes.array, PropTypes.string, PropTypes.func, PropTypes.object]).description(
35
104
  "Mask that has to match with the input information entered. ['DATE', 'PHONE', 'PHONE_INTENATIONAL', 'SSN', 'US_ZIP_CODE', 'NUMBER', 'PERCENT', 'ZIP_CODE_SEARCH']"
36
105
  ),
106
+ /**
107
+ Expects pipe functions. i.e. autoCorrectedDatePipe
108
+ link a docu de text-mask
109
+ */
37
110
  pipe: PropTypes.func.description("Expects pipe functions. i.e. autoCorrectedDatePipe"),
111
+ /**
112
+ * Put a sufix after the input mask
113
+ */
38
114
  useSubfix: PropTypes.string.description("Put a sufix after the input mask"),
115
+ /**
116
+ * The placeholder character represents the fillable spot in the mask.
117
+ * The default placeholder character is underscore, _
118
+ */
39
119
  placeholderChar: PropTypes.string.description(
40
120
  `The placeholder character represents the fillable spot in the mask.
41
121
  The default placeholder character is underscore, _.`
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../../../../../scripts/build/transpile/react-shim.js", "../../../src/InputMask/props.tsx"],
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('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"],
5
- "mapp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YAAY,2BAA2B;AAAA,EAI9D,WAAW,UAAU,KAAK,YAAY,4CAA4C;AAAA,EAIlF,eAAe,UAAU,KAAK,YAAY,sDAAsD;AAAA,EAIhG,gBAAgB,UAAU,KAAK,YAAY,sDAAsD;AAAA,EAKjG,MAAM,UAAU,UAAU,CAAC,UAAU,OAAO,UAAU,QAAQ,UAAU,MAAM,UAAU,MAAM,CAAC,EAAE;AAAA,IAC/F;AAAA,EACF;AAAA,EAKA,MAAM,UAAU,KAAK,YAAY,oDAAoD;AAAA,EAIrF,WAAW,UAAU,OAAO,YAAY,kCAAkC;AAAA,EAK1E,iBAAiB,UAAU,OACxB;AAAA,IACC;AAAA;AAAA,EAEF,EACC,aAAa,GAAG;AACrB;",
4
+ "sourcesContent": ["import * as React from 'react';\nexport { React };\n", "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"],
5
+ "mappings": "AAAA,YAAY,WAAW;ACAvB,SAAS,iBAAiB;AAEnB,MAAM,aAAa;AAAA;AAAA,EAExB,WAAW,UAAU,KAAK,YAAY,sCAAsC;AAAA;AAAA;AAAA;AAAA,EAI5E,OAAO,UAAU,OAAO,YAAY,8BAA8B;AAAA;AAAA;AAAA;AAAA,EAIlE,UAAU,UAAU,KAAK,YAAY,2CAA2C;AAAA;AAAA,EAEhF,gBAAgB,UAAU,KACvB,YAAY,yDAAyD,EACrE,aAAa,IAAI;AAAA;AAAA,EAEpB,WAAW,UAAU,OAAO,YAAY,WAAW;AAAA;AAAA,EAEnD,MAAM,UAAU,OAAO,YAAY,yBAAyB;AAAA;AAAA;AAAA;AAAA,EAI5D,WAAW,UAAU,OAAO,YAAY,+BAA+B;AAAA;AAAA;AAAA;AAAA,EAIvE,WAAW,UAAU,OAAO,YAAY,+BAA+B;AAAA;AAAA;AAAA;AAAA,EAIvE,YAAY,UAAU,KAAK,YAAY,wEAAwE;AAAA;AAAA,EAE/G,qBAAqB,UAAU,KAC5B,YAAY,gEAAgE,EAC5E,aAAa,IAAI;AAAA;AAAA;AAAA;AAAA,EAIpB,aAAa,UAAU,KAAK,YAAY,qCAAqC;AAAA;AAAA;AAAA;AAAA,EA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A;AAAA;AAAA,EAIrF,WAAW,UAAU,OAAO,YAAY,kCAAkC;AAAA;AAAA;AAAA;AAAA;AAAA,EAK1E,iBAAiB,UAAU,OACxB;AAAA,IACC;AAAA;AAAA,EAEF,EACC,aAAa,GAAG;AACrB;",
6
6
  "names": []
7
7
  }
@@ -1,14 +1,15 @@
1
1
  import * as React from "react";
2
2
  import { jsx } from "react/jsx-runtime";
3
3
  import { useState, useCallback, useEffect } from "react";
4
- import { describe } from "@elliemae/ds-utilities";
4
+ import { useDeprecateComponent } from "@elliemae/ds-utilities";
5
+ import { describe } from "@elliemae/ds-props-helpers";
5
6
  import { LockUnlocked, LockLocked, VisibleView, InvisibleHide } from "@elliemae/ds-icons";
6
7
  import { DSButton } from "@elliemae/ds-button";
7
- import { DSInputGroup } from "../InputGroup";
8
- import { DSInputMask } from "../InputMask";
9
- import { inputProtectedProps } from "./props";
10
- import { defaultProps } from "./defaultProps";
11
- import { LEFT_ADDON_OPTIONS, RIGHT_ADDON_OPTIONS } from "./options";
8
+ import { DSInputGroup } from "../InputGroup/index.js";
9
+ import { DSInputMask } from "../InputMask/index.js";
10
+ import { inputProtectedProps } from "./props.js";
11
+ import { defaultProps } from "./defaultProps.js";
12
+ import { LEFT_ADDON_OPTIONS, RIGHT_ADDON_OPTIONS } from "./options.js";
12
13
  const ADDON_ICON_OPTIONS = {
13
14
  LockUnlocked: /* @__PURE__ */ jsx(LockUnlocked, {}),
14
15
  LockLocked: /* @__PURE__ */ jsx(LockLocked, {}),
@@ -26,6 +27,7 @@ const DSInputProtected = ({
26
27
  placeholderChar = void 0,
27
28
  ...rest
28
29
  }) => {
30
+ useDeprecateComponent({ componentName: "ds-form/InputProtected", version: "TBD Date: 2023 Q3" });
29
31
  const left = leftAddon && ADDON_ICON_OPTIONS[leftAddon];
30
32
  const right = rightAddon && ADDON_ICON_OPTIONS[rightAddon];
31
33
  const [inputLocked, setLocked] = useState(leftAddon === LEFT_ADDON_OPTIONS.LockLocked);
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../../../../../scripts/build/transpile/react-shim.js", "../../../src/InputProtected/DSInputProtected.tsx"],
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
- "mappings": "AAAA,YAAY,WAAW;ACcP;AAXhB,SAAgB,UAAU,aAAa,iBAAiB;AACxD,SAAS,gBAAgB;AACzB,SAAS,cAAc,YAAY,aAAa,qBAAqB;AACrE,SAAS,gBAAgB;AACzB,SAAS,oBAAoB;AAC7B,SAAS,mBAAmB;AAC5B,SAAS,2BAA2B;AACpC,SAAS,oBAAoB;AAC7B,SAAS,oBAAoB,2BAA2B;AAExD,MAAM,qBAAqB;AAAA,EACzB,cAAc,oBAAC,gBAAa;AAAA,EAC5B,YAAY,oBAAC,cAAW;AAAA,EACxB,aAAa,oBAAC,eAAY;AAAA,EAC1B,eAAe,oBAAC,iBAAc;AAChC;AAEA,MAAM,mBAAmB,CAAC;AAAA,EACxB;AAAA,EACA;AAAA,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;AAAA;AAAA,EACF,GACF;AAEJ;AAEA,iBAAiB,YAAY;AAC7B,iBAAiB,eAAe;AAChC,iBAAiB,cAAc;AAC/B,MAAM,6BAA6B,SAAS,gBAAgB;AAC5D,2BAA2B,YAAY;AAGvC,IAAO,2BAAQ;",
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 { 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"],
5
+ "mappings": "AAAA,YAAY,WAAW;ACeP;AAZhB,SAAgB,UAAU,aAAa,iBAAiB;AACxD,SAAS,6BAA6B;AACtC,SAAS,gBAAgB;AACzB,SAAS,cAAc,YAAY,aAAa,qBAAqB;AACrE,SAAS,gBAAgB;AACzB,SAAS,oBAAoB;AAC7B,SAAS,mBAAmB;AAC5B,SAAS,2BAA2B;AACpC,SAAS,oBAAoB;AAC7B,SAAS,oBAAoB,2BAA2B;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oBAAoB,gBAAgB,oBAAoB,WAAW;AAAA,UAEtG,SAAS;AAAA,UACT,gBAAgB;AAAA,YACd,eAAe;AAAA,UACjB;AAAA;AAAA,MACF,IACE;AAAA,MAGN;AAAA,QAAC;AAAA;AAAA,UACE,GAAG;AAAA,UACJ;AAAA,UACA;AAAA,UACA;AAAA,UACA,UAAU,OAAO,cAAc;AAAA,UAC/B,MAAM,SAAS,cAAc,aAAa;AAAA,UAC1C;AAAA;AAAA,MACF;AAAA;AAAA,EACF,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
  }
@@ -1,5 +1,5 @@
1
1
  import * as React from "react";
2
- import { RIGHT_ADDON_OPTIONS } from "./options";
2
+ import { RIGHT_ADDON_OPTIONS } from "./options.js";
3
3
  const defaultProps = {
4
4
  rightAddon: RIGHT_ADDON_OPTIONS.InvisibleHide,
5
5
  mask: (data) => new Array(data.length).fill(/./)
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../../../../../scripts/build/transpile/react-shim.js", "../../../src/InputProtected/defaultProps.tsx"],
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"],
4
+ "sourcesContent": ["import * as React from 'react';\nexport { React };\n", "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"],
5
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
  }
@@ -1,4 +1,4 @@
1
1
  import * as React from "react";
2
- export * from "./DSInputProtected";
3
- export * from "./options";
2
+ export * from "./DSInputProtected.js";
3
+ export * from "./options.js";
4
4
  //# sourceMappingURL=index.js.map
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../../../../../scripts/build/transpile/react-shim.js", "../../../src/InputProtected/index.tsx"],
4
- "sourcesContent": ["import * as React from 'react';\nexport { React };\n", "export * from './DSInputProtected';\nexport * from './options';\n"],
4
+ "sourcesContent": ["import * as React from 'react';\nexport { React };\n", "export * from './DSInputProtected.js';\nexport * from './options.js';\n"],
5
5
  "mappings": "AAAA,YAAY,WAAW;ACAvB,cAAc;AACd,cAAc;",
6
6
  "names": []
7
7
  }
@@ -1,6 +1,6 @@
1
1
  import * as React from "react";
2
- import { PropTypes } from "@elliemae/ds-utilities";
3
- import { LEFT_ADDON_OPTIONS, RIGHT_ADDON_OPTIONS } from "./options";
2
+ import { PropTypes } from "@elliemae/ds-props-helpers";
3
+ import { LEFT_ADDON_OPTIONS, RIGHT_ADDON_OPTIONS } from "./options.js";
4
4
  const inputProtectedProps = {
5
5
  leftAddon: PropTypes.oneOf([LEFT_ADDON_OPTIONS.LockLocked, LEFT_ADDON_OPTIONS.LockUnlocked]).description(
6
6
  "left addon component to display"
@@ -13,6 +13,10 @@ const inputProtectedProps = {
13
13
  "mask to apply"
14
14
  ),
15
15
  type: PropTypes.oneOf(["password", "number", "text"]).description("type of input"),
16
+ /**
17
+ * PlaceholderChar: The placeholder character represents the fillable spot in the mask.
18
+ * The default placeholder character is underscore, _.
19
+ */
16
20
  placeholderChar: PropTypes.string.description(
17
21
  `The placeholder character represents the fillable spot in the mask.
18
22
  * The default placeholder character is underscore, _.`
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../../../../../scripts/build/transpile/react-shim.js", "../../../src/InputProtected/props.tsx"],
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([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"],
5
- "mappings": "AAAA,YAAY,WAAW;ACAvB,SAAS,iBAAiB;AAC1B,SAAS,oBAAoB,2BAA2B;AAEjD,MAAM,sBAAsB;AAAA,EACjC,WAAW,UAAU,MAAM,CAAC,mBAAmB,YAAY,mBAAmB,YAAY,CAAC,EAAE;AAAA,IAC3F;AAAA,EACF;AAAA,EACA,YAAY,UAAU,MAAM,CAAC,oBAAoB,aAAa,oBAAoB,aAAa,CAAC,EAC7F,YAAY,kCAAkC,EAC9C,aAAa,oBAAoB,aAAa;AAAA,EACjD,UAAU,UAAU,KAAK,YAAY,8CAA8C;AAAA,EACnF,OAAO,UAAU,UAAU,CAAC,UAAU,QAAQ,UAAU,MAAM,CAAC,EAAE,YAAY,eAAe;AAAA,EAC5F,UAAU,UAAU,KAAK,YAAY,uCAAuC,EAAE,aAAa,KAAK;AAAA,EAChG,MAAM,UAAU,UAAU,CAAC,UAAU,OAAO,UAAU,MAAM,UAAU,QAAQ,UAAU,MAAM,CAAC,EAAE;AAAA,IAC/F;AAAA,EACF;AAAA,EACA,MAAM,UAAU,MAAM,CAAC,YAAY,UAAU,MAAM,CAAC,EAAE,YAAY,eAAe;AAAA,EAKjF,iBAAiB,UAAU,OAAO;AAAA,IAChC;AAAA;AAAA,EAEF;AACF;",
4
+ "sourcesContent": ["import * as React from 'react';\nexport { React };\n", "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"],
5
+ "mappings": "AAAA,YAAY,WAAW;ACAvB,SAAS,iBAAiB;AAC1B,SAAS,oBAAoB,2BAA2B;AAEjD,MAAM,sBAAsB;AAAA,EACjC,WAAW,UAAU,MAAM,CAAC,mBAAmB,YAAY,mBAAmB,YAAY,CAAC,EAAE;AAAA,IAC3F;AAAA,EACF;AAAA,EACA,YAAY,UAAU,MAAM,CAAC,oBAAoB,aAAa,oBAAoB,aAAa,CAAC,EAC7F,YAAY,kCAAkC,EAC9C,aAAa,oBAAoB,aAAa;AAAA,EACjD,UAAU,UAAU,KAAK,YAAY,8CAA8C;AAAA,EACnF,OAAO,UAAU,UAAU,CAAC,UAAU,QAAQ,UAAU,MAAM,CAAC,EAAE,YAAY,eAAe;AAAA,EAC5F,UAAU,UAAU,KAAK,YAAY,uCAAuC,EAAE,aAAa,KAAK;AAAA,EAChG,MAAM,UAAU,UAAU,CAAC,UAAU,OAAO,UAAU,MAAM,UAAU,QAAQ,UAAU,MAAM,CAAC,EAAE;AAAA,IAC/F;AAAA,EACF;AAAA,EACA,MAAM,UAAU,MAAM,CAAC,YAAY,UAAU,MAAM,CAAC,EAAE,YAAY,eAAe;AAAA;AAAA;AAAA;AAAA;AAAA,EAKjF,iBAAiB,UAAU,OAAO;AAAA,IAChC;AAAA;AAAA,EAEF;AACF;",
6
6
  "names": []
7
7
  }
@@ -1,10 +1,11 @@
1
1
  import * as React from "react";
2
2
  import { Fragment, jsx, jsxs } from "react/jsx-runtime";
3
3
  import { useMemo } from "react";
4
- import { describe } from "@elliemae/ds-utilities";
4
+ import { useDeprecateComponent } from "@elliemae/ds-utilities";
5
+ import { describe } from "@elliemae/ds-props-helpers";
5
6
  import { convertPropToCssClassName, aggregatedClasses } from "@elliemae/ds-classnames";
6
- import { props } from "./props";
7
- import { defaultProps } from "./defaultProps";
7
+ import { props } from "./props.js";
8
+ import { defaultProps } from "./defaultProps.js";
8
9
  const CounterArea = aggregatedClasses("div")("counter", "textarea", ({ limitError }) => ({
9
10
  "limit-error": limitError
10
11
  }));
@@ -39,6 +40,7 @@ const DSLargeInputText = ({
39
40
  errorLimit,
40
41
  tabIndex
41
42
  }) => {
43
+ useDeprecateComponent({ componentName: "ds-form/LargeInputText", version: "TBD Date: 2023 Q3" });
42
44
  const limitError = useMemo(
43
45
  () => characterLimitCounter < String(value).length && characterLimitCounter > 0,
44
46
  [characterLimitCounter, value]
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../../../../../scripts/build/transpile/react-shim.js", "../../../src/LargeInputText/DSLargeInputText.tsx"],
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 { convertPropToCssClassName, aggregatedClasses } from '@elliemae/ds-classnames';\nimport { props } from './props';\nimport { defaultProps } from './defaultProps';\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 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"],
5
- "mappings": "AAAA,YAAY,WAAW;ACiEnB,mBAGM,KAHN;AA/DJ,SAAgB,eAAe;AAC/B,SAAS,gBAAgB;AACzB,SAAS,2BAA2B,yBAAyB;AAC7D,SAAS,aAAa;AACtB,SAAS,oBAAoB;AAE7B,MAAM,cAAc,kBAAkB,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;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AO,KAAK,EAAE,YACV,yBACR;AAAA,KAEJ;AAEJ;AAEA,iBAAiB,YAAY;AAC7B,iBAAiB,eAAe;AAChC,iBAAiB,cAAc;AAC/B,MAAM,6BAA6B,SAAS,gBAAgB,EAAE,YAAY,eAAe;AACzF,2BAA2B,YAAY;AAIvC,IAAO,2BAAQ;",
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 { 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"],
5
+ "mappings": "AAAA,YAAY,WAAW;ACoEnB,mBAGM,KAHN;AAlEJ,SAAgB,eAAe;AAC/B,SAAS,6BAA6B;AACtC,SAAS,gBAAgB;AACzB,SAAS,2BAA2B,yBAAyB;AAC7D,SAAS,aAAa;AACtB,SAAS,oBAAoB;AAE7B,MAAM,cAAc,kBAAkB,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,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AAY,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,6BAA6B,SAAS,gBAAgB,EAAE,YAAY,eAAe;AACzF,2BAA2B,YAAY;AAIvC,IAAO,2BAAQ;",
6
6
  "names": []
7
7
  }
@@ -1,5 +1,5 @@
1
1
  import * as React from "react";
2
- import { default as default2, DSLargeInputTextWithSchema, DSLargeInputText } from "./DSLargeInputText";
2
+ import { default as default2, DSLargeInputTextWithSchema, DSLargeInputText } from "./DSLargeInputText.js";
3
3
  export {
4
4
  DSLargeInputText,
5
5
  DSLargeInputTextWithSchema,
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../../../../../scripts/build/transpile/react-shim.js", "../../../src/LargeInputText/index.tsx"],
4
- "sourcesContent": ["import * as React from 'react';\nexport { React };\n", "export { default, DSLargeInputTextWithSchema, DSLargeInputText } from './DSLargeInputText';\n"],
4
+ "sourcesContent": ["import * as React from 'react';\nexport { React };\n", "export { default, DSLargeInputTextWithSchema, DSLargeInputText } from './DSLargeInputText.js';\n"],
5
5
  "mappings": "AAAA,YAAY,WAAW;ACAvB,SAAS,WAAAA,UAAS,4BAA4B,wBAAwB;",
6
6
  "names": ["default"]
7
7
  }
@@ -1,34 +1,100 @@
1
1
  import * as React from "react";
2
- import { PropTypes } from "@elliemae/ds-utilities";
2
+ import { PropTypes } from "@elliemae/ds-props-helpers";
3
3
  const props = {
4
+ /** Injected props to wrapper element of component */
4
5
  containerProps: PropTypes.object.description("Injected props to wrapper element of component"),
6
+ /**
7
+ * Whether uses auto focus or not
8
+ */
5
9
  autoFocus: PropTypes.bool.description("Whether uses auto focus or not"),
10
+ /** CSS class */
6
11
  className: PropTypes.string.description("CSS class"),
12
+ /**
13
+ * Whether is disabled or not
14
+ */
7
15
  disabled: PropTypes.bool.description("Whether is disabled or not"),
16
+ /** HTML form name property */
8
17
  name: PropTypes.string.description("HTML form name property"),
18
+ /** HTML id */
9
19
  id: PropTypes.number.description("HTML id"),
20
+ /**
21
+ * Max length for text to be entered
22
+ */
10
23
  maxLength: PropTypes.number.description("Max length for text to be entered"),
24
+ /**
25
+ * Min length for text to be entered
26
+ */
11
27
  minLength: PropTypes.number.description("Min length for text to be entered"),
28
+ /**
29
+ * Placeholder for the text
30
+ */
12
31
  placeholder: PropTypes.string.description("Placeholder for the text"),
32
+ /**
33
+ * Allows a function that is triggered once the input text is clicked
34
+ */
13
35
  onClick: PropTypes.func.description("Allows a function that is triggered once the input text is clicked"),
36
+ /**
37
+ * Allows a function that is triggered once the input text changes
38
+ */
14
39
  onChange: PropTypes.func.description("Allows a function that is triggered once the input text changes"),
40
+ /**
41
+ * Allows a function that is triggered once the input text is focused
42
+ */
15
43
  onFocus: PropTypes.func.description("Allows a function that is triggered once the input text is focused"),
44
+ /**
45
+ * Allows a function that is triggered once the input text loses focus
46
+ */
16
47
  onBlur: PropTypes.func.description("Allows a function that is triggered once the input text loses focus"),
48
+ /**
49
+ * Allows a function that is triggered once in the input a keyboard key is released
50
+ */
17
51
  onKeyUp: PropTypes.func.description(
18
52
  "Allows a function that is triggered once in the input a keyboard key is released"
19
53
  ),
54
+ /**
55
+ * Allows a function that is triggered once a key is being pressed
56
+ */
20
57
  onKeyDown: PropTypes.func.description("Allows a function that is triggered once a key is being pressed"),
58
+ /**
59
+ * Allows a function that is triggered once the input text is pasted
60
+ */
21
61
  onPaste: PropTypes.func.description("Allows a function that is triggered once the input text is pasted"),
62
+ /**
63
+ * Default value once the component is initialized
64
+ */
22
65
  value: PropTypes.string.description("Default value once the component is initialized"),
66
+ /**
67
+ * Whether the input text has error or not
68
+ */
23
69
  hasError: PropTypes.bool.description("Whether the input text has error or not"),
70
+ /**
71
+ * Whether the input text is required or not
72
+ */
24
73
  required: PropTypes.bool.description("Whether the input text is required or not"),
74
+ /**
75
+ * Whether the input text is read only or not
76
+ */
25
77
  readOnly: PropTypes.bool.description("Whether the input text is read only or not"),
78
+ /**
79
+ * Whether the input text style is vertical or not
80
+ */
26
81
  resize: PropTypes.string.description("Whether the input text style is vertical or not"),
82
+ /** ref forwarded to component */
27
83
  innerRef: PropTypes.func.description("ref forwarded to component"),
84
+ /** a11y aria label */
28
85
  ariaLabel: PropTypes.string.description("a11y aria label"),
29
86
  ariaAutocomplete: PropTypes.string.description(""),
87
+ /**
88
+ * Type of input. Ex: textbox
89
+ */
30
90
  role: PropTypes.string.description("Type of input. Ex: textbox"),
91
+ /**
92
+ * it will show a counter/limit if the value is greater than 0
93
+ */
31
94
  characterLimitCounter: PropTypes.number.description("it will show a counter/limit if the value is greater than 0"),
95
+ /**
96
+ * Tab index html property.
97
+ */
32
98
  tabIndex: PropTypes.string.description("Tab index html property.")
33
99
  };
34
100
  export {
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../../../../../scripts/build/transpile/react-shim.js", "../../../src/LargeInputText/props.tsx"],
4
- "sourcesContent": ["import * as React from 'react';\nexport { React };\n", "import { PropTypes } from '@elliemae/ds-utilities';\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"],
5
- "mappings": "AAAA,YAAY,WAAW;ACAvB,SAAS,iBA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,UAAU,UAAU,OAAO,YAAY,0BAA0B;AACnE;",
4
+ "sourcesContent": ["import * as React from 'react';\nexport { React };\n", "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"],
5
+ "mappings": "AAAA,YAAY,WAAW;ACAvB,SAAS,iBAAiB;AAEnB,MAAM,QAAQ;AAAA;AAAA,EAEnB,gBAAgB,UAAU,OAAO,YAAY,gDAAgD;AAAA;AAAA;AAAA;AAAA,EAI7F,WAAW,UAAU,KAAK,YAAY,gCAAgC;AAAA;AAAA,EAEtE,WAAW,UAAU,OAAO,YAAY,WAAW;AAAA;AAAA;AAAA;AAAA,EAInD,UAAU,UAAU,KAAK,YAAY,4BAA4B;AAAA;AAAA,EAEjE,MAAM,UAAU,OAAO,YAAY,yBAAyB;AAAA;AAAA,EAE5D,IAAI,UAAU,OAAO,YAAY,SAAS;AAAA;AAAA;AAAA;AAAA,EAI1C,WAAW,UAAU,OAAO,YAAY,mCAAmC;AAAA;AAAA;AAAA;AAAA,EAI3E,WAAW,UAAU,OAAO,YAAY,mCAAmC;AAAA;AAAA;AAAA;AAAA,EAI3E,aAAa,UAAU,OAAO,YAAY,0BAA0B;AAAA;AAAA;AAAA;AAAA,EAIpE,SAAS,UAAU,KAAK,YAAY,oEAAoE;AAAA;AAAA;AAAA;AAAA,EAIxG,UAAU,UAAU,KAAK,YAAY,iEAAiE;AAAA;AAAA;AAAA;AAAA,EAItG,SAAS,UAAU,KAAK,YAAY,oEAAoE;AAAA;AAAA;AAAA;AAAA,EAIxG,QAAQ,UAAU,KAAK,YAAY,qEAAqE;AAAA;AAAA;AAAA;AAAA,EAIxG,SAAS,UAAU,KAAK;AAAA,IACtB;AAAA,EACF;AAAA;AAAA;AAAA;AAAA,EAIA,WAAW,UAAU,KAAK,YAAY,iEAAiE;AAAA;AAAA;AAAA;AAAA,EAIvG,SAAS,UAAU,KAAK,YAAY,mEAAmE;AAAA;AAAA;AAAA;AAAA,EAIvG,OAAO,UAAU,OAAO,YAAY,iDAAiD;AAAA;AAAA;AAAA;AAAA,EAIrF,UAAU,UAAU,KAAK,YAAY,yCAAyC;AAAA;AAAA;AAAA;AAAA,EAI9E,UAAU,UAAU,KAAK,YAAY,2CAA2C;AAAA;AAAA;AAAA;AAAA,EAIhF,UAAU,UAAU,KAAK,YAAY,4CAA4C;AAAA;AAAA;AAAA;AAAA,EAIjF,QAAQ,UAAU,OAAO,YAAY,iDAAiD;AAAA;AAAA,EAEtF,UAAU,UAAU,KAAK,YAAY,4BAA4B;AAAA;AAAA,EAEjE,WAAW,UAAU,OAAO,YAAY,iBAAiB;AAAA,EACzD,kBAAkB,UAAU,OAAO,YAAY,EAAE;AAAA;AAAA;AAAA;AAAA,EAIjD,MAAM,UAAU,OAAO,YAAY,4BAA4B;AAAA;AAAA;AAAA;AAAA,EAI/D,uBAAuB,UAAU,OAAO,YAAY,6DAA6D;AAAA;AAAA;AAAA;AAAA,EAIjH,UAAU,UAAU,OAAO,YAAY,0BAA0B;AACnE;",
6
6
  "names": []
7
7
  }
@@ -2,6 +2,6 @@
2
2
  "version": 3,
3
3
  "sources": ["../../../../../scripts/build/transpile/react-shim.js", "../../../src/Radio/Circle.tsx"],
4
4
  "sourcesContent": ["import * as React from 'react';\nexport { React };\n", "import React from 'react';\nimport { withTheme } from '@elliemae/ds-system';\n\nconst Circle = ({ checked, theme }) => {\n const r = theme.breakpoints.medium.split('px')[0] - window.innerWidth >= 0 ? 6 : 4;\n return (\n <svg width=\"100%\" height=\"100%\">\n <circle className={checked ? 'checked' : 'unchecked'} r={r} cx=\"50%\" cy=\"50%\" />\n </svg>\n );\n};\n\nconst ThemedCircle = withTheme(Circle);\nexport { ThemedCircle as Circle };\nexport default ThemedCircle;\n"],
5
- "mappings": "AAAA,YAAY,WAAW;ACOjB;AANN,SAAS,iBAAiB;AAE1B,MAAM,SAAS,CAAC,EAAE,SAAS,MAAM,MAAM;AACrC,QAAM,IAAI,MAAM,YAAY,OAAO,MAAM,IAAI,EAAE,KAAK,OAAO,cAAc,IAAI,IAAI;AACjF,SACE,oBAAC,SAAI,OAAM,QAAO,QAAO,QACvB,8BAAC,YAAO,WAAW,UAAU,YAAY,aAAa,GAAM,IAAG,OAAM,IAAG,OAAM,GAChF;AAEJ;AAEA,MAAM,eAAe,UAAU,MAAM;AAErC,IAAO,iBAAQ;",
5
+ "mappings": "AAAA,YAAY,WAAW;ACOjB;AANN,SAAS,iBAAiB;AAE1B,MAAM,SAAS,CAAC,EAAE,SAAS,MAAM,MAAM;AACrC,QAAM,IAAI,MAAM,YAAY,OAAO,MAAM,IAAI,EAAE,CAAC,IAAI,OAAO,cAAc,IAAI,IAAI;AACjF,SACE,oBAAC,SAAI,OAAM,QAAO,QAAO,QACvB,8BAAC,YAAO,WAAW,UAAU,YAAY,aAAa,GAAM,IAAG,OAAM,IAAG,OAAM,GAChF;AAEJ;AAEA,MAAM,eAAe,UAAU,MAAM;AAErC,IAAO,iBAAQ;",
6
6
  "names": []
7
7
  }